@roudanio/awesome-comment 0.7.2 → 0.7.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.
@@ -985,14 +985,14 @@ function Qs(e) {
985
985
  data: m,
986
986
  setupState: g,
987
987
  ctx: y,
988
- inheritAttrs: T
988
+ inheritAttrs: I
989
989
  } = e;
990
- let I, _;
990
+ let T, _;
991
991
  const k = _s(e);
992
992
  try {
993
993
  if (n.shapeFlag & 4) {
994
994
  const b = o || s, x = b;
995
- I = ct(
995
+ T = ct(
996
996
  f.call(
997
997
  x,
998
998
  b,
@@ -1005,7 +1005,7 @@ function Qs(e) {
1005
1005
  ), _ = l;
1006
1006
  } else {
1007
1007
  const b = t;
1008
- I = ct(
1008
+ T = ct(
1009
1009
  b.length > 1 ? b(
1010
1010
  r,
1011
1011
  { attrs: l, slots: a, emit: h }
@@ -1017,17 +1017,17 @@ function Qs(e) {
1017
1017
  ), _ = t.props ? l : zc(l);
1018
1018
  }
1019
1019
  } catch (b) {
1020
- Rn.length = 0, Fs(b, e, 1), I = Ae(qt);
1020
+ Rn.length = 0, Fs(b, e, 1), T = Ae(qt);
1021
1021
  }
1022
- let E = I;
1023
- if (_ && T !== !1) {
1022
+ let E = T;
1023
+ if (_ && I !== !1) {
1024
1024
  const b = Object.keys(_), { shapeFlag: x } = E;
1025
1025
  b.length && x & 7 && (i && b.some(Hr) && (_ = Gc(
1026
1026
  _,
1027
1027
  i
1028
1028
  )), E = kn(E, _));
1029
1029
  }
1030
- return n.dirs && (E = kn(E), E.dirs = E.dirs ? E.dirs.concat(n.dirs) : n.dirs), n.transition && (E.transition = n.transition), I = E, _s(k), I;
1030
+ return n.dirs && (E = kn(E), E.dirs = E.dirs ? E.dirs.concat(n.dirs) : n.dirs), n.transition && (E.transition = n.transition), T = E, _s(k), T;
1031
1031
  }
1032
1032
  const zc = (e) => {
1033
1033
  let t;
@@ -1157,7 +1157,7 @@ function $a(e, t, {
1157
1157
  g = E.onStop = () => {
1158
1158
  Rt(N, l, 4), g = E.onStop = void 0;
1159
1159
  };
1160
- }, T;
1160
+ }, I;
1161
1161
  if (Ws)
1162
1162
  if (y = Je, t ? n && st(t, l, 3, [
1163
1163
  f(),
@@ -1165,20 +1165,20 @@ function $a(e, t, {
1165
1165
  y
1166
1166
  ]) : f(), o === "sync") {
1167
1167
  const N = tu();
1168
- T = N.__watcherHandles || (N.__watcherHandles = []);
1168
+ I = N.__watcherHandles || (N.__watcherHandles = []);
1169
1169
  } else
1170
1170
  return Je;
1171
- let I = m ? new Array(e.length).fill(es) : es;
1171
+ let T = m ? new Array(e.length).fill(es) : es;
1172
1172
  const _ = () => {
1173
1173
  if (!(!E.active || !E.dirty))
1174
1174
  if (t) {
1175
1175
  const N = E.run();
1176
- (s || d || (m ? N.some((R, C) => Mt(R, I[C])) : Mt(N, I))) && (g && g(), st(t, l, 3, [
1176
+ (s || d || (m ? N.some((R, C) => Mt(R, T[C])) : Mt(N, T))) && (g && g(), st(t, l, 3, [
1177
1177
  N,
1178
1178
  // pass undefined as the old value when it's changed for the first time
1179
- I === es ? void 0 : m && I[0] === es ? [] : I,
1179
+ T === es ? void 0 : m && T[0] === es ? [] : T,
1180
1180
  y
1181
- ]), I = N);
1181
+ ]), T = N);
1182
1182
  } else
1183
1183
  E.run();
1184
1184
  };
@@ -1188,10 +1188,10 @@ function $a(e, t, {
1188
1188
  const E = new Gr(f, Je, k), b = fa(), x = () => {
1189
1189
  E.stop(), b && Vr(b.effects, E);
1190
1190
  };
1191
- return t ? n ? _() : I = E.run() : o === "post" ? Ve(
1191
+ return t ? n ? _() : T = E.run() : o === "post" ? Ve(
1192
1192
  E.run.bind(E),
1193
1193
  l && l.suspense
1194
- ) : E.run(), T && T.push(x), x;
1194
+ ) : E.run(), I && I.push(x), x;
1195
1195
  }
1196
1196
  function nu(e, t, n) {
1197
1197
  const s = this.proxy, o = we(e) ? e.includes(".") ? Ua(s, e) : () => s[e] : e.bind(s, s);
@@ -1472,8 +1472,8 @@ function mu(e) {
1472
1472
  mounted: m,
1473
1473
  beforeUpdate: g,
1474
1474
  updated: y,
1475
- activated: T,
1476
- deactivated: I,
1475
+ activated: I,
1476
+ deactivated: T,
1477
1477
  beforeDestroy: _,
1478
1478
  beforeUnmount: k,
1479
1479
  destroyed: E,
@@ -1526,7 +1526,7 @@ function mu(e) {
1526
1526
  function X(re, ee) {
1527
1527
  K(ee) ? ee.forEach((Ue) => re(Ue.bind(n))) : ee && re(ee.bind(n));
1528
1528
  }
1529
- if (X(Ha, d), X(Us, m), X(au, g), X(lu, y), X(ru, T), X(ou, I), X(du, C), X(fu, N), X(uu, R), X(Va, k), X(to, b), X(cu, U), K(B))
1529
+ if (X(Ha, d), X(Us, m), X(au, g), X(lu, y), X(ru, I), X(ou, T), X(du, C), X(fu, N), X(uu, R), X(Va, k), X(to, b), X(cu, U), K(B))
1530
1530
  if (B.length) {
1531
1531
  const re = e.exposed || (e.exposed = {});
1532
1532
  B.forEach((ee) => {
@@ -1925,14 +1925,14 @@ function Ba(e, t, n = !1) {
1925
1925
  if (Vo(d)) {
1926
1926
  const m = r[f], g = i[d] = K(m) || Y(m) ? { type: m } : Oe({}, m);
1927
1927
  if (g) {
1928
- const y = Go(Boolean, g.type), T = Go(String, g.type);
1928
+ const y = Go(Boolean, g.type), I = Go(String, g.type);
1929
1929
  g[
1930
1930
  0
1931
1931
  /* shouldCast */
1932
1932
  ] = y > -1, g[
1933
1933
  1
1934
1934
  /* shouldCastTrue */
1935
- ] = T < 0 || y < T, (y > -1 || q(g, "default")) && a.push(d);
1935
+ ] = I < 0 || y < I, (y > -1 || q(g, "default")) && a.push(d);
1936
1936
  }
1937
1937
  }
1938
1938
  }
@@ -2018,8 +2018,8 @@ function vr(e, t, n, s, o = !1) {
2018
2018
  if (m || g) {
2019
2019
  const y = () => {
2020
2020
  if (e.f) {
2021
- const T = m ? q(d, l) ? d[l] : f[l] : l.value;
2022
- o ? K(T) && Vr(T, r) : K(T) ? T.includes(r) || T.push(r) : m ? (f[l] = [r], q(d, l) && (d[l] = f[l])) : (l.value = [r], e.k && (f[e.k] = l.value));
2021
+ const I = m ? q(d, l) ? d[l] : f[l] : l.value;
2022
+ o ? K(I) && Vr(I, r) : K(I) ? I.includes(r) || I.push(r) : m ? (f[l] = [r], q(d, l) && (d[l] = f[l])) : (l.value = [r], e.k && (f[e.k] = l.value));
2023
2023
  } else
2024
2024
  m ? (f[l] = i, q(d, l) && (d[l] = i)) : g && (l.value = i, e.k && (f[e.k] = i));
2025
2025
  };
@@ -2047,14 +2047,14 @@ function Su(e, t) {
2047
2047
  nextSibling: m,
2048
2048
  setScopeId: g = Je,
2049
2049
  insertStaticContent: y
2050
- } = e, T = (u, c, p, w = null, L = null, S = null, M = void 0, A = null, F = !!c.dynamicChildren) => {
2050
+ } = e, I = (u, c, p, w = null, L = null, S = null, M = void 0, A = null, F = !!c.dynamicChildren) => {
2051
2051
  if (u === c)
2052
2052
  return;
2053
2053
  u && !On(u, c) && (w = rt(u), Se(u, L, S, !0), u = null), c.patchFlag === -2 && (F = !1, c.dynamicChildren = null);
2054
2054
  const { type: P, ref: j, shapeFlag: $ } = c;
2055
2055
  switch (P) {
2056
2056
  case zn:
2057
- I(u, c, p, w);
2057
+ T(u, c, p, w);
2058
2058
  break;
2059
2059
  case qt:
2060
2060
  _(u, c, p, w);
@@ -2110,7 +2110,7 @@ function Su(e, t) {
2110
2110
  );
2111
2111
  }
2112
2112
  j != null && L && vr(j, u && u.ref, S, c || u, !c);
2113
- }, I = (u, c, p, w) => {
2113
+ }, T = (u, c, p, w) => {
2114
2114
  if (u == null)
2115
2115
  s(
2116
2116
  c.el = a(c.children),
@@ -2222,7 +2222,7 @@ function Su(e, t) {
2222
2222
  }, C = (u, c, p, w, L, S, M, A, F = 0) => {
2223
2223
  for (let P = F; P < u.length; P++) {
2224
2224
  const j = u[P] = A ? Ct(u[P]) : ct(u[P]);
2225
- T(
2225
+ I(
2226
2226
  null,
2227
2227
  j,
2228
2228
  c,
@@ -2316,7 +2316,7 @@ function Su(e, t) {
2316
2316
  p
2317
2317
  )
2318
2318
  );
2319
- T(
2319
+ I(
2320
2320
  F,
2321
2321
  P,
2322
2322
  j,
@@ -2470,7 +2470,7 @@ function Su(e, t) {
2470
2470
  let H = j, te;
2471
2471
  Wt(u, !1), j ? (j.el = W.el, re(u, j, M)) : j = W, $ && is($), (te = j.props && j.props.onVnodeBeforeUpdate) && at(te, O, j, W), Wt(u, !0);
2472
2472
  const pe = Qs(u), ve = u.subTree;
2473
- u.subTree = pe, T(
2473
+ u.subTree = pe, I(
2474
2474
  ve,
2475
2475
  pe,
2476
2476
  // parent may have changed if it's in a teleport
@@ -2506,7 +2506,7 @@ function Su(e, t) {
2506
2506
  ) : pe();
2507
2507
  } else {
2508
2508
  const pe = u.subTree = Qs(u);
2509
- T(
2509
+ I(
2510
2510
  null,
2511
2511
  pe,
2512
2512
  p,
@@ -2596,7 +2596,7 @@ function Su(e, t) {
2596
2596
  let v;
2597
2597
  for (v = 0; v < $; v++) {
2598
2598
  const O = c[v] = F ? Ct(c[v]) : ct(c[v]);
2599
- T(
2599
+ I(
2600
2600
  u[v],
2601
2601
  O,
2602
2602
  p,
@@ -2633,7 +2633,7 @@ function Su(e, t) {
2633
2633
  for (; P <= $ && P <= v; ) {
2634
2634
  const O = u[P], W = c[P] = F ? Ct(c[P]) : ct(c[P]);
2635
2635
  if (On(O, W))
2636
- T(
2636
+ I(
2637
2637
  O,
2638
2638
  W,
2639
2639
  p,
@@ -2651,7 +2651,7 @@ function Su(e, t) {
2651
2651
  for (; P <= $ && P <= v; ) {
2652
2652
  const O = u[$], W = c[v] = F ? Ct(c[v]) : ct(c[v]);
2653
2653
  if (On(O, W))
2654
- T(
2654
+ I(
2655
2655
  O,
2656
2656
  W,
2657
2657
  p,
@@ -2670,7 +2670,7 @@ function Su(e, t) {
2670
2670
  if (P <= v) {
2671
2671
  const O = v + 1, W = O < j ? c[O].el : w;
2672
2672
  for (; P <= v; )
2673
- T(
2673
+ I(
2674
2674
  null,
2675
2675
  c[P] = F ? Ct(c[P]) : ct(c[P]),
2676
2676
  p,
@@ -2712,7 +2712,7 @@ function Su(e, t) {
2712
2712
  it = te;
2713
2713
  break;
2714
2714
  }
2715
- it === void 0 ? Se(Ge, L, S, !0) : (Ln[it - W] = P + 1, it >= Zs ? Zs = it : It = !0, T(
2715
+ it === void 0 ? Se(Ge, L, S, !0) : (Ln[it - W] = P + 1, it >= Zs ? Zs = it : It = !0, I(
2716
2716
  Ge,
2717
2717
  c[it],
2718
2718
  p,
@@ -2727,7 +2727,7 @@ function Su(e, t) {
2727
2727
  const Lo = It ? Nu(Ln) : mn;
2728
2728
  for (te = Lo.length - 1, P = ve - 1; P >= 0; P--) {
2729
2729
  const Ge = W + P, it = c[Ge], Oo = Ge + 1 < j ? c[Ge + 1].el : w;
2730
- Ln[P] === 0 ? T(
2730
+ Ln[P] === 0 ? I(
2731
2731
  null,
2732
2732
  it,
2733
2733
  p,
@@ -2855,7 +2855,7 @@ function Su(e, t) {
2855
2855
  }, rt = (u) => u.shapeFlag & 6 ? rt(u.component.subTree) : u.shapeFlag & 128 ? u.suspense.next() : m(u.anchor || u.el);
2856
2856
  let Qe = !1;
2857
2857
  const ot = (u, c, p) => {
2858
- u == null ? c._vnode && Se(c._vnode, null, null, !0) : T(
2858
+ u == null ? c._vnode && Se(c._vnode, null, null, !0) : I(
2859
2859
  c._vnode || null,
2860
2860
  u,
2861
2861
  c,
@@ -2865,7 +2865,7 @@ function Su(e, t) {
2865
2865
  p
2866
2866
  ), Qe || (Qe = !0, Fo(), Aa(), Qe = !1), c._vnode = u;
2867
2867
  }, Re = {
2868
- p: T,
2868
+ p: I,
2869
2869
  um: Se,
2870
2870
  m: je,
2871
2871
  r: vt,
@@ -3810,8 +3810,8 @@ function ll(e, t, n = {}, s, o, r) {
3810
3810
  let h, f, d = [], m = [], g;
3811
3811
  const y = s.state.value[e];
3812
3812
  !r && !y && (s.state.value[e] = {}), ne({});
3813
- let T;
3814
- function I(C) {
3813
+ let I;
3814
+ function T(C) {
3815
3815
  let U;
3816
3816
  h = f = !1, typeof C == "function" ? (C(s.state.value[e]), U = {
3817
3817
  type: Mn.patchFunction,
@@ -3823,9 +3823,9 @@ function ll(e, t, n = {}, s, o, r) {
3823
3823
  storeId: e,
3824
3824
  events: g
3825
3825
  });
3826
- const B = T = Symbol();
3826
+ const B = I = Symbol();
3827
3827
  Na().then(() => {
3828
- T === B && (h = !0);
3828
+ I === B && (h = !0);
3829
3829
  }), f = !0, an(d, U, s.state.value[e]);
3830
3830
  }
3831
3831
  const _ = r ? function() {
@@ -3871,7 +3871,7 @@ function ll(e, t, n = {}, s, o, r) {
3871
3871
  // _s: scope,
3872
3872
  $id: e,
3873
3873
  $onAction: ci.bind(null, m),
3874
- $patch: I,
3874
+ $patch: T,
3875
3875
  $reset: _,
3876
3876
  $subscribe(C, U = {}) {
3877
3877
  const B = ci(d, C, U.detached, () => ue()), ue = i.run(() => Jt(() => s.state.value[e], (se) => {
@@ -3899,7 +3899,7 @@ function ll(e, t, n = {}, s, o, r) {
3899
3899
  return xt(x, R), xt(Q(x), R), Object.defineProperty(x, "$state", {
3900
3900
  get: () => s.state.value[e],
3901
3901
  set: (C) => {
3902
- I((U) => {
3902
+ T((U) => {
3903
3903
  xt(U, C);
3904
3904
  });
3905
3905
  }
@@ -3977,43 +3977,43 @@ var Kt = io(function(e, t) {
3977
3977
  oo(Kt);
3978
3978
  var Pf = oo(io(function(e, t) {
3979
3979
  var n = Gt && Gt.__awaiter || function(f, d, m, g) {
3980
- return new (m || (m = Promise))(function(y, T) {
3981
- function I(E) {
3980
+ return new (m || (m = Promise))(function(y, I) {
3981
+ function T(E) {
3982
3982
  try {
3983
3983
  k(g.next(E));
3984
3984
  } catch (b) {
3985
- T(b);
3985
+ I(b);
3986
3986
  }
3987
3987
  }
3988
3988
  function _(E) {
3989
3989
  try {
3990
3990
  k(g.throw(E));
3991
3991
  } catch (b) {
3992
- T(b);
3992
+ I(b);
3993
3993
  }
3994
3994
  }
3995
3995
  function k(E) {
3996
3996
  E.done ? y(E.value) : new m(function(b) {
3997
3997
  b(E.value);
3998
- }).then(I, _);
3998
+ }).then(T, _);
3999
3999
  }
4000
4000
  k((g = g.apply(f, d || [])).next());
4001
4001
  });
4002
4002
  }, s = Gt && Gt.__generator || function(f, d) {
4003
- var m, g, y, T, I = { label: 0, sent: function() {
4003
+ var m, g, y, I, T = { label: 0, sent: function() {
4004
4004
  if (1 & y[0])
4005
4005
  throw y[1];
4006
4006
  return y[1];
4007
4007
  }, trys: [], ops: [] };
4008
- return T = { next: _(0), throw: _(1), return: _(2) }, typeof Symbol == "function" && (T[Symbol.iterator] = function() {
4008
+ return I = { next: _(0), throw: _(1), return: _(2) }, typeof Symbol == "function" && (I[Symbol.iterator] = function() {
4009
4009
  return this;
4010
- }), T;
4010
+ }), I;
4011
4011
  function _(k) {
4012
4012
  return function(E) {
4013
4013
  return function(b) {
4014
4014
  if (m)
4015
4015
  throw new TypeError("Generator is already executing.");
4016
- for (; I; )
4016
+ for (; T; )
4017
4017
  try {
4018
4018
  if (m = 1, g && (y = 2 & b[0] ? g.return : b[0] ? g.throw || ((y = g.return) && y.call(g), 0) : g.next) && !(y = y.call(g, b[1])).done)
4019
4019
  return y;
@@ -4023,34 +4023,34 @@ var Pf = oo(io(function(e, t) {
4023
4023
  y = b;
4024
4024
  break;
4025
4025
  case 4:
4026
- return I.label++, { value: b[1], done: !1 };
4026
+ return T.label++, { value: b[1], done: !1 };
4027
4027
  case 5:
4028
- I.label++, g = b[1], b = [0];
4028
+ T.label++, g = b[1], b = [0];
4029
4029
  continue;
4030
4030
  case 7:
4031
- b = I.ops.pop(), I.trys.pop();
4031
+ b = T.ops.pop(), T.trys.pop();
4032
4032
  continue;
4033
4033
  default:
4034
- if (!((y = (y = I.trys).length > 0 && y[y.length - 1]) || b[0] !== 6 && b[0] !== 2)) {
4035
- I = 0;
4034
+ if (!((y = (y = T.trys).length > 0 && y[y.length - 1]) || b[0] !== 6 && b[0] !== 2)) {
4035
+ T = 0;
4036
4036
  continue;
4037
4037
  }
4038
4038
  if (b[0] === 3 && (!y || b[1] > y[0] && b[1] < y[3])) {
4039
- I.label = b[1];
4039
+ T.label = b[1];
4040
4040
  break;
4041
4041
  }
4042
- if (b[0] === 6 && I.label < y[1]) {
4043
- I.label = y[1], y = b;
4042
+ if (b[0] === 6 && T.label < y[1]) {
4043
+ T.label = y[1], y = b;
4044
4044
  break;
4045
4045
  }
4046
- if (y && I.label < y[2]) {
4047
- I.label = y[2], I.ops.push(b);
4046
+ if (y && T.label < y[2]) {
4047
+ T.label = y[2], T.ops.push(b);
4048
4048
  break;
4049
4049
  }
4050
- y[2] && I.ops.pop(), I.trys.pop();
4050
+ y[2] && T.ops.pop(), T.trys.pop();
4051
4051
  continue;
4052
4052
  }
4053
- b = d.call(f, I);
4053
+ b = d.call(f, T);
4054
4054
  } catch (x) {
4055
4055
  b = [6, x], g = 0;
4056
4056
  } finally {
@@ -4121,19 +4121,19 @@ var Pf = oo(io(function(e, t) {
4121
4121
  }
4122
4122
  return f.prototype.acquireLock = function(d, m) {
4123
4123
  return m === void 0 && (m = 5e3), n(this, void 0, void 0, function() {
4124
- var g, y, T, I, _, k, E;
4124
+ var g, y, I, T, _, k, E;
4125
4125
  return s(this, function(b) {
4126
4126
  switch (b.label) {
4127
4127
  case 0:
4128
- g = Date.now() + l(4), y = Date.now() + m, T = r + "-" + d, I = this.storageHandler === void 0 ? i : this.storageHandler, b.label = 1;
4128
+ g = Date.now() + l(4), y = Date.now() + m, I = r + "-" + d, T = this.storageHandler === void 0 ? i : this.storageHandler, b.label = 1;
4129
4129
  case 1:
4130
4130
  return Date.now() < y ? [4, a(30)] : [3, 8];
4131
4131
  case 2:
4132
- return b.sent(), I.getItemSync(T) !== null ? [3, 5] : (_ = this.id + "-" + d + "-" + g, [4, a(Math.floor(25 * Math.random()))]);
4132
+ return b.sent(), T.getItemSync(I) !== null ? [3, 5] : (_ = this.id + "-" + d + "-" + g, [4, a(Math.floor(25 * Math.random()))]);
4133
4133
  case 3:
4134
- return b.sent(), I.setItemSync(T, JSON.stringify({ id: this.id, iat: g, timeoutKey: _, timeAcquired: Date.now(), timeRefreshed: Date.now() })), [4, a(30)];
4134
+ return b.sent(), T.setItemSync(I, JSON.stringify({ id: this.id, iat: g, timeoutKey: _, timeAcquired: Date.now(), timeRefreshed: Date.now() })), [4, a(30)];
4135
4135
  case 4:
4136
- return b.sent(), (k = I.getItemSync(T)) !== null && (E = JSON.parse(k)).id === this.id && E.iat === g ? (this.acquiredIatSet.add(g), this.refreshLockWhileAcquired(T, g), [2, !0]) : [3, 7];
4136
+ return b.sent(), (k = T.getItemSync(I)) !== null && (E = JSON.parse(k)).id === this.id && E.iat === g ? (this.acquiredIatSet.add(g), this.refreshLockWhileAcquired(I, g), [2, !0]) : [3, 7];
4137
4137
  case 5:
4138
4138
  return f.lockCorrector(this.storageHandler === void 0 ? i : this.storageHandler), [4, this.waitForSomethingToChange(y)];
4139
4139
  case 6:
@@ -4151,13 +4151,13 @@ var Pf = oo(io(function(e, t) {
4151
4151
  return s(this, function(y) {
4152
4152
  return setTimeout(function() {
4153
4153
  return n(g, void 0, void 0, function() {
4154
- var T, I, _;
4154
+ var I, T, _;
4155
4155
  return s(this, function(k) {
4156
4156
  switch (k.label) {
4157
4157
  case 0:
4158
4158
  return [4, Kt.default().lock(m)];
4159
4159
  case 1:
4160
- return k.sent(), this.acquiredIatSet.has(m) ? (T = this.storageHandler === void 0 ? i : this.storageHandler, (I = T.getItemSync(d)) === null ? (Kt.default().unlock(m), [2]) : ((_ = JSON.parse(I)).timeRefreshed = Date.now(), T.setItemSync(d, JSON.stringify(_)), Kt.default().unlock(m), this.refreshLockWhileAcquired(d, m), [2])) : (Kt.default().unlock(m), [2]);
4160
+ return k.sent(), this.acquiredIatSet.has(m) ? (I = this.storageHandler === void 0 ? i : this.storageHandler, (T = I.getItemSync(d)) === null ? (Kt.default().unlock(m), [2]) : ((_ = JSON.parse(T)).timeRefreshed = Date.now(), I.setItemSync(d, JSON.stringify(_)), Kt.default().unlock(m), this.refreshLockWhileAcquired(d, m), [2])) : (Kt.default().unlock(m), [2]);
4161
4161
  }
4162
4162
  });
4163
4163
  });
@@ -4170,11 +4170,11 @@ var Pf = oo(io(function(e, t) {
4170
4170
  switch (m.label) {
4171
4171
  case 0:
4172
4172
  return [4, new Promise(function(g) {
4173
- var y = !1, T = Date.now(), I = !1;
4173
+ var y = !1, I = Date.now(), T = !1;
4174
4174
  function _() {
4175
- if (I || (window.removeEventListener("storage", _), f.removeFromWaiting(_), clearTimeout(k), I = !0), !y) {
4175
+ if (T || (window.removeEventListener("storage", _), f.removeFromWaiting(_), clearTimeout(k), T = !0), !y) {
4176
4176
  y = !0;
4177
- var E = 50 - (Date.now() - T);
4177
+ var E = 50 - (Date.now() - I);
4178
4178
  E > 0 ? setTimeout(g, E) : g(null);
4179
4179
  }
4180
4180
  }
@@ -4209,24 +4209,24 @@ var Pf = oo(io(function(e, t) {
4209
4209
  });
4210
4210
  }, f.prototype.releaseLock__private__ = function(d) {
4211
4211
  return n(this, void 0, void 0, function() {
4212
- var m, g, y, T;
4213
- return s(this, function(I) {
4214
- switch (I.label) {
4212
+ var m, g, y, I;
4213
+ return s(this, function(T) {
4214
+ switch (T.label) {
4215
4215
  case 0:
4216
- return m = this.storageHandler === void 0 ? i : this.storageHandler, g = r + "-" + d, (y = m.getItemSync(g)) === null ? [2] : (T = JSON.parse(y)).id !== this.id ? [3, 2] : [4, Kt.default().lock(T.iat)];
4216
+ return m = this.storageHandler === void 0 ? i : this.storageHandler, g = r + "-" + d, (y = m.getItemSync(g)) === null ? [2] : (I = JSON.parse(y)).id !== this.id ? [3, 2] : [4, Kt.default().lock(I.iat)];
4217
4217
  case 1:
4218
- I.sent(), this.acquiredIatSet.delete(T.iat), m.removeItemSync(g), Kt.default().unlock(T.iat), f.notifyWaiters(), I.label = 2;
4218
+ T.sent(), this.acquiredIatSet.delete(I.iat), m.removeItemSync(g), Kt.default().unlock(I.iat), f.notifyWaiters(), T.label = 2;
4219
4219
  case 2:
4220
4220
  return [2];
4221
4221
  }
4222
4222
  });
4223
4223
  });
4224
4224
  }, f.lockCorrector = function(d) {
4225
- for (var m = Date.now() - 5e3, g = d, y = [], T = 0; ; ) {
4226
- var I = g.keySync(T);
4227
- if (I === null)
4225
+ for (var m = Date.now() - 5e3, g = d, y = [], I = 0; ; ) {
4226
+ var T = g.keySync(I);
4227
+ if (T === null)
4228
4228
  break;
4229
- y.push(I), T++;
4229
+ y.push(T), I++;
4230
4230
  }
4231
4231
  for (var _ = !1, k = 0; k < y.length; k++) {
4232
4232
  var E = y[k];
@@ -4296,13 +4296,13 @@ const us = () => window.crypto, ir = () => {
4296
4296
  const n = await fetch(e, t);
4297
4297
  return { ok: n.ok, json: await n.json() };
4298
4298
  }, Mf = async (e, t, n, s, o, r, i = 1e4) => o ? (async (a, l, h, f, d, m, g) => {
4299
- return y = { auth: { audience: l, scope: h }, timeout: d, fetchUrl: a, fetchOptions: f, useFormData: g }, T = m, new Promise(function(I, _) {
4299
+ return y = { auth: { audience: l, scope: h }, timeout: d, fetchUrl: a, fetchOptions: f, useFormData: g }, I = m, new Promise(function(T, _) {
4300
4300
  const k = new MessageChannel();
4301
4301
  k.port1.onmessage = function(E) {
4302
- E.data.error ? _(new Error(E.data.error)) : I(E.data), k.port1.close();
4303
- }, T.postMessage(y, [k.port2]);
4302
+ E.data.error ? _(new Error(E.data.error)) : T(E.data), k.port1.close();
4303
+ }, I.postMessage(y, [k.port2]);
4304
4304
  });
4305
- var y, T;
4305
+ var y, I;
4306
4306
  })(e, t, n, s, i, o, r) : (async (a, l, h) => {
4307
4307
  const f = new AbortController();
4308
4308
  let d;
@@ -4317,11 +4317,11 @@ const us = () => window.crypto, ir = () => {
4317
4317
  async function Ff(e, t) {
4318
4318
  var { baseUrl: n, timeout: s, audience: o, scope: r, auth0Client: i, useFormData: a } = e, l = ut(e, ["baseUrl", "timeout", "audience", "scope", "auth0Client", "useFormData"]);
4319
4319
  const h = a ? xr(l) : JSON.stringify(l);
4320
- return await async function(f, d, m, g, y, T, I) {
4320
+ return await async function(f, d, m, g, y, I, T) {
4321
4321
  let _, k = null;
4322
4322
  for (let C = 0; C < 3; C++)
4323
4323
  try {
4324
- _ = await Mf(f, m, g, y, T, I, d), k = null;
4324
+ _ = await Mf(f, m, g, y, I, T, d), k = null;
4325
4325
  break;
4326
4326
  } catch (U) {
4327
4327
  k = U;
@@ -4629,13 +4629,13 @@ class Yf {
4629
4629
  if (!i.id_token)
4630
4630
  throw new Error("ID token is required but missing");
4631
4631
  const a = ((d) => {
4632
- const m = d.split("."), [g, y, T] = m;
4633
- if (m.length !== 3 || !g || !y || !T)
4632
+ const m = d.split("."), [g, y, I] = m;
4633
+ if (m.length !== 3 || !g || !y || !I)
4634
4634
  throw new Error("ID token could not be decoded");
4635
- const I = JSON.parse(di(y)), _ = { __raw: d }, k = {};
4636
- return Object.keys(I).forEach((E) => {
4637
- _[E] = I[E], jf.includes(E) || (k[E] = I[E]);
4638
- }), { encoded: { header: g, payload: y, signature: T }, header: JSON.parse(di(g)), claims: _, user: k };
4635
+ const T = JSON.parse(di(y)), _ = { __raw: d }, k = {};
4636
+ return Object.keys(T).forEach((E) => {
4637
+ _[E] = T[E], jf.includes(E) || (k[E] = T[E]);
4638
+ }), { encoded: { header: g, payload: y, signature: I }, header: JSON.parse(di(g)), claims: _, user: k };
4639
4639
  })(i.id_token);
4640
4640
  if (!a.claims.iss)
4641
4641
  throw new Error("Issuer (iss) claim must be a string present in the ID token");
@@ -4713,7 +4713,7 @@ class Yf {
4713
4713
  const g = { "+": "-", "/": "_", "=": "" };
4714
4714
  return m.replace(/[+/=]/g, (y) => g[y]);
4715
4715
  })(window.btoa(String.fromCharCode(...Array.from(d))));
4716
- })(await (async (f) => await us().subtle.digest({ name: "SHA-256" }, new TextEncoder().encode(f)))(i)), l = ((f, d, m, g, y, T, I, _) => Object.assign(Object.assign(Object.assign({ client_id: f.clientId }, f.authorizationParams), m), { scope: ts(d, m.scope), response_type: "code", response_mode: _ || "query", state: g, nonce: y, redirect_uri: I || f.authorizationParams.redirect_uri, code_challenge: T, code_challenge_method: "S256" }))(this.options, this.scope, t, o, r, a, t.redirect_uri || this.options.authorizationParams.redirect_uri || s, n?.response_mode), h = this._authorizeUrl(l);
4716
+ })(await (async (f) => await us().subtle.digest({ name: "SHA-256" }, new TextEncoder().encode(f)))(i)), l = ((f, d, m, g, y, I, T, _) => Object.assign(Object.assign(Object.assign({ client_id: f.clientId }, f.authorizationParams), m), { scope: ts(d, m.scope), response_type: "code", response_mode: _ || "query", state: g, nonce: y, redirect_uri: T || f.authorizationParams.redirect_uri, code_challenge: I, code_challenge_method: "S256" }))(this.options, this.scope, t, o, r, a, t.redirect_uri || this.options.authorizationParams.redirect_uri || s, n?.response_mode), h = this._authorizeUrl(l);
4717
4717
  return { nonce: r, code_verifier: i, scope: l.scope, audience: l.audience || "default", redirect_uri: l.redirect_uri, state: o, url: h };
4718
4718
  }
4719
4719
  async loginWithPopup(t, n) {
@@ -4855,7 +4855,7 @@ class Yf {
4855
4855
  try {
4856
4856
  if (window.crossOriginIsolated)
4857
4857
  throw new Ce("login_required", "The application is running in a Cross-Origin Isolated context, silently retrieving a token without refresh token is not possible.");
4858
- const d = t.timeoutInSeconds || this.options.authorizeTimeoutInSeconds, m = await ((y, T, I = 60) => new Promise((_, k) => {
4858
+ const d = t.timeoutInSeconds || this.options.authorizeTimeoutInSeconds, m = await ((y, I, T = 60) => new Promise((_, k) => {
4859
4859
  const E = window.document.createElement("iframe");
4860
4860
  E.setAttribute("width", "0"), E.setAttribute("height", "0"), E.style.display = "none";
4861
4861
  const b = () => {
@@ -4864,9 +4864,9 @@ class Yf {
4864
4864
  let x;
4865
4865
  const N = setTimeout(() => {
4866
4866
  k(new Hn()), b();
4867
- }, 1e3 * I);
4867
+ }, 1e3 * T);
4868
4868
  x = function(R) {
4869
- if (R.origin != T || !R.data || R.data.type !== "authorization_response")
4869
+ if (R.origin != I || !R.data || R.data.type !== "authorization_response")
4870
4870
  return;
4871
4871
  const C = R.source;
4872
4872
  C && C.close(), R.data.response.error ? k(Ce.fromPayload(R.data.response)) : _(R.data.response), clearTimeout(N), window.removeEventListener("message", x, !1), setTimeout(b, 2e3);
@@ -5108,7 +5108,7 @@ const bt = " ", fd = "\r", Fe = `
5108
5108
  function md(e) {
5109
5109
  const t = e;
5110
5110
  let n = 0, s = 1, o = 1, r = 0;
5111
- const i = (R) => t[R] === fd && t[R + 1] === Fe, a = (R) => t[R] === Fe, l = (R) => t[R] === hd, h = (R) => t[R] === dd, f = (R) => i(R) || a(R) || l(R) || h(R), d = () => n, m = () => s, g = () => o, y = () => r, T = (R) => i(R) || l(R) || h(R) ? Fe : t[R], I = () => T(n), _ = () => T(n + r);
5111
+ const i = (R) => t[R] === fd && t[R + 1] === Fe, a = (R) => t[R] === Fe, l = (R) => t[R] === hd, h = (R) => t[R] === dd, f = (R) => i(R) || a(R) || l(R) || h(R), d = () => n, m = () => s, g = () => o, y = () => r, I = (R) => i(R) || l(R) || h(R) ? Fe : t[R], T = () => I(n), _ = () => I(n + r);
5112
5112
  function k() {
5113
5113
  return r = 0, f(n) && (s++, o = 0), i(n) && n++, n++, o++, t[n];
5114
5114
  }
@@ -5132,8 +5132,8 @@ function md(e) {
5132
5132
  line: m,
5133
5133
  column: g,
5134
5134
  peekOffset: y,
5135
- charAt: T,
5136
- currentChar: I,
5135
+ charAt: I,
5136
+ currentChar: T,
5137
5137
  currentPeek: _,
5138
5138
  next: k,
5139
5139
  peek: E,
@@ -5180,14 +5180,14 @@ function _d(e, t = {}) {
5180
5180
  function y(u, c) {
5181
5181
  return u.currentChar() === c ? (u.next(), c) : (d(V.EXPECTED_TOKEN, r(), 0, c), "");
5182
5182
  }
5183
- function T(u) {
5183
+ function I(u) {
5184
5184
  let c = "";
5185
5185
  for (; u.currentPeek() === bt || u.currentPeek() === Fe; )
5186
5186
  c += u.currentPeek(), u.peek();
5187
5187
  return c;
5188
5188
  }
5189
- function I(u) {
5190
- const c = T(u);
5189
+ function T(u) {
5190
+ const c = I(u);
5191
5191
  return u.skipToPeek(), c;
5192
5192
  }
5193
5193
  function _(u) {
@@ -5208,7 +5208,7 @@ function _d(e, t = {}) {
5208
5208
  const { currentType: p } = c;
5209
5209
  if (p !== 2)
5210
5210
  return !1;
5211
- T(u);
5211
+ I(u);
5212
5212
  const w = _(u.currentPeek());
5213
5213
  return u.resetPeek(), w;
5214
5214
  }
@@ -5216,7 +5216,7 @@ function _d(e, t = {}) {
5216
5216
  const { currentType: p } = c;
5217
5217
  if (p !== 2)
5218
5218
  return !1;
5219
- T(u);
5219
+ I(u);
5220
5220
  const w = u.currentPeek() === "-" ? u.peek() : u.currentPeek(), L = k(w);
5221
5221
  return u.resetPeek(), L;
5222
5222
  }
@@ -5224,7 +5224,7 @@ function _d(e, t = {}) {
5224
5224
  const { currentType: p } = c;
5225
5225
  if (p !== 2)
5226
5226
  return !1;
5227
- T(u);
5227
+ I(u);
5228
5228
  const w = u.currentPeek() === bi;
5229
5229
  return u.resetPeek(), w;
5230
5230
  }
@@ -5232,7 +5232,7 @@ function _d(e, t = {}) {
5232
5232
  const { currentType: p } = c;
5233
5233
  if (p !== 8)
5234
5234
  return !1;
5235
- T(u);
5235
+ I(u);
5236
5236
  const w = u.currentPeek() === ".";
5237
5237
  return u.resetPeek(), w;
5238
5238
  }
@@ -5240,7 +5240,7 @@ function _d(e, t = {}) {
5240
5240
  const { currentType: p } = c;
5241
5241
  if (p !== 9)
5242
5242
  return !1;
5243
- T(u);
5243
+ I(u);
5244
5244
  const w = _(u.currentPeek());
5245
5245
  return u.resetPeek(), w;
5246
5246
  }
@@ -5248,7 +5248,7 @@ function _d(e, t = {}) {
5248
5248
  const { currentType: p } = c;
5249
5249
  if (!(p === 8 || p === 12))
5250
5250
  return !1;
5251
- T(u);
5251
+ I(u);
5252
5252
  const w = u.currentPeek() === ":";
5253
5253
  return u.resetPeek(), w;
5254
5254
  }
@@ -5263,12 +5263,12 @@ function _d(e, t = {}) {
5263
5263
  return u.resetPeek(), L;
5264
5264
  }
5265
5265
  function B(u) {
5266
- T(u);
5266
+ I(u);
5267
5267
  const c = u.currentPeek() === "|";
5268
5268
  return u.resetPeek(), c;
5269
5269
  }
5270
5270
  function ue(u) {
5271
- const c = T(u), p = u.currentPeek() === "%" && u.peek() === "{";
5271
+ const c = I(u), p = u.currentPeek() === "%" && u.peek() === "{";
5272
5272
  return u.resetPeek(), {
5273
5273
  isModulo: p,
5274
5274
  hasSpace: c.length > 0
@@ -5316,7 +5316,7 @@ function _d(e, t = {}) {
5316
5316
  return p;
5317
5317
  }
5318
5318
  function ee(u) {
5319
- I(u);
5319
+ T(u);
5320
5320
  const c = u.currentChar();
5321
5321
  return c !== "%" && d(V.EXPECTED_TOKEN, r(), 0, c), u.next(), "%";
5322
5322
  }
@@ -5345,19 +5345,19 @@ function _d(e, t = {}) {
5345
5345
  return c;
5346
5346
  }
5347
5347
  function xe(u) {
5348
- I(u);
5348
+ T(u);
5349
5349
  let c = "", p = "";
5350
5350
  for (; c = Xe(u); )
5351
5351
  p += c;
5352
5352
  return u.currentChar() === Lt && d(V.UNTERMINATED_CLOSING_BRACE, r(), 0), p;
5353
5353
  }
5354
5354
  function je(u) {
5355
- I(u);
5355
+ T(u);
5356
5356
  let c = "";
5357
5357
  return u.currentChar() === "-" ? (u.next(), c += `-${re(u)}`) : c += re(u), u.currentChar() === Lt && d(V.UNTERMINATED_CLOSING_BRACE, r(), 0), c;
5358
5358
  }
5359
5359
  function Se(u) {
5360
- I(u), y(u, "'");
5360
+ T(u), y(u, "'");
5361
5361
  let c = "", p = "";
5362
5362
  const w = (S) => S !== bi && S !== Fe;
5363
5363
  for (; c = be(u, w); )
@@ -5393,7 +5393,7 @@ function _d(e, t = {}) {
5393
5393
  return `\\${c}${w}`;
5394
5394
  }
5395
5395
  function Ut(u) {
5396
- I(u);
5396
+ T(u);
5397
5397
  let c = "", p = "";
5398
5398
  const w = (L) => L !== "{" && L !== "}" && L !== bt && L !== Fe;
5399
5399
  for (; c = be(u, w); )
@@ -5414,13 +5414,13 @@ function _d(e, t = {}) {
5414
5414
  return c(!1, "");
5415
5415
  }
5416
5416
  function Qe(u) {
5417
- I(u);
5417
+ T(u);
5418
5418
  const c = y(
5419
5419
  u,
5420
5420
  "|"
5421
5421
  /* TokenChars.Pipe */
5422
5422
  );
5423
- return I(u), c;
5423
+ return T(u), c;
5424
5424
  }
5425
5425
  function ot(u, c) {
5426
5426
  let p = null;
@@ -5431,14 +5431,14 @@ function _d(e, t = {}) {
5431
5431
  2,
5432
5432
  "{"
5433
5433
  /* TokenChars.BraceLeft */
5434
- ), I(u), c.braceNest++, p;
5434
+ ), T(u), c.braceNest++, p;
5435
5435
  case "}":
5436
5436
  return c.braceNest > 0 && c.currentType === 2 && d(V.EMPTY_PLACEHOLDER, r(), 0), u.next(), p = m(
5437
5437
  c,
5438
5438
  3,
5439
5439
  "}"
5440
5440
  /* TokenChars.BraceRight */
5441
- ), c.braceNest--, c.braceNest > 0 && I(u), c.inLinked && c.braceNest === 0 && (c.inLinked = !1), p;
5441
+ ), c.braceNest--, c.braceNest > 0 && T(u), c.inLinked && c.braceNest === 0 && (c.inLinked = !1), p;
5442
5442
  case "@":
5443
5443
  return c.braceNest > 0 && d(V.UNTERMINATED_CLOSING_BRACE, r(), 0), p = Re(u, c) || g(c), c.braceNest = 0, p;
5444
5444
  default:
@@ -5448,13 +5448,13 @@ function _d(e, t = {}) {
5448
5448
  if (c.braceNest > 0 && (c.currentType === 5 || c.currentType === 6 || c.currentType === 7))
5449
5449
  return d(V.UNTERMINATED_CLOSING_BRACE, r(), 0), c.braceNest = 0, et(u, c);
5450
5450
  if (L = E(u, c))
5451
- return p = m(c, 5, xe(u)), I(u), p;
5451
+ return p = m(c, 5, xe(u)), T(u), p;
5452
5452
  if (S = b(u, c))
5453
- return p = m(c, 6, je(u)), I(u), p;
5453
+ return p = m(c, 6, je(u)), T(u), p;
5454
5454
  if (M = x(u, c))
5455
- return p = m(c, 7, Se(u)), I(u), p;
5455
+ return p = m(c, 7, Se(u)), T(u), p;
5456
5456
  if (!L && !S && !M)
5457
- return p = m(c, 13, Ut(u)), d(V.INVALID_TOKEN_IN_PLACEHOLDER, r(), 0, p.value), I(u), p;
5457
+ return p = m(c, 13, Ut(u)), d(V.INVALID_TOKEN_IN_PLACEHOLDER, r(), 0, p.value), T(u), p;
5458
5458
  break;
5459
5459
  }
5460
5460
  return p;
@@ -5472,21 +5472,21 @@ function _d(e, t = {}) {
5472
5472
  /* TokenChars.LinkedAlias */
5473
5473
  ), c.inLinked = !0, w;
5474
5474
  case ".":
5475
- return I(u), u.next(), m(
5475
+ return T(u), u.next(), m(
5476
5476
  c,
5477
5477
  9,
5478
5478
  "."
5479
5479
  /* TokenChars.LinkedDot */
5480
5480
  );
5481
5481
  case ":":
5482
- return I(u), u.next(), m(
5482
+ return T(u), u.next(), m(
5483
5483
  c,
5484
5484
  10,
5485
5485
  ":"
5486
5486
  /* TokenChars.LinkedDelimiter */
5487
5487
  );
5488
5488
  default:
5489
- return B(u) ? (w = m(c, 1, Qe(u)), c.braceNest = 0, c.inLinked = !1, w) : N(u, c) || C(u, c) ? (I(u), Re(u, c)) : R(u, c) ? (I(u), m(c, 12, We(u))) : U(u, c) ? (I(u), L === "{" ? ot(u, c) || w : m(c, 11, rt(u))) : (p === 8 && d(V.INVALID_LINKED_FORMAT, r(), 0), c.braceNest = 0, c.inLinked = !1, et(u, c));
5489
+ return B(u) ? (w = m(c, 1, Qe(u)), c.braceNest = 0, c.inLinked = !1, w) : N(u, c) || C(u, c) ? (T(u), Re(u, c)) : R(u, c) ? (T(u), m(c, 12, We(u))) : U(u, c) ? (T(u), L === "{" ? ot(u, c) || w : m(c, 11, rt(u))) : (p === 8 && d(V.INVALID_LINKED_FORMAT, r(), 0), c.braceNest = 0, c.inLinked = !1, et(u, c));
5490
5490
  }
5491
5491
  }
5492
5492
  function et(u, c) {
@@ -5669,15 +5669,15 @@ function wd(e = {}) {
5669
5669
  } while (x.currentType !== 14);
5670
5670
  return N && s(_, V.MUST_HAVE_MESSAGES_IN_PLURAL, E, 0), r(R, _.currentOffset(), _.currentPosition()), R;
5671
5671
  }
5672
- function T(_) {
5672
+ function I(_) {
5673
5673
  const k = _.context(), { offset: E, startLoc: b } = k, x = g(_);
5674
5674
  return k.currentType === 14 ? x : y(_, E, b, x);
5675
5675
  }
5676
- function I(_) {
5676
+ function T(_) {
5677
5677
  const k = _d(_, bl({}, e)), E = k.context(), b = o(0, E.offset, E.startLoc);
5678
- return t && b.loc && (b.loc.source = _), b.body = T(k), e.onCacheKey && (b.cacheKey = e.onCacheKey(_)), E.currentType !== 14 && s(k, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, _[E.offset] || ""), r(b, k.currentOffset(), k.currentPosition()), b;
5678
+ return t && b.loc && (b.loc.source = _), b.body = I(k), e.onCacheKey && (b.cacheKey = e.onCacheKey(_)), E.currentType !== 14 && s(k, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, _[E.offset] || ""), r(b, k.currentOffset(), k.currentPosition()), b;
5679
5679
  }
5680
- return { parse: I };
5680
+ return { parse: T };
5681
5681
  }
5682
5682
  function lt(e) {
5683
5683
  if (e.type === 14)
@@ -5831,20 +5831,20 @@ function Od(e, t) {
5831
5831
  };
5832
5832
  i && e.loc && (a.source = e.loc.source);
5833
5833
  const l = () => a;
5834
- function h(I, _) {
5835
- a.code += I;
5834
+ function h(T, _) {
5835
+ a.code += T;
5836
5836
  }
5837
- function f(I, _ = !0) {
5837
+ function f(T, _ = !0) {
5838
5838
  const k = _ ? o : "";
5839
- h(r ? k + " ".repeat(I) : k);
5839
+ h(r ? k + " ".repeat(T) : k);
5840
5840
  }
5841
- function d(I = !0) {
5841
+ function d(T = !0) {
5842
5842
  const _ = ++a.indentLevel;
5843
- I && f(_);
5843
+ T && f(_);
5844
5844
  }
5845
- function m(I = !0) {
5845
+ function m(T = !0) {
5846
5846
  const _ = --a.indentLevel;
5847
- I && f(_);
5847
+ T && f(_);
5848
5848
  }
5849
5849
  function g() {
5850
5850
  f(a.indentLevel);
@@ -5855,7 +5855,7 @@ function Od(e, t) {
5855
5855
  indent: d,
5856
5856
  deindent: m,
5857
5857
  newline: g,
5858
- helper: (I) => `_${I}`,
5858
+ helper: (T) => `_${T}`,
5859
5859
  needIndent: () => a.needIndent
5860
5860
  };
5861
5861
  }
@@ -6268,7 +6268,7 @@ function Zd(e = {}) {
6268
6268
  const k = fe(e.messages) ? e.messages(_) : ie(e.messages) ? e.messages[_] : !1;
6269
6269
  return k || (e.parent ? e.parent.message(_) : Kd);
6270
6270
  }
6271
- const d = (_) => e.modifiers ? e.modifiers[_] : Vd, m = z(e.processor) && fe(e.processor.normalize) ? e.processor.normalize : Gd, g = z(e.processor) && fe(e.processor.interpolate) ? e.processor.interpolate : Yd, y = z(e.processor) && D(e.processor.type) ? e.processor.type : zd, I = {
6271
+ const d = (_) => e.modifiers ? e.modifiers[_] : Vd, m = z(e.processor) && fe(e.processor.normalize) ? e.processor.normalize : Gd, g = z(e.processor) && fe(e.processor.interpolate) ? e.processor.interpolate : Yd, y = z(e.processor) && D(e.processor.type) ? e.processor.type : zd, T = {
6272
6272
  list: a,
6273
6273
  named: h,
6274
6274
  plural: r,
@@ -6276,7 +6276,7 @@ function Zd(e = {}) {
6276
6276
  const [E, b] = k;
6277
6277
  let x = "text", N = "";
6278
6278
  k.length === 1 ? ie(E) ? (N = E.modifier || N, x = E.type || x) : D(E) && (N = E || N) : k.length === 2 && (D(E) && (N = E || N), D(b) && (x = b || x));
6279
- const R = f(_)(I), C = (
6279
+ const R = f(_)(T), C = (
6280
6280
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
6281
6281
  x === "vnode" && he(R) && N ? R[0] : R
6282
6282
  );
@@ -6288,7 +6288,7 @@ function Zd(e = {}) {
6288
6288
  normalize: m,
6289
6289
  values: Le({}, i, l)
6290
6290
  };
6291
- return I;
6291
+ return T;
6292
6292
  }
6293
6293
  let Vn = null;
6294
6294
  function Jd(e) {
@@ -6428,7 +6428,7 @@ const xi = (e) => {
6428
6428
  }, fh = () => Ll;
6429
6429
  let Si = 0;
6430
6430
  function dh(e = {}) {
6431
- const t = fe(e.onWarn) ? e.onWarn : rd, n = D(e.version) ? e.version : oh, s = D(e.locale) || fe(e.locale) ? e.locale : vn, o = fe(s) ? vn : s, r = he(e.fallbackLocale) || z(e.fallbackLocale) || D(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : o, i = z(e.messages) ? e.messages : { [o]: {} }, a = z(e.datetimeFormats) ? e.datetimeFormats : { [o]: {} }, l = z(e.numberFormats) ? e.numberFormats : { [o]: {} }, h = Le({}, e.modifiers || {}, ih()), f = e.pluralRules || {}, d = fe(e.missing) ? e.missing : null, m = Z(e.missingWarn) || Ft(e.missingWarn) ? e.missingWarn : !0, g = Z(e.fallbackWarn) || Ft(e.fallbackWarn) ? e.fallbackWarn : !0, y = !!e.fallbackFormat, T = !!e.unresolving, I = fe(e.postTranslation) ? e.postTranslation : null, _ = z(e.processor) ? e.processor : null, k = Z(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, E = !!e.escapeParameter, b = fe(e.messageCompiler) ? e.messageCompiler : vl, x = fe(e.messageResolver) ? e.messageResolver : El || Wd, N = fe(e.localeFallbacker) ? e.localeFallbacker : Il || nh, R = ie(e.fallbackContext) ? e.fallbackContext : void 0, C = e, U = ie(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), B = ie(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), ue = ie(C.__meta) ? C.__meta : {};
6431
+ const t = fe(e.onWarn) ? e.onWarn : rd, n = D(e.version) ? e.version : oh, s = D(e.locale) || fe(e.locale) ? e.locale : vn, o = fe(s) ? vn : s, r = he(e.fallbackLocale) || z(e.fallbackLocale) || D(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : o, i = z(e.messages) ? e.messages : { [o]: {} }, a = z(e.datetimeFormats) ? e.datetimeFormats : { [o]: {} }, l = z(e.numberFormats) ? e.numberFormats : { [o]: {} }, h = Le({}, e.modifiers || {}, ih()), f = e.pluralRules || {}, d = fe(e.missing) ? e.missing : null, m = Z(e.missingWarn) || Ft(e.missingWarn) ? e.missingWarn : !0, g = Z(e.fallbackWarn) || Ft(e.fallbackWarn) ? e.fallbackWarn : !0, y = !!e.fallbackFormat, I = !!e.unresolving, T = fe(e.postTranslation) ? e.postTranslation : null, _ = z(e.processor) ? e.processor : null, k = Z(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, E = !!e.escapeParameter, b = fe(e.messageCompiler) ? e.messageCompiler : vl, x = fe(e.messageResolver) ? e.messageResolver : El || Wd, N = fe(e.localeFallbacker) ? e.localeFallbacker : Il || nh, R = ie(e.fallbackContext) ? e.fallbackContext : void 0, C = e, U = ie(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), B = ie(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), ue = ie(C.__meta) ? C.__meta : {};
6432
6432
  Si++;
6433
6433
  const se = {
6434
6434
  version: n,
@@ -6442,8 +6442,8 @@ function dh(e = {}) {
6442
6442
  missingWarn: m,
6443
6443
  fallbackWarn: g,
6444
6444
  fallbackFormat: y,
6445
- unresolving: T,
6446
- postTranslation: I,
6445
+ unresolving: I,
6446
+ postTranslation: T,
6447
6447
  processor: _,
6448
6448
  warnHtmlMessage: k,
6449
6449
  escapeParameter: E,
@@ -6564,14 +6564,14 @@ function ph(e, t) {
6564
6564
  }
6565
6565
  const Ni = () => "", Ze = (e) => fe(e);
6566
6566
  function Pi(e, ...t) {
6567
- const { fallbackFormat: n, postTranslation: s, unresolving: o, messageCompiler: r, fallbackLocale: i, messages: a } = e, [l, h] = Nr(...t), f = Z(h.missingWarn) ? h.missingWarn : e.missingWarn, d = Z(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn, m = Z(h.escapeParameter) ? h.escapeParameter : e.escapeParameter, g = !!h.resolvedMessage, y = D(h.default) || Z(h.default) ? Z(h.default) ? r ? l : () => l : h.default : n ? r ? l : () => l : "", T = n || y !== "", I = po(e, h);
6567
+ const { fallbackFormat: n, postTranslation: s, unresolving: o, messageCompiler: r, fallbackLocale: i, messages: a } = e, [l, h] = Nr(...t), f = Z(h.missingWarn) ? h.missingWarn : e.missingWarn, d = Z(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn, m = Z(h.escapeParameter) ? h.escapeParameter : e.escapeParameter, g = !!h.resolvedMessage, y = D(h.default) || Z(h.default) ? Z(h.default) ? r ? l : () => l : h.default : n ? r ? l : () => l : "", I = n || y !== "", T = po(e, h);
6568
6568
  m && gh(h);
6569
6569
  let [_, k, E] = g ? [
6570
6570
  l,
6571
- I,
6572
- a[I] || {}
6573
- ] : Sl(e, l, I, i, d, f), b = _, x = l;
6574
- if (!g && !(D(b) || En(b) || Ze(b)) && T && (b = y, x = b), !g && (!(D(b) || En(b) || Ze(b)) || !D(k)))
6571
+ T,
6572
+ a[T] || {}
6573
+ ] : Sl(e, l, T, i, d, f), b = _, x = l;
6574
+ if (!g && !(D(b) || En(b) || Ze(b)) && I && (b = y, x = b), !g && (!(D(b) || En(b) || Ze(b)) || !D(k)))
6575
6575
  return o ? Gs : l;
6576
6576
  let N = !1;
6577
6577
  const R = () => {
@@ -6601,8 +6601,8 @@ function Sl(e, t, n, s, o, r) {
6601
6601
  const { messages: i, onWarn: a, messageResolver: l, localeFallbacker: h } = e, f = h(e, s, n);
6602
6602
  let d = {}, m, g = null;
6603
6603
  const y = "translate";
6604
- for (let T = 0; T < f.length && (m = f[T], d = i[m] || {}, (g = l(d, t)) === null && (g = d[t]), !(D(g) || En(g) || Ze(g))); T++) {
6605
- const I = go(
6604
+ for (let I = 0; I < f.length && (m = f[I], d = i[m] || {}, (g = l(d, t)) === null && (g = d[t]), !(D(g) || En(g) || Ze(g))); I++) {
6605
+ const T = go(
6606
6606
  e,
6607
6607
  // eslint-disable-line @typescript-eslint/no-explicit-any
6608
6608
  t,
@@ -6610,7 +6610,7 @@ function Sl(e, t, n, s, o, r) {
6610
6610
  r,
6611
6611
  y
6612
6612
  );
6613
- I !== t && (g = I);
6613
+ T !== t && (g = T);
6614
6614
  }
6615
6615
  return [g, m, d];
6616
6616
  }
@@ -6656,15 +6656,15 @@ function yh(e, t, n, s) {
6656
6656
  messages: (g) => {
6657
6657
  let y = i(n, g);
6658
6658
  if (y == null && f) {
6659
- const [, , T] = Sl(f, g, t, a, l, h);
6660
- y = i(T, g);
6659
+ const [, , I] = Sl(f, g, t, a, l, h);
6660
+ y = i(I, g);
6661
6661
  }
6662
6662
  if (D(y) || En(y)) {
6663
- let T = !1;
6663
+ let I = !1;
6664
6664
  const _ = Cl(e, g, t, y, g, () => {
6665
- T = !0;
6665
+ I = !0;
6666
6666
  });
6667
- return T ? Ni : _;
6667
+ return I ? Ni : _;
6668
6668
  } else
6669
6669
  return Ze(y) ? y : Ni;
6670
6670
  }
@@ -6674,7 +6674,7 @@ function yh(e, t, n, s) {
6674
6674
  function Ai(e, ...t) {
6675
6675
  const { datetimeFormats: n, unresolving: s, fallbackLocale: o, onWarn: r, localeFallbacker: i } = e, { __datetimeFormatters: a } = e, [l, h, f, d] = Pr(...t), m = Z(f.missingWarn) ? f.missingWarn : e.missingWarn;
6676
6676
  Z(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn;
6677
- const g = !!f.part, y = po(e, f), T = i(
6677
+ const g = !!f.part, y = po(e, f), I = i(
6678
6678
  e,
6679
6679
  // eslint-disable-line @typescript-eslint/no-explicit-any
6680
6680
  o,
@@ -6682,9 +6682,9 @@ function Ai(e, ...t) {
6682
6682
  );
6683
6683
  if (!D(l) || l === "")
6684
6684
  return new Intl.DateTimeFormat(y, d).format(h);
6685
- let I = {}, _, k = null;
6685
+ let T = {}, _, k = null;
6686
6686
  const E = "datetime format";
6687
- for (let N = 0; N < T.length && (_ = T[N], I = n[_] || {}, k = I[l], !z(k)); N++)
6687
+ for (let N = 0; N < I.length && (_ = I[N], T = n[_] || {}, k = T[l], !z(k)); N++)
6688
6688
  go(e, l, _, m, E);
6689
6689
  if (!z(k) || !D(_))
6690
6690
  return s ? Gs : l;
@@ -6751,7 +6751,7 @@ function Ri(e, t, n) {
6751
6751
  function Mi(e, ...t) {
6752
6752
  const { numberFormats: n, unresolving: s, fallbackLocale: o, onWarn: r, localeFallbacker: i } = e, { __numberFormatters: a } = e, [l, h, f, d] = Ar(...t), m = Z(f.missingWarn) ? f.missingWarn : e.missingWarn;
6753
6753
  Z(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn;
6754
- const g = !!f.part, y = po(e, f), T = i(
6754
+ const g = !!f.part, y = po(e, f), I = i(
6755
6755
  e,
6756
6756
  // eslint-disable-line @typescript-eslint/no-explicit-any
6757
6757
  o,
@@ -6759,9 +6759,9 @@ function Mi(e, ...t) {
6759
6759
  );
6760
6760
  if (!D(l) || l === "")
6761
6761
  return new Intl.NumberFormat(y, d).format(h);
6762
- let I = {}, _, k = null;
6762
+ let T = {}, _, k = null;
6763
6763
  const E = "number format";
6764
- for (let N = 0; N < T.length && (_ = T[N], I = n[_] || {}, k = I[l], !z(k)); N++)
6764
+ for (let N = 0; N < I.length && (_ = I[N], T = n[_] || {}, k = T[l], !z(k)); N++)
6765
6765
  go(e, l, _, m, E);
6766
6766
  if (!z(k) || !D(_))
6767
6767
  return s ? Gs : l;
@@ -6939,7 +6939,7 @@ function _o(e = {}, t) {
6939
6939
  // prettier-ignore
6940
6940
  n && a ? n.fallbackLocale.value : D(e.fallbackLocale) || he(e.fallbackLocale) || z(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
6941
6941
  ), f = i(Ys(l.value, e)), d = i(z(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), m = i(z(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
6942
- let g = n ? n.missingWarn : Z(e.missingWarn) || Ft(e.missingWarn) ? e.missingWarn : !0, y = n ? n.fallbackWarn : Z(e.fallbackWarn) || Ft(e.fallbackWarn) ? e.fallbackWarn : !0, T = n ? n.fallbackRoot : Z(e.fallbackRoot) ? e.fallbackRoot : !0, I = !!e.fallbackFormat, _ = fe(e.missing) ? e.missing : null, k = fe(e.missing) ? Wi(e.missing) : null, E = fe(e.postTranslation) ? e.postTranslation : null, b = n ? n.warnHtmlMessage : Z(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, x = !!e.escapeParameter;
6942
+ let g = n ? n.missingWarn : Z(e.missingWarn) || Ft(e.missingWarn) ? e.missingWarn : !0, y = n ? n.fallbackWarn : Z(e.fallbackWarn) || Ft(e.fallbackWarn) ? e.fallbackWarn : !0, I = n ? n.fallbackRoot : Z(e.fallbackRoot) ? e.fallbackRoot : !0, T = !!e.fallbackFormat, _ = fe(e.missing) ? e.missing : null, k = fe(e.missing) ? Wi(e.missing) : null, E = fe(e.postTranslation) ? e.postTranslation : null, b = n ? n.warnHtmlMessage : Z(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, x = !!e.escapeParameter;
6943
6943
  const N = n ? n.modifiers : z(e.modifiers) ? e.modifiers : {};
6944
6944
  let R = e.pluralRules || n && n.pluralRules, C;
6945
6945
  C = (() => {
@@ -6954,7 +6954,7 @@ function _o(e = {}, t) {
6954
6954
  missing: k === null ? void 0 : k,
6955
6955
  missingWarn: g,
6956
6956
  fallbackWarn: y,
6957
- fallbackFormat: I,
6957
+ fallbackFormat: T,
6958
6958
  unresolving: !0,
6959
6959
  postTranslation: E === null ? void 0 : E,
6960
6960
  warnHtmlMessage: b,
@@ -7010,7 +7010,7 @@ function _o(e = {}, t) {
7010
7010
  if (W !== "translate exists" && // for not `te` (e.g `t`)
7011
7011
  ye(ve) && ve === Gs || W === "translate exists" && !ve) {
7012
7012
  const [It, Zs] = O();
7013
- return n && T ? H(n) : te(It);
7013
+ return n && I ? H(n) : te(It);
7014
7014
  } else {
7015
7015
  if (pe(ve))
7016
7016
  return ve;
@@ -7188,16 +7188,16 @@ function _o(e = {}, t) {
7188
7188
  y = v, C.fallbackWarn = y;
7189
7189
  },
7190
7190
  get fallbackRoot() {
7191
- return T;
7191
+ return I;
7192
7192
  },
7193
7193
  set fallbackRoot(v) {
7194
- T = v;
7194
+ I = v;
7195
7195
  },
7196
7196
  get fallbackFormat() {
7197
- return I;
7197
+ return T;
7198
7198
  },
7199
7199
  set fallbackFormat(v) {
7200
- I = v, C.fallbackFormat = I;
7200
+ T = v, C.fallbackFormat = T;
7201
7201
  },
7202
7202
  get warnHtmlMessage() {
7203
7203
  return b;
@@ -7233,7 +7233,7 @@ function Ih(e) {
7233
7233
  return Le(U, x[C]), R;
7234
7234
  }, y || {});
7235
7235
  }
7236
- const { __i18n: T, __root: I, __injectWithOption: _ } = e, k = e.datetimeFormats, E = e.numberFormats, b = e.flatJson;
7236
+ const { __i18n: I, __root: T, __injectWithOption: _ } = e, k = e.datetimeFormats, E = e.numberFormats, b = e.flatJson;
7237
7237
  return {
7238
7238
  locale: t,
7239
7239
  fallbackLocale: n,
@@ -7253,8 +7253,8 @@ function Ih(e) {
7253
7253
  escapeParameter: m,
7254
7254
  messageResolver: e.messageResolver,
7255
7255
  inheritLocale: g,
7256
- __i18n: T,
7257
- __root: I,
7256
+ __i18n: I,
7257
+ __root: T,
7258
7258
  __injectWithOption: _
7259
7259
  };
7260
7260
  }
@@ -7537,8 +7537,8 @@ function jl(e, t, n, s) {
7537
7537
  const l = s(e.value, i, a);
7538
7538
  let h = [i.key];
7539
7539
  he(l) ? h = l.map((m, g) => {
7540
- const y = o[m.type], T = y ? y({ [m.type]: m.value, index: g, parts: l }) : [m.value];
7541
- return Oh(T) && (T[0].key = `${m.type}-${g}`), T;
7540
+ const y = o[m.type], I = y ? y({ [m.type]: m.value, index: g, parts: l }) : [m.value];
7541
+ return Oh(I) && (I[0].key = `${m.type}-${g}`), I;
7542
7542
  }) : D(l) && (h = [l]);
7543
7543
  const f = Le({}, r), d = D(e.tag) || ie(e.tag) ? e.tag : Ul();
7544
7544
  return rl(d, f, h);
@@ -7735,11 +7735,11 @@ function Mh(e = {}, t) {
7735
7735
  const _ = y[0];
7736
7736
  m.__composerExtend = _.__composerExtend, m.__vueI18nExtend = _.__vueI18nExtend;
7737
7737
  }
7738
- let T = null;
7739
- !n && s && (T = zh(g, m.global)), __VUE_I18N_FULL_INSTALL__ && Ph(g, m, ...y), __VUE_I18N_LEGACY_API__ && n && g.mixin(Ah(a, a.__composer, m));
7740
- const I = g.unmount;
7738
+ let I = null;
7739
+ !n && s && (I = zh(g, m.global)), __VUE_I18N_FULL_INSTALL__ && Ph(g, m, ...y), __VUE_I18N_LEGACY_API__ && n && g.mixin(Ah(a, a.__composer, m));
7740
+ const T = g.unmount;
7741
7741
  g.unmount = () => {
7742
- T && T(), m.dispose(), I();
7742
+ I && I(), m.dispose(), T();
7743
7743
  };
7744
7744
  },
7745
7745
  // global accessor
@@ -7850,7 +7850,7 @@ function Vh(e, t, n, s = {}) {
7850
7850
  ), l = ne(
7851
7851
  // prettier-ignore
7852
7852
  !o || i ? n.fallbackLocale.value : D(s.fallbackLocale) || he(s.fallbackLocale) || z(s.fallbackLocale) || s.fallbackLocale === !1 ? s.fallbackLocale : a.value
7853
- ), h = ne(Ys(a.value, s)), f = ne(z(s.datetimeFormats) ? s.datetimeFormats : { [a.value]: {} }), d = ne(z(s.numberFormats) ? s.numberFormats : { [a.value]: {} }), m = o ? n.missingWarn : Z(s.missingWarn) || Ft(s.missingWarn) ? s.missingWarn : !0, g = o ? n.fallbackWarn : Z(s.fallbackWarn) || Ft(s.fallbackWarn) ? s.fallbackWarn : !0, y = o ? n.fallbackRoot : Z(s.fallbackRoot) ? s.fallbackRoot : !0, T = !!s.fallbackFormat, I = fe(s.missing) ? s.missing : null, _ = fe(s.postTranslation) ? s.postTranslation : null, k = o ? n.warnHtmlMessage : Z(s.warnHtmlMessage) ? s.warnHtmlMessage : !0, E = !!s.escapeParameter, b = o ? n.modifiers : z(s.modifiers) ? s.modifiers : {}, x = s.pluralRules || o && n.pluralRules;
7853
+ ), h = ne(Ys(a.value, s)), f = ne(z(s.datetimeFormats) ? s.datetimeFormats : { [a.value]: {} }), d = ne(z(s.numberFormats) ? s.numberFormats : { [a.value]: {} }), m = o ? n.missingWarn : Z(s.missingWarn) || Ft(s.missingWarn) ? s.missingWarn : !0, g = o ? n.fallbackWarn : Z(s.fallbackWarn) || Ft(s.fallbackWarn) ? s.fallbackWarn : !0, y = o ? n.fallbackRoot : Z(s.fallbackRoot) ? s.fallbackRoot : !0, I = !!s.fallbackFormat, T = fe(s.missing) ? s.missing : null, _ = fe(s.postTranslation) ? s.postTranslation : null, k = o ? n.warnHtmlMessage : Z(s.warnHtmlMessage) ? s.warnHtmlMessage : !0, E = !!s.escapeParameter, b = o ? n.modifiers : z(s.modifiers) ? s.modifiers : {}, x = s.pluralRules || o && n.pluralRules;
7854
7854
  function N() {
7855
7855
  return [
7856
7856
  a.value,
@@ -7878,7 +7878,7 @@ function Vh(e, t, n, s = {}) {
7878
7878
  r.value && r.value.setPostTranslationHandler(c);
7879
7879
  }
7880
7880
  function Xe() {
7881
- return r.value ? r.value.getMissingHandler() : I;
7881
+ return r.value ? r.value.getMissingHandler() : T;
7882
7882
  }
7883
7883
  function $e(c) {
7884
7884
  r.value && r.value.setMissingHandler(c);
@@ -7977,7 +7977,7 @@ function Vh(e, t, n, s = {}) {
7977
7977
  r.value && (r.value.fallbackRoot = c);
7978
7978
  },
7979
7979
  get fallbackFormat() {
7980
- return r.value ? r.value.fallbackFormat : T;
7980
+ return r.value ? r.value.fallbackFormat : I;
7981
7981
  },
7982
7982
  set fallbackFormat(c) {
7983
7983
  r.value && (r.value.fallbackFormat = c);
@@ -8021,7 +8021,7 @@ function Vh(e, t, n, s = {}) {
8021
8021
  c.mergeDateTimeFormat(p, f.value[p]);
8022
8022
  }), Object.keys(d.value).forEach((p) => {
8023
8023
  c.mergeNumberFormat(p, d.value[p]);
8024
- }), c.escapeParameter = E, c.fallbackFormat = T, c.fallbackRoot = y, c.fallbackWarn = g, c.missingWarn = m, c.warnHtmlMessage = k;
8024
+ }), c.escapeParameter = E, c.fallbackFormat = I, c.fallbackRoot = y, c.fallbackWarn = g, c.missingWarn = m, c.warnHtmlMessage = k;
8025
8025
  }
8026
8026
  return Ha(() => {
8027
8027
  if (e.proxy == null || e.proxy.$i18n == null)
@@ -8274,52 +8274,57 @@ function rm(e) {
8274
8274
  };
8275
8275
  }
8276
8276
  const Ur = "awesome-comment-comments", Xi = localStorage.getItem(Ur), ln = Xi ? JSON.parse(Xi) : {}, Bs = Nf("store", () => {
8277
- const e = qe("postId"), t = qe("comments"), n = ne(!!t?.length), s = ne(0), o = ne(""), r = ne(f(t || [])), i = ne(0), a = qe("ApiBaseUrl"), l = ne(!1), h = ne(!1);
8277
+ const e = qe("postId"), t = qe("comments"), n = ne(!!t?.length), s = ne(0), o = ne(""), r = ne([]), i = ne(0), a = qe("ApiBaseUrl"), l = ne(!1), h = ne(!1);
8278
8278
  function f(y) {
8279
- const T = {}, I = [];
8279
+ const I = {}, T = [];
8280
8280
  y.forEach((k) => {
8281
8281
  g(Number(k.id));
8282
8282
  const E = rm(k);
8283
- !k.ancestor_id || Number(k.ancestor_id) === 0 ? T[k.id] = E : I.push(E);
8283
+ !k.ancestor_id || Number(k.ancestor_id) === 0 ? I[k.id] = E : T.push(E);
8284
8284
  });
8285
8285
  const _ = ln[e];
8286
- return _ && (_.createdAt = new Date(_.createdAt), !_.ancestorId || Number(_.ancestorId) === 0 ? T[_.id] = _ : I.push(_)), I.forEach((k) => {
8287
- if (k.ancestorId in T) {
8288
- const E = T[k.ancestorId];
8286
+ return _ && (_.createdAt = new Date(_.createdAt), !_.ancestorId || Number(_.ancestorId) === 0 ? I[_.id] = _ : T.push(_)), T.forEach((k) => {
8287
+ if (k.ancestorId in I) {
8288
+ const E = I[k.ancestorId];
8289
8289
  E.children = [k, ...E.children || []];
8290
8290
  }
8291
- }), T;
8291
+ }), I;
8292
8292
  }
8293
- async function d() {
8294
- o.value = "", l.value = !0;
8295
- const y = new URLSearchParams();
8296
- y.append("postId", e), y.append("start", s.value.toString());
8297
- const T = await fetch(`${a}/api/comments?${y}`);
8298
- if (!T.ok) {
8299
- o.value = "Load comments failed. " + T.statusText, n.value = !0, l.value = !1;
8300
- return;
8301
- }
8302
- const I = await T.json();
8303
- if (I.code !== 0) {
8304
- o.value = "Load comments failed. " + I.message, n.value = !0, l.value = !1;
8293
+ async function d(y = !1) {
8294
+ if (l.value)
8305
8295
  return;
8296
+ o.value = "", l.value = !0;
8297
+ let I;
8298
+ if (y && t?.length)
8299
+ I = f(t);
8300
+ else {
8301
+ const T = new URLSearchParams();
8302
+ T.append("postId", e), T.append("start", s.value.toString());
8303
+ const _ = await fetch(`${a}/api/comments?${T}`);
8304
+ if (!_.ok) {
8305
+ o.value = "Load comments failed. " + _.statusText, n.value = !0, l.value = !1;
8306
+ return;
8307
+ }
8308
+ const k = await _.json();
8309
+ if (k.code !== 0) {
8310
+ o.value = "Load comments failed. " + k.message, n.value = !0, l.value = !1;
8311
+ return;
8312
+ }
8313
+ I = f(k.data || []);
8306
8314
  }
8307
- const _ = f(I.data || []);
8308
- h.value = Object.keys(_).length > 20, h.value && delete _[Object.keys(_)[0]], Object.assign(r.value, _);
8309
- const k = I.data?.length || 0;
8310
- return i.value += k, n.value = !0, l.value = !1, I;
8315
+ h.value = Object.keys(I).length > 20, h.value && delete I[Object.keys(I)[0]], Object.assign(r.value, I), i.value = Object.values(r.value).reduce((T, _) => T + 1 + (_.children?.length || 0), 0), n.value = !0, l.value = !1;
8311
8316
  }
8312
- function m(y, T, I, _ = vs.Pending, k, E) {
8317
+ function m(y, I, T, _ = vs.Pending, k, E) {
8313
8318
  const {
8314
8319
  sub: b = "",
8315
8320
  name: x = "",
8316
8321
  picture: N = "",
8317
8322
  email: R = "",
8318
8323
  nickname: C = ""
8319
- } = I, U = {
8324
+ } = T, U = {
8320
8325
  id: y,
8321
8326
  postId: e,
8322
- content: T,
8327
+ content: I,
8323
8328
  createdAt: /* @__PURE__ */ new Date(),
8324
8329
  user: {
8325
8330
  avatar: N,
@@ -8384,10 +8389,10 @@ const Ur = "awesome-comment-comments", Xi = localStorage.getItem(Ur), ln = Xi ?
8384
8389
  },
8385
8390
  emits: ["close", "update"],
8386
8391
  setup(e, { emit: t }) {
8387
- const n = e, s = t, o = fo(), r = Bs(), { t: i } = rn(), a = qe("ApiBaseUrl"), l = qe("Auth0Domain"), h = "0.7.2", f = ne(), d = ne(!1), m = ne(n.content || ""), g = ne("");
8392
+ const n = e, s = t, o = fo(), r = Bs(), { t: i } = rn(), a = qe("ApiBaseUrl"), l = qe("Auth0Domain"), h = "0.7.3", f = ne(), d = ne(!1), m = ne(n.content || ""), g = ne("");
8388
8393
  async function y(k) {
8389
8394
  if (!o.user.value)
8390
- return T();
8395
+ return I();
8391
8396
  if (k.target.matches(":invalid"))
8392
8397
  return;
8393
8398
  d.value = !0, g.value = "";
@@ -8427,10 +8432,10 @@ const Ur = "awesome-comment-comments", Xi = localStorage.getItem(Ur), ln = Xi ?
8427
8432
  }
8428
8433
  d.value = !1;
8429
8434
  }
8430
- function T() {
8435
+ function I() {
8431
8436
  o.loginWithPopup();
8432
8437
  }
8433
- function I(k) {
8438
+ function T(k) {
8434
8439
  sm(k, "Enter") && y(k);
8435
8440
  }
8436
8441
  function _() {
@@ -8453,7 +8458,7 @@ const Ur = "awesome-comment-comments", Xi = localStorage.getItem(Ur), ln = Xi ?
8453
8458
  placeholder: G(i)("placeholder"),
8454
8459
  required: "",
8455
8460
  onKeydown: [
8456
- ai(I, ["enter"]),
8461
+ ai(T, ["enter"]),
8457
8462
  ai(_, ["esc"])
8458
8463
  ],
8459
8464
  "onUpdate:modelValue": E[0] || (E[0] = (b) => m.value = b)
@@ -8753,12 +8758,12 @@ class Es {
8753
8758
  }
8754
8759
  }
8755
8760
  r.loose || (h ? r.loose = !0 : /\n *\n *$/.test(a) && (h = !0));
8756
- let T = null, I;
8757
- this.options.gfm && (T = /^\[[ xX]\] /.exec(l), T && (I = T[0] !== "[ ] ", l = l.replace(/^\[[ xX]\] +/, ""))), r.items.push({
8761
+ let I = null, T;
8762
+ this.options.gfm && (I = /^\[[ xX]\] /.exec(l), I && (T = I[0] !== "[ ] ", l = l.replace(/^\[[ xX]\] +/, ""))), r.items.push({
8758
8763
  type: "list_item",
8759
8764
  raw: a,
8760
- task: !!T,
8761
- checked: I,
8765
+ task: !!I,
8766
+ checked: T,
8762
8767
  loose: !1,
8763
8768
  text: l,
8764
8769
  tokens: []
@@ -8950,12 +8955,12 @@ class Es {
8950
8955
  l = Math.min(l, l + h + f);
8951
8956
  const m = [...o[0]][0].length, g = t.slice(0, i + o.index + m + l);
8952
8957
  if (Math.min(i, l) % 2) {
8953
- const T = g.slice(1, -1);
8958
+ const I = g.slice(1, -1);
8954
8959
  return {
8955
8960
  type: "em",
8956
8961
  raw: g,
8957
- text: T,
8958
- tokens: this.lexer.inlineTokens(T)
8962
+ text: I,
8963
+ tokens: this.lexer.inlineTokens(I)
8959
8964
  };
8960
8965
  }
8961
8966
  const y = g.slice(2, -2);
@@ -9561,15 +9566,15 @@ class pt {
9561
9566
  let f = "";
9562
9567
  for (let d = 0; d < i.items.length; d++) {
9563
9568
  const m = i.items[d], g = m.checked, y = m.task;
9564
- let T = "";
9569
+ let I = "";
9565
9570
  if (m.task) {
9566
- const I = this.renderer.checkbox(!!g);
9567
- h ? m.tokens.length > 0 && m.tokens[0].type === "paragraph" ? (m.tokens[0].text = I + " " + m.tokens[0].text, m.tokens[0].tokens && m.tokens[0].tokens.length > 0 && m.tokens[0].tokens[0].type === "text" && (m.tokens[0].tokens[0].text = I + " " + m.tokens[0].tokens[0].text)) : m.tokens.unshift({
9571
+ const T = this.renderer.checkbox(!!g);
9572
+ h ? m.tokens.length > 0 && m.tokens[0].type === "paragraph" ? (m.tokens[0].text = T + " " + m.tokens[0].text, m.tokens[0].tokens && m.tokens[0].tokens.length > 0 && m.tokens[0].tokens[0].type === "text" && (m.tokens[0].tokens[0].text = T + " " + m.tokens[0].tokens[0].text)) : m.tokens.unshift({
9568
9573
  type: "text",
9569
- text: I + " "
9570
- }) : T += I + " ";
9574
+ text: T + " "
9575
+ }) : I += T + " ";
9571
9576
  }
9572
- T += this.parse(m.tokens, h), f += this.renderer.listitem(T, y, !!g);
9577
+ I += this.parse(m.tokens, h), f += this.renderer.listitem(I, y, !!g);
9573
9578
  }
9574
9579
  s += this.renderer.list(f, a, l);
9575
9580
  continue;
@@ -10094,7 +10099,7 @@ const Zm = ["id"], Jm = { class: "p-6 text-base bg-base-200 rounded-lg dark:bg-g
10094
10099
  ...Ip,
10095
10100
  setup(e) {
10096
10101
  const { t } = rn(), n = Bs();
10097
- n.loadComments();
10102
+ n.loadComments(!0);
10098
10103
  function s() {
10099
10104
  n.start += 20, n.loadComments();
10100
10105
  }