@everymatrix/cashier-method-details 1.76.13 → 1.76.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/components/{CashierError-BTJqKSJF.js → CashierError-BAXGD8it.js} +739 -707
  2. package/components/{CashierError-CbXT6_FP.js → CashierError-CDP4f6TJ.js} +757 -725
  3. package/components/CashierError-DbNNkyb6.cjs +21 -0
  4. package/components/{CashierMethodDetails-ofHTvxQi.js → CashierMethodDetails-B7uMChsb.js} +691 -740
  5. package/components/{CashierMethodDetails-D6oLstq2.js → CashierMethodDetails-D1eYRvUx.js} +938 -987
  6. package/components/{CashierMethodDetails-DYT5RMs3.cjs → CashierMethodDetails-q7Dwr4Au.cjs} +5 -18
  7. package/components/{CashierModal-BzJU1GrX.js → CashierModal-4XlAXMGl.js} +38 -38
  8. package/components/{CashierModal-CyXB5i2d.js → CashierModal-BO_gwocu.js} +38 -38
  9. package/components/{CashierModal-BsgPzXz6.cjs → CashierModal-C8yTp0o2.cjs} +1 -1
  10. package/components/{CashierNotifications-C-Mj2H9E.cjs → CashierNotifications-B061qdnF.cjs} +1 -1
  11. package/components/{CashierNotifications-CNHv00es.js → CashierNotifications-DKD8yMa6.js} +17 -17
  12. package/components/{CashierNotifications-DaWBholW.js → CashierNotifications-DgE45ecv.js} +19 -19
  13. package/components/{CashierReceiptPage-BqgNKrhH.js → CashierReceiptPage-Cw2X23wT.js} +97 -97
  14. package/components/{CashierReceiptPage-BWxS-GFk.cjs → CashierReceiptPage-D5nAg_bZ.cjs} +1 -1
  15. package/components/{CashierReceiptPage-uF2p9-w1.js → CashierReceiptPage-djvKMEwj.js} +100 -100
  16. package/components/{CashierSpinner-B08s-ur8.cjs → CashierSpinner-Bfsso_sk.cjs} +1 -1
  17. package/components/{CashierSpinner-CmmYtc3Y.js → CashierSpinner-D90fSegS.js} +18 -18
  18. package/components/{CashierSpinner-BEg8DQ-G.js → CashierSpinner-DzVPPrxp.js} +18 -18
  19. package/es2015/cashier-method-details.cjs +1 -1
  20. package/es2015/cashier-method-details.js +1 -1
  21. package/esnext/cashier-method-details.js +1 -1
  22. package/package.json +1 -1
  23. package/stencil/index-242ac81a-Bl2OSy8h.js +538 -0
  24. package/stencil/index-242ac81a-Czg480dJ.js +554 -0
  25. package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
  26. package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
  27. package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
  28. package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
  29. package/stencil/{ui-image-DmRWEjrp.js → ui-image-BhXCYysO.js} +1 -1
  30. package/stencil/{ui-image-C0Jfm_O4.js → ui-image-CVwHW7a_.js} +1 -1
  31. package/stencil/{ui-image-EfKW3THf.cjs → ui-image-DrDalrqH.cjs} +1 -1
  32. package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
  33. package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-ID_1Oi3k.js} +2 -2
  34. package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-exO7RXKL.js} +2 -2
  35. package/components/CashierError-Bt-_E2Pn.cjs +0 -8
  36. package/stencil/index-242ac81a-BqeIndhr.js +0 -554
  37. package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
  38. package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import "../stencil/ui-image-C0Jfm_O4.js";
1
+ import "../stencil/ui-image-CVwHW7a_.js";
2
2
  function B() {
3
3
  }
4
4
  const cr = (e) => e;
@@ -10,29 +10,29 @@ function fr(e, t) {
10
10
  e
11
11
  );
12
12
  }
13
- function Ct(e) {
13
+ function It(e) {
14
14
  return e();
15
15
  }
16
16
  function ot() {
17
17
  return /* @__PURE__ */ Object.create(null);
18
18
  }
19
- function k(e) {
20
- e.forEach(Ct);
19
+ function D(e) {
20
+ e.forEach(It);
21
21
  }
22
- function Pe(e) {
22
+ function Be(e) {
23
23
  return typeof e == "function";
24
24
  }
25
- function It(e, t) {
25
+ function Ct(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 at(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 mr(e) {
33
33
  return Object.keys(e).length === 0;
34
34
  }
35
- function Nt(e, ...t) {
35
+ function Mt(e, ...t) {
36
36
  if (e == null) {
37
37
  for (const n of t)
38
38
  n(void 0);
@@ -42,18 +42,18 @@ function Nt(e, ...t) {
42
42
  return r.unsubscribe ? () => r.unsubscribe() : r;
43
43
  }
44
44
  function dr(e, t, r) {
45
- e.$$.on_destroy.push(Nt(t, r));
45
+ e.$$.on_destroy.push(Mt(t, r));
46
46
  }
47
- function de(e, t, r, n) {
47
+ function me(e, t, r, n) {
48
48
  if (e) {
49
- const i = Mt(e, t, r, n);
49
+ const i = Nt(e, t, r, n);
50
50
  return e[0](i);
51
51
  }
52
52
  }
53
- function Mt(e, t, r, n) {
53
+ function Nt(e, t, r, n) {
54
54
  return e[1] && n ? fr(r.ctx.slice(), e[1](n(t))) : r.ctx;
55
55
  }
56
- function pe(e, t, r, n) {
56
+ function de(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)
@@ -68,9 +68,9 @@ function pe(e, t, r, n) {
68
68
  }
69
69
  return t.dirty;
70
70
  }
71
- function ge(e, t, r, n, i, s) {
71
+ function pe(e, t, r, n, i, s) {
72
72
  if (i) {
73
- const o = Mt(t, r, n, s);
73
+ const o = Nt(t, r, n, s);
74
74
  e.p(o, i);
75
75
  }
76
76
  }
@@ -84,39 +84,39 @@ function be(e) {
84
84
  return -1;
85
85
  }
86
86
  const Lt = typeof window < "u";
87
- let pr = Lt ? () => window.performance.now() : () => Date.now(), et = Lt ? (e) => requestAnimationFrame(e) : B;
88
- const X = /* @__PURE__ */ new Set();
87
+ let pr = Lt ? () => window.performance.now() : () => Date.now(), Ye = Lt ? (e) => requestAnimationFrame(e) : B;
88
+ const V = /* @__PURE__ */ new Set();
89
89
  function $t(e) {
90
- X.forEach((t) => {
91
- t.c(e) || (X.delete(t), t.f());
92
- }), X.size !== 0 && et($t);
90
+ V.forEach((t) => {
91
+ t.c(e) || (V.delete(t), t.f());
92
+ }), V.size !== 0 && Ye($t);
93
93
  }
94
- function gr(e) {
94
+ function br(e) {
95
95
  let t;
96
- return X.size === 0 && et($t), {
96
+ return V.size === 0 && Ye($t), {
97
97
  promise: new Promise((r) => {
98
- X.add(t = { c: e, f: r });
98
+ V.add(t = { c: e, f: r });
99
99
  }),
100
100
  abort() {
101
- X.delete(t);
101
+ V.delete(t);
102
102
  }
103
103
  };
104
104
  }
105
- const ts = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
105
+ const es = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
106
106
  // @ts-ignore Node typings have this
107
107
  global
108
108
  );
109
109
  function I(e, t) {
110
110
  e.appendChild(t);
111
111
  }
112
- function br(e, t, r) {
113
- const n = tt(e);
112
+ function gr(e, t, r) {
113
+ const n = Ke(e);
114
114
  if (!n.getElementById(t)) {
115
115
  const i = A("style");
116
116
  i.id = t, i.textContent = r, Rt(n, i);
117
117
  }
118
118
  }
119
- function tt(e) {
119
+ function Ke(e) {
120
120
  if (!e)
121
121
  return document;
122
122
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -128,7 +128,7 @@ function tt(e) {
128
128
  }
129
129
  function yr(e) {
130
130
  const t = A("style");
131
- return t.textContent = "/* empty */", Rt(tt(e), t), t.sheet;
131
+ return t.textContent = "/* empty */", Rt(Ke(e), t), t.sheet;
132
132
  }
133
133
  function Rt(e, t) {
134
134
  return I(
@@ -137,84 +137,84 @@ function Rt(e, t) {
137
137
  t
138
138
  ), t.sheet;
139
139
  }
140
- function R(e, t, r) {
140
+ function $(e, t, r) {
141
141
  e.insertBefore(t, r || null);
142
142
  }
143
143
  function P(e) {
144
144
  e.parentNode && e.parentNode.removeChild(e);
145
145
  }
146
- function rs(e, t) {
146
+ function ts(e, t) {
147
147
  for (let r = 0; r < e.length; r += 1)
148
148
  e[r] && e[r].d(t);
149
149
  }
150
150
  function A(e) {
151
151
  return document.createElement(e);
152
152
  }
153
- function ns(e) {
153
+ function rs(e) {
154
154
  return document.createElementNS("http://www.w3.org/2000/svg", e);
155
155
  }
156
- function ae(e) {
156
+ function oe(e) {
157
157
  return document.createTextNode(e);
158
158
  }
159
- function Me() {
160
- return ae(" ");
159
+ function Ce() {
160
+ return oe(" ");
161
161
  }
162
162
  function _r() {
163
- return ae("");
163
+ return oe("");
164
164
  }
165
- function je(e, t, r, n) {
165
+ function Ge(e, t, r, n) {
166
166
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
167
167
  }
168
- function is(e) {
168
+ function ns(e) {
169
169
  return function(t) {
170
170
  return t.preventDefault(), e.call(this, t);
171
171
  };
172
172
  }
173
- function $(e, t, r) {
173
+ function L(e, t, r) {
174
174
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
175
175
  }
176
- function ce(e, t, r) {
176
+ function he(e, t, r) {
177
177
  const n = t.toLowerCase();
178
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : $(e, t, r);
178
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : L(e, t, r);
179
179
  }
180
- function ss(e) {
180
+ function is(e) {
181
181
  return e === "" ? null : +e;
182
182
  }
183
- function Er(e) {
183
+ function vr(e) {
184
184
  return Array.from(e.childNodes);
185
185
  }
186
- function rt(e, t) {
186
+ function et(e, t) {
187
187
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
188
188
  t);
189
189
  }
190
- function os(e, t) {
190
+ function ss(e, t) {
191
191
  e.value = t ?? "";
192
192
  }
193
- function as(e, t, r, n) {
193
+ function os(e, t, r, n) {
194
194
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
195
195
  }
196
- let fe;
197
- function vr() {
198
- if (fe === void 0) {
199
- fe = !1;
196
+ let ce;
197
+ function Er() {
198
+ if (ce === void 0) {
199
+ ce = !1;
200
200
  try {
201
201
  typeof window < "u" && window.parent && window.parent.document;
202
202
  } catch {
203
- fe = !0;
203
+ ce = !0;
204
204
  }
205
205
  }
206
- return fe;
206
+ return ce;
207
207
  }
208
- function us(e, t) {
208
+ function as(e, t) {
209
209
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
210
210
  const n = A("iframe");
211
211
  n.setAttribute(
212
212
  "style",
213
213
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
214
214
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
215
- const i = vr();
215
+ const i = Er();
216
216
  let s;
217
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = je(
217
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Ge(
218
218
  window,
219
219
  "message",
220
220
  /** @param {MessageEvent} event */
@@ -222,12 +222,12 @@ function us(e, t) {
222
222
  o.source === n.contentWindow && t();
223
223
  }
224
224
  )) : (n.src = "about:blank", n.onload = () => {
225
- s = je(n.contentWindow, "resize", t), t();
225
+ s = Ge(n.contentWindow, "resize", t), t();
226
226
  }), I(e, n), () => {
227
227
  (i || s && n.contentWindow) && s(), P(n);
228
228
  };
229
229
  }
230
- function ls(e, t, r) {
230
+ function us(e, t, r) {
231
231
  e.classList.toggle(t, !!r);
232
232
  }
233
233
  function xr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
@@ -242,8 +242,8 @@ function Tr(e) {
242
242
  }
243
243
  ), t;
244
244
  }
245
- const xe = /* @__PURE__ */ new Map();
246
- let Te = 0;
245
+ const Ee = /* @__PURE__ */ new Map();
246
+ let xe = 0;
247
247
  function wr(e) {
248
248
  let t = 5381, r = e.length;
249
249
  for (; r--; )
@@ -252,7 +252,7 @@ function wr(e) {
252
252
  }
253
253
  function Hr(e, t) {
254
254
  const r = { stylesheet: yr(t), rules: {} };
255
- return xe.set(e, r), r;
255
+ return Ee.set(e, r), r;
256
256
  }
257
257
  function ut(e, t, r, n, i, s, o, a = 0) {
258
258
  const l = 16.666 / n;
@@ -264,156 +264,156 @@ function ut(e, t, r, n, i, s, o, a = 0) {
264
264
  `;
265
265
  }
266
266
  const h = u + `100% {${o(r, 1 - r)}}
267
- }`, f = `__svelte_${wr(h)}_${a}`, c = tt(e), { stylesheet: y, rules: m } = xe.get(c) || Hr(c, e);
267
+ }`, f = `__svelte_${wr(h)}_${a}`, c = Ke(e), { stylesheet: y, rules: m } = Ee.get(c) || Hr(c, e);
268
268
  m[f] || (m[f] = !0, y.insertRule(`@keyframes ${f} ${h}`, y.cssRules.length));
269
- const b = e.style.animation || "";
270
- return e.style.animation = `${b ? `${b}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Te += 1, f;
269
+ const g = e.style.animation || "";
270
+ return e.style.animation = `${g ? `${g}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, xe += 1, f;
271
271
  }
272
272
  function Sr(e, t) {
273
273
  const r = (e.style.animation || "").split(", "), n = r.filter(
274
274
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
275
275
  // remove all Svelte animations
276
276
  ), i = r.length - n.length;
277
- i && (e.style.animation = n.join(", "), Te -= i, Te || Br());
277
+ i && (e.style.animation = n.join(", "), xe -= i, xe || Br());
278
278
  }
279
279
  function Br() {
280
- et(() => {
281
- Te || (xe.forEach((e) => {
280
+ Ye(() => {
281
+ xe || (Ee.forEach((e) => {
282
282
  const { ownerNode: t } = e.stylesheet;
283
283
  t && P(t);
284
- }), xe.clear());
284
+ }), Ee.clear());
285
285
  });
286
286
  }
287
- let ie;
288
- function ne(e) {
289
- ie = e;
287
+ let ne;
288
+ function re(e) {
289
+ ne = e;
290
290
  }
291
291
  function Ar() {
292
- if (!ie)
292
+ if (!ne)
293
293
  throw new Error("Function called outside component initialization");
294
- return ie;
294
+ return ne;
295
295
  }
296
296
  function Pr(e) {
297
297
  Ar().$$.on_mount.push(e);
298
298
  }
299
- const z = [], ze = [];
300
- let W = [];
299
+ const j = [], Fe = [];
300
+ let X = [];
301
301
  const lt = [], Or = /* @__PURE__ */ Promise.resolve();
302
- let Ve = !1;
303
- function Cr() {
304
- Ve || (Ve = !0, Or.then(O));
302
+ let je = !1;
303
+ function Ir() {
304
+ je || (je = !0, Or.then(O));
305
305
  }
306
- function we(e) {
307
- W.push(e);
306
+ function Te(e) {
307
+ X.push(e);
308
308
  }
309
- const Le = /* @__PURE__ */ new Set();
310
- let F = 0;
309
+ const Me = /* @__PURE__ */ new Set();
310
+ let G = 0;
311
311
  function O() {
312
- if (F !== 0)
312
+ if (G !== 0)
313
313
  return;
314
- const e = ie;
314
+ const e = ne;
315
315
  do {
316
316
  try {
317
- for (; F < z.length; ) {
318
- const t = z[F];
319
- F++, ne(t), Ir(t.$$);
317
+ for (; G < j.length; ) {
318
+ const t = j[G];
319
+ G++, re(t), Cr(t.$$);
320
320
  }
321
321
  } catch (t) {
322
- throw z.length = 0, F = 0, t;
322
+ throw j.length = 0, G = 0, t;
323
323
  }
324
- for (ne(null), z.length = 0, F = 0; ze.length; )
325
- ze.pop()();
326
- for (let t = 0; t < W.length; t += 1) {
327
- const r = W[t];
328
- Le.has(r) || (Le.add(r), r());
324
+ for (re(null), j.length = 0, G = 0; Fe.length; )
325
+ Fe.pop()();
326
+ for (let t = 0; t < X.length; t += 1) {
327
+ const r = X[t];
328
+ Me.has(r) || (Me.add(r), r());
329
329
  }
330
- W.length = 0;
331
- } while (z.length);
330
+ X.length = 0;
331
+ } while (j.length);
332
332
  for (; lt.length; )
333
333
  lt.pop()();
334
- Ve = !1, Le.clear(), ne(e);
334
+ je = !1, Me.clear(), re(e);
335
335
  }
336
- function Ir(e) {
336
+ function Cr(e) {
337
337
  if (e.fragment !== null) {
338
- e.update(), k(e.before_update);
338
+ e.update(), D(e.before_update);
339
339
  const t = e.dirty;
340
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
340
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
341
341
  }
342
342
  }
343
- function Nr(e) {
343
+ function Mr(e) {
344
344
  const t = [], r = [];
345
- W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
345
+ X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
346
346
  }
347
- let ee;
348
- function Mr() {
349
- return ee || (ee = Promise.resolve(), ee.then(() => {
350
- ee = null;
351
- })), ee;
347
+ let K;
348
+ function Nr() {
349
+ return K || (K = Promise.resolve(), K.then(() => {
350
+ K = null;
351
+ })), K;
352
352
  }
353
- function $e(e, t, r) {
353
+ function Ne(e, t, r) {
354
354
  e.dispatchEvent(xr(`${t ? "intro" : "outro"}${r}`));
355
355
  }
356
- const ye = /* @__PURE__ */ new Set();
357
- let N;
356
+ const ge = /* @__PURE__ */ new Set();
357
+ let C;
358
358
  function Lr() {
359
- N = {
359
+ C = {
360
360
  r: 0,
361
361
  c: [],
362
- p: N
362
+ p: C
363
363
  // parent group
364
364
  };
365
365
  }
366
366
  function $r() {
367
- N.r || k(N.c), N = N.p;
367
+ C.r || D(C.c), C = C.p;
368
368
  }
369
369
  function M(e, t) {
370
- e && e.i && (ye.delete(e), e.i(t));
370
+ e && e.i && (ge.delete(e), e.i(t));
371
371
  }
372
- function V(e, t, r, n) {
372
+ function z(e, t, r, n) {
373
373
  if (e && e.o) {
374
- if (ye.has(e))
374
+ if (ge.has(e))
375
375
  return;
376
- ye.add(e), N.c.push(() => {
377
- ye.delete(e), n && (r && e.d(1), n());
376
+ ge.add(e), C.c.push(() => {
377
+ ge.delete(e), n && (r && e.d(1), n());
378
378
  }), e.o(t);
379
379
  } else
380
380
  n && n();
381
381
  }
382
382
  const Rr = { duration: 0 };
383
- function hs(e, t, r, n) {
383
+ function ls(e, t, r, n) {
384
384
  let s = t(e, r, { direction: "both" }), o = n ? 0 : 1, a = null, l = null, u = null, h;
385
385
  function f() {
386
386
  u && Sr(e, u);
387
387
  }
388
- function c(m, b) {
388
+ function c(m, g) {
389
389
  const p = (
390
390
  /** @type {Program['d']} */
391
391
  m.b - o
392
392
  );
393
- return b *= Math.abs(p), {
393
+ return g *= Math.abs(p), {
394
394
  a: o,
395
395
  b: m.b,
396
396
  d: p,
397
- duration: b,
397
+ duration: g,
398
398
  start: m.start,
399
- end: m.start + b,
399
+ end: m.start + g,
400
400
  group: m.group
401
401
  };
402
402
  }
403
403
  function y(m) {
404
404
  const {
405
- delay: b = 0,
405
+ delay: g = 0,
406
406
  duration: p = 300,
407
407
  easing: d = cr,
408
- tick: v = B,
409
- css: g
408
+ tick: x = B,
409
+ css: b
410
410
  } = s || Rr, w = {
411
- start: pr() + b,
411
+ start: pr() + g,
412
412
  b: m
413
413
  };
414
- m || (w.group = N, N.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
415
- e.inert, e.inert = !0)), a || l ? l = w : (g && (f(), u = ut(e, o, m, p, b, d, g)), m && v(0, 1), a = c(w, p), we(() => $e(e, m, "start")), gr((H) => {
416
- if (l && H > l.start && (a = c(l, p), l = null, $e(e, a.b, "start"), g && (f(), u = ut(
414
+ m || (w.group = C, C.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
415
+ e.inert, e.inert = !0)), a || l ? l = w : (b && (f(), u = ut(e, o, m, p, g, d, b)), m && x(0, 1), a = c(w, p), Te(() => Ne(e, m, "start")), br((H) => {
416
+ if (l && H > l.start && (a = c(l, p), l = null, Ne(e, a.b, "start"), b && (f(), u = ut(
417
417
  e,
418
418
  o,
419
419
  a.b,
@@ -423,10 +423,10 @@ function hs(e, t, r, n) {
423
423
  s.css
424
424
  ))), a) {
425
425
  if (H >= a.end)
426
- v(o = a.b, 1 - o), $e(e, a.b, "end"), l || (a.b ? f() : --a.group.r || k(a.group.c)), a = null;
426
+ x(o = a.b, 1 - o), Ne(e, a.b, "end"), l || (a.b ? f() : --a.group.r || D(a.group.c)), a = null;
427
427
  else if (H >= a.start) {
428
- const G = H - a.start;
429
- o = a.a + a.d * d(G / a.duration), v(o, 1 - o);
428
+ const U = H - a.start;
429
+ o = a.a + a.d * d(U / a.duration), x(o, 1 - o);
430
430
  }
431
431
  }
432
432
  return !!(a || l);
@@ -434,7 +434,7 @@ function hs(e, t, r, n) {
434
434
  }
435
435
  return {
436
436
  run(m) {
437
- Pe(s) ? Mr().then(() => {
437
+ Be(s) ? Nr().then(() => {
438
438
  s = s({ direction: m ? "in" : "out" }), y(m);
439
439
  }) : y(m);
440
440
  },
@@ -443,26 +443,26 @@ function hs(e, t, r, n) {
443
443
  }
444
444
  };
445
445
  }
446
- function cs(e) {
446
+ function hs(e) {
447
447
  return e?.length !== void 0 ? e : Array.from(e);
448
448
  }
449
449
  function Dr(e, t, r) {
450
450
  const { fragment: n, after_update: i } = e.$$;
451
- n && n.m(t, r), we(() => {
452
- const s = e.$$.on_mount.map(Ct).filter(Pe);
453
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : k(s), e.$$.on_mount = [];
454
- }), i.forEach(we);
451
+ n && n.m(t, r), Te(() => {
452
+ const s = e.$$.on_mount.map(It).filter(Be);
453
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : D(s), e.$$.on_mount = [];
454
+ }), i.forEach(Te);
455
455
  }
456
456
  function kr(e, t) {
457
457
  const r = e.$$;
458
- r.fragment !== null && (Nr(r.after_update), k(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
458
+ r.fragment !== null && (Mr(r.after_update), D(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
459
459
  }
460
460
  function Ur(e, t) {
461
- e.$$.dirty[0] === -1 && (z.push(e), Cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
461
+ e.$$.dirty[0] === -1 && (j.push(e), Ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
462
462
  }
463
463
  function Gr(e, t, r, n, i, s, o = null, a = [-1]) {
464
- const l = ie;
465
- ne(e);
464
+ const l = ne;
465
+ re(e);
466
466
  const u = e.$$ = {
467
467
  fragment: null,
468
468
  ctx: [],
@@ -489,15 +489,15 @@ function Gr(e, t, r, n, i, s, o = null, a = [-1]) {
489
489
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
490
490
  const m = y.length ? y[0] : c;
491
491
  return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Ur(e, f)), c;
492
- }) : [], u.update(), h = !0, k(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
492
+ }) : [], u.update(), h = !0, D(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
493
493
  if (t.hydrate) {
494
- const f = Er(t.target);
494
+ const f = vr(t.target);
495
495
  u.fragment && u.fragment.l(f), f.forEach(P);
496
496
  } else
497
497
  u.fragment && u.fragment.c();
498
498
  t.intro && M(e.$$.fragment), Dr(e, t.target, t.anchor), O();
499
499
  }
500
- ne(l);
500
+ re(l);
501
501
  }
502
502
  let Dt;
503
503
  typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
@@ -542,14 +542,14 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
542
542
  let s;
543
543
  return {
544
544
  c: function() {
545
- s = A("slot"), i !== "default" && $(s, "name", i);
545
+ s = A("slot"), i !== "default" && L(s, "name", i);
546
546
  },
547
547
  /**
548
548
  * @param {HTMLElement} target
549
549
  * @param {HTMLElement} [anchor]
550
550
  */
551
551
  m: function(l, u) {
552
- R(l, s, u);
552
+ $(l, s, u);
553
553
  },
554
554
  d: function(l) {
555
555
  l && P(s);
@@ -564,7 +564,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
564
564
  i in r && (t[i] = [e(i)]);
565
565
  for (const i of this.attributes) {
566
566
  const s = this.$$g_p(i.name);
567
- s in this.$$d || (this.$$d[s] = _e(s, i.value, this.$$p_d, "toProp"));
567
+ s in this.$$d || (this.$$d[s] = ye(s, i.value, this.$$p_d, "toProp"));
568
568
  }
569
569
  for (const i in this.$$p_d)
570
570
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -582,7 +582,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
582
582
  this.$$r = !0;
583
583
  for (const i in this.$$p_d)
584
584
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
585
- const s = _e(
585
+ const s = ye(
586
586
  i,
587
587
  this.$$d[i],
588
588
  this.$$p_d,
@@ -604,7 +604,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
604
604
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
605
605
  // and setting attributes through setAttribute etc, this is helpful
606
606
  attributeChangedCallback(e, t, r) {
607
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = _e(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
607
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
608
608
  }
609
609
  disconnectedCallback() {
610
610
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -617,7 +617,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
617
617
  ) || e;
618
618
  }
619
619
  });
620
- function _e(e, t, r, n) {
620
+ function ye(e, t, r, n) {
621
621
  const i = r[e]?.type;
622
622
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
623
623
  return t;
@@ -663,7 +663,7 @@ function Fr(e, t, r, n, i, s) {
663
663
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
664
664
  },
665
665
  set(l) {
666
- l = _e(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
666
+ l = ye(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
667
667
  }
668
668
  });
669
669
  }), n.forEach((a) => {
@@ -703,7 +703,7 @@ class jr {
703
703
  * @returns {() => void}
704
704
  */
705
705
  $on(t, r) {
706
- if (!Pe(r))
706
+ if (!Be(r))
707
707
  return B;
708
708
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
709
709
  return n.push(r), () => {
@@ -721,24 +721,24 @@ class jr {
721
721
  }
722
722
  const zr = "4";
723
723
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
724
- const j = [];
724
+ const F = [];
725
725
  function Vr(e, t) {
726
726
  return {
727
- subscribe: Oe(e, t).subscribe
727
+ subscribe: Ae(e, t).subscribe
728
728
  };
729
729
  }
730
- function Oe(e, t = B) {
730
+ function Ae(e, t = B) {
731
731
  let r;
732
732
  const n = /* @__PURE__ */ new Set();
733
733
  function i(a) {
734
- if (It(e, a) && (e = a, r)) {
735
- const l = !j.length;
734
+ if (Ct(e, a) && (e = a, r)) {
735
+ const l = !F.length;
736
736
  for (const u of n)
737
- u[1](), j.push(u, e);
737
+ u[1](), F.push(u, e);
738
738
  if (l) {
739
- for (let u = 0; u < j.length; u += 2)
740
- j[u][0](j[u + 1]);
741
- j.length = 0;
739
+ for (let u = 0; u < F.length; u += 2)
740
+ F[u][0](F[u + 1]);
741
+ F.length = 0;
742
742
  }
743
743
  }
744
744
  }
@@ -753,7 +753,7 @@ function Oe(e, t = B) {
753
753
  }
754
754
  return { set: i, update: s, subscribe: o };
755
755
  }
756
- function Y(e, t, r) {
756
+ function Q(e, t, r) {
757
757
  const n = !Array.isArray(e), i = n ? [e] : e;
758
758
  if (!i.every(Boolean))
759
759
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -767,24 +767,24 @@ function Y(e, t, r) {
767
767
  return;
768
768
  f();
769
769
  const m = t(n ? u[0] : u, o, a);
770
- s ? o(m) : f = Pe(m) ? m : B;
770
+ s ? o(m) : f = Be(m) ? m : B;
771
771
  }, y = i.map(
772
- (m, b) => Nt(
772
+ (m, g) => Mt(
773
773
  m,
774
774
  (p) => {
775
- u[b] = p, h &= ~(1 << b), l && c();
775
+ u[g] = p, h &= ~(1 << g), l && c();
776
776
  },
777
777
  () => {
778
- h |= 1 << b;
778
+ h |= 1 << g;
779
779
  }
780
780
  )
781
781
  );
782
782
  return l = !0, c(), function() {
783
- k(y), f(), l = !1;
783
+ D(y), f(), l = !1;
784
784
  };
785
785
  });
786
786
  }
787
- var fs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
787
+ var cs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
788
788
  function Xr(e) {
789
789
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
790
790
  }
@@ -805,19 +805,19 @@ function Yr(e) {
805
805
  function Kr(e) {
806
806
  return Array.isArray(e) ? [] : {};
807
807
  }
808
- function se(e, t) {
809
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(Kr(e), e, t) : e;
808
+ function ie(e, t) {
809
+ return t.clone !== !1 && t.isMergeableObject(e) ? W(Kr(e), e, t) : e;
810
810
  }
811
811
  function en(e, t, r) {
812
812
  return e.concat(t).map(function(n) {
813
- return se(n, r);
813
+ return ie(n, r);
814
814
  });
815
815
  }
816
816
  function tn(e, t) {
817
817
  if (!t.customMerge)
818
- return Z;
818
+ return W;
819
819
  var r = t.customMerge(e);
820
- return typeof r == "function" ? r : Z;
820
+ return typeof r == "function" ? r : W;
821
821
  }
822
822
  function rn(e) {
823
823
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -840,51 +840,65 @@ function nn(e, t) {
840
840
  function sn(e, t, r) {
841
841
  var n = {};
842
842
  return r.isMergeableObject(e) && ht(e).forEach(function(i) {
843
- n[i] = se(e[i], r);
843
+ n[i] = ie(e[i], r);
844
844
  }), ht(t).forEach(function(i) {
845
- nn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = tn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
845
+ nn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = tn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
846
846
  }), n;
847
847
  }
848
- function Z(e, t, r) {
849
- r = r || {}, r.arrayMerge = r.arrayMerge || en, r.isMergeableObject = r.isMergeableObject || Wr, r.cloneUnlessOtherwiseSpecified = se;
848
+ function W(e, t, r) {
849
+ r = r || {}, r.arrayMerge = r.arrayMerge || en, r.isMergeableObject = r.isMergeableObject || Wr, r.cloneUnlessOtherwiseSpecified = ie;
850
850
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
851
- return s ? n ? r.arrayMerge(e, t, r) : sn(e, t, r) : se(t, r);
851
+ return s ? n ? r.arrayMerge(e, t, r) : sn(e, t, r) : ie(t, r);
852
852
  }
853
- Z.all = function(t, r) {
853
+ W.all = function(t, r) {
854
854
  if (!Array.isArray(t))
855
855
  throw new Error("first argument should be an array");
856
856
  return t.reduce(function(n, i) {
857
- return Z(n, i, r);
857
+ return W(n, i, r);
858
858
  }, {});
859
859
  };
860
- var on = Z, an = on;
860
+ var on = W, an = on;
861
861
  const un = /* @__PURE__ */ Xr(an);
862
- var Xe = function(e, t) {
863
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
862
+ /*! *****************************************************************************
863
+ Copyright (c) Microsoft Corporation.
864
+
865
+ Permission to use, copy, modify, and/or distribute this software for any
866
+ purpose with or without fee is hereby granted.
867
+
868
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
869
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
870
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
871
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
872
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
873
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
874
+ PERFORMANCE OF THIS SOFTWARE.
875
+ ***************************************************************************** */
876
+ var ze = function(e, t) {
877
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
864
878
  r.__proto__ = n;
865
879
  } || function(r, n) {
866
880
  for (var i in n)
867
881
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
868
- }, Xe(e, t);
882
+ }, ze(e, t);
869
883
  };
870
- function Ce(e, t) {
884
+ function Pe(e, t) {
871
885
  if (typeof t != "function" && t !== null)
872
886
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
873
- Xe(e, t);
887
+ ze(e, t);
874
888
  function r() {
875
889
  this.constructor = e;
876
890
  }
877
891
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
878
892
  }
879
- var C = function() {
880
- return C = Object.assign || function(t) {
893
+ var E = function() {
894
+ return E = Object.assign || function(t) {
881
895
  for (var r, n = 1, i = arguments.length; n < i; n++) {
882
896
  r = arguments[n];
883
897
  for (var s in r)
884
898
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
885
899
  }
886
900
  return t;
887
- }, C.apply(this, arguments);
901
+ }, E.apply(this, arguments);
888
902
  };
889
903
  function ln(e, t) {
890
904
  var r = {};
@@ -895,14 +909,46 @@ function ln(e, t) {
895
909
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
896
910
  return r;
897
911
  }
898
- function Re(e, t, r) {
912
+ function fs(e) {
913
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
914
+ if (r)
915
+ return r.call(e);
916
+ if (e && typeof e.length == "number")
917
+ return {
918
+ next: function() {
919
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
920
+ }
921
+ };
922
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
923
+ }
924
+ function ms(e, t) {
925
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
926
+ if (!r)
927
+ return e;
928
+ var n = r.call(e), i, s = [], o;
929
+ try {
930
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
931
+ s.push(i.value);
932
+ } catch (a) {
933
+ o = { error: a };
934
+ } finally {
935
+ try {
936
+ i && !i.done && (r = n.return) && r.call(n);
937
+ } finally {
938
+ if (o)
939
+ throw o.error;
940
+ }
941
+ }
942
+ return s;
943
+ }
944
+ function Le(e, t, r) {
899
945
  if (r || arguments.length === 2)
900
946
  for (var n = 0, i = t.length, s; n < i; n++)
901
947
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
902
- return e.concat(s || Array.prototype.slice.call(t));
948
+ return e.concat(s || t);
903
949
  }
904
- function De(e, t) {
905
- var r = t && t.cache ? t.cache : gn, n = t && t.serializer ? t.serializer : dn, i = t && t.strategy ? t.strategy : fn;
950
+ function $e(e, t) {
951
+ var r = t && t.cache ? t.cache : pn, n = t && t.serializer ? t.serializer : dn, i = t && t.strategy ? t.strategy : cn;
906
952
  return i(e, {
907
953
  cache: r,
908
954
  serializer: n
@@ -911,103 +957,95 @@ function De(e, t) {
911
957
  function hn(e) {
912
958
  return e == null || typeof e == "number" || typeof e == "boolean";
913
959
  }
914
- function cn(e, t, r, n) {
960
+ function Ut(e, t, r, n) {
915
961
  var i = hn(n) ? n : r(n), s = t.get(i);
916
962
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
917
963
  }
918
- function Ut(e, t, r) {
964
+ function Gt(e, t, r) {
919
965
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
920
966
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
921
967
  }
922
- function Gt(e, t, r, n, i) {
968
+ function tt(e, t, r, n, i) {
923
969
  return r.bind(t, e, n, i);
924
970
  }
971
+ function cn(e, t) {
972
+ var r = e.length === 1 ? Ut : Gt;
973
+ return tt(e, this, r, t.cache.create(), t.serializer);
974
+ }
925
975
  function fn(e, t) {
926
- var r = e.length === 1 ? cn : Ut;
927
- return Gt(e, this, r, t.cache.create(), t.serializer);
976
+ return tt(e, this, Gt, t.cache.create(), t.serializer);
928
977
  }
929
978
  function mn(e, t) {
930
- return Gt(e, this, Ut, t.cache.create(), t.serializer);
979
+ return tt(e, this, Ut, t.cache.create(), t.serializer);
931
980
  }
932
981
  var dn = function() {
933
982
  return JSON.stringify(arguments);
934
- }, pn = (
935
- /** @class */
936
- function() {
937
- function e() {
938
- this.cache = /* @__PURE__ */ Object.create(null);
939
- }
940
- return e.prototype.get = function(t) {
941
- return this.cache[t];
942
- }, e.prototype.set = function(t, r) {
943
- this.cache[t] = r;
944
- }, e;
945
- }()
946
- ), gn = {
983
+ };
984
+ function rt() {
985
+ this.cache = /* @__PURE__ */ Object.create(null);
986
+ }
987
+ rt.prototype.get = function(e) {
988
+ return this.cache[e];
989
+ };
990
+ rt.prototype.set = function(e, t) {
991
+ this.cache[e] = t;
992
+ };
993
+ var pn = {
947
994
  create: function() {
948
- return new pn();
995
+ return new rt();
949
996
  }
950
- }, ke = {
951
- variadic: mn
952
- }, He = function() {
953
- return He = Object.assign || function(t) {
954
- for (var r, n = 1, i = arguments.length; n < i; n++) {
955
- r = arguments[n];
956
- for (var s in r)
957
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
958
- }
959
- return t;
960
- }, He.apply(this, arguments);
961
- };
962
- var _;
997
+ }, Re = {
998
+ variadic: fn,
999
+ monadic: mn
1000
+ }, _;
963
1001
  (function(e) {
964
1002
  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";
965
1003
  })(_ || (_ = {}));
966
- var x;
1004
+ var T;
967
1005
  (function(e) {
968
1006
  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";
969
- })(x || (x = {}));
970
- var J;
1007
+ })(T || (T = {}));
1008
+ var Z;
971
1009
  (function(e) {
972
1010
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
973
- })(J || (J = {}));
1011
+ })(Z || (Z = {}));
974
1012
  function ct(e) {
975
- return e.type === x.literal;
1013
+ return e.type === T.literal;
976
1014
  }
977
1015
  function bn(e) {
978
- return e.type === x.argument;
1016
+ return e.type === T.argument;
979
1017
  }
980
1018
  function Ft(e) {
981
- return e.type === x.number;
1019
+ return e.type === T.number;
982
1020
  }
983
1021
  function jt(e) {
984
- return e.type === x.date;
1022
+ return e.type === T.date;
985
1023
  }
986
1024
  function zt(e) {
987
- return e.type === x.time;
1025
+ return e.type === T.time;
988
1026
  }
989
1027
  function Vt(e) {
990
- return e.type === x.select;
1028
+ return e.type === T.select;
991
1029
  }
992
1030
  function Xt(e) {
993
- return e.type === x.plural;
1031
+ return e.type === T.plural;
994
1032
  }
995
- function yn(e) {
996
- return e.type === x.pound;
1033
+ function gn(e) {
1034
+ return e.type === T.pound;
997
1035
  }
998
1036
  function Wt(e) {
999
- return e.type === x.tag;
1037
+ return e.type === T.tag;
1000
1038
  }
1001
1039
  function Zt(e) {
1002
- return !!(e && typeof e == "object" && e.type === J.number);
1040
+ return !!(e && typeof e == "object" && e.type === Z.number);
1003
1041
  }
1004
- function We(e) {
1005
- return !!(e && typeof e == "object" && e.type === J.dateTime);
1042
+ function Ve(e) {
1043
+ return !!(e && typeof e == "object" && e.type === Z.dateTime);
1006
1044
  }
1007
- var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _n = /(?:[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;
1008
- function En(e) {
1045
+ var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yn = /(?:[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;
1046
+ function _n(e) {
1009
1047
  var t = {};
1010
- return e.replace(_n, function(r) {
1048
+ return e.replace(yn, function(r) {
1011
1049
  var n = r.length;
1012
1050
  switch (r[0]) {
1013
1051
  case "G":
@@ -1096,18 +1134,8 @@ function En(e) {
1096
1134
  return "";
1097
1135
  }), t;
1098
1136
  }
1099
- var T = function() {
1100
- return T = Object.assign || function(t) {
1101
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1102
- r = arguments[n];
1103
- for (var s in r)
1104
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1105
- }
1106
- return t;
1107
- }, T.apply(this, arguments);
1108
- };
1109
1137
  var vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1110
- function xn(e) {
1138
+ function En(e) {
1111
1139
  if (e.length === 0)
1112
1140
  throw new Error("Number skeleton cannot be empty");
1113
1141
  for (var t = e.split(vn).filter(function(c) {
@@ -1125,10 +1153,10 @@ function xn(e) {
1125
1153
  }
1126
1154
  return r;
1127
1155
  }
1128
- function Tn(e) {
1156
+ function xn(e) {
1129
1157
  return e.replace(/^(.*?)-/, "");
1130
1158
  }
1131
- var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, wn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1159
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1132
1160
  function mt(e) {
1133
1161
  var t = {};
1134
1162
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
@@ -1175,7 +1203,7 @@ function Yt(e) {
1175
1203
  };
1176
1204
  }
1177
1205
  }
1178
- function Hn(e) {
1206
+ function wn(e) {
1179
1207
  var t;
1180
1208
  if (e[0] === "E" && e[1] === "E" ? (t = {
1181
1209
  notation: "engineering"
@@ -1193,7 +1221,7 @@ function dt(e) {
1193
1221
  var t = {}, r = Yt(e);
1194
1222
  return r || t;
1195
1223
  }
1196
- function Sn(e) {
1224
+ function Hn(e) {
1197
1225
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1198
1226
  var i = n[r];
1199
1227
  switch (i.stem) {
@@ -1217,7 +1245,7 @@ function Sn(e) {
1217
1245
  continue;
1218
1246
  case "measure-unit":
1219
1247
  case "unit":
1220
- t.style = "unit", t.unit = Tn(i.options[0]);
1248
+ t.style = "unit", t.unit = xn(i.options[0]);
1221
1249
  continue;
1222
1250
  case "compact-short":
1223
1251
  case "K":
@@ -1228,13 +1256,13 @@ function Sn(e) {
1228
1256
  t.notation = "compact", t.compactDisplay = "long";
1229
1257
  continue;
1230
1258
  case "scientific":
1231
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1232
- return T(T({}, l), dt(u));
1259
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1260
+ return E(E({}, l), dt(u));
1233
1261
  }, {}));
1234
1262
  continue;
1235
1263
  case "engineering":
1236
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1237
- return T(T({}, l), dt(u));
1264
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1265
+ return E(E({}, l), dt(u));
1238
1266
  }, {}));
1239
1267
  continue;
1240
1268
  case "notation-simple":
@@ -1279,7 +1307,7 @@ function Sn(e) {
1279
1307
  case "integer-width":
1280
1308
  if (i.options.length > 1)
1281
1309
  throw new RangeError("integer-width stems only accept a single optional option");
1282
- i.options[0].replace(wn, function(l, u, h, f, c, y) {
1310
+ i.options[0].replace(Tn, function(l, u, h, f, c, y) {
1283
1311
  if (u)
1284
1312
  t.minimumIntegerDigits = h.length;
1285
1313
  else {
@@ -1303,21 +1331,21 @@ function Sn(e) {
1303
1331
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1304
1332
  });
1305
1333
  var s = i.options[0];
1306
- s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), mt(s)));
1334
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), mt(s)));
1307
1335
  continue;
1308
1336
  }
1309
1337
  if (qt.test(i.stem)) {
1310
- t = T(T({}, t), mt(i.stem));
1338
+ t = E(E({}, t), mt(i.stem));
1311
1339
  continue;
1312
1340
  }
1313
1341
  var o = Yt(i.stem);
1314
- o && (t = T(T({}, t), o));
1315
- var a = Hn(i.stem);
1316
- a && (t = T(T({}, t), a));
1342
+ o && (t = E(E({}, t), o));
1343
+ var a = wn(i.stem);
1344
+ a && (t = E(E({}, t), a));
1317
1345
  }
1318
1346
  return t;
1319
1347
  }
1320
- var me = {
1348
+ var fe = {
1321
1349
  "001": [
1322
1350
  "H",
1323
1351
  "h"
@@ -2732,13 +2760,13 @@ var me = {
2732
2760
  "h"
2733
2761
  ]
2734
2762
  };
2735
- function Bn(e, t) {
2763
+ function Sn(e, t) {
2736
2764
  for (var r = "", n = 0; n < e.length; n++) {
2737
2765
  var i = e.charAt(n);
2738
2766
  if (i === "j") {
2739
2767
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2740
2768
  s++, n++;
2741
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = An(t);
2769
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Bn(t);
2742
2770
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2743
2771
  r += l;
2744
2772
  for (; o-- > 0; )
@@ -2748,7 +2776,7 @@ function Bn(e, t) {
2748
2776
  }
2749
2777
  return r;
2750
2778
  }
2751
- function An(e) {
2779
+ function Bn(e) {
2752
2780
  var t = e.hourCycle;
2753
2781
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2754
2782
  e.hourCycles && // @ts-ignore
@@ -2767,23 +2795,23 @@ function An(e) {
2767
2795
  }
2768
2796
  var r = e.language, n;
2769
2797
  r !== "root" && (n = e.maximize().region);
2770
- var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
2798
+ var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2771
2799
  return i[0];
2772
2800
  }
2773
- var Ue, Pn = new RegExp("^".concat(Jt.source, "*")), On = new RegExp("".concat(Jt.source, "*$"));
2774
- function E(e, t) {
2801
+ var De, An = new RegExp("^".concat(Jt.source, "*")), Pn = new RegExp("".concat(Jt.source, "*$"));
2802
+ function v(e, t) {
2775
2803
  return { start: e, end: t };
2776
2804
  }
2777
- var Cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Nn = !!Object.fromEntries, Mn = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, $n = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, Dn = Rn ? Number.isSafeInteger : function(e) {
2805
+ var On = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Cn = !!Object.fromEntries, Mn = !!String.prototype.codePointAt, Nn = !!String.prototype.trimStart, Ln = !!String.prototype.trimEnd, $n = !!Number.isSafeInteger, Rn = $n ? Number.isSafeInteger : function(e) {
2778
2806
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2779
- }, Ze = !0;
2807
+ }, Xe = !0;
2780
2808
  try {
2781
- var kn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2782
- Ze = ((Ue = kn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2809
+ var Dn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2810
+ Xe = ((De = Dn.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
2783
2811
  } catch {
2784
- Ze = !1;
2812
+ Xe = !1;
2785
2813
  }
2786
- var pt = Cn ? (
2814
+ var pt = On ? (
2787
2815
  // Native
2788
2816
  function(t, r, n) {
2789
2817
  return t.startsWith(r, n);
@@ -2793,7 +2821,7 @@ var pt = Cn ? (
2793
2821
  function(t, r, n) {
2794
2822
  return t.slice(n, n + r.length) === r;
2795
2823
  }
2796
- ), Je = In ? String.fromCodePoint : (
2824
+ ), We = In ? String.fromCodePoint : (
2797
2825
  // IE11
2798
2826
  function() {
2799
2827
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2805,9 +2833,9 @@ var pt = Cn ? (
2805
2833
  }
2806
2834
  return n;
2807
2835
  }
2808
- ), gt = (
2836
+ ), bt = (
2809
2837
  // native
2810
- Nn ? Object.fromEntries : (
2838
+ Cn ? Object.fromEntries : (
2811
2839
  // Ponyfill
2812
2840
  function(t) {
2813
2841
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2831,7 +2859,7 @@ var pt = Cn ? (
2831
2859
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2832
2860
  }
2833
2861
  }
2834
- ), Un = Ln ? (
2862
+ ), kn = Nn ? (
2835
2863
  // Native
2836
2864
  function(t) {
2837
2865
  return t.trimStart();
@@ -2839,9 +2867,9 @@ var pt = Cn ? (
2839
2867
  ) : (
2840
2868
  // Ponyfill
2841
2869
  function(t) {
2842
- return t.replace(Pn, "");
2870
+ return t.replace(An, "");
2843
2871
  }
2844
- ), Gn = $n ? (
2872
+ ), Un = Ln ? (
2845
2873
  // Native
2846
2874
  function(t) {
2847
2875
  return t.trimEnd();
@@ -2849,32 +2877,32 @@ var pt = Cn ? (
2849
2877
  ) : (
2850
2878
  // Ponyfill
2851
2879
  function(t) {
2852
- return t.replace(On, "");
2880
+ return t.replace(Pn, "");
2853
2881
  }
2854
2882
  );
2855
2883
  function er(e, t) {
2856
2884
  return new RegExp(e, t);
2857
2885
  }
2858
- var qe;
2859
- if (Ze) {
2860
- var bt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2861
- qe = function(t, r) {
2886
+ var Ze;
2887
+ if (Xe) {
2888
+ var gt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2889
+ Ze = function(t, r) {
2862
2890
  var n;
2863
- bt.lastIndex = r;
2864
- var i = bt.exec(t);
2891
+ gt.lastIndex = r;
2892
+ var i = gt.exec(t);
2865
2893
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2866
2894
  };
2867
2895
  } else
2868
- qe = function(t, r) {
2896
+ Ze = function(t, r) {
2869
2897
  for (var n = []; ; ) {
2870
2898
  var i = Kt(t, r);
2871
- if (i === void 0 || tr(i) || Vn(i))
2899
+ if (i === void 0 || tr(i) || zn(i))
2872
2900
  break;
2873
2901
  n.push(i), r += i >= 65536 ? 2 : 1;
2874
2902
  }
2875
- return Je.apply(void 0, n);
2903
+ return We.apply(void 0, n);
2876
2904
  };
2877
- var Fn = (
2905
+ var Gn = (
2878
2906
  /** @class */
2879
2907
  function() {
2880
2908
  function e(t, r) {
@@ -2898,14 +2926,14 @@ var Fn = (
2898
2926
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2899
2927
  var a = this.clonePosition();
2900
2928
  this.bump(), i.push({
2901
- type: x.pound,
2902
- location: E(a, this.clonePosition())
2929
+ type: T.pound,
2930
+ location: v(a, this.clonePosition())
2903
2931
  });
2904
2932
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2905
2933
  if (n)
2906
2934
  break;
2907
- return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
2908
- } else if (s === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2935
+ return this.error(_.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2936
+ } else if (s === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
2909
2937
  var o = this.parseTag(t, r);
2910
2938
  if (o.err)
2911
2939
  return o;
@@ -2926,9 +2954,9 @@ var Fn = (
2926
2954
  if (this.bumpSpace(), this.bumpIf("/>"))
2927
2955
  return {
2928
2956
  val: {
2929
- type: x.literal,
2957
+ type: T.literal,
2930
2958
  value: "<".concat(i, "/>"),
2931
- location: E(n, this.clonePosition())
2959
+ location: v(n, this.clonePosition())
2932
2960
  },
2933
2961
  err: null
2934
2962
  };
@@ -2938,25 +2966,25 @@ var Fn = (
2938
2966
  return s;
2939
2967
  var o = s.val, a = this.clonePosition();
2940
2968
  if (this.bumpIf("</")) {
2941
- if (this.isEOF() || !Qe(this.char()))
2942
- return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
2969
+ if (this.isEOF() || !Je(this.char()))
2970
+ return this.error(_.INVALID_TAG, v(a, this.clonePosition()));
2943
2971
  var l = this.clonePosition(), u = this.parseTagName();
2944
- return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2972
+ return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2945
2973
  val: {
2946
- type: x.tag,
2974
+ type: T.tag,
2947
2975
  value: i,
2948
2976
  children: o,
2949
- location: E(n, this.clonePosition())
2977
+ location: v(n, this.clonePosition())
2950
2978
  },
2951
2979
  err: null
2952
- } : this.error(_.INVALID_TAG, E(a, this.clonePosition())));
2980
+ } : this.error(_.INVALID_TAG, v(a, this.clonePosition())));
2953
2981
  } else
2954
- return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
2982
+ return this.error(_.UNCLOSED_TAG, v(n, this.clonePosition()));
2955
2983
  } else
2956
- return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
2984
+ return this.error(_.INVALID_TAG, v(n, this.clonePosition()));
2957
2985
  }, e.prototype.parseTagName = function() {
2958
2986
  var t = this.offset();
2959
- for (this.bump(); !this.isEOF() && zn(this.char()); )
2987
+ for (this.bump(); !this.isEOF() && jn(this.char()); )
2960
2988
  this.bump();
2961
2989
  return this.message.slice(t, this.offset());
2962
2990
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2978,14 +3006,14 @@ var Fn = (
2978
3006
  }
2979
3007
  break;
2980
3008
  }
2981
- var l = E(n, this.clonePosition());
3009
+ var l = v(n, this.clonePosition());
2982
3010
  return {
2983
- val: { type: x.literal, value: i, location: l },
3011
+ val: { type: T.literal, value: i, location: l },
2984
3012
  err: null
2985
3013
  };
2986
3014
  }, e.prototype.tryParseLeftAngleBracket = function() {
2987
3015
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2988
- !jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3016
+ !Fn(this.peek() || 0)) ? (this.bump(), "<") : null;
2989
3017
  }, e.prototype.tryParseQuote = function(t) {
2990
3018
  if (this.isEOF() || this.char() !== 39)
2991
3019
  return null;
@@ -3019,49 +3047,49 @@ var Fn = (
3019
3047
  r.push(n);
3020
3048
  this.bump();
3021
3049
  }
3022
- return Je.apply(void 0, r);
3050
+ return We.apply(void 0, r);
3023
3051
  }, e.prototype.tryParseUnquoted = function(t, r) {
3024
3052
  if (this.isEOF())
3025
3053
  return null;
3026
3054
  var n = this.char();
3027
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3055
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3028
3056
  }, e.prototype.parseArgument = function(t, r) {
3029
3057
  var n = this.clonePosition();
3030
3058
  if (this.bump(), this.bumpSpace(), this.isEOF())
3031
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3059
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3032
3060
  if (this.char() === 125)
3033
- return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
3061
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3034
3062
  var i = this.parseIdentifierIfPossible().value;
3035
3063
  if (!i)
3036
- return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3064
+ return this.error(_.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3037
3065
  if (this.bumpSpace(), this.isEOF())
3038
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3066
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3039
3067
  switch (this.char()) {
3040
3068
  case 125:
3041
3069
  return this.bump(), {
3042
3070
  val: {
3043
- type: x.argument,
3071
+ type: T.argument,
3044
3072
  // value does not include the opening and closing braces.
3045
3073
  value: i,
3046
- location: E(n, this.clonePosition())
3074
+ location: v(n, this.clonePosition())
3047
3075
  },
3048
3076
  err: null
3049
3077
  };
3050
3078
  case 44:
3051
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3079
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3052
3080
  default:
3053
- return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3081
+ return this.error(_.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3054
3082
  }
3055
3083
  }, e.prototype.parseIdentifierIfPossible = function() {
3056
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
3084
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3057
3085
  this.bumpTo(i);
3058
- var s = this.clonePosition(), o = E(t, s);
3086
+ var s = this.clonePosition(), o = v(t, s);
3059
3087
  return { value: n, location: o };
3060
3088
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3061
3089
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3062
3090
  switch (a) {
3063
3091
  case "":
3064
- return this.error(_.EXPECT_ARGUMENT_TYPE, E(o, l));
3092
+ return this.error(_.EXPECT_ARGUMENT_TYPE, v(o, l));
3065
3093
  case "number":
3066
3094
  case "date":
3067
3095
  case "time": {
@@ -3072,46 +3100,46 @@ var Fn = (
3072
3100
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3073
3101
  if (f.err)
3074
3102
  return f;
3075
- var c = Gn(f.val);
3103
+ var c = Un(f.val);
3076
3104
  if (c.length === 0)
3077
- return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3078
- var y = E(h, this.clonePosition());
3105
+ return this.error(_.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3106
+ var y = v(h, this.clonePosition());
3079
3107
  u = { style: c, styleLocation: y };
3080
3108
  }
3081
3109
  var m = this.tryParseArgumentClose(i);
3082
3110
  if (m.err)
3083
3111
  return m;
3084
- var b = E(i, this.clonePosition());
3112
+ var g = v(i, this.clonePosition());
3085
3113
  if (u && pt(u?.style, "::", 0)) {
3086
- var p = Un(u.style.slice(2));
3114
+ var p = kn(u.style.slice(2));
3087
3115
  if (a === "number") {
3088
3116
  var f = this.parseNumberSkeletonFromString(p, u.styleLocation);
3089
3117
  return f.err ? f : {
3090
- val: { type: x.number, value: n, location: b, style: f.val },
3118
+ val: { type: T.number, value: n, location: g, style: f.val },
3091
3119
  err: null
3092
3120
  };
3093
3121
  } else {
3094
3122
  if (p.length === 0)
3095
- return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
3123
+ return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3096
3124
  var d = p;
3097
- this.locale && (d = Bn(p, this.locale));
3125
+ this.locale && (d = Sn(p, this.locale));
3098
3126
  var c = {
3099
- type: J.dateTime,
3127
+ type: Z.dateTime,
3100
3128
  pattern: d,
3101
3129
  location: u.styleLocation,
3102
- parsedOptions: this.shouldParseSkeletons ? En(d) : {}
3103
- }, v = a === "date" ? x.date : x.time;
3130
+ parsedOptions: this.shouldParseSkeletons ? _n(d) : {}
3131
+ }, x = a === "date" ? T.date : T.time;
3104
3132
  return {
3105
- val: { type: v, value: n, location: b, style: c },
3133
+ val: { type: x, value: n, location: g, style: c },
3106
3134
  err: null
3107
3135
  };
3108
3136
  }
3109
3137
  }
3110
3138
  return {
3111
3139
  val: {
3112
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3140
+ type: a === "number" ? T.number : a === "date" ? T.date : T.time,
3113
3141
  value: n,
3114
- location: b,
3142
+ location: g,
3115
3143
  style: (s = u?.style) !== null && s !== void 0 ? s : null
3116
3144
  },
3117
3145
  err: null
@@ -3120,40 +3148,40 @@ var Fn = (
3120
3148
  case "plural":
3121
3149
  case "selectordinal":
3122
3150
  case "select": {
3123
- var g = this.clonePosition();
3151
+ var b = this.clonePosition();
3124
3152
  if (this.bumpSpace(), !this.bumpIf(","))
3125
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(g, He({}, g)));
3153
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, v(b, E({}, b)));
3126
3154
  this.bumpSpace();
3127
3155
  var w = this.parseIdentifierIfPossible(), H = 0;
3128
3156
  if (a !== "select" && w.value === "offset") {
3129
3157
  if (!this.bumpIf(":"))
3130
- return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3158
+ return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3131
3159
  this.bumpSpace();
3132
3160
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3133
3161
  if (f.err)
3134
3162
  return f;
3135
3163
  this.bumpSpace(), w = this.parseIdentifierIfPossible(), H = f.val;
3136
3164
  }
3137
- var G = this.tryParsePluralOrSelectOptions(t, a, r, w);
3138
- if (G.err)
3139
- return G;
3165
+ var U = this.tryParsePluralOrSelectOptions(t, a, r, w);
3166
+ if (U.err)
3167
+ return U;
3140
3168
  var m = this.tryParseArgumentClose(i);
3141
3169
  if (m.err)
3142
3170
  return m;
3143
- var st = E(i, this.clonePosition());
3171
+ var st = v(i, this.clonePosition());
3144
3172
  return a === "select" ? {
3145
3173
  val: {
3146
- type: x.select,
3174
+ type: T.select,
3147
3175
  value: n,
3148
- options: gt(G.val),
3176
+ options: bt(U.val),
3149
3177
  location: st
3150
3178
  },
3151
3179
  err: null
3152
3180
  } : {
3153
3181
  val: {
3154
- type: x.plural,
3182
+ type: T.plural,
3155
3183
  value: n,
3156
- options: gt(G.val),
3184
+ options: bt(U.val),
3157
3185
  offset: H,
3158
3186
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3159
3187
  location: st
@@ -3162,10 +3190,10 @@ var Fn = (
3162
3190
  };
3163
3191
  }
3164
3192
  default:
3165
- return this.error(_.INVALID_ARGUMENT_TYPE, E(o, l));
3193
+ return this.error(_.INVALID_ARGUMENT_TYPE, v(o, l));
3166
3194
  }
3167
3195
  }, e.prototype.tryParseArgumentClose = function(t) {
3168
- return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3196
+ return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3169
3197
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3170
3198
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3171
3199
  var n = this.char();
@@ -3174,7 +3202,7 @@ var Fn = (
3174
3202
  this.bump();
3175
3203
  var i = this.clonePosition();
3176
3204
  if (!this.bumpUntil("'"))
3177
- return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
3205
+ return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3178
3206
  this.bump();
3179
3207
  break;
3180
3208
  }
@@ -3204,16 +3232,16 @@ var Fn = (
3204
3232
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3205
3233
  var n = [];
3206
3234
  try {
3207
- n = xn(t);
3235
+ n = En(t);
3208
3236
  } catch {
3209
3237
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3210
3238
  }
3211
3239
  return {
3212
3240
  val: {
3213
- type: J.number,
3241
+ type: Z.number,
3214
3242
  tokens: n,
3215
3243
  location: r,
3216
- parsedOptions: this.shouldParseSkeletons ? Sn(n) : {}
3244
+ parsedOptions: this.shouldParseSkeletons ? Hn(n) : {}
3217
3245
  },
3218
3246
  err: null
3219
3247
  };
@@ -3225,7 +3253,7 @@ var Fn = (
3225
3253
  var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3226
3254
  if (c.err)
3227
3255
  return c;
3228
- h = E(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3256
+ h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3229
3257
  } else
3230
3258
  break;
3231
3259
  }
@@ -3234,22 +3262,22 @@ var Fn = (
3234
3262
  u === "other" && (o = !0), this.bumpSpace();
3235
3263
  var y = this.clonePosition();
3236
3264
  if (!this.bumpIf("{"))
3237
- return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3265
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3238
3266
  var m = this.parseMessage(t + 1, r, n);
3239
3267
  if (m.err)
3240
3268
  return m;
3241
- var b = this.tryParseArgumentClose(y);
3242
- if (b.err)
3243
- return b;
3269
+ var g = this.tryParseArgumentClose(y);
3270
+ if (g.err)
3271
+ return g;
3244
3272
  a.push([
3245
3273
  u,
3246
3274
  {
3247
3275
  value: m.val,
3248
- location: E(y, this.clonePosition())
3276
+ location: v(y, this.clonePosition())
3249
3277
  }
3250
3278
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3251
3279
  }
3252
- return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3280
+ return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3253
3281
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3254
3282
  var n = 1, i = this.clonePosition();
3255
3283
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3260,8 +3288,8 @@ var Fn = (
3260
3288
  else
3261
3289
  break;
3262
3290
  }
3263
- var l = E(i, this.clonePosition());
3264
- return s ? (o *= n, Dn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3291
+ var l = v(i, this.clonePosition());
3292
+ return s ? (o *= n, Rn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3265
3293
  }, e.prototype.offset = function() {
3266
3294
  return this.position.offset;
3267
3295
  }, e.prototype.isEOF = function() {
@@ -3327,47 +3355,47 @@ var Fn = (
3327
3355
  }, e;
3328
3356
  }()
3329
3357
  );
3330
- function Qe(e) {
3358
+ function Je(e) {
3331
3359
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3332
3360
  }
3333
- function jn(e) {
3334
- return Qe(e) || e === 47;
3361
+ function Fn(e) {
3362
+ return Je(e) || e === 47;
3335
3363
  }
3336
- function zn(e) {
3364
+ function jn(e) {
3337
3365
  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;
3338
3366
  }
3339
3367
  function tr(e) {
3340
3368
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3341
3369
  }
3342
- function Vn(e) {
3370
+ function zn(e) {
3343
3371
  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;
3344
3372
  }
3345
- function Ye(e) {
3373
+ function qe(e) {
3346
3374
  e.forEach(function(t) {
3347
3375
  if (delete t.location, Vt(t) || Xt(t))
3348
3376
  for (var r in t.options)
3349
- delete t.options[r].location, Ye(t.options[r].value);
3377
+ delete t.options[r].location, qe(t.options[r].value);
3350
3378
  else
3351
- Ft(t) && Zt(t.style) || (jt(t) || zt(t)) && We(t.style) ? delete t.style.location : Wt(t) && Ye(t.children);
3379
+ Ft(t) && Zt(t.style) || (jt(t) || zt(t)) && Ve(t.style) ? delete t.style.location : Wt(t) && qe(t.children);
3352
3380
  });
3353
3381
  }
3354
- function Xn(e, t) {
3355
- t === void 0 && (t = {}), t = He({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3356
- var r = new Fn(e, t).parse();
3382
+ function Vn(e, t) {
3383
+ t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3384
+ var r = new Gn(e, t).parse();
3357
3385
  if (r.err) {
3358
3386
  var n = SyntaxError(_[r.err.kind]);
3359
3387
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3360
3388
  }
3361
- return t?.captureLocation || Ye(r.val), r.val;
3389
+ return t?.captureLocation || qe(r.val), r.val;
3362
3390
  }
3363
- var q;
3391
+ var J;
3364
3392
  (function(e) {
3365
3393
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3366
- })(q || (q = {}));
3367
- var Ie = (
3394
+ })(J || (J = {}));
3395
+ var Oe = (
3368
3396
  /** @class */
3369
3397
  function(e) {
3370
- Ce(t, e);
3398
+ Pe(t, e);
3371
3399
  function t(r, n, i) {
3372
3400
  var s = e.call(this, r) || this;
3373
3401
  return s.code = n, s.originalMessage = i, s;
@@ -3379,44 +3407,44 @@ var Ie = (
3379
3407
  ), yt = (
3380
3408
  /** @class */
3381
3409
  function(e) {
3382
- Ce(t, e);
3410
+ Pe(t, e);
3383
3411
  function t(r, n, i, s) {
3384
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, s) || this;
3412
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
3385
3413
  }
3386
3414
  return t;
3387
- }(Ie)
3388
- ), Wn = (
3415
+ }(Oe)
3416
+ ), Xn = (
3389
3417
  /** @class */
3390
3418
  function(e) {
3391
- Ce(t, e);
3419
+ Pe(t, e);
3392
3420
  function t(r, n, i) {
3393
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3421
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3394
3422
  }
3395
3423
  return t;
3396
- }(Ie)
3397
- ), Zn = (
3424
+ }(Oe)
3425
+ ), Wn = (
3398
3426
  /** @class */
3399
3427
  function(e) {
3400
- Ce(t, e);
3428
+ Pe(t, e);
3401
3429
  function t(r, n) {
3402
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3430
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3403
3431
  }
3404
3432
  return t;
3405
- }(Ie)
3433
+ }(Oe)
3406
3434
  ), S;
3407
3435
  (function(e) {
3408
3436
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3409
3437
  })(S || (S = {}));
3410
- function Jn(e) {
3438
+ function Zn(e) {
3411
3439
  return e.length < 2 ? e : e.reduce(function(t, r) {
3412
3440
  var n = t[t.length - 1];
3413
3441
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3414
3442
  }, []);
3415
3443
  }
3416
- function qn(e) {
3444
+ function Jn(e) {
3417
3445
  return typeof e == "function";
3418
3446
  }
3419
- function Ee(e, t, r, n, i, s, o) {
3447
+ function _e(e, t, r, n, i, s, o) {
3420
3448
  if (e.length === 1 && ct(e[0]))
3421
3449
  return [
3422
3450
  {
@@ -3433,7 +3461,7 @@ function Ee(e, t, r, n, i, s, o) {
3433
3461
  });
3434
3462
  continue;
3435
3463
  }
3436
- if (yn(h)) {
3464
+ if (gn(h)) {
3437
3465
  typeof s == "number" && a.push({
3438
3466
  type: S.literal,
3439
3467
  value: r.getNumberFormat(t).format(s)
@@ -3442,7 +3470,7 @@ function Ee(e, t, r, n, i, s, o) {
3442
3470
  }
3443
3471
  var f = h.value;
3444
3472
  if (!(i && f in i))
3445
- throw new Zn(f, o);
3473
+ throw new Wn(f, o);
3446
3474
  var c = i[f];
3447
3475
  if (bn(h)) {
3448
3476
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
@@ -3452,7 +3480,7 @@ function Ee(e, t, r, n, i, s, o) {
3452
3480
  continue;
3453
3481
  }
3454
3482
  if (jt(h)) {
3455
- var y = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3483
+ var y = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3456
3484
  a.push({
3457
3485
  type: S.literal,
3458
3486
  value: r.getDateTimeFormat(t, y).format(c)
@@ -3460,7 +3488,7 @@ function Ee(e, t, r, n, i, s, o) {
3460
3488
  continue;
3461
3489
  }
3462
3490
  if (zt(h)) {
3463
- var y = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3491
+ var y = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3464
3492
  a.push({
3465
3493
  type: S.literal,
3466
3494
  value: r.getDateTimeFormat(t, y).format(c)
@@ -3476,13 +3504,13 @@ function Ee(e, t, r, n, i, s, o) {
3476
3504
  continue;
3477
3505
  }
3478
3506
  if (Wt(h)) {
3479
- var m = h.children, b = h.value, p = i[b];
3480
- if (!qn(p))
3481
- throw new Wn(b, "function", o);
3482
- var d = Ee(m, t, r, n, i, s), v = p(d.map(function(H) {
3507
+ var m = h.children, g = h.value, p = i[g];
3508
+ if (!Jn(p))
3509
+ throw new Xn(g, "function", o);
3510
+ var d = _e(m, t, r, n, i, s), x = p(d.map(function(H) {
3483
3511
  return H.value;
3484
3512
  }));
3485
- Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(H) {
3513
+ Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(H) {
3486
3514
  return {
3487
3515
  type: typeof H == "string" ? S.literal : S.object,
3488
3516
  value: H
@@ -3490,41 +3518,41 @@ function Ee(e, t, r, n, i, s, o) {
3490
3518
  }));
3491
3519
  }
3492
3520
  if (Vt(h)) {
3493
- var g = h.options[c] || h.options.other;
3494
- if (!g)
3521
+ var b = h.options[c] || h.options.other;
3522
+ if (!b)
3495
3523
  throw new yt(h.value, c, Object.keys(h.options), o);
3496
- a.push.apply(a, Ee(g.value, t, r, n, i));
3524
+ a.push.apply(a, _e(b.value, t, r, n, i));
3497
3525
  continue;
3498
3526
  }
3499
3527
  if (Xt(h)) {
3500
- var g = h.options["=".concat(c)];
3501
- if (!g) {
3528
+ var b = h.options["=".concat(c)];
3529
+ if (!b) {
3502
3530
  if (!Intl.PluralRules)
3503
- throw new Ie(`Intl.PluralRules is not available in this environment.
3531
+ throw new Oe(`Intl.PluralRules is not available in this environment.
3504
3532
  Try polyfilling it using "@formatjs/intl-pluralrules"
3505
- `, q.MISSING_INTL_API, o);
3533
+ `, J.MISSING_INTL_API, o);
3506
3534
  var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3507
- g = h.options[w] || h.options.other;
3535
+ b = h.options[w] || h.options.other;
3508
3536
  }
3509
- if (!g)
3537
+ if (!b)
3510
3538
  throw new yt(h.value, c, Object.keys(h.options), o);
3511
- a.push.apply(a, Ee(g.value, t, r, n, i, c - (h.offset || 0)));
3539
+ a.push.apply(a, _e(b.value, t, r, n, i, c - (h.offset || 0)));
3512
3540
  continue;
3513
3541
  }
3514
3542
  }
3515
- return Jn(a);
3543
+ return Zn(a);
3516
3544
  }
3517
- function Qn(e, t) {
3518
- return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3519
- return r[n] = C(C({}, e[n]), t[n] || {}), r;
3545
+ function qn(e, t) {
3546
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3547
+ return r[n] = E(E({}, e[n]), t[n] || {}), r;
3520
3548
  }, {})) : e;
3521
3549
  }
3522
- function Yn(e, t) {
3550
+ function Qn(e, t) {
3523
3551
  return t ? Object.keys(e).reduce(function(r, n) {
3524
- return r[n] = Qn(e[n], t[n]), r;
3525
- }, C({}, e)) : e;
3552
+ return r[n] = qn(e[n], t[n]), r;
3553
+ }, E({}, e)) : e;
3526
3554
  }
3527
- function Ge(e) {
3555
+ function ke(e) {
3528
3556
  return {
3529
3557
  create: function() {
3530
3558
  return {
@@ -3538,35 +3566,35 @@ function Ge(e) {
3538
3566
  }
3539
3567
  };
3540
3568
  }
3541
- function Kn(e) {
3569
+ function Yn(e) {
3542
3570
  return e === void 0 && (e = {
3543
3571
  number: {},
3544
3572
  dateTime: {},
3545
3573
  pluralRules: {}
3546
3574
  }), {
3547
- getNumberFormat: De(function() {
3575
+ getNumberFormat: $e(function() {
3548
3576
  for (var t, r = [], n = 0; n < arguments.length; n++)
3549
3577
  r[n] = arguments[n];
3550
- return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3578
+ return new ((t = Intl.NumberFormat).bind.apply(t, Le([void 0], r, !1)))();
3551
3579
  }, {
3552
- cache: Ge(e.number),
3553
- strategy: ke.variadic
3580
+ cache: ke(e.number),
3581
+ strategy: Re.variadic
3554
3582
  }),
3555
- getDateTimeFormat: De(function() {
3583
+ getDateTimeFormat: $e(function() {
3556
3584
  for (var t, r = [], n = 0; n < arguments.length; n++)
3557
3585
  r[n] = arguments[n];
3558
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3586
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Le([void 0], r, !1)))();
3559
3587
  }, {
3560
- cache: Ge(e.dateTime),
3561
- strategy: ke.variadic
3588
+ cache: ke(e.dateTime),
3589
+ strategy: Re.variadic
3562
3590
  }),
3563
- getPluralRules: De(function() {
3591
+ getPluralRules: $e(function() {
3564
3592
  for (var t, r = [], n = 0; n < arguments.length; n++)
3565
3593
  r[n] = arguments[n];
3566
- return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3594
+ return new ((t = Intl.PluralRules).bind.apply(t, Le([void 0], r, !1)))();
3567
3595
  }, {
3568
- cache: Ge(e.pluralRules),
3569
- strategy: ke.variadic
3596
+ cache: ke(e.pluralRules),
3597
+ strategy: Re.variadic
3570
3598
  })
3571
3599
  };
3572
3600
  }
@@ -3589,7 +3617,7 @@ var rr = (
3589
3617
  }, []);
3590
3618
  return h.length <= 1 ? h[0] || "" : h;
3591
3619
  }, this.formatToParts = function(l) {
3592
- return Ee(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3620
+ return _e(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3593
3621
  }, this.resolvedOptions = function() {
3594
3622
  var l;
3595
3623
  return {
@@ -3603,12 +3631,12 @@ var rr = (
3603
3631
  var o = i || {};
3604
3632
  o.formatters;
3605
3633
  var a = ln(o, ["formatters"]);
3606
- this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
3634
+ this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3607
3635
  } else
3608
3636
  this.ast = t;
3609
3637
  if (!Array.isArray(this.ast))
3610
3638
  throw new TypeError("A message must be provided as a String or AST.");
3611
- this.formats = Yn(e.formats, n), this.formatters = i && i.formatters || Kn(this.formatterCache);
3639
+ this.formats = Qn(e.formats, n), this.formatters = i && i.formatters || Yn(this.formatterCache);
3612
3640
  }
3613
3641
  return Object.defineProperty(e, "defaultLocale", {
3614
3642
  get: function() {
@@ -3621,7 +3649,7 @@ var rr = (
3621
3649
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3622
3650
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3623
3651
  }
3624
- }, e.__parse = Xn, e.formats = {
3652
+ }, e.__parse = Vn, e.formats = {
3625
3653
  number: {
3626
3654
  integer: {
3627
3655
  maximumFractionDigits: 0
@@ -3682,7 +3710,7 @@ var rr = (
3682
3710
  }, e;
3683
3711
  }()
3684
3712
  );
3685
- function ei(e, t) {
3713
+ function Kn(e, t) {
3686
3714
  if (t == null)
3687
3715
  return;
3688
3716
  if (t in e)
@@ -3703,36 +3731,36 @@ function ei(e, t) {
3703
3731
  n = void 0;
3704
3732
  return n;
3705
3733
  }
3706
- const L = {}, ti = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), nr = (e, t) => {
3734
+ const N = {}, ei = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), nr = (e, t) => {
3707
3735
  if (t == null)
3708
3736
  return;
3709
- if (t in L && e in L[t])
3710
- return L[t][e];
3711
- const r = le(t);
3737
+ if (t in N && e in N[t])
3738
+ return N[t][e];
3739
+ const r = ue(t);
3712
3740
  for (let n = 0; n < r.length; n++) {
3713
- const i = r[n], s = ni(i, e);
3741
+ const i = r[n], s = ri(i, e);
3714
3742
  if (s)
3715
- return ti(e, t, s);
3743
+ return ei(e, t, s);
3716
3744
  }
3717
3745
  };
3718
3746
  let nt;
3719
- const ue = Oe({});
3720
- function ri(e) {
3747
+ const ae = Ae({});
3748
+ function ti(e) {
3721
3749
  return nt[e] || null;
3722
3750
  }
3723
3751
  function ir(e) {
3724
3752
  return e in nt;
3725
3753
  }
3726
- function ni(e, t) {
3754
+ function ri(e, t) {
3727
3755
  if (!ir(e))
3728
3756
  return null;
3729
- const r = ri(e);
3730
- return ei(r, t);
3757
+ const r = ti(e);
3758
+ return Kn(r, t);
3731
3759
  }
3732
- function ii(e) {
3760
+ function ni(e) {
3733
3761
  if (e == null)
3734
3762
  return;
3735
- const t = le(e);
3763
+ const t = ue(e);
3736
3764
  for (let r = 0; r < t.length; r++) {
3737
3765
  const n = t[r];
3738
3766
  if (ir(n))
@@ -3740,64 +3768,64 @@ function ii(e) {
3740
3768
  }
3741
3769
  }
3742
3770
  function sr(e, ...t) {
3743
- delete L[e], ue.update((r) => (r[e] = un.all([r[e] || {}, ...t]), r));
3771
+ delete N[e], ae.update((r) => (r[e] = un.all([r[e] || {}, ...t]), r));
3744
3772
  }
3745
- Y(
3746
- [ue],
3773
+ Q(
3774
+ [ae],
3747
3775
  ([e]) => Object.keys(e)
3748
3776
  );
3749
- ue.subscribe((e) => nt = e);
3777
+ ae.subscribe((e) => nt = e);
3750
3778
  const ve = {};
3751
- function si(e, t) {
3779
+ function ii(e, t) {
3752
3780
  ve[e].delete(t), ve[e].size === 0 && delete ve[e];
3753
3781
  }
3754
3782
  function or(e) {
3755
3783
  return ve[e];
3756
3784
  }
3757
- function oi(e) {
3758
- return le(e).map((t) => {
3785
+ function si(e) {
3786
+ return ue(e).map((t) => {
3759
3787
  const r = or(t);
3760
3788
  return [t, r ? [...r] : []];
3761
3789
  }).filter(([, t]) => t.length > 0);
3762
3790
  }
3763
- function Se(e) {
3764
- return e == null ? !1 : le(e).some(
3791
+ function we(e) {
3792
+ return e == null ? !1 : ue(e).some(
3765
3793
  (t) => {
3766
3794
  var r;
3767
3795
  return (r = or(t)) == null ? void 0 : r.size;
3768
3796
  }
3769
3797
  );
3770
3798
  }
3771
- function ai(e, t) {
3799
+ function oi(e, t) {
3772
3800
  return Promise.all(
3773
- t.map((n) => (si(e, n), n().then((i) => i.default || i)))
3801
+ t.map((n) => (ii(e, n), n().then((i) => i.default || i)))
3774
3802
  ).then((n) => sr(e, ...n));
3775
3803
  }
3776
- const te = {};
3804
+ const ee = {};
3777
3805
  function ar(e) {
3778
- if (!Se(e))
3779
- return e in te ? te[e] : Promise.resolve();
3780
- const t = oi(e);
3781
- return te[e] = Promise.all(
3806
+ if (!we(e))
3807
+ return e in ee ? ee[e] : Promise.resolve();
3808
+ const t = si(e);
3809
+ return ee[e] = Promise.all(
3782
3810
  t.map(
3783
- ([r, n]) => ai(r, n)
3811
+ ([r, n]) => oi(r, n)
3784
3812
  )
3785
3813
  ).then(() => {
3786
- if (Se(e))
3814
+ if (we(e))
3787
3815
  return ar(e);
3788
- delete te[e];
3789
- }), te[e];
3816
+ delete ee[e];
3817
+ }), ee[e];
3790
3818
  }
3791
- var _t = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, hi = (e, t) => {
3819
+ var _t = Object.getOwnPropertySymbols, ai = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, li = (e, t) => {
3792
3820
  var r = {};
3793
3821
  for (var n in e)
3794
- ui.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3822
+ ai.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3795
3823
  if (e != null && _t)
3796
3824
  for (var n of _t(e))
3797
- t.indexOf(n) < 0 && li.call(e, n) && (r[n] = e[n]);
3825
+ t.indexOf(n) < 0 && ui.call(e, n) && (r[n] = e[n]);
3798
3826
  return r;
3799
3827
  };
3800
- const ci = {
3828
+ const hi = {
3801
3829
  number: {
3802
3830
  scientific: { notation: "scientific" },
3803
3831
  engineering: { notation: "engineering" },
@@ -3827,28 +3855,28 @@ const ci = {
3827
3855
  }
3828
3856
  }
3829
3857
  };
3830
- function fi({ locale: e, id: t }) {
3858
+ function ci({ locale: e, id: t }) {
3831
3859
  console.warn(
3832
- `[svelte-i18n] The message "${t}" was not found in "${le(
3860
+ `[svelte-i18n] The message "${t}" was not found in "${ue(
3833
3861
  e
3834
- ).join('", "')}".${Se(D()) ? `
3862
+ ).join('", "')}".${we(R()) ? `
3835
3863
 
3836
3864
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3837
3865
  );
3838
3866
  }
3839
- const mi = {
3867
+ const fi = {
3840
3868
  fallbackLocale: null,
3841
3869
  loadingDelay: 200,
3842
- formats: ci,
3870
+ formats: hi,
3843
3871
  warnOnMissingMessages: !0,
3844
3872
  handleMissingMessage: void 0,
3845
3873
  ignoreTag: !0
3846
- }, re = mi;
3847
- function Q() {
3848
- return re;
3874
+ }, te = fi;
3875
+ function q() {
3876
+ return te;
3849
3877
  }
3850
- function di(e) {
3851
- const t = e, { formats: r } = t, n = hi(t, ["formats"]);
3878
+ function mi(e) {
3879
+ const t = e, { formats: r } = t, n = li(t, ["formats"]);
3852
3880
  let i = e.fallbackLocale;
3853
3881
  if (e.initialLocale)
3854
3882
  try {
@@ -3858,134 +3886,134 @@ function di(e) {
3858
3886
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3859
3887
  );
3860
3888
  }
3861
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = fi : console.warn(
3889
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ci : console.warn(
3862
3890
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3863
- )), Object.assign(re, n, { initialLocale: i }), r && ("number" in r && Object.assign(re.formats.number, r.number), "date" in r && Object.assign(re.formats.date, r.date), "time" in r && Object.assign(re.formats.time, r.time)), U.set(i);
3891
+ )), Object.assign(te, n, { initialLocale: i }), r && ("number" in r && Object.assign(te.formats.number, r.number), "date" in r && Object.assign(te.formats.date, r.date), "time" in r && Object.assign(te.formats.time, r.time)), k.set(i);
3864
3892
  }
3865
- const Fe = Oe(!1);
3866
- var pi = Object.defineProperty, gi = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
3893
+ const Ue = Ae(!1);
3894
+ var di = Object.defineProperty, pi = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, yi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
3867
3895
  for (var r in t || (t = {}))
3868
- yi.call(t, r) && vt(e, r, t[r]);
3869
- if (Et)
3870
- for (var r of Et(t))
3871
- _i.call(t, r) && vt(e, r, t[r]);
3896
+ gi.call(t, r) && Et(e, r, t[r]);
3897
+ if (vt)
3898
+ for (var r of vt(t))
3899
+ yi.call(t, r) && Et(e, r, t[r]);
3872
3900
  return e;
3873
- }, vi = (e, t) => gi(e, bi(t));
3874
- let Ke;
3875
- const Be = Oe(null);
3901
+ }, vi = (e, t) => pi(e, bi(t));
3902
+ let Qe;
3903
+ const He = Ae(null);
3876
3904
  function xt(e) {
3877
3905
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3878
3906
  }
3879
- function le(e, t = Q().fallbackLocale) {
3907
+ function ue(e, t = q().fallbackLocale) {
3880
3908
  const r = xt(e);
3881
3909
  return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
3882
3910
  }
3883
- function D() {
3884
- return Ke ?? void 0;
3911
+ function R() {
3912
+ return Qe ?? void 0;
3885
3913
  }
3886
- Be.subscribe((e) => {
3887
- Ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3914
+ He.subscribe((e) => {
3915
+ Qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3888
3916
  });
3889
- const xi = (e) => {
3890
- if (e && ii(e) && Se(e)) {
3891
- const { loadingDelay: t } = Q();
3917
+ const Ei = (e) => {
3918
+ if (e && ni(e) && we(e)) {
3919
+ const { loadingDelay: t } = q();
3892
3920
  let r;
3893
- return typeof window < "u" && D() != null && t ? r = window.setTimeout(
3894
- () => Fe.set(!0),
3921
+ return typeof window < "u" && R() != null && t ? r = window.setTimeout(
3922
+ () => Ue.set(!0),
3895
3923
  t
3896
- ) : Fe.set(!0), ar(e).then(() => {
3897
- Be.set(e);
3924
+ ) : Ue.set(!0), ar(e).then(() => {
3925
+ He.set(e);
3898
3926
  }).finally(() => {
3899
- clearTimeout(r), Fe.set(!1);
3927
+ clearTimeout(r), Ue.set(!1);
3900
3928
  });
3901
3929
  }
3902
- return Be.set(e);
3903
- }, U = vi(Ei({}, Be), {
3904
- set: xi
3905
- }), Ne = (e) => {
3930
+ return He.set(e);
3931
+ }, k = vi(_i({}, He), {
3932
+ set: Ei
3933
+ }), Ie = (e) => {
3906
3934
  const t = /* @__PURE__ */ Object.create(null);
3907
3935
  return (n) => {
3908
3936
  const i = JSON.stringify(n);
3909
3937
  return i in t ? t[i] : t[i] = e(n);
3910
3938
  };
3911
3939
  };
3912
- var Ti = Object.defineProperty, Ae = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3940
+ var xi = Object.defineProperty, Se = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3913
3941
  for (var r in t || (t = {}))
3914
3942
  ur.call(t, r) && Tt(e, r, t[r]);
3915
- if (Ae)
3916
- for (var r of Ae(t))
3943
+ if (Se)
3944
+ for (var r of Se(t))
3917
3945
  lr.call(t, r) && Tt(e, r, t[r]);
3918
3946
  return e;
3919
- }, K = (e, t) => {
3947
+ }, Y = (e, t) => {
3920
3948
  var r = {};
3921
3949
  for (var n in e)
3922
3950
  ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3923
- if (e != null && Ae)
3924
- for (var n of Ae(e))
3951
+ if (e != null && Se)
3952
+ for (var n of Se(e))
3925
3953
  t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
3926
3954
  return r;
3927
3955
  };
3928
- const oe = (e, t) => {
3929
- const { formats: r } = Q();
3956
+ const se = (e, t) => {
3957
+ const { formats: r } = q();
3930
3958
  if (e in r && t in r[e])
3931
3959
  return r[e][t];
3932
3960
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3933
- }, wi = Ne(
3961
+ }, Ti = Ie(
3934
3962
  (e) => {
3935
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3963
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
3936
3964
  if (r == null)
3937
3965
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3938
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3966
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3939
3967
  }
3940
- ), Hi = Ne(
3968
+ ), wi = Ie(
3941
3969
  (e) => {
3942
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3970
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
3943
3971
  if (r == null)
3944
3972
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3945
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3973
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3946
3974
  }
3947
- ), Si = Ne(
3975
+ ), Hi = Ie(
3948
3976
  (e) => {
3949
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3977
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
3950
3978
  if (r == null)
3951
3979
  throw new Error(
3952
3980
  '[svelte-i18n] A "locale" must be set to format time values'
3953
3981
  );
3954
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3982
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3955
3983
  }
3956
- ), Bi = (e = {}) => {
3984
+ ), Si = (e = {}) => {
3957
3985
  var t = e, {
3958
- locale: r = D()
3959
- } = t, n = K(t, [
3986
+ locale: r = R()
3987
+ } = t, n = Y(t, [
3960
3988
  "locale"
3961
3989
  ]);
3962
- return wi(it({ locale: r }, n));
3963
- }, Ai = (e = {}) => {
3990
+ return Ti(it({ locale: r }, n));
3991
+ }, Bi = (e = {}) => {
3964
3992
  var t = e, {
3965
- locale: r = D()
3966
- } = t, n = K(t, [
3993
+ locale: r = R()
3994
+ } = t, n = Y(t, [
3967
3995
  "locale"
3968
3996
  ]);
3969
- return Hi(it({ locale: r }, n));
3970
- }, Pi = (e = {}) => {
3997
+ return wi(it({ locale: r }, n));
3998
+ }, Ai = (e = {}) => {
3971
3999
  var t = e, {
3972
- locale: r = D()
3973
- } = t, n = K(t, [
4000
+ locale: r = R()
4001
+ } = t, n = Y(t, [
3974
4002
  "locale"
3975
4003
  ]);
3976
- return Si(it({ locale: r }, n));
3977
- }, Oi = Ne(
4004
+ return Hi(it({ locale: r }, n));
4005
+ }, Pi = Ie(
3978
4006
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3979
- (e, t = D()) => new rr(e, t, Q().formats, {
3980
- ignoreTag: Q().ignoreTag
4007
+ (e, t = R()) => new rr(e, t, q().formats, {
4008
+ ignoreTag: q().ignoreTag
3981
4009
  })
3982
- ), Ci = (e, t = {}) => {
4010
+ ), Oi = (e, t = {}) => {
3983
4011
  var r, n, i, s;
3984
4012
  let o = t;
3985
4013
  typeof e == "object" && (o = e, e = o.id);
3986
4014
  const {
3987
4015
  values: a,
3988
- locale: l = D(),
4016
+ locale: l = R(),
3989
4017
  default: u
3990
4018
  } = o;
3991
4019
  if (l == null)
@@ -3994,7 +4022,7 @@ const oe = (e, t) => {
3994
4022
  );
3995
4023
  let h = nr(e, l);
3996
4024
  if (!h)
3997
- h = (s = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4025
+ h = (s = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3998
4026
  else if (typeof h != "string")
3999
4027
  return console.warn(
4000
4028
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4003,7 +4031,7 @@ const oe = (e, t) => {
4003
4031
  return h;
4004
4032
  let f = h;
4005
4033
  try {
4006
- f = Oi(h, l).format(a);
4034
+ f = Pi(h, l).format(a);
4007
4035
  } catch (c) {
4008
4036
  c instanceof Error && console.warn(
4009
4037
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4011,18 +4039,18 @@ const oe = (e, t) => {
4011
4039
  );
4012
4040
  }
4013
4041
  return f;
4014
- }, Ii = (e, t) => Pi(t).format(e), Ni = (e, t) => Ai(t).format(e), Mi = (e, t) => Bi(t).format(e), Li = (e, t = D()) => nr(e, t), $i = Y([U, ue], () => Ci);
4015
- Y([U], () => Ii);
4016
- Y([U], () => Ni);
4017
- Y([U], () => Mi);
4018
- Y([U, ue], () => Li);
4019
- function Ri(e, t) {
4042
+ }, Ii = (e, t) => Ai(t).format(e), Ci = (e, t) => Bi(t).format(e), Mi = (e, t) => Si(t).format(e), Ni = (e, t = R()) => nr(e, t), Li = Q([k, ae], () => Oi);
4043
+ Q([k], () => Ii);
4044
+ Q([k], () => Ci);
4045
+ Q([k], () => Mi);
4046
+ Q([k, ae], () => Ni);
4047
+ function $i(e, t) {
4020
4048
  if (e) {
4021
4049
  const r = document.createElement("style");
4022
4050
  r.innerHTML = t, e.appendChild(r);
4023
4051
  }
4024
4052
  }
4025
- function Di(e, t) {
4053
+ function Ri(e, t) {
4026
4054
  const r = new URL(t);
4027
4055
  fetch(r.href).then((n) => n.text()).then((n) => {
4028
4056
  const i = document.createElement("style");
@@ -4031,7 +4059,7 @@ function Di(e, t) {
4031
4059
  console.error("There was an error while trying to load client styling from URL", n);
4032
4060
  });
4033
4061
  }
4034
- function ki(e, t, r) {
4062
+ function Di(e, t, r) {
4035
4063
  if (window.emMessageBus) {
4036
4064
  const n = document.createElement("style");
4037
4065
  window.emMessageBus.subscribe(t, (i) => {
@@ -4042,10 +4070,10 @@ function ki(e, t, r) {
4042
4070
  function wt(e, t) {
4043
4071
  sr(e, t);
4044
4072
  }
4045
- function Ui(e) {
4046
- di({
4073
+ function ki(e) {
4074
+ mi({
4047
4075
  fallbackLocale: "en"
4048
- }), U.set(e);
4076
+ }), k.set(e);
4049
4077
  }
4050
4078
  const Ht = {
4051
4079
  en: {
@@ -4101,18 +4129,18 @@ const Ht = {
4101
4129
  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."
4102
4130
  }
4103
4131
  };
4104
- function Gi(e) {
4105
- br(e, "svelte-s6qloq", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto}.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-black, #000);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-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.ImagePlaceholder{margin-top:20px;height:200px;width:100%;background:#E6E6E6}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:120%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--emw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #5C950F)}.CashierErrorContent ui-image img{width:300px}");
4132
+ function Ui(e) {
4133
+ gr(e, "svelte-s6qloq", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto}.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-black, #000);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-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.ImagePlaceholder{margin-top:20px;height:200px;width:100%;background:#E6E6E6}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:120%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--emw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #5C950F)}.CashierErrorContent ui-image img{width:300px}");
4106
4134
  }
4107
- const Fi = (e) => ({}), St = (e) => ({}), ji = (e) => ({}), Bt = (e) => ({}), zi = (e) => ({}), At = (e) => ({}), Vi = (e) => ({}), Pt = (e) => ({ class: "CashierErrorIcon" });
4108
- function Xi(e) {
4135
+ const Gi = (e) => ({}), St = (e) => ({}), Fi = (e) => ({}), Bt = (e) => ({}), ji = (e) => ({}), At = (e) => ({}), zi = (e) => ({}), Pt = (e) => ({ class: "CashierErrorIcon" });
4136
+ function Vi(e) {
4109
4137
  let t;
4110
4138
  return {
4111
4139
  c() {
4112
- t = A("div"), $(t, "class", "ImagePlaceholder Error");
4140
+ t = A("div"), L(t, "class", "ImagePlaceholder Error");
4113
4141
  },
4114
4142
  m(r, n) {
4115
- R(r, t, n);
4143
+ $(r, t, n);
4116
4144
  },
4117
4145
  p: B,
4118
4146
  d(r) {
@@ -4120,32 +4148,32 @@ function Xi(e) {
4120
4148
  }
4121
4149
  };
4122
4150
  }
4123
- function Wi(e) {
4151
+ function Xi(e) {
4124
4152
  let t, r;
4125
4153
  return {
4126
4154
  c() {
4127
4155
  t = A("ui-image"), at(t.src, r = `${/*assetsurl*/
4128
- e[0]}/error-general-icon.png`) || ce(t, "src", r), ce(t, "width", "300px"), ce(t, "alt", "error");
4156
+ e[0]}/error-general-icon.png`) || he(t, "src", r), he(t, "width", "300px"), he(t, "alt", "error");
4129
4157
  },
4130
4158
  m(n, i) {
4131
- R(n, t, i);
4159
+ $(n, t, i);
4132
4160
  },
4133
4161
  p(n, i) {
4134
4162
  i & /*assetsurl*/
4135
4163
  1 && !at(t.src, r = `${/*assetsurl*/
4136
- n[0]}/error-general-icon.png`) && ce(t, "src", r);
4164
+ n[0]}/error-general-icon.png`) && he(t, "src", r);
4137
4165
  },
4138
4166
  d(n) {
4139
4167
  n && P(t);
4140
4168
  }
4141
4169
  };
4142
4170
  }
4143
- function Zi(e) {
4171
+ function Wi(e) {
4144
4172
  let t;
4145
4173
  function r(s, o) {
4146
4174
  return (
4147
4175
  /*assetsurl*/
4148
- s[0] ? Wi : Xi
4176
+ s[0] ? Xi : Vi
4149
4177
  );
4150
4178
  }
4151
4179
  let n = r(e), i = n(e);
@@ -4154,7 +4182,7 @@ function Zi(e) {
4154
4182
  i.c(), t = _r();
4155
4183
  },
4156
4184
  m(s, o) {
4157
- i.m(s, o), R(s, t, o);
4185
+ i.m(s, o), $(s, t, o);
4158
4186
  },
4159
4187
  p(s, o) {
4160
4188
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
@@ -4164,29 +4192,29 @@ function Zi(e) {
4164
4192
  }
4165
4193
  };
4166
4194
  }
4167
- function Ji(e) {
4195
+ function Zi(e) {
4168
4196
  let t, r = (
4169
4197
  /*$_*/
4170
4198
  e[4]("errorGeneralTitle") + ""
4171
4199
  ), n;
4172
4200
  return {
4173
4201
  c() {
4174
- t = A("span"), n = ae(r), $(t, "class", "CashierErrorTitle");
4202
+ t = A("span"), n = oe(r), L(t, "class", "CashierErrorTitle");
4175
4203
  },
4176
4204
  m(i, s) {
4177
- R(i, t, s), I(t, n);
4205
+ $(i, t, s), I(t, n);
4178
4206
  },
4179
4207
  p(i, s) {
4180
4208
  s & /*$_*/
4181
4209
  16 && r !== (r = /*$_*/
4182
- i[4]("errorGeneralTitle") + "") && rt(n, r);
4210
+ i[4]("errorGeneralTitle") + "") && et(n, r);
4183
4211
  },
4184
4212
  d(i) {
4185
4213
  i && P(t);
4186
4214
  }
4187
4215
  };
4188
4216
  }
4189
- function qi(e) {
4217
+ function Ji(e) {
4190
4218
  let t, r = (
4191
4219
  /*$_*/
4192
4220
  e[4](`${/*errorcode*/
@@ -4194,16 +4222,16 @@ function qi(e) {
4194
4222
  ), n;
4195
4223
  return {
4196
4224
  c() {
4197
- t = A("span"), n = ae(r), $(t, "class", "CashierErrorText");
4225
+ t = A("span"), n = oe(r), L(t, "class", "CashierErrorText");
4198
4226
  },
4199
4227
  m(i, s) {
4200
- R(i, t, s), I(t, n);
4228
+ $(i, t, s), I(t, n);
4201
4229
  },
4202
4230
  p(i, s) {
4203
4231
  s & /*$_, errorcode*/
4204
4232
  20 && r !== (r = /*$_*/
4205
4233
  i[4](`${/*errorcode*/
4206
- i[2] || "errorGeneralText"}`) + "") && rt(n, r);
4234
+ i[2] || "errorGeneralText"}`) + "") && et(n, r);
4207
4235
  },
4208
4236
  d(i) {
4209
4237
  i && P(t);
@@ -4215,13 +4243,13 @@ function Ot(e) {
4215
4243
  const r = (
4216
4244
  /*#slots*/
4217
4245
  e[12].button
4218
- ), n = de(
4246
+ ), n = me(
4219
4247
  r,
4220
4248
  e,
4221
4249
  /*$$scope*/
4222
4250
  e[11],
4223
4251
  St
4224
- ), i = n || Qi(e);
4252
+ ), i = n || qi(e);
4225
4253
  return {
4226
4254
  c() {
4227
4255
  i && i.c();
@@ -4231,18 +4259,18 @@ function Ot(e) {
4231
4259
  },
4232
4260
  p(s, o) {
4233
4261
  n ? n.p && (!t || o & /*$$scope*/
4234
- 2048) && ge(
4262
+ 2048) && pe(
4235
4263
  n,
4236
4264
  r,
4237
4265
  s,
4238
4266
  /*$$scope*/
4239
4267
  s[11],
4240
- t ? pe(
4268
+ t ? de(
4241
4269
  r,
4242
4270
  /*$$scope*/
4243
4271
  s[11],
4244
4272
  o,
4245
- Fi
4273
+ Gi
4246
4274
  ) : be(
4247
4275
  /*$$scope*/
4248
4276
  s[11]
@@ -4255,24 +4283,24 @@ function Ot(e) {
4255
4283
  t || (M(i, s), t = !0);
4256
4284
  },
4257
4285
  o(s) {
4258
- V(i, s), t = !1;
4286
+ z(i, s), t = !1;
4259
4287
  },
4260
4288
  d(s) {
4261
4289
  i && i.d(s);
4262
4290
  }
4263
4291
  };
4264
4292
  }
4265
- function Qi(e) {
4293
+ function qi(e) {
4266
4294
  let t, r, n = (
4267
4295
  /*$_*/
4268
4296
  e[4]("errorGeneralButton") + ""
4269
4297
  ), i, s, o;
4270
4298
  return {
4271
4299
  c() {
4272
- t = A("button"), r = A("span"), i = ae(n), $(t, "class", "CashierErrorButton");
4300
+ t = A("button"), r = A("span"), i = oe(n), L(t, "class", "CashierErrorButton");
4273
4301
  },
4274
4302
  m(a, l) {
4275
- R(a, t, l), I(t, r), I(r, i), s || (o = je(
4303
+ $(a, t, l), I(t, r), I(r, i), s || (o = Ge(
4276
4304
  t,
4277
4305
  "click",
4278
4306
  /*close*/
@@ -4282,135 +4310,135 @@ function Qi(e) {
4282
4310
  p(a, l) {
4283
4311
  l & /*$_*/
4284
4312
  16 && n !== (n = /*$_*/
4285
- a[4]("errorGeneralButton") + "") && rt(i, n);
4313
+ a[4]("errorGeneralButton") + "") && et(i, n);
4286
4314
  },
4287
4315
  d(a) {
4288
4316
  a && P(t), s = !1, o();
4289
4317
  }
4290
4318
  };
4291
4319
  }
4292
- function Yi(e) {
4320
+ function Qi(e) {
4293
4321
  let t, r, n, i, s, o;
4294
4322
  const a = (
4295
4323
  /*#slots*/
4296
4324
  e[12].icon
4297
- ), l = de(
4325
+ ), l = me(
4298
4326
  a,
4299
4327
  e,
4300
4328
  /*$$scope*/
4301
4329
  e[11],
4302
4330
  Pt
4303
- ), u = l || Zi(e), h = (
4331
+ ), u = l || Wi(e), h = (
4304
4332
  /*#slots*/
4305
4333
  e[12].title
4306
- ), f = de(
4334
+ ), f = me(
4307
4335
  h,
4308
4336
  e,
4309
4337
  /*$$scope*/
4310
4338
  e[11],
4311
4339
  At
4312
- ), c = f || Ji(e), y = (
4340
+ ), c = f || Zi(e), y = (
4313
4341
  /*#slots*/
4314
4342
  e[12].text
4315
- ), m = de(
4343
+ ), m = me(
4316
4344
  y,
4317
4345
  e,
4318
4346
  /*$$scope*/
4319
4347
  e[11],
4320
4348
  Bt
4321
- ), b = m || qi(e);
4349
+ ), g = m || Ji(e);
4322
4350
  let p = (!/*hidebuttons*/
4323
4351
  e[1] || /*hidebuttons*/
4324
4352
  e[1] === "false") && Ot(e);
4325
4353
  return {
4326
4354
  c() {
4327
- t = A("div"), r = A("div"), u && u.c(), n = Me(), c && c.c(), i = Me(), b && b.c(), s = Me(), p && p.c(), $(r, "class", "CashierErrorContent"), $(t, "class", "CashierError");
4355
+ t = A("div"), r = A("div"), u && u.c(), n = Ce(), c && c.c(), i = Ce(), g && g.c(), s = Ce(), p && p.c(), L(r, "class", "CashierErrorContent"), L(t, "class", "CashierError");
4328
4356
  },
4329
- m(d, v) {
4330
- R(d, t, v), I(t, r), u && u.m(r, null), I(r, n), c && c.m(r, null), I(r, i), b && b.m(r, null), I(r, s), p && p.m(r, null), e[13](t), o = !0;
4357
+ m(d, x) {
4358
+ $(d, t, x), I(t, r), u && u.m(r, null), I(r, n), c && c.m(r, null), I(r, i), g && g.m(r, null), I(r, s), p && p.m(r, null), e[13](t), o = !0;
4331
4359
  },
4332
- p(d, [v]) {
4333
- l ? l.p && (!o || v & /*$$scope*/
4334
- 2048) && ge(
4360
+ p(d, [x]) {
4361
+ l ? l.p && (!o || x & /*$$scope*/
4362
+ 2048) && pe(
4335
4363
  l,
4336
4364
  a,
4337
4365
  d,
4338
4366
  /*$$scope*/
4339
4367
  d[11],
4340
- o ? pe(
4368
+ o ? de(
4341
4369
  a,
4342
4370
  /*$$scope*/
4343
4371
  d[11],
4344
- v,
4345
- Vi
4372
+ x,
4373
+ zi
4346
4374
  ) : be(
4347
4375
  /*$$scope*/
4348
4376
  d[11]
4349
4377
  ),
4350
4378
  Pt
4351
- ) : u && u.p && (!o || v & /*assetsurl*/
4352
- 1) && u.p(d, o ? v : -1), f ? f.p && (!o || v & /*$$scope*/
4353
- 2048) && ge(
4379
+ ) : u && u.p && (!o || x & /*assetsurl*/
4380
+ 1) && u.p(d, o ? x : -1), f ? f.p && (!o || x & /*$$scope*/
4381
+ 2048) && pe(
4354
4382
  f,
4355
4383
  h,
4356
4384
  d,
4357
4385
  /*$$scope*/
4358
4386
  d[11],
4359
- o ? pe(
4387
+ o ? de(
4360
4388
  h,
4361
4389
  /*$$scope*/
4362
4390
  d[11],
4363
- v,
4364
- zi
4391
+ x,
4392
+ ji
4365
4393
  ) : be(
4366
4394
  /*$$scope*/
4367
4395
  d[11]
4368
4396
  ),
4369
4397
  At
4370
- ) : c && c.p && (!o || v & /*$_*/
4371
- 16) && c.p(d, o ? v : -1), m ? m.p && (!o || v & /*$$scope*/
4372
- 2048) && ge(
4398
+ ) : c && c.p && (!o || x & /*$_*/
4399
+ 16) && c.p(d, o ? x : -1), m ? m.p && (!o || x & /*$$scope*/
4400
+ 2048) && pe(
4373
4401
  m,
4374
4402
  y,
4375
4403
  d,
4376
4404
  /*$$scope*/
4377
4405
  d[11],
4378
- o ? pe(
4406
+ o ? de(
4379
4407
  y,
4380
4408
  /*$$scope*/
4381
4409
  d[11],
4382
- v,
4383
- ji
4410
+ x,
4411
+ Fi
4384
4412
  ) : be(
4385
4413
  /*$$scope*/
4386
4414
  d[11]
4387
4415
  ),
4388
4416
  Bt
4389
- ) : b && b.p && (!o || v & /*$_, errorcode*/
4390
- 20) && b.p(d, o ? v : -1), !/*hidebuttons*/
4417
+ ) : g && g.p && (!o || x & /*$_, errorcode*/
4418
+ 20) && g.p(d, o ? x : -1), !/*hidebuttons*/
4391
4419
  d[1] || /*hidebuttons*/
4392
- d[1] === "false" ? p ? (p.p(d, v), v & /*hidebuttons*/
4393
- 2 && M(p, 1)) : (p = Ot(d), p.c(), M(p, 1), p.m(r, null)) : p && (Lr(), V(p, 1, 1, () => {
4420
+ d[1] === "false" ? p ? (p.p(d, x), x & /*hidebuttons*/
4421
+ 2 && M(p, 1)) : (p = Ot(d), p.c(), M(p, 1), p.m(r, null)) : p && (Lr(), z(p, 1, 1, () => {
4394
4422
  p = null;
4395
4423
  }), $r());
4396
4424
  },
4397
4425
  i(d) {
4398
- o || (M(u, d), M(c, d), M(b, d), M(p), o = !0);
4426
+ o || (M(u, d), M(c, d), M(g, d), M(p), o = !0);
4399
4427
  },
4400
4428
  o(d) {
4401
- V(u, d), V(c, d), V(b, d), V(p), o = !1;
4429
+ z(u, d), z(c, d), z(g, d), z(p), o = !1;
4402
4430
  },
4403
4431
  d(d) {
4404
- d && P(t), u && u.d(d), c && c.d(d), b && b.d(d), p && p.d(), e[13](null);
4432
+ d && P(t), u && u.d(d), c && c.d(d), g && g.d(d), p && p.d(), e[13](null);
4405
4433
  }
4406
4434
  };
4407
4435
  }
4408
- function Ki(e, t, r) {
4436
+ function Yi(e, t, r) {
4409
4437
  let n;
4410
- dr(e, $i, (g) => r(4, n = g));
4438
+ dr(e, Li, (b) => r(4, n = b));
4411
4439
  let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { hidebuttons: l = "" } = t, { errorcode: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: c = "" } = t, { mbsource: y = "" } = t, m;
4412
- const b = () => {
4413
- Ui(a);
4440
+ const g = () => {
4441
+ ki(a);
4414
4442
  }, p = () => {
4415
4443
  fetch(c).then((w) => w.json()).then((w) => {
4416
4444
  Object.keys(w).forEach((H) => {
@@ -4420,27 +4448,27 @@ function Ki(e, t, r) {
4420
4448
  console.error(w);
4421
4449
  });
4422
4450
  };
4423
- Object.keys(Ht).forEach((g) => {
4424
- wt(g, Ht[g]);
4451
+ Object.keys(Ht).forEach((b) => {
4452
+ wt(b, Ht[b]);
4425
4453
  });
4426
4454
  const d = () => {
4427
4455
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4428
4456
  };
4429
4457
  Pr(() => () => {
4430
4458
  });
4431
- function v(g) {
4432
- ze[g ? "unshift" : "push"](() => {
4433
- m = g, r(3, m);
4459
+ function x(b) {
4460
+ Fe[b ? "unshift" : "push"](() => {
4461
+ m = b, r(3, m);
4434
4462
  });
4435
4463
  }
4436
- return e.$$set = (g) => {
4437
- "assetsurl" in g && r(0, o = g.assetsurl), "lang" in g && r(6, a = g.lang), "hidebuttons" in g && r(1, l = g.hidebuttons), "errorcode" in g && r(2, u = g.errorcode), "clientstyling" in g && r(7, h = g.clientstyling), "clientstylingurl" in g && r(8, f = g.clientstylingurl), "translationurl" in g && r(9, c = g.translationurl), "mbsource" in g && r(10, y = g.mbsource), "$$scope" in g && r(11, s = g.$$scope);
4464
+ return e.$$set = (b) => {
4465
+ "assetsurl" in b && r(0, o = b.assetsurl), "lang" in b && r(6, a = b.lang), "hidebuttons" in b && r(1, l = b.hidebuttons), "errorcode" in b && r(2, u = b.errorcode), "clientstyling" in b && r(7, h = b.clientstyling), "clientstylingurl" in b && r(8, f = b.clientstylingurl), "translationurl" in b && r(9, c = b.translationurl), "mbsource" in b && r(10, y = b.mbsource), "$$scope" in b && r(11, s = b.$$scope);
4438
4466
  }, e.$$.update = () => {
4439
4467
  e.$$.dirty & /*lang*/
4440
- 64 && a && b(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4441
- 136 && h && m && Ri(m, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4442
- 264 && f && m && Di(m, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4443
- 1032 && y && m && ki(m, `${y}.Style`), e.$$.dirty & /*translationurl*/
4468
+ 64 && a && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4469
+ 136 && h && m && $i(m, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4470
+ 264 && f && m && Ri(m, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4471
+ 1032 && y && m && Di(m, `${y}.Style`), e.$$.dirty & /*translationurl*/
4444
4472
  512 && c && p();
4445
4473
  }, [
4446
4474
  o,
@@ -4456,7 +4484,7 @@ function Ki(e, t, r) {
4456
4484
  y,
4457
4485
  s,
4458
4486
  i,
4459
- v
4487
+ x
4460
4488
  ];
4461
4489
  }
4462
4490
  class hr extends jr {
@@ -4464,9 +4492,9 @@ class hr extends jr {
4464
4492
  super(), Gr(
4465
4493
  this,
4466
4494
  t,
4467
- Ki,
4468
4495
  Yi,
4469
- It,
4496
+ Qi,
4497
+ Ct,
4470
4498
  {
4471
4499
  assetsurl: 0,
4472
4500
  lang: 6,
@@ -4477,7 +4505,7 @@ class hr extends jr {
4477
4505
  translationurl: 9,
4478
4506
  mbsource: 10
4479
4507
  },
4480
- Gi
4508
+ Ui
4481
4509
  );
4482
4510
  }
4483
4511
  get assetsurl() {
@@ -4530,64 +4558,68 @@ class hr extends jr {
4530
4558
  }
4531
4559
  }
4532
4560
  Fr(hr, { assetsurl: {}, lang: {}, hidebuttons: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4533
- const ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4561
+ const ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4534
4562
  __proto__: null,
4535
4563
  default: hr
4536
4564
  }, Symbol.toStringTag, { value: "Module" }));
4537
4565
  export {
4538
- U as $,
4539
- ss as A,
4540
- ze as B,
4541
- ls as C,
4542
- cs as D,
4543
- rs as E,
4566
+ k as $,
4567
+ es as A,
4568
+ _r as B,
4569
+ us as C,
4570
+ oe as D,
4571
+ et as E,
4544
4572
  at as F,
4545
- is as G,
4546
- k as H,
4547
- os as I,
4548
- ns as J,
4549
- as as K,
4550
- $i as L,
4551
- Ri as M,
4552
- Di as N,
4553
- ki as O,
4554
- cr as P,
4555
- V as Q,
4556
- M as R,
4573
+ he as G,
4574
+ is as H,
4575
+ Fe as I,
4576
+ $i as J,
4577
+ hs as K,
4578
+ ns as L,
4579
+ ts as M,
4580
+ D as N,
4581
+ ss as O,
4582
+ Li as P,
4583
+ rs as Q,
4584
+ os as R,
4557
4585
  jr as S,
4558
- Lr as T,
4559
- $r as U,
4560
- de as V,
4561
- hs as W,
4562
- ge as X,
4563
- be as Y,
4586
+ cr as T,
4587
+ M as U,
4588
+ z as V,
4589
+ $r as W,
4590
+ me as X,
4591
+ as as Y,
4564
4592
  pe as Z,
4565
- us as _,
4593
+ fs as _,
4566
4594
  sr as a,
4567
- ms as a0,
4568
- Fr as b,
4569
- fs as c,
4570
- Gr as d,
4571
- br as e,
4572
- O as f,
4595
+ be as a0,
4596
+ de as a1,
4597
+ ls as a2,
4598
+ Lr as a3,
4599
+ ds as a4,
4600
+ Le as b,
4601
+ ms as c,
4602
+ Pe as d,
4603
+ cs as e,
4604
+ Fr as f,
4573
4605
  Xr as g,
4574
- we as h,
4575
- di as i,
4576
- P as j,
4577
- R as k,
4578
- I as l,
4579
- je as m,
4580
- B as n,
4581
- ts as o,
4582
- A as p,
4583
- Me as q,
4584
- $ as r,
4585
- It as s,
4586
- dr as t,
4587
- Pr as u,
4588
- _r as v,
4589
- Oe as w,
4590
- rt as x,
4591
- ce as y,
4592
- ae as z
4606
+ Gr as h,
4607
+ mi as i,
4608
+ O as j,
4609
+ gr as k,
4610
+ Te as l,
4611
+ A as m,
4612
+ Ce as n,
4613
+ L as o,
4614
+ $ as p,
4615
+ I as q,
4616
+ Ge as r,
4617
+ Ct as s,
4618
+ B as t,
4619
+ P as u,
4620
+ dr as v,
4621
+ Ae as w,
4622
+ Pr as x,
4623
+ Ri as y,
4624
+ Di as z
4593
4625
  };