@revolugo/elements 6.10.1 → 6.10.2-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/css/{revolugo.cancellationpoliciesbadge.DpWJjD3n.css → revolugo.cancellationpoliciesbadge.yH2tLozQ.css} +1 -1
  2. package/dist/css/{revolugo.webcomponentwrapper.DToKAESq.css → revolugo.webcomponentwrapper.BwjlbQmE.css} +1 -1
  3. package/dist/index.es.min.js +9 -9
  4. package/dist/index.es.min.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist/{revolugo.banktransferdetails.DjzOKXdQ.min.js → revolugo.banktransferdetails.BJRLbBEQ.min.js} +9 -9
  8. package/dist/{revolugo.bookingdetailssidebar.BFtwNk8j.min.js → revolugo.bookingdetailssidebar.mZ6o58Xp.min.js} +9 -9
  9. package/dist/revolugo.bookingmanager.Dd-5ho0N.min.js +26 -0
  10. package/dist/revolugo.cancellationpoliciesbadge.DQ6gH_Ms.min.js +26 -0
  11. package/dist/{revolugo.cancellationpoliciesbadge.props.Dl4QithG.min.js → revolugo.cancellationpoliciesbadge.props.CQ-jezof.min.js} +15004 -14283
  12. package/dist/{revolugo.cancellationpolicieslist.DIwdNsCZ.min.js → revolugo.cancellationpolicieslist.RiH853fC.min.js} +9 -9
  13. package/dist/{revolugo.creditcardstripeform.NRr470ha.min.js → revolugo.creditcardstripeform.DnIub20X.min.js} +241 -241
  14. package/dist/{revolugo.creditcardstripeform.CGSnX49g.min.js → revolugo.creditcardstripeform.lke0VtgF.min.js} +7 -7
  15. package/dist/revolugo.currencypickerbtn.Cd6Tkw7u.min.js +26 -0
  16. package/dist/{revolugo.dialog-attach.CnduiK1m.min.js → revolugo.dialog-attach.D_ZOYcFE.min.js} +2 -2
  17. package/dist/{revolugo.fastbookingflow.DRXDLN2W.min.js → revolugo.fastbookingflow.Btt8iN9I.min.js} +9 -9
  18. package/dist/revolugo.fullbookingflow.D-TxSg4P.min.js +26 -0
  19. package/dist/revolugo.hoteldescriptionview.C2H7ZfEb.min.js +26 -0
  20. package/dist/revolugo.hotelofferlist.ClEmykuj.min.js +26 -0
  21. package/dist/{revolugo.hoteloffersearchmenu.CgKo5d_D.min.js → revolugo.hoteloffersearchmenu.B-EaNMC7.min.js} +19 -19
  22. package/dist/revolugo.hoteloffersmap.SYOwjH2W.min.js +26 -0
  23. package/dist/revolugo.hoteloffersview.CQM9mvur.min.js +21 -0
  24. package/dist/revolugo.hotelroomofferlist.BldHRLvD.min.js +26 -0
  25. package/dist/revolugo.hotelroomoffersbookingflow.BxS9aUCx.min.js +26 -0
  26. package/dist/revolugo.hotelroomoffersearchmenu.DL2I2sUM.min.js +26 -0
  27. package/dist/revolugo.hotelroomoffersview.DFfHoqBC.min.js +26 -0
  28. package/dist/{revolugo.index.CziF06-b.min.js → revolugo.index.CVYb6nL7.min.js} +12 -12
  29. package/dist/{revolugo.index.wc.N79NLGAe.min.js → revolugo.index.wc.Bg-2LNKO.min.js} +6331 -6252
  30. package/dist/revolugo.langpickerbtn.Dy_f6Zmi.min.js +31 -0
  31. package/dist/revolugo.min.js +1 -1
  32. package/dist/revolugo.prebookform.gtyhr7QP.min.js +26 -0
  33. package/dist/revolugo.preferencesmenu.BC9rjqGc.min.js +24 -0
  34. package/dist/{revolugo.preferencesmenu.OcvSjvcN.min.js → revolugo.preferencesmenu.lIZv013L.min.js} +79 -79
  35. package/dist/revolugo.roominglisteditor.B5VptcVk.min.js +26 -0
  36. package/dist/{revolugo.storybooktoolbar.TefEIn4G.min.js → revolugo.storybooktoolbar.CxqFs09u.min.js} +5 -5
  37. package/dist/{revolugo.termsandconditions.cn_kPwjL.min.js → revolugo.termsandconditions.Bt6-NLRO.min.js} +8 -8
  38. package/dist/{revolugo.vtoolbar.BSDPla3H.min.js → revolugo.vtoolbar.CgAAcj1s.min.js} +26 -26
  39. package/dist/{revolugo.webcomponentwrapper.OIjVBSSI.min.js → revolugo.webcomponentwrapper.C1HzP3_i.min.js} +5438 -5492
  40. package/package.json +5 -5
  41. package/dist/revolugo.bookingmanager.CksZInRj.min.js +0 -26
  42. package/dist/revolugo.cancellationpoliciesbadge.Dkf8O6K1.min.js +0 -26
  43. package/dist/revolugo.currencypickerbtn.CBRWhzXn.min.js +0 -26
  44. package/dist/revolugo.fullbookingflow.Conip9au.min.js +0 -26
  45. package/dist/revolugo.hoteldescriptionview.C2djSsg0.min.js +0 -26
  46. package/dist/revolugo.hotelofferlist.BPZ5o5RF.min.js +0 -26
  47. package/dist/revolugo.hoteloffersmap.BRvdVVPW.min.js +0 -26
  48. package/dist/revolugo.hoteloffersview.DYlbSM67.min.js +0 -21
  49. package/dist/revolugo.hotelroomofferlist.eEz3tiRC.min.js +0 -26
  50. package/dist/revolugo.hotelroomoffersbookingflow.DmTIdJKu.min.js +0 -26
  51. package/dist/revolugo.hotelroomoffersearchmenu.DdnpcJVI.min.js +0 -26
  52. package/dist/revolugo.hotelroomoffersview.BorRLexD.min.js +0 -26
  53. package/dist/revolugo.langpickerbtn.1XGjmANe.min.js +0 -31
  54. package/dist/revolugo.prebookform.Ho4mWYd_.min.js +0 -26
  55. package/dist/revolugo.preferencesmenu.C9wjQT82.min.js +0 -24
  56. package/dist/revolugo.roominglisteditor.UGUSJbUS.min.js +0 -26
@@ -1,6 +1,6 @@
1
- import { b1 as qe, i as B, I as Be, J as ze, K as De, b2 as je, b as ct, ap as He, a as b, m as Bt, O as Fe, d as Ke, h as We, aF as Ge, x as Je, c as x, o as P, w as g, a8 as Ye, u as w, b3 as K, z as R, p as it, y as T, f as _t, j as wt, k as Ze, F as zt, b4 as Xe, aK as Qe, E as Dt } from "./revolugo.index.wc.N79NLGAe.min.js";
2
- import { d as tr, V as er } from "./revolugo.vtoolbar.BSDPla3H.min.js";
3
- import { ay as rr, s as sr, az as jt, b9 as Ht, aC as nr, ba as ir, V as Ft, k as $t, I as or, J as Kt, d as W, e as L, b4 as ar, N as G, ac as lr, j as cr, b as ur, _ as pr } from "./revolugo.webcomponentwrapper.OIjVBSSI.min.js";
1
+ import { br as qe, i as B, a7 as Be, a8 as ze, a9 as De, bs as je, b as ct, aP as He, a as b, m as Bt, ad as Fe, d as We, h as Ge, b3 as Ke, x as Je, c as x, w as g, ay as Ye, u as w, bt as W, z as R, p as it, y as T, f as wt, j as _t, k as Ze, F as zt, bu as Xe, b8 as Qe, E as Dt, o as E } from "./revolugo.index.wc.Bg-2LNKO.min.js";
2
+ import { d as tr, V as er } from "./revolugo.vtoolbar.CgAAcj1s.min.js";
3
+ import { az as rr, t as sr, aA as jt, ba as Ht, aD as nr, bb as ir, V as Ft, k as $t, J as or, K as Wt, d as G, e as L, b2 as ar, O as K, ad as lr, j as cr, b as ur, _ as dr } from "./revolugo.webcomponentwrapper.C1HzP3_i.min.js";
4
4
  function Ue(e) {
5
5
  try {
6
6
  if (typeof document < "u") {
@@ -21,7 +21,7 @@ function Ue(e) {
21
21
  console.error("[revolugo-elements] ", t);
22
22
  }
23
23
  }
24
- function dr(e, t, r) {
24
+ function pr(e, t, r) {
25
25
  if (e == null)
26
26
  return t;
27
27
  const s = r || ((n) => n);
@@ -33,12 +33,12 @@ function dr(e, t, r) {
33
33
  }
34
34
  return s(e);
35
35
  }
36
- function Wt({
36
+ function Gt({
37
37
  cb: e,
38
38
  fallbackValue: t,
39
39
  prop: r
40
40
  }) {
41
- const s = dr(qe(r.value), t, e), n = tr(structuredClone(s), t || {});
41
+ const s = pr(qe(r.value), t, e), n = tr(structuredClone(s), t || {});
42
42
  return B(s && n);
43
43
  }
44
44
  const hr = ze({
@@ -61,28 +61,28 @@ const hr = ze({
61
61
  isFocused: i,
62
62
  focus: o,
63
63
  blur: u
64
- } = rr(e), l = je(), p = ct(() => e.id || `checkbox-${l}`);
64
+ } = rr(e), l = je(), d = ct(() => e.id || `checkbox-${l}`);
65
65
  return sr(() => {
66
- const [m, y] = He(r), v = jt.filterProps(e), C = Ht.filterProps(e);
66
+ const [m, y] = He(r), v = jt.filterProps(e), $ = Ht.filterProps(e);
67
67
  return b(jt, Bt({
68
68
  class: ["v-checkbox", e.class]
69
69
  }, m, v, {
70
70
  modelValue: n.value,
71
- "onUpdate:modelValue": (O) => n.value = O,
72
- id: p.value,
71
+ "onUpdate:modelValue": (N) => n.value = N,
72
+ id: d.value,
73
73
  focused: i.value,
74
74
  style: e.style
75
75
  }), {
76
76
  ...s,
77
- default: (O) => {
77
+ default: (N) => {
78
78
  let {
79
79
  id: M,
80
80
  messagesId: gt,
81
81
  isDisabled: F,
82
82
  isReadonly: bt,
83
83
  isValid: q
84
- } = O;
85
- return b(Ht, Bt(C, {
84
+ } = N;
85
+ return b(Ht, Bt($, {
86
86
  id: M.value,
87
87
  "aria-describedby": gt.value,
88
88
  disabled: F.value,
@@ -134,15 +134,15 @@ function c(e) {
134
134
  */
135
135
  var Ct;
136
136
  ((Ct = window.HTMLSlotElement) === null || Ct === void 0 ? void 0 : Ct.prototype.assignedElements) != null;
137
- var Gt = !0;
137
+ var Kt = !0;
138
138
  function k(e, t, r) {
139
139
  if (typeof r?.value != "function")
140
140
  throw new TypeError(`Only methods can be decorated with @bound. <${t ?? e.name}> is not a method!`);
141
141
  return {
142
- configurable: Gt,
142
+ configurable: Kt,
143
143
  get() {
144
144
  const s = r.value.bind(this);
145
- return Object.defineProperty(this, t, { value: s, configurable: Gt, writable: !0 }), s;
145
+ return Object.defineProperty(this, t, { value: s, configurable: Kt, writable: !0 }), s;
146
146
  }
147
147
  };
148
148
  }
@@ -151,7 +151,7 @@ function k(e, t, r) {
151
151
  * Copyright 2019 Google LLC
152
152
  * SPDX-License-Identifier: BSD-3-Clause
153
153
  */
154
- const ut = window, Ot = ut.ShadowRoot && (ut.ShadyCSS === void 0 || ut.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Lt = Symbol(), Jt = /* @__PURE__ */ new WeakMap();
154
+ const ut = window, Nt = ut.ShadowRoot && (ut.ShadyCSS === void 0 || ut.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Lt = Symbol(), Jt = /* @__PURE__ */ new WeakMap();
155
155
  let ve = class {
156
156
  constructor(t, r, s) {
157
157
  if (this._$cssResult$ = !0, s !== Lt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -160,7 +160,7 @@ let ve = class {
160
160
  get styleSheet() {
161
161
  let t = this.o;
162
162
  const r = this.t;
163
- if (Ot && t === void 0) {
163
+ if (Nt && t === void 0) {
164
164
  const s = r !== void 0 && r.length === 1;
165
165
  s && (t = Jt.get(r)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && Jt.set(r, t));
166
166
  }
@@ -170,7 +170,7 @@ let ve = class {
170
170
  return this.cssText;
171
171
  }
172
172
  };
173
- const vr = (e) => new ve(typeof e == "string" ? e : e + "", void 0, Lt), It = (e, ...t) => {
173
+ const vr = (e) => new ve(typeof e == "string" ? e : e + "", void 0, Lt), Vt = (e, ...t) => {
174
174
  const r = e.length === 1 ? e[0] : t.reduce(((s, n, i) => s + ((o) => {
175
175
  if (o._$cssResult$ === !0) return o.cssText;
176
176
  if (typeof o == "number") return o;
@@ -178,11 +178,11 @@ const vr = (e) => new ve(typeof e == "string" ? e : e + "", void 0, Lt), It = (e
178
178
  })(n) + e[i + 1]), e[0]);
179
179
  return new ve(r, e, Lt);
180
180
  }, gr = (e, t) => {
181
- Ot ? e.adoptedStyleSheets = t.map(((r) => r instanceof CSSStyleSheet ? r : r.styleSheet)) : t.forEach(((r) => {
181
+ Nt ? e.adoptedStyleSheets = t.map(((r) => r instanceof CSSStyleSheet ? r : r.styleSheet)) : t.forEach(((r) => {
182
182
  const s = document.createElement("style"), n = ut.litNonce;
183
183
  n !== void 0 && s.setAttribute("nonce", n), s.textContent = r.cssText, e.appendChild(s);
184
184
  }));
185
- }, Yt = Ot ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
185
+ }, Yt = Nt ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
186
186
  let r = "";
187
187
  for (const s of t.cssRules) r += s.cssText;
188
188
  return vr(r);
@@ -403,10 +403,10 @@ z[Tt] = !0, z.elementProperties = /* @__PURE__ */ new Map(), z.elementStyles = [
403
403
  * SPDX-License-Identifier: BSD-3-Clause
404
404
  */
405
405
  var At;
406
- const ft = window, D = ft.trustedTypes, Qt = D ? D.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Nt = "$lit$", N = `lit$${(Math.random() + "").slice(9)}$`, be = "?" + N, Sr = `<${be}>`, U = document, tt = () => U.createComment(""), et = (e) => e === null || typeof e != "object" && typeof e != "function", Se = Array.isArray, _r = (e) => Se(e) || typeof e?.[Symbol.iterator] == "function", xt = `[
407
- \f\r]`, J = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, te = /-->/g, ee = />/g, I = RegExp(`>|${xt}(?:([^\\s"'>=/]+)(${xt}*=${xt}*(?:[^
408
- \f\r"'\`<>=]|("|')|))|$)`, "g"), re = /'/g, se = /"/g, _e = /^(?:script|style|textarea|title)$/i, wr = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), $r = wr(1), j = Symbol.for("lit-noChange"), S = Symbol.for("lit-nothing"), ne = /* @__PURE__ */ new WeakMap(), V = U.createTreeWalker(U, 129, null, !1);
409
- function we(e, t) {
406
+ const ft = window, D = ft.trustedTypes, Qt = D ? D.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Ot = "$lit$", O = `lit$${(Math.random() + "").slice(9)}$`, be = "?" + O, Sr = `<${be}>`, U = document, tt = () => U.createComment(""), et = (e) => e === null || typeof e != "object" && typeof e != "function", Se = Array.isArray, wr = (e) => Se(e) || typeof e?.[Symbol.iterator] == "function", xt = `[
407
+ \f\r]`, J = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, te = /-->/g, ee = />/g, V = RegExp(`>|${xt}(?:([^\\s"'>=/]+)(${xt}*=${xt}*(?:[^
408
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), re = /'/g, se = /"/g, we = /^(?:script|style|textarea|title)$/i, _r = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), $r = _r(1), j = Symbol.for("lit-noChange"), S = Symbol.for("lit-nothing"), ne = /* @__PURE__ */ new WeakMap(), I = U.createTreeWalker(U, 129, null, !1);
409
+ function _e(e, t) {
410
410
  if (!Array.isArray(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
411
411
  return Qt !== void 0 ? Qt.createHTML(t) : t;
412
412
  }
@@ -415,48 +415,48 @@ const Cr = (e, t) => {
415
415
  let n, i = t === 2 ? "<svg>" : "", o = J;
416
416
  for (let u = 0; u < r; u++) {
417
417
  const l = e[u];
418
- let p, m, y = -1, v = 0;
419
- for (; v < l.length && (o.lastIndex = v, m = o.exec(l), m !== null); ) v = o.lastIndex, o === J ? m[1] === "!--" ? o = te : m[1] !== void 0 ? o = ee : m[2] !== void 0 ? (_e.test(m[2]) && (n = RegExp("</" + m[2], "g")), o = I) : m[3] !== void 0 && (o = I) : o === I ? m[0] === ">" ? (o = n ?? J, y = -1) : m[1] === void 0 ? y = -2 : (y = o.lastIndex - m[2].length, p = m[1], o = m[3] === void 0 ? I : m[3] === '"' ? se : re) : o === se || o === re ? o = I : o === te || o === ee ? o = J : (o = I, n = void 0);
420
- const C = o === I && e[u + 1].startsWith("/>") ? " " : "";
421
- i += o === J ? l + Sr : y >= 0 ? (s.push(p), l.slice(0, y) + Nt + l.slice(y) + N + C) : l + N + (y === -2 ? (s.push(void 0), u) : C);
418
+ let d, m, y = -1, v = 0;
419
+ for (; v < l.length && (o.lastIndex = v, m = o.exec(l), m !== null); ) v = o.lastIndex, o === J ? m[1] === "!--" ? o = te : m[1] !== void 0 ? o = ee : m[2] !== void 0 ? (we.test(m[2]) && (n = RegExp("</" + m[2], "g")), o = V) : m[3] !== void 0 && (o = V) : o === V ? m[0] === ">" ? (o = n ?? J, y = -1) : m[1] === void 0 ? y = -2 : (y = o.lastIndex - m[2].length, d = m[1], o = m[3] === void 0 ? V : m[3] === '"' ? se : re) : o === se || o === re ? o = V : o === te || o === ee ? o = J : (o = V, n = void 0);
420
+ const $ = o === V && e[u + 1].startsWith("/>") ? " " : "";
421
+ i += o === J ? l + Sr : y >= 0 ? (s.push(d), l.slice(0, y) + Ot + l.slice(y) + O + $) : l + O + (y === -2 ? (s.push(void 0), u) : $);
422
422
  }
423
- return [we(e, i + (e[r] || "<?>") + (t === 2 ? "</svg>" : "")), s];
423
+ return [_e(e, i + (e[r] || "<?>") + (t === 2 ? "</svg>" : "")), s];
424
424
  };
425
425
  class rt {
426
426
  constructor({ strings: t, _$litType$: r }, s) {
427
427
  let n;
428
428
  this.parts = [];
429
429
  let i = 0, o = 0;
430
- const u = t.length - 1, l = this.parts, [p, m] = Cr(t, r);
431
- if (this.el = rt.createElement(p, s), V.currentNode = this.el.content, r === 2) {
430
+ const u = t.length - 1, l = this.parts, [d, m] = Cr(t, r);
431
+ if (this.el = rt.createElement(d, s), I.currentNode = this.el.content, r === 2) {
432
432
  const y = this.el.content, v = y.firstChild;
433
433
  v.remove(), y.append(...v.childNodes);
434
434
  }
435
- for (; (n = V.nextNode()) !== null && l.length < u; ) {
435
+ for (; (n = I.nextNode()) !== null && l.length < u; ) {
436
436
  if (n.nodeType === 1) {
437
437
  if (n.hasAttributes()) {
438
438
  const y = [];
439
- for (const v of n.getAttributeNames()) if (v.endsWith(Nt) || v.startsWith(N)) {
440
- const C = m[o++];
441
- if (y.push(v), C !== void 0) {
442
- const O = n.getAttribute(C.toLowerCase() + Nt).split(N), M = /([.?@])?(.*)/.exec(C);
443
- l.push({ type: 1, index: i, name: M[2], strings: O, ctor: M[1] === "." ? Pr : M[1] === "?" ? xr : M[1] === "@" ? kr : vt });
439
+ for (const v of n.getAttributeNames()) if (v.endsWith(Ot) || v.startsWith(O)) {
440
+ const $ = m[o++];
441
+ if (y.push(v), $ !== void 0) {
442
+ const N = n.getAttribute($.toLowerCase() + Ot).split(O), M = /([.?@])?(.*)/.exec($);
443
+ l.push({ type: 1, index: i, name: M[2], strings: N, ctor: M[1] === "." ? Pr : M[1] === "?" ? xr : M[1] === "@" ? kr : vt });
444
444
  } else l.push({ type: 6, index: i });
445
445
  }
446
446
  for (const v of y) n.removeAttribute(v);
447
447
  }
448
- if (_e.test(n.tagName)) {
449
- const y = n.textContent.split(N), v = y.length - 1;
448
+ if (we.test(n.tagName)) {
449
+ const y = n.textContent.split(O), v = y.length - 1;
450
450
  if (v > 0) {
451
451
  n.textContent = D ? D.emptyScript : "";
452
- for (let C = 0; C < v; C++) n.append(y[C], tt()), V.nextNode(), l.push({ type: 2, index: ++i });
452
+ for (let $ = 0; $ < v; $++) n.append(y[$], tt()), I.nextNode(), l.push({ type: 2, index: ++i });
453
453
  n.append(y[v], tt());
454
454
  }
455
455
  }
456
456
  } else if (n.nodeType === 8) if (n.data === be) l.push({ type: 2, index: i });
457
457
  else {
458
458
  let y = -1;
459
- for (; (y = n.data.indexOf(N, y + 1)) !== -1; ) l.push({ type: 7, index: i }), y += N.length - 1;
459
+ for (; (y = n.data.indexOf(O, y + 1)) !== -1; ) l.push({ type: 7, index: i }), y += O.length - 1;
460
460
  }
461
461
  i++;
462
462
  }
@@ -470,8 +470,8 @@ function H(e, t, r = e, s) {
470
470
  var n, i, o, u;
471
471
  if (t === j) return t;
472
472
  let l = s !== void 0 ? (n = r._$Co) === null || n === void 0 ? void 0 : n[s] : r._$Cl;
473
- const p = et(t) ? void 0 : t._$litDirective$;
474
- return l?.constructor !== p && ((i = l?._$AO) === null || i === void 0 || i.call(l, !1), p === void 0 ? l = void 0 : (l = new p(e), l._$AT(e, r, s)), s !== void 0 ? ((o = (u = r)._$Co) !== null && o !== void 0 ? o : u._$Co = [])[s] = l : r._$Cl = l), l !== void 0 && (t = H(e, l._$AS(e, t.values), l, s)), t;
473
+ const d = et(t) ? void 0 : t._$litDirective$;
474
+ return l?.constructor !== d && ((i = l?._$AO) === null || i === void 0 || i.call(l, !1), d === void 0 ? l = void 0 : (l = new d(e), l._$AT(e, r, s)), s !== void 0 ? ((o = (u = r)._$Co) !== null && o !== void 0 ? o : u._$Co = [])[s] = l : r._$Cl = l), l !== void 0 && (t = H(e, l._$AS(e, t.values), l, s)), t;
475
475
  }
476
476
  class Er {
477
477
  constructor(t, r) {
@@ -486,16 +486,16 @@ class Er {
486
486
  u(t) {
487
487
  var r;
488
488
  const { el: { content: s }, parts: n } = this._$AD, i = ((r = t?.creationScope) !== null && r !== void 0 ? r : U).importNode(s, !0);
489
- V.currentNode = i;
490
- let o = V.nextNode(), u = 0, l = 0, p = n[0];
491
- for (; p !== void 0; ) {
492
- if (u === p.index) {
489
+ I.currentNode = i;
490
+ let o = I.nextNode(), u = 0, l = 0, d = n[0];
491
+ for (; d !== void 0; ) {
492
+ if (u === d.index) {
493
493
  let m;
494
- p.type === 2 ? m = new st(o, o.nextSibling, this, t) : p.type === 1 ? m = new p.ctor(o, p.name, p.strings, this, t) : p.type === 6 && (m = new Rr(o, this, t)), this._$AV.push(m), p = n[++l];
494
+ d.type === 2 ? m = new st(o, o.nextSibling, this, t) : d.type === 1 ? m = new d.ctor(o, d.name, d.strings, this, t) : d.type === 6 && (m = new Rr(o, this, t)), this._$AV.push(m), d = n[++l];
495
495
  }
496
- u !== p?.index && (o = V.nextNode(), u++);
496
+ u !== d?.index && (o = I.nextNode(), u++);
497
497
  }
498
- return V.currentNode = U, i;
498
+ return I.currentNode = U, i;
499
499
  }
500
500
  v(t) {
501
501
  let r = 0;
@@ -523,7 +523,7 @@ class st {
523
523
  return this._$AB;
524
524
  }
525
525
  _$AI(t, r = this) {
526
- t = H(this, t, r), et(t) ? t === S || t == null || t === "" ? (this._$AH !== S && this._$AR(), this._$AH = S) : t !== this._$AH && t !== j && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : _r(t) ? this.T(t) : this._(t);
526
+ t = H(this, t, r), et(t) ? t === S || t == null || t === "" ? (this._$AH !== S && this._$AR(), this._$AH = S) : t !== this._$AH && t !== j && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : wr(t) ? this.T(t) : this._(t);
527
527
  }
528
528
  k(t) {
529
529
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -536,7 +536,7 @@ class st {
536
536
  }
537
537
  g(t) {
538
538
  var r;
539
- const { values: s, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = rt.createElement(we(n.h, n.h[0]), this.options)), n);
539
+ const { values: s, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = rt.createElement(_e(n.h, n.h[0]), this.options)), n);
540
540
  if (((r = this._$AH) === null || r === void 0 ? void 0 : r._$AD) === i) this._$AH.v(s);
541
541
  else {
542
542
  const o = new Er(i, this), u = o.u(this.options);
@@ -582,8 +582,8 @@ class vt {
582
582
  if (i === void 0) t = H(this, t, r, 0), o = !et(t) || t !== this._$AH && t !== j, o && (this._$AH = t);
583
583
  else {
584
584
  const u = t;
585
- let l, p;
586
- for (t = i[0], l = 0; l < i.length - 1; l++) p = H(this, u[s + l], r, l), p === j && (p = this._$AH[l]), o || (o = !et(p) || p !== this._$AH[l]), p === S ? t = S : t !== S && (t += (p ?? "") + i[l + 1]), this._$AH[l] = p;
585
+ let l, d;
586
+ for (t = i[0], l = 0; l < i.length - 1; l++) d = H(this, u[s + l], r, l), d === j && (d = this._$AH[l]), o || (o = !et(d) || d !== this._$AH[l]), d === S ? t = S : t !== S && (t += (d ?? "") + i[l + 1]), this._$AH[l] = d;
587
587
  }
588
588
  o && !n && this.j(t);
589
589
  }
@@ -686,15 +686,15 @@ oe?.({ LitElement: Q });
686
686
  * Copyright 2018 Google LLC
687
687
  * SPDX-License-Identifier: BSD-3-Clause
688
688
  */
689
- const Tr = (e) => e ?? S, Nr = /[A-ZÀ-ÖÙ-Ý]+/g, Or = /[a-zà-öù-ý]+/g;
689
+ const Tr = (e) => e ?? S, Or = /[A-ZÀ-ÖÙ-Ý]+/g, Nr = /[a-zà-öù-ý]+/g;
690
690
  function Lr(e) {
691
- const t = e.replace(Nr, r).match(Or);
691
+ const t = e.replace(Or, r).match(Nr);
692
692
  return t ? t.join("-") : "";
693
693
  function r(s) {
694
694
  return " " + (s.length > 2 ? s.slice(0, -1) + " " + s.slice(-1) : s).toLowerCase();
695
695
  }
696
696
  }
697
- function Ir() {
697
+ function Vr() {
698
698
  const e = {};
699
699
  return {
700
700
  has: (t) => Object.hasOwnProperty.call(e, t),
@@ -704,14 +704,14 @@ function Ir() {
704
704
  }
705
705
  };
706
706
  }
707
- function Vr(e, t) {
708
- const r = Ir();
707
+ function Ir(e, t) {
708
+ const r = Vr();
709
709
  return (...s) => {
710
710
  const n = e(...s);
711
711
  return r.has(n) || r.set(n, t(...s)), r.get(n);
712
712
  };
713
713
  }
714
- var Ur = (e) => e, $e = Vr(Ur, Lr), qr = (e) => (t) => e.includes(t), Br = qr(["paymentMethod", "source", "token"]);
714
+ var Ur = (e) => e, $e = Ir(Ur, Lr), qr = (e) => (t) => e.includes(t), Br = qr(["paymentMethod", "source", "token"]);
715
715
  async function zr(e) {
716
716
  const { ok: t, statusText: r } = e;
717
717
  if (!t)
@@ -736,12 +736,12 @@ var X = class {
736
736
  const r = this.values.get(e);
737
737
  this.values.set(e, t), Dr(this.host) ? this.host.requestUpdate(e, r) : this.host.requestUpdate();
738
738
  }
739
- }, Vt = X;
740
- Vt.instances = /* @__PURE__ */ new Map();
741
- function d(e, t) {
739
+ }, It = X;
740
+ It.instances = /* @__PURE__ */ new Map();
741
+ function p(e, t) {
742
742
  const r = e.constructor;
743
743
  r.addInitializer((s) => {
744
- const n = Vt.for(s);
744
+ const n = It.for(s);
745
745
  Object.defineProperty(s.constructor.prototype, t, {
746
746
  enumerable: !0,
747
747
  configurable: !0,
@@ -757,8 +757,8 @@ function d(e, t) {
757
757
  });
758
758
  });
759
759
  }
760
- d.set = function(e, t) {
761
- const r = Vt.for(e);
760
+ p.set = function(e, t) {
761
+ const r = It.for(e);
762
762
  for (const [s, n] of Object.entries(t))
763
763
  r.set(s, n);
764
764
  };
@@ -766,11 +766,11 @@ var jr = class extends Event {
766
766
  constructor(e, t, r, s) {
767
767
  super(`${s ?? e.toLowerCase()}-changed`), this.key = e, this.oldValue = t, this.value = r, this.detail = { value: r };
768
768
  }
769
- }, pt = class {
769
+ }, dt = class {
770
770
  constructor(e) {
771
- if (this.host = e, this.cache = /* @__PURE__ */ new Map(), pt.instances.has(e))
772
- return pt.instances.get(e);
773
- e.addController(this), pt.instances.set(e, this);
771
+ if (this.host = e, this.cache = /* @__PURE__ */ new Map(), dt.instances.has(e))
772
+ return dt.instances.get(e);
773
+ e.addController(this), dt.instances.set(e, this);
774
774
  }
775
775
  hostUpdated() {
776
776
  for (const [e, t] of this.cache) {
@@ -778,9 +778,9 @@ var jr = class extends Event {
778
778
  this.cache.set(e, r), this.host.dispatchEvent(new jr(e, t, r, n));
779
779
  }
780
780
  }
781
- }, Ce = pt;
781
+ }, Ce = dt;
782
782
  Ce.instances = /* @__PURE__ */ new Map();
783
- function A(e, t) {
783
+ function P(e, t) {
784
784
  e.constructor.addInitializer((r) => {
785
785
  new Ce(r).cache.set(t, r[t]);
786
786
  });
@@ -804,8 +804,8 @@ function ae(e) {
804
804
  throw e.error;
805
805
  return e;
806
806
  }
807
- var Fr = Object.defineProperty, Kr = Object.getOwnPropertyDescriptor, a = (e, t, r, s) => {
808
- for (var n = s > 1 ? void 0 : s ? Kr(t, r) : t, i = e.length - 1, o; i >= 0; i--)
807
+ var Fr = Object.defineProperty, Wr = Object.getOwnPropertyDescriptor, a = (e, t, r, s) => {
808
+ for (var n = s > 1 ? void 0 : s ? Wr(t, r) : t, i = e.length - 1, o; i >= 0; i--)
809
809
  (o = e[i]) && (n = (s ? o(t, r, n) : o(n)) || n);
810
810
  return s && n && Fr(t, r, n), n;
811
811
  }, Ee = (e, t, r) => {
@@ -816,12 +816,12 @@ var Fr = Object.defineProperty, Kr = Object.getOwnPropertyDescriptor, a = (e, t,
816
816
  throw TypeError("Cannot add the same private member more than once");
817
817
  t instanceof WeakSet ? t.add(e) : t.set(e, r);
818
818
  }, ue = (e, t, r, s) => (Ee(e, t, "write to private field"), t.set(e, r), r);
819
- function pe() {
819
+ function de() {
820
820
  return (Date.now() + Math.random() * 1e3).toString(36).substr(0, 8);
821
821
  }
822
- var Wr = class {
822
+ var Gr = class {
823
823
  constructor(e, t) {
824
- this.host = e, this.options = t, this.initialized = !1, this.shadowHosts = [], this.host.addController(this), this.mountId = this.resetMountId(), this.slotName = this.options?.slotName ?? `breadcrumb-${pe()}`;
824
+ this.host = e, this.options = t, this.initialized = !1, this.shadowHosts = [], this.host.addController(this), this.mountId = this.resetMountId(), this.slotName = this.options?.slotName ?? `breadcrumb-${de()}`;
825
825
  }
826
826
  get mount() {
827
827
  return document.getElementById(this.mountId);
@@ -833,7 +833,7 @@ var Wr = class {
833
833
  this.destroyMountPoints();
834
834
  }
835
835
  resetMountId() {
836
- return `${this.options?.mountPrefix ?? this.host.localName}-mount-point-${pe()}`;
836
+ return `${this.options?.mountPrefix ?? this.host.localName}-mount-point-${de()}`;
837
837
  }
838
838
  createMountPoint() {
839
839
  const e = document.createElement("div");
@@ -871,18 +871,18 @@ var Wr = class {
871
871
  this.destroyMountPoints(), this.initMountPoints(), this.initialized = !0;
872
872
  }
873
873
  };
874
- function dt(e) {
874
+ function pt(e) {
875
875
  "@babel/helpers - typeof";
876
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? dt = function(t) {
876
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? pt = function(t) {
877
877
  return typeof t;
878
- } : dt = function(t) {
878
+ } : pt = function(t) {
879
879
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
880
- }, dt(e);
880
+ }, pt(e);
881
881
  }
882
- var Pe = "https://js.stripe.com/v3", Gr = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, de = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used", Jr = function() {
882
+ var Pe = "https://js.stripe.com/v3", Kr = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, pe = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used", Jr = function() {
883
883
  for (var t = document.querySelectorAll('script[src^="'.concat(Pe, '"]')), r = 0; r < t.length; r++) {
884
884
  var s = t[r];
885
- if (Gr.test(s.src))
885
+ if (Kr.test(s.src))
886
886
  return s;
887
887
  }
888
888
  return null;
@@ -905,13 +905,13 @@ var Pe = "https://js.stripe.com/v3", Gr = /^https:\/\/js\.stripe\.com\/v3\/?(\?.
905
905
  r(null);
906
906
  return;
907
907
  }
908
- if (window.Stripe && t && console.warn(de), window.Stripe) {
908
+ if (window.Stripe && t && console.warn(pe), window.Stripe) {
909
909
  r(window.Stripe);
910
910
  return;
911
911
  }
912
912
  try {
913
913
  var n = Jr();
914
- n && t ? console.warn(de) : n || (n = Yr(t)), n.addEventListener("load", function() {
914
+ n && t ? console.warn(pe) : n || (n = Yr(t)), n.addEventListener("load", function() {
915
915
  window.Stripe ? r(window.Stripe) : s(new Error("Stripe.js not available"));
916
916
  }), n.addEventListener("error", function() {
917
917
  s(new Error("Failed to load Stripe.js"));
@@ -935,7 +935,7 @@ but received
935
935
 
936
936
  `.concat(JSON.stringify(t), `
937
937
  `);
938
- if (t === null || dt(t) !== "object")
938
+ if (t === null || pt(t) !== "object")
939
939
  throw new Error(r);
940
940
  if (Object.keys(t).length === 1 && typeof t.advancedFraudSignals == "boolean")
941
941
  return t;
@@ -966,7 +966,7 @@ var es = {
966
966
  toAttribute: (e) => e ? Me(e) ? e.originalMessage : e.message || "" : null
967
967
  }, h = class extends Q {
968
968
  constructor() {
969
- super(...arguments), this.generate = "source", this.showError = !1, this.locale = "auto", this.paymentMethod = null, this.source = null, this.token = null, this.element = null, this.elements = null, this.error = null, this.focused = !1, this.ready = !1, this.stripe = null, this.theme = "none", this.precomputedStyle = getComputedStyle(this), this.breadcrumb = new Wr(this, {
969
+ super(...arguments), this.generate = "source", this.showError = !1, this.locale = "auto", this.paymentMethod = null, this.source = null, this.token = null, this.element = null, this.elements = null, this.error = null, this.focused = !1, this.ready = !1, this.stripe = null, this.theme = "none", this.precomputedStyle = getComputedStyle(this), this.breadcrumb = new Gr(this, {
970
970
  slotName: `${this.constructor.is}-slot`
971
971
  });
972
972
  }
@@ -998,7 +998,7 @@ var es = {
998
998
  super.disconnectedCallback(), await this.unmount?.();
999
999
  }
1000
1000
  reset() {
1001
- this.element?.clear?.(), this.resetRepresentations(), d.set(this, { error: null });
1001
+ this.element?.clear?.(), this.resetRepresentations(), p.set(this, { error: null });
1002
1002
  }
1003
1003
  blur() {
1004
1004
  this.element?.blur();
@@ -1023,7 +1023,7 @@ var es = {
1023
1023
  }
1024
1024
  async handleResponse(e) {
1025
1025
  const { error: t = null, paymentMethod: r = null, source: s = null, token: n = null } = { ...e };
1026
- if (d.set(this, { error: t, paymentMethod: r, source: s, token: n }), await this.updateComplete, t)
1026
+ if (p.set(this, { error: t, paymentMethod: r, source: s, token: n }), await this.updateComplete, t)
1027
1027
  throw t;
1028
1028
  return e;
1029
1029
  }
@@ -1039,15 +1039,15 @@ var es = {
1039
1039
  async initStripe() {
1040
1040
  const { publishableKey: e, stripeAccount: t, locale: r } = this;
1041
1041
  if (!e)
1042
- d.set(this, { elements: null, element: null, stripe: null });
1042
+ p.set(this, { elements: null, element: null, stripe: null });
1043
1043
  else
1044
1044
  try {
1045
1045
  const s = { stripeAccount: t, locale: r }, n = window.Stripe ? window.Stripe(e, s) : await ke(e, s), i = n?.elements();
1046
- d.set(this, { elements: i, error: null, stripe: n });
1046
+ p.set(this, { elements: i, error: null, stripe: n });
1047
1047
  } catch (s) {
1048
1048
  console.warn(s);
1049
1049
  const n = this.createError("Stripe.js must be loaded first.");
1050
- d.set(this, { elements: null, error: n, stripe: null });
1050
+ p.set(this, { elements: null, error: n, stripe: null });
1051
1051
  } finally {
1052
1052
  await this.updateComplete;
1053
1053
  }
@@ -1058,19 +1058,19 @@ var es = {
1058
1058
  this.element?.mount(this.breadcrumb.mount);
1059
1059
  }
1060
1060
  async unmount() {
1061
- this.element?.unmount?.(), d.set(this, { element: null }), await this.updateComplete;
1061
+ this.element?.unmount?.(), p.set(this, { element: null }), await this.updateComplete;
1062
1062
  }
1063
1063
  async onBlur() {
1064
- d.set(this, { focused: !1 }), await this.updateComplete;
1064
+ p.set(this, { focused: !1 }), await this.updateComplete;
1065
1065
  }
1066
1066
  async onFocus() {
1067
- d.set(this, { focused: !0 }), await this.updateComplete;
1067
+ p.set(this, { focused: !0 }), await this.updateComplete;
1068
1068
  }
1069
1069
  async onReady(e) {
1070
- d.set(this, { ready: !0 }), await this.updateComplete, this.fire("ready", e);
1070
+ p.set(this, { ready: !0 }), await this.updateComplete, this.fire("ready", e);
1071
1071
  }
1072
1072
  async postRepresentation() {
1073
- const e = (l) => d.set(this, { error: l }), t = (l) => this.fire("success", l), r = this.token || void 0, s = this.source || void 0, n = this.paymentMethod || void 0, i = JSON.stringify({ token: r, source: s, paymentMethod: n }), o = { "Content-Type": "application/json" };
1073
+ const e = (l) => p.set(this, { error: l }), t = (l) => this.fire("success", l), r = this.token || void 0, s = this.source || void 0, n = this.paymentMethod || void 0, i = JSON.stringify({ token: r, source: s, paymentMethod: n }), o = { "Content-Type": "application/json" };
1074
1074
  return fetch(this.action, { body: i, headers: o, method: "POST" }).then(zr).then(t).catch(e);
1075
1075
  }
1076
1076
  representationChanged(e) {
@@ -1080,7 +1080,7 @@ var es = {
1080
1080
  t && (this.fire(`${$e(e)}`, t), this.action && this.postRepresentation());
1081
1081
  }
1082
1082
  resetRepresentations() {
1083
- d.set(this, {
1083
+ p.set(this, {
1084
1084
  paymentMethod: null,
1085
1085
  token: null,
1086
1086
  source: null
@@ -1097,7 +1097,7 @@ a([
1097
1097
  c({ type: String })
1098
1098
  ], h.prototype, "generate", 2);
1099
1099
  a([
1100
- A,
1100
+ P,
1101
1101
  c({ type: String, attribute: "publishable-key", reflect: !0 })
1102
1102
  ], h.prototype, "publishableKey", 2);
1103
1103
  a([
@@ -1110,45 +1110,45 @@ a([
1110
1110
  c({ type: String, attribute: "locale" })
1111
1111
  ], h.prototype, "locale", 2);
1112
1112
  a([
1113
- d,
1114
- A,
1113
+ p,
1114
+ P,
1115
1115
  c({ type: Object, attribute: "payment-method" })
1116
1116
  ], h.prototype, "paymentMethod", 2);
1117
1117
  a([
1118
- d,
1119
- A,
1118
+ p,
1119
+ P,
1120
1120
  c({ type: Object })
1121
1121
  ], h.prototype, "source", 2);
1122
1122
  a([
1123
- d,
1124
- A,
1123
+ p,
1124
+ P,
1125
1125
  c({ type: Object })
1126
1126
  ], h.prototype, "token", 2);
1127
1127
  a([
1128
- d,
1128
+ p,
1129
1129
  c({ type: Object })
1130
1130
  ], h.prototype, "element", 2);
1131
1131
  a([
1132
- d,
1132
+ p,
1133
1133
  c({ type: Object })
1134
1134
  ], h.prototype, "elements", 2);
1135
1135
  a([
1136
- d,
1137
- A,
1136
+ p,
1137
+ P,
1138
1138
  c({ type: Object, reflect: !0, converter: es })
1139
1139
  ], h.prototype, "error", 2);
1140
1140
  a([
1141
- d,
1142
- A,
1141
+ p,
1142
+ P,
1143
1143
  c({ type: Boolean, reflect: !0 })
1144
1144
  ], h.prototype, "focused", 2);
1145
1145
  a([
1146
- d,
1147
- A,
1146
+ p,
1147
+ P,
1148
1148
  c({ type: Boolean, reflect: !0 })
1149
1149
  ], h.prototype, "ready", 2);
1150
1150
  a([
1151
- d,
1151
+ p,
1152
1152
  c({ type: Object })
1153
1153
  ], h.prototype, "stripe", 2);
1154
1154
  a([
@@ -1187,7 +1187,7 @@ a([
1187
1187
  a([
1188
1188
  k
1189
1189
  ], h.prototype, "onReady", 1);
1190
- var rs = It`[hidden] {
1190
+ var rs = Vt`[hidden] {
1191
1191
  display: none !important;
1192
1192
  }
1193
1193
 
@@ -1202,7 +1202,7 @@ var rs = It`[hidden] {
1202
1202
  padding-left: 42px;
1203
1203
  padding-bottom: 10px;
1204
1204
  }
1205
- `, Te = rs, ss = It`:host {
1205
+ `, Te = rs, ss = Vt`:host {
1206
1206
  min-width: var(--stripe-elements-width, 300px);
1207
1207
  min-height: var(--stripe-elements-height, 50px);
1208
1208
  }
@@ -1245,7 +1245,7 @@ var rs = It`[hidden] {
1245
1245
  "::selection",
1246
1246
  ":-webkit-autofill",
1247
1247
  ":disabled"
1248
- ], $ = class extends h {
1248
+ ], _ = class extends h {
1249
1249
  constructor() {
1250
1250
  super(...arguments), this.hideIcon = !1, this.hidePostalCode = !1, this.iconStyle = "default", this.value = {}, this.brand = null, this.complete = !1, this.empty = !0, this.invalid = !1;
1251
1251
  }
@@ -1274,13 +1274,13 @@ var rs = It`[hidden] {
1274
1274
  return this.createToken();
1275
1275
  default: {
1276
1276
  const e = this.createError(`cannot generate ${this.generate}`);
1277
- throw d.set(this, { error: e }), await this.updateComplete, e;
1277
+ throw p.set(this, { error: e }), await this.updateComplete, e;
1278
1278
  }
1279
1279
  }
1280
1280
  }
1281
1281
  validate() {
1282
1282
  const { complete: e, empty: t, error: r } = this, s = !r && e && !t;
1283
- return t && !r && d.set(this, { error: this.createError("Your card number is empty.") }), s;
1283
+ return t && !r && p.set(this, { error: this.createError("Your card number is empty.") }), s;
1284
1284
  }
1285
1285
  updateStyle() {
1286
1286
  this.element?.update({
@@ -1330,70 +1330,70 @@ var rs = It`[hidden] {
1330
1330
  style: n,
1331
1331
  value: s
1332
1332
  });
1333
- i.on("change", this.onChange), d.set(this, { element: i }), await this.updateComplete;
1333
+ i.on("change", this.onChange), p.set(this, { element: i }), await this.updateComplete;
1334
1334
  }
1335
1335
  createElement(e) {
1336
1336
  return this.elements.create("card", e);
1337
1337
  }
1338
1338
  async onChange(e) {
1339
1339
  const { brand: t, complete: r, empty: s, error: n = null } = e, i = !(n || !s && !r);
1340
- d.set(this, { brand: t, complete: r, empty: s, error: n, invalid: i }), await this.updateComplete, this.fire("change", e);
1340
+ p.set(this, { brand: t, complete: r, empty: s, error: n, invalid: i }), await this.updateComplete, this.fire("change", e);
1341
1341
  }
1342
1342
  };
1343
- $.is = "stripe-elements";
1344
- $.elementType = "card";
1345
- $.styles = [
1343
+ _.is = "stripe-elements";
1344
+ _.elementType = "card";
1345
+ _.styles = [
1346
1346
  Te,
1347
1347
  ns
1348
1348
  ];
1349
1349
  a([
1350
1350
  c({ type: Boolean, attribute: "hide-icon" })
1351
- ], $.prototype, "hideIcon", 2);
1351
+ ], _.prototype, "hideIcon", 2);
1352
1352
  a([
1353
1353
  c({ type: Boolean, attribute: "hide-postal-code" })
1354
- ], $.prototype, "hidePostalCode", 2);
1354
+ ], _.prototype, "hidePostalCode", 2);
1355
1355
  a([
1356
1356
  c({ type: String, attribute: "icon-style" })
1357
- ], $.prototype, "iconStyle", 2);
1357
+ ], _.prototype, "iconStyle", 2);
1358
1358
  a([
1359
1359
  c({ type: Object })
1360
- ], $.prototype, "value", 2);
1360
+ ], _.prototype, "value", 2);
1361
1361
  a([
1362
- A,
1363
- d,
1362
+ P,
1363
+ p,
1364
1364
  c({ type: String })
1365
- ], $.prototype, "brand", 2);
1365
+ ], _.prototype, "brand", 2);
1366
1366
  a([
1367
- A,
1368
- d,
1367
+ P,
1368
+ p,
1369
1369
  c({ type: Boolean, reflect: !0 })
1370
- ], $.prototype, "complete", 2);
1370
+ ], _.prototype, "complete", 2);
1371
1371
  a([
1372
- A,
1373
- d,
1372
+ P,
1373
+ p,
1374
1374
  c({ type: Boolean, reflect: !0 })
1375
- ], $.prototype, "empty", 2);
1375
+ ], _.prototype, "empty", 2);
1376
1376
  a([
1377
- A,
1378
- d,
1377
+ P,
1378
+ p,
1379
1379
  c({ type: Boolean, reflect: !0 })
1380
- ], $.prototype, "invalid", 2);
1380
+ ], _.prototype, "invalid", 2);
1381
1381
  a([
1382
1382
  Ut
1383
- ], $.prototype, "createPaymentMethod", 1);
1383
+ ], _.prototype, "createPaymentMethod", 1);
1384
1384
  a([
1385
1385
  Ut
1386
- ], $.prototype, "createSource", 1);
1386
+ ], _.prototype, "createSource", 1);
1387
1387
  a([
1388
1388
  Ut
1389
- ], $.prototype, "createToken", 1);
1389
+ ], _.prototype, "createToken", 1);
1390
1390
  a([
1391
1391
  k
1392
- ], $.prototype, "onChange", 1);
1393
- $ = a([
1392
+ ], _.prototype, "onChange", 1);
1393
+ _ = a([
1394
1394
  fe("stripe-elements")
1395
- ], $);
1396
- var os = It`#stripe {
1395
+ ], _);
1396
+ var os = Vt`#stripe {
1397
1397
  box-sizing: border-box;
1398
1398
  min-width: var(--stripe-payment-request-element-min-width, 300px);
1399
1399
  padding: var(--stripe-payment-request-element-padding, 8px 12px);
@@ -1417,7 +1417,7 @@ function us({ dataset: { amount: e, detail: t, ...r } }) {
1417
1417
  ...r
1418
1418
  };
1419
1419
  }
1420
- function ps(e) {
1420
+ function ds(e) {
1421
1421
  return ls(e) ? cs(e) : us(e);
1422
1422
  }
1423
1423
  var ht, mt, f = class extends h {
@@ -1444,7 +1444,7 @@ var ht, mt, f = class extends h {
1444
1444
  ue(this, mt, e), this.requestUpdate("shippingOptions", t);
1445
1445
  }
1446
1446
  reset() {
1447
- super.reset(), d.set(this, { paymentIntent: null });
1447
+ super.reset(), p.set(this, { paymentIntent: null });
1448
1448
  }
1449
1449
  updated(e) {
1450
1450
  super.updated(e), e.has("generate") && this.initPaymentRequestListeners(), e.has("amount") && this.updatePaymentRequest();
@@ -1460,7 +1460,7 @@ var ht, mt, f = class extends h {
1460
1460
  requestPayerName: o,
1461
1461
  requestPayerPhone: u,
1462
1462
  label: l = "",
1463
- amount: p = 0
1463
+ amount: d = 0
1464
1464
  } = this;
1465
1465
  return {
1466
1466
  country: e,
@@ -1471,7 +1471,7 @@ var ht, mt, f = class extends h {
1471
1471
  requestPayerPhone: u,
1472
1472
  requestShipping: n,
1473
1473
  shippingOptions: s,
1474
- total: { label: l, amount: p }
1474
+ total: { label: l, amount: d }
1475
1475
  };
1476
1476
  }
1477
1477
  async initElement() {
@@ -1481,7 +1481,7 @@ var ht, mt, f = class extends h {
1481
1481
  if (!this.stripe)
1482
1482
  return;
1483
1483
  const e = this.getStripePaymentRequestOptions(), t = this.stripe.paymentRequest(e), r = await t.canMakePayment();
1484
- d.set(this, { paymentRequest: t, canMakePayment: r }), await this.updateComplete, this.canMakePayment || this.fire("unsupported");
1484
+ p.set(this, { paymentRequest: t, canMakePayment: r }), await this.updateComplete, this.canMakePayment || this.fire("unsupported");
1485
1485
  }
1486
1486
  async initPaymentRequestButton() {
1487
1487
  const { buttonTheme: e, buttonType: t, canMakePayment: r } = this;
@@ -1491,7 +1491,7 @@ var ht, mt, f = class extends h {
1491
1491
  paymentRequest: this.paymentRequest,
1492
1492
  style: i
1493
1493
  });
1494
- d.set(this, { element: o }), await this.updateComplete;
1494
+ p.set(this, { element: o }), await this.updateComplete;
1495
1495
  }
1496
1496
  async initPaymentRequestListeners() {
1497
1497
  if (this.canMakePayment)
@@ -1526,11 +1526,11 @@ var ht, mt, f = class extends h {
1526
1526
  source: s = null,
1527
1527
  token: n = null
1528
1528
  } = { ...e };
1529
- d.set(this, { error: t, paymentMethod: r, source: s, token: n }), this.clientSecret && !t ? this.confirmPaymentIntent(e) : this.complete(e);
1529
+ p.set(this, { error: t, paymentMethod: r, source: s, token: n }), this.clientSecret && !t ? this.confirmPaymentIntent(e) : this.complete(e);
1530
1530
  }
1531
1531
  async confirmPaymentIntent(e) {
1532
1532
  const t = { payment_method: this.paymentMethod.id }, r = await this.confirmCardPayment(t, { handleActions: !1 }).then(({ error: i }) => this.complete(e, i)).then(ae).then(() => this.confirmCardPayment()).then(ae).catch((i) => ({ error: i })), { error: s = null } = r, n = r.paymentIntent ?? null;
1533
- d.set(this, { error: s, paymentIntent: n }), await this.updateComplete;
1533
+ p.set(this, { error: s, paymentIntent: n }), await this.updateComplete;
1534
1534
  }
1535
1535
  async confirmCardPayment(e, t) {
1536
1536
  return this.stripe.confirmCardPayment(this.clientSecret, e, t);
@@ -1543,7 +1543,7 @@ var ht, mt, f = class extends h {
1543
1543
  }
1544
1544
  parseDatasets(e) {
1545
1545
  const t = [...this.querySelectorAll(e)];
1546
- return t.length ? t.map(ps) : [];
1546
+ return t.length ? t.map(ds) : [];
1547
1547
  }
1548
1548
  };
1549
1549
  ht = /* @__PURE__ */ new WeakMap();
@@ -1557,8 +1557,8 @@ a([
1557
1557
  c({ type: Number, reflect: !0 })
1558
1558
  ], f.prototype, "amount", 2);
1559
1559
  a([
1560
- A,
1561
- d,
1560
+ P,
1561
+ p,
1562
1562
  c({ type: Boolean, attribute: "can-make-payment", reflect: !0 })
1563
1563
  ], f.prototype, "canMakePayment", 2);
1564
1564
  a([
@@ -1574,12 +1574,12 @@ a([
1574
1574
  c({ type: String, reflect: !0 })
1575
1575
  ], f.prototype, "label", 2);
1576
1576
  a([
1577
- A,
1578
- d,
1577
+ P,
1578
+ p,
1579
1579
  c({ type: Object, attribute: "payment-intent" })
1580
1580
  ], f.prototype, "paymentIntent", 2);
1581
1581
  a([
1582
- d,
1582
+ p,
1583
1583
  c({ type: Object, attribute: "payment-request" })
1584
1584
  ], f.prototype, "paymentRequest", 2);
1585
1585
  a([
@@ -1627,13 +1627,13 @@ a([
1627
1627
  f = a([
1628
1628
  fe("stripe-payment-request")
1629
1629
  ], f);
1630
- var Ne = "basil", ds = function(t) {
1630
+ var Oe = "basil", ps = function(t) {
1631
1631
  return t === 3 ? "v3" : t;
1632
- }, Oe = "https://js.stripe.com", hs = "".concat(Oe, "/").concat(Ne, "/stripe.js"), ms = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, ys = /^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/;
1632
+ }, Ne = "https://js.stripe.com", hs = "".concat(Ne, "/").concat(Oe, "/stripe.js"), ms = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, ys = /^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/;
1633
1633
  var fs = function(t) {
1634
1634
  return ms.test(t) || ys.test(t);
1635
1635
  }, vs = function() {
1636
- for (var t = document.querySelectorAll('script[src^="'.concat(Oe, '"]')), r = 0; r < t.length; r++) {
1636
+ for (var t = document.querySelectorAll('script[src^="'.concat(Ne, '"]')), r = 0; r < t.length; r++) {
1637
1637
  var s = t[r];
1638
1638
  if (fs(s.src))
1639
1639
  return s;
@@ -1662,7 +1662,7 @@ var fs = function(t) {
1662
1662
  return function() {
1663
1663
  window.Stripe ? t(window.Stripe) : r(new Error("Stripe.js not available"));
1664
1664
  };
1665
- }, _s = function(t) {
1665
+ }, ws = function(t) {
1666
1666
  return Y !== null ? Y : (Y = new Promise(function(r, s) {
1667
1667
  if (typeof window > "u" || typeof document > "u") {
1668
1668
  r(null);
@@ -1690,20 +1690,20 @@ var fs = function(t) {
1690
1690
  }), Y.catch(function(r) {
1691
1691
  return Y = null, Promise.reject(r);
1692
1692
  }));
1693
- }, ws = function(t, r, s) {
1693
+ }, _s = function(t, r, s) {
1694
1694
  if (t === null)
1695
1695
  return null;
1696
- var n = r[0], i = n.match(/^pk_test/), o = ds(t.version), u = Ne;
1696
+ var n = r[0], i = n.match(/^pk_test/), o = ps(t.version), u = Oe;
1697
1697
  i && o !== u && console.warn("Stripe.js@".concat(o, " was loaded on the page, but @stripe/stripe-js@").concat("7.9.0", " expected Stripe.js@").concat(u, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
1698
1698
  var l = t.apply(void 0, r);
1699
1699
  return gs(l, s), l;
1700
- }, Z, Le = !1, Ie = function() {
1701
- return Z || (Z = _s(null).catch(function(t) {
1700
+ }, Z, Le = !1, Ve = function() {
1701
+ return Z || (Z = ws(null).catch(function(t) {
1702
1702
  return Z = null, Promise.reject(t);
1703
1703
  }), Z);
1704
1704
  };
1705
1705
  Promise.resolve().then(function() {
1706
- return Ie();
1706
+ return Ve();
1707
1707
  }).catch(function(e) {
1708
1708
  Le || console.warn(e);
1709
1709
  });
@@ -1712,11 +1712,11 @@ var $s = function() {
1712
1712
  r[s] = arguments[s];
1713
1713
  Le = !0;
1714
1714
  var n = Date.now();
1715
- return Ie().then(function(i) {
1716
- return ws(i, r, n);
1715
+ return Ve().then(function(i) {
1716
+ return _s(i, r, n);
1717
1717
  });
1718
1718
  };
1719
- const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, Ps = { class: "pr-3" }, As = ["disable", "locale", "publishable-key"], xs = ["innerHTML"], ks = { class: "ml-1 text-caption" }, Rs = { class: "mr-1" }, Ve = /* @__PURE__ */ Ke({
1719
+ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, Ps = { class: "pr-3" }, As = ["disable", "locale", "publishable-key"], xs = ["innerHTML"], ks = { class: "ml-1 text-caption" }, Rs = { class: "mr-1" }, Ie = /* @__PURE__ */ We({
1720
1720
  __name: "CreditCardStripeForm",
1721
1721
  props: {
1722
1722
  amount: {},
@@ -1729,61 +1729,61 @@ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = {
1729
1729
  },
1730
1730
  emits: ["change", "error", "payment:success"],
1731
1731
  setup(e, { expose: t, emit: r }) {
1732
- const s = e, n = Wt({
1732
+ const s = e, n = Gt({
1733
1733
  prop: ct(() => s.loading)
1734
- }), i = Wt({
1734
+ }), i = Gt({
1735
1735
  prop: ct(() => s.disabled)
1736
- }), { locale: o, t: u } = We(), l = B(null), p = B(!1), m = B(!1), y = B(null), v = B(null), C = r, { config: O } = Ge(), { eventBus: M } = Qe();
1737
- function gt(_) {
1738
- switch (_) {
1739
- case K.Production:
1736
+ }), { locale: o, t: u } = Ge(), l = B(null), d = B(!1), m = B(!1), y = B(null), v = B(null), $ = r, { config: N } = Ke(), { eventBus: M } = Qe();
1737
+ function gt(A) {
1738
+ switch (A) {
1739
+ case W.Production:
1740
1740
  return "pk_live_x99EPirYIsCyUsRvPAfyhnRp";
1741
- case K.Sandbox:
1742
- case K.Staging:
1743
- case K.CiCd:
1744
- case K.Local:
1741
+ case W.Sandbox:
1742
+ case W.Staging:
1743
+ case W.CiCd:
1744
+ case W.Local:
1745
1745
  default:
1746
1746
  return "pk_test_wXnn2RrefTiOHB0zzxqJr0s8";
1747
1747
  }
1748
1748
  }
1749
1749
  const F = ct(
1750
- () => gt(O.value.apiEnvironment)
1750
+ () => gt(N.value.apiEnvironment)
1751
1751
  );
1752
- function bt(_) {
1753
- l.value = "", C("change", !!_.detail.complete);
1752
+ function bt(A) {
1753
+ l.value = "", $("change", !!A.detail.complete);
1754
1754
  }
1755
- function q(_) {
1756
- l.value = `${_?.error?.message} - ${u("CreditCardStripeForm.error")}`, C("error", l.value);
1755
+ function q(A) {
1756
+ l.value = `${A?.error?.message} - ${u("CreditCardStripeForm.error")}`, $("error", l.value);
1757
1757
  }
1758
- async function St(_) {
1758
+ async function St(A) {
1759
1759
  try {
1760
1760
  if (!window.Stripe || i.value)
1761
1761
  return;
1762
- const E = window.Stripe(F.value, {
1762
+ const C = window.Stripe(F.value, {
1763
1763
  locale: Xe(o.value)
1764
1764
  });
1765
- p.value = !0;
1766
- const nt = await E.confirmCardPayment(s.stripeToken, {
1765
+ d.value = !0;
1766
+ const nt = await C.confirmCardPayment(s.stripeToken, {
1767
1767
  // eslint-disable-next-line camelcase
1768
- payment_method: _.detail.id
1768
+ payment_method: A.detail.id
1769
1769
  });
1770
- nt.error ? q(nt.error) : s.withAction ? M.$emit(Dt.PaymentSuccess) : C(Dt.PaymentSuccess);
1771
- } catch (E) {
1772
- q(E);
1770
+ nt.error ? q(nt.error) : s.withAction ? M.$emit(Dt.PaymentSuccess) : $(Dt.PaymentSuccess);
1771
+ } catch (C) {
1772
+ q(C);
1773
1773
  }
1774
1774
  }
1775
1775
  function qt() {
1776
1776
  try {
1777
1777
  return !v.value || s.withTerms && !m.value ? null : v.value.submit();
1778
- } catch (_) {
1779
- return q(_), null;
1778
+ } catch (A) {
1779
+ return q(A), null;
1780
1780
  }
1781
1781
  }
1782
1782
  return Je(async () => {
1783
1783
  y.value = await $s(F.value);
1784
1784
  }), t({
1785
1785
  pay: qt
1786
- }), (_, E) => (P(), x(Ft, {
1786
+ }), (A, C) => (E(), x(Ft, {
1787
1787
  disabled: w(i),
1788
1788
  elevation: "0",
1789
1789
  border: "",
@@ -1806,24 +1806,24 @@ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = {
1806
1806
  start: "",
1807
1807
  size: "small"
1808
1808
  }, {
1809
- default: g(() => [...E[2] || (E[2] = [
1809
+ default: g(() => [...C[2] || (C[2] = [
1810
1810
  it(" fas fa-credit-card ", -1)
1811
1811
  ])]),
1812
1812
  _: 1
1813
1813
  }),
1814
1814
  it(" " + T(w(u)("CreditCardStripeForm.title")) + ": ", 1),
1815
- w(n) ? (P(), x(or, {
1815
+ w(n) ? (E(), x(or, {
1816
1816
  key: 0,
1817
1817
  class: "ml-2",
1818
1818
  color: "primary",
1819
1819
  indeterminate: "",
1820
1820
  size: "20",
1821
1821
  width: "1"
1822
- })) : (P(), x(Kt, {
1822
+ })) : (E(), x(Wt, {
1823
1823
  key: 1,
1824
- amount: _.amount,
1824
+ amount: e.amount,
1825
1825
  class: "font-weight-bold",
1826
- currency: _.currency
1826
+ currency: e.currency
1827
1827
  }, null, 8, ["amount", "currency"]))
1828
1828
  ]),
1829
1829
  b($t, {
@@ -1831,7 +1831,7 @@ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = {
1831
1831
  end: "",
1832
1832
  size: "small"
1833
1833
  }, {
1834
- default: g(() => [...E[3] || (E[3] = [
1834
+ default: g(() => [...C[3] || (C[3] = [
1835
1835
  it(" fas fa-lock ", -1)
1836
1836
  ])]),
1837
1837
  _: 1
@@ -1842,11 +1842,11 @@ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = {
1842
1842
  }),
1843
1843
  b(ur, null, {
1844
1844
  default: g(() => [
1845
- b(W, null, {
1845
+ b(G, null, {
1846
1846
  default: g(() => [
1847
1847
  b(L, null, {
1848
1848
  default: g(() => [
1849
- l.value ? (P(), x(ar, {
1849
+ l.value ? (E(), x(ar, {
1850
1850
  key: 0,
1851
1851
  color: "red",
1852
1852
  density: "compact",
@@ -1856,14 +1856,14 @@ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = {
1856
1856
  R("p", Es, T(w(u)("CreditCardStripeForm.paymentDeclined")) + ": " + T(l.value), 1)
1857
1857
  ]),
1858
1858
  _: 1
1859
- })) : _t("", !0)
1859
+ })) : wt("", !0)
1860
1860
  ]),
1861
1861
  _: 1
1862
1862
  })
1863
1863
  ]),
1864
1864
  _: 1
1865
1865
  }),
1866
- b(W, {
1866
+ b(G, {
1867
1867
  class: "d-none d-sm-flex",
1868
1868
  "no-gutters": ""
1869
1869
  }, {
@@ -1887,7 +1887,7 @@ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = {
1887
1887
  ]),
1888
1888
  _: 1
1889
1889
  }),
1890
- b(W, { "no-gutters": "" }, {
1890
+ b(G, { "no-gutters": "" }, {
1891
1891
  default: g(() => [
1892
1892
  b(L, null, {
1893
1893
  default: g(() => [
@@ -1896,7 +1896,7 @@ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = {
1896
1896
  border: ""
1897
1897
  }, {
1898
1898
  default: g(() => [
1899
- y.value ? (P(), wt("stripe-elements", {
1899
+ y.value ? (E(), _t("stripe-elements", {
1900
1900
  key: 0,
1901
1901
  disable: w(n),
1902
1902
  ref_key: "payment",
@@ -1908,7 +1908,7 @@ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = {
1908
1908
  onChange: bt,
1909
1909
  onError: q,
1910
1910
  onPaymentMethod: St
1911
- }, null, 40, As)) : (P(), x(G, {
1911
+ }, null, 40, As)) : (E(), x(K, {
1912
1912
  key: 1,
1913
1913
  class: "mx-auto",
1914
1914
  height: "36.8px",
@@ -1924,28 +1924,28 @@ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = {
1924
1924
  ]),
1925
1925
  _: 1
1926
1926
  }),
1927
- _.withTerms ? (P(), x(W, {
1927
+ e.withTerms ? (E(), x(G, {
1928
1928
  key: 0,
1929
1929
  class: "mt-2"
1930
1930
  }, {
1931
1931
  default: g(() => [
1932
1932
  b(L, null, {
1933
1933
  default: g(() => [
1934
- w(n) ? (P(), x(G, {
1934
+ w(n) ? (E(), x(K, {
1935
1935
  key: 0,
1936
1936
  class: "mt-3",
1937
1937
  height: "25px",
1938
1938
  type: "image",
1939
1939
  width: "50%"
1940
- })) : (P(), x(mr, {
1940
+ })) : (E(), x(mr, {
1941
1941
  key: 1,
1942
1942
  ref: "testing",
1943
1943
  modelValue: m.value,
1944
- "onUpdate:modelValue": E[1] || (E[1] = (nt) => m.value = nt)
1944
+ "onUpdate:modelValue": C[1] || (C[1] = (nt) => m.value = nt)
1945
1945
  }, {
1946
1946
  label: g(() => [
1947
1947
  R("span", {
1948
- onClick: E[0] || (E[0] = Ze(() => {
1948
+ onClick: C[0] || (C[0] = Ze(() => {
1949
1949
  }, ["stop"])),
1950
1950
  innerHTML: w(u)("CreditCardStripeForm.termsAndConditions", {
1951
1951
  url: w(u)("CreditCardStripeForm.termsURL")
@@ -1959,23 +1959,23 @@ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = {
1959
1959
  })
1960
1960
  ]),
1961
1961
  _: 1
1962
- })) : _t("", !0),
1963
- b(W, null, {
1962
+ })) : wt("", !0),
1963
+ b(G, null, {
1964
1964
  default: g(() => [
1965
1965
  b(L, { class: "v-col-12 v-col-sm-8 v-col-md-9" }, {
1966
1966
  default: g(() => [
1967
- w(n) ? (P(), wt(zt, { key: 0 }, [
1968
- b(G, {
1967
+ w(n) ? (E(), _t(zt, { key: 0 }, [
1968
+ b(K, {
1969
1969
  height: "10px",
1970
1970
  type: "image",
1971
1971
  width: "160px"
1972
1972
  }),
1973
- b(G, {
1973
+ b(K, {
1974
1974
  height: "38px",
1975
1975
  type: "image",
1976
1976
  width: "240px"
1977
1977
  })
1978
- ], 64)) : (P(), wt(zt, { key: 1 }, [
1978
+ ], 64)) : (E(), _t(zt, { key: 1 }, [
1979
1979
  R("small", ks, T(w(u)("CreditCardStripeForm.acceptedPaymentMethods")), 1),
1980
1980
  b(lr, {
1981
1981
  class: "mb-n1",
@@ -1987,45 +1987,45 @@ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = {
1987
1987
  ]),
1988
1988
  _: 1
1989
1989
  }),
1990
- _.withAction ? (P(), x(L, {
1990
+ e.withAction ? (E(), x(L, {
1991
1991
  key: 0,
1992
1992
  class: "v-col-12 v-col-sm-4 v-col-md-3 text-right align-self-end"
1993
1993
  }, {
1994
1994
  default: g(() => [
1995
- w(n) ? (P(), x(G, {
1995
+ w(n) ? (E(), x(K, {
1996
1996
  key: 0,
1997
1997
  class: "w-100 align-self-end",
1998
1998
  height: "36px",
1999
1999
  type: "image",
2000
2000
  width: "170px"
2001
- })) : (P(), x(cr, {
2001
+ })) : (E(), x(cr, {
2002
2002
  key: 1,
2003
2003
  class: "w-100 w-sm-auto align-self-end",
2004
2004
  color: "primary",
2005
- loading: p.value,
2005
+ loading: d.value,
2006
2006
  variant: "flat",
2007
- disabled: w(i) || _.withTerms && !m.value,
2007
+ disabled: w(i) || e.withTerms && !m.value,
2008
2008
  onClick: qt
2009
2009
  }, {
2010
2010
  default: g(() => [
2011
2011
  b($t, { start: "" }, {
2012
- default: g(() => [...E[4] || (E[4] = [
2012
+ default: g(() => [...C[4] || (C[4] = [
2013
2013
  it(" fas fa-lock ", -1)
2014
2014
  ])]),
2015
2015
  _: 1
2016
2016
  }),
2017
2017
  R("span", Rs, T(w(u)("CreditCardStripeForm.payNow")), 1),
2018
- b(Kt, {
2019
- amount: _.amount,
2018
+ b(Wt, {
2019
+ amount: e.amount,
2020
2020
  class: "font-weight-bold",
2021
- currency: _.currency
2021
+ currency: e.currency
2022
2022
  }, null, 8, ["amount", "currency"])
2023
2023
  ]),
2024
2024
  _: 1
2025
2025
  }, 8, ["loading", "disabled"]))
2026
2026
  ]),
2027
2027
  _: 1
2028
- })) : _t("", !0)
2028
+ })) : wt("", !0)
2029
2029
  ]),
2030
2030
  _: 1
2031
2031
  })
@@ -2164,13 +2164,13 @@ function ye(e) {
2164
2164
  }
2165
2165
  });
2166
2166
  }
2167
- typeof ye == "function" && ye(Ve);
2168
- const Is = /* @__PURE__ */ pr(Ve, [["__scopeId", "data-v-15d3def0"]]);
2167
+ typeof ye == "function" && ye(Ie);
2168
+ const Vs = /* @__PURE__ */ dr(Ie, [["__scopeId", "data-v-15d3def0"]]);
2169
2169
  Ue("css/revolugo.creditcardstripeform.C4-vMajR.css");
2170
2170
  export {
2171
- Is as C,
2171
+ Vs as C,
2172
2172
  mr as V,
2173
- dr as p,
2174
- Wt as u
2173
+ pr as p,
2174
+ Gt as u
2175
2175
  };
2176
- //# sourceMappingURL=revolugo.creditcardstripeform.NRr470ha.min.js.map
2176
+ //# sourceMappingURL=revolugo.creditcardstripeform.DnIub20X.min.js.map