sprintify-ui 0.0.176 → 0.0.177

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.
@@ -1,7 +1,7 @@
1
1
  import su from "axios";
2
- import { defineComponent as be, inject as it, resolveComponent as st, openBlock as R, createBlock as Te, withCtx as ge, createElementVNode as q, normalizeClass as de, withModifiers as an, renderSlot as Ae, createElementBlock as X, createCommentVNode as ke, toDisplayString as Se, h as ht, createVNode as he, Transition as Pt, ref as le, computed as Y, provide as Ge, readonly as _o, unref as I, Fragment as Ve, createTextVNode as en, withDirectives as pt, isRef as Sn, vModelText as Nr, mergeProps as Yt, onMounted as tt, watchEffect as zt, renderList as Qe, nextTick as ct, watch as Ze, onBeforeUnmount as Dn, Teleport as ar, TransitionGroup as kl, normalizeStyle as ft, vModelSelect as Ar, normalizeProps as Tt, guardReactiveProps as Mt, vShow as cn, resolveDynamicComponent as Hn, cloneVNode as uu, onUnmounted as bn, reactive as cu, withKeys as Da, useSlots as fu, createStaticVNode as _l, getCurrentInstance as du, pushScopeId as hu, popScopeId as pu, createSlots as mu } from "vue";
3
- import { isNumber as Bo, round as Xn, get as Nn, isEqual as Mi, isArray as mt, cloneDeep as St, isObject as Dr, isString as No, throttle as Do, debounce as En, truncate as vu, trim as ta, padStart as po, range as Tn, merge as La, set as hi, isPlainObject as gu, capitalize as yu, uniqueId as bu } from "lodash";
4
- import { useMutationObserver as na, unrefElement as pi, tryOnScopeDispose as wu, useInfiniteScroll as ku, useResizeObserver as rr, useBreakpoints as _u } from "@vueuse/core";
2
+ import { defineComponent as be, inject as it, resolveComponent as st, openBlock as R, createBlock as Te, withCtx as ge, createElementVNode as q, normalizeClass as de, withModifiers as an, renderSlot as Ae, createElementBlock as X, createCommentVNode as ke, toDisplayString as Se, h as ht, createVNode as he, Transition as Pt, ref as le, computed as Y, provide as Ge, readonly as _o, unref as I, Fragment as Ve, createTextVNode as en, withDirectives as pt, isRef as Sn, vModelText as Nr, mergeProps as Yt, onMounted as tt, watchEffect as zt, renderList as Qe, nextTick as ct, watch as Ze, onBeforeUnmount as Dn, Teleport as lr, TransitionGroup as kl, normalizeStyle as ft, vModelSelect as Ar, normalizeProps as Tt, guardReactiveProps as Mt, vShow as cn, resolveDynamicComponent as Hn, cloneVNode as uu, onUnmounted as bn, reactive as cu, withKeys as Da, useSlots as fu, createStaticVNode as _l, getCurrentInstance as du, pushScopeId as hu, popScopeId as pu, createSlots as mu } from "vue";
3
+ import { isNumber as Bo, round as er, get as Nn, isEqual as Mi, isArray as mt, cloneDeep as St, isObject as Dr, isString as No, throttle as Do, debounce as En, truncate as vu, trim as ta, padStart as po, range as Tn, merge as La, set as hi, isPlainObject as gu, capitalize as yu, uniqueId as bu } from "lodash";
4
+ import { useMutationObserver as na, unrefElement as pi, tryOnScopeDispose as wu, useInfiniteScroll as ku, useResizeObserver as or, useBreakpoints as _u } from "@vueuse/core";
5
5
  import Pa from "qs";
6
6
  import { useI18n as fn, createI18n as xu } from "vue-i18n";
7
7
  import { defineStore as ra } from "pinia";
@@ -1739,7 +1739,7 @@ const el = /* @__PURE__ */ new WeakMap(), tl = (t) => {
1739
1739
  if (y === null)
1740
1740
  return null;
1741
1741
  let O = parseFloat(y + "");
1742
- return Number.isNaN(O) ? null : (c.value && (O = Math.min(O, e.max)), h.value && (O = Math.max(O, e.min)), Xn(O, u.value));
1742
+ return Number.isNaN(O) ? null : (c.value && (O = Math.min(O, e.max)), h.value && (O = Math.max(O, e.min)), er(O, u.value));
1743
1743
  }
1744
1744
  const d = le(null), s = Y(() => f(d.value)), p = Y(() => s.value == null && d.value == "" ? !1 : s.value != d.value), w = Y(() => d.value === null ? !1 : c.value && d.value > e.max), b = Y(() => d.value === null ? !1 : h.value && d.value < e.min);
1745
1745
  d.value = f(e.modelValue), d.value != e.modelValue && a(s.value);
@@ -1767,7 +1767,7 @@ const el = /* @__PURE__ */ new WeakMap(), tl = (t) => {
1767
1767
  d.value = "";
1768
1768
  return;
1769
1769
  }
1770
- d.value = Xn(
1770
+ d.value = er(
1771
1771
  s.value ?? S.value,
1772
1772
  u.value
1773
1773
  );
@@ -1777,7 +1777,7 @@ const el = /* @__PURE__ */ new WeakMap(), tl = (t) => {
1777
1777
  if (s.value === null)
1778
1778
  d.value = S.value;
1779
1779
  else {
1780
- const y = Xn(
1780
+ const y = er(
1781
1781
  s.value + l.value,
1782
1782
  u.value
1783
1783
  );
@@ -1791,7 +1791,7 @@ const el = /* @__PURE__ */ new WeakMap(), tl = (t) => {
1791
1791
  if (s.value === null)
1792
1792
  d.value = S.value;
1793
1793
  else {
1794
- const y = Xn(
1794
+ const y = er(
1795
1795
  s.value - l.value,
1796
1796
  u.value
1797
1797
  );
@@ -2648,7 +2648,7 @@ var Eo = {}, yf = {
2648
2648
  }), o.d(r, "addLockableSelector", function() {
2649
2649
  return G;
2650
2650
  }), o.d(r, "setFillGapMethod", function() {
2651
- return ie;
2651
+ return oe;
2652
2652
  }), o.d(r, "addFillGapTarget", function() {
2653
2653
  return te;
2654
2654
  }), o.d(r, "removeFillGapTarget", function() {
@@ -2768,7 +2768,7 @@ var Eo = {}, yf = {
2768
2768
  x.lockableSelectors.push(Ie);
2769
2769
  }), C() || N(), ne(J);
2770
2770
  }
2771
- }, ie = function(J) {
2771
+ }, oe = function(J) {
2772
2772
  if (J)
2773
2773
  if (E.indexOf(J) !== -1)
2774
2774
  x.fillGapMethod = J, M();
@@ -2983,7 +2983,7 @@ Available fill gap methods: `).concat(ye, "."));
2983
2983
  removeFillGapSelector: Q,
2984
2984
  addFillGapTarget: te,
2985
2985
  removeFillGapTarget: z,
2986
- setFillGapMethod: ie,
2986
+ setFillGapMethod: oe,
2987
2987
  refillGaps: M,
2988
2988
  _state: x
2989
2989
  }, vt);
@@ -3033,7 +3033,7 @@ const bf = {
3033
3033
  }
3034
3034
  return i({
3035
3035
  dialogs: r
3036
- }), (f, d) => (R(), Te(ar, { to: "body" }, [
3036
+ }), (f, d) => (R(), Te(lr, { to: "body" }, [
3037
3037
  he(Pt, {
3038
3038
  appear: "",
3039
3039
  "enter-active-class": "duration-300 ease-out",
@@ -3097,8 +3097,8 @@ const bf = {
3097
3097
  ], Af = { class: "-mx-3 px-4 pt-2 pb-3" }, Cf = { class: "mx-3" }, Tf = { class: "text-sm leading-tight text-slate-600" }, Ul = /* @__PURE__ */ be({
3098
3098
  __name: "BaseAppNotifications",
3099
3099
  setup(t) {
3100
- const i = sr(), e = Y(() => i.notifications);
3101
- return (r, o) => (R(), Te(ar, { to: "body" }, [
3100
+ const i = Kn(), e = Y(() => i.notifications);
3101
+ return (r, o) => (R(), Te(lr, { to: "body" }, [
3102
3102
  q("div", _f, [
3103
3103
  q("div", xf, [
3104
3104
  he(kl, {
@@ -5241,7 +5241,7 @@ const Hd = /* @__PURE__ */ $t(Rd, [["render", Vd]]), Kd = ["type", "disabled", "
5241
5241
  ], 4))), 128))
5242
5242
  ], 4));
5243
5243
  }
5244
- }), or = /* @__PURE__ */ be({
5244
+ }), ir = /* @__PURE__ */ be({
5245
5245
  __name: "BaseCard",
5246
5246
  props: {
5247
5247
  clipped: {
@@ -6099,8 +6099,8 @@ list should be an Array.`), M.length === 0)
6099
6099
  var we = "", _e = "";
6100
6100
  ue = Math.min(Me.length, ue);
6101
6101
  for (var me = se; me < ue; me++)
6102
- Me[me] <= 127 ? (we += ie(_e) + String.fromCharCode(Me[me]), _e = "") : _e += "%" + Me[me].toString(16);
6103
- return we + ie(_e);
6102
+ Me[me] <= 127 ? (we += oe(_e) + String.fromCharCode(Me[me]), _e = "") : _e += "%" + Me[me].toString(16);
6103
+ return we + oe(_e);
6104
6104
  }(Oe, N, U);
6105
6105
  break;
6106
6106
  case "ascii":
@@ -6261,7 +6261,7 @@ list should be an Array.`), M.length === 0)
6261
6261
  N[re + U] = M[re];
6262
6262
  return re;
6263
6263
  }
6264
- function ie(M) {
6264
+ function oe(M) {
6265
6265
  try {
6266
6266
  return decodeURIComponent(M);
6267
6267
  } catch {
@@ -6491,7 +6491,7 @@ function Xt(t, i, ...e) {
6491
6491
  let r = new Error(`Tried to handle "${t}" but there is no handler defined. Only defined handlers are: ${Object.keys(i).map((o) => `"${o}"`).join(", ")}.`);
6492
6492
  throw Error.captureStackTrace && Error.captureStackTrace(r, Xt), r;
6493
6493
  }
6494
- var ir = ((t) => (t[t.None = 0] = "None", t[t.RenderStrategy = 1] = "RenderStrategy", t[t.Static = 2] = "Static", t))(ir || {}), Bn = ((t) => (t[t.Unmount = 0] = "Unmount", t[t.Hidden = 1] = "Hidden", t))(Bn || {});
6494
+ var ar = ((t) => (t[t.None = 0] = "None", t[t.RenderStrategy = 1] = "RenderStrategy", t[t.Static = 2] = "Static", t))(ar || {}), Bn = ((t) => (t[t.Unmount = 0] = "Unmount", t[t.Hidden = 1] = "Hidden", t))(Bn || {});
6495
6495
  function kt({ visible: t = !0, features: i = 0, ourProps: e, theirProps: r, ...o }) {
6496
6496
  var a;
6497
6497
  let l = sh(r, e), u = Object.assign(o, { props: l });
@@ -6935,7 +6935,7 @@ function ds(t, i) {
6935
6935
  return !0;
6936
6936
  return !1;
6937
6937
  }
6938
- let sl = "body > *", Zn = /* @__PURE__ */ new Set(), An = /* @__PURE__ */ new Map();
6938
+ let sl = "body > *", Jn = /* @__PURE__ */ new Set(), An = /* @__PURE__ */ new Map();
6939
6939
  function ul(t) {
6940
6940
  t.setAttribute("aria-hidden", "true"), t.inert = !0;
6941
6941
  }
@@ -6949,21 +6949,21 @@ function Mh(t, i = le(!0)) {
6949
6949
  return;
6950
6950
  let r = t.value, o = Ln(r);
6951
6951
  if (o) {
6952
- Zn.add(r);
6952
+ Jn.add(r);
6953
6953
  for (let a of An.keys())
6954
6954
  a.contains(r) && (cl(a), An.delete(a));
6955
6955
  o.querySelectorAll(sl).forEach((a) => {
6956
6956
  if (a instanceof HTMLElement) {
6957
- for (let l of Zn)
6957
+ for (let l of Jn)
6958
6958
  if (a.contains(l))
6959
6959
  return;
6960
- Zn.size === 1 && (An.set(a, { "aria-hidden": a.getAttribute("aria-hidden"), inert: a.inert }), ul(a));
6960
+ Jn.size === 1 && (An.set(a, { "aria-hidden": a.getAttribute("aria-hidden"), inert: a.inert }), ul(a));
6961
6961
  }
6962
6962
  }), e(() => {
6963
- if (Zn.delete(r), Zn.size > 0)
6963
+ if (Jn.delete(r), Jn.size > 0)
6964
6964
  o.querySelectorAll(sl).forEach((a) => {
6965
6965
  if (a instanceof HTMLElement && !An.has(a)) {
6966
- for (let l of Zn)
6966
+ for (let l of Jn)
6967
6967
  if (a.contains(l))
6968
6968
  return;
6969
6969
  An.set(a, { "aria-hidden": a.getAttribute("aria-hidden"), inert: a.inert }), ul(a);
@@ -7011,7 +7011,7 @@ let ps = be({ name: "Portal", props: { as: { type: [Object, String], default: "d
7011
7011
  if (u.value === null)
7012
7012
  return null;
7013
7013
  let c = { ref: r, "data-headlessui-portal": "" };
7014
- return ht(ar, { to: u.value }, kt({ ourProps: c, theirProps: t, slot: {}, attrs: e, slots: i, name: "Portal" }));
7014
+ return ht(lr, { to: u.value }, kt({ ourProps: c, theirProps: t, slot: {}, attrs: e, slots: i, name: "Portal" }));
7015
7015
  };
7016
7016
  } }), ms = Symbol("PortalGroupContext"), Nh = be({ name: "PortalGroup", props: { as: { type: [Object, String], default: "template" }, target: { type: Object, default: null } }, setup(t, { attrs: i, slots: e }) {
7017
7017
  let r = cu({ resolveTarget() {
@@ -7189,7 +7189,7 @@ let ao = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", qh = be({ name: "Dialog", inher
7189
7189
  x.observe(_), E(() => x.disconnect());
7190
7190
  }), () => {
7191
7191
  let { id: E, open: _, initialFocus: x, ...y } = t, O = { ...e, ref: d, id: E, role: "dialog", "aria-modal": w.value === 0 ? !0 : void 0, "aria-labelledby": m.value, "aria-describedby": k.value }, C = { open: w.value === 0 };
7192
- return ht(zi, { force: !0 }, () => [ht(ps, () => ht(Nh, { target: d.value }, () => ht(zi, { force: !1 }, () => ht(xr, { initialFocus: x, containers: f, features: b.value ? Xt(n.value, { parent: xr.features.RestoreFocus, leaf: xr.features.All & ~xr.features.FocusLock }) : xr.features.None }, () => kt({ ourProps: O, theirProps: y, slot: C, attrs: e, slots: r, visible: w.value === 0, features: ir.RenderStrategy | ir.Static, name: "Dialog" }))))), ht(Ao, { features: qr.Hidden, ref: s })]);
7192
+ return ht(zi, { force: !0 }, () => [ht(ps, () => ht(Nh, { target: d.value }, () => ht(zi, { force: !1 }, () => ht(xr, { initialFocus: x, containers: f, features: b.value ? Xt(n.value, { parent: xr.features.RestoreFocus, leaf: xr.features.All & ~xr.features.FocusLock }) : xr.features.None }, () => kt({ ourProps: O, theirProps: y, slot: C, attrs: e, slots: r, visible: w.value === 0, features: ar.RenderStrategy | ar.Static, name: "Dialog" }))))), ht(Ao, { features: qr.Hidden, ref: s })]);
7193
7193
  };
7194
7194
  } });
7195
7195
  be({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-overlay-${ln()}` } }, setup(t, { attrs: i, slots: e }) {
@@ -7378,9 +7378,9 @@ let Vh = be({ name: "Menu", props: { as: { type: [Object, String], default: "tem
7378
7378
  return () => {
7379
7379
  var f, d;
7380
7380
  let s = { open: o.menuState.value === 0 }, { id: p, ...w } = t, b = { "aria-activedescendant": o.activeItemIndex.value === null || (f = o.items.value[o.activeItemIndex.value]) == null ? void 0 : f.id, "aria-labelledby": (d = at(o.buttonRef)) == null ? void 0 : d.id, id: p, onKeydown: l, onKeyup: u, role: "menu", tabIndex: 0, ref: o.itemsRef };
7381
- return kt({ ourProps: b, theirProps: w, slot: s, attrs: i, slots: e, features: ir.RenderStrategy | ir.Static, visible: h.value, name: "MenuItems" });
7381
+ return kt({ ourProps: b, theirProps: w, slot: s, attrs: i, slots: e, features: ar.RenderStrategy | ar.Static, visible: h.value, name: "MenuItems" });
7382
7382
  };
7383
- } }), er = be({ name: "MenuItem", props: { as: { type: [Object, String], default: "template" }, disabled: { type: Boolean, default: !1 }, id: { type: String, default: () => `headlessui-menu-item-${ln()}` } }, setup(t, { slots: i, attrs: e, expose: r }) {
7383
+ } }), tr = be({ name: "MenuItem", props: { as: { type: [Object, String], default: "template" }, disabled: { type: Boolean, default: !1 }, id: { type: String, default: () => `headlessui-menu-item-${ln()}` } }, setup(t, { slots: i, attrs: e, expose: r }) {
7384
7384
  let o = Fo("MenuItem"), a = le(null);
7385
7385
  r({ el: a, $el: a });
7386
7386
  let l = Y(() => o.activeItemIndex.value !== null ? o.items.value[o.activeItemIndex.value].id === t.id : !1), u = Y(() => ({ disabled: t.disabled, textValue: "", domRef: a }));
@@ -7557,7 +7557,7 @@ function xs(t) {
7557
7557
  }
7558
7558
  return { children: i, register: o, unregister: r };
7559
7559
  }
7560
- let Ss = ir.RenderStrategy, bo = be({ props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(t, { emit: i, attrs: e, slots: r, expose: o }) {
7560
+ let Ss = ar.RenderStrategy, bo = be({ props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(t, { emit: i, attrs: e, slots: r, expose: o }) {
7561
7561
  if (!tp() && mh())
7562
7562
  return () => ht(Es, { ...t, onBeforeEnter: () => i("beforeEnter"), onAfterEnter: () => i("afterEnter"), onBeforeLeave: () => i("beforeLeave"), onAfterLeave: () => i("afterLeave") }, r);
7563
7563
  let a = le(null), l = le("visible"), u = Y(() => t.unmount ? Bn.Unmount : Bn.Hidden);
@@ -7682,7 +7682,7 @@ const ip = { class: "flex items-center" }, ap = {
7682
7682
  }), lp = {
7683
7683
  key: 0,
7684
7684
  class: "my-1 -mx-1 flex h-px bg-slate-200"
7685
- }, lr = /* @__PURE__ */ be({
7685
+ }, sr = /* @__PURE__ */ be({
7686
7686
  __name: "BaseMenu",
7687
7687
  props: {
7688
7688
  items: {
@@ -7745,7 +7745,7 @@ const ip = { class: "flex items-center" }, ap = {
7745
7745
  to: u.to
7746
7746
  }, {
7747
7747
  default: ge(({ href: c, navigate: h }) => [
7748
- he(I(er), {
7748
+ he(I(tr), {
7749
7749
  as: "a",
7750
7750
  href: c,
7751
7751
  onClick: h
@@ -7765,7 +7765,7 @@ const ip = { class: "flex items-center" }, ap = {
7765
7765
  }, 1032, ["href", "onClick"])
7766
7766
  ]),
7767
7767
  _: 2
7768
- }, 1032, ["to"])) : u.href ? (R(), Te(I(er), {
7768
+ }, 1032, ["to"])) : u.href ? (R(), Te(I(tr), {
7769
7769
  key: 2,
7770
7770
  as: "a",
7771
7771
  href: u.href
@@ -7782,7 +7782,7 @@ const ip = { class: "flex items-center" }, ap = {
7782
7782
  ])
7783
7783
  ]),
7784
7784
  _: 2
7785
- }, 1032, ["href"])) : u.action ? (R(), Te(I(er), {
7785
+ }, 1032, ["href"])) : u.action ? (R(), Te(I(tr), {
7786
7786
  key: 3,
7787
7787
  as: "button",
7788
7788
  type: "button",
@@ -7857,7 +7857,7 @@ const ip = { class: "flex items-center" }, ap = {
7857
7857
  e.modelValue != 1 && S(e.modelValue - 1);
7858
7858
  }
7859
7859
  const u = le(null), c = le(800);
7860
- rr(u, () => {
7860
+ or(u, () => {
7861
7861
  var E;
7862
7862
  c.value = ((E = u.value) == null ? void 0 : E.clientWidth) ?? 800, d.value = Math.floor((c.value - 96) / 56);
7863
7863
  });
@@ -8111,7 +8111,7 @@ const Ap = {
8111
8111
  );
8112
8112
  return (l, u) => {
8113
8113
  const c = st("BaseIcon");
8114
- return R(), Te(ar, { to: "body" }, [
8114
+ return R(), Te(lr, { to: "body" }, [
8115
8115
  he(Pt, {
8116
8116
  name: "modal",
8117
8117
  "enter-active-class": "duration-300",
@@ -8250,13 +8250,15 @@ const Ap = {
8250
8250
  "update:query"
8251
8251
  ],
8252
8252
  setup(t, { expose: i }) {
8253
- const e = t, r = nt.http, o = le(null), a = le(null), l = Su(), u = Eu(), c = l.name;
8253
+ const e = t, r = nt.http;
8254
+ Kn();
8255
+ const o = le(null), a = le(null), l = Su(), u = Eu(), c = l.name;
8254
8256
  let h = !1;
8255
8257
  Dn(() => {
8256
8258
  h = !0;
8257
8259
  });
8258
8260
  const f = le(800);
8259
- rr(o, () => {
8261
+ or(o, () => {
8260
8262
  var Oe;
8261
8263
  f.value = ((Oe = o.value) == null ? void 0 : Oe.clientWidth) ?? 800;
8262
8264
  });
@@ -8363,14 +8365,14 @@ const Ap = {
8363
8365
  St(_e)
8364
8366
  ), je = nt.formatQueryString(me), Pe = ue + "?" + je;
8365
8367
  v == Pe && !Oe || (Me && (s.value = !0), v = Pe, r.get(Pe).then((Re) => {
8366
- ie.value = Re.data, s.value = !1, p.value = !1, d.value = !0;
8368
+ oe.value = Re.data, s.value = !1, p.value = !1, d.value = !0;
8367
8369
  }).catch(() => {
8368
- s.value = !1, p.value = !0;
8370
+ oe.value = null, s.value = !1, p.value = !0;
8369
8371
  }));
8370
8372
  }
8371
- const ie = le(
8373
+ const oe = le(
8372
8374
  null
8373
- ), { items: te, paginationMetadata: z, lastPage: ne } = va(ie), Q = Y(() => n.value.page && parseInt(n.value.page + "") ? parseInt(n.value.page + "") : 1), M = Y(() => {
8375
+ ), { items: te, paginationMetadata: z, lastPage: ne } = va(oe), Q = Y(() => n.value.page && parseInt(n.value.page + "") ? parseInt(n.value.page + "") : 1), M = Y(() => {
8374
8376
  var Oe;
8375
8377
  return ((Oe = n.value.sort) == null ? void 0 : Oe.trim().replace(/^(-)/, "")) ?? "";
8376
8378
  }), N = Y(() => n.value.sort && n.value.sort.length && n.value.sort[0] == "-" ? "desc" : "asc"), U = Y(() => n.value.search ?? ""), ae = () => {
@@ -8453,7 +8455,7 @@ const Ap = {
8453
8455
  }),
8454
8456
  q("span", Pp, Se(Oe.$t("sui.filters")), 1)
8455
8457
  ])) : ke("", !0),
8456
- t.actions && t.actions.length ? (R(), Te(lr, {
8458
+ t.actions && t.actions.length ? (R(), Te(sr, {
8457
8459
  key: 2,
8458
8460
  "menu-class": "w-52",
8459
8461
  items: t.actions
@@ -8505,7 +8507,7 @@ const Ap = {
8505
8507
  }, [
8506
8508
  Ae(Oe.$slots, "sidebarTop", { paginationMetadata: I(z) }),
8507
8509
  I(S) ? (R(), X("div", Rp, [
8508
- he(or, null, {
8510
+ he(ir, null, {
8509
8511
  default: ge(() => [
8510
8512
  he(ya, { size: "sm" }, {
8511
8513
  default: ge(() => [
@@ -8566,7 +8568,7 @@ const Ap = {
8566
8568
  ], 512);
8567
8569
  };
8568
8570
  }
8569
- }), sr = ra("notifications", {
8571
+ }), Kn = ra("notifications", {
8570
8572
  state: () => ({
8571
8573
  count: 0,
8572
8574
  notifications: [],
@@ -8730,7 +8732,7 @@ const Bs = /* @__PURE__ */ $t(Yp, [["render", Jp], ["__scopeId", "data-v-945515f
8730
8732
  const r = t, o = "disabled:bg-slate-100 disabled:border-slate-300 disabled:cursor-not-allowed border-slate-400 rounded";
8731
8733
  Ge("table", du());
8732
8734
  const a = le([]), l = le([...r.checkedRows]), u = le(null), c = le(null), h = le(!0), f = le([]), d = le(1), s = le(null), p = le(null), w = le(0);
8733
- rr(p, () => b());
8735
+ or(p, () => b());
8734
8736
  const b = En(() => {
8735
8737
  v();
8736
8738
  }, 100);
@@ -8852,12 +8854,12 @@ const Bs = /* @__PURE__ */ $t(Yp, [["render", Jp], ["__scopeId", "data-v-945515f
8852
8854
  (U) => U.newKey !== N.newKey
8853
8855
  );
8854
8856
  }
8855
- const ie = "border-b border-slate-300";
8857
+ const oe = "border-b border-slate-300";
8856
8858
  function te(N, U) {
8857
- return N < r.data.length - 1 || K(U) ? ie : "";
8859
+ return N < r.data.length - 1 || K(U) ? oe : "";
8858
8860
  }
8859
8861
  function z(N) {
8860
- return N < r.data.length - 1 ? ie : "";
8862
+ return N < r.data.length - 1 ? oe : "";
8861
8863
  }
8862
8864
  function ne(N, U, ae, re, fe) {
8863
8865
  U.clickable && e("cell-click", N, U, ae, re, fe);
@@ -8951,7 +8953,7 @@ const Bs = /* @__PURE__ */ $t(Yp, [["render", Jp], ["__scopeId", "data-v-945515f
8951
8953
  l.value.length ? (R(), X("tr", pm, [
8952
8954
  q("td", {
8953
8955
  colspan: I(k),
8954
- class: de(["sticky z-[1] p-0", [ie]]),
8956
+ class: de(["sticky z-[1] p-0", [oe]]),
8955
8957
  style: ft({
8956
8958
  top: w.value + "px"
8957
8959
  })
@@ -8974,7 +8976,7 @@ const Bs = /* @__PURE__ */ $t(Yp, [["render", Jp], ["__scopeId", "data-v-945515f
8974
8976
  onClick: U[0] || (U[0] = (fe) => O())
8975
8977
  }, Se(N.$t("sui.deselect_all")), 1)
8976
8978
  ]),
8977
- (re = t.checkableActions) != null && re.length ? (R(), Te(lr, {
8979
+ (re = t.checkableActions) != null && re.length ? (R(), Te(sr, {
8978
8980
  key: 0,
8979
8981
  "menu-class": "w-52",
8980
8982
  items: t.checkableActions
@@ -9361,7 +9363,7 @@ const Ls = /* @__PURE__ */ $t(Nm, [["render", $m]]), jm = { class: "flex justify
9361
9363
  "check"
9362
9364
  ],
9363
9365
  setup(t, { expose: i, emit: e }) {
9364
- const r = t, o = fn(), a = nt.http, l = fa(), u = sr(), c = le(null), h = le(null);
9366
+ const r = t, o = fn(), a = nt.http, l = fa(), u = Kn(), c = le(null), h = le(null);
9365
9367
  function f(y) {
9366
9368
  e("cell-click", y);
9367
9369
  }
@@ -9442,7 +9444,7 @@ const Ls = /* @__PURE__ */ $t(Nm, [["render", $m]]), jm = { class: "flex justify
9442
9444
  error: K,
9443
9445
  firstLoad: P
9444
9446
  }) => [
9445
- he(or, {
9447
+ he(ir, {
9446
9448
  clipped: "",
9447
9449
  class: "w-full overflow-hidden"
9448
9450
  }, {
@@ -9560,7 +9562,7 @@ const Ls = /* @__PURE__ */ $t(Nm, [["render", $m]]), jm = { class: "flex justify
9560
9562
  name: "sidebarBottom",
9561
9563
  fn: ge(() => [
9562
9564
  q("div", Wm, [
9563
- he(or, null, {
9565
+ he(ir, null, {
9564
9566
  default: ge(() => [
9565
9567
  he(ya, { size: "sm" }, {
9566
9568
  default: ge(() => [
@@ -9613,7 +9615,7 @@ var _i = [
9613
9615
  "onValueUpdate",
9614
9616
  "onYearChange",
9615
9617
  "onPreCalendarPosition"
9616
- ], tr = {
9618
+ ], nr = {
9617
9619
  _disable: [],
9618
9620
  allowInput: !1,
9619
9621
  allowInvalidPreload: !1,
@@ -9962,7 +9964,7 @@ var Si = function() {
9962
9964
  return String(t.getFullYear()).substring(2);
9963
9965
  }
9964
9966
  }, $s = function(t) {
9965
- var i = t.config, e = i === void 0 ? tr : i, r = t.l10n, o = r === void 0 ? Rr : r, a = t.isMobile, l = a === void 0 ? !1 : a;
9967
+ var i = t.config, e = i === void 0 ? nr : i, r = t.l10n, o = r === void 0 ? Rr : r, a = t.isMobile, l = a === void 0 ? !1 : a;
9966
9968
  return function(u, c, h) {
9967
9969
  var f = h || o;
9968
9970
  return e.formatDate !== void 0 && !l ? e.formatDate(u, c, f) : c.split("").map(function(d, s, p) {
@@ -9970,7 +9972,7 @@ var Si = function() {
9970
9972
  }).join("");
9971
9973
  };
9972
9974
  }, Ki = function(t) {
9973
- var i = t.config, e = i === void 0 ? tr : i, r = t.l10n, o = r === void 0 ? Rr : r;
9975
+ var i = t.config, e = i === void 0 ? nr : i, r = t.l10n, o = r === void 0 ? Rr : r;
9974
9976
  return function(a, l, u, c) {
9975
9977
  if (!(a !== 0 && !a)) {
9976
9978
  var h = c || o, f, d = a;
@@ -9979,7 +9981,7 @@ var Si = function() {
9979
9981
  else if (typeof a != "string" && a.toFixed !== void 0)
9980
9982
  f = new Date(a);
9981
9983
  else if (typeof a == "string") {
9982
- var s = l || (e || tr).dateFormat, p = String(a).trim();
9984
+ var s = l || (e || nr).dateFormat, p = String(a).trim();
9983
9985
  if (p === "today")
9984
9986
  f = new Date(), u = !0;
9985
9987
  else if (e && e.parseDate)
@@ -10072,10 +10074,10 @@ var Lt = globalThis && globalThis.__assign || function() {
10072
10074
  }, tv = 300;
10073
10075
  function nv(t, i) {
10074
10076
  var e = {
10075
- config: Lt(Lt({}, tr), bt.defaultConfig),
10077
+ config: Lt(Lt({}, nr), bt.defaultConfig),
10076
10078
  l10n: Rr
10077
10079
  };
10078
- e.parseDate = Ki({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = b, e._setHoursFromDate = s, e._positionCalendar = ue, e.changeMonth = D, e.changeYear = ne, e.clear = V, e.close = G, e.onMouseOver = ae, e._createElement = rt, e.createDay = A, e.destroy = ie, e.isEnabled = Q, e.jumpToDate = n, e.updateValue = _t, e.open = fe, e.redraw = me, e.set = vt, e.setDate = xe, e.toggle = qt;
10080
+ e.parseDate = Ki({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = b, e._setHoursFromDate = s, e._positionCalendar = ue, e.changeMonth = D, e.changeYear = ne, e.clear = V, e.close = G, e.onMouseOver = ae, e._createElement = rt, e.createDay = A, e.destroy = oe, e.isEnabled = Q, e.jumpToDate = n, e.updateValue = _t, e.open = fe, e.redraw = me, e.set = vt, e.setDate = xe, e.toggle = qt;
10079
10081
  function r() {
10080
10082
  e.utils = {
10081
10083
  getDaysInMonth: function(F, W) {
@@ -10106,8 +10108,8 @@ function nv(t, i) {
10106
10108
  }
10107
10109
  function c(F) {
10108
10110
  if (e.selectedDates.length === 0) {
10109
- var W = e.config.minDate === void 0 || Zt(new Date(), e.config.minDate) >= 0 ? new Date() : new Date(e.config.minDate.getTime()), oe = Oi(e.config);
10110
- W.setHours(oe.hours, oe.minutes, oe.seconds, W.getMilliseconds()), e.selectedDates = [W], e.latestSelectedDateObj = W;
10111
+ var W = e.config.minDate === void 0 || Zt(new Date(), e.config.minDate) >= 0 ? new Date() : new Date(e.config.minDate.getTime()), ie = Oi(e.config);
10112
+ W.setHours(ie.hours, ie.minutes, ie.seconds, W.getMilliseconds()), e.selectedDates = [W], e.latestSelectedDateObj = W;
10111
10113
  }
10112
10114
  F !== void 0 && F.type !== "blur" && Pn(F);
10113
10115
  var pe = e._input.value;
@@ -10127,51 +10129,51 @@ function nv(t, i) {
10127
10129
  }
10128
10130
  function d() {
10129
10131
  if (!(e.hourElement === void 0 || e.minuteElement === void 0)) {
10130
- var F = (parseInt(e.hourElement.value.slice(-2), 10) || 0) % 24, W = (parseInt(e.minuteElement.value, 10) || 0) % 60, oe = e.secondElement !== void 0 ? (parseInt(e.secondElement.value, 10) || 0) % 60 : 0;
10132
+ var F = (parseInt(e.hourElement.value.slice(-2), 10) || 0) % 24, W = (parseInt(e.minuteElement.value, 10) || 0) % 60, ie = e.secondElement !== void 0 ? (parseInt(e.secondElement.value, 10) || 0) % 60 : 0;
10131
10133
  e.amPM !== void 0 && (F = h(F, e.amPM.textContent));
10132
10134
  var pe = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && Zt(e.latestSelectedDateObj, e.config.minDate, !0) === 0, Ce = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && Zt(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
10133
10135
  if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
10134
- var Be = Ei(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), ze = Ei(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), De = Ei(F, W, oe);
10136
+ var Be = Ei(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), ze = Ei(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), De = Ei(F, W, ie);
10135
10137
  if (De > ze && De < Be) {
10136
10138
  var He = Xm(Be);
10137
- F = He[0], W = He[1], oe = He[2];
10139
+ F = He[0], W = He[1], ie = He[2];
10138
10140
  }
10139
10141
  } else {
10140
10142
  if (Ce) {
10141
10143
  var Ne = e.config.maxTime !== void 0 ? e.config.maxTime : e.config.maxDate;
10142
- F = Math.min(F, Ne.getHours()), F === Ne.getHours() && (W = Math.min(W, Ne.getMinutes())), W === Ne.getMinutes() && (oe = Math.min(oe, Ne.getSeconds()));
10144
+ F = Math.min(F, Ne.getHours()), F === Ne.getHours() && (W = Math.min(W, Ne.getMinutes())), W === Ne.getMinutes() && (ie = Math.min(ie, Ne.getSeconds()));
10143
10145
  }
10144
10146
  if (pe) {
10145
10147
  var Fe = e.config.minTime !== void 0 ? e.config.minTime : e.config.minDate;
10146
- F = Math.max(F, Fe.getHours()), F === Fe.getHours() && W < Fe.getMinutes() && (W = Fe.getMinutes()), W === Fe.getMinutes() && (oe = Math.max(oe, Fe.getSeconds()));
10148
+ F = Math.max(F, Fe.getHours()), F === Fe.getHours() && W < Fe.getMinutes() && (W = Fe.getMinutes()), W === Fe.getMinutes() && (ie = Math.max(ie, Fe.getSeconds()));
10147
10149
  }
10148
10150
  }
10149
- p(F, W, oe);
10151
+ p(F, W, ie);
10150
10152
  }
10151
10153
  }
10152
10154
  function s(F) {
10153
10155
  var W = F || e.latestSelectedDateObj;
10154
10156
  W && W instanceof Date && p(W.getHours(), W.getMinutes(), W.getSeconds());
10155
10157
  }
10156
- function p(F, W, oe) {
10157
- e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(F % 24, W, oe || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value = Ht(e.config.time_24hr ? F : (12 + F) % 12 + 12 * on(F % 12 === 0)), e.minuteElement.value = Ht(W), e.amPM !== void 0 && (e.amPM.textContent = e.l10n.amPM[on(F >= 12)]), e.secondElement !== void 0 && (e.secondElement.value = Ht(oe)));
10158
+ function p(F, W, ie) {
10159
+ e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(F % 24, W, ie || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value = Ht(e.config.time_24hr ? F : (12 + F) % 12 + 12 * on(F % 12 === 0)), e.minuteElement.value = Ht(W), e.amPM !== void 0 && (e.amPM.textContent = e.l10n.amPM[on(F >= 12)]), e.secondElement !== void 0 && (e.secondElement.value = Ht(ie)));
10158
10160
  }
10159
10161
  function w(F) {
10160
- var W = Qt(F), oe = parseInt(W.value) + (F.delta || 0);
10161
- (oe / 1e3 > 1 || F.key === "Enter" && !/[^\d]/.test(oe.toString())) && ne(oe);
10162
+ var W = Qt(F), ie = parseInt(W.value) + (F.delta || 0);
10163
+ (ie / 1e3 > 1 || F.key === "Enter" && !/[^\d]/.test(ie.toString())) && ne(ie);
10162
10164
  }
10163
- function b(F, W, oe, pe) {
10165
+ function b(F, W, ie, pe) {
10164
10166
  if (W instanceof Array)
10165
10167
  return W.forEach(function(Ce) {
10166
- return b(F, Ce, oe, pe);
10168
+ return b(F, Ce, ie, pe);
10167
10169
  });
10168
10170
  if (F instanceof Array)
10169
10171
  return F.forEach(function(Ce) {
10170
- return b(Ce, W, oe, pe);
10172
+ return b(Ce, W, ie, pe);
10171
10173
  });
10172
- F.addEventListener(W, oe, pe), e._handlers.push({
10174
+ F.addEventListener(W, ie, pe), e._handlers.push({
10173
10175
  remove: function() {
10174
- return F.removeEventListener(W, oe, pe);
10176
+ return F.removeEventListener(W, ie, pe);
10175
10177
  }
10176
10178
  });
10177
10179
  }
@@ -10179,35 +10181,35 @@ function nv(t, i) {
10179
10181
  Ke("onChange");
10180
10182
  }
10181
10183
  function g() {
10182
- if (e.config.wrap && ["open", "close", "toggle", "clear"].forEach(function(oe) {
10183
- Array.prototype.forEach.call(e.element.querySelectorAll("[data-" + oe + "]"), function(pe) {
10184
- return b(pe, "click", e[oe]);
10184
+ if (e.config.wrap && ["open", "close", "toggle", "clear"].forEach(function(ie) {
10185
+ Array.prototype.forEach.call(e.element.querySelectorAll("[data-" + ie + "]"), function(pe) {
10186
+ return b(pe, "click", e[ie]);
10185
10187
  });
10186
10188
  }), e.isMobile) {
10187
10189
  jt();
10188
10190
  return;
10189
10191
  }
10190
10192
  var F = dl(re, 50);
10191
- if (e._debouncedChange = dl(v, tv), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && b(e.daysContainer, "mouseover", function(oe) {
10192
- e.config.mode === "range" && ae(Qt(oe));
10193
+ if (e._debouncedChange = dl(v, tv), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && b(e.daysContainer, "mouseover", function(ie) {
10194
+ e.config.mode === "range" && ae(Qt(ie));
10193
10195
  }), b(e._input, "keydown", U), e.calendarContainer !== void 0 && b(e.calendarContainer, "keydown", U), !e.config.inline && !e.config.static && b(window, "resize", F), window.ontouchstart !== void 0 ? b(window.document, "touchstart", z) : b(window.document, "mousedown", z), b(window.document, "focus", z, { capture: !0 }), e.config.clickOpens === !0 && (b(e._input, "focus", e.open), b(e._input, "click", e.open)), e.daysContainer !== void 0 && (b(e.monthNav, "click", Ut), b(e.monthNav, ["keyup", "increment"], w), b(e.daysContainer, "click", Pe)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
10194
- var W = function(oe) {
10195
- return Qt(oe).select();
10196
+ var W = function(ie) {
10197
+ return Qt(ie).select();
10196
10198
  };
10197
10199
  b(e.timeContainer, ["increment"], c), b(e.timeContainer, "blur", c, { capture: !0 }), b(e.timeContainer, "click", k), b([e.hourElement, e.minuteElement], ["focus", "click"], W), e.secondElement !== void 0 && b(e.secondElement, "focus", function() {
10198
10200
  return e.secondElement && e.secondElement.select();
10199
- }), e.amPM !== void 0 && b(e.amPM, "click", function(oe) {
10200
- c(oe);
10201
+ }), e.amPM !== void 0 && b(e.amPM, "click", function(ie) {
10202
+ c(ie);
10201
10203
  });
10202
10204
  }
10203
10205
  e.config.allowInput && b(e._input, "blur", N);
10204
10206
  }
10205
10207
  function n(F, W) {
10206
- var oe = F !== void 0 ? e.parseDate(F) : e.latestSelectedDateObj || (e.config.minDate && e.config.minDate > e.now ? e.config.minDate : e.config.maxDate && e.config.maxDate < e.now ? e.config.maxDate : e.now), pe = e.currentYear, Ce = e.currentMonth;
10208
+ var ie = F !== void 0 ? e.parseDate(F) : e.latestSelectedDateObj || (e.config.minDate && e.config.minDate > e.now ? e.config.minDate : e.config.maxDate && e.config.maxDate < e.now ? e.config.maxDate : e.now), pe = e.currentYear, Ce = e.currentMonth;
10207
10209
  try {
10208
- oe !== void 0 && (e.currentYear = oe.getFullYear(), e.currentMonth = oe.getMonth());
10210
+ ie !== void 0 && (e.currentYear = ie.getFullYear(), e.currentMonth = ie.getMonth());
10209
10211
  } catch (Be) {
10210
- Be.message = "Invalid date supplied: " + oe, e.config.errorHandler(Be);
10212
+ Be.message = "Invalid date supplied: " + ie, e.config.errorHandler(Be);
10211
10213
  }
10212
10214
  W && e.currentYear !== pe && (Ke("onYearChange"), B()), W && (e.currentYear !== pe || e.currentMonth !== Ce) && Ke("onMonthChange"), e.redraw();
10213
10215
  }
@@ -10215,16 +10217,16 @@ function nv(t, i) {
10215
10217
  var W = Qt(F);
10216
10218
  ~W.className.indexOf("arrow") && m(F, W.classList.contains("arrowUp") ? 1 : -1);
10217
10219
  }
10218
- function m(F, W, oe) {
10219
- var pe = F && Qt(F), Ce = oe || pe && pe.parentNode && pe.parentNode.firstChild, Be = Gt("increment");
10220
+ function m(F, W, ie) {
10221
+ var pe = F && Qt(F), Ce = ie || pe && pe.parentNode && pe.parentNode.firstChild, Be = Gt("increment");
10220
10222
  Be.delta = W, Ce && Ce.dispatchEvent(Be);
10221
10223
  }
10222
10224
  function S() {
10223
10225
  var F = window.document.createDocumentFragment();
10224
10226
  if (e.calendarContainer = rt("div", "flatpickr-calendar"), e.calendarContainer.tabIndex = -1, !e.config.noCalendar) {
10225
10227
  if (F.appendChild(H()), e.innerContainer = rt("div", "flatpickr-innerContainer"), e.config.weekNumbers) {
10226
- var W = P(), oe = W.weekWrapper, pe = W.weekNumbers;
10227
- e.innerContainer.appendChild(oe), e.weekNumbers = pe, e.weekWrapper = oe;
10228
+ var W = P(), ie = W.weekWrapper, pe = W.weekNumbers;
10229
+ e.innerContainer.appendChild(ie), e.weekNumbers = pe, e.weekWrapper = ie;
10228
10230
  }
10229
10231
  e.rContainer = rt("div", "flatpickr-rContainer"), e.rContainer.appendChild(ce()), e.daysContainer || (e.daysContainer = rt("div", "flatpickr-days"), e.daysContainer.tabIndex = -1), C(), e.rContainer.appendChild(e.daysContainer), e.innerContainer.appendChild(e.rContainer), F.appendChild(e.innerContainer);
10230
10232
  }
@@ -10236,7 +10238,7 @@ function nv(t, i) {
10236
10238
  }
10237
10239
  !e.config.static && !e.config.inline && (e.config.appendTo !== void 0 ? e.config.appendTo : window.document.body).appendChild(e.calendarContainer);
10238
10240
  }
10239
- function A(F, W, oe, pe) {
10241
+ function A(F, W, ie, pe) {
10240
10242
  var Ce = Q(W, !0), Be = rt("span", F, W.getDate().toString());
10241
10243
  return Be.dateObj = W, Be.$i = pe, Be.setAttribute("aria-label", e.formatDate(W, e.config.ariaDateFormat)), F.indexOf("hidden") === -1 && Zt(W, e.now) === 0 && (e.todayDateElem = Be, Be.classList.add("today"), Be.setAttribute("aria-current", "date")), Ce ? (Be.tabIndex = -1, tn(W) && (Be.classList.add("selected"), e.selectedDateElem = Be, e.config.mode === "range" && (Ft(Be, "startRange", e.selectedDates[0] && Zt(W, e.selectedDates[0], !0) === 0), Ft(Be, "endRange", e.selectedDates[1] && Zt(W, e.selectedDates[1], !0) === 0), F === "nextMonthDay" && Be.classList.add("inRange")))) : Be.classList.add("flatpickr-disabled"), e.config.mode === "range" && nn(W) && !tn(W) && Be.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && F !== "prevMonthDay" && pe % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(W) + "</span>"), Ke("onDayCreate", Be), Be;
10242
10244
  }
@@ -10244,7 +10246,7 @@ function nv(t, i) {
10244
10246
  F.focus(), e.config.mode === "range" && ae(F);
10245
10247
  }
10246
10248
  function _(F) {
10247
- for (var W = F > 0 ? 0 : e.config.showMonths - 1, oe = F > 0 ? e.config.showMonths : -1, pe = W; pe != oe; pe += F)
10249
+ for (var W = F > 0 ? 0 : e.config.showMonths - 1, ie = F > 0 ? e.config.showMonths : -1, pe = W; pe != ie; pe += F)
10248
10250
  for (var Ce = e.daysContainer.children[pe], Be = F > 0 ? 0 : Ce.children.length - 1, ze = F > 0 ? Ce.children.length : -1, De = Be; De != ze; De += F) {
10249
10251
  var He = Ce.children[De];
10250
10252
  if (He.className.indexOf("hidden") === -1 && Q(He.dateObj))
@@ -10252,8 +10254,8 @@ function nv(t, i) {
10252
10254
  }
10253
10255
  }
10254
10256
  function x(F, W) {
10255
- for (var oe = F.className.indexOf("Month") === -1 ? F.dateObj.getMonth() : e.currentMonth, pe = W > 0 ? e.config.showMonths : -1, Ce = W > 0 ? 1 : -1, Be = oe - e.currentMonth; Be != pe; Be += Ce)
10256
- for (var ze = e.daysContainer.children[Be], De = oe - e.currentMonth === Be ? F.$i + W : W < 0 ? ze.children.length - 1 : 0, He = ze.children.length, Ne = De; Ne >= 0 && Ne < He && Ne != (W > 0 ? He : -1); Ne += Ce) {
10257
+ for (var ie = F.className.indexOf("Month") === -1 ? F.dateObj.getMonth() : e.currentMonth, pe = W > 0 ? e.config.showMonths : -1, Ce = W > 0 ? 1 : -1, Be = ie - e.currentMonth; Be != pe; Be += Ce)
10258
+ for (var ze = e.daysContainer.children[Be], De = ie - e.currentMonth === Be ? F.$i + W : W < 0 ? ze.children.length - 1 : 0, He = ze.children.length, Ne = De; Ne >= 0 && Ne < He && Ne != (W > 0 ? He : -1); Ne += Ce) {
10257
10259
  var Fe = ze.children[Ne];
10258
10260
  if (Fe.className.indexOf("hidden") === -1 && Q(Fe.dateObj) && Math.abs(F.$i - Ne) >= Math.abs(W))
10259
10261
  return E(Fe);
@@ -10261,15 +10263,15 @@ function nv(t, i) {
10261
10263
  e.changeMonth(Ce), y(_(Ce), 0);
10262
10264
  }
10263
10265
  function y(F, W) {
10264
- var oe = a(), pe = M(oe || document.body), Ce = F !== void 0 ? F : pe ? oe : e.selectedDateElem !== void 0 && M(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && M(e.todayDateElem) ? e.todayDateElem : _(W > 0 ? 1 : -1);
10266
+ var ie = a(), pe = M(ie || document.body), Ce = F !== void 0 ? F : pe ? ie : e.selectedDateElem !== void 0 && M(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && M(e.todayDateElem) ? e.todayDateElem : _(W > 0 ? 1 : -1);
10265
10267
  Ce === void 0 ? e._input.focus() : pe ? x(Ce, W) : E(Ce);
10266
10268
  }
10267
10269
  function O(F, W) {
10268
- for (var oe = (new Date(F, W, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, pe = e.utils.getDaysInMonth((W - 1 + 12) % 12, F), Ce = e.utils.getDaysInMonth(W, F), Be = window.document.createDocumentFragment(), ze = e.config.showMonths > 1, De = ze ? "prevMonthDay hidden" : "prevMonthDay", He = ze ? "nextMonthDay hidden" : "nextMonthDay", Ne = pe + 1 - oe, Fe = 0; Ne <= pe; Ne++, Fe++)
10270
+ for (var ie = (new Date(F, W, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, pe = e.utils.getDaysInMonth((W - 1 + 12) % 12, F), Ce = e.utils.getDaysInMonth(W, F), Be = window.document.createDocumentFragment(), ze = e.config.showMonths > 1, De = ze ? "prevMonthDay hidden" : "prevMonthDay", He = ze ? "nextMonthDay hidden" : "nextMonthDay", Ne = pe + 1 - ie, Fe = 0; Ne <= pe; Ne++, Fe++)
10269
10271
  Be.appendChild(A("flatpickr-day " + De, new Date(F, W - 1, Ne), Ne, Fe));
10270
10272
  for (Ne = 1; Ne <= Ce; Ne++, Fe++)
10271
10273
  Be.appendChild(A("flatpickr-day", new Date(F, W, Ne), Ne, Fe));
10272
- for (var Je = Ce + 1; Je <= 42 - oe && (e.config.showMonths === 1 || Fe % 7 !== 0); Je++, Fe++)
10274
+ for (var Je = Ce + 1; Je <= 42 - ie && (e.config.showMonths === 1 || Fe % 7 !== 0); Je++, Fe++)
10273
10275
  Be.appendChild(A("flatpickr-day " + He, new Date(F, W + 1, Je % Ce), Je, Fe));
10274
10276
  var lt = rt("div", "dayContainer");
10275
10277
  return lt.appendChild(Be), lt;
@@ -10278,8 +10280,8 @@ function nv(t, i) {
10278
10280
  if (e.daysContainer !== void 0) {
10279
10281
  so(e.daysContainer), e.weekNumbers && so(e.weekNumbers);
10280
10282
  for (var F = document.createDocumentFragment(), W = 0; W < e.config.showMonths; W++) {
10281
- var oe = new Date(e.currentYear, e.currentMonth, 1);
10282
- oe.setMonth(e.currentMonth + W), F.appendChild(O(oe.getFullYear(), oe.getMonth()));
10283
+ var ie = new Date(e.currentYear, e.currentMonth, 1);
10284
+ ie.setMonth(e.currentMonth + W), F.appendChild(O(ie.getFullYear(), ie.getMonth()));
10283
10285
  }
10284
10286
  e.daysContainer.appendChild(F), e.days = e.daysContainer.firstChild, e.config.mode === "range" && e.selectedDates.length === 1 && ae();
10285
10287
  }
@@ -10292,24 +10294,24 @@ function nv(t, i) {
10292
10294
  e.monthsDropdownContainer.tabIndex = -1, e.monthsDropdownContainer.innerHTML = "";
10293
10295
  for (var W = 0; W < 12; W++)
10294
10296
  if (F(W)) {
10295
- var oe = rt("option", "flatpickr-monthDropdown-month");
10296
- oe.value = new Date(e.currentYear, W).getMonth().toString(), oe.textContent = Co(W, e.config.shorthandCurrentMonth, e.l10n), oe.tabIndex = -1, e.currentMonth === W && (oe.selected = !0), e.monthsDropdownContainer.appendChild(oe);
10297
+ var ie = rt("option", "flatpickr-monthDropdown-month");
10298
+ ie.value = new Date(e.currentYear, W).getMonth().toString(), ie.textContent = Co(W, e.config.shorthandCurrentMonth, e.l10n), ie.tabIndex = -1, e.currentMonth === W && (ie.selected = !0), e.monthsDropdownContainer.appendChild(ie);
10297
10299
  }
10298
10300
  }
10299
10301
  }
10300
10302
  function L() {
10301
- var F = rt("div", "flatpickr-month"), W = window.document.createDocumentFragment(), oe;
10302
- e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? oe = rt("span", "cur-month") : (e.monthsDropdownContainer = rt("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), b(e.monthsDropdownContainer, "change", function(ze) {
10303
+ var F = rt("div", "flatpickr-month"), W = window.document.createDocumentFragment(), ie;
10304
+ e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? ie = rt("span", "cur-month") : (e.monthsDropdownContainer = rt("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), b(e.monthsDropdownContainer, "change", function(ze) {
10303
10305
  var De = Qt(ze), He = parseInt(De.value, 10);
10304
10306
  e.changeMonth(He - e.currentMonth), Ke("onMonthChange");
10305
- }), B(), oe = e.monthsDropdownContainer);
10307
+ }), B(), ie = e.monthsDropdownContainer);
10306
10308
  var pe = uo("cur-year", { tabindex: "-1" }), Ce = pe.getElementsByTagName("input")[0];
10307
10309
  Ce.setAttribute("aria-label", e.l10n.yearAriaLabel), e.config.minDate && Ce.setAttribute("min", e.config.minDate.getFullYear().toString()), e.config.maxDate && (Ce.setAttribute("max", e.config.maxDate.getFullYear().toString()), Ce.disabled = !!e.config.minDate && e.config.minDate.getFullYear() === e.config.maxDate.getFullYear());
10308
10310
  var Be = rt("div", "flatpickr-current-month");
10309
- return Be.appendChild(oe), Be.appendChild(pe), W.appendChild(Be), F.appendChild(W), {
10311
+ return Be.appendChild(ie), Be.appendChild(pe), W.appendChild(Be), F.appendChild(W), {
10310
10312
  container: F,
10311
10313
  yearElement: Ce,
10312
- monthElement: oe
10314
+ monthElement: ie
10313
10315
  };
10314
10316
  }
10315
10317
  function $() {
@@ -10341,14 +10343,14 @@ function nv(t, i) {
10341
10343
  e.calendarContainer.classList.add("hasTime"), e.config.noCalendar && e.calendarContainer.classList.add("noCalendar");
10342
10344
  var F = Oi(e.config);
10343
10345
  e.timeContainer = rt("div", "flatpickr-time"), e.timeContainer.tabIndex = -1;
10344
- var W = rt("span", "flatpickr-time-separator", ":"), oe = uo("flatpickr-hour", {
10346
+ var W = rt("span", "flatpickr-time-separator", ":"), ie = uo("flatpickr-hour", {
10345
10347
  "aria-label": e.l10n.hourAriaLabel
10346
10348
  });
10347
- e.hourElement = oe.getElementsByTagName("input")[0];
10349
+ e.hourElement = ie.getElementsByTagName("input")[0];
10348
10350
  var pe = uo("flatpickr-minute", {
10349
10351
  "aria-label": e.l10n.minuteAriaLabel
10350
10352
  });
10351
- if (e.minuteElement = pe.getElementsByTagName("input")[0], e.hourElement.tabIndex = e.minuteElement.tabIndex = -1, e.hourElement.value = Ht(e.latestSelectedDateObj ? e.latestSelectedDateObj.getHours() : e.config.time_24hr ? F.hours : f(F.hours)), e.minuteElement.value = Ht(e.latestSelectedDateObj ? e.latestSelectedDateObj.getMinutes() : F.minutes), e.hourElement.setAttribute("step", e.config.hourIncrement.toString()), e.minuteElement.setAttribute("step", e.config.minuteIncrement.toString()), e.hourElement.setAttribute("min", e.config.time_24hr ? "0" : "1"), e.hourElement.setAttribute("max", e.config.time_24hr ? "23" : "12"), e.hourElement.setAttribute("maxlength", "2"), e.minuteElement.setAttribute("min", "0"), e.minuteElement.setAttribute("max", "59"), e.minuteElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(oe), e.timeContainer.appendChild(W), e.timeContainer.appendChild(pe), e.config.time_24hr && e.timeContainer.classList.add("time24hr"), e.config.enableSeconds) {
10353
+ if (e.minuteElement = pe.getElementsByTagName("input")[0], e.hourElement.tabIndex = e.minuteElement.tabIndex = -1, e.hourElement.value = Ht(e.latestSelectedDateObj ? e.latestSelectedDateObj.getHours() : e.config.time_24hr ? F.hours : f(F.hours)), e.minuteElement.value = Ht(e.latestSelectedDateObj ? e.latestSelectedDateObj.getMinutes() : F.minutes), e.hourElement.setAttribute("step", e.config.hourIncrement.toString()), e.minuteElement.setAttribute("step", e.config.minuteIncrement.toString()), e.hourElement.setAttribute("min", e.config.time_24hr ? "0" : "1"), e.hourElement.setAttribute("max", e.config.time_24hr ? "23" : "12"), e.hourElement.setAttribute("maxlength", "2"), e.minuteElement.setAttribute("min", "0"), e.minuteElement.setAttribute("max", "59"), e.minuteElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(ie), e.timeContainer.appendChild(W), e.timeContainer.appendChild(pe), e.config.time_24hr && e.timeContainer.classList.add("time24hr"), e.config.enableSeconds) {
10352
10354
  e.timeContainer.classList.add("hasSeconds");
10353
10355
  var Ce = uo("flatpickr-second");
10354
10356
  e.secondElement = Ce.getElementsByTagName("input")[0], e.secondElement.value = Ht(e.latestSelectedDateObj ? e.latestSelectedDateObj.getSeconds() : F.seconds), e.secondElement.setAttribute("step", e.minuteElement.getAttribute("step")), e.secondElement.setAttribute("min", "0"), e.secondElement.setAttribute("max", "59"), e.secondElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(rt("span", "flatpickr-time-separator", ":")), e.timeContainer.appendChild(Ce);
@@ -10367,8 +10369,8 @@ function nv(t, i) {
10367
10369
  if (e.weekdayContainer) {
10368
10370
  var F = e.l10n.firstDayOfWeek, W = hl(e.l10n.weekdays.shorthand);
10369
10371
  F > 0 && F < W.length && (W = hl(W.splice(F, W.length), W.splice(0, F)));
10370
- for (var oe = e.config.showMonths; oe--; )
10371
- e.weekdayContainer.children[oe].innerHTML = `
10372
+ for (var ie = e.config.showMonths; ie--; )
10373
+ e.weekdayContainer.children[ie].innerHTML = `
10372
10374
  <span class='flatpickr-weekday'>
10373
10375
  ` + W.join("</span><span class='flatpickr-weekday'>") + `
10374
10376
  </span>
@@ -10387,12 +10389,12 @@ function nv(t, i) {
10387
10389
  }
10388
10390
  function D(F, W) {
10389
10391
  W === void 0 && (W = !0);
10390
- var oe = W ? F : F - e.currentMonth;
10391
- oe < 0 && e._hidePrevMonthArrow === !0 || oe > 0 && e._hideNextMonthArrow === !0 || (e.currentMonth += oe, (e.currentMonth < 0 || e.currentMonth > 11) && (e.currentYear += e.currentMonth > 11 ? 1 : -1, e.currentMonth = (e.currentMonth + 12) % 12, Ke("onYearChange"), B()), C(), Ke("onMonthChange"), We());
10392
+ var ie = W ? F : F - e.currentMonth;
10393
+ ie < 0 && e._hidePrevMonthArrow === !0 || ie > 0 && e._hideNextMonthArrow === !0 || (e.currentMonth += ie, (e.currentMonth < 0 || e.currentMonth > 11) && (e.currentYear += e.currentMonth > 11 ? 1 : -1, e.currentMonth = (e.currentMonth + 12) % 12, Ke("onYearChange"), B()), C(), Ke("onMonthChange"), We());
10392
10394
  }
10393
10395
  function V(F, W) {
10394
10396
  if (F === void 0 && (F = !0), W === void 0 && (W = !0), e.input.value = "", e.altInput !== void 0 && (e.altInput.value = ""), e.mobileInput !== void 0 && (e.mobileInput.value = ""), e.selectedDates = [], e.latestSelectedDateObj = void 0, W === !0 && (e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth()), e.config.enableTime === !0) {
10395
- var oe = Oi(e.config), pe = oe.hours, Ce = oe.minutes, Be = oe.seconds;
10397
+ var ie = Oi(e.config), pe = ie.hours, Ce = ie.minutes, Be = ie.seconds;
10396
10398
  p(pe, Ce, Be);
10397
10399
  }
10398
10400
  e.redraw(), F && Ke("onChange");
@@ -10400,7 +10402,7 @@ function nv(t, i) {
10400
10402
  function G() {
10401
10403
  e.isOpen = !1, e.isMobile || (e.calendarContainer !== void 0 && e.calendarContainer.classList.remove("open"), e._input !== void 0 && e._input.classList.remove("active")), Ke("onClose");
10402
10404
  }
10403
- function ie() {
10405
+ function oe() {
10404
10406
  e.config !== void 0 && Ke("onDestroy");
10405
10407
  for (var F = e._handlers.length; F--; )
10406
10408
  e._handlers[F].remove();
@@ -10446,9 +10448,9 @@ function nv(t, i) {
10446
10448
  "navigationCurrentMonth",
10447
10449
  "selectedDateElem",
10448
10450
  "config"
10449
- ].forEach(function(oe) {
10451
+ ].forEach(function(ie) {
10450
10452
  try {
10451
- delete e[oe];
10453
+ delete e[ie];
10452
10454
  } catch {
10453
10455
  }
10454
10456
  });
@@ -10458,7 +10460,7 @@ function nv(t, i) {
10458
10460
  }
10459
10461
  function z(F) {
10460
10462
  if (e.isOpen && !e.config.inline) {
10461
- var W = Qt(F), oe = te(W), pe = W === e.input || W === e.altInput || e.element.contains(W) || F.path && F.path.indexOf && (~F.path.indexOf(e.input) || ~F.path.indexOf(e.altInput)), Ce = !pe && !oe && !te(F.relatedTarget), Be = !e.config.ignoredFocusElements.some(function(ze) {
10463
+ var W = Qt(F), ie = te(W), pe = W === e.input || W === e.altInput || e.element.contains(W) || F.path && F.path.indexOf && (~F.path.indexOf(e.input) || ~F.path.indexOf(e.altInput)), Ce = !pe && !ie && !te(F.relatedTarget), Be = !e.config.ignoredFocusElements.some(function(ze) {
10462
10464
  return ze.contains(W);
10463
10465
  });
10464
10466
  Ce && Be && (e.config.allowInput && e.setDate(e._input.value, !1, e.config.altInput ? e.config.altFormat : e.config.dateFormat), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0 && e.input.value !== "" && e.input.value !== void 0 && c(), e.close(), e.config && e.config.mode === "range" && e.selectedDates.length === 1 && e.clear(!1));
@@ -10466,12 +10468,12 @@ function nv(t, i) {
10466
10468
  }
10467
10469
  function ne(F) {
10468
10470
  if (!(!F || e.config.minDate && F < e.config.minDate.getFullYear() || e.config.maxDate && F > e.config.maxDate.getFullYear())) {
10469
- var W = F, oe = e.currentYear !== W;
10470
- e.currentYear = W || e.currentYear, e.config.maxDate && e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth = Math.min(e.config.maxDate.getMonth(), e.currentMonth) : e.config.minDate && e.currentYear === e.config.minDate.getFullYear() && (e.currentMonth = Math.max(e.config.minDate.getMonth(), e.currentMonth)), oe && (e.redraw(), Ke("onYearChange"), B());
10471
+ var W = F, ie = e.currentYear !== W;
10472
+ e.currentYear = W || e.currentYear, e.config.maxDate && e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth = Math.min(e.config.maxDate.getMonth(), e.currentMonth) : e.config.minDate && e.currentYear === e.config.minDate.getFullYear() && (e.currentMonth = Math.max(e.config.minDate.getMonth(), e.currentMonth)), ie && (e.redraw(), Ke("onYearChange"), B());
10471
10473
  }
10472
10474
  }
10473
10475
  function Q(F, W) {
10474
- var oe;
10476
+ var ie;
10475
10477
  W === void 0 && (W = !0);
10476
10478
  var pe = e.parseDate(F, void 0, W);
10477
10479
  if (e.config.minDate && pe && Zt(pe, e.config.minDate, W !== void 0 ? W : !e.minDateHasTime) < 0 || e.config.maxDate && pe && Zt(pe, e.config.maxDate, W !== void 0 ? W : !e.maxDateHasTime) > 0)
@@ -10480,7 +10482,7 @@ function nv(t, i) {
10480
10482
  return !0;
10481
10483
  if (pe === void 0)
10482
10484
  return !1;
10483
- for (var Ce = !!e.config.enable, Be = (oe = e.config.enable) !== null && oe !== void 0 ? oe : e.config.disable, ze = 0, De = void 0; ze < Be.length; ze++) {
10485
+ for (var Ce = !!e.config.enable, Be = (ie = e.config.enable) !== null && ie !== void 0 ? ie : e.config.disable, ze = 0, De = void 0; ze < Be.length; ze++) {
10484
10486
  if (De = Be[ze], typeof De == "function" && De(pe))
10485
10487
  return Ce;
10486
10488
  if (De instanceof Date && pe !== void 0 && De.getTime() === pe.getTime())
@@ -10497,12 +10499,12 @@ function nv(t, i) {
10497
10499
  return e.daysContainer !== void 0 ? F.className.indexOf("hidden") === -1 && F.className.indexOf("flatpickr-disabled") === -1 && e.daysContainer.contains(F) : !1;
10498
10500
  }
10499
10501
  function N(F) {
10500
- var W = F.target === e._input, oe = e._input.value.trimEnd() !== rn();
10501
- W && oe && !(F.relatedTarget && te(F.relatedTarget)) && e.setDate(e._input.value, !0, F.target === e.altInput ? e.config.altFormat : e.config.dateFormat);
10502
+ var W = F.target === e._input, ie = e._input.value.trimEnd() !== rn();
10503
+ W && ie && !(F.relatedTarget && te(F.relatedTarget)) && e.setDate(e._input.value, !0, F.target === e.altInput ? e.config.altFormat : e.config.dateFormat);
10502
10504
  }
10503
10505
  function U(F) {
10504
- var W = Qt(F), oe = e.config.wrap ? t.contains(W) : W === e._input, pe = e.config.allowInput, Ce = e.isOpen && (!pe || !oe), Be = e.config.inline && oe && !pe;
10505
- if (F.keyCode === 13 && oe) {
10506
+ var W = Qt(F), ie = e.config.wrap ? t.contains(W) : W === e._input, pe = e.config.allowInput, Ce = e.isOpen && (!pe || !ie), Be = e.config.inline && ie && !pe;
10507
+ if (F.keyCode === 13 && ie) {
10506
10508
  if (pe)
10507
10509
  return e.setDate(e._input.value, !0, W === e.altInput ? e.config.altFormat : e.config.dateFormat), e.close(), W.blur();
10508
10510
  e.open();
@@ -10517,11 +10519,11 @@ function nv(t, i) {
10517
10519
  break;
10518
10520
  case 8:
10519
10521
  case 46:
10520
- oe && !e.config.allowInput && (F.preventDefault(), e.clear());
10522
+ ie && !e.config.allowInput && (F.preventDefault(), e.clear());
10521
10523
  break;
10522
10524
  case 37:
10523
10525
  case 39:
10524
- if (!ze && !oe) {
10526
+ if (!ze && !ie) {
10525
10527
  F.preventDefault();
10526
10528
  var De = a();
10527
10529
  if (e.daysContainer !== void 0 && (pe === !1 || De && M(De))) {
@@ -10567,11 +10569,11 @@ function nv(t, i) {
10567
10569
  e.amPM.textContent = e.l10n.amPM[1], d(), _t();
10568
10570
  break;
10569
10571
  }
10570
- (oe || te(W)) && Ke("onKeyDown", F);
10572
+ (ie || te(W)) && Ke("onKeyDown", F);
10571
10573
  }
10572
10574
  function ae(F, W) {
10573
10575
  if (W === void 0 && (W = "flatpickr-day"), !(e.selectedDates.length !== 1 || F && (!F.classList.contains(W) || F.classList.contains("flatpickr-disabled")))) {
10574
- for (var oe = F ? F.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), pe = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), Ce = Math.min(oe, e.selectedDates[0].getTime()), Be = Math.max(oe, e.selectedDates[0].getTime()), ze = !1, De = 0, He = 0, Ne = Ce; Ne < Be; Ne += ev.DAY)
10576
+ for (var ie = F ? F.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), pe = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), Ce = Math.min(ie, e.selectedDates[0].getTime()), Be = Math.max(ie, e.selectedDates[0].getTime()), ze = !1, De = 0, He = 0, Ne = Ce; Ne < Be; Ne += ev.DAY)
10575
10577
  Q(new Date(Ne), !0) || (ze = ze || Ne > Ce && Ne < Be, Ne < pe && (!De || Ne > De) ? De = Ne : Ne > pe && (!He || Ne < He) && (He = Ne));
10576
10578
  var Fe = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + W));
10577
10579
  Fe.forEach(function(Je) {
@@ -10585,7 +10587,7 @@ function nv(t, i) {
10585
10587
  return;
10586
10588
  ["startRange", "inRange", "endRange", "notAllowed"].forEach(function(dn) {
10587
10589
  Je.classList.remove(dn);
10588
- }), F !== void 0 && (F.classList.add(oe <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), pe < oe && Ot === pe ? Je.classList.add("startRange") : pe > oe && Ot === pe && Je.classList.add("endRange"), Ot >= De && (He === 0 || Ot <= He) && Jm(Ot, pe, oe) && Je.classList.add("inRange"));
10590
+ }), F !== void 0 && (F.classList.add(ie <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), pe < ie && Ot === pe ? Je.classList.add("startRange") : pe > ie && Ot === pe && Je.classList.add("endRange"), Ot >= De && (He === 0 || Ot <= He) && Jm(Ot, pe, ie) && Je.classList.add("inRange"));
10589
10591
  });
10590
10592
  }
10591
10593
  }
@@ -10596,8 +10598,8 @@ function nv(t, i) {
10596
10598
  if (W === void 0 && (W = e._positionElement), e.isMobile === !0) {
10597
10599
  if (F) {
10598
10600
  F.preventDefault();
10599
- var oe = Qt(F);
10600
- oe && oe.blur();
10601
+ var ie = Qt(F);
10602
+ ie && ie.blur();
10601
10603
  }
10602
10604
  e.mobileInput !== void 0 && (e.mobileInput.focus(), e.mobileInput.click()), Ke("onOpen");
10603
10605
  return;
@@ -10610,10 +10612,10 @@ function nv(t, i) {
10610
10612
  }
10611
10613
  function Ee(F) {
10612
10614
  return function(W) {
10613
- var oe = e.config["_" + F + "Date"] = e.parseDate(W, e.config.dateFormat), pe = e.config["_" + (F === "min" ? "max" : "min") + "Date"];
10614
- oe !== void 0 && (e[F === "min" ? "minDateHasTime" : "maxDateHasTime"] = oe.getHours() > 0 || oe.getMinutes() > 0 || oe.getSeconds() > 0), e.selectedDates && (e.selectedDates = e.selectedDates.filter(function(Ce) {
10615
+ var ie = e.config["_" + F + "Date"] = e.parseDate(W, e.config.dateFormat), pe = e.config["_" + (F === "min" ? "max" : "min") + "Date"];
10616
+ ie !== void 0 && (e[F === "min" ? "minDateHasTime" : "maxDateHasTime"] = ie.getHours() > 0 || ie.getMinutes() > 0 || ie.getSeconds() > 0), e.selectedDates && (e.selectedDates = e.selectedDates.filter(function(Ce) {
10615
10617
  return Q(Ce);
10616
- }), !e.selectedDates.length && F === "min" && s(oe), _t()), e.daysContainer && (me(), oe !== void 0 ? e.currentYearElement[F] = oe.getFullYear().toString() : e.currentYearElement.removeAttribute(F), e.currentYearElement.disabled = !!pe && oe !== void 0 && pe.getFullYear() === oe.getFullYear());
10618
+ }), !e.selectedDates.length && F === "min" && s(ie), _t()), e.daysContainer && (me(), ie !== void 0 ? e.currentYearElement[F] = ie.getFullYear().toString() : e.currentYearElement.removeAttribute(F), e.currentYearElement.disabled = !!pe && ie !== void 0 && pe.getFullYear() === ie.getFullYear());
10617
10619
  };
10618
10620
  }
10619
10621
  function Oe() {
@@ -10632,7 +10634,7 @@ function nv(t, i) {
10632
10634
  "static",
10633
10635
  "enableSeconds",
10634
10636
  "disableMobile"
10635
- ], W = Lt(Lt({}, JSON.parse(JSON.stringify(t.dataset || {}))), i), oe = {};
10637
+ ], W = Lt(Lt({}, JSON.parse(JSON.stringify(t.dataset || {}))), i), ie = {};
10636
10638
  e.config.parseDate = W.parseDate, e.config.formatDate = W.formatDate, Object.defineProperty(e.config, "enable", {
10637
10639
  get: function() {
10638
10640
  return e.config._enable;
@@ -10650,12 +10652,12 @@ function nv(t, i) {
10650
10652
  });
10651
10653
  var pe = W.mode === "time";
10652
10654
  if (!W.dateFormat && (W.enableTime || pe)) {
10653
- var Ce = bt.defaultConfig.dateFormat || tr.dateFormat;
10654
- oe.dateFormat = W.noCalendar || pe ? "H:i" + (W.enableSeconds ? ":S" : "") : Ce + " H:i" + (W.enableSeconds ? ":S" : "");
10655
+ var Ce = bt.defaultConfig.dateFormat || nr.dateFormat;
10656
+ ie.dateFormat = W.noCalendar || pe ? "H:i" + (W.enableSeconds ? ":S" : "") : Ce + " H:i" + (W.enableSeconds ? ":S" : "");
10655
10657
  }
10656
10658
  if (W.altInput && (W.enableTime || pe) && !W.altFormat) {
10657
- var Be = bt.defaultConfig.altFormat || tr.altFormat;
10658
- oe.altFormat = W.noCalendar || pe ? "h:i" + (W.enableSeconds ? ":S K" : " K") : Be + (" h:i" + (W.enableSeconds ? ":S" : "") + " K");
10659
+ var Be = bt.defaultConfig.altFormat || nr.altFormat;
10660
+ ie.altFormat = W.noCalendar || pe ? "h:i" + (W.enableSeconds ? ":S K" : " K") : Be + (" h:i" + (W.enableSeconds ? ":S" : "") + " K");
10659
10661
  }
10660
10662
  Object.defineProperty(e.config, "minDate", {
10661
10663
  get: function() {
@@ -10683,7 +10685,7 @@ function nv(t, i) {
10683
10685
  return e.config._maxTime;
10684
10686
  },
10685
10687
  set: ze("max")
10686
- }), W.mode === "time" && (e.config.noCalendar = !0, e.config.enableTime = !0), Object.assign(e.config, oe, W);
10688
+ }), W.mode === "time" && (e.config.noCalendar = !0, e.config.enableTime = !0), Object.assign(e.config, ie, W);
10687
10689
  for (var De = 0; De < F.length; De++)
10688
10690
  e.config[F[De]] = e.config[F[De]] === !0 || e.config[F[De]] === "true";
10689
10691
  _i.filter(function(Fe) {
@@ -10711,9 +10713,9 @@ function nv(t, i) {
10711
10713
  return void e.config.position(e, F);
10712
10714
  if (e.calendarContainer !== void 0) {
10713
10715
  Ke("onPreCalendarPosition");
10714
- var W = F || e._positionElement, oe = Array.prototype.reduce.call(e.calendarContainer.children, function(Bt, mr) {
10716
+ var W = F || e._positionElement, ie = Array.prototype.reduce.call(e.calendarContainer.children, function(Bt, mr) {
10715
10717
  return Bt + mr.offsetHeight;
10716
- }, 0), pe = e.calendarContainer.offsetWidth, Ce = e.config.position.split(" "), Be = Ce[0], ze = Ce.length > 1 ? Ce[1] : null, De = W.getBoundingClientRect(), He = window.innerHeight - De.bottom, Ne = Be === "above" || Be !== "below" && He < oe && De.top > oe, Fe = window.pageYOffset + De.top + (Ne ? -oe - 2 : W.offsetHeight + 2);
10718
+ }, 0), pe = e.calendarContainer.offsetWidth, Ce = e.config.position.split(" "), Be = Ce[0], ze = Ce.length > 1 ? Ce[1] : null, De = W.getBoundingClientRect(), He = window.innerHeight - De.bottom, Ne = Be === "above" || Be !== "below" && He < ie && De.top > ie, Fe = window.pageYOffset + De.top + (Ne ? -ie - 2 : W.offsetHeight + 2);
10717
10719
  if (Ft(e.calendarContainer, "arrowTop", !Ne), Ft(e.calendarContainer, "arrowBottom", Ne), !e.config.inline) {
10718
10720
  var Je = window.pageXOffset + De.left, lt = !1, Ot = !1;
10719
10721
  ze === "center" ? (Je -= (pe - De.width) / 2, lt = !0) : ze === "right" && (Je -= pe - De.width, Ot = !0), Ft(e.calendarContainer, "arrowLeft", !lt && !Ot), Ft(e.calendarContainer, "arrowCenter", lt), Ft(e.calendarContainer, "arrowRight", Ot);
@@ -10735,14 +10737,14 @@ function nv(t, i) {
10735
10737
  }
10736
10738
  function we() {
10737
10739
  for (var F = null, W = 0; W < document.styleSheets.length; W++) {
10738
- var oe = document.styleSheets[W];
10739
- if (oe.cssRules) {
10740
+ var ie = document.styleSheets[W];
10741
+ if (ie.cssRules) {
10740
10742
  try {
10741
- oe.cssRules;
10743
+ ie.cssRules;
10742
10744
  } catch {
10743
10745
  continue;
10744
10746
  }
10745
- F = oe;
10747
+ F = ie;
10746
10748
  break;
10747
10749
  }
10748
10750
  }
@@ -10762,9 +10764,9 @@ function nv(t, i) {
10762
10764
  F.preventDefault(), F.stopPropagation();
10763
10765
  var W = function(Fe) {
10764
10766
  return Fe.classList && Fe.classList.contains("flatpickr-day") && !Fe.classList.contains("flatpickr-disabled") && !Fe.classList.contains("notAllowed");
10765
- }, oe = Ps(Qt(F), W);
10766
- if (oe !== void 0) {
10767
- var pe = oe, Ce = e.latestSelectedDateObj = new Date(pe.dateObj.getTime()), Be = (Ce.getMonth() < e.currentMonth || Ce.getMonth() > e.currentMonth + e.config.showMonths - 1) && e.config.mode !== "range";
10767
+ }, ie = Ps(Qt(F), W);
10768
+ if (ie !== void 0) {
10769
+ var pe = ie, Ce = e.latestSelectedDateObj = new Date(pe.dateObj.getTime()), Be = (Ce.getMonth() < e.currentMonth || Ce.getMonth() > e.currentMonth + e.config.showMonths - 1) && e.config.mode !== "range";
10768
10770
  if (e.selectedDateElem = pe, e.config.mode === "single")
10769
10771
  e.selectedDates = [Ce];
10770
10772
  else if (e.config.mode === "multiple") {
@@ -10800,8 +10802,8 @@ function nv(t, i) {
10800
10802
  function vt(F, W) {
10801
10803
  if (F !== null && typeof F == "object") {
10802
10804
  Object.assign(e.config, F);
10803
- for (var oe in F)
10804
- Re[oe] !== void 0 && Re[oe].forEach(function(pe) {
10805
+ for (var ie in F)
10806
+ Re[ie] !== void 0 && Re[ie].forEach(function(pe) {
10805
10807
  return pe();
10806
10808
  });
10807
10809
  } else
@@ -10811,42 +10813,42 @@ function nv(t, i) {
10811
10813
  e.redraw(), _t(!0);
10812
10814
  }
10813
10815
  function dt(F, W) {
10814
- var oe = [];
10816
+ var ie = [];
10815
10817
  if (F instanceof Array)
10816
- oe = F.map(function(pe) {
10818
+ ie = F.map(function(pe) {
10817
10819
  return e.parseDate(pe, W);
10818
10820
  });
10819
10821
  else if (F instanceof Date || typeof F == "number")
10820
- oe = [e.parseDate(F, W)];
10822
+ ie = [e.parseDate(F, W)];
10821
10823
  else if (typeof F == "string")
10822
10824
  switch (e.config.mode) {
10823
10825
  case "single":
10824
10826
  case "time":
10825
- oe = [e.parseDate(F, W)];
10827
+ ie = [e.parseDate(F, W)];
10826
10828
  break;
10827
10829
  case "multiple":
10828
- oe = F.split(e.config.conjunction).map(function(pe) {
10830
+ ie = F.split(e.config.conjunction).map(function(pe) {
10829
10831
  return e.parseDate(pe, W);
10830
10832
  });
10831
10833
  break;
10832
10834
  case "range":
10833
- oe = F.split(e.l10n.rangeSeparator).map(function(pe) {
10835
+ ie = F.split(e.l10n.rangeSeparator).map(function(pe) {
10834
10836
  return e.parseDate(pe, W);
10835
10837
  });
10836
10838
  break;
10837
10839
  }
10838
10840
  else
10839
10841
  e.config.errorHandler(new Error("Invalid date supplied: " + JSON.stringify(F)));
10840
- e.selectedDates = e.config.allowInvalidPreload ? oe : oe.filter(function(pe) {
10842
+ e.selectedDates = e.config.allowInvalidPreload ? ie : ie.filter(function(pe) {
10841
10843
  return pe instanceof Date && Q(pe, !1);
10842
10844
  }), e.config.mode === "range" && e.selectedDates.sort(function(pe, Ce) {
10843
10845
  return pe.getTime() - Ce.getTime();
10844
10846
  });
10845
10847
  }
10846
- function xe(F, W, oe) {
10847
- if (W === void 0 && (W = !1), oe === void 0 && (oe = e.config.dateFormat), F !== 0 && !F || F instanceof Array && F.length === 0)
10848
+ function xe(F, W, ie) {
10849
+ if (W === void 0 && (W = !1), ie === void 0 && (ie = e.config.dateFormat), F !== 0 && !F || F instanceof Array && F.length === 0)
10848
10850
  return e.clear(W);
10849
- dt(F, oe), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), n(void 0, W), s(), e.selectedDates.length === 0 && e.clear(!1), _t(W), W && Ke("onChange");
10851
+ dt(F, ie), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), n(void 0, W), s(), e.selectedDates.length === 0 && e.clear(!1), _t(W), W && Ke("onChange");
10850
10852
  }
10851
10853
  function J(F) {
10852
10854
  return F.slice().map(function(W) {
@@ -10891,10 +10893,10 @@ function nv(t, i) {
10891
10893
  }
10892
10894
  function Ke(F, W) {
10893
10895
  if (e.config !== void 0) {
10894
- var oe = e.config[F];
10895
- if (oe !== void 0 && oe.length > 0)
10896
- for (var pe = 0; oe[pe] && pe < oe.length; pe++)
10897
- oe[pe](e.selectedDates, e.input.value, e, W);
10896
+ var ie = e.config[F];
10897
+ if (ie !== void 0 && ie.length > 0)
10898
+ for (var pe = 0; ie[pe] && pe < ie.length; pe++)
10899
+ ie[pe](e.selectedDates, e.input.value, e, W);
10898
10900
  F === "onChange" && (e.input.dispatchEvent(Gt("change")), e.input.dispatchEvent(Gt("input")));
10899
10901
  }
10900
10902
  }
@@ -10904,8 +10906,8 @@ function nv(t, i) {
10904
10906
  }
10905
10907
  function tn(F) {
10906
10908
  for (var W = 0; W < e.selectedDates.length; W++) {
10907
- var oe = e.selectedDates[W];
10908
- if (oe instanceof Date && Zt(oe, F) === 0)
10909
+ var ie = e.selectedDates[W];
10910
+ if (ie instanceof Date && Zt(ie, F) === 0)
10909
10911
  return "" + W;
10910
10912
  }
10911
10913
  return !1;
@@ -10915,29 +10917,29 @@ function nv(t, i) {
10915
10917
  }
10916
10918
  function We() {
10917
10919
  e.config.noCalendar || e.isMobile || !e.monthNav || (e.yearElements.forEach(function(F, W) {
10918
- var oe = new Date(e.currentYear, e.currentMonth, 1);
10919
- oe.setMonth(e.currentMonth + W), e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? e.monthElements[W].textContent = Co(oe.getMonth(), e.config.shorthandCurrentMonth, e.l10n) + " " : e.monthsDropdownContainer.value = oe.getMonth().toString(), F.value = oe.getFullYear().toString();
10920
+ var ie = new Date(e.currentYear, e.currentMonth, 1);
10921
+ ie.setMonth(e.currentMonth + W), e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? e.monthElements[W].textContent = Co(ie.getMonth(), e.config.shorthandCurrentMonth, e.l10n) + " " : e.monthsDropdownContainer.value = ie.getMonth().toString(), F.value = ie.getFullYear().toString();
10920
10922
  }), e._hidePrevMonthArrow = e.config.minDate !== void 0 && (e.currentYear === e.config.minDate.getFullYear() ? e.currentMonth <= e.config.minDate.getMonth() : e.currentYear < e.config.minDate.getFullYear()), e._hideNextMonthArrow = e.config.maxDate !== void 0 && (e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth + 1 > e.config.maxDate.getMonth() : e.currentYear > e.config.maxDate.getFullYear()));
10921
10923
  }
10922
10924
  function rn(F) {
10923
10925
  var W = F || (e.config.altInput ? e.config.altFormat : e.config.dateFormat);
10924
- return e.selectedDates.map(function(oe) {
10925
- return e.formatDate(oe, W);
10926
- }).filter(function(oe, pe, Ce) {
10927
- return e.config.mode !== "range" || e.config.enableTime || Ce.indexOf(oe) === pe;
10926
+ return e.selectedDates.map(function(ie) {
10927
+ return e.formatDate(ie, W);
10928
+ }).filter(function(ie, pe, Ce) {
10929
+ return e.config.mode !== "range" || e.config.enableTime || Ce.indexOf(ie) === pe;
10928
10930
  }).join(e.config.mode !== "range" ? e.config.conjunction : e.l10n.rangeSeparator);
10929
10931
  }
10930
10932
  function _t(F) {
10931
10933
  F === void 0 && (F = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value = rn(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = rn(e.config.altFormat)), F !== !1 && Ke("onValueUpdate");
10932
10934
  }
10933
10935
  function Ut(F) {
10934
- var W = Qt(F), oe = e.prevMonthNav.contains(W), pe = e.nextMonthNav.contains(W);
10935
- oe || pe ? D(oe ? -1 : 1) : e.yearElements.indexOf(W) >= 0 ? W.select() : W.classList.contains("arrowUp") ? e.changeYear(e.currentYear + 1) : W.classList.contains("arrowDown") && e.changeYear(e.currentYear - 1);
10936
+ var W = Qt(F), ie = e.prevMonthNav.contains(W), pe = e.nextMonthNav.contains(W);
10937
+ ie || pe ? D(ie ? -1 : 1) : e.yearElements.indexOf(W) >= 0 ? W.select() : W.classList.contains("arrowUp") ? e.changeYear(e.currentYear + 1) : W.classList.contains("arrowDown") && e.changeYear(e.currentYear - 1);
10936
10938
  }
10937
10939
  function Pn(F) {
10938
10940
  F.preventDefault();
10939
- var W = F.type === "keydown", oe = Qt(F), pe = oe;
10940
- e.amPM !== void 0 && oe === e.amPM && (e.amPM.textContent = e.l10n.amPM[on(e.amPM.textContent === e.l10n.amPM[0])]);
10941
+ var W = F.type === "keydown", ie = Qt(F), pe = ie;
10942
+ e.amPM !== void 0 && ie === e.amPM && (e.amPM.textContent = e.l10n.amPM[on(e.amPM.textContent === e.l10n.amPM[0])]);
10941
10943
  var Ce = parseFloat(pe.getAttribute("min")), Be = parseFloat(pe.getAttribute("max")), ze = parseFloat(pe.getAttribute("step")), De = parseInt(pe.value, 10), He = F.delta || (W ? F.which === 38 ? 1 : -1 : 0), Ne = De + ze * He;
10942
10944
  if (typeof pe.value < "u" && pe.value.length === 2) {
10943
10945
  var Fe = pe === e.hourElement, Je = pe === e.minuteElement;
@@ -10946,7 +10948,7 @@ function nv(t, i) {
10946
10948
  }
10947
10949
  return o(), e;
10948
10950
  }
10949
- function nr(t, i) {
10951
+ function rr(t, i) {
10950
10952
  for (var e = Array.prototype.slice.call(t).filter(function(l) {
10951
10953
  return l instanceof HTMLElement;
10952
10954
  }), r = [], o = 0; o < e.length; o++) {
@@ -10962,12 +10964,12 @@ function nr(t, i) {
10962
10964
  return r.length === 1 ? r[0] : r;
10963
10965
  }
10964
10966
  typeof HTMLElement < "u" && typeof HTMLCollection < "u" && typeof NodeList < "u" && (HTMLCollection.prototype.flatpickr = NodeList.prototype.flatpickr = function(t) {
10965
- return nr(this, t);
10967
+ return rr(this, t);
10966
10968
  }, HTMLElement.prototype.flatpickr = function(t) {
10967
- return nr([this], t);
10969
+ return rr([this], t);
10968
10970
  });
10969
10971
  var bt = function(t, i) {
10970
- return typeof t == "string" ? nr(window.document.querySelectorAll(t), i) : t instanceof Node ? nr([t], i) : nr(t, i);
10972
+ return typeof t == "string" ? rr(window.document.querySelectorAll(t), i) : t instanceof Node ? rr([t], i) : rr(t, i);
10971
10973
  };
10972
10974
  bt.defaultConfig = {};
10973
10975
  bt.l10ns = {
@@ -10984,7 +10986,7 @@ bt.parseDate = Ki({});
10984
10986
  bt.formatDate = $s({});
10985
10987
  bt.compareDates = Zt;
10986
10988
  typeof jQuery < "u" && typeof jQuery.fn < "u" && (jQuery.fn.flatpickr = function(t) {
10987
- return nr(this, t);
10989
+ return rr(this, t);
10988
10990
  });
10989
10991
  Date.prototype.fp_incr = function(t) {
10990
10992
  return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof t == "string" ? parseInt(t, 10) : t));
@@ -11483,7 +11485,7 @@ const cv = { class: "-m-0.5 flex" }, fv = { class: "w-auto p-0.5" }, dv = ["disa
11483
11485
  }), Ev = { class: "" }, Ov = { class: "divide-y divide-slate-200" }, Av = /* @__PURE__ */ be({
11484
11486
  __name: "BaseDescriptionList",
11485
11487
  setup(t) {
11486
- return (i, e) => (R(), Te(or, null, {
11488
+ return (i, e) => (R(), Te(ir, null, {
11487
11489
  default: ge(() => [
11488
11490
  q("div", Ev, [
11489
11491
  q("dl", Ov, [
@@ -11504,7 +11506,7 @@ const cv = { class: "-m-0.5 flex" }, fv = { class: "w-auto p-0.5" }, dv = ["disa
11504
11506
  }
11505
11507
  return tt(() => {
11506
11508
  a();
11507
- }), rr(e, En(a, 50)), (l, u) => (R(), X("div", {
11509
+ }), or(e, En(a, 50)), (l, u) => (R(), X("div", {
11508
11510
  ref_key: "item",
11509
11511
  ref: e,
11510
11512
  class: de({
@@ -13045,7 +13047,7 @@ const Iv = Wi, Bv = { class: "text-xs text-slate-600" }, js = /* @__PURE__ */ be
13045
13047
  }, 10);
13046
13048
  let S = null, A = null;
13047
13049
  function E() {
13048
- S = rr(o, m), A = rr(
13050
+ S = or(o, m), A = or(
13049
13051
  a,
13050
13052
  m
13051
13053
  ), window.addEventListener("keydown", k), window.addEventListener("resize", m), window.addEventListener("scroll", m, !0);
@@ -13092,7 +13094,7 @@ const Iv = Wi, Bv = { class: "text-xs text-slate-600" }, js = /* @__PURE__ */ be
13092
13094
  }, [
13093
13095
  Ae(C.$slots, "button")
13094
13096
  ], 512),
13095
- (R(), Te(ar, { to: "body" }, [
13097
+ (R(), Te(lr, { to: "body" }, [
13096
13098
  q("div", {
13097
13099
  ref_key: "dropdown",
13098
13100
  ref: a,
@@ -13201,7 +13203,7 @@ const Iv = Wi, Bv = { class: "text-xs text-slate-600" }, js = /* @__PURE__ */ be
13201
13203
  "scrollBottom"
13202
13204
  ],
13203
13205
  setup(t, { expose: i, emit: e }) {
13204
- const r = t, o = fn(), a = sr(), { hasErrorInternal: l, emitUpdate: u } = It({
13206
+ const r = t, o = fn(), a = Kn(), { hasErrorInternal: l, emitUpdate: u } = It({
13205
13207
  name: Y(() => r.name),
13206
13208
  required: Y(() => r.required),
13207
13209
  hasError: Y(() => r.hasError),
@@ -14064,7 +14066,7 @@ const Rs = /* @__PURE__ */ $t(Yv, [["render", Zv]]), Jv = {
14064
14066
  "upload:end"
14065
14067
  ],
14066
14068
  setup(t, { emit: i }) {
14067
- const e = t, r = nt.http, o = fn(), a = sr(), l = le(!1);
14069
+ const e = t, r = nt.http, o = fn(), a = Kn(), l = le(!1);
14068
14070
  async function u(h) {
14069
14071
  if (!l.value) {
14070
14072
  if (l.value = !0, !await e.beforeUpload()) {
@@ -14171,11 +14173,11 @@ function Us(t, i) {
14171
14173
  function rg(t, i) {
14172
14174
  return Us(t, i) && typeof t.name == "string" && (Io(t.lastModifiedDate) || typeof t.lastModified == "number");
14173
14175
  }
14174
- function Jn(t) {
14176
+ function Xn(t) {
14175
14177
  return Ca(t) ? !1 : t;
14176
14178
  }
14177
14179
  function Gi(t, i, e, r) {
14178
- i = i || {}, e = e || new FormData(), i.indices = Jn(i.indices), i.nullsAsUndefineds = Jn(i.nullsAsUndefineds), i.booleansAsIntegers = Jn(i.booleansAsIntegers), i.allowEmptyArrays = Jn(i.allowEmptyArrays), i.noFilesWithArrayNotation = Jn(i.noFilesWithArrayNotation), i.dotsForObjectNotation = Jn(i.dotsForObjectNotation);
14180
+ i = i || {}, e = e || new FormData(), i.indices = Xn(i.indices), i.nullsAsUndefineds = Xn(i.nullsAsUndefineds), i.booleansAsIntegers = Xn(i.booleansAsIntegers), i.allowEmptyArrays = Xn(i.allowEmptyArrays), i.noFilesWithArrayNotation = Xn(i.noFilesWithArrayNotation), i.dotsForObjectNotation = Xn(i.dotsForObjectNotation);
14179
14181
  const o = typeof e.getParts == "function";
14180
14182
  return Ca(t) || (eg(t) ? i.nullsAsUndefineds || e.append(r, "") : tg(t) ? i.booleansAsIntegers ? e.append(r, t ? 1 : 0) : e.append(r, t) : pl(t) ? t.length ? t.forEach((a, l) => {
14181
14183
  let u = r + "[" + (i.indices ? l : "") + "]";
@@ -14255,7 +14257,7 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
14255
14257
  },
14256
14258
  emits: ["error", "success"],
14257
14259
  setup(t, { expose: i, emit: e }) {
14258
- const r = t, o = sr(), a = fn(), l = le(null), u = le(!1), c = le(!1), h = le({}), f = Y(() => r.axiosInstance ? r.axiosInstance : nt.http), d = Y(() => l.value), s = Y(() => Object.keys(h.value).length > 0), p = Y(() => {
14260
+ const r = t, o = Kn(), a = fn(), l = le(null), u = le(!1), c = le(!1), h = le({}), f = Y(() => r.axiosInstance ? r.axiosInstance : nt.http), d = Y(() => l.value), s = Y(() => Object.keys(h.value).length > 0), p = Y(() => {
14259
14261
  if (!s.value)
14260
14262
  return null;
14261
14263
  const E = Object.keys(h.value);
@@ -14646,7 +14648,7 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
14646
14648
  if (e.modelValue === void 0 || e.modelValue === null || e.modelValue === "")
14647
14649
  return null;
14648
14650
  const u = parseFloat(e.modelValue);
14649
- return Number.isNaN(u) ? null : Xn(u * 100, o.value);
14651
+ return Number.isNaN(u) ? null : er(u * 100, o.value);
14650
14652
  });
14651
14653
  function l(u) {
14652
14654
  const c = parseFloat(u);
@@ -14654,7 +14656,7 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
14654
14656
  i("update:modelValue", null);
14655
14657
  return;
14656
14658
  }
14657
- i("update:modelValue", Xn(c / 100, o.value + 2));
14659
+ i("update:modelValue", er(c / 100, o.value + 2));
14658
14660
  }
14659
14661
  return (u, c) => (R(), Te(In, {
14660
14662
  "model-value": I(a),
@@ -14847,7 +14849,7 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
14847
14849
  "upload:end"
14848
14850
  ],
14849
14851
  setup(t, { emit: i }) {
14850
- const e = t, r = fn(), o = fa(), a = sr(), { emitUpdate: l, enableForm: u, disableForm: c } = It({
14852
+ const e = t, r = fn(), o = fa(), a = Kn(), { emitUpdate: l, enableForm: u, disableForm: c } = It({
14851
14853
  name: Y(() => e.name),
14852
14854
  required: Y(() => !1),
14853
14855
  hasError: Y(() => e.hasError),
@@ -15049,7 +15051,7 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
15049
15051
  );
15050
15052
  return (o, a) => {
15051
15053
  const l = st("BaseIcon");
15052
- return R(), Te(ar, { to: "body" }, [
15054
+ return R(), Te(lr, { to: "body" }, [
15053
15055
  he(Pt, {
15054
15056
  name: "modal",
15055
15057
  "enter-active-class": "duration-300",
@@ -16171,17 +16173,17 @@ var Ji = {}, my = {
16171
16173
  return K && typeof Symbol == "function" && K.constructor === Symbol && K !== Symbol.prototype ? "symbol" : typeof K;
16172
16174
  }, l = function() {
16173
16175
  function K(P, D) {
16174
- var V = [], G = !0, ie = !1, te = void 0;
16176
+ var V = [], G = !0, oe = !1, te = void 0;
16175
16177
  try {
16176
16178
  for (var z = P[Symbol.iterator](), ne; !(G = (ne = z.next()).done) && (V.push(ne.value), !(D && V.length === D)); G = !0)
16177
16179
  ;
16178
16180
  } catch (Q) {
16179
- ie = !0, te = Q;
16181
+ oe = !0, te = Q;
16180
16182
  } finally {
16181
16183
  try {
16182
16184
  !G && z.return && z.return();
16183
16185
  } finally {
16184
- if (ie)
16186
+ if (oe)
16185
16187
  throw te;
16186
16188
  }
16187
16189
  }
@@ -16236,14 +16238,14 @@ var Ji = {}, my = {
16236
16238
  }, {
16237
16239
  key: "register",
16238
16240
  value: function(D, V) {
16239
- var G = this, ie = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
16241
+ var G = this, oe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
16240
16242
  if (typeof D != "string") {
16241
16243
  var te = D.attrName || D.blotName;
16242
16244
  typeof te == "string" ? this.register("formats/" + te, D, V) : Object.keys(D).forEach(function(z) {
16243
16245
  G.register(z, D[z], V);
16244
16246
  });
16245
16247
  } else
16246
- this.imports[D] != null && !ie && B.warn("Overwriting " + D + " with", V), this.imports[D] = V, (D.startsWith("blots/") || D.startsWith("formats/")) && V.blotName !== "abstract" ? g.default.register(V) : D.startsWith("modules") && typeof V.register == "function" && V.register();
16248
+ this.imports[D] != null && !oe && B.warn("Overwriting " + D + " with", V), this.imports[D] = V, (D.startsWith("blots/") || D.startsWith("formats/")) && V.blotName !== "abstract" ? g.default.register(V) : D.startsWith("modules") && typeof V.register == "function" && V.register();
16247
16249
  }
16248
16250
  }]);
16249
16251
  function K(P) {
@@ -16263,8 +16265,8 @@ var Ji = {}, my = {
16263
16265
  return D.editor.update(null, z, Q);
16264
16266
  }, te);
16265
16267
  });
16266
- var ie = this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">` + G + "<p><br></p></div>");
16267
- this.setContents(ie), this.history.clear(), this.options.placeholder && this.root.setAttribute("data-placeholder", this.options.placeholder), this.options.readOnly && this.disable();
16268
+ var oe = this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">` + G + "<p><br></p></div>");
16269
+ this.setContents(oe), this.history.clear(), this.options.placeholder && this.root.setAttribute("data-placeholder", this.options.placeholder), this.options.readOnly && this.disable();
16268
16270
  }
16269
16271
  return u(K, [{
16270
16272
  key: "addContainer",
@@ -16284,9 +16286,9 @@ var Ji = {}, my = {
16284
16286
  }, {
16285
16287
  key: "deleteText",
16286
16288
  value: function(D, V, G) {
16287
- var ie = this, te = Z(D, V, G), z = l(te, 4);
16289
+ var oe = this, te = Z(D, V, G), z = l(te, 4);
16288
16290
  return D = z[0], V = z[1], G = z[3], H.call(this, function() {
16289
- return ie.editor.deleteText(D, V);
16291
+ return oe.editor.deleteText(D, V);
16290
16292
  }, G, D, -1 * V);
16291
16293
  }
16292
16294
  }, {
@@ -16309,7 +16311,7 @@ var Ji = {}, my = {
16309
16311
  }, {
16310
16312
  key: "format",
16311
16313
  value: function(D, V) {
16312
- var G = this, ie = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : p.default.sources.API;
16314
+ var G = this, oe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : p.default.sources.API;
16313
16315
  return H.call(this, function() {
16314
16316
  var te = G.getSelection(!0), z = new h.default();
16315
16317
  if (te == null)
@@ -16322,20 +16324,20 @@ var Ji = {}, my = {
16322
16324
  z = G.editor.formatText(te.index, te.length, O({}, D, V));
16323
16325
  }
16324
16326
  return G.setSelection(te, p.default.sources.SILENT), z;
16325
- }, ie);
16327
+ }, oe);
16326
16328
  }
16327
16329
  }, {
16328
16330
  key: "formatLine",
16329
- value: function(D, V, G, ie, te) {
16330
- var z = this, ne = void 0, Q = Z(D, V, G, ie, te), M = l(Q, 4);
16331
+ value: function(D, V, G, oe, te) {
16332
+ var z = this, ne = void 0, Q = Z(D, V, G, oe, te), M = l(Q, 4);
16331
16333
  return D = M[0], V = M[1], ne = M[2], te = M[3], H.call(this, function() {
16332
16334
  return z.editor.formatLine(D, V, ne);
16333
16335
  }, te, D, 0);
16334
16336
  }
16335
16337
  }, {
16336
16338
  key: "formatText",
16337
- value: function(D, V, G, ie, te) {
16338
- var z = this, ne = void 0, Q = Z(D, V, G, ie, te), M = l(Q, 4);
16339
+ value: function(D, V, G, oe, te) {
16340
+ var z = this, ne = void 0, Q = Z(D, V, G, oe, te), M = l(Q, 4);
16339
16341
  return D = M[0], V = M[1], ne = M[2], te = M[3], H.call(this, function() {
16340
16342
  return z.editor.formatText(D, V, ne);
16341
16343
  }, te, D, 0);
@@ -16345,21 +16347,21 @@ var Ji = {}, my = {
16345
16347
  value: function(D) {
16346
16348
  var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, G = void 0;
16347
16349
  typeof D == "number" ? G = this.selection.getBounds(D, V) : G = this.selection.getBounds(D.index, D.length);
16348
- var ie = this.container.getBoundingClientRect();
16350
+ var oe = this.container.getBoundingClientRect();
16349
16351
  return {
16350
- bottom: G.bottom - ie.top,
16352
+ bottom: G.bottom - oe.top,
16351
16353
  height: G.height,
16352
- left: G.left - ie.left,
16353
- right: G.right - ie.left,
16354
- top: G.top - ie.top,
16354
+ left: G.left - oe.left,
16355
+ right: G.right - oe.left,
16356
+ top: G.top - oe.top,
16355
16357
  width: G.width
16356
16358
  };
16357
16359
  }
16358
16360
  }, {
16359
16361
  key: "getContents",
16360
16362
  value: function() {
16361
- var D = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - D, G = Z(D, V), ie = l(G, 2);
16362
- return D = ie[0], V = ie[1], this.editor.getContents(D, V);
16363
+ var D = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - D, G = Z(D, V), oe = l(G, 2);
16364
+ return D = oe[0], V = oe[1], this.editor.getContents(D, V);
16363
16365
  }
16364
16366
  }, {
16365
16367
  key: "getFormat",
@@ -16407,8 +16409,8 @@ var Ji = {}, my = {
16407
16409
  }, {
16408
16410
  key: "getText",
16409
16411
  value: function() {
16410
- var D = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - D, G = Z(D, V), ie = l(G, 2);
16411
- return D = ie[0], V = ie[1], this.editor.getText(D, V);
16412
+ var D = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - D, G = Z(D, V), oe = l(G, 2);
16413
+ return D = oe[0], V = oe[1], this.editor.getText(D, V);
16412
16414
  }
16413
16415
  }, {
16414
16416
  key: "hasFocus",
@@ -16418,15 +16420,15 @@ var Ji = {}, my = {
16418
16420
  }, {
16419
16421
  key: "insertEmbed",
16420
16422
  value: function(D, V, G) {
16421
- var ie = this, te = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : K.sources.API;
16423
+ var oe = this, te = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : K.sources.API;
16422
16424
  return H.call(this, function() {
16423
- return ie.editor.insertEmbed(D, V, G);
16425
+ return oe.editor.insertEmbed(D, V, G);
16424
16426
  }, te, D);
16425
16427
  }
16426
16428
  }, {
16427
16429
  key: "insertText",
16428
- value: function(D, V, G, ie, te) {
16429
- var z = this, ne = void 0, Q = Z(D, 0, G, ie, te), M = l(Q, 4);
16430
+ value: function(D, V, G, oe, te) {
16431
+ var z = this, ne = void 0, Q = Z(D, 0, G, oe, te), M = l(Q, 4);
16430
16432
  return D = M[0], ne = M[2], te = M[3], H.call(this, function() {
16431
16433
  return z.editor.insertText(D, V, ne);
16432
16434
  }, te, D, V.length);
@@ -16459,9 +16461,9 @@ var Ji = {}, my = {
16459
16461
  }, {
16460
16462
  key: "removeFormat",
16461
16463
  value: function(D, V, G) {
16462
- var ie = this, te = Z(D, V, G), z = l(te, 4);
16464
+ var oe = this, te = Z(D, V, G), z = l(te, 4);
16463
16465
  return D = z[0], V = z[1], G = z[3], H.call(this, function() {
16464
- return ie.editor.removeFormat(D, V);
16466
+ return oe.editor.removeFormat(D, V);
16465
16467
  }, G, D);
16466
16468
  }
16467
16469
  }, {
@@ -16475,7 +16477,7 @@ var Ji = {}, my = {
16475
16477
  var V = this, G = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : p.default.sources.API;
16476
16478
  return H.call(this, function() {
16477
16479
  D = new h.default(D);
16478
- var ie = V.getLength(), te = V.editor.deleteText(0, ie), z = V.editor.applyDelta(D), ne = z.ops[z.ops.length - 1];
16480
+ var oe = V.getLength(), te = V.editor.deleteText(0, oe), z = V.editor.applyDelta(D), ne = z.ops[z.ops.length - 1];
16479
16481
  ne != null && typeof ne.insert == "string" && ne.insert[ne.insert.length - 1] === `
16480
16482
  ` && (V.editor.deleteText(V.getLength() - 1, 1), z.delete(1));
16481
16483
  var Q = te.compose(z);
@@ -16488,7 +16490,7 @@ var Ji = {}, my = {
16488
16490
  if (D == null)
16489
16491
  this.selection.setRange(null, V || K.sources.API);
16490
16492
  else {
16491
- var ie = Z(D, V, G), te = l(ie, 4);
16493
+ var oe = Z(D, V, G), te = l(oe, 4);
16492
16494
  D = te[0], V = te[1], G = te[3], this.selection.setRange(new n.Range(D, V), G), G !== p.default.sources.SILENT && this.selection.scrollIntoView(this.scrollingContainer);
16493
16495
  }
16494
16496
  }
@@ -16542,29 +16544,29 @@ var Ji = {}, my = {
16542
16544
  else if (P.theme = L.import("themes/" + P.theme), P.theme == null)
16543
16545
  throw new Error("Invalid theme " + P.theme + ". Did you register it?");
16544
16546
  var D = (0, S.default)(!0, {}, P.theme.DEFAULTS);
16545
- [D, P].forEach(function(ie) {
16546
- ie.modules = ie.modules || {}, Object.keys(ie.modules).forEach(function(te) {
16547
- ie.modules[te] === !0 && (ie.modules[te] = {});
16547
+ [D, P].forEach(function(oe) {
16548
+ oe.modules = oe.modules || {}, Object.keys(oe.modules).forEach(function(te) {
16549
+ oe.modules[te] === !0 && (oe.modules[te] = {});
16548
16550
  });
16549
16551
  });
16550
- var V = Object.keys(D.modules).concat(Object.keys(P.modules)), G = V.reduce(function(ie, te) {
16552
+ var V = Object.keys(D.modules).concat(Object.keys(P.modules)), G = V.reduce(function(oe, te) {
16551
16553
  var z = L.import("modules/" + te);
16552
- return z == null ? B.error("Cannot load " + te + " module. Are you sure you registered it?") : ie[te] = z.DEFAULTS || {}, ie;
16554
+ return z == null ? B.error("Cannot load " + te + " module. Are you sure you registered it?") : oe[te] = z.DEFAULTS || {}, oe;
16553
16555
  }, {});
16554
16556
  return P.modules != null && P.modules.toolbar && P.modules.toolbar.constructor !== Object && (P.modules.toolbar = {
16555
16557
  container: P.modules.toolbar
16556
- }), P = (0, S.default)(!0, {}, L.DEFAULTS, { modules: G }, D, P), ["bounds", "container", "scrollingContainer"].forEach(function(ie) {
16557
- typeof P[ie] == "string" && (P[ie] = document.querySelector(P[ie]));
16558
- }), P.modules = Object.keys(P.modules).reduce(function(ie, te) {
16559
- return P.modules[te] && (ie[te] = P.modules[te]), ie;
16558
+ }), P = (0, S.default)(!0, {}, L.DEFAULTS, { modules: G }, D, P), ["bounds", "container", "scrollingContainer"].forEach(function(oe) {
16559
+ typeof P[oe] == "string" && (P[oe] = document.querySelector(P[oe]));
16560
+ }), P.modules = Object.keys(P.modules).reduce(function(oe, te) {
16561
+ return P.modules[te] && (oe[te] = P.modules[te]), oe;
16560
16562
  }, {}), P;
16561
16563
  }
16562
16564
  function H(K, P, D, V) {
16563
16565
  if (this.options.strict && !this.isEnabled() && P === p.default.sources.USER)
16564
16566
  return new h.default();
16565
- var G = D == null ? null : this.getSelection(), ie = this.editor.delta, te = K();
16567
+ var G = D == null ? null : this.getSelection(), oe = this.editor.delta, te = K();
16566
16568
  if (G != null && (D === !0 && (D = G.index), V == null ? G = ce(G, te, P) : V !== 0 && (G = ce(G, D, V, P)), this.setSelection(G, p.default.sources.SILENT)), te.length() > 0) {
16567
- var z, ne = [p.default.events.TEXT_CHANGE, te, ie, P];
16569
+ var z, ne = [p.default.events.TEXT_CHANGE, te, oe, P];
16568
16570
  if ((z = this.emitter).emit.apply(z, [p.default.events.EDITOR_CHANGE].concat(ne)), P !== p.default.sources.SILENT) {
16569
16571
  var Q;
16570
16572
  (Q = this.emitter).emit.apply(Q, ne);
@@ -16573,25 +16575,25 @@ var Ji = {}, my = {
16573
16575
  return te;
16574
16576
  }
16575
16577
  function Z(K, P, D, V, G) {
16576
- var ie = {};
16577
- return typeof K.index == "number" && typeof K.length == "number" ? typeof P != "number" ? (G = V, V = D, D = P, P = K.length, K = K.index) : (P = K.length, K = K.index) : typeof P != "number" && (G = V, V = D, D = P, P = 0), (typeof D > "u" ? "undefined" : a(D)) === "object" ? (ie = D, G = V) : typeof D == "string" && (V != null ? ie[D] = V : G = D), G = G || p.default.sources.API, [K, P, ie, G];
16578
+ var oe = {};
16579
+ return typeof K.index == "number" && typeof K.length == "number" ? typeof P != "number" ? (G = V, V = D, D = P, P = K.length, K = K.index) : (P = K.length, K = K.index) : typeof P != "number" && (G = V, V = D, D = P, P = 0), (typeof D > "u" ? "undefined" : a(D)) === "object" ? (oe = D, G = V) : typeof D == "string" && (V != null ? oe[D] = V : G = D), G = G || p.default.sources.API, [K, P, oe, G];
16578
16580
  }
16579
16581
  function ce(K, P, D, V) {
16580
16582
  if (K == null)
16581
16583
  return null;
16582
- var G = void 0, ie = void 0;
16584
+ var G = void 0, oe = void 0;
16583
16585
  if (P instanceof h.default) {
16584
16586
  var te = [K.index, K.index + K.length].map(function(M) {
16585
16587
  return P.transformPosition(M, V !== p.default.sources.USER);
16586
16588
  }), z = l(te, 2);
16587
- G = z[0], ie = z[1];
16589
+ G = z[0], oe = z[1];
16588
16590
  } else {
16589
16591
  var ne = [K.index, K.index + K.length].map(function(M) {
16590
16592
  return M < P || M === P && V === p.default.sources.USER ? M : D >= 0 ? M + D : Math.max(P, M + D);
16591
16593
  }), Q = l(ne, 2);
16592
- G = Q[0], ie = Q[1];
16594
+ G = Q[0], oe = Q[1];
16593
16595
  }
16594
- return new n.Range(G, ie - G);
16596
+ return new n.Range(G, oe - G);
16595
16597
  }
16596
16598
  r.expandConfig = $, r.overload = Z, r.default = L;
16597
16599
  },
@@ -17092,17 +17094,17 @@ var Ji = {}, my = {
17092
17094
  return K && typeof Symbol == "function" && K.constructor === Symbol && K !== Symbol.prototype ? "symbol" : typeof K;
17093
17095
  }, l = function() {
17094
17096
  function K(P, D) {
17095
- var V = [], G = !0, ie = !1, te = void 0;
17097
+ var V = [], G = !0, oe = !1, te = void 0;
17096
17098
  try {
17097
17099
  for (var z = P[Symbol.iterator](), ne; !(G = (ne = z.next()).done) && (V.push(ne.value), !(D && V.length === D)); G = !0)
17098
17100
  ;
17099
17101
  } catch (Q) {
17100
- ie = !0, te = Q;
17102
+ oe = !0, te = Q;
17101
17103
  } finally {
17102
17104
  try {
17103
17105
  !G && z.return && z.return();
17104
17106
  } finally {
17105
- if (ie)
17107
+ if (oe)
17106
17108
  throw te;
17107
17109
  }
17108
17110
  }
@@ -17145,14 +17147,14 @@ var Ji = {}, my = {
17145
17147
  value: function(D) {
17146
17148
  var V = this, G = !1;
17147
17149
  this.scroll.update();
17148
- var ie = this.scroll.length();
17150
+ var oe = this.scroll.length();
17149
17151
  return this.scroll.batchStart(), D = ce(D), D.reduce(function(te, z) {
17150
17152
  var ne = z.retain || z.delete || z.insert.length || 1, Q = z.attributes || {};
17151
17153
  if (z.insert != null) {
17152
17154
  if (typeof z.insert == "string") {
17153
17155
  var M = z.insert;
17154
17156
  M.endsWith(`
17155
- `) && G && (G = !1, M = M.slice(0, -1)), te >= ie && !M.endsWith(`
17157
+ `) && G && (G = !1, M = M.slice(0, -1)), te >= oe && !M.endsWith(`
17156
17158
  `) && (G = !0), V.scroll.insertAt(te, M);
17157
17159
  var N = V.scroll.line(te), U = l(N, 2), ae = U[0], re = U[1], fe = (0, O.default)({}, (0, n.bubbleFormats)(ae));
17158
17160
  if (ae instanceof k.default) {
@@ -17166,7 +17168,7 @@ var Ji = {}, my = {
17166
17168
  return te;
17167
17169
  V.scroll.insertAt(te, se, z.insert[se]);
17168
17170
  }
17169
- ie += ne;
17171
+ oe += ne;
17170
17172
  }
17171
17173
  return Object.keys(Q).forEach(function(ue) {
17172
17174
  V.scroll.formatAt(te, ne, ue, Q[ue]);
@@ -17183,30 +17185,30 @@ var Ji = {}, my = {
17183
17185
  }, {
17184
17186
  key: "formatLine",
17185
17187
  value: function(D, V) {
17186
- var G = this, ie = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
17187
- return this.scroll.update(), Object.keys(ie).forEach(function(te) {
17188
+ var G = this, oe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
17189
+ return this.scroll.update(), Object.keys(oe).forEach(function(te) {
17188
17190
  if (!(G.scroll.whitelist != null && !G.scroll.whitelist[te])) {
17189
17191
  var z = G.scroll.lines(D, Math.max(V, 1)), ne = V;
17190
17192
  z.forEach(function(Q) {
17191
17193
  var M = Q.length();
17192
17194
  if (!(Q instanceof b.default))
17193
- Q.format(te, ie[te]);
17195
+ Q.format(te, oe[te]);
17194
17196
  else {
17195
17197
  var N = D - Q.offset(G.scroll), U = Q.newlineIndex(N + ne) - N + 1;
17196
- Q.formatAt(N, U, te, ie[te]);
17198
+ Q.formatAt(N, U, te, oe[te]);
17197
17199
  }
17198
17200
  ne -= M;
17199
17201
  });
17200
17202
  }
17201
- }), this.scroll.optimize(), this.update(new h.default().retain(D).retain(V, (0, E.default)(ie)));
17203
+ }), this.scroll.optimize(), this.update(new h.default().retain(D).retain(V, (0, E.default)(oe)));
17202
17204
  }
17203
17205
  }, {
17204
17206
  key: "formatText",
17205
17207
  value: function(D, V) {
17206
- var G = this, ie = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
17207
- return Object.keys(ie).forEach(function(te) {
17208
- G.scroll.formatAt(D, V, te, ie[te]);
17209
- }), this.update(new h.default().retain(D).retain(V, (0, E.default)(ie)));
17208
+ var G = this, oe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
17209
+ return Object.keys(oe).forEach(function(te) {
17210
+ G.scroll.formatAt(D, V, te, oe[te]);
17211
+ }), this.update(new h.default().retain(D).retain(V, (0, E.default)(oe)));
17210
17212
  }
17211
17213
  }, {
17212
17214
  key: "getContents",
@@ -17223,12 +17225,12 @@ var Ji = {}, my = {
17223
17225
  }, {
17224
17226
  key: "getFormat",
17225
17227
  value: function(D) {
17226
- var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, G = [], ie = [];
17228
+ var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, G = [], oe = [];
17227
17229
  V === 0 ? this.scroll.path(D).forEach(function(z) {
17228
17230
  var ne = l(z, 1), Q = ne[0];
17229
- Q instanceof k.default ? G.push(Q) : Q instanceof p.default.Leaf && ie.push(Q);
17230
- }) : (G = this.scroll.lines(D, V), ie = this.scroll.descendants(p.default.Leaf, D, V));
17231
- var te = [G, ie].map(function(z) {
17231
+ Q instanceof k.default ? G.push(Q) : Q instanceof p.default.Leaf && oe.push(Q);
17232
+ }) : (G = this.scroll.lines(D, V), oe = this.scroll.descendants(p.default.Leaf, D, V));
17233
+ var te = [G, oe].map(function(z) {
17232
17234
  if (z.length === 0)
17233
17235
  return {};
17234
17236
  for (var ne = (0, n.bubbleFormats)(z.shift()); Object.keys(ne).length > 0; ) {
@@ -17258,12 +17260,12 @@ var Ji = {}, my = {
17258
17260
  }, {
17259
17261
  key: "insertText",
17260
17262
  value: function(D, V) {
17261
- var G = this, ie = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
17263
+ var G = this, oe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
17262
17264
  return V = V.replace(/\r\n/g, `
17263
17265
  `).replace(/\r/g, `
17264
- `), this.scroll.insertAt(D, V), Object.keys(ie).forEach(function(te) {
17265
- G.scroll.formatAt(D, V.length, te, ie[te]);
17266
- }), this.update(new h.default().retain(D).insert(V, (0, E.default)(ie)));
17266
+ `), this.scroll.insertAt(D, V), Object.keys(oe).forEach(function(te) {
17267
+ G.scroll.formatAt(D, V.length, te, oe[te]);
17268
+ }), this.update(new h.default().retain(D).insert(V, (0, E.default)(oe)));
17267
17269
  }
17268
17270
  }, {
17269
17271
  key: "isBlank",
@@ -17278,7 +17280,7 @@ var Ji = {}, my = {
17278
17280
  }, {
17279
17281
  key: "removeFormat",
17280
17282
  value: function(D, V) {
17281
- var G = this.getText(D, V), ie = this.scroll.line(D + V), te = l(ie, 2), z = te[0], ne = te[1], Q = 0, M = new h.default();
17283
+ var G = this.getText(D, V), oe = this.scroll.line(D + V), te = l(oe, 2), z = te[0], ne = te[1], Q = 0, M = new h.default();
17282
17284
  z != null && (z instanceof b.default ? Q = z.newlineIndex(ne) - ne + 1 : Q = z.length() - ne, M = z.delta().slice(ne, ne + Q - 1).insert(`
17283
17285
  `));
17284
17286
  var N = this.getContents(D, V + Q), U = N.diff(new h.default().insert(G).concat(M)), ae = new h.default().retain(D).concat(U);
@@ -17287,14 +17289,14 @@ var Ji = {}, my = {
17287
17289
  }, {
17288
17290
  key: "update",
17289
17291
  value: function(D) {
17290
- var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], G = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0, ie = this.delta;
17292
+ var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], G = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0, oe = this.delta;
17291
17293
  if (V.length === 1 && V[0].type === "characterData" && V[0].target.data.match($) && p.default.find(V[0].target)) {
17292
17294
  var te = p.default.find(V[0].target), z = (0, n.bubbleFormats)(te), ne = te.offset(this.scroll), Q = V[0].oldValue.replace(g.default.CONTENTS, ""), M = new h.default().insert(Q), N = new h.default().insert(te.value()), U = new h.default().retain(ne).concat(M.diff(N, G));
17293
17295
  D = U.reduce(function(ae, re) {
17294
17296
  return re.insert ? ae.insert(re.insert, z) : ae.push(re);
17295
- }, new h.default()), this.delta = ie.compose(D);
17297
+ }, new h.default()), this.delta = oe.compose(D);
17296
17298
  } else
17297
- this.delta = this.getDelta(), (!D || !(0, x.default)(ie.compose(D), this.delta)) && (D = ie.diff(this.delta, G));
17299
+ this.delta = this.getDelta(), (!D || !(0, x.default)(oe.compose(D), this.delta)) && (D = oe.diff(this.delta, G));
17298
17300
  return D;
17299
17301
  }
17300
17302
  }]), K;
@@ -17473,8 +17475,8 @@ var Ji = {}, my = {
17473
17475
  var D = this.scroll.leaf(y + O), V = a(D, 2);
17474
17476
  if (H = V[0], Z = V[1], H == null)
17475
17477
  return null;
17476
- var G = H.position(Z, !0), ie = a(G, 2);
17477
- return B = ie[0], Z = ie[1], P.setEnd(B, Z), P.getBoundingClientRect();
17478
+ var G = H.position(Z, !0), oe = a(G, 2);
17479
+ return B = oe[0], Z = oe[1], P.setEnd(B, Z), P.getBoundingClientRect();
17478
17480
  } else {
17479
17481
  var te = "left", z = void 0;
17480
17482
  return B instanceof Text ? (Z < B.data.length ? (P.setStart(B, Z), P.setEnd(B, Z + 1)) : (P.setStart(B, Z - 1), P.setEnd(B, Z), te = "right"), z = P.getBoundingClientRect()) : (z = H.domNode.getBoundingClientRect(), Z > 0 && (te = "right")), {
@@ -18246,8 +18248,8 @@ var Ji = {}, my = {
18246
18248
  var G = D.newlineIndex(0);
18247
18249
  G > -1 && D.split(G + 1);
18248
18250
  }
18249
- var ie = D.children.head instanceof b.default ? null : D.children.head;
18250
- Z.moveChildren(D, ie), Z.remove();
18251
+ var oe = D.children.head instanceof b.default ? null : D.children.head;
18252
+ Z.moveChildren(D, oe), Z.remove();
18251
18253
  }
18252
18254
  this.optimize();
18253
18255
  }
@@ -18304,8 +18306,8 @@ var Ji = {}, my = {
18304
18306
  value: function() {
18305
18307
  var B = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, $ = function H(Z, ce, K) {
18306
18308
  var P = [], D = K;
18307
- return Z.children.forEachAt(ce, K, function(V, G, ie) {
18308
- _(V) ? P.push(V) : V instanceof h.default.Container && (P = P.concat(H(V, G, D))), D -= ie;
18309
+ return Z.children.forEachAt(ce, K, function(V, G, oe) {
18310
+ _(V) ? P.push(V) : V instanceof h.default.Container && (P = P.concat(H(V, G, D))), D -= oe;
18309
18311
  }), P;
18310
18312
  };
18311
18313
  return $(this, B, L);
@@ -18475,9 +18477,9 @@ var Ji = {}, my = {
18475
18477
  DELETE: 46
18476
18478
  }, Z.DEFAULTS = {
18477
18479
  bindings: {
18478
- bold: ie("bold"),
18479
- italic: ie("italic"),
18480
- underline: ie("underline"),
18480
+ bold: oe("bold"),
18481
+ italic: oe("italic"),
18482
+ underline: oe("underline"),
18481
18483
  indent: {
18482
18484
  key: Z.keys.TAB,
18483
18485
  format: ["blockquote", "indent", "list"],
@@ -18683,7 +18685,7 @@ var Ji = {}, my = {
18683
18685
  }
18684
18686
  };
18685
18687
  }
18686
- function ie(z) {
18688
+ function oe(z) {
18687
18689
  return {
18688
18690
  key: z[0].toUpperCase(),
18689
18691
  shortKey: !0,
@@ -19840,21 +19842,21 @@ var Ji = {}, my = {
19840
19842
  value: !0
19841
19843
  }), r.default = r.BaseTooltip = void 0;
19842
19844
  var a = function() {
19843
- function V(G, ie) {
19844
- for (var te = 0; te < ie.length; te++) {
19845
- var z = ie[te];
19845
+ function V(G, oe) {
19846
+ for (var te = 0; te < oe.length; te++) {
19847
+ var z = oe[te];
19846
19848
  z.enumerable = z.enumerable || !1, z.configurable = !0, "value" in z && (z.writable = !0), Object.defineProperty(G, z.key, z);
19847
19849
  }
19848
19850
  }
19849
- return function(G, ie, te) {
19850
- return ie && V(G.prototype, ie), te && V(G, te), G;
19851
+ return function(G, oe, te) {
19852
+ return oe && V(G.prototype, oe), te && V(G, te), G;
19851
19853
  };
19852
- }(), l = function V(G, ie, te) {
19854
+ }(), l = function V(G, oe, te) {
19853
19855
  G === null && (G = Function.prototype);
19854
- var z = Object.getOwnPropertyDescriptor(G, ie);
19856
+ var z = Object.getOwnPropertyDescriptor(G, oe);
19855
19857
  if (z === void 0) {
19856
19858
  var ne = Object.getPrototypeOf(G);
19857
- return ne === null ? void 0 : V(ne, ie, te);
19859
+ return ne === null ? void 0 : V(ne, oe, te);
19858
19860
  } else {
19859
19861
  if ("value" in z)
19860
19862
  return z.value;
@@ -19881,16 +19883,16 @@ var Ji = {}, my = {
19881
19883
  }
19882
19884
  var B = [!1, "center", "right", "justify"], L = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], $ = [!1, "serif", "monospace"], H = ["1", "2", "3", !1], Z = ["small", !1, "large", "huge"], ce = function(V) {
19883
19885
  C(G, V);
19884
- function G(ie, te) {
19886
+ function G(oe, te) {
19885
19887
  y(this, G);
19886
- var z = O(this, (G.__proto__ || Object.getPrototypeOf(G)).call(this, ie, te)), ne = function Q(M) {
19887
- if (!document.body.contains(ie.root))
19888
+ var z = O(this, (G.__proto__ || Object.getPrototypeOf(G)).call(this, oe, te)), ne = function Q(M) {
19889
+ if (!document.body.contains(oe.root))
19888
19890
  return document.body.removeEventListener("click", Q);
19889
19891
  z.tooltip != null && !z.tooltip.root.contains(M.target) && document.activeElement !== z.tooltip.textbox && !z.quill.hasFocus() && z.tooltip.hide(), z.pickers != null && z.pickers.forEach(function(N) {
19890
19892
  N.container.contains(M.target) || N.close();
19891
19893
  });
19892
19894
  };
19893
- return ie.emitter.listenDOM("click", document.body, ne), z;
19895
+ return oe.emitter.listenDOM("click", document.body, ne), z;
19894
19896
  }
19895
19897
  return a(G, [{
19896
19898
  key: "addModule",
@@ -19946,16 +19948,16 @@ var Ji = {}, my = {
19946
19948
  this.quill.theme.tooltip.edit("formula");
19947
19949
  },
19948
19950
  image: function() {
19949
- var G = this, ie = this.container.querySelector("input.ql-image[type=file]");
19950
- ie == null && (ie = document.createElement("input"), ie.setAttribute("type", "file"), ie.setAttribute("accept", "image/png, image/gif, image/jpeg, image/bmp, image/x-icon"), ie.classList.add("ql-image"), ie.addEventListener("change", function() {
19951
- if (ie.files != null && ie.files[0] != null) {
19951
+ var G = this, oe = this.container.querySelector("input.ql-image[type=file]");
19952
+ oe == null && (oe = document.createElement("input"), oe.setAttribute("type", "file"), oe.setAttribute("accept", "image/png, image/gif, image/jpeg, image/bmp, image/x-icon"), oe.classList.add("ql-image"), oe.addEventListener("change", function() {
19953
+ if (oe.files != null && oe.files[0] != null) {
19952
19954
  var te = new FileReader();
19953
19955
  te.onload = function(z) {
19954
19956
  var ne = G.quill.getSelection(!0);
19955
- G.quill.updateContents(new f.default().retain(ne.index).delete(ne.length).insert({ image: z.target.result }), s.default.sources.USER), G.quill.setSelection(ne.index + 1, s.default.sources.SILENT), ie.value = "";
19956
- }, te.readAsDataURL(ie.files[0]);
19957
+ G.quill.updateContents(new f.default().retain(ne.index).delete(ne.length).insert({ image: z.target.result }), s.default.sources.USER), G.quill.setSelection(ne.index + 1, s.default.sources.SILENT), oe.value = "";
19958
+ }, te.readAsDataURL(oe.files[0]);
19957
19959
  }
19958
- }), this.container.appendChild(ie)), ie.click();
19960
+ }), this.container.appendChild(oe)), oe.click();
19959
19961
  },
19960
19962
  video: function() {
19961
19963
  this.quill.theme.tooltip.edit("video");
@@ -19966,9 +19968,9 @@ var Ji = {}, my = {
19966
19968
  });
19967
19969
  var K = function(V) {
19968
19970
  C(G, V);
19969
- function G(ie, te) {
19971
+ function G(oe, te) {
19970
19972
  y(this, G);
19971
- var z = O(this, (G.__proto__ || Object.getPrototypeOf(G)).call(this, ie, te));
19973
+ var z = O(this, (G.__proto__ || Object.getPrototypeOf(G)).call(this, oe, te));
19972
19974
  return z.textbox = z.root.querySelector('input[type="text"]'), z.listen(), z;
19973
19975
  }
19974
19976
  return a(G, [{
@@ -20028,10 +20030,10 @@ var Ji = {}, my = {
20028
20030
  return G ? (G[1] || "https") + "://www.youtube.com/embed/" + G[2] + "?showinfo=0" : (G = V.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/)) ? (G[1] || "https") + "://player.vimeo.com/video/" + G[2] + "/" : V;
20029
20031
  }
20030
20032
  function D(V, G) {
20031
- var ie = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
20033
+ var oe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
20032
20034
  G.forEach(function(te) {
20033
20035
  var z = document.createElement("option");
20034
- te === ie ? z.setAttribute("selected", "selected") : z.setAttribute("value", te), V.appendChild(z);
20036
+ te === oe ? z.setAttribute("selected", "selected") : z.setAttribute("value", te), V.appendChild(z);
20035
20037
  });
20036
20038
  }
20037
20039
  r.BaseTooltip = K, r.default = ce;
@@ -20437,18 +20439,18 @@ var Ji = {}, my = {
20437
20439
  for (var D = -P + H; D <= P - Z; D += 2) {
20438
20440
  var V = x + D, G;
20439
20441
  D == -P || D != P && O[V - 1] < O[V + 1] ? G = O[V + 1] : G = O[V - 1] + 1;
20440
- for (var ie = G - D; G < A && ie < E && m.charAt(G) == S.charAt(ie); )
20441
- G++, ie++;
20442
+ for (var oe = G - D; G < A && oe < E && m.charAt(G) == S.charAt(oe); )
20443
+ G++, oe++;
20442
20444
  if (O[V] = G, G > A)
20443
20445
  Z += 2;
20444
- else if (ie > E)
20446
+ else if (oe > E)
20445
20447
  H += 2;
20446
20448
  else if ($) {
20447
20449
  var te = x + L - D;
20448
20450
  if (te >= 0 && te < y && C[te] != -1) {
20449
20451
  var z = A - C[te];
20450
20452
  if (G >= z)
20451
- return f(m, S, G, ie);
20453
+ return f(m, S, G, oe);
20452
20454
  }
20453
20455
  }
20454
20456
  }
@@ -20464,9 +20466,9 @@ var Ji = {}, my = {
20464
20466
  else if (!$) {
20465
20467
  var V = x + L - ne;
20466
20468
  if (V >= 0 && V < y && O[V] != -1) {
20467
- var G = O[V], ie = x + G - V;
20469
+ var G = O[V], oe = x + G - V;
20468
20470
  if (z = A - z, G >= z)
20469
- return f(m, S, G, ie);
20471
+ return f(m, S, G, oe);
20470
20472
  }
20471
20473
  }
20472
20474
  }
@@ -20496,7 +20498,7 @@ var Ji = {}, my = {
20496
20498
  if (A.length < 4 || E.length * 2 < A.length)
20497
20499
  return null;
20498
20500
  function _(Z, ce, K) {
20499
- for (var P = Z.substring(K, K + Math.floor(Z.length / 4)), D = -1, V = "", G, ie, te, z; (D = ce.indexOf(P, D + 1)) != -1; ) {
20501
+ for (var P = Z.substring(K, K + Math.floor(Z.length / 4)), D = -1, V = "", G, oe, te, z; (D = ce.indexOf(P, D + 1)) != -1; ) {
20500
20502
  var ne = d(
20501
20503
  Z.substring(K),
20502
20504
  ce.substring(D)
@@ -20504,11 +20506,11 @@ var Ji = {}, my = {
20504
20506
  Z.substring(0, K),
20505
20507
  ce.substring(0, D)
20506
20508
  );
20507
- V.length < Q + ne && (V = ce.substring(D - Q, D) + ce.substring(D, D + ne), G = Z.substring(0, K - Q), ie = Z.substring(K + ne), te = ce.substring(0, D - Q), z = ce.substring(D + ne));
20509
+ V.length < Q + ne && (V = ce.substring(D - Q, D) + ce.substring(D, D + ne), G = Z.substring(0, K - Q), oe = Z.substring(K + ne), te = ce.substring(0, D - Q), z = ce.substring(D + ne));
20508
20510
  }
20509
20511
  return V.length * 2 >= Z.length ? [
20510
20512
  G,
20511
- ie,
20513
+ oe,
20512
20514
  te,
20513
20515
  z,
20514
20516
  V
@@ -20904,7 +20906,7 @@ var Ji = {}, my = {
20904
20906
  return me.attributes && me.attributes[ue] ? _e.push(me) : _e.insert(me.insert, (0, h.default)({}, B({}, ue, we), me.attributes));
20905
20907
  }, new d.default());
20906
20908
  }
20907
- function ie(se) {
20909
+ function oe(se) {
20908
20910
  if (se.nodeType !== Node.ELEMENT_NODE)
20909
20911
  return {};
20910
20912
  var ue = "__ql-computed-style";
@@ -20922,7 +20924,7 @@ var Ji = {}, my = {
20922
20924
  function z(se) {
20923
20925
  if (se.childNodes.length === 0)
20924
20926
  return !1;
20925
- var ue = ie(se);
20927
+ var ue = oe(se);
20926
20928
  return ["block", "list-item"].indexOf(ue.display) > -1;
20927
20929
  }
20928
20930
  function ne(se, ue, we) {
@@ -20984,7 +20986,7 @@ var Ji = {}, my = {
20984
20986
  if (z(se) && se.nextElementSibling != null && !te(ue, `
20985
20987
 
20986
20988
  `)) {
20987
- var we = se.offsetHeight + parseFloat(ie(se).marginTop) + parseFloat(ie(se).marginBottom);
20989
+ var we = se.offsetHeight + parseFloat(oe(se).marginTop) + parseFloat(oe(se).marginBottom);
20988
20990
  se.nextElementSibling.offsetTop > se.offsetTop + we * 1.5 && ue.insert(`
20989
20991
  `);
20990
20992
  }
@@ -20992,7 +20994,7 @@ var Ji = {}, my = {
20992
20994
  }
20993
20995
  function Oe(se, ue) {
20994
20996
  var we = {}, _e = se.style || {};
20995
- return _e.fontStyle && ie(se).fontStyle === "italic" && (we.italic = !0), _e.fontWeight && (ie(se).fontWeight.startsWith("bold") || parseInt(ie(se).fontWeight) >= 700) && (we.bold = !0), Object.keys(we).length > 0 && (ue = G(ue, we)), parseFloat(_e.textIndent || 0) > 0 && (ue = new d.default().insert(" ").concat(ue)), ue;
20997
+ return _e.fontStyle && oe(se).fontStyle === "italic" && (we.italic = !0), _e.fontWeight && (oe(se).fontWeight.startsWith("bold") || parseInt(oe(se).fontWeight) >= 700) && (we.bold = !0), Object.keys(we).length > 0 && (ue = G(ue, we)), parseFloat(_e.textIndent || 0) > 0 && (ue = new d.default().insert(" ").concat(ue)), ue;
20996
20998
  }
20997
20999
  function Me(se, ue) {
20998
21000
  var we = se.data;
@@ -21000,7 +21002,7 @@ var Ji = {}, my = {
21000
21002
  return ue.insert(we.trim());
21001
21003
  if (we.trim().length === 0 && se.parentNode.classList.contains("ql-clipboard"))
21002
21004
  return ue;
21003
- if (!ie(se.parentNode).whiteSpace.startsWith("pre")) {
21005
+ if (!oe(se.parentNode).whiteSpace.startsWith("pre")) {
21004
21006
  var _e = function(je, Pe) {
21005
21007
  return Pe = Pe.replace(/[^\u00a0]/g, ""), Pe.length < 1 && je ? " " : Pe;
21006
21008
  };
@@ -21637,7 +21639,7 @@ var Ji = {}, my = {
21637
21639
  Object.defineProperty(r, "__esModule", {
21638
21640
  value: !0
21639
21641
  });
21640
- var a = o(29), l = me(a), u = o(36), c = o(38), h = o(64), f = o(65), d = me(f), s = o(66), p = me(s), w = o(67), b = me(w), v = o(37), g = o(26), n = o(39), k = o(40), m = o(56), S = me(m), A = o(68), E = me(A), _ = o(27), x = me(_), y = o(69), O = me(y), C = o(70), B = me(C), L = o(71), $ = me(L), H = o(72), Z = me(H), ce = o(73), K = me(ce), P = o(13), D = me(P), V = o(74), G = me(V), ie = o(75), te = me(ie), z = o(57), ne = me(z), Q = o(41), M = me(Q), N = o(28), U = me(N), ae = o(59), re = me(ae), fe = o(60), Ee = me(fe), Oe = o(61), Me = me(Oe), se = o(108), ue = me(se), we = o(62), _e = me(we);
21642
+ var a = o(29), l = me(a), u = o(36), c = o(38), h = o(64), f = o(65), d = me(f), s = o(66), p = me(s), w = o(67), b = me(w), v = o(37), g = o(26), n = o(39), k = o(40), m = o(56), S = me(m), A = o(68), E = me(A), _ = o(27), x = me(_), y = o(69), O = me(y), C = o(70), B = me(C), L = o(71), $ = me(L), H = o(72), Z = me(H), ce = o(73), K = me(ce), P = o(13), D = me(P), V = o(74), G = me(V), oe = o(75), te = me(oe), z = o(57), ne = me(z), Q = o(41), M = me(Q), N = o(28), U = me(N), ae = o(59), re = me(ae), fe = o(60), Ee = me(fe), Oe = o(61), Me = me(Oe), se = o(108), ue = me(se), we = o(62), _e = me(we);
21641
21643
  function me(je) {
21642
21644
  return je && je.__esModule ? je : { default: je };
21643
21645
  }
@@ -22994,7 +22996,7 @@ var ky = Uo, zr = {}, _y = {
22994
22996
  (function(t, i) {
22995
22997
  var e = 200, r = "__lodash_hash_undefined__", o = 9007199254740991, a = "[object Arguments]", l = "[object Array]", u = "[object Boolean]", c = "[object Date]", h = "[object Error]", f = "[object Function]", d = "[object GeneratorFunction]", s = "[object Map]", p = "[object Number]", w = "[object Object]", b = "[object Promise]", v = "[object RegExp]", g = "[object Set]", n = "[object String]", k = "[object Symbol]", m = "[object WeakMap]", S = "[object ArrayBuffer]", A = "[object DataView]", E = "[object Float32Array]", _ = "[object Float64Array]", x = "[object Int8Array]", y = "[object Int16Array]", O = "[object Int32Array]", C = "[object Uint8Array]", B = "[object Uint8ClampedArray]", L = "[object Uint16Array]", $ = "[object Uint32Array]", H = /[\\^$.*+?()[\]{}|]/g, Z = /\w*$/, ce = /^\[object .+?Constructor\]$/, K = /^(?:0|[1-9]\d*)$/, P = {};
22996
22998
  P[a] = P[l] = P[S] = P[A] = P[u] = P[c] = P[E] = P[_] = P[x] = P[y] = P[O] = P[s] = P[p] = P[w] = P[v] = P[g] = P[n] = P[k] = P[C] = P[B] = P[L] = P[$] = !0, P[h] = P[f] = P[m] = !1;
22997
- var D = typeof wt == "object" && wt && wt.Object === Object && wt, V = typeof self == "object" && self && self.Object === Object && self, G = D || V || Function("return this")(), ie = i && !i.nodeType && i, te = ie && !0 && t && !t.nodeType && t, z = te && te.exports === ie;
22999
+ var D = typeof wt == "object" && wt && wt.Object === Object && wt, V = typeof self == "object" && self && self.Object === Object && self, G = D || V || Function("return this")(), oe = i && !i.nodeType && i, te = oe && !0 && t && !t.nodeType && t, z = te && te.exports === oe;
22998
23000
  function ne(T, j) {
22999
23001
  return T.set(j[0], j[1]), T;
23000
23002
  }
@@ -23056,7 +23058,7 @@ var ky = Uo, zr = {}, _y = {
23056
23058
  return T ? "Symbol(src)_1." + T : "";
23057
23059
  }(), je = ue.toString, Pe = we.hasOwnProperty, Re = we.toString, vt = RegExp(
23058
23060
  "^" + je.call(Pe).replace(H, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
23059
- ), dt = z ? G.Buffer : void 0, xe = G.Symbol, J = G.Uint8Array, ye = Oe(Object.getPrototypeOf, Object), Ie = Object.create, $e = we.propertyIsEnumerable, jt = se.splice, qt = Object.getOwnPropertySymbols, Ke = dt ? dt.isBuffer : void 0, Gt = Oe(Object.keys, Object), tn = sn(G, "DataView"), nn = sn(G, "Map"), We = sn(G, "Promise"), rn = sn(G, "Set"), _t = sn(G, "WeakMap"), Ut = sn(Object, "create"), Pn = Rt(tn), F = Rt(nn), W = Rt(We), oe = Rt(rn), pe = Rt(_t), Ce = xe ? xe.prototype : void 0, Be = Ce ? Ce.valueOf : void 0;
23061
+ ), dt = z ? G.Buffer : void 0, xe = G.Symbol, J = G.Uint8Array, ye = Oe(Object.getPrototypeOf, Object), Ie = Object.create, $e = we.propertyIsEnumerable, jt = se.splice, qt = Object.getOwnPropertySymbols, Ke = dt ? dt.isBuffer : void 0, Gt = Oe(Object.keys, Object), tn = sn(G, "DataView"), nn = sn(G, "Map"), We = sn(G, "Promise"), rn = sn(G, "Set"), _t = sn(G, "WeakMap"), Ut = sn(Object, "create"), Pn = Rt(tn), F = Rt(nn), W = Rt(We), ie = Rt(rn), pe = Rt(_t), Ce = xe ? xe.prototype : void 0, Be = Ce ? Ce.valueOf : void 0;
23060
23062
  function ze(T) {
23061
23063
  var j = -1, ee = T ? T.length : 0;
23062
23064
  for (this.clear(); ++j < ee; ) {
@@ -23098,21 +23100,21 @@ var ky = Uo, zr = {}, _y = {
23098
23100
  this.__data__ = [];
23099
23101
  }
23100
23102
  function wn(T) {
23101
- var j = this.__data__, ee = Wn(j, T);
23103
+ var j = this.__data__, ee = Yn(j, T);
23102
23104
  if (ee < 0)
23103
23105
  return !1;
23104
23106
  var ve = j.length - 1;
23105
23107
  return ee == ve ? j.pop() : jt.call(j, ee, 1), !0;
23106
23108
  }
23107
23109
  function dn(T) {
23108
- var j = this.__data__, ee = Wn(j, T);
23110
+ var j = this.__data__, ee = Yn(j, T);
23109
23111
  return ee < 0 ? void 0 : j[ee][1];
23110
23112
  }
23111
23113
  function ur(T) {
23112
- return Wn(this.__data__, T) > -1;
23114
+ return Yn(this.__data__, T) > -1;
23113
23115
  }
23114
23116
  function $n(T, j) {
23115
- var ee = this.__data__, ve = Wn(ee, T);
23117
+ var ee = this.__data__, ve = Yn(ee, T);
23116
23118
  return ve < 0 ? ee.push([T, j]) : ee[ve][1] = j, this;
23117
23119
  }
23118
23120
  lt.prototype.clear = Ot, lt.prototype.delete = wn, lt.prototype.get = dn, lt.prototype.has = ur, lt.prototype.set = $n;
@@ -23169,8 +23171,8 @@ var ky = Uo, zr = {}, _y = {
23169
23171
  return ee.set(T, j), this;
23170
23172
  }
23171
23173
  Bt.prototype.clear = mr, Bt.prototype.delete = Vo, Bt.prototype.get = Ho, Bt.prototype.has = Ko, Bt.prototype.set = Wo;
23172
- function Kn(T, j) {
23173
- var ee = br(T) || Gn(T) ? ae(T.length, String) : [], ve = ee.length, Ue = !!ve;
23174
+ function Wn(T, j) {
23175
+ var ee = br(T) || Qn(T) ? ae(T.length, String) : [], ve = ee.length, Ue = !!ve;
23174
23176
  for (var qe in T)
23175
23177
  (j || Pe.call(T, qe)) && !(Ue && (qe == "length" || li(qe, ve))) && ee.push(qe);
23176
23178
  return ee;
@@ -23179,7 +23181,7 @@ var ky = Uo, zr = {}, _y = {
23179
23181
  var ve = T[j];
23180
23182
  (!(Pe.call(T, j) && Jr(ve, ee)) || ee === void 0 && !(j in T)) && (T[j] = ee);
23181
23183
  }
23182
- function Wn(T, j) {
23184
+ function Yn(T, j) {
23183
23185
  for (var ee = T.length; ee--; )
23184
23186
  if (Jr(T[ee][0], j))
23185
23187
  return ee;
@@ -23201,7 +23203,7 @@ var ky = Uo, zr = {}, _y = {
23201
23203
  } else {
23202
23204
  var ot = _n(T), Nt = ot == f || ot == d;
23203
23205
  if (Xr(T))
23204
- return Yn(T, j);
23206
+ return Gn(T, j);
23205
23207
  if (ot == w || ot == a || Nt && !qe) {
23206
23208
  if (fe(T))
23207
23209
  return qe ? T : {};
@@ -23247,7 +23249,7 @@ var ky = Uo, zr = {}, _y = {
23247
23249
  Pe.call(T, ee) && ee != "constructor" && j.push(ee);
23248
23250
  return j;
23249
23251
  }
23250
- function Yn(T, j) {
23252
+ function Gn(T, j) {
23251
23253
  if (j)
23252
23254
  return T.slice();
23253
23255
  var ee = new T.constructor(T.length);
@@ -23319,7 +23321,7 @@ var ky = Uo, zr = {}, _y = {
23319
23321
  return s;
23320
23322
  case W:
23321
23323
  return b;
23322
- case oe:
23324
+ case ie:
23323
23325
  return g;
23324
23326
  case pe:
23325
23327
  return m;
@@ -23399,15 +23401,15 @@ var ky = Uo, zr = {}, _y = {
23399
23401
  function Jr(T, j) {
23400
23402
  return T === j || T !== T && j !== j;
23401
23403
  }
23402
- function Gn(T) {
23404
+ function Qn(T) {
23403
23405
  return ci(T) && Pe.call(T, "callee") && (!$e.call(T, "callee") || Re.call(T) == a);
23404
23406
  }
23405
23407
  var br = Array.isArray;
23406
- function Qn(T) {
23408
+ function Zn(T) {
23407
23409
  return T != null && eo(T.length) && !wr(T);
23408
23410
  }
23409
23411
  function ci(T) {
23410
- return to(T) && Qn(T);
23412
+ return to(T) && Zn(T);
23411
23413
  }
23412
23414
  var Xr = Ke || di;
23413
23415
  function wr(T) {
@@ -23425,7 +23427,7 @@ var ky = Uo, zr = {}, _y = {
23425
23427
  return !!T && typeof T == "object";
23426
23428
  }
23427
23429
  function kr(T) {
23428
- return Qn(T) ? Kn(T) : Jo(T);
23430
+ return Zn(T) ? Wn(T) : Jo(T);
23429
23431
  }
23430
23432
  function fi() {
23431
23433
  return [];
@@ -23444,7 +23446,7 @@ var Ur = {}, xy = {
23444
23446
  }
23445
23447
  };
23446
23448
  (function(t, i) {
23447
- var e = 200, r = "__lodash_hash_undefined__", o = 1, a = 2, l = 9007199254740991, u = "[object Arguments]", c = "[object Array]", h = "[object AsyncFunction]", f = "[object Boolean]", d = "[object Date]", s = "[object Error]", p = "[object Function]", w = "[object GeneratorFunction]", b = "[object Map]", v = "[object Number]", g = "[object Null]", n = "[object Object]", k = "[object Promise]", m = "[object Proxy]", S = "[object RegExp]", A = "[object Set]", E = "[object String]", _ = "[object Symbol]", x = "[object Undefined]", y = "[object WeakMap]", O = "[object ArrayBuffer]", C = "[object DataView]", B = "[object Float32Array]", L = "[object Float64Array]", $ = "[object Int8Array]", H = "[object Int16Array]", Z = "[object Int32Array]", ce = "[object Uint8Array]", K = "[object Uint8ClampedArray]", P = "[object Uint16Array]", D = "[object Uint32Array]", V = /[\\^$.*+?()[\]{}|]/g, G = /^\[object .+?Constructor\]$/, ie = /^(?:0|[1-9]\d*)$/, te = {};
23449
+ var e = 200, r = "__lodash_hash_undefined__", o = 1, a = 2, l = 9007199254740991, u = "[object Arguments]", c = "[object Array]", h = "[object AsyncFunction]", f = "[object Boolean]", d = "[object Date]", s = "[object Error]", p = "[object Function]", w = "[object GeneratorFunction]", b = "[object Map]", v = "[object Number]", g = "[object Null]", n = "[object Object]", k = "[object Promise]", m = "[object Proxy]", S = "[object RegExp]", A = "[object Set]", E = "[object String]", _ = "[object Symbol]", x = "[object Undefined]", y = "[object WeakMap]", O = "[object ArrayBuffer]", C = "[object DataView]", B = "[object Float32Array]", L = "[object Float64Array]", $ = "[object Int8Array]", H = "[object Int16Array]", Z = "[object Int32Array]", ce = "[object Uint8Array]", K = "[object Uint8ClampedArray]", P = "[object Uint16Array]", D = "[object Uint32Array]", V = /[\\^$.*+?()[\]{}|]/g, G = /^\[object .+?Constructor\]$/, oe = /^(?:0|[1-9]\d*)$/, te = {};
23448
23450
  te[B] = te[L] = te[$] = te[H] = te[Z] = te[ce] = te[K] = te[P] = te[D] = !0, te[u] = te[c] = te[O] = te[f] = te[C] = te[d] = te[s] = te[p] = te[b] = te[v] = te[n] = te[S] = te[A] = te[E] = te[y] = !1;
23449
23451
  var z = typeof wt == "object" && wt && wt.Object === Object && wt, ne = typeof self == "object" && self && self.Object === Object && self, Q = z || ne || Function("return this")(), M = i && !i.nodeType && i, N = M && !0 && t && !t.nodeType && t, U = N && N.exports === M, ae = U && z.process, re = function() {
23450
23452
  try {
@@ -23508,7 +23510,7 @@ var Ur = {}, xy = {
23508
23510
  return T ? "Symbol(src)_1." + T : "";
23509
23511
  }(), $e = dt.toString, jt = RegExp(
23510
23512
  "^" + J.call(ye).replace(V, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
23511
- ), qt = U ? Q.Buffer : void 0, Ke = Q.Symbol, Gt = Q.Uint8Array, tn = dt.propertyIsEnumerable, nn = Re.splice, We = Ke ? Ke.toStringTag : void 0, rn = Object.getOwnPropertySymbols, _t = qt ? qt.isBuffer : void 0, Ut = je(Object.keys, Object), Pn = kn(Q, "DataView"), F = kn(Q, "Map"), W = kn(Q, "Promise"), oe = kn(Q, "Set"), pe = kn(Q, "WeakMap"), Ce = kn(Object, "create"), Be = Rt(Pn), ze = Rt(F), De = Rt(W), He = Rt(oe), Ne = Rt(pe), Fe = Ke ? Ke.prototype : void 0, Je = Fe ? Fe.valueOf : void 0;
23513
+ ), qt = U ? Q.Buffer : void 0, Ke = Q.Symbol, Gt = Q.Uint8Array, tn = dt.propertyIsEnumerable, nn = Re.splice, We = Ke ? Ke.toStringTag : void 0, rn = Object.getOwnPropertySymbols, _t = qt ? qt.isBuffer : void 0, Ut = je(Object.keys, Object), Pn = kn(Q, "DataView"), F = kn(Q, "Map"), W = kn(Q, "Promise"), ie = kn(Q, "Set"), pe = kn(Q, "WeakMap"), Ce = kn(Object, "create"), Be = Rt(Pn), ze = Rt(F), De = Rt(W), He = Rt(ie), Ne = Rt(pe), Fe = Ke ? Ke.prototype : void 0, Je = Fe ? Fe.valueOf : void 0;
23512
23514
  function lt(T) {
23513
23515
  var j = -1, ee = T == null ? 0 : T.length;
23514
23516
  for (this.clear(); ++j < ee; ) {
@@ -23551,21 +23553,21 @@ var Ur = {}, xy = {
23551
23553
  this.__data__ = [], this.size = 0;
23552
23554
  }
23553
23555
  function fr(T) {
23554
- var j = this.__data__, ee = Yn(j, T);
23556
+ var j = this.__data__, ee = Gn(j, T);
23555
23557
  if (ee < 0)
23556
23558
  return !1;
23557
23559
  var ve = j.length - 1;
23558
23560
  return ee == ve ? j.pop() : nn.call(j, ee, 1), --this.size, !0;
23559
23561
  }
23560
23562
  function dr(T) {
23561
- var j = this.__data__, ee = Yn(j, T);
23563
+ var j = this.__data__, ee = Gn(j, T);
23562
23564
  return ee < 0 ? void 0 : j[ee][1];
23563
23565
  }
23564
23566
  function hr(T) {
23565
- return Yn(this.__data__, T) > -1;
23567
+ return Gn(this.__data__, T) > -1;
23566
23568
  }
23567
23569
  function pr(T, j) {
23568
- var ee = this.__data__, ve = Yn(ee, T);
23570
+ var ee = this.__data__, ve = Gn(ee, T);
23569
23571
  return ve < 0 ? (++this.size, ee.push([T, j])) : ee[ve][1] = j, this;
23570
23572
  }
23571
23573
  Et.prototype.clear = cr, Et.prototype.delete = fr, Et.prototype.get = dr, Et.prototype.has = hr, Et.prototype.set = pr;
@@ -23598,7 +23600,7 @@ var Ur = {}, xy = {
23598
23600
  return ee.set(T, j), this.size += ee.size == ve ? 0 : 1, this;
23599
23601
  }
23600
23602
  Bt.prototype.clear = mr, Bt.prototype.delete = Vo, Bt.prototype.get = Ho, Bt.prototype.has = Ko, Bt.prototype.set = Wo;
23601
- function Kn(T) {
23603
+ function Wn(T) {
23602
23604
  var j = -1, ee = T == null ? 0 : T.length;
23603
23605
  for (this.__data__ = new Bt(); ++j < ee; )
23604
23606
  this.add(T[j]);
@@ -23606,10 +23608,10 @@ var Ur = {}, xy = {
23606
23608
  function Wr(T) {
23607
23609
  return this.__data__.set(T, r), this;
23608
23610
  }
23609
- function Wn(T) {
23611
+ function Yn(T) {
23610
23612
  return this.__data__.has(T);
23611
23613
  }
23612
- Kn.prototype.add = Kn.prototype.push = Wr, Kn.prototype.has = Wn;
23614
+ Wn.prototype.add = Wn.prototype.push = Wr, Wn.prototype.has = Yn;
23613
23615
  function hn(T) {
23614
23616
  var j = this.__data__ = new Et(T);
23615
23617
  this.size = j.size;
@@ -23639,12 +23641,12 @@ var Ur = {}, xy = {
23639
23641
  }
23640
23642
  hn.prototype.clear = vr, hn.prototype.delete = Yo, hn.prototype.get = Go, hn.prototype.has = Qo, hn.prototype.set = Zo;
23641
23643
  function Jo(T, j) {
23642
- var ee = Gn(T), ve = !ee && Jr(T), Ue = !ee && !ve && Qn(T), qe = !ee && !ve && !Ue && to(T), Ye = ee || ve || Ue || qe, Xe = Ye ? se(T.length, String) : [], gt = Xe.length;
23644
+ var ee = Qn(T), ve = !ee && Jr(T), Ue = !ee && !ve && Zn(T), qe = !ee && !ve && !Ue && to(T), Ye = ee || ve || Ue || qe, Xe = Ye ? se(T.length, String) : [], gt = Xe.length;
23643
23645
  for (var ot in T)
23644
23646
  (j || ye.call(T, ot)) && !(Ye && (ot == "length" || Ue && (ot == "offset" || ot == "parent") || qe && (ot == "buffer" || ot == "byteLength" || ot == "byteOffset") || ai(ot, gt))) && Xe.push(ot);
23645
23647
  return Xe;
23646
23648
  }
23647
- function Yn(T, j) {
23649
+ function Gn(T, j) {
23648
23650
  for (var ee = T.length; ee--; )
23649
23651
  if (Zr(T[ee][0], j))
23650
23652
  return ee;
@@ -23652,7 +23654,7 @@ var Ur = {}, xy = {
23652
23654
  }
23653
23655
  function gr(T, j, ee) {
23654
23656
  var ve = j(T);
23655
- return Gn(T) ? ve : Oe(ve, ee(T));
23657
+ return Qn(T) ? ve : Oe(ve, ee(T));
23656
23658
  }
23657
23659
  function jn(T) {
23658
23660
  return T == null ? T === void 0 ? x : g : We && We in Object(T) ? _n(T) : Qr(T);
@@ -23664,11 +23666,11 @@ var Ur = {}, xy = {
23664
23666
  return T === j ? !0 : T == null || j == null || !mn(T) && !mn(j) ? T !== T && j !== j : Xo(T, j, ee, ve, Gr, Ue);
23665
23667
  }
23666
23668
  function Xo(T, j, ee, ve, Ue, qe) {
23667
- var Ye = Gn(T), Xe = Gn(j), gt = Ye ? c : pn(T), ot = Xe ? c : pn(j);
23669
+ var Ye = Qn(T), Xe = Qn(j), gt = Ye ? c : pn(T), ot = Xe ? c : pn(j);
23668
23670
  gt = gt == u ? n : gt, ot = ot == u ? n : ot;
23669
23671
  var Nt = gt == n, Vt = ot == n, xt = gt == ot;
23670
- if (xt && Qn(T)) {
23671
- if (!Qn(j))
23672
+ if (xt && Zn(T)) {
23673
+ if (!Zn(j))
23672
23674
  return !1;
23673
23675
  Ye = !0, Nt = !1;
23674
23676
  }
@@ -23707,7 +23709,7 @@ var Ur = {}, xy = {
23707
23709
  var ot = qe.get(T);
23708
23710
  if (ot && qe.get(j))
23709
23711
  return ot == j;
23710
- var Nt = -1, Vt = !0, xt = ee & a ? new Kn() : void 0;
23712
+ var Nt = -1, Vt = !0, xt = ee & a ? new Wn() : void 0;
23711
23713
  for (qe.set(T, j), qe.set(j, T); ++Nt < Xe; ) {
23712
23714
  var Dt = T[Nt], At = j[Nt];
23713
23715
  if (ve)
@@ -23825,7 +23827,7 @@ var Ur = {}, xy = {
23825
23827
  return tn.call(T, j);
23826
23828
  }));
23827
23829
  } : fi, pn = jn;
23828
- (Pn && pn(new Pn(new ArrayBuffer(1))) != C || F && pn(new F()) != b || W && pn(W.resolve()) != k || oe && pn(new oe()) != A || pe && pn(new pe()) != y) && (pn = function(T) {
23830
+ (Pn && pn(new Pn(new ArrayBuffer(1))) != C || F && pn(new F()) != b || W && pn(W.resolve()) != k || ie && pn(new ie()) != A || pe && pn(new pe()) != y) && (pn = function(T) {
23829
23831
  var j = jn(T), ee = j == n ? T.constructor : void 0, ve = ee ? Rt(ee) : "";
23830
23832
  if (ve)
23831
23833
  switch (ve) {
@@ -23843,7 +23845,7 @@ var Ur = {}, xy = {
23843
23845
  return j;
23844
23846
  });
23845
23847
  function ai(T, j) {
23846
- return j = j ?? l, !!j && (typeof T == "number" || ie.test(T)) && T > -1 && T % 1 == 0 && T < j;
23848
+ return j = j ?? l, !!j && (typeof T == "number" || oe.test(T)) && T > -1 && T % 1 == 0 && T < j;
23847
23849
  }
23848
23850
  function li(T) {
23849
23851
  var j = typeof T;
@@ -23879,11 +23881,11 @@ var Ur = {}, xy = {
23879
23881
  return arguments;
23880
23882
  }()) ? Yr : function(T) {
23881
23883
  return mn(T) && ye.call(T, "callee") && !tn.call(T, "callee");
23882
- }, Gn = Array.isArray;
23884
+ }, Qn = Array.isArray;
23883
23885
  function br(T) {
23884
23886
  return T != null && wr(T.length) && !Xr(T);
23885
23887
  }
23886
- var Qn = _t || di;
23888
+ var Zn = _t || di;
23887
23889
  function ci(T, j) {
23888
23890
  return Gr(T, j);
23889
23891
  }
@@ -24568,7 +24570,7 @@ const Ny = { class: "whitespace-pre-line p-4" }, Dy = { class: "text-md font-sem
24568
24570
  }), r = Y(() => "h-4 w-4");
24569
24571
  return (o, a) => {
24570
24572
  const l = st("router-link");
24571
- return R(), Te(or, { class: "flex duration-200 hover:bg-slate-50" }, {
24573
+ return R(), Te(ir, { class: "flex duration-200 hover:bg-slate-50" }, {
24572
24574
  default: ge(() => [
24573
24575
  he(l, { to: t.to }, {
24574
24576
  default: ge(() => [
@@ -25352,7 +25354,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
25352
25354
  to: t.notification.to
25353
25355
  }, {
25354
25356
  default: ge(({ href: u, navigate: c }) => [
25355
- he(I(er), {
25357
+ he(I(tr), {
25356
25358
  as: "a",
25357
25359
  href: u,
25358
25360
  onClick: an((h) => r(c), ["prevent"])
@@ -25368,7 +25370,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
25368
25370
  ]),
25369
25371
  _: 1
25370
25372
  }, 8, ["to"])) : (R(), X("div", $0, [
25371
- he(I(er), {
25373
+ he(I(tr), {
25372
25374
  as: "button",
25373
25375
  class: "w-full text-left",
25374
25376
  onClick: a[0] || (a[0] = an((u) => r(), ["prevent"]))
@@ -25413,7 +25415,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
25413
25415
  }
25414
25416
  return (l, u) => {
25415
25417
  const c = st("RouterLink");
25416
- return R(), Te(lr, {
25418
+ return R(), Te(sr, {
25417
25419
  class: "inline-block",
25418
25420
  position: I(r) ? "custom" : "bottom-left",
25419
25421
  "menu-class": ["sm:w-[320px] w-[280px]", I(r) ? "right-4" : ""]
@@ -25455,7 +25457,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
25455
25457
  to: t.notificationsConfig.footerTo
25456
25458
  }, {
25457
25459
  default: ge(({ href: h, navigate: f }) => [
25458
- he(I(er), {
25460
+ he(I(tr), {
25459
25461
  as: "a",
25460
25462
  href: h,
25461
25463
  onClick: f
@@ -25550,7 +25552,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
25550
25552
  onClick: e,
25551
25553
  onOpen: r
25552
25554
  }, null, 8, ["dark", "notifications-config"])) : ke("", !0),
25553
- he(lr, {
25555
+ he(sr, {
25554
25556
  "menu-class": "w-52",
25555
25557
  class: "hidden md:block",
25556
25558
  items: t.userMenu
@@ -25877,7 +25879,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
25877
25879
  onOpen: a
25878
25880
  }, null, 8, ["notifications-config"])) : ke("", !0),
25879
25881
  q("div", S1, [
25880
- he(lr, { items: t.userMenu }, {
25882
+ he(sr, { items: t.userMenu }, {
25881
25883
  button: ge(({ open: c }) => [
25882
25884
  q("div", {
25883
25885
  class: de(["flex", [""]])
@@ -25918,7 +25920,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
25918
25920
  BaseBreadcrumbs: qd,
25919
25921
  BaseButton: Hd,
25920
25922
  BaseButtonGroup: Xl,
25921
- BaseCard: or,
25923
+ BaseCard: ir,
25922
25924
  BaseCardRow: ya,
25923
25925
  BaseCharacterCounter: Zd,
25924
25926
  BaseClickOutside: Jd,
@@ -25952,7 +25954,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
25952
25954
  BaseMediaItem: Zi,
25953
25955
  BaseMediaLibrary: Ng,
25954
25956
  BaseMediaPreview: Vs,
25955
- BaseMenu: lr,
25957
+ BaseMenu: sr,
25956
25958
  BaseMenuItem: wo,
25957
25959
  BaseModalCenter: Pg,
25958
25960
  BaseModalSide: Ms,
@@ -26191,7 +26193,7 @@ export {
26191
26193
  qd as BaseBreadcrumbs,
26192
26194
  Hd as BaseButton,
26193
26195
  Xl as BaseButtonGroup,
26194
- or as BaseCard,
26196
+ ir as BaseCard,
26195
26197
  ya as BaseCardRow,
26196
26198
  Zd as BaseCharacterCounter,
26197
26199
  Jd as BaseClickOutside,
@@ -26229,7 +26231,7 @@ export {
26229
26231
  Zi as BaseMediaItem,
26230
26232
  Ng as BaseMediaLibrary,
26231
26233
  Vs as BaseMediaPreview,
26232
- lr as BaseMenu,
26234
+ sr as BaseMenu,
26233
26235
  wo as BaseMenuItem,
26234
26236
  Pg as BaseModalCenter,
26235
26237
  Ms as BaseModalSide,
@@ -26273,6 +26275,6 @@ export {
26273
26275
  jo as useClickOutside,
26274
26276
  fa as useDialogsStore,
26275
26277
  It as useField,
26276
- sr as useNotificationsStore,
26278
+ Kn as useNotificationsStore,
26277
26279
  nu as useSystemAlertStore
26278
26280
  };