vuesp-components 2.3.2 → 2.3.3

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,33 +1,33 @@
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";
1
+ import { defineComponent as M, resolveComponent as Ae, openBlock as p, createElementBlock as v, Fragment as B, createCommentVNode as z, createElementVNode as a, normalizeClass as T, createVNode as g, withCtx as x, createBlock as I, renderSlot as k, markRaw as O, computed as E, withModifiers as F, toDisplayString as _, unref as q, TransitionGroup as De, renderList as N, mergeProps as j, ref as L, watch as ae, 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 lt, vModelText as He, createSlots as st, isRef as at, useModel as ot, 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 se, _ as Oe, f as J } from "../VDialog.vue_vue_type_script_setup_true_lang-DFNvEwYK.js";
3
+ import { b as Jo, m as Zo } from "../VDialog.vue_vue_type_script_setup_true_lang-DFNvEwYK.js";
4
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" }, fa = /* @__PURE__ */ M({
9
+ const zt = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, ho = /* @__PURE__ */ M({
10
10
  __name: "AppAside",
11
11
  props: {
12
12
  isSidebar: { type: Boolean, default: !1 }
13
13
  },
14
14
  emits: ["sidebar"],
15
15
  setup(e, { emit: n }) {
16
- const l = n, s = () => {
17
- e.isSidebar && l("sidebar", !e.isSidebar);
16
+ const s = n, l = () => {
17
+ e.isSidebar && s("sidebar", !e.isSidebar);
18
18
  };
19
19
  return (t, r) => {
20
20
  const c = Ae("router-link");
21
- return p(), v(L, null, [
21
+ return p(), v(B, null, [
22
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
- onClick: s
25
+ onClick: l
26
26
  })) : z("", !0),
27
- o("aside", {
27
+ a("aside", {
28
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
- o("div", {
30
+ a("div", {
31
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: "/" }, {
@@ -43,7 +43,7 @@ const zt = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 eas
43
43
  _: 1
44
44
  })
45
45
  ], 2),
46
- o("div", zt, [
46
+ a("div", zt, [
47
47
  k(t.$slots, "default")
48
48
  ])
49
49
  ], 2)
@@ -57,7 +57,7 @@ const zt = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 eas
57
57
  };
58
58
  function Vt(e, n) {
59
59
  return p(), v("svg", St, [...n[0] || (n[0] = [
60
- o("path", {
60
+ a("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"
63
63
  }, null, -1)
@@ -68,22 +68,22 @@ const Ue = O({ name: "ri-more-line", render: Vt }), Tt = {
68
68
  width: "1.2em",
69
69
  height: "1.2em"
70
70
  };
71
- function Et(e, n) {
71
+ function Lt(e, n) {
72
72
  return p(), v("svg", Tt, [...n[0] || (n[0] = [
73
- o("path", {
73
+ a("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 Bt = O({ name: "ri-logout-box-line", render: Et }), Lt = {
79
+ const Et = O({ name: "ri-logout-box-line", render: Lt }), Bt = {
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 p(), v("svg", Lt, [...n[0] || (n[0] = [
86
- o("path", {
85
+ return p(), v("svg", Bt, [...n[0] || (n[0] = [
86
+ a("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"
89
89
  }, null, -1)
@@ -96,7 +96,7 @@ const Ke = O({ name: "ri-notification-line", render: At }), Dt = {
96
96
  };
97
97
  function It(e, n) {
98
98
  return p(), v("svg", Dt, [...n[0] || (n[0] = [
99
- o("path", {
99
+ a("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"
102
102
  }, null, -1)
@@ -109,7 +109,7 @@ const Ht = O({ name: "ri-moon-line", render: It }), jt = {
109
109
  };
110
110
  function Pt(e, n) {
111
111
  return p(), v("svg", jt, [...n[0] || (n[0] = [
112
- o("path", {
112
+ a("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"
115
115
  }, null, -1)
@@ -122,13 +122,13 @@ const Nt = O({ name: "ri-sun-line", render: Pt }), Ot = {
122
122
  };
123
123
  function Ut(e, n) {
124
124
  return p(), v("svg", Ot, [...n[0] || (n[0] = [
125
- o("path", {
125
+ a("path", {
126
126
  fill: "currentColor",
127
127
  d: "M3 4h18v2H3zm0 7h18v2H3zm0 7h18v2H3z"
128
128
  }, null, -1)
129
129
  ])]);
130
130
  }
131
- const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header relative sticky top-0 left-0 z-10 w-full border-b shadow-[0_20px_60px_-35px_rgba(0,0,0,0.9)]" }, Ft = { class: "px-4 py-4 sm:px-6 lg:px-8" }, Wt = { class: "container mx-auto flex flex-auto items-center" }, qt = { class: "lg:hidden h-[30px]" }, Gt = { class: "gap-4 hidden lg:flex" }, Jt = { class: "lg:hidden flex gap-4" }, Zt = { class: "ms-2" }, va = /* @__PURE__ */ M({
131
+ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header relative sticky top-0 left-0 z-10 w-full border-b shadow-[0_20px_60px_-35px_rgba(0,0,0,0.9)]" }, Ft = { class: "px-4 py-4 sm:px-6 lg:px-8" }, Wt = { class: "container mx-auto flex flex-auto items-center" }, qt = { class: "lg:hidden h-[30px]" }, Gt = { class: "gap-4 hidden lg:flex" }, Jt = { class: "lg:hidden flex gap-4" }, Zt = { class: "ms-2" }, go = /* @__PURE__ */ M({
132
132
  __name: "AppHeader",
133
133
  props: {
134
134
  changeTheme: { type: Function },
@@ -136,21 +136,21 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
136
136
  },
137
137
  emits: ["sidebar", "notif"],
138
138
  setup(e, { emit: n }) {
139
- const l = n, s = [
139
+ const s = n, l = [
140
140
  { name: "Theme", value: 1 },
141
141
  { name: "Notification", value: 2 },
142
142
  { name: "Logout", value: 3 }
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 = () => {
143
+ ], t = E(() => !!e.notifications.find((i) => i.isNew)), r = (i) => s("sidebar", i), c = (i) => s("notif", i), d = async () => await fetch("/", { headers: { Authorization: "Basic AAAAAAAAAAAAAAAAAAA=" } }), m = () => {
144
144
  e.changeTheme && e.changeTheme();
145
- }, a = ({ value: i }, u) => {
145
+ }, o = ({ value: i }, u) => {
146
146
  i == 1 && m(), i == 2 && c(u), i == 3 && d();
147
147
  };
148
148
  return (i, u) => {
149
- const f = Kt, b = Ae("router-link"), h = Nt, y = Ht, S = Ke, V = Bt, w = Ue;
149
+ const f = Kt, b = Ae("router-link"), h = Nt, y = Ht, S = Ke, V = Et, w = Ue;
150
150
  return p(), v("header", Rt, [
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
- o("div", Ft, [
153
- o("div", Wt, [
151
+ u[3] || (u[3] = a("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
+ a("div", Ft, [
153
+ a("div", Wt, [
154
154
  g(A, {
155
155
  type: "icon",
156
156
  onClick: r
@@ -160,8 +160,8 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
160
160
  ]),
161
161
  _: 1
162
162
  }),
163
- u[1] || (u[1] = o("div", { class: "lg:hidden flex-auto" }, null, -1)),
164
- o("div", qt, [
163
+ u[1] || (u[1] = a("div", { class: "lg:hidden flex-auto" }, null, -1)),
164
+ a("div", qt, [
165
165
  g(b, { to: "/" }, {
166
166
  default: x(() => [
167
167
  g(Pe, { class: "h-[30px] text-primary" })
@@ -169,8 +169,8 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
169
169
  _: 1
170
170
  })
171
171
  ]),
172
- u[2] || (u[2] = o("div", { class: "flex-auto" }, null, -1)),
173
- o("div", Gt, [
172
+ u[2] || (u[2] = a("div", { class: "flex-auto" }, null, -1)),
173
+ a("div", Gt, [
174
174
  g(A, {
175
175
  type: "icon",
176
176
  onClick: m
@@ -186,10 +186,10 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
186
186
  onClick: c
187
187
  }, {
188
188
  default: x(() => [
189
- o("span", {
189
+ a("span", {
190
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
- o("span", { class: "absolute -z-1 inline-flex h-full w-full animate-ping rounded-full bg-orange-400 opacity-75" }, null, -1)
192
+ a("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),
194
194
  g(S, { class: "size-5" })
195
195
  ]),
@@ -205,7 +205,7 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
205
205
  _: 1
206
206
  })
207
207
  ]),
208
- o("div", Jt, [
208
+ a("div", Jt, [
209
209
  g(Ne, {
210
210
  left: "unset",
211
211
  right: "0",
@@ -225,11 +225,11 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
225
225
  ]),
226
226
  default: x(() => [
227
227
  g(Ce, {
228
- items: s,
229
- onClick: a
228
+ items: l,
229
+ onClick: o
230
230
  }, {
231
231
  default: x(({ item: P }) => [
232
- o("span", Zt, _(P.name), 1)
232
+ a("span", Zt, _(P.name), 1)
233
233
  ]),
234
234
  _: 1
235
235
  })
@@ -255,12 +255,12 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
255
255
  },
256
256
  emits: ["remove", "read"],
257
257
  setup(e, { emit: n }) {
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
- return (m, a) => {
258
+ const s = e, l = n, t = ["", "bg-green-500", "bg-red-500", "bg-yellow-500", "bg-blue-500"], r = (m) => t[m], c = (m) => l("remove", m), d = (m) => l("read", m);
259
+ return (m, o) => {
260
260
  const i = Ke, u = ce;
261
261
  return p(), v("div", Xt, [
262
- o("div", {
263
- class: T(["absolute left-0 top-0 w-[3px] h-full", r(l.color)])
262
+ a("div", {
263
+ class: T(["absolute left-0 top-0 w-[3px] h-full", r(s.color)])
264
264
  }, null, 2),
265
265
  g(A, {
266
266
  class: "shrink-0",
@@ -268,18 +268,18 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
268
268
  onClick: d
269
269
  }, {
270
270
  default: x(() => [
271
- o("span", {
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
- }, [...a[0] || (a[0] = [
274
- o("span", { class: "absolute -z-1 inline-flex h-full w-full animate-ping rounded-full bg-orange-400 opacity-75" }, null, -1)
271
+ a("span", {
272
+ class: T([s.isNew ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
273
+ }, [...o[0] || (o[0] = [
274
+ a("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),
276
276
  g(i, { class: "size-5" })
277
277
  ]),
278
278
  _: 1
279
279
  }),
280
- o("div", Yt, [
281
- o("div", null, _(l.text), 1),
282
- o("div", Qt, _(q(ft)(l.date)) + " (" + _(q(vt)(l.date)) + ")", 1)
280
+ a("div", Yt, [
281
+ a("div", null, _(s.text), 1),
282
+ a("div", Qt, _(q(ft)(s.date)) + " (" + _(q(vt)(s.date)) + ")", 1)
283
283
  ]),
284
284
  g(A, {
285
285
  class: "shrink-0",
@@ -298,7 +298,7 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
298
298
  }), tn = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, nn = {
299
299
  key: 0,
300
300
  class: "flex flex-col gap-2 p-2"
301
- }, ha = /* @__PURE__ */ M({
301
+ }, bo = /* @__PURE__ */ M({
302
302
  __name: "AppNotification",
303
303
  props: {
304
304
  value: { type: Boolean },
@@ -306,18 +306,18 @@ 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 = 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", {
309
+ const s = e, l = n, t = E(() => !!s.notifications.find((o) => o.isNew)), r = E(() => !!s.notifications.length), c = (o) => l("close", o), d = (o) => l("remove", o), m = (o) => l("read", o);
310
+ return (o, i) => (p(), v(B, null, [
311
+ s.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
- o("aside", {
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"])
316
+ a("aside", {
317
+ class: T([s.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
- o("div", tn, [
320
- k(a.$slots, "header", { isNew: t.value }),
319
+ a("div", tn, [
320
+ k(o.$slots, "header", { isNew: t.value }),
321
321
  r.value ? (p(), v("div", nn, [
322
322
  g(De, {
323
323
  "enter-active-class": "transition-all duration-300 ",
@@ -328,11 +328,11 @@ 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
- (p(!0), v(L, null, N(l.notifications, (u) => (p(), v("div", {
331
+ (p(!0), v(B, null, N(s.notifications, (u) => (p(), v("div", {
332
332
  key: u.date,
333
333
  class: "relative"
334
334
  }, [
335
- k(a.$slots, "card", { item: u }, () => [
335
+ k(o.$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
338
  onRemove: (f) => d(u),
@@ -343,28 +343,28 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
343
343
  ]),
344
344
  _: 3
345
345
  })
346
- ])) : k(a.$slots, "empty", {}, void 0, void 0, 1)
346
+ ])) : k(o.$slots, "empty", {}, void 0, void 0, 1)
347
347
  ])
348
348
  ], 2)
349
349
  ], 64));
350
350
  }
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
- function an(e, n) {
353
- return p(), v("div", ln, [
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
- o("div", on, [
351
+ }), ln = {}, sn = { class: "fixed h-full w-full top-0 left-0 z-20" }, an = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2" };
352
+ function on(e, n) {
353
+ return p(), v("div", sn, [
354
+ n[0] || (n[0] = a("div", { class: "absolute h-full w-full top-0 left-0 bg-black/60 bg-blur" }, null, -1)),
355
+ a("div", an, [
356
356
  k(e.$slots, "default")
357
357
  ])
358
358
  ]);
359
359
  }
360
- const ga = /* @__PURE__ */ ut(sn, [["render", an]]), rn = {
360
+ const xo = /* @__PURE__ */ ut(ln, [["render", on]]), rn = {
361
361
  viewBox: "0 0 24 24",
362
362
  width: "1.2em",
363
363
  height: "1.2em"
364
364
  };
365
365
  function dn(e, n) {
366
366
  return p(), v("svg", rn, [...n[0] || (n[0] = [
367
- o("path", {
367
+ a("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)
@@ -373,7 +373,7 @@ function dn(e, n) {
373
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
- }, 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({
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" }, yo = /* @__PURE__ */ M({
377
377
  __name: "AppNav",
378
378
  props: {
379
379
  menu: { default: () => [] },
@@ -382,9 +382,9 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
382
382
  },
383
383
  emits: ["sidebar"],
384
384
  setup(e, { emit: n }) {
385
- const l = n, s = E(""), t = ({ name: a }) => {
386
- e.isSidebar && l("sidebar", !e.isSidebar), s.value !== a && (s.value = s.value === a ? "" : a);
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(
385
+ const s = n, l = L(""), t = ({ name: o }) => {
386
+ e.isSidebar && s("sidebar", !e.isSidebar), l.value !== o && (l.value = l.value === o ? "" : o);
387
+ }, r = (o) => e.fullPath === o, c = (o) => o ? e.fullPath === o || e.fullPath.startsWith(o) : !1, d = (o, i) => !o.path || i === "/" || o.path === "/" ? !1 : o.path === i || i.includes(o.path), m = (o, i) => (o == null ? void 0 : o.find(
388
388
  (u) => {
389
389
  var f;
390
390
  return d(u, i) || ((f = u.children) == null ? void 0 : f.some(
@@ -395,17 +395,17 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
395
395
  ));
396
396
  }
397
397
  )) ?? null;
398
- return oe(
398
+ return ae(
399
399
  () => e.menu,
400
400
  () => {
401
- var a;
402
- return s.value = ((a = m(e.menu, e.fullPath) ?? ht(e.menu, e.fullPath)) == null ? void 0 : a.name) || "";
401
+ var o;
402
+ return l.value = ((o = m(e.menu, e.fullPath) ?? ht(e.menu, e.fullPath)) == null ? void 0 : o.name) || "";
403
403
  }
404
- ), (a, i) => {
404
+ ), (o, i) => {
405
405
  const u = cn;
406
406
  return p(), v("nav", null, [
407
- o("ul", un, [
408
- (p(!0), v(L, null, N(e.menu, (f) => (p(), v("li", {
407
+ a("ul", un, [
408
+ (p(!0), v(B, null, N(e.menu, (f) => (p(), v("li", {
409
409
  key: f.name
410
410
  }, [
411
411
  (p(), I(me(f.path ? "router-link" : "span"), {
@@ -414,13 +414,13 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
414
414
  onClick: F((b) => t(f), ["prevent", "stop"])
415
415
  }, {
416
416
  default: x(() => [
417
- o("div", mn, [
418
- k(a.$slots, "icon", { item: f })
417
+ a("div", mn, [
418
+ k(o.$slots, "icon", { item: f })
419
419
  ]),
420
- o("span", {
420
+ a("span", {
421
421
  class: T(["flex-1 first-letter:uppercase text-sm", e.isSidebar ? "lg:hidden" : ""])
422
422
  }, _(f.name), 3),
423
- o("button", {
423
+ a("button", {
424
424
  class: T(["cursor-pointer", [e.isSidebar ? "lg:hidden" : ""]]),
425
425
  onClick: F((b) => t(f), ["prevent", "stop"])
426
426
  }, [
@@ -431,29 +431,29 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
431
431
  }, 1032, ["to", "class", "onClick"])),
432
432
  f.children ? (p(), v("div", {
433
433
  key: 0,
434
- class: T(["translate transform overflow-hidden mt-2", [e.isSidebar ? "lg:hidden" : "", s.value === f.name ? "block" : "hidden"]])
434
+ class: T(["translate transform overflow-hidden mt-2", [e.isSidebar ? "lg:hidden" : "", l.value === f.name ? "block" : "hidden"]])
435
435
  }, [
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 }, [
436
+ a("ul", fn, [
437
+ (p(!0), v(B, null, N(f.children, ({ name: b, path: h, icon: y, children: S }) => (p(), v("li", { key: b }, [
438
438
  (p(), I(me(h ? "router-link" : "span"), {
439
439
  to: h,
440
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
- o("div", vn, [
444
- o("div", hn, [
445
- k(a.$slots, "icon-children", {
443
+ a("div", vn, [
444
+ a("div", hn, [
445
+ k(o.$slots, "icon-children", {
446
446
  item: { name: b, path: h, icon: y }
447
447
  })
448
448
  ]),
449
- o("span", gn, _(b), 1)
449
+ a("span", gn, _(b), 1)
450
450
  ])
451
451
  ]),
452
452
  _: 2
453
453
  }, 1032, ["to", "class"])),
454
454
  S != null && S.length && c(h) ? (p(), v("div", bn, [
455
- o("ul", xn, [
456
- (p(!0), v(L, null, N(S, (V) => (p(), v("li", {
455
+ a("ul", xn, [
456
+ (p(!0), v(B, null, N(S, (V) => (p(), v("li", {
457
457
  key: V.name
458
458
  }, [
459
459
  (p(), I(me(V.path ? "router-link" : "span"), {
@@ -461,11 +461,11 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
461
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
- o("div", yn, [
465
- o("div", _n, [
466
- k(a.$slots, "icon-children", { item: V })
464
+ a("div", yn, [
465
+ a("div", _n, [
466
+ k(o.$slots, "icon-children", { item: V })
467
467
  ]),
468
- o("span", $n, _(V.name), 1)
468
+ a("span", $n, _(V.name), 1)
469
469
  ])
470
470
  ]),
471
471
  _: 2
@@ -491,7 +491,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
491
491
  }, Mn = {
492
492
  key: 1,
493
493
  class: "relative mt-2 block h-4 w-full select-none overflow-hidden rounded-md bg-gray-200/70 dark:bg-white/10"
494
- }, zn = { class: "absolute left-[140px] top-1/2 -translate-1/2 text-sm font-bold text-black dark:text-white text-center leading-none" }, Sn = { class: "absolute left-[140px] top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, xa = /* @__PURE__ */ M({
494
+ }, zn = { class: "absolute left-[140px] top-1/2 -translate-1/2 text-sm font-bold text-black dark:text-white text-center leading-none" }, Sn = { class: "absolute left-[140px] top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, _o = /* @__PURE__ */ M({
495
495
  __name: "AppProgress",
496
496
  props: {
497
497
  timeout: { default: 5e3 },
@@ -502,10 +502,10 @@ 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 = 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(() => {
505
+ const n = L(!1), s = E(() => !!e.length), l = E(() => !!(s.value && t.value === 100 && !e.status)), t = E(() => e.status ? Math.ceil(e.size * 100 / e.length) : 100), r = Me(() => {
506
506
  n.value = !1;
507
507
  }, e.timeout);
508
- return oe(
508
+ return ae(
509
509
  () => [e.size, e.status],
510
510
  () => {
511
511
  n.value = !0, r();
@@ -522,30 +522,30 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
522
522
  }, {
523
523
  default: x(() => [
524
524
  n.value ? (p(), v("div", kn, [
525
- o("div", wn, [
526
- k(c.$slots, "default", { isDone: s.value }, () => [
527
- d[1] || (d[1] = o("div", { class: "flex-auto" }, "Progress...", -1)),
528
- s.value ? (p(), v("span", Cn, "Done")) : z("", !0)
525
+ a("div", wn, [
526
+ k(c.$slots, "default", { isDone: l.value }, () => [
527
+ d[1] || (d[1] = a("div", { class: "flex-auto" }, "Progress...", -1)),
528
+ l.value ? (p(), v("span", Cn, "Done")) : z("", !0)
529
529
  ]),
530
- o("button", {
530
+ a("button", {
531
531
  class: "cursor-pointer transition text-gray-700 dark:text-gray-400 self-start hover:text-gray-600",
532
- onClick: d[0] || (d[0] = (a) => n.value = !1)
532
+ onClick: d[0] || (d[0] = (o) => n.value = !1)
533
533
  }, [
534
534
  g(m, { class: "size-4" })
535
535
  ])
536
536
  ]),
537
- l.value ? (p(), v("div", {
537
+ s.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 ? (p(), v("div", Mn, [
543
- o("div", zn, _(t.value) + "%", 1),
544
- o("div", {
542
+ s.value ? (p(), v("div", Mn, [
543
+ a("div", zn, _(t.value) + "%", 1),
544
+ a("div", {
545
545
  class: "bg-blue-600 rounded h-4 overflow-hidden relative transition-all duration-500",
546
546
  style: ve(`width: ${t.value}%`)
547
547
  }, [
548
- o("div", Sn, _(t.value) + "%", 1)
548
+ a("div", Sn, _(t.value) + "%", 1)
549
549
  ], 4)
550
550
  ])) : z("", !0)
551
551
  ])) : z("", !0)
@@ -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" }, 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({
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" }, Ln = { class: "flex gap-2" }, En = { class: "text-gray-700 dark:text-gray-400" }, Bn = { 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" }, $o = /* @__PURE__ */ M({
558
558
  __name: "BlockInfo",
559
559
  props: {
560
560
  pkg: {},
@@ -568,36 +568,36 @@ 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 = B(() => e.firmware.join(".")), l = B(() => {
572
- var t, r, c, d, m, a, i;
573
- const s = [];
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;
571
+ const n = E(() => e.firmware.join(".")), s = E(() => {
572
+ var t, r, c, d, m, o, i;
573
+ const l = [];
574
+ return (t = e.pkg) != null && t.homepage && l.push({ name: "homepage", href: e.pkg.homepage }), (c = (r = e.pkg) == null ? void 0 : r.repository) != null && c.url && l.push({ name: "repository", href: e.pkg.repository.url }), (m = (d = e.pkg) == null ? void 0 : d.bugs) != null && m.url && l.push({ name: "bugs", href: e.pkg.bugs.url }), (o = e.pkg) != null && o.author && l.push({ name: "author", href: `mailto:${(i = e.pkg) == null ? void 0 : i.author}` }), l;
575
575
  });
576
- return (s, t) => {
576
+ return (l, t) => {
577
577
  var r, c;
578
578
  return p(), v("div", null, [
579
- o("p", Vn, _((r = e.pkg) == null ? void 0 : r.description), 1),
580
- o("div", Tn, [
581
- o("div", En, [
579
+ a("p", Vn, _((r = e.pkg) == null ? void 0 : r.description), 1),
580
+ a("div", Tn, [
581
+ a("div", Ln, [
582
582
  t[0] || (t[0] = H(" Firmware (hw): ", -1)),
583
- o("span", Bn, _(n.value), 1)
583
+ a("span", En, _(n.value), 1)
584
584
  ]),
585
- o("div", Ln, [
586
- o("div", An, [
585
+ a("div", Bn, [
586
+ a("div", An, [
587
587
  t[1] || (t[1] = H(" Version (web): ", -1)),
588
- o("span", Dn, _((c = e.pkg) == null ? void 0 : c.version), 1)
588
+ a("span", Dn, _((c = e.pkg) == null ? void 0 : c.version), 1)
589
589
  ])
590
590
  ]),
591
- t[3] || (t[3] = o("div", { class: "flex-auto" }, null, -1)),
592
- o("div", In, [
591
+ t[3] || (t[3] = a("div", { class: "flex-auto" }, null, -1)),
592
+ a("div", In, [
593
593
  t[2] || (t[2] = H(" ID: ", -1)),
594
- o("span", Hn, _(e.id.toString(16)), 1)
594
+ a("span", Hn, _(e.id.toString(16)), 1)
595
595
  ])
596
596
  ]),
597
- t[4] || (t[4] = o("hr", { class: "dark:text-gray-700 text-gray-200 my-2" }, null, -1)),
598
- o("div", jn, [
599
- o("div", Pn, [
600
- k(s.$slots, "links", { links: l.value })
597
+ t[4] || (t[4] = a("hr", { class: "dark:text-gray-700 text-gray-200 my-2" }, null, -1)),
598
+ a("div", jn, [
599
+ a("div", Pn, [
600
+ k(l.$slots, "links", { links: s.value })
601
601
  ])
602
602
  ])
603
603
  ]);
@@ -606,32 +606,32 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
606
606
  }), Nn = ["onClick"], On = { class: "mr-2" }, Un = { class: "text-sm" }, Kn = { class: "text-gray-400 text-xs" }, Rn = {
607
607
  key: 0,
608
608
  class: "flex justify-center"
609
- }, Fn = { class: "flex justify-end mt-4" }, _a = /* @__PURE__ */ M({
609
+ }, Fn = { class: "flex justify-end mt-4" }, ko = /* @__PURE__ */ M({
610
610
  __name: "BlockScan",
611
611
  props: {
612
612
  items: { default: () => [] }
613
613
  },
614
614
  emits: ["scan", "select"],
615
615
  setup(e, { emit: n }) {
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);
616
+ const s = n, l = ["OPEN", "WEP", "WPA_PSK", "WPA2_PSK", "WPA_WPA2_PSK", "MAX", "", "NO", "AUTO"], t = (c) => s("select", c), r = (c) => s("scan", c);
617
617
  return (c, d) => {
618
- const m = mt, a = Ce, i = pt, u = A;
618
+ const m = mt, o = Ce, i = pt, u = A;
619
619
  return p(), v("div", null, [
620
- g(a, {
620
+ g(o, {
621
621
  items: e.items,
622
622
  class: "bg-transparent! ring-0!"
623
623
  }, {
624
624
  default: x(({ item: f }) => [
625
- o("div", {
625
+ a("div", {
626
626
  class: "flex items-center w-full",
627
627
  onClick: (b) => t(f)
628
628
  }, [
629
- o("div", On, [
629
+ a("div", On, [
630
630
  g(m, K(R(f)), null, 16)
631
631
  ]),
632
- o("div", null, [
633
- o("div", Un, _(f.ssid), 1),
634
- o("div", Kn, _(c.$t("security")) + " : " + _(s[f.encryptionType] || "unknown"), 1)
632
+ a("div", null, [
633
+ a("div", Un, _(f.ssid), 1),
634
+ a("div", Kn, _(c.$t("security")) + " : " + _(l[f.encryptionType] || "unknown"), 1)
635
635
  ])
636
636
  ], 8, Nn)
637
637
  ]),
@@ -640,7 +640,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
640
640
  e.items.length ? z("", !0) : (p(), v("div", Rn, [
641
641
  g(i, { class: "text-primary" })
642
642
  ])),
643
- o("div", Fn, [
643
+ a("div", Fn, [
644
644
  g(u, {
645
645
  color: "blue",
646
646
  onClick: r
@@ -654,7 +654,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
654
654
  ]);
655
655
  };
656
656
  }
657
- }), Wn = { class: "md:flex items-center mb-4" }, qn = { class: "flex-auto text-gray-600 bg:text-gray-400 mb-2" }, Gn = { class: "md:max-w-50" }, Jn = { class: "flex items-center mb-4" }, Zn = { class: "flex-auto text-gray-600 bg:text-gray-400" }, Xn = { class: "flex items-center mb-4" }, Yn = { class: "flex-auto text-gray-600 bg:text-gray-400" }, $a = /* @__PURE__ */ M({
657
+ }), Wn = { class: "md:flex items-center mb-4" }, qn = { class: "flex-auto text-gray-600 bg:text-gray-400 mb-2" }, Gn = { class: "md:max-w-50" }, Jn = { class: "flex items-center mb-4" }, Zn = { class: "flex-auto text-gray-600 bg:text-gray-400" }, Xn = { class: "flex items-center mb-4" }, Yn = { class: "flex-auto text-gray-600 bg:text-gray-400" }, wo = /* @__PURE__ */ M({
658
658
  __name: "BlockService",
659
659
  props: {
660
660
  locale: {},
@@ -662,31 +662,31 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
662
662
  },
663
663
  emits: ["reboot", "reset", "locale"],
664
664
  setup(e, { emit: n }) {
665
- const l = n, s = (r) => l("locale", r), t = (r) => {
665
+ const s = n, l = (r) => s("locale", r), t = (r) => {
666
666
  var c;
667
667
  return (c = e.locales.find((d) => d.value === r)) == null ? void 0 : c.name;
668
668
  };
669
669
  return (r, c) => {
670
- const d = le, m = A;
671
- return p(), v(L, null, [
672
- o("div", Wn, [
673
- o("div", qn, _(r.$t("selectLang")), 1),
674
- o("div", Gn, [
670
+ const d = se, m = A;
671
+ return p(), v(B, null, [
672
+ a("div", Wn, [
673
+ a("div", qn, _(r.$t("selectLang")), 1),
674
+ a("div", Gn, [
675
675
  g(d, {
676
676
  "model-value": t(e.locale),
677
677
  label: r.$t("lang"),
678
678
  items: e.locales,
679
- onChange: s
679
+ onChange: l
680
680
  }, null, 8, ["model-value", "label", "items"])
681
681
  ])
682
682
  ]),
683
- o("div", Jn, [
684
- o("div", Zn, _(r.$t("rebootDev")), 1),
683
+ a("div", Jn, [
684
+ a("div", Zn, _(r.$t("rebootDev")), 1),
685
685
  g(m, {
686
686
  class: "min-w-[100px]",
687
687
  color: "red",
688
688
  outline: "",
689
- onClick: c[0] || (c[0] = (a) => l("reboot", a))
689
+ onClick: c[0] || (c[0] = (o) => s("reboot", o))
690
690
  }, {
691
691
  default: x(() => [
692
692
  H(_(r.$t("reboot")), 1)
@@ -694,12 +694,12 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
694
694
  _: 1
695
695
  })
696
696
  ]),
697
- o("div", Xn, [
698
- o("div", Yn, _(r.$t("resetConf")), 1),
697
+ a("div", Xn, [
698
+ a("div", Yn, _(r.$t("resetConf")), 1),
699
699
  g(m, {
700
700
  class: "min-w-[100px]",
701
701
  color: "red",
702
- onClick: c[1] || (c[1] = (a) => l("reset", a))
702
+ onClick: c[1] || (c[1] = (o) => s("reset", o))
703
703
  }, {
704
704
  default: x(() => [
705
705
  H(_(r.$t("reset")), 1)
@@ -710,7 +710,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
710
710
  ], 64);
711
711
  };
712
712
  }
713
- }), Qn = { class: "grid grid-cols-1 gap-4 lg:max-w-[360px] min-w-[250px]" }, es = { class: "flex flex-col w-full items-center gap-2" }, ts = ["title"], ns = { class: "absolute left-[110px] top-1/2 -translate-1/2 text-center text-sm font-bold leading-none text-gray-900 dark:text-white" }, ss = { class: "absolute left-[110px] top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, ls = { class: "flex justify-between w-full text-xs" }, os = { class: "text-gray-500 dark:text-white/50" }, as = { class: "text-sm" }, is = { class: "text-gray-500 dark:text-white/50 text-left" }, rs = { class: "text-right text-xs" }, ka = /* @__PURE__ */ M({
713
+ }), Qn = { class: "grid grid-cols-1 gap-4 lg:max-w-[360px] min-w-[250px]" }, el = { class: "flex flex-col w-full items-center gap-2" }, tl = ["title"], nl = { class: "absolute left-[110px] top-1/2 -translate-1/2 text-center text-sm font-bold leading-none text-gray-900 dark:text-white" }, ll = { class: "absolute left-[110px] top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, sl = { class: "flex justify-between w-full text-xs" }, al = { class: "text-gray-500 dark:text-white/50" }, ol = { class: "text-sm" }, il = { class: "text-gray-500 dark:text-white/50 text-left" }, rl = { class: "text-right text-xs" }, Co = /* @__PURE__ */ M({
714
714
  __name: "BlockStatus",
715
715
  props: {
716
716
  pkg: {},
@@ -724,67 +724,67 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
724
724
  board: {}
725
725
  },
726
726
  setup(e) {
727
- const n = E(e.uptime);
728
- let l = null;
729
- const s = B(() => e.firmware.join(".")), t = B(() => [
727
+ const n = L(e.uptime);
728
+ let s = null;
729
+ const l = E(() => e.firmware.join(".")), t = E(() => [
730
730
  { name: "used", value: pe(e.usedBytes) },
731
731
  { name: "available", value: pe(e.totalBytes - e.usedBytes) },
732
732
  { name: "total", value: pe(e.totalBytes) }
733
- ]), r = B(() => {
733
+ ]), r = E(() => {
734
734
  var m;
735
735
  return [
736
736
  { name: "uptime", value: gt(n.value) },
737
737
  { name: "id", value: `${e.id.toString(16)} (${e.id})` },
738
- { name: "firmware", value: s.value },
738
+ { name: "firmware", value: l.value },
739
739
  { name: "version", value: (m = e.pkg) == null ? void 0 : m.version }
740
740
  ];
741
- }), c = B(() => e.usedBytes ? Math.round(e.usedBytes * 100 / e.totalBytes) : 0), d = () => {
742
- n.value++, l = setTimeout(d, 1e3);
741
+ }), c = E(() => e.usedBytes ? Math.round(e.usedBytes * 100 / e.totalBytes) : 0), d = () => {
742
+ n.value++, s = setTimeout(d, 1e3);
743
743
  };
744
744
  return Q(() => {
745
745
  d();
746
746
  }), we(() => {
747
- n.value = 0, l && clearTimeout(l);
748
- }), (m, a) => {
747
+ n.value = 0, s && clearTimeout(s);
748
+ }), (m, o) => {
749
749
  var i, u, f;
750
750
  return p(), v("div", Qn, [
751
- o("div", es, [
752
- o("div", {
751
+ a("div", el, [
752
+ a("div", {
753
753
  class: "relative block h-4 w-full select-none overflow-hidden rounded-md bg-gray-200/70 dark:bg-white/10",
754
754
  title: `${c.value}%`
755
755
  }, [
756
- o("div", ns, _(c.value) + "%", 1),
757
- o("div", {
756
+ a("div", nl, _(c.value) + "%", 1),
757
+ a("div", {
758
758
  class: "relative h-4 overflow-hidden rounded-md bg-primary transition-all duration-500",
759
759
  style: ve(`width: ${c.value}%`)
760
760
  }, [
761
- o("div", ss, _(c.value) + "%", 1)
761
+ a("div", ll, _(c.value) + "%", 1)
762
762
  ], 4)
763
- ], 8, ts),
764
- o("div", ls, [
765
- (p(!0), v(L, null, N(t.value, (b) => (p(), v("div", {
763
+ ], 8, tl),
764
+ a("div", sl, [
765
+ (p(!0), v(B, null, N(t.value, (b) => (p(), v("div", {
766
766
  key: b.name,
767
767
  class: "flex-auto"
768
768
  }, [
769
- o("div", os, [
769
+ a("div", al, [
770
770
  k(m.$slots, "name", { item: b })
771
771
  ]),
772
- o("div", null, _(b.value), 1)
772
+ a("div", null, _(b.value), 1)
773
773
  ]))), 128))
774
774
  ])
775
775
  ]),
776
- o("div", as, [
777
- (p(!0), v(L, null, N(r.value, (b) => (p(), v("div", {
776
+ a("div", ol, [
777
+ (p(!0), v(B, null, N(r.value, (b) => (p(), v("div", {
778
778
  key: b.name,
779
779
  class: "flex justify-between items-center"
780
780
  }, [
781
- o("div", is, [
781
+ a("div", il, [
782
782
  k(m.$slots, "name", { item: b })
783
783
  ]),
784
- o("div", rs, _(b.value), 1)
784
+ a("div", rl, _(b.value), 1)
785
785
  ]))), 128))
786
786
  ]),
787
- o("div", null, [
787
+ a("div", null, [
788
788
  k(m.$slots, "default", {
789
789
  home: (i = e.pkg) == null ? void 0 : i.homepage,
790
790
  repo: (f = (u = e.pkg) == null ? void 0 : u.repository) == null ? void 0 : f.url
@@ -793,54 +793,54 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
793
793
  ]);
794
794
  };
795
795
  }
796
- }), ds = { class: "flex items-center cursor-pointer" }, cs = /* @__PURE__ */ M({
796
+ }), dl = { class: "flex items-center cursor-pointer" }, cl = /* @__PURE__ */ M({
797
797
  __name: "VFile",
798
798
  emits: ["change"],
799
799
  setup(e, { emit: n }) {
800
- const l = n, s = async (t) => {
800
+ const s = n, l = async (t) => {
801
801
  const r = t.target;
802
- r.files && l("change", r.files);
802
+ r.files && s("change", r.files);
803
803
  };
804
- return (t, r) => (p(), v("label", ds, [
805
- o("input", j({
804
+ return (t, r) => (p(), v("label", dl, [
805
+ a("input", j({
806
806
  type: "file",
807
807
  class: "hidden"
808
- }, t.$attrs, { onChange: s }), null, 16),
808
+ }, t.$attrs, { onChange: l }), null, 16),
809
809
  k(t.$slots, "default")
810
810
  ]));
811
811
  }
812
- }), us = { class: "md:flex" }, ms = { class: "text-gray-600 bg:text-gray-400 first-letter:uppercase min-w-19" }, wa = /* @__PURE__ */ M({
812
+ }), ul = { class: "md:flex" }, ml = { class: "text-gray-600 bg:text-gray-400 first-letter:uppercase min-w-19" }, Mo = /* @__PURE__ */ M({
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} (${pe(m.size)})`).join("") : "", r = (d, m) => {
817
- const a = new FormData();
816
+ const s = n, l = nt({ firmware: null, littlefs: null }), t = (d) => d ? Array.from(d).map((m) => `${m.name} (${pe(m.size)})`).join("") : "", r = (d, m) => {
817
+ const o = new FormData();
818
818
  for (let i = 0; i < d.length; i++) {
819
819
  const u = d.item(i);
820
820
  if (!u) return;
821
- a.append(`file[${i}]`, u, m);
821
+ o.append(`file[${i}]`, u, m);
822
822
  }
823
- return a;
823
+ return o;
824
824
  }, c = (d, m) => {
825
825
  if (!m) return;
826
- const a = r(m, d);
827
- a && l("update", d, a);
826
+ const o = r(m, d);
827
+ o && s("update", d, o);
828
828
  };
829
829
  return (d, m) => {
830
- const a = A;
830
+ const o = A;
831
831
  return p(), v("div", null, [
832
- (p(!0), v(L, null, N(s, (i, u) => (p(), v("div", {
832
+ (p(!0), v(B, null, N(l, (i, u) => (p(), v("div", {
833
833
  key: u,
834
834
  class: "mb-4 flex items-center"
835
835
  }, [
836
- g(cs, {
836
+ g(cl, {
837
837
  accept: ".bin",
838
- onChange: (f) => s[u] = f,
838
+ onChange: (f) => l[u] = f,
839
839
  class: "flex-auto"
840
840
  }, {
841
841
  default: x(() => [
842
- o("div", us, [
843
- o("h6", ms, _(u) + ":", 1),
842
+ a("div", ul, [
843
+ a("h6", ml, _(u) + ":", 1),
844
844
  k(d.$slots, "default", {
845
845
  file: t(i)
846
846
  })
@@ -848,7 +848,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
848
848
  ]),
849
849
  _: 2
850
850
  }, 1032, ["onChange"]),
851
- g(a, {
851
+ g(o, {
852
852
  class: "min-w-[100px]",
853
853
  color: "blue",
854
854
  disabled: !i,
@@ -863,39 +863,39 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
863
863
  ]);
864
864
  };
865
865
  }
866
- }), ps = {
866
+ }), pl = {
867
867
  viewBox: "0 0 24 24",
868
868
  width: "1.2em",
869
869
  height: "1.2em"
870
870
  };
871
- function fs(e, n) {
872
- return p(), v("svg", ps, [...n[0] || (n[0] = [
873
- o("path", {
871
+ function fl(e, n) {
872
+ return p(), v("svg", pl, [...n[0] || (n[0] = [
873
+ a("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: fs }), vs = { class: "flex items-center gap-1.5" }, Ca = /* @__PURE__ */ M({
879
+ const Re = O({ name: "ri-arrow-drop-right-line", render: fl }), vl = { class: "flex items-center gap-1.5" }, zo = /* @__PURE__ */ M({
880
880
  __name: "BlockBreadcrumb",
881
881
  props: {
882
882
  items: { default: () => [] }
883
883
  },
884
884
  emits: ["click"],
885
885
  setup(e, { emit: n }) {
886
- const l = n, s = (t) => l("click", t);
886
+ const s = n, l = (t) => s("click", t);
887
887
  return (t, r) => {
888
888
  const c = Re;
889
889
  return p(), v("nav", null, [
890
- o("ol", vs, [
891
- (p(!0), v(L, null, N(e.items, (d, m) => (p(), v("li", {
890
+ a("ol", vl, [
891
+ (p(!0), v(B, null, N(e.items, (d, m) => (p(), v("li", {
892
892
  key: m,
893
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
896
  (p(), I(me(d.path ? "a" : "span"), {
897
897
  href: d.path,
898
- onClick: (a) => s(d)
898
+ onClick: (o) => l(d)
899
899
  }, {
900
900
  default: x(() => [
901
901
  H(_(d.name), 1)
@@ -912,23 +912,23 @@ const Re = O({ name: "ri-arrow-drop-right-line", render: fs }), vs = { class: "f
912
912
  ]);
913
913
  };
914
914
  }
915
- }), hs = {
915
+ }), hl = {
916
916
  viewBox: "0 0 24 24",
917
917
  width: "1.2em",
918
918
  height: "1.2em"
919
919
  };
920
- function gs(e, n) {
921
- return p(), v("svg", hs, [...n[0] || (n[0] = [
922
- o("path", {
920
+ function gl(e, n) {
921
+ return p(), v("svg", hl, [...n[0] || (n[0] = [
922
+ a("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"
925
925
  }, null, -1)
926
926
  ])]);
927
927
  }
928
- const bs = O({ name: "ri-file-copy2-line", render: gs }), xs = { class: "flex-auto flex justify-between" }, ys = { class: "text-sm text-gray-500 font-medium line-clamp-2 overflow-hidden" }, _s = { class: "text-sm text-ellipsis overflow-hidden text-nowrap" }, $s = {
928
+ const bl = O({ name: "ri-file-copy2-line", render: gl }), xl = { class: "flex-auto flex justify-between" }, yl = { class: "text-sm text-gray-500 font-medium line-clamp-2 overflow-hidden" }, _l = { class: "text-sm text-ellipsis overflow-hidden text-nowrap" }, $l = {
929
929
  key: 0,
930
930
  class: "absolute left-1/2 top-1/2 size-[calc(50%)] text-gray-200/30 dark:text-gray-800/30 -translate-1/2"
931
- }, ks = { class: "min-h-60 relative" }, ws = { class: "pt-6" }, Cs = { class: "text-center text-3xl text-ellipsis overflow-hidden" }, Ms = { class: "text-center text-xl mt-4" }, ae = /* @__PURE__ */ M({
931
+ }, kl = { class: "min-h-60 relative" }, wl = { class: "pt-6" }, Cl = { class: "text-center text-3xl text-ellipsis overflow-hidden" }, Ml = { class: "text-center text-xl mt-4" }, oe = /* @__PURE__ */ M({
932
932
  __name: "CardBase",
933
933
  props: {
934
934
  size: {},
@@ -948,46 +948,46 @@ 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 = 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
- t.value = !1, s("close", u);
951
+ const s = e, l = n, t = L(!1), r = E(() => ["button", "dimmer"].includes(s.type || "") && s.value ? "text-amber-500" : "text-gray-400"), c = (u) => l("edit", u), d = (u) => l("clone", u), m = () => t.value = !0, o = (u) => l("open", u), i = (u) => {
952
+ t.value = !1, l("close", u);
953
953
  };
954
954
  return (u, f) => {
955
- const b = Ue, h = bs;
955
+ const b = Ue, h = bl;
956
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
- o("div", xs, [
961
- o("div", {
960
+ a("div", xl, [
961
+ a("div", {
962
962
  class: T([r.value, "size-8 animate-shake"])
963
963
  }, [
964
- k(u.$slots, "icon", K(R(l)))
964
+ k(u.$slots, "icon", K(R(s)))
965
965
  ], 2),
966
- k(u.$slots, "header", K(R(l)))
966
+ k(u.$slots, "header", K(R(s)))
967
967
  ]),
968
- o("div", null, [
969
- k(u.$slots, "body", K(R(l)), () => [
970
- o("h6", ys, [
971
- k(u.$slots, "name", K(R(l)), () => [
972
- H(_(l.name), 1)
968
+ a("div", null, [
969
+ k(u.$slots, "body", K(R(s)), () => [
970
+ a("h6", yl, [
971
+ k(u.$slots, "name", K(R(s)), () => [
972
+ H(_(s.name), 1)
973
973
  ])
974
974
  ]),
975
- o("div", _s, [
976
- k(u.$slots, "value", K(R(l)), () => [
977
- H(_(l.valueTo || l.value), 1)
975
+ a("div", _l, [
976
+ k(u.$slots, "value", K(R(s)), () => [
977
+ H(_(s.valueTo || s.value), 1)
978
978
  ])
979
979
  ])
980
980
  ])
981
981
  ]),
982
- l.icon ? (p(), v("div", $s, [
983
- k(u.$slots, "icon", K(R(l)))
982
+ s.icon ? (p(), v("div", $l, [
983
+ k(u.$slots, "icon", K(R(s)))
984
984
  ])) : z("", !0),
985
985
  t.value ? (p(), I(Oe, {
986
986
  key: 1,
987
- size: l.size || "sm",
987
+ size: s.size || "sm",
988
988
  title: e.name,
989
989
  onClose: i,
990
- onOpen: a
990
+ onOpen: o
991
991
  }, {
992
992
  "header-btn": x(() => [
993
993
  g(A, {
@@ -1010,17 +1010,17 @@ const bs = O({ name: "ri-file-copy2-line", render: gs }), xs = { class: "flex-au
1010
1010
  })
1011
1011
  ]),
1012
1012
  default: x(() => [
1013
- o("div", ks, [
1014
- o("div", ws, [
1015
- o("h3", Cs, [
1016
- k(u.$slots, "dialog-name", K(R(l)), () => [
1017
- H(_(l.name), 1)
1013
+ a("div", kl, [
1014
+ a("div", wl, [
1015
+ a("h3", Cl, [
1016
+ k(u.$slots, "dialog-name", K(R(s)), () => [
1017
+ H(_(s.name), 1)
1018
1018
  ])
1019
1019
  ]),
1020
- k(u.$slots, "dialog", K(R(l))),
1021
- o("p", Ms, [
1022
- k(u.$slots, "dialog-value", K(R(l)), () => [
1023
- H(_(l.valueTo || l.value), 1)
1020
+ k(u.$slots, "dialog", K(R(s))),
1021
+ a("p", Ml, [
1022
+ k(u.$slots, "dialog-value", K(R(s)), () => [
1023
+ H(_(s.valueTo || s.value), 1)
1024
1024
  ])
1025
1025
  ])
1026
1026
  ])
@@ -1031,20 +1031,20 @@ const bs = O({ name: "ri-file-copy2-line", render: gs }), xs = { class: "flex-au
1031
1031
  ]);
1032
1032
  };
1033
1033
  }
1034
- }), zs = {
1034
+ }), zl = {
1035
1035
  viewBox: "0 0 24 24",
1036
1036
  width: "1.2em",
1037
1037
  height: "1.2em"
1038
1038
  };
1039
- function Ss(e, n) {
1040
- return p(), v("svg", zs, [...n[0] || (n[0] = [
1041
- o("path", {
1039
+ function Sl(e, n) {
1040
+ return p(), v("svg", zl, [...n[0] || (n[0] = [
1041
+ a("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" }, Es = { class: "flex justify-center py-4" }, Ma = /* @__PURE__ */ M({
1047
+ const Vl = O({ name: "ri-shut-down-line", render: Sl }), Tl = { class: "flex justify-end" }, Ll = { class: "flex justify-center py-4" }, So = /* @__PURE__ */ M({
1048
1048
  __name: "CardButton",
1049
1049
  props: {
1050
1050
  size: {},
@@ -1064,25 +1064,25 @@ const Vs = O({ name: "ri-shut-down-line", render: Ss }), Ts = { class: "flex jus
1064
1064
  },
1065
1065
  emits: ["edit", "close", "click", "clone", "open", "setState"],
1066
1066
  setup(e, { emit: n }) {
1067
- const l = e, s = n, t = ({ opts: c = {} }) => {
1067
+ const s = e, l = n, t = ({ opts: c = {} }) => {
1068
1068
  const { disabled: d } = c;
1069
1069
  return { disabled: d };
1070
- }, r = () => s("setState", !l.value);
1070
+ }, r = () => l("setState", !s.value);
1071
1071
  return (c, d) => {
1072
- const m = Vs;
1073
- return p(), I(ae, j(l, {
1074
- onClick: d[0] || (d[0] = (a) => s("click", a)),
1075
- onEdit: d[1] || (d[1] = (a) => s("edit", a)),
1076
- onClone: d[2] || (d[2] = (a) => s("clone", a))
1072
+ const m = Vl;
1073
+ return p(), I(oe, j(s, {
1074
+ onClick: d[0] || (d[0] = (o) => l("click", o)),
1075
+ onEdit: d[1] || (d[1] = (o) => l("edit", o)),
1076
+ onClone: d[2] || (d[2] = (o) => l("clone", o))
1077
1077
  }), {
1078
- icon: x((a) => [
1079
- k(c.$slots, "icon", K(R(a)))
1078
+ icon: x((o) => [
1079
+ k(c.$slots, "icon", K(R(o)))
1080
1080
  ]),
1081
- header: x((a) => [
1082
- o("div", Ts, [
1083
- g(A, j(t(a), {
1081
+ header: x((o) => [
1082
+ a("div", Tl, [
1083
+ g(A, j(t(o), {
1084
1084
  type: "icon",
1085
- class: l.value ? "text-amber-500" : "text-gray-500",
1085
+ class: s.value ? "text-amber-500" : "text-gray-500",
1086
1086
  onClick: F(r, ["stop"])
1087
1087
  }), {
1088
1088
  default: x(() => [
@@ -1092,11 +1092,11 @@ const Vs = O({ name: "ri-shut-down-line", render: Ss }), Ts = { class: "flex jus
1092
1092
  }, 16, ["class"])
1093
1093
  ])
1094
1094
  ]),
1095
- dialog: x((a) => [
1096
- o("div", Es, [
1097
- g(A, j(t(a), {
1095
+ dialog: x((o) => [
1096
+ a("div", Ll, [
1097
+ g(A, j(t(o), {
1098
1098
  type: "icon",
1099
- class: ["size-18", l.value ? "text-amber-500" : "text-gray-500"],
1099
+ class: ["size-18", s.value ? "text-amber-500" : "text-gray-500"],
1100
1100
  onClick: F(r, ["stop"])
1101
1101
  }), {
1102
1102
  default: x(() => [
@@ -1110,20 +1110,20 @@ const Vs = O({ name: "ri-shut-down-line", render: Ss }), Ts = { class: "flex jus
1110
1110
  }, 16);
1111
1111
  };
1112
1112
  }
1113
- }), Bs = {
1113
+ }), El = {
1114
1114
  viewBox: "0 0 24 24",
1115
1115
  width: "1.2em",
1116
1116
  height: "1.2em"
1117
1117
  };
1118
- function Ls(e, n) {
1119
- return p(), v("svg", Bs, [...n[0] || (n[0] = [
1120
- o("path", {
1118
+ function Bl(e, n) {
1119
+ return p(), v("svg", El, [...n[0] || (n[0] = [
1120
+ a("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"
1123
1123
  }, null, -1)
1124
1124
  ])]);
1125
1125
  }
1126
- const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-center relative mx-2 my-6" }, za = /* @__PURE__ */ M({
1126
+ const Al = O({ name: "ri-time-line", render: Bl }), Dl = { class: "flex justify-center relative mx-2 my-6" }, Vo = /* @__PURE__ */ M({
1127
1127
  __name: "CardDate",
1128
1128
  props: {
1129
1129
  size: {},
@@ -1143,30 +1143,30 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1143
1143
  },
1144
1144
  emits: ["edit", "close", "click", "clone", "open", "setState"],
1145
1145
  setup(e, { emit: n }) {
1146
- const l = e, s = n, t = Ie("time"), r = (a) => new Date(+a * 1e3).toISOString().slice(0, 16), c = (a) => {
1146
+ const s = e, l = n, t = Ie("time"), r = (o) => new Date(+o * 1e3).toISOString().slice(0, 16), c = (o) => {
1147
1147
  var u;
1148
- const i = (u = a == null ? void 0 : a.target) == null ? void 0 : u.valueAsNumber;
1149
- i && s("setState", i / 1e3);
1150
- }, d = ({ name: a, value: i, opts: u = {} }) => {
1148
+ const i = (u = o == null ? void 0 : o.target) == null ? void 0 : u.valueAsNumber;
1149
+ i && l("setState", i / 1e3);
1150
+ }, d = ({ name: o, value: i, opts: u = {} }) => {
1151
1151
  const { disabled: f } = u;
1152
- return { label: a, modelValue: r(i), disabled: f };
1152
+ return { label: o, modelValue: r(i), disabled: f };
1153
1153
  }, m = () => {
1154
1154
  var i, u;
1155
- const a = (u = (i = t.value) == null ? void 0 : i.$el) == null ? void 0 : u.querySelector("input");
1156
- a != null && a.showPicker && a.showPicker();
1155
+ const o = (u = (i = t.value) == null ? void 0 : i.$el) == null ? void 0 : u.querySelector("input");
1156
+ o != null && o.showPicker && o.showPicker();
1157
1157
  };
1158
- return (a, i) => {
1159
- const u = As;
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))
1158
+ return (o, i) => {
1159
+ const u = Al;
1160
+ return p(), I(oe, j(s, {
1161
+ onClick: i[0] || (i[0] = (f) => l("click", f)),
1162
+ onEdit: i[1] || (i[1] = (f) => l("edit", f)),
1163
+ onClone: i[2] || (i[2] = (f) => l("clone", f))
1164
1164
  }), {
1165
1165
  icon: x((f) => [
1166
- k(a.$slots, "icon", K(R(f)))
1166
+ k(o.$slots, "icon", K(R(f)))
1167
1167
  ]),
1168
1168
  header: x((f) => [
1169
- o("div", null, [
1169
+ a("div", null, [
1170
1170
  g(A, {
1171
1171
  type: "icon",
1172
1172
  class: "text-gray-500",
@@ -1189,7 +1189,7 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1189
1189
  ])
1190
1190
  ]),
1191
1191
  dialog: x((f) => [
1192
- o("div", Ds, [
1192
+ a("div", Dl, [
1193
1193
  g(J, j(d(f), {
1194
1194
  type: "datetime-local",
1195
1195
  onChange: c
@@ -1200,15 +1200,15 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1200
1200
  }, 16);
1201
1201
  };
1202
1202
  }
1203
- }), Is = { class: "flex justify-end" }, Hs = { class: "flex justify-end" }, js = {
1203
+ }), Il = { class: "flex justify-end" }, Hl = { class: "flex justify-end" }, jl = {
1204
1204
  class: /* @__PURE__ */ T("text-blue-600 dark:text-blue-400")
1205
- }, Ps = {
1205
+ }, Pl = {
1206
1206
  width: "30",
1207
1207
  height: "30",
1208
1208
  viewBox: "-7.5 -7.5 75 75",
1209
1209
  version: "1.1",
1210
1210
  style: { transform: "rotate(-90deg)" }
1211
- }, Ns = ["stroke-dashoffset"], Os = { class: "absolute top-1/2 left-1/2 -translate-1/2 text-white z-10 font-bold text-xl" }, Sa = /* @__PURE__ */ M({
1211
+ }, Nl = ["stroke-dashoffset"], Ol = { class: "absolute top-1/2 left-1/2 -translate-1/2 text-white z-10 font-bold text-xl" }, To = /* @__PURE__ */ M({
1212
1212
  __name: "CardDimmer",
1213
1213
  props: {
1214
1214
  size: {},
@@ -1228,31 +1228,31 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1228
1228
  },
1229
1229
  emits: ["edit", "close", "click", "clone", "open", "setState"],
1230
1230
  setup(e, { emit: n }) {
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 }) => {
1231
+ const s = e, l = n, t = L(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
1232
  const { min: f = 0, max: b = 255, step: h = 1, disabled: y } = u || {};
1233
1233
  return { min: f, max: b, step: h, value: i, disabled: !!y, class: y ? "" : "cursor-pointer" };
1234
- }, m = (i) => s("setState", +i.target.value || 0), a = ({ value: i }) => {
1235
- +i != 0 ? (t.value = +i, s("setState", 0)) : s("setState", i ? 0 : t.value || 255);
1234
+ }, m = (i) => l("setState", +i.target.value || 0), o = ({ value: i }) => {
1235
+ +i != 0 ? (t.value = +i, l("setState", 0)) : l("setState", i ? 0 : t.value || 255);
1236
1236
  };
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))
1237
+ return (i, u) => (p(), I(oe, j(s, {
1238
+ onClick: u[0] || (u[0] = (f) => l("click", f)),
1239
+ onEdit: u[1] || (u[1] = (f) => l("edit", f)),
1240
+ onClone: u[2] || (u[2] = (f) => l("clone", f))
1241
1241
  }), {
1242
1242
  icon: x((f) => [
1243
1243
  k(i.$slots, "icon", K(R(f)))
1244
1244
  ]),
1245
1245
  header: x((f) => [
1246
- o("div", Is, [
1247
- o("div", Hs, [
1246
+ a("div", Il, [
1247
+ a("div", Hl, [
1248
1248
  g(A, j(d(f), {
1249
1249
  type: "icon",
1250
- onClick: F((b) => a(f), ["stop"])
1250
+ onClick: F((b) => o(f), ["stop"])
1251
1251
  }), {
1252
1252
  default: x(() => [
1253
- o("div", js, [
1254
- (p(), v("svg", Ps, [
1255
- u[3] || (u[3] = o("circle", {
1253
+ a("div", jl, [
1254
+ (p(), v("svg", Pl, [
1255
+ u[3] || (u[3] = a("circle", {
1256
1256
  class: "stroke-gray-300 dark:stroke-gray-700",
1257
1257
  r: "30",
1258
1258
  cx: "30",
@@ -1260,7 +1260,7 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1260
1260
  fill: "transparent",
1261
1261
  "stroke-width": "10"
1262
1262
  }, null, -1)),
1263
- o("circle", {
1263
+ a("circle", {
1264
1264
  r: "30",
1265
1265
  cx: "30",
1266
1266
  cy: "30",
@@ -1270,7 +1270,7 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1270
1270
  "stroke-dashoffset": c(f),
1271
1271
  fill: "transparent",
1272
1272
  "stroke-dasharray": "187"
1273
- }, null, 8, Ns)
1273
+ }, null, 8, Nl)
1274
1274
  ]))
1275
1275
  ])
1276
1276
  ]),
@@ -1280,16 +1280,16 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1280
1280
  ])
1281
1281
  ]),
1282
1282
  dialog: x((f) => [
1283
- o("div", {
1283
+ a("div", {
1284
1284
  class: T(["flex justify-center relative mx-2 my-6", d(f).disabled ? "opacity-40" : ""])
1285
1285
  }, [
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
- o("div", {
1286
+ u[4] || (u[4] = a("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
+ a("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
1289
  style: ve(`width: ${r(f)}%`)
1290
1290
  }, null, 4),
1291
- o("div", Os, _(r(f)) + " %", 1),
1292
- o("input", j({ type: "range" }, d(f), {
1291
+ a("div", Ol, _(r(f)) + " %", 1),
1292
+ a("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)
@@ -1298,7 +1298,7 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1298
1298
  _: 3
1299
1299
  }, 16));
1300
1300
  }
1301
- }), Va = /* @__PURE__ */ M({
1301
+ }), Lo = /* @__PURE__ */ M({
1302
1302
  __name: "CardInfo",
1303
1303
  props: {
1304
1304
  size: {},
@@ -1318,11 +1318,11 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1318
1318
  },
1319
1319
  emits: ["edit", "close", "click", "clone", "open", "setState"],
1320
1320
  setup(e, { emit: n }) {
1321
- const l = e, s = n;
1322
- return (t, r) => (p(), I(ae, j(l, {
1323
- onClick: r[0] || (r[0] = (c) => s("click", c)),
1324
- onEdit: r[1] || (r[1] = (c) => s("edit", c)),
1325
- onClone: r[2] || (r[2] = (c) => s("clone", c))
1321
+ const s = e, l = n;
1322
+ return (t, r) => (p(), I(oe, j(s, {
1323
+ onClick: r[0] || (r[0] = (c) => l("click", c)),
1324
+ onEdit: r[1] || (r[1] = (c) => l("edit", c)),
1325
+ onClone: r[2] || (r[2] = (c) => l("clone", c))
1326
1326
  }), {
1327
1327
  icon: x((c) => [
1328
1328
  k(t.$slots, "icon", K(R(c)))
@@ -1333,7 +1333,7 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1333
1333
  _: 3
1334
1334
  }, 16));
1335
1335
  }
1336
- }), Us = { class: "flex justify-center relative mx-2 my-6" }, Ta = /* @__PURE__ */ M({
1336
+ }), Ul = { class: "flex justify-center relative mx-2 my-6" }, Eo = /* @__PURE__ */ M({
1337
1337
  __name: "CardInput",
1338
1338
  props: {
1339
1339
  size: {},
@@ -1353,27 +1353,27 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1353
1353
  },
1354
1354
  emits: ["edit", "close", "click", "clone", "open", "setState"],
1355
1355
  setup(e, { emit: n }) {
1356
- const l = e, s = n, t = E(l.value || ""), r = ({ name: d, opts: m = {} }) => {
1357
- const { disabled: a } = m;
1358
- return { label: d, disabled: a };
1359
- }, c = (d) => s("setState", d.target.value);
1360
- return oe(
1361
- () => l.value,
1356
+ const s = e, l = n, t = L(s.value || ""), r = ({ name: d, opts: m = {} }) => {
1357
+ const { disabled: o } = m;
1358
+ return { label: d, disabled: o };
1359
+ }, c = (d) => l("setState", d.target.value);
1360
+ return ae(
1361
+ () => s.value,
1362
1362
  (d) => {
1363
1363
  t.value = d;
1364
1364
  }
1365
1365
  ), (d, m) => {
1366
- const a = Re;
1367
- return p(), I(ae, j(l, {
1368
- onClick: m[1] || (m[1] = (i) => s("click", i)),
1369
- onEdit: m[2] || (m[2] = (i) => s("edit", i)),
1370
- onClone: m[3] || (m[3] = (i) => s("clone", i))
1366
+ const o = Re;
1367
+ return p(), I(oe, j(s, {
1368
+ onClick: m[1] || (m[1] = (i) => l("click", i)),
1369
+ onEdit: m[2] || (m[2] = (i) => l("edit", i)),
1370
+ onClone: m[3] || (m[3] = (i) => l("clone", i))
1371
1371
  }), {
1372
1372
  icon: x((i) => [
1373
1373
  k(d.$slots, "icon", K(R(i)))
1374
1374
  ]),
1375
1375
  dialog: x((i) => [
1376
- o("div", Us, [
1376
+ a("div", Ul, [
1377
1377
  g(J, j({
1378
1378
  modelValue: t.value,
1379
1379
  "onUpdate:modelValue": m[0] || (m[0] = (u) => t.value = u)
@@ -1382,7 +1382,7 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1382
1382
  onBlur: c
1383
1383
  }), {
1384
1384
  icon: x(() => [
1385
- g(a, { class: "size-8" })
1385
+ g(o, { class: "size-8" })
1386
1386
  ]),
1387
1387
  _: 1
1388
1388
  }, 16, ["modelValue"])
@@ -1392,20 +1392,20 @@ const As = O({ name: "ri-time-line", render: Ls }), Ds = { class: "flex justify-
1392
1392
  }, 16);
1393
1393
  };
1394
1394
  }
1395
- }), Ks = {
1395
+ }), Kl = {
1396
1396
  viewBox: "0 0 24 24",
1397
1397
  width: "1.2em",
1398
1398
  height: "1.2em"
1399
1399
  };
1400
- function Rs(e, n) {
1401
- return p(), v("svg", Ks, [...n[0] || (n[0] = [
1402
- o("path", {
1400
+ function Rl(e, n) {
1401
+ return p(), v("svg", Kl, [...n[0] || (n[0] = [
1402
+ a("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" }, Ea = /* @__PURE__ */ M({
1408
+ const Fl = O({ name: "ri-list-check", render: Rl }), Wl = { class: "flex justify-center py-4" }, Bo = /* @__PURE__ */ M({
1409
1409
  __name: "CardList",
1410
1410
  props: {
1411
1411
  size: {},
@@ -1425,20 +1425,20 @@ const Fs = O({ name: "ri-list-check", render: Rs }), Ws = { class: "flex justify
1425
1425
  },
1426
1426
  emits: ["edit", "close", "click", "clone", "open", "setState"],
1427
1427
  setup(e, { emit: n }) {
1428
- const l = e, s = n, t = ({ value: d }) => s("setState", d), r = ({ opts: d, value: m }) => {
1429
- var a;
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
- }, c = ({ name: d, value: m, opts: a = {} }) => {
1428
+ const s = e, l = n, t = ({ value: d }) => l("setState", d), r = ({ opts: d, value: m }) => {
1429
+ var o;
1430
+ return Array.isArray(d == null ? void 0 : d.items) && ((o = d == null ? void 0 : d.items.find((i) => i.value == m)) == null ? void 0 : o.name) || m;
1431
+ }, c = ({ name: d, value: m, opts: o = {} }) => {
1432
1432
  var b;
1433
- const { items: i = [], disabled: u } = a, f = ((b = i.find((h) => h.value == m)) == null ? void 0 : b.name) || m;
1433
+ const { items: i = [], disabled: u } = o, f = ((b = i.find((h) => h.value == m)) == null ? void 0 : b.name) || m;
1434
1434
  return { label: d, modelValue: f, items: i, disabled: !!u };
1435
1435
  };
1436
1436
  return (d, m) => {
1437
- const a = Fs;
1438
- return p(), I(ae, j(l, {
1439
- onClick: m[1] || (m[1] = (i) => s("click", i)),
1440
- onEdit: m[2] || (m[2] = (i) => s("edit", i)),
1441
- onClone: m[3] || (m[3] = (i) => s("clone", i))
1437
+ const o = Fl;
1438
+ return p(), I(oe, j(s, {
1439
+ onClick: m[1] || (m[1] = (i) => l("click", i)),
1440
+ onEdit: m[2] || (m[2] = (i) => l("edit", i)),
1441
+ onClone: m[3] || (m[3] = (i) => l("clone", i))
1442
1442
  }), {
1443
1443
  icon: x((i) => [
1444
1444
  k(d.$slots, "icon", K(R(i)))
@@ -1450,11 +1450,11 @@ const Fs = O({ name: "ri-list-check", render: Rs }), Ws = { class: "flex justify
1450
1450
  H(_(r(i)), 1)
1451
1451
  ]),
1452
1452
  header: x((i) => [
1453
- o("div", {
1453
+ a("div", {
1454
1454
  onClick: m[0] || (m[0] = F(() => {
1455
1455
  }, ["prevent", "stop"]))
1456
1456
  }, [
1457
- g(le, j(c(i), {
1457
+ g(se, j(c(i), {
1458
1458
  "is-popup": "",
1459
1459
  top: "0",
1460
1460
  left: "-115px",
@@ -1467,7 +1467,7 @@ const Fs = O({ name: "ri-list-check", render: Rs }), Ws = { class: "flex justify
1467
1467
  onClick: F(u.click, ["stop"])
1468
1468
  }, {
1469
1469
  default: x(() => [
1470
- g(a, { class: "size-6" })
1470
+ g(o, { class: "size-6" })
1471
1471
  ]),
1472
1472
  _: 1
1473
1473
  }, 8, ["onClick"])
@@ -1477,8 +1477,8 @@ const Fs = O({ name: "ri-list-check", render: Rs }), Ws = { class: "flex justify
1477
1477
  ])
1478
1478
  ]),
1479
1479
  dialog: x((i) => [
1480
- o("div", Ws, [
1481
- g(le, j(c(i), {
1480
+ a("div", Wl, [
1481
+ g(se, j(c(i), {
1482
1482
  top: "-50%",
1483
1483
  left: "50%",
1484
1484
  onChange: t
@@ -1489,33 +1489,33 @@ const Fs = O({ name: "ri-list-check", render: Rs }), Ws = { class: "flex justify
1489
1489
  }, 16);
1490
1490
  };
1491
1491
  }
1492
- }), qs = {
1492
+ }), ql = {
1493
1493
  viewBox: "0 0 24 24",
1494
1494
  width: "1.2em",
1495
1495
  height: "1.2em"
1496
1496
  };
1497
- function Gs(e, n) {
1498
- return p(), v("svg", qs, [...n[0] || (n[0] = [
1499
- o("path", {
1497
+ function Gl(e, n) {
1498
+ return p(), v("svg", ql, [...n[0] || (n[0] = [
1499
+ a("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"
1502
1502
  }, null, -1)
1503
1503
  ])]);
1504
1504
  }
1505
- const Js = O({ name: "ri-menu-search-line", render: Gs }), Zs = {
1505
+ const Jl = O({ name: "ri-menu-search-line", render: Gl }), Zl = {
1506
1506
  viewBox: "0 0 24 24",
1507
1507
  width: "1.2em",
1508
1508
  height: "1.2em"
1509
1509
  };
1510
- function Xs(e, n) {
1511
- return p(), v("svg", Zs, [...n[0] || (n[0] = [
1512
- o("path", {
1510
+ function Xl(e, n) {
1511
+ return p(), v("svg", Zl, [...n[0] || (n[0] = [
1512
+ a("path", {
1513
1513
  fill: "currentColor",
1514
1514
  d: "M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"
1515
1515
  }, null, -1)
1516
1516
  ])]);
1517
1517
  }
1518
- const ge = O({ name: "ri-add-line", render: Xs }), Ys = { class: "flex w-full relative" }, Qs = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, el = ["disabled"], Fe = /* @__PURE__ */ M({
1518
+ const ge = O({ name: "ri-add-line", render: Xl }), Yl = { class: "flex w-full relative" }, Ql = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, es = ["disabled"], Fe = /* @__PURE__ */ M({
1519
1519
  __name: "VTextWrapper",
1520
1520
  props: {
1521
1521
  active: { type: Boolean },
@@ -1525,66 +1525,66 @@ 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 = 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"]);
1528
+ const s = n, l = E(() => e.active ? "top-0 left-3 text-xs" : "top-1/2"), t = E(() => [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 p(), v("div", Ys, [
1532
- o("div", {
1531
+ return p(), v("div", Yl, [
1532
+ a("div", {
1533
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
- o("span", {
1536
- class: T(["absolute left-4 transition-all rounded -translate-y-1/2 text-gray-600 dark:text-gray-400", s.value])
1535
+ a("span", {
1536
+ class: T(["absolute left-4 transition-all rounded -translate-y-1/2 text-gray-600 dark:text-gray-400", l.value])
1537
1537
  }, _(e.label), 3),
1538
- o("div", Qs, [
1538
+ a("div", Ql, [
1539
1539
  k(r.$slots, "default")
1540
1540
  ]),
1541
1541
  e.hideIcon ? z("", !0) : (p(), v("button", {
1542
1542
  key: 0,
1543
1543
  disabled: e.disabled,
1544
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
- onClick: c[0] || (c[0] = (m) => l("icon", m))
1545
+ onClick: c[0] || (c[0] = (m) => s("icon", m))
1546
1546
  }, [
1547
1547
  k(r.$slots, "icon", {}, () => [
1548
1548
  g(d, { class: "size-4" })
1549
1549
  ])
1550
- ], 10, el))
1550
+ ], 10, es))
1551
1551
  ], 2)
1552
1552
  ]);
1553
1553
  };
1554
1554
  }
1555
- }), tl = {
1555
+ }), ts = {
1556
1556
  viewBox: "0 0 24 24",
1557
1557
  width: "1.2em",
1558
1558
  height: "1.2em"
1559
1559
  };
1560
- function nl(e, n) {
1561
- return p(), v("svg", tl, [...n[0] || (n[0] = [
1562
- o("path", {
1560
+ function ns(e, n) {
1561
+ return p(), v("svg", ts, [...n[0] || (n[0] = [
1562
+ a("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"
1565
1565
  }, null, -1)
1566
1566
  ])]);
1567
1567
  }
1568
- const sl = O({ name: "ri-file-copy-line", render: nl }), ll = {
1568
+ const ls = O({ name: "ri-file-copy-line", render: ns }), ss = {
1569
1569
  viewBox: "0 0 24 24",
1570
1570
  width: "1.2em",
1571
1571
  height: "1.2em"
1572
1572
  };
1573
- function ol(e, n) {
1574
- return p(), v("svg", ll, [...n[0] || (n[0] = [
1575
- o("path", {
1573
+ function as(e, n) {
1574
+ return p(), v("svg", ss, [...n[0] || (n[0] = [
1575
+ a("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"
1578
1578
  }, null, -1)
1579
1579
  ])]);
1580
1580
  }
1581
- const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1581
+ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
1582
1582
  key: 0,
1583
1583
  class: "me-1"
1584
- }, dl = { class: "dark:text-gray-300" }, cl = { class: "flex gap-3 items-center z-10" }, ul = {
1584
+ }, ds = { class: "dark:text-gray-300" }, cs = { class: "flex gap-3 items-center z-10" }, us = {
1585
1585
  key: 0,
1586
1586
  class: "flex ps-5"
1587
- }, ml = { class: "font-medium dark:text-gray-300" }, We = /* @__PURE__ */ M({
1587
+ }, ms = { class: "font-medium dark:text-gray-300" }, We = /* @__PURE__ */ M({
1588
1588
  __name: "VListObject",
1589
1589
  props: {
1590
1590
  items: { default: () => ({}) },
@@ -1593,26 +1593,26 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1593
1593
  },
1594
1594
  emits: ["click"],
1595
1595
  setup(e, { emit: n }) {
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) => {
1596
+ const s = n, l = () => "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 = L({}), { text: r, copy: c, copied: d, isSupported: m } = _t(), o = (b) => {
1597
1597
  t.value[b] = !t.value[b];
1598
1598
  }, i = (b) => typeof b == "object", u = (b) => `${e.path ? e.path + "." : ""}${b}`, f = (b, h) => {
1599
- l("click", { key: b, path: u(b), isObject: h });
1599
+ s("click", { key: b, path: u(b), isObject: h });
1600
1600
  };
1601
1601
  return (b, h) => {
1602
- const y = al, S = sl, V = ge;
1602
+ const y = os, S = ls, V = ge;
1603
1603
  return p(), v("ul", null, [
1604
- (p(!0), v(L, null, N(e.items, (w, P) => (p(), v("li", {
1604
+ (p(!0), v(B, null, N(e.items, (w, P) => (p(), v("li", {
1605
1605
  key: P,
1606
- class: T(i(w) ? "" : `flex items-center ${s()}`)
1606
+ class: T(i(w) ? "" : `flex items-center ${l()}`)
1607
1607
  }, [
1608
- o("div", {
1609
- class: T(["flex items-center cursor-pointer ps-2 h-8", i(w) ? `${s()}` : ""]),
1610
- onClick: (Z) => a(P)
1608
+ a("div", {
1609
+ class: T(["flex items-center cursor-pointer ps-2 h-8", i(w) ? `${l()}` : ""]),
1610
+ onClick: (Z) => o(P)
1611
1611
  }, [
1612
- i(w) ? (p(), v("div", rl, [
1612
+ i(w) ? (p(), v("div", rs, [
1613
1613
  g(y, { class: "size-5" })
1614
1614
  ])) : z("", !0),
1615
- o("div", dl, _(P), 1),
1615
+ a("div", ds, _(P), 1),
1616
1616
  q(m) ? (p(), I(A, {
1617
1617
  key: 1,
1618
1618
  class: "opacity-20 hover:opacity-70 transition-all",
@@ -1629,9 +1629,9 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1629
1629
  key: 2,
1630
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) ? (p(), v(L, { key: 3 }, [
1633
- h[1] || (h[1] = o("div", { class: "flex-auto" }, null, -1)),
1634
- o("div", cl, [
1632
+ !e.onlyValue && i(w) ? (p(), v(B, { key: 3 }, [
1633
+ h[1] || (h[1] = a("div", { class: "flex-auto" }, null, -1)),
1634
+ a("div", cs, [
1635
1635
  g(A, {
1636
1636
  class: "opacity-20 hover:opacity-70 transition-all",
1637
1637
  color: "transparent",
@@ -1646,20 +1646,20 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1646
1646
  }, 8, ["title", "onClick"])
1647
1647
  ])
1648
1648
  ], 64)) : z("", !0)
1649
- ], 10, il),
1650
- i(w) ? (p(), v("div", ul, [
1649
+ ], 10, is),
1650
+ i(w) ? (p(), v("div", us, [
1651
1651
  he(g(We, {
1652
1652
  class: "flex-auto",
1653
1653
  path: u(P),
1654
1654
  items: w,
1655
1655
  onlyValue: e.onlyValue,
1656
- onClick: h[0] || (h[0] = (Z) => l("click", Z))
1656
+ onClick: h[0] || (h[0] = (Z) => s("click", Z))
1657
1657
  }, null, 8, ["path", "items", "onlyValue"]), [
1658
- [st, t.value[P]]
1658
+ [lt, t.value[P]]
1659
1659
  ])
1660
- ])) : (p(), v(L, { key: 1 }, [
1661
- h[2] || (h[2] = o("div", { class: "flex-auto gap-3" }, null, -1)),
1662
- o("div", ml, _(w), 1),
1660
+ ])) : (p(), v(B, { key: 1 }, [
1661
+ h[2] || (h[2] = a("div", { class: "flex-auto gap-3" }, null, -1)),
1662
+ a("div", ms, _(w), 1),
1663
1663
  g(A, {
1664
1664
  class: "opacity-20 hover:opacity-70 transition-all",
1665
1665
  color: "gray",
@@ -1677,50 +1677,50 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1677
1677
  ]);
1678
1678
  };
1679
1679
  }
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({
1680
+ }), ps = { class: "glass-inset rounded-md p-1" }, fs = { class: "flex gap-1" }, vs = ["onClick"], hs = { class: "px-4 py-2" }, gs = { class: "relative my-4" }, bs = { key: 0 }, xs = /* @__PURE__ */ M({
1681
1681
  __name: "VTabs",
1682
1682
  props: {
1683
1683
  value: {},
1684
1684
  items: {}
1685
1685
  },
1686
1686
  emits: ["click"],
1687
- setup(e, { expose: n, emit: l }) {
1688
- const s = l, t = E(e.value || 0), r = (d) => [
1687
+ setup(e, { expose: n, emit: s }) {
1688
+ const l = s, t = L(e.value || 0), r = (d) => [
1689
1689
  t.value === d ? "bg-primary/10 text-primary" : "text-gray-500 hover:bg-white/5 dark:text-white/50 dark:hover:bg-white/5"
1690
1690
  ], c = (d) => {
1691
- t.value = d, s("click", d);
1691
+ t.value = d, l("click", d);
1692
1692
  };
1693
1693
  return n({
1694
1694
  setActiveTab: c,
1695
1695
  activeTab: t
1696
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", {
1697
+ a("div", ps, [
1698
+ a("div", fs, [
1699
+ (p(!0), v(B, null, N(e.items, (o, i) => (p(), v("div", {
1700
1700
  key: i,
1701
1701
  class: "relative flex-auto"
1702
1702
  }, [
1703
- o("button", {
1703
+ a("button", {
1704
1704
  type: "button",
1705
1705
  class: "w-full",
1706
1706
  onClick: (u) => c(i)
1707
1707
  }, [
1708
- o("div", {
1708
+ a("div", {
1709
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
- tab: a,
1712
+ tab: o,
1713
1713
  i
1714
1714
  }, () => [
1715
- o("div", hl, _(a.title), 1)
1715
+ a("div", hs, _(o.title), 1)
1716
1716
  ])
1717
1717
  ], 2)
1718
- ], 8, vl)
1718
+ ], 8, vs)
1719
1719
  ]))), 128))
1720
1720
  ])
1721
1721
  ]),
1722
- o("div", gl, [
1723
- (p(!0), v(L, null, N(e.items, (a, i) => (p(), v("div", {
1722
+ a("div", gs, [
1723
+ (p(!0), v(B, null, N(e.items, (o, 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 ? (p(), v("div", bl, [
1736
+ t.value === i ? (p(), v("div", bs, [
1737
1737
  k(d.$slots, `tab-${i}`)
1738
1738
  ])) : z("", !0)
1739
1739
  ]),
@@ -1743,7 +1743,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1743
1743
  ])
1744
1744
  ]));
1745
1745
  }
1746
- }), yl = { class: "flex gap-1 text-amber-500 self-start text-nowrap select-none" }, _l = ["title", "onMouseenter", "onMouseleave"], $l = { class: "flex flex-auto" }, kl = ["disabled"], xe = /* @__PURE__ */ M({
1746
+ }), ys = { class: "flex gap-1 text-amber-500 self-start text-nowrap select-none" }, _s = ["title", "onMouseenter", "onMouseleave"], $s = { class: "flex flex-auto" }, ks = ["disabled"], xe = /* @__PURE__ */ M({
1747
1747
  __name: "VFunc",
1748
1748
  props: {
1749
1749
  label: {},
@@ -1754,22 +1754,22 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1754
1754
  },
1755
1755
  emits: ["change", "icon", "hover"],
1756
1756
  setup(e, { emit: n }) {
1757
- const l = n, s = ["v", "a", "b", "c"], t = E(e.value || ""), r = (m) => {
1757
+ const s = n, l = ["v", "a", "b", "c"], t = L(e.value || ""), r = (m) => {
1758
1758
  try {
1759
1759
  return new Function(m), !0;
1760
- } catch (a) {
1761
- return console.warn(a), !1;
1760
+ } catch (o) {
1761
+ return console.warn(o), !1;
1762
1762
  }
1763
1763
  }, c = Me((m) => {
1764
- const a = m.target;
1765
- r(a.value) && l("change", a.value);
1766
- }, 500), d = (m) => l("icon", m);
1767
- return oe(
1764
+ const o = m.target;
1765
+ r(o.value) && s("change", o.value);
1766
+ }, 500), d = (m) => s("icon", m);
1767
+ return ae(
1768
1768
  () => e.value,
1769
1769
  () => {
1770
1770
  e.value && (t.value = e.value);
1771
1771
  }
1772
- ), (m, a) => {
1772
+ ), (m, o) => {
1773
1773
  const i = ce, u = ge;
1774
1774
  return p(), I(Fe, {
1775
1775
  active: !!e.value,
@@ -1788,29 +1788,29 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1788
1788
  }))
1789
1789
  ]),
1790
1790
  default: x(() => [
1791
- e.value ? (p(), v(L, { key: 0 }, [
1792
- o("div", yl, [
1793
- a[3] || (a[3] = H(" ( ", -1)),
1794
- (p(!0), v(L, null, N(e.args, (f, b) => (p(), v(L, { key: f }, [
1795
- o("span", {
1791
+ e.value ? (p(), v(B, { key: 0 }, [
1792
+ a("div", ys, [
1793
+ o[3] || (o[3] = H(" ( ", -1)),
1794
+ (p(!0), v(B, null, N(e.args, (f, b) => (p(), v(B, { key: f }, [
1795
+ a("span", {
1796
1796
  class: "text-blue-400/80",
1797
1797
  title: f,
1798
- onMouseenter: (h) => l("hover", "enter", b),
1799
- onMouseleave: (h) => l("hover", "leave", b)
1800
- }, _(s[b]), 41, _l),
1801
- a[2] || (a[2] = o("span", { class: "last:hidden" }, ",", -1))
1798
+ onMouseenter: (h) => s("hover", "enter", b),
1799
+ onMouseleave: (h) => s("hover", "leave", b)
1800
+ }, _(l[b]), 41, _s),
1801
+ o[2] || (o[2] = a("span", { class: "last:hidden" }, ",", -1))
1802
1802
  ], 64))), 128)),
1803
- a[4] || (a[4] = H(" ) => ", -1))
1803
+ o[4] || (o[4] = H(" ) => ", -1))
1804
1804
  ]),
1805
- o("div", $l, [
1806
- he(o("textarea", {
1807
- "onUpdate:modelValue": a[0] || (a[0] = (f) => t.value = f),
1805
+ a("div", $s, [
1806
+ he(a("textarea", {
1807
+ "onUpdate:modelValue": o[0] || (o[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
- onInput: a[1] || (a[1] = //@ts-ignore
1811
+ onInput: o[1] || (o[1] = //@ts-ignore
1812
1812
  (...f) => q(c) && q(c)(...f))
1813
- }, null, 40, kl), [
1813
+ }, null, 40, ks), [
1814
1814
  [He, t.value]
1815
1815
  ])
1816
1816
  ])
@@ -1820,7 +1820,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1820
1820
  }, 8, ["active", "disabled", "label", "hideIcon"]);
1821
1821
  };
1822
1822
  }
1823
- }), wl = ["checked", "disabled"], Cl = { class: "text-sm ms-2 peer-disabled:opacity-40" }, Ml = /* @__PURE__ */ M({
1823
+ }), ws = ["checked", "disabled"], Cs = { class: "text-sm ms-2 peer-disabled:opacity-40" }, Ms = /* @__PURE__ */ M({
1824
1824
  __name: "VCheckbox",
1825
1825
  props: {
1826
1826
  modelValue: { type: [Number, Boolean], default: !1 },
@@ -1828,48 +1828,48 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1828
1828
  },
1829
1829
  emits: ["update:modelValue", "click"],
1830
1830
  setup(e, { emit: n }) {
1831
- const l = n, s = (r) => {
1831
+ const s = n, l = (r) => {
1832
1832
  const c = r.target;
1833
- l("update:modelValue", c.checked);
1834
- }, t = (r) => l("click", r);
1833
+ s("update:modelValue", c.checked);
1834
+ }, t = (r) => s("click", r);
1835
1835
  return (r, c) => (p(), v("label", {
1836
1836
  class: T(["inline-flex items-center relative", { "cursor-pointer": !e.disabled }]),
1837
1837
  onClick: t
1838
1838
  }, [
1839
- o("input", {
1839
+ a("input", {
1840
1840
  type: "checkbox",
1841
1841
  checked: !!e.modelValue,
1842
1842
  disabled: e.disabled,
1843
1843
  class: "peer size-5 appearance-none rounded-md border border-gray-300/80 bg-white/50 transition-all checked:border-[var(--accent-blue)] checked:bg-blue-50 dark:checked:border-[var(--accent-blue)] dark:checked:bg-[var(--accent-blue)] disabled:opacity-40 not-disabled:cursor-pointer dark:border-white/15 dark:bg-white/[0.04]",
1844
- onChange: s
1845
- }, null, 40, wl),
1846
- c[0] || (c[0] = o("button", { class: "pointer-events-none absolute left-[10px] top-1/2 -translate-x-1/2 -translate-y-1/2 text-[var(--accent-blue)] opacity-0 peer-checked:opacity-100 peer-disabled:opacity-40 dark:text-white" }, [
1847
- o("svg", {
1844
+ onChange: l
1845
+ }, null, 40, ws),
1846
+ c[0] || (c[0] = a("button", { class: "pointer-events-none absolute left-[10px] top-1/2 -translate-x-1/2 -translate-y-1/2 text-[var(--accent-blue)] opacity-0 peer-checked:opacity-100 peer-disabled:opacity-40 dark:text-white" }, [
1847
+ a("svg", {
1848
1848
  class: "h-3.5 w-3.5",
1849
1849
  viewBox: "0 0 20 20",
1850
1850
  fill: "currentColor",
1851
1851
  stroke: "currentColor",
1852
1852
  "stroke-width": "1"
1853
1853
  }, [
1854
- o("path", {
1854
+ a("path", {
1855
1855
  "fill-rule": "evenodd",
1856
1856
  d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
1857
1857
  "clip-rule": "evenodd"
1858
1858
  })
1859
1859
  ])
1860
1860
  ], -1)),
1861
- o("span", Cl, [
1861
+ a("span", Cs, [
1862
1862
  k(r.$slots, "default")
1863
1863
  ])
1864
1864
  ], 2));
1865
1865
  }
1866
- }), zl = { class: "flex flex-col" }, Sl = { class: "flex gap-4 mb-6" }, Vl = {
1866
+ }), zs = { class: "flex flex-col" }, Ss = { class: "flex gap-4 mb-6" }, Vs = {
1867
1867
  key: 0,
1868
1868
  class: "flex gap-4"
1869
- }, Tl = {
1869
+ }, Ts = {
1870
1870
  key: 1,
1871
1871
  class: ""
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({
1872
+ }, Ls = { class: "flex flex-col md:flex-row gap-4" }, Es = { class: "flex gap-4" }, Bs = { class: "flex justify-between flex-auto" }, As = ["onClick"], Ds = /* @__PURE__ */ M({
1873
1873
  __name: "ItemOptions",
1874
1874
  props: {
1875
1875
  min: { default: 0 },
@@ -1882,25 +1882,25 @@ 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 = B(() => e.items.map((h, y) => ({ ...h, id: ++y }))), t = E({ name: "", value: "" }), r = B(() => e.items.length + 1), c = B(() => {
1885
+ const s = n, l = E(() => e.items.map((h, y) => ({ ...h, id: ++y }))), t = L({ name: "", value: "" }), r = E(() => e.items.length + 1), c = E(() => {
1886
1886
  var h;
1887
1887
  return !((h = t.value) != null && h.id);
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 = () => {
1888
+ }), d = (h) => e.type === h, m = (h, y) => s("update", h, y), o = (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
- t.value = { name: `New_${h}`, value: `${h}`, id: h }, m("items", a([...s.value, t.value]));
1890
+ t.value = { name: `New_${h}`, value: `${h}`, id: h }, m("items", o([...l.value, t.value]));
1891
1891
  }, f = (h) => {
1892
- t.value.name === h.name && (t.value = { name: "", value: "" }), m("items", a(s.value.filter((y) => y.value !== h.value)));
1892
+ t.value.name === h.name && (t.value = { name: "", value: "" }), m("items", o(l.value.filter((y) => y.value !== h.value)));
1893
1893
  }, b = Me(() => {
1894
1894
  const h = t.value;
1895
1895
  if (!h.name || !h.value) return;
1896
- const y = s.value.map((S) => S.id === h.id ? h : S);
1897
- m("items", a(y));
1896
+ const y = l.value.map((S) => S.id === h.id ? h : S);
1897
+ m("items", o(y));
1898
1898
  }, 300);
1899
1899
  return (h, y) => {
1900
1900
  const S = ce, V = ge;
1901
- return p(), v("div", zl, [
1902
- o("div", Sl, [
1903
- g(Ml, {
1901
+ return p(), v("div", zs, [
1902
+ a("div", Ss, [
1903
+ g(Ms, {
1904
1904
  modelValue: e.disabled,
1905
1905
  "onUpdate:modelValue": y[0] || (y[0] = (w) => m("disabled", w ? 1 : 0))
1906
1906
  }, {
@@ -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") ? (p(), v("div", Vl, [
1913
+ d("dimmer") ? (p(), v("div", Vs, [
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") ? (p(), v("div", Tl, [
1931
- o("div", El, [
1930
+ d("list") ? (p(), v("div", Ts, [
1931
+ a("div", Ls, [
1932
1932
  g(J, {
1933
1933
  modelValue: t.value.name,
1934
1934
  "onUpdate:modelValue": [
@@ -1948,24 +1948,24 @@ 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", Bl, [
1952
- g(le, {
1951
+ a("div", Es, [
1952
+ g(se, {
1953
1953
  "model-value": t.value.value,
1954
1954
  label: "List",
1955
- items: s.value,
1955
+ items: l.value,
1956
1956
  top: "unset",
1957
1957
  bottom: "0",
1958
1958
  onChange: i
1959
1959
  }, {
1960
1960
  item: x(({ item: w }) => [
1961
- o("div", Ll, [
1962
- o("span", null, _(w.name), 1),
1963
- o("button", {
1961
+ a("div", Bs, [
1962
+ a("span", null, _(w.name), 1),
1963
+ a("button", {
1964
1964
  class: "cursor-pointer size-4",
1965
1965
  onClick: F((P) => f(w), ["prevent", "stop"])
1966
1966
  }, [
1967
1967
  g(S)
1968
- ], 8, Al)
1968
+ ], 8, As)
1969
1969
  ])
1970
1970
  ]),
1971
1971
  _: 1
@@ -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" }, Ba = /* @__PURE__ */ M({
1988
+ }), Is = { class: "flex flex-col" }, Hs = { class: "flex flex-col md:flex-row gap-6 min-h-[300px]" }, js = { class: "flex-auto order-1" }, Ps = { class: "flex-auto gap-x-2 order-1" }, Ns = { class: "grid grid-cols-1 md:grid-cols-2 gap-6" }, Os = { class: "flex gap-2 items-center" }, Us = { class: "flex flex-col gap-4" }, Ks = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, Rs = { class: "relative group" }, Fs = { class: "select-none" }, Ws = ["onClick"], qs = { class: "flex justify-center order-0 md:order-1 md:mt-11" }, Gs = { class: "flex-[0_0_130px] size-[130px]" }, Js = { class: "flex gap-4 justify-end" }, Zs = { class: "relative min-h-[200px] max-h-100dvh overflow-auto scrollbar" }, Ao = /* @__PURE__ */ M({
1989
1989
  __name: "ItemEdit",
1990
1990
  props: {
1991
1991
  items: {},
@@ -1996,7 +1996,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
1996
1996
  },
1997
1997
  emits: ["button"],
1998
1998
  setup(e, { emit: n }) {
1999
- const l = n, s = [{ title: "Main" }, { title: "Data" }, { title: "Options" }], t = E({
1999
+ const s = n, l = [{ title: "Main" }, { title: "Data" }, { title: "Options" }], t = L({
2000
2000
  id: "",
2001
2001
  name: "",
2002
2002
  type: "button",
@@ -2006,16 +2006,16 @@ 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 = B(() => {
2009
+ }), r = L(!1), c = E(() => {
2010
2010
  var $;
2011
2011
  return !(($ = e.item) != null && $.id);
2012
- }), d = B(() => !!e.items.filter(($) => {
2012
+ }), d = E(() => !!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 = B(() => t.value.type === "info"), a = B(() => {
2015
+ }).find(($) => $.id === (t == null ? void 0 : t.value.id))), m = E(() => t.value.type === "info"), o = E(() => {
2016
2016
  var $;
2017
2017
  return ($ = t.value.args) == null ? void 0 : $.length;
2018
- }), i = B(() => t.value.args.length > 3), u = B(() => {
2018
+ }), i = E(() => t.value.args.length > 3), u = E(() => {
2019
2019
  if (d.value) return !0;
2020
2020
  const { id: $, args: C } = t.value;
2021
2021
  return !$ || !C.length;
@@ -2024,9 +2024,9 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
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 = ($) => {
2026
2026
  $ === "get" && (t.value.get ? delete t.value.get : t.value.get = "v"), $ === "set" && (t.value.set ? delete t.value.set : t.value.set = "v"), $ === "getTo" && (t.value.getTo ? delete t.value.getTo : t.value.getTo = "v");
2027
- }, y = ($) => l("button", $, t.value), S = ($) => t.value.args = t.value.args.filter((C) => C !== $), V = ({ path: $ }) => {
2027
+ }, y = ($) => s("button", $, t.value), S = ($) => t.value.args = t.value.args.filter((C) => C !== $), V = ({ path: $ }) => {
2028
2028
  !t.value.args.length && !t.value.id && (t.value.id = $), t.value.args.push($), r.value = !1;
2029
- }, w = E(-1), P = ($) => w.value === $, Z = ($, C) => {
2029
+ }, w = L(-1), P = ($) => w.value === $, Z = ($, C) => {
2030
2030
  $ === "enter" && (w.value = C), $ === "leave" && (w.value = -1);
2031
2031
  }, be = ($, C) => {
2032
2032
  $ === "set" && (t.value.set = C), $ === "get" && (t.value.get = C), $ === "getTo" && (t.value.getTo = C), C || delete t.value[$];
@@ -2039,24 +2039,24 @@ 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 = ce;
2043
- return p(), v("div", Il, [
2044
- o("div", Hl, [
2045
- o("div", jl, [
2046
- g(xl, {
2042
+ const et = Jl, tt = ce;
2043
+ return p(), v("div", Is, [
2044
+ a("div", Hs, [
2045
+ a("div", js, [
2046
+ g(xs, {
2047
2047
  class: "flex-auto min-h-75",
2048
2048
  value: 0,
2049
- items: s
2049
+ items: l
2050
2050
  }, {
2051
2051
  "tab-0": x(() => [
2052
- o("div", Pl, [
2052
+ a("div", Ps, [
2053
2053
  g(J, {
2054
2054
  modelValue: t.value.id,
2055
2055
  "onUpdate:modelValue": C[0] || (C[0] = (D) => t.value.id = D),
2056
2056
  label: "ID",
2057
2057
  message: d.value ? $.$t("used") : ""
2058
- }, lt({ _: 2 }, [
2059
- a.value ? void 0 : {
2058
+ }, st({ _: 2 }, [
2059
+ o.value ? void 0 : {
2060
2060
  name: "icon",
2061
2061
  fn: x(() => [
2062
2062
  g(A, {
@@ -2077,8 +2077,8 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2077
2077
  "onUpdate:modelValue": C[1] || (C[1] = (D) => t.value.name = D),
2078
2078
  label: "Name"
2079
2079
  }, null, 8, ["modelValue"]),
2080
- o("div", Nl, [
2081
- g(le, {
2080
+ a("div", Ns, [
2081
+ g(se, {
2082
2082
  "model-value": t.value.icon,
2083
2083
  bottom: "0",
2084
2084
  top: "unset",
@@ -2088,16 +2088,16 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2088
2088
  onChange: f
2089
2089
  }, {
2090
2090
  item: x(({ item: D }) => [
2091
- o("div", Ol, [
2091
+ a("div", Os, [
2092
2092
  k($.$slots, "icon", {
2093
2093
  icon: D.value
2094
2094
  }),
2095
- o("div", null, _(D.name), 1)
2095
+ a("div", null, _(D.name), 1)
2096
2096
  ])
2097
2097
  ]),
2098
2098
  _: 3
2099
2099
  }, 8, ["model-value", "items"]),
2100
- g(le, {
2100
+ g(se, {
2101
2101
  "model-value": t.value.type,
2102
2102
  bottom: "0",
2103
2103
  top: "unset",
@@ -2109,7 +2109,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2109
2109
  ])
2110
2110
  ]),
2111
2111
  "tab-1": x(() => [
2112
- o("div", Ul, [
2112
+ a("div", Us, [
2113
2113
  g(Fe, {
2114
2114
  active: !!t.value.args.length,
2115
2115
  disabled: i.value,
@@ -2117,26 +2117,26 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2117
2117
  onIcon: C[2] || (C[2] = (D) => r.value = !0)
2118
2118
  }, {
2119
2119
  default: x(() => [
2120
- o("div", Kl, [
2121
- (p(!0), v(L, null, N(t.value.args, (D, Ve) => (p(), v("div", {
2120
+ a("div", Ks, [
2121
+ (p(!0), v(B, null, N(t.value.args, (D, Ve) => (p(), v("div", {
2122
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
- o("div", Rl, [
2126
- o("span", Fl, _(D), 1),
2127
- o("div", {
2125
+ a("div", Rs, [
2126
+ a("span", Fs, _(D), 1),
2127
+ a("div", {
2128
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)(D, e.object)), 1)
2130
+ a("pre", null, _(q(kt)(D, e.object)), 1)
2131
2131
  ], 2)
2132
2132
  ]),
2133
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(D)
2136
+ onClick: (io) => S(D)
2137
2137
  }, [
2138
2138
  g(tt, { class: "size-5" })
2139
- ], 8, Wl)) : z("", !0)
2139
+ ], 8, Ws)) : z("", !0)
2140
2140
  ]))), 128))
2141
2141
  ])
2142
2142
  ]),
@@ -2145,7 +2145,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2145
2145
  g(xe, {
2146
2146
  value: t.value.set,
2147
2147
  args: t.value.args,
2148
- disabled: !a.value || m.value,
2148
+ disabled: !o.value || m.value,
2149
2149
  label: "Set",
2150
2150
  onIcon: C[3] || (C[3] = (D) => h("set")),
2151
2151
  onHover: Z,
@@ -2154,7 +2154,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2154
2154
  g(xe, {
2155
2155
  value: t.value.get,
2156
2156
  args: t.value.args,
2157
- disabled: !a.value,
2157
+ disabled: !o.value,
2158
2158
  label: "Get",
2159
2159
  onIcon: C[5] || (C[5] = (D) => h("get")),
2160
2160
  onHover: Z,
@@ -2163,7 +2163,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2163
2163
  g(xe, {
2164
2164
  value: t.value.getTo,
2165
2165
  args: t.value.args,
2166
- disabled: !a.value,
2166
+ disabled: !o.value,
2167
2167
  label: "GetTo",
2168
2168
  onIcon: C[7] || (C[7] = (D) => h("getTo")),
2169
2169
  onHover: Z,
@@ -2172,7 +2172,7 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2172
2172
  ])
2173
2173
  ]),
2174
2174
  "tab-2": x(() => [
2175
- g(Dl, j(t.value.opts, {
2175
+ g(Ds, j(t.value.opts, {
2176
2176
  value: t.value.value,
2177
2177
  type: t.value.type,
2178
2178
  onUpdate: Qe
@@ -2181,13 +2181,13 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2181
2181
  _: 3
2182
2182
  })
2183
2183
  ]),
2184
- o("div", ql, [
2185
- o("div", Gl, [
2184
+ a("div", qs, [
2185
+ a("div", Gs, [
2186
2186
  k($.$slots, "default", { item: t.value })
2187
2187
  ])
2188
2188
  ])
2189
2189
  ]),
2190
- o("div", Jl, [
2190
+ a("div", Js, [
2191
2191
  g(A, {
2192
2192
  class: "px-4",
2193
2193
  color: "blue",
@@ -2218,10 +2218,10 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2218
2218
  onClose: C[11] || (C[11] = (D) => r.value = !1)
2219
2219
  }, {
2220
2220
  default: x(() => [
2221
- o("div", Zl, [
2221
+ a("div", Zs, [
2222
2222
  g(We, {
2223
2223
  items: e.object,
2224
- onlyValue: !a.value,
2224
+ onlyValue: !o.value,
2225
2225
  onClick: V
2226
2226
  }, null, 8, ["items", "onlyValue"])
2227
2227
  ])
@@ -2231,48 +2231,48 @@ const al = O({ name: "ri-folder6-line", render: ol }), il = ["onClick"], rl = {
2231
2231
  ]);
2232
2232
  };
2233
2233
  }
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 Ee(e) {
2234
+ }), Te = { position: "relative", boxSizing: "border-box", overflow: "hidden", fontSize: "16px", fontFamily: 'Menlo, Consolas, "Liberation Mono", Monaco, "Lucida Console", monospace' }, Xs = { 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" }, Ys = { 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" }, Qs = { 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 Le(e) {
2236
2236
  const n = Array.isArray(e) ? e : [e];
2237
- return n.length === 0 ? qe : (l) => n.reduce((s, t, r) => t(s, { html: r > 0 }), l);
2237
+ return n.length === 0 ? qe : (s) => n.reduce((l, t, r) => t(l, { html: r > 0 }), s);
2238
2238
  }
2239
- class eo {
2240
- constructor(n, l = {}) {
2239
+ class ea {
2240
+ constructor(n, s = {}) {
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
- const s = { value: "", styles: {}, plugins: [], highlighter: qe }, { highlighters: t, ...r } = l;
2244
- this.options = { ...s, ...r, highlighter: t ? Ee(t) : s.highlighter }, this.options.value = this.options.value == null ? "" : String(this.options.value), this.init();
2243
+ const l = { value: "", styles: {}, plugins: [], highlighter: qe }, { highlighters: t, ...r } = s;
2244
+ this.options = { ...l, ...r, highlighter: t ? Le(t) : l.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");
2248
2248
  const n = Object.keys(Te).concat(Object.keys(this.options.styles)).concat(["paddingLeft"]);
2249
2249
  this.initialRootStyles = {};
2250
- const l = this.root.style;
2251
- n.forEach((s) => {
2252
- this.initialRootStyles[s] = l[s] || "";
2253
- }), Object.assign(this.root.style, Te, this.options.styles), Object.assign(this.textarea.style, Xl), Object.assign(this.pre.style, Yl), this.basePaddingLeft = this.root.style.paddingLeft || "", this.root.appendChild(this.textarea), this.root.appendChild(this.pre), this.addTextareaEvents(), this.update({ value: this.options.value }), this.updateLines();
2250
+ const s = this.root.style;
2251
+ n.forEach((l) => {
2252
+ this.initialRootStyles[l] = s[l] || "";
2253
+ }), Object.assign(this.root.style, Te, this.options.styles), Object.assign(this.textarea.style, Xs), Object.assign(this.pre.style, Ys), this.basePaddingLeft = this.root.style.paddingLeft || "", this.root.appendChild(this.textarea), this.root.appendChild(this.pre), this.addTextareaEvents(), this.update({ value: this.options.value }), this.updateLines();
2254
2254
  }
2255
2255
  addTextareaEvents() {
2256
2256
  this.handleEvent = (n) => {
2257
2257
  if (n.type === "keydown" && this.textarea.readOnly) return;
2258
- const l = n;
2259
- if (l.isComposing || l.keyCode === 229) return;
2260
- const s = function(t, r) {
2258
+ const s = n;
2259
+ if (s.isComposing || s.keyCode === 229) return;
2260
+ const l = function(t, r) {
2261
2261
  const { value: c, selectionStart: d, selectionEnd: m } = r.target;
2262
- return t.reduce((a, i) => ({ ...a, ...i(a, r) }), { value: c, selectionStart: d, selectionEnd: m });
2262
+ return t.reduce((o, i) => ({ ...o, ...i(o, r) }), { value: c, selectionStart: d, selectionEnd: m });
2263
2263
  }(this.options.plugins, n);
2264
- this.update(s);
2264
+ this.update(l);
2265
2265
  }, this.textarea.addEventListener("input", this.handleEvent), this.textarea.addEventListener("keydown", this.handleEvent), this.textarea.addEventListener("compositionend", this.handleEvent);
2266
2266
  }
2267
2267
  update(n) {
2268
2268
  if (!this.textarea) return;
2269
- let { value: l, selectionStart: s, selectionEnd: t } = n;
2270
- l != null && (l = String(l), s == null && (s = this.textarea.selectionStart), t == null && (t = this.textarea.selectionEnd), this.textarea.value !== l && (this.textarea.value = l)), s != null && (this.textarea.selectionStart = s), t != null && (this.textarea.selectionEnd = t), l !== this.value && l != null && (this.value = l, this.render(), this.updateCallback && this.updateCallback(l));
2269
+ let { value: s, selectionStart: l, selectionEnd: t } = n;
2270
+ s != null && (s = String(s), l == null && (l = this.textarea.selectionStart), t == null && (t = this.textarea.selectionEnd), this.textarea.value !== s && (this.textarea.value = s)), l != null && (this.textarea.selectionStart = l), t != null && (this.textarea.selectionEnd = t), s !== this.value && s != null && (this.value = s, this.render(), this.updateCallback && this.updateCallback(s));
2271
2271
  }
2272
2272
  updateOptions(n) {
2273
2273
  if (!this.textarea) return;
2274
- const { highlighters: l, ...s } = n;
2275
- if (this.options = { ...this.options, ...s, highlighter: l ? Ee(l) : this.options.highlighter }, n.styles) {
2274
+ const { highlighters: s, ...l } = n;
2275
+ if (this.options = { ...this.options, ...l, highlighter: s ? Le(s) : 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] || "");
@@ -2286,10 +2286,10 @@ class eo {
2286
2286
  }
2287
2287
  updateLines() {
2288
2288
  if (!this.options.lineNumbers) return;
2289
- this.lines || (this.lines = document.createElement("pre"), this.root.appendChild(this.lines), Object.assign(this.lines.style, Ql));
2289
+ this.lines || (this.lines = document.createElement("pre"), this.root.appendChild(this.lines), Object.assign(this.lines.style, Qs));
2290
2290
  const n = this.value.split(`
2291
- `), l = n.length.toString().length;
2292
- this.root.style.paddingLeft = `${l + 1}ch`, this.lines.innerHTML = n.map((s, t) => `${`<span class="yace-line" style="position: absolute; opacity: .3; left: 0; width: ${l}ch; text-align: right">${1 + t}</span>`}${`<span style="color: transparent; pointer-events: none">${Ge(s)}</span>`}`).join(`
2291
+ `), s = n.length.toString().length;
2292
+ this.root.style.paddingLeft = `${s + 1}ch`, this.lines.innerHTML = n.map((l, t) => `${`<span class="yace-line" style="position: absolute; opacity: .3; left: 0; width: ${s}ch; text-align: right">${1 + t}</span>`}${`<span style="color: transparent; pointer-events: none">${Ge(l)}</span>`}`).join(`
2293
2293
  `);
2294
2294
  }
2295
2295
  destroy() {
@@ -2305,106 +2305,106 @@ function ue(e) {
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 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" };
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" }, ta = { add: "=" }, na = { ";": "semicolon", "=": "equal", ",": "comma", "-": "minus", ".": "period", "/": "slash", "`": "backquote", "[": "bracketleft", "\\": "backslash", "]": "bracketright", "'": "quote" };
2309
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
- if (!l.key) return s;
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);
2310
+ const s = e.split("+").reduce((m, o) => Ee[o] ? (m.modifiers[Ee[o]] = !0, m) : { ...m, key: ta[o] || o.toLowerCase() }, { modifiers: { altKey: !1, ctrlKey: !1, metaKey: !1, shiftKey: !1 }, key: null }), l = Object.keys(s.modifiers).every((m) => s.modifiers[m] ? n[m] : !n[m]);
2311
+ if (!s.key) return l;
2312
+ const t = n.key != null && n.key.toLowerCase() === s.key, r = (c = s.key, /^[a-z]$/.test(c) ? `key${c}` : /^[0-9]$/.test(c) ? `digit${c}` : na[c] || null);
2313
2313
  var c;
2314
2314
  const d = !n.isComposing && r != null && n.code != null && n.code.toLowerCase() === r;
2315
- return s && (t || d);
2315
+ return l && (t || d);
2316
2316
  }
2317
- function so(e = {}) {
2318
- const n = Math.max(1, e.limit == null ? 300 : e.limit), l = e.coalesceMs == null ? 300 : e.coalesceMs;
2319
- let s = [], t = null, r = null;
2317
+ function la(e = {}) {
2318
+ const n = Math.max(1, e.limit == null ? 300 : e.limit), s = e.coalesceMs == null ? 300 : e.coalesceMs;
2319
+ let l = [], t = null, r = null;
2320
2320
  const c = (d) => {
2321
- s = s.slice(0, t + 1), s.push(d), s.length > n && (s = s.slice(s.length - n)), t = s.length - 1;
2321
+ l = l.slice(0, t + 1), l.push(d), l.length > n && (l = l.slice(l.length - n)), t = l.length - 1;
2322
2322
  };
2323
2323
  return (d, 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
- if ((a || i) && m.preventDefault(), t === null) return s = [d], void (t = 0);
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
- if (i) return r = null, s[t].value !== d.value ? void c(d) : (t = Math.min(s.length - 1, t + 1), s[t]);
2328
- if (m.type === "keydown") return s[t].value !== d.value ? (r = null, void c(d)) : void (s[t] = d);
2324
+ const o = m.type === "keydown" && re("ctrl/cmd+z", m), i = m.type === "keydown" && (re("ctrl/cmd+shift+z", m) || re("ctrl+y", m));
2325
+ if ((o || i) && m.preventDefault(), t === null) return l = [d], void (t = 0);
2326
+ if (o) return r = null, l[t].value !== d.value ? c(d) : l[t] = d, t = Math.max(0, t - 1), l[t];
2327
+ if (i) return r = null, l[t].value !== d.value ? void c(d) : (t = Math.min(l.length - 1, t + 1), l[t]);
2328
+ if (m.type === "keydown") return l[t].value !== d.value ? (r = null, void c(d)) : void (l[t] = d);
2329
2329
  if (m.type === "input") {
2330
- const u = m.timeStamp, f = u != null && r != null && u - r <= l;
2331
- if (r = u ?? null, f) return void (s[t] = d);
2330
+ const u = m.timeStamp, f = u != null && r != null && u - r <= s;
2331
+ if (r = u ?? null, f) return void (l[t] = d);
2332
2332
  c(d);
2333
2333
  }
2334
2334
  };
2335
2335
  }
2336
- const lo = () => (e, n) => {
2337
- const { value: l, selectionStart: s, selectionEnd: t } = e;
2336
+ const sa = () => (e, n) => {
2337
+ const { value: s, selectionStart: l, selectionEnd: t } = e;
2338
2338
  if (!re("enter", n) || n.type !== "keydown") return;
2339
- const r = l.substring(0, s).split(`
2339
+ const r = s.substring(0, l).split(`
2340
2340
  `).pop(), c = /^\s+/.exec(r);
2341
2341
  if (!c) return;
2342
2342
  n.preventDefault();
2343
2343
  const d = `
2344
2344
  ` + c[0];
2345
- return { value: l.substring(0, s) + d + l.substring(t), selectionStart: s + d.length, selectionEnd: s + d.length };
2346
- }, oo = () => (e, n) => {
2345
+ return { value: s.substring(0, l) + d + s.substring(t), selectionStart: l + d.length, selectionEnd: l + d.length };
2346
+ }, aa = () => (e, n) => {
2347
2347
  if (typeof KeyboardEvent > "u" || !(n instanceof KeyboardEvent) || n.key !== "Enter")
2348
2348
  return;
2349
- const { value: l, selectionStart: s, selectionEnd: t } = e;
2350
- if (s !== t)
2349
+ const { value: s, selectionStart: l, selectionEnd: t } = e;
2350
+ if (l !== t)
2351
2351
  return;
2352
- const r = l.lastIndexOf(`
2353
- `, s - 1) + 1, c = l.indexOf(`
2354
- `, s), d = c === -1 ? l.length : c;
2355
- if (l.slice(s, d).trim().length > 0)
2352
+ const r = s.lastIndexOf(`
2353
+ `, l - 1) + 1, c = s.indexOf(`
2354
+ `, l), d = c === -1 ? s.length : c;
2355
+ if (s.slice(l, d).trim().length > 0)
2356
2356
  return;
2357
- const i = l.substring(r, d).trimEnd();
2357
+ const i = s.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), f = s + 1;
2360
+ const u = s.slice(0, d) + ";" + s.slice(d), f = l + 1;
2361
2361
  return {
2362
2362
  value: u,
2363
2363
  selectionStart: f,
2364
2364
  selectionEnd: f
2365
2365
  };
2366
2366
  };
2367
- let ze = [], W = null, U = 0, X = [], ee = null, te = null, Se, Je, G = null, se = null;
2368
- const ao = (e) => {
2369
- const { customSuggestions: n = [], minPrefixLength: l = 1, maxSuggestions: s = 20, tabSize: t = 2, tooltip: r = { enabled: !0 }, i18n: c, renderMenu: d, renderTooltip: m } = e;
2367
+ let ze = [], W = null, U = 0, X = [], ee = null, te = null, Se, Je, G = null, le = null;
2368
+ const oa = (e) => {
2369
+ const { customSuggestions: n = [], minPrefixLength: s = 1, maxSuggestions: l = 20, tabSize: t = 2, tooltip: r = { enabled: !0 }, i18n: c, renderMenu: d, renderTooltip: m } = e;
2370
2370
  if (!d || !m)
2371
2371
  throw new Error("renderMenu and renderTooltip are required");
2372
- return ze = [...n].map((a) => c(a)), Se = d, Je = m, (a, i) => {
2372
+ return ze = [...n].map((o) => c(o)), Se = d, Je = m, (o, i) => {
2373
2373
  if (typeof KeyboardEvent > "u" || !(i instanceof KeyboardEvent))
2374
2374
  return;
2375
- const { value: u, selectionStart: f } = a, b = i.target;
2375
+ const { value: u, selectionStart: f } = o, b = i.target;
2376
2376
  if (te = b, r.enabled !== !1 && !b.dataset.tooltipInitialized && (b.dataset.tooltipInitialized = "true", b.addEventListener("mouseup", () => {
2377
- setTimeout(() => Le(b), 100);
2377
+ setTimeout(() => Be(b), 100);
2378
2378
  }), b.addEventListener("keyup", () => {
2379
- setTimeout(() => Le(b), 100);
2379
+ setTimeout(() => Be(b), 100);
2380
2380
  })), W) {
2381
2381
  switch (i.key) {
2382
2382
  case "ArrowDown":
2383
- return i.preventDefault(), U < X.length - 1 && (U++, ne()), { ...a };
2383
+ return i.preventDefault(), U < X.length - 1 && (U++, ne()), { ...o };
2384
2384
  case "ArrowUp":
2385
- return i.preventDefault(), U > 0 && (U--, ne()), { ...a };
2385
+ return i.preventDefault(), U > 0 && (U--, ne()), { ...o };
2386
2386
  case "Enter":
2387
2387
  if (i.preventDefault(), X[U]) {
2388
- const h = _e(a, X[U]);
2388
+ const h = _e(o, X[U]);
2389
2389
  return Y(), h;
2390
2390
  }
2391
2391
  return;
2392
2392
  case "Tab":
2393
2393
  if (i.preventDefault(), X[U]) {
2394
- const h = _e(a, X[U]);
2394
+ const h = _e(o, X[U]);
2395
2395
  return Y(), h;
2396
2396
  }
2397
2397
  return;
2398
2398
  case "Escape":
2399
- return i.preventDefault(), Y(), { ...a };
2399
+ return i.preventDefault(), Y(), { ...o };
2400
2400
  case "Backspace":
2401
2401
  setTimeout(() => {
2402
2402
  if (te) {
2403
2403
  const h = te.value, y = te.selectionStart, S = fe(h, y), V = h.slice(S, y);
2404
- if (V.length < l)
2404
+ if (V.length < s)
2405
2405
  Y();
2406
2406
  else {
2407
- const w = ye(V).slice(0, s);
2407
+ const w = ye(V).slice(0, l);
2408
2408
  w.length === 0 ? Y() : (X = w, U = 0, ne());
2409
2409
  }
2410
2410
  }
@@ -2412,7 +2412,7 @@ const ao = (e) => {
2412
2412
  return;
2413
2413
  }
2414
2414
  if (["ArrowDown", "ArrowUp", "Enter", "Tab", "Escape", "Backspace"].includes(i.key))
2415
- return { ...a };
2415
+ return { ...o };
2416
2416
  }
2417
2417
  if (re("tab", i)) {
2418
2418
  i.preventDefault();
@@ -2420,7 +2420,7 @@ const ao = (e) => {
2420
2420
  if (y.length > 0) {
2421
2421
  const P = ye(y);
2422
2422
  if (P.length > 0)
2423
- return _e(a, P[0]);
2423
+ return _e(o, P[0]);
2424
2424
  }
2425
2425
  const S = " ".repeat(t), V = u.slice(0, f) + S + u.slice(f), w = f + t;
2426
2426
  return {
@@ -2433,54 +2433,54 @@ const ao = (e) => {
2433
2433
  return ee && clearTimeout(ee), ee = setTimeout(() => {
2434
2434
  ee = null;
2435
2435
  const h = b.value, y = b.selectionStart, S = fe(h, y), V = h.slice(S, y);
2436
- if (V.length < l) {
2436
+ if (V.length < s) {
2437
2437
  Y();
2438
2438
  return;
2439
2439
  }
2440
2440
  let w = ye(V);
2441
- if (w = w.slice(0, s), w.length === 0) {
2441
+ if (w = w.slice(0, l), w.length === 0) {
2442
2442
  Y();
2443
2443
  return;
2444
2444
  }
2445
- X = w, U = 0, W ? ne() : io(b, w);
2446
- }, 0), { ...a };
2445
+ X = w, U = 0, W ? ne() : ia(b, w);
2446
+ }, 0), { ...o };
2447
2447
  };
2448
2448
  };
2449
2449
  function ye(e) {
2450
2450
  const n = e.toLowerCase();
2451
- return ze.filter((l) => {
2452
- const s = l.label.toLowerCase();
2453
- return s.startsWith(n) || s.includes(n) || s.split("_").map((t) => t[0]).join("").startsWith(n);
2454
- }).sort((l, s) => {
2455
- const t = l.label.toLowerCase(), r = s.label.toLowerCase(), c = t.startsWith(n), d = r.startsWith(n);
2451
+ return ze.filter((s) => {
2452
+ const l = s.label.toLowerCase();
2453
+ return l.startsWith(n) || l.includes(n) || l.split("_").map((t) => t[0]).join("").startsWith(n);
2454
+ }).sort((s, l) => {
2455
+ const t = s.label.toLowerCase(), r = l.label.toLowerCase(), c = t.startsWith(n), d = r.startsWith(n);
2456
2456
  if (c && !d) return -1;
2457
2457
  if (!c && d) return 1;
2458
- const m = t.indexOf(n), a = r.indexOf(n);
2459
- return m !== a ? m - a : t.length !== r.length ? t.length - r.length : t.localeCompare(r);
2458
+ const m = t.indexOf(n), o = r.indexOf(n);
2459
+ return m !== o ? m - o : t.length !== r.length ? t.length - r.length : t.localeCompare(r);
2460
2460
  });
2461
2461
  }
2462
2462
  function fe(e, n) {
2463
- let l = n;
2464
- for (; l > 0 && /[a-zA-Z0-9_$]/.test(e[l - 1]); )
2465
- l--;
2466
- return l;
2463
+ let s = n;
2464
+ for (; s > 0 && /[a-zA-Z0-9_$]/.test(e[s - 1]); )
2465
+ s--;
2466
+ return s;
2467
2467
  }
2468
- function io(e, n) {
2468
+ function ia(e, n) {
2469
2469
  Y(), X = n, U = 0;
2470
- const l = Ze(e);
2471
- W = Se(n, U, (s) => {
2472
- U = s, ne();
2470
+ const s = Ze(e);
2471
+ W = Se(n, U, (l) => {
2472
+ U = l, ne();
2473
2473
  }), Object.assign(W.style, {
2474
2474
  position: "fixed",
2475
- left: `${l.left}px`,
2476
- top: `${l.top + 24}px`,
2475
+ left: `${s.left}px`,
2476
+ top: `${s.top + 24}px`,
2477
2477
  zIndex: "10000"
2478
2478
  }), document.body.appendChild(W);
2479
2479
  }
2480
2480
  function ne() {
2481
2481
  if (!W || !te) return;
2482
- const e = Se(X, U, (l) => {
2483
- U = l, ne();
2482
+ const e = Se(X, U, (s) => {
2483
+ U = s, ne();
2484
2484
  }), n = W.getBoundingClientRect();
2485
2485
  W.replaceWith(e), W = e, Object.assign(W.style, {
2486
2486
  position: "fixed",
@@ -2490,12 +2490,12 @@ function ne() {
2490
2490
  });
2491
2491
  }
2492
2492
  function _e(e, n) {
2493
- const { value: l, selectionStart: s } = e, t = fe(l, s), r = n.insert || n.label, c = /\$\{([^}]*)\}/g;
2493
+ const { value: s, selectionStart: l } = e, t = fe(s, l), r = n.insert || n.label, c = /\$\{([^}]*)\}/g;
2494
2494
  let d = r;
2495
2495
  const m = [];
2496
- let a;
2497
- for (; (a = c.exec(r)) !== null; ) {
2498
- const h = a[1], y = a.index, S = a[0].length;
2496
+ let o;
2497
+ for (; (o = c.exec(r)) !== null; ) {
2498
+ const h = o[1], y = o.index, S = o[0].length;
2499
2499
  m.push({ index: y, text: h, length: S });
2500
2500
  }
2501
2501
  d = r.replace(/\$\{([^}]*)\}/g, "$1");
@@ -2509,7 +2509,7 @@ function _e(e, n) {
2509
2509
  }
2510
2510
  }
2511
2511
  return {
2512
- value: l.slice(0, t) + d + l.slice(s),
2512
+ value: s.slice(0, t) + d + s.slice(l),
2513
2513
  selectionStart: u,
2514
2514
  selectionEnd: f
2515
2515
  };
@@ -2518,26 +2518,26 @@ function Y() {
2518
2518
  ee && (clearTimeout(ee), ee = null), W && (W.remove(), W = null, X = [], U = 0, te = null);
2519
2519
  }
2520
2520
  function Ze(e) {
2521
- const n = e.getBoundingClientRect(), { value: l, selectionStart: s } = e, r = l.substring(0, s).split(`
2521
+ const n = e.getBoundingClientRect(), { value: s, selectionStart: l } = e, r = s.substring(0, l).split(`
2522
2522
  `), c = r.length, d = r[r.length - 1] || "", m = parseInt(getComputedStyle(e).lineHeight) || 20;
2523
2523
  return {
2524
2524
  left: n.left + 10 + d.length * 8,
2525
2525
  top: n.top + (c - 1) * m
2526
2526
  };
2527
2527
  }
2528
- function Le(e) {
2529
- se && clearTimeout(se), se = setTimeout(() => {
2530
- const n = e.selectionStart, l = e.selectionEnd;
2531
- if (n === l) {
2528
+ function Be(e) {
2529
+ le && clearTimeout(le), le = setTimeout(() => {
2530
+ const n = e.selectionStart, s = e.selectionEnd;
2531
+ if (n === s) {
2532
2532
  ie();
2533
2533
  return;
2534
2534
  }
2535
- const s = e.value.substring(n, l).trim();
2536
- if (!s) {
2535
+ const l = e.value.substring(n, s).trim();
2536
+ if (!l) {
2537
2537
  ie();
2538
2538
  return;
2539
2539
  }
2540
- const t = ze.find((d) => d.label === s);
2540
+ const t = ze.find((d) => d.label === l);
2541
2541
  if (!t) {
2542
2542
  ie();
2543
2543
  return;
@@ -2549,7 +2549,7 @@ function Le(e) {
2549
2549
  }, 300);
2550
2550
  }
2551
2551
  function ie() {
2552
- se && (clearTimeout(se), se = null), G && (G.style.opacity = "0", setTimeout(() => {
2552
+ le && (clearTimeout(le), le = null), G && (G.style.opacity = "0", setTimeout(() => {
2553
2553
  G && (G.remove(), G = null);
2554
2554
  }, 150));
2555
2555
  }
@@ -2557,26 +2557,26 @@ typeof document < "u" && document.addEventListener("mousedown", (e) => {
2557
2557
  const n = e.target;
2558
2558
  W && !W.contains(n) && Y(), G && !G.contains(n) && ie();
2559
2559
  });
2560
- const $e = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), ro = ["else", "end", "call", "fade"], co = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), uo = (e) => {
2561
- const n = e.filter((d) => d.type !== "var").map((d) => d.label), c = `(\\/\\/[^\\n]*)|('[^'\\n]*')|(\\b\\d+(?:\\.\\d+)?\\b)|(\\b(?:${Array.from(/* @__PURE__ */ new Set([...ro, ...n])).map(co).join("|")})\\b)|(\\$[a-zA-Z_][a-zA-Z0-9_]*)|(\\b(?:btn_\\d+(?:_\\d+)?)\\b)|([;:(){}])`;
2560
+ const $e = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), ra = ["else", "end", "call", "fade"], da = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), ca = (e) => {
2561
+ const n = e.filter((d) => d.type !== "var").map((d) => d.label), c = `(\\/\\/[^\\n]*)|('[^'\\n]*')|(\\b\\d+(?:\\.\\d+)?\\b)|(\\b(?:${Array.from(/* @__PURE__ */ new Set([...ra, ...n])).map(da).join("|")})\\b)|(\\$[a-zA-Z_][a-zA-Z0-9_]*)|(\\b(?:btn_\\d+(?:_\\d+)?)\\b)|([;:(){}])`;
2562
2562
  return new RegExp(c, "g");
2563
- }, mo = (e) => (n) => {
2564
- const l = uo(e);
2565
- let s = "", t = 0;
2566
- for (const r of n.matchAll(l)) {
2567
- const [c, d, m, a, i, u, f, b] = r;
2563
+ }, ua = (e) => (n) => {
2564
+ const s = ca(e);
2565
+ let l = "", t = 0;
2566
+ for (const r of n.matchAll(s)) {
2567
+ const [c, d, m, o, 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" : 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;
2569
+ d ? h = "comment" : m ? h = "str" : o ? h = "num" : i ? h = "word" : u ? h = "var" : f ? h = "event" : b && (h = "operator"), l += $e(n.slice(t, r.index)), l += `<span class="tok--${h}">${$e(c)}</span>`, t = r.index + c.length;
2570
2570
  }
2571
- return s += $e(n.slice(t)), s;
2571
+ return l += $e(n.slice(t)), l;
2572
2572
  }, Xe = {
2573
2573
  word: "text-blue-600 dark:text-blue-400",
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
- }, po = (e, n, l) => {
2578
- const s = document.createElement("div");
2579
- return s.className = `
2577
+ }, ma = (e, n, s) => {
2578
+ const l = document.createElement("div");
2579
+ return l.className = `
2580
2580
  fixed z-[10000] min-w-[250px] max-w-[400px] max-h-[250px]
2581
2581
  overflow-y-auto p-1 rounded-lg shadow-lg border
2582
2582
  border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800
@@ -2595,28 +2595,28 @@ const $e = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "
2595
2595
  ${t.detail ? `<span class="text-xs text-gray-500 dark:text-gray-400 ml-2">${t.detail}</span>` : ""}
2596
2596
  </div>
2597
2597
  ${t.description ? `<span class="text-xs text-gray-400 dark:text-gray-500">${t.description}</span>` : ""}
2598
- `, d.addEventListener("click", () => l(r)), s.appendChild(d);
2599
- }), s;
2600
- }, fo = (e, n) => {
2601
- const l = document.createElement("div");
2602
- l.className = `
2598
+ `, d.addEventListener("click", () => s(r)), l.appendChild(d);
2599
+ }), l;
2600
+ }, pa = (e, n) => {
2601
+ const s = document.createElement("div");
2602
+ s.className = `
2603
2603
  fixed z-[10001] px-3 py-2 font-mono text-sm max-w-[300px]
2604
2604
  min-w-[50px] min-h-[20px] rounded-lg shadow-lg border
2605
2605
  pointer-events-none transition-opacity duration-150
2606
2606
  bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700
2607
2607
  text-gray-700 dark:text-gray-300 pointer-events-none
2608
- `, l.style.cssText = `
2608
+ `, s.style.cssText = `
2609
2609
  left: ${n.left + 40}px; top: ${n.top - 10}px;
2610
2610
  transform: translateX(-50%) translateY(-100%); opacity: 0;
2611
2611
  `;
2612
2612
  let t = `<div class="font-medium ${Xe[e.type] || "text-gray-700 dark:text-gray-300"}">${e.label}</div>`;
2613
- e.detail && (t += `<div class="text-gray-500 dark:text-gray-400 mt-0.5 text-xs">${e.detail}</div>`), e.description && (t += `<div class="text-gray-400 dark:text-gray-500 text-xs mt-1 pt-1 border-t border-gray-200 dark:border-gray-700">${e.description}</div>`), l.innerHTML = t;
2613
+ e.detail && (t += `<div class="text-gray-500 dark:text-gray-400 mt-0.5 text-xs">${e.detail}</div>`), e.description && (t += `<div class="text-gray-400 dark:text-gray-500 text-xs mt-1 pt-1 border-t border-gray-200 dark:border-gray-700">${e.description}</div>`), s.innerHTML = t;
2614
2614
  const r = document.createElement("div");
2615
2615
  return r.className = `
2616
2616
  absolute bottom-[-6px] left-1/2 w-2.5 h-2.5 -translate-x-1/2 rotate-45
2617
2617
  bg-white dark:bg-gray-800 border-r border-b border-gray-200 dark:border-gray-700
2618
- `, l.appendChild(r), l;
2619
- }, vo = [
2618
+ `, s.appendChild(r), s;
2619
+ }, fa = [
2620
2620
  { label: "if", type: "word", insert: `if:\${$v0<10};
2621
2621
 
2622
2622
  else;
@@ -2651,7 +2651,7 @@ end;`, detail: "event(name: string)" },
2651
2651
  { label: "$e", type: "var", insert: "$e${0}", detail: "var event" },
2652
2652
  { label: "$c", type: "var", insert: "$c${0}", detail: "var call" },
2653
2653
  { label: "$p", type: "var", insert: "$p${0}", detail: "gpio" }
2654
- ], La = /* @__PURE__ */ M({
2654
+ ], Do = /* @__PURE__ */ M({
2655
2655
  __name: "ScriptEditor",
2656
2656
  props: {
2657
2657
  modelValue: {},
@@ -2659,23 +2659,23 @@ end;`, detail: "event(name: string)" },
2659
2659
  },
2660
2660
  emits: ["update:modelValue", "update"],
2661
2661
  setup(e, { emit: n }) {
2662
- const l = n;
2663
- let s;
2664
- const t = [...vo, ...e.suggestions];
2665
- return oe(
2662
+ const s = n;
2663
+ let l;
2664
+ const t = [...fa, ...e.suggestions];
2665
+ return ae(
2666
2666
  () => e.modelValue,
2667
2667
  (r) => {
2668
- s.update({ value: r });
2668
+ l.update({ value: r });
2669
2669
  }
2670
2670
  ), Q(() => {
2671
- s = new eo("#editor", {
2671
+ l = new ea("#editor", {
2672
2672
  value: e.modelValue,
2673
2673
  lineNumbers: !0,
2674
- highlighters: [mo(t)],
2674
+ highlighters: [ua(t)],
2675
2675
  plugins: [
2676
- so(),
2677
- lo(),
2678
- ao({
2676
+ la(),
2677
+ sa(),
2678
+ oa({
2679
2679
  customSuggestions: t,
2680
2680
  minPrefixLength: 1,
2681
2681
  maxSuggestions: 20,
@@ -2683,40 +2683,40 @@ end;`, detail: "event(name: string)" },
2683
2683
  tooltip: {
2684
2684
  enabled: !0
2685
2685
  },
2686
- renderMenu: po,
2687
- renderTooltip: fo
2686
+ renderMenu: ma,
2687
+ renderTooltip: pa
2688
2688
  }),
2689
- oo()
2689
+ aa()
2690
2690
  ],
2691
2691
  styles: { fontSize: "14px" }
2692
- }), s.onUpdate((r) => {
2693
- l("update:modelValue", r);
2692
+ }), l.onUpdate((r) => {
2693
+ s("update:modelValue", r);
2694
2694
  });
2695
2695
  }), we(() => {
2696
- s.destroy();
2696
+ l.destroy();
2697
2697
  }), (r, c) => (p(), v("div", null, [...c[0] || (c[0] = [
2698
- o("div", {
2698
+ a("div", {
2699
2699
  class: "",
2700
2700
  id: "editor"
2701
2701
  }, null, -1)
2702
2702
  ])]));
2703
2703
  }
2704
- }), ho = { class: "max-w-4xl mx-auto" }, go = {
2704
+ }), va = { class: "max-w-4xl mx-auto" }, ha = {
2705
2705
  key: 0,
2706
2706
  class: "text-sm"
2707
- }, bo = {
2707
+ }, ga = {
2708
2708
  key: 0,
2709
2709
  class: "text-gray-500"
2710
- }, xo = {
2710
+ }, ba = {
2711
2711
  key: 1,
2712
2712
  class: "text-red-600"
2713
- }, yo = ["innerHTML"], _o = "https://raw.githubusercontent.com/bondrogeen/vuesp/refs/heads/master/github/docs/scriptrunner/", $o = "https://cdn.jsdelivr.net/npm/marked/lib/marked.umd.js", Aa = /* @__PURE__ */ M({
2713
+ }, xa = ["innerHTML"], ya = "https://raw.githubusercontent.com/bondrogeen/vuesp/refs/heads/master/github/docs/scriptrunner/", _a = "https://cdn.jsdelivr.net/npm/marked/lib/marked.umd.js", Io = /* @__PURE__ */ M({
2714
2714
  __name: "ScriptViewDocs",
2715
2715
  props: {
2716
2716
  lang: { default: "en" }
2717
2717
  },
2718
2718
  setup(e) {
2719
- const n = E(""), l = E(""), s = E(null), t = E(!1), r = E(null);
2719
+ const n = L(""), s = L(""), l = L(null), t = L(!1), r = L(null);
2720
2720
  let c = null;
2721
2721
  const d = () => new Promise((i, u) => {
2722
2722
  if (typeof window > "u" || typeof document > "u") {
@@ -2732,7 +2732,7 @@ end;`, detail: "event(name: string)" },
2732
2732
  return;
2733
2733
  }
2734
2734
  const f = document.createElement("script");
2735
- f.src = $o, f.async = !0, f.onload = () => {
2735
+ f.src = _a, f.async = !0, f.onload = () => {
2736
2736
  window.marked ? (window.marked.setOptions({
2737
2737
  gfm: !0,
2738
2738
  breaks: !0,
@@ -2756,18 +2756,18 @@ end;`, detail: "event(name: string)" },
2756
2756
  }
2757
2757
  }
2758
2758
  return f;
2759
- }, a = async (i) => {
2759
+ }, o = async (i) => {
2760
2760
  if (!c) {
2761
2761
  r.value = "error";
2762
2762
  return;
2763
2763
  }
2764
- t.value = !0, r.value = null, l.value = "";
2764
+ t.value = !0, r.value = null, s.value = "";
2765
2765
  try {
2766
- const u = `${_o}${i}.md`, f = await fetch(u);
2766
+ const u = `${ya}${i}.md`, f = await fetch(u);
2767
2767
  if (!f.ok)
2768
2768
  throw new Error(`HTTP ${f.status}: ${f.statusText}`);
2769
2769
  const b = await f.text();
2770
- n.value = b, s.value = m(b), l.value = c.parse(b);
2770
+ n.value = b, l.value = m(b), s.value = c.parse(b);
2771
2771
  } catch (u) {
2772
2772
  const f = u instanceof Error ? u.message : "";
2773
2773
  r.value = f, console.error("Error loading docs:", u);
@@ -2779,46 +2779,46 @@ end;`, detail: "event(name: string)" },
2779
2779
  try {
2780
2780
  c = await d();
2781
2781
  const i = e.lang ? "ru" : "en";
2782
- await a(i);
2782
+ await o(i);
2783
2783
  } catch (i) {
2784
2784
  const u = i instanceof Error ? i.message : "";
2785
2785
  r.value = u, console.error("Initialization error:", i);
2786
2786
  }
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)
2787
+ }), (i, u) => (p(), v("div", va, [
2788
+ t.value || r.value ? (p(), v("div", ha, [
2789
+ t.value ? (p(), v("span", ga, "⏳")) : z("", !0),
2790
+ r.value ? (p(), v("span", ba, "❌ " + _(r.value), 1)) : z("", !0)
2791
2791
  ])) : z("", !0),
2792
- o("div", {
2792
+ a("div", {
2793
2793
  class: "docs-content",
2794
- innerHTML: l.value
2795
- }, null, 8, yo)
2794
+ innerHTML: s.value
2795
+ }, null, 8, xa)
2796
2796
  ]));
2797
2797
  }
2798
- }), ko = { class: "my-4" }, Da = /* @__PURE__ */ M({
2798
+ }), $a = { class: "my-4" }, Ho = /* @__PURE__ */ M({
2799
2799
  __name: "ScriptDialog",
2800
2800
  props: {
2801
2801
  idScript: {}
2802
2802
  },
2803
2803
  emits: ["add", "close"],
2804
2804
  setup(e, { emit: n }) {
2805
- const l = n, { defineField: s, handleSubmit: t, isValid: r } = wt({
2805
+ const s = n, { defineField: l, handleSubmit: t, isValid: r } = wt({
2806
2806
  validationSchema: () => ({
2807
2807
  name: [Ct, Mt(8)]
2808
2808
  })
2809
- }), [c, d] = s("name"), m = () => {
2810
- l("add", c.value);
2811
- }, a = t(() => {
2812
- m(), c.value = "", l("close", new Event("close"));
2809
+ }), [c, d] = l("name"), m = () => {
2810
+ s("add", c.value);
2811
+ }, o = t(() => {
2812
+ m(), c.value = "", s("close", new Event("close"));
2813
2813
  });
2814
2814
  return Q(() => {
2815
2815
  e.idScript || (c.value = "boot");
2816
2816
  }), (i, u) => {
2817
2817
  const f = J, b = A;
2818
- return p(), v("div", ko, [
2818
+ return p(), v("div", $a, [
2819
2819
  g(f, j({
2820
2820
  modelValue: q(c),
2821
- "onUpdate:modelValue": u[0] || (u[0] = (h) => ot(c) ? c.value = h : null)
2821
+ "onUpdate:modelValue": u[0] || (u[0] = (h) => at(c) ? c.value = h : null)
2822
2822
  }, q(d), {
2823
2823
  disabled: !e.idScript,
2824
2824
  label: i.$t("name")
@@ -2827,7 +2827,7 @@ end;`, detail: "event(name: string)" },
2827
2827
  class: "w-full",
2828
2828
  color: "blue",
2829
2829
  disabled: !q(r),
2830
- onClick: q(a)
2830
+ onClick: q(o)
2831
2831
  }, {
2832
2832
  default: x(() => [
2833
2833
  H(_(i.$t("add")), 1)
@@ -2837,7 +2837,7 @@ end;`, detail: "event(name: string)" },
2837
2837
  ]);
2838
2838
  };
2839
2839
  }
2840
- }), wo = ["width", "height"], Co = ["d"], de = /* @__PURE__ */ M({
2840
+ }), ka = ["width", "height"], wa = ["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 = B(() => n[e.name] ?? n.help);
2887
- return (s, t) => (p(), v("svg", {
2886
+ }, s = E(() => n[e.name] ?? n.help);
2887
+ return (l, t) => (p(), v("svg", {
2888
2888
  width: e.size,
2889
2889
  height: e.size,
2890
2890
  viewBox: "0 0 24 24",
@@ -2895,32 +2895,32 @@ end;`, detail: "event(name: string)" },
2895
2895
  "stroke-linejoin": "round",
2896
2896
  "aria-hidden": "true"
2897
2897
  }, [
2898
- (p(!0), v(L, null, N(l.value, (r, c) => (p(), v("path", {
2898
+ (p(!0), v(B, null, N(s.value, (r, c) => (p(), v("path", {
2899
2899
  key: c,
2900
2900
  d: r
2901
- }, null, 8, Co))), 128))
2902
- ], 8, wo));
2901
+ }, null, 8, wa))), 128))
2902
+ ], 8, ka));
2903
2903
  }
2904
- }), Ia = /* @__PURE__ */ M({
2904
+ }), jo = /* @__PURE__ */ M({
2905
2905
  __name: "VisionCard",
2906
2906
  props: {
2907
2907
  padded: { type: Boolean, default: !0 }
2908
2908
  },
2909
2909
  setup(e) {
2910
- const n = B(() => e.padded ? "p-5 md:p-6" : "");
2911
- return (l, s) => (p(), v("div", {
2910
+ const n = E(() => e.padded ? "p-5 md:p-6" : "");
2911
+ return (s, l) => (p(), v("div", {
2912
2912
  class: T(["glass-panel", n.value])
2913
2913
  }, [
2914
- k(l.$slots, "default")
2914
+ k(s.$slots, "default")
2915
2915
  ], 2));
2916
2916
  }
2917
- }), Mo = { class: "block" }, zo = {
2917
+ }), Ca = { class: "block" }, Ma = {
2918
2918
  key: 0,
2919
2919
  class: "mb-2 block text-xs font-medium text-vision-muted"
2920
- }, So = ["type", "name", "placeholder", "autocomplete"], Vo = {
2920
+ }, za = ["type", "name", "placeholder", "autocomplete"], Sa = {
2921
2921
  key: 1,
2922
2922
  class: "mt-1 block text-xs text-vision-danger"
2923
- }, Ha = /* @__PURE__ */ M({
2923
+ }, Po = /* @__PURE__ */ M({
2924
2924
  __name: "VisionInput",
2925
2925
  props: /* @__PURE__ */ rt({
2926
2926
  label: { default: "" },
@@ -2936,10 +2936,10 @@ end;`, detail: "event(name: string)" },
2936
2936
  }),
2937
2937
  emits: ["update:modelValue"],
2938
2938
  setup(e) {
2939
- const n = at(e, "modelValue");
2940
- return (l, s) => (p(), v("label", Mo, [
2941
- e.label ? (p(), v("span", zo, _(e.label), 1)) : z("", !0),
2942
- o("span", {
2939
+ const n = ot(e, "modelValue");
2940
+ return (s, l) => (p(), v("label", Ca, [
2941
+ e.label ? (p(), v("span", Ma, _(e.label), 1)) : z("", !0),
2942
+ a("span", {
2943
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"])
2944
2944
  }, [
2945
2945
  e.icon ? (p(), I(de, {
@@ -2948,101 +2948,104 @@ end;`, detail: "event(name: string)" },
2948
2948
  size: 18,
2949
2949
  class: "shrink-0 text-vision-muted"
2950
2950
  }, null, 8, ["name"])) : z("", !0),
2951
- he(o("input", {
2952
- "onUpdate:modelValue": s[0] || (s[0] = (t) => n.value = t),
2951
+ he(a("input", {
2952
+ "onUpdate:modelValue": l[0] || (l[0] = (t) => n.value = t),
2953
2953
  type: e.type,
2954
2954
  name: e.name,
2955
2955
  placeholder: e.placeholder,
2956
2956
  autocomplete: e.autocomplete,
2957
2957
  class: "h-11 min-w-0 flex-1 bg-transparent text-sm text-white placeholder:text-vision-muted/70 focus:outline-none"
2958
- }, null, 8, So), [
2958
+ }, null, 8, za), [
2959
2959
  [it, n.value]
2960
2960
  ])
2961
2961
  ], 2),
2962
- e.error ? (p(), v("span", Vo, _(e.error), 1)) : z("", !0)
2962
+ e.error ? (p(), v("span", Sa, _(e.error), 1)) : z("", !0)
2963
2963
  ]));
2964
2964
  }
2965
- }), To = {
2966
- class: "glass-panel w-full max-w-2xl overflow-hidden rounded-[12px] border border-gray-200/70 bg-white/95 dark:border-white/10 dark:bg-[#0b1235]/95",
2967
- role: "dialog",
2968
- "aria-modal": "true",
2969
- "aria-label": "Поиск"
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 = {
2965
+ }), Va = ["aria-label"], Ta = { class: "hidden lg:inline" }, La = ["aria-label"], Ea = { class: "flex items-center gap-3 border-b border-gray-200/70 px-4 dark:border-white/10" }, Ba = ["placeholder"], Aa = { class: "max-h-[55vh] overflow-y-auto p-2" }, Da = ["href"], Ia = { class: "min-w-0" }, Ha = { class: "flex flex-wrap items-baseline gap-2" }, ja = { class: "text-sm font-medium text-gray-900 dark:text-white" }, Pa = {
2971
2966
  key: 0,
2972
2967
  class: "text-[10px] uppercase tracking-wider text-gray-400"
2973
- }, Po = {
2968
+ }, Na = {
2974
2969
  key: 0,
2975
2970
  class: "mt-0.5 block truncate text-xs text-gray-500 dark:text-gray-400"
2976
- }, No = {
2971
+ }, Oa = {
2977
2972
  key: 0,
2978
2973
  class: "px-4 py-10 text-center text-sm text-gray-500 dark:text-gray-400"
2979
- }, ja = /* @__PURE__ */ M({
2974
+ }, No = /* @__PURE__ */ M({
2980
2975
  __name: "VisionSearch",
2981
2976
  props: {
2982
2977
  items: {},
2983
- placeholder: {}
2978
+ placeholder: { default: "Поиск по документации и страницам…" },
2979
+ label: { default: "Поиск" },
2980
+ dialogLabel: { default: "Поиск" },
2981
+ emptyText: { default: "Ничего не найдено. Попробуйте другой запрос." }
2984
2982
  },
2985
2983
  setup(e) {
2986
- const n = e, l = E(!1), s = E(""), t = E(null), r = B(() => {
2987
- const a = s.value.trim().toLowerCase();
2988
- return (a ? n.items.filter((u) => `${u.title} ${u.description ?? ""} ${u.group ?? ""}`.toLowerCase().includes(a)) : n.items).slice(0, 14);
2984
+ const n = e, s = L(!1), l = L(""), t = L(null), r = E(() => {
2985
+ const o = l.value.trim().toLowerCase();
2986
+ return (o ? n.items.filter((u) => `${u.title} ${u.description ?? ""} ${u.group ?? ""}`.toLowerCase().includes(o)) : n.items).slice(0, 14);
2989
2987
  }), c = async () => {
2990
- var a;
2991
- l.value = !0, s.value = "", await je(), (a = t.value) == null || a.focus();
2988
+ var o;
2989
+ s.value = !0, l.value = "", await je(), (o = t.value) == null || o.focus();
2992
2990
  }, d = () => {
2993
- l.value = !1, s.value = "";
2994
- }, m = (a) => {
2995
- if ((a.metaKey || a.ctrlKey) && a.key.toLowerCase() === "k") {
2996
- a.preventDefault(), l.value ? d() : c();
2991
+ s.value = !1, l.value = "";
2992
+ }, m = (o) => {
2993
+ if ((o.metaKey || o.ctrlKey) && o.key.toLowerCase() === "k") {
2994
+ o.preventDefault(), s.value ? d() : c();
2997
2995
  return;
2998
2996
  }
2999
- a.key === "Escape" && l.value && d();
2997
+ o.key === "Escape" && s.value && d();
3000
2998
  };
3001
- return oe(l, (a) => {
3002
- typeof document < "u" && (document.body.style.overflow = a ? "hidden" : "");
2999
+ return ae(s, (o) => {
3000
+ typeof document < "u" && (document.body.style.overflow = o ? "hidden" : "");
3003
3001
  }), Q(() => window.addEventListener("keydown", m)), we(() => {
3004
3002
  window.removeEventListener("keydown", m), typeof document < "u" && (document.body.style.overflow = "");
3005
- }), (a, i) => (p(), v(L, null, [
3006
- o("button", {
3003
+ }), (o, i) => (p(), v(B, null, [
3004
+ a("button", {
3007
3005
  type: "button",
3008
3006
  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",
3009
- "aria-label": "Поиск",
3007
+ "aria-label": e.label,
3010
3008
  onClick: c
3011
3009
  }, [
3012
3010
  g(de, {
3013
3011
  name: "search",
3014
3012
  size: 17
3015
3013
  }),
3016
- i[1] || (i[1] = o("span", { class: "hidden lg:inline" }, "Поиск", -1)),
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))
3018
- ]),
3014
+ a("span", Ta, _(e.label), 1),
3015
+ i[1] || (i[1] = a("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))
3016
+ ], 8, Va),
3019
3017
  (p(), I(dt, { to: "body" }, [
3020
- l.value ? (p(), v("div", {
3018
+ s.value ? (p(), v("div", {
3021
3019
  key: 0,
3022
3020
  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",
3023
3021
  onClick: F(d, ["self"])
3024
3022
  }, [
3025
- o("div", To, [
3026
- o("div", Eo, [
3023
+ a("div", {
3024
+ class: "glass-panel w-full max-w-2xl overflow-hidden rounded-[12px] border border-gray-200/70 bg-white/95 dark:border-white/10 dark:bg-[#0b1235]/95",
3025
+ role: "dialog",
3026
+ "aria-modal": "true",
3027
+ "aria-label": e.dialogLabel
3028
+ }, [
3029
+ a("div", Ea, [
3027
3030
  g(de, {
3028
3031
  name: "search",
3029
3032
  size: 18,
3030
3033
  class: "shrink-0 text-gray-400"
3031
3034
  }),
3032
- he(o("input", {
3035
+ he(a("input", {
3033
3036
  ref_key: "input",
3034
3037
  ref: t,
3035
- "onUpdate:modelValue": i[0] || (i[0] = (u) => s.value = u),
3038
+ "onUpdate:modelValue": i[0] || (i[0] = (u) => l.value = u),
3036
3039
  type: "search",
3037
- placeholder: e.placeholder ?? "Поиск по документации и страницам…",
3040
+ placeholder: e.placeholder,
3038
3041
  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"
3039
- }, null, 8, Bo), [
3040
- [He, s.value]
3042
+ }, null, 8, Ba), [
3043
+ [He, l.value]
3041
3044
  ]),
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))
3045
+ i[2] || (i[2] = a("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))
3043
3046
  ]),
3044
- o("div", Lo, [
3045
- (p(!0), v(L, null, N(r.value, (u) => (p(), v("a", {
3047
+ a("div", Aa, [
3048
+ (p(!0), v(B, null, N(r.value, (u) => (p(), v("a", {
3046
3049
  key: `${u.group}-${u.to}-${u.title}`,
3047
3050
  href: u.to,
3048
3051
  class: "flex items-start gap-3 rounded-md px-3 py-2.5 transition-colors hover:bg-white/50 dark:hover:bg-white/5",
@@ -3053,43 +3056,49 @@ end;`, detail: "event(name: string)" },
3053
3056
  size: 16,
3054
3057
  class: "mt-0.5 shrink-0 text-gray-400"
3055
3058
  }),
3056
- o("span", Do, [
3057
- o("span", Io, [
3058
- o("span", Ho, _(u.title), 1),
3059
- u.group ? (p(), v("span", jo, _(u.group), 1)) : z("", !0)
3059
+ a("span", Ia, [
3060
+ a("span", Ha, [
3061
+ a("span", ja, _(u.title), 1),
3062
+ u.group ? (p(), v("span", Pa, _(u.group), 1)) : z("", !0)
3060
3063
  ]),
3061
- u.description ? (p(), v("span", Po, _(u.description), 1)) : z("", !0)
3064
+ u.description ? (p(), v("span", Na, _(u.description), 1)) : z("", !0)
3062
3065
  ])
3063
- ], 8, Ao))), 128)),
3064
- r.value.length ? z("", !0) : (p(), v("p", No, " Ничего не найдено. Попробуйте другой запрос. "))
3066
+ ], 8, Da))), 128)),
3067
+ r.value.length ? z("", !0) : (p(), v("p", Oa, _(e.emptyText), 1))
3065
3068
  ])
3066
- ])
3069
+ ], 8, La)
3067
3070
  ])) : z("", !0)
3068
3071
  ]))
3069
3072
  ], 64));
3070
3073
  }
3071
- }), Oo = ["aria-label", "title"], Pa = /* @__PURE__ */ M({
3074
+ }), Ua = ["aria-label", "title"], Oo = /* @__PURE__ */ M({
3072
3075
  __name: "VisionThemeToggle",
3076
+ props: {
3077
+ labelLight: { default: "Включить светлую тему" },
3078
+ labelDark: { default: "Включить тёмную тему" },
3079
+ titleLight: { default: "Светлая тема" },
3080
+ titleDark: { default: "Тёмная тема" }
3081
+ },
3073
3082
  setup(e) {
3074
- const n = E(xt("theme") === "light" ? "light" : "dark"), l = (s) => {
3075
- n.value = s, yt(s);
3083
+ const n = L(xt("theme") === "light" ? "light" : "dark"), s = (l) => {
3084
+ n.value = l, yt(l);
3076
3085
  };
3077
3086
  return Q(async () => {
3078
- await je(), setTimeout(() => l(n.value), 0);
3079
- }), (s, t) => (p(), v("button", {
3087
+ await je(), setTimeout(() => s(n.value), 0);
3088
+ }), (l, t) => (p(), v("button", {
3080
3089
  type: "button",
3081
3090
  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",
3082
- "aria-label": n.value === "dark" ? "Включить светлую тему" : "Включить тёмную тему",
3083
- title: n.value === "dark" ? "Светлая тема" : "Тёмная тема",
3084
- onClick: t[0] || (t[0] = (r) => l(n.value === "dark" ? "light" : "dark"))
3091
+ "aria-label": n.value === "dark" ? e.labelLight : e.labelDark,
3092
+ title: n.value === "dark" ? e.titleLight : e.titleDark,
3093
+ onClick: t[0] || (t[0] = (r) => s(n.value === "dark" ? "light" : "dark"))
3085
3094
  }, [
3086
3095
  g(de, {
3087
3096
  name: n.value === "dark" ? "sun" : "moon",
3088
3097
  size: 18
3089
3098
  }, null, 8, ["name"])
3090
- ], 8, Oo));
3099
+ ], 8, Ua));
3091
3100
  }
3092
- }), Na = /* @__PURE__ */ M({
3101
+ }), Uo = /* @__PURE__ */ M({
3093
3102
  __name: "VAutocomplete",
3094
3103
  props: {
3095
3104
  modelValue: { default: "" },
@@ -3100,8 +3109,8 @@ end;`, detail: "event(name: string)" },
3100
3109
  },
3101
3110
  emits: ["update:modelValue", "select"],
3102
3111
  setup(e, { emit: n }) {
3103
- const l = n, s = (r) => l("update:modelValue", r), t = (r, c) => {
3104
- r.click(new Event("click")), l("select", c);
3112
+ const s = n, l = (r) => s("update:modelValue", r), t = (r, c) => {
3113
+ r.click(new Event("click")), s("select", c);
3105
3114
  };
3106
3115
  return (r, c) => (p(), I(Ne, j(r.$attrs, {
3107
3116
  top: "50px",
@@ -3113,7 +3122,7 @@ end;`, detail: "event(name: string)" },
3113
3122
  name: e.name,
3114
3123
  message: e.message,
3115
3124
  label: e.label,
3116
- "onUpdate:modelValue": s,
3125
+ "onUpdate:modelValue": l,
3117
3126
  onClick: d.open
3118
3127
  }, null, 8, ["model-value", "name", "message", "label", "onClick"])
3119
3128
  ]),
@@ -3133,65 +3142,65 @@ end;`, detail: "event(name: string)" },
3133
3142
  _: 3
3134
3143
  }, 16));
3135
3144
  }
3136
- }), Uo = {
3145
+ }), Ka = {
3137
3146
  viewBox: "0 0 24 24",
3138
3147
  width: "1.2em",
3139
3148
  height: "1.2em"
3140
3149
  };
3141
- function Ko(e, n) {
3142
- return p(), v("svg", Uo, [...n[0] || (n[0] = [
3143
- o("path", {
3150
+ function Ra(e, n) {
3151
+ return p(), v("svg", Ka, [...n[0] || (n[0] = [
3152
+ a("path", {
3144
3153
  fill: "currentColor",
3145
3154
  d: "m12 15l-4.243-4.242l1.415-1.414L12 12.172l2.828-2.828l1.415 1.414z"
3146
3155
  }, null, -1)
3147
3156
  ])]);
3148
3157
  }
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({
3158
+ const Fa = O({ name: "ri-arrow-drop-down-line", render: Ra }), Wa = { class: "v-expansion__content max-h-0 overflow-hidden transition-all duration-300" }, qa = { class: "p-4" }, Ko = /* @__PURE__ */ M({
3150
3159
  __name: "VExpansion",
3151
3160
  props: {
3152
3161
  label: { default: "" },
3153
3162
  value: { type: Boolean, default: !1 }
3154
3163
  },
3155
3164
  setup(e) {
3156
- const n = E(null), l = E(e.value), s = () => {
3165
+ const n = L(null), s = L(e.value), l = () => {
3157
3166
  if (!n.value) return;
3158
3167
  const r = n.value.querySelector(".v-expansion__content");
3159
- r && (r.style.maxHeight = l.value ? `${r.scrollHeight}px` : "0");
3168
+ r && (r.style.maxHeight = s.value ? `${r.scrollHeight}px` : "0");
3160
3169
  }, t = () => {
3161
- l.value = !l.value, s();
3170
+ s.value = !s.value, l();
3162
3171
  };
3163
3172
  return Q(() => {
3164
- s();
3173
+ l();
3165
3174
  }), (r, c) => {
3166
- const d = Ro;
3175
+ const d = Fa;
3167
3176
  return p(), v("div", {
3168
3177
  ref_key: "root",
3169
3178
  ref: n,
3170
3179
  class: "glass-inset mb-2 overflow-hidden rounded-md"
3171
3180
  }, [
3172
- o("div", {
3181
+ a("div", {
3173
3182
  class: "cursor-pointer min-h-[60px] px-4 flex items-center justify-between",
3174
3183
  onClick: t
3175
3184
  }, [
3176
- o("h4", null, _(e.label), 1),
3177
- o("div", {
3178
- class: T(["transition text-gray-400", { "rotate-x-180": l.value }])
3185
+ a("h4", null, _(e.label), 1),
3186
+ a("div", {
3187
+ class: T(["transition text-gray-400", { "rotate-x-180": s.value }])
3179
3188
  }, [
3180
3189
  g(d, { class: "size-6" })
3181
3190
  ], 2)
3182
3191
  ]),
3183
- o("div", Fo, [
3184
- o("div", Wo, [
3192
+ a("div", Wa, [
3193
+ a("div", qa, [
3185
3194
  k(r.$slots, "default")
3186
3195
  ])
3187
3196
  ])
3188
3197
  ], 512);
3189
3198
  };
3190
3199
  }
3191
- }), qo = ["onDragstart", "onDragenter"], Go = {
3200
+ }), Ga = ["onDragstart", "onDragenter"], Ja = {
3192
3201
  key: 0,
3193
3202
  class: "absolute inset-0 border border-dashed border-blue-600 rounded"
3194
- }, Ua = /* @__PURE__ */ M({
3203
+ }, Ro = /* @__PURE__ */ M({
3195
3204
  __name: "VDragDrop",
3196
3205
  props: {
3197
3206
  items: {},
@@ -3199,21 +3208,21 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3199
3208
  },
3200
3209
  emits: ["update:items", "order-change"],
3201
3210
  setup(e, { emit: n }) {
3202
- const l = n, s = E(null), t = E(0), r = E(-1), c = ({ id: u }) => ({
3203
- "opacity-30 scale-105 z-10": s.value === u,
3204
- "transition-transform duration-200": s.value !== u
3211
+ const s = n, l = L(null), t = L(0), r = L(-1), c = ({ id: u }) => ({
3212
+ "opacity-30 scale-105 z-10": l.value === u,
3213
+ "transition-transform duration-200": l.value !== u
3205
3214
  }), d = (u, f, b) => {
3206
- s.value = f, t.value = b, u.dataTransfer.effectAllowed = "move";
3215
+ l.value = f, t.value = b, u.dataTransfer.effectAllowed = "move";
3207
3216
  }, m = (u) => {
3208
- s.value !== null && (r.value = u);
3209
- }, a = () => {
3210
- s.value = null, r.value = -1;
3217
+ l.value !== null && (r.value = u);
3218
+ }, o = () => {
3219
+ l.value = null, r.value = -1;
3211
3220
  }, i = (u) => {
3212
- if (u.preventDefault(), s.value && r.value !== -1) {
3213
- const f = e.items.findIndex((h) => h[e.itemKey] === s.value), b = r.value;
3221
+ if (u.preventDefault(), l.value && r.value !== -1) {
3222
+ const f = e.items.findIndex((h) => h[e.itemKey] === l.value), b = r.value;
3214
3223
  if (f !== b && b !== -1) {
3215
3224
  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 });
3225
+ h.splice(b, 0, y), s("update:items", h), s("order-change", { fromIndex: f, toIndex: b, movedItem: y, newOrder: h });
3217
3226
  }
3218
3227
  }
3219
3228
  r.value = -1;
@@ -3233,13 +3242,13 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3233
3242
  "move-class": "transition-all duration-300 ease"
3234
3243
  }, {
3235
3244
  default: x(() => [
3236
- (p(!0), v(L, null, N(e.items, (b, h) => (p(), v("div", {
3245
+ (p(!0), v(B, null, N(e.items, (b, h) => (p(), v("div", {
3237
3246
  key: `${b.id}_drug`,
3238
3247
  class: T(["relative group", c(b)]),
3239
3248
  draggable: "true",
3240
3249
  onDragstart: (y) => d(y, b.id, h),
3241
3250
  onDragenter: (y) => m(h),
3242
- onDragend: a,
3251
+ onDragend: o,
3243
3252
  onDragover: f[0] || (f[0] = F(() => {
3244
3253
  }, ["prevent"]))
3245
3254
  }, [
@@ -3247,19 +3256,19 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3247
3256
  item: b,
3248
3257
  key: b.id,
3249
3258
  index: h,
3250
- isDragging: s.value === b.id
3259
+ isDragging: l.value === b.id
3251
3260
  }),
3252
- r.value === h && s.value !== b.id ? (p(), v("div", Go)) : z("", !0)
3253
- ], 42, qo))), 128))
3261
+ r.value === h && l.value !== b.id ? (p(), v("div", Ja)) : z("", !0)
3262
+ ], 42, Ga))), 128))
3254
3263
  ]),
3255
3264
  _: 3
3256
3265
  })
3257
3266
  ], 32));
3258
3267
  }
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 = {
3268
+ }), Za = { class: "glass-inset overflow-hidden rounded-md" }, Xa = { class: "min-w-full" }, Ya = { class: "border-y border-gray-200/70 py-3 dark:border-white/10" }, Qa = { class: "bg-gray-100/70 dark:bg-white/[0.04]" }, eo = { class: "flex items-center" }, to = { class: "divide-y divide-gray-100 dark:divide-white/5" }, no = ["onClick"], lo = { class: "flex items-center text-gray-700 dark:text-white/70" }, so = { key: 1 }, ao = {
3260
3269
  class: "py-3 whitespace-nowrap",
3261
3270
  colspan: "9"
3262
- }, oa = { class: "flex items-center justify-center px-2 text-sm text-gray-500 dark:text-white/50" }, Ka = /* @__PURE__ */ M({
3271
+ }, oo = { class: "flex items-center justify-center px-2 text-sm text-gray-500 dark:text-white/50" }, Fo = /* @__PURE__ */ M({
3263
3272
  __name: "VTable",
3264
3273
  props: {
3265
3274
  headers: { default: () => [] },
@@ -3267,46 +3276,46 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3267
3276
  },
3268
3277
  emits: ["click"],
3269
3278
  setup(e, { emit: n }) {
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];
3271
- return (c, d) => (p(), v("div", Jo, [
3272
- o("table", Zo, [
3273
- o("thead", Xo, [
3274
- o("tr", Yo, [
3275
- (p(!0), v(L, null, N(e.headers, (m, a) => (p(), v("th", {
3276
- key: a,
3279
+ const s = n, l = (c, d) => s("click", c, d), t = (c) => (c == null ? void 0 : c.className) || "", r = (c, { key: d }) => c == null ? void 0 : c[d];
3280
+ return (c, d) => (p(), v("div", Za, [
3281
+ a("table", Xa, [
3282
+ a("thead", Ya, [
3283
+ a("tr", Qa, [
3284
+ (p(!0), v(B, null, N(e.headers, (m, o) => (p(), v("th", {
3285
+ key: o,
3277
3286
  class: T(["px-4 py-2 whitespace-nowrap font-normal text-gray-500 dark:text-white/50", t(m)])
3278
3287
  }, [
3279
3288
  k(c.$slots, "header", {
3280
3289
  item: m,
3281
- i: a
3290
+ i: o
3282
3291
  }, () => [
3283
- o("div", Qo, _(m.name), 1)
3292
+ a("div", eo, _(m.name), 1)
3284
3293
  ])
3285
3294
  ], 2))), 128))
3286
3295
  ])
3287
3296
  ]),
3288
- o("tbody", ea, [
3289
- e.items.length ? (p(!0), v(L, { key: 0 }, N(e.items, (m, a) => (p(), v("tr", {
3290
- key: a,
3297
+ a("tbody", to, [
3298
+ e.items.length ? (p(!0), v(B, { key: 0 }, N(e.items, (m, o) => (p(), v("tr", {
3299
+ key: o,
3291
3300
  class: "transition-colors hover:bg-primary/[0.04] dark:hover:bg-white/[0.04]",
3292
- onClick: (i) => s(m, i)
3301
+ onClick: (i) => l(m, i)
3293
3302
  }, [
3294
- (p(!0), v(L, null, N(e.headers, (i, u) => (p(), v("td", {
3303
+ (p(!0), v(B, null, N(e.headers, (i, u) => (p(), v("td", {
3295
3304
  key: u,
3296
3305
  class: "py-2 px-4"
3297
3306
  }, [
3298
- o("div", na, [
3307
+ a("div", lo, [
3299
3308
  k(c.$slots, i.key, {
3300
3309
  item: m,
3301
- i: a
3310
+ i: o
3302
3311
  }, () => [
3303
3312
  H(_(r(m, i)), 1)
3304
3313
  ])
3305
3314
  ])
3306
3315
  ]))), 128))
3307
- ], 8, ta))), 128)) : (p(), v("tr", sa, [
3308
- o("td", la, [
3309
- o("div", oa, [
3316
+ ], 8, no))), 128)) : (p(), v("tr", so, [
3317
+ a("td", ao, [
3318
+ a("div", oo, [
3310
3319
  k(c.$slots, "empty", {}, () => [
3311
3320
  d[0] || (d[0] = H("The list is empty", -1))
3312
3321
  ])
@@ -3317,27 +3326,27 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3317
3326
  ])
3318
3327
  ]));
3319
3328
  }
3320
- }), Ra = /* @__PURE__ */ M({
3329
+ }), Wo = /* @__PURE__ */ M({
3321
3330
  __name: "VTooltip",
3322
3331
  props: {
3323
3332
  timeout: {},
3324
3333
  disabled: { type: Boolean }
3325
3334
  },
3326
3335
  setup(e) {
3327
- const n = E(!1), l = () => {
3336
+ const n = L(!1), s = () => {
3328
3337
  e.disabled || (n.value = !0);
3329
- }, s = () => {
3338
+ }, l = () => {
3330
3339
  n.value = !1;
3331
3340
  }, t = Ie("tooltip");
3332
- return $t(t, () => s()), (r, c) => (p(), v("div", {
3341
+ return $t(t, () => l()), (r, c) => (p(), v("div", {
3333
3342
  ref: "tooltip",
3334
3343
  class: "relative v-tooltip",
3335
- onMouseenter: l,
3336
- onMouseleave: s
3344
+ onMouseenter: s,
3345
+ onMouseleave: l
3337
3346
  }, [
3338
- o("button", {
3347
+ a("button", {
3339
3348
  type: "button",
3340
- onClick: l
3349
+ onClick: s
3341
3350
  }, [
3342
3351
  k(r.$slots, "activator")
3343
3352
  ]),
@@ -3358,58 +3367,58 @@ const Ro = O({ name: "ri-arrow-drop-down-line", render: Ko }), Fo = { class: "v-
3358
3367
  }
3359
3368
  });
3360
3369
  export {
3361
- fa as AppAside,
3362
- va as AppHeader,
3363
- ba as AppNav,
3364
- ha as AppNotification,
3365
- ga as AppOverlay,
3366
- xa as AppProgress,
3367
- Ca as BlockBreadcrumb,
3368
- ya as BlockInfo,
3369
- _a as BlockScan,
3370
- $a as BlockService,
3371
- ka as BlockStatus,
3372
- wa as BlockUpdate,
3373
- ae as CardBase,
3374
- Ma as CardButton,
3375
- za as CardDate,
3376
- Sa as CardDimmer,
3377
- Va as CardInfo,
3378
- Ta as CardInput,
3379
- Ea as CardList,
3380
- qa as CardMain,
3370
+ ho as AppAside,
3371
+ go as AppHeader,
3372
+ yo as AppNav,
3373
+ bo as AppNotification,
3374
+ xo as AppOverlay,
3375
+ _o as AppProgress,
3376
+ zo as BlockBreadcrumb,
3377
+ $o as BlockInfo,
3378
+ ko as BlockScan,
3379
+ wo as BlockService,
3380
+ Co as BlockStatus,
3381
+ Mo as BlockUpdate,
3382
+ oe as CardBase,
3383
+ So as CardButton,
3384
+ Vo as CardDate,
3385
+ To as CardDimmer,
3386
+ Lo as CardInfo,
3387
+ Eo as CardInput,
3388
+ Bo as CardList,
3389
+ Jo as CardMain,
3381
3390
  en as CardNotification,
3382
- vo as DEFAULT_SUGGESTIONS,
3383
- Ba as ItemEdit,
3384
- Da as ScriptDialog,
3385
- La as ScriptEditor,
3386
- Aa as ScriptViewDocs,
3387
- Na as VAutocomplete,
3391
+ fa as DEFAULT_SUGGESTIONS,
3392
+ Ao as ItemEdit,
3393
+ Ho as ScriptDialog,
3394
+ Do as ScriptEditor,
3395
+ Io as ScriptViewDocs,
3396
+ Uo as VAutocomplete,
3388
3397
  A as VButton,
3389
- Ml as VCheckbox,
3398
+ Ms as VCheckbox,
3390
3399
  Oe as VDialog,
3391
- Ua as VDragDrop,
3400
+ Ro as VDragDrop,
3392
3401
  Ne as VDropdown,
3393
- Oa as VExpansion,
3394
- cs as VFile,
3402
+ Ko as VExpansion,
3403
+ cl as VFile,
3395
3404
  xe as VFunc,
3396
3405
  Pe as VIconLogo,
3397
3406
  ct as VIconLogoMini,
3398
3407
  Ce as VList,
3399
3408
  We as VListObject,
3400
3409
  pt as VLoader,
3401
- Ga as VPopup,
3402
- le as VSelect,
3403
- Ka as VTable,
3404
- xl as VTabs,
3410
+ Zo as VPopup,
3411
+ se as VSelect,
3412
+ Fo as VTable,
3413
+ xs as VTabs,
3405
3414
  J as VTextField,
3406
3415
  Fe as VTextWrapper,
3407
- Ra as VTooltip,
3416
+ Wo as VTooltip,
3408
3417
  mt as VWifiIcon,
3409
- Ia as VisionCard,
3418
+ jo as VisionCard,
3410
3419
  de as VisionIcon,
3411
- Ha as VisionInput,
3412
- ja as VisionSearch,
3413
- Pa as VisionThemeToggle,
3414
- mo as fullHighlighter
3420
+ Po as VisionInput,
3421
+ No as VisionSearch,
3422
+ Oo as VisionThemeToggle,
3423
+ ua as fullHighlighter
3415
3424
  };