@revolugo/elements 6.15.8-alpha.4 → 6.15.8-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/{revolugo.banktransferdetails.nisOLtQ_.min.js → revolugo.banktransferdetails.DtR5dTEB.min.js} +6 -6
  2. package/dist/{revolugo.bookingdetailssidebar.Vx6r1YDq.min.js → revolugo.bookingdetailssidebar.B07mJAih.min.js} +6 -6
  3. package/dist/{revolugo.bookingmanager.CBkh_VVh.min.js → revolugo.bookingmanager.yEBPMG6S.min.js} +6 -6
  4. package/dist/{revolugo.cancellationpoliciesbadge.DKQ_ez8n.min.js → revolugo.cancellationpoliciesbadge.CNe4J04V.min.js} +6 -6
  5. package/dist/{revolugo.cancellationpoliciesbadge.props.DNlFcGm6.min.js → revolugo.cancellationpoliciesbadge.props.BMqJon3S.min.js} +7 -7
  6. package/dist/{revolugo.cancellationpolicieslist.CVOkdbez.min.js → revolugo.cancellationpolicieslist.A8RtE06m.min.js} +6 -6
  7. package/dist/{revolugo.creditcardstripeform.CrJgLF__.min.js → revolugo.creditcardstripeform.Cr4qsgQw.min.js} +354 -343
  8. package/dist/{revolugo.creditcardstripeform.BxFE1IDq.min.js → revolugo.creditcardstripeform.SfRoJusU.min.js} +4 -4
  9. package/dist/{revolugo.currencypickerbtn.zl7yTJ48.min.js → revolugo.currencypickerbtn.SDDAgaCq.min.js} +6 -6
  10. package/dist/{revolugo.dialog-attach.Bzfs22Yu.min.js → revolugo.dialog-attach.CO0c1jBO.min.js} +2 -2
  11. package/dist/{revolugo.fastbookingflow.BcZWs658.min.js → revolugo.fastbookingflow.DRPRnMSM.min.js} +6 -6
  12. package/dist/{revolugo.fullbookingflow.De5LJbLM.min.js → revolugo.fullbookingflow.CQQGL-wV.min.js} +6 -6
  13. package/dist/{revolugo.hoteldescriptionview.qw3KT49O.min.js → revolugo.hoteldescriptionview.9rBi9-8r.min.js} +6 -6
  14. package/dist/{revolugo.hotelofferlist.BPJoA3MY.min.js → revolugo.hotelofferlist.B-TIAIup.min.js} +6 -6
  15. package/dist/{revolugo.hoteloffersearchmenu.DPS8arq2.min.js → revolugo.hoteloffersearchmenu.BxksMRhf.min.js} +7 -7
  16. package/dist/{revolugo.hoteloffersmap.Btil3aWa.min.js → revolugo.hoteloffersmap.DcBcDjCt.min.js} +6 -6
  17. package/dist/{revolugo.hoteloffersview.BUjioYiY.min.js → revolugo.hoteloffersview.DfCGSTrN.min.js} +6 -6
  18. package/dist/{revolugo.hotelroomofferlist.DASR-DAv.min.js → revolugo.hotelroomofferlist.C6MXy9gX.min.js} +6 -6
  19. package/dist/{revolugo.hotelroomoffersbookingflow.GAdP607d.min.js → revolugo.hotelroomoffersbookingflow.DrqUUROx.min.js} +6 -6
  20. package/dist/{revolugo.hotelroomoffersearchmenu.BImGNs6J.min.js → revolugo.hotelroomoffersearchmenu.DZin-g6D.min.js} +6 -6
  21. package/dist/{revolugo.hotelroomoffersview.CreSI2I0.min.js → revolugo.hotelroomoffersview.CReFPA-6.min.js} +6 -6
  22. package/dist/{revolugo.index.DhKm4Isq.min.js → revolugo.index.CaLaxQen.min.js} +2 -2
  23. package/dist/{revolugo.index.wc.ul7M3bAo.min.js → revolugo.index.wc.f3Z6Bvo1.min.js} +27 -26
  24. package/dist/{revolugo.langpickerbtn.DzRnnn1K.min.js → revolugo.langpickerbtn.Ru2S9Wah.min.js} +6 -6
  25. package/dist/revolugo.min.js +1 -1
  26. package/dist/{revolugo.prebookform.wPHMxKlZ.min.js → revolugo.prebookform.DfAMRmaL.min.js} +6 -6
  27. package/dist/{revolugo.preferencesmenu.WGnFBlzl.min.js → revolugo.preferencesmenu.DdhreIQ9.min.js} +5 -5
  28. package/dist/{revolugo.preferencesmenu.D0VN4vr5.min.js → revolugo.preferencesmenu.Dt_X93ND.min.js} +4 -4
  29. package/dist/{revolugo.roominglisteditor.CowcW3LM.min.js → revolugo.roominglisteditor.DLkipPNt.min.js} +6 -6
  30. package/dist/{revolugo.storybooktoolbar.CGqQCkAU.min.js → revolugo.storybooktoolbar.DdrD3txy.min.js} +5 -5
  31. package/dist/{revolugo.termsandconditions.QAgD4WqA.min.js → revolugo.termsandconditions.2g-LPVtg.min.js} +6 -6
  32. package/dist/{revolugo.vtoolbar.zLPRwT_-.min.js → revolugo.vtoolbar.BYr9yE0K.min.js} +3 -3
  33. package/dist/{revolugo.webcomponentwrapper.CNwHKZ3t.min.js → revolugo.webcomponentwrapper.Bkobkd0-.min.js} +3 -3
  34. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
- import { aY as fn, h as H, H as mn, I as pn, J as hn, aZ as yn, b as me, Q as gn, ao as vn, a as _, m as ft, d as bn, u as _n, aD as Sn, aH as wn, v as Cn, a_ as X, a$ as Pn, E as mt, r as En, c as $, w as b, a7 as xn, o as P, y as k, l as ce, x as O, f as $e, i as ke, j as Tn, F as pt } from "./revolugo.index.wc.ul7M3bAo.min.js";
2
- import { d as $n, V as kn } from "./revolugo.vtoolbar.zLPRwT_-.min.js";
3
- import { aA as Rn, v as Nn, aF as An, bd as Mn, aB as ht, be as yt, o as Vn, _ as zn, a as gt, k as Re, J as On, b as In, d as Q, e as q, S as Ln, K as ee, ae as qn, j as Un } from "./revolugo.webcomponentwrapper.CNwHKZ3t.min.js";
4
- function un(n) {
1
+ import { aY as mn, h as H, H as pn, I as hn, J as yn, aZ as gn, b as me, Q as vn, ao as bn, a as _, m as mt, d as _n, u as Sn, aD as wn, aH as Cn, v 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.f3Z6Bvo1.min.js";
2
+ import { d as kn, V as Rn } from "./revolugo.vtoolbar.BYr9yE0K.min.js";
3
+ import { aA as Nn, v as An, aF as Mn, bd 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.Bkobkd0-.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 Bn(n, e, t) {
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 Bn(n, e, t) {
33
33
  }
34
34
  return o(n);
35
35
  }
36
- function vt({
36
+ function bt({
37
37
  cb: n,
38
38
  fallbackValue: e,
39
39
  prop: t
40
40
  }) {
41
- const o = Bn(fn(t.value), e, n), s = $n(structuredClone(o), e || {});
41
+ const o = Dn(mn(t.value), e, n), s = kn(structuredClone(o), e || {});
42
42
  return H(o && s);
43
43
  }
44
- const Dn = pn({
45
- ...An(),
46
- ...gn(Mn(), ["inline"])
47
- }, "VCheckbox"), Fn = mn()({
44
+ const Fn = hn({
45
+ ...Mn(),
46
+ ...vn(Vn(), ["inline"])
47
+ }, "VCheckbox"), jn = pn()({
48
48
  name: "VCheckbox",
49
49
  inheritAttrs: !1,
50
- props: Dn(),
50
+ props: Fn(),
51
51
  emits: {
52
52
  "update:modelValue": (n) => !0,
53
53
  "update:focused": (n) => !0
@@ -57,14 +57,14 @@ const Dn = pn({
57
57
  attrs: t,
58
58
  slots: o
59
59
  } = e;
60
- const s = hn(n, "modelValue"), {
60
+ const s = yn(n, "modelValue"), {
61
61
  isFocused: i,
62
62
  focus: r,
63
63
  blur: c
64
- } = Rn(n), a = yn(), f = me(() => n.id || `checkbox-${a}`);
65
- return Nn(() => {
66
- const [S, v] = vn(t), h = ht.filterProps(n), y = yt.filterProps(n);
67
- return _(ht, ft({
64
+ } = Nn(n), a = gn(), 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,
@@ -79,18 +79,18 @@ const Dn = pn({
79
79
  id: j,
80
80
  messagesId: z,
81
81
  isDisabled: Z,
82
- isReadonly: Ee,
82
+ isReadonly: xe,
83
83
  isValid: W
84
84
  } = N;
85
- return _(yt, ft(y, {
85
+ return _(gt, mt(y, {
86
86
  id: j.value,
87
87
  "aria-describedby": z.value,
88
88
  disabled: Z.value,
89
- readonly: Ee.value
89
+ readonly: xe.value
90
90
  }, v, {
91
91
  error: W.value === !1,
92
92
  modelValue: s.value,
93
- "onUpdate:modelValue": (xe) => s.value = xe,
93
+ "onUpdate:modelValue": (Te) => s.value = Te,
94
94
  onFocus: r,
95
95
  onBlur: c
96
96
  }), o);
@@ -99,7 +99,7 @@ const Dn = pn({
99
99
  }), {};
100
100
  }
101
101
  });
102
- const jn = (n, e) => (customElements.define(n, e), e), Wn = (n, e) => {
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,8 +109,8 @@ const jn = (n, e) => (customElements.define(n, e), e), Wn = (n, e) => {
109
109
  customElements.define(n, s);
110
110
  }
111
111
  };
112
- }, qt = (n) => (e) => typeof e == "function" ? jn(n, e) : Wn(n, e);
113
- const Hn = (n, e) => e.kind === "method" && e.descriptor && !("value" in e.descriptor) ? {
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);
@@ -137,31 +137,31 @@ const Hn = (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
- }, Kn = (n, e, t) => {
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 ? Kn(n, e, t) : Hn(n, e);
144
+ return (e, t) => t !== void 0 ? Gn(n, e, t) : Kn(n, e);
145
145
  }
146
- var Ne;
147
- const Gn = window;
148
- ((Ne = Gn.HTMLSlotElement) === null || Ne === void 0 ? void 0 : Ne.prototype.assignedElements) != null;
149
- var bt = !0;
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
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: bt,
154
+ configurable: _t,
155
155
  get() {
156
156
  const o = t.value.bind(this);
157
- return Object.defineProperty(this, e, { value: o, configurable: bt, writable: !0 }), o;
157
+ return Object.defineProperty(this, e, { value: o, configurable: _t, writable: !0 }), o;
158
158
  }
159
159
  };
160
160
  }
161
- const Jn = !1, pe = window, tt = pe.ShadowRoot && (pe.ShadyCSS === void 0 || pe.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, nt = /* @__PURE__ */ Symbol(), _t = /* @__PURE__ */ new WeakMap();
162
- class Ut {
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 !== nt)
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 (tt && e === void 0) {
173
+ if (nt && e === void 0) {
174
174
  const o = t !== void 0 && t.length === 1;
175
- o && (e = _t.get(t)), e === void 0 && ((this._styleSheet = e = new CSSStyleSheet()).replaceSync(this.cssText), o && _t.set(t, 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 Yn = (n) => {
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
- }, Zn = (n) => new Ut(typeof n == "string" ? n : String(n), void 0, nt), ot = (n, ...e) => {
190
- const t = n.length === 1 ? n[0] : e.reduce((o, s, i) => o + Yn(s) + n[i + 1], n[0]);
191
- return new Ut(t, n, nt);
192
- }, Xn = (n, e) => {
193
- tt ? n.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet) : e.forEach((t) => {
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
- }, Qn = (n) => {
197
+ }, eo = (n) => {
198
198
  let e = "";
199
199
  for (const t of n.cssRules)
200
200
  e += t.cssText;
201
- return Zn(e);
202
- }, St = tt || Jn ? (n) => n : (n) => n instanceof CSSStyleSheet ? Qn(n) : n;
203
- var Ae, Me, Ve, Bt;
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 Dt, L;
206
- const wt = M.trustedTypes, eo = wt ? wt.emptyScript : "", he = M.reactiveElementPolyfillSupportDevMode;
205
+ let Ft, L;
206
+ const Ct = M.trustedTypes, to = Ct ? Ct.emptyScript : "", he = M.reactiveElementPolyfillSupportDevMode;
207
207
  {
208
- const n = (Ae = M.litIssuedWarnings) !== null && Ae !== void 0 ? Ae : M.litIssuedWarnings = /* @__PURE__ */ new Set();
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!"), !((Me = M.ShadyDOM) === null || Me === void 0) && Me.inUse && he === void 0 && L("polyfill-support-missing", "Shadow DOM is being polyfilled via `ShadyDOM` but the `polyfill-support` module has not been loaded."), Dt = (e) => ({
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 ze = (n) => {
217
+ const Oe = (n) => {
218
218
  M.emitLitDebugLogEvents && M.dispatchEvent(new CustomEvent("lit-debug", {
219
219
  detail: n
220
220
  }));
221
- }, Ft = (n, e) => n, Ye = {
221
+ }, jt = (n, e) => n, Ze = {
222
222
  toAttribute(n, e) {
223
223
  switch (e) {
224
224
  case Boolean:
225
- n = n ? eo : null;
225
+ n = n ? to : null;
226
226
  break;
227
227
  case Object:
228
228
  case Array:
@@ -251,13 +251,13 @@ const ze = (n) => {
251
251
  }
252
252
  return t;
253
253
  }
254
- }, jt = (n, e) => e !== n && (e === e || n === n), Oe = {
254
+ }, Wt = (n, e) => e !== n && (e === e || n === n), Ie = {
255
255
  attribute: !0,
256
256
  type: String,
257
- converter: Ye,
257
+ converter: Ze,
258
258
  reflect: !1,
259
- hasChanged: jt
260
- }, Ze = "finalized";
259
+ hasChanged: Wt
260
+ }, Xe = "finalized";
261
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();
@@ -337,7 +337,7 @@ class V extends HTMLElement {
337
337
  * @nocollapse
338
338
  * @category properties
339
339
  */
340
- static createProperty(e, t = Oe) {
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
343
  const s = typeof e == "symbol" ? /* @__PURE__ */ Symbol() : `__${e}`, i = this.getPropertyDescriptor(e, s, t);
@@ -400,7 +400,7 @@ class V extends HTMLElement {
400
400
  * @category properties
401
401
  */
402
402
  static getPropertyOptions(e) {
403
- return this.elementProperties.get(e) || Oe;
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 V extends HTMLElement {
409
409
  * @nocollapse
410
410
  */
411
411
  static finalize() {
412
- if (this.hasOwnProperty(Ze))
412
+ if (this.hasOwnProperty(Xe))
413
413
  return !1;
414
- this[Ze] = !0;
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(Ft("properties"))) {
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 V 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(St(s));
453
- } else e !== void 0 && t.push(St(e));
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 V 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 Xn(t, this.constructor.elementStyles), t;
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,11 +569,11 @@ class V extends HTMLElement {
569
569
  attributeChangedCallback(e, t, o) {
570
570
  this._$attributeToProperty(e, o);
571
571
  }
572
- __propertyToAttribute(e, t, o = Oe) {
572
+ __propertyToAttribute(e, t, o = Ie) {
573
573
  var s;
574
574
  const i = this.constructor.__attributeNameForProperty(e, o);
575
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 : Ye).toAttribute(t, o.type);
576
+ const c = (((s = o.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? o.converter : Ze).toAttribute(t, o.type);
577
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
  }
@@ -582,7 +582,7 @@ class V extends HTMLElement {
582
582
  var o;
583
583
  const s = this.constructor, i = s.__attributeToPropertyMap.get(e);
584
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 : Ye;
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
586
  this.__reflectingProperty = i, this[i] = c.fromAttribute(
587
587
  t,
588
588
  r.type
@@ -606,7 +606,7 @@ class V 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 || jt)(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()), Dt(this.localName);
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,7 +662,7 @@ class V extends HTMLElement {
662
662
  var e, t;
663
663
  if (!this.isUpdatePending)
664
664
  return;
665
- if (ze?.({ kind: "update" }), !this.hasUpdated) {
665
+ if (Oe?.({ kind: "update" }), !this.hasUpdated) {
666
666
  const i = [];
667
667
  if ((e = this.constructor.__reactivePropertyKeys) === null || e === void 0 || e.forEach((r) => {
668
668
  var c;
@@ -817,8 +817,8 @@ class V extends HTMLElement {
817
817
  firstUpdated(e) {
818
818
  }
819
819
  }
820
- Bt = Ze;
821
- V[Bt] = !0;
820
+ Dt = Xe;
821
+ V[Dt] = !0;
822
822
  V.elementProperties = /* @__PURE__ */ new Map();
823
823
  V.elementStyles = [];
824
824
  V.shadowRootOptions = { mode: "open" };
@@ -826,7 +826,7 @@ he?.({ ReactiveElement: V });
826
826
  {
827
827
  V.enabledWarnings = ["change-in-update"];
828
828
  const n = function(e) {
829
- e.hasOwnProperty(Ft("enabledWarnings")) || (e.enabledWarnings = e.enabledWarnings.slice());
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);
@@ -836,38 +836,38 @@ he?.({ ReactiveElement: V });
836
836
  t >= 0 && this.enabledWarnings.splice(t, 1);
837
837
  };
838
838
  }
839
- ((Ve = M.reactiveElementVersions) !== null && Ve !== void 0 ? Ve : M.reactiveElementVersions = []).push("1.6.3");
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 Ie, Le, qe, Ue;
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 to = 0, Se;
848
- (Ie = E.litIssuedWarnings) !== null && Ie !== void 0 || (E.litIssuedWarnings = /* @__PURE__ */ new Set()), Se = (n, e) => {
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
- }, Se("dev-mode", "Lit is in dev mode. Not recommended for production!");
851
- const T = !((Le = E.ShadyDOM) === null || Le === void 0) && Le.inUse && ((qe = E.ShadyDOM) === null || qe === void 0 ? void 0 : qe.noPatch) === !0 ? E.ShadyDOM.wrap : (n) => n, K = E.trustedTypes, Ct = K ? K.createPolicy("lit-html", {
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, no = (n) => n, Ce = (n, e, t) => no, oo = (n) => {
854
- if (F !== Ce)
853
+ }) : void 0, oo = (n) => n, Pe = (n, e, t) => oo, so = (n) => {
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
- }, so = () => {
858
- F = Ce;
859
- }, Xe = (n, e, t) => F(n, e, t), Qe = "$lit$", I = `lit$${String(Math.random()).slice(9)}$`, Wt = "?" + I, io = `<${Wt}>`, D = document, ie = () => D.createComment(""), re = (n) => n === null || typeof n != "object" && typeof n != "function", Ht = Array.isArray, ro = (n) => Ht(n) || // eslint-disable-next-line @typescript-eslint/no-explicit-any
860
- typeof n?.[Symbol.iterator] == "function", Be = `[
861
- \f\r]`, lo = `[^
862
- \f\r"'\`<>=]`, ao = `[^\\s"'>=/]`, te = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Pt = 1, De = 2, co = 3, Et = /-->/g, xt = />/g, U = new RegExp(`>|${Be}(?:(${ao}+)(${Be}*=${Be}*(?:${lo}|("|')|))|$)`, "g"), uo = 0, Tt = 1, fo = 2, $t = 3, Fe = /'/g, je = /"/g, Kt = /^(?:script|style|textarea|title)$/i, mo = 1, et = 2, st = 1, we = 2, po = 3, ho = 4, yo = 5, it = 6, go = 7, vo = (n) => (e, ...t) => (e.some((o) => o === void 0) && console.warn(`Some template strings are undefined.
857
+ }, io = () => {
858
+ F = Pe;
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
- }), bo = vo(mo), G = /* @__PURE__ */ Symbol.for("lit-noChange"), w = /* @__PURE__ */ Symbol.for("lit-nothing"), kt = /* @__PURE__ */ new WeakMap(), B = D.createTreeWalker(D, 129, null, !1);
869
- let F = Ce;
870
- function Gt(n, e) {
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
+ let F = Pe;
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 = `
@@ -883,38 +883,38 @@ function Gt(n, e) {
883
883
  `.trim().replace(/\n */g, `
884
884
  `), new Error(t);
885
885
  }
886
- return Ct !== void 0 ? Ct.createHTML(e) : e;
886
+ return Pt !== void 0 ? Pt.createHTML(e) : e;
887
887
  }
888
- const _o = (n, e) => {
888
+ const So = (n, e) => {
889
889
  const t = n.length - 1, o = [];
890
- let s = e === et ? "<svg>" : "", i, r = te;
890
+ let s = e === tt ? "<svg>" : "", i, r = te;
891
891
  for (let a = 0; a < t; a++) {
892
892
  const f = n[a];
893
893
  let S = -1, v, h = 0, y;
894
894
  for (; h < f.length && (r.lastIndex = h, y = r.exec(f), y !== null); )
895
895
  if (h = r.lastIndex, r === te) {
896
- if (y[Pt] === "!--")
897
- r = Et;
898
- else if (y[Pt] !== void 0)
896
+ if (y[Et] === "!--")
899
897
  r = xt;
900
- else if (y[De] !== void 0)
901
- Kt.test(y[De]) && (i = new RegExp(`</${y[De]}`, "g")), r = U;
902
- else if (y[co] !== void 0)
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 r === U ? y[uo] === ">" ? (r = i ?? te, S = -1) : y[Tt] === void 0 ? S = -2 : (S = r.lastIndex - y[fo].length, v = y[Tt], r = y[$t] === void 0 ? U : y[$t] === '"' ? je : Fe) : r === je || r === Fe ? r = U : r === Et || r === xt ? r = te : (r = U, i = void 0);
905
- console.assert(S === -1 || r === U || r === Fe || r === je, "unexpected parse state B");
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
906
  const N = r === U && n[a + 1].startsWith("/>") ? " " : "";
907
- s += r === te ? f + io : S >= 0 ? (o.push(v), f.slice(0, S) + Qe + f.slice(S) + I + N) : f + I + (S === -2 ? (o.push(void 0), a) : N);
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 === et ? "</svg>" : "");
910
- return [Gt(n, c), o];
909
+ const c = s + (n[t] || "<?>") + (e === tt ? "</svg>" : "");
910
+ return [Jt(n, c), o];
911
911
  };
912
912
  class le {
913
913
  constructor({ strings: e, ["_$litType$"]: t }, o) {
914
914
  this.parts = [];
915
915
  let s, i = 0, r = 0;
916
- const c = e.length - 1, a = this.parts, [f, S] = _o(e, t);
917
- if (this.el = le.createElement(f, o), B.currentNode = this.el.content, t === et) {
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
  }
@@ -926,48 +926,48 @@ class le {
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
- Se("", h);
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(Qe) || h.startsWith(I)) {
935
+ if (h.endsWith(et) || h.startsWith(I)) {
936
936
  const y = S[r++];
937
937
  if (v.push(h), y !== void 0) {
938
- const j = s.getAttribute(y.toLowerCase() + Qe).split(I), z = /([.?@])?(.*)/.exec(y);
938
+ const j = s.getAttribute(y.toLowerCase() + et).split(I), z = /([.?@])?(.*)/.exec(y);
939
939
  a.push({
940
- type: st,
940
+ type: it,
941
941
  index: i,
942
942
  name: z[2],
943
943
  strings: j,
944
- ctor: z[1] === "." ? wo : z[1] === "?" ? Po : z[1] === "@" ? Eo : Pe
944
+ ctor: z[1] === "." ? Co : z[1] === "?" ? Eo : z[1] === "@" ? xo : Ee
945
945
  });
946
946
  } else
947
947
  a.push({
948
- type: it,
948
+ type: rt,
949
949
  index: i
950
950
  });
951
951
  }
952
952
  for (const h of v)
953
953
  s.removeAttribute(h);
954
954
  }
955
- if (Kt.test(s.tagName)) {
955
+ if (Gt.test(s.tagName)) {
956
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], ie()), B.nextNode(), a.push({ type: we, index: ++i });
960
+ s.append(v[y], ie()), B.nextNode(), a.push({ type: Ce, index: ++i });
961
961
  s.append(v[h], ie());
962
962
  }
963
963
  }
964
964
  } else if (s.nodeType === 8)
965
- if (s.data === Wt)
966
- a.push({ type: we, index: i });
965
+ if (s.data === Ht)
966
+ a.push({ type: Ce, index: i });
967
967
  else {
968
968
  let h = -1;
969
969
  for (; (h = s.data.indexOf(I, h + 1)) !== -1; )
970
- a.push({ type: go, index: i }), h += I.length - 1;
970
+ a.push({ type: vo, index: i }), h += I.length - 1;
971
971
  }
972
972
  i++;
973
973
  }
@@ -997,7 +997,7 @@ function J(n, e, t = n, o) {
997
997
  );
998
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 So {
1000
+ class wo {
1001
1001
  constructor(e, t) {
1002
1002
  this._$parts = [], this._$disconnectableChildren = void 0, this._$template = e, this._$parent = t;
1003
1003
  }
@@ -1019,7 +1019,7 @@ class So {
1019
1019
  for (; f !== void 0; ) {
1020
1020
  if (c === f.index) {
1021
1021
  let S;
1022
- f.type === we ? S = new ae(r, r.nextSibling, this, e) : f.type === st ? S = new f.ctor(r, f.name, f.strings, this, e) : f.type === it && (S = new xo(r, this, e)), this._$parts.push(S), f = s[++a];
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
1024
  c !== f?.index && (r = B.nextNode(), c++);
1025
1025
  }
@@ -1041,7 +1041,7 @@ class So {
1041
1041
  class ae {
1042
1042
  constructor(e, t, o, s) {
1043
1043
  var i;
1044
- this.type = we, 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;
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() {
@@ -1105,7 +1105,7 @@ class ae {
1105
1105
  return;
1106
1106
  }
1107
1107
  this._commitNode(e);
1108
- } else ro(e) ? this._commitIterable(e) : this._commitText(e);
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);
@@ -1113,7 +1113,7 @@ class ae {
1113
1113
  _commitNode(e) {
1114
1114
  var t;
1115
1115
  if (this._$committedValue !== e) {
1116
- if (this._$clear(), F !== Ce) {
1116
+ if (this._$clear(), F !== Pe) {
1117
1117
  const o = (t = this._$startNode.parentNode) === null || t === void 0 ? void 0 : t.nodeName;
1118
1118
  if (o === "STYLE" || o === "SCRIPT") {
1119
1119
  let s = "Forbidden";
@@ -1132,7 +1132,7 @@ class ae {
1132
1132
  _commitText(e) {
1133
1133
  if (this._$committedValue !== w && re(this._$committedValue)) {
1134
1134
  const t = T(this._$startNode).nextSibling;
1135
- this._textSanitizer === void 0 && (this._textSanitizer = Xe(t, "data", "property")), e = this._textSanitizer(e), d?.({
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 ae {
1140
1140
  }), t.data = e;
1141
1141
  } else {
1142
1142
  const t = D.createTextNode("");
1143
- this._commitNode(t), this._textSanitizer === void 0 && (this._textSanitizer = Xe(t, "data", "property")), e = this._textSanitizer(e), d?.({
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,7 +1151,7 @@ class ae {
1151
1151
  }
1152
1152
  _commitTemplateResult(e) {
1153
1153
  var t;
1154
- const { values: o, ["_$litType$"]: s } = e, i = typeof s == "number" ? this._$getTemplate(e) : (s.el === void 0 && (s.el = le.createElement(Gt(s.h, s.h[0]), this.options)), s);
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
1155
  if (((t = this._$committedValue) === null || t === void 0 ? void 0 : t._$template) === i)
1156
1156
  d?.({
1157
1157
  kind: "template updating",
@@ -1162,7 +1162,7 @@ class ae {
1162
1162
  values: o
1163
1163
  }), this._$committedValue._update(o);
1164
1164
  else {
1165
- const r = new So(i, this), c = r._clone(this.options);
1165
+ const r = new wo(i, this), c = r._clone(this.options);
1166
1166
  d?.({
1167
1167
  kind: "template instantiated",
1168
1168
  template: i,
@@ -1185,11 +1185,11 @@ class ae {
1185
1185
  // Overridden via `litHtmlPolyfillSupport` to provide platform support.
1186
1186
  /** @internal */
1187
1187
  _$getTemplate(e) {
1188
- let t = kt.get(e.strings);
1189
- return t === void 0 && kt.set(e.strings, t = new le(e)), t;
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
- Ht(this._$committedValue) || (this._$committedValue = [], this._$clear());
1192
+ Kt(this._$committedValue) || (this._$committedValue = [], this._$clear());
1193
1193
  const t = this._$committedValue;
1194
1194
  let o = 0, s;
1195
1195
  for (const i of e)
@@ -1229,9 +1229,9 @@ class ae {
1229
1229
  throw new Error("part.setConnected() may only be called on a RootPart returned from render().");
1230
1230
  }
1231
1231
  }
1232
- class Pe {
1232
+ class Ee {
1233
1233
  constructor(e, t, o, s, i) {
1234
- this.type = st, 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;
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;
@@ -1287,9 +1287,9 @@ class Pe {
1287
1287
  }), T(this.element).setAttribute(this.name, e ?? ""));
1288
1288
  }
1289
1289
  }
1290
- class wo extends Pe {
1290
+ class Co extends Ee {
1291
1291
  constructor() {
1292
- super(...arguments), this.type = po;
1292
+ super(...arguments), this.type = ho;
1293
1293
  }
1294
1294
  /** @internal */
1295
1295
  _commitValue(e) {
@@ -1302,10 +1302,10 @@ class wo extends Pe {
1302
1302
  }), this.element[this.name] = e === w ? void 0 : e;
1303
1303
  }
1304
1304
  }
1305
- const Co = K ? K.emptyScript : "";
1306
- class Po extends Pe {
1305
+ const Po = K ? K.emptyScript : "";
1306
+ class Eo extends Ee {
1307
1307
  constructor() {
1308
- super(...arguments), this.type = ho;
1308
+ super(...arguments), this.type = yo;
1309
1309
  }
1310
1310
  /** @internal */
1311
1311
  _commitValue(e) {
@@ -1315,12 +1315,12 @@ class Po extends Pe {
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, Co) : T(this.element).removeAttribute(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 Eo extends Pe {
1321
+ class xo extends Ee {
1322
1322
  constructor(e, t, o, s, i) {
1323
- if (super(e, t, o, s, i), this.type = yo, this.strings !== void 0)
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
@@ -1347,9 +1347,9 @@ class Eo extends Pe {
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 xo {
1350
+ class To {
1351
1351
  constructor(e, t, o) {
1352
- this.element = e, this.type = it, this._$disconnectableChildren = void 0, this._$parent = t, this.options = o;
1352
+ this.element = e, this.type = rt, this._$disconnectableChildren = void 0, this._$parent = t, this.options = o;
1353
1353
  }
1354
1354
  // See comment in Disconnectable interface for why this is a getter
1355
1355
  get _$isConnected() {
@@ -1364,15 +1364,15 @@ class xo {
1364
1364
  }), J(this, e);
1365
1365
  }
1366
1366
  }
1367
- const We = E.litHtmlPolyfillSupportDevMode;
1368
- We?.(le, ae);
1369
- ((Ue = E.litHtmlVersions) !== null && Ue !== void 0 ? Ue : E.litHtmlVersions = []).push("2.8.0");
1370
- E.litHtmlVersions.length > 1 && Se("multiple-versions", "Multiple versions of Lit loaded. Loading multiple versions is not recommended.");
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 i = to++, r = (o = t?.renderBefore) !== null && o !== void 0 ? o : e;
1375
+ const i = no++, r = (o = t?.renderBefore) !== null && o !== void 0 ? o : e;
1376
1376
  let c = r._$litPart$;
1377
1377
  if (d?.({
1378
1378
  kind: "begin render",
@@ -1394,12 +1394,12 @@ const ye = (n, e, t) => {
1394
1394
  part: c
1395
1395
  }), c;
1396
1396
  };
1397
- ye.setSanitizer = oo, ye.createSanitizer = Xe, ye._testOnlyClearSanitizerFactoryDoNotCallOrElse = so;
1398
- var He, Ke, Ge;
1399
- let rt;
1397
+ ye.setSanitizer = so, ye.createSanitizer = Qe, ye._testOnlyClearSanitizerFactoryDoNotCallOrElse = io;
1398
+ var Ke, Ge, Je;
1399
+ let lt;
1400
1400
  {
1401
- const n = (He = globalThis.litIssuedWarnings) !== null && He !== void 0 ? He : globalThis.litIssuedWarnings = /* @__PURE__ */ new Set();
1402
- rt = (e, t) => {
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
  }
@@ -1486,31 +1486,31 @@ class Y extends V {
1486
1486
  }
1487
1487
  Y.finalized = !0;
1488
1488
  Y._$litElement$ = !0;
1489
- (Ke = globalThis.litElementHydrateSupport) === null || Ke === void 0 || Ke.call(globalThis, { LitElement: Y });
1490
- const Je = globalThis.litElementPolyfillSupportDevMode;
1491
- Je?.({ LitElement: Y });
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
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
1497
  const i = (typeof t == "function" ? t : t.constructor).name;
1498
- rt(s ? "renamed-api" : "removed-api", `\`${o}\` is implemented on class ${i}. It has been ${s ? "renamed" : "removed"} in this version of LitElement.`);
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
- ((Ge = globalThis.litElementVersions) !== null && Ge !== void 0 ? Ge : globalThis.litElementVersions = []).push("3.3.3");
1504
- globalThis.litElementVersions.length > 1 && rt("multiple-versions", "Multiple versions of Lit loaded. Loading multiple versions is not recommended.");
1505
- const To = (n) => n ?? w, $o = /[A-ZÀ-ÖÙ-Ý]+/g, ko = /[a-zà-öù-ý]+/g;
1506
- function Ro(n) {
1507
- const e = n.replace($o, t).match(ko);
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 No() {
1513
+ function Ao() {
1514
1514
  const n = {};
1515
1515
  return {
1516
1516
  has: (e) => Object.hasOwnProperty.call(n, e),
@@ -1520,21 +1520,21 @@ function No() {
1520
1520
  }
1521
1521
  };
1522
1522
  }
1523
- function Ao(n, e) {
1524
- const t = No();
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 Mo = (n) => n, Jt = Ao(Mo, Ro), Vo = (n) => (e) => n.includes(e), zo = Vo(["paymentMethod", "source", "token"]);
1531
- async function Oo(n) {
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 Io(n) {
1537
+ function Lo(n) {
1538
1538
  return "addInitializer" in n.constructor;
1539
1539
  }
1540
1540
  var se = class {
@@ -1550,14 +1550,14 @@ var se = class {
1550
1550
  }
1551
1551
  set(n, e) {
1552
1552
  const t = this.values.get(n);
1553
- this.values.set(n, e), Io(this.host) ? this.host.requestUpdate(n, t) : this.host.requestUpdate();
1553
+ this.values.set(n, e), Lo(this.host) ? this.host.requestUpdate(n, t) : this.host.requestUpdate();
1554
1554
  }
1555
- }, lt = se;
1556
- lt.instances = /* @__PURE__ */ new Map();
1555
+ }, at = se;
1556
+ at.instances = /* @__PURE__ */ new Map();
1557
1557
  function m(n, e) {
1558
1558
  const t = n.constructor;
1559
1559
  t.addInitializer((o) => {
1560
- const s = lt.for(o);
1560
+ const s = at.for(o);
1561
1561
  Object.defineProperty(o.constructor.prototype, e, {
1562
1562
  enumerable: !0,
1563
1563
  configurable: !0,
@@ -1574,11 +1574,11 @@ function m(n, e) {
1574
1574
  });
1575
1575
  }
1576
1576
  m.set = function(n, e) {
1577
- const t = lt.for(n);
1577
+ const t = at.for(n);
1578
1578
  for (const [o, s] of Object.entries(e))
1579
1579
  t.set(o, s);
1580
1580
  };
1581
- var Lo = class extends Event {
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 Lo = 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 Lo(n, e, t, s));
1594
+ this.cache.set(n, t), this.host.dispatchEvent(new qo(n, e, t, s));
1595
1595
  }
1596
1596
  }
1597
- }, Yt = ge;
1598
- Yt.instances = /* @__PURE__ */ new Map();
1597
+ }, Zt = ge;
1598
+ Zt.instances = /* @__PURE__ */ new Map();
1599
1599
  function x(n, e) {
1600
1600
  n.constructor.addInitializer((t) => {
1601
- new Yt(t).cache.set(e, t[e]);
1601
+ new Zt(t).cache.set(e, t[e]);
1602
1602
  });
1603
1603
  }
1604
- function qo(n) {
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 at = qo(function(n) {
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 at = qo(function(n) {
1615
1615
  return n.call(this, ...t).then(this.handleResponse);
1616
1616
  };
1617
1617
  });
1618
- function Rt(n) {
1618
+ function Nt(n) {
1619
1619
  if (n.error)
1620
1620
  throw n.error;
1621
1621
  return n;
1622
1622
  }
1623
- var Uo = Object.defineProperty, Bo = Object.getOwnPropertyDescriptor, l = (n, e, t, o) => {
1624
- for (var s = o > 1 ? void 0 : o ? Bo(e, t) : e, i = n.length - 1, r; i >= 0; i--)
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
1625
  (r = n[i]) && (s = (o ? r(e, t, s) : r(s)) || s);
1626
- return o && s && Uo(e, t, s), s;
1627
- }, Zt = (n, e, t) => {
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
- }, Nt = (n, e, t) => (Zt(n, e, "read from private field"), t ? t.call(n) : e.get(n)), At = (n, e, t) => {
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
- }, Mt = (n, e, t, o) => (Zt(n, e, "write to private field"), e.set(n, t), t);
1635
- function Vt() {
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 Do = class {
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-${Vt()}`;
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 Do = class {
1649
1649
  this.destroyMountPoints();
1650
1650
  }
1651
1651
  resetMountId() {
1652
- return `${this.options?.mountPrefix ?? this.host.localName}-mount-point-${Vt()}`;
1652
+ return `${this.options?.mountPrefix ?? this.host.localName}-mount-point-${zt()}`;
1653
1653
  }
1654
1654
  createMountPoint() {
1655
1655
  const n = document.createElement("div");
@@ -1695,39 +1695,39 @@ 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 Xt = "https://js.stripe.com/v3", Fo = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, zt = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used", jo = function() {
1699
- for (var e = document.querySelectorAll('script[src^="'.concat(Xt, '"]')), t = 0; t < e.length; t++) {
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 (Fo.test(o.src))
1701
+ if (jo.test(o.src))
1702
1702
  return o;
1703
1703
  }
1704
1704
  return null;
1705
- }, Wo = function(e) {
1705
+ }, Ho = function(e) {
1706
1706
  var t = e && !e.advancedFraudSignals ? "?advancedFraudSignals=false" : "", o = document.createElement("script");
1707
- o.src = "".concat(Xt).concat(t);
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
- }, Ho = function(e, t) {
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, Ko = function(e) {
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(zt), window.Stripe) {
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 = jo();
1730
- s && e ? console.warn(zt) : s || (s = Wo(e)), s.addEventListener("load", function() {
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"));
@@ -1737,12 +1737,12 @@ var Xt = "https://js.stripe.com/v3", Fo = /^https:\/\/js\.stripe\.com\/v3\/?(\?.
1737
1737
  return;
1738
1738
  }
1739
1739
  })), de;
1740
- }, Go = function(e, t, o) {
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 Ho(s, o), s;
1745
- }, Jo = function(e) {
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
- }, Qt, en = !1, tn = function() {
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
- en = !0;
1762
+ tn = !0;
1763
1763
  var s = Date.now();
1764
- return Ko(Qt).then(function(i) {
1765
- return Go(i, t, s);
1764
+ return Go(en).then(function(i) {
1765
+ return Jo(i, t, s);
1766
1766
  });
1767
1767
  };
1768
- tn.setLoadParameters = function(n) {
1769
- if (en)
1768
+ nn.setLoadParameters = function(n) {
1769
+ if (tn)
1770
1770
  throw new Error("You cannot change load parameters after calling loadStripe");
1771
- Qt = Jo(n);
1771
+ en = Yo(n);
1772
1772
  };
1773
- var nn = class extends Error {
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 on(n) {
1779
- return !!n && n instanceof nn;
1778
+ function sn(n) {
1779
+ return !!n && n instanceof on;
1780
1780
  }
1781
- var Yo = {
1782
- toAttribute: (n) => n ? on(n) ? n.originalMessage : n.message || "" : null
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 Do(this, {
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 Yo = {
1793
1793
  return this.breadcrumb.mount;
1794
1794
  }
1795
1795
  render() {
1796
- const { error: n, showError: e } = this, { slotName: t } = this.breadcrumb, o = on(n) ? n.originalMessage : n?.message;
1797
- return bo`
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 Yo = {
1803
1803
  for="stripe"
1804
1804
  part="error"
1805
1805
  ?hidden="${!e}">
1806
- ${To(o)}
1806
+ ${$o(o)}
1807
1807
  </output>
1808
1808
  `;
1809
1809
  }
@@ -1823,7 +1823,7 @@ var Yo = {
1823
1823
  this.element?.focus();
1824
1824
  }
1825
1825
  createError(n) {
1826
- return new nn(this.constructor.is, n);
1826
+ return new on(this.constructor.is, n);
1827
1827
  }
1828
1828
  errorChanged() {
1829
1829
  this.resetRepresentations(), this.fireError(this.error);
@@ -1858,7 +1858,7 @@ var Yo = {
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 tn(n, o), i = s?.elements();
1861
+ const o = { stripeAccount: e, locale: t }, s = window.Stripe ? window.Stripe(n, o) : await nn(n, o), i = s?.elements();
1862
1862
  m.set(this, { elements: i, error: null, stripe: s });
1863
1863
  } catch (o) {
1864
1864
  console.warn(o);
@@ -1887,13 +1887,13 @@ var Yo = {
1887
1887
  }
1888
1888
  async postRepresentation() {
1889
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(Oo).then(e).catch(n);
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 (!zo(n))
1893
+ if (!Oo(n))
1894
1894
  return;
1895
1895
  const e = this[n];
1896
- e && (this.fire(`${Jt(n)}`, e), this.action && this.postRepresentation());
1896
+ e && (this.fire(`${Yt(n)}`, e), this.action && this.postRepresentation());
1897
1897
  }
1898
1898
  resetRepresentations() {
1899
1899
  m.set(this, {
@@ -1951,7 +1951,7 @@ l([
1951
1951
  l([
1952
1952
  m,
1953
1953
  x,
1954
- u({ type: Object, reflect: !0, converter: Yo })
1954
+ u({ type: Object, reflect: !0, converter: Zo })
1955
1955
  ], p.prototype, "error", 2);
1956
1956
  l([
1957
1957
  m,
@@ -2003,7 +2003,7 @@ l([
2003
2003
  l([
2004
2004
  R
2005
2005
  ], p.prototype, "onReady", 1);
2006
- var Zo = ot`[hidden] {
2006
+ var Xo = st`[hidden] {
2007
2007
  display: none !important;
2008
2008
  }
2009
2009
 
@@ -2018,7 +2018,7 @@ var Zo = ot`[hidden] {
2018
2018
  padding-left: 42px;
2019
2019
  padding-bottom: 10px;
2020
2020
  }
2021
- `, sn = Zo, Xo = ot`:host {
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 Zo = ot`[hidden] {
2041
2041
  :host([error]) #stripe {
2042
2042
  border-color: #fa755a;
2043
2043
  }
2044
- `, Qo = Xo, Ot = [
2044
+ `, es = Qo, It = [
2045
2045
  "color",
2046
2046
  "fontFamily",
2047
2047
  "fontSize",
@@ -2054,7 +2054,7 @@ var Zo = ot`[hidden] {
2054
2054
  "textDecoration",
2055
2055
  "textShadow",
2056
2056
  "textTransform"
2057
- ], es = [
2057
+ ], ts = [
2058
2058
  ":hover",
2059
2059
  ":focus",
2060
2060
  "::placeholder",
@@ -2119,19 +2119,19 @@ var Zo = ot`[hidden] {
2119
2119
  const c = r.split(":").pop();
2120
2120
  return {
2121
2121
  ...i,
2122
- [r]: Ot.reduce(o(`${s}-${c}`), {})
2122
+ [r]: It.reduce(o(`${s}-${c}`), {})
2123
2123
  };
2124
2124
  }, o = (s) => (i, r) => {
2125
- const c = `--stripe-elements-${s}-${Jt(r)}`;
2125
+ const c = `--stripe-elements-${s}-${Yt(r)}`;
2126
2126
  return {
2127
2127
  ...i,
2128
2128
  [r]: n(c),
2129
- ...es.reduce(t(s), {})
2129
+ ...ts.reduce(t(s), {})
2130
2130
  };
2131
2131
  };
2132
2132
  return e.reduce((s, i) => ({
2133
2133
  ...s,
2134
- [i]: Ot.reduce(o(i), {})
2134
+ [i]: It.reduce(o(i), {})
2135
2135
  }), {});
2136
2136
  }
2137
2137
  async initElement() {
@@ -2159,8 +2159,8 @@ var Zo = ot`[hidden] {
2159
2159
  C.is = "stripe-elements";
2160
2160
  C.elementType = "card";
2161
2161
  C.styles = [
2162
- sn,
2163
- Qo
2162
+ rn,
2163
+ es
2164
2164
  ];
2165
2165
  l([
2166
2166
  u({ type: Boolean, attribute: "hide-icon" })
@@ -2195,69 +2195,69 @@ l([
2195
2195
  u({ type: Boolean, reflect: !0 })
2196
2196
  ], C.prototype, "invalid", 2);
2197
2197
  l([
2198
- at
2198
+ ct
2199
2199
  ], C.prototype, "createPaymentMethod", 1);
2200
2200
  l([
2201
- at
2201
+ ct
2202
2202
  ], C.prototype, "createSource", 1);
2203
2203
  l([
2204
- at
2204
+ ct
2205
2205
  ], C.prototype, "createToken", 1);
2206
2206
  l([
2207
2207
  R
2208
2208
  ], C.prototype, "onChange", 1);
2209
2209
  C = l([
2210
- qt("stripe-elements")
2210
+ Ut("stripe-elements")
2211
2211
  ], C);
2212
- var ts = ot`#stripe {
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
- `, ns = ts;
2219
- function os(n) {
2218
+ `, os = ns;
2219
+ function ss(n) {
2220
2220
  return n.tagName.toLowerCase() === "stripe-display-item";
2221
2221
  }
2222
- function ss({ dataset: { amount: n, label: e, pending: t } }) {
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 is({ dataset: { amount: n, detail: e, ...t } }) {
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 rs(n) {
2237
- return os(n) ? ss(n) : is(n);
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() {
2241
- super(...arguments), this.canMakePayment = null, At(this, be, void 0), this.paymentIntent = null, this.paymentRequest = null, this.pending = !1, At(this, _e, void 0), this.buttonType = "default", this.buttonTheme = "dark", this.complete = async (n, e) => {
2241
+ super(...arguments), this.canMakePayment = null, Mt(this, be, void 0), this.paymentIntent = null, this.paymentRequest = null, this.pending = !1, Mt(this, _e, void 0), this.buttonType = "default", this.buttonTheme = "dark", this.complete = async (n, e) => {
2242
2242
  const { error: t = null } = { ...n }, o = t || e ? "fail" : "success";
2243
2243
  return n.complete(o), this.fire(o, n), e ? { error: e } : n;
2244
2244
  };
2245
2245
  }
2246
2246
  get displayItems() {
2247
- const n = Nt(this, be);
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
- Mt(this, be, n), this.requestUpdate("displayItems", e);
2252
+ Vt(this, be, n), this.requestUpdate("displayItems", e);
2253
2253
  }
2254
2254
  get shippingOptions() {
2255
- const n = Nt(this, _e);
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
- Mt(this, _e, n), this.requestUpdate("shippingOptions", e);
2260
+ Vt(this, _e, n), this.requestUpdate("shippingOptions", e);
2261
2261
  }
2262
2262
  reset() {
2263
2263
  super.reset(), m.set(this, { paymentIntent: null });
@@ -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: i }) => this.complete(n, i)).then(Rt).then(() => this.confirmCardPayment()).then(Rt).catch((i) => ({ error: i })), { error: o = null } = t, s = t.paymentIntent ?? null;
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,15 +2359,15 @@ 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(rs) : [];
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
- sn,
2370
- ns
2369
+ rn,
2370
+ os
2371
2371
  ];
2372
2372
  l([
2373
2373
  u({ type: Number, reflect: !0 })
@@ -2441,44 +2441,52 @@ l([
2441
2441
  R
2442
2442
  ], g.prototype, "onShippingoptionchange", 1);
2443
2443
  g = l([
2444
- qt("stripe-payment-request")
2444
+ Ut("stripe-payment-request")
2445
2445
  ], g);
2446
- var rn = "clover", ls = function(e) {
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
- }, ln = "https://js.stripe.com", as = "".concat(ln, "/").concat(rn, "/stripe.js"), cs = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, ds = /^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/;
2449
- var us = function(e) {
2450
- return cs.test(e) || ds.test(e);
2451
- }, fs = function() {
2452
- for (var e = document.querySelectorAll('script[src^="'.concat(ln, '"]')), t = 0; t < e.length; t++) {
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() {
2460
+ for (var e = document.querySelectorAll('script[src^="'.concat(an, '"]')), t = 0; t < e.length; t++) {
2453
2461
  var o = e[t];
2454
- if (us(o.src))
2462
+ if (fs(o.src))
2455
2463
  return o;
2456
2464
  }
2457
2465
  return null;
2458
- }, It = function(e) {
2466
+ }, Lt = function(e) {
2459
2467
  var t = "", o = document.createElement("script");
2460
- o.src = "".concat(as).concat(t);
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
- }, ms = function(e, t) {
2473
+ }, ps = function(e, t) {
2466
2474
  !e || !e._registerWrapper || e._registerWrapper({
2467
2475
  name: "stripe-js",
2468
- version: "8.6.1",
2476
+ version: "8.6.4",
2469
2477
  startTime: t
2470
2478
  });
2471
- }, ne = null, ue = null, fe = null, ps = function(e) {
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
- }, hs = function(e, t) {
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
- }, ys = function(e) {
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,16 +2497,16 @@ var us = function(e) {
2489
2497
  return;
2490
2498
  }
2491
2499
  try {
2492
- var s = fs();
2500
+ var s = ms();
2493
2501
  if (!(s && e)) {
2494
2502
  if (!s)
2495
- s = It(e);
2503
+ s = Lt(e);
2496
2504
  else if (s && fe !== null && ue !== null) {
2497
2505
  var i;
2498
- s.removeEventListener("load", fe), s.removeEventListener("error", ue), (i = s.parentNode) === null || i === void 0 || i.removeChild(s), s = It(e);
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 = hs(t, o), ue = ps(o), s.addEventListener("load", fe), s.addEventListener("error", ue);
2509
+ fe = ys(t, o), ue = hs(o), s.addEventListener("load", fe), s.addEventListener("error", ue);
2502
2510
  } catch (r) {
2503
2511
  o(r);
2504
2512
  return;
@@ -2506,33 +2514,36 @@ var us = function(e) {
2506
2514
  }), ne.catch(function(t) {
2507
2515
  return ne = null, Promise.reject(t);
2508
2516
  }));
2509
- }, gs = function(e, t, o) {
2517
+ }, vs = function(e, t, o) {
2510
2518
  if (e === null)
2511
2519
  return null;
2512
- var s = t[0], i = s.match(/^pk_test/), r = ls(e.version), c = rn;
2513
- i && r !== c && console.warn("Stripe.js@".concat(r, " was loaded on the page, but @stripe/stripe-js@").concat("8.6.1", " expected Stripe.js@").concat(c, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
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.6.4", " expected Stripe.js@").concat(c, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
2514
2525
  var a = e.apply(void 0, t);
2515
- return ms(a, o), a;
2516
- }, oe, an = !1, cn = function() {
2517
- return oe || (oe = ys(null).catch(function(e) {
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 cn();
2533
+ return dn();
2523
2534
  }).catch(function(n) {
2524
- an || console.warn(n);
2535
+ cn || console.warn(n);
2525
2536
  });
2526
- var vs = function() {
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
- an = !0;
2540
+ cn = !0;
2530
2541
  var s = Date.now();
2531
- return cn().then(function(i) {
2532
- return gs(i, t, s);
2542
+ return dn().then(function(i) {
2543
+ return vs(i, t, s);
2533
2544
  });
2534
2545
  };
2535
- const dn = /* @__PURE__ */ bn({
2546
+ const un = /* @__PURE__ */ _n({
2536
2547
  __name: "CreditCardStripeForm",
2537
2548
  props: {
2538
2549
  amount: { type: Number, required: !0 },
@@ -2545,11 +2556,11 @@ 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 = vt({
2559
+ const o = n, s = bt({
2549
2560
  prop: me(() => o.loading)
2550
- }), i = vt({
2561
+ }), i = bt({
2551
2562
  prop: me(() => o.disabled)
2552
- }), { locale: r, t: c } = _n(), a = H(null), f = H(!1), S = H(!1), v = H(null), h = H(null), y = t, { config: N } = Sn(), { eventBus: j } = wn();
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 } = wn(), { eventBus: j } = Cn();
2553
2564
  function z(A) {
2554
2565
  switch (A) {
2555
2566
  case X.Production:
@@ -2565,46 +2576,46 @@ const dn = /* @__PURE__ */ bn({
2565
2576
  const Z = me(
2566
2577
  () => z(N.value.apiEnvironment)
2567
2578
  );
2568
- function Ee(A) {
2579
+ function xe(A) {
2569
2580
  a.value = "", y("change", !!A.detail.complete);
2570
2581
  }
2571
2582
  function W(A) {
2572
2583
  a.value = `${A?.error?.message} - ${c("CreditCardStripeForm.error")}`, y("error", a.value);
2573
2584
  }
2574
- async function xe(A) {
2585
+ async function Te(A) {
2575
2586
  try {
2576
2587
  if (!window.Stripe || i.value)
2577
2588
  return;
2578
- const Te = window.Stripe(Z.value, {
2579
- locale: Pn(r.value)
2589
+ const $e = window.Stripe(Z.value, {
2590
+ locale: En(r.value)
2580
2591
  });
2581
2592
  f.value = !0;
2582
- const ut = await Te.confirmCardPayment(o.stripeToken, {
2593
+ const ft = await $e.confirmCardPayment(o.stripeToken, {
2583
2594
  // eslint-disable-next-line camelcase
2584
2595
  payment_method: A.detail.id
2585
2596
  });
2586
- ut.error ? W(ut.error) : o.withAction ? j.$emit(mt.PaymentSuccess) : y(mt.PaymentSuccess);
2587
- } catch (Te) {
2588
- W(Te);
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 ct() {
2602
+ function dt() {
2592
2603
  try {
2593
2604
  return !h.value || o.withTerms && !S.value ? null : h.value.submit();
2594
2605
  } catch (A) {
2595
2606
  return W(A), null;
2596
2607
  }
2597
2608
  }
2598
- Cn(async () => {
2599
- v.value = await vs(Z.value);
2609
+ Pn(async () => {
2610
+ v.value = await bs(Z.value);
2600
2611
  }), e({
2601
- pay: ct
2612
+ pay: dt
2602
2613
  });
2603
- const dt = { 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: Ee, onPaymentError: W, onStripePaymentMethodCreated: xe, pay: ct, BFormattedAmount: Vn };
2604
- return Object.defineProperty(dt, "__isScriptSetup", { enumerable: !1, value: !0 }), dt;
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 Lt(n) {
2618
+ function qt(n) {
2608
2619
  const e = n;
2609
2620
  e.__i18n = e.__i18n || [], e.__i18n.push({
2610
2621
  locale: "",
@@ -2738,28 +2749,28 @@ function Lt(n) {
2738
2749
  }
2739
2750
  });
2740
2751
  }
2741
- const bs = { class: "d-flex justify-space-between w-100 items-center" }, _s = { class: "text-caption font-weight-bold text-red my-0 rounded text-center" }, Ss = { class: "pr-3" }, ws = ["disable", "locale", "publishable-key"], Cs = ["href"], Ps = { class: "text-caption ml-1" }, Es = { class: "mr-1" };
2742
- function xs(n, e, t, o, s, i) {
2743
- const r = En("i18n-t");
2744
- return P(), $(gt, {
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, {
2745
2756
  disabled: o.disabled,
2746
2757
  elevation: "0",
2747
2758
  border: "",
2748
- style: xn({
2759
+ style: Tn({
2749
2760
  borderColor: o.disabled ? "" : "rgb(var(--v-theme-primary))"
2750
2761
  })
2751
2762
  }, {
2752
2763
  default: b(() => [
2753
- _(kn, {
2764
+ _(Rn, {
2754
2765
  class: "text-white",
2755
2766
  color: "primary",
2756
2767
  density: "compact",
2757
2768
  elevation: "0"
2758
2769
  }, {
2759
2770
  default: b(() => [
2760
- k("div", bs, [
2771
+ k("div", _s, [
2761
2772
  k("h4", null, [
2762
- _(Re, {
2773
+ _(Ne, {
2763
2774
  color: "white",
2764
2775
  start: "",
2765
2776
  size: "small"
@@ -2770,7 +2781,7 @@ function xs(n, e, t, o, s, i) {
2770
2781
  _: 1
2771
2782
  }),
2772
2783
  ce(" " + O(o.t("CreditCardStripeForm.title")) + ": ", 1),
2773
- o.loading ? (P(), $(On, {
2784
+ o.loading ? (P(), $(In, {
2774
2785
  key: 0,
2775
2786
  class: "ml-2",
2776
2787
  color: "primary",
@@ -2784,7 +2795,7 @@ function xs(n, e, t, o, s, i) {
2784
2795
  currency: t.currency
2785
2796
  }, null, 8, ["amount", "currency"]))
2786
2797
  ]),
2787
- _(Re, {
2798
+ _(Ne, {
2788
2799
  color: "white",
2789
2800
  end: "",
2790
2801
  size: "small"
@@ -2798,23 +2809,23 @@ function xs(n, e, t, o, s, i) {
2798
2809
  ]),
2799
2810
  _: 1
2800
2811
  }),
2801
- _(In, null, {
2812
+ _(Ln, null, {
2802
2813
  default: b(() => [
2803
2814
  _(Q, null, {
2804
2815
  default: b(() => [
2805
2816
  _(q, null, {
2806
2817
  default: b(() => [
2807
- o.error ? (P(), $(Ln, {
2818
+ o.error ? (P(), $(qn, {
2808
2819
  key: 0,
2809
2820
  color: "red",
2810
2821
  density: "compact",
2811
2822
  variant: "outlined"
2812
2823
  }, {
2813
2824
  default: b(() => [
2814
- k("p", _s, O(o.t("CreditCardStripeForm.paymentDeclined")) + ": " + O(o.error), 1)
2825
+ k("p", Ss, O(o.t("CreditCardStripeForm.paymentDeclined")) + ": " + O(o.error), 1)
2815
2826
  ]),
2816
2827
  _: 1
2817
- })) : $e("", !0)
2828
+ })) : ke("", !0)
2818
2829
  ]),
2819
2830
  _: 1
2820
2831
  })
@@ -2837,7 +2848,7 @@ function xs(n, e, t, o, s, i) {
2837
2848
  cols: "4"
2838
2849
  }, {
2839
2850
  default: b(() => [
2840
- k("small", Ss, O(o.t("CreditCardStripeForm.expDate")), 1),
2851
+ k("small", ws, O(o.t("CreditCardStripeForm.expDate")), 1),
2841
2852
  k("small", null, O(o.t("CreditCardStripeForm.cvc")), 1)
2842
2853
  ]),
2843
2854
  _: 1
@@ -2849,12 +2860,12 @@ function xs(n, e, t, o, s, i) {
2849
2860
  default: b(() => [
2850
2861
  _(q, null, {
2851
2862
  default: b(() => [
2852
- _(gt, {
2863
+ _(vt, {
2853
2864
  elevation: "0",
2854
2865
  border: ""
2855
2866
  }, {
2856
2867
  default: b(() => [
2857
- o.stripe ? (P(), ke("stripe-elements", {
2868
+ o.stripe ? (P(), Re("stripe-elements", {
2858
2869
  key: 0,
2859
2870
  disable: o.loading,
2860
2871
  ref: "payment",
@@ -2865,7 +2876,7 @@ function xs(n, e, t, o, s, i) {
2865
2876
  onChange: o.onCreditCardFormChange,
2866
2877
  onError: o.onPaymentError,
2867
2878
  onPaymentMethod: o.onStripePaymentMethodCreated
2868
- }, null, 40, ws)) : (P(), $(ee, {
2879
+ }, null, 40, Cs)) : (P(), $(ee, {
2869
2880
  key: 1,
2870
2881
  class: "mx-auto",
2871
2882
  height: "36.8px",
@@ -2894,7 +2905,7 @@ function xs(n, e, t, o, s, i) {
2894
2905
  height: "25px",
2895
2906
  type: "image",
2896
2907
  width: "50%"
2897
- })) : (P(), $(Fn, {
2908
+ })) : (P(), $(jn, {
2898
2909
  key: 1,
2899
2910
  ref: "testing",
2900
2911
  modelValue: o.isTermsAccepted,
@@ -2902,7 +2913,7 @@ function xs(n, e, t, o, s, i) {
2902
2913
  }, {
2903
2914
  label: b(() => [
2904
2915
  k("span", {
2905
- onClick: e[0] || (e[0] = Tn(() => {
2916
+ onClick: e[0] || (e[0] = $n(() => {
2906
2917
  }, ["stop"]))
2907
2918
  }, [
2908
2919
  _(r, {
@@ -2914,7 +2925,7 @@ function xs(n, e, t, o, s, i) {
2914
2925
  k("a", {
2915
2926
  href: o.t("CreditCardStripeForm.termsURL"),
2916
2927
  target: "_blank"
2917
- }, O(o.t("CreditCardStripeForm.termsAndConditionsLinkText")), 9, Cs)
2928
+ }, O(o.t("CreditCardStripeForm.termsAndConditionsLinkText")), 9, Ps)
2918
2929
  ])
2919
2930
  ]),
2920
2931
  _: 1
@@ -2928,12 +2939,12 @@ function xs(n, e, t, o, s, i) {
2928
2939
  })
2929
2940
  ]),
2930
2941
  _: 1
2931
- })) : $e("", !0),
2942
+ })) : ke("", !0),
2932
2943
  _(Q, null, {
2933
2944
  default: b(() => [
2934
2945
  _(q, { class: "v-col-12 v-col-sm-8 v-col-md-9" }, {
2935
2946
  default: b(() => [
2936
- o.loading ? (P(), ke(pt, { key: 0 }, [
2947
+ o.loading ? (P(), Re(ht, { key: 0 }, [
2937
2948
  _(ee, {
2938
2949
  height: "10px",
2939
2950
  type: "image",
@@ -2944,9 +2955,9 @@ function xs(n, e, t, o, s, i) {
2944
2955
  type: "image",
2945
2956
  width: "240px"
2946
2957
  })
2947
- ], 64)) : (P(), ke(pt, { key: 1 }, [
2948
- k("small", Ps, O(o.t("CreditCardStripeForm.acceptedPaymentMethods")), 1),
2949
- _(qn, {
2958
+ ], 64)) : (P(), Re(ht, { key: 1 }, [
2959
+ k("small", Es, O(o.t("CreditCardStripeForm.acceptedPaymentMethods")), 1),
2960
+ _(Un, {
2950
2961
  class: "mb-n1",
2951
2962
  height: "45",
2952
2963
  src: "https://revolugo.s3.eu-west-3.amazonaws.com/payment-methods.png",
@@ -2967,7 +2978,7 @@ function xs(n, e, t, o, s, i) {
2967
2978
  height: "36px",
2968
2979
  type: "image",
2969
2980
  width: "170px"
2970
- })) : (P(), $(Un, {
2981
+ })) : (P(), $(Bn, {
2971
2982
  key: 1,
2972
2983
  "data-gtm-id": "credit-card-stripe-form-pay",
2973
2984
  class: "w-sm-auto align-self-end w-100",
@@ -2978,13 +2989,13 @@ function xs(n, e, t, o, s, i) {
2978
2989
  onClick: o.pay
2979
2990
  }, {
2980
2991
  default: b(() => [
2981
- _(Re, { start: "" }, {
2992
+ _(Ne, { start: "" }, {
2982
2993
  default: b(() => [...e[4] || (e[4] = [
2983
2994
  ce(" fas fa-lock ", -1)
2984
2995
  ])]),
2985
2996
  _: 1
2986
2997
  }),
2987
- k("span", Es, O(o.t("CreditCardStripeForm.payNow")), 1),
2998
+ k("span", xs, O(o.t("CreditCardStripeForm.payNow")), 1),
2988
2999
  _(o.BFormattedAmount, {
2989
3000
  amount: t.amount,
2990
3001
  class: "font-weight-bold",
@@ -2995,7 +3006,7 @@ function xs(n, e, t, o, s, i) {
2995
3006
  }, 8, ["loading", "disabled"]))
2996
3007
  ]),
2997
3008
  _: 1
2998
- })) : $e("", !0)
3009
+ })) : ke("", !0)
2999
3010
  ]),
3000
3011
  _: 1
3001
3012
  })
@@ -3006,13 +3017,13 @@ function xs(n, e, t, o, s, i) {
3006
3017
  _: 1
3007
3018
  }, 8, ["disabled", "style"]);
3008
3019
  }
3009
- typeof Lt == "function" && Lt(dn);
3010
- const Rs = /* @__PURE__ */ zn(dn, [["render", xs], ["__scopeId", "data-v-0626a2c5"], ["__file", "/home/runner/work/revolugo/revolugo/libs/front/elements/core/src/components/RevolugoElements/CreditCardStripeForm/CreditCardStripeForm.vue"]]);
3011
- un("css/revolugo.creditcardstripeform.CuNCVfSx.css");
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");
3012
3023
  export {
3013
- Rs as C,
3014
- Fn as V,
3015
- Bn as p,
3016
- vt as u
3024
+ Ns as C,
3025
+ jn as V,
3026
+ Dn as p,
3027
+ bt as u
3017
3028
  };
3018
- //# sourceMappingURL=revolugo.creditcardstripeform.CrJgLF__.min.js.map
3029
+ //# sourceMappingURL=revolugo.creditcardstripeform.Cr4qsgQw.min.js.map