@vue/devtools-applet 7.4.5 → 7.4.6

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,5 +1,5 @@
1
1
  import { onRpcConnected as Re, rpc as D, DevToolsMessagingEvents as W, useDevToolsState as Jt } from "@vue/devtools-core";
2
- import { ref as T, onUnmounted as ye, isRef as Ge, unref as d, watch as X, onMounted as St, nextTick as ze, readonly as Yt, getCurrentScope as Xt, onScopeDispose as Qt, getCurrentInstance as Qe, computed as V, reactive as ft, shallowRef as vt, toRaw as Tt, defineComponent as B, withDirectives as J, openBlock as p, createElementBlock as m, normalizeStyle as $e, createTextVNode as ne, toDisplayString as le, mergeModels as Be, useModel as et, Fragment as te, renderList as ae, normalizeClass as ie, createBlock as z, provide as ge, inject as ve, mergeProps as ke, withModifiers as fe, withCtx as M, createVNode as x, createCommentVNode as U, createElementVNode as r, watchEffect as tt, renderSlot as nt, toValue as mt, h as en, vShow as tn, createStaticVNode as nn } from "vue";
2
+ import { ref as T, onUnmounted as ye, isRef as Ge, unref as d, watch as X, onMounted as St, nextTick as ze, readonly as Yt, getCurrentScope as Xt, onScopeDispose as Qt, getCurrentInstance as Qe, computed as V, reactive as ft, shallowRef as vt, toRaw as Tt, defineComponent as B, withDirectives as J, openBlock as p, createElementBlock as m, normalizeStyle as Ie, createTextVNode as ne, toDisplayString as le, mergeModels as Be, useModel as et, Fragment as te, renderList as ae, normalizeClass as ie, createBlock as z, provide as ge, inject as ve, mergeProps as ke, withModifiers as fe, withCtx as M, createVNode as x, createCommentVNode as U, createElementVNode as r, watchEffect as tt, renderSlot as nt, toValue as mt, h as en, vShow as tn, createStaticVNode as nn } from "vue";
3
3
  import { isPlainObject as on, UNDEFINED as ln, NAN as sn, INFINITY as an, NEGATIVE_INFINITY as rn, getRaw as Et, toSubmit as Ue, formatInspectorStateValue as un, getInspectorStateValueType as ht, toEdit as cn, parse as Y } from "@vue/devtools-kit";
4
4
  import { isArray as gt, isObject as Ct, sortByKey as Vt, isInSeparateWindow as dn, isInChromePanel as _t } from "@vue/devtools-shared";
5
5
  import { vTooltip as Q, VueButton as de, VueIcon as oe, VueDropdown as pn, VueDropdownButton as xt, VueInput as Ze, VueCodeBlock as fn, VueDialog as vn, VueSwitch as mn, VueSelect as hn, VueIcIcon as yt } from "@vue/devtools-ui";
@@ -7,7 +7,7 @@ import { flatten as gn, groupBy as Cn } from "lodash-es";
7
7
  import { Splitpanes as Ae, Pane as ue } from "splitpanes";
8
8
  import { debounce as _n } from "perfect-debounce";
9
9
  import { RecycleScroller as xn } from "vue-virtual-scroller";
10
- function ql() {
10
+ function Wl() {
11
11
  const n = T([]), e = T([]);
12
12
  function o(s) {
13
13
  e.value = s, s.length < n.value.length && (n.value = []), e.value.forEach((l) => {
@@ -49,8 +49,8 @@ function kn(n, e) {
49
49
  }
50
50
  return o;
51
51
  }
52
- const $n = (n) => n();
53
- function In(n, e = {}) {
52
+ const In = (n) => n();
53
+ function $n(n, e = {}) {
54
54
  let o, t, s = Fe;
55
55
  const l = (u) => {
56
56
  clearTimeout(u), s(), s = Fe;
@@ -86,7 +86,7 @@ function Tn(n) {
86
86
  }
87
87
  function En(n, e, o = {}) {
88
88
  const {
89
- eventFilter: t = $n,
89
+ eventFilter: t = In,
90
90
  ...s
91
91
  } = o;
92
92
  return X(
@@ -241,16 +241,16 @@ function An(n, e, o = {}) {
241
241
  e,
242
242
  {
243
243
  ...l,
244
- eventFilter: In(t, { maxWait: s })
244
+ eventFilter: $n(t, { maxWait: s })
245
245
  }
246
246
  );
247
247
  }
248
+ const Ke = lt ? window : void 0, Rt = lt ? window.navigator : void 0;
248
249
  function xe(n) {
249
250
  var e;
250
251
  const o = ee(n);
251
252
  return (e = o == null ? void 0 : o.$el) != null ? e : o;
252
253
  }
253
- const Ke = lt ? window : void 0, Rt = lt ? window.navigator : void 0;
254
254
  function he(...n) {
255
255
  let e, o, t, s;
256
256
  if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([o, t, s] = n, e = Ke) : [e, o, t, s] = n, !e)
@@ -543,9 +543,9 @@ function Dt(n, e, o, t) {
543
543
  }
544
544
  function Pt(n, e, o, t, s) {
545
545
  let l = !1, i;
546
- return e === "_custom" && (e = o.display, o = o.value), (i = Zn(o)) && (o = i), e && $t(e, n) ? (l = !0, t.set(o, !0)) : t.has(o) ? l = t.get(o) : Array.isArray(o) ? (t.set(o, null), l = Fn(o, n, t, s), t.set(o, l)) : on(o) ? (t.set(o, null), l = Dt(o, n, t, s), t.set(o, l)) : $t(o, n) && (l = !0, t.set(o, !0)), l;
546
+ return e === "_custom" && (e = o.display, o = o.value), (i = Zn(o)) && (o = i), e && It(e, n) ? (l = !0, t.set(o, !0)) : t.has(o) ? l = t.get(o) : Array.isArray(o) ? (t.set(o, null), l = Fn(o, n, t, s), t.set(o, l)) : on(o) ? (t.set(o, null), l = Dt(o, n, t, s), t.set(o, l)) : It(o, n) && (l = !0, t.set(o, !0)), l;
547
547
  }
548
- function $t(n, e) {
548
+ function It(n, e) {
549
549
  return `${n}`.toLowerCase().includes(e);
550
550
  }
551
551
  function Zn(n) {
@@ -566,7 +566,7 @@ const Mt = /* @__PURE__ */ B({
566
566
  },
567
567
  setup(n) {
568
568
  return (e, o) => J((p(), m("span", {
569
- style: $e({
569
+ style: Ie({
570
570
  color: `#${d(kt)(e.tag.textColor)}`,
571
571
  backgroundColor: `#${d(kt)(e.tag.backgroundColor)}`
572
572
  }),
@@ -958,7 +958,7 @@ const eo = { class: "flex pl5px" }, to = { class: "w160px py5px" }, no = /* @__P
958
958
  "text-ellipsis": "",
959
959
  "whitespace-nowrap": "",
960
960
  "state-key": ""
961
- }, It = 30, uo = /* @__PURE__ */ B({
961
+ }, $t = 30, uo = /* @__PURE__ */ B({
962
962
  __name: "StateFieldViewer",
963
963
  props: {
964
964
  data: {},
@@ -967,7 +967,7 @@ const eo = { class: "flex pl5px" }, to = { class: "w160px py5px" }, no = /* @__P
967
967
  expandedStateId: {}
968
968
  },
969
969
  setup(n) {
970
- const e = n, o = T(It), t = V(() => un(e.data.value, !1, {
970
+ const e = n, o = T($t), t = V(() => un(e.data.value, !1, {
971
971
  customClass: {
972
972
  string: "max-w-120 truncate"
973
973
  }
@@ -979,7 +979,7 @@ const eo = { class: "flex pl5px" }, to = { class: "w160px py5px" }, no = /* @__P
979
979
  return gt(_) ? _.length : Ct(_) ? Object.keys(_).length : 0;
980
980
  }), v = V(() => e.data.path || [e.data.key]), a = V(() => v.value[v.value.length - 1]), f = V(() => {
981
981
  var F, se, re, ce, Ce, _e, He;
982
- const _ = ["Reactive"], N = ((se = (F = e.data) == null ? void 0 : F._custom) == null ? void 0 : se.stateTypeName) || ((re = e.data) == null ? void 0 : re.stateTypeName);
982
+ const _ = ["Reactive"], N = ((se = (F = e.data.value) == null ? void 0 : F._custom) == null ? void 0 : se.stateTypeName) || ((re = e.data) == null ? void 0 : re.stateTypeName);
983
983
  if (_.includes(N))
984
984
  return N;
985
985
  if ((Ce = (ce = e.data.value) == null ? void 0 : ce.fields) != null && Ce.abstract)
@@ -1033,7 +1033,7 @@ const eo = { class: "flex pl5px" }, to = { class: "w160px py5px" }, no = /* @__P
1033
1033
  const N = `${e.depth}-${e.index}`;
1034
1034
  i.value.includes(N) || u(N), Z(_, l.value.value);
1035
1035
  }
1036
- async function $() {
1036
+ async function I() {
1037
1037
  const _ = e.data;
1038
1038
  await D.value.editInspectorState({
1039
1039
  path: [...v.value, E.value.key],
@@ -1052,7 +1052,7 @@ const eo = { class: "flex pl5px" }, to = { class: "w160px py5px" }, no = /* @__P
1052
1052
  ref_key: "containerRef",
1053
1053
  ref: h,
1054
1054
  class: ie(["font-state-field flex items-center text-3.5", [b.value && "cursor-pointer hover:bg-active"]]),
1055
- style: $e({ paddingLeft: `${_.depth * 15 + 4}px` }),
1055
+ style: Ie({ paddingLeft: `${_.depth * 15 + 4}px` }),
1056
1056
  onClick: N[1] || (N[1] = (F) => d(u)(`${_.depth}-${_.index}`))
1057
1057
  }, [
1058
1058
  b.value ? (p(), z(at, {
@@ -1098,7 +1098,7 @@ const eo = { class: "flex pl5px" }, to = { class: "w160px py5px" }, no = /* @__P
1098
1098
  flat: "",
1099
1099
  size: "mini",
1100
1100
  class: "ml-4",
1101
- onClick: N[2] || (N[2] = (F) => o.value += It)
1101
+ onClick: N[2] || (N[2] = (F) => o.value += $t)
1102
1102
  }, {
1103
1103
  icon: M(() => [
1104
1104
  x(d(oe), { icon: "i-material-symbols-more-horiz" })
@@ -1109,7 +1109,7 @@ const eo = { class: "flex pl5px" }, to = { class: "w160px py5px" }, no = /* @__P
1109
1109
  ]) : U("", !0),
1110
1110
  d(E).enable ? (p(), m("div", {
1111
1111
  key: 1,
1112
- style: $e({ paddingLeft: `${(_.depth + 1) * 15 + 4}px` })
1112
+ style: Ie({ paddingLeft: `${(_.depth + 1) * 15 + 4}px` })
1113
1113
  }, [
1114
1114
  r("span", ro, [
1115
1115
  x(Ye, {
@@ -1124,7 +1124,7 @@ const eo = { class: "flex pl5px" }, to = { class: "w160px py5px" }, no = /* @__P
1124
1124
  "onUpdate:modelValue": N[4] || (N[4] = (F) => d(E).value = F),
1125
1125
  "auto-focus": !1,
1126
1126
  onCancel: d(P),
1127
- onSubmit: $
1127
+ onSubmit: I
1128
1128
  }, null, 8, ["modelValue", "onCancel"])
1129
1129
  ], 4)) : U("", !0)
1130
1130
  ])) : U("", !0)
@@ -1135,7 +1135,7 @@ const eo = { class: "flex pl5px" }, to = { class: "w160px py5px" }, no = /* @__P
1135
1135
  for (const [t, s] of e)
1136
1136
  o[t] = s;
1137
1137
  return o;
1138
- }, co = /* @__PURE__ */ be(uo, [["__scopeId", "data-v-593842a0"]]), Ot = /* @__PURE__ */ B({
1138
+ }, co = /* @__PURE__ */ be(uo, [["__scopeId", "data-v-f3246652"]]), Ot = /* @__PURE__ */ B({
1139
1139
  __name: "ChildStateViewer",
1140
1140
  props: {
1141
1141
  data: {},
@@ -1268,7 +1268,7 @@ const Co = ["onClick", "onDblclick"], _o = {
1268
1268
  }, [
1269
1269
  r("div", {
1270
1270
  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 === c.id }]),
1271
- style: $e({ paddingLeft: `${15 * i.depth + 4}px` }),
1271
+ style: Ie({ paddingLeft: `${15 * i.depth + 4}px` }),
1272
1272
  onClick: (f) => l(c.id),
1273
1273
  onDblclick: (f) => d(t)(c.id)
1274
1274
  }, [
@@ -1300,7 +1300,7 @@ const Co = ["onClick", "onDblclick"], _o = {
1300
1300
  ], 2);
1301
1301
  }), 128));
1302
1302
  }
1303
- }), $o = { 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]" }, Io = { class: "flex-1 overflow-scroll text-3.5" }, So = /* @__PURE__ */ B({
1303
+ }), Io = { 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]" }, $o = { class: "flex-1 overflow-scroll text-3.5" }, So = /* @__PURE__ */ B({
1304
1304
  __name: "RenderCode",
1305
1305
  props: {
1306
1306
  code: {}
@@ -1311,7 +1311,7 @@ const Co = ["onClick", "onDblclick"], _o = {
1311
1311
  function t() {
1312
1312
  o("close");
1313
1313
  }
1314
- return (s, l) => (p(), m("div", $o, [
1314
+ return (s, l) => (p(), m("div", Io, [
1315
1315
  r("div", { class: "h-12 w-full flex items-center justify-between p-2" }, [
1316
1316
  l[0] || (l[0] = r("span", { class: "font-500" }, "Render Code", -1)),
1317
1317
  r("i", {
@@ -1319,7 +1319,7 @@ const Co = ["onClick", "onDblclick"], _o = {
1319
1319
  onClick: t
1320
1320
  })
1321
1321
  ]),
1322
- r("div", Io, [
1322
+ r("div", $o, [
1323
1323
  x(d(fn), {
1324
1324
  code: s.code,
1325
1325
  lang: "javascript"
@@ -1351,50 +1351,50 @@ const Co = ["onClick", "onDblclick"], _o = {
1351
1351
  emits: ["openInEditor", "onInspectComponentStart", "onInspectComponentEnd"],
1352
1352
  setup(n, { emit: e }) {
1353
1353
  const o = e, t = T(), s = T(!1), { width: l } = Ln(t), i = V(() => s.value ? l.value < 700 : !1), u = T(""), c = T(""), [C, v] = Rn(!0), a = T(!1), f = T(!1), g = T(""), b = T(!1);
1354
- function h(I, y = [], L = []) {
1354
+ function h($, y = [], L = []) {
1355
1355
  var G;
1356
- return y.push(I.id), ((G = I.children) == null ? void 0 : G.length) === 0 && L.push([...y]), Array.isArray(I.children) && I.children.forEach((q) => {
1356
+ return y.push($.id), ((G = $.children) == null ? void 0 : G.length) === 0 && L.push([...y]), Array.isArray($.children) && $.children.forEach((q) => {
1357
1357
  h(q, y, L);
1358
1358
  }), y.pop(), L;
1359
1359
  }
1360
- function S(I) {
1360
+ function S($) {
1361
1361
  const y = [], L = (G) => {
1362
1362
  G == null || G.forEach((q) => {
1363
1363
  var we;
1364
1364
  y.push(q), (we = q.children) != null && we.length && L(q.children);
1365
1365
  });
1366
1366
  };
1367
- return L(I), y;
1367
+ return L($), y;
1368
1368
  }
1369
- function j(I, y) {
1369
+ function j($, y) {
1370
1370
  const L = [];
1371
- return I == null || I.forEach((G) => {
1371
+ return $ == null || $.forEach((G) => {
1372
1372
  L.push(...G.slice(0, y + 1));
1373
1373
  }), [...new Set(L)];
1374
1374
  }
1375
- function O(I, y) {
1375
+ function O($, y) {
1376
1376
  const L = [];
1377
- return I.forEach((G) => {
1377
+ return $.forEach((G) => {
1378
1378
  const q = G.indexOf(y);
1379
1379
  q !== -1 && L.push(...G.slice(0, q + 1));
1380
1380
  }), [...new Set(L)];
1381
1381
  }
1382
1382
  const A = T([]), k = V(() => {
1383
- var I, y;
1384
- return (I = A.value) != null && I.length ? h((y = A.value) == null ? void 0 : y[0]) : [];
1385
- }), R = V(() => S(A.value)), H = V(() => R.value.map((I) => I.id)), K = T({}), Z = T(""), E = V(() => {
1386
- const I = [], y = (L) => {
1383
+ var $, y;
1384
+ return ($ = A.value) != null && $.length ? h((y = A.value) == null ? void 0 : y[0]) : [];
1385
+ }), R = V(() => S(A.value)), H = V(() => R.value.map(($) => $.id)), K = T({}), Z = T(""), E = V(() => {
1386
+ const $ = [], y = (L) => {
1387
1387
  L.forEach((G) => {
1388
1388
  var q;
1389
- G.id === Z.value && I.push(G), (q = G.children) != null && q.length && y(G.children);
1389
+ G.id === Z.value && $.push(G), (q = G.children) != null && q.length && y(G.children);
1390
1390
  });
1391
1391
  };
1392
- return y(A.value), I[0];
1392
+ return y(A.value), $[0];
1393
1393
  }), P = V(() => {
1394
- var I;
1395
- return ((I = E.value) == null ? void 0 : I.file) ?? "";
1394
+ var $;
1395
+ return (($ = E.value) == null ? void 0 : $.file) ?? "";
1396
1396
  }), w = V(() => {
1397
- const I = {};
1397
+ const $ = {};
1398
1398
  for (const y in K.value) {
1399
1399
  const G = K.value[y].filter((we) => {
1400
1400
  try {
@@ -1407,61 +1407,61 @@ const Co = ["onClick", "onDblclick"], _o = {
1407
1407
  };
1408
1408
  }
1409
1409
  }), q = gn(Object.values(Cn(Vt(G), "stateType")));
1410
- G.length && (I[y] = q);
1410
+ G.length && ($[y] = q);
1411
1411
  }
1412
- return I;
1413
- }), { expanded: $ } = me(), { expanded: _ } = me("component-state");
1412
+ return $;
1413
+ }), { expanded: I } = me(), { expanded: _ } = me("component-state");
1414
1414
  ho();
1415
- async function N(I = "") {
1416
- return D.value.getInspectorTree({ inspectorId: Ve, filter: I }).then((y) => {
1415
+ async function N($ = "") {
1416
+ return D.value.getInspectorTree({ inspectorId: Ve, filter: $ }).then((y) => {
1417
1417
  var G, q;
1418
1418
  const L = Y(y);
1419
- A.value = L, Z.value = (q = (G = A.value) == null ? void 0 : G[0]) == null ? void 0 : q.id, $.value = j(k.value, 1), a.value = !0;
1419
+ A.value = L, Z.value = (q = (G = A.value) == null ? void 0 : G[0]) == null ? void 0 : q.id, I.value = j(k.value, 1), a.value = !0;
1420
1420
  });
1421
1421
  }
1422
- function F(I) {
1423
- if (!I || !(I != null && I.state))
1422
+ function F($) {
1423
+ if (!$ || !($ != null && $.state))
1424
1424
  return {};
1425
1425
  const y = {};
1426
- return I.state.forEach((L) => {
1426
+ return $.state.forEach((L) => {
1427
1427
  y[L.type] || (y[L.type] = []), y[L.type].push(L);
1428
1428
  }), y;
1429
1429
  }
1430
- function se(I) {
1431
- D.value.getInspectorState({ inspectorId: Ve, nodeId: I }).then((y) => {
1430
+ function se($) {
1431
+ D.value.getInspectorState({ inspectorId: Ve, nodeId: $ }).then((y) => {
1432
1432
  const L = Y(y);
1433
1433
  L && (K.value = F(L), _.value = Array.from({ length: Object.keys(K.value).length }, (G, q) => `${q}`));
1434
1434
  });
1435
1435
  }
1436
- X(Z, (I) => {
1437
- se(I), b.value && je();
1436
+ X(Z, ($) => {
1437
+ se($), b.value && je();
1438
1438
  });
1439
- function re(I) {
1440
- const y = Y(I);
1439
+ function re($) {
1440
+ const y = Y($);
1441
1441
  y.inspectorId !== Ve || y.nodeId !== Z.value || (K.value = F({ state: y.state.state }));
1442
1442
  }
1443
1443
  D.functions.on(W.INSPECTOR_STATE_UPDATED, re), N();
1444
- function ce(I) {
1445
- const y = I.trim().toLowerCase();
1444
+ function ce($) {
1445
+ const y = $.trim().toLowerCase();
1446
1446
  v(), N(y).then(() => {
1447
1447
  v();
1448
1448
  });
1449
1449
  }
1450
- An(u, (I) => {
1451
- ce(I);
1450
+ An(u, ($) => {
1451
+ ce($);
1452
1452
  }, { debounce: 300 });
1453
- function Ce(I) {
1453
+ function Ce($) {
1454
1454
  var L, G;
1455
- const y = Y(I);
1456
- y.inspectorId === Ve && (u.value ? ce(u.value) : A.value = y.rootNodes, H.value.includes(Z.value) || (Z.value = (G = (L = A.value) == null ? void 0 : L[0]) == null ? void 0 : G.id, $.value = j(k.value, 1)));
1455
+ const y = Y($);
1456
+ y.inspectorId === Ve && (u.value ? ce(u.value) : A.value = y.rootNodes, H.value.includes(Z.value) || (Z.value = (G = (L = A.value) == null ? void 0 : L[0]) == null ? void 0 : G.id, I.value = j(k.value, 1)));
1457
1457
  }
1458
1458
  D.functions.on(W.INSPECTOR_TREE_UPDATED, Ce), ye(() => {
1459
1459
  D.functions.off(W.INSPECTOR_STATE_UPDATED, re), D.functions.off(W.INSPECTOR_TREE_UPDATED, Ce);
1460
1460
  });
1461
1461
  function _e() {
1462
- f.value = !0, o("onInspectComponentStart"), D.value.inspectComponentInspector().then((I) => {
1463
- const y = JSON.parse(I);
1464
- Z.value = y.id, $.value.includes(y.id) || $.value.push(y.id), $.value = [.../* @__PURE__ */ new Set([...$.value, ...O(k.value, y.id)])], Ft();
1462
+ f.value = !0, o("onInspectComponentStart"), D.value.inspectComponentInspector().then(($) => {
1463
+ const y = JSON.parse($);
1464
+ Z.value = y.id, I.value.includes(y.id) || I.value.push(y.id), I.value = [.../* @__PURE__ */ new Set([...I.value, ...O(k.value, y.id)])], Ft();
1465
1465
  }).finally(() => {
1466
1466
  f.value = !1, o("onInspectComponentEnd");
1467
1467
  });
@@ -1478,8 +1478,8 @@ const Co = ["onClick", "onDblclick"], _o = {
1478
1478
  });
1479
1479
  }
1480
1480
  function je() {
1481
- D.value.getComponentRenderCode(Z.value).then((I) => {
1482
- g.value = I, b.value = !0;
1481
+ D.value.getComponentRenderCode(Z.value).then(($) => {
1482
+ g.value = $, b.value = !0;
1483
1483
  });
1484
1484
  }
1485
1485
  function We() {
@@ -1489,29 +1489,29 @@ const Co = ["onClick", "onDblclick"], _o = {
1489
1489
  function Ft() {
1490
1490
  setTimeout(() => {
1491
1491
  var y;
1492
- const I = (y = Ee.value) == null ? void 0 : y.querySelector(".active");
1493
- I == null || I.scrollIntoView({ behavior: "smooth", block: "center" });
1492
+ const $ = (y = Ee.value) == null ? void 0 : y.querySelector(".active");
1493
+ $ == null || $.scrollIntoView({ behavior: "smooth", block: "center" });
1494
1494
  }, 300);
1495
1495
  }
1496
1496
  function Gt() {
1497
1497
  g.value = "", b.value = !1;
1498
1498
  }
1499
- const qe = Jt(), pt = V(() => qe.appRecords.value.map((I) => ({
1500
- label: I.name + (I.version ? ` (${I.version})` : ""),
1501
- value: I.id
1502
- }))), Kt = V(() => pt.value.map((I) => ({
1503
- label: I.label,
1504
- id: I.value
1499
+ const qe = Jt(), pt = V(() => qe.appRecords.value.map(($) => ({
1500
+ label: $.name + ($.version ? ` (${$.version})` : ""),
1501
+ value: $.id
1502
+ }))), Kt = V(() => pt.value.map(($) => ({
1503
+ label: $.label,
1504
+ id: $.value
1505
1505
  }))), Je = T(qe.activeAppRecordId.value);
1506
1506
  tt(() => {
1507
1507
  Je.value = qe.activeAppRecordId.value;
1508
1508
  });
1509
- function Wt(I) {
1510
- D.value.toggleApp(I).then(() => {
1509
+ function Wt($) {
1510
+ D.value.toggleApp($).then(() => {
1511
1511
  Z.value = "", N();
1512
1512
  });
1513
1513
  }
1514
- return (I, y) => (p(), m("div", To, [
1514
+ return ($, y) => (p(), m("div", To, [
1515
1515
  x(d(Ae), {
1516
1516
  ref_key: "splitpanesRef",
1517
1517
  ref: t,
@@ -1726,7 +1726,7 @@ const Co = ["onClick", "onDblclick"], _o = {
1726
1726
  }, 8, ["modelValue"])) : U("", !0)
1727
1727
  ]));
1728
1728
  }
1729
- }), Jl = /* @__PURE__ */ be(zo, [["__scopeId", "data-v-402ad9b2"]]), Bo = {}, Zo = { class: "h-screen w-screen $ui-fcc flex-col" };
1729
+ }), ql = /* @__PURE__ */ be(zo, [["__scopeId", "data-v-38589395"]]), Bo = {}, Zo = { class: "h-screen w-screen $ui-fcc flex-col" };
1730
1730
  function Fo(n, e) {
1731
1731
  return p(), m("div", Zo, [
1732
1732
  e[0] || (e[0] = r("div", { class: "outer" }, [
@@ -1741,7 +1741,7 @@ function Fo(n, e) {
1741
1741
  ]);
1742
1742
  }
1743
1743
  const Go = /* @__PURE__ */ be(Bo, [["render", Fo], ["__scopeId", "data-v-b8018f07"]]), Ut = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
1744
- function Ie() {
1744
+ function $e() {
1745
1745
  return ve(Ut);
1746
1746
  }
1747
1747
  function zt() {
@@ -1839,7 +1839,7 @@ const Yo = /* @__PURE__ */ be(Wo, [["render", Jo]]), Xo = {
1839
1839
  }, c1 = ["href"], d1 = /* @__PURE__ */ B({
1840
1840
  __name: "About",
1841
1841
  setup(n) {
1842
- const e = Me(), o = Ie(), t = T(!1), s = T(!1);
1842
+ const e = Me(), o = $e(), t = T(!1), s = T(!1);
1843
1843
  function l() {
1844
1844
  t.value = !0;
1845
1845
  }
@@ -2026,7 +2026,7 @@ const Yo = /* @__PURE__ */ be(Wo, [["render", Jo]]), Xo = {
2026
2026
  }), b1 = { class: "h-full flex flex-col" }, w1 = /* @__PURE__ */ B({
2027
2027
  __name: "Settings",
2028
2028
  setup(n) {
2029
- const e = ve("pluginSettings"), o = Ie(), t = V(() => e.value.options), s = V(() => e.value.values);
2029
+ const e = ve("pluginSettings"), o = $e(), t = V(() => e.value.options), s = V(() => e.value.values);
2030
2030
  function l(i) {
2031
2031
  e.value = i;
2032
2032
  }
@@ -2040,23 +2040,23 @@ const Yo = /* @__PURE__ */ be(Wo, [["render", Jo]]), Xo = {
2040
2040
  _: 1
2041
2041
  }, 8, ["doc-link"]),
2042
2042
  x(Zt, {
2043
- "plugin-id": d(o).id,
2043
+ "plugin-id": d(o).pluginId,
2044
2044
  options: t.value,
2045
2045
  values: s.value,
2046
2046
  onUpdate: l
2047
2047
  }, null, 8, ["plugin-id", "options", "values"])
2048
2048
  ]));
2049
2049
  }
2050
- }), k1 = {}, $1 = { class: "h-full flex flex-col items-center justify-center op50" };
2051
- function I1(n, e) {
2052
- return p(), m("div", $1, [
2050
+ }), k1 = {}, I1 = { class: "h-full flex flex-col items-center justify-center op50" };
2051
+ function $1(n, e) {
2052
+ return p(), m("div", I1, [
2053
2053
  e[0] || (e[0] = r("i", { class: "i-lets-icons:blank-light" }, null, -1)),
2054
2054
  r("span", null, [
2055
2055
  nt(n.$slots, "default")
2056
2056
  ])
2057
2057
  ]);
2058
2058
  }
2059
- const Ne = /* @__PURE__ */ be(k1, [["render", I1]]), S1 = { class: "h-full flex flex-col" }, T1 = { class: "h-full flex flex-col p2" }, E1 = {
2059
+ const Ne = /* @__PURE__ */ be(k1, [["render", $1]]), S1 = { class: "h-full flex flex-col" }, T1 = { class: "h-full flex flex-col p2" }, E1 = {
2060
2060
  key: 0,
2061
2061
  class: "mb-1 flex justify-end pb-1",
2062
2062
  border: "b dashed base"
@@ -2067,30 +2067,30 @@ const Ne = /* @__PURE__ */ be(k1, [["render", I1]]), S1 = { class: "h-full flex
2067
2067
  }, P1 = { class: "flex items-center gap-2 px-1" }, M1 = ["onClick"], H1 = /* @__PURE__ */ B({
2068
2068
  __name: "Index",
2069
2069
  setup(n) {
2070
- const { expanded: e } = me(), { expanded: o } = me("custom-inspector-state"), t = Ie(), s = V(() => t.value.id), l = T([]), i = T([]), u = T([]), c = V(() => {
2071
- var w, $;
2072
- return (w = u.value) != null && w.length ? b(($ = u.value) == null ? void 0 : $[0]) : [];
2070
+ const { expanded: e } = me(), { expanded: o } = me("custom-inspector-state"), t = $e(), s = V(() => t.value.id), l = T([]), i = T([]), u = T([]), c = V(() => {
2071
+ var w, I;
2072
+ return (w = u.value) != null && w.length ? b((I = u.value) == null ? void 0 : I[0]) : [];
2073
2073
  }), C = V(() => S(u.value)), v = V(() => C.value.map((w) => w.id)), a = T(""), f = T({}), g = V(() => !Object.keys(f.value).length);
2074
- function b(w, $ = [], _ = []) {
2074
+ function b(w, I = [], _ = []) {
2075
2075
  var N;
2076
- return $.push(w.id), ((N = w.children) == null ? void 0 : N.length) === 0 && _.push([...$]), Array.isArray(w.children) && w.children.forEach((F) => {
2077
- b(F, $, _);
2078
- }), $.pop(), _;
2076
+ return I.push(w.id), ((N = w.children) == null ? void 0 : N.length) === 0 && _.push([...I]), Array.isArray(w.children) && w.children.forEach((F) => {
2077
+ b(F, I, _);
2078
+ }), I.pop(), _;
2079
2079
  }
2080
- function h(w, $) {
2080
+ function h(w, I) {
2081
2081
  const _ = [];
2082
2082
  return w == null || w.forEach((N) => {
2083
- _.push(...N.slice(0, $ + 1));
2083
+ _.push(...N.slice(0, I + 1));
2084
2084
  }), [...new Set(_)];
2085
2085
  }
2086
2086
  function S(w) {
2087
- const $ = [], _ = (N) => {
2087
+ const I = [], _ = (N) => {
2088
2088
  N == null || N.forEach((F) => {
2089
2089
  var se;
2090
- $.push(F), (se = F.children) != null && se.length && _(F.children);
2090
+ I.push(F), (se = F.children) != null && se.length && _(F.children);
2091
2091
  });
2092
2092
  };
2093
- return _(w), $;
2093
+ return _(w), I;
2094
2094
  }
2095
2095
  function j() {
2096
2096
  D.value.getInspectorNodeActions(s.value).then((w) => {
@@ -2110,14 +2110,14 @@ const Ne = /* @__PURE__ */ be(k1, [["render", I1]]), S1 = { class: "h-full flex
2110
2110
  D.value.callInspectorAction(s.value, w);
2111
2111
  }
2112
2112
  function R(w) {
2113
- var $;
2113
+ var I;
2114
2114
  for (const _ in w)
2115
- ($ = w[_]) != null && $.length || delete w[_];
2115
+ (I = w[_]) != null && I.length || delete w[_];
2116
2116
  return w;
2117
2117
  }
2118
2118
  function H(w) {
2119
- D.value.getInspectorState({ inspectorId: s.value, nodeId: w }).then(($) => {
2120
- const _ = Y($);
2119
+ D.value.getInspectorState({ inspectorId: s.value, nodeId: w }).then((I) => {
2120
+ const _ = Y(I);
2121
2121
  _ && (f.value = R(_), o.value = Array.from({ length: Object.keys(f.value).length }, (N, F) => `${F}`));
2122
2122
  });
2123
2123
  }
@@ -2129,28 +2129,28 @@ const Ne = /* @__PURE__ */ be(k1, [["render", I1]]), S1 = { class: "h-full flex
2129
2129
  });
2130
2130
  const Z = () => {
2131
2131
  D.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((w) => {
2132
- const $ = Y(w);
2133
- u.value = $, !a.value && $.length && (a.value = $[0].id, e.value = h(c.value, 1), H($[0].id));
2132
+ const I = Y(w);
2133
+ u.value = I, !a.value && I.length && (a.value = I[0].id, e.value = h(c.value, 1), H(I[0].id));
2134
2134
  });
2135
2135
  };
2136
2136
  Nt(s).toBeTruthy().then(Z);
2137
2137
  function E(w) {
2138
2138
  var _, N;
2139
- const $ = Y(w);
2140
- !$.rootNodes.length || $.inspectorId !== s.value || (u.value = $.rootNodes, v.value.includes(a.value) || (a.value = (N = (_ = u.value) == null ? void 0 : _[0]) == null ? void 0 : N.id, e.value = h(c.value, 1)));
2139
+ const I = Y(w);
2140
+ !I.rootNodes.length || I.inspectorId !== s.value || (u.value = I.rootNodes, v.value.includes(a.value) || (a.value = (N = (_ = u.value) == null ? void 0 : _[0]) == null ? void 0 : N.id, e.value = h(c.value, 1)));
2141
2141
  }
2142
2142
  function P(w) {
2143
- const $ = Y(w);
2144
- if ($.inspectorId !== s.value || !$.state || $.nodeId !== a.value)
2143
+ const I = Y(w);
2144
+ if (I.inspectorId !== s.value || !I.state || I.nodeId !== a.value)
2145
2145
  return;
2146
- const { inspectorId: _, ...N } = $.state;
2146
+ const { inspectorId: _, ...N } = I.state;
2147
2147
  f.value = R(N);
2148
2148
  }
2149
2149
  return Re(() => {
2150
2150
  D.functions.on(W.INSPECTOR_TREE_UPDATED, E), D.functions.on(W.INSPECTOR_STATE_UPDATED, P);
2151
2151
  }), ye(() => {
2152
2152
  D.functions.off(W.INSPECTOR_TREE_UPDATED, E), D.functions.off(W.INSPECTOR_STATE_UPDATED, P);
2153
- }), (w, $) => (p(), m("div", S1, [
2153
+ }), (w, I) => (p(), m("div", S1, [
2154
2154
  x(Se, {
2155
2155
  "doc-link": d(t).homepage
2156
2156
  }, {
@@ -2200,7 +2200,7 @@ const Ne = /* @__PURE__ */ be(k1, [["render", I1]]), S1 = { class: "h-full flex
2200
2200
  r("div", R1, [
2201
2201
  x(Pe, {
2202
2202
  modelValue: a.value,
2203
- "onUpdate:modelValue": $[0] || ($[0] = (N) => a.value = N),
2203
+ "onUpdate:modelValue": I[0] || (I[0] = (N) => a.value = N),
2204
2204
  data: u.value
2205
2205
  }, null, 8, ["modelValue", "data"])
2206
2206
  ])
@@ -2246,7 +2246,7 @@ const Ne = /* @__PURE__ */ be(k1, [["render", I1]]), S1 = { class: "h-full flex
2246
2246
  "expanded-state-id": "custom-inspector-state",
2247
2247
  class: "no-scrollbar flex-1 select-none overflow-scroll"
2248
2248
  }, null, 8, ["data", "node-id", "inspector-id"])) : (p(), z(Ne, { key: 2 }, {
2249
- default: M(() => $[1] || ($[1] = [
2249
+ default: M(() => I[1] || (I[1] = [
2250
2250
  ne(" No Data ")
2251
2251
  ])),
2252
2252
  _: 1
@@ -2259,7 +2259,7 @@ const Ne = /* @__PURE__ */ be(k1, [["render", I1]]), S1 = { class: "h-full flex
2259
2259
  ]),
2260
2260
  _: 1
2261
2261
  })) : (p(), z(Ne, { key: 1 }, {
2262
- default: M(() => $[2] || ($[2] = [
2262
+ default: M(() => I[2] || (I[2] = [
2263
2263
  ne(" No Data ")
2264
2264
  ])),
2265
2265
  _: 1
@@ -2313,12 +2313,12 @@ const Ne = /* @__PURE__ */ be(k1, [["render", I1]]), S1 = { class: "h-full flex
2313
2313
  default: M(({ item: c }) => [
2314
2314
  r("div", {
2315
2315
  class: "relative mb7 h6 cursor-pointer",
2316
- style: $e({ color: o.value === c.id ? c.color : "" }),
2316
+ style: Ie({ color: o.value === c.id ? c.color : "" }),
2317
2317
  onClick: (C) => o.value = c.id
2318
2318
  }, [
2319
2319
  r("span", {
2320
2320
  class: "absolute top-1.5 inline-block h3 w3 b rounded-50%",
2321
- style: $e({ border: `3px solid ${c.color}` })
2321
+ style: Ie({ border: `3px solid ${c.color}` })
2322
2322
  }, null, 4),
2323
2323
  c.id < i.data.length - 1 ? (p(), m("span", j1)) : U("", !0),
2324
2324
  r("p", U1, [
@@ -2459,7 +2459,7 @@ const Ne = /* @__PURE__ */ be(k1, [["render", I1]]), S1 = { class: "h-full flex
2459
2459
  }), q1 = /* @__PURE__ */ B({
2460
2460
  __name: "Index",
2461
2461
  setup(n) {
2462
- const e = Ie();
2462
+ const e = $e();
2463
2463
  return (o, t) => (p(), z(dt, {
2464
2464
  "layer-ids": d(e).timelineLayerIds,
2465
2465
  "doc-link": d(e).homepage
@@ -2468,10 +2468,11 @@ const Ne = /* @__PURE__ */ be(k1, [["render", I1]]), S1 = { class: "h-full flex
2468
2468
  }), J1 = {
2469
2469
  "h-full": "",
2470
2470
  "w-full": ""
2471
- }, Y1 = { key: 0 }, Yl = /* @__PURE__ */ B({
2471
+ }, Y1 = { key: 0 }, Jl = /* @__PURE__ */ B({
2472
2472
  __name: "index",
2473
2473
  props: {
2474
- id: {}
2474
+ id: {},
2475
+ pluginId: {}
2475
2476
  },
2476
2477
  emits: ["loadError"],
2477
2478
  setup(n, { emit: e }) {
@@ -2519,10 +2520,11 @@ const Ne = /* @__PURE__ */ be(k1, [["render", I1]]), S1 = { class: "h-full flex
2519
2520
  id: a == null ? void 0 : a.id,
2520
2521
  label: a == null ? void 0 : a.label,
2521
2522
  logo: a == null ? void 0 : a.logo,
2522
- timelineLayerIds: a == null ? void 0 : a.timelineLayers.map((g) => g.id)
2523
+ timelineLayerIds: a == null ? void 0 : a.timelineLayers.map((g) => g.id),
2524
+ pluginId: o.pluginId
2523
2525
  };
2524
2526
  s.value = f, C(), l.value = !1;
2525
- }), D.value.getPluginSettings(o.id).then((a) => {
2527
+ }), D.value.getPluginSettings(o.pluginId).then((a) => {
2526
2528
  a.options ? i.value = a : i.value = null;
2527
2529
  });
2528
2530
  });
@@ -2652,7 +2654,7 @@ const tl = /* @__PURE__ */ be(X1, [["render", el]]), nl = {
2652
2654
  ])
2653
2655
  ]));
2654
2656
  }
2655
- }), rl = { class: "h-full flex flex-col" }, ul = "pinia", cl = /* @__PURE__ */ B({
2657
+ }), rl = { class: "h-full flex flex-col" }, ul = /* @__PURE__ */ B({
2656
2658
  __name: "Settings",
2657
2659
  setup(n) {
2658
2660
  const e = ve("pluginSettings"), o = V(() => e.value.options), t = V(() => e.value.values);
@@ -2670,22 +2672,22 @@ const tl = /* @__PURE__ */ be(X1, [["render", el]]), nl = {
2670
2672
  _: 1
2671
2673
  }),
2672
2674
  x(Zt, {
2673
- "plugin-id": ul,
2675
+ "plugin-id": "dev.esm.pinia",
2674
2676
  options: o.value,
2675
2677
  values: t.value,
2676
2678
  onUpdate: s
2677
2679
  }, null, 8, ["options", "values"])
2678
2680
  ]));
2679
2681
  }
2680
- }), dl = { class: "h-full flex flex-col" }, pl = { class: "h-full flex flex-col p2" }, fl = {
2682
+ }), cl = { class: "h-full flex flex-col" }, dl = { class: "h-full flex flex-col p2" }, pl = {
2681
2683
  key: 0,
2682
2684
  class: "mb-1 flex justify-end pb-1",
2683
2685
  border: "b dashed base"
2684
- }, vl = { class: "flex items-center gap-2 px-1" }, ml = ["onClick"], hl = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, gl = { class: "h-full flex flex-col p2" }, Cl = {
2686
+ }, fl = { class: "flex items-center gap-2 px-1" }, vl = ["onClick"], ml = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, hl = { class: "h-full flex flex-col p2" }, gl = {
2685
2687
  key: 0,
2686
2688
  class: "mb-1 flex justify-end pb-1",
2687
2689
  border: "b dashed base"
2688
- }, _l = { class: "flex items-center gap-2 px-1" }, xl = ["onClick"], pe = "pinia", yl = /* @__PURE__ */ B({
2690
+ }, Cl = { class: "flex items-center gap-2 px-1" }, _l = ["onClick"], pe = "pinia", xl = /* @__PURE__ */ B({
2689
2691
  __name: "Index",
2690
2692
  setup(n) {
2691
2693
  const { expanded: e } = me(), { expanded: o } = me("pinia-store-state"), t = T([]), s = T([]), l = T(""), i = T([]), u = V(() => {
@@ -2696,20 +2698,20 @@ const tl = /* @__PURE__ */ be(X1, [["render", el]]), nl = {
2696
2698
  return !((E = v.value.state) != null && E.length) && !((P = v.value.getters) != null && P.length);
2697
2699
  });
2698
2700
  function f(E, P = [], w = []) {
2699
- var $;
2700
- return P.push(E.id), (($ = E.children) == null ? void 0 : $.length) === 0 && w.push([...P]), Array.isArray(E.children) && E.children.forEach((_) => {
2701
+ var I;
2702
+ return P.push(E.id), ((I = E.children) == null ? void 0 : I.length) === 0 && w.push([...P]), Array.isArray(E.children) && E.children.forEach((_) => {
2701
2703
  f(_, P, w);
2702
2704
  }), P.pop(), w;
2703
2705
  }
2704
2706
  function g(E, P) {
2705
2707
  const w = [];
2706
- return E == null || E.forEach(($) => {
2707
- w.push(...$.slice(0, P + 1));
2708
+ return E == null || E.forEach((I) => {
2709
+ w.push(...I.slice(0, P + 1));
2708
2710
  }), [...new Set(w)];
2709
2711
  }
2710
2712
  function b(E) {
2711
- const P = [], w = ($) => {
2712
- $ == null || $.forEach((_) => {
2713
+ const P = [], w = (I) => {
2714
+ I == null || I.forEach((_) => {
2713
2715
  var N;
2714
2716
  P.push(_), (N = _.children) != null && N.length && w(_.children);
2715
2717
  });
@@ -2742,7 +2744,7 @@ const tl = /* @__PURE__ */ be(X1, [["render", el]]), nl = {
2742
2744
  function k(E) {
2743
2745
  D.value.getInspectorState({ inspectorId: pe, nodeId: E }).then((P) => {
2744
2746
  const w = Y(P);
2745
- w && (v.value = A(w), o.value = Array.from({ length: Object.keys(v.value).length }, ($, _) => `${_}`));
2747
+ w && (v.value = A(w), o.value = Array.from({ length: Object.keys(v.value).length }, (I, _) => `${_}`));
2746
2748
  });
2747
2749
  }
2748
2750
  function R() {
@@ -2772,7 +2774,7 @@ const tl = /* @__PURE__ */ be(X1, [["render", el]]), nl = {
2772
2774
  }
2773
2775
  return D.functions.on(W.INSPECTOR_TREE_UPDATED, K), D.functions.on(W.INSPECTOR_STATE_UPDATED, Z), ye(() => {
2774
2776
  D.functions.off(W.INSPECTOR_TREE_UPDATED, K), D.functions.off(W.INSPECTOR_STATE_UPDATED, Z);
2775
- }), (E, P) => (p(), m("div", dl, [
2777
+ }), (E, P) => (p(), m("div", cl, [
2776
2778
  x(Se, {
2777
2779
  "doc-link": "https://pinia.vuejs.org/",
2778
2780
  "github-repo-link": "https://github.com/vuejs/pinia"
@@ -2792,35 +2794,35 @@ const tl = /* @__PURE__ */ be(X1, [["render", el]]), nl = {
2792
2794
  default: M(() => {
2793
2795
  var w;
2794
2796
  return [
2795
- r("div", pl, [
2796
- (w = s.value) != null && w.length ? (p(), m("div", fl, [
2797
- r("div", vl, [
2798
- (p(!0), m(te, null, ae(s.value, ($, _) => J((p(), m("div", {
2797
+ r("div", dl, [
2798
+ (w = s.value) != null && w.length ? (p(), m("div", pl, [
2799
+ r("div", fl, [
2800
+ (p(!0), m(te, null, ae(s.value, (I, _) => J((p(), m("div", {
2799
2801
  key: _,
2800
2802
  class: "flex items-center gap1",
2801
2803
  onClick: (N) => O(_)
2802
2804
  }, [
2803
2805
  r("i", {
2804
- class: ie(`i-ic-baseline-${$.icon.replace(/\_/g, "-")}`),
2806
+ class: ie(`i-ic-baseline-${I.icon.replace(/\_/g, "-")}`),
2805
2807
  "cursor-pointer": "",
2806
2808
  op70: "",
2807
2809
  "text-base": "",
2808
2810
  "hover:op100": ""
2809
2811
  }, null, 2)
2810
- ], 8, ml)), [
2812
+ ], 8, vl)), [
2811
2813
  [
2812
2814
  d(Q),
2813
- { content: $.tooltip },
2815
+ { content: I.tooltip },
2814
2816
  void 0,
2815
2817
  { "bottom-end": !0 }
2816
2818
  ]
2817
2819
  ])), 128))
2818
2820
  ])
2819
2821
  ])) : U("", !0),
2820
- r("div", hl, [
2822
+ r("div", ml, [
2821
2823
  x(Pe, {
2822
2824
  modelValue: l.value,
2823
- "onUpdate:modelValue": P[0] || (P[0] = ($) => l.value = $),
2825
+ "onUpdate:modelValue": P[0] || (P[0] = (I) => l.value = I),
2824
2826
  data: i.value
2825
2827
  }, null, 8, ["modelValue", "data"])
2826
2828
  ])
@@ -2833,25 +2835,25 @@ const tl = /* @__PURE__ */ be(X1, [["render", el]]), nl = {
2833
2835
  default: M(() => {
2834
2836
  var w;
2835
2837
  return [
2836
- r("div", gl, [
2837
- (w = t.value) != null && w.length ? (p(), m("div", Cl, [
2838
- r("div", _l, [
2839
- (p(!0), m(te, null, ae(t.value, ($, _) => J((p(), m("div", {
2838
+ r("div", hl, [
2839
+ (w = t.value) != null && w.length ? (p(), m("div", gl, [
2840
+ r("div", Cl, [
2841
+ (p(!0), m(te, null, ae(t.value, (I, _) => J((p(), m("div", {
2840
2842
  key: _,
2841
2843
  class: "flex items-center gap1",
2842
2844
  onClick: (N) => j(_)
2843
2845
  }, [
2844
2846
  r("i", {
2845
- class: ie(`i-ic-baseline-${$.icon.replace(/\_/g, "-")}`),
2847
+ class: ie(`i-ic-baseline-${I.icon.replace(/\_/g, "-")}`),
2846
2848
  "cursor-pointer": "",
2847
2849
  op70: "",
2848
2850
  "text-base": "",
2849
2851
  "hover:op100": ""
2850
2852
  }, null, 2)
2851
- ], 8, xl)), [
2853
+ ], 8, _l)), [
2852
2854
  [
2853
2855
  d(Q),
2854
- { content: $.tooltip },
2856
+ { content: I.tooltip },
2855
2857
  void 0,
2856
2858
  { "bottom-end": !0 }
2857
2859
  ]
@@ -2881,7 +2883,7 @@ const tl = /* @__PURE__ */ be(X1, [["render", el]]), nl = {
2881
2883
  })
2882
2884
  ]));
2883
2885
  }
2884
- }), bl = /* @__PURE__ */ B({
2886
+ }), yl = /* @__PURE__ */ B({
2885
2887
  __name: "Index",
2886
2888
  setup(n) {
2887
2889
  const e = ["pinia:mutations"];
@@ -2891,10 +2893,10 @@ const tl = /* @__PURE__ */ be(X1, [["render", el]]), nl = {
2891
2893
  "github-repo-link": "https://github.com/vuejs/pinia"
2892
2894
  }));
2893
2895
  }
2894
- }), wl = {
2896
+ }), bl = {
2895
2897
  "h-full": "",
2896
2898
  "w-full": ""
2897
- }, Xl = /* @__PURE__ */ B({
2899
+ }, Yl = /* @__PURE__ */ B({
2898
2900
  __name: "index",
2899
2901
  setup(n) {
2900
2902
  const e = T(null);
@@ -2903,13 +2905,13 @@ const tl = /* @__PURE__ */ be(X1, [["render", el]]), nl = {
2903
2905
  {
2904
2906
  path: "/store",
2905
2907
  name: "Store",
2906
- component: yl,
2908
+ component: xl,
2907
2909
  icon: "i-carbon-tree-view-alt"
2908
2910
  },
2909
2911
  {
2910
2912
  path: "/timeline",
2911
2913
  name: "Timeline",
2912
- component: bl,
2914
+ component: yl,
2913
2915
  icon: "i-mdi:timeline-clock-outline"
2914
2916
  },
2915
2917
  {
@@ -2921,27 +2923,27 @@ const tl = /* @__PURE__ */ be(X1, [["render", el]]), nl = {
2921
2923
  e.value && {
2922
2924
  path: "/settings",
2923
2925
  name: "Settings",
2924
- component: cl,
2926
+ component: ul,
2925
2927
  icon: "i-mdi:cog-outline"
2926
2928
  }
2927
2929
  ].filter(Boolean)), { VirtualRouterView: t, restoreRouter: s } = ct(o, {
2928
2930
  defaultRoutePath: "/store"
2929
2931
  });
2930
2932
  return Re(() => {
2931
- D.value.getPluginSettings("pinia").then((l) => {
2932
- l.options ? e.value = l : e.value = null;
2933
+ D.value.getPluginSettings("dev.esm.pinia").then((i) => {
2934
+ i.options ? e.value = i : e.value = null;
2933
2935
  });
2934
- }), (l, i) => (p(), m("div", wl, [
2936
+ }), (l, i) => (p(), m("div", bl, [
2935
2937
  x(d(t))
2936
2938
  ]));
2937
2939
  }
2938
- }), kl = {}, $l = {
2940
+ }), wl = {}, kl = {
2939
2941
  viewBox: "0 0 566 154",
2940
2942
  fill: "none",
2941
2943
  xmlns: "http://www.w3.org/2000/svg"
2942
2944
  };
2943
2945
  function Il(n, e) {
2944
- return p(), m("svg", $l, e[0] || (e[0] = [
2946
+ return p(), m("svg", kl, e[0] || (e[0] = [
2945
2947
  r("svg", {
2946
2948
  xmlns: "http://www.w3.org/2000/svg",
2947
2949
  width: "8em",
@@ -2959,34 +2961,34 @@ function Il(n, e) {
2959
2961
  }, null, -1)
2960
2962
  ]));
2961
2963
  }
2962
- const Sl = /* @__PURE__ */ be(kl, [["render", Il]]), Tl = {
2964
+ const $l = /* @__PURE__ */ be(wl, [["render", Il]]), Sl = {
2963
2965
  "h-full": "",
2964
2966
  "w-full": "",
2965
2967
  flex: "",
2966
2968
  "items-center": ""
2967
- }, El = {
2969
+ }, Tl = {
2968
2970
  flex: "~ col gap2",
2969
2971
  ma: "",
2970
2972
  "px-5": ""
2971
- }, Vl = {
2973
+ }, El = {
2972
2974
  flex: "~ col",
2973
2975
  "mt-20": "",
2974
2976
  "items-center": ""
2975
- }, Nl = {
2977
+ }, Vl = {
2976
2978
  flex: "~",
2977
2979
  "mt--10": "",
2978
2980
  "items-center": "",
2979
2981
  "justify-center": ""
2980
- }, Rl = { flex: "~ gap2 wrap" }, Al = /* @__PURE__ */ B({
2982
+ }, Nl = { flex: "~ gap2 wrap" }, Rl = /* @__PURE__ */ B({
2981
2983
  __name: "About",
2982
2984
  setup(n) {
2983
2985
  const e = Me();
2984
- return (o, t) => (p(), m("div", Tl, [
2985
- r("div", El, [
2986
+ return (o, t) => (p(), m("div", Sl, [
2987
+ r("div", Tl, [
2986
2988
  t[5] || (t[5] = r("div", { "flex-auto": "" }, null, -1)),
2987
- r("div", Vl, [
2988
- r("div", Nl, [
2989
- x(Sl, { "h-18": "" })
2989
+ r("div", El, [
2990
+ r("div", Vl, [
2991
+ x($l, { "h-18": "" })
2990
2992
  ]),
2991
2993
  t[2] || (t[2] = r("div", {
2992
2994
  mb6: "",
@@ -2999,7 +3001,7 @@ const Sl = /* @__PURE__ */ be(kl, [["render", Il]]), Tl = {
2999
3001
  ], -1))
3000
3002
  ]),
3001
3003
  t[6] || (t[6] = r("div", { "flex-auto": "" }, null, -1)),
3002
- r("div", Rl, [
3004
+ r("div", Nl, [
3003
3005
  r("div", {
3004
3006
  flex: "~ col auto",
3005
3007
  "min-w-40": "",
@@ -3062,21 +3064,21 @@ const Sl = /* @__PURE__ */ be(kl, [["render", Il]]), Tl = {
3062
3064
  ])
3063
3065
  ]));
3064
3066
  }
3065
- }), Dl = { class: "h-full flex flex-col" }, Pl = {
3067
+ }), Al = { class: "h-full flex flex-col" }, Dl = {
3066
3068
  "h-full": "",
3067
3069
  "select-none": "",
3068
3070
  "overflow-scroll": "",
3069
3071
  p2: "",
3070
3072
  class: "no-scrollbar"
3071
- }, Ml = {
3073
+ }, Pl = {
3072
3074
  "h-full": "",
3073
3075
  "select-none": "",
3074
3076
  "overflow-scroll": "",
3075
3077
  class: "no-scrollbar"
3076
- }, Hl = /* @__PURE__ */ B({
3078
+ }, Ml = /* @__PURE__ */ B({
3077
3079
  __name: "Index",
3078
3080
  setup(n) {
3079
- const { expanded: e } = me(), { expanded: o } = me("routes-state"), t = Ie(), s = V(() => t.value.id), l = T(""), i = T([]), u = V(() => {
3081
+ const { expanded: e } = me(), { expanded: o } = me("routes-state"), t = $e(), s = V(() => t.value.id), l = T(""), i = T([]), u = V(() => {
3080
3082
  var k, R;
3081
3083
  return (k = i.value) != null && k.length ? a((R = i.value) == null ? void 0 : R[0]) : [];
3082
3084
  }), c = V(() => g(i.value)), C = V(() => c.value.map((k) => k.id)), v = T({});
@@ -3139,7 +3141,7 @@ const Sl = /* @__PURE__ */ be(kl, [["render", Il]]), Tl = {
3139
3141
  }
3140
3142
  return D.functions.on(W.INSPECTOR_TREE_UPDATED, O), D.functions.on(W.INSPECTOR_STATE_UPDATED, A), ye(() => {
3141
3143
  D.functions.off(W.INSPECTOR_TREE_UPDATED, O), D.functions.off(W.INSPECTOR_STATE_UPDATED, A);
3142
- }), (k, R) => (p(), m("div", Dl, [
3144
+ }), (k, R) => (p(), m("div", Al, [
3143
3145
  x(Se, {
3144
3146
  "doc-link": "https://router.vuejs.org/",
3145
3147
  "github-repo-link": "https://github.com/vuejs/router"
@@ -3157,7 +3159,7 @@ const Sl = /* @__PURE__ */ be(kl, [["render", Il]]), Tl = {
3157
3159
  "h-full": ""
3158
3160
  }, {
3159
3161
  default: M(() => [
3160
- r("div", Pl, [
3162
+ r("div", Dl, [
3161
3163
  x(Pe, {
3162
3164
  modelValue: l.value,
3163
3165
  "onUpdate:modelValue": R[0] || (R[0] = (H) => l.value = H),
@@ -3169,7 +3171,7 @@ const Sl = /* @__PURE__ */ be(kl, [["render", Il]]), Tl = {
3169
3171
  }),
3170
3172
  x(d(ue), { size: "60" }, {
3171
3173
  default: M(() => [
3172
- r("div", Ml, [
3174
+ r("div", Pl, [
3173
3175
  l.value ? (p(), z(De, {
3174
3176
  key: 0,
3175
3177
  class: "p3",
@@ -3192,20 +3194,20 @@ const Sl = /* @__PURE__ */ be(kl, [["render", Il]]), Tl = {
3192
3194
  })
3193
3195
  ]));
3194
3196
  }
3195
- }), Ll = /* @__PURE__ */ B({
3197
+ }), Hl = /* @__PURE__ */ B({
3196
3198
  __name: "Index",
3197
3199
  setup(n) {
3198
- const e = Ie();
3200
+ const e = $e();
3199
3201
  return (o, t) => (p(), z(dt, {
3200
3202
  "layer-ids": d(e).timelineLayerIds,
3201
3203
  "doc-link": "https://router.vuejs.org/",
3202
3204
  "github-repo-link": "https://github.com/vuejs/router"
3203
3205
  }, null, 8, ["layer-ids"]));
3204
3206
  }
3205
- }), Ol = {
3207
+ }), Ll = {
3206
3208
  "h-full": "",
3207
3209
  "w-full": ""
3208
- }, Ql = /* @__PURE__ */ B({
3210
+ }, Xl = /* @__PURE__ */ B({
3209
3211
  __name: "index",
3210
3212
  props: {
3211
3213
  id: {}
@@ -3215,19 +3217,19 @@ const Sl = /* @__PURE__ */ be(kl, [["render", Il]]), Tl = {
3215
3217
  {
3216
3218
  path: "/routes",
3217
3219
  name: "Routes",
3218
- component: Hl,
3220
+ component: Ml,
3219
3221
  icon: "i-carbon-tree-view-alt"
3220
3222
  },
3221
3223
  {
3222
3224
  path: "/timeline",
3223
3225
  name: "Timeline",
3224
- component: Ll,
3226
+ component: Hl,
3225
3227
  icon: "i-mdi:timeline-clock-outline"
3226
3228
  },
3227
3229
  {
3228
3230
  path: "/about",
3229
3231
  name: "About",
3230
- component: Al,
3232
+ component: Rl,
3231
3233
  icon: "i-ri-route-line"
3232
3234
  }
3233
3235
  ], {
@@ -3251,15 +3253,15 @@ const Sl = /* @__PURE__ */ be(kl, [["render", Il]]), Tl = {
3251
3253
  }
3252
3254
  return X(() => e.id, (u) => {
3253
3255
  u && i();
3254
- }), (u, c) => (p(), m("div", Ol, [
3256
+ }), (u, c) => (p(), m("div", Ll, [
3255
3257
  x(d(s))
3256
3258
  ]));
3257
3259
  }
3258
3260
  });
3259
3261
  export {
3260
- Jl as Components,
3261
- Yl as CustomInspector,
3262
- Xl as Pinia,
3263
- Ql as Router,
3264
- ql as useCustomInspector
3262
+ ql as Components,
3263
+ Jl as CustomInspector,
3264
+ Yl as Pinia,
3265
+ Xl as Router,
3266
+ Wl as useCustomInspector
3265
3267
  };