@ametie/vue-muza-use 1.2.5 → 1.2.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.cjs +808 -794
- package/dist/index.mjs +892 -878
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -61,7 +61,7 @@ var import_vue = require("vue");
|
|
|
61
61
|
try {
|
|
62
62
|
if (typeof document < "u") {
|
|
63
63
|
var e = document.createElement("style");
|
|
64
|
-
e.appendChild(document.createTextNode('.logo-badge[data-v-f1971a55]{display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 11px 0 9px;background:var(--dt-primary);border-radius:99px;color:#fff;font-size:12px;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 1px 6px #7c7bff59;box-shadow:0 1px 6px oklch(65% .25 280 / .35);-webkit-user-select:none;user-select:none;flex-shrink:0}.tab-bar[data-v-1b140f4a]{display:flex;align-items:center;background:var(--dt-nav);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.logo-slot[data-v-1b140f4a]{display:flex;align-items:center;padding:0 10px 0 12px;flex-shrink:0;opacity:.85}.tab-list[data-v-1b140f4a]{display:flex;align-items:center;flex:1;padding:0 6px;gap:2px;overflow-x:auto;scrollbar-width:none}.tab-list[data-v-1b140f4a]::-webkit-scrollbar{display:none}.tab-btn[data-v-1b140f4a]{display:flex;align-items:center;gap:6px;height:38px;padding:0 12px;font-size:13px;font-weight:500;cursor:pointer;border:none;background:transparent;border-bottom:2px solid transparent;transition:color .15s ease-out,border-color .15s ease-out,transform .12s ease-out}.tab-btn[data-v-1b140f4a]:active{transform:scale(.97)}.tab-btn--active[data-v-1b140f4a]{color:var(--dt-vue-green);border-bottom-color:var(--dt-vue-green)}.tab-btn--inactive[data-v-1b140f4a]{color:var(--dt-foreground-muted)}.tab-btn--inactive[data-v-1b140f4a]:hover{color:var(--dt-foreground-secondary);background:var(--dt-surface)}.mode-switcher[data-v-1b140f4a]{display:flex;align-items:center;gap:2px;padding:0 6px;flex-shrink:0}.mode-btn[data-v-1b140f4a]{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:5px;border:none;background:transparent;color:var(--dt-foreground-muted);cursor:pointer;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out}.mode-btn[data-v-1b140f4a]:active{transform:scale(.97)}.mode-btn[data-v-1b140f4a]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary)}.mode-btn--active[data-v-1b140f4a]{background:var(--dt-surface-raised);color:var(--dt-primary)}.mode-btn--active[data-v-1b140f4a]:hover{color:var(--dt-primary)}.mode-divider[data-v-1b140f4a]{width:1px;height:18px;background:var(--dt-border-subtle);margin-right:4px;flex-shrink:0}.settings-btn[data-v-1b140f4a]{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:5px;border:none;background:transparent;color:var(--dt-foreground-muted);cursor:pointer;flex-shrink:0;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out}.settings-btn[data-v-1b140f4a]:active{transform:scale(.97)}.settings-btn[data-v-1b140f4a]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary)}.close-btn[data-v-1b140f4a]{display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin-right:8px;border-radius:6px;border:none;background:transparent;color:var(--dt-foreground-muted);cursor:pointer;flex-shrink:0;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out}.close-btn[data-v-1b140f4a]:active{transform:scale(.97)}.close-btn[data-v-1b140f4a]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground)}.launcher-pill[data-v-1b40fea8]{position:fixed;bottom:20px;right:20px;z-index:99999;display:flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 10px;background:var(--dt-primary);border-radius:99px;border:none;cursor:pointer;color:#fff;font-size:13px;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 2px 12px #7c7bff59;box-shadow:0 2px 12px oklch(65% .25 280 / .35);transition:transform .15s ease-out,box-shadow .15s ease-out;pointer-events:auto}.launcher-pill[data-v-1b40fea8]:hover{transform:translateY(-1px);box-shadow:0 4px 16px #7c7bff80;box-shadow:0 4px 16px oklch(65% .25 280 / .5)}.launcher-pill[data-v-1b40fea8]:active{transform:scale(.96);box-shadow:0 1px 6px #7c7bff40;box-shadow:0 1px 6px oklch(65% .25 280 / .25)}.devtools-panel[data-v-1b40fea8]{position:fixed;bottom:8px;left:12px;right:12px;z-index:99998;display:flex;flex-direction:column;background:var(--dt-background);color:var(--dt-foreground);border:1px solid var(--dt-border);border-radius:12px;overflow:hidden;pointer-events:auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 -4px 32px #0000008c,0 0 0 1px #ffffff0a}.resize-handle[data-v-1b40fea8]{height:4px;flex-shrink:0;cursor:row-resize;background:var(--dt-border-subtle);transition:background .15s}.resize-handle[data-v-1b40fea8]:hover{background:var(--dt-primary)}.panel-content[data-v-1b40fea8]{flex:1;overflow:hidden;display:flex;flex-direction:column}.panel-enter-active[data-v-1b40fea8]{transition:transform .22s cubic-bezier(.32,.72,0,1),opacity .2s ease-out}.panel-leave-active[data-v-1b40fea8]{transition:transform .16s ease-in,opacity .16s ease-in}.panel-enter-from[data-v-1b40fea8],.panel-leave-to[data-v-1b40fea8]{transform:translateY(12px);opacity:0}.launcher-pill[data-v-c45ea08a]{position:fixed;bottom:20px;right:20px;z-index:99999;display:flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 10px;background:var(--dt-primary);border-radius:99px;border:none;cursor:pointer;color:#fff;font-size:13px;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 2px 12px #7c7bff59;box-shadow:0 2px 12px oklch(65% .25 280 / .35);transition:transform .15s ease-out,box-shadow .15s ease-out;pointer-events:auto}.launcher-pill[data-v-c45ea08a]:hover{transform:translateY(-1px);box-shadow:0 4px 16px #7c7bff80;box-shadow:0 4px 16px oklch(65% .25 280 / .5)}.launcher-pill[data-v-c45ea08a]:active{transform:scale(.96);box-shadow:0 1px 6px #7c7bff40;box-shadow:0 1px 6px oklch(65% .25 280 / .25)}.side-panel[data-v-c45ea08a]{position:fixed;top:10px;right:10px;bottom:10px;z-index:99998;display:flex;flex-direction:row;background:var(--dt-background);color:var(--dt-foreground);border:1px solid var(--dt-border);border-radius:14px;overflow:hidden;pointer-events:auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:-8px 0 40px #0000008c,0 0 0 1px #ffffff0a}.resize-handle[data-v-c45ea08a]{width:4px;flex-shrink:0;cursor:col-resize;background:var(--dt-border-subtle);transition:background .15s}.resize-handle[data-v-c45ea08a]:hover{background:var(--dt-primary)}.panel-body[data-v-c45ea08a]{flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden}.panel-content[data-v-c45ea08a]{flex:1;overflow:hidden;display:flex;flex-direction:column}.panel-enter-active[data-v-c45ea08a]{transition:transform .22s cubic-bezier(.32,.72,0,1),opacity .2s ease-out}.panel-leave-active[data-v-c45ea08a]{transition:transform .16s ease-in,opacity .16s ease-in}.panel-enter-from[data-v-c45ea08a],.panel-leave-to[data-v-c45ea08a]{transform:translate(12px);opacity:0}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}:root,:host{--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-300:oklch(80.8% .114 19.571);--color-red-500:oklch(63.7% .237 25.331);--color-red-900:oklch(39.6% .141 25.723);--color-yellow-300:oklch(90.5% .182 98.111);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-900:oklch(42.1% .095 57.708);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-900:oklch(39.3% .095 152.535);--color-blue-400:oklch(70.7% .165 254.624);--color-purple-400:oklch(71.4% .203 305.504);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--font-weight-semibold:600;--radius-sm:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.isolate{isolation:isolate}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mt-2{margin-top:calc(var(--spacing) * 2)}.ml-auto{margin-left:auto}.flex{display:flex}.hidden{display:none}.inline-flex{display:inline-flex}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-full{height:100%}.w-1\\/2{width:50%}.w-40{width:calc(var(--spacing) * 40)}.w-full{width:100%}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:var(--spacing)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-\\[3px\\]{border-radius:3px}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-neutral-700{border-color:var(--color-neutral-700)}.border-neutral-800{border-color:var(--color-neutral-800)}.bg-green-500{background-color:var(--color-green-500)}.bg-green-900{background-color:var(--color-green-900)}.bg-neutral-500{background-color:var(--color-neutral-500)}.bg-neutral-700{background-color:var(--color-neutral-700)}.bg-neutral-800{background-color:var(--color-neutral-800)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-900{background-color:var(--color-red-900)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-yellow-900{background-color:var(--color-yellow-900)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.px-1{padding-inline:var(--spacing)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-\\[5px\\]{padding-inline:5px}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-px{padding-block:1px}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.align-top{vertical-align:top}.font-mono{font-family:var(--font-mono)}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[9px\\]{font-size:9px}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.4px\\]{--tw-tracking:.4px;letter-spacing:.4px}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-blue-400{color:var(--color-blue-400)}.text-green-300{color:var(--color-green-300)}.text-green-400{color:var(--color-green-400)}.text-neutral-200{color:var(--color-neutral-200)}.text-neutral-300{color:var(--color-neutral-300)}.text-neutral-400{color:var(--color-neutral-400)}.text-neutral-500{color:var(--color-neutral-500)}.text-purple-400{color:var(--color-purple-400)}.text-red-300{color:var(--color-red-300)}.text-white{color:var(--color-white)}.text-yellow-300{color:var(--color-yellow-300)}.text-yellow-400{color:var(--color-yellow-400)}.uppercase{text-transform:uppercase}.opacity-40{opacity:.4}.opacity-80{opacity:.8}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media(hover:hover){.hover\\:text-white:hover{color:var(--color-white)}.hover\\:opacity-100:hover{opacity:1}}#vue-muza-devtools-root{--dt-background:oklch(22% .025 250);--dt-surface-sunken:oklch(15% .022 250);--dt-surface:oklch(19% .023 250);--dt-surface-raised:oklch(26% .024 250);--dt-surface-active:oklch(29% .022 250);--dt-primary:oklch(65% .25 282);--dt-primary-subtle:oklch(24% .1 282);--dt-foreground:oklch(90% .014 250);--dt-foreground-secondary:oklch(65% .018 250);--dt-foreground-muted:oklch(50% .018 250);--dt-foreground-subtle:oklch(38% .015 250);--dt-border-subtle:oklch(26% .02 250);--dt-border:oklch(32% .022 250);--dt-border-strong:oklch(42% .018 250);--dt-vue-green:oklch(78% .17 155);--dt-vue-green-subtle:oklch(24% .07 155);--dt-nav:oklch(16% .024 250);--dt-danger:oklch(63% .22 25);--dt-danger-subtle:oklch(24% .08 25);--dt-warning:oklch(74% .17 75);--dt-warning-subtle:oklch(24% .07 75);--dt-info:oklch(66% .18 240);--dt-info-subtle:oklch(24% .07 240);--dt-success:oklch(78% .17 155);--dt-success-subtle:oklch(24% .07 155)}@media(prefers-reduced-motion:reduce){#vue-muza-devtools-root .panel-enter-active,#vue-muza-devtools-root .panel-leave-active{transition:opacity .15s ease-out!important}#vue-muza-devtools-root .panel-enter-from,#vue-muza-devtools-root .panel-leave-to{opacity:0;transform:none!important}#vue-muza-devtools-root .settings-menu-enter-active,#vue-muza-devtools-root .settings-menu-leave-active{transition:opacity .1s ease-out!important}#vue-muza-devtools-root .settings-menu-enter-from,#vue-muza-devtools-root .settings-menu-leave-to{opacity:0;transform:none!important}#vue-muza-devtools-root .tree-arrow:before{transition:none!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-99118e1d],[data-v-99118e1d]:before,[data-v-99118e1d]:after,[data-v-99118e1d]::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial}}}.feature-badges[data-v-99118e1d]{align-items:center;gap:var(--spacing,.25rem);flex-shrink:0;display:flex;overflow:hidden}.badge[data-v-99118e1d]{border-style:var(--tw-border-style);--tw-border-style:solid;--tw-font-weight:var(--font-weight-semibold,600);font-size:9px;font-weight:var(--font-weight-semibold,600);--tw-tracking:.4px;letter-spacing:.4px;white-space:nowrap;text-transform:uppercase;border-style:solid;border-width:1px;border-radius:3px;flex-shrink:0;padding-block:1px;padding-inline:5px}.sep[data-v-99118e1d]{margin-inline:calc(var(--spacing,.25rem) * .5);opacity:.4}.badge--cache[data-v-99118e1d]{color:#00adb4;color:oklch(68% .18 200);background:#002023;background:oklch(22% .07 200);border-color:#003c3f;border-color:oklch(32% .1 200)}.badge--swr[data-v-99118e1d]{color:#00999f;color:oklch(62% .16 200);background:#002023;background:oklch(22% .07 200);border-color:#003c3f;border-color:oklch(32% .1 200)}.badge--retry[data-v-99118e1d]{color:#e88b00;color:oklch(72% .17 65);background:#2a1500;background:oklch(22% .07 65);border-color:#522e00;border-color:oklch(34% .1 65)}.badge--debounce[data-v-99118e1d]{color:#d78100;color:oklch(68% .16 65);background:#2a1500;background:oklch(22% .07 65);border-color:#522e00;border-color:oklch(34% .1 65)}.badge--polling[data-v-99118e1d]{color:#e88b00;color:oklch(72% .17 65);background:#2a1500;background:oklch(22% .07 65);border-color:#522e00;border-color:oklch(34% .1 65)}.badge--batch[data-v-99118e1d]{color:#6f83c3;background:#0d142c;border-color:#202b51}.badge--lazy[data-v-99118e1d]{color:#5f6fa1;background:#0f1528;border-color:#1d2746}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}.request-row[data-v-e5492c3f]{display:flex;align-items:stretch;cursor:pointer;border-bottom:1px solid var(--dt-border-subtle);transition:background .12s;position:relative;min-height:52px}.request-row[data-v-e5492c3f]:hover{background:var(--dt-surface)}.request-row--active[data-v-e5492c3f]{background:var(--dt-surface-raised)}.request-row--active[data-v-e5492c3f]:after{content:"";position:absolute;right:0;top:0;bottom:0;width:2px;background:var(--dt-primary)}.accent-bar[data-v-e5492c3f]{width:3px;flex-shrink:0}.accent-bar--success[data-v-e5492c3f]{background:var(--dt-vue-green)}.accent-bar--error[data-v-e5492c3f]{background:var(--dt-danger)}.accent-bar--pending[data-v-e5492c3f],.accent-bar--aborted[data-v-e5492c3f]{background:var(--dt-foreground-subtle)}.row-body[data-v-e5492c3f]{flex:1;min-width:0;padding:9px 12px}.row-top[data-v-e5492c3f]{display:flex;align-items:center;gap:8px;margin-bottom:5px;min-width:0}.row-url[data-v-e5492c3f]{font-size:12px;font-weight:500;color:var(--dt-foreground);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.row-meta[data-v-e5492c3f]{display:flex;align-items:center;gap:10px;font-size:11px}.meta-duration[data-v-e5492c3f]{color:var(--dt-foreground-muted)}.meta-time[data-v-e5492c3f]{color:var(--dt-foreground-subtle);margin-left:auto}.method-badge[data-v-e5492c3f]{font-size:10px;font-weight:700;letter-spacing:.3px;padding:2px 6px;border-radius:4px;flex-shrink:0;font-family:SF Mono,Fira Code,Consolas,monospace}.method-get[data-v-e5492c3f]{background:var(--dt-info-subtle);color:var(--dt-info)}.method-post[data-v-e5492c3f]{background:var(--dt-success-subtle);color:var(--dt-success)}.method-put[data-v-e5492c3f]{background:var(--dt-warning-subtle);color:var(--dt-warning)}.method-patch[data-v-e5492c3f]{background:#002629;background:oklch(24% .07 200);color:#00a6ad;color:oklch(66% .18 200)}.method-delete[data-v-e5492c3f]{background:var(--dt-danger-subtle);color:var(--dt-danger)}.detail-header[data-v-ee649b7a]{display:flex;align-items:center;gap:10px;padding:9px 14px;background:var(--dt-nav);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.status-chip[data-v-ee649b7a]{font-size:11px;font-weight:700;padding:2px 7px;border-radius:5px;flex-shrink:0}.s-2xx[data-v-ee649b7a]{background:var(--dt-success-subtle);color:var(--dt-success)}.s-3xx[data-v-ee649b7a]{background:var(--dt-info-subtle);color:var(--dt-info)}.s-4xx[data-v-ee649b7a]{background:var(--dt-warning-subtle);color:var(--dt-warning)}.s-5xx[data-v-ee649b7a]{background:var(--dt-danger-subtle);color:var(--dt-danger)}.s-pending[data-v-ee649b7a]{background:var(--dt-surface-raised);color:var(--dt-foreground-subtle)}.req-method[data-v-ee649b7a]{font-size:12px;font-weight:600;color:var(--dt-foreground-secondary);flex-shrink:0}.req-url[data-v-ee649b7a]{font-size:12px;font-weight:500;color:var(--dt-foreground);flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.req-meta[data-v-ee649b7a]{display:flex;gap:12px;flex-shrink:0;font-size:11px;color:var(--dt-foreground-muted)}.close-btn[data-v-ee649b7a]{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:5px;border:none;background:transparent;color:var(--dt-foreground-muted);cursor:pointer;flex-shrink:0;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out}.close-btn[data-v-ee649b7a]:active{transform:scale(.97)}.close-btn[data-v-ee649b7a]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground)}.detail-tabs[data-v-c3c26245]{display:flex;background:var(--dt-nav);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.tab-btn[data-v-c3c26245]{height:36px;padding:0 14px;font-size:12px;font-weight:500;color:var(--dt-foreground-muted);cursor:pointer;border:none;background:transparent;border-bottom:2px solid transparent;transition:color .15s ease-out,border-color .15s ease-out,transform .12s ease-out;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.tab-btn[data-v-c3c26245]:hover{color:var(--dt-foreground-secondary)}.tab-btn[data-v-c3c26245]:active{transform:scale(.97)}.tab-btn--active[data-v-c3c26245]{color:var(--dt-primary);border-bottom-color:var(--dt-primary)}.json-root[data-v-4994acd4]{font-family:SF Mono,Fira Code,Consolas,monospace;font-size:12px;line-height:1.7;white-space:pre;overflow-x:auto;color:var(--dt-foreground);margin:0}.json-root[data-v-4994acd4] .json-key{color:#6da4ff;color:oklch(72% .17 260)}.json-root[data-v-4994acd4] .json-string{color:#54bf5c}.json-root[data-v-4994acd4] .json-number{color:#fe860f}.json-root[data-v-4994acd4] .json-bool{color:#ff716b;color:oklch(72% .18 25)}.tree-node[data-v-e08fddee]{font-family:SF Mono,Fira Code,Consolas,monospace;font-size:12px}.tree-row[data-v-e08fddee]{display:flex;align-items:center;gap:3px;line-height:1.7;min-height:22px}.tree-row[data-v-e08fddee]:hover{background:var(--dt-surface-raised, #ffffff08)}.tree-arrow[data-v-e08fddee]{width:14px;height:14px;flex-shrink:0;color:var(--dt-foreground-subtle, #6b7280);cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center}.tree-arrow[data-v-e08fddee]:hover{color:var(--dt-primary, #a78bfa)}.tree-arrow[data-v-e08fddee]:before{content:"";display:block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform .15s cubic-bezier(.23,1,.32,1);margin-top:-2px}.tree-arrow--open[data-v-e08fddee]:before{transform:rotate(45deg)}.tree-key[data-v-e08fddee]{color:#a491ff;color:oklch(72% .17 290);flex-shrink:0}.tree-colon[data-v-e08fddee]{color:var(--dt-border-strong, #374151);flex-shrink:0}.tree-badge[data-v-e08fddee]{display:inline-flex;align-items:center;gap:4px;background:var(--dt-surface-raised, #1e1b4b);border:1px solid var(--dt-border, #3730a3);color:#6da4ff;color:oklch(72% .17 260);border-radius:3px;padding:0 6px;font-size:11px;cursor:pointer;transition:background .1s,color .1s}.tree-badge[data-v-e08fddee]:hover{background:var(--dt-primary-subtle, #312e81);color:var(--dt-primary, #a78bfa)}.tree-val--string[data-v-e08fddee]{color:#54bf5c}.tree-val--number[data-v-e08fddee]{color:#fe860f}.tree-val--boolean[data-v-e08fddee]{color:#ff716b;color:oklch(72% .18 25)}.tree-val--null[data-v-e08fddee]{color:var(--dt-foreground-subtle, #6b7280)}.tree-viewer[data-v-f9bec403]{padding:4px 0}.data-pane[data-v-fe53a363]{display:flex;flex-direction:column;height:100%;overflow:hidden}.pane-header[data-v-fe53a363]{display:flex;align-items:center;gap:6px;padding:7px 12px;background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.pane-title[data-v-fe53a363]{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:var(--dt-foreground-muted);flex:1}.pane-action[data-v-fe53a363]{height:22px;padding:0 8px;border-radius:5px;font-size:11px;font-weight:500;cursor:pointer;border:1px solid var(--dt-border);background:transparent;color:var(--dt-foreground-muted);transition:all .12s;flex-shrink:0}.pane-action[data-v-fe53a363]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary);border-color:var(--dt-border-strong)}.pane-action--active[data-v-fe53a363]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-color:var(--dt-primary)}.pane-body[data-v-fe53a363]{flex:1;overflow:auto;padding:12px}.pane-body[data-v-fe53a363]::-webkit-scrollbar{width:4px;height:4px}.pane-body[data-v-fe53a363]::-webkit-scrollbar-thumb{background:var(--dt-border-strong);border-radius:2px}.truncated-warning[data-v-fe53a363]{font-size:11px;color:var(--dt-warning);margin-bottom:8px}.payload-pane[data-v-052714ff]{display:flex;flex-direction:column;height:100%;overflow:hidden}.pane-header[data-v-052714ff]{display:flex;align-items:center;gap:6px;padding:7px 12px;background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.pane-title[data-v-052714ff]{font-size:10px;font-weight:600;letter-spacing:.6px;color:var(--dt-foreground-muted);flex:1}.pane-action[data-v-052714ff]{height:22px;padding:0 8px;border-radius:5px;font-size:11px;font-weight:500;cursor:pointer;border:1px solid var(--dt-border);background:transparent;color:var(--dt-foreground-muted);transition:all .12s;flex-shrink:0}.pane-action[data-v-052714ff]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary);border-color:var(--dt-border-strong)}.pane-action--active[data-v-052714ff]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-color:var(--dt-primary)}.section-label[data-v-052714ff]{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;font-size:9px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--dt-foreground-subtle);background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.section-count[data-v-052714ff]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-radius:3px;padding:1px 5px;font-size:9px}.section-body[data-v-052714ff]{overflow:auto;padding:6px 12px;flex-shrink:0;max-height:50%}.section-body[data-v-052714ff]::-webkit-scrollbar{width:4px;height:4px}.section-body[data-v-052714ff]::-webkit-scrollbar-thumb{background:var(--dt-border-strong);border-radius:2px}.section-empty[data-v-052714ff]{padding:8px 12px;font-size:11px;font-family:SF Mono,Fira Code,Consolas,monospace;color:var(--dt-foreground-subtle);flex-shrink:0}.section-divider[data-v-052714ff]{height:1px;background:var(--dt-border-subtle);flex-shrink:0}.truncated-warning[data-v-052714ff]{font-size:11px;color:var(--dt-warning);margin-bottom:8px}.split-view[data-v-9d222cb1]{display:flex;height:100%;overflow:hidden}.split-view--row[data-v-9d222cb1]{flex-direction:row}.split-view--stacked[data-v-9d222cb1]{flex-direction:column}.split-pane[data-v-9d222cb1]{flex:1;overflow:hidden}.split-view--row .split-pane[data-v-9d222cb1]{min-width:120px}.split-view--stacked .split-pane[data-v-9d222cb1]{min-height:80px}.split-handle[data-v-9d222cb1]{flex-shrink:0;background:var(--dt-border-subtle);transition:background .15s}.split-handle--v[data-v-9d222cb1]{width:5px;cursor:col-resize}.split-handle--h[data-v-9d222cb1]{height:5px;cursor:row-resize}.split-handle[data-v-9d222cb1]:hover{background:var(--dt-primary)}.request-detail[data-v-0b284849]{display:flex;flex-direction:column;height:100%;overflow:hidden;background:var(--dt-surface-sunken)}.detail-content[data-v-0b284849]{flex:1;overflow:hidden;display:flex;flex-direction:column}.headers-view[data-v-0b284849]{flex:1;padding:12px;overflow-y:auto;font-family:SF Mono,Fira Code,Consolas,monospace;font-size:12px}.headers-view[data-v-0b284849]::-webkit-scrollbar{width:4px}.headers-view[data-v-0b284849]::-webkit-scrollbar-thumb{background:var(--dt-border-strong);border-radius:2px}.header-row[data-v-0b284849]{display:flex;gap:12px;padding:6px 0;border-bottom:1px solid var(--dt-border-subtle)}.header-row[data-v-0b284849]:last-child{border-bottom:none}.header-key[data-v-0b284849]{color:#6da4ff;color:oklch(72% .17 260);width:38%;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-val[data-v-0b284849]{color:var(--dt-foreground-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.empty-msg[data-v-0b284849]{color:var(--dt-foreground-subtle);font-size:12px}.select-input[data-v-e6ef5dc9]{width:200px;height:30px;background:var(--dt-surface);border:1px solid var(--dt-border);border-radius:7px;color:var(--dt-foreground-secondary);font-size:12px;padding:0 8px;cursor:pointer;outline:none;flex-shrink:0}.select-input[data-v-e6ef5dc9]:focus{border-color:var(--dt-primary)}.network-tab[data-v-8c2a9bad]{display:flex;flex-direction:column;height:100%;background:var(--dt-background);position:relative}.toolbar[data-v-8c2a9bad]{display:flex;align-items:center;gap:8px;padding:9px 12px;background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0;overflow-x:auto;scrollbar-width:none}.toolbar[data-v-8c2a9bad]::-webkit-scrollbar{display:none}.toolbar-input[data-v-8c2a9bad]{flex:1;height:30px;background:var(--dt-surface);border:1px solid var(--dt-border);border-radius:7px;color:var(--dt-foreground);font-size:12px;padding:0 10px;outline:none}.toolbar-input[data-v-8c2a9bad]::placeholder{color:var(--dt-foreground-subtle)}.toolbar-input[data-v-8c2a9bad]:focus{border-color:var(--dt-primary)}.toolbar-btn[data-v-8c2a9bad]{height:30px;padding:0 12px;background:transparent;border:1px solid var(--dt-border);border-radius:7px;color:var(--dt-foreground-muted);font-size:12px;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:background .15s ease-out,color .15s ease-out,border-color .15s ease-out,transform .12s ease-out}.toolbar-btn[data-v-8c2a9bad]:active{transform:scale(.97)}.toolbar-btn[data-v-8c2a9bad]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground)}.toolbar-btn--danger[data-v-8c2a9bad]:hover{background:#250e10;color:#f9667a;border-color:#5d262d}.filter-bar[data-v-8c2a9bad]{display:flex;align-items:center;gap:4px;padding:7px 12px;background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0;overflow-x:auto;scrollbar-width:none}.filter-bar[data-v-8c2a9bad]::-webkit-scrollbar{display:none}.filter-pill[data-v-8c2a9bad]{height:24px;padding:0 10px;border-radius:99px;font-size:11px;font-weight:500;cursor:pointer;border:1px solid transparent;background:transparent;color:var(--dt-foreground-muted);text-transform:capitalize;transition:background .15s ease-out,color .15s ease-out,border-color .15s ease-out,transform .12s ease-out}.filter-pill[data-v-8c2a9bad]:active{transform:scale(.97)}.filter-pill[data-v-8c2a9bad]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary)}.filter-pill--active[data-v-8c2a9bad]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-color:var(--dt-primary)}.filter-count[data-v-8c2a9bad]{margin-left:auto;font-size:11px;color:var(--dt-foreground-subtle)}.main-split[data-v-8c2a9bad]{display:flex;flex:1;overflow:hidden}.list-pane[data-v-8c2a9bad]{min-width:180px;display:flex;flex-direction:column;overflow:hidden;flex-shrink:0}.detail-pane[data-v-8c2a9bad]{flex:1;min-width:200px;overflow:hidden}.drag-handle[data-v-8c2a9bad]{width:5px;flex-shrink:0;cursor:col-resize;background:var(--dt-border-subtle);transition:background .15s ease-out}.drag-handle[data-v-8c2a9bad]:hover{background:var(--dt-primary)}.settings-menu[data-v-8c2a9bad]{position:absolute;right:8px;top:0;z-index:100;background:var(--dt-nav);border:1px solid var(--dt-border);border-radius:8px;padding:4px;box-shadow:0 8px 24px #00000080;min-width:160px;transform-origin:top right}.settings-item[data-v-8c2a9bad]{display:flex;align-items:center;gap:8px;width:100%;padding:6px 10px;border:none;background:transparent;color:var(--dt-foreground);font-size:12px;cursor:pointer;border-radius:5px;text-align:left;transition:background .12s ease-out,transform .12s ease-out}.settings-item[data-v-8c2a9bad]:active{transform:scale(.97)}.settings-item[data-v-8c2a9bad]:hover{background:var(--dt-surface-raised)}.settings-check[data-v-8c2a9bad]{width:14px;height:14px;border:1px solid var(--dt-border-strong);border-radius:3px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}.settings-check--on[data-v-8c2a9bad]{background:var(--dt-primary);border-color:var(--dt-primary)}.settings-menu-enter-active[data-v-8c2a9bad]{transition:transform .15s cubic-bezier(.23,1,.32,1),opacity .15s ease-out}.settings-menu-leave-active[data-v-8c2a9bad]{transition:transform .1s ease-in,opacity .1s ease-in}.settings-menu-enter-from[data-v-8c2a9bad],.settings-menu-leave-to[data-v-8c2a9bad]{transform:scale(.95) translateY(-4px);opacity:0}')), document.head.appendChild(e);
|
|
64
|
+
e.appendChild(document.createTextNode('.logo-badge[data-v-f1971a55]{display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 11px 0 9px;background:var(--dt-primary);border-radius:99px;color:#fff;font-size:12px;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 1px 6px #7c7bff59;box-shadow:0 1px 6px oklch(65% .25 280 / .35);-webkit-user-select:none;user-select:none;flex-shrink:0}.tab-bar[data-v-1b140f4a]{display:flex;align-items:center;background:var(--dt-nav);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.logo-slot[data-v-1b140f4a]{display:flex;align-items:center;padding:0 10px 0 12px;flex-shrink:0;opacity:.85}.tab-list[data-v-1b140f4a]{display:flex;align-items:center;flex:1;padding:0 6px;gap:2px;overflow-x:auto;scrollbar-width:none}.tab-list[data-v-1b140f4a]::-webkit-scrollbar{display:none}.tab-btn[data-v-1b140f4a]{display:flex;align-items:center;gap:6px;height:38px;padding:0 12px;font-size:13px;font-weight:500;cursor:pointer;border:none;background:transparent;border-bottom:2px solid transparent;transition:color .15s ease-out,border-color .15s ease-out,transform .12s ease-out}.tab-btn[data-v-1b140f4a]:active{transform:scale(.97)}.tab-btn--active[data-v-1b140f4a]{color:var(--dt-vue-green);border-bottom-color:var(--dt-vue-green)}.tab-btn--inactive[data-v-1b140f4a]{color:var(--dt-foreground-muted)}.tab-btn--inactive[data-v-1b140f4a]:hover{color:var(--dt-foreground-secondary);background:var(--dt-surface)}.mode-switcher[data-v-1b140f4a]{display:flex;align-items:center;gap:2px;padding:0 6px;flex-shrink:0}.mode-btn[data-v-1b140f4a]{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:5px;border:none;background:transparent;color:var(--dt-foreground-muted);cursor:pointer;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out}.mode-btn[data-v-1b140f4a]:active{transform:scale(.97)}.mode-btn[data-v-1b140f4a]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary)}.mode-btn--active[data-v-1b140f4a]{background:var(--dt-surface-raised);color:var(--dt-primary)}.mode-btn--active[data-v-1b140f4a]:hover{color:var(--dt-primary)}.mode-divider[data-v-1b140f4a]{width:1px;height:18px;background:var(--dt-border-subtle);margin-right:4px;flex-shrink:0}.settings-btn[data-v-1b140f4a]{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:5px;border:none;background:transparent;color:var(--dt-foreground-muted);cursor:pointer;flex-shrink:0;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out}.settings-btn[data-v-1b140f4a]:active{transform:scale(.97)}.settings-btn[data-v-1b140f4a]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary)}.close-btn[data-v-1b140f4a]{display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin-right:8px;border-radius:6px;border:none;background:transparent;color:var(--dt-foreground-muted);cursor:pointer;flex-shrink:0;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out}.close-btn[data-v-1b140f4a]:active{transform:scale(.97)}.close-btn[data-v-1b140f4a]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground)}.launcher-pill[data-v-1b40fea8]{position:fixed;bottom:20px;right:20px;z-index:99999;display:flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 10px;background:var(--dt-primary);border-radius:99px;border:none;cursor:pointer;color:#fff;font-size:13px;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 2px 12px #7c7bff59;box-shadow:0 2px 12px oklch(65% .25 280 / .35);transition:transform .15s ease-out,box-shadow .15s ease-out;pointer-events:auto}.launcher-pill[data-v-1b40fea8]:hover{transform:translateY(-1px);box-shadow:0 4px 16px #7c7bff80;box-shadow:0 4px 16px oklch(65% .25 280 / .5)}.launcher-pill[data-v-1b40fea8]:active{transform:scale(.96);box-shadow:0 1px 6px #7c7bff40;box-shadow:0 1px 6px oklch(65% .25 280 / .25)}.devtools-panel[data-v-1b40fea8]{position:fixed;bottom:8px;left:12px;right:12px;z-index:99998;display:flex;flex-direction:column;background:var(--dt-background);color:var(--dt-foreground);border:1px solid var(--dt-border);border-radius:12px;overflow:hidden;pointer-events:auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 -4px 32px #0000008c,0 0 0 1px #ffffff0a}.resize-handle[data-v-1b40fea8]{height:4px;flex-shrink:0;cursor:row-resize;background:var(--dt-border-subtle);transition:background .15s}.resize-handle[data-v-1b40fea8]:hover{background:var(--dt-primary)}.panel-content[data-v-1b40fea8]{flex:1;overflow:hidden;display:flex;flex-direction:column}.panel-enter-active[data-v-1b40fea8]{transition:transform .22s cubic-bezier(.32,.72,0,1),opacity .2s ease-out}.panel-leave-active[data-v-1b40fea8]{transition:transform .16s ease-in,opacity .16s ease-in}.panel-enter-from[data-v-1b40fea8],.panel-leave-to[data-v-1b40fea8]{transform:translateY(12px);opacity:0}.launcher-pill[data-v-c45ea08a]{position:fixed;bottom:20px;right:20px;z-index:99999;display:flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 10px;background:var(--dt-primary);border-radius:99px;border:none;cursor:pointer;color:#fff;font-size:13px;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 2px 12px #7c7bff59;box-shadow:0 2px 12px oklch(65% .25 280 / .35);transition:transform .15s ease-out,box-shadow .15s ease-out;pointer-events:auto}.launcher-pill[data-v-c45ea08a]:hover{transform:translateY(-1px);box-shadow:0 4px 16px #7c7bff80;box-shadow:0 4px 16px oklch(65% .25 280 / .5)}.launcher-pill[data-v-c45ea08a]:active{transform:scale(.96);box-shadow:0 1px 6px #7c7bff40;box-shadow:0 1px 6px oklch(65% .25 280 / .25)}.side-panel[data-v-c45ea08a]{position:fixed;top:10px;right:10px;bottom:10px;z-index:99998;display:flex;flex-direction:row;background:var(--dt-background);color:var(--dt-foreground);border:1px solid var(--dt-border);border-radius:14px;overflow:hidden;pointer-events:auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:-8px 0 40px #0000008c,0 0 0 1px #ffffff0a}.resize-handle[data-v-c45ea08a]{width:4px;flex-shrink:0;cursor:col-resize;background:var(--dt-border-subtle);transition:background .15s}.resize-handle[data-v-c45ea08a]:hover{background:var(--dt-primary)}.panel-body[data-v-c45ea08a]{flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden}.panel-content[data-v-c45ea08a]{flex:1;overflow:hidden;display:flex;flex-direction:column}.panel-enter-active[data-v-c45ea08a]{transition:transform .22s cubic-bezier(.32,.72,0,1),opacity .2s ease-out}.panel-leave-active[data-v-c45ea08a]{transition:transform .16s ease-in,opacity .16s ease-in}.panel-enter-from[data-v-c45ea08a],.panel-leave-to[data-v-c45ea08a]{transform:translate(12px);opacity:0}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}:root,:host{--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-300:oklch(80.8% .114 19.571);--color-red-500:oklch(63.7% .237 25.331);--color-red-900:oklch(39.6% .141 25.723);--color-yellow-300:oklch(90.5% .182 98.111);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-900:oklch(42.1% .095 57.708);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-900:oklch(39.3% .095 152.535);--color-blue-400:oklch(70.7% .165 254.624);--color-purple-400:oklch(71.4% .203 305.504);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--font-weight-semibold:600;--radius-sm:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.isolate{isolation:isolate}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mt-2{margin-top:calc(var(--spacing) * 2)}.ml-auto{margin-left:auto}.flex{display:flex}.hidden{display:none}.inline-flex{display:inline-flex}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-full{height:100%}.w-1\\/2{width:50%}.w-40{width:calc(var(--spacing) * 40)}.w-full{width:100%}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:var(--spacing)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-\\[3px\\]{border-radius:3px}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-neutral-700{border-color:var(--color-neutral-700)}.border-neutral-800{border-color:var(--color-neutral-800)}.bg-green-500{background-color:var(--color-green-500)}.bg-green-900{background-color:var(--color-green-900)}.bg-neutral-500{background-color:var(--color-neutral-500)}.bg-neutral-700{background-color:var(--color-neutral-700)}.bg-neutral-800{background-color:var(--color-neutral-800)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-900{background-color:var(--color-red-900)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-yellow-900{background-color:var(--color-yellow-900)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.px-1{padding-inline:var(--spacing)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-\\[5px\\]{padding-inline:5px}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-px{padding-block:1px}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.align-top{vertical-align:top}.font-mono{font-family:var(--font-mono)}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[9px\\]{font-size:9px}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.4px\\]{--tw-tracking:.4px;letter-spacing:.4px}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-blue-400{color:var(--color-blue-400)}.text-green-300{color:var(--color-green-300)}.text-green-400{color:var(--color-green-400)}.text-neutral-200{color:var(--color-neutral-200)}.text-neutral-300{color:var(--color-neutral-300)}.text-neutral-400{color:var(--color-neutral-400)}.text-neutral-500{color:var(--color-neutral-500)}.text-purple-400{color:var(--color-purple-400)}.text-red-300{color:var(--color-red-300)}.text-white{color:var(--color-white)}.text-yellow-300{color:var(--color-yellow-300)}.text-yellow-400{color:var(--color-yellow-400)}.uppercase{text-transform:uppercase}.opacity-40{opacity:.4}.opacity-80{opacity:.8}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media(hover:hover){.hover\\:text-white:hover{color:var(--color-white)}.hover\\:opacity-100:hover{opacity:1}}#vue-muza-devtools-root{--dt-background:oklch(22% .025 250);--dt-surface-sunken:oklch(15% .022 250);--dt-surface:oklch(19% .023 250);--dt-surface-raised:oklch(26% .024 250);--dt-surface-active:oklch(29% .022 250);--dt-primary:oklch(65% .25 282);--dt-primary-subtle:oklch(24% .1 282);--dt-foreground:oklch(90% .014 250);--dt-foreground-secondary:oklch(65% .018 250);--dt-foreground-muted:oklch(50% .018 250);--dt-foreground-subtle:oklch(38% .015 250);--dt-border-subtle:oklch(26% .02 250);--dt-border:oklch(32% .022 250);--dt-border-strong:oklch(42% .018 250);--dt-vue-green:oklch(78% .17 155);--dt-vue-green-subtle:oklch(24% .07 155);--dt-nav:oklch(16% .024 250);--dt-danger:oklch(63% .22 25);--dt-danger-subtle:oklch(24% .08 25);--dt-warning:oklch(74% .17 75);--dt-warning-subtle:oklch(24% .07 75);--dt-info:oklch(66% .18 240);--dt-info-subtle:oklch(24% .07 240);--dt-success:oklch(78% .17 155);--dt-success-subtle:oklch(24% .07 155)}@media(prefers-reduced-motion:reduce){#vue-muza-devtools-root .panel-enter-active,#vue-muza-devtools-root .panel-leave-active{transition:opacity .15s ease-out!important}#vue-muza-devtools-root .panel-enter-from,#vue-muza-devtools-root .panel-leave-to{opacity:0;transform:none!important}#vue-muza-devtools-root .settings-menu-enter-active,#vue-muza-devtools-root .settings-menu-leave-active{transition:opacity .1s ease-out!important}#vue-muza-devtools-root .settings-menu-enter-from,#vue-muza-devtools-root .settings-menu-leave-to{opacity:0;transform:none!important}#vue-muza-devtools-root .tree-arrow:before{transition:none!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-99118e1d],[data-v-99118e1d]:before,[data-v-99118e1d]:after,[data-v-99118e1d]::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial}}}.feature-badges[data-v-99118e1d]{align-items:center;gap:var(--spacing,.25rem);flex-shrink:0;display:flex;overflow:hidden}.badge[data-v-99118e1d]{border-style:var(--tw-border-style);--tw-border-style:solid;--tw-font-weight:var(--font-weight-semibold,600);font-size:9px;font-weight:var(--font-weight-semibold,600);--tw-tracking:.4px;letter-spacing:.4px;white-space:nowrap;text-transform:uppercase;border-style:solid;border-width:1px;border-radius:3px;flex-shrink:0;padding-block:1px;padding-inline:5px}.sep[data-v-99118e1d]{margin-inline:calc(var(--spacing,.25rem) * .5);opacity:.4}.badge--cache[data-v-99118e1d]{color:#00adb4;color:oklch(68% .18 200);background:#002023;background:oklch(22% .07 200);border-color:#003c3f;border-color:oklch(32% .1 200)}.badge--swr[data-v-99118e1d]{color:#00999f;color:oklch(62% .16 200);background:#002023;background:oklch(22% .07 200);border-color:#003c3f;border-color:oklch(32% .1 200)}.badge--retry[data-v-99118e1d]{color:#e88b00;color:oklch(72% .17 65);background:#2a1500;background:oklch(22% .07 65);border-color:#522e00;border-color:oklch(34% .1 65)}.badge--debounce[data-v-99118e1d]{color:#d78100;color:oklch(68% .16 65);background:#2a1500;background:oklch(22% .07 65);border-color:#522e00;border-color:oklch(34% .1 65)}.badge--polling[data-v-99118e1d]{color:#e88b00;color:oklch(72% .17 65);background:#2a1500;background:oklch(22% .07 65);border-color:#522e00;border-color:oklch(34% .1 65)}.badge--batch[data-v-99118e1d]{color:#6f83c3;background:#0d142c;border-color:#202b51}.badge--lazy[data-v-99118e1d]{color:#5f6fa1;background:#0f1528;border-color:#1d2746}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}.request-row[data-v-e5492c3f]{display:flex;align-items:stretch;cursor:pointer;border-bottom:1px solid var(--dt-border-subtle);transition:background .12s;position:relative;min-height:52px}.request-row[data-v-e5492c3f]:hover{background:var(--dt-surface)}.request-row--active[data-v-e5492c3f]{background:var(--dt-surface-raised)}.request-row--active[data-v-e5492c3f]:after{content:"";position:absolute;right:0;top:0;bottom:0;width:2px;background:var(--dt-primary)}.accent-bar[data-v-e5492c3f]{width:3px;flex-shrink:0}.accent-bar--success[data-v-e5492c3f]{background:var(--dt-vue-green)}.accent-bar--error[data-v-e5492c3f]{background:var(--dt-danger)}.accent-bar--pending[data-v-e5492c3f],.accent-bar--aborted[data-v-e5492c3f]{background:var(--dt-foreground-subtle)}.row-body[data-v-e5492c3f]{flex:1;min-width:0;padding:9px 12px}.row-top[data-v-e5492c3f]{display:flex;align-items:center;gap:8px;margin-bottom:5px;min-width:0}.row-url[data-v-e5492c3f]{font-size:12px;font-weight:500;color:var(--dt-foreground);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.row-meta[data-v-e5492c3f]{display:flex;align-items:center;gap:10px;font-size:11px}.meta-duration[data-v-e5492c3f]{color:var(--dt-foreground-muted)}.meta-time[data-v-e5492c3f]{color:var(--dt-foreground-subtle);margin-left:auto}.method-badge[data-v-e5492c3f]{font-size:10px;font-weight:700;letter-spacing:.3px;padding:2px 6px;border-radius:4px;flex-shrink:0;font-family:SF Mono,Fira Code,Consolas,monospace}.method-get[data-v-e5492c3f]{background:var(--dt-info-subtle);color:var(--dt-info)}.method-post[data-v-e5492c3f]{background:var(--dt-success-subtle);color:var(--dt-success)}.method-put[data-v-e5492c3f]{background:var(--dt-warning-subtle);color:var(--dt-warning)}.method-patch[data-v-e5492c3f]{background:#002629;background:oklch(24% .07 200);color:#00a6ad;color:oklch(66% .18 200)}.method-delete[data-v-e5492c3f]{background:var(--dt-danger-subtle);color:var(--dt-danger)}.detail-header[data-v-ee649b7a]{display:flex;align-items:center;gap:10px;padding:9px 14px;background:var(--dt-nav);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.status-chip[data-v-ee649b7a]{font-size:11px;font-weight:700;padding:2px 7px;border-radius:5px;flex-shrink:0}.s-2xx[data-v-ee649b7a]{background:var(--dt-success-subtle);color:var(--dt-success)}.s-3xx[data-v-ee649b7a]{background:var(--dt-info-subtle);color:var(--dt-info)}.s-4xx[data-v-ee649b7a]{background:var(--dt-warning-subtle);color:var(--dt-warning)}.s-5xx[data-v-ee649b7a]{background:var(--dt-danger-subtle);color:var(--dt-danger)}.s-pending[data-v-ee649b7a]{background:var(--dt-surface-raised);color:var(--dt-foreground-subtle)}.req-method[data-v-ee649b7a]{font-size:12px;font-weight:600;color:var(--dt-foreground-secondary);flex-shrink:0}.req-url[data-v-ee649b7a]{font-size:12px;font-weight:500;color:var(--dt-foreground);flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.req-meta[data-v-ee649b7a]{display:flex;gap:12px;flex-shrink:0;font-size:11px;color:var(--dt-foreground-muted)}.close-btn[data-v-ee649b7a]{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:5px;border:none;background:transparent;color:var(--dt-foreground-muted);cursor:pointer;flex-shrink:0;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out}.close-btn[data-v-ee649b7a]:active{transform:scale(.97)}.close-btn[data-v-ee649b7a]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground)}.detail-tabs[data-v-c3c26245]{display:flex;background:var(--dt-nav);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.tab-btn[data-v-c3c26245]{height:36px;padding:0 14px;font-size:12px;font-weight:500;color:var(--dt-foreground-muted);cursor:pointer;border:none;background:transparent;border-bottom:2px solid transparent;transition:color .15s ease-out,border-color .15s ease-out,transform .12s ease-out;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.tab-btn[data-v-c3c26245]:hover{color:var(--dt-foreground-secondary)}.tab-btn[data-v-c3c26245]:active{transform:scale(.97)}.tab-btn--active[data-v-c3c26245]{color:var(--dt-primary);border-bottom-color:var(--dt-primary)}.json-root[data-v-4994acd4]{font-family:SF Mono,Fira Code,Consolas,monospace;font-size:12px;line-height:1.7;white-space:pre;overflow-x:auto;color:var(--dt-foreground);margin:0}.json-root[data-v-4994acd4] .json-key{color:#6da4ff;color:oklch(72% .17 260)}.json-root[data-v-4994acd4] .json-string{color:#54bf5c}.json-root[data-v-4994acd4] .json-number{color:#fe860f}.json-root[data-v-4994acd4] .json-bool{color:#ff716b;color:oklch(72% .18 25)}.tree-node[data-v-e08fddee]{font-family:SF Mono,Fira Code,Consolas,monospace;font-size:12px}.tree-row[data-v-e08fddee]{display:flex;align-items:center;gap:3px;line-height:1.7;min-height:22px}.tree-row[data-v-e08fddee]:hover{background:var(--dt-surface-raised, #ffffff08)}.tree-arrow[data-v-e08fddee]{width:14px;height:14px;flex-shrink:0;color:var(--dt-foreground-subtle, #6b7280);cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center}.tree-arrow[data-v-e08fddee]:hover{color:var(--dt-primary, #a78bfa)}.tree-arrow[data-v-e08fddee]:before{content:"";display:block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform .15s cubic-bezier(.23,1,.32,1);margin-top:-2px}.tree-arrow--open[data-v-e08fddee]:before{transform:rotate(45deg)}.tree-key[data-v-e08fddee]{color:#a491ff;color:oklch(72% .17 290);flex-shrink:0}.tree-colon[data-v-e08fddee]{color:var(--dt-border-strong, #374151);flex-shrink:0}.tree-badge[data-v-e08fddee]{display:inline-flex;align-items:center;gap:4px;background:var(--dt-surface-raised, #1e1b4b);border:1px solid var(--dt-border, #3730a3);color:#6da4ff;color:oklch(72% .17 260);border-radius:3px;padding:0 6px;font-size:11px;cursor:pointer;transition:background .1s,color .1s}.tree-badge[data-v-e08fddee]:hover{background:var(--dt-primary-subtle, #312e81);color:var(--dt-primary, #a78bfa)}.tree-val--string[data-v-e08fddee]{color:#54bf5c}.tree-val--number[data-v-e08fddee]{color:#fe860f}.tree-val--boolean[data-v-e08fddee]{color:#ff716b;color:oklch(72% .18 25)}.tree-val--null[data-v-e08fddee]{color:var(--dt-foreground-subtle, #6b7280)}.tree-viewer[data-v-f9bec403]{padding:4px 0}.data-pane[data-v-096ab11d]{display:flex;flex-direction:column;height:100%;overflow:hidden}.pane-header[data-v-096ab11d]{display:flex;align-items:center;gap:6px;padding:7px 12px;background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.pane-title[data-v-096ab11d]{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:var(--dt-foreground-muted);flex:1}.pane-action[data-v-096ab11d]{height:22px;padding:0 8px;border-radius:5px;font-size:11px;font-weight:500;cursor:pointer;border:1px solid var(--dt-border);background:transparent;color:var(--dt-foreground-muted);transition:all .12s;flex-shrink:0}.pane-action[data-v-096ab11d]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary);border-color:var(--dt-border-strong)}.pane-action--active[data-v-096ab11d]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-color:var(--dt-primary)}.pane-body[data-v-096ab11d]{flex:1;overflow:auto;padding:12px}.pane-body[data-v-096ab11d]::-webkit-scrollbar{width:4px;height:4px}.pane-body[data-v-096ab11d]::-webkit-scrollbar-thumb{background:var(--dt-border-strong);border-radius:2px}.truncated-warning[data-v-096ab11d]{font-size:11px;color:var(--dt-warning);margin-bottom:8px}.payload-pane[data-v-0c05535b]{display:flex;flex-direction:column;height:100%;overflow:hidden}.pane-header[data-v-0c05535b]{display:flex;align-items:center;gap:6px;padding:7px 12px;background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.pane-title[data-v-0c05535b]{font-size:10px;font-weight:600;letter-spacing:.6px;color:var(--dt-foreground-muted);flex:1}.pane-action[data-v-0c05535b]{height:22px;padding:0 8px;border-radius:5px;font-size:11px;font-weight:500;cursor:pointer;border:1px solid var(--dt-border);background:transparent;color:var(--dt-foreground-muted);transition:all .12s;flex-shrink:0}.pane-action[data-v-0c05535b]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary);border-color:var(--dt-border-strong)}.pane-action--active[data-v-0c05535b]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-color:var(--dt-primary)}.section-label[data-v-0c05535b]{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;font-size:9px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--dt-foreground-subtle);background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.section-count[data-v-0c05535b]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-radius:3px;padding:1px 5px;font-size:9px}.section-body[data-v-0c05535b]{overflow:auto;padding:6px 12px;flex-shrink:0;max-height:50%}.section-body[data-v-0c05535b]::-webkit-scrollbar{width:4px;height:4px}.section-body[data-v-0c05535b]::-webkit-scrollbar-thumb{background:var(--dt-border-strong);border-radius:2px}.section-empty[data-v-0c05535b]{padding:8px 12px;font-size:11px;font-family:SF Mono,Fira Code,Consolas,monospace;color:var(--dt-foreground-subtle);flex-shrink:0}.section-divider[data-v-0c05535b]{height:1px;background:var(--dt-border-subtle);flex-shrink:0}.truncated-warning[data-v-0c05535b]{font-size:11px;color:var(--dt-warning);margin-bottom:8px}.split-view[data-v-b07544b9]{display:flex;height:100%;overflow:hidden}.split-view--row[data-v-b07544b9]{flex-direction:row}.split-view--stacked[data-v-b07544b9]{flex-direction:column}.split-pane[data-v-b07544b9]{flex:1;overflow:hidden}.split-view--row .split-pane[data-v-b07544b9]{min-width:120px}.split-view--stacked .split-pane[data-v-b07544b9]{min-height:80px}.split-handle[data-v-b07544b9]{flex-shrink:0;background:var(--dt-border-subtle);transition:background .15s}.split-handle--v[data-v-b07544b9]{width:5px;cursor:col-resize}.split-handle--h[data-v-b07544b9]{height:5px;cursor:row-resize}.split-handle[data-v-b07544b9]:hover{background:var(--dt-primary)}.request-detail[data-v-5e83c1d2]{display:flex;flex-direction:column;height:100%;overflow:hidden;background:var(--dt-surface-sunken)}.detail-content[data-v-5e83c1d2]{flex:1;overflow:hidden;display:flex;flex-direction:column}.headers-view[data-v-5e83c1d2]{flex:1;padding:12px;overflow-y:auto;font-family:SF Mono,Fira Code,Consolas,monospace;font-size:12px}.headers-view[data-v-5e83c1d2]::-webkit-scrollbar{width:4px}.headers-view[data-v-5e83c1d2]::-webkit-scrollbar-thumb{background:var(--dt-border-strong);border-radius:2px}.header-row[data-v-5e83c1d2]{display:flex;gap:12px;padding:6px 0;border-bottom:1px solid var(--dt-border-subtle)}.header-row[data-v-5e83c1d2]:last-child{border-bottom:none}.header-key[data-v-5e83c1d2]{color:#6da4ff;color:oklch(72% .17 260);width:38%;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-val[data-v-5e83c1d2]{color:var(--dt-foreground-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.empty-msg[data-v-5e83c1d2]{color:var(--dt-foreground-subtle);font-size:12px}.select-input[data-v-e6ef5dc9]{width:200px;height:30px;background:var(--dt-surface);border:1px solid var(--dt-border);border-radius:7px;color:var(--dt-foreground-secondary);font-size:12px;padding:0 8px;cursor:pointer;outline:none;flex-shrink:0}.select-input[data-v-e6ef5dc9]:focus{border-color:var(--dt-primary)}.network-tab[data-v-32459aba]{display:flex;flex-direction:column;height:100%;background:var(--dt-background);position:relative}.toolbar[data-v-32459aba]{display:flex;align-items:center;gap:8px;padding:9px 12px;background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0;overflow-x:auto;scrollbar-width:none}.toolbar[data-v-32459aba]::-webkit-scrollbar{display:none}.toolbar-input[data-v-32459aba]{flex:1;height:30px;background:var(--dt-surface);border:1px solid var(--dt-border);border-radius:7px;color:var(--dt-foreground);font-size:12px;padding:0 10px;outline:none}.toolbar-input[data-v-32459aba]::placeholder{color:var(--dt-foreground-subtle)}.toolbar-input[data-v-32459aba]:focus{border-color:var(--dt-primary)}.toolbar-btn[data-v-32459aba]{height:30px;padding:0 12px;background:transparent;border:1px solid var(--dt-border);border-radius:7px;color:var(--dt-foreground-muted);font-size:12px;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:background .15s ease-out,color .15s ease-out,border-color .15s ease-out,transform .12s ease-out}.toolbar-btn[data-v-32459aba]:active{transform:scale(.97)}.toolbar-btn[data-v-32459aba]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground)}.toolbar-btn--danger[data-v-32459aba]:hover{background:#250e10;color:#f9667a;border-color:#5d262d}.filter-bar[data-v-32459aba]{display:flex;align-items:center;gap:4px;padding:7px 12px;background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0;overflow-x:auto;scrollbar-width:none}.filter-bar[data-v-32459aba]::-webkit-scrollbar{display:none}.filter-pill[data-v-32459aba]{height:24px;padding:0 10px;border-radius:99px;font-size:11px;font-weight:500;cursor:pointer;border:1px solid transparent;background:transparent;color:var(--dt-foreground-muted);text-transform:capitalize;transition:background .15s ease-out,color .15s ease-out,border-color .15s ease-out,transform .12s ease-out}.filter-pill[data-v-32459aba]:active{transform:scale(.97)}.filter-pill[data-v-32459aba]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary)}.filter-pill--active[data-v-32459aba]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-color:var(--dt-primary)}.filter-count[data-v-32459aba]{margin-left:auto;font-size:11px;color:var(--dt-foreground-subtle)}.main-split[data-v-32459aba]{display:flex;flex:1;overflow:hidden}.list-pane[data-v-32459aba]{min-width:180px;display:flex;flex-direction:column;overflow:hidden;flex-shrink:0}.detail-pane[data-v-32459aba]{flex:1;min-width:200px;overflow:hidden}.drag-handle[data-v-32459aba]{width:5px;flex-shrink:0;cursor:col-resize;background:var(--dt-border-subtle);transition:background .15s ease-out}.drag-handle[data-v-32459aba]:hover{background:var(--dt-primary)}.settings-menu[data-v-32459aba]{position:absolute;right:8px;top:0;z-index:100;background:var(--dt-nav);border:1px solid var(--dt-border);border-radius:8px;padding:4px;box-shadow:0 8px 24px #00000080;min-width:160px;transform-origin:top right}.settings-item[data-v-32459aba]{display:flex;align-items:center;gap:8px;width:100%;padding:6px 10px;border:none;background:transparent;color:var(--dt-foreground);font-size:12px;cursor:pointer;border-radius:5px;text-align:left;transition:background .12s ease-out,transform .12s ease-out}.settings-item[data-v-32459aba]:active{transform:scale(.97)}.settings-item[data-v-32459aba]:hover{background:var(--dt-surface-raised)}.settings-check[data-v-32459aba]{width:14px;height:14px;border:1px solid var(--dt-border-strong);border-radius:3px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}.settings-check--on[data-v-32459aba]{background:var(--dt-primary);border-color:var(--dt-primary)}.settings-menu-enter-active[data-v-32459aba]{transition:transform .15s cubic-bezier(.23,1,.32,1),opacity .15s ease-out}.settings-menu-leave-active[data-v-32459aba]{transition:transform .1s ease-in,opacity .1s ease-in}.settings-menu-enter-from[data-v-32459aba],.settings-menu-leave-to[data-v-32459aba]{transform:scale(.95) translateY(-4px);opacity:0}')), document.head.appendChild(e);
|
|
65
65
|
}
|
|
66
66
|
} catch (r) {
|
|
67
67
|
console.error("vite-plugin-css-injected-by-js", r);
|
|
@@ -84,16 +84,16 @@ function ke(e, i) {
|
|
|
84
84
|
return { value: "[non-serializable]", truncated: true };
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
var
|
|
87
|
+
var Vt = (0, import_vue.computed)(
|
|
88
88
|
() => A.instances
|
|
89
89
|
);
|
|
90
|
-
var
|
|
90
|
+
var ft = (0, import_vue.computed)(
|
|
91
91
|
() => A.requests
|
|
92
92
|
);
|
|
93
|
-
function
|
|
93
|
+
function Nt(e) {
|
|
94
94
|
A.instances.clear(), A.requests.splice(0), A.config.maxHistory = e.maxHistory ?? 300, A.config.maxPayloadSize = e.maxPayloadSize ?? 2e5;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function Wt(e, i, t) {
|
|
97
97
|
A.instances.set(e, {
|
|
98
98
|
id: e,
|
|
99
99
|
url: i,
|
|
@@ -105,14 +105,15 @@ function Pt(e, i, t) {
|
|
|
105
105
|
lastRequestAt: null
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function Ht(e) {
|
|
109
109
|
A.instances.delete(e);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function Bt(e, i) {
|
|
112
112
|
const t = A.instances.get(e);
|
|
113
113
|
t && (t.state = { ...t.state, ...i });
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function Kt(e) {
|
|
116
|
+
var l;
|
|
116
117
|
const { value: i, truncated: t } = ke(e.payload, A.config.maxPayloadSize), { value: n, truncated: s } = ke(e.queryParams, A.config.maxPayloadSize), o = {
|
|
117
118
|
...e,
|
|
118
119
|
payload: i,
|
|
@@ -120,14 +121,15 @@ function Dt(e) {
|
|
|
120
121
|
duration: null,
|
|
121
122
|
response: null,
|
|
122
123
|
error: null,
|
|
123
|
-
truncated: t || s
|
|
124
|
+
truncated: t || s,
|
|
125
|
+
instanceOptions: e.instanceId ? (l = A.instances.get(e.instanceId)) == null ? void 0 : l.options : void 0
|
|
124
126
|
};
|
|
125
127
|
if (A.requests.length >= A.config.maxHistory && A.requests.shift(), A.requests.push(o), e.instanceId) {
|
|
126
|
-
const
|
|
127
|
-
|
|
128
|
+
const r = A.instances.get(e.instanceId);
|
|
129
|
+
r && (r.requestCount++, r.lastRequestAt = e.startedAt);
|
|
128
130
|
}
|
|
129
131
|
}
|
|
130
|
-
function
|
|
132
|
+
function Ut(e, i) {
|
|
131
133
|
const t = A.requests.findIndex((s) => s.id === e);
|
|
132
134
|
if (t === -1) return;
|
|
133
135
|
const n = A.requests[t];
|
|
@@ -152,65 +154,62 @@ function Vt(e, i) {
|
|
|
152
154
|
duration: i.duration
|
|
153
155
|
} : A.requests[t] = { ...n, status: "aborted", duration: i.duration };
|
|
154
156
|
}
|
|
155
|
-
function
|
|
157
|
+
function We() {
|
|
156
158
|
A.requests.splice(0);
|
|
157
159
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
var se = (0, import_vue.reactive)({ tabs: [] });
|
|
162
|
-
var Q = (0, import_vue.computed)(
|
|
163
|
-
() => [...se.tabs].sort((e, i) => e.order - i.order)
|
|
160
|
+
var oe = (0, import_vue.reactive)({ tabs: [] });
|
|
161
|
+
var G = (0, import_vue.computed)(
|
|
162
|
+
() => [...oe.tabs].sort((e, i) => e.order - i.order)
|
|
164
163
|
);
|
|
165
|
-
function
|
|
166
|
-
if (
|
|
167
|
-
const i = e.order ??
|
|
168
|
-
|
|
164
|
+
function He(e) {
|
|
165
|
+
if (oe.tabs.some((t) => t.id === e.id)) return;
|
|
166
|
+
const i = e.order ?? oe.tabs.length + 10;
|
|
167
|
+
oe.tabs.push({ ...e, order: i, component: (0, import_vue.markRaw)(e.component) });
|
|
169
168
|
}
|
|
170
|
-
function
|
|
171
|
-
|
|
169
|
+
function Jt(e, i, t) {
|
|
170
|
+
Wt(e, i, t);
|
|
172
171
|
}
|
|
173
|
-
function
|
|
174
|
-
|
|
172
|
+
function Xt(e) {
|
|
173
|
+
Ht(e);
|
|
175
174
|
}
|
|
176
|
-
function
|
|
177
|
-
|
|
175
|
+
function Qt(e, i) {
|
|
176
|
+
Bt(e, i);
|
|
178
177
|
}
|
|
179
|
-
function
|
|
180
|
-
|
|
178
|
+
function Gt(e) {
|
|
179
|
+
Kt(e);
|
|
181
180
|
}
|
|
182
|
-
function
|
|
183
|
-
|
|
181
|
+
function Yt(e, i) {
|
|
182
|
+
Ut(e, i);
|
|
184
183
|
}
|
|
185
|
-
function
|
|
184
|
+
function qe(e) {
|
|
186
185
|
return new Promise((i, t) => {
|
|
187
186
|
e.oncomplete = e.onsuccess = () => i(e.result), e.onabort = e.onerror = () => t(e.error);
|
|
188
187
|
});
|
|
189
188
|
}
|
|
190
|
-
function
|
|
189
|
+
function Zt(e, i) {
|
|
191
190
|
let t;
|
|
192
191
|
const n = () => {
|
|
193
192
|
if (t)
|
|
194
193
|
return t;
|
|
195
194
|
const s = indexedDB.open(e);
|
|
196
|
-
return s.onupgradeneeded = () => s.result.createObjectStore(i), t =
|
|
195
|
+
return s.onupgradeneeded = () => s.result.createObjectStore(i), t = qe(s), t.then((o) => {
|
|
197
196
|
o.onclose = () => t = void 0;
|
|
198
197
|
}, () => {
|
|
199
198
|
}), t;
|
|
200
199
|
};
|
|
201
200
|
return (s, o) => n().then((l) => o(l.transaction(i, s).objectStore(i)));
|
|
202
201
|
}
|
|
203
|
-
var
|
|
204
|
-
function
|
|
205
|
-
return
|
|
202
|
+
var be;
|
|
203
|
+
function pt() {
|
|
204
|
+
return be || (be = Zt("keyval-store", "keyval")), be;
|
|
206
205
|
}
|
|
207
|
-
function
|
|
208
|
-
return i("readonly", (t) =>
|
|
206
|
+
function W(e, i = pt()) {
|
|
207
|
+
return i("readonly", (t) => qe(t.get(e)));
|
|
209
208
|
}
|
|
210
|
-
function
|
|
211
|
-
return t("readwrite", (n) => (n.put(i, e),
|
|
209
|
+
function H(e, i, t = pt()) {
|
|
210
|
+
return t("readwrite", (n) => (n.put(i, e), qe(n.transaction)));
|
|
212
211
|
}
|
|
213
|
-
var
|
|
212
|
+
var F = {
|
|
214
213
|
panelHeight: "vmd:panel-height",
|
|
215
214
|
panelMode: "vmd:panel-mode",
|
|
216
215
|
panelSideWidth: "vmd:panel-side-width",
|
|
@@ -218,81 +217,95 @@ var R = {
|
|
|
218
217
|
networkToolbarVisible: "vmd:network-toolbar-visible",
|
|
219
218
|
networkFilterVisible: "vmd:network-filter-visible",
|
|
220
219
|
splitPayloadWidth: "vmd:split-payload-width",
|
|
220
|
+
splitPayloadHeight: "vmd:split-payload-height",
|
|
221
|
+
listWidth: "vmd:list-width",
|
|
221
222
|
payloadFormat: "vmd:payload-format",
|
|
222
223
|
responseFormat: "vmd:response-format"
|
|
223
224
|
};
|
|
224
|
-
async function
|
|
225
|
-
return
|
|
225
|
+
async function en() {
|
|
226
|
+
return W(F.activeTab);
|
|
226
227
|
}
|
|
227
|
-
async function
|
|
228
|
-
return
|
|
228
|
+
async function tn(e) {
|
|
229
|
+
return H(F.activeTab, e);
|
|
229
230
|
}
|
|
230
|
-
async function
|
|
231
|
-
return
|
|
231
|
+
async function nn() {
|
|
232
|
+
return W(F.panelHeight);
|
|
232
233
|
}
|
|
233
|
-
async function
|
|
234
|
-
return
|
|
234
|
+
async function sn(e) {
|
|
235
|
+
return H(F.panelHeight, e);
|
|
235
236
|
}
|
|
236
|
-
async function
|
|
237
|
-
return await
|
|
237
|
+
async function on() {
|
|
238
|
+
return await W(F.panelMode) ?? "side";
|
|
238
239
|
}
|
|
239
|
-
async function
|
|
240
|
-
return
|
|
240
|
+
async function ln(e) {
|
|
241
|
+
return H(F.panelMode, e);
|
|
241
242
|
}
|
|
242
|
-
async function
|
|
243
|
-
return
|
|
243
|
+
async function rn() {
|
|
244
|
+
return W(F.panelSideWidth);
|
|
244
245
|
}
|
|
245
|
-
async function
|
|
246
|
-
return
|
|
246
|
+
async function an(e) {
|
|
247
|
+
return H(F.panelSideWidth, e);
|
|
247
248
|
}
|
|
248
|
-
async function
|
|
249
|
-
return await
|
|
249
|
+
async function cn() {
|
|
250
|
+
return await W(F.networkToolbarVisible) ?? true;
|
|
250
251
|
}
|
|
251
|
-
async function
|
|
252
|
-
return
|
|
252
|
+
async function un(e) {
|
|
253
|
+
return H(F.networkToolbarVisible, e);
|
|
253
254
|
}
|
|
254
|
-
async function
|
|
255
|
-
return await
|
|
255
|
+
async function dn() {
|
|
256
|
+
return await W(F.networkFilterVisible) ?? true;
|
|
256
257
|
}
|
|
257
|
-
async function
|
|
258
|
-
return
|
|
258
|
+
async function hn(e) {
|
|
259
|
+
return H(F.networkFilterVisible, e);
|
|
259
260
|
}
|
|
260
|
-
async function
|
|
261
|
-
return
|
|
261
|
+
async function Be() {
|
|
262
|
+
return W(F.splitPayloadWidth);
|
|
262
263
|
}
|
|
263
|
-
async function
|
|
264
|
-
return
|
|
264
|
+
async function fn(e) {
|
|
265
|
+
return H(F.splitPayloadWidth, e);
|
|
265
266
|
}
|
|
266
|
-
async function
|
|
267
|
-
return
|
|
267
|
+
async function Ke() {
|
|
268
|
+
return W(F.splitPayloadHeight);
|
|
268
269
|
}
|
|
269
|
-
async function
|
|
270
|
-
return
|
|
270
|
+
async function pn(e) {
|
|
271
|
+
return H(F.splitPayloadHeight, e);
|
|
271
272
|
}
|
|
272
|
-
async function
|
|
273
|
-
return await
|
|
273
|
+
async function mn() {
|
|
274
|
+
return await W(F.payloadFormat) ?? "kv";
|
|
274
275
|
}
|
|
275
|
-
async function
|
|
276
|
-
return
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
function
|
|
288
|
-
|
|
276
|
+
async function vn(e) {
|
|
277
|
+
return H(F.payloadFormat, e);
|
|
278
|
+
}
|
|
279
|
+
async function gn() {
|
|
280
|
+
return await W(F.responseFormat) ?? "json";
|
|
281
|
+
}
|
|
282
|
+
async function yn(e) {
|
|
283
|
+
return H(F.responseFormat, e);
|
|
284
|
+
}
|
|
285
|
+
async function bn() {
|
|
286
|
+
return W(F.listWidth);
|
|
287
|
+
}
|
|
288
|
+
async function wn(e) {
|
|
289
|
+
return H(F.listWidth, e);
|
|
290
|
+
}
|
|
291
|
+
var Sn = 360;
|
|
292
|
+
var xn = 200;
|
|
293
|
+
var _n = 0.8;
|
|
294
|
+
var kn = 380;
|
|
295
|
+
var In = 280;
|
|
296
|
+
var En = 0.6;
|
|
297
|
+
var Tn = (0, import_vue.ref)(false);
|
|
298
|
+
var se = (0, import_vue.ref)("side");
|
|
299
|
+
var we = false;
|
|
300
|
+
function me() {
|
|
301
|
+
const e = (0, import_vue.ref)(Sn), i = Tn, t = se, n = (0, import_vue.ref)(kn);
|
|
289
302
|
(0, import_vue.onMounted)(async () => {
|
|
290
303
|
const [d, w, p] = await Promise.all([
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
304
|
+
nn(),
|
|
305
|
+
we ? Promise.resolve(se.value) : on(),
|
|
306
|
+
rn()
|
|
294
307
|
]);
|
|
295
|
-
d !== void 0 && (e.value = d),
|
|
308
|
+
d !== void 0 && (e.value = d), we || (se.value = w, we = true), p !== void 0 && (n.value = p);
|
|
296
309
|
});
|
|
297
310
|
function s() {
|
|
298
311
|
i.value = !i.value;
|
|
@@ -301,85 +314,85 @@ function fe() {
|
|
|
301
314
|
i.value = false;
|
|
302
315
|
}
|
|
303
316
|
function l(d) {
|
|
304
|
-
|
|
317
|
+
se.value = d, ln(d);
|
|
305
318
|
}
|
|
306
319
|
let r = false, a = null, c = null;
|
|
307
320
|
function u(d) {
|
|
308
321
|
const w = d.clientY, p = e.value;
|
|
309
322
|
r = true;
|
|
310
|
-
function
|
|
323
|
+
function y(x) {
|
|
311
324
|
if (!r) return;
|
|
312
|
-
const T = Math.floor(window.innerHeight *
|
|
313
|
-
e.value = Math.max(
|
|
325
|
+
const T = Math.floor(window.innerHeight * _n);
|
|
326
|
+
e.value = Math.max(xn, Math.min(p + (w - x.clientY), T));
|
|
314
327
|
}
|
|
315
328
|
function v() {
|
|
316
|
-
r = false, a = null,
|
|
329
|
+
r = false, a = null, sn(e.value), window.removeEventListener("mousemove", y), window.removeEventListener("mouseup", v);
|
|
317
330
|
}
|
|
318
331
|
a = () => {
|
|
319
|
-
window.removeEventListener("mousemove",
|
|
320
|
-
}, window.addEventListener("mousemove",
|
|
332
|
+
window.removeEventListener("mousemove", y), window.removeEventListener("mouseup", v);
|
|
333
|
+
}, window.addEventListener("mousemove", y), window.addEventListener("mouseup", v), d.preventDefault();
|
|
321
334
|
}
|
|
322
335
|
function g(d) {
|
|
323
336
|
const w = d.clientX, p = n.value;
|
|
324
337
|
r = true;
|
|
325
|
-
function
|
|
338
|
+
function y(x) {
|
|
326
339
|
if (!r) return;
|
|
327
|
-
const T = Math.floor(window.innerWidth *
|
|
328
|
-
n.value = Math.max(
|
|
340
|
+
const T = Math.floor(window.innerWidth * En);
|
|
341
|
+
n.value = Math.max(In, Math.min(p + (w - x.clientX), T));
|
|
329
342
|
}
|
|
330
343
|
function v() {
|
|
331
|
-
r = false, c = null,
|
|
344
|
+
r = false, c = null, an(n.value), window.removeEventListener("mousemove", y), window.removeEventListener("mouseup", v);
|
|
332
345
|
}
|
|
333
346
|
c = () => {
|
|
334
|
-
window.removeEventListener("mousemove",
|
|
335
|
-
}, window.addEventListener("mousemove",
|
|
347
|
+
window.removeEventListener("mousemove", y), window.removeEventListener("mouseup", v);
|
|
348
|
+
}, window.addEventListener("mousemove", y), window.addEventListener("mouseup", v), d.preventDefault();
|
|
336
349
|
}
|
|
337
350
|
return (0, import_vue.onScopeDispose)(() => {
|
|
338
351
|
a == null || a(), c == null || c();
|
|
339
352
|
}), { height: e, isOpen: i, panelMode: t, sideWidth: n, startResizeHeight: u, startResizeSideWidth: g, switchMode: l, toggle: s, close: o };
|
|
340
353
|
}
|
|
341
|
-
function
|
|
354
|
+
function mt() {
|
|
342
355
|
const e = (0, import_vue.ref)(null);
|
|
343
356
|
(0, import_vue.onMounted)(async () => {
|
|
344
|
-
const n = await
|
|
345
|
-
n ? e.value = n :
|
|
357
|
+
const n = await en();
|
|
358
|
+
n ? e.value = n : G.value.length > 0 && (e.value = G.value[0].id);
|
|
346
359
|
}), (0, import_vue.watch)(e, (n) => {
|
|
347
|
-
n &&
|
|
360
|
+
n && tn(n);
|
|
348
361
|
});
|
|
349
362
|
const i = (0, import_vue.computed)(
|
|
350
|
-
() =>
|
|
363
|
+
() => G.value.find((n) => n.id === e.value) ?? G.value[0] ?? null
|
|
351
364
|
);
|
|
352
365
|
function t(n) {
|
|
353
366
|
e.value = n;
|
|
354
367
|
}
|
|
355
|
-
return { registeredTabs:
|
|
368
|
+
return { registeredTabs: G, activeTabId: e, activeTab: i, setActiveTab: t };
|
|
356
369
|
}
|
|
357
|
-
var
|
|
358
|
-
function
|
|
370
|
+
var ie = (0, import_vue.ref)(false);
|
|
371
|
+
function $e() {
|
|
359
372
|
const e = (0, import_vue.ref)(true), i = (0, import_vue.ref)(true);
|
|
360
373
|
(0, import_vue.onMounted)(async () => {
|
|
361
374
|
const [l, r] = await Promise.all([
|
|
362
|
-
|
|
363
|
-
|
|
375
|
+
cn(),
|
|
376
|
+
dn()
|
|
364
377
|
]);
|
|
365
378
|
e.value = l, i.value = r;
|
|
366
379
|
});
|
|
367
380
|
function t() {
|
|
368
|
-
e.value = !e.value,
|
|
381
|
+
e.value = !e.value, un(e.value);
|
|
369
382
|
}
|
|
370
383
|
function n() {
|
|
371
|
-
i.value = !i.value,
|
|
384
|
+
i.value = !i.value, hn(i.value);
|
|
372
385
|
}
|
|
373
386
|
function s() {
|
|
374
|
-
|
|
387
|
+
ie.value = !ie.value;
|
|
375
388
|
}
|
|
376
389
|
function o() {
|
|
377
|
-
|
|
390
|
+
ie.value = false;
|
|
378
391
|
}
|
|
379
|
-
return { toolbarVisible: e, filterVisible: i, settingsOpen:
|
|
392
|
+
return { toolbarVisible: e, filterVisible: i, settingsOpen: ie, toggleToolbar: t, toggleFilter: n, toggleSettings: s, closeSettings: o };
|
|
380
393
|
}
|
|
381
|
-
var
|
|
382
|
-
var
|
|
394
|
+
var vt = /^[a-z0-9]+(-[a-z0-9]+)*$/;
|
|
395
|
+
var ve = (e, i, t, n = "") => {
|
|
383
396
|
const s = e.split(":");
|
|
384
397
|
if (e.slice(0, 1) === "@") {
|
|
385
398
|
if (s.length < 2 || s.length > 3)
|
|
@@ -395,7 +408,7 @@ var pe = (e, i, t, n = "") => {
|
|
|
395
408
|
prefix: a,
|
|
396
409
|
name: r
|
|
397
410
|
};
|
|
398
|
-
return i && !
|
|
411
|
+
return i && !le(c) ? null : c;
|
|
399
412
|
}
|
|
400
413
|
const o = s[0], l = o.split("-");
|
|
401
414
|
if (l.length > 1) {
|
|
@@ -404,7 +417,7 @@ var pe = (e, i, t, n = "") => {
|
|
|
404
417
|
prefix: l.shift(),
|
|
405
418
|
name: l.join("-")
|
|
406
419
|
};
|
|
407
|
-
return i && !
|
|
420
|
+
return i && !le(r) ? null : r;
|
|
408
421
|
}
|
|
409
422
|
if (t && n === "") {
|
|
410
423
|
const r = {
|
|
@@ -412,14 +425,14 @@ var pe = (e, i, t, n = "") => {
|
|
|
412
425
|
prefix: "",
|
|
413
426
|
name: o
|
|
414
427
|
};
|
|
415
|
-
return i && !
|
|
428
|
+
return i && !le(r, t) ? null : r;
|
|
416
429
|
}
|
|
417
430
|
return null;
|
|
418
431
|
};
|
|
419
|
-
var
|
|
432
|
+
var le = (e, i) => e ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
|
|
420
433
|
// Check name: cannot be empty
|
|
421
434
|
((i && e.prefix === "" || e.prefix) && e.name) : false;
|
|
422
|
-
var
|
|
435
|
+
var gt = Object.freeze(
|
|
423
436
|
{
|
|
424
437
|
left: 0,
|
|
425
438
|
top: 0,
|
|
@@ -427,33 +440,33 @@ var ht = Object.freeze(
|
|
|
427
440
|
height: 16
|
|
428
441
|
}
|
|
429
442
|
);
|
|
430
|
-
var
|
|
443
|
+
var he = Object.freeze({
|
|
431
444
|
rotate: 0,
|
|
432
445
|
vFlip: false,
|
|
433
446
|
hFlip: false
|
|
434
447
|
});
|
|
435
|
-
var
|
|
436
|
-
...
|
|
437
|
-
...
|
|
448
|
+
var ge = Object.freeze({
|
|
449
|
+
...gt,
|
|
450
|
+
...he
|
|
438
451
|
});
|
|
439
|
-
var
|
|
440
|
-
...
|
|
452
|
+
var Ie = Object.freeze({
|
|
453
|
+
...ge,
|
|
441
454
|
body: "",
|
|
442
455
|
hidden: false
|
|
443
456
|
});
|
|
444
|
-
function
|
|
457
|
+
function Mn(e, i) {
|
|
445
458
|
const t = {};
|
|
446
459
|
!e.hFlip != !i.hFlip && (t.hFlip = true), !e.vFlip != !i.vFlip && (t.vFlip = true);
|
|
447
460
|
const n = ((e.rotate || 0) + (i.rotate || 0)) % 4;
|
|
448
461
|
return n && (t.rotate = n), t;
|
|
449
462
|
}
|
|
450
|
-
function
|
|
451
|
-
const t =
|
|
452
|
-
for (const n in
|
|
453
|
-
n in
|
|
463
|
+
function Ue(e, i) {
|
|
464
|
+
const t = Mn(e, i);
|
|
465
|
+
for (const n in Ie)
|
|
466
|
+
n in he ? n in e && !(n in t) && (t[n] = he[n]) : n in i ? t[n] = i[n] : n in e && (t[n] = e[n]);
|
|
454
467
|
return t;
|
|
455
468
|
}
|
|
456
|
-
function
|
|
469
|
+
function Cn(e, i) {
|
|
457
470
|
const t = e.icons, n = e.aliases || /* @__PURE__ */ Object.create(null), s = /* @__PURE__ */ Object.create(null);
|
|
458
471
|
function o(l) {
|
|
459
472
|
if (t[l])
|
|
@@ -467,48 +480,48 @@ function xn(e, i) {
|
|
|
467
480
|
}
|
|
468
481
|
return Object.keys(t).concat(Object.keys(n)).forEach(o), s;
|
|
469
482
|
}
|
|
470
|
-
function
|
|
483
|
+
function On(e, i, t) {
|
|
471
484
|
const n = e.icons, s = e.aliases || /* @__PURE__ */ Object.create(null);
|
|
472
485
|
let o = {};
|
|
473
486
|
function l(r) {
|
|
474
|
-
o =
|
|
487
|
+
o = Ue(
|
|
475
488
|
n[r] || s[r],
|
|
476
489
|
o
|
|
477
490
|
);
|
|
478
491
|
}
|
|
479
|
-
return l(i), t.forEach(l),
|
|
492
|
+
return l(i), t.forEach(l), Ue(e, o);
|
|
480
493
|
}
|
|
481
|
-
function
|
|
494
|
+
function yt(e, i) {
|
|
482
495
|
const t = [];
|
|
483
496
|
if (typeof e != "object" || typeof e.icons != "object")
|
|
484
497
|
return t;
|
|
485
498
|
e.not_found instanceof Array && e.not_found.forEach((s) => {
|
|
486
499
|
i(s, null), t.push(s);
|
|
487
500
|
});
|
|
488
|
-
const n =
|
|
501
|
+
const n = Cn(e);
|
|
489
502
|
for (const s in n) {
|
|
490
503
|
const o = n[s];
|
|
491
|
-
o && (i(s,
|
|
504
|
+
o && (i(s, On(e, s, o)), t.push(s));
|
|
492
505
|
}
|
|
493
506
|
return t;
|
|
494
507
|
}
|
|
495
|
-
var
|
|
508
|
+
var zn = {
|
|
496
509
|
provider: "",
|
|
497
510
|
aliases: {},
|
|
498
511
|
not_found: {},
|
|
499
|
-
...
|
|
512
|
+
...gt
|
|
500
513
|
};
|
|
501
|
-
function
|
|
514
|
+
function Se(e, i) {
|
|
502
515
|
for (const t in i)
|
|
503
516
|
if (t in e && typeof e[t] != typeof i[t])
|
|
504
517
|
return false;
|
|
505
518
|
return true;
|
|
506
519
|
}
|
|
507
|
-
function
|
|
520
|
+
function bt(e) {
|
|
508
521
|
if (typeof e != "object" || e === null)
|
|
509
522
|
return null;
|
|
510
523
|
const i = e;
|
|
511
|
-
if (typeof i.prefix != "string" || !e.icons || typeof e.icons != "object" || !
|
|
524
|
+
if (typeof i.prefix != "string" || !e.icons || typeof e.icons != "object" || !Se(e, zn))
|
|
512
525
|
return null;
|
|
513
526
|
const t = i.icons;
|
|
514
527
|
for (const s in t) {
|
|
@@ -517,9 +530,9 @@ function pt(e) {
|
|
|
517
530
|
// Name cannot be empty
|
|
518
531
|
!s || // Must have body
|
|
519
532
|
typeof o.body != "string" || // Check other props
|
|
520
|
-
!
|
|
533
|
+
!Se(
|
|
521
534
|
o,
|
|
522
|
-
|
|
535
|
+
Ie
|
|
523
536
|
)
|
|
524
537
|
)
|
|
525
538
|
return null;
|
|
@@ -531,17 +544,17 @@ function pt(e) {
|
|
|
531
544
|
// Name cannot be empty
|
|
532
545
|
!s || // Parent must be set and point to existing icon
|
|
533
546
|
typeof l != "string" || !t[l] && !n[l] || // Check other props
|
|
534
|
-
!
|
|
547
|
+
!Se(
|
|
535
548
|
o,
|
|
536
|
-
|
|
549
|
+
Ie
|
|
537
550
|
)
|
|
538
551
|
)
|
|
539
552
|
return null;
|
|
540
553
|
}
|
|
541
554
|
return i;
|
|
542
555
|
}
|
|
543
|
-
var
|
|
544
|
-
function
|
|
556
|
+
var Je = /* @__PURE__ */ Object.create(null);
|
|
557
|
+
function An(e, i) {
|
|
545
558
|
return {
|
|
546
559
|
provider: e,
|
|
547
560
|
prefix: i,
|
|
@@ -549,16 +562,16 @@ function In(e, i) {
|
|
|
549
562
|
missing: /* @__PURE__ */ new Set()
|
|
550
563
|
};
|
|
551
564
|
}
|
|
552
|
-
function
|
|
553
|
-
const t =
|
|
554
|
-
return t[i] || (t[i] =
|
|
565
|
+
function Q(e, i) {
|
|
566
|
+
const t = Je[e] || (Je[e] = /* @__PURE__ */ Object.create(null));
|
|
567
|
+
return t[i] || (t[i] = An(e, i));
|
|
555
568
|
}
|
|
556
|
-
function
|
|
557
|
-
return
|
|
569
|
+
function wt(e, i) {
|
|
570
|
+
return bt(i) ? yt(i, (t, n) => {
|
|
558
571
|
n ? e.icons[t] = n : e.missing.add(t);
|
|
559
572
|
}) : [];
|
|
560
573
|
}
|
|
561
|
-
function
|
|
574
|
+
function Ln(e, i, t) {
|
|
562
575
|
try {
|
|
563
576
|
if (typeof t.body == "string")
|
|
564
577
|
return e.icons[i] = { ...t }, true;
|
|
@@ -566,66 +579,66 @@ function En(e, i, t) {
|
|
|
566
579
|
}
|
|
567
580
|
return false;
|
|
568
581
|
}
|
|
569
|
-
var
|
|
570
|
-
function
|
|
571
|
-
return typeof e == "boolean" && (
|
|
582
|
+
var te = false;
|
|
583
|
+
function St(e) {
|
|
584
|
+
return typeof e == "boolean" && (te = e), te;
|
|
572
585
|
}
|
|
573
|
-
function
|
|
574
|
-
const i = typeof e == "string" ?
|
|
586
|
+
function qn(e) {
|
|
587
|
+
const i = typeof e == "string" ? ve(e, true, te) : e;
|
|
575
588
|
if (i) {
|
|
576
|
-
const t =
|
|
589
|
+
const t = Q(i.provider, i.prefix), n = i.name;
|
|
577
590
|
return t.icons[n] || (t.missing.has(n) ? null : void 0);
|
|
578
591
|
}
|
|
579
592
|
}
|
|
580
|
-
function
|
|
581
|
-
const t =
|
|
593
|
+
function $n(e, i) {
|
|
594
|
+
const t = ve(e, true, te);
|
|
582
595
|
if (!t)
|
|
583
596
|
return false;
|
|
584
|
-
const n =
|
|
585
|
-
return i ?
|
|
597
|
+
const n = Q(t.provider, t.prefix);
|
|
598
|
+
return i ? Ln(n, t.name, i) : (n.missing.add(t.name), true);
|
|
586
599
|
}
|
|
587
|
-
function
|
|
600
|
+
function Fn(e, i) {
|
|
588
601
|
if (typeof e != "object")
|
|
589
602
|
return false;
|
|
590
|
-
if (typeof i != "string" && (i = e.provider || ""),
|
|
603
|
+
if (typeof i != "string" && (i = e.provider || ""), te && !i && !e.prefix) {
|
|
591
604
|
let s = false;
|
|
592
|
-
return
|
|
593
|
-
|
|
605
|
+
return bt(e) && (e.prefix = "", yt(e, (o, l) => {
|
|
606
|
+
$n(o, l) && (s = true);
|
|
594
607
|
})), s;
|
|
595
608
|
}
|
|
596
609
|
const t = e.prefix;
|
|
597
|
-
if (!
|
|
610
|
+
if (!le({
|
|
598
611
|
prefix: t,
|
|
599
612
|
name: "a"
|
|
600
613
|
}))
|
|
601
614
|
return false;
|
|
602
|
-
const n =
|
|
603
|
-
return !!
|
|
615
|
+
const n = Q(i, t);
|
|
616
|
+
return !!wt(n, e);
|
|
604
617
|
}
|
|
605
|
-
var
|
|
618
|
+
var xt = Object.freeze({
|
|
606
619
|
width: null,
|
|
607
620
|
height: null
|
|
608
621
|
});
|
|
609
|
-
var
|
|
622
|
+
var _t = Object.freeze({
|
|
610
623
|
// Dimensions
|
|
611
|
-
...
|
|
624
|
+
...xt,
|
|
612
625
|
// Transformations
|
|
613
|
-
...
|
|
626
|
+
...he
|
|
614
627
|
});
|
|
615
|
-
var
|
|
616
|
-
var
|
|
617
|
-
function
|
|
628
|
+
var Pn = /(-?[0-9.]*[0-9]+[0-9.]*)/g;
|
|
629
|
+
var Rn = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
630
|
+
function Xe(e, i, t) {
|
|
618
631
|
if (i === 1)
|
|
619
632
|
return e;
|
|
620
633
|
if (t = t || 100, typeof e == "number")
|
|
621
634
|
return Math.ceil(e * i * t) / t;
|
|
622
635
|
if (typeof e != "string")
|
|
623
636
|
return e;
|
|
624
|
-
const n = e.split(
|
|
637
|
+
const n = e.split(Pn);
|
|
625
638
|
if (n === null || !n.length)
|
|
626
639
|
return e;
|
|
627
640
|
const s = [];
|
|
628
|
-
let o = n.shift(), l =
|
|
641
|
+
let o = n.shift(), l = Rn.test(o);
|
|
629
642
|
for (; ; ) {
|
|
630
643
|
if (l) {
|
|
631
644
|
const r = parseFloat(o);
|
|
@@ -637,7 +650,7 @@ function Je(e, i, t) {
|
|
|
637
650
|
l = !l;
|
|
638
651
|
}
|
|
639
652
|
}
|
|
640
|
-
function
|
|
653
|
+
function jn(e, i = "defs") {
|
|
641
654
|
let t = "";
|
|
642
655
|
const n = e.indexOf("<" + i);
|
|
643
656
|
for (; n >= 0; ) {
|
|
@@ -654,20 +667,20 @@ function An(e, i = "defs") {
|
|
|
654
667
|
content: e
|
|
655
668
|
};
|
|
656
669
|
}
|
|
657
|
-
function
|
|
670
|
+
function Dn(e, i) {
|
|
658
671
|
return e ? "<defs>" + e + "</defs>" + i : i;
|
|
659
672
|
}
|
|
660
|
-
function
|
|
661
|
-
const n =
|
|
662
|
-
return
|
|
673
|
+
function Vn(e, i, t) {
|
|
674
|
+
const n = jn(e);
|
|
675
|
+
return Dn(n.defs, i + n.content + t);
|
|
663
676
|
}
|
|
664
|
-
var
|
|
665
|
-
function
|
|
677
|
+
var Nn = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
678
|
+
function Wn(e, i) {
|
|
666
679
|
const t = {
|
|
667
|
-
...
|
|
680
|
+
...ge,
|
|
668
681
|
...e
|
|
669
682
|
}, n = {
|
|
670
|
-
...
|
|
683
|
+
..._t,
|
|
671
684
|
...i
|
|
672
685
|
}, s = {
|
|
673
686
|
left: t.left,
|
|
@@ -676,16 +689,16 @@ function Fn(e, i) {
|
|
|
676
689
|
height: t.height
|
|
677
690
|
};
|
|
678
691
|
let o = t.body;
|
|
679
|
-
[t, n].forEach((
|
|
680
|
-
const v = [], x =
|
|
681
|
-
let
|
|
682
|
-
x ? T ?
|
|
692
|
+
[t, n].forEach((y) => {
|
|
693
|
+
const v = [], x = y.hFlip, T = y.vFlip;
|
|
694
|
+
let S = y.rotate;
|
|
695
|
+
x ? T ? S += 2 : (v.push(
|
|
683
696
|
"translate(" + (s.width + s.left).toString() + " " + (0 - s.top).toString() + ")"
|
|
684
697
|
), v.push("scale(-1 1)"), s.top = s.left = 0) : T && (v.push(
|
|
685
698
|
"translate(" + (0 - s.left).toString() + " " + (s.height + s.top).toString() + ")"
|
|
686
699
|
), v.push("scale(1 -1)"), s.top = s.left = 0);
|
|
687
700
|
let z;
|
|
688
|
-
switch (
|
|
701
|
+
switch (S < 0 && (S -= Math.floor(S / 4) * 4), S = S % 4, S) {
|
|
689
702
|
case 1:
|
|
690
703
|
z = s.height / 2 + s.top, v.unshift(
|
|
691
704
|
"rotate(90 " + z.toString() + " " + z.toString() + ")"
|
|
@@ -702,7 +715,7 @@ function Fn(e, i) {
|
|
|
702
715
|
);
|
|
703
716
|
break;
|
|
704
717
|
}
|
|
705
|
-
|
|
718
|
+
S % 2 === 1 && (s.left !== s.top && (z = s.left, s.left = s.top, s.top = z), s.width !== s.height && (z = s.width, s.width = s.height, s.height = z)), v.length && (o = Vn(
|
|
706
719
|
o,
|
|
707
720
|
'<g transform="' + v.join(" ") + '">',
|
|
708
721
|
"</g>"
|
|
@@ -710,9 +723,9 @@ function Fn(e, i) {
|
|
|
710
723
|
});
|
|
711
724
|
const l = n.width, r = n.height, a = s.width, c = s.height;
|
|
712
725
|
let u, g;
|
|
713
|
-
l === null ? (g = r === null ? "1em" : r === "auto" ? c : r, u =
|
|
714
|
-
const d = {}, w = (
|
|
715
|
-
|
|
726
|
+
l === null ? (g = r === null ? "1em" : r === "auto" ? c : r, u = Xe(g, a / c)) : (u = l === "auto" ? a : l, g = r === null ? Xe(u, c / a) : r === "auto" ? c : r);
|
|
727
|
+
const d = {}, w = (y, v) => {
|
|
728
|
+
Nn(v) || (d[y] = v.toString());
|
|
716
729
|
};
|
|
717
730
|
w("width", u), w("height", g);
|
|
718
731
|
const p = [s.left, s.top, a, c];
|
|
@@ -722,19 +735,19 @@ function Fn(e, i) {
|
|
|
722
735
|
body: o
|
|
723
736
|
};
|
|
724
737
|
}
|
|
725
|
-
var
|
|
726
|
-
var
|
|
727
|
-
var
|
|
728
|
-
function
|
|
738
|
+
var Hn = /\sid="(\S+)"/g;
|
|
739
|
+
var Bn = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
|
740
|
+
var Kn = 0;
|
|
741
|
+
function Un(e, i = Bn) {
|
|
729
742
|
const t = [];
|
|
730
743
|
let n;
|
|
731
|
-
for (; n =
|
|
744
|
+
for (; n = Hn.exec(e); )
|
|
732
745
|
t.push(n[1]);
|
|
733
746
|
if (!t.length)
|
|
734
747
|
return e;
|
|
735
748
|
const s = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
736
749
|
return t.forEach((o) => {
|
|
737
|
-
const l = typeof i == "function" ? i(o) : i + (
|
|
750
|
+
const l = typeof i == "function" ? i(o) : i + (Kn++).toString(), r = o.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
738
751
|
e = e.replace(
|
|
739
752
|
// Allowed characters before id: [#;"]
|
|
740
753
|
// Allowed characters after id: [)"], .[a-z]
|
|
@@ -743,12 +756,12 @@ function Dn(e, i = Rn) {
|
|
|
743
756
|
);
|
|
744
757
|
}), e = e.replace(new RegExp(s, "g"), ""), e;
|
|
745
758
|
}
|
|
746
|
-
var
|
|
747
|
-
function
|
|
748
|
-
|
|
759
|
+
var Ee = /* @__PURE__ */ Object.create(null);
|
|
760
|
+
function Jn(e, i) {
|
|
761
|
+
Ee[e] = i;
|
|
749
762
|
}
|
|
750
|
-
function
|
|
751
|
-
return
|
|
763
|
+
function Te(e) {
|
|
764
|
+
return Ee[e] || Ee[""];
|
|
752
765
|
}
|
|
753
766
|
function Fe(e) {
|
|
754
767
|
let i;
|
|
@@ -776,24 +789,24 @@ function Fe(e) {
|
|
|
776
789
|
};
|
|
777
790
|
}
|
|
778
791
|
var Pe = /* @__PURE__ */ Object.create(null);
|
|
779
|
-
var
|
|
792
|
+
var Y = [
|
|
780
793
|
"https://api.simplesvg.com",
|
|
781
794
|
"https://api.unisvg.com"
|
|
782
795
|
];
|
|
783
|
-
var
|
|
784
|
-
for (;
|
|
785
|
-
|
|
796
|
+
var re = [];
|
|
797
|
+
for (; Y.length > 0; )
|
|
798
|
+
Y.length === 1 || Math.random() > 0.5 ? re.push(Y.shift()) : re.push(Y.pop());
|
|
786
799
|
Pe[""] = Fe({
|
|
787
|
-
resources: ["https://api.iconify.design"].concat(
|
|
800
|
+
resources: ["https://api.iconify.design"].concat(re)
|
|
788
801
|
});
|
|
789
|
-
function
|
|
802
|
+
function Xn(e, i) {
|
|
790
803
|
const t = Fe(i);
|
|
791
804
|
return t === null ? false : (Pe[e] = t, true);
|
|
792
805
|
}
|
|
793
806
|
function Re(e) {
|
|
794
807
|
return Pe[e];
|
|
795
808
|
}
|
|
796
|
-
var
|
|
809
|
+
var Qn = () => {
|
|
797
810
|
let e;
|
|
798
811
|
try {
|
|
799
812
|
if (e = fetch, typeof e == "function")
|
|
@@ -801,8 +814,8 @@ var Wn = () => {
|
|
|
801
814
|
} catch {
|
|
802
815
|
}
|
|
803
816
|
};
|
|
804
|
-
var
|
|
805
|
-
function
|
|
817
|
+
var Qe = Qn();
|
|
818
|
+
function Gn(e, i) {
|
|
806
819
|
const t = Re(e);
|
|
807
820
|
if (!t)
|
|
808
821
|
return 0;
|
|
@@ -819,11 +832,11 @@ function Hn(e, i) {
|
|
|
819
832
|
}
|
|
820
833
|
return n;
|
|
821
834
|
}
|
|
822
|
-
function
|
|
835
|
+
function Yn(e) {
|
|
823
836
|
return e === 404;
|
|
824
837
|
}
|
|
825
|
-
var
|
|
826
|
-
const n = [], s =
|
|
838
|
+
var Zn = (e, i, t) => {
|
|
839
|
+
const n = [], s = Gn(e, i), o = "icons";
|
|
827
840
|
let l = {
|
|
828
841
|
type: o,
|
|
829
842
|
provider: e,
|
|
@@ -839,7 +852,7 @@ var Kn = (e, i, t) => {
|
|
|
839
852
|
}, r = a.length), l.icons.push(a);
|
|
840
853
|
}), n.push(l), n;
|
|
841
854
|
};
|
|
842
|
-
function
|
|
855
|
+
function es(e) {
|
|
843
856
|
if (typeof e == "string") {
|
|
844
857
|
const i = Re(e);
|
|
845
858
|
if (i)
|
|
@@ -847,12 +860,12 @@ function Un(e) {
|
|
|
847
860
|
}
|
|
848
861
|
return "/";
|
|
849
862
|
}
|
|
850
|
-
var
|
|
851
|
-
if (!
|
|
863
|
+
var ts = (e, i, t) => {
|
|
864
|
+
if (!Qe) {
|
|
852
865
|
t("abort", 424);
|
|
853
866
|
return;
|
|
854
867
|
}
|
|
855
|
-
let n =
|
|
868
|
+
let n = es(i.provider);
|
|
856
869
|
switch (i.type) {
|
|
857
870
|
case "icons": {
|
|
858
871
|
const o = i.prefix, r = i.icons.join(","), a = new URLSearchParams({
|
|
@@ -871,11 +884,11 @@ var Jn = (e, i, t) => {
|
|
|
871
884
|
return;
|
|
872
885
|
}
|
|
873
886
|
let s = 503;
|
|
874
|
-
|
|
887
|
+
Qe(e + n).then((o) => {
|
|
875
888
|
const l = o.status;
|
|
876
889
|
if (l !== 200) {
|
|
877
890
|
setTimeout(() => {
|
|
878
|
-
t(
|
|
891
|
+
t(Yn(l) ? "abort" : "next", l);
|
|
879
892
|
});
|
|
880
893
|
return;
|
|
881
894
|
}
|
|
@@ -894,11 +907,11 @@ var Jn = (e, i, t) => {
|
|
|
894
907
|
t("next", s);
|
|
895
908
|
});
|
|
896
909
|
};
|
|
897
|
-
var
|
|
898
|
-
prepare:
|
|
899
|
-
send:
|
|
910
|
+
var ns = {
|
|
911
|
+
prepare: Zn,
|
|
912
|
+
send: ts
|
|
900
913
|
};
|
|
901
|
-
function
|
|
914
|
+
function ss(e) {
|
|
902
915
|
const i = {
|
|
903
916
|
loaded: [],
|
|
904
917
|
missing: [],
|
|
@@ -914,7 +927,7 @@ function Qn(e) {
|
|
|
914
927
|
if (n.name === s.name && n.prefix === s.prefix && n.provider === s.provider)
|
|
915
928
|
return;
|
|
916
929
|
n = s;
|
|
917
|
-
const o = s.provider, l = s.prefix, r = s.name, a = t[o] || (t[o] = /* @__PURE__ */ Object.create(null)), c = a[l] || (a[l] =
|
|
930
|
+
const o = s.provider, l = s.prefix, r = s.name, a = t[o] || (t[o] = /* @__PURE__ */ Object.create(null)), c = a[l] || (a[l] = Q(o, l));
|
|
918
931
|
let u;
|
|
919
932
|
r in c.icons ? u = i.loaded : l === "" || c.missing.has(r) ? u = i.missing : u = i.pending;
|
|
920
933
|
const g = {
|
|
@@ -925,13 +938,13 @@ function Qn(e) {
|
|
|
925
938
|
u.push(g);
|
|
926
939
|
}), i;
|
|
927
940
|
}
|
|
928
|
-
function
|
|
941
|
+
function kt(e, i) {
|
|
929
942
|
e.forEach((t) => {
|
|
930
943
|
const n = t.loaderCallbacks;
|
|
931
944
|
n && (t.loaderCallbacks = n.filter((s) => s.id !== i));
|
|
932
945
|
});
|
|
933
946
|
}
|
|
934
|
-
function
|
|
947
|
+
function is(e) {
|
|
935
948
|
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = true, setTimeout(() => {
|
|
936
949
|
e.pendingCallbacksFlag = false;
|
|
937
950
|
const i = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
|
|
@@ -960,7 +973,7 @@ function Gn(e) {
|
|
|
960
973
|
else
|
|
961
974
|
return t = true, true;
|
|
962
975
|
return false;
|
|
963
|
-
}), l.pending.length !== r && (t ||
|
|
976
|
+
}), l.pending.length !== r && (t || kt([e], o.id), o.callback(
|
|
964
977
|
l.loaded.slice(0),
|
|
965
978
|
l.missing.slice(0),
|
|
966
979
|
l.pending.slice(0),
|
|
@@ -969,9 +982,9 @@ function Gn(e) {
|
|
|
969
982
|
});
|
|
970
983
|
}));
|
|
971
984
|
}
|
|
972
|
-
var
|
|
973
|
-
function
|
|
974
|
-
const n =
|
|
985
|
+
var os = 0;
|
|
986
|
+
function ls(e, i, t) {
|
|
987
|
+
const n = os++, s = kt.bind(null, t, n);
|
|
975
988
|
if (!i.pending.length)
|
|
976
989
|
return s;
|
|
977
990
|
const o = {
|
|
@@ -984,14 +997,14 @@ function Zn(e, i, t) {
|
|
|
984
997
|
(l.loaderCallbacks || (l.loaderCallbacks = [])).push(o);
|
|
985
998
|
}), s;
|
|
986
999
|
}
|
|
987
|
-
function
|
|
1000
|
+
function rs(e, i = true, t = false) {
|
|
988
1001
|
const n = [];
|
|
989
1002
|
return e.forEach((s) => {
|
|
990
|
-
const o = typeof s == "string" ?
|
|
1003
|
+
const o = typeof s == "string" ? ve(s, i, t) : s;
|
|
991
1004
|
o && n.push(o);
|
|
992
1005
|
}), n;
|
|
993
1006
|
}
|
|
994
|
-
var
|
|
1007
|
+
var as = {
|
|
995
1008
|
resources: [],
|
|
996
1009
|
index: 0,
|
|
997
1010
|
timeout: 2e3,
|
|
@@ -999,16 +1012,16 @@ var ts = {
|
|
|
999
1012
|
random: false,
|
|
1000
1013
|
dataAfterTimeout: false
|
|
1001
1014
|
};
|
|
1002
|
-
function
|
|
1015
|
+
function cs(e, i, t, n) {
|
|
1003
1016
|
const s = e.resources.length, o = e.random ? Math.floor(Math.random() * s) : e.index;
|
|
1004
1017
|
let l;
|
|
1005
1018
|
if (e.random) {
|
|
1006
|
-
let
|
|
1007
|
-
for (l = [];
|
|
1008
|
-
const
|
|
1009
|
-
l.push(
|
|
1019
|
+
let I = e.resources.slice(0);
|
|
1020
|
+
for (l = []; I.length > 1; ) {
|
|
1021
|
+
const k = Math.floor(Math.random() * I.length);
|
|
1022
|
+
l.push(I[k]), I = I.slice(0, k).concat(I.slice(k + 1));
|
|
1010
1023
|
}
|
|
1011
|
-
l = l.concat(
|
|
1024
|
+
l = l.concat(I);
|
|
1012
1025
|
} else
|
|
1013
1026
|
l = e.resources.slice(o).concat(e.resources.slice(0, o));
|
|
1014
1027
|
const r = Date.now();
|
|
@@ -1017,13 +1030,13 @@ function ns(e, i, t, n) {
|
|
|
1017
1030
|
function p() {
|
|
1018
1031
|
g && (clearTimeout(g), g = null);
|
|
1019
1032
|
}
|
|
1020
|
-
function
|
|
1021
|
-
a === "pending" && (a = "aborted"), p(), d.forEach((
|
|
1022
|
-
|
|
1033
|
+
function y() {
|
|
1034
|
+
a === "pending" && (a = "aborted"), p(), d.forEach((I) => {
|
|
1035
|
+
I.status === "pending" && (I.status = "aborted");
|
|
1023
1036
|
}), d = [];
|
|
1024
1037
|
}
|
|
1025
|
-
function v(
|
|
1026
|
-
|
|
1038
|
+
function v(I, k) {
|
|
1039
|
+
k && (w = []), typeof I == "function" && w.push(I);
|
|
1027
1040
|
}
|
|
1028
1041
|
function x() {
|
|
1029
1042
|
return {
|
|
@@ -1033,22 +1046,22 @@ function ns(e, i, t, n) {
|
|
|
1033
1046
|
queriesSent: c,
|
|
1034
1047
|
queriesPending: d.length,
|
|
1035
1048
|
subscribe: v,
|
|
1036
|
-
abort:
|
|
1049
|
+
abort: y
|
|
1037
1050
|
};
|
|
1038
1051
|
}
|
|
1039
1052
|
function T() {
|
|
1040
|
-
a = "failed", w.forEach((
|
|
1041
|
-
|
|
1053
|
+
a = "failed", w.forEach((I) => {
|
|
1054
|
+
I(void 0, u);
|
|
1042
1055
|
});
|
|
1043
1056
|
}
|
|
1044
|
-
function
|
|
1045
|
-
d.forEach((
|
|
1046
|
-
|
|
1057
|
+
function S() {
|
|
1058
|
+
d.forEach((I) => {
|
|
1059
|
+
I.status === "pending" && (I.status = "aborted");
|
|
1047
1060
|
}), d = [];
|
|
1048
1061
|
}
|
|
1049
|
-
function z(
|
|
1050
|
-
const E =
|
|
1051
|
-
switch (d = d.filter((V) => V !==
|
|
1062
|
+
function z(I, k, _) {
|
|
1063
|
+
const E = k !== "success";
|
|
1064
|
+
switch (d = d.filter((V) => V !== I), a) {
|
|
1052
1065
|
case "pending":
|
|
1053
1066
|
break;
|
|
1054
1067
|
case "failed":
|
|
@@ -1058,51 +1071,51 @@ function ns(e, i, t, n) {
|
|
|
1058
1071
|
default:
|
|
1059
1072
|
return;
|
|
1060
1073
|
}
|
|
1061
|
-
if (
|
|
1062
|
-
u =
|
|
1074
|
+
if (k === "abort") {
|
|
1075
|
+
u = _, T();
|
|
1063
1076
|
return;
|
|
1064
1077
|
}
|
|
1065
1078
|
if (E) {
|
|
1066
|
-
u =
|
|
1079
|
+
u = _, d.length || (l.length ? D() : T());
|
|
1067
1080
|
return;
|
|
1068
1081
|
}
|
|
1069
|
-
if (p(),
|
|
1070
|
-
const V = e.resources.indexOf(
|
|
1082
|
+
if (p(), S(), !e.random) {
|
|
1083
|
+
const V = e.resources.indexOf(I.resource);
|
|
1071
1084
|
V !== -1 && V !== e.index && (e.index = V);
|
|
1072
1085
|
}
|
|
1073
1086
|
a = "completed", w.forEach((V) => {
|
|
1074
|
-
V(
|
|
1087
|
+
V(_);
|
|
1075
1088
|
});
|
|
1076
1089
|
}
|
|
1077
1090
|
function D() {
|
|
1078
1091
|
if (a !== "pending")
|
|
1079
1092
|
return;
|
|
1080
1093
|
p();
|
|
1081
|
-
const
|
|
1082
|
-
if (
|
|
1094
|
+
const I = l.shift();
|
|
1095
|
+
if (I === void 0) {
|
|
1083
1096
|
if (d.length) {
|
|
1084
1097
|
g = setTimeout(() => {
|
|
1085
|
-
p(), a === "pending" && (
|
|
1098
|
+
p(), a === "pending" && (S(), T());
|
|
1086
1099
|
}, e.timeout);
|
|
1087
1100
|
return;
|
|
1088
1101
|
}
|
|
1089
1102
|
T();
|
|
1090
1103
|
return;
|
|
1091
1104
|
}
|
|
1092
|
-
const
|
|
1105
|
+
const k = {
|
|
1093
1106
|
status: "pending",
|
|
1094
|
-
resource:
|
|
1095
|
-
callback: (
|
|
1096
|
-
z(
|
|
1107
|
+
resource: I,
|
|
1108
|
+
callback: (_, E) => {
|
|
1109
|
+
z(k, _, E);
|
|
1097
1110
|
}
|
|
1098
1111
|
};
|
|
1099
|
-
d.push(
|
|
1112
|
+
d.push(k), c++, g = setTimeout(D, e.rotate), t(I, i, k.callback);
|
|
1100
1113
|
}
|
|
1101
1114
|
return setTimeout(D), x;
|
|
1102
1115
|
}
|
|
1103
|
-
function
|
|
1116
|
+
function It(e) {
|
|
1104
1117
|
const i = {
|
|
1105
|
-
...
|
|
1118
|
+
...as,
|
|
1106
1119
|
...e
|
|
1107
1120
|
};
|
|
1108
1121
|
let t = [];
|
|
@@ -1110,7 +1123,7 @@ function wt(e) {
|
|
|
1110
1123
|
t = t.filter((r) => r().status === "pending");
|
|
1111
1124
|
}
|
|
1112
1125
|
function s(r, a, c) {
|
|
1113
|
-
const u =
|
|
1126
|
+
const u = cs(
|
|
1114
1127
|
i,
|
|
1115
1128
|
r,
|
|
1116
1129
|
a,
|
|
@@ -1133,58 +1146,58 @@ function wt(e) {
|
|
|
1133
1146
|
cleanup: n
|
|
1134
1147
|
};
|
|
1135
1148
|
}
|
|
1136
|
-
function
|
|
1149
|
+
function Ge() {
|
|
1137
1150
|
}
|
|
1138
|
-
var
|
|
1139
|
-
function
|
|
1140
|
-
if (!
|
|
1151
|
+
var xe = /* @__PURE__ */ Object.create(null);
|
|
1152
|
+
function us(e) {
|
|
1153
|
+
if (!xe[e]) {
|
|
1141
1154
|
const i = Re(e);
|
|
1142
1155
|
if (!i)
|
|
1143
1156
|
return;
|
|
1144
|
-
const t =
|
|
1157
|
+
const t = It(i), n = {
|
|
1145
1158
|
config: i,
|
|
1146
1159
|
redundancy: t
|
|
1147
1160
|
};
|
|
1148
|
-
|
|
1161
|
+
xe[e] = n;
|
|
1149
1162
|
}
|
|
1150
|
-
return
|
|
1163
|
+
return xe[e];
|
|
1151
1164
|
}
|
|
1152
|
-
function
|
|
1165
|
+
function ds(e, i, t) {
|
|
1153
1166
|
let n, s;
|
|
1154
1167
|
if (typeof e == "string") {
|
|
1155
|
-
const o =
|
|
1168
|
+
const o = Te(e);
|
|
1156
1169
|
if (!o)
|
|
1157
|
-
return t(void 0, 424),
|
|
1170
|
+
return t(void 0, 424), Ge;
|
|
1158
1171
|
s = o.send;
|
|
1159
|
-
const l =
|
|
1172
|
+
const l = us(e);
|
|
1160
1173
|
l && (n = l.redundancy);
|
|
1161
1174
|
} else {
|
|
1162
1175
|
const o = Fe(e);
|
|
1163
1176
|
if (o) {
|
|
1164
|
-
n =
|
|
1165
|
-
const l = e.resources ? e.resources[0] : "", r =
|
|
1177
|
+
n = It(o);
|
|
1178
|
+
const l = e.resources ? e.resources[0] : "", r = Te(l);
|
|
1166
1179
|
r && (s = r.send);
|
|
1167
1180
|
}
|
|
1168
1181
|
}
|
|
1169
|
-
return !n || !s ? (t(void 0, 424),
|
|
1182
|
+
return !n || !s ? (t(void 0, 424), Ge) : n.query(i, s, t)().abort;
|
|
1170
1183
|
}
|
|
1171
|
-
function
|
|
1184
|
+
function Ye() {
|
|
1172
1185
|
}
|
|
1173
|
-
function
|
|
1186
|
+
function hs(e) {
|
|
1174
1187
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = true, setTimeout(() => {
|
|
1175
|
-
e.iconsLoaderFlag = false,
|
|
1188
|
+
e.iconsLoaderFlag = false, is(e);
|
|
1176
1189
|
}));
|
|
1177
1190
|
}
|
|
1178
|
-
function
|
|
1191
|
+
function fs(e) {
|
|
1179
1192
|
const i = [], t = [];
|
|
1180
1193
|
return e.forEach((n) => {
|
|
1181
|
-
(n.match(
|
|
1194
|
+
(n.match(vt) ? i : t).push(n);
|
|
1182
1195
|
}), {
|
|
1183
1196
|
valid: i,
|
|
1184
1197
|
invalid: t
|
|
1185
1198
|
};
|
|
1186
1199
|
}
|
|
1187
|
-
function
|
|
1200
|
+
function Z(e, i, t) {
|
|
1188
1201
|
function n() {
|
|
1189
1202
|
const s = e.pendingIcons;
|
|
1190
1203
|
i.forEach((o) => {
|
|
@@ -1193,23 +1206,23 @@ function Y(e, i, t) {
|
|
|
1193
1206
|
}
|
|
1194
1207
|
if (t && typeof t == "object")
|
|
1195
1208
|
try {
|
|
1196
|
-
if (!
|
|
1209
|
+
if (!wt(e, t).length) {
|
|
1197
1210
|
n();
|
|
1198
1211
|
return;
|
|
1199
1212
|
}
|
|
1200
1213
|
} catch (s) {
|
|
1201
1214
|
console.error(s);
|
|
1202
1215
|
}
|
|
1203
|
-
n(),
|
|
1216
|
+
n(), hs(e);
|
|
1204
1217
|
}
|
|
1205
|
-
function
|
|
1218
|
+
function Ze(e, i) {
|
|
1206
1219
|
e instanceof Promise ? e.then((t) => {
|
|
1207
1220
|
i(t);
|
|
1208
1221
|
}).catch(() => {
|
|
1209
1222
|
i(null);
|
|
1210
1223
|
}) : i(e);
|
|
1211
1224
|
}
|
|
1212
|
-
function
|
|
1225
|
+
function ps(e, i) {
|
|
1213
1226
|
e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(i).sort() : e.iconsToLoad = i, e.iconsQueueFlag || (e.iconsQueueFlag = true, setTimeout(() => {
|
|
1214
1227
|
e.iconsQueueFlag = false;
|
|
1215
1228
|
const { provider: t, prefix: n } = e, s = e.iconsToLoad;
|
|
@@ -1217,10 +1230,10 @@ function rs(e, i) {
|
|
|
1217
1230
|
return;
|
|
1218
1231
|
const o = e.loadIcon;
|
|
1219
1232
|
if (e.loadIcons && (s.length > 1 || !o)) {
|
|
1220
|
-
|
|
1233
|
+
Ze(
|
|
1221
1234
|
e.loadIcons(s, n, t),
|
|
1222
1235
|
(u) => {
|
|
1223
|
-
|
|
1236
|
+
Z(e, s, u);
|
|
1224
1237
|
}
|
|
1225
1238
|
);
|
|
1226
1239
|
return;
|
|
@@ -1228,35 +1241,35 @@ function rs(e, i) {
|
|
|
1228
1241
|
if (o) {
|
|
1229
1242
|
s.forEach((u) => {
|
|
1230
1243
|
const g = o(u, n, t);
|
|
1231
|
-
|
|
1244
|
+
Ze(g, (d) => {
|
|
1232
1245
|
const w = d ? {
|
|
1233
1246
|
prefix: n,
|
|
1234
1247
|
icons: {
|
|
1235
1248
|
[u]: d
|
|
1236
1249
|
}
|
|
1237
1250
|
} : null;
|
|
1238
|
-
|
|
1251
|
+
Z(e, [u], w);
|
|
1239
1252
|
});
|
|
1240
1253
|
});
|
|
1241
1254
|
return;
|
|
1242
1255
|
}
|
|
1243
|
-
const { valid: l, invalid: r } =
|
|
1244
|
-
if (r.length &&
|
|
1256
|
+
const { valid: l, invalid: r } = fs(s);
|
|
1257
|
+
if (r.length && Z(e, r, null), !l.length)
|
|
1245
1258
|
return;
|
|
1246
|
-
const a = n.match(
|
|
1259
|
+
const a = n.match(vt) ? Te(t) : null;
|
|
1247
1260
|
if (!a) {
|
|
1248
|
-
|
|
1261
|
+
Z(e, l, null);
|
|
1249
1262
|
return;
|
|
1250
1263
|
}
|
|
1251
1264
|
a.prepare(t, n, l).forEach((u) => {
|
|
1252
|
-
|
|
1253
|
-
|
|
1265
|
+
ds(t, u, (g) => {
|
|
1266
|
+
Z(e, u.icons, g);
|
|
1254
1267
|
});
|
|
1255
1268
|
});
|
|
1256
1269
|
}));
|
|
1257
1270
|
}
|
|
1258
|
-
var
|
|
1259
|
-
const t =
|
|
1271
|
+
var ms = (e, i) => {
|
|
1272
|
+
const t = rs(e, true, St()), n = ss(t);
|
|
1260
1273
|
if (!n.pending.length) {
|
|
1261
1274
|
let a = true;
|
|
1262
1275
|
return i && setTimeout(() => {
|
|
@@ -1264,7 +1277,7 @@ var as = (e, i) => {
|
|
|
1264
1277
|
n.loaded,
|
|
1265
1278
|
n.missing,
|
|
1266
1279
|
n.pending,
|
|
1267
|
-
|
|
1280
|
+
Ye
|
|
1268
1281
|
);
|
|
1269
1282
|
}), () => {
|
|
1270
1283
|
a = false;
|
|
@@ -1276,30 +1289,30 @@ var as = (e, i) => {
|
|
|
1276
1289
|
const { provider: c, prefix: u } = a;
|
|
1277
1290
|
if (u === r && c === l)
|
|
1278
1291
|
return;
|
|
1279
|
-
l = c, r = u, o.push(
|
|
1292
|
+
l = c, r = u, o.push(Q(c, u));
|
|
1280
1293
|
const g = s[c] || (s[c] = /* @__PURE__ */ Object.create(null));
|
|
1281
1294
|
g[u] || (g[u] = []);
|
|
1282
1295
|
}), n.pending.forEach((a) => {
|
|
1283
|
-
const { provider: c, prefix: u, name: g } = a, d =
|
|
1296
|
+
const { provider: c, prefix: u, name: g } = a, d = Q(c, u), w = d.pendingIcons || (d.pendingIcons = /* @__PURE__ */ new Set());
|
|
1284
1297
|
w.has(g) || (w.add(g), s[c][u].push(g));
|
|
1285
1298
|
}), o.forEach((a) => {
|
|
1286
1299
|
const c = s[a.provider][a.prefix];
|
|
1287
|
-
c.length &&
|
|
1288
|
-
}), i ?
|
|
1300
|
+
c.length && ps(a, c);
|
|
1301
|
+
}), i ? ls(i, n, o) : Ye;
|
|
1289
1302
|
};
|
|
1290
|
-
function
|
|
1303
|
+
function vs(e, i) {
|
|
1291
1304
|
const t = {
|
|
1292
1305
|
...e
|
|
1293
1306
|
};
|
|
1294
1307
|
for (const n in i) {
|
|
1295
1308
|
const s = i[n], o = typeof s;
|
|
1296
|
-
n in
|
|
1309
|
+
n in xt ? (s === null || s && (o === "string" || o === "number")) && (t[n] = s) : o === typeof t[n] && (t[n] = n === "rotate" ? s % 4 : s);
|
|
1297
1310
|
}
|
|
1298
1311
|
return t;
|
|
1299
1312
|
}
|
|
1300
|
-
var
|
|
1301
|
-
function
|
|
1302
|
-
i.split(
|
|
1313
|
+
var gs = /[\s,]+/;
|
|
1314
|
+
function ys(e, i) {
|
|
1315
|
+
i.split(gs).forEach((t) => {
|
|
1303
1316
|
switch (t.trim()) {
|
|
1304
1317
|
case "horizontal":
|
|
1305
1318
|
e.hFlip = true;
|
|
@@ -1310,7 +1323,7 @@ function ds(e, i) {
|
|
|
1310
1323
|
}
|
|
1311
1324
|
});
|
|
1312
1325
|
}
|
|
1313
|
-
function
|
|
1326
|
+
function bs(e, i = 0) {
|
|
1314
1327
|
const t = e.replace(/^-?[0-9.]*/, "");
|
|
1315
1328
|
function n(s) {
|
|
1316
1329
|
for (; s < 0; )
|
|
@@ -1336,69 +1349,69 @@ function hs(e, i = 0) {
|
|
|
1336
1349
|
}
|
|
1337
1350
|
return i;
|
|
1338
1351
|
}
|
|
1339
|
-
function
|
|
1352
|
+
function ws(e, i) {
|
|
1340
1353
|
let t = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
|
|
1341
1354
|
for (const n in i)
|
|
1342
1355
|
t += " " + n + '="' + i[n] + '"';
|
|
1343
1356
|
return '<svg xmlns="http://www.w3.org/2000/svg"' + t + ">" + e + "</svg>";
|
|
1344
1357
|
}
|
|
1345
|
-
function
|
|
1358
|
+
function Ss(e) {
|
|
1346
1359
|
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
1347
1360
|
}
|
|
1348
|
-
function
|
|
1349
|
-
return "data:image/svg+xml," +
|
|
1361
|
+
function xs(e) {
|
|
1362
|
+
return "data:image/svg+xml," + Ss(e);
|
|
1350
1363
|
}
|
|
1351
|
-
function
|
|
1352
|
-
return 'url("' +
|
|
1364
|
+
function _s(e) {
|
|
1365
|
+
return 'url("' + xs(e) + '")';
|
|
1353
1366
|
}
|
|
1354
|
-
var
|
|
1355
|
-
...
|
|
1367
|
+
var et = {
|
|
1368
|
+
..._t,
|
|
1356
1369
|
inline: false
|
|
1357
1370
|
};
|
|
1358
|
-
var
|
|
1371
|
+
var ks = {
|
|
1359
1372
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1360
1373
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
1361
1374
|
"aria-hidden": true,
|
|
1362
1375
|
role: "img"
|
|
1363
1376
|
};
|
|
1364
|
-
var
|
|
1377
|
+
var Is = {
|
|
1365
1378
|
display: "inline-block"
|
|
1366
1379
|
};
|
|
1367
|
-
var
|
|
1380
|
+
var Me = {
|
|
1368
1381
|
backgroundColor: "currentColor"
|
|
1369
1382
|
};
|
|
1370
|
-
var
|
|
1383
|
+
var Et = {
|
|
1371
1384
|
backgroundColor: "transparent"
|
|
1372
1385
|
};
|
|
1373
|
-
var
|
|
1386
|
+
var tt = {
|
|
1374
1387
|
Image: "var(--svg)",
|
|
1375
1388
|
Repeat: "no-repeat",
|
|
1376
1389
|
Size: "100% 100%"
|
|
1377
1390
|
};
|
|
1378
|
-
var
|
|
1379
|
-
webkitMask:
|
|
1380
|
-
mask:
|
|
1381
|
-
background:
|
|
1391
|
+
var nt = {
|
|
1392
|
+
webkitMask: Me,
|
|
1393
|
+
mask: Me,
|
|
1394
|
+
background: Et
|
|
1382
1395
|
};
|
|
1383
|
-
for (const e in
|
|
1384
|
-
const i =
|
|
1385
|
-
for (const t in
|
|
1386
|
-
i[e + t] =
|
|
1396
|
+
for (const e in nt) {
|
|
1397
|
+
const i = nt[e];
|
|
1398
|
+
for (const t in tt)
|
|
1399
|
+
i[e + t] = tt[t];
|
|
1387
1400
|
}
|
|
1388
|
-
var
|
|
1401
|
+
var ae = {};
|
|
1389
1402
|
["horizontal", "vertical"].forEach((e) => {
|
|
1390
1403
|
const i = e.slice(0, 1) + "Flip";
|
|
1391
|
-
|
|
1404
|
+
ae[e + "-flip"] = i, ae[e.slice(0, 1) + "-flip"] = i, ae[e + "Flip"] = i;
|
|
1392
1405
|
});
|
|
1393
|
-
function
|
|
1406
|
+
function st(e) {
|
|
1394
1407
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
1395
1408
|
}
|
|
1396
|
-
var
|
|
1397
|
-
const t =
|
|
1398
|
-
for (let
|
|
1399
|
-
const v = i[
|
|
1409
|
+
var it = (e, i) => {
|
|
1410
|
+
const t = vs(et, i), n = { ...ks }, s = i.mode || "svg", o = {}, l = i.style, r = typeof l == "object" && !(l instanceof Array) ? l : {};
|
|
1411
|
+
for (let y in i) {
|
|
1412
|
+
const v = i[y];
|
|
1400
1413
|
if (v !== void 0)
|
|
1401
|
-
switch (
|
|
1414
|
+
switch (y) {
|
|
1402
1415
|
// Properties to ignore
|
|
1403
1416
|
case "icon":
|
|
1404
1417
|
case "style":
|
|
@@ -1410,11 +1423,11 @@ var st = (e, i) => {
|
|
|
1410
1423
|
case "inline":
|
|
1411
1424
|
case "hFlip":
|
|
1412
1425
|
case "vFlip":
|
|
1413
|
-
t[
|
|
1426
|
+
t[y] = v === true || v === "true" || v === 1;
|
|
1414
1427
|
break;
|
|
1415
1428
|
// Flip as string: 'horizontal,vertical'
|
|
1416
1429
|
case "flip":
|
|
1417
|
-
typeof v == "string" &&
|
|
1430
|
+
typeof v == "string" && ys(t, v);
|
|
1418
1431
|
break;
|
|
1419
1432
|
// Color: override style
|
|
1420
1433
|
case "color":
|
|
@@ -1422,7 +1435,7 @@ var st = (e, i) => {
|
|
|
1422
1435
|
break;
|
|
1423
1436
|
// Rotation as string
|
|
1424
1437
|
case "rotate":
|
|
1425
|
-
typeof v == "string" ? t[
|
|
1438
|
+
typeof v == "string" ? t[y] = bs(v) : typeof v == "number" && (t[y] = v);
|
|
1426
1439
|
break;
|
|
1427
1440
|
// Remove aria-hidden
|
|
1428
1441
|
case "ariaHidden":
|
|
@@ -1430,37 +1443,37 @@ var st = (e, i) => {
|
|
|
1430
1443
|
v !== true && v !== "true" && delete n["aria-hidden"];
|
|
1431
1444
|
break;
|
|
1432
1445
|
default: {
|
|
1433
|
-
const x =
|
|
1434
|
-
x ? (v === true || v === "true" || v === 1) && (t[x] = true) :
|
|
1446
|
+
const x = ae[y];
|
|
1447
|
+
x ? (v === true || v === "true" || v === 1) && (t[x] = true) : et[y] === void 0 && (n[y] = v);
|
|
1435
1448
|
}
|
|
1436
1449
|
}
|
|
1437
1450
|
}
|
|
1438
|
-
const a =
|
|
1451
|
+
const a = Wn(e, t), c = a.attributes;
|
|
1439
1452
|
if (t.inline && (o.verticalAlign = "-0.125em"), s === "svg") {
|
|
1440
1453
|
n.style = {
|
|
1441
1454
|
...o,
|
|
1442
1455
|
...r
|
|
1443
1456
|
}, Object.assign(n, c);
|
|
1444
|
-
let
|
|
1445
|
-
return typeof v == "string" && (v = v.replace(/-/g, "_")), n.innerHTML =
|
|
1457
|
+
let y = 0, v = i.id;
|
|
1458
|
+
return typeof v == "string" && (v = v.replace(/-/g, "_")), n.innerHTML = Un(a.body, v ? () => v + "ID" + y++ : "iconifyVue"), (0, import_vue.h)("svg", n);
|
|
1446
1459
|
}
|
|
1447
|
-
const { body: u, width: g, height: d } = e, w = s === "mask" || (s === "bg" ? false : u.indexOf("currentColor") !== -1), p =
|
|
1460
|
+
const { body: u, width: g, height: d } = e, w = s === "mask" || (s === "bg" ? false : u.indexOf("currentColor") !== -1), p = ws(u, {
|
|
1448
1461
|
...c,
|
|
1449
1462
|
width: g + "",
|
|
1450
1463
|
height: d + ""
|
|
1451
1464
|
});
|
|
1452
1465
|
return n.style = {
|
|
1453
1466
|
...o,
|
|
1454
|
-
"--svg":
|
|
1455
|
-
width:
|
|
1456
|
-
height:
|
|
1457
|
-
...
|
|
1458
|
-
...w ?
|
|
1467
|
+
"--svg": _s(p),
|
|
1468
|
+
width: st(c.width),
|
|
1469
|
+
height: st(c.height),
|
|
1470
|
+
...Is,
|
|
1471
|
+
...w ? Me : Et,
|
|
1459
1472
|
...r
|
|
1460
1473
|
}, (0, import_vue.h)("span", n);
|
|
1461
1474
|
};
|
|
1462
|
-
|
|
1463
|
-
|
|
1475
|
+
St(true);
|
|
1476
|
+
Jn("", ns);
|
|
1464
1477
|
if (typeof document < "u" && typeof window < "u") {
|
|
1465
1478
|
const e = window;
|
|
1466
1479
|
if (e.IconifyPreload !== void 0) {
|
|
@@ -1469,7 +1482,7 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
1469
1482
|
try {
|
|
1470
1483
|
(typeof n != "object" || n === null || n instanceof Array || // Check for 'icons' and 'prefix'
|
|
1471
1484
|
typeof n.icons != "object" || typeof n.prefix != "string" || // Add icon set
|
|
1472
|
-
!
|
|
1485
|
+
!Fn(n)) && console.error(t);
|
|
1473
1486
|
} catch {
|
|
1474
1487
|
console.error(t);
|
|
1475
1488
|
}
|
|
@@ -1484,18 +1497,18 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
1484
1497
|
const s = i[t];
|
|
1485
1498
|
if (typeof s != "object" || !s || s.resources === void 0)
|
|
1486
1499
|
continue;
|
|
1487
|
-
|
|
1500
|
+
Xn(t, s) || console.error(n);
|
|
1488
1501
|
} catch {
|
|
1489
1502
|
console.error(n);
|
|
1490
1503
|
}
|
|
1491
1504
|
}
|
|
1492
1505
|
}
|
|
1493
1506
|
}
|
|
1494
|
-
var
|
|
1495
|
-
...
|
|
1507
|
+
var Es = {
|
|
1508
|
+
...ge,
|
|
1496
1509
|
body: ""
|
|
1497
1510
|
};
|
|
1498
|
-
var
|
|
1511
|
+
var ce = (0, import_vue.defineComponent)({
|
|
1499
1512
|
// Do not inherit other attributes: it is handled by render()
|
|
1500
1513
|
inheritAttrs: false,
|
|
1501
1514
|
// Set initial data
|
|
@@ -1528,13 +1541,13 @@ var re = (0, import_vue.defineComponent)({
|
|
|
1528
1541
|
data: e
|
|
1529
1542
|
};
|
|
1530
1543
|
let n;
|
|
1531
|
-
if (typeof e != "string" || (n =
|
|
1544
|
+
if (typeof e != "string" || (n = ve(e, false, true)) === null)
|
|
1532
1545
|
return this.abortLoading(), null;
|
|
1533
|
-
let s =
|
|
1546
|
+
let s = qn(n);
|
|
1534
1547
|
if (!s)
|
|
1535
1548
|
return (!this._loadingIcon || this._loadingIcon.name !== e) && (this.abortLoading(), this._name = "", s !== null && (this._loadingIcon = {
|
|
1536
1549
|
name: e,
|
|
1537
|
-
abort:
|
|
1550
|
+
abort: ms([n], () => {
|
|
1538
1551
|
this.counter++;
|
|
1539
1552
|
})
|
|
1540
1553
|
})), null;
|
|
@@ -1552,18 +1565,18 @@ var re = (0, import_vue.defineComponent)({
|
|
|
1552
1565
|
this.counter;
|
|
1553
1566
|
const e = this.$attrs, i = this.iconMounted || e.ssr ? this.getIcon(e.icon, e.onLoad, e.customise) : null;
|
|
1554
1567
|
if (!i)
|
|
1555
|
-
return
|
|
1568
|
+
return it(Es, e);
|
|
1556
1569
|
let t = e;
|
|
1557
1570
|
return i.classes && (t = {
|
|
1558
1571
|
...e,
|
|
1559
1572
|
class: (typeof e.class == "string" ? e.class + " " : "") + i.classes.join(" ")
|
|
1560
|
-
}),
|
|
1561
|
-
...
|
|
1573
|
+
}), it({
|
|
1574
|
+
...ge,
|
|
1562
1575
|
...i.data
|
|
1563
1576
|
}, t);
|
|
1564
1577
|
}
|
|
1565
1578
|
});
|
|
1566
|
-
var
|
|
1579
|
+
var Ts = ["width", "height"];
|
|
1567
1580
|
var je = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
1568
1581
|
__name: "MIcon",
|
|
1569
1582
|
props: {
|
|
@@ -1594,14 +1607,14 @@ var je = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1594
1607
|
d: "M48,36 L60,16 L72,36 Z",
|
|
1595
1608
|
fill: "white"
|
|
1596
1609
|
}, null, -1)
|
|
1597
|
-
])], 8,
|
|
1610
|
+
])], 8, Ts));
|
|
1598
1611
|
}
|
|
1599
1612
|
});
|
|
1600
|
-
var
|
|
1601
|
-
var
|
|
1613
|
+
var Ms = { class: "logo-badge" };
|
|
1614
|
+
var Cs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
1602
1615
|
__name: "LogoBadge",
|
|
1603
1616
|
setup(e) {
|
|
1604
|
-
return (i, t) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
1617
|
+
return (i, t) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", Ms, [
|
|
1605
1618
|
(0, import_vue.createVNode)(je, {
|
|
1606
1619
|
width: 20,
|
|
1607
1620
|
height: 9
|
|
@@ -1616,13 +1629,13 @@ var j = (e, i) => {
|
|
|
1616
1629
|
t[n] = s;
|
|
1617
1630
|
return t;
|
|
1618
1631
|
};
|
|
1619
|
-
var
|
|
1620
|
-
var
|
|
1621
|
-
var
|
|
1622
|
-
var
|
|
1623
|
-
var
|
|
1624
|
-
var
|
|
1625
|
-
var
|
|
1632
|
+
var Os = /* @__PURE__ */ j(Cs, [["__scopeId", "data-v-f1971a55"]]);
|
|
1633
|
+
var zs = { class: "tab-bar" };
|
|
1634
|
+
var As = { class: "logo-slot" };
|
|
1635
|
+
var Ls = { class: "tab-list" };
|
|
1636
|
+
var qs = ["onClick"];
|
|
1637
|
+
var $s = { class: "mode-switcher" };
|
|
1638
|
+
var Fs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
1626
1639
|
__name: "TabBar",
|
|
1627
1640
|
props: {
|
|
1628
1641
|
tabs: {},
|
|
@@ -1632,18 +1645,18 @@ var Cs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1632
1645
|
},
|
|
1633
1646
|
emits: ["close", "update:panelMode", "settings"],
|
|
1634
1647
|
setup(e) {
|
|
1635
|
-
return (i, t) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
1636
|
-
(0, import_vue.createElementVNode)("div",
|
|
1637
|
-
(0, import_vue.createVNode)(
|
|
1648
|
+
return (i, t) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", zs, [
|
|
1649
|
+
(0, import_vue.createElementVNode)("div", As, [
|
|
1650
|
+
(0, import_vue.createVNode)(Os)
|
|
1638
1651
|
]),
|
|
1639
|
-
(0, import_vue.createElementVNode)("div",
|
|
1652
|
+
(0, import_vue.createElementVNode)("div", Ls, [
|
|
1640
1653
|
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(e.tabs, (n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("button", {
|
|
1641
1654
|
key: n.id,
|
|
1642
1655
|
"data-vmd-tab": "",
|
|
1643
1656
|
class: (0, import_vue.normalizeClass)(["tab-btn", n.id === e.activeTabId ? "tab-btn--active" : "tab-btn--inactive"]),
|
|
1644
1657
|
onClick: (s) => e.selectTab(n.id)
|
|
1645
1658
|
}, [
|
|
1646
|
-
typeof n.icon == "string" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)((0, import_vue.unref)(
|
|
1659
|
+
typeof n.icon == "string" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)((0, import_vue.unref)(ce), {
|
|
1647
1660
|
key: 0,
|
|
1648
1661
|
icon: n.icon,
|
|
1649
1662
|
width: "13",
|
|
@@ -1654,9 +1667,9 @@ var Cs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1654
1667
|
height: "13"
|
|
1655
1668
|
})) : (0, import_vue.createCommentVNode)("", true),
|
|
1656
1669
|
(0, import_vue.createElementVNode)("span", null, (0, import_vue.toDisplayString)(n.label), 1)
|
|
1657
|
-
], 10,
|
|
1670
|
+
], 10, qs))), 128))
|
|
1658
1671
|
]),
|
|
1659
|
-
(0, import_vue.createElementVNode)("div",
|
|
1672
|
+
(0, import_vue.createElementVNode)("div", $s, [
|
|
1660
1673
|
(0, import_vue.createElementVNode)("button", {
|
|
1661
1674
|
class: (0, import_vue.normalizeClass)(["mode-btn", { "mode-btn--active": e.panelMode === "bottom" }]),
|
|
1662
1675
|
title: "Bottom panel",
|
|
@@ -1724,7 +1737,7 @@ var Cs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1724
1737
|
title: "Layout settings",
|
|
1725
1738
|
onClick: t[2] || (t[2] = (n) => i.$emit("settings"))
|
|
1726
1739
|
}, [
|
|
1727
|
-
(0, import_vue.createVNode)((0, import_vue.unref)(
|
|
1740
|
+
(0, import_vue.createVNode)((0, import_vue.unref)(ce), {
|
|
1728
1741
|
icon: "lucide:settings-2",
|
|
1729
1742
|
width: "14",
|
|
1730
1743
|
height: "14"
|
|
@@ -1735,7 +1748,7 @@ var Cs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1735
1748
|
title: "Close devtools",
|
|
1736
1749
|
onClick: t[3] || (t[3] = (n) => i.$emit("close"))
|
|
1737
1750
|
}, [
|
|
1738
|
-
(0, import_vue.createVNode)((0, import_vue.unref)(
|
|
1751
|
+
(0, import_vue.createVNode)((0, import_vue.unref)(ce), {
|
|
1739
1752
|
icon: "lucide:x",
|
|
1740
1753
|
width: "14",
|
|
1741
1754
|
height: "14"
|
|
@@ -1744,12 +1757,12 @@ var Cs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1744
1757
|
]));
|
|
1745
1758
|
}
|
|
1746
1759
|
});
|
|
1747
|
-
var
|
|
1748
|
-
var
|
|
1749
|
-
var
|
|
1760
|
+
var Tt = /* @__PURE__ */ j(Fs, [["__scopeId", "data-v-1b140f4a"]]);
|
|
1761
|
+
var Ps = { class: "panel-content" };
|
|
1762
|
+
var Rs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
1750
1763
|
__name: "FloatingPanel",
|
|
1751
1764
|
setup(e) {
|
|
1752
|
-
const { height: i, isOpen: t, panelMode: n, startResizeHeight: s, switchMode: o, toggle: l, close: r } =
|
|
1765
|
+
const { height: i, isOpen: t, panelMode: n, startResizeHeight: s, switchMode: o, toggle: l, close: r } = me(), { registeredTabs: a, activeTabId: c, activeTab: u, setActiveTab: g } = mt(), { toggleSettings: d } = $e();
|
|
1753
1766
|
return (w, p) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)(import_vue.Fragment, null, [
|
|
1754
1767
|
(0, import_vue.unref)(t) ? (0, import_vue.createCommentVNode)("", true) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("button", {
|
|
1755
1768
|
key: 0,
|
|
@@ -1757,7 +1770,7 @@ var zs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1757
1770
|
class: "launcher-pill",
|
|
1758
1771
|
title: "Open vue-muza devtools",
|
|
1759
1772
|
onClick: p[0] || (p[0] = //@ts-ignore
|
|
1760
|
-
(...
|
|
1773
|
+
(...y) => (0, import_vue.unref)(l) && (0, import_vue.unref)(l)(...y))
|
|
1761
1774
|
}, [
|
|
1762
1775
|
(0, import_vue.createVNode)(je, {
|
|
1763
1776
|
width: 22,
|
|
@@ -1767,7 +1780,7 @@ var zs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1767
1780
|
])),
|
|
1768
1781
|
(0, import_vue.createVNode)(import_vue.Transition, { name: "panel" }, {
|
|
1769
1782
|
default: (0, import_vue.withCtx)(() => {
|
|
1770
|
-
var
|
|
1783
|
+
var y;
|
|
1771
1784
|
return [
|
|
1772
1785
|
(0, import_vue.unref)(t) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
1773
1786
|
key: 0,
|
|
@@ -1780,7 +1793,7 @@ var zs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1780
1793
|
onMousedown: p[1] || (p[1] = //@ts-ignore
|
|
1781
1794
|
(...v) => (0, import_vue.unref)(s) && (0, import_vue.unref)(s)(...v))
|
|
1782
1795
|
}, null, 32),
|
|
1783
|
-
(0, import_vue.createVNode)(
|
|
1796
|
+
(0, import_vue.createVNode)(Tt, {
|
|
1784
1797
|
tabs: (0, import_vue.unref)(a),
|
|
1785
1798
|
"active-tab-id": (0, import_vue.unref)(c) ?? null,
|
|
1786
1799
|
"select-tab": (0, import_vue.unref)(g),
|
|
@@ -1789,8 +1802,8 @@ var zs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1789
1802
|
"onUpdate:panelMode": (0, import_vue.unref)(o),
|
|
1790
1803
|
onSettings: (0, import_vue.unref)(d)
|
|
1791
1804
|
}, null, 8, ["tabs", "active-tab-id", "select-tab", "panel-mode", "onClose", "onUpdate:panelMode", "onSettings"]),
|
|
1792
|
-
(0, import_vue.createElementVNode)("div",
|
|
1793
|
-
(0, import_vue.unref)(u) ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)((0, import_vue.resolveDynamicComponent)((
|
|
1805
|
+
(0, import_vue.createElementVNode)("div", Ps, [
|
|
1806
|
+
(0, import_vue.unref)(u) ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)((0, import_vue.resolveDynamicComponent)((y = (0, import_vue.unref)(u)) == null ? void 0 : y.component), { key: 0 })) : (0, import_vue.createCommentVNode)("", true)
|
|
1794
1807
|
])
|
|
1795
1808
|
], 4)) : (0, import_vue.createCommentVNode)("", true)
|
|
1796
1809
|
];
|
|
@@ -1800,13 +1813,13 @@ var zs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1800
1813
|
], 64));
|
|
1801
1814
|
}
|
|
1802
1815
|
});
|
|
1803
|
-
var
|
|
1804
|
-
var
|
|
1805
|
-
var
|
|
1806
|
-
var
|
|
1816
|
+
var js = /* @__PURE__ */ j(Rs, [["__scopeId", "data-v-1b40fea8"]]);
|
|
1817
|
+
var Ds = { class: "panel-body" };
|
|
1818
|
+
var Vs = { class: "panel-content" };
|
|
1819
|
+
var Ns = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
1807
1820
|
__name: "SidePanel",
|
|
1808
1821
|
setup(e) {
|
|
1809
|
-
const { sideWidth: i, isOpen: t, panelMode: n, startResizeSideWidth: s, switchMode: o, toggle: l, close: r } =
|
|
1822
|
+
const { sideWidth: i, isOpen: t, panelMode: n, startResizeSideWidth: s, switchMode: o, toggle: l, close: r } = me(), { registeredTabs: a, activeTabId: c, activeTab: u, setActiveTab: g } = mt(), { toggleSettings: d } = $e();
|
|
1810
1823
|
return (w, p) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)(import_vue.Fragment, null, [
|
|
1811
1824
|
(0, import_vue.unref)(t) ? (0, import_vue.createCommentVNode)("", true) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("button", {
|
|
1812
1825
|
key: 0,
|
|
@@ -1814,7 +1827,7 @@ var Ls = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1814
1827
|
class: "launcher-pill",
|
|
1815
1828
|
title: "Open vue-muza devtools",
|
|
1816
1829
|
onClick: p[0] || (p[0] = //@ts-ignore
|
|
1817
|
-
(...
|
|
1830
|
+
(...y) => (0, import_vue.unref)(l) && (0, import_vue.unref)(l)(...y))
|
|
1818
1831
|
}, [
|
|
1819
1832
|
(0, import_vue.createVNode)(je, {
|
|
1820
1833
|
width: 22,
|
|
@@ -1824,7 +1837,7 @@ var Ls = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1824
1837
|
])),
|
|
1825
1838
|
(0, import_vue.createVNode)(import_vue.Transition, { name: "panel" }, {
|
|
1826
1839
|
default: (0, import_vue.withCtx)(() => {
|
|
1827
|
-
var
|
|
1840
|
+
var y;
|
|
1828
1841
|
return [
|
|
1829
1842
|
(0, import_vue.unref)(t) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
1830
1843
|
key: 0,
|
|
@@ -1837,8 +1850,8 @@ var Ls = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1837
1850
|
onMousedown: p[1] || (p[1] = //@ts-ignore
|
|
1838
1851
|
(...v) => (0, import_vue.unref)(s) && (0, import_vue.unref)(s)(...v))
|
|
1839
1852
|
}, null, 32),
|
|
1840
|
-
(0, import_vue.createElementVNode)("div",
|
|
1841
|
-
(0, import_vue.createVNode)(
|
|
1853
|
+
(0, import_vue.createElementVNode)("div", Ds, [
|
|
1854
|
+
(0, import_vue.createVNode)(Tt, {
|
|
1842
1855
|
tabs: (0, import_vue.unref)(a),
|
|
1843
1856
|
"active-tab-id": (0, import_vue.unref)(c) ?? null,
|
|
1844
1857
|
"select-tab": (0, import_vue.unref)(g),
|
|
@@ -1847,8 +1860,8 @@ var Ls = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1847
1860
|
"onUpdate:panelMode": (0, import_vue.unref)(o),
|
|
1848
1861
|
onSettings: (0, import_vue.unref)(d)
|
|
1849
1862
|
}, null, 8, ["tabs", "active-tab-id", "select-tab", "panel-mode", "onClose", "onUpdate:panelMode", "onSettings"]),
|
|
1850
|
-
(0, import_vue.createElementVNode)("div",
|
|
1851
|
-
(0, import_vue.unref)(u) ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)((0, import_vue.resolveDynamicComponent)((
|
|
1863
|
+
(0, import_vue.createElementVNode)("div", Vs, [
|
|
1864
|
+
(0, import_vue.unref)(u) ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)((0, import_vue.resolveDynamicComponent)((y = (0, import_vue.unref)(u)) == null ? void 0 : y.component), { key: 0 })) : (0, import_vue.createCommentVNode)("", true)
|
|
1852
1865
|
])
|
|
1853
1866
|
])
|
|
1854
1867
|
], 4)) : (0, import_vue.createCommentVNode)("", true)
|
|
@@ -1859,19 +1872,19 @@ var Ls = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1859
1872
|
], 64));
|
|
1860
1873
|
}
|
|
1861
1874
|
});
|
|
1862
|
-
var
|
|
1863
|
-
var
|
|
1875
|
+
var Ws = /* @__PURE__ */ j(Ns, [["__scopeId", "data-v-c45ea08a"]]);
|
|
1876
|
+
var Hs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
1864
1877
|
__name: "DevtoolsApp",
|
|
1865
1878
|
setup(e) {
|
|
1866
|
-
const { panelMode: i } =
|
|
1867
|
-
return (t, n) => (0, import_vue.unref)(i) === "bottom" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(
|
|
1879
|
+
const { panelMode: i } = me();
|
|
1880
|
+
return (t, n) => (0, import_vue.unref)(i) === "bottom" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(js, { key: 0 })) : ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Ws, { key: 1 }));
|
|
1868
1881
|
}
|
|
1869
1882
|
});
|
|
1870
|
-
var
|
|
1871
|
-
function
|
|
1872
|
-
if (document.getElementById(
|
|
1883
|
+
var ot = "vue-muza-devtools-root";
|
|
1884
|
+
function Bs() {
|
|
1885
|
+
if (document.getElementById(ot)) return;
|
|
1873
1886
|
const e = document.createElement("div");
|
|
1874
|
-
e.id =
|
|
1887
|
+
e.id = ot, Object.assign(e.style, {
|
|
1875
1888
|
position: "fixed",
|
|
1876
1889
|
top: "0",
|
|
1877
1890
|
left: "0",
|
|
@@ -1880,18 +1893,18 @@ function Rs() {
|
|
|
1880
1893
|
overflow: "visible",
|
|
1881
1894
|
zIndex: "9999",
|
|
1882
1895
|
pointerEvents: "none"
|
|
1883
|
-
}), document.body.appendChild(e), (0, import_vue.createApp)(
|
|
1896
|
+
}), document.body.appendChild(e), (0, import_vue.createApp)(Hs).mount(e);
|
|
1884
1897
|
}
|
|
1885
|
-
function
|
|
1886
|
-
const e = (0, import_vue.ref)(""), i = (0, import_vue.ref)("all"), t = (0, import_vue.ref)("all"), n = (0, import_vue.computed)(() =>
|
|
1898
|
+
function Ks() {
|
|
1899
|
+
const e = (0, import_vue.ref)(""), i = (0, import_vue.ref)("all"), t = (0, import_vue.ref)("all"), n = (0, import_vue.computed)(() => ft.value.filter((o) => !(e.value && !o.url.toLowerCase().includes(e.value.toLowerCase()) || i.value !== "all" && o.status !== i.value || t.value !== "all" && o.instanceId !== t.value)).reverse());
|
|
1887
1900
|
function s() {
|
|
1888
1901
|
e.value = "", i.value = "all", t.value = "all";
|
|
1889
1902
|
}
|
|
1890
1903
|
return { urlFilter: e, statusFilter: i, instanceFilter: t, filteredRequests: n, clearFilters: s };
|
|
1891
1904
|
}
|
|
1892
|
-
function
|
|
1905
|
+
function Us() {
|
|
1893
1906
|
const e = (0, import_vue.ref)(null), i = (0, import_vue.ref)("split"), t = (0, import_vue.ref)("json"), n = (0, import_vue.ref)("json"), s = (0, import_vue.computed)(
|
|
1894
|
-
() => e.value ?
|
|
1907
|
+
() => e.value ? ft.value.find((c) => c.id === e.value) ?? null : null
|
|
1895
1908
|
);
|
|
1896
1909
|
function o(c) {
|
|
1897
1910
|
e.value = c;
|
|
@@ -1917,11 +1930,11 @@ function Ds() {
|
|
|
1917
1930
|
toggleResponseFormat: a
|
|
1918
1931
|
};
|
|
1919
1932
|
}
|
|
1920
|
-
function
|
|
1921
|
-
const e =
|
|
1922
|
-
return { ...e, ...i, instances:
|
|
1933
|
+
function Js() {
|
|
1934
|
+
const e = Ks(), i = Us();
|
|
1935
|
+
return { ...e, ...i, instances: Vt };
|
|
1923
1936
|
}
|
|
1924
|
-
function
|
|
1937
|
+
function Xs(e, i, t) {
|
|
1925
1938
|
const n = new Array(e);
|
|
1926
1939
|
return new Proxy(n, {
|
|
1927
1940
|
get(s, o, l) {
|
|
@@ -1951,7 +1964,7 @@ function Ns(e, i, t) {
|
|
|
1951
1964
|
}
|
|
1952
1965
|
});
|
|
1953
1966
|
}
|
|
1954
|
-
function
|
|
1967
|
+
function J(e, i, t) {
|
|
1955
1968
|
let n = t.initialDeps ?? [], s, o = true;
|
|
1956
1969
|
function l() {
|
|
1957
1970
|
var r;
|
|
@@ -1964,7 +1977,7 @@ function U(e, i, t) {
|
|
|
1964
1977
|
n = u;
|
|
1965
1978
|
let d = 0;
|
|
1966
1979
|
if (a && (d = Date.now()), s = i(...u), a) {
|
|
1967
|
-
const w = Math.round((Date.now() - c) * 100) / 100, p = Math.round((Date.now() - d) * 100) / 100,
|
|
1980
|
+
const w = Math.round((Date.now() - c) * 100) / 100, p = Math.round((Date.now() - d) * 100) / 100, y = p / 16, v = (x, T) => {
|
|
1968
1981
|
for (x = String(x); x.length < T; )
|
|
1969
1982
|
x = " " + x;
|
|
1970
1983
|
return x;
|
|
@@ -1976,7 +1989,7 @@ function U(e, i, t) {
|
|
|
1976
1989
|
font-weight: bold;
|
|
1977
1990
|
color: hsl(${Math.max(
|
|
1978
1991
|
0,
|
|
1979
|
-
Math.min(120 - 120 *
|
|
1992
|
+
Math.min(120 - 120 * y, 120)
|
|
1980
1993
|
)}deg 100% 31%);`,
|
|
1981
1994
|
t == null ? void 0 : t.key
|
|
1982
1995
|
);
|
|
@@ -1987,38 +2000,38 @@ function U(e, i, t) {
|
|
|
1987
2000
|
n = r;
|
|
1988
2001
|
}, l;
|
|
1989
2002
|
}
|
|
1990
|
-
function
|
|
2003
|
+
function lt(e, i) {
|
|
1991
2004
|
if (e === void 0)
|
|
1992
2005
|
throw new Error("Unexpected undefined");
|
|
1993
2006
|
return e;
|
|
1994
2007
|
}
|
|
1995
|
-
var
|
|
1996
|
-
var
|
|
2008
|
+
var Qs = (e, i) => Math.abs(e - i) < 1.01;
|
|
2009
|
+
var Gs = (e, i, t) => {
|
|
1997
2010
|
let n;
|
|
1998
2011
|
return function(...s) {
|
|
1999
2012
|
e.clearTimeout(n), n = e.setTimeout(() => i.apply(this, s), t);
|
|
2000
2013
|
};
|
|
2001
2014
|
};
|
|
2002
|
-
var
|
|
2003
|
-
var
|
|
2004
|
-
if (
|
|
2005
|
-
if (typeof navigator > "u") return
|
|
2006
|
-
if (/iP(hone|od|ad)/.test(navigator.userAgent)) return
|
|
2015
|
+
var ee;
|
|
2016
|
+
var _e = () => {
|
|
2017
|
+
if (ee !== void 0) return ee;
|
|
2018
|
+
if (typeof navigator > "u") return ee = false;
|
|
2019
|
+
if (/iP(hone|od|ad)/.test(navigator.userAgent)) return ee = true;
|
|
2007
2020
|
const e = navigator.maxTouchPoints;
|
|
2008
|
-
return
|
|
2021
|
+
return ee = navigator.platform === "MacIntel" && e !== void 0 && e > 0;
|
|
2009
2022
|
};
|
|
2010
|
-
var
|
|
2023
|
+
var rt = (e) => {
|
|
2011
2024
|
const { offsetWidth: i, offsetHeight: t } = e;
|
|
2012
2025
|
return { width: i, height: t };
|
|
2013
2026
|
};
|
|
2014
|
-
var
|
|
2015
|
-
var
|
|
2027
|
+
var Ys = (e) => e;
|
|
2028
|
+
var Zs = (e) => {
|
|
2016
2029
|
const i = Math.max(e.startIndex - e.overscan, 0), n = Math.min(e.endIndex + e.overscan, e.count - 1) - i + 1, s = new Array(n);
|
|
2017
2030
|
for (let o = 0; o < n; o++)
|
|
2018
2031
|
s[o] = i + o;
|
|
2019
2032
|
return s;
|
|
2020
2033
|
};
|
|
2021
|
-
var
|
|
2034
|
+
var ei = (e, i) => {
|
|
2022
2035
|
const t = e.scrollElement;
|
|
2023
2036
|
if (!t)
|
|
2024
2037
|
return;
|
|
@@ -2029,7 +2042,7 @@ var Us = (e, i) => {
|
|
|
2029
2042
|
const { width: r, height: a } = l;
|
|
2030
2043
|
i({ width: Math.round(r), height: Math.round(a) });
|
|
2031
2044
|
};
|
|
2032
|
-
if (s(
|
|
2045
|
+
if (s(rt(t)), !n.ResizeObserver)
|
|
2033
2046
|
return () => {
|
|
2034
2047
|
};
|
|
2035
2048
|
const o = new n.ResizeObserver((l) => {
|
|
@@ -2042,7 +2055,7 @@ var Us = (e, i) => {
|
|
|
2042
2055
|
return;
|
|
2043
2056
|
}
|
|
2044
2057
|
}
|
|
2045
|
-
s(
|
|
2058
|
+
s(rt(t));
|
|
2046
2059
|
};
|
|
2047
2060
|
e.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(r) : r();
|
|
2048
2061
|
});
|
|
@@ -2050,35 +2063,35 @@ var Us = (e, i) => {
|
|
|
2050
2063
|
o.unobserve(t);
|
|
2051
2064
|
};
|
|
2052
2065
|
};
|
|
2053
|
-
var
|
|
2066
|
+
var fe = {
|
|
2054
2067
|
passive: true
|
|
2055
2068
|
};
|
|
2056
|
-
var
|
|
2057
|
-
var
|
|
2069
|
+
var ti = typeof window > "u" ? true : "onscrollend" in window;
|
|
2070
|
+
var ni = (e, i, t) => {
|
|
2058
2071
|
const n = e.scrollElement;
|
|
2059
2072
|
if (!n)
|
|
2060
2073
|
return;
|
|
2061
2074
|
const s = e.targetWindow;
|
|
2062
2075
|
if (!s)
|
|
2063
2076
|
return;
|
|
2064
|
-
const o = e.options.useScrollendEvent &&
|
|
2077
|
+
const o = e.options.useScrollendEvent && ti;
|
|
2065
2078
|
let l = 0;
|
|
2066
|
-
const r = o ? null :
|
|
2079
|
+
const r = o ? null : Gs(
|
|
2067
2080
|
s,
|
|
2068
2081
|
() => i(l, false),
|
|
2069
2082
|
e.options.isScrollingResetDelay
|
|
2070
2083
|
), a = (g) => () => {
|
|
2071
2084
|
l = t(n), r == null || r(), i(l, g);
|
|
2072
2085
|
}, c = a(true), u = a(false);
|
|
2073
|
-
return n.addEventListener("scroll", c,
|
|
2086
|
+
return n.addEventListener("scroll", c, fe), o && n.addEventListener("scrollend", u, fe), () => {
|
|
2074
2087
|
n.removeEventListener("scroll", c), o && n.removeEventListener("scrollend", u);
|
|
2075
2088
|
};
|
|
2076
2089
|
};
|
|
2077
|
-
var
|
|
2090
|
+
var si = (e, i) => ni(e, i, (t) => {
|
|
2078
2091
|
const { horizontal: n, isRtl: s } = e.options;
|
|
2079
2092
|
return n ? t.scrollLeft * (s && -1 || 1) : t.scrollTop;
|
|
2080
2093
|
});
|
|
2081
|
-
var
|
|
2094
|
+
var ii = (e, i, t) => {
|
|
2082
2095
|
if (t.options.useCachedMeasurements) {
|
|
2083
2096
|
const n = t.indexFromElement(e), s = t.options.getItemKey(n);
|
|
2084
2097
|
return t.itemSizeCache.get(s) ?? t.options.estimateSize(n);
|
|
@@ -2097,7 +2110,7 @@ var Gs = (e, i, t) => {
|
|
|
2097
2110
|
}
|
|
2098
2111
|
return e[t.options.horizontal ? "offsetWidth" : "offsetHeight"];
|
|
2099
2112
|
};
|
|
2100
|
-
var
|
|
2113
|
+
var oi = (e, {
|
|
2101
2114
|
adjustments: i = 0,
|
|
2102
2115
|
behavior: t
|
|
2103
2116
|
}, n) => {
|
|
@@ -2107,8 +2120,8 @@ var Ys = (e, {
|
|
|
2107
2120
|
behavior: t
|
|
2108
2121
|
});
|
|
2109
2122
|
};
|
|
2110
|
-
var
|
|
2111
|
-
var
|
|
2123
|
+
var li = oi;
|
|
2124
|
+
var ri = class {
|
|
2112
2125
|
constructor(i) {
|
|
2113
2126
|
this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = false, this.scrollState = null, this.measurementsCache = [], this._flatMeasurements = null, this.itemSizeCache = /* @__PURE__ */ new Map(), this.itemSizeCacheVersion = 0, this.laneAssignments = /* @__PURE__ */ new Map(), this.pendingMin = null, this.prevLanes = void 0, this.lanesChangedFlag = false, this.lanesSettling = false, this.pendingScrollAnchor = null, this.scrollRect = null, this.scrollOffset = null, this.scrollDirection = null, this.scrollAdjustments = 0, this._iosDeferredAdjustment = 0, this._iosTouching = false, this._iosJustTouchEnded = false, this._iosTouchEndTimerId = null, this._intendedScrollOffset = null, this.elementsCache = /* @__PURE__ */ new Map(), this.now = () => {
|
|
2114
2127
|
var t, n, s;
|
|
@@ -2161,11 +2174,11 @@ var ei = class {
|
|
|
2161
2174
|
scrollPaddingStart: 0,
|
|
2162
2175
|
scrollPaddingEnd: 0,
|
|
2163
2176
|
horizontal: false,
|
|
2164
|
-
getItemKey:
|
|
2165
|
-
rangeExtractor:
|
|
2177
|
+
getItemKey: Ys,
|
|
2178
|
+
rangeExtractor: Zs,
|
|
2166
2179
|
onChange: () => {
|
|
2167
2180
|
},
|
|
2168
|
-
measureElement:
|
|
2181
|
+
measureElement: ii,
|
|
2169
2182
|
initialRect: { width: 0, height: 0 },
|
|
2170
2183
|
scrollMargin: 0,
|
|
2171
2184
|
gap: 0,
|
|
@@ -2190,11 +2203,11 @@ var ei = class {
|
|
|
2190
2203
|
const l = this.options;
|
|
2191
2204
|
let r = null, a = null, c = false;
|
|
2192
2205
|
if (l !== void 0 && l.enabled && o.enabled && o.anchorTo === "end" && this.scrollElement !== null) {
|
|
2193
|
-
const d = l.count, w = o.count, p = this.getMeasurements(),
|
|
2194
|
-
if (w !== d || d > 0 && w > 0 && (o.getItemKey(0) !==
|
|
2206
|
+
const d = l.count, w = o.count, p = this.getMeasurements(), y = d > 0 ? ((n = p[0]) == null ? void 0 : n.key) ?? l.getItemKey(0) : null, v = d > 0 ? ((s = p[d - 1]) == null ? void 0 : s.key) ?? l.getItemKey(d - 1) : null;
|
|
2207
|
+
if (w !== d || d > 0 && w > 0 && (o.getItemKey(0) !== y || o.getItemKey(w - 1) !== v)) {
|
|
2195
2208
|
c = true;
|
|
2196
|
-
const
|
|
2197
|
-
|
|
2209
|
+
const S = d > 0 ? this.getVirtualItemForOffset(this.getScrollOffset()) ?? p[0] : null;
|
|
2210
|
+
S && (r = [S.key, this.getScrollOffset() - S.start]);
|
|
2198
2211
|
const z = o.followOnAppend === true ? "auto" : o.followOnAppend || null;
|
|
2199
2212
|
z && w > d && this.isAtEnd(l.scrollEndThreshold) && (d === 0 || o.getItemKey(w - 1) !== v) && (a = z);
|
|
2200
2213
|
}
|
|
@@ -2202,15 +2215,15 @@ var ei = class {
|
|
|
2202
2215
|
this.options = o, c && (this.pendingMin = 0, this.itemSizeCacheVersion++);
|
|
2203
2216
|
let u = false, g = 0;
|
|
2204
2217
|
if (r && this.scrollOffset !== null) {
|
|
2205
|
-
const [d, w] = r, p = this.getMeasurements(), { count:
|
|
2218
|
+
const [d, w] = r, p = this.getMeasurements(), { count: y, getItemKey: v } = this.options;
|
|
2206
2219
|
let x = 0;
|
|
2207
|
-
for (; x <
|
|
2220
|
+
for (; x < y && v(x) !== d; )
|
|
2208
2221
|
x++;
|
|
2209
|
-
if (x <
|
|
2222
|
+
if (x < y) {
|
|
2210
2223
|
const T = p[x];
|
|
2211
2224
|
if (T) {
|
|
2212
|
-
const
|
|
2213
|
-
|
|
2225
|
+
const S = T.start + w;
|
|
2226
|
+
S !== this.scrollOffset && (g = S - this.scrollOffset, this.scrollOffset = S, u = true);
|
|
2214
2227
|
}
|
|
2215
2228
|
}
|
|
2216
2229
|
}
|
|
@@ -2223,7 +2236,7 @@ var ei = class {
|
|
|
2223
2236
|
}, this.notify = (t) => {
|
|
2224
2237
|
var n, s;
|
|
2225
2238
|
(s = (n = this.options).onChange) == null || s.call(n, this, t);
|
|
2226
|
-
}, this.maybeNotify =
|
|
2239
|
+
}, this.maybeNotify = J(
|
|
2227
2240
|
() => (this.calculateRange(), [
|
|
2228
2241
|
this.isScrolling,
|
|
2229
2242
|
this.range ? this.range.startIndex : null,
|
|
@@ -2267,18 +2280,18 @@ var ei = class {
|
|
|
2267
2280
|
const o = this.scrollElement, l = () => {
|
|
2268
2281
|
this._iosTouching = true, this._iosJustTouchEnded = false, this._iosTouchEndTimerId !== null && this.targetWindow != null && (this.targetWindow.clearTimeout(this._iosTouchEndTimerId), this._iosTouchEndTimerId = null);
|
|
2269
2282
|
}, r = () => {
|
|
2270
|
-
this._iosTouching = false, !(!
|
|
2283
|
+
this._iosTouching = false, !(!_e() || this.targetWindow == null) && (this._iosJustTouchEnded = true, this._iosTouchEndTimerId = this.targetWindow.setTimeout(() => {
|
|
2271
2284
|
this._iosJustTouchEnded = false, this._iosTouchEndTimerId = null, this._flushIosDeferredIfReady();
|
|
2272
2285
|
}, 150));
|
|
2273
2286
|
};
|
|
2274
2287
|
o.addEventListener(
|
|
2275
2288
|
"touchstart",
|
|
2276
2289
|
l,
|
|
2277
|
-
|
|
2290
|
+
fe
|
|
2278
2291
|
), o.addEventListener(
|
|
2279
2292
|
"touchend",
|
|
2280
2293
|
r,
|
|
2281
|
-
|
|
2294
|
+
fe
|
|
2282
2295
|
), this.unsubs.push(() => {
|
|
2283
2296
|
o.removeEventListener("touchstart", l), o.removeEventListener("touchend", r), this._iosTouchEndTimerId !== null && this.targetWindow != null && (this.targetWindow.clearTimeout(this._iosTouchEndTimerId), this._iosTouchEndTimerId = null);
|
|
2284
2297
|
});
|
|
@@ -2291,7 +2304,7 @@ var ei = class {
|
|
|
2291
2304
|
const s = this.pendingScrollAnchor;
|
|
2292
2305
|
if (this.pendingScrollAnchor = null, s && this.scrollElement && this.options.enabled) {
|
|
2293
2306
|
const [o, l, r, a] = s;
|
|
2294
|
-
o !== null && !r && (
|
|
2307
|
+
o !== null && !r && (_e() && (this.isScrolling || this._iosTouching || this._iosJustTouchEnded) ? a !== 0 && (this._iosDeferredAdjustment += a) : this._scrollToOffset(this.getScrollOffset(), {
|
|
2295
2308
|
adjustments: void 0,
|
|
2296
2309
|
behavior: void 0
|
|
2297
2310
|
})), r && this.scrollToEnd({ behavior: r });
|
|
@@ -2318,7 +2331,7 @@ var ei = class {
|
|
|
2318
2331
|
break;
|
|
2319
2332
|
}
|
|
2320
2333
|
return o.size === this.options.lanes ? Array.from(o.values()).sort((l, r) => l.end === r.end ? l.index - r.index : l.end - r.end)[0] : void 0;
|
|
2321
|
-
}, this.getMeasurementOptions =
|
|
2334
|
+
}, this.getMeasurementOptions = J(
|
|
2322
2335
|
() => [
|
|
2323
2336
|
this.options.count,
|
|
2324
2337
|
this.options.paddingStart,
|
|
@@ -2340,7 +2353,7 @@ var ei = class {
|
|
|
2340
2353
|
{
|
|
2341
2354
|
key: false
|
|
2342
2355
|
}
|
|
2343
|
-
), this.getMeasurements =
|
|
2356
|
+
), this.getMeasurements = J(
|
|
2344
2357
|
() => [this.getMeasurementOptions(), this.itemSizeCacheVersion],
|
|
2345
2358
|
({
|
|
2346
2359
|
count: t,
|
|
@@ -2362,52 +2375,52 @@ var ei = class {
|
|
|
2362
2375
|
}));
|
|
2363
2376
|
const g = this.lanesSettling ? 0 : this.pendingMin ?? 0;
|
|
2364
2377
|
if (this.pendingMin = null, this.lanesSettling && this.measurementsCache.length === t && (this.lanesSettling = false), r === 1) {
|
|
2365
|
-
const p = this.options.gap,
|
|
2378
|
+
const p = this.options.gap, y = t * 2;
|
|
2366
2379
|
let v = this._flatMeasurements;
|
|
2367
|
-
if (!v || v.length <
|
|
2368
|
-
const
|
|
2369
|
-
v && g > 0 &&
|
|
2380
|
+
if (!v || v.length < y) {
|
|
2381
|
+
const S = new Float64Array(y);
|
|
2382
|
+
v && g > 0 && S.set(v.subarray(0, g * 2)), v = S, this._flatMeasurements = v;
|
|
2370
2383
|
}
|
|
2371
2384
|
let x;
|
|
2372
2385
|
if (g === 0)
|
|
2373
2386
|
x = n + s;
|
|
2374
2387
|
else {
|
|
2375
|
-
const
|
|
2376
|
-
x = v[
|
|
2388
|
+
const S = g - 1;
|
|
2389
|
+
x = v[S * 2] + v[S * 2 + 1] + p;
|
|
2377
2390
|
}
|
|
2378
|
-
for (let
|
|
2379
|
-
const z = o(
|
|
2380
|
-
v[
|
|
2391
|
+
for (let S = g; S < t; S++) {
|
|
2392
|
+
const z = o(S), D = u.get(z), I = typeof D == "number" ? D : this.options.estimateSize(S);
|
|
2393
|
+
v[S * 2] = x, v[S * 2 + 1] = I, x += I + p;
|
|
2381
2394
|
}
|
|
2382
|
-
const T =
|
|
2395
|
+
const T = Xs(t, v, o);
|
|
2383
2396
|
return this.measurementsCache = T, T;
|
|
2384
2397
|
}
|
|
2385
2398
|
const d = this.measurementsCache.slice(0, g), w = new Array(r).fill(
|
|
2386
2399
|
void 0
|
|
2387
2400
|
);
|
|
2388
2401
|
for (let p = 0; p < g; p++) {
|
|
2389
|
-
const
|
|
2390
|
-
|
|
2402
|
+
const y = d[p];
|
|
2403
|
+
y && (w[y.lane] = p);
|
|
2391
2404
|
}
|
|
2392
2405
|
for (let p = g; p < t; p++) {
|
|
2393
|
-
const
|
|
2406
|
+
const y = o(p), v = this.laneAssignments.get(p);
|
|
2394
2407
|
let x, T;
|
|
2395
|
-
const
|
|
2408
|
+
const S = a === "estimate" || u.has(y);
|
|
2396
2409
|
if (v !== void 0 && this.options.lanes > 1) {
|
|
2397
2410
|
x = v;
|
|
2398
|
-
const
|
|
2399
|
-
T =
|
|
2411
|
+
const k = w[x], _ = k !== void 0 ? d[k] : void 0;
|
|
2412
|
+
T = _ ? _.end + this.options.gap : n + s;
|
|
2400
2413
|
} else {
|
|
2401
|
-
const
|
|
2402
|
-
T =
|
|
2414
|
+
const k = this.options.lanes === 1 ? d[p - 1] : this.getFurthestMeasurement(d, p);
|
|
2415
|
+
T = k ? k.end + this.options.gap : n + s, x = k ? k.lane : p % this.options.lanes, this.options.lanes > 1 && S && this.laneAssignments.set(p, x);
|
|
2403
2416
|
}
|
|
2404
|
-
const z = u.get(
|
|
2417
|
+
const z = u.get(y), D = typeof z == "number" ? z : this.options.estimateSize(p), I = T + D;
|
|
2405
2418
|
d[p] = {
|
|
2406
2419
|
index: p,
|
|
2407
2420
|
start: T,
|
|
2408
2421
|
size: D,
|
|
2409
|
-
end:
|
|
2410
|
-
key:
|
|
2422
|
+
end: I,
|
|
2423
|
+
key: y,
|
|
2411
2424
|
lane: x
|
|
2412
2425
|
}, w[x] = p;
|
|
2413
2426
|
}
|
|
@@ -2417,14 +2430,14 @@ var ei = class {
|
|
|
2417
2430
|
key: process.env.NODE_ENV !== "production" && "getMeasurements",
|
|
2418
2431
|
debug: () => this.options.debug
|
|
2419
2432
|
}
|
|
2420
|
-
), this.calculateRange =
|
|
2433
|
+
), this.calculateRange = J(
|
|
2421
2434
|
() => [
|
|
2422
2435
|
this.getMeasurements(),
|
|
2423
2436
|
this.getSize(),
|
|
2424
2437
|
this.getScrollOffset(),
|
|
2425
2438
|
this.options.lanes
|
|
2426
2439
|
],
|
|
2427
|
-
(t, n, s, o) => this.range = t.length > 0 && n > 0 ?
|
|
2440
|
+
(t, n, s, o) => this.range = t.length > 0 && n > 0 ? ai({
|
|
2428
2441
|
measurements: t,
|
|
2429
2442
|
outerSize: n,
|
|
2430
2443
|
scrollOffset: s,
|
|
@@ -2438,7 +2451,7 @@ var ei = class {
|
|
|
2438
2451
|
key: process.env.NODE_ENV !== "production" && "calculateRange",
|
|
2439
2452
|
debug: () => this.options.debug
|
|
2440
2453
|
}
|
|
2441
|
-
), this.getVirtualIndexes =
|
|
2454
|
+
), this.getVirtualIndexes = J(
|
|
2442
2455
|
() => {
|
|
2443
2456
|
let t = null, n = null;
|
|
2444
2457
|
const s = this.calculateRange();
|
|
@@ -2528,7 +2541,7 @@ var ei = class {
|
|
|
2528
2541
|
));
|
|
2529
2542
|
(this.pendingMin === null || t < this.pendingMin) && (this.pendingMin = t), this.itemSizeCache.set(a, n), this.itemSizeCacheVersion++, d ? this.applyScrollAdjustment(this.getTotalSize() - w) : p && this.applyScrollAdjustment(g), this.notify(false);
|
|
2530
2543
|
}
|
|
2531
|
-
}, this.getVirtualItems =
|
|
2544
|
+
}, this.getVirtualItems = J(
|
|
2532
2545
|
() => [this.getVirtualIndexes(), this.getMeasurements()],
|
|
2533
2546
|
(t, n) => {
|
|
2534
2547
|
const s = [];
|
|
@@ -2546,13 +2559,13 @@ var ei = class {
|
|
|
2546
2559
|
const n = this.getMeasurements();
|
|
2547
2560
|
if (n.length === 0)
|
|
2548
2561
|
return;
|
|
2549
|
-
const s = this._flatMeasurements, o = this.options.lanes === 1 && s != null, l =
|
|
2562
|
+
const s = this._flatMeasurements, o = this.options.lanes === 1 && s != null, l = Mt(
|
|
2550
2563
|
0,
|
|
2551
2564
|
n.length - 1,
|
|
2552
|
-
o ? (r) => s[r * 2] : (r) =>
|
|
2565
|
+
o ? (r) => s[r * 2] : (r) => lt(n[r]).start,
|
|
2553
2566
|
t
|
|
2554
2567
|
);
|
|
2555
|
-
return
|
|
2568
|
+
return lt(n[l]);
|
|
2556
2569
|
}, this.getMaxScrollOffset = () => {
|
|
2557
2570
|
if (!this.scrollElement) return 0;
|
|
2558
2571
|
if ("scrollHeight" in this.scrollElement)
|
|
@@ -2682,7 +2695,7 @@ var ei = class {
|
|
|
2682
2695
|
}, this.setOptions(i);
|
|
2683
2696
|
}
|
|
2684
2697
|
applyScrollAdjustment(i, t) {
|
|
2685
|
-
i !== 0 && (process.env.NODE_ENV !== "production" && this.options.debug && console.info("correction", i),
|
|
2698
|
+
i !== 0 && (process.env.NODE_ENV !== "production" && this.options.debug && console.info("correction", i), _e() && (this.isScrolling || this._iosTouching || this._iosJustTouchEnded) ? this._iosDeferredAdjustment += i : this._scrollToOffset(this.getScrollOffset(), {
|
|
2686
2699
|
adjustments: this.scrollAdjustments += i,
|
|
2687
2700
|
behavior: t
|
|
2688
2701
|
}));
|
|
@@ -2703,7 +2716,7 @@ var ei = class {
|
|
|
2703
2716
|
return;
|
|
2704
2717
|
}
|
|
2705
2718
|
const n = this.scrollState.index != null ? this.getOffsetForIndex(this.scrollState.index, this.scrollState.align) : void 0, s = n ? n[0] : this.scrollState.lastTargetOffset, o = 1, l = s !== this.scrollState.lastTargetOffset;
|
|
2706
|
-
if (!l &&
|
|
2719
|
+
if (!l && Qs(s, this.getScrollOffset())) {
|
|
2707
2720
|
if (this.scrollState.stableFrames++, this.scrollState.stableFrames >= o) {
|
|
2708
2721
|
this.getScrollOffset() !== s && this._scrollToOffset(s, {
|
|
2709
2722
|
adjustments: void 0,
|
|
@@ -2721,7 +2734,7 @@ var ei = class {
|
|
|
2721
2734
|
this.scheduleScrollReconcile();
|
|
2722
2735
|
}
|
|
2723
2736
|
};
|
|
2724
|
-
var
|
|
2737
|
+
var Mt = (e, i, t, n) => {
|
|
2725
2738
|
for (; e <= i; ) {
|
|
2726
2739
|
const s = (e + i) / 2 | 0, o = t(s);
|
|
2727
2740
|
if (o < n)
|
|
@@ -2733,7 +2746,7 @@ var kt = (e, i, t, n) => {
|
|
|
2733
2746
|
}
|
|
2734
2747
|
return e > 0 ? e - 1 : 0;
|
|
2735
2748
|
};
|
|
2736
|
-
function
|
|
2749
|
+
function ai({
|
|
2737
2750
|
measurements: e,
|
|
2738
2751
|
outerSize: i,
|
|
2739
2752
|
scrollOffset: t,
|
|
@@ -2746,7 +2759,7 @@ function ti({
|
|
|
2746
2759
|
startIndex: 0,
|
|
2747
2760
|
endIndex: o
|
|
2748
2761
|
};
|
|
2749
|
-
let a =
|
|
2762
|
+
let a = Mt(0, o, l, t), c = a;
|
|
2750
2763
|
if (n === 1)
|
|
2751
2764
|
for (; c < o && r(c) < t + i; )
|
|
2752
2765
|
c++;
|
|
@@ -2765,8 +2778,8 @@ function ti({
|
|
|
2765
2778
|
}
|
|
2766
2779
|
return { startIndex: a, endIndex: c };
|
|
2767
2780
|
}
|
|
2768
|
-
function
|
|
2769
|
-
const i = new
|
|
2781
|
+
function ci(e) {
|
|
2782
|
+
const i = new ri((0, import_vue.unref)(e)), t = (0, import_vue.shallowRef)(i), n = i._didMount();
|
|
2770
2783
|
return (0, import_vue.watch)(
|
|
2771
2784
|
() => (0, import_vue.unref)(e).getScrollElement(),
|
|
2772
2785
|
(s) => {
|
|
@@ -2791,24 +2804,17 @@ function ni(e) {
|
|
|
2791
2804
|
}
|
|
2792
2805
|
), (0, import_vue.onScopeDispose)(n), t;
|
|
2793
2806
|
}
|
|
2794
|
-
function
|
|
2795
|
-
return
|
|
2807
|
+
function ui(e) {
|
|
2808
|
+
return ci(
|
|
2796
2809
|
(0, import_vue.computed)(() => ({
|
|
2797
|
-
observeElementRect:
|
|
2798
|
-
observeElementOffset:
|
|
2799
|
-
scrollToFn:
|
|
2810
|
+
observeElementRect: ei,
|
|
2811
|
+
observeElementOffset: si,
|
|
2812
|
+
scrollToFn: li,
|
|
2800
2813
|
...(0, import_vue.unref)(e)
|
|
2801
2814
|
}))
|
|
2802
2815
|
);
|
|
2803
2816
|
}
|
|
2804
|
-
|
|
2805
|
-
return {
|
|
2806
|
-
instances: at,
|
|
2807
|
-
requests: qe,
|
|
2808
|
-
getRequestsByInstance: Nt
|
|
2809
|
-
};
|
|
2810
|
-
}
|
|
2811
|
-
var oi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
2817
|
+
var di = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
2812
2818
|
__name: "Badge",
|
|
2813
2819
|
props: {
|
|
2814
2820
|
label: {},
|
|
@@ -2830,7 +2836,7 @@ var oi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
2830
2836
|
}, (0, import_vue.toDisplayString)(e.label), 3));
|
|
2831
2837
|
}
|
|
2832
2838
|
});
|
|
2833
|
-
var
|
|
2839
|
+
var hi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
2834
2840
|
__name: "StatusBadge",
|
|
2835
2841
|
props: {
|
|
2836
2842
|
status: {},
|
|
@@ -2843,17 +2849,17 @@ var li = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
2843
2849
|
pending: "pending",
|
|
2844
2850
|
aborted: "aborted"
|
|
2845
2851
|
};
|
|
2846
|
-
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(
|
|
2852
|
+
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(di, {
|
|
2847
2853
|
label: e.statusCode ? String(e.statusCode) : e.status,
|
|
2848
2854
|
variant: i[e.status]
|
|
2849
2855
|
}, null, 8, ["label", "variant"]));
|
|
2850
2856
|
}
|
|
2851
2857
|
});
|
|
2852
|
-
var
|
|
2858
|
+
var fi = {
|
|
2853
2859
|
key: 0,
|
|
2854
2860
|
class: "feature-badges"
|
|
2855
2861
|
};
|
|
2856
|
-
var
|
|
2862
|
+
var pi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
2857
2863
|
__name: "FeatureBadges",
|
|
2858
2864
|
props: {
|
|
2859
2865
|
options: {}
|
|
@@ -2867,7 +2873,7 @@ var ai = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
2867
2873
|
}
|
|
2868
2874
|
return o && n.push({ key: "polling", label: "polling", variant: "polling" }), l && n.push({ key: "retry", label: "retry", variant: "retry" }), r && n.push({ key: "batch", label: "batch", variant: "batch" }), a && n.push({ key: "debounce", label: "debounce", variant: "debounce" }), (!c || u) && n.push({ key: "lazy", label: "lazy", variant: "lazy" }), n;
|
|
2869
2875
|
});
|
|
2870
|
-
return (n, s) => t.value.length ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
2876
|
+
return (n, s) => t.value.length ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", fi, [
|
|
2871
2877
|
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(t.value, (o) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span", {
|
|
2872
2878
|
key: o.key,
|
|
2873
2879
|
class: (0, import_vue.normalizeClass)(["badge", `badge--${o.variant}`])
|
|
@@ -2881,14 +2887,14 @@ var ai = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
2881
2887
|
])) : (0, import_vue.createCommentVNode)("", true);
|
|
2882
2888
|
}
|
|
2883
2889
|
});
|
|
2884
|
-
var
|
|
2885
|
-
var
|
|
2886
|
-
var
|
|
2887
|
-
var
|
|
2888
|
-
var
|
|
2889
|
-
var
|
|
2890
|
-
var
|
|
2891
|
-
var
|
|
2890
|
+
var Ct = /* @__PURE__ */ j(pi, [["__scopeId", "data-v-99118e1d"]]);
|
|
2891
|
+
var mi = { class: "row-body" };
|
|
2892
|
+
var vi = { class: "row-top" };
|
|
2893
|
+
var gi = { class: "row-url" };
|
|
2894
|
+
var yi = { class: "row-meta" };
|
|
2895
|
+
var bi = { class: "meta-duration" };
|
|
2896
|
+
var wi = { class: "meta-time" };
|
|
2897
|
+
var Si = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
2892
2898
|
__name: "RequestRow",
|
|
2893
2899
|
props: {
|
|
2894
2900
|
request: {},
|
|
@@ -2911,31 +2917,31 @@ var mi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
2911
2917
|
(0, import_vue.createElementVNode)("div", {
|
|
2912
2918
|
class: (0, import_vue.normalizeClass)(["accent-bar", `accent-bar--${e.request.status}`])
|
|
2913
2919
|
}, null, 2),
|
|
2914
|
-
(0, import_vue.createElementVNode)("div",
|
|
2915
|
-
(0, import_vue.createElementVNode)("div",
|
|
2920
|
+
(0, import_vue.createElementVNode)("div", mi, [
|
|
2921
|
+
(0, import_vue.createElementVNode)("div", vi, [
|
|
2916
2922
|
(0, import_vue.createElementVNode)("span", {
|
|
2917
2923
|
class: (0, import_vue.normalizeClass)(["method-badge", `method-${e.request.method.toLowerCase()}`])
|
|
2918
2924
|
}, (0, import_vue.toDisplayString)(e.request.method), 3),
|
|
2919
|
-
(0, import_vue.createElementVNode)("span",
|
|
2920
|
-
e.instanceOptions ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(
|
|
2925
|
+
(0, import_vue.createElementVNode)("span", gi, (0, import_vue.toDisplayString)(e.request.url), 1),
|
|
2926
|
+
e.instanceOptions ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Ct, {
|
|
2921
2927
|
key: 0,
|
|
2922
2928
|
options: e.instanceOptions
|
|
2923
2929
|
}, null, 8, ["options"])) : (0, import_vue.createCommentVNode)("", true)
|
|
2924
2930
|
]),
|
|
2925
|
-
(0, import_vue.createElementVNode)("div",
|
|
2926
|
-
(0, import_vue.createVNode)(
|
|
2931
|
+
(0, import_vue.createElementVNode)("div", yi, [
|
|
2932
|
+
(0, import_vue.createVNode)(hi, {
|
|
2927
2933
|
status: e.request.status,
|
|
2928
2934
|
"status-code": e.request.statusCode
|
|
2929
2935
|
}, null, 8, ["status", "status-code"]),
|
|
2930
|
-
(0, import_vue.createElementVNode)("span",
|
|
2931
|
-
(0, import_vue.createElementVNode)("span",
|
|
2936
|
+
(0, import_vue.createElementVNode)("span", bi, (0, import_vue.toDisplayString)(i(e.request.duration)), 1),
|
|
2937
|
+
(0, import_vue.createElementVNode)("span", wi, (0, import_vue.toDisplayString)(t(e.request.startedAt)), 1)
|
|
2932
2938
|
])
|
|
2933
2939
|
])
|
|
2934
2940
|
], 2));
|
|
2935
2941
|
}
|
|
2936
2942
|
});
|
|
2937
|
-
var
|
|
2938
|
-
var
|
|
2943
|
+
var xi = /* @__PURE__ */ j(Si, [["__scopeId", "data-v-e5492c3f"]]);
|
|
2944
|
+
var _i = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
2939
2945
|
__name: "RequestList",
|
|
2940
2946
|
props: {
|
|
2941
2947
|
requests: {},
|
|
@@ -2943,49 +2949,43 @@ var gi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
2943
2949
|
},
|
|
2944
2950
|
emits: ["select"],
|
|
2945
2951
|
setup(e) {
|
|
2946
|
-
const i = e,
|
|
2947
|
-
function n(l) {
|
|
2948
|
-
var r;
|
|
2949
|
-
if (l)
|
|
2950
|
-
return (r = t.value.get(l)) == null ? void 0 : r.options;
|
|
2951
|
-
}
|
|
2952
|
-
const s = (0, import_vue.ref)(null), o = si(
|
|
2952
|
+
const i = e, t = (0, import_vue.ref)(null), n = ui(
|
|
2953
2953
|
(0, import_vue.computed)(() => ({
|
|
2954
2954
|
count: i.requests.length,
|
|
2955
|
-
getScrollElement: () =>
|
|
2955
|
+
getScrollElement: () => t.value,
|
|
2956
2956
|
estimateSize: () => 52,
|
|
2957
2957
|
overscan: 10
|
|
2958
2958
|
}))
|
|
2959
2959
|
);
|
|
2960
|
-
return (
|
|
2960
|
+
return (s, o) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
2961
2961
|
ref_key: "parentRef",
|
|
2962
|
-
ref:
|
|
2962
|
+
ref: t,
|
|
2963
2963
|
style: { flex: "1", overflow: "auto", background: "var(--dt-background)" }
|
|
2964
2964
|
}, [
|
|
2965
2965
|
(0, import_vue.createElementVNode)("div", {
|
|
2966
|
-
style: (0, import_vue.normalizeStyle)({ height: `${(0, import_vue.unref)(
|
|
2966
|
+
style: (0, import_vue.normalizeStyle)({ height: `${(0, import_vue.unref)(n).getTotalSize()}px`, position: "relative" })
|
|
2967
2967
|
}, [
|
|
2968
|
-
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)((0, import_vue.unref)(
|
|
2969
|
-
key:
|
|
2970
|
-
style: (0, import_vue.normalizeStyle)({ position: "absolute", top: 0, left: 0, width: "100%", transform: `translateY(${
|
|
2968
|
+
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)((0, import_vue.unref)(n).getVirtualItems(), (l) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
2969
|
+
key: l.index,
|
|
2970
|
+
style: (0, import_vue.normalizeStyle)({ position: "absolute", top: 0, left: 0, width: "100%", transform: `translateY(${l.start}px)` })
|
|
2971
2971
|
}, [
|
|
2972
|
-
(0, import_vue.createVNode)(
|
|
2973
|
-
request: e.requests[
|
|
2974
|
-
"is-active": e.requests[
|
|
2975
|
-
"instance-options":
|
|
2976
|
-
onSelect:
|
|
2972
|
+
(0, import_vue.createVNode)(xi, {
|
|
2973
|
+
request: e.requests[l.index],
|
|
2974
|
+
"is-active": e.requests[l.index].id === e.activeRequestId,
|
|
2975
|
+
"instance-options": e.requests[l.index].instanceOptions,
|
|
2976
|
+
onSelect: o[0] || (o[0] = (r) => s.$emit("select", r))
|
|
2977
2977
|
}, null, 8, ["request", "is-active", "instance-options"])
|
|
2978
2978
|
], 4))), 128))
|
|
2979
2979
|
], 4)
|
|
2980
2980
|
], 512));
|
|
2981
2981
|
}
|
|
2982
2982
|
});
|
|
2983
|
-
var
|
|
2984
|
-
var
|
|
2985
|
-
var
|
|
2986
|
-
var
|
|
2987
|
-
var
|
|
2988
|
-
var
|
|
2983
|
+
var ki = { class: "detail-header" };
|
|
2984
|
+
var Ii = { class: "req-method" };
|
|
2985
|
+
var Ei = ["title"];
|
|
2986
|
+
var Ti = { class: "req-meta" };
|
|
2987
|
+
var Mi = { key: 0 };
|
|
2988
|
+
var Ci = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
2989
2989
|
__name: "DetailHeader",
|
|
2990
2990
|
props: {
|
|
2991
2991
|
request: {},
|
|
@@ -2996,21 +2996,21 @@ var ki = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
2996
2996
|
function i(t) {
|
|
2997
2997
|
return t ? t < 300 ? "s-2xx" : t < 400 ? "s-3xx" : t < 500 ? "s-4xx" : "s-5xx" : "s-pending";
|
|
2998
2998
|
}
|
|
2999
|
-
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
2999
|
+
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", ki, [
|
|
3000
3000
|
(0, import_vue.createElementVNode)("span", {
|
|
3001
3001
|
class: (0, import_vue.normalizeClass)(["status-chip", i(e.request.statusCode)])
|
|
3002
3002
|
}, (0, import_vue.toDisplayString)(e.request.statusCode ?? "\xB7\xB7\xB7"), 3),
|
|
3003
|
-
(0, import_vue.createElementVNode)("span",
|
|
3003
|
+
(0, import_vue.createElementVNode)("span", Ii, (0, import_vue.toDisplayString)(e.request.method), 1),
|
|
3004
3004
|
(0, import_vue.createElementVNode)("span", {
|
|
3005
3005
|
class: "req-url",
|
|
3006
3006
|
title: e.request.url
|
|
3007
|
-
}, (0, import_vue.toDisplayString)(e.request.url), 9,
|
|
3008
|
-
e.instanceOptions ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(
|
|
3007
|
+
}, (0, import_vue.toDisplayString)(e.request.url), 9, Ei),
|
|
3008
|
+
e.instanceOptions ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Ct, {
|
|
3009
3009
|
key: 0,
|
|
3010
3010
|
options: e.instanceOptions
|
|
3011
3011
|
}, null, 8, ["options"])) : (0, import_vue.createCommentVNode)("", true),
|
|
3012
|
-
(0, import_vue.createElementVNode)("div",
|
|
3013
|
-
e.request.duration !== null ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span",
|
|
3012
|
+
(0, import_vue.createElementVNode)("div", Ti, [
|
|
3013
|
+
e.request.duration !== null ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span", Mi, (0, import_vue.toDisplayString)(e.request.duration) + "ms", 1)) : (0, import_vue.createCommentVNode)("", true),
|
|
3014
3014
|
(0, import_vue.createElementVNode)("span", null, (0, import_vue.toDisplayString)(new Date(e.request.startedAt).toLocaleTimeString()), 1)
|
|
3015
3015
|
]),
|
|
3016
3016
|
(0, import_vue.createElementVNode)("button", {
|
|
@@ -3018,7 +3018,7 @@ var ki = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3018
3018
|
"aria-label": "Close detail",
|
|
3019
3019
|
onClick: n[0] || (n[0] = (s) => t.$emit("close"))
|
|
3020
3020
|
}, [
|
|
3021
|
-
(0, import_vue.createVNode)((0, import_vue.unref)(
|
|
3021
|
+
(0, import_vue.createVNode)((0, import_vue.unref)(ce), {
|
|
3022
3022
|
icon: "lucide:x",
|
|
3023
3023
|
width: "14",
|
|
3024
3024
|
height: "14"
|
|
@@ -3027,10 +3027,10 @@ var ki = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3027
3027
|
]));
|
|
3028
3028
|
}
|
|
3029
3029
|
});
|
|
3030
|
-
var
|
|
3031
|
-
var
|
|
3032
|
-
var
|
|
3033
|
-
var
|
|
3030
|
+
var Oi = /* @__PURE__ */ j(Ci, [["__scopeId", "data-v-ee649b7a"]]);
|
|
3031
|
+
var zi = { class: "detail-tabs" };
|
|
3032
|
+
var Ai = ["onClick"];
|
|
3033
|
+
var Li = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3034
3034
|
__name: "DetailTabs",
|
|
3035
3035
|
props: {
|
|
3036
3036
|
activeTab: {}
|
|
@@ -3043,18 +3043,18 @@ var Ti = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3043
3043
|
{ id: "response", label: "Response" },
|
|
3044
3044
|
{ id: "headers", label: "Headers" }
|
|
3045
3045
|
];
|
|
3046
|
-
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3046
|
+
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", zi, [
|
|
3047
3047
|
((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(i, (s) => (0, import_vue.createElementVNode)("button", {
|
|
3048
3048
|
key: s.id,
|
|
3049
3049
|
class: (0, import_vue.normalizeClass)(["tab-btn", { "tab-btn--active": s.id === e.activeTab }]),
|
|
3050
3050
|
onClick: (o) => t.$emit("select", s.id)
|
|
3051
|
-
}, (0, import_vue.toDisplayString)(s.label), 11,
|
|
3051
|
+
}, (0, import_vue.toDisplayString)(s.label), 11, Ai)), 64))
|
|
3052
3052
|
]));
|
|
3053
3053
|
}
|
|
3054
3054
|
});
|
|
3055
|
-
var
|
|
3056
|
-
var
|
|
3057
|
-
var
|
|
3055
|
+
var qi = /* @__PURE__ */ j(Li, [["__scopeId", "data-v-c3c26245"]]);
|
|
3056
|
+
var $i = ["innerHTML"];
|
|
3057
|
+
var Fi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3058
3058
|
__name: "JsonViewer",
|
|
3059
3059
|
props: {
|
|
3060
3060
|
value: {}
|
|
@@ -3077,22 +3077,22 @@ var Oi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3077
3077
|
return (s, o) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("pre", {
|
|
3078
3078
|
class: "json-root",
|
|
3079
3079
|
innerHTML: n.value
|
|
3080
|
-
}, null, 8,
|
|
3080
|
+
}, null, 8, $i));
|
|
3081
3081
|
}
|
|
3082
3082
|
});
|
|
3083
|
-
var
|
|
3084
|
-
var
|
|
3085
|
-
var
|
|
3083
|
+
var Ce = /* @__PURE__ */ j(Fi, [["__scopeId", "data-v-4994acd4"]]);
|
|
3084
|
+
var Pi = { class: "tree-node" };
|
|
3085
|
+
var Ri = {
|
|
3086
3086
|
key: 0,
|
|
3087
3087
|
class: "tree-key"
|
|
3088
3088
|
};
|
|
3089
|
-
var
|
|
3089
|
+
var ji = {
|
|
3090
3090
|
key: 1,
|
|
3091
3091
|
class: "tree-colon"
|
|
3092
3092
|
};
|
|
3093
|
-
var
|
|
3094
|
-
var
|
|
3095
|
-
|
|
3093
|
+
var Di = { name: "TreeNode" };
|
|
3094
|
+
var Vi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3095
|
+
...Di,
|
|
3096
3096
|
props: {
|
|
3097
3097
|
nodeKey: {},
|
|
3098
3098
|
value: {},
|
|
@@ -3107,7 +3107,7 @@ var Li = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3107
3107
|
}
|
|
3108
3108
|
return (g, d) => {
|
|
3109
3109
|
const w = (0, import_vue.resolveComponent)("TreeNode", true);
|
|
3110
|
-
return (0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3110
|
+
return (0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", Pi, [
|
|
3111
3111
|
(0, import_vue.createElementVNode)("div", {
|
|
3112
3112
|
class: "tree-row",
|
|
3113
3113
|
style: (0, import_vue.normalizeStyle)({ paddingLeft: c.value + "px" })
|
|
@@ -3117,8 +3117,8 @@ var Li = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3117
3117
|
style: (0, import_vue.normalizeStyle)({ visibility: n.value ? "visible" : "hidden" }),
|
|
3118
3118
|
onClick: u
|
|
3119
3119
|
}, null, 6),
|
|
3120
|
-
e.nodeKey !== null ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span",
|
|
3121
|
-
e.nodeKey !== null ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span",
|
|
3120
|
+
e.nodeKey !== null ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span", Ri, (0, import_vue.toDisplayString)(e.nodeKey), 1)) : (0, import_vue.createCommentVNode)("", true),
|
|
3121
|
+
e.nodeKey !== null ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span", ji, ":")) : (0, import_vue.createCommentVNode)("", true),
|
|
3122
3122
|
n.value ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span", {
|
|
3123
3123
|
key: 2,
|
|
3124
3124
|
class: "tree-badge",
|
|
@@ -3128,27 +3128,27 @@ var Li = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3128
3128
|
class: (0, import_vue.normalizeClass)(a.value)
|
|
3129
3129
|
}, (0, import_vue.toDisplayString)(r.value), 3))
|
|
3130
3130
|
], 4),
|
|
3131
|
-
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(l.value, ([p,
|
|
3131
|
+
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(l.value, ([p, y]) => ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(w, {
|
|
3132
3132
|
key: p,
|
|
3133
3133
|
"node-key": p,
|
|
3134
|
-
value:
|
|
3134
|
+
value: y,
|
|
3135
3135
|
depth: e.depth + 1
|
|
3136
3136
|
}, null, 8, ["node-key", "value", "depth"]))), 128))
|
|
3137
3137
|
]);
|
|
3138
3138
|
};
|
|
3139
3139
|
}
|
|
3140
3140
|
});
|
|
3141
|
-
var
|
|
3142
|
-
var
|
|
3143
|
-
var
|
|
3141
|
+
var Ni = /* @__PURE__ */ j(Vi, [["__scopeId", "data-v-e08fddee"]]);
|
|
3142
|
+
var Wi = { class: "tree-viewer" };
|
|
3143
|
+
var Hi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3144
3144
|
__name: "TreeViewer",
|
|
3145
3145
|
props: {
|
|
3146
3146
|
value: {}
|
|
3147
3147
|
},
|
|
3148
3148
|
setup(e) {
|
|
3149
3149
|
const i = e, t = (0, import_vue.computed)(() => i.value === null || i.value === void 0 ? [] : Array.isArray(i.value) ? i.value.map((n, s) => [s, n]) : typeof i.value == "object" ? Object.entries(i.value) : []);
|
|
3150
|
-
return (n, s) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3151
|
-
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(t.value, ([o, l]) => ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(
|
|
3150
|
+
return (n, s) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", Wi, [
|
|
3151
|
+
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(t.value, ([o, l]) => ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Ni, {
|
|
3152
3152
|
key: o,
|
|
3153
3153
|
"node-key": o,
|
|
3154
3154
|
value: l,
|
|
@@ -3157,16 +3157,18 @@ var Ri = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3157
3157
|
]));
|
|
3158
3158
|
}
|
|
3159
3159
|
});
|
|
3160
|
-
var
|
|
3161
|
-
var
|
|
3162
|
-
var
|
|
3163
|
-
var
|
|
3164
|
-
var
|
|
3165
|
-
var
|
|
3160
|
+
var Oe = /* @__PURE__ */ j(Hi, [["__scopeId", "data-v-f9bec403"]]);
|
|
3161
|
+
var Bi = { class: "data-pane" };
|
|
3162
|
+
var Ki = { class: "pane-header" };
|
|
3163
|
+
var Ui = { class: "pane-title" };
|
|
3164
|
+
var Ji = { class: "pane-body" };
|
|
3165
|
+
var Xi = {
|
|
3166
3166
|
key: 0,
|
|
3167
3167
|
class: "truncated-warning"
|
|
3168
3168
|
};
|
|
3169
|
-
var
|
|
3169
|
+
var at = (0, import_vue.ref)("json");
|
|
3170
|
+
var ct = false;
|
|
3171
|
+
var Qi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3170
3172
|
__name: "DataPane",
|
|
3171
3173
|
props: {
|
|
3172
3174
|
title: {},
|
|
@@ -3174,12 +3176,12 @@ var Hi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3174
3176
|
truncated: { type: Boolean }
|
|
3175
3177
|
},
|
|
3176
3178
|
setup(e) {
|
|
3177
|
-
const i = e, t =
|
|
3178
|
-
(
|
|
3179
|
-
|
|
3180
|
-
});
|
|
3179
|
+
const i = e, t = at;
|
|
3180
|
+
ct || (ct = true, gn().then((o) => {
|
|
3181
|
+
at.value = o;
|
|
3182
|
+
}));
|
|
3181
3183
|
async function n() {
|
|
3182
|
-
t.value = t.value === "kv" ? "json" : "kv", await
|
|
3184
|
+
t.value = t.value === "kv" ? "json" : "kv", await yn(t.value);
|
|
3183
3185
|
}
|
|
3184
3186
|
async function s() {
|
|
3185
3187
|
try {
|
|
@@ -3187,11 +3189,11 @@ var Hi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3187
3189
|
} catch {
|
|
3188
3190
|
}
|
|
3189
3191
|
}
|
|
3190
|
-
return (o, l) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3191
|
-
(0, import_vue.createElementVNode)("div",
|
|
3192
|
-
(0, import_vue.createElementVNode)("span",
|
|
3192
|
+
return (o, l) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", Bi, [
|
|
3193
|
+
(0, import_vue.createElementVNode)("div", Ki, [
|
|
3194
|
+
(0, import_vue.createElementVNode)("span", Ui, (0, import_vue.toDisplayString)(e.title), 1),
|
|
3193
3195
|
(0, import_vue.createElementVNode)("button", {
|
|
3194
|
-
class: (0, import_vue.normalizeClass)(["pane-action", { "pane-action--active": t
|
|
3196
|
+
class: (0, import_vue.normalizeClass)(["pane-action", { "pane-action--active": (0, import_vue.unref)(t) === "kv" }]),
|
|
3195
3197
|
onClick: n
|
|
3196
3198
|
}, "KV", 2),
|
|
3197
3199
|
(0, import_vue.createElementVNode)("button", {
|
|
@@ -3199,12 +3201,12 @@ var Hi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3199
3201
|
onClick: s
|
|
3200
3202
|
}, "Copy")
|
|
3201
3203
|
]),
|
|
3202
|
-
(0, import_vue.createElementVNode)("div",
|
|
3203
|
-
e.truncated ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p",
|
|
3204
|
-
t
|
|
3204
|
+
(0, import_vue.createElementVNode)("div", Ji, [
|
|
3205
|
+
e.truncated ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p", Xi, "[truncated]")) : (0, import_vue.createCommentVNode)("", true),
|
|
3206
|
+
(0, import_vue.unref)(t) === "json" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Ce, {
|
|
3205
3207
|
key: 1,
|
|
3206
3208
|
value: e.data
|
|
3207
|
-
}, null, 8, ["value"])) : ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(
|
|
3209
|
+
}, null, 8, ["value"])) : ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Oe, {
|
|
3208
3210
|
key: 2,
|
|
3209
3211
|
value: e.data
|
|
3210
3212
|
}, null, 8, ["value"]))
|
|
@@ -3212,35 +3214,37 @@ var Hi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3212
3214
|
]));
|
|
3213
3215
|
}
|
|
3214
3216
|
});
|
|
3215
|
-
var
|
|
3216
|
-
var
|
|
3217
|
-
var
|
|
3218
|
-
var
|
|
3219
|
-
var
|
|
3217
|
+
var Ot = /* @__PURE__ */ j(Qi, [["__scopeId", "data-v-096ab11d"]]);
|
|
3218
|
+
var Gi = { class: "payload-pane" };
|
|
3219
|
+
var Yi = { class: "pane-header" };
|
|
3220
|
+
var Zi = { class: "section-label" };
|
|
3221
|
+
var eo = {
|
|
3220
3222
|
key: 0,
|
|
3221
3223
|
class: "section-count"
|
|
3222
3224
|
};
|
|
3223
|
-
var
|
|
3225
|
+
var to = {
|
|
3224
3226
|
key: 0,
|
|
3225
3227
|
class: "section-body"
|
|
3226
3228
|
};
|
|
3227
|
-
var
|
|
3229
|
+
var no = {
|
|
3228
3230
|
key: 1,
|
|
3229
3231
|
class: "section-empty"
|
|
3230
3232
|
};
|
|
3231
|
-
var
|
|
3233
|
+
var so = {
|
|
3232
3234
|
key: 2,
|
|
3233
3235
|
class: "section-body"
|
|
3234
3236
|
};
|
|
3235
|
-
var
|
|
3237
|
+
var io = {
|
|
3236
3238
|
key: 0,
|
|
3237
3239
|
class: "truncated-warning"
|
|
3238
3240
|
};
|
|
3239
|
-
var
|
|
3241
|
+
var oo = {
|
|
3240
3242
|
key: 3,
|
|
3241
3243
|
class: "section-empty"
|
|
3242
3244
|
};
|
|
3243
|
-
var
|
|
3245
|
+
var ut = (0, import_vue.ref)("kv");
|
|
3246
|
+
var dt = false;
|
|
3247
|
+
var lo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3244
3248
|
__name: "PayloadPane",
|
|
3245
3249
|
props: {
|
|
3246
3250
|
queryParams: {},
|
|
@@ -3248,12 +3252,13 @@ var eo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3248
3252
|
truncated: { type: Boolean }
|
|
3249
3253
|
},
|
|
3250
3254
|
setup(e) {
|
|
3251
|
-
const i = e, t =
|
|
3252
|
-
(
|
|
3253
|
-
|
|
3254
|
-
});
|
|
3255
|
+
const i = e, t = ut;
|
|
3256
|
+
dt || (dt = true, mn().then((c) => {
|
|
3257
|
+
ut.value = c;
|
|
3258
|
+
}));
|
|
3259
|
+
const n = (0, import_vue.computed)(() => i.queryParams === null || i.queryParams === void 0 || typeof i.queryParams != "object" ? [] : Object.keys(i.queryParams)), s = (0, import_vue.computed)(() => n.value.length > 0), o = (0, import_vue.computed)(() => n.value.length), l = (0, import_vue.computed)(() => i.payload !== null && i.payload !== void 0);
|
|
3255
3260
|
async function r() {
|
|
3256
|
-
t.value = t.value === "kv" ? "json" : "kv", await
|
|
3261
|
+
t.value = t.value === "kv" ? "json" : "kv", await vn(t.value);
|
|
3257
3262
|
}
|
|
3258
3263
|
async function a() {
|
|
3259
3264
|
try {
|
|
@@ -3261,11 +3266,11 @@ var eo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3261
3266
|
} catch {
|
|
3262
3267
|
}
|
|
3263
3268
|
}
|
|
3264
|
-
return (c, u) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3265
|
-
(0, import_vue.createElementVNode)("div",
|
|
3269
|
+
return (c, u) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", Gi, [
|
|
3270
|
+
(0, import_vue.createElementVNode)("div", Yi, [
|
|
3266
3271
|
u[0] || (u[0] = (0, import_vue.createElementVNode)("span", { class: "pane-title" }, "PAYLOAD", -1)),
|
|
3267
3272
|
(0, import_vue.createElementVNode)("button", {
|
|
3268
|
-
class: (0, import_vue.normalizeClass)(["pane-action", { "pane-action--active": t
|
|
3273
|
+
class: (0, import_vue.normalizeClass)(["pane-action", { "pane-action--active": (0, import_vue.unref)(t) === "kv" }]),
|
|
3269
3274
|
onClick: r
|
|
3270
3275
|
}, "KV", 2),
|
|
3271
3276
|
(0, import_vue.createElementVNode)("button", {
|
|
@@ -3273,50 +3278,51 @@ var eo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3273
3278
|
onClick: a
|
|
3274
3279
|
}, "Copy")
|
|
3275
3280
|
]),
|
|
3276
|
-
(0, import_vue.createElementVNode)("div",
|
|
3281
|
+
(0, import_vue.createElementVNode)("div", Zi, [
|
|
3277
3282
|
u[1] || (u[1] = (0, import_vue.createElementVNode)("span", null, "Query Params", -1)),
|
|
3278
|
-
s.value ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span",
|
|
3283
|
+
s.value ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span", eo, (0, import_vue.toDisplayString)(o.value), 1)) : (0, import_vue.createCommentVNode)("", true)
|
|
3279
3284
|
]),
|
|
3280
|
-
s.value ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3281
|
-
t
|
|
3285
|
+
s.value ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", to, [
|
|
3286
|
+
(0, import_vue.unref)(t) === "kv" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Oe, {
|
|
3282
3287
|
key: 0,
|
|
3283
3288
|
value: e.queryParams
|
|
3284
|
-
}, null, 8, ["value"])) : ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(
|
|
3289
|
+
}, null, 8, ["value"])) : ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Ce, {
|
|
3285
3290
|
key: 1,
|
|
3286
3291
|
value: e.queryParams
|
|
3287
3292
|
}, null, 8, ["value"]))
|
|
3288
|
-
])) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p",
|
|
3293
|
+
])) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p", no, "No params")),
|
|
3289
3294
|
u[2] || (u[2] = (0, import_vue.createElementVNode)("div", { class: "section-divider" }, null, -1)),
|
|
3290
3295
|
u[3] || (u[3] = (0, import_vue.createElementVNode)("div", { class: "section-label" }, [
|
|
3291
3296
|
(0, import_vue.createElementVNode)("span", null, "Body")
|
|
3292
3297
|
], -1)),
|
|
3293
|
-
l.value ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3294
|
-
e.truncated ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p",
|
|
3295
|
-
t
|
|
3298
|
+
l.value ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", so, [
|
|
3299
|
+
e.truncated ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p", io, "[truncated]")) : (0, import_vue.createCommentVNode)("", true),
|
|
3300
|
+
(0, import_vue.unref)(t) === "kv" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Oe, {
|
|
3296
3301
|
key: 1,
|
|
3297
3302
|
value: e.payload
|
|
3298
|
-
}, null, 8, ["value"])) : ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(
|
|
3303
|
+
}, null, 8, ["value"])) : ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Ce, {
|
|
3299
3304
|
key: 2,
|
|
3300
3305
|
value: e.payload
|
|
3301
3306
|
}, null, 8, ["value"]))
|
|
3302
|
-
])) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p",
|
|
3307
|
+
])) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p", oo, "No body"))
|
|
3303
3308
|
]));
|
|
3304
3309
|
}
|
|
3305
3310
|
});
|
|
3306
|
-
var
|
|
3307
|
-
var
|
|
3308
|
-
var
|
|
3311
|
+
var zt = /* @__PURE__ */ j(lo, [["__scopeId", "data-v-0c05535b"]]);
|
|
3312
|
+
var ro = { class: "split-pane" };
|
|
3313
|
+
var ao = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3309
3314
|
__name: "SplitView",
|
|
3310
3315
|
props: {
|
|
3311
3316
|
request: {}
|
|
3312
3317
|
},
|
|
3313
3318
|
setup(e) {
|
|
3314
|
-
const { panelMode: i } =
|
|
3319
|
+
const { panelMode: i } = me(), t = (0, import_vue.computed)(() => i.value === "side"), n = (0, import_vue.ref)(null), s = (0, import_vue.ref)(null);
|
|
3315
3320
|
let o = null;
|
|
3316
|
-
(0, import_vue.watch)(t, () => {
|
|
3317
|
-
|
|
3321
|
+
(0, import_vue.watch)(t, async (r) => {
|
|
3322
|
+
const a = r ? await Ke() : await Be();
|
|
3323
|
+
n.value = a ?? null;
|
|
3318
3324
|
}), (0, import_vue.onMounted)(async () => {
|
|
3319
|
-
const r = await
|
|
3325
|
+
const r = t.value ? await Ke() : await Be();
|
|
3320
3326
|
r !== void 0 && (n.value = r);
|
|
3321
3327
|
});
|
|
3322
3328
|
function l(r) {
|
|
@@ -3327,7 +3333,7 @@ var no = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3327
3333
|
const p = a.offsetHeight - 80 - 5;
|
|
3328
3334
|
n.value = Math.max(80, Math.min(d + (w.clientY - g), p));
|
|
3329
3335
|
}, u = function() {
|
|
3330
|
-
window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", u), o = null;
|
|
3336
|
+
window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", u), o = null, pn(n.value);
|
|
3331
3337
|
};
|
|
3332
3338
|
const g = r.clientY, d = n.value ?? a.offsetHeight / 2;
|
|
3333
3339
|
window.addEventListener("mousemove", c), window.addEventListener("mouseup", u), o = () => {
|
|
@@ -3338,7 +3344,7 @@ var no = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3338
3344
|
const p = a.offsetWidth - 120 - 5;
|
|
3339
3345
|
n.value = Math.max(120, Math.min(d + (w.clientX - g), p));
|
|
3340
3346
|
}, u = function() {
|
|
3341
|
-
window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", u), o = null,
|
|
3347
|
+
window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", u), o = null, fn(n.value);
|
|
3342
3348
|
};
|
|
3343
3349
|
const g = r.clientX, d = n.value ?? a.offsetWidth / 2;
|
|
3344
3350
|
window.addEventListener("mousemove", c), window.addEventListener("mouseup", u), o = () => {
|
|
@@ -3359,7 +3365,7 @@ var no = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3359
3365
|
class: "split-pane",
|
|
3360
3366
|
style: (0, import_vue.normalizeStyle)(n.value !== null ? t.value ? { flex: "none", height: n.value + "px" } : { flex: "none", width: n.value + "px" } : {})
|
|
3361
3367
|
}, [
|
|
3362
|
-
(0, import_vue.createVNode)(
|
|
3368
|
+
(0, import_vue.createVNode)(zt, {
|
|
3363
3369
|
"query-params": e.request.queryParams,
|
|
3364
3370
|
payload: e.request.payload,
|
|
3365
3371
|
truncated: e.request.truncated
|
|
@@ -3369,8 +3375,8 @@ var no = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3369
3375
|
class: (0, import_vue.normalizeClass)(["split-handle", t.value ? "split-handle--h" : "split-handle--v"]),
|
|
3370
3376
|
onMousedown: l
|
|
3371
3377
|
}, null, 34),
|
|
3372
|
-
(0, import_vue.createElementVNode)("div",
|
|
3373
|
-
(0, import_vue.createVNode)(
|
|
3378
|
+
(0, import_vue.createElementVNode)("div", ro, [
|
|
3379
|
+
(0, import_vue.createVNode)(Ot, {
|
|
3374
3380
|
title: "Response",
|
|
3375
3381
|
data: e.request.response,
|
|
3376
3382
|
truncated: e.request.truncated
|
|
@@ -3379,20 +3385,17 @@ var no = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3379
3385
|
], 2));
|
|
3380
3386
|
}
|
|
3381
3387
|
});
|
|
3382
|
-
var
|
|
3383
|
-
var
|
|
3384
|
-
var
|
|
3385
|
-
var
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
var ro = { class: "header-key" };
|
|
3390
|
-
var ao = { class: "header-val" };
|
|
3391
|
-
var co = {
|
|
3388
|
+
var co = /* @__PURE__ */ j(ao, [["__scopeId", "data-v-b07544b9"]]);
|
|
3389
|
+
var uo = { class: "request-detail" };
|
|
3390
|
+
var ho = { class: "detail-content" };
|
|
3391
|
+
var fo = { class: "headers-view" };
|
|
3392
|
+
var po = { class: "header-key" };
|
|
3393
|
+
var mo = { class: "header-val" };
|
|
3394
|
+
var vo = {
|
|
3392
3395
|
key: 0,
|
|
3393
3396
|
class: "empty-msg"
|
|
3394
3397
|
};
|
|
3395
|
-
var
|
|
3398
|
+
var go = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3396
3399
|
__name: "RequestDetail",
|
|
3397
3400
|
props: {
|
|
3398
3401
|
request: {},
|
|
@@ -3401,53 +3404,59 @@ var uo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3401
3404
|
emits: ["close"],
|
|
3402
3405
|
setup(e) {
|
|
3403
3406
|
const i = (0, import_vue.ref)("split");
|
|
3404
|
-
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3405
|
-
(0, import_vue.createVNode)(
|
|
3407
|
+
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", uo, [
|
|
3408
|
+
(0, import_vue.createVNode)(Oi, {
|
|
3406
3409
|
request: e.request,
|
|
3407
3410
|
"instance-options": e.instanceOptions,
|
|
3408
3411
|
onClose: n[0] || (n[0] = (s) => t.$emit("close"))
|
|
3409
3412
|
}, null, 8, ["request", "instance-options"]),
|
|
3410
|
-
(0, import_vue.createVNode)(
|
|
3413
|
+
(0, import_vue.createVNode)(qi, {
|
|
3411
3414
|
"active-tab": i.value,
|
|
3412
3415
|
onSelect: n[1] || (n[1] = (s) => i.value = s)
|
|
3413
3416
|
}, null, 8, ["active-tab"]),
|
|
3414
|
-
(0, import_vue.createElementVNode)("div",
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
key: 1,
|
|
3417
|
+
(0, import_vue.createElementVNode)("div", ho, [
|
|
3418
|
+
(0, import_vue.withDirectives)((0, import_vue.createVNode)(co, { request: e.request }, null, 8, ["request"]), [
|
|
3419
|
+
[import_vue.vShow, i.value === "split"]
|
|
3420
|
+
]),
|
|
3421
|
+
(0, import_vue.withDirectives)((0, import_vue.createVNode)(zt, {
|
|
3420
3422
|
"query-params": e.request.queryParams,
|
|
3421
3423
|
payload: e.request.payload,
|
|
3422
3424
|
truncated: e.request.truncated
|
|
3423
|
-
}, null, 8, ["query-params", "payload", "truncated"])
|
|
3424
|
-
|
|
3425
|
+
}, null, 8, ["query-params", "payload", "truncated"]), [
|
|
3426
|
+
[import_vue.vShow, i.value === "payload"]
|
|
3427
|
+
]),
|
|
3428
|
+
(0, import_vue.withDirectives)((0, import_vue.createVNode)(Ot, {
|
|
3425
3429
|
title: "Response",
|
|
3426
3430
|
data: e.request.response,
|
|
3427
3431
|
truncated: e.request.truncated
|
|
3428
|
-
}, null, 8, ["data", "truncated"])
|
|
3432
|
+
}, null, 8, ["data", "truncated"]), [
|
|
3433
|
+
[import_vue.vShow, i.value === "response"]
|
|
3434
|
+
]),
|
|
3435
|
+
(0, import_vue.withDirectives)((0, import_vue.createElementVNode)("div", fo, [
|
|
3429
3436
|
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(e.request.requestHeaders, (s, o) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
3430
3437
|
key: o,
|
|
3431
3438
|
class: "header-row"
|
|
3432
3439
|
}, [
|
|
3433
|
-
(0, import_vue.createElementVNode)("span",
|
|
3434
|
-
(0, import_vue.createElementVNode)("span",
|
|
3440
|
+
(0, import_vue.createElementVNode)("span", po, (0, import_vue.toDisplayString)(o), 1),
|
|
3441
|
+
(0, import_vue.createElementVNode)("span", mo, (0, import_vue.toDisplayString)(s), 1)
|
|
3435
3442
|
]))), 128)),
|
|
3436
|
-
Object.keys(e.request.requestHeaders ?? {}).length ? (0, import_vue.createCommentVNode)("", true) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p",
|
|
3437
|
-
]
|
|
3443
|
+
Object.keys(e.request.requestHeaders ?? {}).length ? (0, import_vue.createCommentVNode)("", true) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p", vo, " No request headers captured. "))
|
|
3444
|
+
], 512), [
|
|
3445
|
+
[import_vue.vShow, i.value === "headers"]
|
|
3446
|
+
])
|
|
3438
3447
|
])
|
|
3439
3448
|
]));
|
|
3440
3449
|
}
|
|
3441
3450
|
});
|
|
3442
|
-
var
|
|
3443
|
-
var
|
|
3444
|
-
var
|
|
3451
|
+
var yo = /* @__PURE__ */ j(go, [["__scopeId", "data-v-5e83c1d2"]]);
|
|
3452
|
+
var bo = ["value"];
|
|
3453
|
+
var wo = {
|
|
3445
3454
|
key: 0,
|
|
3446
3455
|
value: "",
|
|
3447
3456
|
disabled: ""
|
|
3448
3457
|
};
|
|
3449
|
-
var
|
|
3450
|
-
var
|
|
3458
|
+
var So = ["value"];
|
|
3459
|
+
var xo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3451
3460
|
__name: "SelectInput",
|
|
3452
3461
|
props: {
|
|
3453
3462
|
modelValue: {},
|
|
@@ -3461,44 +3470,44 @@ var vo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3461
3470
|
value: e.modelValue,
|
|
3462
3471
|
onChange: t[0] || (t[0] = (n) => i.$emit("update:modelValue", n.target.value))
|
|
3463
3472
|
}, [
|
|
3464
|
-
e.placeholder ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("option",
|
|
3473
|
+
e.placeholder ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("option", wo, (0, import_vue.toDisplayString)(e.placeholder), 1)) : (0, import_vue.createCommentVNode)("", true),
|
|
3465
3474
|
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(e.options, (n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("option", {
|
|
3466
3475
|
key: n.value,
|
|
3467
3476
|
value: n.value
|
|
3468
|
-
}, (0, import_vue.toDisplayString)(n.label), 9,
|
|
3469
|
-
], 40,
|
|
3477
|
+
}, (0, import_vue.toDisplayString)(n.label), 9, So))), 128))
|
|
3478
|
+
], 40, bo));
|
|
3470
3479
|
}
|
|
3471
3480
|
});
|
|
3472
|
-
var
|
|
3473
|
-
var
|
|
3474
|
-
var
|
|
3475
|
-
var
|
|
3476
|
-
var
|
|
3477
|
-
var
|
|
3478
|
-
var
|
|
3481
|
+
var _o = /* @__PURE__ */ j(xo, [["__scopeId", "data-v-e6ef5dc9"]]);
|
|
3482
|
+
var ko = { class: "network-tab" };
|
|
3483
|
+
var Io = { class: "toolbar" };
|
|
3484
|
+
var Eo = { class: "filter-bar" };
|
|
3485
|
+
var To = ["onClick"];
|
|
3486
|
+
var Mo = { class: "filter-count" };
|
|
3487
|
+
var Co = {
|
|
3479
3488
|
key: 0,
|
|
3480
3489
|
width: "10",
|
|
3481
3490
|
height: "10",
|
|
3482
3491
|
viewBox: "0 0 10 10",
|
|
3483
3492
|
fill: "none"
|
|
3484
3493
|
};
|
|
3485
|
-
var
|
|
3494
|
+
var Oo = {
|
|
3486
3495
|
key: 0,
|
|
3487
3496
|
width: "10",
|
|
3488
3497
|
height: "10",
|
|
3489
3498
|
viewBox: "0 0 10 10",
|
|
3490
3499
|
fill: "none"
|
|
3491
3500
|
};
|
|
3492
|
-
var
|
|
3501
|
+
var zo = {
|
|
3493
3502
|
key: 0,
|
|
3494
3503
|
style: { "font-size": "12px", color: "var(--dt-foreground-subtle)", padding: "16px" }
|
|
3495
3504
|
};
|
|
3496
|
-
var
|
|
3505
|
+
var Ao = {
|
|
3497
3506
|
key: 1,
|
|
3498
3507
|
class: "detail-pane"
|
|
3499
3508
|
};
|
|
3500
|
-
var
|
|
3501
|
-
var
|
|
3509
|
+
var Lo = 180;
|
|
3510
|
+
var qo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3502
3511
|
__name: "NetworkTab",
|
|
3503
3512
|
setup(e) {
|
|
3504
3513
|
const {
|
|
@@ -3511,16 +3520,16 @@ var Mo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3511
3520
|
selectedRequestId: r,
|
|
3512
3521
|
selectRequest: a,
|
|
3513
3522
|
instances: c
|
|
3514
|
-
} =
|
|
3523
|
+
} = Js(), { toolbarVisible: u, filterVisible: g, settingsOpen: d, toggleToolbar: w, toggleFilter: p, closeSettings: y } = $e(), v = (0, import_vue.computed)(() => [
|
|
3515
3524
|
{ value: "all", label: "All instances" },
|
|
3516
|
-
...[...c.value.values()].map((
|
|
3517
|
-
value:
|
|
3518
|
-
label:
|
|
3525
|
+
...[...c.value.values()].map((k) => ({
|
|
3526
|
+
value: k.id,
|
|
3527
|
+
label: k.url ?? k.id
|
|
3519
3528
|
}))
|
|
3520
3529
|
]), x = (0, import_vue.computed)(
|
|
3521
3530
|
() => {
|
|
3522
|
-
var
|
|
3523
|
-
return (
|
|
3531
|
+
var k;
|
|
3532
|
+
return (k = l.value) == null ? void 0 : k.instanceOptions;
|
|
3524
3533
|
}
|
|
3525
3534
|
), T = [
|
|
3526
3535
|
{ value: "all", label: "All" },
|
|
@@ -3528,57 +3537,62 @@ var Mo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3528
3537
|
{ value: "error", label: "Error" },
|
|
3529
3538
|
{ value: "pending", label: "Pending" },
|
|
3530
3539
|
{ value: "aborted", label: "Aborted" }
|
|
3531
|
-
],
|
|
3540
|
+
], S = (0, import_vue.ref)(320);
|
|
3541
|
+
(0, import_vue.onMounted)(async () => {
|
|
3542
|
+
const k = await bn();
|
|
3543
|
+
k !== void 0 && (S.value = k);
|
|
3544
|
+
});
|
|
3545
|
+
const z = (0, import_vue.ref)(null);
|
|
3532
3546
|
let D = null;
|
|
3533
|
-
function
|
|
3534
|
-
const
|
|
3535
|
-
function V(
|
|
3536
|
-
const
|
|
3537
|
-
|
|
3547
|
+
function I(k) {
|
|
3548
|
+
const _ = k.clientX, E = S.value;
|
|
3549
|
+
function V(At) {
|
|
3550
|
+
const Lt = z.value ? z.value.offsetWidth * 0.7 : 800;
|
|
3551
|
+
S.value = Math.max(Lo, Math.min(E + (At.clientX - _), Lt));
|
|
3538
3552
|
}
|
|
3539
|
-
function
|
|
3540
|
-
window.removeEventListener("mousemove", V), window.removeEventListener("mouseup",
|
|
3553
|
+
function ye() {
|
|
3554
|
+
window.removeEventListener("mousemove", V), window.removeEventListener("mouseup", ye), D = null, wn(S.value);
|
|
3541
3555
|
}
|
|
3542
|
-
window.addEventListener("mousemove", V), window.addEventListener("mouseup",
|
|
3543
|
-
window.removeEventListener("mousemove", V), window.removeEventListener("mouseup",
|
|
3544
|
-
},
|
|
3556
|
+
window.addEventListener("mousemove", V), window.addEventListener("mouseup", ye), D = () => {
|
|
3557
|
+
window.removeEventListener("mousemove", V), window.removeEventListener("mouseup", ye);
|
|
3558
|
+
}, k.preventDefault();
|
|
3545
3559
|
}
|
|
3546
3560
|
return (0, import_vue.onScopeDispose)(() => {
|
|
3547
3561
|
D == null || D();
|
|
3548
|
-
}), (
|
|
3549
|
-
(0, import_vue.withDirectives)((0, import_vue.createElementVNode)("div",
|
|
3562
|
+
}), (k, _) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", ko, [
|
|
3563
|
+
(0, import_vue.withDirectives)((0, import_vue.createElementVNode)("div", Io, [
|
|
3550
3564
|
(0, import_vue.withDirectives)((0, import_vue.createElementVNode)("input", {
|
|
3551
|
-
"onUpdate:modelValue":
|
|
3565
|
+
"onUpdate:modelValue": _[0] || (_[0] = (E) => (0, import_vue.isRef)(i) ? i.value = E : null),
|
|
3552
3566
|
class: "toolbar-input",
|
|
3553
3567
|
placeholder: "Filter URL\u2026"
|
|
3554
3568
|
}, null, 512), [
|
|
3555
3569
|
[import_vue.vModelText, (0, import_vue.unref)(i)]
|
|
3556
3570
|
]),
|
|
3557
|
-
(0, import_vue.createVNode)(
|
|
3571
|
+
(0, import_vue.createVNode)(_o, {
|
|
3558
3572
|
modelValue: (0, import_vue.unref)(n),
|
|
3559
|
-
"onUpdate:modelValue":
|
|
3573
|
+
"onUpdate:modelValue": _[1] || (_[1] = (E) => (0, import_vue.isRef)(n) ? n.value = E : null),
|
|
3560
3574
|
options: v.value
|
|
3561
3575
|
}, null, 8, ["modelValue", "options"]),
|
|
3562
3576
|
(0, import_vue.createElementVNode)("button", {
|
|
3563
3577
|
class: "toolbar-btn",
|
|
3564
|
-
onClick:
|
|
3578
|
+
onClick: _[2] || (_[2] = //@ts-ignore
|
|
3565
3579
|
(...E) => (0, import_vue.unref)(o) && (0, import_vue.unref)(o)(...E))
|
|
3566
3580
|
}, "Reset filters"),
|
|
3567
3581
|
(0, import_vue.createElementVNode)("button", {
|
|
3568
3582
|
class: "toolbar-btn toolbar-btn--danger",
|
|
3569
|
-
onClick:
|
|
3570
|
-
(...E) => (0, import_vue.unref)(
|
|
3583
|
+
onClick: _[3] || (_[3] = //@ts-ignore
|
|
3584
|
+
(...E) => (0, import_vue.unref)(We) && (0, import_vue.unref)(We)(...E))
|
|
3571
3585
|
}, "Clear log")
|
|
3572
3586
|
], 512), [
|
|
3573
3587
|
[import_vue.vShow, (0, import_vue.unref)(u)]
|
|
3574
3588
|
]),
|
|
3575
|
-
(0, import_vue.withDirectives)((0, import_vue.createElementVNode)("div",
|
|
3589
|
+
(0, import_vue.withDirectives)((0, import_vue.createElementVNode)("div", Eo, [
|
|
3576
3590
|
((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(T, (E) => (0, import_vue.createElementVNode)("button", {
|
|
3577
3591
|
key: E.value,
|
|
3578
3592
|
class: (0, import_vue.normalizeClass)(["filter-pill", { "filter-pill--active": (0, import_vue.unref)(t) === E.value }]),
|
|
3579
3593
|
onClick: (V) => t.value = E.value
|
|
3580
|
-
}, (0, import_vue.toDisplayString)(E.label), 11,
|
|
3581
|
-
(0, import_vue.createElementVNode)("span",
|
|
3594
|
+
}, (0, import_vue.toDisplayString)(E.label), 11, To)), 64)),
|
|
3595
|
+
(0, import_vue.createElementVNode)("span", Mo, (0, import_vue.toDisplayString)((0, import_vue.unref)(s).length) + " request" + (0, import_vue.toDisplayString)((0, import_vue.unref)(s).length === 1 ? "" : "s"), 1)
|
|
3582
3596
|
], 512), [
|
|
3583
3597
|
[import_vue.vShow, (0, import_vue.unref)(g)]
|
|
3584
3598
|
]),
|
|
@@ -3586,8 +3600,8 @@ var Mo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3586
3600
|
(0, import_vue.unref)(d) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
3587
3601
|
key: 0,
|
|
3588
3602
|
style: { position: "fixed", inset: "0", "z-index": "99" },
|
|
3589
|
-
onClick:
|
|
3590
|
-
(...E) => (0, import_vue.unref)(
|
|
3603
|
+
onClick: _[4] || (_[4] = //@ts-ignore
|
|
3604
|
+
(...E) => (0, import_vue.unref)(y) && (0, import_vue.unref)(y)(...E))
|
|
3591
3605
|
})) : (0, import_vue.createCommentVNode)("", true)
|
|
3592
3606
|
])),
|
|
3593
3607
|
(0, import_vue.createVNode)(import_vue.Transition, { name: "settings-menu" }, {
|
|
@@ -3595,21 +3609,21 @@ var Mo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3595
3609
|
(0, import_vue.unref)(d) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
3596
3610
|
key: 0,
|
|
3597
3611
|
class: "settings-menu",
|
|
3598
|
-
onKeydown:
|
|
3612
|
+
onKeydown: _[7] || (_[7] = (0, import_vue.withKeys)(
|
|
3599
3613
|
//@ts-ignore
|
|
3600
|
-
(...E) => (0, import_vue.unref)(
|
|
3614
|
+
(...E) => (0, import_vue.unref)(y) && (0, import_vue.unref)(y)(...E),
|
|
3601
3615
|
["escape"]
|
|
3602
3616
|
))
|
|
3603
3617
|
}, [
|
|
3604
3618
|
(0, import_vue.createElementVNode)("button", {
|
|
3605
3619
|
class: "settings-item",
|
|
3606
|
-
onClick:
|
|
3620
|
+
onClick: _[5] || (_[5] = //@ts-ignore
|
|
3607
3621
|
(...E) => (0, import_vue.unref)(w) && (0, import_vue.unref)(w)(...E))
|
|
3608
3622
|
}, [
|
|
3609
3623
|
(0, import_vue.createElementVNode)("span", {
|
|
3610
3624
|
class: (0, import_vue.normalizeClass)(["settings-check", { "settings-check--on": (0, import_vue.unref)(u) }])
|
|
3611
3625
|
}, [
|
|
3612
|
-
(0, import_vue.unref)(u) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("svg",
|
|
3626
|
+
(0, import_vue.unref)(u) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("svg", Co, [..._[9] || (_[9] = [
|
|
3613
3627
|
(0, import_vue.createElementVNode)("path", {
|
|
3614
3628
|
d: "M1.5 5L4 7.5L8.5 2.5",
|
|
3615
3629
|
stroke: "currentColor",
|
|
@@ -3618,17 +3632,17 @@ var Mo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3618
3632
|
}, null, -1)
|
|
3619
3633
|
])])) : (0, import_vue.createCommentVNode)("", true)
|
|
3620
3634
|
], 2),
|
|
3621
|
-
|
|
3635
|
+
_[10] || (_[10] = (0, import_vue.createTextVNode)(" Toolbar ", -1))
|
|
3622
3636
|
]),
|
|
3623
3637
|
(0, import_vue.createElementVNode)("button", {
|
|
3624
3638
|
class: "settings-item",
|
|
3625
|
-
onClick:
|
|
3639
|
+
onClick: _[6] || (_[6] = //@ts-ignore
|
|
3626
3640
|
(...E) => (0, import_vue.unref)(p) && (0, import_vue.unref)(p)(...E))
|
|
3627
3641
|
}, [
|
|
3628
3642
|
(0, import_vue.createElementVNode)("span", {
|
|
3629
3643
|
class: (0, import_vue.normalizeClass)(["settings-check", { "settings-check--on": (0, import_vue.unref)(g) }])
|
|
3630
3644
|
}, [
|
|
3631
|
-
(0, import_vue.unref)(g) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("svg",
|
|
3645
|
+
(0, import_vue.unref)(g) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("svg", Oo, [..._[11] || (_[11] = [
|
|
3632
3646
|
(0, import_vue.createElementVNode)("path", {
|
|
3633
3647
|
d: "M1.5 5L4 7.5L8.5 2.5",
|
|
3634
3648
|
stroke: "currentColor",
|
|
@@ -3637,7 +3651,7 @@ var Mo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3637
3651
|
}, null, -1)
|
|
3638
3652
|
])])) : (0, import_vue.createCommentVNode)("", true)
|
|
3639
3653
|
], 2),
|
|
3640
|
-
|
|
3654
|
+
_[12] || (_[12] = (0, import_vue.createTextVNode)(" Filter bar ", -1))
|
|
3641
3655
|
])
|
|
3642
3656
|
], 32)) : (0, import_vue.createCommentVNode)("", true)
|
|
3643
3657
|
]),
|
|
@@ -3650,46 +3664,46 @@ var Mo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3650
3664
|
}, [
|
|
3651
3665
|
(0, import_vue.createElementVNode)("div", {
|
|
3652
3666
|
class: "list-pane",
|
|
3653
|
-
style: (0, import_vue.normalizeStyle)((0, import_vue.unref)(l) ? { width: `${
|
|
3667
|
+
style: (0, import_vue.normalizeStyle)((0, import_vue.unref)(l) ? { width: `${S.value}px` } : { flex: "1" })
|
|
3654
3668
|
}, [
|
|
3655
|
-
(0, import_vue.createVNode)(
|
|
3669
|
+
(0, import_vue.createVNode)(_i, {
|
|
3656
3670
|
requests: (0, import_vue.unref)(s),
|
|
3657
3671
|
"active-request-id": (0, import_vue.unref)(r),
|
|
3658
3672
|
onSelect: (0, import_vue.unref)(a)
|
|
3659
3673
|
}, null, 8, ["requests", "active-request-id", "onSelect"]),
|
|
3660
|
-
(0, import_vue.unref)(s).length === 0 ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3674
|
+
(0, import_vue.unref)(s).length === 0 ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", zo, " No requests. ")) : (0, import_vue.createCommentVNode)("", true)
|
|
3661
3675
|
], 4),
|
|
3662
3676
|
(0, import_vue.unref)(l) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
3663
3677
|
key: 0,
|
|
3664
3678
|
class: "drag-handle",
|
|
3665
|
-
onMousedown:
|
|
3679
|
+
onMousedown: I
|
|
3666
3680
|
}, null, 32)) : (0, import_vue.createCommentVNode)("", true),
|
|
3667
|
-
(0, import_vue.unref)(l) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3668
|
-
(0, import_vue.createVNode)(
|
|
3681
|
+
(0, import_vue.unref)(l) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", Ao, [
|
|
3682
|
+
(0, import_vue.createVNode)(yo, {
|
|
3669
3683
|
request: (0, import_vue.unref)(l),
|
|
3670
3684
|
"instance-options": x.value,
|
|
3671
|
-
onClose:
|
|
3685
|
+
onClose: _[8] || (_[8] = (E) => (0, import_vue.unref)(a)(null))
|
|
3672
3686
|
}, null, 8, ["request", "instance-options"])
|
|
3673
3687
|
])) : (0, import_vue.createCommentVNode)("", true)
|
|
3674
3688
|
], 512)
|
|
3675
3689
|
]));
|
|
3676
3690
|
}
|
|
3677
3691
|
});
|
|
3678
|
-
var
|
|
3679
|
-
var
|
|
3692
|
+
var $o = /* @__PURE__ */ j(qo, [["__scopeId", "data-v-32459aba"]]);
|
|
3693
|
+
var Fo = {
|
|
3680
3694
|
id: "network",
|
|
3681
3695
|
label: "Network",
|
|
3682
3696
|
icon: "lucide:network",
|
|
3683
3697
|
order: 1,
|
|
3684
|
-
component:
|
|
3698
|
+
component: $o
|
|
3685
3699
|
};
|
|
3686
|
-
function
|
|
3687
|
-
return
|
|
3688
|
-
onInstanceCreated:
|
|
3689
|
-
onInstanceDestroyed:
|
|
3690
|
-
onStateUpdate:
|
|
3691
|
-
onRequestStart:
|
|
3692
|
-
onRequestEnd:
|
|
3700
|
+
function Ro(e, i) {
|
|
3701
|
+
return Nt(e), He(Fo), e.tabs && e.tabs.forEach((t) => He(t)), Bs(), {
|
|
3702
|
+
onInstanceCreated: Jt,
|
|
3703
|
+
onInstanceDestroyed: Xt,
|
|
3704
|
+
onStateUpdate: Qt,
|
|
3705
|
+
onRequestStart: Gt,
|
|
3706
|
+
onRequestEnd: Yt
|
|
3693
3707
|
};
|
|
3694
3708
|
}
|
|
3695
3709
|
|
|
@@ -3702,7 +3716,7 @@ function nextRequestId() {
|
|
|
3702
3716
|
}
|
|
3703
3717
|
async function initDevtools(options, app) {
|
|
3704
3718
|
if (!options.enabled) return;
|
|
3705
|
-
bridge =
|
|
3719
|
+
bridge = Ro(options, app);
|
|
3706
3720
|
for (const fn2 of pendingCalls) fn2();
|
|
3707
3721
|
pendingCalls.length = 0;
|
|
3708
3722
|
}
|