@vue/devtools-applet 8.0.0 → 8.0.1

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.
package/dist/index.js CHANGED
@@ -1,164 +1,164 @@
1
- import { defineComponent as F, withDirectives as W, createElementBlock as m, openBlock as c, normalizeStyle as $e, unref as a, createTextVNode as X, toDisplayString as ie, mergeModels as Ne, useModel as We, Fragment as ne, renderList as ue, normalizeClass as ae, createBlock as z, inject as me, toValue as J, ref as N, computed as I, h as ln, provide as ye, createElementVNode as u, renderSlot as qe, createCommentVNode as U, isRef as ze, shallowRef as pe, shallowReadonly as sn, onMounted as Tt, nextTick as Oe, watch as Q, getCurrentScope as an, onScopeDispose as rn, getCurrentInstance as Je, reactive as mt, toRaw as Et, createVNode as y, mergeProps as ke, withModifiers as fe, withCtx as L, watchEffect as Ye, onUnmounted as we, vShow as un, createStaticVNode as cn } from "vue";
2
- import { vTooltip as q, VueButton as de, VueIcon as re, VueDropdown as dn, VueDropdownButton as ht, VueInput as he, VueIcIcon as je, VueCodeBlock as pn, VueDialog as fn, VueSwitch as vn, VueSelect as mn } from "@vue/devtools-ui";
3
- import { isPlainObject as hn, UNDEFINED as Vt, NAN as gn, INFINITY as Cn, NEGATIVE_INFINITY as yn, getRaw as Nt, toSubmit as He, formatInspectorStateValue as _n, getInspectorStateValueType as gt, escape as xn, toEdit as bn, parse as ee } from "@vue/devtools-kit";
4
- import { rpc as R, useDevToolsState as Rt, DevToolsMessagingEvents as Y, onRpcConnected as Re } from "@vue/devtools-core";
5
- import { Splitpanes as De, Pane as ce } from "splitpanes";
6
- import { isArray as Ct, isObject as yt, sortByKey as Dt, isInSeparateWindow as wn, isInChromePanel as _t } from "@vue/devtools-shared";
7
- import { debounce as kn } from "perfect-debounce";
8
- import { RecycleScroller as In } from "vue-virtual-scroller";
9
- import { flatten as $n, groupBy as Sn } from "lodash-es";
10
- function xt(n) {
11
- return n.toString(16).padStart(6, "0");
1
+ import { defineComponent as F, withDirectives as q, createElementBlock as m, openBlock as c, normalizeStyle as Se, unref as a, createTextVNode as Q, toDisplayString as re, mergeModels as Re, useModel as Ye, Fragment as le, renderList as ce, normalizeClass as ie, createBlock as z, inject as ge, toValue as J, ref as N, computed as S, h as cn, provide as _e, createElementVNode as u, renderSlot as Xe, createCommentVNode as j, isRef as Fe, shallowRef as me, shallowReadonly as dn, onMounted as At, nextTick as Be, watch as te, getCurrentScope as pn, onScopeDispose as fn, getCurrentInstance as Qe, reactive as yt, toRaw as Rt, createVNode as x, mergeProps as Ie, withModifiers as he, withCtx as H, watchEffect as et, onUnmounted as ke, vShow as vn, createStaticVNode as mn } from "vue";
2
+ import { vTooltip as Y, VueButton as fe, VueIcon as ue, VueDropdown as hn, VueDropdownButton as _t, VueInput as Ce, VueIcIcon as Ze, VueCodeBlock as gn, VueDialog as Cn, VueSwitch as yn, VueSelect as _n } from "@vue/devtools-ui";
3
+ import { isPlainObject as xn, UNDEFINED as Dt, NAN as bn, INFINITY as wn, NEGATIVE_INFINITY as kn, getRaw as Pt, toSubmit as je, formatInspectorStateValue as In, getInspectorStateValueType as xt, escape as $n, toEdit as Sn, parse as ne } from "@vue/devtools-kit";
4
+ import { rpc as A, useDevToolsState as Lt, DevToolsMessagingEvents as X, onRpcConnected as De } from "@vue/devtools-core";
5
+ import { Splitpanes as Pe, Pane as de } from "splitpanes";
6
+ import { isArray as bt, isObject as wt, sortByKey as Mt, isInSeparateWindow as Tn, isInChromePanel as kt } from "@vue/devtools-shared";
7
+ import { debounce as En } from "perfect-debounce";
8
+ import { RecycleScroller as Vn } from "vue-virtual-scroller";
9
+ import { flatten as Nn, groupBy as An } from "lodash-es";
10
+ function It(t) {
11
+ return t.toString(16).padStart(6, "0");
12
12
  }
13
- function Tn(n, e) {
14
- const o = new Date(n);
13
+ function Rn(t, e) {
14
+ const o = new Date(t);
15
15
  return `${o.toString().match(/\d\d:\d\d:\d\d/)[0]}${e === "ms" ? `.${String(o.getMilliseconds()).padStart(3, "0")}` : ""}`;
16
16
  }
17
- function En(n, e) {
18
- const o = /* @__PURE__ */ new Map(), t = At(n, e.toLowerCase(), o, 0);
19
- return o.clear(), t;
17
+ function Dn(t, e) {
18
+ const o = /* @__PURE__ */ new Map(), n = Ot(t, e.toLowerCase(), o, 0);
19
+ return o.clear(), n;
20
20
  }
21
- const Pt = 10;
22
- function At(n, e, o, t) {
23
- if (t > Pt)
21
+ const Ht = 10;
22
+ function Ot(t, e, o, n) {
23
+ if (n > Ht)
24
24
  return !1;
25
25
  let l = !1;
26
- const s = Object.keys(n);
26
+ const s = Object.keys(t);
27
27
  let p, r;
28
- for (let i = 0; i < s.length && (p = s[i], r = n[p], l = Mt(e, p, r, o, t + 1), !l); i++)
28
+ for (let i = 0; i < s.length && (p = s[i], r = t[p], l = Ut(e, p, r, o, n + 1), !l); i++)
29
29
  ;
30
30
  return l;
31
31
  }
32
- function Mt(n, e, o, t, l) {
32
+ function Ut(t, e, o, n, l) {
33
33
  let s = !1, p;
34
- return e === "_custom" && (e = o.display, o = o.value), (p = Vn(o)) && (o = p), e && bt(e, n) ? (s = !0, t.set(o, !0)) : t.has(o) ? s = t.get(o) : Array.isArray(o) ? (t.set(o, null), s = Nn(o, n, t, l), t.set(o, s)) : hn(o) ? (t.set(o, null), s = At(o, n, t, l), t.set(o, s)) : bt(o, n) && (s = !0, t.set(o, !0)), s;
34
+ return e === "_custom" && (e = o.display, o = o.value), (p = Pn(o)) && (o = p), e && $t(e, t) ? (s = !0, n.set(o, !0)) : n.has(o) ? s = n.get(o) : Array.isArray(o) ? (n.set(o, null), s = Ln(o, t, n, l), n.set(o, s)) : xn(o) ? (n.set(o, null), s = Ot(o, t, n, l), n.set(o, s)) : $t(o, t) && (s = !0, n.set(o, !0)), s;
35
35
  }
36
- function bt(n, e) {
37
- return `${n}`.toLowerCase().includes(e);
36
+ function $t(t, e) {
37
+ return `${t}`.toLowerCase().includes(e);
38
38
  }
39
- function Vn(n) {
40
- return n === null ? "null" : n === Vt ? "undefined" : n === gn ? "NaN" : n === Cn ? "Infinity" : n === yn ? "-Infinity" : !1;
39
+ function Pn(t) {
40
+ return t === null ? "null" : t === Dt ? "undefined" : t === bn ? "NaN" : t === wn ? "Infinity" : t === kn ? "-Infinity" : !1;
41
41
  }
42
- function Nn(n, e, o, t) {
43
- if (t > Pt)
42
+ function Ln(t, e, o, n) {
43
+ if (n > Ht)
44
44
  return !1;
45
45
  let l = !1, s;
46
- for (let p = 0; p < n.length && (s = n[p], l = Mt(e, null, s, o, t + 1), !l); p++)
46
+ for (let p = 0; p < t.length && (s = t[p], l = Ut(e, null, s, o, n + 1), !l); p++)
47
47
  ;
48
48
  return l;
49
49
  }
50
- function Xe(n) {
51
- const { state: e, filterKey: o, processGroup: t } = n;
50
+ function tt(t) {
51
+ const { state: e, filterKey: o, processGroup: n } = t;
52
52
  if (!o || !o.trim().length)
53
53
  return e;
54
54
  const l = {};
55
55
  for (const s in e) {
56
- const r = e[s].filter((i) => En({
56
+ const r = e[s].filter((i) => Dn({
57
57
  // @ts-expect-error typing weak
58
58
  [i.key]: i.value
59
59
  }, o));
60
- r.length && (l[s] = t ? t(r) : r);
60
+ r.length && (l[s] = n ? n(r) : r);
61
61
  }
62
62
  return l;
63
63
  }
64
- const Lt = /* @__PURE__ */ F({
64
+ const jt = /* @__PURE__ */ F({
65
65
  __name: "NodeTag",
66
66
  props: {
67
67
  tag: {}
68
68
  },
69
- setup(n) {
70
- return (e, o) => W((c(), m("span", {
71
- style: $e({
72
- color: `#${a(xt)(e.tag.textColor)}`,
73
- backgroundColor: `#${a(xt)(e.tag.backgroundColor)}`
69
+ setup(t) {
70
+ return (e, o) => q((c(), m("span", {
71
+ style: Se({
72
+ color: `#${a(It)(e.tag.textColor)}`,
73
+ backgroundColor: `#${a(It)(e.tag.backgroundColor)}`
74
74
  }),
75
75
  class: "ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"
76
76
  }, [
77
- X(ie(e.tag.label), 1)
77
+ Q(re(e.tag.label), 1)
78
78
  ], 4)), [
79
- [a(q), {
79
+ [a(Y), {
80
80
  content: e.tag.tooltip,
81
81
  html: !0
82
82
  }]
83
83
  ]);
84
84
  }
85
- }), Rn = { class: "p2" }, Dn = ["onClick"], Pn = /* @__PURE__ */ F({
85
+ }), Mn = { class: "p2" }, Hn = ["onClick"], On = /* @__PURE__ */ F({
86
86
  __name: "SelectiveList",
87
- props: /* @__PURE__ */ Ne({
87
+ props: /* @__PURE__ */ Re({
88
88
  data: {}
89
89
  }, {
90
90
  modelValue: {},
91
91
  modelModifiers: {}
92
92
  }),
93
- emits: /* @__PURE__ */ Ne(["select"], ["update:modelValue"]),
94
- setup(n, { emit: e }) {
95
- const o = e, t = We(n, "modelValue");
93
+ emits: /* @__PURE__ */ Re(["select"], ["update:modelValue"]),
94
+ setup(t, { emit: e }) {
95
+ const o = e, n = Ye(t, "modelValue");
96
96
  function l(s) {
97
- t.value = s, o("select", s);
97
+ n.value = s, o("select", s);
98
98
  }
99
- return (s, p) => (c(), m("ul", Rn, [
100
- (c(!0), m(ne, null, ue(s.data, (r) => (c(), m("li", {
99
+ return (s, p) => (c(), m("ul", Mn, [
100
+ (c(!0), m(le, null, ce(s.data, (r) => (c(), m("li", {
101
101
  key: r.id,
102
- class: ae(["selectable-item", { active: r.id === t.value }]),
102
+ class: ie(["selectable-item", { active: r.id === n.value }]),
103
103
  onClick: (i) => l(r.id)
104
104
  }, [
105
- X(ie(r.label) + " ", 1),
106
- (c(!0), m(ne, null, ue(r.tags, (i, f) => (c(), z(Lt, {
105
+ Q(re(r.label) + " ", 1),
106
+ (c(!0), m(le, null, ce(r.tags, (i, f) => (c(), z(jt, {
107
107
  key: f,
108
108
  tag: i
109
109
  }, null, 8, ["tag"]))), 128))
110
- ], 10, Dn))), 128))
110
+ ], 10, Hn))), 128))
111
111
  ]));
112
112
  }
113
- }), Qe = Symbol("VirtualRouteKey"), Ht = Symbol("VirtualRoutesKey");
114
- function et(n, e) {
115
- const o = e?.defaultRoutePath ?? J(n)[0].path, t = N({
113
+ }), nt = Symbol("VirtualRouteKey"), zt = Symbol("VirtualRoutesKey");
114
+ function ot(t, e) {
115
+ const o = e?.defaultRoutePath ?? J(t)[0].path, n = N({
116
116
  path: o
117
- }), l = I(() => J(n)), s = I(() => t.value.path), p = F({
117
+ }), l = S(() => J(t)), s = S(() => n.value.path), p = F({
118
118
  setup() {
119
119
  return () => {
120
120
  const i = l.value.find((f) => f.path === s.value);
121
- return i ? ln(i.component) : null;
121
+ return i ? cn(i.component) : null;
122
122
  };
123
123
  }
124
124
  });
125
125
  function r() {
126
- t.value.path = o;
126
+ n.value.path = o;
127
127
  }
128
- return ye(Qe, t), ye(Ht, l), { VirtualRouterView: p, restoreRouter: r };
128
+ return _e(nt, n), _e(zt, l), { VirtualRouterView: p, restoreRouter: r };
129
129
  }
130
- function Pe() {
131
- const n = me(Qe);
130
+ function Le() {
131
+ const t = ge(nt);
132
132
  return {
133
133
  push(e) {
134
- n.value.path = e;
134
+ t.value.path = e;
135
135
  }
136
136
  };
137
137
  }
138
- function An() {
139
- const n = me(Ht), e = me(Qe);
138
+ function Un() {
139
+ const t = ge(zt), e = ge(nt);
140
140
  return {
141
- routes: n,
141
+ routes: t,
142
142
  currentRoute: e
143
143
  };
144
144
  }
145
- const Mn = {
145
+ const jn = {
146
146
  border: "b base",
147
147
  class: "flex items-center justify-between px3"
148
- }, Ln = ["href"], Hn = ["href"], Se = /* @__PURE__ */ F({
148
+ }, zn = ["href"], Bn = ["href"], Te = /* @__PURE__ */ F({
149
149
  __name: "DevToolsHeader",
150
150
  props: {
151
151
  githubRepoLink: {},
152
152
  docLink: {}
153
153
  },
154
- setup(n) {
155
- const e = Pe();
156
- return (o, t) => (c(), m("div", Mn, [
154
+ setup(t) {
155
+ const e = Le();
156
+ return (o, n) => (c(), m("div", jn, [
157
157
  u("div", null, [
158
- qe(o.$slots, "default", {}, () => [
158
+ Xe(o.$slots, "default", {}, () => [
159
159
  u("i", {
160
160
  class: "i-ep:back cursor-pointer text-base op70 hover:op100",
161
- onClick: t[0] || (t[0] = (l) => a(e).push("/"))
161
+ onClick: n[0] || (n[0] = (l) => a(e).push("/"))
162
162
  })
163
163
  ])
164
164
  ]),
@@ -168,108 +168,108 @@ const Mn = {
168
168
  href: o.docLink,
169
169
  target: "_blank",
170
170
  title: "View Documentation"
171
- }, t[1] || (t[1] = [
171
+ }, n[1] || (n[1] = [
172
172
  u("i", { class: "i-clarity:document-line cursor-pointer text-base op70 hover:op100" }, null, -1)
173
- ]), 8, Ln),
173
+ ]), 8, zn),
174
174
  o.githubRepoLink ? (c(), m("a", {
175
175
  key: 0,
176
176
  href: o.githubRepoLink,
177
177
  target: "_blank",
178
178
  title: "Star on GitHub"
179
- }, t[2] || (t[2] = [
179
+ }, n[2] || (n[2] = [
180
180
  u("i", { class: "i-mdi:github cursor-pointer text-base op70 hover:op100" }, null, -1)
181
- ]), 8, Hn)) : U("", !0)
181
+ ]), 8, Bn)) : j("", !0)
182
182
  ])
183
183
  ]));
184
184
  }
185
- }), xe = (n, e) => {
186
- const o = n.__vccOpts || n;
187
- for (const [t, l] of e)
188
- o[t] = l;
185
+ }), be = (t, e) => {
186
+ const o = t.__vccOpts || t;
187
+ for (const [n, l] of e)
188
+ o[n] = l;
189
189
  return o;
190
- }, Un = {}, On = { class: "h-full flex flex-col items-center justify-center op50" };
191
- function jn(n, e) {
192
- return c(), m("div", On, [
190
+ }, Zn = {}, Fn = { class: "h-full flex flex-col items-center justify-center op50" };
191
+ function Kn(t, e) {
192
+ return c(), m("div", Fn, [
193
193
  e[0] || (e[0] = u("i", { class: "i-lets-icons:blank-light" }, null, -1)),
194
194
  u("span", null, [
195
- qe(n.$slots, "default")
195
+ Xe(t.$slots, "default")
196
196
  ])
197
197
  ]);
198
198
  }
199
- const Ie = /* @__PURE__ */ xe(Un, [["render", jn]]), zn = { class: "flex gap3" }, Bn = ["onClick"], Te = /* @__PURE__ */ F({
199
+ const $e = /* @__PURE__ */ be(Zn, [["render", Kn]]), Gn = { class: "flex gap3" }, Wn = ["onClick"], Ee = /* @__PURE__ */ F({
200
200
  __name: "Navbar",
201
- setup(n) {
202
- const { routes: e, currentRoute: o } = An(), t = Pe();
203
- return (l, s) => (c(), m("ul", zn, [
204
- (c(!0), m(ne, null, ue(a(e), (p, r) => (c(), m("li", {
201
+ setup(t) {
202
+ const { routes: e, currentRoute: o } = Un(), n = Le();
203
+ return (l, s) => (c(), m("ul", Gn, [
204
+ (c(!0), m(le, null, ce(a(e), (p, r) => (c(), m("li", {
205
205
  key: r,
206
- class: ae(["h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100", a(o).path === p.path ? "op-100 font-medium text-primary-400 border-primary-400" : "border-transparent op-70"]),
207
- onClick: (i) => a(t).push(p.path)
208
- }, ie(p.name), 11, Bn))), 128))
206
+ class: ie(["h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100", a(o).path === p.path ? "op-100 font-medium text-primary-400 border-primary-400" : "border-transparent op-70"]),
207
+ onClick: (i) => a(n).push(p.path)
208
+ }, re(p.name), 11, Wn))), 128))
209
209
  ]));
210
210
  }
211
- }), tt = /* @__PURE__ */ F({
211
+ }), lt = /* @__PURE__ */ F({
212
212
  __name: "ToggleExpanded",
213
213
  props: {
214
214
  value: { type: Boolean }
215
215
  },
216
- setup(n) {
216
+ setup(t) {
217
217
  return (e, o) => (c(), m("i", {
218
- class: ae(["i-radix-icons:triangle-right flex-none text-4 op-50 transition-base", {
218
+ class: ie(["i-radix-icons:triangle-right flex-none text-4 op-50 transition-base", {
219
219
  "transform rotate-90": e.value
220
220
  }])
221
221
  }, null, 2));
222
222
  }
223
- }), Ut = Symbol("StateEditorSymbol");
224
- function Fn(n) {
225
- const e = N(n);
226
- return ye(Ut, e), {
223
+ }), Bt = Symbol("StateEditorSymbol");
224
+ function qn(t) {
225
+ const e = N(t);
226
+ return _e(Bt, e), {
227
227
  context: e
228
228
  };
229
229
  }
230
- function nt() {
231
- return me(Ut);
230
+ function st() {
231
+ return ge(Bt);
232
232
  }
233
- function Zn() {
234
- const n = N(""), e = N("string"), o = N(!1), t = nt();
233
+ function Jn() {
234
+ const t = N(""), e = N("string"), o = N(!1), n = st();
235
235
  return {
236
- editingText: n,
236
+ editingText: t,
237
237
  editing: o,
238
238
  toggleEditing(l) {
239
239
  l && (e.value = l), o.value = !o.value;
240
240
  },
241
241
  editingType: e,
242
- nodeId: I(() => t.value.nodeId)
242
+ nodeId: S(() => n.value.nodeId)
243
243
  };
244
244
  }
245
- function Kn(n, e) {
246
- if (n === "array")
245
+ function Yn(t, e) {
246
+ if (t === "array")
247
247
  return e.length;
248
248
  const o = "newProp";
249
- let t = 1;
249
+ let n = 1;
250
250
  for (; ; ) {
251
- const l = `${o}${t}`;
251
+ const l = `${o}${n}`;
252
252
  if (!e[l])
253
253
  return l;
254
- t++;
254
+ n++;
255
255
  }
256
256
  }
257
- function Gn() {
258
- const n = N({
257
+ function Xn() {
258
+ const t = N({
259
259
  enable: !1,
260
260
  key: "",
261
261
  value: "undefined"
262
262
  });
263
- function e(t, l) {
264
- const s = Kn(t, l);
265
- n.value = {
263
+ function e(n, l) {
264
+ const s = Yn(n, l);
265
+ t.value = {
266
266
  enable: !0,
267
267
  key: s.toString(),
268
268
  value: "undefined"
269
269
  };
270
270
  }
271
271
  function o() {
272
- n.value = {
272
+ t.value = {
273
273
  enable: !1,
274
274
  key: "",
275
275
  value: "undefined"
@@ -278,161 +278,162 @@ function Gn() {
278
278
  return {
279
279
  addNewProp: e,
280
280
  resetDrafting: o,
281
- draftingNewProp: n
281
+ draftingNewProp: t
282
282
  };
283
283
  }
284
- const Ot = "expanded-state";
285
- function ge(n = "") {
284
+ const Zt = "expanded-state";
285
+ function ye(t = "") {
286
286
  const e = N([]);
287
- return ye(`${Ot}-${n}`, e), {
287
+ return _e(`${Zt}-${t}`, e), {
288
288
  expanded: e
289
289
  };
290
290
  }
291
- function ot(n = "") {
292
- const e = me(`${Ot}-${n}`, N([]));
293
- function o(t) {
294
- const l = e.value.indexOf(t);
295
- l === -1 ? e.value.push(t) : e.value.splice(l, 1);
291
+ function at(t = "") {
292
+ const e = ge(`${Zt}-${t}`, N([]));
293
+ function o(n) {
294
+ const l = e.value.indexOf(n);
295
+ l === -1 ? e.value.push(n) : e.value.splice(l, 1);
296
296
  }
297
297
  return {
298
298
  expanded: e,
299
299
  toggleExpanded: o
300
300
  };
301
301
  }
302
- function lt(n) {
303
- return an() ? (rn(n), !0) : !1;
302
+ function it(t) {
303
+ return pn() ? (fn(t), !0) : !1;
304
304
  }
305
- const st = typeof window < "u" && typeof document < "u";
305
+ const rt = typeof window < "u" && typeof document < "u";
306
306
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
307
- const Wn = (n) => typeof n < "u", qn = Object.prototype.toString, Jn = (n) => qn.call(n) === "[object Object]", Ke = () => {
307
+ const Qn = (t) => typeof t < "u", eo = Object.prototype.toString, to = (t) => eo.call(t) === "[object Object]", qe = () => {
308
308
  };
309
- function jt(n, e) {
310
- function o(...t) {
309
+ function Ft(t, e) {
310
+ function o(...n) {
311
311
  return new Promise((l, s) => {
312
- Promise.resolve(n(() => e.apply(this, t), { fn: e, thisArg: this, args: t })).then(l).catch(s);
312
+ Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(l).catch(s);
313
313
  });
314
314
  }
315
315
  return o;
316
316
  }
317
- const Yn = (n) => n();
318
- function zt(n, e = {}) {
319
- let o, t, l = Ke;
317
+ const no = (t) => t();
318
+ function Kt(t, e = {}) {
319
+ let o, n, l = qe;
320
320
  const s = (i) => {
321
- clearTimeout(i), l(), l = Ke;
321
+ clearTimeout(i), l(), l = qe;
322
322
  };
323
323
  let p;
324
324
  return (i) => {
325
- const f = J(n), v = J(e.maxWait);
326
- return o && s(o), f <= 0 || v !== void 0 && v <= 0 ? (t && (s(t), t = void 0), Promise.resolve(i())) : new Promise((d, h) => {
327
- l = e.rejectOnCancel ? h : d, p = i, v && !t && (t = setTimeout(() => {
328
- o && s(o), t = void 0, d(p());
325
+ const f = J(t), v = J(e.maxWait);
326
+ return o && s(o), f <= 0 || v !== void 0 && v <= 0 ? (n && (s(n), n = void 0), Promise.resolve(i())) : new Promise((d, h) => {
327
+ l = e.rejectOnCancel ? h : d, p = i, v && !n && (n = setTimeout(() => {
328
+ o && s(o), n = void 0, d(p());
329
329
  }, v)), o = setTimeout(() => {
330
- t && s(t), t = void 0, d(i());
330
+ n && s(n), n = void 0, d(i());
331
331
  }, f);
332
332
  });
333
333
  };
334
334
  }
335
- function wt(n, e = !1, o = "Timeout") {
336
- return new Promise((t, l) => {
337
- setTimeout(e ? () => l(o) : t, n);
335
+ function St(t, e = !1, o = "Timeout") {
336
+ return new Promise((n, l) => {
337
+ setTimeout(e ? () => l(o) : n, t);
338
338
  });
339
339
  }
340
- function Xn(n) {
340
+ function oo(t) {
341
341
  let e;
342
342
  function o() {
343
- return e || (e = n()), e;
343
+ return e || (e = t()), e;
344
344
  }
345
345
  return o.reset = async () => {
346
- const t = e;
347
- e = void 0, t && await t;
346
+ const n = e;
347
+ e = void 0, n && await n;
348
348
  }, o;
349
349
  }
350
- function Ue(n) {
351
- return Array.isArray(n) ? n : [n];
350
+ function ze(t) {
351
+ return Array.isArray(t) ? t : [t];
352
352
  }
353
- function Qn(n) {
354
- return Je();
353
+ function lo(t) {
354
+ return Qe();
355
355
  }
356
- function kt(n, e = 200, o = {}) {
357
- return jt(
358
- zt(e, o),
359
- n
356
+ // @__NO_SIDE_EFFECTS__
357
+ function Tt(t, e = 200, o = {}) {
358
+ return Ft(
359
+ Kt(e, o),
360
+ t
360
361
  );
361
362
  }
362
- function eo(n, e, o = {}) {
363
+ function so(t, e, o = {}) {
363
364
  const {
364
- eventFilter: t = Yn,
365
+ eventFilter: n = no,
365
366
  ...l
366
367
  } = o;
367
- return Q(
368
- n,
369
- jt(
370
- t,
368
+ return te(
369
+ t,
370
+ Ft(
371
+ n,
371
372
  e
372
373
  ),
373
374
  l
374
375
  );
375
376
  }
376
- function to(n, e = !0, o) {
377
- Qn() ? Tt(n, o) : e ? n() : Oe(n);
377
+ function ao(t, e = !0, o) {
378
+ lo() ? At(t, o) : e ? t() : Be(t);
378
379
  }
379
- function Ge(n, e = !1) {
380
- function o(d, { flush: h = "sync", deep: $ = !1, timeout: E, throwOnTimeout: k } = {}) {
381
- let b = null;
382
- const V = [new Promise((_) => {
383
- b = Q(
384
- n,
380
+ function Je(t, e = !1) {
381
+ function o(d, { flush: h = "sync", deep: T = !1, timeout: E, throwOnTimeout: $ } = {}) {
382
+ let I = null;
383
+ const V = [new Promise((w) => {
384
+ I = te(
385
+ t,
385
386
  (D) => {
386
- d(D) !== e && (b ? b() : Oe(() => b?.()), _(D));
387
+ d(D) !== e && (I ? I() : Be(() => I?.()), w(D));
387
388
  },
388
389
  {
389
390
  flush: h,
390
- deep: $,
391
+ deep: T,
391
392
  immediate: !0
392
393
  }
393
394
  );
394
395
  })];
395
396
  return E != null && V.push(
396
- wt(E, k).then(() => J(n)).finally(() => b?.())
397
+ St(E, $).then(() => J(t)).finally(() => I?.())
397
398
  ), Promise.race(V);
398
399
  }
399
- function t(d, h) {
400
- if (!ze(d))
400
+ function n(d, h) {
401
+ if (!Fe(d))
401
402
  return o((D) => D === d, h);
402
- const { flush: $ = "sync", deep: E = !1, timeout: k, throwOnTimeout: b } = h ?? {};
403
- let A = null;
404
- const _ = [new Promise((D) => {
405
- A = Q(
406
- [n, d],
407
- ([Z, K]) => {
408
- e !== (Z === K) && (A ? A() : Oe(() => A?.()), D(Z));
403
+ const { flush: T = "sync", deep: E = !1, timeout: $, throwOnTimeout: I } = h ?? {};
404
+ let L = null;
405
+ const w = [new Promise((D) => {
406
+ L = te(
407
+ [t, d],
408
+ ([B, G]) => {
409
+ e !== (B === G) && (L ? L() : Be(() => L?.()), D(B));
409
410
  },
410
411
  {
411
- flush: $,
412
+ flush: T,
412
413
  deep: E,
413
414
  immediate: !0
414
415
  }
415
416
  );
416
417
  })];
417
- return k != null && _.push(
418
- wt(k, b).then(() => J(n)).finally(() => (A?.(), J(n)))
419
- ), Promise.race(_);
418
+ return $ != null && w.push(
419
+ St($, I).then(() => J(t)).finally(() => (L?.(), J(t)))
420
+ ), Promise.race(w);
420
421
  }
421
422
  function l(d) {
422
423
  return o((h) => !!h, d);
423
424
  }
424
425
  function s(d) {
425
- return t(null, d);
426
+ return n(null, d);
426
427
  }
427
428
  function p(d) {
428
- return t(void 0, d);
429
+ return n(void 0, d);
429
430
  }
430
431
  function r(d) {
431
432
  return o(Number.isNaN, d);
432
433
  }
433
434
  function i(d, h) {
434
- return o(($) => {
435
- const E = Array.from($);
435
+ return o((T) => {
436
+ const E = Array.from(T);
436
437
  return E.includes(d) || E.includes(J(d));
437
438
  }, h);
438
439
  }
@@ -440,20 +441,20 @@ function Ge(n, e = !1) {
440
441
  return v(1, d);
441
442
  }
442
443
  function v(d = 1, h) {
443
- let $ = -1;
444
- return o(() => ($ += 1, $ >= d), h);
444
+ let T = -1;
445
+ return o(() => (T += 1, T >= d), h);
445
446
  }
446
- return Array.isArray(J(n)) ? {
447
+ return Array.isArray(J(t)) ? {
447
448
  toMatch: o,
448
449
  toContains: i,
449
450
  changed: f,
450
451
  changedTimes: v,
451
452
  get not() {
452
- return Ge(n, !e);
453
+ return Je(t, !e);
453
454
  }
454
455
  } : {
455
456
  toMatch: o,
456
- toBe: t,
457
+ toBe: n,
457
458
  toBeTruthy: l,
458
459
  toBeNull: s,
459
460
  toBeNaN: r,
@@ -461,18 +462,18 @@ function Ge(n, e = !1) {
461
462
  changed: f,
462
463
  changedTimes: v,
463
464
  get not() {
464
- return Ge(n, !e);
465
+ return Je(t, !e);
465
466
  }
466
467
  };
467
468
  }
468
- function Bt(n) {
469
- return Ge(n);
469
+ function Gt(t) {
470
+ return Je(t);
470
471
  }
471
- function no(n, e, o = {}) {
472
+ function io(t, e, o = {}) {
472
473
  const {
473
- immediate: t = !0,
474
+ immediate: n = !0,
474
475
  immediateCallback: l = !1
475
- } = o, s = pe(!1);
476
+ } = o, s = me(!1);
476
477
  let p;
477
478
  function r() {
478
479
  p && (clearTimeout(p), p = void 0);
@@ -481,49 +482,50 @@ function no(n, e, o = {}) {
481
482
  s.value = !1, r();
482
483
  }
483
484
  function f(...v) {
484
- l && n(), r(), s.value = !0, p = setTimeout(() => {
485
- s.value = !1, p = void 0, n(...v);
485
+ l && t(), r(), s.value = !0, p = setTimeout(() => {
486
+ s.value = !1, p = void 0, t(...v);
486
487
  }, J(e));
487
488
  }
488
- return t && (s.value = !0, st && f()), lt(i), {
489
- isPending: sn(s),
489
+ return n && (s.value = !0, rt && f()), it(i), {
490
+ isPending: dn(s),
490
491
  start: f,
491
492
  stop: i
492
493
  };
493
494
  }
494
- function Ft(n = !1, e = {}) {
495
+ // @__NO_SIDE_EFFECTS__
496
+ function Wt(t = !1, e = {}) {
495
497
  const {
496
498
  truthyValue: o = !0,
497
- falsyValue: t = !1
498
- } = e, l = ze(n), s = pe(n);
499
+ falsyValue: n = !1
500
+ } = e, l = Fe(t), s = me(t);
499
501
  function p(r) {
500
502
  if (arguments.length)
501
503
  return s.value = r, s.value;
502
504
  {
503
505
  const i = J(o);
504
- return s.value = s.value === i ? J(t) : i, s.value;
506
+ return s.value = s.value === i ? J(n) : i, s.value;
505
507
  }
506
508
  }
507
509
  return l ? p : [s, p];
508
510
  }
509
- function Zt(n, e, o = {}) {
511
+ function qt(t, e, o = {}) {
510
512
  const {
511
- debounce: t = 0,
513
+ debounce: n = 0,
512
514
  maxWait: l = void 0,
513
515
  ...s
514
516
  } = o;
515
- return eo(
516
- n,
517
+ return so(
518
+ t,
517
519
  e,
518
520
  {
519
521
  ...s,
520
- eventFilter: zt(t, { maxWait: l })
522
+ eventFilter: Kt(n, { maxWait: l })
521
523
  }
522
524
  );
523
525
  }
524
- function oo(n, e, o) {
525
- return Q(
526
- n,
526
+ function ro(t, e, o) {
527
+ return te(
528
+ t,
527
529
  e,
528
530
  {
529
531
  ...o,
@@ -531,37 +533,37 @@ function oo(n, e, o) {
531
533
  }
532
534
  );
533
535
  }
534
- const Be = st ? window : void 0, Kt = st ? window.navigator : void 0;
535
- function be(n) {
536
+ const Me = rt ? window : void 0, Jt = rt ? window.navigator : void 0;
537
+ function we(t) {
536
538
  var e;
537
- const o = J(n);
539
+ const o = J(t);
538
540
  return (e = o?.$el) != null ? e : o;
539
541
  }
540
- function ve(...n) {
542
+ function ve(...t) {
541
543
  const e = [], o = () => {
542
544
  e.forEach((r) => r()), e.length = 0;
543
- }, t = (r, i, f, v) => (r.addEventListener(i, f, v), () => r.removeEventListener(i, f, v)), l = I(() => {
544
- const r = Ue(J(n[0])).filter((i) => i != null);
545
+ }, n = (r, i, f, v) => (r.addEventListener(i, f, v), () => r.removeEventListener(i, f, v)), l = S(() => {
546
+ const r = ze(J(t[0])).filter((i) => i != null);
545
547
  return r.every((i) => typeof i != "string") ? r : void 0;
546
- }), s = oo(
548
+ }), s = ro(
547
549
  () => {
548
550
  var r, i;
549
551
  return [
550
- (i = (r = l.value) == null ? void 0 : r.map((f) => be(f))) != null ? i : [Be].filter((f) => f != null),
551
- Ue(J(l.value ? n[1] : n[0])),
552
- Ue(a(l.value ? n[2] : n[1])),
552
+ (i = (r = l.value) == null ? void 0 : r.map((f) => we(f))) != null ? i : [Me].filter((f) => f != null),
553
+ ze(J(l.value ? t[1] : t[0])),
554
+ ze(a(l.value ? t[2] : t[1])),
553
555
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
554
- J(l.value ? n[3] : n[2])
556
+ J(l.value ? t[3] : t[2])
555
557
  ];
556
558
  },
557
559
  ([r, i, f, v]) => {
558
560
  if (o(), !r?.length || !i?.length || !f?.length)
559
561
  return;
560
- const d = Jn(v) ? { ...v } : v;
562
+ const d = to(v) ? { ...v } : v;
561
563
  e.push(
562
564
  ...r.flatMap(
563
565
  (h) => i.flatMap(
564
- ($) => f.map((E) => t(h, $, E, d))
566
+ (T) => f.map((E) => n(h, T, E, d))
565
567
  )
566
568
  )
567
569
  );
@@ -570,39 +572,58 @@ function ve(...n) {
570
572
  ), p = () => {
571
573
  s(), o();
572
574
  };
573
- return lt(o), p;
575
+ return it(o), p;
574
576
  }
575
- function lo() {
576
- const n = pe(!1), e = Je();
577
- return e && Tt(() => {
578
- n.value = !0;
579
- }, e), n;
577
+ // @__NO_SIDE_EFFECTS__
578
+ function uo() {
579
+ const t = me(!1), e = Qe();
580
+ return e && At(() => {
581
+ t.value = !0;
582
+ }, e), t;
580
583
  }
581
- function at(n) {
582
- const e = lo();
583
- return I(() => (e.value, !!n()));
584
+ // @__NO_SIDE_EFFECTS__
585
+ function ut(t) {
586
+ const e = /* @__PURE__ */ uo();
587
+ return S(() => (e.value, !!t()));
584
588
  }
585
- function It(n, e = {}) {
589
+ function co(t) {
590
+ return typeof t == "function" ? t : typeof t == "string" ? (e) => e.key === t : Array.isArray(t) ? (e) => t.includes(e.key) : () => !0;
591
+ }
592
+ function Ne(...t) {
593
+ let e, o, n = {};
594
+ t.length === 3 ? (e = t[0], o = t[1], n = t[2]) : t.length === 2 ? typeof t[1] == "object" ? (e = !0, o = t[0], n = t[1]) : (e = t[0], o = t[1]) : (e = !0, o = t[0]);
595
+ const {
596
+ target: l = Me,
597
+ eventName: s = "keydown",
598
+ passive: p = !1,
599
+ dedupe: r = !1
600
+ } = n, i = co(e);
601
+ return ve(l, s, (v) => {
602
+ v.repeat && J(r) || i(v) && o(v);
603
+ }, p);
604
+ }
605
+ // @__NO_SIDE_EFFECTS__
606
+ function Et(t, e = {}) {
586
607
  const {
587
608
  controls: o = !1,
588
- navigator: t = Kt
589
- } = e, l = at(() => t && "permissions" in t), s = pe(), p = typeof n == "string" ? { name: n } : n, r = pe(), i = () => {
609
+ navigator: n = Jt
610
+ } = e, l = /* @__PURE__ */ ut(() => n && "permissions" in n), s = me(), p = typeof t == "string" ? { name: t } : t, r = me(), i = () => {
590
611
  var v, d;
591
612
  r.value = (d = (v = s.value) == null ? void 0 : v.state) != null ? d : "prompt";
592
613
  };
593
614
  ve(s, "change", i, { passive: !0 });
594
- const f = Xn(async () => {
615
+ const f = oo(async () => {
595
616
  if (l.value) {
596
617
  if (!s.value)
597
618
  try {
598
- s.value = await t.permissions.query(p);
619
+ s.value = await n.permissions.query(p);
599
620
  } catch {
600
621
  s.value = void 0;
601
622
  } finally {
602
623
  i();
603
624
  }
604
625
  if (o)
605
- return Et(s.value);
626
+ return Rt(s.value);
606
627
  }
607
628
  });
608
629
  return f(), o ? {
@@ -611,46 +632,46 @@ function It(n, e = {}) {
611
632
  query: f
612
633
  } : r;
613
634
  }
614
- function so(n = {}) {
635
+ function po(t = {}) {
615
636
  const {
616
- navigator: e = Kt,
637
+ navigator: e = Jt,
617
638
  read: o = !1,
618
- source: t,
639
+ source: n,
619
640
  copiedDuring: l = 1500,
620
641
  legacy: s = !1
621
- } = n, p = at(() => e && "clipboard" in e), r = It("clipboard-read"), i = It("clipboard-write"), f = I(() => p.value || s), v = pe(""), d = pe(!1), h = no(() => d.value = !1, l, { immediate: !1 });
622
- async function $() {
623
- let V = !(p.value && A(r.value));
642
+ } = t, p = /* @__PURE__ */ ut(() => e && "clipboard" in e), r = /* @__PURE__ */ Et("clipboard-read"), i = /* @__PURE__ */ Et("clipboard-write"), f = S(() => p.value || s), v = me(""), d = me(!1), h = io(() => d.value = !1, l, { immediate: !1 });
643
+ async function T() {
644
+ let V = !(p.value && L(r.value));
624
645
  if (!V)
625
646
  try {
626
647
  v.value = await e.clipboard.readText();
627
648
  } catch {
628
649
  V = !0;
629
650
  }
630
- V && (v.value = b());
651
+ V && (v.value = I());
631
652
  }
632
- f.value && o && ve(["copy", "cut"], $, { passive: !0 });
633
- async function E(V = J(t)) {
653
+ f.value && o && ve(["copy", "cut"], T, { passive: !0 });
654
+ async function E(V = J(n)) {
634
655
  if (f.value && V != null) {
635
- let _ = !(p.value && A(i.value));
636
- if (!_)
656
+ let w = !(p.value && L(i.value));
657
+ if (!w)
637
658
  try {
638
659
  await e.clipboard.writeText(V);
639
660
  } catch {
640
- _ = !0;
661
+ w = !0;
641
662
  }
642
- _ && k(V), v.value = V, d.value = !0, h.start();
663
+ w && $(V), v.value = V, d.value = !0, h.start();
643
664
  }
644
665
  }
645
- function k(V) {
646
- const _ = document.createElement("textarea");
647
- _.value = V ?? "", _.style.position = "absolute", _.style.opacity = "0", document.body.appendChild(_), _.select(), document.execCommand("copy"), _.remove();
666
+ function $(V) {
667
+ const w = document.createElement("textarea");
668
+ w.value = V ?? "", w.style.position = "absolute", w.style.opacity = "0", document.body.appendChild(w), w.select(), document.execCommand("copy"), w.remove();
648
669
  }
649
- function b() {
650
- var V, _, D;
651
- return (D = (_ = (V = document?.getSelection) == null ? void 0 : V.call(document)) == null ? void 0 : _.toString()) != null ? D : "";
670
+ function I() {
671
+ var V, w, D;
672
+ return (D = (w = (V = document?.getSelection) == null ? void 0 : V.call(document)) == null ? void 0 : w.toString()) != null ? D : "";
652
673
  }
653
- function A(V) {
674
+ function L(V) {
654
675
  return V === "granted" || V === "prompt";
655
676
  }
656
677
  return {
@@ -660,21 +681,21 @@ function so(n = {}) {
660
681
  copy: E
661
682
  };
662
683
  }
663
- function ao(n) {
664
- return JSON.parse(JSON.stringify(n));
684
+ function fo(t) {
685
+ return JSON.parse(JSON.stringify(t));
665
686
  }
666
- function io(n, e, o = {}) {
667
- const { window: t = Be, ...l } = o;
687
+ function vo(t, e, o = {}) {
688
+ const { window: n = Me, ...l } = o;
668
689
  let s;
669
- const p = at(() => t && "ResizeObserver" in t), r = () => {
690
+ const p = /* @__PURE__ */ ut(() => n && "ResizeObserver" in n), r = () => {
670
691
  s && (s.disconnect(), s = void 0);
671
- }, i = I(() => {
672
- const d = J(n);
673
- return Array.isArray(d) ? d.map((h) => be(h)) : [be(d)];
674
- }), f = Q(
692
+ }, i = S(() => {
693
+ const d = J(t);
694
+ return Array.isArray(d) ? d.map((h) => we(h)) : [we(d)];
695
+ }), f = te(
675
696
  i,
676
697
  (d) => {
677
- if (r(), p.value && t) {
698
+ if (r(), p.value && n) {
678
699
  s = new ResizeObserver(e);
679
700
  for (const h of d)
680
701
  h && s.observe(h, l);
@@ -684,39 +705,39 @@ function io(n, e, o = {}) {
684
705
  ), v = () => {
685
706
  r(), f();
686
707
  };
687
- return lt(v), {
708
+ return it(v), {
688
709
  isSupported: p,
689
710
  stop: v
690
711
  };
691
712
  }
692
- function ro(n, e = { width: 0, height: 0 }, o = {}) {
693
- const { window: t = Be, box: l = "content-box" } = o, s = I(() => {
713
+ function mo(t, e = { width: 0, height: 0 }, o = {}) {
714
+ const { window: n = Me, box: l = "content-box" } = o, s = S(() => {
694
715
  var d, h;
695
- return (h = (d = be(n)) == null ? void 0 : d.namespaceURI) == null ? void 0 : h.includes("svg");
696
- }), p = pe(e.width), r = pe(e.height), { stop: i } = io(
697
- n,
716
+ return (h = (d = we(t)) == null ? void 0 : d.namespaceURI) == null ? void 0 : h.includes("svg");
717
+ }), p = me(e.width), r = me(e.height), { stop: i } = vo(
718
+ t,
698
719
  ([d]) => {
699
720
  const h = l === "border-box" ? d.borderBoxSize : l === "content-box" ? d.contentBoxSize : d.devicePixelContentBoxSize;
700
- if (t && s.value) {
701
- const $ = be(n);
702
- if ($) {
703
- const E = $.getBoundingClientRect();
721
+ if (n && s.value) {
722
+ const T = we(t);
723
+ if (T) {
724
+ const E = T.getBoundingClientRect();
704
725
  p.value = E.width, r.value = E.height;
705
726
  }
706
727
  } else if (h) {
707
- const $ = Ue(h);
708
- p.value = $.reduce((E, { inlineSize: k }) => E + k, 0), r.value = $.reduce((E, { blockSize: k }) => E + k, 0);
728
+ const T = ze(h);
729
+ p.value = T.reduce((E, { inlineSize: $ }) => E + $, 0), r.value = T.reduce((E, { blockSize: $ }) => E + $, 0);
709
730
  } else
710
731
  p.value = d.contentRect.width, r.value = d.contentRect.height;
711
732
  },
712
733
  o
713
734
  );
714
- to(() => {
715
- const d = be(n);
735
+ ao(() => {
736
+ const d = we(t);
716
737
  d && (p.value = "offsetWidth" in d ? d.offsetWidth : e.width, r.value = "offsetHeight" in d ? d.offsetHeight : e.height);
717
738
  });
718
- const f = Q(
719
- () => be(n),
739
+ const f = te(
740
+ () => we(t),
720
741
  (d) => {
721
742
  p.value = d ? e.width : 0, r.value = d ? e.height : 0;
722
743
  }
@@ -730,7 +751,7 @@ function ro(n, e = { width: 0, height: 0 }, o = {}) {
730
751
  stop: v
731
752
  };
732
753
  }
733
- const uo = {
754
+ const ho = {
734
755
  ctrl: "control",
735
756
  command: "meta",
736
757
  cmd: "meta",
@@ -740,60 +761,65 @@ const uo = {
740
761
  left: "arrowleft",
741
762
  right: "arrowright"
742
763
  };
743
- function co(n = {}) {
764
+ function go(t = {}) {
744
765
  const {
745
766
  reactive: e = !1,
746
- target: o = Be,
747
- aliasMap: t = uo,
767
+ target: o = Me,
768
+ aliasMap: n = ho,
748
769
  passive: l = !0,
749
- onEventFired: s = Ke
750
- } = n, p = mt(/* @__PURE__ */ new Set()), r = {
770
+ onEventFired: s = qe
771
+ } = t, p = yt(/* @__PURE__ */ new Set()), r = {
751
772
  toJSON() {
752
773
  return {};
753
774
  },
754
775
  current: p
755
- }, i = e ? mt(r) : r, f = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Set();
756
- function h(b, A) {
757
- b in i && (e ? i[b] = A : i[b].value = A);
776
+ }, i = e ? yt(r) : r, f = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Set();
777
+ function h(I, L) {
778
+ I in i && (e ? i[I] = L : i[I].value = L);
758
779
  }
759
- function $() {
780
+ function T() {
760
781
  p.clear();
761
- for (const b of d)
762
- h(b, !1);
782
+ for (const I of d)
783
+ h(I, !1);
763
784
  }
764
- function E(b, A) {
765
- var V, _;
766
- const D = (V = b.key) == null ? void 0 : V.toLowerCase(), K = [(_ = b.code) == null ? void 0 : _.toLowerCase(), D].filter(Boolean);
767
- D && (A ? p.add(D) : p.delete(D));
768
- for (const G of K)
769
- d.add(G), h(G, A);
770
- D === "shift" && !A ? (v.forEach((G) => {
771
- p.delete(G), h(G, !1);
772
- }), v.clear()) : typeof b.getModifierState == "function" && b.getModifierState("Shift") && A && [...p, ...K].forEach((G) => v.add(G)), D === "meta" && !A ? (f.forEach((G) => {
773
- p.delete(G), h(G, !1);
774
- }), f.clear()) : typeof b.getModifierState == "function" && b.getModifierState("Meta") && A && [...p, ...K].forEach((G) => f.add(G));
785
+ function E(I, L) {
786
+ var V, w;
787
+ const D = (V = I.key) == null ? void 0 : V.toLowerCase(), G = [(w = I.code) == null ? void 0 : w.toLowerCase(), D].filter(Boolean);
788
+ D && (L ? p.add(D) : p.delete(D));
789
+ for (const W of G)
790
+ d.add(W), h(W, L);
791
+ if (D === "shift" && !L) {
792
+ const W = Array.from(v), O = W.indexOf("shift");
793
+ W.forEach((C, U) => {
794
+ U >= O && (p.delete(C), h(C, !1));
795
+ }), v.clear();
796
+ } else typeof I.getModifierState == "function" && I.getModifierState("Shift") && L && [...p, ...G].forEach((W) => v.add(W));
797
+ D === "meta" && !L ? (f.forEach((W) => {
798
+ p.delete(W), h(W, !1);
799
+ }), f.clear()) : typeof I.getModifierState == "function" && I.getModifierState("Meta") && L && [...p, ...G].forEach((W) => f.add(W));
775
800
  }
776
- ve(o, "keydown", (b) => (E(b, !0), s(b)), { passive: l }), ve(o, "keyup", (b) => (E(b, !1), s(b)), { passive: l }), ve("blur", $, { passive: l }), ve("focus", $, { passive: l });
777
- const k = new Proxy(
801
+ ve(o, "keydown", (I) => (E(I, !0), s(I)), { passive: l }), ve(o, "keyup", (I) => (E(I, !1), s(I)), { passive: l }), ve("blur", T, { passive: l }), ve("focus", T, { passive: l });
802
+ const $ = new Proxy(
778
803
  i,
779
804
  {
780
- get(b, A, V) {
781
- if (typeof A != "string")
782
- return Reflect.get(b, A, V);
783
- if (A = A.toLowerCase(), A in t && (A = t[A]), !(A in i))
784
- if (/[+_-]/.test(A)) {
785
- const D = A.split(/[+_-]/g).map((Z) => Z.trim());
786
- i[A] = I(() => D.map((Z) => J(k[Z])).every(Boolean));
805
+ get(I, L, V) {
806
+ if (typeof L != "string")
807
+ return Reflect.get(I, L, V);
808
+ if (L = L.toLowerCase(), L in n && (L = n[L]), !(L in i))
809
+ if (/[+_-]/.test(L)) {
810
+ const D = L.split(/[+_-]/g).map((B) => B.trim());
811
+ i[L] = S(() => D.map((B) => J($[B])).every(Boolean));
787
812
  } else
788
- i[A] = pe(!1);
789
- const _ = Reflect.get(b, A, V);
790
- return e ? J(_) : _;
813
+ i[L] = me(!1);
814
+ const w = Reflect.get(I, L, V);
815
+ return e ? J(w) : w;
791
816
  }
792
817
  }
793
818
  );
794
- return k;
819
+ return $;
795
820
  }
796
- function po(n, e, o, t = {}) {
821
+ // @__NO_SIDE_EFFECTS__
822
+ function Co(t, e, o, n = {}) {
797
823
  var l, s, p;
798
824
  const {
799
825
  clone: r = !1,
@@ -802,54 +828,54 @@ function po(n, e, o, t = {}) {
802
828
  deep: v = !1,
803
829
  defaultValue: d,
804
830
  shouldEmit: h
805
- } = t, $ = Je(), E = o || $?.emit || ((l = $?.$emit) == null ? void 0 : l.bind($)) || ((p = (s = $?.proxy) == null ? void 0 : s.$emit) == null ? void 0 : p.bind($?.proxy));
806
- let k = f;
807
- k = k || `update:${e.toString()}`;
808
- const b = (_) => r ? typeof r == "function" ? r(_) : ao(_) : _, A = () => Wn(n[e]) ? b(n[e]) : d, V = (_) => {
809
- h ? h(_) && E(k, _) : E(k, _);
831
+ } = n, T = Qe(), E = o || T?.emit || ((l = T?.$emit) == null ? void 0 : l.bind(T)) || ((p = (s = T?.proxy) == null ? void 0 : s.$emit) == null ? void 0 : p.bind(T?.proxy));
832
+ let $ = f;
833
+ $ = $ || `update:${e.toString()}`;
834
+ const I = (w) => r ? typeof r == "function" ? r(w) : fo(w) : w, L = () => Qn(t[e]) ? I(t[e]) : d, V = (w) => {
835
+ h ? h(w) && E($, w) : E($, w);
810
836
  };
811
837
  if (i) {
812
- const _ = A(), D = N(_);
813
- let Z = !1;
814
- return Q(
815
- () => n[e],
816
- (K) => {
817
- Z || (Z = !0, D.value = b(K), Oe(() => Z = !1));
838
+ const w = L(), D = N(w);
839
+ let B = !1;
840
+ return te(
841
+ () => t[e],
842
+ (G) => {
843
+ B || (B = !0, D.value = I(G), Be(() => B = !1));
818
844
  }
819
- ), Q(
845
+ ), te(
820
846
  D,
821
- (K) => {
822
- !Z && (K !== n[e] || v) && V(K);
847
+ (G) => {
848
+ !B && (G !== t[e] || v) && V(G);
823
849
  },
824
850
  { deep: v }
825
851
  ), D;
826
852
  } else
827
- return I({
853
+ return S({
828
854
  get() {
829
- return A();
855
+ return L();
830
856
  },
831
- set(_) {
832
- V(_);
857
+ set(w) {
858
+ V(w);
833
859
  }
834
860
  });
835
861
  }
836
- function fo(n, e = {}) {
862
+ function yo(t, e = {}) {
837
863
  const {
838
864
  enter: o = () => {
839
865
  },
840
- leave: t = () => {
866
+ leave: n = () => {
841
867
  },
842
868
  initial: l = !1
843
869
  } = e, s = N(l);
844
- return ve(n, "mouseenter", () => {
870
+ return ve(t, "mouseenter", () => {
845
871
  s.value = !0, o();
846
- }), ve(n, "mouseleave", () => {
847
- s.value = !1, t();
872
+ }), ve(t, "mouseleave", () => {
873
+ s.value = !1, n();
848
874
  }), {
849
875
  isHovering: s
850
876
  };
851
877
  }
852
- const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__PURE__ */ F({
878
+ const _o = { class: "flex pl5px" }, xo = { class: "w160px py5px" }, bo = /* @__PURE__ */ F({
853
879
  __name: "StateFieldEditor",
854
880
  props: {
855
881
  data: {},
@@ -859,103 +885,103 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
859
885
  disableEdit: { type: Boolean }
860
886
  },
861
887
  emits: ["enableEditInput", "addNewProp"],
862
- setup(n) {
863
- const e = n, o = nt(), { copy: t, isSupported: l } = so(), s = N(!1), p = I(() => Nt(e.data.value)), r = I(() => p.value.value), i = I(() => p.value.customType), f = I(() => r.value === null ? "null" : typeof r.value), v = {
888
+ setup(t) {
889
+ const e = t, o = st(), { copy: n, isSupported: l } = po(), s = N(!1), p = S(() => Pt(e.data.value)), r = S(() => p.value.value), i = S(() => p.value.customType), f = S(() => r.value === null ? "null" : typeof r.value), v = {
864
890
  flat: !0,
865
891
  size: "mini"
866
- }, d = I(() => ({
892
+ }, d = S(() => ({
867
893
  "opacity-0": !e.hovering
868
894
  }));
869
- async function h(E, k = !1) {
870
- await R.value.editInspectorState({
895
+ async function h(E, $ = !1) {
896
+ await A.value.editInspectorState({
871
897
  path: e.data.path || [e.data.key],
872
898
  inspectorId: o.value.inspectorId,
873
899
  type: e.data.stateType,
874
900
  nodeId: o.value.nodeId,
875
901
  state: {
876
902
  newKey: null,
877
- value: Et(E),
903
+ value: Rt(E),
878
904
  type: f.value,
879
- remove: k
905
+ remove: $
880
906
  }
881
- }), await R.value.sendInspectorState(o.value.inspectorId);
907
+ }), await A.value.sendInspectorState(o.value.inspectorId);
882
908
  }
883
- function $(E, k) {
884
- const b = typeof E == "number" ? E + k : BigInt(E) + BigInt(k);
885
- h(b);
909
+ function T(E, $) {
910
+ const I = typeof E == "number" ? E + $ : BigInt(E) + BigInt($);
911
+ h(I);
886
912
  }
887
- return (E, k) => (c(), m("div", vo, [
888
- !e.disableEdit && E.data.editable ? (c(), m(ne, { key: 0 }, [
889
- f.value === "string" || f.value === "number" || f.value === "object" || f.value === "null" ? (c(), m(ne, { key: 0 }, [
890
- W((c(), z(a(de), ke(v, {
913
+ return (E, $) => (c(), m("div", _o, [
914
+ !e.disableEdit && E.data.editable ? (c(), m(le, { key: 0 }, [
915
+ f.value === "string" || f.value === "number" || f.value === "object" || f.value === "null" ? (c(), m(le, { key: 0 }, [
916
+ q((c(), z(a(fe), Ie(v, {
891
917
  class: d.value,
892
- onClick: k[0] || (k[0] = fe((b) => E.$emit("enableEditInput", f.value), ["stop"]))
918
+ onClick: $[0] || ($[0] = he((I) => E.$emit("enableEditInput", f.value), ["stop"]))
893
919
  }), {
894
- icon: L(() => [
895
- y(a(re), { icon: "i-material-symbols-edit-rounded" })
920
+ icon: H(() => [
921
+ x(a(ue), { icon: "i-material-symbols-edit-rounded" })
896
922
  ]),
897
923
  _: 1
898
924
  }, 16, ["class"])), [
899
- [a(q), {
925
+ [a(Y), {
900
926
  content: "Edit value"
901
927
  }]
902
928
  ]),
903
- f.value === "object" && E.showAddIfNeeded ? W((c(), z(a(de), ke({ key: 0 }, v, {
929
+ f.value === "object" && E.showAddIfNeeded ? q((c(), z(a(fe), Ie({ key: 0 }, v, {
904
930
  class: d.value,
905
- onClick: k[1] || (k[1] = fe((b) => E.$emit("addNewProp", Array.isArray(r.value) ? "array" : "object"), ["stop"]))
931
+ onClick: $[1] || ($[1] = he((I) => E.$emit("addNewProp", Array.isArray(r.value) ? "array" : "object"), ["stop"]))
906
932
  }), {
907
- icon: L(() => [
908
- y(a(re), { icon: "i-material-symbols-add-circle-rounded" })
933
+ icon: H(() => [
934
+ x(a(ue), { icon: "i-material-symbols-add-circle-rounded" })
909
935
  ]),
910
936
  _: 1
911
937
  }, 16, ["class"])), [
912
- [a(q), {
938
+ [a(Y), {
913
939
  content: "Add new value"
914
940
  }]
915
- ]) : U("", !0)
916
- ], 64)) : U("", !0),
917
- f.value === "boolean" ? (c(), z(a(de), ke({ key: 1 }, v, {
941
+ ]) : j("", !0)
942
+ ], 64)) : j("", !0),
943
+ f.value === "boolean" ? (c(), z(a(fe), Ie({ key: 1 }, v, {
918
944
  class: d.value,
919
- onClick: k[2] || (k[2] = (b) => h(!r.value))
945
+ onClick: $[2] || ($[2] = (I) => h(!r.value))
920
946
  }), {
921
- icon: L(() => [
922
- y(a(re), {
947
+ icon: H(() => [
948
+ x(a(ue), {
923
949
  icon: r.value ? "i-material-symbols-check-box-sharp" : "i-material-symbols-check-box-outline-blank-sharp"
924
950
  }, null, 8, ["icon"])
925
951
  ]),
926
952
  _: 1
927
- }, 16, ["class"])) : f.value === "number" || i.value === "bigint" ? (c(), m(ne, { key: 2 }, [
928
- y(a(de), ke(v, {
953
+ }, 16, ["class"])) : f.value === "number" || i.value === "bigint" ? (c(), m(le, { key: 2 }, [
954
+ x(a(fe), Ie(v, {
929
955
  class: d.value,
930
- onClick: k[3] || (k[3] = fe((b) => $(r.value, 1), ["stop"]))
956
+ onClick: $[3] || ($[3] = he((I) => T(r.value, 1), ["stop"]))
931
957
  }), {
932
- icon: L(() => [
933
- y(a(re), { icon: "i-carbon-add" })
958
+ icon: H(() => [
959
+ x(a(ue), { icon: "i-carbon-add" })
934
960
  ]),
935
961
  _: 1
936
962
  }, 16, ["class"]),
937
- y(a(de), ke(v, {
963
+ x(a(fe), Ie(v, {
938
964
  class: d.value,
939
- onClick: k[4] || (k[4] = fe((b) => $(r.value, -1), ["stop"]))
965
+ onClick: $[4] || ($[4] = he((I) => T(r.value, -1), ["stop"]))
940
966
  }), {
941
- icon: L(() => [
942
- y(a(re), { icon: "i-carbon-subtract" })
967
+ icon: H(() => [
968
+ x(a(ue), { icon: "i-carbon-subtract" })
943
969
  ]),
944
970
  _: 1
945
971
  }, 16, ["class"])
946
- ], 64)) : U("", !0)
947
- ], 64)) : U("", !0),
948
- !e.disableEdit && E.depth > 0 && E.data.editable ? (c(), z(a(de), ke({ key: 1 }, v, {
972
+ ], 64)) : j("", !0)
973
+ ], 64)) : j("", !0),
974
+ !e.disableEdit && E.depth > 0 && E.data.editable ? (c(), z(a(fe), Ie({ key: 1 }, v, {
949
975
  class: d.value,
950
- onClick: k[5] || (k[5] = fe((b) => h(r.value, !0), ["stop"]))
976
+ onClick: $[5] || ($[5] = he((I) => h(r.value, !0), ["stop"]))
951
977
  }), {
952
- icon: L(() => [
953
- y(a(re), { icon: "i-material-symbols-delete-rounded" })
978
+ icon: H(() => [
979
+ x(a(ue), { icon: "i-material-symbols-delete-rounded" })
954
980
  ]),
955
981
  _: 1
956
- }, 16, ["class"])) : U("", !0),
957
- y(a(dn), {
958
- class: ae({
982
+ }, 16, ["class"])) : j("", !0),
983
+ x(a(hn), {
984
+ class: ie({
959
985
  "opacity-0": !E.hovering && !s.value
960
986
  }),
961
987
  "button-props": {
@@ -963,46 +989,46 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
963
989
  size: "mini"
964
990
  },
965
991
  disabled: !a(l),
966
- "onUpdate:visible": k[8] || (k[8] = (b) => s.value = b)
992
+ "onUpdate:visible": $[8] || ($[8] = (I) => s.value = I)
967
993
  }, {
968
- popper: L(() => [
969
- u("div", mo, [
970
- y(a(ht), {
971
- onClick: k[6] || (k[6] = (b) => a(t)(typeof r.value == "object" ? JSON.stringify(r.value) : r.value.toString()))
994
+ popper: H(() => [
995
+ u("div", xo, [
996
+ x(a(_t), {
997
+ onClick: $[6] || ($[6] = (I) => a(n)(typeof r.value == "object" ? JSON.stringify(r.value) : r.value.toString()))
972
998
  }, {
973
- icon: L(() => [
974
- y(a(re), {
999
+ icon: H(() => [
1000
+ x(a(ue), {
975
1001
  icon: "i-material-symbols-copy-all-rounded",
976
1002
  class: "mt4px"
977
1003
  }),
978
- k[9] || (k[9] = X(" Copy Value ", -1))
1004
+ $[9] || ($[9] = Q(" Copy Value ", -1))
979
1005
  ]),
980
1006
  _: 1
981
1007
  }),
982
- y(a(ht), {
983
- onClick: k[7] || (k[7] = () => {
984
- a(t)(E.data.key);
1008
+ x(a(_t), {
1009
+ onClick: $[7] || ($[7] = () => {
1010
+ a(n)(E.data.key);
985
1011
  })
986
1012
  }, {
987
- icon: L(() => [
988
- y(a(re), {
1013
+ icon: H(() => [
1014
+ x(a(ue), {
989
1015
  icon: "i-material-symbols-copy-all-rounded",
990
1016
  class: "mt4px"
991
1017
  }),
992
- k[10] || (k[10] = X(" Copy Path ", -1))
1018
+ $[10] || ($[10] = Q(" Copy Path ", -1))
993
1019
  ]),
994
1020
  _: 1
995
1021
  })
996
1022
  ])
997
1023
  ]),
998
- "button-icon": L(() => [
999
- y(a(re), { icon: "i-material-symbols:more-vert" })
1024
+ "button-icon": H(() => [
1025
+ x(a(ue), { icon: "i-material-symbols:more-vert" })
1000
1026
  ]),
1001
1027
  _: 1
1002
1028
  }, 8, ["class", "disabled"])
1003
1029
  ]));
1004
1030
  }
1005
- }), go = { class: "flex-inline items-center gap4px" }, Ze = /* @__PURE__ */ F({
1031
+ }), wo = { class: "flex-inline items-center gap4px" }, We = /* @__PURE__ */ F({
1006
1032
  __name: "StateFieldInputEditor",
1007
1033
  props: {
1008
1034
  modelValue: {},
@@ -1011,90 +1037,90 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1011
1037
  autoFocus: { type: Boolean, default: !0 }
1012
1038
  },
1013
1039
  emits: ["cancel", "submit", "update:modelValue"],
1014
- setup(n, { emit: e }) {
1015
- const o = n, t = e, l = I(() => o.customType === "date" ? "datetime-local" : ""), { escape: s, enter: p } = co();
1016
- Ye(() => {
1017
- s.value ? t("cancel") : p.value && t("submit");
1040
+ setup(t, { emit: e }) {
1041
+ const o = t, n = e, l = S(() => o.customType === "date" ? "datetime-local" : ""), { escape: s, enter: p } = go();
1042
+ et(() => {
1043
+ s.value ? n("cancel") : p.value && n("submit");
1018
1044
  });
1019
- const r = po(o, "modelValue", t);
1045
+ const r = /* @__PURE__ */ Co(o, "modelValue", n);
1020
1046
  function i(d) {
1021
1047
  try {
1022
- return He(d, o.customType), !0;
1048
+ return je(d, o.customType), !0;
1023
1049
  } catch {
1024
1050
  return !1;
1025
1051
  }
1026
1052
  }
1027
1053
  const f = N(!1);
1028
- return Q(r, kn(() => {
1054
+ return te(r, En(() => {
1029
1055
  f.value = !i(r.value);
1030
- }, 300)), (d, h) => (c(), m("span", go, [
1031
- y(a(he), {
1056
+ }, 300)), (d, h) => (c(), m("span", wo, [
1057
+ x(a(Ce), {
1032
1058
  modelValue: a(r),
1033
- "onUpdate:modelValue": h[0] || (h[0] = ($) => ze(r) ? r.value = $ : null),
1059
+ "onUpdate:modelValue": h[0] || (h[0] = (T) => Fe(r) ? r.value = T : null),
1034
1060
  type: l.value,
1035
1061
  variant: f.value ? "warning" : "normal",
1036
- class: ae(["h25px px4px", d.customType === "date" ? "w240px" : "w120px"]),
1062
+ class: ie(["h25px px4px", d.customType === "date" ? "w240px" : "w120px"]),
1037
1063
  "auto-focus": d.autoFocus,
1038
- onClick: h[1] || (h[1] = fe(() => {
1064
+ onClick: h[1] || (h[1] = he(() => {
1039
1065
  }, ["stop"]))
1040
1066
  }, null, 8, ["modelValue", "type", "variant", "class", "auto-focus"]),
1041
- d.showActions ? (c(), m(ne, { key: 0 }, [
1042
- W((c(), z(a(de), {
1067
+ d.showActions ? (c(), m(le, { key: 0 }, [
1068
+ q((c(), z(a(fe), {
1043
1069
  size: "mini",
1044
1070
  flat: "",
1045
1071
  class: "p2px!",
1046
- onClick: h[2] || (h[2] = fe(($) => d.$emit("cancel"), ["stop"]))
1072
+ onClick: h[2] || (h[2] = he((T) => d.$emit("cancel"), ["stop"]))
1047
1073
  }, {
1048
- icon: L(() => [
1049
- y(a(re), { icon: "i-material-symbols-cancel" })
1074
+ icon: H(() => [
1075
+ x(a(ue), { icon: "i-material-symbols-cancel" })
1050
1076
  ]),
1051
1077
  _: 1
1052
1078
  })), [
1053
- [a(q), {
1079
+ [a(Y), {
1054
1080
  content: "Esc to cancel"
1055
1081
  }]
1056
1082
  ]),
1057
- f.value ? W((c(), z(a(re), {
1083
+ f.value ? q((c(), z(a(ue), {
1058
1084
  key: 1,
1059
1085
  icon: "i-material-symbols-warning",
1060
1086
  class: "color-warning-500 dark:color-warning-300"
1061
1087
  }, null, 512)), [
1062
- [a(q), {
1088
+ [a(Y), {
1063
1089
  content: "Invalid value"
1064
1090
  }]
1065
- ]) : W((c(), z(a(de), {
1091
+ ]) : q((c(), z(a(fe), {
1066
1092
  key: 0,
1067
1093
  size: "mini",
1068
1094
  flat: "",
1069
1095
  class: "p2px!",
1070
- onClick: h[3] || (h[3] = fe(($) => d.$emit("submit"), ["stop"]))
1096
+ onClick: h[3] || (h[3] = he((T) => d.$emit("submit"), ["stop"]))
1071
1097
  }, {
1072
- icon: L(() => [
1073
- y(a(re), { icon: "i-material-symbols-save" })
1098
+ icon: H(() => [
1099
+ x(a(ue), { icon: "i-material-symbols-save" })
1074
1100
  ]),
1075
1101
  _: 1
1076
1102
  })), [
1077
- [a(q), {
1103
+ [a(Y), {
1078
1104
  content: "Enter to submit change"
1079
1105
  }]
1080
1106
  ])
1081
- ], 64)) : U("", !0)
1107
+ ], 64)) : j("", !0)
1082
1108
  ]));
1083
1109
  }
1084
- }), Co = {
1110
+ }), ko = {
1085
1111
  key: 1,
1086
1112
  pl5: ""
1087
- }, yo = {
1113
+ }, Io = {
1088
1114
  "whitespace-nowrap": "",
1089
1115
  "text-purple-700": "",
1090
1116
  op70: "",
1091
1117
  "dark:text-purple-300": ""
1092
- }, _o = ["innerHTML"], xo = { key: 0 }, bo = {
1118
+ }, $o = ["innerHTML"], So = { key: 0 }, To = {
1093
1119
  "overflow-hidden": "",
1094
1120
  "text-ellipsis": "",
1095
1121
  "whitespace-nowrap": "",
1096
1122
  "state-key": ""
1097
- }, $t = 30, wo = /* @__PURE__ */ F({
1123
+ }, Vt = 30, Eo = /* @__PURE__ */ F({
1098
1124
  __name: "StateFieldViewer",
1099
1125
  props: {
1100
1126
  data: {},
@@ -1102,167 +1128,167 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1102
1128
  index: {},
1103
1129
  expandedStateId: {}
1104
1130
  },
1105
- setup(n) {
1106
- const e = n, o = N($t), t = I(() => _n(e.data.value, !1, {
1131
+ setup(t) {
1132
+ const e = t, o = N(Vt), n = S(() => In(e.data.value, !1, {
1107
1133
  customClass: {
1108
1134
  string: "max-w-120 truncate"
1109
1135
  }
1110
- })), l = I(() => gt(e.data.value)), s = I(() => Nt(e.data.value)), { expanded: p, toggleExpanded: r } = ot(e.expandedStateId ?? ""), i = I(() => l.value === "custom" ? `${e.data.value._custom?.type ?? "string"}-custom-state` : "unknown-state-type"), f = I(() => {
1111
- const { value: M } = s.value;
1112
- return Ct(M) ? M.length : yt(M) ? Object.keys(M).length : 0;
1113
- }), v = I(() => e.data.path || [e.data.key]), d = I(() => v.value[v.value.length - 1]), h = I(() => {
1114
- const M = ["Reactive"], x = e.data.value?._custom?.stateTypeName || e.data?.stateTypeName;
1115
- if (M.includes(x))
1116
- return x;
1136
+ })), l = S(() => xt(e.data.value)), s = S(() => Pt(e.data.value)), { expanded: p, toggleExpanded: r } = at(e.expandedStateId ?? ""), i = S(() => l.value === "custom" ? `${e.data.value._custom?.type ?? "string"}-custom-state` : "unknown-state-type"), f = S(() => {
1137
+ const { value: R } = s.value;
1138
+ return bt(R) ? R.length : wt(R) ? Object.keys(R).length : 0;
1139
+ }), v = S(() => e.data.path || [e.data.key]), d = S(() => v.value[v.value.length - 1]), h = S(() => {
1140
+ const R = ["Reactive"], k = e.data.value?._custom?.stateTypeName || e.data?.stateTypeName;
1141
+ if (R.includes(k))
1142
+ return k;
1117
1143
  if (e.data.value?.fields?.abstract)
1118
1144
  return "";
1119
1145
  {
1120
- const g = e.data.value?._custom?.type, C = l.value === "custom" && !g ? `"${t.value}"` : t.value === "" ? '""' : t.value, P = l.value === "custom" && g === "ref" ? gt(C) : l.value, B = l.value === "string" ? "select-text" : "", le = `<span title="${l.value === "string" ? xn(e.data.value) : ""}" class="${P}-state-type flex whitespace-nowrap ${B}">${C}</span>`;
1121
- return x ? `${le} <span class="text-gray-500">(${x})</span>` : le;
1146
+ const g = e.data.value?._custom?.type, _ = l.value === "custom" && !g ? `"${n.value}"` : n.value === "" ? '""' : n.value, P = l.value === "custom" && g === "ref" ? xt(_) : l.value, Z = l.value === "string" ? "select-text" : "", ae = `<span title="${l.value === "string" ? $n(e.data.value) : ""}" class="${P}-state-type flex whitespace-nowrap ${Z}">${_}</span>`;
1147
+ return k ? `${ae} <span class="text-gray-500">(${k})</span>` : ae;
1122
1148
  }
1123
- }), $ = I(() => {
1124
- const { value: M, inherit: x, customType: g } = s.value, C = g === "set";
1149
+ }), T = S(() => {
1150
+ const { value: R, inherit: k, customType: g } = s.value, _ = g === "set";
1125
1151
  let P = [];
1126
- return Ct(M) ? M.slice(0, o.value).map((le, Ee) => ({
1127
- key: Ee.toString(),
1128
- path: [...v.value, Ee.toString()],
1129
- value: le,
1130
- ...x,
1131
- editable: e.data.editable && !C,
1152
+ return bt(R) ? R.slice(0, o.value).map((ae, Ve) => ({
1153
+ key: Ve.toString(),
1154
+ path: [...v.value, Ve.toString()],
1155
+ value: ae,
1156
+ ...k,
1157
+ editable: e.data.editable && !_,
1132
1158
  creating: !1
1133
- })) : (yt(M) && (P = Object.keys(M).slice(0, o.value).map((B) => ({
1134
- key: B,
1135
- path: [...v.value, B],
1136
- value: M[B],
1137
- ...x,
1138
- editable: e.data.editable && !C,
1159
+ })) : (wt(R) && (P = Object.keys(R).slice(0, o.value).map((Z) => ({
1160
+ key: Z,
1161
+ path: [...v.value, Z],
1162
+ value: R[Z],
1163
+ ...k,
1164
+ editable: e.data.editable && !_,
1139
1165
  creating: !1
1140
- })), l.value !== "custom" && (P = Dt(P))), P === e.data.value ? [] : P);
1141
- }), E = I(() => $.value.length > 0), k = N(), b = nt(), { isHovering: A } = fo(() => k.value), { editingType: V, editing: _, editingText: D, toggleEditing: Z, nodeId: K } = Zn();
1142
- Q(() => _.value, (M) => {
1143
- if (M) {
1144
- const { value: x } = s.value;
1145
- D.value = bn(x, s.value.customType);
1166
+ })), l.value !== "custom" && (P = Mt(P))), P === e.data.value ? [] : P);
1167
+ }), E = S(() => T.value.length > 0), $ = N(), I = st(), { isHovering: L } = yo(() => $.value), { editingType: V, editing: w, editingText: D, toggleEditing: B, nodeId: G } = Jn();
1168
+ te(() => w.value, (R) => {
1169
+ if (R) {
1170
+ const { value: k } = s.value;
1171
+ D.value = Sn(k, s.value.customType);
1146
1172
  } else
1147
1173
  D.value = "";
1148
1174
  });
1149
- async function G() {
1150
- const M = e.data;
1151
- await R.value.editInspectorState({
1175
+ async function W() {
1176
+ const R = e.data;
1177
+ await A.value.editInspectorState({
1152
1178
  path: v.value,
1153
- inspectorId: b.value.inspectorId,
1154
- type: M.stateType,
1155
- nodeId: K.value,
1179
+ inspectorId: I.value.inspectorId,
1180
+ type: R.stateType,
1181
+ nodeId: G.value,
1156
1182
  state: {
1157
1183
  newKey: null,
1158
1184
  type: V.value,
1159
- value: He(D.value, s.value.customType)
1185
+ value: je(D.value, s.value.customType)
1160
1186
  }
1161
- }), await R.value.sendInspectorState(b.value.inspectorId), Z();
1162
- }
1163
- const { addNewProp: H, draftingNewProp: w, resetDrafting: O } = Gn();
1164
- function te(M) {
1165
- const x = `${e.depth}-${e.index}`;
1166
- p.value.includes(x) || r(x), H(M, s.value.value);
1167
- }
1168
- async function oe() {
1169
- const M = e.data;
1170
- await R.value.editInspectorState({
1171
- path: [...v.value, w.value.key],
1172
- inspectorId: b.value.inspectorId,
1173
- type: M.stateType,
1174
- nodeId: K.value,
1187
+ }), await A.value.sendInspectorState(I.value.inspectorId), B();
1188
+ }
1189
+ const { addNewProp: O, draftingNewProp: C, resetDrafting: U } = Xn();
1190
+ function oe(R) {
1191
+ const k = `${e.depth}-${e.index}`;
1192
+ p.value.includes(k) || r(k), O(R, s.value.value);
1193
+ }
1194
+ async function se() {
1195
+ const R = e.data;
1196
+ await A.value.editInspectorState({
1197
+ path: [...v.value, C.value.key],
1198
+ inspectorId: I.value.inspectorId,
1199
+ type: R.stateType,
1200
+ nodeId: G.value,
1175
1201
  state: {
1176
- newKey: w.value.key,
1177
- type: typeof He(w.value.value),
1178
- value: He(w.value.value)
1202
+ newKey: C.value.key,
1203
+ type: typeof je(C.value.value),
1204
+ value: je(C.value.value)
1179
1205
  }
1180
- }), await R.value.sendInspectorState(b.value.inspectorId), O();
1206
+ }), await A.value.sendInspectorState(I.value.inspectorId), U();
1181
1207
  }
1182
- return (M, x) => (c(), m("div", null, [
1208
+ return (R, k) => (c(), m("div", null, [
1183
1209
  u("div", {
1184
1210
  ref_key: "containerRef",
1185
- ref: k,
1186
- class: ae(["font-state-field flex items-center text-3.5", [E.value && "cursor-pointer hover:bg-active"]]),
1187
- style: $e({ paddingLeft: `${M.depth * 15 + 4}px` }),
1188
- onClick: x[1] || (x[1] = (g) => a(r)(`${M.depth}-${M.index}`))
1211
+ ref: $,
1212
+ class: ie(["font-state-field flex items-center text-3.5", [E.value && "cursor-pointer hover:bg-active"]]),
1213
+ style: Se({ paddingLeft: `${R.depth * 15 + 4}px` }),
1214
+ onClick: k[1] || (k[1] = (g) => a(r)(`${R.depth}-${R.index}`))
1189
1215
  }, [
1190
- E.value ? (c(), z(tt, {
1216
+ E.value ? (c(), z(lt, {
1191
1217
  key: 0,
1192
- value: a(p).includes(`${M.depth}-${M.index}`)
1193
- }, null, 8, ["value"])) : (c(), m("span", Co)),
1194
- u("span", yo, ie(d.value), 1),
1195
- x[5] || (x[5] = u("span", { mx1: "" }, ":", -1)),
1196
- a(_) ? (c(), z(Ze, {
1218
+ value: a(p).includes(`${R.depth}-${R.index}`)
1219
+ }, null, 8, ["value"])) : (c(), m("span", ko)),
1220
+ u("span", Io, re(d.value), 1),
1221
+ k[5] || (k[5] = u("span", { mx1: "" }, ":", -1)),
1222
+ a(w) ? (c(), z(We, {
1197
1223
  key: 2,
1198
1224
  modelValue: a(D),
1199
- "onUpdate:modelValue": x[0] || (x[0] = (g) => ze(D) ? D.value = g : null),
1225
+ "onUpdate:modelValue": k[0] || (k[0] = (g) => Fe(D) ? D.value = g : null),
1200
1226
  class: "mr-1",
1201
1227
  "custom-type": s.value.customType,
1202
- onCancel: a(Z),
1203
- onSubmit: G
1204
- }, null, 8, ["modelValue", "custom-type", "onCancel"])) : U("", !0),
1228
+ onCancel: a(B),
1229
+ onSubmit: W
1230
+ }, null, 8, ["modelValue", "custom-type", "onCancel"])) : j("", !0),
1205
1231
  u("span", {
1206
- class: ae([i.value, "flex whitespace-nowrap dark:text-#bdc6cf"])
1232
+ class: ie([i.value, "flex whitespace-nowrap dark:text-#bdc6cf"])
1207
1233
  }, [
1208
1234
  u("span", {
1209
1235
  class: "flex",
1210
1236
  innerHTML: h.value
1211
- }, null, 8, _o)
1237
+ }, null, 8, $o)
1212
1238
  ], 2),
1213
- y(ho, {
1214
- hovering: a(A),
1215
- "disable-edit": a(b).disableEdit || a(_),
1216
- data: M.data,
1217
- depth: M.depth,
1218
- onEnableEditInput: a(Z),
1219
- onAddNewProp: te
1239
+ x(bo, {
1240
+ hovering: a(L),
1241
+ "disable-edit": a(I).disableEdit || a(w),
1242
+ data: R.data,
1243
+ depth: R.depth,
1244
+ onEnableEditInput: a(B),
1245
+ onAddNewProp: oe
1220
1246
  }, null, 8, ["hovering", "disable-edit", "data", "depth", "onEnableEditInput"])
1221
1247
  ], 6),
1222
- E.value && a(p).includes(`${M.depth}-${M.index}`) ? (c(), m("div", xo, [
1223
- y(Gt, {
1224
- data: $.value,
1225
- depth: M.depth,
1226
- index: M.index
1248
+ E.value && a(p).includes(`${R.depth}-${R.index}`) ? (c(), m("div", So, [
1249
+ x(Yt, {
1250
+ data: T.value,
1251
+ depth: R.depth,
1252
+ index: R.index
1227
1253
  }, null, 8, ["data", "depth", "index"]),
1228
- f.value > o.value ? W((c(), z(a(de), {
1254
+ f.value > o.value ? q((c(), z(a(fe), {
1229
1255
  key: 0,
1230
1256
  flat: "",
1231
1257
  size: "mini",
1232
1258
  class: "ml-4",
1233
- onClick: x[2] || (x[2] = (g) => o.value += $t)
1259
+ onClick: k[2] || (k[2] = (g) => o.value += Vt)
1234
1260
  }, {
1235
- icon: L(() => [
1236
- y(a(re), { icon: "i-material-symbols-more-horiz" })
1261
+ icon: H(() => [
1262
+ x(a(ue), { icon: "i-material-symbols-more-horiz" })
1237
1263
  ]),
1238
1264
  _: 1
1239
1265
  })), [
1240
- [a(q), "Show more"]
1241
- ]) : U("", !0),
1242
- a(w).enable ? (c(), m("div", {
1266
+ [a(Y), "Show more"]
1267
+ ]) : j("", !0),
1268
+ a(C).enable ? (c(), m("div", {
1243
1269
  key: 1,
1244
- style: $e({ paddingLeft: `${(M.depth + 1) * 15 + 4}px` })
1270
+ style: Se({ paddingLeft: `${(R.depth + 1) * 15 + 4}px` })
1245
1271
  }, [
1246
- u("span", bo, [
1247
- y(Ze, {
1248
- modelValue: a(w).key,
1249
- "onUpdate:modelValue": x[3] || (x[3] = (g) => a(w).key = g),
1272
+ u("span", To, [
1273
+ x(We, {
1274
+ modelValue: a(C).key,
1275
+ "onUpdate:modelValue": k[3] || (k[3] = (g) => a(C).key = g),
1250
1276
  "show-actions": !1
1251
1277
  }, null, 8, ["modelValue"])
1252
1278
  ]),
1253
- x[6] || (x[6] = u("span", { "mx-1": "" }, ":", -1)),
1254
- y(Ze, {
1255
- modelValue: a(w).value,
1256
- "onUpdate:modelValue": x[4] || (x[4] = (g) => a(w).value = g),
1279
+ k[6] || (k[6] = u("span", { "mx-1": "" }, ":", -1)),
1280
+ x(We, {
1281
+ modelValue: a(C).value,
1282
+ "onUpdate:modelValue": k[4] || (k[4] = (g) => a(C).value = g),
1257
1283
  "auto-focus": !1,
1258
- onCancel: a(O),
1259
- onSubmit: oe
1284
+ onCancel: a(U),
1285
+ onSubmit: se
1260
1286
  }, null, 8, ["modelValue", "onCancel"])
1261
- ], 4)) : U("", !0)
1262
- ])) : U("", !0)
1287
+ ], 4)) : j("", !0)
1288
+ ])) : j("", !0)
1263
1289
  ]));
1264
1290
  }
1265
- }), ko = /* @__PURE__ */ xe(wo, [["__scopeId", "data-v-7918b8f2"]]), Gt = /* @__PURE__ */ F({
1291
+ }), Vo = /* @__PURE__ */ be(Eo, [["__scopeId", "data-v-7918b8f2"]]), Yt = /* @__PURE__ */ F({
1266
1292
  __name: "ChildStateViewer",
1267
1293
  props: {
1268
1294
  data: {},
@@ -1270,11 +1296,11 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1270
1296
  index: {},
1271
1297
  expandedStateId: { default: "" }
1272
1298
  },
1273
- setup(n) {
1299
+ setup(t) {
1274
1300
  return (e, o) => (c(), m("div", null, [
1275
- (c(!0), m(ne, null, ue(e.data, (t, l) => (c(), m("div", { key: l }, [
1276
- y(ko, {
1277
- data: t,
1301
+ (c(!0), m(le, null, ce(e.data, (n, l) => (c(), m("div", { key: l }, [
1302
+ x(Vo, {
1303
+ data: n,
1278
1304
  depth: e.depth + 1,
1279
1305
  index: `${e.index}-${l}`,
1280
1306
  "expanded-state-id": e.expandedStateId
@@ -1282,14 +1308,14 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1282
1308
  ]))), 128))
1283
1309
  ]));
1284
1310
  }
1285
- }), Io = ["onClick"], $o = {
1311
+ }), No = ["onClick"], Ao = {
1286
1312
  key: 1,
1287
1313
  pl5: ""
1288
- }, So = {
1314
+ }, Ro = {
1289
1315
  "font-state-field": "",
1290
1316
  "text-3.5": "",
1291
1317
  "text-hex-a3a3a3": ""
1292
- }, To = { key: 0 }, Ae = /* @__PURE__ */ F({
1318
+ }, Do = { key: 0 }, He = /* @__PURE__ */ F({
1293
1319
  __name: "RootStateViewer",
1294
1320
  props: {
1295
1321
  data: {},
@@ -1298,8 +1324,8 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1298
1324
  disableEdit: { type: Boolean, default: !1 },
1299
1325
  expandedStateId: { default: "" }
1300
1326
  },
1301
- setup(n) {
1302
- const e = n;
1327
+ setup(t) {
1328
+ const e = t;
1303
1329
  function o() {
1304
1330
  return {
1305
1331
  nodeId: e.nodeId,
@@ -1307,66 +1333,66 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1307
1333
  disableEdit: e.disableEdit
1308
1334
  };
1309
1335
  }
1310
- const { context: t } = Fn(o());
1311
- Ye(() => {
1312
- t.value = o();
1336
+ const { context: n } = qn(o());
1337
+ et(() => {
1338
+ n.value = o();
1313
1339
  });
1314
- const { expanded: l, toggleExpanded: s } = ot(e.expandedStateId);
1340
+ const { expanded: l, toggleExpanded: s } = at(e.expandedStateId);
1315
1341
  return (p, r) => (c(), m("div", null, [
1316
- (c(!0), m(ne, null, ue(p.data, (i, f, v) => (c(), m("div", { key: v }, [
1342
+ (c(!0), m(le, null, ce(p.data, (i, f, v) => (c(), m("div", { key: v }, [
1317
1343
  u("div", {
1318
- class: ae(["flex items-center", [i?.length && "cursor-pointer hover:bg-active"]]),
1344
+ class: ie(["flex items-center", [i?.length && "cursor-pointer hover:bg-active"]]),
1319
1345
  onClick: (d) => a(s)(`${v}`)
1320
1346
  }, [
1321
- i?.length ? (c(), z(tt, {
1347
+ i?.length ? (c(), z(lt, {
1322
1348
  key: 0,
1323
1349
  value: a(l).includes(`${v}`)
1324
- }, null, 8, ["value"])) : (c(), m("span", $o)),
1325
- u("span", So, ie(f), 1)
1326
- ], 10, Io),
1327
- i?.length && a(l).includes(`${v}`) ? (c(), m("div", To, [
1328
- y(Gt, {
1350
+ }, null, 8, ["value"])) : (c(), m("span", Ao)),
1351
+ u("span", Ro, re(f), 1)
1352
+ ], 10, No),
1353
+ i?.length && a(l).includes(`${v}`) ? (c(), m("div", Do, [
1354
+ x(Yt, {
1329
1355
  data: i,
1330
1356
  index: `${v}`,
1331
1357
  "expanded-state-id": p.expandedStateId
1332
1358
  }, null, 8, ["data", "index", "expanded-state-id"])
1333
- ])) : U("", !0)
1359
+ ])) : j("", !0)
1334
1360
  ]))), 128))
1335
1361
  ]));
1336
1362
  }
1337
- }), Eo = { class: "p3" }, Vo = ["onClick"], No = {
1363
+ }), Po = { class: "p3" }, Lo = ["onClick"], Mo = {
1338
1364
  key: 0,
1339
1365
  class: "absolute left-5px top-4.5 h10 w0 border-l-2",
1340
1366
  border: "solid gray2"
1341
- }, Ro = { class: "h-full flex items-center truncate pl5" }, Do = {
1367
+ }, Ho = { class: "h-full flex items-center truncate pl5" }, Oo = {
1342
1368
  absolute: "",
1343
1369
  "top-5": "",
1344
1370
  pr2: "",
1345
1371
  "text-3": "",
1346
1372
  op40: ""
1347
- }, Po = {
1373
+ }, Uo = {
1348
1374
  pl2: "",
1349
1375
  op30: ""
1350
- }, Ao = /* @__PURE__ */ F({
1376
+ }, jo = /* @__PURE__ */ F({
1351
1377
  __name: "EventList",
1352
- props: /* @__PURE__ */ Ne({
1378
+ props: /* @__PURE__ */ Re({
1353
1379
  data: {}
1354
1380
  }, {
1355
1381
  modelValue: {},
1356
1382
  modelModifiers: {}
1357
1383
  }),
1358
1384
  emits: ["update:modelValue"],
1359
- setup(n) {
1360
- const e = n, o = We(n, "modelValue"), t = ["#3e5770", "#42b983", "#0098c4"], l = N(null), s = I(() => {
1385
+ setup(t) {
1386
+ const e = t, o = Ye(t, "modelValue"), n = ["#3e5770", "#42b983", "#0098c4"], l = N(null), s = S(() => {
1361
1387
  let p = -1, r = 0;
1362
1388
  return e.data.forEach((i, f) => {
1363
- (i.groupId !== r || p === -1) && (p = (p + 1) % t.length), r = i.groupId ?? r, i.id = f, i.color = t[p];
1389
+ (i.groupId !== r || p === -1) && (p = (p + 1) % n.length), r = i.groupId ?? r, i.id = f, i.color = n[p];
1364
1390
  }), e.data;
1365
1391
  });
1366
- return Q(() => s.value.length, (p) => {
1392
+ return te(() => s.value.length, (p) => {
1367
1393
  l.value?.scrollToItem(p - 1);
1368
- }, { flush: "post" }), (p, r) => (c(), m("div", Eo, [
1369
- y(a(In), {
1394
+ }, { flush: "post" }), (p, r) => (c(), m("div", Po, [
1395
+ x(a(Vn), {
1370
1396
  ref_key: "scrollerRef",
1371
1397
  ref: l,
1372
1398
  items: s.value,
@@ -1377,50 +1403,50 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1377
1403
  "list-tag": "ul",
1378
1404
  buffer: 20
1379
1405
  }, {
1380
- default: L(({ item: i }) => [
1406
+ default: H(({ item: i }) => [
1381
1407
  u("div", {
1382
1408
  class: "relative mb7 h6 cursor-pointer",
1383
- style: $e({ color: o.value === i.id ? i.color : "" }),
1409
+ style: Se({ color: o.value === i.id ? i.color : "" }),
1384
1410
  onClick: (f) => o.value = i.id
1385
1411
  }, [
1386
1412
  u("span", {
1387
1413
  class: "absolute top-1.5 inline-block h3 w3 b rounded-50%",
1388
- style: $e({ border: `3px solid ${i.color}` })
1414
+ style: Se({ border: `3px solid ${i.color}` })
1389
1415
  }, null, 4),
1390
- i.id < p.data.length - 1 ? (c(), m("span", No)) : U("", !0),
1391
- u("p", Ro, [
1392
- u("span", Do, "[" + ie(a(Tn)(i.time)) + "]", 1),
1393
- X(" " + ie(i.title) + " ", 1),
1394
- u("span", Po, ie(i.subtitle), 1)
1416
+ i.id < p.data.length - 1 ? (c(), m("span", Mo)) : j("", !0),
1417
+ u("p", Ho, [
1418
+ u("span", Oo, "[" + re(a(Rn)(i.time)) + "]", 1),
1419
+ Q(" " + re(i.title) + " ", 1),
1420
+ u("span", Uo, re(i.subtitle), 1)
1395
1421
  ])
1396
- ], 12, Vo)
1422
+ ], 12, Lo)
1397
1423
  ]),
1398
1424
  _: 1
1399
1425
  }, 8, ["items"])
1400
1426
  ]));
1401
1427
  }
1402
- }), Mo = { class: "relative h-full flex flex-col" }, Lo = {
1428
+ }), zo = { class: "relative h-full flex flex-col" }, Bo = {
1403
1429
  key: 1,
1404
1430
  class: "flex-1 overflow-hidden"
1405
- }, Ho = {
1431
+ }, Zo = {
1406
1432
  "h-full": "",
1407
1433
  "select-none": "",
1408
1434
  "overflow-scroll": "",
1409
1435
  class: "no-scrollbar"
1410
- }, Uo = {
1436
+ }, Fo = {
1411
1437
  "h-full": "",
1412
1438
  "overflow-scroll": "",
1413
1439
  class: "no-scrollbar"
1414
- }, Oo = {
1440
+ }, Ko = {
1415
1441
  key: 3,
1416
1442
  class: "absolute right-3 top-12 flex items-center justify-end b-1 border-base rounded-1 b-solid px2 py1"
1417
- }, jo = { class: "flex items-center gap-2 px-1" }, zo = {
1443
+ }, Go = { class: "flex items-center gap-2 px-1" }, Wo = {
1418
1444
  key: 0,
1419
1445
  class: "recording recording-btn bg-[#ef4444]"
1420
- }, Bo = {
1446
+ }, qo = {
1421
1447
  key: 1,
1422
1448
  class: "recording-btn bg-black op70 dark:bg-white hover:op100"
1423
- }, Fo = { class: "flex items-center gap1" }, Zo = /* @__PURE__ */ F({
1449
+ }, Jo = { class: "flex items-center gap1" }, Yo = /* @__PURE__ */ F({
1424
1450
  __name: "index",
1425
1451
  props: {
1426
1452
  layerIds: {},
@@ -1430,28 +1456,28 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1430
1456
  headerVisible: { type: Boolean, default: !0 },
1431
1457
  switcherVisible: { type: Boolean, default: !0 }
1432
1458
  },
1433
- setup(n, { expose: e }) {
1434
- const o = n, { expanded: t } = ge("timeline-state");
1435
- t.value = ["0", "1"];
1436
- const l = N([]), s = N(/* @__PURE__ */ new Map()), p = N(0), r = Rt(), i = I(() => r.timelineLayersState.value?.[o.pluginId]), f = I(() => l.value[p.value] ?? null), v = I(() => i.value ? "Stop recording" : "Start recording"), d = I(() => {
1459
+ setup(t, { expose: e }) {
1460
+ const o = t, { expanded: n } = ye("timeline-state");
1461
+ n.value = ["0", "1"];
1462
+ const l = N([]), s = N(/* @__PURE__ */ new Map()), p = N(0), r = Lt(), i = S(() => r.timelineLayersState.value?.[o.pluginId]), f = S(() => l.value[p.value] ?? null), v = S(() => i.value ? "Stop recording" : "Start recording"), d = S(() => {
1437
1463
  const V = [];
1438
- for (const _ in f.value?.data)
1464
+ for (const w in f.value?.data)
1439
1465
  V.push({
1440
- key: _,
1441
- type: _,
1466
+ key: w,
1467
+ type: w,
1442
1468
  editable: !1,
1443
- value: f.value.data[_]
1469
+ value: f.value.data[w]
1444
1470
  });
1445
1471
  return V;
1446
- }), h = I(() => {
1447
- const V = f.value?.groupId, _ = s.value.get(V);
1448
- if (_) {
1449
- const D = _[_.length - 1]?.time - (_[0]?.time ?? 0);
1472
+ }), h = S(() => {
1473
+ const V = f.value?.groupId, w = s.value.get(V);
1474
+ if (w) {
1475
+ const D = w[w.length - 1]?.time - (w[0]?.time ?? 0);
1450
1476
  return [{
1451
1477
  key: "events",
1452
1478
  type: "events",
1453
1479
  editable: !1,
1454
- value: _.length
1480
+ value: w.length
1455
1481
  }, D && {
1456
1482
  key: "duration",
1457
1483
  type: "duration",
@@ -1459,68 +1485,68 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1459
1485
  value: `${D}ms`
1460
1486
  }].filter(Boolean);
1461
1487
  }
1462
- }), $ = I(() => ({ "Event Info": d.value, ...h.value && { "Group Info": h.value } }));
1488
+ }), T = S(() => ({ "Event Info": d.value, ...h.value && { "Group Info": h.value } }));
1463
1489
  function E(V) {
1464
- const _ = V.groupId;
1465
- _ !== void 0 && (s.value.set(_, s.value.get(_) ?? []), s.value.get(_)?.push(V));
1490
+ const w = V.groupId;
1491
+ w !== void 0 && (s.value.set(w, s.value.get(w) ?? []), s.value.get(w)?.push(V));
1466
1492
  }
1467
- function k(V) {
1468
- const _ = ee(V);
1469
- if (!_)
1493
+ function $(V) {
1494
+ const w = ne(V);
1495
+ if (!w)
1470
1496
  return;
1471
- const { layerId: D, event: Z } = _;
1472
- o.layerIds.includes(D) && (l.value.push(Z), E(Z));
1497
+ const { layerId: D, event: B } = w;
1498
+ o.layerIds.includes(D) && (l.value.push(B), E(B));
1473
1499
  }
1474
- R.functions.on(Y.TIMELINE_EVENT_UPDATED, k), we(() => {
1475
- R.functions.off(Y.TIMELINE_EVENT_UPDATED, k);
1500
+ A.functions.on(X.TIMELINE_EVENT_UPDATED, $), ke(() => {
1501
+ A.functions.off(X.TIMELINE_EVENT_UPDATED, $);
1476
1502
  });
1477
- function b() {
1503
+ function I() {
1478
1504
  l.value = [], s.value.clear();
1479
1505
  }
1480
1506
  e({
1481
- clear: b
1507
+ clear: I
1482
1508
  });
1483
- function A() {
1484
- R.value.updateTimelineLayersState({
1509
+ function L() {
1510
+ A.value.updateTimelineLayersState({
1485
1511
  [o.pluginId]: !i.value
1486
1512
  });
1487
1513
  }
1488
- return (V, _) => (c(), m("div", Mo, [
1489
- V.headerVisible ? (c(), z(Se, {
1514
+ return (V, w) => (c(), m("div", zo, [
1515
+ V.headerVisible ? (c(), z(Te, {
1490
1516
  key: 0,
1491
1517
  "doc-link": V.docLink,
1492
1518
  "github-repo-link": V.githubRepoLink
1493
1519
  }, {
1494
- default: L(() => [
1495
- y(Te)
1520
+ default: H(() => [
1521
+ x(Ee)
1496
1522
  ]),
1497
1523
  _: 1
1498
- }, 8, ["doc-link", "github-repo-link"])) : U("", !0),
1499
- l.value.length ? (c(), m("div", Lo, [
1500
- y(a(De), { class: "h-full" }, {
1501
- default: L(() => [
1502
- y(a(ce), {
1524
+ }, 8, ["doc-link", "github-repo-link"])) : j("", !0),
1525
+ l.value.length ? (c(), m("div", Bo, [
1526
+ x(a(Pe), { class: "h-full" }, {
1527
+ default: H(() => [
1528
+ x(a(de), {
1503
1529
  border: "r base",
1504
1530
  size: "40",
1505
1531
  "h-full": ""
1506
1532
  }, {
1507
- default: L(() => [
1508
- u("div", Ho, [
1509
- y(Ao, {
1533
+ default: H(() => [
1534
+ u("div", Zo, [
1535
+ x(jo, {
1510
1536
  modelValue: p.value,
1511
- "onUpdate:modelValue": _[0] || (_[0] = (D) => p.value = D),
1537
+ "onUpdate:modelValue": w[0] || (w[0] = (D) => p.value = D),
1512
1538
  data: l.value
1513
1539
  }, null, 8, ["modelValue", "data"])
1514
1540
  ])
1515
1541
  ]),
1516
1542
  _: 1
1517
1543
  }),
1518
- y(a(ce), { size: "60" }, {
1519
- default: L(() => [
1520
- u("div", Uo, [
1521
- y(Ae, {
1544
+ x(a(de), { size: "60" }, {
1545
+ default: H(() => [
1546
+ u("div", Fo, [
1547
+ x(He, {
1522
1548
  class: "p3",
1523
- data: $.value,
1549
+ data: T.value,
1524
1550
  "node-id": "",
1525
1551
  "inspector-id": "",
1526
1552
  "disable-edit": !0,
@@ -1533,36 +1559,36 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1533
1559
  ]),
1534
1560
  _: 1
1535
1561
  })
1536
- ])) : (c(), z(Ie, {
1562
+ ])) : (c(), z($e, {
1537
1563
  key: 2,
1538
1564
  class: "flex-1"
1539
1565
  }, {
1540
- default: L(() => _[1] || (_[1] = [
1541
- X(" No events ", -1)
1566
+ default: H(() => w[1] || (w[1] = [
1567
+ Q(" No events ", -1)
1542
1568
  ])),
1543
1569
  _: 1,
1544
1570
  __: [1]
1545
1571
  })),
1546
- V.switcherVisible ? (c(), m("div", Oo, [
1547
- u("div", jo, [
1548
- W((c(), m("div", {
1572
+ V.switcherVisible ? (c(), m("div", Ko, [
1573
+ u("div", Go, [
1574
+ q((c(), m("div", {
1549
1575
  class: "flex items-center gap1",
1550
- onClick: A
1576
+ onClick: L
1551
1577
  }, [
1552
- i.value ? (c(), m("span", zo)) : (c(), m("span", Bo))
1578
+ i.value ? (c(), m("span", Wo)) : (c(), m("span", qo))
1553
1579
  ])), [
1554
1580
  [
1555
- a(q),
1581
+ a(Y),
1556
1582
  { content: v.value },
1557
1583
  void 0,
1558
1584
  { "bottom-end": !0 }
1559
1585
  ]
1560
1586
  ]),
1561
- W((c(), m("div", {
1587
+ q((c(), m("div", {
1562
1588
  class: "flex items-center gap1",
1563
- onClick: b
1589
+ onClick: I
1564
1590
  }, [
1565
- y(a(je), {
1591
+ x(a(Ze), {
1566
1592
  name: "baseline-delete",
1567
1593
  "cursor-pointer": "",
1568
1594
  "text-xl": "",
@@ -1571,14 +1597,14 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1571
1597
  })
1572
1598
  ])), [
1573
1599
  [
1574
- a(q),
1600
+ a(Y),
1575
1601
  { content: "Clear all timelines" },
1576
1602
  void 0,
1577
1603
  { "bottom-end": !0 }
1578
1604
  ]
1579
1605
  ]),
1580
- W((c(), m("div", Fo, [
1581
- y(a(je), {
1606
+ q((c(), m("div", Jo, [
1607
+ x(a(Ze), {
1582
1608
  name: "baseline-tips-and-updates",
1583
1609
  "cursor-pointer": "",
1584
1610
  "text-xl": "",
@@ -1587,82 +1613,82 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1587
1613
  })
1588
1614
  ])), [
1589
1615
  [
1590
- a(q),
1616
+ a(Y),
1591
1617
  { content: "<p style='width: 285px'>Timeline events can cause significant performance overhead in large applications, so we recommend enabling it only when needed and on-demand. </p>", html: !0 },
1592
1618
  void 0,
1593
1619
  { "bottom-end": !0 }
1594
1620
  ]
1595
1621
  ])
1596
1622
  ])
1597
- ])) : U("", !0)
1623
+ ])) : j("", !0)
1598
1624
  ]));
1599
1625
  }
1600
- }), it = /* @__PURE__ */ xe(Zo, [["__scopeId", "data-v-3dbcfd2a"]]);
1601
- function ds() {
1602
- const n = N([]), e = N([]);
1626
+ }), ct = /* @__PURE__ */ be(Yo, [["__scopeId", "data-v-3dbcfd2a"]]);
1627
+ function g1() {
1628
+ const t = N([]), e = N([]);
1603
1629
  function o(l) {
1604
- e.value = l, l.length < n.value.length && (n.value = []), e.value.forEach((s) => {
1605
- t(s);
1630
+ e.value = l, l.length < t.value.length && (t.value = []), e.value.forEach((s) => {
1631
+ n(s);
1606
1632
  });
1607
1633
  }
1608
- Re(() => {
1609
- R.value.getCustomInspector().then((l) => {
1634
+ De(() => {
1635
+ A.value.getCustomInspector().then((l) => {
1610
1636
  e.value = l, e.value.forEach((s) => {
1611
- t(s);
1637
+ n(s);
1612
1638
  });
1613
- }), R.functions.on(Y.INSPECTOR_UPDATED, o);
1639
+ }), A.functions.on(X.INSPECTOR_UPDATED, o);
1614
1640
  });
1615
- function t(l) {
1616
- n.value.some((s) => s.id === l.id) || n.value.push(l);
1641
+ function n(l) {
1642
+ t.value.some((s) => s.id === l.id) || t.value.push(l);
1617
1643
  }
1618
- return we(() => {
1619
- R.functions.off(Y.INSPECTOR_UPDATED, o);
1644
+ return ke(() => {
1645
+ A.functions.off(X.INSPECTOR_UPDATED, o);
1620
1646
  }), {
1621
- registeredInspector: n,
1622
- register: t
1647
+ registeredInspector: t,
1648
+ register: n
1623
1649
  };
1624
1650
  }
1625
- const Wt = Symbol("SelectedSymbolKey");
1626
- function Ko() {
1627
- const n = N("");
1628
- return ye(Wt, n), {
1629
- selected: n
1651
+ const Xt = Symbol("SelectedSymbolKey");
1652
+ function Xo() {
1653
+ const t = N("");
1654
+ return _e(Xt, t), {
1655
+ selected: t
1630
1656
  };
1631
1657
  }
1632
- function Go() {
1633
- const n = me(Wt, N(""));
1658
+ function Qo() {
1659
+ const t = ge(Xt, N(""));
1634
1660
  function e(o) {
1635
- n.value = o;
1661
+ t.value = o;
1636
1662
  }
1637
1663
  return {
1638
- selected: n,
1664
+ selected: t,
1639
1665
  select: e
1640
1666
  };
1641
1667
  }
1642
- const Wo = ["onClick", "onDblclick", "onMouseover"], qo = {
1668
+ const el = ["onClick", "onDblclick", "onMouseover"], tl = {
1643
1669
  key: 1,
1644
1670
  pl5: ""
1645
- }, Jo = {
1671
+ }, nl = {
1646
1672
  "font-state-field": "",
1647
1673
  "text-3.5": ""
1648
- }, Yo = {
1674
+ }, ol = {
1649
1675
  key: 0,
1650
1676
  class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
1651
- }, Xo = {
1677
+ }, ll = {
1652
1678
  "group-hover:text-white": "",
1653
1679
  class: "ws-nowrap [.active_&]:text-white"
1654
- }, Qo = {
1680
+ }, sl = {
1655
1681
  key: 2,
1656
1682
  class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
1657
- }, el = {
1683
+ }, al = {
1658
1684
  key: 2,
1659
1685
  class: "ml-2 rounded-sm bg-blue-400 px-1 text-[0.75rem] leading-snug dark:bg-blue-800"
1660
- }, tl = {
1686
+ }, il = {
1661
1687
  key: 3,
1662
1688
  class: "ml-2 rounded-sm bg-gray-500 px-1 text-[0.75rem] leading-snug"
1663
- }, nl = { key: 0 }, Me = /* @__PURE__ */ F({
1689
+ }, rl = { key: 0 }, Oe = /* @__PURE__ */ F({
1664
1690
  __name: "TreeViewer",
1665
- props: /* @__PURE__ */ Ne({
1691
+ props: /* @__PURE__ */ Re({
1666
1692
  data: {},
1667
1693
  depth: { default: 0 },
1668
1694
  withTag: { type: Boolean, default: !1 }
@@ -1670,328 +1696,375 @@ const Wo = ["onClick", "onDblclick", "onMouseover"], qo = {
1670
1696
  modelValue: {},
1671
1697
  modelModifiers: {}
1672
1698
  }),
1673
- emits: /* @__PURE__ */ Ne(["hover", "leave"], ["update:modelValue"]),
1674
- setup(n, { emit: e }) {
1675
- const o = e, t = We(n, "modelValue"), { expanded: l, toggleExpanded: s } = ot();
1676
- Go();
1699
+ emits: /* @__PURE__ */ Re(["hover", "leave"], ["update:modelValue"]),
1700
+ setup(t, { emit: e }) {
1701
+ const o = e, n = Ye(t, "modelValue"), { expanded: l, toggleExpanded: s } = at();
1702
+ Qo();
1677
1703
  function p(i) {
1678
1704
  return "name" in i && i?.name || "label" in i && i.label;
1679
1705
  }
1680
1706
  function r(i) {
1681
- t.value = i;
1707
+ n.value = i;
1682
1708
  }
1683
- return (i, f) => (c(!0), m(ne, null, ue(i.data, (v, d) => (c(), m("div", {
1709
+ return (i, f) => (c(!0), m(le, null, ce(i.data, (v, d) => (c(), m("div", {
1684
1710
  key: d,
1685
- class: ae({
1711
+ class: ie({
1686
1712
  "min-w-max": i.depth === 0
1687
1713
  })
1688
1714
  }, [
1689
1715
  u("div", {
1690
- class: ae(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600", { "bg-primary-600! active": t.value === v.id }]),
1691
- style: $e({ paddingLeft: `${15 * i.depth + 4}px` }),
1716
+ class: ie(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600", { "bg-primary-600! active": n.value === v.id }]),
1717
+ style: Se({ paddingLeft: `${15 * i.depth + 4}px` }),
1692
1718
  onClick: (h) => r(v.id),
1693
1719
  onDblclick: (h) => a(s)(v.id),
1694
1720
  onMouseover: () => o("hover", v.id),
1695
1721
  onMouseleave: f[0] || (f[0] = () => o("leave"))
1696
1722
  }, [
1697
- v?.children?.length ? (c(), z(tt, {
1723
+ v?.children?.length ? (c(), z(lt, {
1698
1724
  key: 0,
1699
1725
  value: a(l).includes(v.id),
1700
1726
  class: "[.active_&]:op20 group-hover:op20",
1701
- onClick: fe((h) => a(s)(v.id), ["stop"])
1702
- }, null, 8, ["value", "onClick"])) : (c(), m("span", qo)),
1703
- u("span", Jo, [
1704
- i.withTag ? (c(), m("span", Yo, "<")) : U("", !0),
1705
- u("span", Xo, ie(p(v)), 1),
1706
- (v.renderKey === 0 || v.renderKey) && v.renderKey !== a(Vt) ? (c(), m("span", {
1727
+ onClick: he((h) => a(s)(v.id), ["stop"])
1728
+ }, null, 8, ["value", "onClick"])) : (c(), m("span", tl)),
1729
+ u("span", nl, [
1730
+ i.withTag ? (c(), m("span", ol, "<")) : j("", !0),
1731
+ u("span", ll, re(p(v)), 1),
1732
+ (v.renderKey === 0 || v.renderKey) && v.renderKey !== a(Dt) ? (c(), m("span", {
1707
1733
  key: 1,
1708
- class: ae(["text-xs opacity-50", {
1709
- "opacity-100": t.value === v.id
1734
+ class: ie(["text-xs opacity-50", {
1735
+ "opacity-100": n.value === v.id
1710
1736
  }])
1711
1737
  }, [
1712
1738
  u("span", {
1713
- class: ae([t.value === v.id ? "text-purple-200" : "text-purple-500"])
1739
+ class: ie([n.value === v.id ? "text-purple-200" : "text-purple-500"])
1714
1740
  }, " key", 2),
1715
- f[4] || (f[4] = X("=", -1)),
1716
- u("span", null, ie(v.renderKey), 1)
1717
- ], 2)) : U("", !0),
1718
- i.withTag ? (c(), m("span", Qo, ">")) : U("", !0)
1741
+ f[4] || (f[4] = Q("=", -1)),
1742
+ u("span", null, re(v.renderKey), 1)
1743
+ ], 2)) : j("", !0),
1744
+ i.withTag ? (c(), m("span", sl, ">")) : j("", !0)
1719
1745
  ]),
1720
- v.isFragment ? W((c(), m("span", el, f[5] || (f[5] = [
1721
- X(" fragment ", -1)
1746
+ v.isFragment ? q((c(), m("span", al, f[5] || (f[5] = [
1747
+ Q(" fragment ", -1)
1722
1748
  ]))), [
1723
- [a(q), "Has multiple root DOM nodes"]
1724
- ]) : U("", !0),
1725
- v.inactive ? W((c(), m("span", tl, f[6] || (f[6] = [
1726
- X(" inactive ", -1)
1749
+ [a(Y), "Has multiple root DOM nodes"]
1750
+ ]) : j("", !0),
1751
+ v.inactive ? q((c(), m("span", il, f[6] || (f[6] = [
1752
+ Q(" inactive ", -1)
1727
1753
  ]))), [
1728
- [a(q), "Currently inactive but not destroyed"]
1729
- ]) : U("", !0),
1730
- (c(!0), m(ne, null, ue(v.tags, (h, $) => (c(), z(Lt, {
1731
- key: $,
1754
+ [a(Y), "Currently inactive but not destroyed"]
1755
+ ]) : j("", !0),
1756
+ (c(!0), m(le, null, ce(v.tags, (h, T) => (c(), z(jt, {
1757
+ key: T,
1732
1758
  tag: h
1733
1759
  }, null, 8, ["tag"]))), 128))
1734
- ], 46, Wo),
1735
- v?.children?.length && a(l).includes(v.id) ? (c(), m("div", nl, [
1736
- y(Me, {
1737
- modelValue: t.value,
1738
- "onUpdate:modelValue": f[1] || (f[1] = (h) => t.value = h),
1760
+ ], 46, el),
1761
+ v?.children?.length && a(l).includes(v.id) ? (c(), m("div", rl, [
1762
+ x(Oe, {
1763
+ modelValue: n.value,
1764
+ "onUpdate:modelValue": f[1] || (f[1] = (h) => n.value = h),
1739
1765
  data: v?.children,
1740
1766
  depth: i.depth + 1,
1741
1767
  "with-tag": i.withTag,
1742
1768
  onHover: f[2] || (f[2] = (h) => o("hover", h)),
1743
1769
  onLeave: f[3] || (f[3] = (h) => o("leave"))
1744
1770
  }, null, 8, ["modelValue", "data", "depth", "with-tag"])
1745
- ])) : U("", !0)
1771
+ ])) : j("", !0)
1746
1772
  ], 2))), 128));
1747
1773
  }
1748
- }), St = 200;
1749
- function ol() {
1750
- const n = kt((o) => R.value.highlighComponent(o), St), e = kt(() => R.value.unhighlight(), St);
1774
+ }), Nt = 200;
1775
+ function ul() {
1751
1776
  return {
1752
- highlight: n,
1753
- unhighlight: e
1777
+ highlight: /* @__PURE__ */ Tt((o) => A.value.highlighComponent(o), Nt),
1778
+ unhighlight: /* @__PURE__ */ Tt(() => A.value.unhighlight(), Nt)
1754
1779
  };
1755
1780
  }
1756
- const ll = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-br-2.5 rounded-tr-2.5 bg-white p2 dark:bg-#121212" }, sl = { class: "flex-1 overflow-scroll text-3.5" }, al = /* @__PURE__ */ F({
1781
+ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-br-2.5 rounded-tr-2.5 bg-white p2 dark:bg-#121212" }, dl = { class: "flex-1 overflow-scroll text-3.5" }, pl = /* @__PURE__ */ F({
1757
1782
  __name: "RenderCode",
1758
1783
  props: {
1759
1784
  code: {}
1760
1785
  },
1761
1786
  emits: ["close"],
1762
- setup(n, { emit: e }) {
1787
+ setup(t, { emit: e }) {
1763
1788
  const o = e;
1764
- function t() {
1789
+ function n() {
1765
1790
  o("close");
1766
1791
  }
1767
- return (l, s) => (c(), m("div", ll, [
1792
+ return (l, s) => (c(), m("div", cl, [
1768
1793
  u("div", { class: "h-12 w-full flex items-center justify-between p-2" }, [
1769
1794
  s[0] || (s[0] = u("span", { class: "font-500" }, "Render Code", -1)),
1770
1795
  u("i", {
1771
1796
  class: "i-carbon-close cursor-pointer hover:op80",
1772
- onClick: t
1797
+ onClick: n
1773
1798
  })
1774
1799
  ]),
1775
- u("div", sl, [
1776
- y(a(pn), {
1800
+ u("div", dl, [
1801
+ x(a(gn), {
1777
1802
  code: l.code,
1778
1803
  lang: "javascript"
1779
1804
  }, null, 8, ["code"])
1780
1805
  ])
1781
1806
  ]));
1782
1807
  }
1783
- }), il = { class: "h-full w-full" }, rl = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, ul = {
1808
+ }), fl = { class: "h-full w-full" }, vl = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, ml = {
1784
1809
  key: 0,
1785
1810
  class: "h-full flex flex-col p2"
1786
- }, cl = { class: "flex py2" }, dl = {
1811
+ }, hl = { class: "flex py2" }, gl = {
1787
1812
  xmlns: "http://www.w3.org/2000/svg",
1788
1813
  style: { height: "1.1em", width: "1.1em" },
1789
1814
  class: "op-80 hover:op-100",
1790
1815
  viewBox: "0 0 24 24"
1791
- }, pl = { class: "h-full flex flex-col p2" }, fl = { class: "flex py2" }, vl = {
1816
+ }, Cl = { class: "h-full flex flex-col p2" }, yl = { class: "flex py2" }, _l = {
1792
1817
  key: 0,
1793
1818
  class: "font-state-field flex items-center px-1 text-3.5"
1794
- }, ml = {
1819
+ }, xl = {
1795
1820
  "group-hover:text-white": "",
1796
1821
  class: "max-w-40 of-hidden text-ellipsis ws-nowrap [.active_&]:text-white"
1797
- }, hl = { class: "flex items-center gap-2 px-1" }, gl = { class: "h-full flex flex-col items-center justify-center gap-2" }, Cl = { class: "block" }, yl = {
1822
+ }, bl = { class: "flex items-center gap-2 px-1" }, wl = { class: "h-full flex flex-col items-center justify-center gap-2" }, kl = { class: "block" }, Il = {
1798
1823
  xmlns: "http://www.w3.org/2000/svg",
1799
1824
  style: { height: "2em", width: "2em", opacity: "0.5", color: "#00dc82" },
1800
1825
  class: "animate-fade",
1801
1826
  viewBox: "0 0 24 24"
1802
- }, _l = { class: "flex items-center justify-center" }, Ve = "components", xl = /* @__PURE__ */ F({
1827
+ }, $l = { class: "flex items-center justify-center" }, Ae = "components", Sl = /* @__PURE__ */ F({
1803
1828
  __name: "index",
1804
1829
  emits: ["openInEditor", "onInspectComponentStart", "onInspectComponentEnd"],
1805
- setup(n, { emit: e }) {
1806
- const o = e, t = N(), l = N(!1), { width: s } = ro(t), p = I(() => l.value ? s.value < 700 : !1), r = N(""), i = N(""), [f, v] = Ft(!0), d = N(!1), h = N(!1), $ = N(""), E = N(!1), k = ol();
1807
- function b(S, T = [], j = []) {
1808
- return T.push(S.id), S.children?.length === 0 && j.push([...T]), Array.isArray(S.children) && S.children.forEach((se) => {
1809
- b(se, T, j);
1810
- }), T.pop(), j;
1811
- }
1812
- function A(S) {
1813
- const T = [], j = (se) => {
1814
- se?.forEach((Ce) => {
1815
- T.push(Ce), Ce.children?.length && j(Ce.children);
1830
+ setup(t, { emit: e }) {
1831
+ const o = e, n = N(), l = N(!1), { width: s } = mo(n), p = S(() => l.value ? s.value < 700 : !1), r = N(""), i = N(""), [f, v] = /* @__PURE__ */ Wt(!0), d = N(!1), h = N(!1), T = N(""), E = N(!1), $ = ul();
1832
+ function I(b, y = [], M = []) {
1833
+ return y.push(b.id), b.children?.length === 0 && M.push([...y]), Array.isArray(b.children) && b.children.forEach((K) => {
1834
+ I(K, y, M);
1835
+ }), y.pop(), M;
1836
+ }
1837
+ function L(b) {
1838
+ const y = [], M = (K) => {
1839
+ K?.forEach((ee) => {
1840
+ y.push(ee), ee.children?.length && M(ee.children);
1816
1841
  });
1817
1842
  };
1818
- return j(S), T;
1819
- }
1820
- function V(S, T) {
1821
- const j = [];
1822
- return S?.forEach((se) => {
1823
- j.push(...se.slice(0, T + 1));
1824
- }), [...new Set(j)];
1825
- }
1826
- function _(S, T) {
1827
- const j = [];
1828
- return S.forEach((se) => {
1829
- const Ce = se.indexOf(T);
1830
- Ce !== -1 && j.push(...se.slice(0, Ce + 1));
1831
- }), [...new Set(j)];
1832
- }
1833
- const D = N([]), Z = I(() => D.value?.length ? b(D.value?.[0]) : []), K = I(() => A(D.value)), G = I(() => K.value.map((S) => S.id)), H = N({}), w = N(""), O = I(() => {
1834
- const S = [], T = (j) => {
1835
- j.forEach((se) => {
1836
- se.id === w.value && S.push(se), se.children?.length && T(se.children);
1843
+ return M(b), y;
1844
+ }
1845
+ function V(b, y) {
1846
+ const M = [];
1847
+ return b?.forEach((K) => {
1848
+ M.push(...K.slice(0, y + 1));
1849
+ }), [...new Set(M)];
1850
+ }
1851
+ function w(b, y) {
1852
+ const M = [];
1853
+ return b.forEach((K) => {
1854
+ const ee = K.indexOf(y);
1855
+ ee !== -1 && M.push(...K.slice(0, ee + 1));
1856
+ }), [...new Set(M)];
1857
+ }
1858
+ const D = N([]), B = S(() => D.value?.length ? I(D.value?.[0]) : []), G = S(() => L(D.value)), W = S(() => G.value.map((b) => b.id)), O = N({}), C = N(""), U = S(() => {
1859
+ const b = [], y = (M) => {
1860
+ M.forEach((K) => {
1861
+ K.id === C.value && b.push(K), K.children?.length && y(K.children);
1837
1862
  });
1838
1863
  };
1839
- return T(D.value), S[0];
1840
- }), te = I(() => O.value?.file ?? ""), oe = I(() => Xe({
1841
- state: H.value,
1864
+ return y(D.value), b[0];
1865
+ }), oe = S(() => U.value?.file ?? ""), se = S(() => tt({
1866
+ state: O.value,
1842
1867
  filterKey: i.value,
1843
- processGroup(S) {
1844
- return $n(Object.values(Sn(Dt(S), "stateType")));
1868
+ processGroup(b) {
1869
+ return Nn(Object.values(An(Mt(b), "stateType")));
1845
1870
  }
1846
- })), { expanded: M } = ge(), { expanded: x } = ge("component-state");
1847
- Ko();
1848
- async function g(S = "") {
1849
- return R.value.getInspectorTree({ inspectorId: Ve, filter: S }).then((T) => {
1850
- const j = ee(T);
1851
- D.value = j, w.value = D.value?.[0]?.id, M.value = V(Z.value, 1), d.value = !0;
1871
+ })), { expanded: R } = ye(), { expanded: k } = ye("component-state");
1872
+ Xo();
1873
+ async function g(b = "") {
1874
+ return A.value.getInspectorTree({ inspectorId: Ae, filter: b }).then((y) => {
1875
+ const M = ne(y);
1876
+ D.value = M, C.value = D.value?.[0]?.id, R.value = V(B.value, 1), d.value = !0;
1852
1877
  });
1853
1878
  }
1854
- function C(S) {
1855
- if (!S || !S?.state)
1879
+ function _(b) {
1880
+ if (!b || !b?.state)
1856
1881
  return {};
1857
- const T = {};
1858
- return S.state.forEach((j) => {
1859
- T[j.type] || (T[j.type] = []), T[j.type].push(j);
1860
- }), T;
1861
- }
1862
- function P(S) {
1863
- R.value.getInspectorState({ inspectorId: Ve, nodeId: S }).then((T) => {
1864
- const j = ee(T);
1865
- j && (H.value = C(j), x.value = Array.from({ length: Object.keys(H.value).length }, (se, Ce) => `${Ce}`));
1882
+ const y = {};
1883
+ return b.state.forEach((M) => {
1884
+ y[M.type] || (y[M.type] = []), y[M.type].push(M);
1885
+ }), y;
1886
+ }
1887
+ function P(b) {
1888
+ A.value.getInspectorState({ inspectorId: Ae, nodeId: b }).then((y) => {
1889
+ const M = ne(y);
1890
+ M && (O.value = _(M), k.value = Array.from({ length: Object.keys(O.value).length }, (K, ee) => `${ee}`));
1866
1891
  });
1867
1892
  }
1868
- Q(w, (S) => {
1869
- P(S), E.value && ft();
1893
+ te(C, (b) => {
1894
+ P(b), E.value && gt();
1870
1895
  });
1871
- function B(S) {
1872
- const T = ee(S);
1873
- T.inspectorId !== Ve || T.nodeId !== w.value || (H.value = C({ state: T.state.state }));
1874
- }
1875
- R.functions.on(Y.INSPECTOR_STATE_UPDATED, B), g();
1876
- function le(S) {
1877
- const T = S.trim().toLowerCase();
1878
- v(), g(T).then(() => {
1896
+ function Z(b) {
1897
+ const y = ne(b);
1898
+ y.inspectorId !== Ae || y.nodeId !== C.value || (O.value = _({ state: y.state.state }));
1899
+ }
1900
+ A.functions.on(X.INSPECTOR_STATE_UPDATED, Z), g();
1901
+ function ae(b) {
1902
+ const y = b.trim().toLowerCase();
1903
+ v(), g(y).then(() => {
1879
1904
  v();
1880
1905
  });
1881
1906
  }
1882
- Zt(r, (S) => {
1883
- le(S);
1907
+ qt(r, (b) => {
1908
+ ae(b);
1884
1909
  }, { debounce: 300 });
1885
- function Ee(S) {
1886
- const T = ee(S);
1887
- T.inspectorId === Ve && (r.value ? le(r.value) : D.value = T.rootNodes, G.value.includes(w.value) || (w.value = D.value?.[0]?.id, M.value = V(Z.value, 1)));
1910
+ function Ve(b) {
1911
+ const y = ne(b);
1912
+ y.inspectorId === Ae && (r.value ? ae(r.value) : D.value = y.rootNodes, W.value.includes(C.value) || (C.value = D.value?.[0]?.id, R.value = V(B.value, 1)));
1888
1913
  }
1889
- R.functions.on(Y.INSPECTOR_TREE_UPDATED, Ee), we(() => {
1890
- R.functions.off(Y.INSPECTOR_STATE_UPDATED, B), R.functions.off(Y.INSPECTOR_TREE_UPDATED, Ee);
1914
+ A.functions.on(X.INSPECTOR_TREE_UPDATED, Ve), ke(() => {
1915
+ A.functions.off(X.INSPECTOR_STATE_UPDATED, Z), A.functions.off(X.INSPECTOR_TREE_UPDATED, Ve);
1891
1916
  });
1892
- const Fe = Rt(), ut = I(() => Fe.appRecords.value.map((S) => ({
1893
- label: S.name + (S.version ? ` (${S.version})` : ""),
1894
- value: S.id,
1895
- iframe: S.iframe
1896
- }))), Xt = I(() => ut.value.map((S) => ({
1897
- label: S.label + (S.iframe ? ` (iframe: ${S.iframe})` : ""),
1898
- id: S.value
1899
- }))), Le = N(Fe.activeAppRecordId.value);
1900
- Ye(() => {
1901
- Le.value = Fe.activeAppRecordId.value;
1917
+ const Ke = Lt(), pt = S(() => Ke.appRecords.value.map((b) => ({
1918
+ label: b.name + (b.version ? ` (${b.version})` : ""),
1919
+ value: b.id,
1920
+ iframe: b.iframe
1921
+ }))), nn = S(() => pt.value.map((b) => ({
1922
+ label: b.label + (b.iframe ? ` (iframe: ${b.iframe})` : ""),
1923
+ id: b.value
1924
+ }))), Ue = N(Ke.activeAppRecordId.value);
1925
+ et(() => {
1926
+ Ue.value = Ke.activeAppRecordId.value;
1902
1927
  });
1903
- async function ct(S, T = {}) {
1904
- await R.value.toggleApp(S, T), w.value = "", await g();
1928
+ async function ft(b, y = {}) {
1929
+ await A.value.toggleApp(b, y), C.value = "", await g();
1905
1930
  }
1906
- async function dt() {
1931
+ async function vt() {
1907
1932
  h.value = !0, o("onInspectComponentStart");
1908
1933
  try {
1909
- const S = JSON.parse(await R.value.inspectComponentInspector()), T = S.id.split(":")[0];
1910
- Le.value !== S.appId && await ct(T, { inspectingComponent: !0 }), w.value = S.id, M.value.includes(S.id) || M.value.push(S.id), M.value = [.../* @__PURE__ */ new Set([...M.value, ..._(Z.value, S.id)])], nn();
1934
+ const b = JSON.parse(await A.value.inspectComponentInspector()), y = b.id.split(":")[0];
1935
+ Ue.value !== b.appId && await ft(y, { inspectingComponent: !0 }), C.value = b.id, R.value.includes(b.id) || R.value.push(b.id), R.value = [.../* @__PURE__ */ new Set([...R.value, ...w(B.value, b.id)])], rn();
1911
1936
  } finally {
1912
1937
  h.value = !1, o("onInspectComponentEnd");
1913
1938
  }
1914
1939
  }
1915
- function pt() {
1916
- h.value = !1, R.value.cancelInspectComponentInspector();
1917
- }
1918
- ve("keydown", (S) => {
1919
- S.key === "s" && (S.ctrlKey || S.metaKey) && !h.value ? dt() : S.key === "Escape" && h.value && pt();
1940
+ function mt() {
1941
+ h.value = !1, A.value.cancelInspectComponentInspector();
1942
+ }
1943
+ ve("keydown", (b) => {
1944
+ b.key === "s" && (b.ctrlKey || b.metaKey) && !h.value ? vt() : b.key === "Escape" && h.value && mt();
1945
+ }), Ne("ArrowRight", () => {
1946
+ const b = R.value.includes(C.value), y = G.value.find((M) => M.id === C.value)?.children?.length;
1947
+ !b && y && R.value.push(C.value);
1948
+ }), Ne("ArrowLeft", () => {
1949
+ R.value.includes(C.value) && R.value.splice(R.value.indexOf(C.value), 1);
1950
+ }), Ne("ArrowDown", () => {
1951
+ const b = W.value.indexOf(C.value);
1952
+ if (R.value.includes(C.value) && b >= 0 && b < W.value.length - 1)
1953
+ C.value = W.value[b + 1];
1954
+ else {
1955
+ if (b === 0)
1956
+ return !1;
1957
+ C.value = on();
1958
+ }
1959
+ }), Ne("ArrowUp", () => {
1960
+ const b = C.value, y = B.value.find((Ge) => Ge.includes(b));
1961
+ if (!y)
1962
+ return;
1963
+ const M = y.indexOf(b), K = M > 0 ? M - 1 : 0, ee = y[K], pe = ht(ee);
1964
+ pe && (C.value = pe.id);
1965
+ }), Ne([" ", "Enter"], () => {
1966
+ if (!G.value.find((M) => M.id === C.value)?.children?.length)
1967
+ return;
1968
+ const y = R.value.indexOf(C.value);
1969
+ y === -1 ? R.value.push(C.value) : R.value.splice(y, 1);
1920
1970
  });
1921
- function Qt() {
1922
- R.value.scrollToComponent(w.value);
1971
+ function ht(b) {
1972
+ const y = G.value.find((ee) => ee.id === b);
1973
+ if (!y || !y.children?.length || y.children.length === 1)
1974
+ return y;
1975
+ const M = y?.children?.findIndex((ee) => ee.id === C.value);
1976
+ if (M <= 0)
1977
+ return y;
1978
+ let K = y.children[M - 1];
1979
+ for (; K && R.value.includes(K.id) && K.children?.length; ) {
1980
+ const ee = K.children[K.children.length - 1], pe = ht(ee.id);
1981
+ if (!pe || pe.id === K.id)
1982
+ break;
1983
+ K = pe;
1984
+ }
1985
+ return K || y;
1986
+ }
1987
+ function on() {
1988
+ const b = B.value, y = [...b].findLastIndex((pe) => pe?.includes(C.value));
1989
+ if (y === -1)
1990
+ return C.value;
1991
+ const M = b[y], K = b[y + 1], ee = K?.findIndex((pe, Ge) => pe !== M[Ge]) ?? -1;
1992
+ return ee !== -1 ? K[ee] : C.value;
1923
1993
  }
1924
- function en() {
1925
- R.value.inspectDOM(w.value).then(() => {
1994
+ function ln() {
1995
+ A.value.scrollToComponent(C.value);
1996
+ }
1997
+ function sn() {
1998
+ A.value.inspectDOM(C.value).then(() => {
1926
1999
  chrome.devtools.inspectedWindow.eval("inspect(window.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__)");
1927
2000
  });
1928
2001
  }
1929
- function ft() {
1930
- R.value.getComponentRenderCode(w.value).then((S) => {
1931
- $.value = S, E.value = !0;
2002
+ function gt() {
2003
+ A.value.getComponentRenderCode(C.value).then((b) => {
2004
+ T.value = b, E.value = !0;
1932
2005
  });
1933
2006
  }
1934
- function tn() {
1935
- o("openInEditor", te.value);
2007
+ function an() {
2008
+ o("openInEditor", oe.value);
1936
2009
  }
1937
- const vt = N();
1938
- function nn() {
2010
+ const Ct = N();
2011
+ function rn() {
1939
2012
  setTimeout(() => {
1940
- vt.value?.querySelector(".active")?.scrollIntoView({ behavior: "smooth", block: "center" });
2013
+ Ct.value?.querySelector(".active")?.scrollIntoView({ behavior: "smooth", block: "center" });
1941
2014
  }, 300);
1942
2015
  }
1943
- function on() {
1944
- $.value = "", E.value = !1;
2016
+ function un() {
2017
+ T.value = "", E.value = !1;
1945
2018
  }
1946
- return (S, T) => (c(), m("div", il, [
1947
- y(a(De), {
2019
+ return (b, y) => (c(), m("div", fl, [
2020
+ x(a(Pe), {
1948
2021
  ref_key: "splitpanesRef",
1949
- ref: t,
2022
+ ref: n,
1950
2023
  class: "flex-1 overflow-auto",
1951
2024
  horizontal: p.value,
1952
- onReady: T[4] || (T[4] = (j) => l.value = !0)
2025
+ onReady: y[4] || (y[4] = (M) => l.value = !0)
1953
2026
  }, {
1954
- default: L(() => [
1955
- ut.value.length > 1 ? (c(), z(a(ce), {
2027
+ default: H(() => [
2028
+ pt.value.length > 1 ? (c(), z(a(de), {
1956
2029
  key: 0,
1957
2030
  border: "base h-full",
1958
2031
  size: "20"
1959
2032
  }, {
1960
- default: L(() => [
1961
- u("div", rl, [
1962
- y(Pn, {
1963
- modelValue: Le.value,
1964
- "onUpdate:modelValue": T[0] || (T[0] = (j) => Le.value = j),
1965
- data: Xt.value,
2033
+ default: H(() => [
2034
+ u("div", vl, [
2035
+ x(On, {
2036
+ modelValue: Ue.value,
2037
+ "onUpdate:modelValue": y[0] || (y[0] = (M) => Ue.value = M),
2038
+ data: nn.value,
1966
2039
  class: "w-full",
1967
- onSelect: ct
2040
+ onSelect: ft
1968
2041
  }, null, 8, ["modelValue", "data"])
1969
2042
  ])
1970
2043
  ]),
1971
2044
  _: 1
1972
- })) : U("", !0),
1973
- y(a(ce), {
2045
+ })) : j("", !0),
2046
+ x(a(de), {
1974
2047
  border: "base",
1975
2048
  "h-full": ""
1976
2049
  }, {
1977
- default: L(() => [
1978
- d.value ? (c(), m("div", ul, [
1979
- u("div", cl, [
1980
- y(a(he), {
2050
+ default: H(() => [
2051
+ d.value ? (c(), m("div", ml, [
2052
+ u("div", hl, [
2053
+ x(a(Ce), {
1981
2054
  modelValue: r.value,
1982
- "onUpdate:modelValue": T[1] || (T[1] = (j) => r.value = j),
2055
+ "onUpdate:modelValue": y[1] || (y[1] = (M) => r.value = M),
1983
2056
  "loading-debounce-time": 250,
1984
2057
  loading: !a(f),
1985
2058
  placeholder: "Find components...",
1986
2059
  class: "flex-1 text-3.5"
1987
2060
  }, null, 8, ["modelValue", "loading"]),
1988
- a(wn) ? U("", !0) : W((c(), m("button", {
2061
+ a(Tn) ? j("", !0) : q((c(), m("button", {
1989
2062
  key: 0,
1990
2063
  "px-1": "",
1991
2064
  class: "hover:color-#00dc82",
1992
- onClick: dt
2065
+ onClick: vt
1993
2066
  }, [
1994
- (c(), m("svg", dl, T[6] || (T[6] = [
2067
+ (c(), m("svg", gl, y[6] || (y[6] = [
1995
2068
  u("path", {
1996
2069
  fill: "currentColor",
1997
2070
  d: "M10.611 10.611a1 1 0 0 1 1.11-.208l8.839 3.889a1 1 0 0 1-.14 1.88l-3.338.91l-.91 3.338a1 1 0 0 1-1.88.14l-3.89-8.84a1 1 0 0 1 .209-1.109M17 3a3 3 0 0 1 3 3v3a1 1 0 1 1-2 0V6a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h3a1 1 0 1 1 0 2H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3zm-3.73 10.269l1.715 3.9l.318-1.164a1 1 0 0 1 .701-.702l1.165-.318l-3.9-1.716Z"
@@ -1999,7 +2072,7 @@ const ll = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
1999
2072
  ])))
2000
2073
  ])), [
2001
2074
  [
2002
- a(q),
2075
+ a(Y),
2003
2076
  "Select component in the page",
2004
2077
  void 0,
2005
2078
  { bottom: !0 }
@@ -2008,132 +2081,132 @@ const ll = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
2008
2081
  ]),
2009
2082
  u("div", {
2010
2083
  ref_key: "componentTreeContainer",
2011
- ref: vt,
2084
+ ref: Ct,
2012
2085
  class: "no-scrollbar flex-1 select-none overflow-scroll"
2013
2086
  }, [
2014
- y(Me, {
2015
- modelValue: w.value,
2016
- "onUpdate:modelValue": T[2] || (T[2] = (j) => w.value = j),
2087
+ x(Oe, {
2088
+ modelValue: C.value,
2089
+ "onUpdate:modelValue": y[2] || (y[2] = (M) => C.value = M),
2017
2090
  data: D.value,
2018
2091
  "with-tag": !0,
2019
- onHover: a(k).highlight,
2020
- onLeave: a(k).unhighlight
2092
+ onHover: a($).highlight,
2093
+ onLeave: a($).unhighlight
2021
2094
  }, null, 8, ["modelValue", "data", "onHover", "onLeave"])
2022
2095
  ], 512)
2023
- ])) : U("", !0)
2096
+ ])) : j("", !0)
2024
2097
  ]),
2025
2098
  _: 1
2026
2099
  }),
2027
- y(a(ce), {
2100
+ x(a(de), {
2028
2101
  relative: "",
2029
2102
  "h-full": ""
2030
2103
  }, {
2031
- default: L(() => [
2032
- u("div", pl, [
2033
- u("div", fl, [
2034
- O.value?.name ? (c(), m("span", vl, [
2035
- T[7] || (T[7] = u("span", { class: "text-gray-400 dark:text-gray-600" }, "<", -1)),
2036
- u("span", ml, ie(O.value.name), 1),
2037
- T[8] || (T[8] = u("span", { class: "text-gray-400 dark:text-gray-600" }, ">", -1))
2038
- ])) : U("", !0),
2039
- y(a(he), {
2104
+ default: H(() => [
2105
+ u("div", Cl, [
2106
+ u("div", yl, [
2107
+ U.value?.name ? (c(), m("span", _l, [
2108
+ y[7] || (y[7] = u("span", { class: "text-gray-400 dark:text-gray-600" }, "<", -1)),
2109
+ u("span", xl, re(U.value.name), 1),
2110
+ y[8] || (y[8] = u("span", { class: "text-gray-400 dark:text-gray-600" }, ">", -1))
2111
+ ])) : j("", !0),
2112
+ x(a(Ce), {
2040
2113
  modelValue: i.value,
2041
- "onUpdate:modelValue": T[3] || (T[3] = (j) => i.value = j),
2114
+ "onUpdate:modelValue": y[3] || (y[3] = (M) => i.value = M),
2042
2115
  "loading-debounce-time": 250,
2043
2116
  placeholder: "Filter State...",
2044
2117
  class: "flex-1 text-3.5"
2045
2118
  }, null, 8, ["modelValue"]),
2046
- u("div", hl, [
2047
- W(u("i", {
2119
+ u("div", bl, [
2120
+ q(u("i", {
2048
2121
  class: "i-material-symbols-light:eye-tracking-outline h-4 w-4 cursor-pointer hover:op-70",
2049
- onClick: Qt
2122
+ onClick: ln
2050
2123
  }, null, 512), [
2051
2124
  [
2052
- a(q),
2125
+ a(Y),
2053
2126
  "Scroll to component",
2054
2127
  void 0,
2055
2128
  { bottom: !0 }
2056
2129
  ]
2057
2130
  ]),
2058
- W(u("i", {
2131
+ q(u("i", {
2059
2132
  class: "i-material-symbols-light:code h-5 w-5 cursor-pointer hover:op-70",
2060
- onClick: ft
2133
+ onClick: gt
2061
2134
  }, null, 512), [
2062
2135
  [
2063
- a(q),
2136
+ a(Y),
2064
2137
  "Show render code",
2065
2138
  void 0,
2066
2139
  { bottom: !0 }
2067
2140
  ]
2068
2141
  ]),
2069
- a(_t) ? W((c(), m("i", {
2142
+ a(kt) ? q((c(), m("i", {
2070
2143
  key: 0,
2071
2144
  class: "i-material-symbols-light:menu-open h-5 w-5 cursor-pointer hover:op-70",
2072
- onClick: en
2145
+ onClick: sn
2073
2146
  }, null, 512)), [
2074
2147
  [
2075
- a(q),
2148
+ a(Y),
2076
2149
  "Inspect DOM",
2077
2150
  void 0,
2078
2151
  { bottom: !0 }
2079
2152
  ]
2080
- ]) : U("", !0),
2081
- te.value ? W((c(), m("i", {
2153
+ ]) : j("", !0),
2154
+ oe.value ? q((c(), m("i", {
2082
2155
  key: 1,
2083
2156
  class: "i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",
2084
- onClick: tn
2157
+ onClick: an
2085
2158
  }, null, 512)), [
2086
2159
  [
2087
- a(q),
2160
+ a(Y),
2088
2161
  "Open in Editor",
2089
2162
  void 0,
2090
2163
  { bottom: !0 }
2091
2164
  ]
2092
- ]) : U("", !0)
2165
+ ]) : j("", !0)
2093
2166
  ])
2094
2167
  ]),
2095
- y(Ae, {
2168
+ x(He, {
2096
2169
  class: "no-scrollbar flex-1 overflow-scroll",
2097
- data: oe.value,
2098
- "node-id": w.value,
2099
- "inspector-id": Ve,
2170
+ data: se.value,
2171
+ "node-id": C.value,
2172
+ "inspector-id": Ae,
2100
2173
  "expanded-state-id": "component-state"
2101
2174
  }, null, 8, ["data", "node-id"])
2102
2175
  ]),
2103
- E.value && $.value ? (c(), z(al, {
2176
+ E.value && T.value ? (c(), z(pl, {
2104
2177
  key: 0,
2105
- code: $.value,
2106
- onClose: on
2107
- }, null, 8, ["code"])) : U("", !0)
2178
+ code: T.value,
2179
+ onClose: un
2180
+ }, null, 8, ["code"])) : j("", !0)
2108
2181
  ]),
2109
2182
  _: 1
2110
2183
  })
2111
2184
  ]),
2112
2185
  _: 1
2113
2186
  }, 8, ["horizontal"]),
2114
- a(_t) ? (c(), z(a(fn), {
2187
+ a(kt) ? (c(), z(a(Cn), {
2115
2188
  key: 0,
2116
2189
  modelValue: h.value,
2117
- "onUpdate:modelValue": T[5] || (T[5] = (j) => h.value = j),
2190
+ "onUpdate:modelValue": y[5] || (y[5] = (M) => h.value = M),
2118
2191
  title: "",
2119
2192
  height: "12rem",
2120
2193
  closable: !1
2121
2194
  }, {
2122
- footer: L(() => [
2123
- u("div", _l, [
2124
- y(a(de), { onClick: pt }, {
2125
- default: L(() => T[11] || (T[11] = [
2126
- X(" Cancel ", -1)
2195
+ footer: H(() => [
2196
+ u("div", $l, [
2197
+ x(a(fe), { onClick: mt }, {
2198
+ default: H(() => y[11] || (y[11] = [
2199
+ Q(" Cancel ", -1)
2127
2200
  ])),
2128
2201
  _: 1,
2129
2202
  __: [11]
2130
2203
  })
2131
2204
  ])
2132
2205
  ]),
2133
- default: L(() => [
2134
- u("div", gl, [
2135
- u("span", Cl, [
2136
- (c(), m("svg", yl, T[9] || (T[9] = [
2206
+ default: H(() => [
2207
+ u("div", wl, [
2208
+ u("span", kl, [
2209
+ (c(), m("svg", Il, y[9] || (y[9] = [
2137
2210
  u("g", {
2138
2211
  fill: "none",
2139
2212
  stroke: "currentColor",
@@ -2151,16 +2224,16 @@ const ll = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
2151
2224
  ], -1)
2152
2225
  ])))
2153
2226
  ]),
2154
- T[10] || (T[10] = u("p", null, " Click on a component on the page to select it ", -1))
2227
+ y[10] || (y[10] = u("p", null, " Click on a component on the page to select it ", -1))
2155
2228
  ])
2156
2229
  ]),
2157
2230
  _: 1
2158
- }, 8, ["modelValue"])) : U("", !0)
2231
+ }, 8, ["modelValue"])) : j("", !0)
2159
2232
  ]));
2160
2233
  }
2161
- }), ps = /* @__PURE__ */ xe(xl, [["__scopeId", "data-v-476b73cc"]]), bl = {}, wl = { class: "h-screen w-screen $ui-fcc flex-col" };
2162
- function kl(n, e) {
2163
- return c(), m("div", wl, [
2234
+ }), C1 = /* @__PURE__ */ be(Sl, [["__scopeId", "data-v-fbde5eca"]]), Tl = {}, El = { class: "h-screen w-screen $ui-fcc flex-col" };
2235
+ function Vl(t, e) {
2236
+ return c(), m("div", El, [
2164
2237
  e[0] || (e[0] = u("div", { class: "outer" }, [
2165
2238
  u("div", { class: "inner" }, [
2166
2239
  u("i", {
@@ -2169,111 +2242,111 @@ function kl(n, e) {
2169
2242
  })
2170
2243
  ])
2171
2244
  ], -1)),
2172
- qe(n.$slots, "default", {}, void 0, !0)
2245
+ Xe(t.$slots, "default", {}, void 0, !0)
2173
2246
  ]);
2174
2247
  }
2175
- const Il = /* @__PURE__ */ xe(bl, [["render", kl], ["__scopeId", "data-v-b8018f07"]]), qt = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
2176
- function _e() {
2177
- return me(qt);
2248
+ const Nl = /* @__PURE__ */ be(Tl, [["render", Vl], ["__scopeId", "data-v-b8018f07"]]), Qt = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
2249
+ function xe() {
2250
+ return ge(Qt);
2178
2251
  }
2179
- function rt() {
2180
- const n = N({
2252
+ function dt() {
2253
+ const t = N({
2181
2254
  homepage: "",
2182
2255
  id: "",
2183
2256
  label: "",
2184
2257
  logo: "",
2185
2258
  timelineLayerIds: []
2186
2259
  });
2187
- return ye(qt, n), n;
2260
+ return _e(Qt, t), t;
2188
2261
  }
2189
- const $l = {}, Sl = {
2262
+ const Al = {}, Rl = {
2190
2263
  width: "175",
2191
2264
  height: "34",
2192
2265
  viewBox: "0 0 175 34",
2193
2266
  fill: "none",
2194
2267
  xmlns: "http://www.w3.org/2000/svg"
2195
2268
  };
2196
- function Tl(n, e) {
2197
- return c(), m("svg", Sl, e[0] || (e[0] = [
2269
+ function Dl(t, e) {
2270
+ return c(), m("svg", Rl, e[0] || (e[0] = [
2198
2271
  u("path", {
2199
2272
  fill: "currentColor",
2200
2273
  d: "M0.570999 33.3121V1.80715H10.8288C13.6975 1.80715 16.3198 2.39225 18.6962 3.56242C21.0721 4.73263 22.9701 6.5029 24.3901 8.87327C25.81 11.2136 26.52 14.1091 26.52 17.5596C26.52 20.9801 25.81 23.8756 24.3901 26.2458C22.9701 28.6162 21.0721 30.3868 18.6962 31.5568C16.3198 32.7269 13.6975 33.3121 10.8288 33.3121H0.570999ZM10.1332 27.461C12.9439 27.461 15.2767 26.6812 17.1314 25.1208C18.9858 23.5306 19.913 21.0102 19.913 17.5596C19.913 14.1091 18.9858 11.5887 17.1314 9.99846C15.2767 8.40819 12.9439 7.61306 10.1332 7.61306H7.09085V27.461H10.1332ZM50.3628 25.6159C49.928 28.0463 48.7544 29.9966 46.8421 31.4669C44.9297 32.9368 42.6257 33.672 39.931 33.672C37.5551 33.672 35.5119 33.117 33.8024 32.007C32.1216 30.8668 30.8468 29.3965 29.9772 27.5961C29.1081 25.7961 28.6733 23.9056 28.6733 21.9253C28.6733 19.915 29.0645 18.0247 29.8468 16.2544C30.6584 14.4841 31.8756 13.0439 33.498 11.9337C35.1499 10.8236 37.1491 10.2685 39.4962 10.2685C41.9306 10.2685 43.9589 10.8086 45.5817 11.8888C47.2045 12.9689 48.3924 14.3491 49.1456 16.0294C49.928 17.7097 50.3192 19.4799 50.3192 21.3402C50.3192 22.0303 50.2904 22.7054 50.2324 23.3656H34.4979C34.7295 24.9858 35.3091 26.2612 36.2363 27.191C37.1927 28.0914 38.4243 28.5412 39.931 28.5412C41.1482 28.5412 42.1478 28.3014 42.9301 27.8214C43.7125 27.3111 44.2197 26.5759 44.4513 25.6159H50.3628ZM39.4962 14.8592C38.1055 14.8592 37.0043 15.2343 36.1931 15.9844C35.3815 16.7045 34.8455 17.8447 34.5847 19.4049H44.2777C44.1905 18.0847 43.7269 17.0045 42.8865 16.1644C42.0466 15.2943 40.9162 14.8592 39.4962 14.8592ZM64.1603 33.3121H58.5969L50.599 10.6285H56.7713L61.3788 25.3008L65.9427 10.6285H72.1582L64.1603 33.3121ZM88.2757 33.3121H81.7559V7.61306H72.7585V1.80715H97.2731V7.61306H88.2757V33.3121ZM106.325 33.672C104.123 33.672 102.138 33.1771 100.37 32.1868C98.6029 31.1667 97.2266 29.7717 96.2414 28.0011C95.2562 26.2011 94.7634 24.1907 94.7634 21.9703C94.7634 19.75 95.2562 17.7547 96.2414 15.9844C97.2266 14.1841 98.6029 12.7889 100.37 11.7987C102.138 10.7786 104.123 10.2685 106.325 10.2685C108.528 10.2685 110.513 10.7786 112.28 11.7987C114.048 12.7889 115.424 14.1841 116.409 15.9844C117.395 17.7547 117.887 19.75 117.887 21.9703C117.887 24.1907 117.395 26.2011 116.409 28.0011C115.424 29.7717 114.048 31.1667 112.28 32.1868C110.513 33.1771 108.528 33.672 106.325 33.672ZM106.325 28.2712C107.948 28.2712 109.266 27.6864 110.281 26.5159C111.295 25.3458 111.802 23.8306 111.802 21.9703C111.802 20.08 111.295 18.5498 110.281 17.3796C109.266 16.2094 107.948 15.6243 106.325 15.6243C104.702 15.6243 103.384 16.2094 102.37 17.3796C101.356 18.5498 100.848 20.08 100.848 21.9703C100.848 23.8306 101.356 25.3458 102.37 26.5159C103.384 27.6864 104.702 28.2712 106.325 28.2712ZM131.624 33.672C129.422 33.672 127.436 33.1771 125.669 32.1868C123.901 31.1667 122.525 29.7717 121.54 28.0011C120.555 26.2011 120.062 24.1907 120.062 21.9703C120.062 19.75 120.555 17.7547 121.54 15.9844C122.525 14.1841 123.901 12.7889 125.669 11.7987C127.436 10.7786 129.422 10.2685 131.624 10.2685C133.826 10.2685 135.811 10.7786 137.579 11.7987C139.346 12.7889 140.722 14.1841 141.708 15.9844C142.693 17.7547 143.186 19.75 143.186 21.9703C143.186 24.1907 142.693 26.2011 141.708 28.0011C140.722 29.7717 139.346 31.1667 137.579 32.1868C135.811 33.1771 133.826 33.672 131.624 33.672ZM131.624 28.2712C133.246 28.2712 134.565 27.6864 135.579 26.5159C136.593 25.3458 137.101 23.8306 137.101 21.9703C137.101 20.08 136.593 18.5498 135.579 17.3796C134.565 16.2094 133.246 15.6243 131.624 15.6243C130.001 15.6243 128.682 16.2094 127.668 17.3796C126.654 18.5498 126.147 20.08 126.147 21.9703C126.147 23.8306 126.654 25.3458 127.668 26.5159C128.682 27.6864 130.001 28.2712 131.624 28.2712ZM152.88 33.3121H146.838V0.771999H152.88V33.3121ZM165.652 33.672C162.957 33.672 160.769 32.9522 159.088 31.5117C157.437 30.0418 156.553 28.0914 156.437 25.661H161.653C161.768 26.6812 162.174 27.4913 162.87 28.0914C163.594 28.6613 164.522 28.9463 165.652 28.9463C166.579 28.9463 167.332 28.7363 167.912 28.3163C168.52 27.8963 168.825 27.3712 168.825 26.7412C168.825 25.9008 168.477 25.3159 167.782 24.9858C167.086 24.6557 165.985 24.3557 164.478 24.0856C162.913 23.7856 161.638 23.4556 160.653 23.0955C159.668 22.7354 158.813 22.0903 158.089 21.1602C157.393 20.2 157.045 18.8498 157.045 17.1096C157.045 15.7893 157.379 14.6192 158.045 13.599C158.741 12.5488 159.682 11.7387 160.871 11.1686C162.058 10.5685 163.391 10.2685 164.869 10.2685C167.506 10.2685 169.636 10.9436 171.259 12.2938C172.91 13.644 173.794 15.4293 173.91 17.6496H168.651C168.535 16.7195 168.115 15.9994 167.39 15.4893C166.695 14.9492 165.912 14.6792 165.043 14.6792C164.174 14.6792 163.478 14.8742 162.957 15.2643C162.435 15.6543 162.174 16.1944 162.174 16.8845C162.174 17.7246 162.508 18.2948 163.174 18.5948C163.87 18.8648 164.956 19.1049 166.434 19.3149C168.028 19.5549 169.331 19.855 170.346 20.215C171.389 20.5451 172.287 21.2052 173.041 22.1953C173.794 23.1855 174.171 24.6257 174.171 26.5159C174.171 28.6762 173.389 30.4166 171.824 31.737C170.288 33.0271 168.23 33.672 165.652 33.672Z"
2201
2274
  }, null, -1)
2202
2275
  ]));
2203
2276
  }
2204
- const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2277
+ const Pl = /* @__PURE__ */ be(Al, [["render", Dl]]), Ll = {
2205
2278
  "h-full": "",
2206
2279
  "w-full": "",
2207
2280
  flex: "",
2208
2281
  "items-center": ""
2209
- }, Nl = {
2282
+ }, Ml = {
2210
2283
  flex: "~ col gap2",
2211
2284
  ma: "",
2212
2285
  "px-5": ""
2213
- }, Rl = {
2286
+ }, Hl = {
2214
2287
  flex: "~ col",
2215
2288
  "mt-20": "",
2216
2289
  "items-center": ""
2217
- }, Dl = {
2290
+ }, Ol = {
2218
2291
  flex: "~",
2219
2292
  "mt--10": "",
2220
2293
  "items-center": "",
2221
2294
  "justify-center": ""
2222
- }, Pl = { class: "mr-1" }, Al = {
2295
+ }, Ul = { class: "mr-1" }, jl = {
2223
2296
  key: 0,
2224
2297
  class: "inline-block w20"
2225
- }, Ml = ["src", "alt"], Ll = {
2298
+ }, zl = ["src", "alt"], Bl = {
2226
2299
  key: 1,
2227
2300
  class: "mr2 inline-block min-w-20 text-center text-10 font-600"
2228
- }, Hl = {
2301
+ }, Zl = {
2229
2302
  mb6: "",
2230
2303
  "mt--1": "",
2231
2304
  "text-center": "",
2232
2305
  "text-sm": "",
2233
2306
  flex: "~ gap-1"
2234
- }, Ul = { op40: "" }, Ol = { flex: "~ gap2 wrap" }, jl = {
2307
+ }, Fl = { op40: "" }, Kl = { flex: "~ gap2 wrap" }, Gl = {
2235
2308
  flex: "~ gap-6 wrap",
2236
2309
  "mt-5": "",
2237
2310
  "items-center": "",
2238
2311
  "justify-center": ""
2239
- }, zl = ["href"], Bl = /* @__PURE__ */ F({
2312
+ }, Wl = ["href"], ql = /* @__PURE__ */ F({
2240
2313
  __name: "About",
2241
- setup(n) {
2242
- const e = Pe(), o = _e(), t = N(!1), l = N(!1);
2314
+ setup(t) {
2315
+ const e = Le(), o = xe(), n = N(!1), l = N(!1);
2243
2316
  function s() {
2244
- t.value = !0;
2317
+ n.value = !0;
2245
2318
  }
2246
2319
  function p() {
2247
- t.value = !0, l.value = !0;
2320
+ n.value = !0, l.value = !0;
2248
2321
  }
2249
- return (r, i) => (c(), m("div", Vl, [
2250
- u("div", Nl, [
2322
+ return (r, i) => (c(), m("div", Ll, [
2323
+ u("div", Ml, [
2251
2324
  i[5] || (i[5] = u("div", { "flex-auto": "" }, null, -1)),
2252
- u("div", Rl, [
2253
- u("div", Dl, [
2254
- u("span", Pl, [
2255
- t.value ? U("", !0) : (c(), m("span", Al)),
2256
- W(u("img", {
2325
+ u("div", Hl, [
2326
+ u("div", Ol, [
2327
+ u("span", Ul, [
2328
+ n.value ? j("", !0) : (c(), m("span", jl)),
2329
+ q(u("img", {
2257
2330
  src: a(o).logo,
2258
2331
  alt: `${a(o).label} Logo`,
2259
2332
  class: "inline-block h16",
2260
2333
  onError: p,
2261
2334
  onLoad: s
2262
- }, null, 40, Ml), [
2263
- [un, t.value && !l.value]
2335
+ }, null, 40, zl), [
2336
+ [vn, n.value && !l.value]
2264
2337
  ]),
2265
- l.value ? (c(), m("span", Ll, ie(a(o).label), 1)) : U("", !0)
2338
+ l.value ? (c(), m("span", Bl, re(a(o).label), 1)) : j("", !0)
2266
2339
  ]),
2267
2340
  u("span", null, [
2268
- y(El, { "h-18": "" })
2341
+ x(Pl, { "h-18": "" })
2269
2342
  ])
2270
2343
  ]),
2271
- u("div", Hl, [
2272
- u("span", Ul, ie(a(o).label) + " DevTools ", 1)
2344
+ u("div", Zl, [
2345
+ u("span", Fl, re(a(o).label) + " DevTools ", 1)
2273
2346
  ])
2274
2347
  ]),
2275
2348
  i[6] || (i[6] = u("div", { "flex-auto": "" }, null, -1)),
2276
- u("div", Ol, [
2349
+ u("div", Kl, [
2277
2350
  u("div", {
2278
2351
  flex: "~ col auto",
2279
2352
  "min-w-40": "",
@@ -2300,9 +2373,9 @@ const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2300
2373
  "text-3xl": ""
2301
2374
  }, null, -1),
2302
2375
  u("div", null, "Timeline", -1)
2303
- ]))) : U("", !0)
2376
+ ]))) : j("", !0)
2304
2377
  ]),
2305
- u("div", jl, [
2378
+ u("div", Gl, [
2306
2379
  u("a", {
2307
2380
  href: a(o).homepage,
2308
2381
  target: "_blank",
@@ -2313,17 +2386,17 @@ const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2313
2386
  transition: ""
2314
2387
  }, i[4] || (i[4] = [
2315
2388
  u("div", { "i-carbon-document": "" }, null, -1),
2316
- X(" View Documentation ", -1)
2317
- ]), 8, zl)
2389
+ Q(" View Documentation ", -1)
2390
+ ]), 8, Wl)
2318
2391
  ]),
2319
2392
  i[7] || (i[7] = u("div", { "flex-auto": "" }, null, -1))
2320
2393
  ])
2321
2394
  ]));
2322
2395
  }
2323
- }), Fl = { class: "flex-1 overflow-y-auto p2" }, Zl = { class: "max-w-[190px] flex-1 select-none py-1.5 text-sm" }, Kl = { class: "w-4/5" }, Gl = {
2396
+ }), Jl = { class: "flex-1 overflow-y-auto p2" }, Yl = { class: "max-w-[190px] flex-1 select-none py-1.5 text-sm" }, Xl = { class: "w-4/5" }, Ql = {
2324
2397
  key: 0,
2325
2398
  class: "flex justify-start"
2326
- }, Wl = { key: 1 }, Jt = /* @__PURE__ */ F({
2399
+ }, es = { key: 1 }, en = /* @__PURE__ */ F({
2327
2400
  __name: "Settings",
2328
2401
  props: {
2329
2402
  pluginId: {},
@@ -2331,233 +2404,233 @@ const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2331
2404
  values: {}
2332
2405
  },
2333
2406
  emits: ["update"],
2334
- setup(n, { emit: e }) {
2335
- const o = n, t = e, l = I(() => o.options), s = I(() => o.values);
2407
+ setup(t, { emit: e }) {
2408
+ const o = t, n = e, l = S(() => o.options), s = S(() => o.values);
2336
2409
  function p(r, i) {
2337
- R.value.updatePluginSettings(o.pluginId, r, i), R.value.getPluginSettings(o.pluginId).then((f) => {
2338
- t("update", f);
2410
+ A.value.updatePluginSettings(o.pluginId, r, i), A.value.getPluginSettings(o.pluginId).then((f) => {
2411
+ n("update", f);
2339
2412
  });
2340
2413
  }
2341
- return (r, i) => (c(), m("div", Fl, [
2414
+ return (r, i) => (c(), m("div", Jl, [
2342
2415
  u("ul", null, [
2343
- (c(!0), m(ne, null, ue(l.value, (f, v) => (c(), m("li", {
2416
+ (c(!0), m(le, null, ce(l.value, (f, v) => (c(), m("li", {
2344
2417
  key: v,
2345
2418
  class: "flex items-center py-2"
2346
2419
  }, [
2347
- u("div", Zl, ie(f.label), 1),
2348
- u("div", Kl, [
2349
- f.type === "boolean" ? (c(), m("div", Gl, [
2350
- y(a(vn), {
2420
+ u("div", Yl, re(f.label), 1),
2421
+ u("div", Xl, [
2422
+ f.type === "boolean" ? (c(), m("div", Ql, [
2423
+ x(a(yn), {
2351
2424
  "model-value": s.value[v],
2352
2425
  class: "row-reverse flex py1 pl2 pr1 hover:bg-active",
2353
2426
  "onUpdate:modelValue": (d) => p(v, d)
2354
2427
  }, null, 8, ["model-value", "onUpdate:modelValue"])
2355
- ])) : f.type === "choice" ? (c(), m("div", Wl, [
2356
- y(a(mn), {
2428
+ ])) : f.type === "choice" ? (c(), m("div", es, [
2429
+ x(a(_n), {
2357
2430
  "model-value": s.value[v],
2358
2431
  options: f.options,
2359
2432
  "onUpdate:modelValue": (d) => p(v, d)
2360
2433
  }, null, 8, ["model-value", "options", "onUpdate:modelValue"])
2361
- ])) : f.type === "text" ? (c(), z(a(he), {
2434
+ ])) : f.type === "text" ? (c(), z(a(Ce), {
2362
2435
  key: 2,
2363
2436
  "model-value": s.value[v],
2364
2437
  "onUpdate:modelValue": (d) => p(v, d)
2365
- }, null, 8, ["model-value", "onUpdate:modelValue"])) : U("", !0)
2438
+ }, null, 8, ["model-value", "onUpdate:modelValue"])) : j("", !0)
2366
2439
  ])
2367
2440
  ]))), 128))
2368
2441
  ])
2369
2442
  ]));
2370
2443
  }
2371
- }), ql = { class: "h-full flex flex-col" }, Jl = /* @__PURE__ */ F({
2444
+ }), ts = { class: "h-full flex flex-col" }, ns = /* @__PURE__ */ F({
2372
2445
  __name: "Settings",
2373
- setup(n) {
2374
- const e = me("pluginSettings"), o = _e(), t = I(() => e.value.options), l = I(() => e.value.values);
2446
+ setup(t) {
2447
+ const e = ge("pluginSettings"), o = xe(), n = S(() => e.value.options), l = S(() => e.value.values);
2375
2448
  function s(p) {
2376
2449
  e.value = p;
2377
2450
  }
2378
- return (p, r) => (c(), m("div", ql, [
2379
- y(Se, {
2451
+ return (p, r) => (c(), m("div", ts, [
2452
+ x(Te, {
2380
2453
  "doc-link": a(o).homepage
2381
2454
  }, {
2382
- default: L(() => [
2383
- y(Te)
2455
+ default: H(() => [
2456
+ x(Ee)
2384
2457
  ]),
2385
2458
  _: 1
2386
2459
  }, 8, ["doc-link"]),
2387
- y(Jt, {
2460
+ x(en, {
2388
2461
  "plugin-id": a(o).pluginId,
2389
- options: t.value,
2462
+ options: n.value,
2390
2463
  values: l.value,
2391
2464
  onUpdate: s
2392
2465
  }, null, 8, ["plugin-id", "options", "values"])
2393
2466
  ]));
2394
2467
  }
2395
- }), Yl = { class: "h-full flex flex-col" }, Xl = { class: "h-full flex flex-col p2" }, Ql = {
2468
+ }), os = { class: "h-full flex flex-col" }, ls = { class: "h-full flex flex-col p2" }, ss = {
2396
2469
  class: "grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",
2397
2470
  border: "b dashed base"
2398
- }, e1 = {
2471
+ }, as = {
2399
2472
  key: 0,
2400
2473
  class: "flex items-center gap-2 px-1"
2401
- }, t1 = ["onClick"], n1 = {
2474
+ }, is = ["onClick"], rs = {
2402
2475
  key: 0,
2403
2476
  class: "no-scrollbar flex-1 select-none overflow-scroll"
2404
- }, o1 = { class: "h-full flex flex-col p2" }, l1 = {
2477
+ }, us = { class: "h-full flex flex-col p2" }, cs = {
2405
2478
  class: "grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",
2406
2479
  border: "b dashed base"
2407
- }, s1 = {
2480
+ }, ds = {
2408
2481
  key: 0,
2409
2482
  class: "flex items-center gap-2 px-1"
2410
- }, a1 = ["onClick"], i1 = /* @__PURE__ */ F({
2483
+ }, ps = ["onClick"], fs = /* @__PURE__ */ F({
2411
2484
  __name: "Index",
2412
- setup(n) {
2413
- const { expanded: e } = ge(), { expanded: o } = ge("custom-inspector-state"), t = _e(), l = I(() => t.value.id), s = N([]), p = N([]), r = N([]), i = I(() => r.value?.length ? V(r.value?.[0]) : []), f = I(() => D(r.value)), v = I(() => f.value.map((g) => g.id)), d = N(""), h = N({}), $ = I(() => !Object.keys(h.value).length), E = _e(), k = N(""), b = N("");
2414
- Q(k, (g, C) => {
2415
- !g.trim().length && !C.trim().length || oe(g);
2485
+ setup(t) {
2486
+ const { expanded: e } = ye(), { expanded: o } = ye("custom-inspector-state"), n = xe(), l = S(() => n.value.id), s = N([]), p = N([]), r = N([]), i = S(() => r.value?.length ? V(r.value?.[0]) : []), f = S(() => D(r.value)), v = S(() => f.value.map((g) => g.id)), d = N(""), h = N({}), T = S(() => !Object.keys(h.value).length), E = xe(), $ = N(""), I = N("");
2487
+ te($, (g, _) => {
2488
+ !g.trim().length && !_.trim().length || se(g);
2416
2489
  });
2417
- const A = I(() => Xe({
2490
+ const L = S(() => tt({
2418
2491
  state: h.value,
2419
- filterKey: b.value
2492
+ filterKey: I.value
2420
2493
  }));
2421
- function V(g, C = [], P = []) {
2422
- return C.push(g.id), g.children?.length === 0 && P.push([...C]), Array.isArray(g.children) && g.children.forEach((B) => {
2423
- V(B, C, P);
2424
- }), C.pop(), P;
2494
+ function V(g, _ = [], P = []) {
2495
+ return _.push(g.id), g.children?.length === 0 && P.push([..._]), Array.isArray(g.children) && g.children.forEach((Z) => {
2496
+ V(Z, _, P);
2497
+ }), _.pop(), P;
2425
2498
  }
2426
- function _(g, C) {
2499
+ function w(g, _) {
2427
2500
  const P = [];
2428
- return g?.forEach((B) => {
2429
- P.push(...B.slice(0, C + 1));
2501
+ return g?.forEach((Z) => {
2502
+ P.push(...Z.slice(0, _ + 1));
2430
2503
  }), [...new Set(P)];
2431
2504
  }
2432
2505
  function D(g) {
2433
- const C = [], P = (B) => {
2434
- B?.forEach((le) => {
2435
- C.push(le), le.children?.length && P(le.children);
2506
+ const _ = [], P = (Z) => {
2507
+ Z?.forEach((ae) => {
2508
+ _.push(ae), ae.children?.length && P(ae.children);
2436
2509
  });
2437
2510
  };
2438
- return P(g), C;
2511
+ return P(g), _;
2439
2512
  }
2440
- function Z() {
2441
- R.value.getInspectorNodeActions(l.value).then((g) => {
2513
+ function B() {
2514
+ A.value.getInspectorNodeActions(l.value).then((g) => {
2442
2515
  s.value = g;
2443
2516
  });
2444
2517
  }
2445
- function K() {
2446
- R.value.getInspectorActions(l.value).then((g) => {
2518
+ function G() {
2519
+ A.value.getInspectorActions(l.value).then((g) => {
2447
2520
  p.value = g;
2448
2521
  });
2449
2522
  }
2450
- Z(), K();
2451
- function G(g) {
2452
- R.value.callInspectorNodeAction(l.value, g, d.value);
2523
+ B(), G();
2524
+ function W(g) {
2525
+ A.value.callInspectorNodeAction(l.value, g, d.value);
2453
2526
  }
2454
- function H(g) {
2455
- R.value.callInspectorAction(l.value, g);
2527
+ function O(g) {
2528
+ A.value.callInspectorAction(l.value, g);
2456
2529
  }
2457
- function w(g) {
2458
- for (const C in g)
2459
- g[C]?.length || delete g[C];
2530
+ function C(g) {
2531
+ for (const _ in g)
2532
+ g[_]?.length || delete g[_];
2460
2533
  return g;
2461
2534
  }
2462
- function O(g) {
2463
- R.value.getInspectorState({ inspectorId: l.value, nodeId: g }).then((C) => {
2464
- const P = ee(C);
2465
- P && (h.value = w(P), o.value = Array.from({ length: Object.keys(h.value).length }, (B, le) => `${le}`));
2535
+ function U(g) {
2536
+ A.value.getInspectorState({ inspectorId: l.value, nodeId: g }).then((_) => {
2537
+ const P = ne(_);
2538
+ P && (h.value = C(P), o.value = Array.from({ length: Object.keys(h.value).length }, (Z, ae) => `${ae}`));
2466
2539
  });
2467
2540
  }
2468
- function te() {
2541
+ function oe() {
2469
2542
  h.value = {};
2470
2543
  }
2471
- Q(d, () => {
2472
- te(), O(d.value);
2544
+ te(d, () => {
2545
+ oe(), U(d.value);
2473
2546
  });
2474
- function oe(g = "") {
2475
- R.value.getInspectorTree({ inspectorId: l.value, filter: g }).then((C) => {
2476
- const P = ee(C);
2477
- r.value = P, !d.value && P.length && (d.value = P[0].id, e.value = _(i.value, 1), O(P[0].id));
2547
+ function se(g = "") {
2548
+ A.value.getInspectorTree({ inspectorId: l.value, filter: g }).then((_) => {
2549
+ const P = ne(_);
2550
+ r.value = P, !d.value && P.length && (d.value = P[0].id, e.value = w(i.value, 1), U(P[0].id));
2478
2551
  });
2479
2552
  }
2480
- Bt(l).toBeTruthy().then(() => oe());
2481
- function M(g) {
2482
- const C = ee(g);
2483
- !C.rootNodes.length || C.inspectorId !== l.value || (r.value = C.rootNodes, v.value.includes(d.value) || (d.value = r.value?.[0]?.id, e.value = _(i.value, 1)));
2553
+ Gt(l).toBeTruthy().then(() => se());
2554
+ function R(g) {
2555
+ const _ = ne(g);
2556
+ !_.rootNodes.length || _.inspectorId !== l.value || (r.value = _.rootNodes, v.value.includes(d.value) || (d.value = r.value?.[0]?.id, e.value = w(i.value, 1)));
2484
2557
  }
2485
- function x(g) {
2486
- const C = ee(g);
2487
- if (C.inspectorId !== l.value || !C.state || C.nodeId !== d.value)
2558
+ function k(g) {
2559
+ const _ = ne(g);
2560
+ if (_.inspectorId !== l.value || !_.state || _.nodeId !== d.value)
2488
2561
  return;
2489
- const { inspectorId: P, ...B } = C.state;
2490
- h.value = w(B);
2491
- }
2492
- return Re(() => {
2493
- R.functions.on(Y.INSPECTOR_TREE_UPDATED, M), R.functions.on(Y.INSPECTOR_STATE_UPDATED, x);
2494
- }), we(() => {
2495
- R.functions.off(Y.INSPECTOR_TREE_UPDATED, M), R.functions.off(Y.INSPECTOR_STATE_UPDATED, x);
2496
- }), (g, C) => (c(), m("div", Yl, [
2497
- y(Se, {
2498
- "doc-link": a(t).homepage
2562
+ const { inspectorId: P, ...Z } = _.state;
2563
+ h.value = C(Z);
2564
+ }
2565
+ return De(() => {
2566
+ A.functions.on(X.INSPECTOR_TREE_UPDATED, R), A.functions.on(X.INSPECTOR_STATE_UPDATED, k);
2567
+ }), ke(() => {
2568
+ A.functions.off(X.INSPECTOR_TREE_UPDATED, R), A.functions.off(X.INSPECTOR_STATE_UPDATED, k);
2569
+ }), (g, _) => (c(), m("div", os, [
2570
+ x(Te, {
2571
+ "doc-link": a(n).homepage
2499
2572
  }, {
2500
- default: L(() => [
2501
- y(Te)
2573
+ default: H(() => [
2574
+ x(Ee)
2502
2575
  ]),
2503
2576
  _: 1
2504
2577
  }, 8, ["doc-link"]),
2505
- !r.value.length && !k.value.trim().length ? (c(), z(Ie, { key: 0 }, {
2506
- default: L(() => C[3] || (C[3] = [
2507
- X(" No Data ", -1)
2578
+ !r.value.length && !$.value.trim().length ? (c(), z($e, { key: 0 }, {
2579
+ default: H(() => _[3] || (_[3] = [
2580
+ Q(" No Data ", -1)
2508
2581
  ])),
2509
2582
  _: 1,
2510
2583
  __: [3]
2511
- })) : (c(), z(a(De), {
2584
+ })) : (c(), z(a(Pe), {
2512
2585
  key: 1,
2513
2586
  class: "flex-1 overflow-auto"
2514
2587
  }, {
2515
- default: L(() => [
2516
- y(a(ce), {
2588
+ default: H(() => [
2589
+ x(a(de), {
2517
2590
  border: "r base",
2518
2591
  size: "40",
2519
2592
  "h-full": ""
2520
2593
  }, {
2521
- default: L(() => [
2522
- u("div", Xl, [
2523
- u("div", Ql, [
2524
- y(a(he), {
2525
- modelValue: k.value,
2526
- "onUpdate:modelValue": C[0] || (C[0] = (P) => k.value = P),
2594
+ default: H(() => [
2595
+ u("div", ls, [
2596
+ u("div", ss, [
2597
+ x(a(Ce), {
2598
+ modelValue: $.value,
2599
+ "onUpdate:modelValue": _[0] || (_[0] = (P) => $.value = P),
2527
2600
  placeholder: a(E).treeFilterPlaceholder
2528
2601
  }, null, 8, ["modelValue", "placeholder"]),
2529
- p.value?.length ? (c(), m("div", e1, [
2530
- (c(!0), m(ne, null, ue(p.value, (P, B) => W((c(), m("div", {
2531
- key: B,
2602
+ p.value?.length ? (c(), m("div", as, [
2603
+ (c(!0), m(le, null, ce(p.value, (P, Z) => q((c(), m("div", {
2604
+ key: Z,
2532
2605
  class: "flex items-center gap1",
2533
- onClick: (le) => H(B)
2606
+ onClick: (ae) => O(Z)
2534
2607
  }, [
2535
- y(a(je), {
2608
+ x(a(Ze), {
2536
2609
  name: `baseline-${P.icon.replace(/\_/g, "-")}`,
2537
2610
  "cursor-pointer": "",
2538
2611
  "text-base": "",
2539
2612
  op70: "",
2540
2613
  "hover:op100": ""
2541
2614
  }, null, 8, ["name"])
2542
- ], 8, t1)), [
2615
+ ], 8, is)), [
2543
2616
  [
2544
- a(q),
2617
+ a(Y),
2545
2618
  { content: P.tooltip },
2546
2619
  void 0,
2547
2620
  { "bottom-end": !0 }
2548
2621
  ]
2549
2622
  ])), 128))
2550
- ])) : U("", !0)
2623
+ ])) : j("", !0)
2551
2624
  ]),
2552
- r.value.length ? (c(), m("div", n1, [
2553
- y(Me, {
2625
+ r.value.length ? (c(), m("div", rs, [
2626
+ x(Oe, {
2554
2627
  modelValue: d.value,
2555
- "onUpdate:modelValue": C[1] || (C[1] = (P) => d.value = P),
2628
+ "onUpdate:modelValue": _[1] || (_[1] = (P) => d.value = P),
2556
2629
  data: r.value
2557
2630
  }, null, 8, ["modelValue", "data"])
2558
- ])) : (c(), z(Ie, { key: 1 }, {
2559
- default: L(() => C[4] || (C[4] = [
2560
- X(" No Data ", -1)
2631
+ ])) : (c(), z($e, { key: 1 }, {
2632
+ default: H(() => _[4] || (_[4] = [
2633
+ Q(" No Data ", -1)
2561
2634
  ])),
2562
2635
  _: 1,
2563
2636
  __: [4]
@@ -2566,48 +2639,48 @@ const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2566
2639
  ]),
2567
2640
  _: 1
2568
2641
  }),
2569
- y(a(ce), { size: "60" }, {
2570
- default: L(() => [
2571
- u("div", o1, [
2572
- u("div", l1, [
2573
- y(a(he), {
2574
- modelValue: b.value,
2575
- "onUpdate:modelValue": C[2] || (C[2] = (P) => b.value = P),
2642
+ x(a(de), { size: "60" }, {
2643
+ default: H(() => [
2644
+ u("div", us, [
2645
+ u("div", cs, [
2646
+ x(a(Ce), {
2647
+ modelValue: I.value,
2648
+ "onUpdate:modelValue": _[2] || (_[2] = (P) => I.value = P),
2576
2649
  placeholder: a(E).stateFilterPlaceholder
2577
2650
  }, null, 8, ["modelValue", "placeholder"]),
2578
- s.value?.length ? (c(), m("div", s1, [
2579
- (c(!0), m(ne, null, ue(s.value, (P, B) => W((c(), m("div", {
2580
- key: B,
2651
+ s.value?.length ? (c(), m("div", ds, [
2652
+ (c(!0), m(le, null, ce(s.value, (P, Z) => q((c(), m("div", {
2653
+ key: Z,
2581
2654
  class: "flex items-center gap1",
2582
- onClick: (le) => G(B)
2655
+ onClick: (ae) => W(Z)
2583
2656
  }, [
2584
- y(a(je), {
2657
+ x(a(Ze), {
2585
2658
  name: `baseline-${P.icon.replace(/\_/g, "-")}`,
2586
2659
  "cursor-pointer": "",
2587
2660
  "text-base": "",
2588
2661
  op70: "",
2589
2662
  "hover:op100": ""
2590
2663
  }, null, 8, ["name"])
2591
- ], 8, a1)), [
2664
+ ], 8, ps)), [
2592
2665
  [
2593
- a(q),
2666
+ a(Y),
2594
2667
  { content: P.tooltip },
2595
2668
  void 0,
2596
2669
  { "bottom-end": !0 }
2597
2670
  ]
2598
2671
  ])), 128))
2599
- ])) : U("", !0)
2672
+ ])) : j("", !0)
2600
2673
  ]),
2601
- d.value && !$.value ? (c(), z(Ae, {
2674
+ d.value && !T.value ? (c(), z(He, {
2602
2675
  key: 0,
2603
- data: A.value,
2676
+ data: L.value,
2604
2677
  "node-id": d.value,
2605
2678
  "inspector-id": l.value,
2606
2679
  "expanded-state-id": "custom-inspector-state",
2607
2680
  class: "no-scrollbar flex-1 overflow-scroll"
2608
- }, null, 8, ["data", "node-id", "inspector-id"])) : (c(), z(Ie, { key: 1 }, {
2609
- default: L(() => C[5] || (C[5] = [
2610
- X(" No Data ", -1)
2681
+ }, null, 8, ["data", "node-id", "inspector-id"])) : (c(), z($e, { key: 1 }, {
2682
+ default: H(() => _[5] || (_[5] = [
2683
+ Q(" No Data ", -1)
2611
2684
  ])),
2612
2685
  _: 1,
2613
2686
  __: [5]
@@ -2621,61 +2694,61 @@ const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2621
2694
  }))
2622
2695
  ]));
2623
2696
  }
2624
- }), r1 = /* @__PURE__ */ F({
2697
+ }), vs = /* @__PURE__ */ F({
2625
2698
  __name: "Index",
2626
- setup(n) {
2627
- const e = _e();
2628
- return (o, t) => (c(), z(it, {
2699
+ setup(t) {
2700
+ const e = xe();
2701
+ return (o, n) => (c(), z(ct, {
2629
2702
  "layer-ids": a(e).timelineLayerIds,
2630
2703
  "doc-link": a(e).homepage,
2631
2704
  "plugin-id": a(e).pluginId
2632
2705
  }, null, 8, ["layer-ids", "doc-link", "plugin-id"]));
2633
2706
  }
2634
- }), u1 = {
2707
+ }), ms = {
2635
2708
  "h-full": "",
2636
2709
  "w-full": ""
2637
- }, c1 = { key: 0 }, fs = /* @__PURE__ */ F({
2710
+ }, hs = { key: 0 }, y1 = /* @__PURE__ */ F({
2638
2711
  __name: "index",
2639
2712
  props: {
2640
2713
  id: {},
2641
2714
  pluginId: {}
2642
2715
  },
2643
2716
  emits: ["loadError"],
2644
- setup(n, { emit: e }) {
2645
- const o = n, t = e, l = rt(), s = N(!1), p = N(null);
2646
- ye("pluginSettings", p);
2647
- const r = I(() => [
2717
+ setup(t, { emit: e }) {
2718
+ const o = t, n = e, l = dt(), s = N(!1), p = N(null);
2719
+ _e("pluginSettings", p);
2720
+ const r = S(() => [
2648
2721
  {
2649
2722
  path: "/state",
2650
2723
  name: "State",
2651
- component: i1,
2724
+ component: fs,
2652
2725
  icon: "i-carbon-tree-view-alt"
2653
2726
  },
2654
2727
  l.value.timelineLayerIds?.length && {
2655
2728
  path: "/timeline",
2656
2729
  name: "Timeline",
2657
- component: r1,
2730
+ component: vs,
2658
2731
  icon: "i-mdi:timeline-clock-outline"
2659
2732
  },
2660
2733
  {
2661
2734
  path: "/about",
2662
2735
  name: "About",
2663
- component: Bl
2736
+ component: ql
2664
2737
  },
2665
2738
  p.value && {
2666
2739
  path: "/settings",
2667
2740
  name: "Settings",
2668
- component: Jl,
2741
+ component: ns,
2669
2742
  icon: "i-mdi:cog-outline"
2670
2743
  }
2671
- ].filter(Boolean)), { VirtualRouterView: i, restoreRouter: f } = et(r, {
2744
+ ].filter(Boolean)), { VirtualRouterView: i, restoreRouter: f } = ot(r, {
2672
2745
  defaultRoutePath: "/state"
2673
2746
  });
2674
2747
  function v() {
2675
- s.value = !0, Re(() => {
2676
- R.value.getInspectorInfo(o.id).then((d) => {
2748
+ s.value = !0, De(() => {
2749
+ A.value.getInspectorInfo(o.id).then((d) => {
2677
2750
  if (!d) {
2678
- t("loadError");
2751
+ n("loadError");
2679
2752
  return;
2680
2753
  }
2681
2754
  const h = {
@@ -2683,69 +2756,69 @@ const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2683
2756
  id: d?.id,
2684
2757
  label: d?.label,
2685
2758
  logo: d?.logo,
2686
- timelineLayerIds: d?.timelineLayers.map(($) => $.id),
2759
+ timelineLayerIds: d?.timelineLayers.map((T) => T.id),
2687
2760
  pluginId: o.pluginId,
2688
2761
  treeFilterPlaceholder: d.treeFilterPlaceholder,
2689
2762
  stateFilterPlaceholder: d.stateFilterPlaceholder
2690
2763
  };
2691
2764
  l.value = h, f(), s.value = !1;
2692
- }), R.value.getPluginSettings(o.pluginId).then((d) => {
2765
+ }), A.value.getPluginSettings(o.pluginId).then((d) => {
2693
2766
  d.options ? p.value = d : p.value = null;
2694
2767
  });
2695
2768
  });
2696
2769
  }
2697
- return Q(() => o.id, () => {
2770
+ return te(() => o.id, () => {
2698
2771
  v();
2699
2772
  }, {
2700
2773
  immediate: !0
2701
- }), we(() => {
2702
- R.value.unhighlight();
2703
- }), (d, h) => (c(), m("div", u1, [
2704
- s.value ? (c(), m("div", c1, [
2705
- y(Il)
2774
+ }), ke(() => {
2775
+ A.value.unhighlight();
2776
+ }), (d, h) => (c(), m("div", ms, [
2777
+ s.value ? (c(), m("div", hs, [
2778
+ x(Nl)
2706
2779
  ])) : (c(), z(a(i), { key: 1 }))
2707
2780
  ]));
2708
2781
  }
2709
- }), d1 = {}, p1 = {
2782
+ }), gs = {}, Cs = {
2710
2783
  viewBox: "0 0 566 154",
2711
2784
  fill: "none",
2712
2785
  xmlns: "http://www.w3.org/2000/svg"
2713
2786
  };
2714
- function f1(n, e) {
2715
- return c(), m("svg", p1, e[0] || (e[0] = [
2716
- cn('<svg height="130" viewBox="0 0 319 477" width="180" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset="0" stop-color="#52ce63"></stop><stop offset="1" stop-color="#51a256"></stop></linearGradient><linearGradient id="b" x1="55.342075%" x2="42.816933%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="c" x1="55.348642%" x2="42.808103%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="d" x1="50%" x2="50%" y1="0%" y2="58.811243%"><stop offset="0" stop-color="#8ae99c"></stop><stop offset="1" stop-color="#52ce63"></stop></linearGradient><linearGradient id="e" x1="51.37763%" x2="44.584719%" y1="17.472551%" y2="100%"><stop offset="0" stop-color="#ffe56c"></stop><stop offset="1" stop-color="#ffc63a"></stop></linearGradient><g fill="none" fill-rule="evenodd" transform="translate(-34 -24)"><g transform="matrix(.99254615 .12186934 -.12186934 .99254615 33.922073 .976691)"><path d="m103.950535 258.274149c44.361599-4.360825 60.014503-40.391282 65.353094-94.699444s-30.93219-103.451001-46.020347-101.9678079c-15.088156 1.4831932-63.0385313 58.9051239-68.3771222 113.2132869-5.3385908 54.308162 4.6827754 87.814791 49.0443752 83.453965z" fill="url(#b)" transform="matrix(.70710678 -.70710678 .70710678 .70710678 -80.496332 125.892944)"></path><path d="m275.876752 258.273992c44.3616 4.360826 53.167133-29.265322 47.828542-83.573485-5.338591-54.308162-52.073133-111.6105744-67.16129-113.0937675-15.088156-1.4831931-52.57477 47.5401275-47.236179 101.8482895s22.207328 90.458137 66.568927 94.818963z" fill="url(#c)" transform="matrix(.70710678 .70710678 -.70710678 .70710678 191.403399 -141.861963)"></path><path d="m188.370027 216.876305c39.941834 0 50.95265-38.251987 50.95265-97.89874 0-59.6467532-37.367733-118.10125956-50.95265-118.10125956s-52.04735 58.45450636-52.04735 118.10125956c0 59.646753 12.105516 97.89874 52.04735 97.89874z" fill="url(#d)"></path></g><path d="m184.473473 501c83.118854 0 150.526527-24.145148 150.526527-133.645148s-67.407673-199.354852-150.526527-199.354852c-83.118855 0-150.473473 89.854852-150.473473 199.354852s67.354618 133.645148 150.473473 133.645148z" fill="url(#e)"></path><ellipse cx="260.5" cy="335" fill="#eaadcc" rx="21.5" ry="10"></ellipse><ellipse cx="102.5" cy="329" fill="#eaadcc" rx="21.5" ry="10" transform="matrix(.99254615 .12186934 -.12186934 .99254615 40.859033 -10.039292)"></ellipse><g transform="matrix(-.99939083 .0348995 .0348995 .99939083 269.284825 271.027667)"><path d="m73.1046985 58.2728794c6.7372416 4.9130333 14.3132632 6.6640587 22.7280649 5.2530761 8.4148016-1.4109825 14.5054466-5.2535769 18.2719346-11.527783" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="6" transform="matrix(.9998477 .01745241 -.01745241 .9998477 1.026464 -1.624794)"></path><path d="m154.501124 3c-5.937545 0-11.312782 2.40629805-15.203644 6.29680621-3.89094 3.89058529-6.29748 9.26545449-6.29748 15.20263179 0 5.9376888 2.406488 11.3127422 6.297291 15.2034272 3.890886 3.8907673 9.266197 6.2971348 15.203833 6.2971348 5.937109 0 11.311896-2.4063889 15.202387-6.2972348 3.890299-3.8906535 6.296489-9.2656636 6.296489-15.2033272 0-5.9371521-2.406242-11.3119781-6.296677-15.20253181-3.890469-3.89058674-9.265181-6.29690619-15.202199-6.29690619z" fill="#000"></path><path d="m154 21c0-3.865549 3.135362-7 6.999413-7 3.866399 0 7.000587 3.134451 7.000587 7s-3.134188 7-7.000587 7c-3.864051-.0011735-6.999413-3.134451-6.999413-7z" fill="#fff"></path><path d="m24.5 13c-5.9375292 0-11.312426 2.406268-15.20299427 6.2967181-3.89069464 3.8905765-6.29700573 9.2654765-6.29700573 15.2027199 0 5.9377549 2.40625962 11.3128391 6.29681766 15.2035153 3.89059104 3.8907092 9.26556184 6.2970467 15.20318234 6.2970467 5.9371249 0 11.3122514-2.406419 15.2030371-6.2973229 3.8905441-3.8906623 6.2969629-9.2656416 6.2969629-15.2032391 0-5.937086-2.4064703-11.3118811-6.297151-15.2024437-3.890763-3.8906448-9.2658154-6.2969943-15.202849-6.2969943z" fill="#000"></path><g fill="#fff"><path d="m136 24.499438c0 10.2185232 8.282911 18.500562 18.501124 18.500562 10.217089 0 18.498876-8.2820388 18.498876-18.500562 0-10.2173992-8.281787-18.499438-18.498876-18.499438-10.218213 0-18.501124 8.2820388-18.501124 18.499438zm-6 0c0-13.5311954 10.96929-24.499438 24.501124-24.499438 13.530838 0 24.498876 10.9683711 24.498876 24.499438 0 13.5319607-10.967808 24.500562-24.498876 24.500562-13.532064 0-24.501124-10.9684728-24.501124-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m6 34.499438c0 10.2185232 8.2817873 18.500562 18.5 18.500562 10.2170889 0 18.5-8.2820388 18.5-18.500562 0-10.2173992-8.2829111-18.499438-18.5-18.499438-10.2182127 0-18.5 8.2820388-18.5 18.499438zm-6 0c0-13.531297 10.9682681-24.499438 24.5-24.499438 13.5309398 0 24.5 10.9684728 24.5 24.499438 0 13.5318591-10.96883 24.500562-24.5 24.500562-13.531962 0-24.5-10.9683711-24.5-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m24 31c0-3.865549 3.134451-7 7-7s7 3.134451 7 7-3.134451 7-7 7-7-3.134451-7-7z"></path></g></g><g stroke-linecap="round" stroke-width="11"><g stroke="#ecb732"><path d="m70.5 377.5 74 77"></path><path d="m134.5 386.5-47 50"></path></g><g stroke="#ecb732" transform="matrix(-1 0 0 1 298 377)"><path d="m.5.5 74 77"></path><path d="m64.5 9.5-47 50"></path></g><g stroke="#ffc73b" transform="matrix(0 1 -1 0 215 207)"><path d="m.5.5 49 49"></path><path d="m.5 10.5 49 49" transform="matrix(-1 0 0 1 50 0)"></path></g></g></g></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>', 2)
2787
+ function ys(t, e) {
2788
+ return c(), m("svg", Cs, e[0] || (e[0] = [
2789
+ mn('<svg height="130" viewBox="0 0 319 477" width="180" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset="0" stop-color="#52ce63"></stop><stop offset="1" stop-color="#51a256"></stop></linearGradient><linearGradient id="b" x1="55.342075%" x2="42.816933%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="c" x1="55.348642%" x2="42.808103%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="d" x1="50%" x2="50%" y1="0%" y2="58.811243%"><stop offset="0" stop-color="#8ae99c"></stop><stop offset="1" stop-color="#52ce63"></stop></linearGradient><linearGradient id="e" x1="51.37763%" x2="44.584719%" y1="17.472551%" y2="100%"><stop offset="0" stop-color="#ffe56c"></stop><stop offset="1" stop-color="#ffc63a"></stop></linearGradient><g fill="none" fill-rule="evenodd" transform="translate(-34 -24)"><g transform="matrix(.99254615 .12186934 -.12186934 .99254615 33.922073 .976691)"><path d="m103.950535 258.274149c44.361599-4.360825 60.014503-40.391282 65.353094-94.699444s-30.93219-103.451001-46.020347-101.9678079c-15.088156 1.4831932-63.0385313 58.9051239-68.3771222 113.2132869-5.3385908 54.308162 4.6827754 87.814791 49.0443752 83.453965z" fill="url(#b)" transform="matrix(.70710678 -.70710678 .70710678 .70710678 -80.496332 125.892944)"></path><path d="m275.876752 258.273992c44.3616 4.360826 53.167133-29.265322 47.828542-83.573485-5.338591-54.308162-52.073133-111.6105744-67.16129-113.0937675-15.088156-1.4831931-52.57477 47.5401275-47.236179 101.8482895s22.207328 90.458137 66.568927 94.818963z" fill="url(#c)" transform="matrix(.70710678 .70710678 -.70710678 .70710678 191.403399 -141.861963)"></path><path d="m188.370027 216.876305c39.941834 0 50.95265-38.251987 50.95265-97.89874 0-59.6467532-37.367733-118.10125956-50.95265-118.10125956s-52.04735 58.45450636-52.04735 118.10125956c0 59.646753 12.105516 97.89874 52.04735 97.89874z" fill="url(#d)"></path></g><path d="m184.473473 501c83.118854 0 150.526527-24.145148 150.526527-133.645148s-67.407673-199.354852-150.526527-199.354852c-83.118855 0-150.473473 89.854852-150.473473 199.354852s67.354618 133.645148 150.473473 133.645148z" fill="url(#e)"></path><ellipse cx="260.5" cy="335" fill="#eaadcc" rx="21.5" ry="10"></ellipse><ellipse cx="102.5" cy="329" fill="#eaadcc" rx="21.5" ry="10" transform="matrix(.99254615 .12186934 -.12186934 .99254615 40.859033 -10.039292)"></ellipse><g transform="matrix(-.99939083 .0348995 .0348995 .99939083 269.284825 271.027667)"><path d="m73.1046985 58.2728794c6.7372416 4.9130333 14.3132632 6.6640587 22.7280649 5.2530761 8.4148016-1.4109825 14.5054466-5.2535769 18.2719346-11.527783" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="6" transform="matrix(.9998477 .01745241 -.01745241 .9998477 1.026464 -1.624794)"></path><path d="m154.501124 3c-5.937545 0-11.312782 2.40629805-15.203644 6.29680621-3.89094 3.89058529-6.29748 9.26545449-6.29748 15.20263179 0 5.9376888 2.406488 11.3127422 6.297291 15.2034272 3.890886 3.8907673 9.266197 6.2971348 15.203833 6.2971348 5.937109 0 11.311896-2.4063889 15.202387-6.2972348 3.890299-3.8906535 6.296489-9.2656636 6.296489-15.2033272 0-5.9371521-2.406242-11.3119781-6.296677-15.20253181-3.890469-3.89058674-9.265181-6.29690619-15.202199-6.29690619z" fill="#000"></path><path d="m154 21c0-3.865549 3.135362-7 6.999413-7 3.866399 0 7.000587 3.134451 7.000587 7s-3.134188 7-7.000587 7c-3.864051-.0011735-6.999413-3.134451-6.999413-7z" fill="#fff"></path><path d="m24.5 13c-5.9375292 0-11.312426 2.406268-15.20299427 6.2967181-3.89069464 3.8905765-6.29700573 9.2654765-6.29700573 15.2027199 0 5.9377549 2.40625962 11.3128391 6.29681766 15.2035153 3.89059104 3.8907092 9.26556184 6.2970467 15.20318234 6.2970467 5.9371249 0 11.3122514-2.406419 15.2030371-6.2973229 3.8905441-3.8906623 6.2969629-9.2656416 6.2969629-15.2032391 0-5.937086-2.4064703-11.3118811-6.297151-15.2024437-3.890763-3.8906448-9.2658154-6.2969943-15.202849-6.2969943z" fill="#000"></path><g fill="#fff"><path d="m136 24.499438c0 10.2185232 8.282911 18.500562 18.501124 18.500562 10.217089 0 18.498876-8.2820388 18.498876-18.500562 0-10.2173992-8.281787-18.499438-18.498876-18.499438-10.218213 0-18.501124 8.2820388-18.501124 18.499438zm-6 0c0-13.5311954 10.96929-24.499438 24.501124-24.499438 13.530838 0 24.498876 10.9683711 24.498876 24.499438 0 13.5319607-10.967808 24.500562-24.498876 24.500562-13.532064 0-24.501124-10.9684728-24.501124-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m6 34.499438c0 10.2185232 8.2817873 18.500562 18.5 18.500562 10.2170889 0 18.5-8.2820388 18.5-18.500562 0-10.2173992-8.2829111-18.499438-18.5-18.499438-10.2182127 0-18.5 8.2820388-18.5 18.499438zm-6 0c0-13.531297 10.9682681-24.499438 24.5-24.499438 13.5309398 0 24.5 10.9684728 24.5 24.499438 0 13.5318591-10.96883 24.500562-24.5 24.500562-13.531962 0-24.5-10.9683711-24.5-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m24 31c0-3.865549 3.134451-7 7-7s7 3.134451 7 7-3.134451 7-7 7-7-3.134451-7-7z"></path></g></g><g stroke-linecap="round" stroke-width="11"><g stroke="#ecb732"><path d="m70.5 377.5 74 77"></path><path d="m134.5 386.5-47 50"></path></g><g stroke="#ecb732" transform="matrix(-1 0 0 1 298 377)"><path d="m.5.5 74 77"></path><path d="m64.5 9.5-47 50"></path></g><g stroke="#ffc73b" transform="matrix(0 1 -1 0 215 207)"><path d="m.5.5 49 49"></path><path d="m.5 10.5 49 49" transform="matrix(-1 0 0 1 50 0)"></path></g></g></g></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>', 2)
2717
2790
  ]));
2718
2791
  }
2719
- const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2792
+ const _s = /* @__PURE__ */ be(gs, [["render", ys]]), xs = {
2720
2793
  "h-full": "",
2721
2794
  "w-full": "",
2722
2795
  flex: "",
2723
2796
  "items-center": ""
2724
- }, h1 = {
2797
+ }, bs = {
2725
2798
  flex: "~ col gap2",
2726
2799
  ma: "",
2727
2800
  "px-5": ""
2728
- }, g1 = {
2801
+ }, ws = {
2729
2802
  flex: "~ col",
2730
2803
  "mt-20": "",
2731
2804
  "items-center": ""
2732
- }, C1 = {
2805
+ }, ks = {
2733
2806
  flex: "~",
2734
2807
  "mt--10": "",
2735
2808
  "items-center": "",
2736
2809
  "justify-center": ""
2737
- }, y1 = { flex: "~ gap2 wrap" }, _1 = /* @__PURE__ */ F({
2810
+ }, Is = { flex: "~ gap2 wrap" }, $s = /* @__PURE__ */ F({
2738
2811
  __name: "About",
2739
- setup(n) {
2740
- const e = Pe();
2741
- return (o, t) => (c(), m("div", m1, [
2742
- u("div", h1, [
2743
- t[5] || (t[5] = u("div", { "flex-auto": "" }, null, -1)),
2744
- u("div", g1, [
2745
- u("div", C1, [
2746
- y(v1, { "h-18": "" })
2812
+ setup(t) {
2813
+ const e = Le();
2814
+ return (o, n) => (c(), m("div", xs, [
2815
+ u("div", bs, [
2816
+ n[5] || (n[5] = u("div", { "flex-auto": "" }, null, -1)),
2817
+ u("div", ws, [
2818
+ u("div", ks, [
2819
+ x(_s, { "h-18": "" })
2747
2820
  ]),
2748
- t[2] || (t[2] = u("div", {
2821
+ n[2] || (n[2] = u("div", {
2749
2822
  mb6: "",
2750
2823
  "mt--1": "",
2751
2824
  "text-center": "",
@@ -2755,15 +2828,15 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2755
2828
  u("span", { op40: "" }, " Pinia DevTools ")
2756
2829
  ], -1))
2757
2830
  ]),
2758
- t[6] || (t[6] = u("div", { "flex-auto": "" }, null, -1)),
2759
- u("div", y1, [
2831
+ n[6] || (n[6] = u("div", { "flex-auto": "" }, null, -1)),
2832
+ u("div", Is, [
2760
2833
  u("div", {
2761
2834
  flex: "~ col auto",
2762
2835
  "min-w-40": "",
2763
2836
  "theme-card-lime": "",
2764
2837
  p4: "",
2765
- onClick: t[0] || (t[0] = (l) => a(e).push("/store"))
2766
- }, t[3] || (t[3] = [
2838
+ onClick: n[0] || (n[0] = (l) => a(e).push("/store"))
2839
+ }, n[3] || (n[3] = [
2767
2840
  u("div", {
2768
2841
  "i-carbon-tree-view-alt": "",
2769
2842
  "text-3xl": ""
@@ -2775,8 +2848,8 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2775
2848
  "min-w-40": "",
2776
2849
  "theme-card-lime": "",
2777
2850
  p4: "",
2778
- onClick: t[1] || (t[1] = (l) => a(e).push("/timeline"))
2779
- }, t[4] || (t[4] = [
2851
+ onClick: n[1] || (n[1] = (l) => a(e).push("/timeline"))
2852
+ }, n[4] || (n[4] = [
2780
2853
  u("div", {
2781
2854
  "i-mdi:timeline-clock-outline": "",
2782
2855
  "text-3xl": ""
@@ -2784,7 +2857,7 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2784
2857
  u("div", null, "Timeline", -1)
2785
2858
  ]))
2786
2859
  ]),
2787
- t[7] || (t[7] = u("div", {
2860
+ n[7] || (n[7] = u("div", {
2788
2861
  flex: "~ gap-6 wrap",
2789
2862
  "mt-5": "",
2790
2863
  "items-center": "",
@@ -2800,7 +2873,7 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2800
2873
  transition: ""
2801
2874
  }, [
2802
2875
  u("div", { "i-carbon-star": "" }),
2803
- X(" Star on GitHub ")
2876
+ Q(" Star on GitHub ")
2804
2877
  ]),
2805
2878
  u("a", {
2806
2879
  href: "https://pinia.vuejs.org/",
@@ -2812,189 +2885,189 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2812
2885
  transition: ""
2813
2886
  }, [
2814
2887
  u("div", { "i-carbon-document": "" }),
2815
- X(" View Documentation ")
2888
+ Q(" View Documentation ")
2816
2889
  ])
2817
2890
  ], -1)),
2818
- t[8] || (t[8] = u("div", { "flex-auto": "" }, null, -1))
2891
+ n[8] || (n[8] = u("div", { "flex-auto": "" }, null, -1))
2819
2892
  ])
2820
2893
  ]));
2821
2894
  }
2822
- }), x1 = { class: "h-full flex flex-col" }, b1 = /* @__PURE__ */ F({
2895
+ }), Ss = { class: "h-full flex flex-col" }, Ts = /* @__PURE__ */ F({
2823
2896
  __name: "Settings",
2824
- setup(n) {
2825
- const e = me("pluginSettings"), o = I(() => e.value.options), t = I(() => e.value.values);
2897
+ setup(t) {
2898
+ const e = ge("pluginSettings"), o = S(() => e.value.options), n = S(() => e.value.values);
2826
2899
  function l(s) {
2827
2900
  e.value = s;
2828
2901
  }
2829
- return (s, p) => (c(), m("div", x1, [
2830
- y(Se, {
2902
+ return (s, p) => (c(), m("div", Ss, [
2903
+ x(Te, {
2831
2904
  "doc-link": "https://pinia.vuejs.org/",
2832
2905
  "github-repo-link": "https://github.com/vuejs/pinia"
2833
2906
  }, {
2834
- default: L(() => [
2835
- y(Te)
2907
+ default: H(() => [
2908
+ x(Ee)
2836
2909
  ]),
2837
2910
  _: 1
2838
2911
  }),
2839
- y(Jt, {
2912
+ x(en, {
2840
2913
  "plugin-id": "dev.esm.pinia",
2841
2914
  options: o.value,
2842
- values: t.value,
2915
+ values: n.value,
2843
2916
  onUpdate: l
2844
2917
  }, null, 8, ["options", "values"])
2845
2918
  ]));
2846
2919
  }
2847
- }), w1 = "dev.esm.pinia", Yt = "pinia", k1 = { class: "h-full flex flex-col" }, I1 = { class: "h-full flex flex-col p2" }, $1 = {
2920
+ }), Es = "dev.esm.pinia", tn = "pinia", Vs = { class: "h-full flex flex-col" }, Ns = { class: "h-full flex flex-col p2" }, As = {
2848
2921
  class: "grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",
2849
2922
  border: "b dashed base"
2850
- }, S1 = {
2923
+ }, Rs = {
2851
2924
  key: 0,
2852
2925
  class: "flex items-center gap-2 px-1"
2853
- }, T1 = ["onClick"], E1 = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, V1 = { class: "h-full flex flex-col p2" }, N1 = {
2926
+ }, Ds = ["onClick"], Ps = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, Ls = { class: "h-full flex flex-col p2" }, Ms = {
2854
2927
  class: "grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",
2855
2928
  border: "b dashed base"
2856
- }, R1 = {
2929
+ }, Hs = {
2857
2930
  key: 0,
2858
2931
  class: "flex items-center gap-2 px-1"
2859
- }, D1 = ["onClick"], P1 = /* @__PURE__ */ F({
2932
+ }, Os = ["onClick"], Us = /* @__PURE__ */ F({
2860
2933
  __name: "Index",
2861
- setup(n) {
2862
- const { expanded: e } = ge(), { expanded: o } = ge("pinia-store-state"), t = Yt, l = N([]), s = N([]), p = _e(), r = N(""), i = N([]), f = I(() => i.value?.length ? A(i.value?.[0]) : []), v = I(() => _(i.value)), d = I(() => v.value.map((x) => x.id)), h = N({}), $ = N(""), E = N("");
2863
- Q($, (x, g) => {
2864
- !x.trim().length && !g.trim().length || te(x);
2934
+ setup(t) {
2935
+ const { expanded: e } = ye(), { expanded: o } = ye("pinia-store-state"), n = tn, l = N([]), s = N([]), p = xe(), r = N(""), i = N([]), f = S(() => i.value?.length ? L(i.value?.[0]) : []), v = S(() => w(i.value)), d = S(() => v.value.map((k) => k.id)), h = N({}), T = N(""), E = N("");
2936
+ te(T, (k, g) => {
2937
+ !k.trim().length && !g.trim().length || oe(k);
2865
2938
  });
2866
- const k = I(() => Xe({
2939
+ const $ = S(() => tt({
2867
2940
  state: h.value,
2868
2941
  filterKey: E.value
2869
- })), b = I(() => !h.value.state?.length && !h.value.getters?.length);
2870
- function A(x, g = [], C = []) {
2871
- return g.push(x.id), x.children?.length === 0 && C.push([...g]), Array.isArray(x.children) && x.children.forEach((P) => {
2872
- A(P, g, C);
2873
- }), g.pop(), C;
2874
- }
2875
- function V(x, g) {
2876
- const C = [];
2877
- return x?.forEach((P) => {
2878
- C.push(...P.slice(0, g + 1));
2879
- }), [...new Set(C)];
2880
- }
2881
- function _(x) {
2882
- const g = [], C = (P) => {
2883
- P?.forEach((B) => {
2884
- g.push(B), B.children?.length && C(B.children);
2942
+ })), I = S(() => !h.value.state?.length && !h.value.getters?.length);
2943
+ function L(k, g = [], _ = []) {
2944
+ return g.push(k.id), k.children?.length === 0 && _.push([...g]), Array.isArray(k.children) && k.children.forEach((P) => {
2945
+ L(P, g, _);
2946
+ }), g.pop(), _;
2947
+ }
2948
+ function V(k, g) {
2949
+ const _ = [];
2950
+ return k?.forEach((P) => {
2951
+ _.push(...P.slice(0, g + 1));
2952
+ }), [...new Set(_)];
2953
+ }
2954
+ function w(k) {
2955
+ const g = [], _ = (P) => {
2956
+ P?.forEach((Z) => {
2957
+ g.push(Z), Z.children?.length && _(Z.children);
2885
2958
  });
2886
2959
  };
2887
- return C(x), g;
2960
+ return _(k), g;
2888
2961
  }
2889
2962
  function D() {
2890
- R.value.getInspectorNodeActions(t).then((x) => {
2891
- l.value = x;
2963
+ A.value.getInspectorNodeActions(n).then((k) => {
2964
+ l.value = k;
2892
2965
  });
2893
2966
  }
2894
- function Z() {
2895
- R.value.getInspectorActions(t).then((x) => {
2896
- s.value = x;
2967
+ function B() {
2968
+ A.value.getInspectorActions(n).then((k) => {
2969
+ s.value = k;
2897
2970
  });
2898
2971
  }
2899
- D(), Z();
2900
- function K(x) {
2901
- R.value.callInspectorNodeAction(t, x, r.value);
2972
+ D(), B();
2973
+ function G(k) {
2974
+ A.value.callInspectorNodeAction(n, k, r.value);
2902
2975
  }
2903
- function G(x) {
2904
- R.value.callInspectorAction(t, x);
2976
+ function W(k) {
2977
+ A.value.callInspectorAction(n, k);
2905
2978
  }
2906
- function H(x) {
2907
- for (const g in x)
2908
- x[g]?.length || delete x[g];
2909
- return x;
2979
+ function O(k) {
2980
+ for (const g in k)
2981
+ k[g]?.length || delete k[g];
2982
+ return k;
2910
2983
  }
2911
- function w(x) {
2912
- R.value.getInspectorState({ inspectorId: t, nodeId: x }).then((g) => {
2913
- const C = ee(g);
2914
- C && (h.value = H(C), o.value = Array.from({ length: Object.keys(h.value).length }, (P, B) => `${B}`));
2984
+ function C(k) {
2985
+ A.value.getInspectorState({ inspectorId: n, nodeId: k }).then((g) => {
2986
+ const _ = ne(g);
2987
+ _ && (h.value = O(_), o.value = Array.from({ length: Object.keys(h.value).length }, (P, Z) => `${Z}`));
2915
2988
  });
2916
2989
  }
2917
- function O() {
2990
+ function U() {
2918
2991
  h.value = {};
2919
2992
  }
2920
- Q(r, () => {
2921
- O(), w(r.value);
2993
+ te(r, () => {
2994
+ U(), C(r.value);
2922
2995
  });
2923
- function te(x = "") {
2924
- R.value.getInspectorTree({ inspectorId: t, filter: x }).then((g) => {
2925
- const C = ee(g);
2926
- i.value = C, !r.value && C.length && (r.value = C[0].id, w(C[0].id), e.value = V(f.value, 1));
2996
+ function oe(k = "") {
2997
+ A.value.getInspectorTree({ inspectorId: n, filter: k }).then((g) => {
2998
+ const _ = ne(g);
2999
+ i.value = _, !r.value && _.length && (r.value = _[0].id, C(_[0].id), e.value = V(f.value, 1));
2927
3000
  });
2928
3001
  }
2929
- te();
2930
- function oe(x) {
2931
- const g = ee(x);
2932
- g.inspectorId !== t || !g.rootNodes.length || (i.value = g.rootNodes, d.value.includes(r.value) || (r.value = g.rootNodes[0].id, e.value = V(f.value, 1), w(g.rootNodes[0].id)));
3002
+ oe();
3003
+ function se(k) {
3004
+ const g = ne(k);
3005
+ g.inspectorId !== n || !g.rootNodes.length || (i.value = g.rootNodes, d.value.includes(r.value) || (r.value = g.rootNodes[0].id, e.value = V(f.value, 1), C(g.rootNodes[0].id)));
2933
3006
  }
2934
- function M(x) {
2935
- const g = ee(x);
2936
- if (g.inspectorId !== t)
3007
+ function R(k) {
3008
+ const g = ne(k);
3009
+ if (g.inspectorId !== n)
2937
3010
  return;
2938
- const C = g.state;
2939
- C && (h.value = H({
2940
- state: C.state,
2941
- getters: C.getters
3011
+ const _ = g.state;
3012
+ _ && (h.value = O({
3013
+ state: _.state,
3014
+ getters: _.getters
2942
3015
  }));
2943
3016
  }
2944
- return R.functions.on(Y.INSPECTOR_TREE_UPDATED, oe), R.functions.on(Y.INSPECTOR_STATE_UPDATED, M), we(() => {
2945
- R.functions.off(Y.INSPECTOR_TREE_UPDATED, oe), R.functions.off(Y.INSPECTOR_STATE_UPDATED, M);
2946
- }), (x, g) => (c(), m("div", k1, [
2947
- y(Se, {
3017
+ return A.functions.on(X.INSPECTOR_TREE_UPDATED, se), A.functions.on(X.INSPECTOR_STATE_UPDATED, R), ke(() => {
3018
+ A.functions.off(X.INSPECTOR_TREE_UPDATED, se), A.functions.off(X.INSPECTOR_STATE_UPDATED, R);
3019
+ }), (k, g) => (c(), m("div", Vs, [
3020
+ x(Te, {
2948
3021
  "doc-link": "https://pinia.vuejs.org/",
2949
3022
  "github-repo-link": "https://github.com/vuejs/pinia"
2950
3023
  }, {
2951
- default: L(() => [
2952
- y(Te)
3024
+ default: H(() => [
3025
+ x(Ee)
2953
3026
  ]),
2954
3027
  _: 1
2955
3028
  }),
2956
- y(a(De), { class: "flex-1 overflow-auto" }, {
2957
- default: L(() => [
2958
- y(a(ce), {
3029
+ x(a(Pe), { class: "flex-1 overflow-auto" }, {
3030
+ default: H(() => [
3031
+ x(a(de), {
2959
3032
  border: "r base",
2960
3033
  size: "40",
2961
3034
  "h-full": ""
2962
3035
  }, {
2963
- default: L(() => [
2964
- u("div", I1, [
2965
- u("div", $1, [
2966
- y(a(he), {
2967
- modelValue: $.value,
2968
- "onUpdate:modelValue": g[0] || (g[0] = (C) => $.value = C),
3036
+ default: H(() => [
3037
+ u("div", Ns, [
3038
+ u("div", As, [
3039
+ x(a(Ce), {
3040
+ modelValue: T.value,
3041
+ "onUpdate:modelValue": g[0] || (g[0] = (_) => T.value = _),
2969
3042
  placeholder: a(p).treeFilterPlaceholder
2970
3043
  }, null, 8, ["modelValue", "placeholder"]),
2971
- s.value?.length ? (c(), m("div", S1, [
2972
- (c(!0), m(ne, null, ue(s.value, (C, P) => W((c(), m("div", {
3044
+ s.value?.length ? (c(), m("div", Rs, [
3045
+ (c(!0), m(le, null, ce(s.value, (_, P) => q((c(), m("div", {
2973
3046
  key: P,
2974
3047
  class: "flex items-center gap1",
2975
- onClick: (B) => G(P)
3048
+ onClick: (Z) => W(P)
2976
3049
  }, [
2977
3050
  u("i", {
2978
- class: ae(`i-ic-baseline-${C.icon.replace(/\_/g, "-")}`),
3051
+ class: ie(`i-ic-baseline-${_.icon.replace(/\_/g, "-")}`),
2979
3052
  "cursor-pointer": "",
2980
3053
  "text-base": "",
2981
3054
  op70: "",
2982
3055
  "hover:op100": ""
2983
3056
  }, null, 2)
2984
- ], 8, T1)), [
3057
+ ], 8, Ds)), [
2985
3058
  [
2986
- a(q),
2987
- { content: C.tooltip },
3059
+ a(Y),
3060
+ { content: _.tooltip },
2988
3061
  void 0,
2989
3062
  { "bottom-end": !0 }
2990
3063
  ]
2991
3064
  ])), 128))
2992
- ])) : U("", !0)
3065
+ ])) : j("", !0)
2993
3066
  ]),
2994
- u("div", E1, [
2995
- y(Me, {
3067
+ u("div", Ps, [
3068
+ x(Oe, {
2996
3069
  modelValue: r.value,
2997
- "onUpdate:modelValue": g[1] || (g[1] = (C) => r.value = C),
3070
+ "onUpdate:modelValue": g[1] || (g[1] = (_) => r.value = _),
2998
3071
  data: i.value
2999
3072
  }, null, 8, ["modelValue", "data"])
3000
3073
  ])
@@ -3002,48 +3075,48 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
3002
3075
  ]),
3003
3076
  _: 1
3004
3077
  }),
3005
- y(a(ce), { size: "60" }, {
3006
- default: L(() => [
3007
- u("div", V1, [
3008
- u("div", N1, [
3009
- y(a(he), {
3078
+ x(a(de), { size: "60" }, {
3079
+ default: H(() => [
3080
+ u("div", Ls, [
3081
+ u("div", Ms, [
3082
+ x(a(Ce), {
3010
3083
  modelValue: E.value,
3011
- "onUpdate:modelValue": g[2] || (g[2] = (C) => E.value = C),
3084
+ "onUpdate:modelValue": g[2] || (g[2] = (_) => E.value = _),
3012
3085
  placeholder: a(p).stateFilterPlaceholder
3013
3086
  }, null, 8, ["modelValue", "placeholder"]),
3014
- l.value?.length ? (c(), m("div", R1, [
3015
- (c(!0), m(ne, null, ue(l.value, (C, P) => W((c(), m("div", {
3087
+ l.value?.length ? (c(), m("div", Hs, [
3088
+ (c(!0), m(le, null, ce(l.value, (_, P) => q((c(), m("div", {
3016
3089
  key: P,
3017
3090
  class: "flex items-center gap1",
3018
- onClick: (B) => K(P)
3091
+ onClick: (Z) => G(P)
3019
3092
  }, [
3020
3093
  u("i", {
3021
- class: ae(`i-ic-baseline-${C.icon.replace(/\_/g, "-")}`),
3094
+ class: ie(`i-ic-baseline-${_.icon.replace(/\_/g, "-")}`),
3022
3095
  "cursor-pointer": "",
3023
3096
  "text-base": "",
3024
3097
  op70: "",
3025
3098
  "hover:op100": ""
3026
3099
  }, null, 2)
3027
- ], 8, D1)), [
3100
+ ], 8, Os)), [
3028
3101
  [
3029
- a(q),
3030
- { content: C.tooltip },
3102
+ a(Y),
3103
+ { content: _.tooltip },
3031
3104
  void 0,
3032
3105
  { "bottom-end": !0 }
3033
3106
  ]
3034
3107
  ])), 128))
3035
- ])) : U("", !0)
3108
+ ])) : j("", !0)
3036
3109
  ]),
3037
- r.value && !b.value ? (c(), z(Ae, {
3110
+ r.value && !I.value ? (c(), z(He, {
3038
3111
  key: 0,
3039
3112
  class: "no-scrollbar flex-1 overflow-scroll",
3040
- data: k.value,
3113
+ data: $.value,
3041
3114
  "node-id": r.value,
3042
- "inspector-id": a(t),
3115
+ "inspector-id": a(n),
3043
3116
  "expanded-state-id": "pinia-store-state"
3044
- }, null, 8, ["data", "node-id", "inspector-id"])) : (c(), z(Ie, { key: 1 }, {
3045
- default: L(() => g[3] || (g[3] = [
3046
- X(" No Data ", -1)
3117
+ }, null, 8, ["data", "node-id", "inspector-id"])) : (c(), z($e, { key: 1 }, {
3118
+ default: H(() => g[3] || (g[3] = [
3119
+ Q(" No Data ", -1)
3047
3120
  ])),
3048
3121
  _: 1,
3049
3122
  __: [3]
@@ -3057,73 +3130,73 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
3057
3130
  })
3058
3131
  ]));
3059
3132
  }
3060
- }), A1 = "dev.esm.pinia", M1 = /* @__PURE__ */ F({
3133
+ }), js = "dev.esm.pinia", zs = /* @__PURE__ */ F({
3061
3134
  __name: "Index",
3062
- setup(n) {
3135
+ setup(t) {
3063
3136
  const e = ["pinia:mutations"];
3064
- return (o, t) => (c(), z(it, {
3137
+ return (o, n) => (c(), z(ct, {
3065
3138
  "layer-ids": e,
3066
3139
  "doc-link": "https://pinia.vuejs.org/",
3067
- "plugin-id": A1,
3140
+ "plugin-id": js,
3068
3141
  "github-repo-link": "https://github.com/vuejs/pinia"
3069
3142
  }));
3070
3143
  }
3071
- }), L1 = {
3144
+ }), Bs = {
3072
3145
  "h-full": "",
3073
3146
  "w-full": ""
3074
- }, vs = /* @__PURE__ */ F({
3147
+ }, _1 = /* @__PURE__ */ F({
3075
3148
  __name: "index",
3076
- setup(n) {
3149
+ setup(t) {
3077
3150
  const e = N(null);
3078
- ye("pluginSettings", e);
3079
- const o = I(() => [
3151
+ _e("pluginSettings", e);
3152
+ const o = S(() => [
3080
3153
  {
3081
3154
  path: "/store",
3082
3155
  name: "Store",
3083
- component: P1,
3156
+ component: Us,
3084
3157
  icon: "i-carbon-tree-view-alt"
3085
3158
  },
3086
3159
  {
3087
3160
  path: "/timeline",
3088
3161
  name: "Timeline",
3089
- component: M1,
3162
+ component: zs,
3090
3163
  icon: "i-mdi:timeline-clock-outline"
3091
3164
  },
3092
3165
  {
3093
3166
  path: "/",
3094
3167
  name: "About",
3095
- component: _1,
3168
+ component: $s,
3096
3169
  icon: "i-logos-pinia"
3097
3170
  },
3098
3171
  e.value && {
3099
3172
  path: "/settings",
3100
3173
  name: "Settings",
3101
- component: b1,
3174
+ component: Ts,
3102
3175
  icon: "i-mdi:cog-outline"
3103
3176
  }
3104
- ].filter(Boolean)), { VirtualRouterView: t } = et(o, {
3177
+ ].filter(Boolean)), { VirtualRouterView: n } = ot(o, {
3105
3178
  defaultRoutePath: "/store"
3106
- }), l = rt();
3107
- return Re(() => {
3108
- R.value.getPluginSettings(w1).then((s) => {
3179
+ }), l = dt();
3180
+ return De(() => {
3181
+ A.value.getPluginSettings(Es).then((s) => {
3109
3182
  s.options ? e.value = s : e.value = null;
3110
- }), R.value.getInspectorInfo(Yt).then((s) => {
3183
+ }), A.value.getInspectorInfo(tn).then((s) => {
3111
3184
  s && (l.value = {
3112
3185
  stateFilterPlaceholder: s.stateFilterPlaceholder,
3113
3186
  treeFilterPlaceholder: s.treeFilterPlaceholder
3114
3187
  });
3115
3188
  });
3116
- }), (s, p) => (c(), m("div", L1, [
3117
- y(a(t))
3189
+ }), (s, p) => (c(), m("div", Bs, [
3190
+ x(a(n))
3118
3191
  ]));
3119
3192
  }
3120
- }), H1 = {}, U1 = {
3193
+ }), Zs = {}, Fs = {
3121
3194
  viewBox: "0 0 566 154",
3122
3195
  fill: "none",
3123
3196
  xmlns: "http://www.w3.org/2000/svg"
3124
3197
  };
3125
- function O1(n, e) {
3126
- return c(), m("svg", U1, e[0] || (e[0] = [
3198
+ function Ks(t, e) {
3199
+ return c(), m("svg", Fs, e[0] || (e[0] = [
3127
3200
  u("svg", {
3128
3201
  xmlns: "http://www.w3.org/2000/svg",
3129
3202
  width: "8em",
@@ -3141,36 +3214,36 @@ function O1(n, e) {
3141
3214
  }, null, -1)
3142
3215
  ]));
3143
3216
  }
3144
- const j1 = /* @__PURE__ */ xe(H1, [["render", O1]]), z1 = {
3217
+ const Gs = /* @__PURE__ */ be(Zs, [["render", Ks]]), Ws = {
3145
3218
  "h-full": "",
3146
3219
  "w-full": "",
3147
3220
  flex: "",
3148
3221
  "items-center": ""
3149
- }, B1 = {
3222
+ }, qs = {
3150
3223
  flex: "~ col gap2",
3151
3224
  ma: "",
3152
3225
  "px-5": ""
3153
- }, F1 = {
3226
+ }, Js = {
3154
3227
  flex: "~ col",
3155
3228
  "mt-20": "",
3156
3229
  "items-center": ""
3157
- }, Z1 = {
3230
+ }, Ys = {
3158
3231
  flex: "~",
3159
3232
  "mt--10": "",
3160
3233
  "items-center": "",
3161
3234
  "justify-center": ""
3162
- }, K1 = { flex: "~ gap2 wrap" }, G1 = /* @__PURE__ */ F({
3235
+ }, Xs = { flex: "~ gap2 wrap" }, Qs = /* @__PURE__ */ F({
3163
3236
  __name: "About",
3164
- setup(n) {
3165
- const e = Pe();
3166
- return (o, t) => (c(), m("div", z1, [
3167
- u("div", B1, [
3168
- t[5] || (t[5] = u("div", { "flex-auto": "" }, null, -1)),
3169
- u("div", F1, [
3170
- u("div", Z1, [
3171
- y(j1, { "h-18": "" })
3237
+ setup(t) {
3238
+ const e = Le();
3239
+ return (o, n) => (c(), m("div", Ws, [
3240
+ u("div", qs, [
3241
+ n[5] || (n[5] = u("div", { "flex-auto": "" }, null, -1)),
3242
+ u("div", Js, [
3243
+ u("div", Ys, [
3244
+ x(Gs, { "h-18": "" })
3172
3245
  ]),
3173
- t[2] || (t[2] = u("div", {
3246
+ n[2] || (n[2] = u("div", {
3174
3247
  mb6: "",
3175
3248
  "mt--1": "",
3176
3249
  "text-center": "",
@@ -3180,15 +3253,15 @@ const j1 = /* @__PURE__ */ xe(H1, [["render", O1]]), z1 = {
3180
3253
  u("span", { op40: "" }, " Router DevTools ")
3181
3254
  ], -1))
3182
3255
  ]),
3183
- t[6] || (t[6] = u("div", { "flex-auto": "" }, null, -1)),
3184
- u("div", K1, [
3256
+ n[6] || (n[6] = u("div", { "flex-auto": "" }, null, -1)),
3257
+ u("div", Xs, [
3185
3258
  u("div", {
3186
3259
  flex: "~ col auto",
3187
3260
  "min-w-40": "",
3188
3261
  "theme-card-lime": "",
3189
3262
  p4: "",
3190
- onClick: t[0] || (t[0] = (l) => a(e).push("/routes"))
3191
- }, t[3] || (t[3] = [
3263
+ onClick: n[0] || (n[0] = (l) => a(e).push("/routes"))
3264
+ }, n[3] || (n[3] = [
3192
3265
  u("div", {
3193
3266
  "i-carbon-tree-view-alt": "",
3194
3267
  "text-3xl": ""
@@ -3200,8 +3273,8 @@ const j1 = /* @__PURE__ */ xe(H1, [["render", O1]]), z1 = {
3200
3273
  "min-w-40": "",
3201
3274
  "theme-card-lime": "",
3202
3275
  p4: "",
3203
- onClick: t[1] || (t[1] = (l) => a(e).push("/timeline"))
3204
- }, t[4] || (t[4] = [
3276
+ onClick: n[1] || (n[1] = (l) => a(e).push("/timeline"))
3277
+ }, n[4] || (n[4] = [
3205
3278
  u("div", {
3206
3279
  "i-mdi:timeline-clock-outline": "",
3207
3280
  "text-3xl": ""
@@ -3209,7 +3282,7 @@ const j1 = /* @__PURE__ */ xe(H1, [["render", O1]]), z1 = {
3209
3282
  u("div", null, "Timeline", -1)
3210
3283
  ]))
3211
3284
  ]),
3212
- t[7] || (t[7] = u("div", {
3285
+ n[7] || (n[7] = u("div", {
3213
3286
  flex: "~ gap-6 wrap",
3214
3287
  "mt-5": "",
3215
3288
  "items-center": "",
@@ -3225,7 +3298,7 @@ const j1 = /* @__PURE__ */ xe(H1, [["render", O1]]), z1 = {
3225
3298
  transition: ""
3226
3299
  }, [
3227
3300
  u("div", { "i-carbon-star": "" }),
3228
- X(" Star on GitHub ")
3301
+ Q(" Star on GitHub ")
3229
3302
  ]),
3230
3303
  u("a", {
3231
3304
  href: "https://router.vuejs.org/",
@@ -3237,145 +3310,145 @@ const j1 = /* @__PURE__ */ xe(H1, [["render", O1]]), z1 = {
3237
3310
  transition: ""
3238
3311
  }, [
3239
3312
  u("div", { "i-carbon-document": "" }),
3240
- X(" View Documentation ")
3313
+ Q(" View Documentation ")
3241
3314
  ])
3242
3315
  ], -1)),
3243
- t[8] || (t[8] = u("div", { "flex-auto": "" }, null, -1))
3316
+ n[8] || (n[8] = u("div", { "flex-auto": "" }, null, -1))
3244
3317
  ])
3245
3318
  ]));
3246
3319
  }
3247
- }), W1 = { class: "h-full flex flex-col" }, q1 = {
3320
+ }), e1 = { class: "h-full flex flex-col" }, t1 = {
3248
3321
  "h-full": "",
3249
3322
  "select-none": "",
3250
3323
  "overflow-scroll": "",
3251
3324
  p2: "",
3252
3325
  class: "no-scrollbar"
3253
- }, J1 = { class: "pb2" }, Y1 = {
3326
+ }, n1 = { class: "pb2" }, o1 = {
3254
3327
  "h-full": "",
3255
3328
  "overflow-scroll": "",
3256
3329
  class: "no-scrollbar"
3257
- }, X1 = /* @__PURE__ */ F({
3330
+ }, l1 = /* @__PURE__ */ F({
3258
3331
  __name: "Index",
3259
- setup(n) {
3260
- const { expanded: e } = ge(), { expanded: o } = ge("routes-state"), t = _e(), l = I(() => t.value.id), s = N(""), p = N(""), [r, i] = Ft(!0), f = N([]), v = I(() => f.value?.length ? E(f.value?.[0]) : []), d = I(() => b(f.value)), h = I(() => d.value.map((H) => H.id)), $ = N({});
3261
- function E(H, w = [], O = []) {
3262
- return w.push(H.id), H.children?.length === 0 && O.push([...w]), Array.isArray(H.children) && H.children.forEach((te) => {
3263
- E(te, w, O);
3264
- }), w.pop(), O;
3265
- }
3266
- function k(H, w) {
3267
- const O = [];
3268
- return H?.forEach((te) => {
3269
- O.push(...te.slice(0, w + 1));
3270
- }), [...new Set(O)];
3271
- }
3272
- function b(H) {
3273
- const w = [], O = (te) => {
3274
- te?.forEach((oe) => {
3275
- w.push(oe), oe.children?.length && O(oe.children);
3332
+ setup(t) {
3333
+ const { expanded: e } = ye(), { expanded: o } = ye("routes-state"), n = xe(), l = S(() => n.value.id), s = N(""), p = N(""), [r, i] = /* @__PURE__ */ Wt(!0), f = N([]), v = S(() => f.value?.length ? E(f.value?.[0]) : []), d = S(() => I(f.value)), h = S(() => d.value.map((O) => O.id)), T = N({});
3334
+ function E(O, C = [], U = []) {
3335
+ return C.push(O.id), O.children?.length === 0 && U.push([...C]), Array.isArray(O.children) && O.children.forEach((oe) => {
3336
+ E(oe, C, U);
3337
+ }), C.pop(), U;
3338
+ }
3339
+ function $(O, C) {
3340
+ const U = [];
3341
+ return O?.forEach((oe) => {
3342
+ U.push(...oe.slice(0, C + 1));
3343
+ }), [...new Set(U)];
3344
+ }
3345
+ function I(O) {
3346
+ const C = [], U = (oe) => {
3347
+ oe?.forEach((se) => {
3348
+ C.push(se), se.children?.length && U(se.children);
3276
3349
  });
3277
3350
  };
3278
- return O(H), w;
3351
+ return U(O), C;
3279
3352
  }
3280
- function A(H) {
3281
- for (const w in H)
3282
- H[w]?.length || delete H[w];
3283
- return H;
3353
+ function L(O) {
3354
+ for (const C in O)
3355
+ O[C]?.length || delete O[C];
3356
+ return O;
3284
3357
  }
3285
- function V(H) {
3286
- R.value.getInspectorState({ inspectorId: l.value, nodeId: H }).then((w) => {
3287
- const O = ee(w);
3288
- O && ($.value = A(O), o.value = Array.from({ length: Object.keys($.value).length }, (te, oe) => `${oe}`));
3358
+ function V(O) {
3359
+ A.value.getInspectorState({ inspectorId: l.value, nodeId: O }).then((C) => {
3360
+ const U = ne(C);
3361
+ U && (T.value = L(U), o.value = Array.from({ length: Object.keys(T.value).length }, (oe, se) => `${se}`));
3289
3362
  });
3290
3363
  }
3291
- function _() {
3292
- $.value = {};
3364
+ function w() {
3365
+ T.value = {};
3293
3366
  }
3294
- Q(s, () => {
3295
- _(), V(s.value);
3367
+ te(s, () => {
3368
+ w(), V(s.value);
3296
3369
  });
3297
- const D = async (H = "") => {
3298
- await R.value.getInspectorTree({ inspectorId: l.value, filter: H }).then((w) => {
3299
- const O = ee(w);
3300
- f.value = O, !s.value && O.length && (s.value = O[0].id, V(O[0].id), e.value = k(v.value, 1));
3370
+ const D = async (O = "") => {
3371
+ await A.value.getInspectorTree({ inspectorId: l.value, filter: O }).then((C) => {
3372
+ const U = ne(C);
3373
+ f.value = U, !s.value && U.length && (s.value = U[0].id, V(U[0].id), e.value = $(v.value, 1));
3301
3374
  });
3302
3375
  };
3303
- Bt(l).toBeTruthy().then(() => {
3376
+ Gt(l).toBeTruthy().then(() => {
3304
3377
  D();
3305
3378
  });
3306
- function Z(H) {
3307
- const w = ee(H);
3308
- w.inspectorId !== l.value || !w.rootNodes.length || (f.value = w.rootNodes, h.value.includes(s.value) || (s.value = w.rootNodes[0].id, e.value = k(v.value, 1), V(w.rootNodes[0].id)));
3379
+ function B(O) {
3380
+ const C = ne(O);
3381
+ C.inspectorId !== l.value || !C.rootNodes.length || (f.value = C.rootNodes, h.value.includes(s.value) || (s.value = C.rootNodes[0].id, e.value = $(v.value, 1), V(C.rootNodes[0].id)));
3309
3382
  }
3310
- function K(H) {
3311
- const w = ee(H);
3312
- if (w.inspectorId !== l.value)
3383
+ function G(O) {
3384
+ const C = ne(O);
3385
+ if (C.inspectorId !== l.value)
3313
3386
  return;
3314
- const O = w.state;
3315
- $.value = A(O);
3387
+ const U = C.state;
3388
+ T.value = L(U);
3316
3389
  }
3317
- R.functions.on(Y.INSPECTOR_TREE_UPDATED, Z), R.functions.on(Y.INSPECTOR_STATE_UPDATED, K), we(() => {
3318
- R.functions.off(Y.INSPECTOR_TREE_UPDATED, Z), R.functions.off(Y.INSPECTOR_STATE_UPDATED, K);
3390
+ A.functions.on(X.INSPECTOR_TREE_UPDATED, B), A.functions.on(X.INSPECTOR_STATE_UPDATED, G), ke(() => {
3391
+ A.functions.off(X.INSPECTOR_TREE_UPDATED, B), A.functions.off(X.INSPECTOR_STATE_UPDATED, G);
3319
3392
  });
3320
- function G(H) {
3321
- const w = H.trim().toLowerCase();
3322
- i(), D(w).then(() => {
3393
+ function W(O) {
3394
+ const C = O.trim().toLowerCase();
3395
+ i(), D(C).then(() => {
3323
3396
  i();
3324
3397
  });
3325
3398
  }
3326
- return Zt(p, (H) => {
3327
- G(H);
3328
- }, { debounce: 300 }), (H, w) => (c(), m("div", W1, [
3329
- y(Se, {
3399
+ return qt(p, (O) => {
3400
+ W(O);
3401
+ }, { debounce: 300 }), (O, C) => (c(), m("div", e1, [
3402
+ x(Te, {
3330
3403
  "doc-link": "https://router.vuejs.org/",
3331
3404
  "github-repo-link": "https://github.com/vuejs/router"
3332
3405
  }, {
3333
- default: L(() => [
3334
- y(Te)
3406
+ default: H(() => [
3407
+ x(Ee)
3335
3408
  ]),
3336
3409
  _: 1
3337
3410
  }),
3338
- y(a(De), { class: "flex-1 overflow-auto" }, {
3339
- default: L(() => [
3340
- y(a(ce), {
3411
+ x(a(Pe), { class: "flex-1 overflow-auto" }, {
3412
+ default: H(() => [
3413
+ x(a(de), {
3341
3414
  border: "r base",
3342
3415
  size: "40",
3343
3416
  "h-full": ""
3344
3417
  }, {
3345
- default: L(() => [
3346
- u("div", q1, [
3347
- u("div", J1, [
3348
- y(a(he), {
3418
+ default: H(() => [
3419
+ u("div", t1, [
3420
+ u("div", n1, [
3421
+ x(a(Ce), {
3349
3422
  modelValue: p.value,
3350
- "onUpdate:modelValue": w[0] || (w[0] = (O) => p.value = O),
3423
+ "onUpdate:modelValue": C[0] || (C[0] = (U) => p.value = U),
3351
3424
  placeholder: "Search routes",
3352
3425
  loading: !a(r),
3353
3426
  "loading-debounce-time": 250,
3354
3427
  class: "text-3.5"
3355
3428
  }, null, 8, ["modelValue", "loading"])
3356
3429
  ]),
3357
- y(Me, {
3430
+ x(Oe, {
3358
3431
  modelValue: s.value,
3359
- "onUpdate:modelValue": w[1] || (w[1] = (O) => s.value = O),
3432
+ "onUpdate:modelValue": C[1] || (C[1] = (U) => s.value = U),
3360
3433
  data: f.value
3361
3434
  }, null, 8, ["modelValue", "data"])
3362
3435
  ])
3363
3436
  ]),
3364
3437
  _: 1
3365
3438
  }),
3366
- y(a(ce), { size: "60" }, {
3367
- default: L(() => [
3368
- u("div", Y1, [
3369
- s.value ? (c(), z(Ae, {
3439
+ x(a(de), { size: "60" }, {
3440
+ default: H(() => [
3441
+ u("div", o1, [
3442
+ s.value ? (c(), z(He, {
3370
3443
  key: 0,
3371
3444
  class: "p3",
3372
- data: $.value,
3445
+ data: T.value,
3373
3446
  "node-id": "",
3374
3447
  "inspector-id": "router",
3375
3448
  "expanded-state-id": "routes-state"
3376
- }, null, 8, ["data"])) : (c(), z(Ie, { key: 1 }, {
3377
- default: L(() => w[2] || (w[2] = [
3378
- X(" No Data ", -1)
3449
+ }, null, 8, ["data"])) : (c(), z($e, { key: 1 }, {
3450
+ default: H(() => C[2] || (C[2] = [
3451
+ Q(" No Data ", -1)
3379
3452
  ])),
3380
3453
  _: 1,
3381
3454
  __: [2]
@@ -3389,51 +3462,51 @@ const j1 = /* @__PURE__ */ xe(H1, [["render", O1]]), z1 = {
3389
3462
  })
3390
3463
  ]));
3391
3464
  }
3392
- }), Q1 = "org.vuejs.router", es = /* @__PURE__ */ F({
3465
+ }), s1 = "org.vuejs.router", a1 = /* @__PURE__ */ F({
3393
3466
  __name: "Index",
3394
- setup(n) {
3395
- const e = _e();
3396
- return (o, t) => (c(), z(it, {
3467
+ setup(t) {
3468
+ const e = xe();
3469
+ return (o, n) => (c(), z(ct, {
3397
3470
  "layer-ids": a(e).timelineLayerIds,
3398
3471
  "doc-link": "https://router.vuejs.org/",
3399
- "plugin-id": Q1,
3472
+ "plugin-id": s1,
3400
3473
  "github-repo-link": "https://github.com/vuejs/router"
3401
3474
  }, null, 8, ["layer-ids"]));
3402
3475
  }
3403
- }), ts = {
3476
+ }), i1 = {
3404
3477
  "h-full": "",
3405
3478
  "w-full": ""
3406
- }, ms = /* @__PURE__ */ F({
3479
+ }, x1 = /* @__PURE__ */ F({
3407
3480
  __name: "index",
3408
3481
  props: {
3409
3482
  id: {}
3410
3483
  },
3411
- setup(n) {
3412
- const e = n, o = rt(), t = N(!1), { VirtualRouterView: l, restoreRouter: s } = et([
3484
+ setup(t) {
3485
+ const e = t, o = dt(), n = N(!1), { VirtualRouterView: l, restoreRouter: s } = ot([
3413
3486
  {
3414
3487
  path: "/routes",
3415
3488
  name: "Routes",
3416
- component: X1,
3489
+ component: l1,
3417
3490
  icon: "i-carbon-tree-view-alt"
3418
3491
  },
3419
3492
  {
3420
3493
  path: "/timeline",
3421
3494
  name: "Timeline",
3422
- component: es,
3495
+ component: a1,
3423
3496
  icon: "i-mdi:timeline-clock-outline"
3424
3497
  },
3425
3498
  {
3426
3499
  path: "/about",
3427
3500
  name: "About",
3428
- component: G1,
3501
+ component: Qs,
3429
3502
  icon: "i-ri-route-line"
3430
3503
  }
3431
3504
  ], {
3432
3505
  defaultRoutePath: "/routes"
3433
3506
  });
3434
3507
  function p() {
3435
- t.value = !0, Re(() => {
3436
- R.value.getInspectorInfo(e.id).then((r) => {
3508
+ n.value = !0, De(() => {
3509
+ A.value.getInspectorInfo(e.id).then((r) => {
3437
3510
  if (!r)
3438
3511
  return;
3439
3512
  const i = {
@@ -3443,23 +3516,23 @@ const j1 = /* @__PURE__ */ xe(H1, [["render", O1]]), z1 = {
3443
3516
  logo: r?.logo,
3444
3517
  timelineLayerIds: r?.timelineLayers.map((f) => f.id)
3445
3518
  };
3446
- o.value = i, s(), t.value = !1;
3519
+ o.value = i, s(), n.value = !1;
3447
3520
  });
3448
3521
  });
3449
3522
  }
3450
- return Q(() => e.id, (r) => {
3523
+ return te(() => e.id, (r) => {
3451
3524
  r && p();
3452
- }), (r, i) => (c(), m("div", ts, [
3453
- y(a(l))
3525
+ }), (r, i) => (c(), m("div", i1, [
3526
+ x(a(l))
3454
3527
  ]));
3455
3528
  }
3456
3529
  });
3457
3530
  export {
3458
- ps as Components,
3459
- fs as CustomInspector,
3460
- vs as Pinia,
3461
- ms as Router,
3462
- Pn as SelectiveList,
3463
- it as Timeline,
3464
- ds as useCustomInspector
3531
+ C1 as Components,
3532
+ y1 as CustomInspector,
3533
+ _1 as Pinia,
3534
+ x1 as Router,
3535
+ On as SelectiveList,
3536
+ ct as Timeline,
3537
+ g1 as useCustomInspector
3465
3538
  };