@everymatrix/cashier-receipt-page-nd 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/components/{CashierError-D8uXC0d6.js → CashierError-2JTB_G8Y.js} +829 -797
  2. package/components/CashierError-BLpMSo_b.cjs +21 -0
  3. package/components/{CashierError-CNXQNZZh.js → CashierError-DEbZ5be6.js} +808 -776
  4. package/components/{CashierReceiptPage-I7pC1qy8.js → CashierReceiptPage-BoVGREGa.js} +535 -584
  5. package/components/{CashierReceiptPage-DU5vkhNt.js → CashierReceiptPage-DF6_dEIY.js} +539 -588
  6. package/components/{CashierReceiptPage-BEHtPF47.cjs → CashierReceiptPage-sj16x01S.cjs} +3 -16
  7. package/es2015/cashier-receipt-page-nd.cjs +1 -1
  8. package/es2015/cashier-receipt-page-nd.js +1 -1
  9. package/esnext/cashier-receipt-page-nd.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/index-97d17652-DvplcHtm.js +558 -0
  12. package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
  13. package/stencil/index-97d17652-p-iQtjus.js +542 -0
  14. package/stencil/{ui-image-BX-FBhad.cjs → ui-image-BDXyFHck.cjs} +1 -1
  15. package/stencil/{ui-image-CP8Lp7fB.js → ui-image-Cc8wLmDe.js} +1 -1
  16. package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
  17. package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
  18. package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
  19. package/stencil/{ui-image-Ch-GHki1.js → ui-image-wH6lu7wS.js} +1 -1
  20. package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BESQEo1l.js} +2 -2
  21. package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BfZmduAK.js} +2 -2
  22. package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
  23. package/components/CashierError-CcXkeFHB.cjs +0 -8
  24. package/stencil/index-97d17652-B6BYeRne.js +0 -542
  25. package/stencil/index-97d17652-BOr4KAqq.js +0 -558
  26. package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import "../stencil/ui-image-Ch-GHki1.js";
1
+ import "../stencil/ui-image-wH6lu7wS.js";
2
2
  function w() {
3
3
  }
4
4
  const At = (e) => e;
@@ -16,18 +16,18 @@ function Pt(e) {
16
16
  function it() {
17
17
  return /* @__PURE__ */ Object.create(null);
18
18
  }
19
- function $(e) {
19
+ function L(e) {
20
20
  e.forEach(Pt);
21
21
  }
22
- function oe(e) {
22
+ function se(e) {
23
23
  return typeof e == "function";
24
24
  }
25
25
  function Ot(e, t) {
26
26
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
27
27
  }
28
- let he;
28
+ let le;
29
29
  function st(e, t) {
30
- return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
30
+ return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
31
31
  }
32
32
  function gr(e) {
33
33
  return Object.keys(e).length === 0;
@@ -44,7 +44,7 @@ function It(e, ...t) {
44
44
  function br(e, t, r) {
45
45
  e.$$.on_destroy.push(It(t, r));
46
46
  }
47
- function ce(e, t, r, n) {
47
+ function he(e, t, r, n) {
48
48
  if (e) {
49
49
  const i = Ct(e, t, r, n);
50
50
  return e[0](i);
@@ -53,28 +53,28 @@ function ce(e, t, r, n) {
53
53
  function Ct(e, t, r, n) {
54
54
  return e[1] && n ? pr(r.ctx.slice(), e[1](n(t))) : r.ctx;
55
55
  }
56
- function fe(e, t, r, n) {
56
+ function ce(e, t, r, n) {
57
57
  if (e[2] && n) {
58
58
  const i = e[2](n(r));
59
59
  if (t.dirty === void 0)
60
60
  return i;
61
61
  if (typeof i == "object") {
62
- const s = [], o = Math.max(t.dirty.length, i.length);
63
- for (let a = 0; a < o; a += 1)
64
- s[a] = t.dirty[a] | i[a];
62
+ const s = [], a = Math.max(t.dirty.length, i.length);
63
+ for (let o = 0; o < a; o += 1)
64
+ s[o] = t.dirty[o] | i[o];
65
65
  return s;
66
66
  }
67
67
  return t.dirty | i;
68
68
  }
69
69
  return t.dirty;
70
70
  }
71
- function me(e, t, r, n, i, s) {
71
+ function fe(e, t, r, n, i, s) {
72
72
  if (i) {
73
- const o = Ct(t, r, n, s);
74
- e.p(o, i);
73
+ const a = Ct(t, r, n, s);
74
+ e.p(a, i);
75
75
  }
76
76
  }
77
- function de(e) {
77
+ function me(e) {
78
78
  if (e.ctx.length > 32) {
79
79
  const t = [], r = e.ctx.length / 32;
80
80
  for (let n = 0; n < r; n++)
@@ -84,35 +84,35 @@ function de(e) {
84
84
  return -1;
85
85
  }
86
86
  const Nt = typeof window < "u";
87
- let Lt = Nt ? () => window.performance.now() : () => Date.now(), Ke = Nt ? (e) => requestAnimationFrame(e) : w;
88
- const G = /* @__PURE__ */ new Set();
89
- function Mt(e) {
90
- G.forEach((t) => {
91
- t.c(e) || (G.delete(t), t.f());
92
- }), G.size !== 0 && Ke(Mt);
87
+ let Mt = Nt ? () => window.performance.now() : () => Date.now(), Qe = Nt ? (e) => requestAnimationFrame(e) : w;
88
+ const k = /* @__PURE__ */ new Set();
89
+ function Lt(e) {
90
+ k.forEach((t) => {
91
+ t.c(e) || (k.delete(t), t.f());
92
+ }), k.size !== 0 && Qe(Lt);
93
93
  }
94
94
  function $t(e) {
95
95
  let t;
96
- return G.size === 0 && Ke(Mt), {
96
+ return k.size === 0 && Qe(Lt), {
97
97
  promise: new Promise((r) => {
98
- G.add(t = { c: e, f: r });
98
+ k.add(t = { c: e, f: r });
99
99
  }),
100
100
  abort() {
101
- G.delete(t);
101
+ k.delete(t);
102
102
  }
103
103
  };
104
104
  }
105
- function O(e, t) {
105
+ function P(e, t) {
106
106
  e.appendChild(t);
107
107
  }
108
108
  function yr(e, t, r) {
109
- const n = et(e);
109
+ const n = Ye(e);
110
110
  if (!n.getElementById(t)) {
111
- const i = P("style");
111
+ const i = A("style");
112
112
  i.id = t, i.textContent = r, Rt(n, i);
113
113
  }
114
114
  }
115
- function et(e) {
115
+ function Ye(e) {
116
116
  if (!e)
117
117
  return document;
118
118
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -123,50 +123,50 @@ function et(e) {
123
123
  ) : e.ownerDocument;
124
124
  }
125
125
  function _r(e) {
126
- const t = P("style");
127
- return t.textContent = "/* empty */", Rt(et(e), t), t.sheet;
126
+ const t = A("style");
127
+ return t.textContent = "/* empty */", Rt(Ye(e), t), t.sheet;
128
128
  }
129
129
  function Rt(e, t) {
130
- return O(
130
+ return P(
131
131
  /** @type {Document} */
132
132
  e.head || e,
133
133
  t
134
134
  ), t.sheet;
135
135
  }
136
- function Z(e, t, r) {
136
+ function W(e, t, r) {
137
137
  e.insertBefore(t, r || null);
138
138
  }
139
- function N(e) {
139
+ function C(e) {
140
140
  e.parentNode && e.parentNode.removeChild(e);
141
141
  }
142
- function Zi(e, t) {
142
+ function Wi(e, t) {
143
143
  for (let r = 0; r < e.length; r += 1)
144
144
  e[r] && e[r].d(t);
145
145
  }
146
- function P(e) {
146
+ function A(e) {
147
147
  return document.createElement(e);
148
148
  }
149
- function Ji(e) {
149
+ function Zi(e) {
150
150
  return document.createElementNS("http://www.w3.org/2000/svg", e);
151
151
  }
152
- function Pe(e) {
152
+ function Be(e) {
153
153
  return document.createTextNode(e);
154
154
  }
155
- function Le() {
156
- return Pe(" ");
155
+ function Ce() {
156
+ return Be(" ");
157
157
  }
158
- function Er() {
159
- return Pe("");
158
+ function vr() {
159
+ return Be("");
160
160
  }
161
- function vr(e, t, r, n) {
161
+ function Er(e, t, r, n) {
162
162
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
163
163
  }
164
- function j(e, t, r) {
164
+ function F(e, t, r) {
165
165
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
166
166
  }
167
- function pe(e, t, r) {
167
+ function de(e, t, r) {
168
168
  const n = t.toLowerCase();
169
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : j(e, t, r);
169
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : F(e, t, r);
170
170
  }
171
171
  function xr(e) {
172
172
  return Array.from(e.childNodes);
@@ -187,8 +187,8 @@ function Hr(e) {
187
187
  }
188
188
  ), t;
189
189
  }
190
- const xe = /* @__PURE__ */ new Map();
191
- let Te = 0;
190
+ const Ee = /* @__PURE__ */ new Map();
191
+ let xe = 0;
192
192
  function wr(e) {
193
193
  let t = 5381, r = e.length;
194
194
  for (; r--; )
@@ -197,157 +197,157 @@ function wr(e) {
197
197
  }
198
198
  function Sr(e, t) {
199
199
  const r = { stylesheet: _r(t), rules: {} };
200
- return xe.set(e, r), r;
200
+ return Ee.set(e, r), r;
201
201
  }
202
- function Ut(e, t, r, n, i, s, o, a = 0) {
202
+ function Ut(e, t, r, n, i, s, a, o = 0) {
203
203
  const h = 16.666 / n;
204
204
  let u = `{
205
205
  `;
206
- for (let v = 0; v <= 1; v += h) {
207
- const E = t + (r - t) * s(v);
208
- u += v * 100 + `%{${o(E, 1 - E)}}
206
+ for (let x = 0; x <= 1; x += h) {
207
+ const E = t + (r - t) * s(x);
208
+ u += x * 100 + `%{${a(E, 1 - E)}}
209
209
  `;
210
210
  }
211
- const l = u + `100% {${o(r, 1 - r)}}
212
- }`, c = `__svelte_${wr(l)}_${a}`, m = et(e), { stylesheet: d, rules: p } = xe.get(m) || Sr(m, e);
211
+ const l = u + `100% {${a(r, 1 - r)}}
212
+ }`, c = `__svelte_${wr(l)}_${o}`, m = Ye(e), { stylesheet: d, rules: p } = Ee.get(m) || Sr(m, e);
213
213
  p[c] || (p[c] = !0, d.insertRule(`@keyframes ${c} ${l}`, d.cssRules.length));
214
- const _ = e.style.animation || "";
215
- return e.style.animation = `${_ ? `${_}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Te += 1, c;
214
+ const v = e.style.animation || "";
215
+ return e.style.animation = `${v ? `${v}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
216
216
  }
217
- function Fe(e, t) {
217
+ function ke(e, t) {
218
218
  const r = (e.style.animation || "").split(", "), n = r.filter(
219
219
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
220
220
  // remove all Svelte animations
221
221
  ), i = r.length - n.length;
222
- i && (e.style.animation = n.join(", "), Te -= i, Te || Br());
222
+ i && (e.style.animation = n.join(", "), xe -= i, xe || Br());
223
223
  }
224
224
  function Br() {
225
- Ke(() => {
226
- Te || (xe.forEach((e) => {
225
+ Qe(() => {
226
+ xe || (Ee.forEach((e) => {
227
227
  const { ownerNode: t } = e.stylesheet;
228
- t && N(t);
229
- }), xe.clear());
228
+ t && C(t);
229
+ }), Ee.clear());
230
230
  });
231
231
  }
232
- let re;
233
- function te(e) {
234
- re = e;
232
+ let te;
233
+ function ee(e) {
234
+ te = e;
235
235
  }
236
236
  function Ar() {
237
- if (!re)
237
+ if (!te)
238
238
  throw new Error("Function called outside component initialization");
239
- return re;
239
+ return te;
240
240
  }
241
241
  function Pr(e) {
242
242
  Ar().$$.on_mount.push(e);
243
243
  }
244
- const k = [], je = [];
245
- let F = [];
246
- const ot = [], Or = /* @__PURE__ */ Promise.resolve();
247
- let ze = !1;
244
+ const U = [], Ge = [];
245
+ let G = [];
246
+ const at = [], Or = /* @__PURE__ */ Promise.resolve();
247
+ let Fe = !1;
248
248
  function Ir() {
249
- ze || (ze = !0, Or.then(A));
249
+ Fe || (Fe = !0, Or.then(B));
250
250
  }
251
- function ne(e) {
252
- F.push(e);
251
+ function re(e) {
252
+ G.push(e);
253
253
  }
254
- const Me = /* @__PURE__ */ new Set();
255
- let D = 0;
256
- function A() {
257
- if (D !== 0)
254
+ const Ne = /* @__PURE__ */ new Set();
255
+ let R = 0;
256
+ function B() {
257
+ if (R !== 0)
258
258
  return;
259
- const e = re;
259
+ const e = te;
260
260
  do {
261
261
  try {
262
- for (; D < k.length; ) {
263
- const t = k[D];
264
- D++, te(t), Cr(t.$$);
262
+ for (; R < U.length; ) {
263
+ const t = U[R];
264
+ R++, ee(t), Cr(t.$$);
265
265
  }
266
266
  } catch (t) {
267
- throw k.length = 0, D = 0, t;
267
+ throw U.length = 0, R = 0, t;
268
268
  }
269
- for (te(null), k.length = 0, D = 0; je.length; )
270
- je.pop()();
271
- for (let t = 0; t < F.length; t += 1) {
272
- const r = F[t];
273
- Me.has(r) || (Me.add(r), r());
269
+ for (ee(null), U.length = 0, R = 0; Ge.length; )
270
+ Ge.pop()();
271
+ for (let t = 0; t < G.length; t += 1) {
272
+ const r = G[t];
273
+ Ne.has(r) || (Ne.add(r), r());
274
274
  }
275
- F.length = 0;
276
- } while (k.length);
277
- for (; ot.length; )
278
- ot.pop()();
279
- ze = !1, Me.clear(), te(e);
275
+ G.length = 0;
276
+ } while (U.length);
277
+ for (; at.length; )
278
+ at.pop()();
279
+ Fe = !1, Ne.clear(), ee(e);
280
280
  }
281
281
  function Cr(e) {
282
282
  if (e.fragment !== null) {
283
- e.update(), $(e.before_update);
283
+ e.update(), L(e.before_update);
284
284
  const t = e.dirty;
285
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ne);
285
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(re);
286
286
  }
287
287
  }
288
288
  function Nr(e) {
289
289
  const t = [], r = [];
290
- F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
290
+ G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
291
291
  }
292
- let Q;
292
+ let q;
293
293
  function kt() {
294
- return Q || (Q = Promise.resolve(), Q.then(() => {
295
- Q = null;
296
- })), Q;
294
+ return q || (q = Promise.resolve(), q.then(() => {
295
+ q = null;
296
+ })), q;
297
297
  }
298
- function He(e, t, r) {
298
+ function Te(e, t, r) {
299
299
  e.dispatchEvent(Tr(`${t ? "intro" : "outro"}${r}`));
300
300
  }
301
- const ye = /* @__PURE__ */ new Set();
302
- let I;
303
- function qi() {
304
- I = {
301
+ const be = /* @__PURE__ */ new Set();
302
+ let O;
303
+ function Ji() {
304
+ O = {
305
305
  r: 0,
306
306
  c: [],
307
- p: I
307
+ p: O
308
308
  // parent group
309
309
  };
310
310
  }
311
- function Qi() {
312
- I.r || $(I.c), I = I.p;
311
+ function qi() {
312
+ O.r || L(O.c), O = O.p;
313
313
  }
314
- function K(e, t) {
315
- e && e.i && (ye.delete(e), e.i(t));
314
+ function Y(e, t) {
315
+ e && e.i && (be.delete(e), e.i(t));
316
316
  }
317
- function ge(e, t, r, n) {
317
+ function pe(e, t, r, n) {
318
318
  if (e && e.o) {
319
- if (ye.has(e))
319
+ if (be.has(e))
320
320
  return;
321
- ye.add(e), I.c.push(() => {
322
- ye.delete(e), n && (r && e.d(1), n());
321
+ be.add(e), O.c.push(() => {
322
+ be.delete(e), n && (r && e.d(1), n());
323
323
  }), e.o(t);
324
324
  } else
325
325
  n && n();
326
326
  }
327
327
  const Gt = { duration: 0 };
328
- function Yi(e, t, r) {
328
+ function Qi(e, t, r) {
329
329
  const n = { direction: "in" };
330
- let i = t(e, r, n), s = !1, o, a, h = 0;
330
+ let i = t(e, r, n), s = !1, a, o, h = 0;
331
331
  function u() {
332
- o && Fe(e, o);
332
+ a && ke(e, a);
333
333
  }
334
334
  function l() {
335
335
  const {
336
336
  delay: m = 0,
337
337
  duration: d = 300,
338
338
  easing: p = At,
339
- tick: _ = w,
340
- css: v
339
+ tick: v = w,
340
+ css: x
341
341
  } = i || Gt;
342
- v && (o = Ut(e, 0, 1, d, m, p, v, h++)), _(0, 1);
343
- const E = Lt() + m, f = E + d;
344
- a && a.abort(), s = !0, ne(() => He(e, !0, "start")), a = $t((g) => {
342
+ x && (a = Ut(e, 0, 1, d, m, p, x, h++)), v(0, 1);
343
+ const E = Mt() + m, f = E + d;
344
+ o && o.abort(), s = !0, re(() => Te(e, !0, "start")), o = $t((g) => {
345
345
  if (s) {
346
346
  if (g >= f)
347
- return _(1, 0), He(e, !0, "end"), u(), s = !1;
347
+ return v(1, 0), Te(e, !0, "end"), u(), s = !1;
348
348
  if (g >= E) {
349
349
  const S = p((g - E) / d);
350
- _(S, 1 - S);
350
+ v(S, 1 - S);
351
351
  }
352
352
  }
353
353
  return s;
@@ -356,7 +356,7 @@ function Yi(e, t, r) {
356
356
  let c = !1;
357
357
  return {
358
358
  start() {
359
- c || (c = !0, Fe(e), oe(i) ? (i = i(n), kt().then(l)) : l());
359
+ c || (c = !0, ke(e), se(i) ? (i = i(n), kt().then(l)) : l());
360
360
  },
361
361
  invalidate() {
362
362
  c = !1;
@@ -366,11 +366,11 @@ function Yi(e, t, r) {
366
366
  }
367
367
  };
368
368
  }
369
- function Ki(e, t, r) {
369
+ function Yi(e, t, r) {
370
370
  const n = { direction: "out" };
371
- let i = t(e, r, n), s = !0, o;
372
- const a = I;
373
- a.r += 1;
371
+ let i = t(e, r, n), s = !0, a;
372
+ const o = O;
373
+ o.r += 1;
374
374
  let h;
375
375
  function u() {
376
376
  const {
@@ -380,49 +380,49 @@ function Ki(e, t, r) {
380
380
  tick: d = w,
381
381
  css: p
382
382
  } = i || Gt;
383
- p && (o = Ut(e, 1, 0, c, l, m, p));
384
- const _ = Lt() + l, v = _ + c;
385
- ne(() => He(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
383
+ p && (a = Ut(e, 1, 0, c, l, m, p));
384
+ const v = Mt() + l, x = v + c;
385
+ re(() => Te(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
386
386
  e.inert, e.inert = !0), $t((E) => {
387
387
  if (s) {
388
- if (E >= v)
389
- return d(0, 1), He(e, !1, "end"), --a.r || $(a.c), !1;
390
- if (E >= _) {
391
- const f = m((E - _) / c);
388
+ if (E >= x)
389
+ return d(0, 1), Te(e, !1, "end"), --o.r || L(o.c), !1;
390
+ if (E >= v) {
391
+ const f = m((E - v) / c);
392
392
  d(1 - f, f);
393
393
  }
394
394
  }
395
395
  return s;
396
396
  });
397
397
  }
398
- return oe(i) ? kt().then(() => {
398
+ return se(i) ? kt().then(() => {
399
399
  i = i(n), u();
400
400
  }) : u(), {
401
401
  end(l) {
402
- l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (o && Fe(e, o), s = !1);
402
+ l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (a && ke(e, a), s = !1);
403
403
  }
404
404
  };
405
405
  }
406
- function es(e) {
406
+ function Ki(e) {
407
407
  return e?.length !== void 0 ? e : Array.from(e);
408
408
  }
409
- function Lr(e, t, r) {
409
+ function Mr(e, t, r) {
410
410
  const { fragment: n, after_update: i } = e.$$;
411
- n && n.m(t, r), ne(() => {
412
- const s = e.$$.on_mount.map(Pt).filter(oe);
413
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : $(s), e.$$.on_mount = [];
414
- }), i.forEach(ne);
411
+ n && n.m(t, r), re(() => {
412
+ const s = e.$$.on_mount.map(Pt).filter(se);
413
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : L(s), e.$$.on_mount = [];
414
+ }), i.forEach(re);
415
415
  }
416
- function Mr(e, t) {
416
+ function Lr(e, t) {
417
417
  const r = e.$$;
418
- r.fragment !== null && (Nr(r.after_update), $(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
418
+ r.fragment !== null && (Nr(r.after_update), L(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
419
419
  }
420
420
  function $r(e, t) {
421
- e.$$.dirty[0] === -1 && (k.push(e), Ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
421
+ e.$$.dirty[0] === -1 && (U.push(e), Ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
422
422
  }
423
- function Rr(e, t, r, n, i, s, o = null, a = [-1]) {
424
- const h = re;
425
- te(e);
423
+ function Rr(e, t, r, n, i, s, a = null, o = [-1]) {
424
+ const h = te;
425
+ ee(e);
426
426
  const u = e.$$ = {
427
427
  fragment: null,
428
428
  ctx: [],
@@ -440,24 +440,24 @@ function Rr(e, t, r, n, i, s, o = null, a = [-1]) {
440
440
  context: new Map(t.context || (h ? h.$$.context : [])),
441
441
  // everything else
442
442
  callbacks: it(),
443
- dirty: a,
443
+ dirty: o,
444
444
  skip_bound: !1,
445
445
  root: t.target || h.$$.root
446
446
  };
447
- o && o(u.root);
447
+ a && a(u.root);
448
448
  let l = !1;
449
449
  if (u.ctx = r ? r(e, t.props || {}, (c, m, ...d) => {
450
450
  const p = d.length ? d[0] : m;
451
451
  return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && $r(e, c)), m;
452
- }) : [], u.update(), l = !0, $(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
452
+ }) : [], u.update(), l = !0, L(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
453
453
  if (t.hydrate) {
454
454
  const c = xr(t.target);
455
- u.fragment && u.fragment.l(c), c.forEach(N);
455
+ u.fragment && u.fragment.l(c), c.forEach(C);
456
456
  } else
457
457
  u.fragment && u.fragment.c();
458
- t.intro && K(e.$$.fragment), Lr(e, t.target, t.anchor), A();
458
+ t.intro && Y(e.$$.fragment), Mr(e, t.target, t.anchor), B();
459
459
  }
460
- te(h);
460
+ ee(h);
461
461
  }
462
462
  let Ft;
463
463
  typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
@@ -502,17 +502,17 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
502
502
  let s;
503
503
  return {
504
504
  c: function() {
505
- s = P("slot"), i !== "default" && j(s, "name", i);
505
+ s = A("slot"), i !== "default" && F(s, "name", i);
506
506
  },
507
507
  /**
508
508
  * @param {HTMLElement} target
509
509
  * @param {HTMLElement} [anchor]
510
510
  */
511
511
  m: function(h, u) {
512
- Z(h, s, u);
512
+ W(h, s, u);
513
513
  },
514
514
  d: function(h) {
515
- h && N(s);
515
+ h && C(s);
516
516
  }
517
517
  };
518
518
  };
@@ -524,7 +524,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
524
524
  i in r && (t[i] = [e(i)]);
525
525
  for (const i of this.attributes) {
526
526
  const s = this.$$g_p(i.name);
527
- s in this.$$d || (this.$$d[s] = _e(s, i.value, this.$$p_d, "toProp"));
527
+ s in this.$$d || (this.$$d[s] = ye(s, i.value, this.$$p_d, "toProp"));
528
528
  }
529
529
  for (const i in this.$$p_d)
530
530
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -542,7 +542,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
542
542
  this.$$r = !0;
543
543
  for (const i in this.$$p_d)
544
544
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
545
- const s = _e(
545
+ const s = ye(
546
546
  i,
547
547
  this.$$d[i],
548
548
  this.$$p_d,
@@ -555,8 +555,8 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
555
555
  this.$$c.$$.after_update.push(n), n();
556
556
  for (const i in this.$$l)
557
557
  for (const s of this.$$l[i]) {
558
- const o = this.$$c.$on(i, s);
559
- this.$$l_u.set(s, o);
558
+ const a = this.$$c.$on(i, s);
559
+ this.$$l_u.set(s, a);
560
560
  }
561
561
  this.$$l = {};
562
562
  }
@@ -564,7 +564,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
564
564
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
565
565
  // and setting attributes through setAttribute etc, this is helpful
566
566
  attributeChangedCallback(e, t, r) {
567
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = _e(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
567
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
568
568
  }
569
569
  disconnectedCallback() {
570
570
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -577,7 +577,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
577
577
  ) || e;
578
578
  }
579
579
  });
580
- function _e(e, t, r, n) {
580
+ function ye(e, t, r, n) {
581
581
  const i = r[e]?.type;
582
582
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
583
583
  return t;
@@ -607,33 +607,33 @@ function _e(e, t, r, n) {
607
607
  }
608
608
  }
609
609
  function Dr(e, t, r, n, i, s) {
610
- let o = class extends Ft {
610
+ let a = class extends Ft {
611
611
  constructor() {
612
612
  super(e, r, i), this.$$p_d = t;
613
613
  }
614
614
  static get observedAttributes() {
615
615
  return Object.keys(t).map(
616
- (a) => (t[a].attribute || a).toLowerCase()
616
+ (o) => (t[o].attribute || o).toLowerCase()
617
617
  );
618
618
  }
619
619
  };
620
- return Object.keys(t).forEach((a) => {
621
- Object.defineProperty(o.prototype, a, {
620
+ return Object.keys(t).forEach((o) => {
621
+ Object.defineProperty(a.prototype, o, {
622
622
  get() {
623
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
623
+ return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
624
624
  },
625
625
  set(h) {
626
- h = _e(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
626
+ h = ye(o, h, t), this.$$d[o] = h, this.$$c?.$set({ [o]: h });
627
627
  }
628
628
  });
629
- }), n.forEach((a) => {
630
- Object.defineProperty(o.prototype, a, {
629
+ }), n.forEach((o) => {
630
+ Object.defineProperty(a.prototype, o, {
631
631
  get() {
632
- return this.$$c?.[a];
632
+ return this.$$c?.[o];
633
633
  }
634
634
  });
635
635
  }), e.element = /** @type {any} */
636
- o, o;
636
+ a, a;
637
637
  }
638
638
  class Ur {
639
639
  /**
@@ -654,7 +654,7 @@ class Ur {
654
654
  $$set = void 0;
655
655
  /** @returns {void} */
656
656
  $destroy() {
657
- Mr(this, 1), this.$destroy = w;
657
+ Lr(this, 1), this.$destroy = w;
658
658
  }
659
659
  /**
660
660
  * @template {Extract<keyof Events, string>} K
@@ -663,7 +663,7 @@ class Ur {
663
663
  * @returns {() => void}
664
664
  */
665
665
  $on(t, r) {
666
- if (!oe(r))
666
+ if (!se(r))
667
667
  return w;
668
668
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
669
669
  return n.push(r), () => {
@@ -681,44 +681,44 @@ class Ur {
681
681
  }
682
682
  const kr = "4";
683
683
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
684
- const U = [];
684
+ const D = [];
685
685
  function Gr(e, t) {
686
686
  return {
687
- subscribe: Oe(e, t).subscribe
687
+ subscribe: Ae(e, t).subscribe
688
688
  };
689
689
  }
690
- function Oe(e, t = w) {
690
+ function Ae(e, t = w) {
691
691
  let r;
692
692
  const n = /* @__PURE__ */ new Set();
693
- function i(a) {
694
- if (Ot(e, a) && (e = a, r)) {
695
- const h = !U.length;
693
+ function i(o) {
694
+ if (Ot(e, o) && (e = o, r)) {
695
+ const h = !D.length;
696
696
  for (const u of n)
697
- u[1](), U.push(u, e);
697
+ u[1](), D.push(u, e);
698
698
  if (h) {
699
- for (let u = 0; u < U.length; u += 2)
700
- U[u][0](U[u + 1]);
701
- U.length = 0;
699
+ for (let u = 0; u < D.length; u += 2)
700
+ D[u][0](D[u + 1]);
701
+ D.length = 0;
702
702
  }
703
703
  }
704
704
  }
705
- function s(a) {
706
- i(a(e));
705
+ function s(o) {
706
+ i(o(e));
707
707
  }
708
- function o(a, h = w) {
709
- const u = [a, h];
710
- return n.add(u), n.size === 1 && (r = t(i, s) || w), a(e), () => {
708
+ function a(o, h = w) {
709
+ const u = [o, h];
710
+ return n.add(u), n.size === 1 && (r = t(i, s) || w), o(e), () => {
711
711
  n.delete(u), n.size === 0 && r && (r(), r = null);
712
712
  };
713
713
  }
714
- return { set: i, update: s, subscribe: o };
714
+ return { set: i, update: s, subscribe: a };
715
715
  }
716
- function J(e, t, r) {
716
+ function Z(e, t, r) {
717
717
  const n = !Array.isArray(e), i = n ? [e] : e;
718
718
  if (!i.every(Boolean))
719
719
  throw new Error("derived() expects stores as input, got a falsy value");
720
720
  const s = t.length < 2;
721
- return Gr(r, (o, a) => {
721
+ return Gr(r, (a, o) => {
722
722
  let h = !1;
723
723
  const u = [];
724
724
  let l = 0, c = w;
@@ -726,25 +726,25 @@ function J(e, t, r) {
726
726
  if (l)
727
727
  return;
728
728
  c();
729
- const p = t(n ? u[0] : u, o, a);
730
- s ? o(p) : c = oe(p) ? p : w;
729
+ const p = t(n ? u[0] : u, a, o);
730
+ s ? a(p) : c = se(p) ? p : w;
731
731
  }, d = i.map(
732
- (p, _) => It(
732
+ (p, v) => It(
733
733
  p,
734
- (v) => {
735
- u[_] = v, l &= ~(1 << _), h && m();
734
+ (x) => {
735
+ u[v] = x, l &= ~(1 << v), h && m();
736
736
  },
737
737
  () => {
738
- l |= 1 << _;
738
+ l |= 1 << v;
739
739
  }
740
740
  )
741
741
  );
742
742
  return h = !0, m(), function() {
743
- $(d), c(), h = !1;
743
+ L(d), c(), h = !1;
744
744
  };
745
745
  });
746
746
  }
747
- var ts = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
747
+ var es = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
748
748
  function Fr(e) {
749
749
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
750
750
  }
@@ -765,26 +765,26 @@ function Zr(e) {
765
765
  function Jr(e) {
766
766
  return Array.isArray(e) ? [] : {};
767
767
  }
768
- function ie(e, t) {
769
- return t.clone !== !1 && t.isMergeableObject(e) ? z(Jr(e), e, t) : e;
768
+ function ne(e, t) {
769
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(Jr(e), e, t) : e;
770
770
  }
771
771
  function qr(e, t, r) {
772
772
  return e.concat(t).map(function(n) {
773
- return ie(n, r);
773
+ return ne(n, r);
774
774
  });
775
775
  }
776
776
  function Qr(e, t) {
777
777
  if (!t.customMerge)
778
- return z;
778
+ return j;
779
779
  var r = t.customMerge(e);
780
- return typeof r == "function" ? r : z;
780
+ return typeof r == "function" ? r : j;
781
781
  }
782
782
  function Yr(e) {
783
783
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
784
784
  return Object.propertyIsEnumerable.call(e, t);
785
785
  }) : [];
786
786
  }
787
- function at(e) {
787
+ function ot(e) {
788
788
  return Object.keys(e).concat(Yr(e));
789
789
  }
790
790
  function jt(e, t) {
@@ -799,52 +799,66 @@ function Kr(e, t) {
799
799
  }
800
800
  function en(e, t, r) {
801
801
  var n = {};
802
- return r.isMergeableObject(e) && at(e).forEach(function(i) {
803
- n[i] = ie(e[i], r);
804
- }), at(t).forEach(function(i) {
805
- Kr(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
802
+ return r.isMergeableObject(e) && ot(e).forEach(function(i) {
803
+ n[i] = ne(e[i], r);
804
+ }), ot(t).forEach(function(i) {
805
+ Kr(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
806
806
  }), n;
807
807
  }
808
- function z(e, t, r) {
809
- r = r || {}, r.arrayMerge = r.arrayMerge || qr, r.isMergeableObject = r.isMergeableObject || jr, r.cloneUnlessOtherwiseSpecified = ie;
808
+ function j(e, t, r) {
809
+ r = r || {}, r.arrayMerge = r.arrayMerge || qr, r.isMergeableObject = r.isMergeableObject || jr, r.cloneUnlessOtherwiseSpecified = ne;
810
810
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
811
- return s ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : ie(t, r);
811
+ return s ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : ne(t, r);
812
812
  }
813
- z.all = function(t, r) {
813
+ j.all = function(t, r) {
814
814
  if (!Array.isArray(t))
815
815
  throw new Error("first argument should be an array");
816
816
  return t.reduce(function(n, i) {
817
- return z(n, i, r);
817
+ return j(n, i, r);
818
818
  }, {});
819
819
  };
820
- var tn = z, rn = tn;
820
+ var tn = j, rn = tn;
821
821
  const nn = /* @__PURE__ */ Fr(rn);
822
- var Ve = function(e, t) {
823
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
822
+ /*! *****************************************************************************
823
+ Copyright (c) Microsoft Corporation.
824
+
825
+ Permission to use, copy, modify, and/or distribute this software for any
826
+ purpose with or without fee is hereby granted.
827
+
828
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
829
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
830
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
831
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
832
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
833
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
834
+ PERFORMANCE OF THIS SOFTWARE.
835
+ ***************************************************************************** */
836
+ var je = function(e, t) {
837
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
824
838
  r.__proto__ = n;
825
839
  } || function(r, n) {
826
840
  for (var i in n)
827
841
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
828
- }, Ve(e, t);
842
+ }, je(e, t);
829
843
  };
830
- function Ie(e, t) {
844
+ function Pe(e, t) {
831
845
  if (typeof t != "function" && t !== null)
832
846
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
833
- Ve(e, t);
847
+ je(e, t);
834
848
  function r() {
835
849
  this.constructor = e;
836
850
  }
837
851
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
838
852
  }
839
- var B = function() {
840
- return B = Object.assign || function(t) {
853
+ var _ = function() {
854
+ return _ = Object.assign || function(t) {
841
855
  for (var r, n = 1, i = arguments.length; n < i; n++) {
842
856
  r = arguments[n];
843
857
  for (var s in r)
844
858
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
845
859
  }
846
860
  return t;
847
- }, B.apply(this, arguments);
861
+ }, _.apply(this, arguments);
848
862
  };
849
863
  function sn(e, t) {
850
864
  var r = {};
@@ -855,119 +869,143 @@ function sn(e, t) {
855
869
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
856
870
  return r;
857
871
  }
858
- function $e(e, t, r) {
872
+ function ts(e) {
873
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
874
+ if (r)
875
+ return r.call(e);
876
+ if (e && typeof e.length == "number")
877
+ return {
878
+ next: function() {
879
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
880
+ }
881
+ };
882
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
883
+ }
884
+ function rs(e, t) {
885
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
886
+ if (!r)
887
+ return e;
888
+ var n = r.call(e), i, s = [], a;
889
+ try {
890
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
891
+ s.push(i.value);
892
+ } catch (o) {
893
+ a = { error: o };
894
+ } finally {
895
+ try {
896
+ i && !i.done && (r = n.return) && r.call(n);
897
+ } finally {
898
+ if (a)
899
+ throw a.error;
900
+ }
901
+ }
902
+ return s;
903
+ }
904
+ function Me(e, t, r) {
859
905
  if (r || arguments.length === 2)
860
906
  for (var n = 0, i = t.length, s; n < i; n++)
861
907
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
862
- return e.concat(s || Array.prototype.slice.call(t));
908
+ return e.concat(s || t);
863
909
  }
864
- function Re(e, t) {
865
- var r = t && t.cache ? t.cache : fn, n = t && t.serializer ? t.serializer : hn, i = t && t.strategy ? t.strategy : un;
910
+ function Le(e, t) {
911
+ var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : hn, i = t && t.strategy ? t.strategy : on;
866
912
  return i(e, {
867
913
  cache: r,
868
914
  serializer: n
869
915
  });
870
916
  }
871
- function on(e) {
917
+ function an(e) {
872
918
  return e == null || typeof e == "number" || typeof e == "boolean";
873
919
  }
874
- function an(e, t, r, n) {
875
- var i = on(n) ? n : r(n), s = t.get(i);
920
+ function zt(e, t, r, n) {
921
+ var i = an(n) ? n : r(n), s = t.get(i);
876
922
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
877
923
  }
878
- function zt(e, t, r) {
924
+ function Vt(e, t, r) {
879
925
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
880
926
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
881
927
  }
882
- function Vt(e, t, r, n, i) {
928
+ function Ke(e, t, r, n, i) {
883
929
  return r.bind(t, e, n, i);
884
930
  }
931
+ function on(e, t) {
932
+ var r = e.length === 1 ? zt : Vt;
933
+ return Ke(e, this, r, t.cache.create(), t.serializer);
934
+ }
885
935
  function un(e, t) {
886
- var r = e.length === 1 ? an : zt;
887
- return Vt(e, this, r, t.cache.create(), t.serializer);
936
+ return Ke(e, this, Vt, t.cache.create(), t.serializer);
888
937
  }
889
938
  function ln(e, t) {
890
- return Vt(e, this, zt, t.cache.create(), t.serializer);
939
+ return Ke(e, this, zt, t.cache.create(), t.serializer);
891
940
  }
892
941
  var hn = function() {
893
942
  return JSON.stringify(arguments);
894
- }, cn = (
895
- /** @class */
896
- function() {
897
- function e() {
898
- this.cache = /* @__PURE__ */ Object.create(null);
899
- }
900
- return e.prototype.get = function(t) {
901
- return this.cache[t];
902
- }, e.prototype.set = function(t, r) {
903
- this.cache[t] = r;
904
- }, e;
905
- }()
906
- ), fn = {
943
+ };
944
+ function et() {
945
+ this.cache = /* @__PURE__ */ Object.create(null);
946
+ }
947
+ et.prototype.get = function(e) {
948
+ return this.cache[e];
949
+ };
950
+ et.prototype.set = function(e, t) {
951
+ this.cache[e] = t;
952
+ };
953
+ var cn = {
907
954
  create: function() {
908
- return new cn();
955
+ return new et();
909
956
  }
910
- }, De = {
911
- variadic: ln
912
- }, we = function() {
913
- return we = Object.assign || function(t) {
914
- for (var r, n = 1, i = arguments.length; n < i; n++) {
915
- r = arguments[n];
916
- for (var s in r)
917
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
918
- }
919
- return t;
920
- }, we.apply(this, arguments);
921
- };
922
- var b;
957
+ }, $e = {
958
+ variadic: un,
959
+ monadic: ln
960
+ }, b;
923
961
  (function(e) {
924
962
  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";
925
963
  })(b || (b = {}));
926
- var x;
964
+ var T;
927
965
  (function(e) {
928
966
  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";
929
- })(x || (x = {}));
930
- var V;
967
+ })(T || (T = {}));
968
+ var z;
931
969
  (function(e) {
932
970
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
933
- })(V || (V = {}));
971
+ })(z || (z = {}));
934
972
  function ut(e) {
935
- return e.type === x.literal;
973
+ return e.type === T.literal;
936
974
  }
937
- function mn(e) {
938
- return e.type === x.argument;
975
+ function fn(e) {
976
+ return e.type === T.argument;
939
977
  }
940
978
  function Xt(e) {
941
- return e.type === x.number;
979
+ return e.type === T.number;
942
980
  }
943
981
  function Wt(e) {
944
- return e.type === x.date;
982
+ return e.type === T.date;
945
983
  }
946
984
  function Zt(e) {
947
- return e.type === x.time;
985
+ return e.type === T.time;
948
986
  }
949
987
  function Jt(e) {
950
- return e.type === x.select;
988
+ return e.type === T.select;
951
989
  }
952
990
  function qt(e) {
953
- return e.type === x.plural;
991
+ return e.type === T.plural;
954
992
  }
955
- function dn(e) {
956
- return e.type === x.pound;
993
+ function mn(e) {
994
+ return e.type === T.pound;
957
995
  }
958
996
  function Qt(e) {
959
- return e.type === x.tag;
997
+ return e.type === T.tag;
960
998
  }
961
999
  function Yt(e) {
962
- return !!(e && typeof e == "object" && e.type === V.number);
1000
+ return !!(e && typeof e == "object" && e.type === z.number);
963
1001
  }
964
- function Xe(e) {
965
- return !!(e && typeof e == "object" && e.type === V.dateTime);
1002
+ function ze(e) {
1003
+ return !!(e && typeof e == "object" && e.type === z.dateTime);
966
1004
  }
967
- var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pn = /(?:[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;
968
- function gn(e) {
1005
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[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;
1006
+ function pn(e) {
969
1007
  var t = {};
970
- return e.replace(pn, function(r) {
1008
+ return e.replace(dn, function(r) {
971
1009
  var n = r.length;
972
1010
  switch (r[0]) {
973
1011
  case "G":
@@ -1056,39 +1094,29 @@ function gn(e) {
1056
1094
  return "";
1057
1095
  }), t;
1058
1096
  }
1059
- var T = function() {
1060
- return T = Object.assign || function(t) {
1061
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1062
- r = arguments[n];
1063
- for (var s in r)
1064
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1065
- }
1066
- return t;
1067
- }, T.apply(this, arguments);
1068
- };
1069
- var bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1070
- function yn(e) {
1097
+ var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1098
+ function bn(e) {
1071
1099
  if (e.length === 0)
1072
1100
  throw new Error("Number skeleton cannot be empty");
1073
- for (var t = e.split(bn).filter(function(m) {
1101
+ for (var t = e.split(gn).filter(function(m) {
1074
1102
  return m.length > 0;
1075
1103
  }), r = [], n = 0, i = t; n < i.length; n++) {
1076
- var s = i[n], o = s.split("/");
1077
- if (o.length === 0)
1104
+ var s = i[n], a = s.split("/");
1105
+ if (a.length === 0)
1078
1106
  throw new Error("Invalid number skeleton");
1079
- for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1107
+ for (var o = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1080
1108
  var c = l[u];
1081
1109
  if (c.length === 0)
1082
1110
  throw new Error("Invalid number skeleton");
1083
1111
  }
1084
- r.push({ stem: a, options: h });
1112
+ r.push({ stem: o, options: h });
1085
1113
  }
1086
1114
  return r;
1087
1115
  }
1088
- function _n(e) {
1116
+ function yn(e) {
1089
1117
  return e.replace(/^(.*?)-/, "");
1090
1118
  }
1091
- var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, En = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1119
+ var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1092
1120
  function ht(e) {
1093
1121
  var t = {};
1094
1122
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
@@ -1153,7 +1181,7 @@ function ct(e) {
1153
1181
  var t = {}, r = rr(e);
1154
1182
  return r || t;
1155
1183
  }
1156
- function xn(e) {
1184
+ function En(e) {
1157
1185
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1158
1186
  var i = n[r];
1159
1187
  switch (i.stem) {
@@ -1177,7 +1205,7 @@ function xn(e) {
1177
1205
  continue;
1178
1206
  case "measure-unit":
1179
1207
  case "unit":
1180
- t.style = "unit", t.unit = _n(i.options[0]);
1208
+ t.style = "unit", t.unit = yn(i.options[0]);
1181
1209
  continue;
1182
1210
  case "compact-short":
1183
1211
  case "K":
@@ -1188,13 +1216,13 @@ function xn(e) {
1188
1216
  t.notation = "compact", t.compactDisplay = "long";
1189
1217
  continue;
1190
1218
  case "scientific":
1191
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1192
- return T(T({}, h), ct(u));
1219
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1220
+ return _(_({}, h), ct(u));
1193
1221
  }, {}));
1194
1222
  continue;
1195
1223
  case "engineering":
1196
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1197
- return T(T({}, h), ct(u));
1224
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1225
+ return _(_({}, h), ct(u));
1198
1226
  }, {}));
1199
1227
  continue;
1200
1228
  case "notation-simple":
@@ -1239,7 +1267,7 @@ function xn(e) {
1239
1267
  case "integer-width":
1240
1268
  if (i.options.length > 1)
1241
1269
  throw new RangeError("integer-width stems only accept a single optional option");
1242
- i.options[0].replace(En, function(h, u, l, c, m, d) {
1270
+ i.options[0].replace(_n, function(h, u, l, c, m, d) {
1243
1271
  if (u)
1244
1272
  t.minimumIntegerDigits = l.length;
1245
1273
  else {
@@ -1263,21 +1291,21 @@ function xn(e) {
1263
1291
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1264
1292
  });
1265
1293
  var s = i.options[0];
1266
- s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), ht(s)));
1294
+ s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), ht(s)));
1267
1295
  continue;
1268
1296
  }
1269
1297
  if (er.test(i.stem)) {
1270
- t = T(T({}, t), ht(i.stem));
1298
+ t = _(_({}, t), ht(i.stem));
1271
1299
  continue;
1272
1300
  }
1273
- var o = rr(i.stem);
1274
- o && (t = T(T({}, t), o));
1275
- var a = vn(i.stem);
1276
- a && (t = T(T({}, t), a));
1301
+ var a = rr(i.stem);
1302
+ a && (t = _(_({}, t), a));
1303
+ var o = vn(i.stem);
1304
+ o && (t = _(_({}, t), o));
1277
1305
  }
1278
1306
  return t;
1279
1307
  }
1280
- var be = {
1308
+ var ge = {
1281
1309
  "001": [
1282
1310
  "H",
1283
1311
  "h"
@@ -2692,23 +2720,23 @@ var be = {
2692
2720
  "h"
2693
2721
  ]
2694
2722
  };
2695
- function Tn(e, t) {
2723
+ function xn(e, t) {
2696
2724
  for (var r = "", n = 0; n < e.length; n++) {
2697
2725
  var i = e.charAt(n);
2698
2726
  if (i === "j") {
2699
2727
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2700
2728
  s++, n++;
2701
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Hn(t);
2702
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2729
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Tn(t);
2730
+ for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2703
2731
  r += h;
2704
- for (; o-- > 0; )
2732
+ for (; a-- > 0; )
2705
2733
  r = u + r;
2706
2734
  } else
2707
2735
  i === "J" ? r += "H" : r += i;
2708
2736
  }
2709
2737
  return r;
2710
2738
  }
2711
- function Hn(e) {
2739
+ function Tn(e) {
2712
2740
  var t = e.hourCycle;
2713
2741
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2714
2742
  e.hourCycles && // @ts-ignore
@@ -2727,23 +2755,23 @@ function Hn(e) {
2727
2755
  }
2728
2756
  var r = e.language, n;
2729
2757
  r !== "root" && (n = e.maximize().region);
2730
- var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
2758
+ var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2731
2759
  return i[0];
2732
2760
  }
2733
- var Ue, wn = new RegExp("^".concat(Kt.source, "*")), Sn = new RegExp("".concat(Kt.source, "*$"));
2761
+ var Re, Hn = new RegExp("^".concat(Kt.source, "*")), wn = new RegExp("".concat(Kt.source, "*$"));
2734
2762
  function y(e, t) {
2735
2763
  return { start: e, end: t };
2736
2764
  }
2737
- var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), An = !!String.fromCodePoint, Pn = !!Object.fromEntries, On = !!String.prototype.codePointAt, In = !!String.prototype.trimStart, Cn = !!String.prototype.trimEnd, Nn = !!Number.isSafeInteger, Ln = Nn ? Number.isSafeInteger : function(e) {
2765
+ var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bn = !!String.fromCodePoint, An = !!Object.fromEntries, Pn = !!String.prototype.codePointAt, On = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Cn = !!Number.isSafeInteger, Nn = Cn ? Number.isSafeInteger : function(e) {
2738
2766
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2739
- }, We = !0;
2767
+ }, Ve = !0;
2740
2768
  try {
2741
2769
  var Mn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2742
- We = ((Ue = Mn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2770
+ Ve = ((Re = Mn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2743
2771
  } catch {
2744
- We = !1;
2772
+ Ve = !1;
2745
2773
  }
2746
- var ft = Bn ? (
2774
+ var ft = Sn ? (
2747
2775
  // Native
2748
2776
  function(t, r, n) {
2749
2777
  return t.startsWith(r, n);
@@ -2753,31 +2781,31 @@ var ft = Bn ? (
2753
2781
  function(t, r, n) {
2754
2782
  return t.slice(n, n + r.length) === r;
2755
2783
  }
2756
- ), Ze = An ? String.fromCodePoint : (
2784
+ ), Xe = Bn ? String.fromCodePoint : (
2757
2785
  // IE11
2758
2786
  function() {
2759
2787
  for (var t = [], r = 0; r < arguments.length; r++)
2760
2788
  t[r] = arguments[r];
2761
- for (var n = "", i = t.length, s = 0, o; i > s; ) {
2762
- if (o = t[s++], o > 1114111)
2763
- throw RangeError(o + " is not a valid code point");
2764
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2789
+ for (var n = "", i = t.length, s = 0, a; i > s; ) {
2790
+ if (a = t[s++], a > 1114111)
2791
+ throw RangeError(a + " is not a valid code point");
2792
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2765
2793
  }
2766
2794
  return n;
2767
2795
  }
2768
2796
  ), mt = (
2769
2797
  // native
2770
- Pn ? Object.fromEntries : (
2798
+ An ? Object.fromEntries : (
2771
2799
  // Ponyfill
2772
2800
  function(t) {
2773
2801
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2774
- var s = i[n], o = s[0], a = s[1];
2775
- r[o] = a;
2802
+ var s = i[n], a = s[0], o = s[1];
2803
+ r[a] = o;
2776
2804
  }
2777
2805
  return r;
2778
2806
  }
2779
2807
  )
2780
- ), nr = On ? (
2808
+ ), nr = Pn ? (
2781
2809
  // Native
2782
2810
  function(t, r) {
2783
2811
  return t.codePointAt(r);
@@ -2791,7 +2819,7 @@ var ft = Bn ? (
2791
2819
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2792
2820
  }
2793
2821
  }
2794
- ), $n = In ? (
2822
+ ), Ln = On ? (
2795
2823
  // Native
2796
2824
  function(t) {
2797
2825
  return t.trimStart();
@@ -2799,9 +2827,9 @@ var ft = Bn ? (
2799
2827
  ) : (
2800
2828
  // Ponyfill
2801
2829
  function(t) {
2802
- return t.replace(wn, "");
2830
+ return t.replace(Hn, "");
2803
2831
  }
2804
- ), Rn = Cn ? (
2832
+ ), $n = In ? (
2805
2833
  // Native
2806
2834
  function(t) {
2807
2835
  return t.trimEnd();
@@ -2809,32 +2837,32 @@ var ft = Bn ? (
2809
2837
  ) : (
2810
2838
  // Ponyfill
2811
2839
  function(t) {
2812
- return t.replace(Sn, "");
2840
+ return t.replace(wn, "");
2813
2841
  }
2814
2842
  );
2815
2843
  function ir(e, t) {
2816
2844
  return new RegExp(e, t);
2817
2845
  }
2818
- var Je;
2819
- if (We) {
2846
+ var We;
2847
+ if (Ve) {
2820
2848
  var dt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2821
- Je = function(t, r) {
2849
+ We = function(t, r) {
2822
2850
  var n;
2823
2851
  dt.lastIndex = r;
2824
2852
  var i = dt.exec(t);
2825
2853
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2826
2854
  };
2827
2855
  } else
2828
- Je = function(t, r) {
2856
+ We = function(t, r) {
2829
2857
  for (var n = []; ; ) {
2830
2858
  var i = nr(t, r);
2831
- if (i === void 0 || sr(i) || Gn(i))
2859
+ if (i === void 0 || sr(i) || kn(i))
2832
2860
  break;
2833
2861
  n.push(i), r += i >= 65536 ? 2 : 1;
2834
2862
  }
2835
- return Ze.apply(void 0, n);
2863
+ return Xe.apply(void 0, n);
2836
2864
  };
2837
- var Dn = (
2865
+ var Rn = (
2838
2866
  /** @class */
2839
2867
  function() {
2840
2868
  function e(t, r) {
@@ -2848,33 +2876,33 @@ var Dn = (
2848
2876
  for (var i = []; !this.isEOF(); ) {
2849
2877
  var s = this.char();
2850
2878
  if (s === 123) {
2851
- var o = this.parseArgument(t, n);
2852
- if (o.err)
2853
- return o;
2854
- i.push(o.val);
2879
+ var a = this.parseArgument(t, n);
2880
+ if (a.err)
2881
+ return a;
2882
+ i.push(a.val);
2855
2883
  } else {
2856
2884
  if (s === 125 && t > 0)
2857
2885
  break;
2858
2886
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2859
- var a = this.clonePosition();
2887
+ var o = this.clonePosition();
2860
2888
  this.bump(), i.push({
2861
- type: x.pound,
2862
- location: y(a, this.clonePosition())
2889
+ type: T.pound,
2890
+ location: y(o, this.clonePosition())
2863
2891
  });
2864
2892
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2865
2893
  if (n)
2866
2894
  break;
2867
2895
  return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2868
- } else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
2869
- var o = this.parseTag(t, r);
2870
- if (o.err)
2871
- return o;
2872
- i.push(o.val);
2896
+ } else if (s === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
2897
+ var a = this.parseTag(t, r);
2898
+ if (a.err)
2899
+ return a;
2900
+ i.push(a.val);
2873
2901
  } else {
2874
- var o = this.parseLiteral(t, r);
2875
- if (o.err)
2876
- return o;
2877
- i.push(o.val);
2902
+ var a = this.parseLiteral(t, r);
2903
+ if (a.err)
2904
+ return a;
2905
+ i.push(a.val);
2878
2906
  }
2879
2907
  }
2880
2908
  }
@@ -2886,7 +2914,7 @@ var Dn = (
2886
2914
  if (this.bumpSpace(), this.bumpIf("/>"))
2887
2915
  return {
2888
2916
  val: {
2889
- type: x.literal,
2917
+ type: T.literal,
2890
2918
  value: "<".concat(i, "/>"),
2891
2919
  location: y(n, this.clonePosition())
2892
2920
  },
@@ -2896,27 +2924,27 @@ var Dn = (
2896
2924
  var s = this.parseMessage(t + 1, r, !0);
2897
2925
  if (s.err)
2898
2926
  return s;
2899
- var o = s.val, a = this.clonePosition();
2927
+ var a = s.val, o = this.clonePosition();
2900
2928
  if (this.bumpIf("</")) {
2901
- if (this.isEOF() || !qe(this.char()))
2902
- return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
2929
+ if (this.isEOF() || !Ze(this.char()))
2930
+ return this.error(b.INVALID_TAG, y(o, this.clonePosition()));
2903
2931
  var h = this.clonePosition(), u = this.parseTagName();
2904
2932
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2905
2933
  val: {
2906
- type: x.tag,
2934
+ type: T.tag,
2907
2935
  value: i,
2908
- children: o,
2936
+ children: a,
2909
2937
  location: y(n, this.clonePosition())
2910
2938
  },
2911
2939
  err: null
2912
- } : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
2940
+ } : this.error(b.INVALID_TAG, y(o, this.clonePosition())));
2913
2941
  } else
2914
2942
  return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
2915
2943
  } else
2916
2944
  return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
2917
2945
  }, e.prototype.parseTagName = function() {
2918
2946
  var t = this.offset();
2919
- for (this.bump(); !this.isEOF() && kn(this.char()); )
2947
+ for (this.bump(); !this.isEOF() && Un(this.char()); )
2920
2948
  this.bump();
2921
2949
  return this.message.slice(t, this.offset());
2922
2950
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2926,26 +2954,26 @@ var Dn = (
2926
2954
  i += s;
2927
2955
  continue;
2928
2956
  }
2929
- var o = this.tryParseUnquoted(t, r);
2930
- if (o) {
2931
- i += o;
2932
- continue;
2933
- }
2934
- var a = this.tryParseLeftAngleBracket();
2957
+ var a = this.tryParseUnquoted(t, r);
2935
2958
  if (a) {
2936
2959
  i += a;
2937
2960
  continue;
2938
2961
  }
2962
+ var o = this.tryParseLeftAngleBracket();
2963
+ if (o) {
2964
+ i += o;
2965
+ continue;
2966
+ }
2939
2967
  break;
2940
2968
  }
2941
2969
  var h = y(n, this.clonePosition());
2942
2970
  return {
2943
- val: { type: x.literal, value: i, location: h },
2971
+ val: { type: T.literal, value: i, location: h },
2944
2972
  err: null
2945
2973
  };
2946
2974
  }, e.prototype.tryParseLeftAngleBracket = function() {
2947
2975
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2948
- !Un(this.peek() || 0)) ? (this.bump(), "<") : null;
2976
+ !Dn(this.peek() || 0)) ? (this.bump(), "<") : null;
2949
2977
  }, e.prototype.tryParseQuote = function(t) {
2950
2978
  if (this.isEOF() || this.char() !== 39)
2951
2979
  return null;
@@ -2979,12 +3007,12 @@ var Dn = (
2979
3007
  r.push(n);
2980
3008
  this.bump();
2981
3009
  }
2982
- return Ze.apply(void 0, r);
3010
+ return Xe.apply(void 0, r);
2983
3011
  }, e.prototype.tryParseUnquoted = function(t, r) {
2984
3012
  if (this.isEOF())
2985
3013
  return null;
2986
3014
  var n = this.char();
2987
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
3015
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
2988
3016
  }, e.prototype.parseArgument = function(t, r) {
2989
3017
  var n = this.clonePosition();
2990
3018
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3000,7 +3028,7 @@ var Dn = (
3000
3028
  case 125:
3001
3029
  return this.bump(), {
3002
3030
  val: {
3003
- type: x.argument,
3031
+ type: T.argument,
3004
3032
  // value does not include the opening and closing braces.
3005
3033
  value: i,
3006
3034
  location: y(n, this.clonePosition())
@@ -3013,15 +3041,15 @@ var Dn = (
3013
3041
  return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3014
3042
  }
3015
3043
  }, e.prototype.parseIdentifierIfPossible = function() {
3016
- var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3044
+ var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3017
3045
  this.bumpTo(i);
3018
- var s = this.clonePosition(), o = y(t, s);
3019
- return { value: n, location: o };
3046
+ var s = this.clonePosition(), a = y(t, s);
3047
+ return { value: n, location: a };
3020
3048
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3021
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3022
- switch (a) {
3049
+ var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3050
+ switch (o) {
3023
3051
  case "":
3024
- return this.error(b.EXPECT_ARGUMENT_TYPE, y(o, h));
3052
+ return this.error(b.EXPECT_ARGUMENT_TYPE, y(a, h));
3025
3053
  case "number":
3026
3054
  case "date":
3027
3055
  case "time": {
@@ -3032,7 +3060,7 @@ var Dn = (
3032
3060
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3033
3061
  if (c.err)
3034
3062
  return c;
3035
- var m = Rn(c.val);
3063
+ var m = $n(c.val);
3036
3064
  if (m.length === 0)
3037
3065
  return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3038
3066
  var d = y(l, this.clonePosition());
@@ -3041,37 +3069,37 @@ var Dn = (
3041
3069
  var p = this.tryParseArgumentClose(i);
3042
3070
  if (p.err)
3043
3071
  return p;
3044
- var _ = y(i, this.clonePosition());
3072
+ var v = y(i, this.clonePosition());
3045
3073
  if (u && ft(u?.style, "::", 0)) {
3046
- var v = $n(u.style.slice(2));
3047
- if (a === "number") {
3048
- var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3074
+ var x = Ln(u.style.slice(2));
3075
+ if (o === "number") {
3076
+ var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
3049
3077
  return c.err ? c : {
3050
- val: { type: x.number, value: n, location: _, style: c.val },
3078
+ val: { type: T.number, value: n, location: v, style: c.val },
3051
3079
  err: null
3052
3080
  };
3053
3081
  } else {
3054
- if (v.length === 0)
3055
- return this.error(b.EXPECT_DATE_TIME_SKELETON, _);
3056
- var E = v;
3057
- this.locale && (E = Tn(v, this.locale));
3082
+ if (x.length === 0)
3083
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, v);
3084
+ var E = x;
3085
+ this.locale && (E = xn(x, this.locale));
3058
3086
  var m = {
3059
- type: V.dateTime,
3087
+ type: z.dateTime,
3060
3088
  pattern: E,
3061
3089
  location: u.styleLocation,
3062
- parsedOptions: this.shouldParseSkeletons ? gn(E) : {}
3063
- }, f = a === "date" ? x.date : x.time;
3090
+ parsedOptions: this.shouldParseSkeletons ? pn(E) : {}
3091
+ }, f = o === "date" ? T.date : T.time;
3064
3092
  return {
3065
- val: { type: f, value: n, location: _, style: m },
3093
+ val: { type: f, value: n, location: v, style: m },
3066
3094
  err: null
3067
3095
  };
3068
3096
  }
3069
3097
  }
3070
3098
  return {
3071
3099
  val: {
3072
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3100
+ type: o === "number" ? T.number : o === "date" ? T.date : T.time,
3073
3101
  value: n,
3074
- location: _,
3102
+ location: v,
3075
3103
  style: (s = u?.style) !== null && s !== void 0 ? s : null
3076
3104
  },
3077
3105
  err: null
@@ -3082,10 +3110,10 @@ var Dn = (
3082
3110
  case "select": {
3083
3111
  var g = this.clonePosition();
3084
3112
  if (this.bumpSpace(), !this.bumpIf(","))
3085
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g, we({}, g)));
3113
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g, _({}, g)));
3086
3114
  this.bumpSpace();
3087
3115
  var S = this.parseIdentifierIfPossible(), M = 0;
3088
- if (a !== "select" && S.value === "offset") {
3116
+ if (o !== "select" && S.value === "offset") {
3089
3117
  if (!this.bumpIf(":"))
3090
3118
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3091
3119
  this.bumpSpace();
@@ -3094,35 +3122,35 @@ var Dn = (
3094
3122
  return c;
3095
3123
  this.bumpSpace(), S = this.parseIdentifierIfPossible(), M = c.val;
3096
3124
  }
3097
- var le = this.tryParsePluralOrSelectOptions(t, a, r, S);
3098
- if (le.err)
3099
- return le;
3125
+ var ue = this.tryParsePluralOrSelectOptions(t, o, r, S);
3126
+ if (ue.err)
3127
+ return ue;
3100
3128
  var p = this.tryParseArgumentClose(i);
3101
3129
  if (p.err)
3102
3130
  return p;
3103
3131
  var nt = y(i, this.clonePosition());
3104
- return a === "select" ? {
3132
+ return o === "select" ? {
3105
3133
  val: {
3106
- type: x.select,
3134
+ type: T.select,
3107
3135
  value: n,
3108
- options: mt(le.val),
3136
+ options: mt(ue.val),
3109
3137
  location: nt
3110
3138
  },
3111
3139
  err: null
3112
3140
  } : {
3113
3141
  val: {
3114
- type: x.plural,
3142
+ type: T.plural,
3115
3143
  value: n,
3116
- options: mt(le.val),
3144
+ options: mt(ue.val),
3117
3145
  offset: M,
3118
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3146
+ pluralType: o === "plural" ? "cardinal" : "ordinal",
3119
3147
  location: nt
3120
3148
  },
3121
3149
  err: null
3122
3150
  };
3123
3151
  }
3124
3152
  default:
3125
- return this.error(b.INVALID_ARGUMENT_TYPE, y(o, h));
3153
+ return this.error(b.INVALID_ARGUMENT_TYPE, y(a, h));
3126
3154
  }
3127
3155
  }, e.prototype.tryParseArgumentClose = function(t) {
3128
3156
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3164,21 +3192,21 @@ var Dn = (
3164
3192
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3165
3193
  var n = [];
3166
3194
  try {
3167
- n = yn(t);
3195
+ n = bn(t);
3168
3196
  } catch {
3169
3197
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3170
3198
  }
3171
3199
  return {
3172
3200
  val: {
3173
- type: V.number,
3201
+ type: z.number,
3174
3202
  tokens: n,
3175
3203
  location: r,
3176
- parsedOptions: this.shouldParseSkeletons ? xn(n) : {}
3204
+ parsedOptions: this.shouldParseSkeletons ? En(n) : {}
3177
3205
  },
3178
3206
  err: null
3179
3207
  };
3180
3208
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3181
- for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3209
+ for (var s, a = !1, o = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3182
3210
  if (u.length === 0) {
3183
3211
  var c = this.clonePosition();
3184
3212
  if (r !== "select" && this.bumpIf("=")) {
@@ -3191,17 +3219,17 @@ var Dn = (
3191
3219
  }
3192
3220
  if (h.has(u))
3193
3221
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3194
- u === "other" && (o = !0), this.bumpSpace();
3222
+ u === "other" && (a = !0), this.bumpSpace();
3195
3223
  var d = this.clonePosition();
3196
3224
  if (!this.bumpIf("{"))
3197
3225
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3198
3226
  var p = this.parseMessage(t + 1, r, n);
3199
3227
  if (p.err)
3200
3228
  return p;
3201
- var _ = this.tryParseArgumentClose(d);
3202
- if (_.err)
3203
- return _;
3204
- a.push([
3229
+ var v = this.tryParseArgumentClose(d);
3230
+ if (v.err)
3231
+ return v;
3232
+ o.push([
3205
3233
  u,
3206
3234
  {
3207
3235
  value: p.val,
@@ -3209,19 +3237,19 @@ var Dn = (
3209
3237
  }
3210
3238
  ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3211
3239
  }
3212
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3240
+ return o.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3213
3241
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3214
3242
  var n = 1, i = this.clonePosition();
3215
3243
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3216
- for (var s = !1, o = 0; !this.isEOF(); ) {
3217
- var a = this.char();
3218
- if (a >= 48 && a <= 57)
3219
- s = !0, o = o * 10 + (a - 48), this.bump();
3244
+ for (var s = !1, a = 0; !this.isEOF(); ) {
3245
+ var o = this.char();
3246
+ if (o >= 48 && o <= 57)
3247
+ s = !0, a = a * 10 + (o - 48), this.bump();
3220
3248
  else
3221
3249
  break;
3222
3250
  }
3223
3251
  var h = y(i, this.clonePosition());
3224
- return s ? (o *= n, Ln(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3252
+ return s ? (a *= n, Nn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3225
3253
  }, e.prototype.offset = function() {
3226
3254
  return this.position.offset;
3227
3255
  }, e.prototype.isEOF = function() {
@@ -3287,47 +3315,47 @@ var Dn = (
3287
3315
  }, e;
3288
3316
  }()
3289
3317
  );
3290
- function qe(e) {
3318
+ function Ze(e) {
3291
3319
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3292
3320
  }
3293
- function Un(e) {
3294
- return qe(e) || e === 47;
3321
+ function Dn(e) {
3322
+ return Ze(e) || e === 47;
3295
3323
  }
3296
- function kn(e) {
3324
+ function Un(e) {
3297
3325
  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;
3298
3326
  }
3299
3327
  function sr(e) {
3300
3328
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3301
3329
  }
3302
- function Gn(e) {
3330
+ function kn(e) {
3303
3331
  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;
3304
3332
  }
3305
- function Qe(e) {
3333
+ function Je(e) {
3306
3334
  e.forEach(function(t) {
3307
3335
  if (delete t.location, Jt(t) || qt(t))
3308
3336
  for (var r in t.options)
3309
- delete t.options[r].location, Qe(t.options[r].value);
3337
+ delete t.options[r].location, Je(t.options[r].value);
3310
3338
  else
3311
- Xt(t) && Yt(t.style) || (Wt(t) || Zt(t)) && Xe(t.style) ? delete t.style.location : Qt(t) && Qe(t.children);
3339
+ Xt(t) && Yt(t.style) || (Wt(t) || Zt(t)) && ze(t.style) ? delete t.style.location : Qt(t) && Je(t.children);
3312
3340
  });
3313
3341
  }
3314
- function Fn(e, t) {
3315
- t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3316
- var r = new Dn(e, t).parse();
3342
+ function Gn(e, t) {
3343
+ t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3344
+ var r = new Rn(e, t).parse();
3317
3345
  if (r.err) {
3318
3346
  var n = SyntaxError(b[r.err.kind]);
3319
3347
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3320
3348
  }
3321
- return t?.captureLocation || Qe(r.val), r.val;
3349
+ return t?.captureLocation || Je(r.val), r.val;
3322
3350
  }
3323
- var X;
3351
+ var V;
3324
3352
  (function(e) {
3325
3353
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3326
- })(X || (X = {}));
3327
- var Ce = (
3354
+ })(V || (V = {}));
3355
+ var Oe = (
3328
3356
  /** @class */
3329
3357
  function(e) {
3330
- Ie(t, e);
3358
+ Pe(t, e);
3331
3359
  function t(r, n, i) {
3332
3360
  var s = e.call(this, r) || this;
3333
3361
  return s.code = n, s.originalMessage = i, s;
@@ -3339,44 +3367,44 @@ var Ce = (
3339
3367
  ), pt = (
3340
3368
  /** @class */
3341
3369
  function(e) {
3342
- Ie(t, e);
3370
+ Pe(t, e);
3343
3371
  function t(r, n, i, s) {
3344
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
3372
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3345
3373
  }
3346
3374
  return t;
3347
- }(Ce)
3348
- ), jn = (
3375
+ }(Oe)
3376
+ ), Fn = (
3349
3377
  /** @class */
3350
3378
  function(e) {
3351
- Ie(t, e);
3379
+ Pe(t, e);
3352
3380
  function t(r, n, i) {
3353
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3381
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3354
3382
  }
3355
3383
  return t;
3356
- }(Ce)
3357
- ), zn = (
3384
+ }(Oe)
3385
+ ), jn = (
3358
3386
  /** @class */
3359
3387
  function(e) {
3360
- Ie(t, e);
3388
+ Pe(t, e);
3361
3389
  function t(r, n) {
3362
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3390
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3363
3391
  }
3364
3392
  return t;
3365
- }(Ce)
3393
+ }(Oe)
3366
3394
  ), H;
3367
3395
  (function(e) {
3368
3396
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3369
3397
  })(H || (H = {}));
3370
- function Vn(e) {
3398
+ function zn(e) {
3371
3399
  return e.length < 2 ? e : e.reduce(function(t, r) {
3372
3400
  var n = t[t.length - 1];
3373
3401
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3374
3402
  }, []);
3375
3403
  }
3376
- function Xn(e) {
3404
+ function Vn(e) {
3377
3405
  return typeof e == "function";
3378
3406
  }
3379
- function Ee(e, t, r, n, i, s, o) {
3407
+ function _e(e, t, r, n, i, s, a) {
3380
3408
  if (e.length === 1 && ut(e[0]))
3381
3409
  return [
3382
3410
  {
@@ -3384,17 +3412,17 @@ function Ee(e, t, r, n, i, s, o) {
3384
3412
  value: e[0].value
3385
3413
  }
3386
3414
  ];
3387
- for (var a = [], h = 0, u = e; h < u.length; h++) {
3415
+ for (var o = [], h = 0, u = e; h < u.length; h++) {
3388
3416
  var l = u[h];
3389
3417
  if (ut(l)) {
3390
- a.push({
3418
+ o.push({
3391
3419
  type: H.literal,
3392
3420
  value: l.value
3393
3421
  });
3394
3422
  continue;
3395
3423
  }
3396
- if (dn(l)) {
3397
- typeof s == "number" && a.push({
3424
+ if (mn(l)) {
3425
+ typeof s == "number" && o.push({
3398
3426
  type: H.literal,
3399
3427
  value: r.getNumberFormat(t).format(s)
3400
3428
  });
@@ -3402,26 +3430,26 @@ function Ee(e, t, r, n, i, s, o) {
3402
3430
  }
3403
3431
  var c = l.value;
3404
3432
  if (!(i && c in i))
3405
- throw new zn(c, o);
3433
+ throw new jn(c, a);
3406
3434
  var m = i[c];
3407
- if (mn(l)) {
3408
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3435
+ if (fn(l)) {
3436
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), o.push({
3409
3437
  type: typeof m == "string" ? H.literal : H.object,
3410
3438
  value: m
3411
3439
  });
3412
3440
  continue;
3413
3441
  }
3414
3442
  if (Wt(l)) {
3415
- var d = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3416
- a.push({
3443
+ var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
3444
+ o.push({
3417
3445
  type: H.literal,
3418
3446
  value: r.getDateTimeFormat(t, d).format(m)
3419
3447
  });
3420
3448
  continue;
3421
3449
  }
3422
3450
  if (Zt(l)) {
3423
- var d = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3424
- a.push({
3451
+ var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
3452
+ o.push({
3425
3453
  type: H.literal,
3426
3454
  value: r.getDateTimeFormat(t, d).format(m)
3427
3455
  });
@@ -3429,20 +3457,20 @@ function Ee(e, t, r, n, i, s, o) {
3429
3457
  }
3430
3458
  if (Xt(l)) {
3431
3459
  var d = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3432
- d && d.scale && (m = m * (d.scale || 1)), a.push({
3460
+ d && d.scale && (m = m * (d.scale || 1)), o.push({
3433
3461
  type: H.literal,
3434
3462
  value: r.getNumberFormat(t, d).format(m)
3435
3463
  });
3436
3464
  continue;
3437
3465
  }
3438
3466
  if (Qt(l)) {
3439
- var p = l.children, _ = l.value, v = i[_];
3440
- if (!Xn(v))
3441
- throw new jn(_, "function", o);
3442
- var E = Ee(p, t, r, n, i, s), f = v(E.map(function(M) {
3467
+ var p = l.children, v = l.value, x = i[v];
3468
+ if (!Vn(x))
3469
+ throw new Fn(v, "function", a);
3470
+ var E = _e(p, t, r, n, i, s), f = x(E.map(function(M) {
3443
3471
  return M.value;
3444
3472
  }));
3445
- Array.isArray(f) || (f = [f]), a.push.apply(a, f.map(function(M) {
3473
+ Array.isArray(f) || (f = [f]), o.push.apply(o, f.map(function(M) {
3446
3474
  return {
3447
3475
  type: typeof M == "string" ? H.literal : H.object,
3448
3476
  value: M
@@ -3452,39 +3480,39 @@ function Ee(e, t, r, n, i, s, o) {
3452
3480
  if (Jt(l)) {
3453
3481
  var g = l.options[m] || l.options.other;
3454
3482
  if (!g)
3455
- throw new pt(l.value, m, Object.keys(l.options), o);
3456
- a.push.apply(a, Ee(g.value, t, r, n, i));
3483
+ throw new pt(l.value, m, Object.keys(l.options), a);
3484
+ o.push.apply(o, _e(g.value, t, r, n, i));
3457
3485
  continue;
3458
3486
  }
3459
3487
  if (qt(l)) {
3460
3488
  var g = l.options["=".concat(m)];
3461
3489
  if (!g) {
3462
3490
  if (!Intl.PluralRules)
3463
- throw new Ce(`Intl.PluralRules is not available in this environment.
3491
+ throw new Oe(`Intl.PluralRules is not available in this environment.
3464
3492
  Try polyfilling it using "@formatjs/intl-pluralrules"
3465
- `, X.MISSING_INTL_API, o);
3493
+ `, V.MISSING_INTL_API, a);
3466
3494
  var S = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
3467
3495
  g = l.options[S] || l.options.other;
3468
3496
  }
3469
3497
  if (!g)
3470
- throw new pt(l.value, m, Object.keys(l.options), o);
3471
- a.push.apply(a, Ee(g.value, t, r, n, i, m - (l.offset || 0)));
3498
+ throw new pt(l.value, m, Object.keys(l.options), a);
3499
+ o.push.apply(o, _e(g.value, t, r, n, i, m - (l.offset || 0)));
3472
3500
  continue;
3473
3501
  }
3474
3502
  }
3475
- return Vn(a);
3503
+ return zn(o);
3476
3504
  }
3477
- function Wn(e, t) {
3478
- return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3479
- return r[n] = B(B({}, e[n]), t[n] || {}), r;
3505
+ function Xn(e, t) {
3506
+ return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3507
+ return r[n] = _(_({}, e[n]), t[n] || {}), r;
3480
3508
  }, {})) : e;
3481
3509
  }
3482
- function Zn(e, t) {
3510
+ function Wn(e, t) {
3483
3511
  return t ? Object.keys(e).reduce(function(r, n) {
3484
- return r[n] = Wn(e[n], t[n]), r;
3485
- }, B({}, e)) : e;
3512
+ return r[n] = Xn(e[n], t[n]), r;
3513
+ }, _({}, e)) : e;
3486
3514
  }
3487
- function ke(e) {
3515
+ function De(e) {
3488
3516
  return {
3489
3517
  create: function() {
3490
3518
  return {
@@ -3498,39 +3526,39 @@ function ke(e) {
3498
3526
  }
3499
3527
  };
3500
3528
  }
3501
- function Jn(e) {
3529
+ function Zn(e) {
3502
3530
  return e === void 0 && (e = {
3503
3531
  number: {},
3504
3532
  dateTime: {},
3505
3533
  pluralRules: {}
3506
3534
  }), {
3507
- getNumberFormat: Re(function() {
3535
+ getNumberFormat: Le(function() {
3508
3536
  for (var t, r = [], n = 0; n < arguments.length; n++)
3509
3537
  r[n] = arguments[n];
3510
- return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
3538
+ return new ((t = Intl.NumberFormat).bind.apply(t, Me([void 0], r, !1)))();
3511
3539
  }, {
3512
- cache: ke(e.number),
3513
- strategy: De.variadic
3540
+ cache: De(e.number),
3541
+ strategy: $e.variadic
3514
3542
  }),
3515
- getDateTimeFormat: Re(function() {
3543
+ getDateTimeFormat: Le(function() {
3516
3544
  for (var t, r = [], n = 0; n < arguments.length; n++)
3517
3545
  r[n] = arguments[n];
3518
- return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
3546
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Me([void 0], r, !1)))();
3519
3547
  }, {
3520
- cache: ke(e.dateTime),
3521
- strategy: De.variadic
3548
+ cache: De(e.dateTime),
3549
+ strategy: $e.variadic
3522
3550
  }),
3523
- getPluralRules: Re(function() {
3551
+ getPluralRules: Le(function() {
3524
3552
  for (var t, r = [], n = 0; n < arguments.length; n++)
3525
3553
  r[n] = arguments[n];
3526
- return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
3554
+ return new ((t = Intl.PluralRules).bind.apply(t, Me([void 0], r, !1)))();
3527
3555
  }, {
3528
- cache: ke(e.pluralRules),
3529
- strategy: De.variadic
3556
+ cache: De(e.pluralRules),
3557
+ strategy: $e.variadic
3530
3558
  })
3531
3559
  };
3532
3560
  }
3533
- var or = (
3561
+ var ar = (
3534
3562
  /** @class */
3535
3563
  function() {
3536
3564
  function e(t, r, n, i) {
@@ -3549,7 +3577,7 @@ var or = (
3549
3577
  }, []);
3550
3578
  return l.length <= 1 ? l[0] || "" : l;
3551
3579
  }, this.formatToParts = function(h) {
3552
- return Ee(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3580
+ return _e(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3553
3581
  }, this.resolvedOptions = function() {
3554
3582
  var h;
3555
3583
  return {
@@ -3560,15 +3588,15 @@ var or = (
3560
3588
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3561
3589
  if (this.message = t, !e.__parse)
3562
3590
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3563
- var o = i || {};
3564
- o.formatters;
3565
- var a = sn(o, ["formatters"]);
3566
- this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
3591
+ var a = i || {};
3592
+ a.formatters;
3593
+ var o = sn(a, ["formatters"]);
3594
+ this.ast = e.__parse(t, _(_({}, o), { locale: this.resolvedLocale }));
3567
3595
  } else
3568
3596
  this.ast = t;
3569
3597
  if (!Array.isArray(this.ast))
3570
3598
  throw new TypeError("A message must be provided as a String or AST.");
3571
- this.formats = Zn(e.formats, n), this.formatters = i && i.formatters || Jn(this.formatterCache);
3599
+ this.formats = Wn(e.formats, n), this.formatters = i && i.formatters || Zn(this.formatterCache);
3572
3600
  }
3573
3601
  return Object.defineProperty(e, "defaultLocale", {
3574
3602
  get: function() {
@@ -3581,7 +3609,7 @@ var or = (
3581
3609
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3582
3610
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3583
3611
  }
3584
- }, e.__parse = Fn, e.formats = {
3612
+ }, e.__parse = Gn, e.formats = {
3585
3613
  number: {
3586
3614
  integer: {
3587
3615
  maximumFractionDigits: 0
@@ -3642,7 +3670,7 @@ var or = (
3642
3670
  }, e;
3643
3671
  }()
3644
3672
  );
3645
- function qn(e, t) {
3673
+ function Jn(e, t) {
3646
3674
  if (t == null)
3647
3675
  return;
3648
3676
  if (t in e)
@@ -3663,36 +3691,36 @@ function qn(e, t) {
3663
3691
  n = void 0;
3664
3692
  return n;
3665
3693
  }
3666
- const C = {}, Qn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), ar = (e, t) => {
3694
+ const I = {}, qn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), or = (e, t) => {
3667
3695
  if (t == null)
3668
3696
  return;
3669
- if (t in C && e in C[t])
3670
- return C[t][e];
3671
- const r = ue(t);
3697
+ if (t in I && e in I[t])
3698
+ return I[t][e];
3699
+ const r = oe(t);
3672
3700
  for (let n = 0; n < r.length; n++) {
3673
- const i = r[n], s = Kn(i, e);
3701
+ const i = r[n], s = Yn(i, e);
3674
3702
  if (s)
3675
- return Qn(e, t, s);
3703
+ return qn(e, t, s);
3676
3704
  }
3677
3705
  };
3678
3706
  let tt;
3679
- const ae = Oe({});
3680
- function Yn(e) {
3707
+ const ae = Ae({});
3708
+ function Qn(e) {
3681
3709
  return tt[e] || null;
3682
3710
  }
3683
3711
  function ur(e) {
3684
3712
  return e in tt;
3685
3713
  }
3686
- function Kn(e, t) {
3714
+ function Yn(e, t) {
3687
3715
  if (!ur(e))
3688
3716
  return null;
3689
- const r = Yn(e);
3690
- return qn(r, t);
3717
+ const r = Qn(e);
3718
+ return Jn(r, t);
3691
3719
  }
3692
- function ei(e) {
3720
+ function Kn(e) {
3693
3721
  if (e == null)
3694
3722
  return;
3695
- const t = ue(e);
3723
+ const t = oe(e);
3696
3724
  for (let r = 0; r < t.length; r++) {
3697
3725
  const n = t[r];
3698
3726
  if (ur(n))
@@ -3700,61 +3728,61 @@ function ei(e) {
3700
3728
  }
3701
3729
  }
3702
3730
  function lr(e, ...t) {
3703
- delete C[e], ae.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
3731
+ delete I[e], ae.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
3704
3732
  }
3705
- J(
3733
+ Z(
3706
3734
  [ae],
3707
3735
  ([e]) => Object.keys(e)
3708
3736
  );
3709
3737
  ae.subscribe((e) => tt = e);
3710
3738
  const ve = {};
3711
- function ti(e, t) {
3739
+ function ei(e, t) {
3712
3740
  ve[e].delete(t), ve[e].size === 0 && delete ve[e];
3713
3741
  }
3714
3742
  function hr(e) {
3715
3743
  return ve[e];
3716
3744
  }
3717
- function ri(e) {
3718
- return ue(e).map((t) => {
3745
+ function ti(e) {
3746
+ return oe(e).map((t) => {
3719
3747
  const r = hr(t);
3720
3748
  return [t, r ? [...r] : []];
3721
3749
  }).filter(([, t]) => t.length > 0);
3722
3750
  }
3723
- function Se(e) {
3724
- return e == null ? !1 : ue(e).some(
3751
+ function He(e) {
3752
+ return e == null ? !1 : oe(e).some(
3725
3753
  (t) => {
3726
3754
  var r;
3727
3755
  return (r = hr(t)) == null ? void 0 : r.size;
3728
3756
  }
3729
3757
  );
3730
3758
  }
3731
- function ni(e, t) {
3759
+ function ri(e, t) {
3732
3760
  return Promise.all(
3733
- t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
3761
+ t.map((n) => (ei(e, n), n().then((i) => i.default || i)))
3734
3762
  ).then((n) => lr(e, ...n));
3735
3763
  }
3736
- const Y = {};
3764
+ const Q = {};
3737
3765
  function cr(e) {
3738
- if (!Se(e))
3739
- return e in Y ? Y[e] : Promise.resolve();
3740
- const t = ri(e);
3741
- return Y[e] = Promise.all(
3766
+ if (!He(e))
3767
+ return e in Q ? Q[e] : Promise.resolve();
3768
+ const t = ti(e);
3769
+ return Q[e] = Promise.all(
3742
3770
  t.map(
3743
- ([r, n]) => ni(r, n)
3771
+ ([r, n]) => ri(r, n)
3744
3772
  )
3745
3773
  ).then(() => {
3746
- if (Se(e))
3774
+ if (He(e))
3747
3775
  return cr(e);
3748
- delete Y[e];
3749
- }), Y[e];
3776
+ delete Q[e];
3777
+ }), Q[e];
3750
3778
  }
3751
- var gt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, oi = (e, t) => {
3779
+ var gt = Object.getOwnPropertySymbols, ni = Object.prototype.hasOwnProperty, ii = Object.prototype.propertyIsEnumerable, si = (e, t) => {
3752
3780
  var r = {};
3753
3781
  for (var n in e)
3754
- ii.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3782
+ ni.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3755
3783
  if (e != null && gt)
3756
3784
  for (var n of gt(e))
3757
- t.indexOf(n) < 0 && si.call(e, n) && (r[n] = e[n]);
3785
+ t.indexOf(n) < 0 && ii.call(e, n) && (r[n] = e[n]);
3758
3786
  return r;
3759
3787
  };
3760
3788
  const ai = {
@@ -3787,183 +3815,183 @@ const ai = {
3787
3815
  }
3788
3816
  }
3789
3817
  };
3790
- function ui({ locale: e, id: t }) {
3818
+ function oi({ locale: e, id: t }) {
3791
3819
  console.warn(
3792
- `[svelte-i18n] The message "${t}" was not found in "${ue(
3820
+ `[svelte-i18n] The message "${t}" was not found in "${oe(
3793
3821
  e
3794
- ).join('", "')}".${Se(L()) ? `
3822
+ ).join('", "')}".${He(N()) ? `
3795
3823
 
3796
3824
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3797
3825
  );
3798
3826
  }
3799
- const li = {
3827
+ const ui = {
3800
3828
  fallbackLocale: null,
3801
3829
  loadingDelay: 200,
3802
3830
  formats: ai,
3803
3831
  warnOnMissingMessages: !0,
3804
3832
  handleMissingMessage: void 0,
3805
3833
  ignoreTag: !0
3806
- }, ee = li;
3807
- function W() {
3808
- return ee;
3834
+ }, K = ui;
3835
+ function X() {
3836
+ return K;
3809
3837
  }
3810
- function hi(e) {
3811
- const t = e, { formats: r } = t, n = oi(t, ["formats"]);
3838
+ function li(e) {
3839
+ const t = e, { formats: r } = t, n = si(t, ["formats"]);
3812
3840
  let i = e.fallbackLocale;
3813
3841
  if (e.initialLocale)
3814
3842
  try {
3815
- or.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3843
+ ar.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3816
3844
  } catch {
3817
3845
  console.warn(
3818
3846
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3819
3847
  );
3820
3848
  }
3821
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ui : console.warn(
3849
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = oi : console.warn(
3822
3850
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3823
- )), Object.assign(ee, n, { initialLocale: i }), r && ("number" in r && Object.assign(ee.formats.number, r.number), "date" in r && Object.assign(ee.formats.date, r.date), "time" in r && Object.assign(ee.formats.time, r.time)), R.set(i);
3851
+ )), Object.assign(K, n, { initialLocale: i }), r && ("number" in r && Object.assign(K.formats.number, r.number), "date" in r && Object.assign(K.formats.date, r.date), "time" in r && Object.assign(K.formats.time, r.time)), $.set(i);
3824
3852
  }
3825
- const Ge = Oe(!1);
3826
- var ci = Object.defineProperty, fi = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gi = (e, t) => {
3853
+ const Ue = Ae(!1);
3854
+ var hi = Object.defineProperty, ci = Object.defineProperties, fi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, mi = Object.prototype.hasOwnProperty, di = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pi = (e, t) => {
3827
3855
  for (var r in t || (t = {}))
3828
- di.call(t, r) && yt(e, r, t[r]);
3856
+ mi.call(t, r) && yt(e, r, t[r]);
3829
3857
  if (bt)
3830
3858
  for (var r of bt(t))
3831
- pi.call(t, r) && yt(e, r, t[r]);
3859
+ di.call(t, r) && yt(e, r, t[r]);
3832
3860
  return e;
3833
- }, bi = (e, t) => fi(e, mi(t));
3834
- let Ye;
3835
- const Be = Oe(null);
3861
+ }, gi = (e, t) => ci(e, fi(t));
3862
+ let qe;
3863
+ const we = Ae(null);
3836
3864
  function _t(e) {
3837
3865
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3838
3866
  }
3839
- function ue(e, t = W().fallbackLocale) {
3867
+ function oe(e, t = X().fallbackLocale) {
3840
3868
  const r = _t(e);
3841
3869
  return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
3842
3870
  }
3843
- function L() {
3844
- return Ye ?? void 0;
3871
+ function N() {
3872
+ return qe ?? void 0;
3845
3873
  }
3846
- Be.subscribe((e) => {
3847
- Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3874
+ we.subscribe((e) => {
3875
+ qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3848
3876
  });
3849
- const yi = (e) => {
3850
- if (e && ei(e) && Se(e)) {
3851
- const { loadingDelay: t } = W();
3877
+ const bi = (e) => {
3878
+ if (e && Kn(e) && He(e)) {
3879
+ const { loadingDelay: t } = X();
3852
3880
  let r;
3853
- return typeof window < "u" && L() != null && t ? r = window.setTimeout(
3854
- () => Ge.set(!0),
3881
+ return typeof window < "u" && N() != null && t ? r = window.setTimeout(
3882
+ () => Ue.set(!0),
3855
3883
  t
3856
- ) : Ge.set(!0), cr(e).then(() => {
3857
- Be.set(e);
3884
+ ) : Ue.set(!0), cr(e).then(() => {
3885
+ we.set(e);
3858
3886
  }).finally(() => {
3859
- clearTimeout(r), Ge.set(!1);
3887
+ clearTimeout(r), Ue.set(!1);
3860
3888
  });
3861
3889
  }
3862
- return Be.set(e);
3863
- }, R = bi(gi({}, Be), {
3864
- set: yi
3865
- }), Ne = (e) => {
3890
+ return we.set(e);
3891
+ }, $ = gi(pi({}, we), {
3892
+ set: bi
3893
+ }), Ie = (e) => {
3866
3894
  const t = /* @__PURE__ */ Object.create(null);
3867
3895
  return (n) => {
3868
3896
  const i = JSON.stringify(n);
3869
3897
  return i in t ? t[i] : t[i] = e(n);
3870
3898
  };
3871
3899
  };
3872
- var _i = Object.defineProperty, Ae = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3900
+ var yi = Object.defineProperty, Se = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3873
3901
  for (var r in t || (t = {}))
3874
- fr.call(t, r) && Et(e, r, t[r]);
3875
- if (Ae)
3876
- for (var r of Ae(t))
3877
- mr.call(t, r) && Et(e, r, t[r]);
3902
+ fr.call(t, r) && vt(e, r, t[r]);
3903
+ if (Se)
3904
+ for (var r of Se(t))
3905
+ mr.call(t, r) && vt(e, r, t[r]);
3878
3906
  return e;
3879
- }, q = (e, t) => {
3907
+ }, J = (e, t) => {
3880
3908
  var r = {};
3881
3909
  for (var n in e)
3882
3910
  fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3883
- if (e != null && Ae)
3884
- for (var n of Ae(e))
3911
+ if (e != null && Se)
3912
+ for (var n of Se(e))
3885
3913
  t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3886
3914
  return r;
3887
3915
  };
3888
- const se = (e, t) => {
3889
- const { formats: r } = W();
3916
+ const ie = (e, t) => {
3917
+ const { formats: r } = X();
3890
3918
  if (e in r && t in r[e])
3891
3919
  return r[e][t];
3892
3920
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3893
- }, Ei = Ne(
3921
+ }, _i = Ie(
3894
3922
  (e) => {
3895
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3923
+ var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3896
3924
  if (r == null)
3897
3925
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3898
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3926
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
3899
3927
  }
3900
- ), vi = Ne(
3928
+ ), vi = Ie(
3901
3929
  (e) => {
3902
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3930
+ var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3903
3931
  if (r == null)
3904
3932
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3905
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3933
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
3906
3934
  }
3907
- ), xi = Ne(
3935
+ ), Ei = Ie(
3908
3936
  (e) => {
3909
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3937
+ var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3910
3938
  if (r == null)
3911
3939
  throw new Error(
3912
3940
  '[svelte-i18n] A "locale" must be set to format time values'
3913
3941
  );
3914
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3942
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
3915
3943
  }
3916
- ), Ti = (e = {}) => {
3944
+ ), xi = (e = {}) => {
3917
3945
  var t = e, {
3918
- locale: r = L()
3919
- } = t, n = q(t, [
3946
+ locale: r = N()
3947
+ } = t, n = J(t, [
3920
3948
  "locale"
3921
3949
  ]);
3922
- return Ei(rt({ locale: r }, n));
3923
- }, Hi = (e = {}) => {
3950
+ return _i(rt({ locale: r }, n));
3951
+ }, Ti = (e = {}) => {
3924
3952
  var t = e, {
3925
- locale: r = L()
3926
- } = t, n = q(t, [
3953
+ locale: r = N()
3954
+ } = t, n = J(t, [
3927
3955
  "locale"
3928
3956
  ]);
3929
3957
  return vi(rt({ locale: r }, n));
3930
- }, wi = (e = {}) => {
3958
+ }, Hi = (e = {}) => {
3931
3959
  var t = e, {
3932
- locale: r = L()
3933
- } = t, n = q(t, [
3960
+ locale: r = N()
3961
+ } = t, n = J(t, [
3934
3962
  "locale"
3935
3963
  ]);
3936
- return xi(rt({ locale: r }, n));
3937
- }, Si = Ne(
3964
+ return Ei(rt({ locale: r }, n));
3965
+ }, wi = Ie(
3938
3966
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3939
- (e, t = L()) => new or(e, t, W().formats, {
3940
- ignoreTag: W().ignoreTag
3967
+ (e, t = N()) => new ar(e, t, X().formats, {
3968
+ ignoreTag: X().ignoreTag
3941
3969
  })
3942
- ), Bi = (e, t = {}) => {
3970
+ ), Si = (e, t = {}) => {
3943
3971
  var r, n, i, s;
3944
- let o = t;
3945
- typeof e == "object" && (o = e, e = o.id);
3972
+ let a = t;
3973
+ typeof e == "object" && (a = e, e = a.id);
3946
3974
  const {
3947
- values: a,
3948
- locale: h = L(),
3975
+ values: o,
3976
+ locale: h = N(),
3949
3977
  default: u
3950
- } = o;
3978
+ } = a;
3951
3979
  if (h == null)
3952
3980
  throw new Error(
3953
3981
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3954
3982
  );
3955
- let l = ar(e, h);
3983
+ let l = or(e, h);
3956
3984
  if (!l)
3957
- l = (s = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3985
+ l = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3958
3986
  else if (typeof l != "string")
3959
3987
  return console.warn(
3960
3988
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3961
3989
  ), l;
3962
- if (!a)
3990
+ if (!o)
3963
3991
  return l;
3964
3992
  let c = l;
3965
3993
  try {
3966
- c = Si(l, h).format(a);
3994
+ c = wi(l, h).format(o);
3967
3995
  } catch (m) {
3968
3996
  m instanceof Error && console.warn(
3969
3997
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3971,18 +3999,18 @@ const se = (e, t) => {
3971
3999
  );
3972
4000
  }
3973
4001
  return c;
3974
- }, Ai = (e, t) => wi(t).format(e), Pi = (e, t) => Hi(t).format(e), Oi = (e, t) => Ti(t).format(e), Ii = (e, t = L()) => ar(e, t), Ci = J([R, ae], () => Bi);
3975
- J([R], () => Ai);
3976
- J([R], () => Pi);
3977
- J([R], () => Oi);
3978
- J([R, ae], () => Ii);
3979
- function Ni(e, t) {
4002
+ }, Bi = (e, t) => Hi(t).format(e), Ai = (e, t) => Ti(t).format(e), Pi = (e, t) => xi(t).format(e), Oi = (e, t = N()) => or(e, t), Ii = Z([$, ae], () => Si);
4003
+ Z([$], () => Bi);
4004
+ Z([$], () => Ai);
4005
+ Z([$], () => Pi);
4006
+ Z([$, ae], () => Oi);
4007
+ function Ci(e, t) {
3980
4008
  if (e) {
3981
4009
  const r = document.createElement("style");
3982
4010
  r.innerHTML = t, e.appendChild(r);
3983
4011
  }
3984
4012
  }
3985
- function Li(e, t) {
4013
+ function Ni(e, t) {
3986
4014
  if (!e || !t)
3987
4015
  return;
3988
4016
  const r = new URL(t);
@@ -4001,13 +4029,13 @@ function Mi(e, t, r) {
4001
4029
  });
4002
4030
  }
4003
4031
  }
4004
- function vt(e, t) {
4032
+ function Et(e, t) {
4005
4033
  lr(e, t);
4006
4034
  }
4007
- function $i(e) {
4008
- hi({
4035
+ function Li(e) {
4036
+ li({
4009
4037
  fallbackLocale: "en"
4010
- }), R.set(e);
4038
+ }), $.set(e);
4011
4039
  }
4012
4040
  const xt = {
4013
4041
  en: {
@@ -4063,52 +4091,52 @@ const xt = {
4063
4091
  DeclinedByMerchant: "Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin."
4064
4092
  }
4065
4093
  };
4066
- function Ri(e) {
4094
+ function $i(e) {
4067
4095
  yr(e, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}");
4068
4096
  }
4069
- const Di = (e) => ({}), Tt = (e) => ({}), Ui = (e) => ({}), Ht = (e) => ({}), ki = (e) => ({}), wt = (e) => ({}), Gi = (e) => ({}), St = (e) => ({ class: "CashierErrorIcon" });
4097
+ const Ri = (e) => ({}), Tt = (e) => ({}), Di = (e) => ({}), Ht = (e) => ({}), Ui = (e) => ({}), wt = (e) => ({}), ki = (e) => ({}), St = (e) => ({ class: "CashierErrorIcon" });
4070
4098
  function Bt(e) {
4071
4099
  let t, r;
4072
4100
  return {
4073
4101
  c() {
4074
- t = P("ui-image"), st(t.src, r = `${/*assetsurl*/
4075
- e[0]}/error-general-icon.png`) || pe(t, "src", r), pe(t, "width", "300px"), pe(t, "alt", "error");
4102
+ t = A("ui-image"), st(t.src, r = `${/*assetsurl*/
4103
+ e[0]}/error-general-icon.png`) || de(t, "src", r), de(t, "width", "300px"), de(t, "alt", "error");
4076
4104
  },
4077
4105
  m(n, i) {
4078
- Z(n, t, i);
4106
+ W(n, t, i);
4079
4107
  },
4080
4108
  p(n, i) {
4081
4109
  i & /*assetsurl*/
4082
4110
  1 && !st(t.src, r = `${/*assetsurl*/
4083
- n[0]}/error-general-icon.png`) && pe(t, "src", r);
4111
+ n[0]}/error-general-icon.png`) && de(t, "src", r);
4084
4112
  },
4085
4113
  d(n) {
4086
- n && N(t);
4114
+ n && C(t);
4087
4115
  }
4088
4116
  };
4089
4117
  }
4090
- function Fi(e) {
4118
+ function Gi(e) {
4091
4119
  let t, r = (
4092
4120
  /*assetsurl*/
4093
4121
  e[0] && Bt(e)
4094
4122
  );
4095
4123
  return {
4096
4124
  c() {
4097
- r && r.c(), t = Er();
4125
+ r && r.c(), t = vr();
4098
4126
  },
4099
4127
  m(n, i) {
4100
- r && r.m(n, i), Z(n, t, i);
4128
+ r && r.m(n, i), W(n, t, i);
4101
4129
  },
4102
4130
  p(n, i) {
4103
4131
  /*assetsurl*/
4104
4132
  n[0] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4105
4133
  },
4106
4134
  d(n) {
4107
- n && N(t), r && r.d(n);
4135
+ n && C(t), r && r.d(n);
4108
4136
  }
4109
4137
  };
4110
4138
  }
4111
- function ji(e) {
4139
+ function Fi(e) {
4112
4140
  let t, r = (
4113
4141
  /*$_*/
4114
4142
  e[3](`${/*errorcode*/
@@ -4116,10 +4144,10 @@ function ji(e) {
4116
4144
  ), n;
4117
4145
  return {
4118
4146
  c() {
4119
- t = P("span"), n = Pe(r), j(t, "class", "CashierErrorText");
4147
+ t = A("span"), n = Be(r), F(t, "class", "CashierErrorText");
4120
4148
  },
4121
4149
  m(i, s) {
4122
- Z(i, t, s), O(t, n);
4150
+ W(i, t, s), P(t, n);
4123
4151
  },
4124
4152
  p(i, s) {
4125
4153
  s & /*$_, errorcode*/
@@ -4128,52 +4156,52 @@ function ji(e) {
4128
4156
  i[1] || "errorGeneralText"}`) + "") && Dt(n, r);
4129
4157
  },
4130
4158
  d(i) {
4131
- i && N(t);
4159
+ i && C(t);
4132
4160
  }
4133
4161
  };
4134
4162
  }
4135
- function zi(e) {
4163
+ function ji(e) {
4136
4164
  let t, r, n = (
4137
4165
  /*$_*/
4138
4166
  e[3]("errorGeneralButton") + ""
4139
- ), i, s, o;
4167
+ ), i, s, a;
4140
4168
  return {
4141
4169
  c() {
4142
- t = P("button"), r = P("span"), i = Pe(n), j(t, "class", "CashierErrorButton");
4170
+ t = A("button"), r = A("span"), i = Be(n), F(t, "class", "CashierErrorButton");
4143
4171
  },
4144
- m(a, h) {
4145
- Z(a, t, h), O(t, r), O(r, i), s || (o = vr(
4172
+ m(o, h) {
4173
+ W(o, t, h), P(t, r), P(r, i), s || (a = Er(
4146
4174
  t,
4147
4175
  "click",
4148
4176
  /*close*/
4149
4177
  e[4]
4150
4178
  ), s = !0);
4151
4179
  },
4152
- p(a, h) {
4180
+ p(o, h) {
4153
4181
  h & /*$_*/
4154
4182
  8 && n !== (n = /*$_*/
4155
- a[3]("errorGeneralButton") + "") && Dt(i, n);
4183
+ o[3]("errorGeneralButton") + "") && Dt(i, n);
4156
4184
  },
4157
- d(a) {
4158
- a && N(t), s = !1, o();
4185
+ d(o) {
4186
+ o && C(t), s = !1, a();
4159
4187
  }
4160
4188
  };
4161
4189
  }
4162
- function Vi(e) {
4163
- let t, r, n, i, s, o;
4164
- const a = (
4190
+ function zi(e) {
4191
+ let t, r, n, i, s, a;
4192
+ const o = (
4165
4193
  /*#slots*/
4166
4194
  e[11].icon
4167
- ), h = ce(
4168
- a,
4195
+ ), h = he(
4196
+ o,
4169
4197
  e,
4170
4198
  /*$$scope*/
4171
4199
  e[10],
4172
4200
  St
4173
- ), u = h || Fi(e), l = (
4201
+ ), u = h || Gi(e), l = (
4174
4202
  /*#slots*/
4175
4203
  e[11].title
4176
- ), c = ce(
4204
+ ), c = he(
4177
4205
  l,
4178
4206
  e,
4179
4207
  /*$$scope*/
@@ -4182,162 +4210,162 @@ function Vi(e) {
4182
4210
  ), m = (
4183
4211
  /*#slots*/
4184
4212
  e[11].text
4185
- ), d = ce(
4213
+ ), d = he(
4186
4214
  m,
4187
4215
  e,
4188
4216
  /*$$scope*/
4189
4217
  e[10],
4190
4218
  Ht
4191
- ), p = d || ji(e), _ = (
4219
+ ), p = d || Fi(e), v = (
4192
4220
  /*#slots*/
4193
4221
  e[11].button
4194
- ), v = ce(
4195
- _,
4222
+ ), x = he(
4223
+ v,
4196
4224
  e,
4197
4225
  /*$$scope*/
4198
4226
  e[10],
4199
4227
  Tt
4200
- ), E = v || zi(e);
4228
+ ), E = x || ji(e);
4201
4229
  return {
4202
4230
  c() {
4203
- t = P("div"), r = P("div"), u && u.c(), n = Le(), c && c.c(), i = Le(), p && p.c(), s = Le(), E && E.c(), j(r, "class", "CashierErrorContent"), j(t, "class", "CashierError");
4231
+ t = A("div"), r = A("div"), u && u.c(), n = Ce(), c && c.c(), i = Ce(), p && p.c(), s = Ce(), E && E.c(), F(r, "class", "CashierErrorContent"), F(t, "class", "CashierError");
4204
4232
  },
4205
4233
  m(f, g) {
4206
- Z(f, t, g), O(t, r), u && u.m(r, null), O(r, n), c && c.m(r, null), O(r, i), p && p.m(r, null), O(r, s), E && E.m(r, null), e[12](t), o = !0;
4234
+ W(f, t, g), P(t, r), u && u.m(r, null), P(r, n), c && c.m(r, null), P(r, i), p && p.m(r, null), P(r, s), E && E.m(r, null), e[12](t), a = !0;
4207
4235
  },
4208
4236
  p(f, [g]) {
4209
- h ? h.p && (!o || g & /*$$scope*/
4210
- 1024) && me(
4237
+ h ? h.p && (!a || g & /*$$scope*/
4238
+ 1024) && fe(
4211
4239
  h,
4212
- a,
4240
+ o,
4213
4241
  f,
4214
4242
  /*$$scope*/
4215
4243
  f[10],
4216
- o ? fe(
4217
- a,
4244
+ a ? ce(
4245
+ o,
4218
4246
  /*$$scope*/
4219
4247
  f[10],
4220
4248
  g,
4221
- Gi
4222
- ) : de(
4249
+ ki
4250
+ ) : me(
4223
4251
  /*$$scope*/
4224
4252
  f[10]
4225
4253
  ),
4226
4254
  St
4227
- ) : u && u.p && (!o || g & /*assetsurl*/
4228
- 1) && u.p(f, o ? g : -1), c && c.p && (!o || g & /*$$scope*/
4229
- 1024) && me(
4255
+ ) : u && u.p && (!a || g & /*assetsurl*/
4256
+ 1) && u.p(f, a ? g : -1), c && c.p && (!a || g & /*$$scope*/
4257
+ 1024) && fe(
4230
4258
  c,
4231
4259
  l,
4232
4260
  f,
4233
4261
  /*$$scope*/
4234
4262
  f[10],
4235
- o ? fe(
4263
+ a ? ce(
4236
4264
  l,
4237
4265
  /*$$scope*/
4238
4266
  f[10],
4239
4267
  g,
4240
- ki
4241
- ) : de(
4268
+ Ui
4269
+ ) : me(
4242
4270
  /*$$scope*/
4243
4271
  f[10]
4244
4272
  ),
4245
4273
  wt
4246
- ), d ? d.p && (!o || g & /*$$scope*/
4247
- 1024) && me(
4274
+ ), d ? d.p && (!a || g & /*$$scope*/
4275
+ 1024) && fe(
4248
4276
  d,
4249
4277
  m,
4250
4278
  f,
4251
4279
  /*$$scope*/
4252
4280
  f[10],
4253
- o ? fe(
4281
+ a ? ce(
4254
4282
  m,
4255
4283
  /*$$scope*/
4256
4284
  f[10],
4257
4285
  g,
4258
- Ui
4259
- ) : de(
4286
+ Di
4287
+ ) : me(
4260
4288
  /*$$scope*/
4261
4289
  f[10]
4262
4290
  ),
4263
4291
  Ht
4264
- ) : p && p.p && (!o || g & /*$_, errorcode*/
4265
- 10) && p.p(f, o ? g : -1), v ? v.p && (!o || g & /*$$scope*/
4266
- 1024) && me(
4292
+ ) : p && p.p && (!a || g & /*$_, errorcode*/
4293
+ 10) && p.p(f, a ? g : -1), x ? x.p && (!a || g & /*$$scope*/
4294
+ 1024) && fe(
4295
+ x,
4267
4296
  v,
4268
- _,
4269
4297
  f,
4270
4298
  /*$$scope*/
4271
4299
  f[10],
4272
- o ? fe(
4273
- _,
4300
+ a ? ce(
4301
+ v,
4274
4302
  /*$$scope*/
4275
4303
  f[10],
4276
4304
  g,
4277
- Di
4278
- ) : de(
4305
+ Ri
4306
+ ) : me(
4279
4307
  /*$$scope*/
4280
4308
  f[10]
4281
4309
  ),
4282
4310
  Tt
4283
- ) : E && E.p && (!o || g & /*$_*/
4284
- 8) && E.p(f, o ? g : -1);
4311
+ ) : E && E.p && (!a || g & /*$_*/
4312
+ 8) && E.p(f, a ? g : -1);
4285
4313
  },
4286
4314
  i(f) {
4287
- o || (K(u, f), K(c, f), K(p, f), K(E, f), o = !0);
4315
+ a || (Y(u, f), Y(c, f), Y(p, f), Y(E, f), a = !0);
4288
4316
  },
4289
4317
  o(f) {
4290
- ge(u, f), ge(c, f), ge(p, f), ge(E, f), o = !1;
4318
+ pe(u, f), pe(c, f), pe(p, f), pe(E, f), a = !1;
4291
4319
  },
4292
4320
  d(f) {
4293
- f && N(t), u && u.d(f), c && c.d(f), p && p.d(f), E && E.d(f), e[12](null);
4321
+ f && C(t), u && u.d(f), c && c.d(f), p && p.d(f), E && E.d(f), e[12](null);
4294
4322
  }
4295
4323
  };
4296
4324
  }
4297
- function Xi(e, t, r) {
4325
+ function Vi(e, t, r) {
4298
4326
  let n;
4299
- br(e, Ci, (f) => r(3, n = f));
4300
- let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: m = "" } = t, d;
4327
+ br(e, Ii, (f) => r(3, n = f));
4328
+ let { $$slots: i = {}, $$scope: s } = t, { assetsurl: a = "" } = t, { lang: o = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: m = "" } = t, d;
4301
4329
  const p = () => {
4302
- $i(a);
4303
- }, _ = () => {
4330
+ Li(o);
4331
+ }, v = () => {
4304
4332
  fetch(c).then((g) => g.json()).then((g) => {
4305
4333
  Object.keys(g).forEach((S) => {
4306
- vt(S, g[S]);
4334
+ Et(S, g[S]);
4307
4335
  });
4308
4336
  }).catch((g) => {
4309
4337
  console.error(g);
4310
4338
  });
4311
4339
  };
4312
4340
  Object.keys(xt).forEach((f) => {
4313
- vt(f, xt[f]);
4341
+ Et(f, xt[f]);
4314
4342
  });
4315
- const v = () => {
4343
+ const x = () => {
4316
4344
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4317
4345
  };
4318
4346
  Pr(() => () => {
4319
4347
  });
4320
4348
  function E(f) {
4321
- je[f ? "unshift" : "push"](() => {
4349
+ Ge[f ? "unshift" : "push"](() => {
4322
4350
  d = f, r(2, d);
4323
4351
  });
4324
4352
  }
4325
4353
  return e.$$set = (f) => {
4326
- "assetsurl" in f && r(0, o = f.assetsurl), "lang" in f && r(5, a = f.lang), "errorcode" in f && r(1, h = f.errorcode), "clientstyling" in f && r(6, u = f.clientstyling), "clientstylingurl" in f && r(7, l = f.clientstylingurl), "translationurl" in f && r(8, c = f.translationurl), "mbsource" in f && r(9, m = f.mbsource), "$$scope" in f && r(10, s = f.$$scope);
4354
+ "assetsurl" in f && r(0, a = f.assetsurl), "lang" in f && r(5, o = f.lang), "errorcode" in f && r(1, h = f.errorcode), "clientstyling" in f && r(6, u = f.clientstyling), "clientstylingurl" in f && r(7, l = f.clientstylingurl), "translationurl" in f && r(8, c = f.translationurl), "mbsource" in f && r(9, m = f.mbsource), "$$scope" in f && r(10, s = f.$$scope);
4327
4355
  }, e.$$.update = () => {
4328
4356
  e.$$.dirty & /*lang*/
4329
- 32 && a && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4330
- 68 && u && d && Ni(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4331
- 132 && l && d && Li(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4357
+ 32 && o && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4358
+ 68 && u && d && Ci(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4359
+ 132 && l && d && Ni(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4332
4360
  516 && m && d && Mi(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
4333
- 256 && c && _();
4361
+ 256 && c && v();
4334
4362
  }, [
4335
- o,
4363
+ a,
4336
4364
  h,
4337
4365
  d,
4338
4366
  n,
4339
- v,
4340
- a,
4367
+ x,
4368
+ o,
4341
4369
  u,
4342
4370
  l,
4343
4371
  c,
@@ -4352,8 +4380,8 @@ class dr extends Ur {
4352
4380
  super(), Rr(
4353
4381
  this,
4354
4382
  t,
4355
- Xi,
4356
4383
  Vi,
4384
+ zi,
4357
4385
  Ot,
4358
4386
  {
4359
4387
  assetsurl: 0,
@@ -4364,100 +4392,104 @@ class dr extends Ur {
4364
4392
  translationurl: 8,
4365
4393
  mbsource: 9
4366
4394
  },
4367
- Ri
4395
+ $i
4368
4396
  );
4369
4397
  }
4370
4398
  get assetsurl() {
4371
4399
  return this.$$.ctx[0];
4372
4400
  }
4373
4401
  set assetsurl(t) {
4374
- this.$$set({ assetsurl: t }), A();
4402
+ this.$$set({ assetsurl: t }), B();
4375
4403
  }
4376
4404
  get lang() {
4377
4405
  return this.$$.ctx[5];
4378
4406
  }
4379
4407
  set lang(t) {
4380
- this.$$set({ lang: t }), A();
4408
+ this.$$set({ lang: t }), B();
4381
4409
  }
4382
4410
  get errorcode() {
4383
4411
  return this.$$.ctx[1];
4384
4412
  }
4385
4413
  set errorcode(t) {
4386
- this.$$set({ errorcode: t }), A();
4414
+ this.$$set({ errorcode: t }), B();
4387
4415
  }
4388
4416
  get clientstyling() {
4389
4417
  return this.$$.ctx[6];
4390
4418
  }
4391
4419
  set clientstyling(t) {
4392
- this.$$set({ clientstyling: t }), A();
4420
+ this.$$set({ clientstyling: t }), B();
4393
4421
  }
4394
4422
  get clientstylingurl() {
4395
4423
  return this.$$.ctx[7];
4396
4424
  }
4397
4425
  set clientstylingurl(t) {
4398
- this.$$set({ clientstylingurl: t }), A();
4426
+ this.$$set({ clientstylingurl: t }), B();
4399
4427
  }
4400
4428
  get translationurl() {
4401
4429
  return this.$$.ctx[8];
4402
4430
  }
4403
4431
  set translationurl(t) {
4404
- this.$$set({ translationurl: t }), A();
4432
+ this.$$set({ translationurl: t }), B();
4405
4433
  }
4406
4434
  get mbsource() {
4407
4435
  return this.$$.ctx[9];
4408
4436
  }
4409
4437
  set mbsource(t) {
4410
- this.$$set({ mbsource: t }), A();
4438
+ this.$$set({ mbsource: t }), B();
4411
4439
  }
4412
4440
  }
4413
4441
  Dr(dr, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4414
- const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4442
+ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4415
4443
  __proto__: null,
4416
4444
  default: dr
4417
4445
  }, Symbol.toStringTag, { value: "Module" }));
4418
4446
  export {
4419
- R as $,
4420
- Dt as A,
4421
- Pe as B,
4447
+ $,
4448
+ Y as A,
4449
+ Ji as B,
4422
4450
  pe as C,
4423
- vr as D,
4424
- Er as E,
4425
- es as F,
4426
- Zi as G,
4427
- Ji as H,
4428
- $ as I,
4429
- st as J,
4430
- qi as K,
4431
- Ci as L,
4432
- Ni as M,
4433
- Li as N,
4434
- Mi as O,
4435
- rs as P,
4451
+ qi as D,
4452
+ Be as E,
4453
+ Dt as F,
4454
+ re as G,
4455
+ Qi as H,
4456
+ Yi as I,
4457
+ de as J,
4458
+ Ii as K,
4459
+ vr as L,
4460
+ Er as M,
4461
+ Ki as N,
4462
+ Wi as O,
4463
+ Zi as P,
4464
+ st as Q,
4465
+ L as R,
4436
4466
  Ur as S,
4467
+ ns as T,
4468
+ ts as _,
4437
4469
  lr as a,
4438
- hi as b,
4439
- ts as c,
4440
- Dr as d,
4441
- Rr as e,
4442
- A as f,
4470
+ li as b,
4471
+ es as c,
4472
+ Me as d,
4473
+ rs as e,
4474
+ Pe as f,
4443
4475
  Fr as g,
4444
- yr as h,
4476
+ Dr as h,
4445
4477
  At as i,
4446
- N as j,
4447
- Z as k,
4448
- P as l,
4449
- j as m,
4450
- w as n,
4451
- br as o,
4452
- Pr as p,
4453
- je as q,
4454
- ge as r,
4478
+ Rr as j,
4479
+ B as k,
4480
+ yr as l,
4481
+ A as m,
4482
+ F as n,
4483
+ W as o,
4484
+ w as p,
4485
+ C as q,
4486
+ br as r,
4455
4487
  Ot as s,
4456
- K as t,
4457
- Qi as u,
4458
- O as v,
4459
- Le as w,
4460
- Ki as x,
4461
- ne as y,
4462
- Yi as z
4488
+ Pr as t,
4489
+ Mi as u,
4490
+ Ge as v,
4491
+ Ci as w,
4492
+ Ni as x,
4493
+ Ce as y,
4494
+ P as z
4463
4495
  };