@everymatrix/cashier-method-details 1.77.26 → 1.77.28

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