@everymatrix/cashier-receipt-page 1.98.8 → 1.98.9

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.
@@ -9,7 +9,7 @@ var jt = (e, t, n) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writ
9
9
  for (var n of Pn(t))
10
10
  yi.call(t, n) && jt(e, n, t[n]);
11
11
  return e;
12
- }, An = (e, t) => mi(e, gi(t));
12
+ }, kn = (e, t) => mi(e, gi(t));
13
13
  var ve = (e, t, n) => (jt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
14
  var Gt = (e, t, n) => new Promise((r, i) => {
15
15
  var o = (u) => {
@@ -41,10 +41,10 @@ function vi(e, t) {
41
41
  function br(e) {
42
42
  return e();
43
43
  }
44
- function In() {
44
+ function An() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function Ae(e) {
47
+ function ke(e) {
48
48
  e.forEach(br);
49
49
  }
50
50
  function ct(e) {
@@ -54,7 +54,7 @@ function yr(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
56
  let bt;
57
- function Ln(e, t) {
57
+ function In(e, t) {
58
58
  return e === t ? !0 : (bt || (bt = document.createElement("a")), bt.href = t, e === bt.href);
59
59
  }
60
60
  function Ci(e) {
@@ -81,7 +81,7 @@ function Oa(e, t, n, r) {
81
81
  function Cr(e, t, n, r) {
82
82
  return e[1] && r ? vi(n.ctx.slice(), e[1](r(t))) : n.ctx;
83
83
  }
84
- function Ra(e, t, n, r) {
84
+ function Da(e, t, n, r) {
85
85
  if (e[2] && r) {
86
86
  const i = e[2](r(n));
87
87
  if (t.dirty === void 0)
@@ -96,7 +96,7 @@ function Ra(e, t, n, r) {
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function Da(e, t, n, r, i, o) {
99
+ function Ra(e, t, n, r, i, o) {
100
100
  if (i) {
101
101
  const s = Cr(t, n, r, o);
102
102
  e.p(s, i);
@@ -192,7 +192,7 @@ function st(e, t, n, r) {
192
192
  function h(e, t, n) {
193
193
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
194
194
  }
195
- function z(e, t, n) {
195
+ function W(e, t, n) {
196
196
  const r = t.toLowerCase();
197
197
  r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : h(e, t, n);
198
198
  }
@@ -232,8 +232,8 @@ function Hr(e, t, n, r, i, o, s, a = 0) {
232
232
  let l = `{
233
233
  `;
234
234
  for (let B = 0; B <= 1; B += u) {
235
- const I = t + (n - t) * o(B);
236
- l += B * 100 + `%{${s(I, 1 - I)}}
235
+ const A = t + (n - t) * o(B);
236
+ l += B * 100 + `%{${s(A, 1 - A)}}
237
237
  `;
238
238
  }
239
239
  const c = l + `100% {${s(n, 1 - n)}}
@@ -242,7 +242,7 @@ function Hr(e, t, n, r, i, o, s, a = 0) {
242
242
  const d = e.style.animation || "";
243
243
  return e.style.animation = `${d ? `${d}, ` : ""}${f} ${r}ms linear ${i}ms 1 both`, Ht += 1, f;
244
244
  }
245
- function qt(e, t) {
245
+ function Kt(e, t) {
246
246
  const n = (e.style.animation || "").split(", "), r = n.filter(
247
247
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
248
248
  // remove all Svelte animations
@@ -266,17 +266,17 @@ function Pi() {
266
266
  throw new Error("Function called outside component initialization");
267
267
  return at;
268
268
  }
269
- function Ai(e) {
269
+ function ki(e) {
270
270
  Pi().$$.on_mount.push(e);
271
271
  }
272
272
  const Ue = [], Mt = [];
273
273
  let Fe = [];
274
- const kn = [], Ii = /* @__PURE__ */ Promise.resolve();
275
- let Kt = !1;
276
- function Li() {
277
- Kt || (Kt = !0, Ii.then(Y));
274
+ const Ln = [], Ai = /* @__PURE__ */ Promise.resolve();
275
+ let Qt = !1;
276
+ function Ii() {
277
+ Qt || (Qt = !0, Ai.then(Y));
278
278
  }
279
- function We(e) {
279
+ function ze(e) {
280
280
  Fe.push(e);
281
281
  }
282
282
  const Ft = /* @__PURE__ */ new Set();
@@ -289,7 +289,7 @@ function Y() {
289
289
  try {
290
290
  for (; $e < Ue.length; ) {
291
291
  const t = Ue[$e];
292
- $e++, ot(t), ki(t.$$);
292
+ $e++, ot(t), Li(t.$$);
293
293
  }
294
294
  } catch (t) {
295
295
  throw Ue.length = 0, $e = 0, t;
@@ -302,15 +302,15 @@ function Y() {
302
302
  }
303
303
  Fe.length = 0;
304
304
  } while (Ue.length);
305
- for (; kn.length; )
306
- kn.pop()();
307
- Kt = !1, Ft.clear(), ot(e);
305
+ for (; Ln.length; )
306
+ Ln.pop()();
307
+ Qt = !1, Ft.clear(), ot(e);
308
308
  }
309
- function ki(e) {
309
+ function Li(e) {
310
310
  if (e.fragment !== null) {
311
- e.update(), Ae(e.before_update);
311
+ e.update(), ke(e.before_update);
312
312
  const t = e.dirty;
313
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
313
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
314
314
  }
315
315
  }
316
316
  function Oi(e) {
@@ -328,7 +328,7 @@ function Bt(e, t, n) {
328
328
  }
329
329
  const Ct = /* @__PURE__ */ new Set();
330
330
  let Be;
331
- function Ri() {
331
+ function Di() {
332
332
  Be = {
333
333
  r: 0,
334
334
  c: [],
@@ -336,8 +336,8 @@ function Ri() {
336
336
  // parent group
337
337
  };
338
338
  }
339
- function Di() {
340
- Be.r || Ae(Be.c), Be = Be.p;
339
+ function Ri() {
340
+ Be.r || ke(Be.c), Be = Be.p;
341
341
  }
342
342
  function Jt(e, t) {
343
343
  e && e.i && (Ct.delete(e), e.i(t));
@@ -357,7 +357,7 @@ function Ni(e, t, n) {
357
357
  const r = { direction: "in" };
358
358
  let i = t(e, n, r), o = !1, s, a, u = 0;
359
359
  function l() {
360
- s && qt(e, s);
360
+ s && Kt(e, s);
361
361
  }
362
362
  function c() {
363
363
  const {
@@ -368,13 +368,13 @@ function Ni(e, t, n) {
368
368
  css: B
369
369
  } = i || Br;
370
370
  B && (s = Hr(e, 0, 1, g, m, v, B, u++)), d(0, 1);
371
- const I = wr() + m, N = I + g;
372
- a && a.abort(), o = !0, We(() => Bt(e, !0, "start")), a = Tr((A) => {
371
+ const A = wr() + m, N = A + g;
372
+ a && a.abort(), o = !0, ze(() => Bt(e, !0, "start")), a = Tr((k) => {
373
373
  if (o) {
374
- if (A >= N)
374
+ if (k >= N)
375
375
  return d(1, 0), Bt(e, !0, "end"), l(), o = !1;
376
- if (A >= I) {
377
- const Z = v((A - I) / g);
376
+ if (k >= A) {
377
+ const Z = v((k - A) / g);
378
378
  d(Z, 1 - Z);
379
379
  }
380
380
  }
@@ -384,7 +384,7 @@ function Ni(e, t, n) {
384
384
  let f = !1;
385
385
  return {
386
386
  start() {
387
- f || (f = !0, qt(e), ct(i) ? (i = i(r), Mr().then(c)) : c());
387
+ f || (f = !0, Kt(e), ct(i) ? (i = i(r), Mr().then(c)) : c());
388
388
  },
389
389
  invalidate() {
390
390
  f = !1;
@@ -410,13 +410,13 @@ function Ui(e, t, n) {
410
410
  } = i || Br;
411
411
  v && (s = Hr(e, 1, 0, f, c, m, v));
412
412
  const d = wr() + c, B = d + f;
413
- We(() => Bt(e, !1, "start")), "inert" in e && (u = /** @type {HTMLElement} */
414
- e.inert, e.inert = !0), Tr((I) => {
413
+ ze(() => Bt(e, !1, "start")), "inert" in e && (u = /** @type {HTMLElement} */
414
+ e.inert, e.inert = !0), Tr((A) => {
415
415
  if (o) {
416
- if (I >= B)
417
- return g(0, 1), Bt(e, !1, "end"), --a.r || Ae(a.c), !1;
418
- if (I >= d) {
419
- const N = m((I - d) / f);
416
+ if (A >= B)
417
+ return g(0, 1), Bt(e, !1, "end"), --a.r || ke(a.c), !1;
418
+ if (A >= d) {
419
+ const N = m((A - d) / f);
420
420
  g(1 - N, N);
421
421
  }
422
422
  }
@@ -427,7 +427,7 @@ function Ui(e, t, n) {
427
427
  i = i(r), l();
428
428
  }) : l(), {
429
429
  end(c) {
430
- c && "inert" in e && (e.inert = u), c && i.tick && i.tick(1, 0), o && (s && qt(e, s), o = !1);
430
+ c && "inert" in e && (e.inert = u), c && i.tick && i.tick(1, 0), o && (s && Kt(e, s), o = !1);
431
431
  }
432
432
  };
433
433
  }
@@ -436,19 +436,19 @@ function Pt(e) {
436
436
  }
437
437
  function ji(e, t, n) {
438
438
  const { fragment: r, after_update: i } = e.$$;
439
- r && r.m(t, n), We(() => {
439
+ r && r.m(t, n), ze(() => {
440
440
  const o = e.$$.on_mount.map(br).filter(ct);
441
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ae(o), e.$$.on_mount = [];
442
- }), i.forEach(We);
441
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ke(o), e.$$.on_mount = [];
442
+ }), i.forEach(ze);
443
443
  }
444
444
  function Gi(e, t) {
445
445
  const n = e.$$;
446
- n.fragment !== null && (Oi(n.after_update), Ae(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
446
+ n.fragment !== null && (Oi(n.after_update), ke(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
447
447
  }
448
448
  function Fi(e, t) {
449
- e.$$.dirty[0] === -1 && (Ue.push(e), Li(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
449
+ e.$$.dirty[0] === -1 && (Ue.push(e), Ii(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
450
450
  }
451
- function Wi(e, t, n, r, i, o, s = null, a = [-1]) {
451
+ function zi(e, t, n, r, i, o, s = null, a = [-1]) {
452
452
  const u = at;
453
453
  ot(e);
454
454
  const l = e.$$ = {
@@ -458,7 +458,7 @@ function Wi(e, t, n, r, i, o, s = null, a = [-1]) {
458
458
  props: o,
459
459
  update: ie,
460
460
  not_equal: i,
461
- bound: In(),
461
+ bound: An(),
462
462
  // lifecycle
463
463
  on_mount: [],
464
464
  on_destroy: [],
@@ -467,7 +467,7 @@ function Wi(e, t, n, r, i, o, s = null, a = [-1]) {
467
467
  after_update: [],
468
468
  context: new Map(t.context || (u ? u.$$.context : [])),
469
469
  // everything else
470
- callbacks: In(),
470
+ callbacks: An(),
471
471
  dirty: a,
472
472
  skip_bound: !1,
473
473
  root: t.target || u.$$.root
@@ -477,7 +477,7 @@ function Wi(e, t, n, r, i, o, s = null, a = [-1]) {
477
477
  if (l.ctx = n ? n(e, t.props || {}, (f, m, ...g) => {
478
478
  const v = g.length ? g[0] : m;
479
479
  return l.ctx && i(l.ctx[f], l.ctx[f] = v) && (!l.skip_bound && l.bound[f] && l.bound[f](v), c && Fi(e, f)), m;
480
- }) : [], l.update(), c = !0, Ae(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
480
+ }) : [], l.update(), c = !0, ke(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
481
481
  if (t.hydrate) {
482
482
  const f = Ti(t.target);
483
483
  l.fragment && l.fragment.l(f), f.forEach(M);
@@ -560,7 +560,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
560
560
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
561
561
  this.$$c = new this.$$ctor({
562
562
  target: this.shadowRoot || this,
563
- props: An(gt({}, this.$$d), {
563
+ props: kn(gt({}, this.$$d), {
564
564
  $$slots: n,
565
565
  $$scope: {
566
566
  ctx: []
@@ -638,7 +638,7 @@ function _t(e, t, n, r) {
638
638
  return t;
639
639
  }
640
640
  }
641
- function zi(e, t, n, r, i, o) {
641
+ function Wi(e, t, n, r, i, o) {
642
642
  let s = class extends Pr {
643
643
  constructor() {
644
644
  super(e, n, i), this.$$p_d = t;
@@ -729,10 +729,10 @@ function On(e, { delay: t = 0, duration: n = 400, easing: r = mn } = {}) {
729
729
  const Ne = [];
730
730
  function Yi(e, t) {
731
731
  return {
732
- subscribe: Rt(e, t).subscribe
732
+ subscribe: Dt(e, t).subscribe
733
733
  };
734
734
  }
735
- function Rt(e, t = ie) {
735
+ function Dt(e, t = ie) {
736
736
  let n;
737
737
  const r = /* @__PURE__ */ new Set();
738
738
  function i(a) {
@@ -785,25 +785,25 @@ function Xe(e, t, n) {
785
785
  )
786
786
  );
787
787
  return u = !0, m(), function() {
788
- Ae(g), f(), u = !1;
788
+ ke(g), f(), u = !1;
789
789
  };
790
790
  });
791
791
  }
792
- var Ar = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
792
+ var kr = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
793
793
  function vn(e) {
794
794
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
795
795
  }
796
796
  var Xi = function(t) {
797
- return Qi(t) && !qi(t);
797
+ return qi(t) && !Ki(t);
798
798
  };
799
- function Qi(e) {
799
+ function qi(e) {
800
800
  return !!e && typeof e == "object";
801
801
  }
802
- function qi(e) {
802
+ function Ki(e) {
803
803
  var t = Object.prototype.toString.call(e);
804
804
  return t === "[object RegExp]" || t === "[object Date]" || eo(e);
805
805
  }
806
- var Ki = typeof Symbol == "function" && Symbol.for, Ji = Ki ? Symbol.for("react.element") : 60103;
806
+ var Qi = typeof Symbol == "function" && Symbol.for, Ji = Qi ? Symbol.for("react.element") : 60103;
807
807
  function eo(e) {
808
808
  return e.$$typeof === Ji;
809
809
  }
@@ -811,7 +811,7 @@ function to(e) {
811
811
  return Array.isArray(e) ? [] : {};
812
812
  }
813
813
  function ut(e, t) {
814
- return t.clone !== !1 && t.isMergeableObject(e) ? ze(to(e), e, t) : e;
814
+ return t.clone !== !1 && t.isMergeableObject(e) ? We(to(e), e, t) : e;
815
815
  }
816
816
  function no(e, t, n) {
817
817
  return e.concat(t).map(function(r) {
@@ -820,19 +820,19 @@ function no(e, t, n) {
820
820
  }
821
821
  function ro(e, t) {
822
822
  if (!t.customMerge)
823
- return ze;
823
+ return We;
824
824
  var n = t.customMerge(e);
825
- return typeof n == "function" ? n : ze;
825
+ return typeof n == "function" ? n : We;
826
826
  }
827
827
  function io(e) {
828
828
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
829
829
  return Object.propertyIsEnumerable.call(e, t);
830
830
  }) : [];
831
831
  }
832
- function Rn(e) {
832
+ function Dn(e) {
833
833
  return Object.keys(e).concat(io(e));
834
834
  }
835
- function Ir(e, t) {
835
+ function Ar(e, t) {
836
836
  try {
837
837
  return t in e;
838
838
  } catch (n) {
@@ -840,29 +840,29 @@ function Ir(e, t) {
840
840
  }
841
841
  }
842
842
  function oo(e, t) {
843
- return Ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
843
+ return Ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
844
844
  }
845
845
  function so(e, t, n) {
846
846
  var r = {};
847
- return n.isMergeableObject(e) && Rn(e).forEach(function(i) {
847
+ return n.isMergeableObject(e) && Dn(e).forEach(function(i) {
848
848
  r[i] = ut(e[i], n);
849
- }), Rn(t).forEach(function(i) {
850
- oo(e, i) || (Ir(e, i) && n.isMergeableObject(t[i]) ? r[i] = ro(i, n)(e[i], t[i], n) : r[i] = ut(t[i], n));
849
+ }), Dn(t).forEach(function(i) {
850
+ oo(e, i) || (Ar(e, i) && n.isMergeableObject(t[i]) ? r[i] = ro(i, n)(e[i], t[i], n) : r[i] = ut(t[i], n));
851
851
  }), r;
852
852
  }
853
- function ze(e, t, n) {
853
+ function We(e, t, n) {
854
854
  n = n || {}, n.arrayMerge = n.arrayMerge || no, n.isMergeableObject = n.isMergeableObject || Xi, n.cloneUnlessOtherwiseSpecified = ut;
855
855
  var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
856
856
  return o ? r ? n.arrayMerge(e, t, n) : so(e, t, n) : ut(t, n);
857
857
  }
858
- ze.all = function(t, n) {
858
+ We.all = function(t, n) {
859
859
  if (!Array.isArray(t))
860
860
  throw new Error("first argument should be an array");
861
861
  return t.reduce(function(r, i) {
862
- return ze(r, i, n);
862
+ return We(r, i, n);
863
863
  }, {});
864
864
  };
865
- var ao = ze, uo = ao;
865
+ var ao = We, uo = ao;
866
866
  const lo = /* @__PURE__ */ vn(uo);
867
867
  var en = function(e, t) {
868
868
  return en = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
@@ -872,7 +872,7 @@ var en = function(e, t) {
872
872
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
873
873
  }, en(e, t);
874
874
  };
875
- function Dt(e, t) {
875
+ function Rt(e, t) {
876
876
  if (typeof t != "function" && t !== null)
877
877
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
878
878
  en(e, t);
@@ -900,13 +900,13 @@ function co(e, t) {
900
900
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
901
901
  return n;
902
902
  }
903
- function Wt(e, t, n) {
903
+ function zt(e, t, n) {
904
904
  if (n || arguments.length === 2)
905
905
  for (var r = 0, i = t.length, o; r < i; r++)
906
906
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
907
907
  return e.concat(o || Array.prototype.slice.call(t));
908
908
  }
909
- function zt(e, t) {
909
+ function Wt(e, t) {
910
910
  var n = t && t.cache ? t.cache : yo, r = t && t.serializer ? t.serializer : go, i = t && t.strategy ? t.strategy : po;
911
911
  return i(e, {
912
912
  cache: n,
@@ -920,19 +920,19 @@ function ho(e, t, n, r) {
920
920
  var i = fo(r) ? r : n(r), o = t.get(i);
921
921
  return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
922
922
  }
923
- function Lr(e, t, n) {
923
+ function Ir(e, t, n) {
924
924
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
925
925
  return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
926
926
  }
927
- function kr(e, t, n, r, i) {
927
+ function Lr(e, t, n, r, i) {
928
928
  return n.bind(t, e, r, i);
929
929
  }
930
930
  function po(e, t) {
931
- var n = e.length === 1 ? ho : Lr;
932
- return kr(e, this, n, t.cache.create(), t.serializer);
931
+ var n = e.length === 1 ? ho : Ir;
932
+ return Lr(e, this, n, t.cache.create(), t.serializer);
933
933
  }
934
934
  function mo(e, t) {
935
- return kr(e, this, Lr, t.cache.create(), t.serializer);
935
+ return Lr(e, this, Ir, t.cache.create(), t.serializer);
936
936
  }
937
937
  var go = function() {
938
938
  return JSON.stringify(arguments);
@@ -954,20 +954,20 @@ var go = function() {
954
954
  }
955
955
  }, Vt = {
956
956
  variadic: mo
957
- }, At = function() {
958
- return At = Object.assign || function(t) {
957
+ }, kt = function() {
958
+ return kt = Object.assign || function(t) {
959
959
  for (var n, r = 1, i = arguments.length; r < i; r++) {
960
960
  n = arguments[r];
961
961
  for (var o in n)
962
962
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
963
963
  }
964
964
  return t;
965
- }, At.apply(this, arguments);
965
+ }, kt.apply(this, arguments);
966
966
  };
967
- var R;
967
+ var D;
968
968
  (function(e) {
969
969
  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";
970
- })(R || (R = {}));
970
+ })(D || (D = {}));
971
971
  var J;
972
972
  (function(e) {
973
973
  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";
@@ -976,7 +976,7 @@ var Ve;
976
976
  (function(e) {
977
977
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
978
978
  })(Ve || (Ve = {}));
979
- function Dn(e) {
979
+ function Rn(e) {
980
980
  return e.type === J.literal;
981
981
  }
982
982
  function vo(e) {
@@ -985,10 +985,10 @@ function vo(e) {
985
985
  function Or(e) {
986
986
  return e.type === J.number;
987
987
  }
988
- function Rr(e) {
988
+ function Dr(e) {
989
989
  return e.type === J.date;
990
990
  }
991
- function Dr(e) {
991
+ function Rr(e) {
992
992
  return e.type === J.time;
993
993
  }
994
994
  function $r(e) {
@@ -1133,14 +1133,14 @@ function To(e) {
1133
1133
  function So(e) {
1134
1134
  return e.replace(/^(.*?)-/, "");
1135
1135
  }
1136
- var $n = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, Eo = /(\*)(0+)|(#+)(0+)|(0+)/g, Wr = /^(0+)$/;
1136
+ var $n = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, Eo = /(\*)(0+)|(#+)(0+)|(0+)/g, zr = /^(0+)$/;
1137
1137
  function Nn(e) {
1138
1138
  var t = {};
1139
1139
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(n, r, i) {
1140
1140
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1141
1141
  }), t;
1142
1142
  }
1143
- function zr(e) {
1143
+ function Wr(e) {
1144
1144
  switch (e) {
1145
1145
  case "sign-auto":
1146
1146
  return {
@@ -1188,14 +1188,14 @@ function Ho(e) {
1188
1188
  notation: "scientific"
1189
1189
  }, e = e.slice(1)), t) {
1190
1190
  var n = e.slice(0, 2);
1191
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wr.test(e))
1191
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zr.test(e))
1192
1192
  throw new Error("Malformed concise eng/scientific notation");
1193
1193
  t.minimumIntegerDigits = e.length;
1194
1194
  }
1195
1195
  return t;
1196
1196
  }
1197
1197
  function Un(e) {
1198
- var t = {}, n = zr(e);
1198
+ var t = {}, n = Wr(e);
1199
1199
  return n || t;
1200
1200
  }
1201
1201
  function Mo(e) {
@@ -1297,7 +1297,7 @@ function Mo(e) {
1297
1297
  });
1298
1298
  continue;
1299
1299
  }
1300
- if (Wr.test(i.stem)) {
1300
+ if (zr.test(i.stem)) {
1301
1301
  t.minimumIntegerDigits = i.stem.length;
1302
1302
  continue;
1303
1303
  }
@@ -1315,7 +1315,7 @@ function Mo(e) {
1315
1315
  t = ee(ee({}, t), Nn(i.stem));
1316
1316
  continue;
1317
1317
  }
1318
- var s = zr(i.stem);
1318
+ var s = Wr(i.stem);
1319
1319
  s && (t = ee(ee({}, t), s));
1320
1320
  var a = Ho(i.stem);
1321
1321
  a && (t = ee(ee({}, t), a));
@@ -2775,11 +2775,11 @@ function Po(e) {
2775
2775
  var i = yt[r || ""] || yt[n || ""] || yt["".concat(n, "-001")] || yt["001"];
2776
2776
  return i[0];
2777
2777
  }
2778
- var Zt, Ao = new RegExp("^".concat(Gr.source, "*")), Io = new RegExp("".concat(Gr.source, "*$"));
2778
+ var Zt, ko = new RegExp("^".concat(Gr.source, "*")), Ao = new RegExp("".concat(Gr.source, "*$"));
2779
2779
  function $(e, t) {
2780
2780
  return { start: e, end: t };
2781
2781
  }
2782
- var Lo = !!String.prototype.startsWith && "_a".startsWith("a", 1), ko = !!String.fromCodePoint, Oo = !!Object.fromEntries, Ro = !!String.prototype.codePointAt, Do = !!String.prototype.trimStart, $o = !!String.prototype.trimEnd, No = !!Number.isSafeInteger, Uo = No ? Number.isSafeInteger : function(e) {
2782
+ var Io = !!String.prototype.startsWith && "_a".startsWith("a", 1), Lo = !!String.fromCodePoint, Oo = !!Object.fromEntries, Do = !!String.prototype.codePointAt, Ro = !!String.prototype.trimStart, $o = !!String.prototype.trimEnd, No = !!Number.isSafeInteger, Uo = No ? Number.isSafeInteger : function(e) {
2783
2783
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2784
2784
  }, nn = !0;
2785
2785
  try {
@@ -2788,7 +2788,7 @@ try {
2788
2788
  } catch (e) {
2789
2789
  nn = !1;
2790
2790
  }
2791
- var jn = Lo ? (
2791
+ var jn = Io ? (
2792
2792
  // Native
2793
2793
  function(t, n, r) {
2794
2794
  return t.startsWith(n, r);
@@ -2798,7 +2798,7 @@ var jn = Lo ? (
2798
2798
  function(t, n, r) {
2799
2799
  return t.slice(r, r + n.length) === n;
2800
2800
  }
2801
- ), rn = ko ? String.fromCodePoint : (
2801
+ ), rn = Lo ? String.fromCodePoint : (
2802
2802
  // IE11
2803
2803
  function() {
2804
2804
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -2822,7 +2822,7 @@ var jn = Lo ? (
2822
2822
  return n;
2823
2823
  }
2824
2824
  )
2825
- ), Vr = Ro ? (
2825
+ ), Vr = Do ? (
2826
2826
  // Native
2827
2827
  function(t, n) {
2828
2828
  return t.codePointAt(n);
@@ -2836,7 +2836,7 @@ var jn = Lo ? (
2836
2836
  return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2837
2837
  }
2838
2838
  }
2839
- ), Go = Do ? (
2839
+ ), Go = Ro ? (
2840
2840
  // Native
2841
2841
  function(t) {
2842
2842
  return t.trimStart();
@@ -2844,7 +2844,7 @@ var jn = Lo ? (
2844
2844
  ) : (
2845
2845
  // Ponyfill
2846
2846
  function(t) {
2847
- return t.replace(Ao, "");
2847
+ return t.replace(ko, "");
2848
2848
  }
2849
2849
  ), Fo = $o ? (
2850
2850
  // Native
@@ -2854,7 +2854,7 @@ var jn = Lo ? (
2854
2854
  ) : (
2855
2855
  // Ponyfill
2856
2856
  function(t) {
2857
- return t.replace(Io, "");
2857
+ return t.replace(Ao, "");
2858
2858
  }
2859
2859
  );
2860
2860
  function Zr(e, t) {
@@ -2879,7 +2879,7 @@ if (nn) {
2879
2879
  }
2880
2880
  return rn.apply(void 0, r);
2881
2881
  };
2882
- var Wo = (
2882
+ var zo = (
2883
2883
  /** @class */
2884
2884
  function() {
2885
2885
  function e(t, n) {
@@ -2909,7 +2909,7 @@ var Wo = (
2909
2909
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2910
2910
  if (r)
2911
2911
  break;
2912
- return this.error(R.UNMATCHED_CLOSING_TAG, $(this.clonePosition(), this.clonePosition()));
2912
+ return this.error(D.UNMATCHED_CLOSING_TAG, $(this.clonePosition(), this.clonePosition()));
2913
2913
  } else if (o === 60 && !this.ignoreTag && sn(this.peek() || 0)) {
2914
2914
  var s = this.parseTag(t, n);
2915
2915
  if (s.err)
@@ -2944,9 +2944,9 @@ var Wo = (
2944
2944
  var s = o.val, a = this.clonePosition();
2945
2945
  if (this.bumpIf("</")) {
2946
2946
  if (this.isEOF() || !sn(this.char()))
2947
- return this.error(R.INVALID_TAG, $(a, this.clonePosition()));
2947
+ return this.error(D.INVALID_TAG, $(a, this.clonePosition()));
2948
2948
  var u = this.clonePosition(), l = this.parseTagName();
2949
- return i !== l ? this.error(R.UNMATCHED_CLOSING_TAG, $(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2949
+ return i !== l ? this.error(D.UNMATCHED_CLOSING_TAG, $(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2950
2950
  val: {
2951
2951
  type: J.tag,
2952
2952
  value: i,
@@ -2954,11 +2954,11 @@ var Wo = (
2954
2954
  location: $(r, this.clonePosition())
2955
2955
  },
2956
2956
  err: null
2957
- } : this.error(R.INVALID_TAG, $(a, this.clonePosition())));
2957
+ } : this.error(D.INVALID_TAG, $(a, this.clonePosition())));
2958
2958
  } else
2959
- return this.error(R.UNCLOSED_TAG, $(r, this.clonePosition()));
2959
+ return this.error(D.UNCLOSED_TAG, $(r, this.clonePosition()));
2960
2960
  } else
2961
- return this.error(R.INVALID_TAG, $(r, this.clonePosition()));
2961
+ return this.error(D.INVALID_TAG, $(r, this.clonePosition()));
2962
2962
  }, e.prototype.parseTagName = function() {
2963
2963
  var t = this.offset();
2964
2964
  for (this.bump(); !this.isEOF() && Vo(this.char()); )
@@ -2990,7 +2990,7 @@ var Wo = (
2990
2990
  };
2991
2991
  }, e.prototype.tryParseLeftAngleBracket = function() {
2992
2992
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2993
- !zo(this.peek() || 0)) ? (this.bump(), "<") : null;
2993
+ !Wo(this.peek() || 0)) ? (this.bump(), "<") : null;
2994
2994
  }, e.prototype.tryParseQuote = function(t) {
2995
2995
  if (this.isEOF() || this.char() !== 39)
2996
2996
  return null;
@@ -3033,14 +3033,14 @@ var Wo = (
3033
3033
  }, e.prototype.parseArgument = function(t, n) {
3034
3034
  var r = this.clonePosition();
3035
3035
  if (this.bump(), this.bumpSpace(), this.isEOF())
3036
- return this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE, $(r, this.clonePosition()));
3036
+ return this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE, $(r, this.clonePosition()));
3037
3037
  if (this.char() === 125)
3038
- return this.bump(), this.error(R.EMPTY_ARGUMENT, $(r, this.clonePosition()));
3038
+ return this.bump(), this.error(D.EMPTY_ARGUMENT, $(r, this.clonePosition()));
3039
3039
  var i = this.parseIdentifierIfPossible().value;
3040
3040
  if (!i)
3041
- return this.error(R.MALFORMED_ARGUMENT, $(r, this.clonePosition()));
3041
+ return this.error(D.MALFORMED_ARGUMENT, $(r, this.clonePosition()));
3042
3042
  if (this.bumpSpace(), this.isEOF())
3043
- return this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE, $(r, this.clonePosition()));
3043
+ return this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE, $(r, this.clonePosition()));
3044
3044
  switch (this.char()) {
3045
3045
  case 125:
3046
3046
  return this.bump(), {
@@ -3053,9 +3053,9 @@ var Wo = (
3053
3053
  err: null
3054
3054
  };
3055
3055
  case 44:
3056
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE, $(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3056
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE, $(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3057
3057
  default:
3058
- return this.error(R.MALFORMED_ARGUMENT, $(r, this.clonePosition()));
3058
+ return this.error(D.MALFORMED_ARGUMENT, $(r, this.clonePosition()));
3059
3059
  }
3060
3060
  }, e.prototype.parseIdentifierIfPossible = function() {
3061
3061
  var t = this.clonePosition(), n = this.offset(), r = on(this.message, n), i = n + r.length;
@@ -3066,7 +3066,7 @@ var Wo = (
3066
3066
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3067
3067
  switch (a) {
3068
3068
  case "":
3069
- return this.error(R.EXPECT_ARGUMENT_TYPE, $(s, u));
3069
+ return this.error(D.EXPECT_ARGUMENT_TYPE, $(s, u));
3070
3070
  case "number":
3071
3071
  case "date":
3072
3072
  case "time": {
@@ -3079,7 +3079,7 @@ var Wo = (
3079
3079
  return f;
3080
3080
  var m = Fo(f.val);
3081
3081
  if (m.length === 0)
3082
- return this.error(R.EXPECT_ARGUMENT_STYLE, $(this.clonePosition(), this.clonePosition()));
3082
+ return this.error(D.EXPECT_ARGUMENT_STYLE, $(this.clonePosition(), this.clonePosition()));
3083
3083
  var g = $(c, this.clonePosition());
3084
3084
  l = { style: m, styleLocation: g };
3085
3085
  }
@@ -3097,14 +3097,14 @@ var Wo = (
3097
3097
  };
3098
3098
  } else {
3099
3099
  if (B.length === 0)
3100
- return this.error(R.EXPECT_DATE_TIME_SKELETON, d);
3101
- var I = B;
3102
- this.locale && (I = Bo(B, this.locale));
3100
+ return this.error(D.EXPECT_DATE_TIME_SKELETON, d);
3101
+ var A = B;
3102
+ this.locale && (A = Bo(B, this.locale));
3103
3103
  var m = {
3104
3104
  type: Ve.dateTime,
3105
- pattern: I,
3105
+ pattern: A,
3106
3106
  location: l.styleLocation,
3107
- parsedOptions: this.shouldParseSkeletons ? wo(I) : {}
3107
+ parsedOptions: this.shouldParseSkeletons ? wo(A) : {}
3108
3108
  }, N = a === "date" ? J.date : J.time;
3109
3109
  return {
3110
3110
  val: { type: N, value: r, location: d, style: m },
@@ -3125,23 +3125,23 @@ var Wo = (
3125
3125
  case "plural":
3126
3126
  case "selectordinal":
3127
3127
  case "select": {
3128
- var A = this.clonePosition();
3128
+ var k = this.clonePosition();
3129
3129
  if (this.bumpSpace(), !this.bumpIf(","))
3130
- return this.error(R.EXPECT_SELECT_ARGUMENT_OPTIONS, $(A, At({}, A)));
3130
+ return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, $(k, kt({}, k)));
3131
3131
  this.bumpSpace();
3132
3132
  var Z = this.parseIdentifierIfPossible(), X = 0;
3133
3133
  if (a !== "select" && Z.value === "offset") {
3134
3134
  if (!this.bumpIf(":"))
3135
- return this.error(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, $(this.clonePosition(), this.clonePosition()));
3135
+ return this.error(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, $(this.clonePosition(), this.clonePosition()));
3136
3136
  this.bumpSpace();
3137
- var f = this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, R.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3137
+ var f = this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, D.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3138
3138
  if (f.err)
3139
3139
  return f;
3140
3140
  this.bumpSpace(), Z = this.parseIdentifierIfPossible(), X = f.val;
3141
3141
  }
3142
- var L = this.tryParsePluralOrSelectOptions(t, a, n, Z);
3143
- if (L.err)
3144
- return L;
3142
+ var I = this.tryParsePluralOrSelectOptions(t, a, n, Z);
3143
+ if (I.err)
3144
+ return I;
3145
3145
  var v = this.tryParseArgumentClose(i);
3146
3146
  if (v.err)
3147
3147
  return v;
@@ -3150,7 +3150,7 @@ var Wo = (
3150
3150
  val: {
3151
3151
  type: J.select,
3152
3152
  value: r,
3153
- options: Gn(L.val),
3153
+ options: Gn(I.val),
3154
3154
  location: F
3155
3155
  },
3156
3156
  err: null
@@ -3158,7 +3158,7 @@ var Wo = (
3158
3158
  val: {
3159
3159
  type: J.plural,
3160
3160
  value: r,
3161
- options: Gn(L.val),
3161
+ options: Gn(I.val),
3162
3162
  offset: X,
3163
3163
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3164
3164
  location: F
@@ -3167,10 +3167,10 @@ var Wo = (
3167
3167
  };
3168
3168
  }
3169
3169
  default:
3170
- return this.error(R.INVALID_ARGUMENT_TYPE, $(s, u));
3170
+ return this.error(D.INVALID_ARGUMENT_TYPE, $(s, u));
3171
3171
  }
3172
3172
  }, e.prototype.tryParseArgumentClose = function(t) {
3173
- return this.isEOF() || this.char() !== 125 ? this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE, $(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3173
+ return this.isEOF() || this.char() !== 125 ? this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE, $(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3174
3174
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3175
3175
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3176
3176
  var r = this.char();
@@ -3179,7 +3179,7 @@ var Wo = (
3179
3179
  this.bump();
3180
3180
  var i = this.clonePosition();
3181
3181
  if (!this.bumpUntil("'"))
3182
- return this.error(R.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, $(i, this.clonePosition()));
3182
+ return this.error(D.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, $(i, this.clonePosition()));
3183
3183
  this.bump();
3184
3184
  break;
3185
3185
  }
@@ -3211,7 +3211,7 @@ var Wo = (
3211
3211
  try {
3212
3212
  r = To(t);
3213
3213
  } catch (i) {
3214
- return this.error(R.INVALID_NUMBER_SKELETON, n);
3214
+ return this.error(D.INVALID_NUMBER_SKELETON, n);
3215
3215
  }
3216
3216
  return {
3217
3217
  val: {
@@ -3227,7 +3227,7 @@ var Wo = (
3227
3227
  if (l.length === 0) {
3228
3228
  var f = this.clonePosition();
3229
3229
  if (n !== "select" && this.bumpIf("=")) {
3230
- var m = this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_SELECTOR, R.INVALID_PLURAL_ARGUMENT_SELECTOR);
3230
+ var m = this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_SELECTOR, D.INVALID_PLURAL_ARGUMENT_SELECTOR);
3231
3231
  if (m.err)
3232
3232
  return m;
3233
3233
  c = $(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
@@ -3235,11 +3235,11 @@ var Wo = (
3235
3235
  break;
3236
3236
  }
3237
3237
  if (u.has(l))
3238
- return this.error(n === "select" ? R.DUPLICATE_SELECT_ARGUMENT_SELECTOR : R.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3238
+ return this.error(n === "select" ? D.DUPLICATE_SELECT_ARGUMENT_SELECTOR : D.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3239
3239
  l === "other" && (s = !0), this.bumpSpace();
3240
3240
  var g = this.clonePosition();
3241
3241
  if (!this.bumpIf("{"))
3242
- return this.error(n === "select" ? R.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : R.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, $(this.clonePosition(), this.clonePosition()));
3242
+ return this.error(n === "select" ? D.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : D.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, $(this.clonePosition(), this.clonePosition()));
3243
3243
  var v = this.parseMessage(t + 1, n, r);
3244
3244
  if (v.err)
3245
3245
  return v;
@@ -3254,7 +3254,7 @@ var Wo = (
3254
3254
  }
3255
3255
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3256
3256
  }
3257
- return a.length === 0 ? this.error(n === "select" ? R.EXPECT_SELECT_ARGUMENT_SELECTOR : R.EXPECT_PLURAL_ARGUMENT_SELECTOR, $(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(R.MISSING_OTHER_CLAUSE, $(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3257
+ return a.length === 0 ? this.error(n === "select" ? D.EXPECT_SELECT_ARGUMENT_SELECTOR : D.EXPECT_PLURAL_ARGUMENT_SELECTOR, $(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(D.MISSING_OTHER_CLAUSE, $(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3258
3258
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3259
3259
  var r = 1, i = this.clonePosition();
3260
3260
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
@@ -3335,7 +3335,7 @@ var Wo = (
3335
3335
  function sn(e) {
3336
3336
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3337
3337
  }
3338
- function zo(e) {
3338
+ function Wo(e) {
3339
3339
  return sn(e) || e === 47;
3340
3340
  }
3341
3341
  function Vo(e) {
@@ -3353,14 +3353,14 @@ function an(e) {
3353
3353
  for (var n in t.options)
3354
3354
  delete t.options[n].location, an(t.options[n].value);
3355
3355
  else
3356
- Or(t) && jr(t.style) || (Rr(t) || Dr(t)) && tn(t.style) ? delete t.style.location : Ur(t) && an(t.children);
3356
+ Or(t) && jr(t.style) || (Dr(t) || Rr(t)) && tn(t.style) ? delete t.style.location : Ur(t) && an(t.children);
3357
3357
  });
3358
3358
  }
3359
3359
  function Yo(e, t) {
3360
- t === void 0 && (t = {}), t = At({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3361
- var n = new Wo(e, t).parse();
3360
+ t === void 0 && (t = {}), t = kt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3361
+ var n = new zo(e, t).parse();
3362
3362
  if (n.err) {
3363
- var r = SyntaxError(R[n.err.kind]);
3363
+ var r = SyntaxError(D[n.err.kind]);
3364
3364
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3365
3365
  }
3366
3366
  return t != null && t.captureLocation || an(n.val), n.val;
@@ -3372,7 +3372,7 @@ var Ze;
3372
3372
  var $t = (
3373
3373
  /** @class */
3374
3374
  function(e) {
3375
- Dt(t, e);
3375
+ Rt(t, e);
3376
3376
  function t(n, r, i) {
3377
3377
  var o = e.call(this, n) || this;
3378
3378
  return o.code = r, o.originalMessage = i, o;
@@ -3381,10 +3381,10 @@ var $t = (
3381
3381
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3382
3382
  }, t;
3383
3383
  }(Error)
3384
- ), Wn = (
3384
+ ), zn = (
3385
3385
  /** @class */
3386
3386
  function(e) {
3387
- Dt(t, e);
3387
+ Rt(t, e);
3388
3388
  function t(n, r, i, o) {
3389
3389
  return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ze.INVALID_VALUE, o) || this;
3390
3390
  }
@@ -3393,16 +3393,16 @@ var $t = (
3393
3393
  ), Xo = (
3394
3394
  /** @class */
3395
3395
  function(e) {
3396
- Dt(t, e);
3396
+ Rt(t, e);
3397
3397
  function t(n, r, i) {
3398
3398
  return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Ze.INVALID_VALUE, i) || this;
3399
3399
  }
3400
3400
  return t;
3401
3401
  }($t)
3402
- ), Qo = (
3402
+ ), qo = (
3403
3403
  /** @class */
3404
3404
  function(e) {
3405
- Dt(t, e);
3405
+ Rt(t, e);
3406
3406
  function t(n, r) {
3407
3407
  return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Ze.MISSING_VALUE, r) || this;
3408
3408
  }
@@ -3412,17 +3412,17 @@ var $t = (
3412
3412
  (function(e) {
3413
3413
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3414
3414
  })(he || (he = {}));
3415
- function qo(e) {
3415
+ function Ko(e) {
3416
3416
  return e.length < 2 ? e : e.reduce(function(t, n) {
3417
3417
  var r = t[t.length - 1];
3418
3418
  return !r || r.type !== he.literal || n.type !== he.literal ? t.push(n) : r.value += n.value, t;
3419
3419
  }, []);
3420
3420
  }
3421
- function Ko(e) {
3421
+ function Qo(e) {
3422
3422
  return typeof e == "function";
3423
3423
  }
3424
3424
  function wt(e, t, n, r, i, o, s) {
3425
- if (e.length === 1 && Dn(e[0]))
3425
+ if (e.length === 1 && Rn(e[0]))
3426
3426
  return [
3427
3427
  {
3428
3428
  type: he.literal,
@@ -3431,7 +3431,7 @@ function wt(e, t, n, r, i, o, s) {
3431
3431
  ];
3432
3432
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3433
3433
  var c = l[u];
3434
- if (Dn(c)) {
3434
+ if (Rn(c)) {
3435
3435
  a.push({
3436
3436
  type: he.literal,
3437
3437
  value: c.value
@@ -3447,7 +3447,7 @@ function wt(e, t, n, r, i, o, s) {
3447
3447
  }
3448
3448
  var f = c.value;
3449
3449
  if (!(i && f in i))
3450
- throw new Qo(f, s);
3450
+ throw new qo(f, s);
3451
3451
  var m = i[f];
3452
3452
  if (vo(c)) {
3453
3453
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
@@ -3456,7 +3456,7 @@ function wt(e, t, n, r, i, o, s) {
3456
3456
  });
3457
3457
  continue;
3458
3458
  }
3459
- if (Rr(c)) {
3459
+ if (Dr(c)) {
3460
3460
  var g = typeof c.style == "string" ? r.date[c.style] : tn(c.style) ? c.style.parsedOptions : void 0;
3461
3461
  a.push({
3462
3462
  type: he.literal,
@@ -3464,7 +3464,7 @@ function wt(e, t, n, r, i, o, s) {
3464
3464
  });
3465
3465
  continue;
3466
3466
  }
3467
- if (Dr(c)) {
3467
+ if (Rr(c)) {
3468
3468
  var g = typeof c.style == "string" ? r.time[c.style] : tn(c.style) ? c.style.parsedOptions : r.time.medium;
3469
3469
  a.push({
3470
3470
  type: he.literal,
@@ -3482,9 +3482,9 @@ function wt(e, t, n, r, i, o, s) {
3482
3482
  }
3483
3483
  if (Ur(c)) {
3484
3484
  var v = c.children, d = c.value, B = i[d];
3485
- if (!Ko(B))
3485
+ if (!Qo(B))
3486
3486
  throw new Xo(d, "function", s);
3487
- var I = wt(v, t, n, r, i, o), N = B(I.map(function(X) {
3487
+ var A = wt(v, t, n, r, i, o), N = B(A.map(function(X) {
3488
3488
  return X.value;
3489
3489
  }));
3490
3490
  Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(X) {
@@ -3495,29 +3495,29 @@ function wt(e, t, n, r, i, o, s) {
3495
3495
  }));
3496
3496
  }
3497
3497
  if ($r(c)) {
3498
- var A = c.options[m] || c.options.other;
3499
- if (!A)
3500
- throw new Wn(c.value, m, Object.keys(c.options), s);
3501
- a.push.apply(a, wt(A.value, t, n, r, i));
3498
+ var k = c.options[m] || c.options.other;
3499
+ if (!k)
3500
+ throw new zn(c.value, m, Object.keys(c.options), s);
3501
+ a.push.apply(a, wt(k.value, t, n, r, i));
3502
3502
  continue;
3503
3503
  }
3504
3504
  if (Nr(c)) {
3505
- var A = c.options["=".concat(m)];
3506
- if (!A) {
3505
+ var k = c.options["=".concat(m)];
3506
+ if (!k) {
3507
3507
  if (!Intl.PluralRules)
3508
3508
  throw new $t(`Intl.PluralRules is not available in this environment.
3509
3509
  Try polyfilling it using "@formatjs/intl-pluralrules"
3510
3510
  `, Ze.MISSING_INTL_API, s);
3511
3511
  var Z = n.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3512
- A = c.options[Z] || c.options.other;
3512
+ k = c.options[Z] || c.options.other;
3513
3513
  }
3514
- if (!A)
3515
- throw new Wn(c.value, m, Object.keys(c.options), s);
3516
- a.push.apply(a, wt(A.value, t, n, r, i, m - (c.offset || 0)));
3514
+ if (!k)
3515
+ throw new zn(c.value, m, Object.keys(c.options), s);
3516
+ a.push.apply(a, wt(k.value, t, n, r, i, m - (c.offset || 0)));
3517
3517
  continue;
3518
3518
  }
3519
3519
  }
3520
- return qo(a);
3520
+ return Ko(a);
3521
3521
  }
3522
3522
  function Jo(e, t) {
3523
3523
  return t ? Te(Te(Te({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
@@ -3549,26 +3549,26 @@ function ts(e) {
3549
3549
  dateTime: {},
3550
3550
  pluralRules: {}
3551
3551
  }), {
3552
- getNumberFormat: zt(function() {
3552
+ getNumberFormat: Wt(function() {
3553
3553
  for (var t, n = [], r = 0; r < arguments.length; r++)
3554
3554
  n[r] = arguments[r];
3555
- return new ((t = Intl.NumberFormat).bind.apply(t, Wt([void 0], n, !1)))();
3555
+ return new ((t = Intl.NumberFormat).bind.apply(t, zt([void 0], n, !1)))();
3556
3556
  }, {
3557
3557
  cache: Yt(e.number),
3558
3558
  strategy: Vt.variadic
3559
3559
  }),
3560
- getDateTimeFormat: zt(function() {
3560
+ getDateTimeFormat: Wt(function() {
3561
3561
  for (var t, n = [], r = 0; r < arguments.length; r++)
3562
3562
  n[r] = arguments[r];
3563
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Wt([void 0], n, !1)))();
3563
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, zt([void 0], n, !1)))();
3564
3564
  }, {
3565
3565
  cache: Yt(e.dateTime),
3566
3566
  strategy: Vt.variadic
3567
3567
  }),
3568
- getPluralRules: zt(function() {
3568
+ getPluralRules: Wt(function() {
3569
3569
  for (var t, n = [], r = 0; r < arguments.length; r++)
3570
3570
  n[r] = arguments[r];
3571
- return new ((t = Intl.PluralRules).bind.apply(t, Wt([void 0], n, !1)))();
3571
+ return new ((t = Intl.PluralRules).bind.apply(t, zt([void 0], n, !1)))();
3572
3572
  }, {
3573
3573
  cache: Yt(e.pluralRules),
3574
3574
  strategy: Vt.variadic
@@ -3708,7 +3708,7 @@ function ns(e, t) {
3708
3708
  r = void 0;
3709
3709
  return r;
3710
3710
  }
3711
- const Pe = {}, rs = (e, t, n) => n && (t in Pe || (Pe[t] = {}), e in Pe[t] || (Pe[t][e] = n), n), Qr = (e, t) => {
3711
+ const Pe = {}, rs = (e, t, n) => n && (t in Pe || (Pe[t] = {}), e in Pe[t] || (Pe[t][e] = n), n), qr = (e, t) => {
3712
3712
  if (t == null)
3713
3713
  return;
3714
3714
  if (t in Pe && e in Pe[t])
@@ -3721,15 +3721,15 @@ const Pe = {}, rs = (e, t, n) => n && (t in Pe || (Pe[t] = {}), e in Pe[t] || (P
3721
3721
  }
3722
3722
  };
3723
3723
  let Cn;
3724
- const ft = Rt({});
3724
+ const ft = Dt({});
3725
3725
  function is(e) {
3726
3726
  return Cn[e] || null;
3727
3727
  }
3728
- function qr(e) {
3728
+ function Kr(e) {
3729
3729
  return e in Cn;
3730
3730
  }
3731
3731
  function os(e, t) {
3732
- if (!qr(e))
3732
+ if (!Kr(e))
3733
3733
  return null;
3734
3734
  const n = is(e);
3735
3735
  return ns(n, t);
@@ -3740,11 +3740,11 @@ function ss(e) {
3740
3740
  const t = ht(e);
3741
3741
  for (let n = 0; n < t.length; n++) {
3742
3742
  const r = t[n];
3743
- if (qr(r))
3743
+ if (Kr(r))
3744
3744
  return r;
3745
3745
  }
3746
3746
  }
3747
- function Kr(e, ...t) {
3747
+ function Qr(e, ...t) {
3748
3748
  delete Pe[e], ft.update((n) => (n[e] = lo.all([n[e] || {}, ...t]), n));
3749
3749
  }
3750
3750
  Xe(
@@ -3765,7 +3765,7 @@ function us(e) {
3765
3765
  return [t, n ? [...n] : []];
3766
3766
  }).filter(([, t]) => t.length > 0);
3767
3767
  }
3768
- function It(e) {
3768
+ function At(e) {
3769
3769
  return e == null ? !1 : ht(e).some(
3770
3770
  (t) => {
3771
3771
  var n;
@@ -3776,11 +3776,11 @@ function It(e) {
3776
3776
  function ls(e, t) {
3777
3777
  return Promise.all(
3778
3778
  t.map((r) => (as(e, r), r().then((i) => i.default || i)))
3779
- ).then((r) => Kr(e, ...r));
3779
+ ).then((r) => Qr(e, ...r));
3780
3780
  }
3781
3781
  const tt = {};
3782
3782
  function ei(e) {
3783
- if (!It(e))
3783
+ if (!At(e))
3784
3784
  return e in tt ? tt[e] : Promise.resolve();
3785
3785
  const t = us(e);
3786
3786
  return tt[e] = Promise.all(
@@ -3788,17 +3788,17 @@ function ei(e) {
3788
3788
  ([n, r]) => ls(n, r)
3789
3789
  )
3790
3790
  ).then(() => {
3791
- if (It(e))
3791
+ if (At(e))
3792
3792
  return ei(e);
3793
3793
  delete tt[e];
3794
3794
  }), tt[e];
3795
3795
  }
3796
- var zn = Object.getOwnPropertySymbols, cs = Object.prototype.hasOwnProperty, fs = Object.prototype.propertyIsEnumerable, hs = (e, t) => {
3796
+ var Wn = Object.getOwnPropertySymbols, cs = Object.prototype.hasOwnProperty, fs = Object.prototype.propertyIsEnumerable, hs = (e, t) => {
3797
3797
  var n = {};
3798
3798
  for (var r in e)
3799
3799
  cs.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3800
- if (e != null && zn)
3801
- for (var r of zn(e))
3800
+ if (e != null && Wn)
3801
+ for (var r of Wn(e))
3802
3802
  t.indexOf(r) < 0 && fs.call(e, r) && (n[r] = e[r]);
3803
3803
  return n;
3804
3804
  };
@@ -3836,7 +3836,7 @@ function ds({ locale: e, id: t }) {
3836
3836
  console.warn(
3837
3837
  `[svelte-i18n] The message "${t}" was not found in "${ht(
3838
3838
  e
3839
- ).join('", "')}".${It(Ie()) ? `
3839
+ ).join('", "')}".${At(Ae()) ? `
3840
3840
 
3841
3841
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3842
3842
  );
@@ -3865,9 +3865,9 @@ function gs(e) {
3865
3865
  }
3866
3866
  return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = ds : console.warn(
3867
3867
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3868
- )), Object.assign(nt, r, { initialLocale: i }), n && ("number" in n && Object.assign(nt.formats.number, n.number), "date" in n && Object.assign(nt.formats.date, n.date), "time" in n && Object.assign(nt.formats.time, n.time)), ke.set(i);
3868
+ )), Object.assign(nt, r, { initialLocale: i }), n && ("number" in n && Object.assign(nt.formats.number, n.number), "date" in n && Object.assign(nt.formats.date, n.date), "time" in n && Object.assign(nt.formats.time, n.time)), Le.set(i);
3869
3869
  }
3870
- const Xt = Rt(!1);
3870
+ const Xt = Dt(!1);
3871
3871
  var bs = Object.defineProperty, ys = Object.defineProperties, vs = Object.getOwnPropertyDescriptors, Vn = Object.getOwnPropertySymbols, Cs = Object.prototype.hasOwnProperty, _s = Object.prototype.propertyIsEnumerable, Zn = (e, t, n) => t in e ? bs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ws = (e, t) => {
3872
3872
  for (var n in t || (t = {}))
3873
3873
  Cs.call(t, n) && Zn(e, n, t[n]);
@@ -3877,7 +3877,7 @@ var bs = Object.defineProperty, ys = Object.defineProperties, vs = Object.getOwn
3877
3877
  return e;
3878
3878
  }, xs = (e, t) => ys(e, vs(t));
3879
3879
  let un;
3880
- const Lt = Rt(null);
3880
+ const It = Dt(null);
3881
3881
  function Yn(e) {
3882
3882
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3883
3883
  }
@@ -3885,27 +3885,27 @@ function ht(e, t = Ye().fallbackLocale) {
3885
3885
  const n = Yn(e);
3886
3886
  return t ? [.../* @__PURE__ */ new Set([...n, ...Yn(t)])] : n;
3887
3887
  }
3888
- function Ie() {
3888
+ function Ae() {
3889
3889
  return un != null ? un : void 0;
3890
3890
  }
3891
- Lt.subscribe((e) => {
3891
+ It.subscribe((e) => {
3892
3892
  un = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3893
3893
  });
3894
3894
  const Ts = (e) => {
3895
- if (e && ss(e) && It(e)) {
3895
+ if (e && ss(e) && At(e)) {
3896
3896
  const { loadingDelay: t } = Ye();
3897
3897
  let n;
3898
- return typeof window != "undefined" && Ie() != null && t ? n = window.setTimeout(
3898
+ return typeof window != "undefined" && Ae() != null && t ? n = window.setTimeout(
3899
3899
  () => Xt.set(!0),
3900
3900
  t
3901
3901
  ) : Xt.set(!0), ei(e).then(() => {
3902
- Lt.set(e);
3902
+ It.set(e);
3903
3903
  }).finally(() => {
3904
3904
  clearTimeout(n), Xt.set(!1);
3905
3905
  });
3906
3906
  }
3907
- return Lt.set(e);
3908
- }, ke = xs(ws({}, Lt), {
3907
+ return It.set(e);
3908
+ }, Le = xs(ws({}, It), {
3909
3909
  set: Ts
3910
3910
  }), Nt = (e) => {
3911
3911
  const t = /* @__PURE__ */ Object.create(null);
@@ -3914,19 +3914,19 @@ const Ts = (e) => {
3914
3914
  return i in t ? t[i] : t[i] = e(r);
3915
3915
  };
3916
3916
  };
3917
- var Ss = Object.defineProperty, kt = Object.getOwnPropertySymbols, ti = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, Xn = (e, t, n) => t in e ? Ss(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, _n = (e, t) => {
3917
+ var Ss = Object.defineProperty, Lt = Object.getOwnPropertySymbols, ti = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, Xn = (e, t, n) => t in e ? Ss(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, _n = (e, t) => {
3918
3918
  for (var n in t || (t = {}))
3919
3919
  ti.call(t, n) && Xn(e, n, t[n]);
3920
- if (kt)
3921
- for (var n of kt(t))
3920
+ if (Lt)
3921
+ for (var n of Lt(t))
3922
3922
  ni.call(t, n) && Xn(e, n, t[n]);
3923
3923
  return e;
3924
- }, Qe = (e, t) => {
3924
+ }, qe = (e, t) => {
3925
3925
  var n = {};
3926
3926
  for (var r in e)
3927
3927
  ti.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3928
- if (e != null && kt)
3929
- for (var r of kt(e))
3928
+ if (e != null && Lt)
3929
+ for (var r of Lt(e))
3930
3930
  t.indexOf(r) < 0 && ni.call(e, r) && (n[r] = e[r]);
3931
3931
  return n;
3932
3932
  };
@@ -3937,21 +3937,21 @@ const lt = (e, t) => {
3937
3937
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3938
3938
  }, Es = Nt(
3939
3939
  (e) => {
3940
- var t = e, { locale: n, format: r } = t, i = Qe(t, ["locale", "format"]);
3940
+ var t = e, { locale: n, format: r } = t, i = qe(t, ["locale", "format"]);
3941
3941
  if (n == null)
3942
3942
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3943
3943
  return r && (i = lt("number", r)), new Intl.NumberFormat(n, i);
3944
3944
  }
3945
3945
  ), Hs = Nt(
3946
3946
  (e) => {
3947
- var t = e, { locale: n, format: r } = t, i = Qe(t, ["locale", "format"]);
3947
+ var t = e, { locale: n, format: r } = t, i = qe(t, ["locale", "format"]);
3948
3948
  if (n == null)
3949
3949
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3950
3950
  return r ? i = lt("date", r) : Object.keys(i).length === 0 && (i = lt("date", "short")), new Intl.DateTimeFormat(n, i);
3951
3951
  }
3952
3952
  ), Ms = Nt(
3953
3953
  (e) => {
3954
- var t = e, { locale: n, format: r } = t, i = Qe(t, ["locale", "format"]);
3954
+ var t = e, { locale: n, format: r } = t, i = qe(t, ["locale", "format"]);
3955
3955
  if (n == null)
3956
3956
  throw new Error(
3957
3957
  '[svelte-i18n] A "locale" must be set to format time values'
@@ -3960,44 +3960,44 @@ const lt = (e, t) => {
3960
3960
  }
3961
3961
  ), Bs = (e = {}) => {
3962
3962
  var t = e, {
3963
- locale: n = Ie()
3964
- } = t, r = Qe(t, [
3963
+ locale: n = Ae()
3964
+ } = t, r = qe(t, [
3965
3965
  "locale"
3966
3966
  ]);
3967
3967
  return Es(_n({ locale: n }, r));
3968
3968
  }, Ps = (e = {}) => {
3969
3969
  var t = e, {
3970
- locale: n = Ie()
3971
- } = t, r = Qe(t, [
3970
+ locale: n = Ae()
3971
+ } = t, r = qe(t, [
3972
3972
  "locale"
3973
3973
  ]);
3974
3974
  return Hs(_n({ locale: n }, r));
3975
- }, As = (e = {}) => {
3975
+ }, ks = (e = {}) => {
3976
3976
  var t = e, {
3977
- locale: n = Ie()
3978
- } = t, r = Qe(t, [
3977
+ locale: n = Ae()
3978
+ } = t, r = qe(t, [
3979
3979
  "locale"
3980
3980
  ]);
3981
3981
  return Ms(_n({ locale: n }, r));
3982
- }, Is = Nt(
3982
+ }, As = Nt(
3983
3983
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3984
- (e, t = Ie()) => new Xr(e, t, Ye().formats, {
3984
+ (e, t = Ae()) => new Xr(e, t, Ye().formats, {
3985
3985
  ignoreTag: Ye().ignoreTag
3986
3986
  })
3987
- ), Ls = (e, t = {}) => {
3987
+ ), Is = (e, t = {}) => {
3988
3988
  var n, r, i, o;
3989
3989
  let s = t;
3990
3990
  typeof e == "object" && (s = e, e = s.id);
3991
3991
  const {
3992
3992
  values: a,
3993
- locale: u = Ie(),
3993
+ locale: u = Ae(),
3994
3994
  default: l
3995
3995
  } = s;
3996
3996
  if (u == null)
3997
3997
  throw new Error(
3998
3998
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3999
3999
  );
4000
- let c = Qr(e, u);
4000
+ let c = qr(e, u);
4001
4001
  if (!c)
4002
4002
  c = (o = (i = (r = (n = Ye()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4003
4003
  else if (typeof c != "string")
@@ -4008,7 +4008,7 @@ const lt = (e, t) => {
4008
4008
  return c;
4009
4009
  let f = c;
4010
4010
  try {
4011
- f = Is(c, u).format(a);
4011
+ f = As(c, u).format(a);
4012
4012
  } catch (m) {
4013
4013
  m instanceof Error && console.warn(
4014
4014
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4016,20 +4016,20 @@ const lt = (e, t) => {
4016
4016
  );
4017
4017
  }
4018
4018
  return f;
4019
- }, ks = (e, t) => As(t).format(e), Os = (e, t) => Ps(t).format(e), Rs = (e, t) => Bs(t).format(e), Ds = (e, t = Ie()) => Qr(e, t), $s = Xe([ke, ft], () => Ls);
4020
- Xe([ke], () => ks);
4021
- Xe([ke], () => Os);
4022
- Xe([ke], () => Rs);
4023
- Xe([ke, ft], () => Ds);
4024
- function Qn(e, t) {
4025
- Kr(e, t);
4019
+ }, Ls = (e, t) => ks(t).format(e), Os = (e, t) => Ps(t).format(e), Ds = (e, t) => Bs(t).format(e), Rs = (e, t = Ae()) => qr(e, t), $s = Xe([Le, ft], () => Is);
4020
+ Xe([Le], () => Ls);
4021
+ Xe([Le], () => Os);
4022
+ Xe([Le], () => Ds);
4023
+ Xe([Le, ft], () => Rs);
4024
+ function qn(e, t) {
4025
+ Qr(e, t);
4026
4026
  }
4027
4027
  function Ns(e) {
4028
4028
  gs({
4029
4029
  fallbackLocale: "en"
4030
- }), ke.set(e);
4030
+ }), Le.set(e);
4031
4031
  }
4032
- const qn = {
4032
+ const Kn = {
4033
4033
  en: {
4034
4034
  amount: "Amount",
4035
4035
  status: "Status",
@@ -4581,8 +4581,192 @@ const qn = {
4581
4581
  externalLink: "Externe link",
4582
4582
  uploadDocuments: "Documenten uploaden",
4583
4583
  goToHomepage: "Naar de startpagina"
4584
+ },
4585
+ ru: {
4586
+ amount: "Сумма",
4587
+ status: "Статус",
4588
+ transactionId: "ID транзакции",
4589
+ payemntMethod: "Способ оплаты",
4590
+ paymentTime: "Время платежа",
4591
+ backHome: "На главную",
4592
+ makeAnotherTransaction: "Совершить другую операцию",
4593
+ backDeposit: "Назад к депозиту",
4594
+ backWithdraw: "Назад к выводу",
4595
+ tryAgainButton: "Повторить попытку",
4596
+ refreshButton: "Проверить статус",
4597
+ success: "Успешно",
4598
+ pending: "В обработке",
4599
+ failed: "Ошибка",
4600
+ canceled: "Ошибка",
4601
+ rejected: "Отклонено",
4602
+ copyTransactionId: "Скопировано!",
4603
+ deposit: {
4604
+ success: {
4605
+ amount: "{amount}",
4606
+ title: "Депозит выполнен успешно!",
4607
+ text: "Ваш депозит выполнен успешно"
4608
+ },
4609
+ pending: {
4610
+ amount: "{amount}",
4611
+ title: "Транзакция в обработке",
4612
+ text: "Ваш платёж будет зачислен в ближайшее время"
4613
+ },
4614
+ reject: {
4615
+ title: "Депозит отклонён",
4616
+ subTitle: "",
4617
+ text: "К сожалению, ваш депозит был отклонён"
4618
+ },
4619
+ fail: {
4620
+ amount: " ",
4621
+ title: "Депозит не выполнен!",
4622
+ text: "К сожалению, ваш депозит не прошёл."
4623
+ },
4624
+ cancel: {
4625
+ title: "Вы отменили транзакцию",
4626
+ subTitle: " ",
4627
+ text: " "
4628
+ }
4629
+ },
4630
+ withdraw: {
4631
+ success: {
4632
+ amount: "{amount}",
4633
+ subTitle: "Списано с вашего счёта",
4634
+ title: "Вывод выполнен успешно!",
4635
+ text: "Ваш вывод средств выполнен успешно"
4636
+ },
4637
+ pending: {
4638
+ title: "Вывод в обработке",
4639
+ subTitle: "Списано с вашего счёта",
4640
+ text: "Спасибо. Ваш вывод средств обрабатывается."
4641
+ },
4642
+ reject: {
4643
+ title: "Вывод отклонён",
4644
+ subTitle: " ",
4645
+ text: "К сожалению, ваш вывод был отклонён"
4646
+ },
4647
+ fail: {
4648
+ title: "Вывод не выполнен",
4649
+ subTitle: " ",
4650
+ text: "К сожалению, ваш вывод не прошёл."
4651
+ },
4652
+ cancel: {
4653
+ title: "Вы отменили транзакцию",
4654
+ subTitle: " ",
4655
+ text: " "
4656
+ }
4657
+ },
4658
+ reference: "Референс ID: {code}",
4659
+ close: "ЗАКРЫТЬ",
4660
+ receipt: {
4661
+ maintenance: {
4662
+ title: "Скоро вернёмся",
4663
+ text: "Мы приостановили работу для планового технического обслуживания и ожидаем возобновить работу через несколько минут"
4664
+ }
4665
+ },
4666
+ goToPromotions: "Акции",
4667
+ goToTournaments: "Турниры",
4668
+ goToSupport: "Связаться с поддержкой",
4669
+ goToMerchantHomePage: "Главная страница продавца",
4670
+ goToSports: "Спорт",
4671
+ goToCasino: "Казино",
4672
+ goToLiveCasino: "Живое казино",
4673
+ externalLink: "Внешняя ссылка",
4674
+ uploadDocuments: "Загрузить документы",
4675
+ goToHomepage: "На главную страницу"
4676
+ },
4677
+ az: {
4678
+ amount: "Məbləğ",
4679
+ status: "Status",
4680
+ transactionId: "Əməliyyat ID-si",
4681
+ payemntMethod: "Ödəniş üsulu",
4682
+ paymentTime: "Ödəniş vaxtı",
4683
+ backHome: "Əsas səhifəyə qayıt",
4684
+ makeAnotherTransaction: "Başqa əməliyyat et",
4685
+ backDeposit: "Depozitə qayıt",
4686
+ backWithdraw: "Çıxarışa qayıt",
4687
+ tryAgainButton: "Yenidən cəhd edin",
4688
+ refreshButton: "Statusu yoxla",
4689
+ success: "Uğurlu",
4690
+ pending: "Gözləmədə",
4691
+ failed: "Xəta",
4692
+ canceled: "Xəta",
4693
+ rejected: "Rədd edildi",
4694
+ copyTransactionId: "Kopyalandı!",
4695
+ deposit: {
4696
+ success: {
4697
+ amount: "{amount}",
4698
+ title: "Depozit uğurludur!",
4699
+ text: "Depozitiniz uğurla həyata keçirildi"
4700
+ },
4701
+ pending: {
4702
+ amount: "{amount}",
4703
+ title: "Əməliyyat gözləmədədir",
4704
+ text: "Ödənişiniz tezliklə hesabınıza əlavə olunacaq"
4705
+ },
4706
+ reject: {
4707
+ title: "Depozit rədd edildi",
4708
+ subTitle: "",
4709
+ text: "Təəssüf ki, depozitiniz rədd edildi"
4710
+ },
4711
+ fail: {
4712
+ amount: " ",
4713
+ title: "Depozit alınmadı!",
4714
+ text: "Təəssüf ki, depozitiniz həyata keçmədi."
4715
+ },
4716
+ cancel: {
4717
+ title: "Əməliyyatı ləğv etdiniz",
4718
+ subTitle: " ",
4719
+ text: " "
4720
+ }
4721
+ },
4722
+ withdraw: {
4723
+ success: {
4724
+ amount: "{amount}",
4725
+ subTitle: "Hesabınızdan çıxarıldı",
4726
+ title: "Çıxarış uğurludur!",
4727
+ text: "Pul çıxarma əməliyyatınız uğurla tamamlandı"
4728
+ },
4729
+ pending: {
4730
+ title: "Çıxarış gözləmədədir",
4731
+ subTitle: "Hesabınızdan çıxarıldı",
4732
+ text: "Təşəkkürlər. Çıxarışınız icra olunur."
4733
+ },
4734
+ reject: {
4735
+ title: "Çıxarış rədd edildi",
4736
+ subTitle: " ",
4737
+ text: "Təəssüf ki, çıxarışınız rədd edildi"
4738
+ },
4739
+ fail: {
4740
+ title: "Çıxarış alınmadı",
4741
+ subTitle: " ",
4742
+ text: "Təəssüf ki, çıxarışınız həyata keçmədi."
4743
+ },
4744
+ cancel: {
4745
+ title: "Əməliyyatı ləğv etdiniz",
4746
+ subTitle: " ",
4747
+ text: " "
4748
+ }
4749
+ },
4750
+ reference: "İstinad ID: {code}",
4751
+ close: "BAĞLA",
4752
+ receipt: {
4753
+ maintenance: {
4754
+ title: "Tezliklə geri dönəcəyik",
4755
+ text: "Planlaşdırılmış texniki xidmət səbəbindən müvəqqəti dayandırılmışıq və bir neçə dəqiqə ərzində yenidən aktiv olacağıq"
4756
+ }
4757
+ },
4758
+ goToPromotions: "Aksiyalar",
4759
+ goToTournaments: "Turnirlər",
4760
+ goToSupport: "Dəstəklə əlaqə saxlayın",
4761
+ goToMerchantHomePage: "Satıcının əsas saytı",
4762
+ goToSports: "İdman",
4763
+ goToCasino: "Kazino",
4764
+ goToLiveCasino: "Canlı Kazino",
4765
+ externalLink: "Xarici keçid",
4766
+ uploadDocuments: "Sənədləri yüklə",
4767
+ goToHomepage: "Əsas səhifəyə keç"
4584
4768
  }
4585
- }, Us = (e, t) => `${e + Fs[t]}`, js = (e, t) => `${Ws[t]}.${ri[e]}.text`, Gs = (e) => `${ri[`${e}`]}`, Fs = {
4769
+ }, Us = (e, t) => `${e + Fs[t]}`, js = (e, t) => `${zs[t]}.${ri[e]}.text`, Gs = (e) => `${ri[`${e}`]}`, Fs = {
4586
4770
  Success: "/txn-success.png",
4587
4771
  Voided: "/txn-success.png",
4588
4772
  Rejected: "/txn-failed.png",
@@ -4594,7 +4778,7 @@ const qn = {
4594
4778
  PendingApprovalStage2: "/txn-pending.png",
4595
4779
  PendingApprovalStage3: "/txn-pending.png",
4596
4780
  PendingOfflineNotification: "/txn-pending.png"
4597
- }, Ws = {
4781
+ }, zs = {
4598
4782
  Deposit: "deposit",
4599
4783
  Withdraw: "withdrawal"
4600
4784
  }, ri = {
@@ -4614,16 +4798,16 @@ var ii = { exports: {} };
4614
4798
  (function(e, t) {
4615
4799
  (function(n, r) {
4616
4800
  e.exports = r();
4617
- })(Ar, function() {
4618
- var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", l = "day", c = "week", f = "month", m = "quarter", g = "year", v = "date", d = "Invalid Date", B = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, N = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) {
4801
+ })(kr, function() {
4802
+ var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", l = "day", c = "week", f = "month", m = "quarter", g = "year", v = "date", d = "Invalid Date", B = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, A = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, N = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) {
4619
4803
  var _ = ["th", "st", "nd", "rd"], b = T % 100;
4620
4804
  return "[" + T + (_[(b - 20) % 10] || _[b] || _[0]) + "]";
4621
- } }, A = function(T, _, b) {
4805
+ } }, k = function(T, _, b) {
4622
4806
  var y = String(T);
4623
4807
  return !y || y.length >= _ ? T : "" + Array(_ + 1 - y.length).join(b) + T;
4624
- }, Z = { s: A, z: function(T) {
4808
+ }, Z = { s: k, z: function(T) {
4625
4809
  var _ = -T.utcOffset(), b = Math.abs(_), y = Math.floor(b / 60), w = b % 60;
4626
- return (_ <= 0 ? "+" : "-") + A(y, 2, "0") + ":" + A(w, 2, "0");
4810
+ return (_ <= 0 ? "+" : "-") + k(y, 2, "0") + ":" + k(w, 2, "0");
4627
4811
  }, m: function T(_, b) {
4628
4812
  if (_.date() < b.date())
4629
4813
  return -T(b, _);
@@ -4635,8 +4819,8 @@ var ii = { exports: {} };
4635
4819
  return { M: f, y: g, w: c, d: l, D: v, h: u, m: a, s, ms: o, Q: m }[T] || String(T || "").toLowerCase().replace(/s$/, "");
4636
4820
  }, u: function(T) {
4637
4821
  return T === void 0;
4638
- } }, X = "en", L = {};
4639
- L[X] = N;
4822
+ } }, X = "en", I = {};
4823
+ I[X] = N;
4640
4824
  var F = "$isDayjsObject", pe = function(T) {
4641
4825
  return T instanceof be || !(!T || !T[F]);
4642
4826
  }, ue = function T(_, b, y) {
@@ -4645,23 +4829,23 @@ var ii = { exports: {} };
4645
4829
  return X;
4646
4830
  if (typeof _ == "string") {
4647
4831
  var H = _.toLowerCase();
4648
- L[H] && (w = H), b && (L[H] = b, w = H);
4832
+ I[H] && (w = H), b && (I[H] = b, w = H);
4649
4833
  var x = _.split("-");
4650
4834
  if (!w && x.length > 1)
4651
4835
  return T(x[0]);
4652
4836
  } else {
4653
- var D = _.name;
4654
- L[D] = _, w = D;
4837
+ var R = _.name;
4838
+ I[R] = _, w = R;
4655
4839
  }
4656
4840
  return !y && w && (X = w), w || !y && X;
4657
- }, Q = function(T, _) {
4841
+ }, q = function(T, _) {
4658
4842
  if (pe(T))
4659
4843
  return T.clone();
4660
4844
  var b = typeof _ == "object" ? _ : {};
4661
4845
  return b.date = T, b.args = arguments, new be(b);
4662
- }, k = Z;
4663
- k.l = ue, k.i = pe, k.w = function(T, _) {
4664
- return Q(T, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
4846
+ }, L = Z;
4847
+ L.l = ue, L.i = pe, L.w = function(T, _) {
4848
+ return q(T, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
4665
4849
  };
4666
4850
  var be = function() {
4667
4851
  function T(b) {
@@ -4673,15 +4857,15 @@ var ii = { exports: {} };
4673
4857
  var w = y.date, H = y.utc;
4674
4858
  if (w === null)
4675
4859
  return /* @__PURE__ */ new Date(NaN);
4676
- if (k.u(w))
4860
+ if (L.u(w))
4677
4861
  return /* @__PURE__ */ new Date();
4678
4862
  if (w instanceof Date)
4679
4863
  return new Date(w);
4680
4864
  if (typeof w == "string" && !/Z$/i.test(w)) {
4681
4865
  var x = w.match(B);
4682
4866
  if (x) {
4683
- var D = x[2] - 1 || 0, W = (x[7] || "0").substring(0, 3);
4684
- return H ? new Date(Date.UTC(x[1], D, x[3] || 1, x[4] || 0, x[5] || 0, x[6] || 0, W)) : new Date(x[1], D, x[3] || 1, x[4] || 0, x[5] || 0, x[6] || 0, W);
4867
+ var R = x[2] - 1 || 0, z = (x[7] || "0").substring(0, 3);
4868
+ return H ? new Date(Date.UTC(x[1], R, x[3] || 1, x[4] || 0, x[5] || 0, x[6] || 0, z)) : new Date(x[1], R, x[3] || 1, x[4] || 0, x[5] || 0, x[6] || 0, z);
4685
4869
  }
4686
4870
  }
4687
4871
  return new Date(w);
@@ -4690,105 +4874,105 @@ var ii = { exports: {} };
4690
4874
  var b = this.$d;
4691
4875
  this.$y = b.getFullYear(), this.$M = b.getMonth(), this.$D = b.getDate(), this.$W = b.getDay(), this.$H = b.getHours(), this.$m = b.getMinutes(), this.$s = b.getSeconds(), this.$ms = b.getMilliseconds();
4692
4876
  }, _.$utils = function() {
4693
- return k;
4877
+ return L;
4694
4878
  }, _.isValid = function() {
4695
4879
  return this.$d.toString() !== d;
4696
4880
  }, _.isSame = function(b, y) {
4697
- var w = Q(b);
4881
+ var w = q(b);
4698
4882
  return this.startOf(y) <= w && w <= this.endOf(y);
4699
4883
  }, _.isAfter = function(b, y) {
4700
- return Q(b) < this.startOf(y);
4884
+ return q(b) < this.startOf(y);
4701
4885
  }, _.isBefore = function(b, y) {
4702
- return this.endOf(y) < Q(b);
4886
+ return this.endOf(y) < q(b);
4703
4887
  }, _.$g = function(b, y, w) {
4704
- return k.u(b) ? this[y] : this.set(w, b);
4888
+ return L.u(b) ? this[y] : this.set(w, b);
4705
4889
  }, _.unix = function() {
4706
4890
  return Math.floor(this.valueOf() / 1e3);
4707
4891
  }, _.valueOf = function() {
4708
4892
  return this.$d.getTime();
4709
4893
  }, _.startOf = function(b, y) {
4710
- var w = this, H = !!k.u(y) || y, x = k.p(b), D = function(fe, ne) {
4711
- var oe = k.w(w.$u ? Date.UTC(w.$y, ne, fe) : new Date(w.$y, ne, fe), w);
4894
+ var w = this, H = !!L.u(y) || y, x = L.p(b), R = function(fe, ne) {
4895
+ var oe = L.w(w.$u ? Date.UTC(w.$y, ne, fe) : new Date(w.$y, ne, fe), w);
4712
4896
  return H ? oe : oe.endOf(l);
4713
- }, W = function(fe, ne) {
4714
- return k.w(w.toDate()[fe].apply(w.toDate("s"), (H ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ne)), w);
4715
- }, O = this.$W, q = this.$M, te = this.$D, de = "set" + (this.$u ? "UTC" : "");
4897
+ }, z = function(fe, ne) {
4898
+ return L.w(w.toDate()[fe].apply(w.toDate("s"), (H ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ne)), w);
4899
+ }, O = this.$W, K = this.$M, te = this.$D, de = "set" + (this.$u ? "UTC" : "");
4716
4900
  switch (x) {
4717
4901
  case g:
4718
- return H ? D(1, 0) : D(31, 11);
4902
+ return H ? R(1, 0) : R(31, 11);
4719
4903
  case f:
4720
- return H ? D(1, q) : D(0, q + 1);
4904
+ return H ? R(1, K) : R(0, K + 1);
4721
4905
  case c:
4722
4906
  var ce = this.$locale().weekStart || 0, Ce = (O < ce ? O + 7 : O) - ce;
4723
- return D(H ? te - Ce : te + (6 - Ce), q);
4907
+ return R(H ? te - Ce : te + (6 - Ce), K);
4724
4908
  case l:
4725
4909
  case v:
4726
- return W(de + "Hours", 0);
4910
+ return z(de + "Hours", 0);
4727
4911
  case u:
4728
- return W(de + "Minutes", 1);
4912
+ return z(de + "Minutes", 1);
4729
4913
  case a:
4730
- return W(de + "Seconds", 2);
4914
+ return z(de + "Seconds", 2);
4731
4915
  case s:
4732
- return W(de + "Milliseconds", 3);
4916
+ return z(de + "Milliseconds", 3);
4733
4917
  default:
4734
4918
  return this.clone();
4735
4919
  }
4736
4920
  }, _.endOf = function(b) {
4737
4921
  return this.startOf(b, !1);
4738
4922
  }, _.$set = function(b, y) {
4739
- var w, H = k.p(b), x = "set" + (this.$u ? "UTC" : ""), D = (w = {}, w[l] = x + "Date", w[v] = x + "Date", w[f] = x + "Month", w[g] = x + "FullYear", w[u] = x + "Hours", w[a] = x + "Minutes", w[s] = x + "Seconds", w[o] = x + "Milliseconds", w)[H], W = H === l ? this.$D + (y - this.$W) : y;
4923
+ var w, H = L.p(b), x = "set" + (this.$u ? "UTC" : ""), R = (w = {}, w[l] = x + "Date", w[v] = x + "Date", w[f] = x + "Month", w[g] = x + "FullYear", w[u] = x + "Hours", w[a] = x + "Minutes", w[s] = x + "Seconds", w[o] = x + "Milliseconds", w)[H], z = H === l ? this.$D + (y - this.$W) : y;
4740
4924
  if (H === f || H === g) {
4741
4925
  var O = this.clone().set(v, 1);
4742
- O.$d[D](W), O.init(), this.$d = O.set(v, Math.min(this.$D, O.daysInMonth())).$d;
4926
+ O.$d[R](z), O.init(), this.$d = O.set(v, Math.min(this.$D, O.daysInMonth())).$d;
4743
4927
  } else
4744
- D && this.$d[D](W);
4928
+ R && this.$d[R](z);
4745
4929
  return this.init(), this;
4746
4930
  }, _.set = function(b, y) {
4747
4931
  return this.clone().$set(b, y);
4748
4932
  }, _.get = function(b) {
4749
- return this[k.p(b)]();
4933
+ return this[L.p(b)]();
4750
4934
  }, _.add = function(b, y) {
4751
4935
  var w, H = this;
4752
4936
  b = Number(b);
4753
- var x = k.p(y), D = function(q) {
4754
- var te = Q(H);
4755
- return k.w(te.date(te.date() + Math.round(q * b)), H);
4937
+ var x = L.p(y), R = function(K) {
4938
+ var te = q(H);
4939
+ return L.w(te.date(te.date() + Math.round(K * b)), H);
4756
4940
  };
4757
4941
  if (x === f)
4758
4942
  return this.set(f, this.$M + b);
4759
4943
  if (x === g)
4760
4944
  return this.set(g, this.$y + b);
4761
4945
  if (x === l)
4762
- return D(1);
4946
+ return R(1);
4763
4947
  if (x === c)
4764
- return D(7);
4765
- var W = (w = {}, w[a] = r, w[u] = i, w[s] = n, w)[x] || 1, O = this.$d.getTime() + b * W;
4766
- return k.w(O, this);
4948
+ return R(7);
4949
+ var z = (w = {}, w[a] = r, w[u] = i, w[s] = n, w)[x] || 1, O = this.$d.getTime() + b * z;
4950
+ return L.w(O, this);
4767
4951
  }, _.subtract = function(b, y) {
4768
4952
  return this.add(-1 * b, y);
4769
4953
  }, _.format = function(b) {
4770
4954
  var y = this, w = this.$locale();
4771
4955
  if (!this.isValid())
4772
4956
  return w.invalidDate || d;
4773
- var H = b || "YYYY-MM-DDTHH:mm:ssZ", x = k.z(this), D = this.$H, W = this.$m, O = this.$M, q = w.weekdays, te = w.months, de = w.meridiem, ce = function(ne, oe, me, _e) {
4957
+ var H = b || "YYYY-MM-DDTHH:mm:ssZ", x = L.z(this), R = this.$H, z = this.$m, O = this.$M, K = w.weekdays, te = w.months, de = w.meridiem, ce = function(ne, oe, me, _e) {
4774
4958
  return ne && (ne[oe] || ne(y, H)) || me[oe].slice(0, _e);
4775
4959
  }, Ce = function(ne) {
4776
- return k.s(D % 12 || 12, ne, "0");
4960
+ return L.s(R % 12 || 12, ne, "0");
4777
4961
  }, fe = de || function(ne, oe, me) {
4778
4962
  var _e = ne < 12 ? "AM" : "PM";
4779
4963
  return me ? _e.toLowerCase() : _e;
4780
4964
  };
4781
- return H.replace(I, function(ne, oe) {
4965
+ return H.replace(A, function(ne, oe) {
4782
4966
  return oe || function(me) {
4783
4967
  switch (me) {
4784
4968
  case "YY":
4785
4969
  return String(y.$y).slice(-2);
4786
4970
  case "YYYY":
4787
- return k.s(y.$y, 4, "0");
4971
+ return L.s(y.$y, 4, "0");
4788
4972
  case "M":
4789
4973
  return O + 1;
4790
4974
  case "MM":
4791
- return k.s(O + 1, 2, "0");
4975
+ return L.s(O + 1, 2, "0");
4792
4976
  case "MMM":
4793
4977
  return ce(w.monthsShort, O, te, 3);
4794
4978
  case "MMMM":
@@ -4796,37 +4980,37 @@ var ii = { exports: {} };
4796
4980
  case "D":
4797
4981
  return y.$D;
4798
4982
  case "DD":
4799
- return k.s(y.$D, 2, "0");
4983
+ return L.s(y.$D, 2, "0");
4800
4984
  case "d":
4801
4985
  return String(y.$W);
4802
4986
  case "dd":
4803
- return ce(w.weekdaysMin, y.$W, q, 2);
4987
+ return ce(w.weekdaysMin, y.$W, K, 2);
4804
4988
  case "ddd":
4805
- return ce(w.weekdaysShort, y.$W, q, 3);
4989
+ return ce(w.weekdaysShort, y.$W, K, 3);
4806
4990
  case "dddd":
4807
- return q[y.$W];
4991
+ return K[y.$W];
4808
4992
  case "H":
4809
- return String(D);
4993
+ return String(R);
4810
4994
  case "HH":
4811
- return k.s(D, 2, "0");
4995
+ return L.s(R, 2, "0");
4812
4996
  case "h":
4813
4997
  return Ce(1);
4814
4998
  case "hh":
4815
4999
  return Ce(2);
4816
5000
  case "a":
4817
- return fe(D, W, !0);
5001
+ return fe(R, z, !0);
4818
5002
  case "A":
4819
- return fe(D, W, !1);
5003
+ return fe(R, z, !1);
4820
5004
  case "m":
4821
- return String(W);
5005
+ return String(z);
4822
5006
  case "mm":
4823
- return k.s(W, 2, "0");
5007
+ return L.s(z, 2, "0");
4824
5008
  case "s":
4825
5009
  return String(y.$s);
4826
5010
  case "ss":
4827
- return k.s(y.$s, 2, "0");
5011
+ return L.s(y.$s, 2, "0");
4828
5012
  case "SSS":
4829
- return k.s(y.$ms, 3, "0");
5013
+ return L.s(y.$ms, 3, "0");
4830
5014
  case "Z":
4831
5015
  return x;
4832
5016
  }
@@ -4836,10 +5020,10 @@ var ii = { exports: {} };
4836
5020
  }, _.utcOffset = function() {
4837
5021
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4838
5022
  }, _.diff = function(b, y, w) {
4839
- var H, x = this, D = k.p(y), W = Q(b), O = (W.utcOffset() - this.utcOffset()) * r, q = this - W, te = function() {
4840
- return k.m(x, W);
5023
+ var H, x = this, R = L.p(y), z = q(b), O = (z.utcOffset() - this.utcOffset()) * r, K = this - z, te = function() {
5024
+ return L.m(x, z);
4841
5025
  };
4842
- switch (D) {
5026
+ switch (R) {
4843
5027
  case g:
4844
5028
  H = te() / 12;
4845
5029
  break;
@@ -4850,35 +5034,35 @@ var ii = { exports: {} };
4850
5034
  H = te() / 3;
4851
5035
  break;
4852
5036
  case c:
4853
- H = (q - O) / 6048e5;
5037
+ H = (K - O) / 6048e5;
4854
5038
  break;
4855
5039
  case l:
4856
- H = (q - O) / 864e5;
5040
+ H = (K - O) / 864e5;
4857
5041
  break;
4858
5042
  case u:
4859
- H = q / i;
5043
+ H = K / i;
4860
5044
  break;
4861
5045
  case a:
4862
- H = q / r;
5046
+ H = K / r;
4863
5047
  break;
4864
5048
  case s:
4865
- H = q / n;
5049
+ H = K / n;
4866
5050
  break;
4867
5051
  default:
4868
- H = q;
5052
+ H = K;
4869
5053
  }
4870
- return w ? H : k.a(H);
5054
+ return w ? H : L.a(H);
4871
5055
  }, _.daysInMonth = function() {
4872
5056
  return this.endOf(f).$D;
4873
5057
  }, _.$locale = function() {
4874
- return L[this.$L];
5058
+ return I[this.$L];
4875
5059
  }, _.locale = function(b, y) {
4876
5060
  if (!b)
4877
5061
  return this.$L;
4878
5062
  var w = this.clone(), H = ue(b, y, !0);
4879
5063
  return H && (w.$L = H), w;
4880
5064
  }, _.clone = function() {
4881
- return k.w(this.$d, this);
5065
+ return L.w(this.$d, this);
4882
5066
  }, _.toDate = function() {
4883
5067
  return new Date(this.valueOf());
4884
5068
  }, _.toJSON = function() {
@@ -4889,24 +5073,24 @@ var ii = { exports: {} };
4889
5073
  return this.$d.toUTCString();
4890
5074
  }, T;
4891
5075
  }(), Se = be.prototype;
4892
- return Q.prototype = Se, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", f], ["$y", g], ["$D", v]].forEach(function(T) {
5076
+ return q.prototype = Se, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", f], ["$y", g], ["$D", v]].forEach(function(T) {
4893
5077
  Se[T[1]] = function(_) {
4894
5078
  return this.$g(_, T[0], T[1]);
4895
5079
  };
4896
- }), Q.extend = function(T, _) {
4897
- return T.$i || (T(_, be, Q), T.$i = !0), Q;
4898
- }, Q.locale = ue, Q.isDayjs = pe, Q.unix = function(T) {
4899
- return Q(1e3 * T);
4900
- }, Q.en = L[X], Q.Ls = L, Q.p = {}, Q;
5080
+ }), q.extend = function(T, _) {
5081
+ return T.$i || (T(_, be, q), T.$i = !0), q;
5082
+ }, q.locale = ue, q.isDayjs = pe, q.unix = function(T) {
5083
+ return q(1e3 * T);
5084
+ }, q.en = I[X], q.Ls = I, q.p = {}, q;
4901
5085
  });
4902
5086
  })(ii);
4903
- var zs = ii.exports;
4904
- const Ot = /* @__PURE__ */ vn(zs);
5087
+ var Ws = ii.exports;
5088
+ const Ot = /* @__PURE__ */ vn(Ws);
4905
5089
  var oi = { exports: {} };
4906
5090
  (function(e, t) {
4907
5091
  (function(n, r) {
4908
5092
  e.exports = r();
4909
- })(Ar, function() {
5093
+ })(kr, function() {
4910
5094
  var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
4911
5095
  return function(o, s, a) {
4912
5096
  var u = s.prototype;
@@ -4933,27 +5117,27 @@ var oi = { exports: {} };
4933
5117
  };
4934
5118
  var f = u.utcOffset;
4935
5119
  u.utcOffset = function(d, B) {
4936
- var I = this.$utils().u;
4937
- if (I(d))
4938
- return this.$u ? 0 : I(this.$offset) ? f.call(this) : this.$offset;
5120
+ var A = this.$utils().u;
5121
+ if (A(d))
5122
+ return this.$u ? 0 : A(this.$offset) ? f.call(this) : this.$offset;
4939
5123
  if (typeof d == "string" && (d = function(X) {
4940
5124
  X === void 0 && (X = "");
4941
- var L = X.match(r);
4942
- if (!L)
5125
+ var I = X.match(r);
5126
+ if (!I)
4943
5127
  return null;
4944
- var F = ("" + L[0]).match(i) || ["-", 0, 0], pe = F[0], ue = 60 * +F[1] + +F[2];
5128
+ var F = ("" + I[0]).match(i) || ["-", 0, 0], pe = F[0], ue = 60 * +F[1] + +F[2];
4945
5129
  return ue === 0 ? 0 : pe === "+" ? ue : -ue;
4946
5130
  }(d), d === null))
4947
5131
  return this;
4948
- var N = Math.abs(d) <= 16 ? 60 * d : d, A = this;
5132
+ var N = Math.abs(d) <= 16 ? 60 * d : d, k = this;
4949
5133
  if (B)
4950
- return A.$offset = N, A.$u = d === 0, A;
5134
+ return k.$offset = N, k.$u = d === 0, k;
4951
5135
  if (d !== 0) {
4952
5136
  var Z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4953
- (A = this.local().add(N + Z, n)).$offset = N, A.$x.$localOffset = Z;
5137
+ (k = this.local().add(N + Z, n)).$offset = N, k.$x.$localOffset = Z;
4954
5138
  } else
4955
- A = this.utc();
4956
- return A;
5139
+ k = this.utc();
5140
+ return k;
4957
5141
  };
4958
5142
  var m = u.format;
4959
5143
  u.format = function(d) {
@@ -4974,11 +5158,11 @@ var oi = { exports: {} };
4974
5158
  return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : g.call(this);
4975
5159
  };
4976
5160
  var v = u.diff;
4977
- u.diff = function(d, B, I) {
5161
+ u.diff = function(d, B, A) {
4978
5162
  if (d && this.$u === d.$u)
4979
- return v.call(this, d, B, I);
4980
- var N = this.local(), A = a(d).local();
4981
- return v.call(N, A, B, I);
5163
+ return v.call(this, d, B, A);
5164
+ var N = this.local(), k = a(d).local();
5165
+ return v.call(N, k, B, A);
4982
5166
  };
4983
5167
  };
4984
5168
  });
@@ -5063,7 +5247,7 @@ function si(e) {
5063
5247
  }, n = e(t);
5064
5248
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
5065
5249
  }
5066
- var Qt = si(function(e) {
5250
+ var qt = si(function(e) {
5067
5251
  return function(n) {
5068
5252
  e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
5069
5253
  ` + n.map(function(r, i) {
@@ -5111,7 +5295,7 @@ var Ut = function() {
5111
5295
  try {
5112
5296
  c();
5113
5297
  } catch (d) {
5114
- o = d instanceof Qt ? d.errors : [d];
5298
+ o = d instanceof qt ? d.errors : [d];
5115
5299
  }
5116
5300
  var f = this._finalizers;
5117
5301
  if (f) {
@@ -5120,9 +5304,9 @@ var Ut = function() {
5120
5304
  for (var m = cn(f), g = m.next(); !g.done; g = m.next()) {
5121
5305
  var v = g.value;
5122
5306
  try {
5123
- Kn(v);
5307
+ Qn(v);
5124
5308
  } catch (d) {
5125
- o = o != null ? o : [], d instanceof Qt ? o = hn(hn([], fn(o)), fn(d.errors)) : o.push(d);
5309
+ o = o != null ? o : [], d instanceof qt ? o = hn(hn([], fn(o)), fn(d.errors)) : o.push(d);
5126
5310
  }
5127
5311
  }
5128
5312
  } catch (d) {
@@ -5137,13 +5321,13 @@ var Ut = function() {
5137
5321
  }
5138
5322
  }
5139
5323
  if (o)
5140
- throw new Qt(o);
5324
+ throw new qt(o);
5141
5325
  }
5142
5326
  }, e.prototype.add = function(t) {
5143
5327
  var n;
5144
5328
  if (t && t !== this)
5145
5329
  if (this.closed)
5146
- Kn(t);
5330
+ Qn(t);
5147
5331
  else {
5148
5332
  if (t instanceof e) {
5149
5333
  if (t.closed || t._hasParent(this))
@@ -5172,7 +5356,7 @@ var Ut = function() {
5172
5356
  function ui(e) {
5173
5357
  return e instanceof Ut || e && "closed" in e && He(e.remove) && He(e.add) && He(e.unsubscribe);
5174
5358
  }
5175
- function Kn(e) {
5359
+ function Qn(e) {
5176
5360
  He(e) ? e() : e.unsubscribe();
5177
5361
  }
5178
5362
  var Ys = {
@@ -5188,7 +5372,7 @@ var Ys = {
5188
5372
  },
5189
5373
  delegate: void 0
5190
5374
  };
5191
- function Qs(e) {
5375
+ function qs(e) {
5192
5376
  Xs.setTimeout(function() {
5193
5377
  throw e;
5194
5378
  });
@@ -5229,7 +5413,7 @@ var li = function(e) {
5229
5413
  this.unsubscribe();
5230
5414
  }
5231
5415
  }, t;
5232
- }(Ut), qs = function() {
5416
+ }(Ut), Ks = function() {
5233
5417
  function e(t) {
5234
5418
  this.partialObserver = t;
5235
5419
  }
@@ -5268,20 +5452,20 @@ var li = function(e) {
5268
5452
  next: n != null ? n : void 0,
5269
5453
  error: r != null ? r : void 0,
5270
5454
  complete: i != null ? i : void 0
5271
- } : s = n, o.destination = new qs(s), o;
5455
+ } : s = n, o.destination = new Ks(s), o;
5272
5456
  }
5273
5457
  return t;
5274
5458
  }(li);
5275
5459
  function vt(e) {
5276
- Qs(e);
5460
+ qs(e);
5277
5461
  }
5278
- function Ks(e) {
5462
+ function Qs(e) {
5279
5463
  throw e;
5280
5464
  }
5281
5465
  var Js = {
5282
5466
  closed: !0,
5283
5467
  next: Jn,
5284
- error: Ks,
5468
+ error: Qs,
5285
5469
  complete: Jn
5286
5470
  }, ea = function() {
5287
5471
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
@@ -5643,7 +5827,7 @@ if (typeof window != "undefined") {
5643
5827
  }
5644
5828
  };
5645
5829
  };
5646
- customElements.define = e(customElements.define), import("./CashierError-DoISoqgT.js").then(({ default: t }) => {
5830
+ customElements.define = e(customElements.define), import("./CashierError-BbcQG9fO.js").then(({ default: t }) => {
5647
5831
  !customElements.get("cashier-error") && customElements.define("cashier-error", t.element);
5648
5832
  });
5649
5833
  }
@@ -5692,9 +5876,9 @@ function ga(e) {
5692
5876
  p(c, f) {
5693
5877
  /*copied*/
5694
5878
  c[23] ? o ? (o.p(c, f), f[0] & /*copied*/
5695
- 8388608 && Jt(o, 1)) : (o = cr(c), o.c(), Jt(o, 1), o.m(t.parentNode, t)) : o && (Ri(), $i(o, 1, 1, () => {
5879
+ 8388608 && Jt(o, 1)) : (o = cr(c), o.c(), Jt(o, 1), o.m(t.parentNode, t)) : o && (Di(), $i(o, 1, 1, () => {
5696
5880
  o = null;
5697
- }), Di()), f[0] & /*showverifications, displayVerifications*/
5881
+ }), Ri()), f[0] & /*showverifications, displayVerifications*/
5698
5882
  4194816 && (r = or(
5699
5883
  /*userAgent*/
5700
5884
  c[25]
@@ -5740,7 +5924,7 @@ function cr(e) {
5740
5924
  a[24]("copyTransactionId") + "") && V(r, n);
5741
5925
  },
5742
5926
  i(a) {
5743
- s || (a && We(() => {
5927
+ s || (a && ze(() => {
5744
5928
  s && (o && o.end(1), i = Ni(t, On, { duration: 100 }), i.start());
5745
5929
  }), s = !0);
5746
5930
  },
@@ -5756,37 +5940,37 @@ function fr(e) {
5756
5940
  let t;
5757
5941
  return {
5758
5942
  c() {
5759
- t = S("cashier-verifications"), z(
5943
+ t = S("cashier-verifications"), W(
5760
5944
  t,
5761
5945
  "lang",
5762
5946
  /*lang*/
5763
5947
  e[3]
5764
- ), z(
5948
+ ), W(
5765
5949
  t,
5766
5950
  "translationurl",
5767
5951
  /*translationurl*/
5768
5952
  e[4]
5769
- ), z(
5953
+ ), W(
5770
5954
  t,
5771
5955
  "endpoint",
5772
5956
  /*endpoint*/
5773
5957
  e[1]
5774
- ), z(
5958
+ ), W(
5775
5959
  t,
5776
5960
  "clientstylingurl",
5777
5961
  /*clientstylingurl*/
5778
5962
  e[8]
5779
- ), z(
5963
+ ), W(
5780
5964
  t,
5781
5965
  "clientstyling",
5782
5966
  /*clientstyling*/
5783
5967
  e[7]
5784
- ), z(
5968
+ ), W(
5785
5969
  t,
5786
5970
  "customerid",
5787
5971
  /*customerid*/
5788
5972
  e[6]
5789
- ), z(
5973
+ ), W(
5790
5974
  t,
5791
5975
  "playersession",
5792
5976
  /*session*/
@@ -5798,43 +5982,43 @@ function fr(e) {
5798
5982
  },
5799
5983
  p(n, r) {
5800
5984
  r[0] & /*lang*/
5801
- 8 && z(
5985
+ 8 && W(
5802
5986
  t,
5803
5987
  "lang",
5804
5988
  /*lang*/
5805
5989
  n[3]
5806
5990
  ), r[0] & /*translationurl*/
5807
- 16 && z(
5991
+ 16 && W(
5808
5992
  t,
5809
5993
  "translationurl",
5810
5994
  /*translationurl*/
5811
5995
  n[4]
5812
5996
  ), r[0] & /*endpoint*/
5813
- 2 && z(
5997
+ 2 && W(
5814
5998
  t,
5815
5999
  "endpoint",
5816
6000
  /*endpoint*/
5817
6001
  n[1]
5818
6002
  ), r[0] & /*clientstylingurl*/
5819
- 256 && z(
6003
+ 256 && W(
5820
6004
  t,
5821
6005
  "clientstylingurl",
5822
6006
  /*clientstylingurl*/
5823
6007
  n[8]
5824
6008
  ), r[0] & /*clientstyling*/
5825
- 128 && z(
6009
+ 128 && W(
5826
6010
  t,
5827
6011
  "clientstyling",
5828
6012
  /*clientstyling*/
5829
6013
  n[7]
5830
6014
  ), r[0] & /*customerid*/
5831
- 64 && z(
6015
+ 64 && W(
5832
6016
  t,
5833
6017
  "customerid",
5834
6018
  /*customerid*/
5835
6019
  n[6]
5836
6020
  ), r[0] & /*session*/
5837
- 4 && z(
6021
+ 4 && W(
5838
6022
  t,
5839
6023
  "playersession",
5840
6024
  /*session*/
@@ -5854,32 +6038,32 @@ function ya(e) {
5854
6038
  );
5855
6039
  return {
5856
6040
  c() {
5857
- t = S("cashier-error"), n && n.c(), z(
6041
+ t = S("cashier-error"), n && n.c(), W(
5858
6042
  t,
5859
6043
  "assetsurl",
5860
6044
  /*assetsurl*/
5861
6045
  e[5]
5862
- ), z(
6046
+ ), W(
5863
6047
  t,
5864
6048
  "translationurl",
5865
6049
  /*translationurl*/
5866
6050
  e[4]
5867
- ), z(
6051
+ ), W(
5868
6052
  t,
5869
6053
  "clientstylingurl",
5870
6054
  /*clientstylingurl*/
5871
6055
  e[8]
5872
- ), z(
6056
+ ), W(
5873
6057
  t,
5874
6058
  "clientstyling",
5875
6059
  /*clientstyling*/
5876
6060
  e[7]
5877
- ), z(
6061
+ ), W(
5878
6062
  t,
5879
6063
  "lang",
5880
6064
  /*lang*/
5881
6065
  e[3]
5882
- ), z(t, "hidebuttons", "true"), z(
6066
+ ), W(t, "hidebuttons", "true"), W(
5883
6067
  t,
5884
6068
  "errorcode",
5885
6069
  /*errorResponseCode*/
@@ -5893,37 +6077,37 @@ function ya(e) {
5893
6077
  /*errorResponseCode*/
5894
6078
  r[19] === /*ResponseCode*/
5895
6079
  r[13].Maintenance ? n ? n.p(r, i) : (n = hr(r), n.c(), n.m(t, null)) : n && (n.d(1), n = null), i[0] & /*assetsurl*/
5896
- 32 && z(
6080
+ 32 && W(
5897
6081
  t,
5898
6082
  "assetsurl",
5899
6083
  /*assetsurl*/
5900
6084
  r[5]
5901
6085
  ), i[0] & /*translationurl*/
5902
- 16 && z(
6086
+ 16 && W(
5903
6087
  t,
5904
6088
  "translationurl",
5905
6089
  /*translationurl*/
5906
6090
  r[4]
5907
6091
  ), i[0] & /*clientstylingurl*/
5908
- 256 && z(
6092
+ 256 && W(
5909
6093
  t,
5910
6094
  "clientstylingurl",
5911
6095
  /*clientstylingurl*/
5912
6096
  r[8]
5913
6097
  ), i[0] & /*clientstyling*/
5914
- 128 && z(
6098
+ 128 && W(
5915
6099
  t,
5916
6100
  "clientstyling",
5917
6101
  /*clientstyling*/
5918
6102
  r[7]
5919
6103
  ), i[0] & /*lang*/
5920
- 8 && z(
6104
+ 8 && W(
5921
6105
  t,
5922
6106
  "lang",
5923
6107
  /*lang*/
5924
6108
  r[3]
5925
6109
  ), i[0] & /*errorResponseCode*/
5926
- 524288 && z(
6110
+ 524288 && W(
5927
6111
  t,
5928
6112
  "errorcode",
5929
6113
  /*errorResponseCode*/
@@ -5942,26 +6126,26 @@ function va(e) {
5942
6126
  ), a, u, l, c, f, m, g, v = (
5943
6127
  /*$_*/
5944
6128
  e[24]("status") + ""
5945
- ), d, B, I, N = (
6129
+ ), d, B, A, N = (
5946
6130
  /*$_*/
5947
6131
  e[24](`${/*txnStatus*/
5948
6132
  e[21]}`) + ""
5949
- ), A, Z, X, L, F, pe = (
6133
+ ), k, Z, X, I, F, pe = (
5950
6134
  /*$_*/
5951
6135
  e[24]("transactionId") + ""
5952
- ), ue, Q, k, be = (
6136
+ ), ue, q, L, be = (
5953
6137
  /*txnInfo*/
5954
6138
  e[15].referenceId + ""
5955
6139
  ), Se, T, _, b, y = (
5956
6140
  /*$_*/
5957
6141
  e[24]("payemntMethod") + ""
5958
- ), w, H, x, D, W, O, q, te = (
6142
+ ), w, H, x, R, z, O, K, te = (
5959
6143
  /*$_*/
5960
6144
  e[24]("paymentTime") + ""
5961
6145
  ), de, ce, Ce, fe = Ot(
5962
6146
  /*txnInfo*/
5963
6147
  e[15].time
5964
- ).format("MMM DD, YYYY, HH:mm:ss") + "", ne, oe, me, _e, Ee, qe, Le, Oe, Ke;
6148
+ ).format("MMM DD, YYYY, HH:mm:ss") + "", ne, oe, me, _e, Ee, Ke, Ie, Oe, Qe;
5965
6149
  function Je(E, U) {
5966
6150
  if (
5967
6151
  /*txnStatus*/
@@ -5991,7 +6175,7 @@ function va(e) {
5991
6175
  E[15].type ? Ta : xa
5992
6176
  );
5993
6177
  }
5994
- let Re = dt(e), ye = Re(e), le = (
6178
+ let De = dt(e), ye = De(e), le = (
5995
6179
  /*receiptFields*/
5996
6180
  e[16].length && mr(e)
5997
6181
  );
@@ -6000,16 +6184,16 @@ function va(e) {
6000
6184
  t = S("div"), se && se.c(), n = G(), r = S("div"), i = S("div"), o = S("p"), a = j(s), u = G(), l = S("span"), c = j(
6001
6185
  /*amount*/
6002
6186
  e[17]
6003
- ), f = G(), m = S("div"), g = S("p"), d = j(v), B = G(), I = S("span"), A = j(N), X = G(), L = S("div"), F = S("p"), ue = j(pe), Q = G(), k = S("span"), Se = j(be), T = G(), _ = S("div"), b = S("p"), w = j(y), H = G(), x = S("span"), D = j(
6187
+ ), f = G(), m = S("div"), g = S("p"), d = j(v), B = G(), A = S("span"), k = j(N), X = G(), I = S("div"), F = S("p"), ue = j(pe), q = G(), L = S("span"), Se = j(be), T = G(), _ = S("div"), b = S("p"), w = j(y), H = G(), x = S("span"), R = j(
6004
6188
  /*paymentmethod*/
6005
6189
  e[0]
6006
- ), W = G(), O = S("div"), q = S("p"), de = j(te), ce = G(), Ce = S("span"), ne = j(fe), oe = G(), me = S("div"), ae && ae.c(), _e = G(), Ee = S("button"), ye.c(), qe = G(), le && le.c(), Le = yn(), h(t, "class", "ReceiptStatusWrapper"), h(i, "class", "Amount"), h(m, "class", Z = `Status ${/*txnStatus*/
6007
- e[21]}`), h(k, "class", "TxnIdText"), h(L, "class", "TxnId"), h(_, "class", "PaymentMethod"), h(O, "class", "PaymentTime"), h(r, "class", "ReceiptDetailsWrapper"), h(me, "class", "ReceiptButtonsWrapper"), h(Ee, "class", "DefaultButton");
6190
+ ), z = G(), O = S("div"), K = S("p"), de = j(te), ce = G(), Ce = S("span"), ne = j(fe), oe = G(), me = S("div"), ae && ae.c(), _e = G(), Ee = S("button"), ye.c(), Ke = G(), le && le.c(), Ie = yn(), h(t, "class", "ReceiptStatusWrapper"), h(i, "class", "Amount"), h(m, "class", Z = `Status ${/*txnStatus*/
6191
+ e[21]}`), h(L, "class", "TxnIdText"), h(I, "class", "TxnId"), h(_, "class", "PaymentMethod"), h(O, "class", "PaymentTime"), h(r, "class", "ReceiptDetailsWrapper"), h(me, "class", "ReceiptButtonsWrapper"), h(Ee, "class", "DefaultButton");
6008
6192
  },
6009
6193
  m(E, U) {
6010
- P(E, t, U), se && se.m(t, null), P(E, n, U), P(E, r, U), C(r, i), C(i, o), C(o, a), C(i, u), C(i, l), C(l, c), C(r, f), C(r, m), C(m, g), C(g, d), C(m, B), C(m, I), C(I, A), C(r, X), C(r, L), C(L, F), C(F, ue), C(L, Q), C(L, k), C(k, Se), C(r, T), C(r, _), C(_, b), C(b, w), C(_, H), C(_, x), C(x, D), C(r, W), C(r, O), C(O, q), C(q, de), C(O, ce), C(O, Ce), C(Ce, ne), P(E, oe, U), P(E, me, U), ae && ae.m(me, null), P(E, _e, U), P(E, Ee, U), ye.m(Ee, null), P(E, qe, U), le && le.m(E, U), P(E, Le, U), Oe || (Ke = [
6194
+ P(E, t, U), se && se.m(t, null), P(E, n, U), P(E, r, U), C(r, i), C(i, o), C(o, a), C(i, u), C(i, l), C(l, c), C(r, f), C(r, m), C(m, g), C(g, d), C(m, B), C(m, A), C(A, k), C(r, X), C(r, I), C(I, F), C(F, ue), C(I, q), C(I, L), C(L, Se), C(r, T), C(r, _), C(_, b), C(b, w), C(_, H), C(_, x), C(x, R), C(r, z), C(r, O), C(O, K), C(K, de), C(O, ce), C(O, Ce), C(Ce, ne), P(E, oe, U), P(E, me, U), ae && ae.m(me, null), P(E, _e, U), P(E, Ee, U), ye.m(Ee, null), P(E, Ke, U), le && le.m(E, U), P(E, Ie, U), Oe || (Qe = [
6011
6195
  st(
6012
- k,
6196
+ L,
6013
6197
  "click",
6014
6198
  /*click_handler*/
6015
6199
  e[45]
@@ -6035,7 +6219,7 @@ function va(e) {
6035
6219
  E[24]("status") + "") && V(d, v), U[0] & /*$_, txnStatus*/
6036
6220
  18874368 && N !== (N = /*$_*/
6037
6221
  E[24](`${/*txnStatus*/
6038
- E[21]}`) + "") && V(A, N), U[0] & /*txnStatus*/
6222
+ E[21]}`) + "") && V(k, N), U[0] & /*txnStatus*/
6039
6223
  2097152 && Z !== (Z = `Status ${/*txnStatus*/
6040
6224
  E[21]}`) && h(m, "class", Z), U[0] & /*$_*/
6041
6225
  16777216 && pe !== (pe = /*$_*/
@@ -6045,7 +6229,7 @@ function va(e) {
6045
6229
  16777216 && y !== (y = /*$_*/
6046
6230
  E[24]("payemntMethod") + "") && V(w, y), U[0] & /*paymentmethod*/
6047
6231
  1 && V(
6048
- D,
6232
+ R,
6049
6233
  /*paymentmethod*/
6050
6234
  E[0]
6051
6235
  ), U[0] & /*$_*/
@@ -6055,11 +6239,11 @@ function va(e) {
6055
6239
  /*txnInfo*/
6056
6240
  E[15].time
6057
6241
  ).format("MMM DD, YYYY, HH:mm:ss") + "") && V(ne, fe), /*displayedButtons*/
6058
- E[12].length > 0 ? ae ? ae.p(E, U) : (ae = pr(E), ae.c(), ae.m(me, null)) : ae && (ae.d(1), ae = null), Re === (Re = dt(E)) && ye ? ye.p(E, U) : (ye.d(1), ye = Re(E), ye && (ye.c(), ye.m(Ee, null))), /*receiptFields*/
6059
- E[16].length ? le ? le.p(E, U) : (le = mr(E), le.c(), le.m(Le.parentNode, Le)) : le && (le.d(1), le = null);
6242
+ E[12].length > 0 ? ae ? ae.p(E, U) : (ae = pr(E), ae.c(), ae.m(me, null)) : ae && (ae.d(1), ae = null), De === (De = dt(E)) && ye ? ye.p(E, U) : (ye.d(1), ye = De(E), ye && (ye.c(), ye.m(Ee, null))), /*receiptFields*/
6243
+ E[16].length ? le ? le.p(E, U) : (le = mr(E), le.c(), le.m(Ie.parentNode, Ie)) : le && (le.d(1), le = null);
6060
6244
  },
6061
6245
  d(E) {
6062
- E && (M(t), M(n), M(r), M(oe), M(me), M(_e), M(Ee), M(qe), M(Le)), se && se.d(), ae && ae.d(), ye.d(), le && le.d(E), Oe = !1, Ae(Ke);
6246
+ E && (M(t), M(n), M(r), M(oe), M(me), M(_e), M(Ee), M(Ke), M(Ie)), se && se.d(), ae && ae.d(), ye.d(), le && le.d(E), Oe = !1, ke(Qe);
6063
6247
  }
6064
6248
  };
6065
6249
  }
@@ -6130,35 +6314,35 @@ function _a(e) {
6130
6314
  /*$_*/
6131
6315
  e[24](`${/*txnInfo*/
6132
6316
  e[15].type.toLowerCase()}.pending.text`) + ""
6133
- ), d, B, I, N = (
6317
+ ), d, B, A, N = (
6134
6318
  /*$_*/
6135
6319
  e[24]("refreshButton") + ""
6136
- ), A, Z, X;
6320
+ ), k, Z, X;
6137
6321
  return {
6138
6322
  c() {
6139
- t = ge("svg"), n = ge("circle"), r = ge("rect"), i = ge("path"), o = ge("path"), s = ge("path"), a = G(), u = S("div"), l = S("h3"), f = j(c), m = G(), g = S("p"), d = j(v), B = G(), I = S("button"), A = j(N), h(n, "cx", "36"), h(n, "cy", "36"), h(n, "r", "36"), h(n, "fill", "#D19A41"), h(n, "fill-opacity", "0.12"), h(r, "x", "19"), h(r, "y", "19"), h(r, "width", "34"), h(r, "height", "34"), h(r, "rx", "17"), h(r, "fill", "#FF6836"), h(i, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), h(i, "stroke", "black"), h(i, "stroke-width", "1.5"), h(i, "stroke-linecap", "round"), h(i, "stroke-linejoin", "round"), h(o, "d", "M36 32V36L38 38"), h(o, "stroke", "black"), h(o, "stroke-width", "1.5"), h(o, "stroke-linecap", "round"), h(o, "stroke-linejoin", "round"), h(s, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), h(s, "stroke", "black"), h(s, "stroke-width", "1.5"), h(s, "stroke-linecap", "round"), h(s, "stroke-linejoin", "round"), h(t, "class", "ReceiptStatusIcon pending"), h(t, "width", "72"), h(t, "height", "72"), h(t, "viewBox", "0 0 72 72"), h(t, "fill", "none"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(u, "class", "ReceiptStatusText"), h(I, "class", "RefreshButton");
6323
+ t = ge("svg"), n = ge("circle"), r = ge("rect"), i = ge("path"), o = ge("path"), s = ge("path"), a = G(), u = S("div"), l = S("h3"), f = j(c), m = G(), g = S("p"), d = j(v), B = G(), A = S("button"), k = j(N), h(n, "cx", "36"), h(n, "cy", "36"), h(n, "r", "36"), h(n, "fill", "#D19A41"), h(n, "fill-opacity", "0.12"), h(r, "x", "19"), h(r, "y", "19"), h(r, "width", "34"), h(r, "height", "34"), h(r, "rx", "17"), h(r, "fill", "#FF6836"), h(i, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), h(i, "stroke", "black"), h(i, "stroke-width", "1.5"), h(i, "stroke-linecap", "round"), h(i, "stroke-linejoin", "round"), h(o, "d", "M36 32V36L38 38"), h(o, "stroke", "black"), h(o, "stroke-width", "1.5"), h(o, "stroke-linecap", "round"), h(o, "stroke-linejoin", "round"), h(s, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), h(s, "stroke", "black"), h(s, "stroke-width", "1.5"), h(s, "stroke-linecap", "round"), h(s, "stroke-linejoin", "round"), h(t, "class", "ReceiptStatusIcon pending"), h(t, "width", "72"), h(t, "height", "72"), h(t, "viewBox", "0 0 72 72"), h(t, "fill", "none"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(u, "class", "ReceiptStatusText"), h(A, "class", "RefreshButton");
6140
6324
  },
6141
- m(L, F) {
6142
- P(L, t, F), C(t, n), C(t, r), C(t, i), C(t, o), C(t, s), P(L, a, F), P(L, u, F), C(u, l), C(l, f), C(u, m), C(u, g), C(g, d), P(L, B, F), P(L, I, F), C(I, A), Z || (X = st(
6143
- I,
6325
+ m(I, F) {
6326
+ P(I, t, F), C(t, n), C(t, r), C(t, i), C(t, o), C(t, s), P(I, a, F), P(I, u, F), C(u, l), C(l, f), C(u, m), C(u, g), C(g, d), P(I, B, F), P(I, A, F), C(A, k), Z || (X = st(
6327
+ A,
6144
6328
  "click",
6145
6329
  /*getPaymentInfo*/
6146
6330
  e[27]
6147
6331
  ), Z = !0);
6148
6332
  },
6149
- p(L, F) {
6333
+ p(I, F) {
6150
6334
  F[0] & /*$_, txnInfo*/
6151
6335
  16809984 && c !== (c = /*$_*/
6152
- L[24](`${/*txnInfo*/
6153
- L[15].type.toLowerCase()}.pending.title`) + "") && V(f, c), F[0] & /*$_, txnInfo*/
6336
+ I[24](`${/*txnInfo*/
6337
+ I[15].type.toLowerCase()}.pending.title`) + "") && V(f, c), F[0] & /*$_, txnInfo*/
6154
6338
  16809984 && v !== (v = /*$_*/
6155
- L[24](`${/*txnInfo*/
6156
- L[15].type.toLowerCase()}.pending.text`) + "") && V(d, v), F[0] & /*$_*/
6339
+ I[24](`${/*txnInfo*/
6340
+ I[15].type.toLowerCase()}.pending.text`) + "") && V(d, v), F[0] & /*$_*/
6157
6341
  16777216 && N !== (N = /*$_*/
6158
- L[24]("refreshButton") + "") && V(A, N);
6342
+ I[24]("refreshButton") + "") && V(k, N);
6159
6343
  },
6160
- d(L) {
6161
- L && (M(t), M(a), M(u), M(B), M(I)), Z = !1, X();
6344
+ d(I) {
6345
+ I && (M(t), M(a), M(u), M(B), M(A)), Z = !1, X();
6162
6346
  }
6163
6347
  };
6164
6348
  }
@@ -6419,7 +6603,7 @@ function Ma(e) {
6419
6603
  let t, n, r;
6420
6604
  return {
6421
6605
  c() {
6422
- t = S("img"), Ln(t.src, n = /*field*/
6606
+ t = S("img"), In(t.src, n = /*field*/
6423
6607
  e[70].defaultValue) || h(t, "src", n), h(t, "title", r = /*field*/
6424
6608
  e[70].description), h(t, "alt", "");
6425
6609
  },
@@ -6428,7 +6612,7 @@ function Ma(e) {
6428
6612
  },
6429
6613
  p(i, o) {
6430
6614
  o[0] & /*receiptFields*/
6431
- 65536 && !Ln(t.src, n = /*field*/
6615
+ 65536 && !In(t.src, n = /*field*/
6432
6616
  i[70].defaultValue) && h(t, "src", n), o[0] & /*receiptFields*/
6433
6617
  65536 && r !== (r = /*field*/
6434
6618
  i[70].description) && h(t, "title", r);
@@ -6532,7 +6716,7 @@ function gr(e) {
6532
6716
  }
6533
6717
  };
6534
6718
  }
6535
- function Aa(e) {
6719
+ function ka(e) {
6536
6720
  let t;
6537
6721
  function n(o, s) {
6538
6722
  return (
@@ -6558,11 +6742,11 @@ function Aa(e) {
6558
6742
  }
6559
6743
  };
6560
6744
  }
6561
- let Ia = "_blank";
6562
- function La(e, t, n) {
6745
+ let Aa = "_blank";
6746
+ function Ia(e, t, n) {
6563
6747
  let r;
6564
6748
  _i(e, $s, (p) => n(24, r = p)), Ot.extend(Zs);
6565
- let { endpoint: i } = t, { session: o } = t, { lang: s = "en" } = t, { local: a = "en-US" } = t, { showerrors: u = "true" } = t, { translationurl: l } = t, { assetsurl: c = "" } = t, { customerid: f } = t, { transactionid: m } = t, { currencydecimals: g = "0" } = t, { type: v } = t, { clientstyling: d = "" } = t, { clientstylingurl: B = "" } = t, { mbsource: I = "" } = t, { showverifications: N = "true" } = t, { paymentmethod: A = "" } = t, Z = !1, X, { customsucceessbuttons: L = "" } = t, { custompendingbuttons: F = "" } = t, { customfailedbuttons: pe = "" } = t, { currencysymbol: ue = "" } = t, { currencyposition: Q = "" } = t, { userroles: k = "" } = t, { windowsize: be } = t, { p2p: Se = "false" } = t, T = [], _ = [];
6749
+ let { endpoint: i } = t, { session: o } = t, { lang: s = "en" } = t, { local: a = "en-US" } = t, { showerrors: u = "true" } = t, { translationurl: l } = t, { assetsurl: c = "" } = t, { customerid: f } = t, { transactionid: m } = t, { currencydecimals: g = "0" } = t, { type: v } = t, { clientstyling: d = "" } = t, { clientstylingurl: B = "" } = t, { mbsource: A = "" } = t, { showverifications: N = "true" } = t, { paymentmethod: k = "" } = t, Z = !1, X, { customsucceessbuttons: I = "" } = t, { custompendingbuttons: F = "" } = t, { customfailedbuttons: pe = "" } = t, { currencysymbol: ue = "" } = t, { currencyposition: q = "" } = t, { userroles: L = "" } = t, { windowsize: be } = t, { p2p: Se = "false" } = t, T = [], _ = [];
6566
6750
  var b;
6567
6751
  (function(p) {
6568
6752
  p.Success = "Success", p.Maintenance = "Maintenance";
@@ -6573,7 +6757,7 @@ function La(e, t, n) {
6573
6757
  })(y || (y = {}));
6574
6758
  const w = (p, [re, we]) => [
6575
6759
  ...p,
6576
- ...Array.isArray(re) ? [...re.map((K) => [K, we])] : [[re, we]]
6760
+ ...Array.isArray(re) ? [...re.map((Q) => [Q, we])] : [[re, we]]
6577
6761
  ], H = new Map([
6578
6762
  [["Unknown", 0], y.Unknown],
6579
6763
  [["Text", 1], y.Text],
@@ -6594,7 +6778,7 @@ function La(e, t, n) {
6594
6778
  [["Html", 19], y.Html],
6595
6779
  [["QR", 20], y.QRCode]
6596
6780
  ].reduce(w, []));
6597
- let x, D = [], W, O, q = [], te, de, ce = "", Ce = window.navigator.userAgent, fe = !1;
6781
+ let x, R = [], z, O, K = [], te, de, ce = "", Ce = window.navigator.userAgent, fe = !1;
6598
6782
  const ne = {
6599
6783
  promotions: {
6600
6784
  event: "Cashier:goToPromotions",
@@ -6658,7 +6842,7 @@ function La(e, t, n) {
6658
6842
  }, me = () => {
6659
6843
  Ns(s);
6660
6844
  };
6661
- Ai(() => (window.addEventListener("message", _e, !1), ua(a, ue, Q, g), () => {
6845
+ ki(() => (window.addEventListener("message", _e, !1), ua(a, ue, q, g), () => {
6662
6846
  window.removeEventListener("message", _e);
6663
6847
  }));
6664
6848
  const _e = (p) => {
@@ -6673,17 +6857,17 @@ function La(e, t, n) {
6673
6857
  if (p)
6674
6858
  return fetch(p).then((re) => re.json()).then((re) => {
6675
6859
  Object.keys(re).forEach((we) => {
6676
- Qn(we, re[we]);
6860
+ qn(we, re[we]);
6677
6861
  });
6678
6862
  }).catch(() => {
6679
6863
  });
6680
6864
  };
6681
- Object.keys(qn).forEach((p) => {
6682
- Qn(p, qn[p]);
6865
+ Object.keys(Kn).forEach((p) => {
6866
+ qn(p, Kn[p]);
6683
6867
  });
6684
- const qe = () => {
6868
+ const Ke = () => {
6685
6869
  window.postMessage({ type: "CloseCashierReceiptPage" }, window.location.href);
6686
- }, Le = () => {
6870
+ }, Ie = () => {
6687
6871
  window.postMessage(
6688
6872
  {
6689
6873
  type: "ErrorResponseCode",
@@ -6700,40 +6884,40 @@ function La(e, t, n) {
6700
6884
  headers: re,
6701
6885
  body: JSON.stringify({ TransactionCode: m })
6702
6886
  };
6703
- n(11, Z = !0), fetch(p, we).then((K) => K.json()).then((K) => {
6887
+ n(11, Z = !0), fetch(p, we).then((Q) => Q.json()).then((Q) => {
6704
6888
  var mt, wn, xn, Tn, Sn, En, Hn, Mn, Bn;
6705
- if (K.ResponseCode !== b.Success) {
6706
- n(19, te = K.ResponseCode), n(20, de = u.toLowerCase() === "false" || !u), Le();
6889
+ if (Q.ResponseCode !== b.Success) {
6890
+ n(19, te = Q.ResponseCode), n(20, de = u.toLowerCase() === "false" || !u), Ie();
6707
6891
  return;
6708
6892
  }
6709
6893
  switch (n(15, x = {
6710
- type: K.Transaction.Type,
6711
- referenceId: K.Transaction.Code,
6712
- status: (mt = K.Transaction.Status) == null ? void 0 : mt.Status,
6713
- message: (wn = K.Transaction.Status) == null ? void 0 : wn.Message,
6714
- amount: (xn = K.Transaction.Amounts[0]) == null ? void 0 : xn.Amount,
6715
- currency: (Tn = K.Transaction.Amounts[0]) == null ? void 0 : Tn.Currency,
6716
- time: K.Transaction.Status.Created
6717
- }), n(16, D = K.ReceiptInfo && K.ReceiptInfo.ReceiptFields ? K.ReceiptInfo.ReceiptFields.map((Me) => ({
6894
+ type: Q.Transaction.Type,
6895
+ referenceId: Q.Transaction.Code,
6896
+ status: (mt = Q.Transaction.Status) == null ? void 0 : mt.Status,
6897
+ message: (wn = Q.Transaction.Status) == null ? void 0 : wn.Message,
6898
+ amount: (xn = Q.Transaction.Amounts[0]) == null ? void 0 : xn.Amount,
6899
+ currency: (Tn = Q.Transaction.Amounts[0]) == null ? void 0 : Tn.Currency,
6900
+ time: Q.Transaction.Status.Created
6901
+ }), n(16, R = Q.ReceiptInfo && Q.ReceiptInfo.ReceiptFields ? Q.ReceiptInfo.ReceiptFields.map((Me) => ({
6718
6902
  type: H.get(Me.Type),
6719
6903
  name: Me.Name,
6720
6904
  description: Me.Description,
6721
6905
  defaultValue: Me.DefaultValue,
6722
6906
  useCopyButton: Me.UseCopyButton,
6723
6907
  usePrintButton: Me.UsePrintButton
6724
- })) : []), K.ReceiptInfo && K.ReceiptInfo.ReceiptFields && !A && n(0, A = D[0].defaultValue), r(js(x.status, x.type), { values: { errorText: x.message } }), n(17, W = la(Number(x.amount), x.currency)), x.status) {
6908
+ })) : []), Q.ReceiptInfo && Q.ReceiptInfo.ReceiptFields && !k && n(0, k = R[0].defaultValue), r(js(x.status, x.type), { values: { errorText: x.message } }), n(17, z = la(Number(x.amount), x.currency)), x.status) {
6725
6909
  case "Voided":
6726
6910
  case "Success":
6727
- if (oe(L || "casino, livecasino, tournaments"), n(21, ce = "success"), x.type === "Deposit") {
6728
- const Me = (En = (Sn = K.Transaction) == null ? void 0 : Sn.Flags) == null ? void 0 : En.NewDepositCustomer, De = (Hn = K == null ? void 0 : K.Transaction) == null ? void 0 : Hn.Payloads;
6911
+ if (oe(I || "casino, livecasino, tournaments"), n(21, ce = "success"), x.type === "Deposit") {
6912
+ const Me = (En = (Sn = Q.Transaction) == null ? void 0 : Sn.Flags) == null ? void 0 : En.NewDepositCustomer, Re = (Hn = Q == null ? void 0 : Q.Transaction) == null ? void 0 : Hn.Payloads;
6729
6913
  window.postMessage(
6730
6914
  {
6731
6915
  type: Me === "True" ? "FirstDeposit" : "ConfirmedDeposit",
6732
- method: A,
6916
+ method: k,
6733
6917
  amount: x.amount,
6734
6918
  currency: x.currency,
6735
- depositType: (Mn = De == null ? void 0 : De.TagManagerDepositType) != null ? Mn : "",
6736
- publicPaymentId: (Bn = De == null ? void 0 : De.TagManagerCode) != null ? Bn : ""
6919
+ depositType: (Mn = Re == null ? void 0 : Re.TagManagerDepositType) != null ? Mn : "",
6920
+ publicPaymentId: (Bn = Re == null ? void 0 : Re.TagManagerCode) != null ? Bn : ""
6737
6921
  },
6738
6922
  window.location.href
6739
6923
  );
@@ -6774,14 +6958,14 @@ function La(e, t, n) {
6774
6958
  }
6775
6959
  c ? Us(c, x.status) : Gs(x.status);
6776
6960
  }).finally(() => n(11, Z = !1));
6777
- }, Ke = (p) => {
6961
+ }, Qe = (p) => {
6778
6962
  window.postMessage({ type: p }, window.location.href);
6779
6963
  }, Je = (p) => {
6780
6964
  p && window.postMessage(
6781
6965
  {
6782
6966
  type: "NavigateTo",
6783
6967
  path: p,
6784
- target: Ia,
6968
+ target: Aa,
6785
6969
  externalLink: !1
6786
6970
  },
6787
6971
  window.location.href
@@ -6789,10 +6973,10 @@ function La(e, t, n) {
6789
6973
  };
6790
6974
  let xe, se;
6791
6975
  const ae = (p, re = !0) => Gt(this, null, function* () {
6792
- const K = p.currentTarget.innerHTML;
6793
- if (K && navigator.clipboard && navigator.clipboard.writeText)
6976
+ const Q = p.currentTarget.innerHTML;
6977
+ if (Q && navigator.clipboard && navigator.clipboard.writeText)
6794
6978
  try {
6795
- yield navigator.clipboard.writeText(K), re && (n(23, xe = !0), clearTimeout(se), se = setTimeout(
6979
+ yield navigator.clipboard.writeText(Q), re && (n(23, xe = !0), clearTimeout(se), se = setTimeout(
6796
6980
  () => {
6797
6981
  n(23, xe = !1);
6798
6982
  },
@@ -6802,11 +6986,11 @@ function La(e, t, n) {
6802
6986
  console.error("Clipboard API failed:", mt);
6803
6987
  }
6804
6988
  }), dt = () => {
6805
- k.length > 0 && (_ = k.split(","));
6806
- }, Re = (p) => ae(p), ye = (p) => Ke(p.event);
6989
+ L.length > 0 && (_ = L.split(","));
6990
+ }, De = (p) => ae(p), ye = (p) => Qe(p.event);
6807
6991
  function le(p) {
6808
6992
  Mt[p ? "unshift" : "push"](() => {
6809
- q[q.length] = p, n(18, q);
6993
+ K[K.length] = p, n(18, K);
6810
6994
  });
6811
6995
  }
6812
6996
  const E = (p) => {
@@ -6818,10 +7002,10 @@ function La(e, t, n) {
6818
7002
  });
6819
7003
  }
6820
7004
  return e.$$set = (p) => {
6821
- "endpoint" in p && n(1, i = p.endpoint), "session" in p && n(2, o = p.session), "lang" in p && n(3, s = p.lang), "local" in p && n(31, a = p.local), "showerrors" in p && n(32, u = p.showerrors), "translationurl" in p && n(4, l = p.translationurl), "assetsurl" in p && n(5, c = p.assetsurl), "customerid" in p && n(6, f = p.customerid), "transactionid" in p && n(33, m = p.transactionid), "currencydecimals" in p && n(34, g = p.currencydecimals), "type" in p && n(35, v = p.type), "clientstyling" in p && n(7, d = p.clientstyling), "clientstylingurl" in p && n(8, B = p.clientstylingurl), "mbsource" in p && n(36, I = p.mbsource), "showverifications" in p && n(9, N = p.showverifications), "paymentmethod" in p && n(0, A = p.paymentmethod), "customsucceessbuttons" in p && n(37, L = p.customsucceessbuttons), "custompendingbuttons" in p && n(38, F = p.custompendingbuttons), "customfailedbuttons" in p && n(39, pe = p.customfailedbuttons), "currencysymbol" in p && n(40, ue = p.currencysymbol), "currencyposition" in p && n(41, Q = p.currencyposition), "userroles" in p && n(42, k = p.userroles), "windowsize" in p && n(43, be = p.windowsize), "p2p" in p && n(44, Se = p.p2p);
7005
+ "endpoint" in p && n(1, i = p.endpoint), "session" in p && n(2, o = p.session), "lang" in p && n(3, s = p.lang), "local" in p && n(31, a = p.local), "showerrors" in p && n(32, u = p.showerrors), "translationurl" in p && n(4, l = p.translationurl), "assetsurl" in p && n(5, c = p.assetsurl), "customerid" in p && n(6, f = p.customerid), "transactionid" in p && n(33, m = p.transactionid), "currencydecimals" in p && n(34, g = p.currencydecimals), "type" in p && n(35, v = p.type), "clientstyling" in p && n(7, d = p.clientstyling), "clientstylingurl" in p && n(8, B = p.clientstylingurl), "mbsource" in p && n(36, A = p.mbsource), "showverifications" in p && n(9, N = p.showverifications), "paymentmethod" in p && n(0, k = p.paymentmethod), "customsucceessbuttons" in p && n(37, I = p.customsucceessbuttons), "custompendingbuttons" in p && n(38, F = p.custompendingbuttons), "customfailedbuttons" in p && n(39, pe = p.customfailedbuttons), "currencysymbol" in p && n(40, ue = p.currencysymbol), "currencyposition" in p && n(41, q = p.currencyposition), "userroles" in p && n(42, L = p.userroles), "windowsize" in p && n(43, be = p.windowsize), "p2p" in p && n(44, Se = p.p2p);
6822
7006
  }, e.$$.update = () => {
6823
7007
  e.$$.dirty[1] & /*userroles*/
6824
- 2048 && k && dt(), e.$$.dirty[0] & /*endpoint, session, customerid*/
7008
+ 2048 && L && dt(), e.$$.dirty[0] & /*endpoint, session, customerid*/
6825
7009
  70 | e.$$.dirty[1] & /*transactionid, showerrors*/
6826
7010
  6 && i && o && f && m && u && Oe(), e.$$.dirty[0] & /*lang*/
6827
7011
  8 && s && me(), e.$$.dirty[0] & /*lang, translationurl*/
@@ -6829,9 +7013,9 @@ function La(e, t, n) {
6829
7013
  1152 && d && O && ca(O, d), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
6830
7014
  1280 && B && O && fa(O, B), e.$$.dirty[0] & /*customStylingContainer*/
6831
7015
  1024 | e.$$.dirty[1] & /*mbsource*/
6832
- 32 && I && O && ha(O, `${I}.Style`, X);
7016
+ 32 && A && O && ha(O, `${A}.Style`, X);
6833
7017
  }, [
6834
- A,
7018
+ k,
6835
7019
  i,
6836
7020
  o,
6837
7021
  s,
@@ -6847,9 +7031,9 @@ function La(e, t, n) {
6847
7031
  b,
6848
7032
  y,
6849
7033
  x,
6850
- D,
6851
- W,
6852
- q,
7034
+ R,
7035
+ z,
7036
+ K,
6853
7037
  te,
6854
7038
  de,
6855
7039
  ce,
@@ -6857,9 +7041,9 @@ function La(e, t, n) {
6857
7041
  xe,
6858
7042
  r,
6859
7043
  Ce,
6860
- qe,
6861
- Oe,
6862
7044
  Ke,
7045
+ Oe,
7046
+ Qe,
6863
7047
  Je,
6864
7048
  ae,
6865
7049
  a,
@@ -6867,16 +7051,16 @@ function La(e, t, n) {
6867
7051
  m,
6868
7052
  g,
6869
7053
  v,
7054
+ A,
6870
7055
  I,
6871
- L,
6872
7056
  F,
6873
7057
  pe,
6874
7058
  ue,
6875
- Q,
6876
- k,
7059
+ q,
7060
+ L,
6877
7061
  be,
6878
7062
  Se,
6879
- Re,
7063
+ De,
6880
7064
  ye,
6881
7065
  le,
6882
7066
  E,
@@ -6885,11 +7069,11 @@ function La(e, t, n) {
6885
7069
  }
6886
7070
  class pi extends Vi {
6887
7071
  constructor(t) {
6888
- super(), Wi(
7072
+ super(), zi(
6889
7073
  this,
6890
7074
  t,
6891
- La,
6892
- Aa,
7075
+ Ia,
7076
+ ka,
6893
7077
  yr,
6894
7078
  {
6895
7079
  endpoint: 1,
@@ -7066,30 +7250,30 @@ class pi extends Vi {
7066
7250
  this.$$set({ p2p: t }), Y();
7067
7251
  }
7068
7252
  }
7069
- zi(pi, { endpoint: {}, session: {}, lang: {}, local: {}, showerrors: {}, translationurl: {}, assetsurl: {}, customerid: {}, transactionid: {}, currencydecimals: {}, type: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showverifications: {}, paymentmethod: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, currencysymbol: {}, currencyposition: {}, userroles: {}, windowsize: {}, p2p: {} }, [], [], !0);
7253
+ Wi(pi, { endpoint: {}, session: {}, lang: {}, local: {}, showerrors: {}, translationurl: {}, assetsurl: {}, customerid: {}, transactionid: {}, currencydecimals: {}, type: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showverifications: {}, paymentmethod: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, currencysymbol: {}, currencyposition: {}, userroles: {}, windowsize: {}, p2p: {} }, [], [], !0);
7070
7254
  const Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7071
7255
  __proto__: null,
7072
7256
  default: pi
7073
7257
  }, Symbol.toStringTag, { value: "Module" }));
7074
7258
  export {
7075
- ke as $,
7076
- Ln as A,
7077
- z as B,
7078
- Ri as C,
7259
+ Le as $,
7260
+ In as A,
7261
+ W as B,
7262
+ Di as C,
7079
7263
  ca as D,
7080
7264
  fa as E,
7081
7265
  ha as F,
7082
- zi as G,
7266
+ Wi as G,
7083
7267
  $s as H,
7084
7268
  Na as I,
7085
7269
  Vi as S,
7086
- Kr as a,
7087
- Wi as b,
7270
+ Qr as a,
7271
+ zi as b,
7088
7272
  wi as c,
7089
7273
  M as d,
7090
7274
  Jt as e,
7091
7275
  Y as f,
7092
- Di as g,
7276
+ Ri as g,
7093
7277
  P as h,
7094
7278
  gs as i,
7095
7279
  S as j,
@@ -7097,13 +7281,13 @@ export {
7097
7281
  _i as l,
7098
7282
  Oa as m,
7099
7283
  $a as n,
7100
- Ai as o,
7101
- Ra as p,
7284
+ ki as o,
7285
+ Da as p,
7102
7286
  C as q,
7103
7287
  G as r,
7104
7288
  yr as s,
7105
7289
  $i as t,
7106
- Da as u,
7290
+ Ra as u,
7107
7291
  Mt as v,
7108
7292
  yn as w,
7109
7293
  V as x,