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

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 (27) hide show
  1. package/components/{PlayerAccountGeneralConfirmationModal-Dch5EDSU.js → PlayerAccountGeneralConfirmationModal-2ovv4Md_.js} +834 -813
  2. package/components/{PlayerAccountGeneralConfirmationModal-DnoeUTWG.js → PlayerAccountGeneralConfirmationModal-B5YXlgy2.js} +835 -814
  3. package/components/PlayerAccountGeneralConfirmationModal-PCbzMqfA.cjs +21 -0
  4. package/components/{PlayerAccountModal-BAdv2e_o.cjs → PlayerAccountModal-Bj4WVhh1.cjs} +1 -1
  5. package/components/{PlayerAccountModal--i7vegAu.js → PlayerAccountModal-DVL1hHz_.js} +21 -21
  6. package/components/{PlayerAccountModal-BVhAnI2b.js → PlayerAccountModal-h55amKkM.js} +17 -17
  7. package/components/{PlayerAccountProductRestriction-CSqUczSr.js → PlayerAccountProductRestriction-BEPc9MzF.js} +9150 -4084
  8. package/components/{PlayerAccountProductRestriction-Dbz-sIbu.js → PlayerAccountProductRestriction-DmOQxhUj.js} +9124 -4058
  9. package/components/PlayerAccountProductRestriction-mBykHBrS.cjs +7968 -0
  10. package/es2015/player-account-product-restriction.cjs +1 -1
  11. package/es2015/player-account-product-restriction.js +1 -1
  12. package/esnext/player-account-product-restriction.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-b2193545-BeKKnKhR.js +519 -0
  15. package/stencil/index-b2193545-HC0t7mHa.js +503 -0
  16. package/stencil/index-b2193545-YW9b062G.cjs +1 -0
  17. package/stencil/{ui-skeleton-BPqjm-YB.cjs → ui-skeleton-BL4789dS.cjs} +1 -1
  18. package/stencil/{ui-skeleton-CWuMYFGQ.js → ui-skeleton-Ca5rz3Hv.js} +2 -2
  19. package/stencil/{ui-skeleton-ae35c6f2-DlexSQlT.js → ui-skeleton-ae35c6f2-BDBUiN3S.js} +1 -1
  20. package/stencil/{ui-skeleton-ae35c6f2-CW3z59Qf.js → ui-skeleton-ae35c6f2-Cn0ZM_hs.js} +1 -1
  21. package/stencil/{ui-skeleton-ae35c6f2-CKJgMm_5.cjs → ui-skeleton-ae35c6f2-xLf3HyeB.cjs} +1 -1
  22. package/stencil/{ui-skeleton-NZtdK490.js → ui-skeleton-hI4GeaLk.js} +2 -2
  23. package/components/PlayerAccountGeneralConfirmationModal-Djrizs-P.cjs +0 -21
  24. package/components/PlayerAccountProductRestriction-t8eTC5Gc.cjs +0 -6061
  25. package/stencil/index-b2193545-BtPvM93e.js +0 -519
  26. package/stencil/index-b2193545-CgelUAhE.cjs +0 -1
  27. package/stencil/index-b2193545-D_KBbaD-.js +0 -503
@@ -1,17 +1,17 @@
1
- var Mr = Object.defineProperty, Nr = Object.defineProperties;
2
- var Lr = Object.getOwnPropertyDescriptors;
3
- var ct = Object.getOwnPropertySymbols;
4
- var Rr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable;
5
- var Oe = (e, t, r) => t in e ? Mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
1
+ var Nr = Object.defineProperty, Lr = Object.defineProperties;
2
+ var $r = Object.getOwnPropertyDescriptors;
3
+ var mt = Object.getOwnPropertySymbols;
4
+ var Rr = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable;
5
+ var Me = (e, t, r) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Rr.call(t, r) && Oe(e, r, t[r]);
8
- if (ct)
9
- for (var r of ct(t))
10
- $r.call(t, r) && Oe(e, r, t[r]);
7
+ Rr.call(t, r) && Me(e, r, t[r]);
8
+ if (mt)
9
+ for (var r of mt(t))
10
+ Gr.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
- }, mt = (e, t) => Nr(e, Lr(t));
13
- var O = (e, t, r) => (Oe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var dt = (e, t, r) => new Promise((n, i) => {
12
+ }, dt = (e, t) => Lr(e, $r(t));
13
+ var O = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var bt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -29,8 +29,8 @@ var dt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function N() {
31
31
  }
32
- const Gr = (e) => e;
33
- function Ur(e, t) {
32
+ const Ur = (e) => e;
33
+ function Dr(e, t) {
34
34
  for (const r in t)
35
35
  e[r] = t[r];
36
36
  return (
@@ -38,25 +38,25 @@ function Ur(e, t) {
38
38
  e
39
39
  );
40
40
  }
41
- function Vt(e) {
41
+ function zt(e) {
42
42
  return e();
43
43
  }
44
- function pt() {
44
+ function gt() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
47
  function U(e) {
48
- e.forEach(Vt);
48
+ e.forEach(zt);
49
49
  }
50
- function Te(e) {
50
+ function He(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function Xt(e, t) {
53
+ function Wt(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- function Dr(e) {
56
+ function Fr(e) {
57
57
  return Object.keys(e).length === 0;
58
58
  }
59
- function zt(e, ...t) {
59
+ function Zt(e, ...t) {
60
60
  if (e == null) {
61
61
  for (const n of t)
62
62
  n(void 0);
@@ -65,19 +65,19 @@ function zt(e, ...t) {
65
65
  const r = e.subscribe(...t);
66
66
  return r.unsubscribe ? () => r.unsubscribe() : r;
67
67
  }
68
- function Fr(e, t, r) {
69
- e.$$.on_destroy.push(zt(t, r));
68
+ function jr(e, t, r) {
69
+ e.$$.on_destroy.push(Zt(t, r));
70
70
  }
71
- function jr(e, t, r, n) {
71
+ function kr(e, t, r, n) {
72
72
  if (e) {
73
- const i = Wt(e, t, r, n);
73
+ const i = Qt(e, t, r, n);
74
74
  return e[0](i);
75
75
  }
76
76
  }
77
- function Wt(e, t, r, n) {
78
- return e[1] && n ? Ur(r.ctx.slice(), e[1](n(t))) : r.ctx;
77
+ function Qt(e, t, r, n) {
78
+ return e[1] && n ? Dr(r.ctx.slice(), e[1](n(t))) : r.ctx;
79
79
  }
80
- function kr(e, t, r, n) {
80
+ function Vr(e, t, r, n) {
81
81
  if (e[2] && n) {
82
82
  const i = e[2](n(r));
83
83
  if (t.dirty === void 0)
@@ -92,13 +92,13 @@ function kr(e, t, r, n) {
92
92
  }
93
93
  return t.dirty;
94
94
  }
95
- function Vr(e, t, r, n, i, o) {
95
+ function Xr(e, t, r, n, i, o) {
96
96
  if (i) {
97
- const s = Wt(t, r, n, o);
97
+ const s = Qt(t, r, n, o);
98
98
  e.p(s, i);
99
99
  }
100
100
  }
101
- function Xr(e) {
101
+ function zr(e) {
102
102
  if (e.ctx.length > 32) {
103
103
  const t = [], r = e.ctx.length / 32;
104
104
  for (let n = 0; n < r; n++)
@@ -107,17 +107,17 @@ function Xr(e) {
107
107
  }
108
108
  return -1;
109
109
  }
110
- const Zt = typeof window != "undefined";
111
- let zr = Zt ? () => window.performance.now() : () => Date.now(), nt = Zt ? (e) => requestAnimationFrame(e) : N;
110
+ const Jt = typeof window != "undefined";
111
+ let Wr = Jt ? () => window.performance.now() : () => Date.now(), at = Jt ? (e) => requestAnimationFrame(e) : N;
112
112
  const z = /* @__PURE__ */ new Set();
113
- function Qt(e) {
113
+ function qt(e) {
114
114
  z.forEach((t) => {
115
115
  t.c(e) || (z.delete(t), t.f());
116
- }), z.size !== 0 && nt(Qt);
116
+ }), z.size !== 0 && at(qt);
117
117
  }
118
- function Wr(e) {
118
+ function Zr(e) {
119
119
  let t;
120
- return z.size === 0 && nt(Qt), {
120
+ return z.size === 0 && at(qt), {
121
121
  promise: new Promise((r) => {
122
122
  z.add(t = { c: e, f: r });
123
123
  }),
@@ -129,14 +129,14 @@ function Wr(e) {
129
129
  function C(e, t) {
130
130
  e.appendChild(t);
131
131
  }
132
- function Zr(e, t, r) {
133
- const n = it(e);
132
+ function Qr(e, t, r) {
133
+ const n = ut(e);
134
134
  if (!n.getElementById(t)) {
135
135
  const i = M("style");
136
- i.id = t, i.textContent = r, Jt(n, i);
136
+ i.id = t, i.textContent = r, Yt(n, i);
137
137
  }
138
138
  }
139
- function it(e) {
139
+ function ut(e) {
140
140
  if (!e)
141
141
  return document;
142
142
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -146,66 +146,66 @@ function it(e) {
146
146
  t
147
147
  ) : e.ownerDocument;
148
148
  }
149
- function Qr(e) {
149
+ function Jr(e) {
150
150
  const t = M("style");
151
- return t.textContent = "/* empty */", Jt(it(e), t), t.sheet;
151
+ return t.textContent = "/* empty */", Yt(ut(e), t), t.sheet;
152
152
  }
153
- function Jt(e, t) {
153
+ function Yt(e, t) {
154
154
  return C(
155
155
  /** @type {Document} */
156
156
  e.head || e,
157
157
  t
158
158
  ), t.sheet;
159
159
  }
160
- function ue(e, t, r) {
160
+ function ae(e, t, r) {
161
161
  e.insertBefore(t, r || null);
162
162
  }
163
163
  function D(e) {
164
164
  e.parentNode && e.parentNode.removeChild(e);
165
165
  }
166
- function Mo(e, t) {
166
+ function Lo(e, t) {
167
167
  for (let r = 0; r < e.length; r += 1)
168
168
  e[r] && e[r].d(t);
169
169
  }
170
170
  function M(e) {
171
171
  return document.createElement(e);
172
172
  }
173
- function bt(e) {
173
+ function yt(e) {
174
174
  return document.createElementNS("http://www.w3.org/2000/svg", e);
175
175
  }
176
- function le(e) {
176
+ function ue(e) {
177
177
  return document.createTextNode(e);
178
178
  }
179
179
  function fe() {
180
- return le(" ");
180
+ return ue(" ");
181
181
  }
182
- function No() {
183
- return le("");
182
+ function $o() {
183
+ return ue("");
184
184
  }
185
- function Fe(e, t, r, n) {
185
+ function ke(e, t, r, n) {
186
186
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
187
187
  }
188
188
  function H(e, t, r) {
189
189
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
190
190
  }
191
- function Lo(e, t, r) {
191
+ function Ro(e, t, r) {
192
192
  const n = t.toLowerCase();
193
193
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
194
194
  }
195
- function Jr(e) {
195
+ function qr(e) {
196
196
  return Array.from(e.childNodes);
197
197
  }
198
- function ot(e, t) {
198
+ function lt(e, t) {
199
199
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
200
200
  t);
201
201
  }
202
- function Ro(e, t, r) {
202
+ function Go(e, t, r) {
203
203
  e.classList.toggle(t, !!r);
204
204
  }
205
- function qr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
205
+ function Yr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
206
206
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
207
207
  }
208
- function Yr(e) {
208
+ function Kr(e) {
209
209
  const t = {};
210
210
  return e.childNodes.forEach(
211
211
  /** @param {Element} node */
@@ -216,17 +216,17 @@ function Yr(e) {
216
216
  }
217
217
  const _e = /* @__PURE__ */ new Map();
218
218
  let xe = 0;
219
- function Kr(e) {
219
+ function en(e) {
220
220
  let t = 5381, r = e.length;
221
221
  for (; r--; )
222
222
  t = (t << 5) - t ^ e.charCodeAt(r);
223
223
  return t >>> 0;
224
224
  }
225
- function en(e, t) {
226
- const r = { stylesheet: Qr(t), rules: {} };
225
+ function tn(e, t) {
226
+ const r = { stylesheet: Jr(t), rules: {} };
227
227
  return _e.set(e, r), r;
228
228
  }
229
- function gt(e, t, r, n, i, o, s, a = 0) {
229
+ function vt(e, t, r, n, i, o, s, a = 0) {
230
230
  const l = 16.666 / n;
231
231
  let u = `{
232
232
  `;
@@ -236,156 +236,156 @@ function gt(e, t, r, n, i, o, s, a = 0) {
236
236
  `;
237
237
  }
238
238
  const h = u + `100% {${s(r, 1 - r)}}
239
- }`, c = `__svelte_${Kr(h)}_${a}`, f = it(e), { stylesheet: d, rules: m } = _e.get(f) || en(f, e);
240
- m[c] || (m[c] = !0, d.insertRule(`@keyframes ${c} ${h}`, d.cssRules.length));
241
- const p = e.style.animation || "";
242
- return e.style.animation = `${p ? `${p}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
239
+ }`, c = `__svelte_${en(h)}_${a}`, f = ut(e), { stylesheet: p, rules: m } = _e.get(f) || tn(f, e);
240
+ m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
241
+ const d = e.style.animation || "";
242
+ return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
243
243
  }
244
- function tn(e, t) {
244
+ function rn(e, t) {
245
245
  const r = (e.style.animation || "").split(", "), n = r.filter(
246
246
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
247
247
  // remove all Svelte animations
248
248
  ), i = r.length - n.length;
249
- i && (e.style.animation = n.join(", "), xe -= i, xe || rn());
249
+ i && (e.style.animation = n.join(", "), xe -= i, xe || nn());
250
250
  }
251
- function rn() {
252
- nt(() => {
251
+ function nn() {
252
+ at(() => {
253
253
  xe || (_e.forEach((e) => {
254
254
  const { ownerNode: t } = e.stylesheet;
255
255
  t && D(t);
256
256
  }), _e.clear());
257
257
  });
258
258
  }
259
- let oe;
260
- function ie(e) {
261
- oe = e;
259
+ let ie;
260
+ function ne(e) {
261
+ ie = e;
262
262
  }
263
- function nn() {
264
- if (!oe)
263
+ function on() {
264
+ if (!ie)
265
265
  throw new Error("Function called outside component initialization");
266
- return oe;
266
+ return ie;
267
267
  }
268
- function on(e) {
269
- nn().$$.on_mount.push(e);
268
+ function sn(e) {
269
+ on().$$.on_mount.push(e);
270
270
  }
271
- const X = [], je = [];
271
+ const X = [], Ve = [];
272
272
  let W = [];
273
- const yt = [], sn = /* @__PURE__ */ Promise.resolve();
274
- let ke = !1;
275
- function an() {
276
- ke || (ke = !0, sn.then(I));
273
+ const _t = [], an = /* @__PURE__ */ Promise.resolve();
274
+ let Xe = !1;
275
+ function un() {
276
+ Xe || (Xe = !0, an.then(I));
277
277
  }
278
278
  function Ee(e) {
279
279
  W.push(e);
280
280
  }
281
- const Ie = /* @__PURE__ */ new Set();
281
+ const Ne = /* @__PURE__ */ new Set();
282
282
  let k = 0;
283
283
  function I() {
284
284
  if (k !== 0)
285
285
  return;
286
- const e = oe;
286
+ const e = ie;
287
287
  do {
288
288
  try {
289
289
  for (; k < X.length; ) {
290
290
  const t = X[k];
291
- k++, ie(t), un(t.$$);
291
+ k++, ne(t), ln(t.$$);
292
292
  }
293
293
  } catch (t) {
294
294
  throw X.length = 0, k = 0, t;
295
295
  }
296
- for (ie(null), X.length = 0, k = 0; je.length; )
297
- je.pop()();
296
+ for (ne(null), X.length = 0, k = 0; Ve.length; )
297
+ Ve.pop()();
298
298
  for (let t = 0; t < W.length; t += 1) {
299
299
  const r = W[t];
300
- Ie.has(r) || (Ie.add(r), r());
300
+ Ne.has(r) || (Ne.add(r), r());
301
301
  }
302
302
  W.length = 0;
303
303
  } while (X.length);
304
- for (; yt.length; )
305
- yt.pop()();
306
- ke = !1, Ie.clear(), ie(e);
304
+ for (; _t.length; )
305
+ _t.pop()();
306
+ Xe = !1, Ne.clear(), ne(e);
307
307
  }
308
- function un(e) {
308
+ function ln(e) {
309
309
  if (e.fragment !== null) {
310
310
  e.update(), U(e.before_update);
311
311
  const t = e.dirty;
312
312
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
313
313
  }
314
314
  }
315
- function ln(e) {
315
+ function hn(e) {
316
316
  const t = [], r = [];
317
317
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
318
318
  }
319
- let re;
320
- function hn() {
321
- return re || (re = Promise.resolve(), re.then(() => {
322
- re = null;
323
- })), re;
319
+ let te;
320
+ function cn() {
321
+ return te || (te = Promise.resolve(), te.then(() => {
322
+ te = null;
323
+ })), te;
324
324
  }
325
- function Me(e, t, r) {
326
- e.dispatchEvent(qr(`${t ? "intro" : "outro"}${r}`));
325
+ function Le(e, t, r) {
326
+ e.dispatchEvent(Yr(`${t ? "intro" : "outro"}${r}`));
327
327
  }
328
- const pe = /* @__PURE__ */ new Set();
329
- let L;
330
- function $o() {
331
- L = {
328
+ const de = /* @__PURE__ */ new Set();
329
+ let $;
330
+ function Uo() {
331
+ $ = {
332
332
  r: 0,
333
333
  c: [],
334
- p: L
334
+ p: $
335
335
  // parent group
336
336
  };
337
337
  }
338
- function Go() {
339
- L.r || U(L.c), L = L.p;
338
+ function Do() {
339
+ $.r || U($.c), $ = $.p;
340
340
  }
341
- function qt(e, t) {
342
- e && e.i && (pe.delete(e), e.i(t));
341
+ function Kt(e, t) {
342
+ e && e.i && (de.delete(e), e.i(t));
343
343
  }
344
- function cn(e, t, r, n) {
344
+ function fn(e, t, r, n) {
345
345
  if (e && e.o) {
346
- if (pe.has(e))
346
+ if (de.has(e))
347
347
  return;
348
- pe.add(e), L.c.push(() => {
349
- pe.delete(e), n && (r && e.d(1), n());
348
+ de.add(e), $.c.push(() => {
349
+ de.delete(e), n && (r && e.d(1), n());
350
350
  }), e.o(t);
351
351
  } else
352
352
  n && n();
353
353
  }
354
- const fn = { duration: 0 };
355
- function Uo(e, t, r, n) {
354
+ const mn = { duration: 0 };
355
+ function Fo(e, t, r, n) {
356
356
  let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, l = null, u = null, h;
357
357
  function c() {
358
- u && tn(e, u);
358
+ u && rn(e, u);
359
359
  }
360
- function f(m, p) {
360
+ function f(m, d) {
361
361
  const g = (
362
362
  /** @type {Program['d']} */
363
363
  m.b - s
364
364
  );
365
- return p *= Math.abs(g), {
365
+ return d *= Math.abs(g), {
366
366
  a: s,
367
367
  b: m.b,
368
368
  d: g,
369
- duration: p,
369
+ duration: d,
370
370
  start: m.start,
371
- end: m.start + p,
371
+ end: m.start + d,
372
372
  group: m.group
373
373
  };
374
374
  }
375
- function d(m) {
375
+ function p(m) {
376
376
  const {
377
- delay: p = 0,
377
+ delay: d = 0,
378
378
  duration: g = 300,
379
- easing: A = Gr,
379
+ easing: A = Ur,
380
380
  tick: T = N,
381
381
  css: x
382
- } = o || fn, w = {
383
- start: zr() + p,
382
+ } = o || mn, E = {
383
+ start: Wr() + d,
384
384
  b: m
385
385
  };
386
- m || (w.group = L, L.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
387
- e.inert, e.inert = !0)), a || l ? l = w : (x && (c(), u = gt(e, s, m, g, p, A, x)), m && T(0, 1), a = f(w, g), Ee(() => Me(e, m, "start")), Wr((b) => {
388
- if (l && b > l.start && (a = f(l, g), l = null, Me(e, a.b, "start"), x && (c(), u = gt(
386
+ m || (E.group = $, $.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
387
+ e.inert, e.inert = !0)), a || l ? l = E : (x && (c(), u = vt(e, s, m, g, d, A, x)), m && T(0, 1), a = f(E, g), Ee(() => Le(e, m, "start")), Zr((b) => {
388
+ if (l && b > l.start && (a = f(l, g), l = null, Le(e, a.b, "start"), x && (c(), u = vt(
389
389
  e,
390
390
  s,
391
391
  a.b,
@@ -395,7 +395,7 @@ function Uo(e, t, r, n) {
395
395
  o.css
396
396
  ))), a) {
397
397
  if (b >= a.end)
398
- T(s = a.b, 1 - s), Me(e, a.b, "end"), l || (a.b ? c() : --a.group.r || U(a.group.c)), a = null;
398
+ T(s = a.b, 1 - s), Le(e, a.b, "end"), l || (a.b ? c() : --a.group.r || U(a.group.c)), a = null;
399
399
  else if (b >= a.start) {
400
400
  const B = b - a.start;
401
401
  s = a.a + a.d * A(B / a.duration), T(s, 1 - s);
@@ -406,35 +406,35 @@ function Uo(e, t, r, n) {
406
406
  }
407
407
  return {
408
408
  run(m) {
409
- Te(o) ? hn().then(() => {
410
- o = o({ direction: m ? "in" : "out" }), d(m);
411
- }) : d(m);
409
+ He(o) ? cn().then(() => {
410
+ o = o({ direction: m ? "in" : "out" }), p(m);
411
+ }) : p(m);
412
412
  },
413
413
  end() {
414
414
  c(), a = l = null;
415
415
  }
416
416
  };
417
417
  }
418
- function Do(e) {
418
+ function jo(e) {
419
419
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
420
420
  }
421
- function mn(e, t, r) {
421
+ function pn(e, t, r) {
422
422
  const { fragment: n, after_update: i } = e.$$;
423
423
  n && n.m(t, r), Ee(() => {
424
- const o = e.$$.on_mount.map(Vt).filter(Te);
424
+ const o = e.$$.on_mount.map(zt).filter(He);
425
425
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
426
426
  }), i.forEach(Ee);
427
427
  }
428
428
  function dn(e, t) {
429
429
  const r = e.$$;
430
- r.fragment !== null && (ln(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
430
+ r.fragment !== null && (hn(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
431
431
  }
432
- function pn(e, t) {
433
- e.$$.dirty[0] === -1 && (X.push(e), an(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
432
+ function bn(e, t) {
433
+ e.$$.dirty[0] === -1 && (X.push(e), un(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
434
434
  }
435
- function bn(e, t, r, n, i, o, s = null, a = [-1]) {
436
- const l = oe;
437
- ie(e);
435
+ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
436
+ const l = ie;
437
+ ne(e);
438
438
  const u = e.$$ = {
439
439
  fragment: null,
440
440
  ctx: [],
@@ -442,7 +442,7 @@ function bn(e, t, r, n, i, o, s = null, a = [-1]) {
442
442
  props: o,
443
443
  update: N,
444
444
  not_equal: i,
445
- bound: pt(),
445
+ bound: gt(),
446
446
  // lifecycle
447
447
  on_mount: [],
448
448
  on_destroy: [],
@@ -451,28 +451,28 @@ function bn(e, t, r, n, i, o, s = null, a = [-1]) {
451
451
  after_update: [],
452
452
  context: new Map(t.context || (l ? l.$$.context : [])),
453
453
  // everything else
454
- callbacks: pt(),
454
+ callbacks: gt(),
455
455
  dirty: a,
456
456
  skip_bound: !1,
457
457
  root: t.target || l.$$.root
458
458
  };
459
459
  s && s(u.root);
460
460
  let h = !1;
461
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
462
- const m = d.length ? d[0] : f;
463
- return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && pn(e, c)), f;
461
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
462
+ const m = p.length ? p[0] : f;
463
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && bn(e, c)), f;
464
464
  }) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
465
465
  if (t.hydrate) {
466
- const c = Jr(t.target);
466
+ const c = qr(t.target);
467
467
  u.fragment && u.fragment.l(c), c.forEach(D);
468
468
  } else
469
469
  u.fragment && u.fragment.c();
470
- t.intro && qt(e.$$.fragment), mn(e, t.target, t.anchor), I();
470
+ t.intro && Kt(e.$$.fragment), pn(e, t.target, t.anchor), I();
471
471
  }
472
- ie(l);
472
+ ne(l);
473
473
  }
474
- let Yt;
475
- typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
474
+ let er;
475
+ typeof HTMLElement == "function" && (er = class extends HTMLElement {
476
476
  constructor(t, r, n) {
477
477
  super();
478
478
  /** The Svelte component constructor */
@@ -509,7 +509,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
509
509
  }
510
510
  }
511
511
  connectedCallback() {
512
- return dt(this, null, function* () {
512
+ return bt(this, null, function* () {
513
513
  if (this.$$cn = !0, !this.$$c) {
514
514
  let t = function(o) {
515
515
  return () => {
@@ -523,7 +523,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
523
523
  * @param {HTMLElement} [anchor]
524
524
  */
525
525
  m: function(u, h) {
526
- ue(u, s, h);
526
+ ae(u, s, h);
527
527
  },
528
528
  d: function(u) {
529
529
  u && D(s);
@@ -533,7 +533,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
533
533
  };
534
534
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
535
535
  return;
536
- const r = {}, n = Yr(this);
536
+ const r = {}, n = Kr(this);
537
537
  for (const o of this.$$s)
538
538
  o in n && (r[o] = [t(o)]);
539
539
  for (const o of this.attributes) {
@@ -544,7 +544,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
544
544
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
545
545
  this.$$c = new this.$$ctor({
546
546
  target: this.shadowRoot || this,
547
- props: mt(ft({}, this.$$d), {
547
+ props: dt(pt({}, this.$$d), {
548
548
  $$slots: r,
549
549
  $$scope: {
550
550
  ctx: []
@@ -622,8 +622,8 @@ function be(e, t, r, n) {
622
622
  return t;
623
623
  }
624
624
  }
625
- function gn(e, t, r, n, i, o) {
626
- let s = class extends Yt {
625
+ function yn(e, t, r, n, i, o) {
626
+ let s = class extends er {
627
627
  constructor() {
628
628
  super(e, r, i), this.$$p_d = t;
629
629
  }
@@ -653,7 +653,7 @@ function gn(e, t, r, n, i, o) {
653
653
  }), e.element = /** @type {any} */
654
654
  s, s;
655
655
  }
656
- class yn {
656
+ class vn {
657
657
  constructor() {
658
658
  /**
659
659
  * ### PRIVATE API
@@ -683,7 +683,7 @@ class yn {
683
683
  * @returns {() => void}
684
684
  */
685
685
  $on(t, r) {
686
- if (!Te(r))
686
+ if (!He(r))
687
687
  return N;
688
688
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
689
689
  return n.push(r), () => {
@@ -696,11 +696,11 @@ class yn {
696
696
  * @returns {void}
697
697
  */
698
698
  $set(t) {
699
- this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
699
+ this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
700
700
  }
701
701
  }
702
- const vn = "4";
703
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vn);
702
+ const _n = "4";
703
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_n);
704
704
  /*! *****************************************************************************
705
705
  Copyright (c) Microsoft Corporation.
706
706
 
@@ -715,43 +715,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
715
715
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
716
716
  PERFORMANCE OF THIS SOFTWARE.
717
717
  ***************************************************************************** */
718
- var Ve = function(e, t) {
719
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
718
+ var ze = function(e, t) {
719
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
720
720
  r.__proto__ = n;
721
721
  } || function(r, n) {
722
722
  for (var i in n)
723
723
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
724
- }, Ve(e, t);
724
+ }, ze(e, t);
725
725
  };
726
- function $(e, t) {
726
+ function le(e, t) {
727
727
  if (typeof t != "function" && t !== null)
728
728
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
729
- Ve(e, t);
729
+ ze(e, t);
730
730
  function r() {
731
731
  this.constructor = e;
732
732
  }
733
733
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
734
734
  }
735
- var E = function() {
736
- return E = Object.assign || function(t) {
737
- for (var r, n = 1, i = arguments.length; n < i; n++) {
738
- r = arguments[n];
739
- for (var o in r)
740
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
741
- }
742
- return t;
743
- }, E.apply(this, arguments);
744
- };
745
- function _n(e, t) {
746
- var r = {};
747
- for (var n in e)
748
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
749
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
750
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
751
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
752
- return r;
753
- }
754
- function Xe(e) {
735
+ function We(e) {
755
736
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
756
737
  if (r)
757
738
  return r.call(e);
@@ -763,7 +744,7 @@ function Xe(e) {
763
744
  };
764
745
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
765
746
  }
766
- function ze(e, t) {
747
+ function Ze(e, t) {
767
748
  var r = typeof Symbol == "function" && e[Symbol.iterator];
768
749
  if (!r)
769
750
  return e;
@@ -783,8 +764,8 @@ function ze(e, t) {
783
764
  }
784
765
  return o;
785
766
  }
786
- function Z(e, t, r) {
787
- if (r || arguments.length === 2)
767
+ function Qe(e, t, r) {
768
+ if (arguments.length === 2)
788
769
  for (var n = 0, i = t.length, o; n < i; n++)
789
770
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
790
771
  return e.concat(o || t);
@@ -792,13 +773,13 @@ function Z(e, t, r) {
792
773
  function R(e) {
793
774
  return typeof e == "function";
794
775
  }
795
- function Kt(e) {
776
+ function tr(e) {
796
777
  var t = function(n) {
797
778
  Error.call(n), n.stack = new Error().stack;
798
779
  }, r = e(t);
799
780
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
800
781
  }
801
- var Ne = Kt(function(e) {
782
+ var $e = tr(function(e) {
802
783
  return function(r) {
803
784
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
804
785
  ` + r.map(function(n, i) {
@@ -807,13 +788,13 @@ var Ne = Kt(function(e) {
807
788
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
808
789
  };
809
790
  });
810
- function We(e, t) {
791
+ function Je(e, t) {
811
792
  if (e) {
812
793
  var r = e.indexOf(t);
813
794
  0 <= r && e.splice(r, 1);
814
795
  }
815
796
  }
816
- var He = function() {
797
+ var Ae = function() {
817
798
  function e(t) {
818
799
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
819
800
  }
@@ -825,12 +806,12 @@ var He = function() {
825
806
  if (s)
826
807
  if (this._parentage = null, Array.isArray(s))
827
808
  try {
828
- for (var a = Xe(s), l = a.next(); !l.done; l = a.next()) {
809
+ for (var a = We(s), l = a.next(); !l.done; l = a.next()) {
829
810
  var u = l.value;
830
811
  u.remove(this);
831
812
  }
832
- } catch (p) {
833
- t = { error: p };
813
+ } catch (d) {
814
+ t = { error: d };
834
815
  } finally {
835
816
  try {
836
817
  l && !l.done && (r = a.return) && r.call(a);
@@ -845,26 +826,26 @@ var He = function() {
845
826
  if (R(h))
846
827
  try {
847
828
  h();
848
- } catch (p) {
849
- o = p instanceof Ne ? p.errors : [p];
829
+ } catch (d) {
830
+ o = d instanceof $e ? d.errors : [d];
850
831
  }
851
832
  var c = this._finalizers;
852
833
  if (c) {
853
834
  this._finalizers = null;
854
835
  try {
855
- for (var f = Xe(c), d = f.next(); !d.done; d = f.next()) {
856
- var m = d.value;
836
+ for (var f = We(c), p = f.next(); !p.done; p = f.next()) {
837
+ var m = p.value;
857
838
  try {
858
- vt(m);
859
- } catch (p) {
860
- o = o != null ? o : [], p instanceof Ne ? o = Z(Z([], ze(o)), ze(p.errors)) : o.push(p);
839
+ xt(m);
840
+ } catch (d) {
841
+ o = o != null ? o : [], d instanceof $e ? o = Qe(Qe([], Ze(o)), Ze(d.errors)) : o.push(d);
861
842
  }
862
843
  }
863
- } catch (p) {
864
- n = { error: p };
844
+ } catch (d) {
845
+ n = { error: d };
865
846
  } finally {
866
847
  try {
867
- d && !d.done && (i = f.return) && i.call(f);
848
+ p && !p.done && (i = f.return) && i.call(f);
868
849
  } finally {
869
850
  if (n)
870
851
  throw n.error;
@@ -872,13 +853,13 @@ var He = function() {
872
853
  }
873
854
  }
874
855
  if (o)
875
- throw new Ne(o);
856
+ throw new $e(o);
876
857
  }
877
858
  }, e.prototype.add = function(t) {
878
859
  var r;
879
860
  if (t && t !== this)
880
861
  if (this.closed)
881
- vt(t);
862
+ xt(t);
882
863
  else {
883
864
  if (t instanceof e) {
884
865
  if (t.closed || t._hasParent(this))
@@ -895,56 +876,52 @@ var He = function() {
895
876
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
896
877
  }, e.prototype._removeParent = function(t) {
897
878
  var r = this._parentage;
898
- r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
879
+ r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
899
880
  }, e.prototype.remove = function(t) {
900
881
  var r = this._finalizers;
901
- r && We(r, t), t instanceof e && t._removeParent(this);
882
+ r && Je(r, t), t instanceof e && t._removeParent(this);
902
883
  }, e.EMPTY = function() {
903
884
  var t = new e();
904
885
  return t.closed = !0, t;
905
886
  }(), e;
906
- }(), er = He.EMPTY;
907
- function tr(e) {
908
- return e instanceof He || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
887
+ }(), rr = Ae.EMPTY;
888
+ function nr(e) {
889
+ return e instanceof Ae || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
909
890
  }
910
- function vt(e) {
891
+ function xt(e) {
911
892
  R(e) ? e() : e.unsubscribe();
912
893
  }
913
- var rr = {
914
- onUnhandledError: null,
915
- onStoppedNotification: null,
916
- Promise: void 0,
917
- useDeprecatedSynchronousErrorHandling: !1,
918
- useDeprecatedNextContext: !1
919
- }, xn = {
894
+ var xn = {
895
+ Promise: void 0
896
+ }, En = {
920
897
  setTimeout: function(e, t) {
921
898
  for (var r = [], n = 2; n < arguments.length; n++)
922
899
  r[n - 2] = arguments[n];
923
- return setTimeout.apply(void 0, Z([e, t], ze(r)));
900
+ return setTimeout.apply(void 0, Qe([e, t], Ze(r)));
924
901
  },
925
902
  clearTimeout: function(e) {
926
903
  return clearTimeout(e);
927
904
  },
928
905
  delegate: void 0
929
906
  };
930
- function En(e) {
931
- xn.setTimeout(function() {
907
+ function wn(e) {
908
+ En.setTimeout(function() {
932
909
  throw e;
933
910
  });
934
911
  }
935
- function _t() {
912
+ function Et() {
936
913
  }
937
914
  function ge(e) {
938
915
  e();
939
916
  }
940
- var nr = function(e) {
941
- $(t, e);
917
+ var ir = function(e) {
918
+ le(t, e);
942
919
  function t(r) {
943
920
  var n = e.call(this) || this;
944
- return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = Hn, n;
921
+ return n.isStopped = !1, r ? (n.destination = r, nr(r) && r.add(n)) : n.destination = Hn, n;
945
922
  }
946
923
  return t.create = function(r, n, i) {
947
- return new Ze(r, n, i);
924
+ return new qe(r, n, i);
948
925
  }, t.prototype.next = function(r) {
949
926
  this.isStopped || this._next(r);
950
927
  }, t.prototype.error = function(r) {
@@ -968,11 +945,7 @@ var nr = function(e) {
968
945
  this.unsubscribe();
969
946
  }
970
947
  }, t;
971
- }(He), wn = Function.prototype.bind;
972
- function Le(e, t) {
973
- return wn.call(e, t);
974
- }
975
- var Sn = function() {
948
+ }(Ae), Sn = function() {
976
949
  function e(t) {
977
950
  this.partialObserver = t;
978
951
  }
@@ -1003,41 +976,29 @@ var Sn = function() {
1003
976
  me(r);
1004
977
  }
1005
978
  }, e;
1006
- }(), Ze = function(e) {
1007
- $(t, e);
979
+ }(), qe = function(e) {
980
+ le(t, e);
1008
981
  function t(r, n, i) {
1009
982
  var o = e.call(this) || this, s;
1010
- if (R(r) || !r)
1011
- s = {
1012
- next: r != null ? r : void 0,
1013
- error: n != null ? n : void 0,
1014
- complete: i != null ? i : void 0
1015
- };
1016
- else {
1017
- var a;
1018
- o && rr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
1019
- return o.unsubscribe();
1020
- }, s = {
1021
- next: r.next && Le(r.next, a),
1022
- error: r.error && Le(r.error, a),
1023
- complete: r.complete && Le(r.complete, a)
1024
- }) : s = r;
1025
- }
1026
- return o.destination = new Sn(s), o;
983
+ return R(r) || !r ? s = {
984
+ next: r != null ? r : void 0,
985
+ error: n != null ? n : void 0,
986
+ complete: i != null ? i : void 0
987
+ } : s = r, o.destination = new Sn(s), o;
1027
988
  }
1028
989
  return t;
1029
- }(nr);
990
+ }(ir);
1030
991
  function me(e) {
1031
- En(e);
992
+ wn(e);
1032
993
  }
1033
994
  function Tn(e) {
1034
995
  throw e;
1035
996
  }
1036
997
  var Hn = {
1037
998
  closed: !0,
1038
- next: _t,
999
+ next: Et,
1039
1000
  error: Tn,
1040
- complete: _t
1001
+ complete: Et
1041
1002
  }, An = function() {
1042
1003
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1043
1004
  }();
@@ -1051,7 +1012,7 @@ function Cn(e) {
1051
1012
  }, r);
1052
1013
  };
1053
1014
  }
1054
- var xt = function() {
1015
+ var wt = function() {
1055
1016
  function e(t) {
1056
1017
  t && (this._subscribe = t);
1057
1018
  }
@@ -1059,7 +1020,7 @@ var xt = function() {
1059
1020
  var r = new e();
1060
1021
  return r.source = this, r.operator = t, r;
1061
1022
  }, e.prototype.subscribe = function(t, r, n) {
1062
- var i = this, o = On(t) ? t : new Ze(t, r, n);
1023
+ var i = this, o = On(t) ? t : new qe(t, r, n);
1063
1024
  return ge(function() {
1064
1025
  var s = i, a = s.operator, l = s.source;
1065
1026
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -1072,8 +1033,8 @@ var xt = function() {
1072
1033
  }
1073
1034
  }, e.prototype.forEach = function(t, r) {
1074
1035
  var n = this;
1075
- return r = Et(r), new r(function(i, o) {
1076
- var s = new Ze({
1036
+ return r = St(r), new r(function(i, o) {
1037
+ var s = new qe({
1077
1038
  next: function(a) {
1078
1039
  try {
1079
1040
  t(a);
@@ -1097,7 +1058,7 @@ var xt = function() {
1097
1058
  return Cn(t)(this);
1098
1059
  }, e.prototype.toPromise = function(t) {
1099
1060
  var r = this;
1100
- return t = Et(t), new t(function(n, i) {
1061
+ return t = St(t), new t(function(n, i) {
1101
1062
  var o;
1102
1063
  r.subscribe(function(s) {
1103
1064
  return o = s;
@@ -1111,28 +1072,28 @@ var xt = function() {
1111
1072
  return new e(t);
1112
1073
  }, e;
1113
1074
  }();
1114
- function Et(e) {
1075
+ function St(e) {
1115
1076
  var t;
1116
- return (t = e != null ? e : rr.Promise) !== null && t !== void 0 ? t : Promise;
1077
+ return (t = e != null ? e : xn.Promise) !== null && t !== void 0 ? t : Promise;
1117
1078
  }
1118
1079
  function Pn(e) {
1119
1080
  return e && R(e.next) && R(e.error) && R(e.complete);
1120
1081
  }
1121
1082
  function On(e) {
1122
- return e && e instanceof nr || Pn(e) && tr(e);
1083
+ return e && e instanceof ir || Pn(e) && nr(e);
1123
1084
  }
1124
- var In = Kt(function(e) {
1085
+ var In = tr(function(e) {
1125
1086
  return function() {
1126
1087
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1127
1088
  };
1128
- }), ir = function(e) {
1129
- $(t, e);
1089
+ }), or = function(e) {
1090
+ le(t, e);
1130
1091
  function t() {
1131
1092
  var r = e.call(this) || this;
1132
1093
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1133
1094
  }
1134
1095
  return t.prototype.lift = function(r) {
1135
- var n = new wt(this, this);
1096
+ var n = new Tt(this, this);
1136
1097
  return n.operator = r, n;
1137
1098
  }, t.prototype._throwIfClosed = function() {
1138
1099
  if (this.closed)
@@ -1144,7 +1105,7 @@ var In = Kt(function(e) {
1144
1105
  if (n._throwIfClosed(), !n.isStopped) {
1145
1106
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1146
1107
  try {
1147
- for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1108
+ for (var s = We(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1148
1109
  var l = a.value;
1149
1110
  l.next(r);
1150
1111
  }
@@ -1193,20 +1154,20 @@ var In = Kt(function(e) {
1193
1154
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1194
1155
  }, t.prototype._innerSubscribe = function(r) {
1195
1156
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1196
- return o || s ? er : (this.currentObservers = null, a.push(r), new He(function() {
1197
- n.currentObservers = null, We(a, r);
1157
+ return o || s ? rr : (this.currentObservers = null, a.push(r), new Ae(function() {
1158
+ n.currentObservers = null, Je(a, r);
1198
1159
  }));
1199
1160
  }, t.prototype._checkFinalizedStatuses = function(r) {
1200
1161
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1201
1162
  i ? r.error(o) : s && r.complete();
1202
1163
  }, t.prototype.asObservable = function() {
1203
- var r = new xt();
1164
+ var r = new wt();
1204
1165
  return r.source = this, r;
1205
1166
  }, t.create = function(r, n) {
1206
- return new wt(r, n);
1167
+ return new Tt(r, n);
1207
1168
  }, t;
1208
- }(xt), wt = function(e) {
1209
- $(t, e);
1169
+ }(wt), Tt = function(e) {
1170
+ le(t, e);
1210
1171
  function t(r, n) {
1211
1172
  var i = e.call(this) || this;
1212
1173
  return i.destination = r, i.source = n, i;
@@ -1222,17 +1183,17 @@ var In = Kt(function(e) {
1222
1183
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1223
1184
  }, t.prototype._subscribe = function(r) {
1224
1185
  var n, i;
1225
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
1186
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : rr;
1226
1187
  }, t;
1227
- }(ir), or = {
1188
+ }(or), sr = {
1228
1189
  now: function() {
1229
- return (or.delegate || Date).now();
1190
+ return (sr.delegate || Date).now();
1230
1191
  },
1231
1192
  delegate: void 0
1232
1193
  }, Mn = function(e) {
1233
- $(t, e);
1194
+ le(t, e);
1234
1195
  function t(r, n, i) {
1235
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
1196
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
1236
1197
  var o = e.call(this) || this;
1237
1198
  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;
1238
1199
  }
@@ -1252,24 +1213,24 @@ var In = Kt(function(e) {
1252
1213
  u && o.splice(0, u + 1);
1253
1214
  }
1254
1215
  }, t;
1255
- }(ir);
1256
- const St = [], Tt = {}, Nn = (e, t = 0) => {
1257
- if (St.indexOf(e) == -1) {
1216
+ }(or);
1217
+ const Ht = [], At = {}, Nn = (e, t = 0) => {
1218
+ if (Ht.indexOf(e) == -1) {
1258
1219
  const r = new Mn(t);
1259
- Tt[e] = r, St.push(e);
1220
+ At[e] = r, Ht.push(e);
1260
1221
  }
1261
- return Tt[e];
1222
+ return At[e];
1262
1223
  }, V = [];
1263
1224
  function Ln(e, t) {
1264
1225
  return {
1265
- subscribe: Ae(e, t).subscribe
1226
+ subscribe: Be(e, t).subscribe
1266
1227
  };
1267
1228
  }
1268
- function Ae(e, t = N) {
1229
+ function Be(e, t = N) {
1269
1230
  let r;
1270
1231
  const n = /* @__PURE__ */ new Set();
1271
1232
  function i(a) {
1272
- if (Xt(e, a) && (e = a, r)) {
1233
+ if (Wt(e, a) && (e = a, r)) {
1273
1234
  const l = !V.length;
1274
1235
  for (const u of n)
1275
1236
  u[1](), V.push(u, e);
@@ -1291,7 +1252,7 @@ function Ae(e, t = N) {
1291
1252
  }
1292
1253
  return { set: i, update: o, subscribe: s };
1293
1254
  }
1294
- function K(e, t, r) {
1255
+ function Y(e, t, r) {
1295
1256
  const n = !Array.isArray(e), i = n ? [e] : e;
1296
1257
  if (!i.every(Boolean))
1297
1258
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1305,28 +1266,28 @@ function K(e, t, r) {
1305
1266
  return;
1306
1267
  c();
1307
1268
  const m = t(n ? u[0] : u, s, a);
1308
- o ? s(m) : c = Te(m) ? m : N;
1309
- }, d = i.map(
1310
- (m, p) => zt(
1269
+ o ? s(m) : c = He(m) ? m : N;
1270
+ }, p = i.map(
1271
+ (m, d) => Zt(
1311
1272
  m,
1312
1273
  (g) => {
1313
- u[p] = g, h &= ~(1 << p), l && f();
1274
+ u[d] = g, h &= ~(1 << d), l && f();
1314
1275
  },
1315
1276
  () => {
1316
- h |= 1 << p;
1277
+ h |= 1 << d;
1317
1278
  }
1318
1279
  )
1319
1280
  );
1320
1281
  return l = !0, f(), function() {
1321
- U(d), c(), l = !1;
1282
+ U(p), c(), l = !1;
1322
1283
  };
1323
1284
  });
1324
1285
  }
1325
- var Fo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1326
- function Rn(e) {
1286
+ var ko = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1287
+ function $n(e) {
1327
1288
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1328
1289
  }
1329
- var $n = function(t) {
1290
+ var Rn = function(t) {
1330
1291
  return Gn(t) && !Un(t);
1331
1292
  };
1332
1293
  function Gn(e) {
@@ -1343,29 +1304,29 @@ function jn(e) {
1343
1304
  function kn(e) {
1344
1305
  return Array.isArray(e) ? [] : {};
1345
1306
  }
1346
- function se(e, t) {
1347
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(kn(e), e, t) : e;
1307
+ function oe(e, t) {
1308
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(kn(e), e, t) : e;
1348
1309
  }
1349
1310
  function Vn(e, t, r) {
1350
1311
  return e.concat(t).map(function(n) {
1351
- return se(n, r);
1312
+ return oe(n, r);
1352
1313
  });
1353
1314
  }
1354
1315
  function Xn(e, t) {
1355
1316
  if (!t.customMerge)
1356
- return Q;
1317
+ return Z;
1357
1318
  var r = t.customMerge(e);
1358
- return typeof r == "function" ? r : Q;
1319
+ return typeof r == "function" ? r : Z;
1359
1320
  }
1360
1321
  function zn(e) {
1361
1322
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1362
1323
  return Object.propertyIsEnumerable.call(e, t);
1363
1324
  }) : [];
1364
1325
  }
1365
- function Ht(e) {
1326
+ function Bt(e) {
1366
1327
  return Object.keys(e).concat(zn(e));
1367
1328
  }
1368
- function sr(e, t) {
1329
+ function ar(e, t) {
1369
1330
  try {
1370
1331
  return t in e;
1371
1332
  } catch (r) {
@@ -1373,129 +1334,179 @@ function sr(e, t) {
1373
1334
  }
1374
1335
  }
1375
1336
  function Wn(e, t) {
1376
- return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1337
+ return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1377
1338
  }
1378
1339
  function Zn(e, t, r) {
1379
1340
  var n = {};
1380
- return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
1381
- n[i] = se(e[i], r);
1382
- }), Ht(t).forEach(function(i) {
1383
- Wn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1341
+ return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
1342
+ n[i] = oe(e[i], r);
1343
+ }), Bt(t).forEach(function(i) {
1344
+ Wn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1384
1345
  }), n;
1385
1346
  }
1386
- function Q(e, t, r) {
1387
- r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = se;
1347
+ function Z(e, t, r) {
1348
+ r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified = oe;
1388
1349
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1389
- return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) : se(t, r);
1350
+ return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) : oe(t, r);
1390
1351
  }
1391
- Q.all = function(t, r) {
1352
+ Z.all = function(t, r) {
1392
1353
  if (!Array.isArray(t))
1393
1354
  throw new Error("first argument should be an array");
1394
1355
  return t.reduce(function(n, i) {
1395
- return Q(n, i, r);
1356
+ return Z(n, i, r);
1396
1357
  }, {});
1397
1358
  };
1398
- var Qn = Q, Jn = Qn;
1399
- const qn = /* @__PURE__ */ Rn(Jn);
1400
- function Re(e, t) {
1401
- var r = t && t.cache ? t.cache : ni, n = t && t.serializer ? t.serializer : ri, i = t && t.strategy ? t.strategy : Kn;
1359
+ var Qn = Z, Jn = Qn;
1360
+ const qn = /* @__PURE__ */ $n(Jn);
1361
+ var Ye = function(e, t) {
1362
+ return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1363
+ r.__proto__ = n;
1364
+ } || function(r, n) {
1365
+ for (var i in n)
1366
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1367
+ }, Ye(e, t);
1368
+ };
1369
+ function Ce(e, t) {
1370
+ if (typeof t != "function" && t !== null)
1371
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1372
+ Ye(e, t);
1373
+ function r() {
1374
+ this.constructor = e;
1375
+ }
1376
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1377
+ }
1378
+ var L = function() {
1379
+ return L = Object.assign || function(t) {
1380
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1381
+ r = arguments[n];
1382
+ for (var o in r)
1383
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1384
+ }
1385
+ return t;
1386
+ }, L.apply(this, arguments);
1387
+ };
1388
+ function Yn(e, t) {
1389
+ var r = {};
1390
+ for (var n in e)
1391
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1392
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1393
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1394
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1395
+ return r;
1396
+ }
1397
+ function Re(e, t, r) {
1398
+ if (r || arguments.length === 2)
1399
+ for (var n = 0, i = t.length, o; n < i; n++)
1400
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1401
+ return e.concat(o || Array.prototype.slice.call(t));
1402
+ }
1403
+ function Ge(e, t) {
1404
+ var r = t && t.cache ? t.cache : oi, n = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ti;
1402
1405
  return i(e, {
1403
1406
  cache: r,
1404
1407
  serializer: n
1405
1408
  });
1406
1409
  }
1407
- function Yn(e) {
1410
+ function Kn(e) {
1408
1411
  return e == null || typeof e == "number" || typeof e == "boolean";
1409
1412
  }
1410
- function ar(e, t, r, n) {
1411
- var i = Yn(n) ? n : r(n), o = t.get(i);
1413
+ function ei(e, t, r, n) {
1414
+ var i = Kn(n) ? n : r(n), o = t.get(i);
1412
1415
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1413
1416
  }
1414
1417
  function ur(e, t, r) {
1415
1418
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1416
1419
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1417
1420
  }
1418
- function st(e, t, r, n, i) {
1421
+ function lr(e, t, r, n, i) {
1419
1422
  return r.bind(t, e, n, i);
1420
1423
  }
1421
- function Kn(e, t) {
1422
- var r = e.length === 1 ? ar : ur;
1423
- return st(e, this, r, t.cache.create(), t.serializer);
1424
- }
1425
- function ei(e, t) {
1426
- return st(e, this, ur, t.cache.create(), t.serializer);
1427
- }
1428
1424
  function ti(e, t) {
1429
- return st(e, this, ar, t.cache.create(), t.serializer);
1425
+ var r = e.length === 1 ? ei : ur;
1426
+ return lr(e, this, r, t.cache.create(), t.serializer);
1430
1427
  }
1431
- var ri = function() {
1432
- return JSON.stringify(arguments);
1433
- };
1434
- function at() {
1435
- this.cache = /* @__PURE__ */ Object.create(null);
1428
+ function ri(e, t) {
1429
+ return lr(e, this, ur, t.cache.create(), t.serializer);
1436
1430
  }
1437
- at.prototype.get = function(e) {
1438
- return this.cache[e];
1439
- };
1440
- at.prototype.set = function(e, t) {
1441
- this.cache[e] = t;
1442
- };
1443
- var ni = {
1431
+ var ni = function() {
1432
+ return JSON.stringify(arguments);
1433
+ }, ii = (
1434
+ /** @class */
1435
+ function() {
1436
+ function e() {
1437
+ this.cache = /* @__PURE__ */ Object.create(null);
1438
+ }
1439
+ return e.prototype.get = function(t) {
1440
+ return this.cache[t];
1441
+ }, e.prototype.set = function(t, r) {
1442
+ this.cache[t] = r;
1443
+ }, e;
1444
+ }()
1445
+ ), oi = {
1444
1446
  create: function() {
1445
- return new at();
1447
+ return new ii();
1446
1448
  }
1447
- }, $e = {
1448
- variadic: ei,
1449
- monadic: ti
1450
- }, y;
1449
+ }, Ue = {
1450
+ variadic: ri
1451
+ }, we = function() {
1452
+ return we = Object.assign || function(t) {
1453
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1454
+ r = arguments[n];
1455
+ for (var o in r)
1456
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1457
+ }
1458
+ return t;
1459
+ }, we.apply(this, arguments);
1460
+ };
1461
+ var y;
1451
1462
  (function(e) {
1452
1463
  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";
1453
1464
  })(y || (y = {}));
1454
- var S;
1465
+ var w;
1455
1466
  (function(e) {
1456
1467
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1457
- })(S || (S = {}));
1458
- var J;
1468
+ })(w || (w = {}));
1469
+ var Q;
1459
1470
  (function(e) {
1460
1471
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1461
- })(J || (J = {}));
1462
- function At(e) {
1463
- return e.type === S.literal;
1464
- }
1465
- function ii(e) {
1466
- return e.type === S.argument;
1472
+ })(Q || (Q = {}));
1473
+ function Ct(e) {
1474
+ return e.type === w.literal;
1467
1475
  }
1468
- function lr(e) {
1469
- return e.type === S.number;
1476
+ function si(e) {
1477
+ return e.type === w.argument;
1470
1478
  }
1471
1479
  function hr(e) {
1472
- return e.type === S.date;
1480
+ return e.type === w.number;
1473
1481
  }
1474
1482
  function cr(e) {
1475
- return e.type === S.time;
1483
+ return e.type === w.date;
1476
1484
  }
1477
1485
  function fr(e) {
1478
- return e.type === S.select;
1486
+ return e.type === w.time;
1479
1487
  }
1480
1488
  function mr(e) {
1481
- return e.type === S.plural;
1489
+ return e.type === w.select;
1482
1490
  }
1483
- function oi(e) {
1484
- return e.type === S.pound;
1491
+ function pr(e) {
1492
+ return e.type === w.plural;
1493
+ }
1494
+ function ai(e) {
1495
+ return e.type === w.pound;
1485
1496
  }
1486
1497
  function dr(e) {
1487
- return e.type === S.tag;
1498
+ return e.type === w.tag;
1488
1499
  }
1489
- function pr(e) {
1490
- return !!(e && typeof e == "object" && e.type === J.number);
1500
+ function br(e) {
1501
+ return !!(e && typeof e == "object" && e.type === Q.number);
1491
1502
  }
1492
- function Qe(e) {
1493
- return !!(e && typeof e == "object" && e.type === J.dateTime);
1503
+ function Ke(e) {
1504
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
1494
1505
  }
1495
- var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, si = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1496
- function ai(e) {
1506
+ var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ui = /(?:[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;
1507
+ function li(e) {
1497
1508
  var t = {};
1498
- return e.replace(si, function(r) {
1509
+ return e.replace(ui, function(r) {
1499
1510
  var n = r.length;
1500
1511
  switch (r[0]) {
1501
1512
  case "G":
@@ -1584,11 +1595,21 @@ function ai(e) {
1584
1595
  return "";
1585
1596
  }), t;
1586
1597
  }
1587
- var ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1588
- function li(e) {
1598
+ var S = function() {
1599
+ return S = Object.assign || function(t) {
1600
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1601
+ r = arguments[n];
1602
+ for (var o in r)
1603
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1604
+ }
1605
+ return t;
1606
+ }, S.apply(this, arguments);
1607
+ };
1608
+ var hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1609
+ function ci(e) {
1589
1610
  if (e.length === 0)
1590
1611
  throw new Error("Number skeleton cannot be empty");
1591
- for (var t = e.split(ui).filter(function(f) {
1612
+ for (var t = e.split(hi).filter(function(f) {
1592
1613
  return f.length > 0;
1593
1614
  }), r = [], n = 0, i = t; n < i.length; n++) {
1594
1615
  var o = i[n], s = o.split("/");
@@ -1603,17 +1624,17 @@ function li(e) {
1603
1624
  }
1604
1625
  return r;
1605
1626
  }
1606
- function hi(e) {
1627
+ function fi(e) {
1607
1628
  return e.replace(/^(.*?)-/, "");
1608
1629
  }
1609
- var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ci = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1610
- function Ct(e) {
1630
+ var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, mi = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
1631
+ function Ot(e) {
1611
1632
  var t = {};
1612
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1633
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yr, function(r, n, i) {
1613
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)), "";
1614
1635
  }), t;
1615
1636
  }
1616
- function vr(e) {
1637
+ function _r(e) {
1617
1638
  switch (e) {
1618
1639
  case "sign-auto":
1619
1640
  return {
@@ -1653,7 +1674,7 @@ function vr(e) {
1653
1674
  };
1654
1675
  }
1655
1676
  }
1656
- function fi(e) {
1677
+ function pi(e) {
1657
1678
  var t;
1658
1679
  if (e[0] === "E" && e[1] === "E" ? (t = {
1659
1680
  notation: "engineering"
@@ -1661,17 +1682,17 @@ function fi(e) {
1661
1682
  notation: "scientific"
1662
1683
  }, e = e.slice(1)), t) {
1663
1684
  var r = e.slice(0, 2);
1664
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
1685
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vr.test(e))
1665
1686
  throw new Error("Malformed concise eng/scientific notation");
1666
1687
  t.minimumIntegerDigits = e.length;
1667
1688
  }
1668
1689
  return t;
1669
1690
  }
1670
- function Pt(e) {
1671
- var t = {}, r = vr(e);
1691
+ function It(e) {
1692
+ var t = {}, r = _r(e);
1672
1693
  return r || t;
1673
1694
  }
1674
- function mi(e) {
1695
+ function di(e) {
1675
1696
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1676
1697
  var i = n[r];
1677
1698
  switch (i.stem) {
@@ -1695,7 +1716,7 @@ function mi(e) {
1695
1716
  continue;
1696
1717
  case "measure-unit":
1697
1718
  case "unit":
1698
- t.style = "unit", t.unit = hi(i.options[0]);
1719
+ t.style = "unit", t.unit = fi(i.options[0]);
1699
1720
  continue;
1700
1721
  case "compact-short":
1701
1722
  case "K":
@@ -1706,13 +1727,13 @@ function mi(e) {
1706
1727
  t.notation = "compact", t.compactDisplay = "long";
1707
1728
  continue;
1708
1729
  case "scientific":
1709
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1710
- return E(E({}, l), Pt(u));
1730
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1731
+ return S(S({}, l), It(u));
1711
1732
  }, {}));
1712
1733
  continue;
1713
1734
  case "engineering":
1714
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1715
- return E(E({}, l), Pt(u));
1735
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1736
+ return S(S({}, l), It(u));
1716
1737
  }, {}));
1717
1738
  continue;
1718
1739
  case "notation-simple":
@@ -1757,45 +1778,45 @@ function mi(e) {
1757
1778
  case "integer-width":
1758
1779
  if (i.options.length > 1)
1759
1780
  throw new RangeError("integer-width stems only accept a single optional option");
1760
- i.options[0].replace(ci, function(l, u, h, c, f, d) {
1781
+ i.options[0].replace(mi, function(l, u, h, c, f, p) {
1761
1782
  if (u)
1762
1783
  t.minimumIntegerDigits = h.length;
1763
1784
  else {
1764
1785
  if (c && f)
1765
1786
  throw new Error("We currently do not support maximum integer digits");
1766
- if (d)
1787
+ if (p)
1767
1788
  throw new Error("We currently do not support exact integer digits");
1768
1789
  }
1769
1790
  return "";
1770
1791
  });
1771
1792
  continue;
1772
1793
  }
1773
- if (yr.test(i.stem)) {
1794
+ if (vr.test(i.stem)) {
1774
1795
  t.minimumIntegerDigits = i.stem.length;
1775
1796
  continue;
1776
1797
  }
1777
- if (Bt.test(i.stem)) {
1798
+ if (Pt.test(i.stem)) {
1778
1799
  if (i.options.length > 1)
1779
1800
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1780
- i.stem.replace(Bt, function(l, u, h, c, f, d) {
1781
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1801
+ i.stem.replace(Pt, 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), "";
1782
1803
  });
1783
1804
  var o = i.options[0];
1784
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Ct(o)));
1805
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ot(o)));
1785
1806
  continue;
1786
1807
  }
1787
- if (gr.test(i.stem)) {
1788
- t = E(E({}, t), Ct(i.stem));
1808
+ if (yr.test(i.stem)) {
1809
+ t = S(S({}, t), Ot(i.stem));
1789
1810
  continue;
1790
1811
  }
1791
- var s = vr(i.stem);
1792
- s && (t = E(E({}, t), s));
1793
- var a = fi(i.stem);
1794
- a && (t = E(E({}, t), a));
1812
+ var s = _r(i.stem);
1813
+ s && (t = S(S({}, t), s));
1814
+ var a = pi(i.stem);
1815
+ a && (t = S(S({}, t), a));
1795
1816
  }
1796
1817
  return t;
1797
1818
  }
1798
- var de = {
1819
+ var pe = {
1799
1820
  "001": [
1800
1821
  "H",
1801
1822
  "h"
@@ -3210,13 +3231,13 @@ var de = {
3210
3231
  "h"
3211
3232
  ]
3212
3233
  };
3213
- function di(e, t) {
3234
+ function bi(e, t) {
3214
3235
  for (var r = "", n = 0; n < e.length; n++) {
3215
3236
  var i = e.charAt(n);
3216
3237
  if (i === "j") {
3217
3238
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3218
3239
  o++, n++;
3219
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = pi(t);
3240
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = gi(t);
3220
3241
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3221
3242
  r += l;
3222
3243
  for (; s-- > 0; )
@@ -3226,7 +3247,7 @@ function di(e, t) {
3226
3247
  }
3227
3248
  return r;
3228
3249
  }
3229
- function pi(e) {
3250
+ function gi(e) {
3230
3251
  var t = e.hourCycle;
3231
3252
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3232
3253
  e.hourCycles && // @ts-ignore
@@ -3245,23 +3266,23 @@ function pi(e) {
3245
3266
  }
3246
3267
  var r = e.language, n;
3247
3268
  r !== "root" && (n = e.maximize().region);
3248
- var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
3269
+ var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3249
3270
  return i[0];
3250
3271
  }
3251
- var Ge, bi = new RegExp("^".concat(br.source, "*")), gi = new RegExp("".concat(br.source, "*$"));
3272
+ var De, yi = new RegExp("^".concat(gr.source, "*")), vi = new RegExp("".concat(gr.source, "*$"));
3252
3273
  function _(e, t) {
3253
3274
  return { start: e, end: t };
3254
3275
  }
3255
- var yi = !!String.prototype.startsWith && "_a".startsWith("a", 1), vi = !!String.fromCodePoint, _i = !!Object.fromEntries, xi = !!String.prototype.codePointAt, Ei = !!String.prototype.trimStart, wi = !!String.prototype.trimEnd, Si = !!Number.isSafeInteger, Ti = Si ? Number.isSafeInteger : function(e) {
3276
+ var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, Ei = !!Object.fromEntries, wi = !!String.prototype.codePointAt, Si = !!String.prototype.trimStart, Ti = !!String.prototype.trimEnd, Hi = !!Number.isSafeInteger, Ai = Hi ? Number.isSafeInteger : function(e) {
3256
3277
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3257
- }, Je = !0;
3278
+ }, et = !0;
3258
3279
  try {
3259
- var Hi = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3260
- Je = ((Ge = Hi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3280
+ var Bi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3281
+ et = ((De = Bi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3261
3282
  } catch (e) {
3262
- Je = !1;
3283
+ et = !1;
3263
3284
  }
3264
- var Ot = yi ? (
3285
+ var Mt = _i ? (
3265
3286
  // Native
3266
3287
  function(t, r, n) {
3267
3288
  return t.startsWith(r, n);
@@ -3271,7 +3292,7 @@ var Ot = yi ? (
3271
3292
  function(t, r, n) {
3272
3293
  return t.slice(n, n + r.length) === r;
3273
3294
  }
3274
- ), qe = vi ? String.fromCodePoint : (
3295
+ ), tt = xi ? String.fromCodePoint : (
3275
3296
  // IE11
3276
3297
  function() {
3277
3298
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3283,9 +3304,9 @@ var Ot = yi ? (
3283
3304
  }
3284
3305
  return n;
3285
3306
  }
3286
- ), It = (
3307
+ ), Nt = (
3287
3308
  // native
3288
- _i ? Object.fromEntries : (
3309
+ Ei ? Object.fromEntries : (
3289
3310
  // Ponyfill
3290
3311
  function(t) {
3291
3312
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3295,7 +3316,7 @@ var Ot = yi ? (
3295
3316
  return r;
3296
3317
  }
3297
3318
  )
3298
- ), _r = xi ? (
3319
+ ), xr = wi ? (
3299
3320
  // Native
3300
3321
  function(t, r) {
3301
3322
  return t.codePointAt(r);
@@ -3309,7 +3330,7 @@ var Ot = yi ? (
3309
3330
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3310
3331
  }
3311
3332
  }
3312
- ), Ai = Ei ? (
3333
+ ), Ci = Si ? (
3313
3334
  // Native
3314
3335
  function(t) {
3315
3336
  return t.trimStart();
@@ -3317,9 +3338,9 @@ var Ot = yi ? (
3317
3338
  ) : (
3318
3339
  // Ponyfill
3319
3340
  function(t) {
3320
- return t.replace(bi, "");
3341
+ return t.replace(yi, "");
3321
3342
  }
3322
- ), Bi = wi ? (
3343
+ ), Pi = Ti ? (
3323
3344
  // Native
3324
3345
  function(t) {
3325
3346
  return t.trimEnd();
@@ -3327,32 +3348,32 @@ var Ot = yi ? (
3327
3348
  ) : (
3328
3349
  // Ponyfill
3329
3350
  function(t) {
3330
- return t.replace(gi, "");
3351
+ return t.replace(vi, "");
3331
3352
  }
3332
3353
  );
3333
- function xr(e, t) {
3354
+ function Er(e, t) {
3334
3355
  return new RegExp(e, t);
3335
3356
  }
3336
- var Ye;
3337
- if (Je) {
3338
- var Mt = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3339
- Ye = function(t, r) {
3357
+ var rt;
3358
+ if (et) {
3359
+ var Lt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3360
+ rt = function(t, r) {
3340
3361
  var n;
3341
- Mt.lastIndex = r;
3342
- var i = Mt.exec(t);
3362
+ Lt.lastIndex = r;
3363
+ var i = Lt.exec(t);
3343
3364
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3344
3365
  };
3345
3366
  } else
3346
- Ye = function(t, r) {
3367
+ rt = function(t, r) {
3347
3368
  for (var n = []; ; ) {
3348
- var i = _r(t, r);
3349
- if (i === void 0 || Er(i) || Ii(i))
3369
+ var i = xr(t, r);
3370
+ if (i === void 0 || wr(i) || Ni(i))
3350
3371
  break;
3351
3372
  n.push(i), r += i >= 65536 ? 2 : 1;
3352
3373
  }
3353
- return qe.apply(void 0, n);
3374
+ return tt.apply(void 0, n);
3354
3375
  };
3355
- var Ci = (
3376
+ var Oi = (
3356
3377
  /** @class */
3357
3378
  function() {
3358
3379
  function e(t, r) {
@@ -3376,14 +3397,14 @@ var Ci = (
3376
3397
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3377
3398
  var a = this.clonePosition();
3378
3399
  this.bump(), i.push({
3379
- type: S.pound,
3400
+ type: w.pound,
3380
3401
  location: _(a, this.clonePosition())
3381
3402
  });
3382
3403
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3383
3404
  if (n)
3384
3405
  break;
3385
3406
  return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3386
- } else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3407
+ } else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
3387
3408
  var s = this.parseTag(t, r);
3388
3409
  if (s.err)
3389
3410
  return s;
@@ -3404,7 +3425,7 @@ var Ci = (
3404
3425
  if (this.bumpSpace(), this.bumpIf("/>"))
3405
3426
  return {
3406
3427
  val: {
3407
- type: S.literal,
3428
+ type: w.literal,
3408
3429
  value: "<".concat(i, "/>"),
3409
3430
  location: _(n, this.clonePosition())
3410
3431
  },
@@ -3416,12 +3437,12 @@ var Ci = (
3416
3437
  return o;
3417
3438
  var s = o.val, a = this.clonePosition();
3418
3439
  if (this.bumpIf("</")) {
3419
- if (this.isEOF() || !Ke(this.char()))
3440
+ if (this.isEOF() || !nt(this.char()))
3420
3441
  return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
3421
3442
  var l = this.clonePosition(), u = this.parseTagName();
3422
3443
  return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3423
3444
  val: {
3424
- type: S.tag,
3445
+ type: w.tag,
3425
3446
  value: i,
3426
3447
  children: s,
3427
3448
  location: _(n, this.clonePosition())
@@ -3434,7 +3455,7 @@ var Ci = (
3434
3455
  return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
3435
3456
  }, e.prototype.parseTagName = function() {
3436
3457
  var t = this.offset();
3437
- for (this.bump(); !this.isEOF() && Oi(this.char()); )
3458
+ for (this.bump(); !this.isEOF() && Mi(this.char()); )
3438
3459
  this.bump();
3439
3460
  return this.message.slice(t, this.offset());
3440
3461
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3458,12 +3479,12 @@ var Ci = (
3458
3479
  }
3459
3480
  var l = _(n, this.clonePosition());
3460
3481
  return {
3461
- val: { type: S.literal, value: i, location: l },
3482
+ val: { type: w.literal, value: i, location: l },
3462
3483
  err: null
3463
3484
  };
3464
3485
  }, e.prototype.tryParseLeftAngleBracket = function() {
3465
3486
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3466
- !Pi(this.peek() || 0)) ? (this.bump(), "<") : null;
3487
+ !Ii(this.peek() || 0)) ? (this.bump(), "<") : null;
3467
3488
  }, e.prototype.tryParseQuote = function(t) {
3468
3489
  if (this.isEOF() || this.char() !== 39)
3469
3490
  return null;
@@ -3497,12 +3518,12 @@ var Ci = (
3497
3518
  r.push(n);
3498
3519
  this.bump();
3499
3520
  }
3500
- return qe.apply(void 0, r);
3521
+ return tt.apply(void 0, r);
3501
3522
  }, e.prototype.tryParseUnquoted = function(t, r) {
3502
3523
  if (this.isEOF())
3503
3524
  return null;
3504
3525
  var n = this.char();
3505
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3526
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
3506
3527
  }, e.prototype.parseArgument = function(t, r) {
3507
3528
  var n = this.clonePosition();
3508
3529
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3518,7 +3539,7 @@ var Ci = (
3518
3539
  case 125:
3519
3540
  return this.bump(), {
3520
3541
  val: {
3521
- type: S.argument,
3542
+ type: w.argument,
3522
3543
  // value does not include the opening and closing braces.
3523
3544
  value: i,
3524
3545
  location: _(n, this.clonePosition())
@@ -3531,7 +3552,7 @@ var Ci = (
3531
3552
  return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3532
3553
  }
3533
3554
  }, e.prototype.parseIdentifierIfPossible = function() {
3534
- var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3555
+ var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
3535
3556
  this.bumpTo(i);
3536
3557
  var o = this.clonePosition(), s = _(t, o);
3537
3558
  return { value: n, location: s };
@@ -3550,46 +3571,46 @@ var Ci = (
3550
3571
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3551
3572
  if (c.err)
3552
3573
  return c;
3553
- var f = Bi(c.val);
3574
+ var f = Pi(c.val);
3554
3575
  if (f.length === 0)
3555
3576
  return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3556
- var d = _(h, this.clonePosition());
3557
- u = { style: f, styleLocation: d };
3577
+ var p = _(h, this.clonePosition());
3578
+ u = { style: f, styleLocation: p };
3558
3579
  }
3559
3580
  var m = this.tryParseArgumentClose(i);
3560
3581
  if (m.err)
3561
3582
  return m;
3562
- var p = _(i, this.clonePosition());
3563
- if (u && Ot(u == null ? void 0 : u.style, "::", 0)) {
3564
- var g = Ai(u.style.slice(2));
3583
+ var d = _(i, this.clonePosition());
3584
+ if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
3585
+ var g = Ci(u.style.slice(2));
3565
3586
  if (a === "number") {
3566
3587
  var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
3567
3588
  return c.err ? c : {
3568
- val: { type: S.number, value: n, location: p, style: c.val },
3589
+ val: { type: w.number, value: n, location: d, style: c.val },
3569
3590
  err: null
3570
3591
  };
3571
3592
  } else {
3572
3593
  if (g.length === 0)
3573
- return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
3594
+ return this.error(y.EXPECT_DATE_TIME_SKELETON, d);
3574
3595
  var A = g;
3575
- this.locale && (A = di(g, this.locale));
3596
+ this.locale && (A = bi(g, this.locale));
3576
3597
  var f = {
3577
- type: J.dateTime,
3598
+ type: Q.dateTime,
3578
3599
  pattern: A,
3579
3600
  location: u.styleLocation,
3580
- parsedOptions: this.shouldParseSkeletons ? ai(A) : {}
3581
- }, T = a === "date" ? S.date : S.time;
3601
+ parsedOptions: this.shouldParseSkeletons ? li(A) : {}
3602
+ }, T = a === "date" ? w.date : w.time;
3582
3603
  return {
3583
- val: { type: T, value: n, location: p, style: f },
3604
+ val: { type: T, value: n, location: d, style: f },
3584
3605
  err: null
3585
3606
  };
3586
3607
  }
3587
3608
  }
3588
3609
  return {
3589
3610
  val: {
3590
- type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3611
+ type: a === "number" ? w.number : a === "date" ? w.date : w.time,
3591
3612
  value: n,
3592
- location: p,
3613
+ location: d,
3593
3614
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3594
3615
  },
3595
3616
  err: null
@@ -3600,19 +3621,19 @@ var Ci = (
3600
3621
  case "select": {
3601
3622
  var x = this.clonePosition();
3602
3623
  if (this.bumpSpace(), !this.bumpIf(","))
3603
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, E({}, x)));
3624
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, we({}, x)));
3604
3625
  this.bumpSpace();
3605
- var w = this.parseIdentifierIfPossible(), b = 0;
3606
- if (a !== "select" && w.value === "offset") {
3626
+ var E = this.parseIdentifierIfPossible(), b = 0;
3627
+ if (a !== "select" && E.value === "offset") {
3607
3628
  if (!this.bumpIf(":"))
3608
3629
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3609
3630
  this.bumpSpace();
3610
3631
  var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3611
3632
  if (c.err)
3612
3633
  return c;
3613
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), b = c.val;
3634
+ this.bumpSpace(), E = this.parseIdentifierIfPossible(), b = c.val;
3614
3635
  }
3615
- var B = this.tryParsePluralOrSelectOptions(t, a, r, w);
3636
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, E);
3616
3637
  if (B.err)
3617
3638
  return B;
3618
3639
  var m = this.tryParseArgumentClose(i);
@@ -3621,17 +3642,17 @@ var Ci = (
3621
3642
  var ce = _(i, this.clonePosition());
3622
3643
  return a === "select" ? {
3623
3644
  val: {
3624
- type: S.select,
3645
+ type: w.select,
3625
3646
  value: n,
3626
- options: It(B.val),
3647
+ options: Nt(B.val),
3627
3648
  location: ce
3628
3649
  },
3629
3650
  err: null
3630
3651
  } : {
3631
3652
  val: {
3632
- type: S.plural,
3653
+ type: w.plural,
3633
3654
  value: n,
3634
- options: It(B.val),
3655
+ options: Nt(B.val),
3635
3656
  offset: b,
3636
3657
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3637
3658
  location: ce
@@ -3682,16 +3703,16 @@ var Ci = (
3682
3703
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3683
3704
  var n = [];
3684
3705
  try {
3685
- n = li(t);
3706
+ n = ci(t);
3686
3707
  } catch (i) {
3687
3708
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3688
3709
  }
3689
3710
  return {
3690
3711
  val: {
3691
- type: J.number,
3712
+ type: Q.number,
3692
3713
  tokens: n,
3693
3714
  location: r,
3694
- parsedOptions: this.shouldParseSkeletons ? mi(n) : {}
3715
+ parsedOptions: this.shouldParseSkeletons ? di(n) : {}
3695
3716
  },
3696
3717
  err: null
3697
3718
  };
@@ -3710,20 +3731,20 @@ var Ci = (
3710
3731
  if (l.has(u))
3711
3732
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3712
3733
  u === "other" && (s = !0), this.bumpSpace();
3713
- var d = this.clonePosition();
3734
+ var p = this.clonePosition();
3714
3735
  if (!this.bumpIf("{"))
3715
3736
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3716
3737
  var m = this.parseMessage(t + 1, r, n);
3717
3738
  if (m.err)
3718
3739
  return m;
3719
- var p = this.tryParseArgumentClose(d);
3720
- if (p.err)
3721
- return p;
3740
+ var d = this.tryParseArgumentClose(p);
3741
+ if (d.err)
3742
+ return d;
3722
3743
  a.push([
3723
3744
  u,
3724
3745
  {
3725
3746
  value: m.val,
3726
- location: _(d, this.clonePosition())
3747
+ location: _(p, this.clonePosition())
3727
3748
  }
3728
3749
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3729
3750
  }
@@ -3739,7 +3760,7 @@ var Ci = (
3739
3760
  break;
3740
3761
  }
3741
3762
  var l = _(i, this.clonePosition());
3742
- return o ? (s *= n, Ti(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3763
+ return o ? (s *= n, Ai(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3743
3764
  }, e.prototype.offset = function() {
3744
3765
  return this.position.offset;
3745
3766
  }, e.prototype.isEOF = function() {
@@ -3754,7 +3775,7 @@ var Ci = (
3754
3775
  var t = this.position.offset;
3755
3776
  if (t >= this.message.length)
3756
3777
  throw Error("out of bound");
3757
- var r = _r(this.message, t);
3778
+ var r = xr(this.message, t);
3758
3779
  if (r === void 0)
3759
3780
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3760
3781
  return r;
@@ -3773,7 +3794,7 @@ var Ci = (
3773
3794
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3774
3795
  }
3775
3796
  }, e.prototype.bumpIf = function(t) {
3776
- if (Ot(this.message, t, this.offset())) {
3797
+ if (Mt(this.message, t, this.offset())) {
3777
3798
  for (var r = 0; r < t.length; r++)
3778
3799
  this.bump();
3779
3800
  return !0;
@@ -3795,7 +3816,7 @@ var Ci = (
3795
3816
  break;
3796
3817
  }
3797
3818
  }, e.prototype.bumpSpace = function() {
3798
- for (; !this.isEOF() && Er(this.char()); )
3819
+ for (; !this.isEOF() && wr(this.char()); )
3799
3820
  this.bump();
3800
3821
  }, e.prototype.peek = function() {
3801
3822
  if (this.isEOF())
@@ -3805,47 +3826,47 @@ var Ci = (
3805
3826
  }, e;
3806
3827
  }()
3807
3828
  );
3808
- function Ke(e) {
3829
+ function nt(e) {
3809
3830
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3810
3831
  }
3811
- function Pi(e) {
3812
- return Ke(e) || e === 47;
3832
+ function Ii(e) {
3833
+ return nt(e) || e === 47;
3813
3834
  }
3814
- function Oi(e) {
3835
+ function Mi(e) {
3815
3836
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3816
3837
  }
3817
- function Er(e) {
3838
+ function wr(e) {
3818
3839
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3819
3840
  }
3820
- function Ii(e) {
3841
+ function Ni(e) {
3821
3842
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3822
3843
  }
3823
- function et(e) {
3844
+ function it(e) {
3824
3845
  e.forEach(function(t) {
3825
- if (delete t.location, fr(t) || mr(t))
3846
+ if (delete t.location, mr(t) || pr(t))
3826
3847
  for (var r in t.options)
3827
- delete t.options[r].location, et(t.options[r].value);
3848
+ delete t.options[r].location, it(t.options[r].value);
3828
3849
  else
3829
- lr(t) && pr(t.style) || (hr(t) || cr(t)) && Qe(t.style) ? delete t.style.location : dr(t) && et(t.children);
3850
+ hr(t) && br(t.style) || (cr(t) || fr(t)) && Ke(t.style) ? delete t.style.location : dr(t) && it(t.children);
3830
3851
  });
3831
3852
  }
3832
- function Mi(e, t) {
3833
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3834
- var r = new Ci(e, t).parse();
3853
+ function Li(e, t) {
3854
+ t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3855
+ var r = new Oi(e, t).parse();
3835
3856
  if (r.err) {
3836
3857
  var n = SyntaxError(y[r.err.kind]);
3837
3858
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3838
3859
  }
3839
- return t != null && t.captureLocation || et(r.val), r.val;
3860
+ return t != null && t.captureLocation || it(r.val), r.val;
3840
3861
  }
3841
- var q;
3862
+ var J;
3842
3863
  (function(e) {
3843
3864
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3844
- })(q || (q = {}));
3845
- var Be = (
3865
+ })(J || (J = {}));
3866
+ var Pe = (
3846
3867
  /** @class */
3847
3868
  function(e) {
3848
- $(t, e);
3869
+ Ce(t, e);
3849
3870
  function t(r, n, i) {
3850
3871
  var o = e.call(this, r) || this;
3851
3872
  return o.code = n, o.originalMessage = i, o;
@@ -3854,48 +3875,48 @@ var Be = (
3854
3875
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3855
3876
  }, t;
3856
3877
  }(Error)
3857
- ), Nt = (
3878
+ ), $t = (
3858
3879
  /** @class */
3859
3880
  function(e) {
3860
- $(t, e);
3881
+ Ce(t, e);
3861
3882
  function t(r, n, i, o) {
3862
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3883
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3863
3884
  }
3864
3885
  return t;
3865
- }(Be)
3866
- ), Ni = (
3886
+ }(Pe)
3887
+ ), $i = (
3867
3888
  /** @class */
3868
3889
  function(e) {
3869
- $(t, e);
3890
+ Ce(t, e);
3870
3891
  function t(r, n, i) {
3871
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3892
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3872
3893
  }
3873
3894
  return t;
3874
- }(Be)
3875
- ), Li = (
3895
+ }(Pe)
3896
+ ), Ri = (
3876
3897
  /** @class */
3877
3898
  function(e) {
3878
- $(t, e);
3899
+ Ce(t, e);
3879
3900
  function t(r, n) {
3880
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3901
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3881
3902
  }
3882
3903
  return t;
3883
- }(Be)
3904
+ }(Pe)
3884
3905
  ), P;
3885
3906
  (function(e) {
3886
3907
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3887
3908
  })(P || (P = {}));
3888
- function Ri(e) {
3909
+ function Gi(e) {
3889
3910
  return e.length < 2 ? e : e.reduce(function(t, r) {
3890
3911
  var n = t[t.length - 1];
3891
3912
  return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3892
3913
  }, []);
3893
3914
  }
3894
- function $i(e) {
3915
+ function Ui(e) {
3895
3916
  return typeof e == "function";
3896
3917
  }
3897
3918
  function ye(e, t, r, n, i, o, s) {
3898
- if (e.length === 1 && At(e[0]))
3919
+ if (e.length === 1 && Ct(e[0]))
3899
3920
  return [
3900
3921
  {
3901
3922
  type: P.literal,
@@ -3904,14 +3925,14 @@ function ye(e, t, r, n, i, o, s) {
3904
3925
  ];
3905
3926
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3906
3927
  var h = u[l];
3907
- if (At(h)) {
3928
+ if (Ct(h)) {
3908
3929
  a.push({
3909
3930
  type: P.literal,
3910
3931
  value: h.value
3911
3932
  });
3912
3933
  continue;
3913
3934
  }
3914
- if (oi(h)) {
3935
+ if (ai(h)) {
3915
3936
  typeof o == "number" && a.push({
3916
3937
  type: P.literal,
3917
3938
  value: r.getNumberFormat(t).format(o)
@@ -3920,43 +3941,43 @@ function ye(e, t, r, n, i, o, s) {
3920
3941
  }
3921
3942
  var c = h.value;
3922
3943
  if (!(i && c in i))
3923
- throw new Li(c, s);
3944
+ throw new Ri(c, s);
3924
3945
  var f = i[c];
3925
- if (ii(h)) {
3946
+ if (si(h)) {
3926
3947
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3927
3948
  type: typeof f == "string" ? P.literal : P.object,
3928
3949
  value: f
3929
3950
  });
3930
3951
  continue;
3931
3952
  }
3932
- if (hr(h)) {
3933
- var d = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
3953
+ if (cr(h)) {
3954
+ var p = typeof h.style == "string" ? n.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
3934
3955
  a.push({
3935
3956
  type: P.literal,
3936
- value: r.getDateTimeFormat(t, d).format(f)
3957
+ value: r.getDateTimeFormat(t, p).format(f)
3937
3958
  });
3938
3959
  continue;
3939
3960
  }
3940
- if (cr(h)) {
3941
- var d = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
3961
+ if (fr(h)) {
3962
+ var p = typeof h.style == "string" ? n.time[h.style] : Ke(h.style) ? h.style.parsedOptions : n.time.medium;
3942
3963
  a.push({
3943
3964
  type: P.literal,
3944
- value: r.getDateTimeFormat(t, d).format(f)
3965
+ value: r.getDateTimeFormat(t, p).format(f)
3945
3966
  });
3946
3967
  continue;
3947
3968
  }
3948
- if (lr(h)) {
3949
- var d = typeof h.style == "string" ? n.number[h.style] : pr(h.style) ? h.style.parsedOptions : void 0;
3950
- d && d.scale && (f = f * (d.scale || 1)), a.push({
3969
+ if (hr(h)) {
3970
+ var p = typeof h.style == "string" ? n.number[h.style] : br(h.style) ? h.style.parsedOptions : void 0;
3971
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3951
3972
  type: P.literal,
3952
- value: r.getNumberFormat(t, d).format(f)
3973
+ value: r.getNumberFormat(t, p).format(f)
3953
3974
  });
3954
3975
  continue;
3955
3976
  }
3956
3977
  if (dr(h)) {
3957
- var m = h.children, p = h.value, g = i[p];
3958
- if (!$i(g))
3959
- throw new Ni(p, "function", s);
3978
+ var m = h.children, d = h.value, g = i[d];
3979
+ if (!Ui(g))
3980
+ throw new $i(d, "function", s);
3960
3981
  var A = ye(m, t, r, n, i, o), T = g(A.map(function(b) {
3961
3982
  return b.value;
3962
3983
  }));
@@ -3967,42 +3988,42 @@ function ye(e, t, r, n, i, o, s) {
3967
3988
  };
3968
3989
  }));
3969
3990
  }
3970
- if (fr(h)) {
3991
+ if (mr(h)) {
3971
3992
  var x = h.options[f] || h.options.other;
3972
3993
  if (!x)
3973
- throw new Nt(h.value, f, Object.keys(h.options), s);
3994
+ throw new $t(h.value, f, Object.keys(h.options), s);
3974
3995
  a.push.apply(a, ye(x.value, t, r, n, i));
3975
3996
  continue;
3976
3997
  }
3977
- if (mr(h)) {
3998
+ if (pr(h)) {
3978
3999
  var x = h.options["=".concat(f)];
3979
4000
  if (!x) {
3980
4001
  if (!Intl.PluralRules)
3981
- throw new Be(`Intl.PluralRules is not available in this environment.
4002
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3982
4003
  Try polyfilling it using "@formatjs/intl-pluralrules"
3983
- `, q.MISSING_INTL_API, s);
3984
- var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3985
- x = h.options[w] || h.options.other;
4004
+ `, J.MISSING_INTL_API, s);
4005
+ var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
4006
+ x = h.options[E] || h.options.other;
3986
4007
  }
3987
4008
  if (!x)
3988
- throw new Nt(h.value, f, Object.keys(h.options), s);
4009
+ throw new $t(h.value, f, Object.keys(h.options), s);
3989
4010
  a.push.apply(a, ye(x.value, t, r, n, i, f - (h.offset || 0)));
3990
4011
  continue;
3991
4012
  }
3992
4013
  }
3993
- return Ri(a);
4014
+ return Gi(a);
3994
4015
  }
3995
- function Gi(e, t) {
3996
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3997
- return r[n] = E(E({}, e[n]), t[n] || {}), r;
4016
+ function Di(e, t) {
4017
+ return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4018
+ return r[n] = L(L({}, e[n]), t[n] || {}), r;
3998
4019
  }, {})) : e;
3999
4020
  }
4000
- function Ui(e, t) {
4021
+ function Fi(e, t) {
4001
4022
  return t ? Object.keys(e).reduce(function(r, n) {
4002
- return r[n] = Gi(e[n], t[n]), r;
4003
- }, E({}, e)) : e;
4023
+ return r[n] = Di(e[n], t[n]), r;
4024
+ }, L({}, e)) : e;
4004
4025
  }
4005
- function Ue(e) {
4026
+ function Fe(e) {
4006
4027
  return {
4007
4028
  create: function() {
4008
4029
  return {
@@ -4016,39 +4037,39 @@ function Ue(e) {
4016
4037
  }
4017
4038
  };
4018
4039
  }
4019
- function Di(e) {
4040
+ function ji(e) {
4020
4041
  return e === void 0 && (e = {
4021
4042
  number: {},
4022
4043
  dateTime: {},
4023
4044
  pluralRules: {}
4024
4045
  }), {
4025
- getNumberFormat: Re(function() {
4046
+ getNumberFormat: Ge(function() {
4026
4047
  for (var t, r = [], n = 0; n < arguments.length; n++)
4027
4048
  r[n] = arguments[n];
4028
- return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
4049
+ return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
4029
4050
  }, {
4030
- cache: Ue(e.number),
4031
- strategy: $e.variadic
4051
+ cache: Fe(e.number),
4052
+ strategy: Ue.variadic
4032
4053
  }),
4033
- getDateTimeFormat: Re(function() {
4054
+ getDateTimeFormat: Ge(function() {
4034
4055
  for (var t, r = [], n = 0; n < arguments.length; n++)
4035
4056
  r[n] = arguments[n];
4036
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
4057
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
4037
4058
  }, {
4038
- cache: Ue(e.dateTime),
4039
- strategy: $e.variadic
4059
+ cache: Fe(e.dateTime),
4060
+ strategy: Ue.variadic
4040
4061
  }),
4041
- getPluralRules: Re(function() {
4062
+ getPluralRules: Ge(function() {
4042
4063
  for (var t, r = [], n = 0; n < arguments.length; n++)
4043
4064
  r[n] = arguments[n];
4044
- return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
4065
+ return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
4045
4066
  }, {
4046
- cache: Ue(e.pluralRules),
4047
- strategy: $e.variadic
4067
+ cache: Fe(e.pluralRules),
4068
+ strategy: Ue.variadic
4048
4069
  })
4049
4070
  };
4050
4071
  }
4051
- var Fi = (
4072
+ var ki = (
4052
4073
  /** @class */
4053
4074
  function() {
4054
4075
  function e(t, r, n, i) {
@@ -4080,13 +4101,13 @@ var Fi = (
4080
4101
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4081
4102
  var s = i || {};
4082
4103
  s.formatters;
4083
- var a = _n(s, ["formatters"]);
4084
- this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
4104
+ var a = Yn(s, ["formatters"]);
4105
+ this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
4085
4106
  } else
4086
4107
  this.ast = t;
4087
4108
  if (!Array.isArray(this.ast))
4088
4109
  throw new TypeError("A message must be provided as a String or AST.");
4089
- this.formats = Ui(e.formats, n), this.formatters = i && i.formatters || Di(this.formatterCache);
4110
+ this.formats = Fi(e.formats, n), this.formatters = i && i.formatters || ji(this.formatterCache);
4090
4111
  }
4091
4112
  return Object.defineProperty(e, "defaultLocale", {
4092
4113
  get: function() {
@@ -4099,7 +4120,7 @@ var Fi = (
4099
4120
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4100
4121
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4101
4122
  }
4102
- }, e.__parse = Mi, e.formats = {
4123
+ }, e.__parse = Li, e.formats = {
4103
4124
  number: {
4104
4125
  integer: {
4105
4126
  maximumFractionDigits: 0
@@ -4160,7 +4181,7 @@ var Fi = (
4160
4181
  }, e;
4161
4182
  }()
4162
4183
  );
4163
- function ji(e, t) {
4184
+ function Vi(e, t) {
4164
4185
  if (t == null)
4165
4186
  return;
4166
4187
  if (t in e)
@@ -4181,92 +4202,92 @@ function ji(e, t) {
4181
4202
  n = void 0;
4182
4203
  return n;
4183
4204
  }
4184
- const G = {}, ki = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), wr = (e, t) => {
4205
+ const G = {}, Xi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Sr = (e, t) => {
4185
4206
  if (t == null)
4186
4207
  return;
4187
4208
  if (t in G && e in G[t])
4188
4209
  return G[t][e];
4189
- const r = Ce(t);
4210
+ const r = Oe(t);
4190
4211
  for (let n = 0; n < r.length; n++) {
4191
- const i = r[n], o = Xi(i, e);
4212
+ const i = r[n], o = Wi(i, e);
4192
4213
  if (o)
4193
- return ki(e, t, o);
4214
+ return Xi(e, t, o);
4194
4215
  }
4195
4216
  };
4196
- let ut;
4197
- const he = Ae({});
4198
- function Vi(e) {
4199
- return ut[e] || null;
4217
+ let ht;
4218
+ const he = Be({});
4219
+ function zi(e) {
4220
+ return ht[e] || null;
4200
4221
  }
4201
- function Sr(e) {
4202
- return e in ut;
4222
+ function Tr(e) {
4223
+ return e in ht;
4203
4224
  }
4204
- function Xi(e, t) {
4205
- if (!Sr(e))
4225
+ function Wi(e, t) {
4226
+ if (!Tr(e))
4206
4227
  return null;
4207
- const r = Vi(e);
4208
- return ji(r, t);
4228
+ const r = zi(e);
4229
+ return Vi(r, t);
4209
4230
  }
4210
- function zi(e) {
4231
+ function Zi(e) {
4211
4232
  if (e == null)
4212
4233
  return;
4213
- const t = Ce(e);
4234
+ const t = Oe(e);
4214
4235
  for (let r = 0; r < t.length; r++) {
4215
4236
  const n = t[r];
4216
- if (Sr(n))
4237
+ if (Tr(n))
4217
4238
  return n;
4218
4239
  }
4219
4240
  }
4220
- function Tr(e, ...t) {
4241
+ function Hr(e, ...t) {
4221
4242
  delete G[e], he.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
4222
4243
  }
4223
- K(
4244
+ Y(
4224
4245
  [he],
4225
4246
  ([e]) => Object.keys(e)
4226
4247
  );
4227
- he.subscribe((e) => ut = e);
4248
+ he.subscribe((e) => ht = e);
4228
4249
  const ve = {};
4229
- function Wi(e, t) {
4250
+ function Qi(e, t) {
4230
4251
  ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4231
4252
  }
4232
- function Hr(e) {
4253
+ function Ar(e) {
4233
4254
  return ve[e];
4234
4255
  }
4235
- function Zi(e) {
4236
- return Ce(e).map((t) => {
4237
- const r = Hr(t);
4256
+ function Ji(e) {
4257
+ return Oe(e).map((t) => {
4258
+ const r = Ar(t);
4238
4259
  return [t, r ? [...r] : []];
4239
4260
  }).filter(([, t]) => t.length > 0);
4240
4261
  }
4241
- function tt(e) {
4242
- return e == null ? !1 : Ce(e).some(
4262
+ function ot(e) {
4263
+ return e == null ? !1 : Oe(e).some(
4243
4264
  (t) => {
4244
4265
  var r;
4245
- return (r = Hr(t)) == null ? void 0 : r.size;
4266
+ return (r = Ar(t)) == null ? void 0 : r.size;
4246
4267
  }
4247
4268
  );
4248
4269
  }
4249
- function Qi(e, t) {
4270
+ function qi(e, t) {
4250
4271
  return Promise.all(
4251
- t.map((n) => (Wi(e, n), n().then((i) => i.default || i)))
4252
- ).then((n) => Tr(e, ...n));
4253
- }
4254
- const ne = {};
4255
- function Ar(e) {
4256
- if (!tt(e))
4257
- return e in ne ? ne[e] : Promise.resolve();
4258
- const t = Zi(e);
4259
- return ne[e] = Promise.all(
4272
+ t.map((n) => (Qi(e, n), n().then((i) => i.default || i)))
4273
+ ).then((n) => Hr(e, ...n));
4274
+ }
4275
+ const re = {};
4276
+ function Br(e) {
4277
+ if (!ot(e))
4278
+ return e in re ? re[e] : Promise.resolve();
4279
+ const t = Ji(e);
4280
+ return re[e] = Promise.all(
4260
4281
  t.map(
4261
- ([r, n]) => Qi(r, n)
4282
+ ([r, n]) => qi(r, n)
4262
4283
  )
4263
4284
  ).then(() => {
4264
- if (tt(e))
4265
- return Ar(e);
4266
- delete ne[e];
4267
- }), ne[e];
4285
+ if (ot(e))
4286
+ return Br(e);
4287
+ delete re[e];
4288
+ }), re[e];
4268
4289
  }
4269
- const Ji = {
4290
+ const Yi = {
4270
4291
  number: {
4271
4292
  scientific: { notation: "scientific" },
4272
4293
  engineering: { notation: "engineering" },
@@ -4295,135 +4316,135 @@ const Ji = {
4295
4316
  timeZoneName: "short"
4296
4317
  }
4297
4318
  }
4298
- }, qi = {
4319
+ }, Ki = {
4299
4320
  fallbackLocale: null,
4300
4321
  loadingDelay: 200,
4301
- formats: Ji,
4322
+ formats: Yi,
4302
4323
  warnOnMissingMessages: !0,
4303
4324
  handleMissingMessage: void 0,
4304
4325
  ignoreTag: !0
4305
- }, Yi = qi;
4306
- function Y() {
4307
- return Yi;
4326
+ }, eo = Ki;
4327
+ function q() {
4328
+ return eo;
4308
4329
  }
4309
- const De = Ae(!1);
4310
- var Ki = Object.defineProperty, eo = Object.defineProperties, to = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, ro = Object.prototype.hasOwnProperty, no = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, io = (e, t) => {
4330
+ const je = Be(!1);
4331
+ var to = Object.defineProperty, ro = Object.defineProperties, no = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, io = Object.prototype.hasOwnProperty, oo = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, so = (e, t) => {
4311
4332
  for (var r in t || (t = {}))
4312
- ro.call(t, r) && Rt(e, r, t[r]);
4313
- if (Lt)
4314
- for (var r of Lt(t))
4315
- no.call(t, r) && Rt(e, r, t[r]);
4333
+ io.call(t, r) && Gt(e, r, t[r]);
4334
+ if (Rt)
4335
+ for (var r of Rt(t))
4336
+ oo.call(t, r) && Gt(e, r, t[r]);
4316
4337
  return e;
4317
- }, oo = (e, t) => eo(e, to(t));
4318
- let rt;
4319
- const we = Ae(null);
4320
- function $t(e) {
4338
+ }, ao = (e, t) => ro(e, no(t));
4339
+ let st;
4340
+ const Se = Be(null);
4341
+ function Ut(e) {
4321
4342
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4322
4343
  }
4323
- function Ce(e, t = Y().fallbackLocale) {
4324
- const r = $t(e);
4325
- return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
4344
+ function Oe(e, t = q().fallbackLocale) {
4345
+ const r = Ut(e);
4346
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
4326
4347
  }
4327
4348
  function F() {
4328
- return rt != null ? rt : void 0;
4349
+ return st != null ? st : void 0;
4329
4350
  }
4330
- we.subscribe((e) => {
4331
- rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4351
+ Se.subscribe((e) => {
4352
+ st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4332
4353
  });
4333
- const so = (e) => {
4334
- if (e && zi(e) && tt(e)) {
4335
- const { loadingDelay: t } = Y();
4354
+ const uo = (e) => {
4355
+ if (e && Zi(e) && ot(e)) {
4356
+ const { loadingDelay: t } = q();
4336
4357
  let r;
4337
4358
  return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
4338
- () => De.set(!0),
4359
+ () => je.set(!0),
4339
4360
  t
4340
- ) : De.set(!0), Ar(e).then(() => {
4341
- we.set(e);
4361
+ ) : je.set(!0), Br(e).then(() => {
4362
+ Se.set(e);
4342
4363
  }).finally(() => {
4343
- clearTimeout(r), De.set(!1);
4364
+ clearTimeout(r), je.set(!1);
4344
4365
  });
4345
4366
  }
4346
- return we.set(e);
4347
- }, ee = oo(io({}, we), {
4348
- set: so
4349
- }), Pe = (e) => {
4367
+ return Se.set(e);
4368
+ }, K = ao(so({}, Se), {
4369
+ set: uo
4370
+ }), Ie = (e) => {
4350
4371
  const t = /* @__PURE__ */ Object.create(null);
4351
4372
  return (n) => {
4352
4373
  const i = JSON.stringify(n);
4353
4374
  return i in t ? t[i] : t[i] = e(n);
4354
4375
  };
4355
4376
  };
4356
- var ao = Object.defineProperty, Se = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4377
+ var lo = Object.defineProperty, Te = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4357
4378
  for (var r in t || (t = {}))
4358
- Br.call(t, r) && Gt(e, r, t[r]);
4359
- if (Se)
4360
- for (var r of Se(t))
4361
- Cr.call(t, r) && Gt(e, r, t[r]);
4379
+ Cr.call(t, r) && Dt(e, r, t[r]);
4380
+ if (Te)
4381
+ for (var r of Te(t))
4382
+ Pr.call(t, r) && Dt(e, r, t[r]);
4362
4383
  return e;
4363
- }, te = (e, t) => {
4384
+ }, ee = (e, t) => {
4364
4385
  var r = {};
4365
4386
  for (var n in e)
4366
- Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4367
- if (e != null && Se)
4368
- for (var n of Se(e))
4369
- t.indexOf(n) < 0 && Cr.call(e, n) && (r[n] = e[n]);
4387
+ Cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4388
+ if (e != null && Te)
4389
+ for (var n of Te(e))
4390
+ t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
4370
4391
  return r;
4371
4392
  };
4372
- const ae = (e, t) => {
4373
- const { formats: r } = Y();
4393
+ const se = (e, t) => {
4394
+ const { formats: r } = q();
4374
4395
  if (e in r && t in r[e])
4375
4396
  return r[e][t];
4376
4397
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4377
- }, uo = Pe(
4398
+ }, ho = Ie(
4378
4399
  (e) => {
4379
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4400
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4380
4401
  if (r == null)
4381
4402
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4382
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4403
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4383
4404
  }
4384
- ), lo = Pe(
4405
+ ), co = Ie(
4385
4406
  (e) => {
4386
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4407
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4387
4408
  if (r == null)
4388
4409
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4389
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4410
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4390
4411
  }
4391
- ), ho = Pe(
4412
+ ), fo = Ie(
4392
4413
  (e) => {
4393
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4414
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4394
4415
  if (r == null)
4395
4416
  throw new Error(
4396
4417
  '[svelte-i18n] A "locale" must be set to format time values'
4397
4418
  );
4398
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4419
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4399
4420
  }
4400
- ), co = (e = {}) => {
4421
+ ), mo = (e = {}) => {
4401
4422
  var t = e, {
4402
4423
  locale: r = F()
4403
- } = t, n = te(t, [
4424
+ } = t, n = ee(t, [
4404
4425
  "locale"
4405
4426
  ]);
4406
- return uo(lt({ locale: r }, n));
4407
- }, fo = (e = {}) => {
4427
+ return ho(ct({ locale: r }, n));
4428
+ }, po = (e = {}) => {
4408
4429
  var t = e, {
4409
4430
  locale: r = F()
4410
- } = t, n = te(t, [
4431
+ } = t, n = ee(t, [
4411
4432
  "locale"
4412
4433
  ]);
4413
- return lo(lt({ locale: r }, n));
4414
- }, mo = (e = {}) => {
4434
+ return co(ct({ locale: r }, n));
4435
+ }, bo = (e = {}) => {
4415
4436
  var t = e, {
4416
4437
  locale: r = F()
4417
- } = t, n = te(t, [
4438
+ } = t, n = ee(t, [
4418
4439
  "locale"
4419
4440
  ]);
4420
- return ho(lt({ locale: r }, n));
4421
- }, po = Pe(
4441
+ return fo(ct({ locale: r }, n));
4442
+ }, go = Ie(
4422
4443
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4423
- (e, t = F()) => new Fi(e, t, Y().formats, {
4424
- ignoreTag: Y().ignoreTag
4444
+ (e, t = F()) => new ki(e, t, q().formats, {
4445
+ ignoreTag: q().ignoreTag
4425
4446
  })
4426
- ), bo = (e, t = {}) => {
4447
+ ), yo = (e, t = {}) => {
4427
4448
  var r, n, i, o;
4428
4449
  let s = t;
4429
4450
  typeof e == "object" && (s = e, e = s.id);
@@ -4436,9 +4457,9 @@ const ae = (e, t) => {
4436
4457
  throw new Error(
4437
4458
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4438
4459
  );
4439
- let h = wr(e, l);
4460
+ let h = Sr(e, l);
4440
4461
  if (!h)
4441
- h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4462
+ h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4442
4463
  else if (typeof h != "string")
4443
4464
  return console.warn(
4444
4465
  `[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.`
@@ -4447,7 +4468,7 @@ const ae = (e, t) => {
4447
4468
  return h;
4448
4469
  let c = h;
4449
4470
  try {
4450
- c = po(h, l).format(a);
4471
+ c = go(h, l).format(a);
4451
4472
  } catch (f) {
4452
4473
  f instanceof Error && console.warn(
4453
4474
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4455,20 +4476,20 @@ const ae = (e, t) => {
4455
4476
  );
4456
4477
  }
4457
4478
  return c;
4458
- }, go = (e, t) => mo(t).format(e), yo = (e, t) => fo(t).format(e), vo = (e, t) => co(t).format(e), _o = (e, t = F()) => wr(e, t), xo = K([ee, he], () => bo);
4459
- K([ee], () => go);
4460
- K([ee], () => yo);
4461
- K([ee], () => vo);
4462
- K([ee, he], () => _o);
4479
+ }, vo = (e, t) => bo(t).format(e), _o = (e, t) => po(t).format(e), xo = (e, t) => mo(t).format(e), Eo = (e, t = F()) => Sr(e, t), wo = Y([K, he], () => yo);
4480
+ Y([K], () => vo);
4481
+ Y([K], () => _o);
4482
+ Y([K], () => xo);
4483
+ Y([K, he], () => Eo);
4463
4484
  window.emWidgets = { topic: Nn };
4464
- const Eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4465
- function wo(e, t) {
4485
+ const So = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4486
+ function To(e, t) {
4466
4487
  if (e) {
4467
4488
  const r = document.createElement("style");
4468
4489
  r.innerHTML = t, e.appendChild(r);
4469
4490
  }
4470
4491
  }
4471
- function So(e, t) {
4492
+ function Ho(e, t) {
4472
4493
  const r = new URL(t);
4473
4494
  fetch(r.href).then((n) => n.text()).then((n) => {
4474
4495
  const i = document.createElement("style");
@@ -4477,7 +4498,7 @@ function So(e, t) {
4477
4498
  console.error("There was an error while trying to load client styling from URL", n);
4478
4499
  });
4479
4500
  }
4480
- function To(e, t, r) {
4501
+ function Ao(e, t, r) {
4481
4502
  if (window.emMessageBus) {
4482
4503
  const n = document.createElement("style");
4483
4504
  window.emMessageBus.subscribe(t, (i) => {
@@ -4485,13 +4506,13 @@ function To(e, t, r) {
4485
4506
  });
4486
4507
  }
4487
4508
  }
4488
- function Ut(e, t) {
4489
- Tr(e, t);
4509
+ function Ft(e, t) {
4510
+ Hr(e, t);
4490
4511
  }
4491
- function Ho(e) {
4492
- ee.set(e);
4512
+ function Bo(e) {
4513
+ K.set(e);
4493
4514
  }
4494
- const Dt = {
4515
+ const jt = {
4495
4516
  en: {
4496
4517
  cancel: "Cancel",
4497
4518
  confirm: "Confirm"
@@ -4537,18 +4558,18 @@ const Dt = {
4537
4558
  confirm: "Confirm"
4538
4559
  }
4539
4560
  };
4540
- function Ao(e) {
4541
- Zr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4542
- }
4543
- const Bo = (e) => ({}), Ft = (e) => ({});
4544
4561
  function Co(e) {
4562
+ Qr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4563
+ }
4564
+ const Po = (e) => ({}), kt = (e) => ({});
4565
+ function Oo(e) {
4545
4566
  let t, r;
4546
4567
  return {
4547
4568
  c() {
4548
- t = bt("svg"), r = bt("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
4569
+ t = yt("svg"), r = yt("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");
4549
4570
  },
4550
4571
  m(n, i) {
4551
- ue(n, t, i), C(t, r);
4572
+ ae(n, t, i), C(t, r);
4552
4573
  },
4553
4574
  p: N,
4554
4575
  d(n) {
@@ -4556,21 +4577,21 @@ function Co(e) {
4556
4577
  }
4557
4578
  };
4558
4579
  }
4559
- function jt(e) {
4580
+ function Vt(e) {
4560
4581
  let t, r, n;
4561
4582
  return {
4562
4583
  c() {
4563
- t = M("div"), r = M("h2"), n = le(
4584
+ t = M("div"), r = M("h2"), n = ue(
4564
4585
  /*modaltitle*/
4565
4586
  e[1]
4566
4587
  ), H(t, "class", "GeneralConfirmationTitle");
4567
4588
  },
4568
4589
  m(i, o) {
4569
- ue(i, t, o), C(t, r), C(r, n);
4590
+ ae(i, t, o), C(t, r), C(r, n);
4570
4591
  },
4571
4592
  p(i, o) {
4572
4593
  o & /*modaltitle*/
4573
- 2 && ot(
4594
+ 2 && lt(
4574
4595
  n,
4575
4596
  /*modaltitle*/
4576
4597
  i[1]
@@ -4581,17 +4602,17 @@ function jt(e) {
4581
4602
  }
4582
4603
  };
4583
4604
  }
4584
- function kt(e) {
4605
+ function Xt(e) {
4585
4606
  let t, r = (
4586
4607
  /*$_*/
4587
4608
  e[4]("cancel") + ""
4588
4609
  ), n, i, o;
4589
4610
  return {
4590
4611
  c() {
4591
- t = M("button"), n = le(r), H(t, "class", "GeneralCancelButton");
4612
+ t = M("button"), n = ue(r), H(t, "class", "GeneralCancelButton");
4592
4613
  },
4593
4614
  m(s, a) {
4594
- ue(s, t, a), C(t, n), i || (o = Fe(
4615
+ ae(s, t, a), C(t, n), i || (o = ke(
4595
4616
  t,
4596
4617
  "click",
4597
4618
  /*click_handler*/
@@ -4601,52 +4622,52 @@ function kt(e) {
4601
4622
  p(s, a) {
4602
4623
  a & /*$_*/
4603
4624
  16 && r !== (r = /*$_*/
4604
- s[4]("cancel") + "") && ot(n, r);
4625
+ s[4]("cancel") + "") && lt(n, r);
4605
4626
  },
4606
4627
  d(s) {
4607
4628
  s && D(t), i = !1, o();
4608
4629
  }
4609
4630
  };
4610
4631
  }
4611
- function Po(e) {
4632
+ function Io(e) {
4612
4633
  let t, r, n, i, o, s, a, l, u, h, c = (
4613
4634
  /*$_*/
4614
4635
  e[4]("confirm") + ""
4615
- ), f, d, m, p;
4636
+ ), f, p, m, d;
4616
4637
  const g = (
4617
4638
  /*#slots*/
4618
4639
  e[16].close
4619
- ), A = jr(
4640
+ ), A = kr(
4620
4641
  g,
4621
4642
  e,
4622
4643
  /*$$scope*/
4623
4644
  e[15],
4624
- Ft
4625
- ), T = A || Co();
4645
+ kt
4646
+ ), T = A || Oo();
4626
4647
  let x = (
4627
4648
  /*modaltitle*/
4628
- e[1] && jt(e)
4629
- ), w = (
4649
+ e[1] && Vt(e)
4650
+ ), E = (
4630
4651
  /*hascancelbutton*/
4631
- e[2] && kt(e)
4652
+ e[2] && Xt(e)
4632
4653
  );
4633
4654
  return {
4634
4655
  c() {
4635
- t = M("div"), r = M("div"), n = M("span"), T && T.c(), i = fe(), x && x.c(), o = fe(), s = M("div"), a = fe(), l = M("div"), w && w.c(), u = fe(), h = M("button"), f = le(c), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(h, "class", "GeneralConfirmButton"), H(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4656
+ t = M("div"), r = M("div"), n = M("span"), T && T.c(), i = fe(), x && x.c(), o = fe(), s = M("div"), a = fe(), l = M("div"), E && E.c(), u = fe(), h = M("button"), f = ue(c), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(h, "class", "GeneralConfirmButton"), H(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4636
4657
  (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4637
4658
  (e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4638
4659
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4639
4660
  },
4640
4661
  m(b, B) {
4641
- ue(b, t, B), C(t, r), C(r, n), T && T.m(n, null), C(r, i), x && x.m(r, null), C(r, o), C(r, s), s.innerHTML = /*modaltext*/
4642
- e[0], C(r, a), C(r, l), w && w.m(l, null), C(l, u), C(l, h), C(h, f), e[19](t), d = !0, m || (p = [
4643
- Fe(
4662
+ ae(b, t, B), C(t, r), C(r, n), T && T.m(n, null), C(r, i), x && x.m(r, null), C(r, o), C(r, s), s.innerHTML = /*modaltext*/
4663
+ e[0], C(r, a), C(r, l), E && E.m(l, null), C(l, u), C(l, h), C(h, f), e[19](t), p = !0, m || (d = [
4664
+ ke(
4644
4665
  n,
4645
4666
  "click",
4646
4667
  /*close*/
4647
4668
  e[6]
4648
4669
  ),
4649
- Fe(
4670
+ ke(
4650
4671
  h,
4651
4672
  "click",
4652
4673
  /*click_handler_1*/
@@ -4655,82 +4676,82 @@ function Po(e) {
4655
4676
  ], m = !0);
4656
4677
  },
4657
4678
  p(b, [B]) {
4658
- A && A.p && (!d || B & /*$$scope*/
4659
- 32768) && Vr(
4679
+ A && A.p && (!p || B & /*$$scope*/
4680
+ 32768) && Xr(
4660
4681
  A,
4661
4682
  g,
4662
4683
  b,
4663
4684
  /*$$scope*/
4664
4685
  b[15],
4665
- d ? kr(
4686
+ p ? Vr(
4666
4687
  g,
4667
4688
  /*$$scope*/
4668
4689
  b[15],
4669
4690
  B,
4670
- Bo
4671
- ) : Xr(
4691
+ Po
4692
+ ) : zr(
4672
4693
  /*$$scope*/
4673
4694
  b[15]
4674
4695
  ),
4675
- Ft
4696
+ kt
4676
4697
  ), /*modaltitle*/
4677
- b[1] ? x ? x.p(b, B) : (x = jt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!d || B & /*modaltext*/
4698
+ b[1] ? x ? x.p(b, B) : (x = Vt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!p || B & /*modaltext*/
4678
4699
  1) && (s.innerHTML = /*modaltext*/
4679
4700
  b[0]), /*hascancelbutton*/
4680
- b[2] ? w ? w.p(b, B) : (w = kt(b), w.c(), w.m(l, u)) : w && (w.d(1), w = null), (!d || B & /*$_*/
4701
+ b[2] ? E ? E.p(b, B) : (E = Xt(b), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!p || B & /*$_*/
4681
4702
  16) && c !== (c = /*$_*/
4682
- b[4]("confirm") + "") && ot(f, c);
4703
+ b[4]("confirm") + "") && lt(f, c);
4683
4704
  },
4684
4705
  i(b) {
4685
- d || (qt(T, b), d = !0);
4706
+ p || (Kt(T, b), p = !0);
4686
4707
  },
4687
4708
  o(b) {
4688
- cn(T, b), d = !1;
4709
+ fn(T, b), p = !1;
4689
4710
  },
4690
4711
  d(b) {
4691
- b && D(t), T && T.d(b), x && x.d(), w && w.d(), e[19](null), m = !1, U(p);
4712
+ b && D(t), T && T.d(b), x && x.d(), E && E.d(), e[19](null), m = !1, U(d);
4692
4713
  }
4693
4714
  };
4694
4715
  }
4695
- function Oo(e, t, r) {
4716
+ function Mo(e, t, r) {
4696
4717
  let n;
4697
- Fr(e, xo, (v) => r(4, n = v));
4698
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: m = "" } = t, { mbsource: p } = t, g, A = window.navigator.userAgent, T = Eo(A) !== "PC";
4718
+ jr(e, wo, (v) => r(4, n = v));
4719
+ let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: m = "" } = t, { mbsource: d } = t, g, A = window.navigator.userAgent, T = So(A) !== "PC";
4699
4720
  const x = () => {
4700
4721
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4701
- }, w = (v) => {
4722
+ }, E = (v) => {
4702
4723
  v === "confirm" && u && window.postMessage(u, window.location.href), v === "cancel" && h && window.postMessage(h, window.location.href), x();
4703
4724
  }, b = () => {
4704
4725
  fetch(m).then((j) => j.json()).then((j) => {
4705
- Object.keys(j).forEach((ht) => {
4706
- Ut(ht, j[ht]);
4726
+ Object.keys(j).forEach((ft) => {
4727
+ Ft(ft, j[ft]);
4707
4728
  });
4708
4729
  }).catch((j) => {
4709
4730
  console.log(j);
4710
4731
  });
4711
4732
  };
4712
- Object.keys(Dt).forEach((v) => {
4713
- Ut(v, Dt[v]);
4733
+ Object.keys(jt).forEach((v) => {
4734
+ Ft(v, jt[v]);
4714
4735
  });
4715
4736
  const B = () => {
4716
- Ho(c);
4737
+ Bo(c);
4717
4738
  };
4718
- on(() => () => {
4739
+ sn(() => () => {
4719
4740
  });
4720
- const ce = () => w("cancel"), Or = () => w("confirm");
4721
- function Ir(v) {
4722
- je[v ? "unshift" : "push"](() => {
4741
+ const ce = () => E("cancel"), Ir = () => E("confirm");
4742
+ function Mr(v) {
4743
+ Ve[v ? "unshift" : "push"](() => {
4723
4744
  g = v, r(3, g);
4724
4745
  });
4725
4746
  }
4726
4747
  return e.$$set = (v) => {
4727
- "modaltext" in v && r(0, s = v.modaltext), "modaltitle" in v && r(1, a = v.modaltitle), "hascancelbutton" in v && r(2, l = v.hascancelbutton), "modalconfirmevent" in v && r(8, u = v.modalconfirmevent), "modalcancelevent" in v && r(9, h = v.modalcancelevent), "lang" in v && r(10, c = v.lang), "clientstyling" in v && r(11, f = v.clientstyling), "clientstylingurl" in v && r(12, d = v.clientstylingurl), "translationurl" in v && r(13, m = v.translationurl), "mbsource" in v && r(14, p = v.mbsource), "$$scope" in v && r(15, o = v.$$scope);
4748
+ "modaltext" in v && r(0, s = v.modaltext), "modaltitle" in v && r(1, a = v.modaltitle), "hascancelbutton" in v && r(2, l = v.hascancelbutton), "modalconfirmevent" in v && r(8, u = v.modalconfirmevent), "modalcancelevent" in v && r(9, h = v.modalcancelevent), "lang" in v && r(10, c = v.lang), "clientstyling" in v && r(11, f = v.clientstyling), "clientstylingurl" in v && r(12, p = v.clientstylingurl), "translationurl" in v && r(13, m = v.translationurl), "mbsource" in v && r(14, d = v.mbsource), "$$scope" in v && r(15, o = v.$$scope);
4728
4749
  }, e.$$.update = () => {
4729
4750
  e.$$.dirty & /*modaltext, lang*/
4730
4751
  1025 && s && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4731
- 2056 && f && g && wo(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4732
- 4104 && d && g && So(g, d), e.$$.dirty & /*mbsource, customStylingContainer*/
4733
- 16392 && p && g && To(g, `${p}.Style`), e.$$.dirty & /*translationurl*/
4752
+ 2056 && f && g && To(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4753
+ 4104 && p && g && Ho(g, p), e.$$.dirty & /*mbsource, customStylingContainer*/
4754
+ 16392 && d && g && Ao(g, `${d}.Style`), e.$$.dirty & /*translationurl*/
4734
4755
  8192 && m && b();
4735
4756
  }, [
4736
4757
  s,
@@ -4740,29 +4761,29 @@ function Oo(e, t, r) {
4740
4761
  n,
4741
4762
  T,
4742
4763
  x,
4743
- w,
4764
+ E,
4744
4765
  u,
4745
4766
  h,
4746
4767
  c,
4747
4768
  f,
4748
- d,
4749
- m,
4750
4769
  p,
4770
+ m,
4771
+ d,
4751
4772
  o,
4752
4773
  i,
4753
4774
  ce,
4754
- Or,
4755
- Ir
4775
+ Ir,
4776
+ Mr
4756
4777
  ];
4757
4778
  }
4758
- class Pr extends yn {
4779
+ class Or extends vn {
4759
4780
  constructor(t) {
4760
- super(), bn(
4781
+ super(), gn(
4761
4782
  this,
4762
4783
  t,
4763
- Oo,
4764
- Po,
4765
- Xt,
4784
+ Mo,
4785
+ Io,
4786
+ Wt,
4766
4787
  {
4767
4788
  modaltext: 0,
4768
4789
  modaltitle: 1,
@@ -4775,7 +4796,7 @@ class Pr extends yn {
4775
4796
  translationurl: 13,
4776
4797
  mbsource: 14
4777
4798
  },
4778
- Ao
4799
+ Co
4779
4800
  );
4780
4801
  }
4781
4802
  get modaltext() {
@@ -4839,57 +4860,57 @@ class Pr extends yn {
4839
4860
  this.$$set({ mbsource: t }), I();
4840
4861
  }
4841
4862
  }
4842
- gn(Pr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4843
- const jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4863
+ yn(Or, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4864
+ const Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4844
4865
  __proto__: null,
4845
- default: Pr
4866
+ default: Or
4846
4867
  }, Symbol.toStringTag, { value: "Module" }));
4847
4868
  export {
4848
- ee as $,
4849
- wo as A,
4850
- Fo as B,
4851
- Rn as C,
4852
- Tr as D,
4869
+ K as $,
4870
+ yn as A,
4871
+ ko as B,
4872
+ $n as C,
4873
+ Hr as D,
4853
4874
  N as E,
4854
- Fr as F,
4855
- Eo as G,
4856
- Do as H,
4857
- fe as I,
4858
- le as J,
4859
- bt as K,
4860
- Ro as L,
4861
- Fe as M,
4862
- ot as N,
4863
- Mo as O,
4864
- U as P,
4865
- Lo as Q,
4866
- xo as R,
4867
- yn as S,
4868
- jo as T,
4869
- bn as a,
4870
- Zr as b,
4871
- gn as c,
4872
- ue as d,
4873
- No as e,
4875
+ jr as F,
4876
+ So as G,
4877
+ jo as H,
4878
+ Lo as I,
4879
+ fe as J,
4880
+ Ro as K,
4881
+ U as L,
4882
+ lt as M,
4883
+ Go as N,
4884
+ ke as O,
4885
+ ue as P,
4886
+ yt as Q,
4887
+ wo as R,
4888
+ vn as S,
4889
+ Vo as T,
4890
+ gn as a,
4891
+ Qr as b,
4892
+ Kt as c,
4893
+ D as d,
4894
+ Do as e,
4874
4895
  I as f,
4875
- cn as g,
4876
- Go as h,
4877
- Gr as i,
4878
- D as j,
4879
- So as k,
4880
- To as l,
4881
- jr as m,
4882
- M as n,
4883
- on as o,
4884
- H as p,
4885
- C as q,
4886
- Xr as r,
4887
- Xt as s,
4888
- qt as t,
4889
- Vr as u,
4890
- kr as v,
4891
- Ee as w,
4892
- Uo as x,
4893
- $o as y,
4894
- je as z
4896
+ ae as g,
4897
+ $o as h,
4898
+ Ur as i,
4899
+ kr as j,
4900
+ Fo as k,
4901
+ Ee as l,
4902
+ zr as m,
4903
+ Vr as n,
4904
+ sn as o,
4905
+ C as p,
4906
+ M as q,
4907
+ H as r,
4908
+ Wt as s,
4909
+ fn as t,
4910
+ Xr as u,
4911
+ Ve as v,
4912
+ Uo as w,
4913
+ To as x,
4914
+ Ho as y,
4915
+ Ao as z
4895
4916
  };