@gkd-kit/inspect 0.0.1731131142231 → 0.0.1731256876144

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-DBI8z8YJ.js +25 -0
  2. package/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-DBI8z8YJ.js.map +1 -0
  3. package/dist/assets/{DevicePage-dQp4oRI6.js → DevicePage-qYrPZbXR.js} +3 -3
  4. package/dist/assets/{DevicePage-dQp4oRI6.js.map → DevicePage-qYrPZbXR.js.map} +1 -1
  5. package/dist/assets/{HomePage-DrhpQ2Ed.js → HomePage-rb1w0Rir.js} +2 -2
  6. package/dist/assets/{HomePage-DrhpQ2Ed.js.map → HomePage-rb1w0Rir.js.map} +1 -1
  7. package/dist/assets/ImportPage-4H3_2YGH.js +2 -0
  8. package/dist/assets/ImportPage-4H3_2YGH.js.map +1 -0
  9. package/dist/assets/{SelectorPage-BSc8-745.js → SelectorPage-DBd5ShuQ.js} +2 -2
  10. package/dist/assets/SelectorPage-DBd5ShuQ.js.map +1 -0
  11. package/dist/assets/SnapshotPage-C82rwC7b.js +277 -0
  12. package/dist/assets/SnapshotPage-C82rwC7b.js.map +1 -0
  13. package/dist/assets/{TrackGraph-xXZ46e3J.js → TrackGraph-B98xWr3P.js} +2 -2
  14. package/dist/assets/{TrackGraph-xXZ46e3J.js.map → TrackGraph-B98xWr3P.js.map} +1 -1
  15. package/dist/assets/{_404Page-C3EtApVf.js → _404Page-C7uMz_D7.js} +2 -2
  16. package/dist/assets/{_404Page-C3EtApVf.js.map → _404Page-C7uMz_D7.js.map} +1 -1
  17. package/dist/assets/chunk-C1h6nv29.js +3 -0
  18. package/dist/assets/chunk-C1h6nv29.js.map +1 -0
  19. package/dist/assets/{dayjs.min-BJHF8Mj1.js → dayjs.min-BwHIFJtJ.js} +3 -3
  20. package/dist/assets/{dayjs.min-BJHF8Mj1.js.map → dayjs.min-BwHIFJtJ.js.map} +1 -1
  21. package/dist/assets/{error-Dr4GLHRS.js → error-rifCmAgF.js} +2 -2
  22. package/dist/assets/{error-Dr4GLHRS.js.map → error-rifCmAgF.js.map} +1 -1
  23. package/dist/assets/import-BJkXfsLF.js +2 -0
  24. package/dist/assets/{import-CiWj-daV.js.map → import-BJkXfsLF.js.map} +1 -1
  25. package/dist/assets/{index-DaNW8YYZ.js → index-DgssPx4k.js} +8 -10
  26. package/dist/assets/index-DgssPx4k.js.map +1 -0
  27. package/dist/assets/{jszip.min-Bv9g0V7L.js → jszip.min-DoWCcUIc.js} +2 -2
  28. package/dist/assets/{jszip.min-Bv9g0V7L.js.map → jszip.min-DoWCcUIc.js.map} +1 -1
  29. package/dist/assets/{polyfills-5mw5RPb8.js → polyfills-CTLqXHug.js} +1 -1
  30. package/dist/assets/{snapshot-BMAEQfaw.js → snapshot-CNKJrXJY.js} +2 -2
  31. package/dist/assets/{snapshot-BMAEQfaw.js.map → snapshot-CNKJrXJY.js.map} +1 -1
  32. package/dist/assets/{table-BwpeEDOE.js → table-DpFfdl3K.js} +2 -2
  33. package/dist/assets/{table-BwpeEDOE.js.map → table-DpFfdl3K.js.map} +1 -1
  34. package/dist/index.html +3 -3
  35. package/package.json +1 -1
  36. package/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-Dy7vQdbM.js +0 -17
  37. package/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-Dy7vQdbM.js.map +0 -1
  38. package/dist/assets/ImportPage-U85yH4vu.js +0 -2
  39. package/dist/assets/ImportPage-U85yH4vu.js.map +0 -1
  40. package/dist/assets/SelectorPage-BSc8-745.js.map +0 -1
  41. package/dist/assets/SnapshotPage-BJ9I8-3p.js +0 -277
  42. package/dist/assets/SnapshotPage-BJ9I8-3p.js.map +0 -1
  43. package/dist/assets/export-4CrrOEIG.js +0 -11
  44. package/dist/assets/export-4CrrOEIG.js.map +0 -1
  45. package/dist/assets/import-CiWj-daV.js +0 -2
  46. package/dist/assets/index-DaNW8YYZ.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import{G as s,H as a,I as c,J as l,K as f,L as _,Q as p}from"./index-DaNW8YYZ.js";const d=(o,e)=>{const t=o.__vccOpts||o;for(const[n,r]of e)t[n]=r;return t},i={},x={flex:"","flex-col":"","flex-items-center":"","w-full":"","pt-50px":"","gap-8px":""};function u(o,e){const t=s("RouterLink");return a(),c("div",x,[e[1]||(e[1]=l("div",null,"当前页面不存在可访问资源",-1)),f(t,{to:"/"},{default:_(()=>e[0]||(e[0]=[p(" 回到首页 ")])),_:1})])}const k=d(i,[["render",u]]);export{k as default};
2
- //# sourceMappingURL=_404Page-C3EtApVf.js.map
1
+ import{G as s,H as a,I as c,J as l,K as f,L as _,Q as p}from"./index-DgssPx4k.js";const d=(o,e)=>{const t=o.__vccOpts||o;for(const[n,r]of e)t[n]=r;return t},i={},x={flex:"","flex-col":"","flex-items-center":"","w-full":"","pt-50px":"","gap-8px":""};function u(o,e){const t=s("RouterLink");return a(),c("div",x,[e[1]||(e[1]=l("div",null,"当前页面不存在可访问资源",-1)),f(t,{to:"/"},{default:_(()=>e[0]||(e[0]=[p(" 回到首页 ")])),_:1})])}const k=d(i,[["render",u]]);export{k as default};
2
+ //# sourceMappingURL=_404Page-C7uMz_D7.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"_404Page-C3EtApVf.js","sources":["../../src/views/_404Page.vue"],"sourcesContent":["<template>\n <div flex flex-col flex-items-center w-full pt-50px gap-8px>\n <div>当前页面不存在可访问资源</div>\n <RouterLink to=\"/\"> 回到首页 </RouterLink>\n </div>\n</template>\n"],"names":["_hoisted_1","_openBlock","_createElementBlock","_cache","_createElementVNode","_createVNode","_component_RouterLink","_withCtx"],"mappings":"kKACWA,EAAA,CAAC,KAAA,GAAS,WAAA,GAAkB,oBAAM,GAAC,YAAQ,UAAA,yDAClD,OAAAC,EAAA,EAAAC,EAAA,QAAK,CACLC,EAAsC,CAAA,IAAAA,EAAA,CAAA,EAAAC,EAApB,MAAA,KAAA,eAAA,EAAA,GAHtBC,EAAAC,EAG6B,CAAA,GAAA,GAAA,EAAA,CAH7B,QAAAC,EAAA,IAG6BJ,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAA,cAH7B"}
1
+ {"version":3,"file":"_404Page-C7uMz_D7.js","sources":["../../src/views/_404Page.vue"],"sourcesContent":["<template>\n <div flex flex-col flex-items-center w-full pt-50px gap-8px>\n <div>当前页面不存在可访问资源</div>\n <RouterLink to=\"/\"> 回到首页 </RouterLink>\n </div>\n</template>\n"],"names":["_hoisted_1","_openBlock","_createElementBlock","_cache","_createElementVNode","_createVNode","_component_RouterLink","_withCtx"],"mappings":"kKACWA,EAAA,CAAC,KAAA,GAAS,WAAA,GAAkB,oBAAM,GAAC,YAAQ,UAAA,yDAClD,OAAAC,EAAA,EAAAC,EAAA,QAAK,CACLC,EAAsC,CAAA,IAAAA,EAAA,CAAA,EAAAC,EAApB,MAAA,KAAA,eAAA,EAAA,GAHtBC,EAAAC,EAG6B,CAAA,GAAA,GAAA,EAAA,CAH7B,QAAAC,EAAA,IAG6BJ,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAA,cAH7B"}
@@ -0,0 +1,3 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1731256876144/files/dist/assets/jszip.min-DoWCcUIc.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1731256876144/files/dist/assets/index-DgssPx4k.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1731256876144/files/dist/assets/index-CXbeto6-.css"])))=>i.map(i=>d[i]);
2
+ import{aw as r}from"./index-DgssPx4k.js";const a=r(()=>import("./jszip.min-DoWCcUIc.js").then(t=>t.j),__vite__mapDeps([0,1,2]),import.meta.url).then(t=>t.default),n=async(t,e)=>r(()=>import("./jszip.min-DoWCcUIc.js").then(o=>o.j),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.loadAsync(t,e));export{a as J,n as l};
3
+ //# sourceMappingURL=chunk-C1h6nv29.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"mappings":";yCAGa,MAAAA,EAAAC,EAAA,IAAa,OAAO,yBAAO,OAAAC,KAAA,6CAAE,KAAMC,GAAMA,EAAE,OAAO,EAClDC,EAA2B,MAAOC,EAAMC,IAC5CL,EAAA,WAAO,yBAAO,OAAAC,KAAA,6CAAE,KAAMC,GAAMA,EAAE,UAAUE,EAAMC,CAAO,CAAC","names":["JSZipAsync","__vitePreload","n","r","loadAsync","data","options"],"ignoreList":[],"sources":["../../src/utils/chunk.ts"],"sourcesContent":["type loadAsyncType = (typeof import('jszip'))['loadAsync'];\n\nexport type JSZipType = typeof import('jszip');\nexport const JSZipAsync = import('jszip').then((r) => r.default);\nexport const loadAsync: loadAsyncType = async (data, options?) => {\n return import('jszip').then((r) => r.loadAsync(data, options));\n};\n"],"file":"assets/chunk-C1h6nv29.js"}
@@ -1,4 +1,4 @@
1
- import{B as Xe,b2 as qe,bu as No,m as K,a3 as ft,aa as de,bm as Fn,bn as Nn,bk as Wn,r as H,b5 as Se,b3 as me,a9 as le,h as ee,$ as $e,bt as Hn,bv as Wo,a5 as ht,bw as on,bx as Ho,b6 as Vn,F as xe,t as ae,bd as jn,v as g,by as Kn,bz as Vo,as as Dt,bA as jo,bB as Gn,o as lt,p as He,bi as pt,bo as Rt,bC as vt,bD as gt,bE as Ko,bF as Go,bG as Kt,bH as Uo,bI as Me,bJ as Un,bK as Gt,bL as Yo,bM as Le,bN as Yn,bO as Lt,bP as an,bQ as Xo,bR as ln,bS as sn,bT as it,bU as qo,bV as un,bW as Zo,bX as Jo,bY as Qo,bZ as ei,b_ as ti,b$ as ni,c0 as ri,c1 as Ve,c2 as oi,c3 as je,c4 as St,bp as ii,c5 as ai,d as Ee,a as F,b as O,e as V,u as he,j as oe,n as fe,q as Fe,ad as Ye,g as ue,f as G,c6 as li,D as st,be as dn,a6 as si,bf as cn,b8 as ui,s as fn,c7 as di,w as Ce,P as Xn,ar as ci,l as mt,c8 as hn,c9 as fi,ca as hi,aU as pi,y as Q,i as vi,Z as Ut,N as gi,aq as Ke,x as mi,c as Ge,ac as bi,cb as yi,k as Yt,a1 as bt,ap as wi,aj as xi,ag as qn,af as Ci,bh as Si,cc as Zn,bl as $i,an as Mi,cd as zi,ce as Ti,cf as _i,aP as Jn,C as Pi,cg as Ai,a_ as ki,ch as Ei}from"./index-DaNW8YYZ.js";let ut=[];const Qn=new WeakMap;function Ii(){ut.forEach(e=>e(...Qn.get(e))),ut=[]}function er(e,...t){Qn.set(e,t),!ut.includes(e)&&ut.push(e)===1&&requestAnimationFrame(Ii)}function Ou(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function tr(e,t="default",n=[]){const o=e.$slots[t];return o===void 0?n:o()}const Oi=/^(\d|\.)+$/,pn=/(\d|\.)+/;function at(e,{c:t=1,offset:n=0,attachPx:r=!0}={}){if(typeof e=="number"){const o=(e+n)*t;return o===0?"0":`${o}px`}else if(typeof e=="string")if(Oi.test(e)){const o=(Number(e)+n)*t;return r?o===0?"0":`${o}px`:`${o}`}else{const o=pn.exec(e);return o?e.replace(pn,String((Number(o[0])+n)*t)):e}return e}let $t;function Bi(){return $t===void 0&&($t=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),$t}let De,Ue;const Di=()=>{var e,t;De=No?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,Ue=!1,De!==void 0?De.then(()=>{Ue=!0}):Ue=!0};Di();function Ri(e){if(Ue)return;let t=!1;Xe(()=>{Ue||De==null||De.then(()=>{t||e()})}),qe(()=>{t=!0})}function Li(e,t){return K(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const Bu=ft("n-internal-select-menu"),Fi=ft("n-internal-select-menu-body"),nr="__disabled__";function Re(e){const t=de(Fn,null),n=de(Nn,null),r=de(Wn,null),o=de(Fi,null),i=H();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};Xe(()=>{Se("fullscreenchange",document,a)}),qe(()=>{me("fullscreenchange",document,a)})}return le(()=>{var a;const{to:s}=e;return s!==void 0?s===!1?nr: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"})}Re.tdkey=nr;Re.propTo={type:[String,Object,Boolean],default:void 0};let ye=null;function rr(){if(ye===null&&(ye=document.getElementById("v-binder-view-measurer"),ye===null)){ye=document.createElement("div"),ye.id="v-binder-view-measurer";const{style:e}=ye;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(ye)}return ye.getBoundingClientRect()}function Ni(e,t){const n=rr();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function Mt(e){const t=e.getBoundingClientRect(),n=rr();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 Wi(e){return e.nodeType===9?null:e.parentNode}function or(e){if(e===null)return null;const t=Wi(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 or(t)}const Hi=ee({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;$e("VBinder",(t=Hn())===null||t===void 0?void 0:t.proxy);const n=de("VBinder",null),r=H(null),o=w=>{r.value=w,n&&e.syncTargetWithParent&&n.setTargetRef(w)};let i=[];const a=()=>{let w=r.value;for(;w=or(w),w!==null;)i.push(w);for(const $ of i)Se("scroll",$,f,!0)},s=()=>{for(const w of i)me("scroll",w,f,!0);i=[]},l=new Set,u=w=>{l.size===0&&a(),l.has(w)||l.add(w)},c=w=>{l.has(w)&&l.delete(w),l.size===0&&s()},f=()=>{er(p)},p=()=>{l.forEach(w=>w())},x=new Set,y=w=>{x.size===0&&Se("resize",window,S),x.has(w)||x.add(w)},T=w=>{x.has(w)&&x.delete(w),x.size===0&&me("resize",window,S)},S=()=>{x.forEach(w=>w())};return qe(()=>{me("resize",window,S),s()}),{targetRef:r,setTargetRef:o,addScrollListener:u,removeScrollListener:c,addResizeListener:y,removeResizeListener:T}},render(){return Wo("binder",this.$slots)}}),Vi=ee({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=de("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?ht(on("follower",this.$slots),[[t]]):on("follower",this.$slots)}}),Be="@@mmoContext",ji={mounted(e,{value:t}){e[Be]={handler:void 0},typeof t=="function"&&(e[Be].handler=t,Se("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[Be];typeof t=="function"?n.handler?n.handler!==t&&(me("mousemoveoutside",e,n.handler),n.handler=t,Se("mousemoveoutside",e,t)):(e[Be].handler=t,Se("mousemoveoutside",e,t)):n.handler&&(me("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[Be];t&&me("mousemoveoutside",e,t),e[Be].handler=void 0}},{c:ke}=Ho(),ir="vueuc-style";function vn(e){return e&-e}class ar{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+=vn(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-=vn(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 tt={top:"bottom",bottom:"top",left:"right",right:"left"},gn={start:"end",center:"center",end:"start"},zt={top:"height",bottom:"height",left:"width",right:"width"},Ki={"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"},Gi={"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"},Ui={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},mn={top:!0,bottom:!1,left:!0,right:!1},bn={top:"end",bottom:"start",left:"end",right:"start"};function Yi(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",u={top:0,left:0};const c=(x,y,T)=>{let S=0,w=0;const $=n[x]-t[y]-t[x];return $>0&&r&&(T?w=mn[y]?$:-$:S=mn[y]?$:-$),{left:S,top:w}},f=a==="left"||a==="right";if(l!=="center"){const x=Ui[e],y=tt[x],T=zt[x];if(n[T]>t[T]){if(t[x]+t[T]<n[T]){const S=(n[T]-t[T])/2;t[x]<S||t[y]<S?t[x]<t[y]?(l=gn[s],u=c(T,y,f)):u=c(T,x,f):l="center"}}else n[T]<t[T]&&t[y]<0&&t[x]>t[y]&&(l=gn[s])}else{const x=a==="bottom"||a==="top"?"left":"top",y=tt[x],T=zt[x],S=(n[T]-t[T])/2;(t[x]<S||t[y]<S)&&(t[x]>t[y]?(l=bn[x],u=c(T,x,f)):(l=bn[y],u=c(T,y,f)))}let p=a;return t[a]<n[zt[a]]&&t[a]<t[tt[a]]&&(p=tt[a]),{placement:l!=="center"?`${p}-${l}`:p,left:u.left,top:u.top}}function Xi(e,t){return t?Gi[e]:Ki[e]}function qi(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 Zi=ke([ke(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),ke(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[ke("> *",{pointerEvents:"all"})])]),Ji=ee({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=de("VBinder"),n=le(()=>e.enabled!==void 0?e.enabled:e.show),r=H(null),o=H(null),i=()=>{const{syncTrigger:p}=e;p.includes("scroll")&&t.addScrollListener(l),p.includes("resize")&&t.addResizeListener(l)},a=()=>{t.removeScrollListener(l),t.removeResizeListener(l)};Xe(()=>{n.value&&(l(),i())});const s=Vn();Zi.mount({id:"vueuc/binder",head:!0,anchorMetaName:ir,ssr:s}),qe(()=>{a()}),Ri(()=>{n.value&&l()});const l=()=>{if(!n.value)return;const p=r.value;if(p===null)return;const x=t.targetRef,{x:y,y:T,overlap:S}=e,w=y!==void 0&&T!==void 0?Ni(y,T):Mt(x);p.style.setProperty("--v-target-width",`${Math.round(w.width)}px`),p.style.setProperty("--v-target-height",`${Math.round(w.height)}px`);const{width:$,minWidth:B,placement:M,internalShift:_,flip:D}=e;p.setAttribute("v-placement",M),S?p.setAttribute("v-overlap",""):p.removeAttribute("v-overlap");const{style:I}=p;$==="target"?I.width=`${w.width}px`:$!==void 0?I.width=$:I.width="",B==="target"?I.minWidth=`${w.width}px`:B!==void 0?I.minWidth=B:I.minWidth="";const W=Mt(p),N=Mt(o.value),{left:P,top:R,placement:J}=Yi(M,w,W,_,D,S),A=Xi(J,S),{left:b,top:h,transform:v}=qi(J,N,w,R,P,S);p.setAttribute("v-placement",J),p.style.setProperty("--v-offset-left",`${Math.round(P)}px`),p.style.setProperty("--v-offset-top",`${Math.round(R)}px`),p.style.transform=`translateX(${b}) translateY(${h}) ${v}`,p.style.setProperty("--v-transform-origin",A),p.style.transformOrigin=A};xe(n,p=>{p?(i(),u()):a()});const u=()=>{Dt().then(l).catch(p=>console.error(p))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(p=>{xe(ae(e,p),l)}),["teleportDisabled"].forEach(p=>{xe(ae(e,p),u)}),xe(ae(e,"syncTrigger"),p=>{p.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),p.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const c=jn(),f=le(()=>{const{to:p}=e;if(p!==void 0)return p;c.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:o,followerRef:r,mergedTo:f,syncPosition:l}},render(){return g(Vo,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=g("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[g("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?ht(n,[[Kn,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});let nt;function Qi(){return typeof document>"u"?!1:(nt===void 0&&("matchMedia"in window?nt=window.matchMedia("(pointer:coarse)").matches:nt=!1),nt)}let Tt;function yn(){return typeof document>"u"?1:(Tt===void 0&&(Tt="chrome"in window?window.devicePixelRatio:1),Tt)}const lr="VVirtualListXScroll";function ea({columnsRef:e,renderColRef:t,renderItemWithColsRef:n}){const r=H(0),o=H(0),i=K(()=>{const u=e.value;if(u.length===0)return null;const c=new ar(u.length,0);return u.forEach((f,p)=>{c.add(p,f.width)}),c}),a=le(()=>{const u=i.value;return u!==null?Math.max(u.getBound(o.value)-1,0):0}),s=u=>{const c=i.value;return c!==null?c.sum(u):0},l=le(()=>{const u=i.value;return u!==null?Math.min(u.getBound(o.value+r.value)+1,e.value.length-1):0});return $e(lr,{startIndexRef:a,endIndexRef:l,columnsRef:e,renderColRef:t,renderItemWithColsRef:n,getLeft:s}),{listWidthRef:r,scrollLeftRef:o}}const wn=ee({name:"VirtualListRow",props:{index:{type:Number,required:!0},item:{type:Object,required:!0}},setup(){const{startIndexRef:e,endIndexRef:t,columnsRef:n,getLeft:r,renderColRef:o,renderItemWithColsRef:i}=de(lr);return{startIndex:e,endIndex:t,columns:n,renderCol:o,renderItemWithCols:i,getLeft:r}},render(){const{startIndex:e,endIndex:t,columns:n,renderCol:r,renderItemWithCols:o,getLeft:i,item:a}=this;if(o!=null)return o({itemIndex:this.index,startColIndex:e,endColIndex:t,allColumns:n,item:a,getLeft:i});if(r!=null){const s=[];for(let l=e;l<=t;++l){const u=n[l];s.push(r({column:u,left:i(l),item:a}))}return s}return null}}),ta=ke(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[ke("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[ke("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),Du=ee({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},columns:{type:Array,default:()=>[]},renderCol:Function,renderItemWithCols:Function,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=Vn();ta.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:ir,ssr:t}),Xe(()=>{const{defaultScrollIndex:A,defaultScrollKey:b}=e;A!=null?S({index:A}):b!=null&&S({key:b})});let n=!1,r=!1;jo(()=>{if(n=!1,!r){r=!0;return}S({top:x.value,left:a.value})}),Gn(()=>{n=!0,r||(r=!0)});const o=le(()=>{if(e.renderCol==null&&e.renderItemWithCols==null||e.columns.length===0)return;let A=0;return e.columns.forEach(b=>{A+=b.width}),A}),i=K(()=>{const A=new Map,{keyField:b}=e;return e.items.forEach((h,v)=>{A.set(h[b],v)}),A}),{scrollLeftRef:a,listWidthRef:s}=ea({columnsRef:ae(e,"columns"),renderColRef:ae(e,"renderCol"),renderItemWithColsRef:ae(e,"renderItemWithCols")}),l=H(null),u=H(void 0),c=new Map,f=K(()=>{const{items:A,itemSize:b,keyField:h}=e,v=new ar(A.length,b);return A.forEach((z,C)=>{const k=z[h],E=c.get(k);E!==void 0&&v.add(C,E)}),v}),p=H(0),x=H(0),y=le(()=>Math.max(f.value.getBound(x.value-lt(e.paddingTop))-1,0)),T=K(()=>{const{value:A}=u;if(A===void 0)return[];const{items:b,itemSize:h}=e,v=y.value,z=Math.min(v+Math.ceil(A/h+1),b.length-1),C=[];for(let k=v;k<=z;++k)C.push(b[k]);return C}),S=(A,b)=>{if(typeof A=="number"){M(A,b,"auto");return}const{left:h,top:v,index:z,key:C,position:k,behavior:E,debounce:j=!0}=A;if(h!==void 0||v!==void 0)M(h,v,E);else if(z!==void 0)B(z,E,j);else if(C!==void 0){const Y=i.value.get(C);Y!==void 0&&B(Y,E,j)}else k==="bottom"?M(0,Number.MAX_SAFE_INTEGER,E):k==="top"&&M(0,0,E)};let w,$=null;function B(A,b,h){const{value:v}=f,z=v.sum(A)+lt(e.paddingTop);if(!h)l.value.scrollTo({left:0,top:z,behavior:b});else{w=A,$!==null&&window.clearTimeout($),$=window.setTimeout(()=>{w=void 0,$=null},16);const{scrollTop:C,offsetHeight:k}=l.value;if(z>C){const E=v.get(A);z+E<=C+k||l.value.scrollTo({left:0,top:z+E-k,behavior:b})}else l.value.scrollTo({left:0,top:z,behavior:b})}}function M(A,b,h){l.value.scrollTo({left:A,top:b,behavior:h})}function _(A,b){var h,v,z;if(n||e.ignoreItemResize||J(b.target))return;const{value:C}=f,k=i.value.get(A),E=C.get(k),j=(z=(v=(h=b.borderBoxSize)===null||h===void 0?void 0:h[0])===null||v===void 0?void 0:v.blockSize)!==null&&z!==void 0?z:b.contentRect.height;if(j===E)return;j-e.itemSize===0?c.delete(A):c.set(A,j-e.itemSize);const q=j-E;if(q===0)return;C.add(k,q);const U=l.value;if(U!=null){if(w===void 0){const ne=C.sum(k);U.scrollTop>ne&&U.scrollBy(0,q)}else if(k<w)U.scrollBy(0,q);else if(k===w){const ne=C.sum(k);j+ne>U.scrollTop+U.offsetHeight&&U.scrollBy(0,q)}R()}p.value++}const D=!Qi();let I=!1;function W(A){var b;(b=e.onScroll)===null||b===void 0||b.call(e,A),(!D||!I)&&R()}function N(A){var b;if((b=e.onWheel)===null||b===void 0||b.call(e,A),D){const h=l.value;if(h!=null){if(A.deltaX===0&&(h.scrollTop===0&&A.deltaY<=0||h.scrollTop+h.offsetHeight>=h.scrollHeight&&A.deltaY>=0))return;A.preventDefault(),h.scrollTop+=A.deltaY/yn(),h.scrollLeft+=A.deltaX/yn(),R(),I=!0,er(()=>{I=!1})}}}function P(A){if(n||J(A.target))return;if(e.renderCol==null&&e.renderItemWithCols==null){if(A.contentRect.height===u.value)return}else if(A.contentRect.height===u.value&&A.contentRect.width===s.value)return;u.value=A.contentRect.height,s.value=A.contentRect.width;const{onResize:b}=e;b!==void 0&&b(A)}function R(){const{value:A}=l;A!=null&&(x.value=A.scrollTop,a.value=A.scrollLeft)}function J(A){let b=A;for(;b!==null;){if(b.style.display==="none")return!0;b=b.parentElement}return!1}return{listHeight:u,listStyle:{overflow:"auto"},keyToIndex:i,itemsStyle:K(()=>{const{itemResizable:A}=e,b=He(f.value.sum());return p.value,[e.itemsStyle,{boxSizing:"content-box",width:He(o.value),height:A?"":b,minHeight:A?b:"",paddingTop:He(e.paddingTop),paddingBottom:He(e.paddingBottom)}]}),visibleItemsStyle:K(()=>(p.value,{transform:`translateY(${He(f.value.sum(y.value))})`})),viewportItems:T,listElRef:l,itemsElRef:H(null),scrollTo:S,handleListResize:P,handleListScroll:W,handleListWheel:N,handleItemResize:_}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:r}=this;return g(Rt,{onResize:this.handleListResize},{default:()=>{var o,i;return g("div",pt(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?g("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[g(r,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>{const{renderCol:a,renderItemWithCols:s}=this;return this.viewportItems.map(l=>{const u=l[t],c=n.get(u),f=a!=null?g(wn,{index:c,item:l}):void 0,p=s!=null?g(wn,{index:c,item:l}):void 0,x=this.$slots.default({item:l,renderedCols:f,renderedItemWithCols:p,index:c})[0];return e?g(Rt,{key:u,onResize:y=>this.handleItemResize(u,y)},{default:()=>x}):(x.key=u,x)})}})]):(i=(o=this.$slots).empty)===null||i===void 0?void 0:i.call(o)])}})}});var Ft=vt(gt,"WeakMap"),na=Ko(Object.keys,Object),ra=Object.prototype,oa=ra.hasOwnProperty;function ia(e){if(!Go(e))return na(e);var t=[];for(var n in Object(e))oa.call(e,n)&&n!="constructor"&&t.push(n);return t}function Xt(e){return Kt(e)?Uo(e):ia(e)}var aa=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,la=/^\w*$/;function qt(e,t){if(Me(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Un(e)?!0:la.test(e)||!aa.test(e)||t!=null&&e in Object(t)}var sa="Expected a function";function Zt(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(sa);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(Zt.Cache||Gt),n}Zt.Cache=Gt;var ua=500;function da(e){var t=Zt(e,function(r){return n.size===ua&&n.clear(),r}),n=t.cache;return t}var ca=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,fa=/\\(\\)?/g,ha=da(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(ca,function(n,r,o,i){t.push(o?i.replace(fa,"$1"):r||n)}),t});function sr(e,t){return Me(e)?e:qt(e,t)?[e]:ha(Yo(e))}var pa=1/0;function yt(e){if(typeof e=="string"||Un(e))return e;var t=e+"";return t=="0"&&1/e==-pa?"-0":t}function ur(e,t){t=sr(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[yt(t[n++])];return n&&n==r?e:void 0}function va(e,t,n){var r=e==null?void 0:ur(e,t);return r===void 0?n:r}function ga(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function ma(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 ba(){return[]}var ya=Object.prototype,wa=ya.propertyIsEnumerable,xn=Object.getOwnPropertySymbols,xa=xn?function(e){return e==null?[]:(e=Object(e),ma(xn(e),function(t){return wa.call(e,t)}))}:ba;function Ca(e,t,n){var r=t(e);return Me(e)?r:ga(r,n(e))}function Cn(e){return Ca(e,Xt,xa)}var Nt=vt(gt,"DataView"),Wt=vt(gt,"Promise"),Ht=vt(gt,"Set"),Sn="[object Map]",Sa="[object Object]",$n="[object Promise]",Mn="[object Set]",zn="[object WeakMap]",Tn="[object DataView]",$a=Le(Nt),Ma=Le(Lt),za=Le(Wt),Ta=Le(Ht),_a=Le(Ft),we=Yn;(Nt&&we(new Nt(new ArrayBuffer(1)))!=Tn||Lt&&we(new Lt)!=Sn||Wt&&we(Wt.resolve())!=$n||Ht&&we(new Ht)!=Mn||Ft&&we(new Ft)!=zn)&&(we=function(e){var t=Yn(e),n=t==Sa?e.constructor:void 0,r=n?Le(n):"";if(r)switch(r){case $a:return Tn;case Ma:return Sn;case za:return $n;case Ta:return Mn;case _a:return zn}return t});var Pa="__lodash_hash_undefined__";function Aa(e){return this.__data__.set(e,Pa),this}function ka(e){return this.__data__.has(e)}function dt(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Gt;++t<n;)this.add(e[t])}dt.prototype.add=dt.prototype.push=Aa;dt.prototype.has=ka;function Ea(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 Ia(e,t){return e.has(t)}var Oa=1,Ba=2;function dr(e,t,n,r,o,i){var a=n&Oa,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=i.get(e),c=i.get(t);if(u&&c)return u==t&&c==e;var f=-1,p=!0,x=n&Ba?new dt:void 0;for(i.set(e,t),i.set(t,e);++f<s;){var y=e[f],T=t[f];if(r)var S=a?r(T,y,f,t,e,i):r(y,T,f,e,t,i);if(S!==void 0){if(S)continue;p=!1;break}if(x){if(!Ea(t,function(w,$){if(!Ia(x,$)&&(y===w||o(y,w,n,r,i)))return x.push($)})){p=!1;break}}else if(!(y===T||o(y,T,n,r,i))){p=!1;break}}return i.delete(e),i.delete(t),p}function Da(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function Ra(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var La=1,Fa=2,Na="[object Boolean]",Wa="[object Date]",Ha="[object Error]",Va="[object Map]",ja="[object Number]",Ka="[object RegExp]",Ga="[object Set]",Ua="[object String]",Ya="[object Symbol]",Xa="[object ArrayBuffer]",qa="[object DataView]",_n=an?an.prototype:void 0,_t=_n?_n.valueOf:void 0;function Za(e,t,n,r,o,i,a){switch(n){case qa:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Xa:return!(e.byteLength!=t.byteLength||!i(new ln(e),new ln(t)));case Na:case Wa:case ja:return Xo(+e,+t);case Ha:return e.name==t.name&&e.message==t.message;case Ka:case Ua:return e==t+"";case Va:var s=Da;case Ga:var l=r&La;if(s||(s=Ra),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=Fa,a.set(e,t);var c=dr(s(e),s(t),r,o,i,a);return a.delete(e),c;case Ya:if(_t)return _t.call(e)==_t.call(t)}return!1}var Ja=1,Qa=Object.prototype,el=Qa.hasOwnProperty;function tl(e,t,n,r,o,i){var a=n&Ja,s=Cn(e),l=s.length,u=Cn(t),c=u.length;if(l!=c&&!a)return!1;for(var f=l;f--;){var p=s[f];if(!(a?p in t:el.call(t,p)))return!1}var x=i.get(e),y=i.get(t);if(x&&y)return x==t&&y==e;var T=!0;i.set(e,t),i.set(t,e);for(var S=a;++f<l;){p=s[f];var w=e[p],$=t[p];if(r)var B=a?r($,w,p,t,e,i):r(w,$,p,e,t,i);if(!(B===void 0?w===$||o(w,$,n,r,i):B)){T=!1;break}S||(S=p=="constructor")}if(T&&!S){var M=e.constructor,_=t.constructor;M!=_&&"constructor"in e&&"constructor"in t&&!(typeof M=="function"&&M instanceof M&&typeof _=="function"&&_ instanceof _)&&(T=!1)}return i.delete(e),i.delete(t),T}var nl=1,Pn="[object Arguments]",An="[object Array]",rt="[object Object]",rl=Object.prototype,kn=rl.hasOwnProperty;function ol(e,t,n,r,o,i){var a=Me(e),s=Me(t),l=a?An:we(e),u=s?An:we(t);l=l==Pn?rt:l,u=u==Pn?rt:u;var c=l==rt,f=u==rt,p=l==u;if(p&&sn(e)){if(!sn(t))return!1;a=!0,c=!1}if(p&&!c)return i||(i=new it),a||qo(e)?dr(e,t,n,r,o,i):Za(e,t,l,n,r,o,i);if(!(n&nl)){var x=c&&kn.call(e,"__wrapped__"),y=f&&kn.call(t,"__wrapped__");if(x||y){var T=x?e.value():e,S=y?t.value():t;return i||(i=new it),o(T,S,n,r,i)}}return p?(i||(i=new it),tl(e,t,n,r,o,i)):!1}function Jt(e,t,n,r,o){return e===t?!0:e==null||t==null||!un(e)&&!un(t)?e!==e&&t!==t:ol(e,t,n,r,Jt,o)}var il=1,al=2;function ll(e,t,n,r){var o=n.length,i=o;if(e==null)return!i;for(e=Object(e);o--;){var a=n[o];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++o<i;){a=n[o];var s=a[0],l=e[s],u=a[1];if(a[2]){if(l===void 0&&!(s in e))return!1}else{var c=new it,f;if(!(f===void 0?Jt(u,l,il|al,r,c):f))return!1}}return!0}function cr(e){return e===e&&!Zo(e)}function sl(e){for(var t=Xt(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,cr(o)]}return t}function fr(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function ul(e){var t=sl(e);return t.length==1&&t[0][2]?fr(t[0][0],t[0][1]):function(n){return n===e||ll(n,e,t)}}function dl(e,t){return e!=null&&t in Object(e)}function cl(e,t,n){t=sr(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=yt(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&&Jo(o)&&Qo(a,o)&&(Me(e)||ei(e)))}function fl(e,t){return e!=null&&cl(e,t,dl)}var hl=1,pl=2;function vl(e,t){return qt(e)&&cr(t)?fr(yt(e),t):function(n){var r=va(n,e);return r===void 0&&r===t?fl(n,e):Jt(t,r,hl|pl)}}function gl(e){return function(t){return t==null?void 0:t[e]}}function ml(e){return function(t){return ur(t,e)}}function bl(e){return qt(e)?gl(yt(e)):ml(e)}function yl(e){return typeof e=="function"?e:e==null?ti:typeof e=="object"?Me(e)?vl(e[0],e[1]):ul(e):bl(e)}function wl(e,t){return e&&ni(e,t,Xt)}function xl(e,t){return function(n,r){if(n==null)return n;if(!Kt(n))return e(n,r);for(var o=n.length,i=-1,a=Object(n);++i<o&&r(a[i],i,a)!==!1;);return n}}var Cl=xl(wl);function Sl(e,t){var n=-1,r=Kt(e)?Array(e.length):[];return Cl(e,function(o,i,a){r[++n]=t(o,i,a)}),r}function $l(e,t){var n=Me(e)?ri:Sl;return n(e,yl(t))}const Ml={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},zl={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Tl=(e,t,n)=>{let r;const o=zl[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},_l={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Pl=(e,t,n,r)=>_l[e],Al={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},kl={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},El={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Il={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ol={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Bl={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Dl=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Rl={ordinalNumber:Dl,era:Ve({values:Al,defaultWidth:"wide"}),quarter:Ve({values:kl,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ve({values:El,defaultWidth:"wide"}),day:Ve({values:Il,defaultWidth:"wide"}),dayPeriod:Ve({values:Ol,defaultWidth:"wide",formattingValues:Bl,defaultFormattingWidth:"wide"})},Ll=/^(\d+)(th|st|nd|rd)?/i,Fl=/\d+/i,Nl={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Wl={any:[/^b/i,/^(a|c)/i]},Hl={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Vl={any:[/1/i,/2/i,/3/i,/4/i]},jl={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Kl={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Gl={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Ul={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Yl={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Xl={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},ql={ordinalNumber:oi({matchPattern:Ll,parsePattern:Fl,valueCallback:e=>parseInt(e,10)}),era:je({matchPatterns:Nl,defaultMatchWidth:"wide",parsePatterns:Wl,defaultParseWidth:"any"}),quarter:je({matchPatterns:Hl,defaultMatchWidth:"wide",parsePatterns:Vl,defaultParseWidth:"any",valueCallback:e=>e+1}),month:je({matchPatterns:jl,defaultMatchWidth:"wide",parsePatterns:Kl,defaultParseWidth:"any"}),day:je({matchPatterns:Gl,defaultMatchWidth:"wide",parsePatterns:Ul,defaultParseWidth:"any"}),dayPeriod:je({matchPatterns:Yl,defaultMatchWidth:"any",parsePatterns:Xl,defaultParseWidth:"any"})},Zl={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Jl={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ql={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},es={date:St({formats:Zl,defaultWidth:"full"}),time:St({formats:Jl,defaultWidth:"full"}),dateTime:St({formats:Ql,defaultWidth:"full"})},ts={code:"en-US",formatDistance:Tl,formatLong:es,formatRelative:Pl,localize:Rl,match:ql,options:{weekStartsOn:0,firstWeekContainsDate:1}},ns={name:"en-US",locale:ts};function hr(e){const{mergedLocaleRef:t,mergedDateLocaleRef:n}=de(ii,null)||{},r=K(()=>{var i,a;return(a=(i=t==null?void 0:t.value)===null||i===void 0?void 0:i[e])!==null&&a!==void 0?a:Ml[e]});return{dateLocaleRef:K(()=>{var i;return(i=n==null?void 0:n.value)!==null&&i!==void 0?i:ns}),localeRef:r}}const Ru=ee({name:"ChevronRight",render(){return g("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("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"}))}}),rs=ee({name:"Eye",render(){return g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},g("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),g("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),os=ee({name:"EyeOff",render(){return g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},g("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),g("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),g("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),g("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),g("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),is=ee({name:"Empty",render(){return g("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("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"}),g("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"}))}}),as=ee({name:"ChevronDown",render(){return g("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),ls=ai("clear",g("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},g("g",{fill:"currentColor","fill-rule":"nonzero"},g("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"})))));function En(e){return Array.isArray(e)?e:[e]}const Vt={STOP:"STOP"};function pr(e,t){const n=t(e);e.children!==void 0&&n!==Vt.STOP&&e.children.forEach(r=>pr(r,t))}function ss(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 us(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function ds(e){return e.children}function cs(e){return e.key}function fs(){return!1}function hs(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function ps(e){return e.disabled===!0}function vs(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function Pt(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function At(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function gs(e,t){const n=new Set(e);return t.forEach(r=>{n.has(r)||n.add(r)}),Array.from(n)}function ms(e,t){const n=new Set(e);return t.forEach(r=>{n.has(r)&&n.delete(r)}),Array.from(n)}function bs(e){return(e==null?void 0:e.type)==="group"}function Lu(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 ys extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function ws(e,t,n,r){return ct(t.concat(e),n,r,!1)}function xs(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 Cs(e,t,n,r){const o=ct(t,n,r,!1),i=ct(e,n,r,!0),a=xs(e,n),s=[];return o.forEach(l=>{(i.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>o.delete(l)),o}function kt(e,t){const{checkedKeys:n,keysToCheck:r,keysToUncheck:o,indeterminateKeys:i,cascade:a,leafOnly:s,checkStrategy:l,allowNotLoaded:u}=e;if(!a)return r!==void 0?{checkedKeys:gs(n,r),indeterminateKeys:Array.from(i)}:o!==void 0?{checkedKeys:ms(n,o),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:c}=t;let f;o!==void 0?f=Cs(o,n,t,u):r!==void 0?f=ws(r,n,t,u):f=ct(n,t,u,!1);const p=l==="parent",x=l==="child"||s,y=f,T=new Set,S=Math.max.apply(null,Array.from(c.keys()));for(let w=S;w>=0;w-=1){const $=w===0,B=c.get(w);for(const M of B){if(M.isLeaf)continue;const{key:_,shallowLoaded:D}=M;if(x&&D&&M.children.forEach(P=>{!P.disabled&&!P.isLeaf&&P.shallowLoaded&&y.has(P.key)&&y.delete(P.key)}),M.disabled||!D)continue;let I=!0,W=!1,N=!0;for(const P of M.children){const R=P.key;if(!P.disabled){if(N&&(N=!1),y.has(R))W=!0;else if(T.has(R)){W=!0,I=!1;break}else if(I=!1,W)break}}I&&!N?(p&&M.children.forEach(P=>{!P.disabled&&y.has(P.key)&&y.delete(P.key)}),y.add(_)):W&&T.add(_),$&&x&&y.has(_)&&y.delete(_)}}return{checkedKeys:Array.from(y),indeterminateKeys:Array.from(T)}}function ct(e,t,n,r){const{treeNodeMap:o,getChildren:i}=t,a=new Set,s=new Set(e);return e.forEach(l=>{const u=o.get(l);u!==void 0&&pr(u,c=>{if(c.disabled)return Vt.STOP;const{key:f}=c;if(!a.has(f)&&(a.add(f),s.add(f),vs(c.rawNode,i))){if(r)return Vt.STOP;if(!n)throw new ys}})}),s}function Ss(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 $s(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function Ms(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 In(e,t,{loop:n=!1,includeDisabled:r=!1}={}){const o=t==="prev"?zs:Ms,i={reverse:t==="prev"};let a=!1,s=null;function l(u){if(u!==null){if(u===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){s=e;return}}else if((!u.disabled||r)&&!u.ignored&&!u.isGroup){s=u;return}if(u.isGroup){const c=Qt(u,i);c!==null?s=c:l(o(u,n))}else{const c=o(u,!1);if(c!==null)l(c);else{const f=Ts(u);f!=null&&f.isGroup?l(o(f,n)):n&&l(o(u,!0))}}}}return l(e),s}function zs(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 Ts(e){return e.parent}function Qt(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 u=r[l];if(!u.disabled&&!u.ignored)if(u.isGroup){const c=Qt(u,t);if(c!==null)return c}else return u}}return null}const _s={getChild(){return this.ignored?null:Qt(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return In(this,"next",e)},getPrev(e={}){return In(this,"prev",e)}};function Ps(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 As(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function vr(e,t,n,r,o,i=null,a=0){const s=[];return e.forEach((l,u)=>{var c;const f=Object.create(r);if(f.rawNode=l,f.siblings=s,f.level=a,f.index=u,f.isFirstChild=u===0,f.isLastChild=u+1===e.length,f.parent=i,!f.ignored){const p=o(l);Array.isArray(p)&&(f.children=vr(p,t,n,r,o,f,a+1))}s.push(f),t.set(f.key,f),n.has(a)||n.set(a,[]),(c=n.get(a))===null||c===void 0||c.push(f)}),s}function Fu(e,t={}){var n;const r=new Map,o=new Map,{getDisabled:i=ps,getIgnored:a=fs,getIsGroup:s=bs,getKey:l=cs}=t,u=(n=t.getChildren)!==null&&n!==void 0?n:ds,c=t.ignoreEmptyChildren?M=>{const _=u(M);return Array.isArray(_)?_.length?_:null:_}:u,f=Object.assign({get key(){return l(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return s(this.rawNode)},get isLeaf(){return us(this.rawNode,c)},get shallowLoaded(){return hs(this.rawNode,c)},get ignored(){return a(this.rawNode)},contains(M){return As(this,M)}},_s),p=vr(e,r,o,f,c);function x(M){if(M==null)return null;const _=r.get(M);return _&&!_.isGroup&&!_.ignored?_:null}function y(M){if(M==null)return null;const _=r.get(M);return _&&!_.ignored?_:null}function T(M,_){const D=y(M);return D?D.getPrev(_):null}function S(M,_){const D=y(M);return D?D.getNext(_):null}function w(M){const _=y(M);return _?_.getParent():null}function $(M){const _=y(M);return _?_.getChild():null}const B={treeNodes:p,treeNodeMap:r,levelTreeNodeMap:o,maxLevel:Math.max(...o.keys()),getChildren:c,getFlattenedNodes(M){return Ps(p,M)},getNode:x,getPrev:T,getNext:S,getParent:w,getChild:$,getFirstAvailableNode(){return $s(p)},getPath(M,_={}){return Ss(M,_,B)},getCheckedKeys(M,_={}){const{cascade:D=!0,leafOnly:I=!1,checkStrategy:W="all",allowNotLoaded:N=!1}=_;return kt({checkedKeys:Pt(M),indeterminateKeys:At(M),cascade:D,leafOnly:I,checkStrategy:W,allowNotLoaded:N},B)},check(M,_,D={}){const{cascade:I=!0,leafOnly:W=!1,checkStrategy:N="all",allowNotLoaded:P=!1}=D;return kt({checkedKeys:Pt(_),indeterminateKeys:At(_),keysToCheck:M==null?[]:En(M),cascade:I,leafOnly:W,checkStrategy:N,allowNotLoaded:P},B)},uncheck(M,_,D={}){const{cascade:I=!0,leafOnly:W=!1,checkStrategy:N="all",allowNotLoaded:P=!1}=D;return kt({checkedKeys:Pt(_),indeterminateKeys:At(_),keysToUncheck:M==null?[]:En(M),cascade:I,leafOnly:W,checkStrategy:N,allowNotLoaded:P},B)},getNonLeafKeys(M={}){return ss(p,M)}};return B}const ks={iconSizeTiny:"28px",iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"};function Es(e){const{textColorDisabled:t,iconColor:n,textColor2:r,fontSizeTiny:o,fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:s,fontSizeHuge:l}=e;return Object.assign(Object.assign({},ks),{fontSizeTiny:o,fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:s,fontSizeHuge:l,textColor:t,iconColor:n,extraTextColor:r})}const Is={name:"Empty",common:Ee,self:Es},Os=F("empty",`
1
+ import{B as Xe,b2 as qe,bu as No,m as K,a3 as ft,aa as de,bm as Fn,bn as Nn,bk as Wn,r as H,b5 as Se,b3 as me,a9 as le,h as ee,$ as $e,bt as Hn,bv as Wo,a5 as ht,bw as on,bx as Ho,b6 as Vn,F as xe,t as ae,bd as jn,v as g,by as Kn,bz as Vo,as as Dt,bA as jo,bB as Gn,o as lt,p as He,bi as pt,bo as Rt,bC as vt,bD as gt,bE as Ko,bF as Go,bG as Kt,bH as Uo,bI as Me,bJ as Un,bK as Gt,bL as Yo,bM as Le,bN as Yn,bO as Lt,bP as an,bQ as Xo,bR as ln,bS as sn,bT as it,bU as qo,bV as un,bW as Zo,bX as Jo,bY as Qo,bZ as ei,b_ as ti,b$ as ni,c0 as ri,c1 as Ve,c2 as oi,c3 as je,c4 as St,bp as ii,c5 as ai,d as Ee,a as F,b as O,e as V,u as he,j as oe,n as fe,q as Fe,ad as Ye,g as ue,f as G,c6 as li,D as st,be as dn,a6 as si,bf as cn,b8 as ui,s as fn,c7 as di,w as Ce,P as Xn,ar as ci,l as mt,c8 as hn,c9 as fi,ca as hi,aU as pi,y as Q,i as vi,Z as Ut,N as gi,aq as Ke,x as mi,c as Ge,ac as bi,cb as yi,k as Yt,a1 as bt,ap as wi,aj as xi,ag as qn,af as Ci,bh as Si,cc as Zn,bl as $i,an as Mi,cd as zi,ce as Ti,cf as _i,aP as Jn,C as Pi,cg as Ai,aW as ki,ch as Ei}from"./index-DgssPx4k.js";let ut=[];const Qn=new WeakMap;function Ii(){ut.forEach(e=>e(...Qn.get(e))),ut=[]}function er(e,...t){Qn.set(e,t),!ut.includes(e)&&ut.push(e)===1&&requestAnimationFrame(Ii)}function Ou(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function tr(e,t="default",n=[]){const o=e.$slots[t];return o===void 0?n:o()}const Oi=/^(\d|\.)+$/,pn=/(\d|\.)+/;function at(e,{c:t=1,offset:n=0,attachPx:r=!0}={}){if(typeof e=="number"){const o=(e+n)*t;return o===0?"0":`${o}px`}else if(typeof e=="string")if(Oi.test(e)){const o=(Number(e)+n)*t;return r?o===0?"0":`${o}px`:`${o}`}else{const o=pn.exec(e);return o?e.replace(pn,String((Number(o[0])+n)*t)):e}return e}let $t;function Bi(){return $t===void 0&&($t=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),$t}let De,Ue;const Di=()=>{var e,t;De=No?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,Ue=!1,De!==void 0?De.then(()=>{Ue=!0}):Ue=!0};Di();function Ri(e){if(Ue)return;let t=!1;Xe(()=>{Ue||De==null||De.then(()=>{t||e()})}),qe(()=>{t=!0})}function Li(e,t){return K(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const Bu=ft("n-internal-select-menu"),Fi=ft("n-internal-select-menu-body"),nr="__disabled__";function Re(e){const t=de(Fn,null),n=de(Nn,null),r=de(Wn,null),o=de(Fi,null),i=H();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};Xe(()=>{Se("fullscreenchange",document,a)}),qe(()=>{me("fullscreenchange",document,a)})}return le(()=>{var a;const{to:s}=e;return s!==void 0?s===!1?nr: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"})}Re.tdkey=nr;Re.propTo={type:[String,Object,Boolean],default:void 0};let ye=null;function rr(){if(ye===null&&(ye=document.getElementById("v-binder-view-measurer"),ye===null)){ye=document.createElement("div"),ye.id="v-binder-view-measurer";const{style:e}=ye;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(ye)}return ye.getBoundingClientRect()}function Ni(e,t){const n=rr();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function Mt(e){const t=e.getBoundingClientRect(),n=rr();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 Wi(e){return e.nodeType===9?null:e.parentNode}function or(e){if(e===null)return null;const t=Wi(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 or(t)}const Hi=ee({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;$e("VBinder",(t=Hn())===null||t===void 0?void 0:t.proxy);const n=de("VBinder",null),r=H(null),o=w=>{r.value=w,n&&e.syncTargetWithParent&&n.setTargetRef(w)};let i=[];const a=()=>{let w=r.value;for(;w=or(w),w!==null;)i.push(w);for(const $ of i)Se("scroll",$,f,!0)},s=()=>{for(const w of i)me("scroll",w,f,!0);i=[]},l=new Set,u=w=>{l.size===0&&a(),l.has(w)||l.add(w)},c=w=>{l.has(w)&&l.delete(w),l.size===0&&s()},f=()=>{er(p)},p=()=>{l.forEach(w=>w())},x=new Set,y=w=>{x.size===0&&Se("resize",window,S),x.has(w)||x.add(w)},T=w=>{x.has(w)&&x.delete(w),x.size===0&&me("resize",window,S)},S=()=>{x.forEach(w=>w())};return qe(()=>{me("resize",window,S),s()}),{targetRef:r,setTargetRef:o,addScrollListener:u,removeScrollListener:c,addResizeListener:y,removeResizeListener:T}},render(){return Wo("binder",this.$slots)}}),Vi=ee({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=de("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?ht(on("follower",this.$slots),[[t]]):on("follower",this.$slots)}}),Be="@@mmoContext",ji={mounted(e,{value:t}){e[Be]={handler:void 0},typeof t=="function"&&(e[Be].handler=t,Se("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[Be];typeof t=="function"?n.handler?n.handler!==t&&(me("mousemoveoutside",e,n.handler),n.handler=t,Se("mousemoveoutside",e,t)):(e[Be].handler=t,Se("mousemoveoutside",e,t)):n.handler&&(me("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[Be];t&&me("mousemoveoutside",e,t),e[Be].handler=void 0}},{c:ke}=Ho(),ir="vueuc-style";function vn(e){return e&-e}class ar{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+=vn(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-=vn(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 tt={top:"bottom",bottom:"top",left:"right",right:"left"},gn={start:"end",center:"center",end:"start"},zt={top:"height",bottom:"height",left:"width",right:"width"},Ki={"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"},Gi={"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"},Ui={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},mn={top:!0,bottom:!1,left:!0,right:!1},bn={top:"end",bottom:"start",left:"end",right:"start"};function Yi(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",u={top:0,left:0};const c=(x,y,T)=>{let S=0,w=0;const $=n[x]-t[y]-t[x];return $>0&&r&&(T?w=mn[y]?$:-$:S=mn[y]?$:-$),{left:S,top:w}},f=a==="left"||a==="right";if(l!=="center"){const x=Ui[e],y=tt[x],T=zt[x];if(n[T]>t[T]){if(t[x]+t[T]<n[T]){const S=(n[T]-t[T])/2;t[x]<S||t[y]<S?t[x]<t[y]?(l=gn[s],u=c(T,y,f)):u=c(T,x,f):l="center"}}else n[T]<t[T]&&t[y]<0&&t[x]>t[y]&&(l=gn[s])}else{const x=a==="bottom"||a==="top"?"left":"top",y=tt[x],T=zt[x],S=(n[T]-t[T])/2;(t[x]<S||t[y]<S)&&(t[x]>t[y]?(l=bn[x],u=c(T,x,f)):(l=bn[y],u=c(T,y,f)))}let p=a;return t[a]<n[zt[a]]&&t[a]<t[tt[a]]&&(p=tt[a]),{placement:l!=="center"?`${p}-${l}`:p,left:u.left,top:u.top}}function Xi(e,t){return t?Gi[e]:Ki[e]}function qi(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 Zi=ke([ke(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),ke(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[ke("> *",{pointerEvents:"all"})])]),Ji=ee({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=de("VBinder"),n=le(()=>e.enabled!==void 0?e.enabled:e.show),r=H(null),o=H(null),i=()=>{const{syncTrigger:p}=e;p.includes("scroll")&&t.addScrollListener(l),p.includes("resize")&&t.addResizeListener(l)},a=()=>{t.removeScrollListener(l),t.removeResizeListener(l)};Xe(()=>{n.value&&(l(),i())});const s=Vn();Zi.mount({id:"vueuc/binder",head:!0,anchorMetaName:ir,ssr:s}),qe(()=>{a()}),Ri(()=>{n.value&&l()});const l=()=>{if(!n.value)return;const p=r.value;if(p===null)return;const x=t.targetRef,{x:y,y:T,overlap:S}=e,w=y!==void 0&&T!==void 0?Ni(y,T):Mt(x);p.style.setProperty("--v-target-width",`${Math.round(w.width)}px`),p.style.setProperty("--v-target-height",`${Math.round(w.height)}px`);const{width:$,minWidth:B,placement:M,internalShift:_,flip:D}=e;p.setAttribute("v-placement",M),S?p.setAttribute("v-overlap",""):p.removeAttribute("v-overlap");const{style:I}=p;$==="target"?I.width=`${w.width}px`:$!==void 0?I.width=$:I.width="",B==="target"?I.minWidth=`${w.width}px`:B!==void 0?I.minWidth=B:I.minWidth="";const W=Mt(p),N=Mt(o.value),{left:P,top:R,placement:J}=Yi(M,w,W,_,D,S),A=Xi(J,S),{left:b,top:h,transform:v}=qi(J,N,w,R,P,S);p.setAttribute("v-placement",J),p.style.setProperty("--v-offset-left",`${Math.round(P)}px`),p.style.setProperty("--v-offset-top",`${Math.round(R)}px`),p.style.transform=`translateX(${b}) translateY(${h}) ${v}`,p.style.setProperty("--v-transform-origin",A),p.style.transformOrigin=A};xe(n,p=>{p?(i(),u()):a()});const u=()=>{Dt().then(l).catch(p=>console.error(p))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(p=>{xe(ae(e,p),l)}),["teleportDisabled"].forEach(p=>{xe(ae(e,p),u)}),xe(ae(e,"syncTrigger"),p=>{p.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),p.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const c=jn(),f=le(()=>{const{to:p}=e;if(p!==void 0)return p;c.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:o,followerRef:r,mergedTo:f,syncPosition:l}},render(){return g(Vo,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=g("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[g("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?ht(n,[[Kn,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});let nt;function Qi(){return typeof document>"u"?!1:(nt===void 0&&("matchMedia"in window?nt=window.matchMedia("(pointer:coarse)").matches:nt=!1),nt)}let Tt;function yn(){return typeof document>"u"?1:(Tt===void 0&&(Tt="chrome"in window?window.devicePixelRatio:1),Tt)}const lr="VVirtualListXScroll";function ea({columnsRef:e,renderColRef:t,renderItemWithColsRef:n}){const r=H(0),o=H(0),i=K(()=>{const u=e.value;if(u.length===0)return null;const c=new ar(u.length,0);return u.forEach((f,p)=>{c.add(p,f.width)}),c}),a=le(()=>{const u=i.value;return u!==null?Math.max(u.getBound(o.value)-1,0):0}),s=u=>{const c=i.value;return c!==null?c.sum(u):0},l=le(()=>{const u=i.value;return u!==null?Math.min(u.getBound(o.value+r.value)+1,e.value.length-1):0});return $e(lr,{startIndexRef:a,endIndexRef:l,columnsRef:e,renderColRef:t,renderItemWithColsRef:n,getLeft:s}),{listWidthRef:r,scrollLeftRef:o}}const wn=ee({name:"VirtualListRow",props:{index:{type:Number,required:!0},item:{type:Object,required:!0}},setup(){const{startIndexRef:e,endIndexRef:t,columnsRef:n,getLeft:r,renderColRef:o,renderItemWithColsRef:i}=de(lr);return{startIndex:e,endIndex:t,columns:n,renderCol:o,renderItemWithCols:i,getLeft:r}},render(){const{startIndex:e,endIndex:t,columns:n,renderCol:r,renderItemWithCols:o,getLeft:i,item:a}=this;if(o!=null)return o({itemIndex:this.index,startColIndex:e,endColIndex:t,allColumns:n,item:a,getLeft:i});if(r!=null){const s=[];for(let l=e;l<=t;++l){const u=n[l];s.push(r({column:u,left:i(l),item:a}))}return s}return null}}),ta=ke(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[ke("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[ke("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),Du=ee({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},columns:{type:Array,default:()=>[]},renderCol:Function,renderItemWithCols:Function,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=Vn();ta.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:ir,ssr:t}),Xe(()=>{const{defaultScrollIndex:A,defaultScrollKey:b}=e;A!=null?S({index:A}):b!=null&&S({key:b})});let n=!1,r=!1;jo(()=>{if(n=!1,!r){r=!0;return}S({top:x.value,left:a.value})}),Gn(()=>{n=!0,r||(r=!0)});const o=le(()=>{if(e.renderCol==null&&e.renderItemWithCols==null||e.columns.length===0)return;let A=0;return e.columns.forEach(b=>{A+=b.width}),A}),i=K(()=>{const A=new Map,{keyField:b}=e;return e.items.forEach((h,v)=>{A.set(h[b],v)}),A}),{scrollLeftRef:a,listWidthRef:s}=ea({columnsRef:ae(e,"columns"),renderColRef:ae(e,"renderCol"),renderItemWithColsRef:ae(e,"renderItemWithCols")}),l=H(null),u=H(void 0),c=new Map,f=K(()=>{const{items:A,itemSize:b,keyField:h}=e,v=new ar(A.length,b);return A.forEach((z,C)=>{const k=z[h],E=c.get(k);E!==void 0&&v.add(C,E)}),v}),p=H(0),x=H(0),y=le(()=>Math.max(f.value.getBound(x.value-lt(e.paddingTop))-1,0)),T=K(()=>{const{value:A}=u;if(A===void 0)return[];const{items:b,itemSize:h}=e,v=y.value,z=Math.min(v+Math.ceil(A/h+1),b.length-1),C=[];for(let k=v;k<=z;++k)C.push(b[k]);return C}),S=(A,b)=>{if(typeof A=="number"){M(A,b,"auto");return}const{left:h,top:v,index:z,key:C,position:k,behavior:E,debounce:j=!0}=A;if(h!==void 0||v!==void 0)M(h,v,E);else if(z!==void 0)B(z,E,j);else if(C!==void 0){const Y=i.value.get(C);Y!==void 0&&B(Y,E,j)}else k==="bottom"?M(0,Number.MAX_SAFE_INTEGER,E):k==="top"&&M(0,0,E)};let w,$=null;function B(A,b,h){const{value:v}=f,z=v.sum(A)+lt(e.paddingTop);if(!h)l.value.scrollTo({left:0,top:z,behavior:b});else{w=A,$!==null&&window.clearTimeout($),$=window.setTimeout(()=>{w=void 0,$=null},16);const{scrollTop:C,offsetHeight:k}=l.value;if(z>C){const E=v.get(A);z+E<=C+k||l.value.scrollTo({left:0,top:z+E-k,behavior:b})}else l.value.scrollTo({left:0,top:z,behavior:b})}}function M(A,b,h){l.value.scrollTo({left:A,top:b,behavior:h})}function _(A,b){var h,v,z;if(n||e.ignoreItemResize||J(b.target))return;const{value:C}=f,k=i.value.get(A),E=C.get(k),j=(z=(v=(h=b.borderBoxSize)===null||h===void 0?void 0:h[0])===null||v===void 0?void 0:v.blockSize)!==null&&z!==void 0?z:b.contentRect.height;if(j===E)return;j-e.itemSize===0?c.delete(A):c.set(A,j-e.itemSize);const q=j-E;if(q===0)return;C.add(k,q);const U=l.value;if(U!=null){if(w===void 0){const ne=C.sum(k);U.scrollTop>ne&&U.scrollBy(0,q)}else if(k<w)U.scrollBy(0,q);else if(k===w){const ne=C.sum(k);j+ne>U.scrollTop+U.offsetHeight&&U.scrollBy(0,q)}R()}p.value++}const D=!Qi();let I=!1;function W(A){var b;(b=e.onScroll)===null||b===void 0||b.call(e,A),(!D||!I)&&R()}function N(A){var b;if((b=e.onWheel)===null||b===void 0||b.call(e,A),D){const h=l.value;if(h!=null){if(A.deltaX===0&&(h.scrollTop===0&&A.deltaY<=0||h.scrollTop+h.offsetHeight>=h.scrollHeight&&A.deltaY>=0))return;A.preventDefault(),h.scrollTop+=A.deltaY/yn(),h.scrollLeft+=A.deltaX/yn(),R(),I=!0,er(()=>{I=!1})}}}function P(A){if(n||J(A.target))return;if(e.renderCol==null&&e.renderItemWithCols==null){if(A.contentRect.height===u.value)return}else if(A.contentRect.height===u.value&&A.contentRect.width===s.value)return;u.value=A.contentRect.height,s.value=A.contentRect.width;const{onResize:b}=e;b!==void 0&&b(A)}function R(){const{value:A}=l;A!=null&&(x.value=A.scrollTop,a.value=A.scrollLeft)}function J(A){let b=A;for(;b!==null;){if(b.style.display==="none")return!0;b=b.parentElement}return!1}return{listHeight:u,listStyle:{overflow:"auto"},keyToIndex:i,itemsStyle:K(()=>{const{itemResizable:A}=e,b=He(f.value.sum());return p.value,[e.itemsStyle,{boxSizing:"content-box",width:He(o.value),height:A?"":b,minHeight:A?b:"",paddingTop:He(e.paddingTop),paddingBottom:He(e.paddingBottom)}]}),visibleItemsStyle:K(()=>(p.value,{transform:`translateY(${He(f.value.sum(y.value))})`})),viewportItems:T,listElRef:l,itemsElRef:H(null),scrollTo:S,handleListResize:P,handleListScroll:W,handleListWheel:N,handleItemResize:_}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:r}=this;return g(Rt,{onResize:this.handleListResize},{default:()=>{var o,i;return g("div",pt(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?g("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[g(r,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>{const{renderCol:a,renderItemWithCols:s}=this;return this.viewportItems.map(l=>{const u=l[t],c=n.get(u),f=a!=null?g(wn,{index:c,item:l}):void 0,p=s!=null?g(wn,{index:c,item:l}):void 0,x=this.$slots.default({item:l,renderedCols:f,renderedItemWithCols:p,index:c})[0];return e?g(Rt,{key:u,onResize:y=>this.handleItemResize(u,y)},{default:()=>x}):(x.key=u,x)})}})]):(i=(o=this.$slots).empty)===null||i===void 0?void 0:i.call(o)])}})}});var Ft=vt(gt,"WeakMap"),na=Ko(Object.keys,Object),ra=Object.prototype,oa=ra.hasOwnProperty;function ia(e){if(!Go(e))return na(e);var t=[];for(var n in Object(e))oa.call(e,n)&&n!="constructor"&&t.push(n);return t}function Xt(e){return Kt(e)?Uo(e):ia(e)}var aa=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,la=/^\w*$/;function qt(e,t){if(Me(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Un(e)?!0:la.test(e)||!aa.test(e)||t!=null&&e in Object(t)}var sa="Expected a function";function Zt(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(sa);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(Zt.Cache||Gt),n}Zt.Cache=Gt;var ua=500;function da(e){var t=Zt(e,function(r){return n.size===ua&&n.clear(),r}),n=t.cache;return t}var ca=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,fa=/\\(\\)?/g,ha=da(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(ca,function(n,r,o,i){t.push(o?i.replace(fa,"$1"):r||n)}),t});function sr(e,t){return Me(e)?e:qt(e,t)?[e]:ha(Yo(e))}var pa=1/0;function yt(e){if(typeof e=="string"||Un(e))return e;var t=e+"";return t=="0"&&1/e==-pa?"-0":t}function ur(e,t){t=sr(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[yt(t[n++])];return n&&n==r?e:void 0}function va(e,t,n){var r=e==null?void 0:ur(e,t);return r===void 0?n:r}function ga(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function ma(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 ba(){return[]}var ya=Object.prototype,wa=ya.propertyIsEnumerable,xn=Object.getOwnPropertySymbols,xa=xn?function(e){return e==null?[]:(e=Object(e),ma(xn(e),function(t){return wa.call(e,t)}))}:ba;function Ca(e,t,n){var r=t(e);return Me(e)?r:ga(r,n(e))}function Cn(e){return Ca(e,Xt,xa)}var Nt=vt(gt,"DataView"),Wt=vt(gt,"Promise"),Ht=vt(gt,"Set"),Sn="[object Map]",Sa="[object Object]",$n="[object Promise]",Mn="[object Set]",zn="[object WeakMap]",Tn="[object DataView]",$a=Le(Nt),Ma=Le(Lt),za=Le(Wt),Ta=Le(Ht),_a=Le(Ft),we=Yn;(Nt&&we(new Nt(new ArrayBuffer(1)))!=Tn||Lt&&we(new Lt)!=Sn||Wt&&we(Wt.resolve())!=$n||Ht&&we(new Ht)!=Mn||Ft&&we(new Ft)!=zn)&&(we=function(e){var t=Yn(e),n=t==Sa?e.constructor:void 0,r=n?Le(n):"";if(r)switch(r){case $a:return Tn;case Ma:return Sn;case za:return $n;case Ta:return Mn;case _a:return zn}return t});var Pa="__lodash_hash_undefined__";function Aa(e){return this.__data__.set(e,Pa),this}function ka(e){return this.__data__.has(e)}function dt(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Gt;++t<n;)this.add(e[t])}dt.prototype.add=dt.prototype.push=Aa;dt.prototype.has=ka;function Ea(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 Ia(e,t){return e.has(t)}var Oa=1,Ba=2;function dr(e,t,n,r,o,i){var a=n&Oa,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=i.get(e),c=i.get(t);if(u&&c)return u==t&&c==e;var f=-1,p=!0,x=n&Ba?new dt:void 0;for(i.set(e,t),i.set(t,e);++f<s;){var y=e[f],T=t[f];if(r)var S=a?r(T,y,f,t,e,i):r(y,T,f,e,t,i);if(S!==void 0){if(S)continue;p=!1;break}if(x){if(!Ea(t,function(w,$){if(!Ia(x,$)&&(y===w||o(y,w,n,r,i)))return x.push($)})){p=!1;break}}else if(!(y===T||o(y,T,n,r,i))){p=!1;break}}return i.delete(e),i.delete(t),p}function Da(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function Ra(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var La=1,Fa=2,Na="[object Boolean]",Wa="[object Date]",Ha="[object Error]",Va="[object Map]",ja="[object Number]",Ka="[object RegExp]",Ga="[object Set]",Ua="[object String]",Ya="[object Symbol]",Xa="[object ArrayBuffer]",qa="[object DataView]",_n=an?an.prototype:void 0,_t=_n?_n.valueOf:void 0;function Za(e,t,n,r,o,i,a){switch(n){case qa:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Xa:return!(e.byteLength!=t.byteLength||!i(new ln(e),new ln(t)));case Na:case Wa:case ja:return Xo(+e,+t);case Ha:return e.name==t.name&&e.message==t.message;case Ka:case Ua:return e==t+"";case Va:var s=Da;case Ga:var l=r&La;if(s||(s=Ra),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=Fa,a.set(e,t);var c=dr(s(e),s(t),r,o,i,a);return a.delete(e),c;case Ya:if(_t)return _t.call(e)==_t.call(t)}return!1}var Ja=1,Qa=Object.prototype,el=Qa.hasOwnProperty;function tl(e,t,n,r,o,i){var a=n&Ja,s=Cn(e),l=s.length,u=Cn(t),c=u.length;if(l!=c&&!a)return!1;for(var f=l;f--;){var p=s[f];if(!(a?p in t:el.call(t,p)))return!1}var x=i.get(e),y=i.get(t);if(x&&y)return x==t&&y==e;var T=!0;i.set(e,t),i.set(t,e);for(var S=a;++f<l;){p=s[f];var w=e[p],$=t[p];if(r)var B=a?r($,w,p,t,e,i):r(w,$,p,e,t,i);if(!(B===void 0?w===$||o(w,$,n,r,i):B)){T=!1;break}S||(S=p=="constructor")}if(T&&!S){var M=e.constructor,_=t.constructor;M!=_&&"constructor"in e&&"constructor"in t&&!(typeof M=="function"&&M instanceof M&&typeof _=="function"&&_ instanceof _)&&(T=!1)}return i.delete(e),i.delete(t),T}var nl=1,Pn="[object Arguments]",An="[object Array]",rt="[object Object]",rl=Object.prototype,kn=rl.hasOwnProperty;function ol(e,t,n,r,o,i){var a=Me(e),s=Me(t),l=a?An:we(e),u=s?An:we(t);l=l==Pn?rt:l,u=u==Pn?rt:u;var c=l==rt,f=u==rt,p=l==u;if(p&&sn(e)){if(!sn(t))return!1;a=!0,c=!1}if(p&&!c)return i||(i=new it),a||qo(e)?dr(e,t,n,r,o,i):Za(e,t,l,n,r,o,i);if(!(n&nl)){var x=c&&kn.call(e,"__wrapped__"),y=f&&kn.call(t,"__wrapped__");if(x||y){var T=x?e.value():e,S=y?t.value():t;return i||(i=new it),o(T,S,n,r,i)}}return p?(i||(i=new it),tl(e,t,n,r,o,i)):!1}function Jt(e,t,n,r,o){return e===t?!0:e==null||t==null||!un(e)&&!un(t)?e!==e&&t!==t:ol(e,t,n,r,Jt,o)}var il=1,al=2;function ll(e,t,n,r){var o=n.length,i=o;if(e==null)return!i;for(e=Object(e);o--;){var a=n[o];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++o<i;){a=n[o];var s=a[0],l=e[s],u=a[1];if(a[2]){if(l===void 0&&!(s in e))return!1}else{var c=new it,f;if(!(f===void 0?Jt(u,l,il|al,r,c):f))return!1}}return!0}function cr(e){return e===e&&!Zo(e)}function sl(e){for(var t=Xt(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,cr(o)]}return t}function fr(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function ul(e){var t=sl(e);return t.length==1&&t[0][2]?fr(t[0][0],t[0][1]):function(n){return n===e||ll(n,e,t)}}function dl(e,t){return e!=null&&t in Object(e)}function cl(e,t,n){t=sr(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=yt(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&&Jo(o)&&Qo(a,o)&&(Me(e)||ei(e)))}function fl(e,t){return e!=null&&cl(e,t,dl)}var hl=1,pl=2;function vl(e,t){return qt(e)&&cr(t)?fr(yt(e),t):function(n){var r=va(n,e);return r===void 0&&r===t?fl(n,e):Jt(t,r,hl|pl)}}function gl(e){return function(t){return t==null?void 0:t[e]}}function ml(e){return function(t){return ur(t,e)}}function bl(e){return qt(e)?gl(yt(e)):ml(e)}function yl(e){return typeof e=="function"?e:e==null?ti:typeof e=="object"?Me(e)?vl(e[0],e[1]):ul(e):bl(e)}function wl(e,t){return e&&ni(e,t,Xt)}function xl(e,t){return function(n,r){if(n==null)return n;if(!Kt(n))return e(n,r);for(var o=n.length,i=-1,a=Object(n);++i<o&&r(a[i],i,a)!==!1;);return n}}var Cl=xl(wl);function Sl(e,t){var n=-1,r=Kt(e)?Array(e.length):[];return Cl(e,function(o,i,a){r[++n]=t(o,i,a)}),r}function $l(e,t){var n=Me(e)?ri:Sl;return n(e,yl(t))}const Ml={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},zl={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Tl=(e,t,n)=>{let r;const o=zl[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},_l={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Pl=(e,t,n,r)=>_l[e],Al={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},kl={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},El={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Il={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ol={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Bl={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Dl=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Rl={ordinalNumber:Dl,era:Ve({values:Al,defaultWidth:"wide"}),quarter:Ve({values:kl,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ve({values:El,defaultWidth:"wide"}),day:Ve({values:Il,defaultWidth:"wide"}),dayPeriod:Ve({values:Ol,defaultWidth:"wide",formattingValues:Bl,defaultFormattingWidth:"wide"})},Ll=/^(\d+)(th|st|nd|rd)?/i,Fl=/\d+/i,Nl={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Wl={any:[/^b/i,/^(a|c)/i]},Hl={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Vl={any:[/1/i,/2/i,/3/i,/4/i]},jl={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Kl={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Gl={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Ul={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Yl={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Xl={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},ql={ordinalNumber:oi({matchPattern:Ll,parsePattern:Fl,valueCallback:e=>parseInt(e,10)}),era:je({matchPatterns:Nl,defaultMatchWidth:"wide",parsePatterns:Wl,defaultParseWidth:"any"}),quarter:je({matchPatterns:Hl,defaultMatchWidth:"wide",parsePatterns:Vl,defaultParseWidth:"any",valueCallback:e=>e+1}),month:je({matchPatterns:jl,defaultMatchWidth:"wide",parsePatterns:Kl,defaultParseWidth:"any"}),day:je({matchPatterns:Gl,defaultMatchWidth:"wide",parsePatterns:Ul,defaultParseWidth:"any"}),dayPeriod:je({matchPatterns:Yl,defaultMatchWidth:"any",parsePatterns:Xl,defaultParseWidth:"any"})},Zl={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Jl={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ql={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},es={date:St({formats:Zl,defaultWidth:"full"}),time:St({formats:Jl,defaultWidth:"full"}),dateTime:St({formats:Ql,defaultWidth:"full"})},ts={code:"en-US",formatDistance:Tl,formatLong:es,formatRelative:Pl,localize:Rl,match:ql,options:{weekStartsOn:0,firstWeekContainsDate:1}},ns={name:"en-US",locale:ts};function hr(e){const{mergedLocaleRef:t,mergedDateLocaleRef:n}=de(ii,null)||{},r=K(()=>{var i,a;return(a=(i=t==null?void 0:t.value)===null||i===void 0?void 0:i[e])!==null&&a!==void 0?a:Ml[e]});return{dateLocaleRef:K(()=>{var i;return(i=n==null?void 0:n.value)!==null&&i!==void 0?i:ns}),localeRef:r}}const Ru=ee({name:"ChevronRight",render(){return g("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("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"}))}}),rs=ee({name:"Eye",render(){return g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},g("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),g("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),os=ee({name:"EyeOff",render(){return g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},g("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),g("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),g("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),g("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),g("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),is=ee({name:"Empty",render(){return g("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("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"}),g("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"}))}}),as=ee({name:"ChevronDown",render(){return g("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),ls=ai("clear",g("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},g("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},g("g",{fill:"currentColor","fill-rule":"nonzero"},g("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"})))));function En(e){return Array.isArray(e)?e:[e]}const Vt={STOP:"STOP"};function pr(e,t){const n=t(e);e.children!==void 0&&n!==Vt.STOP&&e.children.forEach(r=>pr(r,t))}function ss(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 us(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function ds(e){return e.children}function cs(e){return e.key}function fs(){return!1}function hs(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function ps(e){return e.disabled===!0}function vs(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function Pt(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function At(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function gs(e,t){const n=new Set(e);return t.forEach(r=>{n.has(r)||n.add(r)}),Array.from(n)}function ms(e,t){const n=new Set(e);return t.forEach(r=>{n.has(r)&&n.delete(r)}),Array.from(n)}function bs(e){return(e==null?void 0:e.type)==="group"}function Lu(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 ys extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function ws(e,t,n,r){return ct(t.concat(e),n,r,!1)}function xs(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 Cs(e,t,n,r){const o=ct(t,n,r,!1),i=ct(e,n,r,!0),a=xs(e,n),s=[];return o.forEach(l=>{(i.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>o.delete(l)),o}function kt(e,t){const{checkedKeys:n,keysToCheck:r,keysToUncheck:o,indeterminateKeys:i,cascade:a,leafOnly:s,checkStrategy:l,allowNotLoaded:u}=e;if(!a)return r!==void 0?{checkedKeys:gs(n,r),indeterminateKeys:Array.from(i)}:o!==void 0?{checkedKeys:ms(n,o),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:c}=t;let f;o!==void 0?f=Cs(o,n,t,u):r!==void 0?f=ws(r,n,t,u):f=ct(n,t,u,!1);const p=l==="parent",x=l==="child"||s,y=f,T=new Set,S=Math.max.apply(null,Array.from(c.keys()));for(let w=S;w>=0;w-=1){const $=w===0,B=c.get(w);for(const M of B){if(M.isLeaf)continue;const{key:_,shallowLoaded:D}=M;if(x&&D&&M.children.forEach(P=>{!P.disabled&&!P.isLeaf&&P.shallowLoaded&&y.has(P.key)&&y.delete(P.key)}),M.disabled||!D)continue;let I=!0,W=!1,N=!0;for(const P of M.children){const R=P.key;if(!P.disabled){if(N&&(N=!1),y.has(R))W=!0;else if(T.has(R)){W=!0,I=!1;break}else if(I=!1,W)break}}I&&!N?(p&&M.children.forEach(P=>{!P.disabled&&y.has(P.key)&&y.delete(P.key)}),y.add(_)):W&&T.add(_),$&&x&&y.has(_)&&y.delete(_)}}return{checkedKeys:Array.from(y),indeterminateKeys:Array.from(T)}}function ct(e,t,n,r){const{treeNodeMap:o,getChildren:i}=t,a=new Set,s=new Set(e);return e.forEach(l=>{const u=o.get(l);u!==void 0&&pr(u,c=>{if(c.disabled)return Vt.STOP;const{key:f}=c;if(!a.has(f)&&(a.add(f),s.add(f),vs(c.rawNode,i))){if(r)return Vt.STOP;if(!n)throw new ys}})}),s}function Ss(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 $s(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function Ms(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 In(e,t,{loop:n=!1,includeDisabled:r=!1}={}){const o=t==="prev"?zs:Ms,i={reverse:t==="prev"};let a=!1,s=null;function l(u){if(u!==null){if(u===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){s=e;return}}else if((!u.disabled||r)&&!u.ignored&&!u.isGroup){s=u;return}if(u.isGroup){const c=Qt(u,i);c!==null?s=c:l(o(u,n))}else{const c=o(u,!1);if(c!==null)l(c);else{const f=Ts(u);f!=null&&f.isGroup?l(o(f,n)):n&&l(o(u,!0))}}}}return l(e),s}function zs(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 Ts(e){return e.parent}function Qt(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 u=r[l];if(!u.disabled&&!u.ignored)if(u.isGroup){const c=Qt(u,t);if(c!==null)return c}else return u}}return null}const _s={getChild(){return this.ignored?null:Qt(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return In(this,"next",e)},getPrev(e={}){return In(this,"prev",e)}};function Ps(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 As(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function vr(e,t,n,r,o,i=null,a=0){const s=[];return e.forEach((l,u)=>{var c;const f=Object.create(r);if(f.rawNode=l,f.siblings=s,f.level=a,f.index=u,f.isFirstChild=u===0,f.isLastChild=u+1===e.length,f.parent=i,!f.ignored){const p=o(l);Array.isArray(p)&&(f.children=vr(p,t,n,r,o,f,a+1))}s.push(f),t.set(f.key,f),n.has(a)||n.set(a,[]),(c=n.get(a))===null||c===void 0||c.push(f)}),s}function Fu(e,t={}){var n;const r=new Map,o=new Map,{getDisabled:i=ps,getIgnored:a=fs,getIsGroup:s=bs,getKey:l=cs}=t,u=(n=t.getChildren)!==null&&n!==void 0?n:ds,c=t.ignoreEmptyChildren?M=>{const _=u(M);return Array.isArray(_)?_.length?_:null:_}:u,f=Object.assign({get key(){return l(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return s(this.rawNode)},get isLeaf(){return us(this.rawNode,c)},get shallowLoaded(){return hs(this.rawNode,c)},get ignored(){return a(this.rawNode)},contains(M){return As(this,M)}},_s),p=vr(e,r,o,f,c);function x(M){if(M==null)return null;const _=r.get(M);return _&&!_.isGroup&&!_.ignored?_:null}function y(M){if(M==null)return null;const _=r.get(M);return _&&!_.ignored?_:null}function T(M,_){const D=y(M);return D?D.getPrev(_):null}function S(M,_){const D=y(M);return D?D.getNext(_):null}function w(M){const _=y(M);return _?_.getParent():null}function $(M){const _=y(M);return _?_.getChild():null}const B={treeNodes:p,treeNodeMap:r,levelTreeNodeMap:o,maxLevel:Math.max(...o.keys()),getChildren:c,getFlattenedNodes(M){return Ps(p,M)},getNode:x,getPrev:T,getNext:S,getParent:w,getChild:$,getFirstAvailableNode(){return $s(p)},getPath(M,_={}){return Ss(M,_,B)},getCheckedKeys(M,_={}){const{cascade:D=!0,leafOnly:I=!1,checkStrategy:W="all",allowNotLoaded:N=!1}=_;return kt({checkedKeys:Pt(M),indeterminateKeys:At(M),cascade:D,leafOnly:I,checkStrategy:W,allowNotLoaded:N},B)},check(M,_,D={}){const{cascade:I=!0,leafOnly:W=!1,checkStrategy:N="all",allowNotLoaded:P=!1}=D;return kt({checkedKeys:Pt(_),indeterminateKeys:At(_),keysToCheck:M==null?[]:En(M),cascade:I,leafOnly:W,checkStrategy:N,allowNotLoaded:P},B)},uncheck(M,_,D={}){const{cascade:I=!0,leafOnly:W=!1,checkStrategy:N="all",allowNotLoaded:P=!1}=D;return kt({checkedKeys:Pt(_),indeterminateKeys:At(_),keysToUncheck:M==null?[]:En(M),cascade:I,leafOnly:W,checkStrategy:N,allowNotLoaded:P},B)},getNonLeafKeys(M={}){return ss(p,M)}};return B}const ks={iconSizeTiny:"28px",iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"};function Es(e){const{textColorDisabled:t,iconColor:n,textColor2:r,fontSizeTiny:o,fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:s,fontSizeHuge:l}=e;return Object.assign(Object.assign({},ks),{fontSizeTiny:o,fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:s,fontSizeHuge:l,textColor:t,iconColor:n,extraTextColor:r})}const Is={name:"Empty",common:Ee,self:Es},Os=F("empty",`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -624,5 +624,5 @@ import{B as Xe,b2 as qe,bu as No,m as K,a3 as ft,aa as de,bm as Fn,bn as Nn,bk a
624
624
  position: relative;
625
625
  fill: currentColor;
626
626
  transform: translateZ(0);
627
- `,[G("color-transition",{transition:"color .3s var(--n-bezier)"}),G("depth",{color:"var(--n-color)"},[V("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),V("svg",{height:"1em",width:"1em"})]),Su=Object.assign(Object.assign({},oe.props),{depth:[String,Number],size:[Number,String],color:String,component:[Object,Function]}),Gu=ee({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:Su,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=he(e),r=oe("Icon","-icon",Cu,xu,e,t),o=K(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:s},self:l}=r.value;if(a!==void 0){const{color:u,[`opacity${a}Depth`]:c}=l;return{"--n-bezier":s,"--n-color":u,"--n-opacity":c}}return{"--n-bezier":s,"--n-color":"","--n-opacity":""}}),i=n?Fe("icon",K(()=>`${e.depth||"d"}`),o,e):void 0;return{mergedClsPrefix:t,mergedStyle:K(()=>{const{size:a,color:s}=e;return{fontSize:at(a),color:s}}),cssVars:n?void 0:o,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:t,depth:n,mergedClsPrefix:r,component:o,onRender:i,themeClass:a}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&$i("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),g("i",pt(this.$attrs,{role:"img",class:[`${r}-icon`,a,{[`${r}-icon--depth`]:n,[`${r}-icon--color-transition`]:n!==void 0}],style:[this.cssVars,this.mergedStyle]}),o?g(o):this.$slots)}}),$u={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"};function Mu(){return $u}const zu={name:"Space",self:Mu};let It;function Tu(){if(!Mi)return!0;if(It===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),It=t}return It}const _u=Object.assign(Object.assign({},oe.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}}),Uu=ee({name:"Space",props:_u,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=he(e),r=oe("Space","-space",void 0,zu,e,t),o=bt("Space",n,t);return{useGap:Tu(),rtlEnabled:o,mergedClsPrefix:t,margin:K(()=>{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:{[fe("gap",i)]:a}}=r.value,{row:s,col:l}=zi(a);return{horizontal:lt(l),vertical:lt(s)}})}},render(){const{vertical:e,reverse:t,align:n,inline:r,justify:o,itemClass:i,itemStyle:a,margin:s,wrap:l,mergedClsPrefix:u,rtlEnabled:c,useGap:f,wrapItem:p,internalUseGap:x}=this,y=Zn(tr(this),!1);if(!y.length)return null;const T=`${s.horizontal}px`,S=`${s.horizontal/2}px`,w=`${s.vertical}px`,$=`${s.vertical/2}px`,B=y.length-1,M=o.startsWith("space-");return g("div",{role:"none",class:[`${u}-space`,c&&`${u}-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?"":`-${$}`,marginBottom:f||e?"":`-${$}`,alignItems:n,gap:f?`${s.vertical}px ${s.horizontal}px`:""}},!p&&(f||x)?y:y.map((_,D)=>_.type===Ti?_:g("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},f?"":e?{marginBottom:D!==B?w:""}:c?{marginLeft:M?o==="space-between"&&D===B?"":S:D!==B?T:"",marginRight:M?o==="space-between"&&D===0?"":S:"",paddingTop:$,paddingBottom:$}:{marginRight:M?o==="space-between"&&D===B?"":S:D!==B?T:"",marginLeft:M?o==="space-between"&&D===0?"":S:"",paddingTop:$,paddingBottom:$}]},_)))}}),Yu=(e,t=0,n)=>{let r=!1;const o=_i((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=>{}),await Jn(t),o.value=!1)}}},Xu=(e,t=(...o)=>o.join(""),n=0,r)=>{const o=Pi({}),i=Ai(o);return{loading:o,invoke:async(...s)=>{const l=String(t(...s));i[l]||(o[l]=!0,await e(...s).catch(u=>{console.error(u)}),await Jn(n),delete o[l])}}},qu=e=>(e.forEach(t=>{var n,r,o,i,a,s,l,u,c,f,p,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=((u=(l=(s=t.parent)==null?void 0:s.attr)==null?void 0:l.depth)!=null?u:-1)+1,(f=(c=t.attr)._id)!=null||(c._id=t.id),(x=(p=t.attr)._pid)!=null||(p._pid=t.pid)}),e[0]),Pu=(e,t)=>{const n=e.attr,{x:r,y:o}=t;return n.left<=r&&r<=n.right&&n.top<=o&&o<=n.bottom},Rn=(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,Au=(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,Ot=(e,t)=>{let n=t.parent;for(;;){if(n===e)return!0;if(n=n==null?void 0:n.parent,!n)break}return!1},Zu=(e,t)=>{var r;if(!e||!t)return[];let n=[];for(const o of e)((r=o==null?void 0:o.attr)==null?void 0:r.left)!==void 0&&Pu(o,t)&&n.push(o);return n.length<=1||(n=n.filter(o=>!n.some(i=>Ot(o,i)&&Rn(o,i))),n.length<=1)||(n=n.filter(o=>!n.some(i=>o!=i&&(Ot(o,i)||Ot(o.parent,i))&&Rn(o,i)&&!Au(o,i))),n.sort((o,i)=>Ln(o)-Ln(i))),n},Ln=e=>{var r,o;const t=(r=e.attr.width)!=null?r:e.attr.right-e.attr.left,n=(o=e.attr.height)!=null?o:e.attr.bottom-e.attr.top;return t*n},Sr=e=>{const t=e.attr.childCount;return(e.attr.name||"🐔"+(t>1?"":` [${t}]`)).split(".").at(-1)},$r=e=>e.attr.text||e.attr.desc||e.attr.vid||e.attr.id,Bt=Symbol("labelKey"),Ju=e=>{if(Reflect.has(e,Bt))return Reflect.get(e,Bt);let t=Sr(e);const n=e.children.length;n>1&&(t=`${t} [${n}]`);const r=$r(e);return r&&(t=`${t} : ${r}`),Reflect.set(e,Bt,t),t},Qu=(e,t=15)=>{let n=Sr(e);const r=e.children.length;r>1&&(n=`${n} [${r}]`);const o=$r(e);return o?o.length>t?`${n} : ${o.slice(0,t)}...`:`${n} : ${o}`:n},ku=e=>typeof e.device=="object"&&e.device?e.device:e,ed=e=>e.appInfo||{id:e.appId,name:e.appName,versionCode:e.appVersionCode,versionName:e.appVersionName,hidden:!1,isSystem:!1,mtime:Date.now()},td=e=>{const t=ku(e);return e.gkdAppInfo||{id:"li.songe.gkd",name:"GKD",versionCode:t.gkdVersionCode,versionName:t.gkdVersionName,hidden:!1,isSystem:!1,mtime:Date.now()}},nd=e=>!!(e&&typeof e=="object"&&typeof e.id=="number"&&e.attr);var Mr={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ki,function(){var n=1e3,r=6e4,o=36e5,i="millisecond",a="second",s="minute",l="hour",u="day",c="week",f="month",p="quarter",x="year",y="date",T="Invalid Date",S=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|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,$={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(b){var h=["th","st","nd","rd"],v=b%100;return"["+b+(h[(v-20)%10]||h[v]||h[0])+"]"}},B=function(b,h,v){var z=String(b);return!z||z.length>=h?b:""+Array(h+1-z.length).join(v)+b},M={s:B,z:function(b){var h=-b.utcOffset(),v=Math.abs(h),z=Math.floor(v/60),C=v%60;return(h<=0?"+":"-")+B(z,2,"0")+":"+B(C,2,"0")},m:function b(h,v){if(h.date()<v.date())return-b(v,h);var z=12*(v.year()-h.year())+(v.month()-h.month()),C=h.clone().add(z,f),k=v-C<0,E=h.clone().add(z+(k?-1:1),f);return+(-(z+(v-C)/(k?C-E:E-C))||0)},a:function(b){return b<0?Math.ceil(b)||0:Math.floor(b)},p:function(b){return{M:f,y:x,w:c,d:u,D:y,h:l,m:s,s:a,ms:i,Q:p}[b]||String(b||"").toLowerCase().replace(/s$/,"")},u:function(b){return b===void 0}},_="en",D={};D[_]=$;var I="$isDayjsObject",W=function(b){return b instanceof J||!(!b||!b[I])},N=function b(h,v,z){var C;if(!h)return _;if(typeof h=="string"){var k=h.toLowerCase();D[k]&&(C=k),v&&(D[k]=v,C=k);var E=h.split("-");if(!C&&E.length>1)return b(E[0])}else{var j=h.name;D[j]=h,C=j}return!z&&C&&(_=C),C||!z&&_},P=function(b,h){if(W(b))return b.clone();var v=typeof h=="object"?h:{};return v.date=b,v.args=arguments,new J(v)},R=M;R.l=N,R.i=W,R.w=function(b,h){return P(b,{locale:h.$L,utc:h.$u,x:h.$x,$offset:h.$offset})};var J=function(){function b(v){this.$L=N(v.locale,null,!0),this.parse(v),this.$x=this.$x||v.x||{},this[I]=!0}var h=b.prototype;return h.parse=function(v){this.$d=function(z){var C=z.date,k=z.utc;if(C===null)return new Date(NaN);if(R.u(C))return new Date;if(C instanceof Date)return new Date(C);if(typeof C=="string"&&!/Z$/i.test(C)){var E=C.match(S);if(E){var j=E[2]-1||0,Y=(E[7]||"0").substring(0,3);return k?new Date(Date.UTC(E[1],j,E[3]||1,E[4]||0,E[5]||0,E[6]||0,Y)):new Date(E[1],j,E[3]||1,E[4]||0,E[5]||0,E[6]||0,Y)}}return new Date(C)}(v),this.init()},h.init=function(){var v=this.$d;this.$y=v.getFullYear(),this.$M=v.getMonth(),this.$D=v.getDate(),this.$W=v.getDay(),this.$H=v.getHours(),this.$m=v.getMinutes(),this.$s=v.getSeconds(),this.$ms=v.getMilliseconds()},h.$utils=function(){return R},h.isValid=function(){return this.$d.toString()!==T},h.isSame=function(v,z){var C=P(v);return this.startOf(z)<=C&&C<=this.endOf(z)},h.isAfter=function(v,z){return P(v)<this.startOf(z)},h.isBefore=function(v,z){return this.endOf(z)<P(v)},h.$g=function(v,z,C){return R.u(v)?this[z]:this.set(C,v)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(v,z){var C=this,k=!!R.u(z)||z,E=R.p(v),j=function(ve,ie){var ce=R.w(C.$u?Date.UTC(C.$y,ie,ve):new Date(C.$y,ie,ve),C);return k?ce:ce.endOf(u)},Y=function(ve,ie){return R.w(C.toDate()[ve].apply(C.toDate("s"),(k?[0,0,0,0]:[23,59,59,999]).slice(ie)),C)},q=this.$W,U=this.$M,ne=this.$D,be="set"+(this.$u?"UTC":"");switch(E){case x:return k?j(1,0):j(31,11);case f:return k?j(1,U):j(0,U+1);case c:var pe=this.$locale().weekStart||0,ze=(q<pe?q+7:q)-pe;return j(k?ne-ze:ne+(6-ze),U);case u:case y:return Y(be+"Hours",0);case l:return Y(be+"Minutes",1);case s:return Y(be+"Seconds",2);case a:return Y(be+"Milliseconds",3);default:return this.clone()}},h.endOf=function(v){return this.startOf(v,!1)},h.$set=function(v,z){var C,k=R.p(v),E="set"+(this.$u?"UTC":""),j=(C={},C[u]=E+"Date",C[y]=E+"Date",C[f]=E+"Month",C[x]=E+"FullYear",C[l]=E+"Hours",C[s]=E+"Minutes",C[a]=E+"Seconds",C[i]=E+"Milliseconds",C)[k],Y=k===u?this.$D+(z-this.$W):z;if(k===f||k===x){var q=this.clone().set(y,1);q.$d[j](Y),q.init(),this.$d=q.set(y,Math.min(this.$D,q.daysInMonth())).$d}else j&&this.$d[j](Y);return this.init(),this},h.set=function(v,z){return this.clone().$set(v,z)},h.get=function(v){return this[R.p(v)]()},h.add=function(v,z){var C,k=this;v=Number(v);var E=R.p(z),j=function(U){var ne=P(k);return R.w(ne.date(ne.date()+Math.round(U*v)),k)};if(E===f)return this.set(f,this.$M+v);if(E===x)return this.set(x,this.$y+v);if(E===u)return j(1);if(E===c)return j(7);var Y=(C={},C[s]=r,C[l]=o,C[a]=n,C)[E]||1,q=this.$d.getTime()+v*Y;return R.w(q,this)},h.subtract=function(v,z){return this.add(-1*v,z)},h.format=function(v){var z=this,C=this.$locale();if(!this.isValid())return C.invalidDate||T;var k=v||"YYYY-MM-DDTHH:mm:ssZ",E=R.z(this),j=this.$H,Y=this.$m,q=this.$M,U=C.weekdays,ne=C.months,be=C.meridiem,pe=function(ie,ce,Te,Ie){return ie&&(ie[ce]||ie(z,k))||Te[ce].slice(0,Ie)},ze=function(ie){return R.s(j%12||12,ie,"0")},ve=be||function(ie,ce,Te){var Ie=ie<12?"AM":"PM";return Te?Ie.toLowerCase():Ie};return k.replace(w,function(ie,ce){return ce||function(Te){switch(Te){case"YY":return String(z.$y).slice(-2);case"YYYY":return R.s(z.$y,4,"0");case"M":return q+1;case"MM":return R.s(q+1,2,"0");case"MMM":return pe(C.monthsShort,q,ne,3);case"MMMM":return pe(ne,q);case"D":return z.$D;case"DD":return R.s(z.$D,2,"0");case"d":return String(z.$W);case"dd":return pe(C.weekdaysMin,z.$W,U,2);case"ddd":return pe(C.weekdaysShort,z.$W,U,3);case"dddd":return U[z.$W];case"H":return String(j);case"HH":return R.s(j,2,"0");case"h":return ze(1);case"hh":return ze(2);case"a":return ve(j,Y,!0);case"A":return ve(j,Y,!1);case"m":return String(Y);case"mm":return R.s(Y,2,"0");case"s":return String(z.$s);case"ss":return R.s(z.$s,2,"0");case"SSS":return R.s(z.$ms,3,"0");case"Z":return E}return null}(ie)||E.replace(":","")})},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(v,z,C){var k,E=this,j=R.p(z),Y=P(v),q=(Y.utcOffset()-this.utcOffset())*r,U=this-Y,ne=function(){return R.m(E,Y)};switch(j){case x:k=ne()/12;break;case f:k=ne();break;case p:k=ne()/3;break;case c:k=(U-q)/6048e5;break;case u:k=(U-q)/864e5;break;case l:k=U/o;break;case s:k=U/r;break;case a:k=U/n;break;default:k=U}return C?k:R.a(k)},h.daysInMonth=function(){return this.endOf(f).$D},h.$locale=function(){return D[this.$L]},h.locale=function(v,z){if(!v)return this.$L;var C=this.clone(),k=N(v,z,!0);return k&&(C.$L=k),C},h.clone=function(){return R.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},b}(),A=J.prototype;return P.prototype=A,[["$ms",i],["$s",a],["$m",s],["$H",l],["$W",u],["$M",f],["$y",x],["$D",y]].forEach(function(b){A[b[1]]=function(h){return this.$g(h,b[0],b[1])}}),P.extend=function(b,h){return b.$i||(b(h,J,P),b.$i=!0),P},P.locale=N,P.isDayjs=W,P.unix=function(b){return P(1e3*b)},P.en=D[_],P.Ls=D,P.p={},P})})(Mr);var Eu=Mr.exports;const rd=Ei(Eu);export{ir as A,ke as B,Ru as C,Bu as D,Fi as E,Us as F,Li as G,Re as H,Hi as I,Vi as J,Ji as K,qs as L,xr as M,Gu as N,au as O,fu as P,cu as Q,Bn as R,Dn as S,at as T,Fs as U,Du as V,as as W,va as X,er as Y,Qu as Z,Wu as _,Hu as a,Uu as b,Ks as c,Fu as d,Is as e,Lu as f,ed as g,Ou as h,Ps as i,Nu as j,Zu as k,qu as l,du as m,Vu as n,Ju as o,nd as p,ju as q,Ku as r,rd as s,ku as t,Yu as u,td as v,gr as w,hr as x,br as y,Xu as z};
628
- //# sourceMappingURL=dayjs.min-BJHF8Mj1.js.map
627
+ `,[G("color-transition",{transition:"color .3s var(--n-bezier)"}),G("depth",{color:"var(--n-color)"},[V("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),V("svg",{height:"1em",width:"1em"})]),Su=Object.assign(Object.assign({},oe.props),{depth:[String,Number],size:[Number,String],color:String,component:[Object,Function]}),Gu=ee({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:Su,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=he(e),r=oe("Icon","-icon",Cu,xu,e,t),o=K(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:s},self:l}=r.value;if(a!==void 0){const{color:u,[`opacity${a}Depth`]:c}=l;return{"--n-bezier":s,"--n-color":u,"--n-opacity":c}}return{"--n-bezier":s,"--n-color":"","--n-opacity":""}}),i=n?Fe("icon",K(()=>`${e.depth||"d"}`),o,e):void 0;return{mergedClsPrefix:t,mergedStyle:K(()=>{const{size:a,color:s}=e;return{fontSize:at(a),color:s}}),cssVars:n?void 0:o,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:t,depth:n,mergedClsPrefix:r,component:o,onRender:i,themeClass:a}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&$i("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),g("i",pt(this.$attrs,{role:"img",class:[`${r}-icon`,a,{[`${r}-icon--depth`]:n,[`${r}-icon--color-transition`]:n!==void 0}],style:[this.cssVars,this.mergedStyle]}),o?g(o):this.$slots)}}),$u={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"};function Mu(){return $u}const zu={name:"Space",self:Mu};let It;function Tu(){if(!Mi)return!0;if(It===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),It=t}return It}const _u=Object.assign(Object.assign({},oe.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}}),Uu=ee({name:"Space",props:_u,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=he(e),r=oe("Space","-space",void 0,zu,e,t),o=bt("Space",n,t);return{useGap:Tu(),rtlEnabled:o,mergedClsPrefix:t,margin:K(()=>{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:{[fe("gap",i)]:a}}=r.value,{row:s,col:l}=zi(a);return{horizontal:lt(l),vertical:lt(s)}})}},render(){const{vertical:e,reverse:t,align:n,inline:r,justify:o,itemClass:i,itemStyle:a,margin:s,wrap:l,mergedClsPrefix:u,rtlEnabled:c,useGap:f,wrapItem:p,internalUseGap:x}=this,y=Zn(tr(this),!1);if(!y.length)return null;const T=`${s.horizontal}px`,S=`${s.horizontal/2}px`,w=`${s.vertical}px`,$=`${s.vertical/2}px`,B=y.length-1,M=o.startsWith("space-");return g("div",{role:"none",class:[`${u}-space`,c&&`${u}-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?"":`-${$}`,marginBottom:f||e?"":`-${$}`,alignItems:n,gap:f?`${s.vertical}px ${s.horizontal}px`:""}},!p&&(f||x)?y:y.map((_,D)=>_.type===Ti?_:g("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},f?"":e?{marginBottom:D!==B?w:""}:c?{marginLeft:M?o==="space-between"&&D===B?"":S:D!==B?T:"",marginRight:M?o==="space-between"&&D===0?"":S:"",paddingTop:$,paddingBottom:$}:{marginRight:M?o==="space-between"&&D===B?"":S:D!==B?T:"",marginLeft:M?o==="space-between"&&D===0?"":S:"",paddingTop:$,paddingBottom:$}]},_)))}}),Yu=(e,t=0,n)=>{let r=!1;const o=_i((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=>{}),await Jn(t),o.value=!1)}}},Xu=(e,t=(...o)=>o.join(""),n=0,r)=>{const o=Pi({}),i=Ai(o);return{loading:o,invoke:async(...s)=>{const l=String(t(...s));i[l]||(o[l]=!0,await e(...s).catch(u=>{console.error(u)}),await Jn(n),delete o[l])}}},qu=e=>(e.forEach(t=>{var n,r,o,i,a,s,l,u,c,f,p,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=((u=(l=(s=t.parent)==null?void 0:s.attr)==null?void 0:l.depth)!=null?u:-1)+1,(f=(c=t.attr)._id)!=null||(c._id=t.id),(x=(p=t.attr)._pid)!=null||(p._pid=t.pid)}),e[0]),Pu=(e,t)=>{const n=e.attr,{x:r,y:o}=t;return n.left<=r&&r<=n.right&&n.top<=o&&o<=n.bottom},Rn=(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,Au=(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,Ot=(e,t)=>{let n=t.parent;for(;;){if(n===e)return!0;if(n=n==null?void 0:n.parent,!n)break}return!1},Zu=(e,t)=>{var r;if(!e||!t)return[];let n=[];for(const o of e)((r=o==null?void 0:o.attr)==null?void 0:r.left)!==void 0&&Pu(o,t)&&n.push(o);return n.length<=1||(n=n.filter(o=>!n.some(i=>Ot(o,i)&&Rn(o,i))),n.length<=1)||(n=n.filter(o=>!n.some(i=>o!=i&&(Ot(o,i)||Ot(o.parent,i))&&Rn(o,i)&&!Au(o,i))),n.sort((o,i)=>Ln(o)-Ln(i))),n},Ln=e=>{var r,o;const t=(r=e.attr.width)!=null?r:e.attr.right-e.attr.left,n=(o=e.attr.height)!=null?o:e.attr.bottom-e.attr.top;return t*n},Sr=e=>{const t=e.attr.childCount;return(e.attr.name||"🐔"+(t>1?"":` [${t}]`)).split(".").at(-1)},$r=e=>e.attr.text||e.attr.desc||e.attr.vid||e.attr.id,Bt=Symbol("labelKey"),Ju=e=>{if(Reflect.has(e,Bt))return Reflect.get(e,Bt);let t=Sr(e);const n=e.children.length;n>1&&(t=`${t} [${n}]`);const r=$r(e);return r&&(t=`${t} : ${r}`),Reflect.set(e,Bt,t),t},Qu=(e,t=15)=>{let n=Sr(e);const r=e.children.length;r>1&&(n=`${n} [${r}]`);const o=$r(e);return o?o.length>t?`${n} : ${o.slice(0,t)}...`:`${n} : ${o}`:n},ku=e=>typeof e.device=="object"&&e.device?e.device:e,ed=e=>e.appInfo||{id:e.appId,name:e.appName,versionCode:e.appVersionCode,versionName:e.appVersionName,hidden:!1,isSystem:!1,mtime:Date.now()},td=e=>{const t=ku(e);return e.gkdAppInfo||{id:"li.songe.gkd",name:"GKD",versionCode:t.gkdVersionCode,versionName:t.gkdVersionName,hidden:!1,isSystem:!1,mtime:Date.now()}},nd=e=>!!(e&&typeof e=="object"&&typeof e.id=="number"&&e.attr),rd=(e,t)=>{const r=!!(e.idQf||e.textQf||e.quickFind)?"bold":void 0,o=e.id===(t==null?void 0:t.id)?"#00F":void 0;return{fontWeight:r,color:o}};var Mr={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ki,function(){var n=1e3,r=6e4,o=36e5,i="millisecond",a="second",s="minute",l="hour",u="day",c="week",f="month",p="quarter",x="year",y="date",T="Invalid Date",S=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|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,$={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(b){var h=["th","st","nd","rd"],v=b%100;return"["+b+(h[(v-20)%10]||h[v]||h[0])+"]"}},B=function(b,h,v){var z=String(b);return!z||z.length>=h?b:""+Array(h+1-z.length).join(v)+b},M={s:B,z:function(b){var h=-b.utcOffset(),v=Math.abs(h),z=Math.floor(v/60),C=v%60;return(h<=0?"+":"-")+B(z,2,"0")+":"+B(C,2,"0")},m:function b(h,v){if(h.date()<v.date())return-b(v,h);var z=12*(v.year()-h.year())+(v.month()-h.month()),C=h.clone().add(z,f),k=v-C<0,E=h.clone().add(z+(k?-1:1),f);return+(-(z+(v-C)/(k?C-E:E-C))||0)},a:function(b){return b<0?Math.ceil(b)||0:Math.floor(b)},p:function(b){return{M:f,y:x,w:c,d:u,D:y,h:l,m:s,s:a,ms:i,Q:p}[b]||String(b||"").toLowerCase().replace(/s$/,"")},u:function(b){return b===void 0}},_="en",D={};D[_]=$;var I="$isDayjsObject",W=function(b){return b instanceof J||!(!b||!b[I])},N=function b(h,v,z){var C;if(!h)return _;if(typeof h=="string"){var k=h.toLowerCase();D[k]&&(C=k),v&&(D[k]=v,C=k);var E=h.split("-");if(!C&&E.length>1)return b(E[0])}else{var j=h.name;D[j]=h,C=j}return!z&&C&&(_=C),C||!z&&_},P=function(b,h){if(W(b))return b.clone();var v=typeof h=="object"?h:{};return v.date=b,v.args=arguments,new J(v)},R=M;R.l=N,R.i=W,R.w=function(b,h){return P(b,{locale:h.$L,utc:h.$u,x:h.$x,$offset:h.$offset})};var J=function(){function b(v){this.$L=N(v.locale,null,!0),this.parse(v),this.$x=this.$x||v.x||{},this[I]=!0}var h=b.prototype;return h.parse=function(v){this.$d=function(z){var C=z.date,k=z.utc;if(C===null)return new Date(NaN);if(R.u(C))return new Date;if(C instanceof Date)return new Date(C);if(typeof C=="string"&&!/Z$/i.test(C)){var E=C.match(S);if(E){var j=E[2]-1||0,Y=(E[7]||"0").substring(0,3);return k?new Date(Date.UTC(E[1],j,E[3]||1,E[4]||0,E[5]||0,E[6]||0,Y)):new Date(E[1],j,E[3]||1,E[4]||0,E[5]||0,E[6]||0,Y)}}return new Date(C)}(v),this.init()},h.init=function(){var v=this.$d;this.$y=v.getFullYear(),this.$M=v.getMonth(),this.$D=v.getDate(),this.$W=v.getDay(),this.$H=v.getHours(),this.$m=v.getMinutes(),this.$s=v.getSeconds(),this.$ms=v.getMilliseconds()},h.$utils=function(){return R},h.isValid=function(){return this.$d.toString()!==T},h.isSame=function(v,z){var C=P(v);return this.startOf(z)<=C&&C<=this.endOf(z)},h.isAfter=function(v,z){return P(v)<this.startOf(z)},h.isBefore=function(v,z){return this.endOf(z)<P(v)},h.$g=function(v,z,C){return R.u(v)?this[z]:this.set(C,v)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(v,z){var C=this,k=!!R.u(z)||z,E=R.p(v),j=function(ve,ie){var ce=R.w(C.$u?Date.UTC(C.$y,ie,ve):new Date(C.$y,ie,ve),C);return k?ce:ce.endOf(u)},Y=function(ve,ie){return R.w(C.toDate()[ve].apply(C.toDate("s"),(k?[0,0,0,0]:[23,59,59,999]).slice(ie)),C)},q=this.$W,U=this.$M,ne=this.$D,be="set"+(this.$u?"UTC":"");switch(E){case x:return k?j(1,0):j(31,11);case f:return k?j(1,U):j(0,U+1);case c:var pe=this.$locale().weekStart||0,ze=(q<pe?q+7:q)-pe;return j(k?ne-ze:ne+(6-ze),U);case u:case y:return Y(be+"Hours",0);case l:return Y(be+"Minutes",1);case s:return Y(be+"Seconds",2);case a:return Y(be+"Milliseconds",3);default:return this.clone()}},h.endOf=function(v){return this.startOf(v,!1)},h.$set=function(v,z){var C,k=R.p(v),E="set"+(this.$u?"UTC":""),j=(C={},C[u]=E+"Date",C[y]=E+"Date",C[f]=E+"Month",C[x]=E+"FullYear",C[l]=E+"Hours",C[s]=E+"Minutes",C[a]=E+"Seconds",C[i]=E+"Milliseconds",C)[k],Y=k===u?this.$D+(z-this.$W):z;if(k===f||k===x){var q=this.clone().set(y,1);q.$d[j](Y),q.init(),this.$d=q.set(y,Math.min(this.$D,q.daysInMonth())).$d}else j&&this.$d[j](Y);return this.init(),this},h.set=function(v,z){return this.clone().$set(v,z)},h.get=function(v){return this[R.p(v)]()},h.add=function(v,z){var C,k=this;v=Number(v);var E=R.p(z),j=function(U){var ne=P(k);return R.w(ne.date(ne.date()+Math.round(U*v)),k)};if(E===f)return this.set(f,this.$M+v);if(E===x)return this.set(x,this.$y+v);if(E===u)return j(1);if(E===c)return j(7);var Y=(C={},C[s]=r,C[l]=o,C[a]=n,C)[E]||1,q=this.$d.getTime()+v*Y;return R.w(q,this)},h.subtract=function(v,z){return this.add(-1*v,z)},h.format=function(v){var z=this,C=this.$locale();if(!this.isValid())return C.invalidDate||T;var k=v||"YYYY-MM-DDTHH:mm:ssZ",E=R.z(this),j=this.$H,Y=this.$m,q=this.$M,U=C.weekdays,ne=C.months,be=C.meridiem,pe=function(ie,ce,Te,Ie){return ie&&(ie[ce]||ie(z,k))||Te[ce].slice(0,Ie)},ze=function(ie){return R.s(j%12||12,ie,"0")},ve=be||function(ie,ce,Te){var Ie=ie<12?"AM":"PM";return Te?Ie.toLowerCase():Ie};return k.replace(w,function(ie,ce){return ce||function(Te){switch(Te){case"YY":return String(z.$y).slice(-2);case"YYYY":return R.s(z.$y,4,"0");case"M":return q+1;case"MM":return R.s(q+1,2,"0");case"MMM":return pe(C.monthsShort,q,ne,3);case"MMMM":return pe(ne,q);case"D":return z.$D;case"DD":return R.s(z.$D,2,"0");case"d":return String(z.$W);case"dd":return pe(C.weekdaysMin,z.$W,U,2);case"ddd":return pe(C.weekdaysShort,z.$W,U,3);case"dddd":return U[z.$W];case"H":return String(j);case"HH":return R.s(j,2,"0");case"h":return ze(1);case"hh":return ze(2);case"a":return ve(j,Y,!0);case"A":return ve(j,Y,!1);case"m":return String(Y);case"mm":return R.s(Y,2,"0");case"s":return String(z.$s);case"ss":return R.s(z.$s,2,"0");case"SSS":return R.s(z.$ms,3,"0");case"Z":return E}return null}(ie)||E.replace(":","")})},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(v,z,C){var k,E=this,j=R.p(z),Y=P(v),q=(Y.utcOffset()-this.utcOffset())*r,U=this-Y,ne=function(){return R.m(E,Y)};switch(j){case x:k=ne()/12;break;case f:k=ne();break;case p:k=ne()/3;break;case c:k=(U-q)/6048e5;break;case u:k=(U-q)/864e5;break;case l:k=U/o;break;case s:k=U/r;break;case a:k=U/n;break;default:k=U}return C?k:R.a(k)},h.daysInMonth=function(){return this.endOf(f).$D},h.$locale=function(){return D[this.$L]},h.locale=function(v,z){if(!v)return this.$L;var C=this.clone(),k=N(v,z,!0);return k&&(C.$L=k),C},h.clone=function(){return R.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},b}(),A=J.prototype;return P.prototype=A,[["$ms",i],["$s",a],["$m",s],["$H",l],["$W",u],["$M",f],["$y",x],["$D",y]].forEach(function(b){A[b[1]]=function(h){return this.$g(h,b[0],b[1])}}),P.extend=function(b,h){return b.$i||(b(h,J,P),b.$i=!0),P},P.locale=N,P.isDayjs=W,P.unix=function(b){return P(1e3*b)},P.en=D[_],P.Ls=D,P.p={},P})})(Mr);var Eu=Mr.exports;const od=Ei(Eu);export{Qu as $,Xu as A,ir as B,Ru as C,ke as D,Bu as E,Fi as F,Us as G,Li as H,Re as I,Hi as J,Vi as K,Ji as L,qs as M,Gu as N,xr as O,au as P,fu as Q,cu as R,Bn as S,Dn as T,at as U,Du as V,Fs as W,as as X,va as Y,er as Z,Wu as _,Hu as a,Uu as b,Ks as c,Fu as d,Is as e,Lu as f,ed as g,Ou as h,Ps as i,Nu as j,Zu as k,qu as l,du as m,Vu as n,rd as o,Ju as p,nd as q,ju as r,Ku as s,od as t,Yu as u,ku as v,td as w,gr as x,hr as y,br as z};
628
+ //# sourceMappingURL=dayjs.min-BwHIFJtJ.js.map