shared-ritm 1.0.28 → 1.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  var Ql = Object.defineProperty;
2
2
  var Zl = (e, t, n) => t in e ? Ql(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var br = (e, t, n) => Zl(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { markRaw as bi, defineComponent as He, h as k, withDirectives as Ht, computed as f, ref as H, reactive as jt, getCurrentInstance as ue, nextTick as ge, watch as G, onMounted as Ze, onBeforeUnmount as be, onUnmounted as wi, Teleport as Xl, onDeactivated as On, unref as ki, Transition as St, openBlock as Y, createBlock as ye, mergeProps as Yl, withCtx as ae, renderSlot as et, createTextVNode as Ie, toDisplayString as tt, createCommentVNode as Qe, onBeforeUpdate as Ci, inject as _t, onActivated as Si, normalizeClass as ce, createVNode as ve, createElementVNode as Z, toRaw as At, createElementBlock as re, provide as _i, onBeforeMount as Gl, onUpdated as Jl, useCssVars as xi, createSlots as ea, shallowReactive as ta, vShow as na, createStaticVNode as Xe, resolveDynamicComponent as oa, resolveComponent as ra, Fragment as Ho, renderList as Ei } from "vue";
4
+ import { markRaw as bi, defineComponent as He, h as k, withDirectives as Ht, computed as h, ref as H, reactive as jt, getCurrentInstance as ue, nextTick as ge, watch as G, onMounted as Ze, onBeforeUnmount as be, onUnmounted as wi, Teleport as Xl, onDeactivated as On, unref as ki, Transition as St, openBlock as Y, createBlock as ye, mergeProps as Yl, withCtx as ae, renderSlot as et, createTextVNode as Ie, toDisplayString as tt, createCommentVNode as Qe, onBeforeUpdate as Ci, inject as _t, onActivated as Si, normalizeClass as ce, createVNode as ve, createElementVNode as Z, toRaw as At, createElementBlock as re, provide as _i, onBeforeMount as Gl, onUpdated as Jl, useCssVars as xi, createSlots as ea, shallowReactive as ta, vShow as na, createStaticVNode as Xe, resolveDynamicComponent as oa, resolveComponent as ra, Fragment as Ho, renderList as Ei } from "vue";
5
5
  function Pn(e, t, n, o) {
6
6
  return Object.defineProperty(e, t, {
7
7
  get: n,
@@ -54,7 +54,7 @@ const la = ["top", "middle", "bottom"], aa = fe({
54
54
  }
55
55
  },
56
56
  setup(e, { slots: t }) {
57
- const n = f(() => e.align !== void 0 ? { verticalAlign: e.align } : null), o = f(() => {
57
+ const n = h(() => e.align !== void 0 ? { verticalAlign: e.align } : null), o = h(() => {
58
58
  const r = e.outline === !0 && e.color || e.textColor;
59
59
  return `q-badge flex inline items-center no-wrap q-badge--${e.multiLine === !0 ? "multi" : "single"}-line` + (e.outline === !0 ? " q-badge--outline" : e.color !== void 0 ? ` bg-${e.color}` : "") + (r !== void 0 ? ` text-${r}` : "") + (e.floating === !0 ? " q-badge--floating" : "") + (e.rounded === !0 ? " q-badge--rounded" : "") + (e.transparent === !0 ? " q-badge--transparent" : "");
60
60
  });
@@ -280,88 +280,88 @@ function Ti({
280
280
  }) {
281
281
  const { props: o, proxy: r, emit: i } = ue(), l = H(null);
282
282
  let a = null;
283
- function c(h) {
284
- return l.value === null ? !1 : h === void 0 || h.touches === void 0 || h.touches.length <= 1;
283
+ function c(p) {
284
+ return l.value === null ? !1 : p === void 0 || p.touches === void 0 || p.touches.length <= 1;
285
285
  }
286
286
  const u = {};
287
287
  n === void 0 && (Object.assign(u, {
288
- hide(h) {
289
- r.hide(h);
288
+ hide(p) {
289
+ r.hide(p);
290
290
  },
291
- toggle(h) {
292
- r.toggle(h), h.qAnchorHandled = !0;
291
+ toggle(p) {
292
+ r.toggle(p), p.qAnchorHandled = !0;
293
293
  },
294
- toggleKey(h) {
295
- Et(h, 13) === !0 && u.toggle(h);
294
+ toggleKey(p) {
295
+ Et(p, 13) === !0 && u.toggle(p);
296
296
  },
297
- contextClick(h) {
298
- r.hide(h), $e(h), ge(() => {
299
- r.show(h), h.qAnchorHandled = !0;
297
+ contextClick(p) {
298
+ r.hide(p), $e(p), ge(() => {
299
+ r.show(p), p.qAnchorHandled = !0;
300
300
  });
301
301
  },
302
302
  prevent: $e,
303
- mobileTouch(h) {
304
- if (u.mobileCleanup(h), c(h) !== !0)
303
+ mobileTouch(p) {
304
+ if (u.mobileCleanup(p), c(p) !== !0)
305
305
  return;
306
- r.hide(h), l.value.classList.add("non-selectable");
307
- const v = h.target;
306
+ r.hide(p), l.value.classList.add("non-selectable");
307
+ const f = p.target;
308
308
  ot(u, "anchor", [
309
- [v, "touchmove", "mobileCleanup", "passive"],
310
- [v, "touchend", "mobileCleanup", "passive"],
311
- [v, "touchcancel", "mobileCleanup", "passive"],
309
+ [f, "touchmove", "mobileCleanup", "passive"],
310
+ [f, "touchend", "mobileCleanup", "passive"],
311
+ [f, "touchcancel", "mobileCleanup", "passive"],
312
312
  [l.value, "contextmenu", "prevent", "notPassive"]
313
313
  ]), a = setTimeout(() => {
314
- a = null, r.show(h), h.qAnchorHandled = !0;
314
+ a = null, r.show(p), p.qAnchorHandled = !0;
315
315
  }, 300);
316
316
  },
317
- mobileCleanup(h) {
318
- l.value.classList.remove("non-selectable"), a !== null && (clearTimeout(a), a = null), e.value === !0 && h !== void 0 && Cn();
317
+ mobileCleanup(p) {
318
+ l.value.classList.remove("non-selectable"), a !== null && (clearTimeout(a), a = null), e.value === !0 && p !== void 0 && Cn();
319
319
  }
320
- }), n = function(h = o.contextMenu) {
320
+ }), n = function(p = o.contextMenu) {
321
321
  if (o.noParentEvent === !0 || l.value === null) return;
322
- let v;
323
- h === !0 ? r.$q.platform.is.mobile === !0 ? v = [
322
+ let f;
323
+ p === !0 ? r.$q.platform.is.mobile === !0 ? f = [
324
324
  [l.value, "touchstart", "mobileTouch", "passive"]
325
- ] : v = [
325
+ ] : f = [
326
326
  [l.value, "mousedown", "hide", "passive"],
327
327
  [l.value, "contextmenu", "contextClick", "notPassive"]
328
- ] : v = [
328
+ ] : f = [
329
329
  [l.value, "click", "toggle", "passive"],
330
330
  [l.value, "keyup", "toggleKey", "passive"]
331
- ], ot(u, "anchor", v);
331
+ ], ot(u, "anchor", f);
332
332
  });
333
333
  function s() {
334
334
  yt(u, "anchor");
335
335
  }
336
- function d(h) {
337
- for (l.value = h; l.value.classList.contains("q-anchor--skip"); )
336
+ function d(p) {
337
+ for (l.value = p; l.value.classList.contains("q-anchor--skip"); )
338
338
  l.value = l.value.parentNode;
339
339
  n();
340
340
  }
341
- function p() {
341
+ function g() {
342
342
  if (o.target === !1 || o.target === "" || r.$el.parentNode === null)
343
343
  l.value = null;
344
344
  else if (o.target === !0)
345
345
  d(r.$el.parentNode);
346
346
  else {
347
- let h = o.target;
347
+ let p = o.target;
348
348
  if (typeof o.target == "string")
349
349
  try {
350
- h = document.querySelector(o.target);
350
+ p = document.querySelector(o.target);
351
351
  } catch {
352
- h = void 0;
352
+ p = void 0;
353
353
  }
354
- h != null ? (l.value = h.$el || h, n()) : (l.value = null, console.error(`Anchor: target "${o.target}" not found`));
354
+ p != null ? (l.value = p.$el || p, n()) : (l.value = null, console.error(`Anchor: target "${o.target}" not found`));
355
355
  }
356
356
  }
357
- return G(() => o.contextMenu, (h) => {
358
- l.value !== null && (s(), n(h));
357
+ return G(() => o.contextMenu, (p) => {
358
+ l.value !== null && (s(), n(p));
359
359
  }), G(() => o.target, () => {
360
- l.value !== null && s(), p();
361
- }), G(() => o.noParentEvent, (h) => {
362
- l.value !== null && (h === !0 ? s() : n());
360
+ l.value !== null && s(), g();
361
+ }), G(() => o.noParentEvent, (p) => {
362
+ l.value !== null && (p === !0 ? s() : n());
363
363
  }), Ze(() => {
364
- p(), t !== !0 && o.modelValue === !0 && l.value === null && i("update:modelValue", !1);
364
+ g(), t !== !0 && o.modelValue === !0 && l.value === null && i("update:modelValue", !1);
365
365
  }), be(() => {
366
366
  a !== null && clearTimeout(a), s();
367
367
  }), {
@@ -433,39 +433,39 @@ function on({
433
433
  const l = ue(), { props: a, emit: c, proxy: u } = l;
434
434
  let s;
435
435
  function d(w) {
436
- e.value === !0 ? v(w) : p(w);
436
+ e.value === !0 ? f(w) : g(w);
437
437
  }
438
- function p(w) {
438
+ function g(w) {
439
439
  if (a.disable === !0 || w !== void 0 && w.qAnchorHandled === !0 || t !== void 0 && t(w) !== !0)
440
440
  return;
441
441
  const B = a["onUpdate:modelValue"] !== void 0;
442
442
  B === !0 && (c("update:modelValue", !0), s = w, ge(() => {
443
443
  s === w && (s = void 0);
444
- })), (a.modelValue === null || B === !1) && h(w);
444
+ })), (a.modelValue === null || B === !1) && p(w);
445
445
  }
446
- function h(w) {
446
+ function p(w) {
447
447
  e.value !== !0 && (e.value = !0, c("beforeShow", w), o !== void 0 ? o(w) : c("show", w));
448
448
  }
449
- function v(w) {
449
+ function f(w) {
450
450
  if (a.disable === !0)
451
451
  return;
452
452
  const B = a["onUpdate:modelValue"] !== void 0;
453
453
  B === !0 && (c("update:modelValue", !1), s = w, ge(() => {
454
454
  s === w && (s = void 0);
455
- })), (a.modelValue === null || B === !1) && b(w);
455
+ })), (a.modelValue === null || B === !1) && y(w);
456
456
  }
457
- function b(w) {
457
+ function y(w) {
458
458
  e.value !== !1 && (e.value = !1, c("beforeHide", w), r !== void 0 ? r(w) : c("hide", w));
459
459
  }
460
- function g(w) {
461
- a.disable === !0 && w === !0 ? a["onUpdate:modelValue"] !== void 0 && c("update:modelValue", !1) : w === !0 !== e.value && (w === !0 ? h : b)(s);
460
+ function m(w) {
461
+ a.disable === !0 && w === !0 ? a["onUpdate:modelValue"] !== void 0 && c("update:modelValue", !1) : w === !0 !== e.value && (w === !0 ? p : y)(s);
462
462
  }
463
- G(() => a.modelValue, g), n !== void 0 && Ri(l) === !0 && G(() => u.$route.fullPath, () => {
464
- n.value === !0 && e.value === !0 && v();
463
+ G(() => a.modelValue, m), n !== void 0 && Ri(l) === !0 && G(() => u.$route.fullPath, () => {
464
+ n.value === !0 && e.value === !0 && f();
465
465
  }), i === !0 && Ze(() => {
466
- g(a.modelValue);
466
+ m(a.modelValue);
467
467
  });
468
- const E = { show: p, hide: v, toggle: d };
468
+ const E = { show: g, hide: f, toggle: d };
469
469
  return Object.assign(u, E), E;
470
470
  }
471
471
  let pt = [], Gt = [];
@@ -540,8 +540,8 @@ function Do(e, t, n, o) {
540
540
  function s(d) {
541
541
  if (i.value = !1, d !== !0) return;
542
542
  kr(a), r.value = !1;
543
- const p = Zt.indexOf(e.proxy);
544
- p !== -1 && Zt.splice(p, 1), l !== null && (wa(l), l = null);
543
+ const g = Zt.indexOf(e.proxy);
544
+ g !== -1 && Zt.splice(g, 1), l !== null && (wa(l), l = null);
545
545
  }
546
546
  return wi(() => {
547
547
  s(!0);
@@ -571,7 +571,7 @@ function No(e, t = () => {
571
571
  }, n = () => {
572
572
  }) {
573
573
  return {
574
- transitionProps: f(() => {
574
+ transitionProps: h(() => {
575
575
  const o = `q-transition--${e.transitionShow || t()}`, r = `q-transition--${e.transitionHide || n()}`;
576
576
  return {
577
577
  appear: !0,
@@ -583,7 +583,7 @@ function No(e, t = () => {
583
583
  leaveToClass: `${r}-leave-to`
584
584
  };
585
585
  }),
586
- transitionStyle: f(() => `--q-transition-duration: ${e.transitionDuration}ms`)
586
+ transitionStyle: h(() => `--q-transition-duration: ${e.transitionDuration}ms`)
587
587
  };
588
588
  }
589
589
  function Uo() {
@@ -807,7 +807,7 @@ function Qo(e, t = 0) {
807
807
  const $ = document.body.style, { offsetLeft: R, offsetTop: D } = window.visualViewport;
808
808
  R !== Sr && ($.setProperty("--q-pe-left", R + "px"), Sr = R), D !== _r && ($.setProperty("--q-pe-top", D + "px"), _r = D);
809
809
  }
810
- const { scrollLeft: p, scrollTop: h } = n, v = a === void 0 ? Ba(r, u === !0 ? [0, 0] : o) : qa(r, a, o);
810
+ const { scrollLeft: g, scrollTop: p } = n, f = a === void 0 ? Ba(r, u === !0 ? [0, 0] : o) : qa(r, a, o);
811
811
  Object.assign(n.style, {
812
812
  top: 0,
813
813
  left: 0,
@@ -817,33 +817,33 @@ function Qo(e, t = 0) {
817
817
  maxHeight: s,
818
818
  visibility: "visible"
819
819
  });
820
- const { offsetWidth: b, offsetHeight: g } = n, { elWidth: E, elHeight: w } = c === !0 || u === !0 ? { elWidth: Math.max(v.width, b), elHeight: u === !0 ? Math.max(v.height, g) : g } : { elWidth: b, elHeight: g };
820
+ const { offsetWidth: y, offsetHeight: m } = n, { elWidth: E, elHeight: w } = c === !0 || u === !0 ? { elWidth: Math.max(f.width, y), elHeight: u === !0 ? Math.max(f.height, m) : m } : { elWidth: y, elHeight: m };
821
821
  let B = { maxWidth: d, maxHeight: s };
822
- (c === !0 || u === !0) && (B.minWidth = v.width + "px", u === !0 && (B.minHeight = v.height + "px")), Object.assign(n.style, B);
822
+ (c === !0 || u === !0) && (B.minWidth = f.width + "px", u === !0 && (B.minHeight = f.height + "px")), Object.assign(n.style, B);
823
823
  const T = Ma(E, w);
824
- let M = xr(v, T, i, l);
824
+ let M = xr(f, T, i, l);
825
825
  if (a === void 0 || o === void 0)
826
- no(M, v, T, i, l);
826
+ no(M, f, T, i, l);
827
827
  else {
828
828
  const { top: $, left: R } = M;
829
- no(M, v, T, i, l);
829
+ no(M, f, T, i, l);
830
830
  let D = !1;
831
831
  if (M.top !== $) {
832
832
  D = !0;
833
833
  const x = 2 * o[1];
834
- v.center = v.top -= x, v.bottom -= x + 2;
834
+ f.center = f.top -= x, f.bottom -= x + 2;
835
835
  }
836
836
  if (M.left !== R) {
837
837
  D = !0;
838
838
  const x = 2 * o[0];
839
- v.middle = v.left -= x, v.right -= x + 2;
839
+ f.middle = f.left -= x, f.right -= x + 2;
840
840
  }
841
- D === !0 && (M = xr(v, T, i, l), no(M, v, T, i, l));
841
+ D === !0 && (M = xr(f, T, i, l), no(M, f, T, i, l));
842
842
  }
843
843
  B = {
844
844
  top: M.top + "px",
845
845
  left: M.left + "px"
846
- }, M.maxHeight !== void 0 && (B.maxHeight = M.maxHeight + "px", v.height > M.maxHeight && (B.minHeight = B.maxHeight)), M.maxWidth !== void 0 && (B.maxWidth = M.maxWidth + "px", v.width > M.maxWidth && (B.minWidth = B.maxWidth)), Object.assign(n.style, B), n.scrollTop !== h && (n.scrollTop = h), n.scrollLeft !== p && (n.scrollLeft = p);
846
+ }, M.maxHeight !== void 0 && (B.maxHeight = M.maxHeight + "px", f.height > M.maxHeight && (B.minHeight = B.maxHeight)), M.maxWidth !== void 0 && (B.maxWidth = M.maxWidth + "px", f.width > M.maxWidth && (B.minWidth = B.maxWidth)), Object.assign(n.style, B), n.scrollTop !== p && (n.scrollTop = p), n.scrollLeft !== g && (n.scrollLeft = g);
847
847
  }
848
848
  function no(e, t, n, o, r) {
849
849
  const i = n.bottom, l = n.right, a = bn(), c = window.innerHeight - a, u = document.body.clientWidth;
@@ -930,16 +930,16 @@ const qn = fe({
930
930
  ],
931
931
  setup(e, { slots: t, emit: n, attrs: o }) {
932
932
  let r, i;
933
- const l = ue(), { proxy: { $q: a } } = l, c = H(null), u = H(!1), s = f(() => Bn(e.anchor, a.lang.rtl)), d = f(() => Bn(e.self, a.lang.rtl)), p = f(() => e.persistent !== !0), { registerTick: h, removeTick: v } = Uo(), { registerTimeout: b } = Fn(), { transitionProps: g, transitionStyle: E } = No(e), { localScrollTarget: w, changeScrollEvent: B, unconfigureScrollTarget: T } = $i(e, ee), { anchorEl: M, canShow: $, anchorEvents: R } = Ti({ showing: u, configureAnchorEl: Q }), { show: D, hide: x } = on({
933
+ const l = ue(), { proxy: { $q: a } } = l, c = H(null), u = H(!1), s = h(() => Bn(e.anchor, a.lang.rtl)), d = h(() => Bn(e.self, a.lang.rtl)), g = h(() => e.persistent !== !0), { registerTick: p, removeTick: f } = Uo(), { registerTimeout: y } = Fn(), { transitionProps: m, transitionStyle: E } = No(e), { localScrollTarget: w, changeScrollEvent: B, unconfigureScrollTarget: T } = $i(e, ee), { anchorEl: M, canShow: $, anchorEvents: R } = Ti({ showing: u, configureAnchorEl: Q }), { show: D, hide: x } = on({
934
934
  showing: u,
935
935
  canShow: $,
936
936
  handleShow: z,
937
937
  handleHide: L,
938
- hideOnRouteChange: p,
938
+ hideOnRouteChange: g,
939
939
  processOnMount: !0
940
940
  });
941
941
  Object.assign(R, { delayShow: j, delayHide: A });
942
- const { showPortal: q, hidePortal: O, renderPortal: S } = Do(l, c, y, "tooltip");
942
+ const { showPortal: q, hidePortal: O, renderPortal: S } = Do(l, c, b, "tooltip");
943
943
  if (a.platform.is.mobile === !0) {
944
944
  const I = {
945
945
  anchorEl: M,
@@ -947,7 +947,7 @@ const qn = fe({
947
947
  onClickOutside(te) {
948
948
  return x(te), te.target.classList.contains("q-dialog__backdrop") && we(te), !0;
949
949
  }
950
- }, J = f(
950
+ }, J = h(
951
951
  () => (
952
952
  // it doesn't has external model
953
953
  // (null is the default value)
@@ -961,17 +961,17 @@ const qn = fe({
961
961
  });
962
962
  }
963
963
  function z(I) {
964
- q(), h(() => {
964
+ q(), p(() => {
965
965
  i = new MutationObserver(() => N()), i.observe(c.value, { attributes: !1, childList: !0, characterData: !0, subtree: !0 }), N(), ee();
966
966
  }), r === void 0 && (r = G(
967
967
  () => a.screen.width + "|" + a.screen.height + "|" + e.self + "|" + e.anchor + "|" + a.lang.rtl,
968
968
  N
969
- )), b(() => {
969
+ )), y(() => {
970
970
  q(!0), n("show", I);
971
971
  }, e.transitionDuration);
972
972
  }
973
973
  function L(I) {
974
- v(), O(), X(), b(() => {
974
+ f(), O(), X(), y(() => {
975
975
  O(!0), n("hide", I);
976
976
  }, e.transitionDuration);
977
977
  }
@@ -995,14 +995,14 @@ const qn = fe({
995
995
  const J = M.value, te = ["touchmove", "touchcancel", "touchend", "click"].map((V) => [J, V, "delayHide", "passiveCapture"]);
996
996
  ot(R, "tooltipTemp", te);
997
997
  }
998
- b(() => {
998
+ y(() => {
999
999
  D(I);
1000
1000
  }, e.delay);
1001
1001
  }
1002
1002
  function A(I) {
1003
1003
  a.platform.is.mobile === !0 && (yt(R, "tooltipTemp"), Cn(), setTimeout(() => {
1004
1004
  document.body.classList.remove("non-selectable");
1005
- }, 10)), b(() => {
1005
+ }, 10)), y(() => {
1006
1006
  x(I);
1007
1007
  }, e.hideDelay);
1008
1008
  }
@@ -1038,8 +1038,8 @@ const qn = fe({
1038
1038
  role: "tooltip"
1039
1039
  }, Le(t.default)) : null;
1040
1040
  }
1041
- function y() {
1042
- return k(St, g.value, C);
1041
+ function b() {
1042
+ return k(St, m.value, C);
1043
1043
  }
1044
1044
  return be(X), Object.assign(l.proxy, { updatePosition: N }), S;
1045
1045
  }
@@ -1053,7 +1053,7 @@ const qn = fe({
1053
1053
  size: String
1054
1054
  };
1055
1055
  function zn(e, t = Mo) {
1056
- return f(() => e.size !== void 0 ? { fontSize: e.size in t ? `${t[e.size]}px` : e.size } : null);
1056
+ return h(() => e.size !== void 0 ? { fontSize: e.size in t ? `${t[e.size]}px` : e.size } : null);
1057
1057
  }
1058
1058
  const Er = "0 0 24 24", Br = (e) => e, oo = (e) => `ionicons ${e}`, Hi = {
1059
1059
  "mdi-": (e) => `mdi ${e}`,
@@ -1089,9 +1089,9 @@ const Er = "0 0 24 24", Br = (e) => e, oo = (e) => `ionicons ${e}`, Hi = {
1089
1089
  right: Boolean
1090
1090
  },
1091
1091
  setup(e, { slots: t }) {
1092
- const { proxy: { $q: n } } = ue(), o = zn(e), r = f(
1092
+ const { proxy: { $q: n } } = ue(), o = zn(e), r = h(
1093
1093
  () => "q-icon" + (e.left === !0 ? " on-left" : "") + (e.right === !0 ? " on-right" : "") + (e.color !== void 0 ? ` text-${e.color}` : "")
1094
- ), i = f(() => {
1094
+ ), i = h(() => {
1095
1095
  let l, a = e.name;
1096
1096
  if (a === "none" || !a)
1097
1097
  return { none: !0 };
@@ -1112,9 +1112,9 @@ const Er = "0 0 24 24", Br = (e) => e, oo = (e) => `ionicons ${e}`, Hi = {
1112
1112
  return {
1113
1113
  svg: !0,
1114
1114
  viewBox: d,
1115
- nodes: s.split("&&").map((p) => {
1116
- const [h, v, b] = p.split("@@");
1117
- return k("path", { style: v, d: h, transform: b });
1115
+ nodes: s.split("&&").map((g) => {
1116
+ const [p, f, y] = g.split("@@");
1117
+ return k("path", { style: f, d: p, transform: y });
1118
1118
  })
1119
1119
  };
1120
1120
  }
@@ -1186,8 +1186,8 @@ const Er = "0 0 24 24", Br = (e) => e, oo = (e) => `ionicons ${e}`, Hi = {
1186
1186
  };
1187
1187
  function ja(e) {
1188
1188
  return {
1189
- cSize: f(() => e.size in Mo ? `${Mo[e.size]}px` : e.size),
1190
- classes: f(
1189
+ cSize: h(() => e.size in Mo ? `${Mo[e.size]}px` : e.size),
1190
+ classes: h(
1191
1191
  () => "q-spinner" + (e.color ? ` text-${e.color}` : "")
1192
1192
  )
1193
1193
  };
@@ -1235,11 +1235,11 @@ function Mr(e, t, n, o) {
1235
1235
  const r = n.modifiers.color;
1236
1236
  let i = n.modifiers.center;
1237
1237
  i = i === !0 || o === !0;
1238
- const l = document.createElement("span"), a = document.createElement("span"), c = Yt(e), { left: u, top: s, width: d, height: p } = t.getBoundingClientRect(), h = Math.sqrt(d * d + p * p), v = h / 2, b = `${(d - h) / 2}px`, g = i ? b : `${c.left - u - v}px`, E = `${(p - h) / 2}px`, w = i ? E : `${c.top - s - v}px`;
1238
+ const l = document.createElement("span"), a = document.createElement("span"), c = Yt(e), { left: u, top: s, width: d, height: g } = t.getBoundingClientRect(), p = Math.sqrt(d * d + g * g), f = p / 2, y = `${(d - p) / 2}px`, m = i ? y : `${c.left - u - f}px`, E = `${(g - p) / 2}px`, w = i ? E : `${c.top - s - f}px`;
1239
1239
  a.className = "q-ripple__inner", Bo(a, {
1240
- height: `${h}px`,
1241
- width: `${h}px`,
1242
- transform: `translate3d(${g},${w},0) scale3d(.2,.2,1)`,
1240
+ height: `${p}px`,
1241
+ width: `${p}px`,
1242
+ transform: `translate3d(${m},${w},0) scale3d(.2,.2,1)`,
1243
1243
  opacity: 0
1244
1244
  }), l.className = `q-ripple${r ? " text-" + r : ""}`, l.setAttribute("dir", "ltr"), l.appendChild(a), t.appendChild(l);
1245
1245
  const B = () => {
@@ -1247,7 +1247,7 @@ function Mr(e, t, n, o) {
1247
1247
  };
1248
1248
  n.abort.push(B);
1249
1249
  let T = setTimeout(() => {
1250
- a.classList.add("q-ripple__inner--enter"), a.style.transform = `translate3d(${b},${E},0) scale3d(1,1,1)`, a.style.opacity = 0.2, T = setTimeout(() => {
1250
+ a.classList.add("q-ripple__inner--enter"), a.style.transform = `translate3d(${y},${E},0) scale3d(1,1,1)`, a.style.opacity = 0.2, T = setTimeout(() => {
1251
1251
  a.classList.remove("q-ripple__inner--enter"), a.classList.add("q-ripple__inner--leave"), a.style.opacity = 0, T = setTimeout(() => {
1252
1252
  l.remove(), n.abort.splice(n.abort.indexOf(B), 1);
1253
1253
  }, 275);
@@ -1318,7 +1318,7 @@ const Nn = Bi(
1318
1318
  }
1319
1319
  };
1320
1320
  function za(e) {
1321
- return f(() => {
1321
+ return h(() => {
1322
1322
  const t = e.align === void 0 ? e.vertical === !0 ? "stretch" : "left" : e.align;
1323
1323
  return `${e.vertical === !0 ? "items" : "justify"}-${Ni[t]}`;
1324
1324
  });
@@ -1377,17 +1377,17 @@ const Ui = {
1377
1377
  }
1378
1378
  };
1379
1379
  function Wi({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
1380
- const n = ue(), { props: o, proxy: r, emit: i } = n, l = Ri(n), a = f(() => o.disable !== !0 && o.href !== void 0), c = t === !0 ? f(
1380
+ const n = ue(), { props: o, proxy: r, emit: i } = n, l = Ri(n), a = h(() => o.disable !== !0 && o.href !== void 0), c = t === !0 ? h(
1381
1381
  () => l === !0 && o.disable !== !0 && a.value !== !0 && o.to !== void 0 && o.to !== null && o.to !== ""
1382
- ) : f(
1382
+ ) : h(
1383
1383
  () => l === !0 && a.value !== !0 && o.to !== void 0 && o.to !== null && o.to !== ""
1384
- ), u = f(() => c.value === !0 ? w(o.to) : null), s = f(() => u.value !== null), d = f(() => a.value === !0 || s.value === !0), p = f(() => o.type === "a" || d.value === !0 ? "a" : o.tag || e || "div"), h = f(() => a.value === !0 ? {
1384
+ ), u = h(() => c.value === !0 ? w(o.to) : null), s = h(() => u.value !== null), d = h(() => a.value === !0 || s.value === !0), g = h(() => o.type === "a" || d.value === !0 ? "a" : o.tag || e || "div"), p = h(() => a.value === !0 ? {
1385
1385
  href: o.href,
1386
1386
  target: o.target
1387
1387
  } : s.value === !0 ? {
1388
1388
  href: u.value.href,
1389
1389
  target: o.target
1390
- } : {}), v = f(() => {
1390
+ } : {}), f = h(() => {
1391
1391
  if (s.value === !1)
1392
1392
  return -1;
1393
1393
  const { matched: M } = u.value, { length: $ } = M, R = M[$ - 1];
@@ -1408,11 +1408,11 @@ function Wi({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
1408
1408
  $r.bind(null, M[$ - 2])
1409
1409
  ) : x
1410
1410
  );
1411
- }), b = f(
1412
- () => s.value === !0 && v.value !== -1 && Da(r.$route.params, u.value.params)
1413
- ), g = f(
1414
- () => b.value === !0 && v.value === r.$route.matched.length - 1 && Ua(r.$route.params, u.value.params)
1415
- ), E = f(() => s.value === !0 ? g.value === !0 ? ` ${o.exactActiveClass} ${o.activeClass}` : o.exact === !0 ? "" : b.value === !0 ? ` ${o.activeClass}` : "" : "");
1411
+ }), y = h(
1412
+ () => s.value === !0 && f.value !== -1 && Da(r.$route.params, u.value.params)
1413
+ ), m = h(
1414
+ () => y.value === !0 && f.value === r.$route.matched.length - 1 && Ua(r.$route.params, u.value.params)
1415
+ ), E = h(() => s.value === !0 ? m.value === !0 ? ` ${o.exactActiveClass} ${o.activeClass}` : o.exact === !0 ? "" : y.value === !0 ? ` ${o.activeClass}` : "" : "");
1416
1416
  function w(M) {
1417
1417
  try {
1418
1418
  return r.$router.resolve(M);
@@ -1446,12 +1446,12 @@ function Wi({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
1446
1446
  hasRouterLink: s,
1447
1447
  hasHrefLink: a,
1448
1448
  hasLink: d,
1449
- linkTag: p,
1449
+ linkTag: g,
1450
1450
  resolvedLink: u,
1451
- linkIsActive: b,
1452
- linkIsExactActive: g,
1451
+ linkIsActive: y,
1452
+ linkIsExactActive: m,
1453
1453
  linkClass: E,
1454
- linkAttrs: h,
1454
+ linkAttrs: p,
1455
1455
  getLink: w,
1456
1456
  navigateToRouterLink: B,
1457
1457
  navigateOnClick: T
@@ -1523,38 +1523,38 @@ const Ya = {
1523
1523
  function Ja(e) {
1524
1524
  const t = zn(e, Wa), n = za(e), { hasRouterLink: o, hasLink: r, linkTag: i, linkAttrs: l, navigateOnClick: a } = Wi({
1525
1525
  fallbackTag: "button"
1526
- }), c = f(() => {
1527
- const g = e.fab === !1 && e.fabMini === !1 ? t.value : {};
1528
- return e.padding !== void 0 ? Object.assign({}, g, {
1526
+ }), c = h(() => {
1527
+ const m = e.fab === !1 && e.fabMini === !1 ? t.value : {};
1528
+ return e.padding !== void 0 ? Object.assign({}, m, {
1529
1529
  padding: e.padding.split(/\s+/).map((E) => E in Ar ? Ar[E] + "px" : E).join(" "),
1530
1530
  minWidth: "0",
1531
1531
  minHeight: "0"
1532
- }) : g;
1533
- }), u = f(
1532
+ }) : m;
1533
+ }), u = h(
1534
1534
  () => e.rounded === !0 || e.fab === !0 || e.fabMini === !0
1535
- ), s = f(
1535
+ ), s = h(
1536
1536
  () => e.disable !== !0 && e.loading !== !0
1537
- ), d = f(() => s.value === !0 ? e.tabindex || 0 : -1), p = f(() => Xa(e, "standard")), h = f(() => {
1538
- const g = { tabindex: d.value };
1539
- return r.value === !0 ? Object.assign(g, l.value) : Ka.includes(e.type) === !0 && (g.type = e.type), i.value === "a" ? (e.disable === !0 ? g["aria-disabled"] = "true" : g.href === void 0 && (g.role = "button"), o.value !== !0 && Qa.test(e.type) === !0 && (g.type = e.type)) : e.disable === !0 && (g.disabled = "", g["aria-disabled"] = "true"), e.loading === !0 && e.percentage !== void 0 && Object.assign(g, {
1537
+ ), d = h(() => s.value === !0 ? e.tabindex || 0 : -1), g = h(() => Xa(e, "standard")), p = h(() => {
1538
+ const m = { tabindex: d.value };
1539
+ return r.value === !0 ? Object.assign(m, l.value) : Ka.includes(e.type) === !0 && (m.type = e.type), i.value === "a" ? (e.disable === !0 ? m["aria-disabled"] = "true" : m.href === void 0 && (m.role = "button"), o.value !== !0 && Qa.test(e.type) === !0 && (m.type = e.type)) : e.disable === !0 && (m.disabled = "", m["aria-disabled"] = "true"), e.loading === !0 && e.percentage !== void 0 && Object.assign(m, {
1540
1540
  role: "progressbar",
1541
1541
  "aria-valuemin": 0,
1542
1542
  "aria-valuemax": 100,
1543
1543
  "aria-valuenow": e.percentage
1544
- }), g;
1545
- }), v = f(() => {
1546
- let g;
1547
- e.color !== void 0 ? e.flat === !0 || e.outline === !0 ? g = `text-${e.textColor || e.color}` : g = `bg-${e.color} text-${e.textColor || "white"}` : e.textColor && (g = `text-${e.textColor}`);
1544
+ }), m;
1545
+ }), f = h(() => {
1546
+ let m;
1547
+ e.color !== void 0 ? e.flat === !0 || e.outline === !0 ? m = `text-${e.textColor || e.color}` : m = `bg-${e.color} text-${e.textColor || "white"}` : e.textColor && (m = `text-${e.textColor}`);
1548
1548
  const E = e.round === !0 ? "round" : `rectangle${u.value === !0 ? " q-btn--rounded" : e.square === !0 ? " q-btn--square" : ""}`;
1549
- return `q-btn--${p.value} q-btn--${E}` + (g !== void 0 ? " " + g : "") + (s.value === !0 ? " q-btn--actionable q-focusable q-hoverable" : e.disable === !0 ? " disabled" : "") + (e.fab === !0 ? " q-btn--fab" : e.fabMini === !0 ? " q-btn--fab-mini" : "") + (e.noCaps === !0 ? " q-btn--no-uppercase" : "") + (e.dense === !0 ? " q-btn--dense" : "") + (e.stretch === !0 ? " no-border-radius self-stretch" : "") + (e.glossy === !0 ? " glossy" : "") + (e.square ? " q-btn--square" : "");
1550
- }), b = f(
1549
+ return `q-btn--${g.value} q-btn--${E}` + (m !== void 0 ? " " + m : "") + (s.value === !0 ? " q-btn--actionable q-focusable q-hoverable" : e.disable === !0 ? " disabled" : "") + (e.fab === !0 ? " q-btn--fab" : e.fabMini === !0 ? " q-btn--fab-mini" : "") + (e.noCaps === !0 ? " q-btn--no-uppercase" : "") + (e.dense === !0 ? " q-btn--dense" : "") + (e.stretch === !0 ? " no-border-radius self-stretch" : "") + (e.glossy === !0 ? " glossy" : "") + (e.square ? " q-btn--square" : "");
1550
+ }), y = h(
1551
1551
  () => n.value + (e.stack === !0 ? " column" : " row") + (e.noWrap === !0 ? " no-wrap text-no-wrap" : "") + (e.loading === !0 ? " q-btn__content--hidden" : "")
1552
1552
  );
1553
1553
  return {
1554
- classes: v,
1554
+ classes: f,
1555
1555
  style: c,
1556
- innerClasses: b,
1557
- attributes: h,
1556
+ innerClasses: y,
1557
+ attributes: p,
1558
1558
  hasLink: r,
1559
1559
  linkTag: i,
1560
1560
  navigateOnClick: a,
@@ -1582,17 +1582,17 @@ const Lo = fe({
1582
1582
  linkTag: u,
1583
1583
  navigateOnClick: s,
1584
1584
  isActionable: d
1585
- } = Ja(e), p = H(null), h = H(null);
1586
- let v = null, b, g = null;
1587
- const E = f(
1585
+ } = Ja(e), g = H(null), p = H(null);
1586
+ let f = null, y, m = null;
1587
+ const E = h(
1588
1588
  () => e.label !== void 0 && e.label !== null && e.label !== ""
1589
- ), w = f(() => e.disable === !0 || e.ripple === !1 ? !1 : {
1589
+ ), w = h(() => e.disable === !0 || e.ripple === !1 ? !1 : {
1590
1590
  keyCodes: c.value === !0 ? [13, 32] : [13],
1591
1591
  ...e.ripple === !0 ? {} : e.ripple
1592
- }), B = f(() => ({ center: e.round })), T = f(() => {
1592
+ }), B = h(() => ({ center: e.round })), T = h(() => {
1593
1593
  const L = Math.max(0, Math.min(100, e.percentage));
1594
1594
  return L > 0 ? { transition: "transform 0.6s", transform: `translateX(${L - 100}%)` } : {};
1595
- }), M = f(() => {
1595
+ }), M = h(() => {
1596
1596
  if (e.loading === !0)
1597
1597
  return {
1598
1598
  onMousedown: z,
@@ -1617,47 +1617,47 @@ const Lo = fe({
1617
1617
  // needed; especially for disabled <a> tags
1618
1618
  onClick: we
1619
1619
  };
1620
- }), $ = f(() => ({
1621
- ref: p,
1620
+ }), $ = h(() => ({
1621
+ ref: g,
1622
1622
  class: "q-btn q-btn-item non-selectable no-outline " + r.value,
1623
1623
  style: i.value,
1624
1624
  ...a.value,
1625
1625
  ...M.value
1626
1626
  }));
1627
1627
  function R(L) {
1628
- if (p.value !== null) {
1628
+ if (g.value !== null) {
1629
1629
  if (L !== void 0) {
1630
1630
  if (L.defaultPrevented === !0)
1631
1631
  return;
1632
1632
  const X = document.activeElement;
1633
- if (e.type === "submit" && X !== document.body && p.value.contains(X) === !1 && X.contains(p.value) === !1) {
1634
- p.value.focus();
1633
+ if (e.type === "submit" && X !== document.body && g.value.contains(X) === !1 && X.contains(g.value) === !1) {
1634
+ g.value.focus();
1635
1635
  const N = () => {
1636
- document.removeEventListener("keydown", we, !0), document.removeEventListener("keyup", N, Ne), p.value !== null && p.value.removeEventListener("blur", N, Ne);
1636
+ document.removeEventListener("keydown", we, !0), document.removeEventListener("keyup", N, Ne), g.value !== null && g.value.removeEventListener("blur", N, Ne);
1637
1637
  };
1638
- document.addEventListener("keydown", we, !0), document.addEventListener("keyup", N, Ne), p.value.addEventListener("blur", N, Ne);
1638
+ document.addEventListener("keydown", we, !0), document.addEventListener("keyup", N, Ne), g.value.addEventListener("blur", N, Ne);
1639
1639
  }
1640
1640
  }
1641
1641
  s(L);
1642
1642
  }
1643
1643
  }
1644
1644
  function D(L) {
1645
- p.value !== null && (n("keydown", L), Et(L, [13, 32]) === !0 && Ot !== p.value && (Ot !== null && S(), L.defaultPrevented !== !0 && (p.value.focus(), Ot = p.value, p.value.classList.add("q-btn--active"), document.addEventListener("keyup", O, !0), p.value.addEventListener("blur", O, Ne)), we(L)));
1645
+ g.value !== null && (n("keydown", L), Et(L, [13, 32]) === !0 && Ot !== g.value && (Ot !== null && S(), L.defaultPrevented !== !0 && (g.value.focus(), Ot = g.value, g.value.classList.add("q-btn--active"), document.addEventListener("keyup", O, !0), g.value.addEventListener("blur", O, Ne)), we(L)));
1646
1646
  }
1647
1647
  function x(L) {
1648
- p.value !== null && (n("touchstart", L), L.defaultPrevented !== !0 && (Vt !== p.value && (Vt !== null && S(), Vt = p.value, v = L.target, v.addEventListener("touchcancel", O, Ne), v.addEventListener("touchend", O, Ne)), b = !0, g !== null && clearTimeout(g), g = setTimeout(() => {
1649
- g = null, b = !1;
1648
+ g.value !== null && (n("touchstart", L), L.defaultPrevented !== !0 && (Vt !== g.value && (Vt !== null && S(), Vt = g.value, f = L.target, f.addEventListener("touchcancel", O, Ne), f.addEventListener("touchend", O, Ne)), y = !0, m !== null && clearTimeout(m), m = setTimeout(() => {
1649
+ m = null, y = !1;
1650
1650
  }, 200)));
1651
1651
  }
1652
1652
  function q(L) {
1653
- p.value !== null && (L.qSkipRipple = b === !0, n("mousedown", L), L.defaultPrevented !== !0 && Pt !== p.value && (Pt !== null && S(), Pt = p.value, p.value.classList.add("q-btn--active"), document.addEventListener("mouseup", O, Ne)));
1653
+ g.value !== null && (L.qSkipRipple = y === !0, n("mousedown", L), L.defaultPrevented !== !0 && Pt !== g.value && (Pt !== null && S(), Pt = g.value, g.value.classList.add("q-btn--active"), document.addEventListener("mouseup", O, Ne)));
1654
1654
  }
1655
1655
  function O(L) {
1656
- if (p.value !== null && !(L !== void 0 && L.type === "blur" && document.activeElement === p.value)) {
1656
+ if (g.value !== null && !(L !== void 0 && L.type === "blur" && document.activeElement === g.value)) {
1657
1657
  if (L !== void 0 && L.type === "keyup") {
1658
- if (Ot === p.value && Et(L, [13, 32]) === !0) {
1658
+ if (Ot === g.value && Et(L, [13, 32]) === !0) {
1659
1659
  const X = new MouseEvent("click", L);
1660
- X.qKeyEvent = !0, L.defaultPrevented === !0 && $e(X), L.cancelBubble === !0 && je(X), p.value.dispatchEvent(X), we(L), L.qKeyEvent = !0;
1660
+ X.qKeyEvent = !0, L.defaultPrevented === !0 && $e(X), L.cancelBubble === !0 && je(X), g.value.dispatchEvent(X), we(L), L.qKeyEvent = !0;
1661
1661
  }
1662
1662
  n("keyup", L);
1663
1663
  }
@@ -1665,8 +1665,8 @@ const Lo = fe({
1665
1665
  }
1666
1666
  }
1667
1667
  function S(L) {
1668
- const X = h.value;
1669
- L !== !0 && (Vt === p.value || Pt === p.value) && X !== null && X !== document.activeElement && (X.setAttribute("tabindex", -1), X.focus()), Vt === p.value && (v !== null && (v.removeEventListener("touchcancel", O, Ne), v.removeEventListener("touchend", O, Ne)), Vt = v = null), Pt === p.value && (document.removeEventListener("mouseup", O, Ne), Pt = null), Ot === p.value && (document.removeEventListener("keyup", O, !0), p.value !== null && p.value.removeEventListener("blur", O, Ne), Ot = null), p.value !== null && p.value.classList.remove("q-btn--active");
1668
+ const X = p.value;
1669
+ L !== !0 && (Vt === g.value || Pt === g.value) && X !== null && X !== document.activeElement && (X.setAttribute("tabindex", -1), X.focus()), Vt === g.value && (f !== null && (f.removeEventListener("touchcancel", O, Ne), f.removeEventListener("touchend", O, Ne)), Vt = f = null), Pt === g.value && (document.removeEventListener("mouseup", O, Ne), Pt = null), Ot === g.value && (document.removeEventListener("keyup", O, !0), g.value !== null && g.value.removeEventListener("blur", O, Ne), Ot = null), g.value !== null && g.value.classList.remove("q-btn--active");
1670
1670
  }
1671
1671
  function z(L) {
1672
1672
  we(L), L.qSkipRipple = !0;
@@ -1697,7 +1697,7 @@ const Lo = fe({
1697
1697
  const X = [
1698
1698
  k("span", {
1699
1699
  class: "q-focus-helper",
1700
- ref: h
1700
+ ref: p
1701
1701
  })
1702
1702
  ];
1703
1703
  return e.loading === !0 && e.percentage !== void 0 && X.push(
@@ -1794,7 +1794,7 @@ const Lo = fe({
1794
1794
  function r(a) {
1795
1795
  o("click", a), o("update:modelValue", !n.modelValue);
1796
1796
  }
1797
- const i = f(() => n.badge === void 0 || n.badge === !1 || n.badge === !0 || n.badge === "" ? "" : n.badge), l = f(() => typeof n.disable == "function" ? n.disable() : n.disable);
1797
+ const i = h(() => n.badge === void 0 || n.badge === !1 || n.badge === !0 || n.badge === "" ? "" : n.badge), l = h(() => typeof n.disable == "function" ? n.disable() : n.disable);
1798
1798
  return (a, c) => (Y(), ye(Lo, Yl(a.$props, {
1799
1799
  class: [[a.$style.wrapper], "hover-bg-secondary hover-text-black"],
1800
1800
  disable: l.value,
@@ -1882,7 +1882,7 @@ function Ki({ getValue: e, required: t = !0 } = {}) {
1882
1882
  n.value = Or(o, t);
1883
1883
  }), n;
1884
1884
  }
1885
- return e !== void 0 ? f(() => Or(e(), t)) : H(`f_${Mn()}`);
1885
+ return e !== void 0 ? h(() => Or(e(), t)) : H(`f_${Mn()}`);
1886
1886
  }
1887
1887
  const Pr = /^on[A-Z]/;
1888
1888
  function as() {
@@ -1907,7 +1907,7 @@ const st = {
1907
1907
  }
1908
1908
  };
1909
1909
  function ut(e, t) {
1910
- return f(() => e.dark === null ? t.dark.isActive : e.dark);
1910
+ return h(() => e.dark === null ? t.dark.isActive : e.dark);
1911
1911
  }
1912
1912
  const ss = "_q_", rn = "_q_l_", Qi = "_q_pc_", us = "_q_fo_";
1913
1913
  function Te() {
@@ -1978,28 +1978,28 @@ const ds = [!0, !1, "ondemand"], fs = {
1978
1978
  };
1979
1979
  function hs(e, t) {
1980
1980
  const { props: n, proxy: o } = ue(), r = H(!1), i = H(null), l = H(!1);
1981
- cs({ validate: b, resetValidation: v });
1981
+ cs({ validate: y, resetValidation: f });
1982
1982
  let a = 0, c;
1983
- const u = f(
1983
+ const u = h(
1984
1984
  () => n.rules !== void 0 && n.rules !== null && n.rules.length !== 0
1985
- ), s = f(() => n.disable !== !0 && u.value === !0 && t.value === !1), d = f(
1985
+ ), s = h(() => n.disable !== !0 && u.value === !0 && t.value === !1), d = h(
1986
1986
  () => n.error === !0 || r.value === !0
1987
- ), p = f(() => typeof n.errorMessage == "string" && n.errorMessage.length !== 0 ? n.errorMessage : i.value);
1987
+ ), g = h(() => typeof n.errorMessage == "string" && n.errorMessage.length !== 0 ? n.errorMessage : i.value);
1988
1988
  G(() => n.modelValue, () => {
1989
- l.value = !0, s.value === !0 && n.lazyRules === !1 && g();
1989
+ l.value = !0, s.value === !0 && n.lazyRules === !1 && m();
1990
1990
  });
1991
- function h() {
1992
- n.lazyRules !== "ondemand" && s.value === !0 && l.value === !0 && g();
1991
+ function p() {
1992
+ n.lazyRules !== "ondemand" && s.value === !0 && l.value === !0 && m();
1993
1993
  }
1994
1994
  G(() => n.reactiveRules, (E) => {
1995
- E === !0 ? c === void 0 && (c = G(() => n.rules, h, { immediate: !0, deep: !0 })) : c !== void 0 && (c(), c = void 0);
1996
- }, { immediate: !0 }), G(() => n.lazyRules, h), G(e, (E) => {
1997
- E === !0 ? l.value = !0 : s.value === !0 && n.lazyRules !== "ondemand" && g();
1995
+ E === !0 ? c === void 0 && (c = G(() => n.rules, p, { immediate: !0, deep: !0 })) : c !== void 0 && (c(), c = void 0);
1996
+ }, { immediate: !0 }), G(() => n.lazyRules, p), G(e, (E) => {
1997
+ E === !0 ? l.value = !0 : s.value === !0 && n.lazyRules !== "ondemand" && m();
1998
1998
  });
1999
- function v() {
2000
- a++, t.value = !1, l.value = !1, r.value = !1, i.value = null, g.cancel();
1999
+ function f() {
2000
+ a++, t.value = !1, l.value = !1, r.value = !1, i.value = null, m.cancel();
2001
2001
  }
2002
- function b(E = n.modelValue) {
2002
+ function y(E = n.modelValue) {
2003
2003
  if (n.disable === !0 || u.value === !1)
2004
2004
  return !0;
2005
2005
  const w = ++a, B = t.value !== !0 ? () => {
@@ -2025,16 +2025,16 @@ function hs(e, t) {
2025
2025
  ($) => (w === a && (console.error($), T(!0)), !1)
2026
2026
  ));
2027
2027
  }
2028
- const g = Zi(b, 0);
2028
+ const m = Zi(y, 0);
2029
2029
  return be(() => {
2030
- c !== void 0 && c(), g.cancel();
2031
- }), Object.assign(o, { resetValidation: v, validate: b }), Pn(o, "hasError", () => d.value), {
2030
+ c !== void 0 && c(), m.cancel();
2031
+ }), Object.assign(o, { resetValidation: f, validate: y }), Pn(o, "hasError", () => d.value), {
2032
2032
  isDirtyModel: l,
2033
2033
  hasRules: u,
2034
2034
  hasError: d,
2035
- errorMessage: p,
2036
- validate: b,
2037
- resetValidation: v
2035
+ errorMessage: g,
2036
+ validate: y,
2037
+ resetValidation: f
2038
2038
  };
2039
2039
  }
2040
2040
  function Jt(e) {
@@ -2083,9 +2083,9 @@ function Yo({ requiredForAttr: e = !0, tagProp: t, changeEvent: n = !1 } = {}) {
2083
2083
  return {
2084
2084
  requiredForAttr: e,
2085
2085
  changeEvent: n,
2086
- tag: t === !0 ? f(() => o.tag) : { value: "label" },
2086
+ tag: t === !0 ? h(() => o.tag) : { value: "label" },
2087
2087
  isDark: i,
2088
- editable: f(
2088
+ editable: h(
2089
2089
  () => o.disable !== !0 && o.readonly !== !0
2090
2090
  ),
2091
2091
  innerLoading: H(!1),
@@ -2119,7 +2119,7 @@ function Yo({ requiredForAttr: e = !0, tagProp: t, changeEvent: n = !1 } = {}) {
2119
2119
  function Go(e) {
2120
2120
  const { props: t, emit: n, slots: o, attrs: r, proxy: i } = ue(), { $q: l } = i;
2121
2121
  let a = null;
2122
- e.hasValue === void 0 && (e.hasValue = f(() => Jt(t.modelValue))), e.emitValue === void 0 && (e.emitValue = (A) => {
2122
+ e.hasValue === void 0 && (e.hasValue = h(() => Jt(t.modelValue))), e.emitValue === void 0 && (e.emitValue = (A) => {
2123
2123
  n("update:modelValue", A);
2124
2124
  }), e.controlEvents === void 0 && (e.controlEvents = {
2125
2125
  onFocusin: x,
@@ -2129,7 +2129,7 @@ function Go(e) {
2129
2129
  onControlFocusin: x,
2130
2130
  onControlFocusout: q,
2131
2131
  focus: R
2132
- }), e.computedCounter === void 0 && (e.computedCounter = f(() => {
2132
+ }), e.computedCounter === void 0 && (e.computedCounter = h(() => {
2133
2133
  if (t.counter !== !1) {
2134
2134
  const A = typeof t.modelValue == "string" || typeof t.modelValue == "number" ? ("" + t.modelValue).length : Array.isArray(t.modelValue) === !0 ? t.modelValue.length : 0, Q = t.maxlength !== void 0 ? t.maxlength : t.maxValues;
2135
2135
  return A + (Q !== void 0 ? " / " + Q : "");
@@ -2140,25 +2140,25 @@ function Go(e) {
2140
2140
  hasRules: u,
2141
2141
  hasError: s,
2142
2142
  errorMessage: d,
2143
- resetValidation: p
2144
- } = hs(e.focused, e.innerLoading), h = e.floatingLabel !== void 0 ? f(() => t.stackLabel === !0 || e.focused.value === !0 || e.floatingLabel.value === !0) : f(() => t.stackLabel === !0 || e.focused.value === !0 || e.hasValue.value === !0), v = f(
2143
+ resetValidation: g
2144
+ } = hs(e.focused, e.innerLoading), p = e.floatingLabel !== void 0 ? h(() => t.stackLabel === !0 || e.focused.value === !0 || e.floatingLabel.value === !0) : h(() => t.stackLabel === !0 || e.focused.value === !0 || e.hasValue.value === !0), f = h(
2145
2145
  () => t.bottomSlots === !0 || t.hint !== void 0 || u.value === !0 || t.counter === !0 || t.error !== null
2146
- ), b = f(() => t.filled === !0 ? "filled" : t.outlined === !0 ? "outlined" : t.borderless === !0 ? "borderless" : t.standout ? "standout" : "standard"), g = f(
2147
- () => `q-field row no-wrap items-start q-field--${b.value}` + (e.fieldClass !== void 0 ? ` ${e.fieldClass.value}` : "") + (t.rounded === !0 ? " q-field--rounded" : "") + (t.square === !0 ? " q-field--square" : "") + (h.value === !0 ? " q-field--float" : "") + (w.value === !0 ? " q-field--labeled" : "") + (t.dense === !0 ? " q-field--dense" : "") + (t.itemAligned === !0 ? " q-field--item-aligned q-item-type" : "") + (e.isDark.value === !0 ? " q-field--dark" : "") + (e.getControl === void 0 ? " q-field--auto-height" : "") + (e.focused.value === !0 ? " q-field--focused" : "") + (s.value === !0 ? " q-field--error" : "") + (s.value === !0 || e.focused.value === !0 ? " q-field--highlighted" : "") + (t.hideBottomSpace !== !0 && v.value === !0 ? " q-field--with-bottom" : "") + (t.disable === !0 ? " q-field--disabled" : t.readonly === !0 ? " q-field--readonly" : "")
2148
- ), E = f(
2146
+ ), y = h(() => t.filled === !0 ? "filled" : t.outlined === !0 ? "outlined" : t.borderless === !0 ? "borderless" : t.standout ? "standout" : "standard"), m = h(
2147
+ () => `q-field row no-wrap items-start q-field--${y.value}` + (e.fieldClass !== void 0 ? ` ${e.fieldClass.value}` : "") + (t.rounded === !0 ? " q-field--rounded" : "") + (t.square === !0 ? " q-field--square" : "") + (p.value === !0 ? " q-field--float" : "") + (w.value === !0 ? " q-field--labeled" : "") + (t.dense === !0 ? " q-field--dense" : "") + (t.itemAligned === !0 ? " q-field--item-aligned q-item-type" : "") + (e.isDark.value === !0 ? " q-field--dark" : "") + (e.getControl === void 0 ? " q-field--auto-height" : "") + (e.focused.value === !0 ? " q-field--focused" : "") + (s.value === !0 ? " q-field--error" : "") + (s.value === !0 || e.focused.value === !0 ? " q-field--highlighted" : "") + (t.hideBottomSpace !== !0 && f.value === !0 ? " q-field--with-bottom" : "") + (t.disable === !0 ? " q-field--disabled" : t.readonly === !0 ? " q-field--readonly" : "")
2148
+ ), E = h(
2149
2149
  () => "q-field__control relative-position row no-wrap" + (t.bgColor !== void 0 ? ` bg-${t.bgColor}` : "") + (s.value === !0 ? " text-negative" : typeof t.standout == "string" && t.standout.length !== 0 && e.focused.value === !0 ? ` ${t.standout}` : t.color !== void 0 ? ` text-${t.color}` : "")
2150
- ), w = f(
2150
+ ), w = h(
2151
2151
  () => t.labelSlot === !0 || t.label !== void 0
2152
- ), B = f(
2152
+ ), B = h(
2153
2153
  () => "q-field__label no-pointer-events absolute ellipsis" + (t.labelColor !== void 0 && s.value !== !0 ? ` text-${t.labelColor}` : "")
2154
- ), T = f(() => ({
2154
+ ), T = h(() => ({
2155
2155
  id: e.targetUid.value,
2156
2156
  editable: e.editable.value,
2157
2157
  focused: e.focused.value,
2158
- floatingLabel: h.value,
2158
+ floatingLabel: p.value,
2159
2159
  modelValue: t.modelValue,
2160
2160
  emitValue: e.emitValue
2161
- })), M = f(() => {
2161
+ })), M = h(() => {
2162
2162
  const A = {};
2163
2163
  return e.targetUid.value && (A.for = e.targetUid.value), t.disable === !0 && (A["aria-disabled"] = "true"), A;
2164
2164
  });
@@ -2186,7 +2186,7 @@ function Go(e) {
2186
2186
  function O(A) {
2187
2187
  we(A), l.platform.is.mobile !== !0 ? (e.targetRef !== void 0 && e.targetRef.value || e.rootRef.value).focus() : e.rootRef.value.contains(document.activeElement) === !0 && document.activeElement.blur(), t.type === "file" && (e.inputRef.value.value = null), n("update:modelValue", null), e.changeEvent === !0 && n("change", null), n("clear", t.modelValue), ge(() => {
2188
2188
  const Q = c.value;
2189
- p(), c.value = Q;
2189
+ g(), c.value = Q;
2190
2190
  });
2191
2191
  }
2192
2192
  function S(A) {
@@ -2308,7 +2308,7 @@ function Go(e) {
2308
2308
  return k(e.tag.value, {
2309
2309
  ref: e.rootRef,
2310
2310
  class: [
2311
- g.value,
2311
+ m.value,
2312
2312
  r.class
2313
2313
  ],
2314
2314
  style: r.style,
@@ -2327,7 +2327,7 @@ function Go(e) {
2327
2327
  tabindex: -1,
2328
2328
  ...e.controlEvents
2329
2329
  }, z()),
2330
- v.value === !0 ? X() : null
2330
+ f.value === !0 ? X() : null
2331
2331
  ]),
2332
2332
  o.after !== void 0 ? k("div", {
2333
2333
  class: "q-field__after q-field__marginal row no-wrap items-center",
@@ -2363,30 +2363,30 @@ const ms = new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|([" + Xi.jo
2363
2363
  };
2364
2364
  function gs(e, t, n, o) {
2365
2365
  let r, i, l, a, c, u;
2366
- const s = H(null), d = H(h());
2367
- function p() {
2366
+ const s = H(null), d = H(p());
2367
+ function g() {
2368
2368
  return e.autogrow === !0 || ["textarea", "text", "search", "url", "tel", "password"].includes(e.type);
2369
2369
  }
2370
- G(() => e.type + e.autogrow, b), G(() => e.mask, (x) => {
2370
+ G(() => e.type + e.autogrow, y), G(() => e.mask, (x) => {
2371
2371
  if (x !== void 0)
2372
- g(d.value, !0);
2372
+ m(d.value, !0);
2373
2373
  else {
2374
2374
  const q = R(d.value);
2375
- b(), e.modelValue !== q && t("update:modelValue", q);
2375
+ y(), e.modelValue !== q && t("update:modelValue", q);
2376
2376
  }
2377
2377
  }), G(() => e.fillMask + e.reverseFillMask, () => {
2378
- s.value === !0 && g(d.value, !0);
2378
+ s.value === !0 && m(d.value, !0);
2379
2379
  }), G(() => e.unmaskedValue, () => {
2380
- s.value === !0 && g(d.value);
2380
+ s.value === !0 && m(d.value);
2381
2381
  });
2382
- function h() {
2383
- if (b(), s.value === !0) {
2382
+ function p() {
2383
+ if (y(), s.value === !0) {
2384
2384
  const x = M(R(e.modelValue));
2385
2385
  return e.fillMask !== !1 ? D(x) : x;
2386
2386
  }
2387
2387
  return e.modelValue;
2388
2388
  }
2389
- function v(x) {
2389
+ function f(x) {
2390
2390
  if (x < r.length)
2391
2391
  return r.slice(-x);
2392
2392
  let q = "", O = r;
@@ -2398,32 +2398,32 @@ function gs(e, t, n, o) {
2398
2398
  }
2399
2399
  return O;
2400
2400
  }
2401
- function b() {
2402
- if (s.value = e.mask !== void 0 && e.mask.length !== 0 && p(), s.value === !1) {
2401
+ function y() {
2402
+ if (s.value = e.mask !== void 0 && e.mask.length !== 0 && g(), s.value === !1) {
2403
2403
  a = void 0, r = "", i = "";
2404
2404
  return;
2405
2405
  }
2406
2406
  const x = Hr[e.mask] === void 0 ? e.mask : Hr[e.mask], q = typeof e.fillMask == "string" && e.fillMask.length !== 0 ? e.fillMask.slice(0, 1) : "_", O = q.replace(zr, "\\$&"), S = [], z = [], L = [];
2407
2407
  let X = e.reverseFillMask === !0, N = "", j = "";
2408
- x.replace(ms, (C, y, I, J, te) => {
2408
+ x.replace(ms, (C, b, I, J, te) => {
2409
2409
  if (J !== void 0) {
2410
2410
  const V = Ln[J];
2411
2411
  L.push(V), j = V.negate, X === !0 && (z.push("(?:" + j + "+)?(" + V.pattern + "+)?(?:" + j + "+)?(" + V.pattern + "+)?"), X = !1), z.push("(?:" + j + "+)?(" + V.pattern + ")?");
2412
2412
  } else if (I !== void 0)
2413
2413
  N = "\\" + (I === "\\" ? "" : I), L.push(I), S.push("([^" + N + "]+)?" + N + "?");
2414
2414
  else {
2415
- const V = y !== void 0 ? y : te;
2415
+ const V = b !== void 0 ? b : te;
2416
2416
  N = V === "\\" ? "\\\\\\\\" : V.replace(zr, "\\\\$&"), L.push(V), S.push("([^" + N + "]+)?" + N + "?");
2417
2417
  }
2418
2418
  });
2419
2419
  const A = new RegExp(
2420
2420
  "^" + S.join("") + "(" + (N === "" ? "." : "[^" + N + "]") + "+)?" + (N === "" ? "" : "[" + N + "]*") + "$"
2421
- ), Q = z.length - 1, ee = z.map((C, y) => y === 0 && e.reverseFillMask === !0 ? new RegExp("^" + O + "*" + C) : y === Q ? new RegExp(
2421
+ ), Q = z.length - 1, ee = z.map((C, b) => b === 0 && e.reverseFillMask === !0 ? new RegExp("^" + O + "*" + C) : b === Q ? new RegExp(
2422
2422
  "^" + C + "(" + (j === "" ? "." : j) + "+)?" + (e.reverseFillMask === !0 ? "$" : O + "*")
2423
2423
  ) : new RegExp("^" + C));
2424
2424
  l = L, a = (C) => {
2425
- const y = A.exec(e.reverseFillMask === !0 ? C : C.slice(0, L.length + 1));
2426
- y !== null && (C = y.slice(1).join(""));
2425
+ const b = A.exec(e.reverseFillMask === !0 ? C : C.slice(0, L.length + 1));
2426
+ b !== null && (C = b.slice(1).join(""));
2427
2427
  const I = [], J = ee.length;
2428
2428
  for (let te = 0, V = C; te < J; te++) {
2429
2429
  const U = ee[te].exec(V);
@@ -2434,9 +2434,9 @@ function gs(e, t, n, o) {
2434
2434
  return I.length !== 0 ? I.join("") : C;
2435
2435
  }, r = L.map((C) => typeof C == "string" ? C : Ce).join(""), i = r.split(Ce).join(q);
2436
2436
  }
2437
- function g(x, q, O) {
2437
+ function m(x, q, O) {
2438
2438
  const S = o.value, z = S.selectionEnd, L = S.value.length - z, X = R(x);
2439
- q === !0 && b();
2439
+ q === !0 && y();
2440
2440
  const N = M(X), j = e.fillMask !== !1 ? D(N) : N, A = d.value !== j;
2441
2441
  S.value !== j && (S.value = j), A === !0 && (d.value = j), document.activeElement === S && ge(() => {
2442
2442
  if (j === i) {
@@ -2447,8 +2447,8 @@ function gs(e, t, n, o) {
2447
2447
  if (O === "insertFromPaste" && e.reverseFillMask !== !0) {
2448
2448
  const ee = S.selectionEnd;
2449
2449
  let C = z - 1;
2450
- for (let y = c; y <= C && y < ee; y++)
2451
- r[y] !== Ce && C++;
2450
+ for (let b = c; b <= C && b < ee; b++)
2451
+ r[b] !== Ce && C++;
2452
2452
  w.right(S, C);
2453
2453
  return;
2454
2454
  }
@@ -2506,7 +2506,7 @@ function gs(e, t, n, o) {
2506
2506
  x.setSelectionRange(q, q, "forward");
2507
2507
  },
2508
2508
  leftReverse(x, q) {
2509
- const O = v(x.value.length);
2509
+ const O = f(x.value.length);
2510
2510
  let S = Math.max(0, q - 1);
2511
2511
  for (; S >= 0; S--)
2512
2512
  if (O[S - 1] === Ce) {
@@ -2519,7 +2519,7 @@ function gs(e, t, n, o) {
2519
2519
  q >= 0 && x.setSelectionRange(q, q, "backward");
2520
2520
  },
2521
2521
  rightReverse(x, q) {
2522
- const O = x.value.length, S = v(O), z = S.slice(0, q + 1).indexOf(Ce) === -1;
2522
+ const O = x.value.length, S = f(O), z = S.slice(0, q + 1).indexOf(Ce) === -1;
2523
2523
  let L = Math.min(O, q + 1);
2524
2524
  for (; L <= O; L++)
2525
2525
  if (S[L - 1] === Ce) {
@@ -2592,7 +2592,7 @@ function gs(e, t, n, o) {
2592
2592
  innerValue: d,
2593
2593
  hasMask: s,
2594
2594
  moveCursorForPaste: E,
2595
- updateMaskValue: g,
2595
+ updateMaskValue: m,
2596
2596
  onMaskedKeydown: T,
2597
2597
  onMaskedClick: B
2598
2598
  };
@@ -2611,7 +2611,7 @@ function ys(e = {}) {
2611
2611
  };
2612
2612
  }
2613
2613
  function Yi(e) {
2614
- return f(() => e.name || e.for);
2614
+ return h(() => e.name || e.for);
2615
2615
  }
2616
2616
  function bs(e, t) {
2617
2617
  function n() {
@@ -2629,7 +2629,7 @@ function bs(e, t) {
2629
2629
  };
2630
2630
  }
2631
2631
  }
2632
- return f(() => {
2632
+ return h(() => {
2633
2633
  if (e.type === "file")
2634
2634
  return n();
2635
2635
  });
@@ -2674,21 +2674,21 @@ const Ji = fe({
2674
2674
  setup(e, { emit: t, attrs: n }) {
2675
2675
  const { proxy: o } = ue(), { $q: r } = o, i = {};
2676
2676
  let l = NaN, a, c, u = null, s;
2677
- const d = H(null), p = Yi(e), {
2678
- innerValue: h,
2679
- hasMask: v,
2680
- moveCursorForPaste: b,
2681
- updateMaskValue: g,
2677
+ const d = H(null), g = Yi(e), {
2678
+ innerValue: p,
2679
+ hasMask: f,
2680
+ moveCursorForPaste: y,
2681
+ updateMaskValue: m,
2682
2682
  onMaskedKeydown: E,
2683
2683
  onMaskedClick: w
2684
2684
  } = gs(e, t, N, d), B = bs(
2685
2685
  e
2686
- ), T = f(() => Jt(h.value)), M = Gi(L), $ = Yo({ changeEvent: !0 }), R = f(
2686
+ ), T = h(() => Jt(p.value)), M = Gi(L), $ = Yo({ changeEvent: !0 }), R = h(
2687
2687
  () => e.type === "textarea" || e.autogrow === !0
2688
- ), D = f(
2688
+ ), D = h(
2689
2689
  () => R.value === !0 || ["text", "search", "url", "tel", "password"].includes(e.type)
2690
- ), x = f(() => {
2691
- const y = {
2690
+ ), x = h(() => {
2691
+ const b = {
2692
2692
  ...$.splitAttrs.listeners.value,
2693
2693
  onInput: L,
2694
2694
  onPaste: z,
@@ -2700,121 +2700,121 @@ const Ji = fe({
2700
2700
  onBlur: Q,
2701
2701
  onFocus: je
2702
2702
  };
2703
- return y.onCompositionstart = y.onCompositionupdate = y.onCompositionend = M, v.value === !0 && (y.onKeydown = E, y.onClick = w), e.autogrow === !0 && (y.onAnimationend = X), y;
2704
- }), q = f(() => {
2705
- const y = {
2703
+ return b.onCompositionstart = b.onCompositionupdate = b.onCompositionend = M, f.value === !0 && (b.onKeydown = E, b.onClick = w), e.autogrow === !0 && (b.onAnimationend = X), b;
2704
+ }), q = h(() => {
2705
+ const b = {
2706
2706
  tabindex: 0,
2707
2707
  "data-autofocus": e.autofocus === !0 || void 0,
2708
2708
  rows: e.type === "textarea" ? 6 : void 0,
2709
2709
  "aria-label": e.label,
2710
- name: p.value,
2710
+ name: g.value,
2711
2711
  ...$.splitAttrs.attributes.value,
2712
2712
  id: $.targetUid.value,
2713
2713
  maxlength: e.maxlength,
2714
2714
  disabled: e.disable === !0,
2715
2715
  readonly: e.readonly === !0
2716
2716
  };
2717
- return R.value === !1 && (y.type = e.type), e.autogrow === !0 && (y.rows = 1), y;
2717
+ return R.value === !1 && (b.type = e.type), e.autogrow === !0 && (b.rows = 1), b;
2718
2718
  });
2719
2719
  G(() => e.type, () => {
2720
2720
  d.value && (d.value.value = e.modelValue);
2721
- }), G(() => e.modelValue, (y) => {
2722
- if (v.value === !0) {
2723
- if (c === !0 && (c = !1, String(y) === l))
2721
+ }), G(() => e.modelValue, (b) => {
2722
+ if (f.value === !0) {
2723
+ if (c === !0 && (c = !1, String(b) === l))
2724
2724
  return;
2725
- g(y);
2726
- } else h.value !== y && (h.value = y, e.type === "number" && i.hasOwnProperty("value") === !0 && (a === !0 ? a = !1 : delete i.value));
2725
+ m(b);
2726
+ } else p.value !== b && (p.value = b, e.type === "number" && i.hasOwnProperty("value") === !0 && (a === !0 ? a = !1 : delete i.value));
2727
2727
  e.autogrow === !0 && ge(j);
2728
- }), G(() => e.autogrow, (y) => {
2729
- y === !0 ? ge(j) : d.value !== null && n.rows > 0 && (d.value.style.height = "auto");
2728
+ }), G(() => e.autogrow, (b) => {
2729
+ b === !0 ? ge(j) : d.value !== null && n.rows > 0 && (d.value.style.height = "auto");
2730
2730
  }), G(() => e.dense, () => {
2731
2731
  e.autogrow === !0 && ge(j);
2732
2732
  });
2733
2733
  function O() {
2734
2734
  In(() => {
2735
- const y = document.activeElement;
2736
- d.value !== null && d.value !== y && (y === null || y.id !== $.targetUid.value) && d.value.focus({ preventScroll: !0 });
2735
+ const b = document.activeElement;
2736
+ d.value !== null && d.value !== b && (b === null || b.id !== $.targetUid.value) && d.value.focus({ preventScroll: !0 });
2737
2737
  });
2738
2738
  }
2739
2739
  function S() {
2740
2740
  d.value !== null && d.value.select();
2741
2741
  }
2742
- function z(y) {
2743
- if (v.value === !0 && e.reverseFillMask !== !0) {
2744
- const I = y.target;
2745
- b(I, I.selectionStart, I.selectionEnd);
2742
+ function z(b) {
2743
+ if (f.value === !0 && e.reverseFillMask !== !0) {
2744
+ const I = b.target;
2745
+ y(I, I.selectionStart, I.selectionEnd);
2746
2746
  }
2747
- t("paste", y);
2747
+ t("paste", b);
2748
2748
  }
2749
- function L(y) {
2750
- if (!y || !y.target)
2749
+ function L(b) {
2750
+ if (!b || !b.target)
2751
2751
  return;
2752
2752
  if (e.type === "file") {
2753
- t("update:modelValue", y.target.files);
2753
+ t("update:modelValue", b.target.files);
2754
2754
  return;
2755
2755
  }
2756
- const I = y.target.value;
2757
- if (y.target.qComposing === !0) {
2756
+ const I = b.target.value;
2757
+ if (b.target.qComposing === !0) {
2758
2758
  i.value = I;
2759
2759
  return;
2760
2760
  }
2761
- if (v.value === !0)
2762
- g(I, !1, y.inputType);
2763
- else if (N(I), D.value === !0 && y.target === document.activeElement) {
2764
- const { selectionStart: J, selectionEnd: te } = y.target;
2761
+ if (f.value === !0)
2762
+ m(I, !1, b.inputType);
2763
+ else if (N(I), D.value === !0 && b.target === document.activeElement) {
2764
+ const { selectionStart: J, selectionEnd: te } = b.target;
2765
2765
  J !== void 0 && te !== void 0 && ge(() => {
2766
- y.target === document.activeElement && I.indexOf(y.target.value) === 0 && y.target.setSelectionRange(J, te);
2766
+ b.target === document.activeElement && I.indexOf(b.target.value) === 0 && b.target.setSelectionRange(J, te);
2767
2767
  });
2768
2768
  }
2769
2769
  e.autogrow === !0 && j();
2770
2770
  }
2771
- function X(y) {
2772
- t("animationend", y), j();
2771
+ function X(b) {
2772
+ t("animationend", b), j();
2773
2773
  }
2774
- function N(y, I) {
2774
+ function N(b, I) {
2775
2775
  s = () => {
2776
- u = null, e.type !== "number" && i.hasOwnProperty("value") === !0 && delete i.value, e.modelValue !== y && l !== y && (l = y, I === !0 && (c = !0), t("update:modelValue", y), ge(() => {
2777
- l === y && (l = NaN);
2776
+ u = null, e.type !== "number" && i.hasOwnProperty("value") === !0 && delete i.value, e.modelValue !== b && l !== b && (l = b, I === !0 && (c = !0), t("update:modelValue", b), ge(() => {
2777
+ l === b && (l = NaN);
2778
2778
  })), s = void 0;
2779
- }, e.type === "number" && (a = !0, i.value = y), e.debounce !== void 0 ? (u !== null && clearTimeout(u), i.value = y, u = setTimeout(s, e.debounce)) : s();
2779
+ }, e.type === "number" && (a = !0, i.value = b), e.debounce !== void 0 ? (u !== null && clearTimeout(u), i.value = b, u = setTimeout(s, e.debounce)) : s();
2780
2780
  }
2781
2781
  function j() {
2782
2782
  requestAnimationFrame(() => {
2783
- const y = d.value;
2784
- if (y !== null) {
2785
- const I = y.parentNode.style, { scrollTop: J } = y, { overflowY: te, maxHeight: V } = r.platform.is.firefox === !0 ? {} : window.getComputedStyle(y), U = te !== void 0 && te !== "scroll";
2786
- U === !0 && (y.style.overflowY = "hidden"), I.marginBottom = y.scrollHeight - 1 + "px", y.style.height = "1px", y.style.height = y.scrollHeight + "px", U === !0 && (y.style.overflowY = parseInt(V, 10) < y.scrollHeight ? "auto" : "hidden"), I.marginBottom = "", y.scrollTop = J;
2783
+ const b = d.value;
2784
+ if (b !== null) {
2785
+ const I = b.parentNode.style, { scrollTop: J } = b, { overflowY: te, maxHeight: V } = r.platform.is.firefox === !0 ? {} : window.getComputedStyle(b), U = te !== void 0 && te !== "scroll";
2786
+ U === !0 && (b.style.overflowY = "hidden"), I.marginBottom = b.scrollHeight - 1 + "px", b.style.height = "1px", b.style.height = b.scrollHeight + "px", U === !0 && (b.style.overflowY = parseInt(V, 10) < b.scrollHeight ? "auto" : "hidden"), I.marginBottom = "", b.scrollTop = J;
2787
2787
  }
2788
2788
  });
2789
2789
  }
2790
- function A(y) {
2791
- M(y), u !== null && (clearTimeout(u), u = null), s !== void 0 && s(), t("change", y.target.value);
2790
+ function A(b) {
2791
+ M(b), u !== null && (clearTimeout(u), u = null), s !== void 0 && s(), t("change", b.target.value);
2792
2792
  }
2793
- function Q(y) {
2794
- y !== void 0 && je(y), u !== null && (clearTimeout(u), u = null), s !== void 0 && s(), a = !1, c = !1, delete i.value, e.type !== "file" && setTimeout(() => {
2795
- d.value !== null && (d.value.value = h.value !== void 0 ? h.value : "");
2793
+ function Q(b) {
2794
+ b !== void 0 && je(b), u !== null && (clearTimeout(u), u = null), s !== void 0 && s(), a = !1, c = !1, delete i.value, e.type !== "file" && setTimeout(() => {
2795
+ d.value !== null && (d.value.value = p.value !== void 0 ? p.value : "");
2796
2796
  });
2797
2797
  }
2798
2798
  function ee() {
2799
- return i.hasOwnProperty("value") === !0 ? i.value : h.value !== void 0 ? h.value : "";
2799
+ return i.hasOwnProperty("value") === !0 ? i.value : p.value !== void 0 ? p.value : "";
2800
2800
  }
2801
2801
  be(() => {
2802
2802
  Q();
2803
2803
  }), Ze(() => {
2804
2804
  e.autogrow === !0 && j();
2805
2805
  }), Object.assign($, {
2806
- innerValue: h,
2807
- fieldClass: f(
2806
+ innerValue: p,
2807
+ fieldClass: h(
2808
2808
  () => `q-${R.value === !0 ? "textarea" : "input"}` + (e.autogrow === !0 ? " q-textarea--autogrow" : "")
2809
2809
  ),
2810
- hasShadow: f(
2810
+ hasShadow: h(
2811
2811
  () => e.type !== "file" && typeof e.shadowText == "string" && e.shadowText.length !== 0
2812
2812
  ),
2813
2813
  inputRef: d,
2814
2814
  emitValue: N,
2815
2815
  hasValue: T,
2816
- floatingLabel: f(
2817
- () => T.value === !0 && (e.type !== "number" || isNaN(h.value) === !1) || Jt(e.displayValue)
2816
+ floatingLabel: h(
2817
+ () => T.value === !0 && (e.type !== "number" || isNaN(p.value) === !1) || Jt(e.displayValue)
2818
2818
  ),
2819
2819
  getControl: () => k(R.value === !0 ? "textarea" : "input", {
2820
2820
  ref: d,
@@ -2915,10 +2915,10 @@ const Ji = fe({
2915
2915
  },
2916
2916
  emits: ["update:modelValue", "button-click", "clear", "focus", "blur", "click"],
2917
2917
  setup(e, { emit: t }) {
2918
- const n = e, o = t, r = f({
2918
+ const n = e, o = t, r = h({
2919
2919
  get: () => n.modelValue !== null && n.modelValue !== void 0 && n.type === "number" ? +n.modelValue : n.modelValue,
2920
2920
  set: (l) => o("update:modelValue", n.type === "number" ? +l : l)
2921
- }), i = f(() => ({
2921
+ }), i = h(() => ({
2922
2922
  "--dense": n.dense,
2923
2923
  "--bordered": n.bordered
2924
2924
  }));
@@ -3037,10 +3037,10 @@ const Ji = fe({
3037
3037
  },
3038
3038
  emits: ["update:modelValue", "button-click", "clear", "focus", "blur", "click"],
3039
3039
  setup(e, { emit: t }) {
3040
- const n = e, o = t, r = H(!1), i = f(() => n.type === "password" ? r.value ? "text" : "password" : n.type || "text"), l = f({
3040
+ const n = e, o = t, r = H(!1), i = h(() => n.type === "password" ? r.value ? "text" : "password" : n.type || "text"), l = h({
3041
3041
  get: () => n.modelValue !== null && n.modelValue !== void 0 && n.type === "number" ? +n.modelValue : n.modelValue,
3042
3042
  set: (c) => o("update:modelValue", n.type === "number" ? +c : c)
3043
- }), a = f(() => ({
3043
+ }), a = h(() => ({
3044
3044
  "app-input": !0,
3045
3045
  "--required": n.required,
3046
3046
  "--field": n.field,
@@ -3060,7 +3060,7 @@ const Ji = fe({
3060
3060
  }
3061
3061
  });
3062
3062
  function Bs(e, t) {
3063
- const n = H(null), o = f(() => e.disable === !0 ? null : k("span", {
3063
+ const n = H(null), o = h(() => e.disable === !0 ? null : k("span", {
3064
3064
  ref: n,
3065
3065
  class: "no-outline",
3066
3066
  tabindex: -1
@@ -3109,33 +3109,33 @@ const qs = {
3109
3109
  tabindex: [String, Number]
3110
3110
  }, Ls = ["update:modelValue"];
3111
3111
  function Ts(e, t) {
3112
- const { props: n, slots: o, emit: r, proxy: i } = ue(), { $q: l } = i, a = ut(n, l), c = H(null), { refocusTargetEl: u, refocusTarget: s } = Bs(n, c), d = zn(n, qs), p = f(
3112
+ const { props: n, slots: o, emit: r, proxy: i } = ue(), { $q: l } = i, a = ut(n, l), c = H(null), { refocusTargetEl: u, refocusTarget: s } = Bs(n, c), d = zn(n, qs), g = h(
3113
3113
  () => n.val !== void 0 && Array.isArray(n.modelValue)
3114
- ), h = f(() => {
3114
+ ), p = h(() => {
3115
3115
  const S = At(n.val);
3116
- return p.value === !0 ? n.modelValue.findIndex((z) => At(z) === S) : -1;
3117
- }), v = f(() => p.value === !0 ? h.value !== -1 : At(n.modelValue) === At(n.trueValue)), b = f(() => p.value === !0 ? h.value === -1 : At(n.modelValue) === At(n.falseValue)), g = f(
3118
- () => v.value === !1 && b.value === !1
3119
- ), E = f(() => n.disable === !0 ? -1 : n.tabindex || 0), w = f(
3116
+ return g.value === !0 ? n.modelValue.findIndex((z) => At(z) === S) : -1;
3117
+ }), f = h(() => g.value === !0 ? p.value !== -1 : At(n.modelValue) === At(n.trueValue)), y = h(() => g.value === !0 ? p.value === -1 : At(n.modelValue) === At(n.falseValue)), m = h(
3118
+ () => f.value === !1 && y.value === !1
3119
+ ), E = h(() => n.disable === !0 ? -1 : n.tabindex || 0), w = h(
3120
3120
  () => `q-${e} cursor-pointer no-outline row inline no-wrap items-center` + (n.disable === !0 ? " disabled" : "") + (a.value === !0 ? ` q-${e}--dark` : "") + (n.dense === !0 ? ` q-${e}--dense` : "") + (n.leftLabel === !0 ? " reverse" : "")
3121
- ), B = f(() => {
3122
- const S = v.value === !0 ? "truthy" : b.value === !0 ? "falsy" : "indet", z = n.color !== void 0 && (n.keepColor === !0 || v.value === !0) ? ` text-${n.color}` : "";
3121
+ ), B = h(() => {
3122
+ const S = f.value === !0 ? "truthy" : y.value === !0 ? "falsy" : "indet", z = n.color !== void 0 && (n.keepColor === !0 || f.value === !0) ? ` text-${n.color}` : "";
3123
3123
  return `q-${e}__inner relative-position non-selectable q-${e}__inner--${S}${z}`;
3124
- }), T = f(() => {
3124
+ }), T = h(() => {
3125
3125
  const S = { type: "checkbox" };
3126
3126
  return n.name !== void 0 && Object.assign(S, {
3127
3127
  // see https://vuejs.org/guide/extras/render-function.html#creating-vnodes (.prop)
3128
- ".checked": v.value,
3129
- "^checked": v.value === !0 ? "checked" : void 0,
3128
+ ".checked": f.value,
3129
+ "^checked": f.value === !0 ? "checked" : void 0,
3130
3130
  name: n.name,
3131
- value: p.value === !0 ? n.val : n.trueValue
3131
+ value: g.value === !0 ? n.val : n.trueValue
3132
3132
  }), S;
3133
- }), M = ys(T), $ = f(() => {
3133
+ }), M = ys(T), $ = h(() => {
3134
3134
  const S = {
3135
3135
  tabindex: E.value,
3136
3136
  role: "switch",
3137
3137
  "aria-label": n.label,
3138
- "aria-checked": g.value === !0 ? "mixed" : v.value === !0 ? "true" : "false"
3138
+ "aria-checked": m.value === !0 ? "mixed" : f.value === !0 ? "true" : "false"
3139
3139
  };
3140
3140
  return n.disable === !0 && (S["aria-disabled"] = "true"), S;
3141
3141
  });
@@ -3143,17 +3143,17 @@ function Ts(e, t) {
3143
3143
  S !== void 0 && (we(S), s(S)), n.disable !== !0 && r("update:modelValue", D(), S);
3144
3144
  }
3145
3145
  function D() {
3146
- if (p.value === !0) {
3147
- if (v.value === !0) {
3146
+ if (g.value === !0) {
3147
+ if (f.value === !0) {
3148
3148
  const S = n.modelValue.slice();
3149
- return S.splice(h.value, 1), S;
3149
+ return S.splice(p.value, 1), S;
3150
3150
  }
3151
3151
  return n.modelValue.concat([n.val]);
3152
3152
  }
3153
- if (v.value === !0) {
3153
+ if (f.value === !0) {
3154
3154
  if (n.toggleOrder !== "ft" || n.toggleIndeterminate === !1)
3155
3155
  return n.falseValue;
3156
- } else if (b.value === !0) {
3156
+ } else if (y.value === !0) {
3157
3157
  if (n.toggleOrder === "ft" || n.toggleIndeterminate === !1)
3158
3158
  return n.trueValue;
3159
3159
  } else
@@ -3166,7 +3166,7 @@ function Ts(e, t) {
3166
3166
  function q(S) {
3167
3167
  (S.keyCode === 13 || S.keyCode === 32) && R(S);
3168
3168
  }
3169
- const O = t(v, g);
3169
+ const O = t(f, m);
3170
3170
  return Object.assign(i, { toggle: R }), () => {
3171
3171
  const S = O();
3172
3172
  n.disable !== !0 && M(
@@ -3207,9 +3207,9 @@ const $s = fe({
3207
3207
  emits: Ls,
3208
3208
  setup(e) {
3209
3209
  function t(n, o) {
3210
- const r = f(
3210
+ const r = h(
3211
3211
  () => (n.value === !0 ? e.checkedIcon : o.value === !0 ? e.indeterminateIcon : e.uncheckedIcon) || e.icon
3212
- ), i = f(() => n.value === !0 ? e.iconColor : null);
3212
+ ), i = h(() => n.value === !0 ? e.iconColor : null);
3213
3213
  return () => [
3214
3214
  k("div", { class: "q-toggle__track" }),
3215
3215
  k(
@@ -3235,7 +3235,7 @@ const $s = fe({
3235
3235
  },
3236
3236
  emits: ["update:modelValue", "number"],
3237
3237
  setup(e, { emit: t }) {
3238
- const n = e, o = t, r = f({
3238
+ const n = e, o = t, r = h({
3239
3239
  get: () => n.modelValue,
3240
3240
  set: (i) => o("update:modelValue", i)
3241
3241
  });
@@ -3258,7 +3258,7 @@ const $s = fe({
3258
3258
  return console.error("QPage needs to be a deep child of QLayout"), Te;
3259
3259
  if (_t(Qi, Te) === Te)
3260
3260
  return console.error("QPage needs to be child of QPageContainer"), Te;
3261
- const i = f(() => {
3261
+ const i = h(() => {
3262
3262
  const a = (o.header.space === !0 ? o.header.size : 0) + (o.footer.space === !0 ? o.footer.size : 0);
3263
3263
  if (typeof e.styleFn == "function") {
3264
3264
  const c = o.isContainer.value === !0 ? o.containerHeight.value : n.screen.height;
@@ -3267,7 +3267,7 @@ const $s = fe({
3267
3267
  return {
3268
3268
  minHeight: o.isContainer.value === !0 ? o.containerHeight.value - a + "px" : n.screen.height === 0 ? a !== 0 ? `calc(100vh - ${a}px)` : "100vh" : n.screen.height - a + "px"
3269
3269
  };
3270
- }), l = f(
3270
+ }), l = h(
3271
3271
  () => `q-page${e.padding === !0 ? " q-layout-padding" : ""}`
3272
3272
  );
3273
3273
  return () => k("main", {
@@ -3282,7 +3282,7 @@ const $s = fe({
3282
3282
  if (o === Te)
3283
3283
  return console.error("QPageContainer needs to be child of QLayout"), Te;
3284
3284
  _i(Qi, !0);
3285
- const r = f(() => {
3285
+ const r = h(() => {
3286
3286
  const i = {};
3287
3287
  return o.header.space === !0 && (i.paddingTop = `${o.header.size}px`), o.right.space === !0 && (i[`padding${n.lang.rtl === !0 ? "Left" : "Right"}`] = `${o.right.size}px`), o.footer.space === !0 && (i.paddingBottom = `${o.footer.size}px`), o.left.space === !0 && (i[`padding${n.lang.rtl === !0 ? "Right" : "Left"}`] = `${o.left.size}px`), i;
3288
3288
  });
@@ -3326,14 +3326,14 @@ const $s = fe({
3326
3326
  });
3327
3327
  function l() {
3328
3328
  o !== null && o();
3329
- const d = Math.max(0, Pi(r)), p = ji(r), h = {
3329
+ const d = Math.max(0, Pi(r)), g = ji(r), p = {
3330
3330
  top: d - n.position.top,
3331
- left: p - n.position.left
3331
+ left: g - n.position.left
3332
3332
  };
3333
- if (e.axis === "vertical" && h.top === 0 || e.axis === "horizontal" && h.left === 0)
3333
+ if (e.axis === "vertical" && p.top === 0 || e.axis === "horizontal" && p.left === 0)
3334
3334
  return;
3335
- const v = Math.abs(h.top) >= Math.abs(h.left) ? h.top < 0 ? "up" : "down" : h.left < 0 ? "left" : "right";
3336
- n.position = { top: d, left: p }, n.directionChanged = n.direction !== v, n.delta = h, n.directionChanged === !0 && (n.direction = v, n.inflectionPoint = n.position), t("scroll", { ...n });
3335
+ const f = Math.abs(p.top) >= Math.abs(p.left) ? p.top < 0 ? "up" : "down" : p.left < 0 ? "left" : "right";
3336
+ n.position = { top: d, left: g }, n.directionChanged = n.direction !== f, n.delta = p, n.directionChanged === !0 && (n.direction = f, n.inflectionPoint = n.position), t("scroll", { ...n });
3337
3337
  }
3338
3338
  function a() {
3339
3339
  r = Ko(i, e.scrollTarget), r.addEventListener("scroll", u, Dr), u(!0);
@@ -3345,9 +3345,9 @@ const $s = fe({
3345
3345
  if (d === !0 || e.debounce === 0 || e.debounce === "0")
3346
3346
  l();
3347
3347
  else if (o === null) {
3348
- const [p, h] = e.debounce ? [setTimeout(l, e.debounce), clearTimeout] : [requestAnimationFrame(l), cancelAnimationFrame];
3348
+ const [g, p] = e.debounce ? [setTimeout(l, e.debounce), clearTimeout] : [requestAnimationFrame(l), cancelAnimationFrame];
3349
3349
  o = () => {
3350
- h(p), o = null;
3350
+ p(g), o = null;
3351
3351
  };
3352
3352
  }
3353
3353
  }
@@ -3445,14 +3445,14 @@ const el = typeof ResizeObserver < "u", Nr = el === !0 ? {} : {
3445
3445
  onResize: Function
3446
3446
  },
3447
3447
  setup(e, { slots: t, emit: n }) {
3448
- const { proxy: { $q: o } } = ue(), r = H(null), i = H(o.screen.height), l = H(e.container === !0 ? 0 : o.screen.width), a = H({ position: 0, direction: "down", inflectionPoint: 0 }), c = H(0), u = H(xt.value === !0 ? 0 : bn()), s = f(
3448
+ const { proxy: { $q: o } } = ue(), r = H(null), i = H(o.screen.height), l = H(e.container === !0 ? 0 : o.screen.width), a = H({ position: 0, direction: "down", inflectionPoint: 0 }), c = H(0), u = H(xt.value === !0 ? 0 : bn()), s = h(
3449
3449
  () => "q-layout q-layout--" + (e.container === !0 ? "containerized" : "standard")
3450
- ), d = f(() => e.container === !1 ? { minHeight: o.screen.height + "px" } : null), p = f(() => u.value !== 0 ? { [o.lang.rtl === !0 ? "left" : "right"]: `${u.value}px` } : null), h = f(() => u.value !== 0 ? {
3450
+ ), d = h(() => e.container === !1 ? { minHeight: o.screen.height + "px" } : null), g = h(() => u.value !== 0 ? { [o.lang.rtl === !0 ? "left" : "right"]: `${u.value}px` } : null), p = h(() => u.value !== 0 ? {
3451
3451
  [o.lang.rtl === !0 ? "right" : "left"]: 0,
3452
3452
  [o.lang.rtl === !0 ? "left" : "right"]: `-${u.value}px`,
3453
3453
  width: `calc(100% + ${u.value}px)`
3454
3454
  } : null);
3455
- function v(T) {
3455
+ function f(T) {
3456
3456
  if (e.container === !0 || document.qScrollPrevented !== !0) {
3457
3457
  const M = {
3458
3458
  position: T.position.top,
@@ -3464,12 +3464,12 @@ const el = typeof ResizeObserver < "u", Nr = el === !0 ? {} : {
3464
3464
  a.value = M, e.onScroll !== void 0 && n("scroll", M);
3465
3465
  }
3466
3466
  }
3467
- function b(T) {
3467
+ function y(T) {
3468
3468
  const { height: M, width: $ } = T;
3469
3469
  let R = !1;
3470
3470
  i.value !== M && (R = !0, i.value = M, e.onScrollHeight !== void 0 && n("scrollHeight", M), E()), l.value !== $ && (R = !0, l.value = $), R === !0 && e.onResize !== void 0 && n("resize", T);
3471
3471
  }
3472
- function g({ height: T }) {
3472
+ function m({ height: T }) {
3473
3473
  c.value !== T && (c.value = T, E());
3474
3474
  }
3475
3475
  function E() {
@@ -3481,14 +3481,14 @@ const el = typeof ResizeObserver < "u", Nr = el === !0 ? {} : {
3481
3481
  let w = null;
3482
3482
  const B = {
3483
3483
  instances: {},
3484
- view: f(() => e.view),
3485
- isContainer: f(() => e.container),
3484
+ view: h(() => e.view),
3485
+ isContainer: h(() => e.container),
3486
3486
  rootRef: r,
3487
3487
  height: i,
3488
3488
  containerHeight: c,
3489
3489
  scrollbarWidth: u,
3490
- totalWidth: f(() => l.value + u.value),
3491
- rows: f(() => {
3490
+ totalWidth: h(() => l.value + u.value),
3491
+ rows: h(() => {
3492
3492
  const T = e.view.toLowerCase().split(" ");
3493
3493
  return {
3494
3494
  top: T[0].split(""),
@@ -3534,8 +3534,8 @@ const el = typeof ResizeObserver < "u", Nr = el === !0 ? {} : {
3534
3534
  }
3535
3535
  return () => {
3536
3536
  const T = nt(t.default, [
3537
- k(Os, { onScroll: v }),
3538
- k(To, { onResize: b })
3537
+ k(Os, { onScroll: f }),
3538
+ k(To, { onResize: y })
3539
3539
  ]), M = k("div", {
3540
3540
  class: s.value,
3541
3541
  style: d.value,
@@ -3546,14 +3546,14 @@ const el = typeof ResizeObserver < "u", Nr = el === !0 ? {} : {
3546
3546
  class: "q-layout-container overflow-hidden",
3547
3547
  ref: r
3548
3548
  }, [
3549
- k(To, { onResize: g }),
3549
+ k(To, { onResize: m }),
3550
3550
  k("div", {
3551
3551
  class: "absolute-full",
3552
- style: p.value
3552
+ style: g.value
3553
3553
  }, [
3554
3554
  k("div", {
3555
3555
  class: "scroll",
3556
- style: h.value
3556
+ style: p.value
3557
3557
  }, [M])
3558
3558
  ])
3559
3559
  ]) : M;
@@ -3656,73 +3656,73 @@ const el = typeof ResizeObserver < "u", Nr = el === !0 ? {} : {
3656
3656
  },
3657
3657
  emits: ["update:modelValue", "update:selected", "remove", "click"],
3658
3658
  setup(e, { slots: t, emit: n }) {
3659
- const { proxy: { $q: o } } = ue(), r = ut(e, o), i = zn(e, Ds), l = f(() => e.selected === !0 || e.icon !== void 0), a = f(() => e.selected === !0 ? e.iconSelected || o.iconSet.chip.selected : e.icon), c = f(() => e.iconRemove || o.iconSet.chip.remove), u = f(
3659
+ const { proxy: { $q: o } } = ue(), r = ut(e, o), i = zn(e, Ds), l = h(() => e.selected === !0 || e.icon !== void 0), a = h(() => e.selected === !0 ? e.iconSelected || o.iconSet.chip.selected : e.icon), c = h(() => e.iconRemove || o.iconSet.chip.remove), u = h(
3660
3660
  () => e.disable === !1 && (e.clickable === !0 || e.selected !== null)
3661
- ), s = f(() => {
3662
- const g = e.outline === !0 && e.color || e.textColor;
3663
- return "q-chip row inline no-wrap items-center" + (e.outline === !1 && e.color !== void 0 ? ` bg-${e.color}` : "") + (g ? ` text-${g} q-chip--colored` : "") + (e.disable === !0 ? " disabled" : "") + (e.dense === !0 ? " q-chip--dense" : "") + (e.outline === !0 ? " q-chip--outline" : "") + (e.selected === !0 ? " q-chip--selected" : "") + (u.value === !0 ? " q-chip--clickable cursor-pointer non-selectable q-hoverable" : "") + (e.square === !0 ? " q-chip--square" : "") + (r.value === !0 ? " q-chip--dark q-dark" : "");
3664
- }), d = f(() => {
3665
- const g = e.disable === !0 ? { tabindex: -1, "aria-disabled": "true" } : { tabindex: e.tabindex || 0 }, E = {
3666
- ...g,
3661
+ ), s = h(() => {
3662
+ const m = e.outline === !0 && e.color || e.textColor;
3663
+ return "q-chip row inline no-wrap items-center" + (e.outline === !1 && e.color !== void 0 ? ` bg-${e.color}` : "") + (m ? ` text-${m} q-chip--colored` : "") + (e.disable === !0 ? " disabled" : "") + (e.dense === !0 ? " q-chip--dense" : "") + (e.outline === !0 ? " q-chip--outline" : "") + (e.selected === !0 ? " q-chip--selected" : "") + (u.value === !0 ? " q-chip--clickable cursor-pointer non-selectable q-hoverable" : "") + (e.square === !0 ? " q-chip--square" : "") + (r.value === !0 ? " q-chip--dark q-dark" : "");
3664
+ }), d = h(() => {
3665
+ const m = e.disable === !0 ? { tabindex: -1, "aria-disabled": "true" } : { tabindex: e.tabindex || 0 }, E = {
3666
+ ...m,
3667
3667
  role: "button",
3668
3668
  "aria-hidden": "false",
3669
3669
  "aria-label": e.removeAriaLabel || o.lang.label.remove
3670
3670
  };
3671
- return { chip: g, remove: E };
3671
+ return { chip: m, remove: E };
3672
3672
  });
3673
- function p(g) {
3674
- g.keyCode === 13 && h(g);
3673
+ function g(m) {
3674
+ m.keyCode === 13 && p(m);
3675
3675
  }
3676
- function h(g) {
3677
- e.disable || (n("update:selected", !e.selected), n("click", g));
3676
+ function p(m) {
3677
+ e.disable || (n("update:selected", !e.selected), n("click", m));
3678
3678
  }
3679
- function v(g) {
3680
- (g.keyCode === void 0 || g.keyCode === 13) && (we(g), e.disable === !1 && (n("update:modelValue", !1), n("remove")));
3679
+ function f(m) {
3680
+ (m.keyCode === void 0 || m.keyCode === 13) && (we(m), e.disable === !1 && (n("update:modelValue", !1), n("remove")));
3681
3681
  }
3682
- function b() {
3683
- const g = [];
3684
- u.value === !0 && g.push(
3682
+ function y() {
3683
+ const m = [];
3684
+ u.value === !0 && m.push(
3685
3685
  k("div", { class: "q-focus-helper" })
3686
- ), l.value === !0 && g.push(
3686
+ ), l.value === !0 && m.push(
3687
3687
  k(Ue, {
3688
3688
  class: "q-chip__icon q-chip__icon--left",
3689
3689
  name: a.value
3690
3690
  })
3691
3691
  );
3692
3692
  const E = e.label !== void 0 ? [k("div", { class: "ellipsis" }, [e.label])] : void 0;
3693
- return g.push(
3693
+ return m.push(
3694
3694
  k("div", {
3695
3695
  class: "q-chip__content col row no-wrap items-center q-anchor--skip"
3696
3696
  }, ia(t.default, E))
3697
- ), e.iconRight && g.push(
3697
+ ), e.iconRight && m.push(
3698
3698
  k(Ue, {
3699
3699
  class: "q-chip__icon q-chip__icon--right",
3700
3700
  name: e.iconRight
3701
3701
  })
3702
- ), e.removable === !0 && g.push(
3702
+ ), e.removable === !0 && m.push(
3703
3703
  k(Ue, {
3704
3704
  class: "q-chip__icon q-chip__icon--remove cursor-pointer",
3705
3705
  name: c.value,
3706
3706
  ...d.value.remove,
3707
- onClick: v,
3708
- onKeyup: v
3707
+ onClick: f,
3708
+ onKeyup: f
3709
3709
  })
3710
- ), g;
3710
+ ), m;
3711
3711
  }
3712
3712
  return () => {
3713
3713
  if (e.modelValue === !1) return;
3714
- const g = {
3714
+ const m = {
3715
3715
  class: s.value,
3716
3716
  style: i.value
3717
3717
  };
3718
3718
  return u.value === !0 && Object.assign(
3719
- g,
3719
+ m,
3720
3720
  d.value.chip,
3721
- { onClick: h, onKeyup: p }
3721
+ { onClick: p, onKeyup: g }
3722
3722
  ), _o(
3723
3723
  "div",
3724
- g,
3725
- b(),
3724
+ m,
3725
+ y(),
3726
3726
  "ripple",
3727
3727
  e.ripple !== !1 && e.disable !== !0,
3728
3728
  () => [[Nn, e.ripple]]
@@ -3751,20 +3751,20 @@ const el = typeof ResizeObserver < "u", Nr = el === !0 ? {} : {
3751
3751
  },
3752
3752
  emits: ["click", "keyup"],
3753
3753
  setup(e, { slots: t, emit: n }) {
3754
- const { proxy: { $q: o } } = ue(), r = ut(e, o), { hasLink: i, linkAttrs: l, linkClass: a, linkTag: c, navigateOnClick: u } = Wi(), s = H(null), d = H(null), p = f(
3754
+ const { proxy: { $q: o } } = ue(), r = ut(e, o), { hasLink: i, linkAttrs: l, linkClass: a, linkTag: c, navigateOnClick: u } = Wi(), s = H(null), d = H(null), g = h(
3755
3755
  () => e.clickable === !0 || i.value === !0 || e.tag === "label"
3756
- ), h = f(
3757
- () => e.disable !== !0 && p.value === !0
3758
- ), v = f(
3759
- () => "q-item q-item-type row no-wrap" + (e.dense === !0 ? " q-item--dense" : "") + (r.value === !0 ? " q-item--dark" : "") + (i.value === !0 && e.active === null ? a.value : e.active === !0 ? ` q-item--active${e.activeClass !== void 0 ? ` ${e.activeClass}` : ""}` : "") + (e.disable === !0 ? " disabled" : "") + (h.value === !0 ? " q-item--clickable q-link cursor-pointer " + (e.manualFocus === !0 ? "q-manual-focusable" : "q-focusable q-hoverable") + (e.focused === !0 ? " q-manual-focusable--focused" : "") : "")
3760
- ), b = f(() => e.insetLevel === void 0 ? null : {
3756
+ ), p = h(
3757
+ () => e.disable !== !0 && g.value === !0
3758
+ ), f = h(
3759
+ () => "q-item q-item-type row no-wrap" + (e.dense === !0 ? " q-item--dense" : "") + (r.value === !0 ? " q-item--dark" : "") + (i.value === !0 && e.active === null ? a.value : e.active === !0 ? ` q-item--active${e.activeClass !== void 0 ? ` ${e.activeClass}` : ""}` : "") + (e.disable === !0 ? " disabled" : "") + (p.value === !0 ? " q-item--clickable q-link cursor-pointer " + (e.manualFocus === !0 ? "q-manual-focusable" : "q-focusable q-hoverable") + (e.focused === !0 ? " q-manual-focusable--focused" : "") : "")
3760
+ ), y = h(() => e.insetLevel === void 0 ? null : {
3761
3761
  ["padding" + (o.lang.rtl === !0 ? "Right" : "Left")]: 16 + e.insetLevel * 56 + "px"
3762
3762
  });
3763
- function g(B) {
3764
- h.value === !0 && (d.value !== null && (B.qKeyEvent !== !0 && document.activeElement === s.value ? d.value.focus() : document.activeElement === d.value && s.value.focus()), u(B));
3763
+ function m(B) {
3764
+ p.value === !0 && (d.value !== null && (B.qKeyEvent !== !0 && document.activeElement === s.value ? d.value.focus() : document.activeElement === d.value && s.value.focus()), u(B));
3765
3765
  }
3766
3766
  function E(B) {
3767
- if (h.value === !0 && Et(B, [13, 32]) === !0) {
3767
+ if (p.value === !0 && Et(B, [13, 32]) === !0) {
3768
3768
  we(B), B.qKeyEvent = !0;
3769
3769
  const T = new MouseEvent("click", B);
3770
3770
  T.qKeyEvent = !0, s.value.dispatchEvent(T);
@@ -3773,20 +3773,20 @@ const el = typeof ResizeObserver < "u", Nr = el === !0 ? {} : {
3773
3773
  }
3774
3774
  function w() {
3775
3775
  const B = qi(t.default, []);
3776
- return h.value === !0 && B.unshift(
3776
+ return p.value === !0 && B.unshift(
3777
3777
  k("div", { class: "q-focus-helper", tabindex: -1, ref: d })
3778
3778
  ), B;
3779
3779
  }
3780
3780
  return () => {
3781
3781
  const B = {
3782
3782
  ref: s,
3783
- class: v.value,
3784
- style: b.value,
3783
+ class: f.value,
3784
+ style: y.value,
3785
3785
  role: "listitem",
3786
- onClick: g,
3786
+ onClick: m,
3787
3787
  onKeyup: E
3788
3788
  };
3789
- return h.value === !0 ? (B.tabindex = e.tabindex || "0", Object.assign(B, l.value)) : p.value === !0 && (B["aria-disabled"] = "true"), k(
3789
+ return p.value === !0 ? (B.tabindex = e.tabindex || "0", Object.assign(B, l.value)) : g.value === !0 && (B["aria-disabled"] = "true"), k(
3790
3790
  c.value,
3791
3791
  B,
3792
3792
  w()
@@ -3819,7 +3819,7 @@ const el = typeof ResizeObserver < "u", Nr = el === !0 ? {} : {
3819
3819
  noWrap: Boolean
3820
3820
  },
3821
3821
  setup(e, { slots: t }) {
3822
- const n = f(
3822
+ const n = h(
3823
3823
  () => `q-item__section column q-item__section--${e.avatar === !0 || e.side === !0 || e.thumbnail === !0 ? "side" : "main"}` + (e.top === !0 ? " q-item__section--top justify-start" : " justify-center") + (e.avatar === !0 ? " q-item__section--avatar" : "") + (e.thumbnail === !0 ? " q-item__section--thumbnail" : "") + (e.noWrap === !0 ? " q-item__section--nowrap" : "")
3824
3824
  );
3825
3825
  return () => k("div", { class: n.value }, Le(t.default));
@@ -3833,9 +3833,9 @@ const el = typeof ResizeObserver < "u", Nr = el === !0 ? {} : {
3833
3833
  lines: [Number, String]
3834
3834
  },
3835
3835
  setup(e, { slots: t }) {
3836
- const n = f(() => parseInt(e.lines, 10)), o = f(
3836
+ const n = h(() => parseInt(e.lines, 10)), o = h(
3837
3837
  () => "q-item__label" + (e.overline === !0 ? " q-item__label--overline text-overline" : "") + (e.caption === !0 ? " q-item__label--caption text-caption" : "") + (e.header === !0 ? " q-item__label--header" : "") + (n.value === 1 ? " ellipsis" : "")
3838
- ), r = f(() => e.lines !== void 0 && n.value > 1 ? {
3838
+ ), r = h(() => e.lines !== void 0 && n.value > 1 ? {
3839
3839
  overflow: "hidden",
3840
3840
  display: "-webkit-box",
3841
3841
  "-webkit-box-orient": "vertical",
@@ -3925,32 +3925,32 @@ const Qs = fe({
3925
3925
  ],
3926
3926
  setup(e, { slots: t, emit: n, attrs: o }) {
3927
3927
  let r = null, i, l, a;
3928
- const c = ue(), { proxy: u } = c, { $q: s } = u, d = H(null), p = H(!1), h = f(
3928
+ const c = ue(), { proxy: u } = c, { $q: s } = u, d = H(null), g = H(!1), p = h(
3929
3929
  () => e.persistent !== !0 && e.noRouteDismiss !== !0
3930
- ), v = ut(e, s), { registerTick: b, removeTick: g } = Uo(), { registerTimeout: E } = Fn(), { transitionProps: w, transitionStyle: B } = No(e), { localScrollTarget: T, changeScrollEvent: M, unconfigureScrollTarget: $ } = $i(e, I), { anchorEl: R, canShow: D } = Ti({ showing: p }), { hide: x } = on({
3931
- showing: p,
3930
+ ), f = ut(e, s), { registerTick: y, removeTick: m } = Uo(), { registerTimeout: E } = Fn(), { transitionProps: w, transitionStyle: B } = No(e), { localScrollTarget: T, changeScrollEvent: M, unconfigureScrollTarget: $ } = $i(e, I), { anchorEl: R, canShow: D } = Ti({ showing: g }), { hide: x } = on({
3931
+ showing: g,
3932
3932
  canShow: D,
3933
3933
  handleShow: ee,
3934
3934
  handleHide: C,
3935
- hideOnRouteChange: h,
3935
+ hideOnRouteChange: p,
3936
3936
  processOnMount: !0
3937
3937
  }), { showPortal: q, hidePortal: O, renderPortal: S } = Do(c, d, se, "menu"), z = {
3938
3938
  anchorEl: R,
3939
3939
  innerRef: d,
3940
3940
  onClickOutside(F) {
3941
- if (e.persistent !== !0 && p.value === !0)
3941
+ if (e.persistent !== !0 && g.value === !0)
3942
3942
  return x(F), // always prevent touch event
3943
3943
  (F.type === "touchstart" || F.target.classList.contains("q-dialog__backdrop")) && we(F), !0;
3944
3944
  }
3945
- }, L = f(
3945
+ }, L = h(
3946
3946
  () => Bn(
3947
3947
  e.anchor || (e.cover === !0 ? "center middle" : "bottom start"),
3948
3948
  s.lang.rtl
3949
3949
  )
3950
- ), X = f(() => e.cover === !0 ? L.value : Bn(e.self || "top start", s.lang.rtl)), N = f(
3951
- () => (e.square === !0 ? " q-menu--square" : "") + (v.value === !0 ? " q-menu--dark q-dark" : "")
3952
- ), j = f(() => e.autoClose === !0 ? { onClick: J } : {}), A = f(
3953
- () => p.value === !0 && e.persistent !== !0
3950
+ ), X = h(() => e.cover === !0 ? L.value : Bn(e.self || "top start", s.lang.rtl)), N = h(
3951
+ () => (e.square === !0 ? " q-menu--square" : "") + (f.value === !0 ? " q-menu--dark q-dark" : "")
3952
+ ), j = h(() => e.autoClose === !0 ? { onClick: J } : {}), A = h(
3953
+ () => g.value === !0 && e.persistent !== !0
3954
3954
  );
3955
3955
  G(A, (F) => {
3956
3956
  F === !0 ? (ol(V), Ii(z)) : (Tn(V), xn(z));
@@ -3972,20 +3972,20 @@ const Qs = fe({
3972
3972
  l === void 0 && (l = G(
3973
3973
  () => s.screen.width + "|" + s.screen.height + "|" + e.self + "|" + e.anchor + "|" + s.lang.rtl,
3974
3974
  U
3975
- )), e.noFocus !== !0 && document.activeElement.blur(), b(() => {
3975
+ )), e.noFocus !== !0 && document.activeElement.blur(), y(() => {
3976
3976
  U(), e.noFocus !== !0 && Q();
3977
3977
  }), E(() => {
3978
3978
  s.platform.is.ios === !0 && (a = e.autoClose, d.value.click()), U(), q(!0), n("show", F);
3979
3979
  }, e.transitionDuration);
3980
3980
  }
3981
3981
  function C(F) {
3982
- g(), O(), y(!0), r !== null && // menu was hidden from code or ESC plugin
3982
+ m(), O(), b(!0), r !== null && // menu was hidden from code or ESC plugin
3983
3983
  (F === void 0 || F.qClickOutside !== !0) && (((F && F.type.indexOf("key") === 0 ? r.closest('[tabindex]:not([tabindex^="-"])') : void 0) || r).focus(), r = null), E(() => {
3984
3984
  O(!0), n("hide", F);
3985
3985
  }, e.transitionDuration);
3986
3986
  }
3987
- function y(F) {
3988
- i = void 0, l !== void 0 && (l(), l = void 0), (F === !0 || p.value === !0) && (Ro(te), $(), xn(z), Tn(V)), F !== !0 && (r = null);
3987
+ function b(F) {
3988
+ i = void 0, l !== void 0 && (l(), l = void 0), (F === !0 || g.value === !0) && (Ro(te), $(), xn(z), Tn(V)), F !== !0 && (r = null);
3989
3989
  }
3990
3990
  function I() {
3991
3991
  (R.value !== null || e.scrollTarget !== void 0) && (T.value = Ko(R.value, e.scrollTarget), M(T.value, U));
@@ -4017,7 +4017,7 @@ const Qs = fe({
4017
4017
  return k(
4018
4018
  St,
4019
4019
  w.value,
4020
- () => p.value === !0 ? k("div", {
4020
+ () => g.value === !0 ? k("div", {
4021
4021
  role: "menu",
4022
4022
  ...o,
4023
4023
  ref: d,
@@ -4034,7 +4034,7 @@ const Qs = fe({
4034
4034
  }, Le(t.default)) : null
4035
4035
  );
4036
4036
  }
4037
- return be(y), Object.assign(u, { focus: Q, updatePosition: U }), S;
4037
+ return be(b), Object.assign(u, { focus: Q, updatePosition: U }), S;
4038
4038
  }
4039
4039
  });
4040
4040
  function ll(e, t, n) {
@@ -4163,36 +4163,36 @@ const Gs = {
4163
4163
  setup(e, { slots: t, emit: n, attrs: o }) {
4164
4164
  const r = ue(), i = H(null), l = H(!1), a = H(!1);
4165
4165
  let c = null, u = null, s, d;
4166
- const p = f(
4166
+ const g = h(
4167
4167
  () => e.persistent !== !0 && e.noRouteDismiss !== !0 && e.seamless !== !0
4168
- ), { preventBodyScroll: h } = al(), { registerTimeout: v } = Fn(), { registerTick: b, removeTick: g } = Uo(), { transitionProps: E, transitionStyle: w } = No(
4168
+ ), { preventBodyScroll: p } = al(), { registerTimeout: f } = Fn(), { registerTick: y, removeTick: m } = Uo(), { transitionProps: E, transitionStyle: w } = No(
4169
4169
  e,
4170
4170
  () => Xr[e.position][0],
4171
4171
  () => Xr[e.position][1]
4172
- ), B = f(() => w.value + (e.backdropFilter !== void 0 ? `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}` : "")), { showPortal: T, hidePortal: M, portalIsAccessible: $, renderPortal: R } = Do(
4172
+ ), B = h(() => w.value + (e.backdropFilter !== void 0 ? `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}` : "")), { showPortal: T, hidePortal: M, portalIsAccessible: $, renderPortal: R } = Do(
4173
4173
  r,
4174
4174
  i,
4175
4175
  te,
4176
4176
  "dialog"
4177
4177
  ), { hide: D } = on({
4178
4178
  showing: l,
4179
- hideOnRouteChange: p,
4179
+ hideOnRouteChange: g,
4180
4180
  handleShow: X,
4181
4181
  handleHide: N,
4182
4182
  processOnMount: !0
4183
- }), { addToHistory: x, removeFromHistory: q } = ll(l), O = f(
4183
+ }), { addToHistory: x, removeFromHistory: q } = ll(l), O = h(
4184
4184
  () => `q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized === !0 ? "maximized" : "minimized"} q-dialog__inner--${e.position} ${Gs[e.position]}` + (a.value === !0 ? " q-dialog__inner--animating" : "") + (e.fullWidth === !0 ? " q-dialog__inner--fullwidth" : "") + (e.fullHeight === !0 ? " q-dialog__inner--fullheight" : "") + (e.square === !0 ? " q-dialog__inner--square" : "")
4185
- ), S = f(() => l.value === !0 && e.seamless !== !0), z = f(() => e.autoClose === !0 ? { onClick: y } : {}), L = f(() => [
4185
+ ), S = h(() => l.value === !0 && e.seamless !== !0), z = h(() => e.autoClose === !0 ? { onClick: b } : {}), L = h(() => [
4186
4186
  `q-dialog fullscreen no-pointer-events q-dialog--${S.value === !0 ? "modal" : "seamless"}`,
4187
4187
  o.class
4188
4188
  ]);
4189
4189
  G(() => e.maximized, (V) => {
4190
4190
  l.value === !0 && C(V);
4191
4191
  }), G(S, (V) => {
4192
- h(V), V === !0 ? (il(J), ol(Q)) : (Ro(J), Tn(Q));
4192
+ p(V), V === !0 ? (il(J), ol(Q)) : (Ro(J), Tn(Q));
4193
4193
  });
4194
4194
  function X(V) {
4195
- x(), u = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, C(e.maximized), T(), a.value = !0, e.noFocus !== !0 ? (document.activeElement !== null && document.activeElement.blur(), b(j)) : g(), v(() => {
4195
+ x(), u = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, C(e.maximized), T(), a.value = !0, e.noFocus !== !0 ? (document.activeElement !== null && document.activeElement.blur(), y(j)) : m(), f(() => {
4196
4196
  if (r.proxy.$q.platform.is.ios === !0) {
4197
4197
  if (e.seamless !== !0 && document.activeElement) {
4198
4198
  const { top: U, bottom: se } = document.activeElement.getBoundingClientRect(), { innerHeight: F } = window, me = window.visualViewport !== void 0 ? window.visualViewport.height : F;
@@ -4207,7 +4207,7 @@ const Gs = {
4207
4207
  }, e.transitionDuration);
4208
4208
  }
4209
4209
  function N(V) {
4210
- g(), q(), ee(!0), a.value = !0, M(), u !== null && (((V && V.type.indexOf("key") === 0 ? u.closest('[tabindex]:not([tabindex^="-"])') : void 0) || u).focus(), u = null), v(() => {
4210
+ m(), q(), ee(!0), a.value = !0, M(), u !== null && (((V && V.type.indexOf("key") === 0 ? u.closest('[tabindex]:not([tabindex^="-"])') : void 0) || u).focus(), u = null), f(() => {
4211
4211
  M(!0), a.value = !1, n("hide", V);
4212
4212
  }, e.transitionDuration);
4213
4213
  }
@@ -4237,12 +4237,12 @@ const Gs = {
4237
4237
  e.seamless !== !0 && (e.persistent === !0 || e.noEscDismiss === !0 ? e.maximized !== !0 && e.noShake !== !0 && A() : (n("escapeKey"), D()));
4238
4238
  }
4239
4239
  function ee(V) {
4240
- c !== null && (clearTimeout(c), c = null), (V === !0 || l.value === !0) && (C(!1), e.seamless !== !0 && (h(!1), Ro(J), Tn(Q))), V !== !0 && (u = null);
4240
+ c !== null && (clearTimeout(c), c = null), (V === !0 || l.value === !0) && (C(!1), e.seamless !== !0 && (p(!1), Ro(J), Tn(Q))), V !== !0 && (u = null);
4241
4241
  }
4242
4242
  function C(V) {
4243
4243
  V === !0 ? s !== !0 && (gn < 1 && document.body.classList.add("q-body--dialog"), gn++, s = !0) : s === !0 && (gn < 2 && document.body.classList.remove("q-body--dialog"), gn--, s = !1);
4244
4244
  }
4245
- function y(V) {
4245
+ function b(V) {
4246
4246
  d !== !0 && (D(V), n("click", V));
4247
4247
  }
4248
4248
  function I(V) {
@@ -4345,8 +4345,8 @@ function uo(e, t, n, o, r, i, l, a) {
4345
4345
  for (let d = o.nextElementSibling; d !== null; d = d.nextElementSibling)
4346
4346
  d.classList.contains("q-virtual-scroll--skip") === !1 && (s.offsetEnd += d[u]);
4347
4347
  if (t !== e) {
4348
- const d = c.getBoundingClientRect(), p = t.getBoundingClientRect();
4349
- r === !0 ? (s.offsetStart += p.left - d.left, s.offsetEnd -= p.width) : (s.offsetStart += p.top - d.top, s.offsetEnd -= p.height), e !== window && (s.offsetStart += s.scrollStart), s.offsetEnd += s.scrollMaxSize - s.offsetStart;
4348
+ const d = c.getBoundingClientRect(), g = t.getBoundingClientRect();
4349
+ r === !0 ? (s.offsetStart += g.left - d.left, s.offsetEnd -= g.width) : (s.offsetStart += g.top - d.top, s.offsetEnd -= g.height), e !== window && (s.offsetStart += s.scrollStart), s.offsetEnd += s.scrollMaxSize - s.offsetStart;
4350
4350
  }
4351
4351
  return s;
4352
4352
  }
@@ -4399,10 +4399,10 @@ function ou({
4399
4399
  // optional
4400
4400
  }) {
4401
4401
  const r = ue(), { props: i, emit: l, proxy: a } = r, { $q: c } = a;
4402
- let u, s, d, p = [], h;
4403
- const v = H(0), b = H(0), g = H({}), E = H(null), w = H(null), B = H(null), T = H({ from: 0, to: 0 }), M = f(() => i.tableColspan !== void 0 ? i.tableColspan : 100);
4404
- o === void 0 && (o = f(() => i.virtualScrollItemSize));
4405
- const $ = f(() => o.value + ";" + i.virtualScrollHorizontal), R = f(
4402
+ let u, s, d, g = [], p;
4403
+ const f = H(0), y = H(0), m = H({}), E = H(null), w = H(null), B = H(null), T = H({ from: 0, to: 0 }), M = h(() => i.tableColspan !== void 0 ? i.tableColspan : 100);
4404
+ o === void 0 && (o = h(() => i.virtualScrollItemSize));
4405
+ const $ = h(() => o.value + ";" + i.virtualScrollHorizontal), R = h(
4406
4406
  () => $.value + ";" + i.virtualScrollSliceRatioBefore + ";" + i.virtualScrollSliceRatioAfter
4407
4407
  );
4408
4408
  G(R, () => {
@@ -4414,7 +4414,7 @@ function ou({
4414
4414
  function x(C) {
4415
4415
  X(C === void 0 ? s : C);
4416
4416
  }
4417
- function q(C, y) {
4417
+ function q(C, b) {
4418
4418
  const I = t();
4419
4419
  if (I == null || I.nodeType === 8)
4420
4420
  return;
@@ -4433,14 +4433,14 @@ function ou({
4433
4433
  J,
4434
4434
  Math.min(e.value - 1, Math.max(0, parseInt(C, 10) || 0)),
4435
4435
  0,
4436
- eu.indexOf(y) !== -1 ? y : s !== -1 && C > s ? "end" : "start"
4436
+ eu.indexOf(b) !== -1 ? b : s !== -1 && C > s ? "end" : "start"
4437
4437
  );
4438
4438
  }
4439
4439
  function O() {
4440
4440
  const C = t();
4441
4441
  if (C == null || C.nodeType === 8)
4442
4442
  return;
4443
- const y = uo(
4443
+ const b = uo(
4444
4444
  C,
4445
4445
  n(),
4446
4446
  E.value,
@@ -4449,43 +4449,43 @@ function ou({
4449
4449
  c.lang.rtl,
4450
4450
  i.virtualScrollStickySizeStart,
4451
4451
  i.virtualScrollStickySizeEnd
4452
- ), I = e.value - 1, J = y.scrollMaxSize - y.offsetStart - y.offsetEnd - b.value;
4453
- if (u === y.scrollStart)
4452
+ ), I = e.value - 1, J = b.scrollMaxSize - b.offsetStart - b.offsetEnd - y.value;
4453
+ if (u === b.scrollStart)
4454
4454
  return;
4455
- if (y.scrollMaxSize <= 0) {
4456
- S(C, y, 0, 0);
4455
+ if (b.scrollMaxSize <= 0) {
4456
+ S(C, b, 0, 0);
4457
4457
  return;
4458
4458
  }
4459
- d !== y.scrollViewSize && N(y.scrollViewSize), z(T.value.from);
4460
- const te = Math.floor(y.scrollMaxSize - Math.max(y.scrollViewSize, y.offsetEnd) - Math.min(h[I], y.scrollViewSize / 2));
4461
- if (te > 0 && Math.ceil(y.scrollStart) >= te) {
4459
+ d !== b.scrollViewSize && N(b.scrollViewSize), z(T.value.from);
4460
+ const te = Math.floor(b.scrollMaxSize - Math.max(b.scrollViewSize, b.offsetEnd) - Math.min(p[I], b.scrollViewSize / 2));
4461
+ if (te > 0 && Math.ceil(b.scrollStart) >= te) {
4462
4462
  S(
4463
4463
  C,
4464
- y,
4464
+ b,
4465
4465
  I,
4466
- y.scrollMaxSize - y.offsetEnd - p.reduce(It, 0)
4466
+ b.scrollMaxSize - b.offsetEnd - g.reduce(It, 0)
4467
4467
  );
4468
4468
  return;
4469
4469
  }
4470
- let V = 0, U = y.scrollStart - y.offsetStart, se = U;
4471
- if (U <= J && U + y.scrollViewSize >= v.value)
4472
- U -= v.value, V = T.value.from, se = U;
4470
+ let V = 0, U = b.scrollStart - b.offsetStart, se = U;
4471
+ if (U <= J && U + b.scrollViewSize >= f.value)
4472
+ U -= f.value, V = T.value.from, se = U;
4473
4473
  else
4474
- for (let F = 0; U >= p[F] && V < I; F++)
4475
- U -= p[F], V += Ke;
4474
+ for (let F = 0; U >= g[F] && V < I; F++)
4475
+ U -= g[F], V += Ke;
4476
4476
  for (; U > 0 && V < I; )
4477
- U -= h[V], U > -y.scrollViewSize ? (V++, se = U) : se = h[V] + U;
4477
+ U -= p[V], U > -b.scrollViewSize ? (V++, se = U) : se = p[V] + U;
4478
4478
  S(
4479
4479
  C,
4480
- y,
4480
+ b,
4481
4481
  V,
4482
4482
  se
4483
4483
  );
4484
4484
  }
4485
- function S(C, y, I, J, te) {
4485
+ function S(C, b, I, J, te) {
4486
4486
  const V = typeof te == "string" && te.indexOf("-force") !== -1, U = V === !0 ? te.replace("-force", "") : te, se = U !== void 0 ? U : "start";
4487
- let F = Math.max(0, I - g.value[se]), me = F + g.value.total;
4488
- me > e.value && (me = e.value, F = Math.max(0, me - g.value.total)), u = y.scrollStart;
4487
+ let F = Math.max(0, I - m.value[se]), me = F + m.value.total;
4488
+ me > e.value && (me = e.value, F = Math.max(0, me - m.value.total)), u = b.scrollStart;
4489
4489
  const ze = F !== T.value.from || me !== T.value.to;
4490
4490
  if (ze === !1 && U === void 0) {
4491
4491
  A(I);
@@ -4495,22 +4495,22 @@ function ou({
4495
4495
  ze === !0 && pe !== null && pe !== Ge && pe.contains(Ge) === !0 && (pe.addEventListener("focusout", L), setTimeout(() => {
4496
4496
  pe !== null && pe.removeEventListener("focusout", L);
4497
4497
  })), tu(pe, I - F);
4498
- const Pe = U !== void 0 ? h.slice(F, I).reduce(It, 0) : 0;
4498
+ const Pe = U !== void 0 ? p.slice(F, I).reduce(It, 0) : 0;
4499
4499
  if (ze === !0) {
4500
4500
  const We = me >= T.value.from && F <= T.value.to ? T.value.to : me;
4501
- T.value = { from: F, to: We }, v.value = Wt(p, h, 0, F), b.value = Wt(p, h, me, e.value), requestAnimationFrame(() => {
4502
- T.value.to !== me && u === y.scrollStart && (T.value = { from: T.value.from, to: me }, b.value = Wt(p, h, me, e.value));
4501
+ T.value = { from: F, to: We }, f.value = Wt(g, p, 0, F), y.value = Wt(g, p, me, e.value), requestAnimationFrame(() => {
4502
+ T.value.to !== me && u === b.scrollStart && (T.value = { from: T.value.from, to: me }, y.value = Wt(g, p, me, e.value));
4503
4503
  });
4504
4504
  }
4505
4505
  requestAnimationFrame(() => {
4506
- if (u !== y.scrollStart)
4506
+ if (u !== b.scrollStart)
4507
4507
  return;
4508
4508
  ze === !0 && z(F);
4509
- const We = h.slice(F, I).reduce(It, 0), Je = We + y.offsetStart + v.value, qt = Je + h[I];
4509
+ const We = p.slice(F, I).reduce(It, 0), Je = We + b.offsetStart + f.value, qt = Je + p[I];
4510
4510
  let rt = Je + J;
4511
4511
  if (U !== void 0) {
4512
- const ct = We - Pe, Re = y.scrollStart + ct;
4513
- rt = V !== !0 && Re < Je && qt < Re + y.scrollViewSize ? Re : U === "end" ? qt - y.scrollViewSize : Je - (U === "start" ? 0 : Math.round((y.scrollViewSize - h[I]) / 2));
4512
+ const ct = We - Pe, Re = b.scrollStart + ct;
4513
+ rt = V !== !0 && Re < Je && qt < Re + b.scrollViewSize ? Re : U === "end" ? qt - b.scrollViewSize : Je - (U === "start" ? 0 : Math.round((b.scrollViewSize - p[I]) / 2));
4514
4514
  }
4515
4515
  u = rt, Yr(
4516
4516
  C,
@@ -4521,40 +4521,40 @@ function ou({
4521
4521
  });
4522
4522
  }
4523
4523
  function z(C) {
4524
- const y = B.value;
4525
- if (y) {
4524
+ const b = B.value;
4525
+ if (b) {
4526
4526
  const I = sl.call(
4527
- y.children,
4527
+ b.children,
4528
4528
  (F) => F.classList && F.classList.contains("q-virtual-scroll--skip") === !1
4529
4529
  ), J = I.length, te = i.virtualScrollHorizontal === !0 ? (F) => F.getBoundingClientRect().width : (F) => F.offsetHeight;
4530
4530
  let V = C, U, se;
4531
4531
  for (let F = 0; F < J; ) {
4532
4532
  for (U = te(I[F]), F++; F < J && I[F].classList.contains("q-virtual-scroll--with-prev") === !0; )
4533
4533
  U += te(I[F]), F++;
4534
- se = U - h[V], se !== 0 && (h[V] += se, p[Math.floor(V / Ke)] += se), V++;
4534
+ se = U - p[V], se !== 0 && (p[V] += se, g[Math.floor(V / Ke)] += se), V++;
4535
4535
  }
4536
4536
  }
4537
4537
  }
4538
4538
  function L() {
4539
4539
  B.value !== null && B.value !== void 0 && B.value.focus();
4540
4540
  }
4541
- function X(C, y) {
4541
+ function X(C, b) {
4542
4542
  const I = 1 * o.value;
4543
- (y === !0 || Array.isArray(h) === !1) && (h = []);
4544
- const J = h.length;
4545
- h.length = e.value;
4543
+ (b === !0 || Array.isArray(p) === !1) && (p = []);
4544
+ const J = p.length;
4545
+ p.length = e.value;
4546
4546
  for (let V = e.value - 1; V >= J; V--)
4547
- h[V] = I;
4547
+ p[V] = I;
4548
4548
  const te = Math.floor((e.value - 1) / Ke);
4549
- p = [];
4549
+ g = [];
4550
4550
  for (let V = 0; V <= te; V++) {
4551
4551
  let U = 0;
4552
4552
  const se = Math.min((V + 1) * Ke, e.value);
4553
4553
  for (let F = V * Ke; F < se; F++)
4554
- U += h[F];
4555
- p.push(U);
4554
+ U += p[F];
4555
+ g.push(U);
4556
4556
  }
4557
- s = -1, u = void 0, v.value = Wt(p, h, 0, T.value.from), b.value = Wt(p, h, T.value.to, e.value), C >= 0 ? (z(T.value.from), ge(() => {
4557
+ s = -1, u = void 0, f.value = Wt(g, p, 0, T.value.from), y.value = Wt(g, p, T.value.to, e.value), C >= 0 ? (z(T.value.from), ge(() => {
4558
4558
  q(C);
4559
4559
  })) : Q();
4560
4560
  }
@@ -4573,20 +4573,20 @@ function ou({
4573
4573
  ).scrollViewSize);
4574
4574
  }
4575
4575
  d = C;
4576
- const y = parseFloat(i.virtualScrollSliceRatioBefore) || 0, I = parseFloat(i.virtualScrollSliceRatioAfter) || 0, J = 1 + y + I, te = C === void 0 || C <= 0 ? 1 : Math.ceil(C / o.value), V = Math.max(
4576
+ const b = parseFloat(i.virtualScrollSliceRatioBefore) || 0, I = parseFloat(i.virtualScrollSliceRatioAfter) || 0, J = 1 + b + I, te = C === void 0 || C <= 0 ? 1 : Math.ceil(C / o.value), V = Math.max(
4577
4577
  1,
4578
4578
  te,
4579
4579
  Math.ceil((i.virtualScrollSliceSize > 0 ? i.virtualScrollSliceSize : 10) / J)
4580
4580
  );
4581
- g.value = {
4581
+ m.value = {
4582
4582
  total: Math.ceil(V * J),
4583
- start: Math.ceil(V * y),
4584
- center: Math.ceil(V * (0.5 + y)),
4585
- end: Math.ceil(V * (1 + y)),
4583
+ start: Math.ceil(V * b),
4584
+ center: Math.ceil(V * (0.5 + b)),
4585
+ end: Math.ceil(V * (1 + b)),
4586
4586
  view: te
4587
4587
  };
4588
4588
  }
4589
- function j(C, y) {
4589
+ function j(C, b) {
4590
4590
  const I = i.virtualScrollHorizontal === !0 ? "width" : "height", J = {
4591
4591
  ["--q-virtual-scroll-item-" + I]: o.value + "px"
4592
4592
  };
@@ -4598,7 +4598,7 @@ function ou({
4598
4598
  }, [
4599
4599
  k("tr", [
4600
4600
  k("td", {
4601
- style: { [I]: `${v.value}px`, ...J },
4601
+ style: { [I]: `${f.value}px`, ...J },
4602
4602
  colspan: M.value
4603
4603
  })
4604
4604
  ])
@@ -4606,14 +4606,14 @@ function ou({
4606
4606
  class: "q-virtual-scroll__padding",
4607
4607
  key: "before",
4608
4608
  ref: E,
4609
- style: { [I]: `${v.value}px`, ...J }
4609
+ style: { [I]: `${f.value}px`, ...J }
4610
4610
  }),
4611
4611
  k(C, {
4612
4612
  class: "q-virtual-scroll__content",
4613
4613
  key: "content",
4614
4614
  ref: B,
4615
4615
  tabindex: -1
4616
- }, y.flat()),
4616
+ }, b.flat()),
4617
4617
  C === "tbody" ? k(C, {
4618
4618
  class: "q-virtual-scroll__padding",
4619
4619
  key: "after",
@@ -4621,7 +4621,7 @@ function ou({
4621
4621
  }, [
4622
4622
  k("tr", [
4623
4623
  k("td", {
4624
- style: { [I]: `${b.value}px`, ...J },
4624
+ style: { [I]: `${y.value}px`, ...J },
4625
4625
  colspan: M.value
4626
4626
  })
4627
4627
  ])
@@ -4629,7 +4629,7 @@ function ou({
4629
4629
  class: "q-virtual-scroll__padding",
4630
4630
  key: "after",
4631
4631
  ref: w,
4632
- style: { [I]: `${b.value}px`, ...J }
4632
+ style: { [I]: `${y.value}px`, ...J }
4633
4633
  })
4634
4634
  ];
4635
4635
  }
@@ -4666,7 +4666,7 @@ function ou({
4666
4666
  Q.cancel();
4667
4667
  }), Object.assign(a, { scrollTo: q, reset: D, refresh: x }), {
4668
4668
  virtualScrollSliceRange: T,
4669
- virtualScrollSliceSizeComputed: g,
4669
+ virtualScrollSliceSizeComputed: m,
4670
4670
  setVirtualScrollSize: N,
4671
4671
  onVirtualScrollEvt: Q,
4672
4672
  localResetVirtualScroll: X,
@@ -4848,8 +4848,8 @@ const lu = fe({
4848
4848
  ],
4849
4849
  setup(e, { slots: t, emit: n }) {
4850
4850
  const { proxy: o } = ue(), { $q: r } = o, i = H(!1), l = H(!1), a = H(-1), c = H(""), u = H(!1), s = H(!1);
4851
- let d = null, p = null, h, v, b, g = null, E, w, B, T;
4852
- const M = H(null), $ = H(null), R = H(null), D = H(null), x = H(null), q = Yi(e), O = Gi(vr), S = f(() => e.options.length), z = f(() => e.virtualScrollItemSize === void 0 ? e.optionsDense === !0 ? 24 : 48 : e.virtualScrollItemSize), {
4851
+ let d = null, g = null, p, f, y, m = null, E, w, B, T;
4852
+ const M = H(null), $ = H(null), R = H(null), D = H(null), x = H(null), q = Yi(e), O = Gi(vr), S = h(() => e.options.length), z = h(() => e.virtualScrollItemSize === void 0 ? e.optionsDense === !0 ? 24 : 48 : e.virtualScrollItemSize), {
4853
4853
  virtualScrollSliceRange: L,
4854
4854
  virtualScrollSliceSizeComputed: X,
4855
4855
  localResetVirtualScroll: N,
@@ -4862,28 +4862,28 @@ const lu = fe({
4862
4862
  getVirtualScrollTarget: Vl,
4863
4863
  getVirtualScrollEl: fr,
4864
4864
  virtualScrollItemSizeComputed: z
4865
- }), C = Yo(), y = f(() => {
4866
- const m = e.mapOptions === !0 && e.multiple !== !0, W = e.modelValue !== void 0 && (e.modelValue !== null || m === !0) ? e.multiple === !0 && Array.isArray(e.modelValue) ? e.modelValue : [e.modelValue] : [];
4865
+ }), C = Yo(), b = h(() => {
4866
+ const v = e.mapOptions === !0 && e.multiple !== !0, W = e.modelValue !== void 0 && (e.modelValue !== null || v === !0) ? e.multiple === !0 && Array.isArray(e.modelValue) ? e.modelValue : [e.modelValue] : [];
4867
4867
  if (e.mapOptions === !0) {
4868
- const K = e.mapOptions === !0 && h !== void 0 ? h : [], le = W.map((he) => Al(he, K));
4869
- return e.modelValue === null && m === !0 ? le.filter((he) => he !== null) : le;
4868
+ const K = e.mapOptions === !0 && p !== void 0 ? p : [], le = W.map((he) => Al(he, K));
4869
+ return e.modelValue === null && v === !0 ? le.filter((he) => he !== null) : le;
4870
4870
  }
4871
4871
  return W;
4872
- }), I = f(() => {
4873
- const m = {};
4872
+ }), I = h(() => {
4873
+ const v = {};
4874
4874
  return iu.forEach((W) => {
4875
4875
  const K = e[W];
4876
- K !== void 0 && (m[W] = K);
4877
- }), m;
4878
- }), J = f(() => e.optionsDark === null ? C.isDark.value : e.optionsDark), te = f(() => Jt(y.value)), V = f(() => {
4879
- let m = "q-field__input q-placeholder col";
4880
- return e.hideSelected === !0 || y.value.length === 0 ? [m, e.inputClass] : (m += " q-field__input--padding", e.inputClass === void 0 ? m : [m, e.inputClass]);
4881
- }), U = f(
4876
+ K !== void 0 && (v[W] = K);
4877
+ }), v;
4878
+ }), J = h(() => e.optionsDark === null ? C.isDark.value : e.optionsDark), te = h(() => Jt(b.value)), V = h(() => {
4879
+ let v = "q-field__input q-placeholder col";
4880
+ return e.hideSelected === !0 || b.value.length === 0 ? [v, e.inputClass] : (v += " q-field__input--padding", e.inputClass === void 0 ? v : [v, e.inputClass]);
4881
+ }), U = h(
4882
4882
  () => (e.virtualScrollHorizontal === !0 ? "q-virtual-scroll--horizontal" : "") + (e.popupContentClass ? " " + e.popupContentClass : "")
4883
- ), se = f(() => S.value === 0), F = f(
4884
- () => y.value.map((m) => Ee.value(m)).join(", ")
4885
- ), me = f(() => e.displayValue !== void 0 ? e.displayValue : F.value), ze = f(() => e.optionsHtml === !0 ? () => !0 : (m) => m != null && m.html === !0), Ge = f(() => e.displayValueHtml === !0 || e.displayValue === void 0 && (e.optionsHtml === !0 || y.value.some(ze.value))), pe = f(() => C.focused.value === !0 ? e.tabindex : -1), Pe = f(() => {
4886
- const m = {
4883
+ ), se = h(() => S.value === 0), F = h(
4884
+ () => b.value.map((v) => Ee.value(v)).join(", ")
4885
+ ), me = h(() => e.displayValue !== void 0 ? e.displayValue : F.value), ze = h(() => e.optionsHtml === !0 ? () => !0 : (v) => v != null && v.html === !0), Ge = h(() => e.displayValueHtml === !0 || e.displayValue === void 0 && (e.optionsHtml === !0 || b.value.some(ze.value))), pe = h(() => C.focused.value === !0 ? e.tabindex : -1), Pe = h(() => {
4886
+ const v = {
4887
4887
  tabindex: e.tabindex,
4888
4888
  role: "combobox",
4889
4889
  "aria-label": e.label,
@@ -4892,25 +4892,25 @@ const lu = fe({
4892
4892
  "aria-expanded": i.value === !0 ? "true" : "false",
4893
4893
  "aria-controls": `${C.targetUid.value}_lb`
4894
4894
  };
4895
- return a.value >= 0 && (m["aria-activedescendant"] = `${C.targetUid.value}_${a.value}`), m;
4896
- }), We = f(() => ({
4895
+ return a.value >= 0 && (v["aria-activedescendant"] = `${C.targetUid.value}_${a.value}`), v;
4896
+ }), We = h(() => ({
4897
4897
  id: `${C.targetUid.value}_lb`,
4898
4898
  role: "listbox",
4899
4899
  "aria-multiselectable": e.multiple === !0 ? "true" : "false"
4900
- })), Je = f(() => y.value.map((m, W) => ({
4900
+ })), Je = h(() => b.value.map((v, W) => ({
4901
4901
  index: W,
4902
- opt: m,
4903
- html: ze.value(m),
4902
+ opt: v,
4903
+ html: ze.value(v),
4904
4904
  selected: !0,
4905
4905
  removeAtIndex: Rl,
4906
4906
  toggleOption: ft,
4907
4907
  tabindex: pe.value
4908
- }))), qt = f(() => {
4908
+ }))), qt = h(() => {
4909
4909
  if (S.value === 0)
4910
4910
  return [];
4911
- const { from: m, to: W } = L.value;
4912
- return e.options.slice(m, W).map((K, le) => {
4913
- const he = P.value(K) === !0, de = Yn(K) === !0, Be = m + le, ke = {
4911
+ const { from: v, to: W } = L.value;
4912
+ return e.options.slice(v, W).map((K, le) => {
4913
+ const he = P.value(K) === !0, de = Yn(K) === !0, Be = v + le, ke = {
4914
4914
  clickable: !0,
4915
4915
  active: de,
4916
4916
  activeClass: Re.value,
@@ -4941,10 +4941,10 @@ const lu = fe({
4941
4941
  itemProps: ke
4942
4942
  };
4943
4943
  });
4944
- }), rt = f(() => e.dropdownIcon !== void 0 ? e.dropdownIcon : r.iconSet.arrow.dropdown), ct = f(
4944
+ }), rt = h(() => e.dropdownIcon !== void 0 ? e.dropdownIcon : r.iconSet.arrow.dropdown), ct = h(
4945
4945
  () => e.optionsCover === !1 && e.outlined !== !0 && e.standout !== !0 && e.borderless !== !0 && e.rounded !== !0
4946
- ), Re = f(() => e.optionsSelectedClass !== void 0 ? e.optionsSelectedClass : e.color !== void 0 ? `text-${e.color}` : ""), De = f(() => co(e.optionValue, "value")), Ee = f(() => co(e.optionLabel, "label")), P = f(() => co(e.optionDisable, "disable")), ie = f(() => y.value.map(De.value)), Me = f(() => {
4947
- const m = {
4946
+ ), Re = h(() => e.optionsSelectedClass !== void 0 ? e.optionsSelectedClass : e.color !== void 0 ? `text-${e.color}` : ""), De = h(() => co(e.optionValue, "value")), Ee = h(() => co(e.optionLabel, "label")), P = h(() => co(e.optionDisable, "disable")), ie = h(() => b.value.map(De.value)), Me = h(() => {
4947
+ const v = {
4948
4948
  onInput: vr,
4949
4949
  // Safari < 10.2 & UIWebView doesn't fire compositionend when
4950
4950
  // switching focus before confirming composition choice
@@ -4956,61 +4956,61 @@ const lu = fe({
4956
4956
  onKeypress: cr,
4957
4957
  onFocus: ar,
4958
4958
  onClick(W) {
4959
- v === !0 && je(W);
4959
+ f === !0 && je(W);
4960
4960
  }
4961
4961
  };
4962
- return m.onCompositionstart = m.onCompositionupdate = m.onCompositionend = O, m;
4962
+ return v.onCompositionstart = v.onCompositionupdate = v.onCompositionend = O, v;
4963
4963
  });
4964
- G(y, (m) => {
4965
- h = m, e.useInput === !0 && e.fillInput === !0 && e.multiple !== !0 && C.innerLoading.value !== !0 && (l.value !== !0 && i.value !== !0 || te.value !== !0) && (b !== !0 && Rt(), (l.value === !0 || i.value === !0) && Lt(""));
4964
+ G(b, (v) => {
4965
+ p = v, e.useInput === !0 && e.fillInput === !0 && e.multiple !== !0 && C.innerLoading.value !== !0 && (l.value !== !0 && i.value !== !0 || te.value !== !0) && (y !== !0 && Rt(), (l.value === !0 || i.value === !0) && Lt(""));
4966
4966
  }, { immediate: !0 }), G(() => e.fillInput, Rt), G(i, Gn), G(S, Kl);
4967
- function dt(m) {
4968
- return e.emitValue === !0 ? De.value(m) : m;
4967
+ function dt(v) {
4968
+ return e.emitValue === !0 ? De.value(v) : v;
4969
4969
  }
4970
- function un(m) {
4971
- if (m !== -1 && m < y.value.length)
4970
+ function un(v) {
4971
+ if (v !== -1 && v < b.value.length)
4972
4972
  if (e.multiple === !0) {
4973
4973
  const W = e.modelValue.slice();
4974
- n("remove", { index: m, value: W.splice(m, 1)[0] }), n("update:modelValue", W);
4974
+ n("remove", { index: v, value: W.splice(v, 1)[0] }), n("update:modelValue", W);
4975
4975
  } else
4976
4976
  n("update:modelValue", null);
4977
4977
  }
4978
- function Rl(m) {
4979
- un(m), C.focus();
4978
+ function Rl(v) {
4979
+ un(v), C.focus();
4980
4980
  }
4981
- function lr(m, W) {
4982
- const K = dt(m);
4981
+ function lr(v, W) {
4982
+ const K = dt(v);
4983
4983
  if (e.multiple !== !0) {
4984
4984
  e.fillInput === !0 && Nt(
4985
- Ee.value(m),
4985
+ Ee.value(v),
4986
4986
  !0,
4987
4987
  !0
4988
4988
  ), n("update:modelValue", K);
4989
4989
  return;
4990
4990
  }
4991
- if (y.value.length === 0) {
4991
+ if (b.value.length === 0) {
4992
4992
  n("add", { index: 0, value: K }), n("update:modelValue", e.multiple === !0 ? [K] : K);
4993
4993
  return;
4994
4994
  }
4995
- if (W === !0 && Yn(m) === !0 || e.maxValues !== void 0 && e.modelValue.length >= e.maxValues)
4995
+ if (W === !0 && Yn(v) === !0 || e.maxValues !== void 0 && e.modelValue.length >= e.maxValues)
4996
4996
  return;
4997
4997
  const le = e.modelValue.slice();
4998
4998
  n("add", { index: le.length, value: K }), le.push(K), n("update:modelValue", le);
4999
4999
  }
5000
- function ft(m, W) {
5001
- if (C.editable.value !== !0 || m === void 0 || P.value(m) === !0)
5000
+ function ft(v, W) {
5001
+ if (C.editable.value !== !0 || v === void 0 || P.value(v) === !0)
5002
5002
  return;
5003
- const K = De.value(m);
5003
+ const K = De.value(v);
5004
5004
  if (e.multiple !== !0) {
5005
5005
  W !== !0 && (Nt(
5006
- e.fillInput === !0 ? Ee.value(m) : "",
5006
+ e.fillInput === !0 ? Ee.value(v) : "",
5007
5007
  !0,
5008
5008
  !0
5009
- ), ht()), $.value !== null && $.value.focus(), (y.value.length === 0 || lt(De.value(y.value[0]), K) !== !0) && n("update:modelValue", e.emitValue === !0 ? K : m);
5009
+ ), ht()), $.value !== null && $.value.focus(), (b.value.length === 0 || lt(De.value(b.value[0]), K) !== !0) && n("update:modelValue", e.emitValue === !0 ? K : v);
5010
5010
  return;
5011
5011
  }
5012
- if ((v !== !0 || u.value === !0) && C.focus(), ar(), y.value.length === 0) {
5013
- const de = e.emitValue === !0 ? K : m;
5012
+ if ((f !== !0 || u.value === !0) && C.focus(), ar(), b.value.length === 0) {
5013
+ const de = e.emitValue === !0 ? K : v;
5014
5014
  n("add", { index: 0, value: de }), n("update:modelValue", e.multiple === !0 ? [de] : de);
5015
5015
  return;
5016
5016
  }
@@ -5020,22 +5020,22 @@ const lu = fe({
5020
5020
  else {
5021
5021
  if (e.maxValues !== void 0 && le.length >= e.maxValues)
5022
5022
  return;
5023
- const de = e.emitValue === !0 ? K : m;
5023
+ const de = e.emitValue === !0 ? K : v;
5024
5024
  n("add", { index: le.length, value: de }), le.push(de);
5025
5025
  }
5026
5026
  n("update:modelValue", le);
5027
5027
  }
5028
- function Mt(m) {
5028
+ function Mt(v) {
5029
5029
  if (r.platform.is.desktop !== !0) return;
5030
- const W = m !== -1 && m < S.value ? m : -1;
5030
+ const W = v !== -1 && v < S.value ? v : -1;
5031
5031
  a.value !== W && (a.value = W);
5032
5032
  }
5033
- function cn(m = 1, W) {
5033
+ function cn(v = 1, W) {
5034
5034
  if (i.value === !0) {
5035
5035
  let K = a.value;
5036
5036
  do
5037
5037
  K = Jr(
5038
- K + m,
5038
+ K + v,
5039
5039
  -1,
5040
5040
  S.value - 1
5041
5041
  );
@@ -5046,73 +5046,73 @@ const lu = fe({
5046
5046
  ));
5047
5047
  }
5048
5048
  }
5049
- function Al(m, W) {
5050
- const K = (le) => lt(De.value(le), m);
5051
- return e.options.find(K) || W.find(K) || m;
5049
+ function Al(v, W) {
5050
+ const K = (le) => lt(De.value(le), v);
5051
+ return e.options.find(K) || W.find(K) || v;
5052
5052
  }
5053
- function Yn(m) {
5054
- const W = De.value(m);
5053
+ function Yn(v) {
5054
+ const W = De.value(v);
5055
5055
  return ie.value.find((K) => lt(K, W)) !== void 0;
5056
5056
  }
5057
- function ar(m) {
5058
- e.useInput === !0 && $.value !== null && (m === void 0 || $.value === m.target && m.target.value === F.value) && $.value.select();
5057
+ function ar(v) {
5058
+ e.useInput === !0 && $.value !== null && (v === void 0 || $.value === v.target && v.target.value === F.value) && $.value.select();
5059
5059
  }
5060
- function sr(m) {
5061
- Et(m, 27) === !0 && i.value === !0 && (je(m), ht(), Rt()), n("keyup", m);
5060
+ function sr(v) {
5061
+ Et(v, 27) === !0 && i.value === !0 && (je(v), ht(), Rt()), n("keyup", v);
5062
5062
  }
5063
- function ur(m) {
5064
- const { value: W } = m.target;
5065
- if (m.keyCode !== void 0) {
5066
- sr(m);
5063
+ function ur(v) {
5064
+ const { value: W } = v.target;
5065
+ if (v.keyCode !== void 0) {
5066
+ sr(v);
5067
5067
  return;
5068
5068
  }
5069
- if (m.target.value = "", d !== null && (clearTimeout(d), d = null), p !== null && (clearTimeout(p), p = null), Rt(), typeof W == "string" && W.length !== 0) {
5069
+ if (v.target.value = "", d !== null && (clearTimeout(d), d = null), g !== null && (clearTimeout(g), g = null), Rt(), typeof W == "string" && W.length !== 0) {
5070
5070
  const K = W.toLocaleLowerCase(), le = (de) => {
5071
5071
  const Be = e.options.find((ke) => de.value(ke).toLocaleLowerCase() === K);
5072
- return Be === void 0 ? !1 : (y.value.indexOf(Be) === -1 ? ft(Be) : ht(), !0);
5072
+ return Be === void 0 ? !1 : (b.value.indexOf(Be) === -1 ? ft(Be) : ht(), !0);
5073
5073
  }, he = (de) => {
5074
5074
  le(De) !== !0 && (le(Ee) === !0 || de === !0 || Lt(W, !0, () => he(!0)));
5075
5075
  };
5076
5076
  he();
5077
5077
  } else
5078
- C.clearValue(m);
5078
+ C.clearValue(v);
5079
5079
  }
5080
- function cr(m) {
5081
- n("keypress", m);
5080
+ function cr(v) {
5081
+ n("keypress", v);
5082
5082
  }
5083
- function dr(m) {
5084
- if (n("keydown", m), zo(m) === !0)
5083
+ function dr(v) {
5084
+ if (n("keydown", v), zo(v) === !0)
5085
5085
  return;
5086
- const W = c.value.length !== 0 && (e.newValueMode !== void 0 || e.onNewValue !== void 0), K = m.shiftKey !== !0 && e.disableTabSelection !== !0 && e.multiple !== !0 && (a.value !== -1 || W === !0);
5087
- if (m.keyCode === 27) {
5088
- $e(m);
5086
+ const W = c.value.length !== 0 && (e.newValueMode !== void 0 || e.onNewValue !== void 0), K = v.shiftKey !== !0 && e.disableTabSelection !== !0 && e.multiple !== !0 && (a.value !== -1 || W === !0);
5087
+ if (v.keyCode === 27) {
5088
+ $e(v);
5089
5089
  return;
5090
5090
  }
5091
- if (m.keyCode === 9 && K === !1) {
5091
+ if (v.keyCode === 9 && K === !1) {
5092
5092
  Tt();
5093
5093
  return;
5094
5094
  }
5095
- if (m.target === void 0 || m.target.id !== C.targetUid.value || C.editable.value !== !0) return;
5096
- if (m.keyCode === 40 && C.innerLoading.value !== !0 && i.value === !1) {
5097
- we(m), $t();
5095
+ if (v.target === void 0 || v.target.id !== C.targetUid.value || C.editable.value !== !0) return;
5096
+ if (v.keyCode === 40 && C.innerLoading.value !== !0 && i.value === !1) {
5097
+ we(v), $t();
5098
5098
  return;
5099
5099
  }
5100
- if (m.keyCode === 8 && (e.useChips === !0 || e.clearable === !0) && e.hideSelected !== !0 && c.value.length === 0) {
5100
+ if (v.keyCode === 8 && (e.useChips === !0 || e.clearable === !0) && e.hideSelected !== !0 && c.value.length === 0) {
5101
5101
  e.multiple === !0 && Array.isArray(e.modelValue) === !0 ? un(e.modelValue.length - 1) : e.multiple !== !0 && e.modelValue !== null && n("update:modelValue", null);
5102
5102
  return;
5103
5103
  }
5104
- (m.keyCode === 35 || m.keyCode === 36) && (typeof c.value != "string" || c.value.length === 0) && (we(m), a.value = -1, cn(m.keyCode === 36 ? 1 : -1, e.multiple)), (m.keyCode === 33 || m.keyCode === 34) && X.value !== void 0 && (we(m), a.value = Math.max(
5104
+ (v.keyCode === 35 || v.keyCode === 36) && (typeof c.value != "string" || c.value.length === 0) && (we(v), a.value = -1, cn(v.keyCode === 36 ? 1 : -1, e.multiple)), (v.keyCode === 33 || v.keyCode === 34) && X.value !== void 0 && (we(v), a.value = Math.max(
5105
5105
  -1,
5106
5106
  Math.min(
5107
5107
  S.value,
5108
- a.value + (m.keyCode === 33 ? -1 : 1) * X.value.view
5108
+ a.value + (v.keyCode === 33 ? -1 : 1) * X.value.view
5109
5109
  )
5110
- ), cn(m.keyCode === 33 ? 1 : -1, e.multiple)), (m.keyCode === 38 || m.keyCode === 40) && (we(m), cn(m.keyCode === 38 ? -1 : 1, e.multiple));
5110
+ ), cn(v.keyCode === 33 ? 1 : -1, e.multiple)), (v.keyCode === 38 || v.keyCode === 40) && (we(v), cn(v.keyCode === 38 ? -1 : 1, e.multiple));
5111
5111
  const le = S.value;
5112
- if ((B === void 0 || T < Date.now()) && (B = ""), le > 0 && e.useInput !== !0 && m.key !== void 0 && m.key.length === 1 && m.altKey === !1 && m.ctrlKey === !1 && m.metaKey === !1 && (m.keyCode !== 32 || B.length !== 0)) {
5113
- i.value !== !0 && $t(m);
5114
- const he = m.key.toLocaleLowerCase(), de = B.length === 1 && B[0] === he;
5115
- T = Date.now() + 1500, de === !1 && (we(m), B += he);
5112
+ if ((B === void 0 || T < Date.now()) && (B = ""), le > 0 && e.useInput !== !0 && v.key !== void 0 && v.key.length === 1 && v.altKey === !1 && v.ctrlKey === !1 && v.metaKey === !1 && (v.keyCode !== 32 || B.length !== 0)) {
5113
+ i.value !== !0 && $t(v);
5114
+ const he = v.key.toLocaleLowerCase(), de = B.length === 1 && B[0] === he;
5115
+ T = Date.now() + 1500, de === !1 && (we(v), B += he);
5116
5116
  const Be = new RegExp("^" + B.split("").map((Jn) => ru.indexOf(Jn) !== -1 ? "\\" + Jn : Jn).join(".*"), "i");
5117
5117
  let ke = a.value;
5118
5118
  if (de === !0 || ke < 0 || Be.test(Ee.value(e.options[ke])) !== !0)
@@ -5124,8 +5124,8 @@ const lu = fe({
5124
5124
  });
5125
5125
  return;
5126
5126
  }
5127
- if (!(m.keyCode !== 13 && (m.keyCode !== 32 || e.useInput === !0 || B !== "") && (m.keyCode !== 9 || K === !1))) {
5128
- if (m.keyCode !== 9 && we(m), a.value !== -1 && a.value < le) {
5127
+ if (!(v.keyCode !== 13 && (v.keyCode !== 32 || e.useInput === !0 || B !== "") && (v.keyCode !== 9 || K === !1))) {
5128
+ if (v.keyCode !== 9 && we(v), a.value !== -1 && a.value < le) {
5129
5129
  ft(e.options[a.value]);
5130
5130
  return;
5131
5131
  }
@@ -5147,24 +5147,24 @@ const lu = fe({
5147
5147
  }
5148
5148
  }
5149
5149
  function fr() {
5150
- return v === !0 ? x.value : R.value !== null && R.value.contentEl !== null ? R.value.contentEl : void 0;
5150
+ return f === !0 ? x.value : R.value !== null && R.value.contentEl !== null ? R.value.contentEl : void 0;
5151
5151
  }
5152
5152
  function Vl() {
5153
5153
  return fr();
5154
5154
  }
5155
5155
  function Ol() {
5156
- return e.hideSelected === !0 ? [] : t["selected-item"] !== void 0 ? Je.value.map((m) => t["selected-item"](m)).slice() : t.selected !== void 0 ? [].concat(t.selected()) : e.useChips === !0 ? Je.value.map((m, W) => k(tl, {
5156
+ return e.hideSelected === !0 ? [] : t["selected-item"] !== void 0 ? Je.value.map((v) => t["selected-item"](v)).slice() : t.selected !== void 0 ? [].concat(t.selected()) : e.useChips === !0 ? Je.value.map((v, W) => k(tl, {
5157
5157
  key: "option-" + W,
5158
- removable: C.editable.value === !0 && P.value(m.opt) !== !0,
5158
+ removable: C.editable.value === !0 && P.value(v.opt) !== !0,
5159
5159
  dense: !0,
5160
5160
  textColor: e.color,
5161
5161
  tabindex: pe.value,
5162
5162
  onRemove() {
5163
- m.removeAtIndex(W);
5163
+ v.removeAtIndex(W);
5164
5164
  }
5165
5165
  }, () => k("span", {
5166
5166
  class: "ellipsis",
5167
- [m.html === !0 ? "innerHTML" : "textContent"]: Ee.value(m.opt)
5167
+ [v.html === !0 ? "innerHTML" : "textContent"]: Ee.value(v.opt)
5168
5168
  }))) : [
5169
5169
  k("span", {
5170
5170
  [Ge.value === !0 ? "innerHTML" : "textContent"]: me.value
@@ -5174,7 +5174,7 @@ const lu = fe({
5174
5174
  function hr() {
5175
5175
  if (se.value === !0)
5176
5176
  return t["no-option"] !== void 0 ? t["no-option"]({ inputValue: c.value }) : void 0;
5177
- const m = t.option !== void 0 ? t.option : (K) => k(at, {
5177
+ const v = t.option !== void 0 ? t.option : (K) => k(at, {
5178
5178
  key: K.index,
5179
5179
  ...K.itemProps
5180
5180
  }, () => k(
@@ -5186,10 +5186,10 @@ const lu = fe({
5186
5186
  })
5187
5187
  )
5188
5188
  ));
5189
- let W = j("div", qt.value.map(m));
5189
+ let W = j("div", qt.value.map(v));
5190
5190
  return t["before-options"] !== void 0 && (W = t["before-options"]().concat(W)), nt(t["after-options"], W);
5191
5191
  }
5192
- function Pl(m, W) {
5192
+ function Pl(v, W) {
5193
5193
  const K = W === !0 ? { ...Pe.value, ...C.splitAttrs.attributes.value } : void 0, le = {
5194
5194
  ref: W === !0 ? $ : void 0,
5195
5195
  key: "i_t",
@@ -5202,38 +5202,38 @@ const lu = fe({
5202
5202
  id: W === !0 ? C.targetUid.value : void 0,
5203
5203
  maxlength: e.maxlength,
5204
5204
  autocomplete: e.autocomplete,
5205
- "data-autofocus": m === !0 || e.autofocus === !0 || void 0,
5205
+ "data-autofocus": v === !0 || e.autofocus === !0 || void 0,
5206
5206
  disabled: e.disable === !0,
5207
5207
  readonly: e.readonly === !0,
5208
5208
  ...Me.value
5209
5209
  };
5210
- return m !== !0 && v === !0 && (Array.isArray(le.class) === !0 ? le.class = [...le.class, "no-pointer-events"] : le.class += " no-pointer-events"), k("input", le);
5210
+ return v !== !0 && f === !0 && (Array.isArray(le.class) === !0 ? le.class = [...le.class, "no-pointer-events"] : le.class += " no-pointer-events"), k("input", le);
5211
5211
  }
5212
- function vr(m) {
5213
- d !== null && (clearTimeout(d), d = null), p !== null && (clearTimeout(p), p = null), !(m && m.target && m.target.qComposing === !0) && (dn(m.target.value || ""), b = !0, E = c.value, C.focused.value !== !0 && (v !== !0 || u.value === !0) && C.focus(), e.onFilter !== void 0 && (d = setTimeout(() => {
5212
+ function vr(v) {
5213
+ d !== null && (clearTimeout(d), d = null), g !== null && (clearTimeout(g), g = null), !(v && v.target && v.target.qComposing === !0) && (dn(v.target.value || ""), y = !0, E = c.value, C.focused.value !== !0 && (f !== !0 || u.value === !0) && C.focus(), e.onFilter !== void 0 && (d = setTimeout(() => {
5214
5214
  d = null, Lt(c.value);
5215
5215
  }, e.inputDebounce)));
5216
5216
  }
5217
- function dn(m, W) {
5218
- c.value !== m && (c.value = m, W === !0 || e.inputDebounce === 0 || e.inputDebounce === "0" ? n("inputValue", m) : p = setTimeout(() => {
5219
- p = null, n("inputValue", m);
5217
+ function dn(v, W) {
5218
+ c.value !== v && (c.value = v, W === !0 || e.inputDebounce === 0 || e.inputDebounce === "0" ? n("inputValue", v) : g = setTimeout(() => {
5219
+ g = null, n("inputValue", v);
5220
5220
  }, e.inputDebounce));
5221
5221
  }
5222
- function Nt(m, W, K) {
5223
- b = K !== !0, e.useInput === !0 && (dn(m, !0), (W === !0 || K !== !0) && (E = m), W !== !0 && Lt(m));
5222
+ function Nt(v, W, K) {
5223
+ y = K !== !0, e.useInput === !0 && (dn(v, !0), (W === !0 || K !== !0) && (E = v), W !== !0 && Lt(v));
5224
5224
  }
5225
- function Lt(m, W, K) {
5225
+ function Lt(v, W, K) {
5226
5226
  if (e.onFilter === void 0 || W !== !0 && C.focused.value !== !0)
5227
5227
  return;
5228
- C.innerLoading.value === !0 ? n("filterAbort") : (C.innerLoading.value = !0, s.value = !0), m !== "" && e.multiple !== !0 && y.value.length !== 0 && b !== !0 && m === Ee.value(y.value[0]) && (m = "");
5228
+ C.innerLoading.value === !0 ? n("filterAbort") : (C.innerLoading.value = !0, s.value = !0), v !== "" && e.multiple !== !0 && b.value.length !== 0 && y !== !0 && v === Ee.value(b.value[0]) && (v = "");
5229
5229
  const le = setTimeout(() => {
5230
5230
  i.value === !0 && (i.value = !1);
5231
5231
  }, 10);
5232
- g !== null && clearTimeout(g), g = le, n(
5232
+ m !== null && clearTimeout(m), m = le, n(
5233
5233
  "filter",
5234
- m,
5234
+ v,
5235
5235
  (he, de) => {
5236
- (W === !0 || C.focused.value === !0) && g === le && (clearTimeout(g), typeof he == "function" && he(), s.value = !1, ge(() => {
5236
+ (W === !0 || C.focused.value === !0) && m === le && (clearTimeout(m), typeof he == "function" && he(), s.value = !1, ge(() => {
5237
5237
  C.innerLoading.value = !1, C.editable.value === !0 && (W === !0 ? i.value === !0 && ht() : i.value === !0 ? Gn(!0) : i.value = !0), typeof de == "function" && ge(() => {
5238
5238
  de(o);
5239
5239
  }), typeof K == "function" && ge(() => {
@@ -5242,7 +5242,7 @@ const lu = fe({
5242
5242
  }));
5243
5243
  },
5244
5244
  () => {
5245
- C.focused.value === !0 && g === le && (clearTimeout(g), C.innerLoading.value = !1, s.value = !1), i.value === !0 && (i.value = !1);
5245
+ C.focused.value === !0 && m === le && (clearTimeout(m), C.innerLoading.value = !1, s.value = !1), i.value === !0 && (i.value = !1);
5246
5246
  }
5247
5247
  );
5248
5248
  }
@@ -5274,22 +5274,22 @@ const lu = fe({
5274
5274
  onShow: Fl
5275
5275
  }, hr);
5276
5276
  }
5277
- function Il(m) {
5278
- gr(m), Tt();
5277
+ function Il(v) {
5278
+ gr(v), Tt();
5279
5279
  }
5280
5280
  function Fl() {
5281
5281
  ee();
5282
5282
  }
5283
- function Hl(m) {
5284
- je(m), $.value !== null && $.value.focus(), u.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
5283
+ function Hl(v) {
5284
+ je(v), $.value !== null && $.value.focus(), u.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
5285
5285
  }
5286
- function zl(m) {
5287
- je(m), ge(() => {
5286
+ function zl(v) {
5287
+ je(v), ge(() => {
5288
5288
  u.value = !1;
5289
5289
  });
5290
5290
  }
5291
5291
  function Dl() {
5292
- const m = [
5292
+ const v = [
5293
5293
  k(Ns, {
5294
5294
  class: `col-auto ${C.fieldClass.value}`,
5295
5295
  ...I.value,
@@ -5310,7 +5310,7 @@ const lu = fe({
5310
5310
  after: void 0
5311
5311
  })
5312
5312
  ];
5313
- return i.value === !0 && m.push(
5313
+ return i.value === !0 && v.push(
5314
5314
  k("div", {
5315
5315
  ref: x,
5316
5316
  class: U.value + " scroll",
@@ -5333,25 +5333,25 @@ const lu = fe({
5333
5333
  onShow: Wl
5334
5334
  }, () => k("div", {
5335
5335
  class: "q-select__dialog" + (J.value === !0 ? " q-select__dialog--dark q-dark" : "") + (u.value === !0 ? " q-select__dialog--focused" : "")
5336
- }, m));
5336
+ }, v));
5337
5337
  }
5338
- function Nl(m) {
5339
- gr(m), D.value !== null && D.value.__updateRefocusTarget(
5338
+ function Nl(v) {
5339
+ gr(v), D.value !== null && D.value.__updateRefocusTarget(
5340
5340
  C.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")
5341
5341
  ), C.focused.value = !1;
5342
5342
  }
5343
- function Ul(m) {
5344
- ht(), C.focused.value === !1 && n("blur", m), Rt();
5343
+ function Ul(v) {
5344
+ ht(), C.focused.value === !1 && n("blur", v), Rt();
5345
5345
  }
5346
5346
  function Wl() {
5347
- const m = document.activeElement;
5348
- (m === null || m.id !== C.targetUid.value) && $.value !== null && $.value !== m && $.value.focus(), ee();
5347
+ const v = document.activeElement;
5348
+ (v === null || v.id !== C.targetUid.value) && $.value !== null && $.value !== v && $.value.focus(), ee();
5349
5349
  }
5350
5350
  function Tt() {
5351
- l.value !== !0 && (a.value = -1, i.value === !0 && (i.value = !1), C.focused.value === !1 && (g !== null && (clearTimeout(g), g = null), C.innerLoading.value === !0 && (n("filterAbort"), C.innerLoading.value = !1, s.value = !1)));
5351
+ l.value !== !0 && (a.value = -1, i.value === !0 && (i.value = !1), C.focused.value === !1 && (m !== null && (clearTimeout(m), m = null), C.innerLoading.value === !0 && (n("filterAbort"), C.innerLoading.value = !1, s.value = !1)));
5352
5352
  }
5353
- function $t(m) {
5354
- C.editable.value === !0 && (v === !0 ? (C.onControlFocusin(m), l.value = !0, ge(() => {
5353
+ function $t(v) {
5354
+ C.editable.value === !0 && (f === !0 ? (C.onControlFocusin(v), l.value = !0, ge(() => {
5355
5355
  C.focus();
5356
5356
  })) : C.focus(), e.onFilter !== void 0 ? Lt(c.value) : (se.value !== !0 || t["no-option"] !== void 0) && (i.value = !0));
5357
5357
  }
@@ -5360,41 +5360,41 @@ const lu = fe({
5360
5360
  }
5361
5361
  function Rt() {
5362
5362
  e.useInput === !0 && Nt(
5363
- e.multiple !== !0 && e.fillInput === !0 && y.value.length !== 0 && Ee.value(y.value[0]) || "",
5363
+ e.multiple !== !0 && e.fillInput === !0 && b.value.length !== 0 && Ee.value(b.value[0]) || "",
5364
5364
  !0,
5365
5365
  !0
5366
5366
  );
5367
5367
  }
5368
- function Gn(m) {
5368
+ function Gn(v) {
5369
5369
  let W = -1;
5370
- if (m === !0) {
5371
- if (y.value.length !== 0) {
5372
- const K = De.value(y.value[0]);
5370
+ if (v === !0) {
5371
+ if (b.value.length !== 0) {
5372
+ const K = De.value(b.value[0]);
5373
5373
  W = e.options.findIndex((le) => lt(De.value(le), K));
5374
5374
  }
5375
5375
  N(W);
5376
5376
  }
5377
5377
  Mt(W);
5378
5378
  }
5379
- function Kl(m, W) {
5379
+ function Kl(v, W) {
5380
5380
  i.value === !0 && C.innerLoading.value === !1 && (N(-1, !0), ge(() => {
5381
- i.value === !0 && C.innerLoading.value === !1 && (m > W ? N() : Gn(!0));
5381
+ i.value === !0 && C.innerLoading.value === !1 && (v > W ? N() : Gn(!0));
5382
5382
  }));
5383
5383
  }
5384
5384
  function mr() {
5385
5385
  l.value === !1 && R.value !== null && R.value.updatePosition();
5386
5386
  }
5387
- function pr(m) {
5388
- m !== void 0 && je(m), n("popupShow", m), C.hasPopupOpen = !0, C.onControlFocusin(m);
5387
+ function pr(v) {
5388
+ v !== void 0 && je(v), n("popupShow", v), C.hasPopupOpen = !0, C.onControlFocusin(v);
5389
5389
  }
5390
- function gr(m) {
5391
- m !== void 0 && je(m), n("popupHide", m), C.hasPopupOpen = !1, C.onControlFocusout(m);
5390
+ function gr(v) {
5391
+ v !== void 0 && je(v), n("popupHide", v), C.hasPopupOpen = !1, C.onControlFocusout(v);
5392
5392
  }
5393
5393
  function yr() {
5394
- v = r.platform.is.mobile !== !0 && e.behavior !== "dialog" ? !1 : e.behavior !== "menu" && (e.useInput === !0 ? t["no-option"] !== void 0 || e.onFilter !== void 0 || se.value === !1 : !0), w = r.platform.is.ios === !0 && v === !0 && e.useInput === !0 ? "fade" : e.transitionShow;
5394
+ f = r.platform.is.mobile !== !0 && e.behavior !== "dialog" ? !1 : e.behavior !== "menu" && (e.useInput === !0 ? t["no-option"] !== void 0 || e.onFilter !== void 0 || se.value === !1 : !0), w = r.platform.is.ios === !0 && f === !0 && e.useInput === !0 ? "fade" : e.transitionShow;
5395
5395
  }
5396
5396
  return Ci(yr), Jl(mr), yr(), be(() => {
5397
- d !== null && clearTimeout(d), p !== null && clearTimeout(p);
5397
+ d !== null && clearTimeout(d), g !== null && clearTimeout(g);
5398
5398
  }), Object.assign(o, {
5399
5399
  showPopup: $t,
5400
5400
  hidePopup: ht,
@@ -5409,47 +5409,47 @@ const lu = fe({
5409
5409
  updateInputValue: Nt,
5410
5410
  isOptionSelected: Yn,
5411
5411
  getEmittingOptionValue: dt,
5412
- isOptionDisabled: (...m) => P.value.apply(null, m) === !0,
5413
- getOptionValue: (...m) => De.value.apply(null, m),
5414
- getOptionLabel: (...m) => Ee.value.apply(null, m)
5412
+ isOptionDisabled: (...v) => P.value.apply(null, v) === !0,
5413
+ getOptionValue: (...v) => De.value.apply(null, v),
5414
+ getOptionLabel: (...v) => Ee.value.apply(null, v)
5415
5415
  }), Object.assign(C, {
5416
- innerValue: y,
5417
- fieldClass: f(
5416
+ innerValue: b,
5417
+ fieldClass: h(
5418
5418
  () => `q-select q-field--auto-height q-select--with${e.useInput !== !0 ? "out" : ""}-input q-select--with${e.useChips !== !0 ? "out" : ""}-chips q-select--${e.multiple === !0 ? "multiple" : "single"}`
5419
5419
  ),
5420
5420
  inputRef: M,
5421
5421
  targetRef: $,
5422
5422
  hasValue: te,
5423
5423
  showPopup: $t,
5424
- floatingLabel: f(
5424
+ floatingLabel: h(
5425
5425
  () => e.hideSelected !== !0 && te.value === !0 || typeof c.value == "number" || c.value.length !== 0 || Jt(e.displayValue)
5426
5426
  ),
5427
5427
  getControlChild: () => {
5428
5428
  if (C.editable.value !== !1 && (l.value === !0 || se.value !== !0 || t["no-option"] !== void 0))
5429
- return v === !0 ? Dl() : jl();
5429
+ return f === !0 ? Dl() : jl();
5430
5430
  C.hasPopupOpen === !0 && (C.hasPopupOpen = !1);
5431
5431
  },
5432
5432
  controlEvents: {
5433
- onFocusin(m) {
5434
- C.onControlFocusin(m);
5433
+ onFocusin(v) {
5434
+ C.onControlFocusin(v);
5435
5435
  },
5436
- onFocusout(m) {
5437
- C.onControlFocusout(m, () => {
5436
+ onFocusout(v) {
5437
+ C.onControlFocusout(v, () => {
5438
5438
  Rt(), Tt();
5439
5439
  });
5440
5440
  },
5441
- onClick(m) {
5442
- if ($e(m), v !== !0 && i.value === !0) {
5441
+ onClick(v) {
5442
+ if ($e(v), f !== !0 && i.value === !0) {
5443
5443
  Tt(), $.value !== null && $.value.focus();
5444
5444
  return;
5445
5445
  }
5446
- $t(m);
5446
+ $t(v);
5447
5447
  }
5448
5448
  },
5449
- getControl: (m) => {
5450
- const W = Ol(), K = m === !0 || l.value !== !0 || v !== !0;
5449
+ getControl: (v) => {
5450
+ const W = Ol(), K = v === !0 || l.value !== !0 || f !== !0;
5451
5451
  if (e.useInput === !0)
5452
- W.push(Pl(m, K));
5452
+ W.push(Pl(v, K));
5453
5453
  else if (C.editable.value === !0) {
5454
5454
  const he = K === !0 ? Pe.value : void 0;
5455
5455
  W.push(
@@ -5460,7 +5460,7 @@ const lu = fe({
5460
5460
  id: K === !0 ? C.targetUid.value : void 0,
5461
5461
  value: me.value,
5462
5462
  readonly: !0,
5463
- "data-autofocus": m === !0 || e.autofocus === !0 || void 0,
5463
+ "data-autofocus": v === !0 || e.autofocus === !0 || void 0,
5464
5464
  ...he,
5465
5465
  onKeydown: dr,
5466
5466
  onKeyup: sr,
@@ -5519,14 +5519,14 @@ const lu = fe({
5519
5519
  xi((s) => ({
5520
5520
  "0a94557a": s.borderColor
5521
5521
  }));
5522
- const n = e, o = H({}), r = t, i = f({
5522
+ const n = e, o = H({}), r = t, i = h({
5523
5523
  get() {
5524
5524
  return n.modelValue;
5525
5525
  },
5526
5526
  set(s) {
5527
5527
  r("update:modelValue", s);
5528
5528
  }
5529
- }), l = () => Array.isArray(i.value) && !i.value.length ? !0 : typeof i.value == "string" && !i.value, a = H(""), c = f(() => n.options.filter((s) => s[(n == null ? void 0 : n.optionLabel) || "label"].toLowerCase().includes(a.value)));
5529
+ }), l = () => Array.isArray(i.value) && !i.value.length ? !0 : typeof i.value == "string" && !i.value, a = H(""), c = h(() => n.options.filter((s) => s[(n == null ? void 0 : n.optionLabel) || "label"].toLowerCase().includes(a.value)));
5530
5530
  function u(s, d) {
5531
5531
  d(() => {
5532
5532
  a.value = s.toLowerCase();
@@ -5536,7 +5536,7 @@ const lu = fe({
5536
5536
  ref_key: "select",
5537
5537
  ref: o,
5538
5538
  modelValue: i.value,
5539
- "onUpdate:modelValue": d[0] || (d[0] = (p) => i.value = p),
5539
+ "onUpdate:modelValue": d[0] || (d[0] = (g) => i.value = g),
5540
5540
  options: c.value,
5541
5541
  "option-value": s.optionValue,
5542
5542
  "option-label": s.optionLabel,
@@ -5575,19 +5575,19 @@ const lu = fe({
5575
5575
  }, [
5576
5576
  s.multiple ? {
5577
5577
  name: "selected-item",
5578
- fn: ae((p) => [
5579
- p.opt ? (Y(), ye(tl, {
5578
+ fn: ae((g) => [
5579
+ g.opt ? (Y(), ye(tl, {
5580
5580
  key: 0,
5581
5581
  removable: "",
5582
5582
  class: "q-ma-none",
5583
5583
  dense: "",
5584
- tabindex: p.tabindex,
5584
+ tabindex: g.tabindex,
5585
5585
  color: "white",
5586
5586
  "text-color": "secondary",
5587
- onRemove: (h) => p.removeAtIndex(p.index)
5587
+ onRemove: (p) => g.removeAtIndex(g.index)
5588
5588
  }, {
5589
5589
  default: ae(() => [
5590
- Ie(tt(p.opt[`${s.optionLabel}`]), 1)
5590
+ Ie(tt(g.opt[`${s.optionLabel}`]), 1)
5591
5591
  ]),
5592
5592
  _: 2
5593
5593
  }, 1032, ["tabindex", "onRemove"])) : Qe("", !0)
@@ -5738,30 +5738,30 @@ const ho = Bi(
5738
5738
  r.lastEvt = i;
5739
5739
  const u = r.event.mouse === !0, s = () => {
5740
5740
  o(i, u);
5741
- let h;
5742
- n.preserveCursor !== !0 && n.preservecursor !== !0 && (h = document.documentElement.style.cursor || "", document.documentElement.style.cursor = "grabbing"), u === !0 && document.body.classList.add("no-pointer-events--children"), document.body.classList.add("non-selectable"), Cn(), r.styleCleanup = (v) => {
5743
- if (r.styleCleanup = void 0, h !== void 0 && (document.documentElement.style.cursor = h), document.body.classList.remove("non-selectable"), u === !0) {
5744
- const b = () => {
5741
+ let p;
5742
+ n.preserveCursor !== !0 && n.preservecursor !== !0 && (p = document.documentElement.style.cursor || "", document.documentElement.style.cursor = "grabbing"), u === !0 && document.body.classList.add("no-pointer-events--children"), document.body.classList.add("non-selectable"), Cn(), r.styleCleanup = (f) => {
5743
+ if (r.styleCleanup = void 0, p !== void 0 && (document.documentElement.style.cursor = p), document.body.classList.remove("non-selectable"), u === !0) {
5744
+ const y = () => {
5745
5745
  document.body.classList.remove("no-pointer-events--children");
5746
5746
  };
5747
- v !== void 0 ? setTimeout(() => {
5748
- b(), v();
5749
- }, 50) : b();
5750
- } else v !== void 0 && v();
5747
+ f !== void 0 ? setTimeout(() => {
5748
+ y(), f();
5749
+ }, 50) : y();
5750
+ } else f !== void 0 && f();
5751
5751
  };
5752
5752
  };
5753
5753
  if (r.event.detected === !0) {
5754
5754
  r.event.isFirst !== !0 && o(i, r.event.mouse);
5755
- const { payload: h, synthetic: v } = fo(i, r, !1);
5756
- h !== void 0 && (r.handler(h) === !1 ? r.end(i) : (r.styleCleanup === void 0 && r.event.isFirst === !0 && s(), r.event.lastX = h.position.left, r.event.lastY = h.position.top, r.event.lastDir = v === !0 ? void 0 : h.direction, r.event.isFirst = !1));
5755
+ const { payload: p, synthetic: f } = fo(i, r, !1);
5756
+ p !== void 0 && (r.handler(p) === !1 ? r.end(i) : (r.styleCleanup === void 0 && r.event.isFirst === !0 && s(), r.event.lastX = p.position.left, r.event.lastY = p.position.top, r.event.lastDir = f === !0 ? void 0 : p.direction, r.event.isFirst = !1));
5757
5757
  return;
5758
5758
  }
5759
5759
  if (r.direction.all === !0 || u === !0 && (r.modifiers.mouseAllDir === !0 || r.modifiers.mousealldir === !0)) {
5760
5760
  s(), r.event.detected = !0, r.move(i);
5761
5761
  return;
5762
5762
  }
5763
- const d = Math.abs(a), p = Math.abs(c);
5764
- d !== p && (r.direction.horizontal === !0 && d > p || r.direction.vertical === !0 && d < p || r.direction.up === !0 && d < p && c < 0 || r.direction.down === !0 && d < p && c > 0 || r.direction.left === !0 && d > p && a < 0 || r.direction.right === !0 && d > p && a > 0 ? (r.event.detected = !0, r.move(i)) : r.end(i, !0));
5763
+ const d = Math.abs(a), g = Math.abs(c);
5764
+ d !== g && (r.direction.horizontal === !0 && d > g || r.direction.vertical === !0 && d < g || r.direction.up === !0 && d < g && c < 0 || r.direction.down === !0 && d < g && c > 0 || r.direction.left === !0 && d > g && a < 0 || r.direction.right === !0 && d > g && a > 0 ? (r.event.detected = !0, r.move(i)) : r.end(i, !0));
5765
5765
  },
5766
5766
  end(i, l) {
5767
5767
  if (r.event !== void 0) {
@@ -5848,18 +5848,18 @@ const ho = Bi(
5848
5848
  const r = ue(), { proxy: { $q: i } } = r, l = ut(e, i), { preventBodyScroll: a } = al(), { registerTimeout: c, removeTimeout: u } = Fn(), s = _t(rn, Te);
5849
5849
  if (s === Te)
5850
5850
  return console.error("QDrawer needs to be child of QLayout"), Te;
5851
- let d, p = null, h;
5852
- const v = H(
5851
+ let d, g = null, p;
5852
+ const f = H(
5853
5853
  e.behavior === "mobile" || e.behavior !== "desktop" && s.totalWidth.value <= e.breakpoint
5854
- ), b = f(
5855
- () => e.mini === !0 && v.value !== !0
5856
- ), g = f(() => b.value === !0 ? e.miniWidth : e.width), E = H(
5857
- e.showIfAbove === !0 && v.value === !1 ? !0 : e.modelValue === !0
5858
- ), w = f(
5859
- () => e.persistent !== !0 && (v.value === !0 || ee.value === !0)
5854
+ ), y = h(
5855
+ () => e.mini === !0 && f.value !== !0
5856
+ ), m = h(() => y.value === !0 ? e.miniWidth : e.width), E = H(
5857
+ e.showIfAbove === !0 && f.value === !1 ? !0 : e.modelValue === !0
5858
+ ), w = h(
5859
+ () => e.persistent !== !0 && (f.value === !0 || ee.value === !0)
5860
5860
  );
5861
5861
  function B(P, ie) {
5862
- if (R(), P !== !1 && s.animate(), pe(0), v.value === !0) {
5862
+ if (R(), P !== !1 && s.animate(), pe(0), f.value === !0) {
5863
5863
  const Me = s.instances[N.value];
5864
5864
  Me !== void 0 && Me.belowBreakpoint === !0 && Me.hide(!1), Pe(1), s.isContainer.value !== !0 && a(!0);
5865
5865
  } else
@@ -5869,7 +5869,7 @@ const ho = Bi(
5869
5869
  }, oi);
5870
5870
  }
5871
5871
  function T(P, ie) {
5872
- D(), P !== !1 && s.animate(), Pe(0), pe(O.value * g.value), ct(), ie !== !0 ? c(() => {
5872
+ D(), P !== !1 && s.animate(), Pe(0), pe(O.value * m.value), ct(), ie !== !0 ? c(() => {
5873
5873
  n("hide", P);
5874
5874
  }, oi) : u();
5875
5875
  }
@@ -5879,37 +5879,37 @@ const ho = Bi(
5879
5879
  handleShow: B,
5880
5880
  handleHide: T
5881
5881
  }), { addToHistory: R, removeFromHistory: D } = ll(E), x = {
5882
- belowBreakpoint: v,
5882
+ belowBreakpoint: f,
5883
5883
  hide: $
5884
- }, q = f(() => e.side === "right"), O = f(
5884
+ }, q = h(() => e.side === "right"), O = h(
5885
5885
  () => (i.lang.rtl === !0 ? -1 : 1) * (q.value === !0 ? 1 : -1)
5886
5886
  ), S = H(0), z = H(!1), L = H(!1), X = H(
5887
5887
  // starting with "hidden" for SSR
5888
- g.value * O.value
5889
- ), N = f(() => q.value === !0 ? "left" : "right"), j = f(() => E.value === !0 && v.value === !1 && e.overlay === !1 ? e.miniToOverlay === !0 ? e.miniWidth : g.value : 0), A = f(
5888
+ m.value * O.value
5889
+ ), N = h(() => q.value === !0 ? "left" : "right"), j = h(() => E.value === !0 && f.value === !1 && e.overlay === !1 ? e.miniToOverlay === !0 ? e.miniWidth : m.value : 0), A = h(
5890
5890
  () => e.overlay === !0 || e.miniToOverlay === !0 || s.view.value.indexOf(q.value ? "R" : "L") !== -1 || i.platform.is.ios === !0 && s.isContainer.value === !0
5891
- ), Q = f(
5892
- () => e.overlay === !1 && E.value === !0 && v.value === !1
5893
- ), ee = f(
5894
- () => e.overlay === !0 && E.value === !0 && v.value === !1
5895
- ), C = f(
5891
+ ), Q = h(
5892
+ () => e.overlay === !1 && E.value === !0 && f.value === !1
5893
+ ), ee = h(
5894
+ () => e.overlay === !0 && E.value === !0 && f.value === !1
5895
+ ), C = h(
5896
5896
  () => "fullscreen q-drawer__backdrop" + (E.value === !1 && z.value === !1 ? " hidden" : "")
5897
- ), y = f(() => ({
5897
+ ), b = h(() => ({
5898
5898
  backgroundColor: `rgba(0,0,0,${S.value * 0.4})`
5899
- })), I = f(() => q.value === !0 ? s.rows.value.top[2] === "r" : s.rows.value.top[0] === "l"), J = f(() => q.value === !0 ? s.rows.value.bottom[2] === "r" : s.rows.value.bottom[0] === "l"), te = f(() => {
5899
+ })), I = h(() => q.value === !0 ? s.rows.value.top[2] === "r" : s.rows.value.top[0] === "l"), J = h(() => q.value === !0 ? s.rows.value.bottom[2] === "r" : s.rows.value.bottom[0] === "l"), te = h(() => {
5900
5900
  const P = {};
5901
5901
  return s.header.space === !0 && I.value === !1 && (A.value === !0 ? P.top = `${s.header.offset}px` : s.header.space === !0 && (P.top = `${s.header.size}px`)), s.footer.space === !0 && J.value === !1 && (A.value === !0 ? P.bottom = `${s.footer.offset}px` : s.footer.space === !0 && (P.bottom = `${s.footer.size}px`)), P;
5902
- }), V = f(() => {
5902
+ }), V = h(() => {
5903
5903
  const P = {
5904
- width: `${g.value}px`,
5904
+ width: `${m.value}px`,
5905
5905
  transform: `translateX(${X.value}px)`
5906
5906
  };
5907
- return v.value === !0 ? P : Object.assign(P, te.value);
5908
- }), U = f(
5907
+ return f.value === !0 ? P : Object.assign(P, te.value);
5908
+ }), U = h(
5909
5909
  () => "q-drawer__content fit " + (s.isContainer.value !== !0 ? "scroll" : "overflow-auto")
5910
- ), se = f(
5911
- () => `q-drawer q-drawer--${e.side}` + (L.value === !0 ? " q-drawer--mini-animate" : "") + (e.bordered === !0 ? " q-drawer--bordered" : "") + (l.value === !0 ? " q-drawer--dark q-dark" : "") + (z.value === !0 ? " no-transition" : E.value === !0 ? "" : " q-layout--prevent-focus") + (v.value === !0 ? " fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding" : ` q-drawer--${b.value === !0 ? "mini" : "standard"}` + (A.value === !0 || Q.value !== !0 ? " fixed" : "") + (e.overlay === !0 || e.miniToOverlay === !0 ? " q-drawer--on-top" : "") + (I.value === !0 ? " q-drawer--top-padding" : ""))
5912
- ), F = f(() => {
5910
+ ), se = h(
5911
+ () => `q-drawer q-drawer--${e.side}` + (L.value === !0 ? " q-drawer--mini-animate" : "") + (e.bordered === !0 ? " q-drawer--bordered" : "") + (l.value === !0 ? " q-drawer--dark q-dark" : "") + (z.value === !0 ? " no-transition" : E.value === !0 ? "" : " q-layout--prevent-focus") + (f.value === !0 ? " fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding" : ` q-drawer--${y.value === !0 ? "mini" : "standard"}` + (A.value === !0 || Q.value !== !0 ? " fixed" : "") + (e.overlay === !0 || e.miniToOverlay === !0 ? " q-drawer--on-top" : "") + (I.value === !0 ? " q-drawer--top-padding" : ""))
5912
+ ), F = h(() => {
5913
5913
  const P = i.lang.rtl === !0 ? e.side : N.value;
5914
5914
  return [[
5915
5915
  ho,
@@ -5920,7 +5920,7 @@ const ho = Bi(
5920
5920
  mouse: !0
5921
5921
  }
5922
5922
  ]];
5923
- }), me = f(() => {
5923
+ }), me = h(() => {
5924
5924
  const P = i.lang.rtl === !0 ? N.value : e.side;
5925
5925
  return [[
5926
5926
  ho,
@@ -5931,7 +5931,7 @@ const ho = Bi(
5931
5931
  mouse: !0
5932
5932
  }
5933
5933
  ]];
5934
- }), ze = f(() => {
5934
+ }), ze = h(() => {
5935
5935
  const P = i.lang.rtl === !0 ? N.value : e.side;
5936
5936
  return [[
5937
5937
  ho,
@@ -5945,12 +5945,12 @@ const ho = Bi(
5945
5945
  ]];
5946
5946
  });
5947
5947
  function Ge() {
5948
- De(v, e.behavior === "mobile" || e.behavior !== "desktop" && s.totalWidth.value <= e.breakpoint);
5948
+ De(f, e.behavior === "mobile" || e.behavior !== "desktop" && s.totalWidth.value <= e.breakpoint);
5949
5949
  }
5950
- G(v, (P) => {
5950
+ G(f, (P) => {
5951
5951
  P === !0 ? (d = E.value, E.value === !0 && $(!1)) : e.overlay === !1 && e.behavior !== "mobile" && d !== !1 && (E.value === !0 ? (pe(0), Pe(0), ct()) : M(!1));
5952
5952
  }), G(() => e.side, (P, ie) => {
5953
- s.instances[ie] === x && (s.instances[ie] = void 0, s[ie].space = !1, s[ie].offset = 0), s.instances[P] = x, s[P].size = g.value, s[P].space = Q.value, s[P].offset = j.value;
5953
+ s.instances[ie] === x && (s.instances[ie] = void 0, s[ie].space = !1, s[ie].offset = 0), s.instances[P] = x, s[P].size = m.value, s[P].space = Q.value, s[P].offset = j.value;
5954
5954
  }), G(s.totalWidth, () => {
5955
5955
  (s.isContainer.value === !0 || document.qScrollPrevented !== !0) && Ge();
5956
5956
  }), G(
@@ -5966,21 +5966,21 @@ const ho = Bi(
5966
5966
  n("onLayout", P), Re("space", P);
5967
5967
  }), G(q, () => {
5968
5968
  pe();
5969
- }), G(g, (P) => {
5969
+ }), G(m, (P) => {
5970
5970
  pe(), Ee(e.miniToOverlay, P);
5971
5971
  }), G(() => e.miniToOverlay, (P) => {
5972
- Ee(P, g.value);
5972
+ Ee(P, m.value);
5973
5973
  }), G(() => i.lang.rtl, () => {
5974
5974
  pe();
5975
5975
  }), G(() => e.mini, () => {
5976
5976
  e.noMiniAnimation || e.modelValue === !0 && (Je(), s.animate());
5977
- }), G(b, (P) => {
5977
+ }), G(y, (P) => {
5978
5978
  n("miniState", P);
5979
5979
  });
5980
5980
  function pe(P) {
5981
5981
  P === void 0 ? ge(() => {
5982
- P = E.value === !0 ? 0 : g.value, pe(O.value * P);
5983
- }) : (s.isContainer.value === !0 && q.value === !0 && (v.value === !0 || Math.abs(P) === g.value) && (P += O.value * s.scrollbarWidth.value), X.value = P);
5982
+ P = E.value === !0 ? 0 : m.value, pe(O.value * P);
5983
+ }) : (s.isContainer.value === !0 && q.value === !0 && (f.value === !0 || Math.abs(P) === m.value) && (P += O.value * s.scrollbarWidth.value), X.value = P);
5984
5984
  }
5985
5985
  function Pe(P) {
5986
5986
  S.value = P;
@@ -5990,14 +5990,14 @@ const ho = Bi(
5990
5990
  ie !== "" && document.body.classList[ie]("q-body--drawer-toggle");
5991
5991
  }
5992
5992
  function Je() {
5993
- p !== null && clearTimeout(p), r.proxy && r.proxy.$el && r.proxy.$el.classList.add("q-drawer--mini-animate"), L.value = !0, p = setTimeout(() => {
5994
- p = null, L.value = !1, r && r.proxy && r.proxy.$el && r.proxy.$el.classList.remove("q-drawer--mini-animate");
5993
+ g !== null && clearTimeout(g), r.proxy && r.proxy.$el && r.proxy.$el.classList.add("q-drawer--mini-animate"), L.value = !0, g = setTimeout(() => {
5994
+ g = null, L.value = !1, r && r.proxy && r.proxy.$el && r.proxy.$el.classList.remove("q-drawer--mini-animate");
5995
5995
  }, 150);
5996
5996
  }
5997
5997
  function qt(P) {
5998
5998
  if (E.value !== !1)
5999
5999
  return;
6000
- const ie = g.value, Me = yn(P.distance.x, 0, ie);
6000
+ const ie = m.value, Me = yn(P.distance.x, 0, ie);
6001
6001
  if (P.isFinal === !0) {
6002
6002
  Me >= Math.min(75, ie) === !0 ? M() : (s.animate(), Pe(0), pe(O.value * ie)), z.value = !1;
6003
6003
  return;
@@ -6011,7 +6011,7 @@ const ho = Bi(
6011
6011
  function rt(P) {
6012
6012
  if (E.value !== !0)
6013
6013
  return;
6014
- const ie = g.value, Me = P.direction === e.side, dt = (i.lang.rtl === !0 ? Me !== !0 : Me) ? yn(P.distance.x, 0, ie) : 0;
6014
+ const ie = m.value, Me = P.direction === e.side, dt = (i.lang.rtl === !0 ? Me !== !0 : Me) ? yn(P.distance.x, 0, ie) : 0;
6015
6015
  if (P.isFinal === !0) {
6016
6016
  Math.abs(dt) < Math.min(75, ie) === !0 ? (s.animate(), Pe(1), pe(0)) : $(), z.value = !1;
6017
6017
  return;
@@ -6030,8 +6030,8 @@ const ho = Bi(
6030
6030
  function Ee(P, ie) {
6031
6031
  Re("size", P === !0 ? e.miniWidth : ie);
6032
6032
  }
6033
- return s.instances[e.side] = x, Ee(e.miniToOverlay, g.value), Re("space", Q.value), Re("offset", j.value), e.showIfAbove === !0 && e.modelValue !== !0 && E.value === !0 && e["onUpdate:modelValue"] !== void 0 && n("update:modelValue", !0), Ze(() => {
6034
- n("onLayout", Q.value), n("miniState", b.value), d = e.showIfAbove === !0;
6033
+ return s.instances[e.side] = x, Ee(e.miniToOverlay, m.value), Re("space", Q.value), Re("offset", j.value), e.showIfAbove === !0 && e.modelValue !== !0 && E.value === !0 && e["onUpdate:modelValue"] !== void 0 && n("update:modelValue", !0), Ze(() => {
6034
+ n("onLayout", Q.value), n("miniState", y.value), d = e.showIfAbove === !0;
6035
6035
  const P = () => {
6036
6036
  (E.value === !0 ? B : T)(!1, !0);
6037
6037
  };
@@ -6039,14 +6039,14 @@ const ho = Bi(
6039
6039
  ge(P);
6040
6040
  return;
6041
6041
  }
6042
- h = G(s.totalWidth, () => {
6043
- h(), h = void 0, E.value === !1 && e.showIfAbove === !0 && v.value === !1 ? M(!1) : P();
6042
+ p = G(s.totalWidth, () => {
6043
+ p(), p = void 0, E.value === !1 && e.showIfAbove === !0 && f.value === !1 ? M(!1) : P();
6044
6044
  });
6045
6045
  }), be(() => {
6046
- h !== void 0 && h(), p !== null && (clearTimeout(p), p = null), E.value === !0 && ct(), s.instances[e.side] === x && (s.instances[e.side] = void 0, Re("size", 0), Re("offset", 0), Re("space", !1));
6046
+ p !== void 0 && p(), g !== null && (clearTimeout(g), g = null), E.value === !0 && ct(), s.instances[e.side] === x && (s.instances[e.side] = void 0, Re("size", 0), Re("offset", 0), Re("space", !1));
6047
6047
  }), () => {
6048
6048
  const P = [];
6049
- v.value === !0 && (e.noSwipeOpen === !1 && P.push(
6049
+ f.value === !0 && (e.noSwipeOpen === !1 && P.push(
6050
6050
  Ht(
6051
6051
  k("div", {
6052
6052
  key: "open",
@@ -6061,7 +6061,7 @@ const ho = Bi(
6061
6061
  {
6062
6062
  ref: "backdrop",
6063
6063
  class: C.value,
6064
- style: y.value,
6064
+ style: b.value,
6065
6065
  "aria-hidden": "true",
6066
6066
  onClick: $
6067
6067
  },
@@ -6071,7 +6071,7 @@ const ho = Bi(
6071
6071
  () => ze.value
6072
6072
  )
6073
6073
  ));
6074
- const ie = b.value === !0 && t.mini !== void 0, Me = [
6074
+ const ie = y.value === !0 && t.mini !== void 0, Me = [
6075
6075
  k(
6076
6076
  "div",
6077
6077
  {
@@ -6096,7 +6096,7 @@ const ho = Bi(
6096
6096
  { ref: "content", class: se.value, style: V.value },
6097
6097
  Me,
6098
6098
  "contentclose",
6099
- e.noSwipeClose !== !0 && v.value === !0,
6099
+ e.noSwipeClose !== !0 && f.value === !0,
6100
6100
  () => me.value
6101
6101
  )
6102
6102
  ), k("div", { class: "q-drawer-container" }, P);
@@ -6117,26 +6117,26 @@ const ho = Bi(
6117
6117
  function s() {
6118
6118
  r && r(), r = null, o = !1, l !== null && (clearTimeout(l), l = null), a !== null && (clearTimeout(a), a = null), i !== void 0 && i.removeEventListener("transitionend", c), c = null;
6119
6119
  }
6120
- function d(b, g, E) {
6121
- g !== void 0 && (b.style.height = `${g}px`), b.style.transition = `height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`, o = !0, r = E;
6120
+ function d(y, m, E) {
6121
+ m !== void 0 && (y.style.height = `${m}px`), y.style.transition = `height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`, o = !0, r = E;
6122
6122
  }
6123
- function p(b, g) {
6124
- b.style.overflowY = null, b.style.height = null, b.style.transition = null, s(), g !== u && n(g);
6123
+ function g(y, m) {
6124
+ y.style.overflowY = null, y.style.height = null, y.style.transition = null, s(), m !== u && n(m);
6125
6125
  }
6126
- function h(b, g) {
6126
+ function p(y, m) {
6127
6127
  let E = 0;
6128
- i = b, o === !0 ? (s(), E = b.offsetHeight === b.scrollHeight ? 0 : void 0) : (u = "hide", b.style.overflowY = "hidden"), d(b, E, g), l = setTimeout(() => {
6129
- l = null, b.style.height = `${b.scrollHeight}px`, c = (w) => {
6130
- a = null, (Object(w) !== w || w.target === b) && p(b, "show");
6131
- }, b.addEventListener("transitionend", c), a = setTimeout(c, e.duration * 1.1);
6128
+ i = y, o === !0 ? (s(), E = y.offsetHeight === y.scrollHeight ? 0 : void 0) : (u = "hide", y.style.overflowY = "hidden"), d(y, E, m), l = setTimeout(() => {
6129
+ l = null, y.style.height = `${y.scrollHeight}px`, c = (w) => {
6130
+ a = null, (Object(w) !== w || w.target === y) && g(y, "show");
6131
+ }, y.addEventListener("transitionend", c), a = setTimeout(c, e.duration * 1.1);
6132
6132
  }, 100);
6133
6133
  }
6134
- function v(b, g) {
6134
+ function f(y, m) {
6135
6135
  let E;
6136
- i = b, o === !0 ? s() : (u = "show", b.style.overflowY = "hidden", E = b.scrollHeight), d(b, E, g), l = setTimeout(() => {
6137
- l = null, b.style.height = 0, c = (w) => {
6138
- a = null, (Object(w) !== w || w.target === b) && p(b, "hide");
6139
- }, b.addEventListener("transitionend", c), a = setTimeout(c, e.duration * 1.1);
6136
+ i = y, o === !0 ? s() : (u = "show", y.style.overflowY = "hidden", E = y.scrollHeight), d(y, E, m), l = setTimeout(() => {
6137
+ l = null, y.style.height = 0, c = (w) => {
6138
+ a = null, (Object(w) !== w || w.target === y) && g(y, "hide");
6139
+ }, y.addEventListener("transitionend", c), a = setTimeout(c, e.duration * 1.1);
6140
6140
  }, 100);
6141
6141
  }
6142
6142
  return be(() => {
@@ -6144,8 +6144,8 @@ const ho = Bi(
6144
6144
  }), () => k(St, {
6145
6145
  css: !1,
6146
6146
  appear: e.appear,
6147
- onEnter: h,
6148
- onLeave: v
6147
+ onEnter: p,
6148
+ onLeave: f
6149
6149
  }, t.default);
6150
6150
  }
6151
6151
  }), wu = {
@@ -6169,9 +6169,9 @@ const ho = Bi(
6169
6169
  size: String
6170
6170
  },
6171
6171
  setup(e) {
6172
- const t = ue(), n = ut(e, t.proxy.$q), o = f(() => e.vertical === !0 ? "vertical" : "horizontal"), r = f(() => ` q-separator--${o.value}`), i = f(() => e.inset !== !1 ? `${r.value}-${wu[e.inset]}` : ""), l = f(
6172
+ const t = ue(), n = ut(e, t.proxy.$q), o = h(() => e.vertical === !0 ? "vertical" : "horizontal"), r = h(() => ` q-separator--${o.value}`), i = h(() => e.inset !== !1 ? `${r.value}-${wu[e.inset]}` : ""), l = h(
6173
6173
  () => `q-separator${r.value}${i.value}` + (e.color !== void 0 ? ` bg-${e.color}` : "") + (n.value === !0 ? " q-separator--dark" : "")
6174
- ), a = f(() => {
6174
+ ), a = h(() => {
6175
6175
  const c = {};
6176
6176
  if (e.size !== void 0 && (c[e.vertical === !0 ? "width" : "height"] = e.size), e.spaced !== !1) {
6177
6177
  const u = e.spaced === !0 ? `${vo.md}px` : e.spaced in vo ? `${vo[e.spaced]}px` : e.spaced, s = e.vertical === !0 ? ["Left", "Right"] : ["Top", "Bottom"];
@@ -6225,29 +6225,29 @@ const ho = Bi(
6225
6225
  const { proxy: { $q: o } } = ue(), r = ut(e, o), i = H(
6226
6226
  e.modelValue !== null ? e.modelValue : e.defaultOpened
6227
6227
  ), l = H(null), a = Ki(), { show: c, hide: u, toggle: s } = on({ showing: i });
6228
- let d, p;
6229
- const h = f(
6228
+ let d, g;
6229
+ const p = h(
6230
6230
  () => `q-expansion-item q-item-type q-expansion-item--${i.value === !0 ? "expanded" : "collapsed"} q-expansion-item--${e.popup === !0 ? "popup" : "standard"}`
6231
- ), v = f(() => e.contentInsetLevel === void 0 ? null : {
6231
+ ), f = h(() => e.contentInsetLevel === void 0 ? null : {
6232
6232
  ["padding" + (o.lang.rtl === !0 ? "Right" : "Left")]: e.contentInsetLevel * 56 + "px"
6233
- }), b = f(
6233
+ }), y = h(
6234
6234
  () => e.disable !== !0 && (e.href !== void 0 || e.to !== void 0 && e.to !== null && e.to !== "")
6235
- ), g = f(() => {
6235
+ ), m = h(() => {
6236
6236
  const j = {};
6237
6237
  return ku.forEach((A) => {
6238
6238
  j[A] = e[A];
6239
6239
  }), j;
6240
- }), E = f(
6241
- () => b.value === !0 || e.expandIconToggle !== !0
6242
- ), w = f(() => e.expandedIcon !== void 0 && i.value === !0 ? e.expandedIcon : e.expandIcon || o.iconSet.expansionItem[e.denseToggle === !0 ? "denseIcon" : "icon"]), B = f(
6243
- () => e.disable !== !0 && (b.value === !0 || e.expandIconToggle === !0)
6244
- ), T = f(() => ({
6240
+ }), E = h(
6241
+ () => y.value === !0 || e.expandIconToggle !== !0
6242
+ ), w = h(() => e.expandedIcon !== void 0 && i.value === !0 ? e.expandedIcon : e.expandIcon || o.iconSet.expansionItem[e.denseToggle === !0 ? "denseIcon" : "icon"]), B = h(
6243
+ () => e.disable !== !0 && (y.value === !0 || e.expandIconToggle === !0)
6244
+ ), T = h(() => ({
6245
6245
  expanded: i.value === !0,
6246
6246
  detailsId: a.value,
6247
6247
  toggle: s,
6248
6248
  show: c,
6249
6249
  hide: u
6250
- })), M = f(() => {
6250
+ })), M = h(() => {
6251
6251
  const j = e.toggleAriaLabel !== void 0 ? e.toggleAriaLabel : o.lang.label[i.value === !0 ? "collapse" : "expand"](e.label);
6252
6252
  return {
6253
6253
  role: "button",
@@ -6257,10 +6257,10 @@ const ho = Bi(
6257
6257
  };
6258
6258
  });
6259
6259
  G(() => e.group, (j) => {
6260
- p !== void 0 && p(), j !== void 0 && O();
6260
+ g !== void 0 && g(), j !== void 0 && O();
6261
6261
  });
6262
6262
  function $(j) {
6263
- b.value !== !0 && s(j), n("click", j);
6263
+ y.value !== !0 && s(j), n("click", j);
6264
6264
  }
6265
6265
  function R(j) {
6266
6266
  j.keyCode === 13 && D(j, !0);
@@ -6284,8 +6284,8 @@ const ho = Bi(
6284
6284
  ee === d && Q !== void 0 && Q !== d && u();
6285
6285
  }
6286
6286
  );
6287
- p = () => {
6288
- j(), A(), mt[e.group] === d && delete mt[e.group], p = void 0;
6287
+ g = () => {
6288
+ j(), A(), mt[e.group] === d && delete mt[e.group], g = void 0;
6289
6289
  };
6290
6290
  }
6291
6291
  function S() {
@@ -6343,7 +6343,7 @@ const ho = Bi(
6343
6343
  };
6344
6344
  return E.value === !0 && (j.clickable = !0, j.onClick = $, Object.assign(
6345
6345
  j,
6346
- b.value === !0 ? g.value : M.value
6346
+ y.value === !0 ? m.value : M.value
6347
6347
  )), k(at, j, z);
6348
6348
  }
6349
6349
  function X() {
@@ -6351,7 +6351,7 @@ const ho = Bi(
6351
6351
  k("div", {
6352
6352
  key: "e-content",
6353
6353
  class: "q-expansion-item__content relative-position",
6354
- style: v.value,
6354
+ style: f.value,
6355
6355
  id: a.value
6356
6356
  }, Le(t.default)),
6357
6357
  [[
@@ -6381,8 +6381,8 @@ const ho = Bi(
6381
6381
  ), j;
6382
6382
  }
6383
6383
  return e.group !== void 0 && O(), be(() => {
6384
- p !== void 0 && p();
6385
- }), () => k("div", { class: h.value }, [
6384
+ g !== void 0 && g();
6385
+ }), () => k("div", { class: p.value }, [
6386
6386
  k("div", { class: "q-expansion-item__container relative-position" }, N())
6387
6387
  ]);
6388
6388
  }
@@ -7150,7 +7150,7 @@ const Pd = /* @__PURE__ */ oe(Ad, [["render", Od]]), jd = /* @__PURE__ */ He({
7150
7150
  function n(r) {
7151
7151
  return r ? r.split("-").map((i) => i.charAt(0).toUpperCase() + i.slice(1).toLowerCase()).join("") : "";
7152
7152
  }
7153
- const o = f(
7153
+ const o = h(
7154
7154
  () => ({
7155
7155
  ProjectsIcon: Eu,
7156
7156
  RepairsIcon: Lu,
@@ -7345,40 +7345,41 @@ const Yd = /* @__PURE__ */ He({
7345
7345
  minify: { type: Boolean },
7346
7346
  menuItems: {}
7347
7347
  },
7348
- setup(e) {
7349
- const t = Xd(), n = H(!0), o = H(!0), r = H(!1), i = f(() => t.screen.lt.lg), l = f(() => o.value ? "menu" : "close"), a = f(() => i.value ? 250 : 275), c = f(() => i.value ? 47 : 72);
7350
- function u(p) {
7351
- !r.value && !i.value && (o.value = p);
7348
+ emits: ["logout"],
7349
+ setup(e, { emit: t }) {
7350
+ const n = t, o = Xd(), r = H(!0), i = H(!0), l = H(!1), a = h(() => o.screen.lt.lg), c = h(() => i.value ? "menu" : "close"), u = h(() => a.value ? 250 : 275), s = h(() => a.value ? 47 : 72);
7351
+ function d(f) {
7352
+ !l.value && !a.value && (i.value = f);
7352
7353
  }
7353
- function s() {
7354
- r.value = !r.value, o.value = !o.value;
7354
+ function g() {
7355
+ l.value = !l.value, i.value = !i.value;
7355
7356
  }
7356
- function d() {
7357
- window.location.href = "/sign-out";
7357
+ function p() {
7358
+ n("logout");
7358
7359
  }
7359
7360
  return G(
7360
- () => i.value,
7361
- (p) => {
7362
- r.value = p;
7361
+ () => a.value,
7362
+ (f) => {
7363
+ l.value = f;
7363
7364
  }
7364
- ), (p, h) => (Y(), ye(yu, {
7365
- key: `${n.value}`,
7366
- modelValue: n.value,
7367
- "onUpdate:modelValue": h[3] || (h[3] = (v) => n.value = v),
7368
- class: ce(p.$style.drawer),
7369
- mini: o.value,
7370
- overlay: !r.value,
7371
- width: a.value,
7372
- "mini-width": c.value,
7365
+ ), (f, y) => (Y(), ye(yu, {
7366
+ key: `${r.value}`,
7367
+ modelValue: r.value,
7368
+ "onUpdate:modelValue": y[3] || (y[3] = (m) => r.value = m),
7369
+ class: ce(f.$style.drawer),
7370
+ mini: i.value,
7371
+ overlay: !l.value,
7372
+ width: u.value,
7373
+ "mini-width": s.value,
7373
7374
  breakpoint: 960,
7374
7375
  "show-if-above": "",
7375
- onMouseover: h[4] || (h[4] = (v) => u(!1)),
7376
- onMouseout: h[5] || (h[5] = (v) => u(!0))
7376
+ onMouseover: y[4] || (y[4] = (m) => d(!1)),
7377
+ onMouseout: y[5] || (y[5] = (m) => d(!0))
7377
7378
  }, {
7378
7379
  default: ae(() => [
7379
- i.value ? (Y(), ye(at, {
7380
+ a.value ? (Y(), ye(at, {
7380
7381
  key: 0,
7381
- class: ce(p.$style["tablet-logo"])
7382
+ class: ce(f.$style["tablet-logo"])
7382
7383
  }, {
7383
7384
  default: ae(() => [
7384
7385
  ve(Ae, { avatar: "" }, {
@@ -7386,17 +7387,17 @@ const Yd = /* @__PURE__ */ He({
7386
7387
  ve(Lo, {
7387
7388
  round: "",
7388
7389
  unelevated: "",
7389
- class: ce(p.$style["tablet-logo__btn"]),
7390
- icon: l.value,
7391
- onClick: h[0] || (h[0] = (v) => s())
7390
+ class: ce(f.$style["tablet-logo__btn"]),
7391
+ icon: c.value,
7392
+ onClick: y[0] || (y[0] = (m) => g())
7392
7393
  }, null, 8, ["class", "icon"])
7393
7394
  ]),
7394
7395
  _: 1
7395
7396
  }),
7396
7397
  ve(Ae, {
7397
- class: ce(p.$style.logo__text)
7398
+ class: ce(f.$style.logo__text)
7398
7399
  }, {
7399
- default: ae(() => h[6] || (h[6] = [
7400
+ default: ae(() => y[6] || (y[6] = [
7400
7401
  Ie("РИТМ")
7401
7402
  ])),
7402
7403
  _: 1
@@ -7405,7 +7406,7 @@ const Yd = /* @__PURE__ */ He({
7405
7406
  _: 1
7406
7407
  }, 8, ["class"])) : (Y(), re(Ho, { key: 1 }, [
7407
7408
  ve(at, {
7408
- class: ce(p.$style.logo)
7409
+ class: ce(f.$style.logo)
7409
7410
  }, {
7410
7411
  default: ae(() => [
7411
7412
  ve(Ae, { avatar: "" }, {
@@ -7415,9 +7416,9 @@ const Yd = /* @__PURE__ */ He({
7415
7416
  _: 1
7416
7417
  }),
7417
7418
  ve(Ae, {
7418
- class: ce(p.$style.logo__text)
7419
+ class: ce(f.$style.logo__text)
7419
7420
  }, {
7420
- default: ae(() => h[7] || (h[7] = [
7421
+ default: ae(() => y[7] || (y[7] = [
7421
7422
  Ie("РИТМ")
7422
7423
  ])),
7423
7424
  _: 1
@@ -7429,13 +7430,13 @@ const Yd = /* @__PURE__ */ He({
7429
7430
  dense: "",
7430
7431
  round: "",
7431
7432
  unelevated: "",
7432
- class: ce(["q-mini-drawer-hide", p.$style["minify-btn"]]),
7433
+ class: ce(["q-mini-drawer-hide", f.$style["minify-btn"]]),
7433
7434
  icon: "chevron_left",
7434
- onClick: h[1] || (h[1] = (v) => r.value = !r.value)
7435
+ onClick: y[1] || (y[1] = (m) => l.value = !l.value)
7435
7436
  }, {
7436
7437
  default: ae(() => [
7437
7438
  ve(qn, null, {
7438
- default: ae(() => h[8] || (h[8] = [
7439
+ default: ae(() => y[8] || (y[8] = [
7439
7440
  Ie("Закрепить сайдбар")
7440
7441
  ])),
7441
7442
  _: 1
@@ -7445,13 +7446,13 @@ const Yd = /* @__PURE__ */ He({
7445
7446
  }, 8, ["class"])
7446
7447
  ], 64)),
7447
7448
  ve(Zd, {
7448
- "menu-items": p.menuItems,
7449
- minify: o.value
7449
+ "menu-items": f.menuItems,
7450
+ minify: i.value
7450
7451
  }, null, 8, ["menu-items", "minify"]),
7451
7452
  Ht((Y(), ye(at, {
7452
- class: ce(p.$style["menu-exit"]),
7453
+ class: ce(f.$style["menu-exit"]),
7453
7454
  clickable: "",
7454
- onClick: h[2] || (h[2] = (v) => d())
7455
+ onClick: y[2] || (y[2] = (m) => p())
7455
7456
  }, {
7456
7457
  default: ae(() => [
7457
7458
  ve(Ae, { avatar: "" }, {
@@ -7465,9 +7466,9 @@ const Yd = /* @__PURE__ */ He({
7465
7466
  _: 1
7466
7467
  }),
7467
7468
  ve(Ae, {
7468
- class: ce(p.$style["menu-exit__label"])
7469
+ class: ce(f.$style["menu-exit__label"])
7469
7470
  }, {
7470
- default: ae(() => h[9] || (h[9] = [
7471
+ default: ae(() => y[9] || (y[9] = [
7471
7472
  Ie("Выход")
7472
7473
  ])),
7473
7474
  _: 1
@@ -7498,7 +7499,7 @@ const Yd = /* @__PURE__ */ He({
7498
7499
  inset: Boolean
7499
7500
  },
7500
7501
  setup(e, { slots: t }) {
7501
- const n = f(
7502
+ const n = h(
7502
7503
  () => "q-toolbar row no-wrap items-center" + (e.inset === !0 ? " q-toolbar--inset" : "")
7503
7504
  );
7504
7505
  return () => k("div", { class: n.value, role: "toolbar" }, Le(t.default));
@@ -7527,54 +7528,54 @@ const Yd = /* @__PURE__ */ He({
7527
7528
  const { proxy: { $q: o } } = ue(), r = _t(rn, Te);
7528
7529
  if (r === Te)
7529
7530
  return console.error("QHeader needs to be child of QLayout"), Te;
7530
- const i = H(parseInt(e.heightHint, 10)), l = H(!0), a = f(
7531
+ const i = H(parseInt(e.heightHint, 10)), l = H(!0), a = h(
7531
7532
  () => e.reveal === !0 || r.view.value.indexOf("H") !== -1 || o.platform.is.ios && r.isContainer.value === !0
7532
- ), c = f(() => {
7533
+ ), c = h(() => {
7533
7534
  if (e.modelValue !== !0)
7534
7535
  return 0;
7535
7536
  if (a.value === !0)
7536
7537
  return l.value === !0 ? i.value : 0;
7537
7538
  const w = i.value - r.scroll.value.position;
7538
7539
  return w > 0 ? w : 0;
7539
- }), u = f(
7540
+ }), u = h(
7540
7541
  () => e.modelValue !== !0 || a.value === !0 && l.value !== !0
7541
- ), s = f(
7542
+ ), s = h(
7542
7543
  () => e.modelValue === !0 && u.value === !0 && e.reveal === !0
7543
- ), d = f(
7544
+ ), d = h(
7544
7545
  () => "q-header q-layout__section--marginal " + (a.value === !0 ? "fixed" : "absolute") + "-top" + (e.bordered === !0 ? " q-header--bordered" : "") + (u.value === !0 ? " q-header--hidden" : "") + (e.modelValue !== !0 ? " q-layout--prevent-focus" : "")
7545
- ), p = f(() => {
7546
+ ), g = h(() => {
7546
7547
  const w = r.rows.value.top, B = {};
7547
7548
  return w[0] === "l" && r.left.space === !0 && (B[o.lang.rtl === !0 ? "right" : "left"] = `${r.left.size}px`), w[2] === "r" && r.right.space === !0 && (B[o.lang.rtl === !0 ? "left" : "right"] = `${r.right.size}px`), B;
7548
7549
  });
7549
- function h(w, B) {
7550
+ function p(w, B) {
7550
7551
  r.update("header", w, B);
7551
7552
  }
7552
- function v(w, B) {
7553
+ function f(w, B) {
7553
7554
  w.value !== B && (w.value = B);
7554
7555
  }
7555
- function b({ height: w }) {
7556
- v(i, w), h("size", w);
7556
+ function y({ height: w }) {
7557
+ f(i, w), p("size", w);
7557
7558
  }
7558
- function g(w) {
7559
- s.value === !0 && v(l, !0), n("focusin", w);
7559
+ function m(w) {
7560
+ s.value === !0 && f(l, !0), n("focusin", w);
7560
7561
  }
7561
7562
  G(() => e.modelValue, (w) => {
7562
- h("space", w), v(l, !0), r.animate();
7563
+ p("space", w), f(l, !0), r.animate();
7563
7564
  }), G(c, (w) => {
7564
- h("offset", w);
7565
+ p("offset", w);
7565
7566
  }), G(() => e.reveal, (w) => {
7566
- w === !1 && v(l, e.modelValue);
7567
+ w === !1 && f(l, e.modelValue);
7567
7568
  }), G(l, (w) => {
7568
7569
  r.animate(), n("reveal", w);
7569
7570
  }), G(r.scroll, (w) => {
7570
- e.reveal === !0 && v(
7571
+ e.reveal === !0 && f(
7571
7572
  l,
7572
7573
  w.direction === "up" || w.position <= e.revealOffset || w.position - w.inflectionPoint < 100
7573
7574
  );
7574
7575
  });
7575
7576
  const E = {};
7576
- return r.instances.header = E, e.modelValue === !0 && h("size", i.value), h("space", e.modelValue), h("offset", c.value), be(() => {
7577
- r.instances.header === E && (r.instances.header = void 0, h("size", 0), h("offset", 0), h("space", !1));
7577
+ return r.instances.header = E, e.modelValue === !0 && p("size", i.value), p("space", e.modelValue), p("offset", c.value), be(() => {
7578
+ r.instances.header === E && (r.instances.header = void 0, p("size", 0), p("offset", 0), p("space", !1));
7578
7579
  }), () => {
7579
7580
  const w = qi(t.default, []);
7580
7581
  return e.elevated === !0 && w.push(
@@ -7584,12 +7585,12 @@ const Yd = /* @__PURE__ */ He({
7584
7585
  ), w.push(
7585
7586
  k(To, {
7586
7587
  debounce: 0,
7587
- onResize: b
7588
+ onResize: y
7588
7589
  })
7589
7590
  ), k("header", {
7590
7591
  class: d.value,
7591
- style: p.value,
7592
- onFocusin: g
7592
+ style: g.value,
7593
+ onFocusin: m
7593
7594
  }, w);
7594
7595
  };
7595
7596
  }
@@ -7599,7 +7600,7 @@ const Yd = /* @__PURE__ */ He({
7599
7600
  userData: {}
7600
7601
  },
7601
7602
  setup(e) {
7602
- const t = e, n = f(
7603
+ const t = e, n = h(
7603
7604
  () => {
7604
7605
  var o, r, i, l, a;
7605
7606
  return `${(o = t.userData) == null ? void 0 : o.last_name} ${(i = (r = t.userData) == null ? void 0 : r.first_name) == null ? void 0 : i[0]}. ${(a = (l = t.userData) == null ? void 0 : l.patronymic) == null ? void 0 : a[0]}.`;
@@ -7976,59 +7977,59 @@ function Zn(e, t, n) {
7976
7977
  metaTokens: !0,
7977
7978
  dots: !1,
7978
7979
  indexes: !1
7979
- }, !1, function(b, g) {
7980
- return !_.isUndefined(g[b]);
7980
+ }, !1, function(y, m) {
7981
+ return !_.isUndefined(m[y]);
7981
7982
  });
7982
7983
  const o = n.metaTokens, r = n.visitor || s, i = n.dots, l = n.indexes, c = (n.Blob || typeof Blob < "u" && Blob) && _.isSpecCompliantForm(t);
7983
7984
  if (!_.isFunction(r))
7984
7985
  throw new TypeError("visitor must be a function");
7985
- function u(v) {
7986
- if (v === null) return "";
7987
- if (_.isDate(v))
7988
- return v.toISOString();
7989
- if (!c && _.isBlob(v))
7986
+ function u(f) {
7987
+ if (f === null) return "";
7988
+ if (_.isDate(f))
7989
+ return f.toISOString();
7990
+ if (!c && _.isBlob(f))
7990
7991
  throw new ne("Blob is not supported. Use a Buffer instead.");
7991
- return _.isArrayBuffer(v) || _.isTypedArray(v) ? c && typeof Blob == "function" ? new Blob([v]) : Buffer.from(v) : v;
7992
- }
7993
- function s(v, b, g) {
7994
- let E = v;
7995
- if (v && !g && typeof v == "object") {
7996
- if (_.endsWith(b, "{}"))
7997
- b = o ? b : b.slice(0, -2), v = JSON.stringify(v);
7998
- else if (_.isArray(v) && Jf(v) || (_.isFileList(v) || _.endsWith(b, "[]")) && (E = _.toArray(v)))
7999
- return b = bl(b), E.forEach(function(B, T) {
7992
+ return _.isArrayBuffer(f) || _.isTypedArray(f) ? c && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
7993
+ }
7994
+ function s(f, y, m) {
7995
+ let E = f;
7996
+ if (f && !m && typeof f == "object") {
7997
+ if (_.endsWith(y, "{}"))
7998
+ y = o ? y : y.slice(0, -2), f = JSON.stringify(f);
7999
+ else if (_.isArray(f) && Jf(f) || (_.isFileList(f) || _.endsWith(y, "[]")) && (E = _.toArray(f)))
8000
+ return y = bl(y), E.forEach(function(B, T) {
8000
8001
  !(_.isUndefined(B) || B === null) && t.append(
8001
8002
  // eslint-disable-next-line no-nested-ternary
8002
- l === !0 ? ai([b], T, i) : l === null ? b : b + "[]",
8003
+ l === !0 ? ai([y], T, i) : l === null ? y : y + "[]",
8003
8004
  u(B)
8004
8005
  );
8005
8006
  }), !1;
8006
8007
  }
8007
- return Vo(v) ? !0 : (t.append(ai(g, b, i), u(v)), !1);
8008
+ return Vo(f) ? !0 : (t.append(ai(m, y, i), u(f)), !1);
8008
8009
  }
8009
- const d = [], p = Object.assign(e1, {
8010
+ const d = [], g = Object.assign(e1, {
8010
8011
  defaultVisitor: s,
8011
8012
  convertValue: u,
8012
8013
  isVisitable: Vo
8013
8014
  });
8014
- function h(v, b) {
8015
- if (!_.isUndefined(v)) {
8016
- if (d.indexOf(v) !== -1)
8017
- throw Error("Circular reference detected in " + b.join("."));
8018
- d.push(v), _.forEach(v, function(E, w) {
8015
+ function p(f, y) {
8016
+ if (!_.isUndefined(f)) {
8017
+ if (d.indexOf(f) !== -1)
8018
+ throw Error("Circular reference detected in " + y.join("."));
8019
+ d.push(f), _.forEach(f, function(E, w) {
8019
8020
  (!(_.isUndefined(E) || E === null) && r.call(
8020
8021
  t,
8021
8022
  E,
8022
8023
  _.isString(w) ? w.trim() : w,
8023
- b,
8024
- p
8025
- )) === !0 && h(E, b ? b.concat(w) : [w]);
8024
+ y,
8025
+ g
8026
+ )) === !0 && p(E, y ? y.concat(w) : [w]);
8026
8027
  }), d.pop();
8027
8028
  }
8028
8029
  }
8029
8030
  if (!_.isObject(e))
8030
8031
  throw new TypeError("data must be an object");
8031
- return h(e), t;
8032
+ return p(e), t;
8032
8033
  }
8033
8034
  function si(e) {
8034
8035
  const t = {
@@ -8494,13 +8495,13 @@ function k1(e, t) {
8494
8495
  return t = t !== void 0 ? t : 1e3, function(c) {
8495
8496
  const u = Date.now(), s = o[i];
8496
8497
  l || (l = u), n[r] = c, o[r] = u;
8497
- let d = i, p = 0;
8498
+ let d = i, g = 0;
8498
8499
  for (; d !== r; )
8499
- p += n[d++], d = d % e;
8500
+ g += n[d++], d = d % e;
8500
8501
  if (r = (r + 1) % e, r === i && (i = (i + 1) % e), u - l < t)
8501
8502
  return;
8502
- const h = s && u - s;
8503
- return h ? Math.round(p * 1e3 / h) : void 0;
8503
+ const p = s && u - s;
8504
+ return p ? Math.round(g * 1e3 / p) : void 0;
8504
8505
  };
8505
8506
  }
8506
8507
  function C1(e, t) {
@@ -8669,8 +8670,8 @@ function Bt(e, t) {
8669
8670
  headers: (u, s) => r(hi(u), hi(s), !0)
8670
8671
  };
8671
8672
  return _.forEach(Object.keys(Object.assign({}, e, t)), function(s) {
8672
- const d = c[s] || r, p = d(e[s], t[s], s);
8673
- _.isUndefined(p) && d !== a || (n[s] = p);
8673
+ const d = c[s] || r, g = d(e[s], t[s], s);
8674
+ _.isUndefined(g) && d !== a || (n[s] = g);
8674
8675
  }), n;
8675
8676
  }
8676
8677
  const Bl = (e) => {
@@ -8699,57 +8700,57 @@ const Bl = (e) => {
8699
8700
  const r = Bl(e);
8700
8701
  let i = r.data;
8701
8702
  const l = Oe.from(r.headers).normalize();
8702
- let { responseType: a, onUploadProgress: c, onDownloadProgress: u } = r, s, d, p, h, v;
8703
- function b() {
8704
- h && h(), v && v(), r.cancelToken && r.cancelToken.unsubscribe(s), r.signal && r.signal.removeEventListener("abort", s);
8703
+ let { responseType: a, onUploadProgress: c, onDownloadProgress: u } = r, s, d, g, p, f;
8704
+ function y() {
8705
+ p && p(), f && f(), r.cancelToken && r.cancelToken.unsubscribe(s), r.signal && r.signal.removeEventListener("abort", s);
8705
8706
  }
8706
- let g = new XMLHttpRequest();
8707
- g.open(r.method.toUpperCase(), r.url, !0), g.timeout = r.timeout;
8707
+ let m = new XMLHttpRequest();
8708
+ m.open(r.method.toUpperCase(), r.url, !0), m.timeout = r.timeout;
8708
8709
  function E() {
8709
- if (!g)
8710
+ if (!m)
8710
8711
  return;
8711
8712
  const B = Oe.from(
8712
- "getAllResponseHeaders" in g && g.getAllResponseHeaders()
8713
+ "getAllResponseHeaders" in m && m.getAllResponseHeaders()
8713
8714
  ), M = {
8714
- data: !a || a === "text" || a === "json" ? g.responseText : g.response,
8715
- status: g.status,
8716
- statusText: g.statusText,
8715
+ data: !a || a === "text" || a === "json" ? m.responseText : m.response,
8716
+ status: m.status,
8717
+ statusText: m.statusText,
8717
8718
  headers: B,
8718
8719
  config: e,
8719
- request: g
8720
+ request: m
8720
8721
  };
8721
8722
  xl(function(R) {
8722
- n(R), b();
8723
+ n(R), y();
8723
8724
  }, function(R) {
8724
- o(R), b();
8725
- }, M), g = null;
8726
- }
8727
- "onloadend" in g ? g.onloadend = E : g.onreadystatechange = function() {
8728
- !g || g.readyState !== 4 || g.status === 0 && !(g.responseURL && g.responseURL.indexOf("file:") === 0) || setTimeout(E);
8729
- }, g.onabort = function() {
8730
- g && (o(new ne("Request aborted", ne.ECONNABORTED, e, g)), g = null);
8731
- }, g.onerror = function() {
8732
- o(new ne("Network Error", ne.ERR_NETWORK, e, g)), g = null;
8733
- }, g.ontimeout = function() {
8725
+ o(R), y();
8726
+ }, M), m = null;
8727
+ }
8728
+ "onloadend" in m ? m.onloadend = E : m.onreadystatechange = function() {
8729
+ !m || m.readyState !== 4 || m.status === 0 && !(m.responseURL && m.responseURL.indexOf("file:") === 0) || setTimeout(E);
8730
+ }, m.onabort = function() {
8731
+ m && (o(new ne("Request aborted", ne.ECONNABORTED, e, m)), m = null);
8732
+ }, m.onerror = function() {
8733
+ o(new ne("Network Error", ne.ERR_NETWORK, e, m)), m = null;
8734
+ }, m.ontimeout = function() {
8734
8735
  let T = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
8735
8736
  const M = r.transitional || Cl;
8736
8737
  r.timeoutErrorMessage && (T = r.timeoutErrorMessage), o(new ne(
8737
8738
  T,
8738
8739
  M.clarifyTimeoutError ? ne.ETIMEDOUT : ne.ECONNABORTED,
8739
8740
  e,
8740
- g
8741
- )), g = null;
8742
- }, i === void 0 && l.setContentType(null), "setRequestHeader" in g && _.forEach(l.toJSON(), function(T, M) {
8743
- g.setRequestHeader(M, T);
8744
- }), _.isUndefined(r.withCredentials) || (g.withCredentials = !!r.withCredentials), a && a !== "json" && (g.responseType = r.responseType), u && ([p, v] = An(u, !0), g.addEventListener("progress", p)), c && g.upload && ([d, h] = An(c), g.upload.addEventListener("progress", d), g.upload.addEventListener("loadend", h)), (r.cancelToken || r.signal) && (s = (B) => {
8745
- g && (o(!B || B.type ? new Dt(null, e, g) : B), g.abort(), g = null);
8741
+ m
8742
+ )), m = null;
8743
+ }, i === void 0 && l.setContentType(null), "setRequestHeader" in m && _.forEach(l.toJSON(), function(T, M) {
8744
+ m.setRequestHeader(M, T);
8745
+ }), _.isUndefined(r.withCredentials) || (m.withCredentials = !!r.withCredentials), a && a !== "json" && (m.responseType = r.responseType), u && ([g, f] = An(u, !0), m.addEventListener("progress", g)), c && m.upload && ([d, p] = An(c), m.upload.addEventListener("progress", d), m.upload.addEventListener("loadend", p)), (r.cancelToken || r.signal) && (s = (B) => {
8746
+ m && (o(!B || B.type ? new Dt(null, e, m) : B), m.abort(), m = null);
8746
8747
  }, r.cancelToken && r.cancelToken.subscribe(s), r.signal && (r.signal.aborted ? s() : r.signal.addEventListener("abort", s)));
8747
8748
  const w = w1(r.url);
8748
8749
  if (w && Ve.protocols.indexOf(w) === -1) {
8749
8750
  o(new ne("Unsupported protocol " + w + ":", ne.ERR_BAD_REQUEST, e));
8750
8751
  return;
8751
8752
  }
8752
- g.send(i || null);
8753
+ m.send(i || null);
8753
8754
  });
8754
8755
  }, M1 = (e, t) => {
8755
8756
  const { length: n } = e = e ? e.filter(Boolean) : [];
@@ -8817,8 +8818,8 @@ const Bl = (e) => {
8817
8818
  }
8818
8819
  let d = s.byteLength;
8819
8820
  if (n) {
8820
- let p = i += d;
8821
- n(p);
8821
+ let g = i += d;
8822
+ n(g);
8822
8823
  }
8823
8824
  c.enqueue(new Uint8Array(s));
8824
8825
  } catch (u) {
@@ -8887,16 +8888,16 @@ const V1 = async (e) => {
8887
8888
  responseType: u,
8888
8889
  headers: s,
8889
8890
  withCredentials: d = "same-origin",
8890
- fetchOptions: p
8891
+ fetchOptions: g
8891
8892
  } = Bl(e);
8892
8893
  u = u ? (u + "").toLowerCase() : "text";
8893
- let h = M1([r, i && i.toAbortSignal()], l), v;
8894
- const b = h && h.unsubscribe && (() => {
8895
- h.unsubscribe();
8894
+ let p = M1([r, i && i.toAbortSignal()], l), f;
8895
+ const y = p && p.unsubscribe && (() => {
8896
+ p.unsubscribe();
8896
8897
  });
8897
- let g;
8898
+ let m;
8898
8899
  try {
8899
- if (c && A1 && n !== "get" && n !== "head" && (g = await O1(s, o)) !== 0) {
8900
+ if (c && A1 && n !== "get" && n !== "head" && (m = await O1(s, o)) !== 0) {
8900
8901
  let M = new Request(t, {
8901
8902
  method: "POST",
8902
8903
  body: o,
@@ -8904,7 +8905,7 @@ const V1 = async (e) => {
8904
8905
  }), $;
8905
8906
  if (_.isFormData(o) && ($ = M.headers.get("content-type")) && s.setContentType($), M.body) {
8906
8907
  const [R, D] = di(
8907
- g,
8908
+ m,
8908
8909
  An(fi(c))
8909
8910
  );
8910
8911
  o = vi(M.body, mi, R, D);
@@ -8912,18 +8913,18 @@ const V1 = async (e) => {
8912
8913
  }
8913
8914
  _.isString(d) || (d = d ? "include" : "omit");
8914
8915
  const E = "credentials" in Request.prototype;
8915
- v = new Request(t, {
8916
- ...p,
8917
- signal: h,
8916
+ f = new Request(t, {
8917
+ ...g,
8918
+ signal: p,
8918
8919
  method: n.toUpperCase(),
8919
8920
  headers: s.normalize().toJSON(),
8920
8921
  body: o,
8921
8922
  duplex: "half",
8922
8923
  credentials: E ? d : void 0
8923
8924
  });
8924
- let w = await fetch(v);
8925
+ let w = await fetch(f);
8925
8926
  const B = Po && (u === "stream" || u === "response");
8926
- if (Po && (a || B && b)) {
8927
+ if (Po && (a || B && y)) {
8927
8928
  const M = {};
8928
8929
  ["status", "statusText", "headers"].forEach((x) => {
8929
8930
  M[x] = w[x];
@@ -8934,30 +8935,30 @@ const V1 = async (e) => {
8934
8935
  ) || [];
8935
8936
  w = new Response(
8936
8937
  vi(w.body, mi, R, () => {
8937
- D && D(), b && b();
8938
+ D && D(), y && y();
8938
8939
  }),
8939
8940
  M
8940
8941
  );
8941
8942
  }
8942
8943
  u = u || "text";
8943
8944
  let T = await Vn[_.findKey(Vn, u) || "text"](w, e);
8944
- return !B && b && b(), await new Promise((M, $) => {
8945
+ return !B && y && y(), await new Promise((M, $) => {
8945
8946
  xl(M, $, {
8946
8947
  data: T,
8947
8948
  headers: Oe.from(w.headers),
8948
8949
  status: w.status,
8949
8950
  statusText: w.statusText,
8950
8951
  config: e,
8951
- request: v
8952
+ request: f
8952
8953
  });
8953
8954
  });
8954
8955
  } catch (E) {
8955
- throw b && b(), E && E.name === "TypeError" && /fetch/i.test(E.message) ? Object.assign(
8956
- new ne("Network Error", ne.ERR_NETWORK, e, v),
8956
+ throw y && y(), E && E.name === "TypeError" && /fetch/i.test(E.message) ? Object.assign(
8957
+ new ne("Network Error", ne.ERR_NETWORK, e, f),
8957
8958
  {
8958
8959
  cause: E.cause || E
8959
8960
  }
8960
- ) : ne.from(E, E && E.code, e, v);
8961
+ ) : ne.from(E, E && E.code, e, f);
8961
8962
  }
8962
8963
  }), jo = {
8963
8964
  http: Gf,
@@ -9123,43 +9124,43 @@ class Ct {
9123
9124
  );
9124
9125
  i && _.forEach(
9125
9126
  ["delete", "get", "head", "post", "put", "patch", "common"],
9126
- (v) => {
9127
- delete i[v];
9127
+ (f) => {
9128
+ delete i[f];
9128
9129
  }
9129
9130
  ), n.headers = Oe.concat(l, i);
9130
9131
  const a = [];
9131
9132
  let c = !0;
9132
- this.interceptors.request.forEach(function(b) {
9133
- typeof b.runWhen == "function" && b.runWhen(n) === !1 || (c = c && b.synchronous, a.unshift(b.fulfilled, b.rejected));
9133
+ this.interceptors.request.forEach(function(y) {
9134
+ typeof y.runWhen == "function" && y.runWhen(n) === !1 || (c = c && y.synchronous, a.unshift(y.fulfilled, y.rejected));
9134
9135
  });
9135
9136
  const u = [];
9136
- this.interceptors.response.forEach(function(b) {
9137
- u.push(b.fulfilled, b.rejected);
9137
+ this.interceptors.response.forEach(function(y) {
9138
+ u.push(y.fulfilled, y.rejected);
9138
9139
  });
9139
- let s, d = 0, p;
9140
+ let s, d = 0, g;
9140
9141
  if (!c) {
9141
- const v = [gi.bind(this), void 0];
9142
- for (v.unshift.apply(v, a), v.push.apply(v, u), p = v.length, s = Promise.resolve(n); d < p; )
9143
- s = s.then(v[d++], v[d++]);
9142
+ const f = [gi.bind(this), void 0];
9143
+ for (f.unshift.apply(f, a), f.push.apply(f, u), g = f.length, s = Promise.resolve(n); d < g; )
9144
+ s = s.then(f[d++], f[d++]);
9144
9145
  return s;
9145
9146
  }
9146
- p = a.length;
9147
- let h = n;
9148
- for (d = 0; d < p; ) {
9149
- const v = a[d++], b = a[d++];
9147
+ g = a.length;
9148
+ let p = n;
9149
+ for (d = 0; d < g; ) {
9150
+ const f = a[d++], y = a[d++];
9150
9151
  try {
9151
- h = v(h);
9152
- } catch (g) {
9153
- b.call(this, g);
9152
+ p = f(p);
9153
+ } catch (m) {
9154
+ y.call(this, m);
9154
9155
  break;
9155
9156
  }
9156
9157
  }
9157
9158
  try {
9158
- s = gi.call(this, h);
9159
- } catch (v) {
9160
- return Promise.reject(v);
9159
+ s = gi.call(this, p);
9160
+ } catch (f) {
9161
+ return Promise.reject(f);
9161
9162
  }
9162
- for (d = 0, p = u.length; d < p; )
9163
+ for (d = 0, g = u.length; d < g; )
9163
9164
  s = s.then(u[d++], u[d++]);
9164
9165
  return s;
9165
9166
  }