@gkd-kit/inspect 0.0.1708533355135 → 0.0.1708694845989
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/404.html +4 -4
- package/dist/assets/{ActionCard.vue_vue_type_script_setup_true_lang-EIoLCoQx.js → ActionCard.vue_vue_type_script_setup_true_lang-pQLYH5qX.js} +2 -2
- package/dist/assets/{ActionCard.vue_vue_type_script_setup_true_lang-EIoLCoQx.js.map → ActionCard.vue_vue_type_script_setup_true_lang-pQLYH5qX.js.map} +1 -1
- package/dist/assets/{DevicePage-gRPAiopr.js → DevicePage-7FbVEoy_.js} +2 -2
- package/dist/assets/{DevicePage-gRPAiopr.js.map → DevicePage-7FbVEoy_.js.map} +1 -1
- package/dist/assets/{HomePage--nbz-6RR.js → HomePage-jAbDY-V-.js} +2 -2
- package/dist/assets/{HomePage--nbz-6RR.js.map → HomePage-jAbDY-V-.js.map} +1 -1
- package/dist/assets/{ImportPage-hRTl6X1o.js → ImportPage-mhdkrnlD.js} +2 -2
- package/dist/assets/{ImportPage-hRTl6X1o.js.map → ImportPage-mhdkrnlD.js.map} +1 -1
- package/dist/assets/{PreviewSharePage-fDUp6EkY.js → PreviewSharePage-FhAhACqT.js} +2 -2
- package/dist/assets/{PreviewSharePage-fDUp6EkY.js.map → PreviewSharePage-FhAhACqT.js.map} +1 -1
- package/dist/assets/{SnapshotPage-UiGXStrN.js → SnapshotPage-Ag-tWWxQ.js} +3 -3
- package/dist/assets/SnapshotPage-Ag-tWWxQ.js.map +1 -0
- package/dist/assets/{_404Page-ZBcimwJ8.js → _404Page-1uuKaFSW.js} +2 -2
- package/dist/assets/{_404Page-ZBcimwJ8.js.map → _404Page-1uuKaFSW.js.map} +1 -1
- package/dist/assets/{fetch-Ktxryej1.js → fetch-6yVric54.js} +2 -2
- package/dist/assets/{fetch-Ktxryej1.js.map → fetch-6yVric54.js.map} +1 -1
- package/dist/assets/{import-lKHRTPc2.js → import-AGzNF5Y-.js} +2 -2
- package/dist/assets/{import-lKHRTPc2.js.map → import-AGzNF5Y-.js.map} +1 -1
- package/dist/assets/{index-2qB1KYL_.js → index-YXLr6PYb.js} +4 -4
- package/dist/assets/{index-2qB1KYL_.js.map → index-YXLr6PYb.js.map} +1 -1
- package/dist/assets/{index-JTJ7QRy3.js → index-bnveuJxV.js} +2 -2
- package/dist/assets/{index-JTJ7QRy3.js.map → index-bnveuJxV.js.map} +1 -1
- package/dist/assets/{jszip.min-wHcj-zq9.js → jszip.min-TWz0A_Tr.js} +2 -2
- package/dist/assets/{jszip.min-wHcj-zq9.js.map → jszip.min-TWz0A_Tr.js.map} +1 -1
- package/dist/assets/{node-eyIH0lwl.js → node-KsOgEzyz.js} +2 -2
- package/dist/assets/{node-eyIH0lwl.js.map → node-KsOgEzyz.js.map} +1 -1
- package/dist/assets/{selector-wm3fOFdO.js → selector-bYf8jOJf.js} +2 -2
- package/dist/assets/{selector-wm3fOFdO.js.map → selector-bYf8jOJf.js.map} +1 -1
- package/dist/assets/{storage-FvLsA3bx.js → storage-Zk0YdZrf.js} +2 -2
- package/dist/assets/{storage-FvLsA3bx.js.map → storage-Zk0YdZrf.js.map} +1 -1
- package/dist/assets/{table-mgpVKMUi.js → table-UGmtUcXW.js} +19 -19
- package/dist/assets/{table-mgpVKMUi.js.map → table-UGmtUcXW.js.map} +1 -1
- package/dist/index.html +4 -4
- package/package.json +1 -1
- package/dist/assets/SnapshotPage-UiGXStrN.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ab as Ae,ay as $e,b0 as Vn,j as G,L as Ke,W as ne,aX as nn,aY as rn,aV as on,I as j,aB as ve,az as ge,V as le,d as Z,D as me,a$ as an,b1 as Un,Q as Ge,b2 as $t,b3 as Yn,aC as sn,k as xe,P as ee,aO as ln,q as _,b4 as dn,b5 as Xn,aj as un,b6 as Zn,b7 as cn,ah as Ne,aU as vt,aZ as kt,ad as Be,b8 as We,b9 as Ve,ba as Jn,bb as qn,bc as gt,bd as Qn,be as fe,bf as fn,bg as mt,bh as er,bi as ke,bj as hn,bk as lt,bl as Mt,bm as tr,bn as zt,bo as Tt,bp as Re,bq as nr,br as Ot,bs as rr,bt as or,bu as ir,bv as ar,bw as sr,bx as lr,by as dr,H as Me,v as L,A as H,y as N,B as oe,J,bz as ur,a6 as de,K as _e,Z as cr,x as ye,z as U,bA as fr,w as pn,aE as hr,aP as At,S as pr,aQ as _t,bB as Et,bC as br,aG as Te,F as vr,ai as gr,bD as Pt,bE as mr,bF as yr,aM as wr,M as V,C as xr,a3 as dt,aN as Ue,ae as Cr,a4 as Sr,a5 as $r,G as Ye,U as kr,a7 as Mr,a1 as bn,a0 as zr,aT as Tr,bG as vn,aa as Or,bH as Ar,bI as _r,bJ as gn,i as Er,bK as Pr,e as Br,aA as mn,bL as Ir,bM as Dr}from"./index-2qB1KYL_.js";import{c as Lr,f as Ze,u as Ee}from"./index-JTJ7QRy3.js";import{a as yn}from"./fetch-Ktxryej1.js";import{e as Rr,d as Nr}from"./storage-FvLsA3bx.js";let Fe=[];const wn=new WeakMap;function Fr(){Fe.forEach(e=>e(...wn.get(e))),Fe=[]}function xn(e,...t){wn.set(e,t),!Fe.includes(e)&&Fe.push(e)===1&&requestAnimationFrame(Fr)}function bs(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function Cn(e,t="default",n=[]){const o=e.$slots[t];return o===void 0?n:o()}let Je;function Hr(){return Je===void 0&&(Je=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Je}let Ce,Oe;const jr=()=>{var e,t;Ce=Vn?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,Oe=!1,Ce!==void 0?Ce.then(()=>{Oe=!0}):Oe=!0};jr();function Kr(e){if(Oe)return;let t=!1;Ae(()=>{Oe||Ce==null||Ce.then(()=>{t||e()})}),$e(()=>{t=!0})}function Gr(e,t){return G(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const vs=Ke("n-internal-select-menu"),Wr=Ke("n-internal-select-menu-body"),Sn="__disabled__";function Se(e){const t=ne(nn,null),n=ne(rn,null),r=ne(on,null),o=ne(Wr,null),i=j();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};Ae(()=>{ve("fullscreenchange",document,a)}),$e(()=>{ge("fullscreenchange",document,a)})}return le(()=>{var a;const{to:s}=e;return s!==void 0?s===!1?Sn:s===!0?i.value||"body":s:t!=null&&t.value?(a=t.value.$el)!==null&&a!==void 0?a:t.value:n!=null&&n.value?n.value:r!=null&&r.value?r.value:o!=null&&o.value?o.value:s!=null?s:i.value||"body"})}Se.tdkey=Sn;Se.propTo={type:[String,Object,Boolean],default:void 0};let ce=null;function $n(){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 Vr(e,t){const n=$n();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function qe(e){const t=e.getBoundingClientRect(),n=$n();return{left:t.left-n.left,top:t.top-n.top,bottom:n.height+n.top-t.bottom,right:n.width+n.left-t.right,width:t.width,height:t.height}}function Ur(e){return e.nodeType===9?null:e.parentNode}function kn(e){if(e===null)return null;const t=Ur(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:n,overflowX:r,overflowY:o}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(n+o+r))return t}return kn(t)}const Yr=Z({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;me("VBinder",(t=an())===null||t===void 0?void 0:t.proxy);const n=ne("VBinder",null),r=j(null),o=v=>{r.value=v,n&&e.syncTargetWithParent&&n.setTargetRef(v)};let i=[];const a=()=>{let v=r.value;for(;v=kn(v),v!==null;)i.push(v);for(const w of i)ve("scroll",w,f,!0)},s=()=>{for(const v of i)ge("scroll",v,f,!0);i=[]},l=new Set,d=v=>{l.size===0&&a(),l.has(v)||l.add(v)},h=v=>{l.has(v)&&l.delete(v),l.size===0&&s()},f=()=>{xn(u)},u=()=>{l.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 $e(()=>{ge("resize",window,y),s()}),{targetRef:r,setTargetRef:o,addScrollListener:d,removeScrollListener:h,addResizeListener:g,removeResizeListener:b}},render(){return Un("binder",this.$slots)}}),Xr=Yr,Zr=Z({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=ne("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?Ge($t("follower",this.$slots),[[t]]):$t("follower",this.$slots)}}),we="@@mmoContext",Jr={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 n=e[we];typeof t=="function"?n.handler?n.handler!==t&&(ge("mousemoveoutside",e,n.handler),n.handler=t,ve("mousemoveoutside",e,t)):(e[we].handler=t,ve("mousemoveoutside",e,t)):n.handler&&(ge("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[we];t&&ge("mousemoveoutside",e,t),e[we].handler=void 0}},qr=Jr,{c:be}=Yn(),Mn="vueuc-style";function Bt(e){return e&-e}class Qr{constructor(t,n){this.l=t,this.min=n;const r=new Array(t+1);for(let o=0;o<t+1;++o)r[o]=0;this.ft=r}add(t,n){if(n===0)return;const{l:r,ft:o}=this;for(t+=1;t<=r;)o[t]+=n,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:n,min:r,l:o}=this;if(t>o)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*r;for(;t>0;)i+=n[t],t-=Bt(t);return i}getBound(t){let n=0,r=this.l;for(;r>n;){const o=Math.floor((n+r)/2),i=this.sum(o);if(i>t){r=o;continue}else if(i<t){if(n===o)return this.sum(n+1)<=t?n+1:o;n=o}else return o}return n}}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"},eo={"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"},to={"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"},no={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},Dt={top:!0,bottom:!1,left:!0,right:!1},Lt={top:"end",bottom:"start",left:"end",right:"start"};function ro(e,t,n,r,o,i){if(!o||i)return{placement:e,top:0,left:0};const[a,s]=e.split("-");let l=s!=null?s:"center",d={top:0,left:0};const h=(x,g,b)=>{let y=0,v=0;const w=n[x]-t[g]-t[x];return w>0&&r&&(b?v=Dt[g]?w:-w:y=Dt[g]?w:-w),{left:y,top:v}},f=a==="left"||a==="right";if(l!=="center"){const x=no[e],g=Ie[x],b=Qe[x];if(n[b]>t[b]){if(t[x]+t[b]<n[b]){const y=(n[b]-t[b])/2;t[x]<y||t[g]<y?t[x]<t[g]?(l=It[s],d=h(b,g,f)):d=h(b,x,f):l="center"}}else n[b]<t[b]&&t[g]<0&&t[x]>t[g]&&(l=It[s])}else{const x=a==="bottom"||a==="top"?"left":"top",g=Ie[x],b=Qe[x],y=(n[b]-t[b])/2;(t[x]<y||t[g]<y)&&(t[x]>t[g]?(l=Lt[x],d=h(b,x,f)):(l=Lt[g],d=h(b,g,f)))}let u=a;return t[a]<n[Qe[a]]&&t[a]<t[Ie[a]]&&(u=Ie[a]),{placement:l!=="center"?`${u}-${l}`:u,left:d.left,top:d.top}}function oo(e,t){return t?to[e]:eo[e]}function io(e,t,n,r,o,i){if(i)switch(e){case"bottom-start":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-100%)"};case"bottom-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left)}px`,transform:""};case"top-end":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%)"};case"right-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%)"};case"right-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"left-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left)}px`,transform:""};case"left-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-100%)"};case"top":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width/2)}px`,transform:"translateX(-50%)"};case"right":return{top:`${Math.round(n.top-t.top+n.height/2)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:`${Math.round(n.top-t.top+n.height/2)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-50%)"};case"bottom":default:return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width/2)}px`,transform:"translateX(-50%) translateY(-100%)"}}switch(e){case"bottom-start":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:""};case"bottom-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateX(-100%)"};case"top-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateY(-100%)"};case"top-end":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:""};case"right-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateY(-100%)"};case"left-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateX(-100%)"};case"left-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width/2+o)}px`,transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:`${Math.round(n.top-t.top+n.height/2+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateY(-50%)"};case"left":return{top:`${Math.round(n.top-t.top+n.height/2+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateY(-50%) translateX(-100%)"};case"bottom":default:return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width/2+o)}px`,transform:"translateX(-50%)"}}}const ao=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"})])]),so=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=ne("VBinder"),n=le(()=>e.enabled!==void 0?e.enabled:e.show),r=j(null),o=j(null),i=()=>{const{syncTrigger:u}=e;u.includes("scroll")&&t.addScrollListener(l),u.includes("resize")&&t.addResizeListener(l)},a=()=>{t.removeScrollListener(l),t.removeResizeListener(l)};Ae(()=>{n.value&&(l(),i())});const s=sn();ao.mount({id:"vueuc/binder",head:!0,anchorMetaName:Mn,ssr:s}),$e(()=>{a()}),Kr(()=>{n.value&&l()});const l=()=>{if(!n.value)return;const u=r.value;if(u===null)return;const x=t.targetRef,{x:g,y:b,overlap:y}=e,v=g!==void 0&&b!==void 0?Vr(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:B,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="",B==="target"?O.minWidth=`${v.width}px`:B!==void 0?O.minWidth=B:O.minWidth="";const I=qe(u),D=qe(o.value),{left:z,top:m,placement:A}=ro($,v,I,k,M,y),R=oo(A,y),{left:T,top:c,transform:p}=io(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};xe(n,u=>{u?(i(),d()):a()});const d=()=>{un().then(l).catch(u=>console.error(u))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(u=>{xe(ee(e,u),l)}),["teleportDisabled"].forEach(u=>{xe(ee(e,u),d)}),xe(ee(e,"syncTrigger"),u=>{u.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),u.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const h=ln(),f=le(()=>{const{to:u}=e;if(u!==void 0)return u;h.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:o,followerRef:r,mergedTo:f,syncPosition:l}},render(){return _(Xn,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=_("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(n,[[dn,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});let De;function lo(){return typeof document>"u"?!1:(De===void 0&&("matchMedia"in window?De=window.matchMedia("(pointer:coarse)").matches:De=!1),De)}let et;function Rt(){return typeof document>"u"?1:(et===void 0&&(et="chrome"in window?window.devicePixelRatio:1),et)}const uo=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"})])]),gs=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=sn();uo.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Mn,ssr:t}),Ae(()=>{const{defaultScrollIndex:m,defaultScrollKey:A}=e;m!=null?g({index:m}):A!=null&&g({key:A})});let n=!1,r=!1;Zn(()=>{if(n=!1,!r){r=!0;return}g({top:f.value,left:h})}),cn(()=>{n=!0,r||(r=!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),s=new Map,l=G(()=>{const{items:m,itemSize:A,keyField:R}=e,T=new Qr(m.length,A);return m.forEach((c,p)=>{const S=c[R],C=s.get(S);C!==void 0&&T.add(p,C)}),T}),d=j(0);let h=0;const f=j(0),u=le(()=>Math.max(l.value.getBound(f.value-Ne(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 P=o.value.get(p);P!==void 0&&v(P,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}=l,c=T.sum(m)+Ne(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 B(m,A){var R,T,c;if(n||e.ignoreItemResize||z(A.target))return;const{value:p}=l,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?s.delete(m):s.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 W=p.sum(S);K.scrollTop>W&&K.scrollBy(0,F)}else if(S<b)K.scrollBy(0,F);else if(S===b){const W=p.sum(S);E+W>K.scrollTop+K.offsetHeight&&K.scrollBy(0,F)}D()}d.value++}const $=!lo();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/Rt(),R.scrollLeft+=m.deltaX/Rt(),D(),k=!0,xn(()=>{k=!1})}}}function I(m){if(n||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(l.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(l.value.sum(u.value))})`})),viewportItems:x,listElRef:i,itemsElRef:j(null),scrollTo:g,handleListResize:I,handleListScroll:M,handleListWheel:O,handleItemResize:B}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:r}=this;return _(kt,{onResize:this.handleListResize},{default:()=>{var o,i;return _("div",vt(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},[_(r,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>this.viewportItems.map(a=>{const s=a[t],l=n.get(s),d=this.$slots.default({item:a,index:l})[0];return e?_(kt,{key:s,onResize:h=>this.handleItemResize(s,h)},{default:()=>d}):(d.key=s,d)})})]):(i=(o=this.$slots).empty)===null||i===void 0?void 0:i.call(o)])}})}});var ut=We(Ve,"WeakMap"),co=Jn(Object.keys,Object),fo=Object.prototype,ho=fo.hasOwnProperty;function po(e){if(!qn(e))return co(e);var t=[];for(var n in Object(e))ho.call(e,n)&&n!="constructor"&&t.push(n);return t}function yt(e){return gt(e)?Qn(e):po(e)}var bo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vo=/^\w*$/;function wt(e,t){if(fe(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||fn(e)?!0:vo.test(e)||!bo.test(e)||t!=null&&e in Object(t)}var go="Expected a function";function xt(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(go);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(xt.Cache||mt),n}xt.Cache=mt;var mo=500;function yo(e){var t=xt(e,function(r){return n.size===mo&&n.clear(),r}),n=t.cache;return t}var wo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xo=/\\(\\)?/g,Co=yo(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(wo,function(n,r,o,i){t.push(o?i.replace(xo,"$1"):r||n)}),t});function zn(e,t){return fe(e)?e:wt(e,t)?[e]:Co(er(e))}var So=1/0;function Xe(e){if(typeof e=="string"||fn(e))return e;var t=e+"";return t=="0"&&1/e==-So?"-0":t}function Tn(e,t){t=zn(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Xe(t[n++])];return n&&n==r?e:void 0}function $o(e,t,n){var r=e==null?void 0:Tn(e,t);return r===void 0?n:r}function ko(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Mo(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function zo(){return[]}var To=Object.prototype,Oo=To.propertyIsEnumerable,Nt=Object.getOwnPropertySymbols,Ao=Nt?function(e){return e==null?[]:(e=Object(e),Mo(Nt(e),function(t){return Oo.call(e,t)}))}:zo;const _o=Ao;function Eo(e,t,n){var r=t(e);return fe(e)?r:ko(r,n(e))}function Ft(e){return Eo(e,yt,_o)}var ct=We(Ve,"DataView"),ft=We(Ve,"Promise"),ht=We(Ve,"Set"),Ht="[object Map]",Po="[object Object]",jt="[object Promise]",Kt="[object Set]",Gt="[object WeakMap]",Wt="[object DataView]",Bo=ke(ct),Io=ke(lt),Do=ke(ft),Lo=ke(ht),Ro=ke(ut),pe=hn;(ct&&pe(new ct(new ArrayBuffer(1)))!=Wt||lt&&pe(new lt)!=Ht||ft&&pe(ft.resolve())!=jt||ht&&pe(new ht)!=Kt||ut&&pe(new ut)!=Gt)&&(pe=function(e){var t=hn(e),n=t==Po?e.constructor:void 0,r=n?ke(n):"";if(r)switch(r){case Bo:return Wt;case Io:return Ht;case Do:return jt;case Lo:return Kt;case Ro:return Gt}return t});const Vt=pe;var No="__lodash_hash_undefined__";function Fo(e){return this.__data__.set(e,No),this}function Ho(e){return this.__data__.has(e)}function He(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new mt;++t<n;)this.add(e[t])}He.prototype.add=He.prototype.push=Fo;He.prototype.has=Ho;function jo(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Ko(e,t){return e.has(t)}var Go=1,Wo=2;function On(e,t,n,r,o,i){var a=n&Go,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))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=n&Wo?new He:void 0;for(i.set(e,t),i.set(t,e);++f<s;){var g=e[f],b=t[f];if(r)var y=a?r(b,g,f,t,e,i):r(g,b,f,e,t,i);if(y!==void 0){if(y)continue;u=!1;break}if(x){if(!jo(t,function(v,w){if(!Ko(x,w)&&(g===v||o(g,v,n,r,i)))return x.push(w)})){u=!1;break}}else if(!(g===b||o(g,b,n,r,i))){u=!1;break}}return i.delete(e),i.delete(t),u}function Vo(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function Uo(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Yo=1,Xo=2,Zo="[object Boolean]",Jo="[object Date]",qo="[object Error]",Qo="[object Map]",ei="[object Number]",ti="[object RegExp]",ni="[object Set]",ri="[object String]",oi="[object Symbol]",ii="[object ArrayBuffer]",ai="[object DataView]",Ut=Mt?Mt.prototype:void 0,tt=Ut?Ut.valueOf:void 0;function si(e,t,n,r,o,i,a){switch(n){case ai:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ii:return!(e.byteLength!=t.byteLength||!i(new zt(e),new zt(t)));case Zo:case Jo:case ei:return tr(+e,+t);case qo:return e.name==t.name&&e.message==t.message;case ti:case ri:return e==t+"";case Qo:var s=Vo;case ni:var l=r&Yo;if(s||(s=Uo),e.size!=t.size&&!l)return!1;var d=a.get(e);if(d)return d==t;r|=Xo,a.set(e,t);var h=On(s(e),s(t),r,o,i,a);return a.delete(e),h;case oi:if(tt)return tt.call(e)==tt.call(t)}return!1}var li=1,di=Object.prototype,ui=di.hasOwnProperty;function ci(e,t,n,r,o,i){var a=n&li,s=Ft(e),l=s.length,d=Ft(t),h=d.length;if(l!=h&&!a)return!1;for(var f=l;f--;){var u=s[f];if(!(a?u in t:ui.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<l;){u=s[f];var v=e[u],w=t[u];if(r)var B=a?r(w,v,u,t,e,i):r(v,w,u,e,t,i);if(!(B===void 0?v===w||o(v,w,n,r,i):B)){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 fi=1,Yt="[object Arguments]",Xt="[object Array]",Le="[object Object]",hi=Object.prototype,Zt=hi.hasOwnProperty;function pi(e,t,n,r,o,i){var a=fe(e),s=fe(t),l=a?Xt:Vt(e),d=s?Xt:Vt(t);l=l==Yt?Le:l,d=d==Yt?Le:d;var h=l==Le,f=d==Le,u=l==d;if(u&&Tt(e)){if(!Tt(t))return!1;a=!0,h=!1}if(u&&!h)return i||(i=new Re),a||nr(e)?On(e,t,n,r,o,i):si(e,t,l,n,r,o,i);if(!(n&fi)){var x=h&&Zt.call(e,"__wrapped__"),g=f&&Zt.call(t,"__wrapped__");if(x||g){var b=x?e.value():e,y=g?t.value():t;return i||(i=new Re),o(b,y,n,r,i)}}return u?(i||(i=new Re),ci(e,t,n,r,o,i)):!1}function Ct(e,t,n,r,o){return e===t?!0:e==null||t==null||!Ot(e)&&!Ot(t)?e!==e&&t!==t:pi(e,t,n,r,Ct,o)}var bi=1,vi=2;function gi(e,t,n,r){var o=n.length,i=o,a=!r;if(e==null)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=n[o];var l=s[0],d=e[l],h=s[1];if(a&&s[2]){if(d===void 0&&!(l in e))return!1}else{var f=new Re;if(r)var u=r(d,h,l,e,t,f);if(!(u===void 0?Ct(h,d,bi|vi,r,f):u))return!1}}return!0}function An(e){return e===e&&!rr(e)}function mi(e){for(var t=yt(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,An(o)]}return t}function _n(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function yi(e){var t=mi(e);return t.length==1&&t[0][2]?_n(t[0][0],t[0][1]):function(n){return n===e||gi(n,e,t)}}function wi(e,t){return e!=null&&t in Object(e)}function xi(e,t,n){t=zn(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=Xe(t[r]);if(!(i=e!=null&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=e==null?0:e.length,!!o&&or(o)&&ir(a,o)&&(fe(e)||ar(e)))}function Ci(e,t){return e!=null&&xi(e,t,wi)}var Si=1,$i=2;function ki(e,t){return wt(e)&&An(t)?_n(Xe(e),t):function(n){var r=$o(n,e);return r===void 0&&r===t?Ci(n,e):Ct(t,r,Si|$i)}}function Mi(e){return function(t){return t==null?void 0:t[e]}}function zi(e){return function(t){return Tn(t,e)}}function Ti(e){return wt(e)?Mi(Xe(e)):zi(e)}function Oi(e){return typeof e=="function"?e:e==null?sr:typeof e=="object"?fe(e)?ki(e[0],e[1]):yi(e):Ti(e)}function Ai(e,t){return e&&lr(e,t,yt)}function _i(e,t){return function(n,r){if(n==null)return n;if(!gt(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Object(n);(t?i--:++i<o)&&r(a[i],i,a)!==!1;);return n}}var Ei=_i(Ai);function Pi(e,t){var n=-1,r=gt(e)?Array(e.length):[];return Ei(e,function(o,i,a){r[++n]=t(o,i,a)}),r}function Bi(e,t){var n=fe(e)?dr:Pi;return n(e,Oi(t))}const ms=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"}))}}),Ii=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 Jt(e){return Array.isArray(e)?e:[e]}const pt={STOP:"STOP"};function En(e,t){const n=t(e);e.children!==void 0&&n!==pt.STOP&&e.children.forEach(r=>En(r,t))}function Di(e,t={}){const{preserveGroup:n=!1}=t,r=[],o=n?a=>{a.isLeaf||(r.push(a.key),i(a.children))}:a=>{a.isLeaf||(a.isGroup||r.push(a.key),i(a.children))};function i(a){a.forEach(o)}return i(e),r}function Li(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function Ri(e){return e.children}function Ni(e){return e.key}function Fi(){return!1}function Hi(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function ji(e){return e.disabled===!0}function Ki(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function nt(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function rt(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function Gi(e,t){const n=new Set(e);return t.forEach(r=>{n.has(r)||n.add(r)}),Array.from(n)}function Wi(e,t){const n=new Set(e);return t.forEach(r=>{n.has(r)&&n.delete(r)}),Array.from(n)}function Vi(e){return(e==null?void 0:e.type)==="group"}function ys(e){const t=new Map;return e.forEach((n,r)=>{t.set(n.key,r)}),n=>{var r;return(r=t.get(n))!==null&&r!==void 0?r:null}}class Ui extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function Yi(e,t,n,r){return je(t.concat(e),n,r,!1)}function Xi(e,t){const n=new Set;return e.forEach(r=>{const o=t.treeNodeMap.get(r);if(o!==void 0){let i=o.parent;for(;i!==null&&!(i.disabled||n.has(i.key));)n.add(i.key),i=i.parent}}),n}function Zi(e,t,n,r){const o=je(t,n,r,!1),i=je(e,n,r,!0),a=Xi(e,n),s=[];return o.forEach(l=>{(i.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>o.delete(l)),o}function ot(e,t){const{checkedKeys:n,keysToCheck:r,keysToUncheck:o,indeterminateKeys:i,cascade:a,leafOnly:s,checkStrategy:l,allowNotLoaded:d}=e;if(!a)return r!==void 0?{checkedKeys:Gi(n,r),indeterminateKeys:Array.from(i)}:o!==void 0?{checkedKeys:Wi(n,o),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:h}=t;let f;o!==void 0?f=Zi(o,n,t,d):r!==void 0?f=Yi(r,n,t,d):f=je(n,t,d,!1);const u=l==="parent",x=l==="child"||s,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,B=h.get(v);for(const $ of B){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,I=!1,D=!0;for(const z of $.children){const m=z.key;if(!z.disabled){if(D&&(D=!1),g.has(m))I=!0;else if(b.has(m)){I=!0,O=!1;break}else if(O=!1,I)break}}O&&!D?(u&&$.children.forEach(z=>{!z.disabled&&g.has(z.key)&&g.delete(z.key)}),g.add(k)):I&&b.add(k),w&&x&&g.has(k)&&g.delete(k)}}return{checkedKeys:Array.from(g),indeterminateKeys:Array.from(b)}}function je(e,t,n,r){const{treeNodeMap:o,getChildren:i}=t,a=new Set,s=new Set(e);return e.forEach(l=>{const d=o.get(l);d!==void 0&&En(d,h=>{if(h.disabled)return pt.STOP;const{key:f}=h;if(!a.has(f)&&(a.add(f),s.add(f),Ki(h.rawNode,i))){if(r)return pt.STOP;if(!n)throw new Ui}})}),s}function Ji(e,{includeGroup:t=!1,includeSelf:n=!0},r){var o;const i=r.treeNodeMap;let a=e==null?null:(o=i.get(e))!==null&&o!==void 0?o:null;const s={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return s.treeNode=null,s;for(;a;)!a.ignored&&(t||!a.isGroup)&&s.treeNodePath.push(a),a=a.parent;return s.treeNodePath.reverse(),n||s.treeNodePath.pop(),s.keyPath=s.treeNodePath.map(l=>l.key),s}function qi(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function Qi(e,t){const n=e.siblings,r=n.length,{index:o}=e;return t?n[(o+1)%r]:o===n.length-1?null:n[o+1]}function qt(e,t,{loop:n=!1,includeDisabled:r=!1}={}){const o=t==="prev"?ea:Qi,i={reverse:t==="prev"};let a=!1,s=null;function l(d){if(d!==null){if(d===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){s=e;return}}else if((!d.disabled||r)&&!d.ignored&&!d.isGroup){s=d;return}if(d.isGroup){const h=St(d,i);h!==null?s=h:l(o(d,n))}else{const h=o(d,!1);if(h!==null)l(h);else{const f=ta(d);f!=null&&f.isGroup?l(o(f,n)):n&&l(o(d,!0))}}}}return l(e),s}function ea(e,t){const n=e.siblings,r=n.length,{index:o}=e;return t?n[(o-1+r)%r]:o===0?null:n[o-1]}function ta(e){return e.parent}function St(e,t={}){const{reverse:n=!1}=t,{children:r}=e;if(r){const{length:o}=r,i=n?o-1:0,a=n?-1:o,s=n?-1:1;for(let l=i;l!==a;l+=s){const d=r[l];if(!d.disabled&&!d.ignored)if(d.isGroup){const h=St(d,t);if(h!==null)return h}else return d}}return null}const na={getChild(){return this.ignored?null:St(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return qt(this,"next",e)},getPrev(e={}){return qt(this,"prev",e)}};function ra(e,t){const n=t?new Set(t):void 0,r=[];function o(i){i.forEach(a=>{r.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||n===void 0||n.has(a.key))&&o(a.children)})}return o(e),r}function oa(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function Pn(e,t,n,r,o,i=null,a=0){const s=[];return e.forEach((l,d)=>{var h;const f=Object.create(r);if(f.rawNode=l,f.siblings=s,f.level=a,f.index=d,f.isFirstChild=d===0,f.isLastChild=d+1===e.length,f.parent=i,!f.ignored){const u=o(l);Array.isArray(u)&&(f.children=Pn(u,t,n,r,o,f,a+1))}s.push(f),t.set(f.key,f),n.has(a)||n.set(a,[]),(h=n.get(a))===null||h===void 0||h.push(f)}),s}function ws(e,t={}){var n;const r=new Map,o=new Map,{getDisabled:i=ji,getIgnored:a=Fi,getIsGroup:s=Vi,getKey:l=Ni}=t,d=(n=t.getChildren)!==null&&n!==void 0?n:Ri,h=t.ignoreEmptyChildren?$=>{const k=d($);return Array.isArray(k)?k.length?k:null:k}:d,f=Object.assign({get key(){return l(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return s(this.rawNode)},get isLeaf(){return Li(this.rawNode,h)},get shallowLoaded(){return Hi(this.rawNode,h)},get ignored(){return a(this.rawNode)},contains($){return oa(this,$)}},na),u=Pn(e,r,o,f,h);function x($){if($==null)return null;const k=r.get($);return k&&!k.isGroup&&!k.ignored?k:null}function g($){if($==null)return null;const k=r.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 B={treeNodes:u,treeNodeMap:r,levelTreeNodeMap:o,maxLevel:Math.max(...o.keys()),getChildren:h,getFlattenedNodes($){return ra(u,$)},getNode:x,getPrev:b,getNext:y,getParent:v,getChild:w,getFirstAvailableNode(){return qi(u)},getPath($,k={}){return Ji($,k,B)},getCheckedKeys($,k={}){const{cascade:M=!0,leafOnly:O=!1,checkStrategy:I="all",allowNotLoaded:D=!1}=k;return ot({checkedKeys:nt($),indeterminateKeys:rt($),cascade:M,leafOnly:O,checkStrategy:I,allowNotLoaded:D},B)},check($,k,M={}){const{cascade:O=!0,leafOnly:I=!1,checkStrategy:D="all",allowNotLoaded:z=!1}=M;return ot({checkedKeys:nt(k),indeterminateKeys:rt(k),keysToCheck:$==null?[]:Jt($),cascade:O,leafOnly:I,checkStrategy:D,allowNotLoaded:z},B)},uncheck($,k,M={}){const{cascade:O=!0,leafOnly:I=!1,checkStrategy:D="all",allowNotLoaded:z=!1}=M;return ot({checkedKeys:nt(k),indeterminateKeys:rt(k),keysToUncheck:$==null?[]:Jt($),cascade:O,leafOnly:I,checkStrategy:D,allowNotLoaded:z},B)},getNonLeafKeys($={}){return Di(u,$)}};return B}const ia={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},aa=e=>{const{textColorDisabled:t,iconColor:n,textColor2:r,fontSizeSmall:o,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},ia),{fontSizeSmall:o,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:r})},sa={name:"Empty",common:Me,self:aa},la=sa,da=L("empty",`
|
|
1
|
+
import{ab as Ae,ay as $e,b0 as Vn,j as G,L as Ke,W as ne,aX as nn,aY as rn,aV as on,I as j,aB as ve,az as ge,V as le,d as Z,D as me,a$ as an,b1 as Un,Q as Ge,b2 as $t,b3 as Yn,aC as sn,k as xe,P as ee,aO as ln,q as _,b4 as dn,b5 as Xn,aj as un,b6 as Zn,b7 as cn,ah as Ne,aU as vt,aZ as kt,ad as Be,b8 as We,b9 as Ve,ba as Jn,bb as qn,bc as gt,bd as Qn,be as fe,bf as fn,bg as mt,bh as er,bi as ke,bj as hn,bk as lt,bl as Mt,bm as tr,bn as zt,bo as Tt,bp as Re,bq as nr,br as Ot,bs as rr,bt as or,bu as ir,bv as ar,bw as sr,bx as lr,by as dr,H as Me,v as L,A as H,y as N,B as oe,J,bz as ur,a6 as de,K as _e,Z as cr,x as ye,z as U,bA as fr,w as pn,aE as hr,aP as At,S as pr,aQ as _t,bB as Et,bC as br,aG as Te,F as vr,ai as gr,bD as Pt,bE as mr,bF as yr,aM as wr,M as V,C as xr,a3 as dt,aN as Ue,ae as Cr,a4 as Sr,a5 as $r,G as Ye,U as kr,a7 as Mr,a1 as bn,a0 as zr,aT as Tr,bG as vn,aa as Or,bH as Ar,bI as _r,bJ as gn,i as Er,bK as Pr,e as Br,aA as mn,bL as Ir,bM as Dr}from"./index-YXLr6PYb.js";import{c as Lr,f as Ze,u as Ee}from"./index-bnveuJxV.js";import{a as yn}from"./fetch-6yVric54.js";import{e as Rr,d as Nr}from"./storage-Zk0YdZrf.js";let Fe=[];const wn=new WeakMap;function Fr(){Fe.forEach(e=>e(...wn.get(e))),Fe=[]}function xn(e,...t){wn.set(e,t),!Fe.includes(e)&&Fe.push(e)===1&&requestAnimationFrame(Fr)}function bs(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function Cn(e,t="default",n=[]){const o=e.$slots[t];return o===void 0?n:o()}let Je;function Hr(){return Je===void 0&&(Je=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Je}let Ce,Oe;const jr=()=>{var e,t;Ce=Vn?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,Oe=!1,Ce!==void 0?Ce.then(()=>{Oe=!0}):Oe=!0};jr();function Kr(e){if(Oe)return;let t=!1;Ae(()=>{Oe||Ce==null||Ce.then(()=>{t||e()})}),$e(()=>{t=!0})}function Gr(e,t){return G(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const vs=Ke("n-internal-select-menu"),Wr=Ke("n-internal-select-menu-body"),Sn="__disabled__";function Se(e){const t=ne(nn,null),n=ne(rn,null),r=ne(on,null),o=ne(Wr,null),i=j();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};Ae(()=>{ve("fullscreenchange",document,a)}),$e(()=>{ge("fullscreenchange",document,a)})}return le(()=>{var a;const{to:s}=e;return s!==void 0?s===!1?Sn:s===!0?i.value||"body":s:t!=null&&t.value?(a=t.value.$el)!==null&&a!==void 0?a:t.value:n!=null&&n.value?n.value:r!=null&&r.value?r.value:o!=null&&o.value?o.value:s!=null?s:i.value||"body"})}Se.tdkey=Sn;Se.propTo={type:[String,Object,Boolean],default:void 0};let ce=null;function $n(){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 Vr(e,t){const n=$n();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function qe(e){const t=e.getBoundingClientRect(),n=$n();return{left:t.left-n.left,top:t.top-n.top,bottom:n.height+n.top-t.bottom,right:n.width+n.left-t.right,width:t.width,height:t.height}}function Ur(e){return e.nodeType===9?null:e.parentNode}function kn(e){if(e===null)return null;const t=Ur(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:n,overflowX:r,overflowY:o}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(n+o+r))return t}return kn(t)}const Yr=Z({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;me("VBinder",(t=an())===null||t===void 0?void 0:t.proxy);const n=ne("VBinder",null),r=j(null),o=v=>{r.value=v,n&&e.syncTargetWithParent&&n.setTargetRef(v)};let i=[];const a=()=>{let v=r.value;for(;v=kn(v),v!==null;)i.push(v);for(const w of i)ve("scroll",w,f,!0)},s=()=>{for(const v of i)ge("scroll",v,f,!0);i=[]},l=new Set,d=v=>{l.size===0&&a(),l.has(v)||l.add(v)},h=v=>{l.has(v)&&l.delete(v),l.size===0&&s()},f=()=>{xn(u)},u=()=>{l.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 $e(()=>{ge("resize",window,y),s()}),{targetRef:r,setTargetRef:o,addScrollListener:d,removeScrollListener:h,addResizeListener:g,removeResizeListener:b}},render(){return Un("binder",this.$slots)}}),Xr=Yr,Zr=Z({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=ne("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?Ge($t("follower",this.$slots),[[t]]):$t("follower",this.$slots)}}),we="@@mmoContext",Jr={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 n=e[we];typeof t=="function"?n.handler?n.handler!==t&&(ge("mousemoveoutside",e,n.handler),n.handler=t,ve("mousemoveoutside",e,t)):(e[we].handler=t,ve("mousemoveoutside",e,t)):n.handler&&(ge("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[we];t&&ge("mousemoveoutside",e,t),e[we].handler=void 0}},qr=Jr,{c:be}=Yn(),Mn="vueuc-style";function Bt(e){return e&-e}class Qr{constructor(t,n){this.l=t,this.min=n;const r=new Array(t+1);for(let o=0;o<t+1;++o)r[o]=0;this.ft=r}add(t,n){if(n===0)return;const{l:r,ft:o}=this;for(t+=1;t<=r;)o[t]+=n,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:n,min:r,l:o}=this;if(t>o)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*r;for(;t>0;)i+=n[t],t-=Bt(t);return i}getBound(t){let n=0,r=this.l;for(;r>n;){const o=Math.floor((n+r)/2),i=this.sum(o);if(i>t){r=o;continue}else if(i<t){if(n===o)return this.sum(n+1)<=t?n+1:o;n=o}else return o}return n}}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"},eo={"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"},to={"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"},no={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},Dt={top:!0,bottom:!1,left:!0,right:!1},Lt={top:"end",bottom:"start",left:"end",right:"start"};function ro(e,t,n,r,o,i){if(!o||i)return{placement:e,top:0,left:0};const[a,s]=e.split("-");let l=s!=null?s:"center",d={top:0,left:0};const h=(x,g,b)=>{let y=0,v=0;const w=n[x]-t[g]-t[x];return w>0&&r&&(b?v=Dt[g]?w:-w:y=Dt[g]?w:-w),{left:y,top:v}},f=a==="left"||a==="right";if(l!=="center"){const x=no[e],g=Ie[x],b=Qe[x];if(n[b]>t[b]){if(t[x]+t[b]<n[b]){const y=(n[b]-t[b])/2;t[x]<y||t[g]<y?t[x]<t[g]?(l=It[s],d=h(b,g,f)):d=h(b,x,f):l="center"}}else n[b]<t[b]&&t[g]<0&&t[x]>t[g]&&(l=It[s])}else{const x=a==="bottom"||a==="top"?"left":"top",g=Ie[x],b=Qe[x],y=(n[b]-t[b])/2;(t[x]<y||t[g]<y)&&(t[x]>t[g]?(l=Lt[x],d=h(b,x,f)):(l=Lt[g],d=h(b,g,f)))}let u=a;return t[a]<n[Qe[a]]&&t[a]<t[Ie[a]]&&(u=Ie[a]),{placement:l!=="center"?`${u}-${l}`:u,left:d.left,top:d.top}}function oo(e,t){return t?to[e]:eo[e]}function io(e,t,n,r,o,i){if(i)switch(e){case"bottom-start":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-100%)"};case"bottom-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left)}px`,transform:""};case"top-end":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%)"};case"right-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%)"};case"right-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"left-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left)}px`,transform:""};case"left-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-100%)"};case"top":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width/2)}px`,transform:"translateX(-50%)"};case"right":return{top:`${Math.round(n.top-t.top+n.height/2)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:`${Math.round(n.top-t.top+n.height/2)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-50%)"};case"bottom":default:return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width/2)}px`,transform:"translateX(-50%) translateY(-100%)"}}switch(e){case"bottom-start":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:""};case"bottom-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateX(-100%)"};case"top-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateY(-100%)"};case"top-end":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:""};case"right-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateY(-100%)"};case"left-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateX(-100%)"};case"left-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width/2+o)}px`,transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:`${Math.round(n.top-t.top+n.height/2+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateY(-50%)"};case"left":return{top:`${Math.round(n.top-t.top+n.height/2+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateY(-50%) translateX(-100%)"};case"bottom":default:return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width/2+o)}px`,transform:"translateX(-50%)"}}}const ao=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"})])]),so=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=ne("VBinder"),n=le(()=>e.enabled!==void 0?e.enabled:e.show),r=j(null),o=j(null),i=()=>{const{syncTrigger:u}=e;u.includes("scroll")&&t.addScrollListener(l),u.includes("resize")&&t.addResizeListener(l)},a=()=>{t.removeScrollListener(l),t.removeResizeListener(l)};Ae(()=>{n.value&&(l(),i())});const s=sn();ao.mount({id:"vueuc/binder",head:!0,anchorMetaName:Mn,ssr:s}),$e(()=>{a()}),Kr(()=>{n.value&&l()});const l=()=>{if(!n.value)return;const u=r.value;if(u===null)return;const x=t.targetRef,{x:g,y:b,overlap:y}=e,v=g!==void 0&&b!==void 0?Vr(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:B,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="",B==="target"?O.minWidth=`${v.width}px`:B!==void 0?O.minWidth=B:O.minWidth="";const I=qe(u),D=qe(o.value),{left:z,top:m,placement:A}=ro($,v,I,k,M,y),R=oo(A,y),{left:T,top:c,transform:p}=io(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};xe(n,u=>{u?(i(),d()):a()});const d=()=>{un().then(l).catch(u=>console.error(u))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(u=>{xe(ee(e,u),l)}),["teleportDisabled"].forEach(u=>{xe(ee(e,u),d)}),xe(ee(e,"syncTrigger"),u=>{u.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),u.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const h=ln(),f=le(()=>{const{to:u}=e;if(u!==void 0)return u;h.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:o,followerRef:r,mergedTo:f,syncPosition:l}},render(){return _(Xn,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=_("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(n,[[dn,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});let De;function lo(){return typeof document>"u"?!1:(De===void 0&&("matchMedia"in window?De=window.matchMedia("(pointer:coarse)").matches:De=!1),De)}let et;function Rt(){return typeof document>"u"?1:(et===void 0&&(et="chrome"in window?window.devicePixelRatio:1),et)}const uo=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"})])]),gs=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=sn();uo.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Mn,ssr:t}),Ae(()=>{const{defaultScrollIndex:m,defaultScrollKey:A}=e;m!=null?g({index:m}):A!=null&&g({key:A})});let n=!1,r=!1;Zn(()=>{if(n=!1,!r){r=!0;return}g({top:f.value,left:h})}),cn(()=>{n=!0,r||(r=!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),s=new Map,l=G(()=>{const{items:m,itemSize:A,keyField:R}=e,T=new Qr(m.length,A);return m.forEach((c,p)=>{const S=c[R],C=s.get(S);C!==void 0&&T.add(p,C)}),T}),d=j(0);let h=0;const f=j(0),u=le(()=>Math.max(l.value.getBound(f.value-Ne(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 P=o.value.get(p);P!==void 0&&v(P,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}=l,c=T.sum(m)+Ne(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 B(m,A){var R,T,c;if(n||e.ignoreItemResize||z(A.target))return;const{value:p}=l,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?s.delete(m):s.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 W=p.sum(S);K.scrollTop>W&&K.scrollBy(0,F)}else if(S<b)K.scrollBy(0,F);else if(S===b){const W=p.sum(S);E+W>K.scrollTop+K.offsetHeight&&K.scrollBy(0,F)}D()}d.value++}const $=!lo();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/Rt(),R.scrollLeft+=m.deltaX/Rt(),D(),k=!0,xn(()=>{k=!1})}}}function I(m){if(n||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(l.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(l.value.sum(u.value))})`})),viewportItems:x,listElRef:i,itemsElRef:j(null),scrollTo:g,handleListResize:I,handleListScroll:M,handleListWheel:O,handleItemResize:B}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:r}=this;return _(kt,{onResize:this.handleListResize},{default:()=>{var o,i;return _("div",vt(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},[_(r,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>this.viewportItems.map(a=>{const s=a[t],l=n.get(s),d=this.$slots.default({item:a,index:l})[0];return e?_(kt,{key:s,onResize:h=>this.handleItemResize(s,h)},{default:()=>d}):(d.key=s,d)})})]):(i=(o=this.$slots).empty)===null||i===void 0?void 0:i.call(o)])}})}});var ut=We(Ve,"WeakMap"),co=Jn(Object.keys,Object),fo=Object.prototype,ho=fo.hasOwnProperty;function po(e){if(!qn(e))return co(e);var t=[];for(var n in Object(e))ho.call(e,n)&&n!="constructor"&&t.push(n);return t}function yt(e){return gt(e)?Qn(e):po(e)}var bo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vo=/^\w*$/;function wt(e,t){if(fe(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||fn(e)?!0:vo.test(e)||!bo.test(e)||t!=null&&e in Object(t)}var go="Expected a function";function xt(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(go);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(xt.Cache||mt),n}xt.Cache=mt;var mo=500;function yo(e){var t=xt(e,function(r){return n.size===mo&&n.clear(),r}),n=t.cache;return t}var wo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xo=/\\(\\)?/g,Co=yo(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(wo,function(n,r,o,i){t.push(o?i.replace(xo,"$1"):r||n)}),t});function zn(e,t){return fe(e)?e:wt(e,t)?[e]:Co(er(e))}var So=1/0;function Xe(e){if(typeof e=="string"||fn(e))return e;var t=e+"";return t=="0"&&1/e==-So?"-0":t}function Tn(e,t){t=zn(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Xe(t[n++])];return n&&n==r?e:void 0}function $o(e,t,n){var r=e==null?void 0:Tn(e,t);return r===void 0?n:r}function ko(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Mo(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function zo(){return[]}var To=Object.prototype,Oo=To.propertyIsEnumerable,Nt=Object.getOwnPropertySymbols,Ao=Nt?function(e){return e==null?[]:(e=Object(e),Mo(Nt(e),function(t){return Oo.call(e,t)}))}:zo;const _o=Ao;function Eo(e,t,n){var r=t(e);return fe(e)?r:ko(r,n(e))}function Ft(e){return Eo(e,yt,_o)}var ct=We(Ve,"DataView"),ft=We(Ve,"Promise"),ht=We(Ve,"Set"),Ht="[object Map]",Po="[object Object]",jt="[object Promise]",Kt="[object Set]",Gt="[object WeakMap]",Wt="[object DataView]",Bo=ke(ct),Io=ke(lt),Do=ke(ft),Lo=ke(ht),Ro=ke(ut),pe=hn;(ct&&pe(new ct(new ArrayBuffer(1)))!=Wt||lt&&pe(new lt)!=Ht||ft&&pe(ft.resolve())!=jt||ht&&pe(new ht)!=Kt||ut&&pe(new ut)!=Gt)&&(pe=function(e){var t=hn(e),n=t==Po?e.constructor:void 0,r=n?ke(n):"";if(r)switch(r){case Bo:return Wt;case Io:return Ht;case Do:return jt;case Lo:return Kt;case Ro:return Gt}return t});const Vt=pe;var No="__lodash_hash_undefined__";function Fo(e){return this.__data__.set(e,No),this}function Ho(e){return this.__data__.has(e)}function He(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new mt;++t<n;)this.add(e[t])}He.prototype.add=He.prototype.push=Fo;He.prototype.has=Ho;function jo(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Ko(e,t){return e.has(t)}var Go=1,Wo=2;function On(e,t,n,r,o,i){var a=n&Go,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))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=n&Wo?new He:void 0;for(i.set(e,t),i.set(t,e);++f<s;){var g=e[f],b=t[f];if(r)var y=a?r(b,g,f,t,e,i):r(g,b,f,e,t,i);if(y!==void 0){if(y)continue;u=!1;break}if(x){if(!jo(t,function(v,w){if(!Ko(x,w)&&(g===v||o(g,v,n,r,i)))return x.push(w)})){u=!1;break}}else if(!(g===b||o(g,b,n,r,i))){u=!1;break}}return i.delete(e),i.delete(t),u}function Vo(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function Uo(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Yo=1,Xo=2,Zo="[object Boolean]",Jo="[object Date]",qo="[object Error]",Qo="[object Map]",ei="[object Number]",ti="[object RegExp]",ni="[object Set]",ri="[object String]",oi="[object Symbol]",ii="[object ArrayBuffer]",ai="[object DataView]",Ut=Mt?Mt.prototype:void 0,tt=Ut?Ut.valueOf:void 0;function si(e,t,n,r,o,i,a){switch(n){case ai:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ii:return!(e.byteLength!=t.byteLength||!i(new zt(e),new zt(t)));case Zo:case Jo:case ei:return tr(+e,+t);case qo:return e.name==t.name&&e.message==t.message;case ti:case ri:return e==t+"";case Qo:var s=Vo;case ni:var l=r&Yo;if(s||(s=Uo),e.size!=t.size&&!l)return!1;var d=a.get(e);if(d)return d==t;r|=Xo,a.set(e,t);var h=On(s(e),s(t),r,o,i,a);return a.delete(e),h;case oi:if(tt)return tt.call(e)==tt.call(t)}return!1}var li=1,di=Object.prototype,ui=di.hasOwnProperty;function ci(e,t,n,r,o,i){var a=n&li,s=Ft(e),l=s.length,d=Ft(t),h=d.length;if(l!=h&&!a)return!1;for(var f=l;f--;){var u=s[f];if(!(a?u in t:ui.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<l;){u=s[f];var v=e[u],w=t[u];if(r)var B=a?r(w,v,u,t,e,i):r(v,w,u,e,t,i);if(!(B===void 0?v===w||o(v,w,n,r,i):B)){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 fi=1,Yt="[object Arguments]",Xt="[object Array]",Le="[object Object]",hi=Object.prototype,Zt=hi.hasOwnProperty;function pi(e,t,n,r,o,i){var a=fe(e),s=fe(t),l=a?Xt:Vt(e),d=s?Xt:Vt(t);l=l==Yt?Le:l,d=d==Yt?Le:d;var h=l==Le,f=d==Le,u=l==d;if(u&&Tt(e)){if(!Tt(t))return!1;a=!0,h=!1}if(u&&!h)return i||(i=new Re),a||nr(e)?On(e,t,n,r,o,i):si(e,t,l,n,r,o,i);if(!(n&fi)){var x=h&&Zt.call(e,"__wrapped__"),g=f&&Zt.call(t,"__wrapped__");if(x||g){var b=x?e.value():e,y=g?t.value():t;return i||(i=new Re),o(b,y,n,r,i)}}return u?(i||(i=new Re),ci(e,t,n,r,o,i)):!1}function Ct(e,t,n,r,o){return e===t?!0:e==null||t==null||!Ot(e)&&!Ot(t)?e!==e&&t!==t:pi(e,t,n,r,Ct,o)}var bi=1,vi=2;function gi(e,t,n,r){var o=n.length,i=o,a=!r;if(e==null)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=n[o];var l=s[0],d=e[l],h=s[1];if(a&&s[2]){if(d===void 0&&!(l in e))return!1}else{var f=new Re;if(r)var u=r(d,h,l,e,t,f);if(!(u===void 0?Ct(h,d,bi|vi,r,f):u))return!1}}return!0}function An(e){return e===e&&!rr(e)}function mi(e){for(var t=yt(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,An(o)]}return t}function _n(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function yi(e){var t=mi(e);return t.length==1&&t[0][2]?_n(t[0][0],t[0][1]):function(n){return n===e||gi(n,e,t)}}function wi(e,t){return e!=null&&t in Object(e)}function xi(e,t,n){t=zn(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=Xe(t[r]);if(!(i=e!=null&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=e==null?0:e.length,!!o&&or(o)&&ir(a,o)&&(fe(e)||ar(e)))}function Ci(e,t){return e!=null&&xi(e,t,wi)}var Si=1,$i=2;function ki(e,t){return wt(e)&&An(t)?_n(Xe(e),t):function(n){var r=$o(n,e);return r===void 0&&r===t?Ci(n,e):Ct(t,r,Si|$i)}}function Mi(e){return function(t){return t==null?void 0:t[e]}}function zi(e){return function(t){return Tn(t,e)}}function Ti(e){return wt(e)?Mi(Xe(e)):zi(e)}function Oi(e){return typeof e=="function"?e:e==null?sr:typeof e=="object"?fe(e)?ki(e[0],e[1]):yi(e):Ti(e)}function Ai(e,t){return e&&lr(e,t,yt)}function _i(e,t){return function(n,r){if(n==null)return n;if(!gt(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Object(n);(t?i--:++i<o)&&r(a[i],i,a)!==!1;);return n}}var Ei=_i(Ai);function Pi(e,t){var n=-1,r=gt(e)?Array(e.length):[];return Ei(e,function(o,i,a){r[++n]=t(o,i,a)}),r}function Bi(e,t){var n=fe(e)?dr:Pi;return n(e,Oi(t))}const ms=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"}))}}),Ii=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 Jt(e){return Array.isArray(e)?e:[e]}const pt={STOP:"STOP"};function En(e,t){const n=t(e);e.children!==void 0&&n!==pt.STOP&&e.children.forEach(r=>En(r,t))}function Di(e,t={}){const{preserveGroup:n=!1}=t,r=[],o=n?a=>{a.isLeaf||(r.push(a.key),i(a.children))}:a=>{a.isLeaf||(a.isGroup||r.push(a.key),i(a.children))};function i(a){a.forEach(o)}return i(e),r}function Li(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function Ri(e){return e.children}function Ni(e){return e.key}function Fi(){return!1}function Hi(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function ji(e){return e.disabled===!0}function Ki(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function nt(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function rt(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function Gi(e,t){const n=new Set(e);return t.forEach(r=>{n.has(r)||n.add(r)}),Array.from(n)}function Wi(e,t){const n=new Set(e);return t.forEach(r=>{n.has(r)&&n.delete(r)}),Array.from(n)}function Vi(e){return(e==null?void 0:e.type)==="group"}function ys(e){const t=new Map;return e.forEach((n,r)=>{t.set(n.key,r)}),n=>{var r;return(r=t.get(n))!==null&&r!==void 0?r:null}}class Ui extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function Yi(e,t,n,r){return je(t.concat(e),n,r,!1)}function Xi(e,t){const n=new Set;return e.forEach(r=>{const o=t.treeNodeMap.get(r);if(o!==void 0){let i=o.parent;for(;i!==null&&!(i.disabled||n.has(i.key));)n.add(i.key),i=i.parent}}),n}function Zi(e,t,n,r){const o=je(t,n,r,!1),i=je(e,n,r,!0),a=Xi(e,n),s=[];return o.forEach(l=>{(i.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>o.delete(l)),o}function ot(e,t){const{checkedKeys:n,keysToCheck:r,keysToUncheck:o,indeterminateKeys:i,cascade:a,leafOnly:s,checkStrategy:l,allowNotLoaded:d}=e;if(!a)return r!==void 0?{checkedKeys:Gi(n,r),indeterminateKeys:Array.from(i)}:o!==void 0?{checkedKeys:Wi(n,o),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:h}=t;let f;o!==void 0?f=Zi(o,n,t,d):r!==void 0?f=Yi(r,n,t,d):f=je(n,t,d,!1);const u=l==="parent",x=l==="child"||s,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,B=h.get(v);for(const $ of B){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,I=!1,D=!0;for(const z of $.children){const m=z.key;if(!z.disabled){if(D&&(D=!1),g.has(m))I=!0;else if(b.has(m)){I=!0,O=!1;break}else if(O=!1,I)break}}O&&!D?(u&&$.children.forEach(z=>{!z.disabled&&g.has(z.key)&&g.delete(z.key)}),g.add(k)):I&&b.add(k),w&&x&&g.has(k)&&g.delete(k)}}return{checkedKeys:Array.from(g),indeterminateKeys:Array.from(b)}}function je(e,t,n,r){const{treeNodeMap:o,getChildren:i}=t,a=new Set,s=new Set(e);return e.forEach(l=>{const d=o.get(l);d!==void 0&&En(d,h=>{if(h.disabled)return pt.STOP;const{key:f}=h;if(!a.has(f)&&(a.add(f),s.add(f),Ki(h.rawNode,i))){if(r)return pt.STOP;if(!n)throw new Ui}})}),s}function Ji(e,{includeGroup:t=!1,includeSelf:n=!0},r){var o;const i=r.treeNodeMap;let a=e==null?null:(o=i.get(e))!==null&&o!==void 0?o:null;const s={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return s.treeNode=null,s;for(;a;)!a.ignored&&(t||!a.isGroup)&&s.treeNodePath.push(a),a=a.parent;return s.treeNodePath.reverse(),n||s.treeNodePath.pop(),s.keyPath=s.treeNodePath.map(l=>l.key),s}function qi(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function Qi(e,t){const n=e.siblings,r=n.length,{index:o}=e;return t?n[(o+1)%r]:o===n.length-1?null:n[o+1]}function qt(e,t,{loop:n=!1,includeDisabled:r=!1}={}){const o=t==="prev"?ea:Qi,i={reverse:t==="prev"};let a=!1,s=null;function l(d){if(d!==null){if(d===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){s=e;return}}else if((!d.disabled||r)&&!d.ignored&&!d.isGroup){s=d;return}if(d.isGroup){const h=St(d,i);h!==null?s=h:l(o(d,n))}else{const h=o(d,!1);if(h!==null)l(h);else{const f=ta(d);f!=null&&f.isGroup?l(o(f,n)):n&&l(o(d,!0))}}}}return l(e),s}function ea(e,t){const n=e.siblings,r=n.length,{index:o}=e;return t?n[(o-1+r)%r]:o===0?null:n[o-1]}function ta(e){return e.parent}function St(e,t={}){const{reverse:n=!1}=t,{children:r}=e;if(r){const{length:o}=r,i=n?o-1:0,a=n?-1:o,s=n?-1:1;for(let l=i;l!==a;l+=s){const d=r[l];if(!d.disabled&&!d.ignored)if(d.isGroup){const h=St(d,t);if(h!==null)return h}else return d}}return null}const na={getChild(){return this.ignored?null:St(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return qt(this,"next",e)},getPrev(e={}){return qt(this,"prev",e)}};function ra(e,t){const n=t?new Set(t):void 0,r=[];function o(i){i.forEach(a=>{r.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||n===void 0||n.has(a.key))&&o(a.children)})}return o(e),r}function oa(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function Pn(e,t,n,r,o,i=null,a=0){const s=[];return e.forEach((l,d)=>{var h;const f=Object.create(r);if(f.rawNode=l,f.siblings=s,f.level=a,f.index=d,f.isFirstChild=d===0,f.isLastChild=d+1===e.length,f.parent=i,!f.ignored){const u=o(l);Array.isArray(u)&&(f.children=Pn(u,t,n,r,o,f,a+1))}s.push(f),t.set(f.key,f),n.has(a)||n.set(a,[]),(h=n.get(a))===null||h===void 0||h.push(f)}),s}function ws(e,t={}){var n;const r=new Map,o=new Map,{getDisabled:i=ji,getIgnored:a=Fi,getIsGroup:s=Vi,getKey:l=Ni}=t,d=(n=t.getChildren)!==null&&n!==void 0?n:Ri,h=t.ignoreEmptyChildren?$=>{const k=d($);return Array.isArray(k)?k.length?k:null:k}:d,f=Object.assign({get key(){return l(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return s(this.rawNode)},get isLeaf(){return Li(this.rawNode,h)},get shallowLoaded(){return Hi(this.rawNode,h)},get ignored(){return a(this.rawNode)},contains($){return oa(this,$)}},na),u=Pn(e,r,o,f,h);function x($){if($==null)return null;const k=r.get($);return k&&!k.isGroup&&!k.ignored?k:null}function g($){if($==null)return null;const k=r.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 B={treeNodes:u,treeNodeMap:r,levelTreeNodeMap:o,maxLevel:Math.max(...o.keys()),getChildren:h,getFlattenedNodes($){return ra(u,$)},getNode:x,getPrev:b,getNext:y,getParent:v,getChild:w,getFirstAvailableNode(){return qi(u)},getPath($,k={}){return Ji($,k,B)},getCheckedKeys($,k={}){const{cascade:M=!0,leafOnly:O=!1,checkStrategy:I="all",allowNotLoaded:D=!1}=k;return ot({checkedKeys:nt($),indeterminateKeys:rt($),cascade:M,leafOnly:O,checkStrategy:I,allowNotLoaded:D},B)},check($,k,M={}){const{cascade:O=!0,leafOnly:I=!1,checkStrategy:D="all",allowNotLoaded:z=!1}=M;return ot({checkedKeys:nt(k),indeterminateKeys:rt(k),keysToCheck:$==null?[]:Jt($),cascade:O,leafOnly:I,checkStrategy:D,allowNotLoaded:z},B)},uncheck($,k,M={}){const{cascade:O=!0,leafOnly:I=!1,checkStrategy:D="all",allowNotLoaded:z=!1}=M;return ot({checkedKeys:nt(k),indeterminateKeys:rt(k),keysToUncheck:$==null?[]:Jt($),cascade:O,leafOnly:I,checkStrategy:D,allowNotLoaded:z},B)},getNonLeafKeys($={}){return Di(u,$)}};return B}const ia={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},aa=e=>{const{textColorDisabled:t,iconColor:n,textColor2:r,fontSizeSmall:o,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},ia),{fontSizeSmall:o,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:r})},sa={name:"Empty",common:Me,self:aa},la=sa,da=L("empty",`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -463,4 +463,4 @@ import{ab as Ae,ay as $e,b0 as Vn,j as G,L as Ke,W as ne,aX as nn,aY as rn,aV as
|
|
|
463
463
|
cursor: not-allowed;
|
|
464
464
|
opacity: var(--n-opacity-disabled);
|
|
465
465
|
`)])]);function Za(e,t,n){var r;const o=[];let i=!1;for(let a=0;a<e.length;++a){const s=e[a],l=(r=s.type)===null||r===void 0?void 0:r.name;l==="RadioButton"&&(i=!0);const d=s.props;if(l!=="RadioButton"){o.push(s);continue}if(a===0)o.push(s);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={[`${n}-radio-group__splitor--disabled`]:u,[`${n}-radio-group__splitor--checked`]:f},w={[`${n}-radio-group__splitor--disabled`]:g,[`${n}-radio-group__splitor--checked`]:x},B=b<y?w:v;o.push(_("div",{class:[`${n}-radio-group__splitor`,B]}),s)}}return{children:o,isButtonGroup:i}}const Ja=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]}),zs=Z({name:"RadioGroup",props:Ja,setup(e){const t=j(null),{mergedSizeRef:n,mergedDisabledRef:r,nTriggerFormChange:o,nTriggerFormInput:i,nTriggerFormBlur:a,nTriggerFormFocus:s}=Ue(e),{mergedClsPrefixRef:l,inlineThemeDisabled:d,mergedRtlRef:h}=oe(e),f=J("Radio","-radio-group",Xa,Nn,e,l),u=j(e.defaultValue),x=ee(e,"value"),g=Ee(x,u);function b(k){const{onUpdateValue:M,"onUpdate:value":O}=e;M&&V(M,k),O&&V(O,k),u.value=k,o(),i()}function y(k){const{value:M}=t;M&&(M.contains(k.relatedTarget)||s())}function v(k){const{value:M}=t;M&&(M.contains(k.relatedTarget)||a())}me(Fn,{mergedClsPrefixRef:l,nameRef:ee(e,"name"),valueRef:g,disabledRef:r,mergedSizeRef:n,doUpdateValue:b});const w=Ye("Radio",h,l),B=G(()=>{const{value:k}=n,{common:{cubicBezierEaseInOut:M},self:{buttonBorderColor:O,buttonBorderColorActive:I,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)]:P}}=f.value;return{"--n-font-size":P,"--n-bezier":M,"--n-button-border-color":O,"--n-button-border-color-active":I,"--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?_e("radio-group",G(()=>n.value[0]),B,e):void 0;return{selfElRef:t,rtlEnabled:w,mergedClsPrefix:l,mergedValue:g,handleFocusout:v,handleFocusin:y,cssVars:d?void 0:B,themeClass:$==null?void 0:$.themeClass,onRender:$==null?void 0:$.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:n,handleFocusin:r,handleFocusout:o}=this,{children:i,isButtonGroup:a}=Za(vn(Cn(this)),t,n);return(e=this.onRender)===null||e===void 0||e.call(this),_("div",{onFocusin:r,onFocusout:o,ref:"selfElRef",class:[`${n}-radio-group`,this.rtlEnabled&&`${n}-radio-group--rtl`,this.themeClass,a&&`${n}-radio-group--button-group`],style:this.cssVars},i)}}),qa={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},Qa=()=>qa,es={name:"Space",self:Qa},ts=es;let at;const ns=()=>{if(!Or)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},rs=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}}),Ts=Z({name:"Space",props:rs,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=oe(e),r=J("Space","-space",void 0,ts,e,t),o=Ye("Space",n,t);return{useGap:ns(),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}}=r.value,{row:s,col:l}=_r(a);return{horizontal:Ne(l),vertical:Ne(s)}})}},render(){const{vertical:e,reverse:t,align:n,inline:r,justify:o,itemClass:i,itemStyle:a,margin:s,wrap:l,mergedClsPrefix:d,rtlEnabled:h,useGap:f,wrapItem:u,internalUseGap:x}=this,g=vn(Cn(this),!1);if(!g.length)return null;const b=`${s.horizontal}px`,y=`${s.horizontal/2}px`,v=`${s.vertical}px`,w=`${s.vertical/2}px`,B=g.length-1,$=o.startsWith("space-");return _("div",{role:"none",class:[`${d}-space`,h&&`${d}-space--rtl`],style:{display:r?"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:!l||e?"nowrap":"wrap",marginTop:f||e?"":`-${w}`,marginBottom:f||e?"":`-${w}`,alignItems:n,gap:f?`${s.vertical}px ${s.horizontal}px`:""}},!u&&(f||x)?g:g.map((k,M)=>k.type===Ar?k:_("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},f?"":e?{marginBottom:M!==B?v:""}:h?{marginLeft:$?o==="space-between"&&M===B?"":y:M!==B?b:"",marginRight:$?o==="space-between"&&M===0?"":y:"",paddingTop:w,paddingBottom:w}:{marginRight:$?o==="space-between"&&M===B?"":y:M!==B?b:"",marginLeft:$?o==="space-between"&&M===0?"":y:"",paddingTop:w,paddingBottom:w}]},k)))}}),Os=(e,t=0,n)=>{let r=!1;const o=gn((i,a)=>({get(){return i(),r},set(s){r=s,a()}}));return{get loading(){return o.value},invoke:async(...i)=>{r||(o.value=!0,await e(...i).catch(a=>{n&&n(a)}),await yn(t),o.value=!1)}}},As=(e,t=(...o)=>o.join(""),n=0,r)=>{const o=Er({}),i=Pr(o);return{loading:o,invoke:async(...s)=>{const l=String(t(...s));i[l]||(o[l]=!0,await e(...s).catch(d=>{r?r(d):console.error(d)}),await yn(n),delete o[l])}}};function _s(e){return Ir()?(Dr(e),!0):!1}function tn(e){return typeof e=="function"?e():Br(e)}const Es=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const os=Object.prototype.toString,Ps=e=>os.call(e)==="[object Object]",bt=()=>{};function Hn(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const jn=e=>e();function is(e,t={}){let n,r,o=bt;const i=s=>{clearTimeout(s),o(),o=bt};return s=>{const l=tn(e),d=tn(t.maxWait);return n&&i(n),l<=0||d!==void 0&&d<=0?(r&&(i(r),r=null),Promise.resolve(s())):new Promise((h,f)=>{o=t.rejectOnCancel?f:h,d&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,h(s())},d)),n=setTimeout(()=>{r&&i(r),r=null,h(s())},l)})}}function as(e=jn){const t=j(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...i)=>{t.value&&e(...i)};return{isActive:mn(t),pause:n,resume:r,eventFilter:o}}function Kn(e){return e||an()}function Bs(...e){if(e.length!==1)return ee(...e);const t=e[0];return typeof t=="function"?mn(gn(()=>({get:t,set:bt}))):j(t)}function Is(e,t=200,n={}){return Hn(is(t,n),e)}function ss(e,t,n={}){const{eventFilter:r=jn,...o}=n;return xe(e,Hn(r,t),o)}function Ds(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:i,pause:a,resume:s,isActive:l}=as(r);return{stop:ss(e,t,{...o,eventFilter:i}),pause:a,resume:s,isActive:l}}function Ls(e,t){Kn(t)&&$e(e,t)}function Rs(e,t=!0,n){Kn()?Ae(e,n):t?e():un(e)}var Gn={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Rr,function(){var n=1e3,r=6e4,o=36e5,i="millisecond",a="second",s="minute",l="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])+"]"}},B=function(T,c,p){var S=String(T);return!S||S.length>=c?T:""+Array(c+1-S.length).join(p)+T},$={s:B,z:function(T){var c=-T.utcOffset(),p=Math.abs(c),S=Math.floor(p/60),C=p%60;return(c<=0?"+":"-")+B(S,2,"0")+":"+B(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,P=c.clone().add(S+(E?-1:1),f);return+(-(S+(p-C)/(E?C-P:P-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:l,m:s,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",I=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 P=c.split("-");if(!C&&P.length>1)return T(P[0])}else{var F=c.name;M[F]=c,C=F}return!S&&C&&(k=C),C||!S&&k},z=function(T,c){if(I(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=I,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 P=C.match(y);if(P){var F=P[2]-1||0,K=(P[7]||"0").substring(0,3);return E?new Date(Date.UTC(P[1],F,P[3]||1,P[4]||0,P[5]||0,P[6]||0,K)):new Date(P[1],F,P[3]||1,P[4]||0,P[5]||0,P[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,P=m.p(p),F=function(ae,q){var re=m.w(C.$u?Date.UTC(C.$y,q,ae):new Date(C.$y,q,ae),C);return E?re:re.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)},W=this.$W,X=this.$M,Q=this.$D,ue="set"+(this.$u?"UTC":"");switch(P){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=(W<ie?W+7:W)-ie;return F(E?Q-he:Q+(6-he),X);case d:case g:return K(ue+"Hours",0);case l:return K(ue+"Minutes",1);case s: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),P="set"+(this.$u?"UTC":""),F=(C={},C[d]=P+"Date",C[g]=P+"Date",C[f]=P+"Month",C[x]=P+"FullYear",C[l]=P+"Hours",C[s]=P+"Minutes",C[a]=P+"Seconds",C[i]=P+"Milliseconds",C)[E],K=E===d?this.$D+(S-this.$W):S;if(E===f||E===x){var W=this.clone().set(g,1);W.$d[F](K),W.init(),this.$d=W.set(g,Math.min(this.$D,W.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 P=m.p(S),F=function(X){var Q=z(E);return m.w(Q.date(Q.date()+Math.round(X*p)),E)};if(P===f)return this.set(f,this.$M+p);if(P===x)return this.set(x,this.$y+p);if(P===d)return F(1);if(P===h)return F(7);var K=(C={},C[s]=r,C[l]=o,C[a]=n,C)[P]||1,W=this.$d.getTime()+p*K;return m.w(W,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",P=m.z(this),F=this.$H,K=this.$m,W=this.$M,X=C.weekdays,Q=C.months,ue=C.meridiem,ie=function(q,re,ze,Pe){return q&&(q[re]||q(S,E))||ze[re].slice(0,Pe)},he=function(q){return m.s(F%12||12,q,"0")},ae=ue||function(q,re,ze){var Pe=q<12?"AM":"PM";return ze?Pe.toLowerCase():Pe};return E.replace(v,function(q,re){return re||function(ze){switch(ze){case"YY":return String(S.$y).slice(-2);case"YYYY":return m.s(S.$y,4,"0");case"M":return W+1;case"MM":return m.s(W+1,2,"0");case"MMM":return ie(C.monthsShort,W,Q,3);case"MMMM":return ie(Q,W);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 P}return null}(q)||P.replace(":","")})},c.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},c.diff=function(p,S,C){var E,P=this,F=m.p(S),K=z(p),W=(K.utcOffset()-this.utcOffset())*r,X=this-K,Q=function(){return m.m(P,K)};switch(F){case x:E=Q()/12;break;case f:E=Q();break;case u:E=Q()/3;break;case h:E=(X-W)/6048e5;break;case d:E=(X-W)/864e5;break;case l:E=X/o;break;case s:E=X/r;break;case a:E=X/n;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",s],["$H",l],["$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=I,z.unix=function(T){return z(1e3*T)},z.en=M[k],z.Ls=M,z.p={},z})})(Gn);var ls=Gn.exports;const Ns=Nr(ls),Fs=e=>(e.forEach(t=>{var n,r,o,i,a,s,l,d,h,f,u,x;(n=t.attr)!=null||(t.attr={name:"NULL"}),(r=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=(l=(s=t.parent)==null?void 0:s.attr)==null?void 0:l.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]),ds=(e,t,n)=>{const r=e.attr;return r.left<=t&&t<=r.right&&r.top<=n&&n<=r.bottom},us=(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,Hs=(e,t,n)=>{let r;return e.forEach(o=>{var i;if(((i=o==null?void 0:o.attr)==null?void 0:i.left)!==void 0&&ds(o,t,n)){if(!r){r=o;return}us(r,o)&&(r=o)}}),r},Wn=e=>{const t=e.attr.childCount;return(e.attr.name||"🐔"+(t>1?"":` [${t}]`)).split(".").at(-1)},st=Symbol("labelKey"),js=e=>{if(Reflect.has(e,st))return Reflect.get(e,st);let t=Wn(e);const n=e.children.length;return n>1&&(t=`${t} [${n}]`),e.attr.text?t=`${t} : ${e.attr.text}`:e.attr.desc&&(t=`${t} : ${e.attr.desc}`),Reflect.set(e,st,t),t},Ks=(e,t=15)=>{let n=Wn(e);const r=e.children.length;r>1&&(n=`${n} [${r}]`);const o=e.attr.text||e.attr.desc||"";return o?o.length>t?`${n} : ${o.slice(0,t)}...`:`${n} : ${o}`:n},Gs=e=>typeof e.device=="object"&&e.device?e.device:e;export{_s as $,Wr as A,Bn as B,ms as C,Dn as D,Gr as E,Se as F,Xr as G,Zr as H,so as I,Nn as J,La as K,Ga as L,Ka as M,Cs as N,Qt as O,en as P,Ss as Q,ba as R,$o as S,xn as T,tn as U,gs as V,Ds as W,Rs as X,Bs as Y,Ls as Z,Es as _,Is as a,bt as a0,Ps as a1,xa as b,Ts as c,za as d,la as e,$s as f,ws as g,bs as h,ra as i,ys as j,xs as k,ja as l,ks as m,Hs as n,Ms as o,zs as p,js as q,Ns as r,Gs as s,Ks as t,Os as u,Fs as v,As as w,Mn as x,be as y,vs as z};
|
|
466
|
-
//# sourceMappingURL=node-
|
|
466
|
+
//# sourceMappingURL=node-KsOgEzyz.js.map
|