@billgangcom/theme-lib 1.117.1 → 1.117.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/{builder-CQ8x7LFT.js → builder-ING-1TC5.js} +5 -5
  2. package/dist/{builder-components-BN-jGGPV.js → builder-components-ClJQSJ2L.js} +4 -4
  3. package/dist/{builder-components-BaTkvImB.cjs → builder-components-oKxTX6fj.cjs} +1 -1
  4. package/dist/{builder-DH3c-jV8.cjs → builder-hB8NmH8C.cjs} +2 -2
  5. package/dist/builder.cjs.js +1 -1
  6. package/dist/builder.es.js +22 -22
  7. package/dist/{charge-5SKFeEV5.cjs → charge-C1osb-bm.cjs} +13 -13
  8. package/dist/{charge-Cp5L5y1Y.js → charge-CuNPpaJ7.js} +146 -141
  9. package/dist/{checkout-D00CDp8M.js → checkout-BnsWDYDl.js} +5 -5
  10. package/dist/{checkout-DKTx23PY.cjs → checkout-DMKbVPtL.cjs} +1 -1
  11. package/dist/exports.cjs.js +1 -1
  12. package/dist/exports.es.js +6 -6
  13. package/dist/{index-C7qlAf4E.js → index--_-vRaQR.js} +5 -5
  14. package/dist/{index-EqXaEf4V.cjs → index-BFVW04-o.cjs} +1 -1
  15. package/dist/{index-x5gSPcne.cjs → index-BKrDDMuH.cjs} +1 -1
  16. package/dist/{index-DApjGedA.js → index-BMrIA4yw.js} +1 -1
  17. package/dist/{index-CLSmm7Uw.js → index-BiAMlV6S.js} +5 -5
  18. package/dist/{index-CVwe6iy7.js → index-CDeg6Sk-.js} +5 -5
  19. package/dist/{index-C_mAl-7y.js → index-Dqp9j9qF.js} +5 -5
  20. package/dist/{index-eFdwvNhR.cjs → index-lINjLxQX.cjs} +1 -1
  21. package/dist/{index-Dajo5uDd.cjs → index-vFyF3Ow6.cjs} +1 -1
  22. package/dist/{index-DTDz_VSR.cjs → index-zDmFKbp8.cjs} +1 -1
  23. package/dist/index.cjs.js +1 -1
  24. package/dist/index.es.js +6 -6
  25. package/dist/{order-Dh9SQdyW.js → order-BGMoWRhn.js} +5 -5
  26. package/dist/{order-DZNRAN4s.cjs → order-BqB3_Sr9.cjs} +1 -1
  27. package/dist/src/storefront/components/StatusIndicator/index.d.ts +1 -1
  28. package/dist/{subscription-CAuIobXb.js → subscription-BYPJHXT2.js} +5 -5
  29. package/dist/{subscription-CYm0ZyD6.cjs → subscription-C27f2W_a.cjs} +1 -1
  30. package/dist/{ticket-CzQwmTeE.cjs → ticket-Bru9-GYY.cjs} +1 -1
  31. package/dist/{ticket--HqQx1ul.js → ticket-eMmtCmvN.js} +5 -5
  32. package/dist/{top-up-dq46L5ER.js → top-up-BbY79ujW.js} +5 -5
  33. package/dist/{top-up-CYOVTbLN.cjs → top-up-CMpoWJbT.cjs} +1 -1
  34. package/dist/{ui-components-Bp5fbjcw.cjs → ui-components-BrBBLOj0.cjs} +1 -1
  35. package/dist/{ui-components-Ca4onG3X.js → ui-components-CmN3s0-4.js} +4 -4
  36. package/dist/ui.cjs.js +1 -1
  37. package/dist/ui.es.js +1 -1
  38. package/dist/{validation-C4N1CvhJ.js → validation-CBWyX-kx.js} +5 -5
  39. package/dist/{validation-PrGazRlX.cjs → validation-CtRwKk0C.cjs} +1 -1
  40. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
- import { j as je, M as Qe, r as Ge, N as Gt, O as Xt, Q as pn, U as _s, V as hr, e as Lt, v as Ie, K as Ve, W as Cs, p as ln, f as te, X as wa, Y as Rr, Z as st, _ as Je, J as ut, $ as xt, b as C2, u as E2, a as Es, a0 as y2, a1 as T2, a2 as Iu, a3 as $i, a4 as x2, a5 as xo, a6 as Ll, a7 as ys, a8 as Da, a9 as k2 } from "./builder-CQ8x7LFT.js";
1
+ import { j as je, M as Qe, r as Ge, N as Gt, O as Xt, Q as pn, U as _s, V as hr, e as Lt, v as Ie, K as Ve, W as Cs, p as ln, f as te, X as wa, Y as Rr, Z as st, _ as Je, J as ut, $ as xt, b as C2, u as E2, a as Es, a0 as y2, a1 as T2, a2 as Iu, a3 as $i, a4 as x2, a5 as xo, a6 as Ll, a7 as ys, a8 as Da, a9 as k2 } from "./builder-ING-1TC5.js";
2
2
  import { jsx as c, jsxs as b, Fragment as ze } from "react/jsx-runtime";
3
3
  import * as pe from "react";
4
4
  import Y, { useEffect as _n, forwardRef as Pl, createElement as ft, Component as A2, isValidElement as I2, useState as me, useRef as an, useCallback as Rl, useMemo as jn } from "react";
5
- import { I as H, e as It, f as Cn, g as ue, S as Ol, M as Pt, W as S2, h as Ml, i as Fl, j as Mu, k as ha, R as N2 } from "./ui-components-Ca4onG3X.js";
6
- import { F as Bl } from "./builder-components-BN-jGGPV.js";
7
- import { T as Hl } from "./ticket--HqQx1ul.js";
5
+ import { I as H, e as It, f as Cn, g as ue, S as Ol, M as Pt, W as S2, h as Ml, i as Fl, j as Mu, k as ha, R as N2 } from "./ui-components-CmN3s0-4.js";
6
+ import { F as Bl } from "./builder-components-ClJQSJ2L.js";
7
+ import { T as Hl } from "./ticket-eMmtCmvN.js";
8
8
  import { createPortal as Ul } from "react-dom";
9
- import { O as Vl } from "./order-Dh9SQdyW.js";
10
- import { S as v2 } from "./subscription-CAuIobXb.js";
9
+ import { O as Vl } from "./order-BGMoWRhn.js";
10
+ import { S as v2 } from "./subscription-BYPJHXT2.js";
11
11
  const w2 = () => typeof document < "u" ? document.documentElement.hasAttribute("translated") || document.documentElement.querySelector(".translated-ltr, .translated-rtl") !== null || // Safari переводчик добавляет мета-тег с name="_translator"
12
12
  document.head.querySelector('meta[name="_translator"]') !== null : !1, D2 = ({
13
13
  children: e,
@@ -322,7 +322,7 @@ const sf = async (e, t, n, r) => {
322
322
  withToken: !1,
323
323
  body: e
324
324
  });
325
- }, ri = "Balance", ar = {
325
+ }, ri = "Balance", ir = {
326
326
  Number: "NUMBER",
327
327
  Textarea: "LARGE_TEXT",
328
328
  Checkbox: "CHECK_BOX",
@@ -1716,7 +1716,7 @@ const gR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1716
1716
  SITE_KEY: Gl,
1717
1717
  useReCaptcha: Ma
1718
1718
  }, Symbol.toStringTag, { value: "Module" }));
1719
- var zf = /[ \u0020\t\n]*$/, qf = ["*", "_", "~", "`"], Zf = /(\*|_|~|\\|`)/g, nr = {}, di = 0, zn = {
1719
+ var zf = /[ \u0020\t\n]*$/, qf = ["*", "_", "~", "`"], Zf = /(\*|_|~|\\|`)/g, rr = {}, di = 0, zn = {
1720
1720
  // BLOCK LEVEL
1721
1721
  "unordered-list-item": {
1722
1722
  open: function() {
@@ -1848,7 +1848,7 @@ function Wf(e) {
1848
1848
  }
1849
1849
  function Yf(e, t, n, r) {
1850
1850
  var u = [], a = "", i = r.styleItems || {}, s = r.entityItems || {}, o = r.hasOwnProperty("escapeMarkdownCharacters") ? r.escapeMarkdownCharacters : !0, l = e.type, h = [];
1851
- Wf(e) && !r.preserveNewlines && (l = "unstyled"), i[l] || zn[l] ? ((l === "unordered-list-item" || l === "ordered-list-item") && (a += " ".repeat(e.depth * 4)), l === "ordered-list-item" ? (nr[e.depth] = nr[e.depth] || 1, a += (i[l] || zn[l]).open(e, nr[e.depth]), nr[e.depth]++, di > e.depth && (nr[di] = 1), di = e.depth) : (nr = {}, a += (i[l] || zn[l]).open(e))) : nr = {};
1851
+ Wf(e) && !r.preserveNewlines && (l = "unstyled"), i[l] || zn[l] ? ((l === "unordered-list-item" || l === "ordered-list-item") && (a += " ".repeat(e.depth * 4)), l === "ordered-list-item" ? (rr[e.depth] = rr[e.depth] || 1, a += (i[l] || zn[l]).open(e, rr[e.depth]), rr[e.depth]++, di > e.depth && (rr[di] = 1), di = e.depth) : (rr = {}, a += (i[l] || zn[l]).open(e))) : rr = {};
1852
1852
  var f = [];
1853
1853
  function m(E) {
1854
1854
  if (f.push(E), E.style) {
@@ -1951,7 +1951,7 @@ function jf(e, t) {
1951
1951
  var n = "";
1952
1952
  return e.blocks.forEach(function(r, u) {
1953
1953
  n += Yf(r, u, e, t);
1954
- }), nr = {}, n;
1954
+ }), rr = {}, n;
1955
1955
  }
1956
1956
  var Jl = [];
1957
1957
  for (var Uo = 0; Uo < 256; Uo++)
@@ -2244,10 +2244,10 @@ var kt;
2244
2244
  e[e.NUM = 35] = "NUM", e[e.SEMI = 59] = "SEMI", e[e.EQUALS = 61] = "EQUALS", e[e.ZERO = 48] = "ZERO", e[e.NINE = 57] = "NINE", e[e.LOWER_A = 97] = "LOWER_A", e[e.LOWER_F = 102] = "LOWER_F", e[e.LOWER_X = 120] = "LOWER_X", e[e.LOWER_Z = 122] = "LOWER_Z", e[e.UPPER_A = 65] = "UPPER_A", e[e.UPPER_F = 70] = "UPPER_F", e[e.UPPER_Z = 90] = "UPPER_Z";
2245
2245
  })(kt || (kt = {}));
2246
2246
  const Nh = 32;
2247
- var cr;
2247
+ var lr;
2248
2248
  (function(e) {
2249
2249
  e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
2250
- })(cr || (cr = {}));
2250
+ })(lr || (lr = {}));
2251
2251
  function Ki(e) {
2252
2252
  return e >= kt.ZERO && e <= kt.NINE;
2253
2253
  }
@@ -2264,13 +2264,13 @@ var Et;
2264
2264
  (function(e) {
2265
2265
  e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
2266
2266
  })(Et || (Et = {}));
2267
- var sr;
2267
+ var or;
2268
2268
  (function(e) {
2269
2269
  e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
2270
- })(sr || (sr = {}));
2270
+ })(or || (or = {}));
2271
2271
  let Lh = class {
2272
2272
  constructor(t, n, r) {
2273
- this.decodeTree = t, this.emitCodePoint = n, this.errors = r, this.state = Et.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = sr.Strict;
2273
+ this.decodeTree = t, this.emitCodePoint = n, this.errors = r, this.state = Et.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = or.Strict;
2274
2274
  }
2275
2275
  /** Resets the instance to make it reusable. */
2276
2276
  startEntity(t) {
@@ -2378,7 +2378,7 @@ let Lh = class {
2378
2378
  return (r = this.errors) === null || r === void 0 || r.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
2379
2379
  if (t === kt.SEMI)
2380
2380
  this.consumed += 1;
2381
- else if (this.decodeMode === sr.Strict)
2381
+ else if (this.decodeMode === or.Strict)
2382
2382
  return 0;
2383
2383
  return this.emitCodePoint(Sh(this.result), this.consumed), this.errors && (t !== kt.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
2384
2384
  }
@@ -2393,18 +2393,18 @@ let Lh = class {
2393
2393
  */
2394
2394
  stateNamedEntity(t, n) {
2395
2395
  const { decodeTree: r } = this;
2396
- let u = r[this.treeIndex], a = (u & cr.VALUE_LENGTH) >> 14;
2396
+ let u = r[this.treeIndex], a = (u & lr.VALUE_LENGTH) >> 14;
2397
2397
  for (; n < t.length; n++, this.excess++) {
2398
2398
  const i = t.charCodeAt(n);
2399
2399
  if (this.treeIndex = Ph(r, u, this.treeIndex + Math.max(1, a), i), this.treeIndex < 0)
2400
2400
  return this.result === 0 || // If we are parsing an attribute
2401
- this.decodeMode === sr.Attribute && // We shouldn't have consumed any characters after the entity,
2401
+ this.decodeMode === or.Attribute && // We shouldn't have consumed any characters after the entity,
2402
2402
  (a === 0 || // And there should be no invalid characters.
2403
2403
  Dh(i)) ? 0 : this.emitNotTerminatedNamedEntity();
2404
- if (u = r[this.treeIndex], a = (u & cr.VALUE_LENGTH) >> 14, a !== 0) {
2404
+ if (u = r[this.treeIndex], a = (u & lr.VALUE_LENGTH) >> 14, a !== 0) {
2405
2405
  if (i === kt.SEMI)
2406
2406
  return this.emitNamedEntityData(this.treeIndex, a, this.consumed + this.excess);
2407
- this.decodeMode !== sr.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
2407
+ this.decodeMode !== or.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
2408
2408
  }
2409
2409
  }
2410
2410
  return -1;
@@ -2416,7 +2416,7 @@ let Lh = class {
2416
2416
  */
2417
2417
  emitNotTerminatedNamedEntity() {
2418
2418
  var t;
2419
- const { result: n, decodeTree: r } = this, u = (r[n] & cr.VALUE_LENGTH) >> 14;
2419
+ const { result: n, decodeTree: r } = this, u = (r[n] & lr.VALUE_LENGTH) >> 14;
2420
2420
  return this.emitNamedEntityData(n, u, this.consumed), (t = this.errors) === null || t === void 0 || t.missingSemicolonAfterCharacterReference(), this.consumed;
2421
2421
  }
2422
2422
  /**
@@ -2430,7 +2430,7 @@ let Lh = class {
2430
2430
  */
2431
2431
  emitNamedEntityData(t, n, r) {
2432
2432
  const { decodeTree: u } = this;
2433
- return this.emitCodePoint(n === 1 ? u[t] & ~cr.VALUE_LENGTH : u[t + 1], r), n === 3 && this.emitCodePoint(u[t + 2], r), r;
2433
+ return this.emitCodePoint(n === 1 ? u[t] & ~lr.VALUE_LENGTH : u[t + 1], r), n === 3 && this.emitCodePoint(u[t + 2], r), r;
2434
2434
  }
2435
2435
  /**
2436
2436
  * Signal to the parser that the end of the input was reached.
@@ -2443,7 +2443,7 @@ let Lh = class {
2443
2443
  var t;
2444
2444
  switch (this.state) {
2445
2445
  case Et.NamedEntity:
2446
- return this.result !== 0 && (this.decodeMode !== sr.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
2446
+ return this.result !== 0 && (this.decodeMode !== or.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
2447
2447
  case Et.NumericDecimal:
2448
2448
  return this.emitNumericEntity(0, 2);
2449
2449
  case Et.NumericHex:
@@ -2478,7 +2478,7 @@ function u0(e) {
2478
2478
  };
2479
2479
  }
2480
2480
  function Ph(e, t, n, r) {
2481
- const u = (t & cr.BRANCH_LENGTH) >> 7, a = t & cr.JUMP_TABLE;
2481
+ const u = (t & lr.BRANCH_LENGTH) >> 7, a = t & lr.JUMP_TABLE;
2482
2482
  if (u === 0)
2483
2483
  return a !== 0 && r === a ? n : -1;
2484
2484
  if (a) {
@@ -2499,7 +2499,7 @@ function Ph(e, t, n, r) {
2499
2499
  }
2500
2500
  const Rh = u0(xh);
2501
2501
  u0(kh);
2502
- function a0(e, t = sr.Legacy) {
2502
+ function a0(e, t = or.Legacy) {
2503
2503
  return Rh(e, t);
2504
2504
  }
2505
2505
  function Oh(e) {
@@ -4694,7 +4694,7 @@ const $r = 2147483647, Rn = 36, Os = 1, Du = 26, vp = 38, wp = 700, m0 = 72, g0
4694
4694
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
4695
4695
  "invalid-input": "Invalid input"
4696
4696
  }, bi = Rn - Os, On = Math.floor, _i = String.fromCharCode;
4697
- function ir(e) {
4697
+ function sr(e) {
4698
4698
  throw new RangeError(Rp[e]);
4699
4699
  }
4700
4700
  function Op(e, t) {
@@ -4739,21 +4739,21 @@ const Mp = (e) => String.fromCodePoint(...e), Fp = function(e) {
4739
4739
  let r = 0, u = g0, a = m0, i = e.lastIndexOf(b0);
4740
4740
  i < 0 && (i = 0);
4741
4741
  for (let s = 0; s < i; ++s)
4742
- e.charCodeAt(s) >= 128 && ir("not-basic"), t.push(e.charCodeAt(s));
4742
+ e.charCodeAt(s) >= 128 && sr("not-basic"), t.push(e.charCodeAt(s));
4743
4743
  for (let s = i > 0 ? i + 1 : 0; s < n; ) {
4744
4744
  const o = r;
4745
4745
  for (let h = 1, f = Rn; ; f += Rn) {
4746
- s >= n && ir("invalid-input");
4746
+ s >= n && sr("invalid-input");
4747
4747
  const m = Fp(e.charCodeAt(s++));
4748
- m >= Rn && ir("invalid-input"), m > On(($r - r) / h) && ir("overflow"), r += m * h;
4748
+ m >= Rn && sr("invalid-input"), m > On(($r - r) / h) && sr("overflow"), r += m * h;
4749
4749
  const p = f <= a ? Os : f >= a + Du ? Du : f - a;
4750
4750
  if (m < p)
4751
4751
  break;
4752
4752
  const g = Rn - p;
4753
- h > On($r / g) && ir("overflow"), h *= g;
4753
+ h > On($r / g) && sr("overflow"), h *= g;
4754
4754
  }
4755
4755
  const l = t.length + 1;
4756
- a = E0(r - o, l, o == 0), On(r / l) > $r - u && ir("overflow"), u += On(r / l), r %= l, t.splice(r++, 0, u);
4756
+ a = E0(r - o, l, o == 0), On(r / l) > $r - u && sr("overflow"), u += On(r / l), r %= l, t.splice(r++, 0, u);
4757
4757
  }
4758
4758
  return String.fromCodePoint(...t);
4759
4759
  }, T0 = function(e) {
@@ -4770,9 +4770,9 @@ const Mp = (e) => String.fromCodePoint(...e), Fp = function(e) {
4770
4770
  for (const h of e)
4771
4771
  h >= r && h < o && (o = h);
4772
4772
  const l = s + 1;
4773
- o - r > On(($r - u) / l) && ir("overflow"), u += (o - r) * l, r = o;
4773
+ o - r > On(($r - u) / l) && sr("overflow"), u += (o - r) * l, r = o;
4774
4774
  for (const h of e)
4775
- if (h < r && ++u > $r && ir("overflow"), h === r) {
4775
+ if (h < r && ++u > $r && sr("overflow"), h === r) {
4776
4776
  let f = u;
4777
4777
  for (let m = Rn; ; m += Rn) {
4778
4778
  const p = m <= a ? Os : m >= a + Du ? Du : m - a;
@@ -5382,14 +5382,14 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
5382
5382
  See the Apache Version 2.0 License for specific language governing permissions
5383
5383
  and limitations under the License.
5384
5384
  ***************************************************************************** */
5385
- var dr = function() {
5386
- return dr = Object.assign || function(t) {
5385
+ var fr = function() {
5386
+ return fr = Object.assign || function(t) {
5387
5387
  for (var n, r = 1, u = arguments.length; r < u; r++) {
5388
5388
  n = arguments[r];
5389
5389
  for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
5390
5390
  }
5391
5391
  return t;
5392
- }, dr.apply(this, arguments);
5392
+ }, fr.apply(this, arguments);
5393
5393
  };
5394
5394
  function L6(e, t) {
5395
5395
  var n = {};
@@ -5405,7 +5405,7 @@ var P6 = function() {
5405
5405
  var t = e.animate, n = t === void 0 ? !0 : t, r = e.backgroundColor, u = r === void 0 ? "#f5f6f7" : r, a = e.backgroundOpacity, i = a === void 0 ? 1 : a, s = e.baseUrl, o = s === void 0 ? "" : s, l = e.children, h = e.foregroundColor, f = h === void 0 ? "#eee" : h, m = e.foregroundOpacity, p = m === void 0 ? 1 : m, g = e.gradientRatio, C = g === void 0 ? 2 : g, E = e.uniqueKey, _ = e.rtl, N = _ === void 0 ? !1 : _, x = e.speed, w = x === void 0 ? 1.2 : x, I = e.style, S = I === void 0 ? {} : I, O = e.title, j = O === void 0 ? "Loading..." : O, $ = e.beforeMask, D = $ === void 0 ? null : $, F = L6(e, ["animate", "backgroundColor", "backgroundOpacity", "baseUrl", "children", "foregroundColor", "foregroundOpacity", "gradientRatio", "uniqueKey", "rtl", "speed", "style", "title", "beforeMask"]), R = E || P6(), J = "".concat(R, "-diff"), ce = "".concat(R, "-animated-diff"), ae = "".concat(R, "-aria"), ge = N ? { transform: "scaleX(-1)" } : null, ve = "".concat(w, "s"), qe = "".concat(C * -1, " 0"), Me = "".concat(C, " 0");
5406
5406
  return ft(
5407
5407
  "svg",
5408
- dr({ "aria-labelledby": ae, role: "img", style: dr(dr({}, S), ge) }, F),
5408
+ fr({ "aria-labelledby": ae, role: "img", style: fr(fr({}, S), ge) }, F),
5409
5409
  j ? ft("title", { id: ae }, j) : null,
5410
5410
  D && I2(D) ? D : null,
5411
5411
  ft("rect", { role: "presentation", x: "0", y: "0", width: "100%", height: "100%", clipPath: "url(".concat(o, "#").concat(J, ")"), style: { fill: "url(".concat(o, "#").concat(ce, ")") } }),
@@ -5424,11 +5424,11 @@ var P6 = function() {
5424
5424
  )
5425
5425
  );
5426
5426
  }, vr = function(e) {
5427
- return e.children ? ft(R6, dr({}, e)) : ft(O6, dr({}, e));
5427
+ return e.children ? ft(R6, fr({}, e)) : ft(O6, fr({}, e));
5428
5428
  }, O6 = function(e) {
5429
5429
  return ft(
5430
5430
  vr,
5431
- dr({ viewBox: "0 0 476 124" }, e),
5431
+ fr({ viewBox: "0 0 476 124" }, e),
5432
5432
  ft("rect", { x: "48", y: "8", width: "88", height: "6", rx: "3" }),
5433
5433
  ft("rect", { x: "48", y: "26", width: "52", height: "6", rx: "3" }),
5434
5434
  ft("rect", { x: "0", y: "56", width: "410", height: "6", rx: "3" }),
@@ -8426,7 +8426,7 @@ const e4 = () => typeof st > "u" ? (console.warn("Routes not available for Route
8426
8426
  tableLoader: K4,
8427
8427
  tableItem: Q4
8428
8428
  };
8429
- var fr = /* @__PURE__ */ ((e) => (e[e.SUCCESS = 1] = "SUCCESS", e[e.WARNING = 2] = "WARNING", e[e.ERROR = 3] = "ERROR", e))(fr || {});
8429
+ var Xn = /* @__PURE__ */ ((e) => (e[e.SUCCESS = 1] = "SUCCESS", e[e.WARNING = 2] = "WARNING", e[e.ERROR = 3] = "ERROR", e))(Xn || {});
8430
8430
  const J4 = {
8431
8431
  [Ne.New]: 2,
8432
8432
  [Ne.Pending]: 2,
@@ -8765,13 +8765,13 @@ const J4 = {
8765
8765
  ]
8766
8766
  }
8767
8767
  ), k8 = {
8768
- [fr.SUCCESS]: y8,
8769
- [fr.WARNING]: T8,
8770
- [fr.ERROR]: x8
8768
+ [Xn.SUCCESS]: y8,
8769
+ [Xn.WARNING]: T8,
8770
+ [Xn.ERROR]: x8
8771
8771
  }, A8 = {
8772
- [fr.SUCCESS]: zr.statusIndicatorSuccess,
8773
- [fr.WARNING]: zr.statusIndicatorWarning,
8774
- [fr.ERROR]: zr.statusIndicatorError
8772
+ [Xn.SUCCESS]: zr.statusIndicatorSuccess,
8773
+ [Xn.WARNING]: zr.statusIndicatorWarning,
8774
+ [Xn.ERROR]: zr.statusIndicatorError
8775
8775
  }, I8 = (e) => {
8776
8776
  switch (e) {
8777
8777
  case "NEW":
@@ -8800,9 +8800,14 @@ const J4 = {
8800
8800
  return "Declined";
8801
8801
  case "AUTO_APPROVED":
8802
8802
  return "Auto Approved";
8803
+ case "PARTIALLY_REFUNDED":
8804
+ return "Partial Refunded";
8803
8805
  }
8804
8806
  return e;
8805
- }, K0 = ({ status: e, variant: t }) => {
8807
+ }, K0 = ({
8808
+ status: e,
8809
+ variant: t = Xn.WARNING
8810
+ }) => {
8806
8811
  const { isAntistock: n } = Ve(), r = k8[t];
8807
8812
  return /* @__PURE__ */ b(
8808
8813
  "div",
@@ -8831,7 +8836,7 @@ const J4 = {
8831
8836
  productsContainer: D8,
8832
8837
  couponContainer: L8,
8833
8838
  checkoutFooter: P8
8834
- }, R8 = "_checkoutFooter_sum4s_1", O8 = "_antistock_sum4s_12", M8 = "_footerBranding_sum4s_22", F8 = "_poweredText_sum4s_27", B8 = "_antistockLink_sum4s_31", H8 = "_footerNav_sum4s_39", Kn = {
8839
+ }, R8 = "_checkoutFooter_sum4s_1", O8 = "_antistock_sum4s_12", M8 = "_footerBranding_sum4s_22", F8 = "_poweredText_sum4s_27", B8 = "_antistockLink_sum4s_31", H8 = "_footerNav_sum4s_39", Qn = {
8835
8840
  checkoutFooter: R8,
8836
8841
  antistock: O8,
8837
8842
  footerBranding: M8,
@@ -8843,13 +8848,13 @@ const J4 = {
8843
8848
  return /* @__PURE__ */ b(
8844
8849
  "footer",
8845
8850
  {
8846
- className: `${Kn.checkoutFooter} ${e} ${a ? Kn.antistock : ""}`,
8851
+ className: `${Qn.checkoutFooter} ${e} ${a ? Qn.antistock : ""}`,
8847
8852
  children: [
8848
- a && (i == null ? void 0 : i.showPoweredBy) && /* @__PURE__ */ b("div", { className: Kn.footerBranding, children: [
8853
+ a && (i == null ? void 0 : i.showPoweredBy) && /* @__PURE__ */ b("div", { className: Qn.footerBranding, children: [
8849
8854
  /* @__PURE__ */ c(
8850
8855
  "p",
8851
8856
  {
8852
- className: Kn.poweredText,
8857
+ className: Qn.poweredText,
8853
8858
  id: "md",
8854
8859
  style: { color: "var(--text-action)" },
8855
8860
  children: "Powered by"
@@ -8858,7 +8863,7 @@ const J4 = {
8858
8863
  /* @__PURE__ */ b(
8859
8864
  "a",
8860
8865
  {
8861
- className: Kn.antistockLink,
8866
+ className: Qn.antistockLink,
8862
8867
  href: "https://antistock.io",
8863
8868
  target: "_blank",
8864
8869
  rel: "noopener noreferrer",
@@ -8875,11 +8880,11 @@ const J4 = {
8875
8880
  }
8876
8881
  )
8877
8882
  ] }),
8878
- !a && /* @__PURE__ */ b("div", { className: Kn.footerBranding, children: [
8883
+ !a && /* @__PURE__ */ b("div", { className: Qn.footerBranding, children: [
8879
8884
  /* @__PURE__ */ c(
8880
8885
  "p",
8881
8886
  {
8882
- className: Kn.poweredText,
8887
+ className: Qn.poweredText,
8883
8888
  id: "md",
8884
8889
  children: "Powered by"
8885
8890
  }
@@ -8892,7 +8897,7 @@ const J4 = {
8892
8897
  }
8893
8898
  )
8894
8899
  ] }),
8895
- /* @__PURE__ */ c("nav", { children: /* @__PURE__ */ b("ul", { className: Kn.footerNav, children: [
8900
+ /* @__PURE__ */ c("nav", { children: /* @__PURE__ */ b("ul", { className: Qn.footerNav, children: [
8896
8901
  (t == null ? void 0 : t.showTermsOfServiceOnProduct) && !a && /* @__PURE__ */ c("li", { children: /* @__PURE__ */ c(
8897
8902
  "a",
8898
8903
  {
@@ -10445,7 +10450,7 @@ const J4 = {
10445
10450
  }
10446
10451
  )
10447
10452
  ] });
10448
- }, kg = "_coupon_dkjzv_1", Ag = "_couponApplied_dkjzv_7", Ig = "_discount_dkjzv_17", Sg = "_removeButton_dkjzv_23", Ng = "_removeButtonText_dkjzv_27", vg = "_couponInput_dkjzv_31", wg = "_couponInputContainer_dkjzv_37", Qn = {
10453
+ }, kg = "_coupon_dkjzv_1", Ag = "_couponApplied_dkjzv_7", Ig = "_discount_dkjzv_17", Sg = "_removeButton_dkjzv_23", Ng = "_removeButtonText_dkjzv_27", vg = "_couponInput_dkjzv_31", wg = "_couponInputContainer_dkjzv_37", Jn = {
10449
10454
  coupon: kg,
10450
10455
  couponApplied: Ag,
10451
10456
  discount: Ig,
@@ -10455,7 +10460,7 @@ const J4 = {
10455
10460
  couponInputContainer: wg
10456
10461
  }, Dg = ({ applyCoupon: e, couponData: t, discount: n, removeCoupon: r, gateway: u }) => {
10457
10462
  const [a, i] = me(null), [s, o] = me(!1), { isAntistock: l } = Ve();
10458
- return /* @__PURE__ */ b("div", { className: Qn.coupon, children: [
10463
+ return /* @__PURE__ */ b("div", { className: Jn.coupon, children: [
10459
10464
  s && /* @__PURE__ */ c(
10460
10465
  vr,
10461
10466
  {
@@ -10465,7 +10470,7 @@ const J4 = {
10465
10470
  viewBox: "0 0 500 48",
10466
10471
  backgroundColor: "var(--surface-secondary)",
10467
10472
  foregroundColor: "var(--surface-disabled)",
10468
- className: Qn.skeleton,
10473
+ className: Jn.skeleton,
10469
10474
  style: { borderRadius: "var(--border-radius)" },
10470
10475
  children: /* @__PURE__ */ c(
10471
10476
  "rect",
@@ -10483,7 +10488,7 @@ const J4 = {
10483
10488
  !s && (t ? /* @__PURE__ */ b(
10484
10489
  "div",
10485
10490
  {
10486
- className: Qn.couponApplied,
10491
+ className: Jn.couponApplied,
10487
10492
  style: l ? { border: "1px solid var(--border-secondary)" } : void 0,
10488
10493
  children: [
10489
10494
  /* @__PURE__ */ c(
@@ -10502,7 +10507,7 @@ const J4 = {
10502
10507
  a,
10503
10508
  " is applied",
10504
10509
  " ",
10505
- /* @__PURE__ */ b("span", { className: Qn.discount, children: [
10510
+ /* @__PURE__ */ b("span", { className: Jn.discount, children: [
10506
10511
  "-",
10507
10512
  n,
10508
10513
  " ",
@@ -10514,15 +10519,15 @@ const J4 = {
10514
10519
  /* @__PURE__ */ c(
10515
10520
  "button",
10516
10521
  {
10517
- className: Qn.removeButton,
10522
+ className: Jn.removeButton,
10518
10523
  onClick: r,
10519
- children: /* @__PURE__ */ c("span", { className: Qn.removeButtonText, children: "Remove" })
10524
+ children: /* @__PURE__ */ c("span", { className: Jn.removeButtonText, children: "Remove" })
10520
10525
  }
10521
10526
  )
10522
10527
  ]
10523
10528
  }
10524
- ) : /* @__PURE__ */ b("div", { className: Qn.couponInput, children: [
10525
- /* @__PURE__ */ b("div", { className: Qn.couponInputContainer, children: [
10529
+ ) : /* @__PURE__ */ b("div", { className: Jn.couponInput, children: [
10530
+ /* @__PURE__ */ b("div", { className: Jn.couponInputContainer, children: [
10526
10531
  /* @__PURE__ */ c(
10527
10532
  Cn,
10528
10533
  {
@@ -10717,7 +10722,7 @@ const J4 = {
10717
10722
  }) => {
10718
10723
  if (_n(() => {
10719
10724
  r === "" && n !== void 0 && s(String(n));
10720
- }, []), t === ar.Checkbox)
10725
+ }, []), t === ir.Checkbox)
10721
10726
  return /* @__PURE__ */ b("label", { className: Hr.checkboxWrapper, children: [
10722
10727
  /* @__PURE__ */ c(
10723
10728
  ha,
@@ -10731,7 +10736,7 @@ const J4 = {
10731
10736
  i && /* @__PURE__ */ c("span", { className: Hr.requiredStar, children: "*" })
10732
10737
  ] })
10733
10738
  ] });
10734
- if (t === ar.Hidden)
10739
+ if (t === ir.Hidden)
10735
10740
  return /* @__PURE__ */ c(
10736
10741
  "input",
10737
10742
  {
@@ -10742,7 +10747,7 @@ const J4 = {
10742
10747
  );
10743
10748
  const o = (l) => {
10744
10749
  let h;
10745
- if (t === ar.Number)
10750
+ if (t === ir.Number)
10746
10751
  h = /^\d*$/;
10747
10752
  else if (a)
10748
10753
  try {
@@ -10754,7 +10759,7 @@ const J4 = {
10754
10759
  h = /.*/;
10755
10760
  h.test(l) && s(l);
10756
10761
  };
10757
- return t === ar.Textarea ? /* @__PURE__ */ c("div", { className: Hr.textareaWrapper, children: /* @__PURE__ */ c(
10762
+ return t === ir.Textarea ? /* @__PURE__ */ c("div", { className: Hr.textareaWrapper, children: /* @__PURE__ */ c(
10758
10763
  Mu,
10759
10764
  {
10760
10765
  label: e,
@@ -10766,8 +10771,8 @@ const J4 = {
10766
10771
  ) }) : /* @__PURE__ */ c("div", { className: Hr.inputWrapper, children: /* @__PURE__ */ c(
10767
10772
  Cn,
10768
10773
  {
10769
- type: t === ar.Number ? "number" : "text",
10770
- placeholder: t === ar.Number ? "Type something number..." : u,
10774
+ type: t === ir.Number ? "number" : "text",
10775
+ placeholder: t === ir.Number ? "Type something number..." : u,
10771
10776
  label: e,
10772
10777
  value: r,
10773
10778
  required: i,
@@ -15470,12 +15475,12 @@ function DE(e) {
15470
15475
  (Qt[1] || Mc).call(Ce, void 0, Qt[0]);
15471
15476
  }
15472
15477
  for (Q.position = {
15473
- start: Jn(B.length > 0 ? B[0][1].start : {
15478
+ start: er(B.length > 0 ? B[0][1].start : {
15474
15479
  line: 1,
15475
15480
  column: 1,
15476
15481
  offset: 0
15477
15482
  }),
15478
- end: Jn(B.length > 0 ? B[B.length - 2][1].end : {
15483
+ end: er(B.length > 0 ? B[B.length - 2][1].end : {
15479
15484
  line: 1,
15480
15485
  column: 1,
15481
15486
  offset: 0
@@ -15548,7 +15553,7 @@ function DE(e) {
15548
15553
  }
15549
15554
  function s(B, Q, Ce) {
15550
15555
  this.stack[this.stack.length - 1].children.push(B), this.stack.push(B), this.tokenStack.push([Q, Ce || void 0]), B.position = {
15551
- start: Jn(Q.start),
15556
+ start: er(Q.start),
15552
15557
  // @ts-expect-error: `end` will be patched later.
15553
15558
  end: void 0
15554
15559
  };
@@ -15567,7 +15572,7 @@ function DE(e) {
15567
15572
  start: B.start,
15568
15573
  end: B.end
15569
15574
  }) + "): it’s not open");
15570
- Ce.position.end = Jn(B.end);
15575
+ Ce.position.end = er(B.end);
15571
15576
  }
15572
15577
  function h() {
15573
15578
  return Qs(this.stack.pop());
@@ -15633,20 +15638,20 @@ function DE(e) {
15633
15638
  const Ce = this.stack[this.stack.length - 1].children;
15634
15639
  let Pe = Ce[Ce.length - 1];
15635
15640
  (!Pe || Pe.type !== "text") && (Pe = Ut(), Pe.position = {
15636
- start: Jn(B.start),
15641
+ start: er(B.start),
15637
15642
  // @ts-expect-error: we’ll add `end` later.
15638
15643
  end: void 0
15639
15644
  }, Ce.push(Pe)), this.stack.push(Pe);
15640
15645
  }
15641
15646
  function D(B) {
15642
15647
  const Q = this.stack.pop();
15643
- Q.value += this.sliceSerialize(B), Q.position.end = Jn(B.end);
15648
+ Q.value += this.sliceSerialize(B), Q.position.end = er(B.end);
15644
15649
  }
15645
15650
  function F(B) {
15646
15651
  const Q = this.stack[this.stack.length - 1];
15647
15652
  if (this.data.atHardBreak) {
15648
15653
  const Ce = Q.children[Q.children.length - 1];
15649
- Ce.position.end = Jn(B.end), this.data.atHardBreak = void 0;
15654
+ Ce.position.end = er(B.end), this.data.atHardBreak = void 0;
15650
15655
  return;
15651
15656
  }
15652
15657
  !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(Q.type) && ($.call(this, B), D.call(this, B));
@@ -15726,7 +15731,7 @@ function DE(e) {
15726
15731
  }
15727
15732
  function le(B) {
15728
15733
  const Q = this.stack.pop();
15729
- Q.position.end = Jn(B.end);
15734
+ Q.position.end = er(B.end);
15730
15735
  }
15731
15736
  function q(B) {
15732
15737
  D.call(this, B);
@@ -15849,7 +15854,7 @@ function DE(e) {
15849
15854
  };
15850
15855
  }
15851
15856
  }
15852
- function Jn(e) {
15857
+ function er(e) {
15853
15858
  return {
15854
15859
  line: e.line,
15855
15860
  column: e.column,
@@ -19290,7 +19295,7 @@ const wx = {
19290
19295
  name: "protocolAutolink",
19291
19296
  tokenize: Ox,
19292
19297
  previous: dd
19293
- }, Xn = {
19298
+ }, Kn = {
19294
19299
  name: "emailAutolink",
19295
19300
  tokenize: Px,
19296
19301
  previous: fd
@@ -19302,15 +19307,15 @@ function Lx() {
19302
19307
  }
19303
19308
  let Cr = 48;
19304
19309
  for (; Cr < 123; )
19305
- Hn[Cr] = Xn, Cr++, Cr === 58 ? Cr = 65 : Cr === 91 && (Cr = 97);
19306
- Hn[43] = Xn;
19307
- Hn[45] = Xn;
19308
- Hn[46] = Xn;
19309
- Hn[95] = Xn;
19310
- Hn[72] = [Xn, cd];
19311
- Hn[104] = [Xn, cd];
19312
- Hn[87] = [Xn, od];
19313
- Hn[119] = [Xn, od];
19310
+ Hn[Cr] = Kn, Cr++, Cr === 58 ? Cr = 65 : Cr === 91 && (Cr = 97);
19311
+ Hn[43] = Kn;
19312
+ Hn[45] = Kn;
19313
+ Hn[46] = Kn;
19314
+ Hn[95] = Kn;
19315
+ Hn[72] = [Kn, cd];
19316
+ Hn[104] = [Kn, cd];
19317
+ Hn[87] = [Kn, od];
19318
+ Hn[119] = [Kn, od];
19314
19319
  function Px(e, t, n) {
19315
19320
  const r = this;
19316
19321
  let u, a;
@@ -21790,10 +21795,10 @@ var At;
21790
21795
  e[e.NUM = 35] = "NUM", e[e.SEMI = 59] = "SEMI", e[e.EQUALS = 61] = "EQUALS", e[e.ZERO = 48] = "ZERO", e[e.NINE = 57] = "NINE", e[e.LOWER_A = 97] = "LOWER_A", e[e.LOWER_F = 102] = "LOWER_F", e[e.LOWER_X = 120] = "LOWER_X", e[e.LOWER_Z = 122] = "LOWER_Z", e[e.UPPER_A = 65] = "UPPER_A", e[e.UPPER_F = 70] = "UPPER_F", e[e.UPPER_Z = 90] = "UPPER_Z";
21791
21796
  })(At || (At = {}));
21792
21797
  const Kk = 32;
21793
- var lr;
21798
+ var dr;
21794
21799
  (function(e) {
21795
21800
  e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
21796
- })(lr || (lr = {}));
21801
+ })(dr || (dr = {}));
21797
21802
  function ps(e) {
21798
21803
  return e >= At.ZERO && e <= At.NINE;
21799
21804
  }
@@ -21939,7 +21944,7 @@ class tA {
21939
21944
  */
21940
21945
  stateNamedEntity(t, n) {
21941
21946
  const { decodeTree: r } = this;
21942
- let u = r[this.treeIndex], a = (u & lr.VALUE_LENGTH) >> 14;
21947
+ let u = r[this.treeIndex], a = (u & dr.VALUE_LENGTH) >> 14;
21943
21948
  for (; n < t.length; n++, this.excess++) {
21944
21949
  const i = t.charCodeAt(n);
21945
21950
  if (this.treeIndex = nA(r, u, this.treeIndex + Math.max(1, a), i), this.treeIndex < 0)
@@ -21947,7 +21952,7 @@ class tA {
21947
21952
  this.decodeMode === Gn.Attribute && // We shouldn't have consumed any characters after the entity,
21948
21953
  (a === 0 || // And there should be no invalid characters.
21949
21954
  eA(i)) ? 0 : this.emitNotTerminatedNamedEntity();
21950
- if (u = r[this.treeIndex], a = (u & lr.VALUE_LENGTH) >> 14, a !== 0) {
21955
+ if (u = r[this.treeIndex], a = (u & dr.VALUE_LENGTH) >> 14, a !== 0) {
21951
21956
  if (i === At.SEMI)
21952
21957
  return this.emitNamedEntityData(this.treeIndex, a, this.consumed + this.excess);
21953
21958
  this.decodeMode !== Gn.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
@@ -21962,7 +21967,7 @@ class tA {
21962
21967
  */
21963
21968
  emitNotTerminatedNamedEntity() {
21964
21969
  var t;
21965
- const { result: n, decodeTree: r } = this, u = (r[n] & lr.VALUE_LENGTH) >> 14;
21970
+ const { result: n, decodeTree: r } = this, u = (r[n] & dr.VALUE_LENGTH) >> 14;
21966
21971
  return this.emitNamedEntityData(n, u, this.consumed), (t = this.errors) === null || t === void 0 || t.missingSemicolonAfterCharacterReference(), this.consumed;
21967
21972
  }
21968
21973
  /**
@@ -21976,7 +21981,7 @@ class tA {
21976
21981
  */
21977
21982
  emitNamedEntityData(t, n, r) {
21978
21983
  const { decodeTree: u } = this;
21979
- return this.emitCodePoint(n === 1 ? u[t] & ~lr.VALUE_LENGTH : u[t + 1], r), n === 3 && this.emitCodePoint(u[t + 2], r), r;
21984
+ return this.emitCodePoint(n === 1 ? u[t] & ~dr.VALUE_LENGTH : u[t + 1], r), n === 3 && this.emitCodePoint(u[t + 2], r), r;
21980
21985
  }
21981
21986
  /**
21982
21987
  * Signal to the parser that the end of the input was reached.
@@ -22002,7 +22007,7 @@ class tA {
22002
22007
  }
22003
22008
  }
22004
22009
  function nA(e, t, n, r) {
22005
- const u = (t & lr.BRANCH_LENGTH) >> 7, a = t & lr.JUMP_TABLE;
22010
+ const u = (t & dr.BRANCH_LENGTH) >> 7, a = t & dr.JUMP_TABLE;
22006
22011
  if (u === 0)
22007
22012
  return a !== 0 && r === a ? n : -1;
22008
22013
  if (a) {
@@ -22282,11 +22287,11 @@ function gu(e) {
22282
22287
  function iA(e) {
22283
22288
  return e >= T.LATIN_SMALL_A && e <= T.LATIN_SMALL_Z;
22284
22289
  }
22285
- function rr(e) {
22290
+ function ur(e) {
22286
22291
  return iA(e) || gu(e);
22287
22292
  }
22288
22293
  function bl(e) {
22289
- return rr(e) || aA(e);
22294
+ return ur(e) || aA(e);
22290
22295
  }
22291
22296
  function la(e) {
22292
22297
  return e + 32;
@@ -22923,7 +22928,7 @@ class oA {
22923
22928
  // Tag open state
22924
22929
  //------------------------------------------------------------------
22925
22930
  _stateTagOpen(t) {
22926
- if (rr(t))
22931
+ if (ur(t))
22927
22932
  this._createStartTagToken(), this.state = k.TAG_NAME, this._stateTagName(t);
22928
22933
  else
22929
22934
  switch (t) {
@@ -22950,7 +22955,7 @@ class oA {
22950
22955
  // End tag open state
22951
22956
  //------------------------------------------------------------------
22952
22957
  _stateEndTagOpen(t) {
22953
- if (rr(t))
22958
+ if (ur(t))
22954
22959
  this._createEndTagToken(), this.state = k.TAG_NAME, this._stateTagName(t);
22955
22960
  else
22956
22961
  switch (t) {
@@ -23006,7 +23011,7 @@ class oA {
23006
23011
  // RCDATA end tag open state
23007
23012
  //------------------------------------------------------------------
23008
23013
  _stateRcdataEndTagOpen(t) {
23009
- rr(t) ? (this.state = k.RCDATA_END_TAG_NAME, this._stateRcdataEndTagName(t)) : (this._emitChars("</"), this.state = k.RCDATA, this._stateRcdata(t));
23014
+ ur(t) ? (this.state = k.RCDATA_END_TAG_NAME, this._stateRcdataEndTagName(t)) : (this._emitChars("</"), this.state = k.RCDATA, this._stateRcdata(t));
23010
23015
  }
23011
23016
  handleSpecialEndTag(t) {
23012
23017
  if (!this.preprocessor.startsWith(this.lastStartTagName, !1))
@@ -23040,7 +23045,7 @@ class oA {
23040
23045
  // RAWTEXT end tag open state
23041
23046
  //------------------------------------------------------------------
23042
23047
  _stateRawtextEndTagOpen(t) {
23043
- rr(t) ? (this.state = k.RAWTEXT_END_TAG_NAME, this._stateRawtextEndTagName(t)) : (this._emitChars("</"), this.state = k.RAWTEXT, this._stateRawtext(t));
23048
+ ur(t) ? (this.state = k.RAWTEXT_END_TAG_NAME, this._stateRawtextEndTagName(t)) : (this._emitChars("</"), this.state = k.RAWTEXT, this._stateRawtext(t));
23044
23049
  }
23045
23050
  // RAWTEXT end tag name state
23046
23051
  //------------------------------------------------------------------
@@ -23066,7 +23071,7 @@ class oA {
23066
23071
  // Script data end tag open state
23067
23072
  //------------------------------------------------------------------
23068
23073
  _stateScriptDataEndTagOpen(t) {
23069
- rr(t) ? (this.state = k.SCRIPT_DATA_END_TAG_NAME, this._stateScriptDataEndTagName(t)) : (this._emitChars("</"), this.state = k.SCRIPT_DATA, this._stateScriptData(t));
23074
+ ur(t) ? (this.state = k.SCRIPT_DATA_END_TAG_NAME, this._stateScriptDataEndTagName(t)) : (this._emitChars("</"), this.state = k.SCRIPT_DATA, this._stateScriptData(t));
23070
23075
  }
23071
23076
  // Script data end tag name state
23072
23077
  //------------------------------------------------------------------
@@ -23162,12 +23167,12 @@ class oA {
23162
23167
  // Script data escaped less-than sign state
23163
23168
  //------------------------------------------------------------------
23164
23169
  _stateScriptDataEscapedLessThanSign(t) {
23165
- t === T.SOLIDUS ? this.state = k.SCRIPT_DATA_ESCAPED_END_TAG_OPEN : rr(t) ? (this._emitChars("<"), this.state = k.SCRIPT_DATA_DOUBLE_ESCAPE_START, this._stateScriptDataDoubleEscapeStart(t)) : (this._emitChars("<"), this.state = k.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
23170
+ t === T.SOLIDUS ? this.state = k.SCRIPT_DATA_ESCAPED_END_TAG_OPEN : ur(t) ? (this._emitChars("<"), this.state = k.SCRIPT_DATA_DOUBLE_ESCAPE_START, this._stateScriptDataDoubleEscapeStart(t)) : (this._emitChars("<"), this.state = k.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
23166
23171
  }
23167
23172
  // Script data escaped end tag open state
23168
23173
  //------------------------------------------------------------------
23169
23174
  _stateScriptDataEscapedEndTagOpen(t) {
23170
- rr(t) ? (this.state = k.SCRIPT_DATA_ESCAPED_END_TAG_NAME, this._stateScriptDataEscapedEndTagName(t)) : (this._emitChars("</"), this.state = k.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
23175
+ ur(t) ? (this.state = k.SCRIPT_DATA_ESCAPED_END_TAG_NAME, this._stateScriptDataEscapedEndTagName(t)) : (this._emitChars("</"), this.state = k.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
23171
23176
  }
23172
23177
  // Script data escaped end tag name state
23173
23178
  //------------------------------------------------------------------
@@ -24507,7 +24512,7 @@ class gA {
24507
24512
  return this.entries.find((n) => n.type === Pn.Element && n.element === t);
24508
24513
  }
24509
24514
  }
24510
- const ur = {
24515
+ const ar = {
24511
24516
  //Node construction
24512
24517
  createDocument() {
24513
24518
  return {
@@ -24572,7 +24577,7 @@ const ur = {
24572
24577
  systemId: r,
24573
24578
  parentNode: null
24574
24579
  };
24575
- ur.appendChild(e, a);
24580
+ ar.appendChild(e, a);
24576
24581
  }
24577
24582
  },
24578
24583
  setDocumentMode(e, t) {
@@ -24590,16 +24595,16 @@ const ur = {
24590
24595
  insertText(e, t) {
24591
24596
  if (e.childNodes.length > 0) {
24592
24597
  const n = e.childNodes[e.childNodes.length - 1];
24593
- if (ur.isTextNode(n)) {
24598
+ if (ar.isTextNode(n)) {
24594
24599
  n.value += t;
24595
24600
  return;
24596
24601
  }
24597
24602
  }
24598
- ur.appendChild(e, ur.createTextNode(t));
24603
+ ar.appendChild(e, ar.createTextNode(t));
24599
24604
  },
24600
24605
  insertTextBefore(e, t, n) {
24601
24606
  const r = e.childNodes[e.childNodes.indexOf(n) - 1];
24602
- r && ur.isTextNode(r) ? r.value += t : ur.insertBefore(e, ur.createTextNode(t), n);
24607
+ r && ar.isTextNode(r) ? r.value += t : ar.insertBefore(e, ar.createTextNode(t), n);
24603
24608
  },
24604
24609
  adoptAttributes(e, t) {
24605
24610
  const n = new Set(e.attrs.map((r) => r.name));
@@ -24972,7 +24977,7 @@ const BA = {
24972
24977
  }, Bd = /* @__PURE__ */ new Set([d.TABLE, d.TBODY, d.TFOOT, d.THEAD, d.TR]), Al = {
24973
24978
  scriptingEnabled: !0,
24974
24979
  sourceCodeLocationInfo: !1,
24975
- treeAdapter: ur,
24980
+ treeAdapter: ar,
24976
24981
  onParseError: null
24977
24982
  };
24978
24983
  class Il {
@@ -27614,7 +27619,7 @@ const _o = () => {
27614
27619
  null
27615
27620
  ), [ce, ae] = Y.useState(!1), [ge, ve] = Y.useState(null), qe = !!((we = R == null ? void 0 : R.priorityReplacement) != null && we.enabled), Me = ce && qe, [y, G] = Y.useState(!1), { setIsOpen: ie } = ut(), { notifications: A, setNotifications: ne } = Lt();
27616
27621
  Y.useEffect(() => {
27617
- const V = So(r.parts, u).map((P) => P.type === ar.Checkbox ? {
27622
+ const V = So(r.parts, u).map((P) => P.type === ir.Checkbox ? {
27618
27623
  ...P,
27619
27624
  value: String(P.defaultValue)
27620
27625
  } : P);
@@ -27628,7 +27633,7 @@ const _o = () => {
27628
27633
  return he && he.value ? {
27629
27634
  ...Z,
27630
27635
  value: he.value
27631
- } : Z.type === ar.Checkbox ? {
27636
+ } : Z.type === ir.Checkbox ? {
27632
27637
  ...Z,
27633
27638
  value: String(Z.defaultValue)
27634
27639
  } : Z;
@@ -28635,7 +28640,7 @@ const _o = () => {
28635
28640
  ] })
28636
28641
  ] })
28637
28642
  ] });
28638
- }, lv = "_bottomSheet_1yai1_1", dv = "_formContainer_1yai1_8", fv = "_error_1yai1_14", hv = "_buttonGroup_1yai1_18", pv = "_buttonWrapper_1yai1_28", mv = "_fullWidthButton_1yai1_31", gv = "_modal_1yai1_41", bv = "_header_1yai1_48", er = {
28643
+ }, lv = "_bottomSheet_1yai1_1", dv = "_formContainer_1yai1_8", fv = "_error_1yai1_14", hv = "_buttonGroup_1yai1_18", pv = "_buttonWrapper_1yai1_28", mv = "_fullWidthButton_1yai1_31", gv = "_modal_1yai1_41", bv = "_header_1yai1_48", tr = {
28639
28644
  bottomSheet: lv,
28640
28645
  formContainer: dv,
28641
28646
  error: fv,
@@ -28669,10 +28674,10 @@ const _o = () => {
28669
28674
  return /* @__PURE__ */ b(
28670
28675
  "div",
28671
28676
  {
28672
- className: er.modal,
28677
+ className: tr.modal,
28673
28678
  onClick: (h) => h.stopPropagation(),
28674
28679
  children: [
28675
- /* @__PURE__ */ b("div", { className: er.header, children: [
28680
+ /* @__PURE__ */ b("div", { className: tr.header, children: [
28676
28681
  /* @__PURE__ */ c("h3", { id: "h3", children: "CashApp Verify" }),
28677
28682
  /* @__PURE__ */ c(
28678
28683
  H,
@@ -28684,8 +28689,8 @@ const _o = () => {
28684
28689
  }
28685
28690
  )
28686
28691
  ] }),
28687
- /* @__PURE__ */ c("form", { onSubmit: o, children: /* @__PURE__ */ b("div", { className: er.bottomSheet, children: [
28688
- /* @__PURE__ */ c("div", { className: er.formContainer, children: /* @__PURE__ */ b("div", { children: [
28692
+ /* @__PURE__ */ c("form", { onSubmit: o, children: /* @__PURE__ */ b("div", { className: tr.bottomSheet, children: [
28693
+ /* @__PURE__ */ c("div", { className: tr.formContainer, children: /* @__PURE__ */ b("div", { children: [
28689
28694
  /* @__PURE__ */ c(
28690
28695
  Cn,
28691
28696
  {
@@ -28697,10 +28702,10 @@ const _o = () => {
28697
28702
  placeholder: "https://cash.app/payments/0000"
28698
28703
  }
28699
28704
  ),
28700
- u && /* @__PURE__ */ c("p", { className: er.error, children: u })
28705
+ u && /* @__PURE__ */ c("p", { className: tr.error, children: u })
28701
28706
  ] }) }),
28702
- /* @__PURE__ */ b("div", { className: er.buttonGroup, children: [
28703
- /* @__PURE__ */ c("div", { className: er.buttonWrapper, children: /* @__PURE__ */ c(
28707
+ /* @__PURE__ */ b("div", { className: tr.buttonGroup, children: [
28708
+ /* @__PURE__ */ c("div", { className: tr.buttonWrapper, children: /* @__PURE__ */ c(
28704
28709
  ue,
28705
28710
  {
28706
28711
  type: "Secondary",
@@ -28708,7 +28713,7 @@ const _o = () => {
28708
28713
  children: "Cancel"
28709
28714
  }
28710
28715
  ) }),
28711
- /* @__PURE__ */ c("div", { className: er.fullWidthButton, children: /* @__PURE__ */ c(ue, { type: "Primary", children: "Verify" }) })
28716
+ /* @__PURE__ */ c("div", { className: tr.fullWidthButton, children: /* @__PURE__ */ c(ue, { type: "Primary", children: "Verify" }) })
28712
28717
  ] })
28713
28718
  ] }) })
28714
28719
  ]
@@ -29416,7 +29421,7 @@ const _o = () => {
29416
29421
  /* @__PURE__ */ c("p", { className: Br.foreverText, children: "Forever discount code" })
29417
29422
  ] })
29418
29423
  ] });
29419
- }, dD = "_paymentMethodContainer_1g0da_4", fD = "_paymentMethodTitle_1g0da_15", hD = "_activeMethod_1g0da_20", pD = "_noMethod_1g0da_28", mD = "_activeMethodPaymentMethod_1g0da_37", gD = "_paymentMethodLogo_1g0da_47", bD = "_paymentMethodNumber_1g0da_57", _D = "_method_1g0da_61", or = {
29424
+ }, dD = "_paymentMethodContainer_1g0da_4", fD = "_paymentMethodTitle_1g0da_15", hD = "_activeMethod_1g0da_20", pD = "_noMethod_1g0da_28", mD = "_activeMethodPaymentMethod_1g0da_37", gD = "_paymentMethodLogo_1g0da_47", bD = "_paymentMethodNumber_1g0da_57", _D = "_method_1g0da_61", cr = {
29420
29425
  paymentMethodContainer: dD,
29421
29426
  paymentMethodTitle: fD,
29422
29427
  activeMethod: hD,
@@ -29548,9 +29553,9 @@ const _o = () => {
29548
29553
  }, []), Y.useEffect(() => {
29549
29554
  t.gateway !== f && m(t.gateway);
29550
29555
  }, [t.gateway]), /* @__PURE__ */ b(ze, { children: [
29551
- /* @__PURE__ */ b("div", { className: or.paymentMethodContainer, children: [
29556
+ /* @__PURE__ */ b("div", { className: cr.paymentMethodContainer, children: [
29552
29557
  /* @__PURE__ */ b("div", { children: [
29553
- /* @__PURE__ */ c("p", { className: or.paymentMethodTitle, children: "Active Payment Method" }),
29558
+ /* @__PURE__ */ c("p", { className: cr.paymentMethodTitle, children: "Active Payment Method" }),
29554
29559
  e.gatewayInfo && Object.keys(e.gatewayInfo).length > 0 && /* @__PURE__ */ c(ID, { gatewayInfo: e.gatewayInfo }),
29555
29560
  (!e.gatewayInfo || Object.keys(e.gatewayInfo).length === 0) && f === "Balance" && /* @__PURE__ */ c(
29556
29561
  qs,
@@ -29561,8 +29566,8 @@ const _o = () => {
29561
29566
  onSignInClick: () => r("/customer-dash")
29562
29567
  }
29563
29568
  ),
29564
- (!e.gatewayInfo || Object.keys(e.gatewayInfo).length === 0) && !f && /* @__PURE__ */ c("span", { className: or.noMethod, children: "Payment method is not set" }),
29565
- (!e.gatewayInfo || Object.keys(e.gatewayInfo).length === 0) && f && /* @__PURE__ */ c("div", { className: or.activeMethod, children: u && /* @__PURE__ */ c(
29569
+ (!e.gatewayInfo || Object.keys(e.gatewayInfo).length === 0) && !f && /* @__PURE__ */ c("span", { className: cr.noMethod, children: "Payment method is not set" }),
29570
+ (!e.gatewayInfo || Object.keys(e.gatewayInfo).length === 0) && f && /* @__PURE__ */ c("div", { className: cr.activeMethod, children: u && /* @__PURE__ */ c(
29566
29571
  Zs,
29567
29572
  {
29568
29573
  align: "row",
@@ -29570,7 +29575,7 @@ const _o = () => {
29570
29575
  gatewayDisplayName: (C = u.find((_) => _.name === f)) == null ? void 0 : C.displayName,
29571
29576
  gateway: f,
29572
29577
  poweredByLogoCfId: (E = u.find((_) => _.name === f)) == null ? void 0 : E.poweredByImageCfImageId,
29573
- className: or.activeMethodPaymentMethod,
29578
+ className: cr.activeMethodPaymentMethod,
29574
29579
  selected: p === f,
29575
29580
  onSelect: (_) => {
29576
29581
  n(_);
@@ -29600,8 +29605,8 @@ const _o = () => {
29600
29605
  ] });
29601
29606
  }, ID = ({ gatewayInfo: e }) => {
29602
29607
  var t, n, r, u, a;
29603
- return /* @__PURE__ */ b("div", { className: or.method, children: [
29604
- /* @__PURE__ */ b("div", { className: or.paymentMethodLogo, children: [
29608
+ return /* @__PURE__ */ b("div", { className: cr.method, children: [
29609
+ /* @__PURE__ */ b("div", { className: cr.paymentMethodLogo, children: [
29605
29610
  ((t = e.card) == null ? void 0 : t.brand.toLowerCase()) === "visa" && /* @__PURE__ */ c(Sm, {}),
29606
29611
  ((n = e.card) == null ? void 0 : n.brand.toLowerCase()) === "mastercard" && /* @__PURE__ */ c(
29607
29612
  "img",
@@ -29619,7 +29624,7 @@ const _o = () => {
29619
29624
  }
29620
29625
  )
29621
29626
  ] }),
29622
- /* @__PURE__ */ b("p", { className: or.paymentMethodNumber, children: [
29627
+ /* @__PURE__ */ b("p", { className: cr.paymentMethodNumber, children: [
29623
29628
  "•••• •••• •••• ",
29624
29629
  (a = e.card) == null ? void 0 : a.last4
29625
29630
  ] })
@@ -29973,7 +29978,7 @@ const _o = () => {
29973
29978
  }
29974
29979
  ) })
29975
29980
  ] }) : null;
29976
- }, rL = "_bottomSheet_1bcyj_1", uL = "_content_1bcyj_7", aL = "_title_1bcyj_18", iL = "_buttonGroup_1bcyj_22", sL = "_buttonWrapper_1bcyj_33", oL = "_modal_1bcyj_37", cL = "_header_1bcyj_44", tr = {
29981
+ }, rL = "_bottomSheet_1bcyj_1", uL = "_content_1bcyj_7", aL = "_title_1bcyj_18", iL = "_buttonGroup_1bcyj_22", sL = "_buttonWrapper_1bcyj_33", oL = "_modal_1bcyj_37", cL = "_header_1bcyj_44", nr = {
29977
29982
  bottomSheet: rL,
29978
29983
  content: uL,
29979
29984
  title: aL,
@@ -29990,15 +29995,15 @@ const _o = () => {
29990
29995
  return /* @__PURE__ */ b(
29991
29996
  "div",
29992
29997
  {
29993
- className: tr.modal,
29998
+ className: nr.modal,
29994
29999
  onClick: (i) => i.stopPropagation(),
29995
30000
  children: [
29996
- /* @__PURE__ */ b("div", { className: tr.header, children: [
30001
+ /* @__PURE__ */ b("div", { className: nr.header, children: [
29997
30002
  /* @__PURE__ */ c(
29998
30003
  "h3",
29999
30004
  {
30000
30005
  id: "h3",
30001
- className: tr.title,
30006
+ className: nr.title,
30002
30007
  children: "Review Description"
30003
30008
  }
30004
30009
  ),
@@ -30012,8 +30017,8 @@ const _o = () => {
30012
30017
  }
30013
30018
  )
30014
30019
  ] }),
30015
- /* @__PURE__ */ b("div", { className: tr.bottomSheet, children: [
30016
- /* @__PURE__ */ c("div", { className: tr.content, children: /* @__PURE__ */ c(
30020
+ /* @__PURE__ */ b("div", { className: nr.bottomSheet, children: [
30021
+ /* @__PURE__ */ c("div", { className: nr.content, children: /* @__PURE__ */ c(
30017
30022
  Mu,
30018
30023
  {
30019
30024
  placeholder: "Great product and fast checkout...",
@@ -30022,8 +30027,8 @@ const _o = () => {
30022
30027
  label: "Describe your review in detail below"
30023
30028
  }
30024
30029
  ) }),
30025
- /* @__PURE__ */ b("div", { className: tr.buttonGroup, children: [
30026
- /* @__PURE__ */ c("div", { className: tr.buttonWrapper, children: /* @__PURE__ */ c(
30030
+ /* @__PURE__ */ b("div", { className: nr.buttonGroup, children: [
30031
+ /* @__PURE__ */ c("div", { className: nr.buttonWrapper, children: /* @__PURE__ */ c(
30027
30032
  ue,
30028
30033
  {
30029
30034
  type: "Secondary",
@@ -30031,7 +30036,7 @@ const _o = () => {
30031
30036
  children: "Cancel"
30032
30037
  }
30033
30038
  ) }),
30034
- /* @__PURE__ */ c("div", { className: tr.buttonWrapper, children: /* @__PURE__ */ c(
30039
+ /* @__PURE__ */ c("div", { className: nr.buttonWrapper, children: /* @__PURE__ */ c(
30035
30040
  ue,
30036
30041
  {
30037
30042
  type: "Primary",
@@ -30881,7 +30886,7 @@ const _o = () => {
30881
30886
  SkeletonReferralBlock: j0,
30882
30887
  StatItem: Zt,
30883
30888
  StatusIndicator: K0,
30884
- StatusVariant: fr,
30889
+ StatusVariant: Xn,
30885
30890
  SubmitReview: g2,
30886
30891
  SubscriptionCoupon: lD,
30887
30892
  SubscriptionExpiration: b2,