@moonbase.sh/storefront 0.3.0 → 0.3.3

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
@@ -325,7 +325,7 @@ var he;
325
325
  e.errToObj = (t) => typeof t == "string" ? { message: t } : t || {}, e.toString = (t) => typeof t == "string" ? t : t == null ? void 0 : t.message;
326
326
  })(he || (he = {}));
327
327
  var rs, os;
328
- class $n {
328
+ class Pn {
329
329
  constructor(t, n, r, o) {
330
330
  this._cachedPath = [], this.parent = t, this.data = n, this._path = r, this._key = o;
331
331
  }
@@ -360,7 +360,7 @@ function Se(e) {
360
360
  return i.code === "invalid_enum_value" ? { message: c ?? a.defaultError } : typeof a.data > "u" ? { message: (l = c ?? r) !== null && l !== void 0 ? l : a.defaultError } : i.code !== "invalid_type" ? { message: a.defaultError } : { message: (u = c ?? n) !== null && u !== void 0 ? u : a.defaultError };
361
361
  }, description: o };
362
362
  }
363
- class Pe {
363
+ class $e {
364
364
  get description() {
365
365
  return this._def.description;
366
366
  }
@@ -519,7 +519,7 @@ class Pe {
519
519
  return ln.create(this);
520
520
  }
521
521
  promise() {
522
- return $o.create(this, this._def);
522
+ return Po.create(this, this._def);
523
523
  }
524
524
  or(t) {
525
525
  return Os.create([this, t], this._def);
@@ -537,7 +537,7 @@ class Pe {
537
537
  }
538
538
  default(t) {
539
539
  const n = typeof t == "function" ? t : () => t;
540
- return new $s({
540
+ return new Ps({
541
541
  ...Se(this._def),
542
542
  innerType: this,
543
543
  defaultValue: n,
@@ -611,7 +611,7 @@ function dm(e, t) {
611
611
  function fm(e, t) {
612
612
  return !!((t === "v4" || !t) && rm.test(e) || (t === "v6" || !t) && sm.test(e));
613
613
  }
614
- class sn extends Pe {
614
+ class sn extends $e {
615
615
  _parse(t) {
616
616
  if (this._def.coerce && (t.data = String(t.data)), this._getType(t) !== ce.string) {
617
617
  const s = this._getOrReturnCtx(t);
@@ -1002,7 +1002,7 @@ function hm(e, t) {
1002
1002
  const n = (e.toString().split(".")[1] || "").length, r = (t.toString().split(".")[1] || "").length, o = n > r ? n : r, s = parseInt(e.toFixed(o).replace(".", "")), i = parseInt(t.toFixed(o).replace(".", ""));
1003
1003
  return s % i / Math.pow(10, o);
1004
1004
  }
1005
- class gr extends Pe {
1005
+ class gr extends $e {
1006
1006
  constructor() {
1007
1007
  super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;
1008
1008
  }
@@ -1174,7 +1174,7 @@ gr.create = (e) => new gr({
1174
1174
  coerce: (e == null ? void 0 : e.coerce) || !1,
1175
1175
  ...Se(e)
1176
1176
  });
1177
- class vr extends Pe {
1177
+ class vr extends $e {
1178
1178
  constructor() {
1179
1179
  super(...arguments), this.min = this.gte, this.max = this.lte;
1180
1180
  }
@@ -1310,7 +1310,7 @@ vr.create = (e) => {
1310
1310
  ...Se(e)
1311
1311
  });
1312
1312
  };
1313
- class Es extends Pe {
1313
+ class Es extends $e {
1314
1314
  _parse(t) {
1315
1315
  if (this._def.coerce && (t.data = !!t.data), this._getType(t) !== ce.boolean) {
1316
1316
  const r = this._getOrReturnCtx(t);
@@ -1328,7 +1328,7 @@ Es.create = (e) => new Es({
1328
1328
  coerce: (e == null ? void 0 : e.coerce) || !1,
1329
1329
  ...Se(e)
1330
1330
  });
1331
- class Qr extends Pe {
1331
+ class Qr extends $e {
1332
1332
  _parse(t) {
1333
1333
  if (this._def.coerce && (t.data = new Date(t.data)), this._getType(t) !== ce.date) {
1334
1334
  const s = this._getOrReturnCtx(t);
@@ -1406,7 +1406,7 @@ Qr.create = (e) => new Qr({
1406
1406
  typeName: we.ZodDate,
1407
1407
  ...Se(e)
1408
1408
  });
1409
- class Bi extends Pe {
1409
+ class Bi extends $e {
1410
1410
  _parse(t) {
1411
1411
  if (this._getType(t) !== ce.symbol) {
1412
1412
  const r = this._getOrReturnCtx(t);
@@ -1423,7 +1423,7 @@ Bi.create = (e) => new Bi({
1423
1423
  typeName: we.ZodSymbol,
1424
1424
  ...Se(e)
1425
1425
  });
1426
- class xs extends Pe {
1426
+ class xs extends $e {
1427
1427
  _parse(t) {
1428
1428
  if (this._getType(t) !== ce.undefined) {
1429
1429
  const r = this._getOrReturnCtx(t);
@@ -1440,7 +1440,7 @@ xs.create = (e) => new xs({
1440
1440
  typeName: we.ZodUndefined,
1441
1441
  ...Se(e)
1442
1442
  });
1443
- class ks extends Pe {
1443
+ class ks extends $e {
1444
1444
  _parse(t) {
1445
1445
  if (this._getType(t) !== ce.null) {
1446
1446
  const r = this._getOrReturnCtx(t);
@@ -1457,7 +1457,7 @@ ks.create = (e) => new ks({
1457
1457
  typeName: we.ZodNull,
1458
1458
  ...Se(e)
1459
1459
  });
1460
- class Po extends Pe {
1460
+ class $o extends $e {
1461
1461
  constructor() {
1462
1462
  super(...arguments), this._any = !0;
1463
1463
  }
@@ -1465,11 +1465,11 @@ class Po extends Pe {
1465
1465
  return It(t.data);
1466
1466
  }
1467
1467
  }
1468
- Po.create = (e) => new Po({
1468
+ $o.create = (e) => new $o({
1469
1469
  typeName: we.ZodAny,
1470
1470
  ...Se(e)
1471
1471
  });
1472
- class Hr extends Pe {
1472
+ class Hr extends $e {
1473
1473
  constructor() {
1474
1474
  super(...arguments), this._unknown = !0;
1475
1475
  }
@@ -1481,7 +1481,7 @@ Hr.create = (e) => new Hr({
1481
1481
  typeName: we.ZodUnknown,
1482
1482
  ...Se(e)
1483
1483
  });
1484
- class qn extends Pe {
1484
+ class qn extends $e {
1485
1485
  _parse(t) {
1486
1486
  const n = this._getOrReturnCtx(t);
1487
1487
  return le(n, {
@@ -1495,7 +1495,7 @@ qn.create = (e) => new qn({
1495
1495
  typeName: we.ZodNever,
1496
1496
  ...Se(e)
1497
1497
  });
1498
- class Hi extends Pe {
1498
+ class Hi extends $e {
1499
1499
  _parse(t) {
1500
1500
  if (this._getType(t) !== ce.undefined) {
1501
1501
  const r = this._getOrReturnCtx(t);
@@ -1512,7 +1512,7 @@ Hi.create = (e) => new Hi({
1512
1512
  typeName: we.ZodVoid,
1513
1513
  ...Se(e)
1514
1514
  });
1515
- class ln extends Pe {
1515
+ class ln extends $e {
1516
1516
  _parse(t) {
1517
1517
  const { ctx: n, status: r } = this._processInputParams(t), o = this._def;
1518
1518
  if (n.parsedType !== ce.array)
@@ -1548,8 +1548,8 @@ class ln extends Pe {
1548
1548
  exact: !1,
1549
1549
  message: o.maxLength.message
1550
1550
  }), r.dirty()), n.common.async)
1551
- return Promise.all([...n.data].map((i, a) => o.type._parseAsync(new $n(n, i, n.path, a)))).then((i) => xt.mergeArray(r, i));
1552
- const s = [...n.data].map((i, a) => o.type._parseSync(new $n(n, i, n.path, a)));
1551
+ return Promise.all([...n.data].map((i, a) => o.type._parseAsync(new Pn(n, i, n.path, a)))).then((i) => xt.mergeArray(r, i));
1552
+ const s = [...n.data].map((i, a) => o.type._parseSync(new Pn(n, i, n.path, a)));
1553
1553
  return xt.mergeArray(r, s);
1554
1554
  }
1555
1555
  get element() {
@@ -1601,7 +1601,7 @@ function go(e) {
1601
1601
  type: go(e.element)
1602
1602
  }) : e instanceof Cn ? Cn.create(go(e.unwrap())) : e instanceof _r ? _r.create(go(e.unwrap())) : e instanceof An ? An.create(e.items.map((t) => go(t))) : e;
1603
1603
  }
1604
- class et extends Pe {
1604
+ class et extends $e {
1605
1605
  constructor() {
1606
1606
  super(...arguments), this._cached = null, this.nonstrict = this.passthrough, this.augment = this.extend;
1607
1607
  }
@@ -1629,7 +1629,7 @@ class et extends Pe {
1629
1629
  const c = s[u], d = o.data[u];
1630
1630
  l.push({
1631
1631
  key: { status: "valid", value: u },
1632
- value: c._parse(new $n(o, d, o.path, u)),
1632
+ value: c._parse(new Pn(o, d, o.path, u)),
1633
1633
  alwaysSet: u in o.data
1634
1634
  });
1635
1635
  }
@@ -1654,7 +1654,7 @@ class et extends Pe {
1654
1654
  l.push({
1655
1655
  key: { status: "valid", value: c },
1656
1656
  value: u._parse(
1657
- new $n(o, d, o.path, c)
1657
+ new Pn(o, d, o.path, c)
1658
1658
  //, ctx.child(key), value, getParsedType(value)
1659
1659
  ),
1660
1660
  alwaysSet: c in o.data
@@ -1888,7 +1888,7 @@ et.lazycreate = (e, t) => new et({
1888
1888
  typeName: we.ZodObject,
1889
1889
  ...Se(t)
1890
1890
  });
1891
- class Os extends Pe {
1891
+ class Os extends $e {
1892
1892
  _parse(t) {
1893
1893
  const { ctx: n } = this._processInputParams(t), r = this._def.options;
1894
1894
  function o(s) {
@@ -1961,8 +1961,8 @@ Os.create = (e, t) => new Os({
1961
1961
  typeName: we.ZodUnion,
1962
1962
  ...Se(t)
1963
1963
  });
1964
- const jn = (e) => e instanceof Cs ? jn(e.schema) : e instanceof fn ? jn(e.innerType()) : e instanceof Ts ? [e.value] : e instanceof yr ? e.options : e instanceof Ps ? Re.objectValues(e.enum) : e instanceof $s ? jn(e._def.innerType) : e instanceof xs ? [void 0] : e instanceof ks ? [null] : e instanceof Cn ? [void 0, ...jn(e.unwrap())] : e instanceof _r ? [null, ...jn(e.unwrap())] : e instanceof Gl || e instanceof Ds ? jn(e.unwrap()) : e instanceof As ? jn(e._def.innerType) : [];
1965
- class da extends Pe {
1964
+ const jn = (e) => e instanceof Cs ? jn(e.schema) : e instanceof fn ? jn(e.innerType()) : e instanceof Ts ? [e.value] : e instanceof yr ? e.options : e instanceof $s ? Re.objectValues(e.enum) : e instanceof Ps ? jn(e._def.innerType) : e instanceof xs ? [void 0] : e instanceof ks ? [null] : e instanceof Cn ? [void 0, ...jn(e.unwrap())] : e instanceof _r ? [null, ...jn(e.unwrap())] : e instanceof Gl || e instanceof Ds ? jn(e.unwrap()) : e instanceof As ? jn(e._def.innerType) : [];
1965
+ class da extends $e {
1966
1966
  _parse(t) {
1967
1967
  const { ctx: n } = this._processInputParams(t);
1968
1968
  if (n.parsedType !== ce.object)
@@ -2050,7 +2050,7 @@ function hl(e, t) {
2050
2050
  return { valid: !0, data: o };
2051
2051
  } else return n === ce.date && r === ce.date && +e == +t ? { valid: !0, data: e } : { valid: !1 };
2052
2052
  }
2053
- class Ns extends Pe {
2053
+ class Ns extends $e {
2054
2054
  _parse(t) {
2055
2055
  const { status: n, ctx: r } = this._processInputParams(t), o = (s, i) => {
2056
2056
  if (dl(s) || dl(i))
@@ -2088,7 +2088,7 @@ Ns.create = (e, t, n) => new Ns({
2088
2088
  typeName: we.ZodIntersection,
2089
2089
  ...Se(n)
2090
2090
  });
2091
- class An extends Pe {
2091
+ class An extends $e {
2092
2092
  _parse(t) {
2093
2093
  const { status: n, ctx: r } = this._processInputParams(t);
2094
2094
  if (r.parsedType !== ce.array)
@@ -2114,7 +2114,7 @@ class An extends Pe {
2114
2114
  }), n.dirty());
2115
2115
  const s = [...r.data].map((i, a) => {
2116
2116
  const l = this._def.items[a] || this._def.rest;
2117
- return l ? l._parse(new $n(r, i, r.path, a)) : null;
2117
+ return l ? l._parse(new Pn(r, i, r.path, a)) : null;
2118
2118
  }).filter((i) => !!i);
2119
2119
  return r.common.async ? Promise.all(s).then((i) => xt.mergeArray(n, i)) : xt.mergeArray(n, s);
2120
2120
  }
@@ -2138,7 +2138,7 @@ An.create = (e, t) => {
2138
2138
  ...Se(t)
2139
2139
  });
2140
2140
  };
2141
- class Ss extends Pe {
2141
+ class Ss extends $e {
2142
2142
  get keySchema() {
2143
2143
  return this._def.keyType;
2144
2144
  }
@@ -2156,8 +2156,8 @@ class Ss extends Pe {
2156
2156
  const o = [], s = this._def.keyType, i = this._def.valueType;
2157
2157
  for (const a in r.data)
2158
2158
  o.push({
2159
- key: s._parse(new $n(r, a, r.path, a)),
2160
- value: i._parse(new $n(r, r.data[a], r.path, a)),
2159
+ key: s._parse(new Pn(r, a, r.path, a)),
2160
+ value: i._parse(new Pn(r, r.data[a], r.path, a)),
2161
2161
  alwaysSet: a in r.data
2162
2162
  });
2163
2163
  return r.common.async ? xt.mergeObjectAsync(n, o) : xt.mergeObjectSync(n, o);
@@ -2166,7 +2166,7 @@ class Ss extends Pe {
2166
2166
  return this._def.valueType;
2167
2167
  }
2168
2168
  static create(t, n, r) {
2169
- return n instanceof Pe ? new Ss({
2169
+ return n instanceof $e ? new Ss({
2170
2170
  keyType: t,
2171
2171
  valueType: n,
2172
2172
  typeName: we.ZodRecord,
@@ -2179,7 +2179,7 @@ class Ss extends Pe {
2179
2179
  });
2180
2180
  }
2181
2181
  }
2182
- class zi extends Pe {
2182
+ class zi extends $e {
2183
2183
  get keySchema() {
2184
2184
  return this._def.keyType;
2185
2185
  }
@@ -2195,8 +2195,8 @@ class zi extends Pe {
2195
2195
  received: r.parsedType
2196
2196
  }), ke;
2197
2197
  const o = this._def.keyType, s = this._def.valueType, i = [...r.data.entries()].map(([a, l], u) => ({
2198
- key: o._parse(new $n(r, a, r.path, [u, "key"])),
2199
- value: s._parse(new $n(r, l, r.path, [u, "value"]))
2198
+ key: o._parse(new Pn(r, a, r.path, [u, "key"])),
2199
+ value: s._parse(new Pn(r, l, r.path, [u, "value"]))
2200
2200
  }));
2201
2201
  if (r.common.async) {
2202
2202
  const a = /* @__PURE__ */ new Map();
@@ -2227,7 +2227,7 @@ zi.create = (e, t, n) => new zi({
2227
2227
  typeName: we.ZodMap,
2228
2228
  ...Se(n)
2229
2229
  });
2230
- class eo extends Pe {
2230
+ class eo extends $e {
2231
2231
  _parse(t) {
2232
2232
  const { status: n, ctx: r } = this._processInputParams(t);
2233
2233
  if (r.parsedType !== ce.set)
@@ -2262,7 +2262,7 @@ class eo extends Pe {
2262
2262
  }
2263
2263
  return { status: n.value, value: u };
2264
2264
  }
2265
- const a = [...r.data.values()].map((l, u) => s._parse(new $n(r, l, r.path, u)));
2265
+ const a = [...r.data.values()].map((l, u) => s._parse(new Pn(r, l, r.path, u)));
2266
2266
  return r.common.async ? Promise.all(a).then((l) => i(l)) : i(a);
2267
2267
  }
2268
2268
  min(t, n) {
@@ -2291,7 +2291,7 @@ eo.create = (e, t) => new eo({
2291
2291
  typeName: we.ZodSet,
2292
2292
  ...Se(t)
2293
2293
  });
2294
- class Oo extends Pe {
2294
+ class Oo extends $e {
2295
2295
  constructor() {
2296
2296
  super(...arguments), this.validate = this.implement;
2297
2297
  }
@@ -2336,7 +2336,7 @@ class Oo extends Pe {
2336
2336
  });
2337
2337
  }
2338
2338
  const s = { errorMap: n.common.contextualErrorMap }, i = n.data;
2339
- if (this._def.returns instanceof $o) {
2339
+ if (this._def.returns instanceof Po) {
2340
2340
  const a = this;
2341
2341
  return It(async function(...l) {
2342
2342
  const u = new zt([]), c = await a._def.args.parseAsync(l, s).catch((h) => {
@@ -2392,7 +2392,7 @@ class Oo extends Pe {
2392
2392
  });
2393
2393
  }
2394
2394
  }
2395
- class Cs extends Pe {
2395
+ class Cs extends $e {
2396
2396
  get schema() {
2397
2397
  return this._def.getter();
2398
2398
  }
@@ -2406,7 +2406,7 @@ Cs.create = (e, t) => new Cs({
2406
2406
  typeName: we.ZodLazy,
2407
2407
  ...Se(t)
2408
2408
  });
2409
- class Ts extends Pe {
2409
+ class Ts extends $e {
2410
2410
  _parse(t) {
2411
2411
  if (t.data !== this._def.value) {
2412
2412
  const n = this._getOrReturnCtx(t);
@@ -2434,7 +2434,7 @@ function Od(e, t) {
2434
2434
  ...Se(t)
2435
2435
  });
2436
2436
  }
2437
- class yr extends Pe {
2437
+ class yr extends $e {
2438
2438
  constructor() {
2439
2439
  super(...arguments), rs.set(this, void 0);
2440
2440
  }
@@ -2493,7 +2493,7 @@ class yr extends Pe {
2493
2493
  }
2494
2494
  rs = /* @__PURE__ */ new WeakMap();
2495
2495
  yr.create = Od;
2496
- class Ps extends Pe {
2496
+ class $s extends $e {
2497
2497
  constructor() {
2498
2498
  super(...arguments), os.set(this, void 0);
2499
2499
  }
@@ -2522,12 +2522,12 @@ class Ps extends Pe {
2522
2522
  }
2523
2523
  }
2524
2524
  os = /* @__PURE__ */ new WeakMap();
2525
- Ps.create = (e, t) => new Ps({
2525
+ $s.create = (e, t) => new $s({
2526
2526
  values: e,
2527
2527
  typeName: we.ZodNativeEnum,
2528
2528
  ...Se(t)
2529
2529
  });
2530
- class $o extends Pe {
2530
+ class Po extends $e {
2531
2531
  unwrap() {
2532
2532
  return this._def.type;
2533
2533
  }
@@ -2546,12 +2546,12 @@ class $o extends Pe {
2546
2546
  })));
2547
2547
  }
2548
2548
  }
2549
- $o.create = (e, t) => new $o({
2549
+ Po.create = (e, t) => new Po({
2550
2550
  type: e,
2551
2551
  typeName: we.ZodPromise,
2552
2552
  ...Se(t)
2553
2553
  });
2554
- class fn extends Pe {
2554
+ class fn extends $e {
2555
2555
  innerType() {
2556
2556
  return this._def.schema;
2557
2557
  }
@@ -2640,7 +2640,7 @@ fn.createWithPreprocess = (e, t, n) => new fn({
2640
2640
  typeName: we.ZodEffects,
2641
2641
  ...Se(n)
2642
2642
  });
2643
- class Cn extends Pe {
2643
+ class Cn extends $e {
2644
2644
  _parse(t) {
2645
2645
  return this._getType(t) === ce.undefined ? It(void 0) : this._def.innerType._parse(t);
2646
2646
  }
@@ -2653,7 +2653,7 @@ Cn.create = (e, t) => new Cn({
2653
2653
  typeName: we.ZodOptional,
2654
2654
  ...Se(t)
2655
2655
  });
2656
- class _r extends Pe {
2656
+ class _r extends $e {
2657
2657
  _parse(t) {
2658
2658
  return this._getType(t) === ce.null ? It(null) : this._def.innerType._parse(t);
2659
2659
  }
@@ -2666,7 +2666,7 @@ _r.create = (e, t) => new _r({
2666
2666
  typeName: we.ZodNullable,
2667
2667
  ...Se(t)
2668
2668
  });
2669
- class $s extends Pe {
2669
+ class Ps extends $e {
2670
2670
  _parse(t) {
2671
2671
  const { ctx: n } = this._processInputParams(t);
2672
2672
  let r = n.data;
@@ -2680,13 +2680,13 @@ class $s extends Pe {
2680
2680
  return this._def.innerType;
2681
2681
  }
2682
2682
  }
2683
- $s.create = (e, t) => new $s({
2683
+ Ps.create = (e, t) => new Ps({
2684
2684
  innerType: e,
2685
2685
  typeName: we.ZodDefault,
2686
2686
  defaultValue: typeof t.default == "function" ? t.default : () => t.default,
2687
2687
  ...Se(t)
2688
2688
  });
2689
- class As extends Pe {
2689
+ class As extends $e {
2690
2690
  _parse(t) {
2691
2691
  const { ctx: n } = this._processInputParams(t), r = {
2692
2692
  ...n,
@@ -2729,7 +2729,7 @@ As.create = (e, t) => new As({
2729
2729
  catchValue: typeof t.catch == "function" ? t.catch : () => t.catch,
2730
2730
  ...Se(t)
2731
2731
  });
2732
- class qi extends Pe {
2732
+ class qi extends $e {
2733
2733
  _parse(t) {
2734
2734
  if (this._getType(t) !== ce.nan) {
2735
2735
  const r = this._getOrReturnCtx(t);
@@ -2747,7 +2747,7 @@ qi.create = (e) => new qi({
2747
2747
  ...Se(e)
2748
2748
  });
2749
2749
  const pm = Symbol("zod_brand");
2750
- class Gl extends Pe {
2750
+ class Gl extends $e {
2751
2751
  _parse(t) {
2752
2752
  const { ctx: n } = this._processInputParams(t), r = n.data;
2753
2753
  return this._def.type._parse({
@@ -2760,7 +2760,7 @@ class Gl extends Pe {
2760
2760
  return this._def.type;
2761
2761
  }
2762
2762
  }
2763
- class Zs extends Pe {
2763
+ class Zs extends $e {
2764
2764
  _parse(t) {
2765
2765
  const { status: n, ctx: r } = this._processInputParams(t);
2766
2766
  if (r.common.async)
@@ -2800,7 +2800,7 @@ class Zs extends Pe {
2800
2800
  });
2801
2801
  }
2802
2802
  }
2803
- class Ds extends Pe {
2803
+ class Ds extends $e {
2804
2804
  _parse(t) {
2805
2805
  const n = this._def.innerType._parse(t), r = (o) => (Xr(o) && (o.value = Object.freeze(o.value)), o);
2806
2806
  return ws(n) ? n.then((o) => r(o)) : r(n);
@@ -2815,13 +2815,13 @@ Ds.create = (e, t) => new Ds({
2815
2815
  ...Se(t)
2816
2816
  });
2817
2817
  function Nd(e, t = {}, n) {
2818
- return e ? Po.create().superRefine((r, o) => {
2818
+ return e ? $o.create().superRefine((r, o) => {
2819
2819
  var s, i;
2820
2820
  if (!e(r)) {
2821
2821
  const a = typeof t == "function" ? t(r) : typeof t == "string" ? { message: t } : t, l = (i = (s = a.fatal) !== null && s !== void 0 ? s : n) !== null && i !== void 0 ? i : !0, u = typeof a == "string" ? { message: a } : a;
2822
2822
  o.addIssue({ code: "custom", ...u, fatal: l });
2823
2823
  }
2824
- }) : Po.create();
2824
+ }) : $o.create();
2825
2825
  }
2826
2826
  const mm = {
2827
2827
  object: et.lazycreate
@@ -2832,7 +2832,7 @@ var we;
2832
2832
  })(we || (we = {}));
2833
2833
  const bm = (e, t = {
2834
2834
  message: `Input not instance of ${e.name}`
2835
- }) => Nd((n) => n instanceof e, t), Sd = sn.create, Cd = gr.create, gm = qi.create, vm = vr.create, Td = Es.create, ym = Qr.create, _m = Bi.create, wm = xs.create, Em = ks.create, xm = Po.create, km = Hr.create, Om = qn.create, Nm = Hi.create, Sm = ln.create, Cm = et.create, Tm = et.strictCreate, Pm = Os.create, $m = da.create, Am = Ns.create, Dm = An.create, Im = Ss.create, Vm = zi.create, Mm = eo.create, Rm = Oo.create, jm = Cs.create, Lm = Ts.create, Um = yr.create, Fm = Ps.create, Bm = $o.create, zu = fn.create, Hm = Cn.create, zm = _r.create, qm = fn.createWithPreprocess, Zm = Zs.create, Wm = () => Sd().optional(), Gm = () => Cd().optional(), Km = () => Td().optional(), Ym = {
2835
+ }) => Nd((n) => n instanceof e, t), Sd = sn.create, Cd = gr.create, gm = qi.create, vm = vr.create, Td = Es.create, ym = Qr.create, _m = Bi.create, wm = xs.create, Em = ks.create, xm = $o.create, km = Hr.create, Om = qn.create, Nm = Hi.create, Sm = ln.create, Cm = et.create, Tm = et.strictCreate, $m = Os.create, Pm = da.create, Am = Ns.create, Dm = An.create, Im = Ss.create, Vm = zi.create, Mm = eo.create, Rm = Oo.create, jm = Cs.create, Lm = Ts.create, Um = yr.create, Fm = $s.create, Bm = Po.create, zu = fn.create, Hm = Cn.create, zm = _r.create, qm = fn.createWithPreprocess, Zm = Zs.create, Wm = () => Sd().optional(), Gm = () => Cd().optional(), Km = () => Td().optional(), Ym = {
2836
2836
  string: (e) => sn.create({ ...e, coerce: !0 }),
2837
2837
  number: (e) => gr.create({ ...e, coerce: !0 }),
2838
2838
  boolean: (e) => Es.create({
@@ -2866,7 +2866,7 @@ var g = /* @__PURE__ */ Object.freeze({
2866
2866
  },
2867
2867
  ZodParsedType: ce,
2868
2868
  getParsedType: Un,
2869
- ZodType: Pe,
2869
+ ZodType: $e,
2870
2870
  datetimeRegex: kd,
2871
2871
  ZodString: sn,
2872
2872
  ZodNumber: gr,
@@ -2876,7 +2876,7 @@ var g = /* @__PURE__ */ Object.freeze({
2876
2876
  ZodSymbol: Bi,
2877
2877
  ZodUndefined: xs,
2878
2878
  ZodNull: ks,
2879
- ZodAny: Po,
2879
+ ZodAny: $o,
2880
2880
  ZodUnknown: Hr,
2881
2881
  ZodNever: qn,
2882
2882
  ZodVoid: Hi,
@@ -2893,13 +2893,13 @@ var g = /* @__PURE__ */ Object.freeze({
2893
2893
  ZodLazy: Cs,
2894
2894
  ZodLiteral: Ts,
2895
2895
  ZodEnum: yr,
2896
- ZodNativeEnum: Ps,
2897
- ZodPromise: $o,
2896
+ ZodNativeEnum: $s,
2897
+ ZodPromise: Po,
2898
2898
  ZodEffects: fn,
2899
2899
  ZodTransformer: fn,
2900
2900
  ZodOptional: Cn,
2901
2901
  ZodNullable: _r,
2902
- ZodDefault: $s,
2902
+ ZodDefault: Ps,
2903
2903
  ZodCatch: As,
2904
2904
  ZodNaN: qi,
2905
2905
  BRAND: pm,
@@ -2907,8 +2907,8 @@ var g = /* @__PURE__ */ Object.freeze({
2907
2907
  ZodPipeline: Zs,
2908
2908
  ZodReadonly: Ds,
2909
2909
  custom: Nd,
2910
- Schema: Pe,
2911
- ZodSchema: Pe,
2910
+ Schema: $e,
2911
+ ZodSchema: $e,
2912
2912
  late: mm,
2913
2913
  get ZodFirstPartyTypeKind() {
2914
2914
  return we;
@@ -2919,7 +2919,7 @@ var g = /* @__PURE__ */ Object.freeze({
2919
2919
  bigint: vm,
2920
2920
  boolean: Td,
2921
2921
  date: ym,
2922
- discriminatedUnion: $m,
2922
+ discriminatedUnion: Pm,
2923
2923
  effect: zu,
2924
2924
  enum: Um,
2925
2925
  function: Rm,
@@ -2950,7 +2950,7 @@ var g = /* @__PURE__ */ Object.freeze({
2950
2950
  transformer: zu,
2951
2951
  tuple: Dm,
2952
2952
  undefined: wm,
2953
- union: Pm,
2953
+ union: $m,
2954
2954
  unknown: km,
2955
2955
  void: Nm,
2956
2956
  NEVER: Jm,
@@ -3188,7 +3188,7 @@ var pl = { exports: {} };
3188
3188
  }
3189
3189
  }), V;
3190
3190
  }
3191
- function P(O) {
3191
+ function $(O) {
3192
3192
  var V = new w(), B = O.replace(/\r?\n[\t ]+/g, " ");
3193
3193
  return B.split("\r").map(function(ee) {
3194
3194
  return ee.indexOf(`
@@ -3251,7 +3251,7 @@ var pl = { exports: {} };
3251
3251
  de.onload = function() {
3252
3252
  var Ge = {
3253
3253
  statusText: de.statusText,
3254
- headers: P(de.getAllResponseHeaders() || "")
3254
+ headers: $(de.getAllResponseHeaders() || "")
3255
3255
  };
3256
3256
  me.url.indexOf("file://") === 0 && (de.status < 200 || de.status > 599) ? Ge.status = 200 : Ge.status = de.status, Ge.url = "responseURL" in de ? de.responseURL : Ge.headers.get("X-Request-URL");
3257
3257
  var vt = "response" in de ? de.response : de.responseText;
@@ -3302,7 +3302,7 @@ var pl = { exports: {} };
3302
3302
  })(pl, pl.exports);
3303
3303
  var Qm = pl.exports;
3304
3304
  const Is = /* @__PURE__ */ Xm(Qm);
3305
- var e0 = Object.defineProperty, Pd = (e, t) => {
3305
+ var e0 = Object.defineProperty, $d = (e, t) => {
3306
3306
  for (var n in t)
3307
3307
  e0(e, n, { get: t[n], enumerable: !0 });
3308
3308
  }, Rr = /* @__PURE__ */ ((e) => (e.Daily = "Daily", e.Weekly = "Weekly", e.Monthly = "Monthly", e.Quarterly = "Quarterly", e.Yearly = "Yearly", e))(Rr || {});
@@ -3349,7 +3349,8 @@ var wr = g.record(g.number()), t0 = g.object({
3349
3349
  price: wr,
3350
3350
  hasDiscount: g.boolean(),
3351
3351
  discount: Kl.optional(),
3352
- recurrence: r0,
3352
+ // TODO: Remove default once subscriptions are live
3353
+ recurrence: r0.default({ type: "OneOff" }),
3353
3354
  pricingTiers: g.array(o0).nullish()
3354
3355
  });
3355
3356
  function ds(e) {
@@ -3371,7 +3372,7 @@ var wn = /* @__PURE__ */ ((e) => (e.Universal = "Universal", e.Windows = "Window
3371
3372
  path: g.string()
3372
3373
  }).array(),
3373
3374
  licensePath: g.string().nullable()
3374
- }), $d = g.object({
3375
+ }), Pd = g.object({
3375
3376
  name: g.string(),
3376
3377
  key: g.string(),
3377
3378
  platform: g.nativeEnum(wn),
@@ -3396,7 +3397,7 @@ var wn = /* @__PURE__ */ ((e) => (e.Universal = "Universal", e.Windows = "Window
3396
3397
  releaseDescription: g.string().optional(),
3397
3398
  downloadsNeedsUser: g.boolean(),
3398
3399
  downloadsNeedsOwnership: g.boolean(),
3399
- downloads: g.array($d).optional()
3400
+ downloads: g.array(Pd).optional()
3400
3401
  }), fa = g.object({
3401
3402
  id: g.string(),
3402
3403
  name: g.string(),
@@ -3406,7 +3407,7 @@ var wn = /* @__PURE__ */ ((e) => (e.Universal = "Universal", e.Windows = "Window
3406
3407
  website: g.string().nullish(),
3407
3408
  owned: g.boolean(),
3408
3409
  currentVersion: g.string().optional(),
3409
- downloads: $d.array().optional(),
3410
+ downloads: Pd.array().optional(),
3410
3411
  defaultVariation: Ao.optional(),
3411
3412
  variations: Ao.array().optional(),
3412
3413
  type: g.void().transform(() => "product").pipe(g.literal("product"))
@@ -3705,7 +3706,7 @@ var Vd = g.object({
3705
3706
  this.licenses = new h0(e, t), this.products = new p0(e, t), this.activation = new f0(e, t);
3706
3707
  }
3707
3708
  }, Ld = {};
3708
- Pd(Ld, {
3709
+ $d(Ld, {
3709
3710
  completedOrderSchema: () => zd,
3710
3711
  openBundleLineItem: () => Hd,
3711
3712
  openOrderLineItem: () => Jl,
@@ -4004,7 +4005,7 @@ var E0 = Zd, x0 = g.object({
4004
4005
  )).data;
4005
4006
  }
4006
4007
  }, Wd = {};
4007
- Pd(Wd, {
4008
+ $d(Wd, {
4008
4009
  orders: () => Ld
4009
4010
  });
4010
4011
  var N0 = class {
@@ -4039,10 +4040,10 @@ const He = Gd.NODE_ENV !== "production" ? Object.freeze({}) : {}, No = Gd.NODE_E
4039
4040
  ), ba = (e) => {
4040
4041
  const t = /* @__PURE__ */ Object.create(null);
4041
4042
  return (n) => t[n] || (t[n] = e(n));
4042
- }, P0 = /-(\w)/g, At = ba(
4043
- (e) => e.replace(P0, (t, n) => n ? n.toUpperCase() : "")
4044
- ), $0 = /\B([A-Z])/g, xr = ba(
4045
- (e) => e.replace($0, "-$1").toLowerCase()
4043
+ }, $0 = /-(\w)/g, At = ba(
4044
+ (e) => e.replace($0, (t, n) => n ? n.toUpperCase() : "")
4045
+ ), P0 = /\B([A-Z])/g, xr = ba(
4046
+ (e) => e.replace(P0, "-$1").toLowerCase()
4046
4047
  ), no = ba((e) => e.charAt(0).toUpperCase() + e.slice(1)), Ir = ba(
4047
4048
  (e) => e ? `on${no(e)}` : ""
4048
4049
  ), br = (e, t) => !Object.is(e, t), Go = (e, ...t) => {
@@ -4124,10 +4125,10 @@ var ze = {};
4124
4125
  function Qt(e, ...t) {
4125
4126
  console.warn(`[Vue warn] ${e}`, ...t);
4126
4127
  }
4127
- let Pt;
4128
+ let $t;
4128
4129
  class tf {
4129
4130
  constructor(t = !1) {
4130
- this.detached = t, this._active = !0, this.effects = [], this.cleanups = [], this._isPaused = !1, this.parent = Pt, !t && Pt && (this.index = (Pt.scopes || (Pt.scopes = [])).push(
4131
+ this.detached = t, this._active = !0, this.effects = [], this.cleanups = [], this._isPaused = !1, this.parent = $t, !t && $t && (this.index = ($t.scopes || ($t.scopes = [])).push(
4131
4132
  this
4132
4133
  ) - 1);
4133
4134
  }
@@ -4161,11 +4162,11 @@ class tf {
4161
4162
  }
4162
4163
  run(t) {
4163
4164
  if (this._active) {
4164
- const n = Pt;
4165
+ const n = $t;
4165
4166
  try {
4166
- return Pt = this, t();
4167
+ return $t = this, t();
4167
4168
  } finally {
4168
- Pt = n;
4169
+ $t = n;
4169
4170
  }
4170
4171
  } else ze.NODE_ENV !== "production" && Qt("cannot run an inactive effect scope.");
4171
4172
  }
@@ -4174,14 +4175,14 @@ class tf {
4174
4175
  * @internal
4175
4176
  */
4176
4177
  on() {
4177
- Pt = this;
4178
+ $t = this;
4178
4179
  }
4179
4180
  /**
4180
4181
  * This should only be called on non-detached scopes
4181
4182
  * @internal
4182
4183
  */
4183
4184
  off() {
4184
- Pt = this.parent;
4185
+ $t = this.parent;
4185
4186
  }
4186
4187
  stop(t) {
4187
4188
  if (this._active) {
@@ -4208,10 +4209,10 @@ function nf(e) {
4208
4209
  return new tf(e);
4209
4210
  }
4210
4211
  function rf() {
4211
- return Pt;
4212
+ return $t;
4212
4213
  }
4213
4214
  function Z0(e, t = !1) {
4214
- Pt ? Pt.cleanups.push(e) : ze.NODE_ENV !== "production" && !t && Qt(
4215
+ $t ? $t.cleanups.push(e) : ze.NODE_ENV !== "production" && !t && Qt(
4215
4216
  "onScopeDispose() is called when there is no active effect scope to be associated with."
4216
4217
  );
4217
4218
  }
@@ -4219,7 +4220,7 @@ let Fe;
4219
4220
  const Va = /* @__PURE__ */ new WeakSet();
4220
4221
  class of {
4221
4222
  constructor(t) {
4222
- this.fn = t, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, Pt && Pt.active && Pt.effects.push(this);
4223
+ this.fn = t, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, $t && $t.active && $t.effects.push(this);
4223
4224
  }
4224
4225
  pause() {
4225
4226
  this.flags |= 64;
@@ -5373,7 +5374,7 @@ function Sb(e, t, n, r = !0, o = !1) {
5373
5374
  console.error(e);
5374
5375
  }
5375
5376
  }
5376
- const $t = [];
5377
+ const Pt = [];
5377
5378
  let En = -1;
5378
5379
  const So = [];
5379
5380
  let ar = null, yo = 0;
@@ -5385,33 +5386,33 @@ function Ji(e) {
5385
5386
  return e ? t.then(this ? e.bind(this) : e) : t;
5386
5387
  }
5387
5388
  function Tb(e) {
5388
- let t = En + 1, n = $t.length;
5389
+ let t = En + 1, n = Pt.length;
5389
5390
  for (; t < n; ) {
5390
- const r = t + n >>> 1, o = $t[r], s = Rs(o);
5391
+ const r = t + n >>> 1, o = Pt[r], s = Rs(o);
5391
5392
  s < e || s === e && o.flags & 2 ? t = r + 1 : n = r;
5392
5393
  }
5393
5394
  return t;
5394
5395
  }
5395
5396
  function wa(e) {
5396
5397
  if (!(e.flags & 1)) {
5397
- const t = Rs(e), n = $t[$t.length - 1];
5398
+ const t = Rs(e), n = Pt[Pt.length - 1];
5398
5399
  !n || // fast path when the job id is larger than the tail
5399
- !(e.flags & 2) && t >= Rs(n) ? $t.push(e) : $t.splice(Tb(t), 0, e), e.flags |= 1, Sf();
5400
+ !(e.flags & 2) && t >= Rs(n) ? Pt.push(e) : Pt.splice(Tb(t), 0, e), e.flags |= 1, Sf();
5400
5401
  }
5401
5402
  }
5402
5403
  function Sf() {
5403
- Yi || (Yi = Nf.then(Pf));
5404
+ Yi || (Yi = Nf.then($f));
5404
5405
  }
5405
5406
  function Cf(e) {
5406
5407
  be(e) ? So.push(...e) : ar && e.id === -1 ? ar.splice(yo + 1, 0, e) : e.flags & 1 || (So.push(e), e.flags |= 1), Sf();
5407
5408
  }
5408
5409
  function Qu(e, t, n = En + 1) {
5409
- for (N.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()); n < $t.length; n++) {
5410
- const r = $t[n];
5410
+ for (N.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()); n < Pt.length; n++) {
5411
+ const r = Pt[n];
5411
5412
  if (r && r.flags & 2) {
5412
5413
  if (e && r.id !== e.uid || N.NODE_ENV !== "production" && au(t, r))
5413
5414
  continue;
5414
- $t.splice(n, 1), n--, r.flags & 4 && (r.flags &= -2), r(), r.flags & 4 || (r.flags &= -2);
5415
+ Pt.splice(n, 1), n--, r.flags & 4 && (r.flags &= -2), r(), r.flags & 4 || (r.flags &= -2);
5415
5416
  }
5416
5417
  }
5417
5418
  }
@@ -5432,12 +5433,12 @@ function Tf(e) {
5432
5433
  }
5433
5434
  }
5434
5435
  const Rs = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
5435
- function Pf(e) {
5436
+ function $f(e) {
5436
5437
  N.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
5437
5438
  const t = N.NODE_ENV !== "production" ? (n) => au(e, n) : ft;
5438
5439
  try {
5439
- for (En = 0; En < $t.length; En++) {
5440
- const n = $t[En];
5440
+ for (En = 0; En < Pt.length; En++) {
5441
+ const n = Pt[En];
5441
5442
  if (n && !(n.flags & 8)) {
5442
5443
  if (N.NODE_ENV !== "production" && t(n))
5443
5444
  continue;
@@ -5449,11 +5450,11 @@ function Pf(e) {
5449
5450
  }
5450
5451
  }
5451
5452
  } finally {
5452
- for (; En < $t.length; En++) {
5453
- const n = $t[En];
5453
+ for (; En < Pt.length; En++) {
5454
+ const n = Pt[En];
5454
5455
  n && (n.flags &= -2);
5455
5456
  }
5456
- En = -1, $t.length = 0, Tf(e), Yi = null, ($t.length || So.length) && Pf(e);
5457
+ En = -1, Pt.length = 0, Tf(e), Yi = null, (Pt.length || So.length) && $f(e);
5457
5458
  }
5458
5459
  }
5459
5460
  function au(e, t) {
@@ -5471,20 +5472,20 @@ function au(e, t) {
5471
5472
  let an = !1;
5472
5473
  const Ti = /* @__PURE__ */ new Map();
5473
5474
  N.NODE_ENV !== "production" && (Gs().__VUE_HMR_RUNTIME__ = {
5474
- createRecord: Ua($f),
5475
+ createRecord: Ua(Pf),
5475
5476
  rerender: Ua(Ab),
5476
5477
  reload: Ua(Db)
5477
5478
  });
5478
5479
  const ro = /* @__PURE__ */ new Map();
5479
- function Pb(e) {
5480
+ function $b(e) {
5480
5481
  const t = e.type.__hmrId;
5481
5482
  let n = ro.get(t);
5482
- n || ($f(t, e.type), n = ro.get(t)), n.instances.add(e);
5483
+ n || (Pf(t, e.type), n = ro.get(t)), n.instances.add(e);
5483
5484
  }
5484
- function $b(e) {
5485
+ function Pb(e) {
5485
5486
  ro.get(e.type.__hmrId).instances.delete(e);
5486
5487
  }
5487
- function $f(e, t) {
5488
+ function Pf(e, t) {
5488
5489
  return ro.has(e) ? !1 : (ro.set(e, {
5489
5490
  initialDef: Xi(t),
5490
5491
  instances: /* @__PURE__ */ new Set()
@@ -5611,7 +5612,7 @@ function Qi(e) {
5611
5612
  const t = pt;
5612
5613
  return pt = e, Vf = e && e.type.__scopeId || null, t;
5613
5614
  }
5614
- function $(e, t = pt, n) {
5615
+ function P(e, t = pt, n) {
5615
5616
  if (!t || e._n)
5616
5617
  return e;
5617
5618
  const r = (...o) => {
@@ -5685,13 +5686,13 @@ const Rf = Symbol("_vte"), jf = (e) => e.__isTeleport, Wr = (e) => e && (e.disab
5685
5686
  ));
5686
5687
  }, T = () => {
5687
5688
  const D = t.target = kl(t.props, p), C = Uf(D, t, w, h);
5688
- D ? (i !== "svg" && nc(D) ? i = "svg" : i !== "mathml" && rc(D) && (i = "mathml"), S || (m(D, C), Pi(t, !1))) : N.NODE_ENV !== "production" && !S && X(
5689
+ D ? (i !== "svg" && nc(D) ? i = "svg" : i !== "mathml" && rc(D) && (i = "mathml"), S || (m(D, C), $i(t, !1))) : N.NODE_ENV !== "production" && !S && X(
5689
5690
  "Invalid Teleport target on mount:",
5690
5691
  D,
5691
5692
  `(${typeof D})`
5692
5693
  );
5693
5694
  };
5694
- S && (m(n, I), Pi(t, !0)), tc(t.props) ? Tt(() => {
5695
+ S && (m(n, I), $i(t, !0)), tc(t.props) ? Tt(() => {
5695
5696
  T(), t.el.__isMounted = !0;
5696
5697
  }, s) : T();
5697
5698
  } else {
@@ -5741,13 +5742,13 @@ const Rf = Symbol("_vte"), jf = (e) => e.__isTeleport, Wr = (e) => e && (e.disab
5741
5742
  1
5742
5743
  );
5743
5744
  else if ((t.props && t.props.to) !== (e.props && e.props.to)) {
5744
- const P = t.target = kl(
5745
+ const $ = t.target = kl(
5745
5746
  t.props,
5746
5747
  p
5747
5748
  );
5748
- P ? hi(
5749
+ $ ? hi(
5749
5750
  t,
5750
- P,
5751
+ $,
5751
5752
  null,
5752
5753
  u,
5753
5754
  0
@@ -5763,7 +5764,7 @@ const Rf = Symbol("_vte"), jf = (e) => e.__isTeleport, Wr = (e) => e && (e.disab
5763
5764
  u,
5764
5765
  1
5765
5766
  );
5766
- Pi(t, S);
5767
+ $i(t, S);
5767
5768
  }
5768
5769
  },
5769
5770
  remove(e, t, n, { um: r, o: { remove: o } }, s) {
@@ -5850,12 +5851,12 @@ function Bb(e, t, n, r, o, s, {
5850
5851
  s
5851
5852
  );
5852
5853
  }
5853
- Pi(t, h);
5854
+ $i(t, h);
5854
5855
  }
5855
5856
  return t.anchor && i(t.anchor);
5856
5857
  }
5857
5858
  const Hb = Lf;
5858
- function Pi(e, t) {
5859
+ function $i(e, t) {
5859
5860
  const n = e.ctx;
5860
5861
  if (n && n.ut) {
5861
5862
  let r, o;
@@ -6004,8 +6005,8 @@ function Ol(e, t, n, r, o) {
6004
6005
  C
6005
6006
  );
6006
6007
  }, m = (D, C) => {
6007
- const P = C[1];
6008
- I(D, C), be(D) ? D.every((k) => k.length <= 1) && P() : D.length <= 1 && P();
6008
+ const $ = C[1];
6009
+ I(D, C), be(D) ? D.every((k) => k.length <= 1) && $() : D.length <= 1 && $();
6009
6010
  }, T = {
6010
6011
  mode: i,
6011
6012
  persisted: a,
@@ -6020,24 +6021,24 @@ function Ol(e, t, n, r, o) {
6020
6021
  !0
6021
6022
  /* cancelled */
6022
6023
  );
6023
- const P = M[U];
6024
- P && jr(e, P) && P.el[lr] && P.el[lr](), I(C, [D]);
6024
+ const $ = M[U];
6025
+ $ && jr(e, $) && $.el[lr] && $.el[lr](), I(C, [D]);
6025
6026
  },
6026
6027
  enter(D) {
6027
- let C = u, P = c, k = d;
6028
+ let C = u, $ = c, k = d;
6028
6029
  if (!n.isMounted)
6029
6030
  if (s)
6030
- C = S || u, P = H || c, k = W || d;
6031
+ C = S || u, $ = H || c, k = W || d;
6031
6032
  else
6032
6033
  return;
6033
6034
  let G = !1;
6034
6035
  const Ee = D[pi] = (O) => {
6035
- G || (G = !0, O ? I(k, [D]) : I(P, [D]), T.delayedLeave && T.delayedLeave(), D[pi] = void 0);
6036
+ G || (G = !0, O ? I(k, [D]) : I($, [D]), T.delayedLeave && T.delayedLeave(), D[pi] = void 0);
6036
6037
  };
6037
6038
  C ? m(C, [D, Ee]) : Ee();
6038
6039
  },
6039
6040
  leave(D, C) {
6040
- const P = String(e.key);
6041
+ const $ = String(e.key);
6041
6042
  if (D[pi] && D[pi](
6042
6043
  !0
6043
6044
  /* cancelled */
@@ -6046,9 +6047,9 @@ function Ol(e, t, n, r, o) {
6046
6047
  I(f, [D]);
6047
6048
  let k = !1;
6048
6049
  const G = D[lr] = (Ee) => {
6049
- k || (k = !0, C(), Ee ? I(w, [D]) : I(p, [D]), D[lr] = void 0, M[P] === e && delete M[P]);
6050
+ k || (k = !0, C(), Ee ? I(w, [D]) : I(p, [D]), D[lr] = void 0, M[$] === e && delete M[$]);
6050
6051
  };
6051
- M[P] = e, h ? m(h, [D, G]) : G();
6052
+ M[$] = e, h ? m(h, [D, G]) : G();
6052
6053
  },
6053
6054
  clone(D) {
6054
6055
  const C = Ol(
@@ -6527,7 +6528,7 @@ function cg(e) {
6527
6528
  serverPrefetch: D,
6528
6529
  // public API
6529
6530
  expose: C,
6530
- inheritAttrs: P,
6531
+ inheritAttrs: $,
6531
6532
  // assets
6532
6533
  components: k,
6533
6534
  directives: G,
@@ -6611,7 +6612,7 @@ function cg(e) {
6611
6612
  });
6612
6613
  });
6613
6614
  } else e.exposed || (e.exposed = {});
6614
- M && e.render === ft && (e.render = M), P != null && (e.inheritAttrs = P), k && (e.components = k), G && (e.directives = G), D && Zf(e);
6615
+ M && e.render === ft && (e.render = M), $ != null && (e.inheritAttrs = $), k && (e.components = k), G && (e.directives = G), D && Zf(e);
6615
6616
  }
6616
6617
  function dg(e, t, n = ft) {
6617
6618
  be(e) && (e = Cl(e));
@@ -7147,7 +7148,7 @@ function Sg(...e) {
7147
7148
  const ih = (e) => e[0] === "_" || e === "$stable", du = (e) => be(e) ? e.map(rn) : [rn(e)], Cg = (e, t, n) => {
7148
7149
  if (t._n)
7149
7150
  return t;
7150
- const r = $((...o) => (N.NODE_ENV !== "production" && ct && (!n || n.root === ct.root) && X(
7151
+ const r = P((...o) => (N.NODE_ENV !== "production" && ct && (!n || n.root === ct.root) && X(
7151
7152
  `Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`
7152
7153
  ), du(t(...o))), n);
7153
7154
  return r._c = !1, r;
@@ -7172,21 +7173,21 @@ const ih = (e) => e[0] === "_" || e === "$stable", du = (e) => be(e) ? e.map(rn)
7172
7173
  );
7173
7174
  const n = du(t);
7174
7175
  e.slots.default = () => n;
7175
- }, Pl = (e, t, n) => {
7176
+ }, $l = (e, t, n) => {
7176
7177
  for (const r in t)
7177
7178
  (n || r !== "_") && (e[r] = t[r]);
7178
7179
  }, Tg = (e, t, n) => {
7179
7180
  const r = e.slots = th();
7180
7181
  if (e.vnode.shapeFlag & 32) {
7181
7182
  const o = t._;
7182
- o ? (Pl(r, t, n), n && Wi(r, "_", o, !0)) : ah(t, r);
7183
+ o ? ($l(r, t, n), n && Wi(r, "_", o, !0)) : ah(t, r);
7183
7184
  } else t && lh(e, t);
7184
- }, Pg = (e, t, n) => {
7185
+ }, $g = (e, t, n) => {
7185
7186
  const { vnode: r, slots: o } = e;
7186
7187
  let s = !0, i = He;
7187
7188
  if (r.shapeFlag & 32) {
7188
7189
  const a = t._;
7189
- a ? N.NODE_ENV !== "production" && an ? (Pl(o, t, n), kn(e, "set", "$slots")) : n && a === 1 ? s = !1 : Pl(o, t, n) : (s = !t.$stable, ah(t, o)), i = t;
7190
+ a ? N.NODE_ENV !== "production" && an ? ($l(o, t, n), kn(e, "set", "$slots")) : n && a === 1 ? s = !1 : $l(o, t, n) : (s = !t.$stable, ah(t, o)), i = t;
7190
7191
  } else t && (lh(e, t), i = { default: 1 });
7191
7192
  if (s)
7192
7193
  for (const a in o)
@@ -7210,7 +7211,7 @@ function co(e, t) {
7210
7211
  function na() {
7211
7212
  return Yo !== void 0 || (typeof window < "u" && window.performance ? (Yo = !0, dr = window.performance) : Yo = !1), Yo;
7212
7213
  }
7213
- function $g() {
7214
+ function Pg() {
7214
7215
  const e = [];
7215
7216
  if (N.NODE_ENV !== "production" && e.length) {
7216
7217
  const t = e.length > 1;
@@ -7226,7 +7227,7 @@ function Ag(e) {
7226
7227
  return Dg(e);
7227
7228
  }
7228
7229
  function Dg(e, t) {
7229
- $g();
7230
+ Pg();
7230
7231
  const n = Gs();
7231
7232
  n.__VUE__ = !0, N.NODE_ENV !== "production" && Af(n.__VUE_DEVTOOLS_GLOBAL_HOOK__, n);
7232
7233
  const {
@@ -7437,7 +7438,7 @@ function Dg(e, t) {
7437
7438
  te |= b.patchFlag & 16;
7438
7439
  const ae = b.props || He, ge = x.props || He;
7439
7440
  let Oe;
7440
- if (j && Pr(j, !1), (Oe = ge.onVnodeBeforeUpdate) && _n(Oe, j, x, b), _e && Tr(x, b, j, "beforeUpdate"), j && Pr(j, !0), N.NODE_ENV !== "production" && an && (te = 0, se = !1, Y = null), (ae.innerHTML && ge.innerHTML == null || ae.textContent && ge.textContent == null) && c(ne, ""), Y ? (P(
7441
+ if (j && $r(j, !1), (Oe = ge.onVnodeBeforeUpdate) && _n(Oe, j, x, b), _e && Tr(x, b, j, "beforeUpdate"), j && $r(j, !0), N.NODE_ENV !== "production" && an && (te = 0, se = !1, Y = null), (ae.innerHTML && ge.innerHTML == null || ae.textContent && ge.textContent == null) && c(ne, ""), Y ? ($(
7441
7442
  b.dynamicChildren,
7442
7443
  Y,
7443
7444
  ne,
@@ -7470,7 +7471,7 @@ function Dg(e, t) {
7470
7471
  ((Oe = ge.onVnodeUpdated) || _e) && Tt(() => {
7471
7472
  Oe && _n(Oe, j, x, b), _e && Tr(x, b, j, "updated");
7472
7473
  }, K);
7473
- }, P = (b, x, j, K, z, Z, se) => {
7474
+ }, $ = (b, x, j, K, z, Z, se) => {
7474
7475
  for (let ne = 0; ne < x.length; ne++) {
7475
7476
  const te = b[ne], Y = x[ne], _e = (
7476
7477
  // oldVNode may be an errored async setup() component inside Suspense
@@ -7536,7 +7537,7 @@ function Dg(e, t) {
7536
7537
  te
7537
7538
  )) : ae > 0 && ae & 64 && ge && // #2715 the previous fragment could've been a BAILed one as a result
7538
7539
  // of renderSlot() with no valid children
7539
- b.dynamicChildren ? (P(
7540
+ b.dynamicChildren ? ($(
7540
7541
  b.dynamicChildren,
7541
7542
  ge,
7542
7543
  j,
@@ -7588,7 +7589,7 @@ function Dg(e, t) {
7588
7589
  K,
7589
7590
  z
7590
7591
  );
7591
- if (N.NODE_ENV !== "production" && ne.type.__hmrId && Pb(ne), N.NODE_ENV !== "production" && (Si(b), uo(ne, "mount")), Qs(b) && (ne.ctx.renderer = qo), N.NODE_ENV !== "production" && uo(ne, "init"), Qg(ne, !1, se), N.NODE_ENV !== "production" && co(ne, "init"), ne.asyncDep) {
7592
+ if (N.NODE_ENV !== "production" && ne.type.__hmrId && $b(ne), N.NODE_ENV !== "production" && (Si(b), uo(ne, "mount")), Qs(b) && (ne.ctx.renderer = qo), N.NODE_ENV !== "production" && uo(ne, "init"), Qg(ne, !1, se), N.NODE_ENV !== "production" && co(ne, "init"), ne.asyncDep) {
7592
7593
  if (N.NODE_ENV !== "production" && an && (b.el = null), z && z.registerDep(ne, B, se), !b.el) {
7593
7594
  const te = ne.subTree = E(st);
7594
7595
  S(null, te, x, j);
@@ -7628,7 +7629,7 @@ function Dg(e, t) {
7628
7629
  }
7629
7630
  }
7630
7631
  let Be = ae, Ft;
7631
- N.NODE_ENV !== "production" && Si(ae || b.vnode), Pr(b, !1), ae ? (ae.el = Ke.el, ee(b, ae, se)) : ae = Ke, ge && Go(ge), (Ft = ae.props && ae.props.onVnodeBeforeUpdate) && _n(Ft, Me, ae, Ke), Pr(b, !0), N.NODE_ENV !== "production" && uo(b, "render");
7632
+ N.NODE_ENV !== "production" && Si(ae || b.vnode), $r(b, !1), ae ? (ae.el = Ke.el, ee(b, ae, se)) : ae = Ke, ge && Go(ge), (Ft = ae.props && ae.props.onVnodeBeforeUpdate) && _n(Ft, Me, ae, Ke), $r(b, !0), N.NODE_ENV !== "production" && uo(b, "render");
7632
7633
  const Mt = bc(b);
7633
7634
  N.NODE_ENV !== "production" && co(b, "render");
7634
7635
  const gn = b.subTree;
@@ -7649,7 +7650,7 @@ function Dg(e, t) {
7649
7650
  } else {
7650
7651
  let ae;
7651
7652
  const { el: ge, props: Oe } = x, { bm: Me, m: Ke, parent: Be, root: Ft, type: Mt } = b, gn = Co(x);
7652
- Pr(b, !1), Me && Go(Me), !gn && (ae = Oe && Oe.onVnodeBeforeMount) && _n(ae, Be, x), Pr(b, !0);
7653
+ $r(b, !1), Me && Go(Me), !gn && (ae = Oe && Oe.onVnodeBeforeMount) && _n(ae, Be, x), $r(b, !0);
7653
7654
  {
7654
7655
  Ft.ce && Ft.ce._injectChildStyle(Mt), N.NODE_ENV !== "production" && uo(b, "render");
7655
7656
  const vn = b.subTree = bc(b);
@@ -7677,11 +7678,11 @@ function Dg(e, t) {
7677
7678
  const te = b.effect = new of(ne);
7678
7679
  b.scope.off();
7679
7680
  const Y = b.update = te.run.bind(te), _e = b.job = te.runIfDirty.bind(te);
7680
- _e.i = b, _e.id = b.uid, te.scheduler = () => wa(_e), Pr(b, !0), N.NODE_ENV !== "production" && (te.onTrack = b.rtc ? (ae) => Go(b.rtc, ae) : void 0, te.onTrigger = b.rtg ? (ae) => Go(b.rtg, ae) : void 0), Y();
7681
+ _e.i = b, _e.id = b.uid, te.scheduler = () => wa(_e), $r(b, !0), N.NODE_ENV !== "production" && (te.onTrack = b.rtc ? (ae) => Go(b.rtc, ae) : void 0, te.onTrigger = b.rtg ? (ae) => Go(b.rtg, ae) : void 0), Y();
7681
7682
  }, ee = (b, x, j) => {
7682
7683
  x.component = b;
7683
7684
  const K = b.vnode.props;
7684
- b.vnode = x, b.next = null, _g(b, x.props, K, j), Pg(b, x.children, j), Qn(), Qu(b), er();
7685
+ b.vnode = x, b.next = null, _g(b, x.props, K, j), $g(b, x.children, j), Qn(), Qu(b), er();
7685
7686
  }, me = (b, x, j, K, z, Z, se, ne, te = !1) => {
7686
7687
  const Y = b && b.children, _e = b ? b.shapeFlag : 0, ae = x.children, { patchFlag: ge, shapeFlag: Oe } = x;
7687
7688
  if (ge > 0) {
@@ -7998,7 +7999,7 @@ function Dg(e, t) {
7998
7999
  j = f(b), o(b), b = j;
7999
8000
  o(x);
8000
8001
  }, Fp = (b, x, j) => {
8001
- N.NODE_ENV !== "production" && b.type.__hmrId && $b(b);
8002
+ N.NODE_ENV !== "production" && b.type.__hmrId && Pb(b);
8002
8003
  const { bum: K, scope: z, job: Z, subTree: se, um: ne, m: te, a: Y } = b;
8003
8004
  mc(te), mc(Y), K && Go(K), z.stop(), Z && (Z.flags |= 8, rt(se, b, x, j)), ne && Tt(ne, x), Tt(() => {
8004
8005
  b.isUnmounted = !0;
@@ -8033,7 +8034,7 @@ function Dg(e, t) {
8033
8034
  mt: O,
8034
8035
  mc: D,
8035
8036
  pc: me,
8036
- pbc: P,
8037
+ pbc: $,
8037
8038
  n: ai,
8038
8039
  o: e
8039
8040
  };
@@ -8046,7 +8047,7 @@ function Dg(e, t) {
8046
8047
  function Ha({ type: e, props: t }, n) {
8047
8048
  return n === "svg" && e === "foreignObject" || n === "mathml" && e === "annotation-xml" && t && t.encoding && t.encoding.includes("html") ? void 0 : n;
8048
8049
  }
8049
- function Pr({ effect: e, job: t }, n) {
8050
+ function $r({ effect: e, job: t }, n) {
8050
8051
  n ? (e.flags |= 32, t.flags |= 4) : (e.flags &= -33, t.flags &= -5);
8051
8052
  }
8052
8053
  function Ig(e, t) {
@@ -8233,9 +8234,9 @@ function dh(e, t, n = !1) {
8233
8234
  function xa(e, t) {
8234
8235
  return !e || !Ws(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), je(e, t[0].toLowerCase() + t.slice(1)) || je(e, xr(t)) || je(e, t));
8235
8236
  }
8236
- let $l = !1;
8237
+ let Pl = !1;
8237
8238
  function ra() {
8238
- $l = !0;
8239
+ Pl = !0;
8239
8240
  }
8240
8241
  function bc(e) {
8241
8242
  const {
@@ -8256,7 +8257,7 @@ function bc(e) {
8256
8257
  inheritAttrs: w
8257
8258
  } = e, _ = Qi(e);
8258
8259
  let S, H;
8259
- N.NODE_ENV !== "production" && ($l = !1);
8260
+ N.NODE_ENV !== "production" && (Pl = !1);
8260
8261
  try {
8261
8262
  if (n.shapeFlag & 4) {
8262
8263
  const M = o || r, I = N.NODE_ENV !== "production" && h.__isScriptSetup ? new Proxy(M, {
@@ -8309,9 +8310,9 @@ function bc(e) {
8309
8310
  H,
8310
8311
  s
8311
8312
  )), W = pn(W, H, !1, !0);
8312
- else if (N.NODE_ENV !== "production" && !$l && W.type !== st) {
8313
+ else if (N.NODE_ENV !== "production" && !Pl && W.type !== st) {
8313
8314
  const m = Object.keys(a), T = [], D = [];
8314
- for (let C = 0, P = m.length; C < P; C++) {
8315
+ for (let C = 0, $ = m.length; C < $; C++) {
8315
8316
  const k = m[C];
8316
8317
  Ws(k) ? Zi(k) || T.push(k[2].toLowerCase() + k.slice(3)) : D.push(k);
8317
8318
  }
@@ -8465,7 +8466,7 @@ function jr(e, t) {
8465
8466
  }
8466
8467
  const Wg = (...e) => bh(
8467
8468
  ...e
8468
- ), mh = ({ key: e }) => e ?? null, $i = ({
8469
+ ), mh = ({ key: e }) => e ?? null, Pi = ({
8469
8470
  ref: e,
8470
8471
  ref_key: t,
8471
8472
  ref_for: n
@@ -8477,7 +8478,7 @@ function F(e, t = null, n = null, r = 0, o = null, s = e === Ie ? 0 : 1, i = !1,
8477
8478
  type: e,
8478
8479
  props: t,
8479
8480
  key: t && mh(t),
8480
- ref: t && $i(t),
8481
+ ref: t && Pi(t),
8481
8482
  scopeId: Vf,
8482
8483
  slotScopeIds: null,
8483
8484
  children: n,
@@ -8557,7 +8558,7 @@ function pn(e, t, n = !1, r = !1) {
8557
8558
  // #2078 in the case of <component :is="vnode" ref="extra"/>
8558
8559
  // if the vnode itself already has a ref, cloneVNode will need to merge
8559
8560
  // the refs so the single vnode can be set on multiple refs
8560
- n && s ? be(s) ? s.concat($i(t)) : [s, $i(t)] : $i(t)
8561
+ n && s ? be(s) ? s.concat(Pi(t)) : [s, Pi(t)] : Pi(t)
8561
8562
  ) : s,
8562
8563
  scopeId: e.scopeId,
8563
8564
  slotScopeIds: e.slotScopeIds,
@@ -9160,7 +9161,7 @@ const Eh = Il ? (e) => Il.createHTML(e) : (e) => e, av = "http://www.w3.org/2000
9160
9161
  xh
9161
9162
  ), dv = (e) => (e.displayName = "Transition", e.props = cv, e), ni = /* @__PURE__ */ dv(
9162
9163
  (e, { slots: t }) => ut(Zb, fv(e), t)
9163
- ), $r = (e, t = []) => {
9164
+ ), Pr = (e, t = []) => {
9164
9165
  be(e) ? e.forEach((n) => n(...t)) : e && e(...t);
9165
9166
  }, Nc = (e) => e ? be(e) ? e.some((t) => t.length > 1) : e.length > 1 : !1;
9166
9167
  function fv(e) {
@@ -9195,36 +9196,36 @@ function fv(e) {
9195
9196
  k._enterCancelled = O, Ar(k, G ? c : a), Ar(k, G ? u : i), Ee && Ee();
9196
9197
  }, C = (k, G) => {
9197
9198
  k._isLeaving = !1, Ar(k, d), Ar(k, h), Ar(k, f), G && G();
9198
- }, P = (k) => (G, Ee) => {
9199
+ }, $ = (k) => (G, Ee) => {
9199
9200
  const O = k ? m : H, V = () => D(G, k, Ee);
9200
- $r(O, [G, V]), Sc(() => {
9201
+ Pr(O, [G, V]), Sc(() => {
9201
9202
  Ar(G, k ? l : s), Vn(G, k ? c : a), Nc(O) || Cc(G, r, w, V);
9202
9203
  });
9203
9204
  };
9204
9205
  return nt(t, {
9205
9206
  onBeforeEnter(k) {
9206
- $r(S, [k]), Vn(k, s), Vn(k, i);
9207
+ Pr(S, [k]), Vn(k, s), Vn(k, i);
9207
9208
  },
9208
9209
  onBeforeAppear(k) {
9209
- $r(I, [k]), Vn(k, l), Vn(k, u);
9210
+ Pr(I, [k]), Vn(k, l), Vn(k, u);
9210
9211
  },
9211
- onEnter: P(!1),
9212
- onAppear: P(!0),
9212
+ onEnter: $(!1),
9213
+ onAppear: $(!0),
9213
9214
  onLeave(k, G) {
9214
9215
  k._isLeaving = !0;
9215
9216
  const Ee = () => C(k, G);
9216
- Vn(k, d), k._enterCancelled ? (Vn(k, f), $c()) : ($c(), Vn(k, f)), Sc(() => {
9217
+ Vn(k, d), k._enterCancelled ? (Vn(k, f), Pc()) : (Pc(), Vn(k, f)), Sc(() => {
9217
9218
  k._isLeaving && (Ar(k, d), Vn(k, h), Nc(U) || Cc(k, r, _, Ee));
9218
- }), $r(U, [k, Ee]);
9219
+ }), Pr(U, [k, Ee]);
9219
9220
  },
9220
9221
  onEnterCancelled(k) {
9221
- D(k, !1, void 0, !0), $r(W, [k]);
9222
+ D(k, !1, void 0, !0), Pr(W, [k]);
9222
9223
  },
9223
9224
  onAppearCancelled(k) {
9224
- D(k, !0, void 0, !0), $r(T, [k]);
9225
+ D(k, !0, void 0, !0), Pr(T, [k]);
9225
9226
  },
9226
9227
  onLeaveCancelled(k) {
9227
- C(k), $r(M, [k]);
9228
+ C(k), Pr(M, [k]);
9228
9229
  }
9229
9230
  });
9230
9231
  }
@@ -9293,12 +9294,12 @@ function mv(e, t) {
9293
9294
  function Tc(e, t) {
9294
9295
  for (; e.length < t.length; )
9295
9296
  e = e.concat(e);
9296
- return Math.max(...t.map((n, r) => Pc(n) + Pc(e[r])));
9297
+ return Math.max(...t.map((n, r) => $c(n) + $c(e[r])));
9297
9298
  }
9298
- function Pc(e) {
9299
+ function $c(e) {
9299
9300
  return e === "auto" ? 0 : Number(e.slice(0, -1).replace(",", ".")) * 1e3;
9300
9301
  }
9301
- function $c() {
9302
+ function Pc() {
9302
9303
  return document.body.offsetHeight;
9303
9304
  }
9304
9305
  function bv(e, t, n) {
@@ -9442,7 +9443,7 @@ function Tv(e, t) {
9442
9443
  else if (r._vts <= n.attached)
9443
9444
  return;
9444
9445
  hn(
9445
- Pv(r, n.value),
9446
+ $v(r, n.value),
9446
9447
  t,
9447
9448
  5,
9448
9449
  [r]
@@ -9456,7 +9457,7 @@ function Uc(e, t) {
9456
9457
  Expected function or array of functions, received type ${typeof e}.`
9457
9458
  ), ft);
9458
9459
  }
9459
- function Pv(e, t) {
9460
+ function $v(e, t) {
9460
9461
  if (be(t)) {
9461
9462
  const n = e.stopImmediatePropagation;
9462
9463
  return e.stopImmediatePropagation = () => {
@@ -9468,7 +9469,7 @@ function Pv(e, t) {
9468
9469
  return t;
9469
9470
  }
9470
9471
  const Fc = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter
9471
- e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, $v = (e, t, n, r, o, s) => {
9472
+ e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, Pv = (e, t, n, r, o, s) => {
9472
9473
  const i = o === "svg";
9473
9474
  t === "class" ? bv(e, r, i) : t === "style" ? _v(e, n, r) : Ws(t) ? Zi(t) || Ov(e, t, n, r, s) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : Av(e, t, r, i)) ? (Rc(e, t, r), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && Mc(e, t, r, i, s, t !== "value")) : /* #11081 force set props for possible async custom element */ e._isVueCE && (/[A-Z]/.test(t) || !Xe(r)) ? Rc(e, At(t), r, s, t) : (t === "true-value" ? e._trueValue = r : t === "false-value" && (e._falseValue = r), Mc(e, t, r, i));
9474
9475
  };
@@ -9505,7 +9506,7 @@ const Dv = ["ctrl", "shift", "alt", "meta"], Iv = {
9505
9506
  }
9506
9507
  return e(o, ...s);
9507
9508
  });
9508
- }, Vv = /* @__PURE__ */ nt({ patchProp: $v }, uv);
9509
+ }, Vv = /* @__PURE__ */ nt({ patchProp: Pv }, uv);
9509
9510
  let Bc;
9510
9511
  function Mv() {
9511
9512
  return Bc || (Bc = Ag(Vv));
@@ -9841,7 +9842,7 @@ var ri = class ot {
9841
9842
  try {
9842
9843
  this.currentUser.value = await this.client.identity.get();
9843
9844
  } catch (t) {
9844
- t instanceof ha || console.error("Could not load user", t);
9845
+ t instanceof ha || console.error("Could not load user", t), this.currentUser.value = null;
9845
9846
  } finally {
9846
9847
  this.loadedUser.value = !0;
9847
9848
  }
@@ -9873,7 +9874,7 @@ var ri = class ot {
9873
9874
  this.utm.value = JSON.parse(t.newValue);
9874
9875
  break;
9875
9876
  case Vl.storageKey:
9876
- t.newValue || (this.currentUser.value = null);
9877
+ t.newValue ? console.warn("User was updated", t.newValue) : (this.currentUser.value = null, console.warn("User was removed"));
9877
9878
  }
9878
9879
  }
9879
9880
  async refreshOrder() {
@@ -10383,7 +10384,7 @@ function by(e, { autoBom: t = !1 } = {}) {
10383
10384
  function yu(e, t, n) {
10384
10385
  const r = new XMLHttpRequest();
10385
10386
  r.open("GET", e), r.responseType = "blob", r.onload = function() {
10386
- $h(r.response, t, n);
10387
+ Ph(r.response, t, n);
10387
10388
  }, r.onerror = function() {
10388
10389
  console.error("could not download file");
10389
10390
  }, r.send();
@@ -10405,9 +10406,9 @@ function Ii(e) {
10405
10406
  n.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), e.dispatchEvent(n);
10406
10407
  }
10407
10408
  }
10408
- const Vi = typeof navigator == "object" ? navigator : { userAgent: "" }, Ph = /Macintosh/.test(Vi.userAgent) && /AppleWebKit/.test(Vi.userAgent) && !/Safari/.test(Vi.userAgent), $h = hr ? (
10409
+ const Vi = typeof navigator == "object" ? navigator : { userAgent: "" }, $h = /Macintosh/.test(Vi.userAgent) && /AppleWebKit/.test(Vi.userAgent) && !/Safari/.test(Vi.userAgent), Ph = hr ? (
10409
10410
  // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program
10410
- typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !Ph ? gy : (
10411
+ typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !$h ? gy : (
10411
10412
  // Use msSaveOrOpenBlob as a second approach
10412
10413
  "msSaveOrOpenBlob" in Vi ? vy : (
10413
10414
  // Fallback to using FileReader and a popup
@@ -10441,7 +10442,7 @@ function yy(e, t, n, r) {
10441
10442
  if (r = r || open("", "_blank"), r && (r.document.title = r.document.body.innerText = "downloading..."), typeof e == "string")
10442
10443
  return yu(e, t, n);
10443
10444
  const o = e.type === "application/octet-stream", s = /constructor/i.test(String(zc.HTMLElement)) || "safari" in zc, i = /CriOS\/[\d]+/.test(navigator.userAgent);
10444
- if ((i || o && s || Ph) && typeof FileReader < "u") {
10445
+ if ((i || o && s || $h) && typeof FileReader < "u") {
10445
10446
  const a = new FileReader();
10446
10447
  a.onloadend = function() {
10447
10448
  let l = a.result;
@@ -10492,7 +10493,7 @@ async function wy(e) {
10492
10493
  }
10493
10494
  async function Ey(e) {
10494
10495
  try {
10495
- $h(new Blob([JSON.stringify(e.state.value)], {
10496
+ Ph(new Blob([JSON.stringify(e.state.value)], {
10496
10497
  type: "text/plain;charset=utf-8"
10497
10498
  }), "pinia-state.json");
10498
10499
  } catch (t) {
@@ -10612,7 +10613,7 @@ function Cy(e) {
10612
10613
  }
10613
10614
  let Eo = !0;
10614
10615
  const Ri = [], Mr = "pinia:mutations", yt = "pinia", { assign: Ty } = Object, sa = (e) => "🍍 " + e;
10615
- function Py(e, t) {
10616
+ function $y(e, t) {
10616
10617
  Sh({
10617
10618
  id: "dev.esm.pinia",
10618
10619
  label: "Pinia 🍍",
@@ -10745,7 +10746,7 @@ Only state can be modified.`);
10745
10746
  });
10746
10747
  });
10747
10748
  }
10748
- function $y(e, t) {
10749
+ function Py(e, t) {
10749
10750
  Ri.includes(sa(t.$id)) || Ri.push(sa(t.$id)), Sh({
10750
10751
  id: "dev.esm.pinia",
10751
10752
  label: "Pinia 🍍",
@@ -10902,7 +10903,7 @@ function Ay({ app: e, store: t, options: n }) {
10902
10903
  r.apply(this, arguments), qc(t, Object.keys(o._hmrPayload.actions), !!t._isOptionsAPI);
10903
10904
  };
10904
10905
  }
10905
- $y(
10906
+ Py(
10906
10907
  e,
10907
10908
  // FIXME: is there a way to allow the assignment from Store<Id, S, G, A> to StoreGeneric?
10908
10909
  t
@@ -10914,7 +10915,7 @@ function Dy() {
10914
10915
  let n = [], r = [];
10915
10916
  const o = fr({
10916
10917
  install(s) {
10917
- Bs(o), o._a = s, s.provide(Ch, o), s.config.globalProperties.$pinia = o, Ve.NODE_ENV !== "production" && Ve.NODE_ENV !== "test" && hr && Py(s, o), r.forEach((i) => n.push(i)), r = [];
10918
+ Bs(o), o._a = s, s.provide(Ch, o), s.config.globalProperties.$pinia = o, Ve.NODE_ENV !== "production" && Ve.NODE_ENV !== "test" && hr && $y(s, o), r.forEach((i) => n.push(i)), r = [];
10918
10919
  },
10919
10920
  use(s) {
10920
10921
  return this._a ? n.push(s) : r.push(s), this;
@@ -11008,12 +11009,12 @@ function jl(e, t, n = {}, r, o, s) {
11008
11009
  const w = R({});
11009
11010
  let _;
11010
11011
  function S(C) {
11011
- let P;
11012
- u = c = !1, Ve.NODE_ENV !== "production" && (h = []), typeof C == "function" ? (C(r.state.value[e]), P = {
11012
+ let $;
11013
+ u = c = !1, Ve.NODE_ENV !== "production" && (h = []), typeof C == "function" ? (C(r.state.value[e]), $ = {
11013
11014
  type: Tn.patchFunction,
11014
11015
  storeId: e,
11015
11016
  events: h
11016
- }) : (Rl(r.state.value[e], C), P = {
11017
+ }) : (Rl(r.state.value[e], C), $ = {
11017
11018
  type: Tn.patchObject,
11018
11019
  payload: C,
11019
11020
  storeId: e,
@@ -11022,10 +11023,10 @@ function jl(e, t, n = {}, r, o, s) {
11022
11023
  const k = _ = Symbol();
11023
11024
  Ji().then(() => {
11024
11025
  _ === k && (u = !0);
11025
- }), c = !0, ho(d, P, r.state.value[e]);
11026
+ }), c = !0, ho(d, $, r.state.value[e]);
11026
11027
  }
11027
11028
  const H = s ? function() {
11028
- const { state: P } = n, k = P ? P() : {};
11029
+ const { state: $ } = n, k = $ ? $() : {};
11029
11030
  this.$patch((G) => {
11030
11031
  Kt(G, k);
11031
11032
  });
@@ -11038,9 +11039,9 @@ function jl(e, t, n = {}, r, o, s) {
11038
11039
  function W() {
11039
11040
  i.stop(), d = [], f = [], r._s.delete(e);
11040
11041
  }
11041
- const U = (C, P = "") => {
11042
+ const U = (C, $ = "") => {
11042
11043
  if (Wc in C)
11043
- return C[Ga] = P, C;
11044
+ return C[Ga] = $, C;
11044
11045
  const k = function() {
11045
11046
  Bs(r);
11046
11047
  const G = Array.from(arguments), Ee = [], O = [];
@@ -11065,7 +11066,7 @@ function jl(e, t, n = {}, r, o, s) {
11065
11066
  }
11066
11067
  return ee instanceof Promise ? ee.then((me) => (ho(Ee, me), me)).catch((me) => (ho(O, me), Promise.reject(me))) : (ho(Ee, ee), ee);
11067
11068
  };
11068
- return k[Wc] = !0, k[Ga] = P, k;
11069
+ return k[Wc] = !0, k[Ga] = $, k;
11069
11070
  }, M = /* @__PURE__ */ fr({
11070
11071
  actions: {},
11071
11072
  getters: {},
@@ -11078,14 +11079,14 @@ function jl(e, t, n = {}, r, o, s) {
11078
11079
  $onAction: Zc.bind(null, f),
11079
11080
  $patch: S,
11080
11081
  $reset: H,
11081
- $subscribe(C, P = {}) {
11082
- const k = Zc(d, C, P.detached, () => G()), G = i.run(() => Ye(() => r.state.value[e], (Ee) => {
11083
- (P.flush === "sync" ? c : u) && C({
11082
+ $subscribe(C, $ = {}) {
11083
+ const k = Zc(d, C, $.detached, () => G()), G = i.run(() => Ye(() => r.state.value[e], (Ee) => {
11084
+ ($.flush === "sync" ? c : u) && C({
11084
11085
  storeId: e,
11085
11086
  type: Tn.direct,
11086
11087
  events: h
11087
11088
  }, Ee);
11088
- }, Kt({}, l, P)));
11089
+ }, Kt({}, l, $)));
11089
11090
  return k;
11090
11091
  },
11091
11092
  $dispose: W
@@ -11102,16 +11103,16 @@ function jl(e, t, n = {}, r, o, s) {
11102
11103
  r._s.set(e, m);
11103
11104
  const D = (r._a && r._a.runWithContext || Iy)(() => r._e.run(() => (i = nf()).run(() => t({ action: U }))));
11104
11105
  for (const C in D) {
11105
- const P = D[C];
11106
- if (We(P) && !Gc(P) || cn(P))
11107
- Ve.NODE_ENV !== "production" && o ? bi(w.value, C, ja(D, C)) : s || (p && My(P) && (We(P) ? P.value = p[C] : Rl(P, p[C])), r.state.value[e][C] = P), Ve.NODE_ENV !== "production" && M.state.push(C);
11108
- else if (typeof P == "function") {
11109
- const k = Ve.NODE_ENV !== "production" && o ? P : U(P, C);
11110
- D[C] = k, Ve.NODE_ENV !== "production" && (M.actions[C] = P), a.actions[C] = P;
11111
- } else Ve.NODE_ENV !== "production" && Gc(P) && (M.getters[C] = s ? (
11106
+ const $ = D[C];
11107
+ if (We($) && !Gc($) || cn($))
11108
+ Ve.NODE_ENV !== "production" && o ? bi(w.value, C, ja(D, C)) : s || (p && My($) && (We($) ? $.value = p[C] : Rl($, p[C])), r.state.value[e][C] = $), Ve.NODE_ENV !== "production" && M.state.push(C);
11109
+ else if (typeof $ == "function") {
11110
+ const k = Ve.NODE_ENV !== "production" && o ? $ : U($, C);
11111
+ D[C] = k, Ve.NODE_ENV !== "production" && (M.actions[C] = $), a.actions[C] = $;
11112
+ } else Ve.NODE_ENV !== "production" && Gc($) && (M.getters[C] = s ? (
11112
11113
  // @ts-expect-error
11113
11114
  n.getters[C]
11114
- ) : P, hr && (D._getters || // @ts-expect-error: same
11115
+ ) : $, hr && (D._getters || // @ts-expect-error: same
11115
11116
  (D._getters = fr([]))).push(C));
11116
11117
  }
11117
11118
  if (Kt(m, D), Kt(xe(m), D), Object.defineProperty(m, "$state", {
@@ -11119,37 +11120,37 @@ function jl(e, t, n = {}, r, o, s) {
11119
11120
  set: (C) => {
11120
11121
  if (Ve.NODE_ENV !== "production" && o)
11121
11122
  throw new Error("cannot set hotState");
11122
- S((P) => {
11123
- Kt(P, C);
11123
+ S(($) => {
11124
+ Kt($, C);
11124
11125
  });
11125
11126
  }
11126
11127
  }), Ve.NODE_ENV !== "production" && (m._hotUpdate = fr((C) => {
11127
- m._hotUpdating = !0, C._hmrPayload.state.forEach((P) => {
11128
- if (P in m.$state) {
11129
- const k = C.$state[P], G = m.$state[P];
11130
- typeof k == "object" && so(k) && so(G) ? Rh(k, G) : C.$state[P] = G;
11128
+ m._hotUpdating = !0, C._hmrPayload.state.forEach(($) => {
11129
+ if ($ in m.$state) {
11130
+ const k = C.$state[$], G = m.$state[$];
11131
+ typeof k == "object" && so(k) && so(G) ? Rh(k, G) : C.$state[$] = G;
11131
11132
  }
11132
- bi(m, P, ja(C.$state, P));
11133
- }), Object.keys(m.$state).forEach((P) => {
11134
- P in C.$state || Wa(m, P);
11133
+ bi(m, $, ja(C.$state, $));
11134
+ }), Object.keys(m.$state).forEach(($) => {
11135
+ $ in C.$state || Wa(m, $);
11135
11136
  }), u = !1, c = !1, r.state.value[e] = ja(C._hmrPayload, "hotState"), c = !0, Ji().then(() => {
11136
11137
  u = !0;
11137
11138
  });
11138
- for (const P in C._hmrPayload.actions) {
11139
- const k = C[P];
11140
- bi(m, P, U(k, P));
11139
+ for (const $ in C._hmrPayload.actions) {
11140
+ const k = C[$];
11141
+ bi(m, $, U(k, $));
11141
11142
  }
11142
- for (const P in C._hmrPayload.getters) {
11143
- const k = C._hmrPayload.getters[P], G = s ? (
11143
+ for (const $ in C._hmrPayload.getters) {
11144
+ const k = C._hmrPayload.getters[$], G = s ? (
11144
11145
  // special handling of options api
11145
11146
  ie(() => (Bs(r), k.call(m, m)))
11146
11147
  ) : k;
11147
- bi(m, P, G);
11148
+ bi(m, $, G);
11148
11149
  }
11149
- Object.keys(m._hmrPayload.getters).forEach((P) => {
11150
- P in C._hmrPayload.getters || Wa(m, P);
11151
- }), Object.keys(m._hmrPayload.actions).forEach((P) => {
11152
- P in C._hmrPayload.actions || Wa(m, P);
11150
+ Object.keys(m._hmrPayload.getters).forEach(($) => {
11151
+ $ in C._hmrPayload.getters || Wa(m, $);
11152
+ }), Object.keys(m._hmrPayload.actions).forEach(($) => {
11153
+ $ in C._hmrPayload.actions || Wa(m, $);
11153
11154
  }), m._hmrPayload = C._hmrPayload, m._getters = C._getters, m._hotUpdating = !1;
11154
11155
  })), Ve.NODE_ENV !== "production" && Ve.NODE_ENV !== "test" && hr) {
11155
11156
  const C = {
@@ -11158,19 +11159,19 @@ function jl(e, t, n = {}, r, o, s) {
11158
11159
  // avoid warning on devtools trying to display this property
11159
11160
  enumerable: !1
11160
11161
  };
11161
- ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((P) => {
11162
- Object.defineProperty(m, P, Kt({ value: m[P] }, C));
11162
+ ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach(($) => {
11163
+ Object.defineProperty(m, $, Kt({ value: m[$] }, C));
11163
11164
  });
11164
11165
  }
11165
11166
  return r._p.forEach((C) => {
11166
11167
  if (Ve.NODE_ENV !== "production" && Ve.NODE_ENV !== "test" && hr) {
11167
- const P = i.run(() => C({
11168
+ const $ = i.run(() => C({
11168
11169
  store: m,
11169
11170
  app: r._a,
11170
11171
  pinia: r,
11171
11172
  options: a
11172
11173
  }));
11173
- Object.keys(P || {}).forEach((k) => m._customProperties.add(k)), Kt(m, P);
11174
+ Object.keys($ || {}).forEach((k) => m._customProperties.add(k)), Kt(m, $);
11174
11175
  } else
11175
11176
  Kt(m, i.run(() => C({
11176
11177
  store: m,
@@ -11539,7 +11540,7 @@ function Fy(e) {
11539
11540
  }
11540
11541
  typeof window < "u" && typeof document < "u" && (document.addEventListener("DOMContentLoaded", t), t());
11541
11542
  }
11542
- function $e(e) {
11543
+ function Pe(e) {
11543
11544
  if (e == null || e.value == null) return null;
11544
11545
  let t = e.value.$el ?? e.value;
11545
11546
  return t instanceof Node ? t : null;
@@ -11550,7 +11551,7 @@ function Lo(e) {
11550
11551
  if (e instanceof Node)
11551
11552
  return e.ownerDocument;
11552
11553
  if (e && Object.prototype.hasOwnProperty.call(e, "value")) {
11553
- const t = $e(e);
11554
+ const t = Pe(e);
11554
11555
  if (t)
11555
11556
  return t.ownerDocument;
11556
11557
  }
@@ -11689,7 +11690,7 @@ function zh(e) {
11689
11690
  return new Set(e());
11690
11691
  const t = /* @__PURE__ */ new Set();
11691
11692
  for (const n of e.value) {
11692
- const r = $e(n);
11693
+ const r = Pe(n);
11693
11694
  r instanceof HTMLElement && t.add(r);
11694
11695
  }
11695
11696
  return t;
@@ -11735,7 +11736,7 @@ const Xo = Object.assign(
11735
11736
  );
11736
11737
  const l = Ly();
11737
11738
  function u(h) {
11738
- const p = $e(o);
11739
+ const p = Pe(o);
11739
11740
  if (!p)
11740
11741
  return;
11741
11742
  ((_) => _())(() => {
@@ -11759,10 +11760,10 @@ const Xo = Object.assign(
11759
11760
  if (!i.value)
11760
11761
  return;
11761
11762
  const p = zh(e.containers);
11762
- $e(o) instanceof HTMLElement && p.add($e(o));
11763
+ Pe(o) instanceof HTMLElement && p.add(Pe(o));
11763
11764
  const w = h.relatedTarget;
11764
11765
  w instanceof HTMLElement && w.dataset.moonbaseFocusGuard !== "true" && (Zh(p, w) || (c.value ? xn(
11765
- $e(o),
11766
+ Pe(o),
11766
11767
  qt(l.value, {
11767
11768
  [cs.Forwards]: () => mt.Next,
11768
11769
  [cs.Backwards]: () => mt.Previous
@@ -11840,12 +11841,12 @@ function Gy({
11840
11841
  (i, a) => {
11841
11842
  if (i.every((u, c) => (a == null ? void 0 : a[c]) === u) || !r.value)
11842
11843
  return;
11843
- const l = $e(t);
11844
+ const l = Pe(t);
11844
11845
  l && Na(() => {
11845
11846
  var d, f;
11846
11847
  if (!s.value)
11847
11848
  return;
11848
- const u = $e(n), c = (d = e.value) == null ? void 0 : d.activeElement;
11849
+ const u = Pe(n), c = (d = e.value) == null ? void 0 : d.activeElement;
11849
11850
  if (u) {
11850
11851
  if (u === c) {
11851
11852
  o.value = c;
@@ -11876,7 +11877,7 @@ function Ky({
11876
11877
  if (!o.value)
11877
11878
  return;
11878
11879
  const a = zh(n);
11879
- $e(t) instanceof HTMLElement && a.add($e(t));
11880
+ Pe(t) instanceof HTMLElement && a.add(Pe(t));
11880
11881
  const l = r.value;
11881
11882
  if (!l)
11882
11883
  return;
@@ -12147,7 +12148,7 @@ function Jc(e, t = R(!0)) {
12147
12148
  Zt((n) => {
12148
12149
  if (!t.value)
12149
12150
  return;
12150
- const r = $e(e);
12151
+ const r = Pe(e);
12151
12152
  if (!r)
12152
12153
  return;
12153
12154
  n(() => {
@@ -12185,7 +12186,7 @@ function a1(e, t, n = ie(() => !0)) {
12185
12186
  for (const c of u) {
12186
12187
  if (c === null)
12187
12188
  continue;
12188
- const d = c instanceof HTMLElement ? c : $e(c);
12189
+ const d = c instanceof HTMLElement ? c : Pe(c);
12189
12190
  if (d != null && d.contains(l) || i.composed && i.composedPath().includes(d))
12190
12191
  return;
12191
12192
  }
@@ -12269,7 +12270,7 @@ function l1({
12269
12270
  for (const u of t.value)
12270
12271
  i.push(u);
12271
12272
  for (const u of (o == null ? void 0 : o.querySelectorAll("html > *, body > *")) ?? [])
12272
- u !== document.body && u !== document.head && u instanceof HTMLElement && u.id !== "moonbase" && (u.contains($e(r)) || u.contains((l = (a = $e(r)) == null ? void 0 : a.getRootNode()) == null ? void 0 : l.host) || i.some((c) => u.contains(c)) || i.push(u));
12273
+ u !== document.body && u !== document.head && u instanceof HTMLElement && u.id !== "moonbase" && (u.contains(Pe(r)) || u.contains((l = (a = Pe(r)) == null ? void 0 : a.getRootNode()) == null ? void 0 : l.host) || i.some((c) => u.contains(c)) || i.push(u));
12273
12274
  return i;
12274
12275
  }
12275
12276
  return {
@@ -12400,7 +12401,7 @@ const Fl = Symbol("PortalParentContext"), Jh = Symbol("PortalGroupContext"), b1
12400
12401
  return Ye(r, () => {
12401
12402
  if (u || !l)
12402
12403
  return;
12403
- const d = $e(r);
12404
+ const d = Pe(r);
12404
12405
  d && (Ut(l.register(d), c), u = !0);
12405
12406
  }), () => {
12406
12407
  if (!a.value || i.value === null)
@@ -12541,16 +12542,16 @@ const vi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", y1 = /* @__PURE__ */ pe({
12541
12542
  defaultContainers: [ie(() => S.panelRef.value ?? d.value)]
12542
12543
  }), D = ie(() => H.value ? "parent" : "leaf"), C = ie(
12543
12544
  () => u !== null ? (u.value & Bt.Closing) === Bt.Closing : !1
12544
- ), P = ie(() => !e.makeInert || W || C.value ? !1 : w.value), k = ie(() => {
12545
+ ), $ = ie(() => !e.makeInert || W || C.value ? !1 : w.value), k = ie(() => {
12545
12546
  var de;
12546
- return Array.from(((de = f.value) == null ? void 0 : de.querySelectorAll("body > *")) ?? []).find((Ue) => Ue.id === "moonbase" ? !1 : Ue.contains($e(m)) && Ue instanceof HTMLElement) ?? null;
12547
+ return Array.from(((de = f.value) == null ? void 0 : de.querySelectorAll("body > *")) ?? []).find((Ue) => Ue.id === "moonbase" ? !1 : Ue.contains(Pe(m)) && Ue instanceof HTMLElement) ?? null;
12547
12548
  });
12548
- Jc(k, P);
12549
+ Jc(k, $);
12549
12550
  const G = ie(() => H.value ? !0 : w.value), Ee = ie(() => {
12550
12551
  var de;
12551
12552
  return Array.from(
12552
12553
  ((de = f.value) == null ? void 0 : de.querySelectorAll("[data-moonbase-portal]")) ?? []
12553
- ).find((Ue) => Ue.contains($e(m)) && Ue instanceof HTMLElement) ?? null;
12554
+ ).find((Ue) => Ue.contains(Pe(m)) && Ue instanceof HTMLElement) ?? null;
12554
12555
  });
12555
12556
  Jc(Ee, G), h1({
12556
12557
  type: "Dialog",
@@ -12590,7 +12591,7 @@ const vi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", y1 = /* @__PURE__ */ pe({
12590
12591
  })), Zt((de) => {
12591
12592
  if (p.value !== 0)
12592
12593
  return;
12593
- const Ue = $e(d);
12594
+ const Ue = Pe(d);
12594
12595
  if (!Ue)
12595
12596
  return;
12596
12597
  const it = new ResizeObserver((rt) => {
@@ -12741,7 +12742,7 @@ function E1(e, t) {
12741
12742
  n.value = td(e.value.type, e.value.as);
12742
12743
  }), Zt(() => {
12743
12744
  var r;
12744
- n.value || $e(t) && $e(t) instanceof HTMLButtonElement && !((r = $e(t)) != null && r.hasAttribute("type")) && (n.value = "button");
12745
+ n.value || Pe(t) && Pe(t) instanceof HTMLButtonElement && !((r = Pe(t)) != null && r.hasAttribute("type")) && (n.value = "button");
12745
12746
  }), n;
12746
12747
  }
12747
12748
  let x1 = /* @__PURE__ */ pe({
@@ -12815,7 +12816,7 @@ const Ou = Symbol("TabsSSRContext"), k1 = /* @__PURE__ */ pe({
12815
12816
  if (s.value.includes(p))
12816
12817
  return;
12817
12818
  const w = s.value[o.value];
12818
- if (s.value.push(p), s.value = _o(s.value, $e), !a.value) {
12819
+ if (s.value.push(p), s.value = _o(s.value, Pe), !a.value) {
12819
12820
  const _ = s.value.indexOf(w) ?? o.value;
12820
12821
  _ !== -1 && (o.value = _);
12821
12822
  }
@@ -12825,7 +12826,7 @@ const Ou = Symbol("TabsSSRContext"), k1 = /* @__PURE__ */ pe({
12825
12826
  w !== -1 && s.value.splice(w, 1);
12826
12827
  },
12827
12828
  registerPanel(p) {
12828
- i.value.includes(p) || (i.value.push(p), i.value = _o(i.value, $e));
12829
+ i.value.includes(p) || (i.value.push(p), i.value = _o(i.value, Pe));
12829
12830
  },
12830
12831
  unregisterPanel(p) {
12831
12832
  const w = i.value.indexOf(p);
@@ -12833,9 +12834,9 @@ const Ou = Symbol("TabsSSRContext"), k1 = /* @__PURE__ */ pe({
12833
12834
  }
12834
12835
  };
12835
12836
  function c(p) {
12836
- const w = _o(u.tabs.value, $e), _ = _o(u.panels.value, $e), S = w.filter((H) => {
12837
+ const w = _o(u.tabs.value, Pe), _ = _o(u.panels.value, Pe), S = w.filter((H) => {
12837
12838
  var W;
12838
- return !((W = $e(H)) != null && W.hasAttribute("disabled"));
12839
+ return !((W = Pe(H)) != null && W.hasAttribute("disabled"));
12839
12840
  });
12840
12841
  if (
12841
12842
  // Underflow
@@ -12891,9 +12892,9 @@ const Ou = Symbol("TabsSSRContext"), k1 = /* @__PURE__ */ pe({
12891
12892
  }), Zt(() => {
12892
12893
  if (!a.value || l.value == null || u.tabs.value.length <= 0)
12893
12894
  return;
12894
- const p = _o(u.tabs.value, $e);
12895
- p.some((_, S) => $e(u.tabs.value[S]) !== $e(_)) && u.setSelectedIndex(
12896
- p.findIndex((_) => $e(_) === $e(u.tabs.value[l.value]))
12895
+ const p = _o(u.tabs.value, Pe);
12896
+ p.some((_, S) => Pe(u.tabs.value[S]) !== Pe(_)) && u.setSelectedIndex(
12897
+ p.findIndex((_) => Pe(_) === Pe(u.tabs.value[l.value]))
12897
12898
  );
12898
12899
  }), () => {
12899
12900
  const p = { selectedIndex: o.value };
@@ -12901,7 +12902,7 @@ const Ou = Symbol("TabsSSRContext"), k1 = /* @__PURE__ */ pe({
12901
12902
  s.value.length <= 0 && ut(x1, {
12902
12903
  onFocus: () => {
12903
12904
  for (const w of s.value) {
12904
- const _ = $e(w);
12905
+ const _ = Pe(w);
12905
12906
  if ((_ == null ? void 0 : _.tabIndex) === 0)
12906
12907
  return _.focus(), !0;
12907
12908
  }
@@ -12968,13 +12969,13 @@ const Ou = Symbol("TabsSSRContext"), k1 = /* @__PURE__ */ pe({
12968
12969
  var H;
12969
12970
  const S = _();
12970
12971
  if (S === xo.Success && o.activation.value === "auto") {
12971
- const W = (H = Lo(s)) == null ? void 0 : H.activeElement, U = o.tabs.value.findIndex((M) => $e(M) === W);
12972
+ const W = (H = Lo(s)) == null ? void 0 : H.activeElement, U = o.tabs.value.findIndex((M) => Pe(M) === W);
12972
12973
  U !== -1 && o.setSelectedIndex(U);
12973
12974
  }
12974
12975
  return S;
12975
12976
  }
12976
12977
  function d(_) {
12977
- const S = o.tabs.value.map((W) => $e(W)).filter(Boolean);
12978
+ const S = o.tabs.value.map((W) => Pe(W)).filter(Boolean);
12978
12979
  if (_.key === Yt.Space || _.key === Yt.Enter) {
12979
12980
  _.preventDefault(), _.stopPropagation(), o.setSelectedIndex(l.value);
12980
12981
  return;
@@ -13002,7 +13003,7 @@ const Ou = Symbol("TabsSSRContext"), k1 = /* @__PURE__ */ pe({
13002
13003
  const f = R(!1);
13003
13004
  function h() {
13004
13005
  var _;
13005
- f.value || (f.value = !0, !e.disabled && ((_ = $e(s)) == null || _.focus({ preventScroll: !0 }), o.setSelectedIndex(l.value), Na(() => {
13006
+ f.value || (f.value = !0, !e.disabled && ((_ = Pe(s)) == null || _.focus({ preventScroll: !0 }), o.setSelectedIndex(l.value), Na(() => {
13006
13007
  f.value = !1;
13007
13008
  })));
13008
13009
  }
@@ -13023,7 +13024,7 @@ const Ou = Symbol("TabsSSRContext"), k1 = /* @__PURE__ */ pe({
13023
13024
  id: S,
13024
13025
  role: "tab",
13025
13026
  type: w.value,
13026
- "aria-controls": (U = $e(o.panels.value[l.value])) == null ? void 0 : U.id,
13027
+ "aria-controls": (U = Pe(o.panels.value[l.value])) == null ? void 0 : U.id,
13027
13028
  "aria-selected": u.value,
13028
13029
  tabIndex: u.value ? 0 : -1,
13029
13030
  disabled: e.disabled ? !0 : void 0
@@ -13085,7 +13086,7 @@ const Ou = Symbol("TabsSSRContext"), k1 = /* @__PURE__ */ pe({
13085
13086
  ref: s,
13086
13087
  id: d,
13087
13088
  role: "tabpanel",
13088
- "aria-labelledby": (w = $e(o.tabs.value[l.value])) == null ? void 0 : w.id,
13089
+ "aria-labelledby": (w = Pe(o.tabs.value[l.value])) == null ? void 0 : w.id,
13089
13090
  tabIndex: u.value ? f : -1
13090
13091
  };
13091
13092
  return !u.value && e.unmount && !e.static ? ut(zs, { as: "span", "aria-hidden": !0, ...p }) : Ot({
@@ -13153,14 +13154,14 @@ const Nu = Symbol("TransitionContext");
13153
13154
  function T1() {
13154
13155
  return ve(Nu, null) !== null;
13155
13156
  }
13156
- function P1() {
13157
+ function $1() {
13157
13158
  const e = ve(Nu, null);
13158
13159
  if (e === null)
13159
13160
  throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
13160
13161
  return e;
13161
13162
  }
13162
13163
  const Su = Symbol("NestingContext");
13163
- function $1() {
13164
+ function P1() {
13164
13165
  const e = ve(Su, null);
13165
13166
  if (e === null)
13166
13167
  throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
@@ -13248,7 +13249,7 @@ const tp = Io.RenderStrategy, zl = /* @__PURE__ */ pe({
13248
13249
  );
13249
13250
  const c = R(null), d = ie(() => e.unmount ? mr.Unmount : mr.Hidden);
13250
13251
  o({ el: c, $el: c });
13251
- const { show: f, appear: h } = P1(), { register: p, unregister: w } = $1(), _ = R(
13252
+ const { show: f, appear: h } = $1(), { register: p, unregister: w } = P1(), _ = R(
13252
13253
  f.value ? "visible" : "hidden"
13253
13254
  /* Hidden */
13254
13255
  ), S = { value: !0 }, H = io(), W = { value: !1 }, U = ep(() => {
@@ -13269,18 +13270,18 @@ const tp = Io.RenderStrategy, zl = /* @__PURE__ */ pe({
13269
13270
  });
13270
13271
  }
13271
13272
  });
13272
- const M = Dr(e.enter), I = Dr(e.enterFrom), m = Dr(e.enterTo), T = Dr(e.entered), D = Dr(e.leave), C = Dr(e.leaveFrom), P = Dr(e.leaveTo);
13273
+ const M = Dr(e.enter), I = Dr(e.enterFrom), m = Dr(e.enterTo), T = Dr(e.entered), D = Dr(e.leave), C = Dr(e.leaveFrom), $ = Dr(e.leaveTo);
13273
13274
  qe(() => {
13274
13275
  Zt(() => {
13275
13276
  if (_.value === "visible") {
13276
- const G = $e(c);
13277
+ const G = Pe(c);
13277
13278
  if (G instanceof Comment && G.data === "")
13278
13279
  throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
13279
13280
  }
13280
13281
  });
13281
13282
  });
13282
13283
  function k(G) {
13283
- const Ee = S.value && !h.value, O = $e(c);
13284
+ const Ee = S.value && !h.value, O = Pe(c);
13284
13285
  !O || !(O instanceof HTMLElement) || Ee || (W.value = !0, f.value && i(), f.value || l(), G(
13285
13286
  f.value ? nd(
13286
13287
  O,
@@ -13295,7 +13296,7 @@ const tp = Io.RenderStrategy, zl = /* @__PURE__ */ pe({
13295
13296
  O,
13296
13297
  D,
13297
13298
  C,
13298
- P,
13299
+ $,
13299
13300
  T,
13300
13301
  (V) => {
13301
13302
  W.value = !1, V === Hl.Finished && (Ca(U) || (_.value = "hidden", w(H), u()));
@@ -13847,7 +13848,7 @@ const Qe = /* @__PURE__ */ nr(t_, [["render", r_]]), o_ = ["data-contain"], s_ =
13847
13848
  as: "template",
13848
13849
  show: v(t).active !== v(ue).None
13849
13850
  }, {
13850
- default: $(() => {
13851
+ default: P(() => {
13851
13852
  var u, c, d;
13852
13853
  return [
13853
13854
  E(v(y1), {
@@ -13858,7 +13859,7 @@ const Qe = /* @__PURE__ */ nr(t_, [["render", r_]]), o_ = ["data-contain"], s_ =
13858
13859
  "lock-scroll": !((d = v(r)) != null && d.target),
13859
13860
  onClose: l[2] || (l[2] = (f) => v(t).reset())
13860
13861
  }, {
13861
- default: $(() => {
13862
+ default: P(() => {
13862
13863
  var f;
13863
13864
  return [
13864
13865
  F("div", {
@@ -13866,7 +13867,7 @@ const Qe = /* @__PURE__ */ nr(t_, [["render", r_]]), o_ = ["data-contain"], s_ =
13866
13867
  "data-contain": !!((f = v(r)) != null && f.target) || void 0
13867
13868
  }, [
13868
13869
  E(v(zl), { as: "template" }, {
13869
- default: $(() => {
13870
+ default: P(() => {
13870
13871
  var h;
13871
13872
  return [
13872
13873
  E(v(_1), {
@@ -13878,7 +13879,7 @@ const Qe = /* @__PURE__ */ nr(t_, [["render", r_]]), o_ = ["data-contain"], s_ =
13878
13879
  _: 1
13879
13880
  }),
13880
13881
  E(v(zl), { as: "template" }, {
13881
- default: $(() => {
13882
+ default: P(() => {
13882
13883
  var h, p;
13883
13884
  return [
13884
13885
  E(v(w1), {
@@ -13886,7 +13887,7 @@ const Qe = /* @__PURE__ */ nr(t_, [["render", r_]]), o_ = ["data-contain"], s_ =
13886
13887
  "data-contain": !!((h = v(r)) != null && h.target) || void 0,
13887
13888
  "data-background": (p = v(r)) == null ? void 0 : p.theme.colors.background
13888
13889
  }, {
13889
- default: $(() => {
13890
+ default: P(() => {
13890
13891
  var w, _;
13891
13892
  return [
13892
13893
  F("div", s_, [
@@ -13895,7 +13896,7 @@ const Qe = /* @__PURE__ */ nr(t_, [["render", r_]]), o_ = ["data-contain"], s_ =
13895
13896
  variant: "subtle",
13896
13897
  onClick: l[0] || (l[0] = (S) => v(t).back())
13897
13898
  }, {
13898
- default: $(() => [
13899
+ default: P(() => [
13899
13900
  E(v(I1))
13900
13901
  ]),
13901
13902
  _: 1
@@ -13904,7 +13905,7 @@ const Qe = /* @__PURE__ */ nr(t_, [["render", r_]]), o_ = ["data-contain"], s_ =
13904
13905
  variant: "subtle",
13905
13906
  onClick: l[1] || (l[1] = (S) => v(t).reset())
13906
13907
  }, {
13907
- default: $(() => [
13908
+ default: P(() => [
13908
13909
  E(v(G1))
13909
13910
  ]),
13910
13911
  _: 1
@@ -13914,17 +13915,17 @@ const Qe = /* @__PURE__ */ nr(t_, [["render", r_]]), o_ = ["data-contain"], s_ =
13914
13915
  variant: "subtle",
13915
13916
  onClick: i
13916
13917
  }, {
13917
- default: $(() => [
13918
+ default: P(() => [
13918
13919
  E(v(W1))
13919
13920
  ]),
13920
13921
  _: 1
13921
13922
  })) : fe("", !0)
13922
13923
  ]),
13923
13924
  E(v(Xh), { as: e_ }, {
13924
- default: $(() => [
13925
+ default: P(() => [
13925
13926
  L(q(o.value) + " ", 1),
13926
13927
  s.value ? (y(), oe(Qe, { key: 0 }, {
13927
- default: $(() => [
13928
+ default: P(() => [
13928
13929
  L(q(s.value), 1)
13929
13930
  ]),
13930
13931
  _: 1
@@ -13940,7 +13941,7 @@ const Qe = /* @__PURE__ */ nr(t_, [["render", r_]]), o_ = ["data-contain"], s_ =
13940
13941
  name: v(t).direction === v(wu).Forward ? "moonbase:slide-left" : "moonbase:slide-right",
13941
13942
  mode: "out-in"
13942
13943
  }, {
13943
- default: $(() => [
13944
+ default: P(() => [
13944
13945
  kt(a.$slots, "default")
13945
13946
  ]),
13946
13947
  _: 3
@@ -14015,7 +14016,7 @@ const _s = /* @__PURE__ */ nr(l_, [["render", c_]]), d_ = ["data-visible", "data
14015
14016
  onClick: a
14016
14017
  }, [
14017
14018
  E(_s, null, {
14018
- default: $(() => u[2] || (u[2] = [
14019
+ default: P(() => u[2] || (u[2] = [
14019
14020
  L("Log in")
14020
14021
  ])),
14021
14022
  _: 1
@@ -14027,7 +14028,7 @@ const _s = /* @__PURE__ */ nr(l_, [["render", c_]]), d_ = ["data-visible", "data
14027
14028
  onClick: a
14028
14029
  }, [
14029
14030
  E(_s, null, {
14030
- default: $(() => {
14031
+ default: P(() => {
14031
14032
  var _;
14032
14033
  return [
14033
14034
  L(q((_ = v(r).user.value) == null ? void 0 : _.name), 1)
@@ -14043,7 +14044,7 @@ const _s = /* @__PURE__ */ nr(l_, [["render", c_]]), d_ = ["data-visible", "data
14043
14044
  onClick: u[0] || (u[0] = (_) => v(n).show(v(ue).Cart, v(re).AddToCart))
14044
14045
  }, [
14045
14046
  E(_s, null, {
14046
- default: $(() => u[3] || (u[3] = [
14047
+ default: P(() => u[3] || (u[3] = [
14047
14048
  L(" Cart ")
14048
14049
  ])),
14049
14050
  _: 1
@@ -14084,6 +14085,8 @@ function b_() {
14084
14085
  /^product\.[a-z\-]+\.variation\[[a-z\-]+\]\.price$/,
14085
14086
  /^product\.[a-z\-]+\.variation\[[a-z\-]+\]\.original_price$/,
14086
14087
  /^bundle\.[a-z\-]+\.name$/,
14088
+ /^bundle\.[a-z\-]+\.price$/,
14089
+ /^bundle\.[a-z\-]+\.original_price$/,
14087
14090
  /^bundle\.[a-z\-]+\.variation\[[a-z\-]+\]\.price$/,
14088
14091
  /^bundle\.[a-z\-]+\.variation\[[a-z\-]+\]\.original_price$/
14089
14092
  ], n = R({}), r = ie(() => n.value.user || []), o = ie(() => n.value.cart || []), s = ie(() => n.value.product || []), i = ie(() => n.value.bundle || []), a = [
@@ -14130,7 +14133,7 @@ function b_() {
14130
14133
  }
14131
14134
  }
14132
14135
  }, { immediate: !0, deep: !0 }), Ye([s, d, _, p], ([U, M, I, m]) => {
14133
- var T, D, C, P;
14136
+ var T, D, C, $;
14134
14137
  if (U) {
14135
14138
  for (const k of U) {
14136
14139
  const G = ((T = k.dataset.moonbaseRender) == null ? void 0 : T.split(".")) ?? [], Ee = G[1];
@@ -14166,14 +14169,14 @@ function b_() {
14166
14169
  B = !!V;
14167
14170
  break;
14168
14171
  case "has_discount":
14169
- B = !!((P = V == null ? void 0 : V.defaultVariation) != null && P.hasDiscount);
14172
+ B = !!(($ = V == null ? void 0 : V.defaultVariation) != null && $.hasDiscount);
14170
14173
  break;
14171
14174
  }
14172
14175
  G[0].startsWith("!") && (B = !B), k.dataset.moonbaseOriginalHidden || (k.dataset.moonbaseOriginalHidden = k.hidden ? "true" : "false"), B ? k.hidden = !1 : k.hidden = !0;
14173
14176
  }
14174
14177
  }
14175
14178
  }, { immediate: !0, deep: !0 }), Ye([i, f, S, p], ([U, M, I, m]) => {
14176
- var T, D, C, P;
14179
+ var T, D, C, $;
14177
14180
  if (U) {
14178
14181
  for (const k of U) {
14179
14182
  const G = ((T = k.dataset.moonbaseRender) == null ? void 0 : T.split(".")) ?? [], Ee = G[1];
@@ -14209,7 +14212,7 @@ function b_() {
14209
14212
  B = !!V;
14210
14213
  break;
14211
14214
  case "has_discount":
14212
- B = !!((P = V == null ? void 0 : V.defaultVariation) != null && P.hasDiscount);
14215
+ B = !!(($ = V == null ? void 0 : V.defaultVariation) != null && $.hasDiscount);
14213
14216
  break;
14214
14217
  }
14215
14218
  G[0].startsWith("!") && (B = !B), k.dataset.moonbaseOriginalHidden || (k.dataset.moonbaseOriginalHidden = k.hidden ? "true" : "false"), B ? k.hidden = !1 : k.hidden = !0;
@@ -14275,27 +14278,27 @@ function b_() {
14275
14278
  if (m.attributeName === "data-moonbase-render") {
14276
14279
  const C = m.oldValue;
14277
14280
  if (C) {
14278
- const P = C.split(".")[0];
14279
- n.value[P] && (n.value[P] = n.value[P].filter((k) => k !== D));
14281
+ const $ = C.split(".")[0];
14282
+ n.value[$] && (n.value[$] = n.value[$].filter((k) => k !== D));
14280
14283
  }
14281
- if (!T || !t.some((P) => P.test(T)))
14284
+ if (!T || !t.some(($) => $.test(T)))
14282
14285
  T && console.warn(`Element has an unknown Moonbase target (${T})`, D), D.dataset.moonbaseOriginal && (D.textContent = D.dataset.moonbaseOriginal);
14283
14286
  else if (T) {
14284
- const P = T == null ? void 0 : T.split(".")[0];
14285
- n.value[P] = n.value[P] || [], n.value[P].includes(D) || n.value[P].push(D);
14287
+ const $ = T == null ? void 0 : T.split(".")[0];
14288
+ n.value[$] = n.value[$] || [], n.value[$].includes(D) || n.value[$].push(D);
14286
14289
  }
14287
14290
  }
14288
14291
  if (m.attributeName === "data-moonbase-if") {
14289
14292
  const C = m.oldValue;
14290
14293
  if (C) {
14291
- const P = C.split(".")[0];
14292
- l.value[P] && (l.value[P] = l.value[P].filter((k) => k !== D));
14294
+ const $ = C.split(".")[0];
14295
+ l.value[$] && (l.value[$] = l.value[$].filter((k) => k !== D));
14293
14296
  }
14294
- if (!T || !a.some((P) => P.test(T)))
14297
+ if (!T || !a.some(($) => $.test(T)))
14295
14298
  T && console.warn(`Element has an unknown Moonbase target (${T})`, D), D.dataset.moonbaseOriginalHidden === "true" && (D.hidden = !0);
14296
14299
  else if (T) {
14297
- const P = T == null ? void 0 : T.split(".")[0];
14298
- l.value[P] = l.value[P] || [], l.value[P].includes(D) || l.value[P].push(D);
14300
+ const $ = T == null ? void 0 : T.split(".")[0];
14301
+ l.value[$] = l.value[$] || [], l.value[$].includes(D) || l.value[$].push(D);
14299
14302
  }
14300
14303
  }
14301
14304
  } else
@@ -14574,7 +14577,7 @@ Q.prototype.alpha = function(e, t = !1) {
14574
14577
  Q.prototype.clipped = function() {
14575
14578
  return this._rgb._clipped || !1;
14576
14579
  };
14577
- const Pn = {
14580
+ const $n = {
14578
14581
  // Corresponds roughly to RGB brighter/darker
14579
14582
  Kn: 18,
14580
14583
  // D65 standard referent
@@ -14674,23 +14677,23 @@ function Bn(e) {
14674
14677
  const t = k_.get(String(e).toLowerCase());
14675
14678
  if (!t)
14676
14679
  throw new Error("unknown Lab illuminant " + e);
14677
- Pn.labWhitePoint = e, Pn.Xn = t[0], Pn.Zn = t[1];
14680
+ $n.labWhitePoint = e, $n.Xn = t[0], $n.Zn = t[1];
14678
14681
  }
14679
14682
  function qs() {
14680
- return Pn.labWhitePoint;
14683
+ return $n.labWhitePoint;
14681
14684
  }
14682
14685
  const Tu = (...e) => {
14683
14686
  e = Ce(e, "lab");
14684
14687
  const [t, n, r] = e, [o, s, i] = O_(t, n, r), [a, l, u] = up(o, s, i);
14685
14688
  return [a, l, u, e.length > 3 ? e[3] : 1];
14686
14689
  }, O_ = (e, t, n) => {
14687
- const { kE: r, kK: o, kKE: s, Xn: i, Yn: a, Zn: l } = Pn, 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, w = e > s ? Math.pow((e + 16) / 116, 3) : e / o, _ = h > r ? h : (116 * d - 16) / o, S = p * i, H = w * a, W = _ * l;
14690
+ const { kE: r, kK: o, kKE: s, Xn: i, Yn: a, Zn: l } = $n, 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, w = e > s ? Math.pow((e + 16) / 116, 3) : e / o, _ = h > r ? h : (116 * d - 16) / o, S = p * i, H = w * a, W = _ * l;
14688
14691
  return [S, H, W];
14689
14692
  }, el = (e) => {
14690
14693
  const t = Math.sign(e);
14691
14694
  return e = Math.abs(e), (e <= 31308e-7 ? e * 12.92 : 1.055 * Math.pow(e, 1 / 2.4) - 0.055) * t;
14692
14695
  }, up = (e, t, n) => {
14693
- const { MtxAdaptMa: r, MtxAdaptMaI: o, MtxXYZ2RGB: s, RefWhiteRGB: i, Xn: a, Yn: l, Zn: u } = Pn, 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, w = i.X * r.m02 + i.Y * r.m12 + i.Z * r.m22, _ = (e * r.m00 + t * r.m10 + n * r.m20) * (h / c), S = (e * r.m01 + t * r.m11 + n * r.m21) * (p / d), H = (e * r.m02 + t * r.m12 + n * r.m22) * (w / f), W = _ * o.m00 + S * o.m10 + H * o.m20, U = _ * o.m01 + S * o.m11 + H * o.m21, M = _ * o.m02 + S * o.m12 + H * o.m22, I = el(
14696
+ const { MtxAdaptMa: r, MtxAdaptMaI: o, MtxXYZ2RGB: s, RefWhiteRGB: i, Xn: a, Yn: l, Zn: u } = $n, 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, w = i.X * r.m02 + i.Y * r.m12 + i.Z * r.m22, _ = (e * r.m00 + t * r.m10 + n * r.m20) * (h / c), S = (e * r.m01 + t * r.m11 + n * r.m21) * (p / d), H = (e * r.m02 + t * r.m12 + n * r.m22) * (w / f), W = _ * o.m00 + S * o.m10 + H * o.m20, U = _ * o.m01 + S * o.m11 + H * o.m21, M = _ * o.m02 + S * o.m12 + H * o.m22, I = el(
14694
14697
  W * s.m00 + U * s.m10 + M * s.m20
14695
14698
  ), m = el(
14696
14699
  W * s.m01 + U * s.m11 + M * s.m21
@@ -14698,12 +14701,12 @@ const Tu = (...e) => {
14698
14701
  W * s.m02 + U * s.m12 + M * s.m22
14699
14702
  );
14700
14703
  return [I * 255, m * 255, T * 255];
14701
- }, Pu = (...e) => {
14704
+ }, $u = (...e) => {
14702
14705
  const [t, n, r, ...o] = Ce(e, "rgb"), [s, i, a] = cp(t, n, r), [l, u, c] = N_(s, i, a);
14703
14706
  return [l, u, c, ...o.length > 0 && o[0] < 1 ? [o[0]] : []];
14704
14707
  };
14705
14708
  function N_(e, t, n) {
14706
- const { Xn: r, Yn: o, Zn: s, kE: i, kK: a } = Pn, l = e / r, u = t / o, c = n / s, d = l > i ? Math.pow(l, 1 / 3) : (a * l + 16) / 116, f = u > i ? Math.pow(u, 1 / 3) : (a * u + 16) / 116, h = c > i ? Math.pow(c, 1 / 3) : (a * c + 16) / 116;
14709
+ const { Xn: r, Yn: o, Zn: s, kE: i, kK: a } = $n, l = e / r, u = t / o, c = n / s, d = l > i ? Math.pow(l, 1 / 3) : (a * l + 16) / 116, f = u > i ? Math.pow(u, 1 / 3) : (a * u + 16) / 116, h = c > i ? Math.pow(c, 1 / 3) : (a * c + 16) / 116;
14707
14710
  return [116 * f - 16, 500 * (d - f), 200 * (f - h)];
14708
14711
  }
14709
14712
  function tl(e) {
@@ -14712,14 +14715,14 @@ function tl(e) {
14712
14715
  }
14713
14716
  const cp = (e, t, n) => {
14714
14717
  e = tl(e / 255), t = tl(t / 255), n = tl(n / 255);
14715
- const { MtxRGB2XYZ: r, MtxAdaptMa: o, MtxAdaptMaI: s, Xn: i, Yn: a, Zn: l, As: u, Bs: c, Cs: d } = Pn;
14718
+ const { MtxRGB2XYZ: r, MtxAdaptMa: o, MtxAdaptMaI: s, Xn: i, Yn: a, Zn: l, As: u, Bs: c, Cs: d } = $n;
14716
14719
  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;
14717
14720
  const w = i * o.m00 + a * o.m10 + l * o.m20, _ = i * o.m01 + a * o.m11 + l * o.m21, S = i * o.m02 + a * o.m12 + l * o.m22;
14718
14721
  let H = 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;
14719
14722
  return H *= w / u, W *= _ / c, U *= S / d, f = H * s.m00 + W * s.m10 + U * s.m20, h = H * s.m01 + W * s.m11 + U * s.m21, p = H * s.m02 + W * s.m12 + U * s.m22, [f, h, p];
14720
14723
  };
14721
14724
  Q.prototype.lab = function() {
14722
- return Pu(this._rgb);
14725
+ return $u(this._rgb);
14723
14726
  };
14724
14727
  const S_ = (...e) => new Q(...e, "lab");
14725
14728
  Object.assign(Te, { lab: S_, getLabWhitePoint: qs, setLabWhitePoint: Bn });
@@ -14733,7 +14736,7 @@ Ne.autodetect.push({
14733
14736
  });
14734
14737
  Q.prototype.darken = function(e = 1) {
14735
14738
  const t = this, n = t.lab();
14736
- return n[0] -= Pn.Kn * e, new Q(n, "lab").alpha(t.alpha(), !0);
14739
+ return n[0] -= $n.Kn * e, new Q(n, "lab").alpha(t.alpha(), !0);
14737
14740
  };
14738
14741
  Q.prototype.brighten = function(e = 1) {
14739
14742
  return this.darken(-e);
@@ -14749,23 +14752,23 @@ Q.prototype.get = function(e) {
14749
14752
  } else
14750
14753
  return r;
14751
14754
  };
14752
- const { pow: C_ } = Math, T_ = 1e-7, P_ = 20;
14755
+ const { pow: C_ } = Math, T_ = 1e-7, $_ = 20;
14753
14756
  Q.prototype.luminance = function(e, t = "rgb") {
14754
14757
  if (e !== void 0 && De(e) === "number") {
14755
14758
  if (e === 0)
14756
14759
  return new Q([0, 0, 0, this._rgb[3]], "rgb");
14757
14760
  if (e === 1)
14758
14761
  return new Q([255, 255, 255, this._rgb[3]], "rgb");
14759
- let n = this.luminance(), r = P_;
14762
+ let n = this.luminance(), r = $_;
14760
14763
  const o = (i, a) => {
14761
14764
  const l = i.interpolate(a, 0.5, t), u = l.luminance();
14762
14765
  return Math.abs(e - u) < T_ || !r-- ? l : u > e ? o(i, l) : o(l, a);
14763
14766
  }, s = (n > e ? o(new Q([0, 0, 0]), this) : o(this, new Q([255, 255, 255]))).rgb();
14764
14767
  return new Q([...s, this._rgb[3]]);
14765
14768
  }
14766
- return $_(...this._rgb.slice(0, 3));
14769
+ return P_(...this._rgb.slice(0, 3));
14767
14770
  };
14768
- const $_ = (e, t, n) => (e = nl(e), t = nl(t), n = nl(n), 0.2126 * e + 0.7152 * t + 0.0722 * n), nl = (e) => (e /= 255, e <= 0.03928 ? e / 12.92 : C_((e + 0.055) / 1.055, 2.4)), wt = {}, Mo = (e, t, n = 0.5, ...r) => {
14771
+ const P_ = (e, t, n) => (e = nl(e), t = nl(t), n = nl(n), 0.2126 * e + 0.7152 * t + 0.0722 * n), nl = (e) => (e /= 255, e <= 0.03928 ? e / 12.92 : C_((e + 0.055) / 1.055, 2.4)), wt = {}, Mo = (e, t, n = 0.5, ...r) => {
14769
14772
  let o = r[0] || "lrgb";
14770
14773
  if (!wt[o] && !r.length && (o = Object.keys(wt)[0]), !wt[o])
14771
14774
  throw new Error(`interpolation mode ${o} is not defined`);
@@ -14783,19 +14786,19 @@ Q.prototype.premultiply = function(e = !1) {
14783
14786
  const { sin: A_, cos: D_ } = Math, dp = (...e) => {
14784
14787
  let [t, n, r] = Ce(e, "lch");
14785
14788
  return isNaN(r) && (r = 0), r = r * y_, [t, D_(r) * n, A_(r) * n];
14786
- }, $u = (...e) => {
14789
+ }, Pu = (...e) => {
14787
14790
  e = Ce(e, "lch");
14788
14791
  const [t, n, r] = e, [o, s, i] = dp(t, n, r), [a, l, u] = Tu(o, s, i);
14789
14792
  return [a, l, u, e.length > 3 ? e[3] : 1];
14790
14793
  }, I_ = (...e) => {
14791
14794
  const t = ip(Ce(e, "hcl"));
14792
- return $u(...t);
14795
+ return Pu(...t);
14793
14796
  }, { sqrt: V_, atan2: M_, round: R_ } = Math, fp = (...e) => {
14794
14797
  const [t, n, r] = Ce(e, "lab"), o = V_(n * n + r * r);
14795
14798
  let s = (M_(r, n) * __ + 360) % 360;
14796
14799
  return R_(o * 1e4) === 0 && (s = Number.NaN), [t, o, s];
14797
14800
  }, Au = (...e) => {
14798
- const [t, n, r, ...o] = Ce(e, "rgb"), [s, i, a] = Pu(t, n, r), [l, u, c] = fp(s, i, a);
14801
+ const [t, n, r, ...o] = Ce(e, "rgb"), [s, i, a] = $u(t, n, r), [l, u, c] = fp(s, i, a);
14799
14802
  return [l, u, c, ...o.length > 0 && o[0] < 1 ? [o[0]] : []];
14800
14803
  };
14801
14804
  Q.prototype.lch = function() {
@@ -14806,7 +14809,7 @@ Q.prototype.hcl = function() {
14806
14809
  };
14807
14810
  const j_ = (...e) => new Q(...e, "lch"), L_ = (...e) => new Q(...e, "hcl");
14808
14811
  Object.assign(Te, { lch: j_, hcl: L_ });
14809
- Ne.format.lch = $u;
14812
+ Ne.format.lch = Pu;
14810
14813
  Ne.format.hcl = I_;
14811
14814
  ["lch", "hcl"].forEach(
14812
14815
  (e) => Ne.autodetect.push({
@@ -14819,7 +14822,7 @@ Ne.format.hcl = I_;
14819
14822
  );
14820
14823
  Q.prototype.saturate = function(e = 1) {
14821
14824
  const t = this, n = t.lch();
14822
- return n[1] += Pn.Kn * e, n[1] < 0 && (n[1] = 0), new Q(n, "lch").alpha(t.alpha(), !0);
14825
+ return n[1] += $n.Kn * e, n[1] < 0 && (n[1] = 0), new Q(n, "lch").alpha(t.alpha(), !0);
14823
14826
  };
14824
14827
  Q.prototype.desaturate = function(e = 1) {
14825
14828
  return this.saturate(-e);
@@ -15244,9 +15247,9 @@ function la(e) {
15244
15247
  if (T == null && (T = !1), isNaN(m) || m === null)
15245
15248
  return n;
15246
15249
  T ? C = m : a && a.length > 2 ? C = S(m) / (a.length - 2) : d !== c ? C = (m - c) / (d - c) : C = 1, C = W(C), T || (C = H(C)), w !== 1 && (C = Ew(C, w)), C = i[0] + C * (1 - i[0] - i[1]), C = Jr(C, 0, 1);
15247
- const P = Math.floor(C * 1e4);
15248
- if (p && h[P])
15249
- D = h[P];
15250
+ const $ = Math.floor(C * 1e4);
15251
+ if (p && h[$])
15252
+ D = h[$];
15250
15253
  else {
15251
15254
  if (De(l) === "array")
15252
15255
  for (let k = 0; k < s.length; k++) {
@@ -15270,7 +15273,7 @@ function la(e) {
15270
15273
  }
15271
15274
  }
15272
15275
  else De(l) === "function" && (D = l(C));
15273
- p && (h[P] = D);
15276
+ p && (h[$] = D);
15274
15277
  }
15275
15278
  return D;
15276
15279
  };
@@ -15303,12 +15306,12 @@ function la(e) {
15303
15306
  for (let D = 0; D < T; D++)
15304
15307
  s.push(D / (T - 1));
15305
15308
  if (m.length > 2) {
15306
- const D = m.map((P, k) => k / (m.length - 1)), C = m.map((P) => (P - c) / (d - c));
15307
- C.every((P, k) => D[k] === P) || (W = (P) => {
15308
- if (P <= 0 || P >= 1) return P;
15309
+ const D = m.map(($, k) => k / (m.length - 1)), C = m.map(($) => ($ - c) / (d - c));
15310
+ C.every(($, k) => D[k] === $) || (W = ($) => {
15311
+ if ($ <= 0 || $ >= 1) return $;
15309
15312
  let k = 0;
15310
- for (; P >= C[k + 1]; ) k++;
15311
- const G = (P - C[k]) / (C[k + 1] - C[k]);
15313
+ for (; $ >= C[k + 1]; ) k++;
15314
+ const G = ($ - C[k]) / (C[k + 1] - C[k]);
15312
15315
  return D[k] + G * (D[k + 1] - D[k]);
15313
15316
  });
15314
15317
  }
@@ -15324,13 +15327,13 @@ function la(e) {
15324
15327
  return arguments.length ? (r = m, I) : r;
15325
15328
  }, I.correctLightness = function(m) {
15326
15329
  return m == null && (m = !0), f = m, M(), f ? H = function(T) {
15327
- const D = U(0, !0).lab()[0], C = U(1, !0).lab()[0], P = D > C;
15330
+ const D = U(0, !0).lab()[0], C = U(1, !0).lab()[0], $ = D > C;
15328
15331
  let k = U(T, !0).lab()[0];
15329
15332
  const G = D + (C - D) * T;
15330
15333
  let Ee = k - G, O = 0, V = 1, B = 20;
15331
15334
  for (; Math.abs(Ee) > 0.01 && B-- > 0; )
15332
15335
  (function() {
15333
- return P && (Ee *= -1), Ee < 0 ? (O = T, T += (V - T) * 0.5) : (V = T, T += (O - T) * 0.5), k = U(T, !0).lab()[0], Ee = k - G;
15336
+ return $ && (Ee *= -1), Ee < 0 ? (O = T, T += (V - T) * 0.5) : (V = T, T += (O - T) * 0.5), k = U(T, !0).lab()[0], Ee = k - G;
15334
15337
  })();
15335
15338
  return T;
15336
15339
  } : H = (T) => T, I;
@@ -15344,19 +15347,19 @@ function la(e) {
15344
15347
  else if (m === 1)
15345
15348
  D = [I(0.5)];
15346
15349
  else if (m > 1) {
15347
- const C = o[0], P = o[1] - C;
15350
+ const C = o[0], $ = o[1] - C;
15348
15351
  D = xw(0, m).map(
15349
- (k) => I(C + k / (m - 1) * P)
15352
+ (k) => I(C + k / (m - 1) * $)
15350
15353
  );
15351
15354
  } else {
15352
15355
  e = [];
15353
15356
  let C = [];
15354
15357
  if (a && a.length > 2)
15355
- for (let P = 1, k = a.length, G = 1 <= k; G ? P < k : P > k; G ? P++ : P--)
15356
- C.push((a[P - 1] + a[P]) * 0.5);
15358
+ for (let $ = 1, k = a.length, G = 1 <= k; G ? $ < k : $ > k; G ? $++ : $--)
15359
+ C.push((a[$ - 1] + a[$]) * 0.5);
15357
15360
  else
15358
15361
  C = o;
15359
- D = C.map((P) => I(P));
15362
+ D = C.map(($) => I($));
15360
15363
  }
15361
15364
  return Te[T] && (D = D.map((C) => C[T]())), D;
15362
15365
  }, I.cache = function(m) {
@@ -15451,13 +15454,13 @@ const mn = (e, t, n) => {
15451
15454
  }, Sr = (e) => (t, n) => {
15452
15455
  const r = [];
15453
15456
  return r[0] = e(t[0], n[0]), r[1] = e(t[1], n[1]), r[2] = e(t[2], n[2]), r;
15454
- }, Cw = (e) => e, Tw = (e, t) => e * t / 255, Pw = (e, t) => e > t ? t : e, $w = (e, t) => e > t ? e : t, Aw = (e, t) => 255 * (1 - (1 - e / 255) * (1 - t / 255)), Dw = (e, t) => t < 128 ? 2 * e * t / 255 : 255 * (1 - 2 * (1 - e / 255) * (1 - t / 255)), Iw = (e, t) => 255 * (1 - (1 - t / 255) / (e / 255)), Vw = (e, t) => e === 255 ? 255 : (e = 255 * (t / 255) / (1 - e / 255), e > 255 ? 255 : e);
15457
+ }, Cw = (e) => e, Tw = (e, t) => e * t / 255, $w = (e, t) => e > t ? t : e, Pw = (e, t) => e > t ? e : t, Aw = (e, t) => 255 * (1 - (1 - e / 255) * (1 - t / 255)), Dw = (e, t) => t < 128 ? 2 * e * t / 255 : 255 * (1 - 2 * (1 - e / 255) * (1 - t / 255)), Iw = (e, t) => 255 * (1 - (1 - t / 255) / (e / 255)), Vw = (e, t) => e === 255 ? 255 : (e = 255 * (t / 255) / (1 - e / 255), e > 255 ? 255 : e);
15455
15458
  mn.normal = Nr(Sr(Cw));
15456
15459
  mn.multiply = Nr(Sr(Tw));
15457
15460
  mn.screen = Nr(Sr(Aw));
15458
15461
  mn.overlay = Nr(Sr(Dw));
15459
- mn.darken = Nr(Sr(Pw));
15460
- mn.lighten = Nr(Sr($w));
15462
+ mn.darken = Nr(Sr($w));
15463
+ mn.lighten = Nr(Sr(Pw));
15461
15464
  mn.dodge = Nr(Sr(Vw));
15462
15465
  mn.burn = Nr(Sr(Iw));
15463
15466
  const { pow: Mw, sin: Rw, cos: jw } = Math;
@@ -15614,10 +15617,10 @@ function e2(e, t, n = 1, r = 1, o = 1) {
15614
15617
  return 2 * pd * rt / 360;
15615
15618
  };
15616
15619
  e = new Q(e), t = new Q(t);
15617
- const [a, l, u] = Array.from(e.lab()), [c, d, f] = Array.from(t.lab()), h = (a + c) / 2, p = Rn(at(l, 2) + at(u, 2)), w = Rn(at(d, 2) + at(f, 2)), _ = (p + w) / 2, S = 0.5 * (1 - Rn(at(_, 7) / (at(_, 7) + at(25, 7)))), H = l * (1 + S), W = d * (1 + S), U = Rn(at(H, 2) + at(u, 2)), M = Rn(at(W, 2) + at(f, 2)), I = (U + M) / 2, m = s(dd(u, H)), T = s(dd(f, W)), D = m >= 0 ? m : m + 360, C = T >= 0 ? T : T + 360, P = fd(D - C) > 180 ? (D + C + 360) / 2 : (D + C) / 2, k = 1 - 0.17 * Ei(i(P - 30)) + 0.24 * Ei(i(2 * P)) + 0.32 * Ei(i(3 * P + 6)) - 0.2 * Ei(i(4 * P - 63));
15620
+ const [a, l, u] = Array.from(e.lab()), [c, d, f] = Array.from(t.lab()), h = (a + c) / 2, p = Rn(at(l, 2) + at(u, 2)), w = Rn(at(d, 2) + at(f, 2)), _ = (p + w) / 2, S = 0.5 * (1 - Rn(at(_, 7) / (at(_, 7) + at(25, 7)))), H = l * (1 + S), W = d * (1 + S), U = Rn(at(H, 2) + at(u, 2)), M = Rn(at(W, 2) + at(f, 2)), I = (U + M) / 2, m = s(dd(u, H)), T = s(dd(f, W)), D = m >= 0 ? m : m + 360, C = T >= 0 ? T : T + 360, $ = fd(D - C) > 180 ? (D + C + 360) / 2 : (D + C) / 2, k = 1 - 0.17 * Ei(i($ - 30)) + 0.24 * Ei(i(2 * $)) + 0.32 * Ei(i(3 * $ + 6)) - 0.2 * Ei(i(4 * $ - 63));
15618
15621
  let G = C - D;
15619
15622
  G = fd(G) <= 180 ? G : C <= D ? G + 360 : G - 360, G = 2 * Rn(U * M) * hd(i(G) / 2);
15620
- const Ee = c - a, O = M - U, V = 1 + 0.015 * at(h - 50, 2) / Rn(20 + at(h - 50, 2)), B = 1 + 0.045 * I, ee = 1 + 0.015 * I * k, me = 30 * Qw(-at((P - 275) / 25, 2)), Ue = -(2 * Rn(at(I, 7) / (at(I, 7) + at(25, 7)))) * hd(2 * i(me)), it = Rn(
15623
+ const Ee = c - a, O = M - U, V = 1 + 0.015 * at(h - 50, 2) / Rn(20 + at(h - 50, 2)), B = 1 + 0.045 * I, ee = 1 + 0.015 * I * k, me = 30 * Qw(-at(($ - 275) / 25, 2)), Ue = -(2 * Rn(at(I, 7) / (at(I, 7) + at(25, 7)))) * hd(2 * i(me)), it = Rn(
15621
15624
  at(Ee / (n * V), 2) + at(O / (r * B), 2) + at(G / (o * ee), 2) + Ue * (O / (r * B)) * (G / (o * ee))
15622
15625
  );
15623
15626
  return Xw(0, Jw(100, it));
@@ -15756,7 +15759,7 @@ const l2 = (...e) => {
15756
15759
  if (n.substr(0, 3) === "lab") {
15757
15760
  const r = qs();
15758
15761
  Bn("d50");
15759
- const o = u2(Pu(t), n);
15762
+ const o = u2($u(t), n);
15760
15763
  return Bn(r), o;
15761
15764
  }
15762
15765
  if (n.substr(0, 3) === "lch") {
@@ -15770,25 +15773,25 @@ const l2 = (...e) => {
15770
15773
  e = Ce(e, "lch");
15771
15774
  const [t, n, r, ...o] = e, [s, i, a] = dp(t, n, r), [l, u, c] = Du(s, i, a);
15772
15775
  return [l, u, c, ...o.length > 0 && o[0] < 1 ? [o[0]] : []];
15773
- }, zn = /((?:-?\d+)|(?:-?\d+(?:\.\d+)?)%|none)/.source, dn = /((?:-?(?:\d+(?:\.\d*)?|\.\d+)%?)|none)/.source, ua = /((?:-?(?:\d+(?:\.\d*)?|\.\d+)%)|none)/.source, en = /\s*/.source, Bo = /\s+/.source, Vu = /\s*,\s*/.source, Pa = /((?:-?(?:\d+(?:\.\d*)?|\.\d+)(?:deg)?)|none)/.source, Ho = /\s*(?:\/\s*((?:[01]|[01]?\.\d+)|\d+(?:\.\d+)?%))?/.source, wp = new RegExp(
15776
+ }, zn = /((?:-?\d+)|(?:-?\d+(?:\.\d+)?)%|none)/.source, dn = /((?:-?(?:\d+(?:\.\d*)?|\.\d+)%?)|none)/.source, ua = /((?:-?(?:\d+(?:\.\d*)?|\.\d+)%)|none)/.source, en = /\s*/.source, Bo = /\s+/.source, Vu = /\s*,\s*/.source, $a = /((?:-?(?:\d+(?:\.\d*)?|\.\d+)(?:deg)?)|none)/.source, Ho = /\s*(?:\/\s*((?:[01]|[01]?\.\d+)|\d+(?:\.\d+)?%))?/.source, wp = new RegExp(
15774
15777
  "^rgba?\\(" + en + [zn, zn, zn].join(Bo) + Ho + "\\)$"
15775
15778
  ), Ep = new RegExp(
15776
15779
  "^rgb\\(" + en + [zn, zn, zn].join(Vu) + en + "\\)$"
15777
15780
  ), xp = new RegExp(
15778
15781
  "^rgba\\(" + en + [zn, zn, zn, dn].join(Vu) + en + "\\)$"
15779
15782
  ), kp = new RegExp(
15780
- "^hsla?\\(" + en + [Pa, ua, ua].join(Bo) + Ho + "\\)$"
15783
+ "^hsla?\\(" + en + [$a, ua, ua].join(Bo) + Ho + "\\)$"
15781
15784
  ), Op = new RegExp(
15782
- "^hsl?\\(" + en + [Pa, ua, ua].join(Vu) + en + "\\)$"
15785
+ "^hsl?\\(" + en + [$a, ua, ua].join(Vu) + en + "\\)$"
15783
15786
  ), Np = /^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/, Sp = new RegExp(
15784
15787
  "^lab\\(" + en + [dn, dn, dn].join(Bo) + Ho + "\\)$"
15785
15788
  ), Cp = new RegExp(
15786
- "^lch\\(" + en + [dn, dn, Pa].join(Bo) + Ho + "\\)$"
15789
+ "^lch\\(" + en + [dn, dn, $a].join(Bo) + Ho + "\\)$"
15787
15790
  ), Tp = new RegExp(
15788
15791
  "^oklab\\(" + en + [dn, dn, dn].join(Bo) + Ho + "\\)$"
15789
- ), Pp = new RegExp(
15790
- "^oklch\\(" + en + [dn, dn, Pa].join(Bo) + Ho + "\\)$"
15791
- ), { round: $p } = Math, bo = (e) => e.map((t, n) => n <= 2 ? Jr($p(t), 0, 255) : t), lt = (e, t = 0, n = 100, r = !1) => (typeof e == "string" && e.endsWith("%") && (e = parseFloat(e.substring(0, e.length - 1)) / 100, r ? e = t + (e + 1) * 0.5 * (n - t) : e = t + e * (n - t)), +e), St = (e, t) => e === "none" ? t : e, Mu = (e) => {
15792
+ ), $p = new RegExp(
15793
+ "^oklch\\(" + en + [dn, dn, $a].join(Bo) + Ho + "\\)$"
15794
+ ), { round: Pp } = Math, bo = (e) => e.map((t, n) => n <= 2 ? Jr(Pp(t), 0, 255) : t), lt = (e, t = 0, n = 100, r = !1) => (typeof e == "string" && e.endsWith("%") && (e = parseFloat(e.substring(0, e.length - 1)) / 100, r ? e = t + (e + 1) * 0.5 * (n - t) : e = t + e * (n - t)), +e), St = (e, t) => e === "none" ? t : e, Mu = (e) => {
15792
15795
  if (e = e.toLowerCase().trim(), e === "transparent")
15793
15796
  return [0, 0, 0, 0];
15794
15797
  let t;
@@ -15822,7 +15825,7 @@ const l2 = (...e) => {
15822
15825
  n[1] *= 0.01, n[2] *= 0.01;
15823
15826
  const r = Zl(n);
15824
15827
  for (let o = 0; o < 3; o++)
15825
- r[o] = $p(r[o]);
15828
+ r[o] = Pp(r[o]);
15826
15829
  return r[3] = +t[4], r;
15827
15830
  }
15828
15831
  if (t = e.match(Sp)) {
@@ -15840,7 +15843,7 @@ const l2 = (...e) => {
15840
15843
  n[0] = lt(n[0], 0, 100), n[1] = lt(St(n[1], 0), 0, 150, !1), n[2] = +St(n[2].replace("deg", ""), 0);
15841
15844
  const r = qs();
15842
15845
  Bn("d50");
15843
- const o = bo($u(n));
15846
+ const o = bo(Pu(n));
15844
15847
  Bn(r);
15845
15848
  const s = t[4] !== void 0 ? +lt(t[4], 0, 1) : 1;
15846
15849
  return o[3] = s, o;
@@ -15851,7 +15854,7 @@ const l2 = (...e) => {
15851
15854
  const r = bo(Du(n)), o = t[4] !== void 0 ? +lt(t[4], 0, 1) : 1;
15852
15855
  return r[3] = o, r;
15853
15856
  }
15854
- if (t = e.match(Pp)) {
15857
+ if (t = e.match($p)) {
15855
15858
  const n = t.slice(1, 4);
15856
15859
  n[0] = lt(St(n[0], 0), 0, 1), n[1] = lt(St(n[1], 0), 0, 0.4, !1), n[2] = +St(n[2].replace("deg", ""), 0);
15857
15860
  const r = bo(_p(n)), o = t[4] !== void 0 ? +lt(t[4], 0, 1) : 1;
@@ -15860,7 +15863,7 @@ const l2 = (...e) => {
15860
15863
  };
15861
15864
  Mu.test = (e) => (
15862
15865
  // modern
15863
- wp.test(e) || kp.test(e) || Sp.test(e) || Cp.test(e) || Tp.test(e) || Pp.test(e) || // legacy
15866
+ wp.test(e) || kp.test(e) || Sp.test(e) || Cp.test(e) || Tp.test(e) || $p.test(e) || // legacy
15864
15867
  Ep.test(e) || xp.test(e) || Op.test(e) || Np.test(e) || e === "transparent"
15865
15868
  );
15866
15869
  Q.prototype.css = function(e) {
@@ -16884,7 +16887,7 @@ const bn = /* @__PURE__ */ nr(x2, [["render", O2], ["__scopeId", "data-v-687bcaf
16884
16887
  "data-icon-visible": s.working || s.success || s.error || !!s.icon || void 0,
16885
16888
  onClick: i[0] || (i[0] = (u) => s.$emit("click", u))
16886
16889
  }, {
16887
- default: $(() => [
16890
+ default: P(() => [
16888
16891
  F("div", N2, [
16889
16892
  s.working ? (y(), oe(bn, { key: 0 })) : s.success ? (y(), oe(v(L1), { key: 1 })) : s.error ? (y(), oe(v(H1), { key: 2 })) : s.icon ? (y(), oe(sc(s.icon), { key: 3 })) : fe("", !0)
16890
16893
  ]),
@@ -16937,32 +16940,32 @@ function T2(e, t) {
16937
16940
  kt(e.$slots, "default")
16938
16941
  ]);
16939
16942
  }
16940
- const Je = /* @__PURE__ */ nr(S2, [["render", T2]]), P2 = {}, $2 = { class: "moonbase:text-subtext" };
16943
+ const Je = /* @__PURE__ */ nr(S2, [["render", T2]]), $2 = {}, P2 = { class: "moonbase:text-subtext" };
16941
16944
  function A2(e, t) {
16942
- return y(), A("span", $2, [
16945
+ return y(), A("span", P2, [
16943
16946
  kt(e.$slots, "default")
16944
16947
  ]);
16945
16948
  }
16946
- const Ze = /* @__PURE__ */ nr(P2, [["render", A2]]), D2 = { class: "moonbase:about" }, I2 = /* @__PURE__ */ pe({
16949
+ const Ze = /* @__PURE__ */ nr($2, [["render", A2]]), D2 = { class: "moonbase:about" }, I2 = /* @__PURE__ */ pe({
16947
16950
  __name: "About",
16948
16951
  setup(e) {
16949
- const t = Ae(), n = "0.3.0";
16952
+ const t = Ae(), n = "0.3.3";
16950
16953
  return (r, o) => (y(), A("div", D2, [
16951
16954
  o[2] || (o[2] = vh('<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)),
16952
16955
  E(v(Xh), { as: "h3" }, {
16953
- default: $(() => o[0] || (o[0] = [
16956
+ default: P(() => o[0] || (o[0] = [
16954
16957
  L(" Moonbase Embedded Storefront ")
16955
16958
  ])),
16956
16959
  _: 1
16957
16960
  }),
16958
16961
  E(Ze, null, {
16959
- default: $(() => [
16962
+ default: P(() => [
16960
16963
  L(" Version " + q(v(n)), 1)
16961
16964
  ]),
16962
16965
  _: 1
16963
16966
  }),
16964
16967
  E(Je, null, {
16965
- default: $(() => o[1] || (o[1] = [
16968
+ default: P(() => o[1] || (o[1] = [
16966
16969
  L(" This store is using the "),
16967
16970
  F("a", {
16968
16971
  href: "https://moonbase.sh/solutions/payments",
@@ -17033,21 +17036,21 @@ function B2(e, t) {
17033
17036
  kt(e.$slots, "default")
17034
17037
  ]);
17035
17038
  }
17036
- const $a = /* @__PURE__ */ nr(U2, [["render", B2]]), H2 = { class: "moonbase:product-card-content" }, Dp = /* @__PURE__ */ pe({
17039
+ const Pa = /* @__PURE__ */ nr(U2, [["render", B2]]), H2 = { class: "moonbase:product-card-content" }, Dp = /* @__PURE__ */ pe({
17037
17040
  __name: "ProductCard",
17038
17041
  props: {
17039
17042
  product: {}
17040
17043
  },
17041
17044
  setup(e) {
17042
17045
  return (t, n) => (y(), oe(Wn, { class: "moonbase:product-card" }, {
17043
- default: $(() => [
17046
+ default: P(() => [
17044
17047
  E(Gn, {
17045
17048
  url: t.product.iconUrl,
17046
17049
  size: 72
17047
17050
  }, null, 8, ["url"]),
17048
17051
  F("div", H2, [
17049
- E($a, null, {
17050
- default: $(() => {
17052
+ E(Pa, null, {
17053
+ default: P(() => {
17051
17054
  var r;
17052
17055
  return [
17053
17056
  L(q((r = t.product) == null ? void 0 : r.name), 1)
@@ -17056,7 +17059,7 @@ const $a = /* @__PURE__ */ nr(U2, [["render", B2]]), H2 = { class: "moonbase:pro
17056
17059
  _: 1
17057
17060
  }),
17058
17061
  E(Ze, null, {
17059
- default: $(() => {
17062
+ default: P(() => {
17060
17063
  var r;
17061
17064
  return [
17062
17065
  L(q((r = t.product) == null ? void 0 : r.tagline), 1)
@@ -17165,19 +17168,19 @@ const $a = /* @__PURE__ */ nr(U2, [["render", B2]]), H2 = { class: "moonbase:pro
17165
17168
  ), n.value ? t.show(ue.Customer, re.RedeemVoucher) : t.show(ue.Redeem, re.RedeemVoucher);
17166
17169
  }
17167
17170
  return (m, T) => {
17168
- var D, C, P, k, G;
17171
+ var D, C, $, k, G;
17169
17172
  return y(), A("div", z2, [
17170
17173
  v(a) || !v(r) || !((D = v(h)) != null && D.loadedStorefront) ? (y(), A("div", q2, [
17171
17174
  E(bn)
17172
17175
  ])) : v(c) ? (y(), A("div", Z2, [
17173
17176
  E(Qe, null, {
17174
- default: $(() => T[0] || (T[0] = [
17177
+ default: P(() => T[0] || (T[0] = [
17175
17178
  L(" Uh oh ")
17176
17179
  ])),
17177
17180
  _: 1
17178
17181
  }),
17179
17182
  E(Je, null, {
17180
- default: $(() => [
17183
+ default: P(() => [
17181
17184
  L(q(v(c)), 1)
17182
17185
  ]),
17183
17186
  _: 1
@@ -17189,13 +17192,13 @@ const $a = /* @__PURE__ */ nr(U2, [["render", B2]]), H2 = { class: "moonbase:pro
17189
17192
  }, null, 8, ["product"])) : fe("", !0),
17190
17193
  ((C = v(i)) == null ? void 0 : C.status) === v(on).Cancelled ? (y(), A("div", K2, [
17191
17194
  E(Qe, null, {
17192
- default: $(() => T[3] || (T[3] = [
17195
+ default: P(() => T[3] || (T[3] = [
17193
17196
  L(" Uh oh ")
17194
17197
  ])),
17195
17198
  _: 1
17196
17199
  }),
17197
17200
  E(Je, null, {
17198
- default: $(() => T[4] || (T[4] = [
17201
+ default: P(() => T[4] || (T[4] = [
17199
17202
  L(" This activation request was cancelled, open your app to try again. ")
17200
17203
  ])),
17201
17204
  _: 1
@@ -17203,20 +17206,20 @@ const $a = /* @__PURE__ */ nr(U2, [["render", B2]]), H2 = { class: "moonbase:pro
17203
17206
  ])) : v(l) || v(u) ? (y(), A("div", Y2, [
17204
17207
  E(bn),
17205
17208
  E(Je, null, {
17206
- default: $(() => [
17209
+ default: P(() => [
17207
17210
  L(" Activating " + q(v(i).product.name) + "... ", 1)
17208
17211
  ]),
17209
17212
  _: 1
17210
17213
  })
17211
- ])) : ((P = v(i)) == null ? void 0 : P.status) === v(on).Completed ? (y(), A("div", J2, [
17214
+ ])) : (($ = v(i)) == null ? void 0 : $.status) === v(on).Completed ? (y(), A("div", J2, [
17212
17215
  E(Qe, null, {
17213
- default: $(() => T[5] || (T[5] = [
17216
+ default: P(() => T[5] || (T[5] = [
17214
17217
  L(" Done! ")
17215
17218
  ])),
17216
17219
  _: 1
17217
17220
  }),
17218
17221
  E(Je, null, {
17219
- default: $(() => T[6] || (T[6] = [
17222
+ default: P(() => T[6] || (T[6] = [
17220
17223
  L(" Your product is activated. "),
17221
17224
  F("br", null, null, -1),
17222
17225
  L(" You may close this window and return to the app. ")
@@ -17226,13 +17229,13 @@ const $a = /* @__PURE__ */ nr(U2, [["render", B2]]), H2 = { class: "moonbase:pro
17226
17229
  ])) : (y(), A("div", X2, [
17227
17230
  w.value ? (y(), A("div", Q2, [
17228
17231
  E(Qe, null, {
17229
- default: $(() => T[7] || (T[7] = [
17232
+ default: P(() => T[7] || (T[7] = [
17230
17233
  L(" Option 1: Purchase product ")
17231
17234
  ])),
17232
17235
  _: 1
17233
17236
  }),
17234
17237
  E(Je, null, {
17235
- default: $(() => [
17238
+ default: P(() => [
17236
17239
  L(" Buy a copy of " + q(p.value.name) + " for ", 1),
17237
17240
  F("strong", null, q(v(Sn)(p.value.defaultVariation.price[v(_)], v(_))), 1),
17238
17241
  T[8] || (T[8] = L(". "))
@@ -17249,26 +17252,26 @@ const $a = /* @__PURE__ */ nr(U2, [["render", B2]]), H2 = { class: "moonbase:pro
17249
17252
  ])) : fe("", !0),
17250
17253
  v(n) ? !v(n).ownedProducts || !((k = v(n).ownedProducts) != null && k.includes(v(i).product.id)) ? (y(), A("div", rE, [
17251
17254
  E(Qe, null, {
17252
- default: $(() => [
17255
+ default: P(() => [
17253
17256
  L(" Option " + q(w.value ? "2" : "1") + ": Use license ", 1)
17254
17257
  ]),
17255
17258
  _: 1
17256
17259
  }),
17257
17260
  E(Je, null, {
17258
- default: $(() => T[10] || (T[10] = [
17261
+ default: P(() => T[10] || (T[10] = [
17259
17262
  L(" You don't own any licenses for this product. ")
17260
17263
  ])),
17261
17264
  _: 1
17262
17265
  })
17263
17266
  ])) : (G = v(n).ownedProducts) != null && G.includes(v(i).product.id) ? (y(), A("div", oE, [
17264
17267
  E(Qe, null, {
17265
- default: $(() => [
17268
+ default: P(() => [
17266
17269
  L(" Option " + q(w.value ? "2" : "1") + ": Use license ", 1)
17267
17270
  ]),
17268
17271
  _: 1
17269
17272
  }),
17270
17273
  E(Je, null, {
17271
- default: $(() => T[11] || (T[11] = [
17274
+ default: P(() => T[11] || (T[11] = [
17272
17275
  L(" You don't have enough free seats on your licenses to activate this device. Either free up a seat or purchase additional licenses. ")
17273
17276
  ])),
17274
17277
  _: 1
@@ -17282,13 +17285,13 @@ const $a = /* @__PURE__ */ nr(U2, [["render", B2]]), H2 = { class: "moonbase:pro
17282
17285
  ])
17283
17286
  ])) : fe("", !0) : (y(), A("div", tE, [
17284
17287
  E(Qe, null, {
17285
- default: $(() => [
17288
+ default: P(() => [
17286
17289
  L(" Option " + q(w.value ? "2" : "1") + ": Use license ", 1)
17287
17290
  ]),
17288
17291
  _: 1
17289
17292
  }),
17290
17293
  E(Je, null, {
17291
- default: $(() => T[9] || (T[9] = [
17294
+ default: P(() => T[9] || (T[9] = [
17292
17295
  L(" Please sign in to use a license for this product. ")
17293
17296
  ])),
17294
17297
  _: 1
@@ -17303,28 +17306,28 @@ const $a = /* @__PURE__ */ nr(U2, [["render", B2]]), H2 = { class: "moonbase:pro
17303
17306
  ])),
17304
17307
  v(i).trialEligibility ? (y(), A("div", iE, [
17305
17308
  E(Qe, null, {
17306
- default: $(() => [
17309
+ default: P(() => [
17307
17310
  L(" Option " + q(w.value ? "3" : "2") + ": Start trial ", 1)
17308
17311
  ]),
17309
17312
  _: 1
17310
17313
  }),
17311
17314
  v(i).trialEligibility.eligible && v(i).trialEligibility.requiresAccount && !v(n) ? (y(), oe(Je, { key: 0 }, {
17312
- default: $(() => T[12] || (T[12] = [
17315
+ default: P(() => T[12] || (T[12] = [
17313
17316
  L(" You need to be signed in to start a trial for this product. ")
17314
17317
  ])),
17315
17318
  _: 1
17316
17319
  })) : v(i).trialEligibility.eligible && v(i).trialEligibility.existing ? (y(), oe(Je, { key: 1 }, {
17317
- default: $(() => [
17320
+ default: P(() => [
17318
17321
  L(" You are eligible for a " + q(v(i).trialEligibility.numberOfDaysPerProduct) + " day trial of which you have " + q(v(i).trialEligibility.numberOfDaysRemaining) + " days remaining. ", 1)
17319
17322
  ]),
17320
17323
  _: 1
17321
17324
  })) : v(i).trialEligibility.eligible ? (y(), oe(Je, { key: 2 }, {
17322
- default: $(() => [
17325
+ default: P(() => [
17323
17326
  L(" You are eligible for a " + q(v(i).trialEligibility.numberOfDaysPerProduct) + " day trial. ", 1)
17324
17327
  ]),
17325
17328
  _: 1
17326
17329
  })) : (y(), oe(Je, { key: 3 }, {
17327
- default: $(() => T[13] || (T[13] = [
17330
+ default: P(() => T[13] || (T[13] = [
17328
17331
  L(" This device or product is not eligible for a trial. ")
17329
17332
  ])),
17330
17333
  _: 1
@@ -17345,7 +17348,7 @@ const $a = /* @__PURE__ */ nr(U2, [["render", B2]]), H2 = { class: "moonbase:pro
17345
17348
  ])) : fe("", !0),
17346
17349
  T[15] || (T[15] = F("div", { class: "moonbase:grow" }, null, -1)),
17347
17350
  E(Ze, { class: "moonbase:auto-activation-redeem" }, {
17348
- default: $(() => [
17351
+ default: P(() => [
17349
17352
  T[14] || (T[14] = L(" Have a voucher code? ")),
17350
17353
  F("button", {
17351
17354
  type: "button",
@@ -17357,13 +17360,13 @@ const $a = /* @__PURE__ */ nr(U2, [["render", B2]]), H2 = { class: "moonbase:pro
17357
17360
  ]))
17358
17361
  ])) : (y(), A("div", W2, [
17359
17362
  E(Qe, null, {
17360
- default: $(() => T[1] || (T[1] = [
17363
+ default: P(() => T[1] || (T[1] = [
17361
17364
  L(" Uh oh ")
17362
17365
  ])),
17363
17366
  _: 1
17364
17367
  }),
17365
17368
  E(Je, null, {
17366
- default: $(() => T[2] || (T[2] = [
17369
+ default: P(() => T[2] || (T[2] = [
17367
17370
  L(" Could not find activation request ")
17368
17371
  ])),
17369
17372
  _: 1
@@ -17468,7 +17471,7 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
17468
17471
  }
17469
17472
  return (l, u) => (y(), A("div", gE, [
17470
17473
  E(Je, null, {
17471
- default: $(() => u[2] || (u[2] = [
17474
+ default: P(() => u[2] || (u[2] = [
17472
17475
  L(" Upload your machine file here to get a license file for activating offline devices. The machine file can be generated in the installed app. ")
17473
17476
  ])),
17474
17477
  _: 1
@@ -17477,7 +17480,7 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
17477
17480
  mode: "out-in",
17478
17481
  name: "moonbase:slide-left"
17479
17482
  }, {
17480
- default: $(() => [
17483
+ default: P(() => [
17481
17484
  o.value === 0 ? (y(), oe(bE, {
17482
17485
  key: 0,
17483
17486
  error: s.value,
@@ -17487,13 +17490,13 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
17487
17490
  E(bn)
17488
17491
  ])) : o.value === 2 && i.value ? (y(), A("div", yE, [
17489
17492
  E(Qe, null, {
17490
- default: $(() => u[3] || (u[3] = [
17493
+ default: P(() => u[3] || (u[3] = [
17491
17494
  L(" Success! ")
17492
17495
  ])),
17493
17496
  _: 1
17494
17497
  }),
17495
17498
  E(Je, null, {
17496
- default: $(() => u[4] || (u[4] = [
17499
+ default: P(() => u[4] || (u[4] = [
17497
17500
  L(" Your license can be downloaded below: ")
17498
17501
  ])),
17499
17502
  _: 1
@@ -17502,15 +17505,15 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
17502
17505
  key: 0,
17503
17506
  product: i.value.license.product
17504
17507
  }, {
17505
- description: $(() => [
17508
+ description: P(() => [
17506
17509
  E(ko, null, {
17507
- default: $(() => [
17510
+ default: P(() => [
17508
17511
  L(q(i.value.license.activeNumberOfActivations) + " of " + q(i.value.license.maxNumberOfActivations) + " devices activated ", 1)
17509
17512
  ]),
17510
17513
  _: 1
17511
17514
  })
17512
17515
  ]),
17513
- default: $(() => {
17516
+ default: P(() => {
17514
17517
  var c;
17515
17518
  return [
17516
17519
  E(ys, {
@@ -17519,7 +17522,7 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
17519
17522
  download: ((c = v(t)) == null ? void 0 : c.activation.licenseTokenFileName) ?? "license-file.mb",
17520
17523
  class: "moonbase:manual-activation-download-button"
17521
17524
  }, {
17522
- default: $(() => [
17525
+ default: P(() => [
17523
17526
  E(v(F1))
17524
17527
  ]),
17525
17528
  _: 1
@@ -17663,7 +17666,7 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
17663
17666
  size: s.size
17664
17667
  }, null, 8, ["label", "working", "success-label", "success", "error-label", "error", "disabled", "variant", "size"]));
17665
17668
  }
17666
- }), TE = ["data-visible"], PE = { class: "moonbase:sign-in-actions" }, $E = /* @__PURE__ */ pe({
17669
+ }), TE = ["data-visible"], $E = { class: "moonbase:sign-in-actions" }, PE = /* @__PURE__ */ pe({
17667
17670
  __name: "SignIn",
17668
17671
  emits: ["signedIn"],
17669
17672
  setup(e, { emit: t }) {
@@ -17681,7 +17684,7 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
17681
17684
  handler: c,
17682
17685
  class: "moonbase:sign-in"
17683
17686
  }, {
17684
- default: $(() => {
17687
+ default: P(() => {
17685
17688
  var h;
17686
17689
  return [
17687
17690
  E(Et, {
@@ -17713,7 +17716,7 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
17713
17716
  label: "Sign in",
17714
17717
  error: "Error"
17715
17718
  }),
17716
- F("div", PE, [
17719
+ F("div", $E, [
17717
17720
  (h = v(s)) != null && h.auth.signUp.enabled ? (y(), oe(ht, {
17718
17721
  key: 0,
17719
17722
  label: "Create account",
@@ -17795,7 +17798,7 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
17795
17798
  disabled: c.value,
17796
17799
  class: "moonbase:confirm-account"
17797
17800
  }, {
17798
- default: $(() => [
17801
+ default: P(() => [
17799
17802
  s.value ? (y(), A("div", AE, [
17800
17803
  E(bn)
17801
17804
  ])) : i.value ? (y(), A(Ie, { key: 2 }, [
@@ -17827,7 +17830,7 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
17827
17830
  key: p.title,
17828
17831
  "data-error": ""
17829
17832
  }, {
17830
- default: $(() => [
17833
+ default: P(() => [
17831
17834
  L(q(p.title), 1)
17832
17835
  ]),
17833
17836
  _: 2
@@ -17874,7 +17877,7 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
17874
17877
  E(bn)
17875
17878
  ])) : a.value ? (y(), A("div", LE, q(a.value), 1)) : (y(), A(Ie, { key: 2 }, [
17876
17879
  E(Qe, null, {
17877
- default: $(() => u[0] || (u[0] = [
17880
+ default: P(() => u[0] || (u[0] = [
17878
17881
  L(" Success! ")
17879
17882
  ])),
17880
17883
  _: 1
@@ -17941,7 +17944,7 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
17941
17944
  class: "moonbase:sign-in",
17942
17945
  "no-reset": ""
17943
17946
  }, {
17944
- default: $(({ disabled: u }) => [
17947
+ default: P(({ disabled: u }) => [
17945
17948
  l[1] || (l[1] = F("p", null, " Please enter your email address below. You will receive an email message with instructions on how to reset your password. ", -1)),
17946
17949
  E(Et, {
17947
17950
  modelValue: r.value,
@@ -17995,7 +17998,7 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
17995
17998
  disabled: u.value,
17996
17999
  class: "moonbase:reset-password"
17997
18000
  }, {
17998
- default: $(() => [
18001
+ default: P(() => [
17999
18002
  F("h3", null, " Hi " + q(s.value) + ", ", 1),
18000
18003
  f[2] || (f[2] = F("p", null, " Please create a new password for your account: ", -1)),
18001
18004
  E(Et, {
@@ -18024,7 +18027,7 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
18024
18027
  key: h.title,
18025
18028
  "data-error": ""
18026
18029
  }, {
18027
- default: $(() => [
18030
+ default: P(() => [
18028
18031
  L(q(h.title), 1)
18029
18032
  ]),
18030
18033
  _: 2
@@ -18118,7 +18121,7 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
18118
18121
  disabled: h.value,
18119
18122
  class: "moonbase:sign-up"
18120
18123
  }, {
18121
- default: $(() => [
18124
+ default: P(() => [
18122
18125
  E(Et, {
18123
18126
  modelValue: a.value,
18124
18127
  "onUpdate:modelValue": _[0] || (_[0] = (S) => a.value = S),
@@ -18155,7 +18158,7 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
18155
18158
  key: S.title,
18156
18159
  "data-error": ""
18157
18160
  }, {
18158
- default: $(() => [
18161
+ default: P(() => [
18159
18162
  L(q(S.title), 1)
18160
18163
  ]),
18161
18164
  _: 2
@@ -18168,7 +18171,7 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
18168
18171
  name: "newsletter-opt-in"
18169
18172
  }, null, 8, ["modelValue"]),
18170
18173
  E(Ze, null, {
18171
- default: $(() => [
18174
+ default: P(() => [
18172
18175
  _[5] || (_[5] = L(" By signing up, you accept our ")),
18173
18176
  F("a", {
18174
18177
  href: `${v(s)}/terms-of-use`,
@@ -18215,8 +18218,8 @@ const ko = /* @__PURE__ */ nr(cE, [["render", fE]]), hE = ["data-corners"], pE =
18215
18218
  name: v(t).direction === v(wu).Forward ? "moonbase:slide-left" : "moonbase:slide-right",
18216
18219
  mode: "out-in"
18217
18220
  }, {
18218
- default: $(() => [
18219
- v(n) ? v(t).intent === v(re).SignIn ? (y(), oe($E, {
18221
+ default: P(() => [
18222
+ v(n) ? v(t).intent === v(re).SignIn ? (y(), oe(PE, {
18220
18223
  key: 1,
18221
18224
  onSignedIn: o[0] || (o[0] = (s) => v(t).dequeue())
18222
18225
  })) : v(t).intent === v(re).SignUp ? (y(), oe(a5, {
@@ -18263,7 +18266,7 @@ const Xt = /* @__PURE__ */ nr(d5, [["render", h5]]), p5 = ["data-corners", "data
18263
18266
  E(v(z1))
18264
18267
  ]),
18265
18268
  E(Ze, null, {
18266
- default: $(() => [
18269
+ default: P(() => [
18267
18270
  L(q(n.modelValue.toString().padStart(2, "0")), 1)
18268
18271
  ]),
18269
18272
  _: 1
@@ -18315,7 +18318,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18315
18318
  return Ye(o, (i) => {
18316
18319
  s.value && (s.value.style.height = i ? `${s.value.scrollHeight}px` : "0px");
18317
18320
  }), (i, a) => (y(), oe(Wn, { class: "moonbase:bundle-cart-item" }, {
18318
- addon: $(() => {
18321
+ addon: P(() => {
18319
18322
  var l;
18320
18323
  return [
18321
18324
  F("div", v5, [
@@ -18324,7 +18327,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18324
18327
  onClick: a[1] || (a[1] = (u) => o.value = !o.value)
18325
18328
  }, [
18326
18329
  E(Xt, null, {
18327
- default: $(() => {
18330
+ default: P(() => {
18328
18331
  var u, c, d;
18329
18332
  return [
18330
18333
  L(q((u = i.lineItem.bundle) == null ? void 0 : u.products.filter((f) => f.included).length) + " ", 1),
@@ -18337,7 +18340,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18337
18340
  _: 1
18338
18341
  }),
18339
18342
  E(Ze, null, {
18340
- default: $(() => [
18343
+ default: P(() => [
18341
18344
  L(q(o.value ? "Hide" : "Show") + " ", 1),
18342
18345
  (y(), A("svg", {
18343
18346
  "data-open": o.value || void 0,
@@ -18376,7 +18379,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18376
18379
  E(Xt, {
18377
18380
  "data-included": u.included || void 0
18378
18381
  }, {
18379
- default: $(() => [
18382
+ default: P(() => [
18380
18383
  u.included ? (y(), A("svg", E5, a[4] || (a[4] = [
18381
18384
  F("path", {
18382
18385
  "stroke-linecap": "round",
@@ -18389,12 +18392,12 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18389
18392
  _: 2
18390
18393
  }, 1032, ["data-included"]),
18391
18394
  u.included ? u != null && u.tagline ? (y(), oe(Ze, { key: 1 }, {
18392
- default: $(() => [
18395
+ default: P(() => [
18393
18396
  L(q(u.tagline), 1)
18394
18397
  ]),
18395
18398
  _: 2
18396
18399
  }, 1024)) : fe("", !0) : (y(), oe(Ze, { key: 0 }, {
18397
- default: $(() => a[5] || (a[5] = [
18400
+ default: P(() => a[5] || (a[5] = [
18398
18401
  L(" You already own this ")
18399
18402
  ])),
18400
18403
  _: 1
@@ -18404,7 +18407,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18404
18407
  ], 8, _5)
18405
18408
  ];
18406
18409
  }),
18407
- default: $(() => {
18410
+ default: P(() => {
18408
18411
  var l, u, c, d, f;
18409
18412
  return [
18410
18413
  E(Gn, {
@@ -18413,7 +18416,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18413
18416
  }, null, 8, ["url"]),
18414
18417
  F("div", m5, [
18415
18418
  E(Xt, null, {
18416
- default: $(() => {
18419
+ default: P(() => {
18417
18420
  var h;
18418
18421
  return [
18419
18422
  L(q((h = i.lineItem.bundle) == null ? void 0 : h.name), 1)
@@ -18425,7 +18428,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18425
18428
  class: "moonbase:bundle-cart-item-tagline",
18426
18429
  "data-truncate": i.lineItem.variation && i.lineItem.variation.id !== ((c = (u = v(n)) == null ? void 0 : u.defaultVariation) == null ? void 0 : c.id) || void 0
18427
18430
  }, {
18428
- default: $(() => {
18431
+ default: P(() => {
18429
18432
  var h;
18430
18433
  return [
18431
18434
  L(q((h = i.lineItem.bundle) == null ? void 0 : h.tagline), 1)
@@ -18437,7 +18440,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18437
18440
  key: 0,
18438
18441
  class: "moonbase:bundle-cart-item-variation"
18439
18442
  }, {
18440
- default: $(() => [
18443
+ default: P(() => [
18441
18444
  L(q(i.lineItem.variation.name), 1)
18442
18445
  ]),
18443
18446
  _: 1
@@ -18445,13 +18448,13 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18445
18448
  ]),
18446
18449
  i.lineItem.variation ? (y(), A("div", b5, [
18447
18450
  E(_s, null, {
18448
- default: $(() => {
18451
+ default: P(() => {
18449
18452
  var h;
18450
18453
  return [
18451
18454
  i.lineItem.variation.hasDiscount ? (y(), A("span", g5, q(v(Sn)(i.lineItem.variation.originalPrice[i.currency] * i.lineItem.quantity, i.currency)), 1)) : fe("", !0),
18452
18455
  L(" " + q(v(Sn)(i.lineItem.variation.price[i.currency] * i.lineItem.quantity, i.currency)) + " ", 1),
18453
18456
  ((h = i.lineItem.variation) == null ? void 0 : h.recurrence.type) === "Recurring" ? (y(), oe(Je, { key: 1 }, {
18454
- default: $(() => [
18457
+ default: P(() => [
18455
18458
  L(" / " + q(v(Rp)(i.lineItem.variation.recurrence.cycleLength)), 1)
18456
18459
  ]),
18457
18460
  _: 1
@@ -18501,7 +18504,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18501
18504
  }
18502
18505
  const i = kr();
18503
18506
  return (a, l) => (y(), oe(Wn, { class: "moonbase:product-cart-item" }, {
18504
- default: $(() => {
18507
+ default: P(() => {
18505
18508
  var u, c, d, f, h;
18506
18509
  return [
18507
18510
  E(Gn, {
@@ -18510,7 +18513,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18510
18513
  }, null, 8, ["url"]),
18511
18514
  F("div", k5, [
18512
18515
  E(Xt, null, {
18513
- default: $(() => {
18516
+ default: P(() => {
18514
18517
  var p;
18515
18518
  return [
18516
18519
  L(q((p = a.lineItem.product) == null ? void 0 : p.name), 1)
@@ -18522,7 +18525,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18522
18525
  class: "moonbase:product-cart-item-tagline",
18523
18526
  "data-truncate": a.lineItem.variation && a.lineItem.variation.id !== ((d = (c = v(n)) == null ? void 0 : c.defaultVariation) == null ? void 0 : d.id) || void 0
18524
18527
  }, {
18525
- default: $(() => {
18528
+ default: P(() => {
18526
18529
  var p;
18527
18530
  return [
18528
18531
  L(q((p = a.lineItem.product) == null ? void 0 : p.tagline), 1)
@@ -18534,7 +18537,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18534
18537
  key: 0,
18535
18538
  class: "moonbase:product-cart-item-variation"
18536
18539
  }, {
18537
- default: $(() => [
18540
+ default: P(() => [
18538
18541
  L(q(a.lineItem.variation.name), 1)
18539
18542
  ]),
18540
18543
  _: 1
@@ -18542,13 +18545,13 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18542
18545
  ]),
18543
18546
  a.lineItem.variation ? (y(), A("div", O5, [
18544
18547
  E(_s, null, {
18545
- default: $(() => {
18548
+ default: P(() => {
18546
18549
  var p;
18547
18550
  return [
18548
18551
  a.lineItem.variation.hasDiscount || o(a.lineItem) ? (y(), A("span", N5, q(v(Sn)(a.lineItem.variation.originalPrice[a.currency] * a.lineItem.quantity, a.currency)), 1)) : fe("", !0),
18549
18552
  L(" " + q(v(Sn)(r(a.lineItem) * a.lineItem.quantity, a.currency)) + " ", 1),
18550
18553
  ((p = a.lineItem.variation) == null ? void 0 : p.recurrence.type) === "Recurring" ? (y(), oe(Je, { key: 1 }, {
18551
- default: $(() => [
18554
+ default: P(() => [
18552
18555
  L(" / " + q(v(Rp)(a.lineItem.variation.recurrence.cycleLength)), 1)
18553
18556
  ]),
18554
18557
  _: 1
@@ -18567,7 +18570,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18567
18570
  _: 1
18568
18571
  }));
18569
18572
  }
18570
- }), C5 = { class: "moonbase:cart" }, T5 = ["data-background"], P5 = ["data-corners"], $5 = { class: "moonbase:cart-total" }, A5 = { "data-error": "" }, D5 = /* @__PURE__ */ pe({
18573
+ }), C5 = { class: "moonbase:cart" }, T5 = ["data-background"], $5 = ["data-corners"], P5 = { class: "moonbase:cart-total" }, A5 = { "data-error": "" }, D5 = /* @__PURE__ */ pe({
18571
18574
  __name: "Cart",
18572
18575
  setup(e) {
18573
18576
  const { items: t, total: n, currency: r, checkout: o } = kr(), s = ve(Vt), i = R(null);
@@ -18609,13 +18612,13 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18609
18612
  }, [
18610
18613
  E(v(Z1)),
18611
18614
  E(Xt, null, {
18612
- default: $(() => u[0] || (u[0] = [
18615
+ default: P(() => u[0] || (u[0] = [
18613
18616
  L(" Your cart is empty ")
18614
18617
  ])),
18615
18618
  _: 1
18616
18619
  })
18617
- ], 8, P5)),
18618
- F("div", $5, [
18620
+ ], 8, $5)),
18621
+ F("div", P5, [
18619
18622
  u[1] || (u[1] = F("label", null, " Total ", -1)),
18620
18623
  F("span", null, q(v(Sn)(v(n).amount, v(n).currency)), 1),
18621
18624
  u[2] || (u[2] = F("p", null, " Sales tax to be calculated at checkout ", -1)),
@@ -18669,7 +18672,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18669
18672
  }
18670
18673
  return (M, I) => (y(), A("div", I5, [
18671
18674
  E(Kn, { handler: w }, {
18672
- default: $(() => [
18675
+ default: P(() => [
18673
18676
  E(Et, {
18674
18677
  modelValue: a.value,
18675
18678
  "onUpdate:modelValue": I[0] || (I[0] = (m) => a.value = m),
@@ -18704,7 +18707,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18704
18707
  _: 1
18705
18708
  }),
18706
18709
  E(Kn, { handler: _ }, {
18707
- default: $(() => [
18710
+ default: P(() => [
18708
18711
  E(Et, {
18709
18712
  modelValue: f.value,
18710
18713
  "onUpdate:modelValue": I[3] || (I[3] = (m) => f.value = m),
@@ -18771,13 +18774,13 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18771
18774
  }, null, 8, ["url"]),
18772
18775
  F("div", null, [
18773
18776
  E(Xt, null, {
18774
- default: $(() => [
18777
+ default: P(() => [
18775
18778
  L(q(i.name), 1)
18776
18779
  ]),
18777
18780
  _: 2
18778
18781
  }, 1024),
18779
18782
  i.numberOfLicenses ? (y(), oe(Ze, { key: 0 }, {
18780
- default: $(() => [
18783
+ default: P(() => [
18781
18784
  L(q(i.numberOfLicenses) + " licenses ", 1)
18782
18785
  ]),
18783
18786
  _: 2
@@ -18791,7 +18794,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18791
18794
  ca: "",
18792
18795
  onClick: (a) => v(t).show(v(ue).Product, v(re).ViewProduct, { product_id: i.id })
18793
18796
  }, {
18794
- default: $(() => [
18797
+ default: P(() => [
18795
18798
  E(v(V1)),
18796
18799
  s[3] || (s[3] = F("span", { class: "moonbase:clickable" }, null, -1))
18797
18800
  ]),
@@ -18813,7 +18816,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18813
18816
  return Ye(t, (r) => {
18814
18817
  n.value && (n.value.style.height = r ? `${n.value.scrollHeight}px` : "0px");
18815
18818
  }), (r, o) => (y(), oe(Wn, { class: "moonbase:bundle-redemption-item" }, {
18816
- addon: $(() => {
18819
+ addon: P(() => {
18817
18820
  var s;
18818
18821
  return [
18819
18822
  F("div", q5, [
@@ -18822,7 +18825,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18822
18825
  onClick: o[0] || (o[0] = (i) => t.value = !t.value)
18823
18826
  }, [
18824
18827
  E(Xt, null, {
18825
- default: $(() => {
18828
+ default: P(() => {
18826
18829
  var i;
18827
18830
  return [
18828
18831
  L(q((i = r.bundle) == null ? void 0 : i.products.length) + " products ", 1)
@@ -18831,7 +18834,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18831
18834
  _: 1
18832
18835
  }),
18833
18836
  E(Ze, null, {
18834
- default: $(() => [
18837
+ default: P(() => [
18835
18838
  L(q(t.value ? "Hide" : "Show") + " ", 1),
18836
18839
  (y(), A("svg", {
18837
18840
  "data-open": t.value || void 0,
@@ -18867,13 +18870,13 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18867
18870
  }, null, 8, ["url"]),
18868
18871
  F("div", null, [
18869
18872
  E(Xt, null, {
18870
- default: $(() => [
18873
+ default: P(() => [
18871
18874
  L(q(i.name), 1)
18872
18875
  ]),
18873
18876
  _: 2
18874
18877
  }, 1024),
18875
18878
  i.tagline ? (y(), oe(Ze, { key: 0 }, {
18876
- default: $(() => [
18879
+ default: P(() => [
18877
18880
  L(q(i.tagline), 1)
18878
18881
  ]),
18879
18882
  _: 2
@@ -18883,14 +18886,14 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18883
18886
  ], 8, W5)
18884
18887
  ];
18885
18888
  }),
18886
- default: $(() => [
18889
+ default: P(() => [
18887
18890
  E(Gn, {
18888
18891
  url: r.bundle.iconUrl,
18889
18892
  size: 72
18890
18893
  }, null, 8, ["url"]),
18891
18894
  F("div", z5, [
18892
18895
  E(Xt, null, {
18893
- default: $(() => {
18896
+ default: P(() => {
18894
18897
  var s;
18895
18898
  return [
18896
18899
  L(q((s = r.bundle) == null ? void 0 : s.name), 1)
@@ -18899,7 +18902,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18899
18902
  _: 1
18900
18903
  }),
18901
18904
  E(Ze, { class: "moonbase:bundle-redemption-item-tagline" }, {
18902
- default: $(() => {
18905
+ default: P(() => {
18903
18906
  var s;
18904
18907
  return [
18905
18908
  L(q((s = r.bundle) == null ? void 0 : s.tagline), 1)
@@ -18920,14 +18923,14 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18920
18923
  },
18921
18924
  setup(e) {
18922
18925
  return (t, n) => (y(), oe(Wn, { class: "moonbase:product-redemption-item" }, {
18923
- default: $(() => [
18926
+ default: P(() => [
18924
18927
  E(Gn, {
18925
18928
  url: t.product.iconUrl,
18926
18929
  size: 72
18927
18930
  }, null, 8, ["url"]),
18928
18931
  F("div", G5, [
18929
18932
  E(Xt, null, {
18930
- default: $(() => {
18933
+ default: P(() => {
18931
18934
  var r;
18932
18935
  return [
18933
18936
  L(q((r = t.product) == null ? void 0 : r.name), 1)
@@ -18936,7 +18939,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18936
18939
  _: 1
18937
18940
  }),
18938
18941
  E(Ze, { class: "moonbase:product-redemption-item-tagline" }, {
18939
- default: $(() => {
18942
+ default: P(() => {
18940
18943
  var r;
18941
18944
  return [
18942
18945
  L(q((r = t.product) == null ? void 0 : r.tagline), 1)
@@ -18976,30 +18979,30 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
18976
18979
  mode: "out-in",
18977
18980
  name: "moonbase:slide-left"
18978
18981
  }, {
18979
- default: $(() => [
18982
+ default: P(() => [
18980
18983
  s.value ? (y(), A("div", J5, [
18981
18984
  F("div", null, [
18982
- E($a, null, {
18983
- default: $(() => [
18985
+ E(Pa, null, {
18986
+ default: P(() => [
18984
18987
  L(q(s.value.name), 1)
18985
18988
  ]),
18986
18989
  _: 1
18987
18990
  }),
18988
18991
  s.value.description ? (y(), oe(Qe, { key: 0 }, {
18989
- default: $(() => [
18992
+ default: P(() => [
18990
18993
  L(' "' + q(s.value.description) + '" ', 1)
18991
18994
  ]),
18992
18995
  _: 1
18993
18996
  })) : fe("", !0),
18994
18997
  E(Ze, null, {
18995
- default: $(() => [
18998
+ default: P(() => [
18996
18999
  E(v(j1)),
18997
19000
  c[2] || (c[2] = L(" Licenses have been added to your account. "))
18998
19001
  ]),
18999
19002
  _: 1
19000
19003
  }),
19001
19004
  E(Ze, null, {
19002
- default: $(() => [
19005
+ default: P(() => [
19003
19006
  c[3] || (c[3] = L(" Code: ")),
19004
19007
  F("strong", null, q(s.value.code), 1)
19005
19008
  ]),
@@ -19007,7 +19010,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
19007
19010
  })
19008
19011
  ]),
19009
19012
  E(Qe, null, {
19010
- default: $(() => c[4] || (c[4] = [
19013
+ default: P(() => c[4] || (c[4] = [
19011
19014
  L(" Voucher summary ")
19012
19015
  ])),
19013
19016
  _: 1
@@ -19042,11 +19045,11 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
19042
19045
  key: 0,
19043
19046
  handler: l
19044
19047
  }, {
19045
- default: $(() => {
19048
+ default: P(() => {
19046
19049
  var d;
19047
19050
  return [
19048
19051
  E(Je, null, {
19049
- default: $(() => c[1] || (c[1] = [
19052
+ default: P(() => c[1] || (c[1] = [
19050
19053
  L(" Do you have a voucher you want to redeem? "),
19051
19054
  F("br", null, null, -1),
19052
19055
  L(" Please enter the code below: ")
@@ -19105,28 +19108,28 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
19105
19108
  "selected-index": o.value,
19106
19109
  onChange: s
19107
19110
  }, {
19108
- default: $(() => {
19111
+ default: P(() => {
19109
19112
  var l, u;
19110
19113
  return [
19111
19114
  E(v(O1), {
19112
19115
  "data-corners": (l = v(n)) == null ? void 0 : l.theme.corners,
19113
19116
  "data-background": (u = v(n)) == null ? void 0 : u.theme.colors.background
19114
19117
  }, {
19115
- default: $(() => [
19118
+ default: P(() => [
19116
19119
  E(v(Ya), null, {
19117
- default: $(() => a[0] || (a[0] = [
19120
+ default: P(() => a[0] || (a[0] = [
19118
19121
  L(" Products ")
19119
19122
  ])),
19120
19123
  _: 1
19121
19124
  }),
19122
19125
  E(v(Ya), null, {
19123
- default: $(() => a[1] || (a[1] = [
19126
+ default: P(() => a[1] || (a[1] = [
19124
19127
  L(" Account ")
19125
19128
  ])),
19126
19129
  _: 1
19127
19130
  }),
19128
19131
  E(v(Ya), null, {
19129
- default: $(() => a[2] || (a[2] = [
19132
+ default: P(() => a[2] || (a[2] = [
19130
19133
  L(" Redeem ")
19131
19134
  ])),
19132
19135
  _: 1
@@ -19135,21 +19138,21 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
19135
19138
  _: 1
19136
19139
  }, 8, ["data-corners", "data-background"]),
19137
19140
  E(v(N1), null, {
19138
- default: $(() => [
19141
+ default: P(() => [
19139
19142
  E(v(Ja), null, {
19140
- default: $(() => [
19143
+ default: P(() => [
19141
19144
  E(H5)
19142
19145
  ]),
19143
19146
  _: 1
19144
19147
  }),
19145
19148
  E(v(Ja), null, {
19146
- default: $(() => [
19149
+ default: P(() => [
19147
19150
  E(j5)
19148
19151
  ]),
19149
19152
  _: 1
19150
19153
  }),
19151
19154
  E(v(Ja), null, {
19152
- default: $(() => [
19155
+ default: P(() => [
19153
19156
  E(ex)
19154
19157
  ]),
19155
19158
  _: 1
@@ -19171,7 +19174,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
19171
19174
  setup(e) {
19172
19175
  const t = R(!1), n = R(null), r = ie(() => n.value && n.value.$el && n.value.$el.scrollHeight > n.value.$el.clientHeight);
19173
19176
  return (o, s) => (y(), oe(Wn, { class: "moonbase:product-card" }, {
19174
- addon: $(() => [
19177
+ addon: P(() => [
19175
19178
  F("div", {
19176
19179
  class: "moonbase:product-card-description",
19177
19180
  "data-open": t.value || void 0
@@ -19180,7 +19183,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
19180
19183
  ref_key: "descriptionRef",
19181
19184
  ref: n
19182
19185
  }, {
19183
- default: $(() => [
19186
+ default: P(() => [
19184
19187
  L(q(o.product.description), 1)
19185
19188
  ]),
19186
19189
  _: 1
@@ -19190,7 +19193,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
19190
19193
  onClick: s[0] || (s[0] = (i) => t.value = !0)
19191
19194
  }, [
19192
19195
  E(Xt, null, {
19193
- default: $(() => s[1] || (s[1] = [
19196
+ default: P(() => s[1] || (s[1] = [
19194
19197
  L(" read more ")
19195
19198
  ])),
19196
19199
  _: 1
@@ -19198,14 +19201,14 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
19198
19201
  ])) : fe("", !0)
19199
19202
  ], 8, ox)
19200
19203
  ]),
19201
- default: $(() => [
19204
+ default: P(() => [
19202
19205
  E(Gn, {
19203
19206
  url: o.product.iconUrl,
19204
19207
  size: 72
19205
19208
  }, null, 8, ["url"]),
19206
19209
  F("div", rx, [
19207
- E($a, null, {
19208
- default: $(() => {
19210
+ E(Pa, null, {
19211
+ default: P(() => {
19209
19212
  var i;
19210
19213
  return [
19211
19214
  L(q((i = o.product) == null ? void 0 : i.name), 1)
@@ -19214,7 +19217,7 @@ const m5 = { class: "moonbase:bundle-cart-item-content" }, b5 = {
19214
19217
  _: 1
19215
19218
  }),
19216
19219
  E(Ze, { class: "moonbase:product-card-tagline" }, {
19217
- default: $(() => {
19220
+ default: P(() => {
19218
19221
  var i;
19219
19222
  return [
19220
19223
  L(q((i = o.product) == null ? void 0 : i.tagline), 1)
@@ -19283,10 +19286,10 @@ const ax = { class: "moonbase:product-downloads" }, lx = ["data-open"], ux = {
19283
19286
  }
19284
19287
  return (_, S) => (y(), A("div", ax, [
19285
19288
  E(Qe, null, {
19286
- default: $(() => [
19289
+ default: P(() => [
19287
19290
  S[1] || (S[1] = L(" Downloads ")),
19288
19291
  E(Ze, null, {
19289
- default: $(() => [
19292
+ default: P(() => [
19290
19293
  L(" Version " + q(_.product.version), 1)
19291
19294
  ]),
19292
19295
  _: 1
@@ -19303,7 +19306,7 @@ const ax = { class: "moonbase:product-downloads" }, lx = ["data-open"], ux = {
19303
19306
  ref_key: "descriptionRef",
19304
19307
  ref: a
19305
19308
  }, {
19306
- default: $(() => [
19309
+ default: P(() => [
19307
19310
  L(q(_.product.releaseDescription), 1)
19308
19311
  ]),
19309
19312
  _: 1
@@ -19313,7 +19316,7 @@ const ax = { class: "moonbase:product-downloads" }, lx = ["data-open"], ux = {
19313
19316
  onClick: S[0] || (S[0] = (H) => i.value = !0)
19314
19317
  }, [
19315
19318
  E(Xt, null, {
19316
- default: $(() => S[2] || (S[2] = [
19319
+ default: P(() => S[2] || (S[2] = [
19317
19320
  L(" read more ")
19318
19321
  ])),
19319
19322
  _: 1
@@ -19322,7 +19325,7 @@ const ax = { class: "moonbase:product-downloads" }, lx = ["data-open"], ux = {
19322
19325
  ], 8, lx)) : fe("", !0),
19323
19326
  _.product.downloadsNeedsUser && _.product.downloadsNeedsOwnership && !_.product.numberOfLicenses ? (y(), A("div", ux, [
19324
19327
  E(Je, { "data-center": "" }, {
19325
- default: $(() => S[3] || (S[3] = [
19328
+ default: P(() => S[3] || (S[3] = [
19326
19329
  L(" This product requires ownership to download ")
19327
19330
  ])),
19328
19331
  _: 1
@@ -19333,7 +19336,7 @@ const ax = { class: "moonbase:product-downloads" }, lx = ["data-open"], ux = {
19333
19336
  }, null, 8, ["handler"])
19334
19337
  ])) : _.product.downloadsNeedsUser && !v(r).user ? (y(), A("div", cx, [
19335
19338
  E(Je, { "data-center": "" }, {
19336
- default: $(() => S[4] || (S[4] = [
19339
+ default: P(() => S[4] || (S[4] = [
19337
19340
  L(" This product requires an account to download ")
19338
19341
  ])),
19339
19342
  _: 1
@@ -19344,7 +19347,7 @@ const ax = { class: "moonbase:product-downloads" }, lx = ["data-open"], ux = {
19344
19347
  }, null, 8, ["handler"])
19345
19348
  ])) : _.product.downloadsNeedsOwnership && !_.product.numberOfLicenses ? (y(), A("div", dx, [
19346
19349
  E(Je, { "data-center": "" }, {
19347
- default: $(() => S[5] || (S[5] = [
19350
+ default: P(() => S[5] || (S[5] = [
19348
19351
  L(" This product requires ownership to download ")
19349
19352
  ])),
19350
19353
  _: 1
@@ -19355,7 +19358,7 @@ const ax = { class: "moonbase:product-downloads" }, lx = ["data-open"], ux = {
19355
19358
  key: H.key,
19356
19359
  class: "moonbase:product-downloads-download"
19357
19360
  }, {
19358
- addon: $(() => [
19361
+ addon: P(() => [
19359
19362
  F("div", px, [
19360
19363
  E(ht, {
19361
19364
  label: `Download for ${H.platform}`,
@@ -19366,16 +19369,16 @@ const ax = { class: "moonbase:product-downloads" }, lx = ["data-open"], ux = {
19366
19369
  }, null, 8, ["label", "variant", "handler", "icon"])
19367
19370
  ])
19368
19371
  ]),
19369
- default: $(() => [
19372
+ default: P(() => [
19370
19373
  F("div", null, [
19371
19374
  E(Qe, null, {
19372
- default: $(() => [
19375
+ default: P(() => [
19373
19376
  L(q(H.platform), 1)
19374
19377
  ]),
19375
19378
  _: 2
19376
19379
  }, 1024),
19377
19380
  E(ko, null, {
19378
- default: $(() => [
19381
+ default: P(() => [
19379
19382
  L(q(H.name) + " - " + q(v(ix)(H.size)), 1)
19380
19383
  ]),
19381
19384
  _: 2
@@ -19389,7 +19392,7 @@ const ax = { class: "moonbase:product-downloads" }, lx = ["data-open"], ux = {
19389
19392
  key: 0,
19390
19393
  "data-center": ""
19391
19394
  }, {
19392
- default: $(() => S[6] || (S[6] = [
19395
+ default: P(() => S[6] || (S[6] = [
19393
19396
  L(" No downloadable files found ")
19394
19397
  ])),
19395
19398
  _: 1
@@ -19563,12 +19566,12 @@ const Tx = {
19563
19566
  long: "MMMM do, y",
19564
19567
  medium: "MMM d, y",
19565
19568
  short: "MM/dd/yyyy"
19566
- }, Px = {
19569
+ }, $x = {
19567
19570
  full: "h:mm:ss a zzzz",
19568
19571
  long: "h:mm:ss a z",
19569
19572
  medium: "h:mm:ss a",
19570
19573
  short: "h:mm a"
19571
- }, $x = {
19574
+ }, Px = {
19572
19575
  full: "{{date}} 'at' {{time}}",
19573
19576
  long: "{{date}} 'at' {{time}}",
19574
19577
  medium: "{{date}}, {{time}}",
@@ -19579,11 +19582,11 @@ const Tx = {
19579
19582
  defaultWidth: "full"
19580
19583
  }),
19581
19584
  time: ul({
19582
- formats: Px,
19585
+ formats: $x,
19583
19586
  defaultWidth: "full"
19584
19587
  }),
19585
19588
  dateTime: ul({
19586
- formats: $x,
19589
+ formats: Px,
19587
19590
  defaultWidth: "full"
19588
19591
  })
19589
19592
  }, Dx = {
@@ -20008,10 +20011,10 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20008
20011
  }
20009
20012
  return (d, f) => (y(), A("div", uk, [
20010
20013
  E(Qe, null, {
20011
- default: $(() => [
20014
+ default: P(() => [
20012
20015
  f[0] || (f[0] = L(" Licenses ")),
20013
20016
  d.product.maxActivations && d.product.maxActivations > 0 ? (y(), oe(Ze, { key: 0 }, {
20014
- default: $(() => [
20017
+ default: P(() => [
20015
20018
  L(q(d.product.currentActivations ?? 0) + " of " + q(d.product.maxActivations) + " seats used ", 1)
20016
20019
  ]),
20017
20020
  _: 1
@@ -20023,7 +20026,7 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20023
20026
  E(bn)
20024
20027
  ])) : !d.product.numberOfLicenses || d.product.numberOfLicenses === 0 ? (y(), A("div", dk, [
20025
20028
  E(Je, null, {
20026
- default: $(() => f[1] || (f[1] = [
20029
+ default: P(() => f[1] || (f[1] = [
20027
20030
  L(" You don't own any licenses for this product yet ")
20028
20031
  ])),
20029
20032
  _: 1
@@ -20040,7 +20043,7 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20040
20043
  d.product.maxActivations && d.product.maxActivations > 0 && !d.product.currentActivations ? (y(), A("div", fk, [
20041
20044
  E(v(rd)),
20042
20045
  E(Qe, null, {
20043
- default: $(() => f[2] || (f[2] = [
20046
+ default: P(() => f[2] || (f[2] = [
20044
20047
  L(" No activations yet ")
20045
20048
  ])),
20046
20049
  _: 1
@@ -20051,16 +20054,16 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20051
20054
  key: h.id,
20052
20055
  class: "moonbase:product-licenses-activation"
20053
20056
  }, ac({
20054
- default: $(() => [
20057
+ default: P(() => [
20055
20058
  F("div", null, [
20056
20059
  E(ko, null, {
20057
- default: $(() => f[3] || (f[3] = [
20060
+ default: P(() => f[3] || (f[3] = [
20058
20061
  L(" Device ")
20059
20062
  ])),
20060
20063
  _: 1
20061
20064
  }),
20062
20065
  E(Qe, null, {
20063
- default: $(() => [
20066
+ default: P(() => [
20064
20067
  L(q(h.name), 1)
20065
20068
  ]),
20066
20069
  _: 2
@@ -20068,13 +20071,13 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20068
20071
  ]),
20069
20072
  F("div", null, [
20070
20073
  E(ko, null, {
20071
- default: $(() => f[4] || (f[4] = [
20074
+ default: P(() => f[4] || (f[4] = [
20072
20075
  L(" Activation ")
20073
20076
  ])),
20074
20077
  _: 1
20075
20078
  }),
20076
20079
  E(Qe, null, {
20077
- default: $(() => [
20080
+ default: P(() => [
20078
20081
  L(q(h.activationMethod), 1)
20079
20082
  ]),
20080
20083
  _: 2
@@ -20082,13 +20085,13 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20082
20085
  ]),
20083
20086
  h.lastValidatedAt ? (y(), A("div", pk, [
20084
20087
  E(ko, null, {
20085
- default: $(() => f[5] || (f[5] = [
20088
+ default: P(() => f[5] || (f[5] = [
20086
20089
  L(" First activated ")
20087
20090
  ])),
20088
20091
  _: 1
20089
20092
  }),
20090
20093
  E(Qe, null, {
20091
- default: $(() => [
20094
+ default: P(() => [
20092
20095
  L(q(v(lk)(h.firstValidatedAt)), 1)
20093
20096
  ]),
20094
20097
  _: 2
@@ -20099,7 +20102,7 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20099
20102
  }, [
20100
20103
  h.activationMethod === v(pa).Online ? {
20101
20104
  name: "addon",
20102
- fn: $(() => [
20105
+ fn: P(() => [
20103
20106
  F("div", mk, [
20104
20107
  E(ht, {
20105
20108
  label: "Revoke",
@@ -20116,7 +20119,7 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20116
20119
  (!l.value || l.value.length === 0) && !d.product.maxActivations && d.product.numberOfLicenses ? (y(), A("div", bk, [
20117
20120
  E(v(rd)),
20118
20121
  E(Qe, null, {
20119
- default: $(() => [
20122
+ default: P(() => [
20120
20123
  L(" You own " + q(d.product.numberOfLicenses) + " license" + q(d.product.numberOfLicenses !== 1 ? "s" : "") + " for this product ", 1)
20121
20124
  ]),
20122
20125
  _: 1
@@ -20126,16 +20129,16 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20126
20129
  key: h.id,
20127
20130
  class: "moonbase:product-licenses-license"
20128
20131
  }, ac({
20129
- default: $(() => [
20132
+ default: P(() => [
20130
20133
  F("div", null, [
20131
20134
  E(ko, null, {
20132
- default: $(() => [
20135
+ default: P(() => [
20133
20136
  L(q(d.product.name) + " license ", 1)
20134
20137
  ]),
20135
20138
  _: 1
20136
20139
  }),
20137
20140
  E(Qe, null, {
20138
- default: $(() => [
20141
+ default: P(() => [
20139
20142
  L(q(h.id), 1)
20140
20143
  ]),
20141
20144
  _: 2
@@ -20146,7 +20149,7 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20146
20149
  }, [
20147
20150
  h.externalFulfillment ? {
20148
20151
  name: "addon",
20149
- fn: $(() => [
20152
+ fn: P(() => [
20150
20153
  F("code", null, q(h.externalFulfillment), 1)
20151
20154
  ]),
20152
20155
  key: "0"
@@ -20204,7 +20207,7 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20204
20207
  }, Ck = {
20205
20208
  key: 0,
20206
20209
  class: "moonbase:peek-voucher-content"
20207
- }, Tk = { class: "moonbase:peek-voucher-auth" }, Pk = /* @__PURE__ */ pe({
20210
+ }, Tk = { class: "moonbase:peek-voucher-auth" }, $k = /* @__PURE__ */ pe({
20208
20211
  __name: "Redeem",
20209
20212
  setup(e) {
20210
20213
  const { peek: t } = Oh(), n = Ae(), r = R(null), o = R(null), s = R(n.getParameter("code") || "");
@@ -20233,23 +20236,23 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20233
20236
  mode: "out-in",
20234
20237
  name: "moonbase:slide-left"
20235
20238
  }, {
20236
- default: $(() => [
20239
+ default: P(() => [
20237
20240
  r.value ? (y(), A("div", Sk, [
20238
20241
  F("div", null, [
20239
- E($a, null, {
20240
- default: $(() => [
20242
+ E(Pa, null, {
20243
+ default: P(() => [
20241
20244
  L(q(r.value.name), 1)
20242
20245
  ]),
20243
20246
  _: 1
20244
20247
  }),
20245
20248
  r.value.description ? (y(), oe(Qe, { key: 0 }, {
20246
- default: $(() => [
20249
+ default: P(() => [
20247
20250
  L(' "' + q(r.value.description) + '" ', 1)
20248
20251
  ]),
20249
20252
  _: 1
20250
20253
  })) : fe("", !0),
20251
20254
  E(Ze, null, {
20252
- default: $(() => [
20255
+ default: P(() => [
20253
20256
  c[2] || (c[2] = L(" Code: ")),
20254
20257
  F("strong", null, q(r.value.code), 1)
20255
20258
  ]),
@@ -20257,7 +20260,7 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20257
20260
  })
20258
20261
  ]),
20259
20262
  E(Qe, null, {
20260
- default: $(() => c[3] || (c[3] = [
20263
+ default: P(() => c[3] || (c[3] = [
20261
20264
  L(" Voucher summary ")
20262
20265
  ])),
20263
20266
  _: 1
@@ -20276,7 +20279,7 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20276
20279
  ])) : fe("", !0),
20277
20280
  F("div", Tk, [
20278
20281
  E(Je, null, {
20279
- default: $(() => c[4] || (c[4] = [
20282
+ default: P(() => c[4] || (c[4] = [
20280
20283
  L(" Sign in or create an account to redeem products ")
20281
20284
  ])),
20282
20285
  _: 1
@@ -20296,11 +20299,11 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20296
20299
  key: 0,
20297
20300
  handler: i
20298
20301
  }, {
20299
- default: $(() => {
20302
+ default: P(() => {
20300
20303
  var d;
20301
20304
  return [
20302
20305
  E(Je, null, {
20303
- default: $(() => c[1] || (c[1] = [
20306
+ default: P(() => c[1] || (c[1] = [
20304
20307
  L(" Do you have a voucher you want to redeem? "),
20305
20308
  F("br", null, null, -1),
20306
20309
  L(" Please enter the code below: ")
@@ -20332,7 +20335,7 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20332
20335
  })
20333
20336
  ]));
20334
20337
  }
20335
- }), $k = /* @__PURE__ */ pe({
20338
+ }), Pk = /* @__PURE__ */ pe({
20336
20339
  __name: "App",
20337
20340
  setup(e) {
20338
20341
  const t = ve(Vt), n = Ae();
@@ -20363,8 +20366,8 @@ const uk = { class: "moonbase:product-licenses" }, ck = {
20363
20366
  return y(), A(Ie, null, [
20364
20367
  (i = v(t)) != null && i.toolbar.enabled ? (y(), oe(m_, { key: 0 })) : fe("", !0),
20365
20368
  E(a_, null, {
20366
- default: $(() => [
20367
- v(n).active === v(ue).Cart ? (y(), oe(D5, { key: 0 })) : v(n).active === v(ue).Authentication ? (y(), oe(c5, { key: 1 })) : v(n).active === v(ue).Activation ? (y(), oe(EE, { key: 2 })) : v(n).active === v(ue).Product ? (y(), oe(kk, { key: 3 })) : v(n).active === v(ue).Customer ? (y(), oe(nx, { key: 4 })) : v(n).active === v(ue).Redeem ? (y(), oe(Pk, { key: 5 })) : v(n).active === v(ue).About ? (y(), oe(I2, { key: 6 })) : fe("", !0)
20369
+ default: P(() => [
20370
+ v(n).active === v(ue).Cart ? (y(), oe(D5, { key: 0 })) : v(n).active === v(ue).Authentication ? (y(), oe(c5, { key: 1 })) : v(n).active === v(ue).Activation ? (y(), oe(EE, { key: 2 })) : v(n).active === v(ue).Product ? (y(), oe(kk, { key: 3 })) : v(n).active === v(ue).Customer ? (y(), oe(nx, { key: 4 })) : v(n).active === v(ue).Redeem ? (y(), oe($k, { key: 5 })) : v(n).active === v(ue).About ? (y(), oe(I2, { key: 6 })) : fe("", !0)
20368
20371
  ]),
20369
20372
  _: 1
20370
20373
  })
@@ -20414,7 +20417,7 @@ class Dk {
20414
20417
  }
20415
20418
  this.options = R(ca(((l = this.options) == null ? void 0 : l.value) ?? Yc, n ?? {})), Ll("Merged options:", this.options.value);
20416
20419
  const r = document.createElement("div");
20417
- if (r.id = "moonbase", r.classList.add("moonbase"), (this.options.value.target ?? document.body).append(r), this.storefront = ly(t), this.pinia = Dy(), Rv($k).use(this.storefront).use(this.pinia).provide(Vt, this.options).provide(Up, t.replace(/\/$/, "")).provide(ao, sr).mount("#moonbase"), this.initialized = !0, window && window.location) {
20420
+ if (r.id = "moonbase", r.classList.add("moonbase"), (this.options.value.target ?? document.body).append(r), this.storefront = ly(t), this.pinia = Dy(), Rv(Pk).use(this.storefront).use(this.pinia).provide(Vt, this.options).provide(Up, t.replace(/\/$/, "")).provide(ao, sr).mount("#moonbase"), this.initialized = !0, window && window.location) {
20418
20421
  const c = new URLSearchParams(window.location.search), d = c.get("mb_intent");
20419
20422
  if (d && Object.values(re).includes(d)) {
20420
20423
  const f = Object.fromEntries([...c.entries()].filter(([p]) => p.startsWith("mb_")).map(([p, w]) => [p.substring(3), w]));