@everymatrix/cashier-iframe-redirect 1.54.8 → 1.54.10

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.
@@ -112,14 +112,14 @@ function Te(e) {
112
112
  function me(e, t) {
113
113
  e.appendChild(t);
114
114
  }
115
- function dr(e, t, r) {
116
- const n = pr(e);
115
+ function pr(e, t, r) {
116
+ const n = dr(e);
117
117
  if (!n.getElementById(t)) {
118
118
  const i = z("style");
119
119
  i.id = t, i.textContent = r, br(n, i);
120
120
  }
121
121
  }
122
- function pr(e) {
122
+ function dr(e) {
123
123
  if (!e) return document;
124
124
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
125
125
  return t && /** @type {ShadowRoot} */
@@ -283,8 +283,8 @@ function Ar(e, t, r, n, i, s, a = null, o = [-1]) {
283
283
  };
284
284
  a && a(u.root);
285
285
  let h = !1;
286
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
287
- const m = d.length ? d[0] : c;
286
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
287
+ const m = p.length ? p[0] : c;
288
288
  return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Sr(e, f)), c;
289
289
  }) : [], u.update(), h = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
290
290
  if (t.hydrate) {
@@ -573,7 +573,7 @@ function Q(e, t, r) {
573
573
  f();
574
574
  const m = t(n ? u[0] : u, a, o);
575
575
  s ? a(m) : f = Xe(m) ? m : T;
576
- }, d = i.map(
576
+ }, p = i.map(
577
577
  (m, g) => wt(
578
578
  m,
579
579
  (v) => {
@@ -585,7 +585,7 @@ function Q(e, t, r) {
585
585
  )
586
586
  );
587
587
  return l = !0, c(), function() {
588
- re(d), f(), l = !1;
588
+ re(p), f(), l = !1;
589
589
  };
590
590
  });
591
591
  }
@@ -749,10 +749,10 @@ var en = function() {
749
749
  }
750
750
  }, Oe = {
751
751
  variadic: Kr
752
- }, p;
752
+ }, d;
753
753
  (function(e) {
754
754
  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";
755
- })(p || (p = {}));
755
+ })(d || (d = {}));
756
756
  var E;
757
757
  (function(e) {
758
758
  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";
@@ -1059,13 +1059,13 @@ function mn(e) {
1059
1059
  case "integer-width":
1060
1060
  if (i.options.length > 1)
1061
1061
  throw new RangeError("integer-width stems only accept a single optional option");
1062
- i.options[0].replace(fn, function(l, u, h, f, c, d) {
1062
+ i.options[0].replace(fn, function(l, u, h, f, c, p) {
1063
1063
  if (u)
1064
1064
  t.minimumIntegerDigits = h.length;
1065
1065
  else {
1066
1066
  if (f && c)
1067
1067
  throw new Error("We currently do not support maximum integer digits");
1068
- if (d)
1068
+ if (p)
1069
1069
  throw new Error("We currently do not support exact integer digits");
1070
1070
  }
1071
1071
  return "";
@@ -1079,8 +1079,8 @@ function mn(e) {
1079
1079
  if (st.test(i.stem)) {
1080
1080
  if (i.options.length > 1)
1081
1081
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1082
- i.stem.replace(st, function(l, u, h, f, c, d) {
1083
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1082
+ i.stem.replace(st, function(l, u, h, f, c, p) {
1083
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1084
1084
  });
1085
1085
  var s = i.options[0];
1086
1086
  s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), ot(s)));
@@ -2512,13 +2512,13 @@ var ae = {
2512
2512
  "h"
2513
2513
  ]
2514
2514
  };
2515
- function dn(e, t) {
2515
+ function pn(e, t) {
2516
2516
  for (var r = "", n = 0; n < e.length; n++) {
2517
2517
  var i = e.charAt(n);
2518
2518
  if (i === "j") {
2519
2519
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2520
2520
  s++, n++;
2521
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = pn(t);
2521
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = dn(t);
2522
2522
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2523
2523
  r += l;
2524
2524
  for (; a-- > 0; )
@@ -2527,7 +2527,7 @@ function dn(e, t) {
2527
2527
  }
2528
2528
  return r;
2529
2529
  }
2530
- function pn(e) {
2530
+ function dn(e) {
2531
2531
  var t = e.hourCycle;
2532
2532
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2533
2533
  e.hourCycles && // @ts-ignore
@@ -2683,7 +2683,7 @@ var Cn = (
2683
2683
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2684
2684
  if (n)
2685
2685
  break;
2686
- return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2686
+ return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2687
2687
  } else if (s === 60 && !this.ignoreTag && je(this.peek() || 0)) {
2688
2688
  var a = this.parseTag(t, r);
2689
2689
  if (a.err)
@@ -2718,9 +2718,9 @@ var Cn = (
2718
2718
  var a = s.val, o = this.clonePosition();
2719
2719
  if (this.bumpIf("</")) {
2720
2720
  if (this.isEOF() || !je(this.char()))
2721
- return this.error(p.INVALID_TAG, b(o, this.clonePosition()));
2721
+ return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
2722
2722
  var l = this.clonePosition(), u = this.parseTagName();
2723
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2723
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2724
2724
  val: {
2725
2725
  type: E.tag,
2726
2726
  value: i,
@@ -2728,11 +2728,11 @@ var Cn = (
2728
2728
  location: b(n, this.clonePosition())
2729
2729
  },
2730
2730
  err: null
2731
- } : this.error(p.INVALID_TAG, b(o, this.clonePosition())));
2731
+ } : this.error(d.INVALID_TAG, b(o, this.clonePosition())));
2732
2732
  } else
2733
- return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
2733
+ return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
2734
2734
  } else
2735
- return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
2735
+ return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2736
2736
  }, e.prototype.parseTagName = function() {
2737
2737
  var t = this.offset();
2738
2738
  for (this.bump(); !this.isEOF() && Pn(this.char()); )
@@ -2807,14 +2807,14 @@ var Cn = (
2807
2807
  }, e.prototype.parseArgument = function(t, r) {
2808
2808
  var n = this.clonePosition();
2809
2809
  if (this.bump(), this.bumpSpace(), this.isEOF())
2810
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2810
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2811
2811
  if (this.char() === 125)
2812
- return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2812
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2813
2813
  var i = this.parseIdentifierIfPossible().value;
2814
2814
  if (!i)
2815
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2815
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2816
2816
  if (this.bumpSpace(), this.isEOF())
2817
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2817
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2818
2818
  switch (this.char()) {
2819
2819
  case 125:
2820
2820
  return this.bump(), {
@@ -2827,9 +2827,9 @@ var Cn = (
2827
2827
  err: null
2828
2828
  };
2829
2829
  case 44:
2830
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2830
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2831
2831
  default:
2832
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2832
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2833
2833
  }
2834
2834
  }, e.prototype.parseIdentifierIfPossible = function() {
2835
2835
  var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
@@ -2840,7 +2840,7 @@ var Cn = (
2840
2840
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2841
2841
  switch (o) {
2842
2842
  case "":
2843
- return this.error(p.EXPECT_ARGUMENT_TYPE, b(a, l));
2843
+ return this.error(d.EXPECT_ARGUMENT_TYPE, b(a, l));
2844
2844
  case "number":
2845
2845
  case "date":
2846
2846
  case "time": {
@@ -2853,9 +2853,9 @@ var Cn = (
2853
2853
  return f;
2854
2854
  var c = An(f.val);
2855
2855
  if (c.length === 0)
2856
- return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2857
- var d = b(h, this.clonePosition());
2858
- u = { style: c, styleLocation: d };
2856
+ return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2857
+ var p = b(h, this.clonePosition());
2858
+ u = { style: c, styleLocation: p };
2859
2859
  }
2860
2860
  var m = this.tryParseArgumentClose(i);
2861
2861
  if (m.err)
@@ -2871,9 +2871,9 @@ var Cn = (
2871
2871
  };
2872
2872
  } else {
2873
2873
  if (v.length === 0)
2874
- return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
2874
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
2875
2875
  var N = v;
2876
- this.locale && (N = dn(v, this.locale));
2876
+ this.locale && (N = pn(v, this.locale));
2877
2877
  var c = {
2878
2878
  type: V.dateTime,
2879
2879
  pattern: N,
@@ -2901,14 +2901,14 @@ var Cn = (
2901
2901
  case "select": {
2902
2902
  var H = this.clonePosition();
2903
2903
  if (this.bumpSpace(), !this.bumpIf(","))
2904
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
2904
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
2905
2905
  this.bumpSpace();
2906
2906
  var I = this.parseIdentifierIfPossible(), w = 0;
2907
2907
  if (o !== "select" && I.value === "offset") {
2908
2908
  if (!this.bumpIf(":"))
2909
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2909
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2910
2910
  this.bumpSpace();
2911
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2911
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2912
2912
  if (f.err)
2913
2913
  return f;
2914
2914
  this.bumpSpace(), I = this.parseIdentifierIfPossible(), w = f.val;
@@ -2941,10 +2941,10 @@ var Cn = (
2941
2941
  };
2942
2942
  }
2943
2943
  default:
2944
- return this.error(p.INVALID_ARGUMENT_TYPE, b(a, l));
2944
+ return this.error(d.INVALID_ARGUMENT_TYPE, b(a, l));
2945
2945
  }
2946
2946
  }, e.prototype.tryParseArgumentClose = function(t) {
2947
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2947
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2948
2948
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2949
2949
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2950
2950
  var n = this.char();
@@ -2953,7 +2953,7 @@ var Cn = (
2953
2953
  this.bump();
2954
2954
  var i = this.clonePosition();
2955
2955
  if (!this.bumpUntil("'"))
2956
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2956
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2957
2957
  this.bump();
2958
2958
  break;
2959
2959
  }
@@ -2985,7 +2985,7 @@ var Cn = (
2985
2985
  try {
2986
2986
  n = hn(t);
2987
2987
  } catch (i) {
2988
- return this.error(p.INVALID_NUMBER_SKELETON, r);
2988
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
2989
2989
  }
2990
2990
  return {
2991
2991
  val: {
@@ -3001,7 +3001,7 @@ var Cn = (
3001
3001
  if (u.length === 0) {
3002
3002
  var f = this.clonePosition();
3003
3003
  if (r !== "select" && this.bumpIf("=")) {
3004
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3004
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3005
3005
  if (c.err)
3006
3006
  return c;
3007
3007
  h = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
@@ -3009,26 +3009,26 @@ var Cn = (
3009
3009
  break;
3010
3010
  }
3011
3011
  if (l.has(u))
3012
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3012
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3013
3013
  u === "other" && (a = !0), this.bumpSpace();
3014
- var d = this.clonePosition();
3014
+ var p = this.clonePosition();
3015
3015
  if (!this.bumpIf("{"))
3016
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3016
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3017
3017
  var m = this.parseMessage(t + 1, r, n);
3018
3018
  if (m.err)
3019
3019
  return m;
3020
- var g = this.tryParseArgumentClose(d);
3020
+ var g = this.tryParseArgumentClose(p);
3021
3021
  if (g.err)
3022
3022
  return g;
3023
3023
  o.push([
3024
3024
  u,
3025
3025
  {
3026
3026
  value: m.val,
3027
- location: b(d, this.clonePosition())
3027
+ location: b(p, this.clonePosition())
3028
3028
  }
3029
3029
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3030
3030
  }
3031
- return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3031
+ return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3032
3032
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3033
3033
  var n = 1, i = this.clonePosition();
3034
3034
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3133,7 +3133,7 @@ function Nn(e, t) {
3133
3133
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3134
3134
  var r = new Cn(e, t).parse();
3135
3135
  if (r.err) {
3136
- var n = SyntaxError(p[r.err.kind]);
3136
+ var n = SyntaxError(d[r.err.kind]);
3137
3137
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3138
3138
  }
3139
3139
  return t != null && t.captureLocation || ke(r.val), r.val;
@@ -3230,26 +3230,26 @@ function fe(e, t, r, n, i, s, a) {
3230
3230
  continue;
3231
3231
  }
3232
3232
  if (Mt(h)) {
3233
- var d = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3233
+ var p = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3234
3234
  o.push({
3235
3235
  type: x.literal,
3236
- value: r.getDateTimeFormat(t, d).format(c)
3236
+ value: r.getDateTimeFormat(t, p).format(c)
3237
3237
  });
3238
3238
  continue;
3239
3239
  }
3240
3240
  if ($t(h)) {
3241
- var d = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3241
+ var p = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3242
3242
  o.push({
3243
3243
  type: x.literal,
3244
- value: r.getDateTimeFormat(t, d).format(c)
3244
+ value: r.getDateTimeFormat(t, p).format(c)
3245
3245
  });
3246
3246
  continue;
3247
3247
  }
3248
3248
  if (It(h)) {
3249
- var d = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3250
- d && d.scale && (c = c * (d.scale || 1)), o.push({
3249
+ var p = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3250
+ p && p.scale && (c = c * (p.scale || 1)), o.push({
3251
3251
  type: x.literal,
3252
- value: r.getNumberFormat(t, d).format(c)
3252
+ value: r.getNumberFormat(t, p).format(c)
3253
3253
  });
3254
3254
  continue;
3255
3255
  }
@@ -3538,7 +3538,7 @@ function zn(e) {
3538
3538
  return [t, r ? [...r] : []];
3539
3539
  }).filter(([, t]) => t.length > 0);
3540
3540
  }
3541
- function de(e) {
3541
+ function pe(e) {
3542
3542
  return e == null ? !1 : ie(e).some(
3543
3543
  (t) => {
3544
3544
  var r;
@@ -3553,7 +3553,7 @@ function Zn(e, t) {
3553
3553
  }
3554
3554
  const J = {};
3555
3555
  function Kt(e) {
3556
- if (!de(e))
3556
+ if (!pe(e))
3557
3557
  return e in J ? J[e] : Promise.resolve();
3558
3558
  const t = zn(e);
3559
3559
  return J[e] = Promise.all(
@@ -3561,7 +3561,7 @@ function Kt(e) {
3561
3561
  ([r, n]) => Zn(r, n)
3562
3562
  )
3563
3563
  ).then(() => {
3564
- if (de(e))
3564
+ if (pe(e))
3565
3565
  return Kt(e);
3566
3566
  delete J[e];
3567
3567
  }), J[e];
@@ -3609,7 +3609,7 @@ function Kn({ locale: e, id: t }) {
3609
3609
  console.warn(
3610
3610
  `[svelte-i18n] The message "${t}" was not found in "${ie(
3611
3611
  e
3612
- ).join('", "')}".${de(L()) ? `
3612
+ ).join('", "')}".${pe(L()) ? `
3613
3613
 
3614
3614
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3615
3615
  );
@@ -3641,44 +3641,44 @@ function ti(e) {
3641
3641
  )), Object.assign(Y, n, { initialLocale: i }), r && ("number" in r && Object.assign(Y.formats.number, r.number), "date" in r && Object.assign(Y.formats.date, r.date), "time" in r && Object.assign(Y.formats.time, r.time)), $.set(i);
3642
3642
  }
3643
3643
  const Ne = ge(!1);
3644
- var ri = Object.defineProperty, ni = Object.defineProperties, ii = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, si = Object.prototype.hasOwnProperty, oi = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ai = (e, t) => {
3644
+ var ri = Object.defineProperty, ni = Object.defineProperties, ii = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, si = Object.prototype.hasOwnProperty, oi = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ai = (e, t) => {
3645
3645
  for (var r in t || (t = {}))
3646
- si.call(t, r) && dt(e, r, t[r]);
3646
+ si.call(t, r) && pt(e, r, t[r]);
3647
3647
  if (mt)
3648
3648
  for (var r of mt(t))
3649
- oi.call(t, r) && dt(e, r, t[r]);
3649
+ oi.call(t, r) && pt(e, r, t[r]);
3650
3650
  return e;
3651
3651
  }, ui = (e, t) => ni(e, ii(t));
3652
3652
  let Ve;
3653
- const pe = ge(null);
3654
- function pt(e) {
3653
+ const de = ge(null);
3654
+ function dt(e) {
3655
3655
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3656
3656
  }
3657
3657
  function ie(e, t = W().fallbackLocale) {
3658
- const r = pt(e);
3659
- return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3658
+ const r = dt(e);
3659
+ return t ? [.../* @__PURE__ */ new Set([...r, ...dt(t)])] : r;
3660
3660
  }
3661
3661
  function L() {
3662
3662
  return Ve != null ? Ve : void 0;
3663
3663
  }
3664
- pe.subscribe((e) => {
3664
+ de.subscribe((e) => {
3665
3665
  Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3666
3666
  });
3667
3667
  const hi = (e) => {
3668
- if (e && Xn(e) && de(e)) {
3668
+ if (e && Xn(e) && pe(e)) {
3669
3669
  const { loadingDelay: t } = W();
3670
3670
  let r;
3671
3671
  return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
3672
3672
  () => Ne.set(!0),
3673
3673
  t
3674
3674
  ) : Ne.set(!0), Kt(e).then(() => {
3675
- pe.set(e);
3675
+ de.set(e);
3676
3676
  }).finally(() => {
3677
3677
  clearTimeout(r), Ne.set(!1);
3678
3678
  });
3679
3679
  }
3680
- return pe.set(e);
3681
- }, $ = ui(ai({}, pe), {
3680
+ return de.set(e);
3681
+ }, $ = ui(ai({}, de), {
3682
3682
  set: hi
3683
3683
  }), Ee = (e) => {
3684
3684
  const t = /* @__PURE__ */ Object.create(null);
@@ -3731,14 +3731,14 @@ const te = (e, t) => {
3731
3731
  );
3732
3732
  return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3733
3733
  }
3734
- ), di = (e = {}) => {
3734
+ ), pi = (e = {}) => {
3735
3735
  var t = e, {
3736
3736
  locale: r = L()
3737
3737
  } = t, n = q(t, [
3738
3738
  "locale"
3739
3739
  ]);
3740
3740
  return fi(Qe({ locale: r }, n));
3741
- }, pi = (e = {}) => {
3741
+ }, di = (e = {}) => {
3742
3742
  var t = e, {
3743
3743
  locale: r = L()
3744
3744
  } = t, n = q(t, [
@@ -3789,7 +3789,7 @@ const te = (e, t) => {
3789
3789
  );
3790
3790
  }
3791
3791
  return f;
3792
- }, yi = (e, t) => bi(t).format(e), Ei = (e, t) => pi(t).format(e), xi = (e, t) => di(t).format(e), vi = (e, t = L()) => Qt(e, t), Hi = Q([$, ne], () => _i);
3792
+ }, yi = (e, t) => bi(t).format(e), Ei = (e, t) => di(t).format(e), xi = (e, t) => pi(t).format(e), vi = (e, t = L()) => Qt(e, t), Hi = Q([$, ne], () => _i);
3793
3793
  Q([$], () => yi);
3794
3794
  Q([$], () => Ei);
3795
3795
  Q([$], () => xi);
@@ -3826,7 +3826,7 @@ const _t = {
3826
3826
  }
3827
3827
  };
3828
3828
  function Ti(e) {
3829
- dr(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
3829
+ pr(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
3830
3830
  }
3831
3831
  const wi = (e) => ({}), yt = (e) => ({}), Si = (e) => ({}), Et = (e) => ({}), Ai = (e) => ({}), xt = (e) => ({});
3832
3832
  function vt(e) {
@@ -3968,13 +3968,13 @@ function Li(e) {
3968
3968
  /*$$scope*/
3969
3969
  e[14],
3970
3970
  yt
3971
- ), d = c || Pi(e);
3971
+ ), p = c || Pi(e);
3972
3972
  return {
3973
3973
  c() {
3974
- t = z("div"), o && o.c(), r = tt(), h && h.c(), n = tt(), d && d.c(), Z(t, "class", "CashierHeader");
3974
+ t = z("div"), o && o.c(), r = tt(), h && h.c(), n = tt(), p && p.c(), Z(t, "class", "CashierHeader");
3975
3975
  },
3976
3976
  m(m, g) {
3977
- M(m, t, g), o && o.m(t, null), me(t, r), h && h.m(t, null), me(t, n), d && d.m(t, null), e[16](t), i = !0;
3977
+ M(m, t, g), o && o.m(t, null), me(t, r), h && h.m(t, null), me(t, n), p && p.m(t, null), e[16](t), i = !0;
3978
3978
  },
3979
3979
  p(m, [g]) {
3980
3980
  a ? a.p && (!i || g & /*$$scope*/
@@ -4033,24 +4033,24 @@ function Li(e) {
4033
4033
  m[14]
4034
4034
  ),
4035
4035
  yt
4036
- ) : d && d.p && (!i || g & /*closeButton*/
4037
- 8) && d.p(m, i ? g : -1);
4036
+ ) : p && p.p && (!i || g & /*closeButton*/
4037
+ 8) && p.p(m, i ? g : -1);
4038
4038
  },
4039
4039
  i(m) {
4040
- i || (he(o, m), he(h, m), he(d, m), i = !0);
4040
+ i || (he(o, m), he(h, m), he(p, m), i = !0);
4041
4041
  },
4042
4042
  o(m) {
4043
- Se(o, m), Se(h, m), Se(d, m), i = !1;
4043
+ Se(o, m), Se(h, m), Se(p, m), i = !1;
4044
4044
  },
4045
4045
  d(m) {
4046
- m && P(t), o && o.d(m), h && h.d(m), d && d.d(m), e[16](null);
4046
+ m && P(t), o && o.d(m), h && h.d(m), p && p.d(m), e[16](null);
4047
4047
  }
4048
4048
  };
4049
4049
  }
4050
4050
  function Ni(e, t, r) {
4051
4051
  let n;
4052
4052
  mr(e, Hi, (_) => r(4, n = _));
4053
- let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, d, m = !1, g, v = !1;
4053
+ let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, p, m = !1, g, v = !1;
4054
4054
  const N = () => {
4055
4055
  let _ = l;
4056
4056
  _ && fetch(_).then((S) => S.json()).then((S) => {
@@ -4066,13 +4066,13 @@ function Ni(e, t, r) {
4066
4066
  });
4067
4067
  const C = () => {
4068
4068
  let _ = document.createElement("style");
4069
- _.innerHTML = a, d.appendChild(_);
4069
+ _.innerHTML = a, p.appendChild(_);
4070
4070
  }, H = () => {
4071
4071
  let _ = new URL(o), S = document.createElement("style");
4072
4072
  fetch(_.href).then((U) => U.text()).then((U) => {
4073
4073
  S.innerHTML = U, setTimeout(
4074
4074
  () => {
4075
- d.appendChild(S);
4075
+ p.appendChild(S);
4076
4076
  },
4077
4077
  1
4078
4078
  );
@@ -4092,7 +4092,7 @@ function Ni(e, t, r) {
4092
4092
  };
4093
4093
  function sr(_) {
4094
4094
  Ie[_ ? "unshift" : "push"](() => {
4095
- d = _, r(0, d);
4095
+ p = _, r(0, p);
4096
4096
  });
4097
4097
  }
4098
4098
  return e.$$set = (_) => {
@@ -4101,13 +4101,13 @@ function Ni(e, t, r) {
4101
4101
  e.$$.dirty & /*lang*/
4102
4102
  4096 && f && I(), e.$$.dirty & /*lang, title*/
4103
4103
  6144 && f && h && ir(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4104
- 129 && a && d && C(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4105
- 257 && o && d && H(), e.$$.dirty & /*lang, translationurl*/
4104
+ 129 && a && p && C(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4105
+ 257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
4106
4106
  4608 && f && l && N(), e.$$.dirty & /*showbackbutton*/
4107
4107
  1024 && u && se(), e.$$.dirty & /*showclosebutton*/
4108
4108
  8192 && c && nr();
4109
4109
  }, [
4110
- d,
4110
+ p,
4111
4111
  m,
4112
4112
  g,
4113
4113
  v,
@@ -4201,7 +4201,7 @@ export {
4201
4201
  Jt as a,
4202
4202
  Ar as b,
4203
4203
  Cr as c,
4204
- dr as d,
4204
+ pr as d,
4205
4205
  P as e,
4206
4206
  A as f,
4207
4207
  $i as g,
@@ -1,4 +1,4 @@
1
- import { a as N, i as U, $ as Z, S as F, b as P, f as C, s as G, c as J, d as K, n as k, e as v, g as c, h as R, j as b, k as E, l as L, m as M, o as y, p as H, q as Q } from "./CashierHeader-wy1ifaFQ.js";
1
+ import { a as N, i as U, $ as Z, S as F, b as P, f as C, s as G, c as J, d as K, n as k, e as v, g as c, h as R, j as b, k as E, l as L, m as M, o as y, p as H, q as Q } from "./CashierHeader-z-Fop357.js";
2
2
  function T(i, e) {
3
3
  N(i, e);
4
4
  }
@@ -36,7 +36,7 @@ if (typeof window != "undefined") {
36
36
  }
37
37
  };
38
38
  };
39
- customElements.define = i(customElements.define), import("./CashierHeader-wy1ifaFQ.js").then((e) => e.C).then(({ default: e }) => {
39
+ customElements.define = i(customElements.define), import("./CashierHeader-z-Fop357.js").then((e) => e.C).then(({ default: e }) => {
40
40
  !customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
41
41
  });
42
42
  }
@@ -52,7 +52,7 @@ if (typeof window != "undefined") {
52
52
  }
53
53
  };
54
54
  };
55
- customElements.define = i(customElements.define), import("./CashierSpinner-tTo37KBl.js").then(({ default: e }) => {
55
+ customElements.define = i(customElements.define), import("./CashierSpinner-BbUbWIXF.js").then(({ default: e }) => {
56
56
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
57
57
  });
58
58
  }
@@ -1,4 +1,4 @@
1
- import { a as N, i as U, $ as Z, c as F, S as P, b as G, s as J, f as b, d as K, n as k, e as v, g as c, h as R, j as C, k as E, l as L, m as M, o as y, p as H, q as Q } from "./CashierHeader-e9HEzjli.js";
1
+ import { a as N, i as U, $ as Z, c as F, S as P, b as G, s as J, f as b, d as K, n as k, e as v, g as c, h as R, j as C, k as E, l as L, m as M, o as y, p as H, q as Q } from "./CashierHeader-SjQD0iXc.js";
2
2
  function T(i, e) {
3
3
  N(i, e);
4
4
  }
@@ -36,7 +36,7 @@ if (typeof window < "u") {
36
36
  }
37
37
  };
38
38
  };
39
- customElements.define = i(customElements.define), import("./CashierHeader-e9HEzjli.js").then((e) => e.C).then(({ default: e }) => {
39
+ customElements.define = i(customElements.define), import("./CashierHeader-SjQD0iXc.js").then((e) => e.C).then(({ default: e }) => {
40
40
  !customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
41
41
  });
42
42
  }
@@ -52,7 +52,7 @@ if (typeof window < "u") {
52
52
  }
53
53
  };
54
54
  };
55
- customElements.define = i(customElements.define), import("./CashierSpinner-BqJ2PZjT.js").then(({ default: e }) => {
55
+ customElements.define = i(customElements.define), import("./CashierSpinner-DpWXh4O5.js").then(({ default: e }) => {
56
56
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
57
57
  });
58
58
  }