@everymatrix/player-account-product-restriction 1.76.1 → 1.76.3

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/{PlayerAccountGeneralConfirmationModal-DnoeUTWG.js → PlayerAccountGeneralConfirmationModal-CdayZyQN.js} +1242 -1256
  2. package/components/PlayerAccountGeneralConfirmationModal-CxQoiMM0.cjs +21 -0
  3. package/components/{PlayerAccountGeneralConfirmationModal-Dch5EDSU.js → PlayerAccountGeneralConfirmationModal-DHhULFrg.js} +720 -734
  4. package/components/{PlayerAccountModal-BVhAnI2b.js → PlayerAccountModal-606jJf8b.js} +10 -10
  5. package/components/{PlayerAccountModal-BAdv2e_o.cjs → PlayerAccountModal-CawVD9Xq.cjs} +1 -1
  6. package/components/{PlayerAccountModal--i7vegAu.js → PlayerAccountModal-K8N-hYP_.js} +10 -10
  7. package/components/{PlayerAccountProductRestriction-CSqUczSr.js → PlayerAccountProductRestriction-6eWyBNib.js} +2517 -2521
  8. package/components/{PlayerAccountProductRestriction-t8eTC5Gc.cjs → PlayerAccountProductRestriction-Cp_082PL.cjs} +269 -269
  9. package/components/{PlayerAccountProductRestriction-Dbz-sIbu.js → PlayerAccountProductRestriction-tPTxtHxX.js} +2492 -2496
  10. package/es2015/player-account-product-restriction.cjs +1 -1
  11. package/es2015/player-account-product-restriction.js +1 -1
  12. package/esnext/player-account-product-restriction.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/{index-b2193545-BtPvM93e.js → index-b2193545-BbCeNxUG.js} +176 -176
  15. package/stencil/{index-b2193545-D_KBbaD-.js → index-b2193545-C9PH-6qK.js} +169 -169
  16. package/stencil/index-b2193545-D-u-gzj3.cjs +1 -0
  17. package/stencil/{ui-skeleton-NZtdK490.js → ui-skeleton-BKDs0-7H.js} +2 -2
  18. package/stencil/{ui-skeleton-CWuMYFGQ.js → ui-skeleton-CJbkvgG7.js} +2 -2
  19. package/stencil/{ui-skeleton-ae35c6f2-CKJgMm_5.cjs → ui-skeleton-ae35c6f2-CXlvqczG.cjs} +1 -1
  20. package/stencil/{ui-skeleton-ae35c6f2-DlexSQlT.js → ui-skeleton-ae35c6f2-ZB0isFAq.js} +1 -1
  21. package/stencil/{ui-skeleton-ae35c6f2-CW3z59Qf.js → ui-skeleton-ae35c6f2-gun6WX2F.js} +1 -1
  22. package/stencil/{ui-skeleton-BPqjm-YB.cjs → ui-skeleton-bhljBTS7.cjs} +1 -1
  23. package/components/PlayerAccountGeneralConfirmationModal-Djrizs-P.cjs +0 -21
  24. package/stencil/index-b2193545-CgelUAhE.cjs +0 -1
@@ -1,85 +1,85 @@
1
- var Mr = Object.defineProperty, Nr = Object.defineProperties;
2
- var Lr = Object.getOwnPropertyDescriptors;
3
- var ct = Object.getOwnPropertySymbols;
4
- var Rr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable;
5
- var Oe = (e, t, r) => t in e ? Mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Rr.call(t, r) && Oe(e, r, t[r]);
8
- if (ct)
9
- for (var r of ct(t))
10
- $r.call(t, r) && Oe(e, r, t[r]);
1
+ var On = Object.defineProperty, In = Object.defineProperties;
2
+ var Mn = Object.getOwnPropertyDescriptors;
3
+ var lt = Object.getOwnPropertySymbols;
4
+ var Nn = Object.prototype.hasOwnProperty, Ln = Object.prototype.propertyIsEnumerable;
5
+ var Oe = (e, t, n) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ht = (e, t) => {
6
+ for (var n in t || (t = {}))
7
+ Nn.call(t, n) && Oe(e, n, t[n]);
8
+ if (lt)
9
+ for (var n of lt(t))
10
+ Ln.call(t, n) && Oe(e, n, t[n]);
11
11
  return e;
12
- }, mt = (e, t) => Nr(e, Lr(t));
13
- var O = (e, t, r) => (Oe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var dt = (e, t, r) => new Promise((n, i) => {
12
+ }, ft = (e, t) => In(e, Mn(t));
13
+ var O = (e, t, n) => (Oe(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var ct = (e, t, n) => new Promise((r, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
- a(r.next(l));
17
+ a(n.next(l));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
21
  }, s = (l) => {
22
22
  try {
23
- a(r.throw(l));
23
+ a(n.throw(l));
24
24
  } catch (u) {
25
25
  i(u);
26
26
  }
27
- }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
27
+ }, a = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(o, s);
28
+ a((n = n.apply(e, t)).next());
29
29
  });
30
30
  function N() {
31
31
  }
32
- const Gr = (e) => e;
33
- function Ur(e, t) {
34
- for (const r in t)
35
- e[r] = t[r];
32
+ const Rn = (e) => e;
33
+ function $n(e, t) {
34
+ for (const n in t)
35
+ e[n] = t[n];
36
36
  return (
37
37
  /** @type {T & S} */
38
38
  e
39
39
  );
40
40
  }
41
- function Vt(e) {
41
+ function jt(e) {
42
42
  return e();
43
43
  }
44
- function pt() {
44
+ function dt() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
47
  function U(e) {
48
- e.forEach(Vt);
48
+ e.forEach(jt);
49
49
  }
50
50
  function Te(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function Xt(e, t) {
53
+ function kt(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- function Dr(e) {
56
+ function Gn(e) {
57
57
  return Object.keys(e).length === 0;
58
58
  }
59
- function zt(e, ...t) {
59
+ function Vt(e, ...t) {
60
60
  if (e == null) {
61
- for (const n of t)
62
- n(void 0);
61
+ for (const r of t)
62
+ r(void 0);
63
63
  return N;
64
64
  }
65
- const r = e.subscribe(...t);
66
- return r.unsubscribe ? () => r.unsubscribe() : r;
65
+ const n = e.subscribe(...t);
66
+ return n.unsubscribe ? () => n.unsubscribe() : n;
67
67
  }
68
- function Fr(e, t, r) {
69
- e.$$.on_destroy.push(zt(t, r));
68
+ function Un(e, t, n) {
69
+ e.$$.on_destroy.push(Vt(t, n));
70
70
  }
71
- function jr(e, t, r, n) {
71
+ function Dn(e, t, n, r) {
72
72
  if (e) {
73
- const i = Wt(e, t, r, n);
73
+ const i = Xt(e, t, n, r);
74
74
  return e[0](i);
75
75
  }
76
76
  }
77
- function Wt(e, t, r, n) {
78
- return e[1] && n ? Ur(r.ctx.slice(), e[1](n(t))) : r.ctx;
77
+ function Xt(e, t, n, r) {
78
+ return e[1] && r ? $n(n.ctx.slice(), e[1](r(t))) : n.ctx;
79
79
  }
80
- function kr(e, t, r, n) {
81
- if (e[2] && n) {
82
- const i = e[2](n(r));
80
+ function Fn(e, t, n, r) {
81
+ if (e[2] && r) {
82
+ const i = e[2](r(n));
83
83
  if (t.dirty === void 0)
84
84
  return i;
85
85
  if (typeof i == "object") {
@@ -92,34 +92,34 @@ function kr(e, t, r, n) {
92
92
  }
93
93
  return t.dirty;
94
94
  }
95
- function Vr(e, t, r, n, i, o) {
95
+ function jn(e, t, n, r, i, o) {
96
96
  if (i) {
97
- const s = Wt(t, r, n, o);
97
+ const s = Xt(t, n, r, o);
98
98
  e.p(s, i);
99
99
  }
100
100
  }
101
- function Xr(e) {
101
+ function kn(e) {
102
102
  if (e.ctx.length > 32) {
103
- const t = [], r = e.ctx.length / 32;
104
- for (let n = 0; n < r; n++)
105
- t[n] = -1;
103
+ const t = [], n = e.ctx.length / 32;
104
+ for (let r = 0; r < n; r++)
105
+ t[r] = -1;
106
106
  return t;
107
107
  }
108
108
  return -1;
109
109
  }
110
- const Zt = typeof window != "undefined";
111
- let zr = Zt ? () => window.performance.now() : () => Date.now(), nt = Zt ? (e) => requestAnimationFrame(e) : N;
110
+ const zt = typeof window != "undefined";
111
+ let Vn = zt ? () => window.performance.now() : () => Date.now(), nt = zt ? (e) => requestAnimationFrame(e) : N;
112
112
  const z = /* @__PURE__ */ new Set();
113
- function Qt(e) {
113
+ function Wt(e) {
114
114
  z.forEach((t) => {
115
115
  t.c(e) || (z.delete(t), t.f());
116
- }), z.size !== 0 && nt(Qt);
116
+ }), z.size !== 0 && nt(Wt);
117
117
  }
118
- function Wr(e) {
118
+ function Xn(e) {
119
119
  let t;
120
- return z.size === 0 && nt(Qt), {
121
- promise: new Promise((r) => {
122
- z.add(t = { c: e, f: r });
120
+ return z.size === 0 && nt(Wt), {
121
+ promise: new Promise((n) => {
122
+ z.add(t = { c: e, f: n });
123
123
  }),
124
124
  abort() {
125
125
  z.delete(t);
@@ -129,14 +129,14 @@ function Wr(e) {
129
129
  function C(e, t) {
130
130
  e.appendChild(t);
131
131
  }
132
- function Zr(e, t, r) {
133
- const n = it(e);
134
- if (!n.getElementById(t)) {
132
+ function zn(e, t, n) {
133
+ const r = rt(e);
134
+ if (!r.getElementById(t)) {
135
135
  const i = M("style");
136
- i.id = t, i.textContent = r, Jt(n, i);
136
+ i.id = t, i.textContent = n, Zt(r, i);
137
137
  }
138
138
  }
139
- function it(e) {
139
+ function rt(e) {
140
140
  if (!e)
141
141
  return document;
142
142
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -146,109 +146,109 @@ function it(e) {
146
146
  t
147
147
  ) : e.ownerDocument;
148
148
  }
149
- function Qr(e) {
149
+ function Wn(e) {
150
150
  const t = M("style");
151
- return t.textContent = "/* empty */", Jt(it(e), t), t.sheet;
151
+ return t.textContent = "/* empty */", Zt(rt(e), t), t.sheet;
152
152
  }
153
- function Jt(e, t) {
153
+ function Zt(e, t) {
154
154
  return C(
155
155
  /** @type {Document} */
156
156
  e.head || e,
157
157
  t
158
158
  ), t.sheet;
159
159
  }
160
- function ue(e, t, r) {
161
- e.insertBefore(t, r || null);
160
+ function ue(e, t, n) {
161
+ e.insertBefore(t, n || null);
162
162
  }
163
163
  function D(e) {
164
164
  e.parentNode && e.parentNode.removeChild(e);
165
165
  }
166
- function Mo(e, t) {
167
- for (let r = 0; r < e.length; r += 1)
168
- e[r] && e[r].d(t);
166
+ function Oo(e, t) {
167
+ for (let n = 0; n < e.length; n += 1)
168
+ e[n] && e[n].d(t);
169
169
  }
170
170
  function M(e) {
171
171
  return document.createElement(e);
172
172
  }
173
- function bt(e) {
173
+ function mt(e) {
174
174
  return document.createElementNS("http://www.w3.org/2000/svg", e);
175
175
  }
176
176
  function le(e) {
177
177
  return document.createTextNode(e);
178
178
  }
179
- function fe() {
179
+ function ce() {
180
180
  return le(" ");
181
181
  }
182
- function No() {
182
+ function Io() {
183
183
  return le("");
184
184
  }
185
- function Fe(e, t, r, n) {
186
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
185
+ function De(e, t, n, r) {
186
+ return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
187
187
  }
188
- function H(e, t, r) {
189
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
188
+ function T(e, t, n) {
189
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
190
190
  }
191
- function Lo(e, t, r) {
192
- const n = t.toLowerCase();
193
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
191
+ function Mo(e, t, n) {
192
+ const r = t.toLowerCase();
193
+ r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : T(e, t, n);
194
194
  }
195
- function Jr(e) {
195
+ function Zn(e) {
196
196
  return Array.from(e.childNodes);
197
197
  }
198
- function ot(e, t) {
198
+ function it(e, t) {
199
199
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
200
200
  t);
201
201
  }
202
- function Ro(e, t, r) {
203
- e.classList.toggle(t, !!r);
202
+ function No(e, t, n) {
203
+ e.classList.toggle(t, !!n);
204
204
  }
205
- function qr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
206
- return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
205
+ function Qn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
206
+ return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
207
207
  }
208
- function Yr(e) {
208
+ function Jn(e) {
209
209
  const t = {};
210
210
  return e.childNodes.forEach(
211
211
  /** @param {Element} node */
212
- (r) => {
213
- t[r.slot || "default"] = !0;
212
+ (n) => {
213
+ t[n.slot || "default"] = !0;
214
214
  }
215
215
  ), t;
216
216
  }
217
217
  const _e = /* @__PURE__ */ new Map();
218
218
  let xe = 0;
219
- function Kr(e) {
220
- let t = 5381, r = e.length;
221
- for (; r--; )
222
- t = (t << 5) - t ^ e.charCodeAt(r);
219
+ function qn(e) {
220
+ let t = 5381, n = e.length;
221
+ for (; n--; )
222
+ t = (t << 5) - t ^ e.charCodeAt(n);
223
223
  return t >>> 0;
224
224
  }
225
- function en(e, t) {
226
- const r = { stylesheet: Qr(t), rules: {} };
227
- return _e.set(e, r), r;
225
+ function Yn(e, t) {
226
+ const n = { stylesheet: Wn(t), rules: {} };
227
+ return _e.set(e, n), n;
228
228
  }
229
- function gt(e, t, r, n, i, o, s, a = 0) {
230
- const l = 16.666 / n;
229
+ function pt(e, t, n, r, i, o, s, a = 0) {
230
+ const l = 16.666 / r;
231
231
  let u = `{
232
232
  `;
233
233
  for (let g = 0; g <= 1; g += l) {
234
- const A = t + (r - t) * o(g);
235
- u += g * 100 + `%{${s(A, 1 - A)}}
234
+ const H = t + (n - t) * o(g);
235
+ u += g * 100 + `%{${s(H, 1 - H)}}
236
236
  `;
237
237
  }
238
- const h = u + `100% {${s(r, 1 - r)}}
239
- }`, c = `__svelte_${Kr(h)}_${a}`, f = it(e), { stylesheet: d, rules: m } = _e.get(f) || en(f, e);
240
- m[c] || (m[c] = !0, d.insertRule(`@keyframes ${c} ${h}`, d.cssRules.length));
238
+ const h = u + `100% {${s(n, 1 - n)}}
239
+ }`, f = `__svelte_${qn(h)}_${a}`, c = rt(e), { stylesheet: m, rules: d } = _e.get(c) || Yn(c, e);
240
+ d[f] || (d[f] = !0, m.insertRule(`@keyframes ${f} ${h}`, m.cssRules.length));
241
241
  const p = e.style.animation || "";
242
- return e.style.animation = `${p ? `${p}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
242
+ return e.style.animation = `${p ? `${p}, ` : ""}${f} ${r}ms linear ${i}ms 1 both`, xe += 1, f;
243
243
  }
244
- function tn(e, t) {
245
- const r = (e.style.animation || "").split(", "), n = r.filter(
244
+ function Kn(e, t) {
245
+ const n = (e.style.animation || "").split(", "), r = n.filter(
246
246
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
247
247
  // remove all Svelte animations
248
- ), i = r.length - n.length;
249
- i && (e.style.animation = n.join(", "), xe -= i, xe || rn());
248
+ ), i = n.length - r.length;
249
+ i && (e.style.animation = r.join(", "), xe -= i, xe || er());
250
250
  }
251
- function rn() {
251
+ function er() {
252
252
  nt(() => {
253
253
  xe || (_e.forEach((e) => {
254
254
  const { ownerNode: t } = e.stylesheet;
@@ -260,20 +260,20 @@ let oe;
260
260
  function ie(e) {
261
261
  oe = e;
262
262
  }
263
- function nn() {
263
+ function tr() {
264
264
  if (!oe)
265
265
  throw new Error("Function called outside component initialization");
266
266
  return oe;
267
267
  }
268
- function on(e) {
269
- nn().$$.on_mount.push(e);
268
+ function nr(e) {
269
+ tr().$$.on_mount.push(e);
270
270
  }
271
- const X = [], je = [];
271
+ const X = [], Fe = [];
272
272
  let W = [];
273
- const yt = [], sn = /* @__PURE__ */ Promise.resolve();
274
- let ke = !1;
275
- function an() {
276
- ke || (ke = !0, sn.then(I));
273
+ const bt = [], rr = /* @__PURE__ */ Promise.resolve();
274
+ let je = !1;
275
+ function ir() {
276
+ je || (je = !0, rr.then(I));
277
277
  }
278
278
  function Ee(e) {
279
279
  W.push(e);
@@ -288,46 +288,46 @@ function I() {
288
288
  try {
289
289
  for (; k < X.length; ) {
290
290
  const t = X[k];
291
- k++, ie(t), un(t.$$);
291
+ k++, ie(t), or(t.$$);
292
292
  }
293
293
  } catch (t) {
294
294
  throw X.length = 0, k = 0, t;
295
295
  }
296
- for (ie(null), X.length = 0, k = 0; je.length; )
297
- je.pop()();
296
+ for (ie(null), X.length = 0, k = 0; Fe.length; )
297
+ Fe.pop()();
298
298
  for (let t = 0; t < W.length; t += 1) {
299
- const r = W[t];
300
- Ie.has(r) || (Ie.add(r), r());
299
+ const n = W[t];
300
+ Ie.has(n) || (Ie.add(n), n());
301
301
  }
302
302
  W.length = 0;
303
303
  } while (X.length);
304
- for (; yt.length; )
305
- yt.pop()();
306
- ke = !1, Ie.clear(), ie(e);
304
+ for (; bt.length; )
305
+ bt.pop()();
306
+ je = !1, Ie.clear(), ie(e);
307
307
  }
308
- function un(e) {
308
+ function or(e) {
309
309
  if (e.fragment !== null) {
310
310
  e.update(), U(e.before_update);
311
311
  const t = e.dirty;
312
312
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
313
313
  }
314
314
  }
315
- function ln(e) {
316
- const t = [], r = [];
317
- W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
315
+ function sr(e) {
316
+ const t = [], n = [];
317
+ W.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), W = t;
318
318
  }
319
- let re;
320
- function hn() {
321
- return re || (re = Promise.resolve(), re.then(() => {
322
- re = null;
323
- })), re;
319
+ let ne;
320
+ function ar() {
321
+ return ne || (ne = Promise.resolve(), ne.then(() => {
322
+ ne = null;
323
+ })), ne;
324
324
  }
325
- function Me(e, t, r) {
326
- e.dispatchEvent(qr(`${t ? "intro" : "outro"}${r}`));
325
+ function Me(e, t, n) {
326
+ e.dispatchEvent(Qn(`${t ? "intro" : "outro"}${n}`));
327
327
  }
328
328
  const pe = /* @__PURE__ */ new Set();
329
329
  let L;
330
- function $o() {
330
+ function Lo() {
331
331
  L = {
332
332
  r: 0,
333
333
  c: [],
@@ -335,104 +335,104 @@ function $o() {
335
335
  // parent group
336
336
  };
337
337
  }
338
- function Go() {
338
+ function Ro() {
339
339
  L.r || U(L.c), L = L.p;
340
340
  }
341
- function qt(e, t) {
341
+ function Qt(e, t) {
342
342
  e && e.i && (pe.delete(e), e.i(t));
343
343
  }
344
- function cn(e, t, r, n) {
344
+ function ur(e, t, n, r) {
345
345
  if (e && e.o) {
346
346
  if (pe.has(e))
347
347
  return;
348
348
  pe.add(e), L.c.push(() => {
349
- pe.delete(e), n && (r && e.d(1), n());
349
+ pe.delete(e), r && (n && e.d(1), r());
350
350
  }), e.o(t);
351
351
  } else
352
- n && n();
352
+ r && r();
353
353
  }
354
- const fn = { duration: 0 };
355
- function Uo(e, t, r, n) {
356
- let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, l = null, u = null, h;
357
- function c() {
358
- u && tn(e, u);
354
+ const lr = { duration: 0 };
355
+ function $o(e, t, n, r) {
356
+ let o = t(e, n, { direction: "both" }), s = r ? 0 : 1, a = null, l = null, u = null, h;
357
+ function f() {
358
+ u && Kn(e, u);
359
359
  }
360
- function f(m, p) {
360
+ function c(d, p) {
361
361
  const g = (
362
362
  /** @type {Program['d']} */
363
- m.b - s
363
+ d.b - s
364
364
  );
365
365
  return p *= Math.abs(g), {
366
366
  a: s,
367
- b: m.b,
367
+ b: d.b,
368
368
  d: g,
369
369
  duration: p,
370
- start: m.start,
371
- end: m.start + p,
372
- group: m.group
370
+ start: d.start,
371
+ end: d.start + p,
372
+ group: d.group
373
373
  };
374
374
  }
375
- function d(m) {
375
+ function m(d) {
376
376
  const {
377
377
  delay: p = 0,
378
378
  duration: g = 300,
379
- easing: A = Gr,
380
- tick: T = N,
379
+ easing: H = Rn,
380
+ tick: A = N,
381
381
  css: x
382
- } = o || fn, w = {
383
- start: zr() + p,
384
- b: m
382
+ } = o || lr, w = {
383
+ start: Vn() + p,
384
+ b: d
385
385
  };
386
- m || (w.group = L, L.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
387
- e.inert, e.inert = !0)), a || l ? l = w : (x && (c(), u = gt(e, s, m, g, p, A, x)), m && T(0, 1), a = f(w, g), Ee(() => Me(e, m, "start")), Wr((b) => {
388
- if (l && b > l.start && (a = f(l, g), l = null, Me(e, a.b, "start"), x && (c(), u = gt(
386
+ d || (w.group = L, L.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
387
+ e.inert, e.inert = !0)), a || l ? l = w : (x && (f(), u = pt(e, s, d, g, p, H, x)), d && A(0, 1), a = c(w, g), Ee(() => Me(e, d, "start")), Xn((b) => {
388
+ if (l && b > l.start && (a = c(l, g), l = null, Me(e, a.b, "start"), x && (f(), u = pt(
389
389
  e,
390
390
  s,
391
391
  a.b,
392
392
  a.duration,
393
393
  0,
394
- A,
394
+ H,
395
395
  o.css
396
396
  ))), a) {
397
397
  if (b >= a.end)
398
- T(s = a.b, 1 - s), Me(e, a.b, "end"), l || (a.b ? c() : --a.group.r || U(a.group.c)), a = null;
398
+ A(s = a.b, 1 - s), Me(e, a.b, "end"), l || (a.b ? f() : --a.group.r || U(a.group.c)), a = null;
399
399
  else if (b >= a.start) {
400
400
  const B = b - a.start;
401
- s = a.a + a.d * A(B / a.duration), T(s, 1 - s);
401
+ s = a.a + a.d * H(B / a.duration), A(s, 1 - s);
402
402
  }
403
403
  }
404
404
  return !!(a || l);
405
405
  }));
406
406
  }
407
407
  return {
408
- run(m) {
409
- Te(o) ? hn().then(() => {
410
- o = o({ direction: m ? "in" : "out" }), d(m);
411
- }) : d(m);
408
+ run(d) {
409
+ Te(o) ? ar().then(() => {
410
+ o = o({ direction: d ? "in" : "out" }), m(d);
411
+ }) : m(d);
412
412
  },
413
413
  end() {
414
- c(), a = l = null;
414
+ f(), a = l = null;
415
415
  }
416
416
  };
417
417
  }
418
- function Do(e) {
418
+ function Go(e) {
419
419
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
420
420
  }
421
- function mn(e, t, r) {
422
- const { fragment: n, after_update: i } = e.$$;
423
- n && n.m(t, r), Ee(() => {
424
- const o = e.$$.on_mount.map(Vt).filter(Te);
421
+ function hr(e, t, n) {
422
+ const { fragment: r, after_update: i } = e.$$;
423
+ r && r.m(t, n), Ee(() => {
424
+ const o = e.$$.on_mount.map(jt).filter(Te);
425
425
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
426
426
  }), i.forEach(Ee);
427
427
  }
428
- function dn(e, t) {
429
- const r = e.$$;
430
- r.fragment !== null && (ln(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
428
+ function fr(e, t) {
429
+ const n = e.$$;
430
+ n.fragment !== null && (sr(n.after_update), U(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
431
431
  }
432
- function pn(e, t) {
433
- e.$$.dirty[0] === -1 && (X.push(e), an(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
432
+ function cr(e, t) {
433
+ e.$$.dirty[0] === -1 && (X.push(e), ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
434
434
  }
435
- function bn(e, t, r, n, i, o, s = null, a = [-1]) {
435
+ function dr(e, t, n, r, i, o, s = null, a = [-1]) {
436
436
  const l = oe;
437
437
  ie(e);
438
438
  const u = e.$$ = {
@@ -442,7 +442,7 @@ function bn(e, t, r, n, i, o, s = null, a = [-1]) {
442
442
  props: o,
443
443
  update: N,
444
444
  not_equal: i,
445
- bound: pt(),
445
+ bound: dt(),
446
446
  // lifecycle
447
447
  on_mount: [],
448
448
  on_destroy: [],
@@ -451,29 +451,29 @@ function bn(e, t, r, n, i, o, s = null, a = [-1]) {
451
451
  after_update: [],
452
452
  context: new Map(t.context || (l ? l.$$.context : [])),
453
453
  // everything else
454
- callbacks: pt(),
454
+ callbacks: dt(),
455
455
  dirty: a,
456
456
  skip_bound: !1,
457
457
  root: t.target || l.$$.root
458
458
  };
459
459
  s && s(u.root);
460
460
  let h = !1;
461
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
462
- const m = d.length ? d[0] : f;
463
- return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && pn(e, c)), f;
464
- }) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
461
+ if (u.ctx = n ? n(e, t.props || {}, (f, c, ...m) => {
462
+ const d = m.length ? m[0] : c;
463
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && cr(e, f)), c;
464
+ }) : [], u.update(), h = !0, U(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
465
465
  if (t.hydrate) {
466
- const c = Jr(t.target);
467
- u.fragment && u.fragment.l(c), c.forEach(D);
466
+ const f = Zn(t.target);
467
+ u.fragment && u.fragment.l(f), f.forEach(D);
468
468
  } else
469
469
  u.fragment && u.fragment.c();
470
- t.intro && qt(e.$$.fragment), mn(e, t.target, t.anchor), I();
470
+ t.intro && Qt(e.$$.fragment), hr(e, t.target, t.anchor), I();
471
471
  }
472
472
  ie(l);
473
473
  }
474
- let Yt;
475
- typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
476
- constructor(t, r, n) {
474
+ let Jt;
475
+ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
476
+ constructor(t, n, r) {
477
477
  super();
478
478
  /** The Svelte component constructor */
479
479
  O(this, "$$ctor");
@@ -493,30 +493,30 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
493
493
  O(this, "$$l", {});
494
494
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
495
495
  O(this, "$$l_u", /* @__PURE__ */ new Map());
496
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
496
+ this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
497
497
  }
498
- addEventListener(t, r, n) {
499
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
500
- const i = this.$$c.$on(t, r);
501
- this.$$l_u.set(r, i);
498
+ addEventListener(t, n, r) {
499
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
500
+ const i = this.$$c.$on(t, n);
501
+ this.$$l_u.set(n, i);
502
502
  }
503
- super.addEventListener(t, r, n);
503
+ super.addEventListener(t, n, r);
504
504
  }
505
- removeEventListener(t, r, n) {
506
- if (super.removeEventListener(t, r, n), this.$$c) {
507
- const i = this.$$l_u.get(r);
508
- i && (i(), this.$$l_u.delete(r));
505
+ removeEventListener(t, n, r) {
506
+ if (super.removeEventListener(t, n, r), this.$$c) {
507
+ const i = this.$$l_u.get(n);
508
+ i && (i(), this.$$l_u.delete(n));
509
509
  }
510
510
  }
511
511
  connectedCallback() {
512
- return dt(this, null, function* () {
512
+ return ct(this, null, function* () {
513
513
  if (this.$$cn = !0, !this.$$c) {
514
514
  let t = function(o) {
515
515
  return () => {
516
516
  let s;
517
517
  return {
518
518
  c: function() {
519
- s = M("slot"), o !== "default" && H(s, "name", o);
519
+ s = M("slot"), o !== "default" && T(s, "name", o);
520
520
  },
521
521
  /**
522
522
  * @param {HTMLElement} target
@@ -533,9 +533,9 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
533
533
  };
534
534
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
535
535
  return;
536
- const r = {}, n = Yr(this);
536
+ const n = {}, r = Jn(this);
537
537
  for (const o of this.$$s)
538
- o in n && (r[o] = [t(o)]);
538
+ o in r && (n[o] = [t(o)]);
539
539
  for (const o of this.attributes) {
540
540
  const s = this.$$g_p(o.name);
541
541
  s in this.$$d || (this.$$d[s] = be(s, o.value, this.$$p_d, "toProp"));
@@ -544,8 +544,8 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
544
544
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
545
545
  this.$$c = new this.$$ctor({
546
546
  target: this.shadowRoot || this,
547
- props: mt(ft({}, this.$$d), {
548
- $$slots: r,
547
+ props: ft(ht({}, this.$$d), {
548
+ $$slots: n,
549
549
  $$scope: {
550
550
  ctx: []
551
551
  }
@@ -577,9 +577,9 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
577
577
  }
578
578
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
579
579
  // and setting attributes through setAttribute etc, this is helpful
580
- attributeChangedCallback(t, r, n) {
580
+ attributeChangedCallback(t, n, r) {
581
581
  var i;
582
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
582
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = be(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
583
583
  }
584
584
  disconnectedCallback() {
585
585
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -588,16 +588,16 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
588
588
  }
589
589
  $$g_p(t) {
590
590
  return Object.keys(this.$$p_d).find(
591
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
591
+ (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
592
592
  ) || t;
593
593
  }
594
594
  });
595
- function be(e, t, r, n) {
595
+ function be(e, t, n, r) {
596
596
  var o;
597
- const i = (o = r[e]) == null ? void 0 : o.type;
598
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
597
+ const i = (o = n[e]) == null ? void 0 : o.type;
598
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
599
599
  return t;
600
- if (n === "toAttribute")
600
+ if (r === "toAttribute")
601
601
  switch (i) {
602
602
  case "Object":
603
603
  case "Array":
@@ -622,10 +622,10 @@ function be(e, t, r, n) {
622
622
  return t;
623
623
  }
624
624
  }
625
- function gn(e, t, r, n, i, o) {
626
- let s = class extends Yt {
625
+ function mr(e, t, n, r, i, o) {
626
+ let s = class extends Jt {
627
627
  constructor() {
628
- super(e, r, i), this.$$p_d = t;
628
+ super(e, n, i), this.$$p_d = t;
629
629
  }
630
630
  static get observedAttributes() {
631
631
  return Object.keys(t).map(
@@ -643,7 +643,7 @@ function gn(e, t, r, n, i, o) {
643
643
  l = be(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
644
644
  }
645
645
  });
646
- }), n.forEach((a) => {
646
+ }), r.forEach((a) => {
647
647
  Object.defineProperty(s.prototype, a, {
648
648
  get() {
649
649
  var l;
@@ -653,7 +653,7 @@ function gn(e, t, r, n, i, o) {
653
653
  }), e.element = /** @type {any} */
654
654
  s, s;
655
655
  }
656
- class yn {
656
+ class pr {
657
657
  constructor() {
658
658
  /**
659
659
  * ### PRIVATE API
@@ -674,7 +674,7 @@ class yn {
674
674
  }
675
675
  /** @returns {void} */
676
676
  $destroy() {
677
- dn(this, 1), this.$destroy = N;
677
+ fr(this, 1), this.$destroy = N;
678
678
  }
679
679
  /**
680
680
  * @template {Extract<keyof Events, string>} K
@@ -682,13 +682,13 @@ class yn {
682
682
  * @param {((e: Events[K]) => void) | null | undefined} callback
683
683
  * @returns {() => void}
684
684
  */
685
- $on(t, r) {
686
- if (!Te(r))
685
+ $on(t, n) {
686
+ if (!Te(n))
687
687
  return N;
688
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
689
- return n.push(r), () => {
690
- const i = n.indexOf(r);
691
- i !== -1 && n.splice(i, 1);
688
+ const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
689
+ return r.push(n), () => {
690
+ const i = r.indexOf(n);
691
+ i !== -1 && r.splice(i, 1);
692
692
  };
693
693
  }
694
694
  /**
@@ -696,11 +696,11 @@ class yn {
696
696
  * @returns {void}
697
697
  */
698
698
  $set(t) {
699
- this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
699
+ this.$$set && !Gn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
700
700
  }
701
701
  }
702
- const vn = "4";
703
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vn);
702
+ const br = "4";
703
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(br);
704
704
  /*! *****************************************************************************
705
705
  Copyright (c) Microsoft Corporation.
706
706
 
@@ -715,67 +715,67 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
715
715
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
716
716
  PERFORMANCE OF THIS SOFTWARE.
717
717
  ***************************************************************************** */
718
- var Ve = function(e, t) {
719
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
720
- r.__proto__ = n;
721
- } || function(r, n) {
722
- for (var i in n)
723
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
724
- }, Ve(e, t);
718
+ var ke = function(e, t) {
719
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
720
+ n.__proto__ = r;
721
+ } || function(n, r) {
722
+ for (var i in r)
723
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
724
+ }, ke(e, t);
725
725
  };
726
726
  function $(e, t) {
727
727
  if (typeof t != "function" && t !== null)
728
728
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
729
- Ve(e, t);
730
- function r() {
729
+ ke(e, t);
730
+ function n() {
731
731
  this.constructor = e;
732
732
  }
733
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
733
+ e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
734
734
  }
735
735
  var E = function() {
736
736
  return E = Object.assign || function(t) {
737
- for (var r, n = 1, i = arguments.length; n < i; n++) {
738
- r = arguments[n];
739
- for (var o in r)
740
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
737
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
738
+ n = arguments[r];
739
+ for (var o in n)
740
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
741
741
  }
742
742
  return t;
743
743
  }, E.apply(this, arguments);
744
744
  };
745
- function _n(e, t) {
746
- var r = {};
747
- for (var n in e)
748
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
745
+ function gr(e, t) {
746
+ var n = {};
747
+ for (var r in e)
748
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
749
749
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
750
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
751
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
752
- return r;
750
+ for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
751
+ t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
752
+ return n;
753
753
  }
754
- function Xe(e) {
755
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
756
- if (r)
757
- return r.call(e);
754
+ function Ve(e) {
755
+ var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
756
+ if (n)
757
+ return n.call(e);
758
758
  if (e && typeof e.length == "number")
759
759
  return {
760
760
  next: function() {
761
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
761
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
762
762
  }
763
763
  };
764
764
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
765
765
  }
766
- function ze(e, t) {
767
- var r = typeof Symbol == "function" && e[Symbol.iterator];
768
- if (!r)
766
+ function Xe(e, t) {
767
+ var n = typeof Symbol == "function" && e[Symbol.iterator];
768
+ if (!n)
769
769
  return e;
770
- var n = r.call(e), i, o = [], s;
770
+ var r = n.call(e), i, o = [], s;
771
771
  try {
772
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
772
+ for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
773
773
  o.push(i.value);
774
774
  } catch (a) {
775
775
  s = { error: a };
776
776
  } finally {
777
777
  try {
778
- i && !i.done && (r = n.return) && r.call(n);
778
+ i && !i.done && (n = r.return) && n.call(r);
779
779
  } finally {
780
780
  if (s)
781
781
  throw s.error;
@@ -783,34 +783,34 @@ function ze(e, t) {
783
783
  }
784
784
  return o;
785
785
  }
786
- function Z(e, t, r) {
787
- if (r || arguments.length === 2)
788
- for (var n = 0, i = t.length, o; n < i; n++)
789
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
786
+ function Z(e, t, n) {
787
+ if (n || arguments.length === 2)
788
+ for (var r = 0, i = t.length, o; r < i; r++)
789
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
790
790
  return e.concat(o || t);
791
791
  }
792
792
  function R(e) {
793
793
  return typeof e == "function";
794
794
  }
795
- function Kt(e) {
796
- var t = function(n) {
797
- Error.call(n), n.stack = new Error().stack;
798
- }, r = e(t);
799
- return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
800
- }
801
- var Ne = Kt(function(e) {
802
- return function(r) {
803
- e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
804
- ` + r.map(function(n, i) {
805
- return i + 1 + ") " + n.toString();
795
+ function qt(e) {
796
+ var t = function(r) {
797
+ Error.call(r), r.stack = new Error().stack;
798
+ }, n = e(t);
799
+ return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
800
+ }
801
+ var Ne = qt(function(e) {
802
+ return function(n) {
803
+ e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
804
+ ` + n.map(function(r, i) {
805
+ return i + 1 + ") " + r.toString();
806
806
  }).join(`
807
- `) : "", this.name = "UnsubscriptionError", this.errors = r;
807
+ `) : "", this.name = "UnsubscriptionError", this.errors = n;
808
808
  };
809
809
  });
810
- function We(e, t) {
810
+ function ze(e, t) {
811
811
  if (e) {
812
- var r = e.indexOf(t);
813
- 0 <= r && e.splice(r, 1);
812
+ var n = e.indexOf(t);
813
+ 0 <= n && e.splice(n, 1);
814
814
  }
815
815
  }
816
816
  var He = function() {
@@ -818,14 +818,14 @@ var He = function() {
818
818
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
819
819
  }
820
820
  return e.prototype.unsubscribe = function() {
821
- var t, r, n, i, o;
821
+ var t, n, r, i, o;
822
822
  if (!this.closed) {
823
823
  this.closed = !0;
824
824
  var s = this._parentage;
825
825
  if (s)
826
826
  if (this._parentage = null, Array.isArray(s))
827
827
  try {
828
- for (var a = Xe(s), l = a.next(); !l.done; l = a.next()) {
828
+ for (var a = Ve(s), l = a.next(); !l.done; l = a.next()) {
829
829
  var u = l.value;
830
830
  u.remove(this);
831
831
  }
@@ -833,7 +833,7 @@ var He = function() {
833
833
  t = { error: p };
834
834
  } finally {
835
835
  try {
836
- l && !l.done && (r = a.return) && r.call(a);
836
+ l && !l.done && (n = a.return) && n.call(a);
837
837
  } finally {
838
838
  if (t)
839
839
  throw t.error;
@@ -848,26 +848,26 @@ var He = function() {
848
848
  } catch (p) {
849
849
  o = p instanceof Ne ? p.errors : [p];
850
850
  }
851
- var c = this._finalizers;
852
- if (c) {
851
+ var f = this._finalizers;
852
+ if (f) {
853
853
  this._finalizers = null;
854
854
  try {
855
- for (var f = Xe(c), d = f.next(); !d.done; d = f.next()) {
856
- var m = d.value;
855
+ for (var c = Ve(f), m = c.next(); !m.done; m = c.next()) {
856
+ var d = m.value;
857
857
  try {
858
- vt(m);
858
+ gt(d);
859
859
  } catch (p) {
860
- o = o != null ? o : [], p instanceof Ne ? o = Z(Z([], ze(o)), ze(p.errors)) : o.push(p);
860
+ o = o != null ? o : [], p instanceof Ne ? o = Z(Z([], Xe(o)), Xe(p.errors)) : o.push(p);
861
861
  }
862
862
  }
863
863
  } catch (p) {
864
- n = { error: p };
864
+ r = { error: p };
865
865
  } finally {
866
866
  try {
867
- d && !d.done && (i = f.return) && i.call(f);
867
+ m && !m.done && (i = c.return) && i.call(c);
868
868
  } finally {
869
- if (n)
870
- throw n.error;
869
+ if (r)
870
+ throw r.error;
871
871
  }
872
872
  }
873
873
  }
@@ -875,89 +875,89 @@ var He = function() {
875
875
  throw new Ne(o);
876
876
  }
877
877
  }, e.prototype.add = function(t) {
878
- var r;
878
+ var n;
879
879
  if (t && t !== this)
880
880
  if (this.closed)
881
- vt(t);
881
+ gt(t);
882
882
  else {
883
883
  if (t instanceof e) {
884
884
  if (t.closed || t._hasParent(this))
885
885
  return;
886
886
  t._addParent(this);
887
887
  }
888
- (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
888
+ (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
889
889
  }
890
890
  }, e.prototype._hasParent = function(t) {
891
- var r = this._parentage;
892
- return r === t || Array.isArray(r) && r.includes(t);
891
+ var n = this._parentage;
892
+ return n === t || Array.isArray(n) && n.includes(t);
893
893
  }, e.prototype._addParent = function(t) {
894
- var r = this._parentage;
895
- this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
894
+ var n = this._parentage;
895
+ this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
896
896
  }, e.prototype._removeParent = function(t) {
897
- var r = this._parentage;
898
- r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
897
+ var n = this._parentage;
898
+ n === t ? this._parentage = null : Array.isArray(n) && ze(n, t);
899
899
  }, e.prototype.remove = function(t) {
900
- var r = this._finalizers;
901
- r && We(r, t), t instanceof e && t._removeParent(this);
900
+ var n = this._finalizers;
901
+ n && ze(n, t), t instanceof e && t._removeParent(this);
902
902
  }, e.EMPTY = function() {
903
903
  var t = new e();
904
904
  return t.closed = !0, t;
905
905
  }(), e;
906
- }(), er = He.EMPTY;
907
- function tr(e) {
906
+ }(), Yt = He.EMPTY;
907
+ function Kt(e) {
908
908
  return e instanceof He || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
909
909
  }
910
- function vt(e) {
910
+ function gt(e) {
911
911
  R(e) ? e() : e.unsubscribe();
912
912
  }
913
- var rr = {
913
+ var yr = {
914
914
  onUnhandledError: null,
915
915
  onStoppedNotification: null,
916
916
  Promise: void 0,
917
917
  useDeprecatedSynchronousErrorHandling: !1,
918
918
  useDeprecatedNextContext: !1
919
- }, xn = {
919
+ }, vr = {
920
920
  setTimeout: function(e, t) {
921
- for (var r = [], n = 2; n < arguments.length; n++)
922
- r[n - 2] = arguments[n];
923
- return setTimeout.apply(void 0, Z([e, t], ze(r)));
921
+ for (var n = [], r = 2; r < arguments.length; r++)
922
+ n[r - 2] = arguments[r];
923
+ return setTimeout.apply(void 0, Z([e, t], Xe(n)));
924
924
  },
925
925
  clearTimeout: function(e) {
926
926
  return clearTimeout(e);
927
927
  },
928
928
  delegate: void 0
929
929
  };
930
- function En(e) {
931
- xn.setTimeout(function() {
930
+ function _r(e) {
931
+ vr.setTimeout(function() {
932
932
  throw e;
933
933
  });
934
934
  }
935
- function _t() {
935
+ function yt() {
936
936
  }
937
937
  function ge(e) {
938
938
  e();
939
939
  }
940
- var nr = function(e) {
940
+ var en = function(e) {
941
941
  $(t, e);
942
- function t(r) {
943
- var n = e.call(this) || this;
944
- return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = Hn, n;
942
+ function t(n) {
943
+ var r = e.call(this) || this;
944
+ return r.isStopped = !1, n ? (r.destination = n, Kt(n) && n.add(r)) : r.destination = wr, r;
945
945
  }
946
- return t.create = function(r, n, i) {
947
- return new Ze(r, n, i);
948
- }, t.prototype.next = function(r) {
949
- this.isStopped || this._next(r);
950
- }, t.prototype.error = function(r) {
951
- this.isStopped || (this.isStopped = !0, this._error(r));
946
+ return t.create = function(n, r, i) {
947
+ return new We(n, r, i);
948
+ }, t.prototype.next = function(n) {
949
+ this.isStopped || this._next(n);
950
+ }, t.prototype.error = function(n) {
951
+ this.isStopped || (this.isStopped = !0, this._error(n));
952
952
  }, t.prototype.complete = function() {
953
953
  this.isStopped || (this.isStopped = !0, this._complete());
954
954
  }, t.prototype.unsubscribe = function() {
955
955
  this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
956
- }, t.prototype._next = function(r) {
957
- this.destination.next(r);
958
- }, t.prototype._error = function(r) {
956
+ }, t.prototype._next = function(n) {
957
+ this.destination.next(n);
958
+ }, t.prototype._error = function(n) {
959
959
  try {
960
- this.destination.error(r);
960
+ this.destination.error(n);
961
961
  } finally {
962
962
  this.unsubscribe();
963
963
  }
@@ -968,98 +968,82 @@ var nr = function(e) {
968
968
  this.unsubscribe();
969
969
  }
970
970
  }, t;
971
- }(He), wn = Function.prototype.bind;
972
- function Le(e, t) {
973
- return wn.call(e, t);
974
- }
975
- var Sn = function() {
971
+ }(He), xr = function() {
976
972
  function e(t) {
977
973
  this.partialObserver = t;
978
974
  }
979
975
  return e.prototype.next = function(t) {
980
- var r = this.partialObserver;
981
- if (r.next)
976
+ var n = this.partialObserver;
977
+ if (n.next)
982
978
  try {
983
- r.next(t);
984
- } catch (n) {
985
- me(n);
979
+ n.next(t);
980
+ } catch (r) {
981
+ de(r);
986
982
  }
987
983
  }, e.prototype.error = function(t) {
988
- var r = this.partialObserver;
989
- if (r.error)
984
+ var n = this.partialObserver;
985
+ if (n.error)
990
986
  try {
991
- r.error(t);
992
- } catch (n) {
993
- me(n);
987
+ n.error(t);
988
+ } catch (r) {
989
+ de(r);
994
990
  }
995
991
  else
996
- me(t);
992
+ de(t);
997
993
  }, e.prototype.complete = function() {
998
994
  var t = this.partialObserver;
999
995
  if (t.complete)
1000
996
  try {
1001
997
  t.complete();
1002
- } catch (r) {
1003
- me(r);
998
+ } catch (n) {
999
+ de(n);
1004
1000
  }
1005
1001
  }, e;
1006
- }(), Ze = function(e) {
1002
+ }(), We = function(e) {
1007
1003
  $(t, e);
1008
- function t(r, n, i) {
1004
+ function t(n, r, i) {
1009
1005
  var o = e.call(this) || this, s;
1010
- if (R(r) || !r)
1011
- s = {
1012
- next: r != null ? r : void 0,
1013
- error: n != null ? n : void 0,
1014
- complete: i != null ? i : void 0
1015
- };
1016
- else {
1017
- var a;
1018
- o && rr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
1019
- return o.unsubscribe();
1020
- }, s = {
1021
- next: r.next && Le(r.next, a),
1022
- error: r.error && Le(r.error, a),
1023
- complete: r.complete && Le(r.complete, a)
1024
- }) : s = r;
1025
- }
1026
- return o.destination = new Sn(s), o;
1006
+ return R(n) || !n ? s = {
1007
+ next: n != null ? n : void 0,
1008
+ error: r != null ? r : void 0,
1009
+ complete: i != null ? i : void 0
1010
+ } : s = n, o.destination = new xr(s), o;
1027
1011
  }
1028
1012
  return t;
1029
- }(nr);
1030
- function me(e) {
1031
- En(e);
1013
+ }(en);
1014
+ function de(e) {
1015
+ _r(e);
1032
1016
  }
1033
- function Tn(e) {
1017
+ function Er(e) {
1034
1018
  throw e;
1035
1019
  }
1036
- var Hn = {
1020
+ var wr = {
1037
1021
  closed: !0,
1038
- next: _t,
1039
- error: Tn,
1040
- complete: _t
1041
- }, An = function() {
1022
+ next: yt,
1023
+ error: Er,
1024
+ complete: yt
1025
+ }, Sr = function() {
1042
1026
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1043
1027
  }();
1044
- function Bn(e) {
1028
+ function Tr(e) {
1045
1029
  return e;
1046
1030
  }
1047
- function Cn(e) {
1048
- return e.length === 0 ? Bn : e.length === 1 ? e[0] : function(r) {
1049
- return e.reduce(function(n, i) {
1050
- return i(n);
1051
- }, r);
1031
+ function Hr(e) {
1032
+ return e.length === 0 ? Tr : e.length === 1 ? e[0] : function(n) {
1033
+ return e.reduce(function(r, i) {
1034
+ return i(r);
1035
+ }, n);
1052
1036
  };
1053
1037
  }
1054
- var xt = function() {
1038
+ var vt = function() {
1055
1039
  function e(t) {
1056
1040
  t && (this._subscribe = t);
1057
1041
  }
1058
1042
  return e.prototype.lift = function(t) {
1059
- var r = new e();
1060
- return r.source = this, r.operator = t, r;
1061
- }, e.prototype.subscribe = function(t, r, n) {
1062
- var i = this, o = On(t) ? t : new Ze(t, r, n);
1043
+ var n = new e();
1044
+ return n.source = this, n.operator = t, n;
1045
+ }, e.prototype.subscribe = function(t, n, r) {
1046
+ var i = this, o = Br(t) ? t : new We(t, n, r);
1063
1047
  return ge(function() {
1064
1048
  var s = i, a = s.operator, l = s.source;
1065
1049
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -1067,13 +1051,13 @@ var xt = function() {
1067
1051
  }, e.prototype._trySubscribe = function(t) {
1068
1052
  try {
1069
1053
  return this._subscribe(t);
1070
- } catch (r) {
1071
- t.error(r);
1054
+ } catch (n) {
1055
+ t.error(n);
1072
1056
  }
1073
- }, e.prototype.forEach = function(t, r) {
1074
- var n = this;
1075
- return r = Et(r), new r(function(i, o) {
1076
- var s = new Ze({
1057
+ }, e.prototype.forEach = function(t, n) {
1058
+ var r = this;
1059
+ return n = _t(n), new n(function(i, o) {
1060
+ var s = new We({
1077
1061
  next: function(a) {
1078
1062
  try {
1079
1063
  t(a);
@@ -1084,69 +1068,69 @@ var xt = function() {
1084
1068
  error: o,
1085
1069
  complete: i
1086
1070
  });
1087
- n.subscribe(s);
1071
+ r.subscribe(s);
1088
1072
  });
1089
1073
  }, e.prototype._subscribe = function(t) {
1090
- var r;
1091
- return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1092
- }, e.prototype[An] = function() {
1074
+ var n;
1075
+ return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
1076
+ }, e.prototype[Sr] = function() {
1093
1077
  return this;
1094
1078
  }, e.prototype.pipe = function() {
1095
- for (var t = [], r = 0; r < arguments.length; r++)
1096
- t[r] = arguments[r];
1097
- return Cn(t)(this);
1079
+ for (var t = [], n = 0; n < arguments.length; n++)
1080
+ t[n] = arguments[n];
1081
+ return Hr(t)(this);
1098
1082
  }, e.prototype.toPromise = function(t) {
1099
- var r = this;
1100
- return t = Et(t), new t(function(n, i) {
1083
+ var n = this;
1084
+ return t = _t(t), new t(function(r, i) {
1101
1085
  var o;
1102
- r.subscribe(function(s) {
1086
+ n.subscribe(function(s) {
1103
1087
  return o = s;
1104
1088
  }, function(s) {
1105
1089
  return i(s);
1106
1090
  }, function() {
1107
- return n(o);
1091
+ return r(o);
1108
1092
  });
1109
1093
  });
1110
1094
  }, e.create = function(t) {
1111
1095
  return new e(t);
1112
1096
  }, e;
1113
1097
  }();
1114
- function Et(e) {
1098
+ function _t(e) {
1115
1099
  var t;
1116
- return (t = e != null ? e : rr.Promise) !== null && t !== void 0 ? t : Promise;
1100
+ return (t = e != null ? e : yr.Promise) !== null && t !== void 0 ? t : Promise;
1117
1101
  }
1118
- function Pn(e) {
1102
+ function Ar(e) {
1119
1103
  return e && R(e.next) && R(e.error) && R(e.complete);
1120
1104
  }
1121
- function On(e) {
1122
- return e && e instanceof nr || Pn(e) && tr(e);
1105
+ function Br(e) {
1106
+ return e && e instanceof en || Ar(e) && Kt(e);
1123
1107
  }
1124
- var In = Kt(function(e) {
1108
+ var Cr = qt(function(e) {
1125
1109
  return function() {
1126
1110
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1127
1111
  };
1128
- }), ir = function(e) {
1112
+ }), tn = function(e) {
1129
1113
  $(t, e);
1130
1114
  function t() {
1131
- var r = e.call(this) || this;
1132
- return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1115
+ var n = e.call(this) || this;
1116
+ return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
1133
1117
  }
1134
- return t.prototype.lift = function(r) {
1135
- var n = new wt(this, this);
1136
- return n.operator = r, n;
1118
+ return t.prototype.lift = function(n) {
1119
+ var r = new xt(this, this);
1120
+ return r.operator = n, r;
1137
1121
  }, t.prototype._throwIfClosed = function() {
1138
1122
  if (this.closed)
1139
- throw new In();
1140
- }, t.prototype.next = function(r) {
1141
- var n = this;
1123
+ throw new Cr();
1124
+ }, t.prototype.next = function(n) {
1125
+ var r = this;
1142
1126
  ge(function() {
1143
1127
  var i, o;
1144
- if (n._throwIfClosed(), !n.isStopped) {
1145
- n.currentObservers || (n.currentObservers = Array.from(n.observers));
1128
+ if (r._throwIfClosed(), !r.isStopped) {
1129
+ r.currentObservers || (r.currentObservers = Array.from(r.observers));
1146
1130
  try {
1147
- for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1131
+ for (var s = Ve(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
1148
1132
  var l = a.value;
1149
- l.next(r);
1133
+ l.next(n);
1150
1134
  }
1151
1135
  } catch (u) {
1152
1136
  i = { error: u };
@@ -1160,118 +1144,118 @@ var In = Kt(function(e) {
1160
1144
  }
1161
1145
  }
1162
1146
  });
1163
- }, t.prototype.error = function(r) {
1164
- var n = this;
1147
+ }, t.prototype.error = function(n) {
1148
+ var r = this;
1165
1149
  ge(function() {
1166
- if (n._throwIfClosed(), !n.isStopped) {
1167
- n.hasError = n.isStopped = !0, n.thrownError = r;
1168
- for (var i = n.observers; i.length; )
1169
- i.shift().error(r);
1150
+ if (r._throwIfClosed(), !r.isStopped) {
1151
+ r.hasError = r.isStopped = !0, r.thrownError = n;
1152
+ for (var i = r.observers; i.length; )
1153
+ i.shift().error(n);
1170
1154
  }
1171
1155
  });
1172
1156
  }, t.prototype.complete = function() {
1173
- var r = this;
1157
+ var n = this;
1174
1158
  ge(function() {
1175
- if (r._throwIfClosed(), !r.isStopped) {
1176
- r.isStopped = !0;
1177
- for (var n = r.observers; n.length; )
1178
- n.shift().complete();
1159
+ if (n._throwIfClosed(), !n.isStopped) {
1160
+ n.isStopped = !0;
1161
+ for (var r = n.observers; r.length; )
1162
+ r.shift().complete();
1179
1163
  }
1180
1164
  });
1181
1165
  }, t.prototype.unsubscribe = function() {
1182
1166
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
1183
1167
  }, Object.defineProperty(t.prototype, "observed", {
1184
1168
  get: function() {
1185
- var r;
1186
- return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
1169
+ var n;
1170
+ return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
1187
1171
  },
1188
1172
  enumerable: !1,
1189
1173
  configurable: !0
1190
- }), t.prototype._trySubscribe = function(r) {
1191
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
1192
- }, t.prototype._subscribe = function(r) {
1193
- return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1194
- }, t.prototype._innerSubscribe = function(r) {
1195
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1196
- return o || s ? er : (this.currentObservers = null, a.push(r), new He(function() {
1197
- n.currentObservers = null, We(a, r);
1174
+ }), t.prototype._trySubscribe = function(n) {
1175
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
1176
+ }, t.prototype._subscribe = function(n) {
1177
+ return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
1178
+ }, t.prototype._innerSubscribe = function(n) {
1179
+ var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1180
+ return o || s ? Yt : (this.currentObservers = null, a.push(n), new He(function() {
1181
+ r.currentObservers = null, ze(a, n);
1198
1182
  }));
1199
- }, t.prototype._checkFinalizedStatuses = function(r) {
1200
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1201
- i ? r.error(o) : s && r.complete();
1183
+ }, t.prototype._checkFinalizedStatuses = function(n) {
1184
+ var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
1185
+ i ? n.error(o) : s && n.complete();
1202
1186
  }, t.prototype.asObservable = function() {
1203
- var r = new xt();
1204
- return r.source = this, r;
1205
- }, t.create = function(r, n) {
1206
- return new wt(r, n);
1187
+ var n = new vt();
1188
+ return n.source = this, n;
1189
+ }, t.create = function(n, r) {
1190
+ return new xt(n, r);
1207
1191
  }, t;
1208
- }(xt), wt = function(e) {
1192
+ }(vt), xt = function(e) {
1209
1193
  $(t, e);
1210
- function t(r, n) {
1194
+ function t(n, r) {
1211
1195
  var i = e.call(this) || this;
1212
- return i.destination = r, i.source = n, i;
1196
+ return i.destination = n, i.source = r, i;
1213
1197
  }
1214
- return t.prototype.next = function(r) {
1215
- var n, i;
1216
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
1217
- }, t.prototype.error = function(r) {
1218
- var n, i;
1219
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
1198
+ return t.prototype.next = function(n) {
1199
+ var r, i;
1200
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
1201
+ }, t.prototype.error = function(n) {
1202
+ var r, i;
1203
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
1220
1204
  }, t.prototype.complete = function() {
1221
- var r, n;
1222
- (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1223
- }, t.prototype._subscribe = function(r) {
1224
- var n, i;
1225
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
1205
+ var n, r;
1206
+ (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
1207
+ }, t.prototype._subscribe = function(n) {
1208
+ var r, i;
1209
+ return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Yt;
1226
1210
  }, t;
1227
- }(ir), or = {
1211
+ }(tn), nn = {
1228
1212
  now: function() {
1229
- return (or.delegate || Date).now();
1213
+ return (nn.delegate || Date).now();
1230
1214
  },
1231
1215
  delegate: void 0
1232
- }, Mn = function(e) {
1216
+ }, Pr = function(e) {
1233
1217
  $(t, e);
1234
- function t(r, n, i) {
1235
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
1218
+ function t(n, r, i) {
1219
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = nn);
1236
1220
  var o = e.call(this) || this;
1237
- return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1221
+ return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
1238
1222
  }
1239
- return t.prototype.next = function(r) {
1240
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
1241
- i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1242
- }, t.prototype._subscribe = function(r) {
1223
+ return t.prototype.next = function(n) {
1224
+ var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, l = r._windowTime;
1225
+ i || (o.push(n), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, n);
1226
+ }, t.prototype._subscribe = function(n) {
1243
1227
  this._throwIfClosed(), this._trimBuffer();
1244
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
1245
- r.next(a[l]);
1246
- return this._checkFinalizedStatuses(r), n;
1228
+ for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !n.closed; l += o ? 1 : 2)
1229
+ n.next(a[l]);
1230
+ return this._checkFinalizedStatuses(n), r;
1247
1231
  }, t.prototype._trimBuffer = function() {
1248
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1249
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1232
+ var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
1233
+ if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1250
1234
  for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1251
1235
  u = h;
1252
1236
  u && o.splice(0, u + 1);
1253
1237
  }
1254
1238
  }, t;
1255
- }(ir);
1256
- const St = [], Tt = {}, Nn = (e, t = 0) => {
1257
- if (St.indexOf(e) == -1) {
1258
- const r = new Mn(t);
1259
- Tt[e] = r, St.push(e);
1239
+ }(tn);
1240
+ const Et = [], wt = {}, Or = (e, t = 0) => {
1241
+ if (Et.indexOf(e) == -1) {
1242
+ const n = new Pr(t);
1243
+ wt[e] = n, Et.push(e);
1260
1244
  }
1261
- return Tt[e];
1245
+ return wt[e];
1262
1246
  }, V = [];
1263
- function Ln(e, t) {
1247
+ function Ir(e, t) {
1264
1248
  return {
1265
1249
  subscribe: Ae(e, t).subscribe
1266
1250
  };
1267
1251
  }
1268
1252
  function Ae(e, t = N) {
1269
- let r;
1270
- const n = /* @__PURE__ */ new Set();
1253
+ let n;
1254
+ const r = /* @__PURE__ */ new Set();
1271
1255
  function i(a) {
1272
- if (Xt(e, a) && (e = a, r)) {
1256
+ if (kt(e, a) && (e = a, n)) {
1273
1257
  const l = !V.length;
1274
- for (const u of n)
1258
+ for (const u of r)
1275
1259
  u[1](), V.push(u, e);
1276
1260
  if (l) {
1277
1261
  for (let u = 0; u < V.length; u += 2)
@@ -1285,168 +1269,170 @@ function Ae(e, t = N) {
1285
1269
  }
1286
1270
  function s(a, l = N) {
1287
1271
  const u = [a, l];
1288
- return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
1289
- n.delete(u), n.size === 0 && r && (r(), r = null);
1272
+ return r.add(u), r.size === 1 && (n = t(i, o) || N), a(e), () => {
1273
+ r.delete(u), r.size === 0 && n && (n(), n = null);
1290
1274
  };
1291
1275
  }
1292
1276
  return { set: i, update: o, subscribe: s };
1293
1277
  }
1294
- function K(e, t, r) {
1295
- const n = !Array.isArray(e), i = n ? [e] : e;
1278
+ function K(e, t, n) {
1279
+ const r = !Array.isArray(e), i = r ? [e] : e;
1296
1280
  if (!i.every(Boolean))
1297
1281
  throw new Error("derived() expects stores as input, got a falsy value");
1298
1282
  const o = t.length < 2;
1299
- return Ln(r, (s, a) => {
1283
+ return Ir(n, (s, a) => {
1300
1284
  let l = !1;
1301
1285
  const u = [];
1302
- let h = 0, c = N;
1303
- const f = () => {
1286
+ let h = 0, f = N;
1287
+ const c = () => {
1304
1288
  if (h)
1305
1289
  return;
1306
- c();
1307
- const m = t(n ? u[0] : u, s, a);
1308
- o ? s(m) : c = Te(m) ? m : N;
1309
- }, d = i.map(
1310
- (m, p) => zt(
1311
- m,
1290
+ f();
1291
+ const d = t(r ? u[0] : u, s, a);
1292
+ o ? s(d) : f = Te(d) ? d : N;
1293
+ }, m = i.map(
1294
+ (d, p) => Vt(
1295
+ d,
1312
1296
  (g) => {
1313
- u[p] = g, h &= ~(1 << p), l && f();
1297
+ u[p] = g, h &= ~(1 << p), l && c();
1314
1298
  },
1315
1299
  () => {
1316
1300
  h |= 1 << p;
1317
1301
  }
1318
1302
  )
1319
1303
  );
1320
- return l = !0, f(), function() {
1321
- U(d), c(), l = !1;
1304
+ return l = !0, c(), function() {
1305
+ U(m), f(), l = !1;
1322
1306
  };
1323
1307
  });
1324
1308
  }
1325
- var Fo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1326
- function Rn(e) {
1309
+ var Uo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1310
+ function Mr(e) {
1327
1311
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1328
1312
  }
1329
- var $n = function(t) {
1330
- return Gn(t) && !Un(t);
1313
+ var Nr = function(t) {
1314
+ return Lr(t) && !Rr(t);
1331
1315
  };
1332
- function Gn(e) {
1316
+ function Lr(e) {
1333
1317
  return !!e && typeof e == "object";
1334
1318
  }
1335
- function Un(e) {
1319
+ function Rr(e) {
1336
1320
  var t = Object.prototype.toString.call(e);
1337
- return t === "[object RegExp]" || t === "[object Date]" || jn(e);
1321
+ return t === "[object RegExp]" || t === "[object Date]" || Ur(e);
1338
1322
  }
1339
- var Dn = typeof Symbol == "function" && Symbol.for, Fn = Dn ? Symbol.for("react.element") : 60103;
1340
- function jn(e) {
1341
- return e.$$typeof === Fn;
1323
+ var $r = typeof Symbol == "function" && Symbol.for, Gr = $r ? Symbol.for("react.element") : 60103;
1324
+ function Ur(e) {
1325
+ return e.$$typeof === Gr;
1342
1326
  }
1343
- function kn(e) {
1327
+ function Dr(e) {
1344
1328
  return Array.isArray(e) ? [] : {};
1345
1329
  }
1346
1330
  function se(e, t) {
1347
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(kn(e), e, t) : e;
1331
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(Dr(e), e, t) : e;
1348
1332
  }
1349
- function Vn(e, t, r) {
1350
- return e.concat(t).map(function(n) {
1351
- return se(n, r);
1333
+ function Fr(e, t, n) {
1334
+ return e.concat(t).map(function(r) {
1335
+ return se(r, n);
1352
1336
  });
1353
1337
  }
1354
- function Xn(e, t) {
1338
+ function jr(e, t) {
1355
1339
  if (!t.customMerge)
1356
1340
  return Q;
1357
- var r = t.customMerge(e);
1358
- return typeof r == "function" ? r : Q;
1341
+ var n = t.customMerge(e);
1342
+ return typeof n == "function" ? n : Q;
1359
1343
  }
1360
- function zn(e) {
1344
+ function kr(e) {
1361
1345
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1362
1346
  return Object.propertyIsEnumerable.call(e, t);
1363
1347
  }) : [];
1364
1348
  }
1365
- function Ht(e) {
1366
- return Object.keys(e).concat(zn(e));
1349
+ function St(e) {
1350
+ return Object.keys(e).concat(kr(e));
1367
1351
  }
1368
- function sr(e, t) {
1352
+ function rn(e, t) {
1369
1353
  try {
1370
1354
  return t in e;
1371
- } catch (r) {
1355
+ } catch (n) {
1372
1356
  return !1;
1373
1357
  }
1374
1358
  }
1375
- function Wn(e, t) {
1376
- return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1359
+ function Vr(e, t) {
1360
+ return rn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1377
1361
  }
1378
- function Zn(e, t, r) {
1379
- var n = {};
1380
- return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
1381
- n[i] = se(e[i], r);
1382
- }), Ht(t).forEach(function(i) {
1383
- Wn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1384
- }), n;
1385
- }
1386
- function Q(e, t, r) {
1387
- r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = se;
1388
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1389
- return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) : se(t, r);
1390
- }
1391
- Q.all = function(t, r) {
1362
+ function Xr(e, t, n) {
1363
+ var r = {};
1364
+ return n.isMergeableObject(e) && St(e).forEach(function(i) {
1365
+ r[i] = se(e[i], n);
1366
+ }), St(t).forEach(function(i) {
1367
+ Vr(e, i) || (rn(e, i) && n.isMergeableObject(t[i]) ? r[i] = jr(i, n)(e[i], t[i], n) : r[i] = se(t[i], n));
1368
+ }), r;
1369
+ }
1370
+ function Q(e, t, n) {
1371
+ n = n || {}, n.arrayMerge = n.arrayMerge || Fr, n.isMergeableObject = n.isMergeableObject || Nr, n.cloneUnlessOtherwiseSpecified = se;
1372
+ var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1373
+ return o ? r ? n.arrayMerge(e, t, n) : Xr(e, t, n) : se(t, n);
1374
+ }
1375
+ Q.all = function(t, n) {
1392
1376
  if (!Array.isArray(t))
1393
1377
  throw new Error("first argument should be an array");
1394
- return t.reduce(function(n, i) {
1395
- return Q(n, i, r);
1378
+ return t.reduce(function(r, i) {
1379
+ return Q(r, i, n);
1396
1380
  }, {});
1397
1381
  };
1398
- var Qn = Q, Jn = Qn;
1399
- const qn = /* @__PURE__ */ Rn(Jn);
1400
- function Re(e, t) {
1401
- var r = t && t.cache ? t.cache : ni, n = t && t.serializer ? t.serializer : ri, i = t && t.strategy ? t.strategy : Kn;
1382
+ var zr = Q, Wr = zr;
1383
+ const Zr = /* @__PURE__ */ Mr(Wr);
1384
+ function Le(e, t) {
1385
+ var n = t && t.cache ? t.cache : ti, r = t && t.serializer ? t.serializer : Kr, i = t && t.strategy ? t.strategy : Jr;
1402
1386
  return i(e, {
1403
- cache: r,
1404
- serializer: n
1387
+ cache: n,
1388
+ serializer: r
1405
1389
  });
1406
1390
  }
1407
- function Yn(e) {
1391
+ function Qr(e) {
1408
1392
  return e == null || typeof e == "number" || typeof e == "boolean";
1409
1393
  }
1410
- function ar(e, t, r, n) {
1411
- var i = Yn(n) ? n : r(n), o = t.get(i);
1412
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1394
+ function on(e, t, n, r) {
1395
+ var i = Qr(r) ? r : n(r), o = t.get(i);
1396
+ return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
1413
1397
  }
1414
- function ur(e, t, r) {
1415
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1416
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1398
+ function sn(e, t, n) {
1399
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
1400
+ return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
1417
1401
  }
1418
- function st(e, t, r, n, i) {
1419
- return r.bind(t, e, n, i);
1402
+ function ot(e, t, n, r, i) {
1403
+ return n.bind(t, e, r, i);
1420
1404
  }
1421
- function Kn(e, t) {
1422
- var r = e.length === 1 ? ar : ur;
1423
- return st(e, this, r, t.cache.create(), t.serializer);
1405
+ function Jr(e, t) {
1406
+ var n = e.length === 1 ? on : sn;
1407
+ return ot(e, this, n, t.cache.create(), t.serializer);
1424
1408
  }
1425
- function ei(e, t) {
1426
- return st(e, this, ur, t.cache.create(), t.serializer);
1409
+ function qr(e, t) {
1410
+ return ot(e, this, sn, t.cache.create(), t.serializer);
1427
1411
  }
1428
- function ti(e, t) {
1429
- return st(e, this, ar, t.cache.create(), t.serializer);
1412
+ function Yr(e, t) {
1413
+ return ot(e, this, on, t.cache.create(), t.serializer);
1430
1414
  }
1431
- var ri = function() {
1415
+ var Kr = function() {
1432
1416
  return JSON.stringify(arguments);
1433
- };
1434
- function at() {
1435
- this.cache = /* @__PURE__ */ Object.create(null);
1436
- }
1437
- at.prototype.get = function(e) {
1438
- return this.cache[e];
1439
- };
1440
- at.prototype.set = function(e, t) {
1441
- this.cache[e] = t;
1442
- };
1443
- var ni = {
1417
+ }, ei = (
1418
+ /** @class */
1419
+ function() {
1420
+ function e() {
1421
+ this.cache = /* @__PURE__ */ Object.create(null);
1422
+ }
1423
+ return e.prototype.get = function(t) {
1424
+ return this.cache[t];
1425
+ }, e.prototype.set = function(t, n) {
1426
+ this.cache[t] = n;
1427
+ }, e;
1428
+ }()
1429
+ ), ti = {
1444
1430
  create: function() {
1445
- return new at();
1431
+ return new ei();
1446
1432
  }
1447
- }, $e = {
1448
- variadic: ei,
1449
- monadic: ti
1433
+ }, Re = {
1434
+ variadic: qr,
1435
+ monadic: Yr
1450
1436
  }, y;
1451
1437
  (function(e) {
1452
1438
  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";
@@ -1459,50 +1445,50 @@ var J;
1459
1445
  (function(e) {
1460
1446
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1461
1447
  })(J || (J = {}));
1462
- function At(e) {
1448
+ function Tt(e) {
1463
1449
  return e.type === S.literal;
1464
1450
  }
1465
- function ii(e) {
1451
+ function ni(e) {
1466
1452
  return e.type === S.argument;
1467
1453
  }
1468
- function lr(e) {
1454
+ function an(e) {
1469
1455
  return e.type === S.number;
1470
1456
  }
1471
- function hr(e) {
1457
+ function un(e) {
1472
1458
  return e.type === S.date;
1473
1459
  }
1474
- function cr(e) {
1460
+ function ln(e) {
1475
1461
  return e.type === S.time;
1476
1462
  }
1477
- function fr(e) {
1463
+ function hn(e) {
1478
1464
  return e.type === S.select;
1479
1465
  }
1480
- function mr(e) {
1466
+ function fn(e) {
1481
1467
  return e.type === S.plural;
1482
1468
  }
1483
- function oi(e) {
1469
+ function ri(e) {
1484
1470
  return e.type === S.pound;
1485
1471
  }
1486
- function dr(e) {
1472
+ function cn(e) {
1487
1473
  return e.type === S.tag;
1488
1474
  }
1489
- function pr(e) {
1475
+ function dn(e) {
1490
1476
  return !!(e && typeof e == "object" && e.type === J.number);
1491
1477
  }
1492
- function Qe(e) {
1478
+ function Ze(e) {
1493
1479
  return !!(e && typeof e == "object" && e.type === J.dateTime);
1494
1480
  }
1495
- var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, si = /(?:[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;
1496
- function ai(e) {
1481
+ var mn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ii = /(?:[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;
1482
+ function oi(e) {
1497
1483
  var t = {};
1498
- return e.replace(si, function(r) {
1499
- var n = r.length;
1500
- switch (r[0]) {
1484
+ return e.replace(ii, function(n) {
1485
+ var r = n.length;
1486
+ switch (n[0]) {
1501
1487
  case "G":
1502
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1488
+ t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1503
1489
  break;
1504
1490
  case "y":
1505
- t.year = n === 2 ? "2-digit" : "numeric";
1491
+ t.year = r === 2 ? "2-digit" : "numeric";
1506
1492
  break;
1507
1493
  case "Y":
1508
1494
  case "u":
@@ -1514,30 +1500,30 @@ function ai(e) {
1514
1500
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
1515
1501
  case "M":
1516
1502
  case "L":
1517
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1503
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
1518
1504
  break;
1519
1505
  case "w":
1520
1506
  case "W":
1521
1507
  throw new RangeError("`w/W` (week) patterns are not supported");
1522
1508
  case "d":
1523
- t.day = ["numeric", "2-digit"][n - 1];
1509
+ t.day = ["numeric", "2-digit"][r - 1];
1524
1510
  break;
1525
1511
  case "D":
1526
1512
  case "F":
1527
1513
  case "g":
1528
1514
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1529
1515
  case "E":
1530
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1516
+ t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1531
1517
  break;
1532
1518
  case "e":
1533
- if (n < 4)
1519
+ if (r < 4)
1534
1520
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
1535
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1521
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
1536
1522
  break;
1537
1523
  case "c":
1538
- if (n < 4)
1524
+ if (r < 4)
1539
1525
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1540
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1526
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
1541
1527
  break;
1542
1528
  case "a":
1543
1529
  t.hour12 = !0;
@@ -1546,32 +1532,32 @@ function ai(e) {
1546
1532
  case "B":
1547
1533
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1548
1534
  case "h":
1549
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1535
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
1550
1536
  break;
1551
1537
  case "H":
1552
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1538
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
1553
1539
  break;
1554
1540
  case "K":
1555
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1541
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
1556
1542
  break;
1557
1543
  case "k":
1558
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1544
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
1559
1545
  break;
1560
1546
  case "j":
1561
1547
  case "J":
1562
1548
  case "C":
1563
1549
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1564
1550
  case "m":
1565
- t.minute = ["numeric", "2-digit"][n - 1];
1551
+ t.minute = ["numeric", "2-digit"][r - 1];
1566
1552
  break;
1567
1553
  case "s":
1568
- t.second = ["numeric", "2-digit"][n - 1];
1554
+ t.second = ["numeric", "2-digit"][r - 1];
1569
1555
  break;
1570
1556
  case "S":
1571
1557
  case "A":
1572
1558
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1573
1559
  case "z":
1574
- t.timeZoneName = n < 4 ? "short" : "long";
1560
+ t.timeZoneName = r < 4 ? "short" : "long";
1575
1561
  break;
1576
1562
  case "Z":
1577
1563
  case "O":
@@ -1584,36 +1570,36 @@ function ai(e) {
1584
1570
  return "";
1585
1571
  }), t;
1586
1572
  }
1587
- var ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1588
- function li(e) {
1573
+ var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1574
+ function ai(e) {
1589
1575
  if (e.length === 0)
1590
1576
  throw new Error("Number skeleton cannot be empty");
1591
- for (var t = e.split(ui).filter(function(f) {
1592
- return f.length > 0;
1593
- }), r = [], n = 0, i = t; n < i.length; n++) {
1594
- var o = i[n], s = o.split("/");
1577
+ for (var t = e.split(si).filter(function(c) {
1578
+ return c.length > 0;
1579
+ }), n = [], r = 0, i = t; r < i.length; r++) {
1580
+ var o = i[r], s = o.split("/");
1595
1581
  if (s.length === 0)
1596
1582
  throw new Error("Invalid number skeleton");
1597
1583
  for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1598
- var c = h[u];
1599
- if (c.length === 0)
1584
+ var f = h[u];
1585
+ if (f.length === 0)
1600
1586
  throw new Error("Invalid number skeleton");
1601
1587
  }
1602
- r.push({ stem: a, options: l });
1588
+ n.push({ stem: a, options: l });
1603
1589
  }
1604
- return r;
1590
+ return n;
1605
1591
  }
1606
- function hi(e) {
1592
+ function ui(e) {
1607
1593
  return e.replace(/^(.*?)-/, "");
1608
1594
  }
1609
- var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ci = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1610
- function Ct(e) {
1595
+ var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pn = /^(@+)?(\+|#+)?[rs]?$/g, li = /(\*)(0+)|(#+)(0+)|(0+)/g, bn = /^(0+)$/;
1596
+ function At(e) {
1611
1597
  var t = {};
1612
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1613
- 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)), "";
1598
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pn, function(n, r, i) {
1599
+ return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1614
1600
  }), t;
1615
1601
  }
1616
- function vr(e) {
1602
+ function gn(e) {
1617
1603
  switch (e) {
1618
1604
  case "sign-auto":
1619
1605
  return {
@@ -1653,27 +1639,27 @@ function vr(e) {
1653
1639
  };
1654
1640
  }
1655
1641
  }
1656
- function fi(e) {
1642
+ function hi(e) {
1657
1643
  var t;
1658
1644
  if (e[0] === "E" && e[1] === "E" ? (t = {
1659
1645
  notation: "engineering"
1660
1646
  }, e = e.slice(2)) : e[0] === "E" && (t = {
1661
1647
  notation: "scientific"
1662
1648
  }, e = e.slice(1)), t) {
1663
- var r = e.slice(0, 2);
1664
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
1649
+ var n = e.slice(0, 2);
1650
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !bn.test(e))
1665
1651
  throw new Error("Malformed concise eng/scientific notation");
1666
1652
  t.minimumIntegerDigits = e.length;
1667
1653
  }
1668
1654
  return t;
1669
1655
  }
1670
- function Pt(e) {
1671
- var t = {}, r = vr(e);
1672
- return r || t;
1656
+ function Bt(e) {
1657
+ var t = {}, n = gn(e);
1658
+ return n || t;
1673
1659
  }
1674
- function mi(e) {
1675
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
1676
- var i = n[r];
1660
+ function fi(e) {
1661
+ for (var t = {}, n = 0, r = e; n < r.length; n++) {
1662
+ var i = r[n];
1677
1663
  switch (i.stem) {
1678
1664
  case "percent":
1679
1665
  case "%":
@@ -1695,7 +1681,7 @@ function mi(e) {
1695
1681
  continue;
1696
1682
  case "measure-unit":
1697
1683
  case "unit":
1698
- t.style = "unit", t.unit = hi(i.options[0]);
1684
+ t.style = "unit", t.unit = ui(i.options[0]);
1699
1685
  continue;
1700
1686
  case "compact-short":
1701
1687
  case "K":
@@ -1707,12 +1693,12 @@ function mi(e) {
1707
1693
  continue;
1708
1694
  case "scientific":
1709
1695
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1710
- return E(E({}, l), Pt(u));
1696
+ return E(E({}, l), Bt(u));
1711
1697
  }, {}));
1712
1698
  continue;
1713
1699
  case "engineering":
1714
1700
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1715
- return E(E({}, l), Pt(u));
1701
+ return E(E({}, l), Bt(u));
1716
1702
  }, {}));
1717
1703
  continue;
1718
1704
  case "notation-simple":
@@ -1757,45 +1743,45 @@ function mi(e) {
1757
1743
  case "integer-width":
1758
1744
  if (i.options.length > 1)
1759
1745
  throw new RangeError("integer-width stems only accept a single optional option");
1760
- i.options[0].replace(ci, function(l, u, h, c, f, d) {
1746
+ i.options[0].replace(li, function(l, u, h, f, c, m) {
1761
1747
  if (u)
1762
1748
  t.minimumIntegerDigits = h.length;
1763
1749
  else {
1764
- if (c && f)
1750
+ if (f && c)
1765
1751
  throw new Error("We currently do not support maximum integer digits");
1766
- if (d)
1752
+ if (m)
1767
1753
  throw new Error("We currently do not support exact integer digits");
1768
1754
  }
1769
1755
  return "";
1770
1756
  });
1771
1757
  continue;
1772
1758
  }
1773
- if (yr.test(i.stem)) {
1759
+ if (bn.test(i.stem)) {
1774
1760
  t.minimumIntegerDigits = i.stem.length;
1775
1761
  continue;
1776
1762
  }
1777
- if (Bt.test(i.stem)) {
1763
+ if (Ht.test(i.stem)) {
1778
1764
  if (i.options.length > 1)
1779
1765
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1780
- i.stem.replace(Bt, function(l, u, h, c, f, d) {
1781
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1766
+ i.stem.replace(Ht, function(l, u, h, f, c, m) {
1767
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1782
1768
  });
1783
1769
  var o = i.options[0];
1784
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Ct(o)));
1770
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), At(o)));
1785
1771
  continue;
1786
1772
  }
1787
- if (gr.test(i.stem)) {
1788
- t = E(E({}, t), Ct(i.stem));
1773
+ if (pn.test(i.stem)) {
1774
+ t = E(E({}, t), At(i.stem));
1789
1775
  continue;
1790
1776
  }
1791
- var s = vr(i.stem);
1777
+ var s = gn(i.stem);
1792
1778
  s && (t = E(E({}, t), s));
1793
- var a = fi(i.stem);
1779
+ var a = hi(i.stem);
1794
1780
  a && (t = E(E({}, t), a));
1795
1781
  }
1796
1782
  return t;
1797
1783
  }
1798
- var de = {
1784
+ var me = {
1799
1785
  "001": [
1800
1786
  "H",
1801
1787
  "h"
@@ -3210,23 +3196,23 @@ var de = {
3210
3196
  "h"
3211
3197
  ]
3212
3198
  };
3213
- function di(e, t) {
3214
- for (var r = "", n = 0; n < e.length; n++) {
3215
- var i = e.charAt(n);
3199
+ function ci(e, t) {
3200
+ for (var n = "", r = 0; r < e.length; r++) {
3201
+ var i = e.charAt(r);
3216
3202
  if (i === "j") {
3217
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3218
- o++, n++;
3219
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = pi(t);
3203
+ for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
3204
+ o++, r++;
3205
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = di(t);
3220
3206
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3221
- r += l;
3207
+ n += l;
3222
3208
  for (; s-- > 0; )
3223
- r = u + r;
3209
+ n = u + n;
3224
3210
  } else
3225
- i === "J" ? r += "H" : r += i;
3211
+ i === "J" ? n += "H" : n += i;
3226
3212
  }
3227
- return r;
3213
+ return n;
3228
3214
  }
3229
- function pi(e) {
3215
+ function di(e) {
3230
3216
  var t = e.hourCycle;
3231
3217
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3232
3218
  e.hourCycles && // @ts-ignore
@@ -3243,73 +3229,73 @@ function pi(e) {
3243
3229
  default:
3244
3230
  throw new Error("Invalid hourCycle");
3245
3231
  }
3246
- var r = e.language, n;
3247
- r !== "root" && (n = e.maximize().region);
3248
- var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
3232
+ var n = e.language, r;
3233
+ n !== "root" && (r = e.maximize().region);
3234
+ var i = me[r || ""] || me[n || ""] || me["".concat(n, "-001")] || me["001"];
3249
3235
  return i[0];
3250
3236
  }
3251
- var Ge, bi = new RegExp("^".concat(br.source, "*")), gi = new RegExp("".concat(br.source, "*$"));
3237
+ var $e, mi = new RegExp("^".concat(mn.source, "*")), pi = new RegExp("".concat(mn.source, "*$"));
3252
3238
  function _(e, t) {
3253
3239
  return { start: e, end: t };
3254
3240
  }
3255
- var yi = !!String.prototype.startsWith && "_a".startsWith("a", 1), vi = !!String.fromCodePoint, _i = !!Object.fromEntries, xi = !!String.prototype.codePointAt, Ei = !!String.prototype.trimStart, wi = !!String.prototype.trimEnd, Si = !!Number.isSafeInteger, Ti = Si ? Number.isSafeInteger : function(e) {
3241
+ var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), gi = !!String.fromCodePoint, yi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, _i = !!String.prototype.trimStart, xi = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, wi = Ei ? Number.isSafeInteger : function(e) {
3256
3242
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3257
- }, Je = !0;
3243
+ }, Qe = !0;
3258
3244
  try {
3259
- var Hi = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3260
- Je = ((Ge = Hi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3245
+ var Si = vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3246
+ Qe = (($e = Si.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
3261
3247
  } catch (e) {
3262
- Je = !1;
3248
+ Qe = !1;
3263
3249
  }
3264
- var Ot = yi ? (
3250
+ var Ct = bi ? (
3265
3251
  // Native
3266
- function(t, r, n) {
3267
- return t.startsWith(r, n);
3252
+ function(t, n, r) {
3253
+ return t.startsWith(n, r);
3268
3254
  }
3269
3255
  ) : (
3270
3256
  // For IE11
3271
- function(t, r, n) {
3272
- return t.slice(n, n + r.length) === r;
3257
+ function(t, n, r) {
3258
+ return t.slice(r, r + n.length) === n;
3273
3259
  }
3274
- ), qe = vi ? String.fromCodePoint : (
3260
+ ), Je = gi ? String.fromCodePoint : (
3275
3261
  // IE11
3276
3262
  function() {
3277
- for (var t = [], r = 0; r < arguments.length; r++)
3278
- t[r] = arguments[r];
3279
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
3263
+ for (var t = [], n = 0; n < arguments.length; n++)
3264
+ t[n] = arguments[n];
3265
+ for (var r = "", i = t.length, o = 0, s; i > o; ) {
3280
3266
  if (s = t[o++], s > 1114111)
3281
3267
  throw RangeError(s + " is not a valid code point");
3282
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3268
+ r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3283
3269
  }
3284
- return n;
3270
+ return r;
3285
3271
  }
3286
- ), It = (
3272
+ ), Pt = (
3287
3273
  // native
3288
- _i ? Object.fromEntries : (
3274
+ yi ? Object.fromEntries : (
3289
3275
  // Ponyfill
3290
3276
  function(t) {
3291
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
3292
- var o = i[n], s = o[0], a = o[1];
3293
- r[s] = a;
3277
+ for (var n = {}, r = 0, i = t; r < i.length; r++) {
3278
+ var o = i[r], s = o[0], a = o[1];
3279
+ n[s] = a;
3294
3280
  }
3295
- return r;
3281
+ return n;
3296
3282
  }
3297
3283
  )
3298
- ), _r = xi ? (
3284
+ ), yn = vi ? (
3299
3285
  // Native
3300
- function(t, r) {
3301
- return t.codePointAt(r);
3286
+ function(t, n) {
3287
+ return t.codePointAt(n);
3302
3288
  }
3303
3289
  ) : (
3304
3290
  // IE 11
3305
- function(t, r) {
3306
- var n = t.length;
3307
- if (!(r < 0 || r >= n)) {
3308
- var i = t.charCodeAt(r), o;
3309
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3291
+ function(t, n) {
3292
+ var r = t.length;
3293
+ if (!(n < 0 || n >= r)) {
3294
+ var i = t.charCodeAt(n), o;
3295
+ return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3310
3296
  }
3311
3297
  }
3312
- ), Ai = Ei ? (
3298
+ ), Ti = _i ? (
3313
3299
  // Native
3314
3300
  function(t) {
3315
3301
  return t.trimStart();
@@ -3317,9 +3303,9 @@ var Ot = yi ? (
3317
3303
  ) : (
3318
3304
  // Ponyfill
3319
3305
  function(t) {
3320
- return t.replace(bi, "");
3306
+ return t.replace(mi, "");
3321
3307
  }
3322
- ), Bi = wi ? (
3308
+ ), Hi = xi ? (
3323
3309
  // Native
3324
3310
  function(t) {
3325
3311
  return t.trimEnd();
@@ -3327,69 +3313,69 @@ var Ot = yi ? (
3327
3313
  ) : (
3328
3314
  // Ponyfill
3329
3315
  function(t) {
3330
- return t.replace(gi, "");
3316
+ return t.replace(pi, "");
3331
3317
  }
3332
3318
  );
3333
- function xr(e, t) {
3319
+ function vn(e, t) {
3334
3320
  return new RegExp(e, t);
3335
3321
  }
3336
- var Ye;
3337
- if (Je) {
3338
- var Mt = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3339
- Ye = function(t, r) {
3340
- var n;
3341
- Mt.lastIndex = r;
3342
- var i = Mt.exec(t);
3343
- return (n = i[1]) !== null && n !== void 0 ? n : "";
3322
+ var qe;
3323
+ if (Qe) {
3324
+ var Ot = vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3325
+ qe = function(t, n) {
3326
+ var r;
3327
+ Ot.lastIndex = n;
3328
+ var i = Ot.exec(t);
3329
+ return (r = i[1]) !== null && r !== void 0 ? r : "";
3344
3330
  };
3345
3331
  } else
3346
- Ye = function(t, r) {
3347
- for (var n = []; ; ) {
3348
- var i = _r(t, r);
3349
- if (i === void 0 || Er(i) || Ii(i))
3332
+ qe = function(t, n) {
3333
+ for (var r = []; ; ) {
3334
+ var i = yn(t, n);
3335
+ if (i === void 0 || _n(i) || Pi(i))
3350
3336
  break;
3351
- n.push(i), r += i >= 65536 ? 2 : 1;
3337
+ r.push(i), n += i >= 65536 ? 2 : 1;
3352
3338
  }
3353
- return qe.apply(void 0, n);
3339
+ return Je.apply(void 0, r);
3354
3340
  };
3355
- var Ci = (
3341
+ var Ai = (
3356
3342
  /** @class */
3357
3343
  function() {
3358
- function e(t, r) {
3359
- r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
3344
+ function e(t, n) {
3345
+ n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
3360
3346
  }
3361
3347
  return e.prototype.parse = function() {
3362
3348
  if (this.offset() !== 0)
3363
3349
  throw Error("parser can only be used once");
3364
3350
  return this.parseMessage(0, "", !1);
3365
- }, e.prototype.parseMessage = function(t, r, n) {
3351
+ }, e.prototype.parseMessage = function(t, n, r) {
3366
3352
  for (var i = []; !this.isEOF(); ) {
3367
3353
  var o = this.char();
3368
3354
  if (o === 123) {
3369
- var s = this.parseArgument(t, n);
3355
+ var s = this.parseArgument(t, r);
3370
3356
  if (s.err)
3371
3357
  return s;
3372
3358
  i.push(s.val);
3373
3359
  } else {
3374
3360
  if (o === 125 && t > 0)
3375
3361
  break;
3376
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3362
+ if (o === 35 && (n === "plural" || n === "selectordinal")) {
3377
3363
  var a = this.clonePosition();
3378
3364
  this.bump(), i.push({
3379
3365
  type: S.pound,
3380
3366
  location: _(a, this.clonePosition())
3381
3367
  });
3382
3368
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3383
- if (n)
3369
+ if (r)
3384
3370
  break;
3385
3371
  return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3386
- } else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3387
- var s = this.parseTag(t, r);
3372
+ } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
3373
+ var s = this.parseTag(t, n);
3388
3374
  if (s.err)
3389
3375
  return s;
3390
3376
  i.push(s.val);
3391
3377
  } else {
3392
- var s = this.parseLiteral(t, r);
3378
+ var s = this.parseLiteral(t, n);
3393
3379
  if (s.err)
3394
3380
  return s;
3395
3381
  i.push(s.val);
@@ -3397,8 +3383,8 @@ var Ci = (
3397
3383
  }
3398
3384
  }
3399
3385
  return { val: i, err: null };
3400
- }, e.prototype.parseTag = function(t, r) {
3401
- var n = this.clonePosition();
3386
+ }, e.prototype.parseTag = function(t, n) {
3387
+ var r = this.clonePosition();
3402
3388
  this.bump();
3403
3389
  var i = this.parseTagName();
3404
3390
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -3406,17 +3392,17 @@ var Ci = (
3406
3392
  val: {
3407
3393
  type: S.literal,
3408
3394
  value: "<".concat(i, "/>"),
3409
- location: _(n, this.clonePosition())
3395
+ location: _(r, this.clonePosition())
3410
3396
  },
3411
3397
  err: null
3412
3398
  };
3413
3399
  if (this.bumpIf(">")) {
3414
- var o = this.parseMessage(t + 1, r, !0);
3400
+ var o = this.parseMessage(t + 1, n, !0);
3415
3401
  if (o.err)
3416
3402
  return o;
3417
3403
  var s = o.val, a = this.clonePosition();
3418
3404
  if (this.bumpIf("</")) {
3419
- if (this.isEOF() || !Ke(this.char()))
3405
+ if (this.isEOF() || !Ye(this.char()))
3420
3406
  return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
3421
3407
  var l = this.clonePosition(), u = this.parseTagName();
3422
3408
  return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3424,27 +3410,27 @@ var Ci = (
3424
3410
  type: S.tag,
3425
3411
  value: i,
3426
3412
  children: s,
3427
- location: _(n, this.clonePosition())
3413
+ location: _(r, this.clonePosition())
3428
3414
  },
3429
3415
  err: null
3430
3416
  } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
3431
3417
  } else
3432
- return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
3418
+ return this.error(y.UNCLOSED_TAG, _(r, this.clonePosition()));
3433
3419
  } else
3434
- return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
3420
+ return this.error(y.INVALID_TAG, _(r, this.clonePosition()));
3435
3421
  }, e.prototype.parseTagName = function() {
3436
3422
  var t = this.offset();
3437
- for (this.bump(); !this.isEOF() && Oi(this.char()); )
3423
+ for (this.bump(); !this.isEOF() && Ci(this.char()); )
3438
3424
  this.bump();
3439
3425
  return this.message.slice(t, this.offset());
3440
- }, e.prototype.parseLiteral = function(t, r) {
3441
- for (var n = this.clonePosition(), i = ""; ; ) {
3442
- var o = this.tryParseQuote(r);
3426
+ }, e.prototype.parseLiteral = function(t, n) {
3427
+ for (var r = this.clonePosition(), i = ""; ; ) {
3428
+ var o = this.tryParseQuote(n);
3443
3429
  if (o) {
3444
3430
  i += o;
3445
3431
  continue;
3446
3432
  }
3447
- var s = this.tryParseUnquoted(t, r);
3433
+ var s = this.tryParseUnquoted(t, n);
3448
3434
  if (s) {
3449
3435
  i += s;
3450
3436
  continue;
@@ -3456,14 +3442,14 @@ var Ci = (
3456
3442
  }
3457
3443
  break;
3458
3444
  }
3459
- var l = _(n, this.clonePosition());
3445
+ var l = _(r, this.clonePosition());
3460
3446
  return {
3461
3447
  val: { type: S.literal, value: i, location: l },
3462
3448
  err: null
3463
3449
  };
3464
3450
  }, e.prototype.tryParseLeftAngleBracket = function() {
3465
3451
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3466
- !Pi(this.peek() || 0)) ? (this.bump(), "<") : null;
3452
+ !Bi(this.peek() || 0)) ? (this.bump(), "<") : null;
3467
3453
  }, e.prototype.tryParseQuote = function(t) {
3468
3454
  if (this.isEOF() || this.char() !== 39)
3469
3455
  return null;
@@ -3483,37 +3469,37 @@ var Ci = (
3483
3469
  return null;
3484
3470
  }
3485
3471
  this.bump();
3486
- var r = [this.char()];
3472
+ var n = [this.char()];
3487
3473
  for (this.bump(); !this.isEOF(); ) {
3488
- var n = this.char();
3489
- if (n === 39)
3474
+ var r = this.char();
3475
+ if (r === 39)
3490
3476
  if (this.peek() === 39)
3491
- r.push(39), this.bump();
3477
+ n.push(39), this.bump();
3492
3478
  else {
3493
3479
  this.bump();
3494
3480
  break;
3495
3481
  }
3496
3482
  else
3497
- r.push(n);
3483
+ n.push(r);
3498
3484
  this.bump();
3499
3485
  }
3500
- return qe.apply(void 0, r);
3501
- }, e.prototype.tryParseUnquoted = function(t, r) {
3486
+ return Je.apply(void 0, n);
3487
+ }, e.prototype.tryParseUnquoted = function(t, n) {
3502
3488
  if (this.isEOF())
3503
3489
  return null;
3504
- var n = this.char();
3505
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3506
- }, e.prototype.parseArgument = function(t, r) {
3507
- var n = this.clonePosition();
3490
+ var r = this.char();
3491
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Je(r));
3492
+ }, e.prototype.parseArgument = function(t, n) {
3493
+ var r = this.clonePosition();
3508
3494
  if (this.bump(), this.bumpSpace(), this.isEOF())
3509
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3495
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition()));
3510
3496
  if (this.char() === 125)
3511
- return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3497
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(r, this.clonePosition()));
3512
3498
  var i = this.parseIdentifierIfPossible().value;
3513
3499
  if (!i)
3514
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3500
+ return this.error(y.MALFORMED_ARGUMENT, _(r, this.clonePosition()));
3515
3501
  if (this.bumpSpace(), this.isEOF())
3516
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3502
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition()));
3517
3503
  switch (this.char()) {
3518
3504
  case 125:
3519
3505
  return this.bump(), {
@@ -3521,21 +3507,21 @@ var Ci = (
3521
3507
  type: S.argument,
3522
3508
  // value does not include the opening and closing braces.
3523
3509
  value: i,
3524
- location: _(n, this.clonePosition())
3510
+ location: _(r, this.clonePosition())
3525
3511
  },
3526
3512
  err: null
3527
3513
  };
3528
3514
  case 44:
3529
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3515
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3530
3516
  default:
3531
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3517
+ return this.error(y.MALFORMED_ARGUMENT, _(r, this.clonePosition()));
3532
3518
  }
3533
3519
  }, e.prototype.parseIdentifierIfPossible = function() {
3534
- var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3520
+ var t = this.clonePosition(), n = this.offset(), r = qe(this.message, n), i = n + r.length;
3535
3521
  this.bumpTo(i);
3536
3522
  var o = this.clonePosition(), s = _(t, o);
3537
- return { value: n, location: s };
3538
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3523
+ return { value: r, location: s };
3524
+ }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3539
3525
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3540
3526
  switch (a) {
3541
3527
  case "":
@@ -3547,40 +3533,40 @@ var Ci = (
3547
3533
  var u = null;
3548
3534
  if (this.bumpIf(",")) {
3549
3535
  this.bumpSpace();
3550
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3551
- if (c.err)
3552
- return c;
3553
- var f = Bi(c.val);
3554
- if (f.length === 0)
3536
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3537
+ if (f.err)
3538
+ return f;
3539
+ var c = Hi(f.val);
3540
+ if (c.length === 0)
3555
3541
  return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3556
- var d = _(h, this.clonePosition());
3557
- u = { style: f, styleLocation: d };
3542
+ var m = _(h, this.clonePosition());
3543
+ u = { style: c, styleLocation: m };
3558
3544
  }
3559
- var m = this.tryParseArgumentClose(i);
3560
- if (m.err)
3561
- return m;
3545
+ var d = this.tryParseArgumentClose(i);
3546
+ if (d.err)
3547
+ return d;
3562
3548
  var p = _(i, this.clonePosition());
3563
- if (u && Ot(u == null ? void 0 : u.style, "::", 0)) {
3564
- var g = Ai(u.style.slice(2));
3549
+ if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
3550
+ var g = Ti(u.style.slice(2));
3565
3551
  if (a === "number") {
3566
- var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
3567
- return c.err ? c : {
3568
- val: { type: S.number, value: n, location: p, style: c.val },
3552
+ var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
3553
+ return f.err ? f : {
3554
+ val: { type: S.number, value: r, location: p, style: f.val },
3569
3555
  err: null
3570
3556
  };
3571
3557
  } else {
3572
3558
  if (g.length === 0)
3573
3559
  return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
3574
- var A = g;
3575
- this.locale && (A = di(g, this.locale));
3576
- var f = {
3560
+ var H = g;
3561
+ this.locale && (H = ci(g, this.locale));
3562
+ var c = {
3577
3563
  type: J.dateTime,
3578
- pattern: A,
3564
+ pattern: H,
3579
3565
  location: u.styleLocation,
3580
- parsedOptions: this.shouldParseSkeletons ? ai(A) : {}
3581
- }, T = a === "date" ? S.date : S.time;
3566
+ parsedOptions: this.shouldParseSkeletons ? oi(H) : {}
3567
+ }, A = a === "date" ? S.date : S.time;
3582
3568
  return {
3583
- val: { type: T, value: n, location: p, style: f },
3569
+ val: { type: A, value: r, location: p, style: c },
3584
3570
  err: null
3585
3571
  };
3586
3572
  }
@@ -3588,7 +3574,7 @@ var Ci = (
3588
3574
  return {
3589
3575
  val: {
3590
3576
  type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3591
- value: n,
3577
+ value: r,
3592
3578
  location: p,
3593
3579
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3594
3580
  },
@@ -3607,34 +3593,34 @@ var Ci = (
3607
3593
  if (!this.bumpIf(":"))
3608
3594
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3609
3595
  this.bumpSpace();
3610
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3611
- if (c.err)
3612
- return c;
3613
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), b = c.val;
3596
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3597
+ if (f.err)
3598
+ return f;
3599
+ this.bumpSpace(), w = this.parseIdentifierIfPossible(), b = f.val;
3614
3600
  }
3615
- var B = this.tryParsePluralOrSelectOptions(t, a, r, w);
3601
+ var B = this.tryParsePluralOrSelectOptions(t, a, n, w);
3616
3602
  if (B.err)
3617
3603
  return B;
3618
- var m = this.tryParseArgumentClose(i);
3619
- if (m.err)
3620
- return m;
3621
- var ce = _(i, this.clonePosition());
3604
+ var d = this.tryParseArgumentClose(i);
3605
+ if (d.err)
3606
+ return d;
3607
+ var fe = _(i, this.clonePosition());
3622
3608
  return a === "select" ? {
3623
3609
  val: {
3624
3610
  type: S.select,
3625
- value: n,
3626
- options: It(B.val),
3627
- location: ce
3611
+ value: r,
3612
+ options: Pt(B.val),
3613
+ location: fe
3628
3614
  },
3629
3615
  err: null
3630
3616
  } : {
3631
3617
  val: {
3632
3618
  type: S.plural,
3633
- value: n,
3634
- options: It(B.val),
3619
+ value: r,
3620
+ options: Pt(B.val),
3635
3621
  offset: b,
3636
3622
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3637
- location: ce
3623
+ location: fe
3638
3624
  },
3639
3625
  err: null
3640
3626
  };
@@ -3645,9 +3631,9 @@ var Ci = (
3645
3631
  }, e.prototype.tryParseArgumentClose = function(t) {
3646
3632
  return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3647
3633
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3648
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3649
- var n = this.char();
3650
- switch (n) {
3634
+ for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3635
+ var r = this.char();
3636
+ switch (r) {
3651
3637
  case 39: {
3652
3638
  this.bump();
3653
3639
  var i = this.clonePosition();
@@ -3665,7 +3651,7 @@ var Ci = (
3665
3651
  t -= 1;
3666
3652
  else
3667
3653
  return {
3668
- val: this.message.slice(r.offset, this.offset()),
3654
+ val: this.message.slice(n.offset, this.offset()),
3669
3655
  err: null
3670
3656
  };
3671
3657
  break;
@@ -3676,61 +3662,61 @@ var Ci = (
3676
3662
  }
3677
3663
  }
3678
3664
  return {
3679
- val: this.message.slice(r.offset, this.offset()),
3665
+ val: this.message.slice(n.offset, this.offset()),
3680
3666
  err: null
3681
3667
  };
3682
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3683
- var n = [];
3668
+ }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3669
+ var r = [];
3684
3670
  try {
3685
- n = li(t);
3671
+ r = ai(t);
3686
3672
  } catch (i) {
3687
- return this.error(y.INVALID_NUMBER_SKELETON, r);
3673
+ return this.error(y.INVALID_NUMBER_SKELETON, n);
3688
3674
  }
3689
3675
  return {
3690
3676
  val: {
3691
3677
  type: J.number,
3692
- tokens: n,
3693
- location: r,
3694
- parsedOptions: this.shouldParseSkeletons ? mi(n) : {}
3678
+ tokens: r,
3679
+ location: n,
3680
+ parsedOptions: this.shouldParseSkeletons ? fi(r) : {}
3695
3681
  },
3696
3682
  err: null
3697
3683
  };
3698
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3684
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3699
3685
  for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3700
3686
  if (u.length === 0) {
3701
- var c = this.clonePosition();
3702
- if (r !== "select" && this.bumpIf("=")) {
3703
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3704
- if (f.err)
3705
- return f;
3706
- h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3687
+ var f = this.clonePosition();
3688
+ if (n !== "select" && this.bumpIf("=")) {
3689
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3690
+ if (c.err)
3691
+ return c;
3692
+ h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3707
3693
  } else
3708
3694
  break;
3709
3695
  }
3710
3696
  if (l.has(u))
3711
- return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3697
+ return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3712
3698
  u === "other" && (s = !0), this.bumpSpace();
3713
- var d = this.clonePosition();
3699
+ var m = this.clonePosition();
3714
3700
  if (!this.bumpIf("{"))
3715
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3716
- var m = this.parseMessage(t + 1, r, n);
3717
- if (m.err)
3718
- return m;
3719
- var p = this.tryParseArgumentClose(d);
3701
+ return this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3702
+ var d = this.parseMessage(t + 1, n, r);
3703
+ if (d.err)
3704
+ return d;
3705
+ var p = this.tryParseArgumentClose(m);
3720
3706
  if (p.err)
3721
3707
  return p;
3722
3708
  a.push([
3723
3709
  u,
3724
3710
  {
3725
- value: m.val,
3726
- location: _(d, this.clonePosition())
3711
+ value: d.val,
3712
+ location: _(m, this.clonePosition())
3727
3713
  }
3728
3714
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3729
3715
  }
3730
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3731
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
3732
- var n = 1, i = this.clonePosition();
3733
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3716
+ return a.length === 0 ? this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3717
+ }, e.prototype.tryParseDecimalInteger = function(t, n) {
3718
+ var r = 1, i = this.clonePosition();
3719
+ this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3734
3720
  for (var o = !1, s = 0; !this.isEOF(); ) {
3735
3721
  var a = this.char();
3736
3722
  if (a >= 48 && a <= 57)
@@ -3739,7 +3725,7 @@ var Ci = (
3739
3725
  break;
3740
3726
  }
3741
3727
  var l = _(i, this.clonePosition());
3742
- return o ? (s *= n, Ti(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3728
+ return o ? (s *= r, wi(s) ? { val: s, err: null } : this.error(n, l)) : this.error(t, l);
3743
3729
  }, e.prototype.offset = function() {
3744
3730
  return this.position.offset;
3745
3731
  }, e.prototype.isEOF = function() {
@@ -3754,17 +3740,17 @@ var Ci = (
3754
3740
  var t = this.position.offset;
3755
3741
  if (t >= this.message.length)
3756
3742
  throw Error("out of bound");
3757
- var r = _r(this.message, t);
3758
- if (r === void 0)
3743
+ var n = yn(this.message, t);
3744
+ if (n === void 0)
3759
3745
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3760
- return r;
3761
- }, e.prototype.error = function(t, r) {
3746
+ return n;
3747
+ }, e.prototype.error = function(t, n) {
3762
3748
  return {
3763
3749
  val: null,
3764
3750
  err: {
3765
3751
  kind: t,
3766
3752
  message: this.message,
3767
- location: r
3753
+ location: n
3768
3754
  }
3769
3755
  };
3770
3756
  }, e.prototype.bump = function() {
@@ -3773,70 +3759,70 @@ var Ci = (
3773
3759
  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);
3774
3760
  }
3775
3761
  }, e.prototype.bumpIf = function(t) {
3776
- if (Ot(this.message, t, this.offset())) {
3777
- for (var r = 0; r < t.length; r++)
3762
+ if (Ct(this.message, t, this.offset())) {
3763
+ for (var n = 0; n < t.length; n++)
3778
3764
  this.bump();
3779
3765
  return !0;
3780
3766
  }
3781
3767
  return !1;
3782
3768
  }, e.prototype.bumpUntil = function(t) {
3783
- var r = this.offset(), n = this.message.indexOf(t, r);
3784
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3769
+ var n = this.offset(), r = this.message.indexOf(t, n);
3770
+ return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3785
3771
  }, e.prototype.bumpTo = function(t) {
3786
3772
  if (this.offset() > t)
3787
3773
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3788
3774
  for (t = Math.min(t, this.message.length); ; ) {
3789
- var r = this.offset();
3790
- if (r === t)
3775
+ var n = this.offset();
3776
+ if (n === t)
3791
3777
  break;
3792
- if (r > t)
3778
+ if (n > t)
3793
3779
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3794
3780
  if (this.bump(), this.isEOF())
3795
3781
  break;
3796
3782
  }
3797
3783
  }, e.prototype.bumpSpace = function() {
3798
- for (; !this.isEOF() && Er(this.char()); )
3784
+ for (; !this.isEOF() && _n(this.char()); )
3799
3785
  this.bump();
3800
3786
  }, e.prototype.peek = function() {
3801
3787
  if (this.isEOF())
3802
3788
  return null;
3803
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3804
- return n != null ? n : null;
3789
+ var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3790
+ return r != null ? r : null;
3805
3791
  }, e;
3806
3792
  }()
3807
3793
  );
3808
- function Ke(e) {
3794
+ function Ye(e) {
3809
3795
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3810
3796
  }
3811
- function Pi(e) {
3812
- return Ke(e) || e === 47;
3797
+ function Bi(e) {
3798
+ return Ye(e) || e === 47;
3813
3799
  }
3814
- function Oi(e) {
3800
+ function Ci(e) {
3815
3801
  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;
3816
3802
  }
3817
- function Er(e) {
3803
+ function _n(e) {
3818
3804
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3819
3805
  }
3820
- function Ii(e) {
3806
+ function Pi(e) {
3821
3807
  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;
3822
3808
  }
3823
- function et(e) {
3809
+ function Ke(e) {
3824
3810
  e.forEach(function(t) {
3825
- if (delete t.location, fr(t) || mr(t))
3826
- for (var r in t.options)
3827
- delete t.options[r].location, et(t.options[r].value);
3811
+ if (delete t.location, hn(t) || fn(t))
3812
+ for (var n in t.options)
3813
+ delete t.options[n].location, Ke(t.options[n].value);
3828
3814
  else
3829
- lr(t) && pr(t.style) || (hr(t) || cr(t)) && Qe(t.style) ? delete t.style.location : dr(t) && et(t.children);
3815
+ an(t) && dn(t.style) || (un(t) || ln(t)) && Ze(t.style) ? delete t.style.location : cn(t) && Ke(t.children);
3830
3816
  });
3831
3817
  }
3832
- function Mi(e, t) {
3818
+ function Oi(e, t) {
3833
3819
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3834
- var r = new Ci(e, t).parse();
3835
- if (r.err) {
3836
- var n = SyntaxError(y[r.err.kind]);
3837
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3820
+ var n = new Ai(e, t).parse();
3821
+ if (n.err) {
3822
+ var r = SyntaxError(y[n.err.kind]);
3823
+ throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3838
3824
  }
3839
- return t != null && t.captureLocation || et(r.val), r.val;
3825
+ return t != null && t.captureLocation || Ke(n.val), n.val;
3840
3826
  }
3841
3827
  var q;
3842
3828
  (function(e) {
@@ -3846,38 +3832,38 @@ var Be = (
3846
3832
  /** @class */
3847
3833
  function(e) {
3848
3834
  $(t, e);
3849
- function t(r, n, i) {
3850
- var o = e.call(this, r) || this;
3851
- return o.code = n, o.originalMessage = i, o;
3835
+ function t(n, r, i) {
3836
+ var o = e.call(this, n) || this;
3837
+ return o.code = r, o.originalMessage = i, o;
3852
3838
  }
3853
3839
  return t.prototype.toString = function() {
3854
3840
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3855
3841
  }, t;
3856
3842
  }(Error)
3857
- ), Nt = (
3843
+ ), It = (
3858
3844
  /** @class */
3859
3845
  function(e) {
3860
3846
  $(t, e);
3861
- function t(r, n, i, o) {
3862
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3847
+ function t(n, r, i, o) {
3848
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3863
3849
  }
3864
3850
  return t;
3865
3851
  }(Be)
3866
- ), Ni = (
3852
+ ), Ii = (
3867
3853
  /** @class */
3868
3854
  function(e) {
3869
3855
  $(t, e);
3870
- function t(r, n, i) {
3871
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3856
+ function t(n, r, i) {
3857
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), q.INVALID_VALUE, i) || this;
3872
3858
  }
3873
3859
  return t;
3874
3860
  }(Be)
3875
- ), Li = (
3861
+ ), Mi = (
3876
3862
  /** @class */
3877
3863
  function(e) {
3878
3864
  $(t, e);
3879
- function t(r, n) {
3880
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3865
+ function t(n, r) {
3866
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), q.MISSING_VALUE, r) || this;
3881
3867
  }
3882
3868
  return t;
3883
3869
  }(Be)
@@ -3885,17 +3871,17 @@ var Be = (
3885
3871
  (function(e) {
3886
3872
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3887
3873
  })(P || (P = {}));
3888
- function Ri(e) {
3889
- return e.length < 2 ? e : e.reduce(function(t, r) {
3890
- var n = t[t.length - 1];
3891
- return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3874
+ function Ni(e) {
3875
+ return e.length < 2 ? e : e.reduce(function(t, n) {
3876
+ var r = t[t.length - 1];
3877
+ return !r || r.type !== P.literal || n.type !== P.literal ? t.push(n) : r.value += n.value, t;
3892
3878
  }, []);
3893
3879
  }
3894
- function $i(e) {
3880
+ function Li(e) {
3895
3881
  return typeof e == "function";
3896
3882
  }
3897
- function ye(e, t, r, n, i, o, s) {
3898
- if (e.length === 1 && At(e[0]))
3883
+ function ye(e, t, n, r, i, o, s) {
3884
+ if (e.length === 1 && Tt(e[0]))
3899
3885
  return [
3900
3886
  {
3901
3887
  type: P.literal,
@@ -3904,155 +3890,155 @@ function ye(e, t, r, n, i, o, s) {
3904
3890
  ];
3905
3891
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3906
3892
  var h = u[l];
3907
- if (At(h)) {
3893
+ if (Tt(h)) {
3908
3894
  a.push({
3909
3895
  type: P.literal,
3910
3896
  value: h.value
3911
3897
  });
3912
3898
  continue;
3913
3899
  }
3914
- if (oi(h)) {
3900
+ if (ri(h)) {
3915
3901
  typeof o == "number" && a.push({
3916
3902
  type: P.literal,
3917
- value: r.getNumberFormat(t).format(o)
3903
+ value: n.getNumberFormat(t).format(o)
3918
3904
  });
3919
3905
  continue;
3920
3906
  }
3921
- var c = h.value;
3922
- if (!(i && c in i))
3923
- throw new Li(c, s);
3924
- var f = i[c];
3925
- if (ii(h)) {
3926
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3927
- type: typeof f == "string" ? P.literal : P.object,
3928
- value: f
3907
+ var f = h.value;
3908
+ if (!(i && f in i))
3909
+ throw new Mi(f, s);
3910
+ var c = i[f];
3911
+ if (ni(h)) {
3912
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3913
+ type: typeof c == "string" ? P.literal : P.object,
3914
+ value: c
3929
3915
  });
3930
3916
  continue;
3931
3917
  }
3932
- if (hr(h)) {
3933
- var d = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
3918
+ if (un(h)) {
3919
+ var m = typeof h.style == "string" ? r.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
3934
3920
  a.push({
3935
3921
  type: P.literal,
3936
- value: r.getDateTimeFormat(t, d).format(f)
3922
+ value: n.getDateTimeFormat(t, m).format(c)
3937
3923
  });
3938
3924
  continue;
3939
3925
  }
3940
- if (cr(h)) {
3941
- var d = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
3926
+ if (ln(h)) {
3927
+ var m = typeof h.style == "string" ? r.time[h.style] : Ze(h.style) ? h.style.parsedOptions : r.time.medium;
3942
3928
  a.push({
3943
3929
  type: P.literal,
3944
- value: r.getDateTimeFormat(t, d).format(f)
3930
+ value: n.getDateTimeFormat(t, m).format(c)
3945
3931
  });
3946
3932
  continue;
3947
3933
  }
3948
- if (lr(h)) {
3949
- var d = typeof h.style == "string" ? n.number[h.style] : pr(h.style) ? h.style.parsedOptions : void 0;
3950
- d && d.scale && (f = f * (d.scale || 1)), a.push({
3934
+ if (an(h)) {
3935
+ var m = typeof h.style == "string" ? r.number[h.style] : dn(h.style) ? h.style.parsedOptions : void 0;
3936
+ m && m.scale && (c = c * (m.scale || 1)), a.push({
3951
3937
  type: P.literal,
3952
- value: r.getNumberFormat(t, d).format(f)
3938
+ value: n.getNumberFormat(t, m).format(c)
3953
3939
  });
3954
3940
  continue;
3955
3941
  }
3956
- if (dr(h)) {
3957
- var m = h.children, p = h.value, g = i[p];
3958
- if (!$i(g))
3959
- throw new Ni(p, "function", s);
3960
- var A = ye(m, t, r, n, i, o), T = g(A.map(function(b) {
3942
+ if (cn(h)) {
3943
+ var d = h.children, p = h.value, g = i[p];
3944
+ if (!Li(g))
3945
+ throw new Ii(p, "function", s);
3946
+ var H = ye(d, t, n, r, i, o), A = g(H.map(function(b) {
3961
3947
  return b.value;
3962
3948
  }));
3963
- Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(b) {
3949
+ Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(b) {
3964
3950
  return {
3965
3951
  type: typeof b == "string" ? P.literal : P.object,
3966
3952
  value: b
3967
3953
  };
3968
3954
  }));
3969
3955
  }
3970
- if (fr(h)) {
3971
- var x = h.options[f] || h.options.other;
3956
+ if (hn(h)) {
3957
+ var x = h.options[c] || h.options.other;
3972
3958
  if (!x)
3973
- throw new Nt(h.value, f, Object.keys(h.options), s);
3974
- a.push.apply(a, ye(x.value, t, r, n, i));
3959
+ throw new It(h.value, c, Object.keys(h.options), s);
3960
+ a.push.apply(a, ye(x.value, t, n, r, i));
3975
3961
  continue;
3976
3962
  }
3977
- if (mr(h)) {
3978
- var x = h.options["=".concat(f)];
3963
+ if (fn(h)) {
3964
+ var x = h.options["=".concat(c)];
3979
3965
  if (!x) {
3980
3966
  if (!Intl.PluralRules)
3981
3967
  throw new Be(`Intl.PluralRules is not available in this environment.
3982
3968
  Try polyfilling it using "@formatjs/intl-pluralrules"
3983
3969
  `, q.MISSING_INTL_API, s);
3984
- var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3970
+ var w = n.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3985
3971
  x = h.options[w] || h.options.other;
3986
3972
  }
3987
3973
  if (!x)
3988
- throw new Nt(h.value, f, Object.keys(h.options), s);
3989
- a.push.apply(a, ye(x.value, t, r, n, i, f - (h.offset || 0)));
3974
+ throw new It(h.value, c, Object.keys(h.options), s);
3975
+ a.push.apply(a, ye(x.value, t, n, r, i, c - (h.offset || 0)));
3990
3976
  continue;
3991
3977
  }
3992
3978
  }
3993
- return Ri(a);
3979
+ return Ni(a);
3994
3980
  }
3995
- function Gi(e, t) {
3996
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3997
- return r[n] = E(E({}, e[n]), t[n] || {}), r;
3981
+ function Ri(e, t) {
3982
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3983
+ return n[r] = E(E({}, e[r]), t[r] || {}), n;
3998
3984
  }, {})) : e;
3999
3985
  }
4000
- function Ui(e, t) {
4001
- return t ? Object.keys(e).reduce(function(r, n) {
4002
- return r[n] = Gi(e[n], t[n]), r;
3986
+ function $i(e, t) {
3987
+ return t ? Object.keys(e).reduce(function(n, r) {
3988
+ return n[r] = Ri(e[r], t[r]), n;
4003
3989
  }, E({}, e)) : e;
4004
3990
  }
4005
- function Ue(e) {
3991
+ function Ge(e) {
4006
3992
  return {
4007
3993
  create: function() {
4008
3994
  return {
4009
3995
  get: function(t) {
4010
3996
  return e[t];
4011
3997
  },
4012
- set: function(t, r) {
4013
- e[t] = r;
3998
+ set: function(t, n) {
3999
+ e[t] = n;
4014
4000
  }
4015
4001
  };
4016
4002
  }
4017
4003
  };
4018
4004
  }
4019
- function Di(e) {
4005
+ function Gi(e) {
4020
4006
  return e === void 0 && (e = {
4021
4007
  number: {},
4022
4008
  dateTime: {},
4023
4009
  pluralRules: {}
4024
4010
  }), {
4025
- getNumberFormat: Re(function() {
4026
- for (var t, r = [], n = 0; n < arguments.length; n++)
4027
- r[n] = arguments[n];
4028
- return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
4011
+ getNumberFormat: Le(function() {
4012
+ for (var t, n = [], r = 0; r < arguments.length; r++)
4013
+ n[r] = arguments[r];
4014
+ return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], n, !1)))();
4029
4015
  }, {
4030
- cache: Ue(e.number),
4031
- strategy: $e.variadic
4016
+ cache: Ge(e.number),
4017
+ strategy: Re.variadic
4032
4018
  }),
4033
- getDateTimeFormat: Re(function() {
4034
- for (var t, r = [], n = 0; n < arguments.length; n++)
4035
- r[n] = arguments[n];
4036
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
4019
+ getDateTimeFormat: Le(function() {
4020
+ for (var t, n = [], r = 0; r < arguments.length; r++)
4021
+ n[r] = arguments[r];
4022
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], n, !1)))();
4037
4023
  }, {
4038
- cache: Ue(e.dateTime),
4039
- strategy: $e.variadic
4024
+ cache: Ge(e.dateTime),
4025
+ strategy: Re.variadic
4040
4026
  }),
4041
- getPluralRules: Re(function() {
4042
- for (var t, r = [], n = 0; n < arguments.length; n++)
4043
- r[n] = arguments[n];
4044
- return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
4027
+ getPluralRules: Le(function() {
4028
+ for (var t, n = [], r = 0; r < arguments.length; r++)
4029
+ n[r] = arguments[r];
4030
+ return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], n, !1)))();
4045
4031
  }, {
4046
- cache: Ue(e.pluralRules),
4047
- strategy: $e.variadic
4032
+ cache: Ge(e.pluralRules),
4033
+ strategy: Re.variadic
4048
4034
  })
4049
4035
  };
4050
4036
  }
4051
- var Fi = (
4037
+ var Ui = (
4052
4038
  /** @class */
4053
4039
  function() {
4054
- function e(t, r, n, i) {
4055
- r === void 0 && (r = e.defaultLocale);
4040
+ function e(t, n, r, i) {
4041
+ n === void 0 && (n = e.defaultLocale);
4056
4042
  var o = this;
4057
4043
  if (this.formatterCache = {
4058
4044
  number: {},
@@ -4062,8 +4048,8 @@ var Fi = (
4062
4048
  var u = o.formatToParts(l);
4063
4049
  if (u.length === 1)
4064
4050
  return u[0].value;
4065
- var h = u.reduce(function(c, f) {
4066
- return !c.length || f.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4051
+ var h = u.reduce(function(f, c) {
4052
+ return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4067
4053
  }, []);
4068
4054
  return h.length <= 1 ? h[0] || "" : h;
4069
4055
  }, this.formatToParts = function(l) {
@@ -4075,18 +4061,18 @@ var Fi = (
4075
4061
  };
4076
4062
  }, this.getAst = function() {
4077
4063
  return o.ast;
4078
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4064
+ }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
4079
4065
  if (this.message = t, !e.__parse)
4080
4066
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4081
4067
  var s = i || {};
4082
4068
  s.formatters;
4083
- var a = _n(s, ["formatters"]);
4069
+ var a = gr(s, ["formatters"]);
4084
4070
  this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
4085
4071
  } else
4086
4072
  this.ast = t;
4087
4073
  if (!Array.isArray(this.ast))
4088
4074
  throw new TypeError("A message must be provided as a String or AST.");
4089
- this.formats = Ui(e.formats, n), this.formatters = i && i.formatters || Di(this.formatterCache);
4075
+ this.formats = $i(e.formats, r), this.formatters = i && i.formatters || Gi(this.formatterCache);
4090
4076
  }
4091
4077
  return Object.defineProperty(e, "defaultLocale", {
4092
4078
  get: function() {
@@ -4096,10 +4082,10 @@ var Fi = (
4096
4082
  configurable: !0
4097
4083
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4098
4084
  if (typeof Intl.Locale != "undefined") {
4099
- var r = Intl.NumberFormat.supportedLocalesOf(t);
4100
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4085
+ var n = Intl.NumberFormat.supportedLocalesOf(t);
4086
+ return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4101
4087
  }
4102
- }, e.__parse = Mi, e.formats = {
4088
+ }, e.__parse = Oi, e.formats = {
4103
4089
  number: {
4104
4090
  integer: {
4105
4091
  maximumFractionDigits: 0
@@ -4160,113 +4146,113 @@ var Fi = (
4160
4146
  }, e;
4161
4147
  }()
4162
4148
  );
4163
- function ji(e, t) {
4149
+ function Di(e, t) {
4164
4150
  if (t == null)
4165
4151
  return;
4166
4152
  if (t in e)
4167
4153
  return e[t];
4168
- const r = t.split(".");
4169
- let n = e;
4170
- for (let i = 0; i < r.length; i++)
4171
- if (typeof n == "object") {
4154
+ const n = t.split(".");
4155
+ let r = e;
4156
+ for (let i = 0; i < n.length; i++)
4157
+ if (typeof r == "object") {
4172
4158
  if (i > 0) {
4173
- const o = r.slice(i, r.length).join(".");
4174
- if (o in n) {
4175
- n = n[o];
4159
+ const o = n.slice(i, n.length).join(".");
4160
+ if (o in r) {
4161
+ r = r[o];
4176
4162
  break;
4177
4163
  }
4178
4164
  }
4179
- n = n[r[i]];
4165
+ r = r[n[i]];
4180
4166
  } else
4181
- n = void 0;
4182
- return n;
4167
+ r = void 0;
4168
+ return r;
4183
4169
  }
4184
- const G = {}, ki = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), wr = (e, t) => {
4170
+ const G = {}, Fi = (e, t, n) => n && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = n), n), xn = (e, t) => {
4185
4171
  if (t == null)
4186
4172
  return;
4187
4173
  if (t in G && e in G[t])
4188
4174
  return G[t][e];
4189
- const r = Ce(t);
4190
- for (let n = 0; n < r.length; n++) {
4191
- const i = r[n], o = Xi(i, e);
4175
+ const n = Ce(t);
4176
+ for (let r = 0; r < n.length; r++) {
4177
+ const i = n[r], o = ki(i, e);
4192
4178
  if (o)
4193
- return ki(e, t, o);
4179
+ return Fi(e, t, o);
4194
4180
  }
4195
4181
  };
4196
- let ut;
4182
+ let st;
4197
4183
  const he = Ae({});
4198
- function Vi(e) {
4199
- return ut[e] || null;
4184
+ function ji(e) {
4185
+ return st[e] || null;
4200
4186
  }
4201
- function Sr(e) {
4202
- return e in ut;
4187
+ function En(e) {
4188
+ return e in st;
4203
4189
  }
4204
- function Xi(e, t) {
4205
- if (!Sr(e))
4190
+ function ki(e, t) {
4191
+ if (!En(e))
4206
4192
  return null;
4207
- const r = Vi(e);
4208
- return ji(r, t);
4193
+ const n = ji(e);
4194
+ return Di(n, t);
4209
4195
  }
4210
- function zi(e) {
4196
+ function Vi(e) {
4211
4197
  if (e == null)
4212
4198
  return;
4213
4199
  const t = Ce(e);
4214
- for (let r = 0; r < t.length; r++) {
4215
- const n = t[r];
4216
- if (Sr(n))
4217
- return n;
4200
+ for (let n = 0; n < t.length; n++) {
4201
+ const r = t[n];
4202
+ if (En(r))
4203
+ return r;
4218
4204
  }
4219
4205
  }
4220
- function Tr(e, ...t) {
4221
- delete G[e], he.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
4206
+ function wn(e, ...t) {
4207
+ delete G[e], he.update((n) => (n[e] = Zr.all([n[e] || {}, ...t]), n));
4222
4208
  }
4223
4209
  K(
4224
4210
  [he],
4225
4211
  ([e]) => Object.keys(e)
4226
4212
  );
4227
- he.subscribe((e) => ut = e);
4213
+ he.subscribe((e) => st = e);
4228
4214
  const ve = {};
4229
- function Wi(e, t) {
4215
+ function Xi(e, t) {
4230
4216
  ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4231
4217
  }
4232
- function Hr(e) {
4218
+ function Sn(e) {
4233
4219
  return ve[e];
4234
4220
  }
4235
- function Zi(e) {
4221
+ function zi(e) {
4236
4222
  return Ce(e).map((t) => {
4237
- const r = Hr(t);
4238
- return [t, r ? [...r] : []];
4223
+ const n = Sn(t);
4224
+ return [t, n ? [...n] : []];
4239
4225
  }).filter(([, t]) => t.length > 0);
4240
4226
  }
4241
- function tt(e) {
4227
+ function et(e) {
4242
4228
  return e == null ? !1 : Ce(e).some(
4243
4229
  (t) => {
4244
- var r;
4245
- return (r = Hr(t)) == null ? void 0 : r.size;
4230
+ var n;
4231
+ return (n = Sn(t)) == null ? void 0 : n.size;
4246
4232
  }
4247
4233
  );
4248
4234
  }
4249
- function Qi(e, t) {
4235
+ function Wi(e, t) {
4250
4236
  return Promise.all(
4251
- t.map((n) => (Wi(e, n), n().then((i) => i.default || i)))
4252
- ).then((n) => Tr(e, ...n));
4237
+ t.map((r) => (Xi(e, r), r().then((i) => i.default || i)))
4238
+ ).then((r) => wn(e, ...r));
4253
4239
  }
4254
- const ne = {};
4255
- function Ar(e) {
4256
- if (!tt(e))
4257
- return e in ne ? ne[e] : Promise.resolve();
4258
- const t = Zi(e);
4259
- return ne[e] = Promise.all(
4240
+ const re = {};
4241
+ function Tn(e) {
4242
+ if (!et(e))
4243
+ return e in re ? re[e] : Promise.resolve();
4244
+ const t = zi(e);
4245
+ return re[e] = Promise.all(
4260
4246
  t.map(
4261
- ([r, n]) => Qi(r, n)
4247
+ ([n, r]) => Wi(n, r)
4262
4248
  )
4263
4249
  ).then(() => {
4264
- if (tt(e))
4265
- return Ar(e);
4266
- delete ne[e];
4267
- }), ne[e];
4250
+ if (et(e))
4251
+ return Tn(e);
4252
+ delete re[e];
4253
+ }), re[e];
4268
4254
  }
4269
- const Ji = {
4255
+ const Zi = {
4270
4256
  number: {
4271
4257
  scientific: { notation: "scientific" },
4272
4258
  engineering: { notation: "engineering" },
@@ -4295,136 +4281,136 @@ const Ji = {
4295
4281
  timeZoneName: "short"
4296
4282
  }
4297
4283
  }
4298
- }, qi = {
4284
+ }, Qi = {
4299
4285
  fallbackLocale: null,
4300
4286
  loadingDelay: 200,
4301
- formats: Ji,
4287
+ formats: Zi,
4302
4288
  warnOnMissingMessages: !0,
4303
4289
  handleMissingMessage: void 0,
4304
4290
  ignoreTag: !0
4305
- }, Yi = qi;
4291
+ }, Ji = Qi;
4306
4292
  function Y() {
4307
- return Yi;
4308
- }
4309
- const De = Ae(!1);
4310
- var Ki = Object.defineProperty, eo = Object.defineProperties, to = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, ro = Object.prototype.hasOwnProperty, no = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, io = (e, t) => {
4311
- for (var r in t || (t = {}))
4312
- ro.call(t, r) && Rt(e, r, t[r]);
4313
- if (Lt)
4314
- for (var r of Lt(t))
4315
- no.call(t, r) && Rt(e, r, t[r]);
4293
+ return Ji;
4294
+ }
4295
+ const Ue = Ae(!1);
4296
+ var qi = Object.defineProperty, Yi = Object.defineProperties, Ki = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, Nt = (e, t, n) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, no = (e, t) => {
4297
+ for (var n in t)
4298
+ eo.call(t, n) && Nt(e, n, t[n]);
4299
+ if (Mt)
4300
+ for (var n of Mt(t))
4301
+ to.call(t, n) && Nt(e, n, t[n]);
4316
4302
  return e;
4317
- }, oo = (e, t) => eo(e, to(t));
4318
- let rt;
4303
+ }, ro = (e, t) => Yi(e, Ki(t));
4304
+ let tt;
4319
4305
  const we = Ae(null);
4320
- function $t(e) {
4321
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4306
+ function Lt(e) {
4307
+ return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4322
4308
  }
4323
4309
  function Ce(e, t = Y().fallbackLocale) {
4324
- const r = $t(e);
4325
- return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
4310
+ const n = Lt(e);
4311
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Lt(t)])] : n;
4326
4312
  }
4327
4313
  function F() {
4328
- return rt != null ? rt : void 0;
4314
+ return tt != null ? tt : void 0;
4329
4315
  }
4330
4316
  we.subscribe((e) => {
4331
- rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4317
+ tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4332
4318
  });
4333
- const so = (e) => {
4334
- if (e && zi(e) && tt(e)) {
4319
+ const io = (e) => {
4320
+ if (e && Vi(e) && et(e)) {
4335
4321
  const { loadingDelay: t } = Y();
4336
- let r;
4337
- return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
4338
- () => De.set(!0),
4322
+ let n;
4323
+ return typeof window != "undefined" && F() != null && t ? n = window.setTimeout(
4324
+ () => Ue.set(!0),
4339
4325
  t
4340
- ) : De.set(!0), Ar(e).then(() => {
4326
+ ) : Ue.set(!0), Tn(e).then(() => {
4341
4327
  we.set(e);
4342
4328
  }).finally(() => {
4343
- clearTimeout(r), De.set(!1);
4329
+ clearTimeout(n), Ue.set(!1);
4344
4330
  });
4345
4331
  }
4346
4332
  return we.set(e);
4347
- }, ee = oo(io({}, we), {
4348
- set: so
4333
+ }, ee = ro(no({}, we), {
4334
+ set: io
4349
4335
  }), Pe = (e) => {
4350
4336
  const t = /* @__PURE__ */ Object.create(null);
4351
- return (n) => {
4352
- const i = JSON.stringify(n);
4353
- return i in t ? t[i] : t[i] = e(n);
4337
+ return (r) => {
4338
+ const i = JSON.stringify(r);
4339
+ return i in t ? t[i] : t[i] = e(r);
4354
4340
  };
4355
4341
  };
4356
- var ao = Object.defineProperty, Se = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4357
- for (var r in t || (t = {}))
4358
- Br.call(t, r) && Gt(e, r, t[r]);
4342
+ var oo = Object.defineProperty, Se = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, An = Object.prototype.propertyIsEnumerable, Rt = (e, t, n) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, at = (e, t) => {
4343
+ for (var n in t || (t = {}))
4344
+ Hn.call(t, n) && Rt(e, n, t[n]);
4359
4345
  if (Se)
4360
- for (var r of Se(t))
4361
- Cr.call(t, r) && Gt(e, r, t[r]);
4346
+ for (var n of Se(t))
4347
+ An.call(t, n) && Rt(e, n, t[n]);
4362
4348
  return e;
4363
4349
  }, te = (e, t) => {
4364
- var r = {};
4365
- for (var n in e)
4366
- Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4350
+ var n = {};
4351
+ for (var r in e)
4352
+ Hn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4367
4353
  if (e != null && Se)
4368
- for (var n of Se(e))
4369
- t.indexOf(n) < 0 && Cr.call(e, n) && (r[n] = e[n]);
4370
- return r;
4354
+ for (var r of Se(e))
4355
+ t.indexOf(r) < 0 && An.call(e, r) && (n[r] = e[r]);
4356
+ return n;
4371
4357
  };
4372
4358
  const ae = (e, t) => {
4373
- const { formats: r } = Y();
4374
- if (e in r && t in r[e])
4375
- return r[e][t];
4359
+ const { formats: n } = Y();
4360
+ if (e in n && t in n[e])
4361
+ return n[e][t];
4376
4362
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4377
- }, uo = Pe(
4363
+ }, so = Pe(
4378
4364
  (e) => {
4379
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4380
- if (r == null)
4365
+ var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
4366
+ if (n == null)
4381
4367
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4382
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4368
+ return r && (i = ae("number", r)), new Intl.NumberFormat(n, i);
4383
4369
  }
4384
- ), lo = Pe(
4370
+ ), ao = Pe(
4385
4371
  (e) => {
4386
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4387
- if (r == null)
4372
+ var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
4373
+ if (n == null)
4388
4374
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4389
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4375
+ return r ? i = ae("date", r) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(n, i);
4390
4376
  }
4391
- ), ho = Pe(
4377
+ ), uo = Pe(
4392
4378
  (e) => {
4393
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4394
- if (r == null)
4379
+ var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
4380
+ if (n == null)
4395
4381
  throw new Error(
4396
4382
  '[svelte-i18n] A "locale" must be set to format time values'
4397
4383
  );
4398
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4384
+ return r ? i = ae("time", r) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(n, i);
4399
4385
  }
4400
- ), co = (e = {}) => {
4386
+ ), lo = (e = {}) => {
4401
4387
  var t = e, {
4402
- locale: r = F()
4403
- } = t, n = te(t, [
4388
+ locale: n = F()
4389
+ } = t, r = te(t, [
4404
4390
  "locale"
4405
4391
  ]);
4406
- return uo(lt({ locale: r }, n));
4407
- }, fo = (e = {}) => {
4392
+ return so(at({ locale: n }, r));
4393
+ }, ho = (e = {}) => {
4408
4394
  var t = e, {
4409
- locale: r = F()
4410
- } = t, n = te(t, [
4395
+ locale: n = F()
4396
+ } = t, r = te(t, [
4411
4397
  "locale"
4412
4398
  ]);
4413
- return lo(lt({ locale: r }, n));
4414
- }, mo = (e = {}) => {
4399
+ return ao(at({ locale: n }, r));
4400
+ }, fo = (e = {}) => {
4415
4401
  var t = e, {
4416
- locale: r = F()
4417
- } = t, n = te(t, [
4402
+ locale: n = F()
4403
+ } = t, r = te(t, [
4418
4404
  "locale"
4419
4405
  ]);
4420
- return ho(lt({ locale: r }, n));
4421
- }, po = Pe(
4406
+ return uo(at({ locale: n }, r));
4407
+ }, co = Pe(
4422
4408
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4423
- (e, t = F()) => new Fi(e, t, Y().formats, {
4409
+ (e, t = F()) => new Ui(e, t, Y().formats, {
4424
4410
  ignoreTag: Y().ignoreTag
4425
4411
  })
4426
- ), bo = (e, t = {}) => {
4427
- var r, n, i, o;
4412
+ ), mo = (e, t = {}) => {
4413
+ var n, r, i, o;
4428
4414
  let s = t;
4429
4415
  typeof e == "object" && (s = e, e = s.id);
4430
4416
  const {
@@ -4436,62 +4422,62 @@ const ae = (e, t) => {
4436
4422
  throw new Error(
4437
4423
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4438
4424
  );
4439
- let h = wr(e, l);
4425
+ let h = xn(e, l);
4440
4426
  if (!h)
4441
- h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4427
+ h = (o = (i = (r = (n = Y()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4442
4428
  else if (typeof h != "string")
4443
4429
  return console.warn(
4444
4430
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4445
4431
  ), h;
4446
4432
  if (!a)
4447
4433
  return h;
4448
- let c = h;
4434
+ let f = h;
4449
4435
  try {
4450
- c = po(h, l).format(a);
4451
- } catch (f) {
4452
- f instanceof Error && console.warn(
4436
+ f = co(h, l).format(a);
4437
+ } catch (c) {
4438
+ c instanceof Error && console.warn(
4453
4439
  `[svelte-i18n] Message "${e}" has syntax error:`,
4454
- f.message
4440
+ c.message
4455
4441
  );
4456
4442
  }
4457
- return c;
4458
- }, go = (e, t) => mo(t).format(e), yo = (e, t) => fo(t).format(e), vo = (e, t) => co(t).format(e), _o = (e, t = F()) => wr(e, t), xo = K([ee, he], () => bo);
4443
+ return f;
4444
+ }, po = (e, t) => fo(t).format(e), bo = (e, t) => ho(t).format(e), go = (e, t) => lo(t).format(e), yo = (e, t = F()) => xn(e, t), vo = K([ee, he], () => mo);
4445
+ K([ee], () => po);
4446
+ K([ee], () => bo);
4459
4447
  K([ee], () => go);
4460
- K([ee], () => yo);
4461
- K([ee], () => vo);
4462
- K([ee, he], () => _o);
4463
- window.emWidgets = { topic: Nn };
4464
- const Eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4465
- function wo(e, t) {
4448
+ K([ee, he], () => yo);
4449
+ window.emWidgets = { topic: Or };
4450
+ const _o = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4451
+ function xo(e, t) {
4466
4452
  if (e) {
4467
- const r = document.createElement("style");
4468
- r.innerHTML = t, e.appendChild(r);
4453
+ const n = document.createElement("style");
4454
+ n.innerHTML = t, e.appendChild(n);
4469
4455
  }
4470
4456
  }
4471
- function So(e, t) {
4472
- const r = new URL(t);
4473
- fetch(r.href).then((n) => n.text()).then((n) => {
4457
+ function Eo(e, t) {
4458
+ const n = new URL(t);
4459
+ fetch(n.href).then((r) => r.text()).then((r) => {
4474
4460
  const i = document.createElement("style");
4475
- i.innerHTML = n, e && e.appendChild(i);
4476
- }).catch((n) => {
4477
- console.error("There was an error while trying to load client styling from URL", n);
4461
+ i.innerHTML = r, e && e.appendChild(i);
4462
+ }).catch((r) => {
4463
+ console.error("There was an error while trying to load client styling from URL", r);
4478
4464
  });
4479
4465
  }
4480
- function To(e, t, r) {
4466
+ function wo(e, t, n) {
4481
4467
  if (window.emMessageBus) {
4482
- const n = document.createElement("style");
4468
+ const r = document.createElement("style");
4483
4469
  window.emMessageBus.subscribe(t, (i) => {
4484
- n.innerHTML = i, e && e.appendChild(n);
4470
+ r.innerHTML = i, e && e.appendChild(r);
4485
4471
  });
4486
4472
  }
4487
4473
  }
4488
- function Ut(e, t) {
4489
- Tr(e, t);
4474
+ function $t(e, t) {
4475
+ wn(e, t);
4490
4476
  }
4491
- function Ho(e) {
4477
+ function So(e) {
4492
4478
  ee.set(e);
4493
4479
  }
4494
- const Dt = {
4480
+ const Gt = {
4495
4481
  en: {
4496
4482
  cancel: "Cancel",
4497
4483
  confirm: "Confirm"
@@ -4537,41 +4523,41 @@ const Dt = {
4537
4523
  confirm: "Confirm"
4538
4524
  }
4539
4525
  };
4540
- function Ao(e) {
4541
- Zr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4526
+ function To(e) {
4527
+ zn(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4542
4528
  }
4543
- const Bo = (e) => ({}), Ft = (e) => ({});
4544
- function Co(e) {
4545
- let t, r;
4529
+ const Ho = (e) => ({}), Ut = (e) => ({});
4530
+ function Ao(e) {
4531
+ let t, n;
4546
4532
  return {
4547
4533
  c() {
4548
- t = bt("svg"), r = bt("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
4534
+ t = mt("svg"), n = mt("path"), T(n, "stroke-linecap", "round"), T(n, "stroke-linejoin", "round"), T(n, "stroke-width", "2"), T(n, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
4549
4535
  },
4550
- m(n, i) {
4551
- ue(n, t, i), C(t, r);
4536
+ m(r, i) {
4537
+ ue(r, t, i), C(t, n);
4552
4538
  },
4553
4539
  p: N,
4554
- d(n) {
4555
- n && D(t);
4540
+ d(r) {
4541
+ r && D(t);
4556
4542
  }
4557
4543
  };
4558
4544
  }
4559
- function jt(e) {
4560
- let t, r, n;
4545
+ function Dt(e) {
4546
+ let t, n, r;
4561
4547
  return {
4562
4548
  c() {
4563
- t = M("div"), r = M("h2"), n = le(
4549
+ t = M("div"), n = M("h2"), r = le(
4564
4550
  /*modaltitle*/
4565
4551
  e[1]
4566
- ), H(t, "class", "GeneralConfirmationTitle");
4552
+ ), T(t, "class", "GeneralConfirmationTitle");
4567
4553
  },
4568
4554
  m(i, o) {
4569
- ue(i, t, o), C(t, r), C(r, n);
4555
+ ue(i, t, o), C(t, n), C(n, r);
4570
4556
  },
4571
4557
  p(i, o) {
4572
4558
  o & /*modaltitle*/
4573
- 2 && ot(
4574
- n,
4559
+ 2 && it(
4560
+ r,
4575
4561
  /*modaltitle*/
4576
4562
  i[1]
4577
4563
  );
@@ -4581,17 +4567,17 @@ function jt(e) {
4581
4567
  }
4582
4568
  };
4583
4569
  }
4584
- function kt(e) {
4585
- let t, r = (
4570
+ function Ft(e) {
4571
+ let t, n = (
4586
4572
  /*$_*/
4587
4573
  e[4]("cancel") + ""
4588
- ), n, i, o;
4574
+ ), r, i, o;
4589
4575
  return {
4590
4576
  c() {
4591
- t = M("button"), n = le(r), H(t, "class", "GeneralCancelButton");
4577
+ t = M("button"), r = le(n), T(t, "class", "GeneralCancelButton");
4592
4578
  },
4593
4579
  m(s, a) {
4594
- ue(s, t, a), C(t, n), i || (o = Fe(
4580
+ ue(s, t, a), C(t, r), i || (o = De(
4595
4581
  t,
4596
4582
  "click",
4597
4583
  /*click_handler*/
@@ -4600,169 +4586,169 @@ function kt(e) {
4600
4586
  },
4601
4587
  p(s, a) {
4602
4588
  a & /*$_*/
4603
- 16 && r !== (r = /*$_*/
4604
- s[4]("cancel") + "") && ot(n, r);
4589
+ 16 && n !== (n = /*$_*/
4590
+ s[4]("cancel") + "") && it(r, n);
4605
4591
  },
4606
4592
  d(s) {
4607
4593
  s && D(t), i = !1, o();
4608
4594
  }
4609
4595
  };
4610
4596
  }
4611
- function Po(e) {
4612
- let t, r, n, i, o, s, a, l, u, h, c = (
4597
+ function Bo(e) {
4598
+ let t, n, r, i, o, s, a, l, u, h, f = (
4613
4599
  /*$_*/
4614
4600
  e[4]("confirm") + ""
4615
- ), f, d, m, p;
4601
+ ), c, m, d, p;
4616
4602
  const g = (
4617
4603
  /*#slots*/
4618
4604
  e[16].close
4619
- ), A = jr(
4605
+ ), H = Dn(
4620
4606
  g,
4621
4607
  e,
4622
4608
  /*$$scope*/
4623
4609
  e[15],
4624
- Ft
4625
- ), T = A || Co();
4610
+ Ut
4611
+ ), A = H || Ao();
4626
4612
  let x = (
4627
4613
  /*modaltitle*/
4628
- e[1] && jt(e)
4614
+ e[1] && Dt(e)
4629
4615
  ), w = (
4630
4616
  /*hascancelbutton*/
4631
- e[2] && kt(e)
4617
+ e[2] && Ft(e)
4632
4618
  );
4633
4619
  return {
4634
4620
  c() {
4635
- t = M("div"), r = M("div"), n = M("span"), T && T.c(), i = fe(), x && x.c(), o = fe(), s = M("div"), a = fe(), l = M("div"), w && w.c(), u = fe(), h = M("button"), f = le(c), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(h, "class", "GeneralConfirmButton"), H(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4636
- (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4637
- (e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4621
+ t = M("div"), n = M("div"), r = M("span"), A.c(), i = ce(), x && x.c(), o = ce(), s = M("div"), a = ce(), l = M("div"), w && w.c(), u = ce(), h = M("button"), c = le(f), T(r, "class", "ModalCloseBtn"), T(r, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4622
+ (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(n, "class", "GeneralConfirmationContainer " + /*isMobile*/
4623
+ (e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4638
4624
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4639
4625
  },
4640
4626
  m(b, B) {
4641
- ue(b, t, B), C(t, r), C(r, n), T && T.m(n, null), C(r, i), x && x.m(r, null), C(r, o), C(r, s), s.innerHTML = /*modaltext*/
4642
- e[0], C(r, a), C(r, l), w && w.m(l, null), C(l, u), C(l, h), C(h, f), e[19](t), d = !0, m || (p = [
4643
- Fe(
4644
- n,
4627
+ ue(b, t, B), C(t, n), C(n, r), A.m(r, null), C(n, i), x && x.m(n, null), C(n, o), C(n, s), s.innerHTML = /*modaltext*/
4628
+ e[0], C(n, a), C(n, l), w && w.m(l, null), C(l, u), C(l, h), C(h, c), e[19](t), m = !0, d || (p = [
4629
+ De(
4630
+ r,
4645
4631
  "click",
4646
4632
  /*close*/
4647
4633
  e[6]
4648
4634
  ),
4649
- Fe(
4635
+ De(
4650
4636
  h,
4651
4637
  "click",
4652
4638
  /*click_handler_1*/
4653
4639
  e[18]
4654
4640
  )
4655
- ], m = !0);
4641
+ ], d = !0);
4656
4642
  },
4657
4643
  p(b, [B]) {
4658
- A && A.p && (!d || B & /*$$scope*/
4659
- 32768) && Vr(
4660
- A,
4644
+ H && H.p && (!m || B & /*$$scope*/
4645
+ 32768) && jn(
4646
+ H,
4661
4647
  g,
4662
4648
  b,
4663
4649
  /*$$scope*/
4664
4650
  b[15],
4665
- d ? kr(
4651
+ m ? Fn(
4666
4652
  g,
4667
4653
  /*$$scope*/
4668
4654
  b[15],
4669
4655
  B,
4670
- Bo
4671
- ) : Xr(
4656
+ Ho
4657
+ ) : kn(
4672
4658
  /*$$scope*/
4673
4659
  b[15]
4674
4660
  ),
4675
- Ft
4661
+ Ut
4676
4662
  ), /*modaltitle*/
4677
- b[1] ? x ? x.p(b, B) : (x = jt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!d || B & /*modaltext*/
4663
+ b[1] ? x ? x.p(b, B) : (x = Dt(b), x.c(), x.m(n, o)) : x && (x.d(1), x = null), (!m || B & /*modaltext*/
4678
4664
  1) && (s.innerHTML = /*modaltext*/
4679
4665
  b[0]), /*hascancelbutton*/
4680
- b[2] ? w ? w.p(b, B) : (w = kt(b), w.c(), w.m(l, u)) : w && (w.d(1), w = null), (!d || B & /*$_*/
4681
- 16) && c !== (c = /*$_*/
4682
- b[4]("confirm") + "") && ot(f, c);
4666
+ b[2] ? w ? w.p(b, B) : (w = Ft(b), w.c(), w.m(l, u)) : w && (w.d(1), w = null), (!m || B & /*$_*/
4667
+ 16) && f !== (f = /*$_*/
4668
+ b[4]("confirm") + "") && it(c, f);
4683
4669
  },
4684
4670
  i(b) {
4685
- d || (qt(T, b), d = !0);
4671
+ m || (Qt(A, b), m = !0);
4686
4672
  },
4687
4673
  o(b) {
4688
- cn(T, b), d = !1;
4674
+ ur(A, b), m = !1;
4689
4675
  },
4690
4676
  d(b) {
4691
- b && D(t), T && T.d(b), x && x.d(), w && w.d(), e[19](null), m = !1, U(p);
4677
+ b && D(t), A.d(b), x && x.d(), w && w.d(), e[19](null), d = !1, U(p);
4692
4678
  }
4693
4679
  };
4694
4680
  }
4695
- function Oo(e, t, r) {
4696
- let n;
4697
- Fr(e, xo, (v) => r(4, n = v));
4698
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: m = "" } = t, { mbsource: p } = t, g, A = window.navigator.userAgent, T = Eo(A) !== "PC";
4681
+ function Co(e, t, n) {
4682
+ let r;
4683
+ Un(e, vo, (v) => n(4, r = v));
4684
+ let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: f = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, { mbsource: p } = t, g, H = window.navigator.userAgent, A = _o(H) !== "PC";
4699
4685
  const x = () => {
4700
4686
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4701
4687
  }, w = (v) => {
4702
4688
  v === "confirm" && u && window.postMessage(u, window.location.href), v === "cancel" && h && window.postMessage(h, window.location.href), x();
4703
4689
  }, b = () => {
4704
- fetch(m).then((j) => j.json()).then((j) => {
4705
- Object.keys(j).forEach((ht) => {
4706
- Ut(ht, j[ht]);
4690
+ fetch(d).then((j) => j.json()).then((j) => {
4691
+ Object.keys(j).forEach((ut) => {
4692
+ $t(ut, j[ut]);
4707
4693
  });
4708
4694
  }).catch((j) => {
4709
4695
  console.log(j);
4710
4696
  });
4711
4697
  };
4712
- Object.keys(Dt).forEach((v) => {
4713
- Ut(v, Dt[v]);
4698
+ Object.keys(Gt).forEach((v) => {
4699
+ $t(v, Gt[v]);
4714
4700
  });
4715
4701
  const B = () => {
4716
- Ho(c);
4702
+ So(f);
4717
4703
  };
4718
- on(() => () => {
4704
+ nr(() => () => {
4719
4705
  });
4720
- const ce = () => w("cancel"), Or = () => w("confirm");
4721
- function Ir(v) {
4722
- je[v ? "unshift" : "push"](() => {
4723
- g = v, r(3, g);
4706
+ const fe = () => w("cancel"), Cn = () => w("confirm");
4707
+ function Pn(v) {
4708
+ Fe[v ? "unshift" : "push"](() => {
4709
+ g = v, n(3, g);
4724
4710
  });
4725
4711
  }
4726
4712
  return e.$$set = (v) => {
4727
- "modaltext" in v && r(0, s = v.modaltext), "modaltitle" in v && r(1, a = v.modaltitle), "hascancelbutton" in v && r(2, l = v.hascancelbutton), "modalconfirmevent" in v && r(8, u = v.modalconfirmevent), "modalcancelevent" in v && r(9, h = v.modalcancelevent), "lang" in v && r(10, c = v.lang), "clientstyling" in v && r(11, f = v.clientstyling), "clientstylingurl" in v && r(12, d = v.clientstylingurl), "translationurl" in v && r(13, m = v.translationurl), "mbsource" in v && r(14, p = v.mbsource), "$$scope" in v && r(15, o = v.$$scope);
4713
+ "modaltext" in v && n(0, s = v.modaltext), "modaltitle" in v && n(1, a = v.modaltitle), "hascancelbutton" in v && n(2, l = v.hascancelbutton), "modalconfirmevent" in v && n(8, u = v.modalconfirmevent), "modalcancelevent" in v && n(9, h = v.modalcancelevent), "lang" in v && n(10, f = v.lang), "clientstyling" in v && n(11, c = v.clientstyling), "clientstylingurl" in v && n(12, m = v.clientstylingurl), "translationurl" in v && n(13, d = v.translationurl), "mbsource" in v && n(14, p = v.mbsource), "$$scope" in v && n(15, o = v.$$scope);
4728
4714
  }, e.$$.update = () => {
4729
4715
  e.$$.dirty & /*modaltext, lang*/
4730
- 1025 && s && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4731
- 2056 && f && g && wo(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4732
- 4104 && d && g && So(g, d), e.$$.dirty & /*mbsource, customStylingContainer*/
4733
- 16392 && p && g && To(g, `${p}.Style`), e.$$.dirty & /*translationurl*/
4734
- 8192 && m && b();
4716
+ 1025 && s && f && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4717
+ 2056 && c && g && xo(g, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4718
+ 4104 && m && g && Eo(g, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4719
+ 16392 && p && g && wo(g, `${p}.Style`), e.$$.dirty & /*translationurl*/
4720
+ 8192 && d && b();
4735
4721
  }, [
4736
4722
  s,
4737
4723
  a,
4738
4724
  l,
4739
4725
  g,
4740
- n,
4741
- T,
4726
+ r,
4727
+ A,
4742
4728
  x,
4743
4729
  w,
4744
4730
  u,
4745
4731
  h,
4746
- c,
4747
4732
  f,
4748
- d,
4733
+ c,
4749
4734
  m,
4735
+ d,
4750
4736
  p,
4751
4737
  o,
4752
4738
  i,
4753
- ce,
4754
- Or,
4755
- Ir
4739
+ fe,
4740
+ Cn,
4741
+ Pn
4756
4742
  ];
4757
4743
  }
4758
- class Pr extends yn {
4744
+ class Bn extends pr {
4759
4745
  constructor(t) {
4760
- super(), bn(
4746
+ super(), dr(
4761
4747
  this,
4762
4748
  t,
4763
- Oo,
4764
- Po,
4765
- Xt,
4749
+ Co,
4750
+ Bo,
4751
+ kt,
4766
4752
  {
4767
4753
  modaltext: 0,
4768
4754
  modaltitle: 1,
@@ -4775,7 +4761,7 @@ class Pr extends yn {
4775
4761
  translationurl: 13,
4776
4762
  mbsource: 14
4777
4763
  },
4778
- Ao
4764
+ To
4779
4765
  );
4780
4766
  }
4781
4767
  get modaltext() {
@@ -4839,57 +4825,57 @@ class Pr extends yn {
4839
4825
  this.$$set({ mbsource: t }), I();
4840
4826
  }
4841
4827
  }
4842
- gn(Pr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4843
- const jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4828
+ mr(Bn, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4829
+ const Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4844
4830
  __proto__: null,
4845
- default: Pr
4831
+ default: Bn
4846
4832
  }, Symbol.toStringTag, { value: "Module" }));
4847
4833
  export {
4848
4834
  ee as $,
4849
4835
  wo as A,
4850
- Fo as B,
4851
- Rn as C,
4852
- Tr as D,
4836
+ Uo as B,
4837
+ Mr as C,
4838
+ wn as D,
4853
4839
  N as E,
4854
- Fr as F,
4855
- Eo as G,
4856
- Do as H,
4857
- fe as I,
4840
+ Un as F,
4841
+ _o as G,
4842
+ Go as H,
4843
+ ce as I,
4858
4844
  le as J,
4859
- bt as K,
4860
- Ro as L,
4861
- Fe as M,
4862
- ot as N,
4863
- Mo as O,
4845
+ mt as K,
4846
+ No as L,
4847
+ De as M,
4848
+ it as N,
4849
+ Oo as O,
4864
4850
  U as P,
4865
- Lo as Q,
4866
- xo as R,
4867
- yn as S,
4868
- jo as T,
4869
- bn as a,
4870
- Zr as b,
4871
- gn as c,
4851
+ Mo as Q,
4852
+ vo as R,
4853
+ pr as S,
4854
+ Do as T,
4855
+ dr as a,
4856
+ zn as b,
4857
+ mr as c,
4872
4858
  ue as d,
4873
- No as e,
4859
+ Io as e,
4874
4860
  I as f,
4875
- cn as g,
4876
- Go as h,
4877
- Gr as i,
4861
+ ur as g,
4862
+ Ro as h,
4863
+ Rn as i,
4878
4864
  D as j,
4879
- So as k,
4880
- To as l,
4881
- jr as m,
4882
- M as n,
4883
- on as o,
4884
- H as p,
4885
- C as q,
4886
- Xr as r,
4887
- Xt as s,
4888
- qt as t,
4889
- Vr as u,
4890
- kr as v,
4891
- Ee as w,
4892
- Uo as x,
4893
- $o as y,
4894
- je as z
4865
+ Dn as k,
4866
+ M as l,
4867
+ T as m,
4868
+ C as n,
4869
+ nr as o,
4870
+ kn as p,
4871
+ Fn as q,
4872
+ Ee as r,
4873
+ kt as s,
4874
+ Qt as t,
4875
+ jn as u,
4876
+ $o as v,
4877
+ Lo as w,
4878
+ Fe as x,
4879
+ xo as y,
4880
+ Eo as z
4895
4881
  };