@iryu54/stack-monitor
Version:
Monitor processes as a stack
10 lines (9 loc) • 28.8 kB
JavaScript
import{bn as dt,bo as pe,b3 as I,bp as ae,bq as v,br as $,bs as ao,bc as b,bt as Q,bu as B,b2 as R,bv as de,O as J,bw as co,u as he,b8 as A,d as Y,bx as ht,a6 as me,b9 as ne,aV as V,by as be,bz as ge,f as _e,s as Se,m as Ce,bA as ce,bB as ye,F as Z,bC as ve,bd as lo,bD as fo,bE as uo,bF as mt,b5 as po,b7 as Te,bG as Ee,a9 as we,bH as Ae,ba as ho,b1 as mo,bI as Re,bJ as Pe,bK as Me,bL as Ne,bM as W,bN as z,bO as bt,bP as gt,bQ as _t,bR as St,bS as Ct,bT as yt,bU as vt,bV as Tt,P as Et,bW as wt,bX as At,bY as Rt,bZ as Pt,b_ as Mt,b$ as Nt,c0 as Ot,e as Vt,h as xt,i as Dt,c as Lt,b as It,c1 as Bt,N as Ht,c2 as $t,j as Ft,c3 as Kt,c4 as Ut,c5 as jt,c6 as Wt,c7 as zt,c8 as qt,c9 as kt,ca as Gt,cb as Xt,cc as Qt,cd as Jt,a$ as Yt,ce as Zt,cf as es,cg as ts,ch as ss,ci as ns,cj as os,ck as is,cl as rs,cm as as,a8 as cs,cn as ls,co as fs,cp as us,cq as ps,cr as ds,cs as hs,ct as ms,cu as bs,cv as gs,cw as _s,cx as Ss,p as Cs,n as ys,ax as vs,x as Ts,cy as Es,cz as ws,y as As,cA as Rs,cB as Ps,cC as Ms,cD as Ns,b0 as Os,cE as Vs,cF as xs,o as Ds,cG as Ls,aa as Is,cH as Bs,cI as Hs,r as $s,aX as Fs,a as Ks,cJ as Us,k as js,v as Ws,g as zs,M as qs,q as ks,cK as Gs,cL as Xs,cM as Qs,a7 as Js,cN as Ys,a5 as Zs,cO as en,cP as tn,cQ as sn,t as nn,bb as on,aB as rn,cR as an,cS as cn,aW as ln,cT as fn,cU as un,cV as pn,Q as dn,cW as hn,cX as mn,cY as bn,cZ as gn,c_ as _n,c$ as Sn,H as Cn,d0 as yn,d1 as vn,d2 as Tn,w as En,d3 as wn,l as An,d4 as Rn,d5 as Pn}from"./index-Dyc6L6BZ.js";/**
* @vue/runtime-dom v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let le;const ze=typeof window<"u"&&window.trustedTypes;if(ze)try{le=ze.createPolicy("vue",{createHTML:e=>e})}catch{}const Mn=le?e=>le.createHTML(e):e=>e,bo="http://www.w3.org/2000/svg",go="http://www.w3.org/1998/Math/MathML",_=typeof document<"u"?document:null,qe=_&&_.createElement("template"),_o={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"?_.createElementNS(bo,e):t==="mathml"?_.createElementNS(go,e):s?_.createElement(e,{is:s}):_.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>_.createTextNode(e),createComment:e=>_.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,o,i){const r=s?s.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===i||!(o=o.nextSibling)););else{qe.innerHTML=Mn(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const a=qe.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]}},C="transition",x="animation",N=Symbol("_vtc"),Nn={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},On=R({},de,Nn),So=e=>(e.displayName="Transition",e.props=On,e),Vn=So((e,{slots:t})=>we(Ae,xn(e),t)),w=(e,t=[])=>{b(e)?e.forEach(s=>s(...t)):e&&e(...t)},ke=e=>e?b(e)?e.some(t=>t.length>1):e.length>1:!1;function xn(e){const t={};for(const l in e)l in Nn||(t[l]=e[l]);if(e.css===!1)return t;const{name:s="v",type:n,duration:o,enterFromClass:i=`${s}-enter-from`,enterActiveClass:r=`${s}-enter-active`,enterToClass:a=`${s}-enter-to`,appearFromClass:c=i,appearActiveClass:f=r,appearToClass:u=a,leaveFromClass:p=`${s}-leave-from`,leaveActiveClass:d=`${s}-leave-active`,leaveToClass:P=`${s}-leave-to`}=e,M=Co(o),to=M&&M[0],so=M&&M[1],{onBeforeEnter:He,onEnter:$e,onEnterCancelled:Fe,onLeave:Ke,onLeaveCancelled:no,onBeforeAppear:oo=He,onAppear:io=$e,onAppearCancelled:ro=Fe}=t,se=(l,h,E,K)=>{l._enterCancelled=K,y(l,h?u:a),y(l,h?f:r),E&&E()},Ue=(l,h)=>{l._isLeaving=!1,y(l,p),y(l,P),y(l,d),h&&h()},je=l=>(h,E)=>{const K=l?io:$e,We=()=>se(h,l,E);w(K,[h,We]),Ge(()=>{y(h,l?c:i),g(h,l?u:a),ke(K)||Xe(h,n,to,We)})};return R(t,{onBeforeEnter(l){w(He,[l]),g(l,i),g(l,r)},onBeforeAppear(l){w(oo,[l]),g(l,c),g(l,f)},onEnter:je(!1),onAppear:je(!0),onLeave(l,h){l._isLeaving=!0;const E=()=>Ue(l,h);g(l,p),l._enterCancelled?(g(l,d),fe()):(fe(),g(l,d)),Ge(()=>{l._isLeaving&&(y(l,p),g(l,P),ke(Ke)||Xe(l,n,so,E))}),w(Ke,[l,E])},onEnterCancelled(l){se(l,!1,void 0,!0),w(Fe,[l])},onAppearCancelled(l){se(l,!0,void 0,!0),w(ro,[l])},onLeaveCancelled(l){Ue(l),w(no,[l])}})}function Co(e){if(e==null)return null;if(ho(e))return[oe(e.enter),oe(e.leave)];{const t=oe(e);return[t,t]}}function oe(e){return ce(e)}function g(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e[N]||(e[N]=new Set)).add(t)}function y(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const s=e[N];s&&(s.delete(t),s.size||(e[N]=void 0))}function Ge(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let yo=0;function Xe(e,t,s,n){const o=e._endId=++yo,i=()=>{o===e._endId&&n()};if(s!=null)return setTimeout(i,s);const{type:r,timeout:a,propCount:c}=Dn(e,t);if(!r)return n();const f=r+"end";let u=0;const p=()=>{e.removeEventListener(f,d),i()},d=P=>{P.target===e&&++u>=c&&p()};setTimeout(()=>{u<c&&p()},a+1),e.addEventListener(f,d)}function Dn(e,t){const s=window.getComputedStyle(e),n=M=>(s[M]||"").split(", "),o=n(`${C}Delay`),i=n(`${C}Duration`),r=Qe(o,i),a=n(`${x}Delay`),c=n(`${x}Duration`),f=Qe(a,c);let u=null,p=0,d=0;t===C?r>0&&(u=C,p=r,d=i.length):t===x?f>0&&(u=x,p=f,d=c.length):(p=Math.max(r,f),u=p>0?r>f?C:x:null,d=u?u===C?i.length:c.length:0);const P=u===C&&/\b(transform|all)(,|$)/.test(n(`${C}Property`).toString());return{type:u,timeout:p,propCount:d,hasTransform:P}}function Qe(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((s,n)=>Je(s)+Je(e[n])))}function Je(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function fe(){return document.body.offsetHeight}function vo(e,t,s){const n=e[N];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const q=Symbol("_vod"),Ln=Symbol("_vsh"),Oe={beforeMount(e,{value:t},{transition:s}){e[q]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):D(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:n}){!t!=!s&&(n?t?(n.beforeEnter(e),D(e,!0),n.enter(e)):n.leave(e,()=>{D(e,!1)}):D(e,t))},beforeUnmount(e,{value:t}){D(e,t)}};function D(e,t){e.style.display=t?e[q]:"none",e[Ln]=!t}function To(){Oe.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const In=Symbol("");function Bn(e){const t=V();if(!t)return;const s=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>k(i,o))},n=()=>{const o=e(t.proxy);t.ce?k(t.ce,o):ue(t.subTree,o),s(o)};be(()=>{ge(n)}),_e(()=>{Se(n,mo,{flush:"post"});const o=new MutationObserver(n);o.observe(t.subTree.el.parentNode,{childList:!0}),Ce(()=>o.disconnect())})}function ue(e,t){if(e.shapeFlag&128){const s=e.suspense;e=s.activeBranch,s.pendingBranch&&!s.isHydrating&&s.effects.push(()=>{ue(s.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)k(e.el,t);else if(e.type===Z)e.children.forEach(s=>ue(s,t));else if(e.type===ve){let{el:s,anchor:n}=e;for(;s&&(k(s,t),s!==n);)s=s.nextSibling}}function k(e,t){if(e.nodeType===1){const s=e.style;let n="";for(const o in t)s.setProperty(`--${o}`,t[o]),n+=`--${o}: ${t[o]};`;s[In]=n}}const Eo=/(^|;)\s*display\s*:/;function wo(e,t,s){const n=e.style,o=I(s);let i=!1;if(s&&!o){if(t)if(I(t))for(const r of t.split(";")){const a=r.slice(0,r.indexOf(":")).trim();s[a]==null&&j(n,a,"")}else for(const r in t)s[r]==null&&j(n,r,"");for(const r in s)r==="display"&&(i=!0),j(n,r,s[r])}else if(o){if(t!==s){const r=n[In];r&&(s+=";"+r),n.cssText=s,i=Eo.test(s)}}else t&&e.removeAttribute("style");q in e&&(e[q]=i?n.display:"",e[Ln]&&(n.display="none"))}const Ye=/\s*!important$/;function j(e,t,s){if(b(s))s.forEach(n=>j(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Ao(e,t);Ye.test(s)?e.setProperty(v(n),s.replace(Ye,""),"important"):e[n]=s}}const Ze=["Webkit","Moz","ms"],ie={};function Ao(e,t){const s=ie[t];if(s)return s;let n=A(t);if(n!=="filter"&&n in e)return ie[t]=n;n=Te(n);for(let o=0;o<Ze.length;o++){const i=Ze[o]+n;if(i in e)return ie[t]=i}return t}const et="http://www.w3.org/1999/xlink";function tt(e,t,s,n,o,i=uo(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(et,t.slice(6,t.length)):e.setAttributeNS(et,t,s):s==null||i&&!mt(s)?e.removeAttribute(t):e.setAttribute(t,i?"":po(s)?String(s):s)}function st(e,t,s,n,o){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Mn(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="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=mt(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 S(e,t,s,n){e.addEventListener(t,s,n)}function Ro(e,t,s,n){e.removeEventListener(t,s,n)}const nt=Symbol("_vei");function Po(e,t,s,n,o=null){const i=e[nt]||(e[nt]={}),r=i[t];if(n&&r)r.value=n;else{const[a,c]=Mo(t);if(n){const f=i[t]=Vo(n,o);S(e,a,f,c)}else r&&(Ro(e,a,r,c),i[t]=void 0)}}const ot=/(?:Once|Passive|Capture)$/;function Mo(e){let t;if(ot.test(e)){t={};let n;for(;n=e.match(ot);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):v(e.slice(2)),t]}let re=0;const No=Promise.resolve(),Oo=()=>re||(No.then(()=>re=0),re=Date.now());function Vo(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ee(xo(n,s.value),t,5,[n])};return s.value=e,s.attached=Oo(),s}function xo(e,t){if(b(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 it=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Do=(e,t,s,n,o,i)=>{const r=o==="svg";t==="class"?vo(e,n,r):t==="style"?wo(e,s,n):lo(t)?fo(t)||Po(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Lo(e,t,n,r))?(st(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&tt(e,t,n,r,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!I(n))?st(e,A(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),tt(e,t,n,r))};function Lo(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&it(t)&&dt(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||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 it(t)&&I(s)?!1:t in e}const rt={};/*! #__NO_SIDE_EFFECTS__ */function Ve(e,t,s){const n=me(e,t);ht(n)&&R(n,t);class o extends F{constructor(r){super(n,r,s)}}return o.def=n,o}/*! #__NO_SIDE_EFFECTS__ */const Hn=(e,t)=>Ve(e,t,Be),Io=typeof HTMLElement<"u"?HTMLElement:class{};class F extends Io{constructor(t,s={},n=X){super(),this._def=t,this._props=s,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==X?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof F){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,J(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(n=>{for(const o of n)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(n,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:r}=n;let a;if(i&&!b(i))for(const c in i){const f=i[c];(f===Number||f&&f.type===Number)&&(c in this._props&&(this._props[c]=ce(this._props[c])),(a||(a=Object.create(null)))[A(c)]=!0)}this._numberProps=a,o&&this._resolveProps(n),this.shadowRoot&&this._applyStyles(r),this._mount(n)},s=this._def.__asyncLoader;s?this._pendingResolve=s().then(n=>t(this._def=n,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const s=this._instance&&this._instance.exposed;if(s)for(const n in s)co(this,n)||Object.defineProperty(this,n,{get:()=>he(s[n])})}_resolveProps(t){const{props:s}=t,n=b(s)?s:Object.keys(s||{});for(const o of Object.keys(this))o[0]!=="_"&&n.includes(o)&&this._setProp(o,this[o]);for(const o of n.map(A))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let n=s?this.getAttribute(t):rt;const o=A(t);s&&this._numberProps&&this._numberProps[o]&&(n=ce(n)),this._setProp(o,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,n=!0,o=!1){if(s!==this._props[t]&&(s===rt?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),o&&this._instance&&this._update(),n)){const i=this._ob;i&&i.disconnect(),s===!0?this.setAttribute(v(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(v(t),s+""):s||this.removeAttribute(v(t)),i&&i.observe(this,{attributes:!0})}}_update(){Ie(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=Y(this._def,R(t,this._props));return this._instance||(s.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const o=(i,r)=>{this.dispatchEvent(new CustomEvent(i,ht(r[0])?R({detail:r},r[0]):{detail:r}))};n.emit=(i,...r)=>{o(i,r),v(i)!==i&&o(v(i),r)},this._setParent()}),s}_applyStyles(t,s){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const n=this._nonce;for(let o=t.length-1;o>=0;o--){const i=document.createElement("style");n&&i.setAttribute("nonce",n),i.textContent=t[o],this.shadowRoot.prepend(i)}}_parseSlots(){const t=this._slots={};let s;for(;s=this.firstChild;){const n=s.nodeType===1&&s.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(s),this.removeChild(s)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),s=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const o=t[n],i=o.getAttribute("name")||"default",r=this._slots[i],a=o.parentNode;if(r)for(const c of r){if(s&&c.nodeType===1){const f=s+"-s",u=document.createTreeWalker(c,1);c.setAttribute(f,"");let p;for(;p=u.nextNode();)p.setAttribute(f,"")}a.insertBefore(c,o)}else for(;o.firstChild;)a.insertBefore(o.firstChild,o);a.removeChild(o)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function xe(e){const t=V(),s=t&&t.ce;return s||null}function $n(){const e=xe();return e&&e.shadowRoot}function Fn(e="$style"){{const t=V();if(!t)return ne;const s=t.type.__cssModules;if(!s)return ne;const n=s[e];return n||ne}}const Kn=new WeakMap,Un=new WeakMap,G=Symbol("_moveCb"),at=Symbol("_enterCb"),Bo=e=>(delete e.props.mode,e),Ho=Bo({name:"TransitionGroup",props:R({},On,{tag:String,moveClass:String}),setup(e,{slots:t}){const s=V(),n=Re();let o,i;return Pe(()=>{if(!o.length)return;const r=e.moveClass||`${e.name||"v"}-move`;if(!Uo(o[0].el,s.vnode.el,r))return;o.forEach($o),o.forEach(Fo);const a=o.filter(Ko);fe(),a.forEach(c=>{const f=c.el,u=f.style;g(f,r),u.transform=u.webkitTransform=u.transitionDuration="";const p=f[G]=d=>{d&&d.target!==f||(!d||/transform$/.test(d.propertyName))&&(f.removeEventListener("transitionend",p),f[G]=null,y(f,r))};f.addEventListener("transitionend",p)})}),()=>{const r=Me(e),a=xn(r);let c=r.tag||Z;if(o=[],i)for(let f=0;f<i.length;f++){const u=i[f];u.el&&u.el instanceof Element&&(o.push(u),W(u,z(u,a,n,s)),Kn.set(u,u.el.getBoundingClientRect()))}i=t.default?Ne(t.default()):[];for(let f=0;f<i.length;f++){const u=i[f];u.key!=null&&W(u,z(u,a,n,s))}return Y(c,null,i)}}}),jn=Ho;function $o(e){const t=e.el;t[G]&&t[G](),t[at]&&t[at]()}function Fo(e){Un.set(e,e.el.getBoundingClientRect())}function Ko(e){const t=Kn.get(e),s=Un.get(e),n=t.left-s.left,o=t.top-s.top;if(n||o){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${n}px,${o}px)`,i.transitionDuration="0s",e}}function Uo(e,t,s){const n=e.cloneNode(),o=e[N];o&&o.forEach(a=>{a.split(/\s+/).forEach(c=>c&&n.classList.remove(c))}),s.split(/\s+/).forEach(a=>a&&n.classList.add(a)),n.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(n);const{hasTransform:r}=Dn(n);return i.removeChild(n),r}const T=e=>{const t=e.props["onUpdate:modelValue"]||!1;return b(t)?s=>ao(t,s):t};function jo(e){e.target.composing=!0}function ct(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const m=Symbol("_assign"),H={created(e,{modifiers:{lazy:t,trim:s,number:n}},o){e[m]=T(o);const i=n||o.props&&o.props.type==="number";S(e,t?"change":"input",r=>{if(r.target.composing)return;let a=e.value;s&&(a=a.trim()),i&&(a=ae(a)),e[m](a)}),s&&S(e,"change",()=>{e.value=e.value.trim()}),t||(S(e,"compositionstart",jo),S(e,"compositionend",ct),S(e,"change",ct))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:o,number:i}},r){if(e[m]=T(r),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?ae(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))}},ee={deep:!0,created(e,t,s){e[m]=T(s),S(e,"change",()=>{const n=e._modelValue,o=O(e),i=e.checked,r=e[m];if(b(n)){const a=Q(n,o),c=a!==-1;if(i&&!c)r(n.concat(o));else if(!i&&c){const f=[...n];f.splice(a,1),r(f)}}else if($(n)){const a=new Set(n);i?a.add(o):a.delete(o),r(a)}else r(Wn(e,i))})},mounted:lt,beforeUpdate(e,t,s){e[m]=T(s),lt(e,t,s)}};function lt(e,{value:t,oldValue:s},n){e._modelValue=t;let o;if(b(t))o=Q(t,n.props.value)>-1;else if($(t))o=t.has(n.props.value);else{if(t===s)return;o=B(t,Wn(e,!0))}e.checked!==o&&(e.checked=o)}const te={created(e,{value:t},s){e.checked=B(t,s.props.value),e[m]=T(s),S(e,"change",()=>{e[m](O(e))})},beforeUpdate(e,{value:t,oldValue:s},n){e[m]=T(n),t!==s&&(e.checked=B(t,n.props.value))}},De={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const o=$(t);S(e,"change",()=>{const i=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>s?ae(O(r)):O(r));e[m](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,J(()=>{e._assigning=!1})}),e[m]=T(n)},mounted(e,{value:t}){ft(e,t)},beforeUpdate(e,t,s){e[m]=T(s)},updated(e,{value:t}){e._assigning||ft(e,t)}};function ft(e,t){const s=e.multiple,n=b(t);if(!(s&&!n&&!$(t))){for(let o=0,i=e.options.length;o<i;o++){const r=e.options[o],a=O(r);if(s)if(n){const c=typeof a;c==="string"||c==="number"?r.selected=t.some(f=>String(f)===String(a)):r.selected=Q(t,a)>-1}else r.selected=t.has(a);else if(B(O(r),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function O(e){return"_value"in e?e._value:e.value}function Wn(e,t){const s=t?"_trueValue":"_falseValue";return s in e?e[s]:t}const Le={created(e,t,s){U(e,t,s,null,"created")},mounted(e,t,s){U(e,t,s,null,"mounted")},beforeUpdate(e,t,s,n){U(e,t,s,n,"beforeUpdate")},updated(e,t,s,n){U(e,t,s,n,"updated")}};function zn(e,t){switch(e){case"SELECT":return De;case"TEXTAREA":return H;default:switch(t){case"checkbox":return ee;case"radio":return te;default:return H}}}function U(e,t,s,n,o){const r=zn(e.tagName,s.props&&s.props.type)[o];r&&r(e,t,s,n)}function Wo(){H.getSSRProps=({value:e})=>({value:e}),te.getSSRProps=({value:e},t)=>{if(t.props&&B(t.props.value,e))return{checked:!0}},ee.getSSRProps=({value:e},t)=>{if(b(e)){if(t.props&&Q(e,t.props.value)>-1)return{checked:!0}}else if($(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Le.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const s=zn(t.type.toUpperCase(),t.props&&t.props.type);if(s.getSSRProps)return s.getSSRProps(e,t)}}const zo=["ctrl","shift","alt","meta"],qo={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)=>zo.some(s=>e[`${s}Key`]&&!t.includes(s))},qn=(e,t)=>{const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=(o,...i)=>{for(let r=0;r<t.length;r++){const a=qo[t[r]];if(a&&a(o,t))return}return e(o,...i)})},ko={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},kn=(e,t)=>{const s=e._withKeys||(e._withKeys={}),n=t.join(".");return s[n]||(s[n]=o=>{if(!("key"in o))return;const i=v(o.key);if(t.some(r=>r===i||ko[r]===i))return e(o)})},Gn=R({patchProp:Do},_o);let L,ut=!1;function Xn(){return L||(L=pe(Gn))}function Qn(){return L=ut?L:ye(Gn),ut=!0,L}const Ie=(...e)=>{Xn().render(...e)},Jn=(...e)=>{Qn().hydrate(...e)},X=(...e)=>{const t=Xn().createApp(...e),{mount:s}=t;return t.mount=n=>{const o=Zn(n);if(!o)return;const i=t._component;!dt(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const r=s(o,!1,Yn(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t},Be=(...e)=>{const t=Qn().createApp(...e),{mount:s}=t;return t.mount=n=>{const o=Zn(n);if(o)return s(o,!0,Yn(o))},t};function Yn(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Zn(e){return I(e)?document.querySelector(e):e}let pt=!1;const eo=()=>{pt||(pt=!0,Wo(),To())},Xo=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Ae,BaseTransitionPropsValidators:de,Comment:bt,DeprecationTypes:gt,EffectScope:_t,ErrorCodes:St,ErrorTypeStrings:Ct,Fragment:Z,KeepAlive:yt,ReactiveEffect:vt,Static:ve,Suspense:Tt,Teleport:Et,Text:wt,TrackOpTypes:At,Transition:Vn,TransitionGroup:jn,TriggerOpTypes:Rt,VueElement:F,assertNumber:Pt,callWithAsyncErrorHandling:Ee,callWithErrorHandling:Mt,camelize:A,capitalize:Te,cloneVNode:Nt,compatUtils:Ot,computed:Vt,createApp:X,createBlock:xt,createCommentVNode:Dt,createElementBlock:Lt,createElementVNode:It,createHydrationRenderer:ye,createPropsRestProxy:Bt,createRenderer:pe,createSSRApp:Be,createSlots:Ht,createStaticVNode:$t,createTextVNode:Ft,createVNode:Y,customRef:Kt,defineAsyncComponent:Ut,defineComponent:me,defineCustomElement:Ve,defineEmits:jt,defineExpose:Wt,defineModel:zt,defineOptions:qt,defineProps:kt,defineSSRCustomElement:Hn,defineSlots:Gt,devtools:Xt,effect:Qt,effectScope:Jt,getCurrentInstance:V,getCurrentScope:Yt,getCurrentWatcher:Zt,getTransitionRawChildren:Ne,guardReactiveProps:es,h:we,handleError:ts,hasInjectionContext:ss,hydrate:Jn,hydrateOnIdle:ns,hydrateOnInteraction:os,hydrateOnMediaQuery:is,hydrateOnVisible:rs,initCustomFormatter:as,initDirectivesForSSR:eo,inject:cs,isMemoSame:ls,isProxy:fs,isReactive:us,isReadonly:ps,isRef:ds,isRuntimeOnly:hs,isShallow:ms,isVNode:bs,markRaw:gs,mergeDefaults:_s,mergeModels:Ss,mergeProps:Cs,nextTick:J,normalizeClass:ys,normalizeProps:vs,normalizeStyle:Ts,onActivated:Es,onBeforeMount:ws,onBeforeUnmount:As,onBeforeUpdate:be,onDeactivated:Rs,onErrorCaptured:Ps,onMounted:_e,onRenderTracked:Ms,onRenderTriggered:Ns,onScopeDispose:Os,onServerPrefetch:Vs,onUnmounted:Ce,onUpdated:Pe,onWatcherCleanup:xs,openBlock:Ds,popScopeId:Ls,provide:Is,proxyRefs:Bs,pushScopeId:Hs,queuePostFlushCb:ge,reactive:$s,readonly:Fs,ref:Ks,registerRuntimeCompiler:Us,render:Ie,renderList:js,renderSlot:Ws,resolveComponent:zs,resolveDirective:qs,resolveDynamicComponent:ks,resolveFilter:Gs,resolveTransitionHooks:z,setBlockTracking:Xs,setDevtoolsHook:Qs,setTransitionHooks:W,shallowReactive:Js,shallowReadonly:Ys,shallowRef:Zs,ssrContextKey:en,ssrUtils:tn,stop:sn,toDisplayString:nn,toHandlerKey:on,toHandlers:rn,toRaw:Me,toRef:an,toRefs:cn,toValue:ln,transformVNodeArgs:fn,triggerRef:un,unref:he,useAttrs:pn,useCssModule:Fn,useCssVars:Bn,useHost:xe,useId:dn,useModel:hn,useSSRContext:mn,useShadowRoot:$n,useSlots:bn,useTemplateRef:gn,useTransitionState:Re,vModelCheckbox:ee,vModelDynamic:Le,vModelRadio:te,vModelSelect:De,vModelText:H,vShow:Oe,version:_n,warn:Sn,watch:Se,watchEffect:Cn,watchPostEffect:yn,watchSyncEffect:vn,withAsyncContext:Tn,withCtx:En,withDefaults:wn,withDirectives:An,withKeys:kn,withMemo:Rn,withModifiers:qn,withScopeId:Pn},Symbol.toStringTag,{value:"Module"}));/**
* vue v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const Qo=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Ae,BaseTransitionPropsValidators:de,Comment:bt,DeprecationTypes:gt,EffectScope:_t,ErrorCodes:St,ErrorTypeStrings:Ct,Fragment:Z,KeepAlive:yt,ReactiveEffect:vt,Static:ve,Suspense:Tt,Teleport:Et,Text:wt,TrackOpTypes:At,Transition:Vn,TransitionGroup:jn,TriggerOpTypes:Rt,VueElement:F,assertNumber:Pt,callWithAsyncErrorHandling:Ee,callWithErrorHandling:Mt,camelize:A,capitalize:Te,cloneVNode:Nt,compatUtils:Ot,computed:Vt,createApp:X,createBlock:xt,createCommentVNode:Dt,createElementBlock:Lt,createElementVNode:It,createHydrationRenderer:ye,createPropsRestProxy:Bt,createRenderer:pe,createSSRApp:Be,createSlots:Ht,createStaticVNode:$t,createTextVNode:Ft,createVNode:Y,customRef:Kt,defineAsyncComponent:Ut,defineComponent:me,defineCustomElement:Ve,defineEmits:jt,defineExpose:Wt,defineModel:zt,defineOptions:qt,defineProps:kt,defineSSRCustomElement:Hn,defineSlots:Gt,devtools:Xt,effect:Qt,effectScope:Jt,getCurrentInstance:V,getCurrentScope:Yt,getCurrentWatcher:Zt,getTransitionRawChildren:Ne,guardReactiveProps:es,h:we,handleError:ts,hasInjectionContext:ss,hydrate:Jn,hydrateOnIdle:ns,hydrateOnInteraction:os,hydrateOnMediaQuery:is,hydrateOnVisible:rs,initCustomFormatter:as,initDirectivesForSSR:eo,inject:cs,isMemoSame:ls,isProxy:fs,isReactive:us,isReadonly:ps,isRef:ds,isRuntimeOnly:hs,isShallow:ms,isVNode:bs,markRaw:gs,mergeDefaults:_s,mergeModels:Ss,mergeProps:Cs,nextTick:J,normalizeClass:ys,normalizeProps:vs,normalizeStyle:Ts,onActivated:Es,onBeforeMount:ws,onBeforeUnmount:As,onBeforeUpdate:be,onDeactivated:Rs,onErrorCaptured:Ps,onMounted:_e,onRenderTracked:Ms,onRenderTriggered:Ns,onScopeDispose:Os,onServerPrefetch:Vs,onUnmounted:Ce,onUpdated:Pe,onWatcherCleanup:xs,openBlock:Ds,popScopeId:Ls,provide:Is,proxyRefs:Bs,pushScopeId:Hs,queuePostFlushCb:ge,reactive:$s,readonly:Fs,ref:Ks,registerRuntimeCompiler:Us,render:Ie,renderList:js,renderSlot:Ws,resolveComponent:zs,resolveDirective:qs,resolveDynamicComponent:ks,resolveFilter:Gs,resolveTransitionHooks:z,setBlockTracking:Xs,setDevtoolsHook:Qs,setTransitionHooks:W,shallowReactive:Js,shallowReadonly:Ys,shallowRef:Zs,ssrContextKey:en,ssrUtils:tn,stop:sn,toDisplayString:nn,toHandlerKey:on,toHandlers:rn,toRaw:Me,toRef:an,toRefs:cn,toValue:ln,transformVNodeArgs:fn,triggerRef:un,unref:he,useAttrs:pn,useCssModule:Fn,useCssVars:Bn,useHost:xe,useId:dn,useModel:hn,useSSRContext:mn,useShadowRoot:$n,useSlots:bn,useTemplateRef:gn,useTransitionState:Re,vModelCheckbox:ee,vModelDynamic:Le,vModelRadio:te,vModelSelect:De,vModelText:H,vShow:Oe,version:_n,warn:Sn,watch:Se,watchEffect:Cn,watchPostEffect:yn,watchSyncEffect:vn,withAsyncContext:Tn,withCtx:En,withDefaults:wn,withDirectives:An,withKeys:kn,withMemo:Rn,withModifiers:qn,withScopeId:Pn},Symbol.toStringTag,{value:"Module"}));export{jn as T,kn as a,Vn as b,De as c,ee as d,Oe as e,te as f,Qo as g,Xo as r,H as v,qn as w};