@selfeesas/shared-components 0.2.5 → 0.2.6

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,4 +1,4 @@
1
- import { computed as d, markRaw as Bn, defineComponent as $t, h as g, withDirectives as zt, getCurrentInstance as te, useAttrs as Io, createBlock as Et, openBlock as _e, mergeProps as nl, withCtx as Ae, createElementBlock as Bt, Fragment as Vn, renderList as Tn, createVNode as Oe, unref as Ho, ref as V, onBeforeUnmount as de, Transition as ft, inject as ol, createCommentVNode as Do, toRaw as Ye, reactive as jo, onMounted as Ce, nextTick as fe, watch as X, onDeactivated as ht, onActivated as hl, onUnmounted as No, Teleport as Wo, onBeforeUpdate as An, onBeforeMount as Ko, onUpdated as Qo, normalizeStyle as Uo, normalizeClass as Xo } from "vue";
1
+ import { computed as f, markRaw as Bn, defineComponent as gt, h as g, withDirectives as Vt, getCurrentInstance as te, useAttrs as Ho, createBlock as ft, openBlock as Ce, mergeProps as Bt, withCtx as _e, createElementBlock as Tt, Fragment as Tn, renderList as An, createVNode as ze, unref as Do, ref as V, onBeforeUnmount as de, Transition as vt, inject as ol, createCommentVNode as jo, toRaw as Ye, reactive as No, onMounted as qe, nextTick as fe, watch as Q, onDeactivated as bt, onActivated as hl, onUnmounted as Wo, Teleport as Ko, onBeforeUpdate as On, onBeforeMount as Qo, onUpdated as Uo, normalizeStyle as Xo, normalizeClass as Yo, createSlots as Go } from "vue";
2
2
  const il = {
3
3
  xs: 18,
4
4
  sm: 24,
@@ -8,8 +8,8 @@ const il = {
8
8
  }, Mt = {
9
9
  size: String
10
10
  };
11
- function Lt(e, t = il) {
12
- return d(() => e.size !== void 0 ? { fontSize: e.size in t ? `${t[e.size]}px` : e.size } : null);
11
+ function Pt(e, t = il) {
12
+ return f(() => e.size !== void 0 ? { fontSize: e.size in t ? `${t[e.size]}px` : e.size } : null);
13
13
  }
14
14
  function gl(e, t, l, o) {
15
15
  return Object.defineProperty(e, t, {
@@ -19,15 +19,15 @@ function gl(e, t, l, o) {
19
19
  }), e;
20
20
  }
21
21
  function re(e) {
22
- return Bn($t(e));
22
+ return Bn(gt(e));
23
23
  }
24
- function On(e) {
24
+ function $n(e) {
25
25
  return Bn(e);
26
26
  }
27
27
  function ge(e, t) {
28
28
  return e !== void 0 && e() || t;
29
29
  }
30
- function Yo(e, t) {
30
+ function Zo(e, t) {
31
31
  if (e !== void 0) {
32
32
  const l = e();
33
33
  if (l != null)
@@ -38,37 +38,37 @@ function Yo(e, t) {
38
38
  function ke(e, t) {
39
39
  return e !== void 0 ? t.concat(e()) : t;
40
40
  }
41
- function Go(e, t) {
41
+ function Jo(e, t) {
42
42
  return e === void 0 ? t : t !== void 0 ? t.concat(e()) : e();
43
43
  }
44
- function Zo(e, t, l, o, n, i) {
44
+ function ei(e, t, l, o, n, i) {
45
45
  t.key = o + n;
46
46
  const r = g(e, t, l);
47
- return n === !0 ? zt(r, i()) : r;
47
+ return n === !0 ? Vt(r, i()) : r;
48
48
  }
49
- const Rl = "0 0 24 24", Dt = (e) => e, jt = (e) => `ionicons ${e}`, $n = {
49
+ const Fl = "0 0 24 24", jt = (e) => e, Nt = (e) => `ionicons ${e}`, Ln = {
50
50
  "mdi-": (e) => `mdi ${e}`,
51
- "icon-": Dt,
51
+ "icon-": jt,
52
52
  // fontawesome equiv
53
53
  "bt-": (e) => `bt ${e}`,
54
54
  "eva-": (e) => `eva ${e}`,
55
- "ion-md": jt,
56
- "ion-ios": jt,
57
- "ion-logo": jt,
58
- "iconfont ": Dt,
55
+ "ion-md": Nt,
56
+ "ion-ios": Nt,
57
+ "ion-logo": Nt,
58
+ "iconfont ": jt,
59
59
  "ti-": (e) => `themify-icon ${e}`,
60
60
  "bi-": (e) => `bootstrap-icons ${e}`,
61
- "i-": Dt
61
+ "i-": jt
62
62
  // UnoCSS pure icons
63
63
  }, Mn = {
64
64
  o_: "-outlined",
65
65
  r_: "-round",
66
66
  s_: "-sharp"
67
- }, Ln = {
67
+ }, Pn = {
68
68
  sym_o_: "-outlined",
69
69
  sym_r_: "-rounded",
70
70
  sym_s_: "-sharp"
71
- }, Jo = new RegExp("^(" + Object.keys($n).join("|") + ")"), ei = new RegExp("^(" + Object.keys(Mn).join("|") + ")"), Fl = new RegExp("^(" + Object.keys(Ln).join("|") + ")"), ti = /^[Mm]\s?[-+]?\.?\d/, li = /^img:/, ni = /^svguse:/, oi = /^ion-/, ii = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, be = re({
71
+ }, ti = new RegExp("^(" + Object.keys(Ln).join("|") + ")"), li = new RegExp("^(" + Object.keys(Mn).join("|") + ")"), Il = new RegExp("^(" + Object.keys(Pn).join("|") + ")"), ni = /^[Mm]\s?[-+]?\.?\d/, oi = /^img:/, ii = /^svguse:/, ri = /^ion-/, ai = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, be = re({
72
72
  name: "QIcon",
73
73
  props: {
74
74
  ...Mt,
@@ -82,9 +82,9 @@ const Rl = "0 0 24 24", Dt = (e) => e, jt = (e) => `ionicons ${e}`, $n = {
82
82
  right: Boolean
83
83
  },
84
84
  setup(e, { slots: t }) {
85
- const { proxy: { $q: l } } = te(), o = Lt(e), n = d(
85
+ const { proxy: { $q: l } } = te(), o = Pt(e), n = f(
86
86
  () => "q-icon" + (e.left === !0 ? " on-left" : "") + (e.right === !0 ? " on-right" : "") + (e.color !== void 0 ? ` text-${e.color}` : "")
87
- ), i = d(() => {
87
+ ), i = f(() => {
88
88
  let r, a = e.name;
89
89
  if (a === "none" || !a)
90
90
  return { none: !0 };
@@ -100,24 +100,24 @@ const Rl = "0 0 24 24", Dt = (e) => e, jt = (e) => `ionicons ${e}`, $n = {
100
100
  content: c.content !== void 0 ? c.content : " "
101
101
  };
102
102
  }
103
- if (ti.test(a) === !0) {
104
- const [c, b = Rl] = a.split("|");
103
+ if (ni.test(a) === !0) {
104
+ const [c, b = Fl] = a.split("|");
105
105
  return {
106
106
  svg: !0,
107
107
  viewBox: b,
108
108
  nodes: c.split("&&").map((m) => {
109
- const [f, y, E] = m.split("@@");
110
- return g("path", { style: y, d: f, transform: E });
109
+ const [v, y, E] = m.split("@@");
110
+ return g("path", { style: y, d: v, transform: E });
111
111
  })
112
112
  };
113
113
  }
114
- if (li.test(a) === !0)
114
+ if (oi.test(a) === !0)
115
115
  return {
116
116
  img: !0,
117
117
  src: a.substring(4)
118
118
  };
119
- if (ni.test(a) === !0) {
120
- const [c, b = Rl] = a.split("|");
119
+ if (ii.test(a) === !0) {
120
+ const [c, b = Fl] = a.split("|");
121
121
  return {
122
122
  svguse: !0,
123
123
  src: c.substring(7),
@@ -125,20 +125,20 @@ const Rl = "0 0 24 24", Dt = (e) => e, jt = (e) => `ionicons ${e}`, $n = {
125
125
  };
126
126
  }
127
127
  let s = " ";
128
- const v = a.match(Jo);
129
- if (v !== null)
130
- r = $n[v[1]](a);
131
- else if (ii.test(a) === !0)
128
+ const d = a.match(ti);
129
+ if (d !== null)
130
+ r = Ln[d[1]](a);
131
+ else if (ai.test(a) === !0)
132
132
  r = a;
133
- else if (oi.test(a) === !0)
133
+ else if (ri.test(a) === !0)
134
134
  r = `ionicons ion-${l.platform.is.ios === !0 ? "ios" : "md"}${a.substring(3)}`;
135
- else if (Fl.test(a) === !0) {
135
+ else if (Il.test(a) === !0) {
136
136
  r = "notranslate material-symbols";
137
- const c = a.match(Fl);
138
- c !== null && (a = a.substring(6), r += Ln[c[1]]), s = a;
137
+ const c = a.match(Il);
138
+ c !== null && (a = a.substring(6), r += Pn[c[1]]), s = a;
139
139
  } else {
140
140
  r = "notranslate material-icons";
141
- const c = a.match(ei);
141
+ const c = a.match(li);
142
142
  c !== null && (a = a.substring(2), r += Mn[c[1]]), s = a;
143
143
  }
144
144
  return {
@@ -170,7 +170,7 @@ const Rl = "0 0 24 24", Dt = (e) => e, jt = (e) => `ionicons ${e}`, $n = {
170
170
  };
171
171
  }
172
172
  });
173
- function Nt(e) {
173
+ function Wt(e) {
174
174
  if (Object(e.$parent) === e.$parent)
175
175
  return e.$parent;
176
176
  let { parent: t } = e.$;
@@ -180,30 +180,30 @@ function Nt(e) {
180
180
  t = t.parent;
181
181
  }
182
182
  }
183
- function Pn(e, t) {
183
+ function Rn(e, t) {
184
184
  typeof t.type == "symbol" ? Array.isArray(t.children) === !0 && t.children.forEach((l) => {
185
- Pn(e, l);
185
+ Rn(e, l);
186
186
  }) : e.add(t);
187
187
  }
188
- function ri(e) {
188
+ function ui(e) {
189
189
  const t = /* @__PURE__ */ new Set();
190
190
  return e.forEach((l) => {
191
- Pn(t, l);
191
+ Rn(t, l);
192
192
  }), Array.from(t);
193
193
  }
194
- function Rn(e) {
194
+ function Fn(e) {
195
195
  return e.appContext.config.globalProperties.$router !== void 0;
196
196
  }
197
- function Fn(e) {
197
+ function In(e) {
198
198
  return e.isUnmounted === !0 || e.isDeactivated === !0;
199
199
  }
200
- function Il(e) {
200
+ function Hl(e) {
201
201
  return e ? e.aliasOf ? e.aliasOf.path : e.path : "";
202
202
  }
203
- function Hl(e, t) {
203
+ function Dl(e, t) {
204
204
  return (e.aliasOf || e) === (t.aliasOf || t);
205
205
  }
206
- function ai(e, t) {
206
+ function si(e, t) {
207
207
  for (const l in t) {
208
208
  const o = t[l], n = e[l];
209
209
  if (typeof o == "string") {
@@ -214,21 +214,21 @@ function ai(e, t) {
214
214
  }
215
215
  return !0;
216
216
  }
217
- function Dl(e, t) {
217
+ function jl(e, t) {
218
218
  return Array.isArray(t) === !0 ? e.length === t.length && e.every((l, o) => l === t[o]) : e.length === 1 && e[0] === t;
219
219
  }
220
- function ui(e, t) {
221
- return Array.isArray(e) === !0 ? Dl(e, t) : Array.isArray(t) === !0 ? Dl(t, e) : e === t;
220
+ function ci(e, t) {
221
+ return Array.isArray(e) === !0 ? jl(e, t) : Array.isArray(t) === !0 ? jl(t, e) : e === t;
222
222
  }
223
- function si(e, t) {
223
+ function di(e, t) {
224
224
  if (Object.keys(e).length !== Object.keys(t).length)
225
225
  return !1;
226
226
  for (const l in e)
227
- if (ui(e[l], t[l]) === !1)
227
+ if (ci(e[l], t[l]) === !1)
228
228
  return !1;
229
229
  return !0;
230
230
  }
231
- const In = {
231
+ const Hn = {
232
232
  // router-link
233
233
  to: [String, Object],
234
234
  replace: Boolean,
@@ -237,8 +237,8 @@ const In = {
237
237
  target: String,
238
238
  // state
239
239
  disable: Boolean
240
- }, Hn = {
241
- ...In,
240
+ }, Dn = {
241
+ ...Hn,
242
242
  // router-link
243
243
  exact: Boolean,
244
244
  activeClass: {
@@ -251,42 +251,42 @@ const In = {
251
251
  }
252
252
  };
253
253
  function bl({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
254
- const l = te(), { props: o, proxy: n, emit: i } = l, r = Rn(l), a = d(() => o.disable !== !0 && o.href !== void 0), s = t === !0 ? d(
254
+ const l = te(), { props: o, proxy: n, emit: i } = l, r = Fn(l), a = f(() => o.disable !== !0 && o.href !== void 0), s = t === !0 ? f(
255
255
  () => r === !0 && o.disable !== !0 && a.value !== !0 && o.to !== void 0 && o.to !== null && o.to !== ""
256
- ) : d(
256
+ ) : f(
257
257
  () => r === !0 && a.value !== !0 && o.to !== void 0 && o.to !== null && o.to !== ""
258
- ), v = d(() => s.value === !0 ? B(o.to) : null), c = d(() => v.value !== null), b = d(() => a.value === !0 || c.value === !0), m = d(() => o.type === "a" || b.value === !0 ? "a" : o.tag || e || "div"), f = d(() => a.value === !0 ? {
258
+ ), d = f(() => s.value === !0 ? B(o.to) : null), c = f(() => d.value !== null), b = f(() => a.value === !0 || c.value === !0), m = f(() => o.type === "a" || b.value === !0 ? "a" : o.tag || e || "div"), v = f(() => a.value === !0 ? {
259
259
  href: o.href,
260
260
  target: o.target
261
261
  } : c.value === !0 ? {
262
- href: v.value.href,
262
+ href: d.value.href,
263
263
  target: o.target
264
- } : {}), y = d(() => {
264
+ } : {}), y = f(() => {
265
265
  if (c.value === !1)
266
266
  return -1;
267
- const { matched: T } = v.value, { length: A } = T, M = T[A - 1];
268
- if (M === void 0)
267
+ const { matched: T } = d.value, { length: A } = T, L = T[A - 1];
268
+ if (L === void 0)
269
269
  return -1;
270
270
  const F = n.$route.matched;
271
271
  if (F.length === 0)
272
272
  return -1;
273
273
  const W = F.findIndex(
274
- Hl.bind(null, M)
274
+ Dl.bind(null, L)
275
275
  );
276
276
  if (W !== -1)
277
277
  return W;
278
- const Y = Il(T[A - 2]);
278
+ const Y = Hl(T[A - 2]);
279
279
  return (
280
280
  // we are dealing with nested routes
281
- A > 1 && Il(M) === Y && F[F.length - 1].path !== Y ? F.findIndex(
282
- Hl.bind(null, T[A - 2])
281
+ A > 1 && Hl(L) === Y && F[F.length - 1].path !== Y ? F.findIndex(
282
+ Dl.bind(null, T[A - 2])
283
283
  ) : W
284
284
  );
285
- }), E = d(
286
- () => c.value === !0 && y.value !== -1 && ai(n.$route.params, v.value.params)
287
- ), S = d(
288
- () => E.value === !0 && y.value === n.$route.matched.length - 1 && si(n.$route.params, v.value.params)
289
- ), L = d(() => c.value === !0 ? S.value === !0 ? ` ${o.exactActiveClass} ${o.activeClass}` : o.exact === !0 ? "" : E.value === !0 ? ` ${o.activeClass}` : "" : "");
285
+ }), E = f(
286
+ () => c.value === !0 && y.value !== -1 && si(n.$route.params, d.value.params)
287
+ ), S = f(
288
+ () => E.value === !0 && y.value === n.$route.matched.length - 1 && di(n.$route.params, d.value.params)
289
+ ), M = f(() => c.value === !0 ? S.value === !0 ? ` ${o.exactActiveClass} ${o.activeClass}` : o.exact === !0 ? "" : E.value === !0 ? ` ${o.activeClass}` : "" : "");
290
290
  function B(T) {
291
291
  try {
292
292
  return n.$router.resolve(T);
@@ -294,7 +294,7 @@ function bl({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
294
294
  }
295
295
  return null;
296
296
  }
297
- function q(T, { returnRouterError: A, to: M = o.to, replace: F = o.replace } = {}) {
297
+ function q(T, { returnRouterError: A, to: L = o.to, replace: F = o.replace } = {}) {
298
298
  if (o.disable === !0)
299
299
  return T.preventDefault(), Promise.resolve(!1);
300
300
  if (
@@ -304,14 +304,14 @@ function bl({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
304
304
  )
305
305
  return Promise.resolve(!1);
306
306
  T.preventDefault();
307
- const W = n.$router[F === !0 ? "replace" : "push"](M);
307
+ const W = n.$router[F === !0 ? "replace" : "push"](L);
308
308
  return A === !0 ? W : W.then(() => {
309
309
  }).catch(() => {
310
310
  });
311
311
  }
312
312
  function P(T) {
313
313
  if (c.value === !0) {
314
- const A = (M) => q(T, M);
314
+ const A = (L) => q(T, L);
315
315
  i("click", T, A), T.defaultPrevented !== !0 && A();
316
316
  } else
317
317
  i("click", T);
@@ -321,20 +321,20 @@ function bl({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
321
321
  hasHrefLink: a,
322
322
  hasLink: b,
323
323
  linkTag: m,
324
- resolvedLink: v,
324
+ resolvedLink: d,
325
325
  linkIsActive: E,
326
326
  linkIsExactActive: S,
327
- linkClass: L,
328
- linkAttrs: f,
327
+ linkClass: M,
328
+ linkAttrs: v,
329
329
  getLink: B,
330
330
  navigateToRouterLink: q,
331
331
  navigateOnClick: P
332
332
  };
333
333
  }
334
- const ci = re({
334
+ const fi = re({
335
335
  name: "QBreadcrumbsEl",
336
336
  props: {
337
- ...Hn,
337
+ ...Dn,
338
338
  label: String,
339
339
  icon: String,
340
340
  tag: {
@@ -344,11 +344,11 @@ const ci = re({
344
344
  },
345
345
  emits: ["click"],
346
346
  setup(e, { slots: t }) {
347
- const { linkTag: l, linkAttrs: o, linkClass: n, navigateOnClick: i } = bl(), r = d(() => ({
347
+ const { linkTag: l, linkAttrs: o, linkClass: n, navigateOnClick: i } = bl(), r = f(() => ({
348
348
  class: "q-breadcrumbs__el q-link flex inline items-center relative-position " + (e.disable !== !0 ? "q-link--focusable" + n.value : "q-breadcrumbs__el--disable"),
349
349
  ...o.value,
350
350
  onClick: i
351
- })), a = d(
351
+ })), a = f(
352
352
  () => "q-breadcrumbs__el-icon" + (e.label !== void 0 ? " q-breadcrumbs__el-icon--with-label" : "")
353
353
  );
354
354
  return () => {
@@ -365,7 +365,7 @@ const ci = re({
365
365
  );
366
366
  };
367
367
  }
368
- }), Dn = {
368
+ }), jn = {
369
369
  left: "start",
370
370
  center: "center",
371
371
  right: "end",
@@ -373,22 +373,22 @@ const ci = re({
373
373
  around: "around",
374
374
  evenly: "evenly",
375
375
  stretch: "stretch"
376
- }, di = Object.keys(Dn), jn = {
376
+ }, vi = Object.keys(jn), Nn = {
377
377
  align: {
378
378
  type: String,
379
- validator: (e) => di.includes(e)
379
+ validator: (e) => vi.includes(e)
380
380
  }
381
381
  };
382
- function Nn(e) {
383
- return d(() => {
382
+ function Wn(e) {
383
+ return f(() => {
384
384
  const t = e.align === void 0 ? e.vertical === !0 ? "stretch" : "left" : e.align;
385
- return `${e.vertical === !0 ? "items" : "justify"}-${Dn[t]}`;
385
+ return `${e.vertical === !0 ? "items" : "justify"}-${jn[t]}`;
386
386
  });
387
387
  }
388
- const fi = ["", !0], vi = re({
388
+ const mi = ["", !0], hi = re({
389
389
  name: "QBreadcrumbs",
390
390
  props: {
391
- ...jn,
391
+ ...Nn,
392
392
  separator: {
393
393
  type: String,
394
394
  default: "/"
@@ -405,29 +405,29 @@ const fi = ["", !0], vi = re({
405
405
  }
406
406
  },
407
407
  setup(e, { slots: t }) {
408
- const l = Nn(e), o = d(
408
+ const l = Wn(e), o = f(
409
409
  () => `flex items-center ${l.value}${e.gutter === "none" ? "" : ` q-gutter-${e.gutter}`}`
410
- ), n = d(() => e.separatorColor ? ` text-${e.separatorColor}` : ""), i = d(() => ` text-${e.activeColor}`);
410
+ ), n = f(() => e.separatorColor ? ` text-${e.separatorColor}` : ""), i = f(() => ` text-${e.activeColor}`);
411
411
  return () => {
412
412
  if (t.default === void 0) return;
413
- const r = ri(
413
+ const r = ui(
414
414
  ge(t.default)
415
415
  );
416
416
  if (r.length === 0) return;
417
417
  let a = 1;
418
- const s = [], v = r.filter((b) => {
418
+ const s = [], d = r.filter((b) => {
419
419
  var m;
420
420
  return ((m = b.type) == null ? void 0 : m.name) === "QBreadcrumbsEl";
421
421
  }).length, c = t.separator !== void 0 ? t.separator : () => e.separator;
422
422
  return r.forEach((b) => {
423
423
  var m;
424
424
  if (((m = b.type) == null ? void 0 : m.name) === "QBreadcrumbsEl") {
425
- const f = a < v, y = b.props !== null && fi.includes(b.props.disable), E = (f === !0 ? "" : " q-breadcrumbs--last") + (y !== !0 && f === !0 ? i.value : "");
425
+ const v = a < d, y = b.props !== null && mi.includes(b.props.disable), E = (v === !0 ? "" : " q-breadcrumbs--last") + (y !== !0 && v === !0 ? i.value : "");
426
426
  a++, s.push(
427
427
  g("div", {
428
428
  class: `flex items-center${E}`
429
429
  }, [b])
430
- ), f === !0 && s.push(
430
+ ), v === !0 && s.push(
431
431
  g("div", {
432
432
  class: "q-breadcrumbs__separator" + n.value
433
433
  }, c())
@@ -441,7 +441,7 @@ const fi = ["", !0], vi = re({
441
441
  ]);
442
442
  };
443
443
  }
444
- }), ra = /* @__PURE__ */ $t({
444
+ }), aa = /* @__PURE__ */ gt({
445
445
  inheritAttrs: !1,
446
446
  __name: "Breadcrumbs",
447
447
  props: {
@@ -459,52 +459,52 @@ const fi = ["", !0], vi = re({
459
459
  align: {}
460
460
  },
461
461
  setup(e) {
462
- const t = e, l = Io(), o = d(() => {
463
- const { activeColor: m, separatorIcon: f, separatorSize: y, separatorColor: E, ...S } = l;
462
+ const t = e, l = Ho(), o = f(() => {
463
+ const { activeColor: m, separatorIcon: v, separatorSize: y, separatorColor: E, ...S } = l;
464
464
  return S;
465
465
  }), n = (m) => ({
466
466
  "data-cy": m.dataCy,
467
467
  class: "cursor-pointer text-h5",
468
468
  color: m.color
469
- }), i = d(() => t.activeColor || "primary"), r = d(() => t.separatorIcon || "chevron_right"), a = d(() => t.separatorSize || "2em"), s = d(() => t.separatorColor || "primary"), v = d(() => ({
469
+ }), i = f(() => t.activeColor || "primary"), r = f(() => t.separatorIcon || "chevron_right"), a = f(() => t.separatorSize || "2em"), s = f(() => t.separatorColor || "primary"), d = f(() => ({
470
470
  store: t.store,
471
471
  route: t.route,
472
472
  navStore: t.navStore || {}
473
- })), c = d(() => {
473
+ })), c = f(() => {
474
474
  const m = [];
475
- return t.breadcrumbConfig.forEach((f) => {
476
- if (!f.shouldRender(v.value))
475
+ return t.breadcrumbConfig.forEach((v) => {
476
+ if (!v.shouldRender(d.value))
477
477
  return;
478
- const y = f.getLabel ? f.getLabel(v.value) : f.defaultLabel, E = f.getColor ? f.getColor(v.value) : "dark", S = {
479
- name: f.routeName,
480
- ...f.getRouteParams && {
481
- params: f.getRouteParams(v.value)
478
+ const y = v.getLabel ? v.getLabel(d.value) : v.defaultLabel, E = v.getColor ? v.getColor(d.value) : "dark", S = {
479
+ name: v.routeName,
480
+ ...v.getRouteParams && {
481
+ params: v.getRouteParams(d.value)
482
482
  }
483
- }, L = f.clearActions ? f.clearActions.map((B) => () => B(v.value)) : [];
483
+ }, M = v.clearActions ? v.clearActions.map((B) => () => B(d.value)) : [];
484
484
  m.push({
485
485
  label: y,
486
- dataCy: f.dataCy,
486
+ dataCy: v.dataCy,
487
487
  color: E,
488
488
  route: S,
489
- clearActions: L
489
+ clearActions: M
490
490
  });
491
491
  }), m;
492
492
  }), b = (m) => {
493
- m.clearActions && m.clearActions.forEach((f) => f()), t.router.push(m.route);
493
+ m.clearActions && m.clearActions.forEach((v) => v()), t.router.push(m.route);
494
494
  };
495
- return (m, f) => (_e(), Et(vi, nl({
495
+ return (m, v) => (Ce(), ft(hi, Bt({
496
496
  "active-color": i.value,
497
497
  class: "text-brown"
498
498
  }, o.value), {
499
- separator: Ae(() => [
500
- Oe(be, {
499
+ separator: _e(() => [
500
+ ze(be, {
501
501
  size: a.value,
502
502
  name: r.value,
503
503
  color: s.value
504
504
  }, null, 8, ["size", "name", "color"])
505
505
  ]),
506
- default: Ae(() => [
507
- (_e(!0), Bt(Vn, null, Tn(c.value, (y, E) => (_e(), Et(ci, nl({ key: E }, { ref_for: !0 }, n(y), {
506
+ default: _e(() => [
507
+ (Ce(!0), Tt(Tn, null, An(c.value, (y, E) => (Ce(), ft(fi, Bt({ key: E }, { ref_for: !0 }, n(y), {
508
508
  label: y.label,
509
509
  onClick: (S) => b(y)
510
510
  }), null, 16, ["label", "onClick"]))), 128))
@@ -512,32 +512,32 @@ const fi = ["", !0], vi = re({
512
512
  _: 1
513
513
  }, 16, ["active-color"]));
514
514
  }
515
- }), mi = {
515
+ }), gi = {
516
516
  size: {
517
517
  type: [String, Number],
518
518
  default: "1em"
519
519
  },
520
520
  color: String
521
521
  };
522
- function hi(e) {
522
+ function bi(e) {
523
523
  return {
524
- cSize: d(() => e.size in il ? `${il[e.size]}px` : e.size),
525
- classes: d(
524
+ cSize: f(() => e.size in il ? `${il[e.size]}px` : e.size),
525
+ classes: f(
526
526
  () => "q-spinner" + (e.color ? ` text-${e.color}` : "")
527
527
  )
528
528
  };
529
529
  }
530
- const Wn = re({
530
+ const pl = re({
531
531
  name: "QSpinner",
532
532
  props: {
533
- ...mi,
533
+ ...gi,
534
534
  thickness: {
535
535
  type: Number,
536
536
  default: 5
537
537
  }
538
538
  },
539
539
  setup(e) {
540
- const { cSize: t, classes: l } = hi(e);
540
+ const { cSize: t, classes: l } = bi(e);
541
541
  return () => g("svg", {
542
542
  class: l.value + " q-spinner-mat",
543
543
  width: t.value,
@@ -562,7 +562,7 @@ function rl(e, t) {
562
562
  for (const o in t)
563
563
  l[o] = t[o];
564
564
  }
565
- function gi(e) {
565
+ function pi(e) {
566
566
  if (e == null)
567
567
  return;
568
568
  if (typeof e == "string")
@@ -571,7 +571,7 @@ function gi(e) {
571
571
  } catch {
572
572
  return;
573
573
  }
574
- const t = Ho(e);
574
+ const t = Do(e);
575
575
  if (t)
576
576
  return t.$el || t;
577
577
  }
@@ -603,18 +603,18 @@ try {
603
603
  window.addEventListener("qtest", null, e), window.removeEventListener("qtest", null, e);
604
604
  } catch {
605
605
  }
606
- function Pt() {
606
+ function Rt() {
607
607
  }
608
- function bi(e) {
608
+ function yi(e) {
609
609
  return e.button === 0;
610
610
  }
611
- function vt(e) {
611
+ function mt(e) {
612
612
  return e.touches && e.touches[0] ? e = e.touches[0] : e.changedTouches && e.changedTouches[0] ? e = e.changedTouches[0] : e.targetTouches && e.targetTouches[0] && (e = e.targetTouches[0]), {
613
613
  top: e.clientY,
614
614
  left: e.clientX
615
615
  };
616
616
  }
617
- function pi(e) {
617
+ function Si(e) {
618
618
  if (e.path)
619
619
  return e.path;
620
620
  if (e.composedPath)
@@ -636,7 +636,7 @@ function ve(e) {
636
636
  function ie(e) {
637
637
  e.cancelable !== !1 && e.preventDefault(), e.stopPropagation();
638
638
  }
639
- function Wt(e, t) {
639
+ function Kt(e, t) {
640
640
  if (e === void 0 || t === !0 && e.__dragPrevented === !0)
641
641
  return;
642
642
  const l = t === !0 ? (o) => {
@@ -664,7 +664,7 @@ function Qn(e) {
664
664
  function Fe(e, t) {
665
665
  return Qn(e) === !0 ? !1 : [].concat(t).includes(e.keyCode);
666
666
  }
667
- function yi(e, t = 250) {
667
+ function wi(e, t = 250) {
668
668
  let l = !1, o;
669
669
  return function() {
670
670
  return l === !1 && (l = !0, setTimeout(() => {
@@ -672,15 +672,15 @@ function yi(e, t = 250) {
672
672
  }, t), o = e.apply(this, arguments)), o;
673
673
  };
674
674
  }
675
- function jl(e, t, l, o) {
675
+ function Nl(e, t, l, o) {
676
676
  l.modifiers.stop === !0 && ye(e);
677
677
  const n = l.modifiers.color;
678
678
  let i = l.modifiers.center;
679
679
  i = i === !0 || o === !0;
680
- const r = document.createElement("span"), a = document.createElement("span"), s = vt(e), { left: v, top: c, width: b, height: m } = t.getBoundingClientRect(), f = Math.sqrt(b * b + m * m), y = f / 2, E = `${(b - f) / 2}px`, S = i ? E : `${s.left - v - y}px`, L = `${(m - f) / 2}px`, B = i ? L : `${s.top - c - y}px`;
680
+ const r = document.createElement("span"), a = document.createElement("span"), s = mt(e), { left: d, top: c, width: b, height: m } = t.getBoundingClientRect(), v = Math.sqrt(b * b + m * m), y = v / 2, E = `${(b - v) / 2}px`, S = i ? E : `${s.left - d - y}px`, M = `${(m - v) / 2}px`, B = i ? M : `${s.top - c - y}px`;
681
681
  a.className = "q-ripple__inner", rl(a, {
682
- height: `${f}px`,
683
- width: `${f}px`,
682
+ height: `${v}px`,
683
+ width: `${v}px`,
684
684
  transform: `translate3d(${S},${B},0) scale3d(.2,.2,1)`,
685
685
  opacity: 0
686
686
  }), r.className = `q-ripple${n ? " text-" + n : ""}`, r.setAttribute("dir", "ltr"), r.appendChild(a), t.appendChild(r);
@@ -689,14 +689,14 @@ function jl(e, t, l, o) {
689
689
  };
690
690
  l.abort.push(q);
691
691
  let P = setTimeout(() => {
692
- a.classList.add("q-ripple__inner--enter"), a.style.transform = `translate3d(${E},${L},0) scale3d(1,1,1)`, a.style.opacity = 0.2, P = setTimeout(() => {
692
+ a.classList.add("q-ripple__inner--enter"), a.style.transform = `translate3d(${E},${M},0) scale3d(1,1,1)`, a.style.opacity = 0.2, P = setTimeout(() => {
693
693
  a.classList.remove("q-ripple__inner--enter"), a.classList.add("q-ripple__inner--leave"), a.style.opacity = 0, P = setTimeout(() => {
694
694
  r.remove(), l.abort.splice(l.abort.indexOf(q), 1);
695
695
  }, 275);
696
696
  }, 250);
697
697
  }, 50);
698
698
  }
699
- function Nl(e, { modifiers: t, value: l, arg: o }) {
699
+ function Wl(e, { modifiers: t, value: l, arg: o }) {
700
700
  const n = Object.assign({}, e.cfg.ripple, t, l);
701
701
  e.modifiers = {
702
702
  early: n.early === !0,
@@ -706,7 +706,7 @@ function Nl(e, { modifiers: t, value: l, arg: o }) {
706
706
  keyCodes: [].concat(n.keyCodes || 13)
707
707
  };
708
708
  }
709
- const Un = On(
709
+ const Un = $n(
710
710
  {
711
711
  name: "ripple",
712
712
  beforeMount(e, t) {
@@ -718,13 +718,13 @@ const Un = On(
718
718
  modifiers: {},
719
719
  abort: [],
720
720
  start(n) {
721
- o.enabled === !0 && n.qSkipRipple !== !0 && n.type === (o.modifiers.early === !0 ? "pointerdown" : "click") && jl(n, e, o, n.qKeyEvent === !0);
721
+ o.enabled === !0 && n.qSkipRipple !== !0 && n.type === (o.modifiers.early === !0 ? "pointerdown" : "click") && Nl(n, e, o, n.qKeyEvent === !0);
722
722
  },
723
- keystart: yi((n) => {
724
- o.enabled === !0 && n.qSkipRipple !== !0 && Fe(n, o.modifiers.keyCodes) === !0 && n.type === `key${o.modifiers.early === !0 ? "down" : "up"}` && jl(n, e, o, !0);
723
+ keystart: wi((n) => {
724
+ o.enabled === !0 && n.qSkipRipple !== !0 && Fe(n, o.modifiers.keyCodes) === !0 && n.type === `key${o.modifiers.early === !0 ? "down" : "up"}` && Nl(n, e, o, !0);
725
725
  }, 300)
726
726
  };
727
- Nl(o, t), e.__qripple = o, $e(o, "main", [
727
+ Wl(o, t), e.__qripple = o, $e(o, "main", [
728
728
  [e, "pointerdown", "start", "passive"],
729
729
  [e, "click", "start", "passive"],
730
730
  [e, "keydown", "keystart", "passive"],
@@ -734,7 +734,7 @@ const Un = On(
734
734
  updated(e, t) {
735
735
  if (t.oldValue !== t.value) {
736
736
  const l = e.__qripple;
737
- l !== void 0 && (l.enabled = t.value !== !1, l.enabled === !0 && Object(t.value) === t.value && Nl(l, t));
737
+ l !== void 0 && (l.enabled = t.value !== !1, l.enabled === !0 && Object(t.value) === t.value && Wl(l, t));
738
738
  }
739
739
  },
740
740
  beforeUnmount(e) {
@@ -744,26 +744,26 @@ const Un = On(
744
744
  }), ct(t, "main"), delete e._qripple);
745
745
  }
746
746
  }
747
- ), Wl = {
747
+ ), Kl = {
748
748
  none: 0,
749
749
  xs: 4,
750
750
  sm: 8,
751
751
  md: 16,
752
752
  lg: 24,
753
753
  xl: 32
754
- }, Si = {
754
+ }, xi = {
755
755
  xs: 8,
756
756
  sm: 10,
757
757
  md: 14,
758
758
  lg: 20,
759
759
  xl: 24
760
- }, wi = ["button", "submit", "reset"], xi = /[^\s]\/[^\s]/, ki = ["flat", "outline", "push", "unelevated"];
761
- function Ci(e, t) {
760
+ }, ki = ["button", "submit", "reset"], Ci = /[^\s]\/[^\s]/, qi = ["flat", "outline", "push", "unelevated"];
761
+ function _i(e, t) {
762
762
  return e.flat === !0 ? "flat" : e.outline === !0 ? "outline" : e.push === !0 ? "push" : e.unelevated === !0 ? "unelevated" : t;
763
763
  }
764
- const qi = {
764
+ const zi = {
765
765
  ...Mt,
766
- ...In,
766
+ ...Hn,
767
767
  type: {
768
768
  type: String,
769
769
  default: "button"
@@ -771,7 +771,7 @@ const qi = {
771
771
  label: [Number, String],
772
772
  icon: String,
773
773
  iconRight: String,
774
- ...ki.reduce(
774
+ ...qi.reduce(
775
775
  (e, t) => (e[t] = Boolean) && e,
776
776
  {}
777
777
  ),
@@ -793,7 +793,7 @@ const qi = {
793
793
  default: !0
794
794
  },
795
795
  align: {
796
- ...jn.align,
796
+ ...Nn.align,
797
797
  default: "center"
798
798
  },
799
799
  stack: Boolean,
@@ -803,45 +803,45 @@ const qi = {
803
803
  default: null
804
804
  },
805
805
  disable: Boolean
806
- }, _i = {
807
- ...qi,
806
+ }, Ei = {
807
+ ...zi,
808
808
  round: Boolean
809
809
  };
810
- function zi(e) {
811
- const t = Lt(e, Si), l = Nn(e), { hasRouterLink: o, hasLink: n, linkTag: i, linkAttrs: r, navigateOnClick: a } = bl({
810
+ function Vi(e) {
811
+ const t = Pt(e, xi), l = Wn(e), { hasRouterLink: o, hasLink: n, linkTag: i, linkAttrs: r, navigateOnClick: a } = bl({
812
812
  fallbackTag: "button"
813
- }), s = d(() => {
813
+ }), s = f(() => {
814
814
  const S = e.fab === !1 && e.fabMini === !1 ? t.value : {};
815
815
  return e.padding !== void 0 ? Object.assign({}, S, {
816
- padding: e.padding.split(/\s+/).map((L) => L in Wl ? Wl[L] + "px" : L).join(" "),
816
+ padding: e.padding.split(/\s+/).map((M) => M in Kl ? Kl[M] + "px" : M).join(" "),
817
817
  minWidth: "0",
818
818
  minHeight: "0"
819
819
  }) : S;
820
- }), v = d(
820
+ }), d = f(
821
821
  () => e.rounded === !0 || e.fab === !0 || e.fabMini === !0
822
- ), c = d(
822
+ ), c = f(
823
823
  () => e.disable !== !0 && e.loading !== !0
824
- ), b = d(() => c.value === !0 ? e.tabindex || 0 : -1), m = d(() => Ci(e, "standard")), f = d(() => {
824
+ ), b = f(() => c.value === !0 ? e.tabindex || 0 : -1), m = f(() => _i(e, "standard")), v = f(() => {
825
825
  const S = { tabindex: b.value };
826
- return n.value === !0 ? Object.assign(S, r.value) : wi.includes(e.type) === !0 && (S.type = e.type), i.value === "a" ? (e.disable === !0 ? S["aria-disabled"] = "true" : S.href === void 0 && (S.role = "button"), o.value !== !0 && xi.test(e.type) === !0 && (S.type = e.type)) : e.disable === !0 && (S.disabled = "", S["aria-disabled"] = "true"), e.loading === !0 && e.percentage !== void 0 && Object.assign(S, {
826
+ return n.value === !0 ? Object.assign(S, r.value) : ki.includes(e.type) === !0 && (S.type = e.type), i.value === "a" ? (e.disable === !0 ? S["aria-disabled"] = "true" : S.href === void 0 && (S.role = "button"), o.value !== !0 && Ci.test(e.type) === !0 && (S.type = e.type)) : e.disable === !0 && (S.disabled = "", S["aria-disabled"] = "true"), e.loading === !0 && e.percentage !== void 0 && Object.assign(S, {
827
827
  role: "progressbar",
828
828
  "aria-valuemin": 0,
829
829
  "aria-valuemax": 100,
830
830
  "aria-valuenow": e.percentage
831
831
  }), S;
832
- }), y = d(() => {
832
+ }), y = f(() => {
833
833
  let S;
834
834
  e.color !== void 0 ? e.flat === !0 || e.outline === !0 ? S = `text-${e.textColor || e.color}` : S = `bg-${e.color} text-${e.textColor || "white"}` : e.textColor && (S = `text-${e.textColor}`);
835
- const L = e.round === !0 ? "round" : `rectangle${v.value === !0 ? " q-btn--rounded" : e.square === !0 ? " q-btn--square" : ""}`;
836
- return `q-btn--${m.value} q-btn--${L}` + (S !== void 0 ? " " + S : "") + (c.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" : "");
837
- }), E = d(
835
+ const M = e.round === !0 ? "round" : `rectangle${d.value === !0 ? " q-btn--rounded" : e.square === !0 ? " q-btn--square" : ""}`;
836
+ return `q-btn--${m.value} q-btn--${M}` + (S !== void 0 ? " " + S : "") + (c.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" : "");
837
+ }), E = f(
838
838
  () => l.value + (e.stack === !0 ? " column" : " row") + (e.noWrap === !0 ? " no-wrap text-no-wrap" : "") + (e.loading === !0 ? " q-btn__content--hidden" : "")
839
839
  );
840
840
  return {
841
841
  classes: y,
842
842
  style: s,
843
843
  innerClasses: E,
844
- attributes: f,
844
+ attributes: v,
845
845
  hasLink: n,
846
846
  linkTag: i,
847
847
  navigateOnClick: a,
@@ -850,10 +850,10 @@ function zi(e) {
850
850
  }
851
851
  const { passiveCapture: he } = ae;
852
852
  let Ge = null, Ze = null, Je = null;
853
- const Kl = re({
853
+ const Ql = re({
854
854
  name: "QBtn",
855
855
  props: {
856
- ..._i,
856
+ ...Ei,
857
857
  percentage: Number,
858
858
  darkPercentage: Boolean,
859
859
  onTouchstart: [Function, Array]
@@ -866,31 +866,31 @@ const Kl = re({
866
866
  innerClasses: r,
867
867
  attributes: a,
868
868
  hasLink: s,
869
- linkTag: v,
869
+ linkTag: d,
870
870
  navigateOnClick: c,
871
871
  isActionable: b
872
- } = zi(e), m = V(null), f = V(null);
872
+ } = Vi(e), m = V(null), v = V(null);
873
873
  let y = null, E, S = null;
874
- const L = d(
874
+ const M = f(
875
875
  () => e.label !== void 0 && e.label !== null && e.label !== ""
876
- ), B = d(() => e.disable === !0 || e.ripple === !1 ? !1 : {
876
+ ), B = f(() => e.disable === !0 || e.ripple === !1 ? !1 : {
877
877
  keyCodes: s.value === !0 ? [13, 32] : [13],
878
878
  ...e.ripple === !0 ? {} : e.ripple
879
- }), q = d(() => ({ center: e.round })), P = d(() => {
879
+ }), q = f(() => ({ center: e.round })), P = f(() => {
880
880
  const h = Math.max(0, Math.min(100, e.percentage));
881
881
  return h > 0 ? { transition: "transform 0.6s", transform: `translateX(${h - 100}%)` } : {};
882
- }), T = d(() => {
882
+ }), T = f(() => {
883
883
  if (e.loading === !0)
884
884
  return {
885
- onMousedown: Q,
886
- onTouchstart: Q,
887
- onClick: Q,
888
- onKeydown: Q,
889
- onKeyup: Q
885
+ onMousedown: U,
886
+ onTouchstart: U,
887
+ onClick: U,
888
+ onKeydown: U,
889
+ onKeyup: U
890
890
  };
891
891
  if (b.value === !0) {
892
892
  const h = {
893
- onClick: M,
893
+ onClick: L,
894
894
  onKeydown: F,
895
895
  onMousedown: Y
896
896
  };
@@ -904,14 +904,14 @@ const Kl = re({
904
904
  // needed; especially for disabled <a> tags
905
905
  onClick: ie
906
906
  };
907
- }), A = d(() => ({
907
+ }), A = f(() => ({
908
908
  ref: m,
909
909
  class: "q-btn q-btn-item non-selectable no-outline " + n.value,
910
910
  style: i.value,
911
911
  ...a.value,
912
912
  ...T.value
913
913
  }));
914
- function M(h) {
914
+ function L(h) {
915
915
  if (m.value !== null) {
916
916
  if (h !== void 0) {
917
917
  if (h.defaultPrevented === !0) return;
@@ -929,17 +929,17 @@ const Kl = re({
929
929
  }
930
930
  }
931
931
  function F(h) {
932
- m.value !== null && (l("keydown", h), Fe(h, [13, 32]) === !0 && Ze !== m.value && (Ze !== null && $(), h.defaultPrevented !== !0 && (h.qAvoidFocus !== !0 && m.value.focus(), Ze = m.value, m.value.classList.add("q-btn--active"), document.addEventListener("keyup", U, !0), m.value.addEventListener("blur", U, he)), ie(h)));
932
+ m.value !== null && (l("keydown", h), Fe(h, [13, 32]) === !0 && Ze !== m.value && (Ze !== null && $(), h.defaultPrevented !== !0 && (h.qAvoidFocus !== !0 && m.value.focus(), Ze = m.value, m.value.classList.add("q-btn--active"), document.addEventListener("keyup", X, !0), m.value.addEventListener("blur", X, he)), ie(h)));
933
933
  }
934
934
  function W(h) {
935
- m.value !== null && (l("touchstart", h), h.defaultPrevented !== !0 && (Ge !== m.value && (Ge !== null && $(), Ge = m.value, y = h.target, y.addEventListener("touchcancel", U, he), y.addEventListener("touchend", U, he)), E = !0, S !== null && clearTimeout(S), S = setTimeout(() => {
935
+ m.value !== null && (l("touchstart", h), h.defaultPrevented !== !0 && (Ge !== m.value && (Ge !== null && $(), Ge = m.value, y = h.target, y.addEventListener("touchcancel", X, he), y.addEventListener("touchend", X, he)), E = !0, S !== null && clearTimeout(S), S = setTimeout(() => {
936
936
  S = null, E = !1;
937
937
  }, 200)));
938
938
  }
939
939
  function Y(h) {
940
- m.value !== null && (h.qSkipRipple = E === !0, l("mousedown", h), h.defaultPrevented !== !0 && Je !== m.value && (Je !== null && $(), Je = m.value, m.value.classList.add("q-btn--active"), document.addEventListener("mouseup", U, he)));
940
+ m.value !== null && (h.qSkipRipple = E === !0, l("mousedown", h), h.defaultPrevented !== !0 && Je !== m.value && (Je !== null && $(), Je = m.value, m.value.classList.add("q-btn--active"), document.addEventListener("mouseup", X, he)));
941
941
  }
942
- function U(h) {
942
+ function X(h) {
943
943
  if (m.value !== null && !((h == null ? void 0 : h.type) === "blur" && document.activeElement === m.value)) {
944
944
  if ((h == null ? void 0 : h.type) === "keyup") {
945
945
  if (Ze === m.value && Fe(h, [13, 32]) === !0) {
@@ -953,39 +953,39 @@ const Kl = re({
953
953
  }
954
954
  function $(h) {
955
955
  var R, J;
956
- const w = f.value;
957
- h !== !0 && (Ge === m.value || Je === m.value) && w !== null && w !== document.activeElement && (w.setAttribute("tabindex", -1), w.focus()), Ge === m.value && (y !== null && (y.removeEventListener("touchcancel", U, he), y.removeEventListener("touchend", U, he)), Ge = y = null), Je === m.value && (document.removeEventListener("mouseup", U, he), Je = null), Ze === m.value && (document.removeEventListener("keyup", U, !0), (R = m.value) == null || R.removeEventListener("blur", U, he), Ze = null), (J = m.value) == null || J.classList.remove("q-btn--active");
956
+ const w = v.value;
957
+ h !== !0 && (Ge === m.value || Je === m.value) && w !== null && w !== document.activeElement && (w.setAttribute("tabindex", -1), w.focus()), Ge === m.value && (y !== null && (y.removeEventListener("touchcancel", X, he), y.removeEventListener("touchend", X, he)), Ge = y = null), Je === m.value && (document.removeEventListener("mouseup", X, he), Je = null), Ze === m.value && (document.removeEventListener("keyup", X, !0), (R = m.value) == null || R.removeEventListener("blur", X, he), Ze = null), (J = m.value) == null || J.classList.remove("q-btn--active");
958
958
  }
959
- function Q(h) {
959
+ function U(h) {
960
960
  ie(h), h.qSkipRipple = !0;
961
961
  }
962
962
  return de(() => {
963
963
  $(!0);
964
964
  }), Object.assign(o, {
965
965
  click: (h) => {
966
- b.value === !0 && M(h);
966
+ b.value === !0 && L(h);
967
967
  }
968
968
  }), () => {
969
969
  let h = [];
970
970
  e.icon !== void 0 && h.push(
971
971
  g(be, {
972
972
  name: e.icon,
973
- left: e.stack !== !0 && L.value === !0,
973
+ left: e.stack !== !0 && M.value === !0,
974
974
  role: "img"
975
975
  })
976
- ), L.value === !0 && h.push(
976
+ ), M.value === !0 && h.push(
977
977
  g("span", { class: "block" }, [e.label])
978
978
  ), h = ke(t.default, h), e.iconRight !== void 0 && e.round === !1 && h.push(
979
979
  g(be, {
980
980
  name: e.iconRight,
981
- right: e.stack !== !0 && L.value === !0,
981
+ right: e.stack !== !0 && M.value === !0,
982
982
  role: "img"
983
983
  })
984
984
  );
985
985
  const w = [
986
986
  g("span", {
987
987
  class: "q-focus-helper",
988
- ref: f
988
+ ref: v
989
989
  })
990
990
  ];
991
991
  return e.loading === !0 && e.percentage !== void 0 && w.push(
@@ -1002,17 +1002,17 @@ const Kl = re({
1002
1002
  class: "q-btn__content text-center col items-center q-anchor--skip " + r.value
1003
1003
  }, h)
1004
1004
  ), e.loading !== null && w.push(
1005
- g(ft, {
1005
+ g(vt, {
1006
1006
  name: "q-transition--fade"
1007
1007
  }, () => e.loading === !0 ? [
1008
1008
  g("span", {
1009
1009
  key: "loading",
1010
1010
  class: "absolute-full flex flex-center"
1011
- }, t.loading !== void 0 ? t.loading() : [g(Wn)])
1011
+ }, t.loading !== void 0 ? t.loading() : [g(pl)])
1012
1012
  ] : null)
1013
- ), zt(
1013
+ ), Vt(
1014
1014
  g(
1015
- v.value,
1015
+ d.value,
1016
1016
  A.value,
1017
1017
  w
1018
1018
  ),
@@ -1025,7 +1025,7 @@ const Kl = re({
1025
1025
  );
1026
1026
  };
1027
1027
  }
1028
- }), Ei = { class: "row justify-between" }, Bi = /* @__PURE__ */ $t({
1028
+ }), Bi = { class: "row justify-between" }, Ti = /* @__PURE__ */ gt({
1029
1029
  __name: "NavButton",
1030
1030
  props: {
1031
1031
  from: {},
@@ -1052,15 +1052,15 @@ const Kl = re({
1052
1052
  params: t.params
1053
1053
  });
1054
1054
  }
1055
- return (i, r) => (_e(), Bt("div", Ei, [
1056
- Oe(Kl, {
1055
+ return (i, r) => (Ce(), Tt("div", Bi, [
1056
+ ze(Ql, {
1057
1057
  icon: "chevron_left",
1058
1058
  "rounded-sm": "",
1059
1059
  label: i.labelFrom,
1060
1060
  onClick: r[0] || (r[0] = (a) => n("back")),
1061
1061
  "data-cy": "go-back"
1062
1062
  }, null, 8, ["label"]),
1063
- i.labelTo ? (_e(), Et(Kl, {
1063
+ i.labelTo ? (Ce(), ft(Ql, {
1064
1064
  key: 0,
1065
1065
  label: i.labelTo,
1066
1066
  color: "primary",
@@ -1069,7 +1069,7 @@ const Kl = re({
1069
1069
  "rounded-sm": "",
1070
1070
  "data-cy": "go-next",
1071
1071
  onClick: r[1] || (r[1] = (a) => n("next"))
1072
- }, null, 8, ["label"])) : Do("", !0)
1072
+ }, null, 8, ["label"])) : jo("", !0)
1073
1073
  ]));
1074
1074
  }
1075
1075
  }), Xn = (e, t) => {
@@ -1077,17 +1077,17 @@ const Kl = re({
1077
1077
  for (const [o, n] of t)
1078
1078
  l[o] = n;
1079
1079
  return l;
1080
- }, aa = /* @__PURE__ */ Xn(Bi, [["__scopeId", "data-v-c5e3fee0"]]), Ie = {
1080
+ }, ua = /* @__PURE__ */ Xn(Ti, [["__scopeId", "data-v-c5e3fee0"]]), Ie = {
1081
1081
  dark: {
1082
1082
  type: Boolean,
1083
1083
  default: null
1084
1084
  }
1085
1085
  };
1086
1086
  function He(e, t) {
1087
- return d(() => e.dark === null ? t.dark.isActive : e.dark);
1087
+ return f(() => e.dark === null ? t.dark.isActive : e.dark);
1088
1088
  }
1089
- function Vi(e, t) {
1090
- const l = V(null), o = d(() => e.disable === !0 ? null : g("span", {
1089
+ function Ai(e, t) {
1090
+ const l = V(null), o = f(() => e.disable === !0 ? null : g("span", {
1091
1091
  ref: l,
1092
1092
  class: "no-outline",
1093
1093
  tabindex: -1
@@ -1104,7 +1104,7 @@ function Vi(e, t) {
1104
1104
  const Yn = {
1105
1105
  name: String
1106
1106
  };
1107
- function Ti(e = {}) {
1107
+ function Oi(e = {}) {
1108
1108
  return (t, l, o) => {
1109
1109
  t[l](
1110
1110
  g("input", {
@@ -1114,16 +1114,16 @@ function Ti(e = {}) {
1114
1114
  );
1115
1115
  };
1116
1116
  }
1117
- function Ai(e) {
1118
- return d(() => e.name || e.for);
1117
+ function $i(e) {
1118
+ return f(() => e.name || e.for);
1119
1119
  }
1120
- const Oi = {
1120
+ const Li = {
1121
1121
  xs: 30,
1122
1122
  sm: 35,
1123
1123
  md: 40,
1124
1124
  lg: 50,
1125
1125
  xl: 60
1126
- }, $i = {
1126
+ }, Mi = {
1127
1127
  ...Ie,
1128
1128
  ...Mt,
1129
1129
  ...Yn,
@@ -1150,21 +1150,21 @@ const Oi = {
1150
1150
  dense: Boolean,
1151
1151
  disable: Boolean,
1152
1152
  tabindex: [String, Number]
1153
- }, Mi = ["update:modelValue"];
1154
- function Li(e, t) {
1155
- const { props: l, slots: o, emit: n, proxy: i } = te(), { $q: r } = i, a = He(l, r), s = V(null), { refocusTargetEl: v, refocusTarget: c } = Vi(l, s), b = Lt(l, Oi), m = d(
1153
+ }, Pi = ["update:modelValue"];
1154
+ function Ri(e, t) {
1155
+ const { props: l, slots: o, emit: n, proxy: i } = te(), { $q: r } = i, a = He(l, r), s = V(null), { refocusTargetEl: d, refocusTarget: c } = Ai(l, s), b = Pt(l, Li), m = f(
1156
1156
  () => l.val !== void 0 && Array.isArray(l.modelValue)
1157
- ), f = d(() => {
1157
+ ), v = f(() => {
1158
1158
  const $ = Ye(l.val);
1159
- return m.value === !0 ? l.modelValue.findIndex((Q) => Ye(Q) === $) : -1;
1160
- }), y = d(() => m.value === !0 ? f.value !== -1 : Ye(l.modelValue) === Ye(l.trueValue)), E = d(() => m.value === !0 ? f.value === -1 : Ye(l.modelValue) === Ye(l.falseValue)), S = d(
1159
+ return m.value === !0 ? l.modelValue.findIndex((U) => Ye(U) === $) : -1;
1160
+ }), y = f(() => m.value === !0 ? v.value !== -1 : Ye(l.modelValue) === Ye(l.trueValue)), E = f(() => m.value === !0 ? v.value === -1 : Ye(l.modelValue) === Ye(l.falseValue)), S = f(
1161
1161
  () => y.value === !1 && E.value === !1
1162
- ), L = d(() => l.disable === !0 ? -1 : l.tabindex || 0), B = d(
1162
+ ), M = f(() => l.disable === !0 ? -1 : l.tabindex || 0), B = f(
1163
1163
  () => `q-${e} cursor-pointer no-outline row inline no-wrap items-center` + (l.disable === !0 ? " disabled" : "") + (a.value === !0 ? ` q-${e}--dark` : "") + (l.dense === !0 ? ` q-${e}--dense` : "") + (l.leftLabel === !0 ? " reverse" : "")
1164
- ), q = d(() => {
1165
- const $ = y.value === !0 ? "truthy" : E.value === !0 ? "falsy" : "indet", Q = l.color !== void 0 && (l.keepColor === !0 || E.value !== !0) ? ` text-${l.color}` : "";
1166
- return `q-${e}__inner relative-position non-selectable q-${e}__inner--${$}${Q}`;
1167
- }), P = d(() => {
1164
+ ), q = f(() => {
1165
+ const $ = y.value === !0 ? "truthy" : E.value === !0 ? "falsy" : "indet", U = l.color !== void 0 && (l.keepColor === !0 || E.value !== !0) ? ` text-${l.color}` : "";
1166
+ return `q-${e}__inner relative-position non-selectable q-${e}__inner--${$}${U}`;
1167
+ }), P = f(() => {
1168
1168
  const $ = { type: "checkbox" };
1169
1169
  return l.name !== void 0 && Object.assign($, {
1170
1170
  // see https://vuejs.org/guide/extras/render-function.html#creating-vnodes (.prop)
@@ -1173,23 +1173,23 @@ function Li(e, t) {
1173
1173
  name: l.name,
1174
1174
  value: m.value === !0 ? l.val : l.trueValue
1175
1175
  }), $;
1176
- }), T = Ti(P), A = d(() => {
1176
+ }), T = Oi(P), A = f(() => {
1177
1177
  const $ = {
1178
- tabindex: L.value,
1178
+ tabindex: M.value,
1179
1179
  role: "checkbox",
1180
1180
  "aria-label": l.label,
1181
1181
  "aria-checked": S.value === !0 ? "mixed" : y.value === !0 ? "true" : "false"
1182
1182
  };
1183
1183
  return l.disable === !0 && ($["aria-disabled"] = "true"), $;
1184
1184
  });
1185
- function M($) {
1185
+ function L($) {
1186
1186
  $ !== void 0 && (ie($), c($)), l.disable !== !0 && n("update:modelValue", F(), $);
1187
1187
  }
1188
1188
  function F() {
1189
1189
  if (m.value === !0) {
1190
1190
  if (y.value === !0) {
1191
1191
  const $ = l.modelValue.slice();
1192
- return $.splice(f.value, 1), $;
1192
+ return $.splice(v.value, 1), $;
1193
1193
  }
1194
1194
  return l.modelValue.concat([l.val]);
1195
1195
  }
@@ -1207,26 +1207,26 @@ function Li(e, t) {
1207
1207
  ($.keyCode === 13 || $.keyCode === 32) && ie($);
1208
1208
  }
1209
1209
  function Y($) {
1210
- ($.keyCode === 13 || $.keyCode === 32) && M($);
1210
+ ($.keyCode === 13 || $.keyCode === 32) && L($);
1211
1211
  }
1212
- const U = t(y, S);
1213
- return Object.assign(i, { toggle: M }), () => {
1214
- const $ = U();
1212
+ const X = t(y, S);
1213
+ return Object.assign(i, { toggle: L }), () => {
1214
+ const $ = X();
1215
1215
  l.disable !== !0 && T(
1216
1216
  $,
1217
1217
  "unshift",
1218
1218
  ` q-${e}__native absolute q-ma-none q-pa-none`
1219
1219
  );
1220
- const Q = [
1220
+ const U = [
1221
1221
  g("div", {
1222
1222
  class: q.value,
1223
1223
  style: b.value,
1224
1224
  "aria-hidden": "true"
1225
1225
  }, $)
1226
1226
  ];
1227
- v.value !== null && Q.push(v.value);
1227
+ d.value !== null && U.push(d.value);
1228
1228
  const h = l.label !== void 0 ? ke(o.default, [l.label]) : ge(o.default);
1229
- return h !== void 0 && Q.push(
1229
+ return h !== void 0 && U.push(
1230
1230
  g("div", {
1231
1231
  class: `q-${e}__label q-anchor--skip`
1232
1232
  }, h)
@@ -1234,13 +1234,13 @@ function Li(e, t) {
1234
1234
  ref: s,
1235
1235
  class: B.value,
1236
1236
  ...A.value,
1237
- onClick: M,
1237
+ onClick: L,
1238
1238
  onKeydown: W,
1239
1239
  onKeyup: Y
1240
- }, Q);
1240
+ }, U);
1241
1241
  };
1242
1242
  }
1243
- const Pi = () => g("div", {
1243
+ const Fi = () => g("div", {
1244
1244
  key: "svg",
1245
1245
  class: "q-checkbox__bg absolute"
1246
1246
  }, [
@@ -1258,14 +1258,14 @@ const Pi = () => g("div", {
1258
1258
  d: "M4,14H20V10H4"
1259
1259
  })
1260
1260
  ])
1261
- ]), Ri = re({
1261
+ ]), Ii = re({
1262
1262
  name: "QCheckbox",
1263
- props: $i,
1264
- emits: Mi,
1263
+ props: Mi,
1264
+ emits: Pi,
1265
1265
  setup(e) {
1266
- const t = Pi();
1266
+ const t = Fi();
1267
1267
  function l(o, n) {
1268
- const i = d(
1268
+ const i = f(
1269
1269
  () => (o.value === !0 ? e.checkedIcon : n.value === !0 ? e.indeterminateIcon : e.uncheckedIcon) || null
1270
1270
  );
1271
1271
  return () => i.value !== null ? [
@@ -1280,9 +1280,9 @@ const Pi = () => g("div", {
1280
1280
  ])
1281
1281
  ] : [t];
1282
1282
  }
1283
- return Li("checkbox", l);
1283
+ return Ri("checkbox", l);
1284
1284
  }
1285
- }), Fi = re({
1285
+ }), Hi = re({
1286
1286
  props: [
1287
1287
  "store",
1288
1288
  "barStyle",
@@ -1303,7 +1303,7 @@ const Pi = () => g("div", {
1303
1303
  "aria-hidden": "true",
1304
1304
  onMousedown: e.store.onHorizontalMousedown
1305
1305
  }),
1306
- zt(
1306
+ Vt(
1307
1307
  g("div", {
1308
1308
  ref: e.store.scroll.vertical.ref,
1309
1309
  class: e.store.scroll.vertical.thumbClass.value,
@@ -1312,7 +1312,7 @@ const Pi = () => g("div", {
1312
1312
  }),
1313
1313
  e.store.thumbVertDir
1314
1314
  ),
1315
- zt(
1315
+ Vt(
1316
1316
  g("div", {
1317
1317
  ref: e.store.scroll.horizontal.ref,
1318
1318
  class: e.store.scroll.horizontal.thumbClass.value,
@@ -1327,7 +1327,7 @@ const Pi = () => g("div", {
1327
1327
  !1
1328
1328
  );
1329
1329
  let al;
1330
- function Ii(e, t) {
1330
+ function Di(e, t) {
1331
1331
  const l = /(edg|edge|edga|edgios)\/([\w.]+)/.exec(e) || /(opr)[\/]([\w.]+)/.exec(e) || /(vivaldi)[\/]([\w.]+)/.exec(e) || /(chrome|crios)[\/]([\w.]+)/.exec(e) || /(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e) || /(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e) || /(firefox|fxios)[\/]([\w.]+)/.exec(e) || /(webkit)[\/]([\w.]+)/.exec(e) || /(opera)(?:.*version|)[\/]([\w.]+)/.exec(e) || [];
1332
1332
  return {
1333
1333
  browser: l[5] || l[3] || l[1] || "",
@@ -1335,12 +1335,12 @@ function Ii(e, t) {
1335
1335
  platform: t[0] || ""
1336
1336
  };
1337
1337
  }
1338
- function Hi(e) {
1338
+ function ji(e) {
1339
1339
  return /(ipad)/.exec(e) || /(ipod)/.exec(e) || /(windows phone)/.exec(e) || /(iphone)/.exec(e) || /(kindle)/.exec(e) || /(silk)/.exec(e) || /(android)/.exec(e) || /(win)/.exec(e) || /(mac)/.exec(e) || /(linux)/.exec(e) || /(cros)/.exec(e) || /(playbook)/.exec(e) || /(bb)/.exec(e) || /(blackberry)/.exec(e) || [];
1340
1340
  }
1341
1341
  const Gn = "ontouchstart" in window || window.navigator.maxTouchPoints > 0;
1342
- function Di(e) {
1343
- const t = e.toLowerCase(), l = Hi(t), o = Ii(t, l), n = {
1342
+ function Ni(e) {
1343
+ const t = e.toLowerCase(), l = ji(t), o = Di(t, l), n = {
1344
1344
  mobile: !1,
1345
1345
  desktop: !1,
1346
1346
  cordova: !1,
@@ -1395,15 +1395,15 @@ function Di(e) {
1395
1395
  }
1396
1396
  return n;
1397
1397
  }
1398
- const Ql = navigator.userAgent || navigator.vendor || window.opera, ji = {
1398
+ const Ul = navigator.userAgent || navigator.vendor || window.opera, Wi = {
1399
1399
  has: {
1400
1400
  touch: !1,
1401
1401
  webStorage: !1
1402
1402
  },
1403
1403
  within: { iframe: !1 }
1404
1404
  }, ue = {
1405
- userAgent: Ql,
1406
- is: Di(Ql),
1405
+ userAgent: Ul,
1406
+ is: Ni(Ul),
1407
1407
  has: {
1408
1408
  touch: Gn
1409
1409
  },
@@ -1415,7 +1415,7 @@ const Ql = navigator.userAgent || navigator.vendor || window.opera, ji = {
1415
1415
  const { $q: t } = e;
1416
1416
  tt.value === !0 ? (e.onSSRHydrated.push(() => {
1417
1417
  Object.assign(t.platform, ue), tt.value = !1;
1418
- }), t.platform = jo(this)) : t.platform = this;
1418
+ }), t.platform = No(this)) : t.platform = this;
1419
1419
  }
1420
1420
  };
1421
1421
  {
@@ -1429,18 +1429,18 @@ const Ql = navigator.userAgent || navigator.vendor || window.opera, ji = {
1429
1429
  } catch {
1430
1430
  }
1431
1431
  return e = !1, !1;
1432
- }), Object.assign(ul, ue), tt.value === !0 && (Object.assign(ul, al, ji), al = null);
1432
+ }), Object.assign(ul, ue), tt.value === !0 && (Object.assign(ul, al, Wi), al = null);
1433
1433
  }
1434
- function Ni() {
1434
+ function Ki() {
1435
1435
  const e = V(!tt.value);
1436
- return e.value === !1 && Ce(() => {
1436
+ return e.value === !1 && qe(() => {
1437
1437
  e.value = !0;
1438
1438
  }), { isHydrated: e };
1439
1439
  }
1440
- const Zn = typeof ResizeObserver < "u", Ul = Zn === !0 ? {} : {
1440
+ const Zn = typeof ResizeObserver < "u", Xl = Zn === !0 ? {} : {
1441
1441
  style: "display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",
1442
1442
  url: "about:blank"
1443
- }, Xl = re({
1443
+ }, Yl = re({
1444
1444
  name: "QResizeObserver",
1445
1445
  props: {
1446
1446
  debounce: {
@@ -1456,68 +1456,68 @@ const Zn = typeof ResizeObserver < "u", Ul = Zn === !0 ? {} : {
1456
1456
  }
1457
1457
  function r() {
1458
1458
  if (l !== null && (clearTimeout(l), l = null), o) {
1459
- const { offsetWidth: s, offsetHeight: v } = o;
1460
- (s !== n.width || v !== n.height) && (n = { width: s, height: v }, t("resize", n));
1459
+ const { offsetWidth: s, offsetHeight: d } = o;
1460
+ (s !== n.width || d !== n.height) && (n = { width: s, height: d }, t("resize", n));
1461
1461
  }
1462
1462
  }
1463
1463
  const { proxy: a } = te();
1464
1464
  if (a.trigger = i, Zn === !0) {
1465
1465
  let s;
1466
- const v = (c) => {
1466
+ const d = (c) => {
1467
1467
  o = a.$el.parentNode, o ? (s = new ResizeObserver(i), s.observe(o), r()) : c !== !0 && fe(() => {
1468
- v(!0);
1468
+ d(!0);
1469
1469
  });
1470
1470
  };
1471
- return Ce(() => {
1472
- v();
1471
+ return qe(() => {
1472
+ d();
1473
1473
  }), de(() => {
1474
1474
  l !== null && clearTimeout(l), s !== void 0 && (s.disconnect !== void 0 ? s.disconnect() : o && s.unobserve(o));
1475
- }), Pt;
1475
+ }), Rt;
1476
1476
  } else {
1477
1477
  let s = function() {
1478
1478
  l !== null && (clearTimeout(l), l = null), b !== void 0 && (b.removeEventListener !== void 0 && b.removeEventListener("resize", i, ae.passive), b = void 0);
1479
- }, v = function() {
1479
+ }, d = function() {
1480
1480
  s(), o != null && o.contentDocument && (b = o.contentDocument.defaultView, b.addEventListener("resize", i, ae.passive), r());
1481
1481
  };
1482
- const { isHydrated: c } = Ni();
1482
+ const { isHydrated: c } = Ki();
1483
1483
  let b;
1484
- return Ce(() => {
1484
+ return qe(() => {
1485
1485
  fe(() => {
1486
- o = a.$el, o && v();
1486
+ o = a.$el, o && d();
1487
1487
  });
1488
1488
  }), de(s), () => {
1489
1489
  if (c.value === !0)
1490
1490
  return g("object", {
1491
1491
  class: "q--avoid-card-border",
1492
- style: Ul.style,
1492
+ style: Xl.style,
1493
1493
  tabindex: -1,
1494
1494
  // fix for Firefox
1495
1495
  type: "text/html",
1496
- data: Ul.url,
1496
+ data: Xl.url,
1497
1497
  "aria-hidden": "true",
1498
- onLoad: v
1498
+ onLoad: d
1499
1499
  });
1500
1500
  };
1501
1501
  }
1502
1502
  }
1503
- }), Jn = [Element, String], Wi = [null, document, document.body, document.scrollingElement, document.documentElement];
1503
+ }), Jn = [Element, String], Qi = [null, document, document.body, document.scrollingElement, document.documentElement];
1504
1504
  function eo(e, t) {
1505
- let l = gi(t);
1505
+ let l = pi(t);
1506
1506
  if (l === void 0) {
1507
1507
  if (e == null)
1508
1508
  return window;
1509
1509
  l = e.closest(".scroll,.scroll-y,.overflow-auto");
1510
1510
  }
1511
- return Wi.includes(l) ? window : l;
1511
+ return Qi.includes(l) ? window : l;
1512
1512
  }
1513
- function pl(e) {
1513
+ function yl(e) {
1514
1514
  return e === window ? window.pageYOffset || window.scrollY || document.body.scrollTop || 0 : e.scrollTop;
1515
1515
  }
1516
- function yl(e) {
1516
+ function Sl(e) {
1517
1517
  return e === window ? window.pageXOffset || window.scrollX || document.body.scrollLeft || 0 : e.scrollLeft;
1518
1518
  }
1519
1519
  function to(e, t, l = 0) {
1520
- const o = arguments[3] === void 0 ? performance.now() : arguments[3], n = pl(e);
1520
+ const o = arguments[3] === void 0 ? performance.now() : arguments[3], n = yl(e);
1521
1521
  if (l <= 0) {
1522
1522
  n !== t && sl(e, t);
1523
1523
  return;
@@ -1528,7 +1528,7 @@ function to(e, t, l = 0) {
1528
1528
  });
1529
1529
  }
1530
1530
  function lo(e, t, l = 0) {
1531
- const o = arguments[3] === void 0 ? performance.now() : arguments[3], n = yl(e);
1531
+ const o = arguments[3] === void 0 ? performance.now() : arguments[3], n = Sl(e);
1532
1532
  if (l <= 0) {
1533
1533
  n !== t && cl(e, t);
1534
1534
  return;
@@ -1552,24 +1552,24 @@ function cl(e, t) {
1552
1552
  }
1553
1553
  e.scrollLeft = t;
1554
1554
  }
1555
- function Yl(e, t, l) {
1555
+ function Gl(e, t, l) {
1556
1556
  if (l) {
1557
1557
  to(e, t, l);
1558
1558
  return;
1559
1559
  }
1560
1560
  sl(e, t);
1561
1561
  }
1562
- function Kt(e, t, l) {
1562
+ function Qt(e, t, l) {
1563
1563
  if (l) {
1564
1564
  lo(e, t, l);
1565
1565
  return;
1566
1566
  }
1567
1567
  cl(e, t);
1568
1568
  }
1569
- let wt;
1570
- function Ki() {
1571
- if (wt !== void 0)
1572
- return wt;
1569
+ let kt;
1570
+ function Ui() {
1571
+ if (kt !== void 0)
1572
+ return kt;
1573
1573
  const e = document.createElement("p"), t = document.createElement("div");
1574
1574
  rl(e, {
1575
1575
  width: "100%",
@@ -1586,17 +1586,17 @@ function Ki() {
1586
1586
  const l = e.offsetWidth;
1587
1587
  t.style.overflow = "scroll";
1588
1588
  let o = e.offsetWidth;
1589
- return l === o && (o = t.clientWidth), t.remove(), wt = l - o, wt;
1589
+ return l === o && (o = t.clientWidth), t.remove(), kt = l - o, kt;
1590
1590
  }
1591
- function Qi(e, t = !0) {
1591
+ function Xi(e, t = !0) {
1592
1592
  return !e || e.nodeType !== Node.ELEMENT_NODE ? !1 : t ? e.scrollHeight > e.clientHeight && (e.classList.contains("scroll") || e.classList.contains("overflow-auto") || ["auto", "scroll"].includes(window.getComputedStyle(e)["overflow-y"])) : e.scrollWidth > e.clientWidth && (e.classList.contains("scroll") || e.classList.contains("overflow-auto") || ["auto", "scroll"].includes(window.getComputedStyle(e)["overflow-x"]));
1593
1593
  }
1594
- const { passive: Gl } = ae, Ui = ["both", "horizontal", "vertical"], Xi = re({
1594
+ const { passive: Zl } = ae, Yi = ["both", "horizontal", "vertical"], Gi = re({
1595
1595
  name: "QScrollObserver",
1596
1596
  props: {
1597
1597
  axis: {
1598
1598
  type: String,
1599
- validator: (e) => Ui.includes(e),
1599
+ validator: (e) => Yi.includes(e),
1600
1600
  default: "vertical"
1601
1601
  },
1602
1602
  debounce: [String, Number],
@@ -1621,63 +1621,63 @@ const { passive: Gl } = ae, Ui = ["both", "horizontal", "vertical"], Xi = re({
1621
1621
  }
1622
1622
  };
1623
1623
  let o = null, n, i;
1624
- X(() => e.scrollTarget, () => {
1624
+ Q(() => e.scrollTarget, () => {
1625
1625
  s(), a();
1626
1626
  });
1627
1627
  function r() {
1628
1628
  o == null || o();
1629
- const b = Math.max(0, pl(n)), m = yl(n), f = {
1629
+ const b = Math.max(0, yl(n)), m = Sl(n), v = {
1630
1630
  top: b - l.position.top,
1631
1631
  left: m - l.position.left
1632
1632
  };
1633
- if (e.axis === "vertical" && f.top === 0 || e.axis === "horizontal" && f.left === 0) return;
1634
- const y = Math.abs(f.top) >= Math.abs(f.left) ? f.top < 0 ? "up" : "down" : f.left < 0 ? "left" : "right";
1635
- l.position = { top: b, left: m }, l.directionChanged = l.direction !== y, l.delta = f, l.directionChanged === !0 && (l.direction = y, l.inflectionPoint = l.position), t("scroll", { ...l });
1633
+ if (e.axis === "vertical" && v.top === 0 || e.axis === "horizontal" && v.left === 0) return;
1634
+ const y = Math.abs(v.top) >= Math.abs(v.left) ? v.top < 0 ? "up" : "down" : v.left < 0 ? "left" : "right";
1635
+ l.position = { top: b, left: m }, l.directionChanged = l.direction !== y, l.delta = v, l.directionChanged === !0 && (l.direction = y, l.inflectionPoint = l.position), t("scroll", { ...l });
1636
1636
  }
1637
1637
  function a() {
1638
- n = eo(i, e.scrollTarget), n.addEventListener("scroll", v, Gl), v(!0);
1638
+ n = eo(i, e.scrollTarget), n.addEventListener("scroll", d, Zl), d(!0);
1639
1639
  }
1640
1640
  function s() {
1641
- n !== void 0 && (n.removeEventListener("scroll", v, Gl), n = void 0);
1641
+ n !== void 0 && (n.removeEventListener("scroll", d, Zl), n = void 0);
1642
1642
  }
1643
- function v(b) {
1643
+ function d(b) {
1644
1644
  if (b === !0 || e.debounce === 0 || e.debounce === "0")
1645
1645
  r();
1646
1646
  else if (o === null) {
1647
- const [m, f] = e.debounce ? [setTimeout(r, e.debounce), clearTimeout] : [requestAnimationFrame(r), cancelAnimationFrame];
1647
+ const [m, v] = e.debounce ? [setTimeout(r, e.debounce), clearTimeout] : [requestAnimationFrame(r), cancelAnimationFrame];
1648
1648
  o = () => {
1649
- f(m), o = null;
1649
+ v(m), o = null;
1650
1650
  };
1651
1651
  }
1652
1652
  }
1653
1653
  const { proxy: c } = te();
1654
- return X(() => c.$q.lang.rtl, r), Ce(() => {
1654
+ return Q(() => c.$q.lang.rtl, r), qe(() => {
1655
1655
  i = c.$el.parentNode, a();
1656
1656
  }), de(() => {
1657
1657
  o == null || o(), s();
1658
1658
  }), Object.assign(c, {
1659
- trigger: v,
1659
+ trigger: d,
1660
1660
  getPosition: () => l
1661
- }), Pt;
1661
+ }), Rt;
1662
1662
  }
1663
- }), Sl = {
1663
+ }), wl = {
1664
1664
  left: !0,
1665
1665
  right: !0,
1666
1666
  up: !0,
1667
1667
  down: !0,
1668
1668
  horizontal: !0,
1669
1669
  vertical: !0
1670
- }, Yi = Object.keys(Sl);
1671
- Sl.all = !0;
1672
- function Zl(e) {
1670
+ }, Zi = Object.keys(wl);
1671
+ wl.all = !0;
1672
+ function Jl(e) {
1673
1673
  const t = {};
1674
- for (const l of Yi)
1674
+ for (const l of Zi)
1675
1675
  e[l] === !0 && (t[l] = !0);
1676
- return Object.keys(t).length === 0 ? Sl : (t.horizontal === !0 ? t.left = t.right = !0 : t.left === !0 && t.right === !0 && (t.horizontal = !0), t.vertical === !0 ? t.up = t.down = !0 : t.up === !0 && t.down === !0 && (t.vertical = !0), t.horizontal === !0 && t.vertical === !0 && (t.all = !0), t);
1676
+ return Object.keys(t).length === 0 ? wl : (t.horizontal === !0 ? t.left = t.right = !0 : t.left === !0 && t.right === !0 && (t.horizontal = !0), t.vertical === !0 ? t.up = t.down = !0 : t.up === !0 && t.down === !0 && (t.vertical = !0), t.horizontal === !0 && t.vertical === !0 && (t.all = !0), t);
1677
1677
  }
1678
- const Gi = ["INPUT", "TEXTAREA"];
1679
- function Jl(e, t) {
1680
- return t.event === void 0 && e.target !== void 0 && e.target.draggable !== !0 && typeof t.handler == "function" && Gi.includes(e.target.nodeName.toUpperCase()) === !1 && (e.qClonedBy === void 0 || e.qClonedBy.indexOf(t.uid) === -1);
1678
+ const Ji = ["INPUT", "TEXTAREA"];
1679
+ function en(e, t) {
1680
+ return t.event === void 0 && e.target !== void 0 && e.target.draggable !== !0 && typeof t.handler == "function" && Ji.includes(e.target.nodeName.toUpperCase()) === !1 && (e.qClonedBy === void 0 || e.qClonedBy.indexOf(t.uid) === -1);
1681
1681
  }
1682
1682
  function no() {
1683
1683
  if (window.getSelection !== void 0) {
@@ -1685,11 +1685,11 @@ function no() {
1685
1685
  e.empty !== void 0 ? e.empty() : e.removeAllRanges !== void 0 && (e.removeAllRanges(), ul.is.mobile !== !0 && e.addRange(document.createRange()));
1686
1686
  } else document.selection !== void 0 && document.selection.empty();
1687
1687
  }
1688
- function Qt(e, t, l) {
1689
- const o = vt(e);
1688
+ function Ut(e, t, l) {
1689
+ const o = mt(e);
1690
1690
  let n, i = o.left - t.event.x, r = o.top - t.event.y, a = Math.abs(i), s = Math.abs(r);
1691
- const v = t.direction;
1692
- v.horizontal === !0 && v.vertical !== !0 ? n = i < 0 ? "left" : "right" : v.horizontal !== !0 && v.vertical === !0 ? n = r < 0 ? "up" : "down" : v.up === !0 && r < 0 ? (n = "up", a > s && (v.left === !0 && i < 0 ? n = "left" : v.right === !0 && i > 0 && (n = "right"))) : v.down === !0 && r > 0 ? (n = "down", a > s && (v.left === !0 && i < 0 ? n = "left" : v.right === !0 && i > 0 && (n = "right"))) : v.left === !0 && i < 0 ? (n = "left", a < s && (v.up === !0 && r < 0 ? n = "up" : v.down === !0 && r > 0 && (n = "down"))) : v.right === !0 && i > 0 && (n = "right", a < s && (v.up === !0 && r < 0 ? n = "up" : v.down === !0 && r > 0 && (n = "down")));
1691
+ const d = t.direction;
1692
+ d.horizontal === !0 && d.vertical !== !0 ? n = i < 0 ? "left" : "right" : d.horizontal !== !0 && d.vertical === !0 ? n = r < 0 ? "up" : "down" : d.up === !0 && r < 0 ? (n = "up", a > s && (d.left === !0 && i < 0 ? n = "left" : d.right === !0 && i > 0 && (n = "right"))) : d.down === !0 && r > 0 ? (n = "down", a > s && (d.left === !0 && i < 0 ? n = "left" : d.right === !0 && i > 0 && (n = "right"))) : d.left === !0 && i < 0 ? (n = "left", a < s && (d.up === !0 && r < 0 ? n = "up" : d.down === !0 && r > 0 && (n = "down"))) : d.right === !0 && i > 0 && (n = "right", a < s && (d.up === !0 && r < 0 ? n = "up" : d.down === !0 && r > 0 && (n = "down")));
1693
1693
  let c = !1;
1694
1694
  if (n === void 0 && l === !1) {
1695
1695
  if (t.event.isFirst === !0 || t.event.lastDir === void 0)
@@ -1722,8 +1722,8 @@ function Qt(e, t, l) {
1722
1722
  }
1723
1723
  };
1724
1724
  }
1725
- let Zi = 0;
1726
- const en = On(
1725
+ let er = 0;
1726
+ const tn = $n(
1727
1727
  {
1728
1728
  name: "touch-pan",
1729
1729
  beforeMount(e, { value: t, modifiers: l }) {
@@ -1732,19 +1732,19 @@ const en = On(
1732
1732
  l.mouse === !0 && r === !0 ? ie(i) : (l.stop === !0 && ye(i), l.prevent === !0 && ve(i));
1733
1733
  }
1734
1734
  const n = {
1735
- uid: "qvtp_" + Zi++,
1735
+ uid: "qvtp_" + er++,
1736
1736
  handler: t,
1737
1737
  modifiers: l,
1738
- direction: Zl(l),
1739
- noop: Pt,
1738
+ direction: Jl(l),
1739
+ noop: Rt,
1740
1740
  mouseStart(i) {
1741
- Jl(i, n) && bi(i) && ($e(n, "temp", [
1741
+ en(i, n) && yi(i) && ($e(n, "temp", [
1742
1742
  [document, "mousemove", "move", "notPassiveCapture"],
1743
1743
  [document, "mouseup", "end", "passiveCapture"]
1744
1744
  ]), n.start(i, !0));
1745
1745
  },
1746
1746
  touchStart(i) {
1747
- if (Jl(i, n)) {
1747
+ if (en(i, n)) {
1748
1748
  const r = i.target;
1749
1749
  $e(n, "temp", [
1750
1750
  [r, "touchmove", "move", "notPassiveCapture"],
@@ -1754,22 +1754,22 @@ const en = On(
1754
1754
  }
1755
1755
  },
1756
1756
  start(i, r) {
1757
- if (ue.is.firefox === !0 && Wt(e, !0), n.lastEvt = i, r === !0 || l.stop === !0) {
1757
+ if (ue.is.firefox === !0 && Kt(e, !0), n.lastEvt = i, r === !0 || l.stop === !0) {
1758
1758
  if (n.direction.all !== !0 && (r !== !0 || n.modifiers.mouseAllDir !== !0 && n.modifiers.mousealldir !== !0)) {
1759
- const v = i.type.indexOf("mouse") !== -1 ? new MouseEvent(i.type, i) : new TouchEvent(i.type, i);
1760
- i.defaultPrevented === !0 && ve(v), i.cancelBubble === !0 && ye(v), Object.assign(v, {
1759
+ const d = i.type.indexOf("mouse") !== -1 ? new MouseEvent(i.type, i) : new TouchEvent(i.type, i);
1760
+ i.defaultPrevented === !0 && ve(d), i.cancelBubble === !0 && ye(d), Object.assign(d, {
1761
1761
  qKeyEvent: i.qKeyEvent,
1762
1762
  qClickOutside: i.qClickOutside,
1763
1763
  qAnchorHandled: i.qAnchorHandled,
1764
1764
  qClonedBy: i.qClonedBy === void 0 ? [n.uid] : i.qClonedBy.concat(n.uid)
1765
1765
  }), n.initialEvent = {
1766
1766
  target: i.target,
1767
- event: v
1767
+ event: d
1768
1768
  };
1769
1769
  }
1770
1770
  ye(i);
1771
1771
  }
1772
- const { left: a, top: s } = vt(i);
1772
+ const { left: a, top: s } = mt(i);
1773
1773
  n.event = {
1774
1774
  x: a,
1775
1775
  y: s,
@@ -1784,14 +1784,14 @@ const en = On(
1784
1784
  },
1785
1785
  move(i) {
1786
1786
  if (n.event === void 0) return;
1787
- const r = vt(i), a = r.left - n.event.x, s = r.top - n.event.y;
1787
+ const r = mt(i), a = r.left - n.event.x, s = r.top - n.event.y;
1788
1788
  if (a === 0 && s === 0) return;
1789
1789
  n.lastEvt = i;
1790
- const v = n.event.mouse === !0, c = () => {
1791
- o(i, v);
1792
- let f;
1793
- l.preserveCursor !== !0 && l.preservecursor !== !0 && (f = document.documentElement.style.cursor || "", document.documentElement.style.cursor = "grabbing"), v === !0 && document.body.classList.add("no-pointer-events--children"), document.body.classList.add("non-selectable"), no(), n.styleCleanup = (y) => {
1794
- if (n.styleCleanup = void 0, f !== void 0 && (document.documentElement.style.cursor = f), document.body.classList.remove("non-selectable"), v === !0) {
1790
+ const d = n.event.mouse === !0, c = () => {
1791
+ o(i, d);
1792
+ let v;
1793
+ l.preserveCursor !== !0 && l.preservecursor !== !0 && (v = document.documentElement.style.cursor || "", document.documentElement.style.cursor = "grabbing"), d === !0 && document.body.classList.add("no-pointer-events--children"), document.body.classList.add("non-selectable"), no(), n.styleCleanup = (y) => {
1794
+ if (n.styleCleanup = void 0, v !== void 0 && (document.documentElement.style.cursor = v), document.body.classList.remove("non-selectable"), d === !0) {
1795
1795
  const E = () => {
1796
1796
  document.body.classList.remove("no-pointer-events--children");
1797
1797
  };
@@ -1803,11 +1803,11 @@ const en = On(
1803
1803
  };
1804
1804
  if (n.event.detected === !0) {
1805
1805
  n.event.isFirst !== !0 && o(i, n.event.mouse);
1806
- const { payload: f, synthetic: y } = Qt(i, n, !1);
1807
- f !== void 0 && (n.handler(f) === !1 ? n.end(i) : (n.styleCleanup === void 0 && n.event.isFirst === !0 && c(), n.event.lastX = f.position.left, n.event.lastY = f.position.top, n.event.lastDir = y === !0 ? void 0 : f.direction, n.event.isFirst = !1));
1806
+ const { payload: v, synthetic: y } = Ut(i, n, !1);
1807
+ v !== void 0 && (n.handler(v) === !1 ? n.end(i) : (n.styleCleanup === void 0 && n.event.isFirst === !0 && c(), n.event.lastX = v.position.left, n.event.lastY = v.position.top, n.event.lastDir = y === !0 ? void 0 : v.direction, n.event.isFirst = !1));
1808
1808
  return;
1809
1809
  }
1810
- if (n.direction.all === !0 || v === !0 && (n.modifiers.mouseAllDir === !0 || n.modifiers.mousealldir === !0)) {
1810
+ if (n.direction.all === !0 || d === !0 && (n.modifiers.mouseAllDir === !0 || n.modifiers.mousealldir === !0)) {
1811
1811
  c(), n.event.detected = !0, n.move(i);
1812
1812
  return;
1813
1813
  }
@@ -1817,14 +1817,14 @@ const en = On(
1817
1817
  end(i, r) {
1818
1818
  var a;
1819
1819
  if (n.event !== void 0) {
1820
- if (ct(n, "temp"), ue.is.firefox === !0 && Wt(e, !1), r === !0)
1820
+ if (ct(n, "temp"), ue.is.firefox === !0 && Kt(e, !1), r === !0)
1821
1821
  (a = n.styleCleanup) == null || a.call(n), n.event.detected !== !0 && n.initialEvent !== void 0 && n.initialEvent.target.dispatchEvent(n.initialEvent.event);
1822
1822
  else if (n.event.detected === !0) {
1823
- n.event.isFirst === !0 && n.handler(Qt(i === void 0 ? n.lastEvt : i, n).payload);
1824
- const { payload: s } = Qt(i === void 0 ? n.lastEvt : i, n, !0), v = () => {
1823
+ n.event.isFirst === !0 && n.handler(Ut(i === void 0 ? n.lastEvt : i, n).payload);
1824
+ const { payload: s } = Ut(i === void 0 ? n.lastEvt : i, n, !0), d = () => {
1825
1825
  n.handler(s);
1826
1826
  };
1827
- n.styleCleanup !== void 0 ? n.styleCleanup(v) : v();
1827
+ n.styleCleanup !== void 0 ? n.styleCleanup(d) : d();
1828
1828
  }
1829
1829
  n.event = void 0, n.initialEvent = void 0, n.lastEvt = void 0;
1830
1830
  }
@@ -1844,26 +1844,26 @@ const en = On(
1844
1844
  },
1845
1845
  updated(e, t) {
1846
1846
  const l = e.__qtouchpan;
1847
- l !== void 0 && (t.oldValue !== t.value && (typeof value != "function" && l.end(), l.handler = t.value), l.direction = Zl(t.modifiers));
1847
+ l !== void 0 && (t.oldValue !== t.value && (typeof value != "function" && l.end(), l.handler = t.value), l.direction = Jl(t.modifiers));
1848
1848
  },
1849
1849
  beforeUnmount(e) {
1850
1850
  var l;
1851
1851
  const t = e.__qtouchpan;
1852
- t !== void 0 && (t.event !== void 0 && t.end(), ct(t, "main"), ct(t, "temp"), ue.is.firefox === !0 && Wt(e, !1), (l = t.styleCleanup) == null || l.call(t), delete e.__qtouchpan);
1852
+ t !== void 0 && (t.event !== void 0 && t.end(), ct(t, "main"), ct(t, "temp"), ue.is.firefox === !0 && Kt(e, !1), (l = t.styleCleanup) == null || l.call(t), delete e.__qtouchpan);
1853
1853
  }
1854
1854
  }
1855
1855
  );
1856
1856
  function rt(e, t, l) {
1857
1857
  return l <= t ? t : Math.min(l, Math.max(t, e));
1858
1858
  }
1859
- function tn(e, t, l) {
1859
+ function ln(e, t, l) {
1860
1860
  if (l <= t)
1861
1861
  return t;
1862
1862
  const o = l - t + 1;
1863
1863
  let n = t + (e - t) % o;
1864
1864
  return n < t && (n = o + n), n === 0 ? 0 : n;
1865
1865
  }
1866
- function wl(e, t = 250, l) {
1866
+ function xl(e, t = 250, l) {
1867
1867
  let o = null;
1868
1868
  function n() {
1869
1869
  const i = arguments, r = () => {
@@ -1875,14 +1875,14 @@ function wl(e, t = 250, l) {
1875
1875
  o !== null && clearTimeout(o);
1876
1876
  }, n;
1877
1877
  }
1878
- const ln = ["vertical", "horizontal"], Ut = {
1878
+ const nn = ["vertical", "horizontal"], Xt = {
1879
1879
  vertical: { offset: "offsetY", scroll: "scrollTop", dir: "down", dist: "y" },
1880
1880
  horizontal: { offset: "offsetX", scroll: "scrollLeft", dir: "right", dist: "x" }
1881
- }, nn = {
1881
+ }, on = {
1882
1882
  prevent: !0,
1883
1883
  mouse: !0,
1884
1884
  mouseAllDir: !0
1885
- }, on = (e) => e >= 250 ? 50 : Math.ceil(e / 5), Ji = re({
1885
+ }, rn = (e) => e >= 250 ? 50 : Math.ceil(e / 5), tr = re({
1886
1886
  name: "QScrollArea",
1887
1887
  props: {
1888
1888
  ...Ie,
@@ -1928,59 +1928,59 @@ const ln = ["vertical", "horizontal"], Ut = {
1928
1928
  position: V(0),
1929
1929
  size: V(0)
1930
1930
  }
1931
- }, { proxy: s } = te(), v = He(e, s.$q);
1931
+ }, { proxy: s } = te(), d = He(e, s.$q);
1932
1932
  let c = null, b;
1933
- const m = V(null), f = d(
1934
- () => "q-scrollarea" + (v.value === !0 ? " q-scrollarea--dark" : "")
1933
+ const m = V(null), v = f(
1934
+ () => "q-scrollarea" + (d.value === !0 ? " q-scrollarea--dark" : "")
1935
1935
  );
1936
1936
  Object.assign(r, {
1937
- verticalInner: d(() => r.vertical.value - e.verticalOffset[0] - e.verticalOffset[1]),
1938
- horizontalInner: d(() => r.horizontal.value - e.horizontalOffset[0] - e.horizontalOffset[1])
1939
- }), a.vertical.percentage = d(() => {
1937
+ verticalInner: f(() => r.vertical.value - e.verticalOffset[0] - e.verticalOffset[1]),
1938
+ horizontalInner: f(() => r.horizontal.value - e.horizontalOffset[0] - e.horizontalOffset[1])
1939
+ }), a.vertical.percentage = f(() => {
1940
1940
  const h = a.vertical.size.value - r.vertical.value;
1941
1941
  if (h <= 0)
1942
1942
  return 0;
1943
1943
  const w = rt(a.vertical.position.value / h, 0, 1);
1944
1944
  return Math.round(w * 1e4) / 1e4;
1945
- }), a.vertical.thumbHidden = d(() => (e.visible === null ? i.value : e.visible) !== !0 && o.value === !1 && n.value === !1 || a.vertical.size.value <= r.vertical.value + 1), a.vertical.thumbStart = d(() => e.verticalOffset[0] + a.vertical.percentage.value * (r.verticalInner.value - a.vertical.thumbSize.value)), a.vertical.thumbSize = d(
1945
+ }), a.vertical.thumbHidden = f(() => (e.visible === null ? i.value : e.visible) !== !0 && o.value === !1 && n.value === !1 || a.vertical.size.value <= r.vertical.value + 1), a.vertical.thumbStart = f(() => e.verticalOffset[0] + a.vertical.percentage.value * (r.verticalInner.value - a.vertical.thumbSize.value)), a.vertical.thumbSize = f(
1946
1946
  () => Math.round(
1947
1947
  rt(
1948
1948
  r.verticalInner.value * r.verticalInner.value / a.vertical.size.value,
1949
- on(r.verticalInner.value),
1949
+ rn(r.verticalInner.value),
1950
1950
  r.verticalInner.value
1951
1951
  )
1952
1952
  )
1953
- ), a.vertical.style = d(() => ({
1953
+ ), a.vertical.style = f(() => ({
1954
1954
  ...e.thumbStyle,
1955
1955
  ...e.verticalThumbStyle,
1956
1956
  top: `${a.vertical.thumbStart.value}px`,
1957
1957
  height: `${a.vertical.thumbSize.value}px`,
1958
1958
  right: `${e.horizontalOffset[1]}px`
1959
- })), a.vertical.thumbClass = d(() => "q-scrollarea__thumb q-scrollarea__thumb--v absolute-right" + (a.vertical.thumbHidden.value === !0 ? " q-scrollarea__thumb--invisible" : "")), a.vertical.barClass = d(() => "q-scrollarea__bar q-scrollarea__bar--v absolute-right" + (a.vertical.thumbHidden.value === !0 ? " q-scrollarea__bar--invisible" : "")), a.horizontal.percentage = d(() => {
1959
+ })), a.vertical.thumbClass = f(() => "q-scrollarea__thumb q-scrollarea__thumb--v absolute-right" + (a.vertical.thumbHidden.value === !0 ? " q-scrollarea__thumb--invisible" : "")), a.vertical.barClass = f(() => "q-scrollarea__bar q-scrollarea__bar--v absolute-right" + (a.vertical.thumbHidden.value === !0 ? " q-scrollarea__bar--invisible" : "")), a.horizontal.percentage = f(() => {
1960
1960
  const h = a.horizontal.size.value - r.horizontal.value;
1961
1961
  if (h <= 0)
1962
1962
  return 0;
1963
1963
  const w = rt(Math.abs(a.horizontal.position.value) / h, 0, 1);
1964
1964
  return Math.round(w * 1e4) / 1e4;
1965
- }), a.horizontal.thumbHidden = d(() => (e.visible === null ? i.value : e.visible) !== !0 && o.value === !1 && n.value === !1 || a.horizontal.size.value <= r.horizontal.value + 1), a.horizontal.thumbStart = d(() => e.horizontalOffset[0] + a.horizontal.percentage.value * (r.horizontalInner.value - a.horizontal.thumbSize.value)), a.horizontal.thumbSize = d(
1965
+ }), a.horizontal.thumbHidden = f(() => (e.visible === null ? i.value : e.visible) !== !0 && o.value === !1 && n.value === !1 || a.horizontal.size.value <= r.horizontal.value + 1), a.horizontal.thumbStart = f(() => e.horizontalOffset[0] + a.horizontal.percentage.value * (r.horizontalInner.value - a.horizontal.thumbSize.value)), a.horizontal.thumbSize = f(
1966
1966
  () => Math.round(
1967
1967
  rt(
1968
1968
  r.horizontalInner.value * r.horizontalInner.value / a.horizontal.size.value,
1969
- on(r.horizontalInner.value),
1969
+ rn(r.horizontalInner.value),
1970
1970
  r.horizontalInner.value
1971
1971
  )
1972
1972
  )
1973
- ), a.horizontal.style = d(() => ({
1973
+ ), a.horizontal.style = f(() => ({
1974
1974
  ...e.thumbStyle,
1975
1975
  ...e.horizontalThumbStyle,
1976
1976
  [s.$q.lang.rtl === !0 ? "right" : "left"]: `${a.horizontal.thumbStart.value}px`,
1977
1977
  width: `${a.horizontal.thumbSize.value}px`,
1978
1978
  bottom: `${e.verticalOffset[1]}px`
1979
- })), a.horizontal.thumbClass = d(() => "q-scrollarea__thumb q-scrollarea__thumb--h absolute-bottom" + (a.horizontal.thumbHidden.value === !0 ? " q-scrollarea__thumb--invisible" : "")), a.horizontal.barClass = d(() => "q-scrollarea__bar q-scrollarea__bar--h absolute-bottom" + (a.horizontal.thumbHidden.value === !0 ? " q-scrollarea__bar--invisible" : ""));
1980
- const y = d(() => a.vertical.thumbHidden.value === !0 && a.horizontal.thumbHidden.value === !0 ? e.contentStyle : e.contentActiveStyle);
1979
+ })), a.horizontal.thumbClass = f(() => "q-scrollarea__thumb q-scrollarea__thumb--h absolute-bottom" + (a.horizontal.thumbHidden.value === !0 ? " q-scrollarea__thumb--invisible" : "")), a.horizontal.barClass = f(() => "q-scrollarea__bar q-scrollarea__bar--h absolute-bottom" + (a.horizontal.thumbHidden.value === !0 ? " q-scrollarea__bar--invisible" : ""));
1980
+ const y = f(() => a.vertical.thumbHidden.value === !0 && a.horizontal.thumbHidden.value === !0 ? e.contentStyle : e.contentActiveStyle);
1981
1981
  function E() {
1982
1982
  const h = {};
1983
- return ln.forEach((w) => {
1983
+ return nn.forEach((w) => {
1984
1984
  const R = a[w];
1985
1985
  Object.assign(h, {
1986
1986
  [w + "Position"]: R.position.value,
@@ -1991,27 +1991,27 @@ const ln = ["vertical", "horizontal"], Ut = {
1991
1991
  });
1992
1992
  }), h;
1993
1993
  }
1994
- const S = wl(() => {
1994
+ const S = xl(() => {
1995
1995
  const h = E();
1996
1996
  h.ref = s, l("scroll", h);
1997
1997
  }, 0);
1998
- function L(h, w, R) {
1999
- if (ln.includes(h) === !1) {
1998
+ function M(h, w, R) {
1999
+ if (nn.includes(h) === !1) {
2000
2000
  console.error("[QScrollArea]: wrong first param of setScrollPosition (vertical/horizontal)");
2001
2001
  return;
2002
2002
  }
2003
- (h === "vertical" ? Yl : Kt)(m.value, w, R);
2003
+ (h === "vertical" ? Gl : Qt)(m.value, w, R);
2004
2004
  }
2005
2005
  function B({ height: h, width: w }) {
2006
2006
  let R = !1;
2007
- r.vertical.value !== h && (r.vertical.value = h, R = !0), r.horizontal.value !== w && (r.horizontal.value = w, R = !0), R === !0 && M();
2007
+ r.vertical.value !== h && (r.vertical.value = h, R = !0), r.horizontal.value !== w && (r.horizontal.value = w, R = !0), R === !0 && L();
2008
2008
  }
2009
2009
  function q({ position: h }) {
2010
2010
  let w = !1;
2011
- a.vertical.position.value !== h.top && (a.vertical.position.value = h.top, w = !0), a.horizontal.position.value !== h.left && (a.horizontal.position.value = h.left, w = !0), w === !0 && M();
2011
+ a.vertical.position.value !== h.top && (a.vertical.position.value = h.top, w = !0), a.horizontal.position.value !== h.left && (a.horizontal.position.value = h.left, w = !0), w === !0 && L();
2012
2012
  }
2013
2013
  function P({ height: h, width: w }) {
2014
- a.horizontal.size.value !== w && (a.horizontal.size.value = w, M()), a.vertical.size.value !== h && (a.vertical.size.value = h, M());
2014
+ a.horizontal.size.value !== w && (a.horizontal.size.value = w, L()), a.vertical.size.value !== h && (a.vertical.size.value = h, L());
2015
2015
  }
2016
2016
  function T(h, w) {
2017
2017
  const R = a[w];
@@ -2021,13 +2021,13 @@ const ln = ["vertical", "horizontal"], Ut = {
2021
2021
  } else if (n.value !== !0)
2022
2022
  return;
2023
2023
  h.isFinal === !0 && (n.value = !1);
2024
- const J = Ut[w], _ = (R.size.value - r[w].value) / (r[w + "Inner"].value - R.thumbSize.value), I = h.distance[J.dist], le = b + (h.direction === J.dir ? 1 : -1) * I * _;
2024
+ const J = Xt[w], _ = (R.size.value - r[w].value) / (r[w + "Inner"].value - R.thumbSize.value), I = h.distance[J.dist], le = b + (h.direction === J.dir ? 1 : -1) * I * _;
2025
2025
  F(le, w);
2026
2026
  }
2027
2027
  function A(h, w) {
2028
2028
  const R = a[w];
2029
2029
  if (R.thumbHidden.value !== !0) {
2030
- const J = w === "vertical" ? e.verticalOffset[0] : e.horizontalOffset[0], _ = h[Ut[w].offset] - J, I = R.thumbStart.value - J;
2030
+ const J = w === "vertical" ? e.verticalOffset[0] : e.horizontalOffset[0], _ = h[Xt[w].offset] - J, I = R.thumbStart.value - J;
2031
2031
  if (_ < I || _ > I + R.thumbSize.value) {
2032
2032
  const le = _ - R.thumbSize.value / 2, p = rt(le / (r[w + "Inner"].value - R.thumbSize.value), 0, 1);
2033
2033
  F(p * Math.max(0, R.size.value - r[w].value), w);
@@ -2035,13 +2035,13 @@ const ln = ["vertical", "horizontal"], Ut = {
2035
2035
  R.ref.value !== null && R.ref.value.dispatchEvent(new MouseEvent(h.type, h));
2036
2036
  }
2037
2037
  }
2038
- function M() {
2038
+ function L() {
2039
2039
  o.value = !0, c !== null && clearTimeout(c), c = setTimeout(() => {
2040
2040
  c = null, o.value = !1;
2041
2041
  }, e.delay), e.onScroll !== void 0 && S();
2042
2042
  }
2043
2043
  function F(h, w) {
2044
- m.value[Ut[w].scroll] = h;
2044
+ m.value[Xt[w].scroll] = h;
2045
2045
  }
2046
2046
  let W = null;
2047
2047
  function Y() {
@@ -2049,16 +2049,16 @@ const ln = ["vertical", "horizontal"], Ut = {
2049
2049
  W = null, i.value = !0;
2050
2050
  }, s.$q.platform.is.ios ? 50 : 0);
2051
2051
  }
2052
- function U() {
2052
+ function X() {
2053
2053
  W !== null && (clearTimeout(W), W = null), i.value = !1;
2054
2054
  }
2055
2055
  let $ = null;
2056
- X(() => s.$q.lang.rtl, (h) => {
2057
- m.value !== null && Kt(
2056
+ Q(() => s.$q.lang.rtl, (h) => {
2057
+ m.value !== null && Qt(
2058
2058
  m.value,
2059
2059
  Math.abs(a.horizontal.position.value) * (h === !0 ? -1 : 1)
2060
2060
  );
2061
- }), ht(() => {
2061
+ }), bt(() => {
2062
2062
  $ = {
2063
2063
  top: a.vertical.position.value,
2064
2064
  left: a.horizontal.position.value
@@ -2066,7 +2066,7 @@ const ln = ["vertical", "horizontal"], Ut = {
2066
2066
  }), hl(() => {
2067
2067
  if ($ === null) return;
2068
2068
  const h = m.value;
2069
- h !== null && (Kt(h, $.left), Yl(h, $.top));
2069
+ h !== null && (Qt(h, $.left), Gl(h, $.top));
2070
2070
  }), de(S.cancel), Object.assign(s, {
2071
2071
  getScrollTarget: () => m.value,
2072
2072
  getScroll: E,
@@ -2078,32 +2078,32 @@ const ln = ["vertical", "horizontal"], Ut = {
2078
2078
  top: a.vertical.percentage.value,
2079
2079
  left: a.horizontal.percentage.value
2080
2080
  }),
2081
- setScrollPosition: L,
2081
+ setScrollPosition: M,
2082
2082
  setScrollPercentage(h, w, R) {
2083
- L(
2083
+ M(
2084
2084
  h,
2085
2085
  w * (a[h].size.value - r[h].value) * (h === "horizontal" && s.$q.lang.rtl === !0 ? -1 : 1),
2086
2086
  R
2087
2087
  );
2088
2088
  }
2089
2089
  });
2090
- const Q = {
2090
+ const U = {
2091
2091
  scroll: a,
2092
2092
  thumbVertDir: [[
2093
- en,
2093
+ tn,
2094
2094
  (h) => {
2095
2095
  T(h, "vertical");
2096
2096
  },
2097
2097
  void 0,
2098
- { vertical: !0, ...nn }
2098
+ { vertical: !0, ...on }
2099
2099
  ]],
2100
2100
  thumbHorizDir: [[
2101
- en,
2101
+ tn,
2102
2102
  (h) => {
2103
2103
  T(h, "horizontal");
2104
2104
  },
2105
2105
  void 0,
2106
- { horizontal: !0, ...nn }
2106
+ { horizontal: !0, ...on }
2107
2107
  ]],
2108
2108
  onVerticalMousedown(h) {
2109
2109
  A(h, "vertical");
@@ -2113,9 +2113,9 @@ const ln = ["vertical", "horizontal"], Ut = {
2113
2113
  }
2114
2114
  };
2115
2115
  return () => g("div", {
2116
- class: f.value,
2116
+ class: v.value,
2117
2117
  onMouseenter: Y,
2118
- onMouseleave: U
2118
+ onMouseleave: X
2119
2119
  }, [
2120
2120
  g("div", {
2121
2121
  ref: m,
@@ -2126,29 +2126,29 @@ const ln = ["vertical", "horizontal"], Ut = {
2126
2126
  class: "q-scrollarea__content absolute",
2127
2127
  style: y.value
2128
2128
  }, ke(t.default, [
2129
- g(Xl, {
2129
+ g(Yl, {
2130
2130
  debounce: 0,
2131
2131
  onResize: P
2132
2132
  })
2133
2133
  ])),
2134
- g(Xi, {
2134
+ g(Gi, {
2135
2135
  axis: "both",
2136
2136
  onScroll: q
2137
2137
  })
2138
2138
  ]),
2139
- g(Xl, {
2139
+ g(Yl, {
2140
2140
  debounce: 0,
2141
2141
  onResize: B
2142
2142
  }),
2143
- g(Fi, {
2144
- store: Q,
2143
+ g(Hi, {
2144
+ store: U,
2145
2145
  barStyle: e.barStyle,
2146
2146
  verticalBarStyle: e.verticalBarStyle,
2147
2147
  horizontalBarStyle: e.horizontalBarStyle
2148
2148
  })
2149
2149
  ]);
2150
2150
  }
2151
- }), er = re({
2151
+ }), lr = re({
2152
2152
  name: "QCard",
2153
2153
  props: {
2154
2154
  ...Ie,
@@ -2161,23 +2161,23 @@ const ln = ["vertical", "horizontal"], Ut = {
2161
2161
  bordered: Boolean
2162
2162
  },
2163
2163
  setup(e, { slots: t }) {
2164
- const { proxy: { $q: l } } = te(), o = He(e, l), n = d(
2164
+ const { proxy: { $q: l } } = te(), o = He(e, l), n = f(
2165
2165
  () => "q-card" + (o.value === !0 ? " q-card--dark q-dark" : "") + (e.bordered === !0 ? " q-card--bordered" : "") + (e.square === !0 ? " q-card--square no-border-radius" : "") + (e.flat === !0 ? " q-card--flat no-shadow" : "")
2166
2166
  );
2167
2167
  return () => g(e.tag, { class: n.value }, ge(t.default));
2168
2168
  }
2169
- }), tr = {
2169
+ }), nr = {
2170
2170
  /* SSR does not know about Element */
2171
2171
  target: {
2172
2172
  type: [Boolean, String, Element],
2173
2173
  default: !0
2174
2174
  },
2175
2175
  noParentEvent: Boolean
2176
- }, lr = {
2177
- ...tr,
2176
+ }, or = {
2177
+ ...nr,
2178
2178
  contextMenu: Boolean
2179
2179
  };
2180
- function nr({
2180
+ function ir({
2181
2181
  showing: e,
2182
2182
  avoidEmit: t,
2183
2183
  // required for QPopupProxy (true)
@@ -2186,46 +2186,46 @@ function nr({
2186
2186
  }) {
2187
2187
  const { props: o, proxy: n, emit: i } = te(), r = V(null);
2188
2188
  let a = null;
2189
- function s(f) {
2190
- return r.value === null ? !1 : f === void 0 || f.touches === void 0 || f.touches.length <= 1;
2189
+ function s(v) {
2190
+ return r.value === null ? !1 : v === void 0 || v.touches === void 0 || v.touches.length <= 1;
2191
2191
  }
2192
- const v = {};
2193
- l === void 0 && (Object.assign(v, {
2194
- hide(f) {
2195
- n.hide(f);
2192
+ const d = {};
2193
+ l === void 0 && (Object.assign(d, {
2194
+ hide(v) {
2195
+ n.hide(v);
2196
2196
  },
2197
- toggle(f) {
2198
- n.toggle(f), f.qAnchorHandled = !0;
2197
+ toggle(v) {
2198
+ n.toggle(v), v.qAnchorHandled = !0;
2199
2199
  },
2200
- toggleKey(f) {
2201
- Fe(f, 13) === !0 && v.toggle(f);
2200
+ toggleKey(v) {
2201
+ Fe(v, 13) === !0 && d.toggle(v);
2202
2202
  },
2203
- contextClick(f) {
2204
- n.hide(f), ve(f), fe(() => {
2205
- n.show(f), f.qAnchorHandled = !0;
2203
+ contextClick(v) {
2204
+ n.hide(v), ve(v), fe(() => {
2205
+ n.show(v), v.qAnchorHandled = !0;
2206
2206
  });
2207
2207
  },
2208
2208
  prevent: ve,
2209
- mobileTouch(f) {
2210
- if (v.mobileCleanup(f), s(f) !== !0) return;
2211
- n.hide(f), r.value.classList.add("non-selectable");
2212
- const y = f.target;
2213
- $e(v, "anchor", [
2209
+ mobileTouch(v) {
2210
+ if (d.mobileCleanup(v), s(v) !== !0) return;
2211
+ n.hide(v), r.value.classList.add("non-selectable");
2212
+ const y = v.target;
2213
+ $e(d, "anchor", [
2214
2214
  [y, "touchmove", "mobileCleanup", "passive"],
2215
2215
  [y, "touchend", "mobileCleanup", "passive"],
2216
2216
  [y, "touchcancel", "mobileCleanup", "passive"],
2217
2217
  [r.value, "contextmenu", "prevent", "notPassive"]
2218
2218
  ]), a = setTimeout(() => {
2219
- a = null, n.show(f), f.qAnchorHandled = !0;
2219
+ a = null, n.show(v), v.qAnchorHandled = !0;
2220
2220
  }, 300);
2221
2221
  },
2222
- mobileCleanup(f) {
2223
- r.value.classList.remove("non-selectable"), a !== null && (clearTimeout(a), a = null), e.value === !0 && f !== void 0 && no();
2222
+ mobileCleanup(v) {
2223
+ r.value.classList.remove("non-selectable"), a !== null && (clearTimeout(a), a = null), e.value === !0 && v !== void 0 && no();
2224
2224
  }
2225
- }), l = function(f = o.contextMenu) {
2225
+ }), l = function(v = o.contextMenu) {
2226
2226
  if (o.noParentEvent === !0 || r.value === null) return;
2227
2227
  let y;
2228
- f === !0 ? n.$q.platform.is.mobile === !0 ? y = [
2228
+ v === !0 ? n.$q.platform.is.mobile === !0 ? y = [
2229
2229
  [r.value, "touchstart", "mobileTouch", "passive"]
2230
2230
  ] : y = [
2231
2231
  [r.value, "mousedown", "hide", "passive"],
@@ -2233,13 +2233,13 @@ function nr({
2233
2233
  ] : y = [
2234
2234
  [r.value, "click", "toggle", "passive"],
2235
2235
  [r.value, "keyup", "toggleKey", "passive"]
2236
- ], $e(v, "anchor", y);
2236
+ ], $e(d, "anchor", y);
2237
2237
  });
2238
2238
  function c() {
2239
- ct(v, "anchor");
2239
+ ct(d, "anchor");
2240
2240
  }
2241
- function b(f) {
2242
- for (r.value = f; r.value.classList.contains("q-anchor--skip"); )
2241
+ function b(v) {
2242
+ for (r.value = v; r.value.classList.contains("q-anchor--skip"); )
2243
2243
  r.value = r.value.parentNode;
2244
2244
  l();
2245
2245
  }
@@ -2249,43 +2249,43 @@ function nr({
2249
2249
  else if (o.target === !0)
2250
2250
  b(n.$el.parentNode);
2251
2251
  else {
2252
- let f = o.target;
2252
+ let v = o.target;
2253
2253
  if (typeof o.target == "string")
2254
2254
  try {
2255
- f = document.querySelector(o.target);
2255
+ v = document.querySelector(o.target);
2256
2256
  } catch {
2257
- f = void 0;
2257
+ v = void 0;
2258
2258
  }
2259
- f != null ? (r.value = f.$el || f, l()) : (r.value = null, console.error(`Anchor: target "${o.target}" not found`));
2259
+ v != null ? (r.value = v.$el || v, l()) : (r.value = null, console.error(`Anchor: target "${o.target}" not found`));
2260
2260
  }
2261
2261
  }
2262
- return X(() => o.contextMenu, (f) => {
2263
- r.value !== null && (c(), l(f));
2264
- }), X(() => o.target, () => {
2262
+ return Q(() => o.contextMenu, (v) => {
2263
+ r.value !== null && (c(), l(v));
2264
+ }), Q(() => o.target, () => {
2265
2265
  r.value !== null && c(), m();
2266
- }), X(() => o.noParentEvent, (f) => {
2267
- r.value !== null && (f === !0 ? c() : l());
2268
- }), Ce(() => {
2266
+ }), Q(() => o.noParentEvent, (v) => {
2267
+ r.value !== null && (v === !0 ? c() : l());
2268
+ }), qe(() => {
2269
2269
  m(), t !== !0 && o.modelValue === !0 && r.value === null && i("update:modelValue", !1);
2270
2270
  }), de(() => {
2271
2271
  a !== null && clearTimeout(a), c();
2272
2272
  }), {
2273
2273
  anchorEl: r,
2274
2274
  canShow: s,
2275
- anchorEvents: v
2275
+ anchorEvents: d
2276
2276
  };
2277
2277
  }
2278
- function or(e, t) {
2278
+ function rr(e, t) {
2279
2279
  const l = V(null);
2280
2280
  let o;
2281
2281
  function n(a, s) {
2282
- const v = `${s !== void 0 ? "add" : "remove"}EventListener`, c = s !== void 0 ? s : o;
2283
- a !== window && a[v]("scroll", c, ae.passive), window[v]("scroll", c, ae.passive), o = s;
2282
+ const d = `${s !== void 0 ? "add" : "remove"}EventListener`, c = s !== void 0 ? s : o;
2283
+ a !== window && a[d]("scroll", c, ae.passive), window[d]("scroll", c, ae.passive), o = s;
2284
2284
  }
2285
2285
  function i() {
2286
2286
  l.value !== null && (n(l.value), l.value = null);
2287
2287
  }
2288
- const r = X(() => e.noParentEvent, () => {
2288
+ const r = Q(() => e.noParentEvent, () => {
2289
2289
  l.value !== null && (i(), t());
2290
2290
  });
2291
2291
  return de(r), {
@@ -2319,7 +2319,7 @@ function ro({
2319
2319
  processOnMount: i
2320
2320
  // optional
2321
2321
  }) {
2322
- const r = te(), { props: a, emit: s, proxy: v } = r;
2322
+ const r = te(), { props: a, emit: s, proxy: d } = r;
2323
2323
  let c;
2324
2324
  function b(B) {
2325
2325
  e.value === !0 ? y(B) : m(B);
@@ -2329,9 +2329,9 @@ function ro({
2329
2329
  const q = a["onUpdate:modelValue"] !== void 0;
2330
2330
  q === !0 && (s("update:modelValue", !0), c = B, fe(() => {
2331
2331
  c === B && (c = void 0);
2332
- })), (a.modelValue === null || q === !1) && f(B);
2332
+ })), (a.modelValue === null || q === !1) && v(B);
2333
2333
  }
2334
- function f(B) {
2334
+ function v(B) {
2335
2335
  e.value !== !0 && (e.value = !0, s("beforeShow", B), o !== void 0 ? o(B) : s("show", B));
2336
2336
  }
2337
2337
  function y(B) {
@@ -2345,65 +2345,65 @@ function ro({
2345
2345
  e.value !== !1 && (e.value = !1, s("beforeHide", B), n !== void 0 ? n(B) : s("hide", B));
2346
2346
  }
2347
2347
  function S(B) {
2348
- a.disable === !0 && B === !0 ? a["onUpdate:modelValue"] !== void 0 && s("update:modelValue", !1) : B === !0 !== e.value && (B === !0 ? f : E)(c);
2348
+ a.disable === !0 && B === !0 ? a["onUpdate:modelValue"] !== void 0 && s("update:modelValue", !1) : B === !0 !== e.value && (B === !0 ? v : E)(c);
2349
2349
  }
2350
- X(() => a.modelValue, S), l !== void 0 && Rn(r) === !0 && X(() => v.$route.fullPath, () => {
2350
+ Q(() => a.modelValue, S), l !== void 0 && Fn(r) === !0 && Q(() => d.$route.fullPath, () => {
2351
2351
  l.value === !0 && e.value === !0 && y();
2352
- }), Ce(() => {
2352
+ }), qe(() => {
2353
2353
  S(a.modelValue);
2354
2354
  });
2355
- const L = { show: m, hide: y, toggle: b };
2356
- return Object.assign(v, L), L;
2355
+ const M = { show: m, hide: y, toggle: b };
2356
+ return Object.assign(d, M), M;
2357
2357
  }
2358
- let Me = [], mt = [];
2358
+ let Le = [], ht = [];
2359
2359
  function ao(e) {
2360
- mt = mt.filter((t) => t !== e);
2360
+ ht = ht.filter((t) => t !== e);
2361
2361
  }
2362
- function ir(e) {
2363
- ao(e), mt.push(e);
2362
+ function ar(e) {
2363
+ ao(e), ht.push(e);
2364
2364
  }
2365
- function rn(e) {
2366
- ao(e), mt.length === 0 && Me.length !== 0 && (Me[Me.length - 1](), Me = []);
2365
+ function an(e) {
2366
+ ao(e), ht.length === 0 && Le.length !== 0 && (Le[Le.length - 1](), Le = []);
2367
2367
  }
2368
- function xl(e) {
2369
- mt.length === 0 ? e() : Me.push(e);
2368
+ function kl(e) {
2369
+ ht.length === 0 ? e() : Le.push(e);
2370
2370
  }
2371
- function rr(e) {
2372
- Me = Me.filter((t) => t !== e);
2371
+ function ur(e) {
2372
+ Le = Le.filter((t) => t !== e);
2373
2373
  }
2374
- const an = {};
2375
- let ar = 1, ur = document.body;
2376
- function sr(e, t) {
2374
+ const un = {};
2375
+ let sr = 1, cr = document.body;
2376
+ function dr(e, t) {
2377
2377
  const l = document.createElement("div");
2378
- if (l.id = t !== void 0 ? `q-portal--${t}--${ar++}` : e, an.globalNodes !== void 0) {
2379
- const o = an.globalNodes.class;
2378
+ if (l.id = t !== void 0 ? `q-portal--${t}--${sr++}` : e, un.globalNodes !== void 0) {
2379
+ const o = un.globalNodes.class;
2380
2380
  o !== void 0 && (l.className = o);
2381
2381
  }
2382
- return ur.appendChild(l), l;
2382
+ return cr.appendChild(l), l;
2383
2383
  }
2384
- function cr(e) {
2384
+ function fr(e) {
2385
2385
  e.remove();
2386
2386
  }
2387
2387
  const dt = [];
2388
- function dr(e, t) {
2388
+ function vr(e, t) {
2389
2389
  do {
2390
2390
  if (e.$options.name === "QMenu") {
2391
2391
  if (e.hide(t), e.$props.separateClosePopup === !0)
2392
- return Nt(e);
2392
+ return Wt(e);
2393
2393
  } else if (e.__qPortal === !0) {
2394
- const l = Nt(e);
2394
+ const l = Wt(e);
2395
2395
  return (l == null ? void 0 : l.$options.name) === "QPopupProxy" ? (e.hide(t), l) : e;
2396
2396
  }
2397
- e = Nt(e);
2397
+ e = Wt(e);
2398
2398
  } while (e != null);
2399
2399
  }
2400
- const fr = re({
2400
+ const mr = re({
2401
2401
  name: "QPortal",
2402
2402
  setup(e, { slots: t }) {
2403
2403
  return () => t.default();
2404
2404
  }
2405
2405
  });
2406
- function vr(e) {
2406
+ function hr(e) {
2407
2407
  for (e = e.parent; e != null; ) {
2408
2408
  if (e.type.name === "QGlobalDialog")
2409
2409
  return !0;
@@ -2416,28 +2416,28 @@ function vr(e) {
2416
2416
  function uo(e, t, l, o) {
2417
2417
  const n = V(!1), i = V(!1);
2418
2418
  let r = null;
2419
- const a = {}, s = o === "dialog" && vr(e);
2420
- function v(b) {
2419
+ const a = {}, s = o === "dialog" && hr(e);
2420
+ function d(b) {
2421
2421
  if (b === !0) {
2422
- rn(a), i.value = !0;
2422
+ an(a), i.value = !0;
2423
2423
  return;
2424
2424
  }
2425
- i.value = !1, n.value === !1 && (s === !1 && r === null && (r = sr(!1, o)), n.value = !0, dt.push(e.proxy), ir(a));
2425
+ i.value = !1, n.value === !1 && (s === !1 && r === null && (r = dr(!1, o)), n.value = !0, dt.push(e.proxy), ar(a));
2426
2426
  }
2427
2427
  function c(b) {
2428
2428
  if (i.value = !1, b !== !0) return;
2429
- rn(a), n.value = !1;
2429
+ an(a), n.value = !1;
2430
2430
  const m = dt.indexOf(e.proxy);
2431
- m !== -1 && dt.splice(m, 1), r !== null && (cr(r), r = null);
2431
+ m !== -1 && dt.splice(m, 1), r !== null && (fr(r), r = null);
2432
2432
  }
2433
- return No(() => {
2433
+ return Wo(() => {
2434
2434
  c(!0);
2435
2435
  }), e.proxy.__qPortal = !0, gl(e.proxy, "contentEl", () => t.value), {
2436
- showPortal: v,
2436
+ showPortal: d,
2437
2437
  hidePortal: c,
2438
2438
  portalIsActive: n,
2439
2439
  portalIsAccessible: i,
2440
- renderPortal: () => s === !0 ? l() : n.value === !0 ? [g(Wo, { to: r }, g(fr, l))] : void 0
2440
+ renderPortal: () => s === !0 ? l() : n.value === !0 ? [g(Ko, { to: r }, g(mr, l))] : void 0
2441
2441
  };
2442
2442
  }
2443
2443
  const so = {
@@ -2458,7 +2458,7 @@ function co(e, t = () => {
2458
2458
  }, l = () => {
2459
2459
  }) {
2460
2460
  return {
2461
- transitionProps: d(() => {
2461
+ transitionProps: f(() => {
2462
2462
  const o = `q-transition--${e.transitionShow || t()}`, n = `q-transition--${e.transitionHide || l()}`;
2463
2463
  return {
2464
2464
  appear: !0,
@@ -2470,7 +2470,7 @@ function co(e, t = () => {
2470
2470
  leaveToClass: `${n}-leave-to`
2471
2471
  };
2472
2472
  }),
2473
- transitionStyle: d(() => `--q-transition-duration: ${e.transitionDuration}ms`)
2473
+ transitionStyle: f(() => `--q-transition-duration: ${e.transitionDuration}ms`)
2474
2474
  };
2475
2475
  }
2476
2476
  function fo() {
@@ -2479,11 +2479,11 @@ function fo() {
2479
2479
  function l() {
2480
2480
  e = void 0;
2481
2481
  }
2482
- return ht(l), de(l), {
2482
+ return bt(l), de(l), {
2483
2483
  removeTick: l,
2484
2484
  registerTick(o) {
2485
2485
  e = o, fe(() => {
2486
- e === o && (Fn(t) === !1 && e(), e = void 0);
2486
+ e === o && (In(t) === !1 && e(), e = void 0);
2487
2487
  });
2488
2488
  }
2489
2489
  };
@@ -2494,35 +2494,35 @@ function vo() {
2494
2494
  function l() {
2495
2495
  e !== null && (clearTimeout(e), e = null);
2496
2496
  }
2497
- return ht(l), de(l), {
2497
+ return bt(l), de(l), {
2498
2498
  removeTimeout: l,
2499
2499
  registerTimeout(o, n) {
2500
- l(), Fn(t) === !1 && (e = setTimeout(() => {
2500
+ l(), In(t) === !1 && (e = setTimeout(() => {
2501
2501
  e = null, o();
2502
2502
  }, n));
2503
2503
  }
2504
2504
  };
2505
2505
  }
2506
- const Le = [];
2506
+ const Me = [];
2507
2507
  let lt;
2508
- function mr(e) {
2508
+ function gr(e) {
2509
2509
  lt = e.keyCode === 27;
2510
2510
  }
2511
- function hr() {
2511
+ function br() {
2512
2512
  lt === !0 && (lt = !1);
2513
2513
  }
2514
- function gr(e) {
2515
- lt === !0 && (lt = !1, Fe(e, 27) === !0 && Le[Le.length - 1](e));
2514
+ function pr(e) {
2515
+ lt === !0 && (lt = !1, Fe(e, 27) === !0 && Me[Me.length - 1](e));
2516
2516
  }
2517
2517
  function mo(e) {
2518
- window[e]("keydown", mr), window[e]("blur", hr), window[e]("keyup", gr), lt = !1;
2518
+ window[e]("keydown", gr), window[e]("blur", br), window[e]("keyup", pr), lt = !1;
2519
2519
  }
2520
2520
  function ho(e) {
2521
- ue.is.desktop === !0 && (Le.push(e), Le.length === 1 && mo("addEventListener"));
2521
+ ue.is.desktop === !0 && (Me.push(e), Me.length === 1 && mo("addEventListener"));
2522
2522
  }
2523
- function Vt(e) {
2524
- const t = Le.indexOf(e);
2525
- t !== -1 && (Le.splice(t, 1), Le.length === 0 && mo("removeEventListener"));
2523
+ function At(e) {
2524
+ const t = Me.indexOf(e);
2525
+ t !== -1 && (Me.splice(t, 1), Me.length === 0 && mo("removeEventListener"));
2526
2526
  }
2527
2527
  const Pe = [];
2528
2528
  function go(e) {
@@ -2535,8 +2535,8 @@ function dl(e) {
2535
2535
  const t = Pe.indexOf(e);
2536
2536
  t !== -1 && (Pe.splice(t, 1), Pe.length === 0 && document.body.removeEventListener("focusin", go));
2537
2537
  }
2538
- const { notPassiveCapture: Tt } = ae, Re = [];
2539
- function At(e) {
2538
+ const { notPassiveCapture: Ot } = ae, Re = [];
2539
+ function $t(e) {
2540
2540
  const t = e.target;
2541
2541
  if (t === void 0 || t.nodeType === 8 || t.classList.contains("no-pointer-events") === !0) return;
2542
2542
  let l = dt.length - 1;
@@ -2559,19 +2559,19 @@ function At(e) {
2559
2559
  return;
2560
2560
  }
2561
2561
  }
2562
- function br(e) {
2563
- Re.push(e), Re.length === 1 && (document.addEventListener("mousedown", At, Tt), document.addEventListener("touchstart", At, Tt));
2562
+ function yr(e) {
2563
+ Re.push(e), Re.length === 1 && (document.addEventListener("mousedown", $t, Ot), document.addEventListener("touchstart", $t, Ot));
2564
2564
  }
2565
- function un(e) {
2565
+ function sn(e) {
2566
2566
  const t = Re.findIndex((l) => l === e);
2567
- t !== -1 && (Re.splice(t, 1), Re.length === 0 && (document.removeEventListener("mousedown", At, Tt), document.removeEventListener("touchstart", At, Tt)));
2567
+ t !== -1 && (Re.splice(t, 1), Re.length === 0 && (document.removeEventListener("mousedown", $t, Ot), document.removeEventListener("touchstart", $t, Ot)));
2568
2568
  }
2569
- let sn, cn;
2570
- function dn(e) {
2569
+ let cn, dn;
2570
+ function fn(e) {
2571
2571
  const t = e.split(" ");
2572
2572
  return t.length !== 2 ? !1 : ["top", "center", "bottom"].includes(t[0]) !== !0 ? (console.error("Anchor/Self position must start with one of top/center/bottom"), !1) : ["left", "middle", "right", "start", "end"].includes(t[1]) !== !0 ? (console.error("Anchor/Self position must end with one of left/middle/right/start/end"), !1) : !0;
2573
2573
  }
2574
- function pr(e) {
2574
+ function Sr(e) {
2575
2575
  return e ? !(e.length !== 2 || typeof e[0] != "number" || typeof e[1] != "number") : !0;
2576
2576
  }
2577
2577
  const fl = {
@@ -2583,14 +2583,14 @@ const fl = {
2583
2583
  ["left", "middle", "right"].forEach((e) => {
2584
2584
  fl[`${e}#ltr`] = e, fl[`${e}#rtl`] = e;
2585
2585
  });
2586
- function fn(e, t) {
2586
+ function vn(e, t) {
2587
2587
  const l = e.split(" ");
2588
2588
  return {
2589
2589
  vertical: l[0],
2590
2590
  horizontal: fl[`${l[1]}#${t === !0 ? "rtl" : "ltr"}`]
2591
2591
  };
2592
2592
  }
2593
- function yr(e, t) {
2593
+ function wr(e, t) {
2594
2594
  let { top: l, left: o, right: n, bottom: i, width: r, height: a } = e.getBoundingClientRect();
2595
2595
  return t !== void 0 && (l -= t[1], o -= t[0], i += t[1], n += t[0], r += t[0], a += t[1]), {
2596
2596
  top: l,
@@ -2603,7 +2603,7 @@ function yr(e, t) {
2603
2603
  center: l + (i - l) / 2
2604
2604
  };
2605
2605
  }
2606
- function Sr(e, t, l) {
2606
+ function xr(e, t, l) {
2607
2607
  let { top: o, left: n } = e.getBoundingClientRect();
2608
2608
  return o += t.top, n += t.left, l !== void 0 && (o += l[1], n += l[0]), {
2609
2609
  top: o,
@@ -2616,7 +2616,7 @@ function Sr(e, t, l) {
2616
2616
  center: o
2617
2617
  };
2618
2618
  }
2619
- function wr(e, t) {
2619
+ function kr(e, t) {
2620
2620
  return {
2621
2621
  top: 0,
2622
2622
  center: t / 2,
@@ -2626,7 +2626,7 @@ function wr(e, t) {
2626
2626
  right: e
2627
2627
  };
2628
2628
  }
2629
- function vn(e, t, l, o) {
2629
+ function mn(e, t, l, o) {
2630
2630
  return {
2631
2631
  top: e[l.vertical] - t[o.vertical],
2632
2632
  left: e[l.horizontal] - t[o.horizontal]
@@ -2648,15 +2648,15 @@ function po(e, t = 0) {
2648
2648
  selfOrigin: r,
2649
2649
  absoluteOffset: a,
2650
2650
  fit: s,
2651
- cover: v,
2651
+ cover: d,
2652
2652
  maxHeight: c,
2653
2653
  maxWidth: b
2654
2654
  } = e;
2655
2655
  if (ue.is.ios === !0 && window.visualViewport !== void 0) {
2656
- const A = document.body.style, { offsetLeft: M, offsetTop: F } = window.visualViewport;
2657
- M !== sn && (A.setProperty("--q-pe-left", M + "px"), sn = M), F !== cn && (A.setProperty("--q-pe-top", F + "px"), cn = F);
2656
+ const A = document.body.style, { offsetLeft: L, offsetTop: F } = window.visualViewport;
2657
+ L !== cn && (A.setProperty("--q-pe-left", L + "px"), cn = L), F !== dn && (A.setProperty("--q-pe-top", F + "px"), dn = F);
2658
2658
  }
2659
- const { scrollLeft: m, scrollTop: f } = l, y = a === void 0 ? yr(n, v === !0 ? [0, 0] : o) : Sr(n, a, o);
2659
+ const { scrollLeft: m, scrollTop: v } = l, y = a === void 0 ? wr(n, d === !0 ? [0, 0] : o) : xr(n, a, o);
2660
2660
  Object.assign(l.style, {
2661
2661
  top: 0,
2662
2662
  left: 0,
@@ -2666,36 +2666,36 @@ function po(e, t = 0) {
2666
2666
  maxHeight: c,
2667
2667
  visibility: "visible"
2668
2668
  });
2669
- const { offsetWidth: E, offsetHeight: S } = l, { elWidth: L, elHeight: B } = s === !0 || v === !0 ? { elWidth: Math.max(y.width, E), elHeight: v === !0 ? Math.max(y.height, S) : S } : { elWidth: E, elHeight: S };
2669
+ const { offsetWidth: E, offsetHeight: S } = l, { elWidth: M, elHeight: B } = s === !0 || d === !0 ? { elWidth: Math.max(y.width, E), elHeight: d === !0 ? Math.max(y.height, S) : S } : { elWidth: E, elHeight: S };
2670
2670
  let q = { maxWidth: b, maxHeight: c };
2671
- (s === !0 || v === !0) && (q.minWidth = y.width + "px", v === !0 && (q.minHeight = y.height + "px")), Object.assign(l.style, q);
2672
- const P = wr(L, B);
2673
- let T = vn(y, P, i, r);
2671
+ (s === !0 || d === !0) && (q.minWidth = y.width + "px", d === !0 && (q.minHeight = y.height + "px")), Object.assign(l.style, q);
2672
+ const P = kr(M, B);
2673
+ let T = mn(y, P, i, r);
2674
2674
  if (a === void 0 || o === void 0)
2675
- Xt(T, y, P, i, r);
2675
+ Yt(T, y, P, i, r);
2676
2676
  else {
2677
- const { top: A, left: M } = T;
2678
- Xt(T, y, P, i, r);
2677
+ const { top: A, left: L } = T;
2678
+ Yt(T, y, P, i, r);
2679
2679
  let F = !1;
2680
2680
  if (T.top !== A) {
2681
2681
  F = !0;
2682
2682
  const W = 2 * o[1];
2683
2683
  y.center = y.top -= W, y.bottom -= W + 2;
2684
2684
  }
2685
- if (T.left !== M) {
2685
+ if (T.left !== L) {
2686
2686
  F = !0;
2687
2687
  const W = 2 * o[0];
2688
2688
  y.middle = y.left -= W, y.right -= W + 2;
2689
2689
  }
2690
- F === !0 && (T = vn(y, P, i, r), Xt(T, y, P, i, r));
2690
+ F === !0 && (T = mn(y, P, i, r), Yt(T, y, P, i, r));
2691
2691
  }
2692
2692
  q = {
2693
2693
  top: T.top + "px",
2694
2694
  left: T.left + "px"
2695
- }, T.maxHeight !== void 0 && (q.maxHeight = T.maxHeight + "px", y.height > T.maxHeight && (q.minHeight = q.maxHeight)), T.maxWidth !== void 0 && (q.maxWidth = T.maxWidth + "px", y.width > T.maxWidth && (q.minWidth = q.maxWidth)), Object.assign(l.style, q), l.scrollTop !== f && (l.scrollTop = f), l.scrollLeft !== m && (l.scrollLeft = m);
2695
+ }, T.maxHeight !== void 0 && (q.maxHeight = T.maxHeight + "px", y.height > T.maxHeight && (q.minHeight = q.maxHeight)), T.maxWidth !== void 0 && (q.maxWidth = T.maxWidth + "px", y.width > T.maxWidth && (q.minWidth = q.maxWidth)), Object.assign(l.style, q), l.scrollTop !== v && (l.scrollTop = v), l.scrollLeft !== m && (l.scrollLeft = m);
2696
2696
  }
2697
- function Xt(e, t, l, o, n) {
2698
- const i = l.bottom, r = l.right, a = Ki(), s = window.innerHeight - a, v = document.body.clientWidth;
2697
+ function Yt(e, t, l, o, n) {
2698
+ const i = l.bottom, r = l.right, a = Ui(), s = window.innerHeight - a, d = document.body.clientWidth;
2699
2699
  if (e.top < 0 || e.top + i > s)
2700
2700
  if (n.vertical === "center")
2701
2701
  e.top = t[o.vertical] > s / 2 ? Math.max(0, s - i) : 0, e.maxHeight = Math.min(i, s);
@@ -2710,12 +2710,12 @@ function Xt(e, t, l, o, n) {
2710
2710
  0,
2711
2711
  o.vertical === "center" ? t.center : o.vertical === n.vertical ? t.top : t.bottom
2712
2712
  ), e.maxHeight = Math.min(i, s - e.top);
2713
- if (e.left < 0 || e.left + r > v)
2714
- if (e.maxWidth = Math.min(r, v), n.horizontal === "middle")
2715
- e.left = t[o.horizontal] > v / 2 ? Math.max(0, v - r) : 0;
2716
- else if (t[o.horizontal] > v / 2) {
2713
+ if (e.left < 0 || e.left + r > d)
2714
+ if (e.maxWidth = Math.min(r, d), n.horizontal === "middle")
2715
+ e.left = t[o.horizontal] > d / 2 ? Math.max(0, d - r) : 0;
2716
+ else if (t[o.horizontal] > d / 2) {
2717
2717
  const c = Math.min(
2718
- v,
2718
+ d,
2719
2719
  o.horizontal === "middle" ? t.middle : o.horizontal === n.horizontal ? t.right : t.left
2720
2720
  );
2721
2721
  e.maxWidth = Math.min(r, c), e.left = Math.max(0, c - e.maxWidth);
@@ -2723,13 +2723,13 @@ function Xt(e, t, l, o, n) {
2723
2723
  e.left = Math.max(
2724
2724
  0,
2725
2725
  o.horizontal === "middle" ? t.middle : o.horizontal === n.horizontal ? t.left : t.right
2726
- ), e.maxWidth = Math.min(r, v - e.left);
2726
+ ), e.maxWidth = Math.min(r, d - e.left);
2727
2727
  }
2728
2728
  const yo = re({
2729
2729
  name: "QMenu",
2730
2730
  inheritAttrs: !1,
2731
2731
  props: {
2732
- ...lr,
2732
+ ...or,
2733
2733
  ...oo,
2734
2734
  ...Ie,
2735
2735
  ...so,
@@ -2745,15 +2745,15 @@ const yo = re({
2745
2745
  square: Boolean,
2746
2746
  anchor: {
2747
2747
  type: String,
2748
- validator: dn
2748
+ validator: fn
2749
2749
  },
2750
2750
  self: {
2751
2751
  type: String,
2752
- validator: dn
2752
+ validator: fn
2753
2753
  },
2754
2754
  offset: {
2755
2755
  type: Array,
2756
- validator: pr
2756
+ validator: Sr
2757
2757
  },
2758
2758
  scrollTarget: Jn,
2759
2759
  touchPosition: Boolean,
@@ -2773,73 +2773,73 @@ const yo = re({
2773
2773
  ],
2774
2774
  setup(e, { slots: t, emit: l, attrs: o }) {
2775
2775
  let n = null, i, r, a;
2776
- const s = te(), { proxy: v } = s, { $q: c } = v, b = V(null), m = V(!1), f = d(
2776
+ const s = te(), { proxy: d } = s, { $q: c } = d, b = V(null), m = V(!1), v = f(
2777
2777
  () => e.persistent !== !0 && e.noRouteDismiss !== !0
2778
- ), y = He(e, c), { registerTick: E, removeTick: S } = fo(), { registerTimeout: L } = vo(), { transitionProps: B, transitionStyle: q } = co(e), { localScrollTarget: P, changeScrollEvent: T, unconfigureScrollTarget: A } = or(e, D), { anchorEl: M, canShow: F } = nr({ showing: m }), { hide: W } = ro({
2778
+ ), y = He(e, c), { registerTick: E, removeTick: S } = fo(), { registerTimeout: M } = vo(), { transitionProps: B, transitionStyle: q } = co(e), { localScrollTarget: P, changeScrollEvent: T, unconfigureScrollTarget: A } = rr(e, D), { anchorEl: L, canShow: F } = ir({ showing: m }), { hide: W } = ro({
2779
2779
  showing: m,
2780
2780
  canShow: F,
2781
2781
  handleShow: le,
2782
2782
  handleHide: p,
2783
- hideOnRouteChange: f,
2783
+ hideOnRouteChange: v,
2784
2784
  processOnMount: !0
2785
- }), { showPortal: Y, hidePortal: U, renderPortal: $ } = uo(s, b, ee, "menu"), Q = {
2786
- anchorEl: M,
2785
+ }), { showPortal: Y, hidePortal: X, renderPortal: $ } = uo(s, b, ee, "menu"), U = {
2786
+ anchorEl: L,
2787
2787
  innerRef: b,
2788
2788
  onClickOutside(x) {
2789
2789
  if (e.persistent !== !0 && m.value === !0)
2790
2790
  return W(x), // always prevent touch event
2791
2791
  (x.type === "touchstart" || x.target.classList.contains("q-dialog__backdrop")) && ie(x), !0;
2792
2792
  }
2793
- }, h = d(
2794
- () => fn(
2793
+ }, h = f(
2794
+ () => vn(
2795
2795
  e.anchor || (e.cover === !0 ? "center middle" : "bottom start"),
2796
2796
  c.lang.rtl
2797
2797
  )
2798
- ), w = d(() => e.cover === !0 ? h.value : fn(e.self || "top start", c.lang.rtl)), R = d(
2798
+ ), w = f(() => e.cover === !0 ? h.value : vn(e.self || "top start", c.lang.rtl)), R = f(
2799
2799
  () => (e.square === !0 ? " q-menu--square" : "") + (y.value === !0 ? " q-menu--dark q-dark" : "")
2800
- ), J = d(() => e.autoClose === !0 ? { onClick: O } : {}), _ = d(
2800
+ ), J = f(() => e.autoClose === !0 ? { onClick: O } : {}), _ = f(
2801
2801
  () => m.value === !0 && e.persistent !== !0
2802
2802
  );
2803
- X(_, (x) => {
2804
- x === !0 ? (ho(j), br(Q)) : (Vt(j), un(Q));
2803
+ Q(_, (x) => {
2804
+ x === !0 ? (ho(j), yr(U)) : (At(j), sn(U));
2805
2805
  });
2806
2806
  function I() {
2807
- xl(() => {
2807
+ kl(() => {
2808
2808
  let x = b.value;
2809
2809
  x && x.contains(document.activeElement) !== !0 && (x = x.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]") || x.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]") || x.querySelector("[autofocus], [data-autofocus]") || x, x.focus({ preventScroll: !0 }));
2810
2810
  });
2811
2811
  }
2812
2812
  function le(x) {
2813
2813
  if (n = e.noRefocus === !1 ? document.activeElement : null, bo(N), Y(), D(), i = void 0, x !== void 0 && (e.touchPosition || e.contextMenu)) {
2814
- const se = vt(x);
2814
+ const se = mt(x);
2815
2815
  if (se.left !== void 0) {
2816
- const { top: we, left: De } = M.value.getBoundingClientRect();
2816
+ const { top: we, left: De } = L.value.getBoundingClientRect();
2817
2817
  i = { left: se.left - De, top: se.top - we };
2818
2818
  }
2819
2819
  }
2820
- r === void 0 && (r = X(
2820
+ r === void 0 && (r = Q(
2821
2821
  () => c.screen.width + "|" + c.screen.height + "|" + e.self + "|" + e.anchor + "|" + c.lang.rtl,
2822
2822
  H
2823
2823
  )), e.noFocus !== !0 && document.activeElement.blur(), E(() => {
2824
2824
  H(), e.noFocus !== !0 && I();
2825
- }), L(() => {
2825
+ }), M(() => {
2826
2826
  c.platform.is.ios === !0 && (a = e.autoClose, b.value.click()), H(), Y(!0), l("show", x);
2827
2827
  }, e.transitionDuration);
2828
2828
  }
2829
2829
  function p(x) {
2830
- S(), U(), k(!0), n !== null && // menu was hidden from code or ESC plugin
2831
- (x === void 0 || x.qClickOutside !== !0) && ((((x == null ? void 0 : x.type.indexOf("key")) === 0 ? n.closest('[tabindex]:not([tabindex^="-"])') : void 0) || n).focus(), n = null), L(() => {
2832
- U(!0), l("hide", x);
2830
+ S(), X(), k(!0), n !== null && // menu was hidden from code or ESC plugin
2831
+ (x === void 0 || x.qClickOutside !== !0) && ((((x == null ? void 0 : x.type.indexOf("key")) === 0 ? n.closest('[tabindex]:not([tabindex^="-"])') : void 0) || n).focus(), n = null), M(() => {
2832
+ X(!0), l("hide", x);
2833
2833
  }, e.transitionDuration);
2834
2834
  }
2835
2835
  function k(x) {
2836
- i = void 0, r !== void 0 && (r(), r = void 0), (x === !0 || m.value === !0) && (dl(N), A(), un(Q), Vt(j)), x !== !0 && (n = null);
2836
+ i = void 0, r !== void 0 && (r(), r = void 0), (x === !0 || m.value === !0) && (dl(N), A(), sn(U), At(j)), x !== !0 && (n = null);
2837
2837
  }
2838
2838
  function D() {
2839
- (M.value !== null || e.scrollTarget !== void 0) && (P.value = eo(M.value, e.scrollTarget), T(P.value, H));
2839
+ (L.value !== null || e.scrollTarget !== void 0) && (P.value = eo(L.value, e.scrollTarget), T(P.value, H));
2840
2840
  }
2841
2841
  function O(x) {
2842
- a !== !0 ? (dr(v, x), l("click", x)) : a = !1;
2842
+ a !== !0 ? (vr(d, x), l("click", x)) : a = !1;
2843
2843
  }
2844
2844
  function N(x) {
2845
2845
  _.value === !0 && e.noFocus !== !0 && Kn(b.value, x.target) !== !0 && I();
@@ -2851,7 +2851,7 @@ const yo = re({
2851
2851
  po({
2852
2852
  targetEl: b.value,
2853
2853
  offset: e.offset,
2854
- anchorEl: M.value,
2854
+ anchorEl: L.value,
2855
2855
  anchorOrigin: h.value,
2856
2856
  selfOrigin: w.value,
2857
2857
  absoluteOffset: i,
@@ -2863,7 +2863,7 @@ const yo = re({
2863
2863
  }
2864
2864
  function ee() {
2865
2865
  return g(
2866
- ft,
2866
+ vt,
2867
2867
  B.value,
2868
2868
  () => m.value === !0 ? g("div", {
2869
2869
  role: "menu",
@@ -2882,14 +2882,14 @@ const yo = re({
2882
2882
  }, ge(t.default)) : null
2883
2883
  );
2884
2884
  }
2885
- return de(k), Object.assign(v, { focus: I, updatePosition: H }), $;
2885
+ return de(k), Object.assign(d, { focus: I, updatePosition: H }), $;
2886
2886
  }
2887
2887
  });
2888
- let Yt, xt = 0;
2888
+ let Gt, Ct = 0;
2889
2889
  const ce = new Array(256);
2890
2890
  for (let e = 0; e < 256; e++)
2891
2891
  ce[e] = (e + 256).toString(16).substring(1);
2892
- const xr = (() => {
2892
+ const Cr = (() => {
2893
2893
  const e = typeof crypto < "u" ? crypto : typeof window < "u" ? window.crypto || window.msCrypto : void 0;
2894
2894
  if (e !== void 0) {
2895
2895
  if (e.randomBytes !== void 0)
@@ -2906,31 +2906,31 @@ const xr = (() => {
2906
2906
  l.push(Math.floor(Math.random() * 256));
2907
2907
  return l;
2908
2908
  };
2909
- })(), mn = 4096;
2909
+ })(), hn = 4096;
2910
2910
  function vl() {
2911
- (Yt === void 0 || xt + 16 > mn) && (xt = 0, Yt = xr(mn));
2912
- const e = Array.prototype.slice.call(Yt, xt, xt += 16);
2911
+ (Gt === void 0 || Ct + 16 > hn) && (Ct = 0, Gt = Cr(hn));
2912
+ const e = Array.prototype.slice.call(Gt, Ct, Ct += 16);
2913
2913
  return e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128, ce[e[0]] + ce[e[1]] + ce[e[2]] + ce[e[3]] + "-" + ce[e[4]] + ce[e[5]] + "-" + ce[e[6]] + ce[e[7]] + "-" + ce[e[8]] + ce[e[9]] + "-" + ce[e[10]] + ce[e[11]] + ce[e[12]] + ce[e[13]] + ce[e[14]] + ce[e[15]];
2914
2914
  }
2915
- function kr(e) {
2915
+ function qr(e) {
2916
2916
  return e ?? null;
2917
2917
  }
2918
- function hn(e, t) {
2918
+ function gn(e, t) {
2919
2919
  return e ?? (t === !0 ? `f_${vl()}` : null);
2920
2920
  }
2921
- function Cr({ getValue: e, required: t = !0 } = {}) {
2921
+ function _r({ getValue: e, required: t = !0 } = {}) {
2922
2922
  if (tt.value === !0) {
2923
- const l = e !== void 0 ? V(kr(e())) : V(null);
2924
- return t === !0 && l.value === null && Ce(() => {
2923
+ const l = e !== void 0 ? V(qr(e())) : V(null);
2924
+ return t === !0 && l.value === null && qe(() => {
2925
2925
  l.value = `f_${vl()}`;
2926
- }), e !== void 0 && X(e, (o) => {
2927
- l.value = hn(o, t);
2926
+ }), e !== void 0 && Q(e, (o) => {
2927
+ l.value = gn(o, t);
2928
2928
  }), l;
2929
2929
  }
2930
- return e !== void 0 ? d(() => hn(e(), t)) : V(`f_${vl()}`);
2930
+ return e !== void 0 ? f(() => gn(e(), t)) : V(`f_${vl()}`);
2931
2931
  }
2932
- const gn = /^on[A-Z]/;
2933
- function qr() {
2932
+ const bn = /^on[A-Z]/;
2933
+ function zr() {
2934
2934
  const { attrs: e, vnode: t } = te(), l = {
2935
2935
  listeners: V({}),
2936
2936
  attributes: V({})
@@ -2938,28 +2938,28 @@ function qr() {
2938
2938
  function o() {
2939
2939
  const n = {}, i = {};
2940
2940
  for (const r in e)
2941
- r !== "class" && r !== "style" && gn.test(r) === !1 && (n[r] = e[r]);
2941
+ r !== "class" && r !== "style" && bn.test(r) === !1 && (n[r] = e[r]);
2942
2942
  for (const r in t.props)
2943
- gn.test(r) === !0 && (i[r] = t.props[r]);
2943
+ bn.test(r) === !0 && (i[r] = t.props[r]);
2944
2944
  l.attributes.value = n, l.listeners.value = i;
2945
2945
  }
2946
- return An(o), o(), l;
2946
+ return On(o), o(), l;
2947
2947
  }
2948
- const _r = "_q_fo_";
2949
- function zr({ validate: e, resetValidation: t, requiresQForm: l }) {
2950
- const o = ol(_r, !1);
2948
+ const Er = "_q_fo_";
2949
+ function Vr({ validate: e, resetValidation: t, requiresQForm: l }) {
2950
+ const o = ol(Er, !1);
2951
2951
  if (o !== !1) {
2952
2952
  const { props: n, proxy: i } = te();
2953
- Object.assign(i, { validate: e, resetValidation: t }), X(() => n.disable, (r) => {
2953
+ Object.assign(i, { validate: e, resetValidation: t }), Q(() => n.disable, (r) => {
2954
2954
  r === !0 ? (typeof t == "function" && t(), o.unbindComponent(i)) : o.bindComponent(i);
2955
- }), Ce(() => {
2955
+ }), qe(() => {
2956
2956
  n.disable !== !0 && o.bindComponent(i);
2957
2957
  }), de(() => {
2958
2958
  n.disable !== !0 && o.unbindComponent(i);
2959
2959
  });
2960
2960
  } else l === !0 && console.error("Parent QForm not found on useFormChild()!");
2961
2961
  }
2962
- const bn = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, pn = /^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/, yn = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/, kt = /^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/, Ct = /^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/, Gt = {
2962
+ const pn = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, yn = /^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/, Sn = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/, qt = /^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/, _t = /^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/, Zt = {
2963
2963
  date: (e) => /^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),
2964
2964
  time: (e) => /^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),
2965
2965
  fulltime: (e) => /^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),
@@ -2971,16 +2971,16 @@ const bn = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, pn = /^#[0-9a-fA-F]{4}([0-9a-fA
2971
2971
  // We won't be accepting PRs to enhance the one below because of the reason above.
2972
2972
  // eslint-disable-next-line
2973
2973
  email: (e) => /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),
2974
- hexColor: (e) => bn.test(e),
2975
- hexaColor: (e) => pn.test(e),
2976
- hexOrHexaColor: (e) => yn.test(e),
2977
- rgbColor: (e) => kt.test(e),
2978
- rgbaColor: (e) => Ct.test(e),
2979
- rgbOrRgbaColor: (e) => kt.test(e) || Ct.test(e),
2980
- hexOrRgbColor: (e) => bn.test(e) || kt.test(e),
2981
- hexaOrRgbaColor: (e) => pn.test(e) || Ct.test(e),
2982
- anyColor: (e) => yn.test(e) || kt.test(e) || Ct.test(e)
2983
- }, Er = [!0, !1, "ondemand"], Br = {
2974
+ hexColor: (e) => pn.test(e),
2975
+ hexaColor: (e) => yn.test(e),
2976
+ hexOrHexaColor: (e) => Sn.test(e),
2977
+ rgbColor: (e) => qt.test(e),
2978
+ rgbaColor: (e) => _t.test(e),
2979
+ rgbOrRgbaColor: (e) => qt.test(e) || _t.test(e),
2980
+ hexOrRgbColor: (e) => pn.test(e) || qt.test(e),
2981
+ hexaOrRgbaColor: (e) => yn.test(e) || _t.test(e),
2982
+ anyColor: (e) => Sn.test(e) || qt.test(e) || _t.test(e)
2983
+ }, Br = [!0, !1, "ondemand"], Tr = {
2984
2984
  modelValue: {},
2985
2985
  error: {
2986
2986
  type: Boolean,
@@ -2994,45 +2994,45 @@ const bn = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, pn = /^#[0-9a-fA-F]{4}([0-9a-fA
2994
2994
  type: [Boolean, String],
2995
2995
  default: !1,
2996
2996
  // statement unneeded but avoids future vue implementation changes
2997
- validator: (e) => Er.includes(e)
2997
+ validator: (e) => Br.includes(e)
2998
2998
  }
2999
2999
  };
3000
- function Vr(e, t) {
3000
+ function Ar(e, t) {
3001
3001
  const { props: l, proxy: o } = te(), n = V(!1), i = V(null), r = V(!1);
3002
- zr({ validate: E, resetValidation: y });
3002
+ Vr({ validate: E, resetValidation: y });
3003
3003
  let a = 0, s;
3004
- const v = d(
3004
+ const d = f(
3005
3005
  () => l.rules !== void 0 && l.rules !== null && l.rules.length !== 0
3006
- ), c = d(() => l.disable !== !0 && v.value === !0 && t.value === !1), b = d(
3006
+ ), c = f(() => l.disable !== !0 && d.value === !0 && t.value === !1), b = f(
3007
3007
  () => l.error === !0 || n.value === !0
3008
- ), m = d(() => typeof l.errorMessage == "string" && l.errorMessage.length !== 0 ? l.errorMessage : i.value);
3009
- X(() => l.modelValue, () => {
3008
+ ), m = f(() => typeof l.errorMessage == "string" && l.errorMessage.length !== 0 ? l.errorMessage : i.value);
3009
+ Q(() => l.modelValue, () => {
3010
3010
  r.value = !0, c.value === !0 && l.lazyRules === !1 && S();
3011
3011
  });
3012
- function f() {
3012
+ function v() {
3013
3013
  l.lazyRules !== "ondemand" && c.value === !0 && r.value === !0 && S();
3014
3014
  }
3015
- X(() => l.reactiveRules, (L) => {
3016
- L === !0 ? s === void 0 && (s = X(() => l.rules, f, { immediate: !0, deep: !0 })) : s !== void 0 && (s(), s = void 0);
3017
- }, { immediate: !0 }), X(() => l.lazyRules, f), X(e, (L) => {
3018
- L === !0 ? r.value = !0 : c.value === !0 && l.lazyRules !== "ondemand" && S();
3015
+ Q(() => l.reactiveRules, (M) => {
3016
+ M === !0 ? s === void 0 && (s = Q(() => l.rules, v, { immediate: !0, deep: !0 })) : s !== void 0 && (s(), s = void 0);
3017
+ }, { immediate: !0 }), Q(() => l.lazyRules, v), Q(e, (M) => {
3018
+ M === !0 ? r.value = !0 : c.value === !0 && l.lazyRules !== "ondemand" && S();
3019
3019
  });
3020
3020
  function y() {
3021
3021
  a++, t.value = !1, r.value = !1, n.value = !1, i.value = null, S.cancel();
3022
3022
  }
3023
- function E(L = l.modelValue) {
3024
- if (l.disable === !0 || v.value === !1)
3023
+ function E(M = l.modelValue) {
3024
+ if (l.disable === !0 || d.value === !1)
3025
3025
  return !0;
3026
3026
  const B = ++a, q = t.value !== !0 ? () => {
3027
3027
  r.value = !0;
3028
3028
  } : () => {
3029
- }, P = (A, M) => {
3030
- A === !0 && q(), n.value = A, i.value = M || null, t.value = !1;
3029
+ }, P = (A, L) => {
3030
+ A === !0 && q(), n.value = A, i.value = L || null, t.value = !1;
3031
3031
  }, T = [];
3032
3032
  for (let A = 0; A < l.rules.length; A++) {
3033
- const M = l.rules[A];
3033
+ const L = l.rules[A];
3034
3034
  let F;
3035
- if (typeof M == "function" ? F = M(L, Gt) : typeof M == "string" && Gt[M] !== void 0 && (F = Gt[M](L)), F === !1 || typeof F == "string")
3035
+ if (typeof L == "function" ? F = L(M, Zt) : typeof L == "string" && Zt[L] !== void 0 && (F = Zt[L](M)), F === !1 || typeof F == "string")
3036
3036
  return P(!0, F), !1;
3037
3037
  F !== !0 && F !== void 0 && T.push(F);
3038
3038
  }
@@ -3040,18 +3040,18 @@ function Vr(e, t) {
3040
3040
  (A) => {
3041
3041
  if (A === void 0 || Array.isArray(A) === !1 || A.length === 0)
3042
3042
  return B === a && P(!1), !0;
3043
- const M = A.find((F) => F === !1 || typeof F == "string");
3044
- return B === a && P(M !== void 0, M), M === void 0;
3043
+ const L = A.find((F) => F === !1 || typeof F == "string");
3044
+ return B === a && P(L !== void 0, L), L === void 0;
3045
3045
  },
3046
3046
  (A) => (B === a && (console.error(A), P(!0)), !1)
3047
3047
  ));
3048
3048
  }
3049
- const S = wl(E, 0);
3049
+ const S = xl(E, 0);
3050
3050
  return de(() => {
3051
3051
  s == null || s(), S.cancel();
3052
3052
  }), Object.assign(o, { resetValidation: y, validate: E }), gl(o, "hasError", () => b.value), {
3053
3053
  isDirtyModel: r,
3054
- hasRules: v,
3054
+ hasRules: d,
3055
3055
  hasError: b,
3056
3056
  errorMessage: m,
3057
3057
  validate: E,
@@ -3061,9 +3061,9 @@ function Vr(e, t) {
3061
3061
  function ml(e) {
3062
3062
  return e != null && ("" + e).length !== 0;
3063
3063
  }
3064
- const Tr = {
3064
+ const Or = {
3065
3065
  ...Ie,
3066
- ...Br,
3066
+ ...Tr,
3067
3067
  label: String,
3068
3068
  stackLabel: Boolean,
3069
3069
  hint: String,
@@ -3092,27 +3092,27 @@ const Tr = {
3092
3092
  readonly: Boolean,
3093
3093
  autofocus: Boolean,
3094
3094
  for: String
3095
- }, kl = {
3096
- ...Tr,
3095
+ }, Cl = {
3096
+ ...Or,
3097
3097
  maxlength: [Number, String]
3098
3098
  }, So = ["update:modelValue", "clear", "focus", "blur"];
3099
3099
  function wo({ requiredForAttr: e = !0, tagProp: t, changeEvent: l = !1 } = {}) {
3100
- const { props: o, proxy: n } = te(), i = He(o, n.$q), r = Cr({
3100
+ const { props: o, proxy: n } = te(), i = He(o, n.$q), r = _r({
3101
3101
  required: e,
3102
3102
  getValue: () => o.for
3103
3103
  });
3104
3104
  return {
3105
3105
  requiredForAttr: e,
3106
3106
  changeEvent: l,
3107
- tag: t === !0 ? d(() => o.tag) : { value: "label" },
3107
+ tag: t === !0 ? f(() => o.tag) : { value: "label" },
3108
3108
  isDark: i,
3109
- editable: d(
3109
+ editable: f(
3110
3110
  () => o.disable !== !0 && o.readonly !== !0
3111
3111
  ),
3112
3112
  innerLoading: V(!1),
3113
3113
  focused: V(!1),
3114
3114
  hasPopupOpen: !1,
3115
- splitAttrs: qr(),
3115
+ splitAttrs: zr(),
3116
3116
  targetUid: r,
3117
3117
  rootRef: V(null),
3118
3118
  targetRef: V(null),
@@ -3140,17 +3140,17 @@ function wo({ requiredForAttr: e = !0, tagProp: t, changeEvent: l = !1 } = {}) {
3140
3140
  function xo(e) {
3141
3141
  const { props: t, emit: l, slots: o, attrs: n, proxy: i } = te(), { $q: r } = i;
3142
3142
  let a = null;
3143
- e.hasValue === void 0 && (e.hasValue = d(() => ml(t.modelValue))), e.emitValue === void 0 && (e.emitValue = (_) => {
3143
+ e.hasValue === void 0 && (e.hasValue = f(() => ml(t.modelValue))), e.emitValue === void 0 && (e.emitValue = (_) => {
3144
3144
  l("update:modelValue", _);
3145
3145
  }), e.controlEvents === void 0 && (e.controlEvents = {
3146
3146
  onFocusin: W,
3147
3147
  onFocusout: Y
3148
3148
  }), Object.assign(e, {
3149
- clearValue: U,
3149
+ clearValue: X,
3150
3150
  onControlFocusin: W,
3151
3151
  onControlFocusout: Y,
3152
- focus: M
3153
- }), e.computedCounter === void 0 && (e.computedCounter = d(() => {
3152
+ focus: L
3153
+ }), e.computedCounter === void 0 && (e.computedCounter = f(() => {
3154
3154
  if (t.counter !== !1) {
3155
3155
  const _ = typeof t.modelValue == "string" || typeof t.modelValue == "number" ? ("" + t.modelValue).length : Array.isArray(t.modelValue) === !0 ? t.modelValue.length : 0, I = t.maxlength !== void 0 ? t.maxlength : t.maxValues;
3156
3156
  return _ + (I !== void 0 ? " / " + I : "");
@@ -3158,28 +3158,28 @@ function xo(e) {
3158
3158
  }));
3159
3159
  const {
3160
3160
  isDirtyModel: s,
3161
- hasRules: v,
3161
+ hasRules: d,
3162
3162
  hasError: c,
3163
3163
  errorMessage: b,
3164
3164
  resetValidation: m
3165
- } = Vr(e.focused, e.innerLoading), f = e.floatingLabel !== void 0 ? d(() => t.stackLabel === !0 || e.focused.value === !0 || e.floatingLabel.value === !0) : d(() => t.stackLabel === !0 || e.focused.value === !0 || e.hasValue.value === !0), y = d(
3166
- () => t.bottomSlots === !0 || t.hint !== void 0 || v.value === !0 || t.counter === !0 || t.error !== null
3167
- ), E = d(() => t.filled === !0 ? "filled" : t.outlined === !0 ? "outlined" : t.borderless === !0 ? "borderless" : t.standout ? "standout" : "standard"), S = d(
3168
- () => `q-field row no-wrap items-start q-field--${E.value}` + (e.fieldClass !== void 0 ? ` ${e.fieldClass.value}` : "") + (t.rounded === !0 ? " q-field--rounded" : "") + (t.square === !0 ? " q-field--square" : "") + (f.value === !0 ? " q-field--float" : "") + (B.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" : "") + (c.value === !0 ? " q-field--error" : "") + (c.value === !0 || e.focused.value === !0 ? " q-field--highlighted" : "") + (t.hideBottomSpace !== !0 && y.value === !0 ? " q-field--with-bottom" : "") + (t.disable === !0 ? " q-field--disabled" : t.readonly === !0 ? " q-field--readonly" : "")
3169
- ), L = d(
3165
+ } = Ar(e.focused, e.innerLoading), v = 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), y = f(
3166
+ () => t.bottomSlots === !0 || t.hint !== void 0 || d.value === !0 || t.counter === !0 || t.error !== null
3167
+ ), E = f(() => t.filled === !0 ? "filled" : t.outlined === !0 ? "outlined" : t.borderless === !0 ? "borderless" : t.standout ? "standout" : "standard"), S = f(
3168
+ () => `q-field row no-wrap items-start q-field--${E.value}` + (e.fieldClass !== void 0 ? ` ${e.fieldClass.value}` : "") + (t.rounded === !0 ? " q-field--rounded" : "") + (t.square === !0 ? " q-field--square" : "") + (v.value === !0 ? " q-field--float" : "") + (B.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" : "") + (c.value === !0 ? " q-field--error" : "") + (c.value === !0 || e.focused.value === !0 ? " q-field--highlighted" : "") + (t.hideBottomSpace !== !0 && y.value === !0 ? " q-field--with-bottom" : "") + (t.disable === !0 ? " q-field--disabled" : t.readonly === !0 ? " q-field--readonly" : "")
3169
+ ), M = f(
3170
3170
  () => "q-field__control relative-position row no-wrap" + (t.bgColor !== void 0 ? ` bg-${t.bgColor}` : "") + (c.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}` : "")
3171
- ), B = d(
3171
+ ), B = f(
3172
3172
  () => t.labelSlot === !0 || t.label !== void 0
3173
- ), q = d(
3173
+ ), q = f(
3174
3174
  () => "q-field__label no-pointer-events absolute ellipsis" + (t.labelColor !== void 0 && c.value !== !0 ? ` text-${t.labelColor}` : "")
3175
- ), P = d(() => ({
3175
+ ), P = f(() => ({
3176
3176
  id: e.targetUid.value,
3177
3177
  editable: e.editable.value,
3178
3178
  focused: e.focused.value,
3179
- floatingLabel: f.value,
3179
+ floatingLabel: v.value,
3180
3180
  modelValue: t.modelValue,
3181
3181
  emitValue: e.emitValue
3182
- })), T = d(() => {
3182
+ })), T = f(() => {
3183
3183
  const _ = {};
3184
3184
  return e.targetUid.value && (_.for = e.targetUid.value), t.disable === !0 && (_["aria-disabled"] = "true"), _;
3185
3185
  });
@@ -3189,11 +3189,11 @@ function xo(e) {
3189
3189
  let I = (le = e.targetRef) == null ? void 0 : le.value;
3190
3190
  I && (_ === null || _.id !== e.targetUid.value) && (I.hasAttribute("tabindex") === !0 || (I = I.querySelector("[tabindex]")), I !== _ && (I == null || I.focus({ preventScroll: !0 })));
3191
3191
  }
3192
- function M() {
3193
- xl(A);
3192
+ function L() {
3193
+ kl(A);
3194
3194
  }
3195
3195
  function F() {
3196
- rr(A);
3196
+ ur(A);
3197
3197
  const _ = document.activeElement;
3198
3198
  _ !== null && e.rootRef.value.contains(_) && _.blur();
3199
3199
  }
@@ -3205,7 +3205,7 @@ function xo(e) {
3205
3205
  a = null, !(document.hasFocus() === !0 && (e.hasPopupOpen === !0 || e.controlRef === void 0 || e.controlRef.value === null || e.controlRef.value.contains(document.activeElement) !== !1)) && (e.focused.value === !0 && (e.focused.value = !1, l("blur", _)), I == null || I());
3206
3206
  });
3207
3207
  }
3208
- function U(_) {
3208
+ function X(_) {
3209
3209
  var I;
3210
3210
  ie(_), r.platform.is.mobile !== !0 ? (((I = e.targetRef) == null ? void 0 : I.value) || e.rootRef.value).focus() : e.rootRef.value.contains(document.activeElement) === !0 && document.activeElement.blur(), t.type === "file" && (e.inputRef.value.value = null), l("update:modelValue", null), e.changeEvent === !0 && l("change", null), l("clear", t.modelValue), fe(() => {
3211
3211
  const le = s.value;
@@ -3213,9 +3213,9 @@ function xo(e) {
3213
3213
  });
3214
3214
  }
3215
3215
  function $(_) {
3216
- [13, 32].includes(_.keyCode) && U(_);
3216
+ [13, 32].includes(_.keyCode) && X(_);
3217
3217
  }
3218
- function Q() {
3218
+ function U() {
3219
3219
  const _ = [];
3220
3220
  return o.prepend !== void 0 && _.push(
3221
3221
  g("div", {
@@ -3234,7 +3234,7 @@ function xo(e) {
3234
3234
  ), t.loading === !0 || e.innerLoading.value === !0 ? _.push(
3235
3235
  R(
3236
3236
  "inner-loading-append",
3237
- o.loading !== void 0 ? o.loading() : [g(Wn, { color: t.color })]
3237
+ o.loading !== void 0 ? o.loading() : [g(pl, { color: t.color })]
3238
3238
  )
3239
3239
  ) : t.clearable === !0 && e.hasValue.value === !0 && e.editable.value === !0 && _.push(
3240
3240
  R("inner-clearable-append", [
@@ -3246,7 +3246,7 @@ function xo(e) {
3246
3246
  "aria-hidden": "false",
3247
3247
  "aria-label": r.lang.label.clear,
3248
3248
  onKeyup: $,
3249
- onClick: U
3249
+ onClick: X
3250
3250
  })
3251
3251
  ])
3252
3252
  ), o.append !== void 0 && _.push(
@@ -3300,7 +3300,7 @@ function xo(e) {
3300
3300
  class: "q-field__bottom row items-start q-field__bottom--" + (t.hideBottomSpace !== !0 ? "animated" : "stale"),
3301
3301
  onClick: ve
3302
3302
  }, [
3303
- t.hideBottomSpace === !0 ? p : g(ft, { name: "q-transition--field-message" }, () => p),
3303
+ t.hideBottomSpace === !0 ? p : g(vt, { name: "q-transition--field-message" }, () => p),
3304
3304
  le === !0 ? g("div", {
3305
3305
  class: "q-field__counter"
3306
3306
  }, o.counter !== void 0 ? o.counter() : e.computedCounter.value) : null
@@ -3313,15 +3313,15 @@ function xo(e) {
3313
3313
  }, I);
3314
3314
  }
3315
3315
  let J = !1;
3316
- return ht(() => {
3316
+ return bt(() => {
3317
3317
  J = !0;
3318
3318
  }), hl(() => {
3319
3319
  J === !0 && t.autofocus === !0 && i.focus();
3320
- }), t.autofocus === !0 && Ce(() => {
3320
+ }), t.autofocus === !0 && qe(() => {
3321
3321
  i.focus();
3322
3322
  }), de(() => {
3323
3323
  a !== null && clearTimeout(a);
3324
- }), Object.assign(i, { focus: M, blur: F }), function() {
3324
+ }), Object.assign(i, { focus: L, blur: F }), function() {
3325
3325
  const I = e.getControl === void 0 && o.control === void 0 ? {
3326
3326
  ...e.splitAttrs.attributes.value,
3327
3327
  "data-autofocus": t.autofocus === !0 || void 0,
@@ -3345,10 +3345,10 @@ function xo(e) {
3345
3345
  }, [
3346
3346
  g("div", {
3347
3347
  ref: e.controlRef,
3348
- class: L.value,
3348
+ class: M.value,
3349
3349
  tabindex: -1,
3350
3350
  ...e.controlEvents
3351
- }, Q()),
3351
+ }, U()),
3352
3352
  y.value === !0 ? w() : null
3353
3353
  ]),
3354
3354
  o.after !== void 0 ? g("div", {
@@ -3358,11 +3358,11 @@ function xo(e) {
3358
3358
  ]);
3359
3359
  };
3360
3360
  }
3361
- const Ar = re({
3361
+ const $r = re({
3362
3362
  name: "QField",
3363
3363
  inheritAttrs: !1,
3364
3364
  props: {
3365
- ...kl,
3365
+ ...Cl,
3366
3366
  tag: {
3367
3367
  type: String,
3368
3368
  default: "label"
@@ -3374,13 +3374,13 @@ const Ar = re({
3374
3374
  wo({ tagProp: !0 })
3375
3375
  );
3376
3376
  }
3377
- }), Or = {
3377
+ }), Lr = {
3378
3378
  xs: 8,
3379
3379
  sm: 10,
3380
3380
  md: 14,
3381
3381
  lg: 20,
3382
3382
  xl: 24
3383
- }, $r = re({
3383
+ }, Mr = re({
3384
3384
  name: "QChip",
3385
3385
  props: {
3386
3386
  ...Ie,
@@ -3415,24 +3415,24 @@ const Ar = re({
3415
3415
  },
3416
3416
  emits: ["update:modelValue", "update:selected", "remove", "click"],
3417
3417
  setup(e, { slots: t, emit: l }) {
3418
- const { proxy: { $q: o } } = te(), n = He(e, o), i = Lt(e, Or), r = d(() => e.selected === !0 || e.icon !== void 0), a = d(() => e.selected === !0 ? e.iconSelected || o.iconSet.chip.selected : e.icon), s = d(() => e.iconRemove || o.iconSet.chip.remove), v = d(
3418
+ const { proxy: { $q: o } } = te(), n = He(e, o), i = Pt(e, Lr), r = f(() => e.selected === !0 || e.icon !== void 0), a = f(() => e.selected === !0 ? e.iconSelected || o.iconSet.chip.selected : e.icon), s = f(() => e.iconRemove || o.iconSet.chip.remove), d = f(
3419
3419
  () => e.disable === !1 && (e.clickable === !0 || e.selected !== null)
3420
- ), c = d(() => {
3420
+ ), c = f(() => {
3421
3421
  const S = e.outline === !0 && e.color || e.textColor;
3422
- return "q-chip row inline no-wrap items-center" + (e.outline === !1 && e.color !== void 0 ? ` bg-${e.color}` : "") + (S ? ` text-${S} 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" : "") + (v.value === !0 ? " q-chip--clickable cursor-pointer non-selectable q-hoverable" : "") + (e.square === !0 ? " q-chip--square" : "") + (n.value === !0 ? " q-chip--dark q-dark" : "");
3423
- }), b = d(() => {
3424
- const S = e.disable === !0 ? { tabindex: -1, "aria-disabled": "true" } : { tabindex: e.tabindex || 0 }, L = {
3422
+ return "q-chip row inline no-wrap items-center" + (e.outline === !1 && e.color !== void 0 ? ` bg-${e.color}` : "") + (S ? ` text-${S} 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" : "") + (d.value === !0 ? " q-chip--clickable cursor-pointer non-selectable q-hoverable" : "") + (e.square === !0 ? " q-chip--square" : "") + (n.value === !0 ? " q-chip--dark q-dark" : "");
3423
+ }), b = f(() => {
3424
+ const S = e.disable === !0 ? { tabindex: -1, "aria-disabled": "true" } : { tabindex: e.tabindex || 0 }, M = {
3425
3425
  ...S,
3426
3426
  role: "button",
3427
3427
  "aria-hidden": "false",
3428
3428
  "aria-label": e.removeAriaLabel || o.lang.label.remove
3429
3429
  };
3430
- return { chip: S, remove: L };
3430
+ return { chip: S, remove: M };
3431
3431
  });
3432
3432
  function m(S) {
3433
- S.keyCode === 13 && f(S);
3433
+ S.keyCode === 13 && v(S);
3434
3434
  }
3435
- function f(S) {
3435
+ function v(S) {
3436
3436
  e.disable || (l("update:selected", !e.selected), l("click", S));
3437
3437
  }
3438
3438
  function y(S) {
@@ -3440,7 +3440,7 @@ const Ar = re({
3440
3440
  }
3441
3441
  function E() {
3442
3442
  const S = [];
3443
- v.value === !0 && S.push(
3443
+ d.value === !0 && S.push(
3444
3444
  g("div", { class: "q-focus-helper" })
3445
3445
  ), r.value === !0 && S.push(
3446
3446
  g(be, {
@@ -3448,11 +3448,11 @@ const Ar = re({
3448
3448
  name: a.value
3449
3449
  })
3450
3450
  );
3451
- const L = e.label !== void 0 ? [g("div", { class: "ellipsis" }, [e.label])] : void 0;
3451
+ const M = e.label !== void 0 ? [g("div", { class: "ellipsis" }, [e.label])] : void 0;
3452
3452
  return S.push(
3453
3453
  g("div", {
3454
3454
  class: "q-chip__content col row no-wrap items-center q-anchor--skip"
3455
- }, Go(t.default, L))
3455
+ }, Jo(t.default, M))
3456
3456
  ), e.iconRight && S.push(
3457
3457
  g(be, {
3458
3458
  class: "q-chip__icon q-chip__icon--right",
@@ -3474,11 +3474,11 @@ const Ar = re({
3474
3474
  class: c.value,
3475
3475
  style: i.value
3476
3476
  };
3477
- return v.value === !0 && Object.assign(
3477
+ return d.value === !0 && Object.assign(
3478
3478
  S,
3479
3479
  b.value.chip,
3480
- { onClick: f, onKeyup: m }
3481
- ), Zo(
3480
+ { onClick: v, onKeyup: m }
3481
+ ), ei(
3482
3482
  "div",
3483
3483
  S,
3484
3484
  E(),
@@ -3488,11 +3488,11 @@ const Ar = re({
3488
3488
  );
3489
3489
  };
3490
3490
  }
3491
- }), Mr = re({
3491
+ }), Pr = re({
3492
3492
  name: "QItem",
3493
3493
  props: {
3494
3494
  ...Ie,
3495
- ...Hn,
3495
+ ...Dn,
3496
3496
  tag: {
3497
3497
  type: String,
3498
3498
  default: "div"
@@ -3510,20 +3510,20 @@ const Ar = re({
3510
3510
  },
3511
3511
  emits: ["click", "keyup"],
3512
3512
  setup(e, { slots: t, emit: l }) {
3513
- const { proxy: { $q: o } } = te(), n = He(e, o), { hasLink: i, linkAttrs: r, linkClass: a, linkTag: s, navigateOnClick: v } = bl(), c = V(null), b = V(null), m = d(
3513
+ const { proxy: { $q: o } } = te(), n = He(e, o), { hasLink: i, linkAttrs: r, linkClass: a, linkTag: s, navigateOnClick: d } = bl(), c = V(null), b = V(null), m = f(
3514
3514
  () => e.clickable === !0 || i.value === !0 || e.tag === "label"
3515
- ), f = d(
3515
+ ), v = f(
3516
3516
  () => e.disable !== !0 && m.value === !0
3517
- ), y = d(
3518
- () => "q-item q-item-type row no-wrap" + (e.dense === !0 ? " q-item--dense" : "") + (n.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" : "") + (f.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" : "") : "")
3519
- ), E = d(() => e.insetLevel === void 0 ? null : {
3517
+ ), y = f(
3518
+ () => "q-item q-item-type row no-wrap" + (e.dense === !0 ? " q-item--dense" : "") + (n.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" : "") + (v.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" : "") : "")
3519
+ ), E = f(() => e.insetLevel === void 0 ? null : {
3520
3520
  ["padding" + (o.lang.rtl === !0 ? "Right" : "Left")]: 16 + e.insetLevel * 56 + "px"
3521
3521
  });
3522
3522
  function S(q) {
3523
- f.value === !0 && (b.value !== null && q.qAvoidFocus !== !0 && (q.qKeyEvent !== !0 && document.activeElement === c.value ? b.value.focus() : document.activeElement === b.value && c.value.focus()), v(q));
3523
+ v.value === !0 && (b.value !== null && q.qAvoidFocus !== !0 && (q.qKeyEvent !== !0 && document.activeElement === c.value ? b.value.focus() : document.activeElement === b.value && c.value.focus()), d(q));
3524
3524
  }
3525
- function L(q) {
3526
- if (f.value === !0 && Fe(q, [13, 32]) === !0) {
3525
+ function M(q) {
3526
+ if (v.value === !0 && Fe(q, [13, 32]) === !0) {
3527
3527
  ie(q), q.qKeyEvent = !0;
3528
3528
  const P = new MouseEvent("click", q);
3529
3529
  P.qKeyEvent = !0, c.value.dispatchEvent(P);
@@ -3531,8 +3531,8 @@ const Ar = re({
3531
3531
  l("keyup", q);
3532
3532
  }
3533
3533
  function B() {
3534
- const q = Yo(t.default, []);
3535
- return f.value === !0 && q.unshift(
3534
+ const q = Zo(t.default, []);
3535
+ return v.value === !0 && q.unshift(
3536
3536
  g("div", { class: "q-focus-helper", tabindex: -1, ref: b })
3537
3537
  ), q;
3538
3538
  }
@@ -3543,16 +3543,16 @@ const Ar = re({
3543
3543
  style: E.value,
3544
3544
  role: "listitem",
3545
3545
  onClick: S,
3546
- onKeyup: L
3546
+ onKeyup: M
3547
3547
  };
3548
- return f.value === !0 ? (q.tabindex = e.tabindex || "0", Object.assign(q, r.value)) : m.value === !0 && (q["aria-disabled"] = "true"), g(
3548
+ return v.value === !0 ? (q.tabindex = e.tabindex || "0", Object.assign(q, r.value)) : m.value === !0 && (q["aria-disabled"] = "true"), g(
3549
3549
  s.value,
3550
3550
  q,
3551
3551
  B()
3552
3552
  );
3553
3553
  };
3554
3554
  }
3555
- }), Lr = re({
3555
+ }), Rr = re({
3556
3556
  name: "QItemSection",
3557
3557
  props: {
3558
3558
  avatar: Boolean,
@@ -3562,12 +3562,12 @@ const Ar = re({
3562
3562
  noWrap: Boolean
3563
3563
  },
3564
3564
  setup(e, { slots: t }) {
3565
- const l = d(
3565
+ const l = f(
3566
3566
  () => `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" : "")
3567
3567
  );
3568
3568
  return () => g("div", { class: l.value }, ge(t.default));
3569
3569
  }
3570
- }), Pr = re({
3570
+ }), Fr = re({
3571
3571
  name: "QItemLabel",
3572
3572
  props: {
3573
3573
  overline: Boolean,
@@ -3576,9 +3576,9 @@ const Ar = re({
3576
3576
  lines: [Number, String]
3577
3577
  },
3578
3578
  setup(e, { slots: t }) {
3579
- const l = d(() => parseInt(e.lines, 10)), o = d(
3579
+ const l = f(() => parseInt(e.lines, 10)), o = f(
3580
3580
  () => "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" : "") + (l.value === 1 ? " ellipsis" : "")
3581
- ), n = d(() => e.lines !== void 0 && l.value > 1 ? {
3581
+ ), n = f(() => e.lines !== void 0 && l.value > 1 ? {
3582
3582
  overflow: "hidden",
3583
3583
  display: "-webkit-box",
3584
3584
  "-webkit-box-orient": "vertical",
@@ -3590,7 +3590,7 @@ const Ar = re({
3590
3590
  }, ge(t.default));
3591
3591
  }
3592
3592
  });
3593
- function Rr(e, t, l) {
3593
+ function Ir(e, t, l) {
3594
3594
  function o() {
3595
3595
  }
3596
3596
  return de(() => {
@@ -3601,80 +3601,80 @@ function Rr(e, t, l) {
3601
3601
  }
3602
3602
  };
3603
3603
  }
3604
- let at = 0, Zt, Jt, st, el = !1, Sn, wn, xn, Te = null;
3605
- function Fr(e) {
3606
- Ir(e) && ie(e);
3604
+ let at = 0, Jt, el, st, tl = !1, wn, xn, kn, Oe = null;
3605
+ function Hr(e) {
3606
+ Dr(e) && ie(e);
3607
3607
  }
3608
- function Ir(e) {
3608
+ function Dr(e) {
3609
3609
  if (e.target === document.body || e.target.classList.contains("q-layout__backdrop"))
3610
3610
  return !0;
3611
- const t = pi(e), l = e.shiftKey && !e.deltaX, o = !l && Math.abs(e.deltaX) <= Math.abs(e.deltaY), n = l || o ? e.deltaY : e.deltaX;
3611
+ const t = Si(e), l = e.shiftKey && !e.deltaX, o = !l && Math.abs(e.deltaX) <= Math.abs(e.deltaY), n = l || o ? e.deltaY : e.deltaX;
3612
3612
  for (let i = 0; i < t.length; i++) {
3613
3613
  const r = t[i];
3614
- if (Qi(r, o))
3614
+ if (Xi(r, o))
3615
3615
  return o ? n < 0 && r.scrollTop === 0 ? !0 : n > 0 && r.scrollTop + r.clientHeight === r.scrollHeight : n < 0 && r.scrollLeft === 0 ? !0 : n > 0 && r.scrollLeft + r.clientWidth === r.scrollWidth;
3616
3616
  }
3617
3617
  return !0;
3618
3618
  }
3619
- function kn(e) {
3619
+ function Cn(e) {
3620
3620
  e.target === document && (document.scrollingElement.scrollTop = document.scrollingElement.scrollTop);
3621
3621
  }
3622
- function qt(e) {
3623
- el !== !0 && (el = !0, requestAnimationFrame(() => {
3624
- el = !1;
3622
+ function zt(e) {
3623
+ tl !== !0 && (tl = !0, requestAnimationFrame(() => {
3624
+ tl = !1;
3625
3625
  const { height: t } = e.target, { clientHeight: l, scrollTop: o } = document.scrollingElement;
3626
3626
  (st === void 0 || t !== window.innerHeight) && (st = l - t, document.scrollingElement.scrollTop = o), o > st && (document.scrollingElement.scrollTop -= Math.ceil((o - st) / 8));
3627
3627
  }));
3628
3628
  }
3629
- function Cn(e) {
3629
+ function qn(e) {
3630
3630
  const t = document.body, l = window.visualViewport !== void 0;
3631
3631
  if (e === "add") {
3632
3632
  const { overflowY: o, overflowX: n } = window.getComputedStyle(t);
3633
- Zt = yl(window), Jt = pl(window), Sn = t.style.left, wn = t.style.top, xn = window.location.href, t.style.left = `-${Zt}px`, t.style.top = `-${Jt}px`, n !== "hidden" && (n === "scroll" || t.scrollWidth > window.innerWidth) && t.classList.add("q-body--force-scrollbar-x"), o !== "hidden" && (o === "scroll" || t.scrollHeight > window.innerHeight) && t.classList.add("q-body--force-scrollbar-y"), t.classList.add("q-body--prevent-scroll"), document.qScrollPrevented = !0, ue.is.ios === !0 && (l === !0 ? (window.scrollTo(0, 0), window.visualViewport.addEventListener("resize", qt, ae.passiveCapture), window.visualViewport.addEventListener("scroll", qt, ae.passiveCapture), window.scrollTo(0, 0)) : window.addEventListener("scroll", kn, ae.passiveCapture));
3633
+ Jt = Sl(window), el = yl(window), wn = t.style.left, xn = t.style.top, kn = window.location.href, t.style.left = `-${Jt}px`, t.style.top = `-${el}px`, n !== "hidden" && (n === "scroll" || t.scrollWidth > window.innerWidth) && t.classList.add("q-body--force-scrollbar-x"), o !== "hidden" && (o === "scroll" || t.scrollHeight > window.innerHeight) && t.classList.add("q-body--force-scrollbar-y"), t.classList.add("q-body--prevent-scroll"), document.qScrollPrevented = !0, ue.is.ios === !0 && (l === !0 ? (window.scrollTo(0, 0), window.visualViewport.addEventListener("resize", zt, ae.passiveCapture), window.visualViewport.addEventListener("scroll", zt, ae.passiveCapture), window.scrollTo(0, 0)) : window.addEventListener("scroll", Cn, ae.passiveCapture));
3634
3634
  }
3635
- ue.is.desktop === !0 && ue.is.mac === !0 && window[`${e}EventListener`]("wheel", Fr, ae.notPassive), e === "remove" && (ue.is.ios === !0 && (l === !0 ? (window.visualViewport.removeEventListener("resize", qt, ae.passiveCapture), window.visualViewport.removeEventListener("scroll", qt, ae.passiveCapture)) : window.removeEventListener("scroll", kn, ae.passiveCapture)), t.classList.remove("q-body--prevent-scroll"), t.classList.remove("q-body--force-scrollbar-x"), t.classList.remove("q-body--force-scrollbar-y"), document.qScrollPrevented = !1, t.style.left = Sn, t.style.top = wn, window.location.href === xn && window.scrollTo(Zt, Jt), st = void 0);
3635
+ ue.is.desktop === !0 && ue.is.mac === !0 && window[`${e}EventListener`]("wheel", Hr, ae.notPassive), e === "remove" && (ue.is.ios === !0 && (l === !0 ? (window.visualViewport.removeEventListener("resize", zt, ae.passiveCapture), window.visualViewport.removeEventListener("scroll", zt, ae.passiveCapture)) : window.removeEventListener("scroll", Cn, ae.passiveCapture)), t.classList.remove("q-body--prevent-scroll"), t.classList.remove("q-body--force-scrollbar-x"), t.classList.remove("q-body--force-scrollbar-y"), document.qScrollPrevented = !1, t.style.left = wn, t.style.top = xn, window.location.href === kn && window.scrollTo(Jt, el), st = void 0);
3636
3636
  }
3637
- function Hr(e) {
3637
+ function jr(e) {
3638
3638
  let t = "add";
3639
3639
  if (e === !0) {
3640
- if (at++, Te !== null) {
3641
- clearTimeout(Te), Te = null;
3640
+ if (at++, Oe !== null) {
3641
+ clearTimeout(Oe), Oe = null;
3642
3642
  return;
3643
3643
  }
3644
3644
  if (at > 1) return;
3645
3645
  } else {
3646
3646
  if (at === 0 || (at--, at > 0)) return;
3647
3647
  if (t = "remove", ue.is.ios === !0 && ue.is.nativeMobile === !0) {
3648
- Te !== null && clearTimeout(Te), Te = setTimeout(() => {
3649
- Cn(t), Te = null;
3648
+ Oe !== null && clearTimeout(Oe), Oe = setTimeout(() => {
3649
+ qn(t), Oe = null;
3650
3650
  }, 100);
3651
3651
  return;
3652
3652
  }
3653
3653
  }
3654
- Cn(t);
3654
+ qn(t);
3655
3655
  }
3656
- function Dr() {
3656
+ function Nr() {
3657
3657
  let e;
3658
3658
  return {
3659
3659
  preventBodyScroll(t) {
3660
- t !== e && (e !== void 0 || t === !0) && (e = t, Hr(t));
3660
+ t !== e && (e !== void 0 || t === !0) && (e = t, jr(t));
3661
3661
  }
3662
3662
  };
3663
3663
  }
3664
- let _t = 0;
3665
- const jr = {
3664
+ let Et = 0;
3665
+ const Wr = {
3666
3666
  standard: "fixed-full flex-center",
3667
3667
  top: "fixed-top justify-center",
3668
3668
  bottom: "fixed-bottom justify-center",
3669
3669
  right: "fixed-right items-center",
3670
3670
  left: "fixed-left items-center"
3671
- }, qn = {
3671
+ }, _n = {
3672
3672
  standard: ["scale", "scale"],
3673
3673
  top: ["slide-down", "slide-up"],
3674
3674
  bottom: ["slide-up", "slide-down"],
3675
3675
  right: ["slide-left", "slide-right"],
3676
3676
  left: ["slide-right", "slide-left"]
3677
- }, Nr = re({
3677
+ }, Kr = re({
3678
3678
  name: "QDialog",
3679
3679
  inheritAttrs: !1,
3680
3680
  props: {
@@ -3713,14 +3713,14 @@ const jr = {
3713
3713
  ],
3714
3714
  setup(e, { slots: t, emit: l, attrs: o }) {
3715
3715
  const n = te(), i = V(null), r = V(!1), a = V(!1);
3716
- let s = null, v = null, c, b;
3717
- const m = d(
3716
+ let s = null, d = null, c, b;
3717
+ const m = f(
3718
3718
  () => e.persistent !== !0 && e.noRouteDismiss !== !0 && e.seamless !== !0
3719
- ), { preventBodyScroll: f } = Dr(), { registerTimeout: y } = vo(), { registerTick: E, removeTick: S } = fo(), { transitionProps: L, transitionStyle: B } = co(
3719
+ ), { preventBodyScroll: v } = Nr(), { registerTimeout: y } = vo(), { registerTick: E, removeTick: S } = fo(), { transitionProps: M, transitionStyle: B } = co(
3720
3720
  e,
3721
- () => qn[e.position][0],
3722
- () => qn[e.position][1]
3723
- ), q = d(() => B.value + (e.backdropFilter !== void 0 ? `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}` : "")), { showPortal: P, hidePortal: T, portalIsAccessible: A, renderPortal: M } = uo(
3721
+ () => _n[e.position][0],
3722
+ () => _n[e.position][1]
3723
+ ), q = f(() => B.value + (e.backdropFilter !== void 0 ? `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}` : "")), { showPortal: P, hidePortal: T, portalIsAccessible: A, renderPortal: L } = uo(
3724
3724
  n,
3725
3725
  i,
3726
3726
  D,
@@ -3728,25 +3728,25 @@ const jr = {
3728
3728
  ), { hide: F } = ro({
3729
3729
  showing: r,
3730
3730
  hideOnRouteChange: m,
3731
- handleShow: Q,
3731
+ handleShow: U,
3732
3732
  handleHide: h,
3733
3733
  processOnMount: !0
3734
3734
  });
3735
- Rr(r);
3736
- const W = d(
3737
- () => `q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized === !0 ? "maximized" : "minimized"} q-dialog__inner--${e.position} ${jr[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" : "")
3738
- ), Y = d(() => r.value === !0 && e.seamless !== !0), U = d(() => e.autoClose === !0 ? { onClick: le } : {}), $ = d(() => [
3735
+ Ir(r);
3736
+ const W = f(
3737
+ () => `q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized === !0 ? "maximized" : "minimized"} q-dialog__inner--${e.position} ${Wr[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" : "")
3738
+ ), Y = f(() => r.value === !0 && e.seamless !== !0), X = f(() => e.autoClose === !0 ? { onClick: le } : {}), $ = f(() => [
3739
3739
  `q-dialog fullscreen no-pointer-events q-dialog--${Y.value === !0 ? "modal" : "seamless"}`,
3740
3740
  o.class
3741
3741
  ]);
3742
- X(() => e.maximized, (O) => {
3742
+ Q(() => e.maximized, (O) => {
3743
3743
  r.value === !0 && I(O);
3744
- }), X(Y, (O) => {
3745
- f(O), O === !0 ? (bo(k), ho(J)) : (dl(k), Vt(J));
3744
+ }), Q(Y, (O) => {
3745
+ v(O), O === !0 ? (bo(k), ho(J)) : (dl(k), At(J));
3746
3746
  });
3747
- function Q(O) {
3747
+ function U(O) {
3748
3748
  var N;
3749
- v = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, I(e.maximized), P(), a.value = !0, e.noFocus !== !0 ? ((N = document.activeElement) == null || N.blur(), E(w)) : S(), y(() => {
3749
+ d = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, I(e.maximized), P(), a.value = !0, e.noFocus !== !0 ? ((N = document.activeElement) == null || N.blur(), E(w)) : S(), y(() => {
3750
3750
  if (n.proxy.$q.platform.is.ios === !0) {
3751
3751
  if (e.seamless !== !0 && document.activeElement) {
3752
3752
  const { top: j, bottom: H } = document.activeElement.getBoundingClientRect(), { innerHeight: ee } = window, x = window.visualViewport !== void 0 ? window.visualViewport.height : ee;
@@ -3761,12 +3761,12 @@ const jr = {
3761
3761
  }, e.transitionDuration);
3762
3762
  }
3763
3763
  function h(O) {
3764
- S(), _(!0), a.value = !0, T(), v !== null && ((((O == null ? void 0 : O.type.indexOf("key")) === 0 ? v.closest('[tabindex]:not([tabindex^="-"])') : void 0) || v).focus(), v = null), y(() => {
3764
+ S(), _(!0), a.value = !0, T(), d !== null && ((((O == null ? void 0 : O.type.indexOf("key")) === 0 ? d.closest('[tabindex]:not([tabindex^="-"])') : void 0) || d).focus(), d = null), y(() => {
3765
3765
  T(!0), a.value = !1, l("hide", O);
3766
3766
  }, e.transitionDuration);
3767
3767
  }
3768
3768
  function w(O) {
3769
- xl(() => {
3769
+ kl(() => {
3770
3770
  let N = i.value;
3771
3771
  if (N !== null) {
3772
3772
  if (O !== void 0) {
@@ -3791,10 +3791,10 @@ const jr = {
3791
3791
  e.seamless !== !0 && (e.persistent === !0 || e.noEscDismiss === !0 ? e.maximized !== !0 && e.noShake !== !0 && R() : (l("escapeKey"), F()));
3792
3792
  }
3793
3793
  function _(O) {
3794
- s !== null && (clearTimeout(s), s = null), (O === !0 || r.value === !0) && (I(!1), e.seamless !== !0 && (f(!1), dl(k), Vt(J))), O !== !0 && (v = null);
3794
+ s !== null && (clearTimeout(s), s = null), (O === !0 || r.value === !0) && (I(!1), e.seamless !== !0 && (v(!1), dl(k), At(J))), O !== !0 && (d = null);
3795
3795
  }
3796
3796
  function I(O) {
3797
- O === !0 ? c !== !0 && (_t < 1 && document.body.classList.add("q-body--dialog"), _t++, c = !0) : c === !0 && (_t < 2 && document.body.classList.remove("q-body--dialog"), _t--, c = !1);
3797
+ O === !0 ? c !== !0 && (Et < 1 && document.body.classList.add("q-body--dialog"), Et++, c = !0) : c === !0 && (Et < 2 && document.body.classList.remove("q-body--dialog"), Et--, c = !1);
3798
3798
  }
3799
3799
  function le(O) {
3800
3800
  b !== !0 && (F(O), l("click", O));
@@ -3811,7 +3811,7 @@ const jr = {
3811
3811
  shake: R,
3812
3812
  // private but needed by QSelect
3813
3813
  __updateRefocusTarget(O) {
3814
- v = O || null;
3814
+ d = O || null;
3815
3815
  }
3816
3816
  }), de(_);
3817
3817
  function D() {
@@ -3821,7 +3821,7 @@ const jr = {
3821
3821
  ...o,
3822
3822
  class: $.value
3823
3823
  }, [
3824
- g(ft, {
3824
+ g(vt, {
3825
3825
  name: "q-transition--fade",
3826
3826
  appear: !0
3827
3827
  }, () => Y.value === !0 ? g("div", {
@@ -3832,22 +3832,22 @@ const jr = {
3832
3832
  onClick: p
3833
3833
  }) : null),
3834
3834
  g(
3835
- ft,
3836
- L.value,
3835
+ vt,
3836
+ M.value,
3837
3837
  () => r.value === !0 ? g("div", {
3838
3838
  ref: i,
3839
3839
  class: W.value,
3840
3840
  style: B.value,
3841
3841
  tabindex: -1,
3842
- ...U.value
3842
+ ...X.value
3843
3843
  }, ge(t.default)) : null
3844
3844
  )
3845
3845
  ]);
3846
3846
  }
3847
- return M;
3847
+ return L;
3848
3848
  }
3849
3849
  });
3850
- let Ot = !1;
3850
+ let Lt = !1;
3851
3851
  {
3852
3852
  const e = document.createElement("div");
3853
3853
  e.setAttribute("dir", "rtl"), Object.assign(e.style, {
@@ -3859,16 +3859,16 @@ let Ot = !1;
3859
3859
  Object.assign(t.style, {
3860
3860
  width: "1000px",
3861
3861
  height: "1px"
3862
- }), document.body.appendChild(e), e.appendChild(t), e.scrollLeft = -1e3, Ot = e.scrollLeft >= 0, e.remove();
3862
+ }), document.body.appendChild(e), e.appendChild(t), e.scrollLeft = -1e3, Lt = e.scrollLeft >= 0, e.remove();
3863
3863
  }
3864
- const Se = 1e3, Wr = [
3864
+ const Se = 1e3, Qr = [
3865
3865
  "start",
3866
3866
  "center",
3867
3867
  "end",
3868
3868
  "start-force",
3869
3869
  "center-force",
3870
3870
  "end-force"
3871
- ], ko = Array.prototype.filter, Kr = window.getComputedStyle(document.body).overflowAnchor === void 0 ? Pt : function(e, t) {
3871
+ ], ko = Array.prototype.filter, Ur = window.getComputedStyle(document.body).overflowAnchor === void 0 ? Rt : function(e, t) {
3872
3872
  e !== null && (e._qOverflowAnimationFrame !== void 0 && cancelAnimationFrame(e._qOverflowAnimationFrame), e._qOverflowAnimationFrame = requestAnimationFrame(() => {
3873
3873
  if (e === null) return;
3874
3874
  e._qOverflowAnimationFrame = void 0;
@@ -3883,28 +3883,28 @@ const Se = 1e3, Wr = [
3883
3883
  function et(e, t) {
3884
3884
  return e + t;
3885
3885
  }
3886
- function tl(e, t, l, o, n, i, r, a) {
3887
- const s = e === window ? document.scrollingElement || document.documentElement : e, v = n === !0 ? "offsetWidth" : "offsetHeight", c = {
3886
+ function ll(e, t, l, o, n, i, r, a) {
3887
+ const s = e === window ? document.scrollingElement || document.documentElement : e, d = n === !0 ? "offsetWidth" : "offsetHeight", c = {
3888
3888
  scrollStart: 0,
3889
3889
  scrollViewSize: -r - a,
3890
3890
  scrollMaxSize: 0,
3891
3891
  offsetStart: -r,
3892
3892
  offsetEnd: -a
3893
3893
  };
3894
- if (n === !0 ? (e === window ? (c.scrollStart = window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, c.scrollViewSize += document.documentElement.clientWidth) : (c.scrollStart = s.scrollLeft, c.scrollViewSize += s.clientWidth), c.scrollMaxSize = s.scrollWidth, i === !0 && (c.scrollStart = (Ot === !0 ? c.scrollMaxSize - c.scrollViewSize : 0) - c.scrollStart)) : (e === window ? (c.scrollStart = window.pageYOffset || window.scrollY || document.body.scrollTop || 0, c.scrollViewSize += document.documentElement.clientHeight) : (c.scrollStart = s.scrollTop, c.scrollViewSize += s.clientHeight), c.scrollMaxSize = s.scrollHeight), l !== null)
3894
+ if (n === !0 ? (e === window ? (c.scrollStart = window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, c.scrollViewSize += document.documentElement.clientWidth) : (c.scrollStart = s.scrollLeft, c.scrollViewSize += s.clientWidth), c.scrollMaxSize = s.scrollWidth, i === !0 && (c.scrollStart = (Lt === !0 ? c.scrollMaxSize - c.scrollViewSize : 0) - c.scrollStart)) : (e === window ? (c.scrollStart = window.pageYOffset || window.scrollY || document.body.scrollTop || 0, c.scrollViewSize += document.documentElement.clientHeight) : (c.scrollStart = s.scrollTop, c.scrollViewSize += s.clientHeight), c.scrollMaxSize = s.scrollHeight), l !== null)
3895
3895
  for (let b = l.previousElementSibling; b !== null; b = b.previousElementSibling)
3896
- b.classList.contains("q-virtual-scroll--skip") === !1 && (c.offsetStart += b[v]);
3896
+ b.classList.contains("q-virtual-scroll--skip") === !1 && (c.offsetStart += b[d]);
3897
3897
  if (o !== null)
3898
3898
  for (let b = o.nextElementSibling; b !== null; b = b.nextElementSibling)
3899
- b.classList.contains("q-virtual-scroll--skip") === !1 && (c.offsetEnd += b[v]);
3899
+ b.classList.contains("q-virtual-scroll--skip") === !1 && (c.offsetEnd += b[d]);
3900
3900
  if (t !== e) {
3901
3901
  const b = s.getBoundingClientRect(), m = t.getBoundingClientRect();
3902
3902
  n === !0 ? (c.offsetStart += m.left - b.left, c.offsetEnd -= m.width) : (c.offsetStart += m.top - b.top, c.offsetEnd -= m.height), e !== window && (c.offsetStart += c.scrollStart), c.offsetEnd += c.scrollMaxSize - c.offsetStart;
3903
3903
  }
3904
3904
  return c;
3905
3905
  }
3906
- function _n(e, t, l, o) {
3907
- t === "end" && (t = (e === window ? document.body : e)[l === !0 ? "scrollWidth" : "scrollHeight"]), e === window ? l === !0 ? (o === !0 && (t = (Ot === !0 ? document.body.scrollWidth - document.documentElement.clientWidth : 0) - t), window.scrollTo(t, window.pageYOffset || window.scrollY || document.body.scrollTop || 0)) : window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, t) : l === !0 ? (o === !0 && (t = (Ot === !0 ? e.scrollWidth - e.offsetWidth : 0) - t), e.scrollLeft = t) : e.scrollTop = t;
3906
+ function zn(e, t, l, o) {
3907
+ t === "end" && (t = (e === window ? document.body : e)[l === !0 ? "scrollWidth" : "scrollHeight"]), e === window ? l === !0 ? (o === !0 && (t = (Lt === !0 ? document.body.scrollWidth - document.documentElement.clientWidth : 0) - t), window.scrollTo(t, window.pageYOffset || window.scrollY || document.body.scrollTop || 0)) : window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, t) : l === !0 ? (o === !0 && (t = (Lt === !0 ? e.scrollWidth - e.offsetWidth : 0) - t), e.scrollLeft = t) : e.scrollTop = t;
3908
3908
  }
3909
3909
  function ut(e, t, l, o) {
3910
3910
  if (l >= o)
@@ -3913,7 +3913,7 @@ function ut(e, t, l, o) {
3913
3913
  let a = e.slice(i, r).reduce(et, 0);
3914
3914
  return l % Se !== 0 && (a -= t.slice(i * Se, l).reduce(et, 0)), o % Se !== 0 && o !== n && (a -= t.slice(o, r * Se).reduce(et, 0)), a;
3915
3915
  }
3916
- const Qr = {
3916
+ const Xr = {
3917
3917
  virtualScrollSliceSize: {
3918
3918
  type: [Number, String],
3919
3919
  default: 10
@@ -3939,12 +3939,12 @@ const Qr = {
3939
3939
  default: 0
3940
3940
  },
3941
3941
  tableColspan: [Number, String]
3942
- }, zn = {
3942
+ }, En = {
3943
3943
  virtualScrollHorizontal: Boolean,
3944
3944
  onVirtualScroll: Function,
3945
- ...Qr
3945
+ ...Xr
3946
3946
  };
3947
- function Ur({
3947
+ function Yr({
3948
3948
  virtualScrollLength: e,
3949
3949
  getVirtualScrollTarget: t,
3950
3950
  getVirtualScrollEl: l,
@@ -3952,15 +3952,15 @@ function Ur({
3952
3952
  // optional
3953
3953
  }) {
3954
3954
  const n = te(), { props: i, emit: r, proxy: a } = n, { $q: s } = a;
3955
- let v, c, b, m = [], f;
3956
- const y = V(0), E = V(0), S = V({}), L = V(null), B = V(null), q = V(null), P = V({ from: 0, to: 0 }), T = d(() => i.tableColspan !== void 0 ? i.tableColspan : 100);
3957
- o === void 0 && (o = d(() => i.virtualScrollItemSize));
3958
- const A = d(() => o.value + ";" + i.virtualScrollHorizontal), M = d(
3955
+ let d, c, b, m = [], v;
3956
+ const y = V(0), E = V(0), S = V({}), M = V(null), B = V(null), q = V(null), P = V({ from: 0, to: 0 }), T = f(() => i.tableColspan !== void 0 ? i.tableColspan : 100);
3957
+ o === void 0 && (o = f(() => i.virtualScrollItemSize));
3958
+ const A = f(() => o.value + ";" + i.virtualScrollHorizontal), L = f(
3959
3959
  () => A.value + ";" + i.virtualScrollSliceRatioBefore + ";" + i.virtualScrollSliceRatioAfter
3960
3960
  );
3961
- X(M, () => {
3961
+ Q(L, () => {
3962
3962
  R();
3963
- }), X(A, F);
3963
+ }), Q(A, F);
3964
3964
  function F() {
3965
3965
  w(c, !0);
3966
3966
  }
@@ -3970,10 +3970,10 @@ function Ur({
3970
3970
  function Y(p, k) {
3971
3971
  const D = t();
3972
3972
  if (D == null || D.nodeType === 8) return;
3973
- const O = tl(
3973
+ const O = ll(
3974
3974
  D,
3975
3975
  l(),
3976
- L.value,
3976
+ M.value,
3977
3977
  B.value,
3978
3978
  i.virtualScrollHorizontal,
3979
3979
  s.lang.rtl,
@@ -3985,29 +3985,29 @@ function Ur({
3985
3985
  O,
3986
3986
  Math.min(e.value - 1, Math.max(0, parseInt(p, 10) || 0)),
3987
3987
  0,
3988
- Wr.indexOf(k) !== -1 ? k : c !== -1 && p > c ? "end" : "start"
3988
+ Qr.indexOf(k) !== -1 ? k : c !== -1 && p > c ? "end" : "start"
3989
3989
  );
3990
3990
  }
3991
- function U() {
3991
+ function X() {
3992
3992
  const p = t();
3993
3993
  if (p == null || p.nodeType === 8) return;
3994
- const k = tl(
3994
+ const k = ll(
3995
3995
  p,
3996
3996
  l(),
3997
- L.value,
3997
+ M.value,
3998
3998
  B.value,
3999
3999
  i.virtualScrollHorizontal,
4000
4000
  s.lang.rtl,
4001
4001
  i.virtualScrollStickySizeStart,
4002
4002
  i.virtualScrollStickySizeEnd
4003
4003
  ), D = e.value - 1, O = k.scrollMaxSize - k.offsetStart - k.offsetEnd - E.value;
4004
- if (v === k.scrollStart) return;
4004
+ if (d === k.scrollStart) return;
4005
4005
  if (k.scrollMaxSize <= 0) {
4006
4006
  $(p, k, 0, 0);
4007
4007
  return;
4008
4008
  }
4009
- b !== k.scrollViewSize && R(k.scrollViewSize), Q(P.value.from);
4010
- const N = Math.floor(k.scrollMaxSize - Math.max(k.scrollViewSize, k.offsetEnd) - Math.min(f[D], k.scrollViewSize / 2));
4009
+ b !== k.scrollViewSize && R(k.scrollViewSize), U(P.value.from);
4010
+ const N = Math.floor(k.scrollMaxSize - Math.max(k.scrollViewSize, k.offsetEnd) - Math.min(v[D], k.scrollViewSize / 2));
4011
4011
  if (N > 0 && Math.ceil(k.scrollStart) >= N) {
4012
4012
  $(
4013
4013
  p,
@@ -4024,7 +4024,7 @@ function Ur({
4024
4024
  for (let x = 0; H >= m[x] && j < D; x++)
4025
4025
  H -= m[x], j += Se;
4026
4026
  for (; H > 0 && j < D; )
4027
- H -= f[j], H > -k.scrollViewSize ? (j++, ee = H) : ee = f[j] + H;
4027
+ H -= v[j], H > -k.scrollViewSize ? (j++, ee = H) : ee = v[j] + H;
4028
4028
  $(
4029
4029
  p,
4030
4030
  k,
@@ -4035,7 +4035,7 @@ function Ur({
4035
4035
  function $(p, k, D, O, N) {
4036
4036
  const j = typeof N == "string" && N.indexOf("-force") !== -1, H = j === !0 ? N.replace("-force", "") : N, ee = H !== void 0 ? H : "start";
4037
4037
  let x = Math.max(0, D - S.value[ee]), se = x + S.value.total;
4038
- se > e.value && (se = e.value, x = Math.max(0, se - S.value.total)), v = k.scrollStart;
4038
+ se > e.value && (se = e.value, x = Math.max(0, se - S.value.total)), d = k.scrollStart;
4039
4039
  const we = x !== P.value.from || se !== P.value.to;
4040
4040
  if (we === !1 && H === void 0) {
4041
4041
  _(D);
@@ -4044,24 +4044,24 @@ function Ur({
4044
4044
  const { activeElement: De } = document, pe = q.value;
4045
4045
  we === !0 && pe !== null && pe !== De && pe.contains(De) === !0 && (pe.addEventListener("focusout", h), setTimeout(() => {
4046
4046
  pe == null || pe.removeEventListener("focusout", h);
4047
- })), Kr(pe, D - x);
4048
- const gt = H !== void 0 ? f.slice(x, D).reduce(et, 0) : 0;
4047
+ })), Ur(pe, D - x);
4048
+ const pt = H !== void 0 ? v.slice(x, D).reduce(et, 0) : 0;
4049
4049
  if (we === !0) {
4050
- const ze = se >= P.value.from && x <= P.value.to ? P.value.to : se;
4051
- P.value = { from: x, to: ze }, y.value = ut(m, f, 0, x), E.value = ut(m, f, se, e.value), requestAnimationFrame(() => {
4052
- P.value.to !== se && v === k.scrollStart && (P.value = { from: P.value.from, to: se }, E.value = ut(m, f, se, e.value));
4050
+ const Ve = se >= P.value.from && x <= P.value.to ? P.value.to : se;
4051
+ P.value = { from: x, to: Ve }, y.value = ut(m, v, 0, x), E.value = ut(m, v, se, e.value), requestAnimationFrame(() => {
4052
+ P.value.to !== se && d === k.scrollStart && (P.value = { from: P.value.from, to: se }, E.value = ut(m, v, se, e.value));
4053
4053
  });
4054
4054
  }
4055
4055
  requestAnimationFrame(() => {
4056
- if (v !== k.scrollStart) return;
4057
- we === !0 && Q(x);
4058
- const ze = f.slice(x, D).reduce(et, 0), Ee = ze + k.offsetStart + y.value, bt = Ee + f[D];
4059
- let nt = Ee + O;
4056
+ if (d !== k.scrollStart) return;
4057
+ we === !0 && U(x);
4058
+ const Ve = v.slice(x, D).reduce(et, 0), Be = Ve + k.offsetStart + y.value, yt = Be + v[D];
4059
+ let nt = Be + O;
4060
4060
  if (H !== void 0) {
4061
- const Rt = ze - gt, ot = k.scrollStart + Rt;
4062
- nt = j !== !0 && ot < Ee && bt < ot + k.scrollViewSize ? ot : H === "end" ? bt - k.scrollViewSize : Ee - (H === "start" ? 0 : Math.round((k.scrollViewSize - f[D]) / 2));
4061
+ const Ft = Ve - pt, ot = k.scrollStart + Ft;
4062
+ nt = j !== !0 && ot < Be && yt < ot + k.scrollViewSize ? ot : H === "end" ? yt - k.scrollViewSize : Be - (H === "start" ? 0 : Math.round((k.scrollViewSize - v[D]) / 2));
4063
4063
  }
4064
- v = nt, _n(
4064
+ d = nt, zn(
4065
4065
  p,
4066
4066
  nt,
4067
4067
  i.virtualScrollHorizontal,
@@ -4069,7 +4069,7 @@ function Ur({
4069
4069
  ), _(D);
4070
4070
  });
4071
4071
  }
4072
- function Q(p) {
4072
+ function U(p) {
4073
4073
  const k = q.value;
4074
4074
  if (k) {
4075
4075
  const D = ko.call(
@@ -4080,7 +4080,7 @@ function Ur({
4080
4080
  for (let x = 0; x < O; ) {
4081
4081
  for (H = N(D[x]), x++; x < O && D[x].classList.contains("q-virtual-scroll--with-prev") === !0; )
4082
4082
  H += N(D[x]), x++;
4083
- ee = H - f[j], ee !== 0 && (f[j] += ee, m[Math.floor(j / Se)] += ee), j++;
4083
+ ee = H - v[j], ee !== 0 && (v[j] += ee, m[Math.floor(j / Se)] += ee), j++;
4084
4084
  }
4085
4085
  }
4086
4086
  }
@@ -4090,31 +4090,31 @@ function Ur({
4090
4090
  }
4091
4091
  function w(p, k) {
4092
4092
  const D = 1 * o.value;
4093
- (k === !0 || Array.isArray(f) === !1) && (f = []);
4094
- const O = f.length;
4095
- f.length = e.value;
4093
+ (k === !0 || Array.isArray(v) === !1) && (v = []);
4094
+ const O = v.length;
4095
+ v.length = e.value;
4096
4096
  for (let j = e.value - 1; j >= O; j--)
4097
- f[j] = D;
4097
+ v[j] = D;
4098
4098
  const N = Math.floor((e.value - 1) / Se);
4099
4099
  m = [];
4100
4100
  for (let j = 0; j <= N; j++) {
4101
4101
  let H = 0;
4102
4102
  const ee = Math.min((j + 1) * Se, e.value);
4103
4103
  for (let x = j * Se; x < ee; x++)
4104
- H += f[x];
4104
+ H += v[x];
4105
4105
  m.push(H);
4106
4106
  }
4107
- c = -1, v = void 0, y.value = ut(m, f, 0, P.value.from), E.value = ut(m, f, P.value.to, e.value), p >= 0 ? (Q(P.value.from), fe(() => {
4107
+ c = -1, d = void 0, y.value = ut(m, v, 0, P.value.from), E.value = ut(m, v, P.value.to, e.value), p >= 0 ? (U(P.value.from), fe(() => {
4108
4108
  Y(p);
4109
4109
  })) : I();
4110
4110
  }
4111
4111
  function R(p) {
4112
4112
  if (p === void 0 && typeof window < "u") {
4113
4113
  const H = t();
4114
- H != null && H.nodeType !== 8 && (p = tl(
4114
+ H != null && H.nodeType !== 8 && (p = ll(
4115
4115
  H,
4116
4116
  l(),
4117
- L.value,
4117
+ M.value,
4118
4118
  B.value,
4119
4119
  i.virtualScrollHorizontal,
4120
4120
  s.lang.rtl,
@@ -4144,7 +4144,7 @@ function Ur({
4144
4144
  p === "tbody" ? g(p, {
4145
4145
  class: "q-virtual-scroll__padding",
4146
4146
  key: "before",
4147
- ref: L
4147
+ ref: M
4148
4148
  }, [
4149
4149
  g("tr", [
4150
4150
  g("td", {
@@ -4155,7 +4155,7 @@ function Ur({
4155
4155
  ]) : g(p, {
4156
4156
  class: "q-virtual-scroll__padding",
4157
4157
  key: "before",
4158
- ref: L,
4158
+ ref: M,
4159
4159
  style: { [D]: `${y.value}px`, ...O }
4160
4160
  }),
4161
4161
  g(p, {
@@ -4193,22 +4193,22 @@ function Ur({
4193
4193
  }), c = p);
4194
4194
  }
4195
4195
  R();
4196
- const I = wl(
4197
- U,
4196
+ const I = xl(
4197
+ X,
4198
4198
  s.platform.is.ios === !0 ? 120 : 35
4199
4199
  );
4200
- Ko(() => {
4200
+ Qo(() => {
4201
4201
  R();
4202
4202
  });
4203
4203
  let le = !1;
4204
- return ht(() => {
4204
+ return bt(() => {
4205
4205
  le = !0;
4206
4206
  }), hl(() => {
4207
4207
  if (le !== !0) return;
4208
4208
  const p = t();
4209
- v !== void 0 && p !== void 0 && p !== null && p.nodeType !== 8 ? _n(
4209
+ d !== void 0 && p !== void 0 && p !== null && p.nodeType !== 8 ? zn(
4210
4210
  p,
4211
- v,
4211
+ d,
4212
4212
  i.virtualScrollHorizontal,
4213
4213
  s.lang.rtl
4214
4214
  ) : Y(c);
@@ -4226,16 +4226,16 @@ function Ur({
4226
4226
  refresh: W
4227
4227
  };
4228
4228
  }
4229
- const Xr = /[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/, Yr = /[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u, Gr = /[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/, Zr = /[a-z0-9_ -]$/i;
4230
- function Jr(e) {
4229
+ const Gr = /[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/, Zr = /[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u, Jr = /[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/, ea = /[a-z0-9_ -]$/i;
4230
+ function ta(e) {
4231
4231
  return function(l) {
4232
4232
  if (l.type === "compositionend" || l.type === "change") {
4233
4233
  if (l.target.qComposing !== !0) return;
4234
4234
  l.target.qComposing = !1, e(l);
4235
- } else l.type === "compositionupdate" && l.target.qComposing !== !0 && typeof l.data == "string" && (ue.is.firefox === !0 ? Zr.test(l.data) === !1 : Xr.test(l.data) === !0 || Yr.test(l.data) === !0 || Gr.test(l.data) === !0) === !0 && (l.target.qComposing = !0);
4235
+ } else l.type === "compositionupdate" && l.target.qComposing !== !0 && typeof l.data == "string" && (ue.is.firefox === !0 ? ea.test(l.data) === !1 : Gr.test(l.data) === !0 || Zr.test(l.data) === !0 || Jr.test(l.data) === !0) === !0 && (l.target.qComposing = !0);
4236
4236
  };
4237
4237
  }
4238
- function qe(e, t) {
4238
+ function Ee(e, t) {
4239
4239
  if (e === t)
4240
4240
  return !0;
4241
4241
  if (e !== null && t !== null && typeof e == "object" && typeof t == "object") {
@@ -4246,7 +4246,7 @@ function qe(e, t) {
4246
4246
  if (l = e.length, l !== t.length)
4247
4247
  return !1;
4248
4248
  for (o = l; o-- !== 0; )
4249
- if (qe(e[o], t[o]) !== !0)
4249
+ if (Ee(e[o], t[o]) !== !0)
4250
4250
  return !1;
4251
4251
  return !0;
4252
4252
  }
@@ -4260,7 +4260,7 @@ function qe(e, t) {
4260
4260
  o = i.next();
4261
4261
  }
4262
4262
  for (i = e.entries(), o = i.next(); o.done !== !0; ) {
4263
- if (qe(o.value[1], t.get(o.value[0])) !== !0)
4263
+ if (Ee(o.value[1], t.get(o.value[0])) !== !0)
4264
4264
  return !1;
4265
4265
  o = i.next();
4266
4266
  }
@@ -4296,26 +4296,26 @@ function qe(e, t) {
4296
4296
  return !1;
4297
4297
  for (o = l; o-- !== 0; ) {
4298
4298
  const i = n[o];
4299
- if (qe(e[i], t[i]) !== !0)
4299
+ if (Ee(e[i], t[i]) !== !0)
4300
4300
  return !1;
4301
4301
  }
4302
4302
  return !0;
4303
4303
  }
4304
4304
  return e !== e && t !== t;
4305
4305
  }
4306
- const En = (e) => ["add", "add-unique", "toggle"].includes(e), ea = ".*+?^${}()|[]\\", ta = Object.keys(kl);
4307
- function ll(e, t) {
4306
+ const Vn = (e) => ["add", "add-unique", "toggle"].includes(e), la = ".*+?^${}()|[]\\", na = Object.keys(Cl);
4307
+ function nl(e, t) {
4308
4308
  if (typeof e == "function") return e;
4309
4309
  const l = e !== void 0 ? e : t;
4310
4310
  return (o) => o !== null && typeof o == "object" && l in o ? o[l] : o;
4311
4311
  }
4312
- const la = re({
4312
+ const Co = re({
4313
4313
  name: "QSelect",
4314
4314
  inheritAttrs: !1,
4315
4315
  props: {
4316
- ...zn,
4316
+ ...En,
4317
4317
  ...Yn,
4318
- ...kl,
4318
+ ...Cl,
4319
4319
  // override of useFieldProps > modelValue
4320
4320
  modelValue: {
4321
4321
  required: !0
@@ -4354,7 +4354,7 @@ const la = re({
4354
4354
  useChips: Boolean,
4355
4355
  newValueMode: {
4356
4356
  type: String,
4357
- validator: En
4357
+ validator: Vn
4358
4358
  },
4359
4359
  mapOptions: Boolean,
4360
4360
  emitValue: Boolean,
@@ -4379,7 +4379,7 @@ const la = re({
4379
4379
  default: "default"
4380
4380
  },
4381
4381
  // override of useVirtualScrollProps > virtualScrollItemSize (no default)
4382
- virtualScrollItemSize: zn.virtualScrollItemSize.type,
4382
+ virtualScrollItemSize: En.virtualScrollItemSize.type,
4383
4383
  onNewValue: Function,
4384
4384
  onFilter: Function
4385
4385
  },
@@ -4396,9 +4396,9 @@ const la = re({
4396
4396
  "filterAbort"
4397
4397
  ],
4398
4398
  setup(e, { slots: t, emit: l }) {
4399
- const { proxy: o } = te(), { $q: n } = o, i = V(!1), r = V(!1), a = V(-1), s = V(""), v = V(!1), c = V(!1);
4400
- let b = null, m = null, f, y, E, S = null, L, B, q, P;
4401
- const T = V(null), A = V(null), M = V(null), F = V(null), W = V(null), Y = Ai(e), U = Jr(Ol), $ = d(() => Array.isArray(e.options) ? e.options.length : 0), Q = d(() => e.virtualScrollItemSize === void 0 ? e.optionsDense === !0 ? 24 : 48 : e.virtualScrollItemSize), {
4399
+ const { proxy: o } = te(), { $q: n } = o, i = V(!1), r = V(!1), a = V(-1), s = V(""), d = V(!1), c = V(!1);
4400
+ let b = null, m = null, v, y, E, S = null, M, B, q, P;
4401
+ const T = V(null), A = V(null), L = V(null), F = V(null), W = V(null), Y = $i(e), X = ta($l), $ = f(() => Array.isArray(e.options) ? e.options.length : 0), U = f(() => e.virtualScrollItemSize === void 0 ? e.optionsDense === !0 ? 24 : 48 : e.virtualScrollItemSize), {
4402
4402
  virtualScrollSliceRange: h,
4403
4403
  virtualScrollSliceSizeComputed: w,
4404
4404
  localResetVirtualScroll: R,
@@ -4406,32 +4406,32 @@ const la = re({
4406
4406
  onVirtualScrollEvt: _,
4407
4407
  scrollTo: I,
4408
4408
  setVirtualScrollSize: le
4409
- } = Ur({
4409
+ } = Yr({
4410
4410
  virtualScrollLength: $,
4411
- getVirtualScrollTarget: zo,
4412
- getVirtualScrollEl: Tl,
4413
- virtualScrollItemSizeComputed: Q
4414
- }), p = wo(), k = d(() => {
4411
+ getVirtualScrollTarget: Eo,
4412
+ getVirtualScrollEl: Al,
4413
+ virtualScrollItemSizeComputed: U
4414
+ }), p = wo(), k = f(() => {
4415
4415
  const u = e.mapOptions === !0 && e.multiple !== !0, C = e.modelValue !== void 0 && (e.modelValue !== null || u === !0) ? e.multiple === !0 && Array.isArray(e.modelValue) ? e.modelValue : [e.modelValue] : [];
4416
4416
  if (e.mapOptions === !0 && Array.isArray(e.options) === !0) {
4417
- const z = e.mapOptions === !0 && f !== void 0 ? f : [], K = C.map((G) => _o(G, z));
4417
+ const z = e.mapOptions === !0 && v !== void 0 ? v : [], K = C.map((G) => zo(G, z));
4418
4418
  return e.modelValue === null && u === !0 ? K.filter((G) => G !== null) : K;
4419
4419
  }
4420
4420
  return C;
4421
- }), D = d(() => {
4421
+ }), D = f(() => {
4422
4422
  const u = {};
4423
- return ta.forEach((C) => {
4423
+ return na.forEach((C) => {
4424
4424
  const z = e[C];
4425
4425
  z !== void 0 && (u[C] = z);
4426
4426
  }), u;
4427
- }), O = d(() => e.optionsDark === null ? p.isDark.value : e.optionsDark), N = d(() => ml(k.value)), j = d(() => {
4427
+ }), O = f(() => e.optionsDark === null ? p.isDark.value : e.optionsDark), N = f(() => ml(k.value)), j = f(() => {
4428
4428
  let u = "q-field__input q-placeholder col";
4429
4429
  return e.hideSelected === !0 || k.value.length === 0 ? [u, e.inputClass] : (u += " q-field__input--padding", e.inputClass === void 0 ? u : [u, e.inputClass]);
4430
- }), H = d(
4430
+ }), H = f(
4431
4431
  () => (e.virtualScrollHorizontal === !0 ? "q-virtual-scroll--horizontal" : "") + (e.popupContentClass ? " " + e.popupContentClass : "")
4432
- ), ee = d(() => $.value === 0), x = d(
4432
+ ), ee = f(() => $.value === 0), x = f(
4433
4433
  () => k.value.map((u) => me.value(u)).join(", ")
4434
- ), se = d(() => e.displayValue !== void 0 ? e.displayValue : x.value), we = d(() => e.optionsHtml === !0 ? () => !0 : (u) => (u == null ? void 0 : u.html) === !0), De = d(() => e.displayValueHtml === !0 || e.displayValue === void 0 && (e.optionsHtml === !0 || k.value.some(we.value))), pe = d(() => p.focused.value === !0 ? e.tabindex : -1), gt = d(() => {
4434
+ ), se = f(() => e.displayValue !== void 0 ? e.displayValue : x.value), we = f(() => e.optionsHtml === !0 ? () => !0 : (u) => (u == null ? void 0 : u.html) === !0), De = f(() => e.displayValueHtml === !0 || e.displayValue === void 0 && (e.optionsHtml === !0 || k.value.some(we.value))), pe = f(() => p.focused.value === !0 ? e.tabindex : -1), pt = f(() => {
4435
4435
  const u = {
4436
4436
  tabindex: e.tabindex,
4437
4437
  role: "combobox",
@@ -4442,24 +4442,24 @@ const la = re({
4442
4442
  "aria-controls": `${p.targetUid.value}_lb`
4443
4443
  };
4444
4444
  return a.value >= 0 && (u["aria-activedescendant"] = `${p.targetUid.value}_${a.value}`), u;
4445
- }), ze = d(() => ({
4445
+ }), Ve = f(() => ({
4446
4446
  id: `${p.targetUid.value}_lb`,
4447
4447
  role: "listbox",
4448
4448
  "aria-multiselectable": e.multiple === !0 ? "true" : "false"
4449
- })), Ee = d(() => k.value.map((u, C) => ({
4449
+ })), Be = f(() => k.value.map((u, C) => ({
4450
4450
  index: C,
4451
4451
  opt: u,
4452
4452
  html: we.value(u),
4453
4453
  selected: !0,
4454
- removeAtIndex: qo,
4455
- toggleOption: Be,
4454
+ removeAtIndex: _o,
4455
+ toggleOption: Te,
4456
4456
  tabindex: pe.value
4457
- }))), bt = d(() => {
4457
+ }))), yt = f(() => {
4458
4458
  if ($.value === 0)
4459
4459
  return [];
4460
4460
  const { from: u, to: C } = h.value;
4461
4461
  return e.options.slice(u, C).map((z, K) => {
4462
- const G = je.value(z) === !0, ne = It(z) === !0, Z = u + K, oe = {
4462
+ const G = je.value(z) === !0, ne = Ht(z) === !0, Z = u + K, oe = {
4463
4463
  clickable: !0,
4464
4464
  active: ne,
4465
4465
  activeClass: ot.value,
@@ -4473,7 +4473,7 @@ const la = re({
4473
4473
  "aria-selected": ne === !0 ? "true" : "false",
4474
4474
  id: `${p.targetUid.value}_${Z}`,
4475
4475
  onClick: () => {
4476
- Be(z);
4476
+ Te(z);
4477
4477
  }
4478
4478
  };
4479
4479
  return G !== !0 && (a.value === Z && (oe.focused = !0), n.platform.is.desktop === !0 && (oe.onMousemove = () => {
@@ -4485,38 +4485,38 @@ const la = re({
4485
4485
  label: me.value(z),
4486
4486
  selected: oe.active,
4487
4487
  focused: oe.focused,
4488
- toggleOption: Be,
4488
+ toggleOption: Te,
4489
4489
  setOptionIndex: Ne,
4490
4490
  itemProps: oe
4491
4491
  };
4492
4492
  });
4493
- }), nt = d(() => e.dropdownIcon !== void 0 ? e.dropdownIcon : n.iconSet.arrow.dropdown), Rt = d(
4493
+ }), nt = f(() => e.dropdownIcon !== void 0 ? e.dropdownIcon : n.iconSet.arrow.dropdown), Ft = f(
4494
4494
  () => e.optionsCover === !1 && e.outlined !== !0 && e.standout !== !0 && e.borderless !== !0 && e.rounded !== !0
4495
- ), ot = d(() => e.optionsSelectedClass !== void 0 ? e.optionsSelectedClass : e.color !== void 0 ? `text-${e.color}` : ""), xe = d(() => ll(e.optionValue, "value")), me = d(() => ll(e.optionLabel, "label")), je = d(() => ll(e.optionDisable, "disable")), pt = d(() => k.value.map(xe.value)), Co = d(() => {
4495
+ ), ot = f(() => e.optionsSelectedClass !== void 0 ? e.optionsSelectedClass : e.color !== void 0 ? `text-${e.color}` : ""), xe = f(() => nl(e.optionValue, "value")), me = f(() => nl(e.optionLabel, "label")), je = f(() => nl(e.optionDisable, "disable")), St = f(() => k.value.map(xe.value)), qo = f(() => {
4496
4496
  const u = {
4497
- onInput: Ol,
4497
+ onInput: $l,
4498
4498
  // Safari < 10.2 & UIWebView doesn't fire compositionend when
4499
4499
  // switching focus before confirming composition choice
4500
4500
  // this also fixes the issue where some browsers e.g. iOS Chrome
4501
4501
  // fires "change" instead of "input" on autocomplete.
4502
- onChange: U,
4503
- onKeydown: Vl,
4504
- onKeyup: El,
4502
+ onChange: X,
4503
+ onKeydown: Tl,
4504
+ onKeyup: Vl,
4505
4505
  onKeypress: Bl,
4506
- onFocus: _l,
4506
+ onFocus: zl,
4507
4507
  onClick(C) {
4508
4508
  y === !0 && ye(C);
4509
4509
  }
4510
4510
  };
4511
- return u.onCompositionstart = u.onCompositionupdate = u.onCompositionend = U, u;
4511
+ return u.onCompositionstart = u.onCompositionupdate = u.onCompositionend = X, u;
4512
4512
  });
4513
- X(k, (u) => {
4514
- f = u, e.useInput === !0 && e.fillInput === !0 && e.multiple !== !0 && p.innerLoading.value !== !0 && (r.value !== !0 && i.value !== !0 || N.value !== !0) && (E !== !0 && Ue(), (r.value === !0 || i.value === !0) && We(""));
4515
- }, { immediate: !0 }), X(() => e.fillInput, Ue), X(i, Ht), X($, Fo);
4516
- function Cl(u) {
4513
+ Q(k, (u) => {
4514
+ v = u, e.useInput === !0 && e.fillInput === !0 && e.multiple !== !0 && p.innerLoading.value !== !0 && (r.value !== !0 && i.value !== !0 || N.value !== !0) && (E !== !0 && Ue(), (r.value === !0 || i.value === !0) && We(""));
4515
+ }, { immediate: !0 }), Q(() => e.fillInput, Ue), Q(i, Dt), Q($, Io);
4516
+ function ql(u) {
4517
4517
  return e.emitValue === !0 ? xe.value(u) : u;
4518
4518
  }
4519
- function Ft(u) {
4519
+ function It(u) {
4520
4520
  if (u !== -1 && u < k.value.length)
4521
4521
  if (e.multiple === !0) {
4522
4522
  const C = e.modelValue.slice();
@@ -4524,11 +4524,11 @@ const la = re({
4524
4524
  } else
4525
4525
  l("update:modelValue", null);
4526
4526
  }
4527
- function qo(u) {
4528
- Ft(u), p.focus();
4527
+ function _o(u) {
4528
+ It(u), p.focus();
4529
4529
  }
4530
- function ql(u, C) {
4531
- const z = Cl(u);
4530
+ function _l(u, C) {
4531
+ const z = ql(u);
4532
4532
  if (e.multiple !== !0) {
4533
4533
  e.fillInput === !0 && it(
4534
4534
  me.value(u),
@@ -4541,11 +4541,11 @@ const la = re({
4541
4541
  l("add", { index: 0, value: z }), l("update:modelValue", e.multiple === !0 ? [z] : z);
4542
4542
  return;
4543
4543
  }
4544
- if (C === !0 && It(u) === !0 || e.maxValues !== void 0 && e.modelValue.length >= e.maxValues) return;
4544
+ if (C === !0 && Ht(u) === !0 || e.maxValues !== void 0 && e.modelValue.length >= e.maxValues) return;
4545
4545
  const K = e.modelValue.slice();
4546
4546
  l("add", { index: K.length, value: z }), K.push(z), l("update:modelValue", K);
4547
4547
  }
4548
- function Be(u, C) {
4548
+ function Te(u, C) {
4549
4549
  var ne;
4550
4550
  if (p.editable.value !== !0 || u === void 0 || je.value(u) === !0) return;
4551
4551
  const z = xe.value(u);
@@ -4554,15 +4554,15 @@ const la = re({
4554
4554
  e.fillInput === !0 ? me.value(u) : "",
4555
4555
  !0,
4556
4556
  !0
4557
- ), Ve()), (ne = A.value) == null || ne.focus(), (k.value.length === 0 || qe(xe.value(k.value[0]), z) !== !0) && l("update:modelValue", e.emitValue === !0 ? z : u);
4557
+ ), Ae()), (ne = A.value) == null || ne.focus(), (k.value.length === 0 || Ee(xe.value(k.value[0]), z) !== !0) && l("update:modelValue", e.emitValue === !0 ? z : u);
4558
4558
  return;
4559
4559
  }
4560
- if ((y !== !0 || v.value === !0) && p.focus(), _l(), k.value.length === 0) {
4560
+ if ((y !== !0 || d.value === !0) && p.focus(), zl(), k.value.length === 0) {
4561
4561
  const Z = e.emitValue === !0 ? z : u;
4562
4562
  l("add", { index: 0, value: Z }), l("update:modelValue", e.multiple === !0 ? [Z] : Z);
4563
4563
  return;
4564
4564
  }
4565
- const K = e.modelValue.slice(), G = pt.value.findIndex((Z) => qe(Z, z));
4565
+ const K = e.modelValue.slice(), G = St.value.findIndex((Z) => Ee(Z, z));
4566
4566
  if (G !== -1)
4567
4567
  l("remove", { index: G, value: K.splice(G, 1)[0] });
4568
4568
  else {
@@ -4577,46 +4577,46 @@ const la = re({
4577
4577
  const C = u !== -1 && u < $.value ? u : -1;
4578
4578
  a.value !== C && (a.value = C);
4579
4579
  }
4580
- function yt(u = 1, C) {
4580
+ function wt(u = 1, C) {
4581
4581
  if (i.value === !0) {
4582
4582
  let z = a.value;
4583
4583
  do
4584
- z = tn(
4584
+ z = ln(
4585
4585
  z + u,
4586
4586
  -1,
4587
4587
  $.value - 1
4588
4588
  );
4589
4589
  while (z !== -1 && z !== a.value && je.value(e.options[z]) === !0);
4590
- a.value !== z && (Ne(z), I(z), C !== !0 && e.useInput === !0 && e.fillInput === !0 && St(
4591
- z >= 0 ? me.value(e.options[z]) : L,
4590
+ a.value !== z && (Ne(z), I(z), C !== !0 && e.useInput === !0 && e.fillInput === !0 && xt(
4591
+ z >= 0 ? me.value(e.options[z]) : M,
4592
4592
  !0
4593
4593
  ));
4594
4594
  }
4595
4595
  }
4596
- function _o(u, C) {
4597
- const z = (K) => qe(xe.value(K), u);
4596
+ function zo(u, C) {
4597
+ const z = (K) => Ee(xe.value(K), u);
4598
4598
  return e.options.find(z) || C.find(z) || u;
4599
4599
  }
4600
- function It(u) {
4600
+ function Ht(u) {
4601
4601
  const C = xe.value(u);
4602
- return pt.value.find((z) => qe(z, C)) !== void 0;
4603
- }
4604
- function _l(u) {
4605
- e.useInput === !0 && A.value !== null && (u === void 0 || A.value === u.target && u.target.value === x.value) && A.value.select();
4602
+ return St.value.find((z) => Ee(z, C)) !== void 0;
4606
4603
  }
4607
4604
  function zl(u) {
4608
- Fe(u, 27) === !0 && i.value === !0 && (ye(u), Ve(), Ue()), l("keyup", u);
4605
+ e.useInput === !0 && A.value !== null && (u === void 0 || A.value === u.target && u.target.value === x.value) && A.value.select();
4609
4606
  }
4610
4607
  function El(u) {
4608
+ Fe(u, 27) === !0 && i.value === !0 && (ye(u), Ae(), Ue()), l("keyup", u);
4609
+ }
4610
+ function Vl(u) {
4611
4611
  const { value: C } = u.target;
4612
4612
  if (u.keyCode !== void 0) {
4613
- zl(u);
4613
+ El(u);
4614
4614
  return;
4615
4615
  }
4616
4616
  if (u.target.value = "", b !== null && (clearTimeout(b), b = null), m !== null && (clearTimeout(m), m = null), Ue(), typeof C == "string" && C.length !== 0) {
4617
4617
  const z = C.toLocaleLowerCase(), K = (ne) => {
4618
4618
  const Z = e.options.find((oe) => String(ne.value(oe)).toLocaleLowerCase() === z);
4619
- return Z === void 0 ? !1 : (k.value.indexOf(Z) === -1 ? Be(Z) : Ve(), !0);
4619
+ return Z === void 0 ? !1 : (k.value.indexOf(Z) === -1 ? Te(Z) : Ae(), !0);
4620
4620
  }, G = (ne) => {
4621
4621
  K(xe) !== !0 && ne !== !0 && K(me) !== !0 && We(C, !0, () => G(!0));
4622
4622
  };
@@ -4627,7 +4627,7 @@ const la = re({
4627
4627
  function Bl(u) {
4628
4628
  l("keypress", u);
4629
4629
  }
4630
- function Vl(u) {
4630
+ function Tl(u) {
4631
4631
  if (l("keydown", u), Qn(u) === !0) return;
4632
4632
  const C = s.value.length !== 0 && (e.newValueMode !== void 0 || e.onNewValue !== void 0), z = u.shiftKey !== !0 && e.disableTabSelection !== !0 && e.multiple !== !0 && (a.value !== -1 || C === !0);
4633
4633
  if (u.keyCode === 27) {
@@ -4644,60 +4644,60 @@ const la = re({
4644
4644
  return;
4645
4645
  }
4646
4646
  if (u.keyCode === 8 && (e.useChips === !0 || e.clearable === !0) && e.hideSelected !== !0 && s.value.length === 0) {
4647
- e.multiple === !0 && Array.isArray(e.modelValue) === !0 ? Ft(e.modelValue.length - 1) : e.multiple !== !0 && e.modelValue !== null && l("update:modelValue", null);
4647
+ e.multiple === !0 && Array.isArray(e.modelValue) === !0 ? It(e.modelValue.length - 1) : e.multiple !== !0 && e.modelValue !== null && l("update:modelValue", null);
4648
4648
  return;
4649
4649
  }
4650
- (u.keyCode === 35 || u.keyCode === 36) && (typeof s.value != "string" || s.value.length === 0) && (ie(u), a.value = -1, yt(u.keyCode === 36 ? 1 : -1, e.multiple)), (u.keyCode === 33 || u.keyCode === 34) && w.value !== void 0 && (ie(u), a.value = Math.max(
4650
+ (u.keyCode === 35 || u.keyCode === 36) && (typeof s.value != "string" || s.value.length === 0) && (ie(u), a.value = -1, wt(u.keyCode === 36 ? 1 : -1, e.multiple)), (u.keyCode === 33 || u.keyCode === 34) && w.value !== void 0 && (ie(u), a.value = Math.max(
4651
4651
  -1,
4652
4652
  Math.min(
4653
4653
  $.value,
4654
4654
  a.value + (u.keyCode === 33 ? -1 : 1) * w.value.view
4655
4655
  )
4656
- ), yt(u.keyCode === 33 ? 1 : -1, e.multiple)), (u.keyCode === 38 || u.keyCode === 40) && (ie(u), yt(u.keyCode === 38 ? -1 : 1, e.multiple));
4656
+ ), wt(u.keyCode === 33 ? 1 : -1, e.multiple)), (u.keyCode === 38 || u.keyCode === 40) && (ie(u), wt(u.keyCode === 38 ? -1 : 1, e.multiple));
4657
4657
  const K = $.value;
4658
4658
  if ((q === void 0 || P < Date.now()) && (q = ""), K > 0 && e.useInput !== !0 && u.key !== void 0 && u.key.length === 1 && u.altKey === !1 && u.ctrlKey === !1 && u.metaKey === !1 && (u.keyCode !== 32 || q.length !== 0)) {
4659
4659
  i.value !== !0 && Qe(u);
4660
4660
  const G = u.key.toLocaleLowerCase(), ne = q.length === 1 && q[0] === G;
4661
4661
  P = Date.now() + 1500, ne === !1 && (ie(u), q += G);
4662
- const Z = new RegExp("^" + q.split("").map((Xe) => ea.indexOf(Xe) !== -1 ? "\\" + Xe : Xe).join(".*"), "i");
4662
+ const Z = new RegExp("^" + q.split("").map((Xe) => la.indexOf(Xe) !== -1 ? "\\" + Xe : Xe).join(".*"), "i");
4663
4663
  let oe = a.value;
4664
4664
  if (ne === !0 || oe < 0 || Z.test(me.value(e.options[oe])) !== !0)
4665
4665
  do
4666
- oe = tn(oe + 1, -1, K - 1);
4666
+ oe = ln(oe + 1, -1, K - 1);
4667
4667
  while (oe !== a.value && (je.value(e.options[oe]) === !0 || Z.test(me.value(e.options[oe])) !== !0));
4668
4668
  a.value !== oe && fe(() => {
4669
- Ne(oe), I(oe), oe >= 0 && e.useInput === !0 && e.fillInput === !0 && St(me.value(e.options[oe]), !0);
4669
+ Ne(oe), I(oe), oe >= 0 && e.useInput === !0 && e.fillInput === !0 && xt(me.value(e.options[oe]), !0);
4670
4670
  });
4671
4671
  return;
4672
4672
  }
4673
4673
  if (!(u.keyCode !== 13 && (u.keyCode !== 32 || e.useInput === !0 || q !== "") && (u.keyCode !== 9 || z === !1))) {
4674
4674
  if (u.keyCode !== 9 && ie(u), a.value !== -1 && a.value < K) {
4675
- Be(e.options[a.value]);
4675
+ Te(e.options[a.value]);
4676
4676
  return;
4677
4677
  }
4678
4678
  if (C === !0) {
4679
4679
  const G = (ne, Z) => {
4680
4680
  var Xe;
4681
4681
  if (Z) {
4682
- if (En(Z) !== !0) return;
4682
+ if (Vn(Z) !== !0) return;
4683
4683
  } else
4684
4684
  Z = e.newValueMode;
4685
4685
  if (it("", e.multiple !== !0, !0), ne == null) return;
4686
- (Z === "toggle" ? Be : ql)(ne, Z === "add-unique"), e.multiple !== !0 && ((Xe = A.value) == null || Xe.focus(), Ve());
4686
+ (Z === "toggle" ? Te : _l)(ne, Z === "add-unique"), e.multiple !== !0 && ((Xe = A.value) == null || Xe.focus(), Ae());
4687
4687
  };
4688
4688
  if (e.onNewValue !== void 0 ? l("newValue", s.value, G) : G(s.value), e.multiple !== !0) return;
4689
4689
  }
4690
4690
  i.value === !0 ? Ke() : p.innerLoading.value !== !0 && Qe();
4691
4691
  }
4692
4692
  }
4693
- function Tl() {
4694
- return y === !0 ? W.value : M.value !== null && M.value.contentEl !== null ? M.value.contentEl : void 0;
4695
- }
4696
- function zo() {
4697
- return Tl();
4693
+ function Al() {
4694
+ return y === !0 ? W.value : L.value !== null && L.value.contentEl !== null ? L.value.contentEl : void 0;
4698
4695
  }
4699
4696
  function Eo() {
4700
- return e.hideSelected === !0 ? [] : t["selected-item"] !== void 0 ? Ee.value.map((u) => t["selected-item"](u)).slice() : t.selected !== void 0 ? [].concat(t.selected()) : e.useChips === !0 ? Ee.value.map((u, C) => g($r, {
4697
+ return Al();
4698
+ }
4699
+ function Vo() {
4700
+ return e.hideSelected === !0 ? [] : t["selected-item"] !== void 0 ? Be.value.map((u) => t["selected-item"](u)).slice() : t.selected !== void 0 ? [].concat(t.selected()) : e.useChips === !0 ? Be.value.map((u, C) => g(Mr, {
4701
4701
  key: "option-" + C,
4702
4702
  removable: p.editable.value === !0 && je.value(u.opt) !== !0,
4703
4703
  dense: !0,
@@ -4716,26 +4716,26 @@ const la = re({
4716
4716
  })
4717
4717
  ];
4718
4718
  }
4719
- function Al() {
4719
+ function Ol() {
4720
4720
  if (ee.value === !0)
4721
4721
  return t["no-option"] !== void 0 ? t["no-option"]({ inputValue: s.value }) : void 0;
4722
- const u = t.option !== void 0 ? t.option : (z) => g(Mr, {
4722
+ const u = t.option !== void 0 ? t.option : (z) => g(Pr, {
4723
4723
  key: z.index,
4724
4724
  ...z.itemProps
4725
4725
  }, () => g(
4726
- Lr,
4726
+ Rr,
4727
4727
  () => g(
4728
- Pr,
4728
+ Fr,
4729
4729
  () => g("span", {
4730
4730
  [z.html === !0 ? "innerHTML" : "textContent"]: z.label
4731
4731
  })
4732
4732
  )
4733
4733
  ));
4734
- let C = J("div", bt.value.map(u));
4734
+ let C = J("div", yt.value.map(u));
4735
4735
  return t["before-options"] !== void 0 && (C = t["before-options"]().concat(C)), ke(t["after-options"], C);
4736
4736
  }
4737
4737
  function Bo(u, C) {
4738
- const z = C === !0 ? { ...gt.value, ...p.splitAttrs.attributes.value } : void 0, K = {
4738
+ const z = C === !0 ? { ...pt.value, ...p.splitAttrs.attributes.value } : void 0, K = {
4739
4739
  ref: C === !0 ? A : void 0,
4740
4740
  key: "i_t",
4741
4741
  class: j.value,
@@ -4750,22 +4750,22 @@ const la = re({
4750
4750
  "data-autofocus": u === !0 || e.autofocus === !0 || void 0,
4751
4751
  disabled: e.disable === !0,
4752
4752
  readonly: e.readonly === !0,
4753
- ...Co.value
4753
+ ...qo.value
4754
4754
  };
4755
4755
  return u !== !0 && y === !0 && (Array.isArray(K.class) === !0 ? K.class = [...K.class, "no-pointer-events"] : K.class += " no-pointer-events"), g("input", K);
4756
4756
  }
4757
- function Ol(u) {
4758
- b !== null && (clearTimeout(b), b = null), m !== null && (clearTimeout(m), m = null), !(u && u.target && u.target.qComposing === !0) && (St(u.target.value || ""), E = !0, L = s.value, p.focused.value !== !0 && (y !== !0 || v.value === !0) && p.focus(), e.onFilter !== void 0 && (b = setTimeout(() => {
4757
+ function $l(u) {
4758
+ b !== null && (clearTimeout(b), b = null), m !== null && (clearTimeout(m), m = null), !(u && u.target && u.target.qComposing === !0) && (xt(u.target.value || ""), E = !0, M = s.value, p.focused.value !== !0 && (y !== !0 || d.value === !0) && p.focus(), e.onFilter !== void 0 && (b = setTimeout(() => {
4759
4759
  b = null, We(s.value);
4760
4760
  }, e.inputDebounce)));
4761
4761
  }
4762
- function St(u, C) {
4762
+ function xt(u, C) {
4763
4763
  s.value !== u && (s.value = u, C === !0 || e.inputDebounce === 0 || e.inputDebounce === "0" ? l("inputValue", u) : m = setTimeout(() => {
4764
4764
  m = null, l("inputValue", u);
4765
4765
  }, e.inputDebounce));
4766
4766
  }
4767
4767
  function it(u, C, z) {
4768
- E = z !== !0, e.useInput === !0 && (St(u, !0), (C === !0 || z !== !0) && (L = u), C !== !0 && We(u));
4768
+ E = z !== !0, e.useInput === !0 && (xt(u, !0), (C === !0 || z !== !0) && (M = u), C !== !0 && We(u));
4769
4769
  }
4770
4770
  function We(u, C, z) {
4771
4771
  if (e.onFilter === void 0 || C !== !0 && p.focused.value !== !0) return;
@@ -4778,7 +4778,7 @@ const la = re({
4778
4778
  u,
4779
4779
  (G, ne) => {
4780
4780
  (C === !0 || p.focused.value === !0) && S === K && (clearTimeout(S), typeof G == "function" && G(), c.value = !1, fe(() => {
4781
- p.innerLoading.value = !1, p.editable.value === !0 && (C === !0 ? i.value === !0 && Ve() : i.value === !0 ? Ht(!0) : i.value = !0), typeof ne == "function" && fe(() => {
4781
+ p.innerLoading.value = !1, p.editable.value === !0 && (C === !0 ? i.value === !0 && Ae() : i.value === !0 ? Dt(!0) : i.value = !0), typeof ne == "function" && fe(() => {
4782
4782
  ne(o);
4783
4783
  }), typeof z == "function" && fe(() => {
4784
4784
  z(o);
@@ -4790,9 +4790,9 @@ const la = re({
4790
4790
  }
4791
4791
  );
4792
4792
  }
4793
- function Vo() {
4793
+ function To() {
4794
4794
  return g(yo, {
4795
- ref: M,
4795
+ ref: L,
4796
4796
  class: H.value,
4797
4797
  style: e.popupContentStyle,
4798
4798
  modelValue: i.value,
@@ -4806,36 +4806,36 @@ const la = re({
4806
4806
  noRefocus: !0,
4807
4807
  noFocus: !0,
4808
4808
  noRouteDismiss: e.popupNoRouteDismiss,
4809
- square: Rt.value,
4809
+ square: Ft.value,
4810
4810
  transitionShow: e.transitionShow,
4811
4811
  transitionHide: e.transitionHide,
4812
4812
  transitionDuration: e.transitionDuration,
4813
4813
  separateClosePopup: !0,
4814
- ...ze.value,
4814
+ ...Ve.value,
4815
4815
  onScrollPassive: _,
4816
4816
  onBeforeShow: Ml,
4817
- onBeforeHide: To,
4818
- onShow: Ao
4819
- }, Al);
4817
+ onBeforeHide: Ao,
4818
+ onShow: Oo
4819
+ }, Ol);
4820
4820
  }
4821
- function To(u) {
4822
- Ll(u), Ke();
4821
+ function Ao(u) {
4822
+ Pl(u), Ke();
4823
4823
  }
4824
- function Ao() {
4824
+ function Oo() {
4825
4825
  le();
4826
4826
  }
4827
- function Oo(u) {
4827
+ function $o(u) {
4828
4828
  var C;
4829
- ye(u), (C = A.value) == null || C.focus(), v.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
4829
+ ye(u), (C = A.value) == null || C.focus(), d.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
4830
4830
  }
4831
- function $o(u) {
4831
+ function Lo(u) {
4832
4832
  ye(u), fe(() => {
4833
- v.value = !1;
4833
+ d.value = !1;
4834
4834
  });
4835
4835
  }
4836
4836
  function Mo() {
4837
4837
  const u = [
4838
- g(Ar, {
4838
+ g($r, {
4839
4839
  class: `col-auto ${p.fieldClass.value}`,
4840
4840
  ...D.value,
4841
4841
  for: p.targetUid.value,
@@ -4846,8 +4846,8 @@ const la = re({
4846
4846
  filled: !0,
4847
4847
  stackLabel: s.value.length !== 0,
4848
4848
  ...p.splitAttrs.listeners.value,
4849
- onFocus: Oo,
4850
- onBlur: $o
4849
+ onFocus: $o,
4850
+ onBlur: Lo
4851
4851
  }, {
4852
4852
  ...t,
4853
4853
  rawControl: () => p.getControl(!0),
@@ -4860,11 +4860,11 @@ const la = re({
4860
4860
  ref: W,
4861
4861
  class: H.value + " scroll",
4862
4862
  style: e.popupContentStyle,
4863
- ...ze.value,
4863
+ ...Ve.value,
4864
4864
  onClick: ve,
4865
4865
  onScrollPassive: _
4866
- }, Al())
4867
- ), g(Nr, {
4866
+ }, Ol())
4867
+ ), g(Kr, {
4868
4868
  ref: F,
4869
4869
  modelValue: r.value,
4870
4870
  position: e.useInput === !0 ? "top" : void 0,
@@ -4873,22 +4873,22 @@ const la = re({
4873
4873
  transitionDuration: e.transitionDuration,
4874
4874
  noRouteDismiss: e.popupNoRouteDismiss,
4875
4875
  onBeforeShow: Ml,
4876
- onBeforeHide: Lo,
4877
- onHide: Po,
4878
- onShow: Ro
4876
+ onBeforeHide: Po,
4877
+ onHide: Ro,
4878
+ onShow: Fo
4879
4879
  }, () => g("div", {
4880
- class: "q-select__dialog" + (O.value === !0 ? " q-select__dialog--dark q-dark" : "") + (v.value === !0 ? " q-select__dialog--focused" : "")
4880
+ class: "q-select__dialog" + (O.value === !0 ? " q-select__dialog--dark q-dark" : "") + (d.value === !0 ? " q-select__dialog--focused" : "")
4881
4881
  }, u));
4882
4882
  }
4883
- function Lo(u) {
4884
- Ll(u), F.value !== null && F.value.__updateRefocusTarget(
4883
+ function Po(u) {
4884
+ Pl(u), F.value !== null && F.value.__updateRefocusTarget(
4885
4885
  p.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")
4886
4886
  ), p.focused.value = !1;
4887
4887
  }
4888
- function Po(u) {
4889
- Ve(), p.focused.value === !1 && l("blur", u), Ue();
4888
+ function Ro(u) {
4889
+ Ae(), p.focused.value === !1 && l("blur", u), Ue();
4890
4890
  }
4891
- function Ro() {
4891
+ function Fo() {
4892
4892
  const u = document.activeElement;
4893
4893
  (u === null || u.id !== p.targetUid.value) && A.value !== null && A.value !== u && A.value.focus(), le();
4894
4894
  }
@@ -4900,7 +4900,7 @@ const la = re({
4900
4900
  p.focus();
4901
4901
  })) : p.focus(), e.onFilter !== void 0 ? We(s.value) : (ee.value !== !0 || t["no-option"] !== void 0) && (i.value = !0));
4902
4902
  }
4903
- function Ve() {
4903
+ function Ae() {
4904
4904
  r.value = !1, Ke();
4905
4905
  }
4906
4906
  function Ue() {
@@ -4910,68 +4910,68 @@ const la = re({
4910
4910
  !0
4911
4911
  );
4912
4912
  }
4913
- function Ht(u) {
4913
+ function Dt(u) {
4914
4914
  let C = -1;
4915
4915
  if (u === !0) {
4916
4916
  if (k.value.length !== 0) {
4917
4917
  const z = xe.value(k.value[0]);
4918
- C = e.options.findIndex((K) => qe(xe.value(K), z));
4918
+ C = e.options.findIndex((K) => Ee(xe.value(K), z));
4919
4919
  }
4920
4920
  R(C);
4921
4921
  }
4922
4922
  Ne(C);
4923
4923
  }
4924
- function Fo(u, C) {
4924
+ function Io(u, C) {
4925
4925
  i.value === !0 && p.innerLoading.value === !1 && (R(-1, !0), fe(() => {
4926
- i.value === !0 && p.innerLoading.value === !1 && (u > C ? R() : Ht(!0));
4926
+ i.value === !0 && p.innerLoading.value === !1 && (u > C ? R() : Dt(!0));
4927
4927
  }));
4928
4928
  }
4929
- function $l() {
4930
- r.value === !1 && M.value !== null && M.value.updatePosition();
4929
+ function Ll() {
4930
+ r.value === !1 && L.value !== null && L.value.updatePosition();
4931
4931
  }
4932
4932
  function Ml(u) {
4933
4933
  u !== void 0 && ye(u), l("popupShow", u), p.hasPopupOpen = !0, p.onControlFocusin(u);
4934
4934
  }
4935
- function Ll(u) {
4935
+ function Pl(u) {
4936
4936
  u !== void 0 && ye(u), l("popupHide", u), p.hasPopupOpen = !1, p.onControlFocusout(u);
4937
4937
  }
4938
- function Pl() {
4938
+ function Rl() {
4939
4939
  y = n.platform.is.mobile !== !0 && e.behavior !== "dialog" ? !1 : e.behavior !== "menu" && (e.useInput === !0 ? t["no-option"] !== void 0 || e.onFilter !== void 0 || ee.value === !1 : !0), B = n.platform.is.ios === !0 && y === !0 && e.useInput === !0 ? "fade" : e.transitionShow;
4940
4940
  }
4941
- return An(Pl), Qo($l), Pl(), de(() => {
4941
+ return On(Rl), Uo(Ll), Rl(), de(() => {
4942
4942
  b !== null && clearTimeout(b), m !== null && clearTimeout(m);
4943
4943
  }), Object.assign(o, {
4944
4944
  showPopup: Qe,
4945
- hidePopup: Ve,
4946
- removeAtIndex: Ft,
4947
- add: ql,
4948
- toggleOption: Be,
4945
+ hidePopup: Ae,
4946
+ removeAtIndex: It,
4947
+ add: _l,
4948
+ toggleOption: Te,
4949
4949
  getOptionIndex: () => a.value,
4950
4950
  setOptionIndex: Ne,
4951
- moveOptionSelection: yt,
4951
+ moveOptionSelection: wt,
4952
4952
  filter: We,
4953
- updateMenuPosition: $l,
4953
+ updateMenuPosition: Ll,
4954
4954
  updateInputValue: it,
4955
- isOptionSelected: It,
4956
- getEmittingOptionValue: Cl,
4955
+ isOptionSelected: Ht,
4956
+ getEmittingOptionValue: ql,
4957
4957
  isOptionDisabled: (...u) => je.value.apply(null, u) === !0,
4958
4958
  getOptionValue: (...u) => xe.value.apply(null, u),
4959
4959
  getOptionLabel: (...u) => me.value.apply(null, u)
4960
4960
  }), Object.assign(p, {
4961
4961
  innerValue: k,
4962
- fieldClass: d(
4962
+ fieldClass: f(
4963
4963
  () => `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"}`
4964
4964
  ),
4965
4965
  inputRef: T,
4966
4966
  targetRef: A,
4967
4967
  hasValue: N,
4968
4968
  showPopup: Qe,
4969
- floatingLabel: d(
4969
+ floatingLabel: f(
4970
4970
  () => e.hideSelected !== !0 && N.value === !0 || typeof s.value == "number" || s.value.length !== 0 || ml(e.displayValue)
4971
4971
  ),
4972
4972
  getControlChild: () => {
4973
4973
  if (p.editable.value !== !1 && (r.value === !0 || ee.value !== !0 || t["no-option"] !== void 0))
4974
- return y === !0 ? Mo() : Vo();
4974
+ return y === !0 ? Mo() : To();
4975
4975
  p.hasPopupOpen === !0 && (p.hasPopupOpen = !1);
4976
4976
  },
4977
4977
  controlEvents: {
@@ -4993,11 +4993,11 @@ const la = re({
4993
4993
  }
4994
4994
  },
4995
4995
  getControl: (u) => {
4996
- const C = Eo(), z = u === !0 || r.value !== !0 || y !== !0;
4996
+ const C = Vo(), z = u === !0 || r.value !== !0 || y !== !0;
4997
4997
  if (e.useInput === !0)
4998
4998
  C.push(Bo(u, z));
4999
4999
  else if (p.editable.value === !0) {
5000
- const G = z === !0 ? gt.value : void 0;
5000
+ const G = z === !0 ? pt.value : void 0;
5001
5001
  C.push(
5002
5002
  g("input", {
5003
5003
  ref: z === !0 ? A : void 0,
@@ -5008,8 +5008,8 @@ const la = re({
5008
5008
  readonly: !0,
5009
5009
  "data-autofocus": u === !0 || e.autofocus === !0 || void 0,
5010
5010
  ...G,
5011
- onKeydown: Vl,
5012
- onKeyup: zl,
5011
+ onKeydown: Tl,
5012
+ onKeyup: El,
5013
5013
  onKeypress: Bl
5014
5014
  })
5015
5015
  ), z === !0 && typeof e.autocomplete == "string" && e.autocomplete.length !== 0 && C.push(
@@ -5017,12 +5017,12 @@ const la = re({
5017
5017
  class: "q-select__autocomplete-input",
5018
5018
  autocomplete: e.autocomplete,
5019
5019
  tabindex: -1,
5020
- onKeyup: El
5020
+ onKeyup: Vl
5021
5021
  })
5022
5022
  );
5023
5023
  }
5024
- if (Y.value !== void 0 && e.disable !== !0 && pt.value.length !== 0) {
5025
- const G = pt.value.map((ne) => g("option", { value: ne, selected: !0 }));
5024
+ if (Y.value !== void 0 && e.disable !== !0 && St.value.length !== 0) {
5025
+ const G = St.value.map((ne) => g("option", { value: ne, selected: !0 }));
5026
5026
  C.push(
5027
5027
  g("select", {
5028
5028
  class: "hidden",
@@ -5046,7 +5046,7 @@ const la = re({
5046
5046
  ] : null
5047
5047
  }), xo(p);
5048
5048
  }
5049
- }), na = { class: "q-pa-none" }, oa = /* @__PURE__ */ $t({
5049
+ }), oa = { class: "q-pa-none" }, ia = /* @__PURE__ */ gt({
5050
5050
  __name: "CheckboxFilter",
5051
5051
  props: {
5052
5052
  options: {},
@@ -5057,19 +5057,19 @@ const la = re({
5057
5057
  },
5058
5058
  emits: ["update:modelValue"],
5059
5059
  setup(e, { emit: t }) {
5060
- const l = e, o = t, n = V(!1), i = V(l.modelValue || []), r = d(() => ({
5060
+ const l = e, o = t, n = V(!1), i = V(l.modelValue || []), r = f(() => ({
5061
5061
  height: l.scrollAreaHeight,
5062
5062
  width: l.scrollAreaWidth
5063
5063
  }));
5064
- return X(i, (a) => {
5064
+ return Q(i, (a) => {
5065
5065
  o("update:modelValue", a);
5066
- }), X(
5066
+ }), Q(
5067
5067
  () => l.modelValue,
5068
5068
  (a) => {
5069
5069
  a && (i.value = a);
5070
5070
  }
5071
- ), (a, s) => (_e(), Bt("div", na, [
5072
- Oe(la, nl({
5071
+ ), (a, s) => (Ce(), Tt("div", oa, [
5072
+ ze(Co, Bt({
5073
5073
  outlined: "",
5074
5074
  dense: "",
5075
5075
  label: l.label,
@@ -5079,39 +5079,39 @@ const la = re({
5079
5079
  options: [],
5080
5080
  "hide-dropdown-icon": ""
5081
5081
  }, a.$attrs), {
5082
- append: Ae(() => [
5083
- Oe(be, {
5082
+ append: _e(() => [
5083
+ ze(be, {
5084
5084
  name: "arrow_drop_down",
5085
- class: Xo(["cursor-pointer smooth-rotate", { "rotate-180": n.value }])
5085
+ class: Yo(["cursor-pointer smooth-rotate", { "rotate-180": n.value }])
5086
5086
  }, null, 8, ["class"])
5087
5087
  ]),
5088
- default: Ae(() => [
5089
- Oe(yo, {
5088
+ default: _e(() => [
5089
+ ze(yo, {
5090
5090
  modelValue: n.value,
5091
- "onUpdate:modelValue": s[1] || (s[1] = (v) => n.value = v),
5091
+ "onUpdate:modelValue": s[1] || (s[1] = (d) => n.value = d),
5092
5092
  anchor: "bottom left",
5093
5093
  self: "top left",
5094
5094
  offset: [0, 8],
5095
5095
  "transition-show": "scale",
5096
5096
  "transition-hide": "scale"
5097
5097
  }, {
5098
- default: Ae(() => [
5099
- Oe(er, { class: "q-pa-sm" }, {
5100
- default: Ae(() => [
5101
- Oe(Ji, {
5102
- style: Uo(r.value)
5098
+ default: _e(() => [
5099
+ ze(lr, { class: "q-pa-sm" }, {
5100
+ default: _e(() => [
5101
+ ze(tr, {
5102
+ style: Xo(r.value)
5103
5103
  }, {
5104
- default: Ae(() => [
5105
- (_e(!0), Bt(Vn, null, Tn(l.options, (v) => (_e(), Et(Ri, {
5106
- key: v.value,
5104
+ default: _e(() => [
5105
+ (Ce(!0), Tt(Tn, null, An(l.options, (d) => (Ce(), ft(Ii, {
5106
+ key: d.value,
5107
5107
  modelValue: i.value,
5108
5108
  "onUpdate:modelValue": s[0] || (s[0] = (c) => i.value = c),
5109
- val: v,
5110
- label: v.label,
5111
- disable: v.disabled,
5109
+ val: d,
5110
+ label: d.label,
5111
+ disable: d.disabled,
5112
5112
  color: "primary",
5113
5113
  class: "q-mb-sm q-ml-sm q-mr-sm",
5114
- "data-cy": `checkbox-option-${v.label}`
5114
+ "data-cy": `checkbox-option-${d.label}`
5115
5115
  }, null, 8, ["modelValue", "val", "label", "disable", "data-cy"]))), 128))
5116
5116
  ]),
5117
5117
  _: 1
@@ -5127,8 +5127,79 @@ const la = re({
5127
5127
  }, 16, ["label"])
5128
5128
  ]));
5129
5129
  }
5130
- }), ua = /* @__PURE__ */ Xn(oa, [["__scopeId", "data-v-42c19597"]]);
5131
- function sa(e) {
5130
+ }), sa = /* @__PURE__ */ Xn(ia, [["__scopeId", "data-v-42c19597"]]), ca = /* @__PURE__ */ gt({
5131
+ __name: "SelectSearch",
5132
+ props: {
5133
+ options: { default: () => [] },
5134
+ fetchOptions: {},
5135
+ label: { default: "Select" },
5136
+ modelValue: { default: null }
5137
+ },
5138
+ emits: ["update:modelValue"],
5139
+ setup(e, { emit: t }) {
5140
+ const l = e, o = t, n = V(l.modelValue), i = V(l.options), r = V(!1);
5141
+ Q(
5142
+ () => l.modelValue,
5143
+ (s) => {
5144
+ n.value = s;
5145
+ }
5146
+ ), Q(n, (s) => {
5147
+ o("update:modelValue", s);
5148
+ }), Q(
5149
+ () => l.options,
5150
+ (s) => {
5151
+ i.value = s;
5152
+ }
5153
+ );
5154
+ const a = async (s, d) => {
5155
+ d(async () => {
5156
+ if (!s) {
5157
+ i.value = l.options;
5158
+ return;
5159
+ }
5160
+ if (l.fetchOptions)
5161
+ try {
5162
+ r.value = !0;
5163
+ const c = await l.fetchOptions(s);
5164
+ i.value = c;
5165
+ } finally {
5166
+ r.value = !1;
5167
+ }
5168
+ else
5169
+ i.value = l.options.filter(
5170
+ (c) => c.label.toLowerCase().includes(s.toLowerCase())
5171
+ );
5172
+ });
5173
+ };
5174
+ return (s, d) => (Ce(), ft(Co, Bt({
5175
+ modelValue: n.value,
5176
+ "onUpdate:modelValue": d[0] || (d[0] = (c) => n.value = c),
5177
+ "use-input": "",
5178
+ "hide-selected": "",
5179
+ "fill-input": "",
5180
+ "input-debounce": "300",
5181
+ label: s.label,
5182
+ options: i.value,
5183
+ onFilter: a,
5184
+ "data-cy": "client-select",
5185
+ dense: "",
5186
+ outlined: "",
5187
+ class: "full-width cursor-pointer"
5188
+ }, s.$attrs), Go({ _: 2 }, [
5189
+ r.value ? {
5190
+ name: "append",
5191
+ fn: _e(() => [
5192
+ ze(pl, {
5193
+ color: "primary",
5194
+ size: "sm"
5195
+ })
5196
+ ]),
5197
+ key: "0"
5198
+ } : void 0
5199
+ ]), 1040, ["modelValue", "label", "options"]));
5200
+ }
5201
+ });
5202
+ function da(e) {
5132
5203
  var t, l;
5133
5204
  return {
5134
5205
  entity: e.entity,
@@ -5161,8 +5232,9 @@ function sa(e) {
5161
5232
  };
5162
5233
  }
5163
5234
  export {
5164
- ra as Breadcrumbs,
5165
- ua as CheckboxFilter,
5166
- aa as NavButton,
5167
- sa as createBreadcrumb
5235
+ aa as Breadcrumbs,
5236
+ sa as CheckboxFilter,
5237
+ ua as NavButton,
5238
+ ca as SelectSearch,
5239
+ da as createBreadcrumb
5168
5240
  };