@everymatrix/cashier-method-details 1.76.12 → 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,16 +1,16 @@
1
- var br = Object.defineProperty, yr = Object.defineProperties;
1
+ var gr = Object.defineProperty, yr = Object.defineProperties;
2
2
  var _r = Object.getOwnPropertyDescriptors;
3
3
  var ut = Object.getOwnPropertySymbols;
4
- var Er = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable;
5
- var Le = (e, t, r) => t in e ? br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4
+ var vr = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable;
5
+ var Me = (e, t, r) => t in e ? gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Er.call(t, r) && Le(e, r, t[r]);
7
+ vr.call(t, r) && Me(e, r, t[r]);
8
8
  if (ut)
9
9
  for (var r of ut(t))
10
- vr.call(t, r) && Le(e, r, t[r]);
10
+ Er.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
12
  }, ht = (e, t) => yr(e, _r(t));
13
- var B = (e, t, r) => (Le(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var B = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var ct = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
@@ -27,7 +27,7 @@ var ct = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-image-DmRWEjrp.js";
30
+ import "../stencil/ui-image-BhXCYysO.js";
31
31
  function A() {
32
32
  }
33
33
  const xr = (e) => e;
@@ -45,18 +45,18 @@ function Rt(e) {
45
45
  function ft() {
46
46
  return /* @__PURE__ */ Object.create(null);
47
47
  }
48
- function G(e) {
48
+ function U(e) {
49
49
  e.forEach(Rt);
50
50
  }
51
- function Oe(e) {
51
+ function Ae(e) {
52
52
  return typeof e == "function";
53
53
  }
54
54
  function Dt(e, t) {
55
55
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
56
56
  }
57
- let ce;
57
+ let he;
58
58
  function mt(e, t) {
59
- return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
59
+ return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
60
60
  }
61
61
  function wr(e) {
62
62
  return Object.keys(e).length === 0;
@@ -73,7 +73,7 @@ function Ut(e, ...t) {
73
73
  function Hr(e, t, r) {
74
74
  e.$$.on_destroy.push(Ut(t, r));
75
75
  }
76
- function pe(e, t, r, n) {
76
+ function de(e, t, r, n) {
77
77
  if (e) {
78
78
  const i = Gt(e, t, r, n);
79
79
  return e[0](i);
@@ -82,7 +82,7 @@ function pe(e, t, r, n) {
82
82
  function Gt(e, t, r, n) {
83
83
  return e[1] && n ? Tr(r.ctx.slice(), e[1](n(t))) : r.ctx;
84
84
  }
85
- function ge(e, t, r, n) {
85
+ function pe(e, t, r, n) {
86
86
  if (e[2] && n) {
87
87
  const i = e[2](n(r));
88
88
  if (t.dirty === void 0)
@@ -103,7 +103,7 @@ function be(e, t, r, n, i, s) {
103
103
  e.p(o, i);
104
104
  }
105
105
  }
106
- function ye(e) {
106
+ function ge(e) {
107
107
  if (e.ctx.length > 32) {
108
108
  const t = [], r = e.ctx.length / 32;
109
109
  for (let n = 0; n < r; n++)
@@ -113,39 +113,39 @@ function ye(e) {
113
113
  return -1;
114
114
  }
115
115
  const kt = typeof window != "undefined";
116
- let Sr = kt ? () => window.performance.now() : () => Date.now(), rt = kt ? (e) => requestAnimationFrame(e) : A;
117
- const W = /* @__PURE__ */ new Set();
116
+ let Sr = kt ? () => window.performance.now() : () => Date.now(), et = kt ? (e) => requestAnimationFrame(e) : A;
117
+ const X = /* @__PURE__ */ new Set();
118
118
  function Ft(e) {
119
- W.forEach((t) => {
120
- t.c(e) || (W.delete(t), t.f());
121
- }), W.size !== 0 && rt(Ft);
119
+ X.forEach((t) => {
120
+ t.c(e) || (X.delete(t), t.f());
121
+ }), X.size !== 0 && et(Ft);
122
122
  }
123
123
  function Br(e) {
124
124
  let t;
125
- return W.size === 0 && rt(Ft), {
125
+ return X.size === 0 && et(Ft), {
126
126
  promise: new Promise((r) => {
127
- W.add(t = { c: e, f: r });
127
+ X.add(t = { c: e, f: r });
128
128
  }),
129
129
  abort() {
130
- W.delete(t);
130
+ X.delete(t);
131
131
  }
132
132
  };
133
133
  }
134
- const ms = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
134
+ const fs = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
135
135
  // @ts-ignore Node typings have this
136
136
  global
137
137
  );
138
- function N(e, t) {
138
+ function C(e, t) {
139
139
  e.appendChild(t);
140
140
  }
141
141
  function Ar(e, t, r) {
142
- const n = nt(e);
142
+ const n = tt(e);
143
143
  if (!n.getElementById(t)) {
144
144
  const i = P("style");
145
145
  i.id = t, i.textContent = r, jt(n, i);
146
146
  }
147
147
  }
148
- function nt(e) {
148
+ function tt(e) {
149
149
  if (!e)
150
150
  return document;
151
151
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -157,93 +157,93 @@ function nt(e) {
157
157
  }
158
158
  function Pr(e) {
159
159
  const t = P("style");
160
- return t.textContent = "/* empty */", jt(nt(e), t), t.sheet;
160
+ return t.textContent = "/* empty */", jt(tt(e), t), t.sheet;
161
161
  }
162
162
  function jt(e, t) {
163
- return N(
163
+ return C(
164
164
  /** @type {Document} */
165
165
  e.head || e,
166
166
  t
167
167
  ), t.sheet;
168
168
  }
169
- function D(e, t, r) {
169
+ function R(e, t, r) {
170
170
  e.insertBefore(t, r || null);
171
171
  }
172
172
  function O(e) {
173
173
  e.parentNode && e.parentNode.removeChild(e);
174
174
  }
175
- function ds(e, t) {
175
+ function ms(e, t) {
176
176
  for (let r = 0; r < e.length; r += 1)
177
177
  e[r] && e[r].d(t);
178
178
  }
179
179
  function P(e) {
180
180
  return document.createElement(e);
181
181
  }
182
- function ps(e) {
182
+ function ds(e) {
183
183
  return document.createElementNS("http://www.w3.org/2000/svg", e);
184
184
  }
185
- function ue(e) {
185
+ function ae(e) {
186
186
  return document.createTextNode(e);
187
187
  }
188
- function $e() {
189
- return ue(" ");
188
+ function Ne() {
189
+ return ae(" ");
190
190
  }
191
191
  function Or() {
192
- return ue("");
192
+ return ae("");
193
193
  }
194
- function Ve(e, t, r, n) {
194
+ function je(e, t, r, n) {
195
195
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
196
196
  }
197
- function gs(e) {
197
+ function ps(e) {
198
198
  return function(t) {
199
199
  return t.preventDefault(), e.call(this, t);
200
200
  };
201
201
  }
202
- function R(e, t, r) {
202
+ function $(e, t, r) {
203
203
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
204
204
  }
205
- function fe(e, t, r) {
205
+ function ce(e, t, r) {
206
206
  const n = t.toLowerCase();
207
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : R(e, t, r);
207
+ 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);
208
208
  }
209
209
  function bs(e) {
210
210
  return e === "" ? null : +e;
211
211
  }
212
- function Cr(e) {
212
+ function Ir(e) {
213
213
  return Array.from(e.childNodes);
214
214
  }
215
- function it(e, t) {
215
+ function rt(e, t) {
216
216
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
217
217
  t);
218
218
  }
219
- function ys(e, t) {
219
+ function gs(e, t) {
220
220
  e.value = t == null ? "" : t;
221
221
  }
222
- function _s(e, t, r, n) {
222
+ function ys(e, t, r, n) {
223
223
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
224
224
  }
225
- let me;
226
- function Ir() {
227
- if (me === void 0) {
228
- me = !1;
225
+ let fe;
226
+ function Cr() {
227
+ if (fe === void 0) {
228
+ fe = !1;
229
229
  try {
230
230
  typeof window != "undefined" && window.parent && window.parent.document;
231
231
  } catch (e) {
232
- me = !0;
232
+ fe = !0;
233
233
  }
234
234
  }
235
- return me;
235
+ return fe;
236
236
  }
237
- function Es(e, t) {
237
+ function _s(e, t) {
238
238
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
239
239
  const n = P("iframe");
240
240
  n.setAttribute(
241
241
  "style",
242
242
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
243
243
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
244
- const i = Ir();
244
+ const i = Cr();
245
245
  let s;
246
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Ve(
246
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = je(
247
247
  window,
248
248
  "message",
249
249
  /** @param {MessageEvent} event */
@@ -251,18 +251,18 @@ function Es(e, t) {
251
251
  o.source === n.contentWindow && t();
252
252
  }
253
253
  )) : (n.src = "about:blank", n.onload = () => {
254
- s = Ve(n.contentWindow, "resize", t), t();
255
- }), N(e, n), () => {
254
+ s = je(n.contentWindow, "resize", t), t();
255
+ }), C(e, n), () => {
256
256
  (i || s && n.contentWindow) && s(), O(n);
257
257
  };
258
258
  }
259
259
  function vs(e, t, r) {
260
260
  e.classList.toggle(t, !!r);
261
261
  }
262
- function Nr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
262
+ function Mr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
263
263
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
264
264
  }
265
- function Mr(e) {
265
+ function Nr(e) {
266
266
  const t = {};
267
267
  return e.childNodes.forEach(
268
268
  /** @param {Element} node */
@@ -271,8 +271,8 @@ function Mr(e) {
271
271
  }
272
272
  ), t;
273
273
  }
274
- const Te = /* @__PURE__ */ new Map();
275
- let we = 0;
274
+ const xe = /* @__PURE__ */ new Map();
275
+ let Te = 0;
276
276
  function Lr(e) {
277
277
  let t = 5381, r = e.length;
278
278
  for (; r--; )
@@ -281,7 +281,7 @@ function Lr(e) {
281
281
  }
282
282
  function $r(e, t) {
283
283
  const r = { stylesheet: Pr(t), rules: {} };
284
- return Te.set(e, r), r;
284
+ return xe.set(e, r), r;
285
285
  }
286
286
  function dt(e, t, r, n, i, s, o, a = 0) {
287
287
  const l = 16.666 / n;
@@ -293,96 +293,96 @@ function dt(e, t, r, n, i, s, o, a = 0) {
293
293
  `;
294
294
  }
295
295
  const h = u + `100% {${o(r, 1 - r)}}
296
- }`, f = `__svelte_${Lr(h)}_${a}`, c = nt(e), { stylesheet: y, rules: m } = Te.get(c) || $r(c, e);
296
+ }`, f = `__svelte_${Lr(h)}_${a}`, c = tt(e), { stylesheet: y, rules: m } = xe.get(c) || $r(c, e);
297
297
  m[f] || (m[f] = !0, y.insertRule(`@keyframes ${f} ${h}`, y.cssRules.length));
298
- const b = e.style.animation || "";
299
- return e.style.animation = `${b ? `${b}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, we += 1, f;
298
+ const g = e.style.animation || "";
299
+ return e.style.animation = `${g ? `${g}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Te += 1, f;
300
300
  }
301
301
  function Rr(e, t) {
302
302
  const r = (e.style.animation || "").split(", "), n = r.filter(
303
303
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
304
304
  // remove all Svelte animations
305
305
  ), i = r.length - n.length;
306
- i && (e.style.animation = n.join(", "), we -= i, we || Dr());
306
+ i && (e.style.animation = n.join(", "), Te -= i, Te || Dr());
307
307
  }
308
308
  function Dr() {
309
- rt(() => {
310
- we || (Te.forEach((e) => {
309
+ et(() => {
310
+ Te || (xe.forEach((e) => {
311
311
  const { ownerNode: t } = e.stylesheet;
312
312
  t && O(t);
313
- }), Te.clear());
313
+ }), xe.clear());
314
314
  });
315
315
  }
316
- let se;
317
- function ie(e) {
318
- se = e;
316
+ let ie;
317
+ function ne(e) {
318
+ ie = e;
319
319
  }
320
320
  function Ur() {
321
- if (!se)
321
+ if (!ie)
322
322
  throw new Error("Function called outside component initialization");
323
- return se;
323
+ return ie;
324
324
  }
325
325
  function Gr(e) {
326
326
  Ur().$$.on_mount.push(e);
327
327
  }
328
- const V = [], Xe = [];
329
- let Z = [];
328
+ const z = [], ze = [];
329
+ let W = [];
330
330
  const pt = [], kr = /* @__PURE__ */ Promise.resolve();
331
- let We = !1;
331
+ let Ve = !1;
332
332
  function Fr() {
333
- We || (We = !0, kr.then(C));
333
+ Ve || (Ve = !0, kr.then(I));
334
334
  }
335
- function He(e) {
336
- Z.push(e);
335
+ function we(e) {
336
+ W.push(e);
337
337
  }
338
- const Re = /* @__PURE__ */ new Set();
339
- let j = 0;
340
- function C() {
341
- if (j !== 0)
338
+ const Le = /* @__PURE__ */ new Set();
339
+ let F = 0;
340
+ function I() {
341
+ if (F !== 0)
342
342
  return;
343
- const e = se;
343
+ const e = ie;
344
344
  do {
345
345
  try {
346
- for (; j < V.length; ) {
347
- const t = V[j];
348
- j++, ie(t), jr(t.$$);
346
+ for (; F < z.length; ) {
347
+ const t = z[F];
348
+ F++, ne(t), jr(t.$$);
349
349
  }
350
350
  } catch (t) {
351
- throw V.length = 0, j = 0, t;
351
+ throw z.length = 0, F = 0, t;
352
352
  }
353
- for (ie(null), V.length = 0, j = 0; Xe.length; )
354
- Xe.pop()();
355
- for (let t = 0; t < Z.length; t += 1) {
356
- const r = Z[t];
357
- Re.has(r) || (Re.add(r), r());
353
+ for (ne(null), z.length = 0, F = 0; ze.length; )
354
+ ze.pop()();
355
+ for (let t = 0; t < W.length; t += 1) {
356
+ const r = W[t];
357
+ Le.has(r) || (Le.add(r), r());
358
358
  }
359
- Z.length = 0;
360
- } while (V.length);
359
+ W.length = 0;
360
+ } while (z.length);
361
361
  for (; pt.length; )
362
362
  pt.pop()();
363
- We = !1, Re.clear(), ie(e);
363
+ Ve = !1, Le.clear(), ne(e);
364
364
  }
365
365
  function jr(e) {
366
366
  if (e.fragment !== null) {
367
- e.update(), G(e.before_update);
367
+ e.update(), U(e.before_update);
368
368
  const t = e.dirty;
369
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(He);
369
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
370
370
  }
371
371
  }
372
372
  function zr(e) {
373
373
  const t = [], r = [];
374
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
374
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
375
375
  }
376
- let te;
376
+ let ee;
377
377
  function Vr() {
378
- return te || (te = Promise.resolve(), te.then(() => {
379
- te = null;
380
- })), te;
378
+ return ee || (ee = Promise.resolve(), ee.then(() => {
379
+ ee = null;
380
+ })), ee;
381
381
  }
382
- function De(e, t, r) {
383
- e.dispatchEvent(Nr(`${t ? "intro" : "outro"}${r}`));
382
+ function $e(e, t, r) {
383
+ e.dispatchEvent(Mr(`${t ? "intro" : "outro"}${r}`));
384
384
  }
385
- const _e = /* @__PURE__ */ new Set();
385
+ const ye = /* @__PURE__ */ new Set();
386
386
  let M;
387
387
  function Xr() {
388
388
  M = {
@@ -393,56 +393,56 @@ function Xr() {
393
393
  };
394
394
  }
395
395
  function Wr() {
396
- M.r || G(M.c), M = M.p;
396
+ M.r || U(M.c), M = M.p;
397
397
  }
398
- function L(e, t) {
399
- e && e.i && (_e.delete(e), e.i(t));
398
+ function N(e, t) {
399
+ e && e.i && (ye.delete(e), e.i(t));
400
400
  }
401
- function X(e, t, r, n) {
401
+ function V(e, t, r, n) {
402
402
  if (e && e.o) {
403
- if (_e.has(e))
403
+ if (ye.has(e))
404
404
  return;
405
- _e.add(e), M.c.push(() => {
406
- _e.delete(e), n && (r && e.d(1), n());
405
+ ye.add(e), M.c.push(() => {
406
+ ye.delete(e), n && (r && e.d(1), n());
407
407
  }), e.o(t);
408
408
  } else
409
409
  n && n();
410
410
  }
411
411
  const Zr = { duration: 0 };
412
- function xs(e, t, r, n) {
412
+ function Es(e, t, r, n) {
413
413
  let s = t(e, r, { direction: "both" }), o = n ? 0 : 1, a = null, l = null, u = null, h;
414
414
  function f() {
415
415
  u && Rr(e, u);
416
416
  }
417
- function c(m, b) {
417
+ function c(m, g) {
418
418
  const p = (
419
419
  /** @type {Program['d']} */
420
420
  m.b - o
421
421
  );
422
- return b *= Math.abs(p), {
422
+ return g *= Math.abs(p), {
423
423
  a: o,
424
424
  b: m.b,
425
425
  d: p,
426
- duration: b,
426
+ duration: g,
427
427
  start: m.start,
428
- end: m.start + b,
428
+ end: m.start + g,
429
429
  group: m.group
430
430
  };
431
431
  }
432
432
  function y(m) {
433
433
  const {
434
- delay: b = 0,
434
+ delay: g = 0,
435
435
  duration: p = 300,
436
436
  easing: d = xr,
437
- tick: v = A,
438
- css: g
437
+ tick: x = A,
438
+ css: b
439
439
  } = s || Zr, w = {
440
- start: Sr() + b,
440
+ start: Sr() + g,
441
441
  b: m
442
442
  };
443
443
  m || (w.group = M, M.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
444
- e.inert, e.inert = !0)), a || l ? l = w : (g && (f(), u = dt(e, o, m, p, b, d, g)), m && v(0, 1), a = c(w, p), He(() => De(e, m, "start")), Br((H) => {
445
- if (l && H > l.start && (a = c(l, p), l = null, De(e, a.b, "start"), g && (f(), u = dt(
444
+ e.inert, e.inert = !0)), a || l ? l = w : (b && (f(), u = dt(e, o, m, p, g, d, b)), m && x(0, 1), a = c(w, p), we(() => $e(e, m, "start")), Br((H) => {
445
+ if (l && H > l.start && (a = c(l, p), l = null, $e(e, a.b, "start"), b && (f(), u = dt(
446
446
  e,
447
447
  o,
448
448
  a.b,
@@ -452,10 +452,10 @@ function xs(e, t, r, n) {
452
452
  s.css
453
453
  ))), a) {
454
454
  if (H >= a.end)
455
- v(o = a.b, 1 - o), De(e, a.b, "end"), l || (a.b ? f() : --a.group.r || G(a.group.c)), a = null;
455
+ x(o = a.b, 1 - o), $e(e, a.b, "end"), l || (a.b ? f() : --a.group.r || U(a.group.c)), a = null;
456
456
  else if (H >= a.start) {
457
- const F = H - a.start;
458
- o = a.a + a.d * d(F / a.duration), v(o, 1 - o);
457
+ const k = H - a.start;
458
+ o = a.a + a.d * d(k / a.duration), x(o, 1 - o);
459
459
  }
460
460
  }
461
461
  return !!(a || l);
@@ -463,7 +463,7 @@ function xs(e, t, r, n) {
463
463
  }
464
464
  return {
465
465
  run(m) {
466
- Oe(s) ? Vr().then(() => {
466
+ Ae(s) ? Vr().then(() => {
467
467
  s = s({ direction: m ? "in" : "out" }), y(m);
468
468
  }) : y(m);
469
469
  },
@@ -472,26 +472,26 @@ function xs(e, t, r, n) {
472
472
  }
473
473
  };
474
474
  }
475
- function Ts(e) {
475
+ function xs(e) {
476
476
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
477
477
  }
478
478
  function Jr(e, t, r) {
479
479
  const { fragment: n, after_update: i } = e.$$;
480
- n && n.m(t, r), He(() => {
481
- const s = e.$$.on_mount.map(Rt).filter(Oe);
482
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : G(s), e.$$.on_mount = [];
483
- }), i.forEach(He);
480
+ n && n.m(t, r), we(() => {
481
+ const s = e.$$.on_mount.map(Rt).filter(Ae);
482
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : U(s), e.$$.on_mount = [];
483
+ }), i.forEach(we);
484
484
  }
485
485
  function qr(e, t) {
486
486
  const r = e.$$;
487
- r.fragment !== null && (zr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
487
+ r.fragment !== null && (zr(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
488
488
  }
489
489
  function Qr(e, t) {
490
- e.$$.dirty[0] === -1 && (V.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
490
+ e.$$.dirty[0] === -1 && (z.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
491
491
  }
492
492
  function Yr(e, t, r, n, i, s, o = null, a = [-1]) {
493
- const l = se;
494
- ie(e);
493
+ const l = ie;
494
+ ne(e);
495
495
  const u = e.$$ = {
496
496
  fragment: null,
497
497
  ctx: [],
@@ -518,15 +518,15 @@ function Yr(e, t, r, n, i, s, o = null, a = [-1]) {
518
518
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
519
519
  const m = y.length ? y[0] : c;
520
520
  return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Qr(e, f)), c;
521
- }) : [], u.update(), h = !0, G(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
521
+ }) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
522
522
  if (t.hydrate) {
523
- const f = Cr(t.target);
523
+ const f = Ir(t.target);
524
524
  u.fragment && u.fragment.l(f), f.forEach(O);
525
525
  } else
526
526
  u.fragment && u.fragment.c();
527
- t.intro && L(e.$$.fragment), Jr(e, t.target, t.anchor), C();
527
+ t.intro && N(e.$$.fragment), Jr(e, t.target, t.anchor), I();
528
528
  }
529
- ie(l);
529
+ ne(l);
530
530
  }
531
531
  let zt;
532
532
  typeof HTMLElement == "function" && (zt = class extends HTMLElement {
@@ -573,14 +573,14 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
573
573
  let o;
574
574
  return {
575
575
  c: function() {
576
- o = P("slot"), s !== "default" && R(o, "name", s);
576
+ o = P("slot"), s !== "default" && $(o, "name", s);
577
577
  },
578
578
  /**
579
579
  * @param {HTMLElement} target
580
580
  * @param {HTMLElement} [anchor]
581
581
  */
582
582
  m: function(u, h) {
583
- D(u, o, h);
583
+ R(u, o, h);
584
584
  },
585
585
  d: function(u) {
586
586
  u && O(o);
@@ -590,12 +590,12 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
590
590
  };
591
591
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
592
592
  return;
593
- const r = {}, n = Mr(this);
593
+ const r = {}, n = Nr(this);
594
594
  for (const s of this.$$s)
595
595
  s in n && (r[s] = [t(s)]);
596
596
  for (const s of this.attributes) {
597
597
  const o = this.$$g_p(s.name);
598
- o in this.$$d || (this.$$d[o] = Ee(o, s.value, this.$$p_d, "toProp"));
598
+ o in this.$$d || (this.$$d[o] = _e(o, s.value, this.$$p_d, "toProp"));
599
599
  }
600
600
  for (const s in this.$$p_d)
601
601
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
@@ -612,7 +612,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
612
612
  this.$$r = !0;
613
613
  for (const s in this.$$p_d)
614
614
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
615
- const o = Ee(
615
+ const o = _e(
616
616
  s,
617
617
  this.$$d[s],
618
618
  this.$$p_d,
@@ -636,7 +636,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
636
636
  // and setting attributes through setAttribute etc, this is helpful
637
637
  attributeChangedCallback(t, r, n) {
638
638
  var i;
639
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
639
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = _e(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
640
640
  }
641
641
  disconnectedCallback() {
642
642
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -649,7 +649,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
649
649
  ) || t;
650
650
  }
651
651
  });
652
- function Ee(e, t, r, n) {
652
+ function _e(e, t, r, n) {
653
653
  var s;
654
654
  const i = (s = r[e]) == null ? void 0 : s.type;
655
655
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -697,7 +697,7 @@ function Kr(e, t, r, n, i, s) {
697
697
  },
698
698
  set(l) {
699
699
  var u;
700
- l = Ee(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
700
+ l = _e(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
701
701
  }
702
702
  });
703
703
  }), n.forEach((a) => {
@@ -740,7 +740,7 @@ class en {
740
740
  * @returns {() => void}
741
741
  */
742
742
  $on(t, r) {
743
- if (!Oe(r))
743
+ if (!Ae(r))
744
744
  return A;
745
745
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
746
746
  return n.push(r), () => {
@@ -758,24 +758,24 @@ class en {
758
758
  }
759
759
  const tn = "4";
760
760
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tn);
761
- const z = [];
761
+ const j = [];
762
762
  function rn(e, t) {
763
763
  return {
764
- subscribe: Ce(e, t).subscribe
764
+ subscribe: Pe(e, t).subscribe
765
765
  };
766
766
  }
767
- function Ce(e, t = A) {
767
+ function Pe(e, t = A) {
768
768
  let r;
769
769
  const n = /* @__PURE__ */ new Set();
770
770
  function i(a) {
771
771
  if (Dt(e, a) && (e = a, r)) {
772
- const l = !z.length;
772
+ const l = !j.length;
773
773
  for (const u of n)
774
- u[1](), z.push(u, e);
774
+ u[1](), j.push(u, e);
775
775
  if (l) {
776
- for (let u = 0; u < z.length; u += 2)
777
- z[u][0](z[u + 1]);
778
- z.length = 0;
776
+ for (let u = 0; u < j.length; u += 2)
777
+ j[u][0](j[u + 1]);
778
+ j.length = 0;
779
779
  }
780
780
  }
781
781
  }
@@ -790,7 +790,7 @@ function Ce(e, t = A) {
790
790
  }
791
791
  return { set: i, update: s, subscribe: o };
792
792
  }
793
- function K(e, t, r) {
793
+ function Y(e, t, r) {
794
794
  const n = !Array.isArray(e), i = n ? [e] : e;
795
795
  if (!i.every(Boolean))
796
796
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -804,24 +804,24 @@ function K(e, t, r) {
804
804
  return;
805
805
  f();
806
806
  const m = t(n ? u[0] : u, o, a);
807
- s ? o(m) : f = Oe(m) ? m : A;
807
+ s ? o(m) : f = Ae(m) ? m : A;
808
808
  }, y = i.map(
809
- (m, b) => Ut(
809
+ (m, g) => Ut(
810
810
  m,
811
811
  (p) => {
812
- u[b] = p, h &= ~(1 << b), l && c();
812
+ u[g] = p, h &= ~(1 << g), l && c();
813
813
  },
814
814
  () => {
815
- h |= 1 << b;
815
+ h |= 1 << g;
816
816
  }
817
817
  )
818
818
  );
819
819
  return l = !0, c(), function() {
820
- G(y), f(), l = !1;
820
+ U(y), f(), l = !1;
821
821
  };
822
822
  });
823
823
  }
824
- var ws = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
824
+ var Ts = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
825
825
  function nn(e) {
826
826
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
827
827
  }
@@ -842,26 +842,26 @@ function hn(e) {
842
842
  function cn(e) {
843
843
  return Array.isArray(e) ? [] : {};
844
844
  }
845
- function oe(e, t) {
846
- return t.clone !== !1 && t.isMergeableObject(e) ? J(cn(e), e, t) : e;
845
+ function se(e, t) {
846
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(cn(e), e, t) : e;
847
847
  }
848
848
  function fn(e, t, r) {
849
849
  return e.concat(t).map(function(n) {
850
- return oe(n, r);
850
+ return se(n, r);
851
851
  });
852
852
  }
853
853
  function mn(e, t) {
854
854
  if (!t.customMerge)
855
- return J;
855
+ return Z;
856
856
  var r = t.customMerge(e);
857
- return typeof r == "function" ? r : J;
857
+ return typeof r == "function" ? r : Z;
858
858
  }
859
859
  function dn(e) {
860
860
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
861
861
  return Object.propertyIsEnumerable.call(e, t);
862
862
  }) : [];
863
863
  }
864
- function gt(e) {
864
+ function bt(e) {
865
865
  return Object.keys(e).concat(dn(e));
866
866
  }
867
867
  function Vt(e, t) {
@@ -874,56 +874,70 @@ function Vt(e, t) {
874
874
  function pn(e, t) {
875
875
  return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
876
876
  }
877
- function gn(e, t, r) {
877
+ function bn(e, t, r) {
878
878
  var n = {};
879
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
880
- n[i] = oe(e[i], r);
881
- }), gt(t).forEach(function(i) {
882
- pn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
879
+ return r.isMergeableObject(e) && bt(e).forEach(function(i) {
880
+ n[i] = se(e[i], r);
881
+ }), bt(t).forEach(function(i) {
882
+ pn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
883
883
  }), n;
884
884
  }
885
- function J(e, t, r) {
886
- r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = oe;
885
+ function Z(e, t, r) {
886
+ r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = se;
887
887
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
888
- return s ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : oe(t, r);
888
+ return s ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : se(t, r);
889
889
  }
890
- J.all = function(t, r) {
890
+ Z.all = function(t, r) {
891
891
  if (!Array.isArray(t))
892
892
  throw new Error("first argument should be an array");
893
893
  return t.reduce(function(n, i) {
894
- return J(n, i, r);
894
+ return Z(n, i, r);
895
895
  }, {});
896
896
  };
897
- var bn = J, yn = bn;
897
+ var gn = Z, yn = gn;
898
898
  const _n = /* @__PURE__ */ nn(yn);
899
- var Ze = function(e, t) {
900
- return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
899
+ /*! *****************************************************************************
900
+ Copyright (c) Microsoft Corporation.
901
+
902
+ Permission to use, copy, modify, and/or distribute this software for any
903
+ purpose with or without fee is hereby granted.
904
+
905
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
906
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
907
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
908
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
909
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
910
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
911
+ PERFORMANCE OF THIS SOFTWARE.
912
+ ***************************************************************************** */
913
+ var Xe = function(e, t) {
914
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
901
915
  r.__proto__ = n;
902
916
  } || function(r, n) {
903
917
  for (var i in n)
904
918
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
905
- }, Ze(e, t);
919
+ }, Xe(e, t);
906
920
  };
907
- function Ie(e, t) {
921
+ function Oe(e, t) {
908
922
  if (typeof t != "function" && t !== null)
909
923
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
910
- Ze(e, t);
924
+ Xe(e, t);
911
925
  function r() {
912
926
  this.constructor = e;
913
927
  }
914
928
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
915
929
  }
916
- var I = function() {
917
- return I = Object.assign || function(t) {
930
+ var E = function() {
931
+ return E = Object.assign || function(t) {
918
932
  for (var r, n = 1, i = arguments.length; n < i; n++) {
919
933
  r = arguments[n];
920
934
  for (var s in r)
921
935
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
922
936
  }
923
937
  return t;
924
- }, I.apply(this, arguments);
938
+ }, E.apply(this, arguments);
925
939
  };
926
- function En(e, t) {
940
+ function vn(e, t) {
927
941
  var r = {};
928
942
  for (var n in e)
929
943
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -932,119 +946,143 @@ function En(e, t) {
932
946
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
933
947
  return r;
934
948
  }
935
- function Ue(e, t, r) {
949
+ function ws(e) {
950
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
951
+ if (r)
952
+ return r.call(e);
953
+ if (e && typeof e.length == "number")
954
+ return {
955
+ next: function() {
956
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
957
+ }
958
+ };
959
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
960
+ }
961
+ function Hs(e, t) {
962
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
963
+ if (!r)
964
+ return e;
965
+ var n = r.call(e), i, s = [], o;
966
+ try {
967
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
968
+ s.push(i.value);
969
+ } catch (a) {
970
+ o = { error: a };
971
+ } finally {
972
+ try {
973
+ i && !i.done && (r = n.return) && r.call(n);
974
+ } finally {
975
+ if (o)
976
+ throw o.error;
977
+ }
978
+ }
979
+ return s;
980
+ }
981
+ function Re(e, t, r) {
936
982
  if (r || arguments.length === 2)
937
983
  for (var n = 0, i = t.length, s; n < i; n++)
938
984
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
939
- return e.concat(s || Array.prototype.slice.call(t));
985
+ return e.concat(s || t);
940
986
  }
941
- function Ge(e, t) {
942
- var r = t && t.cache ? t.cache : Bn, n = t && t.serializer ? t.serializer : Hn, i = t && t.strategy ? t.strategy : Tn;
987
+ function De(e, t) {
988
+ var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : Hn, i = t && t.strategy ? t.strategy : xn;
943
989
  return i(e, {
944
990
  cache: r,
945
991
  serializer: n
946
992
  });
947
993
  }
948
- function vn(e) {
994
+ function En(e) {
949
995
  return e == null || typeof e == "number" || typeof e == "boolean";
950
996
  }
951
- function xn(e, t, r, n) {
952
- var i = vn(n) ? n : r(n), s = t.get(i);
997
+ function Xt(e, t, r, n) {
998
+ var i = En(n) ? n : r(n), s = t.get(i);
953
999
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
954
1000
  }
955
- function Xt(e, t, r) {
1001
+ function Wt(e, t, r) {
956
1002
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
957
1003
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
958
1004
  }
959
- function Wt(e, t, r, n, i) {
1005
+ function nt(e, t, r, n, i) {
960
1006
  return r.bind(t, e, n, i);
961
1007
  }
1008
+ function xn(e, t) {
1009
+ var r = e.length === 1 ? Xt : Wt;
1010
+ return nt(e, this, r, t.cache.create(), t.serializer);
1011
+ }
962
1012
  function Tn(e, t) {
963
- var r = e.length === 1 ? xn : Xt;
964
- return Wt(e, this, r, t.cache.create(), t.serializer);
1013
+ return nt(e, this, Wt, t.cache.create(), t.serializer);
965
1014
  }
966
1015
  function wn(e, t) {
967
- return Wt(e, this, Xt, t.cache.create(), t.serializer);
1016
+ return nt(e, this, Xt, t.cache.create(), t.serializer);
968
1017
  }
969
1018
  var Hn = function() {
970
1019
  return JSON.stringify(arguments);
971
- }, Sn = (
972
- /** @class */
973
- function() {
974
- function e() {
975
- this.cache = /* @__PURE__ */ Object.create(null);
976
- }
977
- return e.prototype.get = function(t) {
978
- return this.cache[t];
979
- }, e.prototype.set = function(t, r) {
980
- this.cache[t] = r;
981
- }, e;
982
- }()
983
- ), Bn = {
1020
+ };
1021
+ function it() {
1022
+ this.cache = /* @__PURE__ */ Object.create(null);
1023
+ }
1024
+ it.prototype.get = function(e) {
1025
+ return this.cache[e];
1026
+ };
1027
+ it.prototype.set = function(e, t) {
1028
+ this.cache[e] = t;
1029
+ };
1030
+ var Sn = {
984
1031
  create: function() {
985
- return new Sn();
1032
+ return new it();
986
1033
  }
987
- }, ke = {
988
- variadic: wn
989
- }, Se = function() {
990
- return Se = Object.assign || function(t) {
991
- for (var r, n = 1, i = arguments.length; n < i; n++) {
992
- r = arguments[n];
993
- for (var s in r)
994
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
995
- }
996
- return t;
997
- }, Se.apply(this, arguments);
998
- };
999
- var _;
1034
+ }, Ue = {
1035
+ variadic: Tn,
1036
+ monadic: wn
1037
+ }, _;
1000
1038
  (function(e) {
1001
1039
  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";
1002
1040
  })(_ || (_ = {}));
1003
- var x;
1041
+ var T;
1004
1042
  (function(e) {
1005
1043
  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";
1006
- })(x || (x = {}));
1007
- var q;
1044
+ })(T || (T = {}));
1045
+ var J;
1008
1046
  (function(e) {
1009
1047
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1010
- })(q || (q = {}));
1011
- function bt(e) {
1012
- return e.type === x.literal;
1048
+ })(J || (J = {}));
1049
+ function gt(e) {
1050
+ return e.type === T.literal;
1013
1051
  }
1014
- function An(e) {
1015
- return e.type === x.argument;
1052
+ function Bn(e) {
1053
+ return e.type === T.argument;
1016
1054
  }
1017
1055
  function Zt(e) {
1018
- return e.type === x.number;
1056
+ return e.type === T.number;
1019
1057
  }
1020
1058
  function Jt(e) {
1021
- return e.type === x.date;
1059
+ return e.type === T.date;
1022
1060
  }
1023
1061
  function qt(e) {
1024
- return e.type === x.time;
1062
+ return e.type === T.time;
1025
1063
  }
1026
1064
  function Qt(e) {
1027
- return e.type === x.select;
1065
+ return e.type === T.select;
1028
1066
  }
1029
1067
  function Yt(e) {
1030
- return e.type === x.plural;
1068
+ return e.type === T.plural;
1031
1069
  }
1032
- function Pn(e) {
1033
- return e.type === x.pound;
1070
+ function An(e) {
1071
+ return e.type === T.pound;
1034
1072
  }
1035
1073
  function Kt(e) {
1036
- return e.type === x.tag;
1074
+ return e.type === T.tag;
1037
1075
  }
1038
1076
  function er(e) {
1039
- return !!(e && typeof e == "object" && e.type === q.number);
1077
+ return !!(e && typeof e == "object" && e.type === J.number);
1040
1078
  }
1041
- function Je(e) {
1042
- return !!(e && typeof e == "object" && e.type === q.dateTime);
1079
+ function We(e) {
1080
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
1043
1081
  }
1044
- var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[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;
1045
- function Cn(e) {
1082
+ var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1083
+ function On(e) {
1046
1084
  var t = {};
1047
- return e.replace(On, function(r) {
1085
+ return e.replace(Pn, function(r) {
1048
1086
  var n = r.length;
1049
1087
  switch (r[0]) {
1050
1088
  case "G":
@@ -1133,18 +1171,8 @@ function Cn(e) {
1133
1171
  return "";
1134
1172
  }), t;
1135
1173
  }
1136
- var T = function() {
1137
- return T = Object.assign || function(t) {
1138
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1139
- r = arguments[n];
1140
- for (var s in r)
1141
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1142
- }
1143
- return t;
1144
- }, T.apply(this, arguments);
1145
- };
1146
1174
  var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1147
- function Nn(e) {
1175
+ function Cn(e) {
1148
1176
  if (e.length === 0)
1149
1177
  throw new Error("Number skeleton cannot be empty");
1150
1178
  for (var t = e.split(In).filter(function(c) {
@@ -1165,7 +1193,7 @@ function Nn(e) {
1165
1193
  function Mn(e) {
1166
1194
  return e.replace(/^(.*?)-/, "");
1167
1195
  }
1168
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
1196
+ var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
1169
1197
  function _t(e) {
1170
1198
  var t = {};
1171
1199
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, n, i) {
@@ -1212,7 +1240,7 @@ function ir(e) {
1212
1240
  };
1213
1241
  }
1214
1242
  }
1215
- function $n(e) {
1243
+ function Ln(e) {
1216
1244
  var t;
1217
1245
  if (e[0] === "E" && e[1] === "E" ? (t = {
1218
1246
  notation: "engineering"
@@ -1226,11 +1254,11 @@ function $n(e) {
1226
1254
  }
1227
1255
  return t;
1228
1256
  }
1229
- function Et(e) {
1257
+ function vt(e) {
1230
1258
  var t = {}, r = ir(e);
1231
1259
  return r || t;
1232
1260
  }
1233
- function Rn(e) {
1261
+ function $n(e) {
1234
1262
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1235
1263
  var i = n[r];
1236
1264
  switch (i.stem) {
@@ -1265,13 +1293,13 @@ function Rn(e) {
1265
1293
  t.notation = "compact", t.compactDisplay = "long";
1266
1294
  continue;
1267
1295
  case "scientific":
1268
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1269
- return T(T({}, l), Et(u));
1296
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1297
+ return E(E({}, l), vt(u));
1270
1298
  }, {}));
1271
1299
  continue;
1272
1300
  case "engineering":
1273
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1274
- return T(T({}, l), Et(u));
1301
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1302
+ return E(E({}, l), vt(u));
1275
1303
  }, {}));
1276
1304
  continue;
1277
1305
  case "notation-simple":
@@ -1316,7 +1344,7 @@ function Rn(e) {
1316
1344
  case "integer-width":
1317
1345
  if (i.options.length > 1)
1318
1346
  throw new RangeError("integer-width stems only accept a single optional option");
1319
- i.options[0].replace(Ln, function(l, u, h, f, c, y) {
1347
+ i.options[0].replace(Nn, function(l, u, h, f, c, y) {
1320
1348
  if (u)
1321
1349
  t.minimumIntegerDigits = h.length;
1322
1350
  else {
@@ -1340,21 +1368,21 @@ function Rn(e) {
1340
1368
  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), "";
1341
1369
  });
1342
1370
  var s = i.options[0];
1343
- s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), _t(s)));
1371
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), _t(s)));
1344
1372
  continue;
1345
1373
  }
1346
1374
  if (rr.test(i.stem)) {
1347
- t = T(T({}, t), _t(i.stem));
1375
+ t = E(E({}, t), _t(i.stem));
1348
1376
  continue;
1349
1377
  }
1350
1378
  var o = ir(i.stem);
1351
- o && (t = T(T({}, t), o));
1352
- var a = $n(i.stem);
1353
- a && (t = T(T({}, t), a));
1379
+ o && (t = E(E({}, t), o));
1380
+ var a = Ln(i.stem);
1381
+ a && (t = E(E({}, t), a));
1354
1382
  }
1355
1383
  return t;
1356
1384
  }
1357
- var de = {
1385
+ var me = {
1358
1386
  "001": [
1359
1387
  "H",
1360
1388
  "h"
@@ -2769,13 +2797,13 @@ var de = {
2769
2797
  "h"
2770
2798
  ]
2771
2799
  };
2772
- function Dn(e, t) {
2800
+ function Rn(e, t) {
2773
2801
  for (var r = "", n = 0; n < e.length; n++) {
2774
2802
  var i = e.charAt(n);
2775
2803
  if (i === "j") {
2776
2804
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2777
2805
  s++, n++;
2778
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Un(t);
2806
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Dn(t);
2779
2807
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2780
2808
  r += l;
2781
2809
  for (; o-- > 0; )
@@ -2785,7 +2813,7 @@ function Dn(e, t) {
2785
2813
  }
2786
2814
  return r;
2787
2815
  }
2788
- function Un(e) {
2816
+ function Dn(e) {
2789
2817
  var t = e.hourCycle;
2790
2818
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2791
2819
  e.hourCycles && // @ts-ignore
@@ -2804,23 +2832,23 @@ function Un(e) {
2804
2832
  }
2805
2833
  var r = e.language, n;
2806
2834
  r !== "root" && (n = e.maximize().region);
2807
- var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
2835
+ var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
2808
2836
  return i[0];
2809
2837
  }
2810
- var Fe, Gn = new RegExp("^".concat(tr.source, "*")), kn = new RegExp("".concat(tr.source, "*$"));
2811
- function E(e, t) {
2838
+ var Ge, Un = new RegExp("^".concat(tr.source, "*")), Gn = new RegExp("".concat(tr.source, "*$"));
2839
+ function v(e, t) {
2812
2840
  return { start: e, end: t };
2813
2841
  }
2814
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, zn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, Zn = !!Number.isSafeInteger, Jn = Zn ? Number.isSafeInteger : function(e) {
2842
+ var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String.fromCodePoint, jn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, Zn = Wn ? Number.isSafeInteger : function(e) {
2815
2843
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2816
- }, qe = !0;
2844
+ }, Ze = !0;
2817
2845
  try {
2818
- var qn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2819
- qe = ((Fe = qn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2846
+ var Jn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2847
+ Ze = ((Ge = Jn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2820
2848
  } catch (e) {
2821
- qe = !1;
2849
+ Ze = !1;
2822
2850
  }
2823
- var vt = Fn ? (
2851
+ var Et = kn ? (
2824
2852
  // Native
2825
2853
  function(t, r, n) {
2826
2854
  return t.startsWith(r, n);
@@ -2830,7 +2858,7 @@ var vt = Fn ? (
2830
2858
  function(t, r, n) {
2831
2859
  return t.slice(n, n + r.length) === r;
2832
2860
  }
2833
- ), Qe = jn ? String.fromCodePoint : (
2861
+ ), Je = Fn ? String.fromCodePoint : (
2834
2862
  // IE11
2835
2863
  function() {
2836
2864
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2844,7 +2872,7 @@ var vt = Fn ? (
2844
2872
  }
2845
2873
  ), xt = (
2846
2874
  // native
2847
- zn ? Object.fromEntries : (
2875
+ jn ? Object.fromEntries : (
2848
2876
  // Ponyfill
2849
2877
  function(t) {
2850
2878
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2854,7 +2882,7 @@ var vt = Fn ? (
2854
2882
  return r;
2855
2883
  }
2856
2884
  )
2857
- ), sr = Vn ? (
2885
+ ), sr = zn ? (
2858
2886
  // Native
2859
2887
  function(t, r) {
2860
2888
  return t.codePointAt(r);
@@ -2868,7 +2896,7 @@ var vt = Fn ? (
2868
2896
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2869
2897
  }
2870
2898
  }
2871
- ), Qn = Xn ? (
2899
+ ), qn = Vn ? (
2872
2900
  // Native
2873
2901
  function(t) {
2874
2902
  return t.trimStart();
@@ -2876,9 +2904,9 @@ var vt = Fn ? (
2876
2904
  ) : (
2877
2905
  // Ponyfill
2878
2906
  function(t) {
2879
- return t.replace(Gn, "");
2907
+ return t.replace(Un, "");
2880
2908
  }
2881
- ), Yn = Wn ? (
2909
+ ), Qn = Xn ? (
2882
2910
  // Native
2883
2911
  function(t) {
2884
2912
  return t.trimEnd();
@@ -2886,32 +2914,32 @@ var vt = Fn ? (
2886
2914
  ) : (
2887
2915
  // Ponyfill
2888
2916
  function(t) {
2889
- return t.replace(kn, "");
2917
+ return t.replace(Gn, "");
2890
2918
  }
2891
2919
  );
2892
2920
  function or(e, t) {
2893
2921
  return new RegExp(e, t);
2894
2922
  }
2895
- var Ye;
2896
- if (qe) {
2923
+ var qe;
2924
+ if (Ze) {
2897
2925
  var Tt = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2898
- Ye = function(t, r) {
2926
+ qe = function(t, r) {
2899
2927
  var n;
2900
2928
  Tt.lastIndex = r;
2901
2929
  var i = Tt.exec(t);
2902
2930
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2903
2931
  };
2904
2932
  } else
2905
- Ye = function(t, r) {
2933
+ qe = function(t, r) {
2906
2934
  for (var n = []; ; ) {
2907
2935
  var i = sr(t, r);
2908
- if (i === void 0 || ar(i) || ri(i))
2936
+ if (i === void 0 || ar(i) || ti(i))
2909
2937
  break;
2910
2938
  n.push(i), r += i >= 65536 ? 2 : 1;
2911
2939
  }
2912
- return Qe.apply(void 0, n);
2940
+ return Je.apply(void 0, n);
2913
2941
  };
2914
- var Kn = (
2942
+ var Yn = (
2915
2943
  /** @class */
2916
2944
  function() {
2917
2945
  function e(t, r) {
@@ -2935,14 +2963,14 @@ var Kn = (
2935
2963
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2936
2964
  var a = this.clonePosition();
2937
2965
  this.bump(), i.push({
2938
- type: x.pound,
2939
- location: E(a, this.clonePosition())
2966
+ type: T.pound,
2967
+ location: v(a, this.clonePosition())
2940
2968
  });
2941
2969
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2942
2970
  if (n)
2943
2971
  break;
2944
- return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
2945
- } else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
2972
+ return this.error(_.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2973
+ } else if (s === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2946
2974
  var o = this.parseTag(t, r);
2947
2975
  if (o.err)
2948
2976
  return o;
@@ -2963,9 +2991,9 @@ var Kn = (
2963
2991
  if (this.bumpSpace(), this.bumpIf("/>"))
2964
2992
  return {
2965
2993
  val: {
2966
- type: x.literal,
2994
+ type: T.literal,
2967
2995
  value: "<".concat(i, "/>"),
2968
- location: E(n, this.clonePosition())
2996
+ location: v(n, this.clonePosition())
2969
2997
  },
2970
2998
  err: null
2971
2999
  };
@@ -2975,25 +3003,25 @@ var Kn = (
2975
3003
  return s;
2976
3004
  var o = s.val, a = this.clonePosition();
2977
3005
  if (this.bumpIf("</")) {
2978
- if (this.isEOF() || !Ke(this.char()))
2979
- return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
3006
+ if (this.isEOF() || !Qe(this.char()))
3007
+ return this.error(_.INVALID_TAG, v(a, this.clonePosition()));
2980
3008
  var l = this.clonePosition(), u = this.parseTagName();
2981
- return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3009
+ return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2982
3010
  val: {
2983
- type: x.tag,
3011
+ type: T.tag,
2984
3012
  value: i,
2985
3013
  children: o,
2986
- location: E(n, this.clonePosition())
3014
+ location: v(n, this.clonePosition())
2987
3015
  },
2988
3016
  err: null
2989
- } : this.error(_.INVALID_TAG, E(a, this.clonePosition())));
3017
+ } : this.error(_.INVALID_TAG, v(a, this.clonePosition())));
2990
3018
  } else
2991
- return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
3019
+ return this.error(_.UNCLOSED_TAG, v(n, this.clonePosition()));
2992
3020
  } else
2993
- return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3021
+ return this.error(_.INVALID_TAG, v(n, this.clonePosition()));
2994
3022
  }, e.prototype.parseTagName = function() {
2995
3023
  var t = this.offset();
2996
- for (this.bump(); !this.isEOF() && ti(this.char()); )
3024
+ for (this.bump(); !this.isEOF() && ei(this.char()); )
2997
3025
  this.bump();
2998
3026
  return this.message.slice(t, this.offset());
2999
3027
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3015,14 +3043,14 @@ var Kn = (
3015
3043
  }
3016
3044
  break;
3017
3045
  }
3018
- var l = E(n, this.clonePosition());
3046
+ var l = v(n, this.clonePosition());
3019
3047
  return {
3020
- val: { type: x.literal, value: i, location: l },
3048
+ val: { type: T.literal, value: i, location: l },
3021
3049
  err: null
3022
3050
  };
3023
3051
  }, e.prototype.tryParseLeftAngleBracket = function() {
3024
3052
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3025
- !ei(this.peek() || 0)) ? (this.bump(), "<") : null;
3053
+ !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3026
3054
  }, e.prototype.tryParseQuote = function(t) {
3027
3055
  if (this.isEOF() || this.char() !== 39)
3028
3056
  return null;
@@ -3056,49 +3084,49 @@ var Kn = (
3056
3084
  r.push(n);
3057
3085
  this.bump();
3058
3086
  }
3059
- return Qe.apply(void 0, r);
3087
+ return Je.apply(void 0, r);
3060
3088
  }, e.prototype.tryParseUnquoted = function(t, r) {
3061
3089
  if (this.isEOF())
3062
3090
  return null;
3063
3091
  var n = this.char();
3064
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3092
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3065
3093
  }, e.prototype.parseArgument = function(t, r) {
3066
3094
  var n = this.clonePosition();
3067
3095
  if (this.bump(), this.bumpSpace(), this.isEOF())
3068
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3096
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3069
3097
  if (this.char() === 125)
3070
- return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
3098
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3071
3099
  var i = this.parseIdentifierIfPossible().value;
3072
3100
  if (!i)
3073
- return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3101
+ return this.error(_.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3074
3102
  if (this.bumpSpace(), this.isEOF())
3075
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3103
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3076
3104
  switch (this.char()) {
3077
3105
  case 125:
3078
3106
  return this.bump(), {
3079
3107
  val: {
3080
- type: x.argument,
3108
+ type: T.argument,
3081
3109
  // value does not include the opening and closing braces.
3082
3110
  value: i,
3083
- location: E(n, this.clonePosition())
3111
+ location: v(n, this.clonePosition())
3084
3112
  },
3085
3113
  err: null
3086
3114
  };
3087
3115
  case 44:
3088
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3116
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3089
3117
  default:
3090
- return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3118
+ return this.error(_.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3091
3119
  }
3092
3120
  }, e.prototype.parseIdentifierIfPossible = function() {
3093
- var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3121
+ var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
3094
3122
  this.bumpTo(i);
3095
- var s = this.clonePosition(), o = E(t, s);
3123
+ var s = this.clonePosition(), o = v(t, s);
3096
3124
  return { value: n, location: o };
3097
3125
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3098
3126
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3099
3127
  switch (a) {
3100
3128
  case "":
3101
- return this.error(_.EXPECT_ARGUMENT_TYPE, E(o, l));
3129
+ return this.error(_.EXPECT_ARGUMENT_TYPE, v(o, l));
3102
3130
  case "number":
3103
3131
  case "date":
3104
3132
  case "time": {
@@ -3109,46 +3137,46 @@ var Kn = (
3109
3137
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3110
3138
  if (f.err)
3111
3139
  return f;
3112
- var c = Yn(f.val);
3140
+ var c = Qn(f.val);
3113
3141
  if (c.length === 0)
3114
- return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3115
- var y = E(h, this.clonePosition());
3142
+ return this.error(_.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3143
+ var y = v(h, this.clonePosition());
3116
3144
  u = { style: c, styleLocation: y };
3117
3145
  }
3118
3146
  var m = this.tryParseArgumentClose(i);
3119
3147
  if (m.err)
3120
3148
  return m;
3121
- var b = E(i, this.clonePosition());
3122
- if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
3123
- var p = Qn(u.style.slice(2));
3149
+ var g = v(i, this.clonePosition());
3150
+ if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3151
+ var p = qn(u.style.slice(2));
3124
3152
  if (a === "number") {
3125
3153
  var f = this.parseNumberSkeletonFromString(p, u.styleLocation);
3126
3154
  return f.err ? f : {
3127
- val: { type: x.number, value: n, location: b, style: f.val },
3155
+ val: { type: T.number, value: n, location: g, style: f.val },
3128
3156
  err: null
3129
3157
  };
3130
3158
  } else {
3131
3159
  if (p.length === 0)
3132
- return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
3160
+ return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3133
3161
  var d = p;
3134
- this.locale && (d = Dn(p, this.locale));
3162
+ this.locale && (d = Rn(p, this.locale));
3135
3163
  var c = {
3136
- type: q.dateTime,
3164
+ type: J.dateTime,
3137
3165
  pattern: d,
3138
3166
  location: u.styleLocation,
3139
- parsedOptions: this.shouldParseSkeletons ? Cn(d) : {}
3140
- }, v = a === "date" ? x.date : x.time;
3167
+ parsedOptions: this.shouldParseSkeletons ? On(d) : {}
3168
+ }, x = a === "date" ? T.date : T.time;
3141
3169
  return {
3142
- val: { type: v, value: n, location: b, style: c },
3170
+ val: { type: x, value: n, location: g, style: c },
3143
3171
  err: null
3144
3172
  };
3145
3173
  }
3146
3174
  }
3147
3175
  return {
3148
3176
  val: {
3149
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3177
+ type: a === "number" ? T.number : a === "date" ? T.date : T.time,
3150
3178
  value: n,
3151
- location: b,
3179
+ location: g,
3152
3180
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
3153
3181
  },
3154
3182
  err: null
@@ -3157,40 +3185,40 @@ var Kn = (
3157
3185
  case "plural":
3158
3186
  case "selectordinal":
3159
3187
  case "select": {
3160
- var g = this.clonePosition();
3188
+ var b = this.clonePosition();
3161
3189
  if (this.bumpSpace(), !this.bumpIf(","))
3162
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(g, Se({}, g)));
3190
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, v(b, E({}, b)));
3163
3191
  this.bumpSpace();
3164
3192
  var w = this.parseIdentifierIfPossible(), H = 0;
3165
3193
  if (a !== "select" && w.value === "offset") {
3166
3194
  if (!this.bumpIf(":"))
3167
- return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3195
+ return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3168
3196
  this.bumpSpace();
3169
3197
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3170
3198
  if (f.err)
3171
3199
  return f;
3172
3200
  this.bumpSpace(), w = this.parseIdentifierIfPossible(), H = f.val;
3173
3201
  }
3174
- var F = this.tryParsePluralOrSelectOptions(t, a, r, w);
3175
- if (F.err)
3176
- return F;
3202
+ var k = this.tryParsePluralOrSelectOptions(t, a, r, w);
3203
+ if (k.err)
3204
+ return k;
3177
3205
  var m = this.tryParseArgumentClose(i);
3178
3206
  if (m.err)
3179
3207
  return m;
3180
- var at = E(i, this.clonePosition());
3208
+ var at = v(i, this.clonePosition());
3181
3209
  return a === "select" ? {
3182
3210
  val: {
3183
- type: x.select,
3211
+ type: T.select,
3184
3212
  value: n,
3185
- options: xt(F.val),
3213
+ options: xt(k.val),
3186
3214
  location: at
3187
3215
  },
3188
3216
  err: null
3189
3217
  } : {
3190
3218
  val: {
3191
- type: x.plural,
3219
+ type: T.plural,
3192
3220
  value: n,
3193
- options: xt(F.val),
3221
+ options: xt(k.val),
3194
3222
  offset: H,
3195
3223
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3196
3224
  location: at
@@ -3199,10 +3227,10 @@ var Kn = (
3199
3227
  };
3200
3228
  }
3201
3229
  default:
3202
- return this.error(_.INVALID_ARGUMENT_TYPE, E(o, l));
3230
+ return this.error(_.INVALID_ARGUMENT_TYPE, v(o, l));
3203
3231
  }
3204
3232
  }, e.prototype.tryParseArgumentClose = function(t) {
3205
- return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3233
+ return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3206
3234
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3207
3235
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3208
3236
  var n = this.char();
@@ -3211,7 +3239,7 @@ var Kn = (
3211
3239
  this.bump();
3212
3240
  var i = this.clonePosition();
3213
3241
  if (!this.bumpUntil("'"))
3214
- return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
3242
+ return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3215
3243
  this.bump();
3216
3244
  break;
3217
3245
  }
@@ -3241,16 +3269,16 @@ var Kn = (
3241
3269
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3242
3270
  var n = [];
3243
3271
  try {
3244
- n = Nn(t);
3272
+ n = Cn(t);
3245
3273
  } catch (i) {
3246
3274
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3247
3275
  }
3248
3276
  return {
3249
3277
  val: {
3250
- type: q.number,
3278
+ type: J.number,
3251
3279
  tokens: n,
3252
3280
  location: r,
3253
- parsedOptions: this.shouldParseSkeletons ? Rn(n) : {}
3281
+ parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3254
3282
  },
3255
3283
  err: null
3256
3284
  };
@@ -3262,7 +3290,7 @@ var Kn = (
3262
3290
  var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3263
3291
  if (c.err)
3264
3292
  return c;
3265
- h = E(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3293
+ h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3266
3294
  } else
3267
3295
  break;
3268
3296
  }
@@ -3271,22 +3299,22 @@ var Kn = (
3271
3299
  u === "other" && (o = !0), this.bumpSpace();
3272
3300
  var y = this.clonePosition();
3273
3301
  if (!this.bumpIf("{"))
3274
- return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3302
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3275
3303
  var m = this.parseMessage(t + 1, r, n);
3276
3304
  if (m.err)
3277
3305
  return m;
3278
- var b = this.tryParseArgumentClose(y);
3279
- if (b.err)
3280
- return b;
3306
+ var g = this.tryParseArgumentClose(y);
3307
+ if (g.err)
3308
+ return g;
3281
3309
  a.push([
3282
3310
  u,
3283
3311
  {
3284
3312
  value: m.val,
3285
- location: E(y, this.clonePosition())
3313
+ location: v(y, this.clonePosition())
3286
3314
  }
3287
3315
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3288
3316
  }
3289
- 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 };
3317
+ 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 };
3290
3318
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3291
3319
  var n = 1, i = this.clonePosition();
3292
3320
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3297,8 +3325,8 @@ var Kn = (
3297
3325
  else
3298
3326
  break;
3299
3327
  }
3300
- var l = E(i, this.clonePosition());
3301
- return s ? (o *= n, Jn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3328
+ var l = v(i, this.clonePosition());
3329
+ return s ? (o *= n, Zn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3302
3330
  }, e.prototype.offset = function() {
3303
3331
  return this.position.offset;
3304
3332
  }, e.prototype.isEOF = function() {
@@ -3332,7 +3360,7 @@ var Kn = (
3332
3360
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3333
3361
  }
3334
3362
  }, e.prototype.bumpIf = function(t) {
3335
- if (vt(this.message, t, this.offset())) {
3363
+ if (Et(this.message, t, this.offset())) {
3336
3364
  for (var r = 0; r < t.length; r++)
3337
3365
  this.bump();
3338
3366
  return !0;
@@ -3364,47 +3392,47 @@ var Kn = (
3364
3392
  }, e;
3365
3393
  }()
3366
3394
  );
3367
- function Ke(e) {
3395
+ function Qe(e) {
3368
3396
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3369
3397
  }
3370
- function ei(e) {
3371
- return Ke(e) || e === 47;
3398
+ function Kn(e) {
3399
+ return Qe(e) || e === 47;
3372
3400
  }
3373
- function ti(e) {
3401
+ function ei(e) {
3374
3402
  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;
3375
3403
  }
3376
3404
  function ar(e) {
3377
3405
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3378
3406
  }
3379
- function ri(e) {
3407
+ function ti(e) {
3380
3408
  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;
3381
3409
  }
3382
- function et(e) {
3410
+ function Ye(e) {
3383
3411
  e.forEach(function(t) {
3384
3412
  if (delete t.location, Qt(t) || Yt(t))
3385
3413
  for (var r in t.options)
3386
- delete t.options[r].location, et(t.options[r].value);
3414
+ delete t.options[r].location, Ye(t.options[r].value);
3387
3415
  else
3388
- Zt(t) && er(t.style) || (Jt(t) || qt(t)) && Je(t.style) ? delete t.style.location : Kt(t) && et(t.children);
3416
+ Zt(t) && er(t.style) || (Jt(t) || qt(t)) && We(t.style) ? delete t.style.location : Kt(t) && Ye(t.children);
3389
3417
  });
3390
3418
  }
3391
- function ni(e, t) {
3392
- t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3393
- var r = new Kn(e, t).parse();
3419
+ function ri(e, t) {
3420
+ t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3421
+ var r = new Yn(e, t).parse();
3394
3422
  if (r.err) {
3395
3423
  var n = SyntaxError(_[r.err.kind]);
3396
3424
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3397
3425
  }
3398
- return t != null && t.captureLocation || et(r.val), r.val;
3426
+ return t != null && t.captureLocation || Ye(r.val), r.val;
3399
3427
  }
3400
- var Q;
3428
+ var q;
3401
3429
  (function(e) {
3402
3430
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3403
- })(Q || (Q = {}));
3404
- var Ne = (
3431
+ })(q || (q = {}));
3432
+ var Ie = (
3405
3433
  /** @class */
3406
3434
  function(e) {
3407
- Ie(t, e);
3435
+ Oe(t, e);
3408
3436
  function t(r, n, i) {
3409
3437
  var s = e.call(this, r) || this;
3410
3438
  return s.code = n, s.originalMessage = i, s;
@@ -3416,45 +3444,45 @@ var Ne = (
3416
3444
  ), wt = (
3417
3445
  /** @class */
3418
3446
  function(e) {
3419
- Ie(t, e);
3447
+ Oe(t, e);
3420
3448
  function t(r, n, i, s) {
3421
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, s) || this;
3449
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, s) || this;
3422
3450
  }
3423
3451
  return t;
3424
- }(Ne)
3425
- ), ii = (
3452
+ }(Ie)
3453
+ ), ni = (
3426
3454
  /** @class */
3427
3455
  function(e) {
3428
- Ie(t, e);
3456
+ Oe(t, e);
3429
3457
  function t(r, n, i) {
3430
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3458
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3431
3459
  }
3432
3460
  return t;
3433
- }(Ne)
3434
- ), si = (
3461
+ }(Ie)
3462
+ ), ii = (
3435
3463
  /** @class */
3436
3464
  function(e) {
3437
- Ie(t, e);
3465
+ Oe(t, e);
3438
3466
  function t(r, n) {
3439
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3467
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3440
3468
  }
3441
3469
  return t;
3442
- }(Ne)
3470
+ }(Ie)
3443
3471
  ), S;
3444
3472
  (function(e) {
3445
3473
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3446
3474
  })(S || (S = {}));
3447
- function oi(e) {
3475
+ function si(e) {
3448
3476
  return e.length < 2 ? e : e.reduce(function(t, r) {
3449
3477
  var n = t[t.length - 1];
3450
3478
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3451
3479
  }, []);
3452
3480
  }
3453
- function ai(e) {
3481
+ function oi(e) {
3454
3482
  return typeof e == "function";
3455
3483
  }
3456
3484
  function ve(e, t, r, n, i, s, o) {
3457
- if (e.length === 1 && bt(e[0]))
3485
+ if (e.length === 1 && gt(e[0]))
3458
3486
  return [
3459
3487
  {
3460
3488
  type: S.literal,
@@ -3463,14 +3491,14 @@ function ve(e, t, r, n, i, s, o) {
3463
3491
  ];
3464
3492
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3465
3493
  var h = u[l];
3466
- if (bt(h)) {
3494
+ if (gt(h)) {
3467
3495
  a.push({
3468
3496
  type: S.literal,
3469
3497
  value: h.value
3470
3498
  });
3471
3499
  continue;
3472
3500
  }
3473
- if (Pn(h)) {
3501
+ if (An(h)) {
3474
3502
  typeof s == "number" && a.push({
3475
3503
  type: S.literal,
3476
3504
  value: r.getNumberFormat(t).format(s)
@@ -3479,9 +3507,9 @@ function ve(e, t, r, n, i, s, o) {
3479
3507
  }
3480
3508
  var f = h.value;
3481
3509
  if (!(i && f in i))
3482
- throw new si(f, o);
3510
+ throw new ii(f, o);
3483
3511
  var c = i[f];
3484
- if (An(h)) {
3512
+ if (Bn(h)) {
3485
3513
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3486
3514
  type: typeof c == "string" ? S.literal : S.object,
3487
3515
  value: c
@@ -3489,7 +3517,7 @@ function ve(e, t, r, n, i, s, o) {
3489
3517
  continue;
3490
3518
  }
3491
3519
  if (Jt(h)) {
3492
- var y = typeof h.style == "string" ? n.date[h.style] : Je(h.style) ? h.style.parsedOptions : void 0;
3520
+ var y = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3493
3521
  a.push({
3494
3522
  type: S.literal,
3495
3523
  value: r.getDateTimeFormat(t, y).format(c)
@@ -3497,7 +3525,7 @@ function ve(e, t, r, n, i, s, o) {
3497
3525
  continue;
3498
3526
  }
3499
3527
  if (qt(h)) {
3500
- var y = typeof h.style == "string" ? n.time[h.style] : Je(h.style) ? h.style.parsedOptions : n.time.medium;
3528
+ var y = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3501
3529
  a.push({
3502
3530
  type: S.literal,
3503
3531
  value: r.getDateTimeFormat(t, y).format(c)
@@ -3513,13 +3541,13 @@ function ve(e, t, r, n, i, s, o) {
3513
3541
  continue;
3514
3542
  }
3515
3543
  if (Kt(h)) {
3516
- var m = h.children, b = h.value, p = i[b];
3517
- if (!ai(p))
3518
- throw new ii(b, "function", o);
3519
- var d = ve(m, t, r, n, i, s), v = p(d.map(function(H) {
3544
+ var m = h.children, g = h.value, p = i[g];
3545
+ if (!oi(p))
3546
+ throw new ni(g, "function", o);
3547
+ var d = ve(m, t, r, n, i, s), x = p(d.map(function(H) {
3520
3548
  return H.value;
3521
3549
  }));
3522
- Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(H) {
3550
+ Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(H) {
3523
3551
  return {
3524
3552
  type: typeof H == "string" ? S.literal : S.object,
3525
3553
  value: H
@@ -3527,41 +3555,41 @@ function ve(e, t, r, n, i, s, o) {
3527
3555
  }));
3528
3556
  }
3529
3557
  if (Qt(h)) {
3530
- var g = h.options[c] || h.options.other;
3531
- if (!g)
3558
+ var b = h.options[c] || h.options.other;
3559
+ if (!b)
3532
3560
  throw new wt(h.value, c, Object.keys(h.options), o);
3533
- a.push.apply(a, ve(g.value, t, r, n, i));
3561
+ a.push.apply(a, ve(b.value, t, r, n, i));
3534
3562
  continue;
3535
3563
  }
3536
3564
  if (Yt(h)) {
3537
- var g = h.options["=".concat(c)];
3538
- if (!g) {
3565
+ var b = h.options["=".concat(c)];
3566
+ if (!b) {
3539
3567
  if (!Intl.PluralRules)
3540
- throw new Ne(`Intl.PluralRules is not available in this environment.
3568
+ throw new Ie(`Intl.PluralRules is not available in this environment.
3541
3569
  Try polyfilling it using "@formatjs/intl-pluralrules"
3542
- `, Q.MISSING_INTL_API, o);
3570
+ `, q.MISSING_INTL_API, o);
3543
3571
  var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3544
- g = h.options[w] || h.options.other;
3572
+ b = h.options[w] || h.options.other;
3545
3573
  }
3546
- if (!g)
3574
+ if (!b)
3547
3575
  throw new wt(h.value, c, Object.keys(h.options), o);
3548
- a.push.apply(a, ve(g.value, t, r, n, i, c - (h.offset || 0)));
3576
+ a.push.apply(a, ve(b.value, t, r, n, i, c - (h.offset || 0)));
3549
3577
  continue;
3550
3578
  }
3551
3579
  }
3552
- return oi(a);
3580
+ return si(a);
3553
3581
  }
3554
- function ui(e, t) {
3555
- return t ? I(I(I({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3556
- return r[n] = I(I({}, e[n]), t[n] || {}), r;
3582
+ function ai(e, t) {
3583
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3584
+ return r[n] = E(E({}, e[n]), t[n] || {}), r;
3557
3585
  }, {})) : e;
3558
3586
  }
3559
- function li(e, t) {
3587
+ function ui(e, t) {
3560
3588
  return t ? Object.keys(e).reduce(function(r, n) {
3561
- return r[n] = ui(e[n], t[n]), r;
3562
- }, I({}, e)) : e;
3589
+ return r[n] = ai(e[n], t[n]), r;
3590
+ }, E({}, e)) : e;
3563
3591
  }
3564
- function je(e) {
3592
+ function ke(e) {
3565
3593
  return {
3566
3594
  create: function() {
3567
3595
  return {
@@ -3575,35 +3603,35 @@ function je(e) {
3575
3603
  }
3576
3604
  };
3577
3605
  }
3578
- function hi(e) {
3606
+ function li(e) {
3579
3607
  return e === void 0 && (e = {
3580
3608
  number: {},
3581
3609
  dateTime: {},
3582
3610
  pluralRules: {}
3583
3611
  }), {
3584
- getNumberFormat: Ge(function() {
3612
+ getNumberFormat: De(function() {
3585
3613
  for (var t, r = [], n = 0; n < arguments.length; n++)
3586
3614
  r[n] = arguments[n];
3587
- return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
3615
+ return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3588
3616
  }, {
3589
- cache: je(e.number),
3590
- strategy: ke.variadic
3617
+ cache: ke(e.number),
3618
+ strategy: Ue.variadic
3591
3619
  }),
3592
- getDateTimeFormat: Ge(function() {
3620
+ getDateTimeFormat: De(function() {
3593
3621
  for (var t, r = [], n = 0; n < arguments.length; n++)
3594
3622
  r[n] = arguments[n];
3595
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
3623
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3596
3624
  }, {
3597
- cache: je(e.dateTime),
3598
- strategy: ke.variadic
3625
+ cache: ke(e.dateTime),
3626
+ strategy: Ue.variadic
3599
3627
  }),
3600
- getPluralRules: Ge(function() {
3628
+ getPluralRules: De(function() {
3601
3629
  for (var t, r = [], n = 0; n < arguments.length; n++)
3602
3630
  r[n] = arguments[n];
3603
- return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
3631
+ return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3604
3632
  }, {
3605
- cache: je(e.pluralRules),
3606
- strategy: ke.variadic
3633
+ cache: ke(e.pluralRules),
3634
+ strategy: Ue.variadic
3607
3635
  })
3608
3636
  };
3609
3637
  }
@@ -3639,13 +3667,13 @@ var ur = (
3639
3667
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3640
3668
  var o = i || {};
3641
3669
  o.formatters;
3642
- var a = En(o, ["formatters"]);
3643
- this.ast = e.__parse(t, I(I({}, a), { locale: this.resolvedLocale }));
3670
+ var a = vn(o, ["formatters"]);
3671
+ this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3644
3672
  } else
3645
3673
  this.ast = t;
3646
3674
  if (!Array.isArray(this.ast))
3647
3675
  throw new TypeError("A message must be provided as a String or AST.");
3648
- this.formats = li(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3676
+ this.formats = ui(e.formats, n), this.formatters = i && i.formatters || li(this.formatterCache);
3649
3677
  }
3650
3678
  return Object.defineProperty(e, "defaultLocale", {
3651
3679
  get: function() {
@@ -3658,7 +3686,7 @@ var ur = (
3658
3686
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3659
3687
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3660
3688
  }
3661
- }, e.__parse = ni, e.formats = {
3689
+ }, e.__parse = ri, e.formats = {
3662
3690
  number: {
3663
3691
  integer: {
3664
3692
  maximumFractionDigits: 0
@@ -3719,7 +3747,7 @@ var ur = (
3719
3747
  }, e;
3720
3748
  }()
3721
3749
  );
3722
- function ci(e, t) {
3750
+ function hi(e, t) {
3723
3751
  if (t == null)
3724
3752
  return;
3725
3753
  if (t in e)
@@ -3740,36 +3768,36 @@ function ci(e, t) {
3740
3768
  n = void 0;
3741
3769
  return n;
3742
3770
  }
3743
- const $ = {}, fi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), lr = (e, t) => {
3771
+ const L = {}, ci = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), lr = (e, t) => {
3744
3772
  if (t == null)
3745
3773
  return;
3746
- if (t in $ && e in $[t])
3747
- return $[t][e];
3748
- const r = he(t);
3774
+ if (t in L && e in L[t])
3775
+ return L[t][e];
3776
+ const r = le(t);
3749
3777
  for (let n = 0; n < r.length; n++) {
3750
- const i = r[n], s = di(i, e);
3778
+ const i = r[n], s = mi(i, e);
3751
3779
  if (s)
3752
- return fi(e, t, s);
3780
+ return ci(e, t, s);
3753
3781
  }
3754
3782
  };
3755
3783
  let st;
3756
- const le = Ce({});
3757
- function mi(e) {
3784
+ const ue = Pe({});
3785
+ function fi(e) {
3758
3786
  return st[e] || null;
3759
3787
  }
3760
3788
  function hr(e) {
3761
3789
  return e in st;
3762
3790
  }
3763
- function di(e, t) {
3791
+ function mi(e, t) {
3764
3792
  if (!hr(e))
3765
3793
  return null;
3766
- const r = mi(e);
3767
- return ci(r, t);
3794
+ const r = fi(e);
3795
+ return hi(r, t);
3768
3796
  }
3769
- function pi(e) {
3797
+ function di(e) {
3770
3798
  if (e == null)
3771
3799
  return;
3772
- const t = he(e);
3800
+ const t = le(e);
3773
3801
  for (let r = 0; r < t.length; r++) {
3774
3802
  const n = t[r];
3775
3803
  if (hr(n))
@@ -3777,64 +3805,64 @@ function pi(e) {
3777
3805
  }
3778
3806
  }
3779
3807
  function cr(e, ...t) {
3780
- delete $[e], le.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
3808
+ delete L[e], ue.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
3781
3809
  }
3782
- K(
3783
- [le],
3810
+ Y(
3811
+ [ue],
3784
3812
  ([e]) => Object.keys(e)
3785
3813
  );
3786
- le.subscribe((e) => st = e);
3787
- const xe = {};
3788
- function gi(e, t) {
3789
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3814
+ ue.subscribe((e) => st = e);
3815
+ const Ee = {};
3816
+ function pi(e, t) {
3817
+ Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3790
3818
  }
3791
3819
  function fr(e) {
3792
- return xe[e];
3820
+ return Ee[e];
3793
3821
  }
3794
3822
  function bi(e) {
3795
- return he(e).map((t) => {
3823
+ return le(e).map((t) => {
3796
3824
  const r = fr(t);
3797
3825
  return [t, r ? [...r] : []];
3798
3826
  }).filter(([, t]) => t.length > 0);
3799
3827
  }
3800
- function Be(e) {
3801
- return e == null ? !1 : he(e).some(
3828
+ function He(e) {
3829
+ return e == null ? !1 : le(e).some(
3802
3830
  (t) => {
3803
3831
  var r;
3804
3832
  return (r = fr(t)) == null ? void 0 : r.size;
3805
3833
  }
3806
3834
  );
3807
3835
  }
3808
- function yi(e, t) {
3836
+ function gi(e, t) {
3809
3837
  return Promise.all(
3810
- t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
3838
+ t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
3811
3839
  ).then((n) => cr(e, ...n));
3812
3840
  }
3813
- const re = {};
3841
+ const te = {};
3814
3842
  function mr(e) {
3815
- if (!Be(e))
3816
- return e in re ? re[e] : Promise.resolve();
3843
+ if (!He(e))
3844
+ return e in te ? te[e] : Promise.resolve();
3817
3845
  const t = bi(e);
3818
- return re[e] = Promise.all(
3846
+ return te[e] = Promise.all(
3819
3847
  t.map(
3820
- ([r, n]) => yi(r, n)
3848
+ ([r, n]) => gi(r, n)
3821
3849
  )
3822
3850
  ).then(() => {
3823
- if (Be(e))
3851
+ if (He(e))
3824
3852
  return mr(e);
3825
- delete re[e];
3826
- }), re[e];
3853
+ delete te[e];
3854
+ }), te[e];
3827
3855
  }
3828
- var Ht = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, vi = (e, t) => {
3856
+ var Ht = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, vi = (e, t) => {
3829
3857
  var r = {};
3830
3858
  for (var n in e)
3831
- _i.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3859
+ yi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3832
3860
  if (e != null && Ht)
3833
3861
  for (var n of Ht(e))
3834
- t.indexOf(n) < 0 && Ei.call(e, n) && (r[n] = e[n]);
3862
+ t.indexOf(n) < 0 && _i.call(e, n) && (r[n] = e[n]);
3835
3863
  return r;
3836
3864
  };
3837
- const xi = {
3865
+ const Ei = {
3838
3866
  number: {
3839
3867
  scientific: { notation: "scientific" },
3840
3868
  engineering: { notation: "engineering" },
@@ -3864,27 +3892,27 @@ const xi = {
3864
3892
  }
3865
3893
  }
3866
3894
  };
3867
- function Ti({ locale: e, id: t }) {
3895
+ function xi({ locale: e, id: t }) {
3868
3896
  console.warn(
3869
- `[svelte-i18n] The message "${t}" was not found in "${he(
3897
+ `[svelte-i18n] The message "${t}" was not found in "${le(
3870
3898
  e
3871
- ).join('", "')}".${Be(U()) ? `
3899
+ ).join('", "')}".${He(D()) ? `
3872
3900
 
3873
3901
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3874
3902
  );
3875
3903
  }
3876
- const wi = {
3904
+ const Ti = {
3877
3905
  fallbackLocale: null,
3878
3906
  loadingDelay: 200,
3879
- formats: xi,
3907
+ formats: Ei,
3880
3908
  warnOnMissingMessages: !0,
3881
3909
  handleMissingMessage: void 0,
3882
3910
  ignoreTag: !0
3883
- }, ne = wi;
3884
- function Y() {
3885
- return ne;
3911
+ }, re = Ti;
3912
+ function Q() {
3913
+ return re;
3886
3914
  }
3887
- function Hi(e) {
3915
+ function wi(e) {
3888
3916
  const t = e, { formats: r } = t, n = vi(t, ["formats"]);
3889
3917
  let i = e.fallbackLocale;
3890
3918
  if (e.initialLocale)
@@ -3895,134 +3923,134 @@ function Hi(e) {
3895
3923
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3896
3924
  );
3897
3925
  }
3898
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Ti : console.warn(
3926
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = xi : console.warn(
3899
3927
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3900
- )), Object.assign(ne, n, { initialLocale: i }), r && ("number" in r && Object.assign(ne.formats.number, r.number), "date" in r && Object.assign(ne.formats.date, r.date), "time" in r && Object.assign(ne.formats.time, r.time)), k.set(i);
3928
+ )), 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)), G.set(i);
3901
3929
  }
3902
- const ze = Ce(!1);
3903
- var Si = Object.defineProperty, Bi = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ci = (e, t) => {
3930
+ const Fe = Pe(!1);
3931
+ var Hi = Object.defineProperty, Si = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
3904
3932
  for (var r in t || (t = {}))
3905
- Pi.call(t, r) && Bt(e, r, t[r]);
3933
+ Ai.call(t, r) && Bt(e, r, t[r]);
3906
3934
  if (St)
3907
3935
  for (var r of St(t))
3908
- Oi.call(t, r) && Bt(e, r, t[r]);
3936
+ Pi.call(t, r) && Bt(e, r, t[r]);
3909
3937
  return e;
3910
- }, Ii = (e, t) => Bi(e, Ai(t));
3911
- let tt;
3912
- const Ae = Ce(null);
3938
+ }, Ii = (e, t) => Si(e, Bi(t));
3939
+ let Ke;
3940
+ const Se = Pe(null);
3913
3941
  function At(e) {
3914
3942
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3915
3943
  }
3916
- function he(e, t = Y().fallbackLocale) {
3944
+ function le(e, t = Q().fallbackLocale) {
3917
3945
  const r = At(e);
3918
3946
  return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
3919
3947
  }
3920
- function U() {
3921
- return tt != null ? tt : void 0;
3948
+ function D() {
3949
+ return Ke != null ? Ke : void 0;
3922
3950
  }
3923
- Ae.subscribe((e) => {
3924
- tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3951
+ Se.subscribe((e) => {
3952
+ Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3925
3953
  });
3926
- const Ni = (e) => {
3927
- if (e && pi(e) && Be(e)) {
3928
- const { loadingDelay: t } = Y();
3954
+ const Ci = (e) => {
3955
+ if (e && di(e) && He(e)) {
3956
+ const { loadingDelay: t } = Q();
3929
3957
  let r;
3930
- return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
3931
- () => ze.set(!0),
3958
+ return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
3959
+ () => Fe.set(!0),
3932
3960
  t
3933
- ) : ze.set(!0), mr(e).then(() => {
3934
- Ae.set(e);
3961
+ ) : Fe.set(!0), mr(e).then(() => {
3962
+ Se.set(e);
3935
3963
  }).finally(() => {
3936
- clearTimeout(r), ze.set(!1);
3964
+ clearTimeout(r), Fe.set(!1);
3937
3965
  });
3938
3966
  }
3939
- return Ae.set(e);
3940
- }, k = Ii(Ci({}, Ae), {
3941
- set: Ni
3942
- }), Me = (e) => {
3967
+ return Se.set(e);
3968
+ }, G = Ii(Oi({}, Se), {
3969
+ set: Ci
3970
+ }), Ce = (e) => {
3943
3971
  const t = /* @__PURE__ */ Object.create(null);
3944
3972
  return (n) => {
3945
3973
  const i = JSON.stringify(n);
3946
3974
  return i in t ? t[i] : t[i] = e(n);
3947
3975
  };
3948
3976
  };
3949
- var Mi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
3977
+ var Mi = Object.defineProperty, Be = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
3950
3978
  for (var r in t || (t = {}))
3951
3979
  dr.call(t, r) && Pt(e, r, t[r]);
3952
- if (Pe)
3953
- for (var r of Pe(t))
3980
+ if (Be)
3981
+ for (var r of Be(t))
3954
3982
  pr.call(t, r) && Pt(e, r, t[r]);
3955
3983
  return e;
3956
- }, ee = (e, t) => {
3984
+ }, K = (e, t) => {
3957
3985
  var r = {};
3958
3986
  for (var n in e)
3959
3987
  dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3960
- if (e != null && Pe)
3961
- for (var n of Pe(e))
3988
+ if (e != null && Be)
3989
+ for (var n of Be(e))
3962
3990
  t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
3963
3991
  return r;
3964
3992
  };
3965
- const ae = (e, t) => {
3966
- const { formats: r } = Y();
3993
+ const oe = (e, t) => {
3994
+ const { formats: r } = Q();
3967
3995
  if (e in r && t in r[e])
3968
3996
  return r[e][t];
3969
3997
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3970
- }, Li = Me(
3998
+ }, Ni = Ce(
3971
3999
  (e) => {
3972
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4000
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3973
4001
  if (r == null)
3974
4002
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3975
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4003
+ return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3976
4004
  }
3977
- ), $i = Me(
4005
+ ), Li = Ce(
3978
4006
  (e) => {
3979
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4007
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3980
4008
  if (r == null)
3981
4009
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3982
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4010
+ return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3983
4011
  }
3984
- ), Ri = Me(
4012
+ ), $i = Ce(
3985
4013
  (e) => {
3986
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4014
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3987
4015
  if (r == null)
3988
4016
  throw new Error(
3989
4017
  '[svelte-i18n] A "locale" must be set to format time values'
3990
4018
  );
3991
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4019
+ return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3992
4020
  }
3993
- ), Di = (e = {}) => {
4021
+ ), Ri = (e = {}) => {
3994
4022
  var t = e, {
3995
- locale: r = U()
3996
- } = t, n = ee(t, [
4023
+ locale: r = D()
4024
+ } = t, n = K(t, [
3997
4025
  "locale"
3998
4026
  ]);
3999
- return Li(ot({ locale: r }, n));
4000
- }, Ui = (e = {}) => {
4027
+ return Ni(ot({ locale: r }, n));
4028
+ }, Di = (e = {}) => {
4001
4029
  var t = e, {
4002
- locale: r = U()
4003
- } = t, n = ee(t, [
4030
+ locale: r = D()
4031
+ } = t, n = K(t, [
4004
4032
  "locale"
4005
4033
  ]);
4006
- return $i(ot({ locale: r }, n));
4007
- }, Gi = (e = {}) => {
4034
+ return Li(ot({ locale: r }, n));
4035
+ }, Ui = (e = {}) => {
4008
4036
  var t = e, {
4009
- locale: r = U()
4010
- } = t, n = ee(t, [
4037
+ locale: r = D()
4038
+ } = t, n = K(t, [
4011
4039
  "locale"
4012
4040
  ]);
4013
- return Ri(ot({ locale: r }, n));
4014
- }, ki = Me(
4041
+ return $i(ot({ locale: r }, n));
4042
+ }, Gi = Ce(
4015
4043
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4016
- (e, t = U()) => new ur(e, t, Y().formats, {
4017
- ignoreTag: Y().ignoreTag
4044
+ (e, t = D()) => new ur(e, t, Q().formats, {
4045
+ ignoreTag: Q().ignoreTag
4018
4046
  })
4019
- ), Fi = (e, t = {}) => {
4047
+ ), ki = (e, t = {}) => {
4020
4048
  var r, n, i, s;
4021
4049
  let o = t;
4022
4050
  typeof e == "object" && (o = e, e = o.id);
4023
4051
  const {
4024
4052
  values: a,
4025
- locale: l = U(),
4053
+ locale: l = D(),
4026
4054
  default: u
4027
4055
  } = o;
4028
4056
  if (l == null)
@@ -4031,7 +4059,7 @@ const ae = (e, t) => {
4031
4059
  );
4032
4060
  let h = lr(e, l);
4033
4061
  if (!h)
4034
- h = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4062
+ 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;
4035
4063
  else if (typeof h != "string")
4036
4064
  return console.warn(
4037
4065
  `[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.`
@@ -4040,7 +4068,7 @@ const ae = (e, t) => {
4040
4068
  return h;
4041
4069
  let f = h;
4042
4070
  try {
4043
- f = ki(h, l).format(a);
4071
+ f = Gi(h, l).format(a);
4044
4072
  } catch (c) {
4045
4073
  c instanceof Error && console.warn(
4046
4074
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4048,18 +4076,18 @@ const ae = (e, t) => {
4048
4076
  );
4049
4077
  }
4050
4078
  return f;
4051
- }, ji = (e, t) => Gi(t).format(e), zi = (e, t) => Ui(t).format(e), Vi = (e, t) => Di(t).format(e), Xi = (e, t = U()) => lr(e, t), Wi = K([k, le], () => Fi);
4052
- K([k], () => ji);
4053
- K([k], () => zi);
4054
- K([k], () => Vi);
4055
- K([k, le], () => Xi);
4056
- function Zi(e, t) {
4079
+ }, Fi = (e, t) => Ui(t).format(e), ji = (e, t) => Di(t).format(e), zi = (e, t) => Ri(t).format(e), Vi = (e, t = D()) => lr(e, t), Xi = Y([G, ue], () => ki);
4080
+ Y([G], () => Fi);
4081
+ Y([G], () => ji);
4082
+ Y([G], () => zi);
4083
+ Y([G, ue], () => Vi);
4084
+ function Wi(e, t) {
4057
4085
  if (e) {
4058
4086
  const r = document.createElement("style");
4059
4087
  r.innerHTML = t, e.appendChild(r);
4060
4088
  }
4061
4089
  }
4062
- function Ji(e, t) {
4090
+ function Zi(e, t) {
4063
4091
  const r = new URL(t);
4064
4092
  fetch(r.href).then((n) => n.text()).then((n) => {
4065
4093
  const i = document.createElement("style");
@@ -4068,7 +4096,7 @@ function Ji(e, t) {
4068
4096
  console.error("There was an error while trying to load client styling from URL", n);
4069
4097
  });
4070
4098
  }
4071
- function qi(e, t, r) {
4099
+ function Ji(e, t, r) {
4072
4100
  if (window.emMessageBus) {
4073
4101
  const n = document.createElement("style");
4074
4102
  window.emMessageBus.subscribe(t, (i) => {
@@ -4079,12 +4107,12 @@ function qi(e, t, r) {
4079
4107
  function Ot(e, t) {
4080
4108
  cr(e, t);
4081
4109
  }
4082
- function Qi(e) {
4083
- Hi({
4110
+ function qi(e) {
4111
+ wi({
4084
4112
  fallbackLocale: "en"
4085
- }), k.set(e);
4113
+ }), G.set(e);
4086
4114
  }
4087
- const Ct = {
4115
+ const It = {
4088
4116
  en: {
4089
4117
  errorGeneralTitle: "Error Occurred",
4090
4118
  errorGeneralText: "Something went wrong",
@@ -4138,18 +4166,18 @@ const Ct = {
4138
4166
  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."
4139
4167
  }
4140
4168
  };
4141
- function Yi(e) {
4169
+ function Qi(e) {
4142
4170
  Ar(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}");
4143
4171
  }
4144
- const Ki = (e) => ({}), It = (e) => ({}), es = (e) => ({}), Nt = (e) => ({}), ts = (e) => ({}), Mt = (e) => ({}), rs = (e) => ({}), Lt = (e) => ({ class: "CashierErrorIcon" });
4145
- function ns(e) {
4172
+ const Yi = (e) => ({}), Ct = (e) => ({}), Ki = (e) => ({}), Mt = (e) => ({}), es = (e) => ({}), Nt = (e) => ({}), ts = (e) => ({}), Lt = (e) => ({ class: "CashierErrorIcon" });
4173
+ function rs(e) {
4146
4174
  let t;
4147
4175
  return {
4148
4176
  c() {
4149
- t = P("div"), R(t, "class", "ImagePlaceholder Error");
4177
+ t = P("div"), $(t, "class", "ImagePlaceholder Error");
4150
4178
  },
4151
4179
  m(r, n) {
4152
- D(r, t, n);
4180
+ R(r, t, n);
4153
4181
  },
4154
4182
  p: A,
4155
4183
  d(r) {
@@ -4157,32 +4185,32 @@ function ns(e) {
4157
4185
  }
4158
4186
  };
4159
4187
  }
4160
- function is(e) {
4188
+ function ns(e) {
4161
4189
  let t, r;
4162
4190
  return {
4163
4191
  c() {
4164
4192
  t = P("ui-image"), mt(t.src, r = `${/*assetsurl*/
4165
- e[0]}/error-general-icon.png`) || fe(t, "src", r), fe(t, "width", "300px"), fe(t, "alt", "error");
4193
+ e[0]}/error-general-icon.png`) || ce(t, "src", r), ce(t, "width", "300px"), ce(t, "alt", "error");
4166
4194
  },
4167
4195
  m(n, i) {
4168
- D(n, t, i);
4196
+ R(n, t, i);
4169
4197
  },
4170
4198
  p(n, i) {
4171
4199
  i & /*assetsurl*/
4172
4200
  1 && !mt(t.src, r = `${/*assetsurl*/
4173
- n[0]}/error-general-icon.png`) && fe(t, "src", r);
4201
+ n[0]}/error-general-icon.png`) && ce(t, "src", r);
4174
4202
  },
4175
4203
  d(n) {
4176
4204
  n && O(t);
4177
4205
  }
4178
4206
  };
4179
4207
  }
4180
- function ss(e) {
4208
+ function is(e) {
4181
4209
  let t;
4182
4210
  function r(s, o) {
4183
4211
  return (
4184
4212
  /*assetsurl*/
4185
- s[0] ? is : ns
4213
+ s[0] ? ns : rs
4186
4214
  );
4187
4215
  }
4188
4216
  let n = r(e), i = n(e);
@@ -4191,7 +4219,7 @@ function ss(e) {
4191
4219
  i.c(), t = Or();
4192
4220
  },
4193
4221
  m(s, o) {
4194
- i.m(s, o), D(s, t, o);
4222
+ i.m(s, o), R(s, t, o);
4195
4223
  },
4196
4224
  p(s, o) {
4197
4225
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
@@ -4201,29 +4229,29 @@ function ss(e) {
4201
4229
  }
4202
4230
  };
4203
4231
  }
4204
- function os(e) {
4232
+ function ss(e) {
4205
4233
  let t, r = (
4206
4234
  /*$_*/
4207
4235
  e[4]("errorGeneralTitle") + ""
4208
4236
  ), n;
4209
4237
  return {
4210
4238
  c() {
4211
- t = P("span"), n = ue(r), R(t, "class", "CashierErrorTitle");
4239
+ t = P("span"), n = ae(r), $(t, "class", "CashierErrorTitle");
4212
4240
  },
4213
4241
  m(i, s) {
4214
- D(i, t, s), N(t, n);
4242
+ R(i, t, s), C(t, n);
4215
4243
  },
4216
4244
  p(i, s) {
4217
4245
  s & /*$_*/
4218
4246
  16 && r !== (r = /*$_*/
4219
- i[4]("errorGeneralTitle") + "") && it(n, r);
4247
+ i[4]("errorGeneralTitle") + "") && rt(n, r);
4220
4248
  },
4221
4249
  d(i) {
4222
4250
  i && O(t);
4223
4251
  }
4224
4252
  };
4225
4253
  }
4226
- function as(e) {
4254
+ function os(e) {
4227
4255
  let t, r = (
4228
4256
  /*$_*/
4229
4257
  e[4](`${/*errorcode*/
@@ -4231,16 +4259,16 @@ function as(e) {
4231
4259
  ), n;
4232
4260
  return {
4233
4261
  c() {
4234
- t = P("span"), n = ue(r), R(t, "class", "CashierErrorText");
4262
+ t = P("span"), n = ae(r), $(t, "class", "CashierErrorText");
4235
4263
  },
4236
4264
  m(i, s) {
4237
- D(i, t, s), N(t, n);
4265
+ R(i, t, s), C(t, n);
4238
4266
  },
4239
4267
  p(i, s) {
4240
4268
  s & /*$_, errorcode*/
4241
4269
  20 && r !== (r = /*$_*/
4242
4270
  i[4](`${/*errorcode*/
4243
- i[2] || "errorGeneralText"}`) + "") && it(n, r);
4271
+ i[2] || "errorGeneralText"}`) + "") && rt(n, r);
4244
4272
  },
4245
4273
  d(i) {
4246
4274
  i && O(t);
@@ -4252,13 +4280,13 @@ function $t(e) {
4252
4280
  const r = (
4253
4281
  /*#slots*/
4254
4282
  e[12].button
4255
- ), n = pe(
4283
+ ), n = de(
4256
4284
  r,
4257
4285
  e,
4258
4286
  /*$$scope*/
4259
4287
  e[11],
4260
- It
4261
- ), i = n || us(e);
4288
+ Ct
4289
+ ), i = n || as(e);
4262
4290
  return {
4263
4291
  c() {
4264
4292
  i && i.c();
@@ -4274,42 +4302,42 @@ function $t(e) {
4274
4302
  s,
4275
4303
  /*$$scope*/
4276
4304
  s[11],
4277
- t ? ge(
4305
+ t ? pe(
4278
4306
  r,
4279
4307
  /*$$scope*/
4280
4308
  s[11],
4281
4309
  o,
4282
- Ki
4283
- ) : ye(
4310
+ Yi
4311
+ ) : ge(
4284
4312
  /*$$scope*/
4285
4313
  s[11]
4286
4314
  ),
4287
- It
4315
+ Ct
4288
4316
  ) : i && i.p && (!t || o & /*$_*/
4289
4317
  16) && i.p(s, t ? o : -1);
4290
4318
  },
4291
4319
  i(s) {
4292
- t || (L(i, s), t = !0);
4320
+ t || (N(i, s), t = !0);
4293
4321
  },
4294
4322
  o(s) {
4295
- X(i, s), t = !1;
4323
+ V(i, s), t = !1;
4296
4324
  },
4297
4325
  d(s) {
4298
4326
  i && i.d(s);
4299
4327
  }
4300
4328
  };
4301
4329
  }
4302
- function us(e) {
4330
+ function as(e) {
4303
4331
  let t, r, n = (
4304
4332
  /*$_*/
4305
4333
  e[4]("errorGeneralButton") + ""
4306
4334
  ), i, s, o;
4307
4335
  return {
4308
4336
  c() {
4309
- t = P("button"), r = P("span"), i = ue(n), R(t, "class", "CashierErrorButton");
4337
+ t = P("button"), r = P("span"), i = ae(n), $(t, "class", "CashierErrorButton");
4310
4338
  },
4311
4339
  m(a, l) {
4312
- D(a, t, l), N(t, r), N(r, i), s || (o = Ve(
4340
+ R(a, t, l), C(t, r), C(r, i), s || (o = je(
4313
4341
  t,
4314
4342
  "click",
4315
4343
  /*close*/
@@ -4319,135 +4347,135 @@ function us(e) {
4319
4347
  p(a, l) {
4320
4348
  l & /*$_*/
4321
4349
  16 && n !== (n = /*$_*/
4322
- a[4]("errorGeneralButton") + "") && it(i, n);
4350
+ a[4]("errorGeneralButton") + "") && rt(i, n);
4323
4351
  },
4324
4352
  d(a) {
4325
4353
  a && O(t), s = !1, o();
4326
4354
  }
4327
4355
  };
4328
4356
  }
4329
- function ls(e) {
4357
+ function us(e) {
4330
4358
  let t, r, n, i, s, o;
4331
4359
  const a = (
4332
4360
  /*#slots*/
4333
4361
  e[12].icon
4334
- ), l = pe(
4362
+ ), l = de(
4335
4363
  a,
4336
4364
  e,
4337
4365
  /*$$scope*/
4338
4366
  e[11],
4339
4367
  Lt
4340
- ), u = l || ss(e), h = (
4368
+ ), u = l || is(e), h = (
4341
4369
  /*#slots*/
4342
4370
  e[12].title
4343
- ), f = pe(
4371
+ ), f = de(
4344
4372
  h,
4345
4373
  e,
4346
4374
  /*$$scope*/
4347
4375
  e[11],
4348
- Mt
4349
- ), c = f || os(e), y = (
4376
+ Nt
4377
+ ), c = f || ss(e), y = (
4350
4378
  /*#slots*/
4351
4379
  e[12].text
4352
- ), m = pe(
4380
+ ), m = de(
4353
4381
  y,
4354
4382
  e,
4355
4383
  /*$$scope*/
4356
4384
  e[11],
4357
- Nt
4358
- ), b = m || as(e);
4385
+ Mt
4386
+ ), g = m || os(e);
4359
4387
  let p = (!/*hidebuttons*/
4360
4388
  e[1] || /*hidebuttons*/
4361
4389
  e[1] === "false") && $t(e);
4362
4390
  return {
4363
4391
  c() {
4364
- t = P("div"), r = P("div"), u && u.c(), n = $e(), c && c.c(), i = $e(), b && b.c(), s = $e(), p && p.c(), R(r, "class", "CashierErrorContent"), R(t, "class", "CashierError");
4392
+ t = P("div"), r = P("div"), u && u.c(), n = Ne(), c && c.c(), i = Ne(), g && g.c(), s = Ne(), p && p.c(), $(r, "class", "CashierErrorContent"), $(t, "class", "CashierError");
4365
4393
  },
4366
- m(d, v) {
4367
- D(d, t, v), N(t, r), u && u.m(r, null), N(r, n), c && c.m(r, null), N(r, i), b && b.m(r, null), N(r, s), p && p.m(r, null), e[13](t), o = !0;
4394
+ m(d, x) {
4395
+ R(d, t, x), C(t, r), u && u.m(r, null), C(r, n), c && c.m(r, null), C(r, i), g && g.m(r, null), C(r, s), p && p.m(r, null), e[13](t), o = !0;
4368
4396
  },
4369
- p(d, [v]) {
4370
- l ? l.p && (!o || v & /*$$scope*/
4397
+ p(d, [x]) {
4398
+ l ? l.p && (!o || x & /*$$scope*/
4371
4399
  2048) && be(
4372
4400
  l,
4373
4401
  a,
4374
4402
  d,
4375
4403
  /*$$scope*/
4376
4404
  d[11],
4377
- o ? ge(
4405
+ o ? pe(
4378
4406
  a,
4379
4407
  /*$$scope*/
4380
4408
  d[11],
4381
- v,
4382
- rs
4383
- ) : ye(
4409
+ x,
4410
+ ts
4411
+ ) : ge(
4384
4412
  /*$$scope*/
4385
4413
  d[11]
4386
4414
  ),
4387
4415
  Lt
4388
- ) : u && u.p && (!o || v & /*assetsurl*/
4389
- 1) && u.p(d, o ? v : -1), f ? f.p && (!o || v & /*$$scope*/
4416
+ ) : u && u.p && (!o || x & /*assetsurl*/
4417
+ 1) && u.p(d, o ? x : -1), f ? f.p && (!o || x & /*$$scope*/
4390
4418
  2048) && be(
4391
4419
  f,
4392
4420
  h,
4393
4421
  d,
4394
4422
  /*$$scope*/
4395
4423
  d[11],
4396
- o ? ge(
4424
+ o ? pe(
4397
4425
  h,
4398
4426
  /*$$scope*/
4399
4427
  d[11],
4400
- v,
4401
- ts
4402
- ) : ye(
4428
+ x,
4429
+ es
4430
+ ) : ge(
4403
4431
  /*$$scope*/
4404
4432
  d[11]
4405
4433
  ),
4406
- Mt
4407
- ) : c && c.p && (!o || v & /*$_*/
4408
- 16) && c.p(d, o ? v : -1), m ? m.p && (!o || v & /*$$scope*/
4434
+ Nt
4435
+ ) : c && c.p && (!o || x & /*$_*/
4436
+ 16) && c.p(d, o ? x : -1), m ? m.p && (!o || x & /*$$scope*/
4409
4437
  2048) && be(
4410
4438
  m,
4411
4439
  y,
4412
4440
  d,
4413
4441
  /*$$scope*/
4414
4442
  d[11],
4415
- o ? ge(
4443
+ o ? pe(
4416
4444
  y,
4417
4445
  /*$$scope*/
4418
4446
  d[11],
4419
- v,
4420
- es
4421
- ) : ye(
4447
+ x,
4448
+ Ki
4449
+ ) : ge(
4422
4450
  /*$$scope*/
4423
4451
  d[11]
4424
4452
  ),
4425
- Nt
4426
- ) : b && b.p && (!o || v & /*$_, errorcode*/
4427
- 20) && b.p(d, o ? v : -1), !/*hidebuttons*/
4453
+ Mt
4454
+ ) : g && g.p && (!o || x & /*$_, errorcode*/
4455
+ 20) && g.p(d, o ? x : -1), !/*hidebuttons*/
4428
4456
  d[1] || /*hidebuttons*/
4429
- d[1] === "false" ? p ? (p.p(d, v), v & /*hidebuttons*/
4430
- 2 && L(p, 1)) : (p = $t(d), p.c(), L(p, 1), p.m(r, null)) : p && (Xr(), X(p, 1, 1, () => {
4457
+ d[1] === "false" ? p ? (p.p(d, x), x & /*hidebuttons*/
4458
+ 2 && N(p, 1)) : (p = $t(d), p.c(), N(p, 1), p.m(r, null)) : p && (Xr(), V(p, 1, 1, () => {
4431
4459
  p = null;
4432
4460
  }), Wr());
4433
4461
  },
4434
4462
  i(d) {
4435
- o || (L(u, d), L(c, d), L(b, d), L(p), o = !0);
4463
+ o || (N(u, d), N(c, d), N(g, d), N(p), o = !0);
4436
4464
  },
4437
4465
  o(d) {
4438
- X(u, d), X(c, d), X(b, d), X(p), o = !1;
4466
+ V(u, d), V(c, d), V(g, d), V(p), o = !1;
4439
4467
  },
4440
4468
  d(d) {
4441
- d && O(t), u && u.d(d), c && c.d(d), b && b.d(d), p && p.d(), e[13](null);
4469
+ d && O(t), u && u.d(d), c && c.d(d), g && g.d(d), p && p.d(), e[13](null);
4442
4470
  }
4443
4471
  };
4444
4472
  }
4445
- function hs(e, t, r) {
4473
+ function ls(e, t, r) {
4446
4474
  let n;
4447
- Hr(e, Wi, (g) => r(4, n = g));
4475
+ Hr(e, Xi, (b) => r(4, n = b));
4448
4476
  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;
4449
- const b = () => {
4450
- Qi(a);
4477
+ const g = () => {
4478
+ qi(a);
4451
4479
  }, p = () => {
4452
4480
  fetch(c).then((w) => w.json()).then((w) => {
4453
4481
  Object.keys(w).forEach((H) => {
@@ -4457,27 +4485,27 @@ function hs(e, t, r) {
4457
4485
  console.error(w);
4458
4486
  });
4459
4487
  };
4460
- Object.keys(Ct).forEach((g) => {
4461
- Ot(g, Ct[g]);
4488
+ Object.keys(It).forEach((b) => {
4489
+ Ot(b, It[b]);
4462
4490
  });
4463
4491
  const d = () => {
4464
4492
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4465
4493
  };
4466
4494
  Gr(() => () => {
4467
4495
  });
4468
- function v(g) {
4469
- Xe[g ? "unshift" : "push"](() => {
4470
- m = g, r(3, m);
4496
+ function x(b) {
4497
+ ze[b ? "unshift" : "push"](() => {
4498
+ m = b, r(3, m);
4471
4499
  });
4472
4500
  }
4473
- return e.$$set = (g) => {
4474
- "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);
4501
+ return e.$$set = (b) => {
4502
+ "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);
4475
4503
  }, e.$$.update = () => {
4476
4504
  e.$$.dirty & /*lang*/
4477
- 64 && a && b(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4478
- 136 && h && m && Zi(m, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4479
- 264 && f && m && Ji(m, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4480
- 1032 && y && m && qi(m, `${y}.Style`), e.$$.dirty & /*translationurl*/
4505
+ 64 && a && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4506
+ 136 && h && m && Wi(m, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4507
+ 264 && f && m && Zi(m, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4508
+ 1032 && y && m && Ji(m, `${y}.Style`), e.$$.dirty & /*translationurl*/
4481
4509
  512 && c && p();
4482
4510
  }, [
4483
4511
  o,
@@ -4493,16 +4521,16 @@ function hs(e, t, r) {
4493
4521
  y,
4494
4522
  s,
4495
4523
  i,
4496
- v
4524
+ x
4497
4525
  ];
4498
4526
  }
4499
- class gr extends en {
4527
+ class br extends en {
4500
4528
  constructor(t) {
4501
4529
  super(), Yr(
4502
4530
  this,
4503
4531
  t,
4504
- hs,
4505
4532
  ls,
4533
+ us,
4506
4534
  Dt,
4507
4535
  {
4508
4536
  assetsurl: 0,
@@ -4514,117 +4542,121 @@ class gr extends en {
4514
4542
  translationurl: 9,
4515
4543
  mbsource: 10
4516
4544
  },
4517
- Yi
4545
+ Qi
4518
4546
  );
4519
4547
  }
4520
4548
  get assetsurl() {
4521
4549
  return this.$$.ctx[0];
4522
4550
  }
4523
4551
  set assetsurl(t) {
4524
- this.$$set({ assetsurl: t }), C();
4552
+ this.$$set({ assetsurl: t }), I();
4525
4553
  }
4526
4554
  get lang() {
4527
4555
  return this.$$.ctx[6];
4528
4556
  }
4529
4557
  set lang(t) {
4530
- this.$$set({ lang: t }), C();
4558
+ this.$$set({ lang: t }), I();
4531
4559
  }
4532
4560
  get hidebuttons() {
4533
4561
  return this.$$.ctx[1];
4534
4562
  }
4535
4563
  set hidebuttons(t) {
4536
- this.$$set({ hidebuttons: t }), C();
4564
+ this.$$set({ hidebuttons: t }), I();
4537
4565
  }
4538
4566
  get errorcode() {
4539
4567
  return this.$$.ctx[2];
4540
4568
  }
4541
4569
  set errorcode(t) {
4542
- this.$$set({ errorcode: t }), C();
4570
+ this.$$set({ errorcode: t }), I();
4543
4571
  }
4544
4572
  get clientstyling() {
4545
4573
  return this.$$.ctx[7];
4546
4574
  }
4547
4575
  set clientstyling(t) {
4548
- this.$$set({ clientstyling: t }), C();
4576
+ this.$$set({ clientstyling: t }), I();
4549
4577
  }
4550
4578
  get clientstylingurl() {
4551
4579
  return this.$$.ctx[8];
4552
4580
  }
4553
4581
  set clientstylingurl(t) {
4554
- this.$$set({ clientstylingurl: t }), C();
4582
+ this.$$set({ clientstylingurl: t }), I();
4555
4583
  }
4556
4584
  get translationurl() {
4557
4585
  return this.$$.ctx[9];
4558
4586
  }
4559
4587
  set translationurl(t) {
4560
- this.$$set({ translationurl: t }), C();
4588
+ this.$$set({ translationurl: t }), I();
4561
4589
  }
4562
4590
  get mbsource() {
4563
4591
  return this.$$.ctx[10];
4564
4592
  }
4565
4593
  set mbsource(t) {
4566
- this.$$set({ mbsource: t }), C();
4594
+ this.$$set({ mbsource: t }), I();
4567
4595
  }
4568
4596
  }
4569
- Kr(gr, { assetsurl: {}, lang: {}, hidebuttons: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4570
- const Hs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4597
+ Kr(br, { assetsurl: {}, lang: {}, hidebuttons: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4598
+ const Ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4571
4599
  __proto__: null,
4572
- default: gr
4600
+ default: br
4573
4601
  }, Symbol.toStringTag, { value: "Module" }));
4574
4602
  export {
4575
- k as $,
4576
- bs as A,
4577
- Xe as B,
4603
+ G as $,
4604
+ fs as A,
4605
+ Or as B,
4578
4606
  vs as C,
4579
- Ts as D,
4580
- ds as E,
4607
+ ae as D,
4608
+ rt as E,
4581
4609
  mt as F,
4582
- gs as G,
4583
- G as H,
4584
- ys as I,
4585
- ps as J,
4586
- _s as K,
4587
- Wi as L,
4588
- Zi as M,
4589
- Ji as N,
4590
- qi as O,
4591
- xr as P,
4592
- X as Q,
4593
- L as R,
4610
+ ce as G,
4611
+ bs as H,
4612
+ ze as I,
4613
+ Wi as J,
4614
+ xs as K,
4615
+ ps as L,
4616
+ ms as M,
4617
+ U as N,
4618
+ gs as O,
4619
+ Xi as P,
4620
+ ds as Q,
4621
+ ys as R,
4594
4622
  en as S,
4595
- Xr as T,
4596
- Wr as U,
4597
- pe as V,
4598
- xs as W,
4599
- be as X,
4600
- ye as Y,
4601
- ge as Z,
4602
- Es as _,
4623
+ xr as T,
4624
+ N as U,
4625
+ V,
4626
+ Wr as W,
4627
+ de as X,
4628
+ _s as Y,
4629
+ be as Z,
4630
+ ws as _,
4603
4631
  cr as a,
4604
- Hs as a0,
4605
- Yr as b,
4606
- ws as c,
4607
- Kr as d,
4608
- Ar as e,
4609
- C as f,
4632
+ ge as a0,
4633
+ pe as a1,
4634
+ Es as a2,
4635
+ Xr as a3,
4636
+ Ss as a4,
4637
+ Re as b,
4638
+ Hs as c,
4639
+ Oe as d,
4640
+ Ts as e,
4641
+ Yr as f,
4610
4642
  nn as g,
4611
- He as h,
4612
- Hi as i,
4613
- O as j,
4614
- D as k,
4615
- N as l,
4616
- Ve as m,
4617
- A as n,
4618
- ms as o,
4619
- P as p,
4620
- $e as q,
4621
- R as r,
4643
+ I as h,
4644
+ wi as i,
4645
+ Kr as j,
4646
+ Ar as k,
4647
+ we as l,
4648
+ P as m,
4649
+ Ne as n,
4650
+ $ as o,
4651
+ R as p,
4652
+ C as q,
4653
+ je as r,
4622
4654
  Dt as s,
4623
- Hr as t,
4624
- Gr as u,
4625
- Or as v,
4626
- Ce as w,
4627
- it as x,
4628
- fe as y,
4629
- ue as z
4655
+ A as t,
4656
+ O as u,
4657
+ Hr as v,
4658
+ Pe as w,
4659
+ Gr as x,
4660
+ Zi as y,
4661
+ Ji as z
4630
4662
  };