nuxt-devtools-observatory 0.1.30 → 0.1.31
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/README.md +63 -4
- package/client/.env +2 -1
- package/client/.env.example +2 -1
- package/client/dist/assets/index-BuMXDBO9.js +17 -0
- package/client/dist/assets/{index-BmGW_M3W.css → index-CwcspZ6w.css} +1 -1
- package/client/dist/index.html +2 -2
- package/client/src/App.vue +4 -0
- package/client/src/components/Flamegraph.vue +443 -0
- package/client/src/components/SpanInspector.vue +446 -0
- package/client/src/components/TraceFilter.vue +344 -0
- package/client/src/components/WaterfallView.vue +443 -0
- package/client/src/composables/useTraceFilter.ts +164 -0
- package/client/src/stores/observatory.ts +5 -1
- package/client/src/views/TraceViewer.vue +599 -0
- package/client/src/views/TransitionTimeline.vue +1 -6
- package/dist/module.d.mts +5 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +30 -44
- package/dist/runtime/composables/render-registry.js +66 -110
- package/dist/runtime/composables/transition-registry.js +103 -28
- package/dist/runtime/instrumentation/asyncData.d.ts +9 -0
- package/dist/runtime/instrumentation/asyncData.js +49 -0
- package/dist/runtime/instrumentation/component.d.ts +2 -0
- package/dist/runtime/instrumentation/component.js +126 -0
- package/dist/runtime/instrumentation/fetch.d.ts +2 -0
- package/dist/runtime/instrumentation/fetch.js +89 -0
- package/dist/runtime/instrumentation/route.d.ts +6 -0
- package/dist/runtime/instrumentation/route.js +41 -0
- package/dist/runtime/plugin.js +38 -2
- package/dist/runtime/tracing/context.d.ts +9 -0
- package/dist/runtime/tracing/context.js +15 -0
- package/dist/runtime/tracing/trace.d.ts +25 -0
- package/dist/runtime/tracing/trace.js +0 -0
- package/dist/runtime/tracing/traceStore.d.ts +39 -0
- package/dist/runtime/tracing/traceStore.js +101 -0
- package/dist/runtime/tracing/tracing.d.ts +27 -0
- package/dist/runtime/tracing/tracing.js +48 -0
- package/package.json +1 -1
- package/client/dist/assets/index-BCaKoHBH.js +0 -17
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const r of l.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function s(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function n(o){if(o.ep)return;o.ep=!0;const l=s(o);fetch(o.href,l)}})();/**
|
|
2
|
-
* @vue/shared v3.5.30
|
|
3
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
-
* @license MIT
|
|
5
|
-
**/function Bn(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const xe={},Qt=[],dt=()=>{},Qo=()=>!1,tn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Wn=e=>e.startsWith("onUpdate:"),Ee=Object.assign,Kn=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},_i=Object.prototype.hasOwnProperty,be=(e,t)=>_i.call(e,t),ne=Array.isArray,Zt=e=>Ms(e)==="[object Map]",sn=e=>Ms(e)==="[object Set]",uo=e=>Ms(e)==="[object Date]",ce=e=>typeof e=="function",Se=e=>typeof e=="string",ft=e=>typeof e=="symbol",ye=e=>e!==null&&typeof e=="object",Zo=e=>(ye(e)||ce(e))&&ce(e.then)&&ce(e.catch),el=Object.prototype.toString,Ms=e=>el.call(e),vi=e=>Ms(e).slice(8,-1),tl=e=>Ms(e)==="[object Object]",qn=e=>Se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ps=Bn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),nn=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},gi=/-\w/g,et=nn(e=>e.replace(gi,t=>t.slice(1).toUpperCase())),bi=/\B([A-Z])/g,Kt=nn(e=>e.replace(bi,"-$1").toLowerCase()),sl=nn(e=>e.charAt(0).toUpperCase()+e.slice(1)),vn=nn(e=>e?`on${sl(e)}`:""),ut=(e,t)=>!Object.is(e,t),Rs=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},nl=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},on=e=>{const t=parseFloat(e);return isNaN(t)?e:t},yi=e=>{const t=Se(e)?Number(e):NaN;return isNaN(t)?e:t};let fo;const ln=()=>fo||(fo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ae(e){if(ne(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],o=Se(n)?$i(n):Ae(n);if(o)for(const l in o)t[l]=o[l]}return t}else if(Se(e)||ye(e))return e}const ki=/;(?![^(]*\))/g,xi=/:([^]+)/,wi=/\/\*[^]*?\*\//g;function $i(e){const t={};return e.replace(wi,"").split(ki).forEach(s=>{if(s){const n=s.split(xi);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ie(e){let t="";if(Se(e))t=e;else if(ne(e))for(let s=0;s<e.length;s++){const n=ie(e[s]);n&&(t+=n+" ")}else if(ye(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Ci="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Si=Bn(Ci);function ol(e){return!!e||e===""}function Ti(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=Es(e[n],t[n]);return s}function Es(e,t){if(e===t)return!0;let s=uo(e),n=uo(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=ft(e),n=ft(t),s||n)return e===t;if(s=ne(e),n=ne(t),s||n)return s&&n?Ti(e,t):!1;if(s=ye(e),n=ye(t),s||n){if(!s||!n)return!1;const o=Object.keys(e).length,l=Object.keys(t).length;if(o!==l)return!1;for(const r in e){const a=e.hasOwnProperty(r),c=t.hasOwnProperty(r);if(a&&!c||!a&&c||!Es(e[r],t[r]))return!1}}return String(e)===String(t)}function Mi(e,t){return e.findIndex(s=>Es(s,t))}const ll=e=>!!(e&&e.__v_isRef===!0),v=e=>Se(e)?e:e==null?"":ne(e)||ye(e)&&(e.toString===el||!ce(e.toString))?ll(e)?v(e.value):JSON.stringify(e,il,2):String(e),il=(e,t)=>ll(t)?il(e,t.value):Zt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,o],l)=>(s[gn(n,l)+" =>"]=o,s),{})}:sn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>gn(s))}:ft(t)?gn(t):ye(t)&&!ne(t)&&!tl(t)?String(t):t,gn=(e,t="")=>{var s;return ft(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
|
|
6
|
-
* @vue/reactivity v3.5.30
|
|
7
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
-
* @license MIT
|
|
9
|
-
**/let Ke;class Ei{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ke,!t&&Ke&&(this.index=(Ke.scopes||(Ke.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=Ke;try{return Ke=this,t()}finally{Ke=s}}}on(){++this._on===1&&(this.prevScope=Ke,Ke=this)}off(){this._on>0&&--this._on===0&&(Ke=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Oi(){return Ke}let we;const bn=new WeakSet;class rl{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ke&&Ke.active&&Ke.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,bn.has(this)&&(bn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||cl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,po(this),ul(this);const t=we,s=tt;we=this,tt=!0;try{return this.fn()}finally{dl(this),we=t,tt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Gn(t);this.deps=this.depsTail=void 0,po(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?bn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Mn(this)&&this.run()}get dirty(){return Mn(this)}}let al=0,hs,ms;function cl(e,t=!1){if(e.flags|=8,t){e.next=ms,ms=e;return}e.next=hs,hs=e}function zn(){al++}function Jn(){if(--al>0)return;if(ms){let t=ms;for(ms=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;hs;){let t=hs;for(hs=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function ul(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function dl(e){let t,s=e.depsTail,n=s;for(;n;){const o=n.prevDep;n.version===-1?(n===s&&(s=o),Gn(n),Ai(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=o}e.deps=t,e.depsTail=s}function Mn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(fl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function fl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ys)||(e.globalVersion=ys,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Mn(e))))return;e.flags|=2;const t=e.dep,s=we,n=tt;we=e,tt=!0;try{ul(e);const o=e.fn(e._value);(t.version===0||ut(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{we=s,tt=n,dl(e),e.flags&=-3}}function Gn(e,t=!1){const{dep:s,prevSub:n,nextSub:o}=e;if(n&&(n.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let l=s.computed.deps;l;l=l.nextDep)Gn(l,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Ai(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let tt=!0;const pl=[];function bt(){pl.push(tt),tt=!1}function yt(){const e=pl.pop();tt=e===void 0?!0:e}function po(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=we;we=void 0;try{t()}finally{we=s}}}let ys=0;class Ii{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Xn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!we||!tt||we===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==we)s=this.activeLink=new Ii(we,this),we.deps?(s.prevDep=we.depsTail,we.depsTail.nextDep=s,we.depsTail=s):we.deps=we.depsTail=s,hl(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=we.depsTail,s.nextDep=void 0,we.depsTail.nextDep=s,we.depsTail=s,we.deps===s&&(we.deps=n)}return s}trigger(t){this.version++,ys++,this.notify(t)}notify(t){zn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Jn()}}}function hl(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)hl(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const En=new WeakMap,Vt=Symbol(""),On=Symbol(""),ks=Symbol("");function Ne(e,t,s){if(tt&&we){let n=En.get(e);n||En.set(e,n=new Map);let o=n.get(s);o||(n.set(s,o=new Xn),o.map=n,o.key=s),o.track()}}function vt(e,t,s,n,o,l){const r=En.get(e);if(!r){ys++;return}const a=c=>{c&&c.trigger()};if(zn(),t==="clear")r.forEach(a);else{const c=ne(e),m=c&&qn(s);if(c&&s==="length"){const d=Number(n);r.forEach((g,M)=>{(M==="length"||M===ks||!ft(M)&&M>=d)&&a(g)})}else switch((s!==void 0||r.has(void 0))&&a(r.get(s)),m&&a(r.get(ks)),t){case"add":c?m&&a(r.get("length")):(a(r.get(Vt)),Zt(e)&&a(r.get(On)));break;case"delete":c||(a(r.get(Vt)),Zt(e)&&a(r.get(On)));break;case"set":Zt(e)&&a(r.get(Vt));break}}Jn()}function qt(e){const t=ve(e);return t===e?t:(Ne(t,"iterate",ks),Qe(e)?t:t.map(st))}function rn(e){return Ne(e=ve(e),"iterate",ks),e}function at(e,t){return kt(e)?ns(Ut(e)?st(t):t):st(t)}const Li={__proto__:null,[Symbol.iterator](){return yn(this,Symbol.iterator,e=>at(this,e))},concat(...e){return qt(this).concat(...e.map(t=>ne(t)?qt(t):t))},entries(){return yn(this,"entries",e=>(e[1]=at(this,e[1]),e))},every(e,t){return pt(this,"every",e,t,void 0,arguments)},filter(e,t){return pt(this,"filter",e,t,s=>s.map(n=>at(this,n)),arguments)},find(e,t){return pt(this,"find",e,t,s=>at(this,s),arguments)},findIndex(e,t){return pt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return pt(this,"findLast",e,t,s=>at(this,s),arguments)},findLastIndex(e,t){return pt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return pt(this,"forEach",e,t,void 0,arguments)},includes(...e){return kn(this,"includes",e)},indexOf(...e){return kn(this,"indexOf",e)},join(e){return qt(this).join(e)},lastIndexOf(...e){return kn(this,"lastIndexOf",e)},map(e,t){return pt(this,"map",e,t,void 0,arguments)},pop(){return rs(this,"pop")},push(...e){return rs(this,"push",e)},reduce(e,...t){return ho(this,"reduce",e,t)},reduceRight(e,...t){return ho(this,"reduceRight",e,t)},shift(){return rs(this,"shift")},some(e,t){return pt(this,"some",e,t,void 0,arguments)},splice(...e){return rs(this,"splice",e)},toReversed(){return qt(this).toReversed()},toSorted(e){return qt(this).toSorted(e)},toSpliced(...e){return qt(this).toSpliced(...e)},unshift(...e){return rs(this,"unshift",e)},values(){return yn(this,"values",e=>at(this,e))}};function yn(e,t,s){const n=rn(e),o=n[t]();return n!==e&&!Qe(e)&&(o._next=o.next,o.next=()=>{const l=o._next();return l.done||(l.value=s(l.value)),l}),o}const Ni=Array.prototype;function pt(e,t,s,n,o,l){const r=rn(e),a=r!==e&&!Qe(e),c=r[t];if(c!==Ni[t]){const g=c.apply(e,l);return a?st(g):g}let m=s;r!==e&&(a?m=function(g,M){return s.call(this,at(e,g),M,e)}:s.length>2&&(m=function(g,M){return s.call(this,g,M,e)}));const d=c.call(r,m,n);return a&&o?o(d):d}function ho(e,t,s,n){const o=rn(e),l=o!==e&&!Qe(e);let r=s,a=!1;o!==e&&(l?(a=n.length===0,r=function(m,d,g){return a&&(a=!1,m=at(e,m)),s.call(this,m,at(e,d),g,e)}):s.length>3&&(r=function(m,d,g){return s.call(this,m,d,g,e)}));const c=o[t](r,...n);return a?at(e,c):c}function kn(e,t,s){const n=ve(e);Ne(n,"iterate",ks);const o=n[t](...s);return(o===-1||o===!1)&&eo(s[0])?(s[0]=ve(s[0]),n[t](...s)):o}function rs(e,t,s=[]){bt(),zn();const n=ve(e)[t].apply(e,s);return Jn(),yt(),n}const Pi=Bn("__proto__,__v_isRef,__isVue"),ml=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ft));function Ri(e){ft(e)||(e=String(e));const t=ve(this);return Ne(t,"has",e),t.hasOwnProperty(e)}class _l{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const o=this._isReadonly,l=this._isShallow;if(s==="__v_isReactive")return!o;if(s==="__v_isReadonly")return o;if(s==="__v_isShallow")return l;if(s==="__v_raw")return n===(o?l?qi:yl:l?bl:gl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const r=ne(t);if(!o){let c;if(r&&(c=Li[s]))return c;if(s==="hasOwnProperty")return Ri}const a=Reflect.get(t,s,Re(t)?t:n);if((ft(s)?ml.has(s):Pi(s))||(o||Ne(t,"get",s),l))return a;if(Re(a)){const c=r&&qn(s)?a:a.value;return o&&ye(c)?In(c):c}return ye(a)?o?In(a):Qn(a):a}}class vl extends _l{constructor(t=!1){super(!1,t)}set(t,s,n,o){let l=t[s];const r=ne(t)&&qn(s);if(!this._isShallow){const m=kt(l);if(!Qe(n)&&!kt(n)&&(l=ve(l),n=ve(n)),!r&&Re(l)&&!Re(n))return m||(l.value=n),!0}const a=r?Number(s)<t.length:be(t,s),c=Reflect.set(t,s,n,Re(t)?t:o);return t===ve(o)&&(a?ut(n,l)&&vt(t,"set",s,n):vt(t,"add",s,n)),c}deleteProperty(t,s){const n=be(t,s);t[s];const o=Reflect.deleteProperty(t,s);return o&&n&&vt(t,"delete",s,void 0),o}has(t,s){const n=Reflect.has(t,s);return(!ft(s)||!ml.has(s))&&Ne(t,"has",s),n}ownKeys(t){return Ne(t,"iterate",ne(t)?"length":Vt),Reflect.ownKeys(t)}}class Fi extends _l{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const ji=new vl,Di=new Fi,Hi=new vl(!0);const An=e=>e,Ls=e=>Reflect.getPrototypeOf(e);function Vi(e,t,s){return function(...n){const o=this.__v_raw,l=ve(o),r=Zt(l),a=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,m=o[e](...n),d=s?An:t?ns:st;return!t&&Ne(l,"iterate",c?On:Vt),Ee(Object.create(m),{next(){const{value:g,done:M}=m.next();return M?{value:g,done:M}:{value:a?[d(g[0]),d(g[1])]:d(g),done:M}}})}}function Ns(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ui(e,t){const s={get(o){const l=this.__v_raw,r=ve(l),a=ve(o);e||(ut(o,a)&&Ne(r,"get",o),Ne(r,"get",a));const{has:c}=Ls(r),m=t?An:e?ns:st;if(c.call(r,o))return m(l.get(o));if(c.call(r,a))return m(l.get(a));l!==r&&l.get(o)},get size(){const o=this.__v_raw;return!e&&Ne(ve(o),"iterate",Vt),o.size},has(o){const l=this.__v_raw,r=ve(l),a=ve(o);return e||(ut(o,a)&&Ne(r,"has",o),Ne(r,"has",a)),o===a?l.has(o):l.has(o)||l.has(a)},forEach(o,l){const r=this,a=r.__v_raw,c=ve(a),m=t?An:e?ns:st;return!e&&Ne(c,"iterate",Vt),a.forEach((d,g)=>o.call(l,m(d),m(g),r))}};return Ee(s,e?{add:Ns("add"),set:Ns("set"),delete:Ns("delete"),clear:Ns("clear")}:{add(o){const l=ve(this),r=Ls(l),a=ve(o),c=!t&&!Qe(o)&&!kt(o)?a:o;return r.has.call(l,c)||ut(o,c)&&r.has.call(l,o)||ut(a,c)&&r.has.call(l,a)||(l.add(c),vt(l,"add",c,c)),this},set(o,l){!t&&!Qe(l)&&!kt(l)&&(l=ve(l));const r=ve(this),{has:a,get:c}=Ls(r);let m=a.call(r,o);m||(o=ve(o),m=a.call(r,o));const d=c.call(r,o);return r.set(o,l),m?ut(l,d)&&vt(r,"set",o,l):vt(r,"add",o,l),this},delete(o){const l=ve(this),{has:r,get:a}=Ls(l);let c=r.call(l,o);c||(o=ve(o),c=r.call(l,o)),a&&a.call(l,o);const m=l.delete(o);return c&&vt(l,"delete",o,void 0),m},clear(){const o=ve(this),l=o.size!==0,r=o.clear();return l&&vt(o,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(o=>{s[o]=Vi(o,e,t)}),s}function Yn(e,t){const s=Ui(e,t);return(n,o,l)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(be(s,o)&&o in n?s:n,o,l)}const Bi={get:Yn(!1,!1)},Wi={get:Yn(!1,!0)},Ki={get:Yn(!0,!1)};const gl=new WeakMap,bl=new WeakMap,yl=new WeakMap,qi=new WeakMap;function zi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ji(e){return e.__v_skip||!Object.isExtensible(e)?0:zi(vi(e))}function Qn(e){return kt(e)?e:Zn(e,!1,ji,Bi,gl)}function Gi(e){return Zn(e,!1,Hi,Wi,bl)}function In(e){return Zn(e,!0,Di,Ki,yl)}function Zn(e,t,s,n,o){if(!ye(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=Ji(e);if(l===0)return e;const r=o.get(e);if(r)return r;const a=new Proxy(e,l===2?n:s);return o.set(e,a),a}function Ut(e){return kt(e)?Ut(e.__v_raw):!!(e&&e.__v_isReactive)}function kt(e){return!!(e&&e.__v_isReadonly)}function Qe(e){return!!(e&&e.__v_isShallow)}function eo(e){return e?!!e.__v_raw:!1}function ve(e){const t=e&&e.__v_raw;return t?ve(t):e}function Xi(e){return!be(e,"__v_skip")&&Object.isExtensible(e)&&nl(e,"__v_skip",!0),e}const st=e=>ye(e)?Qn(e):e,ns=e=>ye(e)?In(e):e;function Re(e){return e?e.__v_isRef===!0:!1}function de(e){return kl(e,!1)}function Yi(e){return kl(e,!0)}function kl(e,t){return Re(e)?e:new Qi(e,t)}class Qi{constructor(t,s){this.dep=new Xn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:ve(t),this._value=s?t:st(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||Qe(t)||kt(t);t=n?t:ve(t),ut(t,s)&&(this._rawValue=t,this._value=n?t:st(t),this.dep.trigger())}}function Zi(e){e.dep&&e.dep.trigger()}function Me(e){return Re(e)?e.value:e}const er={get:(e,t,s)=>t==="__v_raw"?e:Me(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const o=e[t];return Re(o)&&!Re(s)?(o.value=s,!0):Reflect.set(e,t,s,n)}};function xl(e){return Ut(e)?e:new Proxy(e,er)}class tr{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Xn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ys-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&we!==this)return cl(this,!0),!0}get value(){const t=this.dep.track();return fl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function sr(e,t,s=!1){let n,o;return ce(e)?n=e:(n=e.get,o=e.set),new tr(n,o,s)}const Ps={},Bs=new WeakMap;let Pt;function nr(e,t=!1,s=Pt){if(s){let n=Bs.get(s);n||Bs.set(s,n=[]),n.push(e)}}function or(e,t,s=xe){const{immediate:n,deep:o,once:l,scheduler:r,augmentJob:a,call:c}=s,m=N=>o?N:Qe(N)||o===!1||o===0?gt(N,1):gt(N);let d,g,M,R,X=!1,S=!1;if(Re(e)?(g=()=>e.value,X=Qe(e)):Ut(e)?(g=()=>m(e),X=!0):ne(e)?(S=!0,X=e.some(N=>Ut(N)||Qe(N)),g=()=>e.map(N=>{if(Re(N))return N.value;if(Ut(N))return m(N);if(ce(N))return c?c(N,2):N()})):ce(e)?t?g=c?()=>c(e,2):e:g=()=>{if(M){bt();try{M()}finally{yt()}}const N=Pt;Pt=d;try{return c?c(e,3,[R]):e(R)}finally{Pt=N}}:g=dt,t&&o){const N=g,ae=o===!0?1/0:o;g=()=>gt(N(),ae)}const k=Oi(),F=()=>{d.stop(),k&&k.active&&Kn(k.effects,d)};if(l&&t){const N=t;t=(...ae)=>{N(...ae),F()}}let B=S?new Array(e.length).fill(Ps):Ps;const Z=N=>{if(!(!(d.flags&1)||!d.dirty&&!N))if(t){const ae=d.run();if(o||X||(S?ae.some((V,W)=>ut(V,B[W])):ut(ae,B))){M&&M();const V=Pt;Pt=d;try{const W=[ae,B===Ps?void 0:S&&B[0]===Ps?[]:B,R];B=ae,c?c(t,3,W):t(...W)}finally{Pt=V}}}else d.run()};return a&&a(Z),d=new rl(g),d.scheduler=r?()=>r(Z,!1):Z,R=N=>nr(N,!1,d),M=d.onStop=()=>{const N=Bs.get(d);if(N){if(c)c(N,4);else for(const ae of N)ae();Bs.delete(d)}},t?n?Z(!0):B=d.run():r?r(Z.bind(null,!0),!0):d.run(),F.pause=d.pause.bind(d),F.resume=d.resume.bind(d),F.stop=F,F}function gt(e,t=1/0,s){if(t<=0||!ye(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,Re(e))gt(e.value,t,s);else if(ne(e))for(let n=0;n<e.length;n++)gt(e[n],t,s);else if(sn(e)||Zt(e))e.forEach(n=>{gt(n,t,s)});else if(tl(e)){for(const n in e)gt(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&>(e[n],t,s)}return e}/**
|
|
10
|
-
* @vue/runtime-core v3.5.30
|
|
11
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
-
* @license MIT
|
|
13
|
-
**/function Os(e,t,s,n){try{return n?e(...n):e()}catch(o){an(o,t,s)}}function nt(e,t,s,n){if(ce(e)){const o=Os(e,t,s,n);return o&&Zo(o)&&o.catch(l=>{an(l,t,s)}),o}if(ne(e)){const o=[];for(let l=0;l<e.length;l++)o.push(nt(e[l],t,s,n));return o}}function an(e,t,s,n=!0){const o=t?t.vnode:null,{errorHandler:l,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||xe;if(t){let a=t.parent;const c=t.proxy,m=`https://vuejs.org/error-reference/#runtime-${s}`;for(;a;){const d=a.ec;if(d){for(let g=0;g<d.length;g++)if(d[g](e,c,m)===!1)return}a=a.parent}if(l){bt(),Os(l,null,10,[e,c,m]),yt();return}}lr(e,s,o,n,r)}function lr(e,t,s,n=!0,o=!1){if(o)throw e;console.error(e)}const De=[];let it=-1;const es=[];let Tt=null,Yt=0;const wl=Promise.resolve();let Ws=null;function $l(e){const t=Ws||wl;return e?t.then(this?e.bind(this):e):t}function ir(e){let t=it+1,s=De.length;for(;t<s;){const n=t+s>>>1,o=De[n],l=xs(o);l<e||l===e&&o.flags&2?t=n+1:s=n}return t}function to(e){if(!(e.flags&1)){const t=xs(e),s=De[De.length-1];!s||!(e.flags&2)&&t>=xs(s)?De.push(e):De.splice(ir(t),0,e),e.flags|=1,Cl()}}function Cl(){Ws||(Ws=wl.then(Tl))}function rr(e){ne(e)?es.push(...e):Tt&&e.id===-1?Tt.splice(Yt+1,0,e):e.flags&1||(es.push(e),e.flags|=1),Cl()}function mo(e,t,s=it+1){for(;s<De.length;s++){const n=De[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;De.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Sl(e){if(es.length){const t=[...new Set(es)].sort((s,n)=>xs(s)-xs(n));if(es.length=0,Tt){Tt.push(...t);return}for(Tt=t,Yt=0;Yt<Tt.length;Yt++){const s=Tt[Yt];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Tt=null,Yt=0}}const xs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Tl(e){try{for(it=0;it<De.length;it++){const t=De[it];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Os(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;it<De.length;it++){const t=De[it];t&&(t.flags&=-2)}it=-1,De.length=0,Sl(),Ws=null,(De.length||es.length)&&Tl()}}let Ye=null,Ml=null;function Ks(e){const t=Ye;return Ye=e,Ml=e&&e.type.__scopeId||null,t}function ws(e,t=Ye,s){if(!t||e._n)return e;const n=(...o)=>{n._d&&Js(-1);const l=Ks(t);let r;try{r=e(...o)}finally{Ks(l),n._d&&Js(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Bt(e,t){if(Ye===null)return e;const s=pn(Ye),n=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[l,r,a,c=xe]=t[o];l&&(ce(l)&&(l={mounted:l,updated:l}),l.deep&>(r),n.push({dir:l,instance:s,value:r,oldValue:void 0,arg:a,modifiers:c}))}return e}function At(e,t,s,n){const o=e.dirs,l=t&&t.dirs;for(let r=0;r<o.length;r++){const a=o[r];l&&(a.oldValue=l[r].value);let c=a.dir[n];c&&(bt(),nt(c,s,8,[e.el,a,e,t]),yt())}}function ar(e,t){if(Ve){let s=Ve.provides;const n=Ve.parent&&Ve.parent.provides;n===s&&(s=Ve.provides=Object.create(n)),s[e]=t}}function Fs(e,t,s=!1){const n=ii();if(n||ts){let o=ts?ts._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return s&&ce(t)?t.call(n&&n.proxy):t}}const cr=Symbol.for("v-scx"),ur=()=>Fs(cr);function Mt(e,t,s){return El(e,t,s)}function El(e,t,s=xe){const{immediate:n,deep:o,flush:l,once:r}=s,a=Ee({},s),c=t&&n||!t&&l!=="post";let m;if(Ss){if(l==="sync"){const R=ur();m=R.__watcherHandles||(R.__watcherHandles=[])}else if(!c){const R=()=>{};return R.stop=dt,R.resume=dt,R.pause=dt,R}}const d=Ve;a.call=(R,X,S)=>nt(R,d,X,S);let g=!1;l==="post"?a.scheduler=R=>{We(R,d&&d.suspense)}:l!=="sync"&&(g=!0,a.scheduler=(R,X)=>{X?R():to(R)}),a.augmentJob=R=>{t&&(R.flags|=4),g&&(R.flags|=2,d&&(R.id=d.uid,R.i=d))};const M=or(e,t,a);return Ss&&(m?m.push(M):c&&M()),M}function dr(e,t,s){const n=this.proxy,o=Se(e)?e.includes(".")?Ol(n,e):()=>n[e]:e.bind(n,n);let l;ce(t)?l=t:(l=t.handler,s=t);const r=As(this),a=El(o,l.bind(n),s);return r(),a}function Ol(e,t){const s=t.split(".");return()=>{let n=e;for(let o=0;o<s.length&&n;o++)n=n[s[o]];return n}}const fr=Symbol("_vte"),Al=e=>e.__isTeleport,rt=Symbol("_leaveCb"),as=Symbol("_enterCb");function pr(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Dl(()=>{e.isMounted=!0}),so(()=>{e.isUnmounting=!0}),e}const Xe=[Function,Array],Il={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Xe,onEnter:Xe,onAfterEnter:Xe,onEnterCancelled:Xe,onBeforeLeave:Xe,onLeave:Xe,onAfterLeave:Xe,onLeaveCancelled:Xe,onBeforeAppear:Xe,onAppear:Xe,onAfterAppear:Xe,onAppearCancelled:Xe},Ll=e=>{const t=e.subTree;return t.component?Ll(t.component):t},hr={name:"BaseTransition",props:Il,setup(e,{slots:t}){const s=ii(),n=pr();return()=>{const o=t.default&&Rl(t.default(),!0);if(!o||!o.length)return;const l=Nl(o),r=ve(e),{mode:a}=r;if(n.isLeaving)return xn(l);const c=_o(l);if(!c)return xn(l);let m=Ln(c,r,n,s,g=>m=g);c.type!==He&&$s(c,m);let d=s.subTree&&_o(s.subTree);if(d&&d.type!==He&&!jt(d,c)&&Ll(s).type!==He){let g=Ln(d,r,n,s);if($s(d,g),a==="out-in"&&c.type!==He)return n.isLeaving=!0,g.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete g.afterLeave,d=void 0},xn(l);a==="in-out"&&c.type!==He?g.delayLeave=(M,R,X)=>{const S=Pl(n,d);S[String(d.key)]=d,M[rt]=()=>{R(),M[rt]=void 0,delete m.delayedLeave,d=void 0},m.delayedLeave=()=>{X(),delete m.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return l}}};function Nl(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==He){t=s;break}}return t}const mr=hr;function Pl(e,t){const{leavingVNodes:s}=e;let n=s.get(t.type);return n||(n=Object.create(null),s.set(t.type,n)),n}function Ln(e,t,s,n,o){const{appear:l,mode:r,persisted:a=!1,onBeforeEnter:c,onEnter:m,onAfterEnter:d,onEnterCancelled:g,onBeforeLeave:M,onLeave:R,onAfterLeave:X,onLeaveCancelled:S,onBeforeAppear:k,onAppear:F,onAfterAppear:B,onAppearCancelled:Z}=t,N=String(e.key),ae=Pl(s,e),V=(G,ue)=>{G&&nt(G,n,9,ue)},W=(G,ue)=>{const me=ue[1];V(G,ue),ne(G)?G.every(H=>H.length<=1)&&me():G.length<=1&&me()},q={mode:r,persisted:a,beforeEnter(G){let ue=c;if(!s.isMounted)if(l)ue=k||c;else return;G[rt]&&G[rt](!0);const me=ae[N];me&&jt(e,me)&&me.el[rt]&&me.el[rt](),V(ue,[G])},enter(G){if(ae[N]===e)return;let ue=m,me=d,H=g;if(!s.isMounted)if(l)ue=F||m,me=B||d,H=Z||g;else return;let T=!1;G[as]=$=>{T||(T=!0,$?V(H,[G]):V(me,[G]),q.delayedLeave&&q.delayedLeave(),G[as]=void 0)};const P=G[as].bind(null,!1);ue?W(ue,[G,P]):P()},leave(G,ue){const me=String(e.key);if(G[as]&&G[as](!0),s.isUnmounting)return ue();V(M,[G]);let H=!1;G[rt]=P=>{H||(H=!0,ue(),P?V(S,[G]):V(X,[G]),G[rt]=void 0,ae[me]===e&&delete ae[me])};const T=G[rt].bind(null,!1);ae[me]=e,R?W(R,[G,T]):T()},clone(G){const ue=Ln(G,t,s,n,o);return o&&o(ue),ue}};return q}function xn(e){if(cn(e))return e=Et(e),e.children=null,e}function _o(e){if(!cn(e))return Al(e.type)&&e.children?Nl(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&ce(s.default))return s.default()}}function $s(e,t){e.shapeFlag&6&&e.component?(e.transition=t,$s(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Rl(e,t=!1,s){let n=[],o=0;for(let l=0;l<e.length;l++){let r=e[l];const a=s==null?r.key:String(s)+String(r.key!=null?r.key:l);r.type===_e?(r.patchFlag&128&&o++,n=n.concat(Rl(r.children,t,a))):(t||r.type!==He)&&n.push(a!=null?Et(r,{key:a}):r)}if(o>1)for(let l=0;l<n.length;l++)n[l].patchFlag=-2;return n}function Wt(e,t){return ce(e)?Ee({name:e.name},t,{setup:e}):e}function Fl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function vo(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const qs=new WeakMap;function _s(e,t,s,n,o=!1){if(ne(e)){e.forEach((S,k)=>_s(S,t&&(ne(t)?t[k]:t),s,n,o));return}if(vs(n)&&!o){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&_s(e,t,s,n.component.subTree);return}const l=n.shapeFlag&4?pn(n.component):n.el,r=o?null:l,{i:a,r:c}=e,m=t&&t.r,d=a.refs===xe?a.refs={}:a.refs,g=a.setupState,M=ve(g),R=g===xe?Qo:S=>vo(d,S)?!1:be(M,S),X=(S,k)=>!(k&&vo(d,k));if(m!=null&&m!==c){if(go(t),Se(m))d[m]=null,R(m)&&(g[m]=null);else if(Re(m)){const S=t;X(m,S.k)&&(m.value=null),S.k&&(d[S.k]=null)}}if(ce(c))Os(c,a,12,[r,d]);else{const S=Se(c),k=Re(c);if(S||k){const F=()=>{if(e.f){const B=S?R(c)?g[c]:d[c]:X()||!e.k?c.value:d[e.k];if(o)ne(B)&&Kn(B,l);else if(ne(B))B.includes(l)||B.push(l);else if(S)d[c]=[l],R(c)&&(g[c]=d[c]);else{const Z=[l];X(c,e.k)&&(c.value=Z),e.k&&(d[e.k]=Z)}}else S?(d[c]=r,R(c)&&(g[c]=r)):k&&(X(c,e.k)&&(c.value=r),e.k&&(d[e.k]=r))};if(r){const B=()=>{F(),qs.delete(e)};B.id=-1,qs.set(e,B),We(B,s)}else go(e),F()}}}function go(e){const t=qs.get(e);t&&(t.flags|=8,qs.delete(e))}ln().requestIdleCallback;ln().cancelIdleCallback;const vs=e=>!!e.type.__asyncLoader,cn=e=>e.type.__isKeepAlive;function _r(e,t){jl(e,"a",t)}function vr(e,t){jl(e,"da",t)}function jl(e,t,s=Ve){const n=e.__wdc||(e.__wdc=()=>{let o=s;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(un(t,n,s),s){let o=s.parent;for(;o&&o.parent;)cn(o.parent.vnode)&&gr(n,t,s,o),o=o.parent}}function gr(e,t,s,n){const o=un(t,e,n,!0);Hl(()=>{Kn(n[t],o)},s)}function un(e,t,s=Ve,n=!1){if(s){const o=s[e]||(s[e]=[]),l=t.__weh||(t.__weh=(...r)=>{bt();const a=As(s),c=nt(t,s,e,r);return a(),yt(),c});return n?o.unshift(l):o.push(l),l}}const xt=e=>(t,s=Ve)=>{(!Ss||e==="sp")&&un(e,(...n)=>t(...n),s)},br=xt("bm"),Dl=xt("m"),yr=xt("bu"),kr=xt("u"),so=xt("bum"),Hl=xt("um"),xr=xt("sp"),wr=xt("rtg"),$r=xt("rtc");function Cr(e,t=Ve){un("ec",e,t)}const Sr=Symbol.for("v-ndc");function Ce(e,t,s,n){let o;const l=s,r=ne(e);if(r||Se(e)){const a=r&&Ut(e);let c=!1,m=!1;a&&(c=!Qe(e),m=kt(e),e=rn(e)),o=new Array(e.length);for(let d=0,g=e.length;d<g;d++)o[d]=t(c?m?ns(st(e[d])):st(e[d]):e[d],d,void 0,l)}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,l)}else if(ye(e))if(e[Symbol.iterator])o=Array.from(e,(a,c)=>t(a,c,void 0,l));else{const a=Object.keys(e);o=new Array(a.length);for(let c=0,m=a.length;c<m;c++){const d=a[c];o[c]=t(e[d],d,c,l)}}else o=[];return o}const Nn=e=>e?ri(e)?pn(e):Nn(e.parent):null,gs=Ee(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Nn(e.parent),$root:e=>Nn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ul(e),$forceUpdate:e=>e.f||(e.f=()=>{to(e.update)}),$nextTick:e=>e.n||(e.n=$l.bind(e.proxy)),$watch:e=>dr.bind(e)}),wn=(e,t)=>e!==xe&&!e.__isScriptSetup&&be(e,t),Tr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:o,props:l,accessCache:r,type:a,appContext:c}=e;if(t[0]!=="$"){const M=r[t];if(M!==void 0)switch(M){case 1:return n[t];case 2:return o[t];case 4:return s[t];case 3:return l[t]}else{if(wn(n,t))return r[t]=1,n[t];if(o!==xe&&be(o,t))return r[t]=2,o[t];if(be(l,t))return r[t]=3,l[t];if(s!==xe&&be(s,t))return r[t]=4,s[t];Pn&&(r[t]=0)}}const m=gs[t];let d,g;if(m)return t==="$attrs"&&Ne(e.attrs,"get",""),m(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(s!==xe&&be(s,t))return r[t]=4,s[t];if(g=c.config.globalProperties,be(g,t))return g[t]},set({_:e},t,s){const{data:n,setupState:o,ctx:l}=e;return wn(o,t)?(o[t]=s,!0):n!==xe&&be(n,t)?(n[t]=s,!0):be(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:o,props:l,type:r}},a){let c;return!!(s[a]||e!==xe&&a[0]!=="$"&&be(e,a)||wn(t,a)||be(l,a)||be(n,a)||be(gs,a)||be(o.config.globalProperties,a)||(c=r.__cssModules)&&c[a])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:be(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function bo(e){return ne(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Pn=!0;function Mr(e){const t=Ul(e),s=e.proxy,n=e.ctx;Pn=!1,t.beforeCreate&&yo(t.beforeCreate,e,"bc");const{data:o,computed:l,methods:r,watch:a,provide:c,inject:m,created:d,beforeMount:g,mounted:M,beforeUpdate:R,updated:X,activated:S,deactivated:k,beforeDestroy:F,beforeUnmount:B,destroyed:Z,unmounted:N,render:ae,renderTracked:V,renderTriggered:W,errorCaptured:q,serverPrefetch:G,expose:ue,inheritAttrs:me,components:H,directives:T,filters:P}=t;if(m&&Er(m,n,null),r)for(const b in r){const x=r[b];ce(x)&&(n[b]=x.bind(s))}if(o){const b=o.call(s,s);ye(b)&&(e.data=Qn(b))}if(Pn=!0,l)for(const b in l){const x=l[b],j=ce(x)?x.bind(s,s):ce(x.get)?x.get.bind(s,s):dt,z=!ce(x)&&ce(x.set)?x.set.bind(s):dt,le=fe({get:j,set:z});Object.defineProperty(n,b,{enumerable:!0,configurable:!0,get:()=>le.value,set:pe=>le.value=pe})}if(a)for(const b in a)Vl(a[b],n,s,b);if(c){const b=ce(c)?c.call(s):c;Reflect.ownKeys(b).forEach(x=>{ar(x,b[x])})}d&&yo(d,e,"c");function y(b,x){ne(x)?x.forEach(j=>b(j.bind(s))):x&&b(x.bind(s))}if(y(br,g),y(Dl,M),y(yr,R),y(kr,X),y(_r,S),y(vr,k),y(Cr,q),y($r,V),y(wr,W),y(so,B),y(Hl,N),y(xr,G),ne(ue))if(ue.length){const b=e.exposed||(e.exposed={});ue.forEach(x=>{Object.defineProperty(b,x,{get:()=>s[x],set:j=>s[x]=j,enumerable:!0})})}else e.exposed||(e.exposed={});ae&&e.render===dt&&(e.render=ae),me!=null&&(e.inheritAttrs=me),H&&(e.components=H),T&&(e.directives=T),G&&Fl(e)}function Er(e,t,s=dt){ne(e)&&(e=Rn(e));for(const n in e){const o=e[n];let l;ye(o)?"default"in o?l=Fs(o.from||n,o.default,!0):l=Fs(o.from||n):l=Fs(o),Re(l)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>l.value,set:r=>l.value=r}):t[n]=l}}function yo(e,t,s){nt(ne(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Vl(e,t,s,n){let o=n.includes(".")?Ol(s,n):()=>s[n];if(Se(e)){const l=t[e];ce(l)&&Mt(o,l)}else if(ce(e))Mt(o,e.bind(s));else if(ye(e))if(ne(e))e.forEach(l=>Vl(l,t,s,n));else{const l=ce(e.handler)?e.handler.bind(s):t[e.handler];ce(l)&&Mt(o,l,e)}}function Ul(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:o,optionsCache:l,config:{optionMergeStrategies:r}}=e.appContext,a=l.get(t);let c;return a?c=a:!o.length&&!s&&!n?c=t:(c={},o.length&&o.forEach(m=>zs(c,m,r,!0)),zs(c,t,r)),ye(t)&&l.set(t,c),c}function zs(e,t,s,n=!1){const{mixins:o,extends:l}=t;l&&zs(e,l,s,!0),o&&o.forEach(r=>zs(e,r,s,!0));for(const r in t)if(!(n&&r==="expose")){const a=Or[r]||s&&s[r];e[r]=a?a(e[r],t[r]):t[r]}return e}const Or={data:ko,props:xo,emits:xo,methods:fs,computed:fs,beforeCreate:je,created:je,beforeMount:je,mounted:je,beforeUpdate:je,updated:je,beforeDestroy:je,beforeUnmount:je,destroyed:je,unmounted:je,activated:je,deactivated:je,errorCaptured:je,serverPrefetch:je,components:fs,directives:fs,watch:Ir,provide:ko,inject:Ar};function ko(e,t){return t?e?function(){return Ee(ce(e)?e.call(this,this):e,ce(t)?t.call(this,this):t)}:t:e}function Ar(e,t){return fs(Rn(e),Rn(t))}function Rn(e){if(ne(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function je(e,t){return e?[...new Set([].concat(e,t))]:t}function fs(e,t){return e?Ee(Object.create(null),e,t):t}function xo(e,t){return e?ne(e)&&ne(t)?[...new Set([...e,...t])]:Ee(Object.create(null),bo(e),bo(t??{})):t}function Ir(e,t){if(!e)return t;if(!t)return e;const s=Ee(Object.create(null),e);for(const n in t)s[n]=je(e[n],t[n]);return s}function Bl(){return{app:null,config:{isNativeTag:Qo,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Lr=0;function Nr(e,t){return function(n,o=null){ce(n)||(n=Ee({},n)),o!=null&&!ye(o)&&(o=null);const l=Bl(),r=new WeakSet,a=[];let c=!1;const m=l.app={_uid:Lr++,_component:n,_props:o,_container:null,_context:l,_instance:null,version:fa,get config(){return l.config},set config(d){},use(d,...g){return r.has(d)||(d&&ce(d.install)?(r.add(d),d.install(m,...g)):ce(d)&&(r.add(d),d(m,...g))),m},mixin(d){return l.mixins.includes(d)||l.mixins.push(d),m},component(d,g){return g?(l.components[d]=g,m):l.components[d]},directive(d,g){return g?(l.directives[d]=g,m):l.directives[d]},mount(d,g,M){if(!c){const R=m._ceVNode||Ie(n,o);return R.appContext=l,M===!0?M="svg":M===!1&&(M=void 0),e(R,d,M),c=!0,m._container=d,d.__vue_app__=m,pn(R.component)}},onUnmount(d){a.push(d)},unmount(){c&&(nt(a,m._instance,16),e(null,m._container),delete m._container.__vue_app__)},provide(d,g){return l.provides[d]=g,m},runWithContext(d){const g=ts;ts=m;try{return d()}finally{ts=g}}};return m}}let ts=null;const Pr=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${et(t)}Modifiers`]||e[`${Kt(t)}Modifiers`];function Rr(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||xe;let o=s;const l=t.startsWith("update:"),r=l&&Pr(n,t.slice(7));r&&(r.trim&&(o=s.map(d=>Se(d)?d.trim():d)),r.number&&(o=s.map(on)));let a,c=n[a=vn(t)]||n[a=vn(et(t))];!c&&l&&(c=n[a=vn(Kt(t))]),c&&nt(c,e,6,o);const m=n[a+"Once"];if(m){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,nt(m,e,6,o)}}const Fr=new WeakMap;function Wl(e,t,s=!1){const n=s?Fr:t.emitsCache,o=n.get(e);if(o!==void 0)return o;const l=e.emits;let r={},a=!1;if(!ce(e)){const c=m=>{const d=Wl(m,t,!0);d&&(a=!0,Ee(r,d))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!l&&!a?(ye(e)&&n.set(e,null),null):(ne(l)?l.forEach(c=>r[c]=null):Ee(r,l),ye(e)&&n.set(e,r),r)}function dn(e,t){return!e||!tn(t)?!1:(t=t.slice(2).replace(/Once$/,""),be(e,t[0].toLowerCase()+t.slice(1))||be(e,Kt(t))||be(e,t))}function wo(e){const{type:t,vnode:s,proxy:n,withProxy:o,propsOptions:[l],slots:r,attrs:a,emit:c,render:m,renderCache:d,props:g,data:M,setupState:R,ctx:X,inheritAttrs:S}=e,k=Ks(e);let F,B;try{if(s.shapeFlag&4){const N=o||n,ae=N;F=ct(m.call(ae,N,d,g,R,M,X)),B=a}else{const N=t;F=ct(N.length>1?N(g,{attrs:a,slots:r,emit:c}):N(g,null)),B=t.props?a:jr(a)}}catch(N){bs.length=0,an(N,e,1),F=Ie(He)}let Z=F;if(B&&S!==!1){const N=Object.keys(B),{shapeFlag:ae}=Z;N.length&&ae&7&&(l&&N.some(Wn)&&(B=Dr(B,l)),Z=Et(Z,B,!1,!0))}return s.dirs&&(Z=Et(Z,null,!1,!0),Z.dirs=Z.dirs?Z.dirs.concat(s.dirs):s.dirs),s.transition&&$s(Z,s.transition),F=Z,Ks(k),F}const jr=e=>{let t;for(const s in e)(s==="class"||s==="style"||tn(s))&&((t||(t={}))[s]=e[s]);return t},Dr=(e,t)=>{const s={};for(const n in e)(!Wn(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Hr(e,t,s){const{props:n,children:o,component:l}=e,{props:r,children:a,patchFlag:c}=t,m=l.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?$o(n,r,m):!!r;if(c&8){const d=t.dynamicProps;for(let g=0;g<d.length;g++){const M=d[g];if(Kl(r,n,M)&&!dn(m,M))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:n===r?!1:n?r?$o(n,r,m):!0:!!r;return!1}function $o(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let o=0;o<n.length;o++){const l=n[o];if(Kl(t,e,l)&&!dn(s,l))return!0}return!1}function Kl(e,t,s){const n=e[s],o=t[s];return s==="style"&&ye(n)&&ye(o)?!Es(n,o):n!==o}function Vr({vnode:e,parent:t},s){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=s,t=t.parent;else break}}const ql={},zl=()=>Object.create(ql),Jl=e=>Object.getPrototypeOf(e)===ql;function Ur(e,t,s,n=!1){const o={},l=zl();e.propsDefaults=Object.create(null),Gl(e,t,o,l);for(const r in e.propsOptions[0])r in o||(o[r]=void 0);s?e.props=n?o:Gi(o):e.type.props?e.props=o:e.props=l,e.attrs=l}function Br(e,t,s,n){const{props:o,attrs:l,vnode:{patchFlag:r}}=e,a=ve(o),[c]=e.propsOptions;let m=!1;if((n||r>0)&&!(r&16)){if(r&8){const d=e.vnode.dynamicProps;for(let g=0;g<d.length;g++){let M=d[g];if(dn(e.emitsOptions,M))continue;const R=t[M];if(c)if(be(l,M))R!==l[M]&&(l[M]=R,m=!0);else{const X=et(M);o[X]=Fn(c,a,X,R,e,!1)}else R!==l[M]&&(l[M]=R,m=!0)}}}else{Gl(e,t,o,l)&&(m=!0);let d;for(const g in a)(!t||!be(t,g)&&((d=Kt(g))===g||!be(t,d)))&&(c?s&&(s[g]!==void 0||s[d]!==void 0)&&(o[g]=Fn(c,a,g,void 0,e,!0)):delete o[g]);if(l!==a)for(const g in l)(!t||!be(t,g))&&(delete l[g],m=!0)}m&&vt(e.attrs,"set","")}function Gl(e,t,s,n){const[o,l]=e.propsOptions;let r=!1,a;if(t)for(let c in t){if(ps(c))continue;const m=t[c];let d;o&&be(o,d=et(c))?!l||!l.includes(d)?s[d]=m:(a||(a={}))[d]=m:dn(e.emitsOptions,c)||(!(c in n)||m!==n[c])&&(n[c]=m,r=!0)}if(l){const c=ve(s),m=a||xe;for(let d=0;d<l.length;d++){const g=l[d];s[g]=Fn(o,c,g,m[g],e,!be(m,g))}}return r}function Fn(e,t,s,n,o,l){const r=e[s];if(r!=null){const a=be(r,"default");if(a&&n===void 0){const c=r.default;if(r.type!==Function&&!r.skipFactory&&ce(c)){const{propsDefaults:m}=o;if(s in m)n=m[s];else{const d=As(o);n=m[s]=c.call(null,t),d()}}else n=c;o.ce&&o.ce._setProp(s,n)}r[0]&&(l&&!a?n=!1:r[1]&&(n===""||n===Kt(s))&&(n=!0))}return n}const Wr=new WeakMap;function Xl(e,t,s=!1){const n=s?Wr:t.propsCache,o=n.get(e);if(o)return o;const l=e.props,r={},a=[];let c=!1;if(!ce(e)){const d=g=>{c=!0;const[M,R]=Xl(g,t,!0);Ee(r,M),R&&a.push(...R)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!l&&!c)return ye(e)&&n.set(e,Qt),Qt;if(ne(l))for(let d=0;d<l.length;d++){const g=et(l[d]);Co(g)&&(r[g]=xe)}else if(l)for(const d in l){const g=et(d);if(Co(g)){const M=l[d],R=r[g]=ne(M)||ce(M)?{type:M}:Ee({},M),X=R.type;let S=!1,k=!0;if(ne(X))for(let F=0;F<X.length;++F){const B=X[F],Z=ce(B)&&B.name;if(Z==="Boolean"){S=!0;break}else Z==="String"&&(k=!1)}else S=ce(X)&&X.name==="Boolean";R[0]=S,R[1]=k,(S||be(R,"default"))&&a.push(g)}}const m=[r,a];return ye(e)&&n.set(e,m),m}function Co(e){return e[0]!=="$"&&!ps(e)}const no=e=>e==="_"||e==="_ctx"||e==="$stable",oo=e=>ne(e)?e.map(ct):[ct(e)],Kr=(e,t,s)=>{if(t._n)return t;const n=ws((...o)=>oo(t(...o)),s);return n._c=!1,n},Yl=(e,t,s)=>{const n=e._ctx;for(const o in e){if(no(o))continue;const l=e[o];if(ce(l))t[o]=Kr(o,l,n);else if(l!=null){const r=oo(l);t[o]=()=>r}}},Ql=(e,t)=>{const s=oo(t);e.slots.default=()=>s},Zl=(e,t,s)=>{for(const n in t)(s||!no(n))&&(e[n]=t[n])},qr=(e,t,s)=>{const n=e.slots=zl();if(e.vnode.shapeFlag&32){const o=t._;o?(Zl(n,t,s),s&&nl(n,"_",o,!0)):Yl(t,n)}else t&&Ql(e,t)},zr=(e,t,s)=>{const{vnode:n,slots:o}=e;let l=!0,r=xe;if(n.shapeFlag&32){const a=t._;a?s&&a===1?l=!1:Zl(o,t,s):(l=!t.$stable,Yl(t,o)),r=t}else t&&(Ql(e,t),r={default:1});if(l)for(const a in o)!no(a)&&r[a]==null&&delete o[a]},We=Qr;function Jr(e){return Gr(e)}function Gr(e,t){const s=ln();s.__VUE__=!0;const{insert:n,remove:o,patchProp:l,createElement:r,createText:a,createComment:c,setText:m,setElementText:d,parentNode:g,nextSibling:M,setScopeId:R=dt,insertStaticContent:X}=e,S=(u,f,_,L=null,O=null,A=null,K=void 0,U=null,D=!!f.dynamicChildren)=>{if(u===f)return;u&&!jt(u,f)&&(L=Te(u),pe(u,O,A,!0),u=null),f.patchFlag===-2&&(D=!1,f.dynamicChildren=null);const{type:I,ref:te,shapeFlag:J}=f;switch(I){case fn:k(u,f,_,L);break;case He:F(u,f,_,L);break;case js:u==null&&B(f,_,L,K);break;case _e:H(u,f,_,L,O,A,K,U,D);break;default:J&1?ae(u,f,_,L,O,A,K,U,D):J&6?T(u,f,_,L,O,A,K,U,D):(J&64||J&128)&&I.process(u,f,_,L,O,A,K,U,D,wt)}te!=null&&O?_s(te,u&&u.ref,A,f||u,!f):te==null&&u&&u.ref!=null&&_s(u.ref,null,A,u,!0)},k=(u,f,_,L)=>{if(u==null)n(f.el=a(f.children),_,L);else{const O=f.el=u.el;f.children!==u.children&&m(O,f.children)}},F=(u,f,_,L)=>{u==null?n(f.el=c(f.children||""),_,L):f.el=u.el},B=(u,f,_,L)=>{[u.el,u.anchor]=X(u.children,f,_,L,u.el,u.anchor)},Z=({el:u,anchor:f},_,L)=>{let O;for(;u&&u!==f;)O=M(u),n(u,_,L),u=O;n(f,_,L)},N=({el:u,anchor:f})=>{let _;for(;u&&u!==f;)_=M(u),o(u),u=_;o(f)},ae=(u,f,_,L,O,A,K,U,D)=>{if(f.type==="svg"?K="svg":f.type==="math"&&(K="mathml"),u==null)V(f,_,L,O,A,K,U,D);else{const I=u.el&&u.el._isVueCE?u.el:null;try{I&&I._beginPatch(),G(u,f,O,A,K,U,D)}finally{I&&I._endPatch()}}},V=(u,f,_,L,O,A,K,U)=>{let D,I;const{props:te,shapeFlag:J,transition:ee,dirs:oe}=u;if(D=u.el=r(u.type,A,te&&te.is,te),J&8?d(D,u.children):J&16&&q(u.children,D,null,L,O,$n(u,A),K,U),oe&&At(u,null,L,"created"),W(D,u,u.scopeId,K,L),te){for(const ke in te)ke!=="value"&&!ps(ke)&&l(D,ke,null,te[ke],A,L);"value"in te&&l(D,"value",null,te.value,A),(I=te.onVnodeBeforeMount)&<(I,L,u)}oe&&At(u,null,L,"beforeMount");const he=Xr(O,ee);he&&ee.beforeEnter(D),n(D,f,_),((I=te&&te.onVnodeMounted)||he||oe)&&We(()=>{I&<(I,L,u),he&&ee.enter(D),oe&&At(u,null,L,"mounted")},O)},W=(u,f,_,L,O)=>{if(_&&R(u,_),L)for(let A=0;A<L.length;A++)R(u,L[A]);if(O){let A=O.subTree;if(f===A||ni(A.type)&&(A.ssContent===f||A.ssFallback===f)){const K=O.vnode;W(u,K,K.scopeId,K.slotScopeIds,O.parent)}}},q=(u,f,_,L,O,A,K,U,D=0)=>{for(let I=D;I<u.length;I++){const te=u[I]=U?_t(u[I]):ct(u[I]);S(null,te,f,_,L,O,A,K,U)}},G=(u,f,_,L,O,A,K)=>{const U=f.el=u.el;let{patchFlag:D,dynamicChildren:I,dirs:te}=f;D|=u.patchFlag&16;const J=u.props||xe,ee=f.props||xe;let oe;if(_&&It(_,!1),(oe=ee.onVnodeBeforeUpdate)&<(oe,_,f,u),te&&At(f,u,_,"beforeUpdate"),_&&It(_,!0),(J.innerHTML&&ee.innerHTML==null||J.textContent&&ee.textContent==null)&&d(U,""),I?ue(u.dynamicChildren,I,U,_,L,$n(f,O),A):K||x(u,f,U,null,_,L,$n(f,O),A,!1),D>0){if(D&16)me(U,J,ee,_,O);else if(D&2&&J.class!==ee.class&&l(U,"class",null,ee.class,O),D&4&&l(U,"style",J.style,ee.style,O),D&8){const he=f.dynamicProps;for(let ke=0;ke<he.length;ke++){const p=he[ke],h=J[p],E=ee[p];(E!==h||p==="value")&&l(U,p,h,E,O,_)}}D&1&&u.children!==f.children&&d(U,f.children)}else!K&&I==null&&me(U,J,ee,_,O);((oe=ee.onVnodeUpdated)||te)&&We(()=>{oe&<(oe,_,f,u),te&&At(f,u,_,"updated")},L)},ue=(u,f,_,L,O,A,K)=>{for(let U=0;U<f.length;U++){const D=u[U],I=f[U],te=D.el&&(D.type===_e||!jt(D,I)||D.shapeFlag&198)?g(D.el):_;S(D,I,te,null,L,O,A,K,!0)}},me=(u,f,_,L,O)=>{if(f!==_){if(f!==xe)for(const A in f)!ps(A)&&!(A in _)&&l(u,A,f[A],null,O,L);for(const A in _){if(ps(A))continue;const K=_[A],U=f[A];K!==U&&A!=="value"&&l(u,A,U,K,O,L)}"value"in _&&l(u,"value",f.value,_.value,O)}},H=(u,f,_,L,O,A,K,U,D)=>{const I=f.el=u?u.el:a(""),te=f.anchor=u?u.anchor:a("");let{patchFlag:J,dynamicChildren:ee,slotScopeIds:oe}=f;oe&&(U=U?U.concat(oe):oe),u==null?(n(I,_,L),n(te,_,L),q(f.children||[],_,te,O,A,K,U,D)):J>0&&J&64&&ee&&u.dynamicChildren&&u.dynamicChildren.length===ee.length?(ue(u.dynamicChildren,ee,_,O,A,K,U),(f.key!=null||O&&f===O.subTree)&&ei(u,f,!0)):x(u,f,_,te,O,A,K,U,D)},T=(u,f,_,L,O,A,K,U,D)=>{f.slotScopeIds=U,u==null?f.shapeFlag&512?O.ctx.activate(f,_,L,K,D):P(f,_,L,O,A,K,D):$(u,f,D)},P=(u,f,_,L,O,A,K)=>{const U=u.component=ia(u,L,O);if(cn(u)&&(U.ctx.renderer=wt),ra(U,!1,K),U.asyncDep){if(O&&O.registerDep(U,y,K),!u.el){const D=U.subTree=Ie(He);F(null,D,f,_),u.placeholder=D.el}}else y(U,u,f,_,O,A,K)},$=(u,f,_)=>{const L=f.component=u.component;if(Hr(u,f,_))if(L.asyncDep&&!L.asyncResolved){b(L,f,_);return}else L.next=f,L.update();else f.el=u.el,L.vnode=f},y=(u,f,_,L,O,A,K)=>{const U=()=>{if(u.isMounted){let{next:J,bu:ee,u:oe,parent:he,vnode:ke}=u;{const Y=ti(u);if(Y){J&&(J.el=ke.el,b(u,J,K)),Y.asyncDep.then(()=>{We(()=>{u.isUnmounted||I()},O)});return}}let p=J,h;It(u,!1),J?(J.el=ke.el,b(u,J,K)):J=ke,ee&&Rs(ee),(h=J.props&&J.props.onVnodeBeforeUpdate)&<(h,he,J,ke),It(u,!0);const E=wo(u),re=u.subTree;u.subTree=E,S(re,E,g(re.el),Te(re),u,O,A),J.el=E.el,p===null&&Vr(u,E.el),oe&&We(oe,O),(h=J.props&&J.props.onVnodeUpdated)&&We(()=>lt(h,he,J,ke),O)}else{let J;const{el:ee,props:oe}=f,{bm:he,m:ke,parent:p,root:h,type:E}=u,re=vs(f);It(u,!1),he&&Rs(he),!re&&(J=oe&&oe.onVnodeBeforeMount)&<(J,p,f),It(u,!0);{h.ce&&h.ce._hasShadowRoot()&&h.ce._injectChildStyle(E,u.parent?u.parent.type:void 0);const Y=u.subTree=wo(u);S(null,Y,_,L,u,O,A),f.el=Y.el}if(ke&&We(ke,O),!re&&(J=oe&&oe.onVnodeMounted)){const Y=f;We(()=>lt(J,p,Y),O)}(f.shapeFlag&256||p&&vs(p.vnode)&&p.vnode.shapeFlag&256)&&u.a&&We(u.a,O),u.isMounted=!0,f=_=L=null}};u.scope.on();const D=u.effect=new rl(U);u.scope.off();const I=u.update=D.run.bind(D),te=u.job=D.runIfDirty.bind(D);te.i=u,te.id=u.uid,D.scheduler=()=>to(te),It(u,!0),I()},b=(u,f,_)=>{f.component=u;const L=u.vnode.props;u.vnode=f,u.next=null,Br(u,f.props,L,_),zr(u,f.children,_),bt(),mo(u),yt()},x=(u,f,_,L,O,A,K,U,D=!1)=>{const I=u&&u.children,te=u?u.shapeFlag:0,J=f.children,{patchFlag:ee,shapeFlag:oe}=f;if(ee>0){if(ee&128){z(I,J,_,L,O,A,K,U,D);return}else if(ee&256){j(I,J,_,L,O,A,K,U,D);return}}oe&8?(te&16&&Fe(I,O,A),J!==I&&d(_,J)):te&16?oe&16?z(I,J,_,L,O,A,K,U,D):Fe(I,O,A,!0):(te&8&&d(_,""),oe&16&&q(J,_,L,O,A,K,U,D))},j=(u,f,_,L,O,A,K,U,D)=>{u=u||Qt,f=f||Qt;const I=u.length,te=f.length,J=Math.min(I,te);let ee;for(ee=0;ee<J;ee++){const oe=f[ee]=D?_t(f[ee]):ct(f[ee]);S(u[ee],oe,_,null,O,A,K,U,D)}I>te?Fe(u,O,A,!0,!1,J):q(f,_,L,O,A,K,U,D,J)},z=(u,f,_,L,O,A,K,U,D)=>{let I=0;const te=f.length;let J=u.length-1,ee=te-1;for(;I<=J&&I<=ee;){const oe=u[I],he=f[I]=D?_t(f[I]):ct(f[I]);if(jt(oe,he))S(oe,he,_,null,O,A,K,U,D);else break;I++}for(;I<=J&&I<=ee;){const oe=u[J],he=f[ee]=D?_t(f[ee]):ct(f[ee]);if(jt(oe,he))S(oe,he,_,null,O,A,K,U,D);else break;J--,ee--}if(I>J){if(I<=ee){const oe=ee+1,he=oe<te?f[oe].el:L;for(;I<=ee;)S(null,f[I]=D?_t(f[I]):ct(f[I]),_,he,O,A,K,U,D),I++}}else if(I>ee)for(;I<=J;)pe(u[I],O,A,!0),I++;else{const oe=I,he=I,ke=new Map;for(I=he;I<=ee;I++){const $e=f[I]=D?_t(f[I]):ct(f[I]);$e.key!=null&&ke.set($e.key,I)}let p,h=0;const E=ee-he+1;let re=!1,Y=0;const Q=new Array(E);for(I=0;I<E;I++)Q[I]=0;for(I=oe;I<=J;I++){const $e=u[I];if(h>=E){pe($e,O,A,!0);continue}let Ge;if($e.key!=null)Ge=ke.get($e.key);else for(p=he;p<=ee;p++)if(Q[p-he]===0&&jt($e,f[p])){Ge=p;break}Ge===void 0?pe($e,O,A,!0):(Q[Ge-he]=I+1,Ge>=Y?Y=Ge:re=!0,S($e,f[Ge],_,null,O,A,K,U,D),h++)}const Oe=re?Yr(Q):Qt;for(p=Oe.length-1,I=E-1;I>=0;I--){const $e=he+I,Ge=f[$e],Is=f[$e+1],$t=$e+1<te?Is.el||si(Is):L;Q[I]===0?S(null,Ge,_,$t,O,A,K,U,D):re&&(p<0||I!==Oe[p]?le(Ge,_,$t,2):p--)}}},le=(u,f,_,L,O=null)=>{const{el:A,type:K,transition:U,children:D,shapeFlag:I}=u;if(I&6){le(u.component.subTree,f,_,L);return}if(I&128){u.suspense.move(f,_,L);return}if(I&64){K.move(u,f,_,wt);return}if(K===_e){n(A,f,_);for(let J=0;J<D.length;J++)le(D[J],f,_,L);n(u.anchor,f,_);return}if(K===js){Z(u,f,_);return}if(L!==2&&I&1&&U)if(L===0)U.beforeEnter(A),n(A,f,_),We(()=>U.enter(A),O);else{const{leave:J,delayLeave:ee,afterLeave:oe}=U,he=()=>{u.ctx.isUnmounted?o(A):n(A,f,_)},ke=()=>{A._isLeaving&&A[rt](!0),J(A,()=>{he(),oe&&oe()})};ee?ee(A,he,ke):ke()}else n(A,f,_)},pe=(u,f,_,L=!1,O=!1)=>{const{type:A,props:K,ref:U,children:D,dynamicChildren:I,shapeFlag:te,patchFlag:J,dirs:ee,cacheIndex:oe}=u;if(J===-2&&(O=!1),U!=null&&(bt(),_s(U,null,_,u,!0),yt()),oe!=null&&(f.renderCache[oe]=void 0),te&256){f.ctx.deactivate(u);return}const he=te&1&&ee,ke=!vs(u);let p;if(ke&&(p=K&&K.onVnodeBeforeUnmount)&<(p,f,u),te&6)qe(u.component,_,L);else{if(te&128){u.suspense.unmount(_,L);return}he&&At(u,null,f,"beforeUnmount"),te&64?u.type.remove(u,f,_,wt,L):I&&!I.hasOnce&&(A!==_e||J>0&&J&64)?Fe(I,f,_,!1,!0):(A===_e&&J&384||!O&&te&16)&&Fe(D,f,_),L&&Ue(u)}(ke&&(p=K&&K.onVnodeUnmounted)||he)&&We(()=>{p&<(p,f,u),he&&At(u,null,f,"unmounted")},_)},Ue=u=>{const{type:f,el:_,anchor:L,transition:O}=u;if(f===_e){ot(_,L);return}if(f===js){N(u);return}const A=()=>{o(_),O&&!O.persisted&&O.afterLeave&&O.afterLeave()};if(u.shapeFlag&1&&O&&!O.persisted){const{leave:K,delayLeave:U}=O,D=()=>K(_,A);U?U(u.el,A,D):D()}else A()},ot=(u,f)=>{let _;for(;u!==f;)_=M(u),o(u),u=_;o(f)},qe=(u,f,_)=>{const{bum:L,scope:O,job:A,subTree:K,um:U,m:D,a:I}=u;So(D),So(I),L&&Rs(L),O.stop(),A&&(A.flags|=8,pe(K,u,f,_)),U&&We(U,f),We(()=>{u.isUnmounted=!0},f)},Fe=(u,f,_,L=!1,O=!1,A=0)=>{for(let K=A;K<u.length;K++)pe(u[K],f,_,L,O)},Te=u=>{if(u.shapeFlag&6)return Te(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const f=M(u.anchor||u.el),_=f&&f[fr];return _?M(_):f};let Ze=!1;const ze=(u,f,_)=>{let L;u==null?f._vnode&&(pe(f._vnode,null,null,!0),L=f._vnode.component):S(f._vnode||null,u,f,null,null,null,_),f._vnode=u,Ze||(Ze=!0,mo(L),Sl(),Ze=!1)},wt={p:S,um:pe,m:le,r:Ue,mt:P,mc:q,pc:x,pbc:ue,n:Te,o:e};return{render:ze,hydrate:void 0,createApp:Nr(ze)}}function $n({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function It({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Xr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ei(e,t,s=!1){const n=e.children,o=t.children;if(ne(n)&&ne(o))for(let l=0;l<n.length;l++){const r=n[l];let a=o[l];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[l]=_t(o[l]),a.el=r.el),!s&&a.patchFlag!==-2&&ei(r,a)),a.type===fn&&(a.patchFlag===-1&&(a=o[l]=_t(a)),a.el=r.el),a.type===He&&!a.el&&(a.el=r.el)}}function Yr(e){const t=e.slice(),s=[0];let n,o,l,r,a;const c=e.length;for(n=0;n<c;n++){const m=e[n];if(m!==0){if(o=s[s.length-1],e[o]<m){t[n]=o,s.push(n);continue}for(l=0,r=s.length-1;l<r;)a=l+r>>1,e[s[a]]<m?l=a+1:r=a;m<e[s[l]]&&(l>0&&(t[n]=s[l-1]),s[l]=n)}}for(l=s.length,r=s[l-1];l-- >0;)s[l]=r,r=t[r];return s}function ti(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ti(t)}function So(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function si(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?si(t.subTree):null}const ni=e=>e.__isSuspense;function Qr(e,t){t&&t.pendingBranch?ne(e)?t.effects.push(...e):t.effects.push(e):rr(e)}const _e=Symbol.for("v-fgt"),fn=Symbol.for("v-txt"),He=Symbol.for("v-cmt"),js=Symbol.for("v-stc"),bs=[];let Je=null;function w(e=!1){bs.push(Je=e?null:[])}function Zr(){bs.pop(),Je=bs[bs.length-1]||null}let Cs=1;function Js(e,t=!1){Cs+=e,e<0&&Je&&t&&(Je.hasOnce=!0)}function oi(e){return e.dynamicChildren=Cs>0?Je||Qt:null,Zr(),Cs>0&&Je&&Je.push(e),e}function C(e,t,s,n,o,l){return oi(i(e,t,s,n,o,l,!0))}function Ft(e,t,s,n,o){return oi(Ie(e,t,s,n,o,!0))}function Gs(e){return e?e.__v_isVNode===!0:!1}function jt(e,t){return e.type===t.type&&e.key===t.key}const li=({key:e})=>e??null,Ds=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?Se(e)||Re(e)||ce(e)?{i:Ye,r:e,k:t,f:!!s}:e:null);function i(e,t=null,s=null,n=0,o=null,l=e===_e?0:1,r=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&li(t),ref:t&&Ds(t),scopeId:Ml,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ye};return a?(lo(c,s),l&128&&e.normalize(c)):s&&(c.shapeFlag|=Se(s)?8:16),Cs>0&&!r&&Je&&(c.patchFlag>0||l&6)&&c.patchFlag!==32&&Je.push(c),c}const Ie=ea;function ea(e,t=null,s=null,n=0,o=null,l=!1){if((!e||e===Sr)&&(e=He),Gs(e)){const a=Et(e,t,!0);return s&&lo(a,s),Cs>0&&!l&&Je&&(a.shapeFlag&6?Je[Je.indexOf(e)]=a:Je.push(a)),a.patchFlag=-2,a}if(da(e)&&(e=e.__vccOpts),t){t=ta(t);let{class:a,style:c}=t;a&&!Se(a)&&(t.class=ie(a)),ye(c)&&(eo(c)&&!ne(c)&&(c=Ee({},c)),t.style=Ae(c))}const r=Se(e)?1:ni(e)?128:Al(e)?64:ye(e)?4:ce(e)?2:0;return i(e,t,s,n,o,r,l,!0)}function ta(e){return e?eo(e)||Jl(e)?Ee({},e):e:null}function Et(e,t,s=!1,n=!1){const{props:o,ref:l,patchFlag:r,children:a,transition:c}=e,m=t?na(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:m,key:m&&li(m),ref:t&&t.ref?s&&l?ne(l)?l.concat(Ds(t)):[l,Ds(t)]:Ds(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Et(e.ssContent),ssFallback:e.ssFallback&&Et(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&n&&$s(d,c.clone(d)),d}function Pe(e=" ",t=0){return Ie(fn,null,e,t)}function sa(e,t){const s=Ie(js,null,e);return s.staticCount=t,s}function se(e="",t=!1){return t?(w(),Ft(He,null,e)):Ie(He,null,e)}function ct(e){return e==null||typeof e=="boolean"?Ie(He):ne(e)?Ie(_e,null,e.slice()):Gs(e)?_t(e):Ie(fn,null,String(e))}function _t(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Et(e)}function lo(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(ne(t))s=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),lo(e,o()),o._c&&(o._d=!0));return}else{s=32;const o=t._;!o&&!Jl(t)?t._ctx=Ye:o===3&&Ye&&(Ye.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ce(t)?(t={default:t,_ctx:Ye},s=32):(t=String(t),n&64?(s=16,t=[Pe(t)]):s=8);e.children=t,e.shapeFlag|=s}function na(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const o in n)if(o==="class")t.class!==n.class&&(t.class=ie([t.class,n.class]));else if(o==="style")t.style=Ae([t.style,n.style]);else if(tn(o)){const l=t[o],r=n[o];r&&l!==r&&!(ne(l)&&l.includes(r))&&(t[o]=l?[].concat(l,r):r)}else o!==""&&(t[o]=n[o])}return t}function lt(e,t,s,n=null){nt(e,t,7,[s,n])}const oa=Bl();let la=0;function ia(e,t,s){const n=e.type,o=(t?t.appContext:e.appContext)||oa,l={uid:la++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ei(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Xl(n,o),emitsOptions:Wl(n,o),emit:null,emitted:null,propsDefaults:xe,inheritAttrs:n.inheritAttrs,ctx:xe,data:xe,props:xe,attrs:xe,slots:xe,refs:xe,setupState:xe,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return l.ctx={_:l},l.root=t?t.root:l,l.emit=Rr.bind(null,l),e.ce&&e.ce(l),l}let Ve=null;const ii=()=>Ve||Ye;let Xs,jn;{const e=ln(),t=(s,n)=>{let o;return(o=e[s])||(o=e[s]=[]),o.push(n),l=>{o.length>1?o.forEach(r=>r(l)):o[0](l)}};Xs=t("__VUE_INSTANCE_SETTERS__",s=>Ve=s),jn=t("__VUE_SSR_SETTERS__",s=>Ss=s)}const As=e=>{const t=Ve;return Xs(e),e.scope.on(),()=>{e.scope.off(),Xs(t)}},To=()=>{Ve&&Ve.scope.off(),Xs(null)};function ri(e){return e.vnode.shapeFlag&4}let Ss=!1;function ra(e,t=!1,s=!1){t&&jn(t);const{props:n,children:o}=e.vnode,l=ri(e);Ur(e,n,l,t),qr(e,o,s||t);const r=l?aa(e,t):void 0;return t&&jn(!1),r}function aa(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Tr);const{setup:n}=s;if(n){bt();const o=e.setupContext=n.length>1?ua(e):null,l=As(e),r=Os(n,e,0,[e.props,o]),a=Zo(r);if(yt(),l(),(a||e.sp)&&!vs(e)&&Fl(e),a){if(r.then(To,To),t)return r.then(c=>{Mo(e,c)}).catch(c=>{an(c,e,0)});e.asyncDep=r}else Mo(e,r)}else ai(e)}function Mo(e,t,s){ce(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ye(t)&&(e.setupState=xl(t)),ai(e)}function ai(e,t,s){const n=e.type;e.render||(e.render=n.render||dt);{const o=As(e);bt();try{Mr(e)}finally{yt(),o()}}}const ca={get(e,t){return Ne(e,"get",""),e[t]}};function ua(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,ca),slots:e.slots,emit:e.emit,expose:t}}function pn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(xl(Xi(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in gs)return gs[s](e)},has(t,s){return s in t||s in gs}})):e.proxy}function da(e){return ce(e)&&"__vccOpts"in e}const fe=(e,t)=>sr(e,t,Ss);function Le(e,t,s){try{Js(-1);const n=arguments.length;return n===2?ye(t)&&!ne(t)?Gs(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Gs(s)&&(s=[s]),Ie(e,t,s))}finally{Js(1)}}const fa="3.5.30";/**
|
|
14
|
-
* @vue/runtime-dom v3.5.30
|
|
15
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
-
* @license MIT
|
|
17
|
-
**/let Dn;const Eo=typeof window<"u"&&window.trustedTypes;if(Eo)try{Dn=Eo.createPolicy("vue",{createHTML:e=>e})}catch{}const ci=Dn?e=>Dn.createHTML(e):e=>e,pa="http://www.w3.org/2000/svg",ha="http://www.w3.org/1998/Math/MathML",mt=typeof document<"u"?document:null,Oo=mt&&mt.createElement("template"),ma={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const o=t==="svg"?mt.createElementNS(pa,e):t==="mathml"?mt.createElementNS(ha,e):s?mt.createElement(e,{is:s}):mt.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>mt.createTextNode(e),createComment:e=>mt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>mt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,o,l){const r=s?s.previousSibling:t.lastChild;if(o&&(o===l||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===l||!(o=o.nextSibling)););else{Oo.innerHTML=ci(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const a=Oo.content;if(n==="svg"||n==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,s)}return[r?r.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Ct="transition",cs="animation",Ts=Symbol("_vtc"),ui={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},_a=Ee({},Il,ui),va=e=>(e.displayName="Transition",e.props=_a,e),Ys=va((e,{slots:t})=>Le(mr,ga(e),t)),Lt=(e,t=[])=>{ne(e)?e.forEach(s=>s(...t)):e&&e(...t)},Ao=e=>e?ne(e)?e.some(t=>t.length>1):e.length>1:!1;function ga(e){const t={};for(const H in e)H in ui||(t[H]=e[H]);if(e.css===!1)return t;const{name:s="v",type:n,duration:o,enterFromClass:l=`${s}-enter-from`,enterActiveClass:r=`${s}-enter-active`,enterToClass:a=`${s}-enter-to`,appearFromClass:c=l,appearActiveClass:m=r,appearToClass:d=a,leaveFromClass:g=`${s}-leave-from`,leaveActiveClass:M=`${s}-leave-active`,leaveToClass:R=`${s}-leave-to`}=e,X=ba(o),S=X&&X[0],k=X&&X[1],{onBeforeEnter:F,onEnter:B,onEnterCancelled:Z,onLeave:N,onLeaveCancelled:ae,onBeforeAppear:V=F,onAppear:W=B,onAppearCancelled:q=Z}=t,G=(H,T,P,$)=>{H._enterCancelled=$,Nt(H,T?d:a),Nt(H,T?m:r),P&&P()},ue=(H,T)=>{H._isLeaving=!1,Nt(H,g),Nt(H,R),Nt(H,M),T&&T()},me=H=>(T,P)=>{const $=H?W:B,y=()=>G(T,H,P);Lt($,[T,y]),Io(()=>{Nt(T,H?c:l),ht(T,H?d:a),Ao($)||Lo(T,n,S,y)})};return Ee(t,{onBeforeEnter(H){Lt(F,[H]),ht(H,l),ht(H,r)},onBeforeAppear(H){Lt(V,[H]),ht(H,c),ht(H,m)},onEnter:me(!1),onAppear:me(!0),onLeave(H,T){H._isLeaving=!0;const P=()=>ue(H,T);ht(H,g),H._enterCancelled?(ht(H,M),Ro(H)):(Ro(H),ht(H,M)),Io(()=>{H._isLeaving&&(Nt(H,g),ht(H,R),Ao(N)||Lo(H,n,k,P))}),Lt(N,[H,P])},onEnterCancelled(H){G(H,!1,void 0,!0),Lt(Z,[H])},onAppearCancelled(H){G(H,!0,void 0,!0),Lt(q,[H])},onLeaveCancelled(H){ue(H),Lt(ae,[H])}})}function ba(e){if(e==null)return null;if(ye(e))return[Cn(e.enter),Cn(e.leave)];{const t=Cn(e);return[t,t]}}function Cn(e){return yi(e)}function ht(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e[Ts]||(e[Ts]=new Set)).add(t)}function Nt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const s=e[Ts];s&&(s.delete(t),s.size||(e[Ts]=void 0))}function Io(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ya=0;function Lo(e,t,s,n){const o=e._endId=++ya,l=()=>{o===e._endId&&n()};if(s!=null)return setTimeout(l,s);const{type:r,timeout:a,propCount:c}=ka(e,t);if(!r)return n();const m=r+"end";let d=0;const g=()=>{e.removeEventListener(m,M),l()},M=R=>{R.target===e&&++d>=c&&g()};setTimeout(()=>{d<c&&g()},a+1),e.addEventListener(m,M)}function ka(e,t){const s=window.getComputedStyle(e),n=X=>(s[X]||"").split(", "),o=n(`${Ct}Delay`),l=n(`${Ct}Duration`),r=No(o,l),a=n(`${cs}Delay`),c=n(`${cs}Duration`),m=No(a,c);let d=null,g=0,M=0;t===Ct?r>0&&(d=Ct,g=r,M=l.length):t===cs?m>0&&(d=cs,g=m,M=c.length):(g=Math.max(r,m),d=g>0?r>m?Ct:cs:null,M=d?d===Ct?l.length:c.length:0);const R=d===Ct&&/\b(?:transform|all)(?:,|$)/.test(n(`${Ct}Property`).toString());return{type:d,timeout:g,propCount:M,hasTransform:R}}function No(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((s,n)=>Po(s)+Po(e[n])))}function Po(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ro(e){return(e?e.ownerDocument:document).body.offsetHeight}function xa(e,t,s){const n=e[Ts];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Fo=Symbol("_vod"),wa=Symbol("_vsh"),$a=Symbol(""),Ca=/(?:^|;)\s*display\s*:/;function Sa(e,t,s){const n=e.style,o=Se(s);let l=!1;if(s&&!o){if(t)if(Se(t))for(const r of t.split(";")){const a=r.slice(0,r.indexOf(":")).trim();s[a]==null&&Hs(n,a,"")}else for(const r in t)s[r]==null&&Hs(n,r,"");for(const r in s)r==="display"&&(l=!0),Hs(n,r,s[r])}else if(o){if(t!==s){const r=n[$a];r&&(s+=";"+r),n.cssText=s,l=Ca.test(s)}}else t&&e.removeAttribute("style");Fo in e&&(e[Fo]=l?n.display:"",e[wa]&&(n.display="none"))}const jo=/\s*!important$/;function Hs(e,t,s){if(ne(s))s.forEach(n=>Hs(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Ta(e,t);jo.test(s)?e.setProperty(Kt(n),s.replace(jo,""),"important"):e[n]=s}}const Do=["Webkit","Moz","ms"],Sn={};function Ta(e,t){const s=Sn[t];if(s)return s;let n=et(t);if(n!=="filter"&&n in e)return Sn[t]=n;n=sl(n);for(let o=0;o<Do.length;o++){const l=Do[o]+n;if(l in e)return Sn[t]=l}return t}const Ho="http://www.w3.org/1999/xlink";function Vo(e,t,s,n,o,l=Si(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Ho,t.slice(6,t.length)):e.setAttributeNS(Ho,t,s):s==null||l&&!ol(s)?e.removeAttribute(t):e.setAttribute(t,l?"":ft(s)?String(s):s)}function Uo(e,t,s,n,o){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?ci(s):s);return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const a=l==="OPTION"?e.getAttribute("value")||"":e.value,c=s==null?e.type==="checkbox"?"on":"":String(s);(a!==c||!("_value"in e))&&(e.value=c),s==null&&e.removeAttribute(t),e._value=s;return}let r=!1;if(s===""||s==null){const a=typeof e[t];a==="boolean"?s=ol(s):s==null&&a==="string"?(s="",r=!0):a==="number"&&(s=0,r=!0)}try{e[t]=s}catch{}r&&e.removeAttribute(o||t)}function Dt(e,t,s,n){e.addEventListener(t,s,n)}function Ma(e,t,s,n){e.removeEventListener(t,s,n)}const Bo=Symbol("_vei");function Ea(e,t,s,n,o=null){const l=e[Bo]||(e[Bo]={}),r=l[t];if(n&&r)r.value=n;else{const[a,c]=Oa(t);if(n){const m=l[t]=La(n,o);Dt(e,a,m,c)}else r&&(Ma(e,a,r,c),l[t]=void 0)}}const Wo=/(?:Once|Passive|Capture)$/;function Oa(e){let t;if(Wo.test(e)){t={};let n;for(;n=e.match(Wo);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Kt(e.slice(2)),t]}let Tn=0;const Aa=Promise.resolve(),Ia=()=>Tn||(Aa.then(()=>Tn=0),Tn=Date.now());function La(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;nt(Na(n,s.value),t,5,[n])};return s.value=e,s.attached=Ia(),s}function Na(e,t){if(ne(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const Ko=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Pa=(e,t,s,n,o,l)=>{const r=o==="svg";t==="class"?xa(e,n,r):t==="style"?Sa(e,s,n):tn(t)?Wn(t)||Ea(e,t,s,n,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ra(e,t,n,r))?(Uo(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Vo(e,t,n,r,l,t!=="value")):e._isVueCE&&(Fa(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Se(n)))?Uo(e,et(t),n,l,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Vo(e,t,n,r))};function Ra(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ko(t)&&ce(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Ko(t)&&Se(s)?!1:t in e}function Fa(e,t){const s=e._def.props;if(!s)return!1;const n=et(t);return Array.isArray(s)?s.some(o=>et(o)===n):Object.keys(s).some(o=>et(o)===n)}const Qs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ne(t)?s=>Rs(t,s):t};function ja(e){e.target.composing=!0}function qo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ss=Symbol("_assign");function zo(e,t,s){return t&&(e=e.trim()),s&&(e=on(e)),e}const os={created(e,{modifiers:{lazy:t,trim:s,number:n}},o){e[ss]=Qs(o);const l=n||o.props&&o.props.type==="number";Dt(e,t?"change":"input",r=>{r.target.composing||e[ss](zo(e.value,s,l))}),(s||l)&&Dt(e,"change",()=>{e.value=zo(e.value,s,l)}),t||(Dt(e,"compositionstart",ja),Dt(e,"compositionend",qo),Dt(e,"change",qo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:o,number:l}},r){if(e[ss]=Qs(r),e.composing)return;const a=(l||e.type==="number")&&!/^0\d/.test(e.value)?on(e.value):e.value,c=t??"";a!==c&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||o&&e.value.trim()===c)||(e.value=c))}},Da={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const o=sn(t);Dt(e,"change",()=>{const l=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>s?on(Zs(r)):Zs(r));e[ss](e.multiple?o?new Set(l):l:l[0]),e._assigning=!0,$l(()=>{e._assigning=!1})}),e[ss]=Qs(n)},mounted(e,{value:t}){Jo(e,t)},beforeUpdate(e,t,s){e[ss]=Qs(s)},updated(e,{value:t}){e._assigning||Jo(e,t)}};function Jo(e,t){const s=e.multiple,n=ne(t);if(!(s&&!n&&!sn(t))){for(let o=0,l=e.options.length;o<l;o++){const r=e.options[o],a=Zs(r);if(s)if(n){const c=typeof a;c==="string"||c==="number"?r.selected=t.some(m=>String(m)===String(a)):r.selected=Mi(t,a)>-1}else r.selected=t.has(a);else if(Es(Zs(r),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Zs(e){return"_value"in e?e._value:e.value}const Ha=["ctrl","shift","alt","meta"],Va={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ha.some(s=>e[`${s}Key`]&&!t.includes(s))},zt=(e,t)=>{if(!e)return e;const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=((o,...l)=>{for(let r=0;r<t.length;r++){const a=Va[t[r]];if(a&&a(o,t))return}return e(o,...l)}))},Ua=Ee({patchProp:Pa},ma);let Go;function Ba(){return Go||(Go=Jr(Ua))}const Wa=((...e)=>{const t=Ba().createApp(...e),{mount:s}=t;return t.mount=n=>{const o=qa(n);if(!o)return;const l=t._component;!ce(l)&&!l.render&&!l.template&&(l.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const r=s(o,!1,Ka(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t});function Ka(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function qa(e){return Se(e)?document.querySelector(e):e}let Rt;const us=[];function di(e){if(us.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&us.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&us.forEach(s=>s(t))},get(){return Rt.value},configurable:!0}),()=>{us.splice(us.indexOf(e),1)}}function fi(){Rt||(Rt=Yi(),di(t));function e(){Rt&&Zi(Rt)}function t(s){Rt.value=s,s.host&&s.host.hooks.hook("host:update:reactivity",e)}return Rt}const Hn=de([]),pi=de({provides:[],injects:[]}),en=de([]),Vn=de([]),Un=de([]),hi=de(!1),Ht=de({}),za=typeof window<"u"&&new URLSearchParams(window.location.search).has("debugRpc");let Xo=!1,ge=null,Yo=!1,Vs=null,St=null;function Ot(...e){za&&console.info("[observatory][rpc][iframe]",...e)}function ds(e){return e?e.map(t=>({...t})):[]}function Ja(e){return e?e.map(t=>({...t})):[]}function Us(e){var s;Hn.value=ds(e.fetch),pi.value=e.provideInject?{provides:ds(e.provideInject.provides),injects:ds(e.provideInject.injects)}:{provides:[],injects:[]},en.value=ds(e.composables),Vn.value=Ja(e.renders),Un.value=ds(e.transitions),Ht.value=e.features||{};const t=(s=Ht.value)==null?void 0:s.composableNavigationMode;St&&t!==St&&(Ht.value={...Ht.value||{},composableNavigationMode:St},ge==null||ge.setComposableMode(St).then(()=>ge==null?void 0:ge.requestSnapshot()).catch(n=>{Ot("setComposableMode reconcile failed",n)})),St&&t===St&&(St=null),hi.value=!0,Yo||(Yo=!0,Ot("first snapshot received",{fetch:Hn.value.length,composables:en.value.length,renders:Vn.value.length,transitions:Un.value.length}))}function Ga(){if(Xo)return;Xo=!0,typeof window<"u"&&window.addEventListener("message",s=>{s.data&&s.data.type==="observatory:snapshot"&&Us(s.data.data)});const e=fi(),t=()=>{if(!(!e.value||ge)){if(ge=e.value.devtools.extendClientRpc("observatory",{onSnapshot(s){Us(s)}}),Ot("RPC connected"),Vs){const s=Vs;Vs=null,ge.setComposableMode(s).catch(n=>{Ot("setComposableMode failed (queued)",n)})}ge.getSnapshot().then(s=>{s&&Us(s)}).catch(()=>{}),ge.requestSnapshot().catch(()=>{})}};t(),di(()=>{t()})}function Xa(){en.value=[],ge==null||ge.clearComposables().then(()=>ge==null?void 0:ge.requestSnapshot()).catch(e=>{Ot("clearComposables failed",e)})}function Ya(e){if(St=e,Ht.value={...Ht.value||{},composableNavigationMode:e},!ge){Vs=e,Ot("setComposableMode queued",e);return}ge.setComposableMode(e).then(()=>ge==null?void 0:ge.requestSnapshot()).catch(t=>{Ot("setComposableMode failed",t)})}function Qa(e,t,s){ge==null||ge.editComposableValue(e,t,s).catch(n=>{Ot("editComposableValue failed",n)})}function io(e){var s,n;if(!e||e==="unknown")return;const t=(n=(s=fi().value)==null?void 0:s.devtools)==null?void 0:n.rpc;t!=null&&t.openInEditor&&t.openInEditor(e)}function ls(){return Ga(),{fetch:Hn,provideInject:pi,composables:en,renders:Vn,transitions:Un,features:Ht,connected:hi,refresh:()=>{ge==null||ge.getSnapshot().then(t=>{t&&Us(t)}).catch(()=>{}),ge==null||ge.requestSnapshot().catch(()=>{})},clearComposables:Xa}}function hn(e,t){const s=t&&Number(localStorage.getItem(t))||e,n=de(Math.max(160,Math.min(600,s)));let o=!1,l=0,r=0;function a(d){if(!o)return;const g=l-d.clientX;n.value=Math.max(160,Math.min(600,r+g)),t&&localStorage.setItem(t,String(n.value))}function c(){o&&(o=!1,document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",c),document.body.style.cursor="",document.body.style.userSelect="")}function m(d){d.preventDefault(),o=!0,l=d.clientX,r=n.value,document.addEventListener("mousemove",a),document.addEventListener("mouseup",c),document.body.style.cursor="col-resize",document.body.style.userSelect="none"}return so(()=>{document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",c),document.body.style.cursor="",document.body.style.userSelect=""}),{paneWidth:n,onHandleMouseDown:m}}const Za={class:"fetch-dashboard tracker-view"},ec={class:"fetch-dashboard__stats tracker-stats-row"},tc={class:"stat-card"},sc={class:"stat-val"},nc={class:"stat-card"},oc={class:"stat-val stat-val--ok"},lc={class:"stat-card"},ic={class:"stat-val stat-val--pending"},rc={class:"stat-card"},ac={class:"stat-val stat-val--error"},cc={class:"fetch-dashboard__toolbar tracker-toolbar"},uc={class:"fetch-dashboard__split tracker-split"},dc={class:"fetch-dashboard__table tracker-table-wrap"},fc={class:"data-table"},pc=["onClick"],hc={class:"fetch-dashboard__key mono tracker-mono-secondary"},mc=["title"],_c={class:"muted text-sm"},vc={class:"mono text-sm"},gc={class:"fetch-dashboard__bar-track tracker-progress-bar"},bc={key:0},yc={colspan:"7",class:"tracker-empty-cell"},kc={class:"fetch-dashboard__detail-header"},xc={class:"fetch-dashboard__detail-title mono bold"},wc={class:"flex gap-2"},$c={class:"fetch-dashboard__meta-grid"},Cc={class:"muted text-sm"},Sc={class:"fetch-dashboard__meta-value mono text-sm"},Tc={class:"fetch-dashboard__payload-box"},Mc={class:"mono text-sm muted"},Ec={key:2,class:"tracker-detail-empty"},Oc={class:"fetch-dashboard__waterfall"},Ac={class:"fetch-dashboard__waterfall-header"},Ic={key:0,class:"fetch-dashboard__waterfall-body"},Lc={class:"fetch-dashboard__waterfall-key mono muted text-sm"},Nc={class:"fetch-dashboard__waterfall-track"},Pc={class:"fetch-dashboard__waterfall-time mono muted text-sm"},Rc=Wt({__name:"FetchDashboard",setup(e){const{fetch:t,connected:s}=ls(),{paneWidth:n,onHandleMouseDown:o}=hn(280,"observatory:fetch:detailWidth"),l=de("all"),r=de(""),a=de(null),c=de(!0),m=fe(()=>{const V=[...t.value].sort((q,G)=>q.startTime-G.startTime),W=V.length>0?V[0].startTime:0;return V.map(q=>({...q,startOffset:Math.max(0,q.startTime-W)}))}),d=fe(()=>m.value.find(V=>V.id===a.value)??null),g=fe(()=>({ok:m.value.filter(V=>V.status==="ok"||V.status==="cached").length,pending:m.value.filter(V=>V.status==="pending").length,error:m.value.filter(V=>V.status==="error").length})),M=fe(()=>m.value.filter(V=>{if(l.value!=="all"&&V.status!==l.value)return!1;const W=r.value.toLowerCase();return!(W&&!V.key.toLowerCase().includes(W)&&!V.url.toLowerCase().includes(W))})),R=fe(()=>{if(!d.value)return[];const V=d.value;return[["url",V.url],["status",V.status],["origin",V.origin],["duration",V.ms!=null?`${V.ms}ms`:"—"],["size",V.size?ae(V.size):"—"],["cached",V.cached?"yes":"no"]]}),X=fe(()=>{if(!d.value)return"";const V=d.value.payload;if(V===void 0)return"(no payload captured yet)";try{return JSON.stringify(V,null,2)}catch{return String(V)}});function S(V){return{ok:"badge-ok",error:"badge-err",pending:"badge-warn",cached:"badge-gray"}[V]??"badge-gray"}function k(V){return{ok:"var(--teal)",error:"var(--red)",pending:"var(--amber)",cached:"var(--border)"}[V]??"var(--border)"}function F(V){const W=m.value.filter(G=>G.ms!=null).map(G=>G.ms),q=W.length>0?Math.max(...W,1):1;return V.ms!=null?Math.max(4,Math.round(V.ms/q*100)):4}function B(){const V=m.value.filter(q=>q.ms!=null);return V.length>0?Math.max(...V.map(q=>q.startOffset+q.ms),1):1}function Z(V){const W=B();return Math.min(98,Math.round(V.startOffset/W*100))}function N(V){if(V.ms==null)return 2;const W=B(),q=Z(V);return Math.min(100-q,Math.max(2,Math.round(V.ms/W*100)))}function ae(V){return V<1024?`${V}B`:`${(V/1024).toFixed(1)}KB`}return(V,W)=>(w(),C("div",Za,[i("div",ec,[i("div",tc,[W[8]||(W[8]=i("div",{class:"stat-label"},"total",-1)),i("div",sc,v(m.value.length),1)]),i("div",nc,[W[9]||(W[9]=i("div",{class:"stat-label"},"success",-1)),i("div",oc,v(g.value.ok),1)]),i("div",lc,[W[10]||(W[10]=i("div",{class:"stat-label"},"pending",-1)),i("div",ic,v(g.value.pending),1)]),i("div",rc,[W[11]||(W[11]=i("div",{class:"stat-label"},"error",-1)),i("div",ac,v(g.value.error),1)])]),i("div",cc,[i("button",{class:ie({active:l.value==="all"}),onClick:W[0]||(W[0]=q=>l.value="all")},"all",2),i("button",{class:ie({"danger-active":l.value==="error"}),onClick:W[1]||(W[1]=q=>l.value="error")},"errors",2),i("button",{class:ie({active:l.value==="pending"}),onClick:W[2]||(W[2]=q=>l.value="pending")},"pending",2),i("button",{class:ie({active:l.value==="cached"}),onClick:W[3]||(W[3]=q=>l.value="cached")},"cached",2),Bt(i("input",{"onUpdate:modelValue":W[4]||(W[4]=q=>r.value=q),type:"search",class:"fetch-dashboard__search tracker-toolbar__spacer",placeholder:"search key or url…"},null,512),[[os,r.value]])]),i("div",uc,[i("div",dc,[i("table",fc,[W[12]||(W[12]=i("thead",null,[i("tr",null,[i("th",null,"key"),i("th",null,"url"),i("th",null,"status"),i("th",null,"origin"),i("th",null,"size"),i("th",null,"time"),i("th",{class:"fetch-dashboard__bar-column"},"bar")])],-1)),i("tbody",null,[(w(!0),C(_e,null,Ce(M.value,q=>{var G;return w(),C("tr",{key:q.id,class:ie({selected:((G=d.value)==null?void 0:G.id)===q.id}),onClick:ue=>a.value=q.id},[i("td",null,[i("span",hc,v(q.key),1)]),i("td",null,[i("span",{class:"fetch-dashboard__url mono tracker-mono-secondary tracker-truncate",title:q.url},v(q.url),9,mc)]),i("td",null,[i("span",{class:ie(["badge",S(q.status)])},v(q.status),3)]),i("td",null,[i("span",{class:ie(["badge",q.origin==="ssr"?"badge-info":"badge-gray"])},v(q.origin),3)]),i("td",_c,v(q.size?ae(q.size):"—"),1),i("td",vc,v(q.ms!=null?`${q.ms}ms`:"—"),1),i("td",null,[i("div",gc,[i("div",{class:"fetch-dashboard__bar-fill tracker-progress-bar__fill",style:Ae({width:`${F(q)}%`,background:k(q.status)})},null,4)])])],10,pc)}),128)),M.value.length?se("",!0):(w(),C("tr",bc,[i("td",yc,v(Me(s)?"No fetches recorded yet.":"Waiting for connection to the Nuxt app…"),1)]))])])]),d.value?(w(),C("div",{key:0,class:"tracker-resize-handle",onMousedown:W[5]||(W[5]=(...q)=>Me(o)&&Me(o)(...q))},null,32)):se("",!0),d.value?(w(),C("div",{key:1,class:"fetch-dashboard__detail tracker-detail-panel",style:Ae({width:Me(n)+"px"})},[i("div",kc,[i("span",xc,v(d.value.key),1),i("div",wc,[i("button",{onClick:W[6]||(W[6]=q=>a.value=null)},"×")])]),i("div",$c,[(w(!0),C(_e,null,Ce(R.value,([q,G])=>(w(),C(_e,{key:q},[i("span",Cc,v(q),1),i("span",Sc,v(G),1)],64))),128))]),W[13]||(W[13]=i("div",{class:"tracker-section-label fetch-dashboard__section-label"},"payload",-1)),i("pre",Tc,v(X.value),1),W[14]||(W[14]=i("div",{class:"tracker-section-label fetch-dashboard__section-label fetch-dashboard__section-label--source"},"source",-1)),i("div",Mc,v(d.value.file)+":"+v(d.value.line),1)],4)):(w(),C("div",Ec,"select a call to inspect"))]),i("div",Oc,[i("div",Ac,[W[15]||(W[15]=i("div",{class:"tracker-section-label fetch-dashboard__waterfall-label"},"waterfall",-1)),i("button",{class:ie({active:c.value}),onClick:W[7]||(W[7]=q=>c.value=!c.value)},v(c.value?"hide":"show"),3)]),c.value?(w(),C("div",Ic,[(w(!0),C(_e,null,Ce(m.value,q=>(w(),C("div",{key:q.id,class:"fetch-dashboard__waterfall-row"},[i("span",Lc,v(q.key),1),i("div",Nc,[i("div",{class:"fetch-dashboard__waterfall-bar",style:Ae({left:`${Z(q)}%`,width:`${Math.max(2,N(q))}%`,background:k(q.status)})},null,4)]),i("span",Pc,v(q.ms!=null?`${q.ms}ms`:"—"),1)]))),128))])):se("",!0)])]))}}),is=(e,t)=>{const s=e.__vccOpts||e;for(const[n,o]of t)s[n]=o;return s},Fc=is(Rc,[["__scopeId","data-v-2d842102"]]),jc={class:"provide-graph tracker-view"},Dc={class:"provide-graph__toolbar tracker-toolbar"},Hc=["onClick"],Vc={class:"provide-graph__split tracker-split"},Uc={class:"provide-graph__graph-area"},Bc={key:0,class:"provide-graph__canvas-stage"},Wc=["width","height","viewBox"],Kc=["d"],qc=["onClick"],zc={class:"mono provide-graph__node-label"},Jc={key:0,class:"badge badge-ok badge-xs"},Gc={key:1,class:"badge badge-err badge-xs"},Xc={key:1,class:"provide-graph__graph-empty"},Yc={class:"provide-graph__detail-header"},Qc={class:"provide-graph__detail-title mono bold"},Zc={key:0,class:"detail-section"},eu={class:"tracker-section-label provide-graph__section-label"},tu={class:"detail-list"},su={class:"row-main"},nu={class:"mono text-sm row-key"},ou=["title"],lu=["onClick"],iu={key:0,class:"row-warning"},ru={key:1,class:"row-consumers"},au={key:0,class:"muted text-sm"},cu={key:2,class:"provide-graph__compact-muted muted text-sm"},uu={key:3,class:"value-box"},du={class:"tracker-section-label provide-graph__section-label"},fu={class:"detail-list"},pu={class:"mono text-sm row-key"},hu={key:0,class:"badge badge-ok"},mu={key:1,class:"badge badge-err"},_u=["title"],vu={key:2,class:"provide-graph__empty-detail muted text-sm"},gu={key:2,class:"tracker-detail-empty"},Jt=140,Gt=32,bu=72,Xt=18,yu=Wt({__name:"ProvideInjectGraph",setup(e){const{provideInject:t,connected:s}=ls(),{paneWidth:n,onHandleMouseDown:o}=hn(280,"observatory:provide:detailWidth");function l(T){return T.injects.some(P=>!P.ok)?"var(--red)":T.type==="both"?"var(--blue)":T.type==="provider"?"var(--teal)":"var(--text3)"}function r(T,P){return P==="all"?!0:P==="warn"?T.injects.some($=>!$.ok):P==="shadow"?T.provides.some($=>$.isShadowing):T.provides.some($=>$.key===P)||T.injects.some($=>$.key===P)}function a(T,P){if(!P)return!0;const $=P.toLowerCase();return T.label.toLowerCase().includes($)||T.componentName.toLowerCase().includes($)||T.provides.some(y=>y.key.toLowerCase().includes($))||T.injects.some(y=>y.key.toLowerCase().includes($))}function c(T){let P=0;const $=[T];for(;$.length;){const y=$.pop();y.children.length===0?P++:$.push(...y.children)}return P}function m(T){if(typeof T=="string")return T;try{return JSON.stringify(T)}catch{return String(T)}}function d(T){return typeof T=="object"&&T!==null}function g(T){if(T===null)return"null";if(Array.isArray(T))return`Array(${T.length})`;if(typeof T=="object"){const P=Object.keys(T);return P.length?`{ ${P.join(", ")} }`:"{}"}return m(T)}function M(T){if(!d(T))return m(T);try{return JSON.stringify(T,null,2)}catch{return m(T)}}function R(T,P,$){return`${T}:${P}:${$}`}function X(T){return T.split("/").pop()??T}function S(T){io(T)}function k(T){return String(T.componentUid)}const F=fe(()=>{const T=new Map,P=new Map;function $(j){const z=k(j),le=T.get(z);if(le)return le;const pe={id:z,label:X(j.componentFile),componentName:j.componentName??X(j.componentFile),componentFile:j.componentFile,type:"consumer",provides:[],injects:[],children:[]};return T.set(z,pe),P.set(z,j.parentUid!==void 0?String(j.parentUid):null),pe}const y=new Map;for(const j of t.value.injects){const z=y.get(j.key)??[];z.push(j),y.set(j.key,z)}const b=new Map;for(const j of t.value.provides)b.set(j.componentUid,j.componentName);for(const j of t.value.injects)b.set(j.componentUid,j.componentName);for(const j of t.value.provides){const z=$(j),le=y.get(j.key)??[];z.provides.push({key:j.key,val:g(j.valueSnapshot),raw:j.valueSnapshot,reactive:j.isReactive,complex:d(j.valueSnapshot),scope:j.scope??"component",isShadowing:j.isShadowing??!1,consumerUids:le.map(pe=>pe.componentUid),consumerNames:le.map(pe=>pe.componentName)})}for(const j of t.value.injects)$(j).injects.push({key:j.key,from:j.resolvedFromFile??null,fromName:j.resolvedFromUid!==void 0?b.get(j.resolvedFromUid)??null:null,ok:j.resolved});for(const j of T.values())j.injects.some(z=>!z.ok)?j.type="error":j.provides.length&&j.injects.length?j.type="both":j.provides.length?j.type="provider":j.type="consumer";const x=[];for(const[j,z]of T.entries()){const le=P.get(j),pe=le?T.get(le):void 0;pe?pe.children.push(z):x.push(z)}return x}),B=de("all"),Z=de(""),N=de(null),ae=de(new Set);Mt(N,()=>{ae.value=new Set});function V(T){const P=new Set(ae.value);P.has(T)?P.delete(T):P.add(T),ae.value=P}const W=fe(()=>{const T=new Set,P=[...F.value];for(;P.length;){const $=P.pop();$.provides.forEach(y=>T.add(y.key)),$.injects.forEach(y=>T.add(y.key)),P.push(...$.children)}return[...T]}),q=fe(()=>{function T(P){const $=[],y=[P];for(;y.length;){const x=y.pop();$.push(x);for(let j=x.children.length-1;j>=0;j--)y.push(x.children[j])}const b=new Map;for(let x=$.length-1;x>=0;x--){const j=$[x],z=j.children.map(pe=>b.get(pe)??null).filter(pe=>pe!==null);!(r(j,B.value)&&a(j,Z.value))&&!z.length?b.set(j,null):b.set(j,{...j,children:z})}return b.get(P)??null}return F.value.map(T).filter(Boolean)});Mt([q,N],([T,P])=>{if(!P)return;const $=new Set,y=[...T];for(;y.length;){const b=y.pop();$.add(b.id),y.push(...b.children)}$.has(P.id)||(N.value=null)});const G=fe(()=>{const T=[],P=Xt;let $=P;for(const y of q.value){const b=[{node:y,depth:0,slotLeft:$,parentId:null}];for(;b.length;){const{node:j,depth:z,slotLeft:le,parentId:pe}=b.pop(),ot=c(j)*(Jt+Xt)-Xt;T.push({data:j,parentId:pe,x:Math.round(le+ot/2),y:Math.round(P+z*(Gt+bu)+Gt/2)});let qe=le;const Fe=[];for(const Te of j.children){const Ze=c(Te);Fe.push({node:Te,depth:z+1,slotLeft:qe,parentId:j.id}),qe+=Ze*(Jt+Xt)}for(let Te=Fe.length-1;Te>=0;Te--)b.push(Fe[Te])}const x=c(y);$+=x*(Jt+Xt)+Xt*2}return T}),ue=fe(()=>G.value.reduce((T,P)=>Math.max(T,P.x+Jt/2+20),520)),me=fe(()=>G.value.reduce((T,P)=>Math.max(T,P.y+Gt/2+20),200)),H=fe(()=>{const T=new Map(G.value.map(P=>[P.data.id,P]));return G.value.filter(P=>P.parentId!==null).map(P=>{const $=T.get(P.parentId);return{id:`${$.data.id}--${P.data.id}`,x1:$.x,y1:$.y+Gt/2,x2:P.x,y2:P.y-Gt/2}})});return(T,P)=>(w(),C("div",jc,[i("div",Dc,[i("button",{class:ie({active:B.value==="all"}),onClick:P[0]||(P[0]=$=>B.value="all")},"all keys",2),(w(!0),C(_e,null,Ce(W.value,$=>(w(),C("button",{key:$,class:ie(["provide-graph__key-filter mono",{active:B.value===$}]),onClick:y=>B.value=$},v($),11,Hc))),128)),i("button",{class:ie(["provide-graph__toolbar-spacer",{"danger-active":B.value==="shadow"}]),onClick:P[1]||(P[1]=$=>B.value=B.value==="shadow"?"all":"shadow")}," shadowed ",2),i("button",{class:ie({"danger-active":B.value==="warn"}),onClick:P[2]||(P[2]=$=>B.value=B.value==="warn"?"all":"warn")}," warnings ",2),Bt(i("input",{"onUpdate:modelValue":P[3]||(P[3]=$=>Z.value=$),type:"search",class:"provide-graph__search",placeholder:"search component or key…"},null,512),[[os,Z.value]])]),i("div",Vc,[i("div",Uc,[P[7]||(P[7]=sa('<div class="provide-graph__legend" data-v-f19461a8><span class="provide-graph__legend-dot provide-graph__legend-dot--provides" data-v-f19461a8></span><span data-v-f19461a8>provides</span><span class="provide-graph__legend-dot provide-graph__legend-dot--both" data-v-f19461a8></span><span data-v-f19461a8>both</span><span class="provide-graph__legend-dot provide-graph__legend-dot--injects" data-v-f19461a8></span><span data-v-f19461a8>injects</span><span class="provide-graph__legend-dot provide-graph__legend-dot--missing" data-v-f19461a8></span><span data-v-f19461a8>missing provider</span></div>',1)),G.value.length?(w(),C("div",Bc,[i("div",{class:"provide-graph__canvas-wrap",style:Ae({width:`${ue.value}px`,height:`${me.value}px`})},[(w(),C("svg",{class:"provide-graph__edges-svg",width:ue.value,height:me.value,viewBox:`0 0 ${ue.value} ${me.value}`},[(w(!0),C(_e,null,Ce(H.value,$=>(w(),C("path",{key:$.id,d:`M ${$.x1},${$.y1} C ${$.x1},${($.y1+$.y2)/2} ${$.x2},${($.y1+$.y2)/2} ${$.x2},${$.y2}`,class:"provide-graph__edge",fill:"none"},null,8,Kc))),128))],8,Wc)),(w(!0),C(_e,null,Ce(G.value,$=>{var y;return w(),C("div",{key:$.data.id,class:ie(["provide-graph__node",{"provide-graph__node--selected":((y=N.value)==null?void 0:y.id)===$.data.id}]),style:Ae({left:`${$.x-Jt/2}px`,top:`${$.y-Gt/2}px`,width:`${Jt}px`,"--node-color":l($.data)}),onClick:b=>N.value=$.data},[i("span",{class:"provide-graph__node-dot",style:Ae({background:l($.data)})},null,4),i("span",zc,v($.data.label),1),$.data.provides.length?(w(),C("span",Jc," +"+v($.data.provides.length),1)):se("",!0),$.data.injects.some(b=>!b.ok)?(w(),C("span",Gc,"!")):se("",!0)],14,qc)}),128))],4)])):(w(),C("div",Xc,v(Me(s)?"No components match the current provide/inject filter.":"Waiting for connection to the Nuxt app…"),1))]),N.value?(w(),C("div",{key:0,class:"tracker-resize-handle",onMousedown:P[4]||(P[4]=(...$)=>Me(o)&&Me(o)(...$))},null,32)):se("",!0),N.value?(w(),C("div",{key:1,class:"provide-graph__detail tracker-detail-panel",style:Ae({width:Me(n)+"px"})},[i("div",Yc,[i("span",Qc,v(N.value.label),1),N.value.componentFile&&N.value.componentFile!=="unknown"?(w(),C("button",{key:0,class:"jump-btn",title:"Open in editor",onClick:P[5]||(P[5]=$=>S(N.value.componentFile))}," open ↗ ")):se("",!0),i("button",{onClick:P[6]||(P[6]=$=>N.value=null)},"×")]),N.value.provides.length?(w(),C("div",Zc,[i("div",eu,"provides ("+v(N.value.provides.length)+")",1),i("div",tu,[(w(!0),C(_e,null,Ce(N.value.provides,($,y)=>(w(),C("div",{key:R(N.value.id,$.key,y),class:"provide-row"},[i("div",su,[i("span",nu,v($.key),1),i("span",{class:"mono text-sm muted row-value-preview",title:$.val},v($.val),9,ou),i("span",{class:ie(["badge scope-badge",`scope-${$.scope}`])},v($.scope),3),i("span",{class:ie(["badge",$.reactive?"badge-ok":"badge-gray"])},v($.reactive?"reactive":"static"),3),$.complex?(w(),C("button",{key:0,class:"row-toggle mono",onClick:b=>V(R(N.value.id,$.key,y))},v(ae.value.has(R(N.value.id,$.key,y))?"hide":"view"),9,lu)):se("",!0)]),$.isShadowing?(w(),C("div",iu,"shadows a parent provide with the same key")):se("",!0),$.consumerNames.length?(w(),C("div",ru,[P[8]||(P[8]=i("span",{class:"muted text-sm"},"used by:",-1)),(w(!0),C(_e,null,Ce($.consumerNames,b=>(w(),C("span",{key:b,class:"consumer-chip mono"},v(b),1))),128)),$.consumerNames.length?se("",!0):(w(),C("span",au,"no consumers"))])):(w(),C("div",cu,"no consumers detected")),$.complex&&ae.value.has(R(N.value.id,$.key,y))?(w(),C("pre",uu,v(M($.raw)),1)):se("",!0)]))),128))])])):se("",!0),N.value.injects.length?(w(),C("div",{key:1,class:"detail-section",style:Ae({marginTop:N.value.provides.length?"10px":"0"})},[i("div",du,"injects ("+v(N.value.injects.length)+")",1),i("div",fu,[(w(!0),C(_e,null,Ce(N.value.injects,$=>(w(),C("div",{key:$.key,class:ie(["inject-row",{"inject-miss":!$.ok}])},[i("span",pu,v($.key),1),$.ok?(w(),C("span",hu,"resolved")):(w(),C("span",mu,"no provider")),i("span",{class:ie(["mono text-sm row-from",$.fromName?"":"muted"]),title:$.from??"undefined"},v($.fromName??$.from??"undefined"),11,_u)],2))),128))])],4)):se("",!0),!N.value.provides.length&&!N.value.injects.length?(w(),C("div",vu," no provide/inject in this component ")):se("",!0)],4)):(w(),C("div",gu,v(Me(s)?"Click a node to inspect.":"Waiting for connection to the Nuxt app…"),1))])]))}}),ku=is(yu,[["__scopeId","data-v-f19461a8"]]),xu={class:"composable-tracker tracker-view"},wu={class:"composable-tracker__stats tracker-stats-row"},$u={class:"stat-card"},Cu={class:"stat-val"},Su={class:"stat-card"},Tu={class:"stat-val stat-val--active"},Mu={class:"stat-card"},Eu={class:"stat-val stat-val--error"},Ou={class:"stat-card"},Au={class:"stat-val"},Iu={class:"composable-tracker__toolbar tracker-toolbar"},Lu=["title"],Nu={class:"composable-tracker__list"},Pu=["onClick"],Ru={class:"composable-tracker__card-header"},Fu={class:"composable-tracker__identity"},ju={class:"composable-tracker__name mono"},Du={class:"composable-tracker__file muted mono"},Hu={class:"composable-tracker__meta"},Vu={key:0,class:"badge badge-warn"},Uu={key:1,class:"badge badge-warn"},Bu={key:2,class:"badge badge-err"},Wu={key:3,class:"badge badge-ok"},Ku={key:4,class:"badge badge-gray"},qu={key:0,class:"composable-tracker__refs-preview"},zu=["title"],Ju={class:"composable-tracker__ref-chip-key"},Gu={class:"composable-tracker__ref-chip-val"},Xu={key:0,class:"composable-tracker__ref-chip-shared-dot",title:"global"},Yu={key:0,class:"muted text-sm"},Qu={key:0,class:"composable-tracker__leak-banner"},Zu={key:1,class:"composable-tracker__global-banner"},ed={key:2,class:"composable-tracker__compact-muted muted text-sm"},td=["title","onClick"],sd={class:"composable-tracker__ref-row-actions"},nd=["title","onClick"],od={key:1,class:"badge badge-amber text-xs"},ld=["onClick"],id={class:"composable-tracker__section-label composable-tracker__section-label--spaced tracker-section-label"},rd={class:"composable-tracker__section-label-meta muted"},ad={class:"composable-tracker__history-list"},cd={class:"composable-tracker__history-time mono muted"},ud={class:"composable-tracker__history-key mono"},dd={class:"composable-tracker__history-val mono"},fd={key:0,class:"composable-tracker__compact-muted muted text-sm"},pd={class:"composable-tracker__context-label muted text-sm"},hd={class:"composable-tracker__lifecycle-row"},md={class:"composable-tracker__context-value mono text-sm"},_d={class:"composable-tracker__lifecycle-row"},vd={class:"composable-tracker__context-value composable-tracker__context-value--muted mono text-sm muted"},gd={class:"composable-tracker__lifecycle-row"},bd={class:"composable-tracker__context-value composable-tracker__context-value--row composable-tracker__context-value--muted mono text-sm muted"},yd=["onClick"],kd={class:"composable-tracker__lifecycle-row"},xd={class:"composable-tracker__context-value composable-tracker__context-value--muted mono text-sm muted"},wd={class:"composable-tracker__lifecycle-row"},$d={class:"composable-tracker__context-value mono text-sm"},Cd={class:"composable-tracker__lifecycle-row"},Sd={class:"composable-tracker__context-value mono text-sm"},Td={key:0,class:"composable-tracker__empty muted text-sm"},Md={key:0,class:"composable-tracker__lookup-panel"},Ed={class:"composable-tracker__lookup-header"},Od={class:"mono text-sm"},Ad={class:"muted text-sm"},Id={key:0,class:"composable-tracker__lookup-empty muted text-sm"},Ld={class:"mono text-sm"},Nd={class:"muted text-sm"},Pd={class:"composable-tracker__lookup-route muted text-sm"},Rd={class:"composable-tracker__edit-dialog"},Fd={class:"composable-tracker__edit-dialog-header"},jd={class:"mono"},Dd={key:0,class:"composable-tracker__edit-error text-sm"},Hd={class:"composable-tracker__edit-actions"},Vd=Wt({__name:"ComposableTracker",setup(e){const{composables:t,connected:s,features:n,clearComposables:o}=ls(),l=fe(()=>{var y;return((y=n.value)==null?void 0:y.composableNavigationMode)==="session"?"session":"route"});function r(){const y=l.value==="route"?"session":"route";Ya(y)}function a(){o()}function c(y){if(y===null)return"null";if(y===void 0)return"undefined";if(typeof y=="string")return`"${y}"`;if(typeof y=="object")try{const b=JSON.stringify(y);return b.length>80?b.slice(0,80)+"…":b}catch{return String(y)}return String(y)}function m(y){if(y===null)return"null";if(y===void 0)return"undefined";if(typeof y=="string")return`"${y}"`;if(typeof y=="object")try{return JSON.stringify(y,null,2)}catch{return String(y)}return String(y)}function d(y){return y.split("/").pop()??y}function g(y){io(y)}const M=de("all"),R=de(""),X=de(null),S=fe(()=>t.value),k=fe(()=>({mounted:S.value.filter(y=>y.status==="mounted").length,leaks:S.value.filter(y=>y.leak).length})),F=fe(()=>{const b=[...S.value].reverse().filter(z=>{if(M.value==="leak"&&!z.leak||M.value==="mounted"&&z.status!=="mounted"||M.value==="unmounted"&&z.status!=="unmounted")return!1;const le=R.value.toLowerCase();if(le){const pe=z.name.toLowerCase().includes(le),Ue=z.componentFile.toLowerCase().includes(le),ot=Object.keys(z.refs).some(Fe=>Fe.toLowerCase().includes(le)),qe=Object.values(z.refs).some(Fe=>{try{return String(JSON.stringify(Fe.value)).toLowerCase().includes(le)}catch{return!1}});if(!pe&&!Ue&&!ot&&!qe)return!1}return!0}),x=[],j=[];for(const z of b)z.isLayoutComposable?x.push(z):j.push(z);return[...x,...j]});function B(y){return[{label:"onMounted",ok:y.lifecycle.hasOnMounted,status:y.lifecycle.hasOnMounted?"registered":"not used"},{label:"onUnmounted",ok:y.lifecycle.hasOnUnmounted,status:y.lifecycle.hasOnUnmounted?"registered":"missing"},{label:"watchers cleaned",ok:y.lifecycle.watchersCleaned,status:y.lifecycle.watchersCleaned?"all stopped":"NOT stopped"},{label:"intervals cleared",ok:y.lifecycle.intervalsCleaned,status:y.lifecycle.intervalsCleaned?"all cleared":"NOT cleared"}]}function Z(y){return y==="computed"?"badge-info":y==="reactive"?"badge-purple":"badge-gray"}const N=de(new Set);function ae(y,b){return`${y}:${b}`}function V(y){if(y==null||typeof y!="object")return!1;try{return JSON.stringify(y).length>60}catch{return!1}}function W(y,b){return N.value.has(ae(y,b))}function q(y,b){const x=ae(y,b),j=new Set(N.value);j.has(x)?j.delete(x):j.add(x),N.value=j}const G=de(null),ue=fe(()=>{if(!G.value)return[];const y=G.value;return S.value.filter(b=>y in b.refs)});function me(y){G.value=G.value===y?null:y}const H=de(null),T=de("");function P(y,b,x){T.value="",H.value={id:y,key:b,rawValue:JSON.stringify(x,null,2)}}function $(){if(!H.value)return;let y;try{y=JSON.parse(H.value.rawValue),T.value=""}catch(b){T.value=`Invalid JSON: ${b.message}`;return}Qa(H.value.id,H.value.key,y),H.value=null}return(y,b)=>(w(),C("div",xu,[i("div",wu,[i("div",$u,[b[11]||(b[11]=i("div",{class:"stat-label"},"total",-1)),i("div",Cu,v(S.value.length),1)]),i("div",Su,[b[12]||(b[12]=i("div",{class:"stat-label"},"mounted",-1)),i("div",Tu,v(k.value.mounted),1)]),i("div",Mu,[b[13]||(b[13]=i("div",{class:"stat-label"},"leaks",-1)),i("div",Eu,v(k.value.leaks),1)]),i("div",Ou,[b[14]||(b[14]=i("div",{class:"stat-label"},"instances",-1)),i("div",Au,v(S.value.length),1)])]),i("div",Iu,[i("button",{class:ie({active:M.value==="all"}),onClick:b[0]||(b[0]=x=>M.value="all")},"all",2),i("button",{class:ie({active:M.value==="mounted"}),onClick:b[1]||(b[1]=x=>M.value="mounted")},"mounted",2),i("button",{class:ie({"danger-active":M.value==="leak"}),onClick:b[2]||(b[2]=x=>M.value="leak")},"leaks only",2),i("button",{class:ie({active:M.value==="unmounted"}),onClick:b[3]||(b[3]=x=>M.value="unmounted")},"unmounted",2),i("button",{class:"composable-tracker__mode-btn",title:`switch to ${l.value==="route"?"session":"route"} mode`,onClick:r}," mode: "+v(l.value),9,Lu),b[15]||(b[15]=i("span",{class:"tracker-toolbar__spacer"},null,-1)),Bt(i("input",{"onUpdate:modelValue":b[4]||(b[4]=x=>R.value=x),class:"composable-tracker__search",type:"search",placeholder:"search name, file, or ref…"},null,512),[[os,R.value]]),l.value==="session"?(w(),C("button",{key:0,class:"composable-tracker__clear-btn",title:"Clear session history",onClick:a}," clear session ")):se("",!0)]),i("div",Nu,[(w(!0),C(_e,null,Ce(F.value,x=>{var j;return w(),C("div",{key:x.id,class:ie(["composable-tracker__card",{"composable-tracker__card--leak":x.leak,"composable-tracker__card--expanded":X.value===x.id}]),onClick:z=>X.value=X.value===x.id?null:x.id},[i("div",Ru,[i("div",Fu,[i("span",ju,v(x.name),1),i("span",Du,v(d(x.componentFile)),1)]),i("div",Hu,[x.watcherCount>0&&!x.leak?(w(),C("span",Vu,v(x.watcherCount)+"w",1)):se("",!0),x.intervalCount>0&&!x.leak?(w(),C("span",Uu,v(x.intervalCount)+"t",1)):se("",!0),x.leak?(w(),C("span",Bu,"leak")):x.status==="mounted"?(w(),C("span",Wu,"mounted")):(w(),C("span",Ku,"unmounted"))])]),Object.keys(x.refs).length?(w(),C("div",qu,[(w(!0),C(_e,null,Ce(Object.entries(x.refs).slice(0,3),([z,le])=>{var pe,Ue,ot;return w(),C("span",{key:z,class:ie(["composable-tracker__ref-chip",{"composable-tracker__ref-chip--reactive":le.type==="reactive","composable-tracker__ref-chip--computed":le.type==="computed","composable-tracker__ref-chip--shared":(pe=x.sharedKeys)==null?void 0:pe.includes(z)}]),title:(Ue=x.sharedKeys)!=null&&Ue.includes(z)?"shared global state":""},[i("span",Ju,v(z),1),i("span",Gu,v(c(le.value)),1),(ot=x.sharedKeys)!=null&&ot.includes(z)?(w(),C("span",Xu)):se("",!0)],10,zu)}),128)),Object.keys(x.refs).length>3?(w(),C("span",Yu," +"+v(Object.keys(x.refs).length-3)+" more ",1)):se("",!0)])):se("",!0),X.value===x.id?(w(),C("div",{key:1,class:"composable-tracker__detail",onClick:b[5]||(b[5]=zt(()=>{},["stop"]))},[x.leak?(w(),C("div",Qu,v(x.leakReason),1)):se("",!0),(j=x.sharedKeys)!=null&&j.length?(w(),C("div",Zu,[b[17]||(b[17]=i("span",{class:"composable-tracker__global-dot"},null,-1)),i("span",null,[b[16]||(b[16]=i("strong",null,"global state",-1)),Pe(" — "+v(x.sharedKeys.join(", "))+" "+v(x.sharedKeys.length===1?"is":"are")+" shared across all instances of "+v(x.name),1)])])):se("",!0),b[25]||(b[25]=i("div",{class:"composable-tracker__section-label tracker-section-label"},"reactive state",-1)),Object.keys(x.refs).length?se("",!0):(w(),C("div",ed," no tracked state returned ")),(w(!0),C(_e,null,Ce(Object.entries(x.refs),([z,le])=>{var pe;return w(),C("div",{key:z,class:"composable-tracker__ref-row"},[i("span",{class:"composable-tracker__ref-key composable-tracker__ref-key--clickable mono text-sm",title:`click to see all instances exposing '${z}'`,onClick:zt(Ue=>me(z),["stop"])},v(z),9,td),i("span",{class:ie(["composable-tracker__ref-val mono text-sm",{"composable-tracker__ref-val--full":V(le.value)&&W(x.id,z),"composable-tracker__ref-val--collapsed":V(le.value)&&!W(x.id,z)}])},v(V(le.value)&&!W(x.id,z)?c(le.value):m(le.value)),3),i("div",sd,[V(le.value)?(w(),C("button",{key:0,class:"composable-tracker__expand-btn",title:W(x.id,z)?"Collapse":"Expand",onClick:zt(Ue=>q(x.id,z),["stop"])},v(W(x.id,z)?"▲":"▼"),9,nd)):se("",!0),i("span",{class:ie(["badge text-xs",Z(le.type)])},v(le.type),3),(pe=x.sharedKeys)!=null&&pe.includes(z)?(w(),C("span",od,"global")):se("",!0),le.type==="ref"?(w(),C("button",{key:2,class:"composable-tracker__edit-btn",title:"Edit value",onClick:zt(Ue=>P(x.id,z,le.value),["stop"])}," edit ",8,ld)):se("",!0)])])}),128)),x.history&&x.history.length?(w(),C(_e,{key:3},[i("div",id,[b[18]||(b[18]=Pe(" change history ",-1)),i("span",rd,"("+v(x.history.length)+" events)",1)]),i("div",ad,[(w(!0),C(_e,null,Ce([...x.history].reverse().slice(0,20),(z,le)=>(w(),C("div",{key:le,class:"composable-tracker__history-row"},[i("span",cd,"+"+v((z.t/1e3).toFixed(2))+"s",1),i("span",ud,v(z.key),1),i("span",dd,v(c(z.value)),1)]))),128)),x.history.length>20?(w(),C("div",fd," … "+v(x.history.length-20)+" earlier events ",1)):se("",!0)])],64)):se("",!0),b[26]||(b[26]=i("div",{class:"composable-tracker__section-label composable-tracker__section-label--spaced tracker-section-label"}," lifecycle ",-1)),(w(!0),C(_e,null,Ce(B(x),z=>(w(),C("div",{key:z.label,class:"composable-tracker__lifecycle-row"},[i("span",{class:ie(["composable-tracker__lifecycle-dot",z.ok?"composable-tracker__lifecycle-dot--ok":"composable-tracker__lifecycle-dot--error"])},null,2),i("span",pd,v(z.label),1),i("span",{class:ie(["composable-tracker__lifecycle-status text-sm",z.ok?"composable-tracker__lifecycle-status--ok":"composable-tracker__lifecycle-status--error"])},v(z.status),3)]))),128)),b[27]||(b[27]=i("div",{class:"composable-tracker__section-label composable-tracker__section-label--spaced tracker-section-label"}," context ",-1)),i("div",hd,[b[19]||(b[19]=i("span",{class:"composable-tracker__context-label muted text-sm"},"component",-1)),i("span",md,v(d(x.componentFile)),1)]),i("div",_d,[b[20]||(b[20]=i("span",{class:"composable-tracker__context-label muted text-sm"},"uid",-1)),i("span",vd,v(x.componentUid),1)]),i("div",gd,[b[21]||(b[21]=i("span",{class:"composable-tracker__context-label muted text-sm"},"defined in",-1)),i("span",bd,[Pe(v(x.file)+":"+v(x.line)+" ",1),i("button",{class:"composable-tracker__jump-btn",title:"Open in editor",onClick:zt(z=>g(x.file),["stop"])}," open ↗ ",8,yd)])]),i("div",kd,[b[22]||(b[22]=i("span",{class:"composable-tracker__context-label muted text-sm"},"route",-1)),i("span",xd,v(x.route),1)]),i("div",wd,[b[23]||(b[23]=i("span",{class:"composable-tracker__context-label muted text-sm"},"watchers",-1)),i("span",$d,v(x.watcherCount),1)]),i("div",Cd,[b[24]||(b[24]=i("span",{class:"composable-tracker__context-label muted text-sm"},"intervals",-1)),i("span",Sd,v(x.intervalCount),1)])])):se("",!0)],10,Pu)}),128)),F.value.length?se("",!0):(w(),C("div",Td,v(Me(s)?"No composables recorded yet.":"Waiting for connection to the Nuxt app…"),1))]),Ie(Ys,{name:"slide"},{default:ws(()=>[G.value?(w(),C("div",Md,[i("div",Ed,[i("span",Od,v(G.value),1),i("span",Ad,"— "+v(ue.value.length)+" instance"+v(ue.value.length!==1?"s":""),1),i("button",{class:"composable-tracker__clear-btn composable-tracker__lookup-close",onClick:b[6]||(b[6]=x=>G.value=null)},"✕")]),ue.value.length?se("",!0):(w(),C("div",Id," No mounted instances expose this key. ")),(w(!0),C(_e,null,Ce(ue.value,x=>(w(),C("div",{key:x.id,class:"composable-tracker__lookup-row"},[i("span",Ld,v(x.name),1),i("span",Nd,v(d(x.componentFile)),1),i("span",Pd,v(x.route),1)]))),128))])):se("",!0)]),_:1}),Ie(Ys,{name:"fade"},{default:ws(()=>[H.value?(w(),C("div",{key:0,class:"composable-tracker__edit-overlay",onClick:b[10]||(b[10]=zt(x=>H.value=null,["self"]))},[i("div",Rd,[i("div",Fd,[b[28]||(b[28]=Pe(" edit ",-1)),i("span",jd,v(H.value.key),1),i("button",{class:"composable-tracker__clear-btn composable-tracker__dialog-close",onClick:b[7]||(b[7]=x=>H.value=null)},"✕")]),b[29]||(b[29]=i("p",{class:"composable-tracker__edit-help muted text-sm"},[Pe(" Value applied immediately to the live ref. Only "),i("span",{class:"mono"},"ref"),Pe(" values are writable. ")],-1)),Bt(i("textarea",{"onUpdate:modelValue":b[8]||(b[8]=x=>H.value.rawValue=x),class:"composable-tracker__edit-textarea",rows:"6",spellcheck:"false"},null,512),[[os,H.value.rawValue]]),T.value?(w(),C("div",Dd,v(T.value),1)):se("",!0),i("div",Hd,[i("button",{onClick:$},"apply"),i("button",{class:"composable-tracker__clear-btn",onClick:b[9]||(b[9]=x=>H.value=null)},"cancel")])])])):se("",!0)]),_:1})]))}}),Ud=is(Vd,[["__scopeId","data-v-30451db2"]]),Bd={class:"render-heatmap tracker-view"},Wd={class:"render-heatmap__controls tracker-toolbar"},Kd={class:"render-heatmap__mode-group"},qd={class:"render-heatmap__threshold-group"},zd=["min","max","step"],Jd={class:"mono text-sm"},Gd=["value"],Xd={class:"render-heatmap__stats tracker-stats-row"},Yd={class:"stat-card"},Qd={class:"stat-val"},Zd={class:"stat-card"},ef={class:"stat-val"},tf={class:"stat-card"},sf={class:"stat-val stat-val--error"},nf={class:"stat-card"},of={class:"stat-val"},lf={class:"render-heatmap__inspector"},rf={class:"render-heatmap__roots-panel"},af=["onClick"],cf={class:"render-heatmap__root-copy"},uf={class:"render-heatmap__root-label mono"},df={class:"render-heatmap__root-sub muted mono"},ff={class:"render-heatmap__root-meta mono"},pf={key:0,class:"render-heatmap__detail-empty"},hf={class:"render-heatmap__tree-panel"},mf={class:"render-heatmap__tree-toolbar"},_f=["value"],vf={class:"render-heatmap__tree-frame"},gf={class:"render-heatmap__tree-canvas tree-canvas"},bf={key:0,class:"render-heatmap__detail-empty"},yf={class:"render-heatmap__detail-header"},kf={class:"render-heatmap__detail-title mono bold"},xf={class:"render-heatmap__detail-pill-row"},wf={class:"render-heatmap__detail-pill mono"},$f={class:"render-heatmap__detail-pill render-heatmap__detail-pill--muted mono muted"},Cf={key:0,class:"render-heatmap__detail-pill mono"},Sf={key:1,class:"render-heatmap__detail-pill render-heatmap__detail-pill--persistent mono"},Tf={key:2,class:"render-heatmap__detail-pill render-heatmap__detail-pill--hydrated mono"},Mf={class:"render-heatmap__detail-pill mono"},Ef={class:"render-heatmap__meta-grid"},Of={class:"mono text-sm"},Af={class:"mono text-sm"},If={class:"render-heatmap__file-row mono text-sm muted"},Lf={class:"mono text-sm"},Nf={class:"mono text-sm"},Pf={class:"mono text-sm"},Rf={class:"render-heatmap__meta-grid"},Ff={class:"mono text-sm"},jf={class:"mono text-sm"},Df={class:"mono text-sm"},Hf={class:"mono text-sm"},Vf={class:"mono text-sm"},Uf={class:"mono text-sm"},Bf={class:"mono text-sm"},Wf={key:0,class:"muted text-sm"},Kf={class:"tracker-section-label render-heatmap__section-label render-heatmap__section-label--timeline"},qf={class:"render-heatmap__section-label-meta muted"},zf={key:1,class:"muted text-sm"},Jf={key:2,class:"render-heatmap__timeline-list"},Gf={class:"render-heatmap__timeline-time mono muted"},Xf={class:"render-heatmap__timeline-dur mono"},Yf={key:0,class:"render-heatmap__timeline-trigger mono muted"},Qf={class:"render-heatmap__timeline-route mono muted"},Zf={key:0,class:"render-heatmap__compact-muted muted text-sm"},ep={key:1,class:"render-heatmap__detail-empty"},tp=Wt({__name:"RenderHeatmap",setup(e){const t=Wt({name:"TreeNode",props:{node:Object,mode:String,threshold:Number,selected:String,expandedIds:Object},emits:["select","toggle"],setup(p,{emit:h}){function E(Q){return p.mode==="count"?Q.rerenders+Q.mountCount:Q.avgMs}function re(Q){return E(Q)>=p.threshold}function Y(Q){return{selected:p.selected===Q.id,hot:re(Q)}}return()=>{var ro,ao,co;const Q=p.node,Oe=((ro=p.expandedIds)==null?void 0:ro.has(Q.id))??!1,$e=Q.children.length>0,Ge=p.mode==="count"?`${Q.rerenders+Q.mountCount}`:`${Q.avgMs.toFixed(1)}ms`,Is=p.mode==="count"?"renders":"avg",$t=[],mi=(ao=Q.element)==null?void 0:ao.toLowerCase();if(Q.element&&Q.element!==Q.label&&!["div","span","p"].includes(mi??"")&&$t.push(Q.element),Q.file!=="unknown"){const Be=((co=Q.file.split("/").pop())==null?void 0:co.replace(/\.vue$/i,""))??Q.file;Be!==Q.label&&!$t.includes(Be)&&$t.push(Be)}return Le("div",{class:"tree-node"},[Le("div",{class:["tree-row",Y(Q)],style:{"--tree-depth":String(Q.depth)},onClick:Be=>{Be.stopPropagation(),h("select",Q)}},[Le("span",{class:"tree-rail","aria-hidden":"true"}),Le("button",{class:["tree-toggle",{empty:!$e}],disabled:!$e,onClick:Be=>{Be.stopPropagation(),$e&&h("toggle",Q.id)}},$e?Oe?"⌄":"›":""),Le("div",{class:"tree-copy"},[Le("span",{class:"tree-name mono",title:Q.label},Q.label),$t.length?Le("div",{class:"tree-badges"},$t.slice(0,1).map(Be=>Le("span",{class:"tree-badge mono",title:Be},Be))):null]),Le("div",{class:"tree-metrics mono"},[Q.isPersistent?Le("span",{class:"tree-persistent-pill",title:"Layout / persistent component — survives navigation"},"persistent"):null,Q.isHydrationMount?Le("span",{class:"tree-hydration-pill",title:"First mount was SSR hydration — not a user-triggered render"},"hydrated"):null,Le("span",{class:"tree-metric-pill"},`${Ge} ${Is}`),Q.file&&Q.file!=="unknown"?Le("button",{class:"tree-jump-btn",title:`Open ${Q.file} in editor`,onClick:Be=>{Be.stopPropagation(),ee(Q.file)}},"↗"):null])]),Oe&&$e?Le("div",{class:"tree-children"},Q.children.map(Be=>Le(t,{node:Be,mode:p.mode,threshold:p.threshold,selected:p.selected,expandedIds:p.expandedIds,onSelect:_n=>h("select",_n),onToggle:_n=>h("toggle",_n)}))):null])}}}),{renders:s,connected:n}=ls(),{paneWidth:o,onHandleMouseDown:l}=hn(280,"observatory:heatmap:detailWidth"),r=de("count"),a=de(""),c="3",m="1600",d=de(Number(c)),g=de(Number(m)),M=fe({get:()=>r.value==="count"?d.value:g.value,set:p=>{r.value==="count"?d.value=p:g.value=p}}),R=de(!1),X=de(!1),S=de(""),k=de(null),F=de(null),B=de(new Set),Z=de([]),N=de(!1);function ae(p){var E;if(p.name&&p.name!=="unknown"&&!/^Component#\d+$/.test(p.name))return p.name;if(p.element)return p.element;const h=(E=p.file.split("/").pop())==null?void 0:E.replace(/\.vue$/i,"");return h&&h!=="unknown"?h:p.name&&p.name!=="unknown"?p.name:`Component#${p.uid}`}function V(p){return`${p.type}: ${p.key}`}function W(p){const h=new Map;for(const Y of p)h.set(String(Y.uid),{id:String(Y.uid),label:ae(Y),file:Y.file,element:Y.element,depth:0,path:[],rerenders:Y.rerenders??0,mountCount:Y.mountCount??1,avgMs:Y.avgMs,triggers:Y.triggers.map(V),timeline:Y.timeline??[],children:[],parentId:Y.parentUid!==void 0?String(Y.parentUid):void 0,isPersistent:!!Y.isPersistent,isHydrationMount:!!Y.isHydrationMount,route:Y.route??"/"});const E=[];for(const Y of p){const Q=h.get(String(Y.uid));if(!Q)continue;const Oe=Y.parentUid!==void 0?h.get(String(Y.parentUid)):void 0;Oe?(Q.parentLabel=Oe.label,Oe.children.push(Q)):E.push(Q)}function re(Y,Q=[],Oe=0){Y.depth=Oe,Y.path=[...Q,Y.label],Y.children.forEach($e=>re($e,Y.path,Oe+1))}return E.forEach(Y=>re(Y)),E}function q(p){const h=[];function E(re){h.push(re),re.children.forEach(E)}return p.forEach(E),h}function G(p){return 1+p.children.reduce((h,E)=>h+G(E),0)}function ue(p,h=new Set){return h.add(p.id),p.children.forEach(E=>ue(E,h)),h}function me(p,h,E=[]){const re=[...E,p.id];if(p.id===h)return re;for(const Y of p.children){const Q=me(Y,h,re);if(Q)return Q}return null}function H(p){if(y(p))return p;for(const h of p.children){const E=H(h);if(E)return E}return null}function T(p){if(!p)return new Set;const h=new Set;function E(re){re.children.length>0&&(h.add(re.id),re.children.forEach(E))}return E(p),h}function P(p,h){const E=T(p);if(!p||!h)return E;function re(Y){const Q=Y.children.some($e=>re($e)),Oe=b(Y,h);return Q&&E.add(Y.id),Oe||Q}return re(p),E}function $(p){return r.value==="count"?p.rerenders+p.mountCount:p.avgMs}function y(p){return $(p)>=M.value}function b(p,h){if(!h)return!0;const E=h.toLowerCase();return p.label.toLowerCase().includes(E)||p.file.toLowerCase().includes(E)||p.path.some(re=>re.toLowerCase().includes(E))||p.triggers.some(re=>re.toLowerCase().includes(E))}function x(p,h){return h?b(p,h)||p.children.some(E=>x(E,h)):!0}function j(p){return y(p)||p.children.some(h=>j(h))}function z(p){return!a.value||p.route===a.value?!0:p.timeline.some(h=>h.route===a.value)}function le(p){return z(p)||p.children.some(h=>le(h))}function pe(p,h){const E=x(p,h),re=!R.value||j(p),Y=!a.value||le(p);return E&&re&&Y}function Ue(p,h){const E=p.children.map(Oe=>Ue(Oe,h)).filter(Oe=>Oe!==null),re=!h||b(p,h)||E.length>0,Y=!R.value||y(p)||E.length>0,Q=!a.value||z(p)||E.length>0;return!re||!Y||!Q?null:{...p,children:E}}const ot=fe(()=>X.value?Z.value:s.value),qe=fe(()=>W(ot.value)),Fe=fe(()=>new Map(qe.value.map(p=>[p.id,p]))),Te=fe(()=>q(qe.value)),Ze=fe(()=>{const p=S.value.trim();return qe.value.filter(h=>pe(h,p))}),ze=fe(()=>F.value?Ze.value.find(p=>p.id===F.value)??Fe.value.get(F.value)??null:Ze.value[0]??qe.value[0]??null),wt=fe(()=>{const p=S.value.trim();return ze.value?Ue(ze.value,p):null}),mn=fe(()=>wt.value?[wt.value]:[]),u=fe(()=>Ze.value.map((p,h)=>({id:p.id,label:`App ${h+1}`,meta:`${G(p)} nodes`,root:p}))),f=fe(()=>{const p=new Set;for(const h of Te.value){h.route&&p.add(h.route);for(const E of h.timeline)E.route&&p.add(E.route)}return[...p].sort()}),_=fe(()=>Te.value.find(p=>p.id===k.value)??null),L=fe(()=>Te.value.reduce((p,h)=>p+h.rerenders+h.mountCount,0)),O=fe(()=>Te.value.filter(p=>y(p)).length),A=fe(()=>{const p=Te.value.filter(h=>h.avgMs>0);return p.length?(p.reduce((h,E)=>h+E.avgMs,0)/p.length).toFixed(1):"0.0"});Mt(qe,p=>{if(!p.length){F.value=null,k.value=null,B.value=new Set,N.value=!1;return}const h=new Set(p.map(Y=>Y.id));(!F.value||!h.has(F.value))&&(F.value=p[0].id),k.value&&!Te.value.some(Y=>Y.id===k.value)&&(k.value=null);const E=new Set(Te.value.map(Y=>Y.id)),re=new Set([...B.value].filter(Y=>E.has(Y)));if(!N.value){B.value=T(ze.value),N.value=!0;return}!S.value.trim()&&k.value&&ze.value&&(me(ze.value,k.value)??[]).forEach(Q=>re.add(Q)),B.value=re},{immediate:!0}),Mt(S,p=>{if(!ze.value)return;const h=p.trim();if(h){B.value=P(ze.value,h);return}if(k.value){const E=me(ze.value,k.value);B.value=E?new Set(E):T(ze.value);return}B.value=T(ze.value)}),Mt([R,M,r,Ze],()=>{if(!R.value)return;const p=Ze.value[0]??null;if(!p){k.value=null;return}const h=H(p);if(!h){k.value=null;return}F.value=p.id,k.value!==h.id&&(k.value=h.id),B.value=new Set(me(p,h.id)??[p.id])});function K(p){k.value=p.id;const h=qe.value.find(E=>ue(E).has(p.id));h&&(F.value=h.id,B.value=new Set(me(h,p.id)??[h.id]))}function U(p){const h=new Set(B.value);h.has(p)?h.delete(p):h.add(p),B.value=h}function D(p){F.value=p.id,B.value=T(p),N.value=!0}function I(p){const h=p.target;S.value=(h==null?void 0:h.value)??""}function te(){if(X.value){X.value=!1,Z.value=[];return}Z.value=JSON.parse(JSON.stringify(s.value)),X.value=!0}function J(p){var h;return((h=p.split("/").pop())==null?void 0:h.replace(/\.vue$/i,""))??p}function ee(p){io(p)}function oe(p){return p.path.join(" / ")}function he(p){return p<1?"<1ms":`${p.toFixed(1)}ms`}function ke(p){return`+${(p/1e3).toFixed(2)}s`}return(p,h)=>(w(),C("div",Bd,[i("div",Wd,[i("div",Kd,[i("button",{class:ie({active:r.value==="count"}),onClick:h[0]||(h[0]=E=>r.value="count")},"render count",2),i("button",{class:ie({active:r.value==="time"}),onClick:h[1]||(h[1]=E=>r.value="time")},"render time",2)]),i("div",qd,[h[8]||(h[8]=i("span",{class:"muted text-sm"},"threshold",-1)),Bt(i("input",{"onUpdate:modelValue":h[2]||(h[2]=E=>M.value=E),type:"range",min:r.value==="count"?2:4,max:r.value==="count"?20:100,step:r.value==="count"?1:4,class:"render-heatmap__threshold-range"},null,8,zd),[[os,M.value,void 0,{number:!0}]]),i("span",Jd,v(M.value)+v(r.value==="count"?"+ renders":"ms+"),1)]),i("button",{class:ie({active:R.value}),onClick:h[3]||(h[3]=E=>R.value=!R.value)},"hot only",2),Bt(i("select",{"onUpdate:modelValue":h[4]||(h[4]=E=>a.value=E),class:"route-select mono text-sm",title:"Filter by route"},[h[9]||(h[9]=i("option",{value:""},"all routes",-1)),(w(!0),C(_e,null,Ce(f.value,E=>(w(),C("option",{key:E,value:E},v(E),9,Gd))),128))],512),[[Da,a.value]]),i("button",{class:ie([{active:X.value},"render-heatmap__freeze tracker-toolbar__spacer"]),onClick:te},v(X.value?"unfreeze":"freeze snapshot"),3)]),i("div",Xd,[i("div",Yd,[h[10]||(h[10]=i("div",{class:"stat-label"},"components",-1)),i("div",Qd,v(Te.value.length),1)]),i("div",Zd,[h[11]||(h[11]=i("div",{class:"stat-label"},"total renders",-1)),i("div",ef,v(L.value),1)]),i("div",tf,[h[12]||(h[12]=i("div",{class:"stat-label"},"hot",-1)),i("div",sf,v(O.value),1)]),i("div",nf,[h[13]||(h[13]=i("div",{class:"stat-label"},"avg time",-1)),i("div",of,v(A.value)+"ms",1)])]),i("div",lf,[i("aside",rf,[h[14]||(h[14]=i("div",{class:"render-heatmap__panel-title tracker-section-label"},"apps",-1)),(w(!0),C(_e,null,Ce(u.value,E=>(w(),C("button",{key:E.id,class:ie(["render-heatmap__root-item",{active:F.value===E.id}]),onClick:re=>D(E.root)},[i("div",cf,[i("span",uf,v(E.label),1),i("span",df,v(E.root.label),1)]),i("span",ff,v(E.meta),1)],10,af))),128)),u.value.length?se("",!0):(w(),C("div",pf,"no apps match"))]),i("section",hf,[i("div",mf,[i("input",{value:S.value,class:"render-heatmap__search-input mono",placeholder:"Find components...",onInput:I},null,40,_f)]),i("div",vf,[i("div",gf,[(w(!0),C(_e,null,Ce(mn.value,E=>{var re;return w(),Ft(Me(t),{key:E.id,node:E,mode:r.value,threshold:M.value,selected:(re=_.value)==null?void 0:re.id,"expanded-ids":B.value,onSelect:K,onToggle:U},null,8,["node","mode","threshold","selected","expanded-ids"])}),128))]),mn.value.length?se("",!0):(w(),C("div",bf,v(Me(n)?"No render activity recorded yet.":"Waiting for connection to the Nuxt app…"),1))])]),i("div",{class:"tracker-resize-handle",onMousedown:h[5]||(h[5]=(...E)=>Me(l)&&Me(l)(...E))},null,32),i("aside",{class:"render-heatmap__detail-panel tracker-detail-panel",style:Ae({width:Me(o)+"px"})},[_.value?(w(),C(_e,{key:0},[i("div",yf,[i("span",kf,v(_.value.label),1),i("button",{onClick:h[6]||(h[6]=E=>k.value=null)},"×")]),i("div",xf,[i("span",wf,v(_.value.rerenders+_.value.mountCount)+" render"+v(_.value.rerenders+_.value.mountCount!==1?"s":""),1),i("span",$f,v(_.value.mountCount)+" mount"+v(_.value.mountCount!==1?"s":""),1),_.value.rerenders?(w(),C("span",Cf,v(_.value.rerenders)+" re-render"+v(_.value.rerenders!==1?"s":""),1)):se("",!0),_.value.isPersistent?(w(),C("span",Sf," persistent ")):se("",!0),_.value.isHydrationMount?(w(),C("span",Tf," hydrated ")):se("",!0),i("span",Mf,v(_.value.avgMs.toFixed(1))+"ms avg",1),i("span",{class:ie(["render-heatmap__detail-pill mono",{"render-heatmap__detail-pill--hot":y(_.value)}])},v(y(_.value)?"hot":"cool"),3)]),h[30]||(h[30]=i("div",{class:"tracker-section-label render-heatmap__section-label"},"identity",-1)),i("div",Ef,[h[15]||(h[15]=i("span",{class:"muted text-sm"},"label",-1)),i("span",Of,v(_.value.label),1),h[16]||(h[16]=i("span",{class:"muted text-sm"},"path",-1)),i("span",Af,v(oe(_.value)),1),h[17]||(h[17]=i("span",{class:"muted text-sm"},"file",-1)),i("span",If,[Pe(v(_.value.file)+" ",1),_.value.file&&_.value.file!=="unknown"?(w(),C("button",{key:0,class:"jump-btn",title:"Open in editor",onClick:h[7]||(h[7]=E=>ee(_.value.file))}," open ↗ ")):se("",!0)]),h[18]||(h[18]=i("span",{class:"muted text-sm"},"file name",-1)),i("span",Lf,v(J(_.value.file)),1),h[19]||(h[19]=i("span",{class:"muted text-sm"},"parent",-1)),i("span",Nf,v(_.value.parentLabel??"none"),1),h[20]||(h[20]=i("span",{class:"muted text-sm"},"children",-1)),i("span",Pf,v(_.value.children.length),1)]),h[31]||(h[31]=i("div",{class:"tracker-section-label render-heatmap__section-label"},"rendering",-1)),i("div",Rf,[h[21]||(h[21]=i("span",{class:"muted text-sm"},"total renders",-1)),i("span",Ff,v(_.value.rerenders+_.value.mountCount),1),h[22]||(h[22]=i("span",{class:"muted text-sm"},"re-renders",-1)),i("span",jf,v(_.value.rerenders),1),h[23]||(h[23]=i("span",{class:"muted text-sm"},"mounts",-1)),i("span",Df,v(_.value.mountCount),1),h[24]||(h[24]=i("span",{class:"muted text-sm"},"persistent",-1)),i("span",{class:ie(["mono text-sm",{"render-heatmap__persistent-value":_.value.isPersistent}])},v(_.value.isPersistent?"yes — survives navigation":"no"),3),h[25]||(h[25]=i("span",{class:"muted text-sm"},"hydration mount",-1)),i("span",Hf,v(_.value.isHydrationMount?"yes — SSR hydrated":"no"),1),h[26]||(h[26]=i("span",{class:"muted text-sm"},"avg render time",-1)),i("span",Vf,v(_.value.avgMs.toFixed(1))+"ms",1),h[27]||(h[27]=i("span",{class:"muted text-sm"},"threshold",-1)),i("span",Uf,v(M.value)+v(r.value==="count"?"+ renders":"ms+"),1),h[28]||(h[28]=i("span",{class:"muted text-sm"},"mode",-1)),i("span",Bf,v(r.value==="count"?"re-render count":"render time"),1)]),h[32]||(h[32]=i("div",{class:"tracker-section-label render-heatmap__section-label"},"triggers",-1)),(w(!0),C(_e,null,Ce(_.value.triggers,E=>(w(),C("div",{key:E,class:"render-heatmap__trigger-item mono text-sm"},v(E),1))),128)),_.value.triggers.length?se("",!0):(w(),C("div",Wf,"no triggers recorded")),i("div",Kf,[h[29]||(h[29]=Pe(" render timeline ",-1)),i("span",qf,"("+v(_.value.timeline.length)+")",1)]),_.value.timeline.length?(w(),C("div",Jf,[(w(!0),C(_e,null,Ce([..._.value.timeline].reverse().slice(0,30),(E,re)=>(w(),C("div",{key:re,class:"render-heatmap__timeline-row"},[i("span",{class:ie(["render-heatmap__timeline-kind mono",E.kind])},v(E.kind),3),i("span",Gf,v(ke(E.t)),1),i("span",Xf,v(he(E.durationMs)),1),E.triggerKey?(w(),C("span",Yf,v(E.triggerKey),1)):se("",!0),i("span",Qf,v(E.route),1)]))),128)),_.value.timeline.length>30?(w(),C("div",Zf," … "+v(_.value.timeline.length-30)+" earlier events ",1)):se("",!0)])):(w(),C("div",zf,"no timeline events yet"))],64)):(w(),C("div",ep,"click a component to inspect"))],4)])]))}}),sp=is(tp,[["__scopeId","data-v-3dd8b492"]]),np={class:"transition-timeline tracker-view"},op={class:"transition-timeline__stats tracker-stats-row"},lp={class:"stat-card"},ip={class:"stat-val"},rp={class:"stat-card"},ap={class:"stat-val stat-val--active"},cp={class:"stat-card"},up={class:"stat-val stat-val--error"},dp={class:"stat-card"},fp={class:"stat-val"},pp={class:"transition-timeline__toolbar tracker-toolbar"},hp={class:"transition-timeline__filters"},mp={class:"transition-timeline__content tracker-split"},_p={class:"transition-timeline__table tracker-table-wrap"},vp={class:"data-table"},gp=["onClick"],bp={class:"transition-timeline__name mono"},yp={class:"transition-timeline__duration mono"},kp={class:"transition-timeline__component muted"},xp={class:"transition-timeline__bar-cell"},wp={class:"transition-timeline__bar-track"},$p={key:0},Cp={colspan:"6",class:"tracker-empty-cell"},Sp={class:"transition-timeline__detail-header"},Tp={class:"transition-timeline__detail-title"},Mp={class:"transition-timeline__detail-section"},Ep={class:"transition-timeline__detail-row"},Op={class:"transition-timeline__detail-row"},Ap={class:"transition-timeline__detail-row"},Ip={class:"transition-timeline__detail-val transition-timeline__detail-val--mono mono"},Lp={key:0,class:"transition-timeline__detail-row"},Np={class:"transition-timeline__detail-val transition-timeline__detail-val--mono mono"},Pp={class:"transition-timeline__detail-section"},Rp={class:"transition-timeline__detail-row"},Fp={class:"transition-timeline__detail-val transition-timeline__detail-val--mono mono"},jp={class:"transition-timeline__detail-row"},Dp={class:"transition-timeline__detail-val transition-timeline__detail-val--mono mono"},Hp={class:"transition-timeline__detail-row"},Vp={class:"transition-timeline__detail-val transition-timeline__detail-val--mono transition-timeline__detail-val--strong mono"},Up={class:"transition-timeline__detail-section"},Bp={class:"transition-timeline__detail-row"},Wp={class:"transition-timeline__detail-row"},Kp={key:0,class:"transition-timeline__notice transition-timeline__notice--cancelled"},qp={key:1,class:"transition-timeline__notice transition-timeline__notice--active"},zp=Wt({__name:"TransitionTimeline",setup(e){const{transitions:t,connected:s}=ls(),{paneWidth:n,onHandleMouseDown:o}=hn(260,"observatory:transitions:detailWidth"),l=de("all"),r=de(""),a=de(null),c=fe(()=>{let S=[...t.value];if(r.value){const k=r.value.toLowerCase();S=S.filter(F=>F.transitionName.toLowerCase().includes(k)||F.parentComponent.toLowerCase().includes(k))}return l.value==="cancelled"?S=S.filter(k=>k.cancelled||k.phase==="interrupted"):l.value==="active"?S=S.filter(k=>k.phase==="entering"||k.phase==="leaving"):l.value==="completed"&&(S=S.filter(k=>k.phase==="entered"||k.phase==="left")),S.sort((k,F)=>{const B=k.endTime??k.startTime;return(F.endTime??F.startTime)-B})}),m=fe(()=>({total:t.value.length,active:t.value.filter(S=>S.phase==="entering"||S.phase==="leaving").length,cancelled:t.value.filter(S=>S.cancelled||S.phase==="interrupted").length,avgMs:(()=>{const S=t.value.filter(k=>k.durationMs!==void 0);return S.length?Math.round(S.reduce((k,F)=>k+(F.durationMs??0),0)/S.length):0})()})),d=fe(()=>{const S=c.value;if(!S.length)return[];const k=S.reduce((Z,N)=>Math.min(Z,N.startTime),S[0].startTime),F=S.reduce((Z,N)=>Math.max(Z,N.endTime??N.startTime+400),0),B=Math.max(F-k,1);return S.map(Z=>({left:(Z.startTime-k)/B*100,width:((Z.endTime??Z.startTime+80)-Z.startTime)/B*100}))});function g(S){return S==="entering"||S==="leaving"?"#7f77dd":S==="entered"?"#1d9e75":S==="left"?"#378add":S==="enter-cancelled"||S==="leave-cancelled"?"#e24b4a":S==="interrupted"?"#e09a3a":"#888"}function M(S){return S==="entering"||S==="leaving"?"badge-purple":S==="entered"||S==="left"?"badge-ok":S.includes("cancelled")?"badge-err":S==="interrupted"?"badge-warn":"badge-gray"}function R(S){return S.appear?"✦ appear":S.direction==="enter"?"→ enter":"← leave"}function X(S){return S.appear?"var(--amber)":S.direction==="enter"?"var(--teal)":"var(--blue)"}return(S,k)=>(w(),C("div",np,[i("div",op,[i("div",lp,[i("div",ip,v(m.value.total),1),k[7]||(k[7]=i("div",{class:"stat-label"},"total",-1))]),i("div",rp,[i("div",ap,v(m.value.active),1),k[8]||(k[8]=i("div",{class:"stat-label"},"active",-1))]),i("div",cp,[i("div",up,v(m.value.cancelled),1),k[9]||(k[9]=i("div",{class:"stat-label"},"cancelled",-1))]),i("div",dp,[i("div",fp,[Pe(v(m.value.avgMs)+" ",1),k[10]||(k[10]=i("span",{class:"stat-unit"},"ms",-1))]),k[11]||(k[11]=i("div",{class:"stat-label"},"avg duration",-1))])]),i("div",pp,[Bt(i("input",{"onUpdate:modelValue":k[0]||(k[0]=F=>r.value=F),type:"search",placeholder:"filter by name or component…",class:"transition-timeline__search"},null,512),[[os,r.value]]),i("div",hp,[i("button",{class:ie({active:l.value==="all"}),onClick:k[1]||(k[1]=F=>l.value="all")},"All",2),i("button",{class:ie({active:l.value==="active"}),onClick:k[2]||(k[2]=F=>l.value="active")},"Active",2),i("button",{class:ie({active:l.value==="completed"}),onClick:k[3]||(k[3]=F=>l.value="completed")},"Completed",2),i("button",{class:ie({active:l.value==="cancelled","danger-active":l.value==="cancelled"}),onClick:k[4]||(k[4]=F=>l.value="cancelled")}," Cancelled ",2)])]),i("div",mp,[i("div",_p,[i("table",vp,[k[12]||(k[12]=i("thead",null,[i("tr",null,[i("th",{class:"transition-timeline__col-name"},"NAME"),i("th",{class:"transition-timeline__col-dir"},"DIR"),i("th",{class:"transition-timeline__col-phase"},"PHASE"),i("th",{class:"transition-timeline__col-duration"},"DURATION"),i("th",null,"COMPONENT"),i("th",null,"TIMELINE")])],-1)),i("tbody",null,[(w(!0),C(_e,null,Ce(c.value,(F,B)=>{var Z,N,ae;return w(),C("tr",{key:F.id,class:ie({selected:((Z=a.value)==null?void 0:Z.id)===F.id}),onClick:V=>{var W;return a.value=((W=a.value)==null?void 0:W.id)===F.id?null:F}},[i("td",null,[i("span",bp,v(F.transitionName),1)]),i("td",null,[i("span",{class:"transition-timeline__direction mono",style:Ae({color:X(F)})},v(R(F)),5)]),i("td",null,[i("span",{class:ie(["badge",M(F.phase)])},v(F.phase),3)]),i("td",yp,v(F.durationMs!==void 0?F.durationMs+"ms":"—"),1),i("td",kp,v(F.parentComponent),1),i("td",xp,[i("div",wp,[i("div",{class:"transition-timeline__bar-fill",style:Ae({left:((N=d.value[B])==null?void 0:N.left)+"%",width:Math.max(((ae=d.value[B])==null?void 0:ae.width)??1,1)+"%",background:g(F.phase),opacity:F.phase==="entering"||F.phase==="leaving"?"0.55":"1"})},null,4)])])],10,gp)}),128)),c.value.length?se("",!0):(w(),C("tr",$p,[i("td",Cp,v(Me(s)?"No transitions recorded yet — trigger one on the page.":"Waiting for connection to the Nuxt app…"),1)]))])])]),Ie(Ys,{name:"panel-slide"},{default:ws(()=>[a.value?(w(),C("div",{key:0,class:"tracker-resize-handle",onMousedown:k[5]||(k[5]=(...F)=>Me(o)&&Me(o)(...F))},null,32)):se("",!0)]),_:1}),Ie(Ys,{name:"panel-slide"},{default:ws(()=>[a.value?(w(),C("aside",{key:0,class:"transition-timeline__detail",style:Ae({width:Me(n)+"px"})},[i("div",Sp,[i("span",Tp,v(a.value.transitionName),1),i("button",{class:"transition-timeline__close-btn",onClick:k[6]||(k[6]=F=>a.value=null)},"✕")]),i("div",Mp,[i("div",Ep,[k[13]||(k[13]=i("span",{class:"transition-timeline__detail-key"},"Direction",-1)),i("span",{class:"transition-timeline__detail-val",style:Ae({color:X(a.value)})},v(R(a.value)),5)]),i("div",Op,[k[14]||(k[14]=i("span",{class:"transition-timeline__detail-key"},"Phase",-1)),i("span",{class:ie(["badge",M(a.value.phase)])},v(a.value.phase),3)]),i("div",Ap,[k[15]||(k[15]=i("span",{class:"transition-timeline__detail-key"},"Component",-1)),i("span",Ip,v(a.value.parentComponent),1)]),a.value.mode?(w(),C("div",Lp,[k[16]||(k[16]=i("span",{class:"transition-timeline__detail-key"},"Mode",-1)),i("span",Np,v(a.value.mode),1)])):se("",!0)]),i("div",Pp,[k[20]||(k[20]=i("div",{class:"tracker-section-label transition-timeline__section-title"},"Timing",-1)),i("div",Rp,[k[17]||(k[17]=i("span",{class:"transition-timeline__detail-key"},"Start",-1)),i("span",Fp,v(a.value.startTime.toFixed(2))+"ms ",1)]),i("div",jp,[k[18]||(k[18]=i("span",{class:"transition-timeline__detail-key"},"End",-1)),i("span",Dp,v(a.value.endTime!==void 0?a.value.endTime.toFixed(2)+"ms":"—"),1)]),i("div",Hp,[k[19]||(k[19]=i("span",{class:"transition-timeline__detail-key"},"Duration",-1)),i("span",Vp,v(a.value.durationMs!==void 0?a.value.durationMs+"ms":a.value.phase==="interrupted"?"interrupted":"in progress"),1)])]),i("div",Up,[k[23]||(k[23]=i("div",{class:"tracker-section-label transition-timeline__section-title"},"Flags",-1)),i("div",Bp,[k[21]||(k[21]=i("span",{class:"transition-timeline__detail-key"},"Appear",-1)),i("span",{class:"transition-timeline__detail-val",style:Ae({color:a.value.appear?"var(--amber)":"var(--text3)"})},v(a.value.appear?"yes":"no"),5)]),i("div",Wp,[k[22]||(k[22]=i("span",{class:"transition-timeline__detail-key"},"Cancelled",-1)),i("span",{class:"transition-timeline__detail-val",style:Ae({color:a.value.cancelled?"var(--red)":"var(--text3)"})},v(a.value.cancelled?"yes":"no"),5)])]),a.value.cancelled?(w(),C("div",Kp,[...k[24]||(k[24]=[Pe(" This transition was cancelled mid-flight. The element may be stuck in a partial animation state if the interruption was not handled with ",-1),i("code",null,"onEnterCancelled",-1),Pe(" / ",-1),i("code",null,"onLeaveCancelled",-1),Pe(" . ",-1)])])):se("",!0),a.value.phase==="entering"||a.value.phase==="leaving"?(w(),C("div",qp,[...k[25]||(k[25]=[Pe(" Transition is currently in progress. If it stays in this state longer than expected, the ",-1),i("code",null,"done()",-1),Pe(" callback may not be getting called (JS-mode transition stall). ",-1)])])):se("",!0)],4)):se("",!0)]),_:1})])]))}}),Jp=is(zp,[["__scopeId","data-v-17493931"]]),Gp={id:"app-root"},Xp={class:"tabbar"},Yp=["onClick"],Qp={class:"tab-icon"},Zp={class:"tab-content"},eh=Wt({__name:"App",setup(e){const t={fetch:"fetch",provide:"provide",composables:"composable",heatmap:"heatmap",transitions:"transitions"},s=window.location.pathname.split("/").filter(Boolean).pop()??"",n=de(t[s]??"fetch"),{features:o}=ls(),l=fe(()=>{const r=o.value||{};return[r.fetchDashboard&&{id:"fetch",label:"useFetch",icon:"⬡"},r.provideInjectGraph&&{id:"provide",label:"provide/inject",icon:"⬡"},r.composableTracker&&{id:"composable",label:"Composables",icon:"⬡"},r.renderHeatmap&&{id:"heatmap",label:"Heatmap",icon:"⬡"},r.transitionTracker&&{id:"transitions",label:"Transitions",icon:"⬡"}].filter(a=>!!a)});return(r,a)=>(w(),C("div",Gp,[i("nav",Xp,[a[0]||(a[0]=i("div",{class:"tabbar-brand"},"observatory",-1)),(w(!0),C(_e,null,Ce(l.value,c=>(w(),C("button",{key:c.id,class:ie(["tab-btn",{active:n.value===c.id}]),onClick:m=>n.value=c.id},[i("span",Qp,v(c.icon),1),Pe(" "+v(c.label),1)],10,Yp))),128))]),i("main",Zp,[n.value==="fetch"?(w(),Ft(Fc,{key:0})):n.value==="provide"?(w(),Ft(ku,{key:1})):n.value==="composable"?(w(),Ft(Ud,{key:2})):n.value==="heatmap"?(w(),Ft(sp,{key:3})):n.value==="transitions"?(w(),Ft(Jp,{key:4})):se("",!0)])]))}}),th=is(eh,[["__scopeId","data-v-b91d81f3"]]);Wa(th).mount("#app");
|