@verdnatura/vn-front-lib 0.1.0 → 0.1.1

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,9 +1,9 @@
1
1
  import { _ as e, g as t, h as n, m as r, p as i, t as a, u as o, v as s, y as c } from "./composables-CAAnziP1.js";
2
2
  import { useStateStore as l } from "./stores.js";
3
3
  import { onBeforeSave as u } from "./filters.js";
4
- import { Fragment as d, Teleport as f, Transition as p, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as y, createTextVNode as b, createVNode as x, defineComponent as S, getCurrentInstance as C, h as w, inject as T, markRaw as E, mergeModels as D, mergeProps as O, nextTick as k, normalizeClass as A, normalizeStyle as j, onActivated as M, onBeforeUnmount as N, onBeforeUpdate as P, onDeactivated as F, onMounted as I, onUnmounted as ee, openBlock as L, provide as R, reactive as z, ref as B, renderSlot as te, toDisplayString as ne, unref as V, useAttrs as re, useModel as ie, vShow as H, watch as U, withCtx as W, withDirectives as ae, withKeys as oe, withModifiers as G } from "vue";
5
- import * as se from "quasar";
6
- import { useI18n as K } from "vue-i18n";
4
+ import { Fragment as d, Teleport as f, Transition as p, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as y, createTextVNode as b, createVNode as x, defineComponent as S, getCurrentInstance as C, h as w, inject as T, markRaw as E, mergeModels as D, mergeProps as O, nextTick as k, normalizeClass as A, normalizeStyle as j, onActivated as M, onBeforeUnmount as N, onBeforeUpdate as P, onDeactivated as F, onMounted as I, onUnmounted as ee, openBlock as L, provide as R, reactive as z, ref as B, renderSlot as V, toDisplayString as H, unref as U, useAttrs as te, useModel as ne, vShow as W, watch as G, withCtx as K, withDirectives as re, withKeys as ie, withModifiers as ae } from "vue";
5
+ import * as oe from "quasar";
6
+ import { useI18n as se } from "vue-i18n";
7
7
  import q from "validator";
8
8
  import { defineStore as ce } from "pinia";
9
9
  import le from "axios";
@@ -244,7 +244,7 @@ function Ue(e) {
244
244
  } catch {
245
245
  return;
246
246
  }
247
- let t = V(e);
247
+ let t = U(e);
248
248
  if (t) return t.$el || t;
249
249
  }
250
250
  function We(e, t) {
@@ -769,7 +769,7 @@ var Pt = J({
769
769
  })])), r.push(w("span", { class: "q-btn__content text-center col items-center q-anchor--skip " + o.value }, n)), e.loading !== null && r.push(w(p, { name: "q-transition--fade" }, () => e.loading ? [w("span", {
770
770
  key: "loading",
771
771
  class: "absolute-full flex flex-center"
772
- }, t.loading === void 0 ? [w(Ve)] : t.loading())] : null)), ae(w(l.value, D.value, r), [[
772
+ }, t.loading === void 0 ? [w(Ve)] : t.loading())] : null)), re(w(l.value, D.value, r), [[
773
773
  at,
774
774
  x.value,
775
775
  void 0,
@@ -1089,7 +1089,7 @@ function Nn({ showing: e, canShow: t, hideOnRouteChange: n, handleShow: r, handl
1089
1089
  function _(t) {
1090
1090
  c.disable && t ? c["onUpdate:modelValue"] !== void 0 && l("update:modelValue", !1) : t === !0 !== e.value && (t ? m : g)(d);
1091
1091
  }
1092
- U(() => c.modelValue, _), n !== void 0 && dt(s) && U(() => u.$route.fullPath, () => {
1092
+ G(() => c.modelValue, _), n !== void 0 && dt(s) && G(() => u.$route.fullPath, () => {
1093
1093
  n.value && e.value && (a?.(), h());
1094
1094
  }), o && I(() => {
1095
1095
  _(c.modelValue);
@@ -1404,21 +1404,21 @@ var Pr = 0, Fr = {
1404
1404
  "escapeKey"
1405
1405
  ],
1406
1406
  setup(e, { slots: t, emit: n, attrs: r }) {
1407
- let i = C(), a = B(null), o = B(!1), s = B(!1), c = null, l = null, u = !1, d = !1, f = m(() => !e.persistent && !e.noRouteDismiss && !e.seamless), { preventBodyScroll: h } = xr(), { registerTimeout: g } = kn(), { registerTick: _, removeTick: v } = An(), { transitionProps: y, transitionStyle: b } = Fn(e, () => Ir[e.position][0], () => Ir[e.position][1]), x = m(() => b.value + (e.backdropFilter === void 0 ? "" : `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`)), { showPortal: S, hidePortal: T, portalIsAccessible: E, renderPortal: D } = er(i, a, W, "dialog"), { hide: O } = Nn({
1407
+ let i = C(), a = B(null), o = B(!1), s = B(!1), c = null, l = null, u = !1, d = !1, f = m(() => !e.persistent && !e.noRouteDismiss && !e.seamless), { preventBodyScroll: h } = xr(), { registerTimeout: g } = kn(), { registerTick: _, removeTick: v } = An(), { transitionProps: y, transitionStyle: b } = Fn(e, () => Ir[e.position][0], () => Ir[e.position][1]), x = m(() => b.value + (e.backdropFilter === void 0 ? "" : `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`)), { showPortal: S, hidePortal: T, portalIsAccessible: E, renderPortal: D } = er(i, a, K, "dialog"), { hide: O } = Nn({
1408
1408
  showing: o,
1409
1409
  hideOnRouteChange: f,
1410
1410
  handleShow: I,
1411
1411
  handleHide: ee,
1412
1412
  handleRouteChange: L,
1413
1413
  processOnMount: !0
1414
- }), { addToHistory: k, removeFromHistory: A } = On(o, O, f), j = m(() => `q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized ? "maximized" : "minimized"} q-dialog__inner--${e.position} ${Fr[e.position]}` + (s.value ? " q-dialog__inner--animating" : "") + (e.fullWidth ? " q-dialog__inner--fullwidth" : "") + (e.fullHeight ? " q-dialog__inner--fullheight" : "") + (e.square ? " q-dialog__inner--square" : "")), M = m(() => o.value && !e.seamless), P = m(() => e.autoClose ? { onClick: re } : {}), F = m(() => [`q-dialog fullscreen no-pointer-events q-dialog--${M.value ? "modal" : "seamless"}`, r.class]);
1415
- U(() => e.maximized, (e) => {
1416
- o.value && V(e);
1417
- }), U(M, (e) => {
1418
- h(e), e ? (Mr(H), Or(te)) : (Nr(H), kr(te));
1414
+ }), { addToHistory: k, removeFromHistory: A } = On(o, O, f), j = m(() => `q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized ? "maximized" : "minimized"} q-dialog__inner--${e.position} ${Fr[e.position]}` + (s.value ? " q-dialog__inner--animating" : "") + (e.fullWidth ? " q-dialog__inner--fullwidth" : "") + (e.fullHeight ? " q-dialog__inner--fullheight" : "") + (e.square ? " q-dialog__inner--square" : "")), M = m(() => o.value && !e.seamless), P = m(() => e.autoClose ? { onClick: te } : {}), F = m(() => [`q-dialog fullscreen no-pointer-events q-dialog--${M.value ? "modal" : "seamless"}`, r.class]);
1415
+ G(() => e.maximized, (e) => {
1416
+ o.value && U(e);
1417
+ }), G(M, (e) => {
1418
+ h(e), e ? (Mr(W), Or(V)) : (Nr(W), kr(V));
1419
1419
  });
1420
1420
  function I(t) {
1421
- k(), l = !e.noRefocus && document.activeElement !== null ? document.activeElement : null, V(e.maximized), S(), s.value = !0, e.noFocus ? v() : (document.activeElement?.blur(), _(R)), g(() => {
1421
+ k(), l = !e.noRefocus && document.activeElement !== null ? document.activeElement : null, U(e.maximized), S(), s.value = !0, e.noFocus ? v() : (document.activeElement?.blur(), _(R)), g(() => {
1422
1422
  if (i.proxy.$q.platform.is.ios) {
1423
1423
  if (!e.seamless && document.activeElement) {
1424
1424
  let { top: e, bottom: t } = document.activeElement.getBoundingClientRect(), { innerHeight: n } = window, r = window.visualViewport === void 0 ? n : window.visualViewport.height;
@@ -1430,7 +1430,7 @@ var Pr = 0, Fr = {
1430
1430
  }, e.transitionDuration);
1431
1431
  }
1432
1432
  function ee(t) {
1433
- if (v(), A(), ne(!0), s.value = !0, T(), l !== null) {
1433
+ if (v(), A(), H(!0), s.value = !0, T(), l !== null) {
1434
1434
  let e = (t?.type.indexOf("key") === 0 ? l.closest("[tabindex]:not([tabindex^=\"-\"])") : void 0) || l;
1435
1435
  l = null, Un(() => {
1436
1436
  e.isConnected && e.focus();
@@ -1465,22 +1465,22 @@ var Pr = 0, Fr = {
1465
1465
  c = null, a.value !== null && (t.classList.remove("q-animate--scale"), R());
1466
1466
  }, 170));
1467
1467
  }
1468
- function te() {
1468
+ function V() {
1469
1469
  e.seamless || (e.persistent || e.noEscDismiss ? !e.maximized && !e.noShake && z() : (n("escapeKey"), O()));
1470
1470
  }
1471
- function ne(t) {
1472
- c !== null && (clearTimeout(c), c = null), (t || o.value) && (V(!1), e.seamless || (h(!1), Nr(H), kr(te))), t || (l = null);
1471
+ function H(t) {
1472
+ c !== null && (clearTimeout(c), c = null), (t || o.value) && (U(!1), e.seamless || (h(!1), Nr(W), kr(V))), t || (l = null);
1473
1473
  }
1474
- function V(e) {
1474
+ function U(e) {
1475
1475
  e ? u ||= (Pr < 1 && document.body.classList.add("q-body--dialog"), Pr++, !0) : u &&= (Pr < 2 && document.body.classList.remove("q-body--dialog"), Pr--, !1);
1476
1476
  }
1477
- function re(e) {
1477
+ function te(e) {
1478
1478
  d || (O(e), n("click", e));
1479
1479
  }
1480
- function ie(t) {
1480
+ function ne(t) {
1481
1481
  !e.persistent && !e.noBackdropDismiss ? O(t) : e.noShake || z();
1482
1482
  }
1483
- function H(t) {
1483
+ function W(t) {
1484
1484
  !e.allowFocusOutside && E.value && !We(a.value, t.target) && R("[tabindex]:not([tabindex=\"-1\"])");
1485
1485
  }
1486
1486
  Object.assign(i.proxy, {
@@ -1489,8 +1489,8 @@ var Pr = 0, Fr = {
1489
1489
  __updateRefocusTarget(e) {
1490
1490
  l = e || null;
1491
1491
  }
1492
- }), N(ne);
1493
- function W() {
1492
+ }), N(H);
1493
+ function K() {
1494
1494
  return w("div", {
1495
1495
  role: "dialog",
1496
1496
  "aria-modal": M.value ? "true" : "false",
@@ -1503,7 +1503,7 @@ var Pr = 0, Fr = {
1503
1503
  class: "q-dialog__backdrop fixed-full",
1504
1504
  style: x.value,
1505
1505
  "aria-hidden": "true",
1506
- onClick: ie
1506
+ onClick: ne
1507
1507
  }) : null), w(p, y.value, () => o.value ? w("div", {
1508
1508
  ref: a,
1509
1509
  class: j.value,
@@ -1588,15 +1588,15 @@ var zr = (e, t) => {
1588
1588
  emits: [
1589
1589
  "confirm",
1590
1590
  "cancel",
1591
- ...se.useDialogPluginComponent.emits
1591
+ ...oe.useDialogPluginComponent.emits
1592
1592
  ],
1593
1593
  setup(e, { expose: t, emit: n }) {
1594
- let { t: r } = K(), i = e, a = n;
1594
+ let { t: r } = se(), i = e, a = n;
1595
1595
  t({
1596
1596
  show: () => o.value.show(),
1597
1597
  hide: () => o.value.hide()
1598
1598
  });
1599
- let { dialogRef: o, onDialogHide: s, onDialogOK: c, onDialogCancel: l } = se.useDialogPluginComponent(), u = i.title || r("Confirm"), d = i.message || i.message !== !1 && r("Are you sure you want to continue?"), f = B(!1);
1599
+ let { dialogRef: o, onDialogHide: s, onDialogOK: c, onDialogCancel: l } = oe.useDialogPluginComponent(), u = i.title || r("Confirm"), d = i.message || i.message !== !1 && r("Are you sure you want to continue?"), f = B(!1);
1600
1600
  async function p() {
1601
1601
  if (f.value = !0, i.promise) try {
1602
1602
  await i.promise(i.data);
@@ -1612,12 +1612,12 @@ var zr = (e, t) => {
1612
1612
  ref_key: "dialogRef",
1613
1613
  ref: o,
1614
1614
  persistent: e.persistent,
1615
- onHide: V(s)
1615
+ onHide: U(s)
1616
1616
  }, {
1617
- default: W(() => [x(zt, { class: A(["q-pa-sm", e.cardClass]) }, {
1618
- default: W(() => [
1617
+ default: K(() => [x(zt, { class: A(["q-pa-sm", e.cardClass]) }, {
1618
+ default: K(() => [
1619
1619
  x(Ft, { class: "row items-center q-pb-none" }, {
1620
- default: W(() => [
1620
+ default: K(() => [
1621
1621
  e.icon ? (L(), h(Le, {
1622
1622
  key: 0,
1623
1623
  icon: e.icon,
@@ -1625,7 +1625,7 @@ var zr = (e, t) => {
1625
1625
  "text-color": "white",
1626
1626
  size: "xl"
1627
1627
  }, null, 8, ["icon"])) : g("", !0),
1628
- v("span", Br, ne(V(u)), 1),
1628
+ v("span", Br, H(U(u)), 1),
1629
1629
  x(Re),
1630
1630
  e.closable ? (L(), h(Pt, {
1631
1631
  key: 1,
@@ -1643,21 +1643,21 @@ var zr = (e, t) => {
1643
1643
  class: "q-pb-none",
1644
1644
  "data-cy": "VnConfirm_message"
1645
1645
  }, {
1646
- default: W(() => [V(d) === !1 ? g("", !0) : (L(), _("span", {
1646
+ default: K(() => [U(d) === !1 ? g("", !0) : (L(), _("span", {
1647
1647
  key: 0,
1648
- innerHTML: V(d)
1648
+ innerHTML: U(d)
1649
1649
  }, null, 8, Vr))]),
1650
1650
  _: 1
1651
1651
  }),
1652
1652
  x(Ft, { class: "row items-center q-pt-none" }, {
1653
- default: W(() => [te(t.$slots, "custom-html", {}, void 0, !0)]),
1653
+ default: K(() => [V(t.$slots, "custom-html", {}, void 0, !0)]),
1654
1654
  _: 3
1655
1655
  }),
1656
1656
  t.$slots.actions ? (L(), h(It, {
1657
1657
  key: 0,
1658
1658
  align: "right"
1659
1659
  }, {
1660
- default: W(() => [te(t.$slots, "actions", { actions: {
1660
+ default: K(() => [V(t.$slots, "actions", { actions: {
1661
1661
  confirm: p,
1662
1662
  cancel: m
1663
1663
  } }, void 0, !0)]),
@@ -1666,16 +1666,16 @@ var zr = (e, t) => {
1666
1666
  key: 1,
1667
1667
  align: "right"
1668
1668
  }, {
1669
- default: W(() => [x(Pt, {
1670
- label: V(r)("globals.cancel"),
1669
+ default: K(() => [x(Pt, {
1670
+ label: U(r)("globals.cancel"),
1671
1671
  color: "primary",
1672
1672
  disable: f.value,
1673
1673
  flat: "",
1674
1674
  onClick: n[1] ||= (e) => m(),
1675
1675
  "data-cy": "VnConfirm_cancel"
1676
1676
  }, null, 8, ["label", "disable"]), x(Pt, {
1677
- label: V(r)("globals.confirm"),
1678
- title: V(r)("globals.confirm"),
1677
+ label: U(r)("globals.confirm"),
1678
+ title: U(r)("globals.confirm"),
1679
1679
  color: "primary",
1680
1680
  loading: f.value,
1681
1681
  onClick: n[2] ||= (e) => p(),
@@ -1826,7 +1826,7 @@ var Qr = /*#__PURE__*/ zr(qr, [["render", Zr]]), $r = /*#__PURE__*/ zr({
1826
1826
  name: "vn-spinner-fade",
1827
1827
  appear: ""
1828
1828
  }, {
1829
- default: W(() => [v("div", {
1829
+ default: K(() => [v("div", {
1830
1830
  class: "vn-spinner",
1831
1831
  style: j({
1832
1832
  width: t[e.size] || e.size,
@@ -2724,34 +2724,34 @@ var Ta = J({
2724
2724
  }), z = m(() => e.calendar === "persian" ? (e) => {
2725
2725
  let t = ci(e.year, e.month, e.day);
2726
2726
  return new Date(t.gy, t.gm - 1, t.gd);
2727
- } : (e) => new Date(e.year, e.month - 1, e.day)), te = m(() => e.calendar === "persian" ? Si : (e, t, n) => ma(new Date(e.year, e.month - 1, e.day, e.hour, e.minute, e.second, e.millisecond), t === void 0 ? _.value : t, n === void 0 ? v.value : n, e.year, e.timezoneOffset)), ne = m(() => L.value.length + R.value.reduce((e, t) => e + 1 + oa(z.value(t.to), z.value(t.from)), 0)), V = m(() => {
2727
+ } : (e) => new Date(e.year, e.month - 1, e.day)), V = m(() => e.calendar === "persian" ? Si : (e, t, n) => ma(new Date(e.year, e.month - 1, e.day, e.hour, e.minute, e.second, e.millisecond), t === void 0 ? _.value : t, n === void 0 ? v.value : n, e.year, e.timezoneOffset)), H = m(() => L.value.length + R.value.reduce((e, t) => e + 1 + oa(z.value(t.to), z.value(t.from)), 0)), U = m(() => {
2728
2728
  if (e.title !== void 0 && e.title !== null && e.title.length !== 0) return e.title;
2729
2729
  if (M.value !== null) {
2730
2730
  let e = M.value.init, t = z.value(e);
2731
2731
  return v.value.daysShort[t.getDay()] + ", " + v.value.monthsShort[e.month - 1] + " " + e.day + " — ?";
2732
2732
  }
2733
- if (ne.value === 0) return Sa;
2734
- if (ne.value > 1) return `${ne.value} ${v.value.pluralDay}`;
2733
+ if (H.value === 0) return Sa;
2734
+ if (H.value > 1) return `${H.value} ${v.value.pluralDay}`;
2735
2735
  let t = L.value[0], n = z.value(t);
2736
2736
  return Number.isNaN(n.valueOf()) ? Sa : v.value.headerTitle === void 0 ? v.value.daysShort[n.getDay()] + ", " + v.value.monthsShort[t.month - 1] + " " + t.day : v.value.headerTitle(n, t);
2737
- }), re = m(() => [...L.value, ...R.value.map((e) => e.from)].sort((e, t) => e.year - t.year || e.month - t.month)[0]), ie = m(() => [...L.value, ...R.value.map((e) => e.to)].sort((e, t) => t.year - e.year || t.month - e.month)[0]), H = m(() => {
2737
+ }), te = m(() => [...L.value, ...R.value.map((e) => e.from)].sort((e, t) => e.year - t.year || e.month - t.month)[0]), ne = m(() => [...L.value, ...R.value.map((e) => e.to)].sort((e, t) => t.year - e.year || t.month - e.month)[0]), W = m(() => {
2738
2738
  if (e.subtitle !== void 0 && e.subtitle !== null && e.subtitle.length !== 0) return e.subtitle;
2739
- if (ne.value === 0) return Sa;
2740
- if (ne.value > 1) {
2741
- let e = re.value, t = ie.value, n = v.value.monthsShort;
2739
+ if (H.value === 0) return Sa;
2740
+ if (H.value > 1) {
2741
+ let e = te.value, t = ne.value, n = v.value.monthsShort;
2742
2742
  return n[e.month - 1] + (e.year === t.year ? e.month === t.month ? "" : Sa + n[t.month - 1] : " " + e.year + Sa + n[t.month - 1] + " ") + " " + t.year;
2743
2743
  }
2744
2744
  return L.value[0].year;
2745
- }), W = m(() => {
2745
+ }), K = m(() => {
2746
2746
  let e = [i.iconSet.datetime.arrowLeft, i.iconSet.datetime.arrowRight];
2747
2747
  return i.lang.rtl ? e.reverse() : e;
2748
- }), ae = m(() => e.firstDayOfWeek === void 0 ? v.value.firstDayOfWeek : Number(e.firstDayOfWeek)), oe = m(() => {
2749
- let e = v.value.daysShort, t = ae.value;
2748
+ }), re = m(() => e.firstDayOfWeek === void 0 ? v.value.firstDayOfWeek : Number(e.firstDayOfWeek)), ie = m(() => {
2749
+ let e = v.value.daysShort, t = re.value;
2750
2750
  return t > 0 ? [...e.slice(t, 7), ...e.slice(0, t)] : e;
2751
- }), G = m(() => {
2751
+ }), ae = m(() => {
2752
2752
  let t = S.value;
2753
2753
  return e.calendar === "persian" ? ui(t.year, t.month) : new Date(t.year, t.month, 0).getDate();
2754
- }), se = m(() => typeof e.eventColor == "function" ? e.eventColor : () => e.eventColor), K = m(() => {
2754
+ }), oe = m(() => typeof e.eventColor == "function" ? e.eventColor : () => e.eventColor), se = m(() => {
2755
2755
  if (e.navigationMinYearMonth === void 0) return null;
2756
2756
  let t = e.navigationMinYearMonth.split("/");
2757
2757
  return {
@@ -2776,7 +2776,7 @@ var Ta = J({
2776
2776
  next: !0
2777
2777
  }
2778
2778
  };
2779
- return K.value !== null && K.value.year >= S.value.year && (e.year.prev = !1, K.value.year === S.value.year && K.value.month >= S.value.month && (e.month.prev = !1)), q.value !== null && q.value.year <= S.value.year && (e.year.next = !1, q.value.year === S.value.year && q.value.month <= S.value.month && (e.month.next = !1)), e;
2779
+ return se.value !== null && se.value.year >= S.value.year && (e.year.prev = !1, se.value.year === S.value.year && se.value.month >= S.value.month && (e.month.prev = !1)), q.value !== null && q.value.year <= S.value.year && (e.year.next = !1, q.value.year === S.value.year && q.value.month <= S.value.month && (e.month.next = !1)), e;
2780
2780
  }), le = m(() => {
2781
2781
  let e = {};
2782
2782
  return L.value.forEach((t) => {
@@ -2811,27 +2811,27 @@ var Ta = J({
2811
2811
  let { init: e, initHash: t, final: n, finalHash: r } = M.value, [i, a] = t <= r ? [e, n] : [n, e], o = Ca(i), s = Ca(a);
2812
2812
  if (o !== fe.value && s !== fe.value) return;
2813
2813
  let c = {};
2814
- return o === fe.value ? (c.from = i.day, c.includeFrom = !0) : c.from = 1, s === fe.value ? (c.to = a.day, c.includeTo = !0) : c.to = G.value, c;
2814
+ return o === fe.value ? (c.from = i.day, c.includeFrom = !0) : c.from = 1, s === fe.value ? (c.to = a.day, c.includeTo = !0) : c.to = ae.value, c;
2815
2815
  }), fe = m(() => Ca(S.value)), pe = m(() => {
2816
2816
  let t = {};
2817
2817
  if (e.options === void 0) {
2818
- for (let e = 1; e <= G.value; e++) t[e] = !0;
2818
+ for (let e = 1; e <= ae.value; e++) t[e] = !0;
2819
2819
  return t;
2820
2820
  }
2821
2821
  let n = typeof e.options == "function" ? e.options : (t) => e.options.includes(t);
2822
- for (let e = 1; e <= G.value; e++) {
2822
+ for (let e = 1; e <= ae.value; e++) {
2823
2823
  let r = fe.value + "/" + X(e);
2824
2824
  t[e] = n(r);
2825
2825
  }
2826
2826
  return t;
2827
2827
  }), me = m(() => {
2828
2828
  let t = {};
2829
- if (e.events === void 0) for (let e = 1; e <= G.value; e++) t[e] = !1;
2829
+ if (e.events === void 0) for (let e = 1; e <= ae.value; e++) t[e] = !1;
2830
2830
  else {
2831
2831
  let n = typeof e.events == "function" ? e.events : (t) => e.events.includes(t);
2832
- for (let e = 1; e <= G.value; e++) {
2832
+ for (let e = 1; e <= ae.value; e++) {
2833
2833
  let r = fe.value + "/" + X(e);
2834
- t[e] = n(r) && se.value(r);
2834
+ t[e] = n(r) && oe.value(r);
2835
2835
  }
2836
2836
  }
2837
2837
  return t;
@@ -2845,7 +2845,7 @@ var Ta = J({
2845
2845
  a === 0 && (a = 12, o--), n = ui(o, a);
2846
2846
  }
2847
2847
  return {
2848
- days: t.getDay() - ae.value - 1,
2848
+ days: t.getDay() - re.value - 1,
2849
2849
  endDay: n
2850
2850
  };
2851
2851
  }), ge = m(() => {
@@ -2855,7 +2855,7 @@ var Ta = J({
2855
2855
  fill: !0
2856
2856
  });
2857
2857
  let i = e.length;
2858
- for (let t = 1; t <= G.value; t++) {
2858
+ for (let t = 1; t <= ae.value; t++) {
2859
2859
  let n = {
2860
2860
  i: t,
2861
2861
  event: me.value[t],
@@ -2874,7 +2874,7 @@ var Ta = J({
2874
2874
  });
2875
2875
  }), ue.value[fe.value] !== void 0 && ue.value[fe.value].forEach((t) => {
2876
2876
  if (t.from !== void 0) {
2877
- let n = i + t.from - 1, r = i + (t.to || G.value) - 1;
2877
+ let n = i + t.from - 1, r = i + (t.to || ae.value) - 1;
2878
2878
  for (let i = n; i <= r; i++) Object.assign(e[i], {
2879
2879
  range: t.range,
2880
2880
  unelevated: !0,
@@ -2901,7 +2901,7 @@ var Ta = J({
2901
2901
  rangeTo: !0
2902
2902
  });
2903
2903
  } else {
2904
- let n = i + G.value - 1;
2904
+ let n = i + ae.value - 1;
2905
2905
  for (let r = i; r <= n; r++) Object.assign(e[r], {
2906
2906
  range: t.range,
2907
2907
  unelevated: !0,
@@ -2928,22 +2928,22 @@ var Ta = J({
2928
2928
  e.fill ? t += "q-date__calendar-item--fill" : (t += `q-date__calendar-item--${e.in ? "in" : "out"}`, e.range !== void 0 && (t += ` q-date__range${e.rangeTo ? "-to" : e.rangeFrom ? "-from" : ""}`), e.editRange && (t += ` q-date__edit-range${e.editRangeFrom ? "-from" : ""}${e.editRangeTo ? "-to" : ""}`), (e.range !== void 0 || e.editRange) && (t += ` text-${e.color}`)), e.classes = t;
2929
2929
  }), e;
2930
2930
  }), J = m(() => e.disable ? { "aria-disabled": "true" } : {});
2931
- U(() => e.modelValue, (e) => {
2931
+ G(() => e.modelValue, (e) => {
2932
2932
  if (f === JSON.stringify(e)) f = 0;
2933
2933
  else {
2934
2934
  let e = Ee(_.value, v.value);
2935
2935
  Ne(e.year, e.month, e);
2936
2936
  }
2937
- }), U(T, () => {
2937
+ }), G(T, () => {
2938
2938
  g.value !== null && r.$el.contains(document.activeElement) && g.value.focus();
2939
- }), U(() => S.value.year + "|" + S.value.month, () => {
2939
+ }), G(() => S.value.year + "|" + S.value.month, () => {
2940
2940
  n("navigation", {
2941
2941
  year: S.value.year,
2942
2942
  month: S.value.month
2943
2943
  });
2944
- }), U(y, (e) => {
2944
+ }), G(y, (e) => {
2945
2945
  Be(e, v.value, "mask"), _.value = e;
2946
- }), U(b, (e) => {
2946
+ }), G(b, (e) => {
2947
2947
  Be(_.value, e, "locale"), v.value = e;
2948
2948
  });
2949
2949
  function _e(e) {
@@ -3040,7 +3040,7 @@ var Ta = J({
3040
3040
  (le.value[t]?.includes(e.day) === !0 ? ze : Re)(e);
3041
3041
  }
3042
3042
  function Ne(e, t, n) {
3043
- if (K.value !== null && e <= K.value.year && ((t < K.value.month || e < K.value.year) && (t = K.value.month), e = K.value.year), q.value !== null && e >= q.value.year && ((t > q.value.month || e > q.value.year) && (t = q.value.month), e = q.value.year), n !== void 0) {
3043
+ if (se.value !== null && e <= se.value.year && ((t < se.value.month || e < se.value.year) && (t = se.value.month), e = se.value.year), q.value !== null && e >= q.value.year && ((t > q.value.month || e > q.value.year) && (t = q.value.month), e = q.value.year), n !== void 0) {
3044
3044
  let { hour: e, minute: t, second: r, millisecond: i, timezoneOffset: a, timeHash: o } = n;
3045
3045
  Object.assign(S.value, {
3046
3046
  hour: e,
@@ -3089,9 +3089,9 @@ var Ta = J({
3089
3089
  };
3090
3090
  }
3091
3091
  function Le(e, t, n) {
3092
- return e.from === void 0 ? te.value(e, t, n) : {
3093
- from: te.value(e.from, t, n),
3094
- to: te.value(e.to, t, n)
3092
+ return e.from === void 0 ? V.value(e, t, n) : {
3093
+ from: V.value(e.from, t, n),
3094
+ to: V.value(e.to, t, n)
3095
3095
  };
3096
3096
  }
3097
3097
  function Re(t) {
@@ -3123,7 +3123,7 @@ var Ta = J({
3123
3123
  }
3124
3124
  function Ve() {
3125
3125
  if (!e.minimal) return w("div", { class: "q-date__header " + l.value }, [w("div", { class: "relative-position" }, [w(p, { name: "q-transition--fade" }, () => w("div", {
3126
- key: "h-yr-" + H.value,
3126
+ key: "h-yr-" + W.value,
3127
3127
  class: "q-date__header-subtitle q-date__header-link " + (T.value === "Years" ? "q-date__header-link--active" : "cursor-pointer"),
3128
3128
  tabindex: c.value,
3129
3129
  ...o("vY", {
@@ -3134,8 +3134,8 @@ var Ta = J({
3134
3134
  e.keyCode === 13 && (T.value = "Years");
3135
3135
  }
3136
3136
  })
3137
- }, [H.value]))]), w("div", { class: "q-date__header-title relative-position flex no-wrap" }, [w("div", { class: "relative-position col" }, [w(p, { name: "q-transition--fade" }, () => w("div", {
3138
- key: "h-sub" + V.value,
3137
+ }, [W.value]))]), w("div", { class: "q-date__header-title relative-position flex no-wrap" }, [w("div", { class: "relative-position col" }, [w(p, { name: "q-transition--fade" }, () => w("div", {
3138
+ key: "h-sub" + U.value,
3139
3139
  class: "q-date__header-title-label q-date__header-link " + (T.value === "Calendar" ? "q-date__header-link--active" : "cursor-pointer"),
3140
3140
  tabindex: c.value,
3141
3141
  ...o("vC", {
@@ -3146,7 +3146,7 @@ var Ta = J({
3146
3146
  e.keyCode === 13 && (T.value = "Calendar");
3147
3147
  }
3148
3148
  })
3149
- }, [V.value]))]), e.todayBtn ? w(Pt, {
3149
+ }, [U.value]))]), e.todayBtn ? w(Pt, {
3150
3150
  class: "q-date__header-today self-start",
3151
3151
  icon: i.iconSet.datetime.today,
3152
3152
  "aria-label": i.lang.date.today,
@@ -3164,7 +3164,7 @@ var Ta = J({
3164
3164
  dense: !0,
3165
3165
  size: "sm",
3166
3166
  flat: !0,
3167
- icon: W.value[0],
3167
+ icon: K.value[0],
3168
3168
  "aria-label": t === "Years" ? i.lang.date.prevYear : i.lang.date.prevMonth,
3169
3169
  tabindex: c.value,
3170
3170
  disable: !s.prev,
@@ -3187,7 +3187,7 @@ var Ta = J({
3187
3187
  dense: !0,
3188
3188
  size: "sm",
3189
3189
  flat: !0,
3190
- icon: W.value[1],
3190
+ icon: K.value[1],
3191
3191
  "aria-label": t === "Years" ? i.lang.date.nextYear : i.lang.date.nextMonth,
3192
3192
  tabindex: c.value,
3193
3193
  disable: !s.next,
@@ -3219,7 +3219,7 @@ var Ta = J({
3219
3219
  boundaries: ce.value.year,
3220
3220
  cls: ""
3221
3221
  })]),
3222
- w("div", { class: "q-date__calendar-weekdays row items-center no-wrap" }, oe.value.map((e) => w("div", { class: "q-date__calendar-item" }, [w("div", e)]))),
3222
+ w("div", { class: "q-date__calendar-weekdays row items-center no-wrap" }, ie.value.map((e) => w("div", { class: "q-date__calendar-item" }, [w("div", e)]))),
3223
3223
  w("div", { class: "q-date__calendar-days-container relative-position overflow-hidden" }, [w(p, { name: "q-transition--slide-" + D.value }, () => w("div", {
3224
3224
  key: fe.value,
3225
3225
  class: "q-date__calendar-days fit"
@@ -3243,7 +3243,7 @@ var Ta = J({
3243
3243
  }, e.event ? () => w("div", { class: "q-date__event bg-" + e.event }) : null) : w("div", String(e.i))]))))])
3244
3244
  ])],
3245
3245
  Months() {
3246
- let t = s.value && S.value.year === x.value.year, n = (e) => K.value !== null && S.value.year === K.value.year && K.value.month > e || q.value !== null && S.value.year === q.value.year && q.value.month < e, r = v.value.monthsShort.map((e, r) => {
3246
+ let t = s.value && S.value.year === x.value.year, n = (e) => se.value !== null && S.value.year === se.value.year && se.value.month > e || q.value !== null && S.value.year === q.value.year && q.value.month < e, r = v.value.monthsShort.map((e, r) => {
3247
3247
  let i = S.value.month === r + 1;
3248
3248
  return w("div", { class: "q-date__months-item flex flex-center" }, [w(Pt, {
3249
3249
  class: t && x.value.month === r + 1 ? "q-date__today" : null,
@@ -3273,7 +3273,7 @@ var Ta = J({
3273
3273
  }, r);
3274
3274
  },
3275
3275
  Years() {
3276
- let e = j.value, t = e + _a, n = [], r = (e) => K.value !== null && K.value.year > e || q.value !== null && q.value.year < e;
3276
+ let e = j.value, t = e + _a, n = [], r = (e) => se.value !== null && se.value.year > e || q.value !== null && q.value.year < e;
3277
3277
  for (let i = e; i <= t; i++) {
3278
3278
  let e = S.value.year === i;
3279
3279
  n.push(w("div", { class: "q-date__years-item flex flex-center" }, [w(Pt, {
@@ -3297,7 +3297,7 @@ var Ta = J({
3297
3297
  round: !0,
3298
3298
  dense: !0,
3299
3299
  flat: !0,
3300
- icon: W.value[0],
3300
+ icon: K.value[0],
3301
3301
  "aria-label": i.lang.date.prevRangeYears(_a),
3302
3302
  tabindex: c.value,
3303
3303
  disable: r(e),
@@ -3310,7 +3310,7 @@ var Ta = J({
3310
3310
  round: !0,
3311
3311
  dense: !0,
3312
3312
  flat: !0,
3313
- icon: W.value[1],
3313
+ icon: K.value[1],
3314
3314
  "aria-label": i.lang.date.nextRangeYears(_a),
3315
3315
  tabindex: c.value,
3316
3316
  disable: r(t),
@@ -3409,7 +3409,7 @@ var Ta = J({
3409
3409
  },
3410
3410
  emits: ["update:modelValue"],
3411
3411
  setup(e) {
3412
- let t = ie(e, "modelValue");
3412
+ let t = ne(e, "modelValue");
3413
3413
  return (e, n) => (L(), h(Ta, {
3414
3414
  modelValue: t.value,
3415
3415
  "onUpdate:modelValue": n[0] ||= (e) => t.value = e,
@@ -3551,11 +3551,11 @@ function Aa({ showing: e, avoidEmit: t, configureAnchorEl: n }) {
3551
3551
  e == null ? (o.value = null, console.error(`Anchor: target "${r.target}" not found`)) : (o.value = e.$el || e, n());
3552
3552
  }
3553
3553
  }
3554
- return U(() => r.contextMenu, (e) => {
3554
+ return G(() => r.contextMenu, (e) => {
3555
3555
  o.value !== null && (u(), n(e));
3556
- }), U(() => r.target, () => {
3556
+ }), G(() => r.target, () => {
3557
3557
  o.value !== null && u(), f();
3558
- }), U(() => r.noParentEvent, (e) => {
3558
+ }), G(() => r.noParentEvent, (e) => {
3559
3559
  o.value !== null && (e ? u() : n());
3560
3560
  }), I(() => {
3561
3561
  f(), !t && r.modelValue && o.value === null && a("update:modelValue", !1);
@@ -3578,7 +3578,7 @@ function ja(e, t) {
3578
3578
  function a() {
3579
3579
  n.value !== null && (i(n.value), n.value = null);
3580
3580
  }
3581
- let o = U(() => e.noParentEvent, () => {
3581
+ let o = G(() => e.noParentEvent, () => {
3582
3582
  n.value !== null && (a(), t());
3583
3583
  });
3584
3584
  return N(o), {
@@ -3615,7 +3615,7 @@ function Ia({ getValue: e, required: t = !0 } = {}) {
3615
3615
  let n = B(e === void 0 ? null : Pa(e()));
3616
3616
  return t && n.value === null && I(() => {
3617
3617
  n.value = `f_${Na()}`;
3618
- }), e !== void 0 && U(e, (e) => {
3618
+ }), e !== void 0 && G(e, (e) => {
3619
3619
  n.value = Fa(e, t);
3620
3620
  }), n;
3621
3621
  }
@@ -3866,9 +3866,9 @@ var ro = 0, io = J({
3866
3866
  },
3867
3867
  emits: [...Mn],
3868
3868
  setup(e, { slots: t, emit: n, attrs: r }) {
3869
- let i, a, o, s = !1, c, l = C(), { proxy: { $q: u } } = l, d = B(null), f = B(!1), h = Ia(), g = m(() => r.id || h.value), _ = m(() => Xa(e.anchor, u.lang.rtl)), v = m(() => Xa(e.self, u.lang.rtl)), y = m(() => !e.persistent), { registerTick: b, removeTick: x } = An(), { registerTimeout: S } = kn(), { transitionProps: T, transitionStyle: E } = Fn(e), { localScrollTarget: D, changeScrollEvent: O, unconfigureScrollTarget: k } = ja(e, se), { anchorEl: A, canShow: j, anchorEvents: M } = Aa({
3869
+ let i, a, o, s = !1, c, l = C(), { proxy: { $q: u } } = l, d = B(null), f = B(!1), h = Ia(), g = m(() => r.id || h.value), _ = m(() => Xa(e.anchor, u.lang.rtl)), v = m(() => Xa(e.self, u.lang.rtl)), y = m(() => !e.persistent), { registerTick: b, removeTick: x } = An(), { registerTimeout: S } = kn(), { transitionProps: T, transitionStyle: E } = Fn(e), { localScrollTarget: D, changeScrollEvent: O, unconfigureScrollTarget: k } = ja(e, oe), { anchorEl: A, canShow: j, anchorEvents: M } = Aa({
3870
3870
  showing: f,
3871
- configureAnchorEl: W
3871
+ configureAnchorEl: K
3872
3872
  }), { show: P, hide: F } = Nn({
3873
3873
  showing: f,
3874
3874
  canShow: j,
@@ -3878,9 +3878,9 @@ var ro = 0, io = J({
3878
3878
  processOnMount: !0
3879
3879
  });
3880
3880
  Object.assign(M, {
3881
- delayShow: V,
3882
- delayHide: re,
3883
- onFocusin: ie
3881
+ delayShow: U,
3882
+ delayHide: te,
3883
+ onFocusin: ne
3884
3884
  });
3885
3885
  let { showPortal: I, hidePortal: ee, renderPortal: L } = er(l, d, q, "tooltip");
3886
3886
  if (u.platform.is.mobile) {
@@ -3891,39 +3891,39 @@ var ro = 0, io = J({
3891
3891
  return F(e), e.target.classList.contains("q-dialog__backdrop") && Xe(e), !0;
3892
3892
  }
3893
3893
  }, n = m(() => e.modelValue === null && !e.persistent && f.value);
3894
- U(n, (e) => {
3894
+ G(n, (e) => {
3895
3895
  (e ? Va : Ha)(t);
3896
3896
  }), N(() => {
3897
3897
  Ha(t);
3898
3898
  });
3899
- } else U(() => (e.modelValue === null || e["onUpdate:modelValue"]) && f.value === !0 && e.persistent !== !0, (e) => {
3900
- (e === !0 ? Or : kr)(H);
3899
+ } else G(() => (e.modelValue === null || e["onUpdate:modelValue"]) && f.value === !0 && e.persistent !== !0, (e) => {
3900
+ (e === !0 ? Or : kr)(W);
3901
3901
  });
3902
3902
  function R(t) {
3903
- I(), oe(), b(() => {
3903
+ I(), ie(), b(() => {
3904
3904
  if (a?.disconnect(), d.value === null) {
3905
3905
  a = void 0;
3906
3906
  return;
3907
3907
  }
3908
- a = new MutationObserver(() => ne()), a.observe(d.value, {
3908
+ a = new MutationObserver(() => H()), a.observe(d.value, {
3909
3909
  attributes: !1,
3910
3910
  childList: !0,
3911
3911
  characterData: !0,
3912
3912
  subtree: !0
3913
- }), ne(), se();
3914
- }), i === void 0 && (i = U(() => u.screen.width + "|" + u.screen.height + "|" + e.self + "|" + e.anchor + "|" + u.lang.rtl, ne)), S(() => {
3913
+ }), H(), oe();
3914
+ }), i === void 0 && (i = G(() => u.screen.width + "|" + u.screen.height + "|" + e.self + "|" + e.anchor + "|" + u.lang.rtl, H)), S(() => {
3915
3915
  I(!0), n("show", t);
3916
3916
  }, e.transitionDuration);
3917
3917
  }
3918
3918
  function z(t) {
3919
- x(), ee(), te(), S(() => {
3919
+ x(), ee(), V(), S(() => {
3920
3920
  ee(!0), n("hide", t);
3921
3921
  }, e.transitionDuration);
3922
3922
  }
3923
- function te() {
3924
- a !== void 0 && (a.disconnect(), a = void 0), i !== void 0 && (i(), i = void 0), k(), kr(H), Qe(M, "tooltipTemp"), G(), ae(!1);
3923
+ function V() {
3924
+ a !== void 0 && (a.disconnect(), a = void 0), i !== void 0 && (i(), i = void 0), k(), kr(W), Qe(M, "tooltipTemp"), ae(), re(!1);
3925
3925
  }
3926
- function ne() {
3926
+ function H() {
3927
3927
  to({
3928
3928
  targetEl: d.value,
3929
3929
  offset: e.offset,
@@ -3934,9 +3934,9 @@ var ro = 0, io = J({
3934
3934
  maxWidth: e.maxWidth
3935
3935
  });
3936
3936
  }
3937
- function V(t) {
3937
+ function U(t) {
3938
3938
  if (u.platform.is.mobile) {
3939
- o !== void 0 && (clearTimeout(o), o = void 0), Da(), ae(!0);
3939
+ o !== void 0 && (clearTimeout(o), o = void 0), Da(), re(!0);
3940
3940
  let e = A.value, t = [
3941
3941
  "touchmove",
3942
3942
  "touchcancel",
@@ -3954,26 +3954,26 @@ var ro = 0, io = J({
3954
3954
  P(t);
3955
3955
  }, e.delay);
3956
3956
  }
3957
- function re(t) {
3957
+ function te(t) {
3958
3958
  u.platform.is.mobile && (Qe(M, "tooltipTemp"), Da(), o = setTimeout(() => {
3959
- o = void 0, ae(!1);
3959
+ o = void 0, re(!1);
3960
3960
  }, 10)), S(() => {
3961
3961
  F(t);
3962
3962
  }, e.hideDelay);
3963
3963
  }
3964
- function ie(e) {
3964
+ function ne(e) {
3965
3965
  let t = e.target;
3966
3966
  if (t) {
3967
3967
  try {
3968
3968
  if (t.matches(":focus-visible") === !1) return;
3969
3969
  } catch {}
3970
- V(e);
3970
+ U(e);
3971
3971
  }
3972
3972
  }
3973
- function H(e) {
3973
+ function W(e) {
3974
3974
  F(e);
3975
3975
  }
3976
- function W() {
3976
+ function K() {
3977
3977
  if (e.noParentEvent || A.value === null) return;
3978
3978
  let t = u.platform.is.mobile ? [[
3979
3979
  A.value,
@@ -4008,10 +4008,10 @@ var ro = 0, io = J({
4008
4008
  ];
4009
4009
  Ze(M, "anchor", t);
4010
4010
  }
4011
- function ae(e) {
4011
+ function re(e) {
4012
4012
  s !== e && (s = e, ro += e ? 1 : -1, document.body.classList.toggle("non-selectable", ro > 0), !e && o !== void 0 && (clearTimeout(o), o = void 0));
4013
4013
  }
4014
- function oe() {
4014
+ function ie() {
4015
4015
  let e = A.value, t = g.value;
4016
4016
  if (e === null || t === void 0) return;
4017
4017
  let n = (e.getAttribute("aria-describedby") || "").split(/\s+/).filter(Boolean);
@@ -4021,21 +4021,21 @@ var ro = 0, io = J({
4021
4021
  added: !n.includes(t)
4022
4022
  }, c.added && (n.push(t), e.setAttribute("aria-describedby", n.join(" ")));
4023
4023
  }
4024
- function G() {
4024
+ function ae() {
4025
4025
  if (c?.added === !0) {
4026
4026
  let { el: e, id: t } = c, n = (e.getAttribute("aria-describedby") || "").split(/\s+/).filter((e) => e !== "" && e !== t);
4027
4027
  n.length === 0 ? e.removeAttribute("aria-describedby") : e.setAttribute("aria-describedby", n.join(" "));
4028
4028
  }
4029
4029
  c = void 0;
4030
4030
  }
4031
- function se() {
4031
+ function oe() {
4032
4032
  if (A.value !== null || e.scrollTarget !== void 0) {
4033
4033
  D.value = rr(A.value, e.scrollTarget);
4034
- let t = e.noParentEvent ? ne : F;
4034
+ let t = e.noParentEvent ? H : F;
4035
4035
  O(D.value, t);
4036
4036
  }
4037
4037
  }
4038
- function K() {
4038
+ function se() {
4039
4039
  return f.value ? w("div", {
4040
4040
  ...r,
4041
4041
  id: g.value,
@@ -4046,9 +4046,9 @@ var ro = 0, io = J({
4046
4046
  }, ye(t.default)) : null;
4047
4047
  }
4048
4048
  function q() {
4049
- return w(p, T.value, K);
4049
+ return w(p, T.value, se);
4050
4050
  }
4051
- return N(te), Object.assign(l.proxy, { updatePosition: ne }), L;
4051
+ return N(V), Object.assign(l.proxy, { updatePosition: H }), L;
4052
4052
  }
4053
4053
  }), ao = /^on[A-Z]/;
4054
4054
  function oo() {
@@ -4073,7 +4073,7 @@ function so({ validate: e, resetValidation: t, requiresQForm: n }) {
4073
4073
  Object.assign(i, {
4074
4074
  validate: e,
4075
4075
  resetValidation: t
4076
- }), U(() => n.disable, (e) => {
4076
+ }), G(() => n.disable, (e) => {
4077
4077
  e ? (typeof t == "function" && t(), r.unbindComponent(i)) : r.bindComponent(i);
4078
4078
  }), I(() => {
4079
4079
  n.disable || r.bindComponent(i);
@@ -4142,18 +4142,18 @@ function Co(e, t) {
4142
4142
  resetValidation: h
4143
4143
  });
4144
4144
  let s = 0, c, l = m(() => n.rules !== void 0 && n.rules !== null && n.rules.length !== 0), u = m(() => !n.disable && l.value && !t.value), d = m(() => n.error === !0 || i.value), f = m(() => typeof n.errorMessage == "string" && n.errorMessage.length !== 0 ? n.errorMessage : a.value);
4145
- U(() => n.modelValue, () => {
4145
+ G(() => n.modelValue, () => {
4146
4146
  o.value = !0, u.value && n.lazyRules === !1 && _();
4147
4147
  });
4148
4148
  function p() {
4149
4149
  n.lazyRules !== "ondemand" && u.value && o.value && _();
4150
4150
  }
4151
- U(() => n.reactiveRules, (e) => {
4152
- e ? c === void 0 && (c = U(() => n.rules, p, {
4151
+ G(() => n.reactiveRules, (e) => {
4152
+ e ? c === void 0 && (c = G(() => n.rules, p, {
4153
4153
  immediate: !0,
4154
4154
  deep: !0
4155
4155
  })) : c !== void 0 && (c(), c = void 0);
4156
- }, { immediate: !0 }), U(() => n.lazyRules, p), U(e, (e) => {
4156
+ }, { immediate: !0 }), G(() => n.lazyRules, p), G(e, (e) => {
4157
4157
  e ? o.value = !0 : u.value && n.lazyRules !== "ondemand" && _();
4158
4158
  });
4159
4159
  function h() {
@@ -4500,17 +4500,17 @@ function zo(e, t, n, r) {
4500
4500
  "password"
4501
4501
  ].includes(e.type);
4502
4502
  }
4503
- U(() => e.type + e.autogrow, _), U(() => e.mask, (n) => {
4503
+ G(() => e.type + e.autogrow, _), G(() => e.mask, (n) => {
4504
4504
  if (n !== void 0) v(f.value, !0);
4505
4505
  else {
4506
4506
  let n = T(f.value);
4507
4507
  _(), e.modelValue !== n && t("update:modelValue", n);
4508
4508
  }
4509
- }), U(() => e.fillMask + e.reverseFillMask, () => {
4509
+ }), G(() => e.fillMask + e.reverseFillMask, () => {
4510
4510
  d.value && v(f.value, !0);
4511
- }), U(() => e.unmaskedValue, () => {
4511
+ }), G(() => e.unmaskedValue, () => {
4512
4512
  d.value && v(f.value);
4513
- }), U(() => e.maskTokens, () => {
4513
+ }), G(() => e.maskTokens, () => {
4514
4514
  d.value && v(f.value, !0);
4515
4515
  }, { deep: !0 });
4516
4516
  function h() {
@@ -4779,8 +4779,8 @@ var Ko = J({
4779
4779
  ...T.splitAttrs.listeners.value,
4780
4780
  onInput: L,
4781
4781
  onPaste: ee,
4782
- onChange: re,
4783
- onBlur: ie,
4782
+ onChange: te,
4783
+ onBlur: ne,
4784
4784
  onFocus: Je
4785
4785
  };
4786
4786
  return t.onCompositionstart = t.onCompositionupdate = t.onCompositionend = S, h.value && (t.onKeydown = v, t.onClick = y), e.autogrow && (t.onAnimationend = R), t;
@@ -4799,18 +4799,18 @@ var Ko = J({
4799
4799
  };
4800
4800
  return E.value || (t.type = e.type), e.autogrow && (t.rows = 1), t;
4801
4801
  });
4802
- U(() => e.type, () => {
4802
+ G(() => e.type, () => {
4803
4803
  d.value && (d.value.value = e.modelValue);
4804
- }), U(() => e.modelValue, (t) => {
4805
- if (l !== null && (te(), s = !1, c = !1, delete a.value), h.value) {
4804
+ }), G(() => e.modelValue, (t) => {
4805
+ if (l !== null && (V(), s = !1, c = !1, delete a.value), h.value) {
4806
4806
  if (c && (c = !1, String(t) === o)) return;
4807
4807
  _(t);
4808
4808
  } else p.value !== t && (p.value = t, e.type === "number" && Object.hasOwn(a, "value") && (s ? s = !1 : delete a.value), e.modelModifiers?.trim === !0 && Object.hasOwn(a, "value") && (typeof a.value != "string" || a.value.trim() !== t) && delete a.value);
4809
- e.autogrow && k(V);
4810
- }), U(() => e.autogrow, (e) => {
4811
- e ? k(V) : d.value !== null && n.rows > 0 && (d.value.style.height = "auto");
4812
- }), U(() => e.dense, () => {
4813
- e.autogrow && k(V);
4809
+ e.autogrow && k(U);
4810
+ }), G(() => e.autogrow, (e) => {
4811
+ e ? k(U) : d.value !== null && n.rows > 0 && (d.value.style.height = "auto");
4812
+ }), G(() => e.dense, () => {
4813
+ e.autogrow && k(U);
4814
4814
  });
4815
4815
  function j() {
4816
4816
  let e = document.activeElement;
@@ -4852,10 +4852,10 @@ var Ko = J({
4852
4852
  n.target === document.activeElement && r.indexOf(n.target.value) === 0 && n.target.setSelectionRange(e, t);
4853
4853
  });
4854
4854
  }
4855
- e.autogrow && V();
4855
+ e.autogrow && U();
4856
4856
  }
4857
4857
  function R(e) {
4858
- t("animationend", e), V();
4858
+ t("animationend", e), U();
4859
4859
  }
4860
4860
  function z(n, r) {
4861
4861
  u = () => {
@@ -4864,13 +4864,13 @@ var Ko = J({
4864
4864
  })), u = void 0;
4865
4865
  }, e.type === "number" && (s = !0, a.value = n), e.debounce === void 0 ? u() : (l !== null && clearTimeout(l), a.value = n, l = setTimeout(u, e.debounce));
4866
4866
  }
4867
- function te() {
4867
+ function V() {
4868
4868
  l !== null && (clearTimeout(l), l = null), u = void 0;
4869
4869
  }
4870
- function ne() {
4871
- te(), s = !1, c = !1, delete a.value;
4870
+ function H() {
4871
+ V(), s = !1, c = !1, delete a.value;
4872
4872
  }
4873
- function V() {
4873
+ function U() {
4874
4874
  requestAnimationFrame(() => {
4875
4875
  let e = d.value;
4876
4876
  if (e !== null) {
@@ -4879,28 +4879,28 @@ var Ko = J({
4879
4879
  }
4880
4880
  });
4881
4881
  }
4882
- function re(e) {
4882
+ function te(e) {
4883
4883
  S(e), l !== null && (clearTimeout(l), l = null), u?.(), t("change", e.target.value);
4884
4884
  }
4885
- function ie(t) {
4885
+ function ne(t) {
4886
4886
  t !== void 0 && Je(t), l !== null && (clearTimeout(l), l = null), u?.(), s = !1, c = !1, delete a.value, e.type !== "file" && setTimeout(() => {
4887
4887
  d.value !== null && (d.value.value = p.value === void 0 ? "" : p.value);
4888
4888
  }, 0);
4889
4889
  }
4890
- function H() {
4890
+ function W() {
4891
4891
  return Object.hasOwn(a, "value") ? a.value : p.value === void 0 ? "" : p.value;
4892
4892
  }
4893
4893
  N(() => {
4894
- ie();
4894
+ ne();
4895
4895
  }), I(() => {
4896
- e.autogrow && V();
4896
+ e.autogrow && U();
4897
4897
  }), Object.assign(T, {
4898
4898
  innerValue: p,
4899
4899
  fieldClass: m(() => `q-${E.value ? "textarea" : "input"}` + (e.autogrow ? " q-textarea--autogrow" : "")),
4900
4900
  hasShadow: m(() => e.type !== "file" && typeof e.shadowText == "string" && e.shadowText.length !== 0),
4901
4901
  inputRef: d,
4902
4902
  emitValue: z,
4903
- onClear: ne,
4903
+ onClear: H,
4904
4904
  hasValue: x,
4905
4905
  floatingLabel: m(() => x.value && (e.type !== "number" || Number.isFinite(Number(p.value))) || wo(e.displayValue)),
4906
4906
  getControl: () => w(E.value ? "textarea" : "input", {
@@ -4909,17 +4909,17 @@ var Ko = J({
4909
4909
  style: e.inputStyle,
4910
4910
  ...A.value,
4911
4911
  ...O.value,
4912
- ...e.type === "file" ? b.value : { value: H() }
4912
+ ...e.type === "file" ? b.value : { value: W() }
4913
4913
  }),
4914
- getShadowControl: () => w("div", { class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (E.value ? "" : " text-no-wrap") }, [w("span", { class: "invisible" }, H()), w("span", e.shadowText)])
4914
+ getShadowControl: () => w("div", { class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (E.value ? "" : " text-no-wrap") }, [w("span", { class: "invisible" }, W()), w("span", e.shadowText)])
4915
4915
  });
4916
- let W = ko(T);
4916
+ let K = ko(T);
4917
4917
  return Object.assign(r, {
4918
4918
  focus: M,
4919
4919
  blur: P,
4920
4920
  select: F,
4921
4921
  getNativeElement: () => d.value
4922
- }), ge(r, "nativeEl", () => d.value), W;
4922
+ }), ge(r, "nativeEl", () => d.value), K;
4923
4923
  }
4924
4924
  });
4925
4925
  //#endregion
@@ -5087,7 +5087,7 @@ var Jo = {
5087
5087
  }),
5088
5088
  emits: /*@__PURE__*/ D(["remove"], ["update:modelValue"]),
5089
5089
  setup(e, { expose: n, emit: r }) {
5090
- let i = re(), { isRequired: a, requiredFieldRule: o } = t(i), { t: s } = K(), c = r, l = e, u = ie(e, "modelValue"), d = [
5090
+ let i = te(), { isRequired: a, requiredFieldRule: o } = t(i), { t: s } = se(), c = r, l = e, u = ne(e, "modelValue"), d = [
5091
5091
  "number",
5092
5092
  "search",
5093
5093
  "tel",
@@ -5151,58 +5151,58 @@ var Jo = {
5151
5151
  }, [x(Ko, O({
5152
5152
  ref_key: "vnInputRef",
5153
5153
  ref: p,
5154
- "model-value": V(u),
5154
+ "model-value": U(u),
5155
5155
  "onUpdate:modelValue": f
5156
5156
  }, {
5157
- ...V(i),
5157
+ ...U(i),
5158
5158
  ...S.value
5159
5159
  }, {
5160
- class: { required: V(a) },
5160
+ class: { required: U(a) },
5161
5161
  onKeydown: E,
5162
5162
  onFocus: w,
5163
5163
  clearable: !1,
5164
5164
  rules: T.value,
5165
5165
  "lazy-rules": !0,
5166
5166
  "hide-bottom-space": "",
5167
- "data-cy": (V(i)["data-cy"] ?? V(i).label) + "_input",
5167
+ "data-cy": (U(i)["data-cy"] ?? U(i).label) + "_input",
5168
5168
  dense: ""
5169
5169
  }), y({
5170
- append: W(() => [
5171
- ae(x(Ie, {
5170
+ append: K(() => [
5171
+ re(x(Ie, {
5172
5172
  name: "close",
5173
5173
  size: "xs",
5174
5174
  class: "cursor-pointer",
5175
- style: j({ visibility: v.value && V(u) && !V(i).disabled && !V(i).readonly && l.clearable ? "visible" : "hidden" }),
5175
+ style: j({ visibility: v.value && U(u) && !U(i).disabled && !U(i).readonly && l.clearable ? "visible" : "hidden" }),
5176
5176
  onClick: n[0] ||= () => {
5177
5177
  f(null), p.value?.focus(), c("remove");
5178
5178
  }
5179
5179
  }, {
5180
- default: W(() => [x(io, null, {
5181
- default: W(() => [b(ne(V(s)("Remove")), 1)]),
5180
+ default: K(() => [x(io, null, {
5181
+ default: K(() => [b(H(U(s)("Remove")), 1)]),
5182
5182
  _: 1
5183
5183
  })]),
5184
5184
  _: 1
5185
- }, 8, ["style"]), [[H, !e.clearOnHover || v.value]]),
5186
- !V(i).disabled && !V(i).readonly && l.uppercase ? (L(), h(Ie, {
5185
+ }, 8, ["style"]), [[W, !e.clearOnHover || v.value]]),
5186
+ !U(i).disabled && !U(i).readonly && l.uppercase ? (L(), h(Ie, {
5187
5187
  key: 0,
5188
5188
  name: "match_case",
5189
5189
  size: "xs",
5190
5190
  onClick: A,
5191
5191
  class: "uppercase-icon"
5192
5192
  }, {
5193
- default: W(() => [x(io, null, {
5194
- default: W(() => [b(ne(V(s)("Convert to uppercase")), 1)]),
5193
+ default: K(() => [x(io, null, {
5194
+ default: K(() => [b(H(U(s)("Convert to uppercase")), 1)]),
5195
5195
  _: 1
5196
5196
  })]),
5197
5197
  _: 1
5198
5198
  })) : g("", !0),
5199
- t.$slots.append && !V(i).disabled ? te(t.$slots, "append", {}, void 0, void 0, 1) : g("", !0),
5199
+ t.$slots.append && !U(i).disabled ? V(t.$slots, "append", {}, void 0, void 0, 1) : g("", !0),
5200
5200
  e.info ? (L(), h(Ie, {
5201
5201
  key: 2,
5202
5202
  name: "info"
5203
5203
  }, {
5204
- default: W(() => [x(io, { "max-width": "350px" }, {
5205
- default: W(() => [b(ne(e.info), 1)]),
5204
+ default: K(() => [x(io, { "max-width": "350px" }, {
5205
+ default: K(() => [b(H(e.info), 1)]),
5206
5206
  _: 1
5207
5207
  })]),
5208
5208
  _: 1
@@ -5211,11 +5211,11 @@ var Jo = {
5211
5211
  _: 2
5212
5212
  }, [t.$slots.hint ? {
5213
5213
  name: "hint",
5214
- fn: W(() => [te(t.$slots, "hint")]),
5214
+ fn: K(() => [V(t.$slots, "hint")]),
5215
5215
  key: "0"
5216
5216
  } : void 0, t.$slots.prepend ? {
5217
5217
  name: "prepend",
5218
- fn: W(() => [te(t.$slots, "prepend")]),
5218
+ fn: K(() => [V(t.$slots, "prepend")]),
5219
5219
  key: "1"
5220
5220
  } : void 0]), 1040, [
5221
5221
  "model-value",
@@ -5275,23 +5275,23 @@ var Yo = J({
5275
5275
  "escapeKey"
5276
5276
  ],
5277
5277
  setup(e, { slots: t, emit: n, attrs: r }) {
5278
- let i = null, a, o, s, c = C(), { proxy: l } = c, { $q: u } = l, d = B(null), f = B(!1), h = m(() => !e.persistent && !e.noRouteDismiss), g = Rt(e, u), { registerTick: _, removeTick: v } = An(), { registerTimeout: y } = kn(), { transitionProps: b, transitionStyle: x } = Fn(e), { localScrollTarget: S, changeScrollEvent: T, unconfigureScrollTarget: E } = ja(e, ie), { anchorEl: D, canShow: O } = Aa({ showing: f }), { hide: k } = Nn({
5278
+ let i = null, a, o, s, c = C(), { proxy: l } = c, { $q: u } = l, d = B(null), f = B(!1), h = m(() => !e.persistent && !e.noRouteDismiss), g = Rt(e, u), { registerTick: _, removeTick: v } = An(), { registerTimeout: y } = kn(), { transitionProps: b, transitionStyle: x } = Fn(e), { localScrollTarget: S, changeScrollEvent: T, unconfigureScrollTarget: E } = ja(e, ne), { anchorEl: D, canShow: O } = Aa({ showing: f }), { hide: k } = Nn({
5279
5279
  showing: f,
5280
5280
  canShow: O,
5281
- handleShow: te,
5282
- handleHide: ne,
5283
- handleRouteChange: V,
5281
+ handleShow: V,
5282
+ handleHide: H,
5283
+ handleRouteChange: U,
5284
5284
  hideOnRouteChange: h,
5285
5285
  processOnMount: !0
5286
- }), { showPortal: A, hidePortal: j, renderPortal: M } = er(c, d, G, "menu"), P = {
5286
+ }), { showPortal: A, hidePortal: j, renderPortal: M } = er(c, d, ae, "menu"), P = {
5287
5287
  anchorEl: D,
5288
5288
  innerRef: d,
5289
5289
  onClickOutside(t) {
5290
5290
  if (!e.persistent && f.value) return k(t), (t.type === "touchstart" || t.target.classList.contains("q-dialog__backdrop")) && Xe(t), !0;
5291
5291
  }
5292
- }, F = m(() => Xa(e.anchor || (e.cover ? "center middle" : "bottom start"), u.lang.rtl)), I = m(() => e.cover ? F.value : Xa(e.self || "top start", u.lang.rtl)), ee = m(() => (e.square ? " q-menu--square" : "") + (g.value ? " q-menu--dark q-dark" : "")), L = m(() => e.autoClose ? { onClick: H } : {}), R = m(() => f.value && !e.persistent);
5293
- U(R, (e) => {
5294
- e ? (Or(ae), Va(P)) : (kr(ae), Ha(P));
5292
+ }, F = m(() => Xa(e.anchor || (e.cover ? "center middle" : "bottom start"), u.lang.rtl)), I = m(() => e.cover ? F.value : Xa(e.self || "top start", u.lang.rtl)), ee = m(() => (e.square ? " q-menu--square" : "") + (g.value ? " q-menu--dark q-dark" : "")), L = m(() => e.autoClose ? { onClick: W } : {}), R = m(() => f.value && !e.persistent);
5293
+ G(R, (e) => {
5294
+ e ? (Or(re), Va(P)) : (kr(re), Ha(P));
5295
5295
  });
5296
5296
  function z() {
5297
5297
  Un(() => {
@@ -5299,8 +5299,8 @@ var Yo = J({
5299
5299
  e && !e.contains(document.activeElement) && (e = e.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]") || e.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]") || e.querySelector("[autofocus], [data-autofocus]") || e, e.focus({ preventScroll: !0 }));
5300
5300
  });
5301
5301
  }
5302
- function te(t) {
5303
- if (i = e.noRefocus ? null : document.activeElement, Mr(W), A(), ie(), a = void 0, t !== void 0 && (e.touchPosition || e.contextMenu)) {
5302
+ function V(t) {
5303
+ if (i = e.noRefocus ? null : document.activeElement, Mr(K), A(), ne(), a = void 0, t !== void 0 && (e.touchPosition || e.contextMenu)) {
5304
5304
  let e = qe(t);
5305
5305
  if (e.left !== void 0) {
5306
5306
  let { top: t, left: n } = D.value.getBoundingClientRect();
@@ -5310,14 +5310,14 @@ var Yo = J({
5310
5310
  };
5311
5311
  }
5312
5312
  }
5313
- o === void 0 && (o = U(() => u.screen.width + "|" + u.screen.height + "|" + e.self + "|" + e.anchor + "|" + u.lang.rtl, oe)), e.noFocus || document.activeElement.blur(), _(() => {
5314
- oe(), e.noFocus || z();
5313
+ o === void 0 && (o = G(() => u.screen.width + "|" + u.screen.height + "|" + e.self + "|" + e.anchor + "|" + u.lang.rtl, ie)), e.noFocus || document.activeElement.blur(), _(() => {
5314
+ ie(), e.noFocus || z();
5315
5315
  }), y(() => {
5316
- u.platform.is.ios && (s = e.autoClose, d.value.click()), oe(), A(!0), n("show", t);
5316
+ u.platform.is.ios && (s = e.autoClose, d.value.click()), ie(), A(!0), n("show", t);
5317
5317
  }, e.transitionDuration);
5318
5318
  }
5319
- function ne(t) {
5320
- if (v(), j(), re(!0), i !== null && (t === void 0 || !t.qClickOutside)) {
5319
+ function H(t) {
5320
+ if (v(), j(), te(!0), i !== null && (t === void 0 || !t.qClickOutside)) {
5321
5321
  let e = (t?.type.indexOf("key") === 0 ? i.closest("[tabindex]:not([tabindex^=\"-\"])") : void 0) || i;
5322
5322
  i = null, Un(() => {
5323
5323
  e.isConnected && e.focus();
@@ -5327,25 +5327,25 @@ var Yo = J({
5327
5327
  j(!0), n("hide", t);
5328
5328
  }, e.transitionDuration);
5329
5329
  }
5330
- function V() {
5330
+ function U() {
5331
5331
  i = null;
5332
5332
  }
5333
- function re(e) {
5334
- a = void 0, o !== void 0 && (o(), o = void 0), (e || f.value) && (Nr(W), E(), Ha(P), kr(ae)), e || (i = null);
5333
+ function te(e) {
5334
+ a = void 0, o !== void 0 && (o(), o = void 0), (e || f.value) && (Nr(K), E(), Ha(P), kr(re)), e || (i = null);
5335
5335
  }
5336
- function ie() {
5337
- (D.value !== null || e.scrollTarget !== void 0) && (S.value = rr(D.value, e.scrollTarget), T(S.value, oe));
5336
+ function ne() {
5337
+ (D.value !== null || e.scrollTarget !== void 0) && (S.value = rr(D.value, e.scrollTarget), T(S.value, ie));
5338
5338
  }
5339
- function H(e) {
5339
+ function W(e) {
5340
5340
  s ? s = !1 : (Ln(l, e), n("click", e));
5341
5341
  }
5342
- function W(t) {
5342
+ function K(t) {
5343
5343
  R.value && !e.noFocus && !We(d.value, t.target) && z();
5344
5344
  }
5345
- function ae(t) {
5345
+ function re(t) {
5346
5346
  e.noEscDismiss || (n("escapeKey"), k(t));
5347
5347
  }
5348
- function oe() {
5348
+ function ie() {
5349
5349
  to({
5350
5350
  targetEl: d.value,
5351
5351
  offset: e.offset,
@@ -5359,7 +5359,7 @@ var Yo = J({
5359
5359
  maxWidth: e.maxWidth
5360
5360
  });
5361
5361
  }
5362
- function G() {
5362
+ function ae() {
5363
5363
  return w(p, b.value, () => f.value ? w("div", {
5364
5364
  role: "menu",
5365
5365
  ...r,
@@ -5371,10 +5371,10 @@ var Yo = J({
5371
5371
  }, ye(t.default)) : null);
5372
5372
  }
5373
5373
  return N(() => {
5374
- re();
5374
+ te();
5375
5375
  }), Object.assign(l, {
5376
5376
  focus: z,
5377
- updatePosition: oe
5377
+ updatePosition: ie
5378
5378
  }), M;
5379
5379
  }
5380
5380
  });
@@ -5636,7 +5636,7 @@ function $o(e, t) {
5636
5636
  return RegExp(`^${r}$`, "i").test(n);
5637
5637
  }
5638
5638
  //#endregion
5639
- //#region dist/composables-CAAnziP1.js
5639
+ //#region dist/composables-DXlQ2J5P.js
5640
5640
  var Z = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports);
5641
5641
  function es() {
5642
5642
  let e = Zo().validations;
@@ -5648,7 +5648,7 @@ function es() {
5648
5648
  let c = n[s].validations;
5649
5649
  if (c[o]) return c[o].map((e) => r(e)[e.validation]);
5650
5650
  }
5651
- let { t: n } = K({ useScope: "global" }), r = function(e = {}) {
5651
+ let { t: n } = se({ useScope: "global" }), r = function(e = {}) {
5652
5652
  return {
5653
5653
  format: (t) => {
5654
5654
  let { allowNull: r, with: i, allowBlank: a } = e, o = n(e.message) || e.message;
@@ -6404,7 +6404,7 @@ function kc(e) {
6404
6404
  return e.presenterOptions.quoteStyle === "single" && Dc(e.allowedStylesMask, $.SINGLE_QUOTED) ? $.SINGLE_QUOTED : $.DOUBLE_QUOTED;
6405
6405
  }
6406
6406
  function Ac(e) {
6407
- e.presenterOptions.quoteFlowKeys && (!e.isKey || !e.flowOnly || e.style !== $.PLAIN || (e.style = $.DOUBLE_QUOTED));
6407
+ e.presenterOptions.quoteFlowKeys && e.isKey && e.flowOnly && e.style === $.PLAIN && (e.style = $.DOUBLE_QUOTED);
6408
6408
  }
6409
6409
  function jc(e) {
6410
6410
  e.style === $.PLAIN && /[\t\x7F-\xA0\u2028\u2029\uFEFF\uFFFE\uFFFF]/.test(e.node.value) && (e.style = $.DOUBLE_QUOTED);
@@ -6465,7 +6465,7 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
6465
6465
  }
6466
6466
  return v.call(t, n, "$&_");
6467
6467
  }
6468
- var P = ll(), F = P.custom, I = W(F) ? F : null, ee = {
6468
+ var P = ll(), F = P.custom, I = K(F) ? F : null, ee = {
6469
6469
  __proto__: null,
6470
6470
  double: "\"",
6471
6471
  single: "'"
@@ -6476,12 +6476,12 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
6476
6476
  };
6477
6477
  t.exports = function e(t, n, r, o) {
6478
6478
  var s = n || {};
6479
- if (G(s, "quoteStyle") && !G(ee, s.quoteStyle)) throw TypeError("option \"quoteStyle\" must be \"single\" or \"double\"");
6480
- if (G(s, "maxStringLength") && (typeof s.maxStringLength == "number" ? s.maxStringLength < 0 && s.maxStringLength !== Infinity : s.maxStringLength !== null)) throw TypeError("option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`");
6481
- var u = !G(s, "customInspect") || s.customInspect;
6479
+ if (ae(s, "quoteStyle") && !ae(ee, s.quoteStyle)) throw TypeError("option \"quoteStyle\" must be \"single\" or \"double\"");
6480
+ if (ae(s, "maxStringLength") && (typeof s.maxStringLength == "number" ? s.maxStringLength < 0 && s.maxStringLength !== Infinity : s.maxStringLength !== null)) throw TypeError("option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`");
6481
+ var u = !ae(s, "customInspect") || s.customInspect;
6482
6482
  if (typeof u != "boolean" && u !== "symbol") throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
6483
- if (G(s, "indent") && s.indent !== null && s.indent !== " " && !(parseInt(s.indent, 10) === s.indent && s.indent > 0)) throw TypeError("option \"indent\" must be \"\\t\", an integer > 0, or `null`");
6484
- if (G(s, "numericSeparator") && typeof s.numericSeparator != "boolean") throw TypeError("option \"numericSeparator\", if provided, must be `true` or `false`");
6483
+ if (ae(s, "indent") && s.indent !== null && s.indent !== " " && !(parseInt(s.indent, 10) === s.indent && s.indent > 0)) throw TypeError("option \"indent\" must be \"\\t\", an integer > 0, or `null`");
6484
+ if (ae(s, "numericSeparator") && typeof s.numericSeparator != "boolean") throw TypeError("option \"numericSeparator\", if provided, must be `true` or `false`");
6485
6485
  var d = s.numericSeparator;
6486
6486
  if (t === void 0) return "undefined";
6487
6487
  if (t === null) return "null";
@@ -6497,22 +6497,22 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
6497
6497
  return d ? N(t, m) : m;
6498
6498
  }
6499
6499
  var h = s.depth === void 0 ? 5 : s.depth;
6500
- if (r === void 0 && (r = 0), r >= h && h > 0 && typeof t == "object") return te(t) ? "[Array]" : "[Object]";
6500
+ if (r === void 0 && (r = 0), r >= h && h > 0 && typeof t == "object") return V(t) ? "[Array]" : "[Object]";
6501
6501
  var g = ye(s, r);
6502
6502
  if (o === void 0) o = [];
6503
6503
  else if (q(o, t) >= 0) return "[Circular]";
6504
6504
  function y(t, n, i) {
6505
6505
  if (n && (o = w.call(o), o.push(n)), i) {
6506
6506
  var a = { depth: s.depth };
6507
- return G(s, "quoteStyle") && (a.quoteStyle = s.quoteStyle), e(t, a, r + 1, o);
6507
+ return ae(s, "quoteStyle") && (a.quoteStyle = s.quoteStyle), e(t, a, r + 1, o);
6508
6508
  }
6509
6509
  return e(t, s, r + 1, o);
6510
6510
  }
6511
- if (typeof t == "function" && !V(t)) {
6512
- var x = K(t), T = xe(t, y);
6511
+ if (typeof t == "function" && !U(t)) {
6512
+ var x = se(t), T = xe(t, y);
6513
6513
  return "[Function" + (x ? ": " + x : " (anonymous)") + "]" + (T.length > 0 ? " { " + C.call(T, ", ") + " }" : "");
6514
6514
  }
6515
- if (W(t)) {
6515
+ if (K(t)) {
6516
6516
  var D = k ? v.call(String(t), /^(Symbol\(.*\))_[^)]*$/, "$1") : O.call(t);
6517
6517
  return typeof t == "object" && !k ? ge(D) : D;
6518
6518
  }
@@ -6520,12 +6520,12 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
6520
6520
  for (var F = "<" + b.call(String(t.nodeName)), L = t.attributes || [], B = 0; B < L.length; B++) F += " " + L[B].name + "=" + R(z(L[B].value), "double", s);
6521
6521
  return F += ">", t.childNodes && t.childNodes.length && (F += "..."), F += "</" + b.call(String(t.nodeName)) + ">", F;
6522
6522
  }
6523
- if (te(t)) {
6523
+ if (V(t)) {
6524
6524
  if (t.length === 0) return "[]";
6525
- var oe = xe(t, y);
6526
- return g && !ve(oe) ? "[" + be(oe, g) + "]" : "[ " + C.call(oe, ", ") + " ]";
6525
+ var ie = xe(t, y);
6526
+ return g && !ve(ie) ? "[" + be(ie, g) + "]" : "[ " + C.call(ie, ", ") + " ]";
6527
6527
  }
6528
- if (re(t)) {
6528
+ if (te(t)) {
6529
6529
  var he = xe(t, y);
6530
6530
  return !("cause" in Error.prototype) && "cause" in t && !j.call(t, "cause") ? "{ [" + String(t) + "] " + C.call(S.call("[cause]: " + y(t.cause), he), ", ") + " }" : he.length === 0 ? "[" + String(t) + "]" : "{ [" + String(t) + "] " + C.call(he, ", ") + " }";
6531
6531
  }
@@ -6548,14 +6548,14 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
6548
6548
  if (le(t)) return J("WeakMap");
6549
6549
  if (fe(t)) return J("WeakSet");
6550
6550
  if (ue(t)) return J("WeakRef");
6551
- if (H(t)) return ge(y(Number(t)));
6552
- if (ae(t)) return ge(y(E.call(t)));
6553
- if (U(t)) return ge(p.call(t));
6554
- if (ie(t)) return ge(y(String(t)));
6551
+ if (W(t)) return ge(y(Number(t)));
6552
+ if (re(t)) return ge(y(E.call(t)));
6553
+ if (G(t)) return ge(p.call(t));
6554
+ if (ne(t)) return ge(y(String(t)));
6555
6555
  if (typeof window < "u" && t === window) return "{ [object Window] }";
6556
6556
  if (typeof globalThis < "u" && t === globalThis || typeof global < "u" && t === global) return "{ [object globalThis] }";
6557
- if (!ne(t) && !V(t)) {
6558
- var we = xe(t, y), Te = M ? M(t) === Object.prototype : t instanceof Object || t.constructor === Object, Ee = t instanceof Object ? "" : "null prototype", De = !Te && A && Object(t) === t && A in t ? _.call(se(t), 8, -1) : Ee ? "Object" : "", Oe = (Te || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "") + (De || Ee ? "[" + C.call(S.call([], De || [], Ee || []), ": ") + "] " : "");
6557
+ if (!H(t) && !U(t)) {
6558
+ var we = xe(t, y), Te = M ? M(t) === Object.prototype : t instanceof Object || t.constructor === Object, Ee = t instanceof Object ? "" : "null prototype", De = !Te && A && Object(t) === t && A in t ? _.call(oe(t), 8, -1) : Ee ? "Object" : "", Oe = (Te || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "") + (De || Ee ? "[" + C.call(S.call([], De || [], Ee || []), ": ") + "] " : "");
6559
6559
  return we.length === 0 ? Oe + "{}" : g ? Oe + "{" + be(we, g) + "}" : Oe + "{ " + C.call(we, ", ") + " }";
6560
6560
  }
6561
6561
  return String(t);
@@ -6570,28 +6570,28 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
6570
6570
  function B(e) {
6571
6571
  return !A || !(typeof e == "object" && (A in e || e[A] !== void 0));
6572
6572
  }
6573
- function te(e) {
6574
- return se(e) === "[object Array]" && B(e);
6575
- }
6576
- function ne(e) {
6577
- return se(e) === "[object Date]" && B(e);
6578
- }
6579
6573
  function V(e) {
6580
- return se(e) === "[object RegExp]" && B(e);
6581
- }
6582
- function re(e) {
6583
- return se(e) === "[object Error]" && B(e);
6584
- }
6585
- function ie(e) {
6586
- return se(e) === "[object String]" && B(e);
6574
+ return oe(e) === "[object Array]" && B(e);
6587
6575
  }
6588
6576
  function H(e) {
6589
- return se(e) === "[object Number]" && B(e);
6577
+ return oe(e) === "[object Date]" && B(e);
6590
6578
  }
6591
6579
  function U(e) {
6592
- return se(e) === "[object Boolean]" && B(e);
6580
+ return oe(e) === "[object RegExp]" && B(e);
6581
+ }
6582
+ function te(e) {
6583
+ return oe(e) === "[object Error]" && B(e);
6584
+ }
6585
+ function ne(e) {
6586
+ return oe(e) === "[object String]" && B(e);
6593
6587
  }
6594
6588
  function W(e) {
6589
+ return oe(e) === "[object Number]" && B(e);
6590
+ }
6591
+ function G(e) {
6592
+ return oe(e) === "[object Boolean]" && B(e);
6593
+ }
6594
+ function K(e) {
6595
6595
  if (k) return e && typeof e == "object" && e instanceof Symbol;
6596
6596
  if (typeof e == "symbol") return !0;
6597
6597
  if (!e || typeof e != "object" || !O) return !1;
@@ -6600,23 +6600,23 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
6600
6600
  } catch {}
6601
6601
  return !1;
6602
6602
  }
6603
- function ae(e) {
6603
+ function re(e) {
6604
6604
  if (!e || typeof e != "object" || !E) return !1;
6605
6605
  try {
6606
6606
  return E.call(e), !0;
6607
6607
  } catch {}
6608
6608
  return !1;
6609
6609
  }
6610
- var oe = Object.prototype.hasOwnProperty || function(e) {
6610
+ var ie = Object.prototype.hasOwnProperty || function(e) {
6611
6611
  return e in this;
6612
6612
  };
6613
- function G(e, t) {
6614
- return oe.call(e, t);
6613
+ function ae(e, t) {
6614
+ return ie.call(e, t);
6615
6615
  }
6616
- function se(e) {
6616
+ function oe(e) {
6617
6617
  return m.call(e);
6618
6618
  }
6619
- function K(e) {
6619
+ function se(e) {
6620
6620
  if (e.name) return e.name;
6621
6621
  var t = g.call(h.call(e), /^function\s*([\w$]+)/);
6622
6622
  return t ? t[1] : null;
@@ -6736,17 +6736,17 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
6736
6736
  return n + C.call(e, "," + n) + "\n" + t.prev;
6737
6737
  }
6738
6738
  function xe(e, t) {
6739
- var n = te(e), r = [];
6739
+ var n = V(e), r = [];
6740
6740
  if (n) {
6741
6741
  r.length = e.length;
6742
- for (var i = 0; i < e.length; i++) r[i] = G(e, i) ? t(e[i], e) : "";
6742
+ for (var i = 0; i < e.length; i++) r[i] = ae(e, i) ? t(e[i], e) : "";
6743
6743
  }
6744
6744
  var a = typeof D == "function" ? D(e) : [], o;
6745
6745
  if (k) {
6746
6746
  o = {};
6747
6747
  for (var s = 0; s < a.length; s++) o["$" + a[s]] = a[s];
6748
6748
  }
6749
- for (var c in e) G(e, c) && (n && String(Number(c)) === c && c < e.length || k && o["$" + c] instanceof Symbol || (x.call(/[^\w$]/, c) ? r.push(t(c, e) + ": " + t(e[c], e)) : r.push(c + ": " + t(e[c], e))));
6749
+ for (var c in e) ae(e, c) && (n && String(Number(c)) === c && c < e.length || k && o["$" + c] instanceof Symbol || (x.call(/[^\w$]/, c) ? r.push(t(c, e) + ": " + t(e[c], e)) : r.push(c + ": " + t(e[c], e))));
6750
6750
  if (typeof D == "function") for (var l = 0; l < a.length; l++) j.call(e, a[l]) && r.push("[" + t(a[l]) + "]: " + t(e[a[l]], e));
6751
6751
  return r;
6752
6752
  }
@@ -7147,15 +7147,15 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
7147
7147
  "%URIErrorPrototype%": ["URIError", "prototype"],
7148
7148
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
7149
7149
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
7150
- }, F = Fl(), I = Ul(), ee = F.call(k, Array.prototype.concat), L = F.call(O, Array.prototype.splice), R = F.call(k, String.prototype.replace), z = F.call(k, String.prototype.slice), B = F.call(k, RegExp.prototype.exec), te = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, ne = /\\(\\)?/g, V = function(e) {
7150
+ }, F = Fl(), I = Ul(), ee = F.call(k, Array.prototype.concat), L = F.call(O, Array.prototype.splice), R = F.call(k, String.prototype.replace), z = F.call(k, String.prototype.slice), B = F.call(k, RegExp.prototype.exec), V = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, H = /\\(\\)?/g, U = function(e) {
7151
7151
  var t = z(e, 0, 1), n = z(e, -1);
7152
7152
  if (t === "%" && n !== "%") throw new c("invalid intrinsic syntax, expected closing `%`");
7153
7153
  if (n === "%" && t !== "%") throw new c("invalid intrinsic syntax, expected opening `%`");
7154
7154
  var r = [];
7155
- return R(e, te, function(e, t, n, i) {
7156
- r[r.length] = n ? R(i, ne, "$1") : t || e;
7155
+ return R(e, V, function(e, t, n, i) {
7156
+ r[r.length] = n ? R(i, H, "$1") : t || e;
7157
7157
  }), r;
7158
- }, re = function(e, t) {
7158
+ }, te = function(e, t) {
7159
7159
  var n = e, r;
7160
7160
  if (I(P, n) && (r = P[n], n = "%" + r[0] + "%"), I(M, n)) {
7161
7161
  var i = M[n];
@@ -7172,7 +7172,7 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
7172
7172
  if (typeof e != "string" || e.length === 0) throw new l("intrinsic name must be a non-empty string");
7173
7173
  if (arguments.length > 1 && typeof t != "boolean") throw new l("\"allowMissing\" argument must be a boolean");
7174
7174
  if (B(/^%?[^%]*%?$/, e) === null) throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
7175
- var n = V(e), r = n.length > 0 ? n[0] : "", i = re("%" + r + "%", t), a = i.name, o = i.value, s = !1, u = i.alias;
7175
+ var n = U(e), r = n.length > 0 ? n[0] : "", i = te("%" + r + "%", t), a = i.name, o = i.value, s = !1, u = i.alias;
7176
7176
  u && (r = u[0], L(n, ee([0, 1], u)));
7177
7177
  for (var d = 1, f = !0; d < n.length; d += 1) {
7178
7178
  var p = n[d], m = z(p, 0, 1), h = z(p, -1);
@@ -7396,15 +7396,15 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
7396
7396
  combine: function(e, t, n, r, i) {
7397
7397
  if (l(e)) {
7398
7398
  if (i) throw RangeError("Array limit exceeded. Only " + n + " element" + (n === 1 ? "" : "s") + " allowed in an array.");
7399
- var a = u(e) + 1;
7400
- return e[a] = t, d(e, a), e;
7399
+ for (var a = o(t) ? t : [t], s = u(e), f = 0; f < a.length; ++f) s += 1, e[s] = a[f];
7400
+ return d(e, s), e;
7401
7401
  }
7402
- var o = [].concat(e, t);
7403
- if (o.length > n) {
7402
+ var p = [].concat(e, t);
7403
+ if (p.length > n) {
7404
7404
  if (i) throw RangeError("Array limit exceeded. Only " + n + " element" + (n === 1 ? "" : "s") + " allowed in an array.");
7405
- return c(m(o, { plainObjects: r }), o.length - 1);
7405
+ return c(m(p, { plainObjects: r }), p.length - 1);
7406
7406
  }
7407
- return o;
7407
+ return p;
7408
7408
  },
7409
7409
  compact: function(e) {
7410
7410
  for (var t = [{
@@ -7457,7 +7457,7 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
7457
7457
  return s;
7458
7458
  },
7459
7459
  isBuffer: function(e) {
7460
- return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
7460
+ return !e || typeof e != "object" ? !1 : !!(e.constructor && typeof e.constructor.isBuffer == "function" && e.constructor.isBuffer(e));
7461
7461
  },
7462
7462
  isOverflow: l,
7463
7463
  isRegExp: function(e) {
@@ -7496,6 +7496,7 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
7496
7496
  charsetSentinel: !1,
7497
7497
  commaRoundTrip: !1,
7498
7498
  delimiter: "&",
7499
+ depth: Infinity,
7499
7500
  encode: !0,
7500
7501
  encodeDotInKeys: !1,
7501
7502
  encoder: r.encode,
@@ -7511,45 +7512,47 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
7511
7512
  strictNullHandling: !1
7512
7513
  }, p = function(e) {
7513
7514
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
7514
- }, m = {}, h = function e(t, i, a, o, c, u, d, h, g, _, v, y, b, x, S, C, w, T) {
7515
- for (var E = t, D = T, O = 0, k = !1; (D = D.get(m)) !== void 0 && !k;) {
7516
- var A = D.get(t);
7517
- if (O += 1, A !== void 0) {
7518
- if (A === O) throw RangeError("Cyclic object value");
7519
- k = !0;
7515
+ }, m = {}, h = function e(t, i, a, o, c, u, d, h, g, _, v, y, b, x, S, C, w, T, E, D) {
7516
+ var O = t;
7517
+ if (D > E) throw RangeError("Input depth exceeded depth option of " + E);
7518
+ for (var k = T, A = 0, j = !1; (k = k.get(m)) !== void 0 && !j;) {
7519
+ var M = k.get(t);
7520
+ if (A += 1, M !== void 0) {
7521
+ if (M === A) throw RangeError("Cyclic object value");
7522
+ j = !0;
7520
7523
  }
7521
- D.get(m) === void 0 && (O = 0);
7524
+ k.get(m) === void 0 && (A = 0);
7522
7525
  }
7523
- if (typeof _ == "function" ? E = _(i, E) : E instanceof Date ? E = b(E) : a === "comma" && s(E) && (E = r.maybeMap(E, function(e) {
7526
+ if (O = typeof _ == "function" ? _(i, O) : O, O instanceof Date ? O = b(O) : a === "comma" && s(O) && (O = r.maybeMap(O, function(e) {
7524
7527
  return e instanceof Date ? b(e) : e;
7525
- })), E === null) {
7528
+ })), O === null) {
7526
7529
  if (u) return S(g && !C ? g(i, f.encoder, w, "key", x) : i);
7527
- E = "";
7530
+ O = "";
7528
7531
  }
7529
- if (p(E) || r.isBuffer(E)) return g ? [S(C ? i : g(i, f.encoder, w, "key", x)) + "=" + S(g(E, f.encoder, w, "value", x))] : [S(i) + "=" + S(String(E))];
7530
- var j = [];
7531
- if (E === void 0) return j;
7532
- var M;
7533
- if (a === "comma" && s(E)) C && g && (E = r.maybeMap(E, function(e) {
7532
+ if (p(O) || r.isBuffer(O)) return g ? [S(C ? i : g(i, f.encoder, w, "key", x)) + "=" + S(g(O, f.encoder, w, "value", x))] : [S(i) + "=" + S(String(O))];
7533
+ var N = [];
7534
+ if (O === void 0) return N;
7535
+ var P;
7536
+ if (a === "comma" && s(O)) C && g && (O = r.maybeMap(O, function(e) {
7534
7537
  return e == null ? e : g(e);
7535
- })), M = [{ value: E.length > 0 ? E.join(",") || null : void 0 }];
7536
- else if (s(_)) M = _;
7538
+ })), P = [{ value: O.length > 0 ? O.join(",") || null : void 0 }];
7539
+ else if (s(_)) P = _;
7537
7540
  else {
7538
- var N = Object.keys(E);
7539
- M = v ? N.sort(v) : N;
7540
- }
7541
- var P = h ? String(i).replace(/\./g, "%2E") : String(i), F = o && s(E) && E.length === 1 ? P + "[]" : P;
7542
- if (c && s(E) && E.length === 0) return F + "[]";
7543
- for (var I = 0; I < M.length; ++I) {
7544
- var ee = M[I], L = typeof ee == "object" && ee && ee.value !== void 0 ? ee.value : E[ee];
7545
- if (!(d && L === null)) {
7546
- var R = y && h ? String(ee).replace(/\./g, "%2E") : String(ee), z = s(E) ? typeof a == "function" ? a(F, R) : F : F + (y ? "." + R : "[" + R + "]");
7547
- T.set(t, O);
7548
- var B = n();
7549
- B.set(m, T), l(j, e(L, z, a, o, c, u, d, h, a === "comma" && C && s(E) ? null : g, _, v, y, b, x, S, C, w, B));
7541
+ var F = Object.keys(O);
7542
+ P = v ? F.sort(v) : F;
7543
+ }
7544
+ var I = h ? String(i).replace(/\./g, "%2E") : String(i), ee = o && s(O) && O.length === 1 ? I + "[]" : I;
7545
+ if (c && s(O) && O.length === 0 && Object.keys(O).length === 0) return ee + "[]";
7546
+ for (var L = 0; L < P.length; ++L) {
7547
+ var R = P[L], z = typeof R == "object" && R && R.value !== void 0 ? R.value : O[R];
7548
+ if (!(d && z === null)) {
7549
+ var B = y && h ? String(R).replace(/\./g, "%2E") : String(R), V = s(O) ? typeof a == "function" ? a(ee, B) : ee : ee + (y ? "." + B : "[" + B + "]");
7550
+ T.set(t, A);
7551
+ var H = n();
7552
+ H.set(m, T), l(N, e(z, V, a, o, c, u, d, h, a === "comma" && C && s(O) ? null : g, _, v, y, b, x, S, C, w, H, E, D + 1));
7550
7553
  }
7551
7554
  }
7552
- return j;
7555
+ return N;
7553
7556
  }, g = function(e) {
7554
7557
  if (!e) return f;
7555
7558
  if (e.allowEmptyArrays !== void 0 && typeof e.allowEmptyArrays != "boolean") throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
@@ -7576,6 +7579,7 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
7576
7579
  charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : f.charsetSentinel,
7577
7580
  commaRoundTrip: !!e.commaRoundTrip,
7578
7581
  delimiter: e.delimiter === void 0 ? f.delimiter : e.delimiter,
7582
+ depth: typeof e.depth == "number" ? e.depth : f.depth,
7579
7583
  encode: typeof e.encode == "boolean" ? e.encode : f.encode,
7580
7584
  encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : f.encodeDotInKeys,
7581
7585
  encoder: typeof e.encoder == "function" ? e.encoder : f.encoder,
@@ -7600,7 +7604,7 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
7600
7604
  var _ = a[m];
7601
7605
  if (_ != null) {
7602
7606
  var v = r[_];
7603
- i.skipNulls && v === null || l(u, h(v, _, d, f, i.allowEmptyArrays, i.strictNullHandling, i.skipNulls, i.encodeDotInKeys, i.encode ? i.encoder : null, i.filter, i.sort, i.allowDots, i.serializeDate, i.format, i.formatter, i.encodeValuesOnly, i.charset, p));
7607
+ i.skipNulls && v === null || l(u, h(v, i.encodeDotInKeys ? String(_).replace(/\./g, "%2E") : String(_), d, f, i.allowEmptyArrays, i.strictNullHandling, i.skipNulls, i.encodeDotInKeys, i.encode ? i.encoder : null, i.filter, i.sort, i.allowDots, i.serializeDate, i.format, i.formatter, i.encodeValuesOnly, i.charset, p, i.depth, 0));
7604
7608
  }
7605
7609
  }
7606
7610
  var y = u.join(i.delimiter), b = i.addQueryPrefix === !0 ? "?" : "";
@@ -7634,11 +7638,11 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
7634
7638
  return e.replace(/&#(\d+);/g, function(e, t) {
7635
7639
  return String.fromCharCode(parseInt(t, 10));
7636
7640
  });
7637
- }, s = function(e, t, n, r) {
7641
+ }, s = function(e, t, n) {
7638
7642
  if (e && typeof e == "string" && t.comma && e.indexOf(",") > -1) {
7639
- if (r && t.throwOnLimitExceeded) for (var i = 0, a = e.indexOf(","); a > -1;) {
7640
- if (i += 1, i >= t.arrayLimit) throw RangeError("Array limit exceeded. Only " + t.arrayLimit + " element" + (t.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
7641
- a = e.indexOf(",", a + 1);
7643
+ if (t.throwOnLimitExceeded) for (var r = 0, i = e.indexOf(","); i > -1;) {
7644
+ if (r += 1, r >= t.arrayLimit) throw RangeError("Array limit exceeded. Only " + t.arrayLimit + " element" + (t.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
7645
+ i = e.indexOf(",", i + 1);
7642
7646
  }
7643
7647
  return e.split(",");
7644
7648
  }
@@ -7653,7 +7657,7 @@ var cl = /* @__PURE__ */ Z(((e, t) => {
7653
7657
  if (t.charsetSentinel) for (h = 0; h < p.length; ++h) p[h].indexOf("utf8=") === 0 && (p[h] === l ? g = "utf-8" : p[h] === c && (g = "iso-8859-1"), m = h, h = p.length);
7654
7658
  for (h = 0; h < p.length; ++h) if (h !== m) {
7655
7659
  var _ = p[h], v = _.indexOf("]="), y = v === -1 ? _.indexOf("=") : v + 1, b, x;
7656
- if (y === -1 ? (b = t.decoder(_, a.decoder, g, "key"), x = t.strictNullHandling ? null : "") : (b = t.decoder(_.slice(0, y), a.decoder, g, "key"), b !== null && (x = n.maybeMap(s(_.slice(y + 1), t, i(u[b]) ? u[b].length : 0, _.indexOf("[]=") === -1), function(e) {
7660
+ if (y === -1 ? (b = t.decoder(_, a.decoder, g, "key"), x = t.strictNullHandling ? null : "") : (b = t.decoder(_.slice(0, y), a.decoder, g, "key"), b !== null && (x = n.maybeMap(s(_.slice(y + 1), t, i(u[b]) ? u[b].length : 0), function(e) {
7657
7661
  return t.decoder(e, a.decoder, g, "value");
7658
7662
  }))), x && t.interpretNumericEntities && g === "iso-8859-1" && (x = o(String(x))), _.indexOf("[]=") > -1 && (x = i(x) ? [x] : x), t.comma && i(x) && x.length > t.arrayLimit && (x = n.combine([], x, t.arrayLimit, t.plainObjects, t.throwOnLimitExceeded)), b !== null) {
7659
7663
  var S = r.call(u, b);
@@ -7830,7 +7834,7 @@ var tu = "DD/MM/YYYY", nu = {
7830
7834
  }),
7831
7835
  emits: ["update:modelValue"],
7832
7836
  setup(e) {
7833
- let t = re(), { t: n } = K(), { isRequired: r, requiredFieldRule: i } = ts(t), a = ie(e, "modelValue"), o = e, s = B(null), c = Xo("negative"), l = B(""), u = B(), d = B(), f = [i, ...t.rules ?? []], p = m(() => a.value?.neq || a.value?.nin || a.value), v = m(() => {
7837
+ let t = te(), { t: n } = se(), { isRequired: r, requiredFieldRule: i } = ts(t), a = ne(e, "modelValue"), o = e, s = B(null), c = Xo("negative"), l = B(""), u = B(), d = B(), f = [i, ...t.rules ?? []], p = m(() => a.value?.neq || a.value?.nin || a.value), v = m(() => {
7834
7838
  if (p.value) return Array.isArray(p.value) ? p.value.map((e) => ga.formatDate(new Date(e), tu)).join(", ") : ga.formatDate(new Date(p.value), tu);
7835
7839
  }), y = m(() => {
7836
7840
  let e = Array.isArray(p.value) ? p.value[0] : p.value;
@@ -7848,10 +7852,10 @@ var tu = "DD/MM/YYYY", nu = {
7848
7852
  }, A = (e) => {
7849
7853
  e && (C.value = e.split("/").reverse().join("/"), j(), u.value = !1);
7850
7854
  };
7851
- U(() => a.value, () => {
7855
+ G(() => a.value, () => {
7852
7856
  let e = Array.isArray(p.value) ? p.value[0] : p.value;
7853
7857
  C.value = e ? ga.formatDate(new Date(e), tu) : "";
7854
- }, { immediate: !0 }), U(u, (e) => {
7858
+ }, { immediate: !0 }), G(u, (e) => {
7855
7859
  e && o.hideYearNavigation && k(() => {
7856
7860
  let e = [
7857
7861
  "back",
@@ -7928,24 +7932,24 @@ var tu = "DD/MM/YYYY", nu = {
7928
7932
  class: "vn-input-date",
7929
7933
  placeholder: "dd/mm/aaaa"
7930
7934
  }, {
7931
- ...V(t),
7935
+ ...U(t),
7932
7936
  ...S.value
7933
7937
  }, {
7934
- class: { required: V(r) },
7938
+ class: { required: U(r) },
7935
7939
  rules: f,
7936
7940
  clearable: !1,
7937
7941
  "input-style": { color: l.value },
7938
7942
  "input-class": { "text-strike": !!(a.value?.neq || a.value?.nin) },
7939
7943
  title: v.value,
7940
7944
  onClick: o[6] ||= (e) => u.value = !u.value,
7941
- onKeydown: [o[7] ||= (e) => u.value = !1, oe(G(M, ["prevent"]), ["enter"])],
7945
+ onKeydown: [o[7] ||= (e) => u.value = !1, ie(ae(M, ["prevent"]), ["enter"])],
7942
7946
  onFocusout: j,
7943
7947
  "hide-bottom-space": "",
7944
7948
  "data-cy": E,
7945
7949
  "onUpdate:modelValue": D,
7946
7950
  autocomplete: "off"
7947
7951
  }), {
7948
- append: W(() => [(V(t).clearable == null || V(t).clearable) && (!e.clearOnHover || d.value) && C.value && !V(t).disable ? (L(), h(Ie, {
7952
+ append: K(() => [(U(t).clearable == null || U(t).clearable) && (!e.clearOnHover || d.value) && C.value && !U(t).disable ? (L(), h(Ie, {
7949
7953
  key: 0,
7950
7954
  name: "close",
7951
7955
  size: "xs",
@@ -7954,13 +7958,13 @@ var tu = "DD/MM/YYYY", nu = {
7954
7958
  s.value.focus(), C.value = null, a.value = null, u.value = !1;
7955
7959
  }
7956
7960
  }, {
7957
- default: W(() => [x(io, null, {
7958
- default: W(() => [b(ne(V(n)("Remove")), 1)]),
7961
+ default: K(() => [x(io, null, {
7962
+ default: K(() => [b(H(U(n)("Remove")), 1)]),
7959
7963
  _: 1
7960
7964
  })]),
7961
7965
  _: 1
7962
7966
  })) : g("", !0)]),
7963
- default: W(() => [i.$q.screen.gt.xs ? (L(), h(Yo, {
7967
+ default: K(() => [i.$q.screen.gt.xs ? (L(), h(Yo, {
7964
7968
  key: 0,
7965
7969
  "transition-show": "scale",
7966
7970
  "transition-hide": "scale",
@@ -7972,7 +7976,7 @@ var tu = "DD/MM/YYYY", nu = {
7972
7976
  "no-parent-event": !0,
7973
7977
  "data-cy": T
7974
7978
  }, {
7975
- default: W(() => [x(Ea, {
7979
+ default: K(() => [x(Ea, {
7976
7980
  modelValue: y.value,
7977
7981
  "onUpdate:modelValue": [o[1] ||= (e) => y.value = e, A]
7978
7982
  }, null, 8, ["modelValue"])]),
@@ -7982,7 +7986,7 @@ var tu = "DD/MM/YYYY", nu = {
7982
7986
  modelValue: u.value,
7983
7987
  "onUpdate:modelValue": o[4] ||= (e) => u.value = e
7984
7988
  }, {
7985
- default: W(() => [x(Ea, {
7989
+ default: K(() => [x(Ea, {
7986
7990
  modelValue: y.value,
7987
7991
  "onUpdate:modelValue": [o[3] ||= (e) => y.value = e, A]
7988
7992
  }, null, 8, ["modelValue"])]),
@@ -8339,7 +8343,7 @@ var ou = J({
8339
8343
  "submit"
8340
8344
  ],
8341
8345
  setup(t, { expose: s, emit: c }) {
8342
- let { push: u } = fe(), p = se.useQuasar(), y = a(), b = l(), { t: S } = K(), { validate: C, validations: w } = e(), { notify: T } = o(), E = de(), D = B(null), A = t, j = c, M = m(() => A.model ?? `formModel_${E?.meta?.title ?? E.name}`).value, N = B(!1), P = r(M), F = B(!1), R = B(!1), z = B(!A.observeFormChanges), re = {}, ie = m(() => y.get(M)), H = B(), ae = m(() => D.value?.$el), oe = m(() => ({
8346
+ let { push: u } = fe(), p = oe.useQuasar(), y = a(), b = l(), { t: S } = se(), { validate: C, validations: w } = e(), { notify: T } = o(), E = de(), D = B(null), A = t, j = c, M = m(() => A.model ?? `formModel_${E?.meta?.title ?? E.name}`).value, N = B(!1), P = r(M), F = B(!1), R = B(!1), z = B(!A.observeFormChanges), te = {}, ne = m(() => y.get(M)), W = B(), re = m(() => D.value?.$el), ie = m(() => ({
8343
8347
  save: {
8344
8348
  dataCy: "saveDefaultBtn",
8345
8349
  color: "primary",
@@ -8360,26 +8364,26 @@ var ou = J({
8360
8364
  await D.value.validate() && await me(e);
8361
8365
  };
8362
8366
  function ce() {
8363
- re = A.formUrl ? JSON.parse(E?.query[A.formUrl] ?? "{}") : void 0;
8367
+ te = A.formUrl ? JSON.parse(E?.query[A.formUrl] ?? "{}") : void 0;
8364
8368
  }
8365
8369
  I(async () => {
8366
8370
  !P.store.url && A.url && P.setOptions({
8367
8371
  url: A.url,
8368
8372
  filter: A.filter
8369
- }), ce(), k(() => N.value = !0), A.formInitialData && re && y.set(M, {
8373
+ }), ce(), k(() => N.value = !0), A.formInitialData && te && y.set(M, {
8370
8374
  ...A.formInitialData,
8371
- ...re
8372
- }), A.formInitialData || (A.autoLoad && A.url ? await pe() : P.store.data && _e("onFetch", { val: P.store.data })), A.observeFormChanges && U(() => H.value, (e, t) => {
8373
- t && (z.value = !R.value && JSON.stringify(e) !== JSON.stringify(ie.value), R.value = !1);
8375
+ ...te
8376
+ }), A.formInitialData || (A.autoLoad && A.url ? await pe() : P.store.data && _e("onFetch", { val: P.store.data })), A.observeFormChanges && G(() => W.value, (e, t) => {
8377
+ t && (z.value = !R.value && JSON.stringify(e) !== JSON.stringify(ne.value), R.value = !1);
8374
8378
  }, { deep: !0 });
8375
- }), A.url || U(() => P.store.data, (e) => _e("onFetch", { val: e })), U(ie, async (e) => {
8376
- e && (H.value = JSON.parse(JSON.stringify(e))), await k(), ae.value && i(ae.value);
8377
- }, { immediate: !0 }), U(() => [A.url, A.filter], async () => {
8379
+ }), A.url || G(() => P.store.data, (e) => _e("onFetch", { val: e })), G(ne, async (e) => {
8380
+ e && (W.value = JSON.parse(JSON.stringify(e))), await k(), re.value && i(re.value);
8381
+ }, { immediate: !0 }), G(() => [A.url, A.filter], async () => {
8378
8382
  y.set(M, null), ge(), await pe();
8379
- }), A.formInitialData && U(() => A.formInitialData, (e) => {
8383
+ }), A.formInitialData && G(() => A.formInitialData, (e) => {
8380
8384
  e && y.set(M, {
8381
8385
  ...e,
8382
- ...re
8386
+ ...te
8383
8387
  });
8384
8388
  }), ue((e, t, n) => {
8385
8389
  z.value && A.observeFormChanges ? p.dialog({
@@ -8391,7 +8395,7 @@ var ou = J({
8391
8395
  }
8392
8396
  }) : n();
8393
8397
  }), ee(() => {
8394
- if (z.value) return y.set(M, ie.value);
8398
+ if (z.value) return y.set(M, ne.value);
8395
8399
  A.clearStoreOnUnmount && y.unset(M);
8396
8400
  });
8397
8401
  async function pe() {
@@ -8406,16 +8410,16 @@ var ou = J({
8406
8410
  if (A.observeFormChanges && !z.value) return T("globals.noChanges", "negative");
8407
8411
  F.value = !0;
8408
8412
  try {
8409
- H.value = ve(H.value);
8410
- let e = A.urlCreate ? "post" : "patch", t = e === "post" ? A.mapper(H.value) : A.mapper(H.value, ie.value), n = A.urlCreate || A.urlUpdate || A.url || P.store.url, r = await Promise.resolve(A.saveFn ? A.saveFn(t) : le[A.customMethod ?? e](n, t));
8413
+ W.value = ve(W.value);
8414
+ let e = A.urlCreate ? "post" : "patch", t = e === "post" ? A.mapper(W.value) : A.mapper(W.value, ne.value), n = A.urlCreate || A.urlUpdate || A.url || P.store.url, r = await Promise.resolve(A.saveFn ? A.saveFn(t) : le[A.customMethod ?? e](n, t));
8411
8415
  A.urlCreate && T("globals.dataCreated", "positive"), z.value = !1, _e("onDataSaved", {
8412
- val: H.value,
8416
+ val: W.value,
8413
8417
  res: r?.data,
8414
- old: ie.value,
8418
+ old: ne.value,
8415
8419
  rawRes: r
8416
8420
  }), A.reload && await P.fetch({});
8417
8421
  } catch (e) {
8418
- throw j("onDataSaveFail", H.value), e;
8422
+ throw j("onDataSaveFail", W.value), e;
8419
8423
  } finally {
8420
8424
  F.value = !1;
8421
8425
  }
@@ -8424,7 +8428,7 @@ var ou = J({
8424
8428
  await me(!0), u({ path: A.goTo });
8425
8429
  }
8426
8430
  function ge() {
8427
- H.value = JSON.parse(JSON.stringify(ie.value)), _e("onFetch", { val: ie.value }), A.observeFormChanges && (z.value = !1, R.value = !0);
8431
+ W.value = JSON.parse(JSON.stringify(ne.value)), _e("onFetch", { val: ne.value }), A.observeFormChanges && (z.value = !1, R.value = !0);
8428
8432
  }
8429
8433
  function J(e, t, n) {
8430
8434
  t(() => {
@@ -8440,7 +8444,7 @@ var ou = J({
8440
8444
  old: null,
8441
8445
  rawRes: null
8442
8446
  }) {
8443
- y.set(M, t), A.url || (P.store.data = t), j(e, y.get(M), n, r, H, a), ae.value && i(ae.value);
8447
+ y.set(M, t), A.url || (P.store.data = t), j(e, y.get(M), n, r, W, a), re.value && i(re.value);
8444
8448
  }
8445
8449
  function ve(e) {
8446
8450
  if (!A.defaultTrim) return e;
@@ -8466,23 +8470,23 @@ var ou = J({
8466
8470
  hasChanges: z,
8467
8471
  reset: ge,
8468
8472
  fetch: pe,
8469
- formData: H
8473
+ formData: W
8470
8474
  }), (e, r) => (L(), _(d, null, [v("div", cu, [x(iu, {
8471
8475
  showing: F.value,
8472
- label: V(S)("globals.pleaseWait"),
8476
+ label: U(S)("globals.pleaseWait"),
8473
8477
  color: "primary",
8474
8478
  style: { "min-width": "100%" }
8475
8479
  }, {
8476
- default: W(() => [x(V($r), { size: "md" })]),
8480
+ default: K(() => [x(U($r), { size: "md" })]),
8477
8481
  _: 1
8478
- }, 8, ["showing", "label"]), H.value ? (L(), h(ou, O({
8482
+ }, 8, ["showing", "label"]), W.value ? (L(), h(ou, O({
8479
8483
  key: 0,
8480
8484
  id: "vnForm"
8481
8485
  }, e.$attrs, {
8482
8486
  ref_key: "myForm",
8483
8487
  ref: D,
8484
- onSubmit: G(me, ["prevent"]),
8485
- onKeyup: G(ye, ["prevent"]),
8488
+ onSubmit: ae(me, ["prevent"]),
8489
+ onKeyup: ae(ye, ["prevent"]),
8486
8490
  onReset: ge,
8487
8491
  class: ["full-width", [t.paddingClass]],
8488
8492
  style: {
@@ -8490,42 +8494,42 @@ var ou = J({
8490
8494
  width: "100%"
8491
8495
  }
8492
8496
  }), {
8493
- default: W(() => [x(zt, { class: "q-pa-none" }, {
8494
- default: W(() => [t.showTitle ? (L(), h(Ft, {
8497
+ default: K(() => [x(zt, { class: "q-pa-none" }, {
8498
+ default: K(() => [t.showTitle ? (L(), h(Ft, {
8495
8499
  key: 0,
8496
8500
  class: "vn-basic-data__header q-px-none q-pb-none"
8497
8501
  }, {
8498
- default: W(() => [v("span", {
8502
+ default: K(() => [v("span", {
8499
8503
  class: "text-h6",
8500
- textContent: ne(t.title || e.$t("globals.pageTitles.basicData"))
8504
+ textContent: H(t.title || e.$t("globals.pageTitles.basicData"))
8501
8505
  }, null, 8, lu)]),
8502
8506
  _: 1
8503
- })) : g("", !0), H.value ? te(e.$slots, "form", {
8504
- data: H.value,
8505
- validate: V(C),
8506
- validations: V(w)(),
8507
+ })) : g("", !0), W.value ? V(e.$slots, "form", {
8508
+ data: W.value,
8509
+ validate: U(C),
8510
+ validations: U(w)(),
8507
8511
  filter: J
8508
- }, void 0, !0, 1) : (L(), h(V(Qr), { key: 2 }))]),
8512
+ }, void 0, !0, 1) : (L(), h(U(Qr), { key: 2 }))]),
8509
8513
  _: 3
8510
8514
  })]),
8511
8515
  _: 3
8512
- }, 16, ["class", "style"])) : g("", !0)]), A.defaultActions && V(b)?.isSubToolbarShown() && N.value ? (L(), h(f, {
8516
+ }, 16, ["class", "style"])) : g("", !0)]), A.defaultActions && U(b)?.isSubToolbarShown() && N.value ? (L(), h(f, {
8513
8517
  key: 0,
8514
8518
  to: "#st-actions"
8515
8519
  }, [x(su, {
8516
8520
  push: "",
8517
8521
  class: "q-gutter-x-sm"
8518
8522
  }, {
8519
- default: W(() => [
8520
- te(e.$slots, "moreActions", {}, void 0, !0),
8523
+ default: K(() => [
8524
+ V(e.$slots, "moreActions", {}, void 0, !0),
8521
8525
  x(Pt, {
8522
- label: V(n)(oe.value.reset.label),
8523
- color: oe.value.reset.color,
8524
- icon: oe.value.reset.icon,
8526
+ label: U(n)(ie.value.reset.label),
8527
+ color: ie.value.reset.color,
8528
+ icon: ie.value.reset.icon,
8525
8529
  flat: "",
8526
- onClick: oe.value.reset.click,
8530
+ onClick: ie.value.reset.click,
8527
8531
  disable: !z.value,
8528
- title: V(S)(oe.value.reset.label),
8532
+ title: U(S)(ie.value.reset.label),
8529
8533
  "data-cy": "resetDefaultBtn"
8530
8534
  }, null, 8, [
8531
8535
  "label",
@@ -8537,12 +8541,12 @@ var ou = J({
8537
8541
  ]),
8538
8542
  x(Pt, {
8539
8543
  "data-cy": "saveDefaultBtn",
8540
- label: V(n)("globals.save"),
8544
+ label: U(n)("globals.save"),
8541
8545
  color: "primary",
8542
8546
  icon: "save",
8543
- onClick: oe.value.save.click,
8547
+ onClick: ie.value.save.click,
8544
8548
  disable: !z.value,
8545
- title: V(S)(oe.value.save.label),
8549
+ title: U(S)(ie.value.save.label),
8546
8550
  flat: !!A.goTo
8547
8551
  }, null, 8, [
8548
8552
  "label",
@@ -8555,8 +8559,8 @@ var ou = J({
8555
8559
  key: 0,
8556
8560
  "data-cy": "saveAndContinueDefaultBtn",
8557
8561
  onClick: he,
8558
- label: V(n)("globals.saveAndContinue") + " " + V(S)("globals." + A.goTo.split("/").pop()),
8559
- title: V(S)("globals.saveAndContinue") + " " + V(S)("globals." + A.goTo.split("/").pop()),
8562
+ label: U(n)("globals.saveAndContinue") + " " + U(S)("globals." + A.goTo.split("/").pop()),
8563
+ title: U(S)("globals.saveAndContinue") + " " + U(S)("globals." + A.goTo.split("/").pop()),
8560
8564
  disable: !z.value,
8561
8565
  color: "primary",
8562
8566
  icon: "save"