@romainbx/wpic-components 0.0.23 → 0.0.25

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.
@@ -114,7 +114,7 @@ function B0(t) {
114
114
  function L0(t) {
115
115
  return t == null ? t === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(t);
116
116
  }
117
- function ju(t) {
117
+ function zu(t) {
118
118
  if (!B0(t) || L0(t) !== "[object Object]")
119
119
  return !1;
120
120
  if (Object.getPrototypeOf(t) === null)
@@ -126,7 +126,7 @@ function ju(t) {
126
126
  }
127
127
  function Ts(t, e) {
128
128
  return Object.keys(e).forEach((n) => {
129
- if (ju(e[n]) && ju(t[n])) {
129
+ if (zu(e[n]) && zu(t[n])) {
130
130
  t[n] || (t[n] = {}), Ts(t[n], e[n]);
131
131
  return;
132
132
  }
@@ -149,16 +149,16 @@ function ds(t) {
149
149
  }
150
150
  const Th = {};
151
151
  function ln(t, e) {
152
- j0(t, e), Th[t] = e;
152
+ z0(t, e), Th[t] = e;
153
153
  }
154
154
  function F0(t) {
155
155
  return Th[t];
156
156
  }
157
- function j0(t, e) {
157
+ function z0(t, e) {
158
158
  if (!Ze(e))
159
159
  throw new Error(`Extension Error: The validator '${t}' must be a function.`);
160
160
  }
161
- function zu(t, e, n) {
161
+ function ju(t, e, n) {
162
162
  typeof n.value == "object" && (n.value = Ee(n.value)), !n.enumerable || n.get || n.set || !n.configurable || !n.writable || e === "__proto__" ? Object.defineProperty(t, e, n) : t[e] = n.value;
163
163
  }
164
164
  function Ee(t) {
@@ -171,13 +171,13 @@ function Ee(t) {
171
171
  i.set(Ee(a), Ee(o));
172
172
  })) : s === "[object Date]" ? i = /* @__PURE__ */ new Date(+t) : s === "[object RegExp]" ? i = new RegExp(t.source, t.flags) : s === "[object DataView]" ? i = new t.constructor(Ee(t.buffer)) : s === "[object ArrayBuffer]" ? i = t.slice(0) : s.slice(-6) === "Array]" && (i = new t.constructor(t)), i) {
173
173
  for (r = Object.getOwnPropertySymbols(t); e < r.length; e++)
174
- zu(i, r[e], Object.getOwnPropertyDescriptor(t, r[e]));
174
+ ju(i, r[e], Object.getOwnPropertyDescriptor(t, r[e]));
175
175
  for (e = 0, r = Object.getOwnPropertyNames(t); e < r.length; e++)
176
- Object.hasOwnProperty.call(i, n = r[e]) && i[n] === t[n] || zu(i, n, Object.getOwnPropertyDescriptor(t, n));
176
+ Object.hasOwnProperty.call(i, n = r[e]) && i[n] === t[n] || ju(i, n, Object.getOwnPropertyDescriptor(t, n));
177
177
  }
178
178
  return i || t;
179
179
  }
180
- const qs = Symbol("vee-validate-form"), Dh = Symbol("vee-validate-field-instance"), $o = Symbol("Default empty value"), z0 = typeof window < "u";
180
+ const qs = Symbol("vee-validate-form"), Dh = Symbol("vee-validate-field-instance"), $o = Symbol("Default empty value"), j0 = typeof window < "u";
181
181
  function Il(t) {
182
182
  return Ze(t) && !!t.__locatorRef;
183
183
  }
@@ -281,7 +281,7 @@ function mt(t, e) {
281
281
  return t !== t && e !== e;
282
282
  }
283
283
  function Wu(t) {
284
- return z0 ? t instanceof File : !1;
284
+ return j0 ? t instanceof File : !1;
285
285
  }
286
286
  function Ec(t) {
287
287
  return da(t) ? t.replace(/\[|\]/gi, "") : t;
@@ -1073,7 +1073,7 @@ function Lh(t, e, n) {
1073
1073
  bails: s,
1074
1074
  label: l,
1075
1075
  type: o,
1076
- validate: k.value ? z : void 0,
1076
+ validate: k.value ? j : void 0,
1077
1077
  schema: T ? e : void 0
1078
1078
  }), ne = oe(() => N.value[0]);
1079
1079
  h && Ty({
@@ -1083,7 +1083,7 @@ function Lh(t, e, n) {
1083
1083
  shouldValidate: () => c && !L.pendingReset
1084
1084
  });
1085
1085
  const Q = (H, ae = !1) => {
1086
- S.touched = !0, ae && j();
1086
+ S.touched = !0, ae && z();
1087
1087
  };
1088
1088
  async function I(H) {
1089
1089
  var ae, De;
@@ -1098,9 +1098,9 @@ function Lh(t, e, n) {
1098
1098
  bails: s
1099
1099
  }) : { valid: !0, errors: [] };
1100
1100
  }
1101
- const j = Rl(async () => (S.pending = !0, S.validated = !0, I("validated-only")), (H) => (L.pendingUnmount[Pe.id] || (A({ errors: H.errors }), S.pending = !1, S.valid = H.valid), H)), W = Rl(async () => I("silent"), (H) => (S.valid = H.valid, H));
1102
- function z(H) {
1103
- return (H == null ? void 0 : H.mode) === "silent" ? W() : j();
1101
+ const z = Rl(async () => (S.pending = !0, S.validated = !0, I("validated-only")), (H) => (L.pendingUnmount[Pe.id] || (A({ errors: H.errors }), S.pending = !1, S.valid = H.valid), H)), W = Rl(async () => I("silent"), (H) => (S.valid = H.valid, H));
1102
+ function j(H) {
1103
+ return (H == null ? void 0 : H.mode) === "silent" ? W() : z();
1104
1104
  }
1105
1105
  function P(H, ae = !0) {
1106
1106
  const De = Io(H);
@@ -1108,7 +1108,7 @@ function Lh(t, e, n) {
1108
1108
  }
1109
1109
  Kn(() => {
1110
1110
  if (i)
1111
- return j();
1111
+ return z();
1112
1112
  (!g || !g.validateSchema) && W();
1113
1113
  });
1114
1114
  function ee(H) {
@@ -1126,7 +1126,7 @@ function Lh(t, e, n) {
1126
1126
  }
1127
1127
  const tt = Un();
1128
1128
  function wt(H, ae = !0) {
1129
- O.value = tt && h ? K0(H, tt.props.modelModifiers) : H, (ae ? j : W)();
1129
+ O.value = tt && h ? K0(H, tt.props.modelModifiers) : H, (ae ? z : W)();
1130
1130
  }
1131
1131
  function Et(H) {
1132
1132
  A({ errors: Array.isArray(H) ? H : [H] });
@@ -1153,7 +1153,7 @@ function Lh(t, e, n) {
1153
1153
  keepValueOnUnmount: f,
1154
1154
  resetField: Ce,
1155
1155
  handleReset: () => Ce(),
1156
- validate: z,
1156
+ validate: j,
1157
1157
  handleChange: P,
1158
1158
  handleBlur: Q,
1159
1159
  setState: A,
@@ -1162,7 +1162,7 @@ function Lh(t, e, n) {
1162
1162
  setValue: wt
1163
1163
  };
1164
1164
  if (Cs(Dh, Pe), No(e) && typeof $(e) != "function" && pt(e, (H, ae) => {
1165
- mt(H, ae) || (S.validated ? j() : W());
1165
+ mt(H, ae) || (S.validated ? z() : W());
1166
1166
  }, {
1167
1167
  deep: !0
1168
1168
  }), process.env.NODE_ENV !== "production" && (Pe._vm = Un(), pt(() => Object.assign(Object.assign({ errors: N.value }, S), { value: O.value }), _i, {
@@ -1182,7 +1182,7 @@ function Lh(t, e, n) {
1182
1182
  return pt(ut, (H, ae) => {
1183
1183
  if (!Object.keys(H).length)
1184
1184
  return;
1185
- !mt(H, ae) && (S.validated ? j() : W());
1185
+ !mt(H, ae) && (S.validated ? z() : W());
1186
1186
  }), Qr(() => {
1187
1187
  var H;
1188
1188
  const ae = (H = ve(Pe.keepValueOnUnmount)) !== null && H !== void 0 ? H : ve(g.keepValuesOnUnmount), De = ve(b);
@@ -1360,22 +1360,22 @@ const Dy = /* @__PURE__ */ wr({
1360
1360
  d(N, L);
1361
1361
  }, y = oe(() => {
1362
1362
  const { validateOnInput: A, validateOnChange: N, validateOnBlur: L, validateOnModelUpdate: ne } = _y(t);
1363
- function Q(z) {
1364
- f(z, L), Ze(e.attrs.onBlur) && e.attrs.onBlur(z);
1363
+ function Q(j) {
1364
+ f(j, L), Ze(e.attrs.onBlur) && e.attrs.onBlur(j);
1365
1365
  }
1366
- function I(z) {
1367
- T(z, A), Ze(e.attrs.onInput) && e.attrs.onInput(z);
1366
+ function I(j) {
1367
+ T(j, A), Ze(e.attrs.onInput) && e.attrs.onInput(j);
1368
1368
  }
1369
- function j(z) {
1370
- T(z, N), Ze(e.attrs.onChange) && e.attrs.onChange(z);
1369
+ function z(j) {
1370
+ T(j, N), Ze(e.attrs.onChange) && e.attrs.onChange(j);
1371
1371
  }
1372
1372
  const W = {
1373
1373
  name: t.name,
1374
1374
  onBlur: Q,
1375
1375
  onInput: I,
1376
- onChange: j
1376
+ onChange: z
1377
1377
  };
1378
- return W["onUpdate:modelValue"] = (z) => T(z, ne), W;
1378
+ return W["onUpdate:modelValue"] = (j) => T(j, ne), W;
1379
1379
  }), O = oe(() => {
1380
1380
  const A = Object.assign({}, y.value);
1381
1381
  Gs(e.attrs.type) && b && (A.checked = b.value);
@@ -1448,7 +1448,7 @@ function Ny(t) {
1448
1448
  d.value = c.value.reduce((C, M) => (C[ds(ve(M.path))] = M, C), {});
1449
1449
  });
1450
1450
  function h(C, M) {
1451
- const R = z(C);
1451
+ const R = j(C);
1452
1452
  if (!R) {
1453
1453
  typeof C == "string" && (u.value[ds(C)] = Vl(M));
1454
1454
  return;
@@ -1495,7 +1495,7 @@ function Ny(t) {
1495
1495
  return (Nt = (dt = hn.describe) === null || dt === void 0 ? void 0 : dt.call(hn, ve(C)).required) !== null && Nt !== void 0 ? Nt : !1;
1496
1496
  const ns = ve(M == null ? void 0 : M.schema);
1497
1497
  return en(ns) && (tr = (Dr = ns.describe) === null || Dr === void 0 ? void 0 : Dr.call(ns).required) !== null && tr !== void 0 ? tr : !1;
1498
- }), _e = r++, je = qr({
1498
+ }), _e = r++, ze = qr({
1499
1499
  id: _e,
1500
1500
  path: C,
1501
1501
  touched: !1,
@@ -1518,34 +1518,34 @@ function Ny(t) {
1518
1518
  validate: M == null ? void 0 : M.validate,
1519
1519
  dirty: oe(() => !mt($(q), $(ie)))
1520
1520
  });
1521
- return c.value.push(je), d.value[re] = je, f(), g.value[re] && !T[re] && St(() => {
1521
+ return c.value.push(ze), d.value[re] = ze, f(), g.value[re] && !T[re] && St(() => {
1522
1522
  Ft(re, { mode: "silent" });
1523
1523
  }), No(C) && pt(C, (dt) => {
1524
1524
  f();
1525
1525
  const Nt = Ee(q.value);
1526
- d.value[dt] = je, St(() => {
1526
+ d.value[dt] = ze, St(() => {
1527
1527
  In(l, dt, Nt);
1528
1528
  });
1529
- }), je;
1529
+ }), ze;
1530
1530
  }
1531
- const Q = qu(fn, 5), I = qu(fn, 5), j = Rl(async (C) => await (C === "silent" ? Q() : I()), (C, [M]) => {
1531
+ const Q = qu(fn, 5), I = qu(fn, 5), z = Rl(async (C) => await (C === "silent" ? Q() : I()), (C, [M]) => {
1532
1532
  const R = Ot(H.errorBag.value), ie = [
1533
1533
  .../* @__PURE__ */ new Set([...Ot(C.results), ...c.value.map((w) => w.path), ...R])
1534
1534
  ].sort().reduce((w, B) => {
1535
1535
  var q;
1536
- const re = B, se = z(re) || P(re), fe = ((q = C.results[re]) === null || q === void 0 ? void 0 : q.errors) || [], _e = ve(se == null ? void 0 : se.path) || re, je = Iy({ errors: fe, valid: !fe.length }, w.results[_e]);
1537
- return w.results[_e] = je, je.valid || (w.errors[_e] = je.errors[0]), se && u.value[_e] && delete u.value[_e], se ? (se.valid = je.valid, M === "silent" || M === "validated-only" && !se.validated || h(se, je.errors), w) : (h(_e, fe), w);
1536
+ const re = B, se = j(re) || P(re), fe = ((q = C.results[re]) === null || q === void 0 ? void 0 : q.errors) || [], _e = ve(se == null ? void 0 : se.path) || re, ze = Iy({ errors: fe, valid: !fe.length }, w.results[_e]);
1537
+ return w.results[_e] = ze, ze.valid || (w.errors[_e] = ze.errors[0]), se && u.value[_e] && delete u.value[_e], se ? (se.valid = ze.valid, M === "silent" || M === "validated-only" && !se.validated || h(se, ze.errors), w) : (h(_e, fe), w);
1538
1538
  }, { valid: C.valid, results: {}, errors: {} });
1539
1539
  return C.values && (ie.values = C.values), Ot(ie.results).forEach((w) => {
1540
1540
  var B;
1541
- const q = z(w);
1541
+ const q = j(w);
1542
1542
  q && M !== "silent" && (M === "validated-only" && !q.validated || h(q, (B = ie.results[w]) === null || B === void 0 ? void 0 : B.errors));
1543
1543
  }), ie;
1544
1544
  });
1545
1545
  function W(C) {
1546
1546
  c.value.forEach(C);
1547
1547
  }
1548
- function z(C) {
1548
+ function j(C) {
1549
1549
  const M = typeof C == "string" ? ds(C) : C;
1550
1550
  return typeof M == "string" ? d.value[M] : M;
1551
1551
  }
@@ -1604,7 +1604,7 @@ function Ny(t) {
1604
1604
  const ie = U.id.indexOf(M);
1605
1605
  ie >= 0 && U.id.splice(ie, 1), delete U.__flags.pendingUnmount[M];
1606
1606
  }
1607
- (!U.multiple || U.fieldsCount <= 0) && (c.value.splice(R, 1), jt(C), f(), delete d.value[C]);
1607
+ (!U.multiple || U.fieldsCount <= 0) && (c.value.splice(R, 1), zt(C), f(), delete d.value[C]);
1608
1608
  }
1609
1609
  }
1610
1610
  function ut(C) {
@@ -1627,7 +1627,7 @@ function Ny(t) {
1627
1627
  isValidating: s,
1628
1628
  fieldArrays: a,
1629
1629
  keepValuesOnUnmount: y,
1630
- validateSchema: $(L) ? j : void 0,
1630
+ validateSchema: $(L) ? z : void 0,
1631
1631
  validate: Zt,
1632
1632
  setFieldError: h,
1633
1633
  validateField: Ft,
@@ -1644,10 +1644,10 @@ function Ny(t) {
1644
1644
  defineComponentBinds: si,
1645
1645
  defineField: er,
1646
1646
  stageInitialValue: dn,
1647
- unsetInitialValue: jt,
1647
+ unsetInitialValue: zt,
1648
1648
  setFieldInitialValue: Nn,
1649
1649
  createPathState: ne,
1650
- getPathState: z,
1650
+ getPathState: j,
1651
1651
  unsetPathValue: tt,
1652
1652
  removePathState: Pe,
1653
1653
  initialValues: O,
@@ -1659,7 +1659,7 @@ function Ny(t) {
1659
1659
  };
1660
1660
  function ae(C, M, R = !0) {
1661
1661
  const U = Ee(M), ie = typeof C == "string" ? C : C.path;
1662
- z(ie) || ne(ie), In(l, ie, U), R && Ft(ie);
1662
+ j(ie) || ne(ie), In(l, ie, U), R && Ft(ie);
1663
1663
  }
1664
1664
  function De(C, M = !0) {
1665
1665
  Ot(l).forEach((R) => {
@@ -1672,7 +1672,7 @@ function Ny(t) {
1672
1672
  Ts(l, C), a.forEach((R) => R && R.reset()), M && Zt();
1673
1673
  }
1674
1674
  function Ge(C, M) {
1675
- const R = z(ve(C)) || ne(C);
1675
+ const R = j(ve(C)) || ne(C);
1676
1676
  return oe({
1677
1677
  get() {
1678
1678
  return R.value;
@@ -1685,19 +1685,19 @@ function Ny(t) {
1685
1685
  });
1686
1686
  }
1687
1687
  function Ke(C, M) {
1688
- const R = z(C);
1688
+ const R = j(C);
1689
1689
  R && (R.touched = M);
1690
1690
  }
1691
1691
  function kt(C) {
1692
- const M = z(C);
1692
+ const M = j(C);
1693
1693
  return M ? M.touched : c.value.filter((R) => R.path.startsWith(C)).some((R) => R.touched);
1694
1694
  }
1695
1695
  function Cr(C) {
1696
- const M = z(C);
1696
+ const M = j(C);
1697
1697
  return M ? M.dirty : c.value.filter((R) => R.path.startsWith(C)).some((R) => R.dirty);
1698
1698
  }
1699
1699
  function ni(C) {
1700
- const M = z(C);
1700
+ const M = j(C);
1701
1701
  return M ? M.valid : c.value.filter((R) => R.path.startsWith(C)).every((R) => R.valid);
1702
1702
  }
1703
1703
  function Xn(C) {
@@ -1713,7 +1713,7 @@ function Ny(t) {
1713
1713
  }
1714
1714
  function Qn(C, M) {
1715
1715
  var R;
1716
- const U = M && "value" in M ? M.value : Ct(O.value, C), ie = z(C);
1716
+ const U = M && "value" in M ? M.value : Ct(O.value, C), ie = j(C);
1717
1717
  ie && (ie.__flags.pendingReset = !0), Nn(C, Ee(U), !0), ae(C, U, !1), Ke(C, (R = M == null ? void 0 : M.touched) !== null && R !== void 0 ? R : !1), h(C, (M == null ? void 0 : M.errors) || []), St(() => {
1718
1718
  ie && (ie.__flags.pendingReset = !1);
1719
1719
  });
@@ -1758,14 +1758,14 @@ function Ny(t) {
1758
1758
  }
1759
1759
  async function Ft(C, M) {
1760
1760
  var R;
1761
- const U = z(C);
1761
+ const U = j(C);
1762
1762
  if (U && (M == null ? void 0 : M.mode) !== "silent" && (U.validated = !0), L) {
1763
- const { results: w } = await j((M == null ? void 0 : M.mode) || "validated-only");
1763
+ const { results: w } = await z((M == null ? void 0 : M.mode) || "validated-only");
1764
1764
  return w[C] || { errors: [], valid: !0 };
1765
1765
  }
1766
1766
  return U != null && U.validate ? U.validate(M) : (!U && ((R = M == null ? void 0 : M.warn) !== null && R !== void 0 ? R : !0) && process.env.NODE_ENV !== "production" && w0(`field with path ${C} was not found`), Promise.resolve({ errors: [], valid: !0 }));
1767
1767
  }
1768
- function jt(C) {
1768
+ function zt(C) {
1769
1769
  Yu(O.value, C);
1770
1770
  }
1771
1771
  function dn(C, M, R = !1) {
@@ -1801,7 +1801,7 @@ function Ny(t) {
1801
1801
  deep: !0
1802
1802
  }));
1803
1803
  function er(C, M) {
1804
- const R = Ze(M) || M == null ? void 0 : M.label, U = z(ve(C)) || ne(C, { label: R }), ie = () => Ze(M) ? M(uo(U, fo)) : M || {};
1804
+ const R = Ze(M) || M == null ? void 0 : M.label, U = j(ve(C)) || ne(C, { label: R }), ie = () => Ze(M) ? M(uo(U, fo)) : M || {};
1805
1805
  function w() {
1806
1806
  var fe;
1807
1807
  U.touched = !0, ((fe = ie().validateOnBlur) !== null && fe !== void 0 ? fe : Ir().validateOnBlur) && Ft(U.path);
@@ -1827,8 +1827,8 @@ function Ny(t) {
1827
1827
  return Ze(M) ? Object.assign(Object.assign({}, fe), M(uo(U, fo)).props || {}) : M != null && M.props ? Object.assign(Object.assign({}, fe), M.props(uo(U, fo))) : fe;
1828
1828
  });
1829
1829
  return [Ge(C, () => {
1830
- var fe, _e, je;
1831
- return (je = (fe = ie().validateOnModelUpdate) !== null && fe !== void 0 ? fe : (_e = Ir()) === null || _e === void 0 ? void 0 : _e.validateOnModelUpdate) !== null && je !== void 0 ? je : !0;
1830
+ var fe, _e, ze;
1831
+ return (ze = (fe = ie().validateOnModelUpdate) !== null && fe !== void 0 ? fe : (_e = Ir()) === null || _e === void 0 ? void 0 : _e.validateOnModelUpdate) !== null && ze !== void 0 ? ze : !0;
1832
1832
  }), re];
1833
1833
  }
1834
1834
  function ri(C) {
@@ -1855,7 +1855,7 @@ function Ny(t) {
1855
1855
  }));
1856
1856
  }
1857
1857
  function si(C, M) {
1858
- const [R, U] = er(C, M), ie = z(ve(C));
1858
+ const [R, U] = er(C, M), ie = j(ve(C));
1859
1859
  function w(B) {
1860
1860
  R.value = B;
1861
1861
  }
@@ -1956,14 +1956,14 @@ const Ry = /* @__PURE__ */ wr({
1956
1956
  initialTouched: t.initialTouched,
1957
1957
  validateOnMount: t.validateOnMount,
1958
1958
  keepValuesOnUnmount: r
1959
- }), A = g((z, { evt: P }) => {
1959
+ }), A = g((j, { evt: P }) => {
1960
1960
  Eh(P) && P.target.submit();
1961
1961
  }, t.onInvalidSubmit), N = t.onSubmit ? g(t.onSubmit, t.onInvalidSubmit) : A;
1962
- function L(z) {
1963
- _c(z) && z.preventDefault(), p(), typeof e.attrs.onReset == "function" && e.attrs.onReset();
1962
+ function L(j) {
1963
+ _c(j) && j.preventDefault(), p(), typeof e.attrs.onReset == "function" && e.attrs.onReset();
1964
1964
  }
1965
- function ne(z, P) {
1966
- return g(typeof z == "function" && !P ? z : P, t.onInvalidSubmit)(z);
1965
+ function ne(j, P) {
1966
+ return g(typeof j == "function" && !P ? j : P, t.onInvalidSubmit)(j);
1967
1967
  }
1968
1968
  function Q() {
1969
1969
  return Ee(o);
@@ -1971,7 +1971,7 @@ const Ry = /* @__PURE__ */ wr({
1971
1971
  function I() {
1972
1972
  return Ee(a.value);
1973
1973
  }
1974
- function j() {
1974
+ function z() {
1975
1975
  return Ee(i.value);
1976
1976
  }
1977
1977
  function W() {
@@ -1999,7 +1999,7 @@ const Ry = /* @__PURE__ */ wr({
1999
1999
  resetField: S,
2000
2000
  getValues: Q,
2001
2001
  getMeta: I,
2002
- getErrors: j
2002
+ getErrors: z
2003
2003
  };
2004
2004
  }
2005
2005
  return e.expose({
@@ -2015,7 +2015,7 @@ const Ry = /* @__PURE__ */ wr({
2015
2015
  resetField: S,
2016
2016
  getValues: Q,
2017
2017
  getMeta: I,
2018
- getErrors: j,
2018
+ getErrors: z,
2019
2019
  values: o,
2020
2020
  meta: a,
2021
2021
  errors: i
@@ -2080,7 +2080,7 @@ const ke = (t, e) => {
2080
2080
  for (const [r, i] of e)
2081
2081
  n[r] = i;
2082
2082
  return n;
2083
- }, jy = {}, zy = {
2083
+ }, zy = {}, jy = {
2084
2084
  xmlns: "http://www.w3.org/2000/svg",
2085
2085
  viewBox: "0 0 512 512",
2086
2086
  fill: "currentColor"
@@ -2088,9 +2088,9 @@ const ke = (t, e) => {
2088
2088
  Hy
2089
2089
  ];
2090
2090
  function Yy(t, e) {
2091
- return x(), _("svg", zy, Wy);
2091
+ return x(), _("svg", jy, Wy);
2092
2092
  }
2093
- const Uy = /* @__PURE__ */ ke(jy, [["render", Yy]]), qy = {}, Gy = {
2093
+ const Uy = /* @__PURE__ */ ke(zy, [["render", Yy]]), qy = {}, Gy = {
2094
2094
  xmlns: "http://www.w3.org/2000/svg",
2095
2095
  viewBox: "0 0 512 512",
2096
2096
  fill: "currentColor"
@@ -2102,7 +2102,7 @@ function Zy(t, e) {
2102
2102
  }
2103
2103
  const Xy = /* @__PURE__ */ ke(qy, [["render", Zy]]), Qy = { class: "relative" }, ev = {
2104
2104
  name: "WpicSpinner"
2105
- }, zi = /* @__PURE__ */ Object.assign(ev, {
2105
+ }, ji = /* @__PURE__ */ Object.assign(ev, {
2106
2106
  props: {
2107
2107
  color: {
2108
2108
  type: String,
@@ -2205,7 +2205,7 @@ const tv = ["is", "type", "disabled"], nv = {
2205
2205
  }, "wpic-button leading-none font-medium no-underline appearance-none outline-zinc-600 focus:outline-none relative inline-flex justify-center items-center"])
2206
2206
  }, [
2207
2207
  t.loading ? (x(), _("div", nv, [
2208
- ce(zi, { class: "w-6 h-6" })
2208
+ ce(ji, { class: "w-6 h-6" })
2209
2209
  ])) : Z("", !0),
2210
2210
  (x(), be(Us(n.value), {
2211
2211
  to: t.to,
@@ -2303,7 +2303,7 @@ function Gr(t) {
2303
2303
  function Js(t) {
2304
2304
  return t.split("-")[1];
2305
2305
  }
2306
- function jh(t) {
2306
+ function zh(t) {
2307
2307
  return t === "x" ? "y" : "x";
2308
2308
  }
2309
2309
  function Pc(t) {
@@ -2313,7 +2313,7 @@ function fa(t) {
2313
2313
  return ["top", "bottom"].includes(Gr(t)) ? "y" : "x";
2314
2314
  }
2315
2315
  function Ic(t) {
2316
- return jh(fa(t));
2316
+ return zh(fa(t));
2317
2317
  }
2318
2318
  function pv(t, e, n) {
2319
2319
  n === void 0 && (n = !1);
@@ -2358,7 +2358,7 @@ function vv(t) {
2358
2358
  ...t
2359
2359
  };
2360
2360
  }
2361
- function zh(t) {
2361
+ function jh(t) {
2362
2362
  return typeof t != "number" ? vv(t) : {
2363
2363
  top: t,
2364
2364
  right: t,
@@ -2509,7 +2509,7 @@ async function Hh(t, e) {
2509
2509
  elementContext: d = "floating",
2510
2510
  altBoundary: f = !1,
2511
2511
  padding: h = 0
2512
- } = Ks(e, t), p = zh(h), g = a[f ? d === "floating" ? "reference" : "floating" : d], b = Lo(await s.getClippingRect({
2512
+ } = Ks(e, t), p = jh(h), g = a[f ? d === "floating" ? "reference" : "floating" : d], b = Lo(await s.getClippingRect({
2513
2513
  element: (n = await (s.isElement == null ? void 0 : s.isElement(g))) == null || n ? g : g.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(a.floating)),
2514
2514
  boundary: c,
2515
2515
  rootBoundary: u,
@@ -2556,23 +2556,23 @@ const wv = (t) => ({
2556
2556
  } = Ks(t, e) || {};
2557
2557
  if (c == null)
2558
2558
  return {};
2559
- const d = zh(u), f = {
2559
+ const d = jh(u), f = {
2560
2560
  x: n,
2561
2561
  y: r
2562
2562
  }, h = Ic(i), p = Pc(h), m = await o.getDimensions(c), g = h === "y", b = g ? "top" : "left", k = g ? "bottom" : "right", T = g ? "clientHeight" : "clientWidth", y = s.reference[p] + s.reference[h] - f[h] - s.floating[p], O = f[h] - s.reference[h], v = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
2563
2563
  let S = v ? v[T] : 0;
2564
2564
  (!S || !await (o.isElement == null ? void 0 : o.isElement(v))) && (S = a.floating[T] || s.floating[p]);
2565
- const A = y / 2 - O / 2, N = S / 2 - m[p] / 2 - 1, L = Ds(d[b], N), ne = Ds(d[k], N), Q = L, I = S - m[p] - ne, j = S / 2 - m[p] / 2 + A, W = Ll(Q, j, I), z = !l.arrow && Js(i) != null && j !== W && s.reference[p] / 2 - (j < Q ? L : ne) - m[p] / 2 < 0, P = z ? j < Q ? j - Q : j - I : 0;
2565
+ const A = y / 2 - O / 2, N = S / 2 - m[p] / 2 - 1, L = Ds(d[b], N), ne = Ds(d[k], N), Q = L, I = S - m[p] - ne, z = S / 2 - m[p] / 2 + A, W = Ll(Q, z, I), j = !l.arrow && Js(i) != null && z !== W && s.reference[p] / 2 - (z < Q ? L : ne) - m[p] / 2 < 0, P = j ? z < Q ? z - Q : z - I : 0;
2566
2566
  return {
2567
2567
  [h]: f[h] + P,
2568
2568
  data: {
2569
2569
  [h]: W,
2570
- centerOffset: j - W - P,
2571
- ...z && {
2570
+ centerOffset: z - W - P,
2571
+ ...j && {
2572
2572
  alignmentOffset: P
2573
2573
  }
2574
2574
  },
2575
- reset: z
2575
+ reset: j
2576
2576
  };
2577
2577
  }
2578
2578
  }), kv = function(t) {
@@ -2623,23 +2623,23 @@ const wv = (t) => ({
2623
2623
  placement: I
2624
2624
  }
2625
2625
  };
2626
- let j = (L = A.filter((W) => W.overflows[0] <= 0).sort((W, z) => W.overflows[1] - z.overflows[1])[0]) == null ? void 0 : L.placement;
2627
- if (!j)
2626
+ let z = (L = A.filter((W) => W.overflows[0] <= 0).sort((W, j) => W.overflows[1] - j.overflows[1])[0]) == null ? void 0 : L.placement;
2627
+ if (!z)
2628
2628
  switch (h) {
2629
2629
  case "bestFit": {
2630
2630
  var ne;
2631
- const W = (ne = A.map((z) => [z.placement, z.overflows.filter((P) => P > 0).reduce((P, ee) => P + ee, 0)]).sort((z, P) => z[1] - P[1])[0]) == null ? void 0 : ne[0];
2632
- W && (j = W);
2631
+ const W = (ne = A.map((j) => [j.placement, j.overflows.filter((P) => P > 0).reduce((P, ee) => P + ee, 0)]).sort((j, P) => j[1] - P[1])[0]) == null ? void 0 : ne[0];
2632
+ W && (z = W);
2633
2633
  break;
2634
2634
  }
2635
2635
  case "initialPlacement":
2636
- j = a;
2636
+ z = a;
2637
2637
  break;
2638
2638
  }
2639
- if (i !== j)
2639
+ if (i !== z)
2640
2640
  return {
2641
2641
  reset: {
2642
- placement: j
2642
+ placement: z
2643
2643
  }
2644
2644
  };
2645
2645
  }
@@ -2725,7 +2725,7 @@ const Sv = function(t) {
2725
2725
  } = Ks(t, e), c = {
2726
2726
  x: n,
2727
2727
  y: r
2728
- }, u = await Hh(e, l), d = fa(Gr(i)), f = jh(d);
2728
+ }, u = await Hh(e, l), d = fa(Gr(i)), f = zh(d);
2729
2729
  let h = c[f], p = c[d];
2730
2730
  if (s) {
2731
2731
  const g = f === "y" ? "top" : "left", b = f === "y" ? "bottom" : "right", k = h + u[g], T = h - u[b];
@@ -2832,11 +2832,11 @@ function Wh(t) {
2832
2832
  const e = vr(t);
2833
2833
  return Ei(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : xn(e) && Zs(e) ? e : Wh(e);
2834
2834
  }
2835
- function jl(t, e, n) {
2835
+ function zl(t, e, n) {
2836
2836
  var r;
2837
2837
  e === void 0 && (e = []), n === void 0 && (n = !0);
2838
2838
  const i = Wh(t), s = i === ((r = t.ownerDocument) == null ? void 0 : r.body), o = Rt(i);
2839
- return s ? e.concat(o, o.visualViewport || [], Zs(i) ? i : [], o.frameElement && n ? jl(o.frameElement) : []) : e.concat(i, jl(i, [], n));
2839
+ return s ? e.concat(o, o.visualViewport || [], Zs(i) ? i : [], o.frameElement && n ? zl(o.frameElement) : []) : e.concat(i, zl(i, [], n));
2840
2840
  }
2841
2841
  function Yh(t) {
2842
2842
  const e = rn(t);
@@ -3002,7 +3002,7 @@ function Iv(t, e) {
3002
3002
  const n = e.get(t);
3003
3003
  if (n)
3004
3004
  return n;
3005
- let r = jl(t, [], !1).filter((a) => kn(a) && ei(a) !== "body"), i = null;
3005
+ let r = zl(t, [], !1).filter((a) => kn(a) && ei(a) !== "body"), i = null;
3006
3006
  const s = rn(t).position === "fixed";
3007
3007
  let o = s ? vr(t) : t;
3008
3008
  for (; kn(o) && !Ei(o); ) {
@@ -3099,7 +3099,7 @@ const Lv = async function(t) {
3099
3099
  function Fv(t) {
3100
3100
  return rn(t).direction === "rtl";
3101
3101
  }
3102
- const jv = {
3102
+ const zv = {
3103
3103
  convertOffsetParentRelativeRectToViewportRelativeRect: Ev,
3104
3104
  getDocumentElement: kr,
3105
3105
  getClippingRect: Rv,
@@ -3110,9 +3110,9 @@ const jv = {
3110
3110
  getScale: wi,
3111
3111
  isElement: kn,
3112
3112
  isRTL: Fv
3113
- }, Zh = Sv, Xh = Ov, Qh = kv, zv = wv, ep = (t, e, n) => {
3113
+ }, Zh = Sv, Xh = Ov, Qh = kv, jv = wv, ep = (t, e, n) => {
3114
3114
  const r = /* @__PURE__ */ new Map(), i = {
3115
- platform: jv,
3115
+ platform: zv,
3116
3116
  ...n
3117
3117
  }, s = {
3118
3118
  ...i.platform,
@@ -3139,7 +3139,7 @@ function Yv(t) {
3139
3139
  options: t,
3140
3140
  fn(e) {
3141
3141
  const n = Wv($(t.element));
3142
- return n == null ? {} : zv({
3142
+ return n == null ? {} : jv({
3143
3143
  element: n,
3144
3144
  padding: t.padding
3145
3145
  }).fn(e);
@@ -3348,7 +3348,7 @@ const pb = /* @__PURE__ */ ke(cb, [["render", hb]]), mb = {}, gb = {
3348
3348
  function bb(t, e) {
3349
3349
  return x(), _("svg", gb, vb);
3350
3350
  }
3351
- const jc = /* @__PURE__ */ ke(mb, [["render", bb]]), wb = {
3351
+ const zc = /* @__PURE__ */ ke(mb, [["render", bb]]), wb = {
3352
3352
  key: 0,
3353
3353
  class: "mb-2 gap-2 wpic-form-label text-base text-zinc-600 dark:text-gray-500 flex items-center"
3354
3354
  }, kb = { class: "" }, xb = {
@@ -3359,7 +3359,7 @@ const jc = /* @__PURE__ */ ke(mb, [["render", bb]]), wb = {
3359
3359
  class: "absolute right-0 mr-3 h-full flex items-center cursor-pointer opacity-75 hover:opacity-100"
3360
3360
  }, Mb = {
3361
3361
  name: "WpicFormInput"
3362
- }, zc = /* @__PURE__ */ Object.assign(Mb, {
3362
+ }, jc = /* @__PURE__ */ Object.assign(Mb, {
3363
3363
  props: {
3364
3364
  label: String,
3365
3365
  info: String,
@@ -3395,7 +3395,7 @@ const jc = /* @__PURE__ */ ke(mb, [["render", bb]]), wb = {
3395
3395
  Le(ge(t.info), 1)
3396
3396
  ]),
3397
3397
  default: Se(() => [
3398
- ce(jc, { class: "w-4 h-4 text-zinc-600" })
3398
+ ce(zc, { class: "w-4 h-4 text-zinc-600" })
3399
3399
  ]),
3400
3400
  _: 1
3401
3401
  })) : Z("", !0)
@@ -3421,7 +3421,7 @@ const jc = /* @__PURE__ */ ke(mb, [["render", bb]]), wb = {
3421
3421
  ])) : Z("", !0),
3422
3422
  Te(o.$slots, "default"),
3423
3423
  t.loading ? (x(), _("div", Ob, [
3424
- ce(zi, { class: "w-6 h-6 opacity-50" })
3424
+ ce(ji, { class: "w-6 h-6 opacity-50" })
3425
3425
  ])) : t.clearable ? (x(), _("div", {
3426
3426
  key: 2,
3427
3427
  onClick: Di(s, ["stop"]),
@@ -3454,7 +3454,7 @@ var Rb = Ib, Vb = Rb, Bb = /^\s+/;
3454
3454
  function Lb(t) {
3455
3455
  return t && t.slice(0, Vb(t) + 1).replace(Bb, "");
3456
3456
  }
3457
- var Fb = Lb, jb = Dn, zb = jb.Symbol, Hc = zb, rd = Hc, sp = Object.prototype, Hb = sp.hasOwnProperty, Wb = sp.toString, is = rd ? rd.toStringTag : void 0;
3457
+ var Fb = Lb, zb = Dn, jb = zb.Symbol, Hc = jb, rd = Hc, sp = Object.prototype, Hb = sp.hasOwnProperty, Wb = sp.toString, is = rd ? rd.toStringTag : void 0;
3458
3458
  function Yb(t) {
3459
3459
  var e = Hb.call(t, is), n = t[is];
3460
3460
  try {
@@ -3583,7 +3583,7 @@ function L1(t, e) {
3583
3583
  var n = this.__data__, r = B1(n, t);
3584
3584
  return r < 0 ? (++this.size, n.push([t, e])) : n[r][1] = e, this;
3585
3585
  }
3586
- var F1 = L1, j1 = S1, z1 = A1, H1 = P1, W1 = V1, Y1 = F1;
3586
+ var F1 = L1, z1 = S1, j1 = A1, H1 = P1, W1 = V1, Y1 = F1;
3587
3587
  function Yi(t) {
3588
3588
  var e = -1, n = t == null ? 0 : t.length;
3589
3589
  for (this.clear(); ++e < n; ) {
@@ -3591,8 +3591,8 @@ function Yi(t) {
3591
3591
  this.set(r[0], r[1]);
3592
3592
  }
3593
3593
  }
3594
- Yi.prototype.clear = j1;
3595
- Yi.prototype.delete = z1;
3594
+ Yi.prototype.clear = z1;
3595
+ Yi.prototype.delete = j1;
3596
3596
  Yi.prototype.get = H1;
3597
3597
  Yi.prototype.has = W1;
3598
3598
  Yi.prototype.set = Y1;
@@ -3664,11 +3664,11 @@ function Lw() {
3664
3664
  this.__data__ = ud ? ud(null) : {}, this.size = 0;
3665
3665
  }
3666
3666
  var Fw = Lw;
3667
- function jw(t) {
3667
+ function zw(t) {
3668
3668
  var e = this.has(t) && delete this.__data__[t];
3669
3669
  return this.size -= e ? 1 : 0, e;
3670
3670
  }
3671
- var zw = jw, Hw = ya, Ww = "__lodash_hash_undefined__", Yw = Object.prototype, Uw = Yw.hasOwnProperty;
3671
+ var jw = zw, Hw = ya, Ww = "__lodash_hash_undefined__", Yw = Object.prototype, Uw = Yw.hasOwnProperty;
3672
3672
  function qw(t) {
3673
3673
  var e = this.__data__;
3674
3674
  if (Hw) {
@@ -3687,7 +3687,7 @@ function nk(t, e) {
3687
3687
  var n = this.__data__;
3688
3688
  return this.size += this.has(t) ? 0 : 1, n[t] = ek && e === void 0 ? tk : e, this;
3689
3689
  }
3690
- var rk = nk, ik = Fw, sk = zw, ok = Gw, ak = Qw, lk = rk;
3690
+ var rk = nk, ik = Fw, sk = jw, ok = Gw, ak = Qw, lk = rk;
3691
3691
  function qi(t) {
3692
3692
  var e = -1, n = t == null ? 0 : t.length;
3693
3693
  for (this.clear(); ++e < n; ) {
@@ -3760,12 +3760,12 @@ function Lk(t, e) {
3760
3760
  }
3761
3761
  return n.set(t, e), this.size = n.size, this;
3762
3762
  }
3763
- var Fk = Lk, jk = ga, zk = G1, Hk = J1, Wk = X1, Yk = ew, Uk = Fk;
3763
+ var Fk = Lk, zk = ga, jk = G1, Hk = J1, Wk = X1, Yk = ew, Uk = Fk;
3764
3764
  function Ki(t) {
3765
- var e = this.__data__ = new jk(t);
3765
+ var e = this.__data__ = new zk(t);
3766
3766
  this.size = e.size;
3767
3767
  }
3768
- Ki.prototype.clear = zk;
3768
+ Ki.prototype.clear = jk;
3769
3769
  Ki.prototype.delete = Hk;
3770
3770
  Ki.prototype.get = Wk;
3771
3771
  Ki.prototype.has = Yk;
@@ -3887,10 +3887,10 @@ function Lx(t, e) {
3887
3887
  t[i + n] = e[n];
3888
3888
  return t;
3889
3889
  }
3890
- var Fx = Lx, jx = Array.isArray, Yc = jx, zx = Fx, Hx = Yc;
3890
+ var Fx = Lx, zx = Array.isArray, Yc = zx, jx = Fx, Hx = Yc;
3891
3891
  function Wx(t, e, n) {
3892
3892
  var r = e(t);
3893
- return Hx(t) ? r : zx(r, n(t));
3893
+ return Hx(t) ? r : jx(r, n(t));
3894
3894
  }
3895
3895
  var Yx = Wx;
3896
3896
  function Ux(t, e) {
@@ -3922,17 +3922,17 @@ var lS = aS, gd = lS, cS = Qs, fp = Object.prototype, uS = fp.hasOwnProperty, dS
3922
3922
  return arguments;
3923
3923
  }()) ? gd : function(t) {
3924
3924
  return cS(t) && uS.call(t, "callee") && !dS.call(t, "callee");
3925
- }, hS = fS, jo = { exports: {} };
3925
+ }, hS = fS, zo = { exports: {} };
3926
3926
  function pS() {
3927
3927
  return !1;
3928
3928
  }
3929
3929
  var mS = pS;
3930
- jo.exports;
3930
+ zo.exports;
3931
3931
  (function(t, e) {
3932
3932
  var n = Dn, r = mS, i = e && !e.nodeType && e, s = i && !0 && t && !t.nodeType && t, o = s && s.exports === i, a = o ? n.Buffer : void 0, l = a ? a.isBuffer : void 0, c = l || r;
3933
3933
  t.exports = c;
3934
- })(jo, jo.exports);
3935
- var hp = jo.exports, gS = 9007199254740991, yS = /^(?:0|[1-9]\d*)$/;
3934
+ })(zo, zo.exports);
3935
+ var hp = zo.exports, gS = 9007199254740991, yS = /^(?:0|[1-9]\d*)$/;
3936
3936
  function vS(t, e) {
3937
3937
  var n = typeof t;
3938
3938
  return e = e ?? gS, !!e && (n == "number" || n != "symbol" && yS.test(t)) && t > -1 && t % 1 == 0 && t < e;
@@ -3941,8 +3941,8 @@ var bS = vS, wS = 9007199254740991;
3941
3941
  function kS(t) {
3942
3942
  return typeof t == "number" && t > -1 && t % 1 == 0 && t <= wS;
3943
3943
  }
3944
- var pp = kS, xS = Xs, SS = pp, OS = Qs, MS = "[object Arguments]", CS = "[object Array]", TS = "[object Boolean]", DS = "[object Date]", _S = "[object Error]", ES = "[object Function]", AS = "[object Map]", NS = "[object Number]", $S = "[object Object]", PS = "[object RegExp]", IS = "[object Set]", RS = "[object String]", VS = "[object WeakMap]", BS = "[object ArrayBuffer]", LS = "[object DataView]", FS = "[object Float32Array]", jS = "[object Float64Array]", zS = "[object Int8Array]", HS = "[object Int16Array]", WS = "[object Int32Array]", YS = "[object Uint8Array]", US = "[object Uint8ClampedArray]", qS = "[object Uint16Array]", GS = "[object Uint32Array]", Ie = {};
3945
- Ie[FS] = Ie[jS] = Ie[zS] = Ie[HS] = Ie[WS] = Ie[YS] = Ie[US] = Ie[qS] = Ie[GS] = !0;
3944
+ var pp = kS, xS = Xs, SS = pp, OS = Qs, MS = "[object Arguments]", CS = "[object Array]", TS = "[object Boolean]", DS = "[object Date]", _S = "[object Error]", ES = "[object Function]", AS = "[object Map]", NS = "[object Number]", $S = "[object Object]", PS = "[object RegExp]", IS = "[object Set]", RS = "[object String]", VS = "[object WeakMap]", BS = "[object ArrayBuffer]", LS = "[object DataView]", FS = "[object Float32Array]", zS = "[object Float64Array]", jS = "[object Int8Array]", HS = "[object Int16Array]", WS = "[object Int32Array]", YS = "[object Uint8Array]", US = "[object Uint8ClampedArray]", qS = "[object Uint16Array]", GS = "[object Uint32Array]", Ie = {};
3945
+ Ie[FS] = Ie[zS] = Ie[jS] = Ie[HS] = Ie[WS] = Ie[YS] = Ie[US] = Ie[qS] = Ie[GS] = !0;
3946
3946
  Ie[MS] = Ie[CS] = Ie[BS] = Ie[TS] = Ie[LS] = Ie[DS] = Ie[_S] = Ie[ES] = Ie[AS] = Ie[NS] = Ie[$S] = Ie[PS] = Ie[IS] = Ie[RS] = Ie[VS] = !1;
3947
3947
  function KS(t) {
3948
3948
  return OS(t) && SS(t.length) && !!Ie[xS(t)];
@@ -3953,8 +3953,8 @@ function ZS(t) {
3953
3953
  return t(e);
3954
3954
  };
3955
3955
  }
3956
- var XS = ZS, zo = { exports: {} };
3957
- zo.exports;
3956
+ var XS = ZS, jo = { exports: {} };
3957
+ jo.exports;
3958
3958
  (function(t, e) {
3959
3959
  var n = ip, r = e && !e.nodeType && e, i = r && !0 && t && !t.nodeType && t, s = i && i.exports === r, o = s && n.process, a = function() {
3960
3960
  try {
@@ -3964,8 +3964,8 @@ zo.exports;
3964
3964
  }
3965
3965
  }();
3966
3966
  t.exports = a;
3967
- })(zo, zo.exports);
3968
- var QS = zo.exports, eO = JS, tO = XS, yd = QS, vd = yd && yd.isTypedArray, nO = vd ? tO(vd) : eO, mp = nO, rO = rS, iO = hS, sO = Yc, oO = hp, aO = bS, lO = mp, cO = Object.prototype, uO = cO.hasOwnProperty;
3967
+ })(jo, jo.exports);
3968
+ var QS = jo.exports, eO = JS, tO = XS, yd = QS, vd = yd && yd.isTypedArray, nO = vd ? tO(vd) : eO, mp = nO, rO = rS, iO = hS, sO = Yc, oO = hp, aO = bS, lO = mp, cO = Object.prototype, uO = cO.hasOwnProperty;
3969
3969
  function dO(t, e) {
3970
3970
  var n = sO(t), r = !n && iO(t), i = !n && !r && oO(t), s = !n && !r && !i && lO(t), o = n || r || i || s, a = o ? rO(t.length, String) : [], l = a.length;
3971
3971
  for (var c in t)
@@ -4008,9 +4008,9 @@ var IO = PO, RO = Yx, VO = tS, BO = IO;
4008
4008
  function LO(t) {
4009
4009
  return RO(t, BO, VO);
4010
4010
  }
4011
- var FO = LO, bd = FO, jO = 1, zO = Object.prototype, HO = zO.hasOwnProperty;
4011
+ var FO = LO, bd = FO, zO = 1, jO = Object.prototype, HO = jO.hasOwnProperty;
4012
4012
  function WO(t, e, n, r, i, s) {
4013
- var o = n & jO, a = bd(t), l = a.length, c = bd(e), u = c.length;
4013
+ var o = n & zO, a = bd(t), l = a.length, c = bd(e), u = c.length;
4014
4014
  if (l != u && !o)
4015
4015
  return !1;
4016
4016
  for (var d = l; d--; ) {
@@ -4040,8 +4040,8 @@ function WO(t, e, n, r, i, s) {
4040
4040
  }
4041
4041
  return s.delete(t), s.delete(e), m;
4042
4042
  }
4043
- var YO = WO, UO = Ui, qO = Dn, GO = UO(qO, "DataView"), KO = GO, JO = Ui, ZO = Dn, XO = JO(ZO, "Promise"), QO = XO, eM = Ui, tM = Dn, nM = eM(tM, "Set"), rM = nM, iM = Ui, sM = Dn, oM = iM(sM, "WeakMap"), aM = oM, zl = KO, Hl = Wc, Wl = QO, Yl = rM, Ul = aM, gp = Xs, Ji = cp, wd = "[object Map]", lM = "[object Object]", kd = "[object Promise]", xd = "[object Set]", Sd = "[object WeakMap]", Od = "[object DataView]", cM = Ji(zl), uM = Ji(Hl), dM = Ji(Wl), fM = Ji(Yl), hM = Ji(Ul), Er = gp;
4044
- (zl && Er(new zl(new ArrayBuffer(1))) != Od || Hl && Er(new Hl()) != wd || Wl && Er(Wl.resolve()) != kd || Yl && Er(new Yl()) != xd || Ul && Er(new Ul()) != Sd) && (Er = function(t) {
4043
+ var YO = WO, UO = Ui, qO = Dn, GO = UO(qO, "DataView"), KO = GO, JO = Ui, ZO = Dn, XO = JO(ZO, "Promise"), QO = XO, eM = Ui, tM = Dn, nM = eM(tM, "Set"), rM = nM, iM = Ui, sM = Dn, oM = iM(sM, "WeakMap"), aM = oM, jl = KO, Hl = Wc, Wl = QO, Yl = rM, Ul = aM, gp = Xs, Ji = cp, wd = "[object Map]", lM = "[object Object]", kd = "[object Promise]", xd = "[object Set]", Sd = "[object WeakMap]", Od = "[object DataView]", cM = Ji(jl), uM = Ji(Hl), dM = Ji(Wl), fM = Ji(Yl), hM = Ji(Ul), Er = gp;
4044
+ (jl && Er(new jl(new ArrayBuffer(1))) != Od || Hl && Er(new Hl()) != wd || Wl && Er(Wl.resolve()) != kd || Yl && Er(new Yl()) != xd || Ul && Er(new Ul()) != Sd) && (Er = function(t) {
4045
4045
  var e = gp(t), n = e == lM ? t.constructor : void 0, r = n ? Ji(n) : "";
4046
4046
  if (r)
4047
4047
  switch (r) {
@@ -4218,7 +4218,7 @@ const Nd = /* @__PURE__ */ rp(TM), DM = {
4218
4218
  disabled: t.disabled
4219
4219
  }, {
4220
4220
  default: Se(({ isHidden: y }) => [
4221
- ce(zc, {
4221
+ ce(jc, {
4222
4222
  disabled: t.disabled,
4223
4223
  small: t.small,
4224
4224
  invalid: t.isInvalid,
@@ -4374,7 +4374,7 @@ const Nd = /* @__PURE__ */ rp(TM), DM = {
4374
4374
  Le(ge(c.info), 1)
4375
4375
  ]),
4376
4376
  default: Se(() => [
4377
- ce(jc, { class: "w-4 h-4 text-zinc-600" })
4377
+ ce(zc, { class: "w-4 h-4 text-zinc-600" })
4378
4378
  ]),
4379
4379
  _: 1
4380
4380
  })) : Z("", !0)
@@ -4401,20 +4401,20 @@ const Nd = /* @__PURE__ */ rp(TM), DM = {
4401
4401
  }, null, 46, BM)
4402
4402
  ], 64));
4403
4403
  }
4404
- }), FM = {}, jM = {
4404
+ }), FM = {}, zM = {
4405
4405
  xmlns: "http://www.w3.org/2000/svg",
4406
4406
  viewBox: "0 0 24 24",
4407
4407
  fill: "currentColor"
4408
- }, zM = /* @__PURE__ */ E("path", { d: "M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" }, null, -1), HM = /* @__PURE__ */ E("path", {
4408
+ }, jM = /* @__PURE__ */ E("path", { d: "M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" }, null, -1), HM = /* @__PURE__ */ E("path", {
4409
4409
  "fill-rule": "evenodd",
4410
4410
  d: "M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 0 1 0-1.113ZM17.25 12a5.25 5.25 0 1 1-10.5 0 5.25 5.25 0 0 1 10.5 0Z",
4411
4411
  "clip-rule": "evenodd"
4412
4412
  }, null, -1), WM = [
4413
- zM,
4413
+ jM,
4414
4414
  HM
4415
4415
  ];
4416
4416
  function YM(t, e) {
4417
- return x(), _("svg", jM, WM);
4417
+ return x(), _("svg", zM, WM);
4418
4418
  }
4419
4419
  const UM = /* @__PURE__ */ ke(FM, [["render", YM]]), qM = {}, GM = {
4420
4420
  xmlns: "http://www.w3.org/2000/svg",
@@ -4642,7 +4642,7 @@ const oC = /* @__PURE__ */ ke(tC, [["render", sC]]), aC = {
4642
4642
  Le(ge(t.info), 1)
4643
4643
  ]),
4644
4644
  default: Se(() => [
4645
- ce(jc, { class: "w-4 h-4 text-zinc-600" })
4645
+ ce(zc, { class: "w-4 h-4 text-zinc-600" })
4646
4646
  ]),
4647
4647
  _: 1
4648
4648
  })) : Z("", !0)
@@ -4826,7 +4826,7 @@ const oC = /* @__PURE__ */ ke(tC, [["render", sC]]), aC = {
4826
4826
  onClick: Di(b, ["stop"]),
4827
4827
  class: "absolute right-0 mr-3 h-full flex items-center cursor-pointer opacity-75 hover:opacity-100"
4828
4828
  }, [
4829
- ce(zi, { class: "w-6 h-6 opacity-50" })
4829
+ ce(ji, { class: "w-6 h-6 opacity-50" })
4830
4830
  ])) : t.clearable && t.modelValue ? (x(), _("div", {
4831
4831
  key: 4,
4832
4832
  onClick: Di(b, ["stop"]),
@@ -4954,17 +4954,18 @@ const oC = /* @__PURE__ */ ke(tC, [["render", sC]]), aC = {
4954
4954
  ], 64));
4955
4955
  }
4956
4956
  }), vC = {
4957
- key: 0,
4957
+ key: 1,
4958
4958
  class: "flex justify-between items-baseline pt-4 px-6"
4959
4959
  }, bC = { class: "" }, wC = {
4960
- key: 1,
4960
+ key: 2,
4961
4961
  class: "flex items-center justify-end py-4 px-6"
4962
4962
  }, kC = {
4963
4963
  name: "WpicCard"
4964
4964
  }, xC = /* @__PURE__ */ Object.assign(kC, {
4965
4965
  props: {
4966
4966
  title: String,
4967
- inline: Boolean
4967
+ inline: Boolean,
4968
+ loading: Boolean
4968
4969
  },
4969
4970
  setup(t) {
4970
4971
  const e = {
@@ -4974,59 +4975,58 @@ const oC = /* @__PURE__ */ ke(tC, [["render", sC]]), aC = {
4974
4975
  pmi: "font-bold",
4975
4976
  "wpic-tools": "font-medium dark:text-gray-300"
4976
4977
  };
4977
- return (r, i) => (x(), _("div", {
4978
- class: G(["rounded-lg wpic-card", { [e[$(le).theme]]: !0, "wpic-card-inline": t.inline, "has-header": t.title || r.$slots.actions }])
4979
- }, [
4980
- t.title || r.$slots.actions ? (x(), _("div", vC, [
4981
- t.title || r.$slots.actions ? (x(), _("div", {
4978
+ return (r, i) => {
4979
+ const s = x0("wpic-loading-panel");
4980
+ return x(), _("div", {
4981
+ class: G(["rounded-lg wpic-card relative", { [e[$(le).theme]]: !0, "wpic-card-inline": t.inline, "has-header": t.title || r.$slots.actions }])
4982
+ }, [
4983
+ t.loading ? (x(), be(s, {
4982
4984
  key: 0,
4983
- class: G(["text-lg 2xl:text-xl", [n[$(le).theme]]])
4984
- }, ge(t.title), 3)) : Z("", !0),
4985
- E("div", bC, [
4986
- Te(r.$slots, "actions")
4987
- ])
4988
- ])) : Z("", !0),
4989
- Te(r.$slots, "default"),
4990
- r.$slots.buttons ? (x(), _("div", wC, [
4991
- Te(r.$slots, "buttons")
4992
- ])) : Z("", !0)
4993
- ], 2));
4985
+ class: "absolute top-0 left-0 z-10",
4986
+ wave: ""
4987
+ })) : Z("", !0),
4988
+ t.title || r.$slots.actions ? (x(), _("div", vC, [
4989
+ t.title || r.$slots.actions ? (x(), _("div", {
4990
+ key: 0,
4991
+ class: G(["text-lg 2xl:text-xl", [n[$(le).theme]]])
4992
+ }, ge(t.title), 3)) : Z("", !0),
4993
+ E("div", bC, [
4994
+ Te(r.$slots, "actions")
4995
+ ])
4996
+ ])) : Z("", !0),
4997
+ Te(r.$slots, "default"),
4998
+ r.$slots.buttons ? (x(), _("div", wC, [
4999
+ Te(r.$slots, "buttons")
5000
+ ])) : Z("", !0)
5001
+ ], 2);
5002
+ };
4994
5003
  }
4995
5004
  }), SC = {
4996
- key: 1,
5005
+ key: 0,
4997
5006
  class: "pt-3 pb-3 flex justify-betweeen h-12 items-center"
4998
5007
  }, OC = { class: "flex-1 text-lg font-semibold" }, MC = {
4999
5008
  name: "WpicCardSection"
5000
5009
  }, CC = /* @__PURE__ */ Object.assign(MC, {
5001
5010
  props: {
5002
- title: String,
5003
- loading: Boolean
5011
+ title: String
5004
5012
  },
5005
5013
  setup(t) {
5006
5014
  const e = {
5007
5015
  pmi: "mx-6",
5008
5016
  "wpic-tools": "px-6"
5009
5017
  };
5010
- return (n, r) => {
5011
- const i = x0("wpic-loading-panel");
5012
- return x(), _("div", {
5013
- class: G(["border-b relative dark:border-gray-900 last:border-0 pb-6", {
5014
- [`${e[$(le).theme]}`]: !0,
5015
- "pt-6": !(t.title && n.$slots.actions)
5016
- }])
5017
- }, [
5018
- t.loading ? (x(), be(i, {
5019
- key: 0,
5020
- class: "absolute top-0 left-0",
5021
- wave: ""
5022
- })) : Z("", !0),
5023
- t.title || n.$slots.actions ? (x(), _("div", SC, [
5024
- E("div", OC, ge(t.title), 1),
5025
- Te(n.$slots, "actions")
5026
- ])) : Z("", !0),
5027
- Te(n.$slots, "default")
5028
- ], 2);
5029
- };
5018
+ return (n, r) => (x(), _("div", {
5019
+ class: G(["border-b relative dark:border-gray-900 last:border-0 pb-6", {
5020
+ [`${e[$(le).theme]}`]: !0,
5021
+ "pt-6": !(t.title && n.$slots.actions)
5022
+ }])
5023
+ }, [
5024
+ t.title || n.$slots.actions ? (x(), _("div", SC, [
5025
+ E("div", OC, ge(t.title), 1),
5026
+ Te(n.$slots, "actions")
5027
+ ])) : Z("", !0),
5028
+ Te(n.$slots, "default")
5029
+ ], 2));
5030
5030
  }
5031
5031
  }), TC = /* @__PURE__ */ E("div", { class: "" }, null, -1), DC = /* @__PURE__ */ S0('<div class="-mt-2"><div class="absolute left-1/4 h-8 border-r border-gray-100 dark:border-gray-900"></div><div class="absolute left-1/2 h-8 border-r border-gray-100 dark:border-gray-900"></div><div class="absolute left-3/4 h-8 border-r border-gray-100 dark:border-gray-900"></div></div><div class="mt-7 text-gray-500 dark:text-gray-600"><div class="absolute left-0 text-xs">0%</div><div class="absolute left-1/4 -translate-x-1/4 text-xs">25%</div><div class="absolute left-1/2 -translate-x-1/2 text-xs">50%</div><div class="absolute right-1/4 translate-x-3/4 text-xs">75%</div><div class="absolute right-0 text-xs">100%</div></div>', 2), _C = {
5032
5032
  name: "WpicProgressBar"
@@ -5035,6 +5035,10 @@ const oC = /* @__PURE__ */ ke(tC, [["render", sC]]), aC = {
5035
5035
  percent: Number,
5036
5036
  value: Number,
5037
5037
  indicators: Boolean,
5038
+ background: {
5039
+ type: String,
5040
+ default: null
5041
+ },
5038
5042
  max: {
5039
5043
  type: Number,
5040
5044
  default: 100
@@ -5059,7 +5063,10 @@ const oC = /* @__PURE__ */ ke(tC, [["render", sC]]), aC = {
5059
5063
  n.value > 0 ? (x(), _("div", {
5060
5064
  key: 0,
5061
5065
  style: or({ width: `${n.value}%` }),
5062
- class: G(["flex h-full", i[$(le).theme]])
5066
+ class: G(["flex h-full", {
5067
+ [`${t.background}`]: !0,
5068
+ [`${i[$(le).theme]}`]: !0
5069
+ }])
5063
5070
  }, [
5064
5071
  ce(kp, {
5065
5072
  full: "",
@@ -5124,14 +5131,14 @@ const oC = /* @__PURE__ */ ke(tC, [["render", sC]]), aC = {
5124
5131
  ], 2)
5125
5132
  ], 2));
5126
5133
  }
5127
- }), RC = (t) => (O0("data-v-1b41b4d0"), t = t(), M0(), t), VC = {
5134
+ }), RC = (t) => (O0("data-v-947735f2"), t = t(), M0(), t), VC = {
5128
5135
  key: 1,
5129
- class: "w-full min-h-10 h-full rounded-lg bg-gray-100 dark:bg-gray-930 relative overflow-hidden"
5136
+ class: "w-full min-h-10 h-full rounded-lg bg-gray-100 dark:bg-gray-940 relative overflow-hidden"
5130
5137
  }, BC = /* @__PURE__ */ RC(() => /* @__PURE__ */ E("div", { class: "absolute top-0 left-0 h-full w-full shimmer dark:dark-shimmer" }, null, -1)), LC = [
5131
5138
  BC
5132
5139
  ], FC = {
5133
5140
  name: "WpicLoadingPanel"
5134
- }, jC = /* @__PURE__ */ Object.assign(FC, {
5141
+ }, zC = /* @__PURE__ */ Object.assign(FC, {
5135
5142
  props: {
5136
5143
  color: {
5137
5144
  type: String,
@@ -5146,14 +5153,14 @@ const oC = /* @__PURE__ */ ke(tC, [["render", sC]]), aC = {
5146
5153
  return (e, n) => (x(), _("div", {
5147
5154
  class: G(["w-full h-full flex items-center justify-center", { "py-3": !t.wave }])
5148
5155
  }, [
5149
- t.wave ? (x(), _("div", VC, LC)) : (x(), be(zi, {
5156
+ t.wave ? (x(), _("div", VC, LC)) : (x(), be(ji, {
5150
5157
  key: 0,
5151
5158
  color: t.color,
5152
5159
  class: "w-10 h-10"
5153
5160
  }, null, 8, ["color"]))
5154
5161
  ], 2));
5155
5162
  }
5156
- }), zC = /* @__PURE__ */ ke(jC, [["__scopeId", "data-v-1b41b4d0"]]), HC = { class: "text-base font-medium" }, WC = {
5163
+ }), jC = /* @__PURE__ */ ke(zC, [["__scopeId", "data-v-947735f2"]]), HC = { class: "text-base font-medium" }, WC = {
5157
5164
  name: "WpicPaginationItem"
5158
5165
  }, ss = /* @__PURE__ */ Object.assign(WC, {
5159
5166
  props: {
@@ -5419,12 +5426,12 @@ const _T = /* @__PURE__ */ ke(OT, [["render", DT]]), ET = { class: "overflow-aut
5419
5426
  class: "rounded-t-lg"
5420
5427
  }, IT = ["onClick"], RT = { class: "rounded-b-lg relative" }, VT = { key: 0 }, BT = /* @__PURE__ */ E("td", { class: "text-center py-3" }, "   ", -1), LT = [
5421
5428
  BT
5422
- ], FT = { key: 1 }, jT = {
5429
+ ], FT = { key: 1 }, zT = {
5423
5430
  key: 0,
5424
5431
  class: "text-center text-gray-400 py-3"
5425
- }, zT = {
5432
+ }, jT = {
5426
5433
  name: "WpicTable"
5427
- }, HT = /* @__PURE__ */ Object.assign(zT, {
5434
+ }, HT = /* @__PURE__ */ Object.assign(jT, {
5428
5435
  props: {
5429
5436
  data: {
5430
5437
  type: Array,
@@ -5503,17 +5510,17 @@ const _T = /* @__PURE__ */ ke(OT, [["render", DT]]), ET = { class: "overflow-aut
5503
5510
  ((L = N.type) == null ? void 0 : L.name) === "WpicTableColumn" && y.push(N);
5504
5511
  });
5505
5512
  }), p.value = y.map((v) => {
5506
- let S = v.children, A = v.props || {}, { field: N, label: L, help: ne, width: Q, minWidth: I, maxWidth: j, sortable: W, selectable: z, render: P, type: ee, align: Ce, visible: tt } = T(v.type.props, A);
5513
+ let S = v.children, A = v.props || {}, { field: N, label: L, help: ne, width: Q, minWidth: I, maxWidth: z, sortable: W, selectable: j, render: P, type: ee, align: Ce, visible: tt } = T(v.type.props, A);
5507
5514
  return {
5508
5515
  label: L,
5509
5516
  help: ne,
5510
5517
  width: Q,
5511
5518
  minWidth: I,
5512
- maxWidth: j,
5519
+ maxWidth: z,
5513
5520
  type: ee,
5514
5521
  align: Ce,
5515
5522
  sortable: W,
5516
- selectable: z,
5523
+ selectable: j,
5517
5524
  field: N,
5518
5525
  render: P,
5519
5526
  children: S,
@@ -5603,7 +5610,7 @@ const _T = /* @__PURE__ */ ke(OT, [["render", DT]]), ET = { class: "overflow-aut
5603
5610
  E("div", {
5604
5611
  class: G(["inset-0 z-10 absolute flex items-center justify-center", [u[$(le).theme]]])
5605
5612
  }, [
5606
- ce(zi, { class: "w-6 h-6" })
5613
+ ce(ji, { class: "w-6 h-6" })
5607
5614
  ], 2),
5608
5615
  t.data.length ? Z("", !0) : (x(), _("tr", VT, LT))
5609
5616
  ], 64)) : Z("", !0),
@@ -5663,8 +5670,8 @@ const _T = /* @__PURE__ */ ke(OT, [["render", DT]]), ET = { class: "overflow-aut
5663
5670
  [`${l[$(le).theme]}`]: !0,
5664
5671
  [`${c[$(le).theme]}`]: t.stripe,
5665
5672
  "first:pl-0 last:pr-0": t.noXPadding,
5666
- "last:rounded-br-lg": v === ((Q = t.data) == null ? void 0 : Q.length) - 1 && !t.totalItem && !p.value.find((j) => j.type == "expand"),
5667
- "first:rounded-bl-lg": v === ((I = t.data) == null ? void 0 : I.length) - 1 && !t.totalItem && !p.value.find((j) => j.type == "expand"),
5673
+ "last:rounded-br-lg": v === ((Q = t.data) == null ? void 0 : Q.length) - 1 && !t.totalItem && !p.value.find((z) => z.type == "expand"),
5674
+ "first:rounded-bl-lg": v === ((I = t.data) == null ? void 0 : I.length) - 1 && !t.totalItem && !p.value.find((z) => z.type == "expand"),
5668
5675
  "text-center justify-center": L.align == "center",
5669
5676
  "text-right justify-end": L.align == "right",
5670
5677
  "align-top py-5": t.valign == "top"
@@ -5715,7 +5722,7 @@ const _T = /* @__PURE__ */ ke(OT, [["render", DT]]), ET = { class: "overflow-aut
5715
5722
  ])) : Z("", !0)
5716
5723
  ])
5717
5724
  ]),
5718
- !t.loading && !t.data.length ? (x(), _("div", jT, " No Data ")) : Z("", !0)
5725
+ !t.loading && !t.data.length ? (x(), _("div", zT, " No Data ")) : Z("", !0)
5719
5726
  ], 2));
5720
5727
  }
5721
5728
  }), WT = {
@@ -6765,7 +6772,7 @@ class Uo {
6765
6772
  }
6766
6773
  }
6767
6774
  const GT = /* @__PURE__ */ Object.create(null);
6768
- let jr = class Jl {
6775
+ let zr = class Jl {
6769
6776
  /**
6770
6777
  @internal
6771
6778
  */
@@ -7126,8 +7133,8 @@ let jr = class Jl {
7126
7133
  return e.nodeType(n.type).create(n.attrs, i, r);
7127
7134
  }
7128
7135
  };
7129
- jr.prototype.text = void 0;
7130
- class qo extends jr {
7136
+ zr.prototype.text = void 0;
7137
+ class qo extends zr {
7131
7138
  /**
7132
7139
  @internal
7133
7140
  */
@@ -7617,7 +7624,7 @@ let Rd = class Fp {
7617
7624
  create(e = null, n, r) {
7618
7625
  if (this.isText)
7619
7626
  throw new Error("NodeType.create can't construct text nodes");
7620
- return new jr(this, this.computeAttrs(e), V.from(n), Ae.setFrom(r));
7627
+ return new zr(this, this.computeAttrs(e), V.from(n), Ae.setFrom(r));
7621
7628
  }
7622
7629
  /**
7623
7630
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but check the given content
@@ -7625,7 +7632,7 @@ let Rd = class Fp {
7625
7632
  if it doesn't match.
7626
7633
  */
7627
7634
  createChecked(e = null, n, r) {
7628
- return n = V.from(n), this.checkContent(n), new jr(this, this.computeAttrs(e), n, Ae.setFrom(r));
7635
+ return n = V.from(n), this.checkContent(n), new zr(this, this.computeAttrs(e), n, Ae.setFrom(r));
7629
7636
  }
7630
7637
  /**
7631
7638
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but see if it is
@@ -7643,7 +7650,7 @@ let Rd = class Fp {
7643
7650
  n = o.append(n);
7644
7651
  }
7645
7652
  let i = this.contentMatch.matchFragment(n), s = i && i.fillBefore(V.empty, !0);
7646
- return s ? new jr(this, e, n.append(s), Ae.setFrom(r)) : null;
7653
+ return s ? new zr(this, e, n.append(s), Ae.setFrom(r)) : null;
7647
7654
  }
7648
7655
  /**
7649
7656
  Returns true if the given fragment is valid content for this node
@@ -7833,7 +7840,7 @@ class s2 {
7833
7840
  bound.
7834
7841
  */
7835
7842
  nodeFromJSON(e) {
7836
- return jr.fromJSON(this, e);
7843
+ return zr.fromJSON(this, e);
7837
7844
  }
7838
7845
  /**
7839
7846
  Deserialize a mark from its JSON representation. This method is
@@ -7982,7 +7989,7 @@ class Ai {
7982
7989
  return e.cached.domParser || (e.cached.domParser = new Ai(e, Ai.schemaRules(e)));
7983
7990
  }
7984
7991
  }
7985
- const jp = {
7992
+ const zp = {
7986
7993
  address: !0,
7987
7994
  article: !0,
7988
7995
  aside: !0,
@@ -8022,7 +8029,7 @@ const jp = {
8022
8029
  script: !0,
8023
8030
  style: !0,
8024
8031
  title: !0
8025
- }, zp = { ol: !0, ul: !0 }, Go = 1, Ko = 2, vs = 4;
8032
+ }, jp = { ol: !0, ul: !0 }, Go = 1, Ko = 2, vs = 4;
8026
8033
  function Bd(t, e, n) {
8027
8034
  return e != null ? (e ? Go : 0) | (e === "full" ? Ko : 0) : t && t.whitespace == "pre" ? Go | Ko : n & ~vs;
8028
8035
  }
@@ -8067,7 +8074,7 @@ class yo {
8067
8074
  }
8068
8075
  }
8069
8076
  inlineContext(e) {
8070
- return this.type ? this.type.inlineContent : this.content.length ? this.content[0].isInline : e.parentNode && !jp.hasOwnProperty(e.parentNode.nodeName.toLowerCase());
8077
+ return this.type ? this.type.inlineContent : this.content.length ? this.content[0].isInline : e.parentNode && !zp.hasOwnProperty(e.parentNode.nodeName.toLowerCase());
8071
8078
  }
8072
8079
  }
8073
8080
  class Ld {
@@ -8121,14 +8128,14 @@ class Ld {
8121
8128
  // none is found, the element's content nodes are added directly.
8122
8129
  addElement(e, n) {
8123
8130
  let r = e.nodeName.toLowerCase(), i;
8124
- zp.hasOwnProperty(r) && this.parser.normalizeLists && c2(e);
8131
+ jp.hasOwnProperty(r) && this.parser.normalizeLists && c2(e);
8125
8132
  let s = this.options.ruleFromNode && this.options.ruleFromNode(e) || (i = this.parser.matchTag(e, this, n));
8126
8133
  if (s ? s.ignore : l2.hasOwnProperty(r))
8127
8134
  this.findInside(e), this.ignoreFallback(e);
8128
8135
  else if (!s || s.skip || s.closeParent) {
8129
8136
  s && s.closeParent ? this.open = Math.max(0, this.open - 1) : s && s.skip.nodeType && (e = s.skip);
8130
8137
  let o, a = this.top, l = this.needsBlock;
8131
- if (jp.hasOwnProperty(r))
8138
+ if (zp.hasOwnProperty(r))
8132
8139
  a.content.length && a.content[0].isInline && this.open && (this.open--, a = this.top), o = !0, a.type || (this.needsBlock = !0);
8133
8140
  else if (!e.firstChild) {
8134
8141
  this.leafFallback(e);
@@ -8359,7 +8366,7 @@ class Ld {
8359
8366
  function c2(t) {
8360
8367
  for (let e = t.firstChild, n = null; e; e = e.nextSibling) {
8361
8368
  let r = e.nodeType == 1 ? e.nodeName.toLowerCase() : null;
8362
- r && zp.hasOwnProperty(r) && n ? (n.appendChild(e), e = n) : r == "li" ? n = e : r && (n = null);
8369
+ r && jp.hasOwnProperty(r) && n ? (n.appendChild(e), e = n) : r == "li" ? n = e : r && (n = null);
8363
8370
  }
8364
8371
  }
8365
8372
  function u2(t, e) {
@@ -8525,17 +8532,17 @@ class vn {
8525
8532
  This can be useful as a base to build a custom serializer from.
8526
8533
  */
8527
8534
  static nodesFromSchema(e) {
8528
- let n = jd(e.nodes);
8535
+ let n = zd(e.nodes);
8529
8536
  return n.text || (n.text = (r) => r.text), n;
8530
8537
  }
8531
8538
  /**
8532
8539
  Gather the serializers in a schema's mark specs into an object.
8533
8540
  */
8534
8541
  static marksFromSchema(e) {
8535
- return jd(e.marks);
8542
+ return zd(e.marks);
8536
8543
  }
8537
8544
  }
8538
- function jd(t) {
8545
+ function zd(t) {
8539
8546
  let e = {};
8540
8547
  for (let n in t) {
8541
8548
  let r = t[n].spec.toDOM;
@@ -8550,7 +8557,7 @@ const Hp = 65535, Wp = Math.pow(2, 16);
8550
8557
  function h2(t, e) {
8551
8558
  return t + e * Wp;
8552
8559
  }
8553
- function zd(t) {
8560
+ function jd(t) {
8554
8561
  return t & Hp;
8555
8562
  }
8556
8563
  function p2(t) {
@@ -8607,7 +8614,7 @@ class $t {
8607
8614
  @internal
8608
8615
  */
8609
8616
  recover(e) {
8610
- let n = 0, r = zd(e);
8617
+ let n = 0, r = jd(e);
8611
8618
  if (!this.inverted)
8612
8619
  for (let i = 0; i < r; i++)
8613
8620
  n += this.ranges[i * 3 + 2] - this.ranges[i * 3 + 1];
@@ -8644,7 +8651,7 @@ class $t {
8644
8651
  @internal
8645
8652
  */
8646
8653
  touches(e, n) {
8647
- let r = 0, i = zd(n), s = this.inverted ? 2 : 1, o = this.inverted ? 1 : 2;
8654
+ let r = 0, i = jd(n), s = this.inverted ? 2 : 1, o = this.inverted ? 1 : 2;
8648
8655
  for (let a = 0; a < this.ranges.length; a += 3) {
8649
8656
  let l = this.ranges[a] - (this.inverted ? r : 0);
8650
8657
  if (l > e)
@@ -10754,7 +10761,7 @@ class gi {
10754
10761
  let i = new al(e.schema, e.plugins), s = new gi(i);
10755
10762
  return i.fields.forEach((o) => {
10756
10763
  if (o.name == "doc")
10757
- s.doc = jr.fromJSON(e.schema, n.doc);
10764
+ s.doc = zr.fromJSON(e.schema, n.doc);
10758
10765
  else if (o.name == "selection")
10759
10766
  s.selection = me.fromJSON(s.doc, n.selection);
10760
10767
  else if (o.name == "storedMarks")
@@ -10831,18 +10838,18 @@ let Ql = null;
10831
10838
  const Rn = function(t, e, n) {
10832
10839
  let r = Ql || (Ql = document.createRange());
10833
10840
  return r.setEnd(t, n ?? t.nodeValue.length), r.setStart(t, e || 0), r;
10834
- }, j2 = function() {
10841
+ }, z2 = function() {
10835
10842
  Ql = null;
10836
10843
  }, Jr = function(t, e, n, r) {
10837
10844
  return n && (Jd(t, e, n, r, -1) || Jd(t, e, n, r, 1));
10838
- }, z2 = /^(img|br|input|textarea|hr)$/i;
10845
+ }, j2 = /^(img|br|input|textarea|hr)$/i;
10839
10846
  function Jd(t, e, n, r, i) {
10840
10847
  for (; ; ) {
10841
10848
  if (t == n && e == r)
10842
10849
  return !0;
10843
10850
  if (e == (i < 0 ? 0 : gn(t))) {
10844
10851
  let s = t.parentNode;
10845
- if (!s || s.nodeType != 1 || eo(t) || z2.test(t.nodeName) || t.contentEditable == "false")
10852
+ if (!s || s.nodeType != 1 || eo(t) || j2.test(t.nodeName) || t.contentEditable == "false")
10846
10853
  return !1;
10847
10854
  e = it(t) + (i < 0 ? 0 : 1), t = s;
10848
10855
  } else if (t.nodeType == 1) {
@@ -10929,7 +10936,7 @@ function q2(t, e, n) {
10929
10936
  }
10930
10937
  const Sn = typeof navigator < "u" ? navigator : null, Zd = typeof document < "u" ? document : null, Sr = Sn && Sn.userAgent || "", ec = /Edge\/(\d+)/.exec(Sr), rm = /MSIE \d/.exec(Sr), tc = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Sr), Tt = !!(rm || tc || ec), fr = rm ? document.documentMode : tc ? +tc[1] : ec ? +ec[1] : 0, sn = !Tt && /gecko\/(\d+)/i.test(Sr);
10931
10938
  sn && +(/Firefox\/(\d+)/.exec(Sr) || [0, 0])[1];
10932
- const nc = !Tt && /Chrome\/(\d+)/.exec(Sr), ht = !!nc, G2 = nc ? +nc[1] : 0, gt = !Tt && !!Sn && /Apple Computer/.test(Sn.vendor), Pi = gt && (/Mobile\/\w+/.test(Sr) || !!Sn && Sn.maxTouchPoints > 2), zt = Pi || (Sn ? /Mac/.test(Sn.platform) : !1), K2 = Sn ? /Win/.test(Sn.platform) : !1, Xt = /Android \d/.test(Sr), to = !!Zd && "webkitFontSmoothing" in Zd.documentElement.style, J2 = to ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
10939
+ const nc = !Tt && /Chrome\/(\d+)/.exec(Sr), ht = !!nc, G2 = nc ? +nc[1] : 0, gt = !Tt && !!Sn && /Apple Computer/.test(Sn.vendor), Pi = gt && (/Mobile\/\w+/.test(Sr) || !!Sn && Sn.maxTouchPoints > 2), jt = Pi || (Sn ? /Mac/.test(Sn.platform) : !1), K2 = Sn ? /Win/.test(Sn.platform) : !1, Xt = /Android \d/.test(Sr), to = !!Zd && "webkitFontSmoothing" in Zd.documentElement.style, J2 = to ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
10933
10940
  function Z2(t) {
10934
10941
  let e = t.defaultView && t.defaultView.visualViewport;
10935
10942
  return e ? {
@@ -12399,7 +12406,7 @@ function ff(t, e, n) {
12399
12406
  if (t.endOfTextblock(e > 0 ? "forward" : "backward")) {
12400
12407
  let i = oc(t.state, e);
12401
12408
  return i && i instanceof te ? rr(t, i) : !1;
12402
- } else if (!(zt && n.indexOf("m") > -1)) {
12409
+ } else if (!(jt && n.indexOf("m") > -1)) {
12403
12410
  let i = r.$head, s = i.textOffset ? null : e < 0 ? i.nodeBefore : i.nodeAfter, o;
12404
12411
  if (!s || s.isText)
12405
12412
  return !1;
@@ -12559,7 +12566,7 @@ function hf(t, e) {
12559
12566
  }
12560
12567
  function pf(t, e, n) {
12561
12568
  let r = t.state.selection;
12562
- if (r instanceof ue && !r.empty || n.indexOf("s") > -1 || zt && n.indexOf("m") > -1)
12569
+ if (r instanceof ue && !r.empty || n.indexOf("s") > -1 || jt && n.indexOf("m") > -1)
12563
12570
  return !1;
12564
12571
  let { $from: i, $to: s } = r;
12565
12572
  if (!i.parent.inlineContent || t.endOfTextblock(e < 0 ? "up" : "down")) {
@@ -12609,24 +12616,24 @@ function _D(t) {
12609
12616
  }
12610
12617
  function ED(t, e) {
12611
12618
  let n = e.keyCode, r = _D(e);
12612
- if (n == 8 || zt && n == 72 && r == "c")
12619
+ if (n == 8 || jt && n == 72 && r == "c")
12613
12620
  return mf(t, -1) || li(t, -1);
12614
- if (n == 46 && !e.shiftKey || zt && n == 68 && r == "c")
12621
+ if (n == 46 && !e.shiftKey || jt && n == 68 && r == "c")
12615
12622
  return mf(t, 1) || li(t, 1);
12616
12623
  if (n == 13 || n == 27)
12617
12624
  return !0;
12618
- if (n == 37 || zt && n == 66 && r == "c") {
12625
+ if (n == 37 || jt && n == 66 && r == "c") {
12619
12626
  let i = n == 37 ? hf(t, t.state.selection.from) == "ltr" ? -1 : 1 : -1;
12620
12627
  return ff(t, i, r) || li(t, i);
12621
- } else if (n == 39 || zt && n == 70 && r == "c") {
12628
+ } else if (n == 39 || jt && n == 70 && r == "c") {
12622
12629
  let i = n == 39 ? hf(t, t.state.selection.from) == "ltr" ? 1 : -1 : 1;
12623
12630
  return ff(t, i, r) || li(t, i);
12624
12631
  } else {
12625
- if (n == 38 || zt && n == 80 && r == "c")
12632
+ if (n == 38 || jt && n == 80 && r == "c")
12626
12633
  return pf(t, -1, r) || li(t, -1);
12627
- if (n == 40 || zt && n == 78 && r == "c")
12634
+ if (n == 40 || jt && n == 78 && r == "c")
12628
12635
  return DD(t) || pf(t, 1, r) || li(t, 1);
12629
- if (r == (zt ? "m" : "c") && (n == 66 || n == 73 || n == 89 || n == 90))
12636
+ if (r == (jt ? "m" : "c") && (n == 66 || n == 73 || n == 89 || n == 90))
12630
12637
  return !0;
12631
12638
  }
12632
12639
  return !1;
@@ -12860,7 +12867,7 @@ function FD(t, e) {
12860
12867
  return !1;
12861
12868
  return !0;
12862
12869
  }
12863
- function jD(t, e) {
12870
+ function zD(t, e) {
12864
12871
  !Xc(t, e) && yt[e.type] && (t.editable || !(e.type in vt)) && yt[e.type](t, e);
12865
12872
  }
12866
12873
  vt.keydown = (t, e) => {
@@ -12879,7 +12886,7 @@ vt.keyup = (t, e) => {
12879
12886
  };
12880
12887
  vt.keypress = (t, e) => {
12881
12888
  let n = e;
12882
- if (Tm(t, n) || !n.charCode || n.ctrlKey && !n.altKey || zt && n.metaKey)
12889
+ if (Tm(t, n) || !n.charCode || n.ctrlKey && !n.altKey || jt && n.metaKey)
12883
12890
  return;
12884
12891
  if (t.someProp("handleKeyPress", (i) => i(t, n))) {
12885
12892
  n.preventDefault();
@@ -12894,7 +12901,7 @@ vt.keypress = (t, e) => {
12894
12901
  function Ma(t) {
12895
12902
  return { left: t.clientX, top: t.clientY };
12896
12903
  }
12897
- function zD(t, e) {
12904
+ function jD(t, e) {
12898
12905
  let n = e.x - t.clientX, r = e.y - t.clientY;
12899
12906
  return n * n + r * r < 100;
12900
12907
  }
@@ -12963,12 +12970,12 @@ function GD(t, e, n) {
12963
12970
  function eu(t) {
12964
12971
  return Zo(t);
12965
12972
  }
12966
- const Cm = zt ? "metaKey" : "ctrlKey";
12973
+ const Cm = jt ? "metaKey" : "ctrlKey";
12967
12974
  yt.mousedown = (t, e) => {
12968
12975
  let n = e;
12969
12976
  t.input.shiftKey = n.shiftKey;
12970
12977
  let r = eu(t), i = Date.now(), s = "singleClick";
12971
- i - t.input.lastClick.time < 500 && zD(n, t.input.lastClick) && !n[Cm] && (t.input.lastClick.type == "singleClick" ? s = "doubleClick" : t.input.lastClick.type == "doubleClick" && (s = "tripleClick")), t.input.lastClick = { time: i, x: n.clientX, y: n.clientY, type: s };
12978
+ i - t.input.lastClick.time < 500 && jD(n, t.input.lastClick) && !n[Cm] && (t.input.lastClick.type == "singleClick" ? s = "doubleClick" : t.input.lastClick.type == "doubleClick" && (s = "tripleClick")), t.input.lastClick = { time: i, x: n.clientX, y: n.clientY, type: s };
12972
12979
  let o = t.posAtCoords(Ma(n));
12973
12980
  o && (s == "singleClick" ? (t.input.mouseDown && t.input.mouseDown.done(), t.input.mouseDown = new KD(t, o, n, !!r)) : (s == "doubleClick" ? UD : qD)(t, o.pos, o.inside, n) ? n.preventDefault() : cr(t, "pointer"));
12974
12981
  };
@@ -13153,7 +13160,7 @@ class Am {
13153
13160
  this.slice = e, this.move = n, this.node = r;
13154
13161
  }
13155
13162
  }
13156
- const Nm = zt ? "altKey" : "ctrlKey";
13163
+ const Nm = jt ? "altKey" : "ctrlKey";
13157
13164
  yt.dragstart = (t, e) => {
13158
13165
  let n = e, r = t.input.mouseDown;
13159
13166
  if (r && r.done(), !n.dataTransfer)
@@ -13251,7 +13258,7 @@ function Is(t, e) {
13251
13258
  }
13252
13259
  class Xo {
13253
13260
  constructor(e, n) {
13254
- this.toDOM = e, this.spec = n || zr, this.side = this.spec.side || 0;
13261
+ this.toDOM = e, this.spec = n || jr, this.side = this.spec.side || 0;
13255
13262
  }
13256
13263
  map(e, n, r, i) {
13257
13264
  let { pos: s, deleted: o } = e.mapResult(n.from + i, this.side < 0 ? -1 : 1);
@@ -13269,7 +13276,7 @@ class Xo {
13269
13276
  }
13270
13277
  class pr {
13271
13278
  constructor(e, n) {
13272
- this.attrs = e, this.spec = n || zr;
13279
+ this.attrs = e, this.spec = n || jr;
13273
13280
  }
13274
13281
  map(e, n, r, i) {
13275
13282
  let s = e.map(n.from + i, this.spec.inclusiveStart ? -1 : 1) - r, o = e.map(n.to + i, this.spec.inclusiveEnd ? 1 : -1) - r;
@@ -13289,7 +13296,7 @@ class pr {
13289
13296
  }
13290
13297
  class tu {
13291
13298
  constructor(e, n) {
13292
- this.attrs = e, this.spec = n || zr;
13299
+ this.attrs = e, this.spec = n || jr;
13293
13300
  }
13294
13301
  map(e, n, r, i) {
13295
13302
  let s = e.mapResult(n.from + i, 1);
@@ -13379,7 +13386,7 @@ class It {
13379
13386
  return this.type instanceof Xo;
13380
13387
  }
13381
13388
  }
13382
- const fi = [], zr = {};
13389
+ const fi = [], jr = {};
13383
13390
  class We {
13384
13391
  /**
13385
13392
  @internal
@@ -13393,7 +13400,7 @@ class We {
13393
13400
  you must make a copy if you want need to preserve that.
13394
13401
  */
13395
13402
  static create(e, n) {
13396
- return n.length ? Qo(n, e, 0, zr) : ot;
13403
+ return n.length ? Qo(n, e, 0, jr) : ot;
13397
13404
  }
13398
13405
  /**
13399
13406
  Find all decorations in this set which touch the given range
@@ -13423,7 +13430,7 @@ class We {
13423
13430
  document.
13424
13431
  */
13425
13432
  map(e, n, r) {
13426
- return this == ot || e.maps.length == 0 ? this : this.mapInner(e, n, 0, 0, r || zr);
13433
+ return this == ot || e.maps.length == 0 ? this : this.mapInner(e, n, 0, 0, r || jr);
13427
13434
  }
13428
13435
  /**
13429
13436
  @internal
@@ -13452,7 +13459,7 @@ class We {
13452
13459
  if (u = Pm(n, a, c)) {
13453
13460
  for (i || (i = this.children.slice()); s < i.length && i[s] < l; )
13454
13461
  s += 3;
13455
- i[s] == l ? i[s + 2] = i[s + 2].addInner(a, u, c + 1) : i.splice(s, 0, l, l + a.nodeSize, Qo(u, a, c + 1, zr)), s += 3;
13462
+ i[s] == l ? i[s + 2] = i[s + 2].addInner(a, u, c + 1) : i.splice(s, 0, l, l + a.nodeSize, Qo(u, a, c + 1, jr)), s += 3;
13456
13463
  }
13457
13464
  });
13458
13465
  let o = $m(s ? Im(n) : n, -r);
@@ -13556,7 +13563,7 @@ class sr {
13556
13563
  this.members = e;
13557
13564
  }
13558
13565
  map(e, n) {
13559
- const r = this.members.map((i) => i.map(e, n, zr));
13566
+ const r = this.members.map((i) => i.map(e, n, jr));
13560
13567
  return sr.from(r);
13561
13568
  }
13562
13569
  forChild(e, n) {
@@ -14414,7 +14421,7 @@ class v_ {
14414
14421
  views](https://prosemirror.net/docs/ref/#view.NodeView).
14415
14422
  */
14416
14423
  destroy() {
14417
- this.docView && (LD(this), this.destroyPluginViews(), this.mounted ? (this.docView.update(this.state.doc, [], dl(this), this), this.dom.textContent = "") : this.dom.parentNode && this.dom.parentNode.removeChild(this.dom), this.docView.destroy(), this.docView = null, j2());
14424
+ this.docView && (LD(this), this.destroyPluginViews(), this.mounted ? (this.docView.update(this.state.doc, [], dl(this), this), this.dom.textContent = "") : this.dom.parentNode && this.dom.parentNode.removeChild(this.dom), this.docView.destroy(), this.docView = null, z2());
14418
14425
  }
14419
14426
  /**
14420
14427
  This is true when the view has been
@@ -14428,7 +14435,7 @@ class v_ {
14428
14435
  Used for testing.
14429
14436
  */
14430
14437
  dispatchEvent(e) {
14431
- return jD(this, e);
14438
+ return zD(this, e);
14432
14439
  }
14433
14440
  /**
14434
14441
  Dispatch a transaction. Will call
@@ -14663,7 +14670,7 @@ const __ = (t, e, n) => {
14663
14670
  return a == null ? !1 : (e && e(t.tr.lift(o, a).scrollIntoView()), !0);
14664
14671
  }
14665
14672
  let s = i.nodeBefore;
14666
- if (!s.type.spec.isolating && jm(t, i, e))
14673
+ if (!s.type.spec.isolating && zm(t, i, e))
14667
14674
  return !0;
14668
14675
  if (r.parent.content.size == 0 && (Ii(s, "end") || te.isSelectable(s))) {
14669
14676
  let o = ka(t.doc, r.before(), r.after(), Y.empty);
@@ -14760,7 +14767,7 @@ const $_ = (t, e, n) => {
14760
14767
  if (!i)
14761
14768
  return !1;
14762
14769
  let s = i.nodeAfter;
14763
- if (jm(t, i, e))
14770
+ if (zm(t, i, e))
14764
14771
  return !0;
14765
14772
  if (r.parent.content.size == 0 && (Ii(s, "start") || te.isSelectable(s))) {
14766
14773
  let o = ka(t.doc, r.before(), r.after(), Y.empty);
@@ -14858,7 +14865,7 @@ const L_ = (t, e) => {
14858
14865
  a.setSelection(ue.create(a.doc, o + 1)), e(a.scrollIntoView());
14859
14866
  }
14860
14867
  return !0;
14861
- }, j_ = (t, e) => {
14868
+ }, z_ = (t, e) => {
14862
14869
  let { $cursor: n } = t.selection;
14863
14870
  if (!n || n.parent.content.size)
14864
14871
  return !1;
@@ -14869,7 +14876,7 @@ const L_ = (t, e) => {
14869
14876
  }
14870
14877
  let r = n.blockRange(), i = r && Zi(r);
14871
14878
  return i == null ? !1 : (e && e(t.tr.lift(r, i).scrollIntoView()), !0);
14872
- }, z_ = (t, e) => {
14879
+ }, j_ = (t, e) => {
14873
14880
  let { $from: n, to: r } = t.selection, i, s = n.sharedDepth(r);
14874
14881
  return s == 0 ? !1 : (i = n.before(s), e && e(t.tr.setSelection(te.create(t.doc, i))), !0);
14875
14882
  };
@@ -14877,7 +14884,7 @@ function H_(t, e, n) {
14877
14884
  let r = e.nodeBefore, i = e.nodeAfter, s = e.index();
14878
14885
  return !r || !i || !r.type.compatibleContent(i.type) ? !1 : !r.content.size && e.parent.canReplace(s - 1, s) ? (n && n(t.tr.delete(e.pos - r.nodeSize, e.pos).scrollIntoView()), !0) : !e.parent.canReplace(s, s + 1) || !(i.isTextblock || xr(t.doc, e.pos)) ? !1 : (n && n(t.tr.clearIncompatible(e.pos, r.type, r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()), !0);
14879
14886
  }
14880
- function jm(t, e, n) {
14887
+ function zm(t, e, n) {
14881
14888
  let r = e.nodeBefore, i = e.nodeAfter, s, o;
14882
14889
  if (r.type.spec.isolating || i.type.spec.isolating)
14883
14890
  return !1;
@@ -14918,7 +14925,7 @@ function jm(t, e, n) {
14918
14925
  }
14919
14926
  return !1;
14920
14927
  }
14921
- function zm(t) {
14928
+ function jm(t) {
14922
14929
  return function(e, n) {
14923
14930
  let r = e.selection, i = t < 0 ? r.$from : r.$to, s = i.depth;
14924
14931
  for (; i.node(s).isInline; ) {
@@ -14929,7 +14936,7 @@ function zm(t) {
14929
14936
  return i.node(s).isTextblock ? (n && n(e.tr.setSelection(ue.create(e.doc, t < 0 ? i.start(s) : i.end(s)))), !0) : !1;
14930
14937
  };
14931
14938
  }
14932
- const W_ = zm(-1), Y_ = zm(1);
14939
+ const W_ = jm(-1), Y_ = jm(1);
14933
14940
  function U_(t, e = null) {
14934
14941
  return function(n, r) {
14935
14942
  let { $from: i, $to: s } = n.selection, o = i.blockRange(s), a = o && qc(o, t, e);
@@ -16113,14 +16120,14 @@ const PE = (t) => t.toString().startsWith("<"), IE = (t, e, n) => ({ tr: r, disp
16113
16120
  } catch {
16114
16121
  return !1;
16115
16122
  }
16116
- }, jE = () => ({ state: t, dispatch: e, tr: n }) => {
16123
+ }, zE = () => ({ state: t, dispatch: e, tr: n }) => {
16117
16124
  try {
16118
16125
  const r = wa(t.doc, t.selection.$from.pos, 1);
16119
16126
  return r == null ? !1 : (n.join(r, 2), e && e(n), !0);
16120
16127
  } catch {
16121
16128
  return !1;
16122
16129
  }
16123
- }, zE = () => ({ state: t, dispatch: e }) => E_(t, e), HE = () => ({ state: t, dispatch: e }) => A_(t, e);
16130
+ }, jE = () => ({ state: t, dispatch: e }) => E_(t, e), HE = () => ({ state: t, dispatch: e }) => A_(t, e);
16124
16131
  function Km() {
16125
16132
  return typeof navigator < "u" ? /Mac/.test(navigator.platform) : !1;
16126
16133
  }
@@ -16181,7 +16188,7 @@ function Rs(t, e, n = {}) {
16181
16188
  const UE = (t, e = {}) => ({ state: n, dispatch: r }) => {
16182
16189
  const i = et(t, n.schema);
16183
16190
  return Rs(n, i, e) ? V_(n, r) : !1;
16184
- }, qE = () => ({ state: t, dispatch: e }) => j_(t, e), GE = (t) => ({ state: e, dispatch: n }) => {
16191
+ }, qE = () => ({ state: t, dispatch: e }) => z_(t, e), GE = (t) => ({ state: e, dispatch: n }) => {
16185
16192
  const r = et(t, e.schema);
16186
16193
  return K_(r)(e, n);
16187
16194
  }, KE = () => ({ state: t, dispatch: e }) => B_(t, e);
@@ -16205,7 +16212,7 @@ const JE = (t, e) => ({ tr: n, state: r, dispatch: i }) => {
16205
16212
  }, ZE = () => ({ tr: t, dispatch: e }) => (e && t.scrollIntoView(), !0), XE = () => ({ tr: t, commands: e }) => e.setTextSelection({
16206
16213
  from: 0,
16207
16214
  to: t.doc.content.size
16208
- }), QE = () => ({ state: t, dispatch: e }) => N_(t, e), eA = () => ({ state: t, dispatch: e }) => P_(t, e), tA = () => ({ state: t, dispatch: e }) => z_(t, e), nA = () => ({ state: t, dispatch: e }) => Y_(t, e), rA = () => ({ state: t, dispatch: e }) => W_(t, e);
16215
+ }), QE = () => ({ state: t, dispatch: e }) => N_(t, e), eA = () => ({ state: t, dispatch: e }) => P_(t, e), tA = () => ({ state: t, dispatch: e }) => j_(t, e), nA = () => ({ state: t, dispatch: e }) => Y_(t, e), rA = () => ({ state: t, dispatch: e }) => W_(t, e);
16209
16216
  function Jm(t, e, n = {}) {
16210
16217
  return na(t, e, { slice: !1, parseOptions: n });
16211
16218
  }
@@ -16631,8 +16638,8 @@ var $A = /* @__PURE__ */ Object.freeze({
16631
16638
  joinBackward: BE,
16632
16639
  joinForward: LE,
16633
16640
  joinItemBackward: FE,
16634
- joinItemForward: jE,
16635
- joinTextblockBackward: zE,
16641
+ joinItemForward: zE,
16642
+ joinTextblockBackward: jE,
16636
16643
  joinTextblockForward: HE,
16637
16644
  keyboardShortcut: YE,
16638
16645
  lift: UE,
@@ -17000,7 +17007,7 @@ function FA(t, e, n) {
17000
17007
  const i = document.createElement("style");
17001
17008
  return e && i.setAttribute("nonce", e), i.setAttribute("data-tiptap-style", ""), i.innerHTML = t, document.getElementsByTagName("head")[0].appendChild(i), i;
17002
17009
  }
17003
- let jA = class extends Q_ {
17010
+ let zA = class extends Q_ {
17004
17011
  constructor(e = {}) {
17005
17012
  super(), this.isFocused = !1, this.extensionStorage = {}, this.options = {
17006
17013
  element: document.createElement("div"),
@@ -17321,7 +17328,7 @@ function Ri(t) {
17321
17328
  }
17322
17329
  });
17323
17330
  }
17324
- function zA(t) {
17331
+ function jA(t) {
17325
17332
  return new _a({
17326
17333
  find: t.find,
17327
17334
  handler: ({ state: e, range: n, match: r }) => {
@@ -17698,7 +17705,7 @@ const cN = {
17698
17705
  requires: ["popperOffsets"],
17699
17706
  requiresIfExists: ["preventOverflow"]
17700
17707
  };
17701
- function ji(t) {
17708
+ function zi(t) {
17702
17709
  return t.split("-")[1];
17703
17710
  }
17704
17711
  var uN = {
@@ -17761,7 +17768,7 @@ function Ff(t) {
17761
17768
  function fN(t) {
17762
17769
  var e = t.state, n = t.options, r = n.gpuAcceleration, i = r === void 0 ? !0 : r, s = n.adaptive, o = s === void 0 ? !0 : s, a = n.roundOffsets, l = a === void 0 ? !0 : a, c = {
17763
17770
  placement: wn(e.placement),
17764
- variation: ji(e.placement),
17771
+ variation: zi(e.placement),
17765
17772
  popper: e.elements.popper,
17766
17773
  popperRect: e.rects.popper,
17767
17774
  gpuAcceleration: i,
@@ -17825,7 +17832,7 @@ var yN = {
17825
17832
  start: "end",
17826
17833
  end: "start"
17827
17834
  };
17828
- function jf(t) {
17835
+ function zf(t) {
17829
17836
  return t.replace(/start|end/g, function(e) {
17830
17837
  return yN[e];
17831
17838
  });
@@ -17891,7 +17898,7 @@ function wN(t, e) {
17891
17898
  var n = Fi(t, !1, e === "fixed");
17892
17899
  return n.top = n.top + t.clientTop, n.left = n.left + t.clientLeft, n.bottom = n.top + t.clientHeight, n.right = n.left + t.clientWidth, n.width = t.clientWidth, n.height = t.clientHeight, n.x = n.left, n.y = n.top, n;
17893
17900
  }
17894
- function zf(t, e, n) {
17901
+ function jf(t, e, n) {
17895
17902
  return e === Qm ? gc(vN(t, n)) : Xr(e) ? wN(e, n) : gc(bN(Mr(t)));
17896
17903
  }
17897
17904
  function kN(t) {
@@ -17902,13 +17909,13 @@ function kN(t) {
17902
17909
  }
17903
17910
  function xN(t, e, n, r) {
17904
17911
  var i = e === "clippingParents" ? kN(t) : [].concat(e), s = [].concat(i, [n]), o = s[0], a = s.reduce(function(l, c) {
17905
- var u = zf(t, c, r);
17912
+ var u = jf(t, c, r);
17906
17913
  return l.top = Wr(u.top, l.top), l.right = ra(u.right, l.right), l.bottom = ra(u.bottom, l.bottom), l.left = Wr(u.left, l.left), l;
17907
- }, zf(t, o, r));
17914
+ }, jf(t, o, r));
17908
17915
  return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
17909
17916
  }
17910
17917
  function lg(t) {
17911
- var e = t.reference, n = t.element, r = t.placement, i = r ? wn(r) : null, s = r ? ji(r) : null, o = e.x + e.width / 2 - n.width / 2, a = e.y + e.height / 2 - n.height / 2, l;
17918
+ var e = t.reference, n = t.element, r = t.placement, i = r ? wn(r) : null, s = r ? zi(r) : null, o = e.x + e.width / 2 - n.width / 2, a = e.y + e.height / 2 - n.height / 2, l;
17912
17919
  switch (i) {
17913
17920
  case Dt:
17914
17921
  l = {
@@ -17970,16 +17977,16 @@ function Ls(t, e) {
17970
17977
  if (f === ls && ne) {
17971
17978
  var Q = ne[i];
17972
17979
  Object.keys(L).forEach(function(I) {
17973
- var j = [Gt, qt].indexOf(I) >= 0 ? 1 : -1, W = [Dt, qt].indexOf(I) >= 0 ? "y" : "x";
17974
- L[I] += Q[W] * j;
17980
+ var z = [Gt, qt].indexOf(I) >= 0 ? 1 : -1, W = [Dt, qt].indexOf(I) >= 0 ? "y" : "x";
17981
+ L[I] += Q[W] * z;
17975
17982
  });
17976
17983
  }
17977
17984
  return L;
17978
17985
  }
17979
17986
  function SN(t, e) {
17980
17987
  e === void 0 && (e = {});
17981
- var n = e, r = n.placement, i = n.boundary, s = n.rootBoundary, o = n.padding, a = n.flipVariations, l = n.allowedAutoPlacements, c = l === void 0 ? eg : l, u = ji(r), d = u ? a ? Bf : Bf.filter(function(p) {
17982
- return ji(p) === u;
17988
+ var n = e, r = n.placement, i = n.boundary, s = n.rootBoundary, o = n.padding, a = n.flipVariations, l = n.allowedAutoPlacements, c = l === void 0 ? eg : l, u = zi(r), d = u ? a ? Bf : Bf.filter(function(p) {
17989
+ return zi(p) === u;
17983
17990
  }) : ro, f = d.filter(function(p) {
17984
17991
  return c.indexOf(p) >= 0;
17985
17992
  });
@@ -18000,7 +18007,7 @@ function ON(t) {
18000
18007
  if (wn(t) === uu)
18001
18008
  return [];
18002
18009
  var e = To(t);
18003
- return [jf(t), e, jf(e)];
18010
+ return [zf(t), e, zf(e)];
18004
18011
  }
18005
18012
  function MN(t) {
18006
18013
  var e = t.state, n = t.options, r = t.name;
@@ -18015,16 +18022,16 @@ function MN(t) {
18015
18022
  allowedAutoPlacements: m
18016
18023
  }) : ut);
18017
18024
  }, []), O = e.rects.reference, v = e.rects.popper, S = /* @__PURE__ */ new Map(), A = !0, N = y[0], L = 0; L < y.length; L++) {
18018
- var ne = y[L], Q = wn(ne), I = ji(ne) === Bi, j = [Dt, qt].indexOf(Q) >= 0, W = j ? "width" : "height", z = Ls(e, {
18025
+ var ne = y[L], Q = wn(ne), I = zi(ne) === Bi, z = [Dt, qt].indexOf(Q) >= 0, W = z ? "width" : "height", j = Ls(e, {
18019
18026
  placement: ne,
18020
18027
  boundary: u,
18021
18028
  rootBoundary: d,
18022
18029
  altBoundary: f,
18023
18030
  padding: c
18024
- }), P = j ? I ? Gt : _t : I ? qt : Dt;
18031
+ }), P = z ? I ? Gt : _t : I ? qt : Dt;
18025
18032
  O[W] > v[W] && (P = To(P));
18026
18033
  var ee = To(P), Ce = [];
18027
- if (s && Ce.push(z[Q] <= 0), a && Ce.push(z[P] <= 0, z[ee] <= 0), Ce.every(function(Pe) {
18034
+ if (s && Ce.push(j[Q] <= 0), a && Ce.push(j[P] <= 0, j[ee] <= 0), Ce.every(function(Pe) {
18028
18035
  return Pe;
18029
18036
  })) {
18030
18037
  N = ne, A = !1;
@@ -18150,7 +18157,7 @@ function IN(t) {
18150
18157
  rootBoundary: c,
18151
18158
  padding: d,
18152
18159
  altBoundary: u
18153
- }), b = wn(e.placement), k = ji(e.placement), T = !k, y = hu(b), O = PN(y), v = e.modifiersData.popperOffsets, S = e.rects.reference, A = e.rects.popper, N = typeof m == "function" ? m(Object.assign({}, e.rects, {
18160
+ }), b = wn(e.placement), k = zi(e.placement), T = !k, y = hu(b), O = PN(y), v = e.modifiersData.popperOffsets, S = e.rects.reference, A = e.rects.popper, N = typeof m == "function" ? m(Object.assign({}, e.rects, {
18154
18161
  placement: e.placement
18155
18162
  })) : m, L = typeof N == "number" ? {
18156
18163
  mainAxis: N,
@@ -18164,15 +18171,15 @@ function IN(t) {
18164
18171
  };
18165
18172
  if (v) {
18166
18173
  if (s) {
18167
- var I, j = y === "y" ? Dt : _t, W = y === "y" ? qt : Gt, z = y === "y" ? "height" : "width", P = v[y], ee = P + g[j], Ce = P - g[W], tt = h ? -A[z] / 2 : 0, wt = k === Bi ? S[z] : A[z], Et = k === Bi ? -A[z] : -S[z], At = e.elements.arrow, Pe = h && At ? fu(At) : {
18174
+ var I, z = y === "y" ? Dt : _t, W = y === "y" ? qt : Gt, j = y === "y" ? "height" : "width", P = v[y], ee = P + g[z], Ce = P - g[W], tt = h ? -A[j] / 2 : 0, wt = k === Bi ? S[j] : A[j], Et = k === Bi ? -A[j] : -S[j], At = e.elements.arrow, Pe = h && At ? fu(At) : {
18168
18175
  width: 0,
18169
18176
  height: 0
18170
- }, ut = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ig(), H = ut[j], ae = ut[W], De = ks(0, S[z], Pe[z]), ye = T ? S[z] / 2 - tt - De - H - L.mainAxis : wt - De - H - L.mainAxis, Ge = T ? -S[z] / 2 + tt + De + ae + L.mainAxis : Et + De + ae + L.mainAxis, Ke = e.elements.arrow && io(e.elements.arrow), kt = Ke ? y === "y" ? Ke.clientTop || 0 : Ke.clientLeft || 0 : 0, Cr = (I = ne == null ? void 0 : ne[y]) != null ? I : 0, ni = P + ye - Cr - kt, Xn = P + Ge - Cr, Qn = ks(h ? ra(ee, ni) : ee, P, h ? Wr(Ce, Xn) : Ce);
18177
+ }, ut = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ig(), H = ut[z], ae = ut[W], De = ks(0, S[j], Pe[j]), ye = T ? S[j] / 2 - tt - De - H - L.mainAxis : wt - De - H - L.mainAxis, Ge = T ? -S[j] / 2 + tt + De + ae + L.mainAxis : Et + De + ae + L.mainAxis, Ke = e.elements.arrow && io(e.elements.arrow), kt = Ke ? y === "y" ? Ke.clientTop || 0 : Ke.clientLeft || 0 : 0, Cr = (I = ne == null ? void 0 : ne[y]) != null ? I : 0, ni = P + ye - Cr - kt, Xn = P + Ge - Cr, Qn = ks(h ? ra(ee, ni) : ee, P, h ? Wr(Ce, Xn) : Ce);
18171
18178
  v[y] = Qn, Q[y] = Qn - P;
18172
18179
  }
18173
18180
  if (a) {
18174
- var An, Zt = y === "x" ? Dt : _t, Ft = y === "x" ? qt : Gt, jt = v[O], dn = O === "y" ? "height" : "width", Nn = jt + g[Zt], fn = jt - g[Ft], Tr = [Dt, _t].indexOf(b) !== -1, er = (An = ne == null ? void 0 : ne[O]) != null ? An : 0, ri = Tr ? Nn : jt - S[dn] - A[dn] - er + L.altAxis, ii = Tr ? jt + S[dn] + A[dn] - er - L.altAxis : fn, si = h && Tr ? sN(ri, jt, ii) : ks(h ? ri : Nn, jt, h ? ii : fn);
18175
- v[O] = si, Q[O] = si - jt;
18181
+ var An, Zt = y === "x" ? Dt : _t, Ft = y === "x" ? qt : Gt, zt = v[O], dn = O === "y" ? "height" : "width", Nn = zt + g[Zt], fn = zt - g[Ft], Tr = [Dt, _t].indexOf(b) !== -1, er = (An = ne == null ? void 0 : ne[O]) != null ? An : 0, ri = Tr ? Nn : zt - S[dn] - A[dn] - er + L.altAxis, ii = Tr ? zt + S[dn] + A[dn] - er - L.altAxis : fn, si = h && Tr ? sN(ri, zt, ii) : ks(h ? ri : Nn, zt, h ? ii : fn);
18182
+ v[O] = si, Q[O] = si - zt;
18176
18183
  }
18177
18184
  e.modifiersData[r] = Q;
18178
18185
  }
@@ -18214,7 +18221,7 @@ function FN(t, e, n) {
18214
18221
  height: o.height
18215
18222
  };
18216
18223
  }
18217
- function jN(t) {
18224
+ function zN(t) {
18218
18225
  var e = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
18219
18226
  t.forEach(function(s) {
18220
18227
  e.set(s.name, s);
@@ -18233,8 +18240,8 @@ function jN(t) {
18233
18240
  n.has(s.name) || i(s);
18234
18241
  }), r;
18235
18242
  }
18236
- function zN(t) {
18237
- var e = jN(t);
18243
+ function jN(t) {
18244
+ var e = zN(t);
18238
18245
  return eN.reduce(function(n, r) {
18239
18246
  return n.concat(e.filter(function(i) {
18240
18247
  return i.phase === r;
@@ -18299,7 +18306,7 @@ function YN(t) {
18299
18306
  reference: Xr(a) ? xs(a) : a.contextElement ? xs(a.contextElement) : [],
18300
18307
  popper: xs(l)
18301
18308
  };
18302
- var T = zN(WN([].concat(r, u.options.modifiers)));
18309
+ var T = jN(WN([].concat(r, u.options.modifiers)));
18303
18310
  return u.orderedModifiers = T.filter(function(y) {
18304
18311
  return y.enabled;
18305
18312
  }), p(), h.update();
@@ -18551,21 +18558,21 @@ function mg(t) {
18551
18558
  "color: #a6a095;"
18552
18559
  ];
18553
18560
  }
18554
- var js;
18561
+ var zs;
18555
18562
  process.env.NODE_ENV !== "production" && h$();
18556
18563
  function h$() {
18557
- js = /* @__PURE__ */ new Set();
18564
+ zs = /* @__PURE__ */ new Set();
18558
18565
  }
18559
18566
  function Vn(t, e) {
18560
- if (t && !js.has(e)) {
18567
+ if (t && !zs.has(e)) {
18561
18568
  var n;
18562
- js.add(e), (n = console).warn.apply(n, mg(e));
18569
+ zs.add(e), (n = console).warn.apply(n, mg(e));
18563
18570
  }
18564
18571
  }
18565
18572
  function yc(t, e) {
18566
- if (t && !js.has(e)) {
18573
+ if (t && !zs.has(e)) {
18567
18574
  var n;
18568
- js.add(e), (n = console).error.apply(n, mg(e));
18575
+ zs.add(e), (n = console).error.apply(n, mg(e));
18569
18576
  }
18570
18577
  }
18571
18578
  function p$(t) {
@@ -18781,7 +18788,7 @@ function k$(t, e) {
18781
18788
  return Ke(), tt(), P(), ee("onCreate", [y]), n.showOnCreate && Nn(), v.addEventListener("mouseenter", function() {
18782
18789
  y.props.interactive && y.state.isVisible && y.clearDelayTimeouts();
18783
18790
  }), v.addEventListener("mouseleave", function() {
18784
- y.props.interactive && y.props.trigger.indexOf("mouseenter") >= 0 && j().addEventListener("mousemove", p);
18791
+ y.props.interactive && y.props.trigger.indexOf("mouseenter") >= 0 && z().addEventListener("mousemove", p);
18785
18792
  }), y;
18786
18793
  function L() {
18787
18794
  var w = y.props.touch;
@@ -18797,14 +18804,14 @@ function k$(t, e) {
18797
18804
  function I() {
18798
18805
  return m || t;
18799
18806
  }
18800
- function j() {
18807
+ function z() {
18801
18808
  var w = I().parentNode;
18802
18809
  return w ? s$(w) : document;
18803
18810
  }
18804
18811
  function W() {
18805
18812
  return bc(v);
18806
18813
  }
18807
- function z(w) {
18814
+ function j(w) {
18808
18815
  return y.state.isMounted && !y.state.isVisible || mn.isTouch || u && u.type === "focus" ? 0 : bl(y.props.delay, w ? 0 : 1, Pt.delay);
18809
18816
  }
18810
18817
  function P(w) {
@@ -18842,7 +18849,7 @@ function k$(t, e) {
18842
18849
  }
18843
18850
  }
18844
18851
  function wt() {
18845
- j().removeEventListener("mousemove", p), ko = ko.filter(function(w) {
18852
+ z().removeEventListener("mousemove", p), ko = ko.filter(function(w) {
18846
18853
  return w !== p;
18847
18854
  });
18848
18855
  }
@@ -18870,11 +18877,11 @@ function k$(t, e) {
18870
18877
  l = !1;
18871
18878
  }
18872
18879
  function ut() {
18873
- var w = j();
18880
+ var w = z();
18874
18881
  w.addEventListener("mousedown", Et, !0), w.addEventListener("touchend", Et, Ar), w.addEventListener("touchstart", Pe, Ar), w.addEventListener("touchmove", At, Ar);
18875
18882
  }
18876
18883
  function H() {
18877
- var w = j();
18884
+ var w = z();
18878
18885
  w.removeEventListener("mousedown", Et, !0), w.removeEventListener("touchend", Et, Ar), w.removeEventListener("touchstart", Pe, Ar), w.removeEventListener("touchmove", At, Ar);
18879
18886
  }
18880
18887
  function ae(w, B) {
@@ -18945,10 +18952,10 @@ function k$(t, e) {
18945
18952
  var B = w.target, q = I().contains(B) || v.contains(B);
18946
18953
  if (!(w.type === "mousemove" && q)) {
18947
18954
  var re = dn().concat(v).map(function(se) {
18948
- var fe, _e = se._tippy, je = (fe = _e.popperInstance) == null ? void 0 : fe.state;
18949
- return je ? {
18955
+ var fe, _e = se._tippy, ze = (fe = _e.popperInstance) == null ? void 0 : fe.state;
18956
+ return ze ? {
18950
18957
  popperRect: se.getBoundingClientRect(),
18951
- popperState: je,
18958
+ popperState: ze,
18952
18959
  props: n
18953
18960
  } : null;
18954
18961
  }).filter(Boolean);
@@ -18973,7 +18980,7 @@ function k$(t, e) {
18973
18980
  }
18974
18981
  function Zt() {
18975
18982
  Ft();
18976
- var w = y.props, B = w.popperOptions, q = w.placement, re = w.offset, se = w.getReferenceClientRect, fe = w.moveTransition, _e = Q() ? bc(v).arrow : null, je = se ? {
18983
+ var w = y.props, B = w.popperOptions, q = w.placement, re = w.offset, se = w.getReferenceClientRect, fe = w.moveTransition, _e = Q() ? bc(v).arrow : null, ze = se ? {
18977
18984
  getBoundingClientRect: se,
18978
18985
  contextElement: se.contextElement || I()
18979
18986
  } : t, dt = {
@@ -19022,7 +19029,7 @@ function k$(t, e) {
19022
19029
  element: _e,
19023
19030
  padding: 3
19024
19031
  }
19025
- }), Nt.push.apply(Nt, (B == null ? void 0 : B.modifiers) || []), y.popperInstance = qN(je, v, Object.assign({}, B, {
19032
+ }), Nt.push.apply(Nt, (B == null ? void 0 : B.modifiers) || []), y.popperInstance = qN(ze, v, Object.assign({}, B, {
19026
19033
  placement: q,
19027
19034
  onFirstUpdate: f,
19028
19035
  modifiers: Nt
@@ -19031,7 +19038,7 @@ function k$(t, e) {
19031
19038
  function Ft() {
19032
19039
  y.popperInstance && (y.popperInstance.destroy(), y.popperInstance = null);
19033
19040
  }
19034
- function jt() {
19041
+ function zt() {
19035
19042
  var w = y.props.appendTo, B, q = I();
19036
19043
  y.props.interactive && w === fg || w === "parent" ? B = q.parentNode : B = hg(w, [q]), B.contains(v) || B.appendChild(v), y.state.isMounted = !0, Zt(), process.env.NODE_ENV !== "production" && Vn(y.props.interactive && w === Pt.appendTo && q.nextElementSibling !== v, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
19037
19044
 
@@ -19046,7 +19053,7 @@ function k$(t, e) {
19046
19053
  }
19047
19054
  function Nn(w) {
19048
19055
  y.clearDelayTimeouts(), w && ee("onTrigger", [y, w]), ut();
19049
- var B = z(!0), q = L(), re = q[0], se = q[1];
19056
+ var B = j(!0), q = L(), re = q[0], se = q[1];
19050
19057
  mn.isTouch && re === "hold" && se && (B = se), B ? r = setTimeout(function() {
19051
19058
  y.show();
19052
19059
  }, B) : y.show();
@@ -19057,7 +19064,7 @@ function k$(t, e) {
19057
19064
  return;
19058
19065
  }
19059
19066
  if (!(y.props.trigger.indexOf("mouseenter") >= 0 && y.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(w.type) >= 0 && o)) {
19060
- var B = z(!1);
19067
+ var B = j(!1);
19061
19068
  B ? i = setTimeout(function() {
19062
19069
  y.state.isVisible && y.hide();
19063
19070
  }, B) : s = requestAnimationFrame(function() {
@@ -19097,8 +19104,8 @@ function k$(t, e) {
19097
19104
  var w = y.state.isVisible, B = y.state.isDestroyed, q = !y.state.isEnabled, re = mn.isTouch && !y.props.touch, se = bl(y.props.duration, 0, Pt.duration);
19098
19105
  if (!(w || B || q || re) && !I().hasAttribute("disabled") && (ee("onShow", [y], !1), y.props.onShow(y) !== !1)) {
19099
19106
  if (y.state.isVisible = !0, Q() && (v.style.visibility = "visible"), P(), ut(), y.state.isMounted || (v.style.transition = "none"), Q()) {
19100
- var fe = W(), _e = fe.box, je = fe.content;
19101
- wl([_e, je], 0);
19107
+ var fe = W(), _e = fe.box, ze = fe.content;
19108
+ wl([_e, ze], 0);
19102
19109
  }
19103
19110
  f = function() {
19104
19111
  var Nt;
@@ -19111,7 +19118,7 @@ function k$(t, e) {
19111
19118
  y.state.isShown = !0, ee("onShown", [y]);
19112
19119
  });
19113
19120
  }
19114
- }, jt();
19121
+ }, zt();
19115
19122
  }
19116
19123
  }
19117
19124
  function M() {
@@ -19126,7 +19133,7 @@ function k$(t, e) {
19126
19133
  }
19127
19134
  }
19128
19135
  function R(w) {
19129
- process.env.NODE_ENV !== "production" && Vn(y.state.isDestroyed, ci("hideWithInteractivity")), j().addEventListener("mousemove", p), Gf(ko, p), p(w);
19136
+ process.env.NODE_ENV !== "production" && Vn(y.state.isDestroyed, ci("hideWithInteractivity")), z().addEventListener("mousemove", p), Gf(ko, p), p(w);
19130
19137
  }
19131
19138
  function U() {
19132
19139
  process.env.NODE_ENV !== "production" && Vn(y.state.isDestroyed, ci("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (Ft(), dn().forEach(function(w) {
@@ -19452,7 +19459,7 @@ function rh(t) {
19452
19459
  }
19453
19460
  }));
19454
19461
  }
19455
- class O$ extends jA {
19462
+ class O$ extends zA {
19456
19463
  constructor(e = {}) {
19457
19464
  return super(e), this.vueRenderers = qr(/* @__PURE__ */ new Map()), this.contentComponent = null, this.reactiveState = rh(this.view.state), this.reactiveExtensionStorage = rh(this.extensionStorage), this.on("transaction", () => {
19458
19465
  this.reactiveState.value = this.view.state, this.reactiveExtensionStorage.value = this.extensionStorage;
@@ -19865,7 +19872,7 @@ const C$ = (t = {}) => {
19865
19872
  })
19866
19873
  ];
19867
19874
  }
19868
- }), L$ = /^```([a-z]+)?[\s\n]$/, F$ = /^~~~([a-z]+)?[\s\n]$/, j$ = Bt.create({
19875
+ }), L$ = /^```([a-z]+)?[\s\n]$/, F$ = /^~~~([a-z]+)?[\s\n]$/, z$ = Bt.create({
19869
19876
  name: "codeBlock",
19870
19877
  addOptions() {
19871
19878
  return {
@@ -19991,7 +19998,7 @@ const C$ = (t = {}) => {
19991
19998
  })
19992
19999
  ];
19993
20000
  }
19994
- }), z$ = Bt.create({
20001
+ }), j$ = Bt.create({
19995
20002
  name: "doc",
19996
20003
  topNode: !0,
19997
20004
  content: "block+"
@@ -20803,7 +20810,7 @@ const Og = Sg(!1, !0), Mg = Sg(!0, !0), d5 = lt.create({
20803
20810
  },
20804
20811
  addInputRules() {
20805
20812
  return [
20806
- zA({
20813
+ jA({
20807
20814
  find: /^(?:---|—-|___\s|\*\*\*\s)$/,
20808
20815
  type: this.type
20809
20816
  })
@@ -21106,7 +21113,7 @@ const Og = Sg(!1, !0), Mg = Sg(!0, !0), d5 = lt.create({
21106
21113
  addExtensions() {
21107
21114
  var t, e, n, r, i, s, o, a, l, c, u, d, f, h, p, m, g, b;
21108
21115
  const k = [];
21109
- return this.options.blockquote !== !1 && k.push(D$.configure((t = this.options) === null || t === void 0 ? void 0 : t.blockquote)), this.options.bold !== !1 && k.push($$.configure((e = this.options) === null || e === void 0 ? void 0 : e.bold)), this.options.bulletList !== !1 && k.push(I$.configure((n = this.options) === null || n === void 0 ? void 0 : n.bulletList)), this.options.code !== !1 && k.push(B$.configure((r = this.options) === null || r === void 0 ? void 0 : r.code)), this.options.codeBlock !== !1 && k.push(j$.configure((i = this.options) === null || i === void 0 ? void 0 : i.codeBlock)), this.options.document !== !1 && k.push(z$.configure((s = this.options) === null || s === void 0 ? void 0 : s.document)), this.options.dropcursor !== !1 && k.push(Y$.configure((o = this.options) === null || o === void 0 ? void 0 : o.dropcursor)), this.options.gapcursor !== !1 && k.push(Q$.configure((a = this.options) === null || a === void 0 ? void 0 : a.gapcursor)), this.options.hardBreak !== !1 && k.push(e5.configure((l = this.options) === null || l === void 0 ? void 0 : l.hardBreak)), this.options.heading !== !1 && k.push(t5.configure((c = this.options) === null || c === void 0 ? void 0 : c.heading)), this.options.history !== !1 && k.push(d5.configure((u = this.options) === null || u === void 0 ? void 0 : u.history)), this.options.horizontalRule !== !1 && k.push(f5.configure((d = this.options) === null || d === void 0 ? void 0 : d.horizontalRule)), this.options.italic !== !1 && k.push(y5.configure((f = this.options) === null || f === void 0 ? void 0 : f.italic)), this.options.listItem !== !1 && k.push(v5.configure((h = this.options) === null || h === void 0 ? void 0 : h.listItem)), this.options.orderedList !== !1 && k.push(w5.configure((p = this.options) === null || p === void 0 ? void 0 : p.orderedList)), this.options.paragraph !== !1 && k.push(k5.configure((m = this.options) === null || m === void 0 ? void 0 : m.paragraph)), this.options.strike !== !1 && k.push(O5.configure((g = this.options) === null || g === void 0 ? void 0 : g.strike)), this.options.text !== !1 && k.push(M5.configure((b = this.options) === null || b === void 0 ? void 0 : b.text)), k;
21116
+ return this.options.blockquote !== !1 && k.push(D$.configure((t = this.options) === null || t === void 0 ? void 0 : t.blockquote)), this.options.bold !== !1 && k.push($$.configure((e = this.options) === null || e === void 0 ? void 0 : e.bold)), this.options.bulletList !== !1 && k.push(I$.configure((n = this.options) === null || n === void 0 ? void 0 : n.bulletList)), this.options.code !== !1 && k.push(B$.configure((r = this.options) === null || r === void 0 ? void 0 : r.code)), this.options.codeBlock !== !1 && k.push(z$.configure((i = this.options) === null || i === void 0 ? void 0 : i.codeBlock)), this.options.document !== !1 && k.push(j$.configure((s = this.options) === null || s === void 0 ? void 0 : s.document)), this.options.dropcursor !== !1 && k.push(Y$.configure((o = this.options) === null || o === void 0 ? void 0 : o.dropcursor)), this.options.gapcursor !== !1 && k.push(Q$.configure((a = this.options) === null || a === void 0 ? void 0 : a.gapcursor)), this.options.hardBreak !== !1 && k.push(e5.configure((l = this.options) === null || l === void 0 ? void 0 : l.hardBreak)), this.options.heading !== !1 && k.push(t5.configure((c = this.options) === null || c === void 0 ? void 0 : c.heading)), this.options.history !== !1 && k.push(d5.configure((u = this.options) === null || u === void 0 ? void 0 : u.history)), this.options.horizontalRule !== !1 && k.push(f5.configure((d = this.options) === null || d === void 0 ? void 0 : d.horizontalRule)), this.options.italic !== !1 && k.push(y5.configure((f = this.options) === null || f === void 0 ? void 0 : f.italic)), this.options.listItem !== !1 && k.push(v5.configure((h = this.options) === null || h === void 0 ? void 0 : h.listItem)), this.options.orderedList !== !1 && k.push(w5.configure((p = this.options) === null || p === void 0 ? void 0 : p.orderedList)), this.options.paragraph !== !1 && k.push(k5.configure((m = this.options) === null || m === void 0 ? void 0 : m.paragraph)), this.options.strike !== !1 && k.push(O5.configure((g = this.options) === null || g === void 0 ? void 0 : g.strike)), this.options.text !== !1 && k.push(M5.configure((b = this.options) === null || b === void 0 ? void 0 : b.text)), k;
21110
21117
  }
21111
21118
  }), T5 = lt.create({
21112
21119
  name: "placeholder",
@@ -21175,19 +21182,19 @@ const $5 = /* @__PURE__ */ ke(D5, [["render", N5]]), P5 = {}, I5 = {
21175
21182
  function B5(t, e) {
21176
21183
  return x(), _("svg", I5, V5);
21177
21184
  }
21178
- const L5 = /* @__PURE__ */ ke(P5, [["render", B5]]), F5 = {}, j5 = {
21185
+ const L5 = /* @__PURE__ */ ke(P5, [["render", B5]]), F5 = {}, z5 = {
21179
21186
  xmlns: "http://www.w3.org/2000/svg",
21180
21187
  viewBox: "0 0 16 16",
21181
21188
  fill: "currentColor"
21182
- }, z5 = /* @__PURE__ */ E("path", {
21189
+ }, j5 = /* @__PURE__ */ E("path", {
21183
21190
  "fill-rule": "evenodd",
21184
21191
  d: "M12.5 9.75A2.75 2.75 0 0 0 9.75 7H4.56l2.22 2.22a.75.75 0 1 1-1.06 1.06l-3.5-3.5a.75.75 0 0 1 0-1.06l3.5-3.5a.75.75 0 0 1 1.06 1.06L4.56 5.5h5.19a4.25 4.25 0 0 1 0 8.5h-1a.75.75 0 0 1 0-1.5h1a2.75 2.75 0 0 0 2.75-2.75Z",
21185
21192
  "clip-rule": "evenodd"
21186
21193
  }, null, -1), H5 = [
21187
- z5
21194
+ j5
21188
21195
  ];
21189
21196
  function W5(t, e) {
21190
- return x(), _("svg", j5, H5);
21197
+ return x(), _("svg", z5, H5);
21191
21198
  }
21192
21199
  const Y5 = /* @__PURE__ */ ke(F5, [["render", W5]]), U5 = {}, q5 = {
21193
21200
  xmlns: "http://www.w3.org/2000/svg",
@@ -21386,7 +21393,7 @@ const PP = /* @__PURE__ */ ke(_P, [["render", $P]]), IP = {}, RP = {
21386
21393
  function LP(t, e) {
21387
21394
  return x(), _("svg", RP, BP);
21388
21395
  }
21389
- const FP = /* @__PURE__ */ ke(IP, [["render", LP]]), jP = {}, zP = {
21396
+ const FP = /* @__PURE__ */ ke(IP, [["render", LP]]), zP = {}, jP = {
21390
21397
  xmlns: "http://www.w3.org/2000/svg",
21391
21398
  viewBox: "0 0 24 24",
21392
21399
  fill: "none"
@@ -21421,9 +21428,9 @@ const FP = /* @__PURE__ */ ke(IP, [["render", LP]]), jP = {}, zP = {
21421
21428
  YP
21422
21429
  ];
21423
21430
  function qP(t, e) {
21424
- return x(), _("svg", zP, UP);
21431
+ return x(), _("svg", jP, UP);
21425
21432
  }
21426
- const GP = /* @__PURE__ */ ke(jP, [["render", qP]]), KP = {
21433
+ const GP = /* @__PURE__ */ ke(zP, [["render", qP]]), KP = {
21427
21434
  name: "WpicBadge"
21428
21435
  }, JP = /* @__PURE__ */ Object.assign(KP, {
21429
21436
  props: {
@@ -21875,7 +21882,7 @@ function wI(t, e, n) {
21875
21882
  function Fa(t) {
21876
21883
  return t % 4 === 0 && t % 100 !== 0 || t % 400 === 0;
21877
21884
  }
21878
- var at = 0, jn = 1, yn = 2, Ue = 3, tn = 4, zn = 5, Br = 6, kI = 7, xI = 8;
21885
+ var at = 0, zn = 1, yn = 2, Ue = 3, tn = 4, jn = 5, Br = 6, kI = 7, xI = 8;
21879
21886
  X("Y", 0, 0, function() {
21880
21887
  var t = this.year();
21881
21888
  return t <= 9999 ? Tn(t, 4) : "+" + t;
@@ -21913,10 +21920,10 @@ function SI() {
21913
21920
  }
21914
21921
  function ts(t, e) {
21915
21922
  return function(n) {
21916
- return n != null ? (Rg(this, t, n), D.updateOffset(this, e), this) : zs(this, t);
21923
+ return n != null ? (Rg(this, t, n), D.updateOffset(this, e), this) : js(this, t);
21917
21924
  };
21918
21925
  }
21919
- function zs(t, e) {
21926
+ function js(t, e) {
21920
21927
  if (!t.isValid())
21921
21928
  return NaN;
21922
21929
  var n = t._d, r = t._isUTC;
@@ -21979,8 +21986,8 @@ function MI(t, e) {
21979
21986
  function CI(t, e) {
21980
21987
  return (t % e + e) % e;
21981
21988
  }
21982
- var ze;
21983
- Array.prototype.indexOf ? ze = Array.prototype.indexOf : ze = function(t) {
21989
+ var je;
21990
+ Array.prototype.indexOf ? je = Array.prototype.indexOf : je = function(t) {
21984
21991
  var e;
21985
21992
  for (e = 0; e < this.length; ++e)
21986
21993
  if (this[e] === t)
@@ -22011,11 +22018,11 @@ K("MMMM", function(t, e) {
22011
22018
  return e.monthsRegex(t);
22012
22019
  });
22013
22020
  Ne(["M", "MM"], function(t, e) {
22014
- e[jn] = we(t) - 1;
22021
+ e[zn] = we(t) - 1;
22015
22022
  });
22016
22023
  Ne(["MMM", "MMMM"], function(t, e, n, r) {
22017
22024
  var i = n._locale.monthsParse(t, r, n._strict);
22018
- i != null ? e[jn] = i : he(n).invalidMonth = t;
22025
+ i != null ? e[zn] = i : he(n).invalidMonth = t;
22019
22026
  });
22020
22027
  var TI = "January_February_March_April_May_June_July_August_September_October_November_December".split(
22021
22028
  "_"
@@ -22034,7 +22041,7 @@ function NI(t, e, n) {
22034
22041
  s,
22035
22042
  ""
22036
22043
  ).toLocaleLowerCase(), this._longMonthsParse[r] = this.months(s, "").toLocaleLowerCase();
22037
- return n ? e === "MMM" ? (i = ze.call(this._shortMonthsParse, o), i !== -1 ? i : null) : (i = ze.call(this._longMonthsParse, o), i !== -1 ? i : null) : e === "MMM" ? (i = ze.call(this._shortMonthsParse, o), i !== -1 ? i : (i = ze.call(this._longMonthsParse, o), i !== -1 ? i : null)) : (i = ze.call(this._longMonthsParse, o), i !== -1 ? i : (i = ze.call(this._shortMonthsParse, o), i !== -1 ? i : null));
22044
+ return n ? e === "MMM" ? (i = je.call(this._shortMonthsParse, o), i !== -1 ? i : null) : (i = je.call(this._longMonthsParse, o), i !== -1 ? i : null) : e === "MMM" ? (i = je.call(this._shortMonthsParse, o), i !== -1 ? i : (i = je.call(this._longMonthsParse, o), i !== -1 ? i : null)) : (i = je.call(this._longMonthsParse, o), i !== -1 ? i : (i = je.call(this._shortMonthsParse, o), i !== -1 ? i : null));
22038
22045
  }
22039
22046
  function $I(t, e, n) {
22040
22047
  var r, i, s;
@@ -22068,18 +22075,18 @@ function Lg(t, e) {
22068
22075
  return r = r < 29 ? r : Math.min(r, Du(t.year(), n)), t._isUTC ? t._d.setUTCMonth(n, r) : t._d.setMonth(n, r), t;
22069
22076
  }
22070
22077
  function Fg(t) {
22071
- return t != null ? (Lg(this, t), D.updateOffset(this, !0), this) : zs(this, "Month");
22078
+ return t != null ? (Lg(this, t), D.updateOffset(this, !0), this) : js(this, "Month");
22072
22079
  }
22073
22080
  function PI() {
22074
22081
  return Du(this.year(), this.month());
22075
22082
  }
22076
22083
  function II(t) {
22077
- return this._monthsParseExact ? (Oe(this, "_monthsRegex") || jg.call(this), t ? this._monthsShortStrictRegex : this._monthsShortRegex) : (Oe(this, "_monthsShortRegex") || (this._monthsShortRegex = DI), this._monthsShortStrictRegex && t ? this._monthsShortStrictRegex : this._monthsShortRegex);
22084
+ return this._monthsParseExact ? (Oe(this, "_monthsRegex") || zg.call(this), t ? this._monthsShortStrictRegex : this._monthsShortRegex) : (Oe(this, "_monthsShortRegex") || (this._monthsShortRegex = DI), this._monthsShortStrictRegex && t ? this._monthsShortStrictRegex : this._monthsShortRegex);
22078
22085
  }
22079
22086
  function RI(t) {
22080
- return this._monthsParseExact ? (Oe(this, "_monthsRegex") || jg.call(this), t ? this._monthsStrictRegex : this._monthsRegex) : (Oe(this, "_monthsRegex") || (this._monthsRegex = _I), this._monthsStrictRegex && t ? this._monthsStrictRegex : this._monthsRegex);
22087
+ return this._monthsParseExact ? (Oe(this, "_monthsRegex") || zg.call(this), t ? this._monthsStrictRegex : this._monthsRegex) : (Oe(this, "_monthsRegex") || (this._monthsRegex = _I), this._monthsStrictRegex && t ? this._monthsStrictRegex : this._monthsRegex);
22081
22088
  }
22082
- function jg() {
22089
+ function zg() {
22083
22090
  function t(l, c) {
22084
22091
  return c.length - l.length;
22085
22092
  }
@@ -22106,7 +22113,7 @@ function aa(t, e, n) {
22106
22113
  var r = 7 + e - n, i = (7 + Hs(t, 0, r).getUTCDay() - e) % 7;
22107
22114
  return -i + r - 1;
22108
22115
  }
22109
- function zg(t, e, n, r, i) {
22116
+ function jg(t, e, n, r, i) {
22110
22117
  var s = (7 + n - r) % 7, o = aa(t, r, i), a = 1 + 7 * (e - 1) + s + o, l, c;
22111
22118
  return a <= 0 ? (l = t - 1, c = Os(l) + a) : a > Os(t) ? (l = t + 1, c = a - Os(t)) : (l = t, c = a), {
22112
22119
  year: l,
@@ -22148,10 +22155,10 @@ var LI = {
22148
22155
  function FI() {
22149
22156
  return this._week.dow;
22150
22157
  }
22151
- function jI() {
22158
+ function zI() {
22152
22159
  return this._week.doy;
22153
22160
  }
22154
- function zI(t) {
22161
+ function jI(t) {
22155
22162
  var e = this.localeData().week(this);
22156
22163
  return t == null ? e : this.add((t - e) * 7, "d");
22157
22164
  }
@@ -22221,7 +22228,7 @@ function eR(t, e, n) {
22221
22228
  s,
22222
22229
  ""
22223
22230
  ).toLocaleLowerCase(), this._weekdaysParse[r] = this.weekdays(s, "").toLocaleLowerCase();
22224
- return n ? e === "dddd" ? (i = ze.call(this._weekdaysParse, o), i !== -1 ? i : null) : e === "ddd" ? (i = ze.call(this._shortWeekdaysParse, o), i !== -1 ? i : null) : (i = ze.call(this._minWeekdaysParse, o), i !== -1 ? i : null) : e === "dddd" ? (i = ze.call(this._weekdaysParse, o), i !== -1 || (i = ze.call(this._shortWeekdaysParse, o), i !== -1) ? i : (i = ze.call(this._minWeekdaysParse, o), i !== -1 ? i : null)) : e === "ddd" ? (i = ze.call(this._shortWeekdaysParse, o), i !== -1 || (i = ze.call(this._weekdaysParse, o), i !== -1) ? i : (i = ze.call(this._minWeekdaysParse, o), i !== -1 ? i : null)) : (i = ze.call(this._minWeekdaysParse, o), i !== -1 || (i = ze.call(this._weekdaysParse, o), i !== -1) ? i : (i = ze.call(this._shortWeekdaysParse, o), i !== -1 ? i : null));
22231
+ return n ? e === "dddd" ? (i = je.call(this._weekdaysParse, o), i !== -1 ? i : null) : e === "ddd" ? (i = je.call(this._shortWeekdaysParse, o), i !== -1 ? i : null) : (i = je.call(this._minWeekdaysParse, o), i !== -1 ? i : null) : e === "dddd" ? (i = je.call(this._weekdaysParse, o), i !== -1 || (i = je.call(this._shortWeekdaysParse, o), i !== -1) ? i : (i = je.call(this._minWeekdaysParse, o), i !== -1 ? i : null)) : e === "ddd" ? (i = je.call(this._shortWeekdaysParse, o), i !== -1 || (i = je.call(this._weekdaysParse, o), i !== -1) ? i : (i = je.call(this._minWeekdaysParse, o), i !== -1 ? i : null)) : (i = je.call(this._minWeekdaysParse, o), i !== -1 || (i = je.call(this._weekdaysParse, o), i !== -1) ? i : (i = je.call(this._shortWeekdaysParse, o), i !== -1 ? i : null));
22225
22232
  }
22226
22233
  function tR(t, e, n) {
22227
22234
  var r, i, s;
@@ -22250,7 +22257,7 @@ function tR(t, e, n) {
22250
22257
  function nR(t) {
22251
22258
  if (!this.isValid())
22252
22259
  return t != null ? this : NaN;
22253
- var e = zs(this, "Day");
22260
+ var e = js(this, "Day");
22254
22261
  return t != null ? (t = WI(t, this.localeData()), this.add(t - e, "d")) : e;
22255
22262
  }
22256
22263
  function rR(t) {
@@ -22359,7 +22366,7 @@ Ne("hmm", function(t, e, n) {
22359
22366
  });
22360
22367
  Ne("hmmss", function(t, e, n) {
22361
22368
  var r = t.length - 4, i = t.length - 2;
22362
- e[Ue] = we(t.substr(0, r)), e[tn] = we(t.substr(r, 2)), e[zn] = we(t.substr(i)), he(n).bigHour = !0;
22369
+ e[Ue] = we(t.substr(0, r)), e[tn] = we(t.substr(r, 2)), e[jn] = we(t.substr(i)), he(n).bigHour = !0;
22363
22370
  });
22364
22371
  Ne("Hmm", function(t, e, n) {
22365
22372
  var r = t.length - 2;
@@ -22367,7 +22374,7 @@ Ne("Hmm", function(t, e, n) {
22367
22374
  });
22368
22375
  Ne("Hmmss", function(t, e, n) {
22369
22376
  var r = t.length - 4, i = t.length - 2;
22370
- e[Ue] = we(t.substr(0, r)), e[tn] = we(t.substr(r, 2)), e[zn] = we(t.substr(i));
22377
+ e[Ue] = we(t.substr(0, r)), e[tn] = we(t.substr(r, 2)), e[jn] = we(t.substr(i));
22371
22378
  });
22372
22379
  function cR(t) {
22373
22380
  return (t + "").toLowerCase().charAt(0) === "p";
@@ -22404,7 +22411,7 @@ function hh(t) {
22404
22411
  function pR(t) {
22405
22412
  for (var e = 0, n, r, i, s; e < t.length; ) {
22406
22413
  for (s = hh(t[e]).split("-"), n = s.length, r = hh(t[e + 1]), r = r ? r.split("-") : null; n > 0; ) {
22407
- if (i = ja(s.slice(0, n).join("-")), i)
22414
+ if (i = za(s.slice(0, n).join("-")), i)
22408
22415
  return i;
22409
22416
  if (r && r.length >= n && hR(s, r) >= n - 1)
22410
22417
  break;
@@ -22417,7 +22424,7 @@ function pR(t) {
22417
22424
  function mR(t) {
22418
22425
  return !!(t && t.match("^[^/\\\\]*$"));
22419
22426
  }
22420
- function ja(t) {
22427
+ function za(t) {
22421
22428
  var e = null, n;
22422
22429
  if (Be[t] === void 0 && typeof module < "u" && module && module.exports && mR(t))
22423
22430
  try {
@@ -22444,7 +22451,7 @@ function Nu(t, e) {
22444
22451
  else if (e.parentLocale != null)
22445
22452
  if (Be[e.parentLocale] != null)
22446
22453
  r = Be[e.parentLocale]._config;
22447
- else if (n = ja(e.parentLocale), n != null)
22454
+ else if (n = za(e.parentLocale), n != null)
22448
22455
  r = n._config;
22449
22456
  else
22450
22457
  return cs[e.parentLocale] || (cs[e.parentLocale] = []), cs[e.parentLocale].push({
@@ -22460,7 +22467,7 @@ function Nu(t, e) {
22460
22467
  function gR(t, e) {
22461
22468
  if (e != null) {
22462
22469
  var n, r, i = Ug;
22463
- Be[t] != null && Be[t].parentLocale != null ? Be[t].set(kc(Be[t]._config, e)) : (r = ja(t), r != null && (i = r._config), e = kc(i, e), r == null && (e.abbr = t), n = new xu(e), n.parentLocale = Be[t], Be[t] = n), mr(t);
22470
+ Be[t] != null && Be[t].parentLocale != null ? Be[t].set(kc(Be[t]._config, e)) : (r = za(t), r != null && (i = r._config), e = kc(i, e), r == null && (e.abbr = t), n = new xu(e), n.parentLocale = Be[t], Be[t] = n), mr(t);
22464
22471
  } else
22465
22472
  Be[t] != null && (Be[t].parentLocale != null ? (Be[t] = Be[t].parentLocale, t === mr() && mr(t)) : Be[t] != null && delete Be[t]);
22466
22473
  return Be[t];
@@ -22470,7 +22477,7 @@ function Jn(t) {
22470
22477
  if (t && t._locale && t._locale._abbr && (t = t._locale._abbr), !t)
22471
22478
  return Ys;
22472
22479
  if (!on(t)) {
22473
- if (e = ja(t), e)
22480
+ if (e = za(t), e)
22474
22481
  return e;
22475
22482
  t = [t];
22476
22483
  }
@@ -22481,7 +22488,7 @@ function yR() {
22481
22488
  }
22482
22489
  function $u(t) {
22483
22490
  var e, n = t._a;
22484
- return n && he(t).overflow === -2 && (e = n[jn] < 0 || n[jn] > 11 ? jn : n[yn] < 1 || n[yn] > Du(n[at], n[jn]) ? yn : n[Ue] < 0 || n[Ue] > 24 || n[Ue] === 24 && (n[tn] !== 0 || n[zn] !== 0 || n[Br] !== 0) ? Ue : n[tn] < 0 || n[tn] > 59 ? tn : n[zn] < 0 || n[zn] > 59 ? zn : n[Br] < 0 || n[Br] > 999 ? Br : -1, he(t)._overflowDayOfYear && (e < at || e > yn) && (e = yn), he(t)._overflowWeeks && e === -1 && (e = kI), he(t)._overflowWeekday && e === -1 && (e = xI), he(t).overflow = e), t;
22491
+ return n && he(t).overflow === -2 && (e = n[zn] < 0 || n[zn] > 11 ? zn : n[yn] < 1 || n[yn] > Du(n[at], n[zn]) ? yn : n[Ue] < 0 || n[Ue] > 24 || n[Ue] === 24 && (n[tn] !== 0 || n[jn] !== 0 || n[Br] !== 0) ? Ue : n[tn] < 0 || n[tn] > 59 ? tn : n[jn] < 0 || n[jn] > 59 ? jn : n[Br] < 0 || n[Br] > 999 ? Br : -1, he(t)._overflowDayOfYear && (e < at || e > yn) && (e = yn), he(t)._overflowWeeks && e === -1 && (e = kI), he(t)._overflowWeekday && e === -1 && (e = xI), he(t).overflow = e), t;
22485
22492
  }
22486
22493
  var vR = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, bR = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, wR = /Z|[+-]\d\d(?::?\d\d)?/, Oo = [
22487
22494
  ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
@@ -22646,11 +22653,11 @@ function ER(t) {
22646
22653
  function Pu(t) {
22647
22654
  var e, n, r = [], i, s, o;
22648
22655
  if (!t._d) {
22649
- for (i = ER(t), t._w && t._a[yn] == null && t._a[jn] == null && AR(t), t._dayOfYear != null && (o = pi(t._a[at], i[at]), (t._dayOfYear > Os(o) || t._dayOfYear === 0) && (he(t)._overflowDayOfYear = !0), n = Hs(o, 0, t._dayOfYear), t._a[jn] = n.getUTCMonth(), t._a[yn] = n.getUTCDate()), e = 0; e < 3 && t._a[e] == null; ++e)
22656
+ for (i = ER(t), t._w && t._a[yn] == null && t._a[zn] == null && AR(t), t._dayOfYear != null && (o = pi(t._a[at], i[at]), (t._dayOfYear > Os(o) || t._dayOfYear === 0) && (he(t)._overflowDayOfYear = !0), n = Hs(o, 0, t._dayOfYear), t._a[zn] = n.getUTCMonth(), t._a[yn] = n.getUTCDate()), e = 0; e < 3 && t._a[e] == null; ++e)
22650
22657
  t._a[e] = r[e] = i[e];
22651
22658
  for (; e < 7; e++)
22652
22659
  t._a[e] = r[e] = t._a[e] == null ? e === 2 ? 1 : 0 : t._a[e];
22653
- t._a[Ue] === 24 && t._a[tn] === 0 && t._a[zn] === 0 && t._a[Br] === 0 && (t._nextDay = !0, t._a[Ue] = 0), t._d = (t._useUTC ? Hs : VI).apply(
22660
+ t._a[Ue] === 24 && t._a[tn] === 0 && t._a[jn] === 0 && t._a[Br] === 0 && (t._nextDay = !0, t._a[Ue] = 0), t._d = (t._useUTC ? Hs : VI).apply(
22654
22661
  null,
22655
22662
  r
22656
22663
  ), s = t._useUTC ? t._d.getUTCDay() : t._d.getDay(), t._tzm != null && t._d.setUTCMinutes(t._d.getUTCMinutes() - t._tzm), t._nextDay && (t._a[Ue] = 24), t._w && typeof t._w.d < "u" && t._w.d !== s && (he(t).weekdayMismatch = !0);
@@ -22662,7 +22669,7 @@ function AR(t) {
22662
22669
  e.GG,
22663
22670
  t._a[at],
22664
22671
  Ws(Re(), 1, 4).year
22665
- ), r = pi(e.W, 1), i = pi(e.E, 1), (i < 1 || i > 7) && (l = !0)) : (s = t._locale._week.dow, o = t._locale._week.doy, c = Ws(Re(), s, o), n = pi(e.gg, t._a[at], c.year), r = pi(e.w, c.week), e.d != null ? (i = e.d, (i < 0 || i > 6) && (l = !0)) : e.e != null ? (i = e.e + s, (e.e < 0 || e.e > 6) && (l = !0)) : i = s), r < 1 || r > Yn(n, s, o) ? he(t)._overflowWeeks = !0 : l != null ? he(t)._overflowWeekday = !0 : (a = zg(n, r, i, s, o), t._a[at] = a.year, t._dayOfYear = a.dayOfYear);
22672
+ ), r = pi(e.W, 1), i = pi(e.E, 1), (i < 1 || i > 7) && (l = !0)) : (s = t._locale._week.dow, o = t._locale._week.doy, c = Ws(Re(), s, o), n = pi(e.gg, t._a[at], c.year), r = pi(e.w, c.week), e.d != null ? (i = e.d, (i < 0 || i > 6) && (l = !0)) : e.e != null ? (i = e.e + s, (e.e < 0 || e.e > 6) && (l = !0)) : i = s), r < 1 || r > Yn(n, s, o) ? he(t)._overflowWeeks = !0 : l != null ? he(t)._overflowWeekday = !0 : (a = jg(n, r, i, s, o), t._a[at] = a.year, t._dayOfYear = a.dayOfYear);
22666
22673
  }
22667
22674
  D.ISO_8601 = function() {
22668
22675
  };
@@ -22764,7 +22771,7 @@ function FR() {
22764
22771
  var t = [].slice.call(arguments, 0);
22765
22772
  return Zg("isAfter", t);
22766
22773
  }
22767
- var jR = function() {
22774
+ var zR = function() {
22768
22775
  return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
22769
22776
  }, us = [
22770
22777
  "year",
@@ -22777,10 +22784,10 @@ var jR = function() {
22777
22784
  "second",
22778
22785
  "millisecond"
22779
22786
  ];
22780
- function zR(t) {
22787
+ function jR(t) {
22781
22788
  var e, n = !1, r, i = us.length;
22782
22789
  for (e in t)
22783
- if (Oe(t, e) && !(ze.call(us, e) !== -1 && (t[e] == null || !isNaN(t[e]))))
22790
+ if (Oe(t, e) && !(je.call(us, e) !== -1 && (t[e] == null || !isNaN(t[e]))))
22784
22791
  return !1;
22785
22792
  for (r = 0; r < i; ++r)
22786
22793
  if (t[us[r]]) {
@@ -22796,14 +22803,14 @@ function HR() {
22796
22803
  function WR() {
22797
22804
  return un(NaN);
22798
22805
  }
22799
- function za(t) {
22806
+ function ja(t) {
22800
22807
  var e = Ou(t), n = e.year || 0, r = e.quarter || 0, i = e.month || 0, s = e.week || e.isoWeek || 0, o = e.day || 0, a = e.hour || 0, l = e.minute || 0, c = e.second || 0, u = e.millisecond || 0;
22801
- this._isValid = zR(e), this._milliseconds = +u + c * 1e3 + // 1000
22808
+ this._isValid = jR(e), this._milliseconds = +u + c * 1e3 + // 1000
22802
22809
  l * 6e4 + // 1000 * 60
22803
22810
  a * 1e3 * 60 * 60, this._days = +o + s * 7, this._months = +i + r * 3 + n * 12, this._data = {}, this._locale = Jn(), this._bubble();
22804
22811
  }
22805
22812
  function Eo(t) {
22806
- return t instanceof za;
22813
+ return t instanceof ja;
22807
22814
  }
22808
22815
  function Oc(t) {
22809
22816
  return t < 0 ? Math.round(-1 * t) * -1 : Math.round(t);
@@ -22911,7 +22918,7 @@ function un(t, e) {
22911
22918
  d: we(r[yn]) * i,
22912
22919
  h: we(r[Ue]) * i,
22913
22920
  m: we(r[tn]) * i,
22914
- s: we(r[zn]) * i,
22921
+ s: we(r[jn]) * i,
22915
22922
  ms: we(Oc(r[Br] * 1e3)) * i
22916
22923
  // the millisecond decimal point is included in the match
22917
22924
  }) : (r = iV.exec(t)) ? (i = r[1] === "-" ? -1 : 1, n = {
@@ -22925,9 +22932,9 @@ function un(t, e) {
22925
22932
  }) : n == null ? n = {} : typeof n == "object" && ("from" in n || "to" in n) && (o = sV(
22926
22933
  Re(n.from),
22927
22934
  Re(n.to)
22928
- ), n = {}, n.ms = o.milliseconds, n.M = o.months), s = new za(n), Eo(t) && Oe(t, "_locale") && (s._locale = t._locale), Eo(t) && Oe(t, "_isValid") && (s._isValid = t._isValid), s;
22935
+ ), n = {}, n.ms = o.milliseconds, n.M = o.months), s = new ja(n), Eo(t) && Oe(t, "_locale") && (s._locale = t._locale), Eo(t) && Oe(t, "_isValid") && (s._isValid = t._isValid), s;
22929
22936
  }
22930
- un.fn = za.prototype;
22937
+ un.fn = ja.prototype;
22931
22938
  un.invalid = WR;
22932
22939
  function _r(t, e) {
22933
22940
  var n = t && parseFloat(t.replace(",", "."));
@@ -22952,7 +22959,7 @@ function e0(t, e) {
22952
22959
  }
22953
22960
  function t0(t, e, n, r) {
22954
22961
  var i = e._milliseconds, s = Oc(e._days), o = Oc(e._months);
22955
- t.isValid() && (r = r ?? !0, o && Lg(t, zs(t, "Month") + o * n), s && Rg(t, "Date", zs(t, "Date") + s * n), i && t._d.setTime(t._d.valueOf() + i * n), r && D.updateOffset(t, s || o));
22962
+ t.isValid() && (r = r ?? !0, o && Lg(t, js(t, "Month") + o * n), s && Rg(t, "Date", js(t, "Date") + s * n), i && t._d.setTime(t._d.valueOf() + i * n), r && D.updateOffset(t, s || o));
22956
22963
  }
22957
22964
  var oV = e0(1, "add"), aV = e0(-1, "subtract");
22958
22965
  function n0(t) {
@@ -23299,7 +23306,7 @@ function LV() {
23299
23306
  function FV() {
23300
23307
  return he(this).overflow;
23301
23308
  }
23302
- function jV() {
23309
+ function zV() {
23303
23310
  return {
23304
23311
  input: this._i,
23305
23312
  format: this._f,
@@ -23339,7 +23346,7 @@ Ne(["yo"], function(t, e, n, r) {
23339
23346
  var i;
23340
23347
  n._locale._eraYearOrdinalRegex && (i = t.match(n._locale._eraYearOrdinalRegex)), n._locale.eraYearOrdinalParse ? e[at] = n._locale.eraYearOrdinalParse(t, i) : e[at] = parseInt(t, 10);
23341
23348
  });
23342
- function zV(t, e) {
23349
+ function jV(t, e) {
23343
23350
  var n, r, i, s = this._eras || Jn("en")._eras;
23344
23351
  for (n = 0, r = s.length; n < r; ++n) {
23345
23352
  switch (typeof s[n].since) {
@@ -23512,13 +23519,13 @@ function c0(t, e, n, r, i) {
23512
23519
  return t == null ? Ws(this, r, i).year : (s = Yn(t, r, i), e > s && (e = s), aB.call(this, t, e, n, r, i));
23513
23520
  }
23514
23521
  function aB(t, e, n, r, i) {
23515
- var s = zg(t, e, n, r, i), o = Hs(s.year, 0, s.dayOfYear);
23522
+ var s = jg(t, e, n, r, i), o = Hs(s.year, 0, s.dayOfYear);
23516
23523
  return this.year(o.getUTCFullYear()), this.month(o.getUTCMonth()), this.date(o.getUTCDate()), this;
23517
23524
  }
23518
23525
  X("Q", 0, "Qo", "quarter");
23519
23526
  K("Q", Ag);
23520
23527
  Ne("Q", function(t, e) {
23521
- e[jn] = (we(t) - 1) * 3;
23528
+ e[zn] = (we(t) - 1) * 3;
23522
23529
  });
23523
23530
  function lB(t) {
23524
23531
  return t == null ? Math.ceil((this.month() + 1) / 3) : this.month((t - 1) * 3 + this.month() % 3);
@@ -23554,7 +23561,7 @@ var uB = ts("Minutes", !1);
23554
23561
  X("s", ["ss", 2], 0, "second");
23555
23562
  K("s", Ve, Tu);
23556
23563
  K("ss", Ve, Lt);
23557
- Ne(["s", "ss"], zn);
23564
+ Ne(["s", "ss"], jn);
23558
23565
  var dB = ts("Seconds", !1);
23559
23566
  X("S", 0, 0, function() {
23560
23567
  return ~~(this.millisecond() / 100);
@@ -23642,7 +23649,7 @@ F.toJSON = VV;
23642
23649
  F.toString = xV;
23643
23650
  F.unix = $V;
23644
23651
  F.valueOf = NV;
23645
- F.creationData = jV;
23652
+ F.creationData = zV;
23646
23653
  F.eraName = YV;
23647
23654
  F.eraNarrow = UV;
23648
23655
  F.eraAbbr = qV;
@@ -23654,7 +23661,7 @@ F.isoWeekYear = nB;
23654
23661
  F.quarter = F.quarters = lB;
23655
23662
  F.month = Fg;
23656
23663
  F.daysInMonth = PI;
23657
- F.week = F.weeks = zI;
23664
+ F.week = F.weeks = jI;
23658
23665
  F.isoWeek = F.isoWeeks = HI;
23659
23666
  F.weeksInYear = sB;
23660
23667
  F.weeksInWeekYear = oB;
@@ -23720,7 +23727,7 @@ Me.postformat = f0;
23720
23727
  Me.relativeTime = fI;
23721
23728
  Me.pastFuture = hI;
23722
23729
  Me.set = QP;
23723
- Me.eras = zV;
23730
+ Me.eras = jV;
23724
23731
  Me.erasParse = HV;
23725
23732
  Me.erasConvertYear = WV;
23726
23733
  Me.erasAbbrRegex = JV;
@@ -23732,7 +23739,7 @@ Me.monthsParse = $I;
23732
23739
  Me.monthsRegex = RI;
23733
23740
  Me.monthsShortRegex = II;
23734
23741
  Me.week = BI;
23735
- Me.firstDayOfYear = jI;
23742
+ Me.firstDayOfYear = zI;
23736
23743
  Me.firstDayOfWeek = FI;
23737
23744
  Me.weekdays = ZI;
23738
23745
  Me.weekdaysMin = QI;
@@ -23888,7 +23895,7 @@ function ti(t) {
23888
23895
  return this.isValid() ? this._data[t] : NaN;
23889
23896
  };
23890
23897
  }
23891
- var BB = ti("milliseconds"), LB = ti("seconds"), FB = ti("minutes"), jB = ti("hours"), zB = ti("days"), HB = ti("months"), WB = ti("years");
23898
+ var BB = ti("milliseconds"), LB = ti("seconds"), FB = ti("minutes"), zB = ti("hours"), jB = ti("days"), HB = ti("months"), WB = ti("years");
23892
23899
  function YB() {
23893
23900
  return Ht(this.days() / 7);
23894
23901
  }
@@ -23937,7 +23944,7 @@ function Wa() {
23937
23944
  var t = Dl(this._milliseconds) / 1e3, e = Dl(this._days), n = Dl(this._months), r, i, s, o, a = this.asSeconds(), l, c, u, d;
23938
23945
  return a ? (r = Ht(t / 60), i = Ht(r / 60), t %= 60, r %= 60, s = Ht(n / 12), n %= 12, o = t ? t.toFixed(3).replace(/\.?0+$/, "") : "", l = a < 0 ? "-" : "", c = ui(this._months) !== ui(a) ? "-" : "", u = ui(this._days) !== ui(a) ? "-" : "", d = ui(this._milliseconds) !== ui(a) ? "-" : "", l + "P" + (s ? c + s + "Y" : "") + (n ? c + n + "M" : "") + (e ? u + e + "D" : "") + (i || r || t ? "T" : "") + (i ? d + i + "H" : "") + (r ? d + r + "M" : "") + (t ? d + o + "S" : "")) : "P0D";
23939
23946
  }
23940
- var xe = za.prototype;
23947
+ var xe = ja.prototype;
23941
23948
  xe.isValid = HR;
23942
23949
  xe.abs = xB;
23943
23950
  xe.add = SB;
@@ -23959,8 +23966,8 @@ xe.get = VB;
23959
23966
  xe.milliseconds = BB;
23960
23967
  xe.seconds = LB;
23961
23968
  xe.minutes = FB;
23962
- xe.hours = jB;
23963
- xe.days = zB;
23969
+ xe.hours = zB;
23970
+ xe.days = jB;
23964
23971
  xe.weeks = YB;
23965
23972
  xe.months = HB;
23966
23973
  xe.years = WB;
@@ -23991,7 +23998,7 @@ ZP(Re);
23991
23998
  D.fn = F;
23992
23999
  D.min = LR;
23993
24000
  D.max = FR;
23994
- D.now = jR;
24001
+ D.now = zR;
23995
24002
  D.utc = _n;
23996
24003
  D.unix = mB;
23997
24004
  D.months = yB;
@@ -24118,15 +24125,15 @@ const _l = {
24118
24125
  });
24119
24126
  const i = e, s = oe(() => n.doubleMonths || n.range ? [0, 1] : [0]);
24120
24127
  function o(I) {
24121
- var j, W, z;
24128
+ var z, W, j;
24122
24129
  if (n.week)
24123
24130
  i("update:modelValue", [D(I).startOf("week"), D(I).endOf("week")]);
24124
24131
  else if (n.range) {
24125
- if (((j = n.modelValue) == null ? void 0 : j.length) == 0)
24132
+ if (((z = n.modelValue) == null ? void 0 : z.length) == 0)
24126
24133
  i("update:modelValue", [I]);
24127
24134
  else if (((W = n.modelValue) == null ? void 0 : W.length) == 2)
24128
24135
  i("update:modelValue", [I]);
24129
- else if (((z = n.modelValue) == null ? void 0 : z.length) == 1) {
24136
+ else if (((j = n.modelValue) == null ? void 0 : j.length) == 1) {
24130
24137
  let P = [D(n.modelValue[0]), D(I)];
24131
24138
  P = P.sort((ee, Ce) => ee - Ce), i("update:modelValue", P);
24132
24139
  }
@@ -24134,9 +24141,9 @@ const _l = {
24134
24141
  i("update:modelValue", D(I));
24135
24142
  }
24136
24143
  function a(I) {
24137
- const j = D(I).daysInMonth(), W = [], z = D(I).startOf("month");
24138
- for (let P = 1; P <= j; P++) {
24139
- let ee = z.clone().date(P);
24144
+ const z = D(I).daysInMonth(), W = [], j = D(I).startOf("month");
24145
+ for (let P = 1; P <= z; P++) {
24146
+ let ee = j.clone().date(P);
24140
24147
  W.push(ee);
24141
24148
  }
24142
24149
  return W;
@@ -24144,26 +24151,26 @@ const _l = {
24144
24151
  function l(I) {
24145
24152
  return D(I).startOf("month").day();
24146
24153
  }
24147
- function c(I, j) {
24148
- const W = D(`${I}-${j}-01`, "YYYY-MM-DD"), P = W.day(), ee = [];
24154
+ function c(I, z) {
24155
+ const W = D(`${I}-${z}-01`, "YYYY-MM-DD"), P = W.day(), ee = [];
24149
24156
  for (let Ce = 0; Ce < P; Ce++)
24150
24157
  ee.push(W.clone().subtract(P - Ce, "days"));
24151
24158
  return ee;
24152
24159
  }
24153
- function u(I, j) {
24154
- const W = D(`${I}-${j}`, "YYYY-MM").endOf("month"), P = 6 - W.day(), ee = [];
24160
+ function u(I, z) {
24161
+ const W = D(`${I}-${z}`, "YYYY-MM").endOf("month"), P = 6 - W.day(), ee = [];
24155
24162
  for (let Ce = 1; Ce <= P; Ce++)
24156
24163
  ee.push(W.clone().add(Ce, "days"));
24157
24164
  return ee;
24158
24165
  }
24159
24166
  function d(I) {
24160
- const j = D();
24161
- return D(I).isSame(j, "day");
24167
+ const z = D();
24168
+ return D(I).isSame(z, "day");
24162
24169
  }
24163
24170
  function f(I) {
24164
- var j, W;
24171
+ var z, W;
24165
24172
  if (n.range) {
24166
- if (((j = n.modelValue) == null ? void 0 : j.length) == 1)
24173
+ if (((z = n.modelValue) == null ? void 0 : z.length) == 1)
24167
24174
  return D(I).isSame(D(n.modelValue[0]), "day");
24168
24175
  if (((W = n.modelValue) == null ? void 0 : W.length) == 2)
24169
24176
  return D(I).isSame(D(n.modelValue[0]), "day") || D(I).isSame(D(n.modelValue[1]), "day");
@@ -24171,32 +24178,32 @@ const _l = {
24171
24178
  return D(I).isSame(D(n.modelValue), "day");
24172
24179
  }
24173
24180
  function h(I) {
24174
- var j;
24175
- if (n.range && ((j = n.modelValue) == null ? void 0 : j.length) == 2)
24181
+ var z;
24182
+ if (n.range && ((z = n.modelValue) == null ? void 0 : z.length) == 2)
24176
24183
  return D(I).isBetween(D(n.modelValue[0]), D(n.modelValue[1]));
24177
24184
  }
24178
24185
  function p(I) {
24179
- var j;
24180
- if (n.range && ((j = n.modelValue) == null ? void 0 : j.length) == 2)
24186
+ var z;
24187
+ if (n.range && ((z = n.modelValue) == null ? void 0 : z.length) == 2)
24181
24188
  return D(I).isSame(D(n.modelValue[0]), "day");
24182
24189
  }
24183
24190
  function m(I) {
24184
- var j;
24185
- if (n.range && ((j = n.modelValue) == null ? void 0 : j.length) == 2)
24191
+ var z;
24192
+ if (n.range && ((z = n.modelValue) == null ? void 0 : z.length) == 2)
24186
24193
  return D(I).isSame(D(n.modelValue[1]), "day");
24187
24194
  }
24188
24195
  function g(I) {
24189
24196
  try {
24190
24197
  return n.minDate ? D(I).isBefore(D(n.minDate)) : !1;
24191
- } catch (j) {
24192
- return console.log(j), !1;
24198
+ } catch (z) {
24199
+ return console.log(z), !1;
24193
24200
  }
24194
24201
  }
24195
24202
  function b(I) {
24196
24203
  try {
24197
24204
  return n.maxDate ? D(I).isAfter(D(n.maxDate)) : !1;
24198
- } catch (j) {
24199
- return console.log(j), !1;
24205
+ } catch (z) {
24206
+ return console.log(z), !1;
24200
24207
  }
24201
24208
  }
24202
24209
  function k(I) {
@@ -24211,8 +24218,8 @@ const _l = {
24211
24218
  function O(I) {
24212
24219
  v(I, r.value[I].add(1, "year"));
24213
24220
  }
24214
- function v(I, j) {
24215
- I == 0 ? r.value = [j, r.value[1]] : r.value = [r.value[0], j];
24221
+ function v(I, z) {
24222
+ I == 0 ? r.value = [z, r.value[1]] : r.value = [r.value[0], z];
24216
24223
  }
24217
24224
  const S = de();
24218
24225
  function A(I) {
@@ -24230,11 +24237,11 @@ const _l = {
24230
24237
  function Q() {
24231
24238
  S.value = null;
24232
24239
  }
24233
- return (I, j) => (x(), _("div", {
24240
+ return (I, z) => (x(), _("div", {
24234
24241
  class: G(["flex-shrink-0 flex gap-6", { "min-w-96": s.value.length === 1, "min-w-192": s.value.length === 2 }])
24235
24242
  }, [
24236
24243
  (x(!0), _($e, null, ft(s.value, (W) => {
24237
- var z;
24244
+ var j;
24238
24245
  return x(), _("div", ZB, [
24239
24246
  E("div", XB, [
24240
24247
  E("div", QB, [
@@ -24302,7 +24309,7 @@ const _l = {
24302
24309
  ]),
24303
24310
  _: 2
24304
24311
  }, 1032, ["onMouseover", "onClick", "today", "selected", "firstDay", "lastDay", "between", "disabled", "off", "highlight"]))), 256)),
24305
- ((z = u($(D)(r.value[W]).year(), $(D)(r.value[W]).month() + 1)) == null ? void 0 : z.length) > 0 ? (x(!0), _($e, { key: 1 }, ft(u($(D)(r.value[W]).year(), $(D)(r.value[W]).month() + 1), (P) => (x(), be(_l, {
24312
+ ((j = u($(D)(r.value[W]).year(), $(D)(r.value[W]).month() + 1)) == null ? void 0 : j.length) > 0 ? (x(!0), _($e, { key: 1 }, ft(u($(D)(r.value[W]).year(), $(D)(r.value[W]).month() + 1), (P) => (x(), be(_l, {
24306
24313
  onClick: (ee) => !b(P) || !g(P) ? o(P) : null,
24307
24314
  onMouseover: (ee) => A(P),
24308
24315
  today: d(P),
@@ -24440,7 +24447,7 @@ const gL = /* @__PURE__ */ ke(dL, [["render", mL]]), yL = { class: "flex gap-3"
24440
24447
  default: Se(() => {
24441
24448
  var c;
24442
24449
  return [
24443
- ce(zc, {
24450
+ ce(jc, {
24444
24451
  label: t.label,
24445
24452
  slim: t.slim,
24446
24453
  disabled: t.disabled,
@@ -24691,10 +24698,10 @@ const gL = /* @__PURE__ */ ke(dL, [["render", mL]]), yL = { class: "flex gap-3"
24691
24698
  }, null, -1), FL = [
24692
24699
  LL
24693
24700
  ];
24694
- function jL(t, e) {
24701
+ function zL(t, e) {
24695
24702
  return x(), _("svg", BL, FL);
24696
24703
  }
24697
- const zL = /* @__PURE__ */ ke(VL, [["render", jL]]), HL = {}, WL = {
24704
+ const jL = /* @__PURE__ */ ke(VL, [["render", zL]]), HL = {}, WL = {
24698
24705
  xmlns: "http://www.w3.org/2000/svg",
24699
24706
  fill: "none",
24700
24707
  viewBox: "0 0 24 24",
@@ -24767,7 +24774,7 @@ const o3 = /* @__PURE__ */ ke(t3, [["render", s3]]), a3 = { class: "w-6" }, l3 =
24767
24774
  }])
24768
24775
  }, [
24769
24776
  E("div", a3, [
24770
- t.warning ? (x(), be(zL, {
24777
+ t.warning ? (x(), be(jL, {
24771
24778
  key: 0,
24772
24779
  class: "w-full aspect-square"
24773
24780
  })) : t.info ? (x(), be(GL, {
@@ -24859,7 +24866,7 @@ const f3 = {
24859
24866
  ])
24860
24867
  ])) : Z("", !0);
24861
24868
  }
24862
- }), b3 = /* @__PURE__ */ ke(v3, [["__scopeId", "data-v-613542ab"]]), Al = { WpicAlert: d3, WpicCalendar: y0, WpicTextarea: bp, WpicDialog: DL, WpicSlidePanel: SL, WpicDateField: kL, WpicFormInput: zc, WpicButton: Ro, WpicBadge: JP, WpicTextEditor: DP, WpicInputGroup: cv, WpicButtonGroup: sv, WpicForm: dv, WpicFormField: wp, WpicSpinner: zi, WpicTooltip: kp, WpicPopover: Wi, WpicChoiceList: vp, WpicCard: xC, WpicCardSection: CC, WpicProgressBar: EC, WpicTag: $C, WpicTagGroup: IC, WpicPagination: gT, WpicLoadingPanel: zC, WpicTable: HT, WpicTableColumn: WT, WpicTabs: $L, WpicTabPane: RL, WpicConfirm: b3 };
24869
+ }), b3 = /* @__PURE__ */ ke(v3, [["__scopeId", "data-v-613542ab"]]), Al = { WpicAlert: d3, WpicCalendar: y0, WpicTextarea: bp, WpicDialog: DL, WpicSlidePanel: SL, WpicDateField: kL, WpicFormInput: jc, WpicButton: Ro, WpicBadge: JP, WpicTextEditor: DP, WpicInputGroup: cv, WpicButtonGroup: sv, WpicForm: dv, WpicFormField: wp, WpicSpinner: ji, WpicTooltip: kp, WpicPopover: Wi, WpicChoiceList: vp, WpicCard: xC, WpicCardSection: CC, WpicProgressBar: EC, WpicTag: $C, WpicTagGroup: IC, WpicPagination: gT, WpicLoadingPanel: jC, WpicTable: HT, WpicTableColumn: WT, WpicTabs: $L, WpicTabPane: RL, WpicConfirm: b3 };
24863
24870
  function b0(t, e) {
24864
24871
  for (const n in e)
24865
24872
  Object.prototype.hasOwnProperty.call(e, n) && (typeof e[n] == "object" && t[n] ? b0(t[n], e[n]) : t[n] = e[n]);