@revenuecat/purchases-js 1.18.3 → 1.18.4

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.
@@ -12,12 +12,12 @@ var Ro = (e) => [, , , kl((e == null ? void 0 : e[Bo("metadata")]) ?? null)], Vo
12
12
  }, Ho = (e, r, t, a, n, i) => {
13
13
  var s, l, c, d, p, u = r & 7, _ = !!(r & 8), m = !!(r & 16), f = u > 3 ? e.length + 1 : u ? _ ? 1 : 2 : 0, h = Vo[u + 5], v = u > 3 && (e[f - 1] = []), y = e[f] || (e[f] = []), k = u && (!m && !_ && (n = n.prototype), u < 5 && (u > 3 || !m) && wl(u < 4 ? n : { get [t]() {
14
14
  return cr(this, i);
15
- }, set [t](I) {
16
- return vt(this, i, I);
15
+ }, set [t](q) {
16
+ return vt(this, i, q);
17
17
  } }, t));
18
18
  u ? m && u < 4 && Lo(i, (u > 2 ? "set " : u > 1 ? "get " : "") + t) : Lo(n, t);
19
- for (var P = a.length - 1; P >= 0; P--)
20
- d = Pl(u, t, c = {}, e[3], y), u && (d.static = _, d.private = m, p = d.access = { has: m ? (I) => xl(n, I) : (I) => t in I }, u ^ 3 && (p.get = m ? (I) => (u ^ 1 ? cr : En)(I, n, u ^ 4 ? i : k.get) : (I) => I[t]), u > 2 && (p.set = m ? (I, S) => vt(I, n, S, u ^ 4 ? i : k.set) : (I, S) => I[t] = S)), l = (0, a[P])(u ? u < 4 ? m ? i : k[h] : u > 4 ? void 0 : { get: k.get, set: k.set } : n, d), c._ = 1, u ^ 4 || l === void 0 ? Zt(l) && (u > 4 ? v.unshift(l) : u ? m ? i = l : k[h] = l : n = l) : typeof l != "object" || l === null ? Dt("Object expected") : (Zt(s = l.get) && (k.get = s), Zt(s = l.set) && (k.set = s), Zt(s = l.init) && v.unshift(s));
19
+ for (var w = a.length - 1; w >= 0; w--)
20
+ d = Pl(u, t, c = {}, e[3], y), u && (d.static = _, d.private = m, p = d.access = { has: m ? (q) => xl(n, q) : (q) => t in q }, u ^ 3 && (p.get = m ? (q) => (u ^ 1 ? cr : En)(q, n, u ^ 4 ? i : k.get) : (q) => q[t]), u > 2 && (p.set = m ? (q, S) => vt(q, n, S, u ^ 4 ? i : k.set) : (q, S) => q[t] = S)), l = (0, a[w])(u ? u < 4 ? m ? i : k[h] : u > 4 ? void 0 : { get: k.get, set: k.set } : n, d), c._ = 1, u ^ 4 || l === void 0 ? Zt(l) && (u > 4 ? v.unshift(l) : u ? m ? i = l : k[h] = l : n = l) : typeof l != "object" || l === null ? Dt("Object expected") : (Zt(s = l.get) && (k.get = s), Zt(s = l.set) && (k.set = s), Zt(s = l.init) && v.unshift(s));
21
21
  return u || Pn(e, n), k && wn(n, t, k), m ? u ^ 4 ? i : k : n;
22
22
  }, O = (e, r, t) => Uo(e, typeof r != "symbol" ? r + "" : r, t), xn = (e, r, t) => r.has(e) || Dt("Cannot " + t), xl = (e, r) => Object(r) !== r ? Dt('Cannot use the "in" operator on this value') : e.has(r), cr = (e, r, t) => (xn(e, r, "read from private field"), t ? t.call(e) : r.get(e)), bt = (e, r, t) => r.has(e) ? Dt("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(e) : r.set(e, t), vt = (e, r, t, a) => (xn(e, r, "write to private field"), a ? a.call(e, t) : r.set(e, t), t), En = (e, r, t) => (xn(e, r, "access private method"), t);
23
23
  const El = "5";
@@ -258,7 +258,7 @@ function H(e, r = null, t) {
258
258
  return u;
259
259
  },
260
260
  set(c, d, p, u) {
261
- var P;
261
+ var w;
262
262
  var _ = n.get(d), m = d in c;
263
263
  if (i && d === "length")
264
264
  for (var f = p; f < /** @type {Source<number>} */
@@ -266,7 +266,7 @@ function H(e, r = null, t) {
266
266
  var h = n.get(f + "");
267
267
  h !== void 0 ? z(h, ar) : f in c && (h = nr(ar), n.set(f + "", h));
268
268
  }
269
- _ === void 0 ? (!m || (P = ot(c, d)) != null && P.writable) && (_ = nr(void 0), z(_, H(p, l)), n.set(d, _)) : (m = _.v !== ar, z(_, H(p, l)));
269
+ _ === void 0 ? (!m || (w = ot(c, d)) != null && w.writable) && (_ = nr(void 0), z(_, H(p, l)), n.set(d, _)) : (m = _.v !== ar, z(_, H(p, l)));
270
270
  var v = Reflect.getOwnPropertyDescriptor(c, d);
271
271
  if (v != null && v.set && v.set.call(u, p), !m) {
272
272
  if (i && typeof d == "string") {
@@ -1172,17 +1172,17 @@ function ea(e) {
1172
1172
  v.apply(i, [e, ...y]);
1173
1173
  } else
1174
1174
  h.call(i, e);
1175
- } catch (P) {
1176
- _ ? m.push(P) : _ = P;
1175
+ } catch (w) {
1176
+ _ ? m.push(w) : _ = w;
1177
1177
  }
1178
1178
  if (e.cancelBubble || f === r || f === null)
1179
1179
  break;
1180
1180
  i = f;
1181
1181
  }
1182
1182
  if (_) {
1183
- for (let P of m)
1183
+ for (let w of m)
1184
1184
  queueMicrotask(() => {
1185
- throw P;
1185
+ throw w;
1186
1186
  });
1187
1187
  throw _;
1188
1188
  }
@@ -1418,45 +1418,45 @@ function Gr(e, r, t, a, n, i = null) {
1418
1418
  }
1419
1419
  function jc(e, r, t, a, n, i, s, l) {
1420
1420
  var V, X, te, ne;
1421
- var c = (n & Sl) !== 0, d = (n & (ro | to)) !== 0, p = e.length, u = r.items, _ = r.first, m = _, f, h = null, v, y = [], k = [], P, I, S, q;
1421
+ var c = (n & Sl) !== 0, d = (n & (ro | to)) !== 0, p = e.length, u = r.items, _ = r.first, m = _, f, h = null, v, y = [], k = [], w, q, S, F;
1422
1422
  if (c)
1423
- for (q = 0; q < p; q += 1)
1424
- P = e[q], I = s(P, q), S = u.get(I), S !== void 0 && ((V = S.a) == null || V.measure(), (v ?? (v = /* @__PURE__ */ new Set())).add(S));
1425
- for (q = 0; q < p; q += 1) {
1426
- if (P = e[q], I = s(P, q), S = u.get(I), S === void 0) {
1427
- var B = m ? (
1423
+ for (F = 0; F < p; F += 1)
1424
+ w = e[F], q = s(w, F), S = u.get(q), S !== void 0 && ((V = S.a) == null || V.measure(), (v ?? (v = /* @__PURE__ */ new Set())).add(S));
1425
+ for (F = 0; F < p; F += 1) {
1426
+ if (w = e[F], q = s(w, F), S = u.get(q), S === void 0) {
1427
+ var U = m ? (
1428
1428
  /** @type {TemplateNode} */
1429
1429
  m.e.nodes_start
1430
1430
  ) : t;
1431
1431
  h = Oc(
1432
- B,
1432
+ U,
1433
1433
  r,
1434
1434
  h,
1435
1435
  h === null ? r.first : h.next,
1436
- P,
1437
- I,
1436
+ w,
1438
1437
  q,
1438
+ F,
1439
1439
  a,
1440
1440
  n
1441
- ), u.set(I, h), y = [], k = [], m = h.next;
1441
+ ), u.set(q, h), y = [], k = [], m = h.next;
1442
1442
  continue;
1443
1443
  }
1444
- if (d && Nc(S, P, q, n), (S.e.f & Hr) !== 0 && (oa(S.e), c && ((X = S.a) == null || X.unfix(), (v ?? (v = /* @__PURE__ */ new Set())).delete(S))), S !== m) {
1444
+ if (d && Nc(S, w, F, n), (S.e.f & Hr) !== 0 && (oa(S.e), c && ((X = S.a) == null || X.unfix(), (v ?? (v = /* @__PURE__ */ new Set())).delete(S))), S !== m) {
1445
1445
  if (f !== void 0 && f.has(S)) {
1446
1446
  if (y.length < k.length) {
1447
- var w = k[0], T;
1448
- h = w.prev;
1449
- var D = y[0], E = y[y.length - 1];
1447
+ var P = k[0], T;
1448
+ h = P.prev;
1449
+ var I = y[0], E = y[y.length - 1];
1450
1450
  for (T = 0; T < y.length; T += 1)
1451
- Jo(y[T], w, t);
1451
+ Jo(y[T], P, t);
1452
1452
  for (T = 0; T < k.length; T += 1)
1453
1453
  f.delete(k[T]);
1454
- tt(r, D.prev, E.next), tt(r, h, D), tt(r, E, w), m = w, h = E, q -= 1, y = [], k = [];
1454
+ tt(r, I.prev, E.next), tt(r, h, I), tt(r, E, P), m = P, h = E, F -= 1, y = [], k = [];
1455
1455
  } else
1456
1456
  f.delete(S), Jo(S, m, t), tt(r, S.prev, S.next), tt(r, S, h === null ? r.first : h.next), tt(r, h, S), h = S;
1457
1457
  continue;
1458
1458
  }
1459
- for (y = [], k = []; m !== null && m.k !== I; )
1459
+ for (y = [], k = []; m !== null && m.k !== q; )
1460
1460
  (i || (m.e.f & Hr) === 0) && (f ?? (f = /* @__PURE__ */ new Set())).add(m), k.push(m), m = m.next;
1461
1461
  if (m === null)
1462
1462
  continue;
@@ -1465,18 +1465,18 @@ function jc(e, r, t, a, n, i, s, l) {
1465
1465
  y.push(S), h = S, m = S.next;
1466
1466
  }
1467
1467
  if (m !== null || f !== void 0) {
1468
- for (var F = f === void 0 ? [] : ao(f); m !== null; )
1469
- (i || (m.e.f & Hr) === 0) && F.push(m), m = m.next;
1470
- var U = F.length;
1471
- if (U > 0) {
1468
+ for (var D = f === void 0 ? [] : ao(f); m !== null; )
1469
+ (i || (m.e.f & Hr) === 0) && D.push(m), m = m.next;
1470
+ var B = D.length;
1471
+ if (B > 0) {
1472
1472
  var N = (n & Pi) !== 0 && p === 0 ? t : null;
1473
1473
  if (c) {
1474
- for (q = 0; q < U; q += 1)
1475
- (te = F[q].a) == null || te.measure();
1476
- for (q = 0; q < U; q += 1)
1477
- (ne = F[q].a) == null || ne.fix();
1474
+ for (F = 0; F < B; F += 1)
1475
+ (te = D[F].a) == null || te.measure();
1476
+ for (F = 0; F < B; F += 1)
1477
+ (ne = D[F].a) == null || ne.fix();
1478
1478
  }
1479
- Mc(r, F, N, u);
1479
+ Mc(r, D, N, u);
1480
1480
  }
1481
1481
  }
1482
1482
  c && Tt(() => {
@@ -1644,21 +1644,21 @@ function yo(e, r, t, a, n = !1, i = !1, s = !1) {
1644
1644
  var m = y[0] + y[1];
1645
1645
  if (m !== "$$") {
1646
1646
  if (m === "on") {
1647
- const P = {}, I = "$$" + y;
1647
+ const w = {}, q = "$$" + y;
1648
1648
  let S = y.slice(2);
1649
1649
  var f = Ll(S);
1650
- if (Nl(S) && (S = S.slice(0, -7), P.capture = !0), !f && _) {
1650
+ if (Nl(S) && (S = S.slice(0, -7), w.capture = !0), !f && _) {
1651
1651
  if (k != null) continue;
1652
- e.removeEventListener(S, l[I], P), l[I] = null;
1652
+ e.removeEventListener(S, l[q], w), l[q] = null;
1653
1653
  }
1654
1654
  if (k != null)
1655
1655
  if (f)
1656
1656
  e[`__${S}`] = k, Sa([S]);
1657
1657
  else {
1658
- let q = function(B) {
1659
- l[y].call(this, B);
1658
+ let F = function(U) {
1659
+ l[y].call(this, U);
1660
1660
  };
1661
- l[I] = go(S, e, q, P);
1661
+ l[q] = go(S, e, F, w);
1662
1662
  }
1663
1663
  else f && (e[`__${S}`] = void 0);
1664
1664
  } else if (y === "style" && k != null)
@@ -1683,16 +1683,16 @@ function yo(e, r, t, a, n = !1, i = !1, s = !1) {
1683
1683
  var v = h === "defaultValue" || h === "defaultChecked";
1684
1684
  if (k == null && !i && !v)
1685
1685
  if (u[y] = null, h === "value" || h === "checked") {
1686
- let P = (
1686
+ let w = (
1687
1687
  /** @type {HTMLInputElement} */
1688
1688
  e
1689
1689
  );
1690
1690
  if (h === "value") {
1691
- let I = P.defaultValue;
1692
- P.removeAttribute(h), P.defaultValue = I;
1691
+ let q = w.defaultValue;
1692
+ w.removeAttribute(h), w.defaultValue = q;
1693
1693
  } else {
1694
- let I = P.defaultChecked;
1695
- P.removeAttribute(h), P.defaultChecked = I;
1694
+ let q = w.defaultChecked;
1695
+ w.removeAttribute(h), w.defaultChecked = q;
1696
1696
  }
1697
1697
  } else
1698
1698
  e.removeAttribute(y);
@@ -1792,7 +1792,7 @@ const Yc = (e) => e;
1792
1792
  function ss(e, r, t, a) {
1793
1793
  var n = (e & zl) !== 0, i = (e & Cl) !== 0, s = n && i, l = (e & Ml) !== 0, c = s ? "both" : n ? "in" : "out", d, p = r.inert, u, _;
1794
1794
  function m() {
1795
- var k = ve, P = ae;
1795
+ var k = ve, w = ae;
1796
1796
  br(null), ir(null);
1797
1797
  try {
1798
1798
  return d ?? (d = t()(r, (a == null ? void 0 : a()) ?? /** @type {P} */
@@ -1800,7 +1800,7 @@ function ss(e, r, t, a) {
1800
1800
  direction: c
1801
1801
  }));
1802
1802
  } finally {
1803
- br(k), ir(P);
1803
+ br(k), ir(w);
1804
1804
  }
1805
1805
  }
1806
1806
  var f = {
@@ -1885,27 +1885,27 @@ function Wn(e, r, t, a, n) {
1885
1885
  var y = a - v, k = (
1886
1886
  /** @type {number} */
1887
1887
  r.duration * Math.abs(y)
1888
- ), P = [];
1888
+ ), w = [];
1889
1889
  if (k > 0) {
1890
1890
  if (d)
1891
- for (var I = Math.ceil(k / 16.666666666666668), S = 0; S <= I; S += 1) {
1892
- var q = v + y * u(S / I), B = d(q, 1 - q);
1893
- P.push(ei(B));
1891
+ for (var q = Math.ceil(k / 16.666666666666668), S = 0; S <= q; S += 1) {
1892
+ var F = v + y * u(S / q), U = d(F, 1 - F);
1893
+ w.push(ei(U));
1894
1894
  }
1895
1895
  f = () => {
1896
- var w = (
1896
+ var P = (
1897
1897
  /** @type {number} */
1898
1898
  /** @type {globalThis.Animation} */
1899
1899
  h.currentTime
1900
1900
  );
1901
- return v + y * u(w / k);
1901
+ return v + y * u(P / k);
1902
1902
  }, p && Wc(() => {
1903
1903
  if (h.playState !== "running") return !1;
1904
- var w = f();
1905
- return p(w, 1 - w), !0;
1904
+ var P = f();
1905
+ return p(P, 1 - P), !0;
1906
1906
  });
1907
1907
  }
1908
- h = e.animate(P, { duration: k, fill: "forwards" }), h.onfinish = () => {
1908
+ h = e.animate(w, { duration: k, fill: "forwards" }), h.onfinish = () => {
1909
1909
  f = () => a, p == null || p(a, 1 - a), n();
1910
1910
  };
1911
1911
  }, {
@@ -2196,14 +2196,14 @@ function ai(e) {
2196
2196
  }
2197
2197
  }
2198
2198
  function W(e, r, t, a) {
2199
- var B;
2199
+ var U;
2200
2200
  var n = (t & Il) !== 0, i = !Wt || (t & ql) !== 0, s = (t & Fl) !== 0, l = (t & Al) !== 0, c = !1, d;
2201
2201
  s ? [d, c] = Zc(() => (
2202
2202
  /** @type {V} */
2203
2203
  e[r]
2204
2204
  )) : d = /** @type {V} */
2205
2205
  e[r];
2206
- var p = it in e || qi in e, u = ((B = ot(e, r)) == null ? void 0 : B.set) ?? (p && s && r in e ? (w) => e[r] = w : void 0), _ = (
2206
+ var p = it in e || qi in e, u = ((U = ot(e, r)) == null ? void 0 : U.set) ?? (p && s && r in e ? (P) => e[r] = P : void 0), _ = (
2207
2207
  /** @type {V} */
2208
2208
  a
2209
2209
  ), m = !0, f = !1, h = () => (f = !0, m && (m = !1, l ? _ = qr(
@@ -2215,11 +2215,11 @@ function W(e, r, t, a) {
2215
2215
  var v;
2216
2216
  if (i)
2217
2217
  v = () => {
2218
- var w = (
2218
+ var P = (
2219
2219
  /** @type {V} */
2220
2220
  e[r]
2221
2221
  );
2222
- return w === void 0 ? h() : (m = !0, f = !1, w);
2222
+ return P === void 0 ? h() : (m = !0, f = !1, P);
2223
2223
  };
2224
2224
  else {
2225
2225
  var y = ai(
@@ -2229,31 +2229,31 @@ function W(e, r, t, a) {
2229
2229
  ))
2230
2230
  );
2231
2231
  y.f |= Xl, v = () => {
2232
- var w = o(y);
2233
- return w !== void 0 && (_ = /** @type {V} */
2234
- void 0), w === void 0 ? _ : w;
2232
+ var P = o(y);
2233
+ return P !== void 0 && (_ = /** @type {V} */
2234
+ void 0), P === void 0 ? _ : P;
2235
2235
  };
2236
2236
  }
2237
2237
  if ((t & Dl) === 0)
2238
2238
  return v;
2239
2239
  if (u) {
2240
2240
  var k = e.$$legacy;
2241
- return function(w, T) {
2242
- return arguments.length > 0 ? ((!i || !T || k || c) && u(T ? v() : w), w) : v();
2241
+ return function(P, T) {
2242
+ return arguments.length > 0 ? ((!i || !T || k || c) && u(T ? v() : P), P) : v();
2243
2243
  };
2244
2244
  }
2245
- var P = !1, I = !1, S = /* @__PURE__ */ pn(d), q = ai(
2245
+ var w = !1, q = !1, S = /* @__PURE__ */ pn(d), F = ai(
2246
2246
  () => /* @__PURE__ */ g(() => {
2247
- var w = v(), T = o(S);
2248
- return P ? (P = !1, I = !0, T) : (I = !1, S.v = w);
2247
+ var P = v(), T = o(S);
2248
+ return w ? (w = !1, q = !0, T) : (q = !1, S.v = P);
2249
2249
  })
2250
2250
  );
2251
- return n || (q.equals = oo), function(w, T) {
2251
+ return n || (F.equals = oo), function(P, T) {
2252
2252
  if (arguments.length > 0) {
2253
- const D = T ? o(q) : i && s ? H(w) : w;
2254
- return q.equals(D) || (P = !0, z(S, D), f && _ !== void 0 && (_ = D), qr(() => o(q))), w;
2253
+ const I = T ? o(F) : i && s ? H(P) : P;
2254
+ return F.equals(I) || (w = !0, z(S, I), f && _ !== void 0 && (_ = I), qr(() => o(F))), P;
2255
2255
  }
2256
- return o(q);
2256
+ return o(F);
2257
2257
  };
2258
2258
  }
2259
2259
  function ni(e, r) {
@@ -6837,18 +6837,18 @@ function Gn(e, r) {
6837
6837
  }), p = Ar(), u = /* @__PURE__ */ g(p), { uiConfig: _ } = Ia();
6838
6838
  let m = /* @__PURE__ */ g(() => iu(o(u), o(d), _.app.fonts));
6839
6839
  const f = /* @__PURE__ */ g(() => su(o(u), o(d), o(d).size, o(d).background_color)), h = Ps(), { getLocalizedString: v } = mu(), y = /* @__PURE__ */ g(() => vu(v(o(d).text_lid), i())), k = /* @__PURE__ */ g(() => lu(o(y)));
6840
- var P = bu(), I = x(P);
6841
- cu(I, {
6840
+ var w = bu(), q = x(w);
6841
+ cu(q, {
6842
6842
  get style() {
6843
6843
  return o(m);
6844
6844
  },
6845
6845
  component: "span",
6846
- children: (S, q) => {
6847
- var B = de(), w = Z(B);
6848
- mt(w, () => o(k)), b(S, B);
6846
+ children: (S, F) => {
6847
+ var U = de(), P = Z(U);
6848
+ mt(P, () => o(k)), b(S, U);
6849
6849
  },
6850
6850
  $$slots: { default: !0 }
6851
- }), M(() => j(P, "style", o(f))), b(e, P), G();
6851
+ }), M(() => j(w, "style", o(f))), b(e, w), G();
6852
6852
  }
6853
6853
  function ku(e) {
6854
6854
  switch (e) {
@@ -6931,23 +6931,23 @@ function Fu(e, r) {
6931
6931
  const t = Ee(), a = () => he(i, "$selectedState", t), n = /* @__PURE__ */ pr(r, ["$$slots", "$$events", "$$legacy"]), i = wr(), s = /* @__PURE__ */ g(() => ({
6932
6932
  ...n,
6933
6933
  ...Pr(a(), r.overrides)
6934
- })), l = /* @__PURE__ */ g(() => o(s).pages), c = /* @__PURE__ */ g(() => o(s).padding), d = /* @__PURE__ */ g(() => o(s).margin), p = /* @__PURE__ */ g(() => o(s).background), u = /* @__PURE__ */ g(() => o(s).shape), _ = /* @__PURE__ */ g(() => o(s).border), m = /* @__PURE__ */ g(() => o(s).shadow), f = /* @__PURE__ */ g(() => o(s).page_alignment), h = /* @__PURE__ */ g(() => o(s).page_spacing), v = /* @__PURE__ */ g(() => o(s).page_peek), y = /* @__PURE__ */ g(() => o(s).page_control), k = /* @__PURE__ */ g(() => o(s).initial_page_index), P = /* @__PURE__ */ g(() => o(s).loop), I = /* @__PURE__ */ g(() => o(s).auto_advance), S = Ar(), q = /* @__PURE__ */ g(S), B = /* @__PURE__ */ g(() => {
6934
+ })), l = /* @__PURE__ */ g(() => o(s).pages), c = /* @__PURE__ */ g(() => o(s).padding), d = /* @__PURE__ */ g(() => o(s).margin), p = /* @__PURE__ */ g(() => o(s).background), u = /* @__PURE__ */ g(() => o(s).shape), _ = /* @__PURE__ */ g(() => o(s).border), m = /* @__PURE__ */ g(() => o(s).shadow), f = /* @__PURE__ */ g(() => o(s).page_alignment), h = /* @__PURE__ */ g(() => o(s).page_spacing), v = /* @__PURE__ */ g(() => o(s).page_peek), y = /* @__PURE__ */ g(() => o(s).page_control), k = /* @__PURE__ */ g(() => o(s).initial_page_index), w = /* @__PURE__ */ g(() => o(s).loop), q = /* @__PURE__ */ g(() => o(s).auto_advance), S = Ar(), F = /* @__PURE__ */ g(S), U = /* @__PURE__ */ g(() => {
6935
6935
  var K;
6936
6936
  return qe({
6937
6937
  margin: Ge(o(d)),
6938
6938
  padding: Ge(o(c)),
6939
- ...It(o(q), null, o(p)),
6940
- border: Rt(o(q), o(_)),
6939
+ ...It(o(F), null, o(p)),
6940
+ border: Rt(o(F), o(_)),
6941
6941
  "border-radius": qa(o(u)),
6942
- "box-shadow": Da(o(q), o(m)),
6943
- "transition-duration": `${((K = o(I)) == null ? void 0 : K.ms_transition_time) ?? 0}ms`
6942
+ "box-shadow": Da(o(F), o(m)),
6943
+ "transition-duration": `${((K = o(q)) == null ? void 0 : K.ms_transition_time) ?? 0}ms`
6944
6944
  });
6945
- }), w = /* @__PURE__ */ g(() => qe({
6945
+ }), P = /* @__PURE__ */ g(() => qe({
6946
6946
  gap: Je(o(h)),
6947
6947
  padding: `0 ${o(v) + o(h)}px`,
6948
6948
  "align-items": ku(o(f))
6949
6949
  })), T = /* @__PURE__ */ g(() => {
6950
- if (!o(P))
6950
+ if (!o(w))
6951
6951
  return [];
6952
6952
  const K = o(l).length - 1;
6953
6953
  switch (o(l).length) {
@@ -6960,8 +6960,8 @@ function Fu(e, r) {
6960
6960
  default:
6961
6961
  return [K - 1, K];
6962
6962
  }
6963
- }), D = /* @__PURE__ */ g(() => {
6964
- if (!o(P))
6963
+ }), I = /* @__PURE__ */ g(() => {
6964
+ if (!o(w))
6965
6965
  return [];
6966
6966
  switch (o(l).length) {
6967
6967
  case 0:
@@ -6972,18 +6972,18 @@ function Fu(e, r) {
6972
6972
  return [0, 1];
6973
6973
  }
6974
6974
  });
6975
- let E = null, F = J(0), U = J(0), N = /* @__PURE__ */ g(() => 2 * o(v) + o(h)), V = /* @__PURE__ */ g(() => o(U) - o(N));
6975
+ let E = null, D = J(0), B = J(0), N = /* @__PURE__ */ g(() => 2 * o(v) + o(h)), V = /* @__PURE__ */ g(() => o(B) - o(N));
6976
6976
  function X(K = !0, be) {
6977
6977
  var Ce, Xr;
6978
6978
  if (E === null)
6979
6979
  return;
6980
- const Ne = K ? ((Ce = o(I)) == null ? void 0 : Ce.ms_time_per_page) ?? 0 : 0;
6981
- be ?? (be = ((Xr = o(I)) == null ? void 0 : Xr.ms_transition_time) ?? 0), E.style.transition = `transform ${be}ms ease-in-out ${Ne}ms`;
6980
+ const Ne = K ? ((Ce = o(q)) == null ? void 0 : Ce.ms_time_per_page) ?? 0 : 0;
6981
+ be ?? (be = ((Xr = o(q)) == null ? void 0 : Xr.ms_transition_time) ?? 0), E.style.transition = `transform ${be}ms ease-in-out ${Ne}ms`;
6982
6982
  }
6983
6983
  function te() {
6984
6984
  E !== null && (E.style.transition = "none");
6985
6985
  }
6986
- const ne = /* @__PURE__ */ g(() => o(P) ? 2 : 0);
6986
+ const ne = /* @__PURE__ */ g(() => o(w) ? 2 : 0);
6987
6987
  function me(K) {
6988
6988
  E !== null && (E.style.transform = `translateX(${K}px)`);
6989
6989
  }
@@ -6998,20 +6998,20 @@ function Fu(e, r) {
6998
6998
  K %= o(l).length + o(ne), X(!0), le(K);
6999
6999
  }
7000
7000
  function Te() {
7001
- o(I) != null && requestAnimationFrame(() => {
7002
- Le(o(F) + 1);
7001
+ o(q) != null && requestAnimationFrame(() => {
7002
+ Le(o(D) + 1);
7003
7003
  });
7004
7004
  }
7005
7005
  Qe(() => {
7006
7006
  const K = o(l).at(o(k)) !== void 0 ? o(k) : 0;
7007
- z(F, H(K)), te(), le(o(F)), Te();
7007
+ z(D, H(K)), te(), le(o(D)), Te();
7008
7008
  });
7009
7009
  function ie(K) {
7010
7010
  return Math.round(K / -o(V)) - o(ne);
7011
7011
  }
7012
7012
  function fe() {
7013
7013
  const K = Ma(E), be = ie(K);
7014
- z(F, (be + o(l).length) % o(l).length), te(), le(o(F)), requestAnimationFrame(() => {
7014
+ z(D, (be + o(l).length) % o(l).length), te(), le(o(D)), requestAnimationFrame(() => {
7015
7015
  Te();
7016
7016
  });
7017
7017
  }
@@ -7027,20 +7027,20 @@ function Fu(e, r) {
7027
7027
  function Be(K) {
7028
7028
  if (!K.currentTarget.hasPointerCapture(K.pointerId))
7029
7029
  return;
7030
- const [Ne, Ce] = o(P) ? [
7031
- o(Se) - o(U),
7032
- o(Se) + o(U)
7030
+ const [Ne, Ce] = o(w) ? [
7031
+ o(Se) - o(B),
7032
+ o(Se) + o(B)
7033
7033
  ] : [
7034
7034
  -(o(l).length - 1) * o(V),
7035
7035
  0
7036
7036
  ], Xr = Ma(E), qt = wu(Xr + K.movementX, Ne, Ce), Gt = ie(qt);
7037
- z(F, (Gt + o(l).length) % o(l).length), me(qt), te();
7037
+ z(D, (Gt + o(l).length) % o(l).length), me(qt), te();
7038
7038
  }
7039
7039
  var We = qu(), ze = x(We);
7040
7040
  ze.__pointerdown = Ae, ze.__pointerup = je, ze.__pointermove = Be;
7041
7041
  var rr = x(ze);
7042
7042
  Gr(rr, 17, () => o(T), Zr, (K, be) => {
7043
- var Ne = /* @__PURE__ */ g(() => o(F) === o(be));
7043
+ var Ne = /* @__PURE__ */ g(() => o(D) === o(be));
7044
7044
  Tn(K, {
7045
7045
  get page() {
7046
7046
  return o(l)[o(be)];
@@ -7059,7 +7059,7 @@ function Fu(e, r) {
7059
7059
  });
7060
7060
  var gr = C(rr, 2);
7061
7061
  Gr(gr, 17, () => o(l), Zr, (K, be, Ne) => {
7062
- var Ce = /* @__PURE__ */ g(() => o(F) === Ne);
7062
+ var Ce = /* @__PURE__ */ g(() => o(D) === Ne);
7063
7063
  Tn(K, {
7064
7064
  get page() {
7065
7065
  return o(be);
@@ -7074,8 +7074,8 @@ function Fu(e, r) {
7074
7074
  });
7075
7075
  });
7076
7076
  var mr = C(gr, 2);
7077
- Gr(mr, 17, () => o(D), Zr, (K, be) => {
7078
- var Ne = /* @__PURE__ */ g(() => o(F) === o(be));
7077
+ Gr(mr, 17, () => o(I), Zr, (K, be) => {
7078
+ var Ne = /* @__PURE__ */ g(() => o(D) === o(be));
7079
7079
  Tn(K, {
7080
7080
  get page() {
7081
7081
  return o(l)[o(be)];
@@ -7100,7 +7100,7 @@ function Fu(e, r) {
7100
7100
  return o(l).length;
7101
7101
  },
7102
7102
  get selected() {
7103
- return o(F);
7103
+ return o(D);
7104
7104
  }
7105
7105
  }));
7106
7106
  };
@@ -7109,8 +7109,8 @@ function Fu(e, r) {
7109
7109
  });
7110
7110
  }
7111
7111
  M(() => {
7112
- j(We, "style", o(B)), j(ze, "style", o(w));
7113
- }), Tr("transitionend", ze, fe), vo(ze, "clientWidth", (K) => z(U, K)), b(e, We), G();
7112
+ j(We, "style", o(U)), j(ze, "style", o(P));
7113
+ }), Tr("transitionend", ze, fe), vo(ze, "clientWidth", (K) => z(B, K)), b(e, We), G();
7114
7114
  }
7115
7115
  Sa(["pointerdown", "pointerup", "pointermove"]);
7116
7116
  var Au = /* @__PURE__ */ A("<div><div></div></div>");
@@ -7120,16 +7120,16 @@ function Ts(e, r) {
7120
7120
  ...n,
7121
7121
  ...Pr(a(), r.overrides)
7122
7122
  })), l = /* @__PURE__ */ g(() => o(s).base_url), c = /* @__PURE__ */ g(() => o(s).formats), d = /* @__PURE__ */ g(() => o(s).size), p = /* @__PURE__ */ g(() => o(s).margin), u = /* @__PURE__ */ g(() => o(s).padding), _ = /* @__PURE__ */ g(() => o(s).color), m = /* @__PURE__ */ g(() => o(s).icon_background), f = Ar(), h = /* @__PURE__ */ g(f), v = /* @__PURE__ */ g(() => {
7123
- var S, q, B, w;
7123
+ var S, F, U, P;
7124
7124
  return qe({
7125
7125
  width: er(o(d).width),
7126
7126
  height: er(o(d).height),
7127
7127
  margin: Ge(o(p)),
7128
7128
  padding: Ge(o(u)),
7129
7129
  "background-color": Xe(o(h), (S = o(m)) == null ? void 0 : S.color),
7130
- border: Rt(o(h), (q = o(m)) == null ? void 0 : q.border),
7131
- "border-radius": qa((B = o(m)) == null ? void 0 : B.shape),
7132
- "box-shadow": Da(o(h), (w = o(m)) == null ? void 0 : w.shadow),
7130
+ border: Rt(o(h), (F = o(m)) == null ? void 0 : F.border),
7131
+ "border-radius": qa((U = o(m)) == null ? void 0 : U.shape),
7132
+ "box-shadow": Da(o(h), (P = o(m)) == null ? void 0 : P.shadow),
7133
7133
  flex: "0 0 auto"
7134
7134
  });
7135
7135
  }), y = /* @__PURE__ */ g(() => `${o(l)}/${o(c).webp}`), k = /* @__PURE__ */ g(() => qe({
@@ -7148,10 +7148,10 @@ function Ts(e, r) {
7148
7148
  "mask-repeat": "no-repeat",
7149
7149
  "webkit-mask-repeat": "no-repeat"
7150
7150
  }));
7151
- var P = Au(), I = x(P);
7151
+ var w = Au(), q = x(w);
7152
7152
  M(() => {
7153
- j(P, "style", o(v)), j(I, "style", o(k));
7154
- }), b(e, P), G();
7153
+ j(w, "style", o(v)), j(q, "style", o(k));
7154
+ }), b(e, w), G();
7155
7155
  }
7156
7156
  const Is = Symbol("selected");
7157
7157
  function zu(e) {
@@ -7200,49 +7200,49 @@ function Lu(e, r) {
7200
7200
  })), k = () => {
7201
7201
  m("", n() ? 0 : 1);
7202
7202
  };
7203
- var P = Nu();
7204
- P.__click = k, P.__keydown = [ju, k];
7205
- var I = x(P);
7203
+ var w = Nu();
7204
+ w.__click = k, w.__keydown = [ju, k];
7205
+ var q = x(w);
7206
7206
  M(() => {
7207
- j(P, "style", o(v)), j(I, "style", o(y));
7208
- }), b(e, P), G();
7207
+ j(w, "style", o(v)), j(q, "style", o(y));
7208
+ }), b(e, w), G();
7209
7209
  }
7210
7210
  Sa(["click", "keydown"]);
7211
7211
  var Bu = /* @__PURE__ */ A("<div><!></div>");
7212
7212
  function Uu(e, r) {
7213
7213
  $(r, !0);
7214
- const t = Ee(), a = () => he(d, "$selectedState", t), n = () => he(q, "$tab", t), i = /* @__PURE__ */ pr(r, ["$$slots", "$$events", "$$legacy"]), { control: s, tabs: l, default_tab_id: c } = i, d = wr(), p = /* @__PURE__ */ g(() => ({
7214
+ const t = Ee(), a = () => he(d, "$selectedState", t), n = () => he(F, "$tab", t), i = /* @__PURE__ */ pr(r, ["$$slots", "$$events", "$$legacy"]), { control: s, tabs: l, default_tab_id: c } = i, d = wr(), p = /* @__PURE__ */ g(() => ({
7215
7215
  ...i,
7216
7216
  ...Pr(a(), r.overrides)
7217
- })), u = /* @__PURE__ */ g(() => o(p).size), _ = /* @__PURE__ */ g(() => o(p).padding), m = /* @__PURE__ */ g(() => o(p).margin), f = /* @__PURE__ */ g(() => o(p).background), h = /* @__PURE__ */ g(() => o(p).shape), v = /* @__PURE__ */ g(() => o(p).border), y = /* @__PURE__ */ g(() => o(p).shadow), k = Ar(), P = /* @__PURE__ */ g(k), I = /* @__PURE__ */ g(() => qe({
7217
+ })), u = /* @__PURE__ */ g(() => o(p).size), _ = /* @__PURE__ */ g(() => o(p).padding), m = /* @__PURE__ */ g(() => o(p).margin), f = /* @__PURE__ */ g(() => o(p).background), h = /* @__PURE__ */ g(() => o(p).shape), v = /* @__PURE__ */ g(() => o(p).border), y = /* @__PURE__ */ g(() => o(p).shadow), k = Ar(), w = /* @__PURE__ */ g(k), q = /* @__PURE__ */ g(() => qe({
7218
7218
  width: er(o(u).width),
7219
7219
  height: er(o(u).height),
7220
7220
  margin: Ge(o(m)),
7221
7221
  padding: Ge(o(_)),
7222
- ...It(o(P), null, o(f)),
7223
- border: Rt(o(P), o(v)),
7222
+ ...It(o(w), null, o(f)),
7223
+ border: Rt(o(w), o(v)),
7224
7224
  "border-radius": qa(o(h)),
7225
- "box-shadow": Da(o(P), o(y))
7226
- })), S = hn(Math.max(0, l.findIndex((E) => E.id === c))), q = Jr(S, (E) => l[E]), B = (E, F) => {
7227
- const U = l.findIndex((V) => V.id === E), N = U !== -1 ? U : F;
7228
- N >= 0 && N < l.length && S.set(F);
7225
+ "box-shadow": Da(o(w), o(y))
7226
+ })), S = hn(Math.max(0, l.findIndex((E) => E.id === c))), F = Jr(S, (E) => l[E]), U = (E, D) => {
7227
+ const B = l.findIndex((V) => V.id === E), N = B !== -1 ? B : D;
7228
+ N >= 0 && N < l.length && S.set(D);
7229
7229
  };
7230
7230
  zu({
7231
7231
  control: ca(s),
7232
- selectedTabId: Jr(q, (E) => E.id),
7233
- selectTab: B,
7232
+ selectedTabId: Jr(F, (E) => E.id),
7233
+ selectTab: U,
7234
7234
  isActive: Jr(S, (E) => E === 1)
7235
7235
  });
7236
- var w = Bu(), T = x(w);
7236
+ var P = Bu(), T = x(P);
7237
7237
  {
7238
- var D = (E) => {
7238
+ var I = (E) => {
7239
7239
  zr(E, Ye(() => n().stack));
7240
7240
  };
7241
7241
  L(T, (E) => {
7242
- n() !== void 0 && E(D);
7242
+ n() !== void 0 && E(I);
7243
7243
  });
7244
7244
  }
7245
- M(() => j(w, "style", o(I))), b(e, w), G();
7245
+ M(() => j(P, "style", o(q))), b(e, P), G();
7246
7246
  }
7247
7247
  function In(e, r) {
7248
7248
  $(r, !0);
@@ -7365,7 +7365,7 @@ function zr(e, r) {
7365
7365
  const t = Ee(), a = () => he(c, "$selectedState", t), n = /* @__PURE__ */ pr(r, ["$$slots", "$$events", "$$legacy"]), { onclick: i, children: s, style: l } = n, c = wr(), d = /* @__PURE__ */ g(() => ({
7366
7366
  ...n,
7367
7367
  ...Pr(a(), r.overrides)
7368
- })), p = /* @__PURE__ */ g(() => o(d).components), u = /* @__PURE__ */ g(() => o(d).size), _ = /* @__PURE__ */ g(() => o(d).dimension), m = /* @__PURE__ */ g(() => o(d).spacing), f = /* @__PURE__ */ g(() => o(d).margin), h = /* @__PURE__ */ g(() => o(d).padding), v = /* @__PURE__ */ g(() => o(d).background_color), y = /* @__PURE__ */ g(() => o(d).background), k = /* @__PURE__ */ g(() => o(d).border), P = /* @__PURE__ */ g(() => o(d).shape), I = /* @__PURE__ */ g(() => o(d).shadow), S = /* @__PURE__ */ g(() => o(d).badge), q = Ar(), B = /* @__PURE__ */ g(q), w = /* @__PURE__ */ g(() => qe({
7368
+ })), p = /* @__PURE__ */ g(() => o(d).components), u = /* @__PURE__ */ g(() => o(d).size), _ = /* @__PURE__ */ g(() => o(d).dimension), m = /* @__PURE__ */ g(() => o(d).spacing), f = /* @__PURE__ */ g(() => o(d).margin), h = /* @__PURE__ */ g(() => o(d).padding), v = /* @__PURE__ */ g(() => o(d).background_color), y = /* @__PURE__ */ g(() => o(d).background), k = /* @__PURE__ */ g(() => o(d).border), w = /* @__PURE__ */ g(() => o(d).shape), q = /* @__PURE__ */ g(() => o(d).shadow), S = /* @__PURE__ */ g(() => o(d).badge), F = Ar(), U = /* @__PURE__ */ g(F), P = /* @__PURE__ */ g(() => qe({
7369
7369
  ...l,
7370
7370
  display: "flex",
7371
7371
  position: "relative",
@@ -7375,12 +7375,12 @@ function zr(e, r) {
7375
7375
  gap: Je(o(m)),
7376
7376
  margin: Ge(o(f)),
7377
7377
  padding: Ge(o(h)),
7378
- ...It(o(B), o(v), o(y)),
7379
- border: Rt(o(B), o(k)),
7380
- "border-radius": qa(o(P)),
7381
- "box-shadow": Da(o(B), o(I))
7382
- })), T = (U) => {
7383
- if (U === 0 || o(_).type !== "zlayer")
7378
+ ...It(o(U), o(v), o(y)),
7379
+ border: Rt(o(U), o(k)),
7380
+ "border-radius": qa(o(w)),
7381
+ "box-shadow": Da(o(U), o(q))
7382
+ })), T = (B) => {
7383
+ if (B === 0 || o(_).type !== "zlayer")
7384
7384
  return "";
7385
7385
  const { justifyContent: N, alignItems: V } = Yu(o(_).alignment);
7386
7386
  return qe({
@@ -7389,27 +7389,27 @@ function zr(e, r) {
7389
7389
  display: "flex",
7390
7390
  "justify-content": N,
7391
7391
  "align-items": V,
7392
- "z-index": U + 1
7392
+ "z-index": B + 1
7393
7393
  });
7394
- }, D = /* @__PURE__ */ g(() => {
7395
- var U;
7396
- return qe($u(o(S), (U = o(k)) == null ? void 0 : U.width));
7394
+ }, I = /* @__PURE__ */ g(() => {
7395
+ var B;
7396
+ return qe($u(o(S), (B = o(k)) == null ? void 0 : B.width));
7397
7397
  });
7398
- var E = de(), F = Z(E);
7399
- fo(F, () => i !== void 0 ? "button" : "div", !1, (U, N) => {
7398
+ var E = de(), D = Z(E);
7399
+ fo(D, () => i !== void 0 ? "button" : "div", !1, (B, N) => {
7400
7400
  let V;
7401
7401
  M(() => V = yo(
7402
- U,
7402
+ B,
7403
7403
  V,
7404
7404
  {
7405
7405
  role: i !== void 0 ? "button" : void 0,
7406
7406
  onclick: i,
7407
- style: o(w),
7407
+ style: o(P),
7408
7408
  class: "stack"
7409
7409
  },
7410
7410
  "svelte-1w7f9mp",
7411
- U.namespaceURI === cn,
7412
- U.nodeName.includes("-")
7411
+ B.namespaceURI === cn,
7412
+ B.nodeName.includes("-")
7413
7413
  ));
7414
7414
  var X = Zu(), te = Z(X);
7415
7415
  {
@@ -7419,7 +7419,7 @@ function zr(e, r) {
7419
7419
  get nodeData() {
7420
7420
  return o(S).stack;
7421
7421
  }
7422
- }), M(() => j(fe, "style", o(D))), b(ie, fe);
7422
+ }), M(() => j(fe, "style", o(I))), b(ie, fe);
7423
7423
  };
7424
7424
  L(te, (ie) => {
7425
7425
  o(S) && ie(ne);
@@ -7595,18 +7595,18 @@ function hp(e, r) {
7595
7595
  const t = Ee(), a = () => he(i, "$selectedState", t), n = /* @__PURE__ */ pr(r, ["$$slots", "$$events", "$$legacy"]), i = wr(), s = /* @__PURE__ */ g(() => ({
7596
7596
  ...n,
7597
7597
  ...Pr(a(), r.overrides)
7598
- })), l = /* @__PURE__ */ g(() => o(s).id), c = /* @__PURE__ */ g(() => o(s).source), d = /* @__PURE__ */ g(() => o(s).size), p = /* @__PURE__ */ g(() => o(s).mask_shape), u = /* @__PURE__ */ g(() => o(s).fit_mode), _ = /* @__PURE__ */ g(() => o(s).padding), m = /* @__PURE__ */ g(() => o(s).margin), f = /* @__PURE__ */ g(() => o(s).color_overlay), h = /* @__PURE__ */ g(() => o(s).border), v = /* @__PURE__ */ g(() => o(s).shadow), y = Ar(), k = /* @__PURE__ */ g(y), P = /* @__PURE__ */ g(() => Qr(o(k), o(c)));
7599
- let I = J(0), S = J(H({ height: 0, width: 0 }));
7598
+ })), l = /* @__PURE__ */ g(() => o(s).id), c = /* @__PURE__ */ g(() => o(s).source), d = /* @__PURE__ */ g(() => o(s).size), p = /* @__PURE__ */ g(() => o(s).mask_shape), u = /* @__PURE__ */ g(() => o(s).fit_mode), _ = /* @__PURE__ */ g(() => o(s).padding), m = /* @__PURE__ */ g(() => o(s).margin), f = /* @__PURE__ */ g(() => o(s).color_overlay), h = /* @__PURE__ */ g(() => o(s).border), v = /* @__PURE__ */ g(() => o(s).shadow), y = Ar(), k = /* @__PURE__ */ g(y), w = /* @__PURE__ */ g(() => Qr(o(k), o(c)));
7599
+ let q = J(0), S = J(H({ height: 0, width: 0 }));
7600
7600
  ut(() => {
7601
- if (o(P).width || o(P).height) {
7601
+ if (o(w).width || o(w).height) {
7602
7602
  z(S, H({
7603
- height: o(P).height,
7604
- width: o(P).width
7603
+ height: o(w).height,
7604
+ width: o(w).width
7605
7605
  }));
7606
7606
  return;
7607
7607
  }
7608
7608
  const ue = new window.Image();
7609
- ue.src = o(P).original;
7609
+ ue.src = o(w).original;
7610
7610
  const we = () => {
7611
7611
  z(S, H({ height: ue.height, width: ue.width }));
7612
7612
  };
@@ -7614,22 +7614,22 @@ function hp(e, r) {
7614
7614
  ue.removeEventListener("load", we);
7615
7615
  };
7616
7616
  });
7617
- const q = /* @__PURE__ */ g(() => o(d).height.type === "fixed" ? o(d).height.value : Math.round(o(I) * (o(S).height / o(S).width))), B = /* @__PURE__ */ g(() => qe({
7617
+ const F = /* @__PURE__ */ g(() => o(d).height.type === "fixed" ? o(d).height.value : Math.round(o(q) * (o(S).height / o(S).width))), U = /* @__PURE__ */ g(() => qe({
7618
7618
  width: er(o(d).width),
7619
- height: `${o(q)}px`,
7619
+ height: `${o(F)}px`,
7620
7620
  margin: Ge(o(m)),
7621
7621
  padding: Ge(o(_)),
7622
7622
  "line-height": 0,
7623
7623
  "flex-shrink": o(d).width.type === "fixed" ? 0 : 1
7624
7624
  }));
7625
- let w = J(null);
7625
+ let P = J(null);
7626
7626
  const T = /* @__PURE__ */ g(() => {
7627
7627
  var ue, we;
7628
7628
  return [
7629
- ((ue = o(w)) == null ? void 0 : ue.width) ?? 0,
7630
- ((we = o(w)) == null ? void 0 : we.height) ?? 0
7629
+ ((ue = o(P)) == null ? void 0 : ue.width) ?? 0,
7630
+ ((we = o(P)) == null ? void 0 : we.height) ?? 0
7631
7631
  ];
7632
- }), D = /* @__PURE__ */ g(() => o(T)[0]), E = /* @__PURE__ */ g(() => o(T)[1]), F = /* @__PURE__ */ g(() => `0 0 ${o(D)} ${o(E)}`), U = /* @__PURE__ */ g(() => {
7632
+ }), I = /* @__PURE__ */ g(() => o(T)[0]), E = /* @__PURE__ */ g(() => o(T)[1]), D = /* @__PURE__ */ g(() => `0 0 ${o(I)} ${o(E)}`), B = /* @__PURE__ */ g(() => {
7633
7633
  var Ce;
7634
7634
  if (!((Ce = o(v)) != null && Ce.color))
7635
7635
  return "";
@@ -7642,7 +7642,7 @@ function hp(e, r) {
7642
7642
  return o(p);
7643
7643
  },
7644
7644
  get width() {
7645
- return o(D);
7645
+ return o(I);
7646
7646
  },
7647
7647
  get height() {
7648
7648
  return o(E);
@@ -7654,7 +7654,7 @@ function hp(e, r) {
7654
7654
  return o(p);
7655
7655
  },
7656
7656
  get width() {
7657
- return o(D);
7657
+ return o(I);
7658
7658
  },
7659
7659
  get height() {
7660
7660
  return o(E);
@@ -7704,8 +7704,8 @@ function hp(e, r) {
7704
7704
  });
7705
7705
  }
7706
7706
  M(() => {
7707
- j(V, "style", o(B)), j(X, "viewBox", o(F)), j(X, "style", o(U)), j(ne, "id", `${o(l)}-path`), j(le, "id", `${o(l)}-border`), j(Ae, "clip-path", `url(#${o(l)}-path)`), j(Be, "src", o(P).original), j(Be, "style", o(We));
7708
- }), cs(X, "contentRect", (ue) => z(w, ue)), vo(V, "clientWidth", (ue) => z(I, ue)), b(e, V), G();
7707
+ j(V, "style", o(U)), j(X, "viewBox", o(D)), j(X, "style", o(B)), j(ne, "id", `${o(l)}-path`), j(le, "id", `${o(l)}-border`), j(Ae, "clip-path", `url(#${o(l)}-path)`), j(Be, "src", o(w).original), j(Be, "style", o(We));
7708
+ }), cs(X, "contentRect", (ue) => z(P, ue)), vo(V, "clientWidth", (ue) => z(q, ue)), b(e, V), G();
7709
7709
  }
7710
7710
  function yp(e, r) {
7711
7711
  $(r, !0);
@@ -7757,20 +7757,20 @@ function Pp(e, r) {
7757
7757
  });
7758
7758
  const k = () => {
7759
7759
  z(y, !1);
7760
- }, P = () => {
7760
+ }, w = () => {
7761
7761
  o(y) || h({
7762
7762
  type: "navigate_to",
7763
7763
  destination: "sheet",
7764
7764
  sheet: null
7765
7765
  });
7766
7766
  };
7767
- let I = /* @__PURE__ */ g(() => `sheet ${o(y) ? "visible" : ""}`);
7767
+ let q = /* @__PURE__ */ g(() => `sheet ${o(y) ? "visible" : ""}`);
7768
7768
  var S = kp();
7769
7769
  S.__click = [vp, k], S.__keydown = [bp, k];
7770
- var q = x(S), B = x(q);
7771
- zr(B, Ye(i)), mn(q, (w) => v = w, () => v), M(() => {
7772
- j(S, "style", o(m)), et(q, ho(o(I)), "svelte-7fmzq9"), j(q, "style", o(f));
7773
- }), Tr("transitionend", q, P), b(e, S), G();
7770
+ var F = x(S), U = x(F);
7771
+ zr(U, Ye(i)), mn(F, (P) => v = P, () => v), M(() => {
7772
+ j(S, "style", o(m)), et(F, ho(o(q)), "svelte-7fmzq9"), j(F, "style", o(f));
7773
+ }), Tr("transitionend", F, w), b(e, S), G();
7774
7774
  }
7775
7775
  Sa(["click", "keydown"]);
7776
7776
  var xp = /* @__PURE__ */ A("<div><!> <!></div> <!>", 1);
@@ -7810,22 +7810,22 @@ function Sp(e, r) {
7810
7810
  selectedLocale: r.selectedLocale,
7811
7811
  localizations: p
7812
7812
  })), m = hn(Yd(u)), f = () => {
7813
- var D;
7813
+ var I;
7814
7814
  const T = a();
7815
- T !== void 0 && ((D = r.onPurchaseClicked) == null || D.call(r, T));
7815
+ T !== void 0 && ((I = r.onPurchaseClicked) == null || I.call(r, T));
7816
7816
  };
7817
7817
  let h = J(void 0);
7818
- const v = (T, D) => {
7819
- var E, F, U, N, V;
7818
+ const v = (T, I) => {
7819
+ var E, D, B, N, V;
7820
7820
  switch (T.type) {
7821
7821
  case "workflow":
7822
- D && ((E = r.onActionTriggered) == null || E.call(r, D));
7822
+ I && ((E = r.onActionTriggered) == null || E.call(r, I));
7823
7823
  return;
7824
7824
  case "navigate_back":
7825
- (F = r.onBackClicked) == null || F.call(r);
7825
+ (D = r.onBackClicked) == null || D.call(r);
7826
7826
  return;
7827
7827
  case "restore_purchases":
7828
- (U = r.onRestorePurchasesClicked) == null || U.call(r);
7828
+ (B = r.onRestorePurchasesClicked) == null || B.call(r);
7829
7829
  return;
7830
7830
  }
7831
7831
  switch (T.destination) {
@@ -7858,31 +7858,31 @@ function Sp(e, r) {
7858
7858
  ws(y);
7859
7859
  const k = Jr(m, (T) => i()[T || ""]);
7860
7860
  Es(k);
7861
- const P = /* @__PURE__ */ g(() => qe({
7861
+ const w = /* @__PURE__ */ g(() => qe({
7862
7862
  ...It(o(l), null, u.background)
7863
7863
  }));
7864
7864
  Qe(() => {
7865
7865
  au(r.uiConfig);
7866
7866
  });
7867
- const I = /* @__PURE__ */ g(() => o(h) ? "paywall blur" : "paywall"), { stack: S, sticky_footer: q } = u;
7868
- var B = de(), w = Z(B);
7867
+ const q = /* @__PURE__ */ g(() => o(h) ? "paywall blur" : "paywall"), { stack: S, sticky_footer: F } = u;
7868
+ var U = de(), P = Z(U);
7869
7869
  ed(
7870
- w,
7870
+ P,
7871
7871
  {
7872
7872
  get onerror() {
7873
7873
  return r.onError;
7874
7874
  }
7875
7875
  },
7876
7876
  (T) => {
7877
- var D = xp(), E = Z(D), F = x(E);
7878
- zr(F, Ye(S));
7879
- var U = C(F, 2);
7877
+ var I = xp(), E = Z(I), D = x(E);
7878
+ zr(D, Ye(S));
7879
+ var B = C(D, 2);
7880
7880
  {
7881
7881
  var N = (te) => {
7882
- qs(te, Ye(q));
7882
+ qs(te, Ye(F));
7883
7883
  };
7884
- L(U, (te) => {
7885
- q && te(N);
7884
+ L(B, (te) => {
7885
+ F && te(N);
7886
7886
  });
7887
7887
  }
7888
7888
  var V = C(E, 2);
@@ -7895,10 +7895,10 @@ function Sp(e, r) {
7895
7895
  });
7896
7896
  }
7897
7897
  M(() => {
7898
- et(E, ho(o(I)), "svelte-17eo260"), j(E, "style", o(P));
7899
- }), b(T, D);
7898
+ et(E, ho(o(q)), "svelte-17eo260"), j(E, "style", o(w));
7899
+ }), b(T, I);
7900
7900
  }
7901
- ), b(e, B), G();
7901
+ ), b(e, U), G();
7902
7902
  }
7903
7903
  function Tp(e, r) {
7904
7904
  $(r, !0);
@@ -7953,41 +7953,41 @@ function Ap(e, r) {
7953
7953
  "padding-top": `${o(p).margin.top}px`,
7954
7954
  "padding-bottom": `${o(p).margin.bottom}px`
7955
7955
  }) : "";
7956
- }), P = /* @__PURE__ */ g(() => {
7956
+ }), w = /* @__PURE__ */ g(() => {
7957
7957
  if (!o(p)) return "";
7958
7958
  const N = Xe(o(f), o(p).color);
7959
7959
  return qe({ width: "100%", height: "100%", background: N });
7960
7960
  });
7961
- var I = Fp(), S = Z(I);
7961
+ var q = Fp(), S = Z(q);
7962
7962
  j(S, "style", h);
7963
- var q = x(S);
7963
+ var F = x(S);
7964
7964
  {
7965
- var B = (N) => {
7965
+ var U = (N) => {
7966
7966
  var V = Dp(), X = x(V);
7967
7967
  M(() => {
7968
- j(V, "style", o(k)), j(X, "style", o(P));
7968
+ j(V, "style", o(k)), j(X, "style", o(w));
7969
7969
  }), b(N, V);
7970
7970
  };
7971
- L(q, (N) => {
7972
- o(p) && N(B);
7971
+ L(F, (N) => {
7972
+ o(p) && N(U);
7973
7973
  });
7974
7974
  }
7975
- var w = C(q, 2);
7976
- j(w, "style", v);
7977
- var T = x(w);
7975
+ var P = C(F, 2);
7976
+ j(P, "style", v);
7977
+ var T = x(P);
7978
7978
  Ts(T, Ye(() => o(l)));
7979
- var D = C(S, 2), E = x(D);
7979
+ var I = C(S, 2), E = x(I);
7980
7980
  Gn(E, Ye(() => o(c)));
7981
- var F = C(E, 2);
7981
+ var D = C(E, 2);
7982
7982
  {
7983
- var U = (N) => {
7983
+ var B = (N) => {
7984
7984
  Gn(N, Ye(() => o(d)));
7985
7985
  };
7986
- L(F, (N) => {
7987
- o(d) && N(U);
7986
+ L(D, (N) => {
7987
+ o(d) && N(B);
7988
7988
  });
7989
7989
  }
7990
- M(() => j(D, "style", o(y))), b(e, I), G();
7990
+ M(() => j(I, "style", o(y))), b(e, q), G();
7991
7991
  }
7992
7992
  var zp = /* @__PURE__ */ A("<div></div>");
7993
7993
  function Cp(e, r) {
@@ -8017,10 +8017,10 @@ function Cp(e, r) {
8017
8017
  })));
8018
8018
  var y = de(), k = Z(y);
8019
8019
  {
8020
- var P = (I) => {
8020
+ var w = (q) => {
8021
8021
  var S = zp();
8022
- Gr(S, 21, () => o(l), (q) => q.id, (q, B) => {
8023
- Ap(q, Ye(() => o(B), {
8022
+ Gr(S, 21, () => o(l), (F) => F.id, (F, U) => {
8023
+ Ap(F, Ye(() => o(U), {
8024
8024
  get text_spacing() {
8025
8025
  return o(c);
8026
8026
  },
@@ -8028,10 +8028,10 @@ function Cp(e, r) {
8028
8028
  return o(d);
8029
8029
  }
8030
8030
  }));
8031
- }), M(() => j(S, "style", o(v))), b(I, S);
8031
+ }), M(() => j(S, "style", o(v))), b(q, S);
8032
8032
  };
8033
- L(k, (I) => {
8034
- o(l).length && I(P);
8033
+ L(k, (q) => {
8034
+ o(l).length && q(w);
8035
8035
  });
8036
8036
  }
8037
8037
  b(e, y), G();
@@ -8047,30 +8047,30 @@ function Rp(e, r) {
8047
8047
  const t = Ee(), a = () => he(i, "$selectedState", t), n = /* @__PURE__ */ pr(r, ["$$slots", "$$events", "$$legacy"]), i = wr(), s = /* @__PURE__ */ g(() => ({
8048
8048
  ...n,
8049
8049
  ...Pr(a(), r.overrides)
8050
- })), l = /* @__PURE__ */ g(() => o(s).id), c = /* @__PURE__ */ g(() => o(s).source), d = /* @__PURE__ */ g(() => o(s).fallback_source), p = /* @__PURE__ */ g(() => o(s).size), u = /* @__PURE__ */ g(() => o(s).mask_shape), _ = /* @__PURE__ */ g(() => o(s).fit_mode), m = /* @__PURE__ */ g(() => o(s).padding), f = /* @__PURE__ */ g(() => o(s).margin), h = /* @__PURE__ */ g(() => o(s).color_overlay), v = /* @__PURE__ */ g(() => o(s).border), y = /* @__PURE__ */ g(() => o(s).shadow), k = /* @__PURE__ */ g(() => o(s).auto_play), P = /* @__PURE__ */ g(() => o(s).loop), I = /* @__PURE__ */ g(() => o(s).mute_audio), S = /* @__PURE__ */ g(() => o(s).show_controls), q = Ar(), B = /* @__PURE__ */ g(q), w = /* @__PURE__ */ g(() => o(c) ? Qr(o(B), o(c)) : null), T = /* @__PURE__ */ g(() => o(d) ? Qr(o(B), o(d)) : null);
8051
- let D = J(0), E = J(H({ height: 0, width: 0 })), F = J(null), U = J(!1);
8050
+ })), l = /* @__PURE__ */ g(() => o(s).id), c = /* @__PURE__ */ g(() => o(s).source), d = /* @__PURE__ */ g(() => o(s).fallback_source), p = /* @__PURE__ */ g(() => o(s).size), u = /* @__PURE__ */ g(() => o(s).mask_shape), _ = /* @__PURE__ */ g(() => o(s).fit_mode), m = /* @__PURE__ */ g(() => o(s).padding), f = /* @__PURE__ */ g(() => o(s).margin), h = /* @__PURE__ */ g(() => o(s).color_overlay), v = /* @__PURE__ */ g(() => o(s).border), y = /* @__PURE__ */ g(() => o(s).shadow), k = /* @__PURE__ */ g(() => o(s).auto_play), w = /* @__PURE__ */ g(() => o(s).loop), q = /* @__PURE__ */ g(() => o(s).mute_audio), S = /* @__PURE__ */ g(() => o(s).show_controls), F = Ar(), U = /* @__PURE__ */ g(F), P = /* @__PURE__ */ g(() => o(c) ? Qr(o(U), o(c)) : null), T = /* @__PURE__ */ g(() => o(d) ? Qr(o(U), o(d)) : null);
8051
+ let I = J(0), E = J(H({ height: 0, width: 0 })), D = J(null), B = J(!1);
8052
8052
  ut(() => {
8053
- if (o(w)) {
8054
- if (o(w).width && o(w).height) {
8053
+ if (o(P)) {
8054
+ if (o(P).width && o(P).height) {
8055
8055
  z(E, H({
8056
- height: o(w).height,
8057
- width: o(w).width
8056
+ height: o(P).height,
8057
+ width: o(P).width
8058
8058
  }));
8059
8059
  return;
8060
8060
  }
8061
- if (o(F)) {
8061
+ if (o(D)) {
8062
8062
  const oe = () => {
8063
8063
  var tr, xr;
8064
8064
  z(E, H({
8065
- height: ((tr = o(F)) == null ? void 0 : tr.videoHeight) ?? 0,
8066
- width: ((xr = o(F)) == null ? void 0 : xr.videoWidth) ?? 0
8065
+ height: ((tr = o(D)) == null ? void 0 : tr.videoHeight) ?? 0,
8066
+ width: ((xr = o(D)) == null ? void 0 : xr.videoWidth) ?? 0
8067
8067
  }));
8068
8068
  }, ye = () => {
8069
- z(U, !0);
8069
+ z(B, !0);
8070
8070
  };
8071
- return o(F).addEventListener("loadedmetadata", oe), o(F).addEventListener("error", ye), () => {
8071
+ return o(D).addEventListener("loadedmetadata", oe), o(D).addEventListener("error", ye), () => {
8072
8072
  var tr, xr;
8073
- (tr = o(F)) == null || tr.removeEventListener("loadedmetadata", oe), (xr = o(F)) == null || xr.removeEventListener("error", ye);
8073
+ (tr = o(D)) == null || tr.removeEventListener("loadedmetadata", oe), (xr = o(D)) == null || xr.removeEventListener("error", ye);
8074
8074
  };
8075
8075
  }
8076
8076
  } else if (o(T)) {
@@ -8091,7 +8091,7 @@ function Rp(e, r) {
8091
8091
  };
8092
8092
  }
8093
8093
  });
8094
- const N = /* @__PURE__ */ g(() => o(p).height.type === "fixed" ? o(p).height.value : Math.round(o(D) * (o(E).height / o(E).width))), V = /* @__PURE__ */ g(() => qe({
8094
+ const N = /* @__PURE__ */ g(() => o(p).height.type === "fixed" ? o(p).height.value : Math.round(o(I) * (o(E).height / o(E).width))), V = /* @__PURE__ */ g(() => qe({
8095
8095
  width: er(o(p).width),
8096
8096
  height: `${o(N)}px`,
8097
8097
  margin: Ge(o(f)),
@@ -8110,9 +8110,9 @@ function Rp(e, r) {
8110
8110
  var lr;
8111
8111
  if (!((lr = o(y)) != null && lr.color))
8112
8112
  return "";
8113
- const { x: oe, y: ye, radius: tr, color: xr } = o(y), ft = Xe(o(B), xr);
8113
+ const { x: oe, y: ye, radius: tr, color: xr } = o(y), ft = Xe(o(U), xr);
8114
8114
  return `filter: drop-shadow(${oe}px ${ye}px ${tr}px ${ft})`;
8115
- }), Te = /* @__PURE__ */ g(() => o(h) && Qr(o(B), o(h))), ie = /* @__PURE__ */ g(() => o(U) || !o(w));
8115
+ }), Te = /* @__PURE__ */ g(() => o(h) && Qr(o(U), o(h))), ie = /* @__PURE__ */ g(() => o(B) || !o(P));
8116
8116
  var fe = Bp(), Se = x(fe), Ae = x(Se), je = x(Ae), Be = x(je);
8117
8117
  Qa(Be, {
8118
8118
  get shape() {
@@ -8170,14 +8170,14 @@ function Rp(e, r) {
8170
8170
  var xr = (ft) => {
8171
8171
  var lr = Np();
8172
8172
  const kn = /* @__PURE__ */ g(() => `object-fit:${Ja(o(_)) ?? ""}`);
8173
- lr.muted = o(I), mn(lr, (Aa) => z(F, Aa), () => o(F)), M(() => {
8174
- j(lr, "src", o(w).url), j(lr, "style", o(kn)), lr.autoplay = o(k), lr.loop = o(P), lr.controls = o(S);
8173
+ lr.muted = o(q), mn(lr, (Aa) => z(D, Aa), () => o(D)), M(() => {
8174
+ j(lr, "src", o(P).url), j(lr, "style", o(kn)), lr.autoplay = o(k), lr.loop = o(w), lr.controls = o(S);
8175
8175
  }), b(ft, lr);
8176
8176
  };
8177
8177
  L(
8178
8178
  tr,
8179
8179
  (ft) => {
8180
- o(w) && ft(xr);
8180
+ o(P) && ft(xr);
8181
8181
  },
8182
8182
  !0
8183
8183
  );
@@ -8202,7 +8202,7 @@ function Rp(e, r) {
8202
8202
  {
8203
8203
  var Xt = (oe) => {
8204
8204
  var ye = Lp();
8205
- M(() => j(ye, "stroke", Xe(o(B), o(v).color))), M(() => {
8205
+ M(() => j(ye, "stroke", Xe(o(U), o(v).color))), M(() => {
8206
8206
  j(ye, "href", `#${o(l)}-border`), j(ye, "stroke-width", o(v).width);
8207
8207
  }), b(oe, ye);
8208
8208
  };
@@ -8212,7 +8212,7 @@ function Rp(e, r) {
8212
8212
  }
8213
8213
  M(() => {
8214
8214
  j(fe, "style", o(V)), j(Se, "viewBox", o(le)), j(Se, "style", o(Le)), j(je, "id", `${o(l)}-path`), j(We, "id", `${o(l)}-border`), j(we, "clip-path", `url(#${o(l)}-path)`);
8215
- }), cs(Se, "contentRect", (oe) => z(X, oe)), vo(fe, "clientWidth", (oe) => z(D, oe)), b(e, fe), G();
8215
+ }), cs(Se, "contentRect", (oe) => z(X, oe)), vo(fe, "clientWidth", (oe) => z(I, oe)), b(e, fe), G();
8216
8216
  }
8217
8217
  var Vp = /* @__PURE__ */ A("<span><!></span>");
8218
8218
  const Wp = {
@@ -8727,8 +8727,8 @@ function Ms(e, r) {
8727
8727
  Hp(h, {
8728
8728
  size: "body-base",
8729
8729
  children: (v, y) => {
8730
- var k = de(), P = Z(k);
8731
- Oe(P, () => r.children ?? ge), b(v, k);
8730
+ var k = de(), w = Z(k);
8731
+ Oe(w, () => r.children ?? ge), b(v, k);
8732
8732
  },
8733
8733
  $$slots: { default: !0 }
8734
8734
  });
@@ -8876,31 +8876,31 @@ function M_(e, r) {
8876
8876
  var _ = A_(), m = Z(_);
8877
8877
  S_(m, {
8878
8878
  children: (v, y) => {
8879
- var k = F_(), P = Z(k);
8879
+ var k = F_(), w = Z(k);
8880
8880
  {
8881
- var I = (B) => {
8882
- var w = q_(), T = x(w);
8883
- Oe(T, a), M(() => et(w, `rcb-modal-message-icon ${(o(s) ? "large" : "small") ?? ""} svelte-w46z5s`)), b(B, w);
8881
+ var q = (U) => {
8882
+ var P = q_(), T = x(P);
8883
+ Oe(T, a), M(() => et(P, `rcb-modal-message-icon ${(o(s) ? "large" : "small") ?? ""} svelte-w46z5s`)), b(U, P);
8884
8884
  };
8885
- L(P, (B) => {
8886
- a() && B(I);
8885
+ L(w, (U) => {
8886
+ a() && U(q);
8887
8887
  });
8888
8888
  }
8889
- var S = C(P, 2);
8889
+ var S = C(w, 2);
8890
8890
  {
8891
- var q = (B) => {
8892
- var w = D_(), T = x(w);
8891
+ var F = (U) => {
8892
+ var P = D_(), T = x(P);
8893
8893
  ce(T, {
8894
8894
  size: "heading-md",
8895
- children: (D, E) => {
8896
- var F = Pe();
8897
- M(() => se(F, t())), b(D, F);
8895
+ children: (I, E) => {
8896
+ var D = Pe();
8897
+ M(() => se(D, t())), b(I, D);
8898
8898
  },
8899
8899
  $$slots: { default: !0 }
8900
- }), mn(w, (D) => z(i, D), () => o(i)), b(B, w);
8900
+ }), mn(P, (I) => z(i, I), () => o(i)), b(U, P);
8901
8901
  };
8902
- L(S, (B) => {
8903
- t() && B(q);
8902
+ L(S, (U) => {
8903
+ t() && U(F);
8904
8904
  });
8905
8905
  }
8906
8906
  b(v, k);
@@ -8913,8 +8913,8 @@ function M_(e, r) {
8913
8913
  ce(v, {
8914
8914
  size: "body-small",
8915
8915
  children: (y, k) => {
8916
- var P = de(), I = Z(P);
8917
- Oe(I, () => r.message ?? ge), b(y, P);
8916
+ var w = de(), q = Z(w);
8917
+ Oe(q, () => r.message ?? ge), b(y, w);
8918
8918
  },
8919
8919
  $$slots: { default: !0 }
8920
8920
  });
@@ -8999,8 +8999,8 @@ function To(e, r) {
8999
8999
  children: (m, f) => {
9000
9000
  var h = de(), v = Z(h);
9001
9001
  {
9002
- var y = (P) => {
9003
- B_(P, {
9002
+ var y = (w) => {
9003
+ B_(w, {
9004
9004
  get title() {
9005
9005
  return t();
9006
9006
  },
@@ -9008,8 +9008,8 @@ function To(e, r) {
9008
9008
  return n();
9009
9009
  }
9010
9010
  });
9011
- }, k = (P) => {
9012
- M_(P, {
9011
+ }, k = (w) => {
9012
+ M_(w, {
9013
9013
  get title() {
9014
9014
  return t();
9015
9015
  },
@@ -9021,8 +9021,8 @@ function To(e, r) {
9021
9021
  }
9022
9022
  });
9023
9023
  };
9024
- L(v, (P) => {
9025
- r.type === "success" ? P(y) : P(k, !1);
9024
+ L(v, (w) => {
9025
+ r.type === "success" ? w(y) : w(k, !1);
9026
9026
  });
9027
9027
  }
9028
9028
  b(m, h);
@@ -9077,29 +9077,29 @@ function X_(e, r) {
9077
9077
  const t = Ee(), a = () => he(y, "$translator", t), n = Sr(), i = Sr(), s = Sr(), l = Sr(), c = Sr(), d = Sr(), p = Sr(), u = Sr(), _ = Sr(), m = Sr();
9078
9078
  let f = W(r, "brandingInfo", 8, null), h = W(r, "purchaseOption", 8, null), v = W(r, "termsAndConditionsUrl", 8, null);
9079
9079
  const y = Fe(_r);
9080
- function k(F) {
9081
- return F != null && "base" in F;
9080
+ function k(D) {
9081
+ return D != null && "base" in D;
9082
9082
  }
9083
- function P(F) {
9084
- return F != null && "basePrice" in F;
9083
+ function w(D) {
9084
+ return D != null && "basePrice" in D;
9085
9085
  }
9086
- function I(F) {
9087
- return F ? F.trial ? Y.PaymentEntryPageTrialSubscriptionTermsInfo : Y.PaymentEntryPageSubscriptionTermsInfo : Y.PaymentEntryPageOtpTermsInfo;
9086
+ function q(D) {
9087
+ return D ? D.trial ? Y.PaymentEntryPageTrialSubscriptionTermsInfo : Y.PaymentEntryPageSubscriptionTermsInfo : Y.PaymentEntryPageOtpTermsInfo;
9088
9088
  }
9089
9089
  Cr(() => Ba(h()), () => {
9090
9090
  z(n, k(h()) ? h() : null);
9091
9091
  }), Cr(() => Ba(h()), () => {
9092
- z(i, P(h()) ? h() : null);
9092
+ z(i, w(h()) ? h() : null);
9093
9093
  }), Cr(() => o(n), () => {
9094
- z(s, I(o(n)));
9094
+ z(s, q(o(n)));
9095
9095
  }), Cr(() => o(n), () => {
9096
- var F, U;
9097
- z(l, ((F = o(n)) == null ? void 0 : F.introPrice) || ((U = o(n)) == null ? void 0 : U.base));
9096
+ var D, B;
9097
+ z(l, ((D = o(n)) == null ? void 0 : D.introPrice) || ((B = o(n)) == null ? void 0 : B.base));
9098
9098
  }), Cr(
9099
9099
  () => (o(i), o(l)),
9100
9100
  () => {
9101
- var F, U;
9102
- z(c, ((F = o(i)) == null ? void 0 : F.basePrice) || ((U = o(l)) == null ? void 0 : U.price));
9101
+ var D, B;
9102
+ z(c, ((D = o(i)) == null ? void 0 : D.basePrice) || ((B = o(l)) == null ? void 0 : B.price));
9103
9103
  }
9104
9104
  ), Cr(
9105
9105
  () => (o(c), a()),
@@ -9109,14 +9109,14 @@ function X_(e, r) {
9109
9109
  ), Cr(
9110
9110
  () => (o(l), a()),
9111
9111
  () => {
9112
- var F, U, N, V, X;
9113
- z(p, (F = o(l)) != null && F.period ? a().translatePeriodFrequency(((N = (U = o(l)) == null ? void 0 : U.period) == null ? void 0 : N.number) || 1, (X = (V = o(l)) == null ? void 0 : V.period) == null ? void 0 : X.unit, { useMultipleWords: !0 }) : null);
9112
+ var D, B, N, V, X;
9113
+ z(p, (D = o(l)) != null && D.period ? a().translatePeriodFrequency(((N = (B = o(l)) == null ? void 0 : B.period) == null ? void 0 : N.number) || 1, (X = (V = o(l)) == null ? void 0 : V.period) == null ? void 0 : X.unit, { useMultipleWords: !0 }) : null);
9114
9114
  }
9115
9115
  ), Cr(
9116
9116
  () => (o(n), a(), Hn),
9117
9117
  () => {
9118
- var F, U;
9119
- z(u, (U = (F = o(n)) == null ? void 0 : F.trial) != null && U.period ? a().translateDate(Hn(/* @__PURE__ */ new Date(), o(n).trial.period, !0), {
9118
+ var D, B;
9119
+ z(u, (B = (D = o(n)) == null ? void 0 : D.trial) != null && B.period ? a().translateDate(Hn(/* @__PURE__ */ new Date(), o(n).trial.period, !0), {
9120
9120
  year: "numeric",
9121
9121
  month: "long",
9122
9122
  day: "numeric"
@@ -9125,9 +9125,9 @@ function X_(e, r) {
9125
9125
  ), Cr(
9126
9126
  () => (Ba(f()), o(c), a(), o(s), o(d), o(p), o(u)),
9127
9127
  () => {
9128
- var F;
9128
+ var D;
9129
9129
  z(_, f() && o(c) ? a().translate(o(s), {
9130
- appName: (F = f()) == null ? void 0 : F.app_name,
9130
+ appName: (D = f()) == null ? void 0 : D.app_name,
9131
9131
  price: o(d),
9132
9132
  perFrequency: o(p),
9133
9133
  renewalDate: o(u)
@@ -9139,10 +9139,10 @@ function X_(e, r) {
9139
9139
  z(m, o(n) ? a().translate(Y.PaymentEntryPageSubscriptionInfo) : null);
9140
9140
  }
9141
9141
  ), fc(), kr();
9142
- var S = $_(), q = x(S);
9142
+ var S = $_(), F = x(S);
9143
9143
  {
9144
- var B = (F) => {
9145
- var U = V_(), N = x(U);
9144
+ var U = (D) => {
9145
+ var B = V_(), N = x(B);
9146
9146
  ce(N, {
9147
9147
  size: "caption-default",
9148
9148
  children: (V, X) => {
@@ -9150,16 +9150,16 @@ function X_(e, r) {
9150
9150
  M(() => se(te, o(_))), b(V, te);
9151
9151
  },
9152
9152
  $$slots: { default: !0 }
9153
- }), b(F, U);
9153
+ }), b(D, B);
9154
9154
  };
9155
- L(q, (F) => {
9156
- o(_) && F(B);
9155
+ L(F, (D) => {
9156
+ o(_) && D(U);
9157
9157
  });
9158
9158
  }
9159
- var w = C(q, 2);
9159
+ var P = C(F, 2);
9160
9160
  {
9161
- var T = (F) => {
9162
- var U = W_(), N = x(U);
9161
+ var T = (D) => {
9162
+ var B = W_(), N = x(B);
9163
9163
  ce(N, {
9164
9164
  size: "caption-default",
9165
9165
  children: (V, X) => {
@@ -9167,16 +9167,16 @@ function X_(e, r) {
9167
9167
  M(() => se(te, o(m))), b(V, te);
9168
9168
  },
9169
9169
  $$slots: { default: !0 }
9170
- }), b(F, U);
9170
+ }), b(D, B);
9171
9171
  };
9172
- L(w, (F) => {
9173
- o(m) && F(T);
9172
+ L(P, (D) => {
9173
+ o(m) && D(T);
9174
9174
  });
9175
9175
  }
9176
- var D = C(w, 2), E = x(D);
9176
+ var I = C(P, 2), E = x(I);
9177
9177
  ce(E, {
9178
9178
  size: "caption-default",
9179
- children: (F, U) => {
9179
+ children: (D, B) => {
9180
9180
  var N = Y_(), V = Z(N);
9181
9181
  {
9182
9182
  var X = (ne) => {
@@ -9198,7 +9198,7 @@ function X_(e, r) {
9198
9198
  get key() {
9199
9199
  return Y.PaymentEntryPagePaymentStepTitle;
9200
9200
  }
9201
- }), b(F, N);
9201
+ }), b(D, N);
9202
9202
  },
9203
9203
  $$slots: { default: !0 }
9204
9204
  }), b(e, S), G();
@@ -9410,29 +9410,29 @@ function ug(e, r) {
9410
9410
  }
9411
9411
  });
9412
9412
  }, v = (y) => {
9413
- var k = de(), P = Z(k);
9413
+ var k = de(), w = Z(k);
9414
9414
  {
9415
- var I = (q) => {
9416
- var B = /* @__PURE__ */ g(() => ({ formattedPrice: o(s) }));
9417
- Ze(q, {
9415
+ var q = (F) => {
9416
+ var U = /* @__PURE__ */ g(() => ({ formattedPrice: o(s) }));
9417
+ Ze(F, {
9418
9418
  get key() {
9419
9419
  return Y.PaymentEntryPageButtonWithPrice;
9420
9420
  },
9421
9421
  get variables() {
9422
- return o(B);
9422
+ return o(U);
9423
9423
  }
9424
9424
  });
9425
- }, S = (q) => {
9426
- Ze(q, {
9425
+ }, S = (F) => {
9426
+ Ze(F, {
9427
9427
  get key() {
9428
9428
  return Y.PaymentEntryPageButtonPay;
9429
9429
  }
9430
9430
  });
9431
9431
  };
9432
9432
  L(
9433
- P,
9434
- (q) => {
9435
- o(s) ? q(I) : q(S, !1);
9433
+ w,
9434
+ (F) => {
9435
+ o(s) ? F(q) : F(S, !1);
9436
9436
  },
9437
9437
  !0
9438
9438
  );
@@ -10105,13 +10105,19 @@ const jt = class jt {
10105
10105
  }
10106
10106
  });
10107
10107
  }
10108
- static createExpressCheckoutElement(r, t, a) {
10109
- const n = {
10108
+ static createExpressCheckoutElement(r, t, a, n) {
10109
+ const i = {
10110
10110
  billingAddressRequired: t,
10111
10111
  emailRequired: !0,
10112
- ...a || {}
10112
+ ...a ? {
10113
+ paymentMethods: {
10114
+ applePay: "always",
10115
+ googlePay: "always"
10116
+ }
10117
+ } : {},
10118
+ ...n || {}
10113
10119
  };
10114
- return r.create("expressCheckout", n);
10120
+ return r.create("expressCheckout", i);
10115
10121
  }
10116
10122
  static createLinkAuthenticationElement(r, t) {
10117
10123
  return r.create("linkAuthentication", {
@@ -10320,7 +10326,7 @@ function Xg(e, r) {
10320
10326
  };
10321
10327
  Qe(() => {
10322
10328
  try {
10323
- i = $e.createExpressCheckoutElement(r.elements, r.billingAddressRequired, r.expressCheckoutOptions), i.mount(`#${l}`), i.on("ready", u), i.on("confirm", p), i.on("loaderror", d), i.on("click", c);
10329
+ i = $e.createExpressCheckoutElement(r.elements, r.billingAddressRequired, r.forceEnableWalletMethods, r.expressCheckoutOptions), i.mount(`#${l}`), i.on("ready", u), i.on("confirm", p), i.on("loaderror", d), i.on("click", c);
10324
10330
  } catch (h) {
10325
10331
  r.onError($e.mapInitializationError(h));
10326
10332
  }
@@ -10332,10 +10338,10 @@ function Xg(e, r) {
10332
10338
  var f = (h) => {
10333
10339
  var v = Gg(), y = Z(v);
10334
10340
  j(y, "id", l);
10335
- var k = C(y, 2), P = /* @__PURE__ */ g(() => a().translate(Y.PaymentEntryPageExpressCheckoutDivider));
10341
+ var k = C(y, 2), w = /* @__PURE__ */ g(() => a().translate(Y.PaymentEntryPageExpressCheckoutDivider));
10336
10342
  $g(k, {
10337
10343
  get text() {
10338
- return o(P);
10344
+ return o(w);
10339
10345
  }
10340
10346
  }), b(h, v);
10341
10347
  };
@@ -10386,9 +10392,9 @@ function Jg(e, r) {
10386
10392
  o(d) || (z(d, !0), o(d) && o(c) && o(p) && r.onLoadingComplete());
10387
10393
  }, k = async () => {
10388
10394
  o(p) || (z(p, !0), o(d) && o(c) && o(p) && r.onLoadingComplete());
10389
- }, P = async () => {
10395
+ }, w = async () => {
10390
10396
  o(c) || (z(c, !0), o(d) && o(c) && o(p) && r.onLoadingComplete());
10391
- }, I = async (T) => {
10397
+ }, q = async (T) => {
10392
10398
  r.onPaymentInfoChange({
10393
10399
  complete: T.complete,
10394
10400
  paymentMethod: T.complete ? T.value.type : void 0
@@ -10401,19 +10407,19 @@ function Jg(e, r) {
10401
10407
  })), Qe(async () => {
10402
10408
  f(), !n() && (i() || !r.stripeAccountId || !r.publishableApiKey || !r.elementsConfiguration || await $e.initializeStripe(r.stripeAccountId, r.publishableApiKey, r.elementsConfiguration, r.brandingInfo, l, o(u), o(_)).then(({
10403
10409
  stripe: T,
10404
- elements: D
10410
+ elements: I
10405
10411
  }) => {
10406
- n(T), i(D);
10412
+ n(T), i(I);
10407
10413
  }).catch((T) => {
10408
10414
  r.onError(T);
10409
10415
  }));
10410
10416
  }), ut(() => {
10411
10417
  r.elementsConfiguration && i() && $e.updateElementsConfiguration(i(), r.elementsConfiguration);
10412
10418
  });
10413
- var q = de(), B = Z(q);
10419
+ var F = de(), U = Z(F);
10414
10420
  {
10415
- var w = (T) => {
10416
- var D = Kg(), E = x(D);
10421
+ var P = (T) => {
10422
+ var I = Kg(), E = x(I);
10417
10423
  Xg(E, {
10418
10424
  get elements() {
10419
10425
  return i();
@@ -10426,13 +10432,16 @@ function Jg(e, r) {
10426
10432
  get expressCheckoutOptions() {
10427
10433
  return r.expressCheckoutOptions;
10428
10434
  },
10435
+ get forceEnableWalletMethods() {
10436
+ return r.forceEnableWalletMethods;
10437
+ },
10429
10438
  get billingAddressRequired() {
10430
10439
  return r.billingAddressRequired;
10431
10440
  }
10432
10441
  });
10433
- var F = C(E, 2);
10442
+ var D = C(E, 2);
10434
10443
  {
10435
- var U = (V) => {
10444
+ var B = (V) => {
10436
10445
  Wg(V, {
10437
10446
  get elements() {
10438
10447
  return i();
@@ -10442,11 +10451,11 @@ function Jg(e, r) {
10442
10451
  onError: v
10443
10452
  });
10444
10453
  };
10445
- L(F, (V) => {
10446
- r.skipEmail || V(U);
10454
+ L(D, (V) => {
10455
+ r.skipEmail || V(B);
10447
10456
  });
10448
10457
  }
10449
- var N = C(F, 2);
10458
+ var N = C(D, 2);
10450
10459
  Rg(N, {
10451
10460
  get elements() {
10452
10461
  return i();
@@ -10454,16 +10463,16 @@ function Jg(e, r) {
10454
10463
  get brandingInfo() {
10455
10464
  return r.brandingInfo;
10456
10465
  },
10457
- onReady: P,
10458
- onChange: I,
10466
+ onReady: w,
10467
+ onChange: q,
10459
10468
  onError: v
10460
- }), b(T, D);
10469
+ }), b(T, I);
10461
10470
  };
10462
- L(B, (T) => {
10463
- i() && T(w);
10471
+ L(U, (T) => {
10472
+ i() && T(P);
10464
10473
  });
10465
10474
  }
10466
- b(e, q), G();
10475
+ b(e, F), G();
10467
10476
  }
10468
10477
  const Qg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
10469
10478
  <path fill-rule="evenodd" d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 6.5a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5zm1.25 4.5a1.25 1.25 0 10-2.5 0v4.5a1.25 1.25 0 102.5 0v-4.5z" clip-rule="evenodd" />
@@ -10560,13 +10569,13 @@ function cm(e, r) {
10560
10569
  taxCalculationStatus: o(c),
10561
10570
  taxAmountInMicros: o(d),
10562
10571
  taxBreakdown: o(p)
10563
- }), f = J(H(r.gatewayParams.elements_configuration)), h = J(null), v = J(null), y = J(null), k = J(H(r.customerEmail ?? void 0)), P = J(H(!!r.customerEmail)), I = J(!0), S = J(!1), q = J(void 0), B = J(void 0), w = J(void 0), T = J(!1), D = J(null), E = /* @__PURE__ */ g(() => o(I) || o(T) ? "loading" : o(B) ? "error" : "form"), F = J("unavailable"), U = /* @__PURE__ */ g(() => !o(T) && o(S) && o(P) && (o(c) === "disabled" || o(c) === "calculated" || o(c) === "miss-match")), N = /* @__PURE__ */ g(() => s && r.managementUrl && o(m) ? $e.buildStripeExpressCheckoutOptionsForSubscription(r.productDetails, o(m), s, a(), r.managementUrl) : void 0);
10572
+ }), f = J(H(r.gatewayParams.elements_configuration)), h = J(null), v = J(null), y = J(null), k = J(H(r.customerEmail ?? void 0)), w = J(H(!!r.customerEmail)), q = J(!0), S = J(!1), F = J(void 0), U = J(void 0), P = J(void 0), T = J(!1), I = J(null), E = /* @__PURE__ */ g(() => o(q) || o(T) ? "loading" : o(U) ? "error" : "form"), D = J("unavailable"), B = /* @__PURE__ */ g(() => !o(T) && o(S) && o(w) && (o(c) === "disabled" || o(c) === "calculated" || o(c) === "miss-match")), N = /* @__PURE__ */ g(() => s && r.managementUrl && o(m) ? $e.buildStripeExpressCheckoutOptionsForSubscription(r.productDetails, o(m), s, a(), r.managementUrl) : void 0);
10564
10573
  ut(() => {
10565
10574
  r.onPriceBreakdownUpdated(o(m));
10566
10575
  }), Qe(async () => {
10567
10576
  o(c) === "unavailable" && await V(null).catch(We);
10568
10577
  }), Ta(() => {
10569
- o(D) && (o(D).abort(), z(D, null));
10578
+ o(I) && (o(I).abort(), z(I, null));
10570
10579
  });
10571
10580
  async function V(R, pe) {
10572
10581
  await r.purchaseOperationHelper.checkoutCalculateTax(R == null ? void 0 : R.countryCode, R == null ? void 0 : R.postalCode, pe).then((Ie) => {
@@ -10577,30 +10586,30 @@ function cm(e, r) {
10577
10586
  function X() {
10578
10587
  n.trackSDKEvent({
10579
10588
  eventName: sr.CheckoutPaymentFormImpression
10580
- }), z(I, !1);
10589
+ }), z(q, !1);
10581
10590
  }
10582
10591
  async function te(R, pe) {
10583
- z(k, H(pe)), z(P, H(R)), await Le();
10592
+ z(k, H(pe)), z(w, H(R)), await Le();
10584
10593
  }
10585
10594
  async function ne({ complete: R, paymentMethod: pe }) {
10586
- z(q, H(pe)), z(S, H(R)), await Le();
10595
+ z(F, H(pe)), z(S, H(R)), await Le();
10587
10596
  }
10588
10597
  async function me(R) {
10589
10598
  if (R == null || R.preventDefault(), o(T)) return;
10590
10599
  const pe = ag({
10591
- selectedPaymentMethod: o(q) ?? null
10600
+ selectedPaymentMethod: o(F) ?? null
10592
10601
  });
10593
10602
  n.trackSDKEvent(pe), z(T, !0), await Te() ? r.onContinue() : z(T, !1);
10594
10603
  }
10595
10604
  async function le(R, pe) {
10596
- z(q, H(R)), z(k, H(r.customerEmail ?? pe)), await me();
10605
+ z(F, H(R)), z(k, H(r.customerEmail ?? pe)), await me();
10597
10606
  }
10598
10607
  async function Le() {
10599
- o(q) !== "card" || !o(P) || !o(S) || o(T) || o(c) === "disabled" || (o(c) !== "loading" && (z(F, H(o(c))), z(c, "loading")), await ie(async (R) => {
10608
+ o(F) !== "card" || !o(w) || !o(S) || o(T) || o(c) === "disabled" || (o(c) !== "loading" && (z(D, H(o(c))), z(c, "loading")), await ie(async (R) => {
10600
10609
  await fe().then(() => R.throwIfAborted()).then(() => Se(R)).then(() => R.throwIfAborted()).catch((pe) => {
10601
10610
  R.aborted || We(pe);
10602
10611
  }).finally(() => {
10603
- o(c) === "loading" && !R.aborted && z(c, H(o(F)));
10612
+ o(c) === "loading" && !R.aborted && z(c, H(o(D)));
10604
10613
  });
10605
10614
  }));
10606
10615
  }
@@ -10614,8 +10623,8 @@ function cm(e, r) {
10614
10623
  });
10615
10624
  }
10616
10625
  async function ie(R) {
10617
- o(D) && o(D).abort(), z(D, H(new AbortController()));
10618
- const pe = o(D).signal;
10626
+ o(I) && o(I).abort(), z(I, H(new AbortController()));
10627
+ const pe = o(I).signal;
10619
10628
  try {
10620
10629
  return await R(pe);
10621
10630
  } catch (Ie) {
@@ -10635,7 +10644,7 @@ function cm(e, r) {
10635
10644
  customerDetails: pe,
10636
10645
  confirmationTokenId: Ie
10637
10646
  } = await $e.extractTaxCustomerDetails(o(y), o(v));
10638
- return R == null || R.throwIfAborted(), pe.postalCode === ((yt = o(h)) == null ? void 0 : yt.postalCode) && pe.countryCode === ((Kt = o(h)) == null ? void 0 : Kt.countryCode) || await V(pe, R), Ie && o(q) !== "card" ? Ie : void 0;
10647
+ return R == null || R.throwIfAborted(), pe.postalCode === ((yt = o(h)) == null ? void 0 : yt.postalCode) && pe.countryCode === ((Kt = o(h)) == null ? void 0 : Kt.countryCode) || await V(pe, R), Ie && o(F) !== "card" ? Ie : void 0;
10639
10648
  }
10640
10649
  function Ae(R) {
10641
10650
  return () => {
@@ -10646,10 +10655,10 @@ function cm(e, r) {
10646
10655
  async function je() {
10647
10656
  var Ie;
10648
10657
  const R = await r.purchaseOperationHelper.checkoutComplete(o(k)), pe = (Ie = R == null ? void 0 : R.gateway_params) == null ? void 0 : Ie.client_secret;
10649
- pe && z(w, H(pe));
10658
+ pe && z(P, H(pe));
10650
10659
  }
10651
10660
  async function Be(R) {
10652
- !o(v) || !o(y) || !o(w) || await $e.confirmElements(o(v), o(y), o(w), R);
10661
+ !o(v) || !o(y) || !o(P) || await $e.confirmElements(o(v), o(y), o(P), R);
10653
10662
  }
10654
10663
  async function We(R) {
10655
10664
  if (R instanceof hi)
@@ -10659,7 +10668,7 @@ function cm(e, r) {
10659
10668
  errorCode: R.errorCode.toString(),
10660
10669
  errorMessage: R.message
10661
10670
  });
10662
- n.trackSDKEvent(pe), R.errorCode === ke.MissingEmailError ? z(B, H(a().translate(Y.ErrorPageErrorMessageInvalidEmailError, { email: o(k) }))) : r.onError(R);
10671
+ n.trackSDKEvent(pe), R.errorCode === ke.MissingEmailError ? z(U, H(a().translate(Y.ErrorPageErrorMessageInvalidEmailError, { email: o(k) }))) : r.onError(R);
10663
10672
  } else if (R instanceof Ra)
10664
10673
  await ze(R);
10665
10674
  else
@@ -10670,10 +10679,10 @@ function cm(e, r) {
10670
10679
  errorCode: R.gatewayErrorCode ?? "",
10671
10680
  errorMessage: R.message ?? ""
10672
10681
  });
10673
- n.trackSDKEvent(pe), R.code === Kn.HandledFormError || (R.code === Kn.UnhandledFormError ? z(B, H(R.message)) : r.onError(new xe(ke.ErrorSettingUpPurchase, "Failed to initialize payment form", R.message)));
10682
+ n.trackSDKEvent(pe), R.code === Kn.HandledFormError || (R.code === Kn.UnhandledFormError ? z(U, H(R.message)) : r.onError(new xe(ke.ErrorSettingUpPurchase, "Failed to initialize payment form", R.message)));
10674
10683
  }
10675
10684
  const rr = () => {
10676
- z(B, void 0);
10685
+ z(U, void 0);
10677
10686
  };
10678
10687
  var gr = sm(), mr = x(gr);
10679
10688
  {
@@ -10701,7 +10710,7 @@ function cm(e, r) {
10701
10710
  },
10702
10711
  message: (yt) => {
10703
10712
  var Kt = Pe();
10704
- M(() => se(Kt, o(B))), b(yt, Kt);
10713
+ M(() => se(Kt, o(U))), b(yt, Kt);
10705
10714
  },
10706
10715
  $$slots: { icon: !0, message: !0 }
10707
10716
  });
@@ -10724,6 +10733,9 @@ function cm(e, r) {
10724
10733
  get brandingInfo() {
10725
10734
  return r.brandingInfo;
10726
10735
  },
10736
+ get forceEnableWalletMethods() {
10737
+ return r.forceEnableWalletMethods;
10738
+ },
10727
10739
  get skipEmail() {
10728
10740
  return o(qt);
10729
10741
  },
@@ -10753,7 +10765,7 @@ function cm(e, r) {
10753
10765
  });
10754
10766
  var Xt = C(Ce, 2), oe = x(Xt);
10755
10767
  om(oe, { subscriptionOption: s });
10756
- var ye = C(Xt, 2), tr = x(ye), xr = /* @__PURE__ */ g(() => !o(U)), ft = /* @__PURE__ */ g(() => {
10768
+ var ye = C(Xt, 2), tr = x(ye), xr = /* @__PURE__ */ g(() => !o(B)), ft = /* @__PURE__ */ g(() => {
10757
10769
  var R;
10758
10770
  return (R = r.brandingInfo) != null && R.gateway_tax_collection_enabled ? o(m) : void 0;
10759
10771
  });
@@ -11181,36 +11193,36 @@ function Vm(e, r) {
11181
11193
  message: (v) => {
11182
11194
  var y = Um(), k = Z(y);
11183
11195
  {
11184
- var P = (B) => {
11185
- var w = Lm(), T = Z(w), D = x(T);
11186
- Ze(D, {
11196
+ var w = (U) => {
11197
+ var P = Lm(), T = Z(P), I = x(T);
11198
+ Ze(I, {
11187
11199
  get key() {
11188
11200
  return Y.ErrorPageErrorMessageOnlyInSandbox;
11189
11201
  }
11190
- }), b(B, w);
11202
+ }), b(U, P);
11191
11203
  };
11192
- L(k, (B) => {
11193
- o(s) && B(P);
11204
+ L(k, (U) => {
11205
+ o(s) && U(w);
11194
11206
  });
11195
11207
  }
11196
- var I = C(k);
11197
- M(() => se(I, ` ${d() ?? ""} `));
11198
- var S = C(I);
11208
+ var q = C(k);
11209
+ M(() => se(q, ` ${d() ?? ""} `));
11210
+ var S = C(q);
11199
11211
  {
11200
- var q = (B) => {
11201
- var w = Bm(), T = Z(w), D = /* @__PURE__ */ g(p);
11212
+ var F = (U) => {
11213
+ var P = Bm(), T = Z(P), I = /* @__PURE__ */ g(p);
11202
11214
  Ze(T, {
11203
11215
  get key() {
11204
- return o(D);
11216
+ return o(I);
11205
11217
  }
11206
11218
  });
11207
- var E = C(T, 2), F = x(E);
11219
+ var E = C(T, 2), D = x(E);
11208
11220
  M(() => {
11209
- j(E, "href", `mailto:${r.supportEmail ?? ""}`), se(F, r.supportEmail);
11210
- }), b(B, w);
11221
+ j(E, "href", `mailto:${r.supportEmail ?? ""}`), se(D, r.supportEmail);
11222
+ }), b(U, P);
11211
11223
  };
11212
- L(S, (B) => {
11213
- !o(s) && r.supportEmail && B(q);
11224
+ L(S, (U) => {
11225
+ !o(s) && r.supportEmail && U(F);
11214
11226
  });
11215
11227
  }
11216
11228
  b(v, y);
@@ -11276,21 +11288,21 @@ function Gm(e, r) {
11276
11288
  var c = Ym(), d = x(c), p = x(d);
11277
11289
  ce(p, {
11278
11290
  size: "label-default",
11279
- children: (k, P) => {
11280
- var I = de(), S = Z(I);
11291
+ children: (k, w) => {
11292
+ var q = de(), S = Z(q);
11281
11293
  {
11282
- var q = (w) => {
11294
+ var F = (P) => {
11283
11295
  var T = Pe();
11284
- M(() => se(T, a().translate(Y.PricingDropdownHideDetails))), b(w, T);
11285
- }, B = (w) => {
11296
+ M(() => se(T, a().translate(Y.PricingDropdownHideDetails))), b(P, T);
11297
+ }, U = (P) => {
11286
11298
  var T = Pe();
11287
- M(() => se(T, a().translate(Y.PricingDropdownShowDetails))), b(w, T);
11299
+ M(() => se(T, a().translate(Y.PricingDropdownShowDetails))), b(P, T);
11288
11300
  };
11289
- L(S, (w) => {
11290
- n() ? w(q) : w(B, !1);
11301
+ L(S, (P) => {
11302
+ n() ? P(F) : P(U, !1);
11291
11303
  });
11292
11304
  }
11293
- b(k, I);
11305
+ b(k, q);
11294
11306
  },
11295
11307
  $$slots: { default: !0 }
11296
11308
  });
@@ -11350,9 +11362,9 @@ function of(e, r) {
11350
11362
  const t = Ee(), a = () => he(s, "$translator", t), n = (m) => {
11351
11363
  var f = af(), h = x(f);
11352
11364
  {
11353
- var v = (w) => {
11354
- var T = rf(), D = Z(T), E = x(D), F = x(E);
11355
- ce(F, {
11365
+ var v = (P) => {
11366
+ var T = rf(), I = Z(T), E = x(I), D = x(E);
11367
+ ce(D, {
11356
11368
  size: "body-small",
11357
11369
  children: (ne, me) => {
11358
11370
  var le = Pe();
@@ -11360,7 +11372,7 @@ function of(e, r) {
11360
11372
  },
11361
11373
  $$slots: { default: !0 }
11362
11374
  });
11363
- var U = C(E, 2), N = x(U);
11375
+ var B = C(E, 2), N = x(B);
11364
11376
  ce(N, {
11365
11377
  size: "body-small",
11366
11378
  children: (ne, me) => {
@@ -11369,7 +11381,7 @@ function of(e, r) {
11369
11381
  },
11370
11382
  $$slots: { default: !0 }
11371
11383
  });
11372
- var V = C(D, 2);
11384
+ var V = C(I, 2);
11373
11385
  {
11374
11386
  var X = (ne) => {
11375
11387
  var me = Jm(), le = x(me), Le = x(le);
@@ -11460,16 +11472,16 @@ function of(e, r) {
11460
11472
  r.priceBreakdown.taxCalculationStatus === "loading" ? ne(X) : ne(te, !1);
11461
11473
  });
11462
11474
  }
11463
- b(w, T);
11475
+ b(P, T);
11464
11476
  };
11465
- L(h, (w) => {
11466
- o(l) && w(v);
11477
+ L(h, (P) => {
11478
+ o(l) && P(v);
11467
11479
  });
11468
11480
  }
11469
11481
  var y = C(h, 2);
11470
11482
  {
11471
- var k = (w) => {
11472
- var T = tf(), D = x(T), E = x(D);
11483
+ var k = (P) => {
11484
+ var T = tf(), I = x(T), E = x(I);
11473
11485
  ce(E, {
11474
11486
  size: "body-small",
11475
11487
  children: (N, V) => {
@@ -11480,47 +11492,47 @@ function of(e, r) {
11480
11492
  },
11481
11493
  $$slots: { default: !0 }
11482
11494
  });
11483
- var F = C(D, 2), U = x(F);
11484
- ce(U, {
11495
+ var D = C(I, 2), B = x(D);
11496
+ ce(B, {
11485
11497
  size: "body-small",
11486
11498
  children: (N, V) => {
11487
11499
  var X = Pe();
11488
11500
  M(() => se(X, a().formatPrice(r.priceBreakdown.totalAmountInMicros, r.priceBreakdown.currency))), b(N, X);
11489
11501
  },
11490
11502
  $$slots: { default: !0 }
11491
- }), b(w, T);
11503
+ }), b(P, T);
11492
11504
  };
11493
- L(y, (w) => {
11494
- o(i) && w(k);
11505
+ L(y, (P) => {
11506
+ o(i) && P(k);
11495
11507
  });
11496
11508
  }
11497
- var P = C(y, 2), I = x(P), S = x(I);
11509
+ var w = C(y, 2), q = x(w), S = x(q);
11498
11510
  ce(S, {
11499
11511
  size: "body-small",
11500
- children: (w, T) => {
11501
- var D = Pe();
11502
- M(() => se(D, a().translate(Y.PricingTableTotalDueToday))), b(w, D);
11512
+ children: (P, T) => {
11513
+ var I = Pe();
11514
+ M(() => se(I, a().translate(Y.PricingTableTotalDueToday))), b(P, I);
11503
11515
  },
11504
11516
  $$slots: { default: !0 }
11505
11517
  });
11506
- var q = C(I, 2), B = x(q);
11507
- ce(B, {
11518
+ var F = C(q, 2), U = x(F);
11519
+ ce(U, {
11508
11520
  size: "body-small",
11509
- children: (w, T) => {
11510
- var D = de(), E = Z(D);
11521
+ children: (P, T) => {
11522
+ var I = de(), E = Z(I);
11511
11523
  {
11512
- var F = (N) => {
11524
+ var D = (N) => {
11513
11525
  var V = Pe();
11514
11526
  M(() => se(V, a().formatPrice(0, r.priceBreakdown.currency))), b(N, V);
11515
- }, U = (N) => {
11527
+ }, B = (N) => {
11516
11528
  var V = Pe();
11517
11529
  M(() => se(V, a().formatPrice(r.priceBreakdown.totalAmountInMicros, r.priceBreakdown.currency))), b(N, V);
11518
11530
  };
11519
11531
  L(E, (N) => {
11520
- o(i) ? N(F) : N(U, !1);
11532
+ o(i) ? N(D) : N(B, !1);
11521
11533
  });
11522
11534
  }
11523
- b(w, D);
11535
+ b(P, I);
11524
11536
  },
11525
11537
  $$slots: { default: !0 }
11526
11538
  }), b(m, f);
@@ -11635,43 +11647,43 @@ const mf = {
11635
11647
  };
11636
11648
  function ff(e, r) {
11637
11649
  $(r, !0), Q(e, mf);
11638
- const t = Ee(), a = () => he(n, "$translator", t), n = Fe(_r), i = /* @__PURE__ */ g(() => ({ hideSingularNumber: D }) => {
11650
+ const t = Ee(), a = () => he(n, "$translator", t), n = Fe(_r), i = /* @__PURE__ */ g(() => ({ hideSingularNumber: I }) => {
11639
11651
  const E = r.introPricePhase;
11640
11652
  if (!(E != null && E.period)) return "";
11641
- const { number: F, unit: U } = E.period, N = F * E.cycleCount;
11642
- return N === 1 && D && a().selectedLocale === xt ? a().translatePeriodUnit(U) || "" : a().translatePeriod(N, U) || "";
11653
+ const { number: D, unit: B } = E.period, N = D * E.cycleCount;
11654
+ return N === 1 && I && a().selectedLocale === xt ? a().translatePeriodUnit(B) || "" : a().translatePeriod(N, B) || "";
11643
11655
  }), s = /* @__PURE__ */ g(() => "heading-lg"), l = /* @__PURE__ */ g(() => {
11644
- var D;
11645
- return (D = r.trialPhase) != null && D.periodDuration ? "heading-md" : "heading-lg";
11656
+ var I;
11657
+ return (I = r.trialPhase) != null && I.periodDuration ? "heading-md" : "heading-lg";
11646
11658
  }), c = /* @__PURE__ */ g(() => {
11647
- var D, E;
11648
- return (D = r.trialPhase) != null && D.periodDuration || (E = r.introPricePhase) != null && E.periodDuration ? "heading-md" : "heading-lg";
11659
+ var I, E;
11660
+ return (I = r.trialPhase) != null && I.periodDuration || (E = r.introPricePhase) != null && E.periodDuration ? "heading-md" : "heading-lg";
11649
11661
  }), d = /* @__PURE__ */ g(() => {
11650
- var D;
11651
- return (D = r.trialPhase) == null ? void 0 : D.periodDuration;
11662
+ var I;
11663
+ return (I = r.trialPhase) == null ? void 0 : I.periodDuration;
11652
11664
  }), p = /* @__PURE__ */ g(() => {
11653
- var D;
11654
- return (D = r.introPricePhase) == null ? void 0 : D.periodDuration;
11665
+ var I;
11666
+ return (I = r.introPricePhase) == null ? void 0 : I.periodDuration;
11655
11667
  }), u = /* @__PURE__ */ g(() => {
11656
- var D;
11657
- return ((D = r.introPricePhase) == null ? void 0 : D.cycleCount) == 1;
11668
+ var I;
11669
+ return ((I = r.introPricePhase) == null ? void 0 : I.cycleCount) == 1;
11658
11670
  }), _ = /* @__PURE__ */ g(() => {
11659
- var D, E;
11660
- return a().formatPrice(o(p) ? ((E = (D = r.basePhase) == null ? void 0 : D.price) == null ? void 0 : E.amountMicros) ?? 0 : r.priceBreakdown.totalAmountInMicros, r.priceBreakdown.currency);
11671
+ var I, E;
11672
+ return a().formatPrice(o(p) ? ((E = (I = r.basePhase) == null ? void 0 : I.price) == null ? void 0 : E.amountMicros) ?? 0 : r.priceBreakdown.totalAmountInMicros, r.priceBreakdown.currency);
11661
11673
  }), m = /* @__PURE__ */ g(() => a().formatPrice(r.priceBreakdown.totalAmountInMicros, r.priceBreakdown.currency));
11662
11674
  var f = gf(), h = x(f);
11663
11675
  {
11664
- var v = (D) => {
11665
- var E = pf(), F = x(E);
11666
- ce(F, {
11676
+ var v = (I) => {
11677
+ var E = pf(), D = x(E);
11678
+ ce(D, {
11667
11679
  get size() {
11668
11680
  return o(s);
11669
11681
  },
11670
- children: (U, N) => {
11682
+ children: (B, N) => {
11671
11683
  var V = /* @__PURE__ */ g(() => ({
11672
11684
  trialDuration: Ld(r.trialPhase.periodDuration, a())
11673
11685
  }));
11674
- Ze(U, {
11686
+ Ze(B, {
11675
11687
  get key() {
11676
11688
  return Y.ProductInfoFreeTrialDuration;
11677
11689
  },
@@ -11681,18 +11693,18 @@ function ff(e, r) {
11681
11693
  });
11682
11694
  },
11683
11695
  $$slots: { default: !0 }
11684
- }), b(D, E);
11696
+ }), b(I, E);
11685
11697
  };
11686
- L(h, (D) => {
11698
+ L(h, (I) => {
11687
11699
  var E;
11688
- (E = r.trialPhase) != null && E.periodDuration && D(v);
11700
+ (E = r.trialPhase) != null && E.periodDuration && I(v);
11689
11701
  });
11690
11702
  }
11691
11703
  var y = C(h, 2);
11692
11704
  {
11693
- var k = (D) => {
11694
- var E = _f(), F = x(E);
11695
- ce(F, {
11705
+ var k = (I) => {
11706
+ var E = _f(), D = x(E);
11707
+ ce(D, {
11696
11708
  get size() {
11697
11709
  return o(l);
11698
11710
  },
@@ -11734,7 +11746,7 @@ function ff(e, r) {
11734
11746
  },
11735
11747
  $$slots: { default: !0 }
11736
11748
  });
11737
- var U = C(F, 2);
11749
+ var B = C(D, 2);
11738
11750
  {
11739
11751
  var N = (X) => {
11740
11752
  ce(X, {
@@ -11771,51 +11783,51 @@ function ff(e, r) {
11771
11783
  }
11772
11784
  b(X, te);
11773
11785
  };
11774
- L(U, (X) => {
11786
+ L(B, (X) => {
11775
11787
  o(u) ? X(N) : X(V, !1);
11776
11788
  });
11777
11789
  }
11778
- b(D, E);
11790
+ b(I, E);
11779
11791
  };
11780
- L(y, (D) => {
11792
+ L(y, (I) => {
11781
11793
  var E;
11782
- (E = r.introPricePhase) != null && E.periodDuration && D(k);
11794
+ (E = r.introPricePhase) != null && E.periodDuration && I(k);
11783
11795
  });
11784
11796
  }
11785
- var P = C(y, 2), I = x(P);
11786
- ce(I, {
11797
+ var w = C(y, 2), q = x(w);
11798
+ ce(q, {
11787
11799
  get size() {
11788
11800
  return o(c);
11789
11801
  },
11790
- children: (D, E) => {
11791
- var F = Pe();
11792
- M(() => se(F, o(_))), b(D, F);
11802
+ children: (I, E) => {
11803
+ var D = Pe();
11804
+ M(() => se(D, o(_))), b(I, D);
11793
11805
  },
11794
11806
  $$slots: { default: !0 }
11795
11807
  });
11796
- var S = C(I, 2);
11808
+ var S = C(q, 2);
11797
11809
  {
11798
- var q = (D) => {
11799
- ce(D, {
11810
+ var F = (I) => {
11811
+ ce(I, {
11800
11812
  size: "body-small",
11801
- children: (E, F) => {
11802
- var U = Pe();
11803
- M(() => se(U, a().translatePeriodFrequency(r.basePhase.period.number, r.basePhase.period.unit, { useMultipleWords: !0 }))), b(E, U);
11813
+ children: (E, D) => {
11814
+ var B = Pe();
11815
+ M(() => se(B, a().translatePeriodFrequency(r.basePhase.period.number, r.basePhase.period.unit, { useMultipleWords: !0 }))), b(E, B);
11804
11816
  },
11805
11817
  $$slots: { default: !0 }
11806
11818
  });
11807
11819
  };
11808
- L(S, (D) => {
11820
+ L(S, (I) => {
11809
11821
  var E;
11810
- (E = r.basePhase) != null && E.period && D(q);
11822
+ (E = r.basePhase) != null && E.period && I(F);
11811
11823
  });
11812
11824
  }
11813
- var B = C(S, 2);
11825
+ var U = C(S, 2);
11814
11826
  {
11815
- var w = (D) => {
11816
- ce(D, {
11827
+ var P = (I) => {
11828
+ ce(I, {
11817
11829
  size: "body-small",
11818
- children: (E, F) => {
11830
+ children: (E, D) => {
11819
11831
  Ze(E, {
11820
11832
  get key() {
11821
11833
  return Y.ProductInfoAfter;
@@ -11824,10 +11836,10 @@ function ff(e, r) {
11824
11836
  },
11825
11837
  $$slots: { default: !0 }
11826
11838
  });
11827
- }, T = (D) => {
11828
- var E = de(), F = Z(E);
11839
+ }, T = (I) => {
11840
+ var E = de(), D = Z(E);
11829
11841
  {
11830
- var U = (N) => {
11842
+ var B = (N) => {
11831
11843
  ce(N, {
11832
11844
  size: "body-small",
11833
11845
  children: (V, X) => {
@@ -11841,17 +11853,17 @@ function ff(e, r) {
11841
11853
  });
11842
11854
  };
11843
11855
  L(
11844
- F,
11856
+ D,
11845
11857
  (N) => {
11846
- o(d) && N(U);
11858
+ o(d) && N(B);
11847
11859
  },
11848
11860
  !0
11849
11861
  );
11850
11862
  }
11851
- b(D, E);
11863
+ b(I, E);
11852
11864
  };
11853
- L(B, (D) => {
11854
- o(p) ? D(w) : D(T, !1);
11865
+ L(U, (I) => {
11866
+ o(p) ? I(P) : I(T, !1);
11855
11867
  });
11856
11868
  }
11857
11869
  b(e, f), G();
@@ -12095,30 +12107,30 @@ function Gf(e, r) {
12095
12107
  var u = Yf(), _ = C(x(u), 2), m = x(_);
12096
12108
  ce(m, {
12097
12109
  size: "caption-default",
12098
- children: (k, P) => {
12099
- var I = Vf();
12100
- b(k, I);
12110
+ children: (k, w) => {
12111
+ var q = Vf();
12112
+ b(k, q);
12101
12113
  },
12102
12114
  $$slots: { default: !0 }
12103
12115
  });
12104
12116
  var f = C(_, 2), h = x(f);
12105
12117
  {
12106
12118
  var v = (k) => {
12107
- var P = Hf(), I = x(P);
12108
- Rf(I);
12109
- var S = C(I, 2);
12119
+ var w = Hf(), q = x(w);
12120
+ Rf(q);
12121
+ var S = C(q, 2);
12110
12122
  ce(S, {
12111
12123
  size: "caption-link",
12112
- children: (q, B) => {
12113
- var w = Wf();
12114
- b(q, w);
12124
+ children: (F, U) => {
12125
+ var P = Wf();
12126
+ b(F, P);
12115
12127
  },
12116
12128
  $$slots: { default: !0 }
12117
- }), M(() => j(P, "href", n().sandbox_configuration.checkout_feedback_form_url)), b(k, P);
12129
+ }), M(() => j(w, "href", n().sandbox_configuration.checkout_feedback_form_url)), b(k, w);
12118
12130
  };
12119
12131
  L(h, (k) => {
12120
- var P;
12121
- (P = n()) != null && P.sandbox_configuration && k(v);
12132
+ var w;
12133
+ (w = n()) != null && w.sandbox_configuration && k(v);
12122
12134
  });
12123
12135
  }
12124
12136
  var y = C(h, 2);
@@ -12203,13 +12215,13 @@ function eh(e, r) {
12203
12215
  var m = Jf(), f = Z(m);
12204
12216
  {
12205
12217
  var h = (k) => {
12206
- var P = /* @__PURE__ */ g(() => {
12207
- var I;
12208
- return (I = r.brandingInfo) == null ? void 0 : I.appearance;
12218
+ var w = /* @__PURE__ */ g(() => {
12219
+ var q;
12220
+ return (q = r.brandingInfo) == null ? void 0 : q.appearance;
12209
12221
  });
12210
12222
  jf(k, {
12211
12223
  get brandingAppearance() {
12212
- return o(P);
12224
+ return o(w);
12213
12225
  },
12214
12226
  get headerContent() {
12215
12227
  return r.navbarHeaderContent;
@@ -12231,9 +12243,9 @@ function eh(e, r) {
12231
12243
  get brandingAppearance() {
12232
12244
  return o(y);
12233
12245
  },
12234
- children: (k, P) => {
12235
- var I = de(), S = Z(I);
12236
- Oe(S, () => r.mainContent ?? ge), b(k, I);
12246
+ children: (k, w) => {
12247
+ var q = de(), S = Z(q);
12248
+ Oe(S, () => r.mainContent ?? ge), b(k, q);
12237
12249
  },
12238
12250
  $$slots: { default: !0 }
12239
12251
  }), b(u, m);
@@ -12323,35 +12335,35 @@ const fh = {
12323
12335
  };
12324
12336
  function hh(e, r) {
12325
12337
  $(r, !0), Q(e, fh);
12326
- const t = (w) => w == null || w == null || w == "" ? null : w, a = /* @__PURE__ */ g(() => {
12327
- var w;
12328
- return t((w = r.brandingInfo) == null ? void 0 : w.app_icon);
12338
+ const t = (P) => P == null || P == null || P == "" ? null : P, a = /* @__PURE__ */ g(() => {
12339
+ var P;
12340
+ return t((P = r.brandingInfo) == null ? void 0 : P.app_icon);
12329
12341
  }), n = /* @__PURE__ */ g(() => {
12330
- var w;
12331
- return t((w = r.brandingInfo) == null ? void 0 : w.app_icon_webp);
12342
+ var P;
12343
+ return t((P = r.brandingInfo) == null ? void 0 : P.app_icon_webp);
12332
12344
  }), i = /* @__PURE__ */ g(() => {
12333
- var w;
12334
- return t((w = r.brandingInfo) == null ? void 0 : w.app_wordmark);
12345
+ var P;
12346
+ return t((P = r.brandingInfo) == null ? void 0 : P.app_wordmark);
12335
12347
  }), s = /* @__PURE__ */ g(() => {
12336
- var w;
12337
- return t((w = r.brandingInfo) == null ? void 0 : w.app_wordmark_webp);
12348
+ var P;
12349
+ return t((P = r.brandingInfo) == null ? void 0 : P.app_wordmark_webp);
12338
12350
  }), l = /* @__PURE__ */ g(() => o(a) ? ta(o(a)) : null), c = /* @__PURE__ */ g(() => o(n) ? ta(o(n)) : null), d = /* @__PURE__ */ g(() => o(i) ? ta(o(i)) : null), p = /* @__PURE__ */ g(() => o(s) ? ta(o(s)) : null), u = () => {
12339
12351
  r.onClose && r.onClose();
12340
12352
  };
12341
12353
  var _ = mh(), m = x(_);
12342
12354
  {
12343
- var f = (w) => {
12344
- var T = _h(), D = x(T);
12345
- lh(D, { $$events: { click: u } }), b(w, T);
12355
+ var f = (P) => {
12356
+ var T = _h(), I = x(T);
12357
+ lh(I, { $$events: { click: u } }), b(P, T);
12346
12358
  };
12347
- L(m, (w) => {
12348
- r.showCloseButton && w(f);
12359
+ L(m, (P) => {
12360
+ r.showCloseButton && P(f);
12349
12361
  });
12350
12362
  }
12351
12363
  var h = C(m, 2), v = x(h), y = x(v);
12352
12364
  {
12353
- var k = (w) => {
12354
- ph(w, {
12365
+ var k = (P) => {
12366
+ ph(P, {
12355
12367
  get src() {
12356
12368
  return o(d);
12357
12369
  },
@@ -12359,11 +12371,11 @@ function hh(e, r) {
12359
12371
  return o(p);
12360
12372
  }
12361
12373
  });
12362
- }, P = (w) => {
12363
- var T = de(), D = Z(T);
12374
+ }, w = (P) => {
12375
+ var T = de(), I = Z(T);
12364
12376
  {
12365
- var E = (F) => {
12366
- oh(F, {
12377
+ var E = (D) => {
12378
+ oh(D, {
12367
12379
  get src() {
12368
12380
  return o(l);
12369
12381
  },
@@ -12373,46 +12385,46 @@ function hh(e, r) {
12373
12385
  });
12374
12386
  };
12375
12387
  L(
12376
- D,
12377
- (F) => {
12378
- o(l) !== null && o(c) !== null && F(E);
12388
+ I,
12389
+ (D) => {
12390
+ o(l) !== null && o(c) !== null && D(E);
12379
12391
  },
12380
12392
  !0
12381
12393
  );
12382
12394
  }
12383
- b(w, T);
12395
+ b(P, T);
12384
12396
  };
12385
- L(y, (w) => {
12386
- o(d) !== null ? w(k) : w(P, !1);
12397
+ L(y, (P) => {
12398
+ o(d) !== null ? P(k) : P(w, !1);
12387
12399
  });
12388
12400
  }
12389
- var I = C(y, 2);
12401
+ var q = C(y, 2);
12390
12402
  {
12391
- var S = (w) => {
12392
- ce(w, {
12403
+ var S = (P) => {
12404
+ ce(P, {
12393
12405
  size: "body-base",
12394
- children: (T, D) => {
12406
+ children: (T, I) => {
12395
12407
  var E = Pe();
12396
12408
  M(() => {
12397
- var F;
12398
- return se(E, (F = r.brandingInfo) == null ? void 0 : F.app_name);
12409
+ var D;
12410
+ return se(E, (D = r.brandingInfo) == null ? void 0 : D.app_name);
12399
12411
  }), b(T, E);
12400
12412
  },
12401
12413
  $$slots: { default: !0 }
12402
12414
  });
12403
12415
  };
12404
- L(I, (w) => {
12405
- o(d) === null && w(S);
12416
+ L(q, (P) => {
12417
+ o(d) === null && P(S);
12406
12418
  });
12407
12419
  }
12408
- var q = C(h, 2);
12420
+ var F = C(h, 2);
12409
12421
  {
12410
- var B = (w) => {
12411
- var T = gh(), D = x(T);
12412
- Qs(D, { $$events: { click: u } }), b(w, T);
12422
+ var U = (P) => {
12423
+ var T = gh(), I = x(T);
12424
+ Qs(I, { $$events: { click: u } }), b(P, T);
12413
12425
  };
12414
- L(q, (w) => {
12415
- r.showCloseButton && w(B);
12426
+ L(F, (P) => {
12427
+ r.showCloseButton && P(U);
12416
12428
  });
12417
12429
  }
12418
12430
  M(() => lt(_, "rcb-with-close-button", r.showCloseButton)), b(e, _), G();
@@ -12482,17 +12494,17 @@ function vh(e, r) {
12482
12494
  mainContent: (d) => {
12483
12495
  var p = yh(), u = Z(p);
12484
12496
  {
12485
- var _ = (P) => {
12486
- Hm(P);
12497
+ var _ = (w) => {
12498
+ Hm(w);
12487
12499
  };
12488
- L(u, (P) => {
12489
- r.currentPage === "payment-entry-loading" && P(_);
12500
+ L(u, (w) => {
12501
+ r.currentPage === "payment-entry-loading" && w(_);
12490
12502
  });
12491
12503
  }
12492
12504
  var m = C(u, 2);
12493
12505
  {
12494
- var f = (P) => {
12495
- cm(P, {
12506
+ var f = (w) => {
12507
+ cm(w, {
12496
12508
  get productDetails() {
12497
12509
  return r.productDetails;
12498
12510
  },
@@ -12514,6 +12526,9 @@ function vh(e, r) {
12514
12526
  get customerEmail() {
12515
12527
  return r.customerEmail;
12516
12528
  },
12529
+ get forceEnableWalletMethods() {
12530
+ return r.forceEnableWalletMethods;
12531
+ },
12517
12532
  get defaultPriceBreakdown() {
12518
12533
  return r.defaultPriceBreakdown;
12519
12534
  },
@@ -12529,21 +12544,21 @@ function vh(e, r) {
12529
12544
  onPriceBreakdownUpdated: i
12530
12545
  });
12531
12546
  };
12532
- L(m, (P) => {
12533
- r.currentPage === "payment-entry" && P(f);
12547
+ L(m, (w) => {
12548
+ r.currentPage === "payment-entry" && w(f);
12534
12549
  });
12535
12550
  }
12536
12551
  var h = C(m, 2);
12537
12552
  {
12538
- var v = (P) => {
12539
- var I = /* @__PURE__ */ g(() => {
12540
- var q;
12541
- return ((q = r.brandingInfo) == null ? void 0 : q.support_email) ?? null;
12553
+ var v = (w) => {
12554
+ var q = /* @__PURE__ */ g(() => {
12555
+ var F;
12556
+ return ((F = r.brandingInfo) == null ? void 0 : F.support_email) ?? null;
12542
12557
  }), S = /* @__PURE__ */ g(() => {
12543
- var q;
12544
- return ((q = r.brandingInfo) == null ? void 0 : q.app_name) ?? null;
12558
+ var F;
12559
+ return ((F = r.brandingInfo) == null ? void 0 : F.app_name) ?? null;
12545
12560
  });
12546
- Vm(P, {
12561
+ Vm(w, {
12547
12562
  get lastError() {
12548
12563
  return r.lastError;
12549
12564
  },
@@ -12551,7 +12566,7 @@ function vh(e, r) {
12551
12566
  return r.productDetails;
12552
12567
  },
12553
12568
  get supportEmail() {
12554
- return o(I);
12569
+ return o(q);
12555
12570
  },
12556
12571
  get onDismiss() {
12557
12572
  return r.closeWithError;
@@ -12561,21 +12576,21 @@ function vh(e, r) {
12561
12576
  }
12562
12577
  });
12563
12578
  };
12564
- L(h, (P) => {
12565
- r.currentPage === "error" && P(v);
12579
+ L(h, (w) => {
12580
+ r.currentPage === "error" && w(v);
12566
12581
  });
12567
12582
  }
12568
12583
  var y = C(h, 2);
12569
12584
  {
12570
- var k = (P) => {
12571
- Wm(P, {
12585
+ var k = (w) => {
12586
+ Wm(w, {
12572
12587
  get onContinue() {
12573
12588
  return r.onContinue;
12574
12589
  }
12575
12590
  });
12576
12591
  };
12577
- L(y, (P) => {
12578
- r.currentPage === "success" && P(k);
12592
+ L(y, (w) => {
12593
+ r.currentPage === "success" && w(k);
12579
12594
  });
12580
12595
  }
12581
12596
  b(d, p);
@@ -12597,44 +12612,46 @@ function kh(e) {
12597
12612
  }
12598
12613
  }
12599
12614
  function wh(e, r) {
12600
- var B;
12615
+ var P;
12601
12616
  $(r, !0);
12602
12617
  const t = W(r, "customTranslations", 19, () => ({})), a = W(r, "skipSuccessPage", 3, !1), n = r.customerEmail ? bh(r.customerEmail) : null;
12603
12618
  let i = J(H(n ? void 0 : r.customerEmail)), s = r.rcPackage.webBillingProduct, l = J(null);
12604
12619
  const c = r.rcPackage.webBillingProduct.identifier ?? null;
12605
12620
  let d = J("payment-entry-loading"), p = J(null), u = J(H({})), _ = J(null), m = J(null), f = J(null), h = J(null), v = new fn(t(), r.selectedLocale, r.defaultLocale), y = hn(v);
12606
- $r(_r, y), $r(So, (B = r.brandingInfo) == null ? void 0 : B.appearance), Qe(() => {
12621
+ $r(_r, y), $r(So, (P = r.brandingInfo) == null ? void 0 : P.appearance), Qe(() => {
12607
12622
  r.isInElement || (z(m, H(document.documentElement.style.height)), z(f, H(document.documentElement.style.overflow)), z(h, H(document.body.style.height)), document.documentElement.style.height = "100%", document.body.style.height = "100%", document.documentElement.style.overflow = "hidden");
12608
12623
  }), Ta(() => {
12609
12624
  if (!r.isInElement) {
12610
- const w = (T, D, E) => {
12611
- E === "" ? T.style.removeProperty(D) : T.style.setProperty(D, E);
12625
+ const T = (I, E, D) => {
12626
+ D === "" ? I.style.removeProperty(E) : I.style.setProperty(E, D);
12612
12627
  };
12613
- w(document.documentElement, "height", o(m)), w(document.body, "height", o(h)), w(document.documentElement, "overflow", o(f));
12628
+ T(document.documentElement, "height", o(m)), T(document.body, "height", o(h)), T(document.documentElement, "overflow", o(f));
12614
12629
  }
12615
- }), $r(Eo, r.eventsTracker), Qe(async () => {
12630
+ }), $r(Eo, r.eventsTracker);
12631
+ let k = H(typeof r.purchases._shouldForceEnableWalletMethods == "function" ? r.purchases._shouldForceEnableWalletMethods() : !1);
12632
+ Qe(async () => {
12616
12633
  if (c === null) {
12617
- P(new xe(ke.ErrorSettingUpPurchase, "Product ID was not set before purchase."));
12634
+ q(new xe(ke.ErrorSettingUpPurchase, "Product ID was not set before purchase."));
12618
12635
  return;
12619
12636
  }
12620
- r.purchaseOperationHelper.checkoutStart(r.appUserId, c, r.purchaseOption, r.rcPackage.webBillingProduct.presentedOfferingContext, o(i), r.metadata).then((w) => {
12621
- z(l, null), z(d, "payment-entry"), z(u, H(w.gateway_params)), z(_, H(w.management_url));
12622
- }).catch((w) => {
12623
- if (w.errorCode === ke.MissingEmailError)
12624
- return z(i, void 0), r.purchaseOperationHelper.checkoutStart(r.appUserId, c, r.purchaseOption, r.rcPackage.webBillingProduct.presentedOfferingContext, o(i), r.metadata).then((T) => {
12625
- z(l, null), z(d, "payment-entry"), z(u, H(T.gateway_params)), z(_, H(T.management_url));
12626
- }).catch((T) => {
12627
- P(T);
12637
+ r.purchaseOperationHelper.checkoutStart(r.appUserId, c, r.purchaseOption, r.rcPackage.webBillingProduct.presentedOfferingContext, o(i), r.metadata).then((T) => {
12638
+ z(l, null), z(d, "payment-entry"), z(u, H(T.gateway_params)), z(_, H(T.management_url));
12639
+ }).catch((T) => {
12640
+ if (T.errorCode === ke.MissingEmailError)
12641
+ return z(i, void 0), r.purchaseOperationHelper.checkoutStart(r.appUserId, c, r.purchaseOption, r.rcPackage.webBillingProduct.presentedOfferingContext, o(i), r.metadata).then((I) => {
12642
+ z(l, null), z(d, "payment-entry"), z(u, H(I.gateway_params)), z(_, H(I.management_url));
12643
+ }).catch((I) => {
12644
+ q(I);
12628
12645
  });
12629
- P(w);
12646
+ q(T);
12630
12647
  });
12631
12648
  });
12632
- const k = () => {
12649
+ const w = () => {
12633
12650
  if (o(d) === "payment-entry") {
12634
- r.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then((w) => {
12635
- z(p, H(w)), a() ? r.onFinished(w) : z(d, "success");
12636
- }).catch((w) => {
12637
- P(w);
12651
+ r.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then((T) => {
12652
+ z(p, H(T)), a() ? r.onFinished(T) : z(d, "success");
12653
+ }).catch((T) => {
12654
+ q(T);
12638
12655
  });
12639
12656
  return;
12640
12657
  }
@@ -12643,19 +12660,19 @@ function wh(e, r) {
12643
12660
  return;
12644
12661
  }
12645
12662
  z(d, "success");
12646
- }, P = (w) => {
12647
- const T = K_({
12648
- errorCode: w.getErrorCode().toString(),
12649
- errorMessage: w.message
12663
+ }, q = (T) => {
12664
+ const I = K_({
12665
+ errorCode: T.getErrorCode().toString(),
12666
+ errorMessage: T.message
12650
12667
  });
12651
- r.eventsTracker.trackSDKEvent(T), z(l, H(w)), z(d, "error");
12652
- }, I = () => {
12668
+ r.eventsTracker.trackSDKEvent(I), z(l, H(T)), z(d, "error");
12669
+ }, S = () => {
12653
12670
  r.onError(o(l) ?? new xe(ke.UnknownError, "Unknown error without state set."));
12654
12671
  };
12655
- var S = /* @__PURE__ */ g(() => r.purchases.isSandbox()), q = /* @__PURE__ */ g(() => o(i) ?? null);
12672
+ var F = /* @__PURE__ */ g(() => r.purchases.isSandbox()), U = /* @__PURE__ */ g(() => o(i) ?? null);
12656
12673
  vh(e, {
12657
12674
  get isSandbox() {
12658
- return o(S);
12675
+ return o(F);
12659
12676
  },
12660
12677
  get currentPage() {
12661
12678
  return o(d);
@@ -12685,12 +12702,15 @@ function wh(e, r) {
12685
12702
  get termsAndConditionsUrl() {
12686
12703
  return r.termsAndConditionsUrl;
12687
12704
  },
12705
+ get forceEnableWalletMethods() {
12706
+ return k;
12707
+ },
12688
12708
  get customerEmail() {
12689
- return o(q);
12709
+ return o(U);
12690
12710
  },
12691
- closeWithError: I,
12692
- onContinue: k,
12693
- onError: P,
12711
+ closeWithError: S,
12712
+ onContinue: w,
12713
+ onError: q,
12694
12714
  get onClose() {
12695
12715
  return r.onClose;
12696
12716
  }
@@ -12896,7 +12916,7 @@ function Dh(e) {
12896
12916
  }
12897
12917
  return r;
12898
12918
  }
12899
- const tl = "1.18.3", Fh = "https://api.revenuecat.com", Ah = "https://e.revenue.cat";
12919
+ const tl = "1.18.4", Fh = "https://api.revenuecat.com", Ah = "https://e.revenue.cat";
12900
12920
  var an;
12901
12921
  (function(e) {
12902
12922
  e[e.CONTINUE = 100] = "CONTINUE", e[e.SWITCHING_PROTOCOLS = 101] = "SWITCHING_PROTOCOLS", e[e.PROCESSING = 102] = "PROCESSING", e[e.EARLY_HINTS = 103] = "EARLY_HINTS", e[e.OK = 200] = "OK", e[e.CREATED = 201] = "CREATED", e[e.ACCEPTED = 202] = "ACCEPTED", e[e.NON_AUTHORITATIVE_INFORMATION = 203] = "NON_AUTHORITATIVE_INFORMATION", e[e.NO_CONTENT = 204] = "NO_CONTENT", e[e.RESET_CONTENT = 205] = "RESET_CONTENT", e[e.PARTIAL_CONTENT = 206] = "PARTIAL_CONTENT", e[e.MULTI_STATUS = 207] = "MULTI_STATUS", e[e.MULTIPLE_CHOICES = 300] = "MULTIPLE_CHOICES", e[e.MOVED_PERMANENTLY = 301] = "MOVED_PERMANENTLY", e[e.MOVED_TEMPORARILY = 302] = "MOVED_TEMPORARILY", e[e.SEE_OTHER = 303] = "SEE_OTHER", e[e.NOT_MODIFIED = 304] = "NOT_MODIFIED", e[e.USE_PROXY = 305] = "USE_PROXY", e[e.TEMPORARY_REDIRECT = 307] = "TEMPORARY_REDIRECT", e[e.PERMANENT_REDIRECT = 308] = "PERMANENT_REDIRECT", e[e.BAD_REQUEST = 400] = "BAD_REQUEST", e[e.UNAUTHORIZED = 401] = "UNAUTHORIZED", e[e.PAYMENT_REQUIRED = 402] = "PAYMENT_REQUIRED", e[e.FORBIDDEN = 403] = "FORBIDDEN", e[e.NOT_FOUND = 404] = "NOT_FOUND", e[e.METHOD_NOT_ALLOWED = 405] = "METHOD_NOT_ALLOWED", e[e.NOT_ACCEPTABLE = 406] = "NOT_ACCEPTABLE", e[e.PROXY_AUTHENTICATION_REQUIRED = 407] = "PROXY_AUTHENTICATION_REQUIRED", e[e.REQUEST_TIMEOUT = 408] = "REQUEST_TIMEOUT", e[e.CONFLICT = 409] = "CONFLICT", e[e.GONE = 410] = "GONE", e[e.LENGTH_REQUIRED = 411] = "LENGTH_REQUIRED", e[e.PRECONDITION_FAILED = 412] = "PRECONDITION_FAILED", e[e.REQUEST_TOO_LONG = 413] = "REQUEST_TOO_LONG", e[e.REQUEST_URI_TOO_LONG = 414] = "REQUEST_URI_TOO_LONG", e[e.UNSUPPORTED_MEDIA_TYPE = 415] = "UNSUPPORTED_MEDIA_TYPE", e[e.REQUESTED_RANGE_NOT_SATISFIABLE = 416] = "REQUESTED_RANGE_NOT_SATISFIABLE", e[e.EXPECTATION_FAILED = 417] = "EXPECTATION_FAILED", e[e.IM_A_TEAPOT = 418] = "IM_A_TEAPOT", e[e.INSUFFICIENT_SPACE_ON_RESOURCE = 419] = "INSUFFICIENT_SPACE_ON_RESOURCE", e[e.METHOD_FAILURE = 420] = "METHOD_FAILURE", e[e.MISDIRECTED_REQUEST = 421] = "MISDIRECTED_REQUEST", e[e.UNPROCESSABLE_ENTITY = 422] = "UNPROCESSABLE_ENTITY", e[e.LOCKED = 423] = "LOCKED", e[e.FAILED_DEPENDENCY = 424] = "FAILED_DEPENDENCY", e[e.UPGRADE_REQUIRED = 426] = "UPGRADE_REQUIRED", e[e.PRECONDITION_REQUIRED = 428] = "PRECONDITION_REQUIRED", e[e.TOO_MANY_REQUESTS = 429] = "TOO_MANY_REQUESTS", e[e.REQUEST_HEADER_FIELDS_TOO_LARGE = 431] = "REQUEST_HEADER_FIELDS_TOO_LARGE", e[e.UNAVAILABLE_FOR_LEGAL_REASONS = 451] = "UNAVAILABLE_FOR_LEGAL_REASONS", e[e.INTERNAL_SERVER_ERROR = 500] = "INTERNAL_SERVER_ERROR", e[e.NOT_IMPLEMENTED = 501] = "NOT_IMPLEMENTED", e[e.BAD_GATEWAY = 502] = "BAD_GATEWAY", e[e.SERVICE_UNAVAILABLE = 503] = "SERVICE_UNAVAILABLE", e[e.GATEWAY_TIMEOUT = 504] = "GATEWAY_TIMEOUT", e[e.HTTP_VERSION_NOT_SUPPORTED = 505] = "HTTP_VERSION_NOT_SUPPORTED", e[e.INSUFFICIENT_STORAGE = 507] = "INSUFFICIENT_STORAGE", e[e.NETWORK_AUTHENTICATION_REQUIRED = 511] = "NETWORK_AUTHENTICATION_REQUIRED";
@@ -14099,36 +14119,36 @@ function Vy(e, r) {
14099
14119
  N.target === N.currentTarget && d()();
14100
14120
  }
14101
14121
  kr();
14102
- var u = Uy(), _ = x(u), m = x(_), f = C(x(m), 2), h = x(f), v = x(h), y = C(x(v)), k = C(v, 2), P = C(x(k)), I = C(k, 2), S = C(x(I)), q = C(I, 2);
14122
+ var u = Uy(), _ = x(u), m = x(_), f = C(x(m), 2), h = x(f), v = x(h), y = C(x(v)), k = C(v, 2), w = C(x(k)), q = C(k, 2), S = C(x(q)), F = C(q, 2);
14103
14123
  {
14104
- var B = (N) => {
14124
+ var U = (N) => {
14105
14125
  var V = Ly(), X = C(x(V));
14106
14126
  M(() => se(X, ` ${i() ?? ""}`)), b(N, V);
14107
14127
  };
14108
- L(q, (N) => {
14109
- i() && N(B);
14128
+ L(F, (N) => {
14129
+ i() && N(U);
14110
14130
  });
14111
14131
  }
14112
- var w = C(q, 2);
14132
+ var P = C(F, 2);
14113
14133
  {
14114
14134
  var T = (N) => {
14115
14135
  var V = By(), X = C(x(V));
14116
14136
  M(() => se(X, ` ${s() ?? ""}`)), b(N, V);
14117
14137
  };
14118
- L(w, (N) => {
14138
+ L(P, (N) => {
14119
14139
  s() && N(T);
14120
14140
  });
14121
14141
  }
14122
- var D = C(f, 2), E = x(D), F = C(E, 2), U = C(F, 2);
14142
+ var I = C(f, 2), E = x(I), D = C(E, 2), B = C(D, 2);
14123
14143
  M(() => {
14124
- se(y, ` ${t() ?? ""}`), se(P, ` ${a() ?? ""}`), se(S, ` ${n() ?? ""}`);
14144
+ se(y, ` ${t() ?? ""}`), se(w, ` ${a() ?? ""}`), se(S, ` ${n() ?? ""}`);
14125
14145
  }), Tr("click", E, function(...N) {
14126
14146
  var V;
14127
14147
  (V = l()) == null || V.apply(this, N);
14128
- }), Tr("click", F, function(...N) {
14148
+ }), Tr("click", D, function(...N) {
14129
14149
  var V;
14130
14150
  (V = c()) == null || V.apply(this, N);
14131
- }), Tr("click", U, function(...N) {
14151
+ }), Tr("click", B, function(...N) {
14132
14152
  var V;
14133
14153
  (V = d()) == null || V.apply(this, N);
14134
14154
  }), Tr("click", u, p), b(e, u), G();
@@ -14467,17 +14487,17 @@ const He = class He {
14467
14487
  "No ui_config found for this offering, please contact support!"
14468
14488
  );
14469
14489
  const s = (v, y) => {
14470
- const k = {}, P = (q) => q.toLowerCase().split("_")[0];
14471
- Object.keys(v.components_localizations).forEach((q) => {
14472
- k[P(q)] === void 0 && (k[P(q)] = []), k[P(q)].push(q);
14490
+ const k = {}, w = (F) => F.toLowerCase().split("_")[0];
14491
+ Object.keys(v.components_localizations).forEach((F) => {
14492
+ k[w(F)] === void 0 && (k[w(F)] = []), k[w(F)].push(F);
14473
14493
  });
14474
- const I = k[P(y)];
14475
- if (!I)
14494
+ const q = k[w(y)];
14495
+ if (!q)
14476
14496
  return v.default_locale;
14477
- const S = I.find(
14478
- (q) => q.toLowerCase() === y
14497
+ const S = q.find(
14498
+ (F) => F.toLowerCase() === y
14479
14499
  );
14480
- return S || I[0];
14500
+ return S || q[0];
14481
14501
  }, l = r.selectedLocale ? r.selectedLocale : navigator.language, c = s(
14482
14502
  i.paywallComponents,
14483
14503
  l
@@ -14488,7 +14508,7 @@ const He = class He {
14488
14508
  ), p = (v) => {
14489
14509
  var k;
14490
14510
  const y = i.availablePackages.find(
14491
- (P) => P.identifier === v
14511
+ (w) => w.identifier === v
14492
14512
  );
14493
14513
  if (y === void 0)
14494
14514
  throw new Error(`No package found for ${v}`);
@@ -14534,12 +14554,12 @@ const He = class He {
14534
14554
  k !== null && (k == null || k.unmount()), n.innerHTML = "", re.debugLog("Purchase cancelled by user"), y(new De(Me.UserCancelledError));
14535
14555
  },
14536
14556
  onRestorePurchasesClicked: _,
14537
- onPurchaseClicked: (P) => {
14538
- p(P).then((I) => {
14539
- v(I);
14540
- }).catch((I) => y(I));
14557
+ onPurchaseClicked: (w) => {
14558
+ p(w).then((q) => {
14559
+ v(q);
14560
+ }).catch((q) => y(q));
14541
14561
  },
14542
- onError: (P) => y(P),
14562
+ onError: (w) => y(w),
14543
14563
  variablesPerPackage: f,
14544
14564
  infoPerPackage: h
14545
14565
  }
@@ -14617,7 +14637,7 @@ const He = class He {
14617
14637
  });
14618
14638
  }
14619
14639
  async purchase(r) {
14620
- var I;
14640
+ var q;
14621
14641
  const {
14622
14642
  rcPackage: t,
14623
14643
  purchaseOption: a,
@@ -14649,7 +14669,7 @@ const He = class He {
14649
14669
  `Presenting purchase form for package ${t.identifier}`
14650
14670
  );
14651
14671
  const _ = s || l, m = a ?? t.webBillingProduct.defaultPurchaseOption, f = J_({
14652
- appearance: (I = this._brandingInfo) == null ? void 0 : I.appearance,
14672
+ appearance: (q = this._brandingInfo) == null ? void 0 : q.appearance,
14653
14673
  rcPackage: t,
14654
14674
  purchaseOptionToUse: m,
14655
14675
  customerEmail: i
@@ -14659,27 +14679,27 @@ const He = class He {
14659
14679
  let y = null;
14660
14680
  const k = this._brandingInfo;
14661
14681
  k && r.brandingAppearanceOverride && (k.appearance = r.brandingAppearanceOverride);
14662
- const P = n !== void 0;
14663
- return new Promise((S, q) => {
14664
- P || window.history.pushState({ checkoutOpen: !0 }, "");
14665
- const w = this._flags.rcSource && Oy.includes(this._flags.rcSource) ? void 0 : () => {
14682
+ const w = n !== void 0;
14683
+ return new Promise((S, F) => {
14684
+ w || window.history.pushState({ checkoutOpen: !0 }, "");
14685
+ const P = this._flags.rcSource && Oy.includes(this._flags.rcSource) ? void 0 : () => {
14666
14686
  const E = eg();
14667
- this.eventsTracker.trackSDKEvent(E), window.removeEventListener("popstate", w), y && Ua(y), p.innerHTML = "", re.debugLog("Purchase cancelled by user"), q(new De(Me.UserCancelledError));
14687
+ this.eventsTracker.trackSDKEvent(E), window.removeEventListener("popstate", P), y && Ua(y), p.innerHTML = "", re.debugLog("Purchase cancelled by user"), F(new De(Me.UserCancelledError));
14668
14688
  };
14669
- !P && w && window.addEventListener("popstate", w), y = Rn(wh, {
14689
+ !w && P && window.addEventListener("popstate", P), y = Rn(wh, {
14670
14690
  target: p,
14671
14691
  props: {
14672
- isInElement: P,
14692
+ isInElement: w,
14673
14693
  appUserId: u,
14674
14694
  rcPackage: t,
14675
14695
  purchaseOption: m,
14676
14696
  customerEmail: i,
14677
14697
  onFinished: async (E) => {
14678
- const F = Q_({
14698
+ const D = Q_({
14679
14699
  redemptionInfo: E.redemptionInfo
14680
14700
  });
14681
- this.eventsTracker.trackSDKEvent(F), this.inMemoryCache.invalidateAllCaches(), re.debugLog("Purchase finished"), y && Ua(y), p.innerHTML = "";
14682
- const U = {
14701
+ this.eventsTracker.trackSDKEvent(D), this.inMemoryCache.invalidateAllCaches(), re.debugLog("Purchase finished"), y && Ua(y), p.innerHTML = "";
14702
+ const B = {
14683
14703
  customerInfo: await this._getCustomerInfoForUserId(u),
14684
14704
  redemptionInfo: E.redemptionInfo,
14685
14705
  operationSessionId: E.operationSessionId,
@@ -14689,16 +14709,16 @@ const He = class He {
14689
14709
  purchaseDate: E.purchaseDate
14690
14710
  }
14691
14711
  };
14692
- S(U);
14712
+ S(B);
14693
14713
  },
14694
- onClose: w,
14714
+ onClose: P,
14695
14715
  onError: (E) => {
14696
- var U;
14697
- const F = rg({
14698
- errorCode: (U = E.errorCode) == null ? void 0 : U.toString(),
14716
+ var B;
14717
+ const D = rg({
14718
+ errorCode: (B = E.errorCode) == null ? void 0 : B.toString(),
14699
14719
  errorMessage: E.message
14700
14720
  });
14701
- this.eventsTracker.trackSDKEvent(F), y && Ua(y), p.innerHTML = "", q(De.getForPurchasesFlowError(E));
14721
+ this.eventsTracker.trackSDKEvent(D), y && Ua(y), p.innerHTML = "", F(De.getForPurchasesFlowError(E));
14702
14722
  },
14703
14723
  purchases: this,
14704
14724
  eventsTracker: this.eventsTracker,
@@ -14721,6 +14741,13 @@ const He = class He {
14721
14741
  _isConfiguredWithSimulatedStore() {
14722
14742
  return wt(this._API_KEY);
14723
14743
  }
14744
+ /**
14745
+ * Whether wallet methods should be force-enabled in the Express Checkout Element.
14746
+ * @internal
14747
+ */
14748
+ _shouldForceEnableWalletMethods() {
14749
+ return !!this._flags.forceEnableWalletMethods;
14750
+ }
14724
14751
  /**
14725
14752
  * Posts a simulated store receipt to the server.
14726
14753
  * @internal