@revolugo/elements 6.15.8 → 7.0.0-rc.1
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/index.es.min.js +15 -15
- 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.-9PzQYxm.min.js → revolugo.banktransferdetails.C6zC9220.min.js} +6 -6
- package/dist/{revolugo.bookingdetailssidebar.KOSaL_OM.min.js → revolugo.bookingdetailssidebar.4auWwqWm.min.js} +6 -6
- package/dist/{revolugo.bookingmanager.CjtcEKE4.min.js → revolugo.bookingmanager.CYOyvDRS.min.js} +6 -6
- package/dist/{revolugo.cancellationpoliciesbadge.DDnJVR20.min.js → revolugo.cancellationpoliciesbadge.DmHEVteO.min.js} +6 -6
- package/dist/{revolugo.cancellationpoliciesbadge.props.rnfE2Lo9.min.js → revolugo.cancellationpoliciesbadge.props.BRln41na.min.js} +2810 -2739
- package/dist/{revolugo.cancellationpolicieslist.C1t2FNG4.min.js → revolugo.cancellationpolicieslist.CAaWtDgl.min.js} +6 -6
- package/dist/{revolugo.creditcardstripeform.BKIUxERR.min.js → revolugo.creditcardstripeform.C_vR2G6m.min.js} +4 -4
- package/dist/{revolugo.creditcardstripeform.CVoc1sML.min.js → revolugo.creditcardstripeform.DL_Usk8G.min.js} +626 -595
- package/dist/{revolugo.currencypickerbtn.BJlE6egP.min.js → revolugo.currencypickerbtn.B-iZc1wJ.min.js} +6 -6
- package/dist/{revolugo.dialog-attach.DZzvgs3V.min.js → revolugo.dialog-attach.CVJiw-Ej.min.js} +2 -2
- package/dist/{revolugo.fastbookingflow.BABFJjJq.min.js → revolugo.fastbookingflow.DKqzJgUs.min.js} +6 -6
- package/dist/{revolugo.fullbookingflow.DGDKinKw.min.js → revolugo.fullbookingflow.CFSPNJXZ.min.js} +6 -6
- package/dist/{revolugo.hoteldescriptionview.C3AVGos7.min.js → revolugo.hoteldescriptionview.-yLS41AA.min.js} +6 -6
- package/dist/{revolugo.hotelofferlist.DGyTmnuP.min.js → revolugo.hotelofferlist.BAt43xY2.min.js} +6 -6
- package/dist/{revolugo.hoteloffersearchmenu.CTnYWx0u.min.js → revolugo.hoteloffersearchmenu.DRx7QsOY.min.js} +9 -9
- package/dist/{revolugo.hoteloffersmap.5KKpmA4P.min.js → revolugo.hoteloffersmap.BX6BoKWe.min.js} +6 -6
- package/dist/{revolugo.hoteloffersview.BaR0sNY_.min.js → revolugo.hoteloffersview.DPNMh3uh.min.js} +6 -6
- package/dist/{revolugo.hotelroomofferlist.DG_Um5ZK.min.js → revolugo.hotelroomofferlist.Bjw9rSuN.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersbookingflow.DfMO0SKG.min.js → revolugo.hotelroomoffersbookingflow.DwJjwjYp.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersearchmenu.jr_jGg68.min.js → revolugo.hotelroomoffersearchmenu.DeV-2qJe.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersview.DmoeUIQc.min.js → revolugo.hotelroomoffersview.fW5ScOeA.min.js} +6 -6
- package/dist/{revolugo.index.CuYzxsoJ.min.js → revolugo.index.BIDxqKbc.min.js} +10 -10
- package/dist/{revolugo.index.wc.PSPCH-kU.min.js → revolugo.index.wc.Dua0MG4C.min.js} +6446 -6318
- package/dist/{revolugo.langpickerbtn.CqqxDKso.min.js → revolugo.langpickerbtn.Ba_BWg-r.min.js} +6 -6
- package/dist/{revolugo.leaflet-src.esm.BSRIxBxW.min.js → revolugo.leaflet-src.esm.6sTpRDd5.min.js} +689 -782
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.prebookform.CmgY6my6.min.js → revolugo.prebookform.WzgNSyN-.min.js} +6 -6
- package/dist/{revolugo.preferencesmenu.Bk78PYqk.min.js → revolugo.preferencesmenu.BhGVuEcX.min.js} +4 -4
- package/dist/{revolugo.preferencesmenu.BUhWTqFH.min.js → revolugo.preferencesmenu.Dy0rUc59.min.js} +17 -18
- package/dist/{revolugo.roominglisteditor.DOt0Ugz_.min.js → revolugo.roominglisteditor.BawKiyvl.min.js} +6 -6
- package/dist/{revolugo.storybooktoolbar.KWLf8v7E.min.js → revolugo.storybooktoolbar.W5E__uLO.min.js} +5 -5
- package/dist/{revolugo.termsandconditions.MSBVrPv4.min.js → revolugo.termsandconditions.8zZlUVYh.min.js} +8 -8
- package/dist/{revolugo.vtoolbar.DpD9YvxD.min.js → revolugo.vtoolbar.Ca9MvRwm.min.js} +16 -16
- package/dist/{revolugo.webcomponentwrapper.d-oXG7RZ.min.js → revolugo.webcomponentwrapper.Br6Zub-F.min.js} +104 -181
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aY as
|
|
2
|
-
import { d as
|
|
3
|
-
import { aA as
|
|
4
|
-
function
|
|
1
|
+
import { aY as mn, h as H, H as pn, I as hn, aZ as yn, Q as gn, R as vn, e as me, ao as bn, a as _, m as mt, d as _n, u as Sn, aH as wn, v as Cn, aD as Pn, a_ as X, a$ as En, E as pt, r as xn, c as $, w as b, a7 as Tn, o as P, y as k, l as ce, x as O, f as ke, i as Re, j as $n, F as ht } from "./revolugo.index.wc.Dua0MG4C.min.js";
|
|
2
|
+
import { d as kn, V as Rn } from "./revolugo.vtoolbar.Ca9MvRwm.min.js";
|
|
3
|
+
import { aA as Nn, v as An, bd as Mn, aF as Vn, aB as yt, be as gt, o as zn, _ as On, a as vt, k as Ne, J as In, b as Ln, d as Q, e as q, S as qn, K as ee, ae as Un, j as Bn } from "./revolugo.webcomponentwrapper.Br6Zub-F.min.js";
|
|
4
|
+
function fn(n) {
|
|
5
5
|
try {
|
|
6
6
|
if (typeof document < "u") {
|
|
7
7
|
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
|
@@ -21,7 +21,7 @@ function un(n) {
|
|
|
21
21
|
console.error("[revolugo-elements] ", e);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Dn(n, e, t) {
|
|
25
25
|
if (n == null)
|
|
26
26
|
return e;
|
|
27
27
|
const o = t || ((s) => s);
|
|
@@ -33,21 +33,21 @@ function Un(n, e, t) {
|
|
|
33
33
|
}
|
|
34
34
|
return o(n);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function bt({
|
|
37
37
|
cb: n,
|
|
38
38
|
fallbackValue: e,
|
|
39
39
|
prop: t
|
|
40
40
|
}) {
|
|
41
|
-
const o =
|
|
41
|
+
const o = Dn(mn(t.value), e, n), s = kn(structuredClone(o), e || {});
|
|
42
42
|
return H(o && s);
|
|
43
43
|
}
|
|
44
|
-
const
|
|
45
|
-
...
|
|
46
|
-
...
|
|
47
|
-
}, "VCheckbox"),
|
|
44
|
+
const Fn = gn({
|
|
45
|
+
...Vn(),
|
|
46
|
+
...vn(Mn(), ["inline"])
|
|
47
|
+
}, "VCheckbox"), jn = pn()({
|
|
48
48
|
name: "VCheckbox",
|
|
49
49
|
inheritAttrs: !1,
|
|
50
|
-
props:
|
|
50
|
+
props: Fn(),
|
|
51
51
|
emits: {
|
|
52
52
|
"update:modelValue": (n) => !0,
|
|
53
53
|
"update:focused": (n) => !0
|
|
@@ -58,40 +58,40 @@ const Bn = pn({
|
|
|
58
58
|
slots: o
|
|
59
59
|
} = e;
|
|
60
60
|
const s = hn(n, "modelValue"), {
|
|
61
|
-
isFocused:
|
|
62
|
-
focus:
|
|
61
|
+
isFocused: i,
|
|
62
|
+
focus: r,
|
|
63
63
|
blur: c
|
|
64
|
-
} =
|
|
65
|
-
return
|
|
66
|
-
const [S, v] =
|
|
67
|
-
return _(
|
|
64
|
+
} = Nn(n), a = yn(), f = me(() => n.id || `checkbox-${a}`);
|
|
65
|
+
return An(() => {
|
|
66
|
+
const [S, v] = bn(t), h = yt.filterProps(n), y = gt.filterProps(n);
|
|
67
|
+
return _(yt, mt({
|
|
68
68
|
class: ["v-checkbox", n.class]
|
|
69
69
|
}, S, h, {
|
|
70
70
|
modelValue: s.value,
|
|
71
|
-
"onUpdate:modelValue": (
|
|
71
|
+
"onUpdate:modelValue": (N) => s.value = N,
|
|
72
72
|
id: f.value,
|
|
73
|
-
focused:
|
|
73
|
+
focused: i.value,
|
|
74
74
|
style: n.style
|
|
75
75
|
}), {
|
|
76
76
|
...o,
|
|
77
|
-
default: (
|
|
77
|
+
default: (N) => {
|
|
78
78
|
let {
|
|
79
79
|
id: j,
|
|
80
|
-
messagesId:
|
|
80
|
+
messagesId: z,
|
|
81
81
|
isDisabled: Z,
|
|
82
|
-
isReadonly:
|
|
82
|
+
isReadonly: xe,
|
|
83
83
|
isValid: W
|
|
84
|
-
} =
|
|
85
|
-
return _(
|
|
84
|
+
} = N;
|
|
85
|
+
return _(gt, mt(y, {
|
|
86
86
|
id: j.value,
|
|
87
|
-
"aria-describedby":
|
|
87
|
+
"aria-describedby": z.value,
|
|
88
88
|
disabled: Z.value,
|
|
89
|
-
readonly:
|
|
89
|
+
readonly: xe.value
|
|
90
90
|
}, v, {
|
|
91
91
|
error: W.value === !1,
|
|
92
92
|
modelValue: s.value,
|
|
93
|
-
"onUpdate:modelValue": (
|
|
94
|
-
onFocus:
|
|
93
|
+
"onUpdate:modelValue": (Te) => s.value = Te,
|
|
94
|
+
onFocus: r,
|
|
95
95
|
onBlur: c
|
|
96
96
|
}), o);
|
|
97
97
|
}
|
|
@@ -99,7 +99,7 @@ const Bn = pn({
|
|
|
99
99
|
}), {};
|
|
100
100
|
}
|
|
101
101
|
});
|
|
102
|
-
const
|
|
102
|
+
const Wn = (n, e) => (customElements.define(n, e), e), Hn = (n, e) => {
|
|
103
103
|
const { kind: t, elements: o } = e;
|
|
104
104
|
return {
|
|
105
105
|
kind: t,
|
|
@@ -109,15 +109,15 @@ const Fn = (n, e) => (customElements.define(n, e), e), jn = (n, e) => {
|
|
|
109
109
|
customElements.define(n, s);
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
|
-
},
|
|
113
|
-
const
|
|
112
|
+
}, Ut = (n) => (e) => typeof e == "function" ? Wn(n, e) : Hn(n, e);
|
|
113
|
+
const Kn = (n, e) => e.kind === "method" && e.descriptor && !("value" in e.descriptor) ? {
|
|
114
114
|
...e,
|
|
115
115
|
finisher(t) {
|
|
116
116
|
t.createProperty(e.key, n);
|
|
117
117
|
}
|
|
118
118
|
} : {
|
|
119
119
|
kind: "field",
|
|
120
|
-
key: Symbol(),
|
|
120
|
+
key: /* @__PURE__ */ Symbol(),
|
|
121
121
|
placement: "own",
|
|
122
122
|
descriptor: {},
|
|
123
123
|
// store the original key so subsequent decorators have access to it.
|
|
@@ -137,31 +137,31 @@ const Wn = (n, e) => e.kind === "method" && e.descriptor && !("value" in e.descr
|
|
|
137
137
|
finisher(t) {
|
|
138
138
|
t.createProperty(e.key, n);
|
|
139
139
|
}
|
|
140
|
-
},
|
|
140
|
+
}, Gn = (n, e, t) => {
|
|
141
141
|
e.constructor.createProperty(t, n);
|
|
142
142
|
};
|
|
143
143
|
function u(n) {
|
|
144
|
-
return (e, t) => t !== void 0 ?
|
|
144
|
+
return (e, t) => t !== void 0 ? Gn(n, e, t) : Kn(n, e);
|
|
145
145
|
}
|
|
146
|
-
var
|
|
147
|
-
const
|
|
148
|
-
((
|
|
149
|
-
var
|
|
150
|
-
function
|
|
146
|
+
var Ae;
|
|
147
|
+
const Jn = window;
|
|
148
|
+
((Ae = Jn.HTMLSlotElement) === null || Ae === void 0 ? void 0 : Ae.prototype.assignedElements) != null;
|
|
149
|
+
var _t = !0;
|
|
150
|
+
function R(n, e, t) {
|
|
151
151
|
if (typeof t?.value != "function")
|
|
152
152
|
throw new TypeError(`Only methods can be decorated with @bound. <${e ?? n.name}> is not a method!`);
|
|
153
153
|
return {
|
|
154
|
-
configurable:
|
|
154
|
+
configurable: _t,
|
|
155
155
|
get() {
|
|
156
156
|
const o = t.value.bind(this);
|
|
157
|
-
return Object.defineProperty(this, e, { value: o, configurable:
|
|
157
|
+
return Object.defineProperty(this, e, { value: o, configurable: _t, writable: !0 }), o;
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
160
|
}
|
|
161
|
-
const
|
|
162
|
-
class
|
|
161
|
+
const Yn = !1, pe = window, nt = pe.ShadowRoot && (pe.ShadyCSS === void 0 || pe.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ot = /* @__PURE__ */ Symbol(), St = /* @__PURE__ */ new WeakMap();
|
|
162
|
+
class Bt {
|
|
163
163
|
constructor(e, t, o) {
|
|
164
|
-
if (this._$cssResult$ = !0, o !==
|
|
164
|
+
if (this._$cssResult$ = !0, o !== ot)
|
|
165
165
|
throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
166
166
|
this.cssText = e, this._strings = t;
|
|
167
167
|
}
|
|
@@ -170,9 +170,9 @@ class Ut {
|
|
|
170
170
|
get styleSheet() {
|
|
171
171
|
let e = this._styleSheet;
|
|
172
172
|
const t = this._strings;
|
|
173
|
-
if (
|
|
173
|
+
if (nt && e === void 0) {
|
|
174
174
|
const o = t !== void 0 && t.length === 1;
|
|
175
|
-
o && (e =
|
|
175
|
+
o && (e = St.get(t)), e === void 0 && ((this._styleSheet = e = new CSSStyleSheet()).replaceSync(this.cssText), o && St.set(t, e));
|
|
176
176
|
}
|
|
177
177
|
return e;
|
|
178
178
|
}
|
|
@@ -180,49 +180,49 @@ class Ut {
|
|
|
180
180
|
return this.cssText;
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
-
const
|
|
183
|
+
const Zn = (n) => {
|
|
184
184
|
if (n._$cssResult$ === !0)
|
|
185
185
|
return n.cssText;
|
|
186
186
|
if (typeof n == "number")
|
|
187
187
|
return n;
|
|
188
188
|
throw new Error(`Value passed to 'css' function must be a 'css' function result: ${n}. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`);
|
|
189
|
-
},
|
|
190
|
-
const t = n.length === 1 ? n[0] : e.reduce((o, s,
|
|
191
|
-
return new
|
|
192
|
-
},
|
|
193
|
-
|
|
189
|
+
}, Xn = (n) => new Bt(typeof n == "string" ? n : String(n), void 0, ot), st = (n, ...e) => {
|
|
190
|
+
const t = n.length === 1 ? n[0] : e.reduce((o, s, i) => o + Zn(s) + n[i + 1], n[0]);
|
|
191
|
+
return new Bt(t, n, ot);
|
|
192
|
+
}, Qn = (n, e) => {
|
|
193
|
+
nt ? n.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet) : e.forEach((t) => {
|
|
194
194
|
const o = document.createElement("style"), s = pe.litNonce;
|
|
195
195
|
s !== void 0 && o.setAttribute("nonce", s), o.textContent = t.cssText, n.appendChild(o);
|
|
196
196
|
});
|
|
197
|
-
},
|
|
197
|
+
}, eo = (n) => {
|
|
198
198
|
let e = "";
|
|
199
199
|
for (const t of n.cssRules)
|
|
200
200
|
e += t.cssText;
|
|
201
|
-
return
|
|
202
|
-
},
|
|
203
|
-
var Me,
|
|
201
|
+
return Xn(e);
|
|
202
|
+
}, wt = nt || Yn ? (n) => n : (n) => n instanceof CSSStyleSheet ? eo(n) : n;
|
|
203
|
+
var Me, Ve, ze, Dt;
|
|
204
204
|
const M = window;
|
|
205
|
-
let
|
|
206
|
-
const
|
|
205
|
+
let Ft, L;
|
|
206
|
+
const Ct = M.trustedTypes, to = Ct ? Ct.emptyScript : "", he = M.reactiveElementPolyfillSupportDevMode;
|
|
207
207
|
{
|
|
208
208
|
const n = (Me = M.litIssuedWarnings) !== null && Me !== void 0 ? Me : M.litIssuedWarnings = /* @__PURE__ */ new Set();
|
|
209
209
|
L = (e, t) => {
|
|
210
210
|
t += ` See https://lit.dev/msg/${e} for more information.`, n.has(t) || (console.warn(t), n.add(t));
|
|
211
|
-
}, L("dev-mode", "Lit is in dev mode. Not recommended for production!"), !((
|
|
211
|
+
}, L("dev-mode", "Lit is in dev mode. Not recommended for production!"), !((Ve = M.ShadyDOM) === null || Ve === void 0) && Ve.inUse && he === void 0 && L("polyfill-support-missing", "Shadow DOM is being polyfilled via `ShadyDOM` but the `polyfill-support` module has not been loaded."), Ft = (e) => ({
|
|
212
212
|
then: (t, o) => {
|
|
213
213
|
L("request-update-promise", `The \`requestUpdate\` method should no longer return a Promise but does so on \`${e}\`. Use \`updateComplete\` instead.`), t !== void 0 && t(!1);
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
|
-
const
|
|
217
|
+
const Oe = (n) => {
|
|
218
218
|
M.emitLitDebugLogEvents && M.dispatchEvent(new CustomEvent("lit-debug", {
|
|
219
219
|
detail: n
|
|
220
220
|
}));
|
|
221
|
-
},
|
|
221
|
+
}, jt = (n, e) => n, Ze = {
|
|
222
222
|
toAttribute(n, e) {
|
|
223
223
|
switch (e) {
|
|
224
224
|
case Boolean:
|
|
225
|
-
n = n ?
|
|
225
|
+
n = n ? to : null;
|
|
226
226
|
break;
|
|
227
227
|
case Object:
|
|
228
228
|
case Array:
|
|
@@ -251,14 +251,14 @@ const ze = (n) => {
|
|
|
251
251
|
}
|
|
252
252
|
return t;
|
|
253
253
|
}
|
|
254
|
-
},
|
|
254
|
+
}, Wt = (n, e) => e !== n && (e === e || n === n), Ie = {
|
|
255
255
|
attribute: !0,
|
|
256
256
|
type: String,
|
|
257
|
-
converter:
|
|
257
|
+
converter: Ze,
|
|
258
258
|
reflect: !1,
|
|
259
|
-
hasChanged:
|
|
260
|
-
},
|
|
261
|
-
class
|
|
259
|
+
hasChanged: Wt
|
|
260
|
+
}, Xe = "finalized";
|
|
261
|
+
class V extends HTMLElement {
|
|
262
262
|
constructor() {
|
|
263
263
|
super(), this.__instanceProperties = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this.__reflectingProperty = null, this.__initialize();
|
|
264
264
|
}
|
|
@@ -337,11 +337,11 @@ class A extends HTMLElement {
|
|
|
337
337
|
* @nocollapse
|
|
338
338
|
* @category properties
|
|
339
339
|
*/
|
|
340
|
-
static createProperty(e, t =
|
|
340
|
+
static createProperty(e, t = Ie) {
|
|
341
341
|
var o;
|
|
342
342
|
if (t.state && (t.attribute = !1), this.finalize(), this.elementProperties.set(e, t), !t.noAccessor && !this.prototype.hasOwnProperty(e)) {
|
|
343
|
-
const s = typeof e == "symbol" ? Symbol() : `__${e}`,
|
|
344
|
-
|
|
343
|
+
const s = typeof e == "symbol" ? /* @__PURE__ */ Symbol() : `__${e}`, i = this.getPropertyDescriptor(e, s, t);
|
|
344
|
+
i !== void 0 && (Object.defineProperty(this.prototype, e, i), this.hasOwnProperty("__reactivePropertyKeys") || (this.__reactivePropertyKeys = new Set((o = this.__reactivePropertyKeys) !== null && o !== void 0 ? o : [])), this.__reactivePropertyKeys.add(e));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
/**
|
|
@@ -378,8 +378,8 @@ class A extends HTMLElement {
|
|
|
378
378
|
return this[t];
|
|
379
379
|
},
|
|
380
380
|
set(s) {
|
|
381
|
-
const
|
|
382
|
-
this[t] = s, this.requestUpdate(e,
|
|
381
|
+
const i = this[e];
|
|
382
|
+
this[t] = s, this.requestUpdate(e, i, o);
|
|
383
383
|
},
|
|
384
384
|
configurable: !0,
|
|
385
385
|
enumerable: !0
|
|
@@ -400,7 +400,7 @@ class A extends HTMLElement {
|
|
|
400
400
|
* @category properties
|
|
401
401
|
*/
|
|
402
402
|
static getPropertyOptions(e) {
|
|
403
|
-
return this.elementProperties.get(e) ||
|
|
403
|
+
return this.elementProperties.get(e) || Ie;
|
|
404
404
|
}
|
|
405
405
|
/**
|
|
406
406
|
* Creates property accessors for registered properties, sets up element
|
|
@@ -409,11 +409,11 @@ class A extends HTMLElement {
|
|
|
409
409
|
* @nocollapse
|
|
410
410
|
*/
|
|
411
411
|
static finalize() {
|
|
412
|
-
if (this.hasOwnProperty(
|
|
412
|
+
if (this.hasOwnProperty(Xe))
|
|
413
413
|
return !1;
|
|
414
|
-
this[
|
|
414
|
+
this[Xe] = !0;
|
|
415
415
|
const e = Object.getPrototypeOf(this);
|
|
416
|
-
if (e.finalize(), e._initializers !== void 0 && (this._initializers = [...e._initializers]), this.elementProperties = new Map(e.elementProperties), this.__attributeToPropertyMap = /* @__PURE__ */ new Map(), this.hasOwnProperty(
|
|
416
|
+
if (e.finalize(), e._initializers !== void 0 && (this._initializers = [...e._initializers]), this.elementProperties = new Map(e.elementProperties), this.__attributeToPropertyMap = /* @__PURE__ */ new Map(), this.hasOwnProperty(jt("properties"))) {
|
|
417
417
|
const t = this.properties, o = [
|
|
418
418
|
...Object.getOwnPropertyNames(t),
|
|
419
419
|
...Object.getOwnPropertySymbols(t)
|
|
@@ -449,8 +449,8 @@ class A extends HTMLElement {
|
|
|
449
449
|
if (Array.isArray(e)) {
|
|
450
450
|
const o = new Set(e.flat(1 / 0).reverse());
|
|
451
451
|
for (const s of o)
|
|
452
|
-
t.unshift(
|
|
453
|
-
} else e !== void 0 && t.push(
|
|
452
|
+
t.unshift(wt(s));
|
|
453
|
+
} else e !== void 0 && t.push(wt(e));
|
|
454
454
|
return t;
|
|
455
455
|
}
|
|
456
456
|
/**
|
|
@@ -519,7 +519,7 @@ class A extends HTMLElement {
|
|
|
519
519
|
createRenderRoot() {
|
|
520
520
|
var e;
|
|
521
521
|
const t = (e = this.shadowRoot) !== null && e !== void 0 ? e : this.attachShadow(this.constructor.shadowRootOptions);
|
|
522
|
-
return
|
|
522
|
+
return Qn(t, this.constructor.elementStyles), t;
|
|
523
523
|
}
|
|
524
524
|
/**
|
|
525
525
|
* On first connection, creates the element's renderRoot, sets up
|
|
@@ -569,23 +569,23 @@ class A extends HTMLElement {
|
|
|
569
569
|
attributeChangedCallback(e, t, o) {
|
|
570
570
|
this._$attributeToProperty(e, o);
|
|
571
571
|
}
|
|
572
|
-
__propertyToAttribute(e, t, o =
|
|
572
|
+
__propertyToAttribute(e, t, o = Ie) {
|
|
573
573
|
var s;
|
|
574
|
-
const
|
|
575
|
-
if (
|
|
576
|
-
const c = (((s = o.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? o.converter :
|
|
577
|
-
this.constructor.enabledWarnings.indexOf("migration") >= 0 && c === void 0 && L("undefined-attribute-value", `The attribute value for the ${e} property is undefined on element ${this.localName}. The attribute will be removed, but in the previous version of \`ReactiveElement\`, the attribute would not have changed.`), this.__reflectingProperty = e, c == null ? this.removeAttribute(
|
|
574
|
+
const i = this.constructor.__attributeNameForProperty(e, o);
|
|
575
|
+
if (i !== void 0 && o.reflect === !0) {
|
|
576
|
+
const c = (((s = o.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? o.converter : Ze).toAttribute(t, o.type);
|
|
577
|
+
this.constructor.enabledWarnings.indexOf("migration") >= 0 && c === void 0 && L("undefined-attribute-value", `The attribute value for the ${e} property is undefined on element ${this.localName}. The attribute will be removed, but in the previous version of \`ReactiveElement\`, the attribute would not have changed.`), this.__reflectingProperty = e, c == null ? this.removeAttribute(i) : this.setAttribute(i, c), this.__reflectingProperty = null;
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
/** @internal */
|
|
581
581
|
_$attributeToProperty(e, t) {
|
|
582
582
|
var o;
|
|
583
|
-
const s = this.constructor,
|
|
584
|
-
if (
|
|
585
|
-
const
|
|
586
|
-
this.__reflectingProperty =
|
|
583
|
+
const s = this.constructor, i = s.__attributeToPropertyMap.get(e);
|
|
584
|
+
if (i !== void 0 && this.__reflectingProperty !== i) {
|
|
585
|
+
const r = s.getPropertyOptions(i), c = typeof r.converter == "function" ? { fromAttribute: r.converter } : ((o = r.converter) === null || o === void 0 ? void 0 : o.fromAttribute) !== void 0 ? r.converter : Ze;
|
|
586
|
+
this.__reflectingProperty = i, this[i] = c.fromAttribute(
|
|
587
587
|
t,
|
|
588
|
-
|
|
588
|
+
r.type
|
|
589
589
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
590
590
|
), this.__reflectingProperty = null;
|
|
591
591
|
}
|
|
@@ -606,7 +606,7 @@ class A extends HTMLElement {
|
|
|
606
606
|
*/
|
|
607
607
|
requestUpdate(e, t, o) {
|
|
608
608
|
let s = !0;
|
|
609
|
-
return e !== void 0 && (o = o || this.constructor.getPropertyOptions(e), (o.hasChanged ||
|
|
609
|
+
return e !== void 0 && (o = o || this.constructor.getPropertyOptions(e), (o.hasChanged || Wt)(this[e], t) ? (this._$changedProperties.has(e) || this._$changedProperties.set(e, t), o.reflect === !0 && this.__reflectingProperty !== e && (this.__reflectingProperties === void 0 && (this.__reflectingProperties = /* @__PURE__ */ new Map()), this.__reflectingProperties.set(e, o))) : s = !1), !this.isUpdatePending && s && (this.__updatePromise = this.__enqueueUpdate()), Ft(this.localName);
|
|
610
610
|
}
|
|
611
611
|
/**
|
|
612
612
|
* Sets up the element to asynchronously update.
|
|
@@ -662,24 +662,24 @@ class A extends HTMLElement {
|
|
|
662
662
|
var e, t;
|
|
663
663
|
if (!this.isUpdatePending)
|
|
664
664
|
return;
|
|
665
|
-
if (
|
|
666
|
-
const
|
|
667
|
-
if ((e = this.constructor.__reactivePropertyKeys) === null || e === void 0 || e.forEach((
|
|
665
|
+
if (Oe?.({ kind: "update" }), !this.hasUpdated) {
|
|
666
|
+
const i = [];
|
|
667
|
+
if ((e = this.constructor.__reactivePropertyKeys) === null || e === void 0 || e.forEach((r) => {
|
|
668
668
|
var c;
|
|
669
|
-
this.hasOwnProperty(
|
|
670
|
-
}),
|
|
671
|
-
throw new Error(`The following properties on element ${this.localName} will not trigger updates as expected because they are set using class fields: ${
|
|
669
|
+
this.hasOwnProperty(r) && !(!((c = this.__instanceProperties) === null || c === void 0) && c.has(r)) && i.push(r);
|
|
670
|
+
}), i.length)
|
|
671
|
+
throw new Error(`The following properties on element ${this.localName} will not trigger updates as expected because they are set using class fields: ${i.join(", ")}. Native class fields and some compiled output will overwrite accessors used for detecting changes. See https://lit.dev/msg/class-field-shadowing for more information.`);
|
|
672
672
|
}
|
|
673
|
-
this.__instanceProperties && (this.__instanceProperties.forEach((
|
|
673
|
+
this.__instanceProperties && (this.__instanceProperties.forEach((i, r) => this[r] = i), this.__instanceProperties = void 0);
|
|
674
674
|
let o = !1;
|
|
675
675
|
const s = this._$changedProperties;
|
|
676
676
|
try {
|
|
677
|
-
o = this.shouldUpdate(s), o ? (this.willUpdate(s), (t = this.__controllers) === null || t === void 0 || t.forEach((
|
|
678
|
-
var
|
|
679
|
-
return (
|
|
677
|
+
o = this.shouldUpdate(s), o ? (this.willUpdate(s), (t = this.__controllers) === null || t === void 0 || t.forEach((i) => {
|
|
678
|
+
var r;
|
|
679
|
+
return (r = i.hostUpdate) === null || r === void 0 ? void 0 : r.call(i);
|
|
680
680
|
}), this.update(s)) : this.__markUpdated();
|
|
681
|
-
} catch (
|
|
682
|
-
throw o = !1, this.__markUpdated(),
|
|
681
|
+
} catch (i) {
|
|
682
|
+
throw o = !1, this.__markUpdated(), i;
|
|
683
683
|
}
|
|
684
684
|
o && this._$didUpdate(s);
|
|
685
685
|
}
|
|
@@ -817,57 +817,57 @@ class A extends HTMLElement {
|
|
|
817
817
|
firstUpdated(e) {
|
|
818
818
|
}
|
|
819
819
|
}
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
he?.({ ReactiveElement:
|
|
820
|
+
Dt = Xe;
|
|
821
|
+
V[Dt] = !0;
|
|
822
|
+
V.elementProperties = /* @__PURE__ */ new Map();
|
|
823
|
+
V.elementStyles = [];
|
|
824
|
+
V.shadowRootOptions = { mode: "open" };
|
|
825
|
+
he?.({ ReactiveElement: V });
|
|
826
826
|
{
|
|
827
|
-
|
|
827
|
+
V.enabledWarnings = ["change-in-update"];
|
|
828
828
|
const n = function(e) {
|
|
829
|
-
e.hasOwnProperty(
|
|
829
|
+
e.hasOwnProperty(jt("enabledWarnings")) || (e.enabledWarnings = e.enabledWarnings.slice());
|
|
830
830
|
};
|
|
831
|
-
|
|
831
|
+
V.enableWarning = function(e) {
|
|
832
832
|
n(this), this.enabledWarnings.indexOf(e) < 0 && this.enabledWarnings.push(e);
|
|
833
|
-
},
|
|
833
|
+
}, V.disableWarning = function(e) {
|
|
834
834
|
n(this);
|
|
835
835
|
const t = this.enabledWarnings.indexOf(e);
|
|
836
836
|
t >= 0 && this.enabledWarnings.splice(t, 1);
|
|
837
837
|
};
|
|
838
838
|
}
|
|
839
|
-
((
|
|
839
|
+
((ze = M.reactiveElementVersions) !== null && ze !== void 0 ? ze : M.reactiveElementVersions = []).push("1.6.3");
|
|
840
840
|
M.reactiveElementVersions.length > 1 && L("multiple-versions", "Multiple versions of Lit loaded. Loading multiple versions is not recommended.");
|
|
841
|
-
var
|
|
841
|
+
var Le, qe, Ue, Be;
|
|
842
842
|
const E = window, d = (n) => {
|
|
843
843
|
E.emitLitDebugLogEvents && E.dispatchEvent(new CustomEvent("lit-debug", {
|
|
844
844
|
detail: n
|
|
845
845
|
}));
|
|
846
846
|
};
|
|
847
|
-
let
|
|
848
|
-
(
|
|
847
|
+
let no = 0, we;
|
|
848
|
+
(Le = E.litIssuedWarnings) !== null && Le !== void 0 || (E.litIssuedWarnings = /* @__PURE__ */ new Set()), we = (n, e) => {
|
|
849
849
|
e += n ? ` See https://lit.dev/msg/${n} for more information.` : "", E.litIssuedWarnings.has(e) || (console.warn(e), E.litIssuedWarnings.add(e));
|
|
850
|
-
},
|
|
851
|
-
const T = !((
|
|
850
|
+
}, we("dev-mode", "Lit is in dev mode. Not recommended for production!");
|
|
851
|
+
const T = !((qe = E.ShadyDOM) === null || qe === void 0) && qe.inUse && ((Ue = E.ShadyDOM) === null || Ue === void 0 ? void 0 : Ue.noPatch) === !0 ? E.ShadyDOM.wrap : (n) => n, K = E.trustedTypes, Pt = K ? K.createPolicy("lit-html", {
|
|
852
852
|
createHTML: (n) => n
|
|
853
|
-
}) : void 0,
|
|
853
|
+
}) : void 0, oo = (n) => n, Pe = (n, e, t) => oo, so = (n) => {
|
|
854
854
|
if (F !== Pe)
|
|
855
855
|
throw new Error("Attempted to overwrite existing lit-html security policy. setSanitizeDOMValueFactory should be called at most once.");
|
|
856
856
|
F = n;
|
|
857
|
-
},
|
|
857
|
+
}, io = () => {
|
|
858
858
|
F = Pe;
|
|
859
|
-
},
|
|
860
|
-
typeof n?.[Symbol.iterator] == "function",
|
|
861
|
-
\f\r]`,
|
|
862
|
-
\f\r"'\`<>=]`,
|
|
859
|
+
}, Qe = (n, e, t) => F(n, e, t), et = "$lit$", I = `lit$${String(Math.random()).slice(9)}$`, Ht = "?" + I, ro = `<${Ht}>`, D = document, ie = () => D.createComment(""), re = (n) => n === null || typeof n != "object" && typeof n != "function", Kt = Array.isArray, lo = (n) => Kt(n) || // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
860
|
+
typeof n?.[Symbol.iterator] == "function", De = `[
|
|
861
|
+
\f\r]`, ao = `[^
|
|
862
|
+
\f\r"'\`<>=]`, co = `[^\\s"'>=/]`, te = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Et = 1, Fe = 2, uo = 3, xt = /-->/g, Tt = />/g, U = new RegExp(`>|${De}(?:(${co}+)(${De}*=${De}*(?:${ao}|("|')|))|$)`, "g"), fo = 0, $t = 1, mo = 2, kt = 3, je = /'/g, We = /"/g, Gt = /^(?:script|style|textarea|title)$/i, po = 1, tt = 2, it = 1, Ce = 2, ho = 3, yo = 4, go = 5, rt = 6, vo = 7, bo = (n) => (e, ...t) => (e.some((o) => o === void 0) && console.warn(`Some template strings are undefined.
|
|
863
863
|
This is probably caused by illegal octal escape sequences.`), {
|
|
864
864
|
// This property needs to remain unminified.
|
|
865
865
|
_$litType$: n,
|
|
866
866
|
strings: e,
|
|
867
867
|
values: t
|
|
868
|
-
}),
|
|
868
|
+
}), _o = bo(po), G = /* @__PURE__ */ Symbol.for("lit-noChange"), w = /* @__PURE__ */ Symbol.for("lit-nothing"), Rt = /* @__PURE__ */ new WeakMap(), B = D.createTreeWalker(D, 129, null, !1);
|
|
869
869
|
let F = Pe;
|
|
870
|
-
function
|
|
870
|
+
function Jt(n, e) {
|
|
871
871
|
if (!Array.isArray(n) || !n.hasOwnProperty("raw")) {
|
|
872
872
|
let t = "invalid template strings array";
|
|
873
873
|
throw t = `
|
|
@@ -885,91 +885,91 @@ function Gt(n, e) {
|
|
|
885
885
|
}
|
|
886
886
|
return Pt !== void 0 ? Pt.createHTML(e) : e;
|
|
887
887
|
}
|
|
888
|
-
const
|
|
888
|
+
const So = (n, e) => {
|
|
889
889
|
const t = n.length - 1, o = [];
|
|
890
|
-
let s = e ===
|
|
891
|
-
for (let
|
|
892
|
-
const f = n[
|
|
890
|
+
let s = e === tt ? "<svg>" : "", i, r = te;
|
|
891
|
+
for (let a = 0; a < t; a++) {
|
|
892
|
+
const f = n[a];
|
|
893
893
|
let S = -1, v, h = 0, y;
|
|
894
|
-
for (; h < f.length && (
|
|
895
|
-
if (h =
|
|
896
|
-
if (y[
|
|
897
|
-
|
|
898
|
-
else if (y[
|
|
899
|
-
|
|
900
|
-
else if (y[
|
|
901
|
-
|
|
902
|
-
else if (y[
|
|
894
|
+
for (; h < f.length && (r.lastIndex = h, y = r.exec(f), y !== null); )
|
|
895
|
+
if (h = r.lastIndex, r === te) {
|
|
896
|
+
if (y[Et] === "!--")
|
|
897
|
+
r = xt;
|
|
898
|
+
else if (y[Et] !== void 0)
|
|
899
|
+
r = Tt;
|
|
900
|
+
else if (y[Fe] !== void 0)
|
|
901
|
+
Gt.test(y[Fe]) && (i = new RegExp(`</${y[Fe]}`, "g")), r = U;
|
|
902
|
+
else if (y[uo] !== void 0)
|
|
903
903
|
throw new Error("Bindings in tag names are not supported. Please use static templates instead. See https://lit.dev/docs/templates/expressions/#static-expressions");
|
|
904
|
-
} else
|
|
905
|
-
console.assert(S === -1 ||
|
|
906
|
-
const
|
|
907
|
-
s +=
|
|
904
|
+
} else r === U ? y[fo] === ">" ? (r = i ?? te, S = -1) : y[$t] === void 0 ? S = -2 : (S = r.lastIndex - y[mo].length, v = y[$t], r = y[kt] === void 0 ? U : y[kt] === '"' ? We : je) : r === We || r === je ? r = U : r === xt || r === Tt ? r = te : (r = U, i = void 0);
|
|
905
|
+
console.assert(S === -1 || r === U || r === je || r === We, "unexpected parse state B");
|
|
906
|
+
const N = r === U && n[a + 1].startsWith("/>") ? " " : "";
|
|
907
|
+
s += r === te ? f + ro : S >= 0 ? (o.push(v), f.slice(0, S) + et + f.slice(S) + I + N) : f + I + (S === -2 ? (o.push(void 0), a) : N);
|
|
908
908
|
}
|
|
909
|
-
const c = s + (n[t] || "<?>") + (e ===
|
|
910
|
-
return [
|
|
909
|
+
const c = s + (n[t] || "<?>") + (e === tt ? "</svg>" : "");
|
|
910
|
+
return [Jt(n, c), o];
|
|
911
911
|
};
|
|
912
|
-
class
|
|
912
|
+
class le {
|
|
913
913
|
constructor({ strings: e, ["_$litType$"]: t }, o) {
|
|
914
914
|
this.parts = [];
|
|
915
|
-
let s,
|
|
916
|
-
const c = e.length - 1,
|
|
917
|
-
if (this.el =
|
|
915
|
+
let s, i = 0, r = 0;
|
|
916
|
+
const c = e.length - 1, a = this.parts, [f, S] = So(e, t);
|
|
917
|
+
if (this.el = le.createElement(f, o), B.currentNode = this.el.content, t === tt) {
|
|
918
918
|
const v = this.el.content, h = v.firstChild;
|
|
919
919
|
h.remove(), v.append(...h.childNodes);
|
|
920
920
|
}
|
|
921
|
-
for (; (s = B.nextNode()) !== null &&
|
|
921
|
+
for (; (s = B.nextNode()) !== null && a.length < c; ) {
|
|
922
922
|
if (s.nodeType === 1) {
|
|
923
923
|
{
|
|
924
924
|
const v = s.localName;
|
|
925
|
-
if (/^(?:textarea|template)$/i.test(v) && s.innerHTML.includes(
|
|
925
|
+
if (/^(?:textarea|template)$/i.test(v) && s.innerHTML.includes(I)) {
|
|
926
926
|
const h = `Expressions are not supported inside \`${v}\` elements. See https://lit.dev/msg/expression-in-${v} for more information.`;
|
|
927
927
|
if (v === "template")
|
|
928
928
|
throw new Error(h);
|
|
929
|
-
|
|
929
|
+
we("", h);
|
|
930
930
|
}
|
|
931
931
|
}
|
|
932
932
|
if (s.hasAttributes()) {
|
|
933
933
|
const v = [];
|
|
934
934
|
for (const h of s.getAttributeNames())
|
|
935
|
-
if (h.endsWith(
|
|
936
|
-
const y = S[
|
|
935
|
+
if (h.endsWith(et) || h.startsWith(I)) {
|
|
936
|
+
const y = S[r++];
|
|
937
937
|
if (v.push(h), y !== void 0) {
|
|
938
|
-
const j = s.getAttribute(y.toLowerCase() +
|
|
939
|
-
|
|
940
|
-
type:
|
|
941
|
-
index:
|
|
942
|
-
name:
|
|
938
|
+
const j = s.getAttribute(y.toLowerCase() + et).split(I), z = /([.?@])?(.*)/.exec(y);
|
|
939
|
+
a.push({
|
|
940
|
+
type: it,
|
|
941
|
+
index: i,
|
|
942
|
+
name: z[2],
|
|
943
943
|
strings: j,
|
|
944
|
-
ctor:
|
|
944
|
+
ctor: z[1] === "." ? Co : z[1] === "?" ? Eo : z[1] === "@" ? xo : Ee
|
|
945
945
|
});
|
|
946
946
|
} else
|
|
947
|
-
|
|
947
|
+
a.push({
|
|
948
948
|
type: rt,
|
|
949
|
-
index:
|
|
949
|
+
index: i
|
|
950
950
|
});
|
|
951
951
|
}
|
|
952
952
|
for (const h of v)
|
|
953
953
|
s.removeAttribute(h);
|
|
954
954
|
}
|
|
955
|
-
if (
|
|
956
|
-
const v = s.textContent.split(
|
|
955
|
+
if (Gt.test(s.tagName)) {
|
|
956
|
+
const v = s.textContent.split(I), h = v.length - 1;
|
|
957
957
|
if (h > 0) {
|
|
958
958
|
s.textContent = K ? K.emptyScript : "";
|
|
959
959
|
for (let y = 0; y < h; y++)
|
|
960
|
-
s.append(v[y],
|
|
961
|
-
s.append(v[h],
|
|
960
|
+
s.append(v[y], ie()), B.nextNode(), a.push({ type: Ce, index: ++i });
|
|
961
|
+
s.append(v[h], ie());
|
|
962
962
|
}
|
|
963
963
|
}
|
|
964
964
|
} else if (s.nodeType === 8)
|
|
965
|
-
if (s.data ===
|
|
966
|
-
|
|
965
|
+
if (s.data === Ht)
|
|
966
|
+
a.push({ type: Ce, index: i });
|
|
967
967
|
else {
|
|
968
968
|
let h = -1;
|
|
969
|
-
for (; (h = s.data.indexOf(
|
|
970
|
-
|
|
969
|
+
for (; (h = s.data.indexOf(I, h + 1)) !== -1; )
|
|
970
|
+
a.push({ type: vo, index: i }), h += I.length - 1;
|
|
971
971
|
}
|
|
972
|
-
|
|
972
|
+
i++;
|
|
973
973
|
}
|
|
974
974
|
d?.({
|
|
975
975
|
kind: "template prep",
|
|
@@ -987,17 +987,17 @@ class ae {
|
|
|
987
987
|
}
|
|
988
988
|
}
|
|
989
989
|
function J(n, e, t = n, o) {
|
|
990
|
-
var s,
|
|
990
|
+
var s, i, r, c;
|
|
991
991
|
if (e === G)
|
|
992
992
|
return e;
|
|
993
|
-
let
|
|
994
|
-
const f =
|
|
993
|
+
let a = o !== void 0 ? (s = t.__directives) === null || s === void 0 ? void 0 : s[o] : t.__directive;
|
|
994
|
+
const f = re(e) ? void 0 : (
|
|
995
995
|
// This property needs to remain unminified.
|
|
996
996
|
e._$litDirective$
|
|
997
997
|
);
|
|
998
|
-
return
|
|
998
|
+
return a?.constructor !== f && ((i = a?._$notifyDirectiveConnectionChanged) === null || i === void 0 || i.call(a, !1), f === void 0 ? a = void 0 : (a = new f(n), a._$initialize(n, t, o)), o !== void 0 ? ((r = (c = t).__directives) !== null && r !== void 0 ? r : c.__directives = [])[o] = a : t.__directive = a), a !== void 0 && (e = J(n, a._$resolve(n, e.values), a, o)), e;
|
|
999
999
|
}
|
|
1000
|
-
class
|
|
1000
|
+
class wo {
|
|
1001
1001
|
constructor(e, t) {
|
|
1002
1002
|
this._$parts = [], this._$disconnectableChildren = void 0, this._$template = e, this._$parent = t;
|
|
1003
1003
|
}
|
|
@@ -1013,17 +1013,17 @@ class _o {
|
|
|
1013
1013
|
// DocumentFragment and we don't want to hold onto it with an instance field.
|
|
1014
1014
|
_clone(e) {
|
|
1015
1015
|
var t;
|
|
1016
|
-
const { el: { content: o }, parts: s } = this._$template,
|
|
1017
|
-
B.currentNode =
|
|
1018
|
-
let
|
|
1016
|
+
const { el: { content: o }, parts: s } = this._$template, i = ((t = e?.creationScope) !== null && t !== void 0 ? t : D).importNode(o, !0);
|
|
1017
|
+
B.currentNode = i;
|
|
1018
|
+
let r = B.nextNode(), c = 0, a = 0, f = s[0];
|
|
1019
1019
|
for (; f !== void 0; ) {
|
|
1020
1020
|
if (c === f.index) {
|
|
1021
1021
|
let S;
|
|
1022
|
-
f.type ===
|
|
1022
|
+
f.type === Ce ? S = new ae(r, r.nextSibling, this, e) : f.type === it ? S = new f.ctor(r, f.name, f.strings, this, e) : f.type === rt && (S = new To(r, this, e)), this._$parts.push(S), f = s[++a];
|
|
1023
1023
|
}
|
|
1024
|
-
c !== f?.index && (
|
|
1024
|
+
c !== f?.index && (r = B.nextNode(), c++);
|
|
1025
1025
|
}
|
|
1026
|
-
return B.currentNode = D,
|
|
1026
|
+
return B.currentNode = D, i;
|
|
1027
1027
|
}
|
|
1028
1028
|
_update(e) {
|
|
1029
1029
|
let t = 0;
|
|
@@ -1038,10 +1038,10 @@ class _o {
|
|
|
1038
1038
|
}), o.strings !== void 0 ? (o._$setValue(e, o, t), t += o.strings.length - 2) : o._$setValue(e[t])), t++;
|
|
1039
1039
|
}
|
|
1040
1040
|
}
|
|
1041
|
-
class
|
|
1041
|
+
class ae {
|
|
1042
1042
|
constructor(e, t, o, s) {
|
|
1043
|
-
var
|
|
1044
|
-
this.type =
|
|
1043
|
+
var i;
|
|
1044
|
+
this.type = Ce, this._$committedValue = w, this._$disconnectableChildren = void 0, this._$startNode = e, this._$endNode = t, this._$parent = o, this.options = s, this.__isConnected = (i = s?.isConnected) !== null && i !== void 0 ? i : !0, this._textSanitizer = void 0;
|
|
1045
1045
|
}
|
|
1046
1046
|
// See comment in Disconnectable interface for why this is a getter
|
|
1047
1047
|
get _$isConnected() {
|
|
@@ -1089,7 +1089,7 @@ class le {
|
|
|
1089
1089
|
var o;
|
|
1090
1090
|
if (this.parentNode === null)
|
|
1091
1091
|
throw new Error("This `ChildPart` has no `parentNode` and therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element's `innerHTML` or `textContent` can do this.");
|
|
1092
|
-
if (e = J(this, e, t),
|
|
1092
|
+
if (e = J(this, e, t), re(e))
|
|
1093
1093
|
e === w || e == null || e === "" ? (this._$committedValue !== w && (d?.({
|
|
1094
1094
|
kind: "commit nothing to child",
|
|
1095
1095
|
start: this._$startNode,
|
|
@@ -1105,7 +1105,7 @@ class le {
|
|
|
1105
1105
|
return;
|
|
1106
1106
|
}
|
|
1107
1107
|
this._commitNode(e);
|
|
1108
|
-
} else
|
|
1108
|
+
} else lo(e) ? this._commitIterable(e) : this._commitText(e);
|
|
1109
1109
|
}
|
|
1110
1110
|
_insert(e) {
|
|
1111
1111
|
return T(T(this._$startNode).parentNode).insertBefore(e, this._$endNode);
|
|
@@ -1130,9 +1130,9 @@ class le {
|
|
|
1130
1130
|
}
|
|
1131
1131
|
}
|
|
1132
1132
|
_commitText(e) {
|
|
1133
|
-
if (this._$committedValue !== w &&
|
|
1133
|
+
if (this._$committedValue !== w && re(this._$committedValue)) {
|
|
1134
1134
|
const t = T(this._$startNode).nextSibling;
|
|
1135
|
-
this._textSanitizer === void 0 && (this._textSanitizer =
|
|
1135
|
+
this._textSanitizer === void 0 && (this._textSanitizer = Qe(t, "data", "property")), e = this._textSanitizer(e), d?.({
|
|
1136
1136
|
kind: "commit text",
|
|
1137
1137
|
node: t,
|
|
1138
1138
|
value: e,
|
|
@@ -1140,7 +1140,7 @@ class le {
|
|
|
1140
1140
|
}), t.data = e;
|
|
1141
1141
|
} else {
|
|
1142
1142
|
const t = D.createTextNode("");
|
|
1143
|
-
this._commitNode(t), this._textSanitizer === void 0 && (this._textSanitizer =
|
|
1143
|
+
this._commitNode(t), this._textSanitizer === void 0 && (this._textSanitizer = Qe(t, "data", "property")), e = this._textSanitizer(e), d?.({
|
|
1144
1144
|
kind: "commit text",
|
|
1145
1145
|
node: t,
|
|
1146
1146
|
value: e,
|
|
@@ -1151,49 +1151,49 @@ class le {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
_commitTemplateResult(e) {
|
|
1153
1153
|
var t;
|
|
1154
|
-
const { values: o, ["_$litType$"]: s } = e,
|
|
1155
|
-
if (((t = this._$committedValue) === null || t === void 0 ? void 0 : t._$template) ===
|
|
1154
|
+
const { values: o, ["_$litType$"]: s } = e, i = typeof s == "number" ? this._$getTemplate(e) : (s.el === void 0 && (s.el = le.createElement(Jt(s.h, s.h[0]), this.options)), s);
|
|
1155
|
+
if (((t = this._$committedValue) === null || t === void 0 ? void 0 : t._$template) === i)
|
|
1156
1156
|
d?.({
|
|
1157
1157
|
kind: "template updating",
|
|
1158
|
-
template:
|
|
1158
|
+
template: i,
|
|
1159
1159
|
instance: this._$committedValue,
|
|
1160
1160
|
parts: this._$committedValue._$parts,
|
|
1161
1161
|
options: this.options,
|
|
1162
1162
|
values: o
|
|
1163
1163
|
}), this._$committedValue._update(o);
|
|
1164
1164
|
else {
|
|
1165
|
-
const
|
|
1165
|
+
const r = new wo(i, this), c = r._clone(this.options);
|
|
1166
1166
|
d?.({
|
|
1167
1167
|
kind: "template instantiated",
|
|
1168
|
-
template:
|
|
1169
|
-
instance:
|
|
1170
|
-
parts:
|
|
1168
|
+
template: i,
|
|
1169
|
+
instance: r,
|
|
1170
|
+
parts: r._$parts,
|
|
1171
1171
|
options: this.options,
|
|
1172
1172
|
fragment: c,
|
|
1173
1173
|
values: o
|
|
1174
|
-
}),
|
|
1174
|
+
}), r._update(o), d?.({
|
|
1175
1175
|
kind: "template instantiated and updated",
|
|
1176
|
-
template:
|
|
1177
|
-
instance:
|
|
1178
|
-
parts:
|
|
1176
|
+
template: i,
|
|
1177
|
+
instance: r,
|
|
1178
|
+
parts: r._$parts,
|
|
1179
1179
|
options: this.options,
|
|
1180
1180
|
fragment: c,
|
|
1181
1181
|
values: o
|
|
1182
|
-
}), this._commitNode(c), this._$committedValue =
|
|
1182
|
+
}), this._commitNode(c), this._$committedValue = r;
|
|
1183
1183
|
}
|
|
1184
1184
|
}
|
|
1185
1185
|
// Overridden via `litHtmlPolyfillSupport` to provide platform support.
|
|
1186
1186
|
/** @internal */
|
|
1187
1187
|
_$getTemplate(e) {
|
|
1188
|
-
let t =
|
|
1189
|
-
return t === void 0 &&
|
|
1188
|
+
let t = Rt.get(e.strings);
|
|
1189
|
+
return t === void 0 && Rt.set(e.strings, t = new le(e)), t;
|
|
1190
1190
|
}
|
|
1191
1191
|
_commitIterable(e) {
|
|
1192
|
-
|
|
1192
|
+
Kt(this._$committedValue) || (this._$committedValue = [], this._$clear());
|
|
1193
1193
|
const t = this._$committedValue;
|
|
1194
1194
|
let o = 0, s;
|
|
1195
|
-
for (const
|
|
1196
|
-
o === t.length ? t.push(s = new
|
|
1195
|
+
for (const i of e)
|
|
1196
|
+
o === t.length ? t.push(s = new ae(this._insert(ie()), this._insert(ie()), this, this.options)) : s = t[o], s._$setValue(i), o++;
|
|
1197
1197
|
o < t.length && (this._$clear(s && T(s._$endNode).nextSibling, o), t.length = o);
|
|
1198
1198
|
}
|
|
1199
1199
|
/**
|
|
@@ -1229,9 +1229,9 @@ class le {
|
|
|
1229
1229
|
throw new Error("part.setConnected() may only be called on a RootPart returned from render().");
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
|
-
class
|
|
1233
|
-
constructor(e, t, o, s,
|
|
1234
|
-
this.type =
|
|
1232
|
+
class Ee {
|
|
1233
|
+
constructor(e, t, o, s, i) {
|
|
1234
|
+
this.type = it, this._$committedValue = w, this._$disconnectableChildren = void 0, this.element = e, this.name = t, this._$parent = s, this.options = i, o.length > 2 || o[0] !== "" || o[1] !== "" ? (this._$committedValue = new Array(o.length - 1).fill(new String()), this.strings = o) : this._$committedValue = w, this._sanitizer = void 0;
|
|
1235
1235
|
}
|
|
1236
1236
|
get tagName() {
|
|
1237
1237
|
return this.element.tagName;
|
|
@@ -1263,18 +1263,18 @@ class Ce {
|
|
|
1263
1263
|
* @internal
|
|
1264
1264
|
*/
|
|
1265
1265
|
_$setValue(e, t = this, o, s) {
|
|
1266
|
-
const
|
|
1267
|
-
let
|
|
1268
|
-
if (
|
|
1269
|
-
e = J(this, e, t, 0),
|
|
1266
|
+
const i = this.strings;
|
|
1267
|
+
let r = !1;
|
|
1268
|
+
if (i === void 0)
|
|
1269
|
+
e = J(this, e, t, 0), r = !re(e) || e !== this._$committedValue && e !== G, r && (this._$committedValue = e);
|
|
1270
1270
|
else {
|
|
1271
1271
|
const c = e;
|
|
1272
|
-
e =
|
|
1273
|
-
let
|
|
1274
|
-
for (
|
|
1275
|
-
f = J(this, c[o +
|
|
1272
|
+
e = i[0];
|
|
1273
|
+
let a, f;
|
|
1274
|
+
for (a = 0; a < i.length - 1; a++)
|
|
1275
|
+
f = J(this, c[o + a], t, a), f === G && (f = this._$committedValue[a]), r || (r = !re(f) || f !== this._$committedValue[a]), f === w ? e = w : e !== w && (e += (f ?? "") + i[a + 1]), this._$committedValue[a] = f;
|
|
1276
1276
|
}
|
|
1277
|
-
|
|
1277
|
+
r && !s && this._commitValue(e);
|
|
1278
1278
|
}
|
|
1279
1279
|
/** @internal */
|
|
1280
1280
|
_commitValue(e) {
|
|
@@ -1287,9 +1287,9 @@ class Ce {
|
|
|
1287
1287
|
}), T(this.element).setAttribute(this.name, e ?? ""));
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
|
-
class
|
|
1290
|
+
class Co extends Ee {
|
|
1291
1291
|
constructor() {
|
|
1292
|
-
super(...arguments), this.type =
|
|
1292
|
+
super(...arguments), this.type = ho;
|
|
1293
1293
|
}
|
|
1294
1294
|
/** @internal */
|
|
1295
1295
|
_commitValue(e) {
|
|
@@ -1302,10 +1302,10 @@ class So extends Ce {
|
|
|
1302
1302
|
}), this.element[this.name] = e === w ? void 0 : e;
|
|
1303
1303
|
}
|
|
1304
1304
|
}
|
|
1305
|
-
const
|
|
1306
|
-
class
|
|
1305
|
+
const Po = K ? K.emptyScript : "";
|
|
1306
|
+
class Eo extends Ee {
|
|
1307
1307
|
constructor() {
|
|
1308
|
-
super(...arguments), this.type =
|
|
1308
|
+
super(...arguments), this.type = yo;
|
|
1309
1309
|
}
|
|
1310
1310
|
/** @internal */
|
|
1311
1311
|
_commitValue(e) {
|
|
@@ -1315,12 +1315,12 @@ class Po extends Ce {
|
|
|
1315
1315
|
name: this.name,
|
|
1316
1316
|
value: !!(e && e !== w),
|
|
1317
1317
|
options: this.options
|
|
1318
|
-
}), e && e !== w ? T(this.element).setAttribute(this.name,
|
|
1318
|
+
}), e && e !== w ? T(this.element).setAttribute(this.name, Po) : T(this.element).removeAttribute(this.name);
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
|
-
class
|
|
1322
|
-
constructor(e, t, o, s,
|
|
1323
|
-
if (super(e, t, o, s,
|
|
1321
|
+
class xo extends Ee {
|
|
1322
|
+
constructor(e, t, o, s, i) {
|
|
1323
|
+
if (super(e, t, o, s, i), this.type = go, this.strings !== void 0)
|
|
1324
1324
|
throw new Error(`A \`<${e.localName}>\` has a \`@${t}=...\` listener with invalid content. Event listeners in templates must have exactly one expression and no surrounding text.`);
|
|
1325
1325
|
}
|
|
1326
1326
|
// EventPart does not use the base _$setValue/_resolveValue implementation
|
|
@@ -1330,24 +1330,24 @@ class Co extends Ce {
|
|
|
1330
1330
|
var o;
|
|
1331
1331
|
if (e = (o = J(this, e, t, 0)) !== null && o !== void 0 ? o : w, e === G)
|
|
1332
1332
|
return;
|
|
1333
|
-
const s = this._$committedValue,
|
|
1333
|
+
const s = this._$committedValue, i = e === w && s !== w || e.capture !== s.capture || e.once !== s.once || e.passive !== s.passive, r = e !== w && (s === w || i);
|
|
1334
1334
|
d?.({
|
|
1335
1335
|
kind: "commit event listener",
|
|
1336
1336
|
element: this.element,
|
|
1337
1337
|
name: this.name,
|
|
1338
1338
|
value: e,
|
|
1339
1339
|
options: this.options,
|
|
1340
|
-
removeListener:
|
|
1341
|
-
addListener:
|
|
1340
|
+
removeListener: i,
|
|
1341
|
+
addListener: r,
|
|
1342
1342
|
oldListener: s
|
|
1343
|
-
}),
|
|
1343
|
+
}), i && this.element.removeEventListener(this.name, this, s), r && this.element.addEventListener(this.name, this, e), this._$committedValue = e;
|
|
1344
1344
|
}
|
|
1345
1345
|
handleEvent(e) {
|
|
1346
1346
|
var t, o;
|
|
1347
1347
|
typeof this._$committedValue == "function" ? this._$committedValue.call((o = (t = this.options) === null || t === void 0 ? void 0 : t.host) !== null && o !== void 0 ? o : this.element, e) : this._$committedValue.handleEvent(e);
|
|
1348
1348
|
}
|
|
1349
1349
|
}
|
|
1350
|
-
class
|
|
1350
|
+
class To {
|
|
1351
1351
|
constructor(e, t, o) {
|
|
1352
1352
|
this.element = e, this.type = rt, this._$disconnectableChildren = void 0, this._$parent = t, this.options = o;
|
|
1353
1353
|
}
|
|
@@ -1364,46 +1364,46 @@ class Eo {
|
|
|
1364
1364
|
}), J(this, e);
|
|
1365
1365
|
}
|
|
1366
1366
|
}
|
|
1367
|
-
const
|
|
1368
|
-
|
|
1369
|
-
((
|
|
1370
|
-
E.litHtmlVersions.length > 1 &&
|
|
1367
|
+
const He = E.litHtmlPolyfillSupportDevMode;
|
|
1368
|
+
He?.(le, ae);
|
|
1369
|
+
((Be = E.litHtmlVersions) !== null && Be !== void 0 ? Be : E.litHtmlVersions = []).push("2.8.0");
|
|
1370
|
+
E.litHtmlVersions.length > 1 && we("multiple-versions", "Multiple versions of Lit loaded. Loading multiple versions is not recommended.");
|
|
1371
1371
|
const ye = (n, e, t) => {
|
|
1372
1372
|
var o, s;
|
|
1373
1373
|
if (e == null)
|
|
1374
1374
|
throw new TypeError(`The container to render into may not be ${e}`);
|
|
1375
|
-
const
|
|
1376
|
-
let c =
|
|
1375
|
+
const i = no++, r = (o = t?.renderBefore) !== null && o !== void 0 ? o : e;
|
|
1376
|
+
let c = r._$litPart$;
|
|
1377
1377
|
if (d?.({
|
|
1378
1378
|
kind: "begin render",
|
|
1379
|
-
id:
|
|
1379
|
+
id: i,
|
|
1380
1380
|
value: n,
|
|
1381
1381
|
container: e,
|
|
1382
1382
|
options: t,
|
|
1383
1383
|
part: c
|
|
1384
1384
|
}), c === void 0) {
|
|
1385
|
-
const
|
|
1386
|
-
|
|
1385
|
+
const a = (s = t?.renderBefore) !== null && s !== void 0 ? s : null;
|
|
1386
|
+
r._$litPart$ = c = new ae(e.insertBefore(ie(), a), a, void 0, t ?? {});
|
|
1387
1387
|
}
|
|
1388
1388
|
return c._$setValue(n), d?.({
|
|
1389
1389
|
kind: "end render",
|
|
1390
|
-
id:
|
|
1390
|
+
id: i,
|
|
1391
1391
|
value: n,
|
|
1392
1392
|
container: e,
|
|
1393
1393
|
options: t,
|
|
1394
1394
|
part: c
|
|
1395
1395
|
}), c;
|
|
1396
1396
|
};
|
|
1397
|
-
ye.setSanitizer =
|
|
1398
|
-
var
|
|
1399
|
-
let
|
|
1397
|
+
ye.setSanitizer = so, ye.createSanitizer = Qe, ye._testOnlyClearSanitizerFactoryDoNotCallOrElse = io;
|
|
1398
|
+
var Ke, Ge, Je;
|
|
1399
|
+
let lt;
|
|
1400
1400
|
{
|
|
1401
|
-
const n = (
|
|
1402
|
-
|
|
1401
|
+
const n = (Ke = globalThis.litIssuedWarnings) !== null && Ke !== void 0 ? Ke : globalThis.litIssuedWarnings = /* @__PURE__ */ new Set();
|
|
1402
|
+
lt = (e, t) => {
|
|
1403
1403
|
t += ` See https://lit.dev/msg/${e} for more information.`, n.has(t) || (console.warn(t), n.add(t));
|
|
1404
1404
|
};
|
|
1405
1405
|
}
|
|
1406
|
-
class Y extends
|
|
1406
|
+
class Y extends V {
|
|
1407
1407
|
constructor() {
|
|
1408
1408
|
super(...arguments), this.renderOptions = { host: this }, this.__childPart = void 0;
|
|
1409
1409
|
}
|
|
@@ -1486,31 +1486,31 @@ class Y extends A {
|
|
|
1486
1486
|
}
|
|
1487
1487
|
Y.finalized = !0;
|
|
1488
1488
|
Y._$litElement$ = !0;
|
|
1489
|
-
(
|
|
1490
|
-
const
|
|
1491
|
-
|
|
1489
|
+
(Ge = globalThis.litElementHydrateSupport) === null || Ge === void 0 || Ge.call(globalThis, { LitElement: Y });
|
|
1490
|
+
const Ye = globalThis.litElementPolyfillSupportDevMode;
|
|
1491
|
+
Ye?.({ LitElement: Y });
|
|
1492
1492
|
Y.finalize = function() {
|
|
1493
|
-
if (!
|
|
1493
|
+
if (!V.finalize.call(this))
|
|
1494
1494
|
return !1;
|
|
1495
1495
|
const e = (t, o, s = !1) => {
|
|
1496
1496
|
if (t.hasOwnProperty(o)) {
|
|
1497
|
-
const
|
|
1498
|
-
|
|
1497
|
+
const i = (typeof t == "function" ? t : t.constructor).name;
|
|
1498
|
+
lt(s ? "renamed-api" : "removed-api", `\`${o}\` is implemented on class ${i}. It has been ${s ? "renamed" : "removed"} in this version of LitElement.`);
|
|
1499
1499
|
}
|
|
1500
1500
|
};
|
|
1501
1501
|
return e(this, "render"), e(this, "getStyles", !0), e(this.prototype, "adoptStyles"), !0;
|
|
1502
1502
|
};
|
|
1503
|
-
((
|
|
1504
|
-
globalThis.litElementVersions.length > 1 &&
|
|
1505
|
-
const
|
|
1506
|
-
function
|
|
1507
|
-
const e = n.replace(
|
|
1503
|
+
((Je = globalThis.litElementVersions) !== null && Je !== void 0 ? Je : globalThis.litElementVersions = []).push("3.3.3");
|
|
1504
|
+
globalThis.litElementVersions.length > 1 && lt("multiple-versions", "Multiple versions of Lit loaded. Loading multiple versions is not recommended.");
|
|
1505
|
+
const $o = (n) => n ?? w, ko = /[A-ZÀ-ÖÙ-Ý]+/g, Ro = /[a-zà-öù-ý]+/g;
|
|
1506
|
+
function No(n) {
|
|
1507
|
+
const e = n.replace(ko, t).match(Ro);
|
|
1508
1508
|
return e ? e.join("-") : "";
|
|
1509
1509
|
function t(o) {
|
|
1510
1510
|
return " " + (o.length > 2 ? o.slice(0, -1) + " " + o.slice(-1) : o).toLowerCase();
|
|
1511
1511
|
}
|
|
1512
1512
|
}
|
|
1513
|
-
function
|
|
1513
|
+
function Ao() {
|
|
1514
1514
|
const n = {};
|
|
1515
1515
|
return {
|
|
1516
1516
|
has: (e) => Object.hasOwnProperty.call(n, e),
|
|
@@ -1520,21 +1520,21 @@ function Ro() {
|
|
|
1520
1520
|
}
|
|
1521
1521
|
};
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1524
|
-
const t =
|
|
1523
|
+
function Mo(n, e) {
|
|
1524
|
+
const t = Ao();
|
|
1525
1525
|
return (...o) => {
|
|
1526
1526
|
const s = n(...o);
|
|
1527
1527
|
return t.has(s) || t.set(s, e(...o)), t.get(s);
|
|
1528
1528
|
};
|
|
1529
1529
|
}
|
|
1530
|
-
var
|
|
1531
|
-
async function
|
|
1530
|
+
var Vo = (n) => n, Yt = Mo(Vo, No), zo = (n) => (e) => n.includes(e), Oo = zo(["paymentMethod", "source", "token"]);
|
|
1531
|
+
async function Io(n) {
|
|
1532
1532
|
const { ok: e, statusText: t } = n;
|
|
1533
1533
|
if (!e)
|
|
1534
1534
|
throw new Error(t);
|
|
1535
1535
|
return n;
|
|
1536
1536
|
}
|
|
1537
|
-
function
|
|
1537
|
+
function Lo(n) {
|
|
1538
1538
|
return "addInitializer" in n.constructor;
|
|
1539
1539
|
}
|
|
1540
1540
|
var se = class {
|
|
@@ -1550,7 +1550,7 @@ var se = class {
|
|
|
1550
1550
|
}
|
|
1551
1551
|
set(n, e) {
|
|
1552
1552
|
const t = this.values.get(n);
|
|
1553
|
-
this.values.set(n, e),
|
|
1553
|
+
this.values.set(n, e), Lo(this.host) ? this.host.requestUpdate(n, t) : this.host.requestUpdate();
|
|
1554
1554
|
}
|
|
1555
1555
|
}, at = se;
|
|
1556
1556
|
at.instances = /* @__PURE__ */ new Map();
|
|
@@ -1564,8 +1564,8 @@ function m(n, e) {
|
|
|
1564
1564
|
get() {
|
|
1565
1565
|
return s.values.get(e);
|
|
1566
1566
|
},
|
|
1567
|
-
set(
|
|
1568
|
-
s.values.has(e) || s.values.set(e,
|
|
1567
|
+
set(i) {
|
|
1568
|
+
s.values.has(e) || s.values.set(e, i);
|
|
1569
1569
|
}
|
|
1570
1570
|
}), t.createProperty(e, {
|
|
1571
1571
|
...t.getPropertyOptions(e),
|
|
@@ -1578,7 +1578,7 @@ m.set = function(n, e) {
|
|
|
1578
1578
|
for (const [o, s] of Object.entries(e))
|
|
1579
1579
|
t.set(o, s);
|
|
1580
1580
|
};
|
|
1581
|
-
var
|
|
1581
|
+
var qo = class extends Event {
|
|
1582
1582
|
constructor(n, e, t, o) {
|
|
1583
1583
|
super(`${o ?? n.toLowerCase()}-changed`), this.key = n, this.oldValue = e, this.value = t, this.detail = { value: t };
|
|
1584
1584
|
}
|
|
@@ -1591,23 +1591,23 @@ var Io = class extends Event {
|
|
|
1591
1591
|
hostUpdated() {
|
|
1592
1592
|
for (const [n, e] of this.cache) {
|
|
1593
1593
|
const t = this.host[n], { attribute: o } = this.host.constructor.getPropertyOptions(n) ?? {}, s = typeof o == "string" ? o : null;
|
|
1594
|
-
this.cache.set(n, t), this.host.dispatchEvent(new
|
|
1594
|
+
this.cache.set(n, t), this.host.dispatchEvent(new qo(n, e, t, s));
|
|
1595
1595
|
}
|
|
1596
1596
|
}
|
|
1597
|
-
},
|
|
1598
|
-
|
|
1597
|
+
}, Zt = ge;
|
|
1598
|
+
Zt.instances = /* @__PURE__ */ new Map();
|
|
1599
1599
|
function x(n, e) {
|
|
1600
1600
|
n.constructor.addInitializer((t) => {
|
|
1601
|
-
new
|
|
1601
|
+
new Zt(t).cache.set(e, t[e]);
|
|
1602
1602
|
});
|
|
1603
1603
|
}
|
|
1604
|
-
function
|
|
1604
|
+
function Uo(n) {
|
|
1605
1605
|
return (e, t, o) => {
|
|
1606
1606
|
const s = o.value;
|
|
1607
1607
|
return o.value = n(s), o;
|
|
1608
1608
|
};
|
|
1609
1609
|
}
|
|
1610
|
-
var
|
|
1610
|
+
var ct = Uo(function(n) {
|
|
1611
1611
|
const { name: e } = n;
|
|
1612
1612
|
return async function(...t) {
|
|
1613
1613
|
if (!this.stripe)
|
|
@@ -1615,29 +1615,29 @@ var lt = Lo(function(n) {
|
|
|
1615
1615
|
return n.call(this, ...t).then(this.handleResponse);
|
|
1616
1616
|
};
|
|
1617
1617
|
});
|
|
1618
|
-
function
|
|
1618
|
+
function Nt(n) {
|
|
1619
1619
|
if (n.error)
|
|
1620
1620
|
throw n.error;
|
|
1621
1621
|
return n;
|
|
1622
1622
|
}
|
|
1623
|
-
var
|
|
1624
|
-
for (var s = o > 1 ? void 0 : o ?
|
|
1625
|
-
(
|
|
1626
|
-
return o && s &&
|
|
1627
|
-
},
|
|
1623
|
+
var Bo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, l = (n, e, t, o) => {
|
|
1624
|
+
for (var s = o > 1 ? void 0 : o ? Do(e, t) : e, i = n.length - 1, r; i >= 0; i--)
|
|
1625
|
+
(r = n[i]) && (s = (o ? r(e, t, s) : r(s)) || s);
|
|
1626
|
+
return o && s && Bo(e, t, s), s;
|
|
1627
|
+
}, Xt = (n, e, t) => {
|
|
1628
1628
|
if (!e.has(n))
|
|
1629
1629
|
throw TypeError("Cannot " + t);
|
|
1630
|
-
},
|
|
1630
|
+
}, At = (n, e, t) => (Xt(n, e, "read from private field"), t ? t.call(n) : e.get(n)), Mt = (n, e, t) => {
|
|
1631
1631
|
if (e.has(n))
|
|
1632
1632
|
throw TypeError("Cannot add the same private member more than once");
|
|
1633
1633
|
e instanceof WeakSet ? e.add(n) : e.set(n, t);
|
|
1634
|
-
},
|
|
1635
|
-
function
|
|
1634
|
+
}, Vt = (n, e, t, o) => (Xt(n, e, "write to private field"), e.set(n, t), t);
|
|
1635
|
+
function zt() {
|
|
1636
1636
|
return (Date.now() + Math.random() * 1e3).toString(36).substr(0, 8);
|
|
1637
1637
|
}
|
|
1638
|
-
var
|
|
1638
|
+
var Fo = class {
|
|
1639
1639
|
constructor(n, e) {
|
|
1640
|
-
this.host = n, this.options = e, this.initialized = !1, this.shadowHosts = [], this.host.addController(this), this.mountId = this.resetMountId(), this.slotName = this.options?.slotName ?? `breadcrumb-${
|
|
1640
|
+
this.host = n, this.options = e, this.initialized = !1, this.shadowHosts = [], this.host.addController(this), this.mountId = this.resetMountId(), this.slotName = this.options?.slotName ?? `breadcrumb-${zt()}`;
|
|
1641
1641
|
}
|
|
1642
1642
|
get mount() {
|
|
1643
1643
|
return document.getElementById(this.mountId);
|
|
@@ -1649,7 +1649,7 @@ var Bo = class {
|
|
|
1649
1649
|
this.destroyMountPoints();
|
|
1650
1650
|
}
|
|
1651
1651
|
resetMountId() {
|
|
1652
|
-
return `${this.options?.mountPrefix ?? this.host.localName}-mount-point-${
|
|
1652
|
+
return `${this.options?.mountPrefix ?? this.host.localName}-mount-point-${zt()}`;
|
|
1653
1653
|
}
|
|
1654
1654
|
createMountPoint() {
|
|
1655
1655
|
const n = document.createElement("div");
|
|
@@ -1677,11 +1677,11 @@ var Bo = class {
|
|
|
1677
1677
|
this.shadowHosts.push(n);
|
|
1678
1678
|
const { shadowHosts: e, slotName: t } = this, o = [...e], s = o.pop();
|
|
1679
1679
|
if (!s.querySelector(`[slot="${t}"]`)) {
|
|
1680
|
-
const
|
|
1681
|
-
|
|
1680
|
+
const r = document.createElement("div");
|
|
1681
|
+
r.slot = t, s.appendChild(r);
|
|
1682
1682
|
}
|
|
1683
|
-
const
|
|
1684
|
-
this.appendTemplate(
|
|
1683
|
+
const i = s.querySelector(`[slot="${t}"]`);
|
|
1684
|
+
this.appendTemplate(i), o.forEach((r) => this.appendTemplate(r, this.createSlot(t)));
|
|
1685
1685
|
}
|
|
1686
1686
|
init() {
|
|
1687
1687
|
this.destroyMountPoints(), this.initMountPoints(), this.initialized = !0;
|
|
@@ -1695,54 +1695,54 @@ function ve(n) {
|
|
|
1695
1695
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1696
1696
|
}, ve(n);
|
|
1697
1697
|
}
|
|
1698
|
-
var
|
|
1699
|
-
for (var e = document.querySelectorAll('script[src^="'.concat(
|
|
1698
|
+
var Qt = "https://js.stripe.com/v3", jo = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, Ot = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used", Wo = function() {
|
|
1699
|
+
for (var e = document.querySelectorAll('script[src^="'.concat(Qt, '"]')), t = 0; t < e.length; t++) {
|
|
1700
1700
|
var o = e[t];
|
|
1701
|
-
if (
|
|
1701
|
+
if (jo.test(o.src))
|
|
1702
1702
|
return o;
|
|
1703
1703
|
}
|
|
1704
1704
|
return null;
|
|
1705
|
-
},
|
|
1705
|
+
}, Ho = function(e) {
|
|
1706
1706
|
var t = e && !e.advancedFraudSignals ? "?advancedFraudSignals=false" : "", o = document.createElement("script");
|
|
1707
|
-
o.src = "".concat(
|
|
1707
|
+
o.src = "".concat(Qt).concat(t);
|
|
1708
1708
|
var s = document.head || document.body;
|
|
1709
1709
|
if (!s)
|
|
1710
1710
|
throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");
|
|
1711
1711
|
return s.appendChild(o), o;
|
|
1712
|
-
},
|
|
1712
|
+
}, Ko = function(e, t) {
|
|
1713
1713
|
!e || !e._registerWrapper || e._registerWrapper({
|
|
1714
1714
|
name: "stripe-js",
|
|
1715
1715
|
version: "1.32.0",
|
|
1716
1716
|
startTime: t
|
|
1717
1717
|
});
|
|
1718
|
-
}, de = null,
|
|
1718
|
+
}, de = null, Go = function(e) {
|
|
1719
1719
|
return de !== null || (de = new Promise(function(t, o) {
|
|
1720
1720
|
if (typeof window > "u") {
|
|
1721
1721
|
t(null);
|
|
1722
1722
|
return;
|
|
1723
1723
|
}
|
|
1724
|
-
if (window.Stripe && e && console.warn(
|
|
1724
|
+
if (window.Stripe && e && console.warn(Ot), window.Stripe) {
|
|
1725
1725
|
t(window.Stripe);
|
|
1726
1726
|
return;
|
|
1727
1727
|
}
|
|
1728
1728
|
try {
|
|
1729
|
-
var s =
|
|
1730
|
-
s && e ? console.warn(
|
|
1729
|
+
var s = Wo();
|
|
1730
|
+
s && e ? console.warn(Ot) : s || (s = Ho(e)), s.addEventListener("load", function() {
|
|
1731
1731
|
window.Stripe ? t(window.Stripe) : o(new Error("Stripe.js not available"));
|
|
1732
1732
|
}), s.addEventListener("error", function() {
|
|
1733
1733
|
o(new Error("Failed to load Stripe.js"));
|
|
1734
1734
|
});
|
|
1735
|
-
} catch (
|
|
1736
|
-
o(
|
|
1735
|
+
} catch (i) {
|
|
1736
|
+
o(i);
|
|
1737
1737
|
return;
|
|
1738
1738
|
}
|
|
1739
1739
|
})), de;
|
|
1740
|
-
},
|
|
1740
|
+
}, Jo = function(e, t, o) {
|
|
1741
1741
|
if (e === null)
|
|
1742
1742
|
return null;
|
|
1743
1743
|
var s = e.apply(void 0, t);
|
|
1744
|
-
return
|
|
1745
|
-
},
|
|
1744
|
+
return Ko(s, o), s;
|
|
1745
|
+
}, Yo = function(e) {
|
|
1746
1746
|
var t = `invalid load parameters; expected object of shape
|
|
1747
1747
|
|
|
1748
1748
|
{advancedFraudSignals: boolean}
|
|
@@ -1756,33 +1756,33 @@ but received
|
|
|
1756
1756
|
if (Object.keys(e).length === 1 && typeof e.advancedFraudSignals == "boolean")
|
|
1757
1757
|
return e;
|
|
1758
1758
|
throw new Error(t);
|
|
1759
|
-
},
|
|
1759
|
+
}, en, tn = !1, nn = function() {
|
|
1760
1760
|
for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
|
|
1761
1761
|
t[o] = arguments[o];
|
|
1762
|
-
|
|
1762
|
+
tn = !0;
|
|
1763
1763
|
var s = Date.now();
|
|
1764
|
-
return
|
|
1765
|
-
return
|
|
1764
|
+
return Go(en).then(function(i) {
|
|
1765
|
+
return Jo(i, t, s);
|
|
1766
1766
|
});
|
|
1767
1767
|
};
|
|
1768
|
-
|
|
1769
|
-
if (
|
|
1768
|
+
nn.setLoadParameters = function(n) {
|
|
1769
|
+
if (tn)
|
|
1770
1770
|
throw new Error("You cannot change load parameters after calling loadStripe");
|
|
1771
|
-
|
|
1771
|
+
en = Yo(n);
|
|
1772
1772
|
};
|
|
1773
|
-
var
|
|
1773
|
+
var on = class extends Error {
|
|
1774
1774
|
constructor(n, e) {
|
|
1775
1775
|
super(`<${n}>: ${e}`), this.originalMessage = e;
|
|
1776
1776
|
}
|
|
1777
1777
|
};
|
|
1778
|
-
function
|
|
1779
|
-
return !!n && n instanceof
|
|
1778
|
+
function sn(n) {
|
|
1779
|
+
return !!n && n instanceof on;
|
|
1780
1780
|
}
|
|
1781
|
-
var
|
|
1782
|
-
toAttribute: (n) => n ?
|
|
1781
|
+
var Zo = {
|
|
1782
|
+
toAttribute: (n) => n ? sn(n) ? n.originalMessage : n.message || "" : null
|
|
1783
1783
|
}, p = class extends Y {
|
|
1784
1784
|
constructor() {
|
|
1785
|
-
super(...arguments), this.generate = "source", this.showError = !1, this.locale = "auto", this.paymentMethod = null, this.source = null, this.token = null, this.element = null, this.elements = null, this.error = null, this.focused = !1, this.ready = !1, this.stripe = null, this.theme = "none", this.precomputedStyle = getComputedStyle(this), this.breadcrumb = new
|
|
1785
|
+
super(...arguments), this.generate = "source", this.showError = !1, this.locale = "auto", this.paymentMethod = null, this.source = null, this.token = null, this.element = null, this.elements = null, this.error = null, this.focused = !1, this.ready = !1, this.stripe = null, this.theme = "none", this.precomputedStyle = getComputedStyle(this), this.breadcrumb = new Fo(this, {
|
|
1786
1786
|
slotName: `${this.constructor.is}-slot`
|
|
1787
1787
|
});
|
|
1788
1788
|
}
|
|
@@ -1793,8 +1793,8 @@ var Jo = {
|
|
|
1793
1793
|
return this.breadcrumb.mount;
|
|
1794
1794
|
}
|
|
1795
1795
|
render() {
|
|
1796
|
-
const { error: n, showError: e } = this, { slotName: t } = this.breadcrumb, o =
|
|
1797
|
-
return
|
|
1796
|
+
const { error: n, showError: e } = this, { slotName: t } = this.breadcrumb, o = sn(n) ? n.originalMessage : n?.message;
|
|
1797
|
+
return _o`
|
|
1798
1798
|
<div id="stripe" part="stripe">
|
|
1799
1799
|
<slot id="stripe-slot" name="${t}"></slot>
|
|
1800
1800
|
</div>
|
|
@@ -1803,7 +1803,7 @@ var Jo = {
|
|
|
1803
1803
|
for="stripe"
|
|
1804
1804
|
part="error"
|
|
1805
1805
|
?hidden="${!e}">
|
|
1806
|
-
${
|
|
1806
|
+
${$o(o)}
|
|
1807
1807
|
</output>
|
|
1808
1808
|
`;
|
|
1809
1809
|
}
|
|
@@ -1823,7 +1823,7 @@ var Jo = {
|
|
|
1823
1823
|
this.element?.focus();
|
|
1824
1824
|
}
|
|
1825
1825
|
createError(n) {
|
|
1826
|
-
return new
|
|
1826
|
+
return new on(this.constructor.is, n);
|
|
1827
1827
|
}
|
|
1828
1828
|
errorChanged() {
|
|
1829
1829
|
this.resetRepresentations(), this.fireError(this.error);
|
|
@@ -1858,8 +1858,8 @@ var Jo = {
|
|
|
1858
1858
|
m.set(this, { elements: null, element: null, stripe: null });
|
|
1859
1859
|
else
|
|
1860
1860
|
try {
|
|
1861
|
-
const o = { stripeAccount: e, locale: t }, s = window.Stripe ? window.Stripe(n, o) : await
|
|
1862
|
-
m.set(this, { elements:
|
|
1861
|
+
const o = { stripeAccount: e, locale: t }, s = window.Stripe ? window.Stripe(n, o) : await nn(n, o), i = s?.elements();
|
|
1862
|
+
m.set(this, { elements: i, error: null, stripe: s });
|
|
1863
1863
|
} catch (o) {
|
|
1864
1864
|
console.warn(o);
|
|
1865
1865
|
const s = this.createError("Stripe.js must be loaded first.");
|
|
@@ -1886,14 +1886,14 @@ var Jo = {
|
|
|
1886
1886
|
m.set(this, { ready: !0 }), await this.updateComplete, this.fire("ready", n);
|
|
1887
1887
|
}
|
|
1888
1888
|
async postRepresentation() {
|
|
1889
|
-
const n = (
|
|
1890
|
-
return fetch(this.action, { body:
|
|
1889
|
+
const n = (a) => m.set(this, { error: a }), e = (a) => this.fire("success", a), t = this.token || void 0, o = this.source || void 0, s = this.paymentMethod || void 0, i = JSON.stringify({ token: t, source: o, paymentMethod: s }), r = { "Content-Type": "application/json" };
|
|
1890
|
+
return fetch(this.action, { body: i, headers: r, method: "POST" }).then(Io).then(e).catch(n);
|
|
1891
1891
|
}
|
|
1892
1892
|
representationChanged(n) {
|
|
1893
|
-
if (!
|
|
1893
|
+
if (!Oo(n))
|
|
1894
1894
|
return;
|
|
1895
1895
|
const e = this[n];
|
|
1896
|
-
e && (this.fire(`${
|
|
1896
|
+
e && (this.fire(`${Yt(n)}`, e), this.action && this.postRepresentation());
|
|
1897
1897
|
}
|
|
1898
1898
|
resetRepresentations() {
|
|
1899
1899
|
m.set(this, {
|
|
@@ -1903,107 +1903,107 @@ var Jo = {
|
|
|
1903
1903
|
});
|
|
1904
1904
|
}
|
|
1905
1905
|
};
|
|
1906
|
-
|
|
1906
|
+
l([
|
|
1907
1907
|
u({ type: String })
|
|
1908
1908
|
], p.prototype, "action", 2);
|
|
1909
|
-
|
|
1909
|
+
l([
|
|
1910
1910
|
u({ type: String, attribute: "client-secret" })
|
|
1911
1911
|
], p.prototype, "clientSecret", 2);
|
|
1912
|
-
|
|
1912
|
+
l([
|
|
1913
1913
|
u({ type: String })
|
|
1914
1914
|
], p.prototype, "generate", 2);
|
|
1915
|
-
|
|
1915
|
+
l([
|
|
1916
1916
|
x,
|
|
1917
1917
|
u({ type: String, attribute: "publishable-key", reflect: !0 })
|
|
1918
1918
|
], p.prototype, "publishableKey", 2);
|
|
1919
|
-
|
|
1919
|
+
l([
|
|
1920
1920
|
u({ type: Boolean, attribute: "show-error", reflect: !0 })
|
|
1921
1921
|
], p.prototype, "showError", 2);
|
|
1922
|
-
|
|
1922
|
+
l([
|
|
1923
1923
|
u({ type: String, attribute: "stripe-account" })
|
|
1924
1924
|
], p.prototype, "stripeAccount", 2);
|
|
1925
|
-
|
|
1925
|
+
l([
|
|
1926
1926
|
u({ type: String, attribute: "locale" })
|
|
1927
1927
|
], p.prototype, "locale", 2);
|
|
1928
|
-
|
|
1928
|
+
l([
|
|
1929
1929
|
m,
|
|
1930
1930
|
x,
|
|
1931
1931
|
u({ type: Object, attribute: "payment-method" })
|
|
1932
1932
|
], p.prototype, "paymentMethod", 2);
|
|
1933
|
-
|
|
1933
|
+
l([
|
|
1934
1934
|
m,
|
|
1935
1935
|
x,
|
|
1936
1936
|
u({ type: Object })
|
|
1937
1937
|
], p.prototype, "source", 2);
|
|
1938
|
-
|
|
1938
|
+
l([
|
|
1939
1939
|
m,
|
|
1940
1940
|
x,
|
|
1941
1941
|
u({ type: Object })
|
|
1942
1942
|
], p.prototype, "token", 2);
|
|
1943
|
-
|
|
1943
|
+
l([
|
|
1944
1944
|
m,
|
|
1945
1945
|
u({ type: Object })
|
|
1946
1946
|
], p.prototype, "element", 2);
|
|
1947
|
-
|
|
1947
|
+
l([
|
|
1948
1948
|
m,
|
|
1949
1949
|
u({ type: Object })
|
|
1950
1950
|
], p.prototype, "elements", 2);
|
|
1951
|
-
|
|
1951
|
+
l([
|
|
1952
1952
|
m,
|
|
1953
1953
|
x,
|
|
1954
|
-
u({ type: Object, reflect: !0, converter:
|
|
1954
|
+
u({ type: Object, reflect: !0, converter: Zo })
|
|
1955
1955
|
], p.prototype, "error", 2);
|
|
1956
|
-
|
|
1956
|
+
l([
|
|
1957
1957
|
m,
|
|
1958
1958
|
x,
|
|
1959
1959
|
u({ type: Boolean, reflect: !0 })
|
|
1960
1960
|
], p.prototype, "focused", 2);
|
|
1961
|
-
|
|
1961
|
+
l([
|
|
1962
1962
|
m,
|
|
1963
1963
|
x,
|
|
1964
1964
|
u({ type: Boolean, reflect: !0 })
|
|
1965
1965
|
], p.prototype, "ready", 2);
|
|
1966
|
-
|
|
1966
|
+
l([
|
|
1967
1967
|
m,
|
|
1968
1968
|
u({ type: Object })
|
|
1969
1969
|
], p.prototype, "stripe", 2);
|
|
1970
|
-
|
|
1970
|
+
l([
|
|
1971
1971
|
u()
|
|
1972
1972
|
], p.prototype, "theme", 2);
|
|
1973
|
-
|
|
1973
|
+
l([
|
|
1974
1974
|
u({ attribute: "border-radius" })
|
|
1975
1975
|
], p.prototype, "borderRadius", 2);
|
|
1976
|
-
|
|
1976
|
+
l([
|
|
1977
1977
|
u({ attribute: "color-background" })
|
|
1978
1978
|
], p.prototype, "colorBackground", 2);
|
|
1979
|
-
|
|
1979
|
+
l([
|
|
1980
1980
|
u({ attribute: "color-danger" })
|
|
1981
1981
|
], p.prototype, "colorDanger", 2);
|
|
1982
|
-
|
|
1982
|
+
l([
|
|
1983
1983
|
u({ attribute: "color-primary" })
|
|
1984
1984
|
], p.prototype, "colorPrimary", 2);
|
|
1985
|
-
|
|
1985
|
+
l([
|
|
1986
1986
|
u({ attribute: "color-text" })
|
|
1987
1987
|
], p.prototype, "colorText", 2);
|
|
1988
|
-
|
|
1988
|
+
l([
|
|
1989
1989
|
u({ attribute: "font-family" })
|
|
1990
1990
|
], p.prototype, "fontFamily", 2);
|
|
1991
|
-
|
|
1991
|
+
l([
|
|
1992
1992
|
u({ attribute: "spacing-unit" })
|
|
1993
1993
|
], p.prototype, "spacingUnit", 2);
|
|
1994
|
-
|
|
1995
|
-
|
|
1994
|
+
l([
|
|
1995
|
+
R
|
|
1996
1996
|
], p.prototype, "handleResponse", 1);
|
|
1997
|
-
|
|
1998
|
-
|
|
1997
|
+
l([
|
|
1998
|
+
R
|
|
1999
1999
|
], p.prototype, "onBlur", 1);
|
|
2000
|
-
|
|
2001
|
-
|
|
2000
|
+
l([
|
|
2001
|
+
R
|
|
2002
2002
|
], p.prototype, "onFocus", 1);
|
|
2003
|
-
|
|
2004
|
-
|
|
2003
|
+
l([
|
|
2004
|
+
R
|
|
2005
2005
|
], p.prototype, "onReady", 1);
|
|
2006
|
-
var
|
|
2006
|
+
var Xo = st`[hidden] {
|
|
2007
2007
|
display: none !important;
|
|
2008
2008
|
}
|
|
2009
2009
|
|
|
@@ -2018,7 +2018,7 @@ var Yo = ot`[hidden] {
|
|
|
2018
2018
|
padding-left: 42px;
|
|
2019
2019
|
padding-bottom: 10px;
|
|
2020
2020
|
}
|
|
2021
|
-
`,
|
|
2021
|
+
`, rn = Xo, Qo = st`:host {
|
|
2022
2022
|
min-width: var(--stripe-elements-width, 300px);
|
|
2023
2023
|
min-height: var(--stripe-elements-height, 50px);
|
|
2024
2024
|
}
|
|
@@ -2041,7 +2041,7 @@ var Yo = ot`[hidden] {
|
|
|
2041
2041
|
:host([error]) #stripe {
|
|
2042
2042
|
border-color: #fa755a;
|
|
2043
2043
|
}
|
|
2044
|
-
`,
|
|
2044
|
+
`, es = Qo, It = [
|
|
2045
2045
|
"color",
|
|
2046
2046
|
"fontFamily",
|
|
2047
2047
|
"fontSize",
|
|
@@ -2054,14 +2054,14 @@ var Yo = ot`[hidden] {
|
|
|
2054
2054
|
"textDecoration",
|
|
2055
2055
|
"textShadow",
|
|
2056
2056
|
"textTransform"
|
|
2057
|
-
],
|
|
2057
|
+
], ts = [
|
|
2058
2058
|
":hover",
|
|
2059
2059
|
":focus",
|
|
2060
2060
|
"::placeholder",
|
|
2061
2061
|
"::selection",
|
|
2062
2062
|
":-webkit-autofill",
|
|
2063
2063
|
":disabled"
|
|
2064
|
-
],
|
|
2064
|
+
], C = class extends p {
|
|
2065
2065
|
constructor() {
|
|
2066
2066
|
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;
|
|
2067
2067
|
}
|
|
@@ -2113,25 +2113,25 @@ var Yo = ot`[hidden] {
|
|
|
2113
2113
|
};
|
|
2114
2114
|
}
|
|
2115
2115
|
getStripeElementsStyles() {
|
|
2116
|
-
const n = (s) => this.getCSSCustomPropertyValue(s) || void 0, e = ["base", "complete", "empty", "invalid"], t = (s) => (
|
|
2116
|
+
const n = (s) => this.getCSSCustomPropertyValue(s) || void 0, e = ["base", "complete", "empty", "invalid"], t = (s) => (i, r) => {
|
|
2117
2117
|
if (s.includes("-"))
|
|
2118
|
-
return
|
|
2119
|
-
const c =
|
|
2118
|
+
return i;
|
|
2119
|
+
const c = r.split(":").pop();
|
|
2120
2120
|
return {
|
|
2121
|
-
...
|
|
2122
|
-
[
|
|
2121
|
+
...i,
|
|
2122
|
+
[r]: It.reduce(o(`${s}-${c}`), {})
|
|
2123
2123
|
};
|
|
2124
|
-
}, o = (s) => (
|
|
2125
|
-
const c = `--stripe-elements-${s}-${
|
|
2124
|
+
}, o = (s) => (i, r) => {
|
|
2125
|
+
const c = `--stripe-elements-${s}-${Yt(r)}`;
|
|
2126
2126
|
return {
|
|
2127
|
-
...
|
|
2128
|
-
[
|
|
2129
|
-
...
|
|
2127
|
+
...i,
|
|
2128
|
+
[r]: n(c),
|
|
2129
|
+
...ts.reduce(t(s), {})
|
|
2130
2130
|
};
|
|
2131
2131
|
};
|
|
2132
|
-
return e.reduce((s,
|
|
2132
|
+
return e.reduce((s, i) => ({
|
|
2133
2133
|
...s,
|
|
2134
|
-
[
|
|
2134
|
+
[i]: It.reduce(o(i), {})
|
|
2135
2135
|
}), {});
|
|
2136
2136
|
}
|
|
2137
2137
|
async initElement() {
|
|
@@ -2139,102 +2139,102 @@ var Yo = ot`[hidden] {
|
|
|
2139
2139
|
return;
|
|
2140
2140
|
const { hidePostalCode: n, hideIcon: e, iconStyle: t, value: o } = this, s = this.getStripeElementsStyles();
|
|
2141
2141
|
await this.updateComplete;
|
|
2142
|
-
const
|
|
2142
|
+
const i = this.createElement({
|
|
2143
2143
|
hideIcon: e,
|
|
2144
2144
|
hidePostalCode: n,
|
|
2145
2145
|
iconStyle: t,
|
|
2146
2146
|
style: s,
|
|
2147
2147
|
value: o
|
|
2148
2148
|
});
|
|
2149
|
-
|
|
2149
|
+
i.on("change", this.onChange), m.set(this, { element: i }), await this.updateComplete;
|
|
2150
2150
|
}
|
|
2151
2151
|
createElement(n) {
|
|
2152
2152
|
return this.elements.create("card", n);
|
|
2153
2153
|
}
|
|
2154
2154
|
async onChange(n) {
|
|
2155
|
-
const { brand: e, complete: t, empty: o, error: s = null } = n,
|
|
2156
|
-
m.set(this, { brand: e, complete: t, empty: o, error: s, invalid:
|
|
2155
|
+
const { brand: e, complete: t, empty: o, error: s = null } = n, i = !(s || !o && !t);
|
|
2156
|
+
m.set(this, { brand: e, complete: t, empty: o, error: s, invalid: i }), await this.updateComplete, this.fire("change", n);
|
|
2157
2157
|
}
|
|
2158
2158
|
};
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2159
|
+
C.is = "stripe-elements";
|
|
2160
|
+
C.elementType = "card";
|
|
2161
|
+
C.styles = [
|
|
2162
|
+
rn,
|
|
2163
|
+
es
|
|
2164
2164
|
];
|
|
2165
|
-
|
|
2165
|
+
l([
|
|
2166
2166
|
u({ type: Boolean, attribute: "hide-icon" })
|
|
2167
|
-
],
|
|
2168
|
-
|
|
2167
|
+
], C.prototype, "hideIcon", 2);
|
|
2168
|
+
l([
|
|
2169
2169
|
u({ type: Boolean, attribute: "hide-postal-code" })
|
|
2170
|
-
],
|
|
2171
|
-
|
|
2170
|
+
], C.prototype, "hidePostalCode", 2);
|
|
2171
|
+
l([
|
|
2172
2172
|
u({ type: String, attribute: "icon-style" })
|
|
2173
|
-
],
|
|
2174
|
-
|
|
2173
|
+
], C.prototype, "iconStyle", 2);
|
|
2174
|
+
l([
|
|
2175
2175
|
u({ type: Object })
|
|
2176
|
-
],
|
|
2177
|
-
|
|
2176
|
+
], C.prototype, "value", 2);
|
|
2177
|
+
l([
|
|
2178
2178
|
x,
|
|
2179
2179
|
m,
|
|
2180
2180
|
u({ type: String })
|
|
2181
|
-
],
|
|
2182
|
-
|
|
2181
|
+
], C.prototype, "brand", 2);
|
|
2182
|
+
l([
|
|
2183
2183
|
x,
|
|
2184
2184
|
m,
|
|
2185
2185
|
u({ type: Boolean, reflect: !0 })
|
|
2186
|
-
],
|
|
2187
|
-
|
|
2186
|
+
], C.prototype, "complete", 2);
|
|
2187
|
+
l([
|
|
2188
2188
|
x,
|
|
2189
2189
|
m,
|
|
2190
2190
|
u({ type: Boolean, reflect: !0 })
|
|
2191
|
-
],
|
|
2192
|
-
|
|
2191
|
+
], C.prototype, "empty", 2);
|
|
2192
|
+
l([
|
|
2193
2193
|
x,
|
|
2194
2194
|
m,
|
|
2195
2195
|
u({ type: Boolean, reflect: !0 })
|
|
2196
|
-
],
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
],
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
],
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
],
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
],
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
],
|
|
2212
|
-
var
|
|
2196
|
+
], C.prototype, "invalid", 2);
|
|
2197
|
+
l([
|
|
2198
|
+
ct
|
|
2199
|
+
], C.prototype, "createPaymentMethod", 1);
|
|
2200
|
+
l([
|
|
2201
|
+
ct
|
|
2202
|
+
], C.prototype, "createSource", 1);
|
|
2203
|
+
l([
|
|
2204
|
+
ct
|
|
2205
|
+
], C.prototype, "createToken", 1);
|
|
2206
|
+
l([
|
|
2207
|
+
R
|
|
2208
|
+
], C.prototype, "onChange", 1);
|
|
2209
|
+
C = l([
|
|
2210
|
+
Ut("stripe-elements")
|
|
2211
|
+
], C);
|
|
2212
|
+
var ns = st`#stripe {
|
|
2213
2213
|
box-sizing: border-box;
|
|
2214
2214
|
min-width: var(--stripe-payment-request-element-min-width, 300px);
|
|
2215
2215
|
padding: var(--stripe-payment-request-element-padding, 8px 12px);
|
|
2216
2216
|
background: var(--stripe-payment-request-element-background, white);
|
|
2217
2217
|
}
|
|
2218
|
-
`,
|
|
2219
|
-
function
|
|
2218
|
+
`, os = ns;
|
|
2219
|
+
function ss(n) {
|
|
2220
2220
|
return n.tagName.toLowerCase() === "stripe-display-item";
|
|
2221
2221
|
}
|
|
2222
|
-
function
|
|
2222
|
+
function is({ dataset: { amount: n, label: e, pending: t } }) {
|
|
2223
2223
|
return {
|
|
2224
2224
|
label: e,
|
|
2225
2225
|
amount: parseInt(n),
|
|
2226
2226
|
...t !== void 0 && { pending: t === "true" }
|
|
2227
2227
|
};
|
|
2228
2228
|
}
|
|
2229
|
-
function
|
|
2229
|
+
function rs({ dataset: { amount: n, detail: e, ...t } }) {
|
|
2230
2230
|
return {
|
|
2231
2231
|
amount: parseInt(n),
|
|
2232
2232
|
detail: e,
|
|
2233
2233
|
...t
|
|
2234
2234
|
};
|
|
2235
2235
|
}
|
|
2236
|
-
function
|
|
2237
|
-
return
|
|
2236
|
+
function ls(n) {
|
|
2237
|
+
return ss(n) ? is(n) : rs(n);
|
|
2238
2238
|
}
|
|
2239
2239
|
var be, _e, g = class extends p {
|
|
2240
2240
|
constructor() {
|
|
@@ -2244,20 +2244,20 @@ var be, _e, g = class extends p {
|
|
|
2244
2244
|
};
|
|
2245
2245
|
}
|
|
2246
2246
|
get displayItems() {
|
|
2247
|
-
const n =
|
|
2247
|
+
const n = At(this, be);
|
|
2248
2248
|
return Array.isArray(n) ? n : this.parseDatasets("stripe-display-item");
|
|
2249
2249
|
}
|
|
2250
2250
|
set displayItems(n) {
|
|
2251
2251
|
const e = this.displayItems;
|
|
2252
|
-
|
|
2252
|
+
Vt(this, be, n), this.requestUpdate("displayItems", e);
|
|
2253
2253
|
}
|
|
2254
2254
|
get shippingOptions() {
|
|
2255
|
-
const n =
|
|
2255
|
+
const n = At(this, _e);
|
|
2256
2256
|
return Array.isArray(n) ? n : this.parseDatasets("stripe-shipping-option");
|
|
2257
2257
|
}
|
|
2258
2258
|
set shippingOptions(n) {
|
|
2259
2259
|
const e = this.shippingOptions;
|
|
2260
|
-
|
|
2260
|
+
Vt(this, _e, n), this.requestUpdate("shippingOptions", e);
|
|
2261
2261
|
}
|
|
2262
2262
|
reset() {
|
|
2263
2263
|
super.reset(), m.set(this, { paymentIntent: null });
|
|
@@ -2272,22 +2272,22 @@ var be, _e, g = class extends p {
|
|
|
2272
2272
|
displayItems: t,
|
|
2273
2273
|
shippingOptions: o,
|
|
2274
2274
|
requestShipping: s,
|
|
2275
|
-
requestPayerEmail:
|
|
2276
|
-
requestPayerName:
|
|
2275
|
+
requestPayerEmail: i,
|
|
2276
|
+
requestPayerName: r,
|
|
2277
2277
|
requestPayerPhone: c,
|
|
2278
|
-
label:
|
|
2278
|
+
label: a = "",
|
|
2279
2279
|
amount: f = 0
|
|
2280
2280
|
} = this;
|
|
2281
2281
|
return {
|
|
2282
2282
|
country: n,
|
|
2283
2283
|
currency: e,
|
|
2284
2284
|
displayItems: t,
|
|
2285
|
-
requestPayerEmail:
|
|
2286
|
-
requestPayerName:
|
|
2285
|
+
requestPayerEmail: i,
|
|
2286
|
+
requestPayerName: r,
|
|
2287
2287
|
requestPayerPhone: c,
|
|
2288
2288
|
requestShipping: s,
|
|
2289
2289
|
shippingOptions: o,
|
|
2290
|
-
total: { label:
|
|
2290
|
+
total: { label: a, amount: f }
|
|
2291
2291
|
};
|
|
2292
2292
|
}
|
|
2293
2293
|
async initElement() {
|
|
@@ -2303,11 +2303,11 @@ var be, _e, g = class extends p {
|
|
|
2303
2303
|
const { buttonTheme: n, buttonType: e, canMakePayment: t } = this;
|
|
2304
2304
|
if (!t || !this.elements)
|
|
2305
2305
|
return;
|
|
2306
|
-
const
|
|
2306
|
+
const i = { paymentRequestButton: { height: this.getCSSCustomPropertyValue("--stripe-payment-request-button-height") || "40px", theme: n, type: e } }, r = this.elements.create("paymentRequestButton", {
|
|
2307
2307
|
paymentRequest: this.paymentRequest,
|
|
2308
|
-
style:
|
|
2308
|
+
style: i
|
|
2309
2309
|
});
|
|
2310
|
-
m.set(this, { element:
|
|
2310
|
+
m.set(this, { element: r }), await this.updateComplete;
|
|
2311
2311
|
}
|
|
2312
2312
|
async initPaymentRequestListeners() {
|
|
2313
2313
|
if (this.canMakePayment)
|
|
@@ -2345,7 +2345,7 @@ var be, _e, g = class extends p {
|
|
|
2345
2345
|
m.set(this, { error: e, paymentMethod: t, source: o, token: s }), this.clientSecret && !e ? this.confirmPaymentIntent(n) : this.complete(n);
|
|
2346
2346
|
}
|
|
2347
2347
|
async confirmPaymentIntent(n) {
|
|
2348
|
-
const e = { payment_method: this.paymentMethod.id }, t = await this.confirmCardPayment(e, { handleActions: !1 }).then(({ error:
|
|
2348
|
+
const e = { payment_method: this.paymentMethod.id }, t = await this.confirmCardPayment(e, { handleActions: !1 }).then(({ error: i }) => this.complete(n, i)).then(Nt).then(() => this.confirmCardPayment()).then(Nt).catch((i) => ({ error: i })), { error: o = null } = t, s = t.paymentIntent ?? null;
|
|
2349
2349
|
m.set(this, { error: o, paymentIntent: s }), await this.updateComplete;
|
|
2350
2350
|
}
|
|
2351
2351
|
async confirmCardPayment(n, e) {
|
|
@@ -2359,126 +2359,134 @@ var be, _e, g = class extends p {
|
|
|
2359
2359
|
}
|
|
2360
2360
|
parseDatasets(n) {
|
|
2361
2361
|
const e = [...this.querySelectorAll(n)];
|
|
2362
|
-
return e.length ? e.map(
|
|
2362
|
+
return e.length ? e.map(ls) : [];
|
|
2363
2363
|
}
|
|
2364
2364
|
};
|
|
2365
2365
|
be = /* @__PURE__ */ new WeakMap();
|
|
2366
2366
|
_e = /* @__PURE__ */ new WeakMap();
|
|
2367
2367
|
g.is = "stripe-payment-request";
|
|
2368
2368
|
g.styles = [
|
|
2369
|
-
|
|
2370
|
-
|
|
2369
|
+
rn,
|
|
2370
|
+
os
|
|
2371
2371
|
];
|
|
2372
|
-
|
|
2372
|
+
l([
|
|
2373
2373
|
u({ type: Number, reflect: !0 })
|
|
2374
2374
|
], g.prototype, "amount", 2);
|
|
2375
|
-
|
|
2375
|
+
l([
|
|
2376
2376
|
x,
|
|
2377
2377
|
m,
|
|
2378
2378
|
u({ type: Boolean, attribute: "can-make-payment", reflect: !0 })
|
|
2379
2379
|
], g.prototype, "canMakePayment", 2);
|
|
2380
|
-
|
|
2380
|
+
l([
|
|
2381
2381
|
u({ type: String })
|
|
2382
2382
|
], g.prototype, "country", 2);
|
|
2383
|
-
|
|
2383
|
+
l([
|
|
2384
2384
|
u({ type: String })
|
|
2385
2385
|
], g.prototype, "currency", 2);
|
|
2386
|
-
|
|
2386
|
+
l([
|
|
2387
2387
|
u({ type: Array })
|
|
2388
2388
|
], g.prototype, "displayItems", 1);
|
|
2389
|
-
|
|
2389
|
+
l([
|
|
2390
2390
|
u({ type: String, reflect: !0 })
|
|
2391
2391
|
], g.prototype, "label", 2);
|
|
2392
|
-
|
|
2392
|
+
l([
|
|
2393
2393
|
x,
|
|
2394
2394
|
m,
|
|
2395
2395
|
u({ type: Object, attribute: "payment-intent" })
|
|
2396
2396
|
], g.prototype, "paymentIntent", 2);
|
|
2397
|
-
|
|
2397
|
+
l([
|
|
2398
2398
|
m,
|
|
2399
2399
|
u({ type: Object, attribute: "payment-request" })
|
|
2400
2400
|
], g.prototype, "paymentRequest", 2);
|
|
2401
|
-
|
|
2401
|
+
l([
|
|
2402
2402
|
u({ type: Boolean, reflect: !0 })
|
|
2403
2403
|
], g.prototype, "pending", 2);
|
|
2404
|
-
|
|
2404
|
+
l([
|
|
2405
2405
|
u({ type: Boolean, attribute: "request-payer-email" })
|
|
2406
2406
|
], g.prototype, "requestPayerEmail", 2);
|
|
2407
|
-
|
|
2407
|
+
l([
|
|
2408
2408
|
u({ type: Boolean, attribute: "request-payer-name" })
|
|
2409
2409
|
], g.prototype, "requestPayerName", 2);
|
|
2410
|
-
|
|
2410
|
+
l([
|
|
2411
2411
|
u({ type: Boolean, attribute: "request-payer-phone" })
|
|
2412
2412
|
], g.prototype, "requestPayerPhone", 2);
|
|
2413
|
-
|
|
2413
|
+
l([
|
|
2414
2414
|
u({ type: Boolean, attribute: "request-shipping" })
|
|
2415
2415
|
], g.prototype, "requestShipping", 2);
|
|
2416
|
-
|
|
2416
|
+
l([
|
|
2417
2417
|
u({ type: Array })
|
|
2418
2418
|
], g.prototype, "shippingOptions", 1);
|
|
2419
|
-
|
|
2419
|
+
l([
|
|
2420
2420
|
u({ type: String, attribute: "button-type" })
|
|
2421
2421
|
], g.prototype, "buttonType", 2);
|
|
2422
|
-
|
|
2422
|
+
l([
|
|
2423
2423
|
u({ type: String, attribute: "button-theme" })
|
|
2424
2424
|
], g.prototype, "buttonTheme", 2);
|
|
2425
|
-
|
|
2426
|
-
|
|
2425
|
+
l([
|
|
2426
|
+
R
|
|
2427
2427
|
], g.prototype, "onCancel", 1);
|
|
2428
|
-
|
|
2429
|
-
|
|
2428
|
+
l([
|
|
2429
|
+
R
|
|
2430
2430
|
], g.prototype, "onPaymentResponse", 1);
|
|
2431
|
-
|
|
2432
|
-
|
|
2431
|
+
l([
|
|
2432
|
+
R
|
|
2433
2433
|
], g.prototype, "confirmPaymentIntent", 1);
|
|
2434
|
-
|
|
2435
|
-
|
|
2434
|
+
l([
|
|
2435
|
+
R
|
|
2436
2436
|
], g.prototype, "confirmCardPayment", 1);
|
|
2437
|
-
|
|
2438
|
-
|
|
2437
|
+
l([
|
|
2438
|
+
R
|
|
2439
2439
|
], g.prototype, "onShippingaddresschange", 1);
|
|
2440
|
-
|
|
2441
|
-
|
|
2440
|
+
l([
|
|
2441
|
+
R
|
|
2442
2442
|
], g.prototype, "onShippingoptionchange", 1);
|
|
2443
|
-
g =
|
|
2444
|
-
|
|
2443
|
+
g = l([
|
|
2444
|
+
Ut("stripe-payment-request")
|
|
2445
2445
|
], g);
|
|
2446
|
-
|
|
2446
|
+
function Se(n) {
|
|
2447
|
+
"@babel/helpers - typeof";
|
|
2448
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Se = function(e) {
|
|
2449
|
+
return typeof e;
|
|
2450
|
+
} : Se = function(e) {
|
|
2451
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
2452
|
+
}, Se(n);
|
|
2453
|
+
}
|
|
2454
|
+
var ln = "clover", as = function(e) {
|
|
2447
2455
|
return e === 3 ? "v3" : e;
|
|
2448
|
-
}, an = "https://js.stripe.com",
|
|
2449
|
-
var
|
|
2450
|
-
return
|
|
2451
|
-
},
|
|
2456
|
+
}, an = "https://js.stripe.com", cs = "".concat(an, "/").concat(ln, "/stripe.js"), ds = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, us = /^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/;
|
|
2457
|
+
var fs = function(e) {
|
|
2458
|
+
return ds.test(e) || us.test(e);
|
|
2459
|
+
}, ms = function() {
|
|
2452
2460
|
for (var e = document.querySelectorAll('script[src^="'.concat(an, '"]')), t = 0; t < e.length; t++) {
|
|
2453
2461
|
var o = e[t];
|
|
2454
|
-
if (
|
|
2462
|
+
if (fs(o.src))
|
|
2455
2463
|
return o;
|
|
2456
2464
|
}
|
|
2457
2465
|
return null;
|
|
2458
|
-
},
|
|
2466
|
+
}, Lt = function(e) {
|
|
2459
2467
|
var t = "", o = document.createElement("script");
|
|
2460
|
-
o.src = "".concat(
|
|
2468
|
+
o.src = "".concat(cs).concat(t);
|
|
2461
2469
|
var s = document.head || document.body;
|
|
2462
2470
|
if (!s)
|
|
2463
2471
|
throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");
|
|
2464
2472
|
return s.appendChild(o), o;
|
|
2465
|
-
},
|
|
2473
|
+
}, ps = function(e, t) {
|
|
2466
2474
|
!e || !e._registerWrapper || e._registerWrapper({
|
|
2467
2475
|
name: "stripe-js",
|
|
2468
|
-
version: "8.
|
|
2476
|
+
version: "8.7.0",
|
|
2469
2477
|
startTime: t
|
|
2470
2478
|
});
|
|
2471
|
-
}, ne = null, ue = null, fe = null,
|
|
2479
|
+
}, ne = null, ue = null, fe = null, hs = function(e) {
|
|
2472
2480
|
return function(t) {
|
|
2473
2481
|
e(new Error("Failed to load Stripe.js", {
|
|
2474
2482
|
cause: t
|
|
2475
2483
|
}));
|
|
2476
2484
|
};
|
|
2477
|
-
},
|
|
2485
|
+
}, ys = function(e, t) {
|
|
2478
2486
|
return function() {
|
|
2479
2487
|
window.Stripe ? e(window.Stripe) : t(new Error("Stripe.js not available"));
|
|
2480
2488
|
};
|
|
2481
|
-
},
|
|
2489
|
+
}, gs = function(e) {
|
|
2482
2490
|
return ne !== null ? ne : (ne = new Promise(function(t, o) {
|
|
2483
2491
|
if (typeof window > "u" || typeof document > "u") {
|
|
2484
2492
|
t(null);
|
|
@@ -2489,50 +2497,53 @@ var ds = function(e) {
|
|
|
2489
2497
|
return;
|
|
2490
2498
|
}
|
|
2491
2499
|
try {
|
|
2492
|
-
var s =
|
|
2500
|
+
var s = ms();
|
|
2493
2501
|
if (!(s && e)) {
|
|
2494
2502
|
if (!s)
|
|
2495
|
-
s =
|
|
2503
|
+
s = Lt(e);
|
|
2496
2504
|
else if (s && fe !== null && ue !== null) {
|
|
2497
|
-
var
|
|
2498
|
-
s.removeEventListener("load", fe), s.removeEventListener("error", ue), (
|
|
2505
|
+
var i;
|
|
2506
|
+
s.removeEventListener("load", fe), s.removeEventListener("error", ue), (i = s.parentNode) === null || i === void 0 || i.removeChild(s), s = Lt(e);
|
|
2499
2507
|
}
|
|
2500
2508
|
}
|
|
2501
|
-
fe =
|
|
2502
|
-
} catch (
|
|
2503
|
-
o(
|
|
2509
|
+
fe = ys(t, o), ue = hs(o), s.addEventListener("load", fe), s.addEventListener("error", ue);
|
|
2510
|
+
} catch (r) {
|
|
2511
|
+
o(r);
|
|
2504
2512
|
return;
|
|
2505
2513
|
}
|
|
2506
2514
|
}), ne.catch(function(t) {
|
|
2507
2515
|
return ne = null, Promise.reject(t);
|
|
2508
2516
|
}));
|
|
2509
|
-
},
|
|
2517
|
+
}, vs = function(e, t, o) {
|
|
2510
2518
|
if (e === null)
|
|
2511
2519
|
return null;
|
|
2512
|
-
var s = t[0]
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2520
|
+
var s = t[0];
|
|
2521
|
+
if (typeof s != "string")
|
|
2522
|
+
throw new Error("Expected publishable key to be of type string, got type ".concat(Se(s), " instead."));
|
|
2523
|
+
var i = s.match(/^pk_test/), r = as(e.version), c = ln;
|
|
2524
|
+
i && r !== c && console.warn("Stripe.js@".concat(r, " was loaded on the page, but @stripe/stripe-js@").concat("8.7.0", " expected Stripe.js@").concat(c, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
|
|
2525
|
+
var a = e.apply(void 0, t);
|
|
2526
|
+
return ps(a, o), a;
|
|
2527
|
+
}, oe, cn = !1, dn = function() {
|
|
2528
|
+
return oe || (oe = gs(null).catch(function(e) {
|
|
2518
2529
|
return oe = null, Promise.reject(e);
|
|
2519
2530
|
}), oe);
|
|
2520
2531
|
};
|
|
2521
2532
|
Promise.resolve().then(function() {
|
|
2522
|
-
return
|
|
2533
|
+
return dn();
|
|
2523
2534
|
}).catch(function(n) {
|
|
2524
|
-
|
|
2535
|
+
cn || console.warn(n);
|
|
2525
2536
|
});
|
|
2526
|
-
var
|
|
2537
|
+
var bs = function() {
|
|
2527
2538
|
for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
|
|
2528
2539
|
t[o] = arguments[o];
|
|
2529
|
-
|
|
2540
|
+
cn = !0;
|
|
2530
2541
|
var s = Date.now();
|
|
2531
|
-
return
|
|
2532
|
-
return
|
|
2542
|
+
return dn().then(function(i) {
|
|
2543
|
+
return vs(i, t, s);
|
|
2533
2544
|
});
|
|
2534
2545
|
};
|
|
2535
|
-
const
|
|
2546
|
+
const un = /* @__PURE__ */ _n({
|
|
2536
2547
|
__name: "CreditCardStripeForm",
|
|
2537
2548
|
props: {
|
|
2538
2549
|
amount: { type: Number, required: !0 },
|
|
@@ -2545,13 +2556,13 @@ const dn = /* @__PURE__ */ bn({
|
|
|
2545
2556
|
},
|
|
2546
2557
|
emits: ["change", "error", "payment:success"],
|
|
2547
2558
|
setup(n, { expose: e, emit: t }) {
|
|
2548
|
-
const o = n, s =
|
|
2559
|
+
const o = n, s = bt({
|
|
2549
2560
|
prop: me(() => o.loading)
|
|
2550
|
-
}),
|
|
2561
|
+
}), i = bt({
|
|
2551
2562
|
prop: me(() => o.disabled)
|
|
2552
|
-
}), { locale:
|
|
2553
|
-
function
|
|
2554
|
-
switch (
|
|
2563
|
+
}), { locale: r, t: c } = Sn(), a = H(null), f = H(!1), S = H(!1), v = H(null), h = H(null), y = t, { config: N } = Pn(), { eventBus: j } = wn();
|
|
2564
|
+
function z(A) {
|
|
2565
|
+
switch (A) {
|
|
2555
2566
|
case X.Production:
|
|
2556
2567
|
return "pk_live_x99EPirYIsCyUsRvPAfyhnRp";
|
|
2557
2568
|
case X.Sandbox:
|
|
@@ -2563,48 +2574,48 @@ const dn = /* @__PURE__ */ bn({
|
|
|
2563
2574
|
}
|
|
2564
2575
|
}
|
|
2565
2576
|
const Z = me(
|
|
2566
|
-
() =>
|
|
2577
|
+
() => z(N.value.apiEnvironment)
|
|
2567
2578
|
);
|
|
2568
|
-
function
|
|
2569
|
-
|
|
2579
|
+
function xe(A) {
|
|
2580
|
+
a.value = "", y("change", !!A.detail.complete);
|
|
2570
2581
|
}
|
|
2571
|
-
function W(
|
|
2572
|
-
|
|
2582
|
+
function W(A) {
|
|
2583
|
+
a.value = `${A?.error?.message} - ${c("CreditCardStripeForm.error")}`, y("error", a.value);
|
|
2573
2584
|
}
|
|
2574
|
-
async function
|
|
2585
|
+
async function Te(A) {
|
|
2575
2586
|
try {
|
|
2576
|
-
if (!window.Stripe ||
|
|
2587
|
+
if (!window.Stripe || i.value)
|
|
2577
2588
|
return;
|
|
2578
|
-
const
|
|
2579
|
-
locale:
|
|
2589
|
+
const $e = window.Stripe(Z.value, {
|
|
2590
|
+
locale: En(r.value)
|
|
2580
2591
|
});
|
|
2581
2592
|
f.value = !0;
|
|
2582
|
-
const
|
|
2593
|
+
const ft = await $e.confirmCardPayment(o.stripeToken, {
|
|
2583
2594
|
// eslint-disable-next-line camelcase
|
|
2584
|
-
payment_method:
|
|
2595
|
+
payment_method: A.detail.id
|
|
2585
2596
|
});
|
|
2586
|
-
|
|
2587
|
-
} catch (
|
|
2588
|
-
W(
|
|
2597
|
+
ft.error ? W(ft.error) : o.withAction ? j.$emit(pt.PaymentSuccess) : y(pt.PaymentSuccess);
|
|
2598
|
+
} catch ($e) {
|
|
2599
|
+
W($e);
|
|
2589
2600
|
}
|
|
2590
2601
|
}
|
|
2591
|
-
function
|
|
2602
|
+
function dt() {
|
|
2592
2603
|
try {
|
|
2593
2604
|
return !h.value || o.withTerms && !S.value ? null : h.value.submit();
|
|
2594
|
-
} catch (
|
|
2595
|
-
return W(
|
|
2605
|
+
} catch (A) {
|
|
2606
|
+
return W(A), null;
|
|
2596
2607
|
}
|
|
2597
2608
|
}
|
|
2598
|
-
|
|
2599
|
-
v.value = await
|
|
2609
|
+
Cn(async () => {
|
|
2610
|
+
v.value = await bs(Z.value);
|
|
2600
2611
|
}), e({
|
|
2601
|
-
pay:
|
|
2612
|
+
pay: dt
|
|
2602
2613
|
});
|
|
2603
|
-
const
|
|
2604
|
-
return Object.defineProperty(
|
|
2614
|
+
const ut = { props: o, loading: s, disabled: i, locale: r, t: c, error: a, isPaying: f, isTermsAccepted: S, stripe: v, payment: h, emit: y, config: N, eventBus: j, getStripePublishableKey: z, stripePublishableKey: Z, onCreditCardFormChange: xe, onPaymentError: W, onStripePaymentMethodCreated: Te, pay: dt, BFormattedAmount: zn };
|
|
2615
|
+
return Object.defineProperty(ut, "__isScriptSetup", { enumerable: !1, value: !0 }), ut;
|
|
2605
2616
|
}
|
|
2606
2617
|
});
|
|
2607
|
-
function
|
|
2618
|
+
function qt(n) {
|
|
2608
2619
|
const e = n;
|
|
2609
2620
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
|
2610
2621
|
locale: "",
|
|
@@ -2623,7 +2634,8 @@ function Lt(n) {
|
|
|
2623
2634
|
title: { type: 0, start: 0, end: 34, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 35, offset: 34 }, source: "Total to pay with your credit card" }, body: { type: 2, start: 0, end: 34, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 35, offset: 34 } }, items: [{ type: 3, start: 0, end: 34, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 35, offset: 34 } } }], static: "Total to pay with your credit card" } },
|
|
2624
2635
|
payNow: { type: 0, start: 0, end: 7, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 8, offset: 7 }, source: "Pay now" }, body: { type: 2, start: 0, end: 7, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 8, offset: 7 } }, items: [{ type: 3, start: 0, end: 7, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 8, offset: 7 } } }], static: "Pay now" } },
|
|
2625
2636
|
termsURL: { type: 0, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 }, source: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" }, body: { type: 2, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } }, items: [{ type: 3, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } } }], static: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
|
|
2626
|
-
termsAndConditions: { type: 0, start: 0, end:
|
|
2637
|
+
termsAndConditions: { type: 0, start: 0, end: 85, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 86, offset: 85 }, source: "By continuing with your reservation you agree to the terms and conditions: {linkText}" }, body: { type: 2, start: 0, end: 85, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 86, offset: 85 } }, items: [{ type: 3, start: 0, end: 75, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 76, offset: 75 } }, value: "By continuing with your reservation you agree to the terms and conditions: " }, { type: 4, start: 75, end: 85, loc: { start: { line: 1, column: 76, offset: 75 }, end: { line: 1, column: 86, offset: 85 } }, key: "linkText" }] } },
|
|
2638
|
+
termsAndConditionsLinkText: { type: 0, start: 0, end: 21, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 22, offset: 21 }, source: "Click here to read it" }, body: { type: 2, start: 0, end: 21, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 22, offset: 21 } }, items: [{ type: 3, start: 0, end: 21, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 22, offset: 21 } } }], static: "Click here to read it" } }
|
|
2627
2639
|
}
|
|
2628
2640
|
},
|
|
2629
2641
|
"fr-FR": {
|
|
@@ -2640,7 +2652,8 @@ function Lt(n) {
|
|
|
2640
2652
|
title: { type: 0, start: 0, end: 40, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 41, offset: 40 }, source: "Montant total à payer par carte bancaire" }, body: { type: 2, start: 0, end: 40, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 41, offset: 40 } }, items: [{ type: 3, start: 0, end: 40, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 41, offset: 40 } } }], static: "Montant total à payer par carte bancaire" } },
|
|
2641
2653
|
payNow: { type: 0, start: 0, end: 16, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 17, offset: 16 }, source: "Payer maintenant" }, body: { type: 2, start: 0, end: 16, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 17, offset: 16 } }, items: [{ type: 3, start: 0, end: 16, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 17, offset: 16 } } }], static: "Payer maintenant" } },
|
|
2642
2654
|
termsURL: { type: 0, start: 0, end: 59, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 60, offset: 59 }, source: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo_fr.pdf" }, body: { type: 2, start: 0, end: 59, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 60, offset: 59 } }, items: [{ type: 3, start: 0, end: 59, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 60, offset: 59 } } }], static: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo_fr.pdf" } },
|
|
2643
|
-
termsAndConditions: { type: 0, start: 0, end:
|
|
2655
|
+
termsAndConditions: { type: 0, start: 0, end: 84, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 85, offset: 84 }, source: "En poursuivant votre réservation, vous acceptez les conditions générales: {linkText}" }, body: { type: 2, start: 0, end: 84, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 85, offset: 84 } }, items: [{ type: 3, start: 0, end: 74, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 75, offset: 74 } }, value: "En poursuivant votre réservation, vous acceptez les conditions générales: " }, { type: 4, start: 74, end: 84, loc: { start: { line: 1, column: 75, offset: 74 }, end: { line: 1, column: 85, offset: 84 } }, key: "linkText" }] } },
|
|
2656
|
+
termsAndConditionsLinkText: { type: 0, start: 0, end: 30, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 31, offset: 30 }, source: "Cliquez ici pour les consulter" }, body: { type: 2, start: 0, end: 30, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 31, offset: 30 } }, items: [{ type: 3, start: 0, end: 30, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 31, offset: 30 } } }], static: "Cliquez ici pour les consulter" } }
|
|
2644
2657
|
}
|
|
2645
2658
|
},
|
|
2646
2659
|
"de-DE": {
|
|
@@ -2657,7 +2670,8 @@ function Lt(n) {
|
|
|
2657
2670
|
title: { type: 0, start: 0, end: 46, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 47, offset: 46 }, source: "Gesamtbetrag zur Zahlung mit Ihrer Kreditkarte" }, body: { type: 2, start: 0, end: 46, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 47, offset: 46 } }, items: [{ type: 3, start: 0, end: 46, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 47, offset: 46 } } }], static: "Gesamtbetrag zur Zahlung mit Ihrer Kreditkarte" } },
|
|
2658
2671
|
payNow: { type: 0, start: 0, end: 14, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 15, offset: 14 }, source: "Jetzt bezahlen" }, body: { type: 2, start: 0, end: 14, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 15, offset: 14 } }, items: [{ type: 3, start: 0, end: 14, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 15, offset: 14 } } }], static: "Jetzt bezahlen" } },
|
|
2659
2672
|
termsURL: { type: 0, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 }, source: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" }, body: { type: 2, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } }, items: [{ type: 3, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } } }], static: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
|
|
2660
|
-
termsAndConditions: { type: 0, start: 0, end:
|
|
2673
|
+
termsAndConditions: { type: 0, start: 0, end: 108, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 109, offset: 108 }, source: "Indem Sie mit Ihrer Reservierung fortfahren, stimmen Sie den Allgemeinen Geschäftsbedingungen zu: {linkText}" }, body: { type: 2, start: 0, end: 108, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 109, offset: 108 } }, items: [{ type: 3, start: 0, end: 98, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 99, offset: 98 } }, value: "Indem Sie mit Ihrer Reservierung fortfahren, stimmen Sie den Allgemeinen Geschäftsbedingungen zu: " }, { type: 4, start: 98, end: 108, loc: { start: { line: 1, column: 99, offset: 98 }, end: { line: 1, column: 109, offset: 108 } }, key: "linkText" }] } },
|
|
2674
|
+
termsAndConditionsLinkText: { type: 0, start: 0, end: 33, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 34, offset: 33 }, source: "Klicken Sie hier, um sie zu lesen" }, body: { type: 2, start: 0, end: 33, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 34, offset: 33 } }, items: [{ type: 3, start: 0, end: 33, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 34, offset: 33 } } }], static: "Klicken Sie hier, um sie zu lesen" } }
|
|
2661
2675
|
}
|
|
2662
2676
|
},
|
|
2663
2677
|
"es-ES": {
|
|
@@ -2674,7 +2688,8 @@ function Lt(n) {
|
|
|
2674
2688
|
title: { type: 0, start: 0, end: 39, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 40, offset: 39 }, source: "Total a pagar con su tarjeta de crédito" }, body: { type: 2, start: 0, end: 39, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 40, offset: 39 } }, items: [{ type: 3, start: 0, end: 39, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 40, offset: 39 } } }], static: "Total a pagar con su tarjeta de crédito" } },
|
|
2675
2689
|
payNow: { type: 0, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 }, source: "Pagar ahora" }, body: { type: 2, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 } }, items: [{ type: 3, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 } } }], static: "Pagar ahora" } },
|
|
2676
2690
|
termsURL: { type: 0, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 }, source: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" }, body: { type: 2, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } }, items: [{ type: 3, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } } }], static: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
|
|
2677
|
-
termsAndConditions: { type: 0, start: 0, end:
|
|
2691
|
+
termsAndConditions: { type: 0, start: 0, end: 74, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 75, offset: 74 }, source: "Al continuar con su reserva, acepta los términos y condiciones: {linkText}" }, body: { type: 2, start: 0, end: 74, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 75, offset: 74 } }, items: [{ type: 3, start: 0, end: 64, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 65, offset: 64 } }, value: "Al continuar con su reserva, acepta los términos y condiciones: " }, { type: 4, start: 64, end: 74, loc: { start: { line: 1, column: 65, offset: 64 }, end: { line: 1, column: 75, offset: 74 } }, key: "linkText" }] } },
|
|
2692
|
+
termsAndConditionsLinkText: { type: 0, start: 0, end: 27, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 28, offset: 27 }, source: "Haga clic aquí para leerlos" }, body: { type: 2, start: 0, end: 27, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 28, offset: 27 } }, items: [{ type: 3, start: 0, end: 27, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 28, offset: 27 } } }], static: "Haga clic aquí para leerlos" } }
|
|
2678
2693
|
}
|
|
2679
2694
|
},
|
|
2680
2695
|
"it-IT": {
|
|
@@ -2691,7 +2706,8 @@ function Lt(n) {
|
|
|
2691
2706
|
title: { type: 0, start: 0, end: 44, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 45, offset: 44 }, source: "Totale da pagare con la tua carta di credito" }, body: { type: 2, start: 0, end: 44, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 45, offset: 44 } }, items: [{ type: 3, start: 0, end: 44, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 45, offset: 44 } } }], static: "Totale da pagare con la tua carta di credito" } },
|
|
2692
2707
|
payNow: { type: 0, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 }, source: "Paga adesso" }, body: { type: 2, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 } }, items: [{ type: 3, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 } } }], static: "Paga adesso" } },
|
|
2693
2708
|
termsURL: { type: 0, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 }, source: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" }, body: { type: 2, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } }, items: [{ type: 3, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } } }], static: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
|
|
2694
|
-
termsAndConditions: { type: 0, start: 0, end:
|
|
2709
|
+
termsAndConditions: { type: 0, start: 0, end: 78, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 79, offset: 78 }, source: "Continuando con la prenotazione, accetti i termini e le condizioni: {linkText}" }, body: { type: 2, start: 0, end: 78, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 79, offset: 78 } }, items: [{ type: 3, start: 0, end: 68, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 69, offset: 68 } }, value: "Continuando con la prenotazione, accetti i termini e le condizioni: " }, { type: 4, start: 68, end: 78, loc: { start: { line: 1, column: 69, offset: 68 }, end: { line: 1, column: 79, offset: 78 } }, key: "linkText" }] } },
|
|
2710
|
+
termsAndConditionsLinkText: { type: 0, start: 0, end: 23, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 24, offset: 23 }, source: "Clicca qui per leggerli" }, body: { type: 2, start: 0, end: 23, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 24, offset: 23 } }, items: [{ type: 3, start: 0, end: 23, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 24, offset: 23 } } }], static: "Clicca qui per leggerli" } }
|
|
2695
2711
|
}
|
|
2696
2712
|
},
|
|
2697
2713
|
"nl-NL": {
|
|
@@ -2708,7 +2724,8 @@ function Lt(n) {
|
|
|
2708
2724
|
title: { type: 0, start: 0, end: 35, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 36, offset: 35 }, source: "Totaal te betalen met uw creditcard" }, body: { type: 2, start: 0, end: 35, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 36, offset: 35 } }, items: [{ type: 3, start: 0, end: 35, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 36, offset: 35 } } }], static: "Totaal te betalen met uw creditcard" } },
|
|
2709
2725
|
payNow: { type: 0, start: 0, end: 9, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 10, offset: 9 }, source: "Betaal nu" }, body: { type: 2, start: 0, end: 9, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 10, offset: 9 } }, items: [{ type: 3, start: 0, end: 9, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 10, offset: 9 } } }], static: "Betaal nu" } },
|
|
2710
2726
|
termsURL: { type: 0, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 }, source: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" }, body: { type: 2, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } }, items: [{ type: 3, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } } }], static: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
|
|
2711
|
-
termsAndConditions: { type: 0, start: 0, end:
|
|
2727
|
+
termsAndConditions: { type: 0, start: 0, end: 94, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 95, offset: 94 }, source: "Door verder te gaan met uw reservering, gaat u akkoord met de algemene voorwaarden: {linkText}" }, body: { type: 2, start: 0, end: 94, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 95, offset: 94 } }, items: [{ type: 3, start: 0, end: 84, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 85, offset: 84 } }, value: "Door verder te gaan met uw reservering, gaat u akkoord met de algemene voorwaarden: " }, { type: 4, start: 84, end: 94, loc: { start: { line: 1, column: 85, offset: 84 }, end: { line: 1, column: 95, offset: 94 } }, key: "linkText" }] } },
|
|
2728
|
+
termsAndConditionsLinkText: { type: 0, start: 0, end: 24, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 25, offset: 24 }, source: "Klik hier om ze te lezen" }, body: { type: 2, start: 0, end: 24, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 25, offset: 24 } }, items: [{ type: 3, start: 0, end: 24, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 25, offset: 24 } } }], static: "Klik hier om ze te lezen" } }
|
|
2712
2729
|
}
|
|
2713
2730
|
},
|
|
2714
2731
|
"pt-PT": {
|
|
@@ -2725,33 +2742,35 @@ function Lt(n) {
|
|
|
2725
2742
|
title: { type: 0, start: 0, end: 41, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 42, offset: 41 }, source: "Total a pagar com o seu cartão de crédito" }, body: { type: 2, start: 0, end: 41, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 42, offset: 41 } }, items: [{ type: 3, start: 0, end: 41, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 42, offset: 41 } } }], static: "Total a pagar com o seu cartão de crédito" } },
|
|
2726
2743
|
payNow: { type: 0, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 }, source: "Pagar agora" }, body: { type: 2, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 } }, items: [{ type: 3, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 } } }], static: "Pagar agora" } },
|
|
2727
2744
|
termsURL: { type: 0, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 }, source: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" }, body: { type: 2, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } }, items: [{ type: 3, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } } }], static: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
|
|
2728
|
-
termsAndConditions: { type: 0, start: 0, end:
|
|
2745
|
+
termsAndConditions: { type: 0, start: 0, end: 78, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 79, offset: 78 }, source: "Ao continuar com a sua reserva, concorda com os termos e condições: {linkText}" }, body: { type: 2, start: 0, end: 78, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 79, offset: 78 } }, items: [{ type: 3, start: 0, end: 68, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 69, offset: 68 } }, value: "Ao continuar com a sua reserva, concorda com os termos e condições: " }, { type: 4, start: 68, end: 78, loc: { start: { line: 1, column: 69, offset: 68 }, end: { line: 1, column: 79, offset: 78 } }, key: "linkText" }] } },
|
|
2746
|
+
termsAndConditionsLinkText: { type: 0, start: 0, end: 23, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 24, offset: 23 }, source: "Clique aqui para os ler" }, body: { type: 2, start: 0, end: 23, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 24, offset: 23 } }, items: [{ type: 3, start: 0, end: 23, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 24, offset: 23 } } }], static: "Clique aqui para os ler" } }
|
|
2729
2747
|
}
|
|
2730
2748
|
}
|
|
2731
2749
|
}
|
|
2732
2750
|
});
|
|
2733
2751
|
}
|
|
2734
|
-
const
|
|
2735
|
-
function
|
|
2736
|
-
|
|
2752
|
+
const _s = { class: "d-flex justify-space-between w-100 items-center" }, Ss = { class: "text-caption font-weight-bold text-red my-0 rounded text-center" }, ws = { class: "pr-3" }, Cs = ["disable", "locale", "publishable-key"], Ps = ["href"], Es = { class: "text-caption ml-1" }, xs = { class: "mr-1" };
|
|
2753
|
+
function Ts(n, e, t, o, s, i) {
|
|
2754
|
+
const r = xn("i18n-t");
|
|
2755
|
+
return P(), $(vt, {
|
|
2737
2756
|
disabled: o.disabled,
|
|
2738
2757
|
elevation: "0",
|
|
2739
2758
|
border: "",
|
|
2740
|
-
style:
|
|
2759
|
+
style: Tn({
|
|
2741
2760
|
borderColor: o.disabled ? "" : "rgb(var(--v-theme-primary))"
|
|
2742
2761
|
})
|
|
2743
2762
|
}, {
|
|
2744
2763
|
default: b(() => [
|
|
2745
|
-
_(
|
|
2764
|
+
_(Rn, {
|
|
2746
2765
|
class: "text-white",
|
|
2747
2766
|
color: "primary",
|
|
2748
2767
|
density: "compact",
|
|
2749
2768
|
elevation: "0"
|
|
2750
2769
|
}, {
|
|
2751
2770
|
default: b(() => [
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
_(
|
|
2771
|
+
k("div", _s, [
|
|
2772
|
+
k("h4", null, [
|
|
2773
|
+
_(Ne, {
|
|
2755
2774
|
color: "white",
|
|
2756
2775
|
start: "",
|
|
2757
2776
|
size: "small"
|
|
@@ -2761,22 +2780,22 @@ function Es(n, e, t, o, s, r) {
|
|
|
2761
2780
|
])]),
|
|
2762
2781
|
_: 1
|
|
2763
2782
|
}),
|
|
2764
|
-
ce(" " +
|
|
2765
|
-
o.loading ? (
|
|
2783
|
+
ce(" " + O(o.t("CreditCardStripeForm.title")) + ": ", 1),
|
|
2784
|
+
o.loading ? (P(), $(In, {
|
|
2766
2785
|
key: 0,
|
|
2767
2786
|
class: "ml-2",
|
|
2768
2787
|
color: "primary",
|
|
2769
2788
|
indeterminate: "",
|
|
2770
2789
|
size: "20",
|
|
2771
2790
|
width: "1"
|
|
2772
|
-
})) : (
|
|
2791
|
+
})) : (P(), $(o.BFormattedAmount, {
|
|
2773
2792
|
key: 1,
|
|
2774
2793
|
amount: t.amount,
|
|
2775
2794
|
class: "font-weight-bold",
|
|
2776
2795
|
currency: t.currency
|
|
2777
2796
|
}, null, 8, ["amount", "currency"]))
|
|
2778
2797
|
]),
|
|
2779
|
-
_(
|
|
2798
|
+
_(Ne, {
|
|
2780
2799
|
color: "white",
|
|
2781
2800
|
end: "",
|
|
2782
2801
|
size: "small"
|
|
@@ -2790,23 +2809,23 @@ function Es(n, e, t, o, s, r) {
|
|
|
2790
2809
|
]),
|
|
2791
2810
|
_: 1
|
|
2792
2811
|
}),
|
|
2793
|
-
_(
|
|
2812
|
+
_(Ln, null, {
|
|
2794
2813
|
default: b(() => [
|
|
2795
2814
|
_(Q, null, {
|
|
2796
2815
|
default: b(() => [
|
|
2797
2816
|
_(q, null, {
|
|
2798
2817
|
default: b(() => [
|
|
2799
|
-
o.error ? (
|
|
2818
|
+
o.error ? (P(), $(qn, {
|
|
2800
2819
|
key: 0,
|
|
2801
2820
|
color: "red",
|
|
2802
2821
|
density: "compact",
|
|
2803
2822
|
variant: "outlined"
|
|
2804
2823
|
}, {
|
|
2805
2824
|
default: b(() => [
|
|
2806
|
-
|
|
2825
|
+
k("p", Ss, O(o.t("CreditCardStripeForm.paymentDeclined")) + ": " + O(o.error), 1)
|
|
2807
2826
|
]),
|
|
2808
2827
|
_: 1
|
|
2809
|
-
})) :
|
|
2828
|
+
})) : ke("", !0)
|
|
2810
2829
|
]),
|
|
2811
2830
|
_: 1
|
|
2812
2831
|
})
|
|
@@ -2820,7 +2839,7 @@ function Es(n, e, t, o, s, r) {
|
|
|
2820
2839
|
default: b(() => [
|
|
2821
2840
|
_(q, { cols: "8" }, {
|
|
2822
2841
|
default: b(() => [
|
|
2823
|
-
|
|
2842
|
+
k("small", null, O(o.t("CreditCardStripeForm.cardNumber")), 1)
|
|
2824
2843
|
]),
|
|
2825
2844
|
_: 1
|
|
2826
2845
|
}),
|
|
@@ -2829,8 +2848,8 @@ function Es(n, e, t, o, s, r) {
|
|
|
2829
2848
|
cols: "4"
|
|
2830
2849
|
}, {
|
|
2831
2850
|
default: b(() => [
|
|
2832
|
-
|
|
2833
|
-
|
|
2851
|
+
k("small", ws, O(o.t("CreditCardStripeForm.expDate")), 1),
|
|
2852
|
+
k("small", null, O(o.t("CreditCardStripeForm.cvc")), 1)
|
|
2834
2853
|
]),
|
|
2835
2854
|
_: 1
|
|
2836
2855
|
})
|
|
@@ -2841,12 +2860,12 @@ function Es(n, e, t, o, s, r) {
|
|
|
2841
2860
|
default: b(() => [
|
|
2842
2861
|
_(q, null, {
|
|
2843
2862
|
default: b(() => [
|
|
2844
|
-
_(
|
|
2863
|
+
_(vt, {
|
|
2845
2864
|
elevation: "0",
|
|
2846
2865
|
border: ""
|
|
2847
2866
|
}, {
|
|
2848
2867
|
default: b(() => [
|
|
2849
|
-
o.stripe ? (
|
|
2868
|
+
o.stripe ? (P(), Re("stripe-elements", {
|
|
2850
2869
|
key: 0,
|
|
2851
2870
|
disable: o.loading,
|
|
2852
2871
|
ref: "payment",
|
|
@@ -2857,7 +2876,7 @@ function Es(n, e, t, o, s, r) {
|
|
|
2857
2876
|
onChange: o.onCreditCardFormChange,
|
|
2858
2877
|
onError: o.onPaymentError,
|
|
2859
2878
|
onPaymentMethod: o.onStripePaymentMethodCreated
|
|
2860
|
-
}, null, 40,
|
|
2879
|
+
}, null, 40, Cs)) : (P(), $(ee, {
|
|
2861
2880
|
key: 1,
|
|
2862
2881
|
class: "mx-auto",
|
|
2863
2882
|
height: "36.8px",
|
|
@@ -2873,33 +2892,45 @@ function Es(n, e, t, o, s, r) {
|
|
|
2873
2892
|
]),
|
|
2874
2893
|
_: 1
|
|
2875
2894
|
}),
|
|
2876
|
-
t.withTerms ? (
|
|
2895
|
+
t.withTerms ? (P(), $(Q, {
|
|
2877
2896
|
key: 0,
|
|
2878
2897
|
class: "mt-2"
|
|
2879
2898
|
}, {
|
|
2880
2899
|
default: b(() => [
|
|
2881
2900
|
_(q, null, {
|
|
2882
2901
|
default: b(() => [
|
|
2883
|
-
o.loading ? (
|
|
2902
|
+
o.loading ? (P(), $(ee, {
|
|
2884
2903
|
key: 0,
|
|
2885
2904
|
class: "mt-3",
|
|
2886
2905
|
height: "25px",
|
|
2887
2906
|
type: "image",
|
|
2888
2907
|
width: "50%"
|
|
2889
|
-
})) : (
|
|
2908
|
+
})) : (P(), $(jn, {
|
|
2890
2909
|
key: 1,
|
|
2891
2910
|
ref: "testing",
|
|
2892
2911
|
modelValue: o.isTermsAccepted,
|
|
2893
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
2912
|
+
"onUpdate:modelValue": e[1] || (e[1] = (c) => o.isTermsAccepted = c)
|
|
2894
2913
|
}, {
|
|
2895
2914
|
label: b(() => [
|
|
2896
|
-
|
|
2897
|
-
onClick: e[0] || (e[0] =
|
|
2898
|
-
}, ["stop"]))
|
|
2899
|
-
|
|
2900
|
-
|
|
2915
|
+
k("span", {
|
|
2916
|
+
onClick: e[0] || (e[0] = $n(() => {
|
|
2917
|
+
}, ["stop"]))
|
|
2918
|
+
}, [
|
|
2919
|
+
_(r, {
|
|
2920
|
+
keypath: "CreditCardStripeForm.termsAndConditions",
|
|
2921
|
+
tag: "span"
|
|
2922
|
+
}, {
|
|
2923
|
+
linkText: b(() => [
|
|
2924
|
+
k("b", null, [
|
|
2925
|
+
k("a", {
|
|
2926
|
+
href: o.t("CreditCardStripeForm.termsURL"),
|
|
2927
|
+
target: "_blank"
|
|
2928
|
+
}, O(o.t("CreditCardStripeForm.termsAndConditionsLinkText")), 9, Ps)
|
|
2929
|
+
])
|
|
2930
|
+
]),
|
|
2931
|
+
_: 1
|
|
2901
2932
|
})
|
|
2902
|
-
|
|
2933
|
+
])
|
|
2903
2934
|
]),
|
|
2904
2935
|
_: 1
|
|
2905
2936
|
}, 8, ["modelValue"]))
|
|
@@ -2908,12 +2939,12 @@ function Es(n, e, t, o, s, r) {
|
|
|
2908
2939
|
})
|
|
2909
2940
|
]),
|
|
2910
2941
|
_: 1
|
|
2911
|
-
})) :
|
|
2942
|
+
})) : ke("", !0),
|
|
2912
2943
|
_(Q, null, {
|
|
2913
2944
|
default: b(() => [
|
|
2914
2945
|
_(q, { class: "v-col-12 v-col-sm-8 v-col-md-9" }, {
|
|
2915
2946
|
default: b(() => [
|
|
2916
|
-
o.loading ? (
|
|
2947
|
+
o.loading ? (P(), Re(ht, { key: 0 }, [
|
|
2917
2948
|
_(ee, {
|
|
2918
2949
|
height: "10px",
|
|
2919
2950
|
type: "image",
|
|
@@ -2924,9 +2955,9 @@ function Es(n, e, t, o, s, r) {
|
|
|
2924
2955
|
type: "image",
|
|
2925
2956
|
width: "240px"
|
|
2926
2957
|
})
|
|
2927
|
-
], 64)) : (
|
|
2928
|
-
|
|
2929
|
-
_(
|
|
2958
|
+
], 64)) : (P(), Re(ht, { key: 1 }, [
|
|
2959
|
+
k("small", Es, O(o.t("CreditCardStripeForm.acceptedPaymentMethods")), 1),
|
|
2960
|
+
_(Un, {
|
|
2930
2961
|
class: "mb-n1",
|
|
2931
2962
|
height: "45",
|
|
2932
2963
|
src: "https://revolugo.s3.eu-west-3.amazonaws.com/payment-methods.png",
|
|
@@ -2936,18 +2967,18 @@ function Es(n, e, t, o, s, r) {
|
|
|
2936
2967
|
]),
|
|
2937
2968
|
_: 1
|
|
2938
2969
|
}),
|
|
2939
|
-
t.withAction ? (
|
|
2970
|
+
t.withAction ? (P(), $(q, {
|
|
2940
2971
|
key: 0,
|
|
2941
2972
|
class: "v-col-12 v-col-sm-4 v-col-md-3 align-self-end text-right"
|
|
2942
2973
|
}, {
|
|
2943
2974
|
default: b(() => [
|
|
2944
|
-
o.loading ? (
|
|
2975
|
+
o.loading ? (P(), $(ee, {
|
|
2945
2976
|
key: 0,
|
|
2946
2977
|
class: "align-self-end w-100",
|
|
2947
2978
|
height: "36px",
|
|
2948
2979
|
type: "image",
|
|
2949
2980
|
width: "170px"
|
|
2950
|
-
})) : (
|
|
2981
|
+
})) : (P(), $(Bn, {
|
|
2951
2982
|
key: 1,
|
|
2952
2983
|
"data-gtm-id": "credit-card-stripe-form-pay",
|
|
2953
2984
|
class: "w-sm-auto align-self-end w-100",
|
|
@@ -2958,13 +2989,13 @@ function Es(n, e, t, o, s, r) {
|
|
|
2958
2989
|
onClick: o.pay
|
|
2959
2990
|
}, {
|
|
2960
2991
|
default: b(() => [
|
|
2961
|
-
_(
|
|
2992
|
+
_(Ne, { start: "" }, {
|
|
2962
2993
|
default: b(() => [...e[4] || (e[4] = [
|
|
2963
2994
|
ce(" fas fa-lock ", -1)
|
|
2964
2995
|
])]),
|
|
2965
2996
|
_: 1
|
|
2966
2997
|
}),
|
|
2967
|
-
|
|
2998
|
+
k("span", xs, O(o.t("CreditCardStripeForm.payNow")), 1),
|
|
2968
2999
|
_(o.BFormattedAmount, {
|
|
2969
3000
|
amount: t.amount,
|
|
2970
3001
|
class: "font-weight-bold",
|
|
@@ -2975,7 +3006,7 @@ function Es(n, e, t, o, s, r) {
|
|
|
2975
3006
|
}, 8, ["loading", "disabled"]))
|
|
2976
3007
|
]),
|
|
2977
3008
|
_: 1
|
|
2978
|
-
})) :
|
|
3009
|
+
})) : ke("", !0)
|
|
2979
3010
|
]),
|
|
2980
3011
|
_: 1
|
|
2981
3012
|
})
|
|
@@ -2986,13 +3017,13 @@ function Es(n, e, t, o, s, r) {
|
|
|
2986
3017
|
_: 1
|
|
2987
3018
|
}, 8, ["disabled", "style"]);
|
|
2988
3019
|
}
|
|
2989
|
-
typeof
|
|
2990
|
-
const
|
|
2991
|
-
|
|
3020
|
+
typeof qt == "function" && qt(un);
|
|
3021
|
+
const Ns = /* @__PURE__ */ On(un, [["render", Ts], ["__scopeId", "data-v-0626a2c5"], ["__file", "/home/runner/work/revolugo/revolugo/libs/front/elements/core/src/components/RevolugoElements/CreditCardStripeForm/CreditCardStripeForm.vue"]]);
|
|
3022
|
+
fn("css/revolugo.creditcardstripeform.CuNCVfSx.css");
|
|
2992
3023
|
export {
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
3024
|
+
Ns as C,
|
|
3025
|
+
jn as V,
|
|
3026
|
+
Dn as p,
|
|
3027
|
+
bt as u
|
|
2997
3028
|
};
|
|
2998
|
-
//# sourceMappingURL=revolugo.creditcardstripeform.
|
|
3029
|
+
//# sourceMappingURL=revolugo.creditcardstripeform.DL_Usk8G.min.js.map
|