@vue/devtools-applet 7.4.0 → 7.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,16 +1,16 @@
1
- import { openBlock as p, createElementBlock as h, createStaticVNode as en, toValue as mt, ref as I, computed as D, defineComponent as B, h as tn, provide as ke, inject as Ce, createElementVNode as i, createVNode as x, unref as r, createTextVNode as ne, Fragment as te, renderList as ae, normalizeClass as ie, toDisplayString as oe, renderSlot as et, createCommentVNode as U, isRef as Ge, watch as X, onMounted as Vt, nextTick as Be, readonly as nn, getCurrentScope as on, onScopeDispose as sn, getCurrentInstance as tt, reactive as _t, shallowRef as gt, toRaw as Nt, withDirectives as J, createBlock as z, mergeProps as we, withModifiers as fe, withCtx as M, watchEffect as nt, normalizeStyle as Ie, pushScopeId as ot, popScopeId as st, mergeModels as Ze, useModel as lt, onUnmounted as xe, resolveComponent as ln, vShow as an } from "vue";
2
- import { rpc as R, DevToolsMessagingEvents as W, onRpcConnected as Re, useDevToolsState as rn } from "@vue/devtools-core";
1
+ import { openBlock as p, createElementBlock as h, createStaticVNode as en, toValue as mt, ref as I, computed as E, defineComponent as B, h as tn, provide as _e, inject as ve, createElementVNode as r, createVNode as x, unref as c, createTextVNode as ne, Fragment as te, renderList as ae, normalizeClass as ie, toDisplayString as le, renderSlot as et, createCommentVNode as U, isRef as Ge, watch as X, onMounted as Vt, nextTick as Be, readonly as nn, getCurrentScope as on, onScopeDispose as ln, getCurrentInstance as tt, reactive as _t, shallowRef as gt, toRaw as Nt, withDirectives as J, createBlock as z, mergeProps as $e, withModifiers as fe, withCtx as M, watchEffect as nt, normalizeStyle as ke, pushScopeId as ot, popScopeId as lt, mergeModels as Ze, useModel as st, onUnmounted as ye, resolveComponent as sn, vShow as an } from "vue";
2
+ import { rpc as A, DevToolsMessagingEvents as W, onRpcConnected as Re, useDevToolsState as rn } from "@vue/devtools-core";
3
3
  import { Splitpanes as Ae, Pane as ue } from "splitpanes";
4
4
  import { getRaw as Rt, toSubmit as ze, formatInspectorStateValue as un, getInspectorStateValueType as Ct, toEdit as cn, isPlainObject as dn, UNDEFINED as pn, NAN as fn, INFINITY as vn, NEGATIVE_INFINITY as hn, parse as Y } from "@vue/devtools-kit";
5
- import { VueButton as de, VueIcon as se, vTooltip as Q, VueDropdown as mn, VueDropdownButton as xt, VueInput as Xe, VueSwitch as _n, VueSelect as gn, VueCodeBlock as Cn, VueDialog as xn, VueIcIcon as yt } from "@vue/devtools-ui";
6
- import { isArray as bt, isObject as $t, sortByKey as At, isInSeparateWindow as yn, isInChromePanel as wt } from "@vue/devtools-shared";
5
+ import { VueButton as de, VueIcon as oe, vTooltip as Q, VueDropdown as mn, VueDropdownButton as xt, VueInput as Xe, VueSwitch as _n, VueSelect as gn, VueCodeBlock as Cn, VueDialog as xn, VueIcIcon as yt } from "@vue/devtools-ui";
6
+ import { isArray as bt, isObject as wt, sortByKey as At, isInSeparateWindow as yn, isInChromePanel as $t } from "@vue/devtools-shared";
7
7
  import { debounce as bn } from "perfect-debounce";
8
- import { RecycleScroller as $n } from "vue-virtual-scroller";
9
- import { flatten as wn, groupBy as kn } from "lodash-es";
10
- const ye = (t, e) => {
8
+ import { RecycleScroller as wn } from "vue-virtual-scroller";
9
+ import { flatten as $n, groupBy as kn } from "lodash-es";
10
+ const be = (t, e) => {
11
11
  const n = t.__vccOpts || t;
12
- for (const [o, l] of e)
13
- n[o] = l;
12
+ for (const [o, s] of e)
13
+ n[o] = s;
14
14
  return n;
15
15
  }, In = {}, Sn = {
16
16
  viewBox: "0 0 566 154",
@@ -22,25 +22,25 @@ const ye = (t, e) => {
22
22
  function Vn(t, e) {
23
23
  return p(), h("svg", Sn, En);
24
24
  }
25
- const Nn = /* @__PURE__ */ ye(In, [["render", Vn]]), at = Symbol("VirtualRouteKey"), Dt = Symbol("VirtualRoutesKey");
25
+ const Nn = /* @__PURE__ */ be(In, [["render", Vn]]), at = Symbol("VirtualRouteKey"), Dt = Symbol("VirtualRoutesKey");
26
26
  function it(t, e) {
27
27
  const n = (e == null ? void 0 : e.defaultRoutePath) ?? mt(t)[0].path, o = I({
28
28
  path: n
29
- }), l = D(() => mt(t)), s = D(() => o.value.path), u = B({
29
+ }), s = E(() => mt(t)), l = E(() => o.value.path), i = B({
30
30
  setup() {
31
31
  return () => {
32
- const d = l.value.find((C) => C.path === s.value);
32
+ const d = s.value.find((C) => C.path === l.value);
33
33
  return d ? tn(d.component) : null;
34
34
  };
35
35
  }
36
36
  });
37
- function c() {
37
+ function u() {
38
38
  o.value.path = n;
39
39
  }
40
- return ke(at, o), ke(Dt, l), { VirtualRouterView: u, restoreRouter: c };
40
+ return _e(at, o), _e(Dt, s), { VirtualRouterView: i, restoreRouter: u };
41
41
  }
42
42
  function De() {
43
- const t = Ce(at);
43
+ const t = ve(at);
44
44
  return {
45
45
  push(e) {
46
46
  t.value.path = e;
@@ -48,7 +48,7 @@ function De() {
48
48
  };
49
49
  }
50
50
  function Rn() {
51
- const t = Ce(Dt), e = Ce(at);
51
+ const t = ve(Dt), e = ve(at);
52
52
  return {
53
53
  routes: t,
54
54
  currentRoute: e
@@ -63,7 +63,7 @@ const An = {
63
63
  flex: "~ col gap2",
64
64
  ma: "",
65
65
  "px-5": ""
66
- }, Pn = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), Mn = {
66
+ }, Pn = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), Mn = {
67
67
  flex: "~ col",
68
68
  "mt-20": "",
69
69
  "items-center": ""
@@ -72,33 +72,33 @@ const An = {
72
72
  "mt--10": "",
73
73
  "items-center": "",
74
74
  "justify-center": ""
75
- }, Ln = /* @__PURE__ */ i("div", {
75
+ }, Ln = /* @__PURE__ */ r("div", {
76
76
  mb6: "",
77
77
  "mt--1": "",
78
78
  "text-center": "",
79
79
  "text-sm": "",
80
80
  flex: "~ gap-1"
81
81
  }, [
82
- /* @__PURE__ */ i("span", { op40: "" }, " Pinia DevTools ")
83
- ], -1), jn = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), On = { flex: "~ gap2 wrap" }, Un = /* @__PURE__ */ i("div", {
82
+ /* @__PURE__ */ r("span", { op40: "" }, " Pinia DevTools ")
83
+ ], -1), On = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), jn = { flex: "~ gap2 wrap" }, Un = /* @__PURE__ */ r("div", {
84
84
  "i-carbon-tree-view-alt": "",
85
85
  "text-3xl": ""
86
- }, null, -1), zn = /* @__PURE__ */ i("code", null, "Store", -1), Bn = [
86
+ }, null, -1), zn = /* @__PURE__ */ r("code", null, "Store", -1), Bn = [
87
87
  Un,
88
88
  zn
89
- ], Zn = /* @__PURE__ */ i("div", {
89
+ ], Zn = /* @__PURE__ */ r("div", {
90
90
  "i-mdi:timeline-clock-outline": "",
91
91
  "text-3xl": ""
92
- }, null, -1), Fn = /* @__PURE__ */ i("div", null, "Timeline", -1), Gn = [
92
+ }, null, -1), Fn = /* @__PURE__ */ r("div", null, "Timeline", -1), Gn = [
93
93
  Zn,
94
94
  Fn
95
- ], Kn = /* @__PURE__ */ i("div", {
95
+ ], Kn = /* @__PURE__ */ r("div", {
96
96
  flex: "~ gap-6 wrap",
97
97
  "mt-5": "",
98
98
  "items-center": "",
99
99
  "justify-center": ""
100
100
  }, [
101
- /* @__PURE__ */ i("a", {
101
+ /* @__PURE__ */ r("a", {
102
102
  href: "https://github.com/vuejs/pinia",
103
103
  target: "_blank",
104
104
  flex: "~ gap1",
@@ -107,10 +107,10 @@ const An = {
107
107
  hover: "op100 text-blue",
108
108
  transition: ""
109
109
  }, [
110
- /* @__PURE__ */ i("div", { "i-carbon-star": "" }),
110
+ /* @__PURE__ */ r("div", { "i-carbon-star": "" }),
111
111
  /* @__PURE__ */ ne(" Star on GitHub ")
112
112
  ]),
113
- /* @__PURE__ */ i("a", {
113
+ /* @__PURE__ */ r("a", {
114
114
  href: "https://pinia.vuejs.org/",
115
115
  target: "_blank",
116
116
  flex: "~ gap1",
@@ -119,37 +119,37 @@ const An = {
119
119
  hover: "op100 text-yellow",
120
120
  transition: ""
121
121
  }, [
122
- /* @__PURE__ */ i("div", { "i-carbon-document": "" }),
122
+ /* @__PURE__ */ r("div", { "i-carbon-document": "" }),
123
123
  /* @__PURE__ */ ne(" View Documentation ")
124
124
  ])
125
- ], -1), Wn = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), qn = /* @__PURE__ */ B({
125
+ ], -1), Wn = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), qn = /* @__PURE__ */ B({
126
126
  __name: "About",
127
127
  setup(t) {
128
128
  const e = De();
129
129
  return (n, o) => (p(), h("div", An, [
130
- i("div", Dn, [
130
+ r("div", Dn, [
131
131
  Pn,
132
- i("div", Mn, [
133
- i("div", Hn, [
132
+ r("div", Mn, [
133
+ r("div", Hn, [
134
134
  x(Nn, { "h-18": "" })
135
135
  ]),
136
136
  Ln
137
137
  ]),
138
- jn,
139
- i("div", On, [
140
- i("div", {
138
+ On,
139
+ r("div", jn, [
140
+ r("div", {
141
141
  flex: "~ col auto",
142
142
  "min-w-40": "",
143
143
  p4: "",
144
144
  "theme-card-lime": "",
145
- onClick: o[0] || (o[0] = (l) => r(e).push("/store"))
145
+ onClick: o[0] || (o[0] = (s) => c(e).push("/store"))
146
146
  }, Bn),
147
- i("div", {
147
+ r("div", {
148
148
  flex: "~ col auto",
149
149
  "min-w-40": "",
150
150
  p4: "",
151
151
  "theme-card-lime": "",
152
- onClick: o[1] || (o[1] = (l) => r(e).push("/timeline"))
152
+ onClick: o[1] || (o[1] = (s) => c(e).push("/timeline"))
153
153
  }, Gn)
154
154
  ]),
155
155
  Kn,
@@ -157,26 +157,26 @@ const An = {
157
157
  ])
158
158
  ]));
159
159
  }
160
- }), Jn = { class: "flex gap3" }, Yn = ["onClick"], Se = /* @__PURE__ */ B({
160
+ }), Jn = { class: "flex gap3" }, Yn = ["onClick"], Ie = /* @__PURE__ */ B({
161
161
  __name: "Navbar",
162
162
  setup(t) {
163
163
  const { routes: e, currentRoute: n } = Rn(), o = De();
164
- return (l, s) => (p(), h("ul", Jn, [
165
- (p(!0), h(te, null, ae(r(e), (u, c) => (p(), h("li", {
166
- key: c,
167
- class: ie(["h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100", r(n).path === u.path ? "op-100 font-medium text-primary-400 border-primary-400" : "border-transparent op-70"]),
168
- onClick: (d) => r(o).push(u.path)
169
- }, oe(u.name), 11, Yn))), 128))
164
+ return (s, l) => (p(), h("ul", Jn, [
165
+ (p(!0), h(te, null, ae(c(e), (i, u) => (p(), h("li", {
166
+ key: u,
167
+ class: ie(["h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100", c(n).path === i.path ? "op-100 font-medium text-primary-400 border-primary-400" : "border-transparent op-70"]),
168
+ onClick: (d) => c(o).push(i.path)
169
+ }, le(i.name), 11, Yn))), 128))
170
170
  ]));
171
171
  }
172
172
  }), Xn = {
173
173
  border: "b base",
174
174
  class: "flex items-center justify-between px3"
175
- }, Qn = ["href"], eo = /* @__PURE__ */ i("i", { class: "i-clarity:document-line cursor-pointer op70 text-base hover:op100" }, null, -1), to = [
175
+ }, Qn = ["href"], eo = /* @__PURE__ */ r("i", { class: "i-clarity:document-line cursor-pointer op70 text-base hover:op100" }, null, -1), to = [
176
176
  eo
177
- ], no = ["href"], oo = /* @__PURE__ */ i("i", { class: "i-mdi:github cursor-pointer op70 text-base hover:op100" }, null, -1), so = [
177
+ ], no = ["href"], oo = /* @__PURE__ */ r("i", { class: "i-mdi:github cursor-pointer op70 text-base hover:op100" }, null, -1), lo = [
178
178
  oo
179
- ], Te = /* @__PURE__ */ B({
179
+ ], Se = /* @__PURE__ */ B({
180
180
  __name: "DevToolsHeader",
181
181
  props: {
182
182
  githubRepoLink: {},
@@ -185,16 +185,16 @@ const An = {
185
185
  setup(t) {
186
186
  const e = De();
187
187
  return (n, o) => (p(), h("div", Xn, [
188
- i("div", null, [
188
+ r("div", null, [
189
189
  et(n.$slots, "default", {}, () => [
190
- i("i", {
190
+ r("i", {
191
191
  class: "i-ep:back cursor-pointer op70 text-base hover:op100",
192
- onClick: o[0] || (o[0] = (l) => r(e).push("/"))
192
+ onClick: o[0] || (o[0] = (s) => c(e).push("/"))
193
193
  })
194
194
  ])
195
195
  ]),
196
- i("div", null, [
197
- i("a", {
196
+ r("div", null, [
197
+ r("a", {
198
198
  class: "pr2",
199
199
  href: n.docLink,
200
200
  target: "_blank",
@@ -205,25 +205,25 @@ const An = {
205
205
  href: n.githubRepoLink,
206
206
  target: "_blank",
207
207
  title: "Star on GitHub"
208
- }, so, 8, no)) : U("", !0)
208
+ }, lo, 8, no)) : U("", !0)
209
209
  ])
210
210
  ]));
211
211
  }
212
- }), lo = {}, ao = { class: "h-full flex flex-col items-center justify-center op50" }, io = /* @__PURE__ */ i("i", { class: "i-lets-icons:blank-light" }, null, -1);
212
+ }), so = {}, ao = { class: "h-full flex flex-col items-center justify-center op50" }, io = /* @__PURE__ */ r("i", { class: "i-lets-icons:blank-light" }, null, -1);
213
213
  function ro(t, e) {
214
214
  return p(), h("div", ao, [
215
215
  io,
216
- i("span", null, [
216
+ r("span", null, [
217
217
  et(t.$slots, "default")
218
218
  ])
219
219
  ]);
220
220
  }
221
- const Ne = /* @__PURE__ */ ye(lo, [["render", ro]]);
221
+ const Ne = /* @__PURE__ */ be(so, [["render", ro]]);
222
222
  function rt(t) {
223
- return on() ? (sn(t), !0) : !1;
223
+ return on() ? (ln(t), !0) : !1;
224
224
  }
225
225
  function ee(t) {
226
- return typeof t == "function" ? t() : r(t);
226
+ return typeof t == "function" ? t() : c(t);
227
227
  }
228
228
  const ut = typeof window < "u" && typeof document < "u";
229
229
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -231,32 +231,32 @@ const uo = (t) => typeof t < "u", co = Object.prototype.toString, po = (t) => co
231
231
  };
232
232
  function fo(t, e) {
233
233
  function n(...o) {
234
- return new Promise((l, s) => {
235
- Promise.resolve(t(() => e.apply(this, o), { fn: e, thisArg: this, args: o })).then(l).catch(s);
234
+ return new Promise((s, l) => {
235
+ Promise.resolve(t(() => e.apply(this, o), { fn: e, thisArg: this, args: o })).then(s).catch(l);
236
236
  });
237
237
  }
238
238
  return n;
239
239
  }
240
240
  const vo = (t) => t();
241
241
  function ho(t, e = {}) {
242
- let n, o, l = Fe;
243
- const s = (c) => {
244
- clearTimeout(c), l(), l = Fe;
242
+ let n, o, s = Fe;
243
+ const l = (u) => {
244
+ clearTimeout(u), s(), s = Fe;
245
245
  };
246
- return (c) => {
246
+ return (u) => {
247
247
  const d = ee(t), C = ee(e.maxWait);
248
- return n && s(n), d <= 0 || C !== void 0 && C <= 0 ? (o && (s(o), o = null), Promise.resolve(c())) : new Promise((v, a) => {
249
- l = e.rejectOnCancel ? a : v, C && !o && (o = setTimeout(() => {
250
- n && s(n), o = null, v(c());
248
+ return n && l(n), d <= 0 || C !== void 0 && C <= 0 ? (o && (l(o), o = null), Promise.resolve(u())) : new Promise((v, a) => {
249
+ s = e.rejectOnCancel ? a : v, C && !o && (o = setTimeout(() => {
250
+ n && l(n), o = null, v(u());
251
251
  }, C)), n = setTimeout(() => {
252
- o && s(o), o = null, v(c());
252
+ o && l(o), o = null, v(u());
253
253
  }, d);
254
254
  });
255
255
  };
256
256
  }
257
257
  function kt(t, e = !1, n = "Timeout") {
258
- return new Promise((o, l) => {
259
- setTimeout(e ? () => l(n) : o, t);
258
+ return new Promise((o, s) => {
259
+ setTimeout(e ? () => s(n) : o, t);
260
260
  });
261
261
  }
262
262
  function mo(t) {
@@ -275,7 +275,7 @@ function _o(t) {
275
275
  function go(t, e, n = {}) {
276
276
  const {
277
277
  eventFilter: o = vo,
278
- ...l
278
+ ...s
279
279
  } = n;
280
280
  return X(
281
281
  t,
@@ -283,7 +283,7 @@ function go(t, e, n = {}) {
283
283
  o,
284
284
  e
285
285
  ),
286
- l
286
+ s
287
287
  );
288
288
  }
289
289
  function Co(t, e = !0, n) {
@@ -292,11 +292,11 @@ function Co(t, e = !0, n) {
292
292
  function Qe(t, e = !1) {
293
293
  function n(a, { flush: f = "sync", deep: m = !1, timeout: y, throwOnTimeout: _ } = {}) {
294
294
  let k = null;
295
- const j = [new Promise((V) => {
295
+ const O = [new Promise((N) => {
296
296
  k = X(
297
297
  t,
298
- ($) => {
299
- a($) !== e && (k ? k() : Be(() => k == null ? void 0 : k()), V($));
298
+ (w) => {
299
+ a(w) !== e && (k ? k() : Be(() => k == null ? void 0 : k()), N(w));
300
300
  },
301
301
  {
302
302
  flush: f,
@@ -305,20 +305,20 @@ function Qe(t, e = !1) {
305
305
  }
306
306
  );
307
307
  })];
308
- return y != null && j.push(
308
+ return y != null && O.push(
309
309
  kt(y, _).then(() => ee(t)).finally(() => k == null ? void 0 : k())
310
- ), Promise.race(j);
310
+ ), Promise.race(O);
311
311
  }
312
312
  function o(a, f) {
313
313
  if (!Ge(a))
314
- return n(($) => $ === a, f);
314
+ return n((w) => w === a, f);
315
315
  const { flush: m = "sync", deep: y = !1, timeout: _, throwOnTimeout: k } = f ?? {};
316
- let O = null;
317
- const V = [new Promise(($) => {
318
- O = X(
316
+ let j = null;
317
+ const N = [new Promise((w) => {
318
+ j = X(
319
319
  [t, a],
320
- ([N, H]) => {
321
- e !== (N === H) && (O ? O() : Be(() => O == null ? void 0 : O()), $(N));
320
+ ([R, H]) => {
321
+ e !== (R === H) && (j ? j() : Be(() => j == null ? void 0 : j()), w(R));
322
322
  },
323
323
  {
324
324
  flush: m,
@@ -327,20 +327,20 @@ function Qe(t, e = !1) {
327
327
  }
328
328
  );
329
329
  })];
330
- return _ != null && V.push(
331
- kt(_, k).then(() => ee(t)).finally(() => (O == null || O(), ee(t)))
332
- ), Promise.race(V);
330
+ return _ != null && N.push(
331
+ kt(_, k).then(() => ee(t)).finally(() => (j == null || j(), ee(t)))
332
+ ), Promise.race(N);
333
333
  }
334
- function l(a) {
334
+ function s(a) {
335
335
  return n((f) => !!f, a);
336
336
  }
337
- function s(a) {
337
+ function l(a) {
338
338
  return o(null, a);
339
339
  }
340
- function u(a) {
340
+ function i(a) {
341
341
  return o(void 0, a);
342
342
  }
343
- function c(a) {
343
+ function u(a) {
344
344
  return n(Number.isNaN, a);
345
345
  }
346
346
  function d(a, f) {
@@ -367,10 +367,10 @@ function Qe(t, e = !1) {
367
367
  } : {
368
368
  toMatch: n,
369
369
  toBe: o,
370
- toBeTruthy: l,
371
- toBeNull: s,
372
- toBeNaN: c,
373
- toBeUndefined: u,
370
+ toBeTruthy: s,
371
+ toBeNull: l,
372
+ toBeNaN: u,
373
+ toBeUndefined: i,
374
374
  changed: C,
375
375
  changedTimes: v,
376
376
  get not() {
@@ -384,150 +384,150 @@ function Pt(t) {
384
384
  function xo(t, e, n = {}) {
385
385
  const {
386
386
  immediate: o = !0
387
- } = n, l = I(!1);
388
- let s = null;
389
- function u() {
390
- s && (clearTimeout(s), s = null);
387
+ } = n, s = I(!1);
388
+ let l = null;
389
+ function i() {
390
+ l && (clearTimeout(l), l = null);
391
391
  }
392
- function c() {
393
- l.value = !1, u();
392
+ function u() {
393
+ s.value = !1, i();
394
394
  }
395
395
  function d(...C) {
396
- u(), l.value = !0, s = setTimeout(() => {
397
- l.value = !1, s = null, t(...C);
396
+ i(), s.value = !0, l = setTimeout(() => {
397
+ s.value = !1, l = null, t(...C);
398
398
  }, ee(e));
399
399
  }
400
- return o && (l.value = !0, ut && d()), rt(c), {
401
- isPending: nn(l),
400
+ return o && (s.value = !0, ut && d()), rt(u), {
401
+ isPending: nn(s),
402
402
  start: d,
403
- stop: c
403
+ stop: u
404
404
  };
405
405
  }
406
406
  function yo(t = !1, e = {}) {
407
407
  const {
408
408
  truthyValue: n = !0,
409
409
  falsyValue: o = !1
410
- } = e, l = Ge(t), s = I(t);
411
- function u(c) {
410
+ } = e, s = Ge(t), l = I(t);
411
+ function i(u) {
412
412
  if (arguments.length)
413
- return s.value = c, s.value;
413
+ return l.value = u, l.value;
414
414
  {
415
415
  const d = ee(n);
416
- return s.value = s.value === d ? ee(o) : d, s.value;
416
+ return l.value = l.value === d ? ee(o) : d, l.value;
417
417
  }
418
418
  }
419
- return l ? u : [s, u];
419
+ return s ? i : [l, i];
420
420
  }
421
421
  function bo(t, e, n = {}) {
422
422
  const {
423
423
  debounce: o = 0,
424
- maxWait: l = void 0,
425
- ...s
424
+ maxWait: s = void 0,
425
+ ...l
426
426
  } = n;
427
427
  return go(
428
428
  t,
429
429
  e,
430
430
  {
431
- ...s,
432
- eventFilter: ho(o, { maxWait: l })
431
+ ...l,
432
+ eventFilter: ho(o, { maxWait: s })
433
433
  }
434
434
  );
435
435
  }
436
- function ge(t) {
436
+ function xe(t) {
437
437
  var e;
438
438
  const n = ee(t);
439
439
  return (e = n == null ? void 0 : n.$el) != null ? e : n;
440
440
  }
441
441
  const Ke = ut ? window : void 0, Mt = ut ? window.navigator : void 0;
442
- function he(...t) {
443
- let e, n, o, l;
444
- if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([n, o, l] = t, e = Ke) : [e, n, o, l] = t, !e)
442
+ function me(...t) {
443
+ let e, n, o, s;
444
+ if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([n, o, s] = t, e = Ke) : [e, n, o, s] = t, !e)
445
445
  return Fe;
446
446
  Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
447
- const s = [], u = () => {
448
- s.forEach((v) => v()), s.length = 0;
449
- }, c = (v, a, f, m) => (v.addEventListener(a, f, m), () => v.removeEventListener(a, f, m)), d = X(
450
- () => [ge(e), ee(l)],
447
+ const l = [], i = () => {
448
+ l.forEach((v) => v()), l.length = 0;
449
+ }, u = (v, a, f, m) => (v.addEventListener(a, f, m), () => v.removeEventListener(a, f, m)), d = X(
450
+ () => [xe(e), ee(s)],
451
451
  ([v, a]) => {
452
- if (u(), !v)
452
+ if (i(), !v)
453
453
  return;
454
454
  const f = po(a) ? { ...a } : a;
455
- s.push(
456
- ...n.flatMap((m) => o.map((y) => c(v, m, y, f)))
455
+ l.push(
456
+ ...n.flatMap((m) => o.map((y) => u(v, m, y, f)))
457
457
  );
458
458
  },
459
459
  { immediate: !0, flush: "post" }
460
460
  ), C = () => {
461
- d(), u();
461
+ d(), i();
462
462
  };
463
463
  return rt(C), C;
464
464
  }
465
- function $o() {
465
+ function wo() {
466
466
  const t = I(!1), e = tt();
467
467
  return e && Vt(() => {
468
468
  t.value = !0;
469
469
  }, e), t;
470
470
  }
471
471
  function ct(t) {
472
- const e = $o();
473
- return D(() => (e.value, !!t()));
472
+ const e = wo();
473
+ return E(() => (e.value, !!t()));
474
474
  }
475
475
  function It(t, e = {}) {
476
476
  const {
477
477
  controls: n = !1,
478
478
  navigator: o = Mt
479
- } = e, l = ct(() => o && "permissions" in o), s = gt(), u = typeof t == "string" ? { name: t } : t, c = gt(), d = () => {
479
+ } = e, s = ct(() => o && "permissions" in o), l = gt(), i = typeof t == "string" ? { name: t } : t, u = gt(), d = () => {
480
480
  var v, a;
481
- c.value = (a = (v = s.value) == null ? void 0 : v.state) != null ? a : "prompt";
481
+ u.value = (a = (v = l.value) == null ? void 0 : v.state) != null ? a : "prompt";
482
482
  };
483
- he(s, "change", d);
483
+ me(l, "change", d);
484
484
  const C = mo(async () => {
485
- if (l.value) {
486
- if (!s.value)
485
+ if (s.value) {
486
+ if (!l.value)
487
487
  try {
488
- s.value = await o.permissions.query(u);
488
+ l.value = await o.permissions.query(i);
489
489
  } catch {
490
- s.value = void 0;
490
+ l.value = void 0;
491
491
  } finally {
492
492
  d();
493
493
  }
494
494
  if (n)
495
- return Nt(s.value);
495
+ return Nt(l.value);
496
496
  }
497
497
  });
498
498
  return C(), n ? {
499
- state: c,
500
- isSupported: l,
499
+ state: u,
500
+ isSupported: s,
501
501
  query: C
502
- } : c;
502
+ } : u;
503
503
  }
504
- function wo(t = {}) {
504
+ function $o(t = {}) {
505
505
  const {
506
506
  navigator: e = Mt,
507
507
  read: n = !1,
508
508
  source: o,
509
- copiedDuring: l = 1500,
510
- legacy: s = !1
511
- } = t, u = ct(() => e && "clipboard" in e), c = It("clipboard-read"), d = It("clipboard-write"), C = D(() => u.value || s), v = I(""), a = I(!1), f = xo(() => a.value = !1, l);
509
+ copiedDuring: s = 1500,
510
+ legacy: l = !1
511
+ } = t, i = ct(() => e && "clipboard" in e), u = It("clipboard-read"), d = It("clipboard-write"), C = E(() => i.value || l), v = I(""), a = I(!1), f = xo(() => a.value = !1, s);
512
512
  function m() {
513
- u.value && O(c.value) ? e.clipboard.readText().then((j) => {
514
- v.value = j;
513
+ i.value && j(u.value) ? e.clipboard.readText().then((O) => {
514
+ v.value = O;
515
515
  }) : v.value = k();
516
516
  }
517
- C.value && n && he(["copy", "cut"], m);
518
- async function y(j = ee(o)) {
519
- C.value && j != null && (u.value && O(d.value) ? await e.clipboard.writeText(j) : _(j), v.value = j, a.value = !0, f.start());
517
+ C.value && n && me(["copy", "cut"], m);
518
+ async function y(O = ee(o)) {
519
+ C.value && O != null && (i.value && j(d.value) ? await e.clipboard.writeText(O) : _(O), v.value = O, a.value = !0, f.start());
520
520
  }
521
- function _(j) {
522
- const V = document.createElement("textarea");
523
- V.value = j ?? "", V.style.position = "absolute", V.style.opacity = "0", document.body.appendChild(V), V.select(), document.execCommand("copy"), V.remove();
521
+ function _(O) {
522
+ const N = document.createElement("textarea");
523
+ N.value = O ?? "", N.style.position = "absolute", N.style.opacity = "0", document.body.appendChild(N), N.select(), document.execCommand("copy"), N.remove();
524
524
  }
525
525
  function k() {
526
- var j, V, $;
527
- return ($ = (V = (j = document == null ? void 0 : document.getSelection) == null ? void 0 : j.call(document)) == null ? void 0 : V.toString()) != null ? $ : "";
526
+ var O, N, w;
527
+ return (w = (N = (O = document == null ? void 0 : document.getSelection) == null ? void 0 : O.call(document)) == null ? void 0 : N.toString()) != null ? w : "";
528
528
  }
529
- function O(j) {
530
- return j === "granted" || j === "prompt";
529
+ function j(O) {
530
+ return O === "granted" || O === "prompt";
531
531
  }
532
532
  return {
533
533
  isSupported: C,
@@ -540,69 +540,69 @@ function ko(t) {
540
540
  return JSON.parse(JSON.stringify(t));
541
541
  }
542
542
  function Io(t, e, n = {}) {
543
- const { window: o = Ke, ...l } = n;
544
- let s;
545
- const u = ct(() => o && "ResizeObserver" in o), c = () => {
546
- s && (s.disconnect(), s = void 0);
547
- }, d = D(() => {
543
+ const { window: o = Ke, ...s } = n;
544
+ let l;
545
+ const i = ct(() => o && "ResizeObserver" in o), u = () => {
546
+ l && (l.disconnect(), l = void 0);
547
+ }, d = E(() => {
548
548
  const a = ee(t);
549
- return Array.isArray(a) ? a.map((f) => ge(f)) : [ge(a)];
549
+ return Array.isArray(a) ? a.map((f) => xe(f)) : [xe(a)];
550
550
  }), C = X(
551
551
  d,
552
552
  (a) => {
553
- if (c(), u.value && o) {
554
- s = new ResizeObserver(e);
553
+ if (u(), i.value && o) {
554
+ l = new ResizeObserver(e);
555
555
  for (const f of a)
556
- f && s.observe(f, l);
556
+ f && l.observe(f, s);
557
557
  }
558
558
  },
559
559
  { immediate: !0, flush: "post" }
560
560
  ), v = () => {
561
- c(), C();
561
+ u(), C();
562
562
  };
563
563
  return rt(v), {
564
- isSupported: u,
564
+ isSupported: i,
565
565
  stop: v
566
566
  };
567
567
  }
568
568
  function So(t, e = { width: 0, height: 0 }, n = {}) {
569
- const { window: o = Ke, box: l = "content-box" } = n, s = D(() => {
569
+ const { window: o = Ke, box: s = "content-box" } = n, l = E(() => {
570
570
  var a, f;
571
- return (f = (a = ge(t)) == null ? void 0 : a.namespaceURI) == null ? void 0 : f.includes("svg");
572
- }), u = I(e.width), c = I(e.height), { stop: d } = Io(
571
+ return (f = (a = xe(t)) == null ? void 0 : a.namespaceURI) == null ? void 0 : f.includes("svg");
572
+ }), i = I(e.width), u = I(e.height), { stop: d } = Io(
573
573
  t,
574
574
  ([a]) => {
575
- const f = l === "border-box" ? a.borderBoxSize : l === "content-box" ? a.contentBoxSize : a.devicePixelContentBoxSize;
576
- if (o && s.value) {
577
- const m = ge(t);
575
+ const f = s === "border-box" ? a.borderBoxSize : s === "content-box" ? a.contentBoxSize : a.devicePixelContentBoxSize;
576
+ if (o && l.value) {
577
+ const m = xe(t);
578
578
  if (m) {
579
579
  const y = m.getBoundingClientRect();
580
- u.value = y.width, c.value = y.height;
580
+ i.value = y.width, u.value = y.height;
581
581
  }
582
582
  } else if (f) {
583
583
  const m = Array.isArray(f) ? f : [f];
584
- u.value = m.reduce((y, { inlineSize: _ }) => y + _, 0), c.value = m.reduce((y, { blockSize: _ }) => y + _, 0);
584
+ i.value = m.reduce((y, { inlineSize: _ }) => y + _, 0), u.value = m.reduce((y, { blockSize: _ }) => y + _, 0);
585
585
  } else
586
- u.value = a.contentRect.width, c.value = a.contentRect.height;
586
+ i.value = a.contentRect.width, u.value = a.contentRect.height;
587
587
  },
588
588
  n
589
589
  );
590
590
  Co(() => {
591
- const a = ge(t);
592
- a && (u.value = "offsetWidth" in a ? a.offsetWidth : e.width, c.value = "offsetHeight" in a ? a.offsetHeight : e.height);
591
+ const a = xe(t);
592
+ a && (i.value = "offsetWidth" in a ? a.offsetWidth : e.width, u.value = "offsetHeight" in a ? a.offsetHeight : e.height);
593
593
  });
594
594
  const C = X(
595
- () => ge(t),
595
+ () => xe(t),
596
596
  (a) => {
597
- u.value = a ? e.width : 0, c.value = a ? e.height : 0;
597
+ i.value = a ? e.width : 0, u.value = a ? e.height : 0;
598
598
  }
599
599
  );
600
600
  function v() {
601
601
  d(), C();
602
602
  }
603
603
  return {
604
- width: u,
605
- height: c,
604
+ width: i,
605
+ height: u,
606
606
  stop: v
607
607
  };
608
608
  }
@@ -621,112 +621,112 @@ function Eo(t = {}) {
621
621
  reactive: e = !1,
622
622
  target: n = Ke,
623
623
  aliasMap: o = To,
624
- passive: l = !0,
625
- onEventFired: s = Fe
626
- } = t, u = _t(/* @__PURE__ */ new Set()), c = {
624
+ passive: s = !0,
625
+ onEventFired: l = Fe
626
+ } = t, i = _t(/* @__PURE__ */ new Set()), u = {
627
627
  toJSON() {
628
628
  return {};
629
629
  },
630
- current: u
631
- }, d = e ? _t(c) : c, C = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set();
630
+ current: i
631
+ }, d = e ? _t(u) : u, C = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set();
632
632
  function a(_, k) {
633
633
  _ in d && (e ? d[_] = k : d[_].value = k);
634
634
  }
635
635
  function f() {
636
- u.clear();
636
+ i.clear();
637
637
  for (const _ of v)
638
638
  a(_, !1);
639
639
  }
640
640
  function m(_, k) {
641
- var O, j;
642
- const V = (O = _.key) == null ? void 0 : O.toLowerCase(), N = [(j = _.code) == null ? void 0 : j.toLowerCase(), V].filter(Boolean);
643
- V && (k ? u.add(V) : u.delete(V));
644
- for (const H of N)
641
+ var j, O;
642
+ const N = (j = _.key) == null ? void 0 : j.toLowerCase(), R = [(O = _.code) == null ? void 0 : O.toLowerCase(), N].filter(Boolean);
643
+ N && (k ? i.add(N) : i.delete(N));
644
+ for (const H of R)
645
645
  v.add(H), a(H, k);
646
- V === "meta" && !k ? (C.forEach((H) => {
647
- u.delete(H), a(H, !1);
648
- }), C.clear()) : typeof _.getModifierState == "function" && _.getModifierState("Meta") && k && [...u, ...N].forEach((H) => C.add(H));
646
+ N === "meta" && !k ? (C.forEach((H) => {
647
+ i.delete(H), a(H, !1);
648
+ }), C.clear()) : typeof _.getModifierState == "function" && _.getModifierState("Meta") && k && [...i, ...R].forEach((H) => C.add(H));
649
649
  }
650
- he(n, "keydown", (_) => (m(_, !0), s(_)), { passive: l }), he(n, "keyup", (_) => (m(_, !1), s(_)), { passive: l }), he("blur", f, { passive: !0 }), he("focus", f, { passive: !0 });
650
+ me(n, "keydown", (_) => (m(_, !0), l(_)), { passive: s }), me(n, "keyup", (_) => (m(_, !1), l(_)), { passive: s }), me("blur", f, { passive: !0 }), me("focus", f, { passive: !0 });
651
651
  const y = new Proxy(
652
652
  d,
653
653
  {
654
- get(_, k, O) {
654
+ get(_, k, j) {
655
655
  if (typeof k != "string")
656
- return Reflect.get(_, k, O);
656
+ return Reflect.get(_, k, j);
657
657
  if (k = k.toLowerCase(), k in o && (k = o[k]), !(k in d))
658
658
  if (/[+_-]/.test(k)) {
659
- const V = k.split(/[+_-]/g).map(($) => $.trim());
660
- d[k] = D(() => V.every(($) => ee(y[$])));
659
+ const N = k.split(/[+_-]/g).map((w) => w.trim());
660
+ d[k] = E(() => N.every((w) => ee(y[w])));
661
661
  } else
662
662
  d[k] = I(!1);
663
- const j = Reflect.get(_, k, O);
664
- return e ? ee(j) : j;
663
+ const O = Reflect.get(_, k, j);
664
+ return e ? ee(O) : O;
665
665
  }
666
666
  }
667
667
  );
668
668
  return y;
669
669
  }
670
670
  function Vo(t, e, n, o = {}) {
671
- var l, s, u;
671
+ var s, l, i;
672
672
  const {
673
- clone: c = !1,
673
+ clone: u = !1,
674
674
  passive: d = !1,
675
675
  eventName: C,
676
676
  deep: v = !1,
677
677
  defaultValue: a,
678
678
  shouldEmit: f
679
- } = o, m = tt(), y = n || (m == null ? void 0 : m.emit) || ((l = m == null ? void 0 : m.$emit) == null ? void 0 : l.bind(m)) || ((u = (s = m == null ? void 0 : m.proxy) == null ? void 0 : s.$emit) == null ? void 0 : u.bind(m == null ? void 0 : m.proxy));
679
+ } = o, m = tt(), y = n || (m == null ? void 0 : m.emit) || ((s = m == null ? void 0 : m.$emit) == null ? void 0 : s.bind(m)) || ((i = (l = m == null ? void 0 : m.proxy) == null ? void 0 : l.$emit) == null ? void 0 : i.bind(m == null ? void 0 : m.proxy));
680
680
  let _ = C;
681
681
  _ = _ || `update:${e.toString()}`;
682
- const k = (V) => c ? typeof c == "function" ? c(V) : ko(V) : V, O = () => uo(t[e]) ? k(t[e]) : a, j = (V) => {
683
- f ? f(V) && y(_, V) : y(_, V);
682
+ const k = (N) => u ? typeof u == "function" ? u(N) : ko(N) : N, j = () => uo(t[e]) ? k(t[e]) : a, O = (N) => {
683
+ f ? f(N) && y(_, N) : y(_, N);
684
684
  };
685
685
  if (d) {
686
- const V = O(), $ = I(V);
687
- let N = !1;
686
+ const N = j(), w = I(N);
687
+ let R = !1;
688
688
  return X(
689
689
  () => t[e],
690
690
  (H) => {
691
- N || (N = !0, $.value = k(H), Be(() => N = !1));
691
+ R || (R = !0, w.value = k(H), Be(() => R = !1));
692
692
  }
693
693
  ), X(
694
- $,
694
+ w,
695
695
  (H) => {
696
- !N && (H !== t[e] || v) && j(H);
696
+ !R && (H !== t[e] || v) && O(H);
697
697
  },
698
698
  { deep: v }
699
- ), $;
699
+ ), w;
700
700
  } else
701
- return D({
701
+ return E({
702
702
  get() {
703
- return O();
703
+ return j();
704
704
  },
705
- set(V) {
706
- j(V);
705
+ set(N) {
706
+ O(N);
707
707
  }
708
708
  });
709
709
  }
710
710
  const Ht = Symbol("StateEditorSymbol");
711
711
  function No(t) {
712
712
  const e = I(t);
713
- return ke(Ht, e), {
713
+ return _e(Ht, e), {
714
714
  context: e
715
715
  };
716
716
  }
717
717
  function dt() {
718
- return Ce(Ht);
718
+ return ve(Ht);
719
719
  }
720
720
  function Ro() {
721
721
  const t = I(""), e = I("string"), n = I(!1), o = dt();
722
722
  return {
723
723
  editingText: t,
724
724
  editing: n,
725
- toggleEditing(l) {
726
- l && (e.value = l), n.value = !n.value;
725
+ toggleEditing(s) {
726
+ s && (e.value = s), n.value = !n.value;
727
727
  },
728
728
  editingType: e,
729
- nodeId: D(() => o.value.nodeId)
729
+ nodeId: E(() => o.value.nodeId)
730
730
  };
731
731
  }
732
732
  function Ao(t, e) {
@@ -735,9 +735,9 @@ function Ao(t, e) {
735
735
  const n = "newProp";
736
736
  let o = 1;
737
737
  for (; ; ) {
738
- const l = `${n}${o}`;
739
- if (!e[l])
740
- return l;
738
+ const s = `${n}${o}`;
739
+ if (!e[s])
740
+ return s;
741
741
  o++;
742
742
  }
743
743
  }
@@ -747,11 +747,11 @@ function Do() {
747
747
  key: "",
748
748
  value: "undefined"
749
749
  });
750
- function e(o, l) {
751
- const s = Ao(o, l);
750
+ function e(o, s) {
751
+ const l = Ao(o, s);
752
752
  t.value = {
753
753
  enable: !0,
754
- key: s.toString(),
754
+ key: l.toString(),
755
755
  value: "undefined"
756
756
  };
757
757
  }
@@ -779,14 +779,14 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
779
779
  },
780
780
  emits: ["enableEditInput", "addNewProp"],
781
781
  setup(t) {
782
- const e = t, n = dt(), { copy: o, isSupported: l } = wo(), s = I(!1), u = D(() => Rt(e.data.value)), c = D(() => u.value.value), d = D(() => u.value.customType), C = D(() => c.value === null ? "null" : typeof c.value), v = {
782
+ const e = t, n = dt(), { copy: o, isSupported: s } = $o(), l = I(!1), i = E(() => Rt(e.data.value)), u = E(() => i.value.value), d = E(() => i.value.customType), C = E(() => u.value === null ? "null" : typeof u.value), v = {
783
783
  flat: !0,
784
784
  size: "mini"
785
- }, a = D(() => ({
785
+ }, a = E(() => ({
786
786
  "opacity-0": !e.hovering
787
787
  }));
788
788
  async function f(y, _ = !1) {
789
- await R.value.editInspectorState({
789
+ await A.value.editInspectorState({
790
790
  path: e.data.path || [e.data.key],
791
791
  inspectorId: n.value.inspectorId,
792
792
  type: e.data.stateType,
@@ -797,7 +797,7 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
797
797
  type: C.value,
798
798
  remove: _
799
799
  }
800
- }), await R.value.sendInspectorState(n.value.inspectorId);
800
+ }), await A.value.sendInspectorState(n.value.inspectorId);
801
801
  }
802
802
  function m(y, _) {
803
803
  const k = typeof y == "number" ? y + _ : BigInt(y) + BigInt(_);
@@ -806,91 +806,91 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
806
806
  return (y, _) => (p(), h("div", Po, [
807
807
  !e.disableEdit && y.data.editable ? (p(), h(te, { key: 0 }, [
808
808
  C.value === "string" || C.value === "number" || C.value === "object" || C.value === "null" ? (p(), h(te, { key: 0 }, [
809
- J((p(), z(r(de), we(v, {
809
+ J((p(), z(c(de), $e(v, {
810
810
  class: a.value,
811
811
  onClick: _[0] || (_[0] = fe((k) => y.$emit("enableEditInput", C.value), ["stop"]))
812
812
  }), {
813
813
  icon: M(() => [
814
- x(r(se), { icon: "i-material-symbols-edit-rounded" })
814
+ x(c(oe), { icon: "i-material-symbols-edit-rounded" })
815
815
  ]),
816
816
  _: 1
817
817
  }, 16, ["class"])), [
818
- [r(Q), {
818
+ [c(Q), {
819
819
  content: "Edit value"
820
820
  }]
821
821
  ]),
822
- C.value === "object" && y.showAddIfNeeded ? J((p(), z(r(de), we({ key: 0 }, v, {
822
+ C.value === "object" && y.showAddIfNeeded ? J((p(), z(c(de), $e({ key: 0 }, v, {
823
823
  class: a.value,
824
- onClick: _[1] || (_[1] = fe((k) => y.$emit("addNewProp", Array.isArray(c.value) ? "array" : "object"), ["stop"]))
824
+ onClick: _[1] || (_[1] = fe((k) => y.$emit("addNewProp", Array.isArray(u.value) ? "array" : "object"), ["stop"]))
825
825
  }), {
826
826
  icon: M(() => [
827
- x(r(se), { icon: "i-material-symbols-add-circle-rounded" })
827
+ x(c(oe), { icon: "i-material-symbols-add-circle-rounded" })
828
828
  ]),
829
829
  _: 1
830
830
  }, 16, ["class"])), [
831
- [r(Q), {
831
+ [c(Q), {
832
832
  content: "Add new value"
833
833
  }]
834
834
  ]) : U("", !0)
835
835
  ], 64)) : U("", !0),
836
- C.value === "boolean" ? (p(), z(r(de), we({ key: 1 }, v, {
836
+ C.value === "boolean" ? (p(), z(c(de), $e({ key: 1 }, v, {
837
837
  class: a.value,
838
- onClick: _[2] || (_[2] = (k) => f(!c.value))
838
+ onClick: _[2] || (_[2] = (k) => f(!u.value))
839
839
  }), {
840
840
  icon: M(() => [
841
- x(r(se), {
842
- icon: c.value ? "i-material-symbols-check-box-sharp" : "i-material-symbols-check-box-outline-blank-sharp"
841
+ x(c(oe), {
842
+ icon: u.value ? "i-material-symbols-check-box-sharp" : "i-material-symbols-check-box-outline-blank-sharp"
843
843
  }, null, 8, ["icon"])
844
844
  ]),
845
845
  _: 1
846
846
  }, 16, ["class"])) : C.value === "number" || d.value === "bigint" ? (p(), h(te, { key: 2 }, [
847
- x(r(de), we(v, {
847
+ x(c(de), $e(v, {
848
848
  class: a.value,
849
- onClick: _[3] || (_[3] = fe((k) => m(c.value, 1), ["stop"]))
849
+ onClick: _[3] || (_[3] = fe((k) => m(u.value, 1), ["stop"]))
850
850
  }), {
851
851
  icon: M(() => [
852
- x(r(se), { icon: "i-carbon-add" })
852
+ x(c(oe), { icon: "i-carbon-add" })
853
853
  ]),
854
854
  _: 1
855
855
  }, 16, ["class"]),
856
- x(r(de), we(v, {
856
+ x(c(de), $e(v, {
857
857
  class: a.value,
858
- onClick: _[4] || (_[4] = fe((k) => m(c.value, -1), ["stop"]))
858
+ onClick: _[4] || (_[4] = fe((k) => m(u.value, -1), ["stop"]))
859
859
  }), {
860
860
  icon: M(() => [
861
- x(r(se), { icon: "i-carbon-subtract" })
861
+ x(c(oe), { icon: "i-carbon-subtract" })
862
862
  ]),
863
863
  _: 1
864
864
  }, 16, ["class"])
865
865
  ], 64)) : U("", !0)
866
866
  ], 64)) : U("", !0),
867
- !e.disableEdit && y.depth > 0 && y.data.editable ? (p(), z(r(de), we({ key: 1 }, v, {
867
+ !e.disableEdit && y.depth > 0 && y.data.editable ? (p(), z(c(de), $e({ key: 1 }, v, {
868
868
  class: a.value,
869
- onClick: _[5] || (_[5] = fe((k) => f(c.value, !0), ["stop"]))
869
+ onClick: _[5] || (_[5] = fe((k) => f(u.value, !0), ["stop"]))
870
870
  }), {
871
871
  icon: M(() => [
872
- x(r(se), { icon: "i-material-symbols-delete-rounded" })
872
+ x(c(oe), { icon: "i-material-symbols-delete-rounded" })
873
873
  ]),
874
874
  _: 1
875
875
  }, 16, ["class"])) : U("", !0),
876
- x(r(mn), {
876
+ x(c(mn), {
877
877
  class: ie({
878
- "opacity-0": !y.hovering && !s.value
878
+ "opacity-0": !y.hovering && !l.value
879
879
  }),
880
880
  "button-props": {
881
881
  flat: !0,
882
882
  size: "mini"
883
883
  },
884
- disabled: !r(l),
885
- "onUpdate:visible": _[8] || (_[8] = (k) => s.value = k)
884
+ disabled: !c(s),
885
+ "onUpdate:visible": _[8] || (_[8] = (k) => l.value = k)
886
886
  }, {
887
887
  popper: M(() => [
888
- i("div", Mo, [
889
- x(r(xt), {
890
- onClick: _[6] || (_[6] = (k) => r(o)(typeof c.value == "object" ? JSON.stringify(c.value) : c.value.toString()))
888
+ r("div", Mo, [
889
+ x(c(xt), {
890
+ onClick: _[6] || (_[6] = (k) => c(o)(typeof u.value == "object" ? JSON.stringify(u.value) : u.value.toString()))
891
891
  }, {
892
892
  icon: M(() => [
893
- x(r(se), {
893
+ x(c(oe), {
894
894
  icon: "i-material-symbols-copy-all-rounded",
895
895
  class: "mt4px"
896
896
  }),
@@ -898,13 +898,13 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
898
898
  ]),
899
899
  _: 1
900
900
  }),
901
- x(r(xt), {
901
+ x(c(xt), {
902
902
  onClick: _[7] || (_[7] = () => {
903
- r(o)(y.data.key);
903
+ c(o)(y.data.key);
904
904
  })
905
905
  }, {
906
906
  icon: M(() => [
907
- x(r(se), {
907
+ x(c(oe), {
908
908
  icon: "i-material-symbols-copy-all-rounded",
909
909
  class: "mt4px"
910
910
  }),
@@ -915,7 +915,7 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
915
915
  ])
916
916
  ]),
917
917
  "button-icon": M(() => [
918
- x(r(se), { icon: "i-material-symbols:more-vert" })
918
+ x(c(oe), { icon: "i-material-symbols:more-vert" })
919
919
  ]),
920
920
  _: 1
921
921
  }, 8, ["class", "disabled"])
@@ -931,11 +931,11 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
931
931
  },
932
932
  emits: ["cancel", "submit", "update:modelValue"],
933
933
  setup(t, { emit: e }) {
934
- const n = t, o = e, l = D(() => n.customType === "date" ? "datetime-local" : ""), { escape: s, enter: u } = Eo();
934
+ const n = t, o = e, s = E(() => n.customType === "date" ? "datetime-local" : ""), { escape: l, enter: i } = Eo();
935
935
  nt(() => {
936
- s.value ? o("cancel") : u.value && o("submit");
936
+ l.value ? o("cancel") : i.value && o("submit");
937
937
  });
938
- const c = Vo(n, "modelValue", o);
938
+ const u = Vo(n, "modelValue", o);
939
939
  function d(a) {
940
940
  try {
941
941
  return ze(a, n.customType), !0;
@@ -944,13 +944,13 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
944
944
  }
945
945
  }
946
946
  const C = I(!1);
947
- return X(c, bn(() => {
948
- C.value = !d(c.value);
947
+ return X(u, bn(() => {
948
+ C.value = !d(u.value);
949
949
  }, 300)), (a, f) => (p(), h("span", Lo, [
950
- x(r(Xe), {
951
- modelValue: r(c),
952
- "onUpdate:modelValue": f[0] || (f[0] = (m) => Ge(c) ? c.value = m : null),
953
- type: l.value,
950
+ x(c(Xe), {
951
+ modelValue: c(u),
952
+ "onUpdate:modelValue": f[0] || (f[0] = (m) => Ge(u) ? u.value = m : null),
953
+ type: s.value,
954
954
  variant: C.value ? "warning" : "normal",
955
955
  class: ie(["h25px px4px", a.customType === "date" ? "w240px" : "w120px"]),
956
956
  "auto-focus": a.autoFocus,
@@ -958,30 +958,30 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
958
958
  }, ["stop"]))
959
959
  }, null, 8, ["modelValue", "type", "variant", "class", "auto-focus"]),
960
960
  a.showActions ? (p(), h(te, { key: 0 }, [
961
- J((p(), z(r(de), {
961
+ J((p(), z(c(de), {
962
962
  size: "mini",
963
963
  flat: "",
964
964
  class: "p2px!",
965
965
  onClick: f[2] || (f[2] = fe((m) => a.$emit("cancel"), ["stop"]))
966
966
  }, {
967
967
  icon: M(() => [
968
- x(r(se), { icon: "i-material-symbols-cancel" })
968
+ x(c(oe), { icon: "i-material-symbols-cancel" })
969
969
  ]),
970
970
  _: 1
971
971
  })), [
972
- [r(Q), {
972
+ [c(Q), {
973
973
  content: "Esc to cancel"
974
974
  }]
975
975
  ]),
976
- C.value ? J((p(), z(r(se), {
976
+ C.value ? J((p(), z(c(oe), {
977
977
  key: 1,
978
978
  icon: "i-material-symbols-warning",
979
979
  class: "color-warning-500 dark:color-warning-300"
980
980
  }, null, 512)), [
981
- [r(Q), {
981
+ [c(Q), {
982
982
  content: "Invalid value"
983
983
  }]
984
- ]) : J((p(), z(r(de), {
984
+ ]) : J((p(), z(c(de), {
985
985
  key: 0,
986
986
  size: "mini",
987
987
  flat: "",
@@ -989,11 +989,11 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
989
989
  onClick: f[3] || (f[3] = fe((m) => a.$emit("submit"), ["stop"]))
990
990
  }, {
991
991
  icon: M(() => [
992
- x(r(se), { icon: "i-material-symbols-save" })
992
+ x(c(oe), { icon: "i-material-symbols-save" })
993
993
  ]),
994
994
  _: 1
995
995
  })), [
996
- [r(Q), {
996
+ [c(Q), {
997
997
  content: "Enter to submit change"
998
998
  }]
999
999
  ])
@@ -1013,51 +1013,51 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
1013
1013
  }, null, 2));
1014
1014
  }
1015
1015
  }), Lt = "expanded-state";
1016
- function ve(t = "") {
1016
+ function he(t = "") {
1017
1017
  const e = I([]);
1018
- return ke(`${Lt}-${t}`, e), {
1018
+ return _e(`${Lt}-${t}`, e), {
1019
1019
  expanded: e
1020
1020
  };
1021
1021
  }
1022
1022
  function ft(t = "") {
1023
- const e = Ce(`${Lt}-${t}`, I([]));
1023
+ const e = ve(`${Lt}-${t}`, I([]));
1024
1024
  function n(o) {
1025
- const l = e.value.indexOf(o);
1026
- l === -1 ? e.value.push(o) : e.value.splice(l, 1);
1025
+ const s = e.value.indexOf(o);
1026
+ s === -1 ? e.value.push(o) : e.value.splice(s, 1);
1027
1027
  }
1028
1028
  return {
1029
1029
  expanded: e,
1030
1030
  toggleExpanded: n
1031
1031
  };
1032
1032
  }
1033
- function jo(t, e = {}) {
1033
+ function Oo(t, e = {}) {
1034
1034
  const {
1035
1035
  enter: n = () => {
1036
1036
  },
1037
1037
  leave: o = () => {
1038
1038
  },
1039
- initial: l = !1
1040
- } = e, s = I(l);
1041
- return he(t, "mouseenter", () => {
1042
- s.value = !0, n();
1043
- }), he(t, "mouseleave", () => {
1044
- s.value = !1, o();
1039
+ initial: s = !1
1040
+ } = e, l = I(s);
1041
+ return me(t, "mouseenter", () => {
1042
+ l.value = !0, n();
1043
+ }), me(t, "mouseleave", () => {
1044
+ l.value = !1, o();
1045
1045
  }), {
1046
- isHovering: s
1046
+ isHovering: l
1047
1047
  };
1048
1048
  }
1049
- const jt = (t) => (ot("data-v-e1338684"), t = t(), st(), t), Oo = {
1049
+ const Ot = (t) => (ot("data-v-e1338684"), t = t(), lt(), t), jo = {
1050
1050
  key: 1,
1051
1051
  pl5: ""
1052
1052
  }, Uo = {
1053
1053
  op70: "",
1054
1054
  class: "whitespace-nowrap"
1055
- }, zo = /* @__PURE__ */ jt(() => /* @__PURE__ */ i("span", { mx1: "" }, ":", -1)), Bo = ["innerHTML"], Zo = { key: 0 }, Fo = {
1055
+ }, zo = /* @__PURE__ */ Ot(() => /* @__PURE__ */ r("span", { mx1: "" }, ":", -1)), Bo = ["innerHTML"], Zo = { key: 0 }, Fo = {
1056
1056
  "overflow-hidden": "",
1057
1057
  "text-ellipsis": "",
1058
1058
  "whitespace-nowrap": "",
1059
1059
  "state-key": ""
1060
- }, Go = /* @__PURE__ */ jt(() => /* @__PURE__ */ i("span", { "mx-1": "" }, ":", -1)), St = 30, Ko = /* @__PURE__ */ B({
1060
+ }, Go = /* @__PURE__ */ Ot(() => /* @__PURE__ */ r("span", { "mx-1": "" }, ":", -1)), St = 30, Ko = /* @__PURE__ */ B({
1061
1061
  __name: "StateFieldViewer",
1062
1062
  props: {
1063
1063
  data: {},
@@ -1066,75 +1066,75 @@ const jt = (t) => (ot("data-v-e1338684"), t = t(), st(), t), Oo = {
1066
1066
  expandedStateId: {}
1067
1067
  },
1068
1068
  setup(t) {
1069
- const e = t, n = I(St), o = D(() => un(e.data.value, !1, {
1069
+ const e = t, n = I(St), o = E(() => un(e.data.value, !1, {
1070
1070
  customClass: {
1071
1071
  string: "max-w-120 truncate"
1072
1072
  }
1073
- })), l = D(() => Ct(e.data.value)), s = D(() => Rt(e.data.value)), { expanded: u, toggleExpanded: c } = ft(e.expandedStateId ?? ""), d = D(() => {
1073
+ })), s = E(() => Ct(e.data.value)), l = E(() => Rt(e.data.value)), { expanded: i, toggleExpanded: u } = ft(e.expandedStateId ?? ""), d = E(() => {
1074
1074
  var g;
1075
- return l.value === "custom" ? `${((g = e.data.value._custom) == null ? void 0 : g.type) ?? "string"}-custom-state` : "";
1076
- }), C = D(() => {
1077
- const { value: g } = s.value;
1078
- return bt(g) ? g.length : $t(g) ? Object.keys(g).length : 0;
1079
- }), v = D(() => e.data.path || [e.data.key]), a = D(() => v.value[v.value.length - 1]), f = D(() => {
1080
- var F, le, re, ce, me, _e, Le;
1081
- const g = ["Reactive"], A = ((le = (F = e.data) == null ? void 0 : F._custom) == null ? void 0 : le.stateTypeName) || ((re = e.data) == null ? void 0 : re.stateTypeName);
1082
- if (g.includes(A))
1083
- return A;
1084
- if ((me = (ce = e.data.value) == null ? void 0 : ce.fields) != null && me.abstract)
1075
+ return s.value === "custom" ? `${((g = e.data.value._custom) == null ? void 0 : g.type) ?? "string"}-custom-state` : "";
1076
+ }), C = E(() => {
1077
+ const { value: g } = l.value;
1078
+ return bt(g) ? g.length : wt(g) ? Object.keys(g).length : 0;
1079
+ }), v = E(() => e.data.path || [e.data.key]), a = E(() => v.value[v.value.length - 1]), f = E(() => {
1080
+ var F, se, re, ce, ge, Ce, Le;
1081
+ const g = ["Reactive"], D = ((se = (F = e.data) == null ? void 0 : F._custom) == null ? void 0 : se.stateTypeName) || ((re = e.data) == null ? void 0 : re.stateTypeName);
1082
+ if (g.includes(D))
1083
+ return D;
1084
+ if ((ge = (ce = e.data.value) == null ? void 0 : ce.fields) != null && ge.abstract)
1085
1085
  return "";
1086
1086
  {
1087
- const je = (Le = (_e = e.data.value) == null ? void 0 : _e._custom) == null ? void 0 : Le.type, Oe = l.value === "custom" && !je ? `"${o.value}"` : o.value === "" ? '""' : o.value, Ue = l.value === "custom" && je === "ref" ? Ct(Oe) : l.value, We = l.value === "string" ? "select-text" : "", Ee = `<span class="${Ue}-state-type flex whitespace-nowrap ${We}">${Oe}</span>`;
1088
- return A ? `${Ee} <span class="text-gray-500">(${A})</span>` : Ee;
1087
+ const Oe = (Le = (Ce = e.data.value) == null ? void 0 : Ce._custom) == null ? void 0 : Le.type, je = s.value === "custom" && !Oe ? `"${o.value}"` : o.value === "" ? '""' : o.value, Ue = s.value === "custom" && Oe === "ref" ? Ct(je) : s.value, We = s.value === "string" ? "select-text" : "", Ee = `<span class="${Ue}-state-type flex whitespace-nowrap ${We}">${je}</span>`;
1088
+ return D ? `${Ee} <span class="text-gray-500">(${D})</span>` : Ee;
1089
1089
  }
1090
- }), m = D(() => {
1091
- const { value: g, inherit: A, customType: F } = s.value, le = F === "set";
1090
+ }), m = E(() => {
1091
+ const { value: g, inherit: D, customType: F } = l.value, se = F === "set";
1092
1092
  let re = [];
1093
- return bt(g) ? g.slice(0, n.value).map((me, _e) => ({
1094
- key: _e.toString(),
1095
- path: [...v.value, _e.toString()],
1096
- value: me,
1097
- ...A,
1098
- editable: e.data.editable && !le,
1093
+ return bt(g) ? g.slice(0, n.value).map((ge, Ce) => ({
1094
+ key: Ce.toString(),
1095
+ path: [...v.value, Ce.toString()],
1096
+ value: ge,
1097
+ ...D,
1098
+ editable: e.data.editable && !se,
1099
1099
  creating: !1
1100
- })) : ($t(g) && (re = Object.keys(g).slice(0, n.value).map((ce) => ({
1100
+ })) : (wt(g) && (re = Object.keys(g).slice(0, n.value).map((ce) => ({
1101
1101
  key: ce,
1102
1102
  path: [...v.value, ce],
1103
1103
  value: g[ce],
1104
- ...A,
1105
- editable: e.data.editable && !le,
1104
+ ...D,
1105
+ editable: e.data.editable && !se,
1106
1106
  creating: !1
1107
- })), l.value !== "custom" && (re = At(re))), re === e.data.value ? [] : re);
1108
- }), y = D(() => m.value.length > 0), _ = I(), k = dt(), { isHovering: O } = jo(() => _.value), { editingType: j, editing: V, editingText: $, toggleEditing: N, nodeId: H } = Ro();
1109
- X(() => V.value, (g) => {
1107
+ })), s.value !== "custom" && (re = At(re))), re === e.data.value ? [] : re);
1108
+ }), y = E(() => m.value.length > 0), _ = I(), k = dt(), { isHovering: j } = Oo(() => _.value), { editingType: O, editing: N, editingText: w, toggleEditing: R, nodeId: H } = Ro();
1109
+ X(() => N.value, (g) => {
1110
1110
  if (g) {
1111
- const { value: A } = s.value;
1112
- $.value = cn(A, s.value.customType);
1111
+ const { value: D } = l.value;
1112
+ w.value = cn(D, l.value.customType);
1113
1113
  } else
1114
- $.value = "";
1114
+ w.value = "";
1115
1115
  });
1116
1116
  async function K() {
1117
1117
  const g = e.data;
1118
- await R.value.editInspectorState({
1118
+ await A.value.editInspectorState({
1119
1119
  path: v.value,
1120
1120
  inspectorId: k.value.inspectorId,
1121
1121
  type: g.stateType,
1122
1122
  nodeId: H.value,
1123
1123
  state: {
1124
1124
  newKey: null,
1125
- type: j.value,
1126
- value: ze($.value, s.value.customType)
1125
+ type: O.value,
1126
+ value: ze(w.value, l.value.customType)
1127
1127
  }
1128
- }), await R.value.sendInspectorState(k.value.inspectorId), N();
1128
+ }), await A.value.sendInspectorState(k.value.inspectorId), R();
1129
1129
  }
1130
1130
  const { addNewProp: Z, draftingNewProp: T, resetDrafting: P } = Do();
1131
1131
  function b(g) {
1132
- const A = `${e.depth}-${e.index}`;
1133
- u.value.includes(A) || c(A), Z(g, s.value.value);
1132
+ const D = `${e.depth}-${e.index}`;
1133
+ i.value.includes(D) || u(D), Z(g, l.value.value);
1134
1134
  }
1135
1135
  async function S() {
1136
1136
  const g = e.data;
1137
- await R.value.editInspectorState({
1137
+ await A.value.editInspectorState({
1138
1138
  path: [...v.value, T.value.key],
1139
1139
  inspectorId: k.value.inspectorId,
1140
1140
  type: g.stateType,
@@ -1144,92 +1144,92 @@ const jt = (t) => (ot("data-v-e1338684"), t = t(), st(), t), Oo = {
1144
1144
  type: typeof ze(T.value.value),
1145
1145
  value: ze(T.value.value)
1146
1146
  }
1147
- }), await R.value.sendInspectorState(k.value.inspectorId), P();
1147
+ }), await A.value.sendInspectorState(k.value.inspectorId), P();
1148
1148
  }
1149
- return (g, A) => (p(), h("div", null, [
1150
- i("div", {
1149
+ return (g, D) => (p(), h("div", null, [
1150
+ r("div", {
1151
1151
  ref_key: "containerRef",
1152
1152
  ref: _,
1153
1153
  class: ie(["font-state-field flex items-center text-3.5", [y.value && "cursor-pointer hover:bg-active"]]),
1154
- style: Ie({ paddingLeft: `${g.depth * 15 + 4}px` }),
1155
- onClick: A[1] || (A[1] = (F) => r(c)(`${g.depth}-${g.index}`))
1154
+ style: ke({ paddingLeft: `${g.depth * 15 + 4}px` }),
1155
+ onClick: D[1] || (D[1] = (F) => c(u)(`${g.depth}-${g.index}`))
1156
1156
  }, [
1157
1157
  y.value ? (p(), z(pt, {
1158
1158
  key: 0,
1159
- value: r(u).includes(`${g.depth}-${g.index}`)
1160
- }, null, 8, ["value"])) : (p(), h("span", Oo)),
1161
- i("span", Uo, oe(a.value), 1),
1159
+ value: c(i).includes(`${g.depth}-${g.index}`)
1160
+ }, null, 8, ["value"])) : (p(), h("span", jo)),
1161
+ r("span", Uo, le(a.value), 1),
1162
1162
  zo,
1163
- r(V) ? (p(), z(Ye, {
1163
+ c(N) ? (p(), z(Ye, {
1164
1164
  key: 2,
1165
- modelValue: r($),
1166
- "onUpdate:modelValue": A[0] || (A[0] = (F) => Ge($) ? $.value = F : null),
1165
+ modelValue: c(w),
1166
+ "onUpdate:modelValue": D[0] || (D[0] = (F) => Ge(w) ? w.value = F : null),
1167
1167
  class: "mr-1",
1168
- "custom-type": s.value.customType,
1169
- onCancel: r(N),
1168
+ "custom-type": l.value.customType,
1169
+ onCancel: c(R),
1170
1170
  onSubmit: K
1171
1171
  }, null, 8, ["modelValue", "custom-type", "onCancel"])) : U("", !0),
1172
- i("span", {
1172
+ r("span", {
1173
1173
  class: ie([d.value, "flex whitespace-nowrap"])
1174
1174
  }, [
1175
- i("span", {
1175
+ r("span", {
1176
1176
  class: "flex",
1177
1177
  innerHTML: f.value
1178
1178
  }, null, 8, Bo)
1179
1179
  ], 2),
1180
1180
  x(Ho, {
1181
- hovering: r(O),
1182
- "disable-edit": r(k).disableEdit || r(V),
1181
+ hovering: c(j),
1182
+ "disable-edit": c(k).disableEdit || c(N),
1183
1183
  data: g.data,
1184
1184
  depth: g.depth,
1185
- onEnableEditInput: r(N),
1185
+ onEnableEditInput: c(R),
1186
1186
  onAddNewProp: b
1187
1187
  }, null, 8, ["hovering", "disable-edit", "data", "depth", "onEnableEditInput"])
1188
1188
  ], 6),
1189
- y.value && r(u).includes(`${g.depth}-${g.index}`) ? (p(), h("div", Zo, [
1190
- x(Ot, {
1189
+ y.value && c(i).includes(`${g.depth}-${g.index}`) ? (p(), h("div", Zo, [
1190
+ x(jt, {
1191
1191
  data: m.value,
1192
1192
  depth: g.depth,
1193
1193
  index: g.index
1194
1194
  }, null, 8, ["data", "depth", "index"]),
1195
- C.value > n.value ? J((p(), z(r(de), {
1195
+ C.value > n.value ? J((p(), z(c(de), {
1196
1196
  key: 0,
1197
1197
  flat: "",
1198
1198
  size: "mini",
1199
1199
  class: "ml-4",
1200
- onClick: A[2] || (A[2] = (F) => n.value += St)
1200
+ onClick: D[2] || (D[2] = (F) => n.value += St)
1201
1201
  }, {
1202
1202
  icon: M(() => [
1203
- x(r(se), { icon: "i-material-symbols-more-horiz" })
1203
+ x(c(oe), { icon: "i-material-symbols-more-horiz" })
1204
1204
  ]),
1205
1205
  _: 1
1206
1206
  })), [
1207
- [r(Q), "Show more"]
1207
+ [c(Q), "Show more"]
1208
1208
  ]) : U("", !0),
1209
- r(T).enable ? (p(), h("div", {
1209
+ c(T).enable ? (p(), h("div", {
1210
1210
  key: 1,
1211
- style: Ie({ paddingLeft: `${(g.depth + 1) * 15 + 4}px` })
1211
+ style: ke({ paddingLeft: `${(g.depth + 1) * 15 + 4}px` })
1212
1212
  }, [
1213
- i("span", Fo, [
1213
+ r("span", Fo, [
1214
1214
  x(Ye, {
1215
- modelValue: r(T).key,
1216
- "onUpdate:modelValue": A[3] || (A[3] = (F) => r(T).key = F),
1215
+ modelValue: c(T).key,
1216
+ "onUpdate:modelValue": D[3] || (D[3] = (F) => c(T).key = F),
1217
1217
  "show-actions": !1
1218
1218
  }, null, 8, ["modelValue"])
1219
1219
  ]),
1220
1220
  Go,
1221
1221
  x(Ye, {
1222
- modelValue: r(T).value,
1223
- "onUpdate:modelValue": A[4] || (A[4] = (F) => r(T).value = F),
1222
+ modelValue: c(T).value,
1223
+ "onUpdate:modelValue": D[4] || (D[4] = (F) => c(T).value = F),
1224
1224
  "auto-focus": !1,
1225
- onCancel: r(P),
1225
+ onCancel: c(P),
1226
1226
  onSubmit: S
1227
1227
  }, null, 8, ["modelValue", "onCancel"])
1228
1228
  ], 4)) : U("", !0)
1229
1229
  ])) : U("", !0)
1230
1230
  ]));
1231
1231
  }
1232
- }), Wo = /* @__PURE__ */ ye(Ko, [["__scopeId", "data-v-e1338684"]]), Ot = /* @__PURE__ */ B({
1232
+ }), Wo = /* @__PURE__ */ be(Ko, [["__scopeId", "data-v-e1338684"]]), jt = /* @__PURE__ */ B({
1233
1233
  __name: "ChildStateViewer",
1234
1234
  props: {
1235
1235
  data: {},
@@ -1239,11 +1239,11 @@ const jt = (t) => (ot("data-v-e1338684"), t = t(), st(), t), Oo = {
1239
1239
  },
1240
1240
  setup(t) {
1241
1241
  return (e, n) => (p(), h("div", null, [
1242
- (p(!0), h(te, null, ae(e.data, (o, l) => (p(), h("div", { key: l }, [
1242
+ (p(!0), h(te, null, ae(e.data, (o, s) => (p(), h("div", { key: s }, [
1243
1243
  x(Wo, {
1244
1244
  data: o,
1245
1245
  depth: e.depth + 1,
1246
- index: `${e.index}-${l}`,
1246
+ index: `${e.index}-${s}`,
1247
1247
  "expanded-state-id": e.expandedStateId
1248
1248
  }, null, 8, ["data", "depth", "index", "expanded-state-id"])
1249
1249
  ]))), 128))
@@ -1277,24 +1277,24 @@ const jt = (t) => (ot("data-v-e1338684"), t = t(), st(), t), Oo = {
1277
1277
  nt(() => {
1278
1278
  o.value = n();
1279
1279
  });
1280
- const { expanded: l, toggleExpanded: s } = ft(e.expandedStateId);
1281
- return (u, c) => (p(), h("div", null, [
1282
- (p(!0), h(te, null, ae(u.data, (d, C, v) => (p(), h("div", { key: v }, [
1283
- i("div", {
1280
+ const { expanded: s, toggleExpanded: l } = ft(e.expandedStateId);
1281
+ return (i, u) => (p(), h("div", null, [
1282
+ (p(!0), h(te, null, ae(i.data, (d, C, v) => (p(), h("div", { key: v }, [
1283
+ r("div", {
1284
1284
  class: ie(["flex items-center", [(d == null ? void 0 : d.length) && "cursor-pointer hover:bg-active"]]),
1285
- onClick: (a) => r(s)(`${v}`)
1285
+ onClick: (a) => c(l)(`${v}`)
1286
1286
  }, [
1287
1287
  d != null && d.length ? (p(), z(pt, {
1288
1288
  key: 0,
1289
- value: r(l).includes(`${v}`)
1289
+ value: c(s).includes(`${v}`)
1290
1290
  }, null, 8, ["value"])) : (p(), h("span", Jo)),
1291
- i("span", Yo, oe(C), 1)
1291
+ r("span", Yo, le(C), 1)
1292
1292
  ], 10, qo),
1293
- d != null && d.length && r(l).includes(`${v}`) ? (p(), h("div", Xo, [
1294
- x(Ot, {
1293
+ d != null && d.length && c(s).includes(`${v}`) ? (p(), h("div", Xo, [
1294
+ x(jt, {
1295
1295
  data: d,
1296
1296
  index: `${v}`,
1297
- "expanded-state-id": u.expandedStateId
1297
+ "expanded-state-id": i.expandedStateId
1298
1298
  }, null, 8, ["data", "index", "expanded-state-id"])
1299
1299
  ])) : U("", !0)
1300
1300
  ]))), 128))
@@ -1313,16 +1313,16 @@ const Ut = 10;
1313
1313
  function zt(t, e, n, o) {
1314
1314
  if (o > Ut)
1315
1315
  return !1;
1316
- let l = !1;
1317
- const s = Object.keys(t);
1318
- let u, c;
1319
- for (let d = 0; d < s.length && (u = s[d], c = t[u], l = Bt(e, u, c, n, o + 1), !l); d++)
1316
+ let s = !1;
1317
+ const l = Object.keys(t);
1318
+ let i, u;
1319
+ for (let d = 0; d < l.length && (i = l[d], u = t[i], s = Bt(e, i, u, n, o + 1), !s); d++)
1320
1320
  ;
1321
- return l;
1321
+ return s;
1322
1322
  }
1323
- function Bt(t, e, n, o, l) {
1324
- let s = !1, u;
1325
- return e === "_custom" && (e = n.display, n = n.value), (u = t1(n)) && (n = u), e && Tt(e, t) ? (s = !0, o.set(n, !0)) : o.has(n) ? s = o.get(n) : Array.isArray(n) ? (o.set(n, null), s = n1(n, t, o, l), o.set(n, s)) : dn(n) ? (o.set(n, null), s = zt(n, t, o, l), o.set(n, s)) : Tt(n, t) && (s = !0, o.set(n, !0)), s;
1323
+ function Bt(t, e, n, o, s) {
1324
+ let l = !1, i;
1325
+ return e === "_custom" && (e = n.display, n = n.value), (i = t1(n)) && (n = i), e && Tt(e, t) ? (l = !0, o.set(n, !0)) : o.has(n) ? l = o.get(n) : Array.isArray(n) ? (o.set(n, null), l = n1(n, t, o, s), o.set(n, l)) : dn(n) ? (o.set(n, null), l = zt(n, t, o, s), o.set(n, l)) : Tt(n, t) && (l = !0, o.set(n, !0)), l;
1326
1326
  }
1327
1327
  function Tt(t, e) {
1328
1328
  return `${t}`.toLowerCase().includes(e);
@@ -1333,10 +1333,10 @@ function t1(t) {
1333
1333
  function n1(t, e, n, o) {
1334
1334
  if (o > Ut)
1335
1335
  return !1;
1336
- let l = !1, s;
1337
- for (let u = 0; u < t.length && (s = t[u], l = Bt(e, null, s, n, o + 1), !l); u++)
1336
+ let s = !1, l;
1337
+ for (let i = 0; i < t.length && (l = t[i], s = Bt(e, null, l, n, o + 1), !s); i++)
1338
1338
  ;
1339
- return l;
1339
+ return s;
1340
1340
  }
1341
1341
  function Et(t) {
1342
1342
  return t.toString(16).padStart(6, "0");
@@ -1348,15 +1348,15 @@ const Zt = /* @__PURE__ */ B({
1348
1348
  },
1349
1349
  setup(t) {
1350
1350
  return (e, n) => J((p(), h("span", {
1351
- style: Ie({
1352
- color: `#${r(Et)(e.tag.textColor)}`,
1353
- backgroundColor: `#${r(Et)(e.tag.backgroundColor)}`
1351
+ style: ke({
1352
+ color: `#${c(Et)(e.tag.textColor)}`,
1353
+ backgroundColor: `#${c(Et)(e.tag.backgroundColor)}`
1354
1354
  }),
1355
1355
  class: "ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"
1356
1356
  }, [
1357
- ne(oe(e.tag.label), 1)
1357
+ ne(le(e.tag.label), 1)
1358
1358
  ], 4)), [
1359
- [r(Q), {
1359
+ [c(Q), {
1360
1360
  content: e.tag.tooltip,
1361
1361
  html: !0
1362
1362
  }]
@@ -1365,12 +1365,12 @@ const Zt = /* @__PURE__ */ B({
1365
1365
  }), Ft = Symbol("SelectedSymbolKey");
1366
1366
  function o1() {
1367
1367
  const t = I("");
1368
- return ke(Ft, t), {
1368
+ return _e(Ft, t), {
1369
1369
  selected: t
1370
1370
  };
1371
1371
  }
1372
- function s1() {
1373
- const t = Ce(Ft, I(""));
1372
+ function l1() {
1373
+ const t = ve(Ft, I(""));
1374
1374
  function e(n) {
1375
1375
  t.value = n;
1376
1376
  }
@@ -1379,7 +1379,7 @@ function s1() {
1379
1379
  select: e
1380
1380
  };
1381
1381
  }
1382
- const l1 = ["onClick", "onDblclick"], a1 = {
1382
+ const s1 = ["onClick", "onDblclick"], a1 = {
1383
1383
  key: 1,
1384
1384
  pl5: ""
1385
1385
  }, i1 = {
@@ -1406,51 +1406,51 @@ const l1 = ["onClick", "onDblclick"], a1 = {
1406
1406
  }),
1407
1407
  emits: ["update:modelValue"],
1408
1408
  setup(t) {
1409
- const e = lt(t, "modelValue"), { expanded: n, toggleExpanded: o } = ft();
1410
- s1();
1411
- function l(u) {
1412
- return "name" in u && (u == null ? void 0 : u.name) || "label" in u && u.label;
1409
+ const e = st(t, "modelValue"), { expanded: n, toggleExpanded: o } = ft();
1410
+ l1();
1411
+ function s(i) {
1412
+ return "name" in i && (i == null ? void 0 : i.name) || "label" in i && i.label;
1413
1413
  }
1414
- function s(u) {
1415
- e.value = u;
1414
+ function l(i) {
1415
+ e.value = i;
1416
1416
  }
1417
- return (u, c) => (p(!0), h(te, null, ae(u.data, (d, C) => {
1417
+ return (i, u) => (p(!0), h(te, null, ae(i.data, (d, C) => {
1418
1418
  var v, a;
1419
1419
  return p(), h("div", {
1420
1420
  key: C,
1421
1421
  class: ie({
1422
- "min-w-max": u.depth === 0
1422
+ "min-w-max": i.depth === 0
1423
1423
  })
1424
1424
  }, [
1425
- i("div", {
1425
+ r("div", {
1426
1426
  class: ie(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600", { "bg-primary-600! active": e.value === d.id }]),
1427
- style: Ie({ paddingLeft: `${15 * u.depth + 4}px` }),
1428
- onClick: (f) => s(d.id),
1429
- onDblclick: (f) => r(o)(d.id)
1427
+ style: ke({ paddingLeft: `${15 * i.depth + 4}px` }),
1428
+ onClick: (f) => l(d.id),
1429
+ onDblclick: (f) => c(o)(d.id)
1430
1430
  }, [
1431
1431
  (v = d == null ? void 0 : d.children) != null && v.length ? (p(), z(pt, {
1432
1432
  key: 0,
1433
- value: r(n).includes(d.id),
1433
+ value: c(n).includes(d.id),
1434
1434
  class: "[.active_&]:op20 group-hover:op20",
1435
- onClick: fe((f) => r(o)(d.id), ["stop"])
1435
+ onClick: fe((f) => c(o)(d.id), ["stop"])
1436
1436
  }, null, 8, ["value", "onClick"])) : (p(), h("span", a1)),
1437
- i("span", i1, [
1438
- u.withTag ? (p(), h("span", r1, "<")) : U("", !0),
1439
- i("span", u1, oe(l(d)), 1),
1440
- u.withTag ? (p(), h("span", c1, ">")) : U("", !0)
1437
+ r("span", i1, [
1438
+ i.withTag ? (p(), h("span", r1, "<")) : U("", !0),
1439
+ r("span", u1, le(s(d)), 1),
1440
+ i.withTag ? (p(), h("span", c1, ">")) : U("", !0)
1441
1441
  ]),
1442
1442
  (p(!0), h(te, null, ae(d.tags, (f, m) => (p(), z(Zt, {
1443
1443
  key: m,
1444
1444
  tag: f
1445
1445
  }, null, 8, ["tag"]))), 128))
1446
- ], 46, l1),
1447
- (a = d == null ? void 0 : d.children) != null && a.length && r(n).includes(d.id) ? (p(), h("div", d1, [
1446
+ ], 46, s1),
1447
+ (a = d == null ? void 0 : d.children) != null && a.length && c(n).includes(d.id) ? (p(), h("div", d1, [
1448
1448
  x(Me, {
1449
1449
  modelValue: e.value,
1450
- "onUpdate:modelValue": c[0] || (c[0] = (f) => e.value = f),
1450
+ "onUpdate:modelValue": u[0] || (u[0] = (f) => e.value = f),
1451
1451
  data: d == null ? void 0 : d.children,
1452
- depth: u.depth + 1,
1453
- "with-tag": u.withTag
1452
+ depth: i.depth + 1,
1453
+ "with-tag": i.withTag
1454
1454
  }, null, 8, ["modelValue", "data", "depth", "with-tag"])
1455
1455
  ])) : U("", !0)
1456
1456
  ], 2);
@@ -1467,10 +1467,10 @@ const l1 = ["onClick", "onDblclick"], a1 = {
1467
1467
  }, x1 = { class: "flex items-center gap-2 px-1" }, y1 = ["onClick"], pe = "pinia", b1 = /* @__PURE__ */ B({
1468
1468
  __name: "Index",
1469
1469
  setup(t) {
1470
- const { expanded: e } = ve(), { expanded: n } = ve("pinia-store-state"), o = I([]), l = I([]), s = I(""), u = I([]), c = D(() => {
1470
+ const { expanded: e } = he(), { expanded: n } = he("pinia-store-state"), o = I([]), s = I([]), l = I(""), i = I([]), u = E(() => {
1471
1471
  var T, P;
1472
- return (T = u.value) != null && T.length ? f((P = u.value) == null ? void 0 : P[0]) : [];
1473
- }), d = D(() => y(u.value)), C = D(() => d.value.map((T) => T.id)), v = I({}), a = D(() => {
1472
+ return (T = i.value) != null && T.length ? f((P = i.value) == null ? void 0 : P[0]) : [];
1473
+ }), d = E(() => y(i.value)), C = E(() => d.value.map((T) => T.id)), v = I({}), a = E(() => {
1474
1474
  var T, P;
1475
1475
  return !((T = v.value.state) != null && T.length) && !((P = v.value.getters) != null && P.length);
1476
1476
  });
@@ -1489,81 +1489,81 @@ const l1 = ["onClick", "onDblclick"], a1 = {
1489
1489
  function y(T) {
1490
1490
  const P = [], b = (S) => {
1491
1491
  S == null || S.forEach((g) => {
1492
- var A;
1493
- P.push(g), (A = g.children) != null && A.length && b(g.children);
1492
+ var D;
1493
+ P.push(g), (D = g.children) != null && D.length && b(g.children);
1494
1494
  });
1495
1495
  };
1496
1496
  return b(T), P;
1497
1497
  }
1498
1498
  function _() {
1499
- R.value.getInspectorNodeActions(pe).then((T) => {
1499
+ A.value.getInspectorNodeActions(pe).then((T) => {
1500
1500
  o.value = T;
1501
1501
  });
1502
1502
  }
1503
1503
  function k() {
1504
- R.value.getInspectorActions(pe).then((T) => {
1505
- l.value = T;
1504
+ A.value.getInspectorActions(pe).then((T) => {
1505
+ s.value = T;
1506
1506
  });
1507
1507
  }
1508
1508
  _(), k();
1509
- function O(T) {
1510
- R.value.callInspectorNodeAction(pe, T, s.value);
1511
- }
1512
1509
  function j(T) {
1513
- R.value.callInspectorAction(pe, T);
1510
+ A.value.callInspectorNodeAction(pe, T, l.value);
1511
+ }
1512
+ function O(T) {
1513
+ A.value.callInspectorAction(pe, T);
1514
1514
  }
1515
- function V(T) {
1515
+ function N(T) {
1516
1516
  var P;
1517
1517
  for (const b in T)
1518
1518
  (P = T[b]) != null && P.length || delete T[b];
1519
1519
  return T;
1520
1520
  }
1521
- function $(T) {
1522
- R.value.getInspectorState({ inspectorId: pe, nodeId: T }).then((P) => {
1521
+ function w(T) {
1522
+ A.value.getInspectorState({ inspectorId: pe, nodeId: T }).then((P) => {
1523
1523
  const b = Y(P);
1524
- b && (v.value = V(b), n.value = Array.from({ length: Object.keys(v.value).length }, (S, g) => `${g}`));
1524
+ b && (v.value = N(b), n.value = Array.from({ length: Object.keys(v.value).length }, (S, g) => `${g}`));
1525
1525
  });
1526
1526
  }
1527
- function N() {
1527
+ function R() {
1528
1528
  v.value = {};
1529
1529
  }
1530
- X(s, () => {
1531
- N(), $(s.value);
1530
+ X(l, () => {
1531
+ R(), w(l.value);
1532
1532
  }), (() => {
1533
- R.value.getInspectorTree({ inspectorId: pe, filter: "" }).then((T) => {
1533
+ A.value.getInspectorTree({ inspectorId: pe, filter: "" }).then((T) => {
1534
1534
  const P = Y(T);
1535
- u.value = P, !s.value && P.length && (s.value = P[0].id, $(P[0].id), e.value = m(c.value, 1));
1535
+ i.value = P, !l.value && P.length && (l.value = P[0].id, w(P[0].id), e.value = m(u.value, 1));
1536
1536
  });
1537
1537
  })();
1538
1538
  function K(T) {
1539
1539
  const P = Y(T);
1540
- P.inspectorId !== pe || !P.rootNodes.length || (u.value = P.rootNodes, C.value.includes(s.value) || (s.value = P.rootNodes[0].id, e.value = m(c.value, 1), $(P.rootNodes[0].id)));
1540
+ P.inspectorId !== pe || !P.rootNodes.length || (i.value = P.rootNodes, C.value.includes(l.value) || (l.value = P.rootNodes[0].id, e.value = m(u.value, 1), w(P.rootNodes[0].id)));
1541
1541
  }
1542
1542
  function Z(T) {
1543
1543
  const P = Y(T);
1544
1544
  if (P.inspectorId !== pe)
1545
1545
  return;
1546
1546
  const b = P.state;
1547
- v.value = V({
1547
+ v.value = N({
1548
1548
  state: b.state,
1549
1549
  getters: b.getters
1550
1550
  });
1551
1551
  }
1552
- return R.functions.on(W.INSPECTOR_TREE_UPDATED, K), R.functions.on(W.INSPECTOR_STATE_UPDATED, Z), xe(() => {
1553
- R.functions.off(W.INSPECTOR_TREE_UPDATED, K), R.functions.off(W.INSPECTOR_STATE_UPDATED, Z);
1552
+ return A.functions.on(W.INSPECTOR_TREE_UPDATED, K), A.functions.on(W.INSPECTOR_STATE_UPDATED, Z), ye(() => {
1553
+ A.functions.off(W.INSPECTOR_TREE_UPDATED, K), A.functions.off(W.INSPECTOR_STATE_UPDATED, Z);
1554
1554
  }), (T, P) => (p(), h("div", p1, [
1555
- x(Te, {
1555
+ x(Se, {
1556
1556
  "doc-link": "https://pinia.vuejs.org/",
1557
1557
  "github-repo-link": "https://github.com/vuejs/pinia"
1558
1558
  }, {
1559
1559
  default: M(() => [
1560
- x(Se)
1560
+ x(Ie)
1561
1561
  ]),
1562
1562
  _: 1
1563
1563
  }),
1564
- x(r(Ae), { class: "flex-1 overflow-auto" }, {
1564
+ x(c(Ae), { class: "flex-1 overflow-auto" }, {
1565
1565
  default: M(() => [
1566
- x(r(ue), {
1566
+ x(c(ue), {
1567
1567
  border: "r base",
1568
1568
  size: "40",
1569
1569
  "h-full": ""
@@ -1571,15 +1571,15 @@ const l1 = ["onClick", "onDblclick"], a1 = {
1571
1571
  default: M(() => {
1572
1572
  var b;
1573
1573
  return [
1574
- i("div", f1, [
1575
- (b = l.value) != null && b.length ? (p(), h("div", v1, [
1576
- i("div", h1, [
1577
- (p(!0), h(te, null, ae(l.value, (S, g) => J((p(), h("div", {
1574
+ r("div", f1, [
1575
+ (b = s.value) != null && b.length ? (p(), h("div", v1, [
1576
+ r("div", h1, [
1577
+ (p(!0), h(te, null, ae(s.value, (S, g) => J((p(), h("div", {
1578
1578
  key: g,
1579
1579
  class: "flex items-center gap1",
1580
- onClick: (A) => j(g)
1580
+ onClick: (D) => O(g)
1581
1581
  }, [
1582
- i("i", {
1582
+ r("i", {
1583
1583
  class: ie(`i-ic-baseline-${S.icon.replace(/\_/g, "-")}`),
1584
1584
  "cursor-pointer": "",
1585
1585
  op70: "",
@@ -1588,7 +1588,7 @@ const l1 = ["onClick", "onDblclick"], a1 = {
1588
1588
  }, null, 2)
1589
1589
  ], 8, m1)), [
1590
1590
  [
1591
- r(Q),
1591
+ c(Q),
1592
1592
  { content: S.tooltip },
1593
1593
  void 0,
1594
1594
  { "bottom-end": !0 }
@@ -1596,11 +1596,11 @@ const l1 = ["onClick", "onDblclick"], a1 = {
1596
1596
  ])), 128))
1597
1597
  ])
1598
1598
  ])) : U("", !0),
1599
- i("div", _1, [
1599
+ r("div", _1, [
1600
1600
  x(Me, {
1601
- modelValue: s.value,
1602
- "onUpdate:modelValue": P[0] || (P[0] = (S) => s.value = S),
1603
- data: u.value
1601
+ modelValue: l.value,
1602
+ "onUpdate:modelValue": P[0] || (P[0] = (S) => l.value = S),
1603
+ data: i.value
1604
1604
  }, null, 8, ["modelValue", "data"])
1605
1605
  ])
1606
1606
  ])
@@ -1608,19 +1608,19 @@ const l1 = ["onClick", "onDblclick"], a1 = {
1608
1608
  }),
1609
1609
  _: 1
1610
1610
  }),
1611
- x(r(ue), { size: "60" }, {
1611
+ x(c(ue), { size: "60" }, {
1612
1612
  default: M(() => {
1613
1613
  var b;
1614
1614
  return [
1615
- i("div", g1, [
1615
+ r("div", g1, [
1616
1616
  (b = o.value) != null && b.length ? (p(), h("div", C1, [
1617
- i("div", x1, [
1617
+ r("div", x1, [
1618
1618
  (p(!0), h(te, null, ae(o.value, (S, g) => J((p(), h("div", {
1619
1619
  key: g,
1620
1620
  class: "flex items-center gap1",
1621
- onClick: (A) => O(g)
1621
+ onClick: (D) => j(g)
1622
1622
  }, [
1623
- i("i", {
1623
+ r("i", {
1624
1624
  class: ie(`i-ic-baseline-${S.icon.replace(/\_/g, "-")}`),
1625
1625
  "cursor-pointer": "",
1626
1626
  op70: "",
@@ -1629,7 +1629,7 @@ const l1 = ["onClick", "onDblclick"], a1 = {
1629
1629
  }, null, 2)
1630
1630
  ], 8, y1)), [
1631
1631
  [
1632
- r(Q),
1632
+ c(Q),
1633
1633
  { content: S.tooltip },
1634
1634
  void 0,
1635
1635
  { "bottom-end": !0 }
@@ -1637,11 +1637,11 @@ const l1 = ["onClick", "onDblclick"], a1 = {
1637
1637
  ])), 128))
1638
1638
  ])
1639
1639
  ])) : U("", !0),
1640
- s.value && !a.value ? (p(), z(Pe, {
1640
+ l.value && !a.value ? (p(), z(Pe, {
1641
1641
  key: 1,
1642
1642
  class: "no-scrollbar flex-1 select-none overflow-scroll",
1643
1643
  data: v.value,
1644
- "node-id": s.value,
1644
+ "node-id": l.value,
1645
1645
  "inspector-id": pe,
1646
1646
  "expanded-state-id": "pinia-store-state"
1647
1647
  }, null, 8, ["data", "node-id"])) : (p(), z(Ne, { key: 2 }, {
@@ -1660,7 +1660,7 @@ const l1 = ["onClick", "onDblclick"], a1 = {
1660
1660
  })
1661
1661
  ]));
1662
1662
  }
1663
- }), $1 = { class: "p3" }, w1 = ["onClick"], k1 = {
1663
+ }), w1 = { class: "p3" }, $1 = ["onClick"], k1 = {
1664
1664
  key: 0,
1665
1665
  class: "absolute left-5px top-4.5 h10 w0 border-l-2",
1666
1666
  border: "solid gray2"
@@ -1683,20 +1683,20 @@ const l1 = ["onClick", "onDblclick"], a1 = {
1683
1683
  }),
1684
1684
  emits: ["update:modelValue"],
1685
1685
  setup(t) {
1686
- const e = t, n = lt(t, "modelValue"), o = ["#3e5770", "#42b983", "#0098c4"], l = I(null), s = D(() => {
1687
- let u = -1, c = 0;
1686
+ const e = t, n = st(t, "modelValue"), o = ["#3e5770", "#42b983", "#0098c4"], s = I(null), l = E(() => {
1687
+ let i = -1, u = 0;
1688
1688
  return e.data.forEach((d, C) => {
1689
- (d.groupId !== c || u === -1) && (u = (u + 1) % o.length), c = d.groupId ?? c, d.id = C, d.color = o[u];
1689
+ (d.groupId !== u || i === -1) && (i = (i + 1) % o.length), u = d.groupId ?? u, d.id = C, d.color = o[i];
1690
1690
  }), e.data;
1691
1691
  });
1692
- return X(() => s.value.length, (u) => {
1693
- var c;
1694
- (c = l.value) == null || c.scrollToItem(u - 1);
1695
- }, { flush: "post" }), (u, c) => (p(), h("div", $1, [
1696
- x(r($n), {
1692
+ return X(() => l.value.length, (i) => {
1693
+ var u;
1694
+ (u = s.value) == null || u.scrollToItem(i - 1);
1695
+ }, { flush: "post" }), (i, u) => (p(), h("div", w1, [
1696
+ x(c(wn), {
1697
1697
  ref_key: "scrollerRef",
1698
- ref: l,
1699
- items: s.value,
1698
+ ref: s,
1699
+ items: l.value,
1700
1700
  "min-item-size": 52,
1701
1701
  "key-field": "id",
1702
1702
  "page-mode": "",
@@ -1705,22 +1705,22 @@ const l1 = ["onClick", "onDblclick"], a1 = {
1705
1705
  buffer: 20
1706
1706
  }, {
1707
1707
  default: M(({ item: d }) => [
1708
- i("div", {
1708
+ r("div", {
1709
1709
  class: "relative mb7 h6 cursor-pointer",
1710
- style: Ie({ color: n.value === d.id ? d.color : "" }),
1710
+ style: ke({ color: n.value === d.id ? d.color : "" }),
1711
1711
  onClick: (C) => n.value = d.id
1712
1712
  }, [
1713
- i("span", {
1713
+ r("span", {
1714
1714
  class: "absolute top-1.5 inline-block h3 w3 b rounded-50%",
1715
- style: Ie({ border: `3px solid ${d.color}` })
1715
+ style: ke({ border: `3px solid ${d.color}` })
1716
1716
  }, null, 4),
1717
- d.id < u.data.length - 1 ? (p(), h("span", k1)) : U("", !0),
1718
- i("p", I1, [
1719
- i("span", S1, "[" + oe(r(Qo)(d.time)) + "]", 1),
1720
- ne(" " + oe(d.title) + " ", 1),
1721
- i("span", T1, oe(d.subtitle), 1)
1717
+ d.id < i.data.length - 1 ? (p(), h("span", k1)) : U("", !0),
1718
+ r("p", I1, [
1719
+ r("span", S1, "[" + le(c(Qo)(d.time)) + "]", 1),
1720
+ ne(" " + le(d.title) + " ", 1),
1721
+ r("span", T1, le(d.subtitle), 1)
1722
1722
  ])
1723
- ], 12, w1)
1723
+ ], 12, $1)
1724
1724
  ]),
1725
1725
  _: 1
1726
1726
  }, 8, ["items"])
@@ -1747,41 +1747,41 @@ const l1 = ["onClick", "onDblclick"], a1 = {
1747
1747
  githubRepoLink: {}
1748
1748
  },
1749
1749
  setup(t) {
1750
- const e = t, { expanded: n } = ve("timeline-state");
1750
+ const e = t, { expanded: n } = he("timeline-state");
1751
1751
  n.value = ["0", "1"];
1752
- const o = I([]), l = I(/* @__PURE__ */ new Map()), s = I(0), u = D(() => o.value[s.value] ?? null), c = D(() => {
1752
+ const o = I([]), s = I(/* @__PURE__ */ new Map()), l = I(0), i = E(() => o.value[l.value] ?? null), u = E(() => {
1753
1753
  var m;
1754
1754
  const f = [];
1755
- for (const y in (m = u.value) == null ? void 0 : m.data)
1755
+ for (const y in (m = i.value) == null ? void 0 : m.data)
1756
1756
  f.push({
1757
1757
  key: y,
1758
1758
  type: y,
1759
1759
  editable: !1,
1760
- value: u.value.data[y]
1760
+ value: i.value.data[y]
1761
1761
  });
1762
1762
  return f;
1763
- }), d = D(() => {
1763
+ }), d = E(() => {
1764
1764
  var y, _, k;
1765
- const f = (y = u.value) == null ? void 0 : y.groupId, m = l.value.get(f);
1765
+ const f = (y = i.value) == null ? void 0 : y.groupId, m = s.value.get(f);
1766
1766
  if (m) {
1767
- const O = ((_ = m[m.length - 1]) == null ? void 0 : _.time) - (((k = m[0]) == null ? void 0 : k.time) ?? 0);
1767
+ const j = ((_ = m[m.length - 1]) == null ? void 0 : _.time) - (((k = m[0]) == null ? void 0 : k.time) ?? 0);
1768
1768
  return [{
1769
1769
  key: "events",
1770
1770
  type: "events",
1771
1771
  editable: !1,
1772
1772
  value: m.length
1773
- }, O && {
1773
+ }, j && {
1774
1774
  key: "duration",
1775
1775
  type: "duration",
1776
1776
  editable: !1,
1777
- value: `${O}ms`
1777
+ value: `${j}ms`
1778
1778
  }].filter(Boolean);
1779
1779
  }
1780
- }), C = D(() => ({ "Event Info": c.value, ...d.value && { "Group Info": d.value } }));
1780
+ }), C = E(() => ({ "Event Info": u.value, ...d.value && { "Group Info": d.value } }));
1781
1781
  function v(f) {
1782
1782
  var y;
1783
1783
  const m = f.groupId;
1784
- m !== void 0 && (l.value.set(m, l.value.get(m) ?? []), (y = l.value.get(m)) == null || y.push(f));
1784
+ m !== void 0 && (s.value.set(m, s.value.get(m) ?? []), (y = s.value.get(m)) == null || y.push(f));
1785
1785
  }
1786
1786
  function a(f) {
1787
1787
  const m = Y(f);
@@ -1790,40 +1790,40 @@ const l1 = ["onClick", "onDblclick"], a1 = {
1790
1790
  const { layerId: y, event: _ } = m;
1791
1791
  e.layerIds.includes(y) && (o.value.push(_), v(_));
1792
1792
  }
1793
- return R.functions.on(W.TIMELINE_EVENT_UPDATED, a), xe(() => {
1794
- R.functions.off(W.TIMELINE_EVENT_UPDATED, a);
1793
+ return A.functions.on(W.TIMELINE_EVENT_UPDATED, a), ye(() => {
1794
+ A.functions.off(W.TIMELINE_EVENT_UPDATED, a);
1795
1795
  }), (f, m) => (p(), h("div", V1, [
1796
- x(Te, {
1796
+ x(Se, {
1797
1797
  "doc-link": f.docLink,
1798
1798
  "github-repo-link": f.githubRepoLink
1799
1799
  }, {
1800
1800
  default: M(() => [
1801
- x(Se)
1801
+ x(Ie)
1802
1802
  ]),
1803
1803
  _: 1
1804
1804
  }, 8, ["doc-link", "github-repo-link"]),
1805
1805
  o.value.length ? (p(), h("div", N1, [
1806
- x(r(Ae), { class: "h-full" }, {
1806
+ x(c(Ae), { class: "h-full" }, {
1807
1807
  default: M(() => [
1808
- x(r(ue), {
1808
+ x(c(ue), {
1809
1809
  border: "r base",
1810
1810
  size: "40",
1811
1811
  "h-full": ""
1812
1812
  }, {
1813
1813
  default: M(() => [
1814
- i("div", R1, [
1814
+ r("div", R1, [
1815
1815
  x(E1, {
1816
- modelValue: s.value,
1817
- "onUpdate:modelValue": m[0] || (m[0] = (y) => s.value = y),
1816
+ modelValue: l.value,
1817
+ "onUpdate:modelValue": m[0] || (m[0] = (y) => l.value = y),
1818
1818
  data: o.value
1819
1819
  }, null, 8, ["modelValue", "data"])
1820
1820
  ])
1821
1821
  ]),
1822
1822
  _: 1
1823
1823
  }),
1824
- x(r(ue), { size: "60" }, {
1824
+ x(c(ue), { size: "60" }, {
1825
1825
  default: M(() => [
1826
- i("div", A1, [
1826
+ r("div", A1, [
1827
1827
  x(Pe, {
1828
1828
  class: "p3",
1829
1829
  data: C.value,
@@ -1860,32 +1860,10 @@ const l1 = ["onClick", "onDblclick"], a1 = {
1860
1860
  "github-repo-link": "https://github.com/vuejs/pinia"
1861
1861
  }));
1862
1862
  }
1863
- }), Gt = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
1864
- function be() {
1865
- return Ce(Gt);
1866
- }
1867
- function Kt() {
1868
- const t = I({
1869
- homepage: "",
1870
- id: "",
1871
- label: "",
1872
- logo: "",
1873
- timelineLayerIds: []
1874
- });
1875
- return ke(Gt, t), t;
1876
- }
1877
- const P1 = { class: "flex-1 overflow-y-auto p2" }, M1 = { class: "max-w-[190px] flex-1 select-none py-1.5 text-sm" }, H1 = { class: "w-4/5" }, L1 = {
1863
+ }), P1 = { class: "flex-1 overflow-y-auto p2" }, M1 = { class: "max-w-[190px] flex-1 select-none py-1.5 text-sm" }, H1 = { class: "w-4/5" }, L1 = {
1878
1864
  key: 0,
1879
1865
  class: "flex justify-start"
1880
- }, j1 = {
1881
- flex: "~ gap-2",
1882
- "flex-auto": "",
1883
- "items-center": "",
1884
- "justify-start": ""
1885
- }, O1 = {
1886
- capitalize: "",
1887
- op75: ""
1888
- }, U1 = { key: 1 }, Wt = /* @__PURE__ */ B({
1866
+ }, O1 = { key: 1 }, Gt = /* @__PURE__ */ B({
1889
1867
  __name: "Settings",
1890
1868
  props: {
1891
1869
  pluginId: {},
@@ -1894,47 +1872,38 @@ const P1 = { class: "flex-1 overflow-y-auto p2" }, M1 = { class: "max-w-[190px]
1894
1872
  },
1895
1873
  emits: ["update"],
1896
1874
  setup(t, { emit: e }) {
1897
- const n = t, o = e;
1898
- be();
1899
- const l = computed(() => n.options), s = computed(() => n.values);
1900
- function u(c, d) {
1901
- R.value.updatePluginSettings(n.pluginId, c, d), R.value.getPluginSettings(n.pluginId).then((C) => {
1875
+ const n = t, o = e, s = E(() => n.options), l = E(() => n.values);
1876
+ function i(u, d) {
1877
+ A.value.updatePluginSettings(n.pluginId, u, d), A.value.getPluginSettings(n.pluginId).then((C) => {
1902
1878
  o("update", C);
1903
1879
  });
1904
1880
  }
1905
- return (c, d) => {
1906
- const C = ln("VueInput");
1881
+ return (u, d) => {
1882
+ const C = sn("VueInput");
1907
1883
  return p(), h("div", P1, [
1908
- i("ul", null, [
1909
- (p(!0), h(te, null, ae(r(l), (v, a) => (p(), h("li", {
1884
+ r("ul", null, [
1885
+ (p(!0), h(te, null, ae(s.value, (v, a) => (p(), h("li", {
1910
1886
  key: a,
1911
1887
  class: "flex items-center py-2"
1912
1888
  }, [
1913
- i("div", M1, oe(v.label), 1),
1914
- i("div", H1, [
1889
+ r("div", M1, le(v.label), 1),
1890
+ r("div", H1, [
1915
1891
  v.type === "boolean" ? (p(), h("div", L1, [
1916
- x(r(_n), {
1917
- "model-value": r(s)[a],
1892
+ x(c(_n), {
1893
+ "model-value": l.value[a],
1918
1894
  class: "row-reverse flex hover:bg-active py1 pl2 pr1",
1919
- "onUpdate:modelValue": (f) => u(a, f)
1920
- }, {
1921
- default: M(() => [
1922
- i("div", j1, [
1923
- i("span", O1, oe(c.name), 1)
1924
- ])
1925
- ]),
1926
- _: 2
1927
- }, 1032, ["model-value", "onUpdate:modelValue"])
1928
- ])) : v.type === "choice" ? (p(), h("div", U1, [
1929
- x(r(gn), {
1930
- "model-value": r(s)[a],
1895
+ "onUpdate:modelValue": (f) => i(a, f)
1896
+ }, null, 8, ["model-value", "onUpdate:modelValue"])
1897
+ ])) : v.type === "choice" ? (p(), h("div", O1, [
1898
+ x(c(gn), {
1899
+ "model-value": l.value[a],
1931
1900
  options: v.options,
1932
- "onUpdate:modelValue": (f) => u(a, f)
1901
+ "onUpdate:modelValue": (f) => i(a, f)
1933
1902
  }, null, 8, ["model-value", "options", "onUpdate:modelValue"])
1934
1903
  ])) : v.type === "text" ? (p(), z(C, {
1935
1904
  key: 2,
1936
- "model-value": r(s)[a],
1937
- "onUpdate:modelValue": (f) => u(a, f)
1905
+ "model-value": l.value[a],
1906
+ "onUpdate:modelValue": (f) => i(a, f)
1938
1907
  }, null, 8, ["model-value", "onUpdate:modelValue"])) : U("", !0)
1939
1908
  ])
1940
1909
  ]))), 128))
@@ -1942,40 +1911,40 @@ const P1 = { class: "flex-1 overflow-y-auto p2" }, M1 = { class: "max-w-[190px]
1942
1911
  ]);
1943
1912
  };
1944
1913
  }
1945
- }), z1 = { class: "h-full flex flex-col" }, B1 = "pinia", Z1 = /* @__PURE__ */ B({
1914
+ }), j1 = { class: "h-full flex flex-col" }, U1 = "pinia", z1 = /* @__PURE__ */ B({
1946
1915
  __name: "Settings",
1947
1916
  setup(t) {
1948
- const e = inject("pluginSettings"), n = computed(() => e.value.options), o = computed(() => e.value.values);
1949
- function l(s) {
1950
- e.value = s;
1917
+ const e = ve("pluginSettings"), n = E(() => e.value.options), o = E(() => e.value.values);
1918
+ function s(l) {
1919
+ e.value = l;
1951
1920
  }
1952
- return (s, u) => (p(), h("div", z1, [
1953
- x(Te, {
1921
+ return (l, i) => (p(), h("div", j1, [
1922
+ x(Se, {
1954
1923
  "doc-link": "https://pinia.vuejs.org/",
1955
1924
  "github-repo-link": "https://github.com/vuejs/pinia"
1956
1925
  }, {
1957
1926
  default: M(() => [
1958
- x(Se)
1927
+ x(Ie)
1959
1928
  ]),
1960
1929
  _: 1
1961
1930
  }),
1962
- x(Wt, {
1963
- "plugin-id": B1,
1964
- options: r(n),
1965
- values: r(o),
1966
- onUpdate: l
1931
+ x(Gt, {
1932
+ "plugin-id": U1,
1933
+ options: n.value,
1934
+ values: o.value,
1935
+ onUpdate: s
1967
1936
  }, null, 8, ["options", "values"])
1968
1937
  ]));
1969
1938
  }
1970
- }), F1 = {
1939
+ }), B1 = {
1971
1940
  "h-full": "",
1972
1941
  "w-full": ""
1973
- }, sa = /* @__PURE__ */ B({
1942
+ }, na = /* @__PURE__ */ B({
1974
1943
  __name: "index",
1975
1944
  setup(t) {
1976
- const e = ref(null);
1977
- provide("pluginSettings", e);
1978
- const n = computed(() => [
1945
+ const e = I(null);
1946
+ _e("pluginSettings", e);
1947
+ const n = E(() => [
1979
1948
  {
1980
1949
  path: "/store",
1981
1950
  name: "Store",
@@ -1997,21 +1966,21 @@ const P1 = { class: "flex-1 overflow-y-auto p2" }, M1 = { class: "max-w-[190px]
1997
1966
  e.value && {
1998
1967
  path: "/settings",
1999
1968
  name: "Settings",
2000
- component: Z1,
1969
+ component: z1,
2001
1970
  icon: "i-mdi:cog-outline"
2002
1971
  }
2003
- ].filter(Boolean)), { VirtualRouterView: o, restoreRouter: l } = it(n, {
1972
+ ].filter(Boolean)), { VirtualRouterView: o, restoreRouter: s } = it(n, {
2004
1973
  defaultRoutePath: "/store"
2005
1974
  });
2006
1975
  return Re(() => {
2007
- R.value.getPluginSettings("pinia").then((s) => {
2008
- s.options ? e.value = s : e.value = null;
1976
+ A.value.getPluginSettings("pinia").then((l) => {
1977
+ l.options ? e.value = l : e.value = null;
2009
1978
  });
2010
- }), (s, u) => (p(), h("div", F1, [
2011
- x(r(o))
1979
+ }), (l, i) => (p(), h("div", B1, [
1980
+ x(c(o))
2012
1981
  ]));
2013
1982
  }
2014
- }), G1 = { 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]" }, K1 = /* @__PURE__ */ i("span", { class: "font-500" }, "Render Code", -1), W1 = { class: "flex-1 overflow-scroll text-3.5" }, q1 = /* @__PURE__ */ B({
1983
+ }), Z1 = { 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]" }, F1 = /* @__PURE__ */ r("span", { class: "font-500" }, "Render Code", -1), G1 = { class: "flex-1 overflow-scroll text-3.5" }, K1 = /* @__PURE__ */ B({
2015
1984
  __name: "RenderCode",
2016
1985
  props: {
2017
1986
  code: {}
@@ -2022,23 +1991,23 @@ const P1 = { class: "flex-1 overflow-y-auto p2" }, M1 = { class: "max-w-[190px]
2022
1991
  function o() {
2023
1992
  n("close");
2024
1993
  }
2025
- return (l, s) => (p(), h("div", G1, [
2026
- i("div", { class: "h-12 w-full flex items-center justify-between p-2" }, [
2027
- K1,
2028
- i("i", {
1994
+ return (s, l) => (p(), h("div", Z1, [
1995
+ r("div", { class: "h-12 w-full flex items-center justify-between p-2" }, [
1996
+ F1,
1997
+ r("i", {
2029
1998
  class: "i-carbon-close cursor-pointer hover:op80",
2030
1999
  onClick: o
2031
2000
  })
2032
2001
  ]),
2033
- i("div", W1, [
2034
- x(r(Cn), {
2035
- code: l.code,
2002
+ r("div", G1, [
2003
+ x(c(Cn), {
2004
+ code: s.code,
2036
2005
  lang: "javascript"
2037
2006
  }, null, 8, ["code"])
2038
2007
  ])
2039
2008
  ]));
2040
2009
  }
2041
- }), J1 = { class: "p2" }, Y1 = ["onClick"], X1 = /* @__PURE__ */ B({
2010
+ }), W1 = { class: "p2" }, q1 = ["onClick"], J1 = /* @__PURE__ */ B({
2042
2011
  __name: "SelectiveList",
2043
2012
  props: /* @__PURE__ */ Ze({
2044
2013
  data: {}
@@ -2048,198 +2017,198 @@ const P1 = { class: "flex-1 overflow-y-auto p2" }, M1 = { class: "max-w-[190px]
2048
2017
  }),
2049
2018
  emits: /* @__PURE__ */ Ze(["select"], ["update:modelValue"]),
2050
2019
  setup(t, { emit: e }) {
2051
- const n = e, o = lt(t, "modelValue");
2052
- function l(s) {
2053
- o.value = s, n("select", s);
2054
- }
2055
- return (s, u) => (p(), h("ul", J1, [
2056
- (p(!0), h(te, null, ae(s.data, (c) => (p(), h("li", {
2057
- key: c.id,
2058
- class: ie(["selectable-item", { active: c.id === o.value }]),
2059
- onClick: (d) => l(c.id)
2020
+ const n = e, o = st(t, "modelValue");
2021
+ function s(l) {
2022
+ o.value = l, n("select", l);
2023
+ }
2024
+ return (l, i) => (p(), h("ul", W1, [
2025
+ (p(!0), h(te, null, ae(l.data, (u) => (p(), h("li", {
2026
+ key: u.id,
2027
+ class: ie(["selectable-item", { active: u.id === o.value }]),
2028
+ onClick: (d) => s(u.id)
2060
2029
  }, [
2061
- ne(oe(c.label) + " ", 1),
2062
- (p(!0), h(te, null, ae(c.tags, (d, C) => (p(), z(Zt, {
2030
+ ne(le(u.label) + " ", 1),
2031
+ (p(!0), h(te, null, ae(u.tags, (d, C) => (p(), z(Zt, {
2063
2032
  key: C,
2064
2033
  tag: d
2065
2034
  }, null, 8, ["tag"]))), 128))
2066
- ], 10, Y1))), 128))
2035
+ ], 10, q1))), 128))
2067
2036
  ]));
2068
2037
  }
2069
- }), He = (t) => (ot("data-v-092d4be1"), t = t(), st(), t), Q1 = { class: "h-full w-full" }, es = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, ts = {
2038
+ }), He = (t) => (ot("data-v-092d4be1"), t = t(), lt(), t), Y1 = { class: "h-full w-full" }, X1 = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, Q1 = {
2070
2039
  key: 0,
2071
2040
  class: "h-full flex flex-col p2"
2072
- }, ns = { class: "flex py2" }, os = {
2041
+ }, el = { class: "flex py2" }, tl = {
2073
2042
  xmlns: "http://www.w3.org/2000/svg",
2074
2043
  style: { height: "1.1em", width: "1.1em" },
2075
2044
  class: "op-80 hover:op-100",
2076
2045
  viewBox: "0 0 24 24"
2077
- }, ss = /* @__PURE__ */ He(() => /* @__PURE__ */ i("path", {
2046
+ }, nl = /* @__PURE__ */ He(() => /* @__PURE__ */ r("path", {
2078
2047
  fill: "currentColor",
2079
2048
  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"
2080
- }, null, -1)), ls = [
2081
- ss
2082
- ], as = { class: "h-full flex flex-col p2" }, is = { class: "flex py2" }, rs = {
2049
+ }, null, -1)), ol = [
2050
+ nl
2051
+ ], ll = { class: "h-full flex flex-col p2" }, sl = { class: "flex py2" }, al = {
2083
2052
  key: 0,
2084
2053
  class: "font-state-field flex items-center px-1 text-3.5"
2085
- }, us = /* @__PURE__ */ He(() => /* @__PURE__ */ i("span", { class: "text-gray-400 dark:text-gray-600" }, "<", -1)), cs = {
2054
+ }, il = /* @__PURE__ */ He(() => /* @__PURE__ */ r("span", { class: "text-gray-400 dark:text-gray-600" }, "<", -1)), rl = {
2086
2055
  "group-hover:text-white": "",
2087
2056
  class: "max-w-40 of-hidden text-ellipsis ws-nowrap [.active_&]:text-white"
2088
- }, ds = /* @__PURE__ */ He(() => /* @__PURE__ */ i("span", { class: "text-gray-400 dark:text-gray-600" }, ">", -1)), ps = { class: "flex items-center gap-2 px-1" }, fs = { class: "h-full flex flex-col items-center justify-center gap-2" }, vs = { class: "block" }, hs = {
2057
+ }, ul = /* @__PURE__ */ He(() => /* @__PURE__ */ r("span", { class: "text-gray-400 dark:text-gray-600" }, ">", -1)), cl = { class: "flex items-center gap-2 px-1" }, dl = { class: "h-full flex flex-col items-center justify-center gap-2" }, pl = { class: "block" }, fl = {
2089
2058
  xmlns: "http://www.w3.org/2000/svg",
2090
2059
  style: { height: "2em", width: "2em", opacity: "0.5", color: "#00dc82" },
2091
2060
  class: "animate-fade",
2092
2061
  viewBox: "0 0 24 24"
2093
- }, ms = /* @__PURE__ */ He(() => /* @__PURE__ */ i("g", {
2062
+ }, vl = /* @__PURE__ */ He(() => /* @__PURE__ */ r("g", {
2094
2063
  fill: "none",
2095
2064
  stroke: "currentColor",
2096
2065
  "stroke-linecap": "round",
2097
2066
  "stroke-linejoin": "round",
2098
2067
  "stroke-width": "2"
2099
2068
  }, [
2100
- /* @__PURE__ */ i("circle", {
2069
+ /* @__PURE__ */ r("circle", {
2101
2070
  cx: "12",
2102
2071
  cy: "12",
2103
2072
  r: ".5",
2104
2073
  fill: "currentColor"
2105
2074
  }),
2106
- /* @__PURE__ */ i("path", { d: "M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2" })
2107
- ], -1)), _s = [
2108
- ms
2109
- ], gs = /* @__PURE__ */ He(() => /* @__PURE__ */ i("p", null, " Click on a component on the page to select it ", -1)), Cs = { class: "flex items-center justify-center" }, Ve = "components", xs = /* @__PURE__ */ B({
2075
+ /* @__PURE__ */ r("path", { d: "M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2" })
2076
+ ], -1)), hl = [
2077
+ vl
2078
+ ], ml = /* @__PURE__ */ He(() => /* @__PURE__ */ r("p", null, " Click on a component on the page to select it ", -1)), _l = { class: "flex items-center justify-center" }, Ve = "components", gl = /* @__PURE__ */ B({
2110
2079
  __name: "index",
2111
2080
  emits: ["openInEditor", "onInspectComponentStart", "onInspectComponentEnd"],
2112
2081
  setup(t, { emit: e }) {
2113
- const n = e, o = I(), l = I(!1), { width: s } = So(o), u = D(() => l.value ? s.value < 700 : !1), c = I(""), d = I(""), [C, v] = yo(!0), a = I(!1), f = I(!1), m = I(""), y = I(!1);
2114
- function _(w, E = [], L = []) {
2082
+ const n = e, o = I(), s = I(!1), { width: l } = So(o), i = E(() => s.value ? l.value < 700 : !1), u = I(""), d = I(""), [C, v] = yo(!0), a = I(!1), f = I(!1), m = I(""), y = I(!1);
2083
+ function _($, V = [], L = []) {
2115
2084
  var G;
2116
- return E.push(w.id), ((G = w.children) == null ? void 0 : G.length) === 0 && L.push([...E]), Array.isArray(w.children) && w.children.forEach((q) => {
2117
- _(q, E, L);
2118
- }), E.pop(), L;
2085
+ return V.push($.id), ((G = $.children) == null ? void 0 : G.length) === 0 && L.push([...V]), Array.isArray($.children) && $.children.forEach((q) => {
2086
+ _(q, V, L);
2087
+ }), V.pop(), L;
2119
2088
  }
2120
- function k(w) {
2121
- const E = [], L = (G) => {
2089
+ function k($) {
2090
+ const V = [], L = (G) => {
2122
2091
  G == null || G.forEach((q) => {
2123
- var $e;
2124
- E.push(q), ($e = q.children) != null && $e.length && L(q.children);
2092
+ var we;
2093
+ V.push(q), (we = q.children) != null && we.length && L(q.children);
2125
2094
  });
2126
2095
  };
2127
- return L(w), E;
2096
+ return L($), V;
2128
2097
  }
2129
- function O(w, E) {
2098
+ function j($, V) {
2130
2099
  const L = [];
2131
- return w == null || w.forEach((G) => {
2132
- L.push(...G.slice(0, E + 1));
2100
+ return $ == null || $.forEach((G) => {
2101
+ L.push(...G.slice(0, V + 1));
2133
2102
  }), [...new Set(L)];
2134
2103
  }
2135
- function j(w, E) {
2104
+ function O($, V) {
2136
2105
  const L = [];
2137
- return w.forEach((G) => {
2138
- const q = G.indexOf(E);
2106
+ return $.forEach((G) => {
2107
+ const q = G.indexOf(V);
2139
2108
  q !== -1 && L.push(...G.slice(0, q + 1));
2140
2109
  }), [...new Set(L)];
2141
2110
  }
2142
- const V = I([]), $ = D(() => {
2143
- var w, E;
2144
- return (w = V.value) != null && w.length ? _((E = V.value) == null ? void 0 : E[0]) : [];
2145
- }), N = D(() => k(V.value)), H = D(() => N.value.map((w) => w.id)), K = I({}), Z = I(""), T = D(() => {
2146
- const w = [], E = (L) => {
2111
+ const N = I([]), w = E(() => {
2112
+ var $, V;
2113
+ return ($ = N.value) != null && $.length ? _((V = N.value) == null ? void 0 : V[0]) : [];
2114
+ }), R = E(() => k(N.value)), H = E(() => R.value.map(($) => $.id)), K = I({}), Z = I(""), T = E(() => {
2115
+ const $ = [], V = (L) => {
2147
2116
  L.forEach((G) => {
2148
2117
  var q;
2149
- G.id === Z.value && w.push(G), (q = G.children) != null && q.length && E(G.children);
2118
+ G.id === Z.value && $.push(G), (q = G.children) != null && q.length && V(G.children);
2150
2119
  });
2151
2120
  };
2152
- return E(V.value), w[0];
2153
- }), P = D(() => {
2154
- var w;
2155
- return ((w = T.value) == null ? void 0 : w.file) ?? "";
2156
- }), b = D(() => {
2157
- const w = {};
2158
- for (const E in K.value) {
2159
- const G = K.value[E].filter(($e) => {
2121
+ return V(N.value), $[0];
2122
+ }), P = E(() => {
2123
+ var $;
2124
+ return (($ = T.value) == null ? void 0 : $.file) ?? "";
2125
+ }), b = E(() => {
2126
+ const $ = {};
2127
+ for (const V in K.value) {
2128
+ const G = K.value[V].filter((we) => {
2160
2129
  try {
2161
2130
  return e1({
2162
- [$e.key]: $e.value
2131
+ [we.key]: we.value
2163
2132
  }, d.value);
2164
2133
  } catch (Qt) {
2165
2134
  return {
2166
- [$e.key]: Qt
2135
+ [we.key]: Qt
2167
2136
  };
2168
2137
  }
2169
- }), q = wn(Object.values(kn(At(G), "stateType")));
2170
- G.length && (w[E] = q);
2138
+ }), q = $n(Object.values(kn(At(G), "stateType")));
2139
+ G.length && ($[V] = q);
2171
2140
  }
2172
- return w;
2173
- }), { expanded: S } = ve(), { expanded: g } = ve("component-state");
2141
+ return $;
2142
+ }), { expanded: S } = he(), { expanded: g } = he("component-state");
2174
2143
  o1();
2175
- async function A(w = "") {
2176
- return R.value.getInspectorTree({ inspectorId: Ve, filter: w }).then((E) => {
2144
+ async function D($ = "") {
2145
+ return A.value.getInspectorTree({ inspectorId: Ve, filter: $ }).then((V) => {
2177
2146
  var G, q;
2178
- const L = Y(E);
2179
- V.value = L, Z.value = (q = (G = V.value) == null ? void 0 : G[0]) == null ? void 0 : q.id, S.value = O($.value, 1), a.value = !0;
2147
+ const L = Y(V);
2148
+ N.value = L, Z.value = (q = (G = N.value) == null ? void 0 : G[0]) == null ? void 0 : q.id, S.value = j(w.value, 1), a.value = !0;
2180
2149
  });
2181
2150
  }
2182
- function F(w) {
2183
- if (!w || !(w != null && w.state))
2151
+ function F($) {
2152
+ if (!$ || !($ != null && $.state))
2184
2153
  return {};
2185
- const E = {};
2186
- return w.state.forEach((L) => {
2187
- E[L.type] || (E[L.type] = []), E[L.type].push(L);
2188
- }), E;
2189
- }
2190
- function le(w) {
2191
- R.value.getInspectorState({ inspectorId: Ve, nodeId: w }).then((E) => {
2192
- const L = Y(E);
2154
+ const V = {};
2155
+ return $.state.forEach((L) => {
2156
+ V[L.type] || (V[L.type] = []), V[L.type].push(L);
2157
+ }), V;
2158
+ }
2159
+ function se($) {
2160
+ A.value.getInspectorState({ inspectorId: Ve, nodeId: $ }).then((V) => {
2161
+ const L = Y(V);
2193
2162
  L && (K.value = F(L), g.value = Array.from({ length: Object.keys(K.value).length }, (G, q) => `${q}`));
2194
2163
  });
2195
2164
  }
2196
- X(Z, (w) => {
2197
- le(w), y.value && Ue();
2165
+ X(Z, ($) => {
2166
+ se($), y.value && Ue();
2198
2167
  });
2199
- function re(w) {
2200
- const E = Y(w);
2201
- E.inspectorId !== Ve || E.nodeId !== Z.value || (K.value = F({ state: E.state.state }));
2202
- }
2203
- R.functions.on(W.INSPECTOR_STATE_UPDATED, re), A();
2204
- function ce(w) {
2205
- const E = w.trim().toLowerCase();
2206
- v(), A(E).then(() => {
2168
+ function re($) {
2169
+ const V = Y($);
2170
+ V.inspectorId !== Ve || V.nodeId !== Z.value || (K.value = F({ state: V.state.state }));
2171
+ }
2172
+ A.functions.on(W.INSPECTOR_STATE_UPDATED, re), D();
2173
+ function ce($) {
2174
+ const V = $.trim().toLowerCase();
2175
+ v(), D(V).then(() => {
2207
2176
  v();
2208
2177
  });
2209
2178
  }
2210
- bo(c, (w) => {
2211
- ce(w);
2179
+ bo(u, ($) => {
2180
+ ce($);
2212
2181
  }, { debounce: 300 });
2213
- function me(w) {
2182
+ function ge($) {
2214
2183
  var L, G;
2215
- const E = Y(w);
2216
- E.inspectorId === Ve && (c.value ? ce(c.value) : V.value = E.rootNodes, H.value.includes(Z.value) || (Z.value = (G = (L = V.value) == null ? void 0 : L[0]) == null ? void 0 : G.id, S.value = O($.value, 1)));
2184
+ const V = Y($);
2185
+ V.inspectorId === Ve && (u.value ? ce(u.value) : N.value = V.rootNodes, H.value.includes(Z.value) || (Z.value = (G = (L = N.value) == null ? void 0 : L[0]) == null ? void 0 : G.id, S.value = j(w.value, 1)));
2217
2186
  }
2218
- R.functions.on(W.INSPECTOR_TREE_UPDATED, me), xe(() => {
2219
- R.functions.off(W.INSPECTOR_STATE_UPDATED, re), R.functions.off(W.INSPECTOR_TREE_UPDATED, me);
2187
+ A.functions.on(W.INSPECTOR_TREE_UPDATED, ge), ye(() => {
2188
+ A.functions.off(W.INSPECTOR_STATE_UPDATED, re), A.functions.off(W.INSPECTOR_TREE_UPDATED, ge);
2220
2189
  });
2221
- function _e() {
2222
- f.value = !0, n("onInspectComponentStart"), R.value.inspectComponentInspector().then((w) => {
2223
- const E = JSON.parse(w);
2224
- Z.value = E.id, S.value.includes(E.id) || S.value.push(E.id), S.value = [.../* @__PURE__ */ new Set([...S.value, ...j($.value, E.id)])], qt();
2190
+ function Ce() {
2191
+ f.value = !0, n("onInspectComponentStart"), A.value.inspectComponentInspector().then(($) => {
2192
+ const V = JSON.parse($);
2193
+ Z.value = V.id, S.value.includes(V.id) || S.value.push(V.id), S.value = [.../* @__PURE__ */ new Set([...S.value, ...O(w.value, V.id)])], qt();
2225
2194
  }).finally(() => {
2226
2195
  f.value = !1, n("onInspectComponentEnd");
2227
2196
  });
2228
2197
  }
2229
2198
  function Le() {
2230
- f.value = !1, R.value.cancelInspectComponentInspector();
2231
- }
2232
- function je() {
2233
- R.value.scrollToComponent(Z.value);
2199
+ f.value = !1, A.value.cancelInspectComponentInspector();
2234
2200
  }
2235
2201
  function Oe() {
2236
- R.value.inspectDOM(Z.value).then(() => {
2202
+ A.value.scrollToComponent(Z.value);
2203
+ }
2204
+ function je() {
2205
+ A.value.inspectDOM(Z.value).then(() => {
2237
2206
  chrome.devtools.inspectedWindow.eval("inspect(window.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__)");
2238
2207
  });
2239
2208
  }
2240
2209
  function Ue() {
2241
- R.value.getComponentRenderCode(Z.value).then((w) => {
2242
- m.value = w, y.value = !0;
2210
+ A.value.getComponentRenderCode(Z.value).then(($) => {
2211
+ m.value = $, y.value = !0;
2243
2212
  });
2244
2213
  }
2245
2214
  function We() {
@@ -2248,48 +2217,48 @@ const P1 = { class: "flex-1 overflow-y-auto p2" }, M1 = { class: "max-w-[190px]
2248
2217
  const Ee = I();
2249
2218
  function qt() {
2250
2219
  setTimeout(() => {
2251
- var E;
2252
- const w = (E = Ee.value) == null ? void 0 : E.querySelector(".active");
2253
- w == null || w.scrollIntoView({ behavior: "smooth", block: "center" });
2220
+ var V;
2221
+ const $ = (V = Ee.value) == null ? void 0 : V.querySelector(".active");
2222
+ $ == null || $.scrollIntoView({ behavior: "smooth", block: "center" });
2254
2223
  }, 300);
2255
2224
  }
2256
2225
  function Jt() {
2257
2226
  m.value = "", y.value = !1;
2258
2227
  }
2259
- const qe = rn(), ht = D(() => qe.appRecords.value.map((w) => ({
2260
- label: w.name + (w.version ? ` (${w.version})` : ""),
2261
- value: w.id
2262
- }))), Yt = D(() => ht.value.map((w) => ({
2263
- label: w.label,
2264
- id: w.value
2228
+ const qe = rn(), ht = E(() => qe.appRecords.value.map(($) => ({
2229
+ label: $.name + ($.version ? ` (${$.version})` : ""),
2230
+ value: $.id
2231
+ }))), Yt = E(() => ht.value.map(($) => ({
2232
+ label: $.label,
2233
+ id: $.value
2265
2234
  }))), Je = I(qe.activeAppRecordId.value);
2266
2235
  nt(() => {
2267
2236
  Je.value = qe.activeAppRecordId.value;
2268
2237
  });
2269
- function Xt(w) {
2270
- R.value.toggleApp(w).then(() => {
2271
- Z.value = "", A();
2238
+ function Xt($) {
2239
+ A.value.toggleApp($).then(() => {
2240
+ Z.value = "", D();
2272
2241
  });
2273
2242
  }
2274
- return (w, E) => (p(), h("div", Q1, [
2275
- x(r(Ae), {
2243
+ return ($, V) => (p(), h("div", Y1, [
2244
+ x(c(Ae), {
2276
2245
  ref_key: "splitpanesRef",
2277
2246
  ref: o,
2278
2247
  class: "flex-1 overflow-auto",
2279
- horizontal: u.value,
2280
- onReady: E[4] || (E[4] = (L) => l.value = !0)
2248
+ horizontal: i.value,
2249
+ onReady: V[4] || (V[4] = (L) => s.value = !0)
2281
2250
  }, {
2282
2251
  default: M(() => [
2283
- ht.value.length > 1 ? (p(), z(r(ue), {
2252
+ ht.value.length > 1 ? (p(), z(c(ue), {
2284
2253
  key: 0,
2285
2254
  border: "base h-full",
2286
2255
  size: "20"
2287
2256
  }, {
2288
2257
  default: M(() => [
2289
- i("div", es, [
2290
- x(X1, {
2258
+ r("div", X1, [
2259
+ x(J1, {
2291
2260
  modelValue: Je.value,
2292
- "onUpdate:modelValue": E[0] || (E[0] = (L) => Je.value = L),
2261
+ "onUpdate:modelValue": V[0] || (V[0] = (L) => Je.value = L),
2293
2262
  data: Yt.value,
2294
2263
  class: "w-full",
2295
2264
  onSelect: Xt
@@ -2298,46 +2267,46 @@ const P1 = { class: "flex-1 overflow-y-auto p2" }, M1 = { class: "max-w-[190px]
2298
2267
  ]),
2299
2268
  _: 1
2300
2269
  })) : U("", !0),
2301
- x(r(ue), {
2270
+ x(c(ue), {
2302
2271
  border: "base",
2303
2272
  "h-full": ""
2304
2273
  }, {
2305
2274
  default: M(() => [
2306
- a.value ? (p(), h("div", ts, [
2307
- i("div", ns, [
2308
- x(r(Xe), {
2309
- modelValue: c.value,
2310
- "onUpdate:modelValue": E[1] || (E[1] = (L) => c.value = L),
2275
+ a.value ? (p(), h("div", Q1, [
2276
+ r("div", el, [
2277
+ x(c(Xe), {
2278
+ modelValue: u.value,
2279
+ "onUpdate:modelValue": V[1] || (V[1] = (L) => u.value = L),
2311
2280
  "loading-debounce-time": 250,
2312
- loading: !r(C),
2281
+ loading: !c(C),
2313
2282
  placeholder: "Find components...",
2314
2283
  class: "flex-1 text-3.5"
2315
2284
  }, null, 8, ["modelValue", "loading"]),
2316
- r(yn) ? U("", !0) : J((p(), h("button", {
2285
+ c(yn) ? U("", !0) : J((p(), h("button", {
2317
2286
  key: 0,
2318
2287
  "px-1": "",
2319
2288
  class: "hover:color-#00dc82",
2320
- onClick: _e
2289
+ onClick: Ce
2321
2290
  }, [
2322
- (p(), h("svg", os, ls))
2291
+ (p(), h("svg", tl, ol))
2323
2292
  ])), [
2324
2293
  [
2325
- r(Q),
2294
+ c(Q),
2326
2295
  "Select component in the page",
2327
2296
  void 0,
2328
2297
  { bottom: !0 }
2329
2298
  ]
2330
2299
  ])
2331
2300
  ]),
2332
- i("div", {
2301
+ r("div", {
2333
2302
  ref_key: "componentTreeContainer",
2334
2303
  ref: Ee,
2335
2304
  class: "no-scrollbar flex-1 select-none overflow-scroll"
2336
2305
  }, [
2337
2306
  x(Me, {
2338
2307
  modelValue: Z.value,
2339
- "onUpdate:modelValue": E[2] || (E[2] = (L) => Z.value = L),
2340
- data: V.value,
2308
+ "onUpdate:modelValue": V[2] || (V[2] = (L) => Z.value = L),
2309
+ data: N.value,
2341
2310
  "with-tag": !0
2342
2311
  }, null, 8, ["modelValue", "data"])
2343
2312
  ], 512)
@@ -2345,57 +2314,57 @@ const P1 = { class: "flex-1 overflow-y-auto p2" }, M1 = { class: "max-w-[190px]
2345
2314
  ]),
2346
2315
  _: 1
2347
2316
  }),
2348
- x(r(ue), {
2317
+ x(c(ue), {
2349
2318
  relative: "",
2350
2319
  "h-full": ""
2351
2320
  }, {
2352
2321
  default: M(() => {
2353
2322
  var L;
2354
2323
  return [
2355
- i("div", as, [
2356
- i("div", is, [
2357
- (L = T.value) != null && L.name ? (p(), h("span", rs, [
2358
- us,
2359
- i("span", cs, oe(T.value.name), 1),
2360
- ds
2324
+ r("div", ll, [
2325
+ r("div", sl, [
2326
+ (L = T.value) != null && L.name ? (p(), h("span", al, [
2327
+ il,
2328
+ r("span", rl, le(T.value.name), 1),
2329
+ ul
2361
2330
  ])) : U("", !0),
2362
- x(r(Xe), {
2331
+ x(c(Xe), {
2363
2332
  modelValue: d.value,
2364
- "onUpdate:modelValue": E[3] || (E[3] = (G) => d.value = G),
2333
+ "onUpdate:modelValue": V[3] || (V[3] = (G) => d.value = G),
2365
2334
  "loading-debounce-time": 250,
2366
2335
  placeholder: "Filter State...",
2367
2336
  class: "flex-1 text-3.5"
2368
2337
  }, null, 8, ["modelValue"]),
2369
- i("div", ps, [
2370
- J(i("i", {
2338
+ r("div", cl, [
2339
+ J(r("i", {
2371
2340
  class: "i-material-symbols-light:eye-tracking-outline h-4 w-4 cursor-pointer hover:op-70",
2372
- onClick: je
2341
+ onClick: Oe
2373
2342
  }, null, 512), [
2374
2343
  [
2375
- r(Q),
2344
+ c(Q),
2376
2345
  "Scroll to component",
2377
2346
  void 0,
2378
2347
  { bottom: !0 }
2379
2348
  ]
2380
2349
  ]),
2381
- J(i("i", {
2350
+ J(r("i", {
2382
2351
  class: "i-material-symbols-light:code h-5 w-5 cursor-pointer hover:op-70",
2383
2352
  onClick: Ue
2384
2353
  }, null, 512), [
2385
2354
  [
2386
- r(Q),
2355
+ c(Q),
2387
2356
  "Show render code",
2388
2357
  void 0,
2389
2358
  { bottom: !0 }
2390
2359
  ]
2391
2360
  ]),
2392
- r(wt) ? J((p(), h("i", {
2361
+ c($t) ? J((p(), h("i", {
2393
2362
  key: 0,
2394
2363
  class: "i-material-symbols-light:menu-open h-5 w-5 cursor-pointer hover:op-70",
2395
- onClick: Oe
2364
+ onClick: je
2396
2365
  }, null, 512)), [
2397
2366
  [
2398
- r(Q),
2367
+ c(Q),
2399
2368
  "Inspect DOM",
2400
2369
  void 0,
2401
2370
  { bottom: !0 }
@@ -2407,7 +2376,7 @@ const P1 = { class: "flex-1 overflow-y-auto p2" }, M1 = { class: "max-w-[190px]
2407
2376
  onClick: We
2408
2377
  }, null, 512)), [
2409
2378
  [
2410
- r(Q),
2379
+ c(Q),
2411
2380
  "Open in Editor",
2412
2381
  void 0,
2413
2382
  { bottom: !0 }
@@ -2423,7 +2392,7 @@ const P1 = { class: "flex-1 overflow-y-auto p2" }, M1 = { class: "max-w-[190px]
2423
2392
  "expanded-state-id": "component-state"
2424
2393
  }, null, 8, ["data", "node-id"])
2425
2394
  ]),
2426
- y.value && m.value ? (p(), z(q1, {
2395
+ y.value && m.value ? (p(), z(K1, {
2427
2396
  key: 0,
2428
2397
  code: m.value,
2429
2398
  onClose: Jt
@@ -2435,17 +2404,17 @@ const P1 = { class: "flex-1 overflow-y-auto p2" }, M1 = { class: "max-w-[190px]
2435
2404
  ]),
2436
2405
  _: 1
2437
2406
  }, 8, ["horizontal"]),
2438
- r(wt) ? (p(), z(r(xn), {
2407
+ c($t) ? (p(), z(c(xn), {
2439
2408
  key: 0,
2440
2409
  modelValue: f.value,
2441
- "onUpdate:modelValue": E[5] || (E[5] = (L) => f.value = L),
2410
+ "onUpdate:modelValue": V[5] || (V[5] = (L) => f.value = L),
2442
2411
  title: "",
2443
2412
  height: "12rem",
2444
2413
  closable: !1
2445
2414
  }, {
2446
2415
  footer: M(() => [
2447
- i("div", Cs, [
2448
- x(r(de), { onClick: Le }, {
2416
+ r("div", _l, [
2417
+ x(c(de), { onClick: Le }, {
2449
2418
  default: M(() => [
2450
2419
  ne(" Cancel ")
2451
2420
  ]),
@@ -2454,86 +2423,86 @@ const P1 = { class: "flex-1 overflow-y-auto p2" }, M1 = { class: "max-w-[190px]
2454
2423
  ])
2455
2424
  ]),
2456
2425
  default: M(() => [
2457
- i("div", fs, [
2458
- i("span", vs, [
2459
- (p(), h("svg", hs, _s))
2426
+ r("div", dl, [
2427
+ r("span", pl, [
2428
+ (p(), h("svg", fl, hl))
2460
2429
  ]),
2461
- gs
2430
+ ml
2462
2431
  ])
2463
2432
  ]),
2464
2433
  _: 1
2465
2434
  }, 8, ["modelValue"])) : U("", !0)
2466
2435
  ]));
2467
2436
  }
2468
- }), la = /* @__PURE__ */ ye(xs, [["__scopeId", "data-v-092d4be1"]]), ys = {}, bs = {
2437
+ }), oa = /* @__PURE__ */ be(gl, [["__scopeId", "data-v-092d4be1"]]), Cl = {}, xl = {
2469
2438
  viewBox: "0 0 566 154",
2470
2439
  fill: "none",
2471
2440
  xmlns: "http://www.w3.org/2000/svg"
2472
- }, $s = /* @__PURE__ */ i("svg", {
2441
+ }, yl = /* @__PURE__ */ r("svg", {
2473
2442
  xmlns: "http://www.w3.org/2000/svg",
2474
2443
  width: "8em",
2475
2444
  height: "8em",
2476
2445
  viewBox: "0 -4 24 24"
2477
2446
  }, [
2478
- /* @__PURE__ */ i("path", {
2447
+ /* @__PURE__ */ r("path", {
2479
2448
  fill: "#3dd68c",
2480
2449
  d: "M4 15V8.5a4.5 4.5 0 0 1 9 0v7a2.5 2.5 0 0 0 5 0V8.83a3.001 3.001 0 1 1 2 0v6.67a4.5 4.5 0 1 1-9 0v-7a2.5 2.5 0 0 0-5 0V15h3l-4 5l-4-5zm15-8a1 1 0 1 0 0-2a1 1 0 0 0 0 2"
2481
2450
  })
2482
- ], -1), ws = /* @__PURE__ */ i("path", {
2451
+ ], -1), bl = /* @__PURE__ */ r("path", {
2483
2452
  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",
2484
2453
  fill: "currentColor"
2485
- }, null, -1), ks = [
2486
- $s,
2487
- ws
2454
+ }, null, -1), wl = [
2455
+ yl,
2456
+ bl
2488
2457
  ];
2489
- function Is(t, e) {
2490
- return p(), h("svg", bs, ks);
2458
+ function $l(t, e) {
2459
+ return p(), h("svg", xl, wl);
2491
2460
  }
2492
- const Ss = /* @__PURE__ */ ye(ys, [["render", Is]]), Ts = {
2461
+ const kl = /* @__PURE__ */ be(Cl, [["render", $l]]), Il = {
2493
2462
  "h-full": "",
2494
2463
  "w-full": "",
2495
2464
  flex: "",
2496
2465
  "items-center": ""
2497
- }, Es = {
2466
+ }, Sl = {
2498
2467
  flex: "~ col gap2",
2499
2468
  ma: "",
2500
2469
  "px-5": ""
2501
- }, Vs = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), Ns = {
2470
+ }, Tl = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), El = {
2502
2471
  flex: "~ col",
2503
2472
  "mt-20": "",
2504
2473
  "items-center": ""
2505
- }, Rs = {
2474
+ }, Vl = {
2506
2475
  flex: "~",
2507
2476
  "mt--10": "",
2508
2477
  "items-center": "",
2509
2478
  "justify-center": ""
2510
- }, As = /* @__PURE__ */ i("div", {
2479
+ }, Nl = /* @__PURE__ */ r("div", {
2511
2480
  mb6: "",
2512
2481
  "mt--1": "",
2513
2482
  "text-center": "",
2514
2483
  "text-sm": "",
2515
2484
  flex: "~ gap-1"
2516
2485
  }, [
2517
- /* @__PURE__ */ i("span", { op40: "" }, " Router DevTools ")
2518
- ], -1), Ds = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), Ps = { flex: "~ gap2 wrap" }, Ms = /* @__PURE__ */ i("div", {
2486
+ /* @__PURE__ */ r("span", { op40: "" }, " Router DevTools ")
2487
+ ], -1), Rl = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), Al = { flex: "~ gap2 wrap" }, Dl = /* @__PURE__ */ r("div", {
2519
2488
  "i-carbon-tree-view-alt": "",
2520
2489
  "text-3xl": ""
2521
- }, null, -1), Hs = /* @__PURE__ */ i("code", null, "Routes", -1), Ls = [
2522
- Ms,
2523
- Hs
2524
- ], js = /* @__PURE__ */ i("div", {
2490
+ }, null, -1), Pl = /* @__PURE__ */ r("code", null, "Routes", -1), Ml = [
2491
+ Dl,
2492
+ Pl
2493
+ ], Hl = /* @__PURE__ */ r("div", {
2525
2494
  "i-mdi:timeline-clock-outline": "",
2526
2495
  "text-3xl": ""
2527
- }, null, -1), Os = /* @__PURE__ */ i("div", null, "Timeline", -1), Us = [
2528
- js,
2529
- Os
2530
- ], zs = /* @__PURE__ */ i("div", {
2496
+ }, null, -1), Ll = /* @__PURE__ */ r("div", null, "Timeline", -1), Ol = [
2497
+ Hl,
2498
+ Ll
2499
+ ], jl = /* @__PURE__ */ r("div", {
2531
2500
  flex: "~ gap-6 wrap",
2532
2501
  "mt-5": "",
2533
2502
  "items-center": "",
2534
2503
  "justify-center": ""
2535
2504
  }, [
2536
- /* @__PURE__ */ i("a", {
2505
+ /* @__PURE__ */ r("a", {
2537
2506
  href: "https://github.com/vuejs/router",
2538
2507
  target: "_blank",
2539
2508
  flex: "~ gap1",
@@ -2542,10 +2511,10 @@ const Ss = /* @__PURE__ */ ye(ys, [["render", Is]]), Ts = {
2542
2511
  hover: "op100 text-blue",
2543
2512
  transition: ""
2544
2513
  }, [
2545
- /* @__PURE__ */ i("div", { "i-carbon-star": "" }),
2514
+ /* @__PURE__ */ r("div", { "i-carbon-star": "" }),
2546
2515
  /* @__PURE__ */ ne(" Star on GitHub ")
2547
2516
  ]),
2548
- /* @__PURE__ */ i("a", {
2517
+ /* @__PURE__ */ r("a", {
2549
2518
  href: "https://router.vuejs.org/",
2550
2519
  target: "_blank",
2551
2520
  flex: "~ gap1",
@@ -2554,153 +2523,167 @@ const Ss = /* @__PURE__ */ ye(ys, [["render", Is]]), Ts = {
2554
2523
  hover: "op100 text-yellow",
2555
2524
  transition: ""
2556
2525
  }, [
2557
- /* @__PURE__ */ i("div", { "i-carbon-document": "" }),
2526
+ /* @__PURE__ */ r("div", { "i-carbon-document": "" }),
2558
2527
  /* @__PURE__ */ ne(" View Documentation ")
2559
2528
  ])
2560
- ], -1), Bs = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), Zs = /* @__PURE__ */ B({
2529
+ ], -1), Ul = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), zl = /* @__PURE__ */ B({
2561
2530
  __name: "About",
2562
2531
  setup(t) {
2563
2532
  const e = De();
2564
- return (n, o) => (p(), h("div", Ts, [
2565
- i("div", Es, [
2566
- Vs,
2567
- i("div", Ns, [
2568
- i("div", Rs, [
2569
- x(Ss, { "h-18": "" })
2533
+ return (n, o) => (p(), h("div", Il, [
2534
+ r("div", Sl, [
2535
+ Tl,
2536
+ r("div", El, [
2537
+ r("div", Vl, [
2538
+ x(kl, { "h-18": "" })
2570
2539
  ]),
2571
- As
2540
+ Nl
2572
2541
  ]),
2573
- Ds,
2574
- i("div", Ps, [
2575
- i("div", {
2542
+ Rl,
2543
+ r("div", Al, [
2544
+ r("div", {
2576
2545
  flex: "~ col auto",
2577
2546
  "min-w-40": "",
2578
2547
  p4: "",
2579
2548
  "theme-card-lime": "",
2580
- onClick: o[0] || (o[0] = (l) => r(e).push("/routes"))
2581
- }, Ls),
2582
- i("div", {
2549
+ onClick: o[0] || (o[0] = (s) => c(e).push("/routes"))
2550
+ }, Ml),
2551
+ r("div", {
2583
2552
  flex: "~ col auto",
2584
2553
  "min-w-40": "",
2585
2554
  p4: "",
2586
2555
  "theme-card-lime": "",
2587
- onClick: o[1] || (o[1] = (l) => r(e).push("/timeline"))
2588
- }, Us)
2556
+ onClick: o[1] || (o[1] = (s) => c(e).push("/timeline"))
2557
+ }, Ol)
2589
2558
  ]),
2590
- zs,
2591
- Bs
2559
+ jl,
2560
+ Ul
2592
2561
  ])
2593
2562
  ]));
2594
2563
  }
2595
- }), Fs = { class: "h-full flex flex-col" }, Gs = {
2564
+ }), Kt = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
2565
+ function Te() {
2566
+ return ve(Kt);
2567
+ }
2568
+ function Wt() {
2569
+ const t = I({
2570
+ homepage: "",
2571
+ id: "",
2572
+ label: "",
2573
+ logo: "",
2574
+ timelineLayerIds: []
2575
+ });
2576
+ return _e(Kt, t), t;
2577
+ }
2578
+ const Bl = { class: "h-full flex flex-col" }, Zl = {
2596
2579
  "h-full": "",
2597
2580
  "select-none": "",
2598
2581
  "overflow-scroll": "",
2599
2582
  p2: "",
2600
2583
  class: "no-scrollbar"
2601
- }, Ks = {
2584
+ }, Fl = {
2602
2585
  "h-full": "",
2603
2586
  "select-none": "",
2604
2587
  "overflow-scroll": "",
2605
2588
  class: "no-scrollbar"
2606
- }, Ws = /* @__PURE__ */ B({
2589
+ }, Gl = /* @__PURE__ */ B({
2607
2590
  __name: "Index",
2608
2591
  setup(t) {
2609
- const { expanded: e } = ve(), { expanded: n } = ve("routes-state"), o = be(), l = D(() => o.value.id), s = I(""), u = I([]), c = D(() => {
2610
- var $, N;
2611
- return ($ = u.value) != null && $.length ? a((N = u.value) == null ? void 0 : N[0]) : [];
2612
- }), d = D(() => m(u.value)), C = D(() => d.value.map(($) => $.id)), v = I({});
2613
- function a($, N = [], H = []) {
2592
+ const { expanded: e } = he(), { expanded: n } = he("routes-state"), o = Te(), s = E(() => o.value.id), l = I(""), i = I([]), u = E(() => {
2593
+ var w, R;
2594
+ return (w = i.value) != null && w.length ? a((R = i.value) == null ? void 0 : R[0]) : [];
2595
+ }), d = E(() => m(i.value)), C = E(() => d.value.map((w) => w.id)), v = I({});
2596
+ function a(w, R = [], H = []) {
2614
2597
  var K;
2615
- return N.push($.id), ((K = $.children) == null ? void 0 : K.length) === 0 && H.push([...N]), Array.isArray($.children) && $.children.forEach((Z) => {
2616
- a(Z, N, H);
2617
- }), N.pop(), H;
2598
+ return R.push(w.id), ((K = w.children) == null ? void 0 : K.length) === 0 && H.push([...R]), Array.isArray(w.children) && w.children.forEach((Z) => {
2599
+ a(Z, R, H);
2600
+ }), R.pop(), H;
2618
2601
  }
2619
- function f($, N) {
2602
+ function f(w, R) {
2620
2603
  const H = [];
2621
- return $ == null || $.forEach((K) => {
2622
- H.push(...K.slice(0, N + 1));
2604
+ return w == null || w.forEach((K) => {
2605
+ H.push(...K.slice(0, R + 1));
2623
2606
  }), [...new Set(H)];
2624
2607
  }
2625
- function m($) {
2626
- const N = [], H = (K) => {
2608
+ function m(w) {
2609
+ const R = [], H = (K) => {
2627
2610
  K == null || K.forEach((Z) => {
2628
2611
  var T;
2629
- N.push(Z), (T = Z.children) != null && T.length && H(Z.children);
2612
+ R.push(Z), (T = Z.children) != null && T.length && H(Z.children);
2630
2613
  });
2631
2614
  };
2632
- return H($), N;
2615
+ return H(w), R;
2633
2616
  }
2634
- function y($) {
2635
- var N;
2636
- for (const H in $)
2637
- (N = $[H]) != null && N.length || delete $[H];
2638
- return $;
2617
+ function y(w) {
2618
+ var R;
2619
+ for (const H in w)
2620
+ (R = w[H]) != null && R.length || delete w[H];
2621
+ return w;
2639
2622
  }
2640
- function _($) {
2641
- R.value.getInspectorState({ inspectorId: l.value, nodeId: $ }).then((N) => {
2642
- const H = Y(N);
2623
+ function _(w) {
2624
+ A.value.getInspectorState({ inspectorId: s.value, nodeId: w }).then((R) => {
2625
+ const H = Y(R);
2643
2626
  H && (v.value = y(H), n.value = Array.from({ length: Object.keys(v.value).length }, (K, Z) => `${Z}`));
2644
2627
  });
2645
2628
  }
2646
2629
  function k() {
2647
2630
  v.value = {};
2648
2631
  }
2649
- X(s, () => {
2650
- k(), _(s.value);
2632
+ X(l, () => {
2633
+ k(), _(l.value);
2651
2634
  });
2652
- const O = () => {
2653
- R.value.getInspectorTree({ inspectorId: l.value, filter: "" }).then(($) => {
2654
- const N = Y($);
2655
- u.value = N, !s.value && N.length && (s.value = N[0].id, _(N[0].id), e.value = f(c.value, 1));
2635
+ const j = () => {
2636
+ A.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((w) => {
2637
+ const R = Y(w);
2638
+ i.value = R, !l.value && R.length && (l.value = R[0].id, _(R[0].id), e.value = f(u.value, 1));
2656
2639
  });
2657
2640
  };
2658
- Pt(l).toBeTruthy().then(O);
2659
- function j($) {
2660
- const N = Y($);
2661
- N.inspectorId !== l.value || !N.rootNodes.length || (u.value = N.rootNodes, C.value.includes(s.value) || (s.value = N.rootNodes[0].id, e.value = f(c.value, 1), _(N.rootNodes[0].id)));
2662
- }
2663
- function V($) {
2664
- const N = Y($);
2665
- if (N.inspectorId !== l.value)
2641
+ Pt(s).toBeTruthy().then(j);
2642
+ function O(w) {
2643
+ const R = Y(w);
2644
+ R.inspectorId !== s.value || !R.rootNodes.length || (i.value = R.rootNodes, C.value.includes(l.value) || (l.value = R.rootNodes[0].id, e.value = f(u.value, 1), _(R.rootNodes[0].id)));
2645
+ }
2646
+ function N(w) {
2647
+ const R = Y(w);
2648
+ if (R.inspectorId !== s.value)
2666
2649
  return;
2667
- const H = N.state;
2650
+ const H = R.state;
2668
2651
  v.value = y(H);
2669
2652
  }
2670
- return R.functions.on(W.INSPECTOR_TREE_UPDATED, j), R.functions.on(W.INSPECTOR_STATE_UPDATED, V), xe(() => {
2671
- R.functions.off(W.INSPECTOR_TREE_UPDATED, j), R.functions.off(W.INSPECTOR_STATE_UPDATED, V);
2672
- }), ($, N) => (p(), h("div", Fs, [
2673
- x(Te, {
2653
+ return A.functions.on(W.INSPECTOR_TREE_UPDATED, O), A.functions.on(W.INSPECTOR_STATE_UPDATED, N), ye(() => {
2654
+ A.functions.off(W.INSPECTOR_TREE_UPDATED, O), A.functions.off(W.INSPECTOR_STATE_UPDATED, N);
2655
+ }), (w, R) => (p(), h("div", Bl, [
2656
+ x(Se, {
2674
2657
  "doc-link": "https://router.vuejs.org/",
2675
2658
  "github-repo-link": "https://github.com/vuejs/router"
2676
2659
  }, {
2677
2660
  default: M(() => [
2678
- x(Se)
2661
+ x(Ie)
2679
2662
  ]),
2680
2663
  _: 1
2681
2664
  }),
2682
- x(r(Ae), { class: "flex-1 overflow-auto" }, {
2665
+ x(c(Ae), { class: "flex-1 overflow-auto" }, {
2683
2666
  default: M(() => [
2684
- x(r(ue), {
2667
+ x(c(ue), {
2685
2668
  border: "r base",
2686
2669
  size: "40",
2687
2670
  "h-full": ""
2688
2671
  }, {
2689
2672
  default: M(() => [
2690
- i("div", Gs, [
2673
+ r("div", Zl, [
2691
2674
  x(Me, {
2692
- modelValue: s.value,
2693
- "onUpdate:modelValue": N[0] || (N[0] = (H) => s.value = H),
2694
- data: u.value
2675
+ modelValue: l.value,
2676
+ "onUpdate:modelValue": R[0] || (R[0] = (H) => l.value = H),
2677
+ data: i.value
2695
2678
  }, null, 8, ["modelValue", "data"])
2696
2679
  ])
2697
2680
  ]),
2698
2681
  _: 1
2699
2682
  }),
2700
- x(r(ue), { size: "60" }, {
2683
+ x(c(ue), { size: "60" }, {
2701
2684
  default: M(() => [
2702
- i("div", Ks, [
2703
- s.value ? (p(), z(Pe, {
2685
+ r("div", Fl, [
2686
+ l.value ? (p(), z(Pe, {
2704
2687
  key: 0,
2705
2688
  class: "p3",
2706
2689
  data: v.value,
@@ -2722,190 +2705,190 @@ const Ss = /* @__PURE__ */ ye(ys, [["render", Is]]), Ts = {
2722
2705
  })
2723
2706
  ]));
2724
2707
  }
2725
- }), qs = /* @__PURE__ */ B({
2708
+ }), Kl = /* @__PURE__ */ B({
2726
2709
  __name: "Index",
2727
2710
  setup(t) {
2728
- const e = be();
2711
+ const e = Te();
2729
2712
  return (n, o) => (p(), z(vt, {
2730
- "layer-ids": r(e).timelineLayerIds,
2713
+ "layer-ids": c(e).timelineLayerIds,
2731
2714
  "doc-link": "https://router.vuejs.org/",
2732
2715
  "github-repo-link": "https://github.com/vuejs/router"
2733
2716
  }, null, 8, ["layer-ids"]));
2734
2717
  }
2735
- }), Js = {
2718
+ }), Wl = {
2736
2719
  "h-full": "",
2737
2720
  "w-full": ""
2738
- }, aa = /* @__PURE__ */ B({
2721
+ }, la = /* @__PURE__ */ B({
2739
2722
  __name: "index",
2740
2723
  props: {
2741
2724
  id: {}
2742
2725
  },
2743
2726
  setup(t) {
2744
- const e = t, n = Kt(), o = I(!1), { VirtualRouterView: l, restoreRouter: s } = it([
2727
+ const e = t, n = Wt(), o = I(!1), { VirtualRouterView: s, restoreRouter: l } = it([
2745
2728
  {
2746
2729
  path: "/routes",
2747
2730
  name: "Routes",
2748
- component: Ws,
2731
+ component: Gl,
2749
2732
  icon: "i-carbon-tree-view-alt"
2750
2733
  },
2751
2734
  {
2752
2735
  path: "/timeline",
2753
2736
  name: "Timeline",
2754
- component: qs,
2737
+ component: Kl,
2755
2738
  icon: "i-mdi:timeline-clock-outline"
2756
2739
  },
2757
2740
  {
2758
2741
  path: "/about",
2759
2742
  name: "About",
2760
- component: Zs,
2743
+ component: zl,
2761
2744
  icon: "i-ri-route-line"
2762
2745
  }
2763
2746
  ], {
2764
2747
  defaultRoutePath: "/routes"
2765
2748
  });
2766
- function u() {
2749
+ function i() {
2767
2750
  o.value = !0, Re(() => {
2768
- R.value.getInspectorInfo(e.id).then((c) => {
2769
- if (!c)
2751
+ A.value.getInspectorInfo(e.id).then((u) => {
2752
+ if (!u)
2770
2753
  return;
2771
2754
  const d = {
2772
- homepage: c == null ? void 0 : c.homepage,
2773
- id: c == null ? void 0 : c.id,
2774
- label: c == null ? void 0 : c.label,
2775
- logo: c == null ? void 0 : c.logo,
2776
- timelineLayerIds: c == null ? void 0 : c.timelineLayers.map((C) => C.id)
2755
+ homepage: u == null ? void 0 : u.homepage,
2756
+ id: u == null ? void 0 : u.id,
2757
+ label: u == null ? void 0 : u.label,
2758
+ logo: u == null ? void 0 : u.logo,
2759
+ timelineLayerIds: u == null ? void 0 : u.timelineLayers.map((C) => C.id)
2777
2760
  };
2778
- n.value = d, s(), o.value = !1;
2761
+ n.value = d, l(), o.value = !1;
2779
2762
  });
2780
2763
  });
2781
2764
  }
2782
- return X(() => e.id, (c) => {
2783
- c && u();
2784
- }), (c, d) => (p(), h("div", Js, [
2785
- x(r(l))
2765
+ return X(() => e.id, (u) => {
2766
+ u && i();
2767
+ }), (u, d) => (p(), h("div", Wl, [
2768
+ x(c(s))
2786
2769
  ]));
2787
2770
  }
2788
- }), Ys = {}, Xs = {
2771
+ }), ql = {}, Jl = {
2789
2772
  width: "175",
2790
2773
  height: "34",
2791
2774
  viewBox: "0 0 175 34",
2792
2775
  fill: "none",
2793
2776
  xmlns: "http://www.w3.org/2000/svg"
2794
- }, Qs = /* @__PURE__ */ i("path", {
2777
+ }, Yl = /* @__PURE__ */ r("path", {
2795
2778
  fill: "currentColor",
2796
2779
  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"
2797
- }, null, -1), el = [
2798
- Qs
2780
+ }, null, -1), Xl = [
2781
+ Yl
2799
2782
  ];
2800
- function tl(t, e) {
2801
- return p(), h("svg", Xs, el);
2783
+ function Ql(t, e) {
2784
+ return p(), h("svg", Jl, Xl);
2802
2785
  }
2803
- const nl = /* @__PURE__ */ ye(Ys, [["render", tl]]), ol = {
2786
+ const es = /* @__PURE__ */ be(ql, [["render", Ql]]), ts = {
2804
2787
  "h-full": "",
2805
2788
  "w-full": "",
2806
2789
  flex: "",
2807
2790
  "items-center": ""
2808
- }, sl = {
2791
+ }, ns = {
2809
2792
  flex: "~ col gap2",
2810
2793
  ma: "",
2811
2794
  "px-5": ""
2812
- }, ll = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), al = {
2795
+ }, os = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), ls = {
2813
2796
  flex: "~ col",
2814
2797
  "mt-20": "",
2815
2798
  "items-center": ""
2816
- }, il = {
2799
+ }, ss = {
2817
2800
  flex: "~",
2818
2801
  "mt--10": "",
2819
2802
  "items-center": "",
2820
2803
  "justify-center": ""
2821
- }, rl = { class: "mr-1" }, ul = {
2804
+ }, as = { class: "mr-1" }, is = {
2822
2805
  key: 0,
2823
2806
  class: "inline-block w20"
2824
- }, cl = ["src", "alt"], dl = {
2807
+ }, rs = ["src", "alt"], us = {
2825
2808
  key: 1,
2826
2809
  class: "mr2 inline-block min-w-20 text-center text-10 font-600"
2827
- }, pl = {
2810
+ }, cs = {
2828
2811
  mb6: "",
2829
2812
  "mt--1": "",
2830
2813
  "text-center": "",
2831
2814
  "text-sm": "",
2832
2815
  flex: "~ gap-1"
2833
- }, fl = { op40: "" }, vl = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), hl = { flex: "~ gap2 wrap" }, ml = /* @__PURE__ */ i("div", {
2816
+ }, ds = { op40: "" }, ps = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), fs = { flex: "~ gap2 wrap" }, vs = /* @__PURE__ */ r("div", {
2834
2817
  "i-carbon-tree-view-alt": "",
2835
2818
  "text-3xl": ""
2836
- }, null, -1), _l = /* @__PURE__ */ i("code", null, "State", -1), gl = [
2837
- ml,
2838
- _l
2839
- ], Cl = /* @__PURE__ */ i("div", {
2819
+ }, null, -1), hs = /* @__PURE__ */ r("code", null, "State", -1), ms = [
2820
+ vs,
2821
+ hs
2822
+ ], _s = /* @__PURE__ */ r("div", {
2840
2823
  "i-mdi:timeline-clock-outline": "",
2841
2824
  "text-3xl": ""
2842
- }, null, -1), xl = /* @__PURE__ */ i("div", null, "Timeline", -1), yl = [
2843
- Cl,
2844
- xl
2845
- ], bl = {
2825
+ }, null, -1), gs = /* @__PURE__ */ r("div", null, "Timeline", -1), Cs = [
2826
+ _s,
2827
+ gs
2828
+ ], xs = {
2846
2829
  flex: "~ gap-6 wrap",
2847
2830
  "mt-5": "",
2848
2831
  "items-center": "",
2849
2832
  "justify-center": ""
2850
- }, $l = ["href"], wl = /* @__PURE__ */ i("div", { "i-carbon-document": "" }, null, -1), kl = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), Il = /* @__PURE__ */ B({
2833
+ }, ys = ["href"], bs = /* @__PURE__ */ r("div", { "i-carbon-document": "" }, null, -1), ws = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), $s = /* @__PURE__ */ B({
2851
2834
  __name: "About",
2852
2835
  setup(t) {
2853
- const e = De(), n = be(), o = I(!1), l = I(!1);
2854
- function s() {
2836
+ const e = De(), n = Te(), o = I(!1), s = I(!1);
2837
+ function l() {
2855
2838
  o.value = !0;
2856
2839
  }
2857
- function u() {
2858
- o.value = !0, l.value = !0;
2840
+ function i() {
2841
+ o.value = !0, s.value = !0;
2859
2842
  }
2860
- return (c, d) => {
2843
+ return (u, d) => {
2861
2844
  var C;
2862
- return p(), h("div", ol, [
2863
- i("div", sl, [
2864
- ll,
2865
- i("div", al, [
2866
- i("div", il, [
2867
- i("span", rl, [
2868
- o.value ? U("", !0) : (p(), h("span", ul)),
2869
- J(i("img", {
2870
- src: r(n).logo,
2871
- alt: `${r(n).label} Logo`,
2845
+ return p(), h("div", ts, [
2846
+ r("div", ns, [
2847
+ os,
2848
+ r("div", ls, [
2849
+ r("div", ss, [
2850
+ r("span", as, [
2851
+ o.value ? U("", !0) : (p(), h("span", is)),
2852
+ J(r("img", {
2853
+ src: c(n).logo,
2854
+ alt: `${c(n).label} Logo`,
2872
2855
  class: "inline-block h16",
2873
- onError: u,
2874
- onLoad: s
2875
- }, null, 40, cl), [
2876
- [an, o.value && !l.value]
2856
+ onError: i,
2857
+ onLoad: l
2858
+ }, null, 40, rs), [
2859
+ [an, o.value && !s.value]
2877
2860
  ]),
2878
- l.value ? (p(), h("span", dl, oe(r(n).label), 1)) : U("", !0)
2861
+ s.value ? (p(), h("span", us, le(c(n).label), 1)) : U("", !0)
2879
2862
  ]),
2880
- i("span", null, [
2881
- x(nl, { "h-18": "" })
2863
+ r("span", null, [
2864
+ x(es, { "h-18": "" })
2882
2865
  ])
2883
2866
  ]),
2884
- i("div", pl, [
2885
- i("span", fl, oe(r(n).label) + " DevTools ", 1)
2867
+ r("div", cs, [
2868
+ r("span", ds, le(c(n).label) + " DevTools ", 1)
2886
2869
  ])
2887
2870
  ]),
2888
- vl,
2889
- i("div", hl, [
2890
- i("div", {
2871
+ ps,
2872
+ r("div", fs, [
2873
+ r("div", {
2891
2874
  flex: "~ col auto",
2892
2875
  "min-w-40": "",
2893
2876
  p4: "",
2894
2877
  "theme-card-lime": "",
2895
- onClick: d[0] || (d[0] = (v) => r(e).push("/state"))
2896
- }, gl),
2897
- (C = r(n).timelineLayerIds) != null && C.length ? (p(), h("div", {
2878
+ onClick: d[0] || (d[0] = (v) => c(e).push("/state"))
2879
+ }, ms),
2880
+ (C = c(n).timelineLayerIds) != null && C.length ? (p(), h("div", {
2898
2881
  key: 0,
2899
2882
  flex: "~ col auto",
2900
2883
  "min-w-40": "",
2901
2884
  p4: "",
2902
2885
  "theme-card-lime": "",
2903
- onClick: d[1] || (d[1] = (v) => r(e).push("/timeline"))
2904
- }, yl)) : U("", !0)
2886
+ onClick: d[1] || (d[1] = (v) => c(e).push("/timeline"))
2887
+ }, Cs)) : U("", !0)
2905
2888
  ]),
2906
- i("div", bl, [
2907
- i("a", {
2908
- href: r(n).homepage,
2889
+ r("div", xs, [
2890
+ r("a", {
2891
+ href: c(n).homepage,
2909
2892
  target: "_blank",
2910
2893
  flex: "~ gap1",
2911
2894
  "items-center": "",
@@ -2913,102 +2896,102 @@ const nl = /* @__PURE__ */ ye(Ys, [["render", tl]]), ol = {
2913
2896
  hover: "op100 text-yellow",
2914
2897
  transition: ""
2915
2898
  }, [
2916
- wl,
2899
+ bs,
2917
2900
  ne(" View Documentation ")
2918
- ], 8, $l)
2901
+ ], 8, ys)
2919
2902
  ]),
2920
- kl
2903
+ ws
2921
2904
  ])
2922
2905
  ]);
2923
2906
  };
2924
2907
  }
2925
- }), Sl = { class: "h-full flex flex-col" }, Tl = /* @__PURE__ */ B({
2908
+ }), ks = { class: "h-full flex flex-col" }, Is = /* @__PURE__ */ B({
2926
2909
  __name: "Settings",
2927
2910
  setup(t) {
2928
- const e = inject("pluginSettings"), n = be(), o = computed(() => e.value.options), l = computed(() => e.value.values);
2929
- function s(u) {
2930
- e.value = u;
2911
+ const e = ve("pluginSettings"), n = Te(), o = E(() => e.value.options), s = E(() => e.value.values);
2912
+ function l(i) {
2913
+ e.value = i;
2931
2914
  }
2932
- return (u, c) => (p(), h("div", Sl, [
2933
- x(Te, {
2934
- "doc-link": r(n).homepage
2915
+ return (i, u) => (p(), h("div", ks, [
2916
+ x(Se, {
2917
+ "doc-link": c(n).homepage
2935
2918
  }, {
2936
2919
  default: M(() => [
2937
- x(Se)
2920
+ x(Ie)
2938
2921
  ]),
2939
2922
  _: 1
2940
2923
  }, 8, ["doc-link"]),
2941
- x(Wt, {
2942
- "plugin-id": r(n).id,
2943
- options: r(o),
2944
- values: r(l),
2945
- onUpdate: s
2924
+ x(Gt, {
2925
+ "plugin-id": c(n).id,
2926
+ options: o.value,
2927
+ values: s.value,
2928
+ onUpdate: l
2946
2929
  }, null, 8, ["plugin-id", "options", "values"])
2947
2930
  ]));
2948
2931
  }
2949
- }), El = { class: "h-full flex flex-col" }, Vl = { class: "h-full flex flex-col p2" }, Nl = {
2932
+ }), Ss = { class: "h-full flex flex-col" }, Ts = { class: "h-full flex flex-col p2" }, Es = {
2950
2933
  key: 0,
2951
2934
  class: "mb-1 flex justify-end pb-1",
2952
2935
  border: "b dashed base"
2953
- }, Rl = { class: "flex items-center gap-2 px-1" }, Al = ["onClick"], Dl = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, Pl = { class: "h-full flex flex-col p2" }, Ml = {
2936
+ }, Vs = { class: "flex items-center gap-2 px-1" }, Ns = ["onClick"], Rs = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, As = { class: "h-full flex flex-col p2" }, Ds = {
2954
2937
  key: 0,
2955
2938
  class: "mb-1 flex justify-end pb-1",
2956
2939
  border: "b dashed base"
2957
- }, Hl = { class: "flex items-center gap-2 px-1" }, Ll = ["onClick"], jl = /* @__PURE__ */ B({
2940
+ }, Ps = { class: "flex items-center gap-2 px-1" }, Ms = ["onClick"], Hs = /* @__PURE__ */ B({
2958
2941
  __name: "Index",
2959
2942
  setup(t) {
2960
- const { expanded: e } = ve(), { expanded: n } = ve("custom-inspector-state"), o = be(), l = D(() => o.value.id), s = I([]), u = I([]), c = I([]), d = D(() => {
2943
+ const { expanded: e } = he(), { expanded: n } = he("custom-inspector-state"), o = Te(), s = E(() => o.value.id), l = I([]), i = I([]), u = I([]), d = E(() => {
2961
2944
  var b, S;
2962
- return (b = c.value) != null && b.length ? y((S = c.value) == null ? void 0 : S[0]) : [];
2963
- }), C = D(() => k(c.value)), v = D(() => C.value.map((b) => b.id)), a = I(""), f = I({}), m = D(() => !Object.keys(f.value).length);
2945
+ return (b = u.value) != null && b.length ? y((S = u.value) == null ? void 0 : S[0]) : [];
2946
+ }), C = E(() => k(u.value)), v = E(() => C.value.map((b) => b.id)), a = I(""), f = I({}), m = E(() => !Object.keys(f.value).length);
2964
2947
  function y(b, S = [], g = []) {
2965
- var A;
2966
- return S.push(b.id), ((A = b.children) == null ? void 0 : A.length) === 0 && g.push([...S]), Array.isArray(b.children) && b.children.forEach((F) => {
2948
+ var D;
2949
+ return S.push(b.id), ((D = b.children) == null ? void 0 : D.length) === 0 && g.push([...S]), Array.isArray(b.children) && b.children.forEach((F) => {
2967
2950
  y(F, S, g);
2968
2951
  }), S.pop(), g;
2969
2952
  }
2970
2953
  function _(b, S) {
2971
2954
  const g = [];
2972
- return b == null || b.forEach((A) => {
2973
- g.push(...A.slice(0, S + 1));
2955
+ return b == null || b.forEach((D) => {
2956
+ g.push(...D.slice(0, S + 1));
2974
2957
  }), [...new Set(g)];
2975
2958
  }
2976
2959
  function k(b) {
2977
- const S = [], g = (A) => {
2978
- A == null || A.forEach((F) => {
2979
- var le;
2980
- S.push(F), (le = F.children) != null && le.length && g(F.children);
2960
+ const S = [], g = (D) => {
2961
+ D == null || D.forEach((F) => {
2962
+ var se;
2963
+ S.push(F), (se = F.children) != null && se.length && g(F.children);
2981
2964
  });
2982
2965
  };
2983
2966
  return g(b), S;
2984
2967
  }
2985
- function O() {
2986
- R.value.getInspectorNodeActions(l.value).then((b) => {
2987
- s.value = b;
2968
+ function j() {
2969
+ A.value.getInspectorNodeActions(s.value).then((b) => {
2970
+ l.value = b;
2988
2971
  });
2989
2972
  }
2990
- function j() {
2991
- R.value.getInspectorActions(l.value).then((b) => {
2992
- u.value = b;
2973
+ function O() {
2974
+ A.value.getInspectorActions(s.value).then((b) => {
2975
+ i.value = b;
2993
2976
  });
2994
2977
  }
2995
- O(), j();
2996
- function V(b) {
2997
- R.value.callInspectorNodeAction(l.value, b, a.value);
2978
+ j(), O();
2979
+ function N(b) {
2980
+ A.value.callInspectorNodeAction(s.value, b, a.value);
2998
2981
  }
2999
- function $(b) {
3000
- R.value.callInspectorAction(l.value, b);
2982
+ function w(b) {
2983
+ A.value.callInspectorAction(s.value, b);
3001
2984
  }
3002
- function N(b) {
2985
+ function R(b) {
3003
2986
  var S;
3004
2987
  for (const g in b)
3005
2988
  (S = b[g]) != null && S.length || delete b[g];
3006
2989
  return b;
3007
2990
  }
3008
2991
  function H(b) {
3009
- R.value.getInspectorState({ inspectorId: l.value, nodeId: b }).then((S) => {
2992
+ A.value.getInspectorState({ inspectorId: s.value, nodeId: b }).then((S) => {
3010
2993
  const g = Y(S);
3011
- g && (f.value = N(g), n.value = Array.from({ length: Object.keys(f.value).length }, (A, F) => `${F}`));
2994
+ g && (f.value = R(g), n.value = Array.from({ length: Object.keys(f.value).length }, (D, F) => `${F}`));
3012
2995
  });
3013
2996
  }
3014
2997
  function K() {
@@ -3018,43 +3001,43 @@ const nl = /* @__PURE__ */ ye(Ys, [["render", tl]]), ol = {
3018
3001
  K(), H(a.value);
3019
3002
  });
3020
3003
  const Z = () => {
3021
- R.value.getInspectorTree({ inspectorId: l.value, filter: "" }).then((b) => {
3004
+ A.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((b) => {
3022
3005
  const S = Y(b);
3023
- c.value = S, !a.value && S.length && (a.value = S[0].id, e.value = _(d.value, 1), H(S[0].id));
3006
+ u.value = S, !a.value && S.length && (a.value = S[0].id, e.value = _(d.value, 1), H(S[0].id));
3024
3007
  });
3025
3008
  };
3026
- Pt(l).toBeTruthy().then(Z);
3009
+ Pt(s).toBeTruthy().then(Z);
3027
3010
  function T(b) {
3028
- var g, A;
3011
+ var g, D;
3029
3012
  const S = Y(b);
3030
- !S.rootNodes.length || S.inspectorId !== l.value || (c.value = S.rootNodes, v.value.includes(a.value) || (a.value = (A = (g = c.value) == null ? void 0 : g[0]) == null ? void 0 : A.id, e.value = _(d.value, 1)));
3013
+ !S.rootNodes.length || S.inspectorId !== s.value || (u.value = S.rootNodes, v.value.includes(a.value) || (a.value = (D = (g = u.value) == null ? void 0 : g[0]) == null ? void 0 : D.id, e.value = _(d.value, 1)));
3031
3014
  }
3032
3015
  function P(b) {
3033
3016
  const S = Y(b);
3034
- if (S.inspectorId !== l.value || !S.state || S.nodeId !== a.value)
3017
+ if (S.inspectorId !== s.value || !S.state || S.nodeId !== a.value)
3035
3018
  return;
3036
- const { inspectorId: g, ...A } = S.state;
3037
- f.value = N(A);
3019
+ const { inspectorId: g, ...D } = S.state;
3020
+ f.value = R(D);
3038
3021
  }
3039
3022
  return Re(() => {
3040
- R.functions.on(W.INSPECTOR_TREE_UPDATED, T), R.functions.on(W.INSPECTOR_STATE_UPDATED, P);
3041
- }), xe(() => {
3042
- R.functions.off(W.INSPECTOR_TREE_UPDATED, T), R.functions.off(W.INSPECTOR_STATE_UPDATED, P);
3043
- }), (b, S) => (p(), h("div", El, [
3044
- x(Te, {
3045
- "doc-link": r(o).homepage
3023
+ A.functions.on(W.INSPECTOR_TREE_UPDATED, T), A.functions.on(W.INSPECTOR_STATE_UPDATED, P);
3024
+ }), ye(() => {
3025
+ A.functions.off(W.INSPECTOR_TREE_UPDATED, T), A.functions.off(W.INSPECTOR_STATE_UPDATED, P);
3026
+ }), (b, S) => (p(), h("div", Ss, [
3027
+ x(Se, {
3028
+ "doc-link": c(o).homepage
3046
3029
  }, {
3047
3030
  default: M(() => [
3048
- x(Se)
3031
+ x(Ie)
3049
3032
  ]),
3050
3033
  _: 1
3051
3034
  }, 8, ["doc-link"]),
3052
- c.value.length ? (p(), z(r(Ae), {
3035
+ u.value.length ? (p(), z(c(Ae), {
3053
3036
  key: 0,
3054
3037
  class: "flex-1 overflow-auto"
3055
3038
  }, {
3056
3039
  default: M(() => [
3057
- x(r(ue), {
3040
+ x(c(ue), {
3058
3041
  border: "r base",
3059
3042
  size: "40",
3060
3043
  "h-full": ""
@@ -3062,36 +3045,36 @@ const nl = /* @__PURE__ */ ye(Ys, [["render", tl]]), ol = {
3062
3045
  default: M(() => {
3063
3046
  var g;
3064
3047
  return [
3065
- i("div", Vl, [
3066
- (g = u.value) != null && g.length ? (p(), h("div", Nl, [
3067
- i("div", Rl, [
3068
- (p(!0), h(te, null, ae(u.value, (A, F) => J((p(), h("div", {
3048
+ r("div", Ts, [
3049
+ (g = i.value) != null && g.length ? (p(), h("div", Es, [
3050
+ r("div", Vs, [
3051
+ (p(!0), h(te, null, ae(i.value, (D, F) => J((p(), h("div", {
3069
3052
  key: F,
3070
3053
  class: "flex items-center gap1",
3071
- onClick: (le) => $(F)
3054
+ onClick: (se) => w(F)
3072
3055
  }, [
3073
- x(r(yt), {
3074
- name: `baseline-${A.icon.replace(/\_/g, "-")}`,
3056
+ x(c(yt), {
3057
+ name: `baseline-${D.icon.replace(/\_/g, "-")}`,
3075
3058
  "cursor-pointer": "",
3076
3059
  op70: "",
3077
3060
  "text-base": "",
3078
3061
  "hover:op100": ""
3079
3062
  }, null, 8, ["name"])
3080
- ], 8, Al)), [
3063
+ ], 8, Ns)), [
3081
3064
  [
3082
- r(Q),
3083
- { content: A.tooltip },
3065
+ c(Q),
3066
+ { content: D.tooltip },
3084
3067
  void 0,
3085
3068
  { "bottom-end": !0 }
3086
3069
  ]
3087
3070
  ])), 128))
3088
3071
  ])
3089
3072
  ])) : U("", !0),
3090
- i("div", Dl, [
3073
+ r("div", Rs, [
3091
3074
  x(Me, {
3092
3075
  modelValue: a.value,
3093
- "onUpdate:modelValue": S[0] || (S[0] = (A) => a.value = A),
3094
- data: c.value
3076
+ "onUpdate:modelValue": S[0] || (S[0] = (D) => a.value = D),
3077
+ data: u.value
3095
3078
  }, null, 8, ["modelValue", "data"])
3096
3079
  ])
3097
3080
  ])
@@ -3099,29 +3082,29 @@ const nl = /* @__PURE__ */ ye(Ys, [["render", tl]]), ol = {
3099
3082
  }),
3100
3083
  _: 1
3101
3084
  }),
3102
- x(r(ue), { size: "60" }, {
3085
+ x(c(ue), { size: "60" }, {
3103
3086
  default: M(() => {
3104
3087
  var g;
3105
3088
  return [
3106
- i("div", Pl, [
3107
- (g = s.value) != null && g.length ? (p(), h("div", Ml, [
3108
- i("div", Hl, [
3109
- (p(!0), h(te, null, ae(s.value, (A, F) => J((p(), h("div", {
3089
+ r("div", As, [
3090
+ (g = l.value) != null && g.length ? (p(), h("div", Ds, [
3091
+ r("div", Ps, [
3092
+ (p(!0), h(te, null, ae(l.value, (D, F) => J((p(), h("div", {
3110
3093
  key: F,
3111
3094
  class: "flex items-center gap1",
3112
- onClick: (le) => V(F)
3095
+ onClick: (se) => N(F)
3113
3096
  }, [
3114
- x(r(yt), {
3115
- name: `baseline-${A.icon.replace(/\_/g, "-")}`,
3097
+ x(c(yt), {
3098
+ name: `baseline-${D.icon.replace(/\_/g, "-")}`,
3116
3099
  "cursor-pointer": "",
3117
3100
  op70: "",
3118
3101
  "text-base": "",
3119
3102
  "hover:op100": ""
3120
3103
  }, null, 8, ["name"])
3121
- ], 8, Ll)), [
3104
+ ], 8, Ms)), [
3122
3105
  [
3123
- r(Q),
3124
- { content: A.tooltip },
3106
+ c(Q),
3107
+ { content: D.tooltip },
3125
3108
  void 0,
3126
3109
  { "bottom-end": !0 }
3127
3110
  ]
@@ -3132,7 +3115,7 @@ const nl = /* @__PURE__ */ ye(Ys, [["render", tl]]), ol = {
3132
3115
  key: 1,
3133
3116
  data: f.value,
3134
3117
  "node-id": a.value,
3135
- "inspector-id": l.value,
3118
+ "inspector-id": s.value,
3136
3119
  "expanded-state-id": "custom-inspector-state",
3137
3120
  class: "no-scrollbar flex-1 select-none overflow-scroll"
3138
3121
  }, null, 8, ["data", "node-id", "inspector-id"])) : (p(), z(Ne, { key: 2 }, {
@@ -3156,74 +3139,74 @@ const nl = /* @__PURE__ */ ye(Ys, [["render", tl]]), ol = {
3156
3139
  }))
3157
3140
  ]));
3158
3141
  }
3159
- }), Ol = /* @__PURE__ */ B({
3142
+ }), Ls = /* @__PURE__ */ B({
3160
3143
  __name: "Index",
3161
3144
  setup(t) {
3162
- const e = be();
3145
+ const e = Te();
3163
3146
  return (n, o) => (p(), z(vt, {
3164
- "layer-ids": r(e).timelineLayerIds,
3165
- "doc-link": r(e).homepage
3147
+ "layer-ids": c(e).timelineLayerIds,
3148
+ "doc-link": c(e).homepage
3166
3149
  }, null, 8, ["layer-ids", "doc-link"]));
3167
3150
  }
3168
- }), Ul = {}, zl = (t) => (ot("data-v-b8018f07"), t = t(), st(), t), Bl = { class: "h-screen w-screen $ui-fcc flex-col" }, Zl = /* @__PURE__ */ zl(() => /* @__PURE__ */ i("div", { class: "outer" }, [
3169
- /* @__PURE__ */ i("div", { class: "inner" }, [
3170
- /* @__PURE__ */ i("i", {
3151
+ }), Os = {}, js = (t) => (ot("data-v-b8018f07"), t = t(), lt(), t), Us = { class: "h-screen w-screen $ui-fcc flex-col" }, zs = /* @__PURE__ */ js(() => /* @__PURE__ */ r("div", { class: "outer" }, [
3152
+ /* @__PURE__ */ r("div", { class: "inner" }, [
3153
+ /* @__PURE__ */ r("i", {
3171
3154
  class: "i-logos-vue inline-block h8! w8!",
3172
3155
  alt: "Vue logo"
3173
3156
  })
3174
3157
  ])
3175
3158
  ], -1));
3176
- function Fl(t, e) {
3177
- return p(), h("div", Bl, [
3178
- Zl,
3159
+ function Bs(t, e) {
3160
+ return p(), h("div", Us, [
3161
+ zs,
3179
3162
  et(t.$slots, "default", {}, void 0, !0)
3180
3163
  ]);
3181
3164
  }
3182
- const Gl = /* @__PURE__ */ ye(Ul, [["render", Fl], ["__scopeId", "data-v-b8018f07"]]), Kl = {
3165
+ const Zs = /* @__PURE__ */ be(Os, [["render", Bs], ["__scopeId", "data-v-b8018f07"]]), Fs = {
3183
3166
  "h-full": "",
3184
3167
  "w-full": ""
3185
- }, Wl = { key: 0 }, ia = /* @__PURE__ */ B({
3168
+ }, Gs = { key: 0 }, sa = /* @__PURE__ */ B({
3186
3169
  __name: "index",
3187
3170
  props: {
3188
3171
  id: {}
3189
3172
  },
3190
3173
  emits: ["loadError"],
3191
3174
  setup(t, { emit: e }) {
3192
- const n = t, o = e, l = Kt(), s = I(!1), u = I(null);
3193
- provide("pluginSettings", u);
3194
- const c = D(() => {
3175
+ const n = t, o = e, s = Wt(), l = I(!1), i = I(null);
3176
+ _e("pluginSettings", i);
3177
+ const u = E(() => {
3195
3178
  var a;
3196
3179
  return [
3197
3180
  {
3198
3181
  path: "/state",
3199
3182
  name: "State",
3200
- component: jl,
3183
+ component: Hs,
3201
3184
  icon: "i-carbon-tree-view-alt"
3202
3185
  },
3203
- ((a = l.value.timelineLayerIds) == null ? void 0 : a.length) && {
3186
+ ((a = s.value.timelineLayerIds) == null ? void 0 : a.length) && {
3204
3187
  path: "/timeline",
3205
3188
  name: "Timeline",
3206
- component: Ol,
3189
+ component: Ls,
3207
3190
  icon: "i-mdi:timeline-clock-outline"
3208
3191
  },
3209
3192
  {
3210
3193
  path: "/about",
3211
3194
  name: "About",
3212
- component: Il
3195
+ component: $s
3213
3196
  },
3214
- u.value && {
3197
+ i.value && {
3215
3198
  path: "/settings",
3216
3199
  name: "Settings",
3217
- component: Tl,
3200
+ component: Is,
3218
3201
  icon: "i-mdi:cog-outline"
3219
3202
  }
3220
3203
  ].filter(Boolean);
3221
- }), { VirtualRouterView: d, restoreRouter: C } = it(c, {
3204
+ }), { VirtualRouterView: d, restoreRouter: C } = it(u, {
3222
3205
  defaultRoutePath: "/state"
3223
3206
  });
3224
3207
  function v() {
3225
- s.value = !0, Re(() => {
3226
- R.value.getInspectorInfo(n.id).then((a) => {
3208
+ l.value = !0, Re(() => {
3209
+ A.value.getInspectorInfo(n.id).then((a) => {
3227
3210
  if (!a) {
3228
3211
  o("loadError");
3229
3212
  return;
@@ -3235,9 +3218,9 @@ const Gl = /* @__PURE__ */ ye(Ul, [["render", Fl], ["__scopeId", "data-v-b8018f0
3235
3218
  logo: a == null ? void 0 : a.logo,
3236
3219
  timelineLayerIds: a == null ? void 0 : a.timelineLayers.map((m) => m.id)
3237
3220
  };
3238
- l.value = f, C(), s.value = !1;
3239
- }), R.value.getPluginSettings(n.id).then((a) => {
3240
- a.options ? u.value = a : u.value = null;
3221
+ s.value = f, C(), l.value = !1;
3222
+ }), A.value.getPluginSettings(n.id).then((a) => {
3223
+ a.options ? i.value = a : i.value = null;
3241
3224
  });
3242
3225
  });
3243
3226
  }
@@ -3245,43 +3228,43 @@ const Gl = /* @__PURE__ */ ye(Ul, [["render", Fl], ["__scopeId", "data-v-b8018f0
3245
3228
  v();
3246
3229
  }, {
3247
3230
  immediate: !0
3248
- }), xe(() => {
3249
- R.value.unhighlight();
3250
- }), (a, f) => (p(), h("div", Kl, [
3251
- s.value ? (p(), h("div", Wl, [
3252
- x(Gl)
3253
- ])) : (p(), z(r(d), { key: 1 }))
3231
+ }), ye(() => {
3232
+ A.value.unhighlight();
3233
+ }), (a, f) => (p(), h("div", Fs, [
3234
+ l.value ? (p(), h("div", Gs, [
3235
+ x(Zs)
3236
+ ])) : (p(), z(c(d), { key: 1 }))
3254
3237
  ]));
3255
3238
  }
3256
3239
  });
3257
- function ra() {
3240
+ function aa() {
3258
3241
  const t = I([]), e = I([]);
3259
- function n(l) {
3260
- e.value = l, l.length < t.value.length && (t.value = []), e.value.forEach((s) => {
3261
- o(s);
3242
+ function n(s) {
3243
+ e.value = s, s.length < t.value.length && (t.value = []), e.value.forEach((l) => {
3244
+ o(l);
3262
3245
  });
3263
3246
  }
3264
3247
  Re(() => {
3265
- R.value.getCustomInspector().then((l) => {
3266
- e.value = l, e.value.forEach((s) => {
3267
- o(s);
3248
+ A.value.getCustomInspector().then((s) => {
3249
+ e.value = s, e.value.forEach((l) => {
3250
+ o(l);
3268
3251
  });
3269
- }), R.functions.on(W.INSPECTOR_UPDATED, n);
3252
+ }), A.functions.on(W.INSPECTOR_UPDATED, n);
3270
3253
  });
3271
- function o(l) {
3272
- t.value.some((s) => s.id === l.id) || t.value.push(l);
3254
+ function o(s) {
3255
+ t.value.some((l) => l.id === s.id) || t.value.push(s);
3273
3256
  }
3274
- return xe(() => {
3275
- R.functions.off(W.INSPECTOR_UPDATED, n);
3257
+ return ye(() => {
3258
+ A.functions.off(W.INSPECTOR_UPDATED, n);
3276
3259
  }), {
3277
3260
  registeredInspector: t,
3278
3261
  register: o
3279
3262
  };
3280
3263
  }
3281
3264
  export {
3282
- la as Components,
3283
- ia as CustomInspector,
3284
- sa as Pinia,
3285
- aa as Router,
3286
- ra as useCustomInspector
3265
+ oa as Components,
3266
+ sa as CustomInspector,
3267
+ na as Pinia,
3268
+ la as Router,
3269
+ aa as useCustomInspector
3287
3270
  };