@figurosity/consumer-controls 0.3.0 → 0.3.2

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,13 +1,13 @@
1
- import { ref as y, watch as ce, onMounted as J, openBlock as _, createElementBlock as se, toDisplayString as be, defineComponent as M, computed as u, h as r, resolveComponent as A, createElementVNode as x, createVNode as D, createBlock as L, normalizeClass as Y, withCtx as S, Transition as ie, withDirectives as R, unref as Z, vShow as O, createTextVNode as at, createCommentVNode as le, renderSlot as I, normalizeStyle as pe, inject as sn, onBeforeUnmount as Me, nextTick as we, provide as cn, onUnmounted as At, onBeforeMount as rn, toRefs as un, useSlots as dn, TransitionGroup as ot, useModel as Ue, resolveDynamicComponent as mn, withModifiers as yt, mergeModels as fn } from "vue";
1
+ import { ref as y, watch as ce, onMounted as J, openBlock as _, createElementBlock as se, toDisplayString as be, defineComponent as M, computed as d, h as r, resolveComponent as A, createElementVNode as x, createVNode as D, createBlock as L, normalizeClass as Y, withCtx as S, Transition as ie, withDirectives as R, unref as Z, vShow as O, createTextVNode as nt, createCommentVNode as le, renderSlot as I, normalizeStyle as pe, inject as an, onBeforeUnmount as Me, nextTick as we, provide as on, onUnmounted as Dt, onBeforeMount as ln, toRefs as sn, useSlots as cn, TransitionGroup as at, useModel as Ue, resolveDynamicComponent as rn, withModifiers as ht, mergeModels as un } from "vue";
2
2
  import ge from "@tweenjs/tween.js";
3
- import { addCommas as kt, slugify as Ce, DEFAULT as ke, useEventBus as lt, Rect as Pe, NOTHING as me, VIEWS as _t, TOOLBAR as $t } from "@figurosity/toolbox";
4
- import { QIcon as qe, QBtn as he, useQuasar as Ve, TouchPan as vn, QCard as gn, QCardSection as Re, QResizeObserver as Xe, QDrawer as bn, QExpansionItem as Ke, QPageSticky as hn, QSlideTransition as st, QDialog as yn, QItem as qt, QItemSection as Le, QSlider as kn, QAvatar as pn, QItemLabel as wn, QToggle as Cn, getCssVar as Be, QLayout as Bn, QPageContainer as Vn } from "quasar";
5
- import { chevronLeft as xn, eyeDropper as Tt, lock as Je, settings as zt, menuAlt as ct, move as Dn, refresh as et, zoomIn as it, spin as rt, saturation as ut, contrast as dt, brightness as mt, grid as It, zoomOut as Sn, mark as ft } from "@figurosity/icons";
6
- import { matFiberManualRecord as je, matKeyboardArrowDown as Lt } from "@quasar/extras/material-icons";
7
- import { ChromePicker as An } from "vue-color";
8
- import { onBeforeRouteLeave as _n, useRoute as $n } from "vue-router";
9
- import { EventManager as Mt } from "mjolnir.js";
10
- const qn = { class: "c-animated-number" }, Nt = {
3
+ import { addCommas as yt, slugify as Ce, DEFAULT as ke, useEventBus as ot, Rect as Pe, NOTHING as me, VIEWS as St, TOOLBAR as At } from "@figurosity/toolbox";
4
+ import { QIcon as qe, QBtn as he, useQuasar as Ve, TouchPan as dn, QCard as mn, QCardSection as Re, QResizeObserver as Ze, QDrawer as fn, QExpansionItem as Xe, QPageSticky as vn, QSlideTransition as lt, QDialog as gn, QItem as _t, QItemSection as Le, QSlider as bn, QAvatar as hn, QItemLabel as yn, QToggle as kn, getCssVar as Be, QLayout as pn, QPageContainer as wn } from "quasar";
5
+ import { chevronLeft as Cn, eyeDropper as $t, lock as Ke, settings as qt, menuAlt as st, move as Bn, refresh as Je, zoomIn as ct, spin as it, saturation as rt, contrast as ut, brightness as dt, grid as Tt, zoomOut as Vn, mark as mt } from "@figurosity/icons";
6
+ import { matFiberManualRecord as Fe, matKeyboardArrowDown as zt } from "@quasar/extras/material-icons";
7
+ import { ChromePicker as xn } from "vue-color";
8
+ import { onBeforeRouteLeave as Dn, useRoute as Sn } from "vue-router";
9
+ import { EventManager as It } from "mjolnir.js";
10
+ const An = { class: "c-animated-number" }, Lt = {
11
11
  __name: "CAnimatedNumber",
12
12
  props: {
13
13
  total: Number,
@@ -24,20 +24,20 @@ const qn = { class: "c-animated-number" }, Nt = {
24
24
  setup(e) {
25
25
  const a = y(0), n = y(0), t = y({}), o = e, s = y(window), c = (g) => {
26
26
  n.value = s.value.requestAnimationFrame(c), ge.update(g);
27
- }, i = (g, h, k = null) => {
27
+ }, i = (g, h, p = null) => {
28
28
  l();
29
29
  const f = { num: h }, V = { num: g };
30
- t.value = new ge.Tween(f).to(V, o.speed).delay(o.delay).easing(ge.Easing.Quadratic.Out).onUpdate(m).onComplete(d).start(), c();
30
+ t.value = new ge.Tween(f).to(V, o.speed).delay(o.delay).easing(ge.Easing.Quadratic.Out).onUpdate(m).onComplete(u).start(), c();
31
31
  }, l = () => {
32
32
  t.value && t.value.stop && (t.value.stop(), t.value = null);
33
- }, d = () => {
33
+ }, u = () => {
34
34
  s.value.cancelAnimationFrame(n.value);
35
35
  }, m = (g) => {
36
- a.value = kt(g.num.toFixed(0));
36
+ a.value = yt(g.num.toFixed(0));
37
37
  };
38
- return ce(() => o.total, (g, h) => i(g, h)), J(() => a.value = kt(o.total)), (g, h) => (_(), se("span", qn, be(a.value), 1));
38
+ return ce(() => o.total, (g, h) => i(g, h)), J(() => a.value = yt(o.total)), (g, h) => (_(), se("span", An, be(a.value), 1));
39
39
  }
40
- }, Tn = M({
40
+ }, _n = M({
41
41
  name: "CButtonBoolean",
42
42
  props: {
43
43
  dark: { type: Boolean, default: !1 },
@@ -57,7 +57,7 @@ const qn = { class: "c-animated-number" }, Nt = {
57
57
  setup(e, { slots: a, emit: n }) {
58
58
  function t() {
59
59
  const s = {
60
- class: u(() => [
60
+ class: d(() => [
61
61
  "c-button-boolean",
62
62
  `c-button-boolean--${e.type}`,
63
63
  `c-button-boolean--${e.size}`,
@@ -70,56 +70,12 @@ const qn = { class: "c-animated-number" }, Nt = {
70
70
  }
71
71
  return () => t();
72
72
  }
73
- }), Pt = (e) => {
73
+ }), $n = (e) => {
74
74
  let a, n, t;
75
75
  return e.match(/^rgb/) ? (e = e.match(
76
76
  /^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/
77
77
  ), a = +e[1], n = +e[2], t = +e[3]) : (e = +("0x" + e.slice(1).replace(e.length < 5 && /./g, "$&$&")), a = e >> 16, n = e >> 8 & 255, t = e & 255), Math.sqrt(0.299 * (a * a) + 0.587 * (n * n) + 0.114 * (t * t)) > 186;
78
- }, He = (e, a, n) => Math.min(n, Math.max(a, e)), zn = (e) => {
79
- if (/^rgb/.test(e)) {
80
- const t = e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)/);
81
- return { r: +t[1], g: +t[2], b: +t[3] };
82
- }
83
- let a = e.replace("#", "");
84
- a.length === 3 && (a = a.split("").map((t) => t + t).join(""));
85
- const n = parseInt(a, 16);
86
- return { r: n >> 16 & 255, g: n >> 8 & 255, b: n & 255 };
87
- }, In = ({ r: e, g: a, b: n }) => "#" + [e, a, n].map((t) => t.toString(16).padStart(2, "0")).join(""), Ln = ({ r: e, g: a, b: n }) => {
88
- e /= 255, a /= 255, n /= 255;
89
- const t = Math.max(e, a, n), o = Math.min(e, a, n);
90
- let s = 0, c = 0, i = (t + o) / 2;
91
- if (t !== o) {
92
- const l = t - o;
93
- switch (c = i > 0.5 ? l / (2 - t - o) : l / (t + o), t) {
94
- case e:
95
- s = (a - n) / l + (a < n ? 6 : 0);
96
- break;
97
- // <-- fixed (+0, not +1)
98
- case a:
99
- s = (n - e) / l + 2;
100
- break;
101
- case n:
102
- s = (e - a) / l + 4;
103
- break;
104
- }
105
- s *= 60;
106
- }
107
- return { h: s, s: c, l: i };
108
- }, Mn = ({ h: e, s: a, l: n }) => {
109
- const t = (1 - Math.abs(2 * n - 1)) * a, o = t * (1 - Math.abs(e / 60 % 2 - 1)), s = n - t / 2;
110
- let c = 0, i = 0, l = 0;
111
- return 0 <= e && e < 60 ? [c, i, l] = [t, o, 0] : 60 <= e && e < 120 ? [c, i, l] = [o, t, 0] : 120 <= e && e < 180 ? [c, i, l] = [0, t, o] : 180 <= e && e < 240 ? [c, i, l] = [0, o, t] : 240 <= e && e < 300 ? [c, i, l] = [o, 0, t] : [c, i, l] = [t, 0, o], {
112
- r: Math.round(He((c + s) * 255, 0, 255)),
113
- g: Math.round(He((i + s) * 255, 0, 255)),
114
- b: Math.round(He((l + s) * 255, 0, 255))
115
- };
116
- }, pt = (e, a) => {
117
- const n = zn(e), t = Ln(n);
118
- return t.l = He(t.l + a / 100, 0, 1), In(Mn(t));
119
- }, Nn = (e, { angle: a = 135, stop1: n = 35, stop2: t = 95, delta: o = 12 } = {}) => {
120
- const s = Pt(e), c = s ? e : pt(e, +o), i = s ? pt(e, -o) : e;
121
- return `linear-gradient(${a}deg, ${c} ${n}%, ${i} ${t}%)`;
122
- }, Pn = M({
78
+ }, qn = M({
123
79
  name: "CBaseButton",
124
80
  props: {
125
81
  access: String,
@@ -146,82 +102,83 @@ const qn = { class: "c-animated-number" }, Nt = {
146
102
  }
147
103
  },
148
104
  emits: ["click", "blockAccess"],
149
- setup(e, { slots: a, emit: n }) {
150
- const t = () => {
105
+ setup(e, { emit: a }) {
106
+ const n = () => {
151
107
  if (!e.disable) {
152
108
  if (e.hasAccess) {
153
- n("click");
109
+ a("click");
154
110
  return;
155
111
  }
156
- n("blockAccess", e.access);
112
+ a("blockAccess", e.access);
157
113
  }
158
- }, o = u(() => [
114
+ }, t = d(() => [
159
115
  "c-base-button",
160
116
  { row: e.size === "sm" },
161
117
  `c-base-button--${e.size}`,
162
118
  `c-base-button--${e.type}`,
163
119
  { selected: e.selected },
164
120
  { "c-base-button--disable": e.disable },
165
- { dark: e.dark }
121
+ { dark: e.dark },
122
+ {
123
+ "glass-background glass-border": e.type === "radio" || e.type === "checkbox" || e.type === "none"
124
+ }
166
125
  ]);
167
- function s() {
168
- const c = {
169
- class: o.value,
170
- onClick: t,
126
+ function o() {
127
+ const s = {
128
+ class: t.value,
129
+ onClick: n,
171
130
  "data-cy": "c-button-" + Ce(e.label)
172
- }, i = [], l = u(() => ({
131
+ }, c = [], i = d(() => ({
173
132
  "c-base-button--icon": !0,
174
133
  "col-shrink": e.size === "sm" || e.size === "xs",
175
134
  "flex justify-center items-center ": e.size === "sm" || e.size === "xs",
176
135
  "q-pt-xs": !0
177
- })), d = u(() => ({
136
+ })), l = d(() => ({
178
137
  "c-base-button--image": !0,
179
138
  "col-shrink": e.size === "sm" || e.size === "xs",
180
139
  "flex justify-center items-center ": e.size === "sm" || e.size === "xs"
181
140
  }));
182
141
  if (e.icon && !e.image) {
183
- const m = Pt(e.color), g = {
184
- class: l.value
185
- }, h = {
142
+ const u = $n(e.color), m = {
143
+ class: i.value
144
+ }, g = {
186
145
  name: e.icon,
187
- class: m ? "light" : "dark"
188
- }, k = u(() => ({
189
- background: Nn(e.color)
190
- })), f = {
146
+ class: u ? "light" : "dark"
147
+ }, h = {
191
148
  class: "c-base-button--background"
192
149
  };
193
- e.type !== "borderless" && (f.style = k.value), i.push(r("div", g, [r("div", f), r(qe, h)]));
150
+ c.push(r("div", m, [r("div", h), r(qe, g)]));
194
151
  }
195
152
  if (e.image) {
196
- const m = {
197
- class: { ...d.value }
153
+ const u = {
154
+ class: { ...l.value }
155
+ }, m = {
156
+ class: "c-base-button--overlay glass-overlay"
198
157
  }, g = {
199
- class: "c-base-button--overlay"
200
- }, h = {
201
158
  class: "unselectable",
202
159
  src: e.image
203
160
  };
204
- i.push(r("div", m, [r("div", g), r("img", h)]));
161
+ c.push(r("div", u, [r("div", m), r("img", g)]));
205
162
  }
206
163
  if (e.label) {
207
- const m = u(() => ({
164
+ const u = d(() => ({
208
165
  "col flex items-center unselectable": !0,
209
166
  "q-pl-md": !e.icon && !e.image
210
167
  }));
211
- i.push(
212
- r("div", { class: m.value }, [
168
+ c.push(
169
+ r("div", { class: u.value }, [
213
170
  r("div", { class: "c-base-button--label" }, e.label)
214
171
  ])
215
172
  );
216
173
  }
217
174
  if (e.type === "radio" || e.type === "checkbox") {
218
- const m = {
175
+ const u = {
219
176
  class: "col-shrink flex items-center justify center",
220
177
  style: "min-width: 35px;"
221
178
  };
222
- i.push(
223
- r("div", m, [
224
- r(Tn, {
179
+ c.push(
180
+ r("div", u, [
181
+ r(_n, {
225
182
  disable: e.disable,
226
183
  selected: e.selected,
227
184
  size: e.size,
@@ -230,11 +187,11 @@ const qn = { class: "c-animated-number" }, Nt = {
230
187
  ])
231
188
  );
232
189
  }
233
- return r("div", c, i);
190
+ return r("div", s, c);
234
191
  }
235
- return () => s();
192
+ return () => o();
236
193
  }
237
- }), Rn = M({
194
+ }), Tn = M({
238
195
  name: "CBaseButtons",
239
196
  setup(e, { slots: a, emit: n }) {
240
197
  function t() {
@@ -244,30 +201,30 @@ const qn = { class: "c-animated-number" }, Nt = {
244
201
  }
245
202
  return () => t();
246
203
  }
247
- }), vt = (e, a) => {
204
+ }), ft = (e, a) => {
248
205
  const n = e.__vccOpts || e;
249
206
  for (const [t, o] of a)
250
207
  n[t] = o;
251
208
  return n;
252
- }, On = {
209
+ }, zn = {
253
210
  name: "CCounter.vue",
254
- components: { CAnimatedNumber: Nt },
211
+ components: { CAnimatedNumber: Lt },
255
212
  props: {
256
213
  title: String,
257
214
  total: Number
258
215
  }
259
- }, En = { class: "c-counter" }, Hn = { class: "c-counter-title" };
260
- function Un(e, a, n, t, o, s) {
216
+ }, In = { class: "c-counter" }, Ln = { class: "c-counter-title" };
217
+ function Mn(e, a, n, t, o, s) {
261
218
  const c = A("c-animated-number");
262
- return _(), se("div", En, [
263
- x("span", Hn, be(n.title), 1),
219
+ return _(), se("div", In, [
220
+ x("span", Ln, be(n.title), 1),
264
221
  D(c, {
265
222
  class: "c-counter-count",
266
223
  total: n.total
267
224
  }, null, 8, ["total"])
268
225
  ]);
269
226
  }
270
- const Fn = /* @__PURE__ */ vt(On, [["render", Un]]), Rt = {
227
+ const Nn = /* @__PURE__ */ ft(zn, [["render", Mn]]), Mt = {
271
228
  __name: "CDrawerHeader",
272
229
  props: {
273
230
  bottom: Boolean,
@@ -297,14 +254,14 @@ const Fn = /* @__PURE__ */ vt(On, [["render", Un]]), Rt = {
297
254
  R(D(t, {
298
255
  class: "c-drawer-header-indicator",
299
256
  color: "primary",
300
- name: Z(je)
257
+ name: Z(Fe)
301
258
  }, null, 8, ["name"]), [
302
259
  [O, e.selected]
303
260
  ])
304
261
  ]),
305
262
  _: 1
306
263
  }),
307
- at(" " + be(e.title) + "  ", 1),
264
+ nt(" " + be(e.title) + "  ", 1),
308
265
  e.icon ? (_(), L(t, {
309
266
  key: 0,
310
267
  size: "26px",
@@ -314,7 +271,7 @@ const Fn = /* @__PURE__ */ vt(On, [["render", Un]]), Rt = {
314
271
  ]),
315
272
  _: 1
316
273
  }),
317
- e.countTitle ? (_(), L(Fn, {
274
+ e.countTitle ? (_(), L(Nn, {
318
275
  key: 0,
319
276
  title: e.countTitle,
320
277
  total: e.count
@@ -324,13 +281,13 @@ const Fn = /* @__PURE__ */ vt(On, [["render", Un]]), Rt = {
324
281
  }, 8, ["class"]);
325
282
  };
326
283
  }
327
- }, jn = {
284
+ }, Pn = {
328
285
  name: "CBottomDrawer.vue",
329
286
  props: {
330
287
  modelValue: Boolean
331
288
  },
332
289
  components: {
333
- CDrawerHeader: Rt
290
+ CDrawerHeader: Mt
334
291
  },
335
292
  computed: {
336
293
  dialog: {
@@ -369,7 +326,7 @@ const Fn = /* @__PURE__ */ vt(On, [["render", Un]]), Rt = {
369
326
  }
370
327
  }
371
328
  };
372
- function Wn(e, a, n, t, o, s) {
329
+ function Rn(e, a, n, t, o, s) {
373
330
  const c = A("q-dialog");
374
331
  return _(), L(c, {
375
332
  class: "c-bottom-drawer",
@@ -388,7 +345,7 @@ function Wn(e, a, n, t, o, s) {
388
345
  _: 3
389
346
  }, 8, ["modelValue"]);
390
347
  }
391
- const Ot = /* @__PURE__ */ vt(jn, [["render", Wn]]), Qn = { class: "c-drawer-header-title unselectable" }, Gn = { class: "q-pr-lg" }, Et = {
348
+ const Nt = /* @__PURE__ */ ft(Pn, [["render", Rn]]), On = { class: "c-drawer-header-title unselectable" }, En = { class: "q-pr-lg" }, Pt = {
392
349
  __name: "CBottomDrawerHeader",
393
350
  props: {
394
351
  title: String,
@@ -405,20 +362,20 @@ const Ot = /* @__PURE__ */ vt(jn, [["render", Wn]]), Qn = { class: "c-drawer-hea
405
362
  default: S(() => [
406
363
  D(o, null, {
407
364
  default: S(() => [
408
- x("span", Qn, [
365
+ x("span", On, [
409
366
  D(ie, { name: "fade" }, {
410
367
  default: S(() => [
411
368
  R(D(t, {
412
369
  class: "c-drawer-header-indicator",
413
370
  color: "primary",
414
- name: Z(je)
371
+ name: Z(Fe)
415
372
  }, null, 8, ["name"]), [
416
373
  [O, e.selected]
417
374
  ])
418
375
  ]),
419
376
  _: 1
420
377
  }),
421
- at(" " + be(e.title) + "  ", 1),
378
+ nt(" " + be(e.title) + "  ", 1),
422
379
  e.icon ? (_(), L(t, {
423
380
  key: 0,
424
381
  size: "26px",
@@ -428,7 +385,7 @@ const Ot = /* @__PURE__ */ vt(jn, [["render", Wn]]), Qn = { class: "c-drawer-hea
428
385
  ]),
429
386
  _: 1
430
387
  }),
431
- x("div", Gn, [
388
+ x("div", En, [
432
389
  I(a.$slots, "default")
433
390
  ])
434
391
  ]),
@@ -436,10 +393,10 @@ const Ot = /* @__PURE__ */ vt(jn, [["render", Wn]]), Qn = { class: "c-drawer-hea
436
393
  }, 8, ["class"]);
437
394
  };
438
395
  }
439
- }, Yn = {
396
+ }, Un = {
440
397
  class: "c-bottom-drawer-container-default",
441
398
  ref: "drawers"
442
- }, Zn = {
399
+ }, Hn = {
443
400
  __name: "CBottomDrawerContainer",
444
401
  props: {
445
402
  dark: Boolean,
@@ -452,7 +409,7 @@ const Ot = /* @__PURE__ */ vt(jn, [["render", Wn]]), Qn = { class: "c-drawer-hea
452
409
  title: String
453
410
  },
454
411
  setup(e) {
455
- const a = e, n = u(() => ({
412
+ const a = e, n = d(() => ({
456
413
  height: a.height + "px"
457
414
  }));
458
415
  return (t, o) => (_(), L(ie, { name: "fade" }, {
@@ -462,8 +419,8 @@ const Ot = /* @__PURE__ */ vt(jn, [["render", Wn]]), Qn = { class: "c-drawer-hea
462
419
  ref: "bottom",
463
420
  style: pe(n.value)
464
421
  }, [
465
- x("div", Yn, [
466
- D(Et, {
422
+ x("div", Un, [
423
+ D(Pt, {
467
424
  title: e.title,
468
425
  selected: e.selected,
469
426
  dark: e.dark
@@ -482,7 +439,7 @@ const Ot = /* @__PURE__ */ vt(jn, [["render", Wn]]), Qn = { class: "c-drawer-hea
482
439
  _: 3
483
440
  }));
484
441
  }
485
- }, We = M({
442
+ }, je = M({
486
443
  name: "CButton",
487
444
  props: {
488
445
  access: String,
@@ -516,7 +473,7 @@ const Ot = /* @__PURE__ */ vt(jn, [["render", Wn]]), Qn = { class: "c-drawer-hea
516
473
  return;
517
474
  }
518
475
  n("blockAccess", e.access);
519
- }, o = u(() => [
476
+ }, o = d(() => [
520
477
  "c-button",
521
478
  "c-button--" + e.size,
522
479
  { "c-button--rectangle": e.rectangle },
@@ -561,7 +518,7 @@ const Ot = /* @__PURE__ */ vt(jn, [["render", Wn]]), Qn = { class: "c-drawer-hea
561
518
  }, e.label);
562
519
  }
563
520
  function l() {
564
- const d = {
521
+ const u = {
565
522
  class: o.value,
566
523
  noRipple: e.disabled,
567
524
  disable: e.disable,
@@ -573,11 +530,11 @@ const Ot = /* @__PURE__ */ vt(jn, [["render", Wn]]), Qn = { class: "c-drawer-hea
573
530
  icon: e.icon,
574
531
  onClick: t
575
532
  }, m = [s(), c(), i()];
576
- return r(he, d, () => m);
533
+ return r(he, u, () => m);
577
534
  }
578
535
  return () => l();
579
536
  }
580
- }), Xn = {
537
+ }), Fn = {
581
538
  __name: "CButtonBar",
582
539
  props: {
583
540
  disabled: {
@@ -597,8 +554,8 @@ const Ot = /* @__PURE__ */ vt(jn, [["render", Wn]]), Qn = { class: "c-drawer-hea
597
554
  setup(e, { emit: a }) {
598
555
  const n = a, t = () => n("done"), o = () => n("reset");
599
556
  return (s, c) => {
600
- const i = A("q-btn"), l = A("q-btn-group"), d = A("q-footer");
601
- return _(), L(d, {
557
+ const i = A("q-btn"), l = A("q-btn-group"), u = A("q-footer");
558
+ return _(), L(u, {
602
559
  "data-cy": "c-button-bar",
603
560
  class: "c-button-bar bg-black"
604
561
  }, {
@@ -632,7 +589,7 @@ const Ot = /* @__PURE__ */ vt(jn, [["render", Wn]]), Qn = { class: "c-drawer-hea
632
589
  });
633
590
  };
634
591
  }
635
- }, Kn = {
592
+ }, jn = {
636
593
  name: "CButtonRow",
637
594
  props: {
638
595
  count: {
@@ -661,14 +618,14 @@ const Ot = /* @__PURE__ */ vt(jn, [["render", Wn]]), Qn = { class: "c-drawer-hea
661
618
  }
662
619
  }
663
620
  };
664
- function Jn(e, a, n, t, o, s) {
621
+ function Wn(e, a, n, t, o, s) {
665
622
  return _(), se("div", {
666
623
  class: Y(["row justify-center q-pb-sm", s.classObject])
667
624
  }, [
668
625
  I(e.$slots, "default")
669
626
  ], 2);
670
627
  }
671
- const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
628
+ const Qn = /* @__PURE__ */ ft(jn, [["render", Wn]]), Gn = M({
672
629
  name: "CButtonToggle",
673
630
  props: {
674
631
  access: String,
@@ -685,9 +642,9 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
685
642
  },
686
643
  emits: ["update:modelValue", "blockAccess"],
687
644
  setup(e, { slots: a, emit: n }) {
688
- const t = u(() => ({
645
+ const t = d(() => ({
689
646
  left: o.value ? "4px" : "58px"
690
- })), o = u(() => e.valueLeft === e.modelValue), s = () => {
647
+ })), o = d(() => e.valueLeft === e.modelValue), s = () => {
691
648
  if (!e.disable) {
692
649
  if (e.hasAccess) {
693
650
  let l = e.valueLeft === e.modelValue ? e.valueRight : e.valueLeft;
@@ -701,7 +658,7 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
701
658
  const i = e.disable ? " disable" : "", l = {
702
659
  onClick: s,
703
660
  class: "c-button-toggle position-relative row justify-center items-center" + i
704
- }, d = {
661
+ }, u = {
705
662
  class: "c-button-toggle-left col-6 text-center unselectable"
706
663
  }, m = {
707
664
  class: "c-button-toggle-right col-6 text-center unselectable"
@@ -710,14 +667,14 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
710
667
  style: t.value
711
668
  };
712
669
  return r("div", l, [
713
- r("div", d, e.labelLeft),
670
+ r("div", u, e.labelLeft),
714
671
  r("div", m, e.labelRight),
715
672
  r("div", g)
716
673
  ]);
717
674
  }
718
675
  return () => c();
719
676
  }
720
- }), na = { class: "quarters overlay" }, aa = { class: "quarters borders" }, wt = "cps", oa = {
677
+ }), Yn = { class: "quarters overlay" }, Zn = { class: "quarters borders" }, kt = "cps", Xn = {
721
678
  __name: "CCameraDirection",
722
679
  props: {
723
680
  dark: Boolean,
@@ -738,18 +695,18 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
738
695
  },
739
696
  emits: ["update:modelValue", "blockAccess"],
740
697
  setup(e, { emit: a }) {
741
- const n = e, t = a, o = u(() => n.modelValue.back), s = u(() => n.modelValue.front), c = u(() => n.modelValue.left), i = u(() => n.modelValue.right), l = (d) => {
698
+ const n = e, t = a, o = d(() => n.modelValue.back), s = d(() => n.modelValue.front), c = d(() => n.modelValue.left), i = d(() => n.modelValue.right), l = (u) => {
742
699
  if (n.hasAccess) {
743
700
  let m = Object.assign({}, n.modelValue);
744
- m[d] = !m[d], t("update:modelValue", m);
701
+ m[u] = !m[u], t("update:modelValue", m);
745
702
  return;
746
703
  }
747
- t("blockAccess", wt), store.dispatch("paywall/block", wt);
704
+ t("blockAccess", kt), store.dispatch("paywall/block", kt);
748
705
  };
749
- return (d, m) => (_(), se("div", {
706
+ return (u, m) => (_(), se("div", {
750
707
  class: Y(["c-camera-direction", { dark: e.dark }])
751
708
  }, [
752
- x("div", na, [
709
+ x("div", Yn, [
753
710
  x("div", {
754
711
  class: "back quarter",
755
712
  onClick: m[0] || (m[0] = (g) => l("back"))
@@ -767,7 +724,7 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
767
724
  onClick: m[3] || (m[3] = (g) => l("right"))
768
725
  })
769
726
  ]),
770
- x("div", aa, [
727
+ x("div", Zn, [
771
728
  x("div", {
772
729
  class: Y(["back quarter", { active: o.value }]),
773
730
  ref_key: "back",
@@ -805,7 +762,7 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
805
762
  ], -1))
806
763
  ], 2));
807
764
  }
808
- }, la = M({
765
+ }, Kn = M({
809
766
  name: "ChromePicker",
810
767
  props: {
811
768
  modelValue: { type: String, default: 0 },
@@ -813,7 +770,7 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
813
770
  },
814
771
  emits: ["update:modelValue"],
815
772
  setup(e, { slots: a, emit: n }) {
816
- const t = u({
773
+ const t = d({
817
774
  get: () => e.modelValue,
818
775
  set: (s) => n("update:modelValue", s)
819
776
  });
@@ -825,13 +782,13 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
825
782
  disbleFields: !0,
826
783
  "onUpdate:modelValue": (c) => t.value = c
827
784
  };
828
- return r(An, s);
785
+ return r(xn, s);
829
786
  }
830
787
  return () => o();
831
788
  }
832
789
  }), Oe = (e) => {
833
790
  e.stopPropagation();
834
- }, sa = {
791
+ }, Jn = {
835
792
  // Pointer
836
793
  onPointerdown: Oe,
837
794
  // onPointermove: stopBubble,
@@ -850,7 +807,7 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
850
807
  onClick: Oe
851
808
  // onDblclick: stopBubble,
852
809
  // onContextmenu: stopBubble,
853
- }, Ht = M({
810
+ }, Rt = M({
854
811
  name: "CColorPopup",
855
812
  props: {
856
813
  modelValue: { type: String, default: 0 },
@@ -865,14 +822,14 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
865
822
  function t() {
866
823
  n("update:show", !1);
867
824
  }
868
- const o = u({
825
+ const o = d({
869
826
  get: () => e.modelValue,
870
827
  set: (c) => n("update:modelValue", c)
871
828
  });
872
829
  function s() {
873
830
  const c = {
874
831
  class: "c-color-picker-popup",
875
- ...sa
832
+ ...Jn
876
833
  }, i = {
877
834
  class: "row items-center"
878
835
  }, l = {
@@ -882,8 +839,8 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
882
839
  flat: !0,
883
840
  size: "sm",
884
841
  color: "primary",
885
- icon: xn
886
- }, d = {
842
+ icon: Cn
843
+ }, u = {
887
844
  class: "c-color-picker-popup-label q-ml-sm",
888
845
  style: "color: var(--grey-700); font-size: 16px;font-weight: 700",
889
846
  onClick: t
@@ -896,16 +853,16 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
896
853
  r("div", c, [
897
854
  r("div", i, [
898
855
  r(he, l),
899
- r("div", d, e.label)
856
+ r("div", u, e.label)
900
857
  ]),
901
- r(la, m)
858
+ r(Kn, m)
902
859
  ]),
903
860
  [[O, e.show]]
904
861
  );
905
862
  }
906
863
  return () => s();
907
864
  }
908
- }), ca = M({
865
+ }), ea = M({
909
866
  name: "CColorPicker",
910
867
  props: {
911
868
  modelValue: { type: String, default: "rbg(255,255,255)" },
@@ -918,7 +875,7 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
918
875
  function o() {
919
876
  t.value = !0;
920
877
  }
921
- const s = u(() => ({ backgroundColor: c.value })), c = u({
878
+ const s = d(() => ({ backgroundColor: c.value })), c = d({
922
879
  get: () => e.modelValue,
923
880
  set: (l) => n("update:modelValue", l)
924
881
  });
@@ -929,12 +886,12 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
929
886
  function i() {
930
887
  const l = {
931
888
  class: "c-color-picker"
932
- }, d = {
889
+ }, u = {
933
890
  class: "c-color-picker-button",
934
891
  style: s.value,
935
892
  onClick: o,
936
893
  label: e.label,
937
- icon: Tt
894
+ icon: $t
938
895
  }, m = {
939
896
  modelValue: c.value,
940
897
  "onUpdate:modelValue": (g) => c.value = g,
@@ -946,17 +903,17 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
946
903
  };
947
904
  return r("div", l, [
948
905
  R(
949
- r(he, d, () => []),
906
+ r(he, u, () => []),
950
907
  [[O, !t.value]]
951
908
  ),
952
- R(r(Ht, m), [
909
+ R(r(Rt, m), [
953
910
  [O, t.value]
954
911
  ])
955
912
  ]);
956
913
  }
957
914
  return () => i();
958
915
  }
959
- }), ia = M({
916
+ }), ta = M({
960
917
  name: "CColorPickerButton",
961
918
  props: {
962
919
  modelValue: { type: Boolean, default: 0 },
@@ -969,7 +926,7 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
969
926
  function t() {
970
927
  n("update:modelValue", !0);
971
928
  }
972
- const o = u(() => ({ backgroundColor: e.color })), s = u({
929
+ const o = d(() => ({ backgroundColor: e.color })), s = d({
973
930
  get: () => e.modelValue,
974
931
  set: (i) => n("update:modelValue", i)
975
932
  });
@@ -981,13 +938,13 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
981
938
  style: o.value,
982
939
  onClick: t,
983
940
  label: e.label,
984
- icon: Tt
941
+ icon: $t
985
942
  };
986
943
  return r(he, i, () => []);
987
944
  }
988
945
  return () => c();
989
946
  }
990
- }), ra = {
947
+ }), na = {
991
948
  __name: "CDivider",
992
949
  props: {
993
950
  divider: Boolean
@@ -1003,10 +960,10 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
1003
960
  x("div", null, null, -1)
1004
961
  ])], 2));
1005
962
  }
1006
- }, Ut = "c_dd";
1007
- function Ge() {
963
+ }, Ot = "c_dd";
964
+ function Qe() {
1008
965
  }
1009
- const ua = ["click"], Ye = "moving", da = "hidden", Ae = "default", ve = "expanded", Ee = "minimized", Ct = "up", Bt = "down", ma = "px", fa = {
966
+ const aa = ["click"], Ge = "moving", oa = "hidden", Ae = "default", ve = "expanded", Ee = "minimized", pt = "up", wt = "down", la = "px", sa = {
1010
967
  detail: {
1011
968
  type: Boolean,
1012
969
  default: !0
@@ -1024,14 +981,14 @@ const ua = ["click"], Ye = "moving", da = "hidden", Ae = "default", ve = "expand
1024
981
  }
1025
982
  // disable: Boolean,
1026
983
  };
1027
- function va(e, a) {
1028
- const n = sn(Ut, Ge);
1029
- if (n === Ge)
984
+ function ca(e, a) {
985
+ const n = an(Ot, Qe);
986
+ if (n === Qe)
1030
987
  return console.error(
1031
988
  "CDraggableDrawer component needs to be child of CDraggableDrawers"
1032
- ), Ge;
1033
- const t = lt(), o = Ve(), s = y(null), c = y(null), i = y(null), l = y(null), d = y(null), m = y(null), g = y(null), h = y(null), k = y(n.currentModel), f = y({}), V = y(da), p = y(!1), C = y(null), $ = u(() => {
1034
- const w = G() + ma, q = V.value === ve ? "auto" : "hidden";
989
+ ), Qe;
990
+ const t = ot(), o = Ve(), s = y(null), c = y(null), i = y(null), l = y(null), u = y(null), m = y(null), g = y(null), h = y(null), p = y(n.currentModel), f = y({}), V = y(oa), k = y(!1), C = y(null), $ = d(() => {
991
+ const w = G() + la, q = V.value === ve ? "auto" : "hidden";
1035
992
  return {
1036
993
  maxHeight: w,
1037
994
  overflowY: q
@@ -1041,7 +998,7 @@ function va(e, a) {
1041
998
  return l.value ? l.value.$el.offsetHeight : 0;
1042
999
  }
1043
1000
  function v() {
1044
- return d.value ? d.value.$el.offsetHeight : 0;
1001
+ return u.value ? u.value.$el.offsetHeight : 0;
1045
1002
  }
1046
1003
  function z() {
1047
1004
  if (!c.value) return 0;
@@ -1060,20 +1017,20 @@ function va(e, a) {
1060
1017
  const w = G(), q = o.screen.height - e.topOffset;
1061
1018
  return Math.min(w, q);
1062
1019
  }
1063
- const ee = u(() => {
1020
+ const ee = d(() => {
1064
1021
  var w, q;
1065
1022
  return !!((q = (w = a.secondary) == null ? void 0 : w.call(a)) != null && q.length);
1066
1023
  });
1067
1024
  function K(w) {
1068
- p.value = !1;
1025
+ k.value = !1;
1069
1026
  const { direction: q, delta: P, duration: Q, isFinal: ae } = w;
1070
1027
  if (P === 0) return;
1071
- const oe = ne() + P.y, de = F(), Se = z(), Ne = Q < 290, gt = T(), bt = De(oe, gt, de), ht = ye(oe, Se, gt, de);
1072
- if (q === Bt && oe > -Se) {
1028
+ const oe = ne() + P.y, de = F(), Se = z(), Ne = Q < 290, vt = T(), gt = De(oe, vt, de), bt = ye(oe, Se, vt, de);
1029
+ if (q === wt && oe > -Se) {
1073
1030
  W(-Se, !1);
1074
1031
  return;
1075
1032
  }
1076
- if (q === Ct && oe < -de) {
1033
+ if (q === pt && oe < -de) {
1077
1034
  W(-de, !1);
1078
1035
  return;
1079
1036
  }
@@ -1082,10 +1039,10 @@ function va(e, a) {
1082
1039
  return;
1083
1040
  }
1084
1041
  if (Ne)
1085
- return q === Ct ? bt === ve ? re() : te() : q === Bt ? bt === Ae ? fe() : te() : void 0;
1086
- if (ht === "minimized")
1042
+ return q === pt ? gt === ve ? re() : te() : q === wt ? gt === Ae ? fe() : te() : void 0;
1043
+ if (bt === "minimized")
1087
1044
  return fe();
1088
- if (ht === ve)
1045
+ if (bt === ve)
1089
1046
  return re();
1090
1047
  te();
1091
1048
  }
@@ -1101,17 +1058,17 @@ function va(e, a) {
1101
1058
  }
1102
1059
  function fe() {
1103
1060
  const w = z();
1104
- V.value = Ye, W(-w), C.value = Ee;
1061
+ V.value = Ge, W(-w), C.value = Ee;
1105
1062
  }
1106
1063
  function te() {
1107
- V.value = Ye;
1064
+ V.value = Ge;
1108
1065
  const w = F(), q = T(), P = e.name === ke ? 1 : 3;
1109
1066
  f.value = { ...f.value, zIndex: P };
1110
1067
  const Q = q > w ? w : q;
1111
1068
  W(-Q), C.value = Ae;
1112
1069
  }
1113
1070
  function re() {
1114
- V.value = Ye;
1071
+ V.value = Ge;
1115
1072
  const w = F(), q = G(), P = e.name === ke ? 1 : 3;
1116
1073
  f.value = { ...f.value, zIndex: P };
1117
1074
  const Q = q > w ? w : q;
@@ -1122,7 +1079,7 @@ function va(e, a) {
1122
1079
  }
1123
1080
  function B(w = !0) {
1124
1081
  const q = e.name === ke ? 1 : 3;
1125
- f.value = { ...f.value, zIndex: q }, W(0, w), p.value = !1;
1082
+ f.value = { ...f.value, zIndex: q }, W(0, w), k.value = !1;
1126
1083
  }
1127
1084
  function b(w) {
1128
1085
  w.stopPropagation();
@@ -1144,10 +1101,10 @@ function va(e, a) {
1144
1101
  function N({ height: w }) {
1145
1102
  console.log("appResize height", w), w !== 0 && (f.value = { ...f.value, top: w + "px !important" });
1146
1103
  }
1147
- function H({ height: w }) {
1104
+ function U({ height: w }) {
1148
1105
  n.currentModel.value !== e.name || w === 0 || we(() => te());
1149
1106
  }
1150
- function U({ height: w }) {
1107
+ function H({ height: w }) {
1151
1108
  const q = ne(), P = F(), Q = z(), ae = T(), oe = ye(
1152
1109
  q,
1153
1110
  Q,
@@ -1161,7 +1118,7 @@ function va(e, a) {
1161
1118
  name: ke,
1162
1119
  setCurrent: !0,
1163
1120
  skipEmit: !1
1164
- }), p.value = !1;
1121
+ }), k.value = !1;
1165
1122
  }
1166
1123
  function W(w, q = !0) {
1167
1124
  if (w === ne()) return;
@@ -1177,34 +1134,34 @@ function va(e, a) {
1177
1134
  return parseFloat(P[5]) || 0;
1178
1135
  }
1179
1136
  const ue = {
1180
- name: u(() => e.name),
1137
+ name: d(() => e.name),
1181
1138
  rootRef: h,
1182
1139
  tabIndicatorRef: m
1183
1140
  };
1184
- _n(() => {
1141
+ Dn(() => {
1185
1142
  B(!1);
1186
1143
  }), Me(() => {
1187
1144
  t.$off("resize"), B(!1), n.unregisterDrawer(ue);
1188
1145
  }), J(() => {
1189
1146
  t.$on("resize", N), n.registerDrawer(ue), we(() => {
1190
1147
  setTimeout(() => {
1191
- E(), f.value = { ...f.value, top: o.screen.height + "px" }, console.log("screen height", o.screen.height), k.value === e.name && (ee.value ? ze() : te());
1148
+ E(), f.value = { ...f.value, top: o.screen.height + "px" }, console.log("screen height", o.screen.height), p.value === e.name && (ee.value ? ze() : te());
1192
1149
  }, 50);
1193
1150
  });
1194
1151
  }), ce(
1195
- () => k.value,
1152
+ () => p.value,
1196
1153
  (w, q) => {
1197
1154
  console.log("watch currentModel", w, q), !(w === e.name && q === e.name) && (w === e.name && te(), q === e.name && B());
1198
1155
  }
1199
1156
  );
1200
- function tn() {
1157
+ function Kt() {
1201
1158
  return r(
1202
1159
  Re,
1203
1160
  { class: "c-draggable-drawer__handler--horizontal row flex-center q-pt-sm q-pb-md sectional section-handle", ref: c, onClick: b },
1204
1161
  () => r("div", { class: "cursor-grab grab" })
1205
1162
  );
1206
1163
  }
1207
- function nn() {
1164
+ function Jt() {
1208
1165
  if (e.name === ke || !e.label)
1209
1166
  return null;
1210
1167
  const w = {
@@ -1231,11 +1188,11 @@ function va(e, a) {
1231
1188
  ])
1232
1189
  ]);
1233
1190
  }
1234
- function an() {
1191
+ function en() {
1235
1192
  const w = {
1236
1193
  class: "c-draggable-drawer__content",
1237
1194
  ref: g,
1238
- style: u(() => $.value),
1195
+ style: d(() => $.value),
1239
1196
  onClick: (P) => P.preventDefault(),
1240
1197
  onTouch: (P) => P.preventDefault(),
1241
1198
  onScroll: (P) => P.stopPropagation()
@@ -1244,32 +1201,32 @@ function va(e, a) {
1244
1201
  const P = {
1245
1202
  class: "q-px-md q-pb-sm q-pt-none sectional section-primary",
1246
1203
  ref: l
1247
- }, Q = a.default ? a.default() : [], ae = { debounce: 0, onResize: H };
1204
+ }, Q = a.default ? a.default() : [], ae = { debounce: 0, onResize: U };
1248
1205
  q.push(
1249
1206
  r(Re, P, {
1250
- default: () => [r(Xe, ae), ...Q]
1207
+ default: () => [r(Ze, ae), ...Q]
1251
1208
  })
1252
1209
  );
1253
1210
  }
1254
1211
  if (a.secondary) {
1255
1212
  const P = {
1256
1213
  class: "sectional section-secondary display-block",
1257
- ref: d
1214
+ ref: u
1258
1215
  }, Q = a.secondary ? a.secondary() : [], ae = {
1259
1216
  debounce: 0,
1260
- onResize: U
1217
+ onResize: H
1261
1218
  };
1262
1219
  q.push(
1263
1220
  r(Re, P, {
1264
- default: () => [r(Xe, ae), ...Q]
1221
+ default: () => [r(Ze, ae), ...Q]
1265
1222
  })
1266
1223
  );
1267
1224
  }
1268
1225
  return r("div", w, q);
1269
1226
  }
1270
- function on() {
1227
+ function tn() {
1271
1228
  const w = [];
1272
- w.push(tn()), w.push(nn()), w.push(an());
1229
+ w.push(Kt()), w.push(Jt()), w.push(en());
1273
1230
  const P = {
1274
1231
  ref: s,
1275
1232
  class: "c-draggable-drawer column no-wrap ",
@@ -1278,25 +1235,25 @@ function va(e, a) {
1278
1235
  "data-cy": "c-draggable-drawer-" + e.name,
1279
1236
  role: "draggableDrawer"
1280
1237
  };
1281
- return r(gn, P, () => w);
1238
+ return r(mn, P, () => w);
1282
1239
  }
1283
- function ln() {
1284
- return R(on(), [
1285
- [vn, K, "vertical", { mouse: !0, prevent: !0 }]
1240
+ function nn() {
1241
+ return R(tn(), [
1242
+ [dn, K, "vertical", { mouse: !0, prevent: !0 }]
1286
1243
  //v-touch-pan.mouse.vertical.prevent="dragDrawer"
1287
1244
  ]);
1288
1245
  }
1289
- return { renderDrawer: ln, $drawers: n };
1246
+ return { renderDrawer: nn, $drawers: n };
1290
1247
  }
1291
- const ga = M({
1248
+ const ia = M({
1292
1249
  name: "CDraggableDrawer",
1293
- props: fa,
1294
- emits: ua,
1250
+ props: sa,
1251
+ emits: aa,
1295
1252
  setup(e, { slots: a, emit: n }) {
1296
- const { renderDrawer: t } = va(e, a);
1253
+ const { renderDrawer: t } = ca(e, a);
1297
1254
  return () => t();
1298
1255
  }
1299
- }), Ft = M({
1256
+ }), Et = M({
1300
1257
  name: "CDraggableDrawers",
1301
1258
  props: {
1302
1259
  align: {
@@ -1315,45 +1272,45 @@ const ga = M({
1315
1272
  }
1316
1273
  },
1317
1274
  setup(e, { slots: a, emit: n }) {
1318
- const t = y(null), o = y(e.modelValue), s = [], c = y(0), i = u(() => ({
1275
+ const t = y(null), o = y(e.modelValue), s = [], c = y(0), i = d(() => ({
1319
1276
  "c-draggable-drawers": !0,
1320
1277
  dark: e.dark
1321
- })), l = u(
1278
+ })), l = d(
1322
1279
  () => typeof e.maxWidth == "string" ? e.maxWidth : e.maxWidth + "px"
1323
- ), d = u(() => {
1324
- const p = { maxWidth: l.value };
1325
- return e.align === "center" && (p.left = "50%", p.transform = "translateX(-50%)"), e.align === "left" && (p.left = "10px"), e.align === "right" && (p.right = "10px"), p;
1326
- }), m = u(() => {
1327
- const p = c.value, C = o.value;
1328
- for (let $ = 0; $ < p; $++)
1280
+ ), u = d(() => {
1281
+ const k = { maxWidth: l.value };
1282
+ return e.align === "center" && (k.left = "50%", k.transform = "translateX(-50%)"), e.align === "left" && (k.left = "10px"), e.align === "right" && (k.right = "10px"), k;
1283
+ }), m = d(() => {
1284
+ const k = c.value, C = o.value;
1285
+ for (let $ = 0; $ < k; $++)
1329
1286
  if (s[$].name.value === C)
1330
1287
  return !0;
1331
1288
  return !1;
1332
1289
  });
1333
- function g(p) {
1334
- s.push(p), c.value++;
1290
+ function g(k) {
1291
+ s.push(k), c.value++;
1335
1292
  }
1336
- function h(p) {
1337
- s.splice(s.indexOf(p), 1), c.value--;
1293
+ function h(k) {
1294
+ s.splice(s.indexOf(k), 1), c.value--;
1338
1295
  }
1339
- const k = {
1296
+ const p = {
1340
1297
  currentModel: o,
1341
1298
  hasActiveTab: m.value,
1342
1299
  registerDrawer: g,
1343
1300
  unregisterDrawer: h,
1344
1301
  updateModel: f
1345
1302
  };
1346
- cn(Ut, k), ce(
1303
+ on(Ot, p), ce(
1347
1304
  () => e.modelValue,
1348
- (p) => {
1349
- f({ name: p, setCurrent: !0, skipEmit: !1 });
1305
+ (k) => {
1306
+ f({ name: k, setCurrent: !0, skipEmit: !1 });
1350
1307
  }
1351
1308
  );
1352
- function f({ name: p, setCurrent: C = !0, skipEmit: $ = !0 }) {
1353
- o.value !== p && ($ !== !0 && e["onUpdate:modelValue"] !== void 0 && n("update:modelValue", p), (C === !0 || e["onUpdate:modelValue"] === void 0) && (o.value = p));
1309
+ function f({ name: k, setCurrent: C = !0, skipEmit: $ = !0 }) {
1310
+ o.value !== k && ($ !== !0 && e["onUpdate:modelValue"] !== void 0 && n("update:modelValue", k), (C === !0 || e["onUpdate:modelValue"] === void 0) && (o.value = k));
1354
1311
  }
1355
1312
  Me(() => {
1356
- }), At(() => {
1313
+ }), Dt(() => {
1357
1314
  }), J(() => {
1358
1315
  });
1359
1316
  function V() {
@@ -1363,7 +1320,7 @@ const ga = M({
1363
1320
  ref: t,
1364
1321
  class: i.value,
1365
1322
  role: "draggableDrawers",
1366
- style: d.value
1323
+ style: u.value
1367
1324
  },
1368
1325
  {
1369
1326
  default: a.default
@@ -1372,7 +1329,7 @@ const ga = M({
1372
1329
  }
1373
1330
  return () => V();
1374
1331
  }
1375
- }), jt = M({
1332
+ }), Ut = M({
1376
1333
  name: "CResponsiveLayout",
1377
1334
  props: {
1378
1335
  modelValue: Boolean,
@@ -1385,10 +1342,10 @@ const ga = M({
1385
1342
  },
1386
1343
  emits: ["update:modelValue"],
1387
1344
  setup(e, { slots: a, emit: n }) {
1388
- const t = u({
1345
+ const t = d({
1389
1346
  get: () => e.modelValue,
1390
1347
  set: (c) => n("update:modelValue", c)
1391
- }), o = u(() => ({
1348
+ }), o = d(() => ({
1392
1349
  "overlay-transparent": e.overlayTransparent,
1393
1350
  dark: e.dark,
1394
1351
  "text-white": e.dark
@@ -1406,11 +1363,11 @@ const ga = M({
1406
1363
  modelValue: t.value,
1407
1364
  "onUpdate:modelValue": (i) => t.value = i
1408
1365
  };
1409
- return r(bn, c, () => (a == null ? void 0 : a.default()) || []);
1366
+ return r(fn, c, () => (a == null ? void 0 : a.default()) || []);
1410
1367
  }
1411
1368
  return () => s();
1412
1369
  }
1413
- }), ba = { class: "c-duration-button-duration" }, ha = { class: "c-duration-button-unit" }, ya = {
1370
+ }), ra = { class: "c-duration-button-duration" }, ua = { class: "c-duration-button-unit" }, da = {
1414
1371
  __name: "CDurationButton",
1415
1372
  props: {
1416
1373
  dark: Boolean,
@@ -1439,16 +1396,16 @@ const ga = M({
1439
1396
  }, {
1440
1397
  default: S(() => [
1441
1398
  x("div", null, [
1442
- x("span", ba, be(e.duration), 1),
1399
+ x("span", ra, be(e.duration), 1),
1443
1400
  s[0] || (s[0] = x("br", null, null, -1)),
1444
- x("span", ha, be(e.unit), 1)
1401
+ x("span", ua, be(e.unit), 1)
1445
1402
  ])
1446
1403
  ]),
1447
1404
  _: 1
1448
1405
  }, 8, ["class", "no-ripple", "disable"]);
1449
1406
  };
1450
1407
  }
1451
- }, ka = M({
1408
+ }, ma = M({
1452
1409
  name: "CExpansion",
1453
1410
  props: {
1454
1411
  color: {
@@ -1468,8 +1425,8 @@ const ga = M({
1468
1425
  },
1469
1426
  emits: ["click", "update:modelValue"],
1470
1427
  setup(e, { slots: a, emit: n }) {
1471
- u(() => e.locked ? Je : je);
1472
- const t = u(() => ({
1428
+ d(() => e.locked ? Ke : Fe);
1429
+ const t = d(() => ({
1473
1430
  "c-expansion": !0,
1474
1431
  selected: e.selected,
1475
1432
  primary: e.color === "primary" && !e.locked,
@@ -1477,7 +1434,7 @@ const ga = M({
1477
1434
  positive: e.color === "positive" && !e.locked,
1478
1435
  locked: e.locked,
1479
1436
  "non-selectable": !0
1480
- })), o = u({
1437
+ })), o = d({
1481
1438
  get: () => e.modelValue,
1482
1439
  set: (c) => n("update:modelValue", c)
1483
1440
  });
@@ -1485,23 +1442,23 @@ const ga = M({
1485
1442
  const c = {
1486
1443
  modelValue: o.value,
1487
1444
  "onUpdate:modelValue": (i) => o.value = i,
1488
- icon: e.icon || Je,
1445
+ icon: e.icon || Ke,
1489
1446
  class: t.value,
1490
1447
  caption: e.caption,
1491
1448
  label: e.label,
1492
1449
  group: e.group,
1493
- expandIcon: Lt,
1450
+ expandIcon: zt,
1494
1451
  defaultOpened: e.defaultOpened,
1495
1452
  "data-cy": "c-expansion-" + Ce(e.label)
1496
1453
  };
1497
- return r(Ke, c, { default: () => {
1454
+ return r(Xe, c, { default: () => {
1498
1455
  var i;
1499
1456
  return (i = a.default) == null ? void 0 : i.call(a);
1500
1457
  } });
1501
1458
  }
1502
1459
  return () => s();
1503
1460
  }
1504
- }), pa = {
1461
+ }), fa = {
1505
1462
  __name: "CExpansionItem",
1506
1463
  props: {
1507
1464
  color: {
@@ -1520,29 +1477,29 @@ const ga = M({
1520
1477
  },
1521
1478
  emits: ["update:modelValue"],
1522
1479
  setup(e, { expose: a, emit: n }) {
1523
- a(Ke);
1524
- const t = e, o = n, s = u(() => t.locked ? Je : je), c = u({
1480
+ a(Xe);
1481
+ const t = e, o = n, s = d(() => t.locked ? Ke : Fe), c = d({
1525
1482
  get() {
1526
1483
  return t.modelValue;
1527
1484
  },
1528
1485
  set(l) {
1529
1486
  o("update:modelValue", l);
1530
1487
  }
1531
- }), i = u(() => ({
1488
+ }), i = d(() => ({
1532
1489
  selected: t.selected,
1533
1490
  primary: t.color === "primary" && !t.locked,
1534
1491
  negative: t.color === "negative" && !t.locked,
1535
1492
  positive: t.color === "positive" && !t.locked,
1536
1493
  locked: t.locked
1537
1494
  }));
1538
- return (l, d) => (_(), L(Z(Ke), {
1495
+ return (l, u) => (_(), L(Z(Xe), {
1539
1496
  class: Y(["c-expansion-item", i.value]),
1540
1497
  label: e.label,
1541
1498
  group: e.group,
1542
- "expand-icon": Z(Lt),
1499
+ "expand-icon": Z(zt),
1543
1500
  icon: s.value,
1544
1501
  modelValue: c.value,
1545
- "onUpdate:modelValue": d[0] || (d[0] = (m) => c.value = m),
1502
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => c.value = m),
1546
1503
  "default-opened": e.defaultOpened
1547
1504
  }, {
1548
1505
  default: S(() => [
@@ -1551,7 +1508,7 @@ const ga = M({
1551
1508
  _: 3
1552
1509
  }, 8, ["class", "label", "group", "expand-icon", "icon", "modelValue", "default-opened"]));
1553
1510
  }
1554
- }, Wt = M({
1511
+ }, Ht = M({
1555
1512
  name: "CResponsiveLayout",
1556
1513
  props: {
1557
1514
  show: Boolean,
@@ -1567,14 +1524,14 @@ const ga = M({
1567
1524
  },
1568
1525
  emits: ["click"],
1569
1526
  setup(e, { emit: a }) {
1570
- const n = u(() => e.icon ? e.icon : zt), t = u(() => ({
1527
+ const n = d(() => e.icon ? e.icon : qt), t = d(() => ({
1571
1528
  color: e.color,
1572
1529
  backgroundColor: e.backgroundColor
1573
1530
  })), o = () => a("click");
1574
1531
  function s() {
1575
1532
  return R(
1576
1533
  r(
1577
- hn,
1534
+ vn,
1578
1535
  {
1579
1536
  position: "bottom-right",
1580
1537
  offset: [18, 18],
@@ -1595,7 +1552,7 @@ const ga = M({
1595
1552
  }
1596
1553
  return () => s();
1597
1554
  }
1598
- }), wa = M({
1555
+ }), va = M({
1599
1556
  name: "CFloatingModal",
1600
1557
  props: {
1601
1558
  modelValue: Boolean,
@@ -1612,19 +1569,19 @@ const ga = M({
1612
1569
  },
1613
1570
  emits: ["update:modelValue"],
1614
1571
  setup(e, { slots: a, emit: n }) {
1615
- const t = Ve(), o = lt(), s = y(!1), c = u({
1572
+ const t = Ve(), o = ot(), s = y(!1), c = d({
1616
1573
  get: () => e.modelValue,
1617
1574
  set: (g) => n("update:modelValue", g)
1618
1575
  }), i = () => {
1619
1576
  s.value = !s.value;
1620
- }, l = y(80), d = (g) => {
1577
+ }, l = y(80), u = (g) => {
1621
1578
  l.value = g.height - e.topOffset;
1622
1579
  };
1623
1580
  J(() => {
1624
- l.value = t.screen.height - e.topOffset, o.$on("resize", d);
1581
+ l.value = t.screen.height - e.topOffset, o.$on("resize", u);
1625
1582
  }), Me(() => o.$off("resize"));
1626
1583
  function m() {
1627
- const g = u(() => ({
1584
+ const g = d(() => ({
1628
1585
  maxHeight: `${l.value}px`,
1629
1586
  maxWidth: `${e.width}px`
1630
1587
  })), h = {
@@ -1636,13 +1593,13 @@ const ga = M({
1636
1593
  class: "c-floating-modal-toggle",
1637
1594
  size: "sm",
1638
1595
  round: !0,
1639
- icon: u(
1596
+ icon: d(
1640
1597
  () => s.value ? "f_chevron_down" : "f_chevron_up"
1641
1598
  ).value,
1642
1599
  onClick: i
1643
1600
  }, V = {
1644
1601
  class: "c-floating-modal-default"
1645
- }, p = { class: "c-floating-modal-expanded" };
1602
+ }, k = { class: "c-floating-modal-expanded" };
1646
1603
  return r(
1647
1604
  ie,
1648
1605
  { name: "fade" },
@@ -1652,9 +1609,9 @@ const ga = M({
1652
1609
  ...a.expanded ? [r(he, f)] : [],
1653
1610
  ...a.default ? [r("div", V, a.default())] : [],
1654
1611
  ...a.expanded ? [
1655
- r(st, null, {
1612
+ r(lt, null, {
1656
1613
  default: () => R(
1657
- r("div", p, a.expanded()),
1614
+ r("div", k, a.expanded()),
1658
1615
  [[O, s.value]]
1659
1616
  )
1660
1617
  })
@@ -1667,7 +1624,7 @@ const ga = M({
1667
1624
  }
1668
1625
  return () => m();
1669
1626
  }
1670
- }), Ca = {
1627
+ }), ga = {
1671
1628
  __name: "CHorizontalScroller",
1672
1629
  props: {
1673
1630
  fullHeight: Boolean,
@@ -1681,9 +1638,9 @@ const ga = M({
1681
1638
  }
1682
1639
  },
1683
1640
  setup(e) {
1684
- const { $on: a } = lt(), n = e, t = y(null), o = y(null), s = y(null), c = y(0), i = y(!1), l = y(null), d = y(null), m = y(void 0), g = y(0), h = y(0), k = y(void 0);
1641
+ const { $on: a } = ot(), n = e, t = y(null), o = y(null), s = y(null), c = y(0), i = y(!1), l = y(null), u = y(null), m = y(void 0), g = y(0), h = y(0), p = y(void 0);
1685
1642
  let f, V;
1686
- const p = () => {
1643
+ const k = () => {
1687
1644
  if (!t.value || !o.value) return;
1688
1645
  const B = Pe.newRectFromElement(t.value), b = Pe.newRectFromElement(o.value);
1689
1646
  return !t.value || b.width >= B.width ? !1 : {
@@ -1692,8 +1649,8 @@ const ga = M({
1692
1649
  left: B.left - b.left,
1693
1650
  width: B.width - b.width
1694
1651
  };
1695
- }, C = ({ inner: B, left: b, width: N }, H) => {
1696
- if (b = b - H, b < -N) {
1652
+ }, C = ({ inner: B, left: b, width: N }, U) => {
1653
+ if (b = b - U, b < -N) {
1697
1654
  B.style.left = -N + "px";
1698
1655
  return;
1699
1656
  }
@@ -1728,31 +1685,31 @@ const ga = M({
1728
1685
  }, T = ({ left: B = 0, duration: b = 1e3 }) => {
1729
1686
  if (!t.value) return;
1730
1687
  F();
1731
- let N = { left: c.value }, H = { left: B };
1732
- l.value = new ge.Tween(N).to(H, b).delay(0).easing(ge.Easing.Quadratic.Out).onUpdate(function(U) {
1733
- const j = parseInt(U.left);
1688
+ let N = { left: c.value }, U = { left: B };
1689
+ l.value = new ge.Tween(N).to(U, b).delay(0).easing(ge.Easing.Quadratic.Out).onUpdate(function(H) {
1690
+ const j = parseInt(H.left);
1734
1691
  z(j);
1735
- }).onComplete(function(U) {
1736
- const j = parseInt(U.left);
1737
- window.cancelAnimationFrame(d.value), d.value = null, z(j);
1692
+ }).onComplete(function(H) {
1693
+ const j = parseInt(H.left);
1694
+ window.cancelAnimationFrame(u.value), u.value = null, z(j);
1738
1695
  }).start(), G();
1739
1696
  }, G = (B) => {
1740
- d.value = window.requestAnimationFrame(G), ge.update(B);
1697
+ u.value = window.requestAnimationFrame(G), ge.update(B);
1741
1698
  }, F = () => {
1742
1699
  l.value && l.value.stop && (l.value.stop(), l.value = null);
1743
1700
  }, ee = (B) => {
1744
1701
  if (B = B.srcEvent || B, !(B && (B.wheelDelta || B.deltaX))) return;
1745
- const N = B.deltaX, H = B.deltaY, U = 2;
1746
- if ((H > U || H < -U) && N === 0 || B.ctrlKey)
1702
+ const N = B.deltaX, U = B.deltaY, H = 2;
1703
+ if ((U > H || U < -H) && N === 0 || B.ctrlKey)
1747
1704
  return;
1748
1705
  B.preventDefault();
1749
- const j = p();
1706
+ const j = k();
1750
1707
  j && C(j, N);
1751
1708
  }, K = (B) => {
1752
- const b = p();
1709
+ const b = k();
1753
1710
  b && C(b, B);
1754
1711
  }, ye = () => {
1755
- m.value = void 0, k.value = void 0, g.value = 0, h.value = 0;
1712
+ m.value = void 0, p.value = void 0, g.value = 0, h.value = 0;
1756
1713
  }, De = (B) => {
1757
1714
  const b = B.center.x - m.value.x;
1758
1715
  b !== 0 && (m.value = B.center, K(-b));
@@ -1761,15 +1718,15 @@ const ga = M({
1761
1718
  }, te = (B) => {
1762
1719
  const b = Math.abs(B.velocityX);
1763
1720
  if (b <= 0.02) return;
1764
- const N = B.distance, H = B.direction === 2 ? -1 : 1, U = p(), j = U.left;
1721
+ const N = B.distance, U = B.direction === 2 ? -1 : 1, H = k(), j = H.left;
1765
1722
  c.value = j;
1766
- const W = -U.width, ne = 0;
1767
- let ue = j + H * N * b;
1723
+ const W = -H.width, ne = 0;
1724
+ let ue = j + U * N * b;
1768
1725
  j === W && B.direction === 2 || j === ne && B.direction === 4 || (ue = ue < W ? W : ue, ue = ue > 0 ? 0 : ue, T({ left: ue }));
1769
1726
  }, re = (B) => F();
1770
1727
  ce(() => t.value, (B) => v());
1771
1728
  const ze = () => {
1772
- f || (f = new Mt(s.value, {
1729
+ f || (f = new It(s.value, {
1773
1730
  recognizers: [
1774
1731
  [Hammer.Tap],
1775
1732
  [Hammer.Pan, { pointers: 0 }],
@@ -1840,7 +1797,7 @@ const ga = M({
1840
1797
  ], 2);
1841
1798
  };
1842
1799
  }
1843
- }, Ba = (e, a, n) => {
1800
+ }, ba = (e, a, n) => {
1844
1801
  const t = e[a];
1845
1802
  return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((o, s) => {
1846
1803
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
@@ -1853,9 +1810,9 @@ const ga = M({
1853
1810
  );
1854
1811
  });
1855
1812
  }, X = (e = "../i18n") => {
1856
- const a = Ve(), n = y({}), t = u(() => a.lang.isoName || "en-US"), o = async () => {
1813
+ const a = Ve(), n = y({}), t = d(() => a.lang.isoName || "en-US"), o = async () => {
1857
1814
  try {
1858
- const s = (await Ba(/* @__PURE__ */ Object.assign({ "../i18n/en-US/index.js": () => import("./index-DNFPxUoa.js") }), `../i18n/${t.value}/index.js`, 4)).default;
1815
+ const s = (await ba(/* @__PURE__ */ Object.assign({ "../i18n/en-US/index.js": () => import("./index-DNFPxUoa.js") }), `../i18n/${t.value}/index.js`, 4)).default;
1859
1816
  s && Object.assign(n.value, s);
1860
1817
  } catch (s) {
1861
1818
  console.error(`Error loading i18n for ${t.value}`, s);
@@ -1868,10 +1825,10 @@ const ga = M({
1868
1825
  },
1869
1826
  { immediate: !0 }
1870
1827
  // Run immediately on initialization
1871
- ), rn(() => {
1828
+ ), ln(() => {
1872
1829
  o();
1873
1830
  }), { lang: n };
1874
- }, Va = M({
1831
+ }, ha = M({
1875
1832
  name: "CIconButton",
1876
1833
  props: {
1877
1834
  hasAccess: {
@@ -1889,13 +1846,13 @@ const ga = M({
1889
1846
  },
1890
1847
  emits: ["click", "blockAccess"],
1891
1848
  setup(e, { slots: a, emit: n }) {
1892
- const { lang: t } = X(), o = u(() => {
1893
- var d;
1849
+ const { lang: t } = X(), o = d(() => {
1850
+ var u;
1894
1851
  if (e.name && t.value.controls && t.value.controls[e.name])
1895
- return e.name && ((d = t.value.controls[e.name]) == null ? void 0 : d.iconTitle);
1896
- }), s = u(() => e.icon || `f_${e.name}`), c = (d) => n("blockAccess", d), i = () => n("click");
1852
+ return e.name && ((u = t.value.controls[e.name]) == null ? void 0 : u.iconTitle);
1853
+ }), s = d(() => e.icon || `f_${e.name}`), c = (u) => n("blockAccess", u), i = () => n("click");
1897
1854
  function l() {
1898
- const d = {
1855
+ const u = {
1899
1856
  class: `c-button c-icon-button c-${e.name}-button`,
1900
1857
  hasAccess: e.hasAccess || !0,
1901
1858
  icon: s.value,
@@ -1905,11 +1862,11 @@ const ga = M({
1905
1862
  onClick: i,
1906
1863
  onBlockAccess: c
1907
1864
  };
1908
- return r(We, d, () => []);
1865
+ return r(je, u, () => []);
1909
1866
  }
1910
1867
  return () => l();
1911
1868
  }
1912
- }), xa = ["innerHTML"], Da = {
1869
+ }), ya = ["innerHTML"], ka = {
1913
1870
  __name: "CItemHeading",
1914
1871
  props: {
1915
1872
  heading: String
@@ -1918,9 +1875,9 @@ const ga = M({
1918
1875
  return (a, n) => (_(), se("div", {
1919
1876
  class: "c-item-heading row full-width q-py-sm unselectable",
1920
1877
  innerHTML: e.heading
1921
- }, null, 8, xa));
1878
+ }, null, 8, ya));
1922
1879
  }
1923
- }, Qt = M({
1880
+ }, Ft = M({
1924
1881
  name: "CMenuButton",
1925
1882
  emits: ["click"],
1926
1883
  setup(e, { slots: a, emit: n }) {
@@ -1930,7 +1887,7 @@ const ga = M({
1930
1887
  onClick: () => n("click"),
1931
1888
  dense: !0,
1932
1889
  flat: !0,
1933
- icon: ct,
1890
+ icon: st,
1934
1891
  label: o.value,
1935
1892
  rounded: !0,
1936
1893
  style: "background-color: #ffffff;padding-right: 15px;padding-left: 10px"
@@ -1940,7 +1897,7 @@ const ga = M({
1940
1897
  o.value = ((l = t.value.controls) == null ? void 0 : l.menu.title) || "MENU";
1941
1898
  }), () => r(he, c);
1942
1899
  }
1943
- }), Gt = M({
1900
+ }), jt = M({
1944
1901
  name: "CNavigator",
1945
1902
  props: {
1946
1903
  dark: Boolean,
@@ -1980,7 +1937,7 @@ const ga = M({
1980
1937
  emits: ["input"],
1981
1938
  setup(e, { slots: a, emit: n }) {
1982
1939
  let t;
1983
- const o = y(null), s = y(null), c = y(null), i = y(null), l = y(!1), d = y(0), m = y(0), g = y(null), h = y(null), k = y(0), f = y(0), V = u(() => e.knobSize * 0.8 + "px"), p = u(() => {
1940
+ const o = y(null), s = y(null), c = y(null), i = y(null), l = y(!1), u = y(0), m = y(0), g = y(null), h = y(null), p = y(0), f = y(0), V = d(() => e.knobSize * 0.8 + "px"), k = d(() => {
1984
1941
  const b = e.knobSize + "px", N = -e.knobSize / 2 + "px";
1985
1942
  return {
1986
1943
  width: b,
@@ -1988,7 +1945,7 @@ const ga = M({
1988
1945
  lineHeight: "62px",
1989
1946
  transform: "translateY(" + N + ") translateX(" + N + ")"
1990
1947
  };
1991
- }), C = u(() => e.height === 0 || e.width === 0 ? {
1948
+ }), C = d(() => e.height === 0 || e.width === 0 ? {
1992
1949
  bottom: 0,
1993
1950
  right: 0,
1994
1951
  zIndex: 1e8
@@ -2004,20 +1961,20 @@ const ga = M({
2004
1961
  }
2005
1962
  );
2006
1963
  function $() {
2007
- m.value = e.width ? e.width : o.value.offsetWidth, d.value = e.height ? e.height : o.value.offsetHeight, T();
1964
+ m.value = e.width ? e.width : o.value.offsetWidth, u.value = e.height ? e.height : o.value.offsetHeight, T();
2008
1965
  }
2009
1966
  function E() {
2010
- n("input", { x: k.value, y: f.value });
1967
+ n("input", { x: p.value, y: f.value });
2011
1968
  }
2012
1969
  const v = (b, N) => (b < N ? -1 : 1) * Math.ceil(1), z = (b) => {
2013
1970
  const N = o.value.getBoundingClientRect();
2014
- let H = b.x - N.left;
2015
- const U = e.knobSize / 2 + 1, j = N.width - U + 2;
2016
- H = H < U ? U : H, H = H > j ? j : H;
1971
+ let U = b.x - N.left;
1972
+ const H = e.knobSize / 2 + 1, j = N.width - H + 2;
1973
+ U = U < H ? H : U, U = U > j ? j : U;
2017
1974
  let W = b.y - N.top;
2018
- const ne = N.height - U + 2;
2019
- return W = W < U ? U : W, W = W > ne ? ne : W, {
2020
- x: H,
1975
+ const ne = N.height - H + 2;
1976
+ return W = W < H ? H : W, W = W > ne ? ne : W, {
1977
+ x: U,
2021
1978
  y: W
2022
1979
  };
2023
1980
  };
@@ -2028,17 +1985,17 @@ const ga = M({
2028
1985
  }
2029
1986
  function G() {
2030
1987
  return {
2031
- top: d.value / 2 - 0 + "px",
1988
+ top: u.value / 2 - 0 + "px",
2032
1989
  left: m.value / 2 - 0 + "px"
2033
1990
  };
2034
1991
  }
2035
1992
  function F() {
2036
- var H, U;
1993
+ var U, H;
2037
1994
  if (!s.value) return;
2038
1995
  l.value = !0;
2039
1996
  const b = {
2040
- top: (H = s.value) == null ? void 0 : H.offsetTop,
2041
- left: (U = s.value) == null ? void 0 : U.offsetLeft
1997
+ top: (U = s.value) == null ? void 0 : U.offsetTop,
1998
+ left: (H = s.value) == null ? void 0 : H.offsetLeft
2042
1999
  }, N = G();
2043
2000
  K(), h.value = new ge.Tween(b).to(N, 150).delay(0).easing(ge.Easing.Quadratic.Out).onUpdate(function(j) {
2044
2001
  Object.assign(s.value.style, {
@@ -2046,7 +2003,7 @@ const ga = M({
2046
2003
  left: j.left + "px"
2047
2004
  });
2048
2005
  }).onComplete(function() {
2049
- l.value = !1, window.cancelAnimationFrame(i.value), k.value = 0, f.value = 0, E();
2006
+ l.value = !1, window.cancelAnimationFrame(i.value), p.value = 0, f.value = 0, E();
2050
2007
  }).start(), ee();
2051
2008
  }
2052
2009
  const ee = (b) => {
@@ -2059,14 +2016,14 @@ const ga = M({
2059
2016
  if (b.srcEvent.stopPropagation(), b.srcEvent.stopImmediatePropagation(), l.value) return;
2060
2017
  const N = {
2061
2018
  x: m.value / 2,
2062
- y: d.value / 2
2063
- }, H = b.center, U = o.value.getBoundingClientRect(), j = { top: H.y - U.top, left: H.x - U.left }, W = 15;
2064
- if (j.top < W || j.top > U.height - W || j.left < W || j.left > U.width - W) {
2019
+ y: u.value / 2
2020
+ }, U = b.center, H = o.value.getBoundingClientRect(), j = { top: U.y - H.top, left: U.x - H.left }, W = 15;
2021
+ if (j.top < W || j.top > H.height - W || j.left < W || j.left > H.width - W) {
2065
2022
  F(), clearInterval(g.value), g.value = null;
2066
2023
  return;
2067
2024
  }
2068
- const ne = z(H);
2069
- s.value.style.left = ne.x - 1 + "px", s.value.style.top = ne.y - 1 + "px", k.value = v(ne.x, N.x), f.value = v(ne.y, N.y);
2025
+ const ne = z(U);
2026
+ s.value.style.left = ne.x - 1 + "px", s.value.style.top = ne.y - 1 + "px", p.value = v(ne.x, N.x), f.value = v(ne.y, N.y);
2070
2027
  };
2071
2028
  function De(b) {
2072
2029
  b.srcEvent.stopPropagation(), b.srcEvent.stopImmediatePropagation(), F(), clearInterval(g.value), g.value = null;
@@ -2075,10 +2032,10 @@ const ga = M({
2075
2032
  b.srcEvent.stopPropagation(), b.srcEvent.stopImmediatePropagation(), F(), clearInterval(g.value), g.value = null;
2076
2033
  }
2077
2034
  function te(b) {
2078
- b.srcEvent.stopPropagation(), b.srcEvent.stopImmediatePropagation(), k.value = 0, f.value = 0, g.value && clearInterval(g.value), g.value = setInterval(E, 20);
2035
+ b.srcEvent.stopPropagation(), b.srcEvent.stopImmediatePropagation(), p.value = 0, f.value = 0, g.value && clearInterval(g.value), g.value = setInterval(E, 20);
2079
2036
  }
2080
2037
  function re() {
2081
- t || (t = new Mt(o.value, {
2038
+ t || (t = new It(o.value, {
2082
2039
  recognizers: [[Hammer.Pan, { pointers: 0 }]]
2083
2040
  }), t.manager, t.on({
2084
2041
  panstart: te,
@@ -2103,7 +2060,7 @@ const ga = M({
2103
2060
  const b = [];
2104
2061
  return e.title && b.push(
2105
2062
  r("div", { class: "c-navigator-title unselectable" }, e.title)
2106
- ), b.push(r(Xe, { onResize: $ })), e.debug && (b.push(r("div", { class: "verticalBar" })), b.push(r("div", { class: "horizontalBar" }))), b.push(
2063
+ ), b.push(r(Ze, { onResize: $ })), e.debug && (b.push(r("div", { class: "verticalBar" })), b.push(r("div", { class: "horizontalBar" }))), b.push(
2107
2064
  r(
2108
2065
  "div",
2109
2066
  {
@@ -2116,9 +2073,9 @@ const ga = M({
2116
2073
  {
2117
2074
  class: "c-navigator-knob noselect",
2118
2075
  ref: s,
2119
- style: p.value
2076
+ style: k.value
2120
2077
  },
2121
- r(qe, { name: Dn, size: V.value })
2078
+ r(qe, { name: Bn, size: V.value })
2122
2079
  )
2123
2080
  )
2124
2081
  ), b;
@@ -2137,7 +2094,7 @@ const ga = M({
2137
2094
  }
2138
2095
  return () => B();
2139
2096
  }
2140
- }), Sa = M({
2097
+ }), pa = M({
2141
2098
  name: "COverlayLoader",
2142
2099
  props: {
2143
2100
  progress: { type: Number, default: 0 },
@@ -2147,16 +2104,16 @@ const ga = M({
2147
2104
  fade: { type: Boolean, default: !0 }
2148
2105
  },
2149
2106
  setup(e, { slots: a, emit: n }) {
2150
- const { progress: t } = un(e), o = u(() => {
2107
+ const { progress: t } = sn(e), o = d(() => {
2151
2108
  let V = 1;
2152
2109
  return e.fade && (t.value <= 10 ? V = t.value / 5 : t.value >= 90 ? V = (100 - t.value) / 10 : V = 1), {
2153
2110
  opacity: V,
2154
2111
  transition: "opacity 0.4s ease"
2155
2112
  };
2156
- }), s = u(() => {
2157
- const p = Math.min(100, Math.max(0, t.value)) / 100 * 360;
2158
- if (p === 0) return "";
2159
- const C = 50, $ = -90, E = $ + p, v = c(C, C, C, E), z = c(C, C, C, $), T = p > 180 ? 1 : 0;
2113
+ }), s = d(() => {
2114
+ const k = Math.min(100, Math.max(0, t.value)) / 100 * 360;
2115
+ if (k === 0) return "";
2116
+ const C = 50, $ = -90, E = $ + k, v = c(C, C, C, E), z = c(C, C, C, $), T = k > 180 ? 1 : 0;
2160
2117
  return [
2161
2118
  `M ${C} ${C}`,
2162
2119
  // Move to center
@@ -2168,17 +2125,17 @@ const ga = M({
2168
2125
  // Close path
2169
2126
  ].join(" ");
2170
2127
  });
2171
- function c(V, p, C, $) {
2128
+ function c(V, k, C, $) {
2172
2129
  const E = $ * Math.PI / 180;
2173
2130
  return {
2174
2131
  x: V + C * Math.cos(E),
2175
- y: p + C * Math.sin(E)
2132
+ y: k + C * Math.sin(E)
2176
2133
  };
2177
2134
  }
2178
- const i = u(() => ({ width: e.size, height: e.size })), l = u(() => ({
2135
+ const i = d(() => ({ width: e.size, height: e.size })), l = d(() => ({
2179
2136
  class: "c-overlay-loader",
2180
2137
  style: i.value
2181
- })), d = u(() => ({
2138
+ })), u = d(() => ({
2182
2139
  class: "c-overlay-loader-overlay",
2183
2140
  viewBox: "0 0 100 100",
2184
2141
  preserveAspectRatio: "xMidYMid meet",
@@ -2189,11 +2146,11 @@ const ga = M({
2189
2146
  width: 100,
2190
2147
  height: 100,
2191
2148
  fill: "white"
2192
- }, h = u(() => ({
2149
+ }, h = d(() => ({
2193
2150
  ...g,
2194
2151
  fill: e.overlayColor,
2195
2152
  mask: "url(#pie-mask)"
2196
- })), k = u(() => ({
2153
+ })), p = d(() => ({
2197
2154
  d: s.value,
2198
2155
  fill: "black"
2199
2156
  }));
@@ -2205,11 +2162,11 @@ const ga = M({
2205
2162
  { class: "c-overlay-loader-content" },
2206
2163
  ((V = a.default) == null ? void 0 : V.call(a)) || []
2207
2164
  ),
2208
- r("svg", d.value, [
2165
+ r("svg", u.value, [
2209
2166
  r("defs", {}, [
2210
2167
  r("mask", { id: "pie-mask" }, [
2211
2168
  r("circle", m),
2212
- r("path", k.value)
2169
+ r("path", p.value)
2213
2170
  ])
2214
2171
  ]),
2215
2172
  r("rect", h.value)
@@ -2218,13 +2175,13 @@ const ga = M({
2218
2175
  }
2219
2176
  return () => f();
2220
2177
  }
2221
- }), Aa = {
2178
+ }), wa = {
2222
2179
  key: 0,
2223
2180
  class: "c-rect-button-image unselectable"
2224
- }, _a = ["src"], $a = {
2181
+ }, Ca = ["src"], Ba = {
2225
2182
  key: 1,
2226
2183
  class: "c-rect-button-label unselectable"
2227
- }, qa = {
2184
+ }, Va = {
2228
2185
  __name: "CRectButton",
2229
2186
  props: {
2230
2187
  access: String,
@@ -2267,19 +2224,19 @@ const ga = M({
2267
2224
  onClick: o
2268
2225
  }, {
2269
2226
  default: S(() => [
2270
- e.image ? (_(), se("div", Aa, [
2227
+ e.image ? (_(), se("div", wa, [
2271
2228
  x("img", {
2272
2229
  src: e.image,
2273
2230
  class: "unselectable"
2274
- }, null, 8, _a)
2231
+ }, null, 8, Ca)
2275
2232
  ])) : le("", !0),
2276
- e.label ? (_(), se("span", $a, be(e.label), 1)) : le("", !0)
2233
+ e.label ? (_(), se("span", Ba, be(e.label), 1)) : le("", !0)
2277
2234
  ]),
2278
2235
  _: 1
2279
2236
  }, 8, ["class", "no-ripple", "disable", "icon"]);
2280
2237
  };
2281
2238
  }
2282
- }, Yt = M({
2239
+ }, Wt = M({
2283
2240
  name: "CResponsiveLayout",
2284
2241
  props: {
2285
2242
  modelValue: Boolean
@@ -2287,7 +2244,7 @@ const ga = M({
2287
2244
  emits: ["update:modelValue"],
2288
2245
  setup(e, { slots: a, emit: n }) {
2289
2246
  y(null), y(null);
2290
- const t = u({
2247
+ const t = d({
2291
2248
  get: () => e.modelValue,
2292
2249
  set: (s) => n("update:modelValue", s)
2293
2250
  });
@@ -2311,7 +2268,7 @@ const ga = M({
2311
2268
  )
2312
2269
  ];
2313
2270
  return r(
2314
- yn,
2271
+ gn,
2315
2272
  {
2316
2273
  class: "c-right-drawer",
2317
2274
  "full-height": !0,
@@ -2328,7 +2285,7 @@ const ga = M({
2328
2285
  }
2329
2286
  return () => o();
2330
2287
  }
2331
- }), Ta = { class: "c-round-button-holder" }, za = { class: "c-round-button-image unselectable" }, Ia = ["src"], La = {
2288
+ }), xa = { class: "c-round-button-holder" }, Da = { class: "c-round-button-image unselectable" }, Sa = ["src"], Aa = {
2332
2289
  key: 0,
2333
2290
  class: "c-round-button-label unselectable"
2334
2291
  }, Te = {
@@ -2366,7 +2323,7 @@ const ga = M({
2366
2323
  const i = A("q-btn");
2367
2324
  return _(), L(ie, { name: "expando" }, {
2368
2325
  default: S(() => [
2369
- R(x("div", Ta, [
2326
+ R(x("div", xa, [
2370
2327
  D(i, {
2371
2328
  class: Y(["c-round-button", { selected: e.selected, disabled: e.disabled, dark: e.dark }]),
2372
2329
  "no-ripple": e.disabled,
@@ -2380,14 +2337,14 @@ const ga = M({
2380
2337
  onClick: o
2381
2338
  }, {
2382
2339
  default: S(() => [
2383
- x("div", za, [
2340
+ x("div", Da, [
2384
2341
  e.image ? (_(), se("img", {
2385
2342
  key: 0,
2386
2343
  src: e.image,
2387
2344
  class: "unselectable"
2388
- }, null, 8, Ia)) : le("", !0)
2345
+ }, null, 8, Sa)) : le("", !0)
2389
2346
  ]),
2390
- e.label ? (_(), se("span", La, be(e.label), 1)) : le("", !0)
2347
+ e.label ? (_(), se("span", Aa, be(e.label), 1)) : le("", !0)
2391
2348
  ]),
2392
2349
  _: 1
2393
2350
  }, 8, ["class", "no-ripple", "disable", "icon"])
@@ -2400,113 +2357,113 @@ const ga = M({
2400
2357
  };
2401
2358
  }
2402
2359
  };
2403
- function tt(e) {
2360
+ function et(e) {
2404
2361
  var a = typeof e;
2405
2362
  return e != null && (a == "object" || a == "function");
2406
2363
  }
2407
- var Ma = typeof global == "object" && global && global.Object === Object && global, Na = typeof self == "object" && self && self.Object === Object && self, Zt = Ma || Na || Function("return this")(), Ze = function() {
2408
- return Zt.Date.now();
2409
- }, Pa = /\s/;
2410
- function Ra(e) {
2411
- for (var a = e.length; a-- && Pa.test(e.charAt(a)); )
2364
+ var _a = typeof global == "object" && global && global.Object === Object && global, $a = typeof self == "object" && self && self.Object === Object && self, Qt = _a || $a || Function("return this")(), Ye = function() {
2365
+ return Qt.Date.now();
2366
+ }, qa = /\s/;
2367
+ function Ta(e) {
2368
+ for (var a = e.length; a-- && qa.test(e.charAt(a)); )
2412
2369
  ;
2413
2370
  return a;
2414
2371
  }
2415
- var Oa = /^\s+/;
2416
- function Ea(e) {
2417
- return e && e.slice(0, Ra(e) + 1).replace(Oa, "");
2372
+ var za = /^\s+/;
2373
+ function Ia(e) {
2374
+ return e && e.slice(0, Ta(e) + 1).replace(za, "");
2418
2375
  }
2419
- var Fe = Zt.Symbol, Xt = Object.prototype, Ha = Xt.hasOwnProperty, Ua = Xt.toString, Ie = Fe ? Fe.toStringTag : void 0;
2420
- function Fa(e) {
2421
- var a = Ha.call(e, Ie), n = e[Ie];
2376
+ var He = Qt.Symbol, Gt = Object.prototype, La = Gt.hasOwnProperty, Ma = Gt.toString, Ie = He ? He.toStringTag : void 0;
2377
+ function Na(e) {
2378
+ var a = La.call(e, Ie), n = e[Ie];
2422
2379
  try {
2423
2380
  e[Ie] = void 0;
2424
2381
  var t = !0;
2425
2382
  } catch {
2426
2383
  }
2427
- var o = Ua.call(e);
2384
+ var o = Ma.call(e);
2428
2385
  return t && (a ? e[Ie] = n : delete e[Ie]), o;
2429
2386
  }
2430
- var ja = Object.prototype, Wa = ja.toString;
2431
- function Qa(e) {
2432
- return Wa.call(e);
2387
+ var Pa = Object.prototype, Ra = Pa.toString;
2388
+ function Oa(e) {
2389
+ return Ra.call(e);
2433
2390
  }
2434
- var Ga = "[object Null]", Ya = "[object Undefined]", Vt = Fe ? Fe.toStringTag : void 0;
2435
- function Za(e) {
2436
- return e == null ? e === void 0 ? Ya : Ga : Vt && Vt in Object(e) ? Fa(e) : Qa(e);
2391
+ var Ea = "[object Null]", Ua = "[object Undefined]", Ct = He ? He.toStringTag : void 0;
2392
+ function Ha(e) {
2393
+ return e == null ? e === void 0 ? Ua : Ea : Ct && Ct in Object(e) ? Na(e) : Oa(e);
2437
2394
  }
2438
- function Xa(e) {
2395
+ function Fa(e) {
2439
2396
  return e != null && typeof e == "object";
2440
2397
  }
2441
- var Ka = "[object Symbol]";
2442
- function Ja(e) {
2443
- return typeof e == "symbol" || Xa(e) && Za(e) == Ka;
2398
+ var ja = "[object Symbol]";
2399
+ function Wa(e) {
2400
+ return typeof e == "symbol" || Fa(e) && Ha(e) == ja;
2444
2401
  }
2445
- var xt = NaN, eo = /^[-+]0x[0-9a-f]+$/i, to = /^0b[01]+$/i, no = /^0o[0-7]+$/i, ao = parseInt;
2446
- function Dt(e) {
2402
+ var Bt = NaN, Qa = /^[-+]0x[0-9a-f]+$/i, Ga = /^0b[01]+$/i, Ya = /^0o[0-7]+$/i, Za = parseInt;
2403
+ function Vt(e) {
2447
2404
  if (typeof e == "number")
2448
2405
  return e;
2449
- if (Ja(e))
2450
- return xt;
2451
- if (tt(e)) {
2406
+ if (Wa(e))
2407
+ return Bt;
2408
+ if (et(e)) {
2452
2409
  var a = typeof e.valueOf == "function" ? e.valueOf() : e;
2453
- e = tt(a) ? a + "" : a;
2410
+ e = et(a) ? a + "" : a;
2454
2411
  }
2455
2412
  if (typeof e != "string")
2456
2413
  return e === 0 ? e : +e;
2457
- e = Ea(e);
2458
- var n = to.test(e);
2459
- return n || no.test(e) ? ao(e.slice(2), n ? 2 : 8) : eo.test(e) ? xt : +e;
2414
+ e = Ia(e);
2415
+ var n = Ga.test(e);
2416
+ return n || Ya.test(e) ? Za(e.slice(2), n ? 2 : 8) : Qa.test(e) ? Bt : +e;
2460
2417
  }
2461
- var oo = "Expected a function", lo = Math.max, so = Math.min;
2462
- function Qe(e, a, n) {
2463
- var t, o, s, c, i, l, d = 0, m = !1, g = !1, h = !0;
2418
+ var Xa = "Expected a function", Ka = Math.max, Ja = Math.min;
2419
+ function We(e, a, n) {
2420
+ var t, o, s, c, i, l, u = 0, m = !1, g = !1, h = !0;
2464
2421
  if (typeof e != "function")
2465
- throw new TypeError(oo);
2466
- a = Dt(a) || 0, tt(n) && (m = !!n.leading, g = "maxWait" in n, s = g ? lo(Dt(n.maxWait) || 0, a) : s, h = "trailing" in n ? !!n.trailing : h);
2467
- function k(T) {
2422
+ throw new TypeError(Xa);
2423
+ a = Vt(a) || 0, et(n) && (m = !!n.leading, g = "maxWait" in n, s = g ? Ka(Vt(n.maxWait) || 0, a) : s, h = "trailing" in n ? !!n.trailing : h);
2424
+ function p(T) {
2468
2425
  var G = t, F = o;
2469
- return t = o = void 0, d = T, c = e.apply(F, G), c;
2426
+ return t = o = void 0, u = T, c = e.apply(F, G), c;
2470
2427
  }
2471
2428
  function f(T) {
2472
- return d = T, i = setTimeout(C, a), m ? k(T) : c;
2429
+ return u = T, i = setTimeout(C, a), m ? p(T) : c;
2473
2430
  }
2474
2431
  function V(T) {
2475
- var G = T - l, F = T - d, ee = a - G;
2476
- return g ? so(ee, s - F) : ee;
2432
+ var G = T - l, F = T - u, ee = a - G;
2433
+ return g ? Ja(ee, s - F) : ee;
2477
2434
  }
2478
- function p(T) {
2479
- var G = T - l, F = T - d;
2435
+ function k(T) {
2436
+ var G = T - l, F = T - u;
2480
2437
  return l === void 0 || G >= a || G < 0 || g && F >= s;
2481
2438
  }
2482
2439
  function C() {
2483
- var T = Ze();
2484
- if (p(T))
2440
+ var T = Ye();
2441
+ if (k(T))
2485
2442
  return $(T);
2486
2443
  i = setTimeout(C, V(T));
2487
2444
  }
2488
2445
  function $(T) {
2489
- return i = void 0, h && t ? k(T) : (t = o = void 0, c);
2446
+ return i = void 0, h && t ? p(T) : (t = o = void 0, c);
2490
2447
  }
2491
2448
  function E() {
2492
- i !== void 0 && clearTimeout(i), d = 0, t = l = o = i = void 0;
2449
+ i !== void 0 && clearTimeout(i), u = 0, t = l = o = i = void 0;
2493
2450
  }
2494
2451
  function v() {
2495
- return i === void 0 ? c : $(Ze());
2452
+ return i === void 0 ? c : $(Ye());
2496
2453
  }
2497
2454
  function z() {
2498
- var T = Ze(), G = p(T);
2455
+ var T = Ye(), G = k(T);
2499
2456
  if (t = arguments, o = this, l = T, G) {
2500
2457
  if (i === void 0)
2501
2458
  return f(l);
2502
2459
  if (g)
2503
- return clearTimeout(i), i = setTimeout(C, a), k(l);
2460
+ return clearTimeout(i), i = setTimeout(C, a), p(l);
2504
2461
  }
2505
2462
  return i === void 0 && (i = setTimeout(C, a)), c;
2506
2463
  }
2507
2464
  return z.cancel = E, z.flush = v, z;
2508
2465
  }
2509
- const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative" } }, ro = {
2466
+ const eo = ["innerHTML"], to = { style: { margin: "0 10px", position: "relative" } }, no = {
2510
2467
  key: 0,
2511
2468
  class: "c-slider-indicator"
2512
2469
  }, xe = {
@@ -2542,20 +2499,20 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2542
2499
  },
2543
2500
  emits: ["update:modelValue", "blockAccess"],
2544
2501
  setup(e, { emit: a }) {
2545
- const n = e, t = a, o = y(null), s = y(et), c = y(null), i = u({
2502
+ const n = e, t = a, o = y(null), s = y(Je), c = y(null), i = d({
2546
2503
  get() {
2547
2504
  return n.modelValue;
2548
2505
  },
2549
2506
  set(h) {
2550
2507
  t("update:modelValue", h);
2551
2508
  }
2552
- }), l = u(() => ({
2509
+ }), l = d(() => ({
2553
2510
  left: (n.initial - n.min) / (n.max - n.min) * 100 + "%"
2554
- })), d = u(() => typeof n.initial < "u"), m = u(() => n.dark ? {
2511
+ })), u = d(() => typeof n.initial < "u"), m = d(() => n.dark ? {
2555
2512
  color: "rgba(255, 255, 255, 0.6)"
2556
2513
  } : {
2557
2514
  color: "var(--grey-800)"
2558
- }), g = Qe(
2515
+ }), g = We(
2559
2516
  () => {
2560
2517
  t("blockAccess", n.access);
2561
2518
  },
@@ -2573,8 +2530,8 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2573
2530
  }
2574
2531
  ), J(() => {
2575
2532
  o.value = n.initial ? n.initial : n.modelValue;
2576
- }), (h, k) => {
2577
- const f = A("q-icon"), V = A("q-item-section"), p = A("q-slider"), C = A("q-avatar"), $ = A("q-btn"), E = A("q-item");
2533
+ }), (h, p) => {
2534
+ const f = A("q-icon"), V = A("q-item-section"), k = A("q-slider"), C = A("q-avatar"), $ = A("q-btn"), E = A("q-item");
2578
2535
  return _(), L(E, {
2579
2536
  class: Y(["c-slider", { "no-icons": e.noIcons, dark: e.dark }])
2580
2537
  }, {
@@ -2599,9 +2556,9 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2599
2556
  key: 0,
2600
2557
  class: "c-slider-title unselectable",
2601
2558
  innerHTML: e.title
2602
- }, null, 8, co)) : le("", !0),
2603
- x("div", io, [
2604
- D(p, {
2559
+ }, null, 8, eo)) : le("", !0),
2560
+ x("div", to, [
2561
+ D(k, {
2605
2562
  ref_key: "slider",
2606
2563
  ref: c,
2607
2564
  class: "control-bar-slider",
@@ -2610,10 +2567,10 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2610
2567
  min: e.min,
2611
2568
  step: e.step,
2612
2569
  modelValue: i.value,
2613
- "onUpdate:modelValue": k[0] || (k[0] = (v) => i.value = v),
2570
+ "onUpdate:modelValue": p[0] || (p[0] = (v) => i.value = v),
2614
2571
  disable: e.disable
2615
2572
  }, null, 8, ["max", "min", "step", "modelValue", "disable"]),
2616
- d.value ? (_(), se("div", ro, [
2573
+ u.value ? (_(), se("div", no, [
2617
2574
  x("div", {
2618
2575
  class: "c-slider-indicator-tick",
2619
2576
  style: pe(l.value)
@@ -2623,7 +2580,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2623
2580
  ]),
2624
2581
  _: 1
2625
2582
  }),
2626
- d.value && !e.noIcons ? (_(), L(V, {
2583
+ u.value && !e.noIcons ? (_(), L(V, {
2627
2584
  key: 1,
2628
2585
  side: "",
2629
2586
  class: "c-slider-right-icon"
@@ -2632,7 +2589,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2632
2589
  D($, {
2633
2590
  round: "",
2634
2591
  size: "xs",
2635
- onClick: k[1] || (k[1] = (v) => i.value = e.initial),
2592
+ onClick: p[1] || (p[1] = (v) => i.value = e.initial),
2636
2593
  style: pe(m.value),
2637
2594
  disabled: e.initial === i.value,
2638
2595
  flat: "",
@@ -2660,7 +2617,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2660
2617
  }, 8, ["class"]);
2661
2618
  };
2662
2619
  }
2663
- }, uo = {
2620
+ }, ao = {
2664
2621
  __name: "CToggle",
2665
2622
  props: {
2666
2623
  access: String,
@@ -2680,14 +2637,14 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2680
2637
  },
2681
2638
  emits: ["update:modelValue", "blockAccess"],
2682
2639
  setup(e, { emit: a }) {
2683
- const n = e, t = a, o = y(null), s = u(() => n.labelOff ? n.modelValue ? n.label : n.labelOff : n.label), c = u({
2640
+ const n = e, t = a, o = y(null), s = d(() => n.labelOff ? n.modelValue ? n.label : n.labelOff : n.label), c = d({
2684
2641
  get() {
2685
2642
  return n.modelValue;
2686
2643
  },
2687
2644
  set(l) {
2688
2645
  t("update:modelValue", l);
2689
2646
  }
2690
- }), i = Qe(
2647
+ }), i = We(
2691
2648
  () => {
2692
2649
  t("blockAccess", n.access);
2693
2650
  },
@@ -2705,9 +2662,9 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2705
2662
  }
2706
2663
  ), J(() => {
2707
2664
  o.value = n.modelValue;
2708
- }), (l, d) => {
2709
- const m = A("q-item-label"), g = A("q-item-section"), h = A("q-toggle"), k = A("q-item");
2710
- return _(), L(k, {
2665
+ }), (l, u) => {
2666
+ const m = A("q-item-label"), g = A("q-item-section"), h = A("q-toggle"), p = A("q-item");
2667
+ return _(), L(p, {
2711
2668
  class: Y(["c-toggle", { full: !e.drawer, dark: e.dark }]),
2712
2669
  tag: "label",
2713
2670
  ripple: "",
@@ -2718,7 +2675,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2718
2675
  default: S(() => [
2719
2676
  D(m, { class: "c-toggle-title unselectable" }, {
2720
2677
  default: S(() => [
2721
- at(be(s.value), 1)
2678
+ nt(be(s.value), 1)
2722
2679
  ]),
2723
2680
  _: 1
2724
2681
  })
@@ -2730,7 +2687,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2730
2687
  D(h, {
2731
2688
  color: "primary",
2732
2689
  modelValue: c.value,
2733
- "onUpdate:modelValue": d[0] || (d[0] = (f) => c.value = f),
2690
+ "onUpdate:modelValue": u[0] || (u[0] = (f) => c.value = f),
2734
2691
  size: "xs",
2735
2692
  disable: e.disable
2736
2693
  }, null, 8, ["modelValue", "disable"])
@@ -2742,7 +2699,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2742
2699
  }, 8, ["class", "data-cy"]);
2743
2700
  };
2744
2701
  }
2745
- }, Kt = M({
2702
+ }, Yt = M({
2746
2703
  name: "CToolHeader",
2747
2704
  props: {
2748
2705
  label: { type: String, required: !1 }
@@ -2757,38 +2714,38 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2757
2714
  }
2758
2715
  }), _e = {
2759
2716
  brightness: {
2760
- icon: mt,
2717
+ icon: dt,
2761
2718
  access: "bct",
2762
2719
  min: 50,
2763
2720
  max: 150,
2764
2721
  initial: 100
2765
2722
  },
2766
2723
  contrast: {
2767
- icon: dt,
2724
+ icon: ut,
2768
2725
  access: "cct",
2769
2726
  min: 50,
2770
2727
  max: 150,
2771
2728
  initial: 100
2772
2729
  },
2773
2730
  saturate: {
2774
- icon: ut,
2731
+ icon: rt,
2775
2732
  access: "sct",
2776
2733
  min: 50,
2777
2734
  max: 150,
2778
2735
  initial: 100
2779
2736
  },
2780
2737
  spin: {
2781
- icon: rt,
2738
+ icon: it,
2782
2739
  min: 0,
2783
2740
  max: 35
2784
2741
  },
2785
2742
  zoom: {
2786
- icon: it,
2743
+ icon: ct,
2787
2744
  access: "zom",
2788
2745
  min: 0,
2789
2746
  max: 100
2790
2747
  }
2791
- }, mo = M({
2748
+ }, oo = M({
2792
2749
  name: "CBasicTool",
2793
2750
  props: {
2794
2751
  dark: Boolean,
@@ -2812,15 +2769,15 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2812
2769
  },
2813
2770
  emits: ["blockAccess", "update:modelValue", "lockClicked"],
2814
2771
  setup(e, { slots: a, emit: n }) {
2815
- const { lang: t } = X(), o = (k) => n("blockAccess", k), s = u({
2772
+ const { lang: t } = X(), o = (p) => n("blockAccess", p), s = d({
2816
2773
  get: () => e.modelValue,
2817
- set: (k) => n("update:modelValue", k)
2818
- }), c = u(() => _e[e.type].access), i = u(() => _e[e.type].icon), l = u(() => _e[e.type].max), d = u(() => _e[e.type].min), m = u(
2774
+ set: (p) => n("update:modelValue", p)
2775
+ }), c = d(() => _e[e.type].access), i = d(() => _e[e.type].icon), l = d(() => _e[e.type].max), u = d(() => _e[e.type].min), m = d(
2819
2776
  () => _e[e.type].initial || e.initial
2820
- ), g = u(
2777
+ ), g = d(
2821
2778
  () => {
2822
- var k;
2823
- return e.noIcons ? null : (k = t.value.controls) == null ? void 0 : k[e.type].title;
2779
+ var p;
2780
+ return e.noIcons ? null : (p = t.value.controls) == null ? void 0 : p[e.type].title;
2824
2781
  }
2825
2782
  // {
2826
2783
  // if (props.noIcons) return
@@ -2832,7 +2789,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2832
2789
  // props.noIcons ? null : lang.value.controls?.[props].title || 'No title',
2833
2790
  );
2834
2791
  function h() {
2835
- const k = {
2792
+ const p = {
2836
2793
  class: `c-basic-tool c-${e.type}-tool non-draggable`,
2837
2794
  modelValue: s.value,
2838
2795
  "onUpdate:modelValue": (f) => s.value = f,
@@ -2841,7 +2798,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2841
2798
  icon: i.value,
2842
2799
  initial: m.value,
2843
2800
  max: l.value,
2844
- min: d.value,
2801
+ min: u.value,
2845
2802
  title: g.value,
2846
2803
  dark: e.dark,
2847
2804
  disable: e.disable,
@@ -2849,11 +2806,11 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2849
2806
  onBlockAccess: o,
2850
2807
  "data-cy": "c-basic-tool-" + e.type
2851
2808
  };
2852
- return r(xe, k);
2809
+ return r(xe, p);
2853
2810
  }
2854
2811
  return () => h();
2855
2812
  }
2856
- }), fo = {
2813
+ }), lo = {
2857
2814
  __name: "CBrightnessButton",
2858
2815
  props: {
2859
2816
  hasAccess: {
@@ -2864,14 +2821,14 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2864
2821
  },
2865
2822
  emits: ["click", "blockAccess"],
2866
2823
  setup(e, { emit: a }) {
2867
- const { lang: n } = X(), t = e, o = a, s = (l) => o("blockAccess", l), c = u(
2824
+ const { lang: n } = X(), t = e, o = a, s = (l) => o("blockAccess", l), c = d(
2868
2825
  () => {
2869
2826
  var l;
2870
2827
  return t.noIcons ? null : (l = n.value.controls) == null ? void 0 : l.brightness.title;
2871
2828
  }
2872
2829
  ), i = () => o("click");
2873
- return (l, d) => (_(), L(Te, {
2874
- icon: Z(mt),
2830
+ return (l, u) => (_(), L(Te, {
2831
+ icon: Z(dt),
2875
2832
  class: "c-brightness-button",
2876
2833
  label: c.value,
2877
2834
  selected: e.selected,
@@ -2880,7 +2837,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2880
2837
  onBlockAccess: s
2881
2838
  }, null, 8, ["icon", "label", "selected", "has-access"]));
2882
2839
  }
2883
- }, vo = {
2840
+ }, so = {
2884
2841
  __name: "CBrightnessTool",
2885
2842
  props: {
2886
2843
  dark: Boolean,
@@ -2894,34 +2851,34 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2894
2851
  },
2895
2852
  emits: ["update:modelValue", "blockAccess"],
2896
2853
  setup(e, { emit: a }) {
2897
- const { lang: n } = X(), t = e, o = a, s = (l) => o("blockAccess", l), c = u({
2854
+ const { lang: n } = X(), t = e, o = a, s = (l) => o("blockAccess", l), c = d({
2898
2855
  get: () => t.modelValue,
2899
2856
  set: (l) => o("update:modelValue", l)
2900
- }), i = u(
2857
+ }), i = d(
2901
2858
  () => {
2902
2859
  var l;
2903
2860
  return t.noIcons ? null : (l = n.value.controls) == null ? void 0 : l.brightness.title;
2904
2861
  }
2905
2862
  );
2906
- return (l, d) => (_(), L(xe, {
2863
+ return (l, u) => (_(), L(xe, {
2907
2864
  access: "bct",
2908
2865
  class: "brightness-tool",
2909
2866
  color: "primary",
2910
- icon: Z(mt),
2867
+ icon: Z(dt),
2911
2868
  initial: 100,
2912
2869
  max: 150,
2913
2870
  min: 50,
2914
2871
  title: i.value,
2915
2872
  "no-icons": e.noIcons,
2916
2873
  modelValue: c.value,
2917
- "onUpdate:modelValue": d[0] || (d[0] = (m) => c.value = m),
2874
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => c.value = m),
2918
2875
  dark: e.dark,
2919
2876
  disable: e.disable,
2920
2877
  "has-access": e.hasAccess,
2921
2878
  onBlockAccess: s
2922
2879
  }, null, 8, ["icon", "title", "no-icons", "modelValue", "dark", "disable", "has-access"]));
2923
2880
  }
2924
- }, go = {
2881
+ }, co = {
2925
2882
  __name: "CContrastButton",
2926
2883
  props: {
2927
2884
  hasAccess: {
@@ -2932,14 +2889,14 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2932
2889
  },
2933
2890
  emits: ["click", "blockAccess"],
2934
2891
  setup(e, { emit: a }) {
2935
- const { lang: n } = X(), t = e, o = a, s = (l) => o("blockAccess", l), c = u(
2892
+ const { lang: n } = X(), t = e, o = a, s = (l) => o("blockAccess", l), c = d(
2936
2893
  () => {
2937
2894
  var l;
2938
2895
  return t.noIcons ? null : (l = n.value.controls) == null ? void 0 : l.contrast.title;
2939
2896
  }
2940
2897
  ), i = () => o("click");
2941
- return (l, d) => (_(), L(Te, {
2942
- icon: Z(dt),
2898
+ return (l, u) => (_(), L(Te, {
2899
+ icon: Z(ut),
2943
2900
  class: "c-contrast-button",
2944
2901
  label: c.value,
2945
2902
  selected: e.selected,
@@ -2948,7 +2905,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2948
2905
  onBlockAccess: s
2949
2906
  }, null, 8, ["icon", "label", "selected", "has-access"]));
2950
2907
  }
2951
- }, bo = {
2908
+ }, io = {
2952
2909
  __name: "CContrastTool",
2953
2910
  props: {
2954
2911
  dark: Boolean,
@@ -2963,34 +2920,34 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
2963
2920
  },
2964
2921
  emits: ["update:modelValue", "blockAccess"],
2965
2922
  setup(e, { emit: a }) {
2966
- const { lang: n } = X(), t = e, o = a, s = (l) => o("blockAccess", l), c = u({
2923
+ const { lang: n } = X(), t = e, o = a, s = (l) => o("blockAccess", l), c = d({
2967
2924
  get: () => t.modelValue,
2968
2925
  set: (l) => o("update:modelValue", l)
2969
- }), i = u(
2926
+ }), i = d(
2970
2927
  () => {
2971
2928
  var l;
2972
2929
  return t.noIcons ? null : (l = n.value.controls) == null ? void 0 : l.contrast.title;
2973
2930
  }
2974
2931
  );
2975
- return (l, d) => (_(), L(xe, {
2932
+ return (l, u) => (_(), L(xe, {
2976
2933
  access: "cct",
2977
2934
  class: "contrast-item",
2978
2935
  color: "primary",
2979
- icon: Z(dt),
2936
+ icon: Z(ut),
2980
2937
  initial: 100,
2981
2938
  max: 150,
2982
2939
  min: 50,
2983
2940
  title: i.value,
2984
2941
  "no-icons": e.noIcons,
2985
2942
  modelValue: c.value,
2986
- "onUpdate:modelValue": d[0] || (d[0] = (m) => c.value = m),
2943
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => c.value = m),
2987
2944
  dark: e.dark,
2988
2945
  disable: e.disable,
2989
2946
  "has-access": e.hasAccess,
2990
2947
  onBlockAccess: s
2991
2948
  }, null, 8, ["icon", "title", "no-icons", "modelValue", "dark", "disable", "has-access"]));
2992
2949
  }
2993
- }, ho = M({
2950
+ }, ro = M({
2994
2951
  name: "CGridButton",
2995
2952
  props: {
2996
2953
  hasAccess: {
@@ -3006,7 +2963,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
3006
2963
  },
3007
2964
  emits: ["click", "blockAccess"],
3008
2965
  setup(e, { slots: a, emit: n }) {
3009
- const { lang: t } = X(), o = u(() => {
2966
+ const { lang: t } = X(), o = d(() => {
3010
2967
  var l;
3011
2968
  return (l = t.value.controls) == null ? void 0 : l.grid.title;
3012
2969
  }), s = (l) => n("blockAccess", l), c = () => n("click");
@@ -3020,12 +2977,12 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
3020
2977
  onClick: c,
3021
2978
  onBlockAccess: s
3022
2979
  };
3023
- return r(We, l, () => []);
2980
+ return r(je, l, () => []);
3024
2981
  }
3025
2982
  return () => i();
3026
2983
  }
3027
2984
  });
3028
- function St({
2985
+ function xt({
3029
2986
  viewportAxisLength: e,
3030
2987
  scaledImageAxisLength: a,
3031
2988
  imageAxisStartInViewport: n,
@@ -3044,14 +3001,14 @@ function St({
3044
3001
  -0.5,
3045
3002
  Math.min(0.5, o || 0)
3046
3003
  );
3047
- c += i * s, c = yo(
3004
+ c += i * s, c = uo(
3048
3005
  c,
3049
3006
  s
3050
3007
  );
3051
- const l = [], d = Math.ceil(
3008
+ const l = [], u = Math.ceil(
3052
3009
  (0 - c) / s
3053
3010
  );
3054
- let m = c + d * s;
3011
+ let m = c + u * s;
3055
3012
  for (; m < e; )
3056
3013
  m >= 0 && l.push(m), m += s;
3057
3014
  return {
@@ -3060,12 +3017,12 @@ function St({
3060
3017
  positionsInScreenPixels: l
3061
3018
  };
3062
3019
  }
3063
- function yo(e, a) {
3020
+ function uo(e, a) {
3064
3021
  if (!(a > 0)) return e;
3065
3022
  const n = e % a;
3066
3023
  return n <= 0 ? n : n - a;
3067
3024
  }
3068
- const ko = M({
3025
+ const mo = M({
3069
3026
  name: "CGridOverlay",
3070
3027
  props: {
3071
3028
  imagePoint: {
@@ -3102,16 +3059,16 @@ const ko = M({
3102
3059
  transitionName: { type: String, default: "fade" }
3103
3060
  },
3104
3061
  setup(e, { slots: a, emit: n }) {
3105
- const t = u(
3106
- () => St({
3062
+ const t = d(
3063
+ () => xt({
3107
3064
  viewportAxisLength: e.viewportSize.width,
3108
3065
  scaledImageAxisLength: e.imageSize.width,
3109
3066
  imageAxisStartInViewport: e.imagePoint.left,
3110
3067
  desiredLineCount: e.lines,
3111
3068
  offsetFractionOfSpacing: e.offsetX
3112
3069
  }).positionsInScreenPixels
3113
- ), o = u(
3114
- () => St({
3070
+ ), o = d(
3071
+ () => xt({
3115
3072
  viewportAxisLength: e.viewportSize.height,
3116
3073
  scaledImageAxisLength: e.imageSize.height,
3117
3074
  imageAxisStartInViewport: e.imagePoint.top,
@@ -3122,11 +3079,11 @@ const ko = M({
3122
3079
  function s() {
3123
3080
  const c = [
3124
3081
  ...t.value.map(
3125
- (d, m) => r("line", {
3126
- key: `vx-${m}-${d}`,
3127
- x1: d,
3082
+ (u, m) => r("line", {
3083
+ key: `vx-${m}-${u}`,
3084
+ x1: u,
3128
3085
  y1: 0,
3129
- x2: d,
3086
+ x2: u,
3130
3087
  y2: e.viewportSize.height,
3131
3088
  stroke: e.stroke,
3132
3089
  "stroke-width": e.strokeWidth,
@@ -3134,12 +3091,12 @@ const ko = M({
3134
3091
  })
3135
3092
  ),
3136
3093
  ...o.value.map(
3137
- (d, m) => r("line", {
3138
- key: `hy-${m}-${d}`,
3094
+ (u, m) => r("line", {
3095
+ key: `hy-${m}-${u}`,
3139
3096
  x1: 0,
3140
- y1: d,
3097
+ y1: u,
3141
3098
  x2: e.viewportSize.width,
3142
- y2: d,
3099
+ y2: u,
3143
3100
  stroke: e.stroke,
3144
3101
  "stroke-width": e.strokeWidth,
3145
3102
  "shape-rendering": "crispEdges"
@@ -3182,17 +3139,17 @@ const ko = M({
3182
3139
  emits: ["update:modelValue", "blockAccess"],
3183
3140
  setup(e, { slots: a, emit: n }) {
3184
3141
  const t = y(null);
3185
- y(et);
3186
- const o = u({
3142
+ y(Je);
3143
+ const o = d({
3187
3144
  get() {
3188
3145
  return e.modelValue;
3189
3146
  },
3190
3147
  set(h) {
3191
3148
  n("update:modelValue", h);
3192
3149
  }
3193
- }), s = u(() => ({ left: (e.initial - e.min) / (e.max - e.min) * 100 + "%" }));
3194
- u(() => typeof e.initial < "u");
3195
- const c = u(() => ({ color: e.dark ? "rgba(255, 255, 255, 0.6)" : "#333333" })), i = Qe(
3150
+ }), s = d(() => ({ left: (e.initial - e.min) / (e.max - e.min) * 100 + "%" }));
3151
+ d(() => typeof e.initial < "u");
3152
+ const c = d(() => ({ color: e.dark ? "rgba(255, 255, 255, 0.6)" : "#333333" })), i = We(
3196
3153
  () => {
3197
3154
  n("blockAccess", e.access);
3198
3155
  },
@@ -3225,28 +3182,28 @@ const ko = M({
3225
3182
  })
3226
3183
  );
3227
3184
  }
3228
- function d() {
3185
+ function u() {
3229
3186
  const h = [];
3230
3187
  e.title && h.push(
3231
3188
  r("div", { class: "c-slider-title unselectable" }, e.title)
3232
3189
  );
3233
- const k = {
3190
+ const p = {
3234
3191
  class: "control-bar-slider",
3235
3192
  color: "primary",
3236
3193
  max: e.max,
3237
3194
  min: e.min,
3238
3195
  step: e.step,
3239
3196
  modelValue: o.value,
3240
- "onUpdate:modelValue": (p) => o.value = p,
3197
+ "onUpdate:modelValue": (k) => o.value = k,
3241
3198
  disable: e.disable,
3242
- onPointerdown: (p) => p.stopPropagation(),
3243
- onMousedown: (p) => p.stopPropagation()
3199
+ onPointerdown: (k) => k.stopPropagation(),
3200
+ onMousedown: (k) => k.stopPropagation()
3244
3201
  }, f = {
3245
3202
  class: "c-slider-indicator-tick",
3246
3203
  style: s.value
3247
3204
  }, V = r(
3248
- kn,
3249
- k,
3205
+ bn,
3206
+ p,
3250
3207
  () => e.resetable ? r(
3251
3208
  "div",
3252
3209
  { class: "c-slider-indicator" },
@@ -3259,7 +3216,7 @@ const ko = M({
3259
3216
  }
3260
3217
  function m() {
3261
3218
  if (!e.resetable || noIcons) return;
3262
- const h = [], k = {
3219
+ const h = [], p = {
3263
3220
  disabled: initial === o,
3264
3221
  flat: !0,
3265
3222
  round: !0,
@@ -3270,11 +3227,11 @@ const ko = M({
3270
3227
  return h.push(
3271
3228
  r(
3272
3229
  he,
3273
- k,
3230
+ p,
3274
3231
  () => r(
3275
- pn,
3232
+ hn,
3276
3233
  { size: "18px" },
3277
- () => r(qe, { name: et, style: c.value, size: "20px" })
3234
+ () => r(qe, { name: Je, style: c.value, size: "20px" })
3278
3235
  )
3279
3236
  )
3280
3237
  ), r(Le, { style: "position: relative" }, () => h);
@@ -3290,12 +3247,12 @@ const ko = M({
3290
3247
  onPointerdown: (f) => f.stopPropagation(),
3291
3248
  onMousedown: (f) => f.stopPropagation(),
3292
3249
  "data-cy": "c-slider-" + Ce(e.title)
3293
- }, k = [l(), d(), m()];
3294
- return r(qt, h, () => k);
3250
+ }, p = [l(), u(), m()];
3251
+ return r(_t, h, () => p);
3295
3252
  }
3296
3253
  return () => g();
3297
3254
  }
3298
- }), Jt = M({
3255
+ }), Zt = M({
3299
3256
  name: "CToggle",
3300
3257
  props: {
3301
3258
  access: String,
@@ -3315,14 +3272,14 @@ const ko = M({
3315
3272
  },
3316
3273
  emits: ["update:modelValue", "blockAccess"],
3317
3274
  setup(e, { slots: a, emit: n }) {
3318
- const t = y(null), o = u(() => e.labelOff ? e.modelValue ? e.label : e.labelOff : e.label), s = u({
3275
+ const t = y(null), o = d(() => e.labelOff ? e.modelValue ? e.label : e.labelOff : e.label), s = d({
3319
3276
  get() {
3320
3277
  return e.modelValue;
3321
3278
  },
3322
3279
  set(l) {
3323
3280
  n("update:modelValue", l);
3324
3281
  }
3325
- }), c = Qe(
3282
+ }), c = We(
3326
3283
  () => {
3327
3284
  n("blockAccess", e.access);
3328
3285
  },
@@ -3347,25 +3304,25 @@ const ko = M({
3347
3304
  tab: "label",
3348
3305
  class: { "c-toggle": !0, full: !e.drawer, dark: e.dark },
3349
3306
  "data-cy": "c-toggle-" + Ce(e.label)
3350
- }, d = {
3307
+ }, u = {
3351
3308
  color: "primary",
3352
3309
  modelValue: s.value,
3353
3310
  "onUpdate:modelValue": (g) => s.value = g,
3354
3311
  size: "xs",
3355
3312
  disable: e.disable
3356
3313
  }, m = { class: "c-toggle-title unselectable" };
3357
- return r(qt, l, () => [
3314
+ return r(_t, l, () => [
3358
3315
  r(
3359
3316
  Le,
3360
3317
  {},
3361
- () => r(wn, m, () => o.value)
3318
+ () => r(yn, m, () => o.value)
3362
3319
  ),
3363
- r(Le, { side: !0 }, () => r(Cn, d, () => []))
3320
+ r(Le, { side: !0 }, () => r(kn, u, () => []))
3364
3321
  ]);
3365
3322
  }
3366
3323
  return () => i();
3367
3324
  }
3368
- }), po = M({
3325
+ }), fo = M({
3369
3326
  name: "CGridTool",
3370
3327
  props: {
3371
3328
  disable: Boolean,
@@ -3390,28 +3347,28 @@ const ko = M({
3390
3347
  "blockAccess"
3391
3348
  ],
3392
3349
  setup(e, { slots: a, emit: n }) {
3393
- const t = Ve(), { lang: o } = X(), s = y(t.platform.is.desktop), c = "M50.7574 28L34.1404 11.383C33.5546 10.7972 33.5546 9.84745 34.1404 9.26167C34.7261 8.67588 35.6759 8.67588 36.2617 9.26167L55 28L36.2617 46.7383C35.6759 47.3241 34.7261 47.3241 34.1403 46.7383C33.5546 46.1525 33.5546 45.2028 34.1403 44.617L50.7574 28zM5.24264 28L21.8596 44.617C22.4454 45.2028 22.4454 46.1525 21.8596 46.7383C21.2739 47.3241 20.3241 47.3241 19.7383 46.7383L0.999999 28L19.7383 9.26167C20.3241 8.67588 21.2739 8.67588 21.8596 9.26167C22.4454 9.84745 22.4454 10.7972 21.8596 11.383L5.24264 28Z|0 0 56 56", i = "M28 5.24264L11.383 21.8596C10.7972 22.4454 9.84746 22.4454 9.26167 21.8596C8.67588 21.2739 8.67588 20.3241 9.26167 19.7383L28 1L46.7383 19.7383C47.3241 20.3241 47.3241 21.2739 46.7383 21.8597C46.1525 22.4454 45.2028 22.4454 44.617 21.8597L28 5.24264zM28 50.7574L44.617 34.1404C45.2028 33.5546 46.1525 33.5546 46.7383 34.1404C47.3241 34.7261 47.3241 35.6759 46.7383 36.2617L28 55L9.26167 36.2617C8.67588 35.6759 8.67588 34.7261 9.26167 34.1404C9.84745 33.5546 10.7972 33.5546 11.383 34.1404L28 50.7574Z|0 0 56 56", l = (v) => n("blockAccess", v), d = u({
3350
+ const t = Ve(), { lang: o } = X(), s = y(t.platform.is.desktop), c = "M50.7574 28L34.1404 11.383C33.5546 10.7972 33.5546 9.84745 34.1404 9.26167C34.7261 8.67588 35.6759 8.67588 36.2617 9.26167L55 28L36.2617 46.7383C35.6759 47.3241 34.7261 47.3241 34.1403 46.7383C33.5546 46.1525 33.5546 45.2028 34.1403 44.617L50.7574 28zM5.24264 28L21.8596 44.617C22.4454 45.2028 22.4454 46.1525 21.8596 46.7383C21.2739 47.3241 20.3241 47.3241 19.7383 46.7383L0.999999 28L19.7383 9.26167C20.3241 8.67588 21.2739 8.67588 21.8596 9.26167C22.4454 9.84745 22.4454 10.7972 21.8596 11.383L5.24264 28Z|0 0 56 56", i = "M28 5.24264L11.383 21.8596C10.7972 22.4454 9.84746 22.4454 9.26167 21.8596C8.67588 21.2739 8.67588 20.3241 9.26167 19.7383L28 1L46.7383 19.7383C47.3241 20.3241 47.3241 21.2739 46.7383 21.8597C46.1525 22.4454 45.2028 22.4454 44.617 21.8597L28 5.24264zM28 50.7574L44.617 34.1404C45.2028 33.5546 46.1525 33.5546 46.7383 34.1404C47.3241 34.7261 47.3241 35.6759 46.7383 36.2617L28 55L9.26167 36.2617C8.67588 35.6759 8.67588 34.7261 9.26167 34.1404C9.84745 33.5546 10.7972 33.5546 11.383 34.1404L28 50.7574Z|0 0 56 56", l = (v) => n("blockAccess", v), u = d({
3394
3351
  get: () => e.show,
3395
3352
  set: (v) => n("update:show", v)
3396
- }), m = u({
3353
+ }), m = d({
3397
3354
  get: () => e.horizontal,
3398
3355
  set: (v) => n("update:horizontal", v)
3399
- }), g = u({
3356
+ }), g = d({
3400
3357
  get: () => e.modelValue,
3401
3358
  set: (v) => n("update:modelValue", v)
3402
- }), h = u({
3359
+ }), h = d({
3403
3360
  get: () => e.vertical,
3404
3361
  set: (v) => n("update:vertical", v)
3405
- }), k = u(() => {
3362
+ }), p = d(() => {
3406
3363
  var v;
3407
3364
  return (v = o.value.controls) == null ? void 0 : v.grid.horizontal;
3408
- }), f = u(() => {
3365
+ }), f = d(() => {
3409
3366
  var v, z;
3410
- return o.value.controls ? d.value ? (v = o.value.controls) == null ? void 0 : v.grid.off : (z = o.value.controls) == null ? void 0 : z.grid.on : "";
3411
- }), V = u(() => {
3367
+ return o.value.controls ? u.value ? (v = o.value.controls) == null ? void 0 : v.grid.off : (z = o.value.controls) == null ? void 0 : z.grid.on : "";
3368
+ }), V = d(() => {
3412
3369
  var v;
3413
3370
  return (v = o.value.controls) == null ? void 0 : v.grid.spacing;
3414
- }), p = u(() => {
3371
+ }), k = d(() => {
3415
3372
  var v;
3416
3373
  return (v = o.value.controls) == null ? void 0 : v.grid.vertical;
3417
3374
  });
@@ -3419,15 +3376,15 @@ const ko = M({
3419
3376
  const v = {
3420
3377
  access: "grd",
3421
3378
  drawer: !e.noIcons,
3422
- modelValue: d.value,
3423
- "onUpdate:modelValue": (z) => d.value = z,
3379
+ modelValue: u.value,
3380
+ "onUpdate:modelValue": (z) => u.value = z,
3424
3381
  label: f.value,
3425
3382
  dark: e.dark,
3426
3383
  disable: e.disable,
3427
3384
  hasAccess: e.hasAccess,
3428
3385
  onBlockAccess: l
3429
3386
  };
3430
- return r(Jt, v);
3387
+ return r(Zt, v);
3431
3388
  }
3432
3389
  function $() {
3433
3390
  const v = [], z = {
@@ -3441,7 +3398,7 @@ const ko = M({
3441
3398
  min: -50
3442
3399
  }, G = {
3443
3400
  ...z,
3444
- icon: It,
3401
+ icon: Tt,
3445
3402
  initial: 100,
3446
3403
  max: 150,
3447
3404
  min: 50,
@@ -3454,7 +3411,7 @@ const ko = M({
3454
3411
  ...z,
3455
3412
  ...T,
3456
3413
  icon: c,
3457
- title: k.value,
3414
+ title: p.value,
3458
3415
  modelValue: m.value,
3459
3416
  "onUpdate:modelValue": (K) => m.value = K
3460
3417
  };
@@ -3463,12 +3420,12 @@ const ko = M({
3463
3420
  ...z,
3464
3421
  ...T,
3465
3422
  icon: i,
3466
- title: p.value,
3423
+ title: k.value,
3467
3424
  modelValue: h.value,
3468
3425
  "onUpdate:modelValue": (K) => h.value = K
3469
3426
  };
3470
3427
  return v.push(r($e, ee)), s.value ? r(
3471
- st,
3428
+ lt,
3472
3429
  {},
3473
3430
  () => R(r("div", {}, v), [[O, e.show]])
3474
3431
  ) : R(r("div", {}, v), [[O, e.show]]);
@@ -3480,7 +3437,7 @@ const ko = M({
3480
3437
  }
3481
3438
  return () => E();
3482
3439
  }
3483
- }), wo = M({
3440
+ }), vo = M({
3484
3441
  name: "CMoveButton",
3485
3442
  props: {
3486
3443
  hasAccess: {
@@ -3496,7 +3453,7 @@ const ko = M({
3496
3453
  },
3497
3454
  emits: ["click", "blockAccess"],
3498
3455
  setup(e, { slots: a, emit: n }) {
3499
- const { lang: t } = X(), o = (l) => n("blockAccess", l), s = u(
3456
+ const { lang: t } = X(), o = (l) => n("blockAccess", l), s = d(
3500
3457
  () => {
3501
3458
  var l;
3502
3459
  return e.noIcons ? null : (l = t.value.controls) == null ? void 0 : l.move.title;
@@ -3514,11 +3471,11 @@ const ko = M({
3514
3471
  onClick: c,
3515
3472
  onBlockAccess: o
3516
3473
  };
3517
- return r(We, l, () => []);
3474
+ return r(je, l, () => []);
3518
3475
  }
3519
3476
  return () => i();
3520
3477
  }
3521
- }), Co = M({
3478
+ }), go = M({
3522
3479
  name: "CMoveTool",
3523
3480
  props: {
3524
3481
  dark: Boolean,
@@ -3538,12 +3495,12 @@ const ko = M({
3538
3495
  },
3539
3496
  emits: ["click", "onUpdate:modelValue"],
3540
3497
  setup(e, { slots: a, emit: n }) {
3541
- const { lang: t } = X(), o = u(
3498
+ const { lang: t } = X(), o = d(
3542
3499
  () => {
3543
3500
  var i;
3544
3501
  return e.noIcons ? null : (i = t.value.controls) == null ? void 0 : i.move.title;
3545
3502
  }
3546
- ), s = u({
3503
+ ), s = d({
3547
3504
  get: () => e.modelValue,
3548
3505
  set: (i) => n("update:modelValue", i)
3549
3506
  });
@@ -3557,11 +3514,11 @@ const ko = M({
3557
3514
  modelValue: s.value,
3558
3515
  dark: e.dark
3559
3516
  };
3560
- return r(Gt, i);
3517
+ return r(jt, i);
3561
3518
  }
3562
3519
  return () => c();
3563
3520
  }
3564
- }), Bo = M({
3521
+ }), bo = M({
3565
3522
  name: "CGridTool",
3566
3523
  props: {
3567
3524
  disable: Boolean,
@@ -3586,28 +3543,28 @@ const ko = M({
3586
3543
  "blockAccess"
3587
3544
  ],
3588
3545
  setup(e, { slots: a, emit: n }) {
3589
- const t = Ve(), { lang: o } = X(), s = y(t.platform.is.desktop), c = "M50.7574 28L34.1404 11.383C33.5546 10.7972 33.5546 9.84745 34.1404 9.26167C34.7261 8.67588 35.6759 8.67588 36.2617 9.26167L55 28L36.2617 46.7383C35.6759 47.3241 34.7261 47.3241 34.1403 46.7383C33.5546 46.1525 33.5546 45.2028 34.1403 44.617L50.7574 28zM5.24264 28L21.8596 44.617C22.4454 45.2028 22.4454 46.1525 21.8596 46.7383C21.2739 47.3241 20.3241 47.3241 19.7383 46.7383L0.999999 28L19.7383 9.26167C20.3241 8.67588 21.2739 8.67588 21.8596 9.26167C22.4454 9.84745 22.4454 10.7972 21.8596 11.383L5.24264 28Z|0 0 56 56", i = "M28 5.24264L11.383 21.8596C10.7972 22.4454 9.84746 22.4454 9.26167 21.8596C8.67588 21.2739 8.67588 20.3241 9.26167 19.7383L28 1L46.7383 19.7383C47.3241 20.3241 47.3241 21.2739 46.7383 21.8597C46.1525 22.4454 45.2028 22.4454 44.617 21.8597L28 5.24264zM28 50.7574L44.617 34.1404C45.2028 33.5546 46.1525 33.5546 46.7383 34.1404C47.3241 34.7261 47.3241 35.6759 46.7383 36.2617L28 55L9.26167 36.2617C8.67588 35.6759 8.67588 34.7261 9.26167 34.1404C9.84745 33.5546 10.7972 33.5546 11.383 34.1404L28 50.7574Z|0 0 56 56", l = (v) => n("blockAccess", v), d = u({
3546
+ const t = Ve(), { lang: o } = X(), s = y(t.platform.is.desktop), c = "M50.7574 28L34.1404 11.383C33.5546 10.7972 33.5546 9.84745 34.1404 9.26167C34.7261 8.67588 35.6759 8.67588 36.2617 9.26167L55 28L36.2617 46.7383C35.6759 47.3241 34.7261 47.3241 34.1403 46.7383C33.5546 46.1525 33.5546 45.2028 34.1403 44.617L50.7574 28zM5.24264 28L21.8596 44.617C22.4454 45.2028 22.4454 46.1525 21.8596 46.7383C21.2739 47.3241 20.3241 47.3241 19.7383 46.7383L0.999999 28L19.7383 9.26167C20.3241 8.67588 21.2739 8.67588 21.8596 9.26167C22.4454 9.84745 22.4454 10.7972 21.8596 11.383L5.24264 28Z|0 0 56 56", i = "M28 5.24264L11.383 21.8596C10.7972 22.4454 9.84746 22.4454 9.26167 21.8596C8.67588 21.2739 8.67588 20.3241 9.26167 19.7383L28 1L46.7383 19.7383C47.3241 20.3241 47.3241 21.2739 46.7383 21.8597C46.1525 22.4454 45.2028 22.4454 44.617 21.8597L28 5.24264zM28 50.7574L44.617 34.1404C45.2028 33.5546 46.1525 33.5546 46.7383 34.1404C47.3241 34.7261 47.3241 35.6759 46.7383 36.2617L28 55L9.26167 36.2617C8.67588 35.6759 8.67588 34.7261 9.26167 34.1404C9.84745 33.5546 10.7972 33.5546 11.383 34.1404L28 50.7574Z|0 0 56 56", l = (v) => n("blockAccess", v), u = d({
3590
3547
  get: () => e.visible,
3591
3548
  set: (v) => n("update:visible", v)
3592
- }), m = u({
3549
+ }), m = d({
3593
3550
  get: () => e.horizontal,
3594
3551
  set: (v) => n("update:horizontal", v)
3595
- }), g = u({
3552
+ }), g = d({
3596
3553
  get: () => e.lines,
3597
3554
  set: (v) => n("update:lines", v)
3598
- }), h = u({
3555
+ }), h = d({
3599
3556
  get: () => e.vertical,
3600
3557
  set: (v) => n("update:vertical", v)
3601
- }), k = u(() => {
3558
+ }), p = d(() => {
3602
3559
  var v;
3603
3560
  return (v = o.value.controls) == null ? void 0 : v.grid.horizontal;
3604
- }), f = u(() => {
3561
+ }), f = d(() => {
3605
3562
  var v, z;
3606
- return o.value.controls ? d.value ? (v = o.value.controls) == null ? void 0 : v.grid.off : (z = o.value.controls) == null ? void 0 : z.grid.on : "";
3607
- }), V = u(() => {
3563
+ return o.value.controls ? u.value ? (v = o.value.controls) == null ? void 0 : v.grid.off : (z = o.value.controls) == null ? void 0 : z.grid.on : "";
3564
+ }), V = d(() => {
3608
3565
  var v;
3609
3566
  return (v = o.value.controls) == null ? void 0 : v.grid.spacing;
3610
- }), p = u(() => {
3567
+ }), k = d(() => {
3611
3568
  var v;
3612
3569
  return (v = o.value.controls) == null ? void 0 : v.grid.vertical;
3613
3570
  });
@@ -3615,15 +3572,15 @@ const ko = M({
3615
3572
  const v = {
3616
3573
  access: "grd",
3617
3574
  drawer: !e.noIcons,
3618
- modelValue: d.value,
3619
- "onUpdate:modelValue": (z) => d.value = z,
3575
+ modelValue: u.value,
3576
+ "onUpdate:modelValue": (z) => u.value = z,
3620
3577
  label: f.value,
3621
3578
  dark: e.dark,
3622
3579
  disable: e.disable,
3623
3580
  hasAccess: e.hasAccess,
3624
3581
  onBlockAccess: l
3625
3582
  };
3626
- return r(Jt, v);
3583
+ return r(Zt, v);
3627
3584
  }
3628
3585
  function $() {
3629
3586
  const v = [], z = {
@@ -3637,7 +3594,7 @@ const ko = M({
3637
3594
  min: -50
3638
3595
  }, G = {
3639
3596
  ...z,
3640
- icon: It,
3597
+ icon: Tt,
3641
3598
  initial: 20,
3642
3599
  max: 50,
3643
3600
  min: 1,
@@ -3650,7 +3607,7 @@ const ko = M({
3650
3607
  ...z,
3651
3608
  ...T,
3652
3609
  icon: c,
3653
- title: k.value,
3610
+ title: p.value,
3654
3611
  modelValue: m.value,
3655
3612
  "onUpdate:modelValue": (K) => m.value = K
3656
3613
  };
@@ -3659,12 +3616,12 @@ const ko = M({
3659
3616
  ...z,
3660
3617
  ...T,
3661
3618
  icon: i,
3662
- title: p.value,
3619
+ title: k.value,
3663
3620
  modelValue: h.value,
3664
3621
  "onUpdate:modelValue": (K) => h.value = K
3665
3622
  };
3666
3623
  return v.push(r($e, ee)), s.value ? r(
3667
- st,
3624
+ lt,
3668
3625
  {},
3669
3626
  () => R(r("div", {}, v), [[O, e.visible]])
3670
3627
  ) : R(r("div", {}, v), [[O, e.visible]]);
@@ -3676,7 +3633,7 @@ const ko = M({
3676
3633
  }
3677
3634
  return () => E();
3678
3635
  }
3679
- }), Vo = {
3636
+ }), ho = {
3680
3637
  __name: "CSaturateButton",
3681
3638
  props: {
3682
3639
  hasAccess: {
@@ -3687,14 +3644,14 @@ const ko = M({
3687
3644
  },
3688
3645
  emits: ["click", "blockAccess"],
3689
3646
  setup(e, { emit: a }) {
3690
- const { lang: n } = X(), t = e, o = a, s = (l) => o("blockAccess", l), c = u(
3647
+ const { lang: n } = X(), t = e, o = a, s = (l) => o("blockAccess", l), c = d(
3691
3648
  () => {
3692
3649
  var l;
3693
3650
  return t.noIcons ? null : (l = n.value.controls) == null ? void 0 : l.saturate.title;
3694
3651
  }
3695
3652
  ), i = () => o("click");
3696
- return (l, d) => (_(), L(Te, {
3697
- icon: Z(ut),
3653
+ return (l, u) => (_(), L(Te, {
3654
+ icon: Z(rt),
3698
3655
  class: "c-saturate-button",
3699
3656
  label: c.value,
3700
3657
  selected: e.selected,
@@ -3703,7 +3660,7 @@ const ko = M({
3703
3660
  onBlockAccess: s
3704
3661
  }, null, 8, ["icon", "label", "selected", "has-access"]));
3705
3662
  }
3706
- }, xo = {
3663
+ }, yo = {
3707
3664
  __name: "CSaturateTool",
3708
3665
  props: {
3709
3666
  hasAccess: {
@@ -3718,38 +3675,38 @@ const ko = M({
3718
3675
  },
3719
3676
  emits: ["update:modelValue", "blockAccess"],
3720
3677
  setup(e, { emit: a }) {
3721
- const { lang: n } = X(), t = e, o = a, s = (l) => o("blockAccess", l), c = u({
3678
+ const { lang: n } = X(), t = e, o = a, s = (l) => o("blockAccess", l), c = d({
3722
3679
  get() {
3723
3680
  return t.modelValue;
3724
3681
  },
3725
3682
  set(l) {
3726
3683
  o("update:modelValue", l);
3727
3684
  }
3728
- }), i = u(
3685
+ }), i = d(
3729
3686
  () => {
3730
3687
  var l;
3731
3688
  return t.noIcons ? null : (l = n.value.controls) == null ? void 0 : l.saturate.title;
3732
3689
  }
3733
3690
  );
3734
- return (l, d) => (_(), L(xe, {
3691
+ return (l, u) => (_(), L(xe, {
3735
3692
  access: "sct",
3736
3693
  class: "saturate-item",
3737
3694
  color: "primary",
3738
- icon: Z(ut),
3695
+ icon: Z(rt),
3739
3696
  initial: 100,
3740
3697
  max: 150,
3741
3698
  min: 50,
3742
3699
  "no-icons": e.noIcons,
3743
3700
  title: i.value,
3744
3701
  modelValue: c.value,
3745
- "onUpdate:modelValue": d[0] || (d[0] = (m) => c.value = m),
3702
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => c.value = m),
3746
3703
  dark: e.dark,
3747
3704
  disable: e.disable,
3748
3705
  "has-access": e.hasAccess,
3749
3706
  onBlockAccess: s
3750
3707
  }, null, 8, ["icon", "no-icons", "title", "modelValue", "dark", "disable", "has-access"]));
3751
3708
  }
3752
- }, Do = {
3709
+ }, ko = {
3753
3710
  __name: "CSpinButton",
3754
3711
  props: {
3755
3712
  hasAccess: {
@@ -3764,14 +3721,14 @@ const ko = M({
3764
3721
  },
3765
3722
  emits: ["click", "blockAccess"],
3766
3723
  setup(e, { emit: a }) {
3767
- const { lang: n } = X(), t = e, o = a, s = (l) => o("blockAccess", l), c = u(
3724
+ const { lang: n } = X(), t = e, o = a, s = (l) => o("blockAccess", l), c = d(
3768
3725
  () => {
3769
3726
  var l;
3770
3727
  return t.noIcons ? null : (l = n.value.controls) == null ? void 0 : l.spin.title;
3771
3728
  }
3772
3729
  ), i = () => o("click");
3773
- return (l, d) => (_(), L(Te, {
3774
- icon: Z(rt),
3730
+ return (l, u) => (_(), L(Te, {
3731
+ icon: Z(it),
3775
3732
  class: "c-spin-button",
3776
3733
  label: c.value,
3777
3734
  selected: e.selected,
@@ -3781,7 +3738,7 @@ const ko = M({
3781
3738
  onBlockAccess: s
3782
3739
  }, null, 8, ["icon", "label", "selected", "show", "has-access"]));
3783
3740
  }
3784
- }, So = M({
3741
+ }, po = M({
3785
3742
  name: "CSpinTool",
3786
3743
  props: {
3787
3744
  dark: Boolean,
@@ -3809,14 +3766,14 @@ const ko = M({
3809
3766
  },
3810
3767
  emits: ["blockAccess", "onUpdate:modelValue"],
3811
3768
  setup(e, { slots: a, emit: n }) {
3812
- const { lang: t } = X(), o = (l) => n("blockAccess", l), s = u({
3769
+ const { lang: t } = X(), o = (l) => n("blockAccess", l), s = d({
3813
3770
  get() {
3814
3771
  return e.modelValue;
3815
3772
  },
3816
3773
  set(l) {
3817
3774
  n("update:modelValue", l);
3818
3775
  }
3819
- }), c = u(
3776
+ }), c = d(
3820
3777
  () => {
3821
3778
  var l;
3822
3779
  return e.noIcons ? null : (l = t.value.controls) == null ? void 0 : l.spin.title;
@@ -3825,14 +3782,14 @@ const ko = M({
3825
3782
  function i() {
3826
3783
  const l = {
3827
3784
  class: "c-spin-tool",
3828
- icon: rt,
3785
+ icon: it,
3829
3786
  initial: e.initial,
3830
3787
  max: e.max,
3831
3788
  min: e.min,
3832
3789
  noIcons: e.noIcons,
3833
3790
  title: c.value,
3834
3791
  modelValue: s.value,
3835
- "onUpdate:modelValue": (d) => s.value = d,
3792
+ "onUpdate:modelValue": (u) => s.value = u,
3836
3793
  dark: e.dark,
3837
3794
  disable: e.disable,
3838
3795
  hasAccess: e.hasAccess,
@@ -3842,7 +3799,7 @@ const ko = M({
3842
3799
  }
3843
3800
  return () => i();
3844
3801
  }
3845
- }), Ao = {
3802
+ }), wo = {
3846
3803
  __name: "CZoomButton",
3847
3804
  props: {
3848
3805
  hasAccess: {
@@ -3853,13 +3810,13 @@ const ko = M({
3853
3810
  },
3854
3811
  emits: ["click", "blockAccess"],
3855
3812
  setup(e, { emit: a }) {
3856
- const { lang: n } = X(), t = e, o = a, s = (d) => o("blockAccess", d), c = u(
3813
+ const { lang: n } = X(), t = e, o = a, s = (u) => o("blockAccess", u), c = d(
3857
3814
  () => {
3858
- var d;
3859
- return t.noIcons ? null : (d = n.value.controls) == null ? void 0 : d.zoom.title;
3815
+ var u;
3816
+ return t.noIcons ? null : (u = n.value.controls) == null ? void 0 : u.zoom.title;
3860
3817
  }
3861
- ), i = () => o("click"), l = u(() => t.selected ? Sn : it);
3862
- return (d, m) => (_(), L(Te, {
3818
+ ), i = () => o("click"), l = d(() => t.selected ? Vn : ct);
3819
+ return (u, m) => (_(), L(Te, {
3863
3820
  icon: l.value,
3864
3821
  class: "c-zoom-button",
3865
3822
  label: c.value,
@@ -3869,7 +3826,7 @@ const ko = M({
3869
3826
  onBlockAccess: s
3870
3827
  }, null, 8, ["icon", "label", "selected", "has-access"]));
3871
3828
  }
3872
- }, _o = M({
3829
+ }, Co = M({
3873
3830
  name: "CZoomTool",
3874
3831
  props: {
3875
3832
  dark: Boolean,
@@ -3897,14 +3854,14 @@ const ko = M({
3897
3854
  },
3898
3855
  emits: ["blockAccess", "onUpdate:modelValue"],
3899
3856
  setup(e, { slots: a, emit: n }) {
3900
- const { lang: t } = X(), o = (l) => n("blockAccess", l), s = u({
3857
+ const { lang: t } = X(), o = (l) => n("blockAccess", l), s = d({
3901
3858
  get() {
3902
3859
  return e.modelValue;
3903
3860
  },
3904
3861
  set(l) {
3905
3862
  n("update:modelValue", l);
3906
3863
  }
3907
- }), c = u(
3864
+ }), c = d(
3908
3865
  () => {
3909
3866
  var l;
3910
3867
  return e.noIcons ? null : (l = t.value.controls) == null ? void 0 : l.zoom.title;
@@ -3914,14 +3871,14 @@ const ko = M({
3914
3871
  const l = {
3915
3872
  access: "zom",
3916
3873
  class: "c-zoom-tool non-draggable",
3917
- icon: it,
3874
+ icon: ct,
3918
3875
  initial: e.initial,
3919
3876
  max: e.max,
3920
3877
  min: e.min,
3921
3878
  noIcons: e.noIcons,
3922
3879
  title: c.value,
3923
3880
  modelValue: s.value,
3924
- "onUpdate:modelValue": (d) => s.value = d,
3881
+ "onUpdate:modelValue": (u) => s.value = u,
3925
3882
  dark: e.dark,
3926
3883
  disable: e.disable,
3927
3884
  hasAccess: e.hasAccess,
@@ -3931,7 +3888,7 @@ const ko = M({
3931
3888
  }
3932
3889
  return () => i();
3933
3890
  }
3934
- }), nt = {
3891
+ }), tt = {
3935
3892
  __name: "CDrawer",
3936
3893
  props: {
3937
3894
  modelValue: Boolean,
@@ -3944,10 +3901,10 @@ const ko = M({
3944
3901
  },
3945
3902
  emits: ["update:modelValue"],
3946
3903
  setup(e, { emit: a }) {
3947
- const n = e, t = a, o = u({
3904
+ const n = e, t = a, o = d({
3948
3905
  get: () => n.modelValue,
3949
3906
  set: (c) => t("update:modelValue", c)
3950
- }), s = u(() => ({
3907
+ }), s = d(() => ({
3951
3908
  "overlay-transparent": n.overlayTransparent,
3952
3909
  dark: n.dark,
3953
3910
  "text-white": n.dark
@@ -3963,7 +3920,7 @@ const ko = M({
3963
3920
  "show-if-above": !1,
3964
3921
  side: e.side,
3965
3922
  modelValue: o.value,
3966
- "onUpdate:modelValue": i[0] || (i[0] = (d) => o.value = d)
3923
+ "onUpdate:modelValue": i[0] || (i[0] = (u) => o.value = u)
3967
3924
  }, {
3968
3925
  default: S(() => [
3969
3926
  I(c.$slots, "default")
@@ -3972,7 +3929,7 @@ const ko = M({
3972
3929
  }, 8, ["class", "dark", "no-swipe-backdrop", "side", "modelValue"]);
3973
3930
  };
3974
3931
  }
3975
- }, en = {
3932
+ }, Xt = {
3976
3933
  __name: "CFab",
3977
3934
  props: {
3978
3935
  show: Boolean,
@@ -3988,19 +3945,19 @@ const ko = M({
3988
3945
  },
3989
3946
  emits: ["click"],
3990
3947
  setup(e, { emit: a }) {
3991
- const n = e, t = a, o = u(() => n.icon ? n.icon : zt), s = u(() => ({
3948
+ const n = e, t = a, o = d(() => n.icon ? n.icon : qt), s = d(() => ({
3992
3949
  color: n.color,
3993
3950
  backgroundColor: n.backgroundColor
3994
3951
  })), c = () => t("click");
3995
3952
  return (i, l) => {
3996
- const d = A("q-btn"), m = A("q-page-sticky");
3953
+ const u = A("q-btn"), m = A("q-page-sticky");
3997
3954
  return R((_(), L(m, {
3998
3955
  position: "bottom-right",
3999
3956
  offset: [18, 18],
4000
3957
  style: { "z-index": "12", transform: "translate(0, 0)" }
4001
3958
  }, {
4002
3959
  default: S(() => [
4003
- D(d, {
3960
+ D(u, {
4004
3961
  class: "c-fab",
4005
3962
  onClick: c,
4006
3963
  fab: "",
@@ -4016,11 +3973,11 @@ const ko = M({
4016
3973
  ]);
4017
3974
  };
4018
3975
  }
4019
- }, $o = {
3976
+ }, Bo = {
4020
3977
  __name: "CMenuButton",
4021
3978
  emits: ["click"],
4022
3979
  setup(e, { emit: a }) {
4023
- const { lang: n } = X(), t = a, o = u(() => {
3980
+ const { lang: n } = X(), t = a, o = d(() => {
4024
3981
  var c;
4025
3982
  return (c = n.value.controls) == null ? void 0 : c.menu.title;
4026
3983
  }), s = () => t("click");
@@ -4031,29 +3988,29 @@ const ko = M({
4031
3988
  onClick: s,
4032
3989
  dense: "",
4033
3990
  flat: "",
4034
- icon: Z(ct),
3991
+ icon: Z(st),
4035
3992
  label: o.value,
4036
3993
  rounded: ""
4037
3994
  }, null, 8, ["icon", "label"]);
4038
3995
  };
4039
3996
  }
4040
- }, qo = {
3997
+ }, Vo = {
4041
3998
  class: "c-right-drawer-container-default",
4042
3999
  ref: "drawers"
4043
- }, To = {
4000
+ }, xo = {
4044
4001
  __name: "CRightDrawer",
4045
4002
  props: {
4046
4003
  modelValue: Boolean
4047
4004
  },
4048
4005
  emits: ["update:modelValue"],
4049
4006
  setup(e, { emit: a }) {
4050
- const n = e, t = a, o = y(null), s = y(null), c = u({
4007
+ const n = e, t = a, o = y(null), s = y(null), c = d({
4051
4008
  get: () => n.modelValue,
4052
4009
  set: (i) => t("update:modelValue", i)
4053
4010
  });
4054
4011
  return (i, l) => {
4055
- const d = A("q-dialog");
4056
- return _(), L(d, {
4012
+ const u = A("q-dialog");
4013
+ return _(), L(u, {
4057
4014
  class: "c-right-drawer",
4058
4015
  "full-height": "",
4059
4016
  position: "right",
@@ -4073,7 +4030,7 @@ const ko = M({
4073
4030
  }, [
4074
4031
  D(ie, { name: "fade" }, {
4075
4032
  default: S(() => [
4076
- x("div", qo, [
4033
+ x("div", Vo, [
4077
4034
  I(i.$slots, "default")
4078
4035
  ], 512)
4079
4036
  ]),
@@ -4085,7 +4042,7 @@ const ko = M({
4085
4042
  }, 8, ["modelValue"]);
4086
4043
  };
4087
4044
  }
4088
- }, zo = { class: "profile-icon" }, Io = { key: "404" }, Lo = { key: "content" }, Mo = {
4045
+ }, Do = { class: "profile-icon" }, So = { key: "404" }, Ao = { key: "content" }, _o = {
4089
4046
  __name: "CInteractiveLayout",
4090
4047
  props: {
4091
4048
  active: {
@@ -4115,19 +4072,19 @@ const ko = M({
4115
4072
  },
4116
4073
  emits: ["update:active", "update:leftDrawer", "right"],
4117
4074
  setup(e, { emit: a }) {
4118
- const n = e, t = a, o = dn(), s = y(!1), c = ft, i = () => {
4119
- k.value = !1;
4120
- const f = s.value ? _t : $t;
4075
+ const n = e, t = a, o = cn(), s = y(!1), c = mt, i = () => {
4076
+ p.value = !1;
4077
+ const f = s.value ? St : At;
4121
4078
  t("update:active", f);
4122
4079
  }, l = () => {
4123
- t("update:active", me), k.value = !0;
4124
- }, d = (f) => {
4080
+ t("update:active", me), p.value = !0;
4081
+ }, u = (f) => {
4125
4082
  if (f && f.width >= 800) {
4126
4083
  s.value = !0;
4127
4084
  return;
4128
4085
  }
4129
4086
  s.value = !1;
4130
- }, m = u(() => !(o && o.bottom)), g = u(() => m.value ? !1 : !s.value && n.active !== me), h = u(() => k.value ? !1 : m.value ? n.active !== me : s.value && n.active !== me), k = u({
4087
+ }, m = d(() => !(o && o.bottom)), g = d(() => m.value ? !1 : !s.value && n.active !== me), h = d(() => p.value ? !1 : m.value ? n.active !== me : s.value && n.active !== me), p = d({
4131
4088
  get() {
4132
4089
  return n.leftDrawer;
4133
4090
  },
@@ -4136,12 +4093,12 @@ const ko = M({
4136
4093
  }
4137
4094
  });
4138
4095
  return ce(
4139
- () => k.value,
4096
+ () => p.value,
4140
4097
  (f) => {
4141
4098
  t("update:active", me), t("update:leftDrawer", f);
4142
4099
  }
4143
4100
  ), (f, V) => {
4144
- const p = A("q-resize-observer"), C = A("q-page-container"), $ = A("q-icon"), E = A("q-layout");
4101
+ const k = A("q-resize-observer"), C = A("q-page-container"), $ = A("q-icon"), E = A("q-layout");
4145
4102
  return _(), L(E, {
4146
4103
  class: "c-interactive-layout",
4147
4104
  view: "lhr lpr lfr"
@@ -4154,7 +4111,7 @@ const ko = M({
4154
4111
  default: S(() => [
4155
4112
  R(x("div", {
4156
4113
  class: "c-interactive-layout-overlay",
4157
- onClick: V[0] || (V[0] = (v) => k.value = !1)
4114
+ onClick: V[0] || (V[0] = (v) => p.value = !1)
4158
4115
  }, [
4159
4116
  I(f.$slots, "toolRestricted"),
4160
4117
  I(f.$slots, "restricted"),
@@ -4166,20 +4123,20 @@ const ko = M({
4166
4123
  _: 3
4167
4124
  }),
4168
4125
  x("div", null, [
4169
- D(p, { onResize: d }),
4170
- D($o, {
4126
+ D(k, { onResize: u }),
4127
+ D(Bo, {
4171
4128
  onClick: l,
4172
4129
  class: "c-menu-button"
4173
4130
  }),
4174
- x("div", zo, [
4131
+ x("div", Do, [
4175
4132
  I(f.$slots, "profile")
4176
4133
  ]),
4177
- D(nt, {
4134
+ D(tt, {
4178
4135
  side: "left",
4179
4136
  behavior: "mobile",
4180
4137
  class: "c-layout-left-drawer",
4181
- modelValue: k.value,
4182
- "onUpdate:modelValue": V[1] || (V[1] = (v) => k.value = v),
4138
+ modelValue: p.value,
4139
+ "onUpdate:modelValue": V[1] || (V[1] = (v) => p.value = v),
4183
4140
  dark: ""
4184
4141
  }, {
4185
4142
  default: S(() => [
@@ -4188,7 +4145,7 @@ const ko = M({
4188
4145
  _: 3
4189
4146
  }, 8, ["modelValue"]),
4190
4147
  I(f.$slots, "profile"),
4191
- D(To, {
4148
+ D(xo, {
4192
4149
  "overlay-transparent": e.overlayTransparent,
4193
4150
  modelValue: h.value,
4194
4151
  "onUpdate:modelValue": V[2] || (V[2] = (v) => h.value = v),
@@ -4199,7 +4156,7 @@ const ko = M({
4199
4156
  ]),
4200
4157
  _: 3
4201
4158
  }, 8, ["overlay-transparent", "modelValue"]),
4202
- D(Ot, {
4159
+ D(Nt, {
4203
4160
  desktop: s.value,
4204
4161
  modelValue: g.value,
4205
4162
  "onUpdate:modelValue": V[3] || (V[3] = (v) => g.value = v)
@@ -4211,14 +4168,14 @@ const ko = M({
4211
4168
  }, 8, ["desktop", "modelValue"]),
4212
4169
  D(C, null, {
4213
4170
  default: S(() => [
4214
- D(ot, { name: "fade" }, {
4171
+ D(at, { name: "fade" }, {
4215
4172
  default: S(() => [
4216
- R(x("div", Io, [
4173
+ R(x("div", So, [
4217
4174
  I(f.$slots, "not-found")
4218
4175
  ], 512), [
4219
4176
  [O, e.notFound]
4220
4177
  ]),
4221
- R(x("div", Lo, [
4178
+ R(x("div", Ao, [
4222
4179
  I(f.$slots, "page")
4223
4180
  ], 512), [
4224
4181
  [O, !e.notFound]
@@ -4233,7 +4190,7 @@ const ko = M({
4233
4190
  class: "logo-button",
4234
4191
  name: Z(c)
4235
4192
  }, null, 8, ["name"]),
4236
- R(D(en, { onClick: i }, null, 512), [
4193
+ R(D(Xt, { onClick: i }, null, 512), [
4237
4194
  [O, !e.active || !e.notFound || !e.hideFab]
4238
4195
  ])
4239
4196
  ])
@@ -4242,7 +4199,7 @@ const ko = M({
4242
4199
  });
4243
4200
  };
4244
4201
  }
4245
- }, No = { class: "c-layout-overlay" }, Po = { class: "profile-icon" }, Ro = { class: "c-right-drawer" }, Oo = { key: "404" }, Eo = { key: "content" }, Ho = {
4202
+ }, $o = { class: "c-layout-overlay" }, qo = { class: "profile-icon" }, To = { class: "c-right-drawer" }, zo = { key: "404" }, Io = { key: "content" }, Lo = {
4246
4203
  __name: "CLayout",
4247
4204
  props: {
4248
4205
  active: String,
@@ -4269,10 +4226,10 @@ const ko = M({
4269
4226
  },
4270
4227
  emits: ["rightDrawerClicked"],
4271
4228
  setup(e, { emit: a }) {
4272
- const n = e, t = a, o = y(!1), s = y(!1), c = y(!1), i = () => c.value = !c.value, l = u({
4229
+ const n = e, t = a, o = y(!1), s = y(!1), c = y(!1), i = () => c.value = !c.value, l = d({
4273
4230
  get: () => n.rightDrawer,
4274
4231
  set: (m) => t("rightDrawerClicked", m)
4275
- }), d = (m) => {
4232
+ }), u = (m) => {
4276
4233
  if (m && m.width >= 800) {
4277
4234
  o.value = !0;
4278
4235
  return;
@@ -4280,7 +4237,7 @@ const ko = M({
4280
4237
  o.value = !1;
4281
4238
  };
4282
4239
  return J(() => s.value = !0), (m, g) => {
4283
- const h = A("q-resize-observer"), k = A("q-btn"), f = A("q-space"), V = A("q-toolbar"), p = A("q-header"), C = A("q-page-container"), $ = A("q-icon"), E = A("q-layout");
4240
+ const h = A("q-resize-observer"), p = A("q-btn"), f = A("q-space"), V = A("q-toolbar"), k = A("q-header"), C = A("q-page-container"), $ = A("q-icon"), E = A("q-layout");
4284
4241
  return _(), L(E, {
4285
4242
  class: "c-layout",
4286
4243
  view: "lhr lpR lfr"
@@ -4288,7 +4245,7 @@ const ko = M({
4288
4245
  default: S(() => [
4289
4246
  D(ie, { name: "fade" }, {
4290
4247
  default: S(() => [
4291
- R(x("div", No, [
4248
+ R(x("div", $o, [
4292
4249
  I(m.$slots, "toolRestricted"),
4293
4250
  I(m.$slots, "restricted"),
4294
4251
  I(m.$slots, "overlay")
@@ -4298,20 +4255,20 @@ const ko = M({
4298
4255
  ]),
4299
4256
  _: 3
4300
4257
  }),
4301
- x("div", Po, [
4258
+ x("div", qo, [
4302
4259
  I(m.$slots, "profile")
4303
4260
  ]),
4304
- D(h, { onResize: d }),
4305
- D(p, null, {
4261
+ D(h, { onResize: u }),
4262
+ D(k, null, {
4306
4263
  default: S(() => [
4307
4264
  D(V, { style: { "margin-top": "auto", "margin-bottom": "auto" } }, {
4308
4265
  default: S(() => [
4309
- D(k, {
4266
+ D(p, {
4310
4267
  class: "q-pl-xs q-pr-sm",
4311
4268
  onClick: i,
4312
4269
  dense: "",
4313
4270
  flat: "",
4314
- icon: Z(ct),
4271
+ icon: Z(st),
4315
4272
  label: "Menu",
4316
4273
  rounded: "",
4317
4274
  color: e.dark ? "white" : "black",
@@ -4324,7 +4281,7 @@ const ko = M({
4324
4281
  ]),
4325
4282
  _: 1
4326
4283
  }),
4327
- D(nt, {
4284
+ D(tt, {
4328
4285
  side: "left",
4329
4286
  behavior: "mobile",
4330
4287
  class: "c-layout-left-drawer",
@@ -4337,8 +4294,8 @@ const ko = M({
4337
4294
  ]),
4338
4295
  _: 3
4339
4296
  }, 8, ["modelValue"]),
4340
- x("div", Ro, [
4341
- D(nt, {
4297
+ x("div", To, [
4298
+ D(tt, {
4342
4299
  "container-class": "c-right-drawer",
4343
4300
  behavior: "mobile",
4344
4301
  "overlay-transparent": e.overlayTransparent,
@@ -4355,14 +4312,14 @@ const ko = M({
4355
4312
  ]),
4356
4313
  D(C, null, {
4357
4314
  default: S(() => [
4358
- D(ot, { name: "fade" }, {
4315
+ D(at, { name: "fade" }, {
4359
4316
  default: S(() => [
4360
- R(x("div", Oo, [
4317
+ R(x("div", zo, [
4361
4318
  I(m.$slots, "not-found")
4362
4319
  ], 512), [
4363
4320
  [O, e.notFound]
4364
4321
  ]),
4365
- R(x("div", Eo, [
4322
+ R(x("div", Io, [
4366
4323
  I(m.$slots, "page")
4367
4324
  ], 512), [
4368
4325
  [O, !e.notFound]
@@ -4375,10 +4332,10 @@ const ko = M({
4375
4332
  }),
4376
4333
  D($, {
4377
4334
  class: "logo-button",
4378
- name: Z(ft),
4335
+ name: Z(mt),
4379
4336
  color: e.dark ? "white" : "black"
4380
4337
  }, null, 8, ["name", "color"]),
4381
- R(D(en, {
4338
+ R(D(Xt, {
4382
4339
  unelevated: "",
4383
4340
  onClick: m.rightDrawerClicked
4384
4341
  }, null, 8, ["onClick"]), [
@@ -4389,7 +4346,7 @@ const ko = M({
4389
4346
  });
4390
4347
  };
4391
4348
  }
4392
- }, Uo = M({
4349
+ }, Mo = M({
4393
4350
  name: "CResponsiveLayout",
4394
4351
  props: {
4395
4352
  active: {
@@ -4423,20 +4380,20 @@ const ko = M({
4423
4380
  emits: ["update:active", "update:leftDrawer"],
4424
4381
  setup(e, { slots: a, emit: n }) {
4425
4382
  const t = Ve(), o = y(t.platform.is.desktop);
4426
- u(() => a.bottom ? !o.value : !1);
4427
- const s = u(() => e.active !== me), c = u({
4383
+ d(() => a.bottom ? !o.value : !1);
4384
+ const s = d(() => e.active !== me), c = d({
4428
4385
  get: () => e.leftDrawer,
4429
4386
  set: (f) => n("update:leftDrawer", f)
4430
- }), i = u({
4387
+ }), i = d({
4431
4388
  get: () => e.active,
4432
4389
  set: (f) => {
4433
4390
  console.log("active", f), n("update:active", f);
4434
4391
  }
4435
4392
  });
4436
4393
  function l() {
4437
- c.value = !1, n("update:active", o.value ? _t : $t);
4394
+ c.value = !1, n("update:active", o.value ? St : At);
4438
4395
  }
4439
- function d() {
4396
+ function u() {
4440
4397
  c.value = !0;
4441
4398
  }
4442
4399
  function m() {
@@ -4446,7 +4403,7 @@ const ko = M({
4446
4403
  (f) => {
4447
4404
  n("update:active", me);
4448
4405
  }
4449
- ), Me(m), At(() => {
4406
+ ), Me(m), Dt(() => {
4450
4407
  }), J(() => {
4451
4408
  });
4452
4409
  function g() {
@@ -4457,7 +4414,7 @@ const ko = M({
4457
4414
  "leave-active-class": "animated fadeOut"
4458
4415
  },
4459
4416
  () => {
4460
- var f, V, p;
4417
+ var f, V, k;
4461
4418
  return R(
4462
4419
  r(
4463
4420
  "div",
@@ -4468,7 +4425,7 @@ const ko = M({
4468
4425
  [
4469
4426
  ...((f = a.toolRestricted) == null ? void 0 : f.call(a)) || [],
4470
4427
  ...((V = a.restricted) == null ? void 0 : V.call(a)) || [],
4471
- ...((p = a.overlay) == null ? void 0 : p.call(a)) || []
4428
+ ...((k = a.overlay) == null ? void 0 : k.call(a)) || []
4472
4429
  ]
4473
4430
  ),
4474
4431
  [[O, e.overlay]]
@@ -4477,22 +4434,22 @@ const ko = M({
4477
4434
  );
4478
4435
  }
4479
4436
  function h() {
4480
- var p;
4437
+ var k;
4481
4438
  const f = [];
4482
4439
  if (f.push(
4483
- r(Qt, { class: "c-menu-button", onClick: d })
4484
- ), f.push(r("div", { class: "profile-icon" }, ((p = a.profile) == null ? void 0 : p.call(a)) || [])), o.value) {
4440
+ r(Ft, { class: "c-menu-button", onClick: u })
4441
+ ), f.push(r("div", { class: "profile-icon" }, ((k = a.profile) == null ? void 0 : k.call(a)) || [])), o.value) {
4485
4442
  const C = {
4486
4443
  modelValue: s.value,
4487
4444
  dark: !0
4488
4445
  };
4489
4446
  f.push(
4490
- r(Yt, C, () => {
4447
+ r(Wt, C, () => {
4491
4448
  var $;
4492
4449
  return (($ = a.rightDrawer) == null ? void 0 : $.call(a)) || [];
4493
4450
  })
4494
4451
  ), f.push(
4495
- R(r(Wt, { onClick: l }), [
4452
+ R(r(Ht, { onClick: l }), [
4496
4453
  [O, !e.active || !e.notFound || !e.hideFab]
4497
4454
  ])
4498
4455
  );
@@ -4506,7 +4463,7 @@ const ko = M({
4506
4463
  };
4507
4464
  f.push(
4508
4465
  r(
4509
- Ft,
4466
+ Et,
4510
4467
  C,
4511
4468
  () => {
4512
4469
  var $;
@@ -4515,7 +4472,7 @@ const ko = M({
4515
4472
  )
4516
4473
  );
4517
4474
  }
4518
- f.push(r(qe, { class: "logo-button", name: ft }));
4475
+ f.push(r(qe, { class: "logo-button", name: mt }));
4519
4476
  const V = {
4520
4477
  side: "left",
4521
4478
  behavior: "mobile",
@@ -4524,12 +4481,12 @@ const ko = M({
4524
4481
  "onUpdate:modelValue": (C) => c.value = C,
4525
4482
  dark: !0
4526
4483
  };
4527
- return f.push(r(jt, V, () => {
4484
+ return f.push(r(Ut, V, () => {
4528
4485
  var C;
4529
4486
  return ((C = a.leftDrawer) == null ? void 0 : C.call(a)) || [];
4530
4487
  })), f.push(
4531
- r(Vn, {}, () => [
4532
- r(ot, { name: "fade" }, () => {
4488
+ r(wn, {}, () => [
4489
+ r(at, { name: "fade" }, () => {
4533
4490
  var C, $;
4534
4491
  return [
4535
4492
  R(
@@ -4544,10 +4501,10 @@ const ko = M({
4544
4501
  ])
4545
4502
  ), f;
4546
4503
  }
4547
- function k() {
4504
+ function p() {
4548
4505
  const f = [];
4549
4506
  return f.push(g()), f.push(h()), r(
4550
- Bn,
4507
+ pn,
4551
4508
  {
4552
4509
  class: "c-responsive-layout",
4553
4510
  role: "responsiveLayout",
@@ -4556,9 +4513,9 @@ const ko = M({
4556
4513
  () => f
4557
4514
  );
4558
4515
  }
4559
- return () => k();
4516
+ return () => p();
4560
4517
  }
4561
- }), Fo = { class: "c-tool-layout-left-header-icon" }, jo = { class: "c-tool-layout-center-header-icon" }, Wo = { class: "c-tool-layout-right-header-icon" }, Qo = {
4518
+ }), No = { class: "c-tool-layout-left-header-icon" }, Po = { class: "c-tool-layout-center-header-icon" }, Ro = { class: "c-tool-layout-right-header-icon" }, Oo = {
4562
4519
  __name: "CToolLayout",
4563
4520
  props: {
4564
4521
  leftDrawerModel: {
@@ -4574,7 +4531,7 @@ const ko = M({
4574
4531
  },
4575
4532
  emits: ["update:leftDrawerModel", "update:rightDrawerModel"],
4576
4533
  setup(e) {
4577
- $n();
4534
+ Sn();
4578
4535
  const a = Ue(e, "leftDrawerModel"), n = Ue(e, "rightDrawerModel");
4579
4536
  return J(() => console.log("CToolLayout Mounted")), (t, o) => {
4580
4537
  const s = A("q-drawer"), c = A("router-view"), i = A("q-page-container"), l = A("q-layout");
@@ -4584,18 +4541,18 @@ const ko = M({
4584
4541
  "data-id": n.value
4585
4542
  }, {
4586
4543
  default: S(() => [
4587
- x("div", Fo, [
4544
+ x("div", No, [
4588
4545
  I(t.$slots, "leftIcon")
4589
4546
  ]),
4590
- x("div", jo, [
4547
+ x("div", Po, [
4591
4548
  I(t.$slots, "centerIcon")
4592
4549
  ]),
4593
- x("div", Wo, [
4550
+ x("div", Ro, [
4594
4551
  I(t.$slots, "rightIcon")
4595
4552
  ]),
4596
4553
  D(s, {
4597
4554
  modelValue: a.value,
4598
- "onUpdate:modelValue": o[0] || (o[0] = (d) => a.value = d),
4555
+ "onUpdate:modelValue": o[0] || (o[0] = (u) => a.value = u),
4599
4556
  side: "left",
4600
4557
  overlay: "",
4601
4558
  bordered: "",
@@ -4610,7 +4567,7 @@ const ko = M({
4610
4567
  }, 8, ["modelValue"]),
4611
4568
  D(s, {
4612
4569
  modelValue: n.value,
4613
- "onUpdate:modelValue": o[1] || (o[1] = (d) => n.value = d),
4570
+ "onUpdate:modelValue": o[1] || (o[1] = (u) => n.value = u),
4614
4571
  side: "right",
4615
4572
  bordered: "",
4616
4573
  overlay: "",
@@ -4626,8 +4583,8 @@ const ko = M({
4626
4583
  D(i, null, {
4627
4584
  default: S(() => [
4628
4585
  D(c, null, {
4629
- default: S(({ Component: d, route: m }) => [
4630
- (_(), L(mn(d), {
4586
+ default: S(({ Component: u, route: m }) => [
4587
+ (_(), L(rn(u), {
4631
4588
  key: m.params.id
4632
4589
  }))
4633
4590
  ]),
@@ -4641,7 +4598,7 @@ const ko = M({
4641
4598
  }, 8, ["data-id"]);
4642
4599
  };
4643
4600
  }
4644
- }, Go = M({
4601
+ }, Eo = M({
4645
4602
  name: "CToolTopGlass",
4646
4603
  props: {
4647
4604
  height: { type: Number, default: 70 },
@@ -4654,7 +4611,7 @@ const ko = M({
4654
4611
  function t() {
4655
4612
  const o = e.drawerPadding ? e.height + 60 : e.height, c = {
4656
4613
  class: "c-top-glass glass-background column justify-end",
4657
- style: u(() => ({
4614
+ style: d(() => ({
4658
4615
  paddingTop: o + "px",
4659
4616
  height: 0,
4660
4617
  top: 0,
@@ -4669,9 +4626,9 @@ const ko = M({
4669
4626
  }
4670
4627
  return () => t();
4671
4628
  }
4672
- }), Yo = {
4629
+ }), Uo = {
4673
4630
  __name: "CToolPage",
4674
- props: /* @__PURE__ */ fn({
4631
+ props: /* @__PURE__ */ un({
4675
4632
  drawerPadding: {
4676
4633
  type: Boolean,
4677
4634
  default: !0
@@ -4688,10 +4645,10 @@ const ko = M({
4688
4645
  }),
4689
4646
  emits: ["update:modelValue", "update:miniState"],
4690
4647
  setup(e) {
4691
- const a = Ve(), n = e, t = Ue(e, "modelValue"), o = Ue(e, "miniState"), s = u(() => ({ paddingTop: (n.drawerPadding ? 130 : 60) + "px", transition: "padding-top 300ms ease-out" })), c = () => {
4648
+ const a = Ve(), n = e, t = Ue(e, "modelValue"), o = Ue(e, "miniState"), s = d(() => ({ paddingTop: (n.drawerPadding ? 130 : 60) + "px", transition: "padding-top 300ms ease-out" })), c = () => {
4692
4649
  o.value = !o.value;
4693
- }, i = u(() => o.value ? "f_enter" : "f_exit");
4694
- return J(() => console.log("CToolPage mounted")), (l, d) => {
4650
+ }, i = d(() => o.value ? "f_enter" : "f_exit");
4651
+ return J(() => console.log("CToolPage mounted")), (l, u) => {
4695
4652
  const m = A("q-btn"), g = A("q-drawer"), h = A("q-page");
4696
4653
  return _(), L(h, { class: "c-tool-page" }, {
4697
4654
  default: S(() => [
@@ -4699,21 +4656,21 @@ const ko = M({
4699
4656
  Z(a).platform.is.desktop ? (_(), L(g, {
4700
4657
  key: 0,
4701
4658
  modelValue: t.value,
4702
- "onUpdate:modelValue": d[0] || (d[0] = (k) => t.value = k),
4659
+ "onUpdate:modelValue": u[0] || (u[0] = (p) => t.value = p),
4703
4660
  "show-if-above": "",
4704
4661
  side: "right",
4705
4662
  bordered: "",
4706
4663
  persistent: "",
4707
4664
  mini: o.value,
4708
4665
  width: 360,
4709
- onClick: yt(c, ["stop"]),
4666
+ onClick: ht(c, ["stop"]),
4710
4667
  style: pe(s.value)
4711
4668
  }, {
4712
4669
  default: S(() => [
4713
4670
  R(x("div", null, [
4714
- R(D(Z(Go), { "drawer-padding": e.drawerPadding }, {
4671
+ R(D(Z(Eo), { "drawer-padding": e.drawerPadding }, {
4715
4672
  default: S(() => [
4716
- D(Z(Kt), { label: e.title }, null, 8, ["label"])
4673
+ D(Z(Yt), { label: e.title }, null, 8, ["label"])
4717
4674
  ]),
4718
4675
  _: 1
4719
4676
  }, 8, ["drawer-padding"]), [
@@ -4727,7 +4684,7 @@ const ko = M({
4727
4684
  class: "c-tool-page-drawer-button",
4728
4685
  round: "",
4729
4686
  unelevated: "",
4730
- onClick: yt(c, ["stop"]),
4687
+ onClick: ht(c, ["stop"]),
4731
4688
  icon: i.value
4732
4689
  }, null, 8, ["icon"])
4733
4690
  ]),
@@ -4739,69 +4696,69 @@ const ko = M({
4739
4696
  });
4740
4697
  };
4741
4698
  }
4742
- }, ll = {
4699
+ }, Ko = {
4743
4700
  install(e) {
4744
- e.component("CAnimatedNumber", Nt), e.component("CBaseButton", Pn), e.component("CBaseButtons", Rn), e.component("CBasicTool", mo), e.component("CBottomDrawer", Ot), e.component("CBottomDrawerContainer", Zn), e.component("CBottomDrawerHeader", Et), e.component("CBrightnessButton", fo), e.component("CBrightnessTool", vo), e.component("CButton", We), e.component("CButtonBar", Xn), e.component("CButtonRow", ea), e.component("CButtonToggle", ta), e.component("CCameraDirection", oa), e.component("CColorPicker", ca), e.component("CColorPickerButton", ia), e.component("CColorPickerPopup", Ht), e.component("CContrastButton", go), e.component("CContrastTool", bo), e.component("CDivider", ra), e.component("CDraggableDrawer", ga), e.component("CDraggableDrawers", Ft), e.component("CDrawer", jt), e.component("CDrawerHeader", Rt), e.component("CDurationButton", ya), e.component("CExpansion", ka), e.component("CExpansionItem", pa), e.component("CFab", Wt), e.component("CFloatingModal", wa), e.component("CGridButton", ho), e.component("CGridOverlay", ko), e.component("CGridTool", po), e.component("CHorizontalScroller", Ca), e.component("CIconButton", Va), e.component("CInteractiveLayout", Mo), e.component("CItemHeading", Da), e.component("CLayout", Ho), e.component("CMenuButton", Qt), e.component("CMoveButton", wo), e.component("CMoveTool", Co), e.component("CNavigator", Gt), e.component("CNewGridTool", Bo), e.component("COverlayLoader", Sa), e.component("CRectButton", qa), e.component("CResponsiveLayout", Uo), e.component("CRightDrawer", Yt), e.component("CRoundButton", Te), e.component("CSaturateButton", Vo), e.component("CSaturateTool", xo), e.component("CSlider", xe), e.component("CSpinButton", Do), e.component("CSpinTool", So), e.component("CToggle", uo), e.component("CToolHeader", Kt), e.component("CToolLayout", Qo), e.component("CToolPage", Yo), e.component("CZoomButton", Ao), e.component("CZoomTool", _o);
4701
+ e.component("CAnimatedNumber", Lt), e.component("CBaseButton", qn), e.component("CBaseButtons", Tn), e.component("CBasicTool", oo), e.component("CBottomDrawer", Nt), e.component("CBottomDrawerContainer", Hn), e.component("CBottomDrawerHeader", Pt), e.component("CBrightnessButton", lo), e.component("CBrightnessTool", so), e.component("CButton", je), e.component("CButtonBar", Fn), e.component("CButtonRow", Qn), e.component("CButtonToggle", Gn), e.component("CCameraDirection", Xn), e.component("CColorPicker", ea), e.component("CColorPickerButton", ta), e.component("CColorPickerPopup", Rt), e.component("CContrastButton", co), e.component("CContrastTool", io), e.component("CDivider", na), e.component("CDraggableDrawer", ia), e.component("CDraggableDrawers", Et), e.component("CDrawer", Ut), e.component("CDrawerHeader", Mt), e.component("CDurationButton", da), e.component("CExpansion", ma), e.component("CExpansionItem", fa), e.component("CFab", Ht), e.component("CFloatingModal", va), e.component("CGridButton", ro), e.component("CGridOverlay", mo), e.component("CGridTool", fo), e.component("CHorizontalScroller", ga), e.component("CIconButton", ha), e.component("CInteractiveLayout", _o), e.component("CItemHeading", ka), e.component("CLayout", Lo), e.component("CMenuButton", Ft), e.component("CMoveButton", vo), e.component("CMoveTool", go), e.component("CNavigator", jt), e.component("CNewGridTool", bo), e.component("COverlayLoader", pa), e.component("CRectButton", Va), e.component("CResponsiveLayout", Mo), e.component("CRightDrawer", Wt), e.component("CRoundButton", Te), e.component("CSaturateButton", ho), e.component("CSaturateTool", yo), e.component("CSlider", xe), e.component("CSpinButton", ko), e.component("CSpinTool", po), e.component("CToggle", ao), e.component("CToolHeader", Yt), e.component("CToolLayout", Oo), e.component("CToolPage", Uo), e.component("CZoomButton", wo), e.component("CZoomTool", Co);
4745
4702
  }
4746
4703
  };
4747
4704
  export {
4748
- Nt as CAnimatedNumber,
4749
- Pn as CBaseButton,
4750
- Rn as CBaseButtons,
4751
- mo as CBasicTool,
4752
- Ot as CBottomDrawer,
4753
- Zn as CBottomDrawerContainer,
4754
- Et as CBottomDrawerHeader,
4755
- fo as CBrightnessButton,
4756
- vo as CBrightnessTool,
4757
- We as CButton,
4758
- Xn as CButtonBar,
4759
- ea as CButtonRow,
4760
- ta as CButtonToggle,
4761
- oa as CCameraDirection,
4762
- ca as CColorPicker,
4763
- ia as CColorPickerButton,
4764
- Ht as CColorPickerPopup,
4765
- go as CContrastButton,
4766
- bo as CContrastTool,
4767
- ra as CDivider,
4768
- ga as CDraggableDrawer,
4769
- Ft as CDraggableDrawers,
4770
- jt as CDrawer,
4771
- Rt as CDrawerHeader,
4772
- ya as CDurationButton,
4773
- ka as CExpansion,
4774
- pa as CExpansionItem,
4775
- Wt as CFab,
4776
- wa as CFloatingModal,
4777
- ho as CGridButton,
4778
- ko as CGridOverlay,
4779
- po as CGridTool,
4780
- Ca as CHorizontalScroller,
4781
- Va as CIconButton,
4782
- Mo as CInteractiveLayout,
4783
- Da as CItemHeading,
4784
- Ho as CLayout,
4785
- Qt as CMenuButton,
4786
- wo as CMoveButton,
4787
- Co as CMoveTool,
4788
- Gt as CNavigator,
4789
- Bo as CNewGridTool,
4790
- Sa as COverlayLoader,
4791
- qa as CRectButton,
4792
- Uo as CResponsiveLayout,
4793
- Yt as CRightDrawer,
4705
+ Lt as CAnimatedNumber,
4706
+ qn as CBaseButton,
4707
+ Tn as CBaseButtons,
4708
+ oo as CBasicTool,
4709
+ Nt as CBottomDrawer,
4710
+ Hn as CBottomDrawerContainer,
4711
+ Pt as CBottomDrawerHeader,
4712
+ lo as CBrightnessButton,
4713
+ so as CBrightnessTool,
4714
+ je as CButton,
4715
+ Fn as CButtonBar,
4716
+ Qn as CButtonRow,
4717
+ Gn as CButtonToggle,
4718
+ Xn as CCameraDirection,
4719
+ ea as CColorPicker,
4720
+ ta as CColorPickerButton,
4721
+ Rt as CColorPickerPopup,
4722
+ co as CContrastButton,
4723
+ io as CContrastTool,
4724
+ na as CDivider,
4725
+ ia as CDraggableDrawer,
4726
+ Et as CDraggableDrawers,
4727
+ Ut as CDrawer,
4728
+ Mt as CDrawerHeader,
4729
+ da as CDurationButton,
4730
+ ma as CExpansion,
4731
+ fa as CExpansionItem,
4732
+ Ht as CFab,
4733
+ va as CFloatingModal,
4734
+ ro as CGridButton,
4735
+ mo as CGridOverlay,
4736
+ fo as CGridTool,
4737
+ ga as CHorizontalScroller,
4738
+ ha as CIconButton,
4739
+ _o as CInteractiveLayout,
4740
+ ka as CItemHeading,
4741
+ Lo as CLayout,
4742
+ Ft as CMenuButton,
4743
+ vo as CMoveButton,
4744
+ go as CMoveTool,
4745
+ jt as CNavigator,
4746
+ bo as CNewGridTool,
4747
+ pa as COverlayLoader,
4748
+ Va as CRectButton,
4749
+ Mo as CResponsiveLayout,
4750
+ Wt as CRightDrawer,
4794
4751
  Te as CRoundButton,
4795
- Vo as CSaturateButton,
4796
- xo as CSaturateTool,
4752
+ ho as CSaturateButton,
4753
+ yo as CSaturateTool,
4797
4754
  xe as CSlider,
4798
- Do as CSpinButton,
4799
- So as CSpinTool,
4800
- uo as CToggle,
4801
- Kt as CToolHeader,
4802
- Qo as CToolLayout,
4803
- Yo as CToolPage,
4804
- Ao as CZoomButton,
4805
- _o as CZoomTool,
4806
- ll as default
4755
+ ko as CSpinButton,
4756
+ po as CSpinTool,
4757
+ ao as CToggle,
4758
+ Yt as CToolHeader,
4759
+ Oo as CToolLayout,
4760
+ Uo as CToolPage,
4761
+ wo as CZoomButton,
4762
+ Co as CZoomTool,
4763
+ Ko as default
4807
4764
  };