@moonbase.sh/storefront 0.4.65 → 0.4.66

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/moonbase.js CHANGED
@@ -2970,7 +2970,7 @@ var Bl = { exports: {} };
2970
2970
  C.push([B, H]);
2971
2971
  }), p(C);
2972
2972
  }, l.iterable && (v.prototype[Symbol.iterator] = v.prototype.entries);
2973
- function E(C) {
2973
+ function _(C) {
2974
2974
  if (C.bodyUsed)
2975
2975
  return Promise.reject(new TypeError("Already read"));
2976
2976
  C.bodyUsed = !0;
@@ -3007,7 +3007,7 @@ var Bl = { exports: {} };
3007
3007
  return this.bodyUsed = !1, this._initBody = function(C) {
3008
3008
  this.bodyUsed = this.bodyUsed, this._bodyInit = C, C ? typeof C == "string" ? this._bodyText = C : l.blob && Blob.prototype.isPrototypeOf(C) ? this._bodyBlob = C : l.formData && FormData.prototype.isPrototypeOf(C) ? this._bodyFormData = C : l.searchParams && URLSearchParams.prototype.isPrototypeOf(C) ? this._bodyText = C.toString() : l.arrayBuffer && l.blob && u(C) ? (this._bodyArrayBuffer = F(C.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : l.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(C) || d(C)) ? this._bodyArrayBuffer = F(C) : this._bodyText = C = Object.prototype.toString.call(C) : this._bodyText = "", this.headers.get("content-type") || (typeof C == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : l.searchParams && URLSearchParams.prototype.isPrototypeOf(C) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
3009
3009
  }, l.blob && (this.blob = function() {
3010
- var C = E(this);
3010
+ var C = _(this);
3011
3011
  if (C)
3012
3012
  return C;
3013
3013
  if (this._bodyBlob)
@@ -3019,7 +3019,7 @@ var Bl = { exports: {} };
3019
3019
  return Promise.resolve(new Blob([this._bodyText]));
3020
3020
  }, this.arrayBuffer = function() {
3021
3021
  if (this._bodyArrayBuffer) {
3022
- var C = E(this);
3022
+ var C = _(this);
3023
3023
  return C || (ArrayBuffer.isView(this._bodyArrayBuffer) ? Promise.resolve(
3024
3024
  this._bodyArrayBuffer.buffer.slice(
3025
3025
  this._bodyArrayBuffer.byteOffset,
@@ -3029,7 +3029,7 @@ var Bl = { exports: {} };
3029
3029
  } else
3030
3030
  return this.blob().then(R);
3031
3031
  }), this.text = function() {
3032
- var C = E(this);
3032
+ var C = _(this);
3033
3033
  if (C)
3034
3034
  return C;
3035
3035
  if (this._bodyBlob)
@@ -5359,8 +5359,8 @@ function bg(e, t, n = Ye) {
5359
5359
  "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
5360
5360
  );
5361
5361
  }, c = (F) => o ? F : Bt(F) || o === !1 || o === 0 ? kr(F, 1) : kr(F);
5362
- let d, f, h, p, v = !1, E = !1;
5363
- if (Qe(e) ? (f = () => e.value, v = Bt(e)) : vn(e) ? (f = () => c(e), v = !0) : ye(e) ? (E = !0, v = e.some((F) => vn(F) || Bt(F)), f = () => e.map((F) => {
5362
+ let d, f, h, p, v = !1, _ = !1;
5363
+ if (Qe(e) ? (f = () => e.value, v = Bt(e)) : vn(e) ? (f = () => c(e), v = !0) : ye(e) ? (_ = !0, v = e.some((F) => vn(F) || Bt(F)), f = () => e.map((F) => {
5364
5364
  if (Qe(F))
5365
5365
  return F.value;
5366
5366
  if (vn(F))
@@ -5397,12 +5397,12 @@ function bg(e, t, n = Ye) {
5397
5397
  F(...I), R();
5398
5398
  };
5399
5399
  }
5400
- let W = E ? new Array(e.length).fill(Ai) : Ai;
5400
+ let W = _ ? new Array(e.length).fill(Ai) : Ai;
5401
5401
  const U = (F) => {
5402
5402
  if (!(!(d.flags & 1) || !d.dirty && !F))
5403
5403
  if (t) {
5404
5404
  const I = d.run();
5405
- if (o || v || (E ? I.some((y, P) => Nr(y, W[P])) : Nr(I, W))) {
5405
+ if (o || v || (_ ? I.some((y, P) => Nr(y, W[P])) : Nr(I, W))) {
5406
5406
  h && h();
5407
5407
  const y = Zr;
5408
5408
  Zr = d;
@@ -5410,7 +5410,7 @@ function bg(e, t, n = Ye) {
5410
5410
  const P = [
5411
5411
  I,
5412
5412
  // pass undefined as the old value when it's changed for the first time
5413
- W === Ai ? void 0 : E && W[0] === Ai ? [] : W,
5413
+ W === Ai ? void 0 : _ && W[0] === Ai ? [] : W,
5414
5414
  p
5415
5415
  ];
5416
5416
  W = I, l ? l(t, 3, P) : (
@@ -5923,11 +5923,11 @@ const Nh = Symbol("_vte"), Ph = (e) => e.__isTeleport, oo = (e) => e && (e.disab
5923
5923
  mc: c,
5924
5924
  pc: d,
5925
5925
  pbc: f,
5926
- o: { insert: h, querySelector: p, createText: v, createComment: E }
5926
+ o: { insert: h, querySelector: p, createText: v, createComment: _ }
5927
5927
  } = u, k = oo(t.props);
5928
5928
  let { shapeFlag: R, children: W, dynamicChildren: U } = t;
5929
5929
  if (N.NODE_ENV !== "production" && mn && (l = !1, U = null), e == null) {
5930
- const F = t.el = N.NODE_ENV !== "production" ? E("teleport start") : v(""), I = t.anchor = N.NODE_ENV !== "production" ? E("teleport end") : v("");
5930
+ const F = t.el = N.NODE_ENV !== "production" ? _("teleport start") : v(""), I = t.anchor = N.NODE_ENV !== "production" ? _("teleport end") : v("");
5931
5931
  h(F, n, r), h(I, n, r);
5932
5932
  const y = (D, A) => {
5933
5933
  R & 16 && (o && o.isCE && (o.ce._teleportTarget = D), c(
@@ -6249,7 +6249,7 @@ function Xl(e, t, n, r, o) {
6249
6249
  onLeave: h,
6250
6250
  onAfterLeave: p,
6251
6251
  onLeaveCancelled: v,
6252
- onBeforeAppear: E,
6252
+ onBeforeAppear: _,
6253
6253
  onAppear: k,
6254
6254
  onAfterAppear: R,
6255
6255
  onAppearCancelled: W
@@ -6270,7 +6270,7 @@ function Xl(e, t, n, r, o) {
6270
6270
  let A = l;
6271
6271
  if (!n.isMounted)
6272
6272
  if (s)
6273
- A = E || l;
6273
+ A = _ || l;
6274
6274
  else
6275
6275
  return;
6276
6276
  D[yr] && D[yr](
@@ -6399,13 +6399,13 @@ function Is(e, t, n, r, o = !1) {
6399
6399
  else {
6400
6400
  const p = ot(l), v = Qe(l);
6401
6401
  if (p || v) {
6402
- const E = () => {
6402
+ const _ = () => {
6403
6403
  if (e.f) {
6404
6404
  const k = p ? h(l) ? d[l] : c[l] : l.value;
6405
6405
  o ? ye(k) && Cu(k, s) : ye(k) ? k.includes(s) || k.push(s) : p ? (c[l] = [s], h(l) && (d[l] = c[l])) : (l.value = [s], e.k && (c[e.k] = l.value));
6406
6406
  } else p ? (c[l] = i, h(l) && (d[l] = i)) : v ? (l.value = i, e.k && (c[e.k] = i)) : N.NODE_ENV !== "production" && J("Invalid template ref type:", l, `(${typeof l})`);
6407
6407
  };
6408
- i ? (E.id = -1, Rt(E, n)) : E();
6408
+ i ? (_.id = -1, Rt(_, n)) : _();
6409
6409
  } else N.NODE_ENV !== "production" && J("Invalid template ref type:", l, `(${typeof l})`);
6410
6410
  }
6411
6411
  }
@@ -6558,7 +6558,7 @@ function At(e, t, n = {}, r, o) {
6558
6558
  return t !== "default" && (n.name = t), m(), q(
6559
6559
  ge,
6560
6560
  null,
6561
- [w("slot", n, r)],
6561
+ [E("slot", n, r)],
6562
6562
  64
6563
6563
  );
6564
6564
  let s = e[t];
@@ -6772,7 +6772,7 @@ function sv(e) {
6772
6772
  beforeUpdate: h,
6773
6773
  updated: p,
6774
6774
  activated: v,
6775
- deactivated: E,
6775
+ deactivated: _,
6776
6776
  beforeDestroy: k,
6777
6777
  beforeUnmount: R,
6778
6778
  destroyed: W,
@@ -6858,7 +6858,7 @@ function sv(e) {
6858
6858
  function H(B, re) {
6859
6859
  ye(re) ? re.forEach((be) => B(be.bind(n))) : re && B(re.bind(n));
6860
6860
  }
6861
- if (H(Wg, d), H(ze, f), H(Zg, h), H(Yg, p), H(zg, v), H(Hg, E), H(Jg, P), H(Xg, I), H(Kg, y), H(Lu, R), H(zt, U), H(Gg, D), ye(A))
6861
+ if (H(Wg, d), H(ze, f), H(Zg, h), H(Yg, p), H(zg, v), H(Hg, _), H(Jg, P), H(Xg, I), H(Kg, y), H(Lu, R), H(zt, U), H(Gg, D), ye(A))
6862
6862
  if (A.length) {
6863
6863
  const B = e.exposed || (e.exposed = {});
6864
6864
  A.forEach((re) => {
@@ -7077,7 +7077,7 @@ function dv(e, t) {
7077
7077
  N.NODE_ENV !== "production" && c.__vue_app__ && J(
7078
7078
  "There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first."
7079
7079
  );
7080
- const h = u._ceVNode || w(r, o);
7080
+ const h = u._ceVNode || E(r, o);
7081
7081
  return h.appContext = s, f === !0 ? f = "svg" : f === !1 && (f = void 0), N.NODE_ENV !== "production" && (s.reload = () => {
7082
7082
  const p = On(h);
7083
7083
  p.el = null, e(p, c, f);
@@ -7302,14 +7302,14 @@ function Gh(e, t, n = !1) {
7302
7302
  const d = Ut(c);
7303
7303
  if (Lc(d)) {
7304
7304
  const f = s[c], h = i[d] = ye(f) || ke(f) ? { type: f } : at({}, f), p = h.type;
7305
- let v = !1, E = !0;
7305
+ let v = !1, _ = !0;
7306
7306
  if (ye(p))
7307
7307
  for (let k = 0; k < p.length; ++k) {
7308
7308
  const R = p[k], W = ke(R) && R.name;
7309
7309
  if (W === "Boolean") {
7310
7310
  v = !0;
7311
7311
  break;
7312
- } else W === "String" && (E = !1);
7312
+ } else W === "String" && (_ = !1);
7313
7313
  }
7314
7314
  else
7315
7315
  v = ke(p) && p.name === "Boolean";
@@ -7319,7 +7319,7 @@ function Gh(e, t, n = !1) {
7319
7319
  ] = v, h[
7320
7320
  1
7321
7321
  /* shouldCastTrue */
7322
- ] = E, (v || Be(h, "default")) && a.push(d);
7322
+ ] = _, (v || Be(h, "default")) && a.push(d);
7323
7323
  }
7324
7324
  }
7325
7325
  }
@@ -7500,24 +7500,24 @@ function Nv(e, t) {
7500
7500
  nextSibling: f,
7501
7501
  setScopeId: h = vt,
7502
7502
  insertStaticContent: p
7503
- } = e, v = (_, S, z, K = null, Z = null, Y = null, ae = void 0, se = null, oe = N.NODE_ENV !== "production" && mn ? !1 : !!S.dynamicChildren) => {
7504
- if (_ === S)
7503
+ } = e, v = (w, S, z, K = null, Z = null, Y = null, ae = void 0, se = null, oe = N.NODE_ENV !== "production" && mn ? !1 : !!S.dynamicChildren) => {
7504
+ if (w === S)
7505
7505
  return;
7506
- _ && !Kr(_, S) && (K = Pi(_), Te(_, Z, Y, !0), _ = null), S.patchFlag === -2 && (oe = !1, S.dynamicChildren = null);
7506
+ w && !Kr(w, S) && (K = Pi(w), Te(w, Z, Y, !0), w = null), S.patchFlag === -2 && (oe = !1, S.dynamicChildren = null);
7507
7507
  const { type: X, ref: Ee, shapeFlag: le } = S;
7508
7508
  switch (X) {
7509
7509
  case Ei:
7510
- E(_, S, z, K);
7510
+ _(w, S, z, K);
7511
7511
  break;
7512
7512
  case dt:
7513
- k(_, S, z, K);
7513
+ k(w, S, z, K);
7514
7514
  break;
7515
7515
  case Vs:
7516
- _ == null ? R(S, z, K, ae) : N.NODE_ENV !== "production" && W(_, S, z, ae);
7516
+ w == null ? R(S, z, K, ae) : N.NODE_ENV !== "production" && W(w, S, z, ae);
7517
7517
  break;
7518
7518
  case ge:
7519
7519
  ie(
7520
- _,
7520
+ w,
7521
7521
  S,
7522
7522
  z,
7523
7523
  K,
@@ -7530,7 +7530,7 @@ function Nv(e, t) {
7530
7530
  break;
7531
7531
  default:
7532
7532
  le & 1 ? I(
7533
- _,
7533
+ w,
7534
7534
  S,
7535
7535
  z,
7536
7536
  K,
@@ -7540,7 +7540,7 @@ function Nv(e, t) {
7540
7540
  se,
7541
7541
  oe
7542
7542
  ) : le & 6 ? xe(
7543
- _,
7543
+ w,
7544
7544
  S,
7545
7545
  z,
7546
7546
  K,
@@ -7550,7 +7550,7 @@ function Nv(e, t) {
7550
7550
  se,
7551
7551
  oe
7552
7552
  ) : le & 64 || le & 128 ? X.process(
7553
- _,
7553
+ w,
7554
7554
  S,
7555
7555
  z,
7556
7556
  K,
@@ -7562,56 +7562,56 @@ function Nv(e, t) {
7562
7562
  cs
7563
7563
  ) : N.NODE_ENV !== "production" && J("Invalid VNode type:", X, `(${typeof X})`);
7564
7564
  }
7565
- Ee != null && Z ? Is(Ee, _ && _.ref, Y, S || _, !S) : Ee == null && _ && _.ref != null && Is(_.ref, null, Y, _, !0);
7566
- }, E = (_, S, z, K) => {
7567
- if (_ == null)
7565
+ Ee != null && Z ? Is(Ee, w && w.ref, Y, S || w, !S) : Ee == null && w && w.ref != null && Is(w.ref, null, Y, w, !0);
7566
+ }, _ = (w, S, z, K) => {
7567
+ if (w == null)
7568
7568
  r(
7569
7569
  S.el = a(S.children),
7570
7570
  z,
7571
7571
  K
7572
7572
  );
7573
7573
  else {
7574
- const Z = S.el = _.el;
7575
- S.children !== _.children && u(Z, S.children);
7574
+ const Z = S.el = w.el;
7575
+ S.children !== w.children && u(Z, S.children);
7576
7576
  }
7577
- }, k = (_, S, z, K) => {
7578
- _ == null ? r(
7577
+ }, k = (w, S, z, K) => {
7578
+ w == null ? r(
7579
7579
  S.el = l(S.children || ""),
7580
7580
  z,
7581
7581
  K
7582
- ) : S.el = _.el;
7583
- }, R = (_, S, z, K) => {
7584
- [_.el, _.anchor] = p(
7585
- _.children,
7582
+ ) : S.el = w.el;
7583
+ }, R = (w, S, z, K) => {
7584
+ [w.el, w.anchor] = p(
7585
+ w.children,
7586
7586
  S,
7587
7587
  z,
7588
7588
  K,
7589
- _.el,
7590
- _.anchor
7589
+ w.el,
7590
+ w.anchor
7591
7591
  );
7592
- }, W = (_, S, z, K) => {
7593
- if (S.children !== _.children) {
7594
- const Z = f(_.anchor);
7595
- F(_), [S.el, S.anchor] = p(
7592
+ }, W = (w, S, z, K) => {
7593
+ if (S.children !== w.children) {
7594
+ const Z = f(w.anchor);
7595
+ F(w), [S.el, S.anchor] = p(
7596
7596
  S.children,
7597
7597
  z,
7598
7598
  Z,
7599
7599
  K
7600
7600
  );
7601
7601
  } else
7602
- S.el = _.el, S.anchor = _.anchor;
7603
- }, U = ({ el: _, anchor: S }, z, K) => {
7602
+ S.el = w.el, S.anchor = w.anchor;
7603
+ }, U = ({ el: w, anchor: S }, z, K) => {
7604
7604
  let Z;
7605
- for (; _ && _ !== S; )
7606
- Z = f(_), r(_, z, K), _ = Z;
7605
+ for (; w && w !== S; )
7606
+ Z = f(w), r(w, z, K), w = Z;
7607
7607
  r(S, z, K);
7608
- }, F = ({ el: _, anchor: S }) => {
7608
+ }, F = ({ el: w, anchor: S }) => {
7609
7609
  let z;
7610
- for (; _ && _ !== S; )
7611
- z = f(_), o(_), _ = z;
7610
+ for (; w && w !== S; )
7611
+ z = f(w), o(w), w = z;
7612
7612
  o(S);
7613
- }, I = (_, S, z, K, Z, Y, ae, se, oe) => {
7614
- S.type === "svg" ? ae = "svg" : S.type === "math" && (ae = "mathml"), _ == null ? y(
7613
+ }, I = (w, S, z, K, Z, Y, ae, se, oe) => {
7614
+ S.type === "svg" ? ae = "svg" : S.type === "math" && (ae = "mathml"), w == null ? y(
7615
7615
  S,
7616
7616
  z,
7617
7617
  K,
@@ -7621,7 +7621,7 @@ function Nv(e, t) {
7621
7621
  se,
7622
7622
  oe
7623
7623
  ) : A(
7624
- _,
7624
+ w,
7625
7625
  S,
7626
7626
  Z,
7627
7627
  Y,
@@ -7629,43 +7629,43 @@ function Nv(e, t) {
7629
7629
  se,
7630
7630
  oe
7631
7631
  );
7632
- }, y = (_, S, z, K, Z, Y, ae, se) => {
7632
+ }, y = (w, S, z, K, Z, Y, ae, se) => {
7633
7633
  let oe, X;
7634
- const { props: Ee, shapeFlag: le, transition: _e, dirs: Ne } = _;
7635
- if (oe = _.el = i(
7636
- _.type,
7634
+ const { props: Ee, shapeFlag: le, transition: _e, dirs: Ne } = w;
7635
+ if (oe = w.el = i(
7636
+ w.type,
7637
7637
  Y,
7638
7638
  Ee && Ee.is,
7639
7639
  Ee
7640
- ), le & 8 ? c(oe, _.children) : le & 16 && D(
7641
- _.children,
7640
+ ), le & 8 ? c(oe, w.children) : le & 16 && D(
7641
+ w.children,
7642
7642
  oe,
7643
7643
  null,
7644
7644
  K,
7645
7645
  Z,
7646
- vl(_, Y),
7646
+ vl(w, Y),
7647
7647
  ae,
7648
7648
  se
7649
- ), Ne && Br(_, null, K, "created"), P(oe, _, _.scopeId, ae, K), Ee) {
7649
+ ), Ne && Br(w, null, K, "created"), P(oe, w, w.scopeId, ae, K), Ee) {
7650
7650
  for (const et in Ee)
7651
7651
  et !== "value" && !$s(et) && s(oe, et, null, Ee[et], Y, K);
7652
- "value" in Ee && s(oe, "value", null, Ee.value, Y), (X = Ee.onVnodeBeforeMount) && $n(X, K, _);
7652
+ "value" in Ee && s(oe, "value", null, Ee.value, Y), (X = Ee.onVnodeBeforeMount) && $n(X, K, w);
7653
7653
  }
7654
- N.NODE_ENV !== "production" && (Qs(oe, "__vnode", _, !0), Qs(oe, "__vueParentComponent", K, !0)), Ne && Br(_, null, K, "beforeMount");
7654
+ N.NODE_ENV !== "production" && (Qs(oe, "__vnode", w, !0), Qs(oe, "__vueParentComponent", K, !0)), Ne && Br(w, null, K, "beforeMount");
7655
7655
  const Ue = Pv(Z, _e);
7656
7656
  Ue && _e.beforeEnter(oe), r(oe, S, z), ((X = Ee && Ee.onVnodeMounted) || Ue || Ne) && Rt(() => {
7657
- X && $n(X, K, _), Ue && _e.enter(oe), Ne && Br(_, null, K, "mounted");
7657
+ X && $n(X, K, w), Ue && _e.enter(oe), Ne && Br(w, null, K, "mounted");
7658
7658
  }, Z);
7659
- }, P = (_, S, z, K, Z) => {
7660
- if (z && h(_, z), K)
7659
+ }, P = (w, S, z, K, Z) => {
7660
+ if (z && h(w, z), K)
7661
7661
  for (let Y = 0; Y < K.length; Y++)
7662
- h(_, K[Y]);
7662
+ h(w, K[Y]);
7663
7663
  if (Z) {
7664
7664
  let Y = Z.subTree;
7665
7665
  if (N.NODE_ENV !== "production" && Y.patchFlag > 0 && Y.patchFlag & 2048 && (Y = zu(Y.children) || Y), S === Y || rp(Y.type) && (Y.ssContent === S || Y.ssFallback === S)) {
7666
7666
  const ae = Z.vnode;
7667
7667
  P(
7668
- _,
7668
+ w,
7669
7669
  ae,
7670
7670
  ae.scopeId,
7671
7671
  ae.slotScopeIds,
@@ -7673,9 +7673,9 @@ function Nv(e, t) {
7673
7673
  );
7674
7674
  }
7675
7675
  }
7676
- }, D = (_, S, z, K, Z, Y, ae, se, oe = 0) => {
7677
- for (let X = oe; X < _.length; X++) {
7678
- const Ee = _[X] = se ? _r(_[X]) : fn(_[X]);
7676
+ }, D = (w, S, z, K, Z, Y, ae, se, oe = 0) => {
7677
+ for (let X = oe; X < w.length; X++) {
7678
+ const Ee = w[X] = se ? _r(w[X]) : fn(w[X]);
7679
7679
  v(
7680
7680
  null,
7681
7681
  Ee,
@@ -7688,23 +7688,23 @@ function Nv(e, t) {
7688
7688
  se
7689
7689
  );
7690
7690
  }
7691
- }, A = (_, S, z, K, Z, Y, ae) => {
7692
- const se = S.el = _.el;
7691
+ }, A = (w, S, z, K, Z, Y, ae) => {
7692
+ const se = S.el = w.el;
7693
7693
  N.NODE_ENV !== "production" && (se.__vnode = S);
7694
7694
  let { patchFlag: oe, dynamicChildren: X, dirs: Ee } = S;
7695
- oe |= _.patchFlag & 16;
7696
- const le = _.props || Ye, _e = S.props || Ye;
7695
+ oe |= w.patchFlag & 16;
7696
+ const le = w.props || Ye, _e = S.props || Ye;
7697
7697
  let Ne;
7698
- if (z && Fr(z, !1), (Ne = _e.onVnodeBeforeUpdate) && $n(Ne, z, S, _), Ee && Br(S, _, z, "beforeUpdate"), z && Fr(z, !0), N.NODE_ENV !== "production" && mn && (oe = 0, ae = !1, X = null), (le.innerHTML && _e.innerHTML == null || le.textContent && _e.textContent == null) && c(se, ""), X ? (T(
7699
- _.dynamicChildren,
7698
+ if (z && Fr(z, !1), (Ne = _e.onVnodeBeforeUpdate) && $n(Ne, z, S, w), Ee && Br(S, w, z, "beforeUpdate"), z && Fr(z, !0), N.NODE_ENV !== "production" && mn && (oe = 0, ae = !1, X = null), (le.innerHTML && _e.innerHTML == null || le.textContent && _e.textContent == null) && c(se, ""), X ? (T(
7699
+ w.dynamicChildren,
7700
7700
  X,
7701
7701
  se,
7702
7702
  z,
7703
7703
  K,
7704
7704
  vl(S, Z),
7705
7705
  Y
7706
- ), N.NODE_ENV !== "production" && Ms(_, S)) : ae || be(
7707
- _,
7706
+ ), N.NODE_ENV !== "production" && Ms(w, S)) : ae || be(
7707
+ w,
7708
7708
  S,
7709
7709
  se,
7710
7710
  null,
@@ -7723,14 +7723,14 @@ function Nv(e, t) {
7723
7723
  (Wt !== qt || We === "value") && s(se, We, qt, Wt, Z, z);
7724
7724
  }
7725
7725
  }
7726
- oe & 1 && _.children !== S.children && c(se, S.children);
7726
+ oe & 1 && w.children !== S.children && c(se, S.children);
7727
7727
  } else !ae && X == null && V(se, le, _e, z, Z);
7728
7728
  ((Ne = _e.onVnodeUpdated) || Ee) && Rt(() => {
7729
- Ne && $n(Ne, z, S, _), Ee && Br(S, _, z, "updated");
7729
+ Ne && $n(Ne, z, S, w), Ee && Br(S, w, z, "updated");
7730
7730
  }, K);
7731
- }, T = (_, S, z, K, Z, Y, ae) => {
7731
+ }, T = (w, S, z, K, Z, Y, ae) => {
7732
7732
  for (let se = 0; se < S.length; se++) {
7733
- const oe = _[se], X = S[se], Ee = (
7733
+ const oe = w[se], X = S[se], Ee = (
7734
7734
  // oldVNode may be an errored async setup() component inside Suspense
7735
7735
  // which will not have a mounted element
7736
7736
  oe.el && // - In the case of a Fragment, we need to provide the actual parent
@@ -7756,12 +7756,12 @@ function Nv(e, t) {
7756
7756
  !0
7757
7757
  );
7758
7758
  }
7759
- }, V = (_, S, z, K, Z) => {
7759
+ }, V = (w, S, z, K, Z) => {
7760
7760
  if (S !== z) {
7761
7761
  if (S !== Ye)
7762
7762
  for (const Y in S)
7763
7763
  !$s(Y) && !(Y in z) && s(
7764
- _,
7764
+ w,
7765
7765
  Y,
7766
7766
  S[Y],
7767
7767
  null,
@@ -7771,15 +7771,15 @@ function Nv(e, t) {
7771
7771
  for (const Y in z) {
7772
7772
  if ($s(Y)) continue;
7773
7773
  const ae = z[Y], se = S[Y];
7774
- ae !== se && Y !== "value" && s(_, Y, se, ae, Z, K);
7774
+ ae !== se && Y !== "value" && s(w, Y, se, ae, Z, K);
7775
7775
  }
7776
- "value" in z && s(_, "value", S.value, z.value, Z);
7776
+ "value" in z && s(w, "value", S.value, z.value, Z);
7777
7777
  }
7778
- }, ie = (_, S, z, K, Z, Y, ae, se, oe) => {
7779
- const X = S.el = _ ? _.el : a(""), Ee = S.anchor = _ ? _.anchor : a("");
7778
+ }, ie = (w, S, z, K, Z, Y, ae, se, oe) => {
7779
+ const X = S.el = w ? w.el : a(""), Ee = S.anchor = w ? w.anchor : a("");
7780
7780
  let { patchFlag: le, dynamicChildren: _e, slotScopeIds: Ne } = S;
7781
7781
  N.NODE_ENV !== "production" && // #5523 dev root fragment may inherit directives
7782
- (mn || le & 2048) && (le = 0, oe = !1, _e = null), Ne && (se = se ? se.concat(Ne) : Ne), _ == null ? (r(X, z, K), r(Ee, z, K), D(
7782
+ (mn || le & 2048) && (le = 0, oe = !1, _e = null), Ne && (se = se ? se.concat(Ne) : Ne), w == null ? (r(X, z, K), r(Ee, z, K), D(
7783
7783
  // #10007
7784
7784
  // such fragment like `<></>` will be compiled into
7785
7785
  // a fragment which doesn't have a children.
@@ -7794,27 +7794,27 @@ function Nv(e, t) {
7794
7794
  oe
7795
7795
  )) : le > 0 && le & 64 && _e && // #2715 the previous fragment could've been a BAILed one as a result
7796
7796
  // of renderSlot() with no valid children
7797
- _.dynamicChildren ? (T(
7798
- _.dynamicChildren,
7797
+ w.dynamicChildren ? (T(
7798
+ w.dynamicChildren,
7799
7799
  _e,
7800
7800
  z,
7801
7801
  Z,
7802
7802
  Y,
7803
7803
  ae,
7804
7804
  se
7805
- ), N.NODE_ENV !== "production" ? Ms(_, S) : (
7805
+ ), N.NODE_ENV !== "production" ? Ms(w, S) : (
7806
7806
  // #2080 if the stable fragment has a key, it's a <template v-for> that may
7807
7807
  // get moved around. Make sure all root level vnodes inherit el.
7808
7808
  // #2134 or if it's a component root, it may also get moved around
7809
7809
  // as the component is being moved.
7810
7810
  (S.key != null || Z && S === Z.subTree) && Ms(
7811
- _,
7811
+ w,
7812
7812
  S,
7813
7813
  !0
7814
7814
  /* shallow */
7815
7815
  )
7816
7816
  )) : be(
7817
- _,
7817
+ w,
7818
7818
  S,
7819
7819
  z,
7820
7820
  Ee,
@@ -7824,8 +7824,8 @@ function Nv(e, t) {
7824
7824
  se,
7825
7825
  oe
7826
7826
  );
7827
- }, xe = (_, S, z, K, Z, Y, ae, se, oe) => {
7828
- S.slotScopeIds = se, _ == null ? S.shapeFlag & 512 ? Z.ctx.activate(
7827
+ }, xe = (w, S, z, K, Z, Y, ae, se, oe) => {
7828
+ S.slotScopeIds = se, w == null ? S.shapeFlag & 512 ? Z.ctx.activate(
7829
7829
  S,
7830
7830
  z,
7831
7831
  K,
@@ -7839,22 +7839,22 @@ function Nv(e, t) {
7839
7839
  Y,
7840
7840
  ae,
7841
7841
  oe
7842
- ) : H(_, S, oe);
7843
- }, C = (_, S, z, K, Z, Y, ae) => {
7844
- const se = _.component = Wv(
7845
- _,
7842
+ ) : H(w, S, oe);
7843
+ }, C = (w, S, z, K, Z, Y, ae) => {
7844
+ const se = w.component = Wv(
7845
+ w,
7846
7846
  K,
7847
7847
  Z
7848
7848
  );
7849
- if (N.NODE_ENV !== "production" && se.type.__hmrId && Og(se), N.NODE_ENV !== "production" && (Zi(_), wo(se, "mount")), wi(_) && (se.ctx.renderer = cs), N.NODE_ENV !== "production" && wo(se, "init"), Yv(se, !1, ae), N.NODE_ENV !== "production" && Eo(se, "init"), N.NODE_ENV !== "production" && mn && (_.el = null), se.asyncDep) {
7850
- if (Z && Z.registerDep(se, B, ae), !_.el) {
7851
- const oe = se.subTree = w(dt);
7849
+ if (N.NODE_ENV !== "production" && se.type.__hmrId && Og(se), N.NODE_ENV !== "production" && (Zi(w), wo(se, "mount")), wi(w) && (se.ctx.renderer = cs), N.NODE_ENV !== "production" && wo(se, "init"), Yv(se, !1, ae), N.NODE_ENV !== "production" && Eo(se, "init"), N.NODE_ENV !== "production" && mn && (w.el = null), se.asyncDep) {
7850
+ if (Z && Z.registerDep(se, B, ae), !w.el) {
7851
+ const oe = se.subTree = E(dt);
7852
7852
  k(null, oe, S, z);
7853
7853
  }
7854
7854
  } else
7855
7855
  B(
7856
7856
  se,
7857
- _,
7857
+ w,
7858
7858
  S,
7859
7859
  z,
7860
7860
  Z,
@@ -7862,65 +7862,65 @@ function Nv(e, t) {
7862
7862
  ae
7863
7863
  );
7864
7864
  N.NODE_ENV !== "production" && (Yi(), Eo(se, "mount"));
7865
- }, H = (_, S, z) => {
7866
- const K = S.component = _.component;
7867
- if (Lv(_, S, z))
7865
+ }, H = (w, S, z) => {
7866
+ const K = S.component = w.component;
7867
+ if (Lv(w, S, z))
7868
7868
  if (K.asyncDep && !K.asyncResolved) {
7869
7869
  N.NODE_ENV !== "production" && Zi(S), re(K, S, z), N.NODE_ENV !== "production" && Yi();
7870
7870
  return;
7871
7871
  } else
7872
7872
  K.next = S, K.update();
7873
7873
  else
7874
- S.el = _.el, K.vnode = S;
7875
- }, B = (_, S, z, K, Z, Y, ae) => {
7874
+ S.el = w.el, K.vnode = S;
7875
+ }, B = (w, S, z, K, Z, Y, ae) => {
7876
7876
  const se = () => {
7877
- if (_.isMounted) {
7878
- let { next: le, bu: _e, u: Ne, parent: Ue, vnode: et } = _;
7877
+ if (w.isMounted) {
7878
+ let { next: le, bu: _e, u: Ne, parent: Ue, vnode: et } = w;
7879
7879
  {
7880
- const Pn = Qh(_);
7880
+ const Pn = Qh(w);
7881
7881
  if (Pn) {
7882
- le && (le.el = et.el, re(_, le, ae)), Pn.asyncDep.then(() => {
7883
- _.isUnmounted || se();
7882
+ le && (le.el = et.el, re(w, le, ae)), Pn.asyncDep.then(() => {
7883
+ w.isUnmounted || se();
7884
7884
  });
7885
7885
  return;
7886
7886
  }
7887
7887
  }
7888
7888
  let We = le, qt;
7889
- N.NODE_ENV !== "production" && Zi(le || _.vnode), Fr(_, !1), le ? (le.el = et.el, re(_, le, ae)) : le = et, _e && fs(_e), (qt = le.props && le.props.onVnodeBeforeUpdate) && $n(qt, Ue, le, et), Fr(_, !0), N.NODE_ENV !== "production" && wo(_, "render");
7890
- const Wt = Fc(_);
7891
- N.NODE_ENV !== "production" && Eo(_, "render");
7892
- const Nn = _.subTree;
7893
- _.subTree = Wt, N.NODE_ENV !== "production" && wo(_, "patch"), v(
7889
+ N.NODE_ENV !== "production" && Zi(le || w.vnode), Fr(w, !1), le ? (le.el = et.el, re(w, le, ae)) : le = et, _e && fs(_e), (qt = le.props && le.props.onVnodeBeforeUpdate) && $n(qt, Ue, le, et), Fr(w, !0), N.NODE_ENV !== "production" && wo(w, "render");
7890
+ const Wt = Fc(w);
7891
+ N.NODE_ENV !== "production" && Eo(w, "render");
7892
+ const Nn = w.subTree;
7893
+ w.subTree = Wt, N.NODE_ENV !== "production" && wo(w, "patch"), v(
7894
7894
  Nn,
7895
7895
  Wt,
7896
7896
  // parent may have changed if it's in a teleport
7897
7897
  d(Nn.el),
7898
7898
  // anchor may have changed if it's in a fragment
7899
7899
  Pi(Nn),
7900
- _,
7900
+ w,
7901
7901
  Z,
7902
7902
  Y
7903
- ), N.NODE_ENV !== "production" && Eo(_, "patch"), le.el = Wt.el, We === null && jv(_, Wt.el), Ne && Rt(Ne, Z), (qt = le.props && le.props.onVnodeUpdated) && Rt(
7903
+ ), N.NODE_ENV !== "production" && Eo(w, "patch"), le.el = Wt.el, We === null && jv(w, Wt.el), Ne && Rt(Ne, Z), (qt = le.props && le.props.onVnodeUpdated) && Rt(
7904
7904
  () => $n(qt, Ue, le, et),
7905
7905
  Z
7906
- ), N.NODE_ENV !== "production" && xh(_), N.NODE_ENV !== "production" && Yi();
7906
+ ), N.NODE_ENV !== "production" && xh(w), N.NODE_ENV !== "production" && Yi();
7907
7907
  } else {
7908
7908
  let le;
7909
- const { el: _e, props: Ne } = S, { bm: Ue, m: et, parent: We, root: qt, type: Wt } = _, Nn = zo(S);
7910
- Fr(_, !1), Ue && fs(Ue), !Nn && (le = Ne && Ne.onVnodeBeforeMount) && $n(le, We, S), Fr(_, !0);
7909
+ const { el: _e, props: Ne } = S, { bm: Ue, m: et, parent: We, root: qt, type: Wt } = w, Nn = zo(S);
7910
+ Fr(w, !1), Ue && fs(Ue), !Nn && (le = Ne && Ne.onVnodeBeforeMount) && $n(le, We, S), Fr(w, !0);
7911
7911
  {
7912
7912
  qt.ce && // @ts-expect-error _def is private
7913
- qt.ce._def.shadowRoot !== !1 && qt.ce._injectChildStyle(Wt), N.NODE_ENV !== "production" && wo(_, "render");
7914
- const Pn = _.subTree = Fc(_);
7915
- N.NODE_ENV !== "production" && Eo(_, "render"), N.NODE_ENV !== "production" && wo(_, "patch"), v(
7913
+ qt.ce._def.shadowRoot !== !1 && qt.ce._injectChildStyle(Wt), N.NODE_ENV !== "production" && wo(w, "render");
7914
+ const Pn = w.subTree = Fc(w);
7915
+ N.NODE_ENV !== "production" && Eo(w, "render"), N.NODE_ENV !== "production" && wo(w, "patch"), v(
7916
7916
  null,
7917
7917
  Pn,
7918
7918
  z,
7919
7919
  K,
7920
- _,
7920
+ w,
7921
7921
  Z,
7922
7922
  Y
7923
- ), N.NODE_ENV !== "production" && Eo(_, "patch"), S.el = Pn.el;
7923
+ ), N.NODE_ENV !== "production" && Eo(w, "patch"), S.el = Pn.el;
7924
7924
  }
7925
7925
  if (et && Rt(et, Z), !Nn && (le = Ne && Ne.onVnodeMounted)) {
7926
7926
  const Pn = S;
@@ -7929,20 +7929,20 @@ function Nv(e, t) {
7929
7929
  Z
7930
7930
  );
7931
7931
  }
7932
- (S.shapeFlag & 256 || We && zo(We.vnode) && We.vnode.shapeFlag & 256) && _.a && Rt(_.a, Z), _.isMounted = !0, N.NODE_ENV !== "production" && $g(_), S = z = K = null;
7932
+ (S.shapeFlag & 256 || We && zo(We.vnode) && We.vnode.shapeFlag & 256) && w.a && Rt(w.a, Z), w.isMounted = !0, N.NODE_ENV !== "production" && $g(w), S = z = K = null;
7933
7933
  }
7934
7934
  };
7935
- _.scope.on();
7936
- const oe = _.effect = new Kf(se);
7937
- _.scope.off();
7938
- const X = _.update = oe.run.bind(oe), Ee = _.job = oe.runIfDirty.bind(oe);
7939
- Ee.i = _, Ee.id = _.uid, oe.scheduler = () => Ya(Ee), Fr(_, !0), N.NODE_ENV !== "production" && (oe.onTrack = _.rtc ? (le) => fs(_.rtc, le) : void 0, oe.onTrigger = _.rtg ? (le) => fs(_.rtg, le) : void 0), X();
7940
- }, re = (_, S, z) => {
7941
- S.component = _;
7942
- const K = _.vnode.props;
7943
- _.vnode = S, _.next = null, mv(_, S.props, K, z), Ov(_, S.children, z), En(), Cc(_), kn();
7944
- }, be = (_, S, z, K, Z, Y, ae, se, oe = !1) => {
7945
- const X = _ && _.children, Ee = _ ? _.shapeFlag : 0, le = S.children, { patchFlag: _e, shapeFlag: Ne } = S;
7935
+ w.scope.on();
7936
+ const oe = w.effect = new Kf(se);
7937
+ w.scope.off();
7938
+ const X = w.update = oe.run.bind(oe), Ee = w.job = oe.runIfDirty.bind(oe);
7939
+ Ee.i = w, Ee.id = w.uid, oe.scheduler = () => Ya(Ee), Fr(w, !0), N.NODE_ENV !== "production" && (oe.onTrack = w.rtc ? (le) => fs(w.rtc, le) : void 0, oe.onTrigger = w.rtg ? (le) => fs(w.rtg, le) : void 0), X();
7940
+ }, re = (w, S, z) => {
7941
+ S.component = w;
7942
+ const K = w.vnode.props;
7943
+ w.vnode = S, w.next = null, mv(w, S.props, K, z), Ov(w, S.children, z), En(), Cc(w), kn();
7944
+ }, be = (w, S, z, K, Z, Y, ae, se, oe = !1) => {
7945
+ const X = w && w.children, Ee = w ? w.shapeFlag : 0, le = S.children, { patchFlag: _e, shapeFlag: Ne } = S;
7946
7946
  if (_e > 0) {
7947
7947
  if (_e & 128) {
7948
7948
  he(
@@ -7992,14 +7992,14 @@ function Nv(e, t) {
7992
7992
  se,
7993
7993
  oe
7994
7994
  ));
7995
- }, ce = (_, S, z, K, Z, Y, ae, se, oe) => {
7996
- _ = _ || Bo, S = S || Bo;
7997
- const X = _.length, Ee = S.length, le = Math.min(X, Ee);
7995
+ }, ce = (w, S, z, K, Z, Y, ae, se, oe) => {
7996
+ w = w || Bo, S = S || Bo;
7997
+ const X = w.length, Ee = S.length, le = Math.min(X, Ee);
7998
7998
  let _e;
7999
7999
  for (_e = 0; _e < le; _e++) {
8000
8000
  const Ne = S[_e] = oe ? _r(S[_e]) : fn(S[_e]);
8001
8001
  v(
8002
- _[_e],
8002
+ w[_e],
8003
8003
  Ne,
8004
8004
  z,
8005
8005
  null,
@@ -8011,7 +8011,7 @@ function Nv(e, t) {
8011
8011
  );
8012
8012
  }
8013
8013
  X > Ee ? us(
8014
- _,
8014
+ w,
8015
8015
  Z,
8016
8016
  Y,
8017
8017
  !0,
@@ -8028,12 +8028,12 @@ function Nv(e, t) {
8028
8028
  oe,
8029
8029
  le
8030
8030
  );
8031
- }, he = (_, S, z, K, Z, Y, ae, se, oe) => {
8031
+ }, he = (w, S, z, K, Z, Y, ae, se, oe) => {
8032
8032
  let X = 0;
8033
8033
  const Ee = S.length;
8034
- let le = _.length - 1, _e = Ee - 1;
8034
+ let le = w.length - 1, _e = Ee - 1;
8035
8035
  for (; X <= le && X <= _e; ) {
8036
- const Ne = _[X], Ue = S[X] = oe ? _r(S[X]) : fn(S[X]);
8036
+ const Ne = w[X], Ue = S[X] = oe ? _r(S[X]) : fn(S[X]);
8037
8037
  if (Kr(Ne, Ue))
8038
8038
  v(
8039
8039
  Ne,
@@ -8051,7 +8051,7 @@ function Nv(e, t) {
8051
8051
  X++;
8052
8052
  }
8053
8053
  for (; X <= le && X <= _e; ) {
8054
- const Ne = _[le], Ue = S[_e] = oe ? _r(S[_e]) : fn(S[_e]);
8054
+ const Ne = w[le], Ue = S[_e] = oe ? _r(S[_e]) : fn(S[_e]);
8055
8055
  if (Kr(Ne, Ue))
8056
8056
  v(
8057
8057
  Ne,
@@ -8086,7 +8086,7 @@ function Nv(e, t) {
8086
8086
  }
8087
8087
  } else if (X > _e)
8088
8088
  for (; X <= le; )
8089
- Te(_[X], Z, Y, !0), X++;
8089
+ Te(w[X], Z, Y, !0), X++;
8090
8090
  else {
8091
8091
  const Ne = X, Ue = X, et = /* @__PURE__ */ new Map();
8092
8092
  for (X = Ue; X <= _e; X++) {
@@ -8103,7 +8103,7 @@ function Nv(e, t) {
8103
8103
  const ds = new Array(Wt);
8104
8104
  for (X = 0; X < Wt; X++) ds[X] = 0;
8105
8105
  for (X = Ne; X <= le; X++) {
8106
- const It = _[X];
8106
+ const It = w[X];
8107
8107
  if (qt >= Wt) {
8108
8108
  Te(It, Z, Y, !0);
8109
8109
  continue;
@@ -8145,29 +8145,29 @@ function Nv(e, t) {
8145
8145
  ) : Nn && (We < 0 || X !== mc[We] ? we(Tn, z, bc, 2) : We--);
8146
8146
  }
8147
8147
  }
8148
- }, we = (_, S, z, K, Z = null) => {
8149
- const { el: Y, type: ae, transition: se, children: oe, shapeFlag: X } = _;
8148
+ }, we = (w, S, z, K, Z = null) => {
8149
+ const { el: Y, type: ae, transition: se, children: oe, shapeFlag: X } = w;
8150
8150
  if (X & 6) {
8151
- we(_.component.subTree, S, z, K);
8151
+ we(w.component.subTree, S, z, K);
8152
8152
  return;
8153
8153
  }
8154
8154
  if (X & 128) {
8155
- _.suspense.move(S, z, K);
8155
+ w.suspense.move(S, z, K);
8156
8156
  return;
8157
8157
  }
8158
8158
  if (X & 64) {
8159
- ae.move(_, S, z, cs);
8159
+ ae.move(w, S, z, cs);
8160
8160
  return;
8161
8161
  }
8162
8162
  if (ae === ge) {
8163
8163
  r(Y, S, z);
8164
8164
  for (let le = 0; le < oe.length; le++)
8165
8165
  we(oe[le], S, z, K);
8166
- r(_.anchor, S, z);
8166
+ r(w.anchor, S, z);
8167
8167
  return;
8168
8168
  }
8169
8169
  if (ae === Vs) {
8170
- U(_, S, z);
8170
+ U(w, S, z);
8171
8171
  return;
8172
8172
  }
8173
8173
  if (K !== 2 && X & 1 && se)
@@ -8175,7 +8175,7 @@ function Nv(e, t) {
8175
8175
  se.beforeEnter(Y), r(Y, S, z), Rt(() => se.enter(Y), Z);
8176
8176
  else {
8177
8177
  const { leave: le, delayLeave: _e, afterLeave: Ne } = se, Ue = () => {
8178
- _.ctx.isUnmounted ? o(Y) : r(Y, S, z);
8178
+ w.ctx.isUnmounted ? o(Y) : r(Y, S, z);
8179
8179
  }, et = () => {
8180
8180
  le(Y, () => {
8181
8181
  Ue(), Ne && Ne();
@@ -8185,7 +8185,7 @@ function Nv(e, t) {
8185
8185
  }
8186
8186
  else
8187
8187
  r(Y, S, z);
8188
- }, Te = (_, S, z, K = !1, Z = !1) => {
8188
+ }, Te = (w, S, z, K = !1, Z = !1) => {
8189
8189
  const {
8190
8190
  type: Y,
8191
8191
  props: ae,
@@ -8196,22 +8196,22 @@ function Nv(e, t) {
8196
8196
  patchFlag: le,
8197
8197
  dirs: _e,
8198
8198
  cacheIndex: Ne
8199
- } = _;
8200
- if (le === -2 && (Z = !1), se != null && (En(), Is(se, null, z, _, !0), kn()), Ne != null && (S.renderCache[Ne] = void 0), Ee & 256) {
8201
- S.ctx.deactivate(_);
8199
+ } = w;
8200
+ if (le === -2 && (Z = !1), se != null && (En(), Is(se, null, z, w, !0), kn()), Ne != null && (S.renderCache[Ne] = void 0), Ee & 256) {
8201
+ S.ctx.deactivate(w);
8202
8202
  return;
8203
8203
  }
8204
- const Ue = Ee & 1 && _e, et = !zo(_);
8204
+ const Ue = Ee & 1 && _e, et = !zo(w);
8205
8205
  let We;
8206
- if (et && (We = ae && ae.onVnodeBeforeUnmount) && $n(We, S, _), Ee & 6)
8207
- jm(_.component, z, K);
8206
+ if (et && (We = ae && ae.onVnodeBeforeUnmount) && $n(We, S, w), Ee & 6)
8207
+ jm(w.component, z, K);
8208
8208
  else {
8209
8209
  if (Ee & 128) {
8210
- _.suspense.unmount(z, K);
8210
+ w.suspense.unmount(z, K);
8211
8211
  return;
8212
8212
  }
8213
- Ue && Br(_, null, S, "beforeUnmount"), Ee & 64 ? _.type.remove(
8214
- _,
8213
+ Ue && Br(w, null, S, "beforeUnmount"), Ee & 64 ? w.type.remove(
8214
+ w,
8215
8215
  S,
8216
8216
  z,
8217
8217
  cs,
@@ -8228,38 +8228,38 @@ function Nv(e, t) {
8228
8228
  z,
8229
8229
  !1,
8230
8230
  !0
8231
- ) : (Y === ge && le & 384 || !Z && Ee & 16) && us(oe, S, z), K && yt(_);
8231
+ ) : (Y === ge && le & 384 || !Z && Ee & 16) && us(oe, S, z), K && yt(w);
8232
8232
  }
8233
8233
  (et && (We = ae && ae.onVnodeUnmounted) || Ue) && Rt(() => {
8234
- We && $n(We, S, _), Ue && Br(_, null, S, "unmounted");
8234
+ We && $n(We, S, w), Ue && Br(w, null, S, "unmounted");
8235
8235
  }, z);
8236
- }, yt = (_) => {
8237
- const { type: S, el: z, anchor: K, transition: Z } = _;
8236
+ }, yt = (w) => {
8237
+ const { type: S, el: z, anchor: K, transition: Z } = w;
8238
8238
  if (S === ge) {
8239
- N.NODE_ENV !== "production" && _.patchFlag > 0 && _.patchFlag & 2048 && Z && !Z.persisted ? _.children.forEach((ae) => {
8239
+ N.NODE_ENV !== "production" && w.patchFlag > 0 && w.patchFlag & 2048 && Z && !Z.persisted ? w.children.forEach((ae) => {
8240
8240
  ae.type === dt ? o(ae.el) : yt(ae);
8241
8241
  }) : fr(z, K);
8242
8242
  return;
8243
8243
  }
8244
8244
  if (S === Vs) {
8245
- F(_);
8245
+ F(w);
8246
8246
  return;
8247
8247
  }
8248
8248
  const Y = () => {
8249
8249
  o(z), Z && !Z.persisted && Z.afterLeave && Z.afterLeave();
8250
8250
  };
8251
- if (_.shapeFlag & 1 && Z && !Z.persisted) {
8251
+ if (w.shapeFlag & 1 && Z && !Z.persisted) {
8252
8252
  const { leave: ae, delayLeave: se } = Z, oe = () => ae(z, Y);
8253
- se ? se(_.el, Y, oe) : oe();
8253
+ se ? se(w.el, Y, oe) : oe();
8254
8254
  } else
8255
8255
  Y();
8256
- }, fr = (_, S) => {
8256
+ }, fr = (w, S) => {
8257
8257
  let z;
8258
- for (; _ !== S; )
8259
- z = f(_), o(_), _ = z;
8258
+ for (; w !== S; )
8259
+ z = f(w), o(w), w = z;
8260
8260
  o(S);
8261
- }, jm = (_, S, z) => {
8262
- N.NODE_ENV !== "production" && _.type.__hmrId && Sg(_);
8261
+ }, jm = (w, S, z) => {
8262
+ N.NODE_ENV !== "production" && w.type.__hmrId && Sg(w);
8263
8263
  const {
8264
8264
  bum: K,
8265
8265
  scope: Z,
@@ -8270,34 +8270,34 @@ function Nv(e, t) {
8270
8270
  a: X,
8271
8271
  parent: Ee,
8272
8272
  slots: { __: le }
8273
- } = _;
8273
+ } = w;
8274
8274
  Bc(oe), Bc(X), K && fs(K), Ee && ye(le) && le.forEach((_e) => {
8275
8275
  Ee.renderCache[_e] = void 0;
8276
- }), Z.stop(), Y && (Y.flags |= 8, Te(ae, _, S, z)), se && Rt(se, S), Rt(() => {
8277
- _.isUnmounted = !0;
8278
- }, S), S && S.pendingBranch && !S.isUnmounted && _.asyncDep && !_.asyncResolved && _.suspenseId === S.pendingId && (S.deps--, S.deps === 0 && S.resolve()), N.NODE_ENV !== "production" && Dg(_);
8279
- }, us = (_, S, z, K = !1, Z = !1, Y = 0) => {
8280
- for (let ae = Y; ae < _.length; ae++)
8281
- Te(_[ae], S, z, K, Z);
8282
- }, Pi = (_) => {
8283
- if (_.shapeFlag & 6)
8284
- return Pi(_.component.subTree);
8285
- if (_.shapeFlag & 128)
8286
- return _.suspense.next();
8287
- const S = f(_.anchor || _.el), z = S && S[Nh];
8276
+ }), Z.stop(), Y && (Y.flags |= 8, Te(ae, w, S, z)), se && Rt(se, S), Rt(() => {
8277
+ w.isUnmounted = !0;
8278
+ }, S), S && S.pendingBranch && !S.isUnmounted && w.asyncDep && !w.asyncResolved && w.suspenseId === S.pendingId && (S.deps--, S.deps === 0 && S.resolve()), N.NODE_ENV !== "production" && Dg(w);
8279
+ }, us = (w, S, z, K = !1, Z = !1, Y = 0) => {
8280
+ for (let ae = Y; ae < w.length; ae++)
8281
+ Te(w[ae], S, z, K, Z);
8282
+ }, Pi = (w) => {
8283
+ if (w.shapeFlag & 6)
8284
+ return Pi(w.component.subTree);
8285
+ if (w.shapeFlag & 128)
8286
+ return w.suspense.next();
8287
+ const S = f(w.anchor || w.el), z = S && S[Nh];
8288
8288
  return z ? f(z) : S;
8289
8289
  };
8290
8290
  let al = !1;
8291
- const pc = (_, S, z) => {
8292
- _ == null ? S._vnode && Te(S._vnode, null, null, !0) : v(
8291
+ const pc = (w, S, z) => {
8292
+ w == null ? S._vnode && Te(S._vnode, null, null, !0) : v(
8293
8293
  S._vnode || null,
8294
- _,
8294
+ w,
8295
8295
  S,
8296
8296
  null,
8297
8297
  null,
8298
8298
  null,
8299
8299
  z
8300
- ), S._vnode = _, al || (al = !0, Cc(), _h(), al = !1);
8300
+ ), S._vnode = w, al || (al = !0, Cc(), _h(), al = !1);
8301
8301
  }, cs = {
8302
8302
  p: v,
8303
8303
  um: Te,
@@ -8527,7 +8527,7 @@ function Fc(e) {
8527
8527
  setupState: h,
8528
8528
  ctx: p,
8529
8529
  inheritAttrs: v
8530
- } = e, E = wa(e);
8530
+ } = e, _ = wa(e);
8531
8531
  let k, R;
8532
8532
  N.NODE_ENV !== "production" && (ou = !1);
8533
8533
  try {
@@ -8571,7 +8571,7 @@ function Fc(e) {
8571
8571
  ), R = t.props ? a : Vv(a);
8572
8572
  }
8573
8573
  } catch (F) {
8574
- Rs.length = 0, yi(F, e, 1), k = w(dt);
8574
+ Rs.length = 0, yi(F, e, 1), k = E(dt);
8575
8575
  }
8576
8576
  let W = k, U;
8577
8577
  if (N.NODE_ENV !== "production" && k.patchFlag > 0 && k.patchFlag & 2048 && ([W, U] = np(k)), R && v !== !1) {
@@ -8600,7 +8600,7 @@ function Fc(e) {
8600
8600
  "Runtime directive used on component with non-element root node. The directives will not function as intended."
8601
8601
  ), W = On(W, null, !1, !0), W.dirs = W.dirs ? W.dirs.concat(n.dirs) : n.dirs), n.transition && (N.NODE_ENV !== "production" && !zc(W) && J(
8602
8602
  "Component inside <Transition> renders non-element root node that cannot be animated."
8603
- ), ri(W, n.transition)), N.NODE_ENV !== "production" && U ? U(W) : k = W, wa(E), k;
8603
+ ), ri(W, n.transition)), N.NODE_ENV !== "production" && U ? U(W) : k = W, wa(_), k;
8604
8604
  }
8605
8605
  const np = (e) => {
8606
8606
  const t = e.children, n = e.dynamicChildren, r = zu(t, !1);
@@ -8715,7 +8715,7 @@ function O(e, t, n, r, o, s) {
8715
8715
  }
8716
8716
  function q(e, t, n, r, o) {
8717
8717
  return op(
8718
- w(
8718
+ E(
8719
8719
  e,
8720
8720
  t,
8721
8721
  n,
@@ -8783,7 +8783,7 @@ function L(e, t = null, n = null, r = 0, o = null, s = e === ge ? 0 : 1, i = !1,
8783
8783
  // vnode should not be considered dynamic due to handler caching.
8784
8784
  l.patchFlag !== 32 && Xt.push(l), l;
8785
8785
  }
8786
- const w = N.NODE_ENV !== "production" ? Fv : ip;
8786
+ const E = N.NODE_ENV !== "production" ? Fv : ip;
8787
8787
  function ip(e, t = null, n = null, r = 0, o = null, s = !1) {
8788
8788
  if ((!e || e === jh) && (N.NODE_ENV !== "production" && !e && J(`Invalid vnode type when creating vnode: ${e}.`), e = dt), po(e)) {
8789
8789
  const a = On(
@@ -8873,22 +8873,22 @@ function ap(e) {
8873
8873
  return ye(e.children) && (t.children = e.children.map(ap)), t;
8874
8874
  }
8875
8875
  function $(e = " ", t = 0) {
8876
- return w(Ei, null, e, t);
8876
+ return E(Ei, null, e, t);
8877
8877
  }
8878
8878
  function lp(e, t) {
8879
- const n = w(Vs, null, e);
8879
+ const n = E(Vs, null, e);
8880
8880
  return n.staticCount = t, n;
8881
8881
  }
8882
8882
  function ne(e = "", t = !1) {
8883
- return t ? (m(), q(dt, null, e)) : w(dt, null, e);
8883
+ return t ? (m(), q(dt, null, e)) : E(dt, null, e);
8884
8884
  }
8885
8885
  function fn(e) {
8886
- return e == null || typeof e == "boolean" ? w(dt) : ye(e) ? w(
8886
+ return e == null || typeof e == "boolean" ? E(dt) : ye(e) ? E(
8887
8887
  ge,
8888
8888
  null,
8889
8889
  // #3666, avoid reference pollution when reusing vnode
8890
8890
  e.slice()
8891
- ) : po(e) ? _r(e) : w(Ei, null, String(e));
8891
+ ) : po(e) ? _r(e) : E(Ei, null, String(e));
8892
8892
  }
8893
8893
  function _r(e) {
8894
8894
  return e.el === null && e.patchFlag !== -1 || e.memo ? e : On(e);
@@ -9233,7 +9233,7 @@ const G = (e, t) => {
9233
9233
  };
9234
9234
  function pt(e, t, n) {
9235
9235
  const r = arguments.length;
9236
- return r === 2 ? He(t) && !ye(t) ? po(t) ? w(e, null, [t]) : w(e, t) : w(e, null, t) : (r > 3 ? n = Array.prototype.slice.call(arguments, 2) : r === 3 && po(n) && (n = [n]), w(e, t, n));
9236
+ return r === 2 ? He(t) && !ye(t) ? po(t) ? E(e, null, [t]) : E(e, t) : E(e, null, t) : (r > 3 ? n = Array.prototype.slice.call(arguments, 2) : r === 3 && po(n) && (n = [n]), E(e, t, n));
9237
9237
  }
9238
9238
  function ty() {
9239
9239
  if (N.NODE_ENV === "production" || typeof window > "u")
@@ -9468,7 +9468,7 @@ function ay(e) {
9468
9468
  leaveFromClass: d = `${n}-leave-from`,
9469
9469
  leaveActiveClass: f = `${n}-leave-active`,
9470
9470
  leaveToClass: h = `${n}-leave-to`
9471
- } = e, p = ly(o), v = p && p[0], E = p && p[1], {
9471
+ } = e, p = ly(o), v = p && p[0], _ = p && p[1], {
9472
9472
  onBeforeEnter: k,
9473
9473
  onEnter: R,
9474
9474
  onEnterCancelled: W,
@@ -9500,7 +9500,7 @@ function ay(e) {
9500
9500
  V._isLeaving = !0;
9501
9501
  const xe = () => A(V, ie);
9502
9502
  Yn(V, d), V._enterCancelled ? (Yn(V, f), rd()) : (rd(), Yn(V, f)), Qc(() => {
9503
- V._isLeaving && (Hr(V, d), Yn(V, h), Jc(U) || ed(V, r, E, xe));
9503
+ V._isLeaving && (Hr(V, d), Yn(V, h), Jc(U) || ed(V, r, _, xe));
9504
9504
  }), zr(U, [V, xe]);
9505
9505
  },
9506
9506
  onEnterCancelled(V) {
@@ -10292,14 +10292,14 @@ function Wn(e) {
10292
10292
  const n = G(() => {
10293
10293
  const i = t.currentOrder.value.currency || t.storefront.value.suggestedCurrency;
10294
10294
  return { amount: t.currentOrder.value.items.reduce((l, u) => {
10295
- var c, d, f, h, p, v, E, k, R, W;
10295
+ var c, d, f, h, p, v, _, k, R, W;
10296
10296
  let U;
10297
10297
  if (u.type === "Product") {
10298
10298
  const I = t.storefront.value.products.find((T) => T.id === u.productId), P = ((I == null ? void 0 : I.variations) || []).find((T) => T.id === u.variationId), D = (d = (c = P == null ? void 0 : P.pricingTiers) == null ? void 0 : c.filter((T) => u.quantity >= T.minQuantity)) != null ? d : [], A = D.length > 0 ? D[D.length - 1] : null;
10299
10299
  U = (v = (p = (f = A == null ? void 0 : A.price[i]) != null ? f : P == null ? void 0 : P.price[i]) != null ? p : (h = I == null ? void 0 : I.defaultVariation) == null ? void 0 : h.price[i]) != null ? v : 0;
10300
10300
  } else {
10301
10301
  const I = t.storefront.value.bundles.find((D) => D.id === u.bundleId), P = ((I == null ? void 0 : I.variations) || []).find((D) => D.id === u.variationId);
10302
- U = (R = (k = P == null ? void 0 : P.price[i]) != null ? k : (E = I == null ? void 0 : I.defaultVariation) == null ? void 0 : E.price[i]) != null ? R : 0;
10302
+ U = (R = (k = P == null ? void 0 : P.price[i]) != null ? k : (_ = I == null ? void 0 : I.defaultVariation) == null ? void 0 : _.price[i]) != null ? R : 0;
10303
10303
  }
10304
10304
  const F = u.offerId ? (W = t.storefront.value.offers) == null ? void 0 : W.find((I) => I.id === u.offerId) : null;
10305
10305
  if (F && Rn.eligible(F, t.currentOrder.value)) {
@@ -10331,12 +10331,12 @@ function Wn(e) {
10331
10331
  appliedDiscount: a.discount,
10332
10332
  isDefaultVariation: a.id === ((c = i.defaultVariation) == null ? void 0 : c.id)
10333
10333
  }, (u == null ? void 0 : u.bundleBehaviour) === "replace") {
10334
- const v = t == null ? void 0 : t.currentOrder.value.items.filter((E) => E.type === "Product" && i.products.some((k) => k.included && k.id === E.productId));
10335
- for (const E of v ?? []) {
10336
- const k = t == null ? void 0 : t.currentOrder.value.items.findIndex((R) => R.id === E.id);
10334
+ const v = t == null ? void 0 : t.currentOrder.value.items.filter((_) => _.type === "Product" && i.products.some((k) => k.included && k.id === _.productId));
10335
+ for (const _ of v ?? []) {
10336
+ const k = t == null ? void 0 : t.currentOrder.value.items.findIndex((R) => R.id === _.id);
10337
10337
  k !== void 0 && (t == null || t.currentOrder.value.items.splice(k, 1));
10338
10338
  }
10339
- p.replaced = v == null ? void 0 : v.filter((E) => E.type === "Product").map((E) => `${E.productId}/${E.variationId}`);
10339
+ p.replaced = v == null ? void 0 : v.filter((_) => _.type === "Product").map((_) => `${_.productId}/${_.variationId}`);
10340
10340
  }
10341
10341
  t == null || t.currentOrder.value.items.push(p);
10342
10342
  } else if (i.type === "Product")
@@ -11363,7 +11363,7 @@ function cu(e, t, n = {}, r, o, s) {
11363
11363
  const p = r.state.value[e];
11364
11364
  !s && !p && (je.NODE_ENV === "production" || !o) && (r.state.value[e] = {});
11365
11365
  const v = j({});
11366
- let E;
11366
+ let _;
11367
11367
  function k(A) {
11368
11368
  let T;
11369
11369
  u = c = !1, je.NODE_ENV !== "production" && (h = []), typeof A == "function" ? (A(r.state.value[e]), T = {
@@ -11376,9 +11376,9 @@ function cu(e, t, n = {}, r, o, s) {
11376
11376
  storeId: e,
11377
11377
  events: h
11378
11378
  });
11379
- const V = E = Symbol();
11379
+ const V = _ = Symbol();
11380
11380
  ya().then(() => {
11381
- E === V && (u = !0);
11381
+ _ === V && (u = !0);
11382
11382
  }), c = !0, xo(d, T, r.state.value[e]);
11383
11383
  }
11384
11384
  const R = s ? function() {
@@ -11664,8 +11664,8 @@ const Ae = /* @__PURE__ */ M1("ui", () => {
11664
11664
  "None"
11665
11665
  /* None */
11666
11666
  ), n = j(null), r = j(null), o = j([]), s = j([]);
11667
- function i(h, p, v, E) {
11668
- h === t.value && p === n.value && Ku(r.value, v ?? null) || (t.value !== "None" && s.value.push([t.value, n.value, r.value ?? void 0]), E && (s.value = []), e.value = 0, r.value = v ?? null, n.value = p, t.value = h);
11667
+ function i(h, p, v, _) {
11668
+ h === t.value && p === n.value && Ku(r.value, v ?? null) || (t.value !== "None" && s.value.push([t.value, n.value, r.value ?? void 0]), _ && (s.value = []), e.value = 0, r.value = v ?? null, n.value = p, t.value = h);
11669
11669
  }
11670
11670
  function a(h, p, v) {
11671
11671
  o.value.push([h, p, v ?? void 0]);
@@ -11677,8 +11677,8 @@ const Ae = /* @__PURE__ */ M1("ui", () => {
11677
11677
  if (o.value.length > 0) {
11678
11678
  const h = o.value[o.value.length - 1];
11679
11679
  s.value = [];
11680
- const [p, v, E] = h;
11681
- e.value = 0, r.value = E ?? null, n.value = v, t.value = p, o.value.pop();
11680
+ const [p, v, _] = h;
11681
+ e.value = 0, r.value = _ ?? null, n.value = v, t.value = p, o.value.pop();
11682
11682
  } else
11683
11683
  l();
11684
11684
  }
@@ -11692,8 +11692,8 @@ const Ae = /* @__PURE__ */ M1("ui", () => {
11692
11692
  if (!h)
11693
11693
  return;
11694
11694
  Je("Going back to ", h);
11695
- const [p, v, E] = h;
11696
- e.value = 1, r.value = E ?? null, n.value = v, t.value = p;
11695
+ const [p, v, _] = h;
11696
+ e.value = 1, r.value = _ ?? null, n.value = v, t.value = p;
11697
11697
  }
11698
11698
  const f = G(() => o.value.length === 0 ? null : o.value[o.value.length - 1]);
11699
11699
  return { direction: e, active: t, intent: n, parameters: r, queue: o, next: f, history: s, show: i, reset: l, enqueue: a, dequeue: u, back: d, getParameter: c };
@@ -11809,7 +11809,7 @@ function Ri({
11809
11809
  "",
11810
11810
  `The current component <${o} /> is rendering a "template".`,
11811
11811
  "However we need to passthrough the following props:",
11812
- Object.keys(i).concat(Object.keys(t)).map((p) => p.trim()).filter((p, v, E) => E.indexOf(p) === v).sort((p, v) => p.localeCompare(v)).map((p) => ` - ${p}`).join(`
11812
+ Object.keys(i).concat(Object.keys(t)).map((p) => p.trim()).filter((p, v, _) => _.indexOf(p) === v).sort((p, v) => p.localeCompare(v)).map((p) => ` - ${p}`).join(`
11813
11813
  `),
11814
11814
  "",
11815
11815
  "You can apply a few solutions:",
@@ -12125,7 +12125,7 @@ const bs = Object.assign(
12125
12125
  const p = Re(o);
12126
12126
  if (!p)
12127
12127
  return;
12128
- ((E) => E())(() => {
12128
+ ((_) => _())(() => {
12129
12129
  Qt(l.value, {
12130
12130
  [Ts.Forwards]: () => {
12131
12131
  In(p, _t.First, { skipElements: [h.relatedTarget] });
@@ -12158,7 +12158,7 @@ const bs = Object.assign(
12158
12158
  ) : h.target instanceof HTMLElement && ao(h.target)));
12159
12159
  }
12160
12160
  return () => {
12161
- const h = {}, p = { ref: o, onKeydown: d, onFocusout: f }, { features: v, initialFocus: E, containers: k, ...R } = e;
12161
+ const h = {}, p = { ref: o, onKeydown: d, onFocusout: f }, { features: v, initialFocus: _, containers: k, ...R } = e;
12162
12162
  return pt(ge, [
12163
12163
  !!(v & 4) && pt(ui, {
12164
12164
  as: "button",
@@ -12909,12 +12909,12 @@ const Li = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", v_ = /* @__PURE__ */ pe({
12909
12909
  ), v = G(
12910
12910
  () => p.value === 0
12911
12911
  /* Open */
12912
- ), E = j(null), k = {
12913
- titleId: E,
12912
+ ), _ = j(null), k = {
12913
+ titleId: _,
12914
12914
  panelRef: j(null),
12915
12915
  dialogState: p,
12916
12916
  setTitleId(ce) {
12917
- E.value !== ce && (E.value = ce);
12917
+ _.value !== ce && (_.value = ce);
12918
12918
  },
12919
12919
  close() {
12920
12920
  t("close", !1);
@@ -12996,7 +12996,7 @@ const Li = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", v_ = /* @__PURE__ */ pe({
12996
12996
  id: ce,
12997
12997
  role: a.value,
12998
12998
  "aria-modal": p.value === 0 ? !0 : void 0,
12999
- "aria-labelledby": E.value,
12999
+ "aria-labelledby": _.value,
13000
13000
  "aria-describedby": C.value
13001
13001
  }, fr = {
13002
13002
  open: p.value === 0
@@ -13203,8 +13203,8 @@ const tc = Symbol("TabsSSRContext"), k_ = /* @__PURE__ */ pe({
13203
13203
  return;
13204
13204
  const v = s.value[o.value];
13205
13205
  if (s.value.push(p), s.value = Ao(s.value, Re), !a.value) {
13206
- const E = s.value.indexOf(v) ?? o.value;
13207
- E !== -1 && (o.value = E);
13206
+ const _ = s.value.indexOf(v) ?? o.value;
13207
+ _ !== -1 && (o.value = _);
13208
13208
  }
13209
13209
  },
13210
13210
  unregisterTab(p) {
@@ -13220,7 +13220,7 @@ const tc = Symbol("TabsSSRContext"), k_ = /* @__PURE__ */ pe({
13220
13220
  }
13221
13221
  };
13222
13222
  function c(p) {
13223
- const v = Ao(u.tabs.value, Re), E = Ao(u.panels.value, Re), k = v.filter((R) => {
13223
+ const v = Ao(u.tabs.value, Re), _ = Ao(u.panels.value, Re), k = v.filter((R) => {
13224
13224
  var W;
13225
13225
  return !((W = Re(R)) != null && W.hasAttribute("disabled"));
13226
13226
  });
@@ -13251,13 +13251,13 @@ const tc = Symbol("TabsSSRContext"), k_ = /* @__PURE__ */ pe({
13251
13251
  0: () => v.indexOf(k[0]),
13252
13252
  1: () => v.indexOf(k[k.length - 1])
13253
13253
  });
13254
- W !== -1 && (o.value = W), u.tabs.value = v, u.panels.value = E;
13254
+ W !== -1 && (o.value = W), u.tabs.value = v, u.panels.value = _;
13255
13255
  } else {
13256
13256
  const R = v.slice(0, p), U = [...v.slice(p), ...R].find((I) => k.includes(I));
13257
13257
  if (!U)
13258
13258
  return;
13259
13259
  let F = v.indexOf(U) ?? u.selectedIndex.value;
13260
- F === -1 && (F = u.selectedIndex.value), o.value = F, u.tabs.value = v, u.panels.value = E;
13260
+ F === -1 && (F = u.selectedIndex.value), o.value = F, u.tabs.value = v, u.panels.value = _;
13261
13261
  }
13262
13262
  }
13263
13263
  Yt(zp, u);
@@ -13279,8 +13279,8 @@ const tc = Symbol("TabsSSRContext"), k_ = /* @__PURE__ */ pe({
13279
13279
  if (!a.value || l.value == null || u.tabs.value.length <= 0)
13280
13280
  return;
13281
13281
  const p = Ao(u.tabs.value, Re);
13282
- p.some((E, k) => Re(u.tabs.value[k]) !== Re(E)) && u.setSelectedIndex(
13283
- p.findIndex((E) => Re(E) === Re(u.tabs.value[l.value]))
13282
+ p.some((_, k) => Re(u.tabs.value[k]) !== Re(_)) && u.setSelectedIndex(
13283
+ p.findIndex((_) => Re(_) === Re(u.tabs.value[l.value]))
13284
13284
  );
13285
13285
  }), () => {
13286
13286
  const p = { selectedIndex: o.value };
@@ -13288,9 +13288,9 @@ const tc = Symbol("TabsSSRContext"), k_ = /* @__PURE__ */ pe({
13288
13288
  s.value.length <= 0 && pt(E_, {
13289
13289
  onFocus: () => {
13290
13290
  for (const v of s.value) {
13291
- const E = Re(v);
13292
- if ((E == null ? void 0 : E.tabIndex) === 0)
13293
- return E.focus(), !0;
13291
+ const _ = Re(v);
13292
+ if ((_ == null ? void 0 : _.tabIndex) === 0)
13293
+ return _.focus(), !0;
13294
13294
  }
13295
13295
  return !1;
13296
13296
  }
@@ -13343,58 +13343,58 @@ const tc = Symbol("TabsSSRContext"), k_ = /* @__PURE__ */ pe({
13343
13343
  r({ el: s, $el: s }), ze(() => o.registerTab(s)), zt(() => o.unregisterTab(s));
13344
13344
  const i = me(tc), a = G(() => {
13345
13345
  if (i.value) {
13346
- const E = i.value.tabs.indexOf(e.id);
13347
- return E === -1 ? i.value.tabs.push(e.id) - 1 : E;
13346
+ const _ = i.value.tabs.indexOf(e.id);
13347
+ return _ === -1 ? i.value.tabs.push(e.id) - 1 : _;
13348
13348
  }
13349
13349
  return -1;
13350
13350
  }), l = G(() => {
13351
- const E = o.tabs.value.indexOf(s);
13352
- return E === -1 ? a.value : E;
13351
+ const _ = o.tabs.value.indexOf(s);
13352
+ return _ === -1 ? a.value : _;
13353
13353
  }), u = G(() => l.value === o.selectedIndex.value);
13354
- function c(E) {
13354
+ function c(_) {
13355
13355
  var R;
13356
- const k = E();
13356
+ const k = _();
13357
13357
  if (k === Ro.Success && o.activation.value === "auto") {
13358
13358
  const W = (R = os(s)) == null ? void 0 : R.activeElement, U = o.tabs.value.findIndex((F) => Re(F) === W);
13359
13359
  U !== -1 && o.setSelectedIndex(U);
13360
13360
  }
13361
13361
  return k;
13362
13362
  }
13363
- function d(E) {
13363
+ function d(_) {
13364
13364
  const k = o.tabs.value.map((W) => Re(W)).filter(Boolean);
13365
- if (E.key === sn.Space || E.key === sn.Enter) {
13366
- E.preventDefault(), E.stopPropagation(), o.setSelectedIndex(l.value);
13365
+ if (_.key === sn.Space || _.key === sn.Enter) {
13366
+ _.preventDefault(), _.stopPropagation(), o.setSelectedIndex(l.value);
13367
13367
  return;
13368
13368
  }
13369
- switch (E.key) {
13369
+ switch (_.key) {
13370
13370
  case sn.Home:
13371
13371
  case sn.PageUp:
13372
- return E.preventDefault(), E.stopPropagation(), c(() => In(k, _t.First));
13372
+ return _.preventDefault(), _.stopPropagation(), c(() => In(k, _t.First));
13373
13373
  case sn.End:
13374
13374
  case sn.PageDown:
13375
- return E.preventDefault(), E.stopPropagation(), c(() => In(k, _t.Last));
13375
+ return _.preventDefault(), _.stopPropagation(), c(() => In(k, _t.Last));
13376
13376
  }
13377
13377
  if (c(
13378
13378
  () => Qt(o.orientation.value, {
13379
13379
  vertical() {
13380
- return E.key === sn.ArrowUp ? In(k, _t.Previous | _t.WrapAround) : E.key === sn.ArrowDown ? In(k, _t.Next | _t.WrapAround) : Ro.Error;
13380
+ return _.key === sn.ArrowUp ? In(k, _t.Previous | _t.WrapAround) : _.key === sn.ArrowDown ? In(k, _t.Next | _t.WrapAround) : Ro.Error;
13381
13381
  },
13382
13382
  horizontal() {
13383
- return E.key === sn.ArrowLeft ? In(k, _t.Previous | _t.WrapAround) : E.key === sn.ArrowRight ? In(k, _t.Next | _t.WrapAround) : Ro.Error;
13383
+ return _.key === sn.ArrowLeft ? In(k, _t.Previous | _t.WrapAround) : _.key === sn.ArrowRight ? In(k, _t.Next | _t.WrapAround) : Ro.Error;
13384
13384
  }
13385
13385
  })
13386
13386
  ) === Ro.Success)
13387
- return E.preventDefault();
13387
+ return _.preventDefault();
13388
13388
  }
13389
13389
  const f = j(!1);
13390
13390
  function h() {
13391
- var E;
13392
- f.value || (f.value = !0, !e.disabled && ((E = Re(s)) == null || E.focus({ preventScroll: !0 }), o.setSelectedIndex(l.value), el(() => {
13391
+ var _;
13392
+ f.value || (f.value = !0, !e.disabled && ((_ = Re(s)) == null || _.focus({ preventScroll: !0 }), o.setSelectedIndex(l.value), el(() => {
13393
13393
  f.value = !1;
13394
13394
  })));
13395
13395
  }
13396
- function p(E) {
13397
- E.preventDefault();
13396
+ function p(_) {
13397
+ _.preventDefault();
13398
13398
  }
13399
13399
  const v = w_(
13400
13400
  G(() => ({ as: e.as, type: t.type })),
@@ -13402,7 +13402,7 @@ const tc = Symbol("TabsSSRContext"), k_ = /* @__PURE__ */ pe({
13402
13402
  );
13403
13403
  return () => {
13404
13404
  var U;
13405
- const E = { selected: u.value, disabled: e.disabled ?? !1 }, { id: k, ...R } = e, W = {
13405
+ const _ = { selected: u.value, disabled: e.disabled ?? !1 }, { id: k, ...R } = e, W = {
13406
13406
  ref: s,
13407
13407
  onKeydown: d,
13408
13408
  onMousedown: p,
@@ -13418,7 +13418,7 @@ const tc = Symbol("TabsSSRContext"), k_ = /* @__PURE__ */ pe({
13418
13418
  return Dt({
13419
13419
  ourProps: W,
13420
13420
  theirProps: R,
13421
- slot: E,
13421
+ slot: _,
13422
13422
  attrs: t,
13423
13423
  slots: n,
13424
13424
  name: "Tab"
@@ -13635,22 +13635,22 @@ const qp = Xo.RenderStrategy, mu = /* @__PURE__ */ pe({
13635
13635
  );
13636
13636
  const c = j(null), d = G(() => e.unmount ? Cr.Unmount : Cr.Hidden);
13637
13637
  o({ el: c, $el: c });
13638
- const { show: f, appear: h } = $_(), { register: p, unregister: v } = A_(), E = j(
13638
+ const { show: f, appear: h } = $_(), { register: p, unregister: v } = A_(), _ = j(
13639
13639
  f.value ? "visible" : "hidden"
13640
13640
  /* Hidden */
13641
13641
  ), k = { value: !0 }, R = vo(), W = { value: !1 }, U = Hp(() => {
13642
- !W.value && E.value !== "hidden" && (E.value = "hidden", v(R), u());
13642
+ !W.value && _.value !== "hidden" && (_.value = "hidden", v(R), u());
13643
13643
  });
13644
13644
  ze(() => {
13645
13645
  const ie = p(R);
13646
13646
  zt(ie);
13647
13647
  }), en(() => {
13648
13648
  if (d.value === Cr.Hidden && R) {
13649
- if (f.value && E.value !== "visible") {
13650
- E.value = "visible";
13649
+ if (f.value && _.value !== "visible") {
13650
+ _.value = "visible";
13651
13651
  return;
13652
13652
  }
13653
- Qt(E.value, {
13653
+ Qt(_.value, {
13654
13654
  hidden: () => v(R),
13655
13655
  visible: () => p(R)
13656
13656
  });
@@ -13659,7 +13659,7 @@ const qp = Xo.RenderStrategy, mu = /* @__PURE__ */ pe({
13659
13659
  const F = qr(e.enter), I = qr(e.enterFrom), y = qr(e.enterTo), P = qr(e.entered), D = qr(e.leave), A = qr(e.leaveFrom), T = qr(e.leaveTo);
13660
13660
  ze(() => {
13661
13661
  en(() => {
13662
- if (E.value === "visible") {
13662
+ if (_.value === "visible") {
13663
13663
  const ie = Re(c);
13664
13664
  if (ie instanceof Comment && ie.data === "")
13665
13665
  throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
@@ -13685,7 +13685,7 @@ const qp = Xo.RenderStrategy, mu = /* @__PURE__ */ pe({
13685
13685
  T,
13686
13686
  P,
13687
13687
  (H) => {
13688
- W.value = !1, H === pu.Finished && (nl(U) || (E.value = "hidden", v(R), u()));
13688
+ W.value = !1, H === pu.Finished && (nl(U) || (_.value = "hidden", v(R), u()));
13689
13689
  }
13690
13690
  )
13691
13691
  ));
@@ -13700,7 +13700,7 @@ const qp = Xo.RenderStrategy, mu = /* @__PURE__ */ pe({
13700
13700
  );
13701
13701
  }), Yt(rc, U), u_(
13702
13702
  G(
13703
- () => Qt(E.value, {
13703
+ () => Qt(_.value, {
13704
13704
  visible: Kt.Open,
13705
13705
  hidden: Kt.Closed
13706
13706
  }) | s.value
@@ -13738,7 +13738,7 @@ const qp = Xo.RenderStrategy, mu = /* @__PURE__ */ pe({
13738
13738
  slots: r,
13739
13739
  attrs: n,
13740
13740
  features: qp,
13741
- visible: E.value === "visible",
13741
+ visible: _.value === "visible",
13742
13742
  name: "TransitionChild"
13743
13743
  });
13744
13744
  };
@@ -14257,7 +14257,7 @@ const nt = /* @__PURE__ */ dr(tw, [["render", rw]]), ow = ["data-contain"], sw =
14257
14257
  default: x(() => {
14258
14258
  var u, c, d;
14259
14259
  return [
14260
- w(g(v_), {
14260
+ E(g(v_), {
14261
14261
  as: "div",
14262
14262
  class: "moonbase:drawer",
14263
14263
  "data-contain": !!((u = g(r)) != null && u.target) || void 0,
@@ -14272,11 +14272,11 @@ const nt = /* @__PURE__ */ dr(tw, [["render", rw]]), ow = ["data-contain"], sw =
14272
14272
  class: "moonbase:drawer-container",
14273
14273
  "data-contain": !!((f = g(r)) != null && f.target) || void 0
14274
14274
  }, [
14275
- w(g(mu), { as: "template" }, {
14275
+ E(g(mu), { as: "template" }, {
14276
14276
  default: x(() => {
14277
14277
  var h;
14278
14278
  return [
14279
- w(g(y_), {
14279
+ E(g(y_), {
14280
14280
  class: "moonbase:drawer-overlay",
14281
14281
  "data-contain": !!((h = g(r)) != null && h.target) || void 0
14282
14282
  }, null, 8, ["data-contain"])
@@ -14284,17 +14284,17 @@ const nt = /* @__PURE__ */ dr(tw, [["render", rw]]), ow = ["data-contain"], sw =
14284
14284
  }),
14285
14285
  _: 1
14286
14286
  }),
14287
- w(g(mu), { as: "template" }, {
14287
+ E(g(mu), { as: "template" }, {
14288
14288
  default: x(() => {
14289
14289
  var h, p;
14290
14290
  return [
14291
- w(g(__), {
14291
+ E(g(__), {
14292
14292
  class: "moonbase:drawer-panel",
14293
14293
  "data-contain": !!((h = g(r)) != null && h.target) || void 0,
14294
14294
  "data-background": (p = g(r)) == null ? void 0 : p.theme.colors.background
14295
14295
  }, {
14296
14296
  default: x(() => {
14297
- var v, E;
14297
+ var v, _;
14298
14298
  return [
14299
14299
  L("div", sw, [
14300
14300
  g(t).history.length > 0 ? (m(), q(Ho, {
@@ -14303,7 +14303,7 @@ const nt = /* @__PURE__ */ dr(tw, [["render", rw]]), ow = ["data-contain"], sw =
14303
14303
  onClick: l[0] || (l[0] = (k) => g(t).back())
14304
14304
  }, {
14305
14305
  default: x(() => [
14306
- w(g(M_))
14306
+ E(g(M_))
14307
14307
  ]),
14308
14308
  _: 1
14309
14309
  })) : (m(), q(Ho, {
@@ -14312,7 +14312,7 @@ const nt = /* @__PURE__ */ dr(tw, [["render", rw]]), ow = ["data-contain"], sw =
14312
14312
  onClick: l[1] || (l[1] = (k) => g(t).reset())
14313
14313
  }, {
14314
14314
  default: x(() => [
14315
- w(g(Y_))
14315
+ E(g(Y_))
14316
14316
  ]),
14317
14317
  _: 1
14318
14318
  })),
@@ -14322,12 +14322,12 @@ const nt = /* @__PURE__ */ dr(tw, [["render", rw]]), ow = ["data-contain"], sw =
14322
14322
  onClick: i
14323
14323
  }, {
14324
14324
  default: x(() => [
14325
- w(g(Z_))
14325
+ E(g(Z_))
14326
14326
  ]),
14327
14327
  _: 1
14328
14328
  })) : ne("", !0)
14329
14329
  ]),
14330
- w(g(Fp), { as: ew }, {
14330
+ E(g(Fp), { as: ew }, {
14331
14331
  default: x(() => [
14332
14332
  $(M(o.value) + " ", 1),
14333
14333
  s.value ? (m(), q(nt, { key: 0 }, {
@@ -14341,9 +14341,9 @@ const nt = /* @__PURE__ */ dr(tw, [["render", rw]]), ow = ["data-contain"], sw =
14341
14341
  }),
14342
14342
  L("div", {
14343
14343
  class: "moonbase:drawer-content",
14344
- "data-background": (E = g(r)) == null ? void 0 : E.theme.colors.background
14344
+ "data-background": (_ = g(r)) == null ? void 0 : _.theme.colors.background
14345
14345
  }, [
14346
- w(xi, {
14346
+ E(xi, {
14347
14347
  name: g(t).direction === g(Xu).Forward ? "moonbase:slide-left" : "moonbase:slide-right",
14348
14348
  mode: "out-in"
14349
14349
  }, {
@@ -14421,7 +14421,7 @@ const Pr = /* @__PURE__ */ dr(lw, [["render", cw]]), dw = ["data-visible", "data
14421
14421
  disabled: !g(r).loaded,
14422
14422
  onClick: a
14423
14423
  }, [
14424
- w(Pr, null, {
14424
+ E(Pr, null, {
14425
14425
  default: x(() => u[2] || (u[2] = [
14426
14426
  $("Log in")
14427
14427
  ])),
@@ -14434,11 +14434,11 @@ const Pr = /* @__PURE__ */ dr(lw, [["render", cw]]), dw = ["data-visible", "data
14434
14434
  type: "button",
14435
14435
  onClick: a
14436
14436
  }, [
14437
- w(Pr, null, {
14437
+ E(Pr, null, {
14438
14438
  default: x(() => {
14439
- var E;
14439
+ var _;
14440
14440
  return [
14441
- $(M((E = g(r).user.value) == null ? void 0 : E.name), 1)
14441
+ $(M((_ = g(r).user.value) == null ? void 0 : _.name), 1)
14442
14442
  ];
14443
14443
  }),
14444
14444
  _: 1
@@ -14448,9 +14448,9 @@ const Pr = /* @__PURE__ */ dr(lw, [["render", cw]]), dw = ["data-visible", "data
14448
14448
  key: 3,
14449
14449
  class: "moonbase:toolbar-action",
14450
14450
  type: "button",
14451
- onClick: u[0] || (u[0] = (E) => g(n).show(g(ue).Cart, g(ee).AddToCart))
14451
+ onClick: u[0] || (u[0] = (_) => g(n).show(g(ue).Cart, g(ee).AddToCart))
14452
14452
  }, [
14453
- w(Pr, null, {
14453
+ E(Pr, null, {
14454
14454
  default: x(() => u[3] || (u[3] = [
14455
14455
  $(" Cart ")
14456
14456
  ])),
@@ -14521,7 +14521,7 @@ function bw() {
14521
14521
  /^product\.[a-z][a-z0-9\-]+[a-z0-9]\.owned$/,
14522
14522
  /^bundle\.[a-z][a-z0-9\-]+[a-z0-9]$/,
14523
14523
  /^bundle\.[a-z][a-z0-9\-]+[a-z0-9]\.has_discount(_description)?$/
14524
- ], l = j({}), u = G(() => l.value.user || []), c = G(() => l.value.cart || []), d = G(() => l.value.product || []), f = G(() => l.value.bundle || []), h = rt(), { currency: p, items: v } = Wn(), E = s1(), k = Qy();
14524
+ ], l = j({}), u = G(() => l.value.user || []), c = G(() => l.value.cart || []), d = G(() => l.value.product || []), f = G(() => l.value.bundle || []), h = rt(), { currency: p, items: v } = Wn(), _ = s1(), k = Qy();
14525
14525
  Ke([r, u, h.user], ([U, F, I]) => {
14526
14526
  if (U) {
14527
14527
  for (const y of U)
@@ -14565,7 +14565,7 @@ function bw() {
14565
14565
  P[0].startsWith("!") && (A = !A), y.dataset.moonbaseOriginalHidden || (y.dataset.moonbaseOriginalHidden = y.hidden ? "true" : "false"), A ? y.hidden = !1 : y.hidden = !0;
14566
14566
  }
14567
14567
  }
14568
- }, { immediate: !0, deep: !0 }), Ke([s, d, E, p], ([U, F, I, y]) => {
14568
+ }, { immediate: !0, deep: !0 }), Ke([s, d, _, p], ([U, F, I, y]) => {
14569
14569
  var P, D, A, T, V, ie, xe, C, H;
14570
14570
  if (U) {
14571
14571
  for (const B of U) {
@@ -15195,13 +15195,13 @@ const sc = (...e) => {
15195
15195
  const [t, n, r] = e, [o, s, i] = Sw(t, n, r), [a, l, u] = tm(o, s, i);
15196
15196
  return [a, l, u, e.length > 3 ? e[3] : 1];
15197
15197
  }, Sw = (e, t, n) => {
15198
- const { kE: r, kK: o, kKE: s, Xn: i, Yn: a, Zn: l } = Bn, u = (e + 16) / 116, c = 2e-3 * t + u, d = u - 5e-3 * n, f = c * c * c, h = d * d * d, p = f > r ? f : (116 * c - 16) / o, v = e > s ? Math.pow((e + 16) / 116, 3) : e / o, E = h > r ? h : (116 * d - 16) / o, k = p * i, R = v * a, W = E * l;
15198
+ const { kE: r, kK: o, kKE: s, Xn: i, Yn: a, Zn: l } = Bn, u = (e + 16) / 116, c = 2e-3 * t + u, d = u - 5e-3 * n, f = c * c * c, h = d * d * d, p = f > r ? f : (116 * c - 16) / o, v = e > s ? Math.pow((e + 16) / 116, 3) : e / o, _ = h > r ? h : (116 * d - 16) / o, k = p * i, R = v * a, W = _ * l;
15199
15199
  return [k, R, W];
15200
15200
  }, Cl = (e) => {
15201
15201
  const t = Math.sign(e);
15202
15202
  return e = Math.abs(e), (e <= 31308e-7 ? e * 12.92 : 1.055 * Math.pow(e, 1 / 2.4) - 0.055) * t;
15203
15203
  }, tm = (e, t, n) => {
15204
- const { MtxAdaptMa: r, MtxAdaptMaI: o, MtxXYZ2RGB: s, RefWhiteRGB: i, Xn: a, Yn: l, Zn: u } = Bn, c = a * r.m00 + l * r.m10 + u * r.m20, d = a * r.m01 + l * r.m11 + u * r.m21, f = a * r.m02 + l * r.m12 + u * r.m22, h = i.X * r.m00 + i.Y * r.m10 + i.Z * r.m20, p = i.X * r.m01 + i.Y * r.m11 + i.Z * r.m21, v = i.X * r.m02 + i.Y * r.m12 + i.Z * r.m22, E = (e * r.m00 + t * r.m10 + n * r.m20) * (h / c), k = (e * r.m01 + t * r.m11 + n * r.m21) * (p / d), R = (e * r.m02 + t * r.m12 + n * r.m22) * (v / f), W = E * o.m00 + k * o.m10 + R * o.m20, U = E * o.m01 + k * o.m11 + R * o.m21, F = E * o.m02 + k * o.m12 + R * o.m22, I = Cl(
15204
+ const { MtxAdaptMa: r, MtxAdaptMaI: o, MtxXYZ2RGB: s, RefWhiteRGB: i, Xn: a, Yn: l, Zn: u } = Bn, c = a * r.m00 + l * r.m10 + u * r.m20, d = a * r.m01 + l * r.m11 + u * r.m21, f = a * r.m02 + l * r.m12 + u * r.m22, h = i.X * r.m00 + i.Y * r.m10 + i.Z * r.m20, p = i.X * r.m01 + i.Y * r.m11 + i.Z * r.m21, v = i.X * r.m02 + i.Y * r.m12 + i.Z * r.m22, _ = (e * r.m00 + t * r.m10 + n * r.m20) * (h / c), k = (e * r.m01 + t * r.m11 + n * r.m21) * (p / d), R = (e * r.m02 + t * r.m12 + n * r.m22) * (v / f), W = _ * o.m00 + k * o.m10 + R * o.m20, U = _ * o.m01 + k * o.m11 + R * o.m21, F = _ * o.m02 + k * o.m12 + R * o.m22, I = Cl(
15205
15205
  W * s.m00 + U * s.m10 + F * s.m20
15206
15206
  ), y = Cl(
15207
15207
  W * s.m01 + U * s.m11 + F * s.m21
@@ -15225,9 +15225,9 @@ const nm = (e, t, n) => {
15225
15225
  e = Nl(e / 255), t = Nl(t / 255), n = Nl(n / 255);
15226
15226
  const { MtxRGB2XYZ: r, MtxAdaptMa: o, MtxAdaptMaI: s, Xn: i, Yn: a, Zn: l, As: u, Bs: c, Cs: d } = Bn;
15227
15227
  let f = e * r.m00 + t * r.m10 + n * r.m20, h = e * r.m01 + t * r.m11 + n * r.m21, p = e * r.m02 + t * r.m12 + n * r.m22;
15228
- const v = i * o.m00 + a * o.m10 + l * o.m20, E = i * o.m01 + a * o.m11 + l * o.m21, k = i * o.m02 + a * o.m12 + l * o.m22;
15228
+ const v = i * o.m00 + a * o.m10 + l * o.m20, _ = i * o.m01 + a * o.m11 + l * o.m21, k = i * o.m02 + a * o.m12 + l * o.m22;
15229
15229
  let R = f * o.m00 + h * o.m10 + p * o.m20, W = f * o.m01 + h * o.m11 + p * o.m21, U = f * o.m02 + h * o.m12 + p * o.m22;
15230
- return R *= v / u, W *= E / c, U *= k / d, f = R * s.m00 + W * s.m10 + U * s.m20, h = R * s.m01 + W * s.m11 + U * s.m21, p = R * s.m02 + W * s.m12 + U * s.m22, [f, h, p];
15230
+ return R *= v / u, W *= _ / c, U *= k / d, f = R * s.m00 + W * s.m10 + U * s.m20, h = R * s.m01 + W * s.m11 + U * s.m21, p = R * s.m02 + W * s.m12 + U * s.m22, [f, h, p];
15231
15231
  };
15232
15232
  Q.prototype.lab = function() {
15233
15233
  return ic(this._rgb);
@@ -15729,7 +15729,7 @@ const { pow: $l, sqrt: Al, PI: Dl, cos: Td, sin: $d, atan2: _2 } = Math, w2 = (e
15729
15729
  }, { pow: k2 } = Math;
15730
15730
  function Ta(e) {
15731
15731
  let t = "rgb", n = Me("#ccc"), r = 0, o = [0, 1], s = [], i = [0, 0], a = !1, l = [], u = !1, c = 0, d = 1, f = !1, h = {}, p = !0, v = 1;
15732
- const E = function(y) {
15732
+ const _ = function(y) {
15733
15733
  if (y = y || ["#fff", "#000"], y && Le(y) === "string" && Me.brewer && Me.brewer[y.toLowerCase()] && (y = Me.brewer[y.toLowerCase()]), Le(y) === "array") {
15734
15734
  y.length === 1 && (y = [y[0], y[0]]), y = y.slice(0);
15735
15735
  for (let P = 0; P < y.length; P++)
@@ -15786,7 +15786,7 @@ function Ta(e) {
15786
15786
  return D;
15787
15787
  };
15788
15788
  var F = () => h = {};
15789
- E(e);
15789
+ _(e);
15790
15790
  const I = function(y) {
15791
15791
  const P = Me(U(y));
15792
15792
  return u && P[u] ? P[u]() : P;
@@ -15828,7 +15828,7 @@ function Ta(e) {
15828
15828
  }, I.mode = function(y) {
15829
15829
  return arguments.length ? (t = y, F(), I) : t;
15830
15830
  }, I.range = function(y, P) {
15831
- return E(y), I;
15831
+ return _(y), I;
15832
15832
  }, I.out = function(y) {
15833
15833
  return u = y, I;
15834
15834
  }, I.spread = function(y) {
@@ -15976,8 +15976,8 @@ function U2(e = 300, t = -1.5, n = 1, r = 1, o = [0, 1]) {
15976
15976
  let s = 0, i;
15977
15977
  Le(o) === "array" ? i = o[1] - o[0] : (i = 0, o = [o, o]);
15978
15978
  const a = function(l) {
15979
- const u = Qn * ((e + 120) / 360 + t * l), c = R2(o[0] + i * l, r), f = (s !== 0 ? n[0] + l * s : n) * c * (1 - c) / 2, h = j2(u), p = L2(u), v = c + f * (-0.14861 * h + 1.78277 * p), E = c + f * (-0.29227 * h - 0.90649 * p), k = c + f * (1.97294 * h);
15980
- return Me(oc([v * 255, E * 255, k * 255, 1]));
15979
+ const u = Qn * ((e + 120) / 360 + t * l), c = R2(o[0] + i * l, r), f = (s !== 0 ? n[0] + l * s : n) * c * (1 - c) / 2, h = j2(u), p = L2(u), v = c + f * (-0.14861 * h + 1.78277 * p), _ = c + f * (-0.29227 * h - 0.90649 * p), k = c + f * (1.97294 * h);
15980
+ return Me(oc([v * 255, _ * 255, k * 255, 1]));
15981
15981
  };
15982
15982
  return a.start = function(l) {
15983
15983
  return l == null ? e : (e = l, a);
@@ -16047,8 +16047,8 @@ function um(e, t = "equal", n = 7) {
16047
16047
  const l = s.length, u = new Array(l), c = new Array(n);
16048
16048
  let d = !0, f = 0, h = null;
16049
16049
  h = [], h.push(r);
16050
- for (let E = 1; E < n; E++)
16051
- h.push(r + E / n * (o - r));
16050
+ for (let _ = 1; _ < n; _++)
16051
+ h.push(r + _ / n * (o - r));
16052
16052
  for (h.push(o); d; ) {
16053
16053
  for (let k = 0; k < n; k++)
16054
16054
  c[k] = 0;
@@ -16060,32 +16060,32 @@ function um(e, t = "equal", n = 7) {
16060
16060
  I < W && (W = I, U = F), c[U]++, u[k] = U;
16061
16061
  }
16062
16062
  }
16063
- const E = new Array(n);
16063
+ const _ = new Array(n);
16064
16064
  for (let k = 0; k < n; k++)
16065
- E[k] = null;
16065
+ _[k] = null;
16066
16066
  for (let k = 0; k < l; k++)
16067
- a = u[k], E[a] === null ? E[a] = s[k] : E[a] += s[k];
16067
+ a = u[k], _[a] === null ? _[a] = s[k] : _[a] += s[k];
16068
16068
  for (let k = 0; k < n; k++)
16069
- E[k] *= 1 / c[k];
16069
+ _[k] *= 1 / c[k];
16070
16070
  d = !1;
16071
16071
  for (let k = 0; k < n; k++)
16072
- if (E[k] !== h[k]) {
16072
+ if (_[k] !== h[k]) {
16073
16073
  d = !0;
16074
16074
  break;
16075
16075
  }
16076
- h = E, f++, f > 200 && (d = !1);
16076
+ h = _, f++, f > 200 && (d = !1);
16077
16077
  }
16078
16078
  const p = {};
16079
- for (let E = 0; E < n; E++)
16080
- p[E] = [];
16081
- for (let E = 0; E < l; E++)
16082
- a = u[E], p[a].push(s[E]);
16079
+ for (let _ = 0; _ < n; _++)
16080
+ p[_] = [];
16081
+ for (let _ = 0; _ < l; _++)
16082
+ a = u[_], p[a].push(s[_]);
16083
16083
  let v = [];
16084
- for (let E = 0; E < n; E++)
16085
- v.push(p[E][0]), v.push(p[E][p[E].length - 1]);
16086
- v = v.sort((E, k) => E - k), i.push(v[0]);
16087
- for (let E = 1; E < v.length; E += 2) {
16088
- const k = v[E];
16084
+ for (let _ = 0; _ < n; _++)
16085
+ v.push(p[_][0]), v.push(p[_][p[_].length - 1]);
16086
+ v = v.sort((_, k) => _ - k), i.push(v[0]);
16087
+ for (let _ = 1; _ < v.length; _ += 2) {
16088
+ const k = v[_];
16089
16089
  !isNaN(k) && i.indexOf(k) === -1 && i.push(k);
16090
16090
  }
16091
16091
  }
@@ -16125,7 +16125,7 @@ function tE(e, t, n = 1, r = 1, o = 1) {
16125
16125
  return 2 * Ud * Te / 360;
16126
16126
  };
16127
16127
  e = new Q(e), t = new Q(t);
16128
- const [a, l, u] = Array.from(e.lab()), [c, d, f] = Array.from(t.lab()), h = (a + c) / 2, p = Kn(ft(l, 2) + ft(u, 2)), v = Kn(ft(d, 2) + ft(f, 2)), E = (p + v) / 2, k = 0.5 * (1 - Kn(ft(E, 7) / (ft(E, 7) + ft(25, 7)))), R = l * (1 + k), W = d * (1 + k), U = Kn(ft(R, 2) + ft(u, 2)), F = Kn(ft(W, 2) + ft(f, 2)), I = (U + F) / 2, y = s(Rd(u, R)), P = s(Rd(f, W)), D = y >= 0 ? y : y + 360, A = P >= 0 ? P : P + 360, T = Ld(D - A) > 180 ? (D + A + 360) / 2 : (D + A) / 2, V = 1 - 0.17 * Fi(i(T - 30)) + 0.24 * Fi(i(2 * T)) + 0.32 * Fi(i(3 * T + 6)) - 0.2 * Fi(i(4 * T - 63));
16128
+ const [a, l, u] = Array.from(e.lab()), [c, d, f] = Array.from(t.lab()), h = (a + c) / 2, p = Kn(ft(l, 2) + ft(u, 2)), v = Kn(ft(d, 2) + ft(f, 2)), _ = (p + v) / 2, k = 0.5 * (1 - Kn(ft(_, 7) / (ft(_, 7) + ft(25, 7)))), R = l * (1 + k), W = d * (1 + k), U = Kn(ft(R, 2) + ft(u, 2)), F = Kn(ft(W, 2) + ft(f, 2)), I = (U + F) / 2, y = s(Rd(u, R)), P = s(Rd(f, W)), D = y >= 0 ? y : y + 360, A = P >= 0 ? P : P + 360, T = Ld(D - A) > 180 ? (D + A + 360) / 2 : (D + A) / 2, V = 1 - 0.17 * Fi(i(T - 30)) + 0.24 * Fi(i(2 * T)) + 0.32 * Fi(i(3 * T + 6)) - 0.2 * Fi(i(4 * T - 63));
16129
16129
  let ie = A - D;
16130
16130
  ie = Ld(ie) <= 180 ? ie : A <= D ? ie + 360 : ie - 360, ie = 2 * Kn(U * F) * jd(i(ie) / 2);
16131
16131
  const xe = c - a, C = F - U, H = 1 + 0.015 * ft(h - 50, 2) / Kn(20 + ft(h - 50, 2)), B = 1 + 0.045 * I, re = 1 + 0.015 * I * V, be = 30 * eE(-ft((T - 275) / 25, 2)), he = -(2 * Kn(ft(I, 7) / (ft(I, 7) + ft(25, 7)))) * jd(2 * i(be)), we = Kn(
@@ -17464,23 +17464,23 @@ function DE(e, t) {
17464
17464
  const Pe = /* @__PURE__ */ dr($E, [["render", DE]]), IE = { class: "moonbase:about" }, ME = /* @__PURE__ */ pe({
17465
17465
  __name: "About",
17466
17466
  setup(e) {
17467
- const t = Ae(), n = "0.4.65";
17467
+ const t = Ae(), n = "0.4.66";
17468
17468
  return (r, o) => (m(), O("div", IE, [
17469
17469
  o[2] || (o[2] = lp('<svg viewBox="0 0 512 512" height="56px" width="56px"><g><path fill="currentColor" d="m493.17795,174.6135c6.257,75.3 -30.577,150.948 -100.579,190.758c-66.292,37.697 -145.001,33.405 -205.402,-4.415c0.409,-1.248 0.638,-2.577 0.638,-3.96c0,-7.026 -5.717,-12.743 -12.743,-12.743c-2.876,0 -5.524,0.969 -7.659,2.582c-18.813,-15.259 -35.159,-34.207 -47.856,-56.534c-54.663,-96.122 -21.054,-218.358 75.069,-273.021a201.218,201.218 0 0 1 33.302,-15.124c-32.428,3.667 -64.663,13.809 -94.827,30.962c-104.526,59.443 -149.511,183.241 -113.473,293.249c-3.376,3.057 -5.513,7.459 -5.513,12.362c0,9.207 7.491,16.698 16.698,16.698c0.136,0 0.267,-0.017 0.401,-0.02a252.205,252.205 0 0 0 8.683,16.691c67.869,119.344 219.635,161.073 338.98,93.204a250.416,250.416 0 0 0 32.893,-22.333c1.045,0.331 2.157,0.513 3.311,0.513c6.047,0 10.968,-4.921 10.968,-10.968c0,-0.605 -0.063,-1.196 -0.157,-1.775c69.545,-64.988 96.008,-165.054 67.266,-256.126m-446.526,25.112a5.071,5.071 0 0 1 -5.066,-5.066a5.072,5.072 0 0 1 5.066,-5.067a5.073,5.073 0 0 1 5.066,5.067a5.072,5.072 0 0 1 -5.066,5.066m-15.819,153.944c-8.238,0 -14.94,-6.702 -14.94,-14.94c0,-8.239 6.702,-14.941 14.94,-14.941c8.239,0 14.941,6.702 14.941,14.941c-0.001,8.238 -6.703,14.94 -14.941,14.94m144.258,-7.659c6.057,0 10.985,4.928 10.985,10.986c0,6.058 -4.928,10.985 -10.985,10.985c-6.058,0 -10.986,-4.928 -10.986,-10.985c0.001,-6.059 4.928,-10.986 10.986,-10.986m70.829,133.004c-5.079,0 -9.21,-4.132 -9.21,-9.21c0,-5.079 4.131,-9.21 9.21,-9.21c5.078,0 9.209,4.131 9.209,9.21c0,5.078 -4.13,9.21 -9.209,9.21m169.18,-37.289c-5.078,0 -9.209,-4.132 -9.209,-9.21s4.131,-9.209 9.209,-9.209s9.21,4.131 9.21,9.209s-4.132,9.21 -9.21,9.21"></path><path fill="currentColor" d="m144.78195,275.9675c46.746,82.201 151.278,110.943 233.48,64.197c59.864,-34.044 91.363,-98.736 86.013,-163.13a170.094,170.094 0 0 0 -5.515,-31.052c-23.045,0.567 -63.864,10.137 -104.194,61.671c-52.045,66.5 -186.285,49.153 -228.855,17.372c3.503,17.443 9.796,34.632 19.071,50.942m233.513,-65.677a8.663,8.663 0 1 1 -8.663,8.663a8.662,8.662 0 0 1 8.663,-8.663m-37.006,62.618c7.02,0 12.712,5.691 12.712,12.712s-5.692,12.712 -12.712,12.712c-7.021,0 -12.712,-5.691 -12.712,-12.712s5.691,-12.712 12.712,-12.712m-102.544,12.712a6.78,6.78 0 1 1 0,13.56a6.78,6.78 0 0 1 0,-13.56"></path><ellipse fill="currentColor" ry="7.3075" rx="7.3075" cy="152.05851" cx="251.33138"></ellipse><ellipse fill="currentColor" ry="5.35076" rx="5.35076" cy="210.31151" cx="204.89499"></ellipse><ellipse fill="currentColor" ry="12.09273" rx="12.09273" cy="200.15625" cx="302.28597"></ellipse></g></svg>', 1)),
17470
- w(g(Fp), { as: "h3" }, {
17470
+ E(g(Fp), { as: "h3" }, {
17471
17471
  default: x(() => o[0] || (o[0] = [
17472
17472
  $(" Moonbase Embedded Storefront ")
17473
17473
  ])),
17474
17474
  _: 1,
17475
17475
  __: [0]
17476
17476
  }),
17477
- w(Pe, null, {
17477
+ E(Pe, null, {
17478
17478
  default: x(() => [
17479
17479
  $(" Version " + M(g(n)), 1)
17480
17480
  ]),
17481
17481
  _: 1
17482
17482
  }),
17483
- w(tt, null, {
17483
+ E(tt, null, {
17484
17484
  default: x(() => o[1] || (o[1] = [
17485
17485
  $(" This store is using the "),
17486
17486
  L("a", {
@@ -17492,7 +17492,7 @@ const Pe = /* @__PURE__ */ dr($E, [["render", DE]]), IE = { class: "moonbase:abo
17492
17492
  _: 1,
17493
17493
  __: [1]
17494
17494
  }),
17495
- w(Ge, {
17495
+ E(Ge, {
17496
17496
  label: "Close",
17497
17497
  variant: "primary",
17498
17498
  handler: () => g(t).reset()
@@ -17551,7 +17551,7 @@ const VE = ["data-corners", "data-variant"], RE = { class: "moonbase:card-conten
17551
17551
  src: n.url,
17552
17552
  alt: ""
17553
17553
  }, null, 8, BE)) : (m(), O("div", FE, [
17554
- w(g(U_))
17554
+ E(g(U_))
17555
17555
  ]))
17556
17556
  ], 12, LE);
17557
17557
  };
@@ -17570,12 +17570,12 @@ const es = /* @__PURE__ */ dr(zE, [["render", qE]]), WE = { class: "moonbase:pro
17570
17570
  setup(e) {
17571
17571
  return (t, n) => (m(), q(nn, { class: "moonbase:product-card" }, {
17572
17572
  default: x(() => [
17573
- w(St, {
17573
+ E(St, {
17574
17574
  url: t.product.iconUrl,
17575
17575
  size: 72
17576
17576
  }, null, 8, ["url"]),
17577
17577
  L("div", WE, [
17578
- w(es, null, {
17578
+ E(es, null, {
17579
17579
  default: x(() => {
17580
17580
  var r;
17581
17581
  return [
@@ -17584,7 +17584,7 @@ const es = /* @__PURE__ */ dr(zE, [["render", qE]]), WE = { class: "moonbase:pro
17584
17584
  }),
17585
17585
  _: 1
17586
17586
  }),
17587
- w(Pe, null, {
17587
+ E(Pe, null, {
17588
17588
  default: x(() => {
17589
17589
  var r;
17590
17590
  return [
@@ -17665,7 +17665,7 @@ const es = /* @__PURE__ */ dr(zE, [["render", qE]]), WE = { class: "moonbase:pro
17665
17665
  const p = G(() => {
17666
17666
  if (i.value)
17667
17667
  return g(Ls(i.value.product.id));
17668
- }), v = G(() => p.value && p.value.defaultVariation), { currency: E, addToCart: k, setQuantity: R } = Wn();
17668
+ }), v = G(() => p.value && p.value.defaultVariation), { currency: _, addToCart: k, setQuantity: R } = Wn();
17669
17669
  function W() {
17670
17670
  t.show(ue.Product, ee.ViewProduct, { product_id: i.value.product.id });
17671
17671
  }
@@ -17697,16 +17697,16 @@ const es = /* @__PURE__ */ dr(zE, [["render", qE]]), WE = { class: "moonbase:pro
17697
17697
  var D, A, T, V, ie, xe, C;
17698
17698
  return m(), O("div", ZE, [
17699
17699
  g(a) || !g(r) || !((D = g(h)) != null && D.loadedStorefront) ? (m(), O("div", YE, [
17700
- w(tn)
17700
+ E(tn)
17701
17701
  ])) : g(c) ? (m(), O("div", GE, [
17702
- w(nt, null, {
17702
+ E(nt, null, {
17703
17703
  default: x(() => P[0] || (P[0] = [
17704
17704
  $(" Uh oh ")
17705
17705
  ])),
17706
17706
  _: 1,
17707
17707
  __: [0]
17708
17708
  }),
17709
- w(tt, null, {
17709
+ E(tt, null, {
17710
17710
  default: x(() => [
17711
17711
  $(M(g(c)), 1)
17712
17712
  ]),
@@ -17718,14 +17718,14 @@ const es = /* @__PURE__ */ dr(zE, [["render", qE]]), WE = { class: "moonbase:pro
17718
17718
  product: g(i).product
17719
17719
  }, null, 8, ["product"])) : ne("", !0),
17720
17720
  ((A = g(i)) == null ? void 0 : A.status) === g(hn).Cancelled ? (m(), O("div", JE, [
17721
- w(nt, null, {
17721
+ E(nt, null, {
17722
17722
  default: x(() => P[3] || (P[3] = [
17723
17723
  $(" Uh oh ")
17724
17724
  ])),
17725
17725
  _: 1,
17726
17726
  __: [3]
17727
17727
  }),
17728
- w(tt, null, {
17728
+ E(tt, null, {
17729
17729
  default: x(() => P[4] || (P[4] = [
17730
17730
  $(" This activation request was cancelled, open your app to try again. ")
17731
17731
  ])),
@@ -17733,22 +17733,22 @@ const es = /* @__PURE__ */ dr(zE, [["render", qE]]), WE = { class: "moonbase:pro
17733
17733
  __: [4]
17734
17734
  })
17735
17735
  ])) : g(l) || g(u) ? (m(), O("div", QE, [
17736
- w(tn),
17737
- w(tt, null, {
17736
+ E(tn),
17737
+ E(tt, null, {
17738
17738
  default: x(() => [
17739
17739
  $(" Activating " + M(g(i).product.name) + "... ", 1)
17740
17740
  ]),
17741
17741
  _: 1
17742
17742
  })
17743
17743
  ])) : ((T = g(i)) == null ? void 0 : T.status) === g(hn).Completed ? (m(), O("div", e5, [
17744
- w(nt, null, {
17744
+ E(nt, null, {
17745
17745
  default: x(() => P[5] || (P[5] = [
17746
17746
  $(" Done! ")
17747
17747
  ])),
17748
17748
  _: 1,
17749
17749
  __: [5]
17750
17750
  }),
17751
- w(tt, null, {
17751
+ E(tt, null, {
17752
17752
  default: x(() => P[6] || (P[6] = [
17753
17753
  $(" Your product is activated. "),
17754
17754
  L("br", null, null, -1),
@@ -17759,24 +17759,24 @@ const es = /* @__PURE__ */ dr(zE, [["render", qE]]), WE = { class: "moonbase:pro
17759
17759
  })
17760
17760
  ])) : (m(), O("div", t5, [
17761
17761
  v.value ? (m(), O("div", n5, [
17762
- w(nt, null, {
17762
+ E(nt, null, {
17763
17763
  default: x(() => P[7] || (P[7] = [
17764
17764
  $(" Option 1: Purchase product ")
17765
17765
  ])),
17766
17766
  _: 1,
17767
17767
  __: [7]
17768
17768
  }),
17769
- w(tt, null, {
17769
+ E(tt, null, {
17770
17770
  default: x(() => [
17771
17771
  $(" Buy a copy of " + M(p.value.name) + " for ", 1),
17772
- L("strong", null, M(g(Ot)(p.value.defaultVariation.price[g(E)], g(E))), 1),
17772
+ L("strong", null, M(g(Ot)(p.value.defaultVariation.price[g(_)], g(_))), 1),
17773
17773
  P[8] || (P[8] = $(". "))
17774
17774
  ]),
17775
17775
  _: 1,
17776
17776
  __: [8]
17777
17777
  }),
17778
17778
  L("span", r5, [
17779
- w(Ge, {
17779
+ E(Ge, {
17780
17780
  label: "Purchase",
17781
17781
  variant: "primary",
17782
17782
  handler: () => F()
@@ -17784,13 +17784,13 @@ const es = /* @__PURE__ */ dr(zE, [["render", qE]]), WE = { class: "moonbase:pro
17784
17784
  ])
17785
17785
  ])) : ne("", !0),
17786
17786
  g(n) ? !g(n).ownedProducts || !((V = g(n).ownedProducts) != null && V.includes(g(i).product.id)) && !g(n).subscribedProducts || !((ie = g(n).subscribedProducts) != null && ie.includes(g(i).product.id)) ? (m(), O("div", i5, [
17787
- w(nt, null, {
17787
+ E(nt, null, {
17788
17788
  default: x(() => [
17789
17789
  $(" Option " + M(v.value ? "2" : "1") + ": Use license ", 1)
17790
17790
  ]),
17791
17791
  _: 1
17792
17792
  }),
17793
- w(tt, null, {
17793
+ E(tt, null, {
17794
17794
  default: x(() => P[10] || (P[10] = [
17795
17795
  $(" You don't own any licenses for this product. ")
17796
17796
  ])),
@@ -17798,13 +17798,13 @@ const es = /* @__PURE__ */ dr(zE, [["render", qE]]), WE = { class: "moonbase:pro
17798
17798
  __: [10]
17799
17799
  })
17800
17800
  ])) : (xe = g(n).ownedProducts) != null && xe.includes(g(i).product.id) || (C = g(n).subscribedProducts) != null && C.includes(g(i).product.id) ? (m(), O("div", a5, [
17801
- w(nt, null, {
17801
+ E(nt, null, {
17802
17802
  default: x(() => [
17803
17803
  $(" Option " + M(v.value ? "2" : "1") + ": Use license ", 1)
17804
17804
  ]),
17805
17805
  _: 1
17806
17806
  }),
17807
- w(tt, null, {
17807
+ E(tt, null, {
17808
17808
  default: x(() => P[11] || (P[11] = [
17809
17809
  $(" You don't have enough free seats on your licenses to activate this device. Either free up a seat or purchase additional licenses. ")
17810
17810
  ])),
@@ -17812,20 +17812,20 @@ const es = /* @__PURE__ */ dr(zE, [["render", qE]]), WE = { class: "moonbase:pro
17812
17812
  __: [11]
17813
17813
  }),
17814
17814
  L("span", l5, [
17815
- w(Ge, {
17815
+ E(Ge, {
17816
17816
  label: "Licenses",
17817
17817
  variant: "secondary",
17818
17818
  handler: () => W()
17819
17819
  }, null, 8, ["handler"])
17820
17820
  ])
17821
17821
  ])) : ne("", !0) : (m(), O("div", o5, [
17822
- w(nt, null, {
17822
+ E(nt, null, {
17823
17823
  default: x(() => [
17824
17824
  $(" Option " + M(v.value ? "2" : "1") + ": Use license ", 1)
17825
17825
  ]),
17826
17826
  _: 1
17827
17827
  }),
17828
- w(tt, null, {
17828
+ E(tt, null, {
17829
17829
  default: x(() => P[9] || (P[9] = [
17830
17830
  $(" Please sign in to use a license for this product. ")
17831
17831
  ])),
@@ -17833,7 +17833,7 @@ const es = /* @__PURE__ */ dr(zE, [["render", qE]]), WE = { class: "moonbase:pro
17833
17833
  __: [9]
17834
17834
  }),
17835
17835
  L("span", s5, [
17836
- w(Ge, {
17836
+ E(Ge, {
17837
17837
  label: "Sign in",
17838
17838
  variant: "secondary",
17839
17839
  handler: () => U()
@@ -17841,7 +17841,7 @@ const es = /* @__PURE__ */ dr(zE, [["render", qE]]), WE = { class: "moonbase:pro
17841
17841
  ])
17842
17842
  ])),
17843
17843
  g(i).trialEligibility ? (m(), O("div", u5, [
17844
- w(nt, null, {
17844
+ E(nt, null, {
17845
17845
  default: x(() => [
17846
17846
  $(" Option " + M(v.value ? "3" : "2") + ": Start trial ", 1)
17847
17847
  ]),
@@ -17871,13 +17871,13 @@ const es = /* @__PURE__ */ dr(zE, [["render", qE]]), WE = { class: "moonbase:pro
17871
17871
  __: [13]
17872
17872
  })),
17873
17873
  g(i).trialEligibility.eligible && g(i).trialEligibility.requiresAccount && !g(n) ? (m(), O("span", c5, [
17874
- w(Ge, {
17874
+ E(Ge, {
17875
17875
  label: "Sign in",
17876
17876
  variant: "secondary",
17877
17877
  handler: () => U()
17878
17878
  }, null, 8, ["handler"])
17879
17879
  ])) : g(i).trialEligibility.eligible ? (m(), O("span", d5, [
17880
- w(Ge, {
17880
+ E(Ge, {
17881
17881
  label: "Start trial",
17882
17882
  variant: "secondary",
17883
17883
  handler: g(f)
@@ -17885,7 +17885,7 @@ const es = /* @__PURE__ */ dr(zE, [["render", qE]]), WE = { class: "moonbase:pro
17885
17885
  ])) : ne("", !0)
17886
17886
  ])) : ne("", !0),
17887
17887
  P[15] || (P[15] = L("div", { class: "moonbase:grow" }, null, -1)),
17888
- w(Pe, { class: "moonbase:auto-activation-redeem" }, {
17888
+ E(Pe, { class: "moonbase:auto-activation-redeem" }, {
17889
17889
  default: x(() => [
17890
17890
  P[14] || (P[14] = $(" Have a voucher code? ")),
17891
17891
  L("button", {
@@ -17898,14 +17898,14 @@ const es = /* @__PURE__ */ dr(zE, [["render", qE]]), WE = { class: "moonbase:pro
17898
17898
  })
17899
17899
  ]))
17900
17900
  ])) : (m(), O("div", KE, [
17901
- w(nt, null, {
17901
+ E(nt, null, {
17902
17902
  default: x(() => P[1] || (P[1] = [
17903
17903
  $(" Uh oh ")
17904
17904
  ])),
17905
17905
  _: 1,
17906
17906
  __: [1]
17907
17907
  }),
17908
- w(tt, null, {
17908
+ E(tt, null, {
17909
17909
  default: x(() => P[2] || (P[2] = [
17910
17910
  $(" Could not find activation request ")
17911
17911
  ])),
@@ -17973,7 +17973,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
17973
17973
  onDragleave: c[5] || (c[5] = gr((h) => o.value = !1, ["prevent", "stop"])),
17974
17974
  onDrop: gr(a, ["prevent", "stop"])
17975
17975
  }, [
17976
- w(g(B_)),
17976
+ E(g(B_)),
17977
17977
  c[6] || (c[6] = L("label", { for: "fallback-input" }, [
17978
17978
  L("span", { class: "moonbase:underline" }, "Choose a machine file"),
17979
17979
  $(" or drag here to upload ")
@@ -18011,14 +18011,14 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18011
18011
  }
18012
18012
  }
18013
18013
  return (l, u) => (m(), O("div", _5, [
18014
- w(tt, null, {
18014
+ E(tt, null, {
18015
18015
  default: x(() => u[2] || (u[2] = [
18016
18016
  $(" Upload your machine file here to get a license file for activating offline devices. The machine file can be generated in the installed app. ")
18017
18017
  ])),
18018
18018
  _: 1,
18019
18019
  __: [2]
18020
18020
  }),
18021
- w(xi, {
18021
+ E(xi, {
18022
18022
  mode: "out-in",
18023
18023
  name: "moonbase:slide-left"
18024
18024
  }, {
@@ -18029,16 +18029,16 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18029
18029
  onInput: u[0] || (u[0] = (c) => a(c)),
18030
18030
  onError: u[1] || (u[1] = (c) => s.value = c)
18031
18031
  }, null, 8, ["error"])) : o.value === 1 ? (m(), O("div", w5, [
18032
- w(tn)
18032
+ E(tn)
18033
18033
  ])) : o.value === 2 && i.value ? (m(), O("div", E5, [
18034
- w(nt, null, {
18034
+ E(nt, null, {
18035
18035
  default: x(() => u[3] || (u[3] = [
18036
18036
  $(" Success! ")
18037
18037
  ])),
18038
18038
  _: 1,
18039
18039
  __: [3]
18040
18040
  }),
18041
- w(tt, null, {
18041
+ E(tt, null, {
18042
18042
  default: x(() => u[4] || (u[4] = [
18043
18043
  $(" Your license can be downloaded below: ")
18044
18044
  ])),
@@ -18050,7 +18050,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18050
18050
  product: i.value.license.product
18051
18051
  }, {
18052
18052
  description: x(() => [
18053
- w(jt, null, {
18053
+ E(jt, null, {
18054
18054
  default: x(() => [
18055
18055
  $(M(i.value.license.activeNumberOfActivations) + " of " + M(i.value.license.maxNumberOfActivations) + " devices activated ", 1)
18056
18056
  ]),
@@ -18060,14 +18060,14 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18060
18060
  default: x(() => {
18061
18061
  var c;
18062
18062
  return [
18063
- w(Ho, {
18063
+ E(Ho, {
18064
18064
  href: i.value.url,
18065
18065
  target: "_blank",
18066
18066
  download: ((c = g(t)) == null ? void 0 : c.activation.licenseTokenFileName) ?? "license-file.mb",
18067
18067
  class: "moonbase:manual-activation-download-button"
18068
18068
  }, {
18069
18069
  default: x(() => [
18070
- w(g(Yp))
18070
+ E(g(Yp))
18071
18071
  ]),
18072
18072
  _: 1
18073
18073
  }, 8, ["href", "download"])
@@ -18231,9 +18231,9 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18231
18231
  default: x(() => {
18232
18232
  var h, p, v;
18233
18233
  return [
18234
- w(Tt, {
18234
+ E(Tt, {
18235
18235
  modelValue: a.value,
18236
- "onUpdate:modelValue": f[0] || (f[0] = (E) => a.value = E),
18236
+ "onUpdate:modelValue": f[0] || (f[0] = (_) => a.value = _),
18237
18237
  label: "Email address",
18238
18238
  name: "email",
18239
18239
  type: "email",
@@ -18241,9 +18241,9 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18241
18241
  autocomplete: "email",
18242
18242
  required: ""
18243
18243
  }, null, 8, ["modelValue"]),
18244
- w(Tt, {
18244
+ E(Tt, {
18245
18245
  modelValue: l.value,
18246
- "onUpdate:modelValue": f[1] || (f[1] = (E) => l.value = E),
18246
+ "onUpdate:modelValue": f[1] || (f[1] = (_) => l.value = _),
18247
18247
  label: "Password",
18248
18248
  name: "password",
18249
18249
  type: "password",
@@ -18255,7 +18255,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18255
18255
  class: "moonbase:error",
18256
18256
  "data-visible": !!u.value || void 0
18257
18257
  }, M(u.value), 9, A5),
18258
- w(ir, {
18258
+ E(ir, {
18259
18259
  success: "Signed in",
18260
18260
  label: "Sign in",
18261
18261
  error: "Error"
@@ -18267,7 +18267,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18267
18267
  variant: "subtle",
18268
18268
  handler: () => g(r).show(g(ue).Authentication, g(ee).SignUp, { email: a.value })
18269
18269
  }, null, 8, ["handler"])) : ne("", !0),
18270
- w(Ge, {
18270
+ E(Ge, {
18271
18271
  label: "Forgot password",
18272
18272
  variant: "subtle",
18273
18273
  handler: () => g(r).show(g(ue).Authentication, g(ee).ForgotPassword, { email: a.value })
@@ -18278,8 +18278,8 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18278
18278
  class: "moonbase:sign-in-hint",
18279
18279
  "data-corners": (v = g(s)) == null ? void 0 : v.theme.corners
18280
18280
  }, [
18281
- w(g(z_)),
18282
- w(Pe, null, {
18281
+ E(g(z_)),
18282
+ E(Pe, null, {
18283
18283
  default: x(() => [
18284
18284
  $(M(g(s).auth.signIn.hint), 1)
18285
18285
  ]),
@@ -18350,12 +18350,12 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18350
18350
  var p, v;
18351
18351
  if (c.value = null, !!((p = a.value) != null && p.resetPasswordToken))
18352
18352
  try {
18353
- const E = r.getParameter("email");
18354
- await o.resetPassword(E, l.value, (v = a.value) == null ? void 0 : v.resetPasswordToken);
18355
- const k = await o.signIn(E, l.value);
18353
+ const _ = r.getParameter("email");
18354
+ await o.resetPassword(_, l.value, (v = a.value) == null ? void 0 : v.resetPasswordToken);
18355
+ const k = await o.signIn(_, l.value);
18356
18356
  Gt(1500).then(() => n("confirmedAccount", k));
18357
- } catch (E) {
18358
- throw c.value = E.message, E;
18357
+ } catch (_) {
18358
+ throw c.value = _.message, _;
18359
18359
  }
18360
18360
  }
18361
18361
  return (p, v) => (m(), q(sr, {
@@ -18365,11 +18365,11 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18365
18365
  }, {
18366
18366
  default: x(() => [
18367
18367
  i.value ? (m(), O("div", V5, [
18368
- w(tn)
18368
+ E(tn)
18369
18369
  ])) : a.value ? (m(), O(ge, { key: 2 }, [
18370
18370
  L("h3", null, " Hi " + M(a.value.name) + ", ", 1),
18371
18371
  v[2] || (v[2] = L("p", null, " Please create a new password for your account: ", -1)),
18372
- w(Tt, {
18372
+ E(Tt, {
18373
18373
  "model-value": g(r).getParameter("email"),
18374
18374
  hidden: "",
18375
18375
  label: "Email address",
@@ -18379,29 +18379,29 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18379
18379
  autocomplete: "email",
18380
18380
  required: ""
18381
18381
  }, null, 8, ["model-value"]),
18382
- w(Tt, {
18382
+ E(Tt, {
18383
18383
  modelValue: l.value,
18384
- "onUpdate:modelValue": v[0] || (v[0] = (E) => l.value = E),
18384
+ "onUpdate:modelValue": v[0] || (v[0] = (_) => l.value = _),
18385
18385
  label: "Password",
18386
18386
  name: "password",
18387
18387
  type: "password",
18388
18388
  placeholder: "Password",
18389
18389
  autocomplete: "new-password",
18390
18390
  required: "",
18391
- onBlur: v[1] || (v[1] = (E) => u.value = !0)
18391
+ onBlur: v[1] || (v[1] = (_) => u.value = !0)
18392
18392
  }, null, 8, ["modelValue"]),
18393
18393
  u.value && f.value ? (m(), O("div", L5, [
18394
- (m(!0), O(ge, null, lt(d.value.filter((E) => !E.test(l.value)), (E) => (m(), q(Pe, {
18395
- key: E.title,
18394
+ (m(!0), O(ge, null, lt(d.value.filter((_) => !_.test(l.value)), (_) => (m(), q(Pe, {
18395
+ key: _.title,
18396
18396
  "data-error": ""
18397
18397
  }, {
18398
18398
  default: x(() => [
18399
- $(M(E.title), 1)
18399
+ $(M(_.title), 1)
18400
18400
  ]),
18401
18401
  _: 2
18402
18402
  }, 1024))), 128))
18403
18403
  ])) : ne("", !0),
18404
- w(ir, {
18404
+ E(ir, {
18405
18405
  success: "Password saved",
18406
18406
  label: "Save password",
18407
18407
  error: "Error"
@@ -18439,9 +18439,9 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18439
18439
  i.value = !1;
18440
18440
  }), (l, u) => (m(), O("div", B5, [
18441
18441
  i.value ? (m(), O("div", F5, [
18442
- w(tn)
18442
+ E(tn)
18443
18443
  ])) : a.value ? (m(), O("div", z5, M(a.value), 1)) : (m(), O(ge, { key: 2 }, [
18444
- w(nt, null, {
18444
+ E(nt, null, {
18445
18445
  default: x(() => u[0] || (u[0] = [
18446
18446
  $(" Success! ")
18447
18447
  ])),
@@ -18483,7 +18483,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18483
18483
  var c;
18484
18484
  return m(), O("div", q5, [
18485
18485
  i.value ? (m(), O("div", W5, [
18486
- w(tn)
18486
+ E(tn)
18487
18487
  ])) : a.value ? (m(), O("div", Z5, M(a.value), 1)) : (m(), O(ge, { key: 2 }, [
18488
18488
  L("h3", null, " Hi " + M((c = g(o)) == null ? void 0 : c.name) + ", ", 1),
18489
18489
  u[0] || (u[0] = L("p", null, " Thanks for confirming your new email. You can now sign in using this new address. ", -1))
@@ -18512,7 +18512,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18512
18512
  }, {
18513
18513
  default: x(({ disabled: u }) => [
18514
18514
  l[1] || (l[1] = L("p", null, " Please enter your email address below. You will receive an email message with instructions on how to reset your password. ", -1)),
18515
- w(Tt, {
18515
+ E(Tt, {
18516
18516
  modelValue: r.value,
18517
18517
  "onUpdate:modelValue": l[0] || (l[0] = (c) => r.value = c),
18518
18518
  label: "Email address",
@@ -18523,7 +18523,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18523
18523
  required: "",
18524
18524
  disabled: u
18525
18525
  }, null, 8, ["modelValue", "disabled"]),
18526
- w(ir, {
18526
+ E(ir, {
18527
18527
  success: "Email sent",
18528
18528
  label: "Reset password",
18529
18529
  error: "Error"
@@ -18568,7 +18568,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18568
18568
  default: x(() => [
18569
18569
  L("h3", null, " Hi " + M(i.value) + ", ", 1),
18570
18570
  p[2] || (p[2] = L("p", null, " Please create a new password for your account: ", -1)),
18571
- w(Tt, {
18571
+ E(Tt, {
18572
18572
  "model-value": g(r).getParameter("email"),
18573
18573
  hidden: "",
18574
18574
  label: "Email address",
@@ -18578,7 +18578,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18578
18578
  autocomplete: "email",
18579
18579
  required: ""
18580
18580
  }, null, 8, ["model-value"]),
18581
- w(Tt, {
18581
+ E(Tt, {
18582
18582
  modelValue: a.value,
18583
18583
  "onUpdate:modelValue": p[0] || (p[0] = (v) => a.value = v),
18584
18584
  label: "Password",
@@ -18600,7 +18600,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18600
18600
  _: 2
18601
18601
  }, 1024))), 128))
18602
18602
  ])) : ne("", !0),
18603
- w(ir, {
18603
+ E(ir, {
18604
18604
  success: "Password saved",
18605
18605
  label: "Save password",
18606
18606
  error: "Error"
@@ -18667,7 +18667,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18667
18667
  emits: ["signedUp"],
18668
18668
  setup(e, { emit: t }) {
18669
18669
  const n = t, r = Ae(), o = rt(), s = me(Lm), i = me(yo), a = me(ut), l = j(""), u = j(r.getParameter("email") ?? ""), c = j(""), d = j(!1), f = j((a == null ? void 0 : a.value.auth.signUp.marketingConsent) === Io.OptOut || (a == null ? void 0 : a.value.auth.signUp.marketingConsent) === Io.OptedInByDefault), h = j(null), p = G(() => hc[(a == null ? void 0 : a.value.auth.passwords) ?? "default"]), v = G(() => p.value.some((k) => !k.test(c.value)));
18670
- async function E() {
18670
+ async function _() {
18671
18671
  h.value = null;
18672
18672
  try {
18673
18673
  const k = await o.signUp(
@@ -18685,14 +18685,14 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18685
18685
  }
18686
18686
  }
18687
18687
  return (k, R) => (m(), q(sr, {
18688
- handler: E,
18688
+ handler: _,
18689
18689
  disabled: v.value,
18690
18690
  class: "moonbase:sign-up"
18691
18691
  }, {
18692
18692
  default: x(() => {
18693
18693
  var W;
18694
18694
  return [
18695
- w(Tt, {
18695
+ E(Tt, {
18696
18696
  modelValue: l.value,
18697
18697
  "onUpdate:modelValue": R[0] || (R[0] = (U) => l.value = U),
18698
18698
  label: "Full name",
@@ -18702,7 +18702,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18702
18702
  autocomplete: "name",
18703
18703
  required: ""
18704
18704
  }, null, 8, ["modelValue"]),
18705
- w(Tt, {
18705
+ E(Tt, {
18706
18706
  modelValue: u.value,
18707
18707
  "onUpdate:modelValue": R[1] || (R[1] = (U) => u.value = U),
18708
18708
  label: "Email address",
@@ -18712,7 +18712,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18712
18712
  autocomplete: "email",
18713
18713
  required: ""
18714
18714
  }, null, 8, ["modelValue"]),
18715
- w(Tt, {
18715
+ E(Tt, {
18716
18716
  modelValue: c.value,
18717
18717
  "onUpdate:modelValue": R[2] || (R[2] = (U) => c.value = U),
18718
18718
  label: "Password",
@@ -18741,7 +18741,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18741
18741
  label: "Receive updates and offers by email",
18742
18742
  name: "newsletter-opt-in"
18743
18743
  }, null, 8, ["modelValue"])) : ne("", !0),
18744
- w(Pe, null, {
18744
+ E(Pe, null, {
18745
18745
  default: x(() => {
18746
18746
  var U;
18747
18747
  return [
@@ -18766,7 +18766,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18766
18766
  _: 1,
18767
18767
  __: [5, 6, 7]
18768
18768
  }),
18769
- w(ir, {
18769
+ E(ir, {
18770
18770
  success: "Signed up",
18771
18771
  label: "Sign up",
18772
18772
  error: "Error"
@@ -18775,7 +18775,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18775
18775
  class: "moonbase:error",
18776
18776
  "data-visible": !!h.value || void 0
18777
18777
  }, M(h.value), 9, ck),
18778
- w(Ge, {
18778
+ E(Ge, {
18779
18779
  label: "I already have an account",
18780
18780
  variant: "subtle",
18781
18781
  handler: () => g(r).show(g(ue).Authentication, g(ee).SignIn, { email: u.value })
@@ -18793,7 +18793,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18793
18793
  setup(e) {
18794
18794
  const t = Ae(), { loaded: n } = rt();
18795
18795
  return (r, o) => (m(), O("div", fk, [
18796
- w(xi, {
18796
+ E(xi, {
18797
18797
  name: g(t).direction === g(Xu).Forward ? "moonbase:slide-left" : "moonbase:slide-right",
18798
18798
  mode: "out-in"
18799
18799
  }, {
@@ -18811,7 +18811,7 @@ const jt = /* @__PURE__ */ dr(h5, [["render", m5]]), b5 = ["data-corners"], g5 =
18811
18811
  key: 7,
18812
18812
  onPasswordReset: o[3] || (o[3] = (s) => g(t).show(g(ue).Customer, g(ee).ViewAccount, void 0))
18813
18813
  })) : ne("", !0) : (m(), O("div", hk, [
18814
- w(tn)
18814
+ E(tn)
18815
18815
  ]))
18816
18816
  ]),
18817
18817
  _: 1
@@ -18860,9 +18860,9 @@ const vk = ["data-corners", "data-cards"], Nm = /* @__PURE__ */ pe({
18860
18860
  L("button", {
18861
18861
  onClick: r[0] || (r[0] = (i) => n.$emit("update:modelValue", n.modelValue - 1))
18862
18862
  }, [
18863
- w(g(H_))
18863
+ E(g(H_))
18864
18864
  ]),
18865
- w(Pe, null, {
18865
+ E(Pe, null, {
18866
18866
  default: x(() => [
18867
18867
  $(M(n.modelValue.toString().padStart(2, "0")), 1)
18868
18868
  ]),
@@ -18871,7 +18871,7 @@ const vk = ["data-corners", "data-cards"], Nm = /* @__PURE__ */ pe({
18871
18871
  L("button", {
18872
18872
  onClick: r[1] || (r[1] = (i) => n.$emit("update:modelValue", n.modelValue + 1))
18873
18873
  }, [
18874
- w(g(q_))
18874
+ E(g(q_))
18875
18875
  ])
18876
18876
  ], 8, vk);
18877
18877
  };
@@ -18921,14 +18921,14 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
18921
18921
  var c;
18922
18922
  return m(), q(nn, { class: "moonbase:bundle-cart-item" }, Ea({
18923
18923
  default: x(() => {
18924
- var d, f, h, p, v, E;
18924
+ var d, f, h, p, v, _;
18925
18925
  return [
18926
- w(St, {
18926
+ E(St, {
18927
18927
  url: (d = l.lineItem.bundle) == null ? void 0 : d.iconUrl,
18928
18928
  size: 72
18929
18929
  }, null, 8, ["url"]),
18930
18930
  L("div", yk, [
18931
- w(st, null, {
18931
+ E(st, null, {
18932
18932
  default: x(() => {
18933
18933
  var k;
18934
18934
  return [
@@ -18937,7 +18937,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
18937
18937
  }),
18938
18938
  _: 1
18939
18939
  }),
18940
- w(Pe, {
18940
+ E(Pe, {
18941
18941
  class: "moonbase:bundle-cart-item-tagline",
18942
18942
  "data-truncate": l.lineItem.variation && l.lineItem.variation.id !== ((h = (f = g(n)) == null ? void 0 : f.defaultVariation) == null ? void 0 : h.id) || void 0
18943
18943
  }, {
@@ -18960,7 +18960,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
18960
18960
  })) : ne("", !0)
18961
18961
  ]),
18962
18962
  l.lineItem.variation ? (m(), O("div", _k, [
18963
- w(Pr, null, {
18963
+ E(Pr, null, {
18964
18964
  default: x(() => {
18965
18965
  var k;
18966
18966
  return [
@@ -18976,7 +18976,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
18976
18976
  }),
18977
18977
  _: 1
18978
18978
  }),
18979
- ((E = g(r)) == null ? void 0 : E.cart.quantity) === "selectable" && !a.value ? (m(), q(Nm, {
18979
+ ((_ = g(r)) == null ? void 0 : _.cart.quantity) === "selectable" && !a.value ? (m(), q(Nm, {
18980
18980
  key: 0,
18981
18981
  "model-value": l.lineItem.quantity,
18982
18982
  "onUpdate:modelValue": u[0] || (u[0] = (k) => g(o).setQuantity(l.lineItem, k))
@@ -19002,7 +19002,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19002
19002
  key: 0,
19003
19003
  onClick: u[1] || (u[1] = (f) => s.value = !s.value)
19004
19004
  }, [
19005
- w(st, null, {
19005
+ E(st, null, {
19006
19006
  default: x(() => {
19007
19007
  var f, h, p;
19008
19008
  return [
@@ -19016,7 +19016,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19016
19016
  _: 1,
19017
19017
  __: [2]
19018
19018
  }),
19019
- w(Pe, null, {
19019
+ E(Pe, null, {
19020
19020
  default: x(() => [
19021
19021
  $(M(s.value ? "Hide" : "Show") + " ", 1),
19022
19022
  (m(), O("svg", {
@@ -19048,12 +19048,12 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19048
19048
  key: f.id,
19049
19049
  class: "moonbase:bundle-cart-item-product-list-item"
19050
19050
  }, [
19051
- w(St, {
19051
+ E(St, {
19052
19052
  url: f == null ? void 0 : f.iconUrl,
19053
19053
  size: 48
19054
19054
  }, null, 8, ["url"]),
19055
19055
  L("div", Ok, [
19056
- w(st, {
19056
+ E(st, {
19057
19057
  "data-included": f.included || void 0
19058
19058
  }, {
19059
19059
  default: x(() => [
@@ -19105,13 +19105,13 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19105
19105
  return (l = t.target.defaultVariation) == null ? void 0 : l.originalPrice;
19106
19106
  }), i = G(() => t.target.defaultVariation ? Su.subtract(t.target.defaultVariation.price, Fa.apply(t.offer.discount, t.target.defaultVariation.price)) : s.value), a = G(() => !Ku(s.value, i.value));
19107
19107
  return (l, u) => (m(), O("div", Nk, [
19108
- w(St, {
19108
+ E(St, {
19109
19109
  url: l.target.iconUrl,
19110
19110
  href: l.target.type === "Product" ? l.target.website : void 0,
19111
19111
  size: 48
19112
19112
  }, null, 8, ["url", "href"]),
19113
19113
  L("div", Pk, [
19114
- w(st, null, {
19114
+ E(st, null, {
19115
19115
  default: x(() => [
19116
19116
  l.target.type === "Product" && l.target.website ? (m(), O("a", {
19117
19117
  key: 0,
@@ -19137,7 +19137,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19137
19137
  ]),
19138
19138
  _: 1
19139
19139
  })) : ne("", !0),
19140
- w(Ge, {
19140
+ E(Ge, {
19141
19141
  label: "Add to cart",
19142
19142
  variant: "secondary",
19143
19143
  size: "small",
@@ -19194,7 +19194,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19194
19194
  }, null, 8, ["url", "size", "style"]))), 128))
19195
19195
  ]),
19196
19196
  L("div", Mk, [
19197
- w(st, { class: "moonbase:cart-offer--multi-target-name" }, {
19197
+ E(st, { class: "moonbase:cart-offer--multi-target-name" }, {
19198
19198
  default: x(() => [
19199
19199
  $(M(s.offer.discount.name), 1)
19200
19200
  ]),
@@ -19209,7 +19209,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19209
19209
  ]),
19210
19210
  _: 1
19211
19211
  })) : ne("", !0),
19212
- w(Ge, {
19212
+ E(Ge, {
19213
19213
  label: "Select product",
19214
19214
  variant: n.value ? "primary" : "secondary",
19215
19215
  size: "small",
@@ -19246,13 +19246,13 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19246
19246
  }), l = G(() => t.target.defaultVariation ? Su.subtract(t.target.defaultVariation.price, Fa.apply(t.offer.discount, t.target.defaultVariation.price)) : a.value), u = G(() => !Ku(a.value, l.value));
19247
19247
  return (c, d) => (m(), q(nn, { class: "moonbase:cart-offer" }, Ea({
19248
19248
  default: x(() => [
19249
- w(St, {
19249
+ E(St, {
19250
19250
  url: c.target.iconUrl,
19251
19251
  href: c.target.type === "Product" ? c.target.website : void 0,
19252
19252
  size: 64
19253
19253
  }, null, 8, ["url", "href"]),
19254
19254
  L("div", Lk, [
19255
- w(st, { class: "moonbase:cart-offer-name" }, {
19255
+ E(st, { class: "moonbase:cart-offer-name" }, {
19256
19256
  default: x(() => [
19257
19257
  c.target.type === "Product" && c.target.website ? (m(), O("a", {
19258
19258
  key: 0,
@@ -19281,7 +19281,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19281
19281
  ]),
19282
19282
  _: 1
19283
19283
  })) : ne("", !0),
19284
- w(Ge, {
19284
+ E(Ge, {
19285
19285
  label: "Add to cart",
19286
19286
  variant: "secondary",
19287
19287
  size: "small",
@@ -19306,12 +19306,12 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19306
19306
  key: 0,
19307
19307
  onClick: d[0] || (d[0] = (h) => s.value = !s.value)
19308
19308
  }, [
19309
- w(st, null, {
19309
+ E(st, null, {
19310
19310
  default: x(() => {
19311
19311
  var h, p, v;
19312
19312
  return [
19313
- $(" Contains " + M((h = c.target) == null ? void 0 : h.products.filter((E) => E.included).length) + " ", 1),
19314
- (p = c.target) != null && p.products.some((E) => !E.included) ? (m(), O(ge, { key: 0 }, [
19313
+ $(" Contains " + M((h = c.target) == null ? void 0 : h.products.filter((_) => _.included).length) + " ", 1),
19314
+ (p = c.target) != null && p.products.some((_) => !_.included) ? (m(), O(ge, { key: 0 }, [
19315
19315
  $(" of " + M((v = c.target) == null ? void 0 : v.products.length), 1)
19316
19316
  ], 64)) : ne("", !0),
19317
19317
  d[1] || (d[1] = $(" products "))
@@ -19320,7 +19320,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19320
19320
  _: 1,
19321
19321
  __: [1]
19322
19322
  }),
19323
- w(Pe, null, {
19323
+ E(Pe, null, {
19324
19324
  default: x(() => [
19325
19325
  $(M(s.value ? "Hide" : "Show") + " ", 1),
19326
19326
  (m(), O("svg", {
@@ -19352,13 +19352,13 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19352
19352
  key: h.id,
19353
19353
  class: "moonbase:cart-offer-bundle-product-list-item"
19354
19354
  }, [
19355
- w(St, {
19355
+ E(St, {
19356
19356
  url: h.iconUrl,
19357
19357
  href: h.website,
19358
19358
  size: 48
19359
19359
  }, null, 8, ["url", "href"]),
19360
19360
  L("div", qk, [
19361
- w(st, {
19361
+ E(st, {
19362
19362
  "data-included": h.included || void 0
19363
19363
  }, {
19364
19364
  default: x(() => [
@@ -19430,14 +19430,14 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19430
19430
  }
19431
19431
  return (u, c) => (m(), q(nn, { class: "moonbase:product-cart-item" }, {
19432
19432
  default: x(() => {
19433
- var d, f, h, p, v, E;
19433
+ var d, f, h, p, v, _;
19434
19434
  return [
19435
- w(St, {
19435
+ E(St, {
19436
19436
  url: (d = u.lineItem.product) == null ? void 0 : d.iconUrl,
19437
19437
  size: 72
19438
19438
  }, null, 8, ["url"]),
19439
19439
  L("div", Gk, [
19440
- w(st, null, {
19440
+ E(st, null, {
19441
19441
  default: x(() => {
19442
19442
  var k;
19443
19443
  return [
@@ -19446,7 +19446,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19446
19446
  }),
19447
19447
  _: 1
19448
19448
  }),
19449
- w(Pe, {
19449
+ E(Pe, {
19450
19450
  class: "moonbase:product-cart-item-tagline",
19451
19451
  "data-truncate": u.lineItem.variation && u.lineItem.variation.id !== ((h = (f = g(n)) == null ? void 0 : f.defaultVariation) == null ? void 0 : h.id) || void 0
19452
19452
  }, {
@@ -19485,7 +19485,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19485
19485
  }),
19486
19486
  _: 1
19487
19487
  })) : ne("", !0),
19488
- ((E = g(r)) == null ? void 0 : E.cart.quantity) === "selectable" && !s.value ? (m(), q(Nm, {
19488
+ ((_ = g(r)) == null ? void 0 : _.cart.quantity) === "selectable" && !s.value ? (m(), q(Nm, {
19489
19489
  key: 1,
19490
19490
  "model-value": u.lineItem.quantity,
19491
19491
  "onUpdate:modelValue": c[0] || (c[0] = (k) => g(o).setQuantity(u.lineItem, k))
@@ -19535,7 +19535,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19535
19535
  }
19536
19536
  }
19537
19537
  return (d, f) => {
19538
- var h, p;
19538
+ var h, p, v;
19539
19539
  return m(), O("div", Qk, [
19540
19540
  g(n).length > 0 ? (m(), O("ul", {
19541
19541
  key: 0,
@@ -19543,37 +19543,37 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19543
19543
  class: "moonbase:cart-items",
19544
19544
  "data-background": (h = g(i)) == null ? void 0 : h.theme.colors.background
19545
19545
  }, [
19546
- (m(!0), O(ge, null, lt(g(n), (v) => (m(), O("li", {
19547
- key: v.id
19546
+ (m(!0), O(ge, null, lt(g(n), (_) => (m(), O("li", {
19547
+ key: _.id
19548
19548
  }, [
19549
- v.type === "Product" ? (m(), q(Jk, {
19549
+ _.type === "Product" ? (m(), q(Jk, {
19550
19550
  key: 0,
19551
- "line-item": v,
19551
+ "line-item": _,
19552
19552
  currency: g(o)
19553
- }, null, 8, ["line-item", "currency"])) : v.type === "Bundle" ? (m(), q(Ck, {
19553
+ }, null, 8, ["line-item", "currency"])) : _.type === "Bundle" ? (m(), q(Ck, {
19554
19554
  key: 1,
19555
- "line-item": v,
19555
+ "line-item": _,
19556
19556
  currency: g(o)
19557
19557
  }, null, 8, ["line-item", "currency"])) : ne("", !0)
19558
19558
  ]))), 128)),
19559
19559
  l.value ? (m(), O(ge, { key: 0 }, [
19560
19560
  f[0] || (f[0] = L("li", { class: "moonbase:grow" }, null, -1)),
19561
19561
  L("li", null, [
19562
- w(st, null, {
19562
+ (p = g(i)) != null && p.cart.offers.label ? (m(), q(st, { key: 0 }, {
19563
19563
  default: x(() => {
19564
- var v;
19564
+ var _;
19565
19565
  return [
19566
- $(M((v = g(i)) == null ? void 0 : v.cart.offers.label), 1)
19566
+ $(M((_ = g(i)) == null ? void 0 : _.cart.offers.label), 1)
19567
19567
  ];
19568
19568
  }),
19569
19569
  _: 1
19570
- }),
19570
+ })) : ne("", !0),
19571
19571
  g(Rn).relevantTargets(l.value, g(n)).length !== 1 ? (m(), q(Rk, {
19572
- key: 0,
19572
+ key: 1,
19573
19573
  offer: l.value,
19574
19574
  targets: g(Rn).relevantTargets(l.value, g(n))
19575
19575
  }, null, 8, ["offer", "targets"])) : (m(), q(Yk, {
19576
- key: 1,
19576
+ key: 2,
19577
19577
  offer: l.value,
19578
19578
  target: Array.isArray(l.value.target) ? g(Rn).relevantTargets(l.value, g(n))[0] : l.value.target
19579
19579
  }, null, 8, ["offer", "target"]))
@@ -19582,10 +19582,10 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19582
19582
  ], 8, ex)) : (m(), O("div", {
19583
19583
  key: 1,
19584
19584
  class: "moonbase:cart-empty",
19585
- "data-corners": (p = g(i)) == null ? void 0 : p.theme.corners
19585
+ "data-corners": (v = g(i)) == null ? void 0 : v.theme.corners
19586
19586
  }, [
19587
- w(g(W_)),
19588
- w(st, null, {
19587
+ E(g(W_)),
19588
+ E(st, null, {
19589
19589
  default: x(() => f[1] || (f[1] = [
19590
19590
  $(" Your cart is empty ")
19591
19591
  ])),
@@ -19599,7 +19599,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19599
19599
  f[3] || (f[3] = L("p", null, " Sales tax to be calculated at checkout ", -1)),
19600
19600
  L("p", rx, M(u.value), 1)
19601
19601
  ]),
19602
- w(Ge, {
19602
+ E(Ge, {
19603
19603
  handler: c,
19604
19604
  disabled: g(n).length === 0,
19605
19605
  label: "Checkout",
@@ -19633,7 +19633,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19633
19633
  throw c.value = F, F;
19634
19634
  }
19635
19635
  }
19636
- async function E() {
19636
+ async function _() {
19637
19637
  p.value = null;
19638
19638
  try {
19639
19639
  await o(f.value, h.value), f.value = "", h.value = "";
@@ -19646,9 +19646,9 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19646
19646
  await s(), i == null || i(Zt.SignedOut, { user: F }), t.reset();
19647
19647
  }
19648
19648
  return (F, I) => (m(), O("div", sx, [
19649
- w(sr, { handler: v }, {
19649
+ E(sr, { handler: v }, {
19650
19650
  default: x(() => [
19651
- w(Tt, {
19651
+ E(Tt, {
19652
19652
  modelValue: a.value,
19653
19653
  "onUpdate:modelValue": I[0] || (I[0] = (y) => a.value = y),
19654
19654
  label: "Full name",
@@ -19656,7 +19656,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19656
19656
  autocomplete: "name",
19657
19657
  required: ""
19658
19658
  }, null, 8, ["modelValue"]),
19659
- w(Tt, {
19659
+ E(Tt, {
19660
19660
  modelValue: l.value,
19661
19661
  "onUpdate:modelValue": I[1] || (I[1] = (y) => l.value = y),
19662
19662
  label: "Email address",
@@ -19665,14 +19665,14 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19665
19665
  autocomplete: "email",
19666
19666
  required: ""
19667
19667
  }, null, 8, ["modelValue"]),
19668
- w(Cm, {
19668
+ E(Cm, {
19669
19669
  modelValue: u.value.newsletterOptIn,
19670
19670
  "onUpdate:modelValue": I[2] || (I[2] = (y) => u.value.newsletterOptIn = y),
19671
19671
  label: "Newsletter subscription",
19672
19672
  name: "newsletter-opt-in",
19673
19673
  hint: "Receive updates and offers by email"
19674
19674
  }, null, 8, ["modelValue"]),
19675
- w(ir, {
19675
+ E(ir, {
19676
19676
  label: "Update",
19677
19677
  error: "Error",
19678
19678
  success: "Updated"
@@ -19681,9 +19681,9 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19681
19681
  ]),
19682
19682
  _: 1
19683
19683
  }),
19684
- w(sr, { handler: E }, {
19684
+ E(sr, { handler: _ }, {
19685
19685
  default: x(() => [
19686
- w(Tt, {
19686
+ E(Tt, {
19687
19687
  modelValue: f.value,
19688
19688
  "onUpdate:modelValue": I[3] || (I[3] = (y) => f.value = y),
19689
19689
  label: "Current password",
@@ -19692,7 +19692,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19692
19692
  autocomplete: "current-password",
19693
19693
  required: ""
19694
19694
  }, null, 8, ["modelValue"]),
19695
- w(Tt, {
19695
+ E(Tt, {
19696
19696
  modelValue: h.value,
19697
19697
  "onUpdate:modelValue": I[4] || (I[4] = (y) => h.value = y),
19698
19698
  label: "New password",
@@ -19701,7 +19701,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19701
19701
  autocomplete: "new-password",
19702
19702
  required: ""
19703
19703
  }, null, 8, ["modelValue"]),
19704
- w(ir, {
19704
+ E(ir, {
19705
19705
  label: "Change password",
19706
19706
  error: "Error",
19707
19707
  success: "Password changed"
@@ -19710,7 +19710,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19710
19710
  ]),
19711
19711
  _: 1
19712
19712
  }),
19713
- w(Ge, {
19713
+ E(Ge, {
19714
19714
  label: "Log out",
19715
19715
  success: "Logged out",
19716
19716
  error: "Error",
@@ -19738,7 +19738,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19738
19738
  o = await n(o.next), r.value.push(...o.items);
19739
19739
  }), (o, s) => (m(), O("div", cx, [
19740
19740
  r.value ? r.value.length === 0 ? (m(), O("div", fx, " No products found ")) : ne("", !0) : (m(), O("div", dx, [
19741
- w(tn),
19741
+ E(tn),
19742
19742
  s[0] || (s[0] = $(" Loading products.. "))
19743
19743
  ])),
19744
19744
  (m(!0), O(ge, null, lt(r.value || [], (i) => (m(), O("div", {
@@ -19761,12 +19761,12 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19761
19761
  })
19762
19762
  ], -1)
19763
19763
  ]))) : ne("", !0),
19764
- w(St, {
19764
+ E(St, {
19765
19765
  url: i.iconUrl,
19766
19766
  size: 48
19767
19767
  }, null, 8, ["url"]),
19768
19768
  L("div", mx, [
19769
- w(st, null, {
19769
+ E(st, null, {
19770
19770
  default: x(() => [
19771
19771
  $(M(i.name), 1)
19772
19772
  ]),
@@ -19780,12 +19780,12 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19780
19780
  }, 1024)) : ne("", !0)
19781
19781
  ]),
19782
19782
  L("div", null, [
19783
- w(Ho, {
19783
+ E(Ho, {
19784
19784
  variant: "subtle",
19785
19785
  onClick: (a) => g(t).show(g(ue).Product, g(ee).ViewProduct, { product_id: i.id })
19786
19786
  }, {
19787
19787
  default: x(() => [
19788
- w(g(Zp)),
19788
+ E(g(Zp)),
19789
19789
  s[2] || (s[2] = L("span", { class: "moonbase:clickable" }, null, -1))
19790
19790
  ]),
19791
19791
  _: 2,
@@ -19814,7 +19814,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19814
19814
  key: 0,
19815
19815
  onClick: o[0] || (o[0] = (i) => t.value = !t.value)
19816
19816
  }, [
19817
- w(st, null, {
19817
+ E(st, null, {
19818
19818
  default: x(() => {
19819
19819
  var i;
19820
19820
  return [
@@ -19823,7 +19823,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19823
19823
  }),
19824
19824
  _: 1
19825
19825
  }),
19826
- w(Pe, null, {
19826
+ E(Pe, null, {
19827
19827
  default: x(() => [
19828
19828
  $(M(t.value ? "Hide" : "Show") + " ", 1),
19829
19829
  (m(), O("svg", {
@@ -19854,12 +19854,12 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19854
19854
  (m(!0), O(ge, null, lt(((s = r.bundle) == null ? void 0 : s.products) || [], (i) => (m(), O("div", {
19855
19855
  key: i.id
19856
19856
  }, [
19857
- w(St, {
19857
+ E(St, {
19858
19858
  url: i.iconUrl,
19859
19859
  size: 48
19860
19860
  }, null, 8, ["url"]),
19861
19861
  L("div", null, [
19862
- w(st, null, {
19862
+ E(st, null, {
19863
19863
  default: x(() => [
19864
19864
  $(M(i.name), 1)
19865
19865
  ]),
@@ -19877,12 +19877,12 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19877
19877
  ];
19878
19878
  }),
19879
19879
  default: x(() => [
19880
- w(St, {
19880
+ E(St, {
19881
19881
  url: r.bundle.iconUrl,
19882
19882
  size: 72
19883
19883
  }, null, 8, ["url"]),
19884
19884
  L("div", gx, [
19885
- w(st, null, {
19885
+ E(st, null, {
19886
19886
  default: x(() => {
19887
19887
  var s;
19888
19888
  return [
@@ -19891,7 +19891,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19891
19891
  }),
19892
19892
  _: 1
19893
19893
  }),
19894
- w(Pe, { class: "moonbase:bundle-redemption-item-tagline" }, {
19894
+ E(Pe, { class: "moonbase:bundle-redemption-item-tagline" }, {
19895
19895
  default: x(() => {
19896
19896
  var s;
19897
19897
  return [
@@ -19914,12 +19914,12 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19914
19914
  setup(e) {
19915
19915
  return (t, n) => (m(), q(nn, { class: "moonbase:product-redemption-item" }, {
19916
19916
  default: x(() => [
19917
- w(St, {
19917
+ E(St, {
19918
19918
  url: t.product.iconUrl,
19919
19919
  size: 72
19920
19920
  }, null, 8, ["url"]),
19921
19921
  L("div", wx, [
19922
- w(st, null, {
19922
+ E(st, null, {
19923
19923
  default: x(() => {
19924
19924
  var r;
19925
19925
  return [
@@ -19928,7 +19928,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19928
19928
  }),
19929
19929
  _: 1
19930
19930
  }),
19931
- w(Pe, { class: "moonbase:product-redemption-item-tagline" }, {
19931
+ E(Pe, { class: "moonbase:product-redemption-item-tagline" }, {
19932
19932
  default: x(() => {
19933
19933
  var r;
19934
19934
  return [
@@ -19965,14 +19965,14 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19965
19965
  }
19966
19966
  }
19967
19967
  return (u, c) => (m(), O("div", Ex, [
19968
- w(xi, {
19968
+ E(xi, {
19969
19969
  mode: "out-in",
19970
19970
  name: "moonbase:slide-left"
19971
19971
  }, {
19972
19972
  default: x(() => [
19973
19973
  s.value ? (m(), O("div", xx, [
19974
19974
  L("div", null, [
19975
- w(es, null, {
19975
+ E(es, null, {
19976
19976
  default: x(() => [
19977
19977
  $(M(s.value.name), 1)
19978
19978
  ]),
@@ -19984,15 +19984,15 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
19984
19984
  ]),
19985
19985
  _: 1
19986
19986
  })) : ne("", !0),
19987
- w(Pe, null, {
19987
+ E(Pe, null, {
19988
19988
  default: x(() => [
19989
- w(g(L_)),
19989
+ E(g(L_)),
19990
19990
  c[2] || (c[2] = $(" Licenses have been added to your account. "))
19991
19991
  ]),
19992
19992
  _: 1,
19993
19993
  __: [2]
19994
19994
  }),
19995
- w(Pe, null, {
19995
+ E(Pe, null, {
19996
19996
  default: x(() => [
19997
19997
  c[3] || (c[3] = $(" Code: ")),
19998
19998
  L("strong", null, M(s.value.code), 1)
@@ -20001,7 +20001,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
20001
20001
  __: [3]
20002
20002
  })
20003
20003
  ]),
20004
- w(nt, null, {
20004
+ E(nt, null, {
20005
20005
  default: x(() => c[4] || (c[4] = [
20006
20006
  $(" Voucher summary ")
20007
20007
  ])),
@@ -20027,7 +20027,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
20027
20027
  var h, p;
20028
20028
  return f.id === ((p = (h = g(n).next) == null ? void 0 : h[2]) == null ? void 0 : p.product_id);
20029
20029
  }))) ? (m(), O("div", Sx, [
20030
- w(Ge, {
20030
+ E(Ge, {
20031
20031
  label: "Return to activation",
20032
20032
  variant: "primary",
20033
20033
  icon: g(R_),
@@ -20041,7 +20041,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
20041
20041
  default: x(() => {
20042
20042
  var d;
20043
20043
  return [
20044
- w(tt, null, {
20044
+ E(tt, null, {
20045
20045
  default: x(() => c[1] || (c[1] = [
20046
20046
  $(" Do you have a voucher you want to redeem? "),
20047
20047
  L("br", null, null, -1),
@@ -20050,7 +20050,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
20050
20050
  _: 1,
20051
20051
  __: [1]
20052
20052
  }),
20053
- w(Tt, {
20053
+ E(Tt, {
20054
20054
  modelValue: a.value,
20055
20055
  "onUpdate:modelValue": c[0] || (c[0] = (f) => a.value = f),
20056
20056
  label: "Voucher code",
@@ -20058,7 +20058,7 @@ const yk = { class: "moonbase:bundle-cart-item-content" }, _k = {
20058
20058
  required: "",
20059
20059
  placeholder: "0000-0000-0000-0000"
20060
20060
  }, null, 8, ["modelValue"]),
20061
- w(ir, {
20061
+ E(ir, {
20062
20062
  label: "Redeem voucher",
20063
20063
  error: "Error"
20064
20064
  }),
@@ -21320,8 +21320,8 @@ function FO(e, t, n) {
21320
21320
  let l = t.match(LO).map((p) => {
21321
21321
  const v = p[0];
21322
21322
  if (v === "p" || v === "P") {
21323
- const E = PO[v];
21324
- return E(p, o.formatLong);
21323
+ const _ = PO[v];
21324
+ return _(p, o.formatLong);
21325
21325
  }
21326
21326
  return p;
21327
21327
  }).join("").match(RO).map((p) => {
@@ -21348,8 +21348,8 @@ function FO(e, t, n) {
21348
21348
  if (!p.isToken) return p.value;
21349
21349
  const v = p.value;
21350
21350
  (IO(v) || DO(v)) && MO(v, t, String(e));
21351
- const E = Zd[v[0]];
21352
- return E(a, v, o.localize, u);
21351
+ const _ = Zd[v[0]];
21352
+ return _(a, v, o.localize, u);
21353
21353
  }).join("");
21354
21354
  }
21355
21355
  function zO(e) {
@@ -21423,7 +21423,7 @@ const ZO = { class: "moonbase:subscriptions" }, YO = {
21423
21423
  s = await n(s.next), o.value.push(...s.items);
21424
21424
  }), (s, i) => (m(), O("div", ZO, [
21425
21425
  o.value ? o.value.length === 0 ? (m(), O("div", GO, " No subscriptions found ")) : ne("", !0) : (m(), O("div", YO, [
21426
- w(tn),
21426
+ E(tn),
21427
21427
  i[0] || (i[0] = $(" Loading subscriptions.. "))
21428
21428
  ])),
21429
21429
  (m(!0), O(ge, null, lt(o.value || [], (a) => (m(), O(ge, {
@@ -21434,18 +21434,18 @@ const ZO = { class: "moonbase:subscriptions" }, YO = {
21434
21434
  class: "moonbase:subscriptions-item"
21435
21435
  }, [
21436
21436
  a.content.type === "Product" ? (m(), O(ge, { key: 0 }, [
21437
- w(St, {
21437
+ E(St, {
21438
21438
  url: a.content.product.iconUrl,
21439
21439
  size: 48
21440
21440
  }, null, 8, ["url"]),
21441
21441
  L("div", XO, [
21442
- w(st, null, {
21442
+ E(st, null, {
21443
21443
  default: x(() => [
21444
21444
  $(M(a.content.quantity) + " x " + M(a.content.product.name), 1)
21445
21445
  ]),
21446
21446
  _: 2
21447
21447
  }, 1024),
21448
- w(Pe, null, {
21448
+ E(Pe, null, {
21449
21449
  default: x(() => [
21450
21450
  $(M(a.status === g(Vr).Active ? "Renews" : a.expiresAt > r.value ? "Expires" : "Expired") + " " + M(g(ts)(a.expiresAt)), 1)
21451
21451
  ]),
@@ -21453,18 +21453,18 @@ const ZO = { class: "moonbase:subscriptions" }, YO = {
21453
21453
  }, 1024)
21454
21454
  ])
21455
21455
  ], 64)) : (m(), O(ge, { key: 1 }, [
21456
- w(St, {
21456
+ E(St, {
21457
21457
  url: a.content.bundle.iconUrl,
21458
21458
  size: 48
21459
21459
  }, null, 8, ["url"]),
21460
21460
  L("div", JO, [
21461
- w(st, null, {
21461
+ E(st, null, {
21462
21462
  default: x(() => [
21463
21463
  $(M(a.content.quantity) + " x " + M(a.content.bundle.name), 1)
21464
21464
  ]),
21465
21465
  _: 2
21466
21466
  }, 1024),
21467
- w(Pe, null, {
21467
+ E(Pe, null, {
21468
21468
  default: x(() => [
21469
21469
  $(M(a.status === g(Vr).Active ? "Renews" : a.expiresAt > r.value ? "Expires" : "Expired") + " " + M(g(ts)(a.expiresAt)), 1)
21470
21470
  ]),
@@ -21473,12 +21473,12 @@ const ZO = { class: "moonbase:subscriptions" }, YO = {
21473
21473
  ])
21474
21474
  ], 64)),
21475
21475
  L("div", null, [
21476
- w(Ho, {
21476
+ E(Ho, {
21477
21477
  variant: "subtle",
21478
21478
  onClick: (l) => g(t).show(g(ue).Subscription, g(ee).ManageSubscription, { subscription_id: a.id })
21479
21479
  }, {
21480
21480
  default: x(() => [
21481
- w(g(Zp)),
21481
+ E(g(Zp)),
21482
21482
  i[1] || (i[1] = L("span", { class: "moonbase:clickable" }, null, -1))
21483
21483
  ]),
21484
21484
  _: 2,
@@ -21488,20 +21488,20 @@ const ZO = { class: "moonbase:subscriptions" }, YO = {
21488
21488
  ], 8, KO),
21489
21489
  a.milestoneProgress ? (m(), O("div", QO, [
21490
21490
  L("div", e3, [
21491
- w(st, null, {
21491
+ E(st, null, {
21492
21492
  default: x(() => [
21493
21493
  $(M(a.milestoneProgress.title), 1)
21494
21494
  ]),
21495
21495
  _: 2
21496
21496
  }, 1024),
21497
- w(jt, null, {
21497
+ E(jt, null, {
21498
21498
  default: x(() => [
21499
21499
  $(M(a.milestoneProgress.currentNormalizedCycleNumber - (a.milestoneProgress.currentCycleIsCompleted ? 0 : 1)) + " / " + M(a.milestoneProgress.toNormalizedCycleNumber) + " " + M(g(di)(a.cycleLength)) + "s ", 1)
21500
21500
  ]),
21501
21501
  _: 2
21502
21502
  }, 1024)
21503
21503
  ]),
21504
- w($m, {
21504
+ E($m, {
21505
21505
  progress: a.milestoneProgress
21506
21506
  }, null, 8, ["progress"])
21507
21507
  ])) : ne("", !0)
@@ -21541,14 +21541,14 @@ const ZO = { class: "moonbase:subscriptions" }, YO = {
21541
21541
  t.intent = o.value[a].intent;
21542
21542
  }
21543
21543
  return (a, l) => (m(), O("div", n3, [
21544
- w(g(k_), {
21544
+ E(g(k_), {
21545
21545
  "selected-index": s.value,
21546
21546
  onChange: i
21547
21547
  }, {
21548
21548
  default: x(() => {
21549
21549
  var u, c;
21550
21550
  return [
21551
- w(g(x_), {
21551
+ E(g(x_), {
21552
21552
  "data-corners": (u = g(r)) == null ? void 0 : u.theme.corners,
21553
21553
  "data-background": (c = g(r)) == null ? void 0 : c.theme.colors.background
21554
21554
  }, {
@@ -21564,7 +21564,7 @@ const ZO = { class: "moonbase:subscriptions" }, YO = {
21564
21564
  ]),
21565
21565
  _: 1
21566
21566
  }, 8, ["data-corners", "data-background"]),
21567
- w(g(S_), null, {
21567
+ E(g(S_), null, {
21568
21568
  default: x(() => [
21569
21569
  (m(!0), O(ge, null, lt(o.value, (d) => (m(), q(g(C_), {
21570
21570
  key: d.intent
@@ -21596,7 +21596,7 @@ const ZO = { class: "moonbase:subscriptions" }, YO = {
21596
21596
  class: "moonbase:product-card-description",
21597
21597
  "data-open": t.value || void 0
21598
21598
  }, [
21599
- w(Pe, {
21599
+ E(Pe, {
21600
21600
  ref_key: "descriptionRef",
21601
21601
  ref: n
21602
21602
  }, {
@@ -21609,7 +21609,7 @@ const ZO = { class: "moonbase:subscriptions" }, YO = {
21609
21609
  key: 0,
21610
21610
  onClick: s[0] || (s[0] = (i) => t.value = !0)
21611
21611
  }, [
21612
- w(st, null, {
21612
+ E(st, null, {
21613
21613
  default: x(() => s[1] || (s[1] = [
21614
21614
  $(" read more ")
21615
21615
  ])),
@@ -21620,12 +21620,12 @@ const ZO = { class: "moonbase:subscriptions" }, YO = {
21620
21620
  ], 8, s3)
21621
21621
  ]),
21622
21622
  default: x(() => [
21623
- w(St, {
21623
+ E(St, {
21624
21624
  url: o.product.iconUrl,
21625
21625
  size: 72
21626
21626
  }, null, 8, ["url"]),
21627
21627
  L("div", o3, [
21628
- w(es, null, {
21628
+ E(es, null, {
21629
21629
  default: x(() => {
21630
21630
  var i;
21631
21631
  return [
@@ -21634,7 +21634,7 @@ const ZO = { class: "moonbase:subscriptions" }, YO = {
21634
21634
  }),
21635
21635
  _: 1
21636
21636
  }),
21637
- w(Pe, { class: "moonbase:product-card-tagline" }, {
21637
+ E(Pe, { class: "moonbase:product-card-tagline" }, {
21638
21638
  default: x(() => {
21639
21639
  var i;
21640
21640
  return [
@@ -21695,7 +21695,7 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
21695
21695
  h,
21696
21696
  ...d.filter((k) => k !== h)
21697
21697
  ], v = G(() => p.flatMap((k) => [...(t.product.downloads ?? []).filter((R) => R.platform === k)]));
21698
- async function E(k) {
21698
+ async function _(k) {
21699
21699
  try {
21700
21700
  await i(k), s == null || s(Zt.DownloadedProduct, {
21701
21701
  product: t.product,
@@ -21724,10 +21724,10 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
21724
21724
  }
21725
21725
  }
21726
21726
  return (k, R) => (m(), O("div", l3, [
21727
- w(nt, null, {
21727
+ E(nt, null, {
21728
21728
  default: x(() => [
21729
21729
  R[1] || (R[1] = $(" Downloads ")),
21730
- w(Pe, null, {
21730
+ E(Pe, null, {
21731
21731
  default: x(() => [
21732
21732
  $(" Version " + M(k.product.version), 1)
21733
21733
  ]),
@@ -21742,7 +21742,7 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
21742
21742
  class: "moonbase:product-downloads-description",
21743
21743
  "data-open": a.value || void 0
21744
21744
  }, [
21745
- w(Pe, {
21745
+ E(Pe, {
21746
21746
  ref_key: "descriptionRef",
21747
21747
  ref: l
21748
21748
  }, {
@@ -21755,7 +21755,7 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
21755
21755
  key: 0,
21756
21756
  onClick: R[0] || (R[0] = (W) => a.value = !0)
21757
21757
  }, [
21758
- w(st, null, {
21758
+ E(st, null, {
21759
21759
  default: x(() => R[2] || (R[2] = [
21760
21760
  $(" read more ")
21761
21761
  ])),
@@ -21765,31 +21765,31 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
21765
21765
  ])) : ne("", !0)
21766
21766
  ], 8, u3)) : ne("", !0),
21767
21767
  k.product.downloadsNeedsUser && k.product.downloadsNeedsOwnership && !k.product.numberOfLicenses && !k.product.subscriptionLicenses ? (m(), O("div", c3, [
21768
- w(tt, { "data-center": "" }, {
21768
+ E(tt, { "data-center": "" }, {
21769
21769
  default: x(() => R[3] || (R[3] = [
21770
21770
  $(" This product requires ownership to download ")
21771
21771
  ])),
21772
21772
  _: 1,
21773
21773
  __: [3]
21774
21774
  }),
21775
- w(Ge, {
21775
+ E(Ge, {
21776
21776
  label: "Sign in",
21777
21777
  handler: c
21778
21778
  })
21779
21779
  ])) : k.product.downloadsNeedsUser && !g(r).user ? (m(), O("div", d3, [
21780
- w(tt, { "data-center": "" }, {
21780
+ E(tt, { "data-center": "" }, {
21781
21781
  default: x(() => R[4] || (R[4] = [
21782
21782
  $(" This product requires an account to download ")
21783
21783
  ])),
21784
21784
  _: 1,
21785
21785
  __: [4]
21786
21786
  }),
21787
- w(Ge, {
21787
+ E(Ge, {
21788
21788
  label: "Sign in",
21789
21789
  handler: c
21790
21790
  })
21791
21791
  ])) : k.product.downloadsNeedsOwnership && !k.product.numberOfLicenses && !k.product.subscriptionLicenses ? (m(), O("div", f3, [
21792
- w(tt, { "data-center": "" }, {
21792
+ E(tt, { "data-center": "" }, {
21793
21793
  default: x(() => R[5] || (R[5] = [
21794
21794
  $(" This product requires ownership to download ")
21795
21795
  ])),
@@ -21804,24 +21804,24 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
21804
21804
  }, {
21805
21805
  addon: x(() => [
21806
21806
  L("div", m3, [
21807
- w(Ge, {
21807
+ E(Ge, {
21808
21808
  label: `Download for ${W.platform}`,
21809
21809
  variant: W.platform === g(h) ? "primary" : "secondary",
21810
21810
  "no-reset": !0,
21811
- handler: () => E(W),
21811
+ handler: () => _(W),
21812
21812
  icon: g(I_)
21813
21813
  }, null, 8, ["label", "variant", "handler", "icon"])
21814
21814
  ])
21815
21815
  ]),
21816
21816
  default: x(() => [
21817
21817
  L("div", null, [
21818
- w(nt, null, {
21818
+ E(nt, null, {
21819
21819
  default: x(() => [
21820
21820
  $(M(W.name), 1)
21821
21821
  ]),
21822
21822
  _: 2
21823
21823
  }, 1024),
21824
- w(jt, null, {
21824
+ E(jt, null, {
21825
21825
  default: x(() => [
21826
21826
  $(M(W.platform) + " - " + M(g(a3)(W.size)), 1)
21827
21827
  ]),
@@ -21912,7 +21912,7 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
21912
21912
  }
21913
21913
  }
21914
21914
  return (f, h) => (m(), O("div", g3, [
21915
- w(nt, null, {
21915
+ E(nt, null, {
21916
21916
  default: x(() => [
21917
21917
  h[0] || (h[0] = $(" Licenses ")),
21918
21918
  f.product.maxActivations && f.product.maxActivations > 0 ? (m(), q(Pe, { key: 0 }, {
@@ -21926,9 +21926,9 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
21926
21926
  __: [0]
21927
21927
  }),
21928
21928
  c.value ? (m(), O("div", v3, [
21929
- w(tn)
21929
+ E(tn)
21930
21930
  ])) : !f.product.numberOfLicenses && !f.product.subscriptionLicenses ? (m(), O("div", y3, [
21931
- w(tt, null, {
21931
+ E(tt, null, {
21932
21932
  default: x(() => h[1] || (h[1] = [
21933
21933
  $(" You don't own any licenses for this product yet ")
21934
21934
  ])),
@@ -21945,8 +21945,8 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
21945
21945
  ])) : ne("", !0),
21946
21946
  c.value ? ne("", !0) : (m(), O(ge, { key: 2 }, [
21947
21947
  f.product.maxActivations && f.product.maxActivations > 0 && !f.product.currentActivations ? (m(), O("div", _3, [
21948
- w(g(Pd)),
21949
- w(nt, null, {
21948
+ E(g(Pd)),
21949
+ E(nt, null, {
21950
21950
  default: x(() => h[2] || (h[2] = [
21951
21951
  $(" No activations yet ")
21952
21952
  ])),
@@ -21961,14 +21961,14 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
21961
21961
  }, Ea({
21962
21962
  default: x(() => [
21963
21963
  L("div", null, [
21964
- w(jt, null, {
21964
+ E(jt, null, {
21965
21965
  default: x(() => h[3] || (h[3] = [
21966
21966
  $(" Device ")
21967
21967
  ])),
21968
21968
  _: 1,
21969
21969
  __: [3]
21970
21970
  }),
21971
- w(nt, null, {
21971
+ E(nt, null, {
21972
21972
  default: x(() => [
21973
21973
  $(M(p.name), 1)
21974
21974
  ]),
@@ -21976,14 +21976,14 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
21976
21976
  }, 1024)
21977
21977
  ]),
21978
21978
  L("div", null, [
21979
- w(jt, null, {
21979
+ E(jt, null, {
21980
21980
  default: x(() => h[4] || (h[4] = [
21981
21981
  $(" Activation ")
21982
21982
  ])),
21983
21983
  _: 1,
21984
21984
  __: [4]
21985
21985
  }),
21986
- w(nt, null, {
21986
+ E(nt, null, {
21987
21987
  default: x(() => [
21988
21988
  $(M(p.activationMethod), 1)
21989
21989
  ]),
@@ -21991,14 +21991,14 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
21991
21991
  }, 1024)
21992
21992
  ]),
21993
21993
  p.lastValidatedAt ? (m(), O("div", E3, [
21994
- w(jt, null, {
21994
+ E(jt, null, {
21995
21995
  default: x(() => h[5] || (h[5] = [
21996
21996
  $(" First activated ")
21997
21997
  ])),
21998
21998
  _: 1,
21999
21999
  __: [5]
22000
22000
  }),
22001
- w(nt, null, {
22001
+ E(nt, null, {
22002
22002
  default: x(() => [
22003
22003
  $(M(g(WO)(p.firstValidatedAt)), 1)
22004
22004
  ]),
@@ -22012,7 +22012,7 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
22012
22012
  name: "addon",
22013
22013
  fn: x(() => [
22014
22014
  L("div", k3, [
22015
- w(Ge, {
22015
+ E(Ge, {
22016
22016
  label: "Revoke",
22017
22017
  variant: "secondary",
22018
22018
  "no-reset": !0,
@@ -22025,7 +22025,7 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
22025
22025
  ]), 1024))), 128))
22026
22026
  ])) : ne("", !0),
22027
22027
  (!u.value || u.value.length === 0) && !f.product.maxActivations && (f.product.numberOfLicenses || f.product.subscriptionLicenses) ? (m(), O("div", x3, [
22028
- w(g(Pd)),
22028
+ E(g(Pd)),
22029
22029
  f.product.numberOfLicenses ? (m(), q(nt, { key: 0 }, {
22030
22030
  default: x(() => [
22031
22031
  $(" You own " + M(f.product.numberOfLicenses) + " license" + M(f.product.numberOfLicenses !== 1 ? "s" : "") + " for this product ", 1)
@@ -22045,7 +22045,7 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
22045
22045
  }, Ea({
22046
22046
  default: x(() => [
22047
22047
  L("div", null, [
22048
- w(jt, null, {
22048
+ E(jt, null, {
22049
22049
  default: x(() => [
22050
22050
  $(M(f.product.name) + " license ", 1)
22051
22051
  ]),
@@ -22065,7 +22065,7 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
22065
22065
  name: "addon",
22066
22066
  fn: x(() => [
22067
22067
  L("div", S3, [
22068
- w(Pr, null, {
22068
+ E(Pr, null, {
22069
22069
  default: x(() => [
22070
22070
  $(M(typeof p.externalFulfillment == "string" ? "Key code:" : "License file:"), 1)
22071
22071
  ]),
@@ -22116,9 +22116,9 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
22116
22116
  a.value = !1;
22117
22117
  }), (l, u) => (m(), O("div", P3, [
22118
22118
  a.value || !g(r) ? (m(), O("div", T3, [
22119
- w(tn)
22119
+ E(tn)
22120
22120
  ])) : i.value ? (m(), O("div", $3, M(i.value), 1)) : s.value ? (m(), O("div", D3, [
22121
- w(i3, { product: s.value }, null, 8, ["product"]),
22121
+ E(i3, { product: s.value }, null, 8, ["product"]),
22122
22122
  s.value.downloads ? (m(), q(b3, {
22123
22123
  key: 0,
22124
22124
  product: s.value
@@ -22162,14 +22162,14 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
22162
22162
  }), n.show(ue.Authentication, ee.SignUp);
22163
22163
  }
22164
22164
  return (u, c) => (m(), O("div", M3, [
22165
- w(xi, {
22165
+ E(xi, {
22166
22166
  mode: "out-in",
22167
22167
  name: "moonbase:slide-left"
22168
22168
  }, {
22169
22169
  default: x(() => [
22170
22170
  r.value ? (m(), O("div", R3, [
22171
22171
  L("div", null, [
22172
- w(es, null, {
22172
+ E(es, null, {
22173
22173
  default: x(() => [
22174
22174
  $(M(r.value.name), 1)
22175
22175
  ]),
@@ -22181,7 +22181,7 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
22181
22181
  ]),
22182
22182
  _: 1
22183
22183
  })) : ne("", !0),
22184
- w(Pe, null, {
22184
+ E(Pe, null, {
22185
22185
  default: x(() => [
22186
22186
  c[2] || (c[2] = $(" Code: ")),
22187
22187
  L("strong", null, M(r.value.code), 1)
@@ -22190,7 +22190,7 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
22190
22190
  __: [2]
22191
22191
  })
22192
22192
  ]),
22193
- w(nt, null, {
22193
+ E(nt, null, {
22194
22194
  default: x(() => c[3] || (c[3] = [
22195
22195
  $(" Voucher summary ")
22196
22196
  ])),
@@ -22210,19 +22210,19 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
22210
22210
  }, null, 8, ["bundle", "quantity"]))), 128))
22211
22211
  ])) : ne("", !0),
22212
22212
  L("div", j3, [
22213
- w(tt, null, {
22213
+ E(tt, null, {
22214
22214
  default: x(() => c[4] || (c[4] = [
22215
22215
  $(" Sign in or create an account to redeem products ")
22216
22216
  ])),
22217
22217
  _: 1,
22218
22218
  __: [4]
22219
22219
  }),
22220
- w(Ge, {
22220
+ E(Ge, {
22221
22221
  label: "Sign in",
22222
22222
  variant: "primary",
22223
22223
  handler: a
22224
22224
  }),
22225
- w(Ge, {
22225
+ E(Ge, {
22226
22226
  label: "Create account",
22227
22227
  variant: "subtle",
22228
22228
  handler: l
@@ -22235,7 +22235,7 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
22235
22235
  default: x(() => {
22236
22236
  var d;
22237
22237
  return [
22238
- w(tt, null, {
22238
+ E(tt, null, {
22239
22239
  default: x(() => c[1] || (c[1] = [
22240
22240
  $(" Do you have a voucher you want to redeem? "),
22241
22241
  L("br", null, null, -1),
@@ -22244,7 +22244,7 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
22244
22244
  _: 1,
22245
22245
  __: [1]
22246
22246
  }),
22247
- w(Tt, {
22247
+ E(Tt, {
22248
22248
  modelValue: s.value,
22249
22249
  "onUpdate:modelValue": c[0] || (c[0] = (f) => s.value = f),
22250
22250
  label: "Voucher code",
@@ -22252,7 +22252,7 @@ const l3 = { class: "moonbase:product-downloads" }, u3 = ["data-open"], c3 = {
22252
22252
  required: "",
22253
22253
  placeholder: "0000-0000-0000-0000"
22254
22254
  }, null, 8, ["modelValue"]),
22255
- w(ir, {
22255
+ E(ir, {
22256
22256
  label: "Redeem voucher",
22257
22257
  error: "Error"
22258
22258
  }),
@@ -22301,7 +22301,7 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22301
22301
  class: "moonbase:subscription-content-card-description",
22302
22302
  "data-open": n.value || void 0
22303
22303
  }, [
22304
- w(Pe, {
22304
+ E(Pe, {
22305
22305
  ref_key: "descriptionRef",
22306
22306
  ref: r
22307
22307
  }, {
@@ -22314,7 +22314,7 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22314
22314
  key: 0,
22315
22315
  onClick: i[0] || (i[0] = (a) => n.value = !0)
22316
22316
  }, [
22317
- w(st, null, {
22317
+ E(st, null, {
22318
22318
  default: x(() => i[2] || (i[2] = [
22319
22319
  $(" read more ")
22320
22320
  ])),
@@ -22325,12 +22325,12 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22325
22325
  ], 8, F3)
22326
22326
  ]),
22327
22327
  default: x(() => [
22328
- w(St, {
22328
+ E(St, {
22329
22329
  url: s.subscription.content.product.iconUrl,
22330
22330
  size: 72
22331
22331
  }, null, 8, ["url"]),
22332
22332
  L("div", B3, [
22333
- w(es, null, {
22333
+ E(es, null, {
22334
22334
  default: x(() => {
22335
22335
  var a;
22336
22336
  return [
@@ -22339,7 +22339,7 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22339
22339
  }),
22340
22340
  _: 1
22341
22341
  }),
22342
- w(Pe, { class: "moonbase:subscription-content-card-tagline" }, {
22342
+ E(Pe, { class: "moonbase:subscription-content-card-tagline" }, {
22343
22343
  default: x(() => {
22344
22344
  var a;
22345
22345
  return [
@@ -22348,7 +22348,7 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22348
22348
  }),
22349
22349
  _: 1
22350
22350
  }),
22351
- w(Pe, { class: "moonbase:subscription-content-card-expiry" }, {
22351
+ E(Pe, { class: "moonbase:subscription-content-card-expiry" }, {
22352
22352
  default: x(() => [
22353
22353
  $(M(s.subscription.status === g(Vr).Active ? "Renews" : s.subscription.expiresAt > t.value ? "Expires" : "Expired") + " ", 1),
22354
22354
  L("strong", null, M(g(ts)(s.subscription.expiresAt)), 1)
@@ -22367,7 +22367,7 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22367
22367
  class: "moonbase:subscription-content-card-description",
22368
22368
  "data-open": n.value || void 0
22369
22369
  }, [
22370
- w(Pe, {
22370
+ E(Pe, {
22371
22371
  ref_key: "descriptionRef",
22372
22372
  ref: r
22373
22373
  }, {
@@ -22380,7 +22380,7 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22380
22380
  key: 0,
22381
22381
  onClick: i[1] || (i[1] = (a) => n.value = !0)
22382
22382
  }, [
22383
- w(st, null, {
22383
+ E(st, null, {
22384
22384
  default: x(() => i[3] || (i[3] = [
22385
22385
  $(" read more ")
22386
22386
  ])),
@@ -22391,12 +22391,12 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22391
22391
  ], 8, H3)
22392
22392
  ]),
22393
22393
  default: x(() => [
22394
- w(St, {
22394
+ E(St, {
22395
22395
  url: s.subscription.content.bundle.iconUrl,
22396
22396
  size: 72
22397
22397
  }, null, 8, ["url"]),
22398
22398
  L("div", z3, [
22399
- w(es, null, {
22399
+ E(es, null, {
22400
22400
  default: x(() => {
22401
22401
  var a;
22402
22402
  return [
@@ -22405,7 +22405,7 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22405
22405
  }),
22406
22406
  _: 1
22407
22407
  }),
22408
- w(Pe, { class: "moonbase:subscription-content-card-tagline" }, {
22408
+ E(Pe, { class: "moonbase:subscription-content-card-tagline" }, {
22409
22409
  default: x(() => {
22410
22410
  var a;
22411
22411
  return [
@@ -22414,7 +22414,7 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22414
22414
  }),
22415
22415
  _: 1
22416
22416
  }),
22417
- w(Pe, { class: "moonbase:subscription-content-card-expiry" }, {
22417
+ E(Pe, { class: "moonbase:subscription-content-card-expiry" }, {
22418
22418
  default: x(() => [
22419
22419
  $(M(s.subscription.status === g(Vr).Active ? "Renews" : s.subscription.expiresAt > t.value ? "Expires" : "Expired") + " ", 1),
22420
22420
  L("strong", null, M(g(ts)(s.subscription.expiresAt)), 1)
@@ -22433,7 +22433,7 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22433
22433
  },
22434
22434
  setup(e) {
22435
22435
  return (t, n) => (m(), O("div", W3, [
22436
- w(st, null, {
22436
+ E(st, null, {
22437
22437
  default: x(() => n[0] || (n[0] = [
22438
22438
  $(" Rewards: ")
22439
22439
  ])),
@@ -22445,14 +22445,14 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22445
22445
  key: r.milestoneId,
22446
22446
  class: "moonbase:milestone-rewards-item"
22447
22447
  }, [
22448
- w(Pe, null, {
22448
+ E(Pe, null, {
22449
22449
  default: x(() => [
22450
22450
  $(M(r.message), 1)
22451
22451
  ]),
22452
22452
  _: 2
22453
22453
  }, 1024),
22454
22454
  r.type === "CouponCodeMilestone" && r.fulfilled && r.code ? (m(), O("div", Y3, [
22455
- w(jt, null, {
22455
+ E(jt, null, {
22456
22456
  default: x(() => n[1] || (n[1] = [
22457
22457
  $(" Your coupon code: ")
22458
22458
  ])),
@@ -22462,9 +22462,9 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22462
22462
  n[2] || (n[2] = L("br", null, null, -1)),
22463
22463
  L("code", null, M(r.code), 1)
22464
22464
  ])) : r.type === "PerpetualLicenseConversionMilestone" && r.fulfilled ? (m(), O("div", G3, [
22465
- w(jt, null, {
22465
+ E(jt, null, {
22466
22466
  default: x(() => [
22467
- w(g(Rm), { class: "moonbase:success-icon" }),
22467
+ E(g(Rm), { class: "moonbase:success-icon" }),
22468
22468
  n[3] || (n[3] = $(" Your licenses have been converted to perpetual licenses. "))
22469
22469
  ]),
22470
22470
  _: 1,
@@ -22499,8 +22499,8 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22499
22499
  }
22500
22500
  try {
22501
22501
  l.value = await o(v);
22502
- } catch (E) {
22503
- c.value = E.message;
22502
+ } catch (_) {
22503
+ c.value = _.message;
22504
22504
  }
22505
22505
  d.value = !1;
22506
22506
  });
@@ -22510,8 +22510,8 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22510
22510
  if ((await s(l.value.id, {
22511
22511
  redirect: !1
22512
22512
  })).completed) {
22513
- const E = await o(l.value.id);
22514
- Gt(1500).then(() => l.value = E);
22513
+ const _ = await o(l.value.id);
22514
+ Gt(1500).then(() => l.value = _);
22515
22515
  } else
22516
22516
  throw new qo();
22517
22517
  }
@@ -22535,14 +22535,14 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22535
22535
  title: v.title,
22536
22536
  detail: v.detail,
22537
22537
  status: v.status,
22538
- errors: v.errors ? Object.fromEntries(Object.entries(v.errors).map(([E, k]) => [E, [k]])) : void 0,
22538
+ errors: v.errors ? Object.fromEntries(Object.entries(v.errors).map(([_, k]) => [_, [k]])) : void 0,
22539
22539
  instance: "Subscription.vue:startUpdate"
22540
22540
  });
22541
22541
  else {
22542
- const E = v;
22542
+ const _ = v;
22543
22543
  r.reportProblem("error", {
22544
- type: E.name,
22545
- title: E.message,
22544
+ type: _.name,
22545
+ title: _.message,
22546
22546
  instance: "Subscription.vue:startUpdate"
22547
22547
  });
22548
22548
  }
@@ -22550,27 +22550,27 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22550
22550
  }
22551
22551
  }
22552
22552
  }
22553
- return (v, E) => (m(), O("div", X3, [
22553
+ return (v, _) => (m(), O("div", X3, [
22554
22554
  d.value || !g(n) ? (m(), O("div", J3, [
22555
- w(tn)
22555
+ E(tn)
22556
22556
  ])) : c.value ? (m(), O("div", Q3, M(c.value), 1)) : l.value ? (m(), O("div", t4, [
22557
- w(q3, { subscription: l.value }, null, 8, ["subscription"]),
22557
+ E(q3, { subscription: l.value }, null, 8, ["subscription"]),
22558
22558
  l.value.milestoneProgress ? (m(), O("div", n4, [
22559
22559
  L("div", r4, [
22560
- w(st, null, {
22560
+ E(st, null, {
22561
22561
  default: x(() => [
22562
22562
  $(M(l.value.milestoneProgress.title), 1)
22563
22563
  ]),
22564
22564
  _: 1
22565
22565
  }),
22566
- w(jt, null, {
22566
+ E(jt, null, {
22567
22567
  default: x(() => [
22568
22568
  $(M(l.value.milestoneProgress.currentNormalizedCycleNumber - (l.value.milestoneProgress.currentCycleIsCompleted ? 0 : 1)) + " / " + M(l.value.milestoneProgress.toNormalizedCycleNumber) + " " + M(g(di)(l.value.cycleLength)) + "s ", 1)
22569
22569
  ]),
22570
22570
  _: 1
22571
22571
  })
22572
22572
  ]),
22573
- w($m, {
22573
+ E($m, {
22574
22574
  progress: l.value.milestoneProgress
22575
22575
  }, null, 8, ["progress"]),
22576
22576
  l.value.milestoneProgress.description ? (m(), q(jt, { key: 0 }, {
@@ -22586,62 +22586,62 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22586
22586
  ])) : ne("", !0),
22587
22587
  L("div", o4, [
22588
22588
  l.value.status === g(Vr).Active ? (m(), O(ge, { key: 0 }, [
22589
- w(Ge, {
22589
+ E(Ge, {
22590
22590
  label: "Update payment method",
22591
22591
  variant: "secondary",
22592
22592
  handler: p
22593
22593
  }),
22594
- w(Ge, {
22594
+ E(Ge, {
22595
22595
  label: "Cancel subscription",
22596
22596
  variant: "danger",
22597
22597
  handler: h
22598
22598
  }),
22599
- w(jt, null, {
22599
+ E(jt, null, {
22600
22600
  default: x(() => [
22601
- E[1] || (E[1] = $(" Cancelling a subscription will let you use the products to the end of the current period, after which you will lose access. If you want to continue using the products later, you may simply renew this subscription whenever you wish. You are currently paying ")),
22601
+ _[1] || (_[1] = $(" Cancelling a subscription will let you use the products to the end of the current period, after which you will lose access. If you want to continue using the products later, you may simply renew this subscription whenever you wish. You are currently paying ")),
22602
22602
  L("strong", null, M(g(Ot)(l.value.total.due)), 1),
22603
22603
  $(" per " + M(g(di)(l.value.cycleLength)) + " for this subscription", 1),
22604
22604
  l.value.paymentMethod ? (m(), O(ge, { key: 0 }, [
22605
- E[0] || (E[0] = $(" using payment method ")),
22605
+ _[0] || (_[0] = $(" using payment method ")),
22606
22606
  L("strong", null, M(l.value.paymentMethod), 1)
22607
22607
  ], 64)) : ne("", !0),
22608
- E[2] || (E[2] = $(". "))
22608
+ _[2] || (_[2] = $(". "))
22609
22609
  ]),
22610
22610
  _: 1,
22611
22611
  __: [1, 2]
22612
22612
  })
22613
22613
  ], 64)) : l.value.status === g(Vr).Completed ? (m(), q(jt, { key: 1 }, {
22614
22614
  default: x(() => [
22615
- w(g(Rm), { class: "moonbase:success-icon" }),
22616
- E[3] || (E[3] = $(" This subscription has been completed, and cannot be renewed. "))
22615
+ E(g(Rm), { class: "moonbase:success-icon" }),
22616
+ _[3] || (_[3] = $(" This subscription has been completed, and cannot be renewed. "))
22617
22617
  ]),
22618
22618
  _: 1,
22619
22619
  __: [3]
22620
22620
  })) : (m(), O(ge, { key: 2 }, [
22621
22621
  l.value.nextPaymentScheduledAt && l.value.cancellable ? (m(), O(ge, { key: 0 }, [
22622
- w(Ge, {
22622
+ E(Ge, {
22623
22623
  label: "Continue subscription",
22624
22624
  variant: "primary",
22625
22625
  handler: f
22626
22626
  }),
22627
- w(Ge, {
22627
+ E(Ge, {
22628
22628
  label: "Cancel subscription",
22629
22629
  variant: "danger",
22630
22630
  handler: h
22631
22631
  }),
22632
- w(jt, null, {
22632
+ E(jt, null, {
22633
22633
  default: x(() => [
22634
22634
  $(" We could not renew this subscription on the expiry date, the next attempt will be " + M(g(ts)(l.value.nextPaymentScheduledAt)) + ". To make sure you can use your products un-interrupted, continue the subscription, or cancel it if you do not wish to keep using these products. ", 1)
22635
22635
  ]),
22636
22636
  _: 1
22637
22637
  })
22638
22638
  ], 64)) : (m(), O(ge, { key: 1 }, [
22639
- w(Ge, {
22639
+ E(Ge, {
22640
22640
  label: "Continue subscription",
22641
22641
  variant: "primary",
22642
22642
  handler: f
22643
22643
  }),
22644
- w(jt, null, {
22644
+ E(jt, null, {
22645
22645
  default: x(() => [
22646
22646
  $(" This subscription has been stopped, and " + M(l.value.expiresAt > u.value ? "expires" : "expired") + " " + M(g(ts)(l.value.expiresAt)) + ". If you want to continue using the products after this date, you may continue the subscription to regain access. ", 1)
22647
22647
  ]),
@@ -22687,7 +22687,7 @@ const B3 = { class: "moonbase:subscription-content-card-content" }, F3 = ["data-
22687
22687
  var i;
22688
22688
  return m(), O(ge, null, [
22689
22689
  (i = g(t)) != null && i.toolbar.enabled ? (m(), q(mw, { key: 0 })) : ne("", !0),
22690
- w(aw, null, {
22690
+ E(aw, null, {
22691
22691
  default: x(() => [
22692
22692
  g(n).active === g(ue).Cart ? (m(), q(ox, { key: 0 })) : g(n).active === g(ue).Authentication ? (m(), q(pk, { key: 1 })) : g(n).active === g(ue).Activation ? (m(), q(O5, { key: 2 })) : g(n).active === g(ue).Product ? (m(), q(I3, { key: 3 })) : g(n).active === g(ue).Subscription ? (m(), q(s4, { key: 4 })) : g(n).active === g(ue).Customer ? (m(), q(r3, { key: 5 })) : g(n).active === g(ue).Redeem ? (m(), q(U3, { key: 6 })) : g(n).active === g(ue).About ? (m(), q(ME, { key: 7 })) : ne("", !0)
22693
22693
  ]),
@@ -22892,17 +22892,17 @@ class u4 {
22892
22892
  if (t != null && t.product_id) {
22893
22893
  const v = Ls(t.product_id, this.storefront);
22894
22894
  if (v.value) {
22895
- let E = n.addToCart(v.value, (s = v.value.variations) == null ? void 0 : s.find((k) => k.id === t.variation_id), (o == null ? void 0 : o.value) || void 0);
22896
- t != null && t.quantity && (E = n.setQuantity(E, E.quantity + t.quantity - 1)), ((i = this.options) == null ? void 0 : i.value.cart.quantity) === "single" && (E = n.setQuantity(E, 1)), br(Zt.AddedToCart, {
22897
- item: E,
22895
+ let _ = n.addToCart(v.value, (s = v.value.variations) == null ? void 0 : s.find((k) => k.id === t.variation_id), (o == null ? void 0 : o.value) || void 0);
22896
+ t != null && t.quantity && (_ = n.setQuantity(_, _.quantity + t.quantity - 1)), ((i = this.options) == null ? void 0 : i.value.cart.quantity) === "single" && (_ = n.setQuantity(_, 1)), br(Zt.AddedToCart, {
22897
+ item: _,
22898
22898
  currency: n.currency.value,
22899
22899
  user: r.user.value
22900
22900
  });
22901
22901
  } else {
22902
22902
  await this.storefront.loadedStorefrontPromise;
22903
- const E = Ls(t.product_id, this.storefront);
22904
- if (E.value) {
22905
- let k = n.addToCart(E.value, (a = E.value.variations) == null ? void 0 : a.find((R) => R.id === t.variation_id), (o == null ? void 0 : o.value) || void 0);
22903
+ const _ = Ls(t.product_id, this.storefront);
22904
+ if (_.value) {
22905
+ let k = n.addToCart(_.value, (a = _.value.variations) == null ? void 0 : a.find((R) => R.id === t.variation_id), (o == null ? void 0 : o.value) || void 0);
22906
22906
  t != null && t.quantity && (k = n.setQuantity(k, k.quantity + t.quantity - 1)), ((l = this.options) == null ? void 0 : l.value.cart.quantity) === "single" && (k = n.setQuantity(k, 1)), br(Zt.AddedToCart, {
22907
22907
  item: k,
22908
22908
  currency: n.currency.value,
@@ -22915,8 +22915,8 @@ class u4 {
22915
22915
  if (t != null && t.bundle_id) {
22916
22916
  const v = Qi(t.bundle_id, this.storefront);
22917
22917
  if (v.value) {
22918
- const E = (u = v.value.variations) == null ? void 0 : u.find((R) => R.id === t.variation_id);
22919
- let k = n.addToCart(v.value, E, (o == null ? void 0 : o.value) || void 0, { bundleBehaviour: (c = this.options) == null ? void 0 : c.value.cart.bundles.onAdd });
22918
+ const _ = (u = v.value.variations) == null ? void 0 : u.find((R) => R.id === t.variation_id);
22919
+ let k = n.addToCart(v.value, _, (o == null ? void 0 : o.value) || void 0, { bundleBehaviour: (c = this.options) == null ? void 0 : c.value.cart.bundles.onAdd });
22920
22920
  t != null && t.quantity && (k = n.setQuantity(k, k.quantity + t.quantity - 1)), ((d = this.options) == null ? void 0 : d.value.cart.quantity) === "single" && (k = n.setQuantity(k, 1)), br(Zt.AddedToCart, {
22921
22921
  item: k,
22922
22922
  currency: n.currency.value,
@@ -22924,10 +22924,10 @@ class u4 {
22924
22924
  });
22925
22925
  } else {
22926
22926
  await this.storefront.loadedStorefrontPromise;
22927
- const E = Qi(t.bundle_id, this.storefront);
22928
- if (E.value) {
22929
- const k = (f = E.value.variations) == null ? void 0 : f.find((W) => W.id === t.variation_id);
22930
- let R = n.addToCart(E.value, k, (o == null ? void 0 : o.value) || void 0, { bundleBehaviour: (h = this.options) == null ? void 0 : h.value.cart.bundles.onAdd });
22927
+ const _ = Qi(t.bundle_id, this.storefront);
22928
+ if (_.value) {
22929
+ const k = (f = _.value.variations) == null ? void 0 : f.find((W) => W.id === t.variation_id);
22930
+ let R = n.addToCart(_.value, k, (o == null ? void 0 : o.value) || void 0, { bundleBehaviour: (h = this.options) == null ? void 0 : h.value.cart.bundles.onAdd });
22931
22931
  t != null && t.quantity && (R = n.setQuantity(R, R.quantity + t.quantity - 1)), ((p = this.options) == null ? void 0 : p.value.cart.quantity) === "single" && (R = n.setQuantity(R, 1)), br(Zt.AddedToCart, {
22932
22932
  item: R,
22933
22933
  currency: n.currency.value,