@gkd-kit/inspect 0.0.1709628361954 → 0.0.1710253144890

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/assets/{ActionCard.vue_vue_type_script_setup_true_lang-3hHwuRh9.js → ActionCard.vue_vue_type_script_setup_true_lang-ZtZm3CdA.js} +2 -2
  2. package/dist/assets/{ActionCard.vue_vue_type_script_setup_true_lang-3hHwuRh9.js.map → ActionCard.vue_vue_type_script_setup_true_lang-ZtZm3CdA.js.map} +1 -1
  3. package/dist/assets/{DevicePage-aZpLd2Jx.js → DevicePage-8y6PwxG_.js} +2 -2
  4. package/dist/assets/{DevicePage-aZpLd2Jx.js.map → DevicePage-8y6PwxG_.js.map} +1 -1
  5. package/dist/assets/{HomePage--UO3eRGM.js → HomePage-vMBFuE2R.js} +2 -2
  6. package/dist/assets/{HomePage--UO3eRGM.js.map → HomePage-vMBFuE2R.js.map} +1 -1
  7. package/dist/assets/{ImportPage-KP8hC-WV.js → ImportPage-jUyDAJc-.js} +2 -2
  8. package/dist/assets/{ImportPage-KP8hC-WV.js.map → ImportPage-jUyDAJc-.js.map} +1 -1
  9. package/dist/assets/{PreviewSharePage-xy83hN9V.js → PreviewSharePage-JMc9Z5jF.js} +2 -2
  10. package/dist/assets/{PreviewSharePage-xy83hN9V.js.map → PreviewSharePage-JMc9Z5jF.js.map} +1 -1
  11. package/dist/assets/{SnapshotPage-LalqBSLA.js → SnapshotPage-NpyEVOg4.js} +2 -2
  12. package/dist/assets/{SnapshotPage-LalqBSLA.js.map → SnapshotPage-NpyEVOg4.js.map} +1 -1
  13. package/dist/assets/{_404Page-CjvnimOd.js → _404Page-1snJAWr3.js} +2 -2
  14. package/dist/assets/{_404Page-CjvnimOd.js.map → _404Page-1snJAWr3.js.map} +1 -1
  15. package/dist/assets/{fetch-2kf0IdHj.js → fetch-1ZnojkAa.js} +2 -2
  16. package/dist/assets/{fetch-2kf0IdHj.js.map → fetch-1ZnojkAa.js.map} +1 -1
  17. package/dist/assets/{import-qWaPSci0.js → import-LfM7mOdo.js} +2 -2
  18. package/dist/assets/{import-qWaPSci0.js.map → import-LfM7mOdo.js.map} +1 -1
  19. package/dist/assets/{index-CsJ-WV9T.js → index-6IG8gzJp.js} +2 -2
  20. package/dist/assets/{index-CsJ-WV9T.js.map → index-6IG8gzJp.js.map} +1 -1
  21. package/dist/assets/{index-F46IU8ed.js → index-TSXaa6pI.js} +4 -4
  22. package/dist/assets/{index-F46IU8ed.js.map → index-TSXaa6pI.js.map} +1 -1
  23. package/dist/assets/{index-H34T175g.js → index-_oiTH-3L.js} +2 -2
  24. package/dist/assets/{index-H34T175g.js.map → index-_oiTH-3L.js.map} +1 -1
  25. package/dist/assets/{jszip.min-oBbXKiGV.js → jszip.min-IOLLVs65.js} +2 -2
  26. package/dist/assets/{jszip.min-oBbXKiGV.js.map → jszip.min-IOLLVs65.js.map} +1 -1
  27. package/dist/assets/{node-vEwVC5Sp.js → node-HCHoNevK.js} +2 -2
  28. package/dist/assets/{node-vEwVC5Sp.js.map → node-HCHoNevK.js.map} +1 -1
  29. package/dist/assets/selector-iaRWDhco.js +4 -0
  30. package/dist/assets/selector-iaRWDhco.js.map +1 -0
  31. package/dist/assets/{storage-cpetQsdR.js → storage-22y_emVV.js} +2 -2
  32. package/dist/assets/{storage-cpetQsdR.js.map → storage-22y_emVV.js.map} +1 -1
  33. package/dist/assets/{table-hxlXk7N8.js → table-n9k-CoMZ.js} +2 -2
  34. package/dist/assets/{table-hxlXk7N8.js.map → table-n9k-CoMZ.js.map} +1 -1
  35. package/dist/index.html +4 -4
  36. package/package.json +2 -2
  37. package/dist/assets/selector-2ed5ZvAJ.js +0 -4
  38. package/dist/assets/selector-2ed5ZvAJ.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import{k as Ke,ay as Oe,a$ as Dr,m as G,M as je,X as re,aX as er,aY as tr,aV as rr,J as j,aB as ve,az as ge,W as le,d as Z,E as me,b0 as Lr,b1 as Rr,S as Ge,b2 as St,b3 as Nr,aC as nr,n as Me,Q as ee,aO as or,v as _,b4 as ir,b5 as Fr,aj as Hr,b6 as Kr,b7 as ar,ah as Re,aU as bt,aZ as $t,ad as Be,b8 as Ve,b9 as We,ba as jr,bb as Gr,bc as vt,bd as Vr,be as fe,bf as sr,bg as gt,bh as Wr,bi as Se,bj as lr,bk as lt,bl as kt,bm as Ur,bn as Mt,bo as zt,bp as Le,bq as Yr,br as Tt,bs as Xr,bt as Zr,bu as Jr,bv as qr,bw as Qr,bx as en,by as tn,I as $e,x as L,B as H,z as N,C as oe,K as J,bz as rn,a7 as de,L as Ae,$ as nn,y as ye,A as U,bA as on,w as dr,aE as an,aP as Ot,T as sn,aQ as At,bB as _t,bC as ln,aG as ze,F as dn,ai as un,bD as Et,bE as cn,bF as fn,aM as hn,O as W,D as pn,a4 as dt,aN as Ue,ae as bn,a5 as vn,a6 as gn,H as Ye,V as mn,a8 as yn,a2 as ur,a1 as wn,aT as xn,bG as cr,ab as Cn,bH as Sn,bI as $n,bJ as kn,l as Mn,bK as zn}from"./index-F46IU8ed.js";import{d as Tn,f as Ze,b as _e}from"./index-CsJ-WV9T.js";import{a as fr}from"./fetch-2kf0IdHj.js";import{e as On,d as An}from"./storage-cpetQsdR.js";let Ne=[];const hr=new WeakMap;function _n(){Ne.forEach(e=>e(...hr.get(e))),Ne=[]}function pr(e,...t){hr.set(e,t),!Ne.includes(e)&&Ne.push(e)===1&&requestAnimationFrame(_n)}function rs(e,t){let{target:r}=e;for(;r;){if(r.dataset&&r.dataset[t]!==void 0)return!0;r=r.parentElement}return!1}function br(e,t="default",r=[]){const o=e.$slots[t];return o===void 0?r:o()}let Je;function En(){return Je===void 0&&(Je=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Je}let xe,Te;const Bn=()=>{var e,t;xe=Dr?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,Te=!1,xe!==void 0?xe.then(()=>{Te=!0}):Te=!0};Bn();function In(e){if(Te)return;let t=!1;Ke(()=>{Te||xe==null||xe.then(()=>{t||e()})}),Oe(()=>{t=!0})}function Pn(e,t){return G(()=>{for(const r of t)if(e[r]!==void 0)return e[r];return e[t[t.length-1]]})}const ns=je("n-internal-select-menu"),Dn=je("n-internal-select-menu-body"),vr="__disabled__";function Ce(e){const t=re(er,null),r=re(tr,null),n=re(rr,null),o=re(Dn,null),i=j();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};Ke(()=>{ve("fullscreenchange",document,a)}),Oe(()=>{ge("fullscreenchange",document,a)})}return le(()=>{var a;const{to:l}=e;return l!==void 0?l===!1?vr:l===!0?i.value||"body":l:t!=null&&t.value?(a=t.value.$el)!==null&&a!==void 0?a:t.value:r!=null&&r.value?r.value:n!=null&&n.value?n.value:o!=null&&o.value?o.value:l!=null?l:i.value||"body"})}Ce.tdkey=vr;Ce.propTo={type:[String,Object,Boolean],default:void 0};let ce=null;function gr(){if(ce===null&&(ce=document.getElementById("v-binder-view-measurer"),ce===null)){ce=document.createElement("div"),ce.id="v-binder-view-measurer";const{style:e}=ce;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(ce)}return ce.getBoundingClientRect()}function Ln(e,t){const r=gr();return{top:t,left:e,height:0,width:0,right:r.width-e,bottom:r.height-t}}function qe(e){const t=e.getBoundingClientRect(),r=gr();return{left:t.left-r.left,top:t.top-r.top,bottom:r.height+r.top-t.bottom,right:r.width+r.left-t.right,width:t.width,height:t.height}}function Rn(e){return e.nodeType===9?null:e.parentNode}function mr(e){if(e===null)return null;const t=Rn(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:r,overflowX:n,overflowY:o}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(r+o+n))return t}return mr(t)}const Nn=Z({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;me("VBinder",(t=Lr())===null||t===void 0?void 0:t.proxy);const r=re("VBinder",null),n=j(null),o=v=>{n.value=v,r&&e.syncTargetWithParent&&r.setTargetRef(v)};let i=[];const a=()=>{let v=n.value;for(;v=mr(v),v!==null;)i.push(v);for(const w of i)ve("scroll",w,f,!0)},l=()=>{for(const v of i)ge("scroll",v,f,!0);i=[]},s=new Set,d=v=>{s.size===0&&a(),s.has(v)||s.add(v)},h=v=>{s.has(v)&&s.delete(v),s.size===0&&l()},f=()=>{pr(u)},u=()=>{s.forEach(v=>v())},x=new Set,g=v=>{x.size===0&&ve("resize",window,y),x.has(v)||x.add(v)},b=v=>{x.has(v)&&x.delete(v),x.size===0&&ge("resize",window,y)},y=()=>{x.forEach(v=>v())};return Oe(()=>{ge("resize",window,y),l()}),{targetRef:n,setTargetRef:o,addScrollListener:d,removeScrollListener:h,addResizeListener:g,removeResizeListener:b}},render(){return Rr("binder",this.$slots)}}),Fn=Nn,Hn=Z({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=re("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?Ge(St("follower",this.$slots),[[t]]):St("follower",this.$slots)}}),we="@@mmoContext",Kn={mounted(e,{value:t}){e[we]={handler:void 0},typeof t=="function"&&(e[we].handler=t,ve("mousemoveoutside",e,t))},updated(e,{value:t}){const r=e[we];typeof t=="function"?r.handler?r.handler!==t&&(ge("mousemoveoutside",e,r.handler),r.handler=t,ve("mousemoveoutside",e,t)):(e[we].handler=t,ve("mousemoveoutside",e,t)):r.handler&&(ge("mousemoveoutside",e,r.handler),r.handler=void 0)},unmounted(e){const{handler:t}=e[we];t&&ge("mousemoveoutside",e,t),e[we].handler=void 0}},jn=Kn,{c:be}=Nr(),yr="vueuc-style";function Bt(e){return e&-e}class Gn{constructor(t,r){this.l=t,this.min=r;const n=new Array(t+1);for(let o=0;o<t+1;++o)n[o]=0;this.ft=n}add(t,r){if(r===0)return;const{l:n,ft:o}=this;for(t+=1;t<=n;)o[t]+=r,t+=Bt(t)}get(t){return this.sum(t+1)-this.sum(t)}sum(t){if(t===void 0&&(t=this.l),t<=0)return 0;const{ft:r,min:n,l:o}=this;if(t>o)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*n;for(;t>0;)i+=r[t],t-=Bt(t);return i}getBound(t){let r=0,n=this.l;for(;n>r;){const o=Math.floor((r+n)/2),i=this.sum(o);if(i>t){n=o;continue}else if(i<t){if(r===o)return this.sum(r+1)<=t?r+1:o;r=o}else return o}return r}}const Ie={top:"bottom",bottom:"top",left:"right",right:"left"},It={start:"end",center:"center",end:"start"},Qe={top:"height",bottom:"height",left:"width",right:"width"},Vn={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},Wn={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},Un={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},Pt={top:!0,bottom:!1,left:!0,right:!1},Dt={top:"end",bottom:"start",left:"end",right:"start"};function Yn(e,t,r,n,o,i){if(!o||i)return{placement:e,top:0,left:0};const[a,l]=e.split("-");let s=l!=null?l:"center",d={top:0,left:0};const h=(x,g,b)=>{let y=0,v=0;const w=r[x]-t[g]-t[x];return w>0&&n&&(b?v=Pt[g]?w:-w:y=Pt[g]?w:-w),{left:y,top:v}},f=a==="left"||a==="right";if(s!=="center"){const x=Un[e],g=Ie[x],b=Qe[x];if(r[b]>t[b]){if(t[x]+t[b]<r[b]){const y=(r[b]-t[b])/2;t[x]<y||t[g]<y?t[x]<t[g]?(s=It[l],d=h(b,g,f)):d=h(b,x,f):s="center"}}else r[b]<t[b]&&t[g]<0&&t[x]>t[g]&&(s=It[l])}else{const x=a==="bottom"||a==="top"?"left":"top",g=Ie[x],b=Qe[x],y=(r[b]-t[b])/2;(t[x]<y||t[g]<y)&&(t[x]>t[g]?(s=Dt[x],d=h(b,x,f)):(s=Dt[g],d=h(b,g,f)))}let u=a;return t[a]<r[Qe[a]]&&t[a]<t[Ie[a]]&&(u=Ie[a]),{placement:s!=="center"?`${u}-${s}`:u,left:d.left,top:d.top}}function Xn(e,t){return t?Wn[e]:Vn[e]}function Zn(e,t,r,n,o,i){if(i)switch(e){case"bottom-start":return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left)}px`,transform:"translateY(-100%)"};case"bottom-end":return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top-start":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left)}px`,transform:""};case"top-end":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%)"};case"right-start":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%)"};case"right-end":return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"left-start":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left)}px`,transform:""};case"left-end":return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left)}px`,transform:"translateY(-100%)"};case"top":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left+r.width/2)}px`,transform:"translateX(-50%)"};case"right":return{top:`${Math.round(r.top-t.top+r.height/2)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:`${Math.round(r.top-t.top+r.height/2)}px`,left:`${Math.round(r.left-t.left)}px`,transform:"translateY(-50%)"};case"bottom":default:return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left+r.width/2)}px`,transform:"translateX(-50%) translateY(-100%)"}}switch(e){case"bottom-start":return{top:`${Math.round(r.top-t.top+r.height+n)}px`,left:`${Math.round(r.left-t.left+o)}px`,transform:""};case"bottom-end":return{top:`${Math.round(r.top-t.top+r.height+n)}px`,left:`${Math.round(r.left-t.left+r.width+o)}px`,transform:"translateX(-100%)"};case"top-start":return{top:`${Math.round(r.top-t.top+n)}px`,left:`${Math.round(r.left-t.left+o)}px`,transform:"translateY(-100%)"};case"top-end":return{top:`${Math.round(r.top-t.top+n)}px`,left:`${Math.round(r.left-t.left+r.width+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:`${Math.round(r.top-t.top+n)}px`,left:`${Math.round(r.left-t.left+r.width+o)}px`,transform:""};case"right-end":return{top:`${Math.round(r.top-t.top+r.height+n)}px`,left:`${Math.round(r.left-t.left+r.width+o)}px`,transform:"translateY(-100%)"};case"left-start":return{top:`${Math.round(r.top-t.top+n)}px`,left:`${Math.round(r.left-t.left+o)}px`,transform:"translateX(-100%)"};case"left-end":return{top:`${Math.round(r.top-t.top+r.height+n)}px`,left:`${Math.round(r.left-t.left+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:`${Math.round(r.top-t.top+n)}px`,left:`${Math.round(r.left-t.left+r.width/2+o)}px`,transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:`${Math.round(r.top-t.top+r.height/2+n)}px`,left:`${Math.round(r.left-t.left+r.width+o)}px`,transform:"translateY(-50%)"};case"left":return{top:`${Math.round(r.top-t.top+r.height/2+n)}px`,left:`${Math.round(r.left-t.left+o)}px`,transform:"translateY(-50%) translateX(-100%)"};case"bottom":default:return{top:`${Math.round(r.top-t.top+r.height+n)}px`,left:`${Math.round(r.left-t.left+r.width/2+o)}px`,transform:"translateX(-50%)"}}}const Jn=be([be(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),be(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[be("> *",{pointerEvents:"all"})])]),qn=Z({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=re("VBinder"),r=le(()=>e.enabled!==void 0?e.enabled:e.show),n=j(null),o=j(null),i=()=>{const{syncTrigger:u}=e;u.includes("scroll")&&t.addScrollListener(s),u.includes("resize")&&t.addResizeListener(s)},a=()=>{t.removeScrollListener(s),t.removeResizeListener(s)};Ke(()=>{r.value&&(s(),i())});const l=nr();Jn.mount({id:"vueuc/binder",head:!0,anchorMetaName:yr,ssr:l}),Oe(()=>{a()}),In(()=>{r.value&&s()});const s=()=>{if(!r.value)return;const u=n.value;if(u===null)return;const x=t.targetRef,{x:g,y:b,overlap:y}=e,v=g!==void 0&&b!==void 0?Ln(g,b):qe(x);u.style.setProperty("--v-target-width",`${Math.round(v.width)}px`),u.style.setProperty("--v-target-height",`${Math.round(v.height)}px`);const{width:w,minWidth:I,placement:$,internalShift:k,flip:M}=e;u.setAttribute("v-placement",$),y?u.setAttribute("v-overlap",""):u.removeAttribute("v-overlap");const{style:O}=u;w==="target"?O.width=`${v.width}px`:w!==void 0?O.width=w:O.width="",I==="target"?O.minWidth=`${v.width}px`:I!==void 0?O.minWidth=I:O.minWidth="";const P=qe(u),D=qe(o.value),{left:z,top:m,placement:A}=Yn($,v,P,k,M,y),R=Xn(A,y),{left:T,top:c,transform:p}=Zn(A,D,v,m,z,y);u.setAttribute("v-placement",A),u.style.setProperty("--v-offset-left",`${Math.round(z)}px`),u.style.setProperty("--v-offset-top",`${Math.round(m)}px`),u.style.transform=`translateX(${T}) translateY(${c}) ${p}`,u.style.setProperty("--v-transform-origin",R),u.style.transformOrigin=R};Me(r,u=>{u?(i(),d()):a()});const d=()=>{Hr().then(s).catch(u=>console.error(u))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(u=>{Me(ee(e,u),s)}),["teleportDisabled"].forEach(u=>{Me(ee(e,u),d)}),Me(ee(e,"syncTrigger"),u=>{u.includes("resize")?t.addResizeListener(s):t.removeResizeListener(s),u.includes("scroll")?t.addScrollListener(s):t.removeScrollListener(s)});const h=or(),f=le(()=>{const{to:u}=e;if(u!==void 0)return u;h.value});return{VBinder:t,mergedEnabled:r,offsetContainerRef:o,followerRef:n,mergedTo:f,syncPosition:s}},render(){return _(Fr,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const r=_("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[_("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?Ge(r,[[ir,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):r}})}});let Pe;function Qn(){return typeof document>"u"?!1:(Pe===void 0&&("matchMedia"in window?Pe=window.matchMedia("(pointer:coarse)").matches:Pe=!1),Pe)}let et;function Lt(){return typeof document>"u"?1:(et===void 0&&(et="chrome"in window?window.devicePixelRatio:1),et)}const eo=be(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[be("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[be("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),os=Z({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){const t=nr();eo.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:yr,ssr:t}),Ke(()=>{const{defaultScrollIndex:m,defaultScrollKey:A}=e;m!=null?g({index:m}):A!=null&&g({key:A})});let r=!1,n=!1;Kr(()=>{if(r=!1,!n){n=!0;return}g({top:f.value,left:h})}),ar(()=>{r=!0,n||(n=!0)});const o=G(()=>{const m=new Map,{keyField:A}=e;return e.items.forEach((R,T)=>{m.set(R[A],T)}),m}),i=j(null),a=j(void 0),l=new Map,s=G(()=>{const{items:m,itemSize:A,keyField:R}=e,T=new Gn(m.length,A);return m.forEach((c,p)=>{const S=c[R],C=l.get(S);C!==void 0&&T.add(p,C)}),T}),d=j(0);let h=0;const f=j(0),u=le(()=>Math.max(s.value.getBound(f.value-Re(e.paddingTop))-1,0)),x=G(()=>{const{value:m}=a;if(m===void 0)return[];const{items:A,itemSize:R}=e,T=u.value,c=Math.min(T+Math.ceil(m/R+1),A.length-1),p=[];for(let S=T;S<=c;++S)p.push(A[S]);return p}),g=(m,A)=>{if(typeof m=="number"){w(m,A,"auto");return}const{left:R,top:T,index:c,key:p,position:S,behavior:C,debounce:E=!0}=m;if(R!==void 0||T!==void 0)w(R,T,C);else if(c!==void 0)v(c,C,E);else if(p!==void 0){const B=o.value.get(p);B!==void 0&&v(B,C,E)}else S==="bottom"?w(0,Number.MAX_SAFE_INTEGER,C):S==="top"&&w(0,0,C)};let b,y=null;function v(m,A,R){const{value:T}=s,c=T.sum(m)+Re(e.paddingTop);if(!R)i.value.scrollTo({left:0,top:c,behavior:A});else{b=m,y!==null&&window.clearTimeout(y),y=window.setTimeout(()=>{b=void 0,y=null},16);const{scrollTop:p,offsetHeight:S}=i.value;if(c>p){const C=T.get(m);c+C<=p+S||i.value.scrollTo({left:0,top:c+C-S,behavior:A})}else i.value.scrollTo({left:0,top:c,behavior:A})}}function w(m,A,R){i.value.scrollTo({left:m,top:A,behavior:R})}function I(m,A){var R,T,c;if(r||e.ignoreItemResize||z(A.target))return;const{value:p}=s,S=o.value.get(m),C=p.get(S),E=(c=(T=(R=A.borderBoxSize)===null||R===void 0?void 0:R[0])===null||T===void 0?void 0:T.blockSize)!==null&&c!==void 0?c:A.contentRect.height;if(E===C)return;E-e.itemSize===0?l.delete(m):l.set(m,E-e.itemSize);const F=E-C;if(F===0)return;p.add(S,F);const K=i.value;if(K!=null){if(b===void 0){const V=p.sum(S);K.scrollTop>V&&K.scrollBy(0,F)}else if(S<b)K.scrollBy(0,F);else if(S===b){const V=p.sum(S);E+V>K.scrollTop+K.offsetHeight&&K.scrollBy(0,F)}D()}d.value++}const $=!Qn();let k=!1;function M(m){var A;(A=e.onScroll)===null||A===void 0||A.call(e,m),(!$||!k)&&D()}function O(m){var A;if((A=e.onWheel)===null||A===void 0||A.call(e,m),$){const R=i.value;if(R!=null){if(m.deltaX===0&&(R.scrollTop===0&&m.deltaY<=0||R.scrollTop+R.offsetHeight>=R.scrollHeight&&m.deltaY>=0))return;m.preventDefault(),R.scrollTop+=m.deltaY/Lt(),R.scrollLeft+=m.deltaX/Lt(),D(),k=!0,pr(()=>{k=!1})}}}function P(m){if(r||z(m.target)||m.contentRect.height===a.value)return;a.value=m.contentRect.height;const{onResize:A}=e;A!==void 0&&A(m)}function D(){const{value:m}=i;m!=null&&(f.value=m.scrollTop,h=m.scrollLeft)}function z(m){let A=m;for(;A!==null;){if(A.style.display==="none")return!0;A=A.parentElement}return!1}return{listHeight:a,listStyle:{overflow:"auto"},keyToIndex:o,itemsStyle:G(()=>{const{itemResizable:m}=e,A=Be(s.value.sum());return d.value,[e.itemsStyle,{boxSizing:"content-box",height:m?"":A,minHeight:m?A:"",paddingTop:Be(e.paddingTop),paddingBottom:Be(e.paddingBottom)}]}),visibleItemsStyle:G(()=>(d.value,{transform:`translateY(${Be(s.value.sum(u.value))})`})),viewportItems:x,listElRef:i,itemsElRef:j(null),scrollTo:g,handleListResize:P,handleListScroll:M,handleListWheel:O,handleItemResize:I}},render(){const{itemResizable:e,keyField:t,keyToIndex:r,visibleItemsTag:n}=this;return _($t,{onResize:this.handleListResize},{default:()=>{var o,i;return _("div",bt(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?_("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[_(n,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>this.viewportItems.map(a=>{const l=a[t],s=r.get(l),d=this.$slots.default({item:a,index:s})[0];return e?_($t,{key:l,onResize:h=>this.handleItemResize(l,h)},{default:()=>d}):(d.key=l,d)})})]):(i=(o=this.$slots).empty)===null||i===void 0?void 0:i.call(o)])}})}});var ut=Ve(We,"WeakMap"),to=jr(Object.keys,Object),ro=Object.prototype,no=ro.hasOwnProperty;function oo(e){if(!Gr(e))return to(e);var t=[];for(var r in Object(e))no.call(e,r)&&r!="constructor"&&t.push(r);return t}function mt(e){return vt(e)?Vr(e):oo(e)}var io=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ao=/^\w*$/;function yt(e,t){if(fe(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||sr(e)?!0:ao.test(e)||!io.test(e)||t!=null&&e in Object(t)}var so="Expected a function";function wt(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(so);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(wt.Cache||gt),r}wt.Cache=gt;var lo=500;function uo(e){var t=wt(e,function(n){return r.size===lo&&r.clear(),n}),r=t.cache;return t}var co=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,fo=/\\(\\)?/g,ho=uo(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(co,function(r,n,o,i){t.push(o?i.replace(fo,"$1"):n||r)}),t});function wr(e,t){return fe(e)?e:yt(e,t)?[e]:ho(Wr(e))}var po=1/0;function Xe(e){if(typeof e=="string"||sr(e))return e;var t=e+"";return t=="0"&&1/e==-po?"-0":t}function xr(e,t){t=wr(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[Xe(t[r++])];return r&&r==n?e:void 0}function bo(e,t,r){var n=e==null?void 0:xr(e,t);return n===void 0?r:n}function vo(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}function go(e,t){for(var r=-1,n=e==null?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}function mo(){return[]}var yo=Object.prototype,wo=yo.propertyIsEnumerable,Rt=Object.getOwnPropertySymbols,xo=Rt?function(e){return e==null?[]:(e=Object(e),go(Rt(e),function(t){return wo.call(e,t)}))}:mo;const Co=xo;function So(e,t,r){var n=t(e);return fe(e)?n:vo(n,r(e))}function Nt(e){return So(e,mt,Co)}var ct=Ve(We,"DataView"),ft=Ve(We,"Promise"),ht=Ve(We,"Set"),Ft="[object Map]",$o="[object Object]",Ht="[object Promise]",Kt="[object Set]",jt="[object WeakMap]",Gt="[object DataView]",ko=Se(ct),Mo=Se(lt),zo=Se(ft),To=Se(ht),Oo=Se(ut),pe=lr;(ct&&pe(new ct(new ArrayBuffer(1)))!=Gt||lt&&pe(new lt)!=Ft||ft&&pe(ft.resolve())!=Ht||ht&&pe(new ht)!=Kt||ut&&pe(new ut)!=jt)&&(pe=function(e){var t=lr(e),r=t==$o?e.constructor:void 0,n=r?Se(r):"";if(n)switch(n){case ko:return Gt;case Mo:return Ft;case zo:return Ht;case To:return Kt;case Oo:return jt}return t});const Vt=pe;var Ao="__lodash_hash_undefined__";function _o(e){return this.__data__.set(e,Ao),this}function Eo(e){return this.__data__.has(e)}function Fe(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new gt;++t<r;)this.add(e[t])}Fe.prototype.add=Fe.prototype.push=_o;Fe.prototype.has=Eo;function Bo(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function Io(e,t){return e.has(t)}var Po=1,Do=2;function Cr(e,t,r,n,o,i){var a=r&Po,l=e.length,s=t.length;if(l!=s&&!(a&&s>l))return!1;var d=i.get(e),h=i.get(t);if(d&&h)return d==t&&h==e;var f=-1,u=!0,x=r&Do?new Fe:void 0;for(i.set(e,t),i.set(t,e);++f<l;){var g=e[f],b=t[f];if(n)var y=a?n(b,g,f,t,e,i):n(g,b,f,e,t,i);if(y!==void 0){if(y)continue;u=!1;break}if(x){if(!Bo(t,function(v,w){if(!Io(x,w)&&(g===v||o(g,v,r,n,i)))return x.push(w)})){u=!1;break}}else if(!(g===b||o(g,b,r,n,i))){u=!1;break}}return i.delete(e),i.delete(t),u}function Lo(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}function Ro(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var No=1,Fo=2,Ho="[object Boolean]",Ko="[object Date]",jo="[object Error]",Go="[object Map]",Vo="[object Number]",Wo="[object RegExp]",Uo="[object Set]",Yo="[object String]",Xo="[object Symbol]",Zo="[object ArrayBuffer]",Jo="[object DataView]",Wt=kt?kt.prototype:void 0,tt=Wt?Wt.valueOf:void 0;function qo(e,t,r,n,o,i,a){switch(r){case Jo:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Zo:return!(e.byteLength!=t.byteLength||!i(new Mt(e),new Mt(t)));case Ho:case Ko:case Vo:return Ur(+e,+t);case jo:return e.name==t.name&&e.message==t.message;case Wo:case Yo:return e==t+"";case Go:var l=Lo;case Uo:var s=n&No;if(l||(l=Ro),e.size!=t.size&&!s)return!1;var d=a.get(e);if(d)return d==t;n|=Fo,a.set(e,t);var h=Cr(l(e),l(t),n,o,i,a);return a.delete(e),h;case Xo:if(tt)return tt.call(e)==tt.call(t)}return!1}var Qo=1,ei=Object.prototype,ti=ei.hasOwnProperty;function ri(e,t,r,n,o,i){var a=r&Qo,l=Nt(e),s=l.length,d=Nt(t),h=d.length;if(s!=h&&!a)return!1;for(var f=s;f--;){var u=l[f];if(!(a?u in t:ti.call(t,u)))return!1}var x=i.get(e),g=i.get(t);if(x&&g)return x==t&&g==e;var b=!0;i.set(e,t),i.set(t,e);for(var y=a;++f<s;){u=l[f];var v=e[u],w=t[u];if(n)var I=a?n(w,v,u,t,e,i):n(v,w,u,e,t,i);if(!(I===void 0?v===w||o(v,w,r,n,i):I)){b=!1;break}y||(y=u=="constructor")}if(b&&!y){var $=e.constructor,k=t.constructor;$!=k&&"constructor"in e&&"constructor"in t&&!(typeof $=="function"&&$ instanceof $&&typeof k=="function"&&k instanceof k)&&(b=!1)}return i.delete(e),i.delete(t),b}var ni=1,Ut="[object Arguments]",Yt="[object Array]",De="[object Object]",oi=Object.prototype,Xt=oi.hasOwnProperty;function ii(e,t,r,n,o,i){var a=fe(e),l=fe(t),s=a?Yt:Vt(e),d=l?Yt:Vt(t);s=s==Ut?De:s,d=d==Ut?De:d;var h=s==De,f=d==De,u=s==d;if(u&&zt(e)){if(!zt(t))return!1;a=!0,h=!1}if(u&&!h)return i||(i=new Le),a||Yr(e)?Cr(e,t,r,n,o,i):qo(e,t,s,r,n,o,i);if(!(r&ni)){var x=h&&Xt.call(e,"__wrapped__"),g=f&&Xt.call(t,"__wrapped__");if(x||g){var b=x?e.value():e,y=g?t.value():t;return i||(i=new Le),o(b,y,r,n,i)}}return u?(i||(i=new Le),ri(e,t,r,n,o,i)):!1}function xt(e,t,r,n,o){return e===t?!0:e==null||t==null||!Tt(e)&&!Tt(t)?e!==e&&t!==t:ii(e,t,r,n,xt,o)}var ai=1,si=2;function li(e,t,r,n){var o=r.length,i=o,a=!n;if(e==null)return!i;for(e=Object(e);o--;){var l=r[o];if(a&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<i;){l=r[o];var s=l[0],d=e[s],h=l[1];if(a&&l[2]){if(d===void 0&&!(s in e))return!1}else{var f=new Le;if(n)var u=n(d,h,s,e,t,f);if(!(u===void 0?xt(h,d,ai|si,n,f):u))return!1}}return!0}function Sr(e){return e===e&&!Xr(e)}function di(e){for(var t=mt(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,Sr(o)]}return t}function $r(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function ui(e){var t=di(e);return t.length==1&&t[0][2]?$r(t[0][0],t[0][1]):function(r){return r===e||li(r,e,t)}}function ci(e,t){return e!=null&&t in Object(e)}function fi(e,t,r){t=wr(t,e);for(var n=-1,o=t.length,i=!1;++n<o;){var a=Xe(t[n]);if(!(i=e!=null&&r(e,a)))break;e=e[a]}return i||++n!=o?i:(o=e==null?0:e.length,!!o&&Zr(o)&&Jr(a,o)&&(fe(e)||qr(e)))}function hi(e,t){return e!=null&&fi(e,t,ci)}var pi=1,bi=2;function vi(e,t){return yt(e)&&Sr(t)?$r(Xe(e),t):function(r){var n=bo(r,e);return n===void 0&&n===t?hi(r,e):xt(t,n,pi|bi)}}function gi(e){return function(t){return t==null?void 0:t[e]}}function mi(e){return function(t){return xr(t,e)}}function yi(e){return yt(e)?gi(Xe(e)):mi(e)}function wi(e){return typeof e=="function"?e:e==null?Qr:typeof e=="object"?fe(e)?vi(e[0],e[1]):ui(e):yi(e)}function xi(e,t){return e&&en(e,t,mt)}function Ci(e,t){return function(r,n){if(r==null)return r;if(!vt(r))return e(r,n);for(var o=r.length,i=t?o:-1,a=Object(r);(t?i--:++i<o)&&n(a[i],i,a)!==!1;);return r}}var Si=Ci(xi);function $i(e,t){var r=-1,n=vt(e)?Array(e.length):[];return Si(e,function(o,i,a){n[++r]=t(o,i,a)}),n}function ki(e,t){var r=fe(e)?tn:$i;return r(e,wi(t))}const is=Z({name:"ChevronRight",render(){return _("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),Mi=Z({name:"Empty",render(){return _("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),_("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}});function Zt(e){return Array.isArray(e)?e:[e]}const pt={STOP:"STOP"};function kr(e,t){const r=t(e);e.children!==void 0&&r!==pt.STOP&&e.children.forEach(n=>kr(n,t))}function zi(e,t={}){const{preserveGroup:r=!1}=t,n=[],o=r?a=>{a.isLeaf||(n.push(a.key),i(a.children))}:a=>{a.isLeaf||(a.isGroup||n.push(a.key),i(a.children))};function i(a){a.forEach(o)}return i(e),n}function Ti(e,t){const{isLeaf:r}=e;return r!==void 0?r:!t(e)}function Oi(e){return e.children}function Ai(e){return e.key}function _i(){return!1}function Ei(e,t){const{isLeaf:r}=e;return!(r===!1&&!Array.isArray(t(e)))}function Bi(e){return e.disabled===!0}function Ii(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function rt(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function nt(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function Pi(e,t){const r=new Set(e);return t.forEach(n=>{r.has(n)||r.add(n)}),Array.from(r)}function Di(e,t){const r=new Set(e);return t.forEach(n=>{r.has(n)&&r.delete(n)}),Array.from(r)}function Li(e){return(e==null?void 0:e.type)==="group"}function as(e){const t=new Map;return e.forEach((r,n)=>{t.set(r.key,n)}),r=>{var n;return(n=t.get(r))!==null&&n!==void 0?n:null}}class Ri extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function Ni(e,t,r,n){return He(t.concat(e),r,n,!1)}function Fi(e,t){const r=new Set;return e.forEach(n=>{const o=t.treeNodeMap.get(n);if(o!==void 0){let i=o.parent;for(;i!==null&&!(i.disabled||r.has(i.key));)r.add(i.key),i=i.parent}}),r}function Hi(e,t,r,n){const o=He(t,r,n,!1),i=He(e,r,n,!0),a=Fi(e,r),l=[];return o.forEach(s=>{(i.has(s)||a.has(s))&&l.push(s)}),l.forEach(s=>o.delete(s)),o}function ot(e,t){const{checkedKeys:r,keysToCheck:n,keysToUncheck:o,indeterminateKeys:i,cascade:a,leafOnly:l,checkStrategy:s,allowNotLoaded:d}=e;if(!a)return n!==void 0?{checkedKeys:Pi(r,n),indeterminateKeys:Array.from(i)}:o!==void 0?{checkedKeys:Di(r,o),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(r),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:h}=t;let f;o!==void 0?f=Hi(o,r,t,d):n!==void 0?f=Ni(n,r,t,d):f=He(r,t,d,!1);const u=s==="parent",x=s==="child"||l,g=f,b=new Set,y=Math.max.apply(null,Array.from(h.keys()));for(let v=y;v>=0;v-=1){const w=v===0,I=h.get(v);for(const $ of I){if($.isLeaf)continue;const{key:k,shallowLoaded:M}=$;if(x&&M&&$.children.forEach(z=>{!z.disabled&&!z.isLeaf&&z.shallowLoaded&&g.has(z.key)&&g.delete(z.key)}),$.disabled||!M)continue;let O=!0,P=!1,D=!0;for(const z of $.children){const m=z.key;if(!z.disabled){if(D&&(D=!1),g.has(m))P=!0;else if(b.has(m)){P=!0,O=!1;break}else if(O=!1,P)break}}O&&!D?(u&&$.children.forEach(z=>{!z.disabled&&g.has(z.key)&&g.delete(z.key)}),g.add(k)):P&&b.add(k),w&&x&&g.has(k)&&g.delete(k)}}return{checkedKeys:Array.from(g),indeterminateKeys:Array.from(b)}}function He(e,t,r,n){const{treeNodeMap:o,getChildren:i}=t,a=new Set,l=new Set(e);return e.forEach(s=>{const d=o.get(s);d!==void 0&&kr(d,h=>{if(h.disabled)return pt.STOP;const{key:f}=h;if(!a.has(f)&&(a.add(f),l.add(f),Ii(h.rawNode,i))){if(n)return pt.STOP;if(!r)throw new Ri}})}),l}function Ki(e,{includeGroup:t=!1,includeSelf:r=!0},n){var o;const i=n.treeNodeMap;let a=e==null?null:(o=i.get(e))!==null&&o!==void 0?o:null;const l={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return l.treeNode=null,l;for(;a;)!a.ignored&&(t||!a.isGroup)&&l.treeNodePath.push(a),a=a.parent;return l.treeNodePath.reverse(),r||l.treeNodePath.pop(),l.keyPath=l.treeNodePath.map(s=>s.key),l}function ji(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function Gi(e,t){const r=e.siblings,n=r.length,{index:o}=e;return t?r[(o+1)%n]:o===r.length-1?null:r[o+1]}function Jt(e,t,{loop:r=!1,includeDisabled:n=!1}={}){const o=t==="prev"?Vi:Gi,i={reverse:t==="prev"};let a=!1,l=null;function s(d){if(d!==null){if(d===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){l=e;return}}else if((!d.disabled||n)&&!d.ignored&&!d.isGroup){l=d;return}if(d.isGroup){const h=Ct(d,i);h!==null?l=h:s(o(d,r))}else{const h=o(d,!1);if(h!==null)s(h);else{const f=Wi(d);f!=null&&f.isGroup?s(o(f,r)):r&&s(o(d,!0))}}}}return s(e),l}function Vi(e,t){const r=e.siblings,n=r.length,{index:o}=e;return t?r[(o-1+n)%n]:o===0?null:r[o-1]}function Wi(e){return e.parent}function Ct(e,t={}){const{reverse:r=!1}=t,{children:n}=e;if(n){const{length:o}=n,i=r?o-1:0,a=r?-1:o,l=r?-1:1;for(let s=i;s!==a;s+=l){const d=n[s];if(!d.disabled&&!d.ignored)if(d.isGroup){const h=Ct(d,t);if(h!==null)return h}else return d}}return null}const Ui={getChild(){return this.ignored?null:Ct(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return Jt(this,"next",e)},getPrev(e={}){return Jt(this,"prev",e)}};function Yi(e,t){const r=t?new Set(t):void 0,n=[];function o(i){i.forEach(a=>{n.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||r===void 0||r.has(a.key))&&o(a.children)})}return o(e),n}function Xi(e,t){const r=e.key;for(;t;){if(t.key===r)return!0;t=t.parent}return!1}function Mr(e,t,r,n,o,i=null,a=0){const l=[];return e.forEach((s,d)=>{var h;const f=Object.create(n);if(f.rawNode=s,f.siblings=l,f.level=a,f.index=d,f.isFirstChild=d===0,f.isLastChild=d+1===e.length,f.parent=i,!f.ignored){const u=o(s);Array.isArray(u)&&(f.children=Mr(u,t,r,n,o,f,a+1))}l.push(f),t.set(f.key,f),r.has(a)||r.set(a,[]),(h=r.get(a))===null||h===void 0||h.push(f)}),l}function ss(e,t={}){var r;const n=new Map,o=new Map,{getDisabled:i=Bi,getIgnored:a=_i,getIsGroup:l=Li,getKey:s=Ai}=t,d=(r=t.getChildren)!==null&&r!==void 0?r:Oi,h=t.ignoreEmptyChildren?$=>{const k=d($);return Array.isArray(k)?k.length?k:null:k}:d,f=Object.assign({get key(){return s(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return l(this.rawNode)},get isLeaf(){return Ti(this.rawNode,h)},get shallowLoaded(){return Ei(this.rawNode,h)},get ignored(){return a(this.rawNode)},contains($){return Xi(this,$)}},Ui),u=Mr(e,n,o,f,h);function x($){if($==null)return null;const k=n.get($);return k&&!k.isGroup&&!k.ignored?k:null}function g($){if($==null)return null;const k=n.get($);return k&&!k.ignored?k:null}function b($,k){const M=g($);return M?M.getPrev(k):null}function y($,k){const M=g($);return M?M.getNext(k):null}function v($){const k=g($);return k?k.getParent():null}function w($){const k=g($);return k?k.getChild():null}const I={treeNodes:u,treeNodeMap:n,levelTreeNodeMap:o,maxLevel:Math.max(...o.keys()),getChildren:h,getFlattenedNodes($){return Yi(u,$)},getNode:x,getPrev:b,getNext:y,getParent:v,getChild:w,getFirstAvailableNode(){return ji(u)},getPath($,k={}){return Ki($,k,I)},getCheckedKeys($,k={}){const{cascade:M=!0,leafOnly:O=!1,checkStrategy:P="all",allowNotLoaded:D=!1}=k;return ot({checkedKeys:rt($),indeterminateKeys:nt($),cascade:M,leafOnly:O,checkStrategy:P,allowNotLoaded:D},I)},check($,k,M={}){const{cascade:O=!0,leafOnly:P=!1,checkStrategy:D="all",allowNotLoaded:z=!1}=M;return ot({checkedKeys:rt(k),indeterminateKeys:nt(k),keysToCheck:$==null?[]:Zt($),cascade:O,leafOnly:P,checkStrategy:D,allowNotLoaded:z},I)},uncheck($,k,M={}){const{cascade:O=!0,leafOnly:P=!1,checkStrategy:D="all",allowNotLoaded:z=!1}=M;return ot({checkedKeys:rt(k),indeterminateKeys:nt(k),keysToUncheck:$==null?[]:Zt($),cascade:O,leafOnly:P,checkStrategy:D,allowNotLoaded:z},I)},getNonLeafKeys($={}){return zi(u,$)}};return I}const Zi={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},Ji=e=>{const{textColorDisabled:t,iconColor:r,textColor2:n,fontSizeSmall:o,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:l}=e;return Object.assign(Object.assign({},Zi),{fontSizeSmall:o,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:l,textColor:t,iconColor:r,extraTextColor:n})},qi={name:"Empty",common:$e,self:Ji},Qi=qi,ea=L("empty",`
1
+ import{k as Ke,ay as Oe,a$ as Dr,m as G,M as je,X as re,aX as er,aY as tr,aV as rr,J as j,aB as ve,az as ge,W as le,d as Z,E as me,b0 as Lr,b1 as Rr,S as Ge,b2 as St,b3 as Nr,aC as nr,n as Me,Q as ee,aO as or,v as _,b4 as ir,b5 as Fr,aj as Hr,b6 as Kr,b7 as ar,ah as Re,aU as bt,aZ as $t,ad as Be,b8 as Ve,b9 as We,ba as jr,bb as Gr,bc as vt,bd as Vr,be as fe,bf as sr,bg as gt,bh as Wr,bi as Se,bj as lr,bk as lt,bl as kt,bm as Ur,bn as Mt,bo as zt,bp as Le,bq as Yr,br as Tt,bs as Xr,bt as Zr,bu as Jr,bv as qr,bw as Qr,bx as en,by as tn,I as $e,x as L,B as H,z as N,C as oe,K as J,bz as rn,a7 as de,L as Ae,$ as nn,y as ye,A as U,bA as on,w as dr,aE as an,aP as Ot,T as sn,aQ as At,bB as _t,bC as ln,aG as ze,F as dn,ai as un,bD as Et,bE as cn,bF as fn,aM as hn,O as W,D as pn,a4 as dt,aN as Ue,ae as bn,a5 as vn,a6 as gn,H as Ye,V as mn,a8 as yn,a2 as ur,a1 as wn,aT as xn,bG as cr,ab as Cn,bH as Sn,bI as $n,bJ as kn,l as Mn,bK as zn}from"./index-TSXaa6pI.js";import{d as Tn,f as Ze,b as _e}from"./index-6IG8gzJp.js";import{a as fr}from"./fetch-1ZnojkAa.js";import{e as On,d as An}from"./storage-22y_emVV.js";let Ne=[];const hr=new WeakMap;function _n(){Ne.forEach(e=>e(...hr.get(e))),Ne=[]}function pr(e,...t){hr.set(e,t),!Ne.includes(e)&&Ne.push(e)===1&&requestAnimationFrame(_n)}function rs(e,t){let{target:r}=e;for(;r;){if(r.dataset&&r.dataset[t]!==void 0)return!0;r=r.parentElement}return!1}function br(e,t="default",r=[]){const o=e.$slots[t];return o===void 0?r:o()}let Je;function En(){return Je===void 0&&(Je=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Je}let xe,Te;const Bn=()=>{var e,t;xe=Dr?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,Te=!1,xe!==void 0?xe.then(()=>{Te=!0}):Te=!0};Bn();function In(e){if(Te)return;let t=!1;Ke(()=>{Te||xe==null||xe.then(()=>{t||e()})}),Oe(()=>{t=!0})}function Pn(e,t){return G(()=>{for(const r of t)if(e[r]!==void 0)return e[r];return e[t[t.length-1]]})}const ns=je("n-internal-select-menu"),Dn=je("n-internal-select-menu-body"),vr="__disabled__";function Ce(e){const t=re(er,null),r=re(tr,null),n=re(rr,null),o=re(Dn,null),i=j();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};Ke(()=>{ve("fullscreenchange",document,a)}),Oe(()=>{ge("fullscreenchange",document,a)})}return le(()=>{var a;const{to:l}=e;return l!==void 0?l===!1?vr:l===!0?i.value||"body":l:t!=null&&t.value?(a=t.value.$el)!==null&&a!==void 0?a:t.value:r!=null&&r.value?r.value:n!=null&&n.value?n.value:o!=null&&o.value?o.value:l!=null?l:i.value||"body"})}Ce.tdkey=vr;Ce.propTo={type:[String,Object,Boolean],default:void 0};let ce=null;function gr(){if(ce===null&&(ce=document.getElementById("v-binder-view-measurer"),ce===null)){ce=document.createElement("div"),ce.id="v-binder-view-measurer";const{style:e}=ce;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(ce)}return ce.getBoundingClientRect()}function Ln(e,t){const r=gr();return{top:t,left:e,height:0,width:0,right:r.width-e,bottom:r.height-t}}function qe(e){const t=e.getBoundingClientRect(),r=gr();return{left:t.left-r.left,top:t.top-r.top,bottom:r.height+r.top-t.bottom,right:r.width+r.left-t.right,width:t.width,height:t.height}}function Rn(e){return e.nodeType===9?null:e.parentNode}function mr(e){if(e===null)return null;const t=Rn(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:r,overflowX:n,overflowY:o}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(r+o+n))return t}return mr(t)}const Nn=Z({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;me("VBinder",(t=Lr())===null||t===void 0?void 0:t.proxy);const r=re("VBinder",null),n=j(null),o=v=>{n.value=v,r&&e.syncTargetWithParent&&r.setTargetRef(v)};let i=[];const a=()=>{let v=n.value;for(;v=mr(v),v!==null;)i.push(v);for(const w of i)ve("scroll",w,f,!0)},l=()=>{for(const v of i)ge("scroll",v,f,!0);i=[]},s=new Set,d=v=>{s.size===0&&a(),s.has(v)||s.add(v)},h=v=>{s.has(v)&&s.delete(v),s.size===0&&l()},f=()=>{pr(u)},u=()=>{s.forEach(v=>v())},x=new Set,g=v=>{x.size===0&&ve("resize",window,y),x.has(v)||x.add(v)},b=v=>{x.has(v)&&x.delete(v),x.size===0&&ge("resize",window,y)},y=()=>{x.forEach(v=>v())};return Oe(()=>{ge("resize",window,y),l()}),{targetRef:n,setTargetRef:o,addScrollListener:d,removeScrollListener:h,addResizeListener:g,removeResizeListener:b}},render(){return Rr("binder",this.$slots)}}),Fn=Nn,Hn=Z({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=re("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?Ge(St("follower",this.$slots),[[t]]):St("follower",this.$slots)}}),we="@@mmoContext",Kn={mounted(e,{value:t}){e[we]={handler:void 0},typeof t=="function"&&(e[we].handler=t,ve("mousemoveoutside",e,t))},updated(e,{value:t}){const r=e[we];typeof t=="function"?r.handler?r.handler!==t&&(ge("mousemoveoutside",e,r.handler),r.handler=t,ve("mousemoveoutside",e,t)):(e[we].handler=t,ve("mousemoveoutside",e,t)):r.handler&&(ge("mousemoveoutside",e,r.handler),r.handler=void 0)},unmounted(e){const{handler:t}=e[we];t&&ge("mousemoveoutside",e,t),e[we].handler=void 0}},jn=Kn,{c:be}=Nr(),yr="vueuc-style";function Bt(e){return e&-e}class Gn{constructor(t,r){this.l=t,this.min=r;const n=new Array(t+1);for(let o=0;o<t+1;++o)n[o]=0;this.ft=n}add(t,r){if(r===0)return;const{l:n,ft:o}=this;for(t+=1;t<=n;)o[t]+=r,t+=Bt(t)}get(t){return this.sum(t+1)-this.sum(t)}sum(t){if(t===void 0&&(t=this.l),t<=0)return 0;const{ft:r,min:n,l:o}=this;if(t>o)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*n;for(;t>0;)i+=r[t],t-=Bt(t);return i}getBound(t){let r=0,n=this.l;for(;n>r;){const o=Math.floor((r+n)/2),i=this.sum(o);if(i>t){n=o;continue}else if(i<t){if(r===o)return this.sum(r+1)<=t?r+1:o;r=o}else return o}return r}}const Ie={top:"bottom",bottom:"top",left:"right",right:"left"},It={start:"end",center:"center",end:"start"},Qe={top:"height",bottom:"height",left:"width",right:"width"},Vn={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},Wn={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},Un={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},Pt={top:!0,bottom:!1,left:!0,right:!1},Dt={top:"end",bottom:"start",left:"end",right:"start"};function Yn(e,t,r,n,o,i){if(!o||i)return{placement:e,top:0,left:0};const[a,l]=e.split("-");let s=l!=null?l:"center",d={top:0,left:0};const h=(x,g,b)=>{let y=0,v=0;const w=r[x]-t[g]-t[x];return w>0&&n&&(b?v=Pt[g]?w:-w:y=Pt[g]?w:-w),{left:y,top:v}},f=a==="left"||a==="right";if(s!=="center"){const x=Un[e],g=Ie[x],b=Qe[x];if(r[b]>t[b]){if(t[x]+t[b]<r[b]){const y=(r[b]-t[b])/2;t[x]<y||t[g]<y?t[x]<t[g]?(s=It[l],d=h(b,g,f)):d=h(b,x,f):s="center"}}else r[b]<t[b]&&t[g]<0&&t[x]>t[g]&&(s=It[l])}else{const x=a==="bottom"||a==="top"?"left":"top",g=Ie[x],b=Qe[x],y=(r[b]-t[b])/2;(t[x]<y||t[g]<y)&&(t[x]>t[g]?(s=Dt[x],d=h(b,x,f)):(s=Dt[g],d=h(b,g,f)))}let u=a;return t[a]<r[Qe[a]]&&t[a]<t[Ie[a]]&&(u=Ie[a]),{placement:s!=="center"?`${u}-${s}`:u,left:d.left,top:d.top}}function Xn(e,t){return t?Wn[e]:Vn[e]}function Zn(e,t,r,n,o,i){if(i)switch(e){case"bottom-start":return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left)}px`,transform:"translateY(-100%)"};case"bottom-end":return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top-start":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left)}px`,transform:""};case"top-end":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%)"};case"right-start":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%)"};case"right-end":return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"left-start":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left)}px`,transform:""};case"left-end":return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left)}px`,transform:"translateY(-100%)"};case"top":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left+r.width/2)}px`,transform:"translateX(-50%)"};case"right":return{top:`${Math.round(r.top-t.top+r.height/2)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:`${Math.round(r.top-t.top+r.height/2)}px`,left:`${Math.round(r.left-t.left)}px`,transform:"translateY(-50%)"};case"bottom":default:return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left+r.width/2)}px`,transform:"translateX(-50%) translateY(-100%)"}}switch(e){case"bottom-start":return{top:`${Math.round(r.top-t.top+r.height+n)}px`,left:`${Math.round(r.left-t.left+o)}px`,transform:""};case"bottom-end":return{top:`${Math.round(r.top-t.top+r.height+n)}px`,left:`${Math.round(r.left-t.left+r.width+o)}px`,transform:"translateX(-100%)"};case"top-start":return{top:`${Math.round(r.top-t.top+n)}px`,left:`${Math.round(r.left-t.left+o)}px`,transform:"translateY(-100%)"};case"top-end":return{top:`${Math.round(r.top-t.top+n)}px`,left:`${Math.round(r.left-t.left+r.width+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:`${Math.round(r.top-t.top+n)}px`,left:`${Math.round(r.left-t.left+r.width+o)}px`,transform:""};case"right-end":return{top:`${Math.round(r.top-t.top+r.height+n)}px`,left:`${Math.round(r.left-t.left+r.width+o)}px`,transform:"translateY(-100%)"};case"left-start":return{top:`${Math.round(r.top-t.top+n)}px`,left:`${Math.round(r.left-t.left+o)}px`,transform:"translateX(-100%)"};case"left-end":return{top:`${Math.round(r.top-t.top+r.height+n)}px`,left:`${Math.round(r.left-t.left+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:`${Math.round(r.top-t.top+n)}px`,left:`${Math.round(r.left-t.left+r.width/2+o)}px`,transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:`${Math.round(r.top-t.top+r.height/2+n)}px`,left:`${Math.round(r.left-t.left+r.width+o)}px`,transform:"translateY(-50%)"};case"left":return{top:`${Math.round(r.top-t.top+r.height/2+n)}px`,left:`${Math.round(r.left-t.left+o)}px`,transform:"translateY(-50%) translateX(-100%)"};case"bottom":default:return{top:`${Math.round(r.top-t.top+r.height+n)}px`,left:`${Math.round(r.left-t.left+r.width/2+o)}px`,transform:"translateX(-50%)"}}}const Jn=be([be(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),be(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[be("> *",{pointerEvents:"all"})])]),qn=Z({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=re("VBinder"),r=le(()=>e.enabled!==void 0?e.enabled:e.show),n=j(null),o=j(null),i=()=>{const{syncTrigger:u}=e;u.includes("scroll")&&t.addScrollListener(s),u.includes("resize")&&t.addResizeListener(s)},a=()=>{t.removeScrollListener(s),t.removeResizeListener(s)};Ke(()=>{r.value&&(s(),i())});const l=nr();Jn.mount({id:"vueuc/binder",head:!0,anchorMetaName:yr,ssr:l}),Oe(()=>{a()}),In(()=>{r.value&&s()});const s=()=>{if(!r.value)return;const u=n.value;if(u===null)return;const x=t.targetRef,{x:g,y:b,overlap:y}=e,v=g!==void 0&&b!==void 0?Ln(g,b):qe(x);u.style.setProperty("--v-target-width",`${Math.round(v.width)}px`),u.style.setProperty("--v-target-height",`${Math.round(v.height)}px`);const{width:w,minWidth:I,placement:$,internalShift:k,flip:M}=e;u.setAttribute("v-placement",$),y?u.setAttribute("v-overlap",""):u.removeAttribute("v-overlap");const{style:O}=u;w==="target"?O.width=`${v.width}px`:w!==void 0?O.width=w:O.width="",I==="target"?O.minWidth=`${v.width}px`:I!==void 0?O.minWidth=I:O.minWidth="";const P=qe(u),D=qe(o.value),{left:z,top:m,placement:A}=Yn($,v,P,k,M,y),R=Xn(A,y),{left:T,top:c,transform:p}=Zn(A,D,v,m,z,y);u.setAttribute("v-placement",A),u.style.setProperty("--v-offset-left",`${Math.round(z)}px`),u.style.setProperty("--v-offset-top",`${Math.round(m)}px`),u.style.transform=`translateX(${T}) translateY(${c}) ${p}`,u.style.setProperty("--v-transform-origin",R),u.style.transformOrigin=R};Me(r,u=>{u?(i(),d()):a()});const d=()=>{Hr().then(s).catch(u=>console.error(u))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(u=>{Me(ee(e,u),s)}),["teleportDisabled"].forEach(u=>{Me(ee(e,u),d)}),Me(ee(e,"syncTrigger"),u=>{u.includes("resize")?t.addResizeListener(s):t.removeResizeListener(s),u.includes("scroll")?t.addScrollListener(s):t.removeScrollListener(s)});const h=or(),f=le(()=>{const{to:u}=e;if(u!==void 0)return u;h.value});return{VBinder:t,mergedEnabled:r,offsetContainerRef:o,followerRef:n,mergedTo:f,syncPosition:s}},render(){return _(Fr,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const r=_("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[_("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?Ge(r,[[ir,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):r}})}});let Pe;function Qn(){return typeof document>"u"?!1:(Pe===void 0&&("matchMedia"in window?Pe=window.matchMedia("(pointer:coarse)").matches:Pe=!1),Pe)}let et;function Lt(){return typeof document>"u"?1:(et===void 0&&(et="chrome"in window?window.devicePixelRatio:1),et)}const eo=be(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[be("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[be("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),os=Z({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){const t=nr();eo.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:yr,ssr:t}),Ke(()=>{const{defaultScrollIndex:m,defaultScrollKey:A}=e;m!=null?g({index:m}):A!=null&&g({key:A})});let r=!1,n=!1;Kr(()=>{if(r=!1,!n){n=!0;return}g({top:f.value,left:h})}),ar(()=>{r=!0,n||(n=!0)});const o=G(()=>{const m=new Map,{keyField:A}=e;return e.items.forEach((R,T)=>{m.set(R[A],T)}),m}),i=j(null),a=j(void 0),l=new Map,s=G(()=>{const{items:m,itemSize:A,keyField:R}=e,T=new Gn(m.length,A);return m.forEach((c,p)=>{const S=c[R],C=l.get(S);C!==void 0&&T.add(p,C)}),T}),d=j(0);let h=0;const f=j(0),u=le(()=>Math.max(s.value.getBound(f.value-Re(e.paddingTop))-1,0)),x=G(()=>{const{value:m}=a;if(m===void 0)return[];const{items:A,itemSize:R}=e,T=u.value,c=Math.min(T+Math.ceil(m/R+1),A.length-1),p=[];for(let S=T;S<=c;++S)p.push(A[S]);return p}),g=(m,A)=>{if(typeof m=="number"){w(m,A,"auto");return}const{left:R,top:T,index:c,key:p,position:S,behavior:C,debounce:E=!0}=m;if(R!==void 0||T!==void 0)w(R,T,C);else if(c!==void 0)v(c,C,E);else if(p!==void 0){const B=o.value.get(p);B!==void 0&&v(B,C,E)}else S==="bottom"?w(0,Number.MAX_SAFE_INTEGER,C):S==="top"&&w(0,0,C)};let b,y=null;function v(m,A,R){const{value:T}=s,c=T.sum(m)+Re(e.paddingTop);if(!R)i.value.scrollTo({left:0,top:c,behavior:A});else{b=m,y!==null&&window.clearTimeout(y),y=window.setTimeout(()=>{b=void 0,y=null},16);const{scrollTop:p,offsetHeight:S}=i.value;if(c>p){const C=T.get(m);c+C<=p+S||i.value.scrollTo({left:0,top:c+C-S,behavior:A})}else i.value.scrollTo({left:0,top:c,behavior:A})}}function w(m,A,R){i.value.scrollTo({left:m,top:A,behavior:R})}function I(m,A){var R,T,c;if(r||e.ignoreItemResize||z(A.target))return;const{value:p}=s,S=o.value.get(m),C=p.get(S),E=(c=(T=(R=A.borderBoxSize)===null||R===void 0?void 0:R[0])===null||T===void 0?void 0:T.blockSize)!==null&&c!==void 0?c:A.contentRect.height;if(E===C)return;E-e.itemSize===0?l.delete(m):l.set(m,E-e.itemSize);const F=E-C;if(F===0)return;p.add(S,F);const K=i.value;if(K!=null){if(b===void 0){const V=p.sum(S);K.scrollTop>V&&K.scrollBy(0,F)}else if(S<b)K.scrollBy(0,F);else if(S===b){const V=p.sum(S);E+V>K.scrollTop+K.offsetHeight&&K.scrollBy(0,F)}D()}d.value++}const $=!Qn();let k=!1;function M(m){var A;(A=e.onScroll)===null||A===void 0||A.call(e,m),(!$||!k)&&D()}function O(m){var A;if((A=e.onWheel)===null||A===void 0||A.call(e,m),$){const R=i.value;if(R!=null){if(m.deltaX===0&&(R.scrollTop===0&&m.deltaY<=0||R.scrollTop+R.offsetHeight>=R.scrollHeight&&m.deltaY>=0))return;m.preventDefault(),R.scrollTop+=m.deltaY/Lt(),R.scrollLeft+=m.deltaX/Lt(),D(),k=!0,pr(()=>{k=!1})}}}function P(m){if(r||z(m.target)||m.contentRect.height===a.value)return;a.value=m.contentRect.height;const{onResize:A}=e;A!==void 0&&A(m)}function D(){const{value:m}=i;m!=null&&(f.value=m.scrollTop,h=m.scrollLeft)}function z(m){let A=m;for(;A!==null;){if(A.style.display==="none")return!0;A=A.parentElement}return!1}return{listHeight:a,listStyle:{overflow:"auto"},keyToIndex:o,itemsStyle:G(()=>{const{itemResizable:m}=e,A=Be(s.value.sum());return d.value,[e.itemsStyle,{boxSizing:"content-box",height:m?"":A,minHeight:m?A:"",paddingTop:Be(e.paddingTop),paddingBottom:Be(e.paddingBottom)}]}),visibleItemsStyle:G(()=>(d.value,{transform:`translateY(${Be(s.value.sum(u.value))})`})),viewportItems:x,listElRef:i,itemsElRef:j(null),scrollTo:g,handleListResize:P,handleListScroll:M,handleListWheel:O,handleItemResize:I}},render(){const{itemResizable:e,keyField:t,keyToIndex:r,visibleItemsTag:n}=this;return _($t,{onResize:this.handleListResize},{default:()=>{var o,i;return _("div",bt(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?_("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[_(n,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>this.viewportItems.map(a=>{const l=a[t],s=r.get(l),d=this.$slots.default({item:a,index:s})[0];return e?_($t,{key:l,onResize:h=>this.handleItemResize(l,h)},{default:()=>d}):(d.key=l,d)})})]):(i=(o=this.$slots).empty)===null||i===void 0?void 0:i.call(o)])}})}});var ut=Ve(We,"WeakMap"),to=jr(Object.keys,Object),ro=Object.prototype,no=ro.hasOwnProperty;function oo(e){if(!Gr(e))return to(e);var t=[];for(var r in Object(e))no.call(e,r)&&r!="constructor"&&t.push(r);return t}function mt(e){return vt(e)?Vr(e):oo(e)}var io=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ao=/^\w*$/;function yt(e,t){if(fe(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||sr(e)?!0:ao.test(e)||!io.test(e)||t!=null&&e in Object(t)}var so="Expected a function";function wt(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(so);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(wt.Cache||gt),r}wt.Cache=gt;var lo=500;function uo(e){var t=wt(e,function(n){return r.size===lo&&r.clear(),n}),r=t.cache;return t}var co=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,fo=/\\(\\)?/g,ho=uo(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(co,function(r,n,o,i){t.push(o?i.replace(fo,"$1"):n||r)}),t});function wr(e,t){return fe(e)?e:yt(e,t)?[e]:ho(Wr(e))}var po=1/0;function Xe(e){if(typeof e=="string"||sr(e))return e;var t=e+"";return t=="0"&&1/e==-po?"-0":t}function xr(e,t){t=wr(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[Xe(t[r++])];return r&&r==n?e:void 0}function bo(e,t,r){var n=e==null?void 0:xr(e,t);return n===void 0?r:n}function vo(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}function go(e,t){for(var r=-1,n=e==null?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}function mo(){return[]}var yo=Object.prototype,wo=yo.propertyIsEnumerable,Rt=Object.getOwnPropertySymbols,xo=Rt?function(e){return e==null?[]:(e=Object(e),go(Rt(e),function(t){return wo.call(e,t)}))}:mo;const Co=xo;function So(e,t,r){var n=t(e);return fe(e)?n:vo(n,r(e))}function Nt(e){return So(e,mt,Co)}var ct=Ve(We,"DataView"),ft=Ve(We,"Promise"),ht=Ve(We,"Set"),Ft="[object Map]",$o="[object Object]",Ht="[object Promise]",Kt="[object Set]",jt="[object WeakMap]",Gt="[object DataView]",ko=Se(ct),Mo=Se(lt),zo=Se(ft),To=Se(ht),Oo=Se(ut),pe=lr;(ct&&pe(new ct(new ArrayBuffer(1)))!=Gt||lt&&pe(new lt)!=Ft||ft&&pe(ft.resolve())!=Ht||ht&&pe(new ht)!=Kt||ut&&pe(new ut)!=jt)&&(pe=function(e){var t=lr(e),r=t==$o?e.constructor:void 0,n=r?Se(r):"";if(n)switch(n){case ko:return Gt;case Mo:return Ft;case zo:return Ht;case To:return Kt;case Oo:return jt}return t});const Vt=pe;var Ao="__lodash_hash_undefined__";function _o(e){return this.__data__.set(e,Ao),this}function Eo(e){return this.__data__.has(e)}function Fe(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new gt;++t<r;)this.add(e[t])}Fe.prototype.add=Fe.prototype.push=_o;Fe.prototype.has=Eo;function Bo(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function Io(e,t){return e.has(t)}var Po=1,Do=2;function Cr(e,t,r,n,o,i){var a=r&Po,l=e.length,s=t.length;if(l!=s&&!(a&&s>l))return!1;var d=i.get(e),h=i.get(t);if(d&&h)return d==t&&h==e;var f=-1,u=!0,x=r&Do?new Fe:void 0;for(i.set(e,t),i.set(t,e);++f<l;){var g=e[f],b=t[f];if(n)var y=a?n(b,g,f,t,e,i):n(g,b,f,e,t,i);if(y!==void 0){if(y)continue;u=!1;break}if(x){if(!Bo(t,function(v,w){if(!Io(x,w)&&(g===v||o(g,v,r,n,i)))return x.push(w)})){u=!1;break}}else if(!(g===b||o(g,b,r,n,i))){u=!1;break}}return i.delete(e),i.delete(t),u}function Lo(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}function Ro(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var No=1,Fo=2,Ho="[object Boolean]",Ko="[object Date]",jo="[object Error]",Go="[object Map]",Vo="[object Number]",Wo="[object RegExp]",Uo="[object Set]",Yo="[object String]",Xo="[object Symbol]",Zo="[object ArrayBuffer]",Jo="[object DataView]",Wt=kt?kt.prototype:void 0,tt=Wt?Wt.valueOf:void 0;function qo(e,t,r,n,o,i,a){switch(r){case Jo:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Zo:return!(e.byteLength!=t.byteLength||!i(new Mt(e),new Mt(t)));case Ho:case Ko:case Vo:return Ur(+e,+t);case jo:return e.name==t.name&&e.message==t.message;case Wo:case Yo:return e==t+"";case Go:var l=Lo;case Uo:var s=n&No;if(l||(l=Ro),e.size!=t.size&&!s)return!1;var d=a.get(e);if(d)return d==t;n|=Fo,a.set(e,t);var h=Cr(l(e),l(t),n,o,i,a);return a.delete(e),h;case Xo:if(tt)return tt.call(e)==tt.call(t)}return!1}var Qo=1,ei=Object.prototype,ti=ei.hasOwnProperty;function ri(e,t,r,n,o,i){var a=r&Qo,l=Nt(e),s=l.length,d=Nt(t),h=d.length;if(s!=h&&!a)return!1;for(var f=s;f--;){var u=l[f];if(!(a?u in t:ti.call(t,u)))return!1}var x=i.get(e),g=i.get(t);if(x&&g)return x==t&&g==e;var b=!0;i.set(e,t),i.set(t,e);for(var y=a;++f<s;){u=l[f];var v=e[u],w=t[u];if(n)var I=a?n(w,v,u,t,e,i):n(v,w,u,e,t,i);if(!(I===void 0?v===w||o(v,w,r,n,i):I)){b=!1;break}y||(y=u=="constructor")}if(b&&!y){var $=e.constructor,k=t.constructor;$!=k&&"constructor"in e&&"constructor"in t&&!(typeof $=="function"&&$ instanceof $&&typeof k=="function"&&k instanceof k)&&(b=!1)}return i.delete(e),i.delete(t),b}var ni=1,Ut="[object Arguments]",Yt="[object Array]",De="[object Object]",oi=Object.prototype,Xt=oi.hasOwnProperty;function ii(e,t,r,n,o,i){var a=fe(e),l=fe(t),s=a?Yt:Vt(e),d=l?Yt:Vt(t);s=s==Ut?De:s,d=d==Ut?De:d;var h=s==De,f=d==De,u=s==d;if(u&&zt(e)){if(!zt(t))return!1;a=!0,h=!1}if(u&&!h)return i||(i=new Le),a||Yr(e)?Cr(e,t,r,n,o,i):qo(e,t,s,r,n,o,i);if(!(r&ni)){var x=h&&Xt.call(e,"__wrapped__"),g=f&&Xt.call(t,"__wrapped__");if(x||g){var b=x?e.value():e,y=g?t.value():t;return i||(i=new Le),o(b,y,r,n,i)}}return u?(i||(i=new Le),ri(e,t,r,n,o,i)):!1}function xt(e,t,r,n,o){return e===t?!0:e==null||t==null||!Tt(e)&&!Tt(t)?e!==e&&t!==t:ii(e,t,r,n,xt,o)}var ai=1,si=2;function li(e,t,r,n){var o=r.length,i=o,a=!n;if(e==null)return!i;for(e=Object(e);o--;){var l=r[o];if(a&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<i;){l=r[o];var s=l[0],d=e[s],h=l[1];if(a&&l[2]){if(d===void 0&&!(s in e))return!1}else{var f=new Le;if(n)var u=n(d,h,s,e,t,f);if(!(u===void 0?xt(h,d,ai|si,n,f):u))return!1}}return!0}function Sr(e){return e===e&&!Xr(e)}function di(e){for(var t=mt(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,Sr(o)]}return t}function $r(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function ui(e){var t=di(e);return t.length==1&&t[0][2]?$r(t[0][0],t[0][1]):function(r){return r===e||li(r,e,t)}}function ci(e,t){return e!=null&&t in Object(e)}function fi(e,t,r){t=wr(t,e);for(var n=-1,o=t.length,i=!1;++n<o;){var a=Xe(t[n]);if(!(i=e!=null&&r(e,a)))break;e=e[a]}return i||++n!=o?i:(o=e==null?0:e.length,!!o&&Zr(o)&&Jr(a,o)&&(fe(e)||qr(e)))}function hi(e,t){return e!=null&&fi(e,t,ci)}var pi=1,bi=2;function vi(e,t){return yt(e)&&Sr(t)?$r(Xe(e),t):function(r){var n=bo(r,e);return n===void 0&&n===t?hi(r,e):xt(t,n,pi|bi)}}function gi(e){return function(t){return t==null?void 0:t[e]}}function mi(e){return function(t){return xr(t,e)}}function yi(e){return yt(e)?gi(Xe(e)):mi(e)}function wi(e){return typeof e=="function"?e:e==null?Qr:typeof e=="object"?fe(e)?vi(e[0],e[1]):ui(e):yi(e)}function xi(e,t){return e&&en(e,t,mt)}function Ci(e,t){return function(r,n){if(r==null)return r;if(!vt(r))return e(r,n);for(var o=r.length,i=t?o:-1,a=Object(r);(t?i--:++i<o)&&n(a[i],i,a)!==!1;);return r}}var Si=Ci(xi);function $i(e,t){var r=-1,n=vt(e)?Array(e.length):[];return Si(e,function(o,i,a){n[++r]=t(o,i,a)}),n}function ki(e,t){var r=fe(e)?tn:$i;return r(e,wi(t))}const is=Z({name:"ChevronRight",render(){return _("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),Mi=Z({name:"Empty",render(){return _("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),_("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}});function Zt(e){return Array.isArray(e)?e:[e]}const pt={STOP:"STOP"};function kr(e,t){const r=t(e);e.children!==void 0&&r!==pt.STOP&&e.children.forEach(n=>kr(n,t))}function zi(e,t={}){const{preserveGroup:r=!1}=t,n=[],o=r?a=>{a.isLeaf||(n.push(a.key),i(a.children))}:a=>{a.isLeaf||(a.isGroup||n.push(a.key),i(a.children))};function i(a){a.forEach(o)}return i(e),n}function Ti(e,t){const{isLeaf:r}=e;return r!==void 0?r:!t(e)}function Oi(e){return e.children}function Ai(e){return e.key}function _i(){return!1}function Ei(e,t){const{isLeaf:r}=e;return!(r===!1&&!Array.isArray(t(e)))}function Bi(e){return e.disabled===!0}function Ii(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function rt(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function nt(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function Pi(e,t){const r=new Set(e);return t.forEach(n=>{r.has(n)||r.add(n)}),Array.from(r)}function Di(e,t){const r=new Set(e);return t.forEach(n=>{r.has(n)&&r.delete(n)}),Array.from(r)}function Li(e){return(e==null?void 0:e.type)==="group"}function as(e){const t=new Map;return e.forEach((r,n)=>{t.set(r.key,n)}),r=>{var n;return(n=t.get(r))!==null&&n!==void 0?n:null}}class Ri extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function Ni(e,t,r,n){return He(t.concat(e),r,n,!1)}function Fi(e,t){const r=new Set;return e.forEach(n=>{const o=t.treeNodeMap.get(n);if(o!==void 0){let i=o.parent;for(;i!==null&&!(i.disabled||r.has(i.key));)r.add(i.key),i=i.parent}}),r}function Hi(e,t,r,n){const o=He(t,r,n,!1),i=He(e,r,n,!0),a=Fi(e,r),l=[];return o.forEach(s=>{(i.has(s)||a.has(s))&&l.push(s)}),l.forEach(s=>o.delete(s)),o}function ot(e,t){const{checkedKeys:r,keysToCheck:n,keysToUncheck:o,indeterminateKeys:i,cascade:a,leafOnly:l,checkStrategy:s,allowNotLoaded:d}=e;if(!a)return n!==void 0?{checkedKeys:Pi(r,n),indeterminateKeys:Array.from(i)}:o!==void 0?{checkedKeys:Di(r,o),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(r),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:h}=t;let f;o!==void 0?f=Hi(o,r,t,d):n!==void 0?f=Ni(n,r,t,d):f=He(r,t,d,!1);const u=s==="parent",x=s==="child"||l,g=f,b=new Set,y=Math.max.apply(null,Array.from(h.keys()));for(let v=y;v>=0;v-=1){const w=v===0,I=h.get(v);for(const $ of I){if($.isLeaf)continue;const{key:k,shallowLoaded:M}=$;if(x&&M&&$.children.forEach(z=>{!z.disabled&&!z.isLeaf&&z.shallowLoaded&&g.has(z.key)&&g.delete(z.key)}),$.disabled||!M)continue;let O=!0,P=!1,D=!0;for(const z of $.children){const m=z.key;if(!z.disabled){if(D&&(D=!1),g.has(m))P=!0;else if(b.has(m)){P=!0,O=!1;break}else if(O=!1,P)break}}O&&!D?(u&&$.children.forEach(z=>{!z.disabled&&g.has(z.key)&&g.delete(z.key)}),g.add(k)):P&&b.add(k),w&&x&&g.has(k)&&g.delete(k)}}return{checkedKeys:Array.from(g),indeterminateKeys:Array.from(b)}}function He(e,t,r,n){const{treeNodeMap:o,getChildren:i}=t,a=new Set,l=new Set(e);return e.forEach(s=>{const d=o.get(s);d!==void 0&&kr(d,h=>{if(h.disabled)return pt.STOP;const{key:f}=h;if(!a.has(f)&&(a.add(f),l.add(f),Ii(h.rawNode,i))){if(n)return pt.STOP;if(!r)throw new Ri}})}),l}function Ki(e,{includeGroup:t=!1,includeSelf:r=!0},n){var o;const i=n.treeNodeMap;let a=e==null?null:(o=i.get(e))!==null&&o!==void 0?o:null;const l={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return l.treeNode=null,l;for(;a;)!a.ignored&&(t||!a.isGroup)&&l.treeNodePath.push(a),a=a.parent;return l.treeNodePath.reverse(),r||l.treeNodePath.pop(),l.keyPath=l.treeNodePath.map(s=>s.key),l}function ji(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function Gi(e,t){const r=e.siblings,n=r.length,{index:o}=e;return t?r[(o+1)%n]:o===r.length-1?null:r[o+1]}function Jt(e,t,{loop:r=!1,includeDisabled:n=!1}={}){const o=t==="prev"?Vi:Gi,i={reverse:t==="prev"};let a=!1,l=null;function s(d){if(d!==null){if(d===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){l=e;return}}else if((!d.disabled||n)&&!d.ignored&&!d.isGroup){l=d;return}if(d.isGroup){const h=Ct(d,i);h!==null?l=h:s(o(d,r))}else{const h=o(d,!1);if(h!==null)s(h);else{const f=Wi(d);f!=null&&f.isGroup?s(o(f,r)):r&&s(o(d,!0))}}}}return s(e),l}function Vi(e,t){const r=e.siblings,n=r.length,{index:o}=e;return t?r[(o-1+n)%n]:o===0?null:r[o-1]}function Wi(e){return e.parent}function Ct(e,t={}){const{reverse:r=!1}=t,{children:n}=e;if(n){const{length:o}=n,i=r?o-1:0,a=r?-1:o,l=r?-1:1;for(let s=i;s!==a;s+=l){const d=n[s];if(!d.disabled&&!d.ignored)if(d.isGroup){const h=Ct(d,t);if(h!==null)return h}else return d}}return null}const Ui={getChild(){return this.ignored?null:Ct(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return Jt(this,"next",e)},getPrev(e={}){return Jt(this,"prev",e)}};function Yi(e,t){const r=t?new Set(t):void 0,n=[];function o(i){i.forEach(a=>{n.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||r===void 0||r.has(a.key))&&o(a.children)})}return o(e),n}function Xi(e,t){const r=e.key;for(;t;){if(t.key===r)return!0;t=t.parent}return!1}function Mr(e,t,r,n,o,i=null,a=0){const l=[];return e.forEach((s,d)=>{var h;const f=Object.create(n);if(f.rawNode=s,f.siblings=l,f.level=a,f.index=d,f.isFirstChild=d===0,f.isLastChild=d+1===e.length,f.parent=i,!f.ignored){const u=o(s);Array.isArray(u)&&(f.children=Mr(u,t,r,n,o,f,a+1))}l.push(f),t.set(f.key,f),r.has(a)||r.set(a,[]),(h=r.get(a))===null||h===void 0||h.push(f)}),l}function ss(e,t={}){var r;const n=new Map,o=new Map,{getDisabled:i=Bi,getIgnored:a=_i,getIsGroup:l=Li,getKey:s=Ai}=t,d=(r=t.getChildren)!==null&&r!==void 0?r:Oi,h=t.ignoreEmptyChildren?$=>{const k=d($);return Array.isArray(k)?k.length?k:null:k}:d,f=Object.assign({get key(){return s(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return l(this.rawNode)},get isLeaf(){return Ti(this.rawNode,h)},get shallowLoaded(){return Ei(this.rawNode,h)},get ignored(){return a(this.rawNode)},contains($){return Xi(this,$)}},Ui),u=Mr(e,n,o,f,h);function x($){if($==null)return null;const k=n.get($);return k&&!k.isGroup&&!k.ignored?k:null}function g($){if($==null)return null;const k=n.get($);return k&&!k.ignored?k:null}function b($,k){const M=g($);return M?M.getPrev(k):null}function y($,k){const M=g($);return M?M.getNext(k):null}function v($){const k=g($);return k?k.getParent():null}function w($){const k=g($);return k?k.getChild():null}const I={treeNodes:u,treeNodeMap:n,levelTreeNodeMap:o,maxLevel:Math.max(...o.keys()),getChildren:h,getFlattenedNodes($){return Yi(u,$)},getNode:x,getPrev:b,getNext:y,getParent:v,getChild:w,getFirstAvailableNode(){return ji(u)},getPath($,k={}){return Ki($,k,I)},getCheckedKeys($,k={}){const{cascade:M=!0,leafOnly:O=!1,checkStrategy:P="all",allowNotLoaded:D=!1}=k;return ot({checkedKeys:rt($),indeterminateKeys:nt($),cascade:M,leafOnly:O,checkStrategy:P,allowNotLoaded:D},I)},check($,k,M={}){const{cascade:O=!0,leafOnly:P=!1,checkStrategy:D="all",allowNotLoaded:z=!1}=M;return ot({checkedKeys:rt(k),indeterminateKeys:nt(k),keysToCheck:$==null?[]:Zt($),cascade:O,leafOnly:P,checkStrategy:D,allowNotLoaded:z},I)},uncheck($,k,M={}){const{cascade:O=!0,leafOnly:P=!1,checkStrategy:D="all",allowNotLoaded:z=!1}=M;return ot({checkedKeys:rt(k),indeterminateKeys:nt(k),keysToUncheck:$==null?[]:Zt($),cascade:O,leafOnly:P,checkStrategy:D,allowNotLoaded:z},I)},getNonLeafKeys($={}){return zi(u,$)}};return I}const Zi={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},Ji=e=>{const{textColorDisabled:t,iconColor:r,textColor2:n,fontSizeSmall:o,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:l}=e;return Object.assign(Object.assign({},Zi),{fontSizeSmall:o,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:l,textColor:t,iconColor:r,extraTextColor:n})},qi={name:"Empty",common:$e,self:Ji},Qi=qi,ea=L("empty",`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -463,4 +463,4 @@ import{k as Ke,ay as Oe,a$ as Dr,m as G,M as je,X as re,aX as er,aY as tr,aV as
463
463
  cursor: not-allowed;
464
464
  opacity: var(--n-opacity-disabled);
465
465
  `)])]);function Ha(e,t,r){var n;const o=[];let i=!1;for(let a=0;a<e.length;++a){const l=e[a],s=(n=l.type)===null||n===void 0?void 0:n.name;s==="RadioButton"&&(i=!0);const d=l.props;if(s!=="RadioButton"){o.push(l);continue}if(a===0)o.push(l);else{const h=o[o.length-1].props,f=t===h.value,u=h.disabled,x=t===d.value,g=d.disabled,b=(f?2:0)+(u?0:1),y=(x?2:0)+(g?0:1),v={[`${r}-radio-group__splitor--disabled`]:u,[`${r}-radio-group__splitor--checked`]:f},w={[`${r}-radio-group__splitor--disabled`]:g,[`${r}-radio-group__splitor--checked`]:x},I=b<y?w:v;o.push(_("div",{class:[`${r}-radio-group__splitor`,I]}),l)}}return{children:o,isButtonGroup:i}}const Ka=Object.assign(Object.assign({},J.props),{name:String,value:[String,Number,Boolean],defaultValue:{type:[String,Number,Boolean],default:null},size:String,disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array]}),ps=Z({name:"RadioGroup",props:Ka,setup(e){const t=j(null),{mergedSizeRef:r,mergedDisabledRef:n,nTriggerFormChange:o,nTriggerFormInput:i,nTriggerFormBlur:a,nTriggerFormFocus:l}=Ue(e),{mergedClsPrefixRef:s,inlineThemeDisabled:d,mergedRtlRef:h}=oe(e),f=J("Radio","-radio-group",Fa,Er,e,s),u=j(e.defaultValue),x=ee(e,"value"),g=_e(x,u);function b(k){const{onUpdateValue:M,"onUpdate:value":O}=e;M&&W(M,k),O&&W(O,k),u.value=k,o(),i()}function y(k){const{value:M}=t;M&&(M.contains(k.relatedTarget)||l())}function v(k){const{value:M}=t;M&&(M.contains(k.relatedTarget)||a())}me(Br,{mergedClsPrefixRef:s,nameRef:ee(e,"name"),valueRef:g,disabledRef:n,mergedSizeRef:r,doUpdateValue:b});const w=Ye("Radio",h,s),I=G(()=>{const{value:k}=r,{common:{cubicBezierEaseInOut:M},self:{buttonBorderColor:O,buttonBorderColorActive:P,buttonBorderRadius:D,buttonBoxShadow:z,buttonBoxShadowFocus:m,buttonBoxShadowHover:A,buttonColor:R,buttonColorActive:T,buttonTextColor:c,buttonTextColorActive:p,buttonTextColorHover:S,opacityDisabled:C,[de("buttonHeight",k)]:E,[de("fontSize",k)]:B}}=f.value;return{"--n-font-size":B,"--n-bezier":M,"--n-button-border-color":O,"--n-button-border-color-active":P,"--n-button-border-radius":D,"--n-button-box-shadow":z,"--n-button-box-shadow-focus":m,"--n-button-box-shadow-hover":A,"--n-button-color":R,"--n-button-color-active":T,"--n-button-text-color":c,"--n-button-text-color-hover":S,"--n-button-text-color-active":p,"--n-height":E,"--n-opacity-disabled":C}}),$=d?Ae("radio-group",G(()=>r.value[0]),I,e):void 0;return{selfElRef:t,rtlEnabled:w,mergedClsPrefix:s,mergedValue:g,handleFocusout:v,handleFocusin:y,cssVars:d?void 0:I,themeClass:$==null?void 0:$.themeClass,onRender:$==null?void 0:$.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:r,handleFocusin:n,handleFocusout:o}=this,{children:i,isButtonGroup:a}=Ha(cr(br(this)),t,r);return(e=this.onRender)===null||e===void 0||e.call(this),_("div",{onFocusin:n,onFocusout:o,ref:"selfElRef",class:[`${r}-radio-group`,this.rtlEnabled&&`${r}-radio-group--rtl`,this.themeClass,a&&`${r}-radio-group--button-group`],style:this.cssVars},i)}}),ja={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},Ga=()=>ja,Va={name:"Space",self:Ga},Wa=Va;let at;const Ua=()=>{if(!Cn)return!0;if(at===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),at=t}return at},Ya=Object.assign(Object.assign({},J.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),bs=Z({name:"Space",props:Ya,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:r}=oe(e),n=J("Space","-space",void 0,Wa,e,t),o=Ye("Space",r,t);return{useGap:Ua(),rtlEnabled:o,mergedClsPrefix:t,margin:G(()=>{const{size:i}=e;if(Array.isArray(i))return{horizontal:i[0],vertical:i[1]};if(typeof i=="number")return{horizontal:i,vertical:i};const{self:{[de("gap",i)]:a}}=n.value,{row:l,col:s}=$n(a);return{horizontal:Re(s),vertical:Re(l)}})}},render(){const{vertical:e,reverse:t,align:r,inline:n,justify:o,itemClass:i,itemStyle:a,margin:l,wrap:s,mergedClsPrefix:d,rtlEnabled:h,useGap:f,wrapItem:u,internalUseGap:x}=this,g=cr(br(this),!1);if(!g.length)return null;const b=`${l.horizontal}px`,y=`${l.horizontal/2}px`,v=`${l.vertical}px`,w=`${l.vertical/2}px`,I=g.length-1,$=o.startsWith("space-");return _("div",{role:"none",class:[`${d}-space`,h&&`${d}-space--rtl`],style:{display:n?"inline-flex":"flex",flexDirection:e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row",justifyContent:["start","end"].includes(o)?"flex-"+o:o,flexWrap:!s||e?"nowrap":"wrap",marginTop:f||e?"":`-${w}`,marginBottom:f||e?"":`-${w}`,alignItems:r,gap:f?`${l.vertical}px ${l.horizontal}px`:""}},!u&&(f||x)?g:g.map((k,M)=>k.type===Sn?k:_("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},f?"":e?{marginBottom:M!==I?v:""}:h?{marginLeft:$?o==="space-between"&&M===I?"":y:M!==I?b:"",marginRight:$?o==="space-between"&&M===0?"":y:"",paddingTop:w,paddingBottom:w}:{marginRight:$?o==="space-between"&&M===I?"":y:M!==I?b:"",marginLeft:$?o==="space-between"&&M===0?"":y:"",paddingTop:w,paddingBottom:w}]},k)))}}),vs=(e,t=0,r)=>{let n=!1;const o=kn((i,a)=>({get(){return i(),n},set(l){n=l,a()}}));return{get loading(){return o.value},invoke:async(...i)=>{n||(o.value=!0,await e(...i).catch(a=>{r&&r(a)}),await fr(t),o.value=!1)}}},gs=(e,t=(...o)=>o.join(""),r=0,n)=>{const o=Mn({}),i=zn(o);return{loading:o,invoke:async(...l)=>{const s=String(t(...l));i[s]||(o[s]=!0,await e(...l).catch(d=>{n?n(d):console.error(d)}),await fr(r),delete o[s])}}};var Ir={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(On,function(){var r=1e3,n=6e4,o=36e5,i="millisecond",a="second",l="minute",s="hour",d="day",h="week",f="month",u="quarter",x="year",g="date",b="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(T){var c=["th","st","nd","rd"],p=T%100;return"["+T+(c[(p-20)%10]||c[p]||c[0])+"]"}},I=function(T,c,p){var S=String(T);return!S||S.length>=c?T:""+Array(c+1-S.length).join(p)+T},$={s:I,z:function(T){var c=-T.utcOffset(),p=Math.abs(c),S=Math.floor(p/60),C=p%60;return(c<=0?"+":"-")+I(S,2,"0")+":"+I(C,2,"0")},m:function T(c,p){if(c.date()<p.date())return-T(p,c);var S=12*(p.year()-c.year())+(p.month()-c.month()),C=c.clone().add(S,f),E=p-C<0,B=c.clone().add(S+(E?-1:1),f);return+(-(S+(p-C)/(E?C-B:B-C))||0)},a:function(T){return T<0?Math.ceil(T)||0:Math.floor(T)},p:function(T){return{M:f,y:x,w:h,d,D:g,h:s,m:l,s:a,ms:i,Q:u}[T]||String(T||"").toLowerCase().replace(/s$/,"")},u:function(T){return T===void 0}},k="en",M={};M[k]=w;var O="$isDayjsObject",P=function(T){return T instanceof A||!(!T||!T[O])},D=function T(c,p,S){var C;if(!c)return k;if(typeof c=="string"){var E=c.toLowerCase();M[E]&&(C=E),p&&(M[E]=p,C=E);var B=c.split("-");if(!C&&B.length>1)return T(B[0])}else{var F=c.name;M[F]=c,C=F}return!S&&C&&(k=C),C||!S&&k},z=function(T,c){if(P(T))return T.clone();var p=typeof c=="object"?c:{};return p.date=T,p.args=arguments,new A(p)},m=$;m.l=D,m.i=P,m.w=function(T,c){return z(T,{locale:c.$L,utc:c.$u,x:c.$x,$offset:c.$offset})};var A=function(){function T(p){this.$L=D(p.locale,null,!0),this.parse(p),this.$x=this.$x||p.x||{},this[O]=!0}var c=T.prototype;return c.parse=function(p){this.$d=function(S){var C=S.date,E=S.utc;if(C===null)return new Date(NaN);if(m.u(C))return new Date;if(C instanceof Date)return new Date(C);if(typeof C=="string"&&!/Z$/i.test(C)){var B=C.match(y);if(B){var F=B[2]-1||0,K=(B[7]||"0").substring(0,3);return E?new Date(Date.UTC(B[1],F,B[3]||1,B[4]||0,B[5]||0,B[6]||0,K)):new Date(B[1],F,B[3]||1,B[4]||0,B[5]||0,B[6]||0,K)}}return new Date(C)}(p),this.init()},c.init=function(){var p=this.$d;this.$y=p.getFullYear(),this.$M=p.getMonth(),this.$D=p.getDate(),this.$W=p.getDay(),this.$H=p.getHours(),this.$m=p.getMinutes(),this.$s=p.getSeconds(),this.$ms=p.getMilliseconds()},c.$utils=function(){return m},c.isValid=function(){return this.$d.toString()!==b},c.isSame=function(p,S){var C=z(p);return this.startOf(S)<=C&&C<=this.endOf(S)},c.isAfter=function(p,S){return z(p)<this.startOf(S)},c.isBefore=function(p,S){return this.endOf(S)<z(p)},c.$g=function(p,S,C){return m.u(p)?this[S]:this.set(C,p)},c.unix=function(){return Math.floor(this.valueOf()/1e3)},c.valueOf=function(){return this.$d.getTime()},c.startOf=function(p,S){var C=this,E=!!m.u(S)||S,B=m.p(p),F=function(ae,q){var ne=m.w(C.$u?Date.UTC(C.$y,q,ae):new Date(C.$y,q,ae),C);return E?ne:ne.endOf(d)},K=function(ae,q){return m.w(C.toDate()[ae].apply(C.toDate("s"),(E?[0,0,0,0]:[23,59,59,999]).slice(q)),C)},V=this.$W,X=this.$M,Q=this.$D,ue="set"+(this.$u?"UTC":"");switch(B){case x:return E?F(1,0):F(31,11);case f:return E?F(1,X):F(0,X+1);case h:var ie=this.$locale().weekStart||0,he=(V<ie?V+7:V)-ie;return F(E?Q-he:Q+(6-he),X);case d:case g:return K(ue+"Hours",0);case s:return K(ue+"Minutes",1);case l:return K(ue+"Seconds",2);case a:return K(ue+"Milliseconds",3);default:return this.clone()}},c.endOf=function(p){return this.startOf(p,!1)},c.$set=function(p,S){var C,E=m.p(p),B="set"+(this.$u?"UTC":""),F=(C={},C[d]=B+"Date",C[g]=B+"Date",C[f]=B+"Month",C[x]=B+"FullYear",C[s]=B+"Hours",C[l]=B+"Minutes",C[a]=B+"Seconds",C[i]=B+"Milliseconds",C)[E],K=E===d?this.$D+(S-this.$W):S;if(E===f||E===x){var V=this.clone().set(g,1);V.$d[F](K),V.init(),this.$d=V.set(g,Math.min(this.$D,V.daysInMonth())).$d}else F&&this.$d[F](K);return this.init(),this},c.set=function(p,S){return this.clone().$set(p,S)},c.get=function(p){return this[m.p(p)]()},c.add=function(p,S){var C,E=this;p=Number(p);var B=m.p(S),F=function(X){var Q=z(E);return m.w(Q.date(Q.date()+Math.round(X*p)),E)};if(B===f)return this.set(f,this.$M+p);if(B===x)return this.set(x,this.$y+p);if(B===d)return F(1);if(B===h)return F(7);var K=(C={},C[l]=n,C[s]=o,C[a]=r,C)[B]||1,V=this.$d.getTime()+p*K;return m.w(V,this)},c.subtract=function(p,S){return this.add(-1*p,S)},c.format=function(p){var S=this,C=this.$locale();if(!this.isValid())return C.invalidDate||b;var E=p||"YYYY-MM-DDTHH:mm:ssZ",B=m.z(this),F=this.$H,K=this.$m,V=this.$M,X=C.weekdays,Q=C.months,ue=C.meridiem,ie=function(q,ne,ke,Ee){return q&&(q[ne]||q(S,E))||ke[ne].slice(0,Ee)},he=function(q){return m.s(F%12||12,q,"0")},ae=ue||function(q,ne,ke){var Ee=q<12?"AM":"PM";return ke?Ee.toLowerCase():Ee};return E.replace(v,function(q,ne){return ne||function(ke){switch(ke){case"YY":return String(S.$y).slice(-2);case"YYYY":return m.s(S.$y,4,"0");case"M":return V+1;case"MM":return m.s(V+1,2,"0");case"MMM":return ie(C.monthsShort,V,Q,3);case"MMMM":return ie(Q,V);case"D":return S.$D;case"DD":return m.s(S.$D,2,"0");case"d":return String(S.$W);case"dd":return ie(C.weekdaysMin,S.$W,X,2);case"ddd":return ie(C.weekdaysShort,S.$W,X,3);case"dddd":return X[S.$W];case"H":return String(F);case"HH":return m.s(F,2,"0");case"h":return he(1);case"hh":return he(2);case"a":return ae(F,K,!0);case"A":return ae(F,K,!1);case"m":return String(K);case"mm":return m.s(K,2,"0");case"s":return String(S.$s);case"ss":return m.s(S.$s,2,"0");case"SSS":return m.s(S.$ms,3,"0");case"Z":return B}return null}(q)||B.replace(":","")})},c.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},c.diff=function(p,S,C){var E,B=this,F=m.p(S),K=z(p),V=(K.utcOffset()-this.utcOffset())*n,X=this-K,Q=function(){return m.m(B,K)};switch(F){case x:E=Q()/12;break;case f:E=Q();break;case u:E=Q()/3;break;case h:E=(X-V)/6048e5;break;case d:E=(X-V)/864e5;break;case s:E=X/o;break;case l:E=X/n;break;case a:E=X/r;break;default:E=X}return C?E:m.a(E)},c.daysInMonth=function(){return this.endOf(f).$D},c.$locale=function(){return M[this.$L]},c.locale=function(p,S){if(!p)return this.$L;var C=this.clone(),E=D(p,S,!0);return E&&(C.$L=E),C},c.clone=function(){return m.w(this.$d,this)},c.toDate=function(){return new Date(this.valueOf())},c.toJSON=function(){return this.isValid()?this.toISOString():null},c.toISOString=function(){return this.$d.toISOString()},c.toString=function(){return this.$d.toUTCString()},T}(),R=A.prototype;return z.prototype=R,[["$ms",i],["$s",a],["$m",l],["$H",s],["$W",d],["$M",f],["$y",x],["$D",g]].forEach(function(T){R[T[1]]=function(c){return this.$g(c,T[0],T[1])}}),z.extend=function(T,c){return T.$i||(T(c,A,z),T.$i=!0),z},z.locale=D,z.isDayjs=P,z.unix=function(T){return z(1e3*T)},z.en=M[k],z.Ls=M,z.p={},z})})(Ir);var Xa=Ir.exports;const ms=An(Xa),ys=e=>(e.forEach(t=>{var r,n,o,i,a,l,s,d,h,f,u,x;(r=t.attr)!=null||(t.attr={name:"NULL"}),(n=t.children)!=null||(t.children=[]),t.parent=e[t.pid],t.parent&&((i=(o=t.attr).index)!=null||(o.index=t.parent.children.length),(a=t.parent)==null||a.children.push(t)),Object.defineProperty(t,"isLeaf",{get(){return t.children.length==0}}),t.attr.depth=((d=(s=(l=t.parent)==null?void 0:l.attr)==null?void 0:s.depth)!=null?d:-1)+1,(f=(h=t.attr)._id)!=null||(h._id=t.id),(x=(u=t.attr)._pid)!=null||(u._pid=t.pid)}),e[0]),Za=(e,t,r)=>{const n=e.attr;return n.left<=t&&t<=n.right&&n.top<=r&&r<=n.bottom},Ja=(e,t)=>e.attr.left<=t.attr.left&&e.attr.top<=t.attr.top&&e.attr.right>=t.attr.right&&e.attr.bottom>=t.attr.bottom,ws=(e,t,r)=>{let n;return e.forEach(o=>{var i;if(((i=o==null?void 0:o.attr)==null?void 0:i.left)!==void 0&&Za(o,t,r)){if(!n){n=o;return}Ja(n,o)&&(n=o)}}),n},Pr=e=>{const t=e.attr.childCount;return(e.attr.name||"🐔"+(t>1?"":` [${t}]`)).split(".").at(-1)},st=Symbol("labelKey"),xs=e=>{if(Reflect.has(e,st))return Reflect.get(e,st);let t=Pr(e);const r=e.children.length;return r>1&&(t=`${t} [${r}]`),e.attr.text?t=`${t} : ${e.attr.text}`:e.attr.desc&&(t=`${t} : ${e.attr.desc}`),Reflect.set(e,st,t),t},Cs=(e,t=15)=>{let r=Pr(e);const n=e.children.length;n>1&&(r=`${r} [${n}]`);const o=e.attr.text||e.attr.desc||"";return o?o.length>t?`${r} : ${o.slice(0,t)}...`:`${r} : ${o}`:r},Ss=e=>typeof e.device=="object"&&e.device?e.device:e;export{zr as A,Or as B,is as C,Pn as D,Ce as E,Fn as F,Hn as G,qn as H,Er as I,Ta as J,Pa as K,Ia as L,qt as M,ds as N,Qt as O,us as P,aa as Q,bo as R,pr as S,os as V,fa as a,bs as b,ma as c,cs as d,Qi as e,ss as f,Yi as g,rs as h,as as i,ls as j,Ba as k,fs as l,ws as m,hs as n,ps as o,xs as p,ms as q,Ss as r,Cs as s,ys as t,vs as u,gs as v,yr as w,be as x,ns as y,Dn as z};
466
- //# sourceMappingURL=node-vEwVC5Sp.js.map
466
+ //# sourceMappingURL=node-HCHoNevK.js.map