@everymatrix/player-account-product-restriction 1.76.13 → 1.76.14

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