@revolugo/elements 6.10.8-rc.3 → 6.10.9-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.
- package/dist/css/{revolugo.cancellationpoliciesbadge.C7DM-7_E.css → revolugo.cancellationpoliciesbadge.suehH7Ig.css} +1 -1
- package/dist/css/revolugo.index.Cg8oJfEY.css +5 -0
- package/dist/css/{revolugo.webcomponentwrapper.BuBXl6s2.css → revolugo.webcomponentwrapper.DOrzC34M.css} +1 -1
- package/dist/index.es.min.js +11 -11
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo.banktransferdetails.tT0dCc-e.min.js → revolugo.banktransferdetails.aG4CFs0a.min.js} +9 -9
- package/dist/{revolugo.bookingdetailssidebar.BK7FSamv.min.js → revolugo.bookingdetailssidebar.BOs0xQNE.min.js} +9 -9
- package/dist/revolugo.bookingmanager.D6BdfLIh.min.js +26 -0
- package/dist/revolugo.cancellationpoliciesbadge.CUOsdyCg.min.js +26 -0
- package/dist/{revolugo.cancellationpoliciesbadge.props.C5XRXTyC.min.js → revolugo.cancellationpoliciesbadge.props.CGeUMTlr.min.js} +12094 -12135
- package/dist/{revolugo.cancellationpolicieslist.D8cBvO_8.min.js → revolugo.cancellationpolicieslist.BYEcmwfS.min.js} +9 -9
- package/dist/{revolugo.creditcardstripeform.BvfkX-a4.min.js → revolugo.creditcardstripeform.96Jd7rRB.min.js} +7 -7
- package/dist/{revolugo.creditcardstripeform.BTrNL_pm.min.js → revolugo.creditcardstripeform.zuB7Y5Vw.min.js} +181 -181
- package/dist/revolugo.currencypickerbtn.BAbO_5cP.min.js +26 -0
- package/dist/{revolugo.dialog-attach.C0sKNFCv.min.js → revolugo.dialog-attach.fLx0A9j8.min.js} +2 -2
- package/dist/{revolugo.fastbookingflow.CDaRu3mi.min.js → revolugo.fastbookingflow.Dlxb-neY.min.js} +9 -9
- package/dist/revolugo.fullbookingflow.BTXf4Dx2.min.js +26 -0
- package/dist/revolugo.hoteldescriptionview.U8_Y9tCA.min.js +26 -0
- package/dist/revolugo.hotelofferlist.2DkLLXRn.min.js +26 -0
- package/dist/{revolugo.hoteloffersearchmenu.DUdJOuLp.min.js → revolugo.hoteloffersearchmenu.DLMOL4t7.min.js} +19 -19
- package/dist/revolugo.hoteloffersmap.NDNAqfEm.min.js +26 -0
- package/dist/revolugo.hoteloffersview.DqOBAyTY.min.js +21 -0
- package/dist/revolugo.hotelroomofferlist.CvWNfYwN.min.js +26 -0
- package/dist/revolugo.hotelroomoffersbookingflow.DBs9ytAQ.min.js +26 -0
- package/dist/revolugo.hotelroomoffersearchmenu.BQVlMxRF.min.js +26 -0
- package/dist/revolugo.hotelroomoffersview.DJXJfore.min.js +26 -0
- package/dist/revolugo.index.BV_lFxOG.min.js +115 -0
- package/dist/{revolugo.index.wc.DNGXC938.min.js → revolugo.index.wc.Zrrq-l7g.min.js} +8072 -9080
- package/dist/revolugo.langpickerbtn.7JmTcOJp.min.js +31 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.prebookform.plElrnmZ.min.js +26 -0
- package/dist/revolugo.preferencesmenu.DHHsnHAT.min.js +24 -0
- package/dist/{revolugo.preferencesmenu.uwsV_Dpx.min.js → revolugo.preferencesmenu.DmYNOh4g.min.js} +77 -77
- package/dist/revolugo.roominglisteditor.DGf3Hvns.min.js +26 -0
- package/dist/{revolugo.storybooktoolbar.CmwCF7WR.min.js → revolugo.storybooktoolbar.3iypDZUh.min.js} +9 -9
- package/dist/{revolugo.termsandconditions.CQBiPzeX.min.js → revolugo.termsandconditions.BfBN07E6.min.js} +8 -8
- package/dist/revolugo.vtoolbar.DIEaaeeH.min.js +205 -0
- package/dist/{revolugo.webcomponentwrapper.wrod3mm9.min.js → revolugo.webcomponentwrapper.DwPpPnyV.min.js} +5738 -5971
- package/package.json +5 -5
- package/dist/css/revolugo.index.BNlxBMG6.css +0 -5
- package/dist/revolugo.bookingmanager.Cmr-4cEu.min.js +0 -26
- package/dist/revolugo.cancellationpoliciesbadge.C84oJBLJ.min.js +0 -26
- package/dist/revolugo.currencypickerbtn.DNBJin_8.min.js +0 -26
- package/dist/revolugo.fullbookingflow.Q6wj70Am.min.js +0 -26
- package/dist/revolugo.hoteldescriptionview.p75YIpo9.min.js +0 -26
- package/dist/revolugo.hotelofferlist.D-jtMzne.min.js +0 -26
- package/dist/revolugo.hoteloffersmap.BKQum-Cu.min.js +0 -26
- package/dist/revolugo.hoteloffersview.BujpzFab.min.js +0 -21
- package/dist/revolugo.hotelroomofferlist.DByQlfb_.min.js +0 -26
- package/dist/revolugo.hotelroomoffersbookingflow.C3Q3MHCz.min.js +0 -26
- package/dist/revolugo.hotelroomoffersearchmenu.C3pyB4lD.min.js +0 -26
- package/dist/revolugo.hotelroomoffersview.SiWrrWgW.min.js +0 -26
- package/dist/revolugo.index.C0wy7geB.min.js +0 -106
- package/dist/revolugo.langpickerbtn.CdJR3UOg.min.js +0 -31
- package/dist/revolugo.prebookform.VuOPxx_c.min.js +0 -26
- package/dist/revolugo.preferencesmenu.DvRyf89r.min.js +0 -24
- package/dist/revolugo.roominglisteditor.C9bNgeqg.min.js +0 -26
- package/dist/revolugo.vtoolbar.D7GigvMe.min.js +0 -187
| @@ -1,6 +1,6 @@ | |
| 1 | 
            -
            import {  | 
| 2 | 
            -
            import { d as tr, V as er } from "./revolugo.vtoolbar. | 
| 3 | 
            -
            import { ay as rr, s as sr, az as jt,  | 
| 1 | 
            +
            import { aY as qe, i as B, J as Be, K as ze, L as De, aZ as je, b as ct, ap as He, a as b, m as Bt, Q as Fe, d as We, h as Ge, aE as Ke, x as Je, c as x, w as g, a8 as Ye, u as w, a_ as W, z as R, p as it, y as T, f as wt, j as _t, k as Ze, F as zt, a$ as Xe, aI as Qe, E as Dt, o as E } from "./revolugo.index.wc.Zrrq-l7g.min.js";
         | 
| 2 | 
            +
            import { d as tr, V as er } from "./revolugo.vtoolbar.DIEaaeeH.min.js";
         | 
| 3 | 
            +
            import { ay as rr, s as sr, az as jt, bb as Ht, aC as nr, bc as ir, V as Ft, k as $t, I as or, J as Wt, d as G, e as L, b3 as ar, N as K, ac as lr, j as cr, b as ur, _ as dr } from "./revolugo.webcomponentwrapper.DwPpPnyV.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  | 
| 24 | 
            +
            function pr(e, t, r) {
         | 
| 25 25 | 
             
              if (e == null)
         | 
| 26 26 | 
             
                return t;
         | 
| 27 27 | 
             
              const s = r || ((n) => n);
         | 
| @@ -38,7 +38,7 @@ function Gt({ | |
| 38 38 | 
             
              fallbackValue: t,
         | 
| 39 39 | 
             
              prop: r
         | 
| 40 40 | 
             
            }) {
         | 
| 41 | 
            -
              const s =  | 
| 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,15 +61,15 @@ const hr = ze({ | |
| 61 61 | 
             
                  isFocused: i,
         | 
| 62 62 | 
             
                  focus: o,
         | 
| 63 63 | 
             
                  blur: u
         | 
| 64 | 
            -
                } = rr(e), l = je(),  | 
| 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),  | 
| 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 71 | 
             
                    "onUpdate:modelValue": (O) => n.value = O,
         | 
| 72 | 
            -
                    id:  | 
| 72 | 
            +
                    id: d.value,
         | 
| 73 73 | 
             
                    focused: i.value,
         | 
| 74 74 | 
             
                    style: e.style
         | 
| 75 75 | 
             
                  }), {
         | 
| @@ -82,7 +82,7 @@ const hr = ze({ | |
| 82 82 | 
             
                        isReadonly: bt,
         | 
| 83 83 | 
             
                        isValid: q
         | 
| 84 84 | 
             
                      } = O;
         | 
| 85 | 
            -
                      return b(Ht, Bt( | 
| 85 | 
            +
                      return b(Ht, Bt($, {
         | 
| 86 86 | 
             
                        id: M.value,
         | 
| 87 87 | 
             
                        "aria-describedby": gt.value,
         | 
| 88 88 | 
             
                        disabled: F.value,
         | 
| @@ -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,  | 
| 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, wr = (e) => Se(e) || typeof e?.[Symbol.iterator] == "function", xt = `[ 	
         | 
| 407 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,  | 
| 409 | 
            -
            function  | 
| 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(), V = 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,20 +415,20 @@ 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  | 
| 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 ? ( | 
| 420 | 
            -
                const  | 
| 421 | 
            -
                i += o === J ? l + Sr : y >= 0 ? (s.push( | 
| 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 = 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, d = 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 $ = o === I && e[u + 1].startsWith("/>") ? " " : "";
         | 
| 421 | 
            +
                i += o === J ? l + Sr : y >= 0 ? (s.push(d), l.slice(0, y) + Nt + l.slice(y) + N + $) : l + N + (y === -2 ? (s.push(void 0), u) : $);
         | 
| 422 422 | 
             
              }
         | 
| 423 | 
            -
              return [ | 
| 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, [ | 
| 431 | 
            -
                if (this.el = rt.createElement( | 
| 430 | 
            +
                const u = t.length - 1, l = this.parts, [d, m] = Cr(t, r);
         | 
| 431 | 
            +
                if (this.el = rt.createElement(d, s), V.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 | 
             
                }
         | 
| @@ -437,19 +437,19 @@ class rt { | |
| 437 437 | 
             
                    if (n.hasAttributes()) {
         | 
| 438 438 | 
             
                      const y = [];
         | 
| 439 439 | 
             
                      for (const v of n.getAttributeNames()) if (v.endsWith(Nt) || v.startsWith(N)) {
         | 
| 440 | 
            -
                        const  | 
| 441 | 
            -
                        if (y.push(v),  | 
| 442 | 
            -
                          const O = n.getAttribute( | 
| 440 | 
            +
                        const $ = m[o++];
         | 
| 441 | 
            +
                        if (y.push(v), $ !== void 0) {
         | 
| 442 | 
            +
                          const O = n.getAttribute($.toLowerCase() + Nt).split(N), M = /([.?@])?(.*)/.exec($);
         | 
| 443 443 | 
             
                          l.push({ type: 1, index: i, name: M[2], strings: O, 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 ( | 
| 448 | 
            +
                    if (we.test(n.tagName)) {
         | 
| 449 449 | 
             
                      const y = n.textContent.split(N), v = y.length - 1;
         | 
| 450 450 | 
             
                      if (v > 0) {
         | 
| 451 451 | 
             
                        n.textContent = D ? D.emptyScript : "";
         | 
| 452 | 
            -
                        for (let  | 
| 452 | 
            +
                        for (let $ = 0; $ < v; $++) n.append(y[$], tt()), V.nextNode(), l.push({ type: 2, index: ++i });
         | 
| 453 453 | 
             
                        n.append(y[v], tt());
         | 
| 454 454 | 
             
                      }
         | 
| 455 455 | 
             
                    }
         | 
| @@ -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  | 
| 474 | 
            -
              return l?.constructor !==  | 
| 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) {
         | 
| @@ -487,13 +487,13 @@ class Er { | |
| 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 489 | 
             
                V.currentNode = i;
         | 
| 490 | 
            -
                let o = V.nextNode(), u = 0, l = 0,  | 
| 491 | 
            -
                for (;  | 
| 492 | 
            -
                  if (u ===  | 
| 490 | 
            +
                let o = V.nextNode(), u = 0, l = 0, d = n[0];
         | 
| 491 | 
            +
                for (; d !== void 0; ) {
         | 
| 492 | 
            +
                  if (u === d.index) {
         | 
| 493 493 | 
             
                    let m;
         | 
| 494 | 
            -
                     | 
| 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 !==  | 
| 496 | 
            +
                  u !== d?.index && (o = V.nextNode(), u++);
         | 
| 497 497 | 
             
                }
         | 
| 498 498 | 
             
                return V.currentNode = U, i;
         | 
| 499 499 | 
             
              }
         | 
| @@ -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) :  | 
| 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( | 
| 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,  | 
| 586 | 
            -
                  for (t = i[0], l = 0; l < i.length - 1; l++)  | 
| 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 | 
             
              }
         | 
| @@ -738,7 +738,7 @@ var X = class { | |
| 738 738 | 
             
              }
         | 
| 739 739 | 
             
            }, Vt = X;
         | 
| 740 740 | 
             
            Vt.instances = /* @__PURE__ */ new Map();
         | 
| 741 | 
            -
            function  | 
| 741 | 
            +
            function p(e, t) {
         | 
| 742 742 | 
             
              const r = e.constructor;
         | 
| 743 743 | 
             
              r.addInitializer((s) => {
         | 
| 744 744 | 
             
                const n = Vt.for(s);
         | 
| @@ -757,7 +757,7 @@ function d(e, t) { | |
| 757 757 | 
             
                });
         | 
| 758 758 | 
             
              });
         | 
| 759 759 | 
             
            }
         | 
| 760 | 
            -
             | 
| 760 | 
            +
            p.set = function(e, t) {
         | 
| 761 761 | 
             
              const r = Vt.for(e);
         | 
| 762 762 | 
             
              for (const [s, n] of Object.entries(t))
         | 
| 763 763 | 
             
                r.set(s, n);
         | 
| @@ -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 | 
            -
            },  | 
| 769 | 
            +
            }, dt = class {
         | 
| 770 770 | 
             
              constructor(e) {
         | 
| 771 | 
            -
                if (this.host = e, this.cache = /* @__PURE__ */ new Map(),  | 
| 772 | 
            -
                  return  | 
| 773 | 
            -
                e.addController(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 =  | 
| 781 | 
            +
            }, Ce = dt;
         | 
| 782 782 | 
             
            Ce.instances = /* @__PURE__ */ new Map();
         | 
| 783 | 
            -
            function  | 
| 783 | 
            +
            function P(e, t) {
         | 
| 784 784 | 
             
              e.constructor.addInitializer((r) => {
         | 
| 785 785 | 
             
                new Ce(r).cache.set(t, r[t]);
         | 
| 786 786 | 
             
              });
         | 
| @@ -816,12 +816,12 @@ var Fr = Object.defineProperty, Wr = 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  | 
| 819 | 
            +
            function de() {
         | 
| 820 820 | 
             
              return (Date.now() + Math.random() * 1e3).toString(36).substr(0, 8);
         | 
| 821 821 | 
             
            }
         | 
| 822 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-${ | 
| 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 Gr = class { | |
| 833 833 | 
             
                this.destroyMountPoints();
         | 
| 834 834 | 
             
              }
         | 
| 835 835 | 
             
              resetMountId() {
         | 
| 836 | 
            -
                return `${this.options?.mountPrefix ?? this.host.localName}-mount-point-${ | 
| 836 | 
            +
                return `${this.options?.mountPrefix ?? this.host.localName}-mount-point-${de()}`;
         | 
| 837 837 | 
             
              }
         | 
| 838 838 | 
             
              createMountPoint() {
         | 
| 839 839 | 
             
                const e = document.createElement("div");
         | 
| @@ -871,15 +871,15 @@ var Gr = class { | |
| 871 871 | 
             
                this.destroyMountPoints(), this.initMountPoints(), this.initialized = !0;
         | 
| 872 872 | 
             
              }
         | 
| 873 873 | 
             
            };
         | 
| 874 | 
            -
            function  | 
| 874 | 
            +
            function pt(e) {
         | 
| 875 875 | 
             
              "@babel/helpers - typeof";
         | 
| 876 | 
            -
              return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?  | 
| 876 | 
            +
              return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? pt = function(t) {
         | 
| 877 877 | 
             
                return typeof t;
         | 
| 878 | 
            -
              } :  | 
| 878 | 
            +
              } : pt = function(t) {
         | 
| 879 879 | 
             
                return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
         | 
| 880 | 
            -
              },  | 
| 880 | 
            +
              }, pt(e);
         | 
| 881 881 | 
             
            }
         | 
| 882 | 
            -
            var Pe = "https://js.stripe.com/v3", Kr = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,  | 
| 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 885 | 
             
                if (Kr.test(s.src))
         | 
| @@ -905,13 +905,13 @@ var Pe = "https://js.stripe.com/v3", Kr = /^https:\/\/js\.stripe\.com\/v3\/?(\?. | |
| 905 905 | 
             
                  r(null);
         | 
| 906 906 | 
             
                  return;
         | 
| 907 907 | 
             
                }
         | 
| 908 | 
            -
                if (window.Stripe && t && console.warn( | 
| 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( | 
| 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 ||  | 
| 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;
         | 
| @@ -998,7 +998,7 @@ var es = { | |
| 998 998 | 
             
                super.disconnectedCallback(), await this.unmount?.();
         | 
| 999 999 | 
             
              }
         | 
| 1000 1000 | 
             
              reset() {
         | 
| 1001 | 
            -
                this.element?.clear?.(), this.resetRepresentations(),  | 
| 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 ( | 
| 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 | 
            -
                   | 
| 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 | 
            -
                     | 
| 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 | 
            -
                     | 
| 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?.(),  | 
| 1061 | 
            +
                this.element?.unmount?.(), p.set(this, { element: null }), await this.updateComplete;
         | 
| 1062 1062 | 
             
              }
         | 
| 1063 1063 | 
             
              async onBlur() {
         | 
| 1064 | 
            -
                 | 
| 1064 | 
            +
                p.set(this, { focused: !1 }), await this.updateComplete;
         | 
| 1065 1065 | 
             
              }
         | 
| 1066 1066 | 
             
              async onFocus() {
         | 
| 1067 | 
            -
                 | 
| 1067 | 
            +
                p.set(this, { focused: !0 }), await this.updateComplete;
         | 
| 1068 1068 | 
             
              }
         | 
| 1069 1069 | 
             
              async onReady(e) {
         | 
| 1070 | 
            -
                 | 
| 1070 | 
            +
                p.set(this, { ready: !0 }), await this.updateComplete, this.fire("ready", e);
         | 
| 1071 1071 | 
             
              }
         | 
| 1072 1072 | 
             
              async postRepresentation() {
         | 
| 1073 | 
            -
                const e = (l) =>  | 
| 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 | 
            -
                 | 
| 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 | 
            -
               | 
| 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 | 
            -
               | 
| 1114 | 
            -
               | 
| 1113 | 
            +
              p,
         | 
| 1114 | 
            +
              P,
         | 
| 1115 1115 | 
             
              c({ type: Object, attribute: "payment-method" })
         | 
| 1116 1116 | 
             
            ], h.prototype, "paymentMethod", 2);
         | 
| 1117 1117 | 
             
            a([
         | 
| 1118 | 
            -
               | 
| 1119 | 
            -
               | 
| 1118 | 
            +
              p,
         | 
| 1119 | 
            +
              P,
         | 
| 1120 1120 | 
             
              c({ type: Object })
         | 
| 1121 1121 | 
             
            ], h.prototype, "source", 2);
         | 
| 1122 1122 | 
             
            a([
         | 
| 1123 | 
            -
               | 
| 1124 | 
            -
               | 
| 1123 | 
            +
              p,
         | 
| 1124 | 
            +
              P,
         | 
| 1125 1125 | 
             
              c({ type: Object })
         | 
| 1126 1126 | 
             
            ], h.prototype, "token", 2);
         | 
| 1127 1127 | 
             
            a([
         | 
| 1128 | 
            -
               | 
| 1128 | 
            +
              p,
         | 
| 1129 1129 | 
             
              c({ type: Object })
         | 
| 1130 1130 | 
             
            ], h.prototype, "element", 2);
         | 
| 1131 1131 | 
             
            a([
         | 
| 1132 | 
            -
               | 
| 1132 | 
            +
              p,
         | 
| 1133 1133 | 
             
              c({ type: Object })
         | 
| 1134 1134 | 
             
            ], h.prototype, "elements", 2);
         | 
| 1135 1135 | 
             
            a([
         | 
| 1136 | 
            -
               | 
| 1137 | 
            -
               | 
| 1136 | 
            +
              p,
         | 
| 1137 | 
            +
              P,
         | 
| 1138 1138 | 
             
              c({ type: Object, reflect: !0, converter: es })
         | 
| 1139 1139 | 
             
            ], h.prototype, "error", 2);
         | 
| 1140 1140 | 
             
            a([
         | 
| 1141 | 
            -
               | 
| 1142 | 
            -
               | 
| 1141 | 
            +
              p,
         | 
| 1142 | 
            +
              P,
         | 
| 1143 1143 | 
             
              c({ type: Boolean, reflect: !0 })
         | 
| 1144 1144 | 
             
            ], h.prototype, "focused", 2);
         | 
| 1145 1145 | 
             
            a([
         | 
| 1146 | 
            -
               | 
| 1147 | 
            -
               | 
| 1146 | 
            +
              p,
         | 
| 1147 | 
            +
              P,
         | 
| 1148 1148 | 
             
              c({ type: Boolean, reflect: !0 })
         | 
| 1149 1149 | 
             
            ], h.prototype, "ready", 2);
         | 
| 1150 1150 | 
             
            a([
         | 
| 1151 | 
            -
               | 
| 1151 | 
            +
              p,
         | 
| 1152 1152 | 
             
              c({ type: Object })
         | 
| 1153 1153 | 
             
            ], h.prototype, "stripe", 2);
         | 
| 1154 1154 | 
             
            a([
         | 
| @@ -1245,7 +1245,7 @@ var rs = It`[hidden] { | |
| 1245 1245 | 
             
              "::selection",
         | 
| 1246 1246 | 
             
              ":-webkit-autofill",
         | 
| 1247 1247 | 
             
              ":disabled"
         | 
| 1248 | 
            -
            ],  | 
| 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  | 
| 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 &&  | 
| 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,69 +1330,69 @@ var rs = It`[hidden] { | |
| 1330 1330 | 
             
                  style: n,
         | 
| 1331 1331 | 
             
                  value: s
         | 
| 1332 1332 | 
             
                });
         | 
| 1333 | 
            -
                i.on("change", this.onChange),  | 
| 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 | 
            -
                 | 
| 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 | 
            -
             | 
| 1344 | 
            -
             | 
| 1345 | 
            -
             | 
| 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 | 
            -
            ],  | 
| 1351 | 
            +
            ], _.prototype, "hideIcon", 2);
         | 
| 1352 1352 | 
             
            a([
         | 
| 1353 1353 | 
             
              c({ type: Boolean, attribute: "hide-postal-code" })
         | 
| 1354 | 
            -
            ],  | 
| 1354 | 
            +
            ], _.prototype, "hidePostalCode", 2);
         | 
| 1355 1355 | 
             
            a([
         | 
| 1356 1356 | 
             
              c({ type: String, attribute: "icon-style" })
         | 
| 1357 | 
            -
            ],  | 
| 1357 | 
            +
            ], _.prototype, "iconStyle", 2);
         | 
| 1358 1358 | 
             
            a([
         | 
| 1359 1359 | 
             
              c({ type: Object })
         | 
| 1360 | 
            -
            ],  | 
| 1360 | 
            +
            ], _.prototype, "value", 2);
         | 
| 1361 1361 | 
             
            a([
         | 
| 1362 | 
            -
               | 
| 1363 | 
            -
               | 
| 1362 | 
            +
              P,
         | 
| 1363 | 
            +
              p,
         | 
| 1364 1364 | 
             
              c({ type: String })
         | 
| 1365 | 
            -
            ],  | 
| 1365 | 
            +
            ], _.prototype, "brand", 2);
         | 
| 1366 1366 | 
             
            a([
         | 
| 1367 | 
            -
               | 
| 1368 | 
            -
               | 
| 1367 | 
            +
              P,
         | 
| 1368 | 
            +
              p,
         | 
| 1369 1369 | 
             
              c({ type: Boolean, reflect: !0 })
         | 
| 1370 | 
            -
            ],  | 
| 1370 | 
            +
            ], _.prototype, "complete", 2);
         | 
| 1371 1371 | 
             
            a([
         | 
| 1372 | 
            -
               | 
| 1373 | 
            -
               | 
| 1372 | 
            +
              P,
         | 
| 1373 | 
            +
              p,
         | 
| 1374 1374 | 
             
              c({ type: Boolean, reflect: !0 })
         | 
| 1375 | 
            -
            ],  | 
| 1375 | 
            +
            ], _.prototype, "empty", 2);
         | 
| 1376 1376 | 
             
            a([
         | 
| 1377 | 
            -
               | 
| 1378 | 
            -
               | 
| 1377 | 
            +
              P,
         | 
| 1378 | 
            +
              p,
         | 
| 1379 1379 | 
             
              c({ type: Boolean, reflect: !0 })
         | 
| 1380 | 
            -
            ],  | 
| 1380 | 
            +
            ], _.prototype, "invalid", 2);
         | 
| 1381 1381 | 
             
            a([
         | 
| 1382 1382 | 
             
              Ut
         | 
| 1383 | 
            -
            ],  | 
| 1383 | 
            +
            ], _.prototype, "createPaymentMethod", 1);
         | 
| 1384 1384 | 
             
            a([
         | 
| 1385 1385 | 
             
              Ut
         | 
| 1386 | 
            -
            ],  | 
| 1386 | 
            +
            ], _.prototype, "createSource", 1);
         | 
| 1387 1387 | 
             
            a([
         | 
| 1388 1388 | 
             
              Ut
         | 
| 1389 | 
            -
            ],  | 
| 1389 | 
            +
            ], _.prototype, "createToken", 1);
         | 
| 1390 1390 | 
             
            a([
         | 
| 1391 1391 | 
             
              k
         | 
| 1392 | 
            -
            ],  | 
| 1393 | 
            -
             | 
| 1392 | 
            +
            ], _.prototype, "onChange", 1);
         | 
| 1393 | 
            +
            _ = a([
         | 
| 1394 1394 | 
             
              fe("stripe-elements")
         | 
| 1395 | 
            -
            ],  | 
| 1395 | 
            +
            ], _);
         | 
| 1396 1396 | 
             
            var os = It`#stripe {
         | 
| 1397 1397 | 
             
              box-sizing: border-box;
         | 
| 1398 1398 | 
             
              min-width: var(--stripe-payment-request-element-min-width, 300px);
         | 
| @@ -1417,7 +1417,7 @@ function us({ dataset: { amount: e, detail: t, ...r } }) { | |
| 1417 1417 | 
             
                ...r
         | 
| 1418 1418 | 
             
              };
         | 
| 1419 1419 | 
             
            }
         | 
| 1420 | 
            -
            function  | 
| 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(),  | 
| 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:  | 
| 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:  | 
| 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 | 
            -
                 | 
| 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 | 
            -
                 | 
| 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 | 
            -
                 | 
| 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 | 
            -
                 | 
| 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( | 
| 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 | 
            -
               | 
| 1561 | 
            -
               | 
| 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 | 
            -
               | 
| 1578 | 
            -
               | 
| 1577 | 
            +
              P,
         | 
| 1578 | 
            +
              p,
         | 
| 1579 1579 | 
             
              c({ type: Object, attribute: "payment-intent" })
         | 
| 1580 1580 | 
             
            ], f.prototype, "paymentIntent", 2);
         | 
| 1581 1581 | 
             
            a([
         | 
| 1582 | 
            -
               | 
| 1582 | 
            +
              p,
         | 
| 1583 1583 | 
             
              c({ type: Object, attribute: "payment-request" })
         | 
| 1584 1584 | 
             
            ], f.prototype, "paymentRequest", 2);
         | 
| 1585 1585 | 
             
            a([
         | 
| @@ -1627,7 +1627,7 @@ a([ | |
| 1627 1627 | 
             
            f = a([
         | 
| 1628 1628 | 
             
              fe("stripe-payment-request")
         | 
| 1629 1629 | 
             
            ], f);
         | 
| 1630 | 
            -
            var Ne = " | 
| 1630 | 
            +
            var Ne = "clover", ps = function(t) {
         | 
| 1631 1631 | 
             
              return t === 3 ? "v3" : t;
         | 
| 1632 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(\?.*)?$/;
         | 
| 1633 1633 | 
             
            var fs = function(t) {
         | 
| @@ -1649,7 +1649,7 @@ var fs = function(t) { | |
| 1649 1649 | 
             
            }, gs = function(t, r) {
         | 
| 1650 1650 | 
             
              !t || !t._registerWrapper || t._registerWrapper({
         | 
| 1651 1651 | 
             
                name: "stripe-js",
         | 
| 1652 | 
            -
                version: " | 
| 1652 | 
            +
                version: "8.0.0",
         | 
| 1653 1653 | 
             
                startTime: r
         | 
| 1654 1654 | 
             
              });
         | 
| 1655 1655 | 
             
            }, Y = null, at = null, lt = null, bs = function(t) {
         | 
| @@ -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 | 
            -
            },  | 
| 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,15 +1690,15 @@ var fs = function(t) { | |
| 1690 1690 | 
             
              }), Y.catch(function(r) {
         | 
| 1691 1691 | 
             
                return Y = null, Promise.reject(r);
         | 
| 1692 1692 | 
             
              }));
         | 
| 1693 | 
            -
            },  | 
| 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 =  | 
| 1697 | 
            -
              i && o !== u && console.warn("Stripe.js@".concat(o, " was loaded on the page, but @stripe/stripe-js@").concat(" | 
| 1696 | 
            +
              var n = r[0], i = n.match(/^pk_test/), o = ps(t.version), u = Ne;
         | 
| 1697 | 
            +
              i && o !== u && console.warn("Stripe.js@".concat(o, " was loaded on the page, but @stripe/stripe-js@").concat("8.0.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 1700 | 
             
            }, Z, Le = !1, Ie = function() {
         | 
| 1701 | 
            -
              return Z || (Z =  | 
| 1701 | 
            +
              return Z || (Z = ws(null).catch(function(t) {
         | 
| 1702 1702 | 
             
                return Z = null, Promise.reject(t);
         | 
| 1703 1703 | 
             
              }), Z);
         | 
| 1704 1704 | 
             
            };
         | 
| @@ -1713,7 +1713,7 @@ var $s = function() { | |
| 1713 1713 | 
             
              Le = !0;
         | 
| 1714 1714 | 
             
              var n = Date.now();
         | 
| 1715 1715 | 
             
              return Ie().then(function(i) {
         | 
| 1716 | 
            -
                return  | 
| 1716 | 
            +
                return _s(i, r, n);
         | 
| 1717 1717 | 
             
              });
         | 
| 1718 1718 | 
             
            };
         | 
| 1719 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__ */ We({
         | 
| @@ -1733,9 +1733,9 @@ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = { | |
| 1733 1733 | 
             
                  prop: ct(() => s.loading)
         | 
| 1734 1734 | 
             
                }), i = Gt({
         | 
| 1735 1735 | 
             
                  prop: ct(() => s.disabled)
         | 
| 1736 | 
            -
                }), { locale: o, t: u } = Ge(), l = B(null),  | 
| 1737 | 
            -
                function gt( | 
| 1738 | 
            -
                  switch ( | 
| 1736 | 
            +
                }), { locale: o, t: u } = Ge(), l = B(null), d = B(!1), m = B(!1), y = B(null), v = B(null), $ = r, { config: O } = Ke(), { eventBus: M } = Qe();
         | 
| 1737 | 
            +
                function gt(A) {
         | 
| 1738 | 
            +
                  switch (A) {
         | 
| 1739 1739 | 
             
                    case W.Production:
         | 
| 1740 1740 | 
             
                      return "pk_live_x99EPirYIsCyUsRvPAfyhnRp";
         | 
| 1741 1741 | 
             
                    case W.Sandbox:
         | 
| @@ -1749,41 +1749,41 @@ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = { | |
| 1749 1749 | 
             
                const F = ct(
         | 
| 1750 1750 | 
             
                  () => gt(O.value.apiEnvironment)
         | 
| 1751 1751 | 
             
                );
         | 
| 1752 | 
            -
                function bt( | 
| 1753 | 
            -
                  l.value = "",  | 
| 1752 | 
            +
                function bt(A) {
         | 
| 1753 | 
            +
                  l.value = "", $("change", !!A.detail.complete);
         | 
| 1754 1754 | 
             
                }
         | 
| 1755 | 
            -
                function q( | 
| 1756 | 
            -
                  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  | 
| 1762 | 
            +
                    const C = window.Stripe(F.value, {
         | 
| 1763 1763 | 
             
                      locale: Xe(o.value)
         | 
| 1764 1764 | 
             
                    });
         | 
| 1765 | 
            -
                     | 
| 1766 | 
            -
                    const nt = await  | 
| 1765 | 
            +
                    d.value = !0;
         | 
| 1766 | 
            +
                    const nt = await C.confirmCardPayment(s.stripeToken, {
         | 
| 1767 1767 | 
             
                      // eslint-disable-next-line camelcase
         | 
| 1768 | 
            -
                      payment_method:  | 
| 1768 | 
            +
                      payment_method: A.detail.id
         | 
| 1769 1769 | 
             
                    });
         | 
| 1770 | 
            -
                    nt.error ? q(nt.error) : s.withAction ? M.$emit(Dt.PaymentSuccess) :  | 
| 1771 | 
            -
                  } catch ( | 
| 1772 | 
            -
                    q( | 
| 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( | 
| 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 | 
            -
                }), ( | 
| 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(() => [... | 
| 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) ? ( | 
| 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 | 
            -
                            })) : ( | 
| 1822 | 
            +
                            })) : (E(), x(Wt, {
         | 
| 1823 1823 | 
             
                              key: 1,
         | 
| 1824 | 
            -
                              amount:  | 
| 1824 | 
            +
                              amount: e.amount,
         | 
| 1825 1825 | 
             
                              class: "font-weight-bold",
         | 
| 1826 | 
            -
                              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(() => [... | 
| 1834 | 
            +
                            default: g(() => [...C[3] || (C[3] = [
         | 
| 1835 1835 | 
             
                              it(" fas fa-lock ", -1)
         | 
| 1836 1836 | 
             
                            ])]),
         | 
| 1837 1837 | 
             
                            _: 1
         | 
| @@ -1846,7 +1846,7 @@ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = { | |
| 1846 1846 | 
             
                          default: g(() => [
         | 
| 1847 1847 | 
             
                            b(L, null, {
         | 
| 1848 1848 | 
             
                              default: g(() => [
         | 
| 1849 | 
            -
                                l.value ? ( | 
| 1849 | 
            +
                                l.value ? (E(), x(ar, {
         | 
| 1850 1850 | 
             
                                  key: 0,
         | 
| 1851 1851 | 
             
                                  color: "red",
         | 
| 1852 1852 | 
             
                                  density: "compact",
         | 
| @@ -1856,7 +1856,7 @@ 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 | 
            -
                                })) :  | 
| 1859 | 
            +
                                })) : wt("", !0)
         | 
| 1860 1860 | 
             
                              ]),
         | 
| 1861 1861 | 
             
                              _: 1
         | 
| 1862 1862 | 
             
                            })
         | 
| @@ -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 ? ( | 
| 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)) : ( | 
| 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 | 
            -
                         | 
| 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) ? ( | 
| 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 | 
            -
                                })) : ( | 
| 1940 | 
            +
                                })) : (E(), x(mr, {
         | 
| 1941 1941 | 
             
                                  key: 1,
         | 
| 1942 1942 | 
             
                                  ref: "testing",
         | 
| 1943 1943 | 
             
                                  modelValue: m.value,
         | 
| 1944 | 
            -
                                  "onUpdate:modelValue":  | 
| 1944 | 
            +
                                  "onUpdate:modelValue": C[1] || (C[1] = (nt) => m.value = nt)
         | 
| 1945 1945 | 
             
                                }, {
         | 
| 1946 1946 | 
             
                                  label: g(() => [
         | 
| 1947 1947 | 
             
                                    R("span", {
         | 
| 1948 | 
            -
                                      onClick:  | 
| 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,12 +1959,12 @@ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = { | |
| 1959 1959 | 
             
                            })
         | 
| 1960 1960 | 
             
                          ]),
         | 
| 1961 1961 | 
             
                          _: 1
         | 
| 1962 | 
            -
                        })) :  | 
| 1962 | 
            +
                        })) : wt("", !0),
         | 
| 1963 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) ? ( | 
| 1967 | 
            +
                                w(n) ? (E(), _t(zt, { key: 0 }, [
         | 
| 1968 1968 | 
             
                                  b(K, {
         | 
| 1969 1969 | 
             
                                    height: "10px",
         | 
| 1970 1970 | 
             
                                    type: "image",
         | 
| @@ -1975,7 +1975,7 @@ const Cs = { class: "w-100 d-flex justify-space-between items-center" }, Es = { | |
| 1975 1975 | 
             
                                    type: "image",
         | 
| 1976 1976 | 
             
                                    width: "240px"
         | 
| 1977 1977 | 
             
                                  })
         | 
| 1978 | 
            -
                                ], 64)) : ( | 
| 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 | 
            -
                             | 
| 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) ? ( | 
| 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 | 
            -
                                })) : ( | 
| 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:  | 
| 2005 | 
            +
                                  loading: d.value,
         | 
| 2006 2006 | 
             
                                  variant: "flat",
         | 
| 2007 | 
            -
                                  disabled: w(i) ||  | 
| 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(() => [... | 
| 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 2018 | 
             
                                    b(Wt, {
         | 
| 2019 | 
            -
                                      amount:  | 
| 2019 | 
            +
                                      amount: e.amount,
         | 
| 2020 2020 | 
             
                                      class: "font-weight-bold",
         | 
| 2021 | 
            -
                                      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 | 
            -
                            })) :  | 
| 2028 | 
            +
                            })) : wt("", !0)
         | 
| 2029 2029 | 
             
                          ]),
         | 
| 2030 2030 | 
             
                          _: 1
         | 
| 2031 2031 | 
             
                        })
         | 
| @@ -2165,12 +2165,12 @@ function ye(e) { | |
| 2165 2165 | 
             
              });
         | 
| 2166 2166 | 
             
            }
         | 
| 2167 2167 | 
             
            typeof ye == "function" && ye(Ve);
         | 
| 2168 | 
            -
            const Is = /* @__PURE__ */  | 
| 2168 | 
            +
            const Is = /* @__PURE__ */ dr(Ve, [["__scopeId", "data-v-15d3def0"]]);
         | 
| 2169 2169 | 
             
            Ue("css/revolugo.creditcardstripeform.C4-vMajR.css");
         | 
| 2170 2170 | 
             
            export {
         | 
| 2171 2171 | 
             
              Is as C,
         | 
| 2172 2172 | 
             
              mr as V,
         | 
| 2173 | 
            -
               | 
| 2173 | 
            +
              pr as p,
         | 
| 2174 2174 | 
             
              Gt as u
         | 
| 2175 2175 | 
             
            };
         | 
| 2176 | 
            -
            //# sourceMappingURL=revolugo.creditcardstripeform. | 
| 2176 | 
            +
            //# sourceMappingURL=revolugo.creditcardstripeform.zuB7Y5Vw.min.js.map
         |