@vitejs/devtools 0.1.10 → 0.1.13

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.
Files changed (40) hide show
  1. package/dist/{DockStandalone-CX4RwLuJ.js → DockStandalone-kfuGuU1K.js} +128 -21
  2. package/dist/{LogItem-Ca0SsU39.js → LogItem-DOamSzjc.js} +1 -1
  3. package/dist/{ViewBuiltinLogs-B_CLlali.js → ViewBuiltinLogs-BW-Z3LV1.js} +35 -25
  4. package/dist/{ViewBuiltinTerminals-ZrMObMte.js → ViewBuiltinTerminals-D_aHYGk9.js} +1 -1
  5. package/dist/{ViewJsonRender-Cc5BPfnv.js → ViewJsonRender-BlN5HDyU.js} +1 -1
  6. package/dist/{build-static-Cb3vKjJS.js → build-static-SRf6Mx0K.js} +4 -4
  7. package/dist/cli-commands.js +8 -5
  8. package/dist/client/inject.js +3 -3
  9. package/dist/client/standalone/assets/DockIcon-Bn9P0BA3.js +1 -0
  10. package/dist/client/standalone/assets/DockStandalone-BNVMXM6t.js +3 -0
  11. package/dist/client/standalone/assets/DockStandalone-GABFNqKk.js +1 -0
  12. package/dist/client/standalone/assets/{LogItem-BnVhub2j.js → LogItem-B2zhdfw_.js} +1 -1
  13. package/dist/client/standalone/assets/ViewBuiltinLogs-Bv93zOX9.js +1 -0
  14. package/dist/client/standalone/assets/{ViewBuiltinTerminals-DqaYBA6Q.js → ViewBuiltinTerminals-DPB8d-Q0.js} +4 -4
  15. package/dist/client/standalone/assets/{ViewJsonRender-De5eeIha.js → ViewJsonRender-CSnziLMr.js} +1 -1
  16. package/dist/client/standalone/assets/dist-DIiIv9-S.js +5 -0
  17. package/dist/client/standalone/assets/index-C05Px9az.css +1 -0
  18. package/dist/client/standalone/assets/index-C9nheAgG.js +1 -0
  19. package/dist/client/standalone/assets/runtime-core.esm-bundler-Dfaj58fA.js +1 -0
  20. package/dist/client/standalone/index.html +8 -6
  21. package/dist/client/webcomponents.js +3 -3
  22. package/dist/{context-BWju7fup.js → context-WJ5shSfy.js} +564 -506
  23. package/dist/{dist-CCdqIez-.js → dist-DD29zy1v.js} +390 -5
  24. package/dist/index.d.ts +90 -87
  25. package/dist/index.js +3 -3
  26. package/dist/{plugins-Dhpm6Ql_.js → plugins-D8NH18dj.js} +6 -4
  27. package/dist/{popup-DgYOsFy3.js → popup-D4DzCx7h.js} +1 -1
  28. package/dist/{server-DSh-GQIq.js → server-CE1QMUPY.js} +4 -4
  29. package/dist/server-Cz5aS6Hb.js +2 -0
  30. package/dist/{server-ZWEvQMOm.js → server-kLW_T-bo.js} +3 -3
  31. package/dist/{standalone-D_6Gsoqw.js → standalone-eqACht_F.js} +2 -2
  32. package/package.json +17 -14
  33. package/dist/client/standalone/assets/DockStandalone-BvXvOkmY.js +0 -1
  34. package/dist/client/standalone/assets/ViewBuiltinLogs-rU-E-8qT.js +0 -1
  35. package/dist/client/standalone/assets/dist-CAaP5Isp.js +0 -1
  36. package/dist/client/standalone/assets/index-2_yFTdkG.js +0 -3
  37. package/dist/client/standalone/assets/index-DtZFMvER.css +0 -1
  38. package/dist/client/standalone/assets/runtime-core.esm-bundler-Bvz2jy0O.js +0 -1
  39. package/dist/server-BQ4s1VXj.js +0 -2
  40. /package/dist/client/standalone/assets/{iconify-C-CPDXMf.js → iconify-DTCjcGxu.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { s as useTimeAgo } from "./dist-CCdqIez-.js";
1
+ import { l as useTimeAgo } from "./dist-DD29zy1v.js";
2
2
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, reactive, renderList, renderSlot, toDisplayString, unref } from "vue";
3
3
  //#region src/client/webcomponents/state/toasts.ts
4
4
  const toasts = reactive([]);
@@ -1,6 +1,6 @@
1
- import { s as useTimeAgo } from "./dist-CCdqIez-.js";
2
- import { a as levels, i as getHashColorFromString, n as _sfc_main$3, o as markLogsAsRead, r as formEntries, s as useLogs, t as _sfc_main$2 } from "./LogItem-Ca0SsU39.js";
3
- import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderList, toDisplayString, unref, vModelText, withCtx, withDirectives, withModifiers } from "vue";
1
+ import { l as useTimeAgo, n as useClipboard } from "./dist-DD29zy1v.js";
2
+ import { a as levels, i as getHashColorFromString, n as _sfc_main$3, o as markLogsAsRead, r as formEntries, s as useLogs, t as _sfc_main$2 } from "./LogItem-DOamSzjc.js";
3
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderList, toDisplayString, unref, vModelText, watch, withCtx, withDirectives, withModifiers } from "vue";
4
4
  //#region src/client/webcomponents/components/display/FilterToggles.vue
5
5
  const _hoisted_1$1 = { class: "text-xs op40" };
6
6
  const _hoisted_2$1 = { class: "flex flex-wrap items-center gap-0.5" };
@@ -102,20 +102,21 @@ const _hoisted_27 = {
102
102
  key: 4,
103
103
  class: "mb-3"
104
104
  };
105
- const _hoisted_28 = { class: "text-xs bg-gray/5 rounded p-2 of-x-auto whitespace-pre-wrap font-mono" };
106
- const _hoisted_29 = {
105
+ const _hoisted_28 = { class: "group relative" };
106
+ const _hoisted_29 = { class: "text-xs bg-gray/5 rounded p-2 of-x-auto whitespace-pre-wrap font-mono" };
107
+ const _hoisted_30 = {
107
108
  key: 5,
108
109
  class: "flex flex-wrap gap-3 mb-3 text-xs op50"
109
110
  };
110
- const _hoisted_30 = {
111
+ const _hoisted_31 = {
111
112
  key: 0,
112
113
  class: "flex items-center gap-1"
113
114
  };
114
- const _hoisted_31 = {
115
+ const _hoisted_32 = {
115
116
  key: 1,
116
117
  class: "flex items-center gap-1"
117
118
  };
118
- const _hoisted_32 = { class: "flex flex-col gap-1 mb-3 text-xs op40 font-mono border-t border-base pt-3" };
119
+ const _hoisted_33 = { class: "flex flex-col gap-1 mb-3 text-xs op40 font-mono border-t border-base pt-3" };
119
120
  const _sfc_main = /* @__PURE__ */ defineComponent({
120
121
  __name: "ViewBuiltinLogs",
121
122
  props: { context: {} },
@@ -217,7 +218,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
217
218
  if (!selectedId.value) return null;
218
219
  return logsState.entries.find((e) => e.id === selectedId.value) ?? null;
219
220
  });
221
+ watch(selectedEntry, async (entry) => {
222
+ if (!entry?.autoDelete) return;
223
+ await props.context.rpc.call("devtoolskit:internal:logs:update", entry.id, { autoDelete: 0 });
224
+ });
220
225
  const selectedTimeAgo = useTimeAgo(computed(() => selectedEntry.value?.timestamp ?? Date.now()));
226
+ const { copy: copyStacktrace, copied: stacktraceCopied } = useClipboard();
221
227
  async function openFile(entry) {
222
228
  if (!entry.filePosition) return;
223
229
  const { file, line, column } = entry.filePosition;
@@ -259,27 +265,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
259
265
  title: sortLabels[sortBy.value],
260
266
  onClick: cycleSortMode
261
267
  }, [createElementVNode("div", { class: normalizeClass([sortIcons[sortBy.value], "w-4 h-4"]) }, null, 2)], 8, _hoisted_4),
262
- _cache[7] || (_cache[7] = createElementVNode("div", { class: "flex-1" }, null, -1)),
268
+ _cache[8] || (_cache[8] = createElementVNode("div", { class: "flex-1" }, null, -1)),
263
269
  filteredEntries.value.length !== unref(logsState).entries.length ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(filteredEntries.value.length) + "/" + toDisplayString(unref(logsState).entries.length), 1)) : createCommentVNode("v-if", true),
264
270
  hasActiveFilter.value ? (openBlock(), createElementBlock("button", {
265
271
  key: 1,
266
272
  class: "text-xs op50 hover:op100 px-1.5 py-0.5 hover:bg-active rounded transition flex items-center gap-0.5",
267
273
  title: "Reset all filters",
268
274
  onClick: resetFilters
269
- }, [..._cache[4] || (_cache[4] = [createElementVNode("div", { class: "i-ph:funnel-x-duotone w-3.5 h-3.5" }, null, -1), createTextVNode(" Reset Filters ", -1)])])) : createCommentVNode("v-if", true),
275
+ }, [..._cache[5] || (_cache[5] = [createElementVNode("div", { class: "i-ph:funnel-x-duotone w-3.5 h-3.5" }, null, -1), createTextVNode(" Reset Filters ", -1)])])) : createCommentVNode("v-if", true),
270
276
  hasActiveFilter.value ? (openBlock(), createElementBlock("div", _hoisted_6)) : createCommentVNode("v-if", true),
271
277
  hasActiveFilter.value && filteredEntries.value.length > 0 ? (openBlock(), createElementBlock("button", {
272
278
  key: 3,
273
279
  class: "text-xs op50 hover:op100 px-1.5 py-0.5 hover:bg-active rounded transition flex items-center gap-0.5",
274
280
  title: "Dismiss all matching the current filter",
275
281
  onClick: dismissFiltered
276
- }, [..._cache[5] || (_cache[5] = [createElementVNode("div", { class: "i-ph:trash-duotone w-3.5 h-3.5" }, null, -1), createTextVNode(" Dismiss filtered ", -1)])])) : createCommentVNode("v-if", true),
282
+ }, [..._cache[6] || (_cache[6] = [createElementVNode("div", { class: "i-ph:trash-duotone w-3.5 h-3.5" }, null, -1), createTextVNode(" Dismiss filtered ", -1)])])) : createCommentVNode("v-if", true),
277
283
  !hasActiveFilter.value && unref(logsState).entries.length > 0 ? (openBlock(), createElementBlock("button", {
278
284
  key: 4,
279
285
  class: "text-xs op50 hover:op100 px-1.5 py-0.5 hover:bg-active rounded transition flex items-center gap-0.5",
280
286
  title: "Dismiss all logs",
281
287
  onClick: clearAll
282
- }, [..._cache[6] || (_cache[6] = [createElementVNode("div", { class: "i-ph:trash-duotone w-3.5 h-3.5" }, null, -1), createTextVNode(" Dismiss all ", -1)])])) : createCommentVNode("v-if", true)
288
+ }, [..._cache[7] || (_cache[7] = [createElementVNode("div", { class: "i-ph:trash-duotone w-3.5 h-3.5" }, null, -1), createTextVNode(" Dismiss all ", -1)])])) : createCommentVNode("v-if", true)
283
289
  ]),
284
290
  createCommentVNode(" Row 2: Level + source + category + label filters "),
285
291
  createElementVNode("div", _hoisted_7, [
@@ -294,7 +300,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
294
300
  "active",
295
301
  "styles"
296
302
  ]),
297
- _cache[10] || (_cache[10] = createElementVNode("div", { class: "border-l border-base h-4 mx-0.5" }, null, -1)),
303
+ _cache[11] || (_cache[11] = createElementVNode("div", { class: "border-l border-base h-4 mx-0.5" }, null, -1)),
298
304
  createVNode(_sfc_main$1, {
299
305
  label: "From",
300
306
  items: unref(allFroms),
@@ -307,7 +313,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
307
313
  "styles",
308
314
  "onToggle"
309
315
  ]),
310
- allCategories.value.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [_cache[8] || (_cache[8] = createElementVNode("div", { class: "border-l border-base h-4 mx-1" }, null, -1)), createVNode(_sfc_main$1, {
316
+ allCategories.value.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [_cache[9] || (_cache[9] = createElementVNode("div", { class: "border-l border-base h-4 mx-1" }, null, -1)), createVNode(_sfc_main$1, {
311
317
  label: "Category",
312
318
  items: allCategories.value,
313
319
  active: activeCategories.value,
@@ -318,7 +324,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
318
324
  "active",
319
325
  "hash-color"
320
326
  ])], 64)) : createCommentVNode("v-if", true),
321
- allLabels.value.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [_cache[9] || (_cache[9] = createElementVNode("div", { class: "border-l border-base h-4 mx-1" }, null, -1)), createVNode(_sfc_main$1, {
327
+ allLabels.value.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [_cache[10] || (_cache[10] = createElementVNode("div", { class: "border-l border-base h-4 mx-1" }, null, -1)), createVNode(_sfc_main$1, {
322
328
  label: "Labels",
323
329
  items: allLabels.value,
324
330
  active: activeLabelFilters.value,
@@ -347,7 +353,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
347
353
  class: "op0 group-hover:op50 hover:op100! p-0.5 rounded hover:bg-active flex-none",
348
354
  title: "Dismiss",
349
355
  onClick: withModifiers(($event) => removeEntry(entry.id), ["stop"])
350
- }, [..._cache[11] || (_cache[11] = [createElementVNode("div", { class: "i-ph-trash-duotone w-3 h-3" }, null, -1)])], 8, _hoisted_11)]),
356
+ }, [..._cache[12] || (_cache[12] = [createElementVNode("div", { class: "i-ph-trash-duotone w-3 h-3" }, null, -1)])], 8, _hoisted_11)]),
351
357
  _: 2
352
358
  }, 1032, ["entry"])], 10, _hoisted_10);
353
359
  }), 128))]),
@@ -361,13 +367,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
361
367
  class: "op50 hover:op100 p-1",
362
368
  title: "Dismiss",
363
369
  onClick: _cache[1] || (_cache[1] = ($event) => removeEntry(selectedEntry.value.id))
364
- }, [..._cache[12] || (_cache[12] = [createElementVNode("div", { class: "i-ph-trash-duotone w-4 h-4" }, null, -1)])]),
370
+ }, [..._cache[13] || (_cache[13] = [createElementVNode("div", { class: "i-ph-trash-duotone w-4 h-4" }, null, -1)])]),
365
371
  createCommentVNode(" Close button "),
366
372
  createElementVNode("button", {
367
373
  class: "op50 hover:op100 p-1",
368
374
  title: "Close detail",
369
375
  onClick: _cache[2] || (_cache[2] = ($event) => selectedId.value = null)
370
- }, [..._cache[13] || (_cache[13] = [createElementVNode("div", { class: "i-ph-x w-4 h-4" }, null, -1)])])
376
+ }, [..._cache[14] || (_cache[14] = [createElementVNode("div", { class: "i-ph-x w-4 h-4" }, null, -1)])])
371
377
  ]),
372
378
  createCommentVNode(" Metadata row "),
373
379
  createElementVNode("div", _hoisted_16, [
@@ -376,12 +382,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
376
382
  key: 0,
377
383
  class: normalizeClass(["flex items-center gap-1", unref(formEntries)[selectedEntry.value.from].color])
378
384
  }, [createElementVNode("div", { class: normalizeClass([unref(formEntries)[selectedEntry.value.from].icon, "w-3.5 h-3.5"]) }, null, 2), createTextVNode(" " + toDisplayString(unref(formEntries)[selectedEntry.value.from].label), 1)], 2)) : createCommentVNode("v-if", true),
379
- selectedEntry.value.status === "loading" ? (openBlock(), createElementBlock("span", _hoisted_18, [..._cache[14] || (_cache[14] = [createElementVNode("div", { class: "w-3 h-3 border-1.5 border-current border-t-transparent rounded-full animate-spin" }, null, -1), createTextVNode(" Loading ", -1)])])) : createCommentVNode("v-if", true),
385
+ selectedEntry.value.status === "loading" ? (openBlock(), createElementBlock("span", _hoisted_18, [..._cache[15] || (_cache[15] = [createElementVNode("div", { class: "w-3 h-3 border-1.5 border-current border-t-transparent rounded-full animate-spin" }, null, -1), createTextVNode(" Loading ", -1)])])) : createCommentVNode("v-if", true),
380
386
  createElementVNode("span", {
381
387
  class: "op40",
382
388
  title: formatAbsoluteTime(selectedEntry.value.timestamp)
383
389
  }, toDisplayString(unref(selectedTimeAgo)), 9, _hoisted_19),
384
- selectedEntry.value.notify ? (openBlock(), createElementBlock("span", _hoisted_20, [..._cache[15] || (_cache[15] = [createElementVNode("div", { class: "i-ph:bell-duotone w-3.5 h-3.5" }, null, -1), createTextVNode(" notify ", -1)])])) : createCommentVNode("v-if", true)
390
+ selectedEntry.value.notify ? (openBlock(), createElementBlock("span", _hoisted_20, [..._cache[16] || (_cache[16] = [createElementVNode("div", { class: "i-ph:bell-duotone w-3.5 h-3.5" }, null, -1), createTextVNode(" notify ", -1)])])) : createCommentVNode("v-if", true)
385
391
  ]),
386
392
  createCommentVNode(" Description "),
387
393
  selectedEntry.value.description ? (openBlock(), createElementBlock("div", _hoisted_21, toDisplayString(selectedEntry.value.description), 1)) : createCommentVNode("v-if", true),
@@ -400,24 +406,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
400
406
  key: 2,
401
407
  class: "flex items-center gap-1.5 text-sm text-blue hover:underline mb-3",
402
408
  onClick: _cache[3] || (_cache[3] = ($event) => openFile(selectedEntry.value))
403
- }, [_cache[16] || (_cache[16] = createElementVNode("div", { class: "i-ph:file-code-duotone w-4 h-4" }, null, -1)), createElementVNode("span", null, [
409
+ }, [_cache[17] || (_cache[17] = createElementVNode("div", { class: "i-ph:file-code-duotone w-4 h-4" }, null, -1)), createElementVNode("span", null, [
404
410
  createTextVNode(toDisplayString(selectedEntry.value.filePosition.file), 1),
405
411
  selectedEntry.value.filePosition.line ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(":" + toDisplayString(selectedEntry.value.filePosition.line), 1)], 64)) : createCommentVNode("v-if", true),
406
412
  selectedEntry.value.filePosition.column ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(":" + toDisplayString(selectedEntry.value.filePosition.column), 1)], 64)) : createCommentVNode("v-if", true)
407
413
  ])])) : createCommentVNode("v-if", true),
408
414
  createCommentVNode(" Element position "),
409
415
  selectedEntry.value.elementPosition ? (openBlock(), createElementBlock("div", _hoisted_23, [
410
- _cache[17] || (_cache[17] = createElementVNode("div", { class: "op50 text-xs mb-1" }, " Element ", -1)),
416
+ _cache[18] || (_cache[18] = createElementVNode("div", { class: "op50 text-xs mb-1" }, " Element ", -1)),
411
417
  selectedEntry.value.elementPosition.selector ? (openBlock(), createElementBlock("div", _hoisted_24, toDisplayString(selectedEntry.value.elementPosition.selector), 1)) : createCommentVNode("v-if", true),
412
418
  selectedEntry.value.elementPosition.description ? (openBlock(), createElementBlock("div", _hoisted_25, toDisplayString(selectedEntry.value.elementPosition.description), 1)) : createCommentVNode("v-if", true),
413
419
  selectedEntry.value.elementPosition.boundingBox ? (openBlock(), createElementBlock("div", _hoisted_26, toDisplayString(selectedEntry.value.elementPosition.boundingBox.x) + ", " + toDisplayString(selectedEntry.value.elementPosition.boundingBox.y) + " (" + toDisplayString(selectedEntry.value.elementPosition.boundingBox.width) + " × " + toDisplayString(selectedEntry.value.elementPosition.boundingBox.height) + ") ", 1)) : createCommentVNode("v-if", true)
414
420
  ])) : createCommentVNode("v-if", true),
415
421
  createCommentVNode(" Stacktrace "),
416
- selectedEntry.value.stacktrace ? (openBlock(), createElementBlock("div", _hoisted_27, [_cache[18] || (_cache[18] = createElementVNode("div", { class: "op50 text-xs mb-1" }, " Stack Trace ", -1)), createElementVNode("pre", _hoisted_28, toDisplayString(selectedEntry.value.stacktrace), 1)])) : createCommentVNode("v-if", true),
422
+ selectedEntry.value.stacktrace ? (openBlock(), createElementBlock("div", _hoisted_27, [_cache[19] || (_cache[19] = createElementVNode("div", { class: "op50 text-xs mb-1" }, " Stack Trace ", -1)), createElementVNode("div", _hoisted_28, [createElementVNode("pre", _hoisted_29, toDisplayString(selectedEntry.value.stacktrace), 1), createElementVNode("button", {
423
+ class: "group/bt absolute top-1.5 right-1.5 op0 group-hover:op100 p-1 rounded bg-base border border-base transition",
424
+ title: "Copy",
425
+ onClick: _cache[4] || (_cache[4] = ($event) => unref(copyStacktrace)(selectedEntry.value.stacktrace))
426
+ }, [createElementVNode("div", { class: normalizeClass([unref(stacktraceCopied) ? "i-ph:check" : "i-ph:copy", "op50 group-hover/bt:op100 size-3.5"]) }, null, 2)])])])) : createCommentVNode("v-if", true),
417
427
  createCommentVNode(" Timers "),
418
- selectedEntry.value.autoDismiss || selectedEntry.value.autoDelete ? (openBlock(), createElementBlock("div", _hoisted_29, [selectedEntry.value.autoDismiss ? (openBlock(), createElementBlock("span", _hoisted_30, [_cache[19] || (_cache[19] = createElementVNode("div", { class: "i-ph:bell-slash-duotone w-3.5 h-3.5" }, null, -1)), createTextVNode(" Auto-dismiss: " + toDisplayString(selectedEntry.value.autoDismiss / 1e3) + "s ", 1)])) : createCommentVNode("v-if", true), selectedEntry.value.autoDelete ? (openBlock(), createElementBlock("span", _hoisted_31, [_cache[20] || (_cache[20] = createElementVNode("div", { class: "i-ph:timer-duotone w-3.5 h-3.5" }, null, -1)), createTextVNode(" Auto-delete: " + toDisplayString(selectedEntry.value.autoDelete / 1e3) + "s ", 1)])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true),
428
+ selectedEntry.value.autoDismiss || selectedEntry.value.autoDelete ? (openBlock(), createElementBlock("div", _hoisted_30, [selectedEntry.value.autoDismiss ? (openBlock(), createElementBlock("span", _hoisted_31, [_cache[20] || (_cache[20] = createElementVNode("div", { class: "i-ph:bell-slash-duotone w-3.5 h-3.5" }, null, -1)), createTextVNode(" Auto-dismiss: " + toDisplayString(selectedEntry.value.autoDismiss / 1e3) + "s ", 1)])) : createCommentVNode("v-if", true), selectedEntry.value.autoDelete ? (openBlock(), createElementBlock("span", _hoisted_32, [_cache[21] || (_cache[21] = createElementVNode("div", { class: "i-ph:timer-duotone w-3.5 h-3.5" }, null, -1)), createTextVNode(" Auto-delete: " + toDisplayString(selectedEntry.value.autoDelete / 1e3) + "s ", 1)])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true),
419
429
  createCommentVNode(" ID + Timestamp "),
420
- createElementVNode("div", _hoisted_32, [createElementVNode("span", null, "ID: " + toDisplayString(selectedEntry.value.id), 1), createElementVNode("span", null, toDisplayString(formatAbsoluteTime(selectedEntry.value.timestamp)) + " (" + toDisplayString(new Date(selectedEntry.value.timestamp).toLocaleDateString()) + ")", 1)])
430
+ createElementVNode("div", _hoisted_33, [createElementVNode("span", null, "ID: " + toDisplayString(selectedEntry.value.id), 1), createElementVNode("span", null, toDisplayString(formatAbsoluteTime(selectedEntry.value.timestamp)) + " (" + toDisplayString(new Date(selectedEntry.value.timestamp).toLocaleDateString()) + ")", 1)])
421
431
  ])) : createCommentVNode("v-if", true)
422
432
  ], 2)
423
433
  ]);
@@ -1,4 +1,4 @@
1
- import { d as watchImmediate, i as useEventListener } from "./dist-CCdqIez-.js";
1
+ import { o as useEventListener, p as watchImmediate } from "./dist-DD29zy1v.js";
2
2
  import { t as _sfc_main$2 } from "./DockIcon-7v-JouW5.js";
3
3
  import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, markRaw, nextTick, normalizeClass, onMounted, onUnmounted, openBlock, reactive, ref, renderList, shallowRef, toDisplayString, unref, watch } from "vue";
4
4
  //#region src/client/webcomponents/state/terminals.ts
@@ -5239,7 +5239,7 @@ defineSchema((s) => ({
5239
5239
  ]
5240
5240
  });
5241
5241
  //#endregion
5242
- //#region ../../node_modules/.pnpm/@json-render+vue@0.13.0_vue@3.5.30_typescript@5.9.3__zod@4.3.6/node_modules/@json-render/vue/dist/index.mjs
5242
+ //#region ../../node_modules/.pnpm/@json-render+vue@0.13.0_vue@3.5.31_typescript@6.0.2__zod@4.3.6/node_modules/@json-render/vue/dist/index.mjs
5243
5243
  var STATE_KEY = /* @__PURE__ */ Symbol("json-render:state");
5244
5244
  var StateProvider = defineComponent({
5245
5245
  name: "StateProvider",
@@ -6,8 +6,8 @@ import { existsSync } from "node:fs";
6
6
  import fs$1 from "node:fs/promises";
7
7
  //#region src/node/build-static.ts
8
8
  async function buildStaticDevTools(options) {
9
- const { context, outDir } = options;
10
- if (existsSync(outDir)) await fs$1.rm(outDir, { recursive: true });
9
+ const { context, outDir, withApp } = options;
10
+ if (!withApp && existsSync(outDir)) await fs$1.rm(outDir, { recursive: true });
11
11
  const devToolsRoot = join(outDir, DEVTOOLS_DIRNAME);
12
12
  await fs$1.mkdir(devToolsRoot, { recursive: true });
13
13
  await fs$1.cp(dirClientStandalone, devToolsRoot, { recursive: true });
@@ -16,7 +16,7 @@ async function buildStaticDevTools(options) {
16
16
  await fs$1.mkdir(join(outDir, baseUrl), { recursive: true });
17
17
  await fs$1.cp(distDir, join(outDir, baseUrl), { recursive: true });
18
18
  }
19
- const { renderDockImportsMap } = await import("./server-BQ4s1VXj.js");
19
+ const { renderDockImportsMap } = await import("./server-Cz5aS6Hb.js");
20
20
  await fs$1.mkdir(resolve(devToolsRoot, DEVTOOLS_RPC_DUMP_DIRNAME), { recursive: true });
21
21
  await fs$1.writeFile(resolve(devToolsRoot, DEVTOOLS_CONNECTION_META_FILENAME), JSON.stringify({ backend: "static" }, null, 2), "utf-8");
22
22
  await fs$1.writeFile(resolve(devToolsRoot, DEVTOOLS_DOCK_IMPORTS_FILENAME), renderDockImportsMap(context.docks.values()), "utf-8");
@@ -29,7 +29,7 @@ async function buildStaticDevTools(options) {
29
29
  await fs$1.writeFile(fullpath, JSON.stringify(data, null, 2), "utf-8");
30
30
  }
31
31
  await fs$1.writeFile(resolve(devToolsRoot, DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME), JSON.stringify(dump.manifest, null, 2), "utf-8");
32
- await fs$1.writeFile(resolve(outDir, "index.html"), [
32
+ if (!existsSync(resolve(outDir, "index.html"))) await fs$1.writeFile(resolve(outDir, "index.html"), [
33
33
  "<!doctype html>",
34
34
  "<html lang=\"en\">",
35
35
  "<head>",
@@ -11,12 +11,15 @@ async function start(options) {
11
11
  port: options.port == null ? void 0 : +options.port,
12
12
  portRange: [9999, 15e3]
13
13
  });
14
- const { startStandaloneDevTools } = await import("./standalone-D_6Gsoqw.js");
15
- const { createDevToolsMiddleware } = await import("./server-DSh-GQIq.js").then((n) => n.n);
14
+ const { startStandaloneDevTools } = await import("./standalone-eqACht_F.js");
15
+ const { createDevToolsMiddleware } = await import("./server-CE1QMUPY.js").then((n) => n.n);
16
16
  const devtools = await startStandaloneDevTools({ cwd: options.root });
17
17
  const { h3 } = await createDevToolsMiddleware({
18
18
  cwd: devtools.config.root,
19
- hostWebSocket: host,
19
+ websocket: {
20
+ host,
21
+ https: false
22
+ },
20
23
  context: devtools.context
21
24
  });
22
25
  const { createServer } = await import("node:http");
@@ -40,13 +43,13 @@ async function start(options) {
40
43
  }
41
44
  async function build(options) {
42
45
  console.log(ansis_default.cyan`${"⬢"} Building static Vite DevTools...`);
43
- const { startStandaloneDevTools } = await import("./standalone-D_6Gsoqw.js");
46
+ const { startStandaloneDevTools } = await import("./standalone-eqACht_F.js");
44
47
  const devtools = await startStandaloneDevTools({
45
48
  cwd: options.root,
46
49
  config: options.config
47
50
  });
48
51
  const outDir = resolve(devtools.config.root, options.outDir);
49
- const { buildStaticDevTools } = await import("./build-static-Cb3vKjJS.js");
52
+ const { buildStaticDevTools } = await import("./build-static-SRf6Mx0K.js");
50
53
  await buildStaticDevTools({
51
54
  context: devtools.context,
52
55
  outDir
@@ -1,5 +1,5 @@
1
- import { a as useLocalStorage } from "../dist-CCdqIez-.js";
2
- import { C as createDockEntryState, E as BUILTIN_ENTRIES, S as DEFAULT_DOCK_PANEL_STORE, T as useDocksEntries, a as triggerMainFrameDockAction, h as docksGroupByCategories, r as registerMainFrameDockActionHandler, v as collectAllKeybindings, w as sharedStateToRef, x as normalizeKeyEvent } from "../popup-DgYOsFy3.js";
1
+ import { s as useLocalStorage } from "../dist-DD29zy1v.js";
2
+ import { C as createDockEntryState, E as BUILTIN_ENTRIES, S as DEFAULT_DOCK_PANEL_STORE, T as useDocksEntries, a as triggerMainFrameDockAction, h as docksGroupByCategories, r as registerMainFrameDockActionHandler, v as collectAllKeybindings, w as sharedStateToRef, x as normalizeKeyEvent } from "../popup-D4DzCx7h.js";
3
3
  import { DEFAULT_STATE_USER_SETTINGS, DEVTOOLS_DOCK_IMPORTS_FILENAME, DEVTOOLS_DOCK_IMPORTS_VIRTUAL_ID, DEVTOOLS_MOUNT_PATH } from "@vitejs/devtools-kit/constants";
4
4
  import { CLIENT_CONTEXT_KEY, getDevToolsRpcClient } from "@vitejs/devtools-kit/client";
5
5
  import { computed, markRaw, reactive, ref, toRefs, watchEffect } from "vue";
@@ -318,7 +318,7 @@ async function createDocksContext(clientType, rpc, panelStore) {
318
318
  title: entry.title,
319
319
  icon: typeof entry.icon === "string" ? entry.icon : void 0,
320
320
  action: () => {
321
- switchEntry(entry.id);
321
+ toggleEntry(entry.id);
322
322
  }
323
323
  };
324
324
  });
@@ -0,0 +1 @@
1
+ import{E as e,F as t,K as n,a as r,d as i,h as a,l as o,n as s,p as c,s as l}from"./runtime-core.esm-bundler-Dfaj58fA.js";import{t as u}from"./iconify-DTCjcGxu.js";var d=[`innerHTML`],f=[`src`],p=a({__name:`IconifyIcon`,props:{icon:{}},setup(i){let a=i,s=r(()=>a.icon.includes(`/`)||a.icon.startsWith(`data:`)||a.icon.startsWith(`builtin:`)),c=r(()=>{if(s.value)return;let e=a.icon.match(/^(?:i-)?([\w-]+):([\w-]+)$/);if(e)return{collection:e[1],icon:e[2]}}),l=n(void 0);return t(async()=>{if(!c.value){l.value=void 0;return}l.value=await u(c.value.collection,c.value.icon)}),(t,n)=>c.value?(e(),o(`div`,{key:0,innerHTML:l.value},null,8,d)):(e(),o(`img`,{key:1,src:i.icon,class:`w-full h-full m-auto`,draggable:`false`},null,8,f))}}),m=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},h={},g={viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function _(t,n){return e(),o(`svg`,g,[...n[0]||=[i(`<g clip-path="url(#clip0_2_2)"><path d="M11.85 20.535C11.7881 20.6144 11.7029 20.6726 11.6064 20.7012C11.5098 20.7298 11.4067 20.7276 11.3115 20.6947C11.2163 20.6619 11.1337 20.6001 11.0754 20.5181C11.017 20.436 10.9858 20.3377 10.986 20.237V15.834C10.986 15.5775 10.8841 15.3316 10.7028 15.1502C10.5214 14.9689 10.2755 14.867 10.019 14.867H5.157C5.06821 14.867 4.98114 14.8426 4.90534 14.7964C4.82954 14.7501 4.76795 14.6839 4.72734 14.6049C4.68673 14.526 4.66866 14.4374 4.67513 14.3488C4.6816 14.2603 4.71235 14.1752 4.764 14.103L7.961 9.62801C8.06459 9.48335 8.12626 9.31291 8.13923 9.13546C8.15219 8.95801 8.11594 8.78042 8.03448 8.62224C7.95301 8.46406 7.82948 8.33143 7.67749 8.23893C7.52549 8.14644 7.35093 8.09768 7.173 8.09801H1.29C1.20122 8.09803 1.11414 8.07359 1.03834 8.02736C0.962542 7.98113 0.900953 7.91489 0.86034 7.83594C0.819727 7.75699 0.801662 7.66837 0.80813 7.57982C0.814597 7.49127 0.845347 7.40622 0.897 7.33401L5.04 1.53301C5.08452 1.46999 5.14358 1.41864 5.21217 1.38331C5.28075 1.34797 5.35685 1.32969 5.434 1.33001H17.782C18.175 1.33001 18.404 1.77501 18.175 2.09401L14.978 6.57001C14.521 7.21001 14.978 8.10001 15.766 8.10001H20.627C21.031 8.10001 21.257 8.56401 21.007 8.88201L11.85 20.535Z" fill="#6254FE"></path><mask id="mask0_2_2" style="mask-type:alpha;" maskUnits="userSpaceOnUse" x="0" y="1" width="22" height="20"><path d="M11.85 20.535C11.7881 20.6144 11.7029 20.6726 11.6064 20.7012C11.5098 20.7298 11.4067 20.7276 11.3115 20.6947C11.2163 20.6619 11.1337 20.6001 11.0754 20.5181C11.017 20.436 10.9858 20.3377 10.986 20.237V15.834C10.986 15.5775 10.8841 15.3316 10.7028 15.1502C10.5214 14.9689 10.2755 14.867 10.019 14.867H5.157C5.06821 14.867 4.98114 14.8426 4.90534 14.7964C4.82954 14.7501 4.76795 14.6839 4.72734 14.6049C4.68673 14.526 4.66866 14.4374 4.67513 14.3488C4.6816 14.2603 4.71235 14.1752 4.764 14.103L7.961 9.62801C8.06459 9.48335 8.12626 9.31291 8.13923 9.13546C8.15219 8.95801 8.11594 8.78042 8.03448 8.62224C7.95301 8.46406 7.82948 8.33143 7.67749 8.23893C7.52549 8.14644 7.35093 8.09768 7.173 8.09801H1.29C1.20122 8.09803 1.11414 8.07359 1.03834 8.02736C0.962542 7.98113 0.900953 7.91489 0.86034 7.83594C0.819727 7.75699 0.801662 7.66837 0.80813 7.57982C0.814597 7.49127 0.845347 7.40622 0.897 7.33401L5.04 1.53301C5.08452 1.46999 5.14358 1.41864 5.21217 1.38331C5.28075 1.34797 5.35685 1.32969 5.434 1.33001H17.782C18.175 1.33001 18.404 1.77501 18.175 2.09401L14.978 6.57001C14.521 7.21001 14.978 8.10001 15.766 8.10001H20.627C21.031 8.10001 21.257 8.56401 21.007 8.88201L11.85 20.535Z" fill="#833BFF"></path></mask><g mask="url(#mask0_2_2)"><g filter="url(#filter0_f_2_2)"><path d="M11.4271 17.1119C11.4313 18.412 8.62134 19.475 5.1508 19.4863C1.68026 19.4975 -1.13659 18.4528 -1.14081 17.1527C-1.14503 15.8526 1.66497 14.7896 5.13551 14.7783C8.60605 14.767 11.4229 15.8118 11.4271 17.1119Z" fill="#EDE6FF"></path></g><g filter="url(#filter1_f_2_2)"><path d="M9.48364 9.06048C9.49161 11.5148 3.78614 13.523 -3.25987 13.5459C-10.3059 13.5688 -16.0243 11.5977 -16.0322 9.14332C-16.0402 6.68898 -10.3347 4.6808 -3.28872 4.65792C3.75729 4.63505 9.47567 6.60614 9.48364 9.06048Z" fill="#EDE6FF"></path></g><g filter="url(#filter2_f_2_2)"><path d="M9.53104 8.43813C9.53526 9.7382 3.70543 10.8111 -3.49025 10.8344C-10.6859 10.8578 -16.5226 9.82279 -16.5268 8.52272C-16.531 7.22265 -10.7012 6.1498 -3.50554 6.12644C3.69014 6.10308 9.52682 7.13806 9.53104 8.43813Z" fill="#4E14FF"></path></g><g filter="url(#filter3_f_2_2)"><path d="M11.5916 16.1293C11.5958 17.4293 5.74448 18.5022 -1.47775 18.5256C-8.69997 18.549 -14.5582 17.5141 -14.5624 16.214C-14.5666 14.9139 -8.71523 13.841 -1.493 13.8176C5.72923 13.7942 11.5874 14.8292 11.5916 16.1293Z" fill="#4E14FF"></path></g><g filter="url(#filter4_f_2_2)"><path d="M12.2473 16.6206C12.2515 17.9206 6.40021 18.9935 -0.821978 19.017C-8.04417 19.0404 -13.9023 18.0055 -13.9066 16.7055C-13.9108 15.4054 -8.05945 14.3325 -0.837261 14.309C6.38493 14.2856 12.2431 15.3205 12.2473 16.6206Z" fill="#4E14FF"></path></g><g filter="url(#filter5_f_2_2)"><path d="M14.047 5.7039C14.2411 2.38813 18.6158 -0.0529585 23.8183 0.251568C29.0207 0.556095 33.0808 3.49092 32.8867 6.80669C32.6926 10.1225 28.3179 12.5635 23.1154 12.259C17.913 11.9545 13.8529 9.01966 14.047 5.7039Z" fill="#EDE6FF"></path></g><g filter="url(#filter6_f_2_2)"><path d="M14.7518 7.88531C14.7376 7.06639 18.8396 6.33138 23.9137 6.2436C28.9879 6.15583 33.1129 6.74854 33.127 7.56745C33.1412 8.38637 29.0392 9.12139 23.965 9.20916C18.8909 9.29693 14.7659 8.70422 14.7518 7.88531Z" fill="#4E14FF"></path></g><g filter="url(#filter7_f_2_2)"><path d="M14.7518 7.88531C14.7376 7.06639 18.8396 6.33138 23.9137 6.2436C28.9879 6.15583 33.1129 6.74854 33.127 7.56745C33.1412 8.38637 29.0392 9.12139 23.965 9.20916C18.8909 9.29693 14.7659 8.70422 14.7518 7.88531Z" fill="#4E14FF"></path></g><g filter="url(#filter8_f_2_2)"><path d="M-6.98848 14.7616C-6.18615 15.4233 -1.99229 11.6626 2.37876 6.362C6.74982 1.06138 9.64283 -3.77199 8.84049 -4.43362C8.03816 -5.09525 3.8443 -1.3346 -0.526755 3.96602C-4.89781 9.26665 -7.79082 14.1 -6.98848 14.7616Z" fill="#4E14FF"></path></g><g filter="url(#filter9_f_2_2)"><path d="M13.4305 8.5449C14.2512 9.18361 18.3372 5.30605 22.5568 -0.115883C26.7764 -5.53781 29.5318 -10.4509 28.7111 -11.0896C27.8904 -11.7284 23.8044 -7.8508 19.5848 -2.42887C15.3651 2.99306 12.6098 7.90619 13.4305 8.5449Z" fill="#4E14FF"></path></g><g filter="url(#filter10_f_2_2)"><path d="M14.9501 9.73878C16.4926 10.9392 19.2111 10.026 21.0221 7.69897C22.8331 5.37198 23.0507 2.51245 21.5083 1.31202C19.9658 0.111596 17.2473 1.02485 15.4363 3.35184C13.6253 5.67882 13.4077 8.53835 14.9501 9.73878Z" fill="#2BFDD2"></path></g><g filter="url(#filter11_f_2_2)"><path d="M-7.68233 27.5293C-6.86163 28.168 -2.77563 24.2904 1.44401 18.8685C5.66365 13.4466 8.41904 8.53346 7.59834 7.89474C6.77764 7.25603 2.69164 11.1336 -1.528 16.5555C-5.74764 21.9775 -8.50303 26.8906 -7.68233 27.5293Z" fill="#4E14FF"></path></g><g filter="url(#filter12_f_2_2)"><path d="M-7.68233 27.5293C-6.86163 28.168 -2.77563 24.2904 1.44401 18.8685C5.66365 13.4466 8.41904 8.53346 7.59834 7.89474C6.77764 7.25603 2.69164 11.1336 -1.528 16.5555C-5.74764 21.9775 -8.50303 26.8906 -7.68233 27.5293Z" fill="#4E14FF"></path></g><g filter="url(#filter13_f_2_2)"><path d="M8.26366 23.8563C9.13579 24.535 13.2635 20.6899 17.4831 15.268C21.7028 9.84604 24.4165 4.90047 23.5443 4.22173C22.6722 3.54299 18.5445 7.38811 14.3249 12.81C10.1052 18.232 7.39153 23.1775 8.26366 23.8563Z" fill="#4E14FF"></path></g><g filter="url(#filter14_f_2_2)"><path d="M12.2866 22.5389C13.7846 23.7047 17.4746 21.4689 20.5284 17.5449C23.5822 13.621 24.8434 9.49495 23.3454 8.32912C21.8474 7.16329 18.1574 9.39917 15.1036 13.3231C12.0498 17.247 10.7886 21.3731 12.2866 22.5389Z" fill="#2BFDD2"></path></g></g></g><defs><filter id="filter0_f_2_2" x="-7.68682" y="8.2322" width="25.6599" height="17.8002" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="3.273" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter1_f_2_2" x="-22.5782" y="-1.88827" width="38.6079" height="21.9804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="3.273" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter2_f_2_2" x="-20.4548" y="2.19805" width="33.9139" height="12.5647" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter3_f_2_2" x="-18.4904" y="9.88925" width="34.01" height="12.5648" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter4_f_2_2" x="-17.8346" y="10.3806" width="34.0099" height="12.5648" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter5_f_2_2" x="7.4943" y="-6.32009" width="31.9451" height="25.1508" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="3.273" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter6_f_2_2" x="10.8237" y="2.30699" width="26.2313" height="10.8388" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter7_f_2_2" x="10.8237" y="2.30699" width="26.2313" height="10.8388" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter8_f_2_2" x="-11.0501" y="-8.43711" width="23.9523" height="27.2022" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter9_f_2_2" x="9.35783" y="-15.0865" width="23.4259" height="27.6282" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter10_f_2_2" x="9.99386" y="-3.14457" width="16.4707" height="17.3399" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter11_f_2_2" x="-11.755" y="3.89791" width="23.4259" height="27.6282" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter12_f_2_2" x="-11.755" y="3.89791" width="23.4259" height="27.6282" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter13_f_2_2" x="4.17262" y="0.216058" width="23.4628" height="27.6459" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter14_f_2_2" x="7.72776" y="4.09222" width="20.1765" height="22.6836" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><clipPath id="clip0_2_2"><rect width="22" height="22" fill="white"></rect></clipPath></defs>`,2)]])}var v=m(h,[[`render`,_]]),y={key:1},b=a({__name:`DockIcon`,props:{icon:{},title:{}},setup(t){let n=t,i=r(()=>typeof n.icon==`string`?{dark:n.icon,light:n.icon}:n.icon);return(n,r)=>i.value.light===`builtin:vite-plus-core`?(e(),l(v,{key:0})):(e(),o(`div`,y,[i.value.light===i.value.dark?(e(),l(p,{key:0,icon:i.value.light,title:t.title},null,8,[`icon`,`title`])):(e(),o(s,{key:1},[c(p,{class:`dark-hidden`,icon:i.value.light,title:t.title},null,8,[`icon`,`title`]),c(p,{class:`light-hidden`,icon:i.value.dark,title:t.title},null,8,[`icon`,`title`])],64))]))}});export{m as n,b as t};