vite-plugin-vue-devtools 1.0.0-rc.1 → 1.0.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +1 -0
  2. package/dist/client/assets/{DrawerRight.vue_vue_type_script_setup_true_lang-f3b99e51.js → DrawerRight.vue_vue_type_script_setup_true_lang-d1e6f85b.js} +2 -2
  3. package/dist/client/assets/{Icon.vue_vue_type_script_setup_true_lang-97c3d5f5.js → Icon.vue_vue_type_script_setup_true_lang-7a243fe7.js} +1 -1
  4. package/dist/client/assets/{IconButton.vue_vue_type_script_setup_true_lang-81ff118b.js → IconButton.vue_vue_type_script_setup_true_lang-2c80611a.js} +2 -2
  5. package/dist/client/assets/{IconTitle.vue_vue_type_script_setup_true_lang-71d65897.js → IconTitle.vue_vue_type_script_setup_true_lang-18ded317.js} +1 -1
  6. package/dist/client/assets/{IframeView.vue_vue_type_script_setup_true_lang-f8581632.js → IframeView.vue_vue_type_script_setup_true_lang-6dcf68c7.js} +3 -4
  7. package/dist/client/assets/{PanelGrids-9b1737bf.js → PanelGrids-41d52aca.js} +1 -1
  8. package/dist/client/assets/{SectionBlock-c6b654ee.js → SectionBlock-3134845a.js} +3 -3
  9. package/dist/client/assets/{StateFields.vue_vue_type_script_setup_true_lang-14c58c4a.js → StateFields.vue_vue_type_script_setup_true_lang-4cfe51d6.js} +4 -4
  10. package/dist/client/assets/{Switch.vue_vue_type_script_setup_true_lang-9ca7d77b.js → Switch.vue_vue_type_script_setup_true_lang-9848bfba.js} +2 -2
  11. package/dist/client/assets/{TextInput.vue_vue_type_script_setup_true_lang-0e3abe17.js → TextInput.vue_vue_type_script_setup_true_lang-2329528e.js} +2 -2
  12. package/dist/client/assets/{__eyedropper-1f0dacf9.js → __eyedropper-acc3f123.js} +5 -5
  13. package/dist/client/assets/{assets-e4cc2910.js → assets-8e0d913e.js} +129 -98
  14. package/dist/client/assets/{component-docs-a715a4ed.js → component-docs-140a135c.js} +5 -5
  15. package/dist/client/assets/{components-992ca52a.js → components-f343b0c5.js} +37 -19
  16. package/dist/client/assets/{data-9b4ec124.js → data-edfb31c7.js} +1 -1
  17. package/dist/client/assets/{documentations-68a7dfd6.js → documentations-a11c5bfb.js} +2 -2
  18. package/dist/client/assets/{graph-a7a8a235.js → graph-bb57d727.js} +3 -3
  19. package/dist/client/assets/index-1634d25d.css +481 -0
  20. package/dist/client/assets/{index-889cc607.js → index-42385ed9.js} +168 -433
  21. package/dist/client/assets/{index-1492f621.js → index-ce1fcb24.js} +1 -1
  22. package/dist/client/assets/{inspect-f106f4d5.js → inspect-a7dbf486.js} +2 -2
  23. package/dist/client/assets/jse-theme-dark-a247d7ba.js +1555 -0
  24. package/dist/client/assets/{npm-e1ff330c.js → npm-e7ef5f2a.js} +5 -5
  25. package/dist/client/assets/{overview-25e5292f.js → overview-5648284b.js} +4 -4
  26. package/dist/client/assets/{pages-7ec27b16.js → pages-8b2e9d9b.js} +8 -8
  27. package/dist/client/assets/{pinia-ef702857.js → pinia-99ac02bc.js} +7 -6
  28. package/dist/client/assets/{rerender-trace-7f6b7111.js → rerender-trace-8eb716f9.js} +2 -2
  29. package/dist/client/assets/{routes-8f44e4e7.js → routes-e1588547.js} +7 -7
  30. package/dist/client/assets/{settings-97fecf00.js → settings-bf16021b.js} +7 -7
  31. package/dist/client/assets/{splitpanes.es-92597b34.js → splitpanes.es-96ad8842.js} +1 -1
  32. package/dist/client/assets/{timeline-f92ab33a.js → timeline-b813fce8.js} +7 -7
  33. package/dist/client/index.html +2 -2
  34. package/dist/vite.cjs +4 -4
  35. package/dist/vite.d.cts +29 -0
  36. package/dist/vite.d.mts +29 -0
  37. package/dist/vite.d.ts +1 -1
  38. package/dist/vite.mjs +3 -3
  39. package/package.json +6 -6
  40. package/src/views/composables.ts +1 -1
  41. package/dist/client/assets/index-4490b2f3.css +0 -480
  42. package/dist/client/assets/jse-theme-dark-4f3f2034.js +0 -1555
package/README.md CHANGED
@@ -12,6 +12,7 @@ English | <a href="./README.zh-CN.md">简体中文</a>
12
12
  <p align="center">
13
13
  <a href="https://www.npmjs.com/package/vite-plugin-vue-devtools" target="_blank" rel="noopener noreferrer"><img src="https://badgen.net/npm/v/vite-plugin-vue-devtools" alt="NPM Version" /></a>
14
14
  <a href="https://www.npmjs.com/package/vite-plugin-vue-devtools" target="_blank" rel="noopener noreferrer"><img src="https://badgen.net/npm/dt/vite-plugin-vue-devtools" alt="NPM Downloads" /></a>
15
+ <a href="https://www.npmjs.com/package/vite-plugin-vue-devtools" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/node/v/vite-plugin-vue-devtools" alt="Node Compatibility" /></a>
15
16
  <a href="https://github.com/webfansplz/vite-plugin-vue-devtools/blob/main/LICENSE" target="_blank" rel="noopener noreferrer"><img src="https://badgen.net/github/license/webfansplz/vite-plugin-vue-devtools" alt="License" /></a>
16
17
  </p>
17
18
 
@@ -1,5 +1,5 @@
1
- import { _ as _sfc_main$1 } from './IconButton.vue_vue_type_script_setup_true_lang-81ff118b.js';
2
- import { v as defineComponent, a$ as ref, cE as useElementSize, cd as onClickOutside, o as openBlock, c as createBlock, h as withCtx, e as createElementBlock, u as createVNode, x as createBaseVNode, f as renderSlot, k as mergeProps, z as unref, g as createCommentVNode, P as Transition } from './index-889cc607.js';
1
+ import { _ as _sfc_main$1 } from './IconButton.vue_vue_type_script_setup_true_lang-2c80611a.js';
2
+ import { v as defineComponent, a$ as ref, cE as useElementSize, cd as onClickOutside, o as openBlock, c as createBlock, h as withCtx, e as createElementBlock, u as createVNode, x as createBaseVNode, f as renderSlot, k as mergeProps, z as unref, g as createCommentVNode, P as Transition } from './index-42385ed9.js';
3
3
 
4
4
  const _hoisted_1 = {
5
5
  relative: "",
@@ -1,4 +1,4 @@
1
- import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-889cc607.js';
1
+ import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass } from './index-42385ed9.js';
2
2
 
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "Icon",
@@ -1,5 +1,5 @@
1
- import { _ as _sfc_main$1 } from './Icon.vue_vue_type_script_setup_true_lang-97c3d5f5.js';
2
- import { v as defineComponent, o as openBlock, c as createBlock, h as withCtx, u as createVNode, k as mergeProps, j as resolveDynamicComponent } from './index-889cc607.js';
1
+ import { _ as _sfc_main$1 } from './Icon.vue_vue_type_script_setup_true_lang-7a243fe7.js';
2
+ import { v as defineComponent, o as openBlock, c as createBlock, h as withCtx, u as createVNode, k as mergeProps, j as resolveDynamicComponent } from './index-42385ed9.js';
3
3
 
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "IconButton",
@@ -1,4 +1,4 @@
1
- import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass, g as createCommentVNode, f as renderSlot, x as createBaseVNode, y as toDisplayString } from './index-889cc607.js';
1
+ import { v as defineComponent, o as openBlock, e as createElementBlock, q as normalizeClass, g as createCommentVNode, f as renderSlot, x as createBaseVNode, y as toDisplayString } from './index-42385ed9.js';
2
2
 
3
3
  const _hoisted_1 = {
4
4
  flex: "~ gap-3",
@@ -1,4 +1,4 @@
1
- import { v as defineComponent, ca as useColorMode, a$ as ref, a1 as computed, aZ as reactive, cs as useElementBounding, aP as onMounted, n as nextTick, bz as watchEffect, aU as onUnmounted, o as openBlock, e as createElementBlock, z as unref, g as createCommentVNode, x as createBaseVNode } from './index-889cc607.js';
1
+ import { v as defineComponent, ca as useColorMode, a$ as ref, a1 as computed, aZ as reactive, cs as useElementBounding, aP as onMounted, n as nextTick, bz as watchEffect, aU as onUnmounted, o as openBlock, e as createElementBlock, z as unref, g as createCommentVNode, x as createBaseVNode } from './index-42385ed9.js';
2
2
 
3
3
  const _hoisted_1 = {
4
4
  key: 0,
@@ -30,6 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
30
30
  if (iframeCacheMap.get(key.value)) {
31
31
  iframeEl.value = iframeCacheMap.get(key.value);
32
32
  iframeEl.value.style.visibility = "visible";
33
+ iframeLoaded.value = true;
33
34
  } else {
34
35
  iframeEl.value = document.createElement("iframe");
35
36
  iframeCacheMap.set(key.value, iframeEl.value);
@@ -52,10 +53,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
52
53
  watchEffect(updateIframeBox);
53
54
  watchEffect(syncColorMode);
54
55
  onUnmounted(() => {
55
- if (iframeEl.value) {
56
+ if (iframeEl.value)
56
57
  iframeEl.value.style.visibility = "hidden";
57
- iframeLoaded.value = false;
58
- }
59
58
  });
60
59
  function syncColorMode() {
61
60
  if (!iframeEl.value || !iframeEl.value.contentWindow)
@@ -1,4 +1,4 @@
1
- import { bJ as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-889cc607.js';
1
+ import { bJ as _export_sfc, o as openBlock, e as createElementBlock, f as renderSlot } from './index-42385ed9.js';
2
2
 
3
3
  /* unplugin-vue-components disabled */const _sfc_main = {};
4
4
 
@@ -1,6 +1,6 @@
1
- import { _ as _sfc_main$1 } from './IconTitle.vue_vue_type_script_setup_true_lang-71d65897.js';
2
- import { _ as _sfc_main$2 } from './Icon.vue_vue_type_script_setup_true_lang-97c3d5f5.js';
3
- import { v as defineComponent, bK as useVModel, b as resolveDirective, o as openBlock, e as createElementBlock, x as createBaseVNode, q as normalizeClass, u as createVNode, h as withCtx, f as renderSlot, g as createCommentVNode, c as createBlock, z as unref, d as withDirectives, F as Fragment, a9 as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId, bJ as _export_sfc } from './index-889cc607.js';
1
+ import { _ as _sfc_main$1 } from './IconTitle.vue_vue_type_script_setup_true_lang-18ded317.js';
2
+ import { _ as _sfc_main$2 } from './Icon.vue_vue_type_script_setup_true_lang-7a243fe7.js';
3
+ import { v as defineComponent, bK as useVModel, b as resolveDirective, o as openBlock, e as createElementBlock, x as createBaseVNode, q as normalizeClass, u as createVNode, h as withCtx, f as renderSlot, g as createCommentVNode, c as createBlock, z as unref, d as withDirectives, F as Fragment, a9 as createTextVNode, y as toDisplayString, p as pushScopeId, a as popScopeId, bJ as _export_sfc } from './index-42385ed9.js';
4
4
 
5
5
  const _withScopeId = (n) => (pushScopeId("data-v-e966339e"), n = n(), popScopeId(), n);
6
6
  const _hoisted_1 = ["open"];
@@ -1,7 +1,7 @@
1
- import { _ as _sfc_main$3 } from './Icon.vue_vue_type_script_setup_true_lang-97c3d5f5.js';
2
- import { v as defineComponent, o as openBlock, c as createBlock, q as normalizeClass, aC as isRef, bd as toRaw, a1 as computed, cw as useCopy, r as resolveComponent, e as createElementBlock, i as renderList, z as unref, cx as nanoid, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, F as Fragment, a$ as ref, cy as useNotification, u as createVNode, bG as withModifiers, d as withDirectives, bv as vShow } from './index-889cc607.js';
3
- import { a as isComputed, b as isArray, c as isMap, d as isSet, e as isRegExp, t as toRawType, f as isPlainObject, g as escape } from './index-1492f621.js';
4
- import { _ as _sfc_main$4 } from './IconButton.vue_vue_type_script_setup_true_lang-81ff118b.js';
1
+ import { _ as _sfc_main$3 } from './Icon.vue_vue_type_script_setup_true_lang-7a243fe7.js';
2
+ import { v as defineComponent, o as openBlock, c as createBlock, q as normalizeClass, aC as isRef, bd as toRaw, a1 as computed, cw as useCopy, r as resolveComponent, e as createElementBlock, i as renderList, z as unref, cx as nanoid, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, F as Fragment, a$ as ref, cy as useNotification, u as createVNode, bG as withModifiers, d as withDirectives, bv as vShow } from './index-42385ed9.js';
3
+ import { a as isComputed, b as isArray, c as isMap, d as isSet, e as isRegExp, t as toRawType, f as isPlainObject, g as escape } from './index-ce1fcb24.js';
4
+ import { _ as _sfc_main$4 } from './IconButton.vue_vue_type_script_setup_true_lang-2c80611a.js';
5
5
 
6
6
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7
7
  __name: "ExpandIcon",
@@ -1,5 +1,5 @@
1
- import { _ as _sfc_main$2 } from './Icon.vue_vue_type_script_setup_true_lang-97c3d5f5.js';
2
- import { v as defineComponent, bK as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, bt as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, aC as isRef, c as createBlock, bq as vModelCheckbox, bE as withKeys } from './index-889cc607.js';
1
+ import { _ as _sfc_main$2 } from './Icon.vue_vue_type_script_setup_true_lang-7a243fe7.js';
2
+ import { v as defineComponent, bK as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, bt as vModelSelect, z as unref, x as createBaseVNode, y as toDisplayString, g as createCommentVNode, aC as isRef, c as createBlock, bq as vModelCheckbox, bE as withKeys } from './index-42385ed9.js';
3
3
 
4
4
  const _hoisted_1$1 = { class: "n-text-input flex flex items-center border n-border-base rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base" };
5
5
  const _hoisted_2$1 = ["disabled"];
@@ -1,5 +1,5 @@
1
- import { _ as _sfc_main$1 } from './Icon.vue_vue_type_script_setup_true_lang-97c3d5f5.js';
2
- import { v as defineComponent, bK as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, br as vModelDynamic, z as unref, x as createBaseVNode, k as mergeProps, aC as isRef, c as createBlock, g as createCommentVNode } from './index-889cc607.js';
1
+ import { _ as _sfc_main$1 } from './Icon.vue_vue_type_script_setup_true_lang-7a243fe7.js';
2
+ import { v as defineComponent, bK as useVModel, o as openBlock, e as createElementBlock, f as renderSlot, d as withDirectives, br as vModelDynamic, z as unref, x as createBaseVNode, k as mergeProps, aC as isRef, c as createBlock, g as createCommentVNode } from './index-42385ed9.js';
3
3
 
4
4
  const _hoisted_1 = { class: "n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base" };
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,6 +1,6 @@
1
- import { _ as __unplugin_components_0 } from './PanelGrids-9b1737bf.js';
2
- import { v as defineComponent, cF as useRouter, a$ as ref, a1 as computed, cw as useCopy, cj as useEventListener, aP as onMounted, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, z as unref, e as createElementBlock, l as normalizeStyle, a9 as createTextVNode, y as toDisplayString, c5 as useDevToolsClient, bX as useFrameState, u as createVNode } from './index-889cc607.js';
3
- import { h as checkIsSecurityContext } from './index-1492f621.js';
1
+ import { _ as __unplugin_components_0 } from './PanelGrids-41d52aca.js';
2
+ import { v as defineComponent, cF as useRouter, a$ as ref, a1 as computed, cw as useCopy, cj as useEventListener, aP as onMounted, o as openBlock, c as createBlock, h as withCtx, x as createBaseVNode, z as unref, e as createElementBlock, l as normalizeStyle, a9 as createTextVNode, y as toDisplayString, c5 as useDevToolsClient, bX as useFrameState, u as createVNode } from './index-42385ed9.js';
3
+ import { h as checkIsSecurityContext } from './index-ce1fcb24.js';
4
4
 
5
5
  const _hoisted_1 = {
6
6
  key: 0
@@ -76,13 +76,13 @@ const _sfc_main = /*#__PURE__*/defineComponent({
76
76
  content = createVNode("p", null, [createTextVNode("EyeDropper is not available due to "), createVNode("a", {
77
77
  "class": "text-primary transition-colors hover:text-primary/80",
78
78
  "href": "https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts",
79
- "target": '_blank'
79
+ "target": "_blank"
80
80
  }, [createTextVNode("secure context")]), createTextVNode(" restrict.")]);
81
81
  } else if (!supportEyeDropper) {
82
82
  content = createVNode("p", null, [createTextVNode("Your browser doesn't support\xA0"), createVNode("a", {
83
83
  "class": "text-primary transition-colors hover:text-primary/80",
84
84
  "href": "https://developer.mozilla.org/en-US/docs/Web/API/EyeDropper#browser_compatibility",
85
- "target": '_blank'
85
+ "target": "_blank"
86
86
  }, [createTextVNode("EyeDropper")]), createTextVNode(".")]);
87
87
  }
88
88
  return createVNode("div", {
@@ -1,12 +1,12 @@
1
- import { _ as __unplugin_components_0 } from './PanelGrids-9b1737bf.js';
2
- import { v as defineComponent, a1 as computed, o as openBlock, e as createElementBlock, y as toDisplayString, z as unref, q as normalizeClass, cz as useStyleTag, l as normalizeStyle, c as createBlock, x as createBaseVNode, bK as useVModel, cy as useNotification, cA as computedAsync, cw as useCopy, cB as useTimeAgo, a$ as ref, F as Fragment, u as createVNode, g as createCommentVNode, a9 as createTextVNode, h as withCtx, aC as isRef, cg as rpc, c5 as useDevToolsClient, bL as _sfc_main$9, bM as _sfc_main$a, r as resolveComponent, f as renderSlot, i as renderList, cC as onKeyDown, ck as hookApi, c6 as rootPath, _ as __unplugin_components_7, cD as useDebounceFn } from './index-889cc607.js';
3
- import { _ as _sfc_main$d } from './DrawerRight.vue_vue_type_script_setup_true_lang-f3b99e51.js';
4
- import { _ as _sfc_main$b } from './TextInput.vue_vue_type_script_setup_true_lang-0e3abe17.js';
5
- import { _ as _sfc_main$8 } from './IconButton.vue_vue_type_script_setup_true_lang-81ff118b.js';
6
- import { _ as _sfc_main$c } from './Icon.vue_vue_type_script_setup_true_lang-97c3d5f5.js';
7
- import { _ as __unplugin_components_3 } from './SectionBlock-c6b654ee.js';
1
+ import { _ as __unplugin_components_0 } from './PanelGrids-41d52aca.js';
2
+ import { v as defineComponent, a1 as computed, o as openBlock, e as createElementBlock, y as toDisplayString, z as unref, q as normalizeClass, cz as useStyleTag, l as normalizeStyle, c as createBlock, x as createBaseVNode, bK as useVModel, cy as useNotification, cA as computedAsync, cw as useCopy, cB as useTimeAgo, a$ as ref, F as Fragment, u as createVNode, g as createCommentVNode, a9 as createTextVNode, h as withCtx, aC as isRef, cg as rpc, c5 as useDevToolsClient, bL as _sfc_main$9, bM as _sfc_main$a, r as resolveComponent, f as renderSlot, i as renderList, cC as onKeyDown, ck as hookApi, c6 as rootPath, _ as __unplugin_components_7, cD as useDebounceFn } from './index-42385ed9.js';
3
+ import { _ as _sfc_main$d } from './DrawerRight.vue_vue_type_script_setup_true_lang-d1e6f85b.js';
4
+ import { _ as _sfc_main$b } from './TextInput.vue_vue_type_script_setup_true_lang-2329528e.js';
5
+ import { _ as _sfc_main$8 } from './IconButton.vue_vue_type_script_setup_true_lang-2c80611a.js';
6
+ import { _ as _sfc_main$c } from './Icon.vue_vue_type_script_setup_true_lang-7a243fe7.js';
7
+ import { _ as __unplugin_components_3 } from './SectionBlock-3134845a.js';
8
8
  import { F as Fuse } from './fuse.esm-c317b696.js';
9
- import './IconTitle.vue_vue_type_script_setup_true_lang-71d65897.js';
9
+ import './IconTitle.vue_vue_type_script_setup_true_lang-18ded317.js';
10
10
 
11
11
  const _hoisted_1$6 = ["title"];
12
12
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
@@ -34,30 +34,42 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
34
34
 
35
35
  /* Injected with object hook! */
36
36
 
37
- const defaults = {
37
+ const defaults = Object.freeze({
38
38
  ignoreUnknown: false,
39
39
  respectType: false,
40
40
  respectFunctionNames: false,
41
41
  respectFunctionProperties: false,
42
42
  unorderedObjects: true,
43
43
  unorderedArrays: false,
44
- unorderedSets: false
45
- };
46
- function objectHash(object, options = {}) {
47
- options = { ...defaults, ...options };
44
+ unorderedSets: false,
45
+ excludeKeys: void 0,
46
+ excludeValues: void 0,
47
+ replacer: void 0
48
+ });
49
+ function objectHash(object, options) {
50
+ if (options) {
51
+ options = { ...defaults, ...options };
52
+ } else {
53
+ options = defaults;
54
+ }
48
55
  const hasher = createHasher(options);
49
56
  hasher.dispatch(object);
50
57
  return hasher.toString();
51
58
  }
59
+ const defaultPrototypesKeys = Object.freeze([
60
+ "prototype",
61
+ "__proto__",
62
+ "constructor"
63
+ ]);
52
64
  function createHasher(options) {
53
- const buff = [];
54
- let context = [];
65
+ let buff = "";
66
+ let context = /* @__PURE__ */ new Map();
55
67
  const write = (str) => {
56
- buff.push(str);
68
+ buff += str;
57
69
  };
58
70
  return {
59
71
  toString() {
60
- return buff.join("");
72
+ return buff;
61
73
  },
62
74
  getContext() {
63
75
  return context;
@@ -67,58 +79,73 @@ function createHasher(options) {
67
79
  value = options.replacer(value);
68
80
  }
69
81
  const type = value === null ? "null" : typeof value;
70
- return this["_" + type](value);
82
+ return this[type](value);
71
83
  },
72
- _object(object) {
84
+ object(object) {
73
85
  if (object && typeof object.toJSON === "function") {
74
- return this._object(object.toJSON());
86
+ return this.object(object.toJSON());
75
87
  }
76
- const pattern = /\[object (.*)]/i;
77
88
  const objString = Object.prototype.toString.call(object);
78
- const _objType = pattern.exec(objString);
79
- const objType = _objType ? _objType[1].toLowerCase() : "unknown:[" + objString.toLowerCase() + "]";
89
+ let objType = "";
90
+ const objectLength = objString.length;
91
+ if (objectLength < 10) {
92
+ objType = "unknown:[" + objString + "]";
93
+ } else {
94
+ objType = objString.slice(8, objectLength - 1);
95
+ }
96
+ objType = objType.toLowerCase();
80
97
  let objectNumber = null;
81
- if ((objectNumber = context.indexOf(object)) >= 0) {
82
- return this.dispatch("[CIRCULAR:" + objectNumber + "]");
98
+ if ((objectNumber = context.get(object)) === void 0) {
99
+ context.set(object, context.size);
83
100
  } else {
84
- context.push(object);
101
+ return this.dispatch("[CIRCULAR:" + objectNumber + "]");
85
102
  }
86
103
  if (typeof Buffer !== "undefined" && Buffer.isBuffer && Buffer.isBuffer(object)) {
87
104
  write("buffer:");
88
105
  return write(object.toString("utf8"));
89
106
  }
90
107
  if (objType !== "object" && objType !== "function" && objType !== "asyncfunction") {
91
- if (this["_" + objType]) {
92
- this["_" + objType](object);
108
+ if (this[objType]) {
109
+ this[objType](object);
93
110
  } else if (!options.ignoreUnknown) {
94
- this._unkown(object, objType);
111
+ this.unkown(object, objType);
95
112
  }
96
113
  } else {
97
114
  let keys = Object.keys(object);
98
115
  if (options.unorderedObjects) {
99
116
  keys = keys.sort();
100
117
  }
118
+ let extraKeys = [];
101
119
  if (options.respectType !== false && !isNativeFunction(object)) {
102
- keys.splice(0, 0, "prototype", "__proto__", "letructor");
120
+ extraKeys = defaultPrototypesKeys;
103
121
  }
104
122
  if (options.excludeKeys) {
105
- keys = keys.filter(function(key) {
123
+ keys = keys.filter((key) => {
124
+ return !options.excludeKeys(key);
125
+ });
126
+ extraKeys = extraKeys.filter((key) => {
106
127
  return !options.excludeKeys(key);
107
128
  });
108
129
  }
109
- write("object:" + keys.length + ":");
110
- for (const key of keys) {
130
+ write("object:" + (keys.length + extraKeys.length) + ":");
131
+ const dispatchForKey = (key) => {
111
132
  this.dispatch(key);
112
133
  write(":");
113
134
  if (!options.excludeValues) {
114
135
  this.dispatch(object[key]);
115
136
  }
116
137
  write(",");
138
+ };
139
+ for (const key of keys) {
140
+ dispatchForKey(key);
141
+ }
142
+ for (const key of extraKeys) {
143
+ dispatchForKey(key);
117
144
  }
118
145
  }
119
146
  },
120
- _array(arr, unordered) {
121
- unordered = typeof unordered !== "undefined" ? unordered : options.unorderedArrays !== false;
147
+ array(arr, unordered) {
148
+ unordered = unordered === void 0 ? options.unorderedArrays !== false : unordered;
122
149
  write("array:" + arr.length + ":");
123
150
  if (!unordered || arr.length <= 1) {
124
151
  for (const entry of arr) {
@@ -126,48 +153,50 @@ function createHasher(options) {
126
153
  }
127
154
  return;
128
155
  }
129
- const contextAdditions = [];
156
+ const contextAdditions = /* @__PURE__ */ new Map();
130
157
  const entries = arr.map((entry) => {
131
158
  const hasher = createHasher(options);
132
159
  hasher.dispatch(entry);
133
- contextAdditions.push(hasher.getContext());
160
+ for (const [key, value] of hasher.getContext()) {
161
+ contextAdditions.set(key, value);
162
+ }
134
163
  return hasher.toString();
135
164
  });
136
- context = [...context, ...contextAdditions];
165
+ context = contextAdditions;
137
166
  entries.sort();
138
- return this._array(entries, false);
167
+ return this.array(entries, false);
139
168
  },
140
- _date(date) {
169
+ date(date) {
141
170
  return write("date:" + date.toJSON());
142
171
  },
143
- _symbol(sym) {
172
+ symbol(sym) {
144
173
  return write("symbol:" + sym.toString());
145
174
  },
146
- _unkown(value, type) {
175
+ unkown(value, type) {
147
176
  write(type);
148
177
  if (!value) {
149
178
  return;
150
179
  }
151
180
  write(":");
152
181
  if (value && typeof value.entries === "function") {
153
- return this._array(
182
+ return this.array(
154
183
  Array.from(value.entries()),
155
184
  true
156
185
  /* ordered */
157
186
  );
158
187
  }
159
188
  },
160
- _error(err) {
189
+ error(err) {
161
190
  return write("error:" + err.toString());
162
191
  },
163
- _boolean(bool) {
164
- return write("bool:" + bool.toString());
192
+ boolean(bool) {
193
+ return write("bool:" + bool);
165
194
  },
166
- _string(string) {
195
+ string(string) {
167
196
  write("string:" + string.length + ":");
168
- write(string.toString());
197
+ write(string);
169
198
  },
170
- _function(fn) {
199
+ function(fn) {
171
200
  write("fn:");
172
201
  if (isNativeFunction(fn)) {
173
202
  this.dispatch("[native]");
@@ -178,82 +207,82 @@ function createHasher(options) {
178
207
  this.dispatch("function-name:" + String(fn.name));
179
208
  }
180
209
  if (options.respectFunctionProperties) {
181
- this._object(fn);
210
+ this.object(fn);
182
211
  }
183
212
  },
184
- _number(number) {
185
- return write("number:" + number.toString());
213
+ number(number) {
214
+ return write("number:" + number);
186
215
  },
187
- _xml(xml) {
216
+ xml(xml) {
188
217
  return write("xml:" + xml.toString());
189
218
  },
190
- _null() {
219
+ null() {
191
220
  return write("Null");
192
221
  },
193
- _undefined() {
222
+ undefined() {
194
223
  return write("Undefined");
195
224
  },
196
- _regexp(regex) {
225
+ regexp(regex) {
197
226
  return write("regex:" + regex.toString());
198
227
  },
199
- _uint8array(arr) {
228
+ uint8array(arr) {
200
229
  write("uint8array:");
201
230
  return this.dispatch(Array.prototype.slice.call(arr));
202
231
  },
203
- _uint8clampedarray(arr) {
232
+ uint8clampedarray(arr) {
204
233
  write("uint8clampedarray:");
205
234
  return this.dispatch(Array.prototype.slice.call(arr));
206
235
  },
207
- _int8array(arr) {
236
+ int8array(arr) {
208
237
  write("int8array:");
209
238
  return this.dispatch(Array.prototype.slice.call(arr));
210
239
  },
211
- _uint16array(arr) {
240
+ uint16array(arr) {
212
241
  write("uint16array:");
213
242
  return this.dispatch(Array.prototype.slice.call(arr));
214
243
  },
215
- _int16array(arr) {
244
+ int16array(arr) {
216
245
  write("int16array:");
217
246
  return this.dispatch(Array.prototype.slice.call(arr));
218
247
  },
219
- _uint32array(arr) {
248
+ uint32array(arr) {
220
249
  write("uint32array:");
221
250
  return this.dispatch(Array.prototype.slice.call(arr));
222
251
  },
223
- _int32array(arr) {
252
+ int32array(arr) {
224
253
  write("int32array:");
225
254
  return this.dispatch(Array.prototype.slice.call(arr));
226
255
  },
227
- _float32array(arr) {
256
+ float32array(arr) {
228
257
  write("float32array:");
229
258
  return this.dispatch(Array.prototype.slice.call(arr));
230
259
  },
231
- _float64array(arr) {
260
+ float64array(arr) {
232
261
  write("float64array:");
233
262
  return this.dispatch(Array.prototype.slice.call(arr));
234
263
  },
235
- _arraybuffer(arr) {
264
+ arraybuffer(arr) {
236
265
  write("arraybuffer:");
237
266
  return this.dispatch(new Uint8Array(arr));
238
267
  },
239
- _url(url) {
268
+ url(url) {
240
269
  return write("url:" + url.toString());
241
270
  },
242
- _map(map) {
271
+ map(map) {
243
272
  write("map:");
244
273
  const arr = [...map];
245
- return this._array(arr, options.unorderedSets !== false);
274
+ return this.array(arr, options.unorderedSets !== false);
246
275
  },
247
- _set(set) {
276
+ set(set) {
248
277
  write("set:");
249
278
  const arr = [...set];
250
- return this._array(arr, options.unorderedSets !== false);
279
+ return this.array(arr, options.unorderedSets !== false);
251
280
  },
252
- _file(file) {
281
+ file(file) {
253
282
  write("file:");
254
283
  return this.dispatch([file.name, file.size, file.type, file.lastModfied]);
255
284
  },
256
- _blob() {
285
+ blob() {
257
286
  if (options.ignoreUnknown) {
258
287
  return write("[blob]");
259
288
  }
@@ -261,78 +290,79 @@ function createHasher(options) {
261
290
  'Hashing Blob objects is currently not supported\nUse "options.replacer" or "options.ignoreUnknown"\n'
262
291
  );
263
292
  },
264
- _domwindow() {
293
+ domwindow() {
265
294
  return write("domwindow");
266
295
  },
267
- _bigint(number) {
296
+ bigint(number) {
268
297
  return write("bigint:" + number.toString());
269
298
  },
270
299
  /* Node.js standard native objects */
271
- _process() {
300
+ process() {
272
301
  return write("process");
273
302
  },
274
- _timer() {
303
+ timer() {
275
304
  return write("timer");
276
305
  },
277
- _pipe() {
306
+ pipe() {
278
307
  return write("pipe");
279
308
  },
280
- _tcp() {
309
+ tcp() {
281
310
  return write("tcp");
282
311
  },
283
- _udp() {
312
+ udp() {
284
313
  return write("udp");
285
314
  },
286
- _tty() {
315
+ tty() {
287
316
  return write("tty");
288
317
  },
289
- _statwatcher() {
318
+ statwatcher() {
290
319
  return write("statwatcher");
291
320
  },
292
- _securecontext() {
321
+ securecontext() {
293
322
  return write("securecontext");
294
323
  },
295
- _connection() {
324
+ connection() {
296
325
  return write("connection");
297
326
  },
298
- _zlib() {
327
+ zlib() {
299
328
  return write("zlib");
300
329
  },
301
- _context() {
330
+ context() {
302
331
  return write("context");
303
332
  },
304
- _nodescript() {
333
+ nodescript() {
305
334
  return write("nodescript");
306
335
  },
307
- _httpparser() {
336
+ httpparser() {
308
337
  return write("httpparser");
309
338
  },
310
- _dataview() {
339
+ dataview() {
311
340
  return write("dataview");
312
341
  },
313
- _signal() {
342
+ signal() {
314
343
  return write("signal");
315
344
  },
316
- _fsevent() {
345
+ fsevent() {
317
346
  return write("fsevent");
318
347
  },
319
- _tlswrap() {
348
+ tlswrap() {
320
349
  return write("tlswrap");
321
350
  }
322
351
  };
323
352
  }
353
+ const nativeFunc = "[native code] }";
354
+ const nativeFuncLength = nativeFunc.length;
324
355
  function isNativeFunction(f) {
325
356
  if (typeof f !== "function") {
326
357
  return false;
327
358
  }
328
- const exp = /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code]\s+}$/i;
329
- return exp.exec(Function.prototype.toString.call(f)) != null;
359
+ return Function.prototype.toString.call(f).slice(-nativeFuncLength) === nativeFunc;
330
360
  }
331
361
 
332
362
  class WordArray {
333
363
  constructor(words, sigBytes) {
334
364
  words = this.words = words || [];
335
- this.sigBytes = sigBytes !== void 0 ? sigBytes : words.length * 4;
365
+ this.sigBytes = sigBytes === void 0 ? words.length * 4 : sigBytes;
336
366
  }
337
367
  toString(encoder) {
338
368
  return (encoder || Hex).stringify(this);
@@ -403,9 +433,10 @@ const Utf8 = {
403
433
  };
404
434
  class BufferedBlockAlgorithm {
405
435
  constructor() {
436
+ this._data = new WordArray();
437
+ this._nDataBytes = 0;
406
438
  this._minBufferSize = 0;
407
439
  this.blockSize = 512 / 32;
408
- this.reset();
409
440
  }
410
441
  reset() {
411
442
  this._data = new WordArray();
@@ -533,8 +564,8 @@ const K = [
533
564
  const W = [];
534
565
  class SHA256 extends Hasher {
535
566
  constructor() {
536
- super();
537
- this.reset();
567
+ super(...arguments);
568
+ this._hash = new WordArray([...H]);
538
569
  }
539
570
  reset() {
540
571
  super.reset();
@@ -1,9 +1,9 @@
1
- import { v as defineComponent, ca as useColorMode, a$ as ref, a1 as computed, by as watch, o as openBlock, e as createElementBlock, x as createBaseVNode, u as createVNode, z as unref, aC as isRef, h as withCtx, F as Fragment, i as renderList, d as withDirectives, bv as vShow, q as normalizeClass, l as normalizeStyle, cg as rpc, _ as __unplugin_components_7, y as toDisplayString } from './index-889cc607.js';
2
- import { _ as _sfc_main$1 } from './TextInput.vue_vue_type_script_setup_true_lang-0e3abe17.js';
3
- import { g, M } from './splitpanes.es-92597b34.js';
1
+ import { v as defineComponent, ca as useColorMode, a$ as ref, a1 as computed, by as watch, o as openBlock, e as createElementBlock, x as createBaseVNode, u as createVNode, z as unref, aC as isRef, h as withCtx, F as Fragment, i as renderList, d as withDirectives, bv as vShow, q as normalizeClass, l as normalizeStyle, cg as rpc, _ as __unplugin_components_7, y as toDisplayString } from './index-42385ed9.js';
2
+ import { _ as _sfc_main$1 } from './TextInput.vue_vue_type_script_setup_true_lang-2329528e.js';
3
+ import { g, M } from './splitpanes.es-96ad8842.js';
4
4
  import { F as Fuse } from './fuse.esm-c317b696.js';
5
- import { U as Uu } from './jse-theme-dark-4f3f2034.js';
6
- import './Icon.vue_vue_type_script_setup_true_lang-97c3d5f5.js';
5
+ import { U as Uu } from './jse-theme-dark-a247d7ba.js';
6
+ import './Icon.vue_vue_type_script_setup_true_lang-7a243fe7.js';
7
7
 
8
8
  const _hoisted_1 = {
9
9
  relative: "",