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