@roudanio/awesome-comment 0.9.6 → 0.9.7

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.
@@ -11,23 +11,23 @@ function Oi(e) {
11
11
  return (n) => n in t;
12
12
  }
13
13
  const ue = {}, On = [], dt = () => {
14
- }, Vu = () => !1, is = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
14
+ }, Vu = () => !1, os = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
15
15
  (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Ci = (e) => e.startsWith("onUpdate:"), Oe = Object.assign, Ai = (e, t) => {
16
16
  const n = e.indexOf(t);
17
17
  n > -1 && e.splice(n, 1);
18
- }, Bu = Object.prototype.hasOwnProperty, ie = (e, t) => Bu.call(e, t), z = Array.isArray, Cn = (e) => os(e) === "[object Map]", Sl = (e) => os(e) === "[object Set]", V = (e) => typeof e == "function", ke = (e) => typeof e == "string", Ht = (e) => typeof e == "symbol", _e = (e) => e !== null && typeof e == "object", xl = (e) => (_e(e) || V(e)) && V(e.then) && V(e.catch), Ol = Object.prototype.toString, os = (e) => Ol.call(e), Gu = (e) => os(e).slice(8, -1), Cl = (e) => os(e) === "[object Object]", Li = (e) => ke(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Yn = /* @__PURE__ */ Oi(
18
+ }, Bu = Object.prototype.hasOwnProperty, ie = (e, t) => Bu.call(e, t), z = Array.isArray, Cn = (e) => as(e) === "[object Map]", Sl = (e) => as(e) === "[object Set]", V = (e) => typeof e == "function", ke = (e) => typeof e == "string", Ht = (e) => typeof e == "symbol", _e = (e) => e !== null && typeof e == "object", xl = (e) => (_e(e) || V(e)) && V(e.then) && V(e.catch), Ol = Object.prototype.toString, as = (e) => Ol.call(e), Gu = (e) => as(e).slice(8, -1), Cl = (e) => as(e) === "[object Object]", Li = (e) => ke(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Yn = /* @__PURE__ */ Oi(
19
19
  // the leading comma is intentional so empty string "" is also included
20
20
  ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
21
- ), as = (e) => {
21
+ ), ls = (e) => {
22
22
  const t = /* @__PURE__ */ Object.create(null);
23
23
  return (n) => t[n] || (t[n] = e(n));
24
- }, Zu = /-(\w)/g, tt = as(
24
+ }, Zu = /-(\w)/g, tt = ls(
25
25
  (e) => e.replace(Zu, (t, n) => n ? n.toUpperCase() : "")
26
- ), Yu = /\B([A-Z])/g, zt = as(
26
+ ), Yu = /\B([A-Z])/g, zt = ls(
27
27
  (e) => e.replace(Yu, "-$1").toLowerCase()
28
- ), ls = as((e) => e.charAt(0).toUpperCase() + e.slice(1)), xs = as(
29
- (e) => e ? `on${ls(e)}` : ""
30
- ), Ut = (e, t) => !Object.is(e, t), Nr = (e, ...t) => {
28
+ ), cs = ls((e) => e.charAt(0).toUpperCase() + e.slice(1)), xs = ls(
29
+ (e) => e ? `on${cs(e)}` : ""
30
+ ), Ut = (e, t) => !Object.is(e, t), $r = (e, ...t) => {
31
31
  for (let n = 0; n < e.length; n++)
32
32
  e[n](...t);
33
33
  }, Al = (e, t, n, r = !1) => {
@@ -42,12 +42,12 @@ const ue = {}, On = [], dt = () => {
42
42
  return isNaN(t) ? e : t;
43
43
  };
44
44
  let Co;
45
- const cs = () => Co || (Co = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
46
- function us(e) {
45
+ const us = () => Co || (Co = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
46
+ function fs(e) {
47
47
  if (z(e)) {
48
48
  const t = {};
49
49
  for (let n = 0; n < e.length; n++) {
50
- const r = e[n], s = ke(r) ? Qu(r) : us(r);
50
+ const r = e[n], s = ke(r) ? Qu(r) : fs(r);
51
51
  if (s)
52
52
  for (const i in s)
53
53
  t[i] = s[i];
@@ -397,7 +397,7 @@ function zl(e) {
397
397
  n !== e && (e.prevSub = n, n && (n.nextSub = e)), e.dep.subs = e;
398
398
  }
399
399
  }
400
- const zr = /* @__PURE__ */ new WeakMap(), rn = Symbol(
400
+ const Kr = /* @__PURE__ */ new WeakMap(), rn = Symbol(
401
401
  ""
402
402
  ), qs = Symbol(
403
403
  ""
@@ -406,14 +406,14 @@ const zr = /* @__PURE__ */ new WeakMap(), rn = Symbol(
406
406
  );
407
407
  function Pe(e, t, n) {
408
408
  if (st && de) {
409
- let r = zr.get(e);
410
- r || zr.set(e, r = /* @__PURE__ */ new Map());
409
+ let r = Kr.get(e);
410
+ r || Kr.set(e, r = /* @__PURE__ */ new Map());
411
411
  let s = r.get(n);
412
412
  s || (r.set(n, s = new Mi()), s.map = r, s.key = n), s.track();
413
413
  }
414
414
  }
415
415
  function St(e, t, n, r, s, i) {
416
- const o = zr.get(e);
416
+ const o = Kr.get(e);
417
417
  if (!o) {
418
418
  ir++;
419
419
  return;
@@ -446,14 +446,14 @@ function St(e, t, n, r, s, i) {
446
446
  Ni();
447
447
  }
448
448
  function of(e, t) {
449
- const n = zr.get(e);
449
+ const n = Kr.get(e);
450
450
  return n && n.get(t);
451
451
  }
452
452
  function wn(e) {
453
453
  const t = ee(e);
454
454
  return t === e ? t : (Pe(t, "iterate", or), et(e) ? t : t.map(Re));
455
455
  }
456
- function fs(e) {
456
+ function ds(e) {
457
457
  return Pe(e = ee(e), "iterate", or), e;
458
458
  }
459
459
  const af = {
@@ -546,7 +546,7 @@ const af = {
546
546
  }
547
547
  };
548
548
  function As(e, t, n) {
549
- const r = fs(e), s = r[t]();
549
+ const r = ds(e), s = r[t]();
550
550
  return r !== e && !et(e) && (s._next = s.next, s.next = () => {
551
551
  const i = s._next();
552
552
  return i.value && (i.value = n(i.value)), i;
@@ -554,7 +554,7 @@ function As(e, t, n) {
554
554
  }
555
555
  const lf = Array.prototype;
556
556
  function kt(e, t, n, r, s, i) {
557
- const o = fs(e), a = o !== e && !et(e), l = o[t];
557
+ const o = ds(e), a = o !== e && !et(e), l = o[t];
558
558
  if (l !== lf[t]) {
559
559
  const f = l.apply(e, i);
560
560
  return a ? Re(f) : f;
@@ -569,7 +569,7 @@ function kt(e, t, n, r, s, i) {
569
569
  return a && s ? s(c) : c;
570
570
  }
571
571
  function Lo(e, t, n, r) {
572
- const s = fs(e);
572
+ const s = ds(e);
573
573
  let i = n;
574
574
  return s !== e && (et(e) ? n.length > 3 && (i = function(o, a, l) {
575
575
  return n.call(this, o, a, l, e);
@@ -628,7 +628,7 @@ class Vl {
628
628
  // its class methods
629
629
  ye(t) ? t : r
630
630
  );
631
- return (Ht(n) ? Kl.has(n) : cf(n)) || (s || Pe(t, "get", n), i) ? a : ye(a) ? o && Li(n) ? a : a.value : _e(a) ? s ? Xl(a) : ds(a) : a;
631
+ return (Ht(n) ? Kl.has(n) : cf(n)) || (s || Pe(t, "get", n), i) ? a : ye(a) ? o && Li(n) ? a : a.value : _e(a) ? s ? Xl(a) : hs(a) : a;
632
632
  }
633
633
  }
634
634
  class Bl extends Vl {
@@ -680,7 +680,7 @@ class ff extends Vl {
680
680
  }
681
681
  }
682
682
  const df = /* @__PURE__ */ new Bl(), hf = /* @__PURE__ */ new ff(), pf = /* @__PURE__ */ new Bl(!0);
683
- const Qs = (e) => e, Sr = (e) => Reflect.getPrototypeOf(e);
683
+ const Qs = (e) => e, xr = (e) => Reflect.getPrototypeOf(e);
684
684
  function mf(e, t, n) {
685
685
  return function(...r) {
686
686
  const s = this.__v_raw, i = ee(s), o = Cn(i), a = e === "entries" || e === Symbol.iterator && o, l = e === "keys" && o, u = s[e](...r), c = n ? Qs : t ? ei : Re;
@@ -704,7 +704,7 @@ function mf(e, t, n) {
704
704
  };
705
705
  };
706
706
  }
707
- function xr(e) {
707
+ function Or(e) {
708
708
  return function(...t) {
709
709
  return e === "delete" ? !1 : e === "clear" ? void 0 : this;
710
710
  };
@@ -714,7 +714,7 @@ function gf(e, t) {
714
714
  get(s) {
715
715
  const i = this.__v_raw, o = ee(i), a = ee(s);
716
716
  e || (Ut(s, a) && Pe(o, "get", s), Pe(o, "get", a));
717
- const { has: l } = Sr(o), u = t ? Qs : e ? ei : Re;
717
+ const { has: l } = xr(o), u = t ? Qs : e ? ei : Re;
718
718
  if (l.call(o, s))
719
719
  return u(i.get(s));
720
720
  if (l.call(o, a))
@@ -737,26 +737,26 @@ function gf(e, t) {
737
737
  return Oe(
738
738
  n,
739
739
  e ? {
740
- add: xr("add"),
741
- set: xr("set"),
742
- delete: xr("delete"),
743
- clear: xr("clear")
740
+ add: Or("add"),
741
+ set: Or("set"),
742
+ delete: Or("delete"),
743
+ clear: Or("clear")
744
744
  } : {
745
745
  add(s) {
746
746
  !t && !et(s) && !an(s) && (s = ee(s));
747
747
  const i = ee(this);
748
- return Sr(i).has.call(i, s) || (i.add(s), St(i, "add", s, s)), this;
748
+ return xr(i).has.call(i, s) || (i.add(s), St(i, "add", s, s)), this;
749
749
  },
750
750
  set(s, i) {
751
751
  !t && !et(i) && !an(i) && (i = ee(i));
752
- const o = ee(this), { has: a, get: l } = Sr(o);
752
+ const o = ee(this), { has: a, get: l } = xr(o);
753
753
  let u = a.call(o, s);
754
754
  u || (s = ee(s), u = a.call(o, s));
755
755
  const c = l.call(o, s);
756
756
  return o.set(s, i), u ? Ut(i, c) && St(o, "set", s, i) : St(o, "add", s, i), this;
757
757
  },
758
758
  delete(s) {
759
- const i = ee(this), { has: o, get: a } = Sr(i);
759
+ const i = ee(this), { has: o, get: a } = xr(i);
760
760
  let l = o.call(i, s);
761
761
  l || (s = ee(s), l = o.call(i, s)), a && a.call(i, s);
762
762
  const u = i.delete(s);
@@ -814,7 +814,7 @@ function wf(e) {
814
814
  function kf(e) {
815
815
  return e.__v_skip || !Object.isExtensible(e) ? 0 : wf(Gu(e));
816
816
  }
817
- function ds(e) {
817
+ function hs(e) {
818
818
  return an(e) ? e : Fi(
819
819
  e,
820
820
  !1,
@@ -875,7 +875,7 @@ function ee(e) {
875
875
  function Ui(e) {
876
876
  return !ie(e, "__v_skip") && Object.isExtensible(e) && Al(e, "__v_skip", !0), e;
877
877
  }
878
- const Re = (e) => _e(e) ? ds(e) : e, ei = (e) => _e(e) ? Xl(e) : e;
878
+ const Re = (e) => _e(e) ? hs(e) : e, ei = (e) => _e(e) ? Xl(e) : e;
879
879
  function ye(e) {
880
880
  return e ? e.__v_isRef === !0 : !1;
881
881
  }
@@ -962,12 +962,12 @@ function Lf(e, t, n = !1) {
962
962
  let r, s;
963
963
  return V(e) ? r = e : (r = e.get, s = e.set), new Af(r, s, n);
964
964
  }
965
- const Or = {}, Kr = /* @__PURE__ */ new WeakMap();
965
+ const Cr = {}, Vr = /* @__PURE__ */ new WeakMap();
966
966
  let qt;
967
967
  function Pf(e, t = !1, n = qt) {
968
968
  if (n) {
969
- let r = Kr.get(n);
970
- r || Kr.set(n, r = []), r.push(e);
969
+ let r = Vr.get(n);
970
+ r || Vr.set(n, r = []), r.push(e);
971
971
  }
972
972
  }
973
973
  function Rf(e, t, n = ue) {
@@ -1009,7 +1009,7 @@ function Rf(e, t, n = ue) {
1009
1009
  _(...C), g();
1010
1010
  };
1011
1011
  }
1012
- let v = T ? new Array(e.length).fill(Or) : Or;
1012
+ let v = T ? new Array(e.length).fill(Cr) : Cr;
1013
1013
  const E = (_) => {
1014
1014
  if (!(!(c.flags & 1) || !c.dirty && !_))
1015
1015
  if (t) {
@@ -1022,7 +1022,7 @@ function Rf(e, t, n = ue) {
1022
1022
  const L = [
1023
1023
  C,
1024
1024
  // pass undefined as the old value when it's changed for the first time
1025
- v === Or ? void 0 : T && v[0] === Or ? [] : v,
1025
+ v === Cr ? void 0 : T && v[0] === Cr ? [] : v,
1026
1026
  m
1027
1027
  ];
1028
1028
  l ? l(t, 3, L) : (
@@ -1037,13 +1037,13 @@ function Rf(e, t, n = ue) {
1037
1037
  c.run();
1038
1038
  };
1039
1039
  return a && a(E), c = new Ml(f), c.scheduler = o ? () => o(E, !1) : E, m = (_) => Pf(_, !1, c), d = c.onStop = () => {
1040
- const _ = Kr.get(c);
1040
+ const _ = Vr.get(c);
1041
1041
  if (_) {
1042
1042
  if (l)
1043
1043
  l(_, 4);
1044
1044
  else
1045
1045
  for (const C of _) C();
1046
- Kr.delete(c);
1046
+ Vr.delete(c);
1047
1047
  }
1048
1048
  }, t ? r ? E(!0) : v = c.run() : o ? o(E.bind(null, !0), !0) : c.run(), g.pause = c.pause.bind(c), g.resume = c.resume.bind(c), g.stop = g, g;
1049
1049
  }
@@ -1076,14 +1076,14 @@ function br(e, t, n, r) {
1076
1076
  try {
1077
1077
  return r ? e(...r) : e();
1078
1078
  } catch (s) {
1079
- hs(s, t, n);
1079
+ ps(s, t, n);
1080
1080
  }
1081
1081
  }
1082
1082
  function pt(e, t, n, r) {
1083
1083
  if (V(e)) {
1084
1084
  const s = br(e, t, n, r);
1085
1085
  return s && xl(s) && s.catch((i) => {
1086
- hs(i, t, n);
1086
+ ps(i, t, n);
1087
1087
  }), s;
1088
1088
  }
1089
1089
  if (z(e)) {
@@ -1093,7 +1093,7 @@ function pt(e, t, n, r) {
1093
1093
  return s;
1094
1094
  }
1095
1095
  }
1096
- function hs(e, t, n, r = !0) {
1096
+ function ps(e, t, n, r = !0) {
1097
1097
  const s = t ? t.vnode : null, { errorHandler: i, throwUnhandledErrorInProduction: o } = t && t.appContext.config || ue;
1098
1098
  if (t) {
1099
1099
  let a = t.parent;
@@ -1128,9 +1128,9 @@ let lt = -1;
1128
1128
  const An = [];
1129
1129
  let Dt = null, In = 0;
1130
1130
  const Ql = /* @__PURE__ */ Promise.resolve();
1131
- let Vr = null;
1131
+ let Br = null;
1132
1132
  function ec(e) {
1133
- const t = Vr || Ql;
1133
+ const t = Br || Ql;
1134
1134
  return e ? t.then(this ? e.bind(this) : e) : t;
1135
1135
  }
1136
1136
  function $f(e) {
@@ -1149,7 +1149,7 @@ function Wi(e) {
1149
1149
  }
1150
1150
  }
1151
1151
  function tc() {
1152
- Vr || (Vr = Ql.then(rc));
1152
+ Br || (Br = Ql.then(rc));
1153
1153
  }
1154
1154
  function Mf(e) {
1155
1155
  z(e) ? An.push(...e) : Dt && e.id === -1 ? Dt.splice(In + 1, 0, e) : e.flags & 1 || (An.push(e), e.flags |= 1), tc();
@@ -1196,11 +1196,11 @@ function rc(e) {
1196
1196
  const t = Fe[lt];
1197
1197
  t && (t.flags &= -2);
1198
1198
  }
1199
- lt = -1, Fe.length = 0, nc(), Vr = null, (Fe.length || An.length) && rc();
1199
+ lt = -1, Fe.length = 0, nc(), Br = null, (Fe.length || An.length) && rc();
1200
1200
  }
1201
1201
  }
1202
1202
  let je = null, sc = null;
1203
- function Br(e) {
1203
+ function Gr(e) {
1204
1204
  const t = je;
1205
1205
  return je = e, sc = e && e.type.__scopeId || null, t;
1206
1206
  }
@@ -1209,12 +1209,12 @@ function Df(e, t = je, n) {
1209
1209
  return e;
1210
1210
  const r = (...s) => {
1211
1211
  r._d && Wo(-1);
1212
- const i = Br(t);
1212
+ const i = Gr(t);
1213
1213
  let o;
1214
1214
  try {
1215
1215
  o = e(...s);
1216
1216
  } finally {
1217
- Br(i), r._d && Wo(1);
1217
+ Gr(i), r._d && Wo(1);
1218
1218
  }
1219
1219
  return o;
1220
1220
  };
@@ -1301,8 +1301,8 @@ function ti(e, t, n, r, s = !1) {
1301
1301
  }
1302
1302
  }
1303
1303
  }
1304
- cs().requestIdleCallback;
1305
- cs().cancelIdleCallback;
1304
+ us().requestIdleCallback;
1305
+ us().cancelIdleCallback;
1306
1306
  const qn = (e) => !!e.type.__asyncLoader, oc = (e) => e.type.__isKeepAlive;
1307
1307
  function Wf(e, t) {
1308
1308
  ac(e, "a", t);
@@ -1320,14 +1320,14 @@ function ac(e, t, n = xe) {
1320
1320
  }
1321
1321
  return e();
1322
1322
  });
1323
- if (ps(t, r, n), n) {
1323
+ if (ms(t, r, n), n) {
1324
1324
  let s = n.parent;
1325
1325
  for (; s && s.parent; )
1326
1326
  oc(s.parent.vnode) && zf(r, t, n, s), s = s.parent;
1327
1327
  }
1328
1328
  }
1329
1329
  function zf(e, t, n, r) {
1330
- const s = ps(
1330
+ const s = ms(
1331
1331
  t,
1332
1332
  e,
1333
1333
  r,
@@ -1338,19 +1338,19 @@ function zf(e, t, n, r) {
1338
1338
  Ai(r[t], s);
1339
1339
  }, n);
1340
1340
  }
1341
- function ps(e, t, n = xe, r = !1) {
1341
+ function ms(e, t, n = xe, r = !1) {
1342
1342
  if (n) {
1343
1343
  const s = n[e] || (n[e] = []), i = t.__weh || (t.__weh = (...o) => {
1344
1344
  Kt();
1345
- const a = vr(n), l = pt(t, n, e, o);
1345
+ const a = wr(n), l = pt(t, n, e, o);
1346
1346
  return a(), Vt(), l;
1347
1347
  });
1348
1348
  return r ? s.unshift(i) : s.push(i), i;
1349
1349
  }
1350
1350
  }
1351
1351
  const At = (e) => (t, n = xe) => {
1352
- (!ur || e === "sp") && ps(e, (...r) => t(...r), n);
1353
- }, Kf = At("bm"), ms = At("m"), Vf = At(
1352
+ (!ur || e === "sp") && ms(e, (...r) => t(...r), n);
1353
+ }, Kf = At("bm"), yr = At("m"), Vf = At(
1354
1354
  "bu"
1355
1355
  ), Bf = At("u"), lc = At(
1356
1356
  "bum"
@@ -1358,7 +1358,7 @@ const At = (e) => (t, n = xe) => {
1358
1358
  "sp"
1359
1359
  ), Zf = At("rtg"), Yf = At("rtc");
1360
1360
  function Xf(e, t = xe) {
1361
- ps("ec", e, t);
1361
+ ms("ec", e, t);
1362
1362
  }
1363
1363
  const Jf = "components";
1364
1364
  function qf(e, t) {
@@ -1374,7 +1374,7 @@ function ed(e, t, n = !0, r = !1) {
1374
1374
  i,
1375
1375
  !1
1376
1376
  );
1377
- if (a && (a === t || a === tt(t) || a === ls(tt(t))))
1377
+ if (a && (a === t || a === tt(t) || a === cs(tt(t))))
1378
1378
  return i;
1379
1379
  }
1380
1380
  const o = (
@@ -1387,7 +1387,7 @@ function ed(e, t, n = !0, r = !1) {
1387
1387
  }
1388
1388
  }
1389
1389
  function Ro(e, t) {
1390
- return e && (e[t] || e[tt(t)] || e[ls(tt(t))]);
1390
+ return e && (e[t] || e[tt(t)] || e[cs(tt(t))]);
1391
1391
  }
1392
1392
  function cc(e, t, n, r) {
1393
1393
  let s;
@@ -1395,7 +1395,7 @@ function cc(e, t, n, r) {
1395
1395
  if (o || ke(e)) {
1396
1396
  const a = o && Wt(e);
1397
1397
  let l = !1;
1398
- a && (l = !et(e), e = fs(e)), s = new Array(e.length);
1398
+ a && (l = !et(e), e = ds(e)), s = new Array(e.length);
1399
1399
  for (let u = 0, c = e.length; u < c; u++)
1400
1400
  s[u] = t(
1401
1401
  l ? Re(e[u]) : e[u],
@@ -1563,7 +1563,7 @@ function nd(e) {
1563
1563
  }
1564
1564
  if (s) {
1565
1565
  const B = s.call(n, n);
1566
- _e(B) && (e.data = ds(B));
1566
+ _e(B) && (e.data = hs(B));
1567
1567
  }
1568
1568
  if (ri = !0, i)
1569
1569
  for (const B in i) {
@@ -1591,7 +1591,7 @@ function nd(e) {
1591
1591
  function he(B, se) {
1592
1592
  z(se) ? se.forEach((Ae) => B(Ae.bind(n))) : se && B(se.bind(n));
1593
1593
  }
1594
- if (he(Kf, f), he(ms, d), he(Vf, m), he(Bf, y), he(Wf, T), he(Hf, S), he(Xf, D), he(Yf, $), he(Zf, L), he(lc, v), he(zi, _), he(Gf, U), z(G))
1594
+ if (he(Kf, f), he(yr, d), he(Vf, m), he(Bf, y), he(Wf, T), he(Hf, S), he(Xf, D), he(Yf, $), he(Zf, L), he(lc, v), he(zi, _), he(Gf, U), z(G))
1595
1595
  if (G.length) {
1596
1596
  const B = e.exposed || (e.exposed = {});
1597
1597
  G.forEach((se) => {
@@ -1650,13 +1650,13 @@ function Ki(e) {
1650
1650
  } = e.appContext, a = i.get(t);
1651
1651
  let l;
1652
1652
  return a ? l = a : !s.length && !n && !r ? l = t : (l = {}, s.length && s.forEach(
1653
- (u) => Gr(l, u, o, !0)
1654
- ), Gr(l, t, o)), _e(t) && i.set(t, l), l;
1653
+ (u) => Zr(l, u, o, !0)
1654
+ ), Zr(l, t, o)), _e(t) && i.set(t, l), l;
1655
1655
  }
1656
- function Gr(e, t, n, r = !1) {
1656
+ function Zr(e, t, n, r = !1) {
1657
1657
  const { mixins: s, extends: i } = t;
1658
- i && Gr(e, i, n, !0), s && s.forEach(
1659
- (o) => Gr(e, o, n, !0)
1658
+ i && Zr(e, i, n, !0), s && s.forEach(
1659
+ (o) => Zr(e, o, n, !0)
1660
1660
  );
1661
1661
  for (const o in t)
1662
1662
  if (!(r && o === "expose")) {
@@ -1949,7 +1949,7 @@ function ii(e, t, n, r, s, i) {
1949
1949
  if (n in u)
1950
1950
  r = u[n];
1951
1951
  else {
1952
- const c = vr(s);
1952
+ const c = wr(s);
1953
1953
  r = u[n] = l.call(
1954
1954
  null,
1955
1955
  t
@@ -2066,7 +2066,7 @@ function _d(e) {
2066
2066
  return bd(e);
2067
2067
  }
2068
2068
  function bd(e, t) {
2069
- const n = cs();
2069
+ const n = us();
2070
2070
  n.__VUE__ = !0;
2071
2071
  const {
2072
2072
  insert: r,
@@ -2087,7 +2087,7 @@ function bd(e, t) {
2087
2087
  b && !Wn(b, w) && (N = Rt(b), He(b, R, h, !0), b = null), w.patchFlag === -2 && (O = !1, w.dynamicChildren = null);
2088
2088
  const { type: P, ref: M, shapeFlag: k } = w;
2089
2089
  switch (P) {
2090
- case yr:
2090
+ case vr:
2091
2091
  S(b, w, A, N);
2092
2092
  break;
2093
2093
  case ln:
@@ -2451,7 +2451,7 @@ function bd(e, t) {
2451
2451
  }
2452
2452
  }
2453
2453
  let Q = k, we;
2454
- Xt(b, !1), k ? (k.el = q.el, B(b, k, p)) : k = q, x && Nr(x), (we = k.props && k.props.onVnodeBeforeUpdate) && ot(we, W, k, q), Xt(b, !0);
2454
+ Xt(b, !1), k ? (k.el = q.el, B(b, k, p)) : k = q, x && $r(x), (we = k.props && k.props.onVnodeBeforeUpdate) && ot(we, W, k, q), Xt(b, !0);
2455
2455
  const Ee = Ns(b), Xe = b.subTree;
2456
2456
  b.subTree = Ee, T(
2457
2457
  Xe,
@@ -2470,7 +2470,7 @@ function bd(e, t) {
2470
2470
  } else {
2471
2471
  let k;
2472
2472
  const { el: x, props: F } = w, { bm: W, m: q, parent: Q, root: we, type: Ee } = b, Xe = qn(w);
2473
- if (Xt(b, !1), W && Nr(W), !Xe && (k = F && F.onVnodeBeforeMount) && ot(k, Q, w), Xt(b, !0), x && vn) {
2473
+ if (Xt(b, !1), W && $r(W), !Xe && (k = F && F.onVnodeBeforeMount) && ot(k, Q, w), Xt(b, !0), x && vn) {
2474
2474
  const Ke = () => {
2475
2475
  b.subTree = Ns(b), vn(
2476
2476
  x,
@@ -2774,7 +2774,7 @@ function bd(e, t) {
2774
2774
  const W = M & 1 && x, q = !qn(b);
2775
2775
  let Q;
2776
2776
  if (q && (Q = p && p.onVnodeBeforeUnmount) && ot(Q, w, b), M & 6)
2777
- Er(b.component, A, N);
2777
+ Sr(b.component, A, N);
2778
2778
  else {
2779
2779
  if (M & 128) {
2780
2780
  b.suspense.unmount(A, N);
@@ -2826,9 +2826,9 @@ function bd(e, t) {
2826
2826
  for (; b !== w; )
2827
2827
  A = d(b), s(b), b = A;
2828
2828
  s(w);
2829
- }, Er = (b, w, A) => {
2829
+ }, Sr = (b, w, A) => {
2830
2830
  const { bum: N, scope: R, job: h, subTree: p, um: I, m: O, a: P } = b;
2831
- jo(O), jo(P), N && Nr(N), R.stop(), h && (h.flags |= 8, He(p, b, w, A)), I && Be(I, w), Be(() => {
2831
+ jo(O), jo(P), N && $r(N), R.stop(), h && (h.flags |= 8, He(p, b, w, A)), I && Be(I, w), Be(() => {
2832
2832
  b.isUnmounted = !0;
2833
2833
  }, w), w && w.pendingBranch && !w.isUnmounted && b.asyncDep && !b.asyncResolved && b.suspenseId === w.pendingId && (w.deps--, w.deps === 0 && w.resolve());
2834
2834
  }, vt = (b, w, A, N = !1, R = !1, h = 0) => {
@@ -2887,7 +2887,7 @@ function wc(e, t, n = !1) {
2887
2887
  for (let i = 0; i < r.length; i++) {
2888
2888
  const o = r[i];
2889
2889
  let a = s[i];
2890
- a.shapeFlag & 1 && !a.dynamicChildren && ((a.patchFlag <= 0 || a.patchFlag === 32) && (a = s[i] = Ft(s[i]), a.el = o.el), !n && a.patchFlag !== -2 && wc(o, a)), a.type === yr && (a.el = o.el);
2890
+ a.shapeFlag & 1 && !a.dynamicChildren && ((a.patchFlag <= 0 || a.patchFlag === 32) && (a = s[i] = Ft(s[i]), a.el = o.el), !n && a.patchFlag !== -2 && wc(o, a)), a.type === vr && (a.el = o.el);
2891
2891
  }
2892
2892
  }
2893
2893
  function vd(e) {
@@ -2954,7 +2954,7 @@ function Td(e, t, n) {
2954
2954
  const r = this.proxy, s = ke(e) ? e.includes(".") ? Ic(r, e) : () => r[e] : e.bind(r, r);
2955
2955
  let i;
2956
2956
  V(t) ? i = t : (i = t.handler, n = t);
2957
- const o = vr(this), a = Tc(s, i.bind(r), n);
2957
+ const o = wr(this), a = Tc(s, i.bind(r), n);
2958
2958
  return o(), a;
2959
2959
  }
2960
2960
  function Ic(e, t) {
@@ -3011,7 +3011,7 @@ function Ec(e, t, n = !1) {
3011
3011
  return !i && !a ? (_e(e) && r.set(e, null), null) : (z(i) ? i.forEach((l) => o[l] = null) : Oe(o, i), _e(e) && r.set(e, o), o);
3012
3012
  }
3013
3013
  function gs(e, t) {
3014
- return !e || !is(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), ie(e, t[0].toLowerCase() + t.slice(1)) || ie(e, zt(t)) || ie(e, t));
3014
+ return !e || !os(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), ie(e, t[0].toLowerCase() + t.slice(1)) || ie(e, zt(t)) || ie(e, t));
3015
3015
  }
3016
3016
  function Ns(e) {
3017
3017
  const {
@@ -3030,7 +3030,7 @@ function Ns(e) {
3030
3030
  setupState: m,
3031
3031
  ctx: y,
3032
3032
  inheritAttrs: T
3033
- } = e, S = Br(e);
3033
+ } = e, S = Gr(e);
3034
3034
  let g, v;
3035
3035
  try {
3036
3036
  if (n.shapeFlag & 4) {
@@ -3059,7 +3059,7 @@ function Ns(e) {
3059
3059
  ), v = t.props ? a : Sd(a);
3060
3060
  }
3061
3061
  } catch (_) {
3062
- er.length = 0, hs(_, e, 1), g = ve(ln);
3062
+ er.length = 0, ps(_, e, 1), g = ve(ln);
3063
3063
  }
3064
3064
  let E = g;
3065
3065
  if (v && T !== !1) {
@@ -3069,12 +3069,12 @@ function Ns(e) {
3069
3069
  i
3070
3070
  )), E = Ln(E, v, !1, !0));
3071
3071
  }
3072
- return n.dirs && (E = Ln(E, null, !1, !0), E.dirs = E.dirs ? E.dirs.concat(n.dirs) : n.dirs), n.transition && Hi(E, n.transition), g = E, Br(S), g;
3072
+ return n.dirs && (E = Ln(E, null, !1, !0), E.dirs = E.dirs ? E.dirs.concat(n.dirs) : n.dirs), n.transition && Hi(E, n.transition), g = E, Gr(S), g;
3073
3073
  }
3074
3074
  const Sd = (e) => {
3075
3075
  let t;
3076
3076
  for (const n in e)
3077
- (n === "class" || n === "style" || is(n)) && ((t || (t = {}))[n] = e[n]);
3077
+ (n === "class" || n === "style" || os(n)) && ((t || (t = {}))[n] = e[n]);
3078
3078
  return t;
3079
3079
  }, xd = (e, t) => {
3080
3080
  const n = {};
@@ -3127,7 +3127,7 @@ const Sc = (e) => e.__isSuspense;
3127
3127
  function Ad(e, t) {
3128
3128
  t && t.pendingBranch ? z(e) ? t.effects.push(...e) : t.effects.push(e) : Mf(e);
3129
3129
  }
3130
- const Se = Symbol.for("v-fgt"), yr = Symbol.for("v-txt"), ln = Symbol.for("v-cmt"), $s = Symbol.for("v-stc"), er = [];
3130
+ const Se = Symbol.for("v-fgt"), vr = Symbol.for("v-txt"), ln = Symbol.for("v-cmt"), $s = Symbol.for("v-stc"), er = [];
3131
3131
  let Ze = null;
3132
3132
  function K(e = !1) {
3133
3133
  er.push(Ze = e ? null : []);
@@ -3167,13 +3167,13 @@ function jt(e, t, n, r, s) {
3167
3167
  )
3168
3168
  );
3169
3169
  }
3170
- function Zr(e) {
3170
+ function Yr(e) {
3171
3171
  return e ? e.__v_isVNode === !0 : !1;
3172
3172
  }
3173
3173
  function Wn(e, t) {
3174
3174
  return e.type === t.type && e.key === t.key;
3175
3175
  }
3176
- const Oc = ({ key: e }) => e ?? null, $r = ({
3176
+ const Oc = ({ key: e }) => e ?? null, Mr = ({
3177
3177
  ref: e,
3178
3178
  ref_key: t,
3179
3179
  ref_for: n
@@ -3185,7 +3185,7 @@ function ae(e, t = null, n = null, r = 0, s = null, i = e === Se ? 0 : 1, o = !1
3185
3185
  type: e,
3186
3186
  props: t,
3187
3187
  key: t && Oc(t),
3188
- ref: t && $r(t),
3188
+ ref: t && Mr(t),
3189
3189
  scopeId: sc,
3190
3190
  slotScopeIds: null,
3191
3191
  children: n,
@@ -3220,7 +3220,7 @@ function ae(e, t = null, n = null, r = 0, s = null, i = e === Se ? 0 : 1, o = !1
3220
3220
  }
3221
3221
  const ve = Pd;
3222
3222
  function Pd(e, t = null, n = null, r = 0, s = null, i = !1) {
3223
- if ((!e || e === Qf) && (e = ln), Zr(e)) {
3223
+ if ((!e || e === Qf) && (e = ln), Yr(e)) {
3224
3224
  const a = Ln(
3225
3225
  e,
3226
3226
  t,
@@ -3232,7 +3232,7 @@ function Pd(e, t = null, n = null, r = 0, s = null, i = !1) {
3232
3232
  if (zd(e) && (e = e.__vccOpts), t) {
3233
3233
  t = Rd(t);
3234
3234
  let { class: a, style: l } = t;
3235
- a && !ke(a) && (t.class = sr(a)), _e(l) && (ji(l) && !z(l) && (l = Oe({}, l)), t.style = us(l));
3235
+ a && !ke(a) && (t.class = sr(a)), _e(l) && (ji(l) && !z(l) && (l = Oe({}, l)), t.style = fs(l));
3236
3236
  }
3237
3237
  const o = ke(e) ? 1 : Sc(e) ? 128 : Uf(e) ? 64 : _e(e) ? 4 : V(e) ? 2 : 0;
3238
3238
  return ae(
@@ -3260,7 +3260,7 @@ function Ln(e, t, n = !1, r = !1) {
3260
3260
  // #2078 in the case of <component :is="vnode" ref="extra"/>
3261
3261
  // if the vnode itself already has a ref, cloneVNode will need to merge
3262
3262
  // the refs so the single vnode can be set on multiple refs
3263
- n && i ? z(i) ? i.concat($r(t)) : [i, $r(t)] : $r(t)
3263
+ n && i ? z(i) ? i.concat(Mr(t)) : [i, Mr(t)] : Mr(t)
3264
3264
  ) : i,
3265
3265
  scopeId: e.scopeId,
3266
3266
  slotScopeIds: e.slotScopeIds,
@@ -3299,7 +3299,7 @@ function Ln(e, t, n = !1, r = !1) {
3299
3299
  ), c;
3300
3300
  }
3301
3301
  function on(e = " ", t = 0) {
3302
- return ve(yr, null, e, t);
3302
+ return ve(vr, null, e, t);
3303
3303
  }
3304
3304
  function Ne(e = "", t = !1) {
3305
3305
  return t ? (K(), jt(ln, null, e)) : ve(ln, null, e);
@@ -3310,7 +3310,7 @@ function ct(e) {
3310
3310
  null,
3311
3311
  // #3666, avoid reference pollution when reusing vnode
3312
3312
  e.slice()
3313
- ) : Zr(e) ? Ft(e) : ve(yr, null, String(e));
3313
+ ) : Yr(e) ? Ft(e) : ve(vr, null, String(e));
3314
3314
  }
3315
3315
  function Ft(e) {
3316
3316
  return e.el === null && e.patchFlag !== -1 || e.memo ? e : Ln(e);
@@ -3343,8 +3343,8 @@ function Nd(...e) {
3343
3343
  if (s === "class")
3344
3344
  t.class !== r.class && (t.class = sr([t.class, r.class]));
3345
3345
  else if (s === "style")
3346
- t.style = us([t.style, r.style]);
3347
- else if (is(s)) {
3346
+ t.style = fs([t.style, r.style]);
3347
+ else if (os(s)) {
3348
3348
  const i = t[s], o = r[s];
3349
3349
  o && i !== o && !(z(i) && i.includes(o)) && (t[s] = i ? [].concat(i, o) : o);
3350
3350
  } else s !== "" && (t[s] = r[s]);
@@ -3440,15 +3440,15 @@ function Dd(e, t, n) {
3440
3440
  }
3441
3441
  let xe = null;
3442
3442
  const cr = () => xe || je;
3443
- let Yr, oi;
3443
+ let Xr, oi;
3444
3444
  {
3445
- const e = cs(), t = (n, r) => {
3445
+ const e = us(), t = (n, r) => {
3446
3446
  let s;
3447
3447
  return (s = e[n]) || (s = e[n] = []), s.push(r), (i) => {
3448
3448
  s.length > 1 ? s.forEach((o) => o(i)) : s[0](i);
3449
3449
  };
3450
3450
  };
3451
- Yr = t(
3451
+ Xr = t(
3452
3452
  "__VUE_INSTANCE_SETTERS__",
3453
3453
  (n) => xe = n
3454
3454
  ), oi = t(
@@ -3456,13 +3456,13 @@ let Yr, oi;
3456
3456
  (n) => ur = n
3457
3457
  );
3458
3458
  }
3459
- const vr = (e) => {
3459
+ const wr = (e) => {
3460
3460
  const t = xe;
3461
- return Yr(e), e.scope.on(), () => {
3462
- e.scope.off(), Yr(t);
3461
+ return Xr(e), e.scope.on(), () => {
3462
+ e.scope.off(), Xr(t);
3463
3463
  };
3464
3464
  }, Ho = () => {
3465
- xe && xe.scope.off(), Yr(null);
3465
+ xe && xe.scope.off(), Xr(null);
3466
3466
  };
3467
3467
  function Cc(e) {
3468
3468
  return e.vnode.shapeFlag & 4;
@@ -3481,7 +3481,7 @@ function jd(e, t) {
3481
3481
  const { setup: r } = n;
3482
3482
  if (r) {
3483
3483
  Kt();
3484
- const s = e.setupContext = r.length > 1 ? Wd(e) : null, i = vr(e), o = br(
3484
+ const s = e.setupContext = r.length > 1 ? Wd(e) : null, i = wr(e), o = br(
3485
3485
  r,
3486
3486
  e,
3487
3487
  0,
@@ -3495,7 +3495,7 @@ function jd(e, t) {
3495
3495
  return o.then((l) => {
3496
3496
  zo(e, l, t);
3497
3497
  }).catch((l) => {
3498
- hs(l, e, 0);
3498
+ ps(l, e, 0);
3499
3499
  });
3500
3500
  e.asyncDep = o;
3501
3501
  } else
@@ -3529,7 +3529,7 @@ function Ac(e, t, n) {
3529
3529
  e.render = r.render || dt;
3530
3530
  }
3531
3531
  {
3532
- const s = vr(e);
3532
+ const s = wr(e);
3533
3533
  Kt();
3534
3534
  try {
3535
3535
  nd(e);
@@ -3576,7 +3576,7 @@ function zd(e) {
3576
3576
  const rt = (e, t) => Lf(e, t, ur);
3577
3577
  function fr(e, t, n) {
3578
3578
  const r = arguments.length;
3579
- return r === 2 ? _e(t) && !z(t) ? Zr(t) ? ve(e, null, [t]) : ve(e, t) : ve(e, null, t) : (r > 3 ? n = Array.prototype.slice.call(arguments, 2) : r === 3 && Zr(n) && (n = [n]), ve(e, t, n));
3579
+ return r === 2 ? _e(t) && !z(t) ? Yr(t) ? ve(e, null, [t]) : ve(e, t) : ve(e, null, t) : (r > 3 ? n = Array.prototype.slice.call(arguments, 2) : r === 3 && Yr(n) && (n = [n]), ve(e, t, n));
3580
3580
  }
3581
3581
  const Kd = "3.5.12";
3582
3582
  /**
@@ -3662,13 +3662,13 @@ function Qd(e, t, n) {
3662
3662
  if (ke(t))
3663
3663
  for (const o of t.split(";")) {
3664
3664
  const a = o.slice(0, o.indexOf(":")).trim();
3665
- n[a] == null && Mr(r, a, "");
3665
+ n[a] == null && Dr(r, a, "");
3666
3666
  }
3667
3667
  else
3668
3668
  for (const o in t)
3669
- n[o] == null && Mr(r, o, "");
3669
+ n[o] == null && Dr(r, o, "");
3670
3670
  for (const o in n)
3671
- o === "display" && (i = !0), Mr(r, o, n[o]);
3671
+ o === "display" && (i = !0), Dr(r, o, n[o]);
3672
3672
  } else if (s) {
3673
3673
  if (t !== n) {
3674
3674
  const o = r[Jd];
@@ -3678,9 +3678,9 @@ function Qd(e, t, n) {
3678
3678
  Go in e && (e[Go] = i ? r.display : "", e[Xd] && (r.display = "none"));
3679
3679
  }
3680
3680
  const Zo = /\s*!important$/;
3681
- function Mr(e, t, n) {
3681
+ function Dr(e, t, n) {
3682
3682
  if (z(n))
3683
- n.forEach((r) => Mr(e, t, r));
3683
+ n.forEach((r) => Dr(e, t, r));
3684
3684
  else if (n == null && (n = ""), t.startsWith("--"))
3685
3685
  e.setProperty(t, n);
3686
3686
  else {
@@ -3700,7 +3700,7 @@ function eh(e, t) {
3700
3700
  let r = tt(t);
3701
3701
  if (r !== "filter" && r in e)
3702
3702
  return Ms[t] = r;
3703
- r = ls(r);
3703
+ r = cs(r);
3704
3704
  for (let s = 0; s < Yo.length; s++) {
3705
3705
  const i = Yo[s] + r;
3706
3706
  if (i in e)
@@ -3806,7 +3806,7 @@ function ah(e, t) {
3806
3806
  const ta = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter
3807
3807
  e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, lh = (e, t, n, r, s, i) => {
3808
3808
  const o = s === "svg";
3809
- t === "class" ? Yd(e, r, o) : t === "style" ? Qd(e, n, r) : is(t) ? Ci(t) || nh(e, t, n, r, i) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : ch(e, t, r, o)) ? (qo(e, t, r), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && Jo(e, t, r, o, i, t !== "value")) : /* #11081 force set props for possible async custom element */ e._isVueCE && (/[A-Z]/.test(t) || !ke(r)) ? qo(e, tt(t), r, i, t) : (t === "true-value" ? e._trueValue = r : t === "false-value" && (e._falseValue = r), Jo(e, t, r, o));
3809
+ t === "class" ? Yd(e, r, o) : t === "style" ? Qd(e, n, r) : os(t) ? Ci(t) || nh(e, t, n, r, i) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : ch(e, t, r, o)) ? (qo(e, t, r), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && Jo(e, t, r, o, i, t !== "value")) : /* #11081 force set props for possible async custom element */ e._isVueCE && (/[A-Z]/.test(t) || !ke(r)) ? qo(e, tt(t), r, i, t) : (t === "true-value" ? e._trueValue = r : t === "false-value" && (e._falseValue = r), Jo(e, t, r, o));
3810
3810
  };
3811
3811
  function ch(e, t, n, r) {
3812
3812
  if (r)
@@ -3822,7 +3822,7 @@ function ch(e, t, n, r) {
3822
3822
  }
3823
3823
  const na = (e) => {
3824
3824
  const t = e.props["onUpdate:modelValue"] || !1;
3825
- return z(t) ? (n) => Nr(t, n) : t;
3825
+ return z(t) ? (n) => $r(t, n) : t;
3826
3826
  };
3827
3827
  function uh(e) {
3828
3828
  e.target.composing = !0;
@@ -4088,7 +4088,7 @@ function $c(e, t, n = {}, r, s, i) {
4088
4088
  return G;
4089
4089
  },
4090
4090
  $dispose: v
4091
- }, C = ds(_);
4091
+ }, C = hs(_);
4092
4092
  r._s.set(e, C);
4093
4093
  const L = (r._a && r._a.runWithContext || Th)(() => r._e.run(() => (o = Pi()).run(() => t({ action: E }))));
4094
4094
  for (const D in L) {
@@ -4481,10 +4481,10 @@ class ys extends Le {
4481
4481
  function la(e, t = []) {
4482
4482
  return e && !t.includes(e) ? e : "";
4483
4483
  }
4484
- const Dr = () => window.crypto, Us = () => {
4484
+ const Fr = () => window.crypto, Us = () => {
4485
4485
  const e = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_~.";
4486
4486
  let t = "";
4487
- return Array.from(Dr().getRandomValues(new Uint8Array(43))).forEach((n) => t += e[n % e.length]), t;
4487
+ return Array.from(Fr().getRandomValues(new Uint8Array(43))).forEach((n) => t += e[n % e.length]), t;
4488
4488
  }, ca = (e) => btoa(e), ui = (e) => {
4489
4489
  var { clientId: t } = e, n = ut(e, ["clientId"]);
4490
4490
  return new URLSearchParams(((r) => Object.keys(r).filter((s) => r[s] !== void 0).reduce((s, i) => Object.assign(Object.assign({}, s), { [i]: r[i] }), {}))(Object.assign({ client_id: t }, n))).toString();
@@ -4530,7 +4530,7 @@ async function Ph(e, t) {
4530
4530
  return $;
4531
4531
  }(`${n}/oauth/token`, r, s || "default", i, { method: "POST", body: u, headers: { "Content-Type": a ? "application/x-www-form-urlencoded" : "application/json", "Auth0-Client": btoa(JSON.stringify(o || Fc)) } }, t, a);
4532
4532
  }
4533
- const Cr = (...e) => {
4533
+ const Ar = (...e) => {
4534
4534
  return (t = e.filter(Boolean).join(" ").trim().split(/\s+/), Array.from(new Set(t))).join(" ");
4535
4535
  var t;
4536
4536
  };
@@ -4777,8 +4777,8 @@ class zh {
4777
4777
  if (this.userCache = new Uc().enclosedCache, this.defaultOptions = { authorizationParams: { scope: "openid profile email" }, useRefreshTokensFallback: !1, useFormData: !0 }, this._releaseLockOnPageHide = async () => {
4778
4778
  await zs.releaseLock("auth0.lock.getTokenSilently"), window.removeEventListener("pagehide", this._releaseLockOnPageHide);
4779
4779
  }, this.options = Object.assign(Object.assign(Object.assign({}, this.defaultOptions), t), { authorizationParams: Object.assign(Object.assign({}, this.defaultOptions.authorizationParams), t.authorizationParams) }), typeof window < "u" && (() => {
4780
- if (!Dr()) throw new Error("For security reasons, `window.crypto` is required to run `auth0-spa-js`.");
4781
- if (Dr().subtle === void 0) throw new Error(`
4780
+ if (!Fr()) throw new Error("For security reasons, `window.crypto` is required to run `auth0-spa-js`.");
4781
+ if (Fr().subtle === void 0) throw new Error(`
4782
4782
  auth0-spa-js must run on a secure origin. See https://github.com/auth0/auth0-spa-js/blob/main/FAQ.md#why-do-i-get-auth0-spa-js-must-run-on-a-secure-origin for more information.
4783
4783
  `);
4784
4784
  })(), t.cache && t.cacheLocation && console.warn("Both `cache` and `cacheLocation` options have been specified in the Auth0Client configuration; ignoring `cacheLocation` and using `cache`."), t.cache) r = t.cache;
@@ -4789,7 +4789,7 @@ class zh {
4789
4789
  this.httpTimeoutMs = t.httpTimeoutInSeconds ? 1e3 * t.httpTimeoutInSeconds : 1e4, this.cookieStorage = t.legacySameSiteCookie === !1 ? Sn : Fh, this.orgHintCookieName = `auth0.${this.options.clientId}.organization_hint`, this.isAuthenticatedCookieName = ((o) => `auth0.${this.options.clientId}.is.authenticated`)(), this.sessionCheckExpiryDays = t.sessionCheckExpiryDays || 1;
4790
4790
  const s = t.useCookiesForTransactions ? this.cookieStorage : jh;
4791
4791
  var i;
4792
- this.scope = Cr("openid", this.options.authorizationParams.scope, this.options.useRefreshTokens ? "offline_access" : ""), this.transactionManager = new $h(s, this.options.clientId, this.options.cookieDomain), this.nowProvider = this.options.nowProvider || jc, this.cacheManager = new Nh(r, r.allKeys ? void 0 : new Wh(r, this.options.clientId), this.nowProvider), this.domainUrl = (i = this.options.domain, /^https?:\/\//.test(i) ? i : `https://${i}`), this.tokenIssuer = ((o, a) => o ? o.startsWith("https://") ? o : `https://${o}/` : `${a}/`)(this.options.issuer, this.domainUrl), typeof window < "u" && window.Worker && this.options.useRefreshTokens && n === "memory" && (this.options.workerUrl ? this.worker = new Worker(this.options.workerUrl) : this.worker = new Uh());
4792
+ this.scope = Ar("openid", this.options.authorizationParams.scope, this.options.useRefreshTokens ? "offline_access" : ""), this.transactionManager = new $h(s, this.options.clientId, this.options.cookieDomain), this.nowProvider = this.options.nowProvider || jc, this.cacheManager = new Nh(r, r.allKeys ? void 0 : new Wh(r, this.options.clientId), this.nowProvider), this.domainUrl = (i = this.options.domain, /^https?:\/\//.test(i) ? i : `https://${i}`), this.tokenIssuer = ((o, a) => o ? o.startsWith("https://") ? o : `https://${o}/` : `${a}/`)(this.options.issuer, this.domainUrl), typeof window < "u" && window.Worker && this.options.useRefreshTokens && n === "memory" && (this.options.workerUrl ? this.worker = new Worker(this.options.workerUrl) : this.worker = new Uh());
4793
4793
  }
4794
4794
  _url(t) {
4795
4795
  const n = encodeURIComponent(btoa(JSON.stringify(this.options.auth0Client || Fc)));
@@ -4865,7 +4865,7 @@ class zh {
4865
4865
  const m = { "+": "-", "/": "_", "=": "" };
4866
4866
  return d.replace(/[+/=]/g, (y) => m[y]);
4867
4867
  })(window.btoa(String.fromCharCode(...Array.from(f))));
4868
- })(await (async (c) => await Dr().subtle.digest({ name: "SHA-256" }, new TextEncoder().encode(c)))(o)), l = ((c, f, d, m, y, T, S, g) => Object.assign(Object.assign(Object.assign({ client_id: c.clientId }, c.authorizationParams), d), { scope: Cr(f, d.scope), response_type: "code", response_mode: g || "query", state: m, nonce: y, redirect_uri: S || c.authorizationParams.redirect_uri, code_challenge: T, code_challenge_method: "S256" }))(this.options, this.scope, t, s, i, a, t.redirect_uri || this.options.authorizationParams.redirect_uri || r, n?.response_mode), u = this._authorizeUrl(l);
4868
+ })(await (async (c) => await Fr().subtle.digest({ name: "SHA-256" }, new TextEncoder().encode(c)))(o)), l = ((c, f, d, m, y, T, S, g) => Object.assign(Object.assign(Object.assign({ client_id: c.clientId }, c.authorizationParams), d), { scope: Ar(f, d.scope), response_type: "code", response_mode: g || "query", state: m, nonce: y, redirect_uri: S || c.authorizationParams.redirect_uri, code_challenge: T, code_challenge_method: "S256" }))(this.options, this.scope, t, s, i, a, t.redirect_uri || this.options.authorizationParams.redirect_uri || r, n?.response_mode), u = this._authorizeUrl(l);
4869
4869
  return { nonce: i, code_verifier: o, scope: l.scope, audience: l.audience || "default", redirect_uri: l.redirect_uri, state: s, url: u };
4870
4870
  }
4871
4871
  async loginWithPopup(t, n) {
@@ -4937,7 +4937,7 @@ class zh {
4937
4937
  }
4938
4938
  async getTokenSilently(t = {}) {
4939
4939
  var n;
4940
- const r = Object.assign(Object.assign({ cacheMode: "on" }, t), { authorizationParams: Object.assign(Object.assign(Object.assign({}, this.options.authorizationParams), t.authorizationParams), { scope: Cr(this.scope, (n = t.authorizationParams) === null || n === void 0 ? void 0 : n.scope) }) }), s = await ((i, o) => {
4940
+ const r = Object.assign(Object.assign({ cacheMode: "on" }, t), { authorizationParams: Object.assign(Object.assign(Object.assign({}, this.options.authorizationParams), t.authorizationParams), { scope: Ar(this.scope, (n = t.authorizationParams) === null || n === void 0 ? void 0 : n.scope) }) }), s = await ((i, o) => {
4941
4941
  let a = Hs[o];
4942
4942
  return a || (a = i().finally(() => {
4943
4943
  delete Hs[o], a = null;
@@ -4970,7 +4970,7 @@ class zh {
4970
4970
  }
4971
4971
  async getTokenWithPopup(t = {}, n = {}) {
4972
4972
  var r;
4973
- const s = Object.assign(Object.assign({}, t), { authorizationParams: Object.assign(Object.assign(Object.assign({}, this.options.authorizationParams), t.authorizationParams), { scope: Cr(this.scope, (r = t.authorizationParams) === null || r === void 0 ? void 0 : r.scope) }) });
4973
+ const s = Object.assign(Object.assign({}, t), { authorizationParams: Object.assign(Object.assign(Object.assign({}, this.options.authorizationParams), t.authorizationParams), { scope: Ar(this.scope, (r = t.authorizationParams) === null || r === void 0 ? void 0 : r.scope) }) });
4974
4974
  return n = Object.assign(Object.assign({}, Ch), n), await this.loginWithPopup(s, n), (await this.cacheManager.get(new ft({ scope: s.authorizationParams.scope, audience: s.authorizationParams.audience || "default", clientId: this.options.clientId }))).access_token;
4975
4975
  }
4976
4976
  async isAuthenticated() {
@@ -5125,14 +5125,14 @@ function Gh() {
5125
5125
  * (c) 2024 kazuya kawaguchi
5126
5126
  * Released under the MIT License.
5127
5127
  */
5128
- const Xr = typeof window < "u", Bt = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Zh = (e, t, n) => Yh({ l: e, k: t, s: n }), Yh = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), Te = (e) => typeof e == "number" && isFinite(e), Xh = (e) => Qi(e) === "[object Date]", Pn = (e) => Qi(e) === "[object RegExp]", vs = (e) => Z(e) && Object.keys(e).length === 0, Ie = Object.assign;
5128
+ const Jr = typeof window < "u", Bt = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Zh = (e, t, n) => Yh({ l: e, k: t, s: n }), Yh = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), Te = (e) => typeof e == "number" && isFinite(e), Xh = (e) => Qi(e) === "[object Date]", Pn = (e) => Qi(e) === "[object RegExp]", vs = (e) => Z(e) && Object.keys(e).length === 0, Ie = Object.assign;
5129
5129
  let ha;
5130
5130
  const nn = () => ha || (ha = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
5131
5131
  function pa(e) {
5132
5132
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
5133
5133
  }
5134
5134
  const Jh = Object.prototype.hasOwnProperty;
5135
- function Jr(e, t) {
5135
+ function qr(e, t) {
5136
5136
  return Jh.call(e, t);
5137
5137
  }
5138
5138
  const be = Array.isArray, me = (e) => typeof e == "function", j = (e) => typeof e == "string", ne = (e) => typeof e == "boolean", re = (e) => e !== null && typeof e == "object", qh = (e) => re(e) && me(e.then) && me(e.catch), Kc = Object.prototype.toString, Qi = (e) => Kc.call(e), Z = (e) => Qi(e) === "[object Object]", Qh = (e) => e == null ? "" : be(e) || Z(e) && e.toString === Kc ? JSON.stringify(e, null, 2) : String(e);
@@ -5142,15 +5142,15 @@ function eo(e, t = "") {
5142
5142
  function ep(e, t) {
5143
5143
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
5144
5144
  }
5145
- const Ar = (e) => !re(e) || be(e);
5146
- function Fr(e, t) {
5147
- if (Ar(e) || Ar(t))
5145
+ const Lr = (e) => !re(e) || be(e);
5146
+ function jr(e, t) {
5147
+ if (Lr(e) || Lr(t))
5148
5148
  throw new Error("Invalid value");
5149
5149
  const n = [{ src: e, des: t }];
5150
5150
  for (; n.length; ) {
5151
5151
  const { src: r, des: s } = n.pop();
5152
5152
  Object.keys(r).forEach((i) => {
5153
- re(r[i]) && !re(s[i]) && (s[i] = Array.isArray(r[i]) ? [] : {}), Ar(s[i]) || Ar(r[i]) ? s[i] = r[i] : n.push({ src: r[i], des: s[i] });
5153
+ re(r[i]) && !re(s[i]) && (s[i] = Array.isArray(r[i]) ? [] : {}), Lr(s[i]) || Lr(r[i]) ? s[i] = r[i] : n.push({ src: r[i], des: s[i] });
5154
5154
  });
5155
5155
  }
5156
5156
  }
@@ -5445,13 +5445,13 @@ function up(e, t = {}) {
5445
5445
  let p = "";
5446
5446
  return h.currentChar() === "-" ? (h.next(), p += `-${Ye(h)}`) : p += Ye(h), h.currentChar() === $t && f(oe.UNTERMINATED_CLOSING_BRACE, i(), 0), p;
5447
5447
  }
5448
- function Er(h) {
5448
+ function Sr(h) {
5449
5449
  return h !== ma && h !== Me;
5450
5450
  }
5451
5451
  function vt(h) {
5452
5452
  S(h), y(h, "'");
5453
5453
  let p = "", I = "";
5454
- for (; p = J(h, Er); )
5454
+ for (; p = J(h, Sr); )
5455
5455
  p === "\\" ? I += Rt(h) : I += p;
5456
5456
  const O = h.currentChar();
5457
5457
  return O === Me || O === $t ? (f(oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), O === Me && (h.next(), y(h, "'")), I) : (y(h, "'"), I);
@@ -6124,7 +6124,7 @@ function di(e, t) {
6124
6124
  }
6125
6125
  }
6126
6126
  const xp = (e) => e;
6127
- let Lr = /* @__PURE__ */ Object.create(null);
6127
+ let Pr = /* @__PURE__ */ Object.create(null);
6128
6128
  const Nn = (e) => re(e) && (e.t === 0 || e.type === 0) && ("b" in e || "body" in e);
6129
6129
  function Op(e, t = {}) {
6130
6130
  let n = !1;
@@ -6137,7 +6137,7 @@ function Op(e, t = {}) {
6137
6137
  function Cp(e, t) {
6138
6138
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && j(e)) {
6139
6139
  ne(t.warnHtmlMessage) && t.warnHtmlMessage;
6140
- const r = (t.onCacheKey || xp)(e), s = Lr[r];
6140
+ const r = (t.onCacheKey || xp)(e), s = Pr[r];
6141
6141
  if (s)
6142
6142
  return s;
6143
6143
  const { ast: i, detectError: o } = Op(e, {
@@ -6145,12 +6145,12 @@ function Cp(e, t) {
6145
6145
  location: !1,
6146
6146
  jit: !0
6147
6147
  }), a = Ks(i);
6148
- return o ? a : Lr[r] = a;
6148
+ return o ? a : Pr[r] = a;
6149
6149
  } else {
6150
6150
  const n = e.cacheKey;
6151
6151
  if (n) {
6152
- const r = Lr[n];
6153
- return r || (Lr[n] = Ks(e));
6152
+ const r = Pr[n];
6153
+ return r || (Pr[n] = Ks(e));
6154
6154
  } else
6155
6155
  return Ks(e);
6156
6156
  }
@@ -6942,7 +6942,7 @@ function mr(e) {
6942
6942
  if (!re(e))
6943
6943
  return e;
6944
6944
  for (const t in e)
6945
- if (Jr(e, t))
6945
+ if (qr(e, t))
6946
6946
  if (!t.includes("."))
6947
6947
  re(e[t]) && mr(e[t]);
6948
6948
  else {
@@ -6964,12 +6964,12 @@ function so(e, t) {
6964
6964
  if (be(r) && r.forEach((a) => {
6965
6965
  if ("locale" in a && "resource" in a) {
6966
6966
  const { locale: l, resource: u } = a;
6967
- l ? (o[l] = o[l] || {}, Fr(u, o[l])) : Fr(u, o);
6967
+ l ? (o[l] = o[l] || {}, jr(u, o[l])) : jr(u, o);
6968
6968
  } else
6969
- j(a) && Fr(JSON.parse(a), o);
6969
+ j(a) && jr(JSON.parse(a), o);
6970
6970
  }), s == null && i)
6971
6971
  for (const a in o)
6972
- Jr(o, a) && mr(o[a]);
6972
+ qr(o, a) && mr(o[a]);
6973
6973
  return o;
6974
6974
  }
6975
6975
  function ru(e) {
@@ -7001,7 +7001,7 @@ function su(e, t, n) {
7001
7001
  }
7002
7002
  }
7003
7003
  function Ra(e) {
7004
- return ve(yr, null, e, 0);
7004
+ return ve(vr, null, e, 0);
7005
7005
  }
7006
7006
  const Na = "__INTLIFY_META__", $a = () => [], _m = () => !1;
7007
7007
  let Ma = 0;
@@ -7014,7 +7014,7 @@ const bm = /* @__NO_SIDE_EFFECTS__ */ () => {
7014
7014
  return e && (t = ru(e)[Na]) ? { [Na]: t } : null;
7015
7015
  };
7016
7016
  function io(e = {}) {
7017
- const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, i = Xr ? te : If;
7017
+ const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, i = Jr ? te : If;
7018
7018
  let o = ne(e.inheritLocale) ? e.inheritLocale : !0;
7019
7019
  const a = i(
7020
7020
  // prettier-ignore
@@ -7176,7 +7176,7 @@ function io(e = {}) {
7176
7176
  if (s) {
7177
7177
  const F = { [k]: x };
7178
7178
  for (const W in F)
7179
- Jr(F, W) && mr(F[W]);
7179
+ qr(F, W) && mr(F[W]);
7180
7180
  x = F[k];
7181
7181
  }
7182
7182
  u.value[k] = x, L.messages = u.value;
@@ -7186,8 +7186,8 @@ function io(e = {}) {
7186
7186
  const F = { [k]: x };
7187
7187
  if (s)
7188
7188
  for (const W in F)
7189
- Jr(F, W) && mr(F[W]);
7190
- x = F[k], Fr(x, u.value[k]), L.messages = u.value;
7189
+ qr(F, W) && mr(F[W]);
7190
+ x = F[k], jr(x, u.value[k]), L.messages = u.value;
7191
7191
  }
7192
7192
  function R(k) {
7193
7193
  return c.value[k] || {};
@@ -7207,7 +7207,7 @@ function io(e = {}) {
7207
7207
  function P(k, x) {
7208
7208
  f.value[k] = Ie(f.value[k] || {}, x), L.numberFormats = f.value, Ca(L, k, x);
7209
7209
  }
7210
- Ma++, t && Xr && (ht(t.locale, (k) => {
7210
+ Ma++, t && Jr && (ht(t.locale, (k) => {
7211
7211
  o && (a.value = k, L.locale = k, zn(L, a.value, l.value));
7212
7212
  }), ht(t.fallbackLocale, (k) => {
7213
7213
  o && (l.value = k, L.fallbackLocale = k, zn(L, a.value, l.value));
@@ -7696,12 +7696,12 @@ function xm(e) {
7696
7696
  return {
7697
7697
  created: (o, a) => {
7698
7698
  const [l, u] = t(a);
7699
- Xr && e.global === u && (o.__i18nWatcher = ht(u.locale, () => {
7699
+ Jr && e.global === u && (o.__i18nWatcher = ht(u.locale, () => {
7700
7700
  a.instance && a.instance.$forceUpdate();
7701
7701
  })), o.__composer = u, o.textContent = l;
7702
7702
  },
7703
7703
  unmounted: (o) => {
7704
- Xr && o.__i18nWatcher && (o.__i18nWatcher(), o.__i18nWatcher = void 0, delete o.__i18nWatcher), o.__composer && (o.__composer = void 0, delete o.__composer);
7704
+ Jr && o.__i18nWatcher && (o.__i18nWatcher(), o.__i18nWatcher = void 0, delete o.__i18nWatcher), o.__composer && (o.__composer = void 0, delete o.__composer);
7705
7705
  },
7706
7706
  beforeUpdate: (o, { value: a }) => {
7707
7707
  if (o.__composer) {
@@ -7844,7 +7844,7 @@ function Mm(e, t = !1) {
7844
7844
  return e == null ? null : t && e.vnode.ctx || e.parent;
7845
7845
  }
7846
7846
  function Dm(e, t, n) {
7847
- ms(() => {
7847
+ yr(() => {
7848
7848
  }, t), zi(() => {
7849
7849
  const r = n;
7850
7850
  e.__deleteInstance(t);
@@ -7976,13 +7976,13 @@ var sg = "[object Null]", ig = "[object Undefined]", Va = mt ? mt.toStringTag :
7976
7976
  function fn(e) {
7977
7977
  return e == null ? e === void 0 ? ig : sg : Va && Va in Object(e) ? eg(e) : rg(e);
7978
7978
  }
7979
- function wr(e) {
7979
+ function kr(e) {
7980
7980
  var t = typeof e;
7981
7981
  return e != null && (t == "object" || t == "function");
7982
7982
  }
7983
7983
  var og = "[object AsyncFunction]", ag = "[object Function]", lg = "[object GeneratorFunction]", cg = "[object Proxy]";
7984
7984
  function fu(e) {
7985
- if (!wr(e))
7985
+ if (!kr(e))
7986
7986
  return !1;
7987
7987
  var t = fn(e);
7988
7988
  return t == ag || t == lg || t == og || t == cg;
@@ -8012,7 +8012,7 @@ var hg = /[\\^$.*+?()[\]{}|]/g, pg = /^\[object .+?Constructor\]$/, mg = Functio
8012
8012
  "^" + _g.call(bg).replace(hg, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
8013
8013
  );
8014
8014
  function vg(e) {
8015
- if (!wr(e) || ug(e))
8015
+ if (!kr(e) || ug(e))
8016
8016
  return !1;
8017
8017
  var t = fu(e) ? yg : pg;
8018
8018
  return t.test(dn(e));
@@ -8129,7 +8129,7 @@ function Wg(e, t) {
8129
8129
  ;
8130
8130
  return e;
8131
8131
  }
8132
- var qr = function() {
8132
+ var Qr = function() {
8133
8133
  try {
8134
8134
  var e = hn(Object, "defineProperty");
8135
8135
  return e({}, "", {}), e;
@@ -8137,7 +8137,7 @@ var qr = function() {
8137
8137
  }
8138
8138
  }();
8139
8139
  function du(e, t, n) {
8140
- t == "__proto__" && qr ? qr(e, t, {
8140
+ t == "__proto__" && Qr ? Qr(e, t, {
8141
8141
  configurable: !0,
8142
8142
  enumerable: !0,
8143
8143
  value: n,
@@ -8149,7 +8149,7 @@ function hu(e, t, n) {
8149
8149
  var r = e[t];
8150
8150
  (!(zg.call(e, t) && lu(r, n)) || n === void 0 && !(t in e)) && du(e, t, n);
8151
8151
  }
8152
- function kr(e, t, n, r) {
8152
+ function Tr(e, t, n, r) {
8153
8153
  var s = !n;
8154
8154
  n || (n = {});
8155
8155
  for (var i = -1, o = t.length; ++i < o; ) {
@@ -8241,7 +8241,7 @@ function co(e) {
8241
8241
  return ku(e) ? vu(e) : N_(e);
8242
8242
  }
8243
8243
  function $_(e, t) {
8244
- return e && kr(t, co(t), e);
8244
+ return e && Tr(t, co(t), e);
8245
8245
  }
8246
8246
  function M_(e) {
8247
8247
  var t = [];
@@ -8252,7 +8252,7 @@ function M_(e) {
8252
8252
  }
8253
8253
  var D_ = Object.prototype, F_ = D_.hasOwnProperty;
8254
8254
  function j_(e) {
8255
- if (!wr(e))
8255
+ if (!kr(e))
8256
8256
  return M_(e);
8257
8257
  var t = lo(e), n = [];
8258
8258
  for (var r in e)
@@ -8263,7 +8263,7 @@ function uo(e) {
8263
8263
  return ku(e) ? vu(e, !0) : j_(e);
8264
8264
  }
8265
8265
  function U_(e, t) {
8266
- return e && kr(t, uo(t), e);
8266
+ return e && Tr(t, uo(t), e);
8267
8267
  }
8268
8268
  var Tu = typeof exports == "object" && exports && !exports.nodeType && exports, Ja = Tu && typeof module == "object" && module && !module.nodeType && module, W_ = Ja && Ja.exports === Tu, qa = W_ ? bt.Buffer : void 0, Qa = qa ? qa.allocUnsafe : void 0;
8269
8269
  function H_(e, t) {
@@ -8294,7 +8294,7 @@ var V_ = Object.prototype, B_ = V_.propertyIsEnumerable, el = Object.getOwnPrope
8294
8294
  }));
8295
8295
  } : Iu;
8296
8296
  function G_(e, t) {
8297
- return kr(e, fo(e), t);
8297
+ return Tr(e, fo(e), t);
8298
8298
  }
8299
8299
  function ho(e, t) {
8300
8300
  for (var n = -1, r = t.length, s = e.length; ++n < r; )
@@ -8307,7 +8307,7 @@ var po = wu(Object.getPrototypeOf, Object), Z_ = Object.getOwnPropertySymbols, E
8307
8307
  return t;
8308
8308
  } : Iu;
8309
8309
  function Y_(e, t) {
8310
- return kr(e, Eu(e), t);
8310
+ return Tr(e, Eu(e), t);
8311
8311
  }
8312
8312
  function Su(e, t, n) {
8313
8313
  var r = t(e);
@@ -8402,7 +8402,7 @@ var cl = Object.create, Lb = /* @__PURE__ */ function() {
8402
8402
  function e() {
8403
8403
  }
8404
8404
  return function(t) {
8405
- if (!wr(t))
8405
+ if (!kr(t))
8406
8406
  return {};
8407
8407
  if (cl)
8408
8408
  return cl(t);
@@ -8425,11 +8425,11 @@ function Db(e) {
8425
8425
  var fl = $n && $n.isSet, Fb = fl ? ao(fl) : Db, jb = 1, Ub = 2, Wb = 4, Ou = "[object Arguments]", Hb = "[object Array]", zb = "[object Boolean]", Kb = "[object Date]", Vb = "[object Error]", Cu = "[object Function]", Bb = "[object GeneratorFunction]", Gb = "[object Map]", Zb = "[object Number]", Au = "[object Object]", Yb = "[object RegExp]", Xb = "[object Set]", Jb = "[object String]", qb = "[object Symbol]", Qb = "[object WeakMap]", ey = "[object ArrayBuffer]", ty = "[object DataView]", ny = "[object Float32Array]", ry = "[object Float64Array]", sy = "[object Int8Array]", iy = "[object Int16Array]", oy = "[object Int32Array]", ay = "[object Uint8Array]", ly = "[object Uint8ClampedArray]", cy = "[object Uint16Array]", uy = "[object Uint32Array]", fe = {};
8426
8426
  fe[Ou] = fe[Hb] = fe[ey] = fe[ty] = fe[zb] = fe[Kb] = fe[ny] = fe[ry] = fe[sy] = fe[iy] = fe[oy] = fe[Gb] = fe[Zb] = fe[Au] = fe[Yb] = fe[Xb] = fe[Jb] = fe[qb] = fe[ay] = fe[ly] = fe[cy] = fe[uy] = !0;
8427
8427
  fe[Vb] = fe[Cu] = fe[Qb] = !1;
8428
- function jr(e, t, n, r, s, i) {
8428
+ function Ur(e, t, n, r, s, i) {
8429
8429
  var o, a = t & jb, l = t & Ub, u = t & Wb;
8430
8430
  if (n && (o = s ? n(e, r, s, i) : n(e)), o !== void 0)
8431
8431
  return o;
8432
- if (!wr(e))
8432
+ if (!kr(e))
8433
8433
  return e;
8434
8434
  var c = mn(e);
8435
8435
  if (c) {
@@ -8453,13 +8453,13 @@ function jr(e, t, n, r, s, i) {
8453
8453
  if (m)
8454
8454
  return m;
8455
8455
  i.set(e, o), Fb(e) ? e.forEach(function(S) {
8456
- o.add(jr(S, t, n, S, e, i));
8456
+ o.add(Ur(S, t, n, S, e, i));
8457
8457
  }) : $b(e) && e.forEach(function(S, g) {
8458
- o.set(g, jr(S, t, n, g, e, i));
8458
+ o.set(g, Ur(S, t, n, g, e, i));
8459
8459
  });
8460
8460
  var y = u ? l ? xu : X_ : l ? uo : co, T = c ? void 0 : y(e);
8461
8461
  return Wg(T || e, function(S, g) {
8462
- T && (g = S, S = e[g]), hu(o, g, jr(S, t, n, g, e, i));
8462
+ T && (g = S, S = e[g]), hu(o, g, Ur(S, t, n, g, e, i));
8463
8463
  }), o;
8464
8464
  }
8465
8465
  var fy = "[object Symbol]";
@@ -8607,8 +8607,8 @@ function Wy(e) {
8607
8607
  function Hy(e) {
8608
8608
  return e;
8609
8609
  }
8610
- var zy = qr ? function(e, t) {
8611
- return qr(e, "toString", {
8610
+ var zy = Qr ? function(e, t) {
8611
+ return Qr(e, "toString", {
8612
8612
  configurable: !0,
8613
8613
  enumerable: !1,
8614
8614
  value: Wy(t),
@@ -8638,7 +8638,7 @@ var Xy = 1, Jy = 2, qy = 4, Qy = Yy(function(e, t) {
8638
8638
  var r = !1;
8639
8639
  t = au(t, function(i) {
8640
8640
  return i = bo(i, e), r || (r = i.length > 1), i;
8641
- }), kr(e, xu(e), n), r && (n = jr(n, Xy | Jy | qy, $y));
8641
+ }), Tr(e, xu(e), n), r && (n = Ur(n, Xy | Jy | qy, $y));
8642
8642
  for (var s = t.length; s--; )
8643
8643
  Oy(n, t[s]);
8644
8644
  return n;
@@ -8885,9 +8885,9 @@ function d0() {
8885
8885
  function h0(e, t) {
8886
8886
  return (d0() ? e.metaKey : e.ctrlKey) && e.key === t;
8887
8887
  }
8888
- var Qr = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Approved = 1] = "Approved", e[e.Rejected = 2] = "Rejected", e[e.UnReplied = 255] = "UnReplied", e[e["Replied to Admin"] = 256] = "Replied to Admin", e))(Qr || {});
8888
+ var es = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Approved = 1] = "Approved", e[e.Rejected = 2] = "Rejected", e[e.UnReplied = 255] = "UnReplied", e[e["Replied to Admin"] = 256] = "Replied to Admin", e))(es || {});
8889
8889
  const p0 = /@([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/;
8890
- function es(e) {
8890
+ function ts(e) {
8891
8891
  return e < 10 ? `0${e}` : `${e}`;
8892
8892
  }
8893
8893
  function Nu(e) {
@@ -8895,14 +8895,14 @@ function Nu(e) {
8895
8895
  }
8896
8896
  function _l(e) {
8897
8897
  const t = e.getFullYear(), n = e.getMonth() + 1, r = e.getDate();
8898
- return `${t}-${es(n)}-${es(r)}`;
8898
+ return `${t}-${ts(n)}-${ts(r)}`;
8899
8899
  }
8900
8900
  function bl(e) {
8901
8901
  e instanceof Date || (e = Nu(e));
8902
8902
  const t = /* @__PURE__ */ new Date(), n = _l(e);
8903
8903
  if (_l(t) === n) {
8904
8904
  const r = e.getHours(), s = e.getMinutes();
8905
- return `${es(r)}:${es(s)}`;
8905
+ return `${ts(r)}:${ts(s)}`;
8906
8906
  }
8907
8907
  return n;
8908
8908
  }
@@ -8972,7 +8972,7 @@ const Ei = "awesome-comment-comments", yl = localStorage.getItem(Ei), Tn = yl ?
8972
8972
  }
8973
8973
  c.value = Object.keys(g).length > 20, c.value && delete g[Object.keys(g)[0]], Object.assign(o.value, g), r.value = !0, u.value = !1;
8974
8974
  }
8975
- function m(S, g, v, E = Qr.Pending, _, C) {
8975
+ function m(S, g, v, E = es.Pending, _, C) {
8976
8976
  const {
8977
8977
  sub: $ = "",
8978
8978
  name: L = "",
@@ -9004,7 +9004,7 @@ const Ei = "awesome-comment-comments", yl = localStorage.getItem(Ei), Tn = yl ?
9004
9004
  }
9005
9005
  } else
9006
9006
  Y.ancestorId = 0, Y.parentId = 0, o.value = { [S]: Y, ...o.value };
9007
- a.value++, E !== Qr.Approved && (Tn[e] = Y, localStorage.setItem(Ei, JSON.stringify(Tn)));
9007
+ a.value++, E !== es.Approved && (Tn[e] = Y, localStorage.setItem(Ei, JSON.stringify(Tn)));
9008
9008
  }
9009
9009
  function y(S) {
9010
9010
  Tn[e]?.id === S && (delete Tn[e], localStorage.setItem(Ei, JSON.stringify(Tn)));
@@ -9140,10 +9140,10 @@ var g0 = { exports: {} };
9140
9140
  class _0 extends Error {
9141
9141
  }
9142
9142
  _0.prototype.name = "InvalidTokenError";
9143
- var b0 = typeof global == "object" && global && global.Object === Object && global, y0 = typeof self == "object" && self && self.Object === Object && self, v0 = b0 || y0 || Function("return this")(), ts = v0.Symbol;
9144
- ts && ts.toStringTag;
9145
- ts && ts.toStringTag;
9146
- var Ur = /* @__PURE__ */ ((e) => (e.INIT = "init", e.NOT_SIGNED_IN = "not-signed-in", e.VERIFYING = "verifying", e.VERIFIED = "verified", e.REFRESH = "refresh", e.ERROR = "error", e))(Ur || {});
9143
+ var b0 = typeof global == "object" && global && global.Object === Object && global, y0 = typeof self == "object" && self && self.Object === Object && self, v0 = b0 || y0 || Function("return this")(), ns = v0.Symbol;
9144
+ ns && ns.toStringTag;
9145
+ ns && ns.toStringTag;
9146
+ var Wr = /* @__PURE__ */ ((e) => (e.INIT = "init", e.NOT_SIGNED_IN = "not-signed-in", e.VERIFYING = "verifying", e.VERIFIED = "verified", e.REFRESH = "refresh", e.ERROR = "error", e))(Wr || {});
9147
9147
  const yo = /* @__PURE__ */ Mc("auth", () => {
9148
9148
  const e = Ue("awesomeAuth"), t = !e && Gh(), n = te(!1), r = te(!1), s = te(), i = !!e, o = rt(() => e ? e.root : "");
9149
9149
  async function a() {
@@ -9155,11 +9155,11 @@ const yo = /* @__PURE__ */ Mc("auth", () => {
9155
9155
  function u(c) {
9156
9156
  e ? e.doSignOut() : t && t.logout(c);
9157
9157
  }
9158
- return e ? (e.on(Ur.INIT, (c) => {
9158
+ return e ? (e.on(Wr.INIT, (c) => {
9159
9159
  r.value = c, c && (n.value = !1);
9160
- }), e.on(Ur.VERIFYING, (c) => {
9160
+ }), e.on(Wr.VERIFYING, (c) => {
9161
9161
  r.value = c;
9162
- }), e.on(Ur.VERIFIED, (c) => {
9162
+ }), e.on(Wr.VERIFIED, (c) => {
9163
9163
  n.value = c, s.value = c ? e.user : void 0;
9164
9164
  }), r.value = e.isVerifying, n.value = e.isVerified, s.value = e.user) : t && (ht(t.isLoading, (c) => {
9165
9165
  r.value = c;
@@ -9191,7 +9191,7 @@ const yo = /* @__PURE__ */ Mc("auth", () => {
9191
9191
  class: "ac-loading ac-loading-spinner"
9192
9192
  }, C0 = {
9193
9193
  name: "CommentForm"
9194
- }, Wr = /* @__PURE__ */ gt({
9194
+ }, Hr = /* @__PURE__ */ gt({
9195
9195
  ...C0,
9196
9196
  props: {
9197
9197
  noVersion: { type: Boolean },
@@ -9203,7 +9203,7 @@ const yo = /* @__PURE__ */ Mc("auth", () => {
9203
9203
  },
9204
9204
  emits: ["close", "update"],
9205
9205
  setup(e, { emit: t }) {
9206
- const n = e, r = t, s = yo(), i = Dn(), { t: o } = _t(), a = Ue("ApiBaseUrl"), l = Ue("Auth0Domain"), u = "0.9.6", c = te(), f = te(!1), d = te(n.content || ""), m = te("");
9206
+ const n = e, r = t, s = yo(), i = Dn(), { t: o } = _t(), a = Ue("ApiBaseUrl"), l = Ue("Auth0Domain"), u = "0.9.7", c = te(), f = te(!1), d = te(n.content || ""), m = te("");
9207
9207
  async function y(v) {
9208
9208
  if (!s.user)
9209
9209
  return T();
@@ -9258,7 +9258,7 @@ const yo = /* @__PURE__ */ Mc("auth", () => {
9258
9258
  function g() {
9259
9259
  r("close");
9260
9260
  }
9261
- return ms(() => {
9261
+ return yr(() => {
9262
9262
  c.value?.focus();
9263
9263
  }), (v, E) => (K(), X("form", {
9264
9264
  class: "mb-6",
@@ -9316,7 +9316,7 @@ const A0 = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
9316
9316
  * This source code is licensed under the ISC license.
9317
9317
  * See the LICENSE file in the root directory of this source tree.
9318
9318
  */
9319
- var Pr = {
9319
+ var Rr = {
9320
9320
  xmlns: "http://www.w3.org/2000/svg",
9321
9321
  width: 24,
9322
9322
  height: 24,
@@ -9336,10 +9336,10 @@ var Pr = {
9336
9336
  const L0 = ({ size: e, strokeWidth: t = 2, absoluteStrokeWidth: n, color: r, iconNode: s, name: i, class: o, ...a }, { slots: l }) => fr(
9337
9337
  "svg",
9338
9338
  {
9339
- ...Pr,
9340
- width: e || Pr.width,
9341
- height: e || Pr.height,
9342
- stroke: r || Pr.stroke,
9339
+ ...Rr,
9340
+ width: e || Rr.width,
9341
+ height: e || Rr.height,
9342
+ stroke: r || Rr.stroke,
9343
9343
  "stroke-width": n ? Number(t) * 24 / Number(e) : t,
9344
9344
  class: ["lucide", `lucide-${A0(i ?? "icon")}`],
9345
9345
  ...a
@@ -9639,7 +9639,7 @@ function Y0(e, t) {
9639
9639
  }).join(`
9640
9640
  `);
9641
9641
  }
9642
- class ns {
9642
+ class rs {
9643
9643
  options;
9644
9644
  rules;
9645
9645
  // set by the lexer
@@ -10115,13 +10115,13 @@ ${f}` : f;
10115
10115
  }
10116
10116
  }
10117
10117
  }
10118
- const X0 = /^(?:[ \t]*(?:\n|$))+/, J0 = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, q0 = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Tr = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Q0 = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Fu = /(?:[*+-]|\d{1,9}[.)])/, ju = ce(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Fu).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), wo = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, ev = /^[^\n]+/, ko = /(?!\s*\])(?:\\.|[^\[\]\\])+/, tv = ce(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", ko).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), nv = ce(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Fu).getRegex(), Ss = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", To = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, rv = ce("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", To).replace("tag", Ss).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Uu = ce(wo).replace("hr", Tr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ss).getRegex(), sv = ce(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Uu).getRegex(), Io = {
10118
+ const X0 = /^(?:[ \t]*(?:\n|$))+/, J0 = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, q0 = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Ir = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Q0 = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Fu = /(?:[*+-]|\d{1,9}[.)])/, ju = ce(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Fu).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), wo = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, ev = /^[^\n]+/, ko = /(?!\s*\])(?:\\.|[^\[\]\\])+/, tv = ce(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", ko).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), nv = ce(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Fu).getRegex(), Ss = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", To = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, rv = ce("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", To).replace("tag", Ss).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Uu = ce(wo).replace("hr", Ir).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ss).getRegex(), sv = ce(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Uu).getRegex(), Io = {
10119
10119
  blockquote: sv,
10120
10120
  code: J0,
10121
10121
  def: tv,
10122
10122
  fences: q0,
10123
10123
  heading: Q0,
10124
- hr: Tr,
10124
+ hr: Ir,
10125
10125
  html: rv,
10126
10126
  lheading: ju,
10127
10127
  list: nv,
@@ -10129,10 +10129,10 @@ const X0 = /^(?:[ \t]*(?:\n|$))+/, J0 = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*
10129
10129
  paragraph: Uu,
10130
10130
  table: rr,
10131
10131
  text: ev
10132
- }, Il = ce("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Tr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ss).getRegex(), iv = {
10132
+ }, Il = ce("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Ir).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ss).getRegex(), iv = {
10133
10133
  ...Io,
10134
10134
  table: Il,
10135
- paragraph: ce(wo).replace("hr", Tr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Il).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ss).getRegex()
10135
+ paragraph: ce(wo).replace("hr", Ir).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Il).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ss).getRegex()
10136
10136
  }, ov = {
10137
10137
  ...Io,
10138
10138
  html: ce(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", To).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
@@ -10141,9 +10141,9 @@ const X0 = /^(?:[ \t]*(?:\n|$))+/, J0 = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*
10141
10141
  fences: rr,
10142
10142
  // fences not supported
10143
10143
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
10144
- paragraph: ce(wo).replace("hr", Tr).replace("heading", ` *#{1,6} *[^
10144
+ paragraph: ce(wo).replace("hr", Ir).replace("heading", ` *#{1,6} *[^
10145
10145
  ]`).replace("lheading", ju).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
10146
- }, Wu = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, av = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Hu = /^( {2,}|\\)\n(?!\s*$)/, lv = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Ir = "\\p{P}\\p{S}", cv = ce(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, Ir).getRegex(), uv = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, fv = ce(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, Ir).getRegex(), dv = ce("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, Ir).getRegex(), hv = ce("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, Ir).getRegex(), pv = ce(/\\([punct])/, "gu").replace(/punct/g, Ir).getRegex(), mv = ce(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), gv = ce(To).replace("(?:-->|$)", "-->").getRegex(), _v = ce("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", gv).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), rs = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, bv = ce(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", rs).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), zu = ce(/^!?\[(label)\]\[(ref)\]/).replace("label", rs).replace("ref", ko).getRegex(), Ku = ce(/^!?\[(ref)\](?:\[\])?/).replace("ref", ko).getRegex(), yv = ce("reflink|nolink(?!\\()", "g").replace("reflink", zu).replace("nolink", Ku).getRegex(), Eo = {
10146
+ }, Wu = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, av = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Hu = /^( {2,}|\\)\n(?!\s*$)/, lv = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Er = "\\p{P}\\p{S}", cv = ce(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, Er).getRegex(), uv = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, fv = ce(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, Er).getRegex(), dv = ce("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, Er).getRegex(), hv = ce("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, Er).getRegex(), pv = ce(/\\([punct])/, "gu").replace(/punct/g, Er).getRegex(), mv = ce(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), gv = ce(To).replace("(?:-->|$)", "-->").getRegex(), _v = ce("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", gv).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), ss = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, bv = ce(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", ss).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), zu = ce(/^!?\[(label)\]\[(ref)\]/).replace("label", ss).replace("ref", ko).getRegex(), Ku = ce(/^!?\[(ref)\](?:\[\])?/).replace("ref", ko).getRegex(), yv = ce("reflink|nolink(?!\\()", "g").replace("reflink", zu).replace("nolink", Ku).getRegex(), Eo = {
10147
10147
  _backpedal: rr,
10148
10148
  // only used for GFM url
10149
10149
  anyPunctuation: pv,
@@ -10166,8 +10166,8 @@ const X0 = /^(?:[ \t]*(?:\n|$))+/, J0 = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*
10166
10166
  url: rr
10167
10167
  }, vv = {
10168
10168
  ...Eo,
10169
- link: ce(/^!?\[(label)\]\((.*?)\)/).replace("label", rs).getRegex(),
10170
- reflink: ce(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", rs).getRegex()
10169
+ link: ce(/^!?\[(label)\]\((.*?)\)/).replace("label", ss).getRegex(),
10170
+ reflink: ce(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", ss).getRegex()
10171
10171
  }, Si = {
10172
10172
  ...Eo,
10173
10173
  escape: ce(Wu).replace("])", "~|])").getRegex(),
@@ -10179,7 +10179,7 @@ const X0 = /^(?:[ \t]*(?:\n|$))+/, J0 = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*
10179
10179
  ...Si,
10180
10180
  br: ce(Hu).replace("{2,}", "*").getRegex(),
10181
10181
  text: ce(Si.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
10182
- }, Rr = {
10182
+ }, Nr = {
10183
10183
  normal: Io,
10184
10184
  gfm: iv,
10185
10185
  pedantic: ov
@@ -10196,23 +10196,23 @@ class qe {
10196
10196
  tokenizer;
10197
10197
  inlineQueue;
10198
10198
  constructor(t) {
10199
- this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = t || gn, this.options.tokenizer = this.options.tokenizer || new ns(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
10199
+ this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = t || gn, this.options.tokenizer = this.options.tokenizer || new rs(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
10200
10200
  inLink: !1,
10201
10201
  inRawBlock: !1,
10202
10202
  top: !0
10203
10203
  };
10204
10204
  const n = {
10205
- block: Rr.normal,
10205
+ block: Nr.normal,
10206
10206
  inline: Bn.normal
10207
10207
  };
10208
- this.options.pedantic ? (n.block = Rr.pedantic, n.inline = Bn.pedantic) : this.options.gfm && (n.block = Rr.gfm, this.options.breaks ? n.inline = Bn.breaks : n.inline = Bn.gfm), this.tokenizer.rules = n;
10208
+ this.options.pedantic ? (n.block = Nr.pedantic, n.inline = Bn.pedantic) : this.options.gfm && (n.block = Nr.gfm, this.options.breaks ? n.inline = Bn.breaks : n.inline = Bn.gfm), this.tokenizer.rules = n;
10209
10209
  }
10210
10210
  /**
10211
10211
  * Expose Rules
10212
10212
  */
10213
10213
  static get rules() {
10214
10214
  return {
10215
- block: Rr,
10215
+ block: Nr,
10216
10216
  inline: Bn
10217
10217
  };
10218
10218
  }
@@ -10412,7 +10412,7 @@ class qe {
10412
10412
  return n;
10413
10413
  }
10414
10414
  }
10415
- class ss {
10415
+ class is {
10416
10416
  options;
10417
10417
  parser;
10418
10418
  // set by the parser
@@ -10579,7 +10579,7 @@ class Qe {
10579
10579
  renderer;
10580
10580
  textRenderer;
10581
10581
  constructor(t) {
10582
- this.options = t || gn, this.options.renderer = this.options.renderer || new ss(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new So();
10582
+ this.options = t || gn, this.options.renderer = this.options.renderer || new is(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new So();
10583
10583
  }
10584
10584
  /**
10585
10585
  * Static Parse Method
@@ -10736,7 +10736,7 @@ class Qe {
10736
10736
  return r;
10737
10737
  }
10738
10738
  }
10739
- class Hr {
10739
+ class zr {
10740
10740
  options;
10741
10741
  block;
10742
10742
  constructor(t) {
@@ -10784,11 +10784,11 @@ class kv {
10784
10784
  parse = this.parseMarkdown(!0);
10785
10785
  parseInline = this.parseMarkdown(!1);
10786
10786
  Parser = Qe;
10787
- Renderer = ss;
10787
+ Renderer = is;
10788
10788
  TextRenderer = So;
10789
10789
  Lexer = qe;
10790
- Tokenizer = ns;
10791
- Hooks = Hr;
10790
+ Tokenizer = rs;
10791
+ Hooks = zr;
10792
10792
  constructor(...t) {
10793
10793
  this.use(...t);
10794
10794
  }
@@ -10845,7 +10845,7 @@ class kv {
10845
10845
  }
10846
10846
  "childTokens" in i && i.childTokens && (n.childTokens[i.name] = i.childTokens);
10847
10847
  }), s.extensions = n), r.renderer) {
10848
- const i = this.defaults.renderer || new ss(this.defaults);
10848
+ const i = this.defaults.renderer || new is(this.defaults);
10849
10849
  for (const o in r.renderer) {
10850
10850
  if (!(o in i))
10851
10851
  throw new Error(`renderer '${o}' does not exist`);
@@ -10860,7 +10860,7 @@ class kv {
10860
10860
  s.renderer = i;
10861
10861
  }
10862
10862
  if (r.tokenizer) {
10863
- const i = this.defaults.tokenizer || new ns(this.defaults);
10863
+ const i = this.defaults.tokenizer || new rs(this.defaults);
10864
10864
  for (const o in r.tokenizer) {
10865
10865
  if (!(o in i))
10866
10866
  throw new Error(`tokenizer '${o}' does not exist`);
@@ -10875,14 +10875,14 @@ class kv {
10875
10875
  s.tokenizer = i;
10876
10876
  }
10877
10877
  if (r.hooks) {
10878
- const i = this.defaults.hooks || new Hr();
10878
+ const i = this.defaults.hooks || new zr();
10879
10879
  for (const o in r.hooks) {
10880
10880
  if (!(o in i))
10881
10881
  throw new Error(`hook '${o}' does not exist`);
10882
10882
  if (["options", "block"].includes(o))
10883
10883
  continue;
10884
10884
  const a = o, l = r.hooks[a], u = i[a];
10885
- Hr.passThroughHooks.has(o) ? i[a] = (c) => {
10885
+ zr.passThroughHooks.has(o) ? i[a] = (c) => {
10886
10886
  if (this.defaults.async)
10887
10887
  return Promise.resolve(l.call(i, c)).then((d) => u.call(i, d));
10888
10888
  const f = l.call(i, c);
@@ -10968,12 +10968,12 @@ le.walkTokens = function(e, t) {
10968
10968
  le.parseInline = un.parseInline;
10969
10969
  le.Parser = Qe;
10970
10970
  le.parser = Qe.parse;
10971
- le.Renderer = ss;
10971
+ le.Renderer = is;
10972
10972
  le.TextRenderer = So;
10973
10973
  le.Lexer = qe;
10974
10974
  le.lexer = qe.lex;
10975
- le.Tokenizer = ns;
10976
- le.Hooks = Hr;
10975
+ le.Tokenizer = rs;
10976
+ le.Hooks = zr;
10977
10977
  le.parse = le;
10978
10978
  le.options;
10979
10979
  le.setOptions;
@@ -11066,7 +11066,7 @@ const Cv = { class: "flex items-center gap-2 text-sm text-base-content dark:text
11066
11066
  }, null, 8, Pv)
11067
11067
  ])) : (K(), X("div", {
11068
11068
  key: 1,
11069
- style: us({ "background-color": H(Ov)(i.value) }),
11069
+ style: fs({ "background-color": H(Ov)(i.value) }),
11070
11070
  class: "avatar-char rounded-full w-6 h-6 text-center"
11071
11071
  }, [
11072
11072
  ae("span", Rv, ge(i.value.substring(0, 1)), 1)
@@ -11119,7 +11119,7 @@ const Cv = { class: "flex items-center gap-2 text-sm text-base-content dark:text
11119
11119
  const t = e, { t: n } = _t(), r = Dn(), s = yo();
11120
11120
  let i;
11121
11121
  const o = te(Date.now()), a = te(!1), l = te(!1), u = rt(() => t.comment.userId === s.user?.sub && o.value - t.comment.createdAt.getTime() < 36e5);
11122
- return ms(() => {
11122
+ return yr(() => {
11123
11123
  u.value && (i = setInterval(() => {
11124
11124
  o.value = Date.now(), u.value || clearInterval(i);
11125
11125
  }, 1e3));
@@ -11151,9 +11151,9 @@ const Cv = { class: "flex items-center gap-2 text-sm text-base-content dark:text
11151
11151
  "ancestor-id": c.ancestorId,
11152
11152
  comment: c.comment
11153
11153
  }, null, 8, ["ancestor-id", "comment"]),
11154
- c.comment.status === H(Qr).Pending ? (K(), X("p", Uv, ge(H(n)("approve_hint")), 1)) : Ne("", !0)
11154
+ c.comment.status === H(es).Pending ? (K(), X("p", Uv, ge(H(n)("approve_hint")), 1)) : Ne("", !0)
11155
11155
  ], 2),
11156
- a.value ? (K(), jt(Wr, {
11156
+ a.value ? (K(), jt(Hr, {
11157
11157
  key: 0,
11158
11158
  content: c.comment.content,
11159
11159
  "current-id": c.comment.id,
@@ -11163,7 +11163,7 @@ const Cv = { class: "flex items-center gap-2 text-sm text-base-content dark:text
11163
11163
  onClose: f[2] || (f[2] = (m) => a.value = !1),
11164
11164
  onUpdate: f[3] || (f[3] = (m) => H(r).updateComment(c.comment.id, { content: m }))
11165
11165
  }, null, 8, ["content", "current-id", "status"])) : Ne("", !0),
11166
- l.value && c.isFirstLevel ? (K(), jt(Wr, {
11166
+ l.value && c.isFirstLevel ? (K(), jt(Hr, {
11167
11167
  key: 1,
11168
11168
  "ancestor-id": c.ancestorId,
11169
11169
  "parent-id": Number(c.comment.id),
@@ -11180,7 +11180,7 @@ const Cv = { class: "flex items-center gap-2 text-sm text-base-content dark:text
11180
11180
  "is-last": y === c.comment.children.length - 1,
11181
11181
  class: "ms-7"
11182
11182
  }, null, 8, ["ancestor-id", "comment", "is-first", "is-last"]))), 128)) : Ne("", !0),
11183
- l.value && !c.isFirstLevel ? (K(), jt(Wr, {
11183
+ l.value && !c.isFirstLevel ? (K(), jt(Hr, {
11184
11184
  key: 3,
11185
11185
  "ancestor-id": c.ancestorId,
11186
11186
  "parent-id": c.comment.id,
@@ -11199,37 +11199,38 @@ const Cv = { class: "flex items-center gap-2 text-sm text-base-content dark:text
11199
11199
  class: "ac-loading ac-loading-xs ac-loading-spinner"
11200
11200
  }, Bv = {
11201
11201
  key: 1,
11202
- class: "pt-8 text-center"
11202
+ class: "py-8 text-center"
11203
11203
  }, Gv = {
11204
11204
  name: "CommentSections"
11205
11205
  }, Zv = /* @__PURE__ */ gt({
11206
11206
  ...Gv,
11207
11207
  setup(e) {
11208
11208
  const { t } = _t(), n = Dn();
11209
- n.loadComments(!0);
11210
11209
  function r() {
11211
11210
  n.start += 20, n.loadComments();
11212
11211
  }
11213
- return (s, i) => H(n).isLoaded ? (K(), X("div", zv, [
11212
+ return yr(() => {
11213
+ n.isLoaded || n.loadComments();
11214
+ }), (s, i) => H(n).isLoaded ? (K(), X("div", zv, [
11214
11215
  (K(!0), X(Se, null, cc(Object.values(H(n).comments).reverse(), (o) => (K(), jt(Hv, {
11215
11216
  key: o.id,
11217
+ "ancestor-id": o.id,
11216
11218
  comment: o,
11217
11219
  "parent-id": o.parentId,
11218
- "ancestor-id": o.id,
11219
11220
  "is-first-level": ""
11220
- }, null, 8, ["comment", "parent-id", "ancestor-id"]))), 128)),
11221
+ }, null, 8, ["ancestor-id", "comment", "parent-id"]))), 128)),
11221
11222
  H(n).hasMore ? (K(), X("button", {
11222
11223
  key: 0,
11224
+ disabled: H(n).loadingMore,
11223
11225
  class: "ac-btn h-11 min-h-fit ac-btn-block text-white border-0 bg-green-middle hover:bg-green-middle/75 hover:text-white",
11224
11226
  type: "button",
11225
- onClick: r,
11226
- disabled: H(n).loadingMore
11227
+ onClick: r
11227
11228
  }, [
11228
11229
  H(n).loadingMore ? (K(), X("span", Vv)) : Ne("", !0),
11229
- on(ge(H(t)("load_more")), 1)
11230
+ on(" " + ge(H(t)("load_more")), 1)
11230
11231
  ], 8, Kv)) : Ne("", !0)
11231
11232
  ])) : (K(), X("div", Bv, i[0] || (i[0] = [
11232
- ae("span", { class: "ac-loading ac-loading-spinner" }, null, -1)
11233
+ ae("span", { class: "ac-loading ac-loading-spinner text-base-content" }, null, -1)
11233
11234
  ])));
11234
11235
  }
11235
11236
  }), Yv = { class: "awesome-comment" }, Xv = {
@@ -11245,7 +11246,7 @@ const Cv = { class: "flex items-center gap-2 text-sm text-base-content dark:text
11245
11246
  key: 0,
11246
11247
  class: "ac-avatar flex",
11247
11248
  tabindex: "0"
11248
- }, nw = { class: "w-6 h-6 rounded-full" }, rw = ["alt", "src"], sw = {
11249
+ }, nw = { class: "block w-6 h-6 rounded-full" }, rw = ["alt", "src"], sw = {
11249
11250
  key: 1,
11250
11251
  class: "ac-btn ac-btn-ghost",
11251
11252
  tabindex: "0"
@@ -11281,15 +11282,15 @@ const Cv = { class: "flex items-center gap-2 text-sm text-base-content dark:text
11281
11282
  ae("p", null, ge(H(t).message), 1)
11282
11283
  ])) : Ne("", !0),
11283
11284
  ae("header", Jv, [
11284
- ae("h2", qv, ge(H(n)("discussion")) + " (" + ge(s.value) + ")", 1),
11285
+ ae("h2", qv, ge(H(n)("discussion")) + " (" + ge(s.value) + ") ", 1),
11285
11286
  H(r).isLoading ? (K(), X("span", Qv)) : (K(), X("div", ew, [
11286
11287
  H(r).isAuthenticated && H(r).user ? (K(), X(Se, { key: 0 }, [
11287
11288
  H(r).user.picture ? (K(), X("label", tw, [
11288
- ae("div", nw, [
11289
+ ae("span", nw, [
11289
11290
  ae("img", {
11290
- class: "w-full h-full block",
11291
11291
  alt: H(r).user.name || H(r).user.email,
11292
- src: H(r).user.picture
11292
+ src: H(r).user.picture,
11293
+ class: "w-full h-full block"
11293
11294
  }, null, 8, rw)
11294
11295
  ])
11295
11296
  ])) : (K(), X("label", sw, ge(H(r).user.email), 1)),
@@ -11299,23 +11300,23 @@ const Cv = { class: "flex items-center gap-2 text-sm text-base-content dark:text
11299
11300
  ])) : Ne("", !0),
11300
11301
  ae("li", null, [
11301
11302
  ae("button", {
11303
+ disabled: H(r).isLoading,
11302
11304
  class: "border-0 bg-base-100",
11303
11305
  type: "button",
11304
- disabled: H(r).isLoading,
11305
11306
  onClick: o
11306
11307
  }, ge(H(n)("logout")), 9, lw)
11307
11308
  ])
11308
11309
  ])
11309
11310
  ], 64)) : (K(), X("button", {
11310
11311
  key: 1,
11312
+ disabled: H(r).isLoading,
11311
11313
  class: "ac-btn ac-btn-secondary ac-btn-xs",
11312
11314
  type: "button",
11313
- disabled: H(r).isLoading,
11314
11315
  onClick: i
11315
11316
  }, ge(H(n)("login")), 9, cw))
11316
11317
  ]))
11317
11318
  ]),
11318
- ve(Wr),
11319
+ ve(Hr),
11319
11320
  ve(Zv)
11320
11321
  ]));
11321
11322
  }