@everymatrix/cashier-carousel 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.
@@ -3,7 +3,7 @@ function N() {
3
3
  function ur(e) {
4
4
  return e();
5
5
  }
6
- function Pt() {
6
+ function Mt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function fe(e) {
@@ -16,7 +16,7 @@ function lr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let Le;
19
- function Mt(e, t) {
19
+ function Pt(e, t) {
20
20
  return e === t ? !0 : (Le || (Le = document.createElement("a")), Le.href = t, e === Le.href);
21
21
  }
22
22
  function Yr(e) {
@@ -227,7 +227,7 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
227
227
  props: o,
228
228
  update: N,
229
229
  not_equal: i,
230
- bound: Pt(),
230
+ bound: Mt(),
231
231
  // lifecycle
232
232
  on_mount: [],
233
233
  on_destroy: [],
@@ -236,7 +236,7 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
236
236
  after_update: [],
237
237
  context: new Map(t.context || (l ? l.$$.context : [])),
238
238
  // everything else
239
- callbacks: Pt(),
239
+ callbacks: Mt(),
240
240
  dirty: a,
241
241
  skip_bound: !1,
242
242
  root: t.target || l.$$.root
@@ -558,13 +558,13 @@ var Cn = typeof Symbol == "function" && Symbol.for, Hn = Cn ? Symbol.for("react.
558
558
  function An(e) {
559
559
  return e.$$typeof === Hn;
560
560
  }
561
- function Pn(e) {
561
+ function Mn(e) {
562
562
  return Array.isArray(e) ? [] : {};
563
563
  }
564
564
  function Ce(e, t) {
565
- return t.clone !== !1 && t.isMergeableObject(e) ? ue(Pn(e), e, t) : e;
565
+ return t.clone !== !1 && t.isMergeableObject(e) ? ue(Mn(e), e, t) : e;
566
566
  }
567
- function Mn(e, t, r) {
567
+ function Pn(e, t, r) {
568
568
  return e.concat(t).map(function(n) {
569
569
  return Ce(n, r);
570
570
  });
@@ -602,7 +602,7 @@ function In(e, t, r) {
602
602
  }), n;
603
603
  }
604
604
  function ue(e, t, r) {
605
- r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || wn, r.cloneUnlessOtherwiseSpecified = Ce;
605
+ r = r || {}, r.arrayMerge = r.arrayMerge || Pn, r.isMergeableObject = r.isMergeableObject || wn, r.cloneUnlessOtherwiseSpecified = Ce;
606
606
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
607
607
  return o ? n ? r.arrayMerge(e, t, r) : In(e, t, r) : Ce(t, r);
608
608
  }
@@ -852,15 +852,15 @@ function Qn(e) {
852
852
  return "";
853
853
  }), t;
854
854
  }
855
- var M = function() {
856
- return M = Object.assign || function(t) {
855
+ var P = function() {
856
+ return P = Object.assign || function(t) {
857
857
  for (var r, n = 1, i = arguments.length; n < i; n++) {
858
858
  r = arguments[n];
859
859
  for (var o in r)
860
860
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
861
861
  }
862
862
  return t;
863
- }, M.apply(this, arguments);
863
+ }, P.apply(this, arguments);
864
864
  };
865
865
  var Yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
866
866
  function Jn(e) {
@@ -984,13 +984,13 @@ function ti(e) {
984
984
  t.notation = "compact", t.compactDisplay = "long";
985
985
  continue;
986
986
  case "scientific":
987
- t = M(M(M({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
988
- return M(M({}, l), Dt(u));
987
+ t = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
988
+ return P(P({}, l), Dt(u));
989
989
  }, {}));
990
990
  continue;
991
991
  case "engineering":
992
- t = M(M(M({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
993
- return M(M({}, l), Dt(u));
992
+ t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
993
+ return P(P({}, l), Dt(u));
994
994
  }, {}));
995
995
  continue;
996
996
  case "notation-simple":
@@ -1059,17 +1059,17 @@ function ti(e) {
1059
1059
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1060
1060
  });
1061
1061
  var o = i.options[0];
1062
- o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), Rt(o)));
1062
+ o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), Rt(o)));
1063
1063
  continue;
1064
1064
  }
1065
1065
  if (wr.test(i.stem)) {
1066
- t = M(M({}, t), Rt(i.stem));
1066
+ t = P(P({}, t), Rt(i.stem));
1067
1067
  continue;
1068
1068
  }
1069
1069
  var s = Tr(i.stem);
1070
- s && (t = M(M({}, t), s));
1070
+ s && (t = P(P({}, t), s));
1071
1071
  var a = ei(i.stem);
1072
- a && (t = M(M({}, t), a));
1072
+ a && (t = P(P({}, t), a));
1073
1073
  }
1074
1074
  return t;
1075
1075
  }
@@ -2896,13 +2896,13 @@ var gi = (
2896
2896
  var d = this.tryParseArgumentClose(i);
2897
2897
  if (d.err)
2898
2898
  return d;
2899
- var P = w(i, this.clonePosition());
2899
+ var M = w(i, this.clonePosition());
2900
2900
  return a === "select" ? {
2901
2901
  val: {
2902
2902
  type: C.select,
2903
2903
  value: n,
2904
2904
  options: Ut(L.val),
2905
- location: P
2905
+ location: M
2906
2906
  },
2907
2907
  err: null
2908
2908
  } : {
@@ -2912,7 +2912,7 @@ var gi = (
2912
2912
  options: Ut(L.val),
2913
2913
  offset: A,
2914
2914
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2915
- location: P
2915
+ location: M
2916
2916
  },
2917
2917
  err: null
2918
2918
  };
@@ -3326,7 +3326,7 @@ function Ai(e) {
3326
3326
  })
3327
3327
  };
3328
3328
  }
3329
- var Pr = (
3329
+ var Mr = (
3330
3330
  /** @class */
3331
3331
  function() {
3332
3332
  function e(t, r, n, i) {
@@ -3438,7 +3438,7 @@ var Pr = (
3438
3438
  }, e;
3439
3439
  }()
3440
3440
  );
3441
- function Pi(e, t) {
3441
+ function Mi(e, t) {
3442
3442
  if (t == null)
3443
3443
  return;
3444
3444
  if (t in e)
@@ -3459,16 +3459,16 @@ function Pi(e, t) {
3459
3459
  n = void 0;
3460
3460
  return n;
3461
3461
  }
3462
- const Q = {}, Mi = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Mr = (e, t) => {
3462
+ const Q = {}, Pi = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Pr = (e, t) => {
3463
3463
  if (t == null)
3464
3464
  return;
3465
3465
  if (t in Q && e in Q[t])
3466
3466
  return Q[t][e];
3467
- const r = Pe(t);
3467
+ const r = Me(t);
3468
3468
  for (let n = 0; n < r.length; n++) {
3469
3469
  const i = r[n], o = Bi(i, e);
3470
3470
  if (o)
3471
- return Mi(e, t, o);
3471
+ return Pi(e, t, o);
3472
3472
  }
3473
3473
  };
3474
3474
  let Ct;
@@ -3483,12 +3483,12 @@ function Bi(e, t) {
3483
3483
  if (!Or(e))
3484
3484
  return null;
3485
3485
  const r = Oi(e);
3486
- return Pi(r, t);
3486
+ return Mi(r, t);
3487
3487
  }
3488
3488
  function Li(e) {
3489
3489
  if (e == null)
3490
3490
  return;
3491
- const t = Pe(e);
3491
+ const t = Me(e);
3492
3492
  for (let r = 0; r < t.length; r++) {
3493
3493
  const n = t[r];
3494
3494
  if (Or(n))
@@ -3511,13 +3511,13 @@ function Lr(e) {
3511
3511
  return je[e];
3512
3512
  }
3513
3513
  function Ni(e) {
3514
- return Pe(e).map((t) => {
3514
+ return Me(e).map((t) => {
3515
3515
  const r = Lr(t);
3516
3516
  return [t, r ? [...r] : []];
3517
3517
  }).filter(([, t]) => t.length > 0);
3518
3518
  }
3519
3519
  function ze(e) {
3520
- return e == null ? !1 : Pe(e).some(
3520
+ return e == null ? !1 : Me(e).some(
3521
3521
  (t) => {
3522
3522
  var r;
3523
3523
  return (r = Lr(t)) == null ? void 0 : r.size;
@@ -3585,7 +3585,7 @@ const Fi = {
3585
3585
  };
3586
3586
  function Gi({ locale: e, id: t }) {
3587
3587
  console.warn(
3588
- `[svelte-i18n] The message "${t}" was not found in "${Pe(
3588
+ `[svelte-i18n] The message "${t}" was not found in "${Me(
3589
3589
  e
3590
3590
  ).join('", "')}".${ze(J()) ? `
3591
3591
 
@@ -3608,7 +3608,7 @@ function ki(e) {
3608
3608
  let i = e.fallbackLocale;
3609
3609
  if (e.initialLocale)
3610
3610
  try {
3611
- Pr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3611
+ Mr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3612
3612
  } catch {
3613
3613
  console.warn(
3614
3614
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
@@ -3632,7 +3632,7 @@ const Ze = Ye(null);
3632
3632
  function Wt(e) {
3633
3633
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3634
3634
  }
3635
- function Pe(e, t = ce().fallbackLocale) {
3635
+ function Me(e, t = ce().fallbackLocale) {
3636
3636
  const r = Wt(e);
3637
3637
  return t ? [.../* @__PURE__ */ new Set([...r, ...Wt(t)])] : r;
3638
3638
  }
@@ -3732,7 +3732,7 @@ const He = (e, t) => {
3732
3732
  return to(Ht({ locale: r }, n));
3733
3733
  }, oo = Ke(
3734
3734
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3735
- (e, t = J()) => new Pr(e, t, ce().formats, {
3735
+ (e, t = J()) => new Mr(e, t, ce().formats, {
3736
3736
  ignoreTag: ce().ignoreTag
3737
3737
  })
3738
3738
  ), so = (e, t = {}) => {
@@ -3748,7 +3748,7 @@ const He = (e, t) => {
3748
3748
  throw new Error(
3749
3749
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3750
3750
  );
3751
- let h = Mr(e, l);
3751
+ let h = Pr(e, l);
3752
3752
  if (!h)
3753
3753
  h = (o = (i = (n = (r = ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3754
3754
  else if (typeof h != "string")
@@ -3767,7 +3767,7 @@ const He = (e, t) => {
3767
3767
  );
3768
3768
  }
3769
3769
  return f;
3770
- }, ao = (e, t) => io(t).format(e), uo = (e, t) => no(t).format(e), lo = (e, t) => ro(t).format(e), ho = (e, t = J()) => Mr(e, t), co = pe([K, Ae], () => so);
3770
+ }, ao = (e, t) => io(t).format(e), uo = (e, t) => no(t).format(e), lo = (e, t) => ro(t).format(e), ho = (e, t = J()) => Pr(e, t), co = pe([K, Ae], () => so);
3771
3771
  pe([K], () => ao);
3772
3772
  pe([K], () => uo);
3773
3773
  pe([K], () => lo);
@@ -3855,7 +3855,7 @@ var vt = function(e, t) {
3855
3855
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3856
3856
  }, vt(e, t);
3857
3857
  };
3858
- function Me(e, t) {
3858
+ function Pe(e, t) {
3859
3859
  if (typeof t != "function" && t !== null)
3860
3860
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3861
3861
  vt(e, t);
@@ -4047,7 +4047,7 @@ function ke(e) {
4047
4047
  e();
4048
4048
  }
4049
4049
  var Fr = function(e) {
4050
- Me(t, e);
4050
+ Pe(t, e);
4051
4051
  function t(r) {
4052
4052
  var n = e.call(this) || this;
4053
4053
  return n.isStopped = !1, r ? (n.destination = r, Ur(r) && r.add(n)) : n.destination = So, n;
@@ -4109,7 +4109,7 @@ var Fr = function(e) {
4109
4109
  }
4110
4110
  }, e;
4111
4111
  }(), St = function(e) {
4112
- Me(t, e);
4112
+ Pe(t, e);
4113
4113
  function t(r, n, i) {
4114
4114
  var o = e.call(this) || this, s;
4115
4115
  return z(r) || !r ? s = {
@@ -4152,7 +4152,7 @@ var Yt = function() {
4152
4152
  var r = new e();
4153
4153
  return r.source = this, r.operator = t, r;
4154
4154
  }, e.prototype.subscribe = function(t, r, n) {
4155
- var i = this, o = Po(t) ? t : new St(t, r, n);
4155
+ var i = this, o = Mo(t) ? t : new St(t, r, n);
4156
4156
  return ke(function() {
4157
4157
  var s = i, a = s.operator, l = s.source;
4158
4158
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -4211,15 +4211,15 @@ function Jt(e) {
4211
4211
  function Ao(e) {
4212
4212
  return e && z(e.next) && z(e.error) && z(e.complete);
4213
4213
  }
4214
- function Po(e) {
4214
+ function Mo(e) {
4215
4215
  return e && e instanceof Fr || Ao(e) && Ur(e);
4216
4216
  }
4217
- var Mo = Dr(function(e) {
4217
+ var Po = Dr(function(e) {
4218
4218
  return function() {
4219
4219
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4220
4220
  };
4221
4221
  }), Gr = function(e) {
4222
- Me(t, e);
4222
+ Pe(t, e);
4223
4223
  function t() {
4224
4224
  var r = e.call(this) || this;
4225
4225
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -4229,7 +4229,7 @@ var Mo = Dr(function(e) {
4229
4229
  return n.operator = r, n;
4230
4230
  }, t.prototype._throwIfClosed = function() {
4231
4231
  if (this.closed)
4232
- throw new Mo();
4232
+ throw new Po();
4233
4233
  }, t.prototype.next = function(r) {
4234
4234
  var n = this;
4235
4235
  ke(function() {
@@ -4299,7 +4299,7 @@ var Mo = Dr(function(e) {
4299
4299
  return new qt(r, n);
4300
4300
  }, t;
4301
4301
  }(Yt), qt = function(e) {
4302
- Me(t, e);
4302
+ Pe(t, e);
4303
4303
  function t(r, n) {
4304
4304
  var i = e.call(this) || this;
4305
4305
  return i.destination = r, i.source = n, i;
@@ -4323,7 +4323,7 @@ var Mo = Dr(function(e) {
4323
4323
  },
4324
4324
  delegate: void 0
4325
4325
  }, Oo = function(e) {
4326
- Me(t, e);
4326
+ Pe(t, e);
4327
4327
  function t(r, n, i) {
4328
4328
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jr);
4329
4329
  var o = e.call(this) || this;
@@ -4456,6 +4456,30 @@ const tr = {
4456
4456
  WithdrawVariable: "Variabel",
4457
4457
  carouselTitle: "Favoriete methoden",
4458
4458
  carouselSubtitle: "De meest populaire betaalmethoden"
4459
+ },
4460
+ ru: {
4461
+ generalMin: "Мин",
4462
+ generalMax: "Макс",
4463
+ error: "Ошибка",
4464
+ noFavoritePaymentMethods: "Нет избранных способов оплаты",
4465
+ DepositRealTime: "Мгновенный депозит",
4466
+ WithdrawRealTime: "Мгновенный вывод",
4467
+ DepositVariable: "Переменная",
4468
+ WithdrawVariable: "Переменная",
4469
+ carouselTitle: "Избранные методы",
4470
+ carouselSubtitle: "Самые популярные способы оплаты"
4471
+ },
4472
+ az: {
4473
+ generalMin: "Min",
4474
+ generalMax: "Maks",
4475
+ error: "Xəta",
4476
+ noFavoritePaymentMethods: "Sevimli ödəniş üsulu mövcud deyil",
4477
+ DepositRealTime: "Ani depozit",
4478
+ WithdrawRealTime: "Ani çıxarış",
4479
+ DepositVariable: "Dəyişkən",
4480
+ WithdrawVariable: "Dəyişkən",
4481
+ carouselTitle: "Sevimli üsullar",
4482
+ carouselSubtitle: "Ən populyar ödəniş üsulları"
4459
4483
  }
4460
4484
  };
4461
4485
  function Io(e) {
@@ -4637,7 +4661,7 @@ function or(e) {
4637
4661
  ), E, T, b, v, y, A = (
4638
4662
  /*$_*/
4639
4663
  e[9]("generalMin") + ""
4640
- ), L, P, U = $e(
4664
+ ), L, M, U = $e(
4641
4665
  /*method*/
4642
4666
  e[45].DisplayCurrency.MinAmountLimit,
4643
4667
  /*method*/
@@ -4700,18 +4724,18 @@ function or(e) {
4700
4724
  }
4701
4725
  return {
4702
4726
  c() {
4703
- t = S("div"), r = S("div"), n = S("img"), s = D(), a = S("div"), l = S("div"), u = S("span"), f = G(h), c = D(), g = S("div"), d = S("span"), E = G(p), T = D(), b = S("div"), v = S("span"), y = S("span"), L = G(A), P = D(), V = G(U), Oe = D(), Z = S("span"), me = G(ee), be = D(), ge = G(F), Be = D(), Mt(n.src, i = /*method*/
4727
+ t = S("div"), r = S("div"), n = S("img"), s = D(), a = S("div"), l = S("div"), u = S("span"), f = G(h), c = D(), g = S("div"), d = S("span"), E = G(p), T = D(), b = S("div"), v = S("span"), y = S("span"), L = G(A), M = D(), V = G(U), Oe = D(), Z = S("span"), me = G(ee), be = D(), ge = G(F), Be = D(), Pt(n.src, i = /*method*/
4704
4728
  e[45].LogoUrl) || H(n, "src", i), H(n, "alt", o = /*method*/
4705
4729
  e[45].Label), H(r, "class", "MethodLogo"), H(l, "class", "MethodTitle"), H(g, "class", "MethodProcessingTime"), H(v, "class", "Limits"), H(b, "class", "MethodLimits"), H(a, "class", "MethodInfo"), H(t, "class", te = `CarouselCardWrapper ${/*index*/
4706
4730
  e[44] === /*activeIndex*/
4707
4731
  e[6] ? "active" : ""}`);
4708
4732
  },
4709
4733
  m(q, I) {
4710
- k(q, t, I), _(t, r), _(r, n), _(t, s), _(t, a), _(a, l), _(l, u), _(u, f), _(a, c), _(a, g), _(g, d), _(d, E), _(a, T), _(a, b), _(b, v), _(v, y), _(y, L), _(y, P), _(y, V), _(v, Oe), _(v, Z), _(Z, me), _(Z, be), _(Z, ge), _(t, Be), e[27](t), ye || (re = Y(t, "click", tt), ye = !0);
4734
+ k(q, t, I), _(t, r), _(r, n), _(t, s), _(t, a), _(a, l), _(l, u), _(u, f), _(a, c), _(a, g), _(g, d), _(d, E), _(a, T), _(a, b), _(b, v), _(v, y), _(y, L), _(y, M), _(y, V), _(v, Oe), _(v, Z), _(Z, me), _(Z, be), _(Z, ge), _(t, Be), e[27](t), ye || (re = Y(t, "click", tt), ye = !0);
4711
4735
  },
4712
4736
  p(q, I) {
4713
4737
  e = q, I[0] & /*promotedPaymentMethods*/
4714
- 32 && !Mt(n.src, i = /*method*/
4738
+ 32 && !Pt(n.src, i = /*method*/
4715
4739
  e[45].LogoUrl) && H(n, "src", i), I[0] & /*promotedPaymentMethods*/
4716
4740
  32 && o !== (o = /*method*/
4717
4741
  e[45].Label) && H(n, "alt", o), I[0] & /*promotedPaymentMethods*/
@@ -4864,7 +4888,7 @@ function Do(e) {
4864
4888
  function $o(e, t, r) {
4865
4889
  let n, i;
4866
4890
  Jr(e, co, (m) => r(9, i = m));
4867
- let { lang: o = "en" } = t, { local: s = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: l = "" } = t, { currencydecimals: u = "0" } = t, { methodtype: h = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: g = "" } = t, { translationurl: d = "" } = t, p = {}, E, T, b = [], v = 0, y = !0, A = 0, L = !1, P, U, V, Oe = window.navigator.userAgent;
4891
+ let { lang: o = "en" } = t, { local: s = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: l = "" } = t, { currencydecimals: u = "0" } = t, { methodtype: h = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: g = "" } = t, { translationurl: d = "" } = t, p = {}, E, T, b = [], v = 0, y = !0, A = 0, L = !1, M, U, V, Oe = window.navigator.userAgent;
4868
4892
  const Z = (m) => {
4869
4893
  const { data: { type: O } = {} } = m || {};
4870
4894
  switch (O) {
@@ -4894,7 +4918,7 @@ function $o(e, t, r) {
4894
4918
  }, me = () => {
4895
4919
  fo(o);
4896
4920
  }, be = (m, O) => {
4897
- r(6, v = O), r(2, P.style.transform = F(), P), m.Name, window.postMessage({ type: "SelectPayMeth", details: m }, window.location.href), dispatchEvent(new CustomEvent(
4921
+ r(6, v = O), r(2, M.style.transform = F(), M), m.Name, window.postMessage({ type: "SelectPayMeth", details: m }, window.location.href), dispatchEvent(new CustomEvent(
4898
4922
  "selectPayMeth",
4899
4923
  {
4900
4924
  detail: m,
@@ -4904,10 +4928,10 @@ function $o(e, t, r) {
4904
4928
  }
4905
4929
  ));
4906
4930
  }, F = () => {
4907
- const m = parseFloat(getComputedStyle(V).getPropertyValue("--emw-cashier-card-width")) || 78, O = parseFloat(getComputedStyle(P).getPropertyValue("--emw-cashier-card-gap")) || 10, W = parseFloat(getComputedStyle(V).getPropertyValue("--emw-cashier-card-width-active")) || 100, At = m + O, Zr = U / 2, Qr = v * At + W / 2;
4931
+ const m = parseFloat(getComputedStyle(V).getPropertyValue("--emw-cashier-card-width")) || 78, O = parseFloat(getComputedStyle(M).getPropertyValue("--emw-cashier-card-gap")) || 10, W = parseFloat(getComputedStyle(V).getPropertyValue("--emw-cashier-card-width-active")) || 100, At = m + O, Zr = U / 2, Qr = v * At + W / 2;
4908
4932
  return `translateX(${Zr - Qr}px)`;
4909
4933
  }, ge = (m) => {
4910
- A = m.touches[0].clientX, L = !0, P.classList.add("dragging");
4934
+ A = m.touches[0].clientX, L = !0, M.classList.add("dragging");
4911
4935
  }, Be = (m) => {
4912
4936
  if (!L)
4913
4937
  return;
@@ -4916,15 +4940,15 @@ function $o(e, t, r) {
4916
4940
  }, te = (m) => {
4917
4941
  if (!L)
4918
4942
  return;
4919
- L = !1, P.classList.remove("dragging");
4943
+ L = !1, M.classList.remove("dragging");
4920
4944
  const O = m.changedTouches[0].clientX, W = A - O;
4921
- Math.abs(W) > 50 && (W > 0 && v < b.length - 1 ? r(6, v++, v) : W < 0 && v > 0 && r(6, v--, v), r(2, P.style.transform = F(), P));
4945
+ Math.abs(W) > 50 && (W > 0 && v < b.length - 1 ? r(6, v++, v) : W < 0 && v > 0 && r(6, v--, v), r(2, M.style.transform = F(), M));
4922
4946
  }, ye = () => {
4923
- y && (r(2, P.style.transform = F(), P), y = !1);
4947
+ y && (r(2, M.style.transform = F(), M), y = !1);
4924
4948
  }, re = (m) => {
4925
- m === "next" && v < b.length - 1 ? r(6, v++, v) : m === "prev" && v > 0 && r(6, v--, v), r(2, P.style.transform = F(), P);
4949
+ m === "next" && v < b.length - 1 ? r(6, v++, v) : m === "prev" && v > 0 && r(6, v--, v), r(2, M.style.transform = F(), M);
4926
4950
  };
4927
- an(() => (Lo(s, a, l, u), window.addEventListener("message", Z), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), P && F(), () => {
4951
+ an(() => (Lo(s, a, l, u), window.addEventListener("message", Z), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), M && F(), () => {
4928
4952
  window.removeEventListener("message", Z);
4929
4953
  }));
4930
4954
  const tt = () => re("prev"), q = (m, O) => be(m, O);
@@ -4935,7 +4959,7 @@ function $o(e, t, r) {
4935
4959
  }
4936
4960
  function Vr(m) {
4937
4961
  Se[m ? "unshift" : "push"](() => {
4938
- P = m, r(2, P);
4962
+ M = m, r(2, M);
4939
4963
  });
4940
4964
  }
4941
4965
  const Wr = () => re("next");
@@ -4953,7 +4977,7 @@ function $o(e, t, r) {
4953
4977
  e.$$.dirty[0] & /*lang*/
4954
4978
  65536 && o && me(), e.$$.dirty[0] & /*lang, translationurl*/
4955
4979
  16842752 && o && d && ee(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
4956
- 12 && P && U && ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4980
+ 12 && M && U && ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4957
4981
  2097154 && f && E && po(E, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4958
4982
  4194306 && c && E && mo(E, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4959
4983
  8388610 && g && E && bo(E, `${g}.Style`, T), e.$$.dirty[0] & /*currencydecimals*/
@@ -4961,7 +4985,7 @@ function $o(e, t, r) {
4961
4985
  }, [
4962
4986
  h,
4963
4987
  E,
4964
- P,
4988
+ M,
4965
4989
  U,
4966
4990
  p,
4967
4991
  b,
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let s=function(t){return function(...n){try{return t.apply(this,n)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/CashierCarousel-BMTgZEtn.cjs")).then(({default:t})=>{!customElements.get("cashier-carousel")&&customElements.define("cashier-carousel",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let s=function(t){return function(...n){try{return t.apply(this,n)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/CashierCarousel-BiXj3SkX.cjs")).then(({default:t})=>{!customElements.get("cashier-carousel")&&customElements.define("cashier-carousel",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CashierCarousel-BnuT1Pn2.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierCarousel-DLXs7-9z.js").then(({ default: t }) => {
14
14
  !customElements.get("cashier-carousel") && customElements.define("cashier-carousel", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as n } from "../components/CashierCarousel-D7ryxoy7.js";
1
+ import { C as n } from "../components/CashierCarousel-JonZFH2D.js";
2
2
  function r(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-carousel",
3
- "version": "1.98.8",
3
+ "version": "1.98.9",
4
4
  "type": "module",
5
5
  "main": "esnext/cashier-carousel.js",
6
6
  "module": "esnext/cashier-carousel.js",