vuesp-components 2.3.0 → 2.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,12 +1,12 @@
1
- import { defineComponent as M, resolveComponent as Ae, openBlock as f, createElementBlock as v, Fragment as L, createCommentVNode as z, createElementVNode as o, normalizeClass as B, createVNode as g, withCtx as x, createBlock as D, renderSlot as k, markRaw as O, computed as T, withModifiers as F, toDisplayString as _, unref as q, TransitionGroup as De, renderList as N, mergeProps as j, ref as E, watch as oe, resolveDynamicComponent as re, Transition as ke, normalizeStyle as ve, createTextVNode as H, normalizeProps as K, guardReactiveProps as R, onMounted as Q, onUnmounted as we, reactive as nt, useTemplateRef as Ie, withDirectives as he, vShow as st, vModelText as He, createSlots as lt, isRef as ot, useModel as at, vModelDynamic as it, mergeModels as rt, Teleport as dt, nextTick as je } from "vue";
2
- import { a as ct, V as Pe, j as A, h as Ne, g as Ce, k as ue, l as ut, d as mt, i as ft, e as le, _ as Oe, f as J } from "../VDialog.vue_vue_type_script_setup_true_lang-CNTOjVfB.js";
3
- import { b as Ga, m as Ja } from "../VDialog.vue_vue_type_script_setup_true_lang-CNTOjVfB.js";
4
- import { f as pt, t as vt, g as ht, u as fe, s as gt, d as bt, m as xt, c as yt } from "../app-B45sALrX.js";
1
+ import { defineComponent as M, resolveComponent as Ae, openBlock as p, createElementBlock as v, Fragment as L, createCommentVNode as z, createElementVNode as o, normalizeClass as T, createVNode as g, withCtx as x, createBlock as I, renderSlot as k, markRaw as O, computed as B, withModifiers as F, toDisplayString as _, unref as q, TransitionGroup as De, renderList as N, mergeProps as j, ref as E, watch as oe, resolveDynamicComponent as me, Transition as ke, normalizeStyle as ve, createTextVNode as H, normalizeProps as K, guardReactiveProps as R, onMounted as Q, onUnmounted as we, reactive as nt, useTemplateRef as Ie, withDirectives as he, vShow as st, vModelText as He, createSlots as lt, isRef as ot, useModel as at, vModelDynamic as it, mergeModels as rt, Teleport as dt, nextTick as je } from "vue";
2
+ import { a as ct, V as Pe, j as A, h as Ne, g as Ce, k as ce, l as ut, d as mt, i as pt, e as le, _ as Oe, f as J } from "../VDialog.vue_vue_type_script_setup_true_lang-CB1kfyUa.js";
3
+ import { b as qa, m as Ga } from "../VDialog.vue_vue_type_script_setup_true_lang-CB1kfyUa.js";
4
+ import { f as ft, t as vt, g as ht, u as pe, s as gt, d as bt, m as xt, c as yt } from "../app-B45sALrX.js";
5
5
  import { d as Me, e as _t, o as $t } from "../useDialog-ALG4kFE7.js";
6
6
  import { getDataValue as kt } from "../dashboard/index.es.js";
7
7
  import { useForm as wt } from "../composables/index.es.js";
8
8
  import { required as Ct, maxLen as Mt } from "../validate/index.es.js";
9
- const zt = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, pa = /* @__PURE__ */ M({
9
+ const zt = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, fa = /* @__PURE__ */ M({
10
10
  __name: "AppAside",
11
11
  props: {
12
12
  isSidebar: { type: Boolean, default: !1 }
@@ -18,24 +18,24 @@ const zt = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 eas
18
18
  };
19
19
  return (t, r) => {
20
20
  const c = Ae("router-link");
21
- return f(), v(L, null, [
22
- e.isSidebar ? (f(), v("div", {
21
+ return p(), v(L, null, [
22
+ e.isSidebar ? (p(), v("div", {
23
23
  key: 0,
24
24
  class: "lg:hidden overlay fixed left-0 top-0 h-full w-full bg-black/40 z-10 bg-blur",
25
25
  onClick: s
26
26
  })) : z("", !0),
27
27
  o("aside", {
28
- class: B([e.isSidebar ? "translate-x-0 lg:w-[90px]" : "-translate-x-full", "overflow-x-hidden fixed top-0 left-0 z-10 flex lg:static h-full w-[290px] flex-col overflow-y-auto border-r border-gray-200/70 bg-white/70 px-5 backdrop-blur-2xl transition-all duration-350 lg:translate-x-0 dark:border-white/10 dark:bg-[#07112c]/70"])
28
+ class: T([e.isSidebar ? "translate-x-0 lg:w-[90px]" : "-translate-x-full", "overflow-x-hidden fixed top-0 left-0 z-10 flex lg:static h-full w-[290px] flex-col overflow-y-auto border-r border-gray-200/70 bg-white/70 px-5 backdrop-blur-2xl transition-all duration-350 lg:translate-x-0 dark:border-white/10 dark:bg-[#07112c]/70"])
29
29
  }, [
30
30
  o("div", {
31
- class: B([e.isSidebar ? "justify-center" : "justify-between", "sidebar-header flex items-center gap-2 border-b border-gray-200/60 pt-6 pb-6 justify-between dark:border-white/5"])
31
+ class: T([e.isSidebar ? "justify-center" : "justify-between", "sidebar-header flex items-center gap-2 border-b border-gray-200/60 pt-6 pb-6 justify-between dark:border-white/5"])
32
32
  }, [
33
33
  g(c, { to: "/" }, {
34
34
  default: x(() => [
35
- e.isSidebar ? (f(), D(ct, {
35
+ e.isSidebar ? (p(), I(ct, {
36
36
  key: 0,
37
37
  class: "h-[30px] text-primary"
38
- })) : (f(), D(Pe, {
38
+ })) : (p(), I(Pe, {
39
39
  key: 1,
40
40
  class: "h-[30px] text-primary"
41
41
  }))
@@ -56,7 +56,7 @@ const zt = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 eas
56
56
  height: "1.2em"
57
57
  };
58
58
  function Vt(e, n) {
59
- return f(), v("svg", St, [...n[0] || (n[0] = [
59
+ return p(), v("svg", St, [...n[0] || (n[0] = [
60
60
  o("path", {
61
61
  fill: "currentColor",
62
62
  d: "M4.5 10.5c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5S6 12.825 6 12s-.675-1.5-1.5-1.5m15 0c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5S21 12.825 21 12s-.675-1.5-1.5-1.5m-7.5 0c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5s1.5-.675 1.5-1.5s-.675-1.5-1.5-1.5"
@@ -68,21 +68,21 @@ const Ue = O({ name: "ri-more-line", render: Vt }), Tt = {
68
68
  width: "1.2em",
69
69
  height: "1.2em"
70
70
  };
71
- function Bt(e, n) {
72
- return f(), v("svg", Tt, [...n[0] || (n[0] = [
71
+ function Et(e, n) {
72
+ return p(), v("svg", Tt, [...n[0] || (n[0] = [
73
73
  o("path", {
74
74
  fill: "currentColor",
75
75
  d: "M4 18h2v2h12V4H6v2H4V3a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1zm2-7h7v2H6v3l-5-4l5-4z"
76
76
  }, null, -1)
77
77
  ])]);
78
78
  }
79
- const Et = O({ name: "ri-logout-box-line", render: Bt }), Lt = {
79
+ const Bt = O({ name: "ri-logout-box-line", render: Et }), Lt = {
80
80
  viewBox: "0 0 24 24",
81
81
  width: "1.2em",
82
82
  height: "1.2em"
83
83
  };
84
84
  function At(e, n) {
85
- return f(), v("svg", Lt, [...n[0] || (n[0] = [
85
+ return p(), v("svg", Lt, [...n[0] || (n[0] = [
86
86
  o("path", {
87
87
  fill: "currentColor",
88
88
  d: "M5 18h14v-6.969C19 7.148 15.866 4 12 4s-7 3.148-7 7.031zm7-16c4.97 0 9 4.043 9 9.031V20H3v-8.969C3 6.043 7.03 2 12 2M9.5 21h5a2.5 2.5 0 0 1-5 0"
@@ -95,7 +95,7 @@ const Ke = O({ name: "ri-notification-line", render: At }), Dt = {
95
95
  height: "1.2em"
96
96
  };
97
97
  function It(e, n) {
98
- return f(), v("svg", Dt, [...n[0] || (n[0] = [
98
+ return p(), v("svg", Dt, [...n[0] || (n[0] = [
99
99
  o("path", {
100
100
  fill: "currentColor",
101
101
  d: "M10 7a7 7 0 0 0 12 4.9v.1c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2h.1A6.98 6.98 0 0 0 10 7m-6 5a8 8 0 0 0 15.062 3.762A9 9 0 0 1 8.238 4.938A8 8 0 0 0 4 12"
@@ -108,7 +108,7 @@ const Ht = O({ name: "ri-moon-line", render: It }), jt = {
108
108
  height: "1.2em"
109
109
  };
110
110
  function Pt(e, n) {
111
- return f(), v("svg", jt, [...n[0] || (n[0] = [
111
+ return p(), v("svg", jt, [...n[0] || (n[0] = [
112
112
  o("path", {
113
113
  fill: "currentColor",
114
114
  d: "M12 18a6 6 0 1 1 0-12a6 6 0 0 1 0 12m0-2a4 4 0 1 0 0-8a4 4 0 0 0 0 8M11 1h2v3h-2zm0 19h2v3h-2zM3.515 4.929l1.414-1.414L7.05 5.636L5.636 7.05zM16.95 18.364l1.414-1.414l2.121 2.121l-1.414 1.414zm2.121-14.85l1.414 1.415l-2.121 2.121l-1.414-1.414zM5.636 16.95l1.414 1.414l-2.121 2.121l-1.414-1.414zM23 11v2h-3v-2zM4 11v2H1v-2z"
@@ -121,7 +121,7 @@ const Nt = O({ name: "ri-sun-line", render: Pt }), Ot = {
121
121
  height: "1.2em"
122
122
  };
123
123
  function Ut(e, n) {
124
- return f(), v("svg", Ot, [...n[0] || (n[0] = [
124
+ return p(), v("svg", Ot, [...n[0] || (n[0] = [
125
125
  o("path", {
126
126
  fill: "currentColor",
127
127
  d: "M3 4h18v2H3zm0 7h18v2H3zm0 7h18v2H3z"
@@ -140,14 +140,14 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
140
140
  { name: "Theme", value: 1 },
141
141
  { name: "Notification", value: 2 },
142
142
  { name: "Logout", value: 3 }
143
- ], t = T(() => !!e.notifications.find((i) => i.isNew)), r = (i) => l("sidebar", i), c = (i) => l("notif", i), d = async () => await fetch("/", { headers: { Authorization: "Basic AAAAAAAAAAAAAAAAAAA=" } }), m = () => {
143
+ ], t = B(() => !!e.notifications.find((i) => i.isNew)), r = (i) => l("sidebar", i), c = (i) => l("notif", i), d = async () => await fetch("/", { headers: { Authorization: "Basic AAAAAAAAAAAAAAAAAAA=" } }), m = () => {
144
144
  e.changeTheme && e.changeTheme();
145
145
  }, a = ({ value: i }, u) => {
146
146
  i == 1 && m(), i == 2 && c(u), i == 3 && d();
147
147
  };
148
148
  return (i, u) => {
149
- const p = Kt, b = Ae("router-link"), h = Nt, y = Ht, S = Ke, V = Et, w = Ue;
150
- return f(), v("header", Rt, [
149
+ const f = Kt, b = Ae("router-link"), h = Nt, y = Ht, S = Ke, V = Bt, w = Ue;
150
+ return p(), v("header", Rt, [
151
151
  u[3] || (u[3] = o("div", { class: "pointer-events-none absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent via-white/35 to-transparent" }, null, -1)),
152
152
  o("div", Ft, [
153
153
  o("div", Wt, [
@@ -156,7 +156,7 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
156
156
  onClick: r
157
157
  }, {
158
158
  default: x(() => [
159
- g(p, { class: "size-5" })
159
+ g(f, { class: "size-5" })
160
160
  ]),
161
161
  _: 1
162
162
  }),
@@ -187,7 +187,7 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
187
187
  }, {
188
188
  default: x(() => [
189
189
  o("span", {
190
- class: B([t.value ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
190
+ class: T([t.value ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
191
191
  }, [...u[0] || (u[0] = [
192
192
  o("span", { class: "absolute -z-1 inline-flex h-full w-full animate-ping rounded-full bg-orange-400 opacity-75" }, null, -1)
193
193
  ])], 2),
@@ -257,10 +257,10 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
257
257
  setup(e, { emit: n }) {
258
258
  const l = e, s = n, t = ["", "bg-green-500", "bg-red-500", "bg-yellow-500", "bg-blue-500"], r = (m) => t[m], c = (m) => s("remove", m), d = (m) => s("read", m);
259
259
  return (m, a) => {
260
- const i = Ke, u = ue;
261
- return f(), v("div", Xt, [
260
+ const i = Ke, u = ce;
261
+ return p(), v("div", Xt, [
262
262
  o("div", {
263
- class: B(["absolute left-0 top-0 w-[3px] h-full", r(l.color)])
263
+ class: T(["absolute left-0 top-0 w-[3px] h-full", r(l.color)])
264
264
  }, null, 2),
265
265
  g(A, {
266
266
  class: "shrink-0",
@@ -269,7 +269,7 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
269
269
  }, {
270
270
  default: x(() => [
271
271
  o("span", {
272
- class: B([l.isNew ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
272
+ class: T([l.isNew ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
273
273
  }, [...a[0] || (a[0] = [
274
274
  o("span", { class: "absolute -z-1 inline-flex h-full w-full animate-ping rounded-full bg-orange-400 opacity-75" }, null, -1)
275
275
  ])], 2),
@@ -279,7 +279,7 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
279
279
  }),
280
280
  o("div", Yt, [
281
281
  o("div", null, _(l.text), 1),
282
- o("div", Qt, _(q(pt)(l.date)) + " (" + _(q(vt)(l.date)) + ")", 1)
282
+ o("div", Qt, _(q(ft)(l.date)) + " (" + _(q(vt)(l.date)) + ")", 1)
283
283
  ]),
284
284
  g(A, {
285
285
  class: "shrink-0",
@@ -306,19 +306,19 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
306
306
  },
307
307
  emits: ["close", "remove", "read"],
308
308
  setup(e, { emit: n }) {
309
- const l = e, s = n, t = T(() => !!l.notifications.find((a) => a.isNew)), r = T(() => !!l.notifications.length), c = (a) => s("close", a), d = (a) => s("remove", a), m = (a) => s("read", a);
310
- return (a, i) => (f(), v(L, null, [
311
- l.value ? (f(), v("div", {
309
+ const l = e, s = n, t = B(() => !!l.notifications.find((a) => a.isNew)), r = B(() => !!l.notifications.length), c = (a) => s("close", a), d = (a) => s("remove", a), m = (a) => s("read", a);
310
+ return (a, i) => (p(), v(L, null, [
311
+ l.value ? (p(), v("div", {
312
312
  key: 0,
313
313
  class: "overlay fixed left-0 top-0 h-full w-full bg-black/40 bg-blur",
314
314
  onClick: c
315
315
  })) : z("", !0),
316
316
  o("aside", {
317
- class: B([l.value ? "translate-x-0 " : "translate-x-full", "overflow-x-hidden fixed top-[73px] right-0 flex h-[calc(100%-73px)] w-[290px] md:w-80 border-l border-gray-200/70 flex-col overflow-y-auto transition-all duration-350 dark:border-white/10 bg-white/90 backdrop-blur-2xl dark:bg-[#07112c]/80"])
317
+ class: T([l.value ? "translate-x-0 " : "translate-x-full", "overflow-x-hidden fixed top-[73px] right-0 flex h-[calc(100%-73px)] w-[290px] md:w-80 border-l border-gray-200/70 flex-col overflow-y-auto transition-all duration-350 dark:border-white/10 bg-white/90 backdrop-blur-2xl dark:bg-[#07112c]/80"])
318
318
  }, [
319
319
  o("div", tn, [
320
320
  k(a.$slots, "header", { isNew: t.value }),
321
- r.value ? (f(), v("div", nn, [
321
+ r.value ? (p(), v("div", nn, [
322
322
  g(De, {
323
323
  "enter-active-class": "transition-all duration-300 ",
324
324
  "enter-from-class": "opacity-0 translate-x-1/2",
@@ -328,15 +328,15 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
328
328
  "leave-to-class": "opacity-0 translate-x-1/2"
329
329
  }, {
330
330
  default: x(() => [
331
- (f(!0), v(L, null, N(l.notifications, (u) => (f(), v("div", {
331
+ (p(!0), v(L, null, N(l.notifications, (u) => (p(), v("div", {
332
332
  key: u.date,
333
333
  class: "relative"
334
334
  }, [
335
335
  k(a.$slots, "card", { item: u }, () => [
336
336
  g(en, j({ ref_for: !0 }, u, {
337
337
  class: "rounded-md border border-gray-200/60 bg-white/50 dark:border-white/5 dark:bg-white/[0.03]",
338
- onRemove: (p) => d(u),
339
- onRead: (p) => m(u)
338
+ onRemove: (f) => d(u),
339
+ onRead: (f) => m(u)
340
340
  }), null, 16, ["onRemove", "onRead"])
341
341
  ])
342
342
  ]))), 128))
@@ -350,7 +350,7 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
350
350
  }
351
351
  }), sn = {}, ln = { class: "fixed h-full w-full top-0 left-0 z-20" }, on = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2" };
352
352
  function an(e, n) {
353
- return f(), v("div", ln, [
353
+ return p(), v("div", ln, [
354
354
  n[0] || (n[0] = o("div", { class: "absolute h-full w-full top-0 left-0 bg-black/60 bg-blur" }, null, -1)),
355
355
  o("div", on, [
356
356
  k(e.$slots, "default")
@@ -363,14 +363,14 @@ const ga = /* @__PURE__ */ ut(sn, [["render", an]]), rn = {
363
363
  height: "1.2em"
364
364
  };
365
365
  function dn(e, n) {
366
- return f(), v("svg", rn, [...n[0] || (n[0] = [
366
+ return p(), v("svg", rn, [...n[0] || (n[0] = [
367
367
  o("path", {
368
368
  fill: "currentColor",
369
369
  d: "m13.172 12l-4.95-4.95l1.414-1.413L16 12l-6.364 6.364l-1.414-1.415z"
370
370
  }, null, -1)
371
371
  ])]);
372
372
  }
373
- const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4 flex flex-col gap-2" }, mn = { class: "size-6 flex-[0_0_24px] opacity-60" }, fn = ["onClick"], pn = { class: "flex flex-col gap-2" }, vn = { class: "flex gap-2 ms-8" }, hn = { class: "size-5 flex-[0_0_24px]" }, gn = { class: "flex-1 first-letter:uppercase text-sm" }, bn = {
373
+ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4 flex flex-col gap-2" }, mn = { class: "size-6 flex-[0_0_24px] opacity-60" }, pn = ["onClick"], fn = { class: "flex flex-col gap-2" }, vn = { class: "flex gap-2 ms-8" }, hn = { class: "size-5 flex-[0_0_24px]" }, gn = { class: "flex-1 first-letter:uppercase text-sm" }, bn = {
374
374
  key: 0,
375
375
  class: "mt-2"
376
376
  }, xn = { class: "flex flex-col gap-2" }, yn = { class: "flex gap-2 ms-14" }, _n = { class: "size-5 flex-[0_0_24px]" }, $n = { class: "flex-1 first-letter:uppercase text-sm" }, ba = /* @__PURE__ */ M({
@@ -386,8 +386,8 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
386
386
  e.isSidebar && l("sidebar", !e.isSidebar), s.value !== a && (s.value = s.value === a ? "" : a);
387
387
  }, r = (a) => e.fullPath === a, c = (a) => a ? e.fullPath === a || e.fullPath.startsWith(a) : !1, d = (a, i) => !a.path || i === "/" || a.path === "/" ? !1 : a.path === i || i.includes(a.path), m = (a, i) => (a == null ? void 0 : a.find(
388
388
  (u) => {
389
- var p;
390
- return d(u, i) || ((p = u.children) == null ? void 0 : p.some(
389
+ var f;
390
+ return d(u, i) || ((f = u.children) == null ? void 0 : f.some(
391
391
  (b) => {
392
392
  var h;
393
393
  return d(b, i) || ((h = b.children) == null ? void 0 : h.some((y) => d(y, i)));
@@ -403,41 +403,41 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
403
403
  }
404
404
  ), (a, i) => {
405
405
  const u = cn;
406
- return f(), v("nav", null, [
406
+ return p(), v("nav", null, [
407
407
  o("ul", un, [
408
- (f(!0), v(L, null, N(e.menu, (p) => (f(), v("li", {
409
- key: p.name
408
+ (p(!0), v(L, null, N(e.menu, (f) => (p(), v("li", {
409
+ key: f.name
410
410
  }, [
411
- (f(), D(re(p.path ? "router-link" : "span"), {
412
- to: p.path,
413
- class: B(["flex gap-2 items-center px-3 py-2 rounded", r(p.path) ? "bg-primary/10 text-primary" : "hover:bg-white/5"]),
414
- onClick: F((b) => t(p), ["prevent", "stop"])
411
+ (p(), I(me(f.path ? "router-link" : "span"), {
412
+ to: f.path,
413
+ class: T(["flex gap-2 items-center px-3 py-2 rounded", r(f.path) ? "bg-primary/10 text-primary" : "hover:bg-white/5"]),
414
+ onClick: F((b) => t(f), ["prevent", "stop"])
415
415
  }, {
416
416
  default: x(() => [
417
417
  o("div", mn, [
418
- k(a.$slots, "icon", { item: p })
418
+ k(a.$slots, "icon", { item: f })
419
419
  ]),
420
420
  o("span", {
421
- class: B(["flex-1 first-letter:uppercase text-sm", e.isSidebar ? "lg:hidden" : ""])
422
- }, _(p.name), 3),
421
+ class: T(["flex-1 first-letter:uppercase text-sm", e.isSidebar ? "lg:hidden" : ""])
422
+ }, _(f.name), 3),
423
423
  o("button", {
424
- class: B(["cursor-pointer", [e.isSidebar ? "lg:hidden" : ""]]),
425
- onClick: F((b) => t(p), ["prevent", "stop"])
424
+ class: T(["cursor-pointer", [e.isSidebar ? "lg:hidden" : ""]]),
425
+ onClick: F((b) => t(f), ["prevent", "stop"])
426
426
  }, [
427
- p.children ? (f(), D(u, { key: 0 })) : z("", !0)
428
- ], 10, fn)
427
+ f.children ? (p(), I(u, { key: 0 })) : z("", !0)
428
+ ], 10, pn)
429
429
  ]),
430
430
  _: 2
431
431
  }, 1032, ["to", "class", "onClick"])),
432
- p.children ? (f(), v("div", {
432
+ f.children ? (p(), v("div", {
433
433
  key: 0,
434
- class: B(["translate transform overflow-hidden mt-2", [e.isSidebar ? "lg:hidden" : "", s.value === p.name ? "block" : "hidden"]])
434
+ class: T(["translate transform overflow-hidden mt-2", [e.isSidebar ? "lg:hidden" : "", s.value === f.name ? "block" : "hidden"]])
435
435
  }, [
436
- o("ul", pn, [
437
- (f(!0), v(L, null, N(p.children, ({ name: b, path: h, icon: y, children: S }) => (f(), v("li", { key: b }, [
438
- (f(), D(re(h ? "router-link" : "span"), {
436
+ o("ul", fn, [
437
+ (p(!0), v(L, null, N(f.children, ({ name: b, path: h, icon: y, children: S }) => (p(), v("li", { key: b }, [
438
+ (p(), I(me(h ? "router-link" : "span"), {
439
439
  to: h,
440
- class: B(["flex gap-2 items-center px-3 py-2 rounded", r(h) ? "bg-primary/10 text-primary" : "hover:bg-white/5"])
440
+ class: T(["flex gap-2 items-center px-3 py-2 rounded", r(h) ? "bg-primary/10 text-primary" : "hover:bg-white/5"])
441
441
  }, {
442
442
  default: x(() => [
443
443
  o("div", vn, [
@@ -451,14 +451,14 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
451
451
  ]),
452
452
  _: 2
453
453
  }, 1032, ["to", "class"])),
454
- S != null && S.length && c(h) ? (f(), v("div", bn, [
454
+ S != null && S.length && c(h) ? (p(), v("div", bn, [
455
455
  o("ul", xn, [
456
- (f(!0), v(L, null, N(S, (V) => (f(), v("li", {
456
+ (p(!0), v(L, null, N(S, (V) => (p(), v("li", {
457
457
  key: V.name
458
458
  }, [
459
- (f(), D(re(V.path ? "router-link" : "span"), {
459
+ (p(), I(me(V.path ? "router-link" : "span"), {
460
460
  to: V.path,
461
- class: B(["flex gap-2 items-center px-3 py-2 rounded", r(V.path) ? "bg-primary/10 text-primary" : "hover:bg-white/5"])
461
+ class: T(["flex gap-2 items-center px-3 py-2 rounded", r(V.path) ? "bg-primary/10 text-primary" : "hover:bg-white/5"])
462
462
  }, {
463
463
  default: x(() => [
464
464
  o("div", yn, [
@@ -502,7 +502,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
502
502
  length: { default: 0 }
503
503
  },
504
504
  setup(e) {
505
- const n = E(!1), l = T(() => !!e.length), s = T(() => !!(l.value && t.value === 100 && !e.status)), t = T(() => e.status ? Math.ceil(e.size * 100 / e.length) : 100), r = Me(() => {
505
+ const n = E(!1), l = B(() => !!e.length), s = B(() => !!(l.value && t.value === 100 && !e.status)), t = B(() => e.status ? Math.ceil(e.size * 100 / e.length) : 100), r = Me(() => {
506
506
  n.value = !1;
507
507
  }, e.timeout);
508
508
  return oe(
@@ -511,8 +511,8 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
511
511
  n.value = !0, r();
512
512
  }
513
513
  ), (c, d) => {
514
- const m = ue;
515
- return f(), D(ke, {
514
+ const m = ce;
515
+ return p(), I(ke, {
516
516
  "enter-active-class": "duration-300 ease-out",
517
517
  "enter-from-class": "transform opacity-0 translate-x-full",
518
518
  "enter-to-class": "opacity-100 translate-x-0",
@@ -521,11 +521,11 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
521
521
  "leave-to-class": "transform opacity-0 -translate-y-8"
522
522
  }, {
523
523
  default: x(() => [
524
- n.value ? (f(), v("div", kn, [
524
+ n.value ? (p(), v("div", kn, [
525
525
  o("div", wn, [
526
526
  k(c.$slots, "default", { isDone: s.value }, () => [
527
527
  d[1] || (d[1] = o("div", { class: "flex-auto" }, "Progress...", -1)),
528
- s.value ? (f(), v("span", Cn, "Done")) : z("", !0)
528
+ s.value ? (p(), v("span", Cn, "Done")) : z("", !0)
529
529
  ]),
530
530
  o("button", {
531
531
  class: "cursor-pointer transition text-gray-700 dark:text-gray-400 self-start hover:text-gray-600",
@@ -534,12 +534,12 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
534
534
  g(m, { class: "size-4" })
535
535
  ])
536
536
  ]),
537
- l.value ? (f(), v("div", {
537
+ l.value ? (p(), v("div", {
538
538
  key: 0,
539
539
  class: "h-[2px] fixed top-0 left-0 w-full bg-blue-600 transition-all duration-500",
540
540
  style: ve(`width: ${t.value}%`)
541
541
  }, null, 4)) : z("", !0),
542
- l.value ? (f(), v("div", Mn, [
542
+ l.value ? (p(), v("div", Mn, [
543
543
  o("div", zn, _(t.value) + "%", 1),
544
544
  o("div", {
545
545
  class: "bg-blue-600 rounded h-4 overflow-hidden relative transition-all duration-500",
@@ -554,7 +554,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
554
554
  });
555
555
  };
556
556
  }
557
- }), Vn = { class: "my-4 text-gray-700 dark:text-gray-400" }, Tn = { class: "flex flex-col md:flex-row flex-wrap md:gap-4 text-sm" }, Bn = { class: "flex gap-2" }, En = { class: "text-gray-700 dark:text-gray-400" }, Ln = { class: "flex gap-2" }, An = { class: "flex gap-2" }, Dn = { class: "text-gray-700 dark:text-gray-400" }, In = { class: "flex gap-2" }, Hn = { class: "text-gray-700 dark:text-gray-400" }, jn = { class: "flex flex-col gap-4 text-sm" }, Pn = { class: "flex gap-4" }, ya = /* @__PURE__ */ M({
557
+ }), Vn = { class: "my-4 text-gray-700 dark:text-gray-400" }, Tn = { class: "flex flex-col md:flex-row flex-wrap md:gap-4 text-sm" }, En = { class: "flex gap-2" }, Bn = { class: "text-gray-700 dark:text-gray-400" }, Ln = { class: "flex gap-2" }, An = { class: "flex gap-2" }, Dn = { class: "text-gray-700 dark:text-gray-400" }, In = { class: "flex gap-2" }, Hn = { class: "text-gray-700 dark:text-gray-400" }, jn = { class: "flex flex-col gap-4 text-sm" }, Pn = { class: "flex gap-4" }, ya = /* @__PURE__ */ M({
558
558
  __name: "BlockInfo",
559
559
  props: {
560
560
  pkg: {},
@@ -568,19 +568,19 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
568
568
  board: {}
569
569
  },
570
570
  setup(e) {
571
- const n = T(() => e.firmware.join(".")), l = T(() => {
571
+ const n = B(() => e.firmware.join(".")), l = B(() => {
572
572
  var t, r, c, d, m, a, i;
573
573
  const s = [];
574
574
  return (t = e.pkg) != null && t.homepage && s.push({ name: "homepage", href: e.pkg.homepage }), (c = (r = e.pkg) == null ? void 0 : r.repository) != null && c.url && s.push({ name: "repository", href: e.pkg.repository.url }), (m = (d = e.pkg) == null ? void 0 : d.bugs) != null && m.url && s.push({ name: "bugs", href: e.pkg.bugs.url }), (a = e.pkg) != null && a.author && s.push({ name: "author", href: `mailto:${(i = e.pkg) == null ? void 0 : i.author}` }), s;
575
575
  });
576
576
  return (s, t) => {
577
577
  var r, c;
578
- return f(), v("div", null, [
578
+ return p(), v("div", null, [
579
579
  o("p", Vn, _((r = e.pkg) == null ? void 0 : r.description), 1),
580
580
  o("div", Tn, [
581
- o("div", Bn, [
581
+ o("div", En, [
582
582
  t[0] || (t[0] = H(" Firmware (hw): ", -1)),
583
- o("span", En, _(n.value), 1)
583
+ o("span", Bn, _(n.value), 1)
584
584
  ]),
585
585
  o("div", Ln, [
586
586
  o("div", An, [
@@ -615,29 +615,29 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
615
615
  setup(e, { emit: n }) {
616
616
  const l = n, s = ["OPEN", "WEP", "WPA_PSK", "WPA2_PSK", "WPA_WPA2_PSK", "MAX", "", "NO", "AUTO"], t = (c) => l("select", c), r = (c) => l("scan", c);
617
617
  return (c, d) => {
618
- const m = mt, a = Ce, i = ft, u = A;
619
- return f(), v("div", null, [
618
+ const m = mt, a = Ce, i = pt, u = A;
619
+ return p(), v("div", null, [
620
620
  g(a, {
621
621
  items: e.items,
622
622
  class: "bg-transparent! ring-0!"
623
623
  }, {
624
- default: x(({ item: p }) => [
624
+ default: x(({ item: f }) => [
625
625
  o("div", {
626
626
  class: "flex items-center w-full",
627
- onClick: (b) => t(p)
627
+ onClick: (b) => t(f)
628
628
  }, [
629
629
  o("div", On, [
630
- g(m, K(R(p)), null, 16)
630
+ g(m, K(R(f)), null, 16)
631
631
  ]),
632
632
  o("div", null, [
633
- o("div", Un, _(p.ssid), 1),
634
- o("div", Kn, _(c.$t("security")) + " : " + _(s[p.encryptionType] || "unknown"), 1)
633
+ o("div", Un, _(f.ssid), 1),
634
+ o("div", Kn, _(c.$t("security")) + " : " + _(s[f.encryptionType] || "unknown"), 1)
635
635
  ])
636
636
  ], 8, Nn)
637
637
  ]),
638
638
  _: 1
639
639
  }, 8, ["items"]),
640
- e.items.length ? z("", !0) : (f(), v("div", Rn, [
640
+ e.items.length ? z("", !0) : (p(), v("div", Rn, [
641
641
  g(i, { class: "text-primary" })
642
642
  ])),
643
643
  o("div", Fn, [
@@ -668,7 +668,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
668
668
  };
669
669
  return (r, c) => {
670
670
  const d = le, m = A;
671
- return f(), v(L, null, [
671
+ return p(), v(L, null, [
672
672
  o("div", Wn, [
673
673
  o("div", qn, _(r.$t("selectLang")), 1),
674
674
  o("div", Gn, [
@@ -726,11 +726,11 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
726
726
  setup(e) {
727
727
  const n = E(e.uptime);
728
728
  let l = null;
729
- const s = T(() => e.firmware.join(".")), t = T(() => [
730
- { name: "used", value: fe(e.usedBytes) },
731
- { name: "available", value: fe(e.totalBytes - e.usedBytes) },
732
- { name: "total", value: fe(e.totalBytes) }
733
- ]), r = T(() => {
729
+ const s = B(() => e.firmware.join(".")), t = B(() => [
730
+ { name: "used", value: pe(e.usedBytes) },
731
+ { name: "available", value: pe(e.totalBytes - e.usedBytes) },
732
+ { name: "total", value: pe(e.totalBytes) }
733
+ ]), r = B(() => {
734
734
  var m;
735
735
  return [
736
736
  { name: "uptime", value: gt(n.value) },
@@ -738,7 +738,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
738
738
  { name: "firmware", value: s.value },
739
739
  { name: "version", value: (m = e.pkg) == null ? void 0 : m.version }
740
740
  ];
741
- }), c = T(() => e.usedBytes ? Math.round(e.usedBytes * 100 / e.totalBytes) : 0), d = () => {
741
+ }), c = B(() => e.usedBytes ? Math.round(e.usedBytes * 100 / e.totalBytes) : 0), d = () => {
742
742
  n.value++, l = setTimeout(d, 1e3);
743
743
  };
744
744
  return Q(() => {
@@ -746,8 +746,8 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
746
746
  }), we(() => {
747
747
  n.value = 0, l && clearTimeout(l);
748
748
  }), (m, a) => {
749
- var i, u, p;
750
- return f(), v("div", Qn, [
749
+ var i, u, f;
750
+ return p(), v("div", Qn, [
751
751
  o("div", es, [
752
752
  o("div", {
753
753
  class: "relative block h-4 w-full select-none overflow-hidden rounded-md bg-gray-200/70 dark:bg-white/10",
@@ -762,7 +762,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
762
762
  ], 4)
763
763
  ], 8, ts),
764
764
  o("div", ls, [
765
- (f(!0), v(L, null, N(t.value, (b) => (f(), v("div", {
765
+ (p(!0), v(L, null, N(t.value, (b) => (p(), v("div", {
766
766
  key: b.name,
767
767
  class: "flex-auto"
768
768
  }, [
@@ -774,7 +774,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
774
774
  ])
775
775
  ]),
776
776
  o("div", as, [
777
- (f(!0), v(L, null, N(r.value, (b) => (f(), v("div", {
777
+ (p(!0), v(L, null, N(r.value, (b) => (p(), v("div", {
778
778
  key: b.name,
779
779
  class: "flex justify-between items-center"
780
780
  }, [
@@ -787,7 +787,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
787
787
  o("div", null, [
788
788
  k(m.$slots, "default", {
789
789
  home: (i = e.pkg) == null ? void 0 : i.homepage,
790
- repo: (p = (u = e.pkg) == null ? void 0 : u.repository) == null ? void 0 : p.url
790
+ repo: (f = (u = e.pkg) == null ? void 0 : u.repository) == null ? void 0 : f.url
791
791
  })
792
792
  ])
793
793
  ]);
@@ -801,7 +801,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
801
801
  const r = t.target;
802
802
  r.files && l("change", r.files);
803
803
  };
804
- return (t, r) => (f(), v("label", ds, [
804
+ return (t, r) => (p(), v("label", ds, [
805
805
  o("input", j({
806
806
  type: "file",
807
807
  class: "hidden"
@@ -813,7 +813,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
813
813
  __name: "BlockUpdate",
814
814
  emits: ["update"],
815
815
  setup(e, { emit: n }) {
816
- const l = n, s = nt({ firmware: null, littlefs: null }), t = (d) => d ? Array.from(d).map((m) => `${m.name} (${fe(m.size)})`).join("") : "", r = (d, m) => {
816
+ const l = n, s = nt({ firmware: null, littlefs: null }), t = (d) => d ? Array.from(d).map((m) => `${m.name} (${pe(m.size)})`).join("") : "", r = (d, m) => {
817
817
  const a = new FormData();
818
818
  for (let i = 0; i < d.length; i++) {
819
819
  const u = d.item(i);
@@ -828,14 +828,14 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
828
828
  };
829
829
  return (d, m) => {
830
830
  const a = A;
831
- return f(), v("div", null, [
832
- (f(!0), v(L, null, N(s, (i, u) => (f(), v("div", {
831
+ return p(), v("div", null, [
832
+ (p(!0), v(L, null, N(s, (i, u) => (p(), v("div", {
833
833
  key: u,
834
834
  class: "mb-4 flex items-center"
835
835
  }, [
836
836
  g(cs, {
837
837
  accept: ".bin",
838
- onChange: (p) => s[u] = p,
838
+ onChange: (f) => s[u] = f,
839
839
  class: "flex-auto"
840
840
  }, {
841
841
  default: x(() => [
@@ -852,7 +852,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
852
852
  class: "min-w-[100px]",
853
853
  color: "blue",
854
854
  disabled: !i,
855
- onClick: (p) => c(`${u}.bin`, i)
855
+ onClick: (f) => c(`${u}.bin`, i)
856
856
  }, {
857
857
  default: x(() => [
858
858
  H(_(d.$t("btnUpdate")), 1)
@@ -863,20 +863,20 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
863
863
  ]);
864
864
  };
865
865
  }
866
- }), fs = {
866
+ }), ps = {
867
867
  viewBox: "0 0 24 24",
868
868
  width: "1.2em",
869
869
  height: "1.2em"
870
870
  };
871
- function ps(e, n) {
872
- return f(), v("svg", fs, [...n[0] || (n[0] = [
871
+ function fs(e, n) {
872
+ return p(), v("svg", ps, [...n[0] || (n[0] = [
873
873
  o("path", {
874
874
  fill: "currentColor",
875
875
  d: "M12.172 12L9.343 9.173l1.415-1.414L15 12l-4.242 4.242l-1.415-1.414z"
876
876
  }, null, -1)
877
877
  ])]);
878
878
  }
879
- const Re = O({ name: "ri-arrow-drop-right-line", render: ps }), vs = { class: "flex items-center gap-1.5" }, Ca = /* @__PURE__ */ M({
879
+ const Re = O({ name: "ri-arrow-drop-right-line", render: fs }), vs = { class: "flex items-center gap-1.5" }, Ca = /* @__PURE__ */ M({
880
880
  __name: "BlockBreadcrumb",
881
881
  props: {
882
882
  items: { default: () => [] }
@@ -886,14 +886,14 @@ const Re = O({ name: "ri-arrow-drop-right-line", render: ps }), vs = { class: "f
886
886
  const l = n, s = (t) => l("click", t);
887
887
  return (t, r) => {
888
888
  const c = Re;
889
- return f(), v("nav", null, [
889
+ return p(), v("nav", null, [
890
890
  o("ol", vs, [
891
- (f(!0), v(L, null, N(e.items, (d, m) => (f(), v("li", {
891
+ (p(!0), v(L, null, N(e.items, (d, m) => (p(), v("li", {
892
892
  key: m,
893
- class: B(["inline-flex items-center gap-1.5 text-sm text-gray-500 dark:text-gray-400", d.path ? "" : "text-gray-800 dark:text-white/90"])
893
+ class: T(["inline-flex items-center gap-1.5 text-sm text-gray-500 dark:text-gray-400", d.path ? "" : "text-gray-800 dark:text-white/90"])
894
894
  }, [
895
895
  k(t.$slots, "default", { item: d }, () => [
896
- (f(), D(re(d.path ? "a" : "span"), {
896
+ (p(), I(me(d.path ? "a" : "span"), {
897
897
  href: d.path,
898
898
  onClick: (a) => s(d)
899
899
  }, {
@@ -903,7 +903,7 @@ const Re = O({ name: "ri-arrow-drop-right-line", render: ps }), vs = { class: "f
903
903
  _: 2
904
904
  }, 1032, ["href", "onClick"]))
905
905
  ]),
906
- d.path ? (f(), D(c, {
906
+ d.path ? (p(), I(c, {
907
907
  key: 0,
908
908
  class: "rotate-270"
909
909
  })) : z("", !0)
@@ -918,7 +918,7 @@ const Re = O({ name: "ri-arrow-drop-right-line", render: ps }), vs = { class: "f
918
918
  height: "1.2em"
919
919
  };
920
920
  function gs(e, n) {
921
- return f(), v("svg", hs, [...n[0] || (n[0] = [
921
+ return p(), v("svg", hs, [...n[0] || (n[0] = [
922
922
  o("path", {
923
923
  fill: "currentColor",
924
924
  d: "M7 6V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3v3c0 .552-.45 1-1.007 1H4.007A1 1 0 0 1 3 21l.003-14c0-.552.45-1 1.006-1zM5.002 8L5 20h10V8zM9 6h8v10h2V4H9zm-2 5h6v2H7zm0 4h6v2H7z"
@@ -948,18 +948,18 @@ const bs = O({ name: "ri-file-copy2-line", render: gs }), xs = { class: "flex-au
948
948
  },
949
949
  emits: ["edit", "close", "click", "clone", "open", "setState"],
950
950
  setup(e, { emit: n }) {
951
- const l = e, s = n, t = E(!1), r = T(() => ["button", "dimmer"].includes(l.type || "") && l.value ? "text-amber-500" : "text-gray-400"), c = (u) => s("edit", u), d = (u) => s("clone", u), m = () => t.value = !0, a = (u) => s("open", u), i = (u) => {
951
+ const l = e, s = n, t = E(!1), r = B(() => ["button", "dimmer"].includes(l.type || "") && l.value ? "text-amber-500" : "text-gray-400"), c = (u) => s("edit", u), d = (u) => s("clone", u), m = () => t.value = !0, a = (u) => s("open", u), i = (u) => {
952
952
  t.value = !1, s("close", u);
953
953
  };
954
- return (u, p) => {
954
+ return (u, f) => {
955
955
  const b = Ue, h = bs;
956
- return f(), v("div", {
956
+ return p(), v("div", {
957
957
  class: "glass-panel relative flex aspect-square cursor-pointer flex-col p-2 transition-all hover:border-primary/25 hover:shadow-[inset_0_1px_0_rgba(255,255,255,0.18),0_0_50px_-18px_rgba(40,183,240,0.25)]",
958
958
  onClick: m
959
959
  }, [
960
960
  o("div", xs, [
961
961
  o("div", {
962
- class: B([r.value, "size-8 animate-shake"])
962
+ class: T([r.value, "size-8 animate-shake"])
963
963
  }, [
964
964
  k(u.$slots, "icon", K(R(l)))
965
965
  ], 2),
@@ -979,10 +979,10 @@ const bs = O({ name: "ri-file-copy2-line", render: gs }), xs = { class: "flex-au
979
979
  ])
980
980
  ])
981
981
  ]),
982
- l.icon ? (f(), v("div", $s, [
982
+ l.icon ? (p(), v("div", $s, [
983
983
  k(u.$slots, "icon", K(R(l)))
984
984
  ])) : z("", !0),
985
- t.value ? (f(), D(Oe, {
985
+ t.value ? (p(), I(Oe, {
986
986
  key: 1,
987
987
  size: l.size || "sm",
988
988
  title: e.name,
@@ -1037,14 +1037,14 @@ const bs = O({ name: "ri-file-copy2-line", render: gs }), xs = { class: "flex-au
1037
1037
  height: "1.2em"
1038
1038
  };
1039
1039
  function Ss(e, n) {
1040
- return f(), v("svg", zs, [...n[0] || (n[0] = [
1040
+ return p(), v("svg", zs, [...n[0] || (n[0] = [
1041
1041
  o("path", {
1042
1042
  fill: "currentColor",
1043
1043
  d: "m6.265 3.807l1.147 1.639a8 8 0 1 0 9.176 0l1.147-1.639A9.99 9.99 0 0 1 22 12c0 5.523-4.477 10-10 10S2 17.523 2 12a9.99 9.99 0 0 1 4.265-8.193M11 12V2h2v10z"
1044
1044
  }, null, -1)
1045
1045
  ])]);
1046
1046
  }
1047
- const Vs = O({ name: "ri-shut-down-line", render: Ss }), Ts = { class: "flex justify-end" }, Bs = { class: "flex justify-center py-4" }, Ma = /* @__PURE__ */ M({
1047
+ const Vs = O({ name: "ri-shut-down-line", render: Ss }), Ts = { class: "flex justify-end" }, Es = { class: "flex justify-center py-4" }, Ma = /* @__PURE__ */ M({
1048
1048
  __name: "CardButton",
1049
1049
  props: {
1050
1050
  size: {},
@@ -1070,7 +1070,7 @@ const Vs = O({ name: "ri-shut-down-line", render: Ss }), Ts = { class: "flex jus
1070
1070
  }, r = () => s("setState", !l.value);
1071
1071
  return (c, d) => {
1072
1072
  const m = Vs;
1073
- return f(), D(ae, j(l, {
1073
+ return p(), I(ae, j(l, {
1074
1074
  onClick: d[0] || (d[0] = (a) => s("click", a)),
1075
1075
  onEdit: d[1] || (d[1] = (a) => s("edit", a)),
1076
1076
  onClone: d[2] || (d[2] = (a) => s("clone", a))
@@ -1093,7 +1093,7 @@ const Vs = O({ name: "ri-shut-down-line", render: Ss }), Ts = { class: "flex jus
1093
1093
  ])
1094
1094
  ]),
1095
1095
  dialog: x((a) => [
1096
- o("div", Bs, [
1096
+ o("div", Es, [
1097
1097
  g(A, j(t(a), {
1098
1098
  type: "icon",
1099
1099
  class: ["size-18", l.value ? "text-amber-500" : "text-gray-500"],
@@ -1110,13 +1110,13 @@ const Vs = O({ name: "ri-shut-down-line", render: Ss }), Ts = { class: "flex jus
1110
1110
  }, 16);
1111
1111
  };
1112
1112
  }
1113
- }), Es = {
1113
+ }), Bs = {
1114
1114
  viewBox: "0 0 24 24",
1115
1115
  width: "1.2em",
1116
1116
  height: "1.2em"
1117
1117
  };
1118
1118
  function Ls(e, n) {
1119
- return f(), v("svg", Es, [...n[0] || (n[0] = [
1119
+ return p(), v("svg", Bs, [...n[0] || (n[0] = [
1120
1120
  o("path", {
1121
1121
  fill: "currentColor",
1122
1122
  d: "M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16m1-8h4v2h-6V7h2z"
@@ -1148,8 +1148,8 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1148
1148
  const i = (u = a == null ? void 0 : a.target) == null ? void 0 : u.valueAsNumber;
1149
1149
  i && s("setState", i / 1e3);
1150
1150
  }, d = ({ name: a, value: i, opts: u = {} }) => {
1151
- const { disabled: p } = u;
1152
- return { label: a, modelValue: r(i), disabled: p };
1151
+ const { disabled: f } = u;
1152
+ return { label: a, modelValue: r(i), disabled: f };
1153
1153
  }, m = () => {
1154
1154
  var i, u;
1155
1155
  const a = (u = (i = t.value) == null ? void 0 : i.$el) == null ? void 0 : u.querySelector("input");
@@ -1157,15 +1157,15 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1157
1157
  };
1158
1158
  return (a, i) => {
1159
1159
  const u = As;
1160
- return f(), D(ae, j(l, {
1161
- onClick: i[0] || (i[0] = (p) => s("click", p)),
1162
- onEdit: i[1] || (i[1] = (p) => s("edit", p)),
1163
- onClone: i[2] || (i[2] = (p) => s("clone", p))
1160
+ return p(), I(ae, j(l, {
1161
+ onClick: i[0] || (i[0] = (f) => s("click", f)),
1162
+ onEdit: i[1] || (i[1] = (f) => s("edit", f)),
1163
+ onClone: i[2] || (i[2] = (f) => s("clone", f))
1164
1164
  }), {
1165
- icon: x((p) => [
1166
- k(a.$slots, "icon", K(R(p)))
1165
+ icon: x((f) => [
1166
+ k(a.$slots, "icon", K(R(f)))
1167
1167
  ]),
1168
- header: x((p) => [
1168
+ header: x((f) => [
1169
1169
  o("div", null, [
1170
1170
  g(A, {
1171
1171
  type: "icon",
@@ -1180,7 +1180,7 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1180
1180
  g(J, j({
1181
1181
  ref_key: "time",
1182
1182
  ref: t
1183
- }, d(p), {
1183
+ }, d(f), {
1184
1184
  type: "datetime-local",
1185
1185
  class: "size-0",
1186
1186
  hidden: "",
@@ -1188,9 +1188,9 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1188
1188
  }), null, 16)
1189
1189
  ])
1190
1190
  ]),
1191
- dialog: x((p) => [
1191
+ dialog: x((f) => [
1192
1192
  o("div", Ds, [
1193
- g(J, j(d(p), {
1193
+ g(J, j(d(f), {
1194
1194
  type: "datetime-local",
1195
1195
  onChange: c
1196
1196
  }), null, 16)
@@ -1201,7 +1201,7 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1201
1201
  };
1202
1202
  }
1203
1203
  }), Is = { class: "flex justify-end" }, Hs = { class: "flex justify-end" }, js = {
1204
- class: /* @__PURE__ */ B("text-blue-600 dark:text-blue-400")
1204
+ class: /* @__PURE__ */ T("text-blue-600 dark:text-blue-400")
1205
1205
  }, Ps = {
1206
1206
  width: "30",
1207
1207
  height: "30",
@@ -1229,29 +1229,29 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1229
1229
  emits: ["edit", "close", "click", "clone", "open", "setState"],
1230
1230
  setup(e, { emit: n }) {
1231
1231
  const l = e, s = n, t = E(0), r = ({ opts: i, value: u }) => Math.round(100 * +u / ((i == null ? void 0 : i.max) || 255)), c = ({ opts: i, value: u }) => Math.round(187 - +u / ((i == null ? void 0 : i.max) || 255) * 187), d = ({ value: i, opts: u }) => {
1232
- const { min: p = 0, max: b = 255, step: h = 1, disabled: y } = u || {};
1233
- return { min: p, max: b, step: h, value: i, disabled: !!y, class: y ? "" : "cursor-pointer" };
1232
+ const { min: f = 0, max: b = 255, step: h = 1, disabled: y } = u || {};
1233
+ return { min: f, max: b, step: h, value: i, disabled: !!y, class: y ? "" : "cursor-pointer" };
1234
1234
  }, m = (i) => s("setState", +i.target.value || 0), a = ({ value: i }) => {
1235
1235
  +i != 0 ? (t.value = +i, s("setState", 0)) : s("setState", i ? 0 : t.value || 255);
1236
1236
  };
1237
- return (i, u) => (f(), D(ae, j(l, {
1238
- onClick: u[0] || (u[0] = (p) => s("click", p)),
1239
- onEdit: u[1] || (u[1] = (p) => s("edit", p)),
1240
- onClone: u[2] || (u[2] = (p) => s("clone", p))
1237
+ return (i, u) => (p(), I(ae, j(l, {
1238
+ onClick: u[0] || (u[0] = (f) => s("click", f)),
1239
+ onEdit: u[1] || (u[1] = (f) => s("edit", f)),
1240
+ onClone: u[2] || (u[2] = (f) => s("clone", f))
1241
1241
  }), {
1242
- icon: x((p) => [
1243
- k(i.$slots, "icon", K(R(p)))
1242
+ icon: x((f) => [
1243
+ k(i.$slots, "icon", K(R(f)))
1244
1244
  ]),
1245
- header: x((p) => [
1245
+ header: x((f) => [
1246
1246
  o("div", Is, [
1247
1247
  o("div", Hs, [
1248
- g(A, j(d(p), {
1248
+ g(A, j(d(f), {
1249
1249
  type: "icon",
1250
- onClick: F((b) => a(p), ["stop"])
1250
+ onClick: F((b) => a(f), ["stop"])
1251
1251
  }), {
1252
1252
  default: x(() => [
1253
1253
  o("div", js, [
1254
- (f(), v("svg", Ps, [
1254
+ (p(), v("svg", Ps, [
1255
1255
  u[3] || (u[3] = o("circle", {
1256
1256
  class: "stroke-gray-300 dark:stroke-gray-700",
1257
1257
  r: "30",
@@ -1267,7 +1267,7 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1267
1267
  stroke: "currentColor",
1268
1268
  "stroke-width": "8",
1269
1269
  "stroke-linecap": "butt",
1270
- "stroke-dashoffset": c(p),
1270
+ "stroke-dashoffset": c(f),
1271
1271
  fill: "transparent",
1272
1272
  "stroke-dasharray": "187"
1273
1273
  }, null, 8, Ns)
@@ -1279,17 +1279,17 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1279
1279
  ])
1280
1280
  ])
1281
1281
  ]),
1282
- dialog: x((p) => [
1282
+ dialog: x((f) => [
1283
1283
  o("div", {
1284
- class: B(["flex justify-center relative mx-2 my-6", d(p).disabled ? "opacity-40" : ""])
1284
+ class: T(["flex justify-center relative mx-2 my-6", d(f).disabled ? "opacity-40" : ""])
1285
1285
  }, [
1286
1286
  u[4] || (u[4] = o("div", { class: "absolute h-10 w-full top-0 left-0 bg-gray-400 dark:bg-gray-700 z-0 rounded-md" }, null, -1)),
1287
1287
  o("div", {
1288
1288
  class: "absolute h-10 top-0 left-0 bg-blue-600 dark:bg-blue-400 z-0 rounded-md transition-[width_0.3s_linear]",
1289
- style: ve(`width: ${r(p)}%`)
1289
+ style: ve(`width: ${r(f)}%`)
1290
1290
  }, null, 4),
1291
- o("div", Os, _(r(p)) + " %", 1),
1292
- o("input", j({ type: "range" }, d(p), {
1291
+ o("div", Os, _(r(f)) + " %", 1),
1292
+ o("input", j({ type: "range" }, d(f), {
1293
1293
  class: "w-full h-10 z-10 appearance-none opacity-0",
1294
1294
  onChange: m
1295
1295
  }), null, 16)
@@ -1319,7 +1319,7 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1319
1319
  emits: ["edit", "close", "click", "clone", "open", "setState"],
1320
1320
  setup(e, { emit: n }) {
1321
1321
  const l = e, s = n;
1322
- return (t, r) => (f(), D(ae, j(l, {
1322
+ return (t, r) => (p(), I(ae, j(l, {
1323
1323
  onClick: r[0] || (r[0] = (c) => s("click", c)),
1324
1324
  onEdit: r[1] || (r[1] = (c) => s("edit", c)),
1325
1325
  onClone: r[2] || (r[2] = (c) => s("clone", c))
@@ -1364,7 +1364,7 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1364
1364
  }
1365
1365
  ), (d, m) => {
1366
1366
  const a = Re;
1367
- return f(), D(ae, j(l, {
1367
+ return p(), I(ae, j(l, {
1368
1368
  onClick: m[1] || (m[1] = (i) => s("click", i)),
1369
1369
  onEdit: m[2] || (m[2] = (i) => s("edit", i)),
1370
1370
  onClone: m[3] || (m[3] = (i) => s("clone", i))
@@ -1398,14 +1398,14 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1398
1398
  height: "1.2em"
1399
1399
  };
1400
1400
  function Rs(e, n) {
1401
- return f(), v("svg", Ks, [...n[0] || (n[0] = [
1401
+ return p(), v("svg", Ks, [...n[0] || (n[0] = [
1402
1402
  o("path", {
1403
1403
  fill: "currentColor",
1404
1404
  d: "M8 4h13v2H8zm-5-.5h3v3H3zm0 7h3v3H3zm0 7h3v3H3zM8 11h13v2H8zm0 7h13v2H8z"
1405
1405
  }, null, -1)
1406
1406
  ])]);
1407
1407
  }
1408
- const Fs = O({ name: "ri-list-check", render: Rs }), Ws = { class: "flex justify-center py-4" }, Ba = /* @__PURE__ */ M({
1408
+ const Fs = O({ name: "ri-list-check", render: Rs }), Ws = { class: "flex justify-center py-4" }, Ea = /* @__PURE__ */ M({
1409
1409
  __name: "CardList",
1410
1410
  props: {
1411
1411
  size: {},
@@ -1430,12 +1430,12 @@ const Fs = O({ name: "ri-list-check", render: Rs }), Ws = { class: "flex justify
1430
1430
  return Array.isArray(d == null ? void 0 : d.items) && ((a = d == null ? void 0 : d.items.find((i) => i.value == m)) == null ? void 0 : a.name) || m;
1431
1431
  }, c = ({ name: d, value: m, opts: a = {} }) => {
1432
1432
  var b;
1433
- const { items: i = [], disabled: u } = a, p = ((b = i.find((h) => h.value == m)) == null ? void 0 : b.name) || m;
1434
- return { label: d, modelValue: p, items: i, disabled: !!u };
1433
+ const { items: i = [], disabled: u } = a, f = ((b = i.find((h) => h.value == m)) == null ? void 0 : b.name) || m;
1434
+ return { label: d, modelValue: f, items: i, disabled: !!u };
1435
1435
  };
1436
1436
  return (d, m) => {
1437
1437
  const a = Fs;
1438
- return f(), D(ae, j(l, {
1438
+ return p(), I(ae, j(l, {
1439
1439
  onClick: m[1] || (m[1] = (i) => s("click", i)),
1440
1440
  onEdit: m[2] || (m[2] = (i) => s("edit", i)),
1441
1441
  onClone: m[3] || (m[3] = (i) => s("clone", i))
@@ -1495,7 +1495,7 @@ const Fs = O({ name: "ri-list-check", render: Rs }), Ws = { class: "flex justify
1495
1495
  height: "1.2em"
1496
1496
  };
1497
1497
  function Gs(e, n) {
1498
- return f(), v("svg", qs, [...n[0] || (n[0] = [
1498
+ return p(), v("svg", qs, [...n[0] || (n[0] = [
1499
1499
  o("path", {
1500
1500
  fill: "currentColor",
1501
1501
  d: "M15.5 5a3.5 3.5 0 1 0 0 7a3.5 3.5 0 0 0 0-7M10 8.5a5.5 5.5 0 1 1 10.032 3.117l2.675 2.676l-1.414 1.414l-2.675-2.675A5.5 5.5 0 0 1 10 8.5M3 4h5v2H3zm0 7h5v2H3zm18 7v2H3v-2z"
@@ -1508,7 +1508,7 @@ const Js = O({ name: "ri-menu-search-line", render: Gs }), Zs = {
1508
1508
  height: "1.2em"
1509
1509
  };
1510
1510
  function Xs(e, n) {
1511
- return f(), v("svg", Zs, [...n[0] || (n[0] = [
1511
+ return p(), v("svg", Zs, [...n[0] || (n[0] = [
1512
1512
  o("path", {
1513
1513
  fill: "currentColor",
1514
1514
  d: "M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"
@@ -1525,23 +1525,23 @@ const ge = O({ name: "ri-add-line", render: Xs }), Ys = { class: "flex w-full re
1525
1525
  },
1526
1526
  emits: ["icon"],
1527
1527
  setup(e, { emit: n }) {
1528
- const l = n, s = T(() => e.active ? "top-0 left-3 text-xs" : "top-1/2"), t = T(() => [e.disabled ? "border-gray-400 opacity-40" : "border-gray-300 hover:border-gray-400 dark:border-gray-700/50 hover:dark:border-gray-600/50"]);
1528
+ const l = n, s = B(() => e.active ? "top-0 left-3 text-xs" : "top-1/2"), t = B(() => [e.disabled ? "border-gray-400 opacity-40" : "border-gray-300 hover:border-gray-400 dark:border-gray-700/50 hover:dark:border-gray-600/50"]);
1529
1529
  return (r, c) => {
1530
1530
  const d = ge;
1531
- return f(), v("div", Ys, [
1531
+ return p(), v("div", Ys, [
1532
1532
  o("div", {
1533
- class: B(["glass-inset relative flex min-h-[40px] w-full items-center rounded-md transition focus-within:border-primary/60", t.value])
1533
+ class: T(["glass-inset relative flex min-h-[40px] w-full items-center rounded-md transition focus-within:border-primary/60", t.value])
1534
1534
  }, [
1535
1535
  o("span", {
1536
- class: B(["absolute left-4 transition-all rounded -translate-y-1/2 text-gray-600 dark:text-gray-400", s.value])
1536
+ class: T(["absolute left-4 transition-all rounded -translate-y-1/2 text-gray-600 dark:text-gray-400", s.value])
1537
1537
  }, _(e.label), 3),
1538
1538
  o("div", Qs, [
1539
1539
  k(r.$slots, "default")
1540
1540
  ]),
1541
- e.hideIcon ? z("", !0) : (f(), v("button", {
1541
+ e.hideIcon ? z("", !0) : (p(), v("button", {
1542
1542
  key: 0,
1543
1543
  disabled: e.disabled,
1544
- class: B([{ "cursor-pointer": !e.disabled }, "h-full flex items-center justify-center text-gray-400 border-l border-gray-300 dark:border-gray-700/50 flex-[0_0_50px]"]),
1544
+ class: T([{ "cursor-pointer": !e.disabled }, "h-full flex items-center justify-center text-gray-400 border-l border-gray-300 dark:border-gray-700/50 flex-[0_0_50px]"]),
1545
1545
  onClick: c[0] || (c[0] = (m) => l("icon", m))
1546
1546
  }, [
1547
1547
  k(r.$slots, "icon", {}, () => [
@@ -1558,7 +1558,7 @@ const ge = O({ name: "ri-add-line", render: Xs }), Ys = { class: "flex w-full re
1558
1558
  height: "1.2em"
1559
1559
  };
1560
1560
  function nl(e, n) {
1561
- return f(), v("svg", tl, [...n[0] || (n[0] = [
1561
+ return p(), v("svg", tl, [...n[0] || (n[0] = [
1562
1562
  o("path", {
1563
1563
  fill: "currentColor",
1564
1564
  d: "M7 6V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3v3c0 .552-.45 1-1.007 1H4.007A1 1 0 0 1 3 21l.003-14c0-.552.45-1 1.006-1zM5.002 8L5 20h10V8zM9 6h8v10h2V4H9z"
@@ -1571,7 +1571,7 @@ const sl = O({ name: "ri-file-copy-line", render: nl }), ll = {
1571
1571
  height: "1.2em"
1572
1572
  };
1573
1573
  function ol(e, n) {
1574
- return f(), v("svg", ll, [...n[0] || (n[0] = [
1574
+ return p(), v("svg", ll, [...n[0] || (n[0] = [
1575
1575
  o("path", {
1576
1576
  fill: "currentColor",
1577
1577
  d: "M2 4a1 1 0 0 1 1-1h7.414l2 2H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3c-.55 0-1-.45-1-1zm8.586 2l-1-1H4v2h5.586zM4 9v10h16V7h-7.586l-2 2z"
@@ -1595,25 +1595,25 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1595
1595
  setup(e, { emit: n }) {
1596
1596
  const l = n, s = () => "before:absolute before:w-full before:h-8 before:t-0 before:left-0 before:border-b before:border-gray-200 dark:before:border-gray-800/50 hover:before:bg-gray-400/10", t = E({}), { text: r, copy: c, copied: d, isSupported: m } = _t(), a = (b) => {
1597
1597
  t.value[b] = !t.value[b];
1598
- }, i = (b) => typeof b == "object", u = (b) => `${e.path ? e.path + "." : ""}${b}`, p = (b, h) => {
1598
+ }, i = (b) => typeof b == "object", u = (b) => `${e.path ? e.path + "." : ""}${b}`, f = (b, h) => {
1599
1599
  l("click", { key: b, path: u(b), isObject: h });
1600
1600
  };
1601
1601
  return (b, h) => {
1602
1602
  const y = al, S = sl, V = ge;
1603
- return f(), v("ul", null, [
1604
- (f(!0), v(L, null, N(e.items, (w, P) => (f(), v("li", {
1603
+ return p(), v("ul", null, [
1604
+ (p(!0), v(L, null, N(e.items, (w, P) => (p(), v("li", {
1605
1605
  key: P,
1606
- class: B(i(w) ? "" : `flex items-center ${s()}`)
1606
+ class: T(i(w) ? "" : `flex items-center ${s()}`)
1607
1607
  }, [
1608
1608
  o("div", {
1609
- class: B(["flex items-center cursor-pointer ps-2 h-8", i(w) ? `${s()}` : ""]),
1609
+ class: T(["flex items-center cursor-pointer ps-2 h-8", i(w) ? `${s()}` : ""]),
1610
1610
  onClick: (Z) => a(P)
1611
1611
  }, [
1612
- i(w) ? (f(), v("div", rl, [
1612
+ i(w) ? (p(), v("div", rl, [
1613
1613
  g(y, { class: "size-5" })
1614
1614
  ])) : z("", !0),
1615
1615
  o("div", dl, _(P), 1),
1616
- q(m) ? (f(), D(A, {
1616
+ q(m) ? (p(), I(A, {
1617
1617
  key: 1,
1618
1618
  class: "opacity-20 hover:opacity-70 transition-all",
1619
1619
  color: "transparent",
@@ -1625,11 +1625,11 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1625
1625
  ]),
1626
1626
  _: 1
1627
1627
  }, 8, ["onClick"])) : z("", !0),
1628
- q(r) === u(P) ? (f(), v("span", {
1628
+ q(r) === u(P) ? (p(), v("span", {
1629
1629
  key: 2,
1630
- class: B(["text-gray-500 transition-all duration-1000 text-sm", q(d) ? "opacity-100" : "opacity-0"])
1630
+ class: T(["text-gray-500 transition-all duration-1000 text-sm", q(d) ? "opacity-100" : "opacity-0"])
1631
1631
  }, _(b.$t("copied")), 3)) : z("", !0),
1632
- !e.onlyValue && i(w) ? (f(), v(L, { key: 3 }, [
1632
+ !e.onlyValue && i(w) ? (p(), v(L, { key: 3 }, [
1633
1633
  h[1] || (h[1] = o("div", { class: "flex-auto" }, null, -1)),
1634
1634
  o("div", cl, [
1635
1635
  g(A, {
@@ -1637,7 +1637,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1637
1637
  color: "transparent",
1638
1638
  size: "sm",
1639
1639
  title: b.$t("add"),
1640
- onClick: F((Z) => p(P, i(w)), ["stop"])
1640
+ onClick: F((Z) => f(P, i(w)), ["stop"])
1641
1641
  }, {
1642
1642
  default: x(() => [
1643
1643
  g(V, { class: "size-5" })
@@ -1647,7 +1647,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1647
1647
  ])
1648
1648
  ], 64)) : z("", !0)
1649
1649
  ], 10, il),
1650
- i(w) ? (f(), v("div", ul, [
1650
+ i(w) ? (p(), v("div", ul, [
1651
1651
  he(g(We, {
1652
1652
  class: "flex-auto",
1653
1653
  path: u(P),
@@ -1657,7 +1657,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1657
1657
  }, null, 8, ["path", "items", "onlyValue"]), [
1658
1658
  [st, t.value[P]]
1659
1659
  ])
1660
- ])) : (f(), v(L, { key: 1 }, [
1660
+ ])) : (p(), v(L, { key: 1 }, [
1661
1661
  h[2] || (h[2] = o("div", { class: "flex-auto gap-3" }, null, -1)),
1662
1662
  o("div", ml, _(w), 1),
1663
1663
  g(A, {
@@ -1665,7 +1665,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1665
1665
  color: "gray",
1666
1666
  size: "sm",
1667
1667
  title: b.$t("add"),
1668
- onClick: F((Z) => p(P, i(w)), ["stop"])
1668
+ onClick: F((Z) => f(P, i(w)), ["stop"])
1669
1669
  }, {
1670
1670
  default: x(() => [
1671
1671
  g(V, { class: "size-5" })
@@ -1677,7 +1677,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1677
1677
  ]);
1678
1678
  };
1679
1679
  }
1680
- }), fl = { class: "glass-inset rounded-md p-1" }, pl = { class: "flex gap-1" }, vl = ["onClick"], hl = { class: "px-4 py-2" }, gl = { class: "relative my-4" }, bl = { key: 0 }, xl = /* @__PURE__ */ M({
1680
+ }), pl = { class: "glass-inset rounded-md p-1" }, fl = { class: "flex gap-1" }, vl = ["onClick"], hl = { class: "px-4 py-2" }, gl = { class: "relative my-4" }, bl = { key: 0 }, xl = /* @__PURE__ */ M({
1681
1681
  __name: "VTabs",
1682
1682
  props: {
1683
1683
  value: {},
@@ -1693,10 +1693,10 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1693
1693
  return n({
1694
1694
  setActiveTab: c,
1695
1695
  activeTab: t
1696
- }), (d, m) => (f(), v("div", null, [
1697
- o("div", fl, [
1698
- o("div", pl, [
1699
- (f(!0), v(L, null, N(e.items, (a, i) => (f(), v("div", {
1696
+ }), (d, m) => (p(), v("div", null, [
1697
+ o("div", pl, [
1698
+ o("div", fl, [
1699
+ (p(!0), v(L, null, N(e.items, (a, i) => (p(), v("div", {
1700
1700
  key: i,
1701
1701
  class: "relative flex-auto"
1702
1702
  }, [
@@ -1706,7 +1706,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1706
1706
  onClick: (u) => c(i)
1707
1707
  }, [
1708
1708
  o("div", {
1709
- class: B([r(i), "rounded-md px-3 py-2 font-medium text-lg transition"])
1709
+ class: T([r(i), "rounded-md px-3 py-2 font-medium text-lg transition"])
1710
1710
  }, [
1711
1711
  k(d.$slots, "header", {
1712
1712
  tab: a,
@@ -1720,7 +1720,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1720
1720
  ])
1721
1721
  ]),
1722
1722
  o("div", gl, [
1723
- (f(!0), v(L, null, N(e.items, (a, i) => (f(), v("div", {
1723
+ (p(!0), v(L, null, N(e.items, (a, i) => (p(), v("div", {
1724
1724
  key: i,
1725
1725
  class: "tab-panel"
1726
1726
  }, [
@@ -1733,7 +1733,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1733
1733
  "leave-to-class": "transform opacity-0 -translate-x-2"
1734
1734
  }, {
1735
1735
  default: x(() => [
1736
- t.value === i ? (f(), v("div", bl, [
1736
+ t.value === i ? (p(), v("div", bl, [
1737
1737
  k(d.$slots, `tab-${i}`)
1738
1738
  ])) : z("", !0)
1739
1739
  ]),
@@ -1770,8 +1770,8 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1770
1770
  e.value && (t.value = e.value);
1771
1771
  }
1772
1772
  ), (m, a) => {
1773
- const i = ue, u = ge;
1774
- return f(), D(Fe, {
1773
+ const i = ce, u = ge;
1774
+ return p(), I(Fe, {
1775
1775
  active: !!e.value,
1776
1776
  disabled: e.disabled,
1777
1777
  label: e.label,
@@ -1779,22 +1779,22 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1779
1779
  onIcon: d
1780
1780
  }, {
1781
1781
  icon: x(() => [
1782
- e.value ? (f(), D(i, {
1782
+ e.value ? (p(), I(i, {
1783
1783
  key: 0,
1784
1784
  class: "size-4"
1785
- })) : (f(), D(u, {
1785
+ })) : (p(), I(u, {
1786
1786
  key: 1,
1787
1787
  class: "size-4"
1788
1788
  }))
1789
1789
  ]),
1790
1790
  default: x(() => [
1791
- e.value ? (f(), v(L, { key: 0 }, [
1791
+ e.value ? (p(), v(L, { key: 0 }, [
1792
1792
  o("div", yl, [
1793
1793
  a[3] || (a[3] = H(" ( ", -1)),
1794
- (f(!0), v(L, null, N(e.args, (p, b) => (f(), v(L, { key: p }, [
1794
+ (p(!0), v(L, null, N(e.args, (f, b) => (p(), v(L, { key: f }, [
1795
1795
  o("span", {
1796
1796
  class: "text-blue-400/80",
1797
- title: p,
1797
+ title: f,
1798
1798
  onMouseenter: (h) => l("hover", "enter", b),
1799
1799
  onMouseleave: (h) => l("hover", "leave", b)
1800
1800
  }, _(s[b]), 41, _l),
@@ -1804,12 +1804,12 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1804
1804
  ]),
1805
1805
  o("div", $l, [
1806
1806
  he(o("textarea", {
1807
- "onUpdate:modelValue": a[0] || (a[0] = (p) => t.value = p),
1807
+ "onUpdate:modelValue": a[0] || (a[0] = (f) => t.value = f),
1808
1808
  class: "outline-0 w-full resize-none field-sizing-content",
1809
1809
  type: "text",
1810
1810
  disabled: e.disabled,
1811
1811
  onInput: a[1] || (a[1] = //@ts-ignore
1812
- (...p) => q(c) && q(c)(...p))
1812
+ (...f) => q(c) && q(c)(...f))
1813
1813
  }, null, 40, kl), [
1814
1814
  [He, t.value]
1815
1815
  ])
@@ -1832,8 +1832,8 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1832
1832
  const c = r.target;
1833
1833
  l("update:modelValue", c.checked);
1834
1834
  }, t = (r) => l("click", r);
1835
- return (r, c) => (f(), v("label", {
1836
- class: B(["inline-flex items-center relative", { "cursor-pointer": !e.disabled }]),
1835
+ return (r, c) => (p(), v("label", {
1836
+ class: T(["inline-flex items-center relative", { "cursor-pointer": !e.disabled }]),
1837
1837
  onClick: t
1838
1838
  }, [
1839
1839
  o("input", {
@@ -1869,7 +1869,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1869
1869
  }, Tl = {
1870
1870
  key: 1,
1871
1871
  class: ""
1872
- }, Bl = { class: "flex flex-col md:flex-row gap-4" }, El = { class: "flex gap-4" }, Ll = { class: "flex justify-between flex-auto" }, Al = ["onClick"], Dl = /* @__PURE__ */ M({
1872
+ }, El = { class: "flex flex-col md:flex-row gap-4" }, Bl = { class: "flex gap-4" }, Ll = { class: "flex justify-between flex-auto" }, Al = ["onClick"], Dl = /* @__PURE__ */ M({
1873
1873
  __name: "ItemOptions",
1874
1874
  props: {
1875
1875
  min: { default: 0 },
@@ -1882,13 +1882,13 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1882
1882
  },
1883
1883
  emits: ["update"],
1884
1884
  setup(e, { emit: n }) {
1885
- const l = n, s = T(() => e.items.map((h, y) => ({ ...h, id: ++y }))), t = E({ name: "", value: "" }), r = T(() => e.items.length + 1), c = T(() => {
1885
+ const l = n, s = B(() => e.items.map((h, y) => ({ ...h, id: ++y }))), t = E({ name: "", value: "" }), r = B(() => e.items.length + 1), c = B(() => {
1886
1886
  var h;
1887
1887
  return !((h = t.value) != null && h.id);
1888
1888
  }), d = (h) => e.type === h, m = (h, y) => l("update", h, y), a = (h) => h.map(({ name: y, value: S }) => ({ name: y, value: S })), i = ({ id: h, name: y, value: S }) => t.value = { id: h, name: y, value: S }, u = () => {
1889
1889
  const h = r.value;
1890
1890
  t.value = { name: `New_${h}`, value: `${h}`, id: h }, m("items", a([...s.value, t.value]));
1891
- }, p = (h) => {
1891
+ }, f = (h) => {
1892
1892
  t.value.name === h.name && (t.value = { name: "", value: "" }), m("items", a(s.value.filter((y) => y.value !== h.value)));
1893
1893
  }, b = Me(() => {
1894
1894
  const h = t.value;
@@ -1897,8 +1897,8 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1897
1897
  m("items", a(y));
1898
1898
  }, 300);
1899
1899
  return (h, y) => {
1900
- const S = ue, V = ge;
1901
- return f(), v("div", zl, [
1900
+ const S = ce, V = ge;
1901
+ return p(), v("div", zl, [
1902
1902
  o("div", Sl, [
1903
1903
  g(Ml, {
1904
1904
  modelValue: e.disabled,
@@ -1910,7 +1910,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1910
1910
  _: 1
1911
1911
  }, 8, ["modelValue"])
1912
1912
  ]),
1913
- d("dimmer") ? (f(), v("div", Vl, [
1913
+ d("dimmer") ? (p(), v("div", Vl, [
1914
1914
  g(J, {
1915
1915
  modelValue: e.min,
1916
1916
  label: "Min",
@@ -1927,8 +1927,8 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1927
1927
  "onUpdate:modelValue": y[3] || (y[3] = (w) => m("step", +w))
1928
1928
  }, null, 8, ["modelValue"])
1929
1929
  ])) : z("", !0),
1930
- d("list") ? (f(), v("div", Tl, [
1931
- o("div", Bl, [
1930
+ d("list") ? (p(), v("div", Tl, [
1931
+ o("div", El, [
1932
1932
  g(J, {
1933
1933
  modelValue: t.value.name,
1934
1934
  "onUpdate:modelValue": [
@@ -1948,7 +1948,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1948
1948
  label: "Value"
1949
1949
  }, null, 8, ["modelValue", "disabled", "onUpdate:modelValue"])
1950
1950
  ]),
1951
- o("div", El, [
1951
+ o("div", Bl, [
1952
1952
  g(le, {
1953
1953
  "model-value": t.value.value,
1954
1954
  label: "List",
@@ -1962,7 +1962,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1962
1962
  o("span", null, _(w.name), 1),
1963
1963
  o("button", {
1964
1964
  class: "cursor-pointer size-4",
1965
- onClick: F((P) => p(w), ["prevent", "stop"])
1965
+ onClick: F((P) => f(w), ["prevent", "stop"])
1966
1966
  }, [
1967
1967
  g(S)
1968
1968
  ], 8, Al)
@@ -1985,7 +1985,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1985
1985
  ]);
1986
1986
  };
1987
1987
  }
1988
- }), Il = { class: "flex flex-col" }, Hl = { class: "flex flex-col md:flex-row gap-6 min-h-[300px]" }, jl = { class: "flex-auto order-1" }, Pl = { class: "flex-auto gap-x-2 order-1" }, Nl = { class: "grid grid-cols-1 md:grid-cols-2 gap-6" }, Ol = { class: "flex gap-2 items-center" }, Ul = { class: "flex flex-col gap-4" }, Kl = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, Rl = { class: "relative group" }, Fl = { class: "select-none" }, Wl = ["onClick"], ql = { class: "flex justify-center order-0 md:order-1 md:mt-11" }, Gl = { class: "flex-[0_0_130px] size-[130px]" }, Jl = { class: "flex gap-4 justify-end" }, Zl = { class: "relative min-h-[200px] max-h-100dvh overflow-auto scrollbar" }, Ea = /* @__PURE__ */ M({
1988
+ }), Il = { class: "flex flex-col" }, Hl = { class: "flex flex-col md:flex-row gap-6 min-h-[300px]" }, jl = { class: "flex-auto order-1" }, Pl = { class: "flex-auto gap-x-2 order-1" }, Nl = { class: "grid grid-cols-1 md:grid-cols-2 gap-6" }, Ol = { class: "flex gap-2 items-center" }, Ul = { class: "flex flex-col gap-4" }, Kl = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, Rl = { class: "relative group" }, Fl = { class: "select-none" }, Wl = ["onClick"], ql = { class: "flex justify-center order-0 md:order-1 md:mt-11" }, Gl = { class: "flex-[0_0_130px] size-[130px]" }, Jl = { class: "flex gap-4 justify-end" }, Zl = { class: "relative min-h-[200px] max-h-100dvh overflow-auto scrollbar" }, Ba = /* @__PURE__ */ M({
1989
1989
  __name: "ItemEdit",
1990
1990
  props: {
1991
1991
  items: {},
@@ -2006,20 +2006,20 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2006
2006
  set: "",
2007
2007
  get: "",
2008
2008
  getTo: ""
2009
- }), r = E(!1), c = T(() => {
2009
+ }), r = E(!1), c = B(() => {
2010
2010
  var $;
2011
2011
  return !(($ = e.item) != null && $.id);
2012
- }), d = T(() => !!e.items.filter(($) => {
2012
+ }), d = B(() => !!e.items.filter(($) => {
2013
2013
  var C;
2014
2014
  return $.id !== ((C = e.item) == null ? void 0 : C.id);
2015
- }).find(($) => $.id === (t == null ? void 0 : t.value.id))), m = T(() => t.value.type === "info"), a = T(() => {
2015
+ }).find(($) => $.id === (t == null ? void 0 : t.value.id))), m = B(() => t.value.type === "info"), a = B(() => {
2016
2016
  var $;
2017
2017
  return ($ = t.value.args) == null ? void 0 : $.length;
2018
- }), i = T(() => t.value.args.length > 3), u = T(() => {
2018
+ }), i = B(() => t.value.args.length > 3), u = B(() => {
2019
2019
  if (d.value) return !0;
2020
2020
  const { id: $, args: C } = t.value;
2021
2021
  return !$ || !C.length;
2022
- }), p = ({ value: $ }) => t.value.icon = $, b = ({ value: $ }) => {
2022
+ }), f = ({ value: $ }) => t.value.icon = $, b = ({ value: $ }) => {
2023
2023
  const C = $;
2024
2024
  t.value.type = C, delete t.value.opts, ["button", "list", "dimmer"].includes(C) && ($ === "button" && (t.value.opts = {}), $ === "list" && (t.value.opts = { items: [] }), $ === "dimmer" && (t.value.opts = { min: 0, max: 255, step: 1 }));
2025
2025
  }, h = ($) => {
@@ -2039,8 +2039,8 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2039
2039
  var $;
2040
2040
  ($ = e.item) != null && $.id && (t.value = bt(e.item));
2041
2041
  }), ($, C) => {
2042
- const et = Js, tt = ue;
2043
- return f(), v("div", Il, [
2042
+ const et = Js, tt = ce;
2043
+ return p(), v("div", Il, [
2044
2044
  o("div", Hl, [
2045
2045
  o("div", jl, [
2046
2046
  g(xl, {
@@ -2052,7 +2052,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2052
2052
  o("div", Pl, [
2053
2053
  g(J, {
2054
2054
  modelValue: t.value.id,
2055
- "onUpdate:modelValue": C[0] || (C[0] = (I) => t.value.id = I),
2055
+ "onUpdate:modelValue": C[0] || (C[0] = (D) => t.value.id = D),
2056
2056
  label: "ID",
2057
2057
  message: d.value ? $.$t("used") : ""
2058
2058
  }, lt({ _: 2 }, [
@@ -2074,7 +2074,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2074
2074
  ]), 1032, ["modelValue", "message"]),
2075
2075
  g(J, {
2076
2076
  modelValue: t.value.name,
2077
- "onUpdate:modelValue": C[1] || (C[1] = (I) => t.value.name = I),
2077
+ "onUpdate:modelValue": C[1] || (C[1] = (D) => t.value.name = D),
2078
2078
  label: "Name"
2079
2079
  }, null, 8, ["modelValue"]),
2080
2080
  o("div", Nl, [
@@ -2085,14 +2085,14 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2085
2085
  label: "Icon",
2086
2086
  class: "mb-6",
2087
2087
  items: e.listIcons,
2088
- onChange: p
2088
+ onChange: f
2089
2089
  }, {
2090
- item: x(({ item: I }) => [
2090
+ item: x(({ item: D }) => [
2091
2091
  o("div", Ol, [
2092
2092
  k($.$slots, "icon", {
2093
- icon: I.value
2093
+ icon: D.value
2094
2094
  }),
2095
- o("div", null, _(I.name), 1)
2095
+ o("div", null, _(D.name), 1)
2096
2096
  ])
2097
2097
  ]),
2098
2098
  _: 3
@@ -2114,26 +2114,26 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2114
2114
  active: !!t.value.args.length,
2115
2115
  disabled: i.value,
2116
2116
  label: "Arguments",
2117
- onIcon: C[2] || (C[2] = (I) => r.value = !0)
2117
+ onIcon: C[2] || (C[2] = (D) => r.value = !0)
2118
2118
  }, {
2119
2119
  default: x(() => [
2120
2120
  o("div", Kl, [
2121
- (f(!0), v(L, null, N(t.value.args, (I, Ve) => (f(), v("div", {
2122
- key: I,
2121
+ (p(!0), v(L, null, N(t.value.args, (D, Ve) => (p(), v("div", {
2122
+ key: D,
2123
2123
  class: "flex items-center rounded-full bg-gray-200 dark:bg-gray-900/50 px-2 py-[2px] text-xs"
2124
2124
  }, [
2125
2125
  o("div", Rl, [
2126
- o("span", Fl, _(I), 1),
2126
+ o("span", Fl, _(D), 1),
2127
2127
  o("div", {
2128
- class: B(["fixed left-1/2 top-1/2 p-4 text-white bg-gray-900 rounded-md group-hover:visible invisible opacity-0 group-hover:opacity-100 z-50 transition-all -translate-1/2", P(Ve) ? "visible opacity-100" : ""])
2128
+ class: T(["fixed left-1/2 top-1/2 p-4 text-white bg-gray-900 rounded-md group-hover:visible invisible opacity-0 group-hover:opacity-100 z-50 transition-all -translate-1/2", P(Ve) ? "visible opacity-100" : ""])
2129
2129
  }, [
2130
- o("pre", null, _(q(kt)(I, e.object)), 1)
2130
+ o("pre", null, _(q(kt)(D, e.object)), 1)
2131
2131
  ], 2)
2132
2132
  ]),
2133
- Ve || t.value.args.length < 2 ? (f(), v("button", {
2133
+ Ve || t.value.args.length < 2 ? (p(), v("button", {
2134
2134
  key: 0,
2135
2135
  class: "cursor-pointer ms-1",
2136
- onClick: (aa) => S(I)
2136
+ onClick: (aa) => S(D)
2137
2137
  }, [
2138
2138
  g(tt, { class: "size-5" })
2139
2139
  ], 8, Wl)) : z("", !0)
@@ -2147,27 +2147,27 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2147
2147
  args: t.value.args,
2148
2148
  disabled: !a.value || m.value,
2149
2149
  label: "Set",
2150
- onIcon: C[3] || (C[3] = (I) => h("set")),
2150
+ onIcon: C[3] || (C[3] = (D) => h("set")),
2151
2151
  onHover: Z,
2152
- onChange: C[4] || (C[4] = (I) => be("set", I))
2152
+ onChange: C[4] || (C[4] = (D) => be("set", D))
2153
2153
  }, null, 8, ["value", "args", "disabled"]),
2154
2154
  g(xe, {
2155
2155
  value: t.value.get,
2156
2156
  args: t.value.args,
2157
2157
  disabled: !a.value,
2158
2158
  label: "Get",
2159
- onIcon: C[5] || (C[5] = (I) => h("get")),
2159
+ onIcon: C[5] || (C[5] = (D) => h("get")),
2160
2160
  onHover: Z,
2161
- onChange: C[6] || (C[6] = (I) => be("get", I))
2161
+ onChange: C[6] || (C[6] = (D) => be("get", D))
2162
2162
  }, null, 8, ["value", "args", "disabled"]),
2163
2163
  g(xe, {
2164
2164
  value: t.value.getTo,
2165
2165
  args: t.value.args,
2166
2166
  disabled: !a.value,
2167
2167
  label: "GetTo",
2168
- onIcon: C[7] || (C[7] = (I) => h("getTo")),
2168
+ onIcon: C[7] || (C[7] = (D) => h("getTo")),
2169
2169
  onHover: Z,
2170
- onChange: C[8] || (C[8] = (I) => be("getTo", I))
2170
+ onChange: C[8] || (C[8] = (D) => be("getTo", D))
2171
2171
  }, null, 8, ["value", "args", "disabled"])
2172
2172
  ])
2173
2173
  ]),
@@ -2192,7 +2192,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2192
2192
  class: "px-4",
2193
2193
  color: "blue",
2194
2194
  disabled: u.value,
2195
- onClick: C[9] || (C[9] = (I) => y(c.value ? "add" : "save"))
2195
+ onClick: C[9] || (C[9] = (D) => y(c.value ? "add" : "save"))
2196
2196
  }, {
2197
2197
  default: x(() => [
2198
2198
  H(_(c.value ? $.$t("add") : $.$t("save")), 1)
@@ -2203,7 +2203,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2203
2203
  class: "px-4",
2204
2204
  color: "red",
2205
2205
  outline: "",
2206
- onClick: C[10] || (C[10] = (I) => y("remove"))
2206
+ onClick: C[10] || (C[10] = (D) => y("remove"))
2207
2207
  }, {
2208
2208
  default: x(() => [
2209
2209
  H(_($.$t("remove")), 1)
@@ -2211,11 +2211,11 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2211
2211
  _: 1
2212
2212
  })
2213
2213
  ]),
2214
- r.value ? (f(), D(Oe, {
2214
+ r.value ? (p(), I(Oe, {
2215
2215
  key: 0,
2216
2216
  size: "md",
2217
2217
  title: $.$t("select"),
2218
- onClose: C[11] || (C[11] = (I) => r.value = !1)
2218
+ onClose: C[11] || (C[11] = (D) => r.value = !1)
2219
2219
  }, {
2220
2220
  default: x(() => [
2221
2221
  o("div", Zl, [
@@ -2232,7 +2232,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2232
2232
  };
2233
2233
  }
2234
2234
  }), Te = { position: "relative", boxSizing: "border-box", overflow: "hidden", fontSize: "16px", fontFamily: 'Menlo, Consolas, "Liberation Mono", Monaco, "Lucida Console", monospace' }, Xl = { lineHeight: "inherit", whiteSpace: "pre-wrap", wordBreak: "keep-all", overflowWrap: "break-word", background: "none", position: "absolute", width: "100%", height: "100%", zIndex: "1", resize: "none", caretColor: "currentColor", padding: "inherit", outline: "none", fontSize: "inherit", fontFamily: "inherit", letterSpacing: "inherit", boxSizing: "border-box", border: "none", top: "0px", left: "0px", color: "inherit", overflow: "hidden", "-webkit-font-smoothing": "antialiased", "-webkit-text-fill-color": "transparent" }, Yl = { lineHeight: "inherit", position: "relative", whiteSpace: "pre-wrap", wordBreak: "keep-all", padding: "0", width: "100%", margin: "0", pointerEvents: "none", boxSizing: "border-box", overflowWrap: "break-word", fontFamily: "inherit" }, Ql = { lineHeight: "inherit", position: "absolute", width: "100%", height: "100%", whiteSpace: "pre-wrap", wordBreak: "keep-all", padding: "inherit", margin: "0", top: "0px", left: "0px", pointerEvents: "none", boxSizing: "border-box", overflowWrap: "break-word", fontFamily: "inherit" }, qe = (e) => Ge(e);
2235
- function Be(e) {
2235
+ function Ee(e) {
2236
2236
  const n = Array.isArray(e) ? e : [e];
2237
2237
  return n.length === 0 ? qe : (l) => n.reduce((s, t, r) => t(s, { html: r > 0 }), l);
2238
2238
  }
@@ -2241,7 +2241,7 @@ class eo {
2241
2241
  if (this.lines = null, !n) throw new Error("selector is not defined");
2242
2242
  if (this.root = n instanceof Node ? n : document.querySelector(n), !this.root) throw new Error(`element with "${n}" selector is not exist`);
2243
2243
  const s = { value: "", styles: {}, plugins: [], highlighter: qe }, { highlighters: t, ...r } = l;
2244
- this.options = { ...s, ...r, highlighter: t ? Be(t) : s.highlighter }, this.options.value = this.options.value == null ? "" : String(this.options.value), this.init();
2244
+ this.options = { ...s, ...r, highlighter: t ? Ee(t) : s.highlighter }, this.options.value = this.options.value == null ? "" : String(this.options.value), this.init();
2245
2245
  }
2246
2246
  init() {
2247
2247
  this.textarea = document.createElement("textarea"), this.textarea.setAttribute("spellcheck", "false"), this.textarea.setAttribute("autocapitalize", "off"), this.textarea.setAttribute("autocorrect", "off"), this.textarea.setAttribute("autocomplete", "off"), this.pre = document.createElement("pre");
@@ -2272,13 +2272,13 @@ class eo {
2272
2272
  updateOptions(n) {
2273
2273
  if (!this.textarea) return;
2274
2274
  const { highlighters: l, ...s } = n;
2275
- if (this.options = { ...this.options, ...s, highlighter: l ? Be(l) : this.options.highlighter }, n.styles) {
2275
+ if (this.options = { ...this.options, ...s, highlighter: l ? Ee(l) : this.options.highlighter }, n.styles) {
2276
2276
  const t = this.root.style;
2277
2277
  Object.keys(n.styles).forEach((r) => {
2278
2278
  r in this.initialRootStyles || (this.initialRootStyles[r] = t[r] || "");
2279
2279
  }), Object.assign(this.root.style, n.styles), ("paddingLeft" in n.styles || "padding" in n.styles) && (this.basePaddingLeft = this.root.style.paddingLeft || "");
2280
2280
  }
2281
- this.lines && !this.options.lineNumbers && (me(this.lines), this.lines = null, this.root.style.paddingLeft = this.basePaddingLeft), n.value != null && this.update({ value: n.value }), this.render();
2281
+ this.lines && !this.options.lineNumbers && (ue(this.lines), this.lines = null, this.root.style.paddingLeft = this.basePaddingLeft), n.value != null && this.update({ value: n.value }), this.render();
2282
2282
  }
2283
2283
  render() {
2284
2284
  const n = this.options.highlighter(this.value);
@@ -2293,21 +2293,21 @@ class eo {
2293
2293
  `);
2294
2294
  }
2295
2295
  destroy() {
2296
- this.textarea && (this.textarea.removeEventListener("input", this.handleEvent), this.textarea.removeEventListener("keydown", this.handleEvent), this.textarea.removeEventListener("compositionend", this.handleEvent), me(this.textarea), me(this.pre), me(this.lines), Object.assign(this.root.style, this.initialRootStyles), Object.assign(this, { textarea: null, pre: null, lines: null, updateCallback: null, handleEvent: null, initialRootStyles: null, options: null, root: null }));
2296
+ this.textarea && (this.textarea.removeEventListener("input", this.handleEvent), this.textarea.removeEventListener("keydown", this.handleEvent), this.textarea.removeEventListener("compositionend", this.handleEvent), ue(this.textarea), ue(this.pre), ue(this.lines), Object.assign(this.root.style, this.initialRootStyles), Object.assign(this, { textarea: null, pre: null, lines: null, updateCallback: null, handleEvent: null, initialRootStyles: null, options: null, root: null }));
2297
2297
  }
2298
2298
  onUpdate(n) {
2299
2299
  this.updateCallback = n;
2300
2300
  }
2301
2301
  }
2302
- function me(e) {
2302
+ function ue(e) {
2303
2303
  e && e.parentNode && e.parentNode.removeChild(e);
2304
2304
  }
2305
2305
  function Ge(e) {
2306
2306
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#039;");
2307
2307
  }
2308
- const Ee = { alt: "altKey", control: "ctrlKey", ctrl: "ctrlKey", meta: "metaKey", shift: "shiftKey", "ctrl/cmd": typeof window < "u" && window.navigator && /Mac|iPod|iPhone|iPad/.test(window.navigator.platform) ? "metaKey" : "ctrlKey" }, to = { add: "=" }, no = { ";": "semicolon", "=": "equal", ",": "comma", "-": "minus", ".": "period", "/": "slash", "`": "backquote", "[": "bracketleft", "\\": "backslash", "]": "bracketright", "'": "quote" };
2309
- function de(e, n) {
2310
- const l = e.split("+").reduce((m, a) => Ee[a] ? (m.modifiers[Ee[a]] = !0, m) : { ...m, key: to[a] || a.toLowerCase() }, { modifiers: { altKey: !1, ctrlKey: !1, metaKey: !1, shiftKey: !1 }, key: null }), s = Object.keys(l.modifiers).every((m) => l.modifiers[m] ? n[m] : !n[m]);
2308
+ const Be = { alt: "altKey", control: "ctrlKey", ctrl: "ctrlKey", meta: "metaKey", shift: "shiftKey", "ctrl/cmd": typeof window < "u" && window.navigator && /Mac|iPod|iPhone|iPad/.test(window.navigator.platform) ? "metaKey" : "ctrlKey" }, to = { add: "=" }, no = { ";": "semicolon", "=": "equal", ",": "comma", "-": "minus", ".": "period", "/": "slash", "`": "backquote", "[": "bracketleft", "\\": "backslash", "]": "bracketright", "'": "quote" };
2309
+ function re(e, n) {
2310
+ const l = e.split("+").reduce((m, a) => Be[a] ? (m.modifiers[Be[a]] = !0, m) : { ...m, key: to[a] || a.toLowerCase() }, { modifiers: { altKey: !1, ctrlKey: !1, metaKey: !1, shiftKey: !1 }, key: null }), s = Object.keys(l.modifiers).every((m) => l.modifiers[m] ? n[m] : !n[m]);
2311
2311
  if (!l.key) return s;
2312
2312
  const t = n.key != null && n.key.toLowerCase() === l.key, r = (c = l.key, /^[a-z]$/.test(c) ? `key${c}` : /^[0-9]$/.test(c) ? `digit${c}` : no[c] || null);
2313
2313
  var c;
@@ -2321,21 +2321,21 @@ function so(e = {}) {
2321
2321
  s = s.slice(0, t + 1), s.push(d), s.length > n && (s = s.slice(s.length - n)), t = s.length - 1;
2322
2322
  };
2323
2323
  return (d, m) => {
2324
- const a = m.type === "keydown" && de("ctrl/cmd+z", m), i = m.type === "keydown" && (de("ctrl/cmd+shift+z", m) || de("ctrl+y", m));
2324
+ const a = m.type === "keydown" && re("ctrl/cmd+z", m), i = m.type === "keydown" && (re("ctrl/cmd+shift+z", m) || re("ctrl+y", m));
2325
2325
  if ((a || i) && m.preventDefault(), t === null) return s = [d], void (t = 0);
2326
2326
  if (a) return r = null, s[t].value !== d.value ? c(d) : s[t] = d, t = Math.max(0, t - 1), s[t];
2327
2327
  if (i) return r = null, s[t].value !== d.value ? void c(d) : (t = Math.min(s.length - 1, t + 1), s[t]);
2328
2328
  if (m.type === "keydown") return s[t].value !== d.value ? (r = null, void c(d)) : void (s[t] = d);
2329
2329
  if (m.type === "input") {
2330
- const u = m.timeStamp, p = u != null && r != null && u - r <= l;
2331
- if (r = u ?? null, p) return void (s[t] = d);
2330
+ const u = m.timeStamp, f = u != null && r != null && u - r <= l;
2331
+ if (r = u ?? null, f) return void (s[t] = d);
2332
2332
  c(d);
2333
2333
  }
2334
2334
  };
2335
2335
  }
2336
2336
  const lo = () => (e, n) => {
2337
2337
  const { value: l, selectionStart: s, selectionEnd: t } = e;
2338
- if (!de("enter", n) || n.type !== "keydown") return;
2338
+ if (!re("enter", n) || n.type !== "keydown") return;
2339
2339
  const r = l.substring(0, s).split(`
2340
2340
  `).pop(), c = /^\s+/.exec(r);
2341
2341
  if (!c) return;
@@ -2357,11 +2357,11 @@ const lo = () => (e, n) => {
2357
2357
  const i = l.substring(r, d).trimEnd();
2358
2358
  if (i.endsWith(";") || i.length === 0)
2359
2359
  return;
2360
- const u = l.slice(0, d) + ";" + l.slice(d), p = s + 1;
2360
+ const u = l.slice(0, d) + ";" + l.slice(d), f = s + 1;
2361
2361
  return {
2362
2362
  value: u,
2363
- selectionStart: p,
2364
- selectionEnd: p
2363
+ selectionStart: f,
2364
+ selectionEnd: f
2365
2365
  };
2366
2366
  };
2367
2367
  let ze = [], W = null, U = 0, X = [], ee = null, te = null, Se, Je, G = null, se = null;
@@ -2372,7 +2372,7 @@ const ao = (e) => {
2372
2372
  return ze = [...n].map((a) => c(a)), Se = d, Je = m, (a, i) => {
2373
2373
  if (typeof KeyboardEvent > "u" || !(i instanceof KeyboardEvent))
2374
2374
  return;
2375
- const { value: u, selectionStart: p } = a, b = i.target;
2375
+ const { value: u, selectionStart: f } = a, b = i.target;
2376
2376
  if (te = b, r.enabled !== !1 && !b.dataset.tooltipInitialized && (b.dataset.tooltipInitialized = "true", b.addEventListener("mouseup", () => {
2377
2377
  setTimeout(() => Le(b), 100);
2378
2378
  }), b.addEventListener("keyup", () => {
@@ -2400,7 +2400,7 @@ const ao = (e) => {
2400
2400
  case "Backspace":
2401
2401
  setTimeout(() => {
2402
2402
  if (te) {
2403
- const h = te.value, y = te.selectionStart, S = pe(h, y), V = h.slice(S, y);
2403
+ const h = te.value, y = te.selectionStart, S = fe(h, y), V = h.slice(S, y);
2404
2404
  if (V.length < l)
2405
2405
  Y();
2406
2406
  else {
@@ -2414,15 +2414,15 @@ const ao = (e) => {
2414
2414
  if (["ArrowDown", "ArrowUp", "Enter", "Tab", "Escape", "Backspace"].includes(i.key))
2415
2415
  return { ...a };
2416
2416
  }
2417
- if (de("tab", i)) {
2417
+ if (re("tab", i)) {
2418
2418
  i.preventDefault();
2419
- const h = pe(u, p), y = u.slice(h, p);
2419
+ const h = fe(u, f), y = u.slice(h, f);
2420
2420
  if (y.length > 0) {
2421
2421
  const P = ye(y);
2422
2422
  if (P.length > 0)
2423
2423
  return _e(a, P[0]);
2424
2424
  }
2425
- const S = " ".repeat(t), V = u.slice(0, p) + S + u.slice(p), w = p + t;
2425
+ const S = " ".repeat(t), V = u.slice(0, f) + S + u.slice(f), w = f + t;
2426
2426
  return {
2427
2427
  value: V,
2428
2428
  selectionStart: w,
@@ -2432,7 +2432,7 @@ const ao = (e) => {
2432
2432
  if (!(i.key.length !== 1 || i.ctrlKey || i.metaKey || i.altKey))
2433
2433
  return ee && clearTimeout(ee), ee = setTimeout(() => {
2434
2434
  ee = null;
2435
- const h = b.value, y = b.selectionStart, S = pe(h, y), V = h.slice(S, y);
2435
+ const h = b.value, y = b.selectionStart, S = fe(h, y), V = h.slice(S, y);
2436
2436
  if (V.length < l) {
2437
2437
  Y();
2438
2438
  return;
@@ -2459,7 +2459,7 @@ function ye(e) {
2459
2459
  return m !== a ? m - a : t.length !== r.length ? t.length - r.length : t.localeCompare(r);
2460
2460
  });
2461
2461
  }
2462
- function pe(e, n) {
2462
+ function fe(e, n) {
2463
2463
  let l = n;
2464
2464
  for (; l > 0 && /[a-zA-Z0-9_$]/.test(e[l - 1]); )
2465
2465
  l--;
@@ -2490,7 +2490,7 @@ function ne() {
2490
2490
  });
2491
2491
  }
2492
2492
  function _e(e, n) {
2493
- const { value: l, selectionStart: s } = e, t = pe(l, s), r = n.insert || n.label, c = /\$\{([^}]*)\}/g;
2493
+ const { value: l, selectionStart: s } = e, t = fe(l, s), r = n.insert || n.label, c = /\$\{([^}]*)\}/g;
2494
2494
  let d = r;
2495
2495
  const m = [];
2496
2496
  let a;
@@ -2500,18 +2500,18 @@ function _e(e, n) {
2500
2500
  }
2501
2501
  d = r.replace(/\$\{([^}]*)\}/g, "$1");
2502
2502
  const i = m[0];
2503
- let u = t + d.length, p = t + d.length;
2503
+ let u = t + d.length, f = t + d.length;
2504
2504
  if (i) {
2505
2505
  let h = 0, y = 0, S = !1;
2506
2506
  for (; y < r.length && !S; ) {
2507
2507
  const V = m.find((w) => w.index === y);
2508
- V ? (h += V.text.length, y += V.length, V === i && (u = t + h - V.text.length, p = t + h, S = !0)) : (h++, y++);
2508
+ V ? (h += V.text.length, y += V.length, V === i && (u = t + h - V.text.length, f = t + h, S = !0)) : (h++, y++);
2509
2509
  }
2510
2510
  }
2511
2511
  return {
2512
2512
  value: l.slice(0, t) + d + l.slice(s),
2513
2513
  selectionStart: u,
2514
- selectionEnd: p
2514
+ selectionEnd: f
2515
2515
  };
2516
2516
  }
2517
2517
  function Y() {
@@ -2564,9 +2564,9 @@ const $e = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "
2564
2564
  const l = uo(e);
2565
2565
  let s = "", t = 0;
2566
2566
  for (const r of n.matchAll(l)) {
2567
- const [c, d, m, a, i, u, p, b] = r;
2567
+ const [c, d, m, a, i, u, f, b] = r;
2568
2568
  let h = "";
2569
- d ? h = "comment" : m ? h = "str" : a ? h = "num" : i ? h = "word" : u ? h = "var" : p ? h = "event" : b && (h = "operator"), s += $e(n.slice(t, r.index)), s += `<span class="tok--${h}">${$e(c)}</span>`, t = r.index + c.length;
2569
+ d ? h = "comment" : m ? h = "str" : a ? h = "num" : i ? h = "word" : u ? h = "var" : f ? h = "event" : b && (h = "operator"), s += $e(n.slice(t, r.index)), s += `<span class="tok--${h}">${$e(c)}</span>`, t = r.index + c.length;
2570
2570
  }
2571
2571
  return s += $e(n.slice(t)), s;
2572
2572
  }, Xe = {
@@ -2574,7 +2574,7 @@ const $e = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "
2574
2574
  func: "text-yellow-600 dark:text-yellow-400",
2575
2575
  var: "text-cyan-600 dark:text-cyan-400",
2576
2576
  event: "text-purple-600 dark:text-purple-400"
2577
- }, fo = (e, n, l) => {
2577
+ }, po = (e, n, l) => {
2578
2578
  const s = document.createElement("div");
2579
2579
  return s.className = `
2580
2580
  fixed z-[10000] min-w-[250px] max-w-[400px] max-h-[250px]
@@ -2597,7 +2597,7 @@ const $e = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "
2597
2597
  ${t.description ? `<span class="text-xs text-gray-400 dark:text-gray-500">${t.description}</span>` : ""}
2598
2598
  `, d.addEventListener("click", () => l(r)), s.appendChild(d);
2599
2599
  }), s;
2600
- }, po = (e, n) => {
2600
+ }, fo = (e, n) => {
2601
2601
  const l = document.createElement("div");
2602
2602
  l.className = `
2603
2603
  fixed z-[10001] px-3 py-2 font-mono text-sm max-w-[300px]
@@ -2683,8 +2683,8 @@ end;`, detail: "event(name: string)" },
2683
2683
  tooltip: {
2684
2684
  enabled: !0
2685
2685
  },
2686
- renderMenu: fo,
2687
- renderTooltip: po
2686
+ renderMenu: po,
2687
+ renderTooltip: fo
2688
2688
  }),
2689
2689
  oo()
2690
2690
  ],
@@ -2694,7 +2694,7 @@ end;`, detail: "event(name: string)" },
2694
2694
  });
2695
2695
  }), we(() => {
2696
2696
  s.destroy();
2697
- }), (r, c) => (f(), v("div", null, [...c[0] || (c[0] = [
2697
+ }), (r, c) => (p(), v("div", null, [...c[0] || (c[0] = [
2698
2698
  o("div", {
2699
2699
  class: "",
2700
2700
  id: "editor"
@@ -2731,19 +2731,19 @@ end;`, detail: "event(name: string)" },
2731
2731
  }), i(window.marked);
2732
2732
  return;
2733
2733
  }
2734
- const p = document.createElement("script");
2735
- p.src = $o, p.async = !0, p.onload = () => {
2734
+ const f = document.createElement("script");
2735
+ f.src = $o, f.async = !0, f.onload = () => {
2736
2736
  window.marked ? (window.marked.setOptions({
2737
2737
  gfm: !0,
2738
2738
  breaks: !0,
2739
2739
  headerIds: !1
2740
2740
  }), i(window.marked)) : u(new Error("Marked library not found after loading"));
2741
- }, p.onerror = () => {
2741
+ }, f.onerror = () => {
2742
2742
  u(new Error("Failed to load Marked library from CDN"));
2743
- }, document.head.appendChild(p);
2743
+ }, document.head.appendChild(f);
2744
2744
  }), m = (i) => {
2745
2745
  const u = i.split(`
2746
- `), p = {};
2746
+ `), f = {};
2747
2747
  let b = !0;
2748
2748
  for (const h of u) {
2749
2749
  if (b && h.startsWith("#")) {
@@ -2752,10 +2752,10 @@ end;`, detail: "event(name: string)" },
2752
2752
  }
2753
2753
  if (b && h.includes(":")) {
2754
2754
  const [y, S] = h.split(":").map((V) => V.trim());
2755
- y && S && (y.toLowerCase().includes("version") && (p.version = S), (y.toLowerCase().includes("обновлено") || y.toLowerCase().includes("updated")) && (p.updated = S));
2755
+ y && S && (y.toLowerCase().includes("version") && (f.version = S), (y.toLowerCase().includes("обновлено") || y.toLowerCase().includes("updated")) && (f.updated = S));
2756
2756
  }
2757
2757
  }
2758
- return p;
2758
+ return f;
2759
2759
  }, a = async (i) => {
2760
2760
  if (!c) {
2761
2761
  r.value = "error";
@@ -2763,14 +2763,14 @@ end;`, detail: "event(name: string)" },
2763
2763
  }
2764
2764
  t.value = !0, r.value = null, l.value = "";
2765
2765
  try {
2766
- const u = `${_o}${i}.md`, p = await fetch(u);
2767
- if (!p.ok)
2768
- throw new Error(`HTTP ${p.status}: ${p.statusText}`);
2769
- const b = await p.text();
2766
+ const u = `${_o}${i}.md`, f = await fetch(u);
2767
+ if (!f.ok)
2768
+ throw new Error(`HTTP ${f.status}: ${f.statusText}`);
2769
+ const b = await f.text();
2770
2770
  n.value = b, s.value = m(b), l.value = c.parse(b);
2771
2771
  } catch (u) {
2772
- const p = u instanceof Error ? u.message : "";
2773
- r.value = p, console.error("Error loading docs:", u);
2772
+ const f = u instanceof Error ? u.message : "";
2773
+ r.value = f, console.error("Error loading docs:", u);
2774
2774
  } finally {
2775
2775
  t.value = !1;
2776
2776
  }
@@ -2784,10 +2784,10 @@ end;`, detail: "event(name: string)" },
2784
2784
  const u = i instanceof Error ? i.message : "";
2785
2785
  r.value = u, console.error("Initialization error:", i);
2786
2786
  }
2787
- }), (i, u) => (f(), v("div", ho, [
2788
- t.value || r.value ? (f(), v("div", go, [
2789
- t.value ? (f(), v("span", bo, "⏳")) : z("", !0),
2790
- r.value ? (f(), v("span", xo, "❌ " + _(r.value), 1)) : z("", !0)
2787
+ }), (i, u) => (p(), v("div", ho, [
2788
+ t.value || r.value ? (p(), v("div", go, [
2789
+ t.value ? (p(), v("span", bo, "⏳")) : z("", !0),
2790
+ r.value ? (p(), v("span", xo, "❌ " + _(r.value), 1)) : z("", !0)
2791
2791
  ])) : z("", !0),
2792
2792
  o("div", {
2793
2793
  class: "docs-content",
@@ -2814,9 +2814,9 @@ end;`, detail: "event(name: string)" },
2814
2814
  return Q(() => {
2815
2815
  e.idScript || (c.value = "boot");
2816
2816
  }), (i, u) => {
2817
- const p = J, b = A;
2818
- return f(), v("div", ko, [
2819
- g(p, j({
2817
+ const f = J, b = A;
2818
+ return p(), v("div", ko, [
2819
+ g(f, j({
2820
2820
  modelValue: q(c),
2821
2821
  "onUpdate:modelValue": u[0] || (u[0] = (h) => ot(c) ? c.value = h : null)
2822
2822
  }, q(d), {
@@ -2837,7 +2837,7 @@ end;`, detail: "event(name: string)" },
2837
2837
  ]);
2838
2838
  };
2839
2839
  }
2840
- }), wo = ["width", "height"], Co = ["d"], ce = /* @__PURE__ */ M({
2840
+ }), wo = ["width", "height"], Co = ["d"], de = /* @__PURE__ */ M({
2841
2841
  __name: "VisionIcon",
2842
2842
  props: {
2843
2843
  name: {},
@@ -2883,8 +2883,8 @@ end;`, detail: "event(name: string)" },
2883
2883
  box: ["M21 8l-9-5-9 5 9 5 9-5", "M3 8v8l9 5 9-5V8", "M12 13v8"],
2884
2884
  external: ["M14 3h7v7", "M10 14 21 3", "M21 14v7H3V3h7"],
2885
2885
  github: ["M15 22v-4a4.8 4.8 0 0 0-1-3.5c3.3-.4 6.8-1.6 6.8-7A5.4 5.4 0 0 0 19.5 4 5 5 0 0 0 19.4.5S18.2.1 15 1.8a13.4 13.4 0 0 0-7 0C4.8.1 3.6.5 3.6.5A5 5 0 0 0 3.5 4 5.4 5.4 0 0 0 2 7.5c0 5.4 3.5 6.6 6.8 7A4.8 4.8 0 0 0 8 18v4", "M8 19c-3 .9-3-1.5-4-2"]
2886
- }, l = T(() => n[e.name] ?? n.help);
2887
- return (s, t) => (f(), v("svg", {
2886
+ }, l = B(() => n[e.name] ?? n.help);
2887
+ return (s, t) => (p(), v("svg", {
2888
2888
  width: e.size,
2889
2889
  height: e.size,
2890
2890
  viewBox: "0 0 24 24",
@@ -2895,56 +2895,21 @@ end;`, detail: "event(name: string)" },
2895
2895
  "stroke-linejoin": "round",
2896
2896
  "aria-hidden": "true"
2897
2897
  }, [
2898
- (f(!0), v(L, null, N(l.value, (r, c) => (f(), v("path", {
2898
+ (p(!0), v(L, null, N(l.value, (r, c) => (p(), v("path", {
2899
2899
  key: c,
2900
2900
  d: r
2901
2901
  }, null, 8, Co))), 128))
2902
2902
  ], 8, wo));
2903
2903
  }
2904
2904
  }), Ia = /* @__PURE__ */ M({
2905
- __name: "VisionButton",
2906
- props: {
2907
- to: { default: null },
2908
- href: { default: null },
2909
- type: { default: "button" },
2910
- variant: { default: "primary" },
2911
- size: { default: "md" },
2912
- block: { type: Boolean, default: !1 },
2913
- disabled: { type: Boolean, default: !1 }
2914
- },
2915
- setup(e) {
2916
- const n = T(() => e.to ? "router-link" : e.href ? "a" : "button"), l = T(() => ({
2917
- sm: "h-9 px-3 text-xs",
2918
- md: "h-11 px-4 text-sm",
2919
- lg: "h-12 px-6 text-sm"
2920
- })[e.size]), s = T(() => ({
2921
- primary: "bg-vision-primary text-white shadow-[0_12px_32px_-14px_var(--app-accent-shadow,rgba(37,99,235,0.9))] hover:brightness-110",
2922
- cyan: "bg-[#28b7f0] text-[#03111f] shadow-[0_12px_32px_-14px_rgba(40,183,240,0.9)] hover:bg-[#66d3f1]",
2923
- outline: "border border-white/15 bg-transparent text-white hover:border-white/25 hover:bg-white/5",
2924
- ghost: "bg-transparent text-vision-muted hover:bg-white/5 hover:text-white",
2925
- dark: "border border-white/10 bg-vision-card-2 text-white hover:bg-white/5",
2926
- danger: "border border-vision-danger/25 bg-vision-danger/10 text-vision-danger hover:bg-vision-danger/15",
2927
- success: "border border-vision-success/25 bg-vision-success/10 text-vision-success hover:bg-vision-success/15",
2928
- white: "bg-white text-[#060b28] hover:bg-white/90"
2929
- })[e.variant]), t = T(() => e.to ? { to: e.to } : e.href ? { href: e.href, target: e.href.startsWith("http") ? "_blank" : void 0, rel: e.href.startsWith("http") ? "noreferrer" : void 0 } : { type: e.type, disabled: e.disabled });
2930
- return (r, c) => (f(), D(re(n.value), j(t.value, {
2931
- class: ["inline-flex items-center justify-center gap-2 rounded-md font-medium transition-colors disabled:pointer-events-none disabled:opacity-50", [l.value, s.value, e.block ? "w-full" : ""]]
2932
- }), {
2933
- default: x(() => [
2934
- k(r.$slots, "default")
2935
- ]),
2936
- _: 3
2937
- }, 16, ["class"]));
2938
- }
2939
- }), Ha = /* @__PURE__ */ M({
2940
2905
  __name: "VisionCard",
2941
2906
  props: {
2942
2907
  padded: { type: Boolean, default: !0 }
2943
2908
  },
2944
2909
  setup(e) {
2945
- const n = T(() => e.padded ? "p-5 md:p-6" : "");
2946
- return (l, s) => (f(), v("div", {
2947
- class: B(["glass-panel", n.value])
2910
+ const n = B(() => e.padded ? "p-5 md:p-6" : "");
2911
+ return (l, s) => (p(), v("div", {
2912
+ class: T(["glass-panel", n.value])
2948
2913
  }, [
2949
2914
  k(l.$slots, "default")
2950
2915
  ], 2));
@@ -2955,7 +2920,7 @@ end;`, detail: "event(name: string)" },
2955
2920
  }, So = ["type", "name", "placeholder", "autocomplete"], Vo = {
2956
2921
  key: 1,
2957
2922
  class: "mt-1 block text-xs text-vision-danger"
2958
- }, ja = /* @__PURE__ */ M({
2923
+ }, Ha = /* @__PURE__ */ M({
2959
2924
  __name: "VisionInput",
2960
2925
  props: /* @__PURE__ */ rt({
2961
2926
  label: { default: "" },
@@ -2972,12 +2937,12 @@ end;`, detail: "event(name: string)" },
2972
2937
  emits: ["update:modelValue"],
2973
2938
  setup(e) {
2974
2939
  const n = at(e, "modelValue");
2975
- return (l, s) => (f(), v("label", Mo, [
2976
- e.label ? (f(), v("span", zo, _(e.label), 1)) : z("", !0),
2940
+ return (l, s) => (p(), v("label", Mo, [
2941
+ e.label ? (p(), v("span", zo, _(e.label), 1)) : z("", !0),
2977
2942
  o("span", {
2978
- class: B(["glass-inset flex items-center gap-3 rounded-md px-4 transition-colors focus-within:border-vision-primary/60", e.error ? "border-vision-danger/50" : "border-white/10 hover:border-white/20"])
2943
+ class: T(["glass-inset flex items-center gap-3 rounded-md px-4 transition-colors focus-within:border-vision-primary/60", e.error ? "border-vision-danger/50" : "border-white/10 hover:border-white/20"])
2979
2944
  }, [
2980
- e.icon ? (f(), D(ce, {
2945
+ e.icon ? (p(), I(de, {
2981
2946
  key: 0,
2982
2947
  name: e.icon,
2983
2948
  size: 18,
@@ -2994,7 +2959,7 @@ end;`, detail: "event(name: string)" },
2994
2959
  [it, n.value]
2995
2960
  ])
2996
2961
  ], 2),
2997
- e.error ? (f(), v("span", Vo, _(e.error), 1)) : z("", !0)
2962
+ e.error ? (p(), v("span", Vo, _(e.error), 1)) : z("", !0)
2998
2963
  ]));
2999
2964
  }
3000
2965
  }), To = {
@@ -3002,7 +2967,7 @@ end;`, detail: "event(name: string)" },
3002
2967
  role: "dialog",
3003
2968
  "aria-modal": "true",
3004
2969
  "aria-label": "Поиск"
3005
- }, Bo = { class: "flex items-center gap-3 border-b border-gray-200/70 px-4 dark:border-white/10" }, Eo = ["placeholder"], Lo = { class: "max-h-[55vh] overflow-y-auto p-2" }, Ao = ["href"], Do = { class: "min-w-0" }, Io = { class: "flex flex-wrap items-baseline gap-2" }, Ho = { class: "text-sm font-medium text-gray-900 dark:text-white" }, jo = {
2970
+ }, Eo = { class: "flex items-center gap-3 border-b border-gray-200/70 px-4 dark:border-white/10" }, Bo = ["placeholder"], Lo = { class: "max-h-[55vh] overflow-y-auto p-2" }, Ao = ["href"], Do = { class: "min-w-0" }, Io = { class: "flex flex-wrap items-baseline gap-2" }, Ho = { class: "text-sm font-medium text-gray-900 dark:text-white" }, jo = {
3006
2971
  key: 0,
3007
2972
  class: "text-[10px] uppercase tracking-wider text-gray-400"
3008
2973
  }, Po = {
@@ -3011,14 +2976,14 @@ end;`, detail: "event(name: string)" },
3011
2976
  }, No = {
3012
2977
  key: 0,
3013
2978
  class: "px-4 py-10 text-center text-sm text-gray-500 dark:text-gray-400"
3014
- }, Pa = /* @__PURE__ */ M({
2979
+ }, ja = /* @__PURE__ */ M({
3015
2980
  __name: "VisionSearch",
3016
2981
  props: {
3017
2982
  items: {},
3018
2983
  placeholder: {}
3019
2984
  },
3020
2985
  setup(e) {
3021
- const n = e, l = E(!1), s = E(""), t = E(null), r = T(() => {
2986
+ const n = e, l = E(!1), s = E(""), t = E(null), r = B(() => {
3022
2987
  const a = s.value.trim().toLowerCase();
3023
2988
  return (a ? n.items.filter((u) => `${u.title} ${u.description ?? ""} ${u.group ?? ""}`.toLowerCase().includes(a)) : n.items).slice(0, 14);
3024
2989
  }), c = async () => {
@@ -3037,29 +3002,29 @@ end;`, detail: "event(name: string)" },
3037
3002
  typeof document < "u" && (document.body.style.overflow = a ? "hidden" : "");
3038
3003
  }), Q(() => window.addEventListener("keydown", m)), we(() => {
3039
3004
  window.removeEventListener("keydown", m), typeof document < "u" && (document.body.style.overflow = "");
3040
- }), (a, i) => (f(), v(L, null, [
3005
+ }), (a, i) => (p(), v(L, null, [
3041
3006
  o("button", {
3042
3007
  type: "button",
3043
3008
  class: "inline-flex h-9 items-center gap-2 rounded-md px-2.5 text-xs text-gray-500 transition-colors hover:bg-white/50 hover:text-[var(--app-accent)] dark:text-gray-400 dark:hover:bg-white/5 dark:hover:text-white",
3044
3009
  "aria-label": "Поиск",
3045
3010
  onClick: c
3046
3011
  }, [
3047
- g(ce, {
3012
+ g(de, {
3048
3013
  name: "search",
3049
3014
  size: 17
3050
3015
  }),
3051
3016
  i[1] || (i[1] = o("span", { class: "hidden lg:inline" }, "Поиск", -1)),
3052
3017
  i[2] || (i[2] = o("kbd", { class: "hidden rounded border border-gray-300/60 px-1.5 py-0.5 font-mono text-[10px] text-gray-400 dark:border-white/10 dark:text-gray-500 lg:inline" }, "⌘K", -1))
3053
3018
  ]),
3054
- (f(), D(dt, { to: "body" }, [
3055
- l.value ? (f(), v("div", {
3019
+ (p(), I(dt, { to: "body" }, [
3020
+ l.value ? (p(), v("div", {
3056
3021
  key: 0,
3057
3022
  class: "fixed inset-0 z-[100] flex items-start justify-center overflow-y-auto bg-slate-900/40 px-4 pt-[12vh] backdrop-blur-sm dark:bg-black/60",
3058
3023
  onClick: F(d, ["self"])
3059
3024
  }, [
3060
3025
  o("div", To, [
3061
- o("div", Bo, [
3062
- g(ce, {
3026
+ o("div", Eo, [
3027
+ g(de, {
3063
3028
  name: "search",
3064
3029
  size: 18,
3065
3030
  class: "shrink-0 text-gray-400"
@@ -3071,19 +3036,19 @@ end;`, detail: "event(name: string)" },
3071
3036
  type: "search",
3072
3037
  placeholder: e.placeholder ?? "Поиск по документации и страницам…",
3073
3038
  class: "h-14 min-w-0 flex-1 bg-transparent text-sm text-gray-900 placeholder:text-gray-400 focus:outline-none dark:text-white dark:placeholder:text-gray-500"
3074
- }, null, 8, Eo), [
3039
+ }, null, 8, Bo), [
3075
3040
  [He, s.value]
3076
3041
  ]),
3077
3042
  i[3] || (i[3] = o("kbd", { class: "hidden rounded border border-gray-300/60 px-1.5 py-0.5 font-mono text-[10px] text-gray-400 dark:border-white/10 dark:text-gray-500 sm:inline" }, "Esc", -1))
3078
3043
  ]),
3079
3044
  o("div", Lo, [
3080
- (f(!0), v(L, null, N(r.value, (u) => (f(), v("a", {
3045
+ (p(!0), v(L, null, N(r.value, (u) => (p(), v("a", {
3081
3046
  key: `${u.group}-${u.to}-${u.title}`,
3082
3047
  href: u.to,
3083
3048
  class: "flex items-start gap-3 rounded-md px-3 py-2.5 transition-colors hover:bg-white/50 dark:hover:bg-white/5",
3084
3049
  onClick: d
3085
3050
  }, [
3086
- g(ce, {
3051
+ g(de, {
3087
3052
  name: "arrowRight",
3088
3053
  size: 16,
3089
3054
  class: "mt-0.5 shrink-0 text-gray-400"
@@ -3091,19 +3056,19 @@ end;`, detail: "event(name: string)" },
3091
3056
  o("span", Do, [
3092
3057
  o("span", Io, [
3093
3058
  o("span", Ho, _(u.title), 1),
3094
- u.group ? (f(), v("span", jo, _(u.group), 1)) : z("", !0)
3059
+ u.group ? (p(), v("span", jo, _(u.group), 1)) : z("", !0)
3095
3060
  ]),
3096
- u.description ? (f(), v("span", Po, _(u.description), 1)) : z("", !0)
3061
+ u.description ? (p(), v("span", Po, _(u.description), 1)) : z("", !0)
3097
3062
  ])
3098
3063
  ], 8, Ao))), 128)),
3099
- r.value.length ? z("", !0) : (f(), v("p", No, " Ничего не найдено. Попробуйте другой запрос. "))
3064
+ r.value.length ? z("", !0) : (p(), v("p", No, " Ничего не найдено. Попробуйте другой запрос. "))
3100
3065
  ])
3101
3066
  ])
3102
3067
  ])) : z("", !0)
3103
3068
  ]))
3104
3069
  ], 64));
3105
3070
  }
3106
- }), Oo = ["aria-label", "title"], Na = /* @__PURE__ */ M({
3071
+ }), Oo = ["aria-label", "title"], Pa = /* @__PURE__ */ M({
3107
3072
  __name: "VisionThemeToggle",
3108
3073
  setup(e) {
3109
3074
  const n = E(xt("theme") === "light" ? "light" : "dark"), l = (s) => {
@@ -3111,20 +3076,20 @@ end;`, detail: "event(name: string)" },
3111
3076
  };
3112
3077
  return Q(async () => {
3113
3078
  await je(), setTimeout(() => l(n.value), 0);
3114
- }), (s, t) => (f(), v("button", {
3079
+ }), (s, t) => (p(), v("button", {
3115
3080
  type: "button",
3116
3081
  class: "grid size-9 place-items-center rounded-md text-gray-600 transition-colors hover:bg-white/50 hover:text-[var(--app-accent)] dark:text-gray-300 dark:hover:bg-white/5 dark:hover:text-white",
3117
3082
  "aria-label": n.value === "dark" ? "Включить светлую тему" : "Включить тёмную тему",
3118
3083
  title: n.value === "dark" ? "Светлая тема" : "Тёмная тема",
3119
3084
  onClick: t[0] || (t[0] = (r) => l(n.value === "dark" ? "light" : "dark"))
3120
3085
  }, [
3121
- g(ce, {
3086
+ g(de, {
3122
3087
  name: n.value === "dark" ? "sun" : "moon",
3123
3088
  size: 18
3124
3089
  }, null, 8, ["name"])
3125
3090
  ], 8, Oo));
3126
3091
  }
3127
- }), Oa = /* @__PURE__ */ M({
3092
+ }), Na = /* @__PURE__ */ M({
3128
3093
  __name: "VAutocomplete",
3129
3094
  props: {
3130
3095
  modelValue: { default: "" },
@@ -3138,7 +3103,7 @@ end;`, detail: "event(name: string)" },
3138
3103
  const l = n, s = (r) => l("update:modelValue", r), t = (r, c) => {
3139
3104
  r.click(new Event("click")), l("select", c);
3140
3105
  };
3141
- return (r, c) => (f(), D(Ne, j(r.$attrs, {
3106
+ return (r, c) => (p(), I(Ne, j(r.$attrs, {
3142
3107
  top: "50px",
3143
3108
  "hide-on-click": ""
3144
3109
  }), {
@@ -3174,14 +3139,14 @@ end;`, detail: "event(name: string)" },
3174
3139
  height: "1.2em"
3175
3140
  };
3176
3141
  function Ko(e, n) {
3177
- return f(), v("svg", Uo, [...n[0] || (n[0] = [
3142
+ return p(), v("svg", Uo, [...n[0] || (n[0] = [
3178
3143
  o("path", {
3179
3144
  fill: "currentColor",
3180
3145
  d: "m12 15l-4.243-4.242l1.415-1.414L12 12.172l2.828-2.828l1.415 1.414z"
3181
3146
  }, null, -1)
3182
3147
  ])]);
3183
3148
  }
3184
- const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-expansion__content max-h-0 overflow-hidden transition-all duration-300" }, Wo = { class: "p-4" }, Ua = /* @__PURE__ */ M({
3149
+ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-expansion__content max-h-0 overflow-hidden transition-all duration-300" }, Wo = { class: "p-4" }, Oa = /* @__PURE__ */ M({
3185
3150
  __name: "VExpansion",
3186
3151
  props: {
3187
3152
  label: { default: "" },
@@ -3199,7 +3164,7 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3199
3164
  s();
3200
3165
  }), (r, c) => {
3201
3166
  const d = Ro;
3202
- return f(), v("div", {
3167
+ return p(), v("div", {
3203
3168
  ref_key: "root",
3204
3169
  ref: n,
3205
3170
  class: "glass-inset mb-2 overflow-hidden rounded-md"
@@ -3210,7 +3175,7 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3210
3175
  }, [
3211
3176
  o("h4", null, _(e.label), 1),
3212
3177
  o("div", {
3213
- class: B(["transition text-gray-400", { "rotate-x-180": l.value }])
3178
+ class: T(["transition text-gray-400", { "rotate-x-180": l.value }])
3214
3179
  }, [
3215
3180
  g(d, { class: "size-6" })
3216
3181
  ], 2)
@@ -3226,7 +3191,7 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3226
3191
  }), qo = ["onDragstart", "onDragenter"], Go = {
3227
3192
  key: 0,
3228
3193
  class: "absolute inset-0 border border-dashed border-blue-600 rounded"
3229
- }, Ka = /* @__PURE__ */ M({
3194
+ }, Ua = /* @__PURE__ */ M({
3230
3195
  __name: "VDragDrop",
3231
3196
  props: {
3232
3197
  items: {},
@@ -3237,24 +3202,24 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3237
3202
  const l = n, s = E(null), t = E(0), r = E(-1), c = ({ id: u }) => ({
3238
3203
  "opacity-30 scale-105 z-10": s.value === u,
3239
3204
  "transition-transform duration-200": s.value !== u
3240
- }), d = (u, p, b) => {
3241
- s.value = p, t.value = b, u.dataTransfer.effectAllowed = "move";
3205
+ }), d = (u, f, b) => {
3206
+ s.value = f, t.value = b, u.dataTransfer.effectAllowed = "move";
3242
3207
  }, m = (u) => {
3243
3208
  s.value !== null && (r.value = u);
3244
3209
  }, a = () => {
3245
3210
  s.value = null, r.value = -1;
3246
3211
  }, i = (u) => {
3247
3212
  if (u.preventDefault(), s.value && r.value !== -1) {
3248
- const p = e.items.findIndex((h) => h[e.itemKey] === s.value), b = r.value;
3249
- if (p !== b && b !== -1) {
3250
- const h = [...e.items], [y] = h.splice(p, 1);
3251
- h.splice(b, 0, y), l("update:items", h), l("order-change", { fromIndex: p, toIndex: b, movedItem: y, newOrder: h });
3213
+ const f = e.items.findIndex((h) => h[e.itemKey] === s.value), b = r.value;
3214
+ if (f !== b && b !== -1) {
3215
+ const h = [...e.items], [y] = h.splice(f, 1);
3216
+ h.splice(b, 0, y), l("update:items", h), l("order-change", { fromIndex: f, toIndex: b, movedItem: y, newOrder: h });
3252
3217
  }
3253
3218
  }
3254
3219
  r.value = -1;
3255
3220
  };
3256
- return (u, p) => (f(), v("div", {
3257
- onDragover: p[1] || (p[1] = F(() => {
3221
+ return (u, f) => (p(), v("div", {
3222
+ onDragover: f[1] || (f[1] = F(() => {
3258
3223
  }, ["prevent"])),
3259
3224
  onDrop: i
3260
3225
  }, [
@@ -3268,14 +3233,14 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3268
3233
  "move-class": "transition-all duration-300 ease"
3269
3234
  }, {
3270
3235
  default: x(() => [
3271
- (f(!0), v(L, null, N(e.items, (b, h) => (f(), v("div", {
3236
+ (p(!0), v(L, null, N(e.items, (b, h) => (p(), v("div", {
3272
3237
  key: `${b.id}_drug`,
3273
- class: B(["relative group", c(b)]),
3238
+ class: T(["relative group", c(b)]),
3274
3239
  draggable: "true",
3275
3240
  onDragstart: (y) => d(y, b.id, h),
3276
3241
  onDragenter: (y) => m(h),
3277
3242
  onDragend: a,
3278
- onDragover: p[0] || (p[0] = F(() => {
3243
+ onDragover: f[0] || (f[0] = F(() => {
3279
3244
  }, ["prevent"]))
3280
3245
  }, [
3281
3246
  k(u.$slots, "default", {
@@ -3284,7 +3249,7 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3284
3249
  index: h,
3285
3250
  isDragging: s.value === b.id
3286
3251
  }),
3287
- r.value === h && s.value !== b.id ? (f(), v("div", Go)) : z("", !0)
3252
+ r.value === h && s.value !== b.id ? (p(), v("div", Go)) : z("", !0)
3288
3253
  ], 42, qo))), 128))
3289
3254
  ]),
3290
3255
  _: 3
@@ -3294,7 +3259,7 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3294
3259
  }), Jo = { class: "glass-inset overflow-hidden rounded-md" }, Zo = { class: "min-w-full" }, Xo = { class: "border-y border-gray-200/70 py-3 dark:border-white/10" }, Yo = { class: "bg-gray-100/70 dark:bg-white/[0.04]" }, Qo = { class: "flex items-center" }, ea = { class: "divide-y divide-gray-100 dark:divide-white/5" }, ta = ["onClick"], na = { class: "flex items-center text-gray-700 dark:text-white/70" }, sa = { key: 1 }, la = {
3295
3260
  class: "py-3 whitespace-nowrap",
3296
3261
  colspan: "9"
3297
- }, oa = { class: "flex items-center justify-center px-2 text-sm text-gray-500 dark:text-white/50" }, Ra = /* @__PURE__ */ M({
3262
+ }, oa = { class: "flex items-center justify-center px-2 text-sm text-gray-500 dark:text-white/50" }, Ka = /* @__PURE__ */ M({
3298
3263
  __name: "VTable",
3299
3264
  props: {
3300
3265
  headers: { default: () => [] },
@@ -3303,13 +3268,13 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3303
3268
  emits: ["click"],
3304
3269
  setup(e, { emit: n }) {
3305
3270
  const l = n, s = (c, d) => l("click", c, d), t = (c) => (c == null ? void 0 : c.className) || "", r = (c, { key: d }) => c == null ? void 0 : c[d];
3306
- return (c, d) => (f(), v("div", Jo, [
3271
+ return (c, d) => (p(), v("div", Jo, [
3307
3272
  o("table", Zo, [
3308
3273
  o("thead", Xo, [
3309
3274
  o("tr", Yo, [
3310
- (f(!0), v(L, null, N(e.headers, (m, a) => (f(), v("th", {
3275
+ (p(!0), v(L, null, N(e.headers, (m, a) => (p(), v("th", {
3311
3276
  key: a,
3312
- class: B(["px-4 py-2 whitespace-nowrap font-normal text-gray-500 dark:text-white/50", t(m)])
3277
+ class: T(["px-4 py-2 whitespace-nowrap font-normal text-gray-500 dark:text-white/50", t(m)])
3313
3278
  }, [
3314
3279
  k(c.$slots, "header", {
3315
3280
  item: m,
@@ -3321,12 +3286,12 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3321
3286
  ])
3322
3287
  ]),
3323
3288
  o("tbody", ea, [
3324
- e.items.length ? (f(!0), v(L, { key: 0 }, N(e.items, (m, a) => (f(), v("tr", {
3289
+ e.items.length ? (p(!0), v(L, { key: 0 }, N(e.items, (m, a) => (p(), v("tr", {
3325
3290
  key: a,
3326
3291
  class: "transition-colors hover:bg-primary/[0.04] dark:hover:bg-white/[0.04]",
3327
3292
  onClick: (i) => s(m, i)
3328
3293
  }, [
3329
- (f(!0), v(L, null, N(e.headers, (i, u) => (f(), v("td", {
3294
+ (p(!0), v(L, null, N(e.headers, (i, u) => (p(), v("td", {
3330
3295
  key: u,
3331
3296
  class: "py-2 px-4"
3332
3297
  }, [
@@ -3339,7 +3304,7 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3339
3304
  ])
3340
3305
  ])
3341
3306
  ]))), 128))
3342
- ], 8, ta))), 128)) : (f(), v("tr", sa, [
3307
+ ], 8, ta))), 128)) : (p(), v("tr", sa, [
3343
3308
  o("td", la, [
3344
3309
  o("div", oa, [
3345
3310
  k(c.$slots, "empty", {}, () => [
@@ -3352,7 +3317,7 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3352
3317
  ])
3353
3318
  ]));
3354
3319
  }
3355
- }), Fa = /* @__PURE__ */ M({
3320
+ }), Ra = /* @__PURE__ */ M({
3356
3321
  __name: "VTooltip",
3357
3322
  props: {
3358
3323
  timeout: {},
@@ -3364,7 +3329,7 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3364
3329
  }, s = () => {
3365
3330
  n.value = !1;
3366
3331
  }, t = Ie("tooltip");
3367
- return $t(t, () => s()), (r, c) => (f(), v("div", {
3332
+ return $t(t, () => s()), (r, c) => (p(), v("div", {
3368
3333
  ref: "tooltip",
3369
3334
  class: "relative v-tooltip",
3370
3335
  onMouseenter: l,
@@ -3393,7 +3358,7 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3393
3358
  }
3394
3359
  });
3395
3360
  export {
3396
- pa as AppAside,
3361
+ fa as AppAside,
3397
3362
  va as AppHeader,
3398
3363
  ba as AppNav,
3399
3364
  ha as AppNotification,
@@ -3411,39 +3376,40 @@ export {
3411
3376
  Sa as CardDimmer,
3412
3377
  Va as CardInfo,
3413
3378
  Ta as CardInput,
3414
- Ba as CardList,
3415
- Ga as CardMain,
3379
+ Ea as CardList,
3380
+ qa as CardMain,
3416
3381
  en as CardNotification,
3417
- Ea as ItemEdit,
3382
+ vo as DEFAULT_SUGGESTIONS,
3383
+ Ba as ItemEdit,
3418
3384
  Da as ScriptDialog,
3419
3385
  La as ScriptEditor,
3420
3386
  Aa as ScriptViewDocs,
3421
- Oa as VAutocomplete,
3387
+ Na as VAutocomplete,
3422
3388
  A as VButton,
3423
3389
  Ml as VCheckbox,
3424
3390
  Oe as VDialog,
3425
- Ka as VDragDrop,
3391
+ Ua as VDragDrop,
3426
3392
  Ne as VDropdown,
3427
- Ua as VExpansion,
3393
+ Oa as VExpansion,
3428
3394
  cs as VFile,
3429
3395
  xe as VFunc,
3430
3396
  Pe as VIconLogo,
3431
3397
  ct as VIconLogoMini,
3432
3398
  Ce as VList,
3433
3399
  We as VListObject,
3434
- ft as VLoader,
3435
- Ja as VPopup,
3400
+ pt as VLoader,
3401
+ Ga as VPopup,
3436
3402
  le as VSelect,
3437
- Ra as VTable,
3403
+ Ka as VTable,
3438
3404
  xl as VTabs,
3439
3405
  J as VTextField,
3440
3406
  Fe as VTextWrapper,
3441
- Fa as VTooltip,
3407
+ Ra as VTooltip,
3442
3408
  mt as VWifiIcon,
3443
- Ia as VisionButton,
3444
- Ha as VisionCard,
3445
- ce as VisionIcon,
3446
- ja as VisionInput,
3447
- Pa as VisionSearch,
3448
- Na as VisionThemeToggle
3409
+ Ia as VisionCard,
3410
+ de as VisionIcon,
3411
+ Ha as VisionInput,
3412
+ ja as VisionSearch,
3413
+ Pa as VisionThemeToggle,
3414
+ mo as fullHighlighter
3449
3415
  };