@revolugo/elements 6.9.3-beta.1 → 6.9.3-beta.11

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 (47) hide show
  1. package/dist/css/{revolugo.cancellationpoliciesbadge.rSaL9R7c.css → revolugo.cancellationpoliciesbadge.DM3Cgr8A.css} +1 -1
  2. package/dist/css/{revolugo.creditcardstripeform.zWRVQ06X.css → revolugo.creditcardstripeform.DN5YJSMj.css} +1 -1
  3. package/dist/index.es.min.js +1129 -1372
  4. package/dist/index.es.min.js.map +1 -1
  5. package/dist/index.min.js +6 -6
  6. package/dist/index.min.js.map +1 -1
  7. package/dist/{revolugo.banktransferdetails.DBDBmi4T.min.js → revolugo.banktransferdetails.DFskPIBN.min.js} +6 -6
  8. package/dist/{revolugo.bookingdetailssidebar.B6QPM_Ry.min.js → revolugo.bookingdetailssidebar.BOs76Qod.min.js} +6 -6
  9. package/dist/{revolugo.bookingmanager.Ddkm_fvp.min.js → revolugo.bookingmanager.DzzQLMr9.min.js} +6 -6
  10. package/dist/{revolugo.cancellationpoliciesbadge.CG7uPZbr.min.js → revolugo.cancellationpoliciesbadge.BRcM9UUl.min.js} +6 -6
  11. package/dist/{revolugo.cancellationpoliciesbadge.props.BWTrC0_a.min.js → revolugo.cancellationpoliciesbadge.props.YZrc252e.min.js} +6172 -6067
  12. package/dist/{revolugo.cancellationpolicieslist.BG96pHr2.min.js → revolugo.cancellationpolicieslist.B7Mf5bmE.min.js} +6 -6
  13. package/dist/{revolugo.creditcardstripeform.DGWp8slG.min.js → revolugo.creditcardstripeform.B8KtVBUI.min.js} +138 -140
  14. package/dist/{revolugo.creditcardstripeform.QNt_WEGU.min.js → revolugo.creditcardstripeform.DkNqhTcH.min.js} +5 -5
  15. package/dist/{revolugo.currencypickerbtn.Bgm1OCQw.min.js → revolugo.currencypickerbtn.C1B6gpLV.min.js} +6 -6
  16. package/dist/{revolugo.dialog-attach.av8UMDFl.min.js → revolugo.dialog-attach.e4eWyf04.min.js} +2 -2
  17. package/dist/{revolugo.fastbookingflow.X6qQvSoz.min.js → revolugo.fastbookingflow.VfdAOD-j.min.js} +6 -6
  18. package/dist/revolugo.fullbookingflow.CFl16ykj.min.js +26 -0
  19. package/dist/{revolugo.hoteldescriptionview.BQC-fdbu.min.js → revolugo.hoteldescriptionview.DTByBiNZ.min.js} +6 -6
  20. package/dist/{revolugo.hotelofferlist.Cz1AOdHO.min.js → revolugo.hotelofferlist.HS8rTNwv.min.js} +6 -6
  21. package/dist/{revolugo.hoteloffersearchmenu.BuC8xvxw.min.js → revolugo.hoteloffersearchmenu.DLC5yEDD.min.js} +7 -7
  22. package/dist/revolugo.hoteloffersmap.l4UaNpun.min.js +26 -0
  23. package/dist/revolugo.hoteloffersview.DxUc5TlW.min.js +21 -0
  24. package/dist/revolugo.hotelroomofferlist.ryYBtMFY.min.js +26 -0
  25. package/dist/revolugo.hotelroomoffersbookingflow.BWIa87mZ.min.js +26 -0
  26. package/dist/{revolugo.hotelroomoffersearchmenu.CspP42oK.min.js → revolugo.hotelroomoffersearchmenu.4-HSRz_y.min.js} +6 -6
  27. package/dist/revolugo.hotelroomoffersview.Df2SYo4D.min.js +26 -0
  28. package/dist/{revolugo.index.mofuHwB4.min.js → revolugo.index.Qn3FvgFh.min.js} +2 -2
  29. package/dist/{revolugo.index.wc.CM8OBrQ1.min.js → revolugo.index.wc.CiJw1SpW.min.js} +730 -740
  30. package/dist/{revolugo.langpickerbtn.CKukkkuR.min.js → revolugo.langpickerbtn.rFwls9XZ.min.js} +6 -6
  31. package/dist/revolugo.min.js +1 -1
  32. package/dist/{revolugo.prebookform.q8ejbjFq.min.js → revolugo.prebookform.D33OnpHn.min.js} +6 -6
  33. package/dist/{revolugo.preferencesmenu.DdOskExU.min.js → revolugo.preferencesmenu.BOWFkVY9.min.js} +4 -4
  34. package/dist/{revolugo.preferencesmenu.CpUjfhca.min.js → revolugo.preferencesmenu.PVSL2fWE.min.js} +21 -21
  35. package/dist/{revolugo.roominglisteditor.Dnhk7nR9.min.js → revolugo.roominglisteditor.gLjgOdGD.min.js} +6 -6
  36. package/dist/{revolugo.storybooktoolbar.pNynqZm5.min.js → revolugo.storybooktoolbar.DZrgGX1X.min.js} +5 -5
  37. package/dist/{revolugo.termsandconditions.tYQ2KjEs.min.js → revolugo.termsandconditions.3W9GTrVc.min.js} +6 -6
  38. package/dist/{revolugo.vtoolbar.CAH-mO38.min.js → revolugo.vtoolbar.Ctwu8OKs.min.js} +13 -13
  39. package/dist/{revolugo.webcomponentwrapper.rioLf7fV.min.js → revolugo.webcomponentwrapper.PTHIHE3G.min.js} +4072 -4069
  40. package/package.json +3 -3
  41. package/dist/revolugo.creditcardpayment.DFFrWaVU.min.js +0 -26
  42. package/dist/revolugo.fullbookingflow.BzjWojY0.min.js +0 -26
  43. package/dist/revolugo.hoteloffersmap.DaxHQNKu.min.js +0 -26
  44. package/dist/revolugo.hoteloffersview.HBNlJSgs.min.js +0 -21
  45. package/dist/revolugo.hotelroomofferlist.Cofbf0gn.min.js +0 -26
  46. package/dist/revolugo.hotelroomoffersbookingflow.hfs_7j1e.min.js +0 -26
  47. package/dist/revolugo.hotelroomoffersview.CS6u-PH0.min.js +0 -26
@@ -1,6 +1,6 @@
1
- import { T as Ne, U as Oe, V as Le, be as Ve, b as ce, aA as Ie, a as b, m as Lt, $ as Ue, d as qe, h as Be, i as st, aR as ze, x as je, c as A, w as g, aj as De, bf as H, z as M, p as nt, y as T, u as R, f as it, j as gt, k as He, F as Vt, bg as Fe, P as We, o as E } from "./revolugo.index.wc.CM8OBrQ1.min.js";
2
- import { aB as Ge, w as Ke, aC as It, bc as Ut, aF as Je, bd as Ye, V as qt, k as bt, L as Bt, M as Ze, d as F, e as L, b8 as Xe, Q as W, af as Qe, j as tr, b as er, _ as rr } from "./revolugo.webcomponentwrapper.rioLf7fV.min.js";
3
- import { V as sr } from "./revolugo.vtoolbar.CAH-mO38.min.js";
1
+ import { U as Ne, V as Oe, W as Le, bc as Ie, b as ce, aB as Ve, a as b, m as Lt, $ as Ue, d as qe, h as Be, i as st, aR as ze, x as De, c as k, w as g, ak as je, bd as H, z as M, p as nt, y as T, u as R, f as vt, j as gt, k as He, F as It, be as Fe, P as We, o as E } from "./revolugo.index.wc.CiJw1SpW.min.js";
2
+ import { aB as Ge, w as Ke, aC as Vt, be as Ut, aF as Je, bf as Ye, V as qt, k as bt, L as Bt, M as Ze, d as F, e as L, ba as Xe, Q as W, af as Qe, j as tr, b as er, _ as rr } from "./revolugo.webcomponentwrapper.PTHIHE3G.min.js";
3
+ import { V as sr } from "./revolugo.vtoolbar.Ctwu8OKs.min.js";
4
4
  function Te(e) {
5
5
  try {
6
6
  if (typeof document < "u") {
@@ -41,12 +41,12 @@ const nr = Oe({
41
41
  isFocused: i,
42
42
  focus: o,
43
43
  blur: u
44
- } = Ge(e), l = Ve(), d = ce(() => e.id || `checkbox-${l}`);
44
+ } = Ge(e), l = Ie(), d = ce(() => e.id || `checkbox-${l}`);
45
45
  return Ke(() => {
46
- const [y, v] = Ie(r), S = It.filterProps(e), $ = Ut.filterProps(e);
47
- return b(It, Lt({
46
+ const [m, v] = Ve(r), S = Vt.filterProps(e), $ = Ut.filterProps(e);
47
+ return b(Vt, Lt({
48
48
  class: ["v-checkbox", e.class]
49
- }, y, S, {
49
+ }, m, S, {
50
50
  modelValue: n.value,
51
51
  "onUpdate:modelValue": (O) => n.value = O,
52
52
  id: d.value,
@@ -56,17 +56,17 @@ const nr = Oe({
56
56
  ...s,
57
57
  default: (O) => {
58
58
  let {
59
- id: k,
60
- messagesId: vt,
59
+ id: A,
60
+ messagesId: ft,
61
61
  isDisabled: rt,
62
- isReadonly: m,
62
+ isReadonly: y,
63
63
  isValid: C
64
64
  } = O;
65
65
  return b(Ut, Lt($, {
66
- id: k.value,
67
- "aria-describedby": vt.value,
66
+ id: A.value,
67
+ "aria-describedby": ft.value,
68
68
  disabled: rt.value,
69
- readonly: m.value
69
+ readonly: y.value
70
70
  }, v, {
71
71
  error: C.value === !1,
72
72
  modelValue: n.value,
@@ -131,7 +131,7 @@ function x(e, t, r) {
131
131
  * Copyright 2019 Google LLC
132
132
  * SPDX-License-Identifier: BSD-3-Clause
133
133
  */
134
- const ct = window, Rt = ct.ShadowRoot && (ct.ShadyCSS === void 0 || ct.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Mt = Symbol(), jt = /* @__PURE__ */ new WeakMap();
134
+ const lt = window, Rt = lt.ShadowRoot && (lt.ShadyCSS === void 0 || lt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Mt = Symbol(), Dt = /* @__PURE__ */ new WeakMap();
135
135
  let de = class {
136
136
  constructor(t, r, s) {
137
137
  if (this._$cssResult$ = !0, s !== Mt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -142,7 +142,7 @@ let de = class {
142
142
  const r = this.t;
143
143
  if (Rt && t === void 0) {
144
144
  const s = r !== void 0 && r.length === 1;
145
- s && (t = jt.get(r)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && jt.set(r, t));
145
+ s && (t = Dt.get(r)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && Dt.set(r, t));
146
146
  }
147
147
  return t;
148
148
  }
@@ -159,10 +159,10 @@ const lr = (e) => new de(typeof e == "string" ? e : e + "", void 0, Mt), Tt = (e
159
159
  return new de(r, e, Mt);
160
160
  }, cr = (e, t) => {
161
161
  Rt ? e.adoptedStyleSheets = t.map((r) => r instanceof CSSStyleSheet ? r : r.styleSheet) : t.forEach((r) => {
162
- const s = document.createElement("style"), n = ct.litNonce;
162
+ const s = document.createElement("style"), n = lt.litNonce;
163
163
  n !== void 0 && s.setAttribute("nonce", n), s.textContent = r.cssText, e.appendChild(s);
164
164
  });
165
- }, Dt = Rt ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
165
+ }, jt = Rt ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
166
166
  let r = "";
167
167
  for (const s of t.cssRules) r += s.cssText;
168
168
  return lr(r);
@@ -173,7 +173,7 @@ const lr = (e) => new de(typeof e == "string" ? e : e + "", void 0, Mt), Tt = (e
173
173
  * SPDX-License-Identifier: BSD-3-Clause
174
174
  */
175
175
  var _t;
176
- const mt = window, Ht = mt.trustedTypes, ur = Ht ? Ht.emptyScript : "", Ft = mt.reactiveElementPolyfillSupport, At = { toAttribute(e, t) {
176
+ const ht = window, Ht = ht.trustedTypes, ur = Ht ? Ht.emptyScript : "", Ft = ht.reactiveElementPolyfillSupport, At = { toAttribute(e, t) {
177
177
  switch (t) {
178
178
  case Boolean:
179
179
  e = e ? ur : null;
@@ -249,8 +249,8 @@ let B = class extends HTMLElement {
249
249
  const r = [];
250
250
  if (Array.isArray(t)) {
251
251
  const s = new Set(t.flat(1 / 0).reverse());
252
- for (const n of s) r.unshift(Dt(n));
253
- } else t !== void 0 && r.push(Dt(t));
252
+ for (const n of s) r.unshift(jt(n));
253
+ } else t !== void 0 && r.push(jt(t));
254
254
  return r;
255
255
  }
256
256
  static _$Ep(t, r) {
@@ -376,16 +376,16 @@ let B = class extends HTMLElement {
376
376
  firstUpdated(t) {
377
377
  }
378
378
  };
379
- B[kt] = !0, B.elementProperties = /* @__PURE__ */ new Map(), B.elementStyles = [], B.shadowRootOptions = { mode: "open" }, Ft?.({ ReactiveElement: B }), ((_t = mt.reactiveElementVersions) !== null && _t !== void 0 ? _t : mt.reactiveElementVersions = []).push("1.6.3");
379
+ B[kt] = !0, B.elementProperties = /* @__PURE__ */ new Map(), B.elementStyles = [], B.shadowRootOptions = { mode: "open" }, Ft?.({ ReactiveElement: B }), ((_t = ht.reactiveElementVersions) !== null && _t !== void 0 ? _t : ht.reactiveElementVersions = []).push("1.6.3");
380
380
  /**
381
381
  * @license
382
382
  * Copyright 2017 Google LLC
383
383
  * SPDX-License-Identifier: BSD-3-Clause
384
384
  */
385
385
  var $t;
386
- const yt = window, z = yt.trustedTypes, Wt = z ? z.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, xt = "$lit$", N = `lit$${(Math.random() + "").slice(9)}$`, he = "?" + N, dr = `<${he}>`, U = document, X = () => U.createComment(""), Q = (e) => e === null || typeof e != "object" && typeof e != "function", me = Array.isArray, pr = (e) => me(e) || typeof e?.[Symbol.iterator] == "function", Ct = `[
387
- \f\r]`, G = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Gt = /-->/g, Kt = />/g, V = RegExp(`>|${Ct}(?:([^\\s"'>=/]+)(${Ct}*=${Ct}*(?:[^
388
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Jt = /'/g, Yt = /"/g, ye = /^(?:script|style|textarea|title)$/i, hr = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), mr = hr(1), j = Symbol.for("lit-noChange"), _ = Symbol.for("lit-nothing"), Zt = /* @__PURE__ */ new WeakMap(), I = U.createTreeWalker(U, 129, null, !1);
386
+ const mt = window, z = mt.trustedTypes, Wt = z ? z.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, xt = "$lit$", N = `lit$${(Math.random() + "").slice(9)}$`, he = "?" + N, dr = `<${he}>`, U = document, X = () => U.createComment(""), Q = (e) => e === null || typeof e != "object" && typeof e != "function", me = Array.isArray, pr = (e) => me(e) || typeof e?.[Symbol.iterator] == "function", Ct = `[
387
+ \f\r]`, G = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Gt = /-->/g, Kt = />/g, I = RegExp(`>|${Ct}(?:([^\\s"'>=/]+)(${Ct}*=${Ct}*(?:[^
388
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Jt = /'/g, Yt = /"/g, ye = /^(?:script|style|textarea|title)$/i, hr = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), mr = hr(1), D = Symbol.for("lit-noChange"), _ = Symbol.for("lit-nothing"), Zt = /* @__PURE__ */ new WeakMap(), V = U.createTreeWalker(U, 129, null, !1);
389
389
  function fe(e, t) {
390
390
  if (!Array.isArray(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
391
391
  return Wt !== void 0 ? Wt.createHTML(t) : t;
@@ -395,9 +395,9 @@ const yr = (e, t) => {
395
395
  let n, i = t === 2 ? "<svg>" : "", o = G;
396
396
  for (let u = 0; u < r; u++) {
397
397
  const l = e[u];
398
- let d, y, v = -1, S = 0;
399
- for (; S < l.length && (o.lastIndex = S, y = o.exec(l), y !== null); ) S = o.lastIndex, o === G ? y[1] === "!--" ? o = Gt : y[1] !== void 0 ? o = Kt : y[2] !== void 0 ? (ye.test(y[2]) && (n = RegExp("</" + y[2], "g")), o = V) : y[3] !== void 0 && (o = V) : o === V ? y[0] === ">" ? (o = n ?? G, v = -1) : y[1] === void 0 ? v = -2 : (v = o.lastIndex - y[2].length, d = y[1], o = y[3] === void 0 ? V : y[3] === '"' ? Yt : Jt) : o === Yt || o === Jt ? o = V : o === Gt || o === Kt ? o = G : (o = V, n = void 0);
400
- const $ = o === V && e[u + 1].startsWith("/>") ? " " : "";
398
+ let d, m, v = -1, S = 0;
399
+ for (; S < l.length && (o.lastIndex = S, m = o.exec(l), m !== null); ) S = o.lastIndex, o === G ? m[1] === "!--" ? o = Gt : m[1] !== void 0 ? o = Kt : m[2] !== void 0 ? (ye.test(m[2]) && (n = RegExp("</" + m[2], "g")), o = I) : m[3] !== void 0 && (o = I) : o === I ? m[0] === ">" ? (o = n ?? G, v = -1) : m[1] === void 0 ? v = -2 : (v = o.lastIndex - m[2].length, d = m[1], o = m[3] === void 0 ? I : m[3] === '"' ? Yt : Jt) : o === Yt || o === Jt ? o = I : o === Gt || o === Kt ? o = G : (o = I, n = void 0);
400
+ const $ = o === I && e[u + 1].startsWith("/>") ? " " : "";
401
401
  i += o === G ? l + dr : v >= 0 ? (s.push(d), l.slice(0, v) + xt + l.slice(v) + N + $) : l + N + (v === -2 ? (s.push(void 0), u) : $);
402
402
  }
403
403
  return [fe(e, i + (e[r] || "<?>") + (t === 2 ? "</svg>" : "")), s];
@@ -407,20 +407,20 @@ class tt {
407
407
  let n;
408
408
  this.parts = [];
409
409
  let i = 0, o = 0;
410
- const u = t.length - 1, l = this.parts, [d, y] = yr(t, r);
411
- if (this.el = tt.createElement(d, s), I.currentNode = this.el.content, r === 2) {
410
+ const u = t.length - 1, l = this.parts, [d, m] = yr(t, r);
411
+ if (this.el = tt.createElement(d, s), V.currentNode = this.el.content, r === 2) {
412
412
  const v = this.el.content, S = v.firstChild;
413
413
  S.remove(), v.append(...S.childNodes);
414
414
  }
415
- for (; (n = I.nextNode()) !== null && l.length < u; ) {
415
+ for (; (n = V.nextNode()) !== null && l.length < u; ) {
416
416
  if (n.nodeType === 1) {
417
417
  if (n.hasAttributes()) {
418
418
  const v = [];
419
419
  for (const S of n.getAttributeNames()) if (S.endsWith(xt) || S.startsWith(N)) {
420
- const $ = y[o++];
420
+ const $ = m[o++];
421
421
  if (v.push(S), $ !== void 0) {
422
- const O = n.getAttribute($.toLowerCase() + xt).split(N), k = /([.?@])?(.*)/.exec($);
423
- l.push({ type: 1, index: i, name: k[2], strings: O, ctor: k[1] === "." ? vr : k[1] === "?" ? br : k[1] === "@" ? Sr : ft });
422
+ const O = n.getAttribute($.toLowerCase() + xt).split(N), A = /([.?@])?(.*)/.exec($);
423
+ l.push({ type: 1, index: i, name: A[2], strings: O, ctor: A[1] === "." ? vr : A[1] === "?" ? br : A[1] === "@" ? Sr : yt });
424
424
  } else l.push({ type: 6, index: i });
425
425
  }
426
426
  for (const S of v) n.removeAttribute(S);
@@ -429,7 +429,7 @@ class tt {
429
429
  const v = n.textContent.split(N), S = v.length - 1;
430
430
  if (S > 0) {
431
431
  n.textContent = z ? z.emptyScript : "";
432
- for (let $ = 0; $ < S; $++) n.append(v[$], X()), I.nextNode(), l.push({ type: 2, index: ++i });
432
+ for (let $ = 0; $ < S; $++) n.append(v[$], X()), V.nextNode(), l.push({ type: 2, index: ++i });
433
433
  n.append(v[S], X());
434
434
  }
435
435
  }
@@ -446,12 +446,12 @@ class tt {
446
446
  return s.innerHTML = t, s;
447
447
  }
448
448
  }
449
- function D(e, t, r = e, s) {
449
+ function j(e, t, r = e, s) {
450
450
  var n, i, o, u;
451
- if (t === j) return t;
451
+ if (t === D) return t;
452
452
  let l = s !== void 0 ? (n = r._$Co) === null || n === void 0 ? void 0 : n[s] : r._$Cl;
453
453
  const d = Q(t) ? void 0 : t._$litDirective$;
454
- 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 = D(e, l._$AS(e, t.values), l, s)), t;
454
+ 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 = j(e, l._$AS(e, t.values), l, s)), t;
455
455
  }
456
456
  class fr {
457
457
  constructor(t, r) {
@@ -466,16 +466,16 @@ class fr {
466
466
  u(t) {
467
467
  var r;
468
468
  const { el: { content: s }, parts: n } = this._$AD, i = ((r = t?.creationScope) !== null && r !== void 0 ? r : U).importNode(s, !0);
469
- I.currentNode = i;
470
- let o = I.nextNode(), u = 0, l = 0, d = n[0];
469
+ V.currentNode = i;
470
+ let o = V.nextNode(), u = 0, l = 0, d = n[0];
471
471
  for (; d !== void 0; ) {
472
472
  if (u === d.index) {
473
- let y;
474
- d.type === 2 ? y = new et(o, o.nextSibling, this, t) : d.type === 1 ? y = new d.ctor(o, d.name, d.strings, this, t) : d.type === 6 && (y = new _r(o, this, t)), this._$AV.push(y), d = n[++l];
473
+ let m;
474
+ d.type === 2 ? m = new et(o, o.nextSibling, this, t) : d.type === 1 ? m = new d.ctor(o, d.name, d.strings, this, t) : d.type === 6 && (m = new _r(o, this, t)), this._$AV.push(m), d = n[++l];
475
475
  }
476
- u !== d?.index && (o = I.nextNode(), u++);
476
+ u !== d?.index && (o = V.nextNode(), u++);
477
477
  }
478
- return I.currentNode = U, i;
478
+ return V.currentNode = U, i;
479
479
  }
480
480
  v(t) {
481
481
  let r = 0;
@@ -503,7 +503,7 @@ class et {
503
503
  return this._$AB;
504
504
  }
505
505
  _$AI(t, r = this) {
506
- t = D(this, t, r), Q(t) ? t === _ || t == null || t === "" ? (this._$AH !== _ && this._$AR(), this._$AH = _) : t !== this._$AH && t !== j && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : pr(t) ? this.T(t) : this._(t);
506
+ t = j(this, t, r), Q(t) ? t === _ || t == null || t === "" ? (this._$AH !== _ && this._$AR(), this._$AH = _) : t !== this._$AH && t !== D && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : pr(t) ? this.T(t) : this._(t);
507
507
  }
508
508
  k(t) {
509
509
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -546,7 +546,7 @@ class et {
546
546
  this._$AM === void 0 && (this._$Cp = t, (r = this._$AP) === null || r === void 0 || r.call(this, t));
547
547
  }
548
548
  }
549
- class ft {
549
+ class yt {
550
550
  constructor(t, r, s, n, i) {
551
551
  this.type = 1, this._$AH = _, this._$AN = void 0, this.element = t, this.name = r, this._$AM = n, this.options = i, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = _;
552
552
  }
@@ -559,11 +559,11 @@ class ft {
559
559
  _$AI(t, r = this, s, n) {
560
560
  const i = this.strings;
561
561
  let o = !1;
562
- if (i === void 0) t = D(this, t, r, 0), o = !Q(t) || t !== this._$AH && t !== j, o && (this._$AH = t);
562
+ if (i === void 0) t = j(this, t, r, 0), o = !Q(t) || t !== this._$AH && t !== D, o && (this._$AH = t);
563
563
  else {
564
564
  const u = t;
565
565
  let l, d;
566
- for (t = i[0], l = 0; l < i.length - 1; l++) d = D(this, u[s + l], r, l), d === j && (d = this._$AH[l]), o || (o = !Q(d) || d !== this._$AH[l]), d === _ ? t = _ : t !== _ && (t += (d ?? "") + i[l + 1]), this._$AH[l] = d;
566
+ for (t = i[0], l = 0; l < i.length - 1; l++) d = j(this, u[s + l], r, l), d === D && (d = this._$AH[l]), o || (o = !Q(d) || d !== this._$AH[l]), d === _ ? t = _ : t !== _ && (t += (d ?? "") + i[l + 1]), this._$AH[l] = d;
567
567
  }
568
568
  o && !n && this.j(t);
569
569
  }
@@ -571,7 +571,7 @@ class ft {
571
571
  t === _ ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
572
572
  }
573
573
  }
574
- class vr extends ft {
574
+ class vr extends yt {
575
575
  constructor() {
576
576
  super(...arguments), this.type = 3;
577
577
  }
@@ -580,7 +580,7 @@ class vr extends ft {
580
580
  }
581
581
  }
582
582
  const gr = z ? z.emptyScript : "";
583
- class br extends ft {
583
+ class br extends yt {
584
584
  constructor() {
585
585
  super(...arguments), this.type = 4;
586
586
  }
@@ -588,13 +588,13 @@ class br extends ft {
588
588
  t && t !== _ ? this.element.setAttribute(this.name, gr) : this.element.removeAttribute(this.name);
589
589
  }
590
590
  }
591
- class Sr extends ft {
591
+ class Sr extends yt {
592
592
  constructor(t, r, s, n, i) {
593
593
  super(t, r, s, n, i), this.type = 5;
594
594
  }
595
595
  _$AI(t, r = this) {
596
596
  var s;
597
- if ((t = (s = D(this, t, r, 0)) !== null && s !== void 0 ? s : _) === j) return;
597
+ if ((t = (s = j(this, t, r, 0)) !== null && s !== void 0 ? s : _) === D) return;
598
598
  const n = this._$AH, i = t === _ && n !== _ || t.capture !== n.capture || t.once !== n.once || t.passive !== n.passive, o = t !== _ && (n === _ || i);
599
599
  i && this.element.removeEventListener(this.name, this, n), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
600
600
  }
@@ -611,11 +611,11 @@ class _r {
611
611
  return this._$AM._$AU;
612
612
  }
613
613
  _$AI(t) {
614
- D(this, t);
614
+ j(this, t);
615
615
  }
616
616
  }
617
- const Xt = yt.litHtmlPolyfillSupport;
618
- Xt?.(tt, et), (($t = yt.litHtmlVersions) !== null && $t !== void 0 ? $t : yt.litHtmlVersions = []).push("2.8.0");
617
+ const Xt = mt.litHtmlPolyfillSupport;
618
+ Xt?.(tt, et), (($t = mt.litHtmlVersions) !== null && $t !== void 0 ? $t : mt.litHtmlVersions = []).push("2.8.0");
619
619
  const wr = (e, t, r) => {
620
620
  var s, n;
621
621
  const i = (s = r?.renderBefore) !== null && s !== void 0 ? s : t;
@@ -654,7 +654,7 @@ class Z extends B {
654
654
  super.disconnectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!1);
655
655
  }
656
656
  render() {
657
- return j;
657
+ return D;
658
658
  }
659
659
  }
660
660
  Z.finalized = !0, Z._$litElement$ = !0, (Et = globalThis.litElementHydrateSupport) === null || Et === void 0 || Et.call(globalThis, { LitElement: Z });
@@ -746,11 +746,11 @@ var Or = class extends Event {
746
746
  constructor(e, t, r, s) {
747
747
  super(`${s ?? e.toLowerCase()}-changed`), this.key = e, this.oldValue = t, this.value = r, this.detail = { value: r };
748
748
  }
749
- }, ut = class {
749
+ }, ct = class {
750
750
  constructor(e) {
751
- if (this.host = e, this.cache = /* @__PURE__ */ new Map(), ut.instances.has(e))
752
- return ut.instances.get(e);
753
- e.addController(this), ut.instances.set(e, this);
751
+ if (this.host = e, this.cache = /* @__PURE__ */ new Map(), ct.instances.has(e))
752
+ return ct.instances.get(e);
753
+ e.addController(this), ct.instances.set(e, this);
754
754
  }
755
755
  hostUpdated() {
756
756
  for (const [e, t] of this.cache) {
@@ -758,7 +758,7 @@ var Or = class extends Event {
758
758
  this.cache.set(e, r), this.host.dispatchEvent(new Or(e, t, r, n));
759
759
  }
760
760
  }
761
- }, ge = ut;
761
+ }, ge = ct;
762
762
  ge.instances = /* @__PURE__ */ new Map();
763
763
  function P(e, t) {
764
764
  e.constructor.addInitializer((r) => {
@@ -784,10 +784,10 @@ function te(e) {
784
784
  throw e.error;
785
785
  return e;
786
786
  }
787
- var Vr = Object.defineProperty, Ir = Object.getOwnPropertyDescriptor, a = (e, t, r, s) => {
788
- for (var n = s > 1 ? void 0 : s ? Ir(t, r) : t, i = e.length - 1, o; i >= 0; i--)
787
+ var Ir = Object.defineProperty, Vr = Object.getOwnPropertyDescriptor, a = (e, t, r, s) => {
788
+ for (var n = s > 1 ? void 0 : s ? Vr(t, r) : t, i = e.length - 1, o; i >= 0; i--)
789
789
  (o = e[i]) && (n = (s ? o(t, r, n) : o(n)) || n);
790
- return s && n && Vr(t, r, n), n;
790
+ return s && n && Ir(t, r, n), n;
791
791
  }, be = (e, t, r) => {
792
792
  if (!t.has(e))
793
793
  throw TypeError("Cannot " + r);
@@ -851,13 +851,13 @@ var Ur = class {
851
851
  this.destroyMountPoints(), this.initMountPoints(), this.initialized = !0;
852
852
  }
853
853
  };
854
- function dt(e) {
854
+ function ut(e) {
855
855
  "@babel/helpers - typeof";
856
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? dt = function(t) {
856
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? ut = function(t) {
857
857
  return typeof t;
858
- } : dt = function(t) {
858
+ } : ut = function(t) {
859
859
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
860
- }, dt(e);
860
+ }, ut(e);
861
861
  }
862
862
  var Se = "https://js.stripe.com/v3", qr = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, ie = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used", Br = function() {
863
863
  for (var t = document.querySelectorAll('script[src^="'.concat(Se, '"]')), r = 0; r < t.length; r++) {
@@ -873,14 +873,14 @@ var Se = "https://js.stripe.com/v3", qr = /^https:\/\/js\.stripe\.com\/v3\/?(\?.
873
873
  if (!n)
874
874
  throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");
875
875
  return n.appendChild(s), s;
876
- }, jr = function(t, r) {
876
+ }, Dr = function(t, r) {
877
877
  !t || !t._registerWrapper || t._registerWrapper({
878
878
  name: "stripe-js",
879
879
  version: "1.32.0",
880
880
  startTime: r
881
881
  });
882
- }, ot = null, Dr = function(t) {
883
- return ot !== null || (ot = new Promise(function(r, s) {
882
+ }, it = null, jr = function(t) {
883
+ return it !== null || (it = new Promise(function(r, s) {
884
884
  if (typeof window > "u") {
885
885
  r(null);
886
886
  return;
@@ -900,12 +900,12 @@ var Se = "https://js.stripe.com/v3", qr = /^https:\/\/js\.stripe\.com\/v3\/?(\?.
900
900
  s(i);
901
901
  return;
902
902
  }
903
- })), ot;
903
+ })), it;
904
904
  }, Hr = function(t, r, s) {
905
905
  if (t === null)
906
906
  return null;
907
907
  var n = t.apply(void 0, r);
908
- return jr(n, s), n;
908
+ return Dr(n, s), n;
909
909
  }, Fr = function(t) {
910
910
  var r = `invalid load parameters; expected object of shape
911
911
 
@@ -915,7 +915,7 @@ but received
915
915
 
916
916
  `.concat(JSON.stringify(t), `
917
917
  `);
918
- if (t === null || dt(t) !== "object")
918
+ if (t === null || ut(t) !== "object")
919
919
  throw new Error(r);
920
920
  if (Object.keys(t).length === 1 && typeof t.advancedFraudSignals == "boolean")
921
921
  return t;
@@ -925,7 +925,7 @@ but received
925
925
  r[s] = arguments[s];
926
926
  we = !0;
927
927
  var n = Date.now();
928
- return Dr(_e).then(function(i) {
928
+ return jr(_e).then(function(i) {
929
929
  return Hr(i, r, n);
930
930
  });
931
931
  };
@@ -1400,28 +1400,28 @@ function es({ dataset: { amount: e, detail: t, ...r } }) {
1400
1400
  function rs(e) {
1401
1401
  return Qr(e) ? ts(e) : es(e);
1402
1402
  }
1403
- var pt, ht, f = class extends h {
1403
+ var dt, pt, f = class extends h {
1404
1404
  constructor() {
1405
- super(...arguments), this.canMakePayment = null, re(this, pt, void 0), this.paymentIntent = null, this.paymentRequest = null, this.pending = !1, re(this, ht, void 0), this.buttonType = "default", this.buttonTheme = "dark", this.complete = async (e, t) => {
1405
+ super(...arguments), this.canMakePayment = null, re(this, dt, void 0), this.paymentIntent = null, this.paymentRequest = null, this.pending = !1, re(this, pt, void 0), this.buttonType = "default", this.buttonTheme = "dark", this.complete = async (e, t) => {
1406
1406
  const { error: r = null } = { ...e }, s = r || t ? "fail" : "success";
1407
1407
  return e.complete(s), this.fire(s, e), t ? { error: t } : e;
1408
1408
  };
1409
1409
  }
1410
1410
  get displayItems() {
1411
- const e = ee(this, pt);
1411
+ const e = ee(this, dt);
1412
1412
  return Array.isArray(e) ? e : this.parseDatasets("stripe-display-item");
1413
1413
  }
1414
1414
  set displayItems(e) {
1415
1415
  const t = this.displayItems;
1416
- se(this, pt, e), this.requestUpdate("displayItems", t);
1416
+ se(this, dt, e), this.requestUpdate("displayItems", t);
1417
1417
  }
1418
1418
  get shippingOptions() {
1419
- const e = ee(this, ht);
1419
+ const e = ee(this, pt);
1420
1420
  return Array.isArray(e) ? e : this.parseDatasets("stripe-shipping-option");
1421
1421
  }
1422
1422
  set shippingOptions(e) {
1423
1423
  const t = this.shippingOptions;
1424
- se(this, ht, e), this.requestUpdate("shippingOptions", t);
1424
+ se(this, pt, e), this.requestUpdate("shippingOptions", t);
1425
1425
  }
1426
1426
  reset() {
1427
1427
  super.reset(), p.set(this, { paymentIntent: null });
@@ -1526,8 +1526,8 @@ var pt, ht, f = class extends h {
1526
1526
  return t.length ? t.map(rs) : [];
1527
1527
  }
1528
1528
  };
1529
+ dt = /* @__PURE__ */ new WeakMap();
1529
1530
  pt = /* @__PURE__ */ new WeakMap();
1530
- ht = /* @__PURE__ */ new WeakMap();
1531
1531
  f.is = "stripe-payment-request";
1532
1532
  f.styles = [
1533
1533
  Pe,
@@ -1632,7 +1632,7 @@ var as = function(t) {
1632
1632
  version: "7.8.0",
1633
1633
  startTime: r
1634
1634
  });
1635
- }, K = null, at = null, lt = null, us = function(t) {
1635
+ }, K = null, ot = null, at = null, us = function(t) {
1636
1636
  return function(r) {
1637
1637
  t(new Error("Failed to load Stripe.js", {
1638
1638
  cause: r
@@ -1657,12 +1657,12 @@ var as = function(t) {
1657
1657
  if (!(n && t)) {
1658
1658
  if (!n)
1659
1659
  n = ae(t);
1660
- else if (n && lt !== null && at !== null) {
1660
+ else if (n && at !== null && ot !== null) {
1661
1661
  var i;
1662
- n.removeEventListener("load", lt), n.removeEventListener("error", at), (i = n.parentNode) === null || i === void 0 || i.removeChild(n), n = ae(t);
1662
+ n.removeEventListener("load", at), n.removeEventListener("error", ot), (i = n.parentNode) === null || i === void 0 || i.removeChild(n), n = ae(t);
1663
1663
  }
1664
1664
  }
1665
- lt = ds(r, s), at = us(s), n.addEventListener("load", lt), n.addEventListener("error", at);
1665
+ at = ds(r, s), ot = us(s), n.addEventListener("load", at), n.addEventListener("error", ot);
1666
1666
  } catch (o) {
1667
1667
  s(o);
1668
1668
  return;
@@ -1696,22 +1696,22 @@ var ms = function() {
1696
1696
  return hs(i, r, n);
1697
1697
  });
1698
1698
  };
1699
- const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, vs = { class: "pr-3" }, gs = ["locale", "publishable-key"], bs = ["innerHTML"], Ss = { class: "ml-1 text-caption" }, _s = { class: "mr-1" }, Me = /* @__PURE__ */ qe({
1699
+ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, vs = { class: "pr-3" }, gs = ["disable", "locale", "publishable-key"], bs = ["innerHTML"], Ss = { class: "ml-1 text-caption" }, _s = { class: "mr-1" }, Me = /* @__PURE__ */ qe({
1700
1700
  __name: "CreditCardStripeForm",
1701
1701
  props: {
1702
1702
  amount: {},
1703
1703
  currency: {},
1704
1704
  disabled: { type: Boolean },
1705
1705
  loading: { type: Boolean },
1706
- token: {},
1706
+ stripeToken: {},
1707
1707
  withAction: { type: Boolean },
1708
1708
  withTerms: { type: Boolean }
1709
1709
  },
1710
1710
  emits: ["change", "error", "payment:success"],
1711
1711
  setup(e, { expose: t, emit: r }) {
1712
- const s = e, { locale: n, t: i } = Be(), o = st(null), u = st(!1), l = st(null), d = st(null), y = r, { config: v } = ze();
1713
- function S(m) {
1714
- switch (m) {
1712
+ const s = e, { locale: n, t: i } = Be(), o = st(null), u = st(!1), l = st(null), d = st(null), m = r, { config: v } = ze();
1713
+ function S(y) {
1714
+ switch (y) {
1715
1715
  case H.Production:
1716
1716
  return "pk_live_x99EPirYIsCyUsRvPAfyhnRp";
1717
1717
  case H.Sandbox:
@@ -1725,46 +1725,44 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
1725
1725
  const $ = ce(
1726
1726
  () => S(v.value.apiEnvironment)
1727
1727
  );
1728
- function O(m) {
1729
- o.value = "", y("change", !!m.detail.complete);
1728
+ function O(y) {
1729
+ o.value = "", m("change", !!y.detail.complete);
1730
1730
  }
1731
- function k(m) {
1732
- o.value = `${m?.error?.message} - ${i("CreditCardStripeForm.error")}`, y("error", o.value);
1731
+ function A(y) {
1732
+ o.value = `${y?.error?.message} - ${i("CreditCardStripeForm.error")}`, m("error", o.value);
1733
1733
  }
1734
- async function vt(m) {
1734
+ async function ft(y) {
1735
1735
  try {
1736
1736
  if (!window.Stripe || s.disabled)
1737
1737
  return;
1738
1738
  const q = await window.Stripe($.value, {
1739
1739
  locale: Fe(n.value)
1740
- }).confirmCardPayment(s.token, {
1740
+ }).confirmCardPayment(s.stripeToken, {
1741
1741
  // eslint-disable-next-line camelcase
1742
- payment_method: m.detail.id
1742
+ payment_method: y.detail.id
1743
1743
  });
1744
- q.error ? k(q.error) : y(We.PaymentSuccess);
1744
+ q.error ? A(q.error) : m(We.PaymentSuccess);
1745
1745
  } catch (C) {
1746
- k(C);
1746
+ A(C);
1747
1747
  }
1748
1748
  }
1749
1749
  function rt() {
1750
1750
  try {
1751
- if (!d.value || s.withTerms && !u.value)
1752
- return;
1753
- d.value.submit();
1754
- } catch (m) {
1755
- k(m);
1751
+ return !d.value || s.withTerms && !u.value ? null : d.value.submit();
1752
+ } catch (y) {
1753
+ return A(y), null;
1756
1754
  }
1757
1755
  }
1758
- return je(async () => {
1756
+ return De(async () => {
1759
1757
  l.value = await ms($.value);
1760
1758
  }), t({
1761
1759
  pay: rt
1762
- }), (m, C) => (E(), A(qt, {
1763
- disabled: m.disabled,
1760
+ }), (y, C) => (E(), k(qt, {
1761
+ disabled: y.disabled,
1764
1762
  elevation: "0",
1765
1763
  border: "",
1766
- style: De({
1767
- borderColor: m.disabled ? "" : "rgb(var(--v-theme-primary))"
1764
+ style: je({
1765
+ borderColor: y.disabled ? "" : "rgb(var(--v-theme-primary))"
1768
1766
  })
1769
1767
  }, {
1770
1768
  default: g(() => [
@@ -1789,18 +1787,18 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
1789
1787
  __: [2]
1790
1788
  }),
1791
1789
  nt(" " + T(R(i)("CreditCardStripeForm.title")) + ": ", 1),
1792
- m.loading ? (E(), A(Ze, {
1790
+ y.loading ? (E(), k(Ze, {
1793
1791
  key: 1,
1794
1792
  class: "ml-2",
1795
1793
  color: "primary",
1796
1794
  indeterminate: "",
1797
1795
  size: "20",
1798
1796
  width: "1"
1799
- })) : (E(), A(Bt, {
1797
+ })) : (E(), k(Bt, {
1800
1798
  key: 0,
1801
- amount: m.amount,
1799
+ amount: y.amount,
1802
1800
  class: "font-weight-bold",
1803
- currency: m.currency
1801
+ currency: y.currency
1804
1802
  }, null, 8, ["amount", "currency"]))
1805
1803
  ]),
1806
1804
  b(bt, {
@@ -1824,7 +1822,7 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
1824
1822
  default: g(() => [
1825
1823
  b(L, null, {
1826
1824
  default: g(() => [
1827
- o.value ? (E(), A(Xe, {
1825
+ o.value ? (E(), k(Xe, {
1828
1826
  key: 0,
1829
1827
  color: "red",
1830
1828
  density: "compact",
@@ -1834,15 +1832,14 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
1834
1832
  M("p", fs, T(R(i)("CreditCardStripeForm.paymentDeclined")) + ": " + T(o.value), 1)
1835
1833
  ]),
1836
1834
  _: 1
1837
- })) : it("", !0)
1835
+ })) : vt("", !0)
1838
1836
  ]),
1839
1837
  _: 1
1840
1838
  })
1841
1839
  ]),
1842
1840
  _: 1
1843
1841
  }),
1844
- m.loading ? it("", !0) : (E(), A(F, {
1845
- key: 0,
1842
+ b(F, {
1846
1843
  class: "d-none d-sm-flex",
1847
1844
  "no-gutters": ""
1848
1845
  }, {
@@ -1865,7 +1862,7 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
1865
1862
  })
1866
1863
  ]),
1867
1864
  _: 1
1868
- })),
1865
+ }),
1869
1866
  b(F, { "no-gutters": "" }, {
1870
1867
  default: g(() => [
1871
1868
  b(L, null, {
@@ -1875,8 +1872,9 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
1875
1872
  border: ""
1876
1873
  }, {
1877
1874
  default: g(() => [
1878
- !m.loading && l.value ? (E(), gt("stripe-elements", {
1875
+ l.value ? (E(), gt("stripe-elements", {
1879
1876
  key: 0,
1877
+ disable: y.loading,
1880
1878
  ref_key: "payment",
1881
1879
  ref: d,
1882
1880
  generate: "payment-method",
@@ -1884,9 +1882,9 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
1884
1882
  locale: R(n),
1885
1883
  "publishable-key": $.value,
1886
1884
  onChange: O,
1887
- onError: k,
1888
- onPaymentMethod: vt
1889
- }, null, 40, gs)) : (E(), A(W, {
1885
+ onError: A,
1886
+ onPaymentMethod: ft
1887
+ }, null, 40, gs)) : (E(), k(W, {
1890
1888
  key: 1,
1891
1889
  class: "mx-auto",
1892
1890
  height: "36.8px",
@@ -1902,20 +1900,20 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
1902
1900
  ]),
1903
1901
  _: 1
1904
1902
  }),
1905
- m.withTerms ? (E(), A(F, {
1906
- key: 1,
1903
+ y.withTerms ? (E(), k(F, {
1904
+ key: 0,
1907
1905
  class: "mt-2"
1908
1906
  }, {
1909
1907
  default: g(() => [
1910
1908
  b(L, null, {
1911
1909
  default: g(() => [
1912
- m.loading ? (E(), A(W, {
1910
+ y.loading ? (E(), k(W, {
1913
1911
  key: 1,
1914
1912
  class: "mt-3",
1915
1913
  height: "25px",
1916
1914
  type: "image",
1917
1915
  width: "50%"
1918
- })) : (E(), A(ir, {
1916
+ })) : (E(), k(ir, {
1919
1917
  key: 0,
1920
1918
  ref: "testing",
1921
1919
  modelValue: u.value,
@@ -1937,12 +1935,12 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
1937
1935
  })
1938
1936
  ]),
1939
1937
  _: 1
1940
- })) : it("", !0),
1938
+ })) : vt("", !0),
1941
1939
  b(F, null, {
1942
1940
  default: g(() => [
1943
1941
  b(L, { class: "v-col-12 v-col-sm-8 v-col-md-9" }, {
1944
1942
  default: g(() => [
1945
- m.loading ? (E(), gt(Vt, { key: 0 }, [
1943
+ y.loading ? (E(), gt(It, { key: 0 }, [
1946
1944
  b(W, {
1947
1945
  height: "10px",
1948
1946
  type: "image",
@@ -1953,7 +1951,7 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
1953
1951
  type: "image",
1954
1952
  width: "240px"
1955
1953
  })
1956
- ], 64)) : (E(), gt(Vt, { key: 1 }, [
1954
+ ], 64)) : (E(), gt(It, { key: 1 }, [
1957
1955
  M("small", Ss, T(R(i)("CreditCardStripeForm.acceptedPaymentMethods")), 1),
1958
1956
  b(Qe, {
1959
1957
  class: "mb-n1",
@@ -1965,23 +1963,23 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
1965
1963
  ]),
1966
1964
  _: 1
1967
1965
  }),
1968
- m.withAction ? (E(), A(L, {
1966
+ y.withAction ? (E(), k(L, {
1969
1967
  key: 0,
1970
1968
  class: "v-col-12 v-col-sm-4 v-col-md-3 text-right align-self-end"
1971
1969
  }, {
1972
1970
  default: g(() => [
1973
- m.loading ? (E(), A(W, {
1971
+ y.loading ? (E(), k(W, {
1974
1972
  key: 0,
1975
1973
  class: "w-100 align-self-end",
1976
1974
  height: "36px",
1977
1975
  type: "image",
1978
1976
  width: "170px"
1979
- })) : (E(), A(tr, {
1977
+ })) : (E(), k(tr, {
1980
1978
  key: 1,
1981
1979
  class: "w-100 w-sm-auto align-self-end",
1982
1980
  color: "primary",
1983
1981
  variant: "flat",
1984
- disabled: m.disabled || m.withTerms && !u.value,
1982
+ disabled: y.disabled || y.withTerms && !u.value,
1985
1983
  onClick: rt
1986
1984
  }, {
1987
1985
  default: g(() => [
@@ -1994,16 +1992,16 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
1994
1992
  }),
1995
1993
  M("span", _s, T(R(i)("CreditCardStripeForm.payNow")), 1),
1996
1994
  b(Bt, {
1997
- amount: m.amount,
1995
+ amount: y.amount,
1998
1996
  class: "font-weight-bold",
1999
- currency: m.currency
1997
+ currency: y.currency
2000
1998
  }, null, 8, ["amount", "currency"])
2001
1999
  ]),
2002
2000
  _: 1
2003
2001
  }, 8, ["disabled"]))
2004
2002
  ]),
2005
2003
  _: 1
2006
- })) : it("", !0)
2004
+ })) : vt("", !0)
2007
2005
  ]),
2008
2006
  _: 1
2009
2007
  })
@@ -2031,7 +2029,7 @@ function le(e) {
2031
2029
  pay: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Total price to pay" } },
2032
2030
  payByCard: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Amount to pay by card" } },
2033
2031
  paymentDeclined: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Payment declined" } },
2034
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Total to Pay with your credit card" } },
2032
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Total to pay with your credit card" } },
2035
2033
  payNow: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pay now" } },
2036
2034
  termsURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
2037
2035
  termsAndConditions: { t: 0, b: { t: 2, i: [{ t: 3, v: 'By continuing with your reservation you agree to the terms and conditions: <b><a href="' }, { t: 4, k: "url" }, { t: 3, v: '" target="_blank">Click here to read it</a></b>' }] } }
@@ -2143,10 +2141,10 @@ function le(e) {
2143
2141
  });
2144
2142
  }
2145
2143
  typeof le == "function" && le(Me);
2146
- const As = /* @__PURE__ */ rr(Me, [["__scopeId", "data-v-aeca475a"]]);
2147
- Te("css/revolugo.creditcardstripeform.zWRVQ06X.css");
2144
+ const As = /* @__PURE__ */ rr(Me, [["__scopeId", "data-v-345de37d"]]);
2145
+ Te("css/revolugo.creditcardstripeform.DN5YJSMj.css");
2148
2146
  export {
2149
2147
  As as C,
2150
2148
  ir as V
2151
2149
  };
2152
- //# sourceMappingURL=revolugo.creditcardstripeform.DGWp8slG.min.js.map
2150
+ //# sourceMappingURL=revolugo.creditcardstripeform.B8KtVBUI.min.js.map