@huyooo/ui 0.1.16 → 0.1.19

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.
@@ -1,8 +1,8 @@
1
- (function(ue,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue"),require("@arco-design/web-vue")):typeof define=="function"&&define.amd?define(["exports","vue","@arco-design/web-vue"],o):(ue=typeof globalThis<"u"?globalThis:ue||self,o(ue.ui={},ue.Vue,ue.webVue))})(this,function(ue,o,_e){"use strict";const ze={class:"SvgIcon"},Ve=["href","fill"],Fe=o.defineComponent({__name:"SvgIcon",props:{prefix:{type:String,required:!1,default:"icon"},name:{type:String,required:!0,default:()=>""},color:{type:String,required:!1,default:"#333"}},setup(d){const w=d,S=o.computed(()=>`#${w.prefix??"icon"}-${w.name}`);return(g,V)=>(o.openBlock(),o.createElementBlock("svg",ze,[o.createElementVNode("use",{href:S.value,fill:w.color},null,8,Ve)]))}}),ye=(d,w)=>{const S=d.__vccOpts||d;for(const[g,V]of w)S[g]=V;return S},je=ye(Fe,[["__scopeId","data-v-003a51d4"]]);function qe(d){return o.getCurrentScope()?(o.onScopeDispose(d),!0):!1}function Me(d){return typeof d=="function"?d():o.unref(d)}const Ue=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const We=d=>d!=null,Ne=()=>{},He=Ue?window:void 0;function Ee(d){var w;const S=Me(d);return(w=S==null?void 0:S.$el)!=null?w:S}function Ge(){const d=o.ref(!1),w=o.getCurrentInstance();return w&&o.onMounted(()=>{d.value=!0},w),d}function Ye(d){const w=Ge();return o.computed(()=>(w.value,!!d()))}function Je(d,w,S={}){const{root:g,rootMargin:V="0px",threshold:P=0,window:B=He,immediate:x=!0}=S,G=Ye(()=>B&&"IntersectionObserver"in B),E=o.computed(()=>{const q=Me(d);return(Array.isArray(q)?q:[q]).map(Ee).filter(We)});let v=Ne;const j=o.ref(x),F=G.value?o.watch(()=>[E.value,Ee(g),j.value],([q,k])=>{if(v(),!j.value||!q.length)return;const I=new IntersectionObserver(w,{root:Ee(k),rootMargin:V,threshold:P});q.forEach(U=>U&&I.observe(U)),v=()=>{I.disconnect(),v=Ne}},{immediate:x,flush:"post"}):Ne,b=()=>{v(),F(),j.value=!1};return qe(b),{isSupported:G,isActive:j,pause(){v(),j.value=!1},resume(){j.value=!0},stop:b}}const Xe={key:0,class:"loading"},Ke={key:1,class:"none"},Ze=ye(o.defineComponent({__name:"InfiniteLoading",props:{loading:{type:Boolean,default:()=>!1},finished:{type:Boolean,default:()=>!1}},emits:["infinite"],setup(d,{emit:w}){const S=d,g=w,V=o.ref(null);return Je(V,([{isIntersecting:P}])=>{P&&!S.loading&&!S.finished&&(console.log(P,"isIntersecting"),g("infinite"))},{threshold:0}),(P,B)=>(o.openBlock(),o.createElementBlock("div",{class:"infinite-loading",ref_key:"container",ref:V},[d.loading?(o.openBlock(),o.createElementBlock("div",Xe,[o.createVNode(o.unref(_e.Spin),{tip:"数据加载中..."})])):o.createCommentVNode("",!0),d.finished?(o.openBlock(),o.createElementBlock("div",Ke,[o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-ffa0deb7"]]),Qe=ye(o.defineComponent({__name:"Collapse",props:{activeKeys:{type:Array,required:!0}},setup(d){const w=d,S=o.ref(),g=o.ref(new Set(w.activeKeys));o.provide("expandedIndexes",g);const V=o.ref(0);return o.provide("slotsCount",V),o.onMounted(()=>{V.value=S.value.children.length}),o.watch(()=>w.activeKeys,P=>{g.value=new Set(P)}),(P,B)=>(o.openBlock(),o.createElementBlock("div",{class:"collapse-container",ref_key:"collapseRef",ref:S},[o.renderSlot(P.$slots,"default",{},void 0,!0)],512))}}),[["__scopeId","data-v-37af01ec"]]),et=Symbol("ArcoConfigProvider"),tt="arco",nt="$arco",rt=d=>{var w,S,g;const V=o.getCurrentInstance(),P=o.inject(et,void 0);return`${(g=(S=P==null?void 0:P.prefixCls)!=null?S:(w=V==null?void 0:V.appContext.config.globalProperties[nt])==null?void 0:w.classPrefix)!=null?g:tt}-${d}`},it=Object.prototype.toString;function ot(d){return it.call(d)==="[object Number]"&&d===d}var st=(d,w)=>{for(const[S,g]of w)d[S]=g;return d};const lt=o.defineComponent({name:"IconRight",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:d=>["butt","round","square"].includes(d)},strokeLinejoin:{type:String,default:"miter",validator:d=>["arcs","bevel","miter","miter-clip","round"].includes(d)},rotate:Number,spin:Boolean},emits:{click:d=>!0},setup(d,{emit:w}){const S=rt("icon"),g=o.computed(()=>[S,`${S}-right`,{[`${S}-spin`]:d.spin}]),V=o.computed(()=>{const B={};return d.size&&(B.fontSize=ot(d.size)?`${d.size}px`:d.size),d.rotate&&(B.transform=`rotate(${d.rotate}deg)`),B});return{cls:g,innerStyle:V,onClick:B=>{w("click",B)}}}}),ct=["stroke-width","stroke-linecap","stroke-linejoin"],at=[o.createElementVNode("path",{d:"m16 39.513 15.556-15.557L16 8.4"},null,-1)];function ft(d,w,S,g,V,P){return o.openBlock(),o.createElementBlock("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:o.normalizeClass(d.cls),style:o.normalizeStyle(d.innerStyle),"stroke-width":d.strokeWidth,"stroke-linecap":d.strokeLinecap,"stroke-linejoin":d.strokeLinejoin,onClick:w[0]||(w[0]=(...B)=>d.onClick&&d.onClick(...B))},at,14,ct)}var Be=st(lt,[["render",ft]]);const ut=Object.assign(Be,{install:(d,w)=>{var S;const g=(S=w==null?void 0:w.iconPrefix)!=null?S:"";d.component(g+Be.name,Be)}}),dt={key:0,class:"collapse-content"},ht=ye(o.defineComponent({__name:"CollapseItem",props:{index:{default:0}},setup(d){const w=d,S=o.inject("slotsCount",o.ref(0)),g=o.inject("expandedIndexes"),V=o.computed(()=>w.index===S.value-1),P=o.computed(()=>g.value.has(w.index)),B=()=>{g&&(P.value?g.value.delete(w.index):g.value.add(w.index))};return(x,G)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["collapse-item",{"no-border":V.value}])},[o.createElementVNode("button",{class:"collapse-header",onClick:B},[o.createElementVNode("span",null,[o.renderSlot(x.$slots,"header",{},void 0,!0)]),o.createElementVNode("span",{class:o.normalizeClass(["collapse-icon",{rotated:P.value}])},[o.createVNode(o.unref(ut))],2)]),P.value?(o.openBlock(),o.createElementBlock("div",dt,[o.renderSlot(x.$slots,"default",{},void 0,!0)])):o.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-f2e1f58c"]]),pt={class:"ContentHead"},gt={class:"title"},mt={key:0,class:"description"},wt=ye(o.defineComponent({__name:"ContentHead",props:{title:{type:String,required:!0,default:()=>""},description:{type:String,required:!0,default:()=>""}},setup(d){const w=d;return(S,g)=>(o.openBlock(),o.createElementBlock("div",pt,[o.createElementVNode("h1",gt,o.toDisplayString(w.title),1),w.description?(o.openBlock(),o.createElementBlock("p",mt,o.toDisplayString(w.description),1)):o.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-f1ddfae6"]]),be=ye(o.defineComponent({__name:"Ellipsis",props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},zIndex:{type:String,default:"-1"},top:{type:String,default:"10%"},left:{type:String,default:"0%"},right:{type:String,default:"auto"},blur:{type:String,default:"0px"},background:{type:String,required:!1,default:()=>"linear-gradient(180deg, rgb(0 225 10 / 10%) 0.31%, rgb(26 214 255 / 52%) 74.99%, rgb(220 189 0 / 0%) 99.69%)"}},setup(d){const w=d,S=o.computed(()=>({pointerEvents:"none",position:"absolute",zIndex:w.zIndex,width:w.width,height:w.height,filter:`blur(${w.blur})`})),g=o.computed(()=>({width:"100%",height:"100%",background:w.background}));return(V,P)=>(o.openBlock(),o.createElementBlock("div",{class:"ellipsis",style:o.normalizeStyle(S.value)},[o.createElementVNode("div",{class:"ellipsis-item",style:o.normalizeStyle(g.value)},null,4)],4))}}),[["__scopeId","data-v-470c9c2f"]]),yt={},_t={class:"WidthContainer"};function $t(d,w){return o.openBlock(),o.createElementBlock("div",_t,[o.renderSlot(d.$slots,"default",{},void 0,!0)])}const St=ye(yt,[["render",$t],["__scopeId","data-v-1e360997"]]);var De=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xe={exports:{}},Ie={exports:{}},ve={exports:{}};(function(d){(function(w){var S,g=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,V=Math.ceil,P=Math.floor,B="[BigNumber Error] ",x=B+"Number primitive has more than 15 significant digits: ",G=1e14,E=14,v=9007199254740991,j=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],F=1e7,b=1e9;function q(C){var T,Z,Q,m=p.prototype={constructor:p,toString:null,valueOf:null},R=new p(1),J=20,ee=4,O=-7,_=21,y=-1e7,N=1e7,$=!1,z=1,L=0,Y={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},X="0123456789abcdefghijklmnopqrstuvwxyz",ne=!0;function p(e,t){var n,c,i,l,u,r,s,f,a=this;if(!(a instanceof p))return new p(e,t);if(t==null){if(e&&e._isBigNumber===!0){a.s=e.s,!e.c||e.e>N?a.c=a.e=null:e.e<y?a.c=[a.e=0]:(a.e=e.e,a.c=e.c.slice());return}if((r=typeof e=="number")&&e*0==0){if(a.s=1/e<0?(e=-e,-1):1,e===~~e){for(l=0,u=e;u>=10;u/=10,l++);l>N?a.c=a.e=null:(a.e=l,a.c=[e]);return}f=String(e)}else{if(!g.test(f=String(e)))return Q(a,f,r);a.s=f.charCodeAt(0)==45?(f=f.slice(1),-1):1}(l=f.indexOf("."))>-1&&(f=f.replace(".","")),(u=f.search(/e/i))>0?(l<0&&(l=u),l+=+f.slice(u+1),f=f.substring(0,u)):l<0&&(l=f.length)}else{if(A(t,2,X.length,"Base"),t==10&&ne)return a=new p(e),le(a,J+a.e+1,ee);if(f=String(e),r=typeof e=="number"){if(e*0!=0)return Q(a,f,r,t);if(a.s=1/e<0?(f=f.slice(1),-1):1,p.DEBUG&&f.replace(/^0\.0*|\./,"").length>15)throw Error(x+e)}else a.s=f.charCodeAt(0)===45?(f=f.slice(1),-1):1;for(n=X.slice(0,t),l=u=0,s=f.length;u<s;u++)if(n.indexOf(c=f.charAt(u))<0){if(c=="."){if(u>l){l=s;continue}}else if(!i&&(f==f.toUpperCase()&&(f=f.toLowerCase())||f==f.toLowerCase()&&(f=f.toUpperCase()))){i=!0,u=-1,l=0;continue}return Q(a,String(e),r,t)}r=!1,f=Z(f,t,10,a.s),(l=f.indexOf("."))>-1?f=f.replace(".",""):l=f.length}for(u=0;f.charCodeAt(u)===48;u++);for(s=f.length;f.charCodeAt(--s)===48;);if(f=f.slice(u,++s)){if(s-=u,r&&p.DEBUG&&s>15&&(e>v||e!==P(e)))throw Error(x+a.s*e);if((l=l-u-1)>N)a.c=a.e=null;else if(l<y)a.c=[a.e=0];else{if(a.e=l,a.c=[],u=(l+1)%E,l<0&&(u+=E),u<s){for(u&&a.c.push(+f.slice(0,u)),s-=E;u<s;)a.c.push(+f.slice(u,u+=E));u=E-(f=f.slice(u)).length}else u-=s;for(;u--;f+="0");a.c.push(+f)}}else a.c=[a.e=0]}p.clone=q,p.ROUND_UP=0,p.ROUND_DOWN=1,p.ROUND_CEIL=2,p.ROUND_FLOOR=3,p.ROUND_HALF_UP=4,p.ROUND_HALF_DOWN=5,p.ROUND_HALF_EVEN=6,p.ROUND_HALF_CEIL=7,p.ROUND_HALF_FLOOR=8,p.EUCLID=9,p.config=p.set=function(e){var t,n;if(e!=null)if(typeof e=="object"){if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(n=e[t],A(n,0,b,t),J=n),e.hasOwnProperty(t="ROUNDING_MODE")&&(n=e[t],A(n,0,8,t),ee=n),e.hasOwnProperty(t="EXPONENTIAL_AT")&&(n=e[t],n&&n.pop?(A(n[0],-b,0,t),A(n[1],0,b,t),O=n[0],_=n[1]):(A(n,-b,b,t),O=-(_=n<0?-n:n))),e.hasOwnProperty(t="RANGE"))if(n=e[t],n&&n.pop)A(n[0],-b,-1,t),A(n[1],1,b,t),y=n[0],N=n[1];else if(A(n,-b,b,t),n)y=-(N=n<0?-n:n);else throw Error(B+t+" cannot be zero: "+n);if(e.hasOwnProperty(t="CRYPTO"))if(n=e[t],n===!!n)if(n)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))$=n;else throw $=!n,Error(B+"crypto unavailable");else $=n;else throw Error(B+t+" not true or false: "+n);if(e.hasOwnProperty(t="MODULO_MODE")&&(n=e[t],A(n,0,9,t),z=n),e.hasOwnProperty(t="POW_PRECISION")&&(n=e[t],A(n,0,b,t),L=n),e.hasOwnProperty(t="FORMAT"))if(n=e[t],typeof n=="object")Y=n;else throw Error(B+t+" not an object: "+n);if(e.hasOwnProperty(t="ALPHABET"))if(n=e[t],typeof n=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(n))ne=n.slice(0,10)=="0123456789",X=n;else throw Error(B+t+" invalid: "+n)}else throw Error(B+"Object expected: "+e);return{DECIMAL_PLACES:J,ROUNDING_MODE:ee,EXPONENTIAL_AT:[O,_],RANGE:[y,N],CRYPTO:$,MODULO_MODE:z,POW_PRECISION:L,FORMAT:Y,ALPHABET:X}},p.isBigNumber=function(e){if(!e||e._isBigNumber!==!0)return!1;if(!p.DEBUG)return!0;var t,n,c=e.c,i=e.e,l=e.s;e:if({}.toString.call(c)=="[object Array]"){if((l===1||l===-1)&&i>=-b&&i<=b&&i===P(i)){if(c[0]===0){if(i===0&&c.length===1)return!0;break e}if(t=(i+1)%E,t<1&&(t+=E),String(c[0]).length==t){for(t=0;t<c.length;t++)if(n=c[t],n<0||n>=G||n!==P(n))break e;if(n!==0)return!0}}}else if(c===null&&i===null&&(l===null||l===1||l===-1))return!0;throw Error(B+"Invalid BigNumber: "+e)},p.maximum=p.max=function(){return we(arguments,-1)},p.minimum=p.min=function(){return we(arguments,1)},p.random=function(){var e=9007199254740992,t=Math.random()*e&2097151?function(){return P(Math.random()*e)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(n){var c,i,l,u,r,s=0,f=[],a=new p(R);if(n==null?n=J:A(n,0,b),u=V(n/E),$)if(crypto.getRandomValues){for(c=crypto.getRandomValues(new Uint32Array(u*=2));s<u;)r=c[s]*131072+(c[s+1]>>>11),r>=9e15?(i=crypto.getRandomValues(new Uint32Array(2)),c[s]=i[0],c[s+1]=i[1]):(f.push(r%1e14),s+=2);s=u/2}else if(crypto.randomBytes){for(c=crypto.randomBytes(u*=7);s<u;)r=(c[s]&31)*281474976710656+c[s+1]*1099511627776+c[s+2]*4294967296+c[s+3]*16777216+(c[s+4]<<16)+(c[s+5]<<8)+c[s+6],r>=9e15?crypto.randomBytes(7).copy(c,s):(f.push(r%1e14),s+=7);s=u/7}else throw $=!1,Error(B+"crypto unavailable");if(!$)for(;s<u;)r=t(),r<9e15&&(f[s++]=r%1e14);for(u=f[--s],n%=E,u&&n&&(r=j[E-n],f[s]=P(u/r)*r);f[s]===0;f.pop(),s--);if(s<0)f=[l=0];else{for(l=-1;f[0]===0;f.splice(0,1),l-=E);for(s=1,r=f[0];r>=10;r/=10,s++);s<E&&(l-=E-s)}return a.e=l,a.c=f,a}}(),p.sum=function(){for(var e=1,t=arguments,n=new p(t[0]);e<t.length;)n=n.plus(t[e++]);return n},Z=function(){var e="0123456789";function t(n,c,i,l){for(var u,r=[0],s,f=0,a=n.length;f<a;){for(s=r.length;s--;r[s]*=c);for(r[0]+=l.indexOf(n.charAt(f++)),u=0;u<r.length;u++)r[u]>i-1&&(r[u+1]==null&&(r[u+1]=0),r[u+1]+=r[u]/i|0,r[u]%=i)}return r.reverse()}return function(n,c,i,l,u){var r,s,f,a,h,M,D,H,re=n.indexOf("."),se=J,W=ee;for(re>=0&&(a=L,L=0,n=n.replace(".",""),H=new p(c),M=H.pow(n.length-re),L=a,H.c=t(te(I(M.c),M.e,"0"),10,i,e),H.e=H.c.length),D=t(n,c,i,u?(r=X,e):(r=e,X)),f=a=D.length;D[--a]==0;D.pop());if(!D[0])return r.charAt(0);if(re<0?--f:(M.c=D,M.e=f,M.s=l,M=T(M,H,se,W,i),D=M.c,h=M.r,f=M.e),s=f+se+1,re=D[s],a=i/2,h=h||s<0||D[s+1]!=null,h=W<4?(re!=null||h)&&(W==0||W==(M.s<0?3:2)):re>a||re==a&&(W==4||h||W==6&&D[s-1]&1||W==(M.s<0?8:7)),s<1||!D[0])n=h?te(r.charAt(1),-se,r.charAt(0)):r.charAt(0);else{if(D.length=s,h)for(--i;++D[--s]>i;)D[s]=0,s||(++f,D=[1].concat(D));for(a=D.length;!D[--a];);for(re=0,n="";re<=a;n+=r.charAt(D[re++]));n=te(n,f,r.charAt(0))}return n}}(),T=function(){function e(c,i,l){var u,r,s,f,a=0,h=c.length,M=i%F,D=i/F|0;for(c=c.slice();h--;)s=c[h]%F,f=c[h]/F|0,u=D*s+f*M,r=M*s+u%F*F+a,a=(r/l|0)+(u/F|0)+D*f,c[h]=r%l;return a&&(c=[a].concat(c)),c}function t(c,i,l,u){var r,s;if(l!=u)s=l>u?1:-1;else for(r=s=0;r<l;r++)if(c[r]!=i[r]){s=c[r]>i[r]?1:-1;break}return s}function n(c,i,l,u){for(var r=0;l--;)c[l]-=r,r=c[l]<i[l]?1:0,c[l]=r*u+c[l]-i[l];for(;!c[0]&&c.length>1;c.splice(0,1));}return function(c,i,l,u,r){var s,f,a,h,M,D,H,re,se,W,K,fe,ke,Ce,Ae,me,$e,pe=c.s==i.s?1:-1,de=c.c,ie=i.c;if(!de||!de[0]||!ie||!ie[0])return new p(!c.s||!i.s||(de?ie&&de[0]==ie[0]:!ie)?NaN:de&&de[0]==0||!ie?pe*0:pe/0);for(re=new p(pe),se=re.c=[],f=c.e-i.e,pe=l+f+1,r||(r=G,f=k(c.e/E)-k(i.e/E),pe=pe/E|0),a=0;ie[a]==(de[a]||0);a++);if(ie[a]>(de[a]||0)&&f--,pe<0)se.push(1),h=!0;else{for(Ce=de.length,me=ie.length,a=0,pe+=2,M=P(r/(ie[0]+1)),M>1&&(ie=e(ie,M,r),de=e(de,M,r),me=ie.length,Ce=de.length),ke=me,W=de.slice(0,me),K=W.length;K<me;W[K++]=0);$e=ie.slice(),$e=[0].concat($e),Ae=ie[0],ie[1]>=r/2&&Ae++;do{if(M=0,s=t(ie,W,me,K),s<0){if(fe=W[0],me!=K&&(fe=fe*r+(W[1]||0)),M=P(fe/Ae),M>1)for(M>=r&&(M=r-1),D=e(ie,M,r),H=D.length,K=W.length;t(D,W,H,K)==1;)M--,n(D,me<H?$e:ie,H,r),H=D.length,s=1;else M==0&&(s=M=1),D=ie.slice(),H=D.length;if(H<K&&(D=[0].concat(D)),n(W,D,K,r),K=W.length,s==-1)for(;t(ie,W,me,K)<1;)M++,n(W,me<K?$e:ie,K,r),K=W.length}else s===0&&(M++,W=[0]);se[a++]=M,W[0]?W[K++]=de[ke]||0:(W=[de[ke]],K=1)}while((ke++<Ce||W[0]!=null)&&pe--);h=W[0]!=null,se[0]||se.splice(0,1)}if(r==G){for(a=1,pe=se[0];pe>=10;pe/=10,a++);le(re,l+(re.e=a+f*E-1)+1,u,h)}else re.e=f,re.r=+h;return re}}();function ae(e,t,n,c){var i,l,u,r,s;if(n==null?n=ee:A(n,0,8),!e.c)return e.toString();if(i=e.c[0],u=e.e,t==null)s=I(e.c),s=c==1||c==2&&(u<=O||u>=_)?he(s,u):te(s,u,"0");else if(e=le(new p(e),t,n),l=e.e,s=I(e.c),r=s.length,c==1||c==2&&(t<=l||l<=O)){for(;r<t;s+="0",r++);s=he(s,l)}else if(t-=u,s=te(s,l,"0"),l+1>r){if(--t>0)for(s+=".";t--;s+="0");}else if(t+=l-r,t>0)for(l+1==r&&(s+=".");t--;s+="0");return e.s<0&&i?"-"+s:s}function we(e,t){for(var n,c,i=1,l=new p(e[0]);i<e.length;i++)c=new p(e[i]),(!c.s||(n=U(l,c))===t||n===0&&l.s===t)&&(l=c);return l}function ge(e,t,n){for(var c=1,i=t.length;!t[--i];t.pop());for(i=t[0];i>=10;i/=10,c++);return(n=c+n*E-1)>N?e.c=e.e=null:n<y?e.c=[e.e=0]:(e.e=n,e.c=t),e}Q=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,n=/^\.([^.]+)$/,c=/^-?(Infinity|NaN)$/,i=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(l,u,r,s){var f,a=r?u:u.replace(i,"");if(c.test(a))l.s=isNaN(a)?null:a<0?-1:1;else{if(!r&&(a=a.replace(e,function(h,M,D){return f=(D=D.toLowerCase())=="x"?16:D=="b"?2:8,!s||s==f?M:h}),s&&(f=s,a=a.replace(t,"$1").replace(n,"0.$1")),u!=a))return new p(a,f);if(p.DEBUG)throw Error(B+"Not a"+(s?" base "+s:"")+" number: "+u);l.s=null}l.c=l.e=null}}();function le(e,t,n,c){var i,l,u,r,s,f,a,h=e.c,M=j;if(h){e:{for(i=1,r=h[0];r>=10;r/=10,i++);if(l=t-i,l<0)l+=E,u=t,s=h[f=0],a=P(s/M[i-u-1]%10);else if(f=V((l+1)/E),f>=h.length)if(c){for(;h.length<=f;h.push(0));s=a=0,i=1,l%=E,u=l-E+1}else break e;else{for(s=r=h[f],i=1;r>=10;r/=10,i++);l%=E,u=l-E+i,a=u<0?0:P(s/M[i-u-1]%10)}if(c=c||t<0||h[f+1]!=null||(u<0?s:s%M[i-u-1]),c=n<4?(a||c)&&(n==0||n==(e.s<0?3:2)):a>5||a==5&&(n==4||c||n==6&&(l>0?u>0?s/M[i-u]:0:h[f-1])%10&1||n==(e.s<0?8:7)),t<1||!h[0])return h.length=0,c?(t-=e.e+1,h[0]=M[(E-t%E)%E],e.e=-t||0):h[0]=e.e=0,e;if(l==0?(h.length=f,r=1,f--):(h.length=f+1,r=M[E-l],h[f]=u>0?P(s/M[i-u]%M[u])*r:0),c)for(;;)if(f==0){for(l=1,u=h[0];u>=10;u/=10,l++);for(u=h[0]+=r,r=1;u>=10;u/=10,r++);l!=r&&(e.e++,h[0]==G&&(h[0]=1));break}else{if(h[f]+=r,h[f]!=G)break;h[f--]=0,r=1}for(l=h.length;h[--l]===0;h.pop());}e.e>N?e.c=e.e=null:e.e<y&&(e.c=[e.e=0])}return e}function ce(e){var t,n=e.e;return n===null?e.toString():(t=I(e.c),t=n<=O||n>=_?he(t,n):te(t,n,"0"),e.s<0?"-"+t:t)}return m.absoluteValue=m.abs=function(){var e=new p(this);return e.s<0&&(e.s=1),e},m.comparedTo=function(e,t){return U(this,new p(e,t))},m.decimalPlaces=m.dp=function(e,t){var n,c,i,l=this;if(e!=null)return A(e,0,b),t==null?t=ee:A(t,0,8),le(new p(l),e+l.e+1,t);if(!(n=l.c))return null;if(c=((i=n.length-1)-k(this.e/E))*E,i=n[i])for(;i%10==0;i/=10,c--);return c<0&&(c=0),c},m.dividedBy=m.div=function(e,t){return T(this,new p(e,t),J,ee)},m.dividedToIntegerBy=m.idiv=function(e,t){return T(this,new p(e,t),0,1)},m.exponentiatedBy=m.pow=function(e,t){var n,c,i,l,u,r,s,f,a,h=this;if(e=new p(e),e.c&&!e.isInteger())throw Error(B+"Exponent not an integer: "+ce(e));if(t!=null&&(t=new p(t)),r=e.e>14,!h.c||!h.c[0]||h.c[0]==1&&!h.e&&h.c.length==1||!e.c||!e.c[0])return a=new p(Math.pow(+ce(h),r?e.s*(2-oe(e)):+ce(e))),t?a.mod(t):a;if(s=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new p(NaN);c=!s&&h.isInteger()&&t.isInteger(),c&&(h=h.mod(t))}else{if(e.e>9&&(h.e>0||h.e<-1||(h.e==0?h.c[0]>1||r&&h.c[1]>=24e7:h.c[0]<8e13||r&&h.c[0]<=9999975e7)))return l=h.s<0&&oe(e)?-0:0,h.e>-1&&(l=1/l),new p(s?1/l:l);L&&(l=V(L/E+2))}for(r?(n=new p(.5),s&&(e.s=1),f=oe(e)):(i=Math.abs(+ce(e)),f=i%2),a=new p(R);;){if(f){if(a=a.times(h),!a.c)break;l?a.c.length>l&&(a.c.length=l):c&&(a=a.mod(t))}if(i){if(i=P(i/2),i===0)break;f=i%2}else if(e=e.times(n),le(e,e.e+1,1),e.e>14)f=oe(e);else{if(i=+ce(e),i===0)break;f=i%2}h=h.times(h),l?h.c&&h.c.length>l&&(h.c.length=l):c&&(h=h.mod(t))}return c?a:(s&&(a=R.div(a)),t?a.mod(t):l?le(a,L,ee,u):a)},m.integerValue=function(e){var t=new p(this);return e==null?e=ee:A(e,0,8),le(t,t.e+1,e)},m.isEqualTo=m.eq=function(e,t){return U(this,new p(e,t))===0},m.isFinite=function(){return!!this.c},m.isGreaterThan=m.gt=function(e,t){return U(this,new p(e,t))>0},m.isGreaterThanOrEqualTo=m.gte=function(e,t){return(t=U(this,new p(e,t)))===1||t===0},m.isInteger=function(){return!!this.c&&k(this.e/E)>this.c.length-2},m.isLessThan=m.lt=function(e,t){return U(this,new p(e,t))<0},m.isLessThanOrEqualTo=m.lte=function(e,t){return(t=U(this,new p(e,t)))===-1||t===0},m.isNaN=function(){return!this.s},m.isNegative=function(){return this.s<0},m.isPositive=function(){return this.s>0},m.isZero=function(){return!!this.c&&this.c[0]==0},m.minus=function(e,t){var n,c,i,l,u=this,r=u.s;if(e=new p(e,t),t=e.s,!r||!t)return new p(NaN);if(r!=t)return e.s=-t,u.plus(e);var s=u.e/E,f=e.e/E,a=u.c,h=e.c;if(!s||!f){if(!a||!h)return a?(e.s=-t,e):new p(h?u:NaN);if(!a[0]||!h[0])return h[0]?(e.s=-t,e):new p(a[0]?u:ee==3?-0:0)}if(s=k(s),f=k(f),a=a.slice(),r=s-f){for((l=r<0)?(r=-r,i=a):(f=s,i=h),i.reverse(),t=r;t--;i.push(0));i.reverse()}else for(c=(l=(r=a.length)<(t=h.length))?r:t,r=t=0;t<c;t++)if(a[t]!=h[t]){l=a[t]<h[t];break}if(l&&(i=a,a=h,h=i,e.s=-e.s),t=(c=h.length)-(n=a.length),t>0)for(;t--;a[n++]=0);for(t=G-1;c>r;){if(a[--c]<h[c]){for(n=c;n&&!a[--n];a[n]=t);--a[n],a[c]+=G}a[c]-=h[c]}for(;a[0]==0;a.splice(0,1),--f);return a[0]?ge(e,a,f):(e.s=ee==3?-1:1,e.c=[e.e=0],e)},m.modulo=m.mod=function(e,t){var n,c,i=this;return e=new p(e,t),!i.c||!e.s||e.c&&!e.c[0]?new p(NaN):!e.c||i.c&&!i.c[0]?new p(i):(z==9?(c=e.s,e.s=1,n=T(i,e,0,3),e.s=c,n.s*=c):n=T(i,e,0,z),e=i.minus(n.times(e)),!e.c[0]&&z==1&&(e.s=i.s),e)},m.multipliedBy=m.times=function(e,t){var n,c,i,l,u,r,s,f,a,h,M,D,H,re,se,W=this,K=W.c,fe=(e=new p(e,t)).c;if(!K||!fe||!K[0]||!fe[0])return!W.s||!e.s||K&&!K[0]&&!fe||fe&&!fe[0]&&!K?e.c=e.e=e.s=null:(e.s*=W.s,!K||!fe?e.c=e.e=null:(e.c=[0],e.e=0)),e;for(c=k(W.e/E)+k(e.e/E),e.s*=W.s,s=K.length,h=fe.length,s<h&&(H=K,K=fe,fe=H,i=s,s=h,h=i),i=s+h,H=[];i--;H.push(0));for(re=G,se=F,i=h;--i>=0;){for(n=0,M=fe[i]%se,D=fe[i]/se|0,u=s,l=i+u;l>i;)f=K[--u]%se,a=K[u]/se|0,r=D*f+a*M,f=M*f+r%se*se+H[l]+n,n=(f/re|0)+(r/se|0)+D*a,H[l--]=f%re;H[l]=n}return n?++c:H.splice(0,1),ge(e,H,c)},m.negated=function(){var e=new p(this);return e.s=-e.s||null,e},m.plus=function(e,t){var n,c=this,i=c.s;if(e=new p(e,t),t=e.s,!i||!t)return new p(NaN);if(i!=t)return e.s=-t,c.minus(e);var l=c.e/E,u=e.e/E,r=c.c,s=e.c;if(!l||!u){if(!r||!s)return new p(i/0);if(!r[0]||!s[0])return s[0]?e:new p(r[0]?c:i*0)}if(l=k(l),u=k(u),r=r.slice(),i=l-u){for(i>0?(u=l,n=s):(i=-i,n=r),n.reverse();i--;n.push(0));n.reverse()}for(i=r.length,t=s.length,i-t<0&&(n=s,s=r,r=n,t=i),i=0;t;)i=(r[--t]=r[t]+s[t]+i)/G|0,r[t]=G===r[t]?0:r[t]%G;return i&&(r=[i].concat(r),++u),ge(e,r,u)},m.precision=m.sd=function(e,t){var n,c,i,l=this;if(e!=null&&e!==!!e)return A(e,1,b),t==null?t=ee:A(t,0,8),le(new p(l),e,t);if(!(n=l.c))return null;if(i=n.length-1,c=i*E+1,i=n[i]){for(;i%10==0;i/=10,c--);for(i=n[0];i>=10;i/=10,c++);}return e&&l.e+1>c&&(c=l.e+1),c},m.shiftedBy=function(e){return A(e,-v,v),this.times("1e"+e)},m.squareRoot=m.sqrt=function(){var e,t,n,c,i,l=this,u=l.c,r=l.s,s=l.e,f=J+4,a=new p("0.5");if(r!==1||!u||!u[0])return new p(!r||r<0&&(!u||u[0])?NaN:u?l:1/0);if(r=Math.sqrt(+ce(l)),r==0||r==1/0?(t=I(u),(t.length+s)%2==0&&(t+="0"),r=Math.sqrt(+t),s=k((s+1)/2)-(s<0||s%2),r==1/0?t="5e"+s:(t=r.toExponential(),t=t.slice(0,t.indexOf("e")+1)+s),n=new p(t)):n=new p(r+""),n.c[0]){for(s=n.e,r=s+f,r<3&&(r=0);;)if(i=n,n=a.times(i.plus(T(l,i,f,1))),I(i.c).slice(0,r)===(t=I(n.c)).slice(0,r))if(n.e<s&&--r,t=t.slice(r-3,r+1),t=="9999"||!c&&t=="4999"){if(!c&&(le(i,i.e+J+2,0),i.times(i).eq(l))){n=i;break}f+=4,r+=4,c=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(le(n,n.e+J+2,1),e=!n.times(n).eq(l));break}}return le(n,n.e+J+1,ee,e)},m.toExponential=function(e,t){return e!=null&&(A(e,0,b),e++),ae(this,e,t,1)},m.toFixed=function(e,t){return e!=null&&(A(e,0,b),e=e+this.e+1),ae(this,e,t)},m.toFormat=function(e,t,n){var c,i=this;if(n==null)e!=null&&t&&typeof t=="object"?(n=t,t=null):e&&typeof e=="object"?(n=e,e=t=null):n=Y;else if(typeof n!="object")throw Error(B+"Argument not an object: "+n);if(c=i.toFixed(e,t),i.c){var l,u=c.split("."),r=+n.groupSize,s=+n.secondaryGroupSize,f=n.groupSeparator||"",a=u[0],h=u[1],M=i.s<0,D=M?a.slice(1):a,H=D.length;if(s&&(l=r,r=s,s=l,H-=l),r>0&&H>0){for(l=H%r||r,a=D.substr(0,l);l<H;l+=r)a+=f+D.substr(l,r);s>0&&(a+=f+D.slice(l)),M&&(a="-"+a)}c=h?a+(n.decimalSeparator||"")+((s=+n.fractionGroupSize)?h.replace(new RegExp("\\d{"+s+"}\\B","g"),"$&"+(n.fractionGroupSeparator||"")):h):a}return(n.prefix||"")+c+(n.suffix||"")},m.toFraction=function(e){var t,n,c,i,l,u,r,s,f,a,h,M,D=this,H=D.c;if(e!=null&&(r=new p(e),!r.isInteger()&&(r.c||r.s!==1)||r.lt(R)))throw Error(B+"Argument "+(r.isInteger()?"out of range: ":"not an integer: ")+ce(r));if(!H)return new p(D);for(t=new p(R),f=n=new p(R),c=s=new p(R),M=I(H),l=t.e=M.length-D.e-1,t.c[0]=j[(u=l%E)<0?E+u:u],e=!e||r.comparedTo(t)>0?l>0?t:f:r,u=N,N=1/0,r=new p(M),s.c[0]=0;a=T(r,t,0,1),i=n.plus(a.times(c)),i.comparedTo(e)!=1;)n=c,c=i,f=s.plus(a.times(i=f)),s=i,t=r.minus(a.times(i=t)),r=i;return i=T(e.minus(n),c,0,1),s=s.plus(i.times(f)),n=n.plus(i.times(c)),s.s=f.s=D.s,l=l*2,h=T(f,c,l,ee).minus(D).abs().comparedTo(T(s,n,l,ee).minus(D).abs())<1?[f,c]:[s,n],N=u,h},m.toNumber=function(){return+ce(this)},m.toPrecision=function(e,t){return e!=null&&A(e,1,b),ae(this,e,t,2)},m.toString=function(e){var t,n=this,c=n.s,i=n.e;return i===null?c?(t="Infinity",c<0&&(t="-"+t)):t="NaN":(e==null?t=i<=O||i>=_?he(I(n.c),i):te(I(n.c),i,"0"):e===10&&ne?(n=le(new p(n),J+i+1,ee),t=te(I(n.c),n.e,"0")):(A(e,2,X.length,"Base"),t=Z(te(I(n.c),i,"0"),10,e,c,!0)),c<0&&n.c[0]&&(t="-"+t)),t},m.valueOf=m.toJSON=function(){return ce(this)},m._isBigNumber=!0,C!=null&&p.set(C),p}function k(C){var T=C|0;return C>0||C===T?T:T-1}function I(C){for(var T,Z,Q=1,m=C.length,R=C[0]+"";Q<m;){for(T=C[Q++]+"",Z=E-T.length;Z--;T="0"+T);R+=T}for(m=R.length;R.charCodeAt(--m)===48;);return R.slice(0,m+1||1)}function U(C,T){var Z,Q,m=C.c,R=T.c,J=C.s,ee=T.s,O=C.e,_=T.e;if(!J||!ee)return null;if(Z=m&&!m[0],Q=R&&!R[0],Z||Q)return Z?Q?0:-ee:J;if(J!=ee)return J;if(Z=J<0,Q=O==_,!m||!R)return Q?0:!m^Z?1:-1;if(!Q)return O>_^Z?1:-1;for(ee=(O=m.length)<(_=R.length)?O:_,J=0;J<ee;J++)if(m[J]!=R[J])return m[J]>R[J]^Z?1:-1;return O==_?0:O>_^Z?1:-1}function A(C,T,Z,Q){if(C<T||C>Z||C!==P(C))throw Error(B+(Q||"Argument")+(typeof C=="number"?C<T||C>Z?" out of range: ":" not an integer: ":" not a primitive number: ")+String(C))}function oe(C){var T=C.c.length-1;return k(C.e/E)==T&&C.c[T]%2!=0}function he(C,T){return(C.length>1?C.charAt(0)+"."+C.slice(1):C)+(T<0?"e":"e+")+T}function te(C,T,Z){var Q,m;if(T<0){for(m=Z+".";++T;m+=Z);C=m+C}else if(Q=C.length,++T>Q){for(m=Z,T-=Q;--T;m+=Z);C+=m}else T<Q&&(C=C.slice(0,T)+"."+C.slice(T));return C}S=q(),S.default=S.BigNumber=S,d.exports?d.exports=S:(w||(w=typeof self<"u"&&self?self:window),w.BigNumber=S)})(De)})(ve);var Te=ve.exports;(function(d){var w=Te,S=d.exports;(function(){var g=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,V,P,B={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},x;function G(v){return g.lastIndex=0,g.test(v)?'"'+v.replace(g,function(j){var F=B[j];return typeof F=="string"?F:"\\u"+("0000"+j.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+v+'"'}function E(v,j){var F,b,q,k,I=V,U,A=j[v],oe=A!=null&&(A instanceof w||w.isBigNumber(A));switch(A&&typeof A=="object"&&typeof A.toJSON=="function"&&(A=A.toJSON(v)),typeof x=="function"&&(A=x.call(j,v,A)),typeof A){case"string":return oe?A:G(A);case"number":return isFinite(A)?String(A):"null";case"boolean":case"null":case"bigint":return String(A);case"object":if(!A)return"null";if(V+=P,U=[],Object.prototype.toString.apply(A)==="[object Array]"){for(k=A.length,F=0;F<k;F+=1)U[F]=E(F,A)||"null";return q=U.length===0?"[]":V?`[
2
- `+V+U.join(`,
3
- `+V)+`
4
- `+I+"]":"["+U.join(",")+"]",V=I,q}if(x&&typeof x=="object")for(k=x.length,F=0;F<k;F+=1)typeof x[F]=="string"&&(b=x[F],q=E(b,A),q&&U.push(G(b)+(V?": ":":")+q));else Object.keys(A).forEach(function(he){var te=E(he,A);te&&U.push(G(he)+(V?": ":":")+te)});return q=U.length===0?"{}":V?`{
5
- `+V+U.join(`,
6
- `+V)+`
7
- `+I+"}":"{"+U.join(",")+"}",V=I,q}}typeof S.stringify!="function"&&(S.stringify=function(v,j,F){var b;if(V="",P="",typeof F=="number")for(b=0;b<F;b+=1)P+=" ";else typeof F=="string"&&(P=F);if(x=j,j&&typeof j!="function"&&(typeof j!="object"||typeof j.length!="number"))throw new Error("JSON.stringify");return E("",{"":v})})})()})(Ie);var kt=Ie.exports,Se=null;const Nt=/(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/,Et=/(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;var Bt=function(d){var w={strict:!1,storeAsString:!1,alwaysParseAsBig:!1,useNativeBigInt:!1,protoAction:"error",constructorAction:"error"};if(d!=null){if(d.strict===!0&&(w.strict=!0),d.storeAsString===!0&&(w.storeAsString=!0),w.alwaysParseAsBig=d.alwaysParseAsBig===!0?d.alwaysParseAsBig:!1,w.useNativeBigInt=d.useNativeBigInt===!0?d.useNativeBigInt:!1,typeof d.constructorAction<"u")if(d.constructorAction==="error"||d.constructorAction==="ignore"||d.constructorAction==="preserve")w.constructorAction=d.constructorAction;else throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${d.constructorAction}`);if(typeof d.protoAction<"u")if(d.protoAction==="error"||d.protoAction==="ignore"||d.protoAction==="preserve")w.protoAction=d.protoAction;else throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${d.protoAction}`)}var S,g,V={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
8
- `,r:"\r",t:" "},P,B=function(k){throw{name:"SyntaxError",message:k,at:S,text:P}},x=function(k){return k&&k!==g&&B("Expected '"+k+"' instead of '"+g+"'"),g=P.charAt(S),S+=1,g},G=function(){var k,I="";for(g==="-"&&(I="-",x("-"));g>="0"&&g<="9";)I+=g,x();if(g===".")for(I+=".";x()&&g>="0"&&g<="9";)I+=g;if(g==="e"||g==="E")for(I+=g,x(),(g==="-"||g==="+")&&(I+=g,x());g>="0"&&g<="9";)I+=g,x();if(k=+I,!isFinite(k))B("Bad number");else return Se==null&&(Se=Te),I.length>15?w.storeAsString?I:w.useNativeBigInt?BigInt(I):new Se(I):w.alwaysParseAsBig?w.useNativeBigInt?BigInt(k):new Se(k):k},E=function(){var k,I,U="",A;if(g==='"')for(var oe=S;x();){if(g==='"')return S-1>oe&&(U+=P.substring(oe,S-1)),x(),U;if(g==="\\"){if(S-1>oe&&(U+=P.substring(oe,S-1)),x(),g==="u"){for(A=0,I=0;I<4&&(k=parseInt(x(),16),!!isFinite(k));I+=1)A=A*16+k;U+=String.fromCharCode(A)}else if(typeof V[g]=="string")U+=V[g];else break;oe=S}}B("Bad string")},v=function(){for(;g&&g<=" ";)x()},j=function(){switch(g){case"t":return x("t"),x("r"),x("u"),x("e"),!0;case"f":return x("f"),x("a"),x("l"),x("s"),x("e"),!1;case"n":return x("n"),x("u"),x("l"),x("l"),null}B("Unexpected '"+g+"'")},F,b=function(){var k=[];if(g==="["){if(x("["),v(),g==="]")return x("]"),k;for(;g;){if(k.push(F()),v(),g==="]")return x("]"),k;x(","),v()}}B("Bad array")},q=function(){var k,I=Object.create(null);if(g==="{"){if(x("{"),v(),g==="}")return x("}"),I;for(;g;){if(k=E(),v(),x(":"),w.strict===!0&&Object.hasOwnProperty.call(I,k)&&B('Duplicate key "'+k+'"'),Nt.test(k)===!0?w.protoAction==="error"?B("Object contains forbidden prototype property"):w.protoAction==="ignore"?F():I[k]=F():Et.test(k)===!0?w.constructorAction==="error"?B("Object contains forbidden constructor property"):w.constructorAction==="ignore"?F():I[k]=F():I[k]=F(),v(),g==="}")return x("}"),I;x(","),v()}}B("Bad object")};return F=function(){switch(v(),g){case"{":return q();case"[":return b();case'"':return E();case"-":return G();default:return g>="0"&&g<="9"?G():j()}},function(k,I){var U;return P=k+"",S=0,g=" ",U=F(),v(),g&&B("Syntax error"),typeof I=="function"?function A(oe,he){var te,C=oe[he];return C&&typeof C=="object"&&Object.keys(C).forEach(function(T){te=A(C,T),te!==void 0?C[T]=te:delete C[T]}),I.call(oe,he,C)}({"":U},""):U}},xt=Bt,Le=kt.stringify,Pe=xt;xe.exports=function(d){return{parse:Pe(d),stringify:Le}};var Ot=xe.exports.parse=Pe(),Ct=xe.exports.stringify=Le,At={exports:{}};(function(d,w){(function(S,g){d.exports=g()})(De,function(){var S=1e3,g=6e4,V=36e5,P="millisecond",B="second",x="minute",G="hour",E="day",v="week",j="month",F="quarter",b="year",q="date",k="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,U=/\[([^\]]+)]|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,A={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(O){var _=["th","st","nd","rd"],y=O%100;return"["+O+(_[(y-20)%10]||_[y]||_[0])+"]"}},oe=function(O,_,y){var N=String(O);return!N||N.length>=_?O:""+Array(_+1-N.length).join(y)+O},he={s:oe,z:function(O){var _=-O.utcOffset(),y=Math.abs(_),N=Math.floor(y/60),$=y%60;return(_<=0?"+":"-")+oe(N,2,"0")+":"+oe($,2,"0")},m:function O(_,y){if(_.date()<y.date())return-O(y,_);var N=12*(y.year()-_.year())+(y.month()-_.month()),$=_.clone().add(N,j),z=y-$<0,L=_.clone().add(N+(z?-1:1),j);return+(-(N+(y-$)/(z?$-L:L-$))||0)},a:function(O){return O<0?Math.ceil(O)||0:Math.floor(O)},p:function(O){return{M:j,y:b,w:v,d:E,D:q,h:G,m:x,s:B,ms:P,Q:F}[O]||String(O||"").toLowerCase().replace(/s$/,"")},u:function(O){return O===void 0}},te="en",C={};C[te]=A;var T="$isDayjsObject",Z=function(O){return O instanceof J||!(!O||!O[T])},Q=function O(_,y,N){var $;if(!_)return te;if(typeof _=="string"){var z=_.toLowerCase();C[z]&&($=z),y&&(C[z]=y,$=z);var L=_.split("-");if(!$&&L.length>1)return O(L[0])}else{var Y=_.name;C[Y]=_,$=Y}return!N&&$&&(te=$),$||!N&&te},m=function(O,_){if(Z(O))return O.clone();var y=typeof _=="object"?_:{};return y.date=O,y.args=arguments,new J(y)},R=he;R.l=Q,R.i=Z,R.w=function(O,_){return m(O,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var J=function(){function O(y){this.$L=Q(y.locale,null,!0),this.parse(y),this.$x=this.$x||y.x||{},this[T]=!0}var _=O.prototype;return _.parse=function(y){this.$d=function(N){var $=N.date,z=N.utc;if($===null)return new Date(NaN);if(R.u($))return new Date;if($ instanceof Date)return new Date($);if(typeof $=="string"&&!/Z$/i.test($)){var L=$.match(I);if(L){var Y=L[2]-1||0,X=(L[7]||"0").substring(0,3);return z?new Date(Date.UTC(L[1],Y,L[3]||1,L[4]||0,L[5]||0,L[6]||0,X)):new Date(L[1],Y,L[3]||1,L[4]||0,L[5]||0,L[6]||0,X)}}return new Date($)}(y),this.init()},_.init=function(){var y=this.$d;this.$y=y.getFullYear(),this.$M=y.getMonth(),this.$D=y.getDate(),this.$W=y.getDay(),this.$H=y.getHours(),this.$m=y.getMinutes(),this.$s=y.getSeconds(),this.$ms=y.getMilliseconds()},_.$utils=function(){return R},_.isValid=function(){return this.$d.toString()!==k},_.isSame=function(y,N){var $=m(y);return this.startOf(N)<=$&&$<=this.endOf(N)},_.isAfter=function(y,N){return m(y)<this.startOf(N)},_.isBefore=function(y,N){return this.endOf(N)<m(y)},_.$g=function(y,N,$){return R.u(y)?this[N]:this.set($,y)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(y,N){var $=this,z=!!R.u(N)||N,L=R.p(y),Y=function(ce,e){var t=R.w($.$u?Date.UTC($.$y,e,ce):new Date($.$y,e,ce),$);return z?t:t.endOf(E)},X=function(ce,e){return R.w($.toDate()[ce].apply($.toDate("s"),(z?[0,0,0,0]:[23,59,59,999]).slice(e)),$)},ne=this.$W,p=this.$M,ae=this.$D,we="set"+(this.$u?"UTC":"");switch(L){case b:return z?Y(1,0):Y(31,11);case j:return z?Y(1,p):Y(0,p+1);case v:var ge=this.$locale().weekStart||0,le=(ne<ge?ne+7:ne)-ge;return Y(z?ae-le:ae+(6-le),p);case E:case q:return X(we+"Hours",0);case G:return X(we+"Minutes",1);case x:return X(we+"Seconds",2);case B:return X(we+"Milliseconds",3);default:return this.clone()}},_.endOf=function(y){return this.startOf(y,!1)},_.$set=function(y,N){var $,z=R.p(y),L="set"+(this.$u?"UTC":""),Y=($={},$[E]=L+"Date",$[q]=L+"Date",$[j]=L+"Month",$[b]=L+"FullYear",$[G]=L+"Hours",$[x]=L+"Minutes",$[B]=L+"Seconds",$[P]=L+"Milliseconds",$)[z],X=z===E?this.$D+(N-this.$W):N;if(z===j||z===b){var ne=this.clone().set(q,1);ne.$d[Y](X),ne.init(),this.$d=ne.set(q,Math.min(this.$D,ne.daysInMonth())).$d}else Y&&this.$d[Y](X);return this.init(),this},_.set=function(y,N){return this.clone().$set(y,N)},_.get=function(y){return this[R.p(y)]()},_.add=function(y,N){var $,z=this;y=Number(y);var L=R.p(N),Y=function(p){var ae=m(z);return R.w(ae.date(ae.date()+Math.round(p*y)),z)};if(L===j)return this.set(j,this.$M+y);if(L===b)return this.set(b,this.$y+y);if(L===E)return Y(1);if(L===v)return Y(7);var X=($={},$[x]=g,$[G]=V,$[B]=S,$)[L]||1,ne=this.$d.getTime()+y*X;return R.w(ne,this)},_.subtract=function(y,N){return this.add(-1*y,N)},_.format=function(y){var N=this,$=this.$locale();if(!this.isValid())return $.invalidDate||k;var z=y||"YYYY-MM-DDTHH:mm:ssZ",L=R.z(this),Y=this.$H,X=this.$m,ne=this.$M,p=$.weekdays,ae=$.months,we=$.meridiem,ge=function(e,t,n,c){return e&&(e[t]||e(N,z))||n[t].slice(0,c)},le=function(e){return R.s(Y%12||12,e,"0")},ce=we||function(e,t,n){var c=e<12?"AM":"PM";return n?c.toLowerCase():c};return z.replace(U,function(e,t){return t||function(n){switch(n){case"YY":return String(N.$y).slice(-2);case"YYYY":return R.s(N.$y,4,"0");case"M":return ne+1;case"MM":return R.s(ne+1,2,"0");case"MMM":return ge($.monthsShort,ne,ae,3);case"MMMM":return ge(ae,ne);case"D":return N.$D;case"DD":return R.s(N.$D,2,"0");case"d":return String(N.$W);case"dd":return ge($.weekdaysMin,N.$W,p,2);case"ddd":return ge($.weekdaysShort,N.$W,p,3);case"dddd":return p[N.$W];case"H":return String(Y);case"HH":return R.s(Y,2,"0");case"h":return le(1);case"hh":return le(2);case"a":return ce(Y,X,!0);case"A":return ce(Y,X,!1);case"m":return String(X);case"mm":return R.s(X,2,"0");case"s":return String(N.$s);case"ss":return R.s(N.$s,2,"0");case"SSS":return R.s(N.$ms,3,"0");case"Z":return L}return null}(e)||L.replace(":","")})},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(y,N,$){var z,L=this,Y=R.p(N),X=m(y),ne=(X.utcOffset()-this.utcOffset())*g,p=this-X,ae=function(){return R.m(L,X)};switch(Y){case b:z=ae()/12;break;case j:z=ae();break;case F:z=ae()/3;break;case v:z=(p-ne)/6048e5;break;case E:z=(p-ne)/864e5;break;case G:z=p/V;break;case x:z=p/g;break;case B:z=p/S;break;default:z=p}return $?z:R.a(z)},_.daysInMonth=function(){return this.endOf(j).$D},_.$locale=function(){return C[this.$L]},_.locale=function(y,N){if(!y)return this.$L;var $=this.clone(),z=Q(y,N,!0);return z&&($.$L=z),$},_.clone=function(){return R.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},O}(),ee=J.prototype;return m.prototype=ee,[["$ms",P],["$s",B],["$m",x],["$H",G],["$W",E],["$M",j],["$y",b],["$D",q]].forEach(function(O){ee[O[1]]=function(_){return this.$g(_,O[0],O[1])}}),m.extend=function(O,_){return O.$i||(O(_,J,m),O.$i=!0),m},m.locale=Q,m.isDayjs=Z,m.unix=function(O){return m(1e3*O)},m.en=C[te],m.Ls=C,m.p={},m})})(At);function Mt(d){try{const w=typeof d=="string"?Ot(d):d;return Ct(w,null,2)}catch(w){return console.error("Invalid JSON data:",w),d}}function Re(d){return d?typeof d=="object"&&d!==null?Mt(d):typeof d=="boolean"||typeof d=="number"||d!=null?d.toString():"-":"-"}function Oe(d,w){return w.split(".").reduce((S,g)=>S==null?void 0:S[g],d)}const bt={class:"CubeTableCom"},Dt={class:"tableContain"},It={class:"tableRow"},vt=["onMouseenter","onMouseleave"],Tt={key:0,class:"contain"},Lt={class:"pagination"},Pt=ye(o.defineComponent({__name:"CustomTable",props:{loading:{type:Boolean,required:!1,default:()=>!1},bordered:{type:Boolean,required:!1,default:()=>!0},data:{type:Array,required:!0,default:()=>[]},pagination:{type:Object,required:!1,default:()=>null},columns:{type:Array,required:!0,default:()=>[]}},emits:["mouseenter","mouseleave","pageChange","pageSizeChange"],setup(d,{emit:w}){const S=o.ref(-1),g=w,V=v=>{console.log(v,"currentPage"),g("pageChange",v)},P=v=>{console.log(v,"pageSize"),g("pageSizeChange",v)},B=d;function x(v){const j=o.useSlots();return v?!!j[v]:!1}function G(v){S.value=v,g("mouseenter",v)}function E(v){S.value=-1,g("mouseleave",v)}return(v,j)=>(o.openBlock(),o.createElementBlock("div",bt,[o.createVNode(o.unref(_e.Spin),{loading:B.loading,tip:"数据加载中"},{default:o.withCtx(()=>{var F;return[o.createElementVNode("div",Dt,[o.createElementVNode("table",null,[o.createElementVNode("thead",null,[o.createElementVNode("tr",It,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(B.columns,(b,q)=>(o.openBlock(),o.createElementBlock("th",{key:q,class:o.normalizeClass({fixed:b.fixed,fixedBackground:b.fixed,lastBorder:q===B.columns.length-1}),style:o.normalizeStyle({minWidth:`${b.minWidth}px`,width:`${b.width}px`})},o.toDisplayString(b.title),7))),128))])]),o.createElementVNode("tbody",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(B.data,(b,q)=>(o.openBlock(),o.createElementBlock("tr",{key:q,class:o.normalizeClass(["tableRow",{trListHover:q===S.value}]),onMouseenter:k=>G(q),onMouseleave:k=>E(q)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(B.columns,(k,I)=>(o.openBlock(),o.createElementBlock("td",{key:I,class:o.normalizeClass({fixed:k.fixed,trListHover:q===S.value,lastBorder:I===B.columns.length-1}),style:o.normalizeStyle({minWidth:`${k.minWidth}px`,width:`${k.width}px`})},[o.createVNode(be,{open:k.ellipsis},{default:o.withCtx(()=>[x(k.slotName)?o.renderSlot(v.$slots,k.slotName,{key:0,record:b},void 0,!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[k.dataIndex?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[k.tooltip?(o.openBlock(),o.createBlock(o.unref(_e.Tooltip),{key:0,content:o.unref(Re)(o.unref(Oe)(b,k.dataIndex)),position:"bottom"},{default:o.withCtx(()=>[o.createElementVNode("span",null,o.toDisplayString(o.unref(Oe)(b,k.dataIndex)),1)]),_:2},1032,["content"])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(o.unref(Re)(o.unref(Oe)(b,k.dataIndex))),1)],64))],64)):o.createCommentVNode("",!0)],64))]),_:2},1032,["open"])],6))),128))],42,vt))),128))])]),B.data.length===0?(o.openBlock(),o.createElementBlock("div",Tt,[B.data.length===0?(o.openBlock(),o.createBlock(o.unref(_e.Empty),{key:0})):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)]),o.createElementVNode("div",Lt,[B.pagination?(o.openBlock(),o.createBlock(o.unref(_e.Pagination),{key:0,modelValue:B.pagination.current,"onUpdate:modelValue":j[0]||(j[0]=b=>B.pagination.current=b),total:((F=B.pagination)==null?void 0:F.total)||0,pageSize:d.pagination.pageSize,showTotal:d.pagination.showTotal,showJumper:d.pagination.showJumper,showPageSize:d.pagination.showPageSize,onChange:V,onPageSizeChange:P},null,8,["modelValue","total","pageSize","showTotal","showJumper","showPageSize"])):o.createCommentVNode("",!0)])]}),_:3},8,["loading"])]))}}),[["__scopeId","data-v-3faa7a7d"]]);ue.Collapse=Qe,ue.CollapseItem=ht,ue.ContentHead=wt,ue.CustomTable=Pt,ue.Ellipsis=be,ue.InfiniteLoading=Ze,ue.SvgIcon=je,ue.WidthContainer=St,Object.defineProperty(ue,Symbol.toStringTag,{value:"Module"})});
1
+ (function(ae,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("vue"),require("@arco-design/web-vue")):typeof define=="function"&&define.amd?define(["exports","vue","@arco-design/web-vue"],i):(ae=typeof globalThis<"u"?globalThis:ae||self,i(ae.ui={},ae.Vue,ae.webVue))})(this,function(ae,i,_e){"use strict";const Re={class:"SvgIcon"},Ve=["href","fill"],Fe=i.defineComponent({__name:"SvgIcon",props:{prefix:{type:String,required:!1,default:"icon"},name:{type:String,required:!0,default:()=>""},color:{type:String,required:!1,default:"#333"}},setup(d){const w=d,$=i.computed(()=>`#${w.prefix??"icon"}-${w.name}`);return(g,z)=>(i.openBlock(),i.createElementBlock("svg",Re,[i.createElementVNode("use",{href:$.value,fill:w.color},null,8,Ve)]))}}),we=(d,w)=>{const $=d.__vccOpts||d;for(const[g,z]of w)$[g]=z;return $},je=we(Fe,[["__scopeId","data-v-003a51d4"]]);function qe(d){return i.getCurrentScope()?(i.onScopeDispose(d),!0):!1}function Me(d){return typeof d=="function"?d():i.unref(d)}const Ue=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const We=d=>d!=null,Ee=()=>{},Ge=Ue?window:void 0;function Ne(d){var w;const $=Me(d);return(w=$==null?void 0:$.$el)!=null?w:$}function He(){const d=i.ref(!1),w=i.getCurrentInstance();return w&&i.onMounted(()=>{d.value=!0},w),d}function Ye(d){const w=He();return i.computed(()=>(w.value,!!d()))}function Je(d,w,$={}){const{root:g,rootMargin:z="0px",threshold:b=0,window:N=Ge,immediate:x=!0}=$,H=Ye(()=>N&&"IntersectionObserver"in N),B=i.computed(()=>{const q=Me(d);return(Array.isArray(q)?q:[q]).map(Ne).filter(We)});let T=Ee;const j=i.ref(x),F=H.value?i.watch(()=>[B.value,Ne(g),j.value],([q,k])=>{if(T(),!j.value||!q.length)return;const v=new IntersectionObserver(w,{root:Ne(k),rootMargin:z,threshold:b});q.forEach(U=>U&&v.observe(U)),T=()=>{v.disconnect(),T=Ee}},{immediate:x,flush:"post"}):Ee,D=()=>{T(),F(),j.value=!1};return qe(D),{isSupported:H,isActive:j,pause(){T(),j.value=!1},resume(){j.value=!0},stop:D}}const Xe={key:0,class:"loading"},Ke={key:1,class:"none"},Ze=we(i.defineComponent({__name:"InfiniteLoading",props:{loading:{type:Boolean,default:()=>!1},finished:{type:Boolean,default:()=>!1}},emits:["infinite"],setup(d,{emit:w}){const $=d,g=w,z=i.ref(null);return Je(z,([{isIntersecting:b}])=>{b&&!$.loading&&!$.finished&&(console.log(b,"isIntersecting"),g("infinite"))},{threshold:0}),(b,N)=>(i.openBlock(),i.createElementBlock("div",{class:"infinite-loading",ref_key:"container",ref:z},[d.loading?(i.openBlock(),i.createElementBlock("div",Xe,[i.createVNode(i.unref(_e.Spin),{tip:"数据加载中..."})])):i.createCommentVNode("",!0),d.finished?(i.openBlock(),i.createElementBlock("div",Ke,[i.createCommentVNode("",!0)])):i.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-ffa0deb7"]]),Qe=we(i.defineComponent({__name:"Collapse",props:{activeKeys:{type:Array,required:!0}},setup(d){const w=d,$=i.ref(),g=i.ref(new Set(w.activeKeys));i.provide("expandedIndexes",g);const z=i.ref(0);return i.provide("slotsCount",z),i.onMounted(()=>{z.value=$.value.children.length}),i.watch(()=>w.activeKeys,b=>{g.value=new Set(b)}),(b,N)=>(i.openBlock(),i.createElementBlock("div",{class:"collapse-container",ref_key:"collapseRef",ref:$},[i.renderSlot(b.$slots,"default",{},void 0,!0)],512))}}),[["__scopeId","data-v-37af01ec"]]),et=Symbol("ArcoConfigProvider"),tt="arco",nt="$arco",rt=d=>{var w,$,g;const z=i.getCurrentInstance(),b=i.inject(et,void 0);return`${(g=($=b==null?void 0:b.prefixCls)!=null?$:(w=z==null?void 0:z.appContext.config.globalProperties[nt])==null?void 0:w.classPrefix)!=null?g:tt}-${d}`},it=Object.prototype.toString;function ot(d){return it.call(d)==="[object Number]"&&d===d}var st=(d,w)=>{for(const[$,g]of w)d[$]=g;return d};const lt=i.defineComponent({name:"IconRight",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:d=>["butt","round","square"].includes(d)},strokeLinejoin:{type:String,default:"miter",validator:d=>["arcs","bevel","miter","miter-clip","round"].includes(d)},rotate:Number,spin:Boolean},emits:{click:d=>!0},setup(d,{emit:w}){const $=rt("icon"),g=i.computed(()=>[$,`${$}-right`,{[`${$}-spin`]:d.spin}]),z=i.computed(()=>{const N={};return d.size&&(N.fontSize=ot(d.size)?`${d.size}px`:d.size),d.rotate&&(N.transform=`rotate(${d.rotate}deg)`),N});return{cls:g,innerStyle:z,onClick:N=>{w("click",N)}}}}),ct=["stroke-width","stroke-linecap","stroke-linejoin"],at=[i.createElementVNode("path",{d:"m16 39.513 15.556-15.557L16 8.4"},null,-1)];function ft(d,w,$,g,z,b){return i.openBlock(),i.createElementBlock("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:i.normalizeClass(d.cls),style:i.normalizeStyle(d.innerStyle),"stroke-width":d.strokeWidth,"stroke-linecap":d.strokeLinecap,"stroke-linejoin":d.strokeLinejoin,onClick:w[0]||(w[0]=(...N)=>d.onClick&&d.onClick(...N))},at,14,ct)}var Be=st(lt,[["render",ft]]);const ut=Object.assign(Be,{install:(d,w)=>{var $;const g=($=w==null?void 0:w.iconPrefix)!=null?$:"";d.component(g+Be.name,Be)}}),dt={key:0,class:"collapse-content"},pt=we(i.defineComponent({__name:"CollapseItem",props:{index:{default:0}},setup(d){const w=d,$=i.inject("slotsCount",i.ref(0)),g=i.inject("expandedIndexes"),z=i.computed(()=>w.index===$.value-1),b=i.computed(()=>g.value.has(w.index)),N=()=>{g&&(b.value?g.value.delete(w.index):g.value.add(w.index))};return(x,H)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["collapse-item",{"no-border":z.value}])},[i.createElementVNode("button",{class:"collapse-header",onClick:N},[i.createElementVNode("span",null,[i.renderSlot(x.$slots,"header",{},void 0,!0)]),i.createElementVNode("span",{class:i.normalizeClass(["collapse-icon",{rotated:b.value}])},[i.createVNode(i.unref(ut))],2)]),b.value?(i.openBlock(),i.createElementBlock("div",dt,[i.renderSlot(x.$slots,"default",{},void 0,!0)])):i.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-f2e1f58c"]]),ht={class:"ContentHead"},gt={class:"title"},mt={key:0,class:"description"},wt=we(i.defineComponent({__name:"ContentHead",props:{title:{type:String,required:!0,default:()=>""},description:{type:String,required:!0,default:()=>""}},setup(d){const w=d;return($,g)=>(i.openBlock(),i.createElementBlock("div",ht,[i.createElementVNode("h1",gt,i.toDisplayString(w.title),1),w.description?(i.openBlock(),i.createElementBlock("p",mt,i.toDisplayString(w.description),1)):i.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-f1ddfae6"]]),be=we(i.defineComponent({__name:"Ellipsis",props:{open:{type:Boolean,required:!1,default:()=>!0}},setup(d){const w=d,$=i.ref(null),g=i.computed(()=>w.open?$.value?{width:`${$.value.clientWidth}px`,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}:{}:{}),z=()=>{if(w.open&&$.value){const b=$.value.clientWidth;$.value.style.width=`${b}px`}};return i.onMounted(()=>{w.open&&(z(),window.addEventListener("resize",z))}),i.onBeforeUnmount(()=>{w.open&&window.removeEventListener("resize",z)}),(b,N)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"ellipsisContainer",ref:$,style:i.normalizeStyle(g.value)},[i.renderSlot(b.$slots,"default",{},void 0,!0)],4))}}),[["__scopeId","data-v-d7daaa2e"]]),yt={},_t={class:"WidthContainer"};function $t(d,w){return i.openBlock(),i.createElementBlock("div",_t,[i.renderSlot(d.$slots,"default",{},void 0,!0)])}const St=we(yt,[["render",$t],["__scopeId","data-v-1e360997"]]);var De=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xe={exports:{}},Ie={exports:{}},ve={exports:{}};(function(d){(function(w){var $,g=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,z=Math.ceil,b=Math.floor,N="[BigNumber Error] ",x=N+"Number primitive has more than 15 significant digits: ",H=1e14,B=14,T=9007199254740991,j=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],F=1e7,D=1e9;function q(C){var L,Z,Q,m=h.prototype={constructor:h,toString:null,valueOf:null},R=new h(1),J=20,ee=4,O=-7,_=21,y=-1e7,E=1e7,S=!1,V=1,P=0,Y={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},X="0123456789abcdefghijklmnopqrstuvwxyz",ne=!0;function h(e,t){var n,c,o,l,u,r,s,f,a=this;if(!(a instanceof h))return new h(e,t);if(t==null){if(e&&e._isBigNumber===!0){a.s=e.s,!e.c||e.e>E?a.c=a.e=null:e.e<y?a.c=[a.e=0]:(a.e=e.e,a.c=e.c.slice());return}if((r=typeof e=="number")&&e*0==0){if(a.s=1/e<0?(e=-e,-1):1,e===~~e){for(l=0,u=e;u>=10;u/=10,l++);l>E?a.c=a.e=null:(a.e=l,a.c=[e]);return}f=String(e)}else{if(!g.test(f=String(e)))return Q(a,f,r);a.s=f.charCodeAt(0)==45?(f=f.slice(1),-1):1}(l=f.indexOf("."))>-1&&(f=f.replace(".","")),(u=f.search(/e/i))>0?(l<0&&(l=u),l+=+f.slice(u+1),f=f.substring(0,u)):l<0&&(l=f.length)}else{if(A(t,2,X.length,"Base"),t==10&&ne)return a=new h(e),le(a,J+a.e+1,ee);if(f=String(e),r=typeof e=="number"){if(e*0!=0)return Q(a,f,r,t);if(a.s=1/e<0?(f=f.slice(1),-1):1,h.DEBUG&&f.replace(/^0\.0*|\./,"").length>15)throw Error(x+e)}else a.s=f.charCodeAt(0)===45?(f=f.slice(1),-1):1;for(n=X.slice(0,t),l=u=0,s=f.length;u<s;u++)if(n.indexOf(c=f.charAt(u))<0){if(c=="."){if(u>l){l=s;continue}}else if(!o&&(f==f.toUpperCase()&&(f=f.toLowerCase())||f==f.toLowerCase()&&(f=f.toUpperCase()))){o=!0,u=-1,l=0;continue}return Q(a,String(e),r,t)}r=!1,f=Z(f,t,10,a.s),(l=f.indexOf("."))>-1?f=f.replace(".",""):l=f.length}for(u=0;f.charCodeAt(u)===48;u++);for(s=f.length;f.charCodeAt(--s)===48;);if(f=f.slice(u,++s)){if(s-=u,r&&h.DEBUG&&s>15&&(e>T||e!==b(e)))throw Error(x+a.s*e);if((l=l-u-1)>E)a.c=a.e=null;else if(l<y)a.c=[a.e=0];else{if(a.e=l,a.c=[],u=(l+1)%B,l<0&&(u+=B),u<s){for(u&&a.c.push(+f.slice(0,u)),s-=B;u<s;)a.c.push(+f.slice(u,u+=B));u=B-(f=f.slice(u)).length}else u-=s;for(;u--;f+="0");a.c.push(+f)}}else a.c=[a.e=0]}h.clone=q,h.ROUND_UP=0,h.ROUND_DOWN=1,h.ROUND_CEIL=2,h.ROUND_FLOOR=3,h.ROUND_HALF_UP=4,h.ROUND_HALF_DOWN=5,h.ROUND_HALF_EVEN=6,h.ROUND_HALF_CEIL=7,h.ROUND_HALF_FLOOR=8,h.EUCLID=9,h.config=h.set=function(e){var t,n;if(e!=null)if(typeof e=="object"){if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(n=e[t],A(n,0,D,t),J=n),e.hasOwnProperty(t="ROUNDING_MODE")&&(n=e[t],A(n,0,8,t),ee=n),e.hasOwnProperty(t="EXPONENTIAL_AT")&&(n=e[t],n&&n.pop?(A(n[0],-D,0,t),A(n[1],0,D,t),O=n[0],_=n[1]):(A(n,-D,D,t),O=-(_=n<0?-n:n))),e.hasOwnProperty(t="RANGE"))if(n=e[t],n&&n.pop)A(n[0],-D,-1,t),A(n[1],1,D,t),y=n[0],E=n[1];else if(A(n,-D,D,t),n)y=-(E=n<0?-n:n);else throw Error(N+t+" cannot be zero: "+n);if(e.hasOwnProperty(t="CRYPTO"))if(n=e[t],n===!!n)if(n)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))S=n;else throw S=!n,Error(N+"crypto unavailable");else S=n;else throw Error(N+t+" not true or false: "+n);if(e.hasOwnProperty(t="MODULO_MODE")&&(n=e[t],A(n,0,9,t),V=n),e.hasOwnProperty(t="POW_PRECISION")&&(n=e[t],A(n,0,D,t),P=n),e.hasOwnProperty(t="FORMAT"))if(n=e[t],typeof n=="object")Y=n;else throw Error(N+t+" not an object: "+n);if(e.hasOwnProperty(t="ALPHABET"))if(n=e[t],typeof n=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(n))ne=n.slice(0,10)=="0123456789",X=n;else throw Error(N+t+" invalid: "+n)}else throw Error(N+"Object expected: "+e);return{DECIMAL_PLACES:J,ROUNDING_MODE:ee,EXPONENTIAL_AT:[O,_],RANGE:[y,E],CRYPTO:S,MODULO_MODE:V,POW_PRECISION:P,FORMAT:Y,ALPHABET:X}},h.isBigNumber=function(e){if(!e||e._isBigNumber!==!0)return!1;if(!h.DEBUG)return!0;var t,n,c=e.c,o=e.e,l=e.s;e:if({}.toString.call(c)=="[object Array]"){if((l===1||l===-1)&&o>=-D&&o<=D&&o===b(o)){if(c[0]===0){if(o===0&&c.length===1)return!0;break e}if(t=(o+1)%B,t<1&&(t+=B),String(c[0]).length==t){for(t=0;t<c.length;t++)if(n=c[t],n<0||n>=H||n!==b(n))break e;if(n!==0)return!0}}}else if(c===null&&o===null&&(l===null||l===1||l===-1))return!0;throw Error(N+"Invalid BigNumber: "+e)},h.maximum=h.max=function(){return ye(arguments,-1)},h.minimum=h.min=function(){return ye(arguments,1)},h.random=function(){var e=9007199254740992,t=Math.random()*e&2097151?function(){return b(Math.random()*e)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(n){var c,o,l,u,r,s=0,f=[],a=new h(R);if(n==null?n=J:A(n,0,D),u=z(n/B),S)if(crypto.getRandomValues){for(c=crypto.getRandomValues(new Uint32Array(u*=2));s<u;)r=c[s]*131072+(c[s+1]>>>11),r>=9e15?(o=crypto.getRandomValues(new Uint32Array(2)),c[s]=o[0],c[s+1]=o[1]):(f.push(r%1e14),s+=2);s=u/2}else if(crypto.randomBytes){for(c=crypto.randomBytes(u*=7);s<u;)r=(c[s]&31)*281474976710656+c[s+1]*1099511627776+c[s+2]*4294967296+c[s+3]*16777216+(c[s+4]<<16)+(c[s+5]<<8)+c[s+6],r>=9e15?crypto.randomBytes(7).copy(c,s):(f.push(r%1e14),s+=7);s=u/7}else throw S=!1,Error(N+"crypto unavailable");if(!S)for(;s<u;)r=t(),r<9e15&&(f[s++]=r%1e14);for(u=f[--s],n%=B,u&&n&&(r=j[B-n],f[s]=b(u/r)*r);f[s]===0;f.pop(),s--);if(s<0)f=[l=0];else{for(l=-1;f[0]===0;f.splice(0,1),l-=B);for(s=1,r=f[0];r>=10;r/=10,s++);s<B&&(l-=B-s)}return a.e=l,a.c=f,a}}(),h.sum=function(){for(var e=1,t=arguments,n=new h(t[0]);e<t.length;)n=n.plus(t[e++]);return n},Z=function(){var e="0123456789";function t(n,c,o,l){for(var u,r=[0],s,f=0,a=n.length;f<a;){for(s=r.length;s--;r[s]*=c);for(r[0]+=l.indexOf(n.charAt(f++)),u=0;u<r.length;u++)r[u]>o-1&&(r[u+1]==null&&(r[u+1]=0),r[u+1]+=r[u]/o|0,r[u]%=o)}return r.reverse()}return function(n,c,o,l,u){var r,s,f,a,p,M,I,G,re=n.indexOf("."),se=J,W=ee;for(re>=0&&(a=P,P=0,n=n.replace(".",""),G=new h(c),M=G.pow(n.length-re),P=a,G.c=t(te(v(M.c),M.e,"0"),10,o,e),G.e=G.c.length),I=t(n,c,o,u?(r=X,e):(r=e,X)),f=a=I.length;I[--a]==0;I.pop());if(!I[0])return r.charAt(0);if(re<0?--f:(M.c=I,M.e=f,M.s=l,M=L(M,G,se,W,o),I=M.c,p=M.r,f=M.e),s=f+se+1,re=I[s],a=o/2,p=p||s<0||I[s+1]!=null,p=W<4?(re!=null||p)&&(W==0||W==(M.s<0?3:2)):re>a||re==a&&(W==4||p||W==6&&I[s-1]&1||W==(M.s<0?8:7)),s<1||!I[0])n=p?te(r.charAt(1),-se,r.charAt(0)):r.charAt(0);else{if(I.length=s,p)for(--o;++I[--s]>o;)I[s]=0,s||(++f,I=[1].concat(I));for(a=I.length;!I[--a];);for(re=0,n="";re<=a;n+=r.charAt(I[re++]));n=te(n,f,r.charAt(0))}return n}}(),L=function(){function e(c,o,l){var u,r,s,f,a=0,p=c.length,M=o%F,I=o/F|0;for(c=c.slice();p--;)s=c[p]%F,f=c[p]/F|0,u=I*s+f*M,r=M*s+u%F*F+a,a=(r/l|0)+(u/F|0)+I*f,c[p]=r%l;return a&&(c=[a].concat(c)),c}function t(c,o,l,u){var r,s;if(l!=u)s=l>u?1:-1;else for(r=s=0;r<l;r++)if(c[r]!=o[r]){s=c[r]>o[r]?1:-1;break}return s}function n(c,o,l,u){for(var r=0;l--;)c[l]-=r,r=c[l]<o[l]?1:0,c[l]=r*u+c[l]-o[l];for(;!c[0]&&c.length>1;c.splice(0,1));}return function(c,o,l,u,r){var s,f,a,p,M,I,G,re,se,W,K,ue,ke,Ce,Ae,me,$e,he=c.s==o.s?1:-1,de=c.c,ie=o.c;if(!de||!de[0]||!ie||!ie[0])return new h(!c.s||!o.s||(de?ie&&de[0]==ie[0]:!ie)?NaN:de&&de[0]==0||!ie?he*0:he/0);for(re=new h(he),se=re.c=[],f=c.e-o.e,he=l+f+1,r||(r=H,f=k(c.e/B)-k(o.e/B),he=he/B|0),a=0;ie[a]==(de[a]||0);a++);if(ie[a]>(de[a]||0)&&f--,he<0)se.push(1),p=!0;else{for(Ce=de.length,me=ie.length,a=0,he+=2,M=b(r/(ie[0]+1)),M>1&&(ie=e(ie,M,r),de=e(de,M,r),me=ie.length,Ce=de.length),ke=me,W=de.slice(0,me),K=W.length;K<me;W[K++]=0);$e=ie.slice(),$e=[0].concat($e),Ae=ie[0],ie[1]>=r/2&&Ae++;do{if(M=0,s=t(ie,W,me,K),s<0){if(ue=W[0],me!=K&&(ue=ue*r+(W[1]||0)),M=b(ue/Ae),M>1)for(M>=r&&(M=r-1),I=e(ie,M,r),G=I.length,K=W.length;t(I,W,G,K)==1;)M--,n(I,me<G?$e:ie,G,r),G=I.length,s=1;else M==0&&(s=M=1),I=ie.slice(),G=I.length;if(G<K&&(I=[0].concat(I)),n(W,I,K,r),K=W.length,s==-1)for(;t(ie,W,me,K)<1;)M++,n(W,me<K?$e:ie,K,r),K=W.length}else s===0&&(M++,W=[0]);se[a++]=M,W[0]?W[K++]=de[ke]||0:(W=[de[ke]],K=1)}while((ke++<Ce||W[0]!=null)&&he--);p=W[0]!=null,se[0]||se.splice(0,1)}if(r==H){for(a=1,he=se[0];he>=10;he/=10,a++);le(re,l+(re.e=a+f*B-1)+1,u,p)}else re.e=f,re.r=+p;return re}}();function fe(e,t,n,c){var o,l,u,r,s;if(n==null?n=ee:A(n,0,8),!e.c)return e.toString();if(o=e.c[0],u=e.e,t==null)s=v(e.c),s=c==1||c==2&&(u<=O||u>=_)?pe(s,u):te(s,u,"0");else if(e=le(new h(e),t,n),l=e.e,s=v(e.c),r=s.length,c==1||c==2&&(t<=l||l<=O)){for(;r<t;s+="0",r++);s=pe(s,l)}else if(t-=u,s=te(s,l,"0"),l+1>r){if(--t>0)for(s+=".";t--;s+="0");}else if(t+=l-r,t>0)for(l+1==r&&(s+=".");t--;s+="0");return e.s<0&&o?"-"+s:s}function ye(e,t){for(var n,c,o=1,l=new h(e[0]);o<e.length;o++)c=new h(e[o]),(!c.s||(n=U(l,c))===t||n===0&&l.s===t)&&(l=c);return l}function ge(e,t,n){for(var c=1,o=t.length;!t[--o];t.pop());for(o=t[0];o>=10;o/=10,c++);return(n=c+n*B-1)>E?e.c=e.e=null:n<y?e.c=[e.e=0]:(e.e=n,e.c=t),e}Q=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,n=/^\.([^.]+)$/,c=/^-?(Infinity|NaN)$/,o=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(l,u,r,s){var f,a=r?u:u.replace(o,"");if(c.test(a))l.s=isNaN(a)?null:a<0?-1:1;else{if(!r&&(a=a.replace(e,function(p,M,I){return f=(I=I.toLowerCase())=="x"?16:I=="b"?2:8,!s||s==f?M:p}),s&&(f=s,a=a.replace(t,"$1").replace(n,"0.$1")),u!=a))return new h(a,f);if(h.DEBUG)throw Error(N+"Not a"+(s?" base "+s:"")+" number: "+u);l.s=null}l.c=l.e=null}}();function le(e,t,n,c){var o,l,u,r,s,f,a,p=e.c,M=j;if(p){e:{for(o=1,r=p[0];r>=10;r/=10,o++);if(l=t-o,l<0)l+=B,u=t,s=p[f=0],a=b(s/M[o-u-1]%10);else if(f=z((l+1)/B),f>=p.length)if(c){for(;p.length<=f;p.push(0));s=a=0,o=1,l%=B,u=l-B+1}else break e;else{for(s=r=p[f],o=1;r>=10;r/=10,o++);l%=B,u=l-B+o,a=u<0?0:b(s/M[o-u-1]%10)}if(c=c||t<0||p[f+1]!=null||(u<0?s:s%M[o-u-1]),c=n<4?(a||c)&&(n==0||n==(e.s<0?3:2)):a>5||a==5&&(n==4||c||n==6&&(l>0?u>0?s/M[o-u]:0:p[f-1])%10&1||n==(e.s<0?8:7)),t<1||!p[0])return p.length=0,c?(t-=e.e+1,p[0]=M[(B-t%B)%B],e.e=-t||0):p[0]=e.e=0,e;if(l==0?(p.length=f,r=1,f--):(p.length=f+1,r=M[B-l],p[f]=u>0?b(s/M[o-u]%M[u])*r:0),c)for(;;)if(f==0){for(l=1,u=p[0];u>=10;u/=10,l++);for(u=p[0]+=r,r=1;u>=10;u/=10,r++);l!=r&&(e.e++,p[0]==H&&(p[0]=1));break}else{if(p[f]+=r,p[f]!=H)break;p[f--]=0,r=1}for(l=p.length;p[--l]===0;p.pop());}e.e>E?e.c=e.e=null:e.e<y&&(e.c=[e.e=0])}return e}function ce(e){var t,n=e.e;return n===null?e.toString():(t=v(e.c),t=n<=O||n>=_?pe(t,n):te(t,n,"0"),e.s<0?"-"+t:t)}return m.absoluteValue=m.abs=function(){var e=new h(this);return e.s<0&&(e.s=1),e},m.comparedTo=function(e,t){return U(this,new h(e,t))},m.decimalPlaces=m.dp=function(e,t){var n,c,o,l=this;if(e!=null)return A(e,0,D),t==null?t=ee:A(t,0,8),le(new h(l),e+l.e+1,t);if(!(n=l.c))return null;if(c=((o=n.length-1)-k(this.e/B))*B,o=n[o])for(;o%10==0;o/=10,c--);return c<0&&(c=0),c},m.dividedBy=m.div=function(e,t){return L(this,new h(e,t),J,ee)},m.dividedToIntegerBy=m.idiv=function(e,t){return L(this,new h(e,t),0,1)},m.exponentiatedBy=m.pow=function(e,t){var n,c,o,l,u,r,s,f,a,p=this;if(e=new h(e),e.c&&!e.isInteger())throw Error(N+"Exponent not an integer: "+ce(e));if(t!=null&&(t=new h(t)),r=e.e>14,!p.c||!p.c[0]||p.c[0]==1&&!p.e&&p.c.length==1||!e.c||!e.c[0])return a=new h(Math.pow(+ce(p),r?e.s*(2-oe(e)):+ce(e))),t?a.mod(t):a;if(s=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new h(NaN);c=!s&&p.isInteger()&&t.isInteger(),c&&(p=p.mod(t))}else{if(e.e>9&&(p.e>0||p.e<-1||(p.e==0?p.c[0]>1||r&&p.c[1]>=24e7:p.c[0]<8e13||r&&p.c[0]<=9999975e7)))return l=p.s<0&&oe(e)?-0:0,p.e>-1&&(l=1/l),new h(s?1/l:l);P&&(l=z(P/B+2))}for(r?(n=new h(.5),s&&(e.s=1),f=oe(e)):(o=Math.abs(+ce(e)),f=o%2),a=new h(R);;){if(f){if(a=a.times(p),!a.c)break;l?a.c.length>l&&(a.c.length=l):c&&(a=a.mod(t))}if(o){if(o=b(o/2),o===0)break;f=o%2}else if(e=e.times(n),le(e,e.e+1,1),e.e>14)f=oe(e);else{if(o=+ce(e),o===0)break;f=o%2}p=p.times(p),l?p.c&&p.c.length>l&&(p.c.length=l):c&&(p=p.mod(t))}return c?a:(s&&(a=R.div(a)),t?a.mod(t):l?le(a,P,ee,u):a)},m.integerValue=function(e){var t=new h(this);return e==null?e=ee:A(e,0,8),le(t,t.e+1,e)},m.isEqualTo=m.eq=function(e,t){return U(this,new h(e,t))===0},m.isFinite=function(){return!!this.c},m.isGreaterThan=m.gt=function(e,t){return U(this,new h(e,t))>0},m.isGreaterThanOrEqualTo=m.gte=function(e,t){return(t=U(this,new h(e,t)))===1||t===0},m.isInteger=function(){return!!this.c&&k(this.e/B)>this.c.length-2},m.isLessThan=m.lt=function(e,t){return U(this,new h(e,t))<0},m.isLessThanOrEqualTo=m.lte=function(e,t){return(t=U(this,new h(e,t)))===-1||t===0},m.isNaN=function(){return!this.s},m.isNegative=function(){return this.s<0},m.isPositive=function(){return this.s>0},m.isZero=function(){return!!this.c&&this.c[0]==0},m.minus=function(e,t){var n,c,o,l,u=this,r=u.s;if(e=new h(e,t),t=e.s,!r||!t)return new h(NaN);if(r!=t)return e.s=-t,u.plus(e);var s=u.e/B,f=e.e/B,a=u.c,p=e.c;if(!s||!f){if(!a||!p)return a?(e.s=-t,e):new h(p?u:NaN);if(!a[0]||!p[0])return p[0]?(e.s=-t,e):new h(a[0]?u:ee==3?-0:0)}if(s=k(s),f=k(f),a=a.slice(),r=s-f){for((l=r<0)?(r=-r,o=a):(f=s,o=p),o.reverse(),t=r;t--;o.push(0));o.reverse()}else for(c=(l=(r=a.length)<(t=p.length))?r:t,r=t=0;t<c;t++)if(a[t]!=p[t]){l=a[t]<p[t];break}if(l&&(o=a,a=p,p=o,e.s=-e.s),t=(c=p.length)-(n=a.length),t>0)for(;t--;a[n++]=0);for(t=H-1;c>r;){if(a[--c]<p[c]){for(n=c;n&&!a[--n];a[n]=t);--a[n],a[c]+=H}a[c]-=p[c]}for(;a[0]==0;a.splice(0,1),--f);return a[0]?ge(e,a,f):(e.s=ee==3?-1:1,e.c=[e.e=0],e)},m.modulo=m.mod=function(e,t){var n,c,o=this;return e=new h(e,t),!o.c||!e.s||e.c&&!e.c[0]?new h(NaN):!e.c||o.c&&!o.c[0]?new h(o):(V==9?(c=e.s,e.s=1,n=L(o,e,0,3),e.s=c,n.s*=c):n=L(o,e,0,V),e=o.minus(n.times(e)),!e.c[0]&&V==1&&(e.s=o.s),e)},m.multipliedBy=m.times=function(e,t){var n,c,o,l,u,r,s,f,a,p,M,I,G,re,se,W=this,K=W.c,ue=(e=new h(e,t)).c;if(!K||!ue||!K[0]||!ue[0])return!W.s||!e.s||K&&!K[0]&&!ue||ue&&!ue[0]&&!K?e.c=e.e=e.s=null:(e.s*=W.s,!K||!ue?e.c=e.e=null:(e.c=[0],e.e=0)),e;for(c=k(W.e/B)+k(e.e/B),e.s*=W.s,s=K.length,p=ue.length,s<p&&(G=K,K=ue,ue=G,o=s,s=p,p=o),o=s+p,G=[];o--;G.push(0));for(re=H,se=F,o=p;--o>=0;){for(n=0,M=ue[o]%se,I=ue[o]/se|0,u=s,l=o+u;l>o;)f=K[--u]%se,a=K[u]/se|0,r=I*f+a*M,f=M*f+r%se*se+G[l]+n,n=(f/re|0)+(r/se|0)+I*a,G[l--]=f%re;G[l]=n}return n?++c:G.splice(0,1),ge(e,G,c)},m.negated=function(){var e=new h(this);return e.s=-e.s||null,e},m.plus=function(e,t){var n,c=this,o=c.s;if(e=new h(e,t),t=e.s,!o||!t)return new h(NaN);if(o!=t)return e.s=-t,c.minus(e);var l=c.e/B,u=e.e/B,r=c.c,s=e.c;if(!l||!u){if(!r||!s)return new h(o/0);if(!r[0]||!s[0])return s[0]?e:new h(r[0]?c:o*0)}if(l=k(l),u=k(u),r=r.slice(),o=l-u){for(o>0?(u=l,n=s):(o=-o,n=r),n.reverse();o--;n.push(0));n.reverse()}for(o=r.length,t=s.length,o-t<0&&(n=s,s=r,r=n,t=o),o=0;t;)o=(r[--t]=r[t]+s[t]+o)/H|0,r[t]=H===r[t]?0:r[t]%H;return o&&(r=[o].concat(r),++u),ge(e,r,u)},m.precision=m.sd=function(e,t){var n,c,o,l=this;if(e!=null&&e!==!!e)return A(e,1,D),t==null?t=ee:A(t,0,8),le(new h(l),e,t);if(!(n=l.c))return null;if(o=n.length-1,c=o*B+1,o=n[o]){for(;o%10==0;o/=10,c--);for(o=n[0];o>=10;o/=10,c++);}return e&&l.e+1>c&&(c=l.e+1),c},m.shiftedBy=function(e){return A(e,-T,T),this.times("1e"+e)},m.squareRoot=m.sqrt=function(){var e,t,n,c,o,l=this,u=l.c,r=l.s,s=l.e,f=J+4,a=new h("0.5");if(r!==1||!u||!u[0])return new h(!r||r<0&&(!u||u[0])?NaN:u?l:1/0);if(r=Math.sqrt(+ce(l)),r==0||r==1/0?(t=v(u),(t.length+s)%2==0&&(t+="0"),r=Math.sqrt(+t),s=k((s+1)/2)-(s<0||s%2),r==1/0?t="5e"+s:(t=r.toExponential(),t=t.slice(0,t.indexOf("e")+1)+s),n=new h(t)):n=new h(r+""),n.c[0]){for(s=n.e,r=s+f,r<3&&(r=0);;)if(o=n,n=a.times(o.plus(L(l,o,f,1))),v(o.c).slice(0,r)===(t=v(n.c)).slice(0,r))if(n.e<s&&--r,t=t.slice(r-3,r+1),t=="9999"||!c&&t=="4999"){if(!c&&(le(o,o.e+J+2,0),o.times(o).eq(l))){n=o;break}f+=4,r+=4,c=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(le(n,n.e+J+2,1),e=!n.times(n).eq(l));break}}return le(n,n.e+J+1,ee,e)},m.toExponential=function(e,t){return e!=null&&(A(e,0,D),e++),fe(this,e,t,1)},m.toFixed=function(e,t){return e!=null&&(A(e,0,D),e=e+this.e+1),fe(this,e,t)},m.toFormat=function(e,t,n){var c,o=this;if(n==null)e!=null&&t&&typeof t=="object"?(n=t,t=null):e&&typeof e=="object"?(n=e,e=t=null):n=Y;else if(typeof n!="object")throw Error(N+"Argument not an object: "+n);if(c=o.toFixed(e,t),o.c){var l,u=c.split("."),r=+n.groupSize,s=+n.secondaryGroupSize,f=n.groupSeparator||"",a=u[0],p=u[1],M=o.s<0,I=M?a.slice(1):a,G=I.length;if(s&&(l=r,r=s,s=l,G-=l),r>0&&G>0){for(l=G%r||r,a=I.substr(0,l);l<G;l+=r)a+=f+I.substr(l,r);s>0&&(a+=f+I.slice(l)),M&&(a="-"+a)}c=p?a+(n.decimalSeparator||"")+((s=+n.fractionGroupSize)?p.replace(new RegExp("\\d{"+s+"}\\B","g"),"$&"+(n.fractionGroupSeparator||"")):p):a}return(n.prefix||"")+c+(n.suffix||"")},m.toFraction=function(e){var t,n,c,o,l,u,r,s,f,a,p,M,I=this,G=I.c;if(e!=null&&(r=new h(e),!r.isInteger()&&(r.c||r.s!==1)||r.lt(R)))throw Error(N+"Argument "+(r.isInteger()?"out of range: ":"not an integer: ")+ce(r));if(!G)return new h(I);for(t=new h(R),f=n=new h(R),c=s=new h(R),M=v(G),l=t.e=M.length-I.e-1,t.c[0]=j[(u=l%B)<0?B+u:u],e=!e||r.comparedTo(t)>0?l>0?t:f:r,u=E,E=1/0,r=new h(M),s.c[0]=0;a=L(r,t,0,1),o=n.plus(a.times(c)),o.comparedTo(e)!=1;)n=c,c=o,f=s.plus(a.times(o=f)),s=o,t=r.minus(a.times(o=t)),r=o;return o=L(e.minus(n),c,0,1),s=s.plus(o.times(f)),n=n.plus(o.times(c)),s.s=f.s=I.s,l=l*2,p=L(f,c,l,ee).minus(I).abs().comparedTo(L(s,n,l,ee).minus(I).abs())<1?[f,c]:[s,n],E=u,p},m.toNumber=function(){return+ce(this)},m.toPrecision=function(e,t){return e!=null&&A(e,1,D),fe(this,e,t,2)},m.toString=function(e){var t,n=this,c=n.s,o=n.e;return o===null?c?(t="Infinity",c<0&&(t="-"+t)):t="NaN":(e==null?t=o<=O||o>=_?pe(v(n.c),o):te(v(n.c),o,"0"):e===10&&ne?(n=le(new h(n),J+o+1,ee),t=te(v(n.c),n.e,"0")):(A(e,2,X.length,"Base"),t=Z(te(v(n.c),o,"0"),10,e,c,!0)),c<0&&n.c[0]&&(t="-"+t)),t},m.valueOf=m.toJSON=function(){return ce(this)},m._isBigNumber=!0,C!=null&&h.set(C),h}function k(C){var L=C|0;return C>0||C===L?L:L-1}function v(C){for(var L,Z,Q=1,m=C.length,R=C[0]+"";Q<m;){for(L=C[Q++]+"",Z=B-L.length;Z--;L="0"+L);R+=L}for(m=R.length;R.charCodeAt(--m)===48;);return R.slice(0,m+1||1)}function U(C,L){var Z,Q,m=C.c,R=L.c,J=C.s,ee=L.s,O=C.e,_=L.e;if(!J||!ee)return null;if(Z=m&&!m[0],Q=R&&!R[0],Z||Q)return Z?Q?0:-ee:J;if(J!=ee)return J;if(Z=J<0,Q=O==_,!m||!R)return Q?0:!m^Z?1:-1;if(!Q)return O>_^Z?1:-1;for(ee=(O=m.length)<(_=R.length)?O:_,J=0;J<ee;J++)if(m[J]!=R[J])return m[J]>R[J]^Z?1:-1;return O==_?0:O>_^Z?1:-1}function A(C,L,Z,Q){if(C<L||C>Z||C!==b(C))throw Error(N+(Q||"Argument")+(typeof C=="number"?C<L||C>Z?" out of range: ":" not an integer: ":" not a primitive number: ")+String(C))}function oe(C){var L=C.c.length-1;return k(C.e/B)==L&&C.c[L]%2!=0}function pe(C,L){return(C.length>1?C.charAt(0)+"."+C.slice(1):C)+(L<0?"e":"e+")+L}function te(C,L,Z){var Q,m;if(L<0){for(m=Z+".";++L;m+=Z);C=m+C}else if(Q=C.length,++L>Q){for(m=Z,L-=Q;--L;m+=Z);C+=m}else L<Q&&(C=C.slice(0,L)+"."+C.slice(L));return C}$=q(),$.default=$.BigNumber=$,d.exports?d.exports=$:(w||(w=typeof self<"u"&&self?self:window),w.BigNumber=$)})(De)})(ve);var Te=ve.exports;(function(d){var w=Te,$=d.exports;(function(){var g=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,z,b,N={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},x;function H(T){return g.lastIndex=0,g.test(T)?'"'+T.replace(g,function(j){var F=N[j];return typeof F=="string"?F:"\\u"+("0000"+j.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+T+'"'}function B(T,j){var F,D,q,k,v=z,U,A=j[T],oe=A!=null&&(A instanceof w||w.isBigNumber(A));switch(A&&typeof A=="object"&&typeof A.toJSON=="function"&&(A=A.toJSON(T)),typeof x=="function"&&(A=x.call(j,T,A)),typeof A){case"string":return oe?A:H(A);case"number":return isFinite(A)?String(A):"null";case"boolean":case"null":case"bigint":return String(A);case"object":if(!A)return"null";if(z+=b,U=[],Object.prototype.toString.apply(A)==="[object Array]"){for(k=A.length,F=0;F<k;F+=1)U[F]=B(F,A)||"null";return q=U.length===0?"[]":z?`[
2
+ `+z+U.join(`,
3
+ `+z)+`
4
+ `+v+"]":"["+U.join(",")+"]",z=v,q}if(x&&typeof x=="object")for(k=x.length,F=0;F<k;F+=1)typeof x[F]=="string"&&(D=x[F],q=B(D,A),q&&U.push(H(D)+(z?": ":":")+q));else Object.keys(A).forEach(function(pe){var te=B(pe,A);te&&U.push(H(pe)+(z?": ":":")+te)});return q=U.length===0?"{}":z?`{
5
+ `+z+U.join(`,
6
+ `+z)+`
7
+ `+v+"}":"{"+U.join(",")+"}",z=v,q}}typeof $.stringify!="function"&&($.stringify=function(T,j,F){var D;if(z="",b="",typeof F=="number")for(D=0;D<F;D+=1)b+=" ";else typeof F=="string"&&(b=F);if(x=j,j&&typeof j!="function"&&(typeof j!="object"||typeof j.length!="number"))throw new Error("JSON.stringify");return B("",{"":T})})})()})(Ie);var kt=Ie.exports,Se=null;const Et=/(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/,Nt=/(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;var Bt=function(d){var w={strict:!1,storeAsString:!1,alwaysParseAsBig:!1,useNativeBigInt:!1,protoAction:"error",constructorAction:"error"};if(d!=null){if(d.strict===!0&&(w.strict=!0),d.storeAsString===!0&&(w.storeAsString=!0),w.alwaysParseAsBig=d.alwaysParseAsBig===!0?d.alwaysParseAsBig:!1,w.useNativeBigInt=d.useNativeBigInt===!0?d.useNativeBigInt:!1,typeof d.constructorAction<"u")if(d.constructorAction==="error"||d.constructorAction==="ignore"||d.constructorAction==="preserve")w.constructorAction=d.constructorAction;else throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${d.constructorAction}`);if(typeof d.protoAction<"u")if(d.protoAction==="error"||d.protoAction==="ignore"||d.protoAction==="preserve")w.protoAction=d.protoAction;else throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${d.protoAction}`)}var $,g,z={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
8
+ `,r:"\r",t:" "},b,N=function(k){throw{name:"SyntaxError",message:k,at:$,text:b}},x=function(k){return k&&k!==g&&N("Expected '"+k+"' instead of '"+g+"'"),g=b.charAt($),$+=1,g},H=function(){var k,v="";for(g==="-"&&(v="-",x("-"));g>="0"&&g<="9";)v+=g,x();if(g===".")for(v+=".";x()&&g>="0"&&g<="9";)v+=g;if(g==="e"||g==="E")for(v+=g,x(),(g==="-"||g==="+")&&(v+=g,x());g>="0"&&g<="9";)v+=g,x();if(k=+v,!isFinite(k))N("Bad number");else return Se==null&&(Se=Te),v.length>15?w.storeAsString?v:w.useNativeBigInt?BigInt(v):new Se(v):w.alwaysParseAsBig?w.useNativeBigInt?BigInt(k):new Se(k):k},B=function(){var k,v,U="",A;if(g==='"')for(var oe=$;x();){if(g==='"')return $-1>oe&&(U+=b.substring(oe,$-1)),x(),U;if(g==="\\"){if($-1>oe&&(U+=b.substring(oe,$-1)),x(),g==="u"){for(A=0,v=0;v<4&&(k=parseInt(x(),16),!!isFinite(k));v+=1)A=A*16+k;U+=String.fromCharCode(A)}else if(typeof z[g]=="string")U+=z[g];else break;oe=$}}N("Bad string")},T=function(){for(;g&&g<=" ";)x()},j=function(){switch(g){case"t":return x("t"),x("r"),x("u"),x("e"),!0;case"f":return x("f"),x("a"),x("l"),x("s"),x("e"),!1;case"n":return x("n"),x("u"),x("l"),x("l"),null}N("Unexpected '"+g+"'")},F,D=function(){var k=[];if(g==="["){if(x("["),T(),g==="]")return x("]"),k;for(;g;){if(k.push(F()),T(),g==="]")return x("]"),k;x(","),T()}}N("Bad array")},q=function(){var k,v=Object.create(null);if(g==="{"){if(x("{"),T(),g==="}")return x("}"),v;for(;g;){if(k=B(),T(),x(":"),w.strict===!0&&Object.hasOwnProperty.call(v,k)&&N('Duplicate key "'+k+'"'),Et.test(k)===!0?w.protoAction==="error"?N("Object contains forbidden prototype property"):w.protoAction==="ignore"?F():v[k]=F():Nt.test(k)===!0?w.constructorAction==="error"?N("Object contains forbidden constructor property"):w.constructorAction==="ignore"?F():v[k]=F():v[k]=F(),T(),g==="}")return x("}"),v;x(","),T()}}N("Bad object")};return F=function(){switch(T(),g){case"{":return q();case"[":return D();case'"':return B();case"-":return H();default:return g>="0"&&g<="9"?H():j()}},function(k,v){var U;return b=k+"",$=0,g=" ",U=F(),T(),g&&N("Syntax error"),typeof v=="function"?function A(oe,pe){var te,C=oe[pe];return C&&typeof C=="object"&&Object.keys(C).forEach(function(L){te=A(C,L),te!==void 0?C[L]=te:delete C[L]}),v.call(oe,pe,C)}({"":U},""):U}},xt=Bt,Le=kt.stringify,Pe=xt;xe.exports=function(d){return{parse:Pe(d),stringify:Le}};var Ot=xe.exports.parse=Pe(),Ct=xe.exports.stringify=Le,At={exports:{}};(function(d,w){(function($,g){d.exports=g()})(De,function(){var $=1e3,g=6e4,z=36e5,b="millisecond",N="second",x="minute",H="hour",B="day",T="week",j="month",F="quarter",D="year",q="date",k="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,U=/\[([^\]]+)]|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,A={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(O){var _=["th","st","nd","rd"],y=O%100;return"["+O+(_[(y-20)%10]||_[y]||_[0])+"]"}},oe=function(O,_,y){var E=String(O);return!E||E.length>=_?O:""+Array(_+1-E.length).join(y)+O},pe={s:oe,z:function(O){var _=-O.utcOffset(),y=Math.abs(_),E=Math.floor(y/60),S=y%60;return(_<=0?"+":"-")+oe(E,2,"0")+":"+oe(S,2,"0")},m:function O(_,y){if(_.date()<y.date())return-O(y,_);var E=12*(y.year()-_.year())+(y.month()-_.month()),S=_.clone().add(E,j),V=y-S<0,P=_.clone().add(E+(V?-1:1),j);return+(-(E+(y-S)/(V?S-P:P-S))||0)},a:function(O){return O<0?Math.ceil(O)||0:Math.floor(O)},p:function(O){return{M:j,y:D,w:T,d:B,D:q,h:H,m:x,s:N,ms:b,Q:F}[O]||String(O||"").toLowerCase().replace(/s$/,"")},u:function(O){return O===void 0}},te="en",C={};C[te]=A;var L="$isDayjsObject",Z=function(O){return O instanceof J||!(!O||!O[L])},Q=function O(_,y,E){var S;if(!_)return te;if(typeof _=="string"){var V=_.toLowerCase();C[V]&&(S=V),y&&(C[V]=y,S=V);var P=_.split("-");if(!S&&P.length>1)return O(P[0])}else{var Y=_.name;C[Y]=_,S=Y}return!E&&S&&(te=S),S||!E&&te},m=function(O,_){if(Z(O))return O.clone();var y=typeof _=="object"?_:{};return y.date=O,y.args=arguments,new J(y)},R=pe;R.l=Q,R.i=Z,R.w=function(O,_){return m(O,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var J=function(){function O(y){this.$L=Q(y.locale,null,!0),this.parse(y),this.$x=this.$x||y.x||{},this[L]=!0}var _=O.prototype;return _.parse=function(y){this.$d=function(E){var S=E.date,V=E.utc;if(S===null)return new Date(NaN);if(R.u(S))return new Date;if(S instanceof Date)return new Date(S);if(typeof S=="string"&&!/Z$/i.test(S)){var P=S.match(v);if(P){var Y=P[2]-1||0,X=(P[7]||"0").substring(0,3);return V?new Date(Date.UTC(P[1],Y,P[3]||1,P[4]||0,P[5]||0,P[6]||0,X)):new Date(P[1],Y,P[3]||1,P[4]||0,P[5]||0,P[6]||0,X)}}return new Date(S)}(y),this.init()},_.init=function(){var y=this.$d;this.$y=y.getFullYear(),this.$M=y.getMonth(),this.$D=y.getDate(),this.$W=y.getDay(),this.$H=y.getHours(),this.$m=y.getMinutes(),this.$s=y.getSeconds(),this.$ms=y.getMilliseconds()},_.$utils=function(){return R},_.isValid=function(){return this.$d.toString()!==k},_.isSame=function(y,E){var S=m(y);return this.startOf(E)<=S&&S<=this.endOf(E)},_.isAfter=function(y,E){return m(y)<this.startOf(E)},_.isBefore=function(y,E){return this.endOf(E)<m(y)},_.$g=function(y,E,S){return R.u(y)?this[E]:this.set(S,y)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(y,E){var S=this,V=!!R.u(E)||E,P=R.p(y),Y=function(ce,e){var t=R.w(S.$u?Date.UTC(S.$y,e,ce):new Date(S.$y,e,ce),S);return V?t:t.endOf(B)},X=function(ce,e){return R.w(S.toDate()[ce].apply(S.toDate("s"),(V?[0,0,0,0]:[23,59,59,999]).slice(e)),S)},ne=this.$W,h=this.$M,fe=this.$D,ye="set"+(this.$u?"UTC":"");switch(P){case D:return V?Y(1,0):Y(31,11);case j:return V?Y(1,h):Y(0,h+1);case T:var ge=this.$locale().weekStart||0,le=(ne<ge?ne+7:ne)-ge;return Y(V?fe-le:fe+(6-le),h);case B:case q:return X(ye+"Hours",0);case H:return X(ye+"Minutes",1);case x:return X(ye+"Seconds",2);case N:return X(ye+"Milliseconds",3);default:return this.clone()}},_.endOf=function(y){return this.startOf(y,!1)},_.$set=function(y,E){var S,V=R.p(y),P="set"+(this.$u?"UTC":""),Y=(S={},S[B]=P+"Date",S[q]=P+"Date",S[j]=P+"Month",S[D]=P+"FullYear",S[H]=P+"Hours",S[x]=P+"Minutes",S[N]=P+"Seconds",S[b]=P+"Milliseconds",S)[V],X=V===B?this.$D+(E-this.$W):E;if(V===j||V===D){var ne=this.clone().set(q,1);ne.$d[Y](X),ne.init(),this.$d=ne.set(q,Math.min(this.$D,ne.daysInMonth())).$d}else Y&&this.$d[Y](X);return this.init(),this},_.set=function(y,E){return this.clone().$set(y,E)},_.get=function(y){return this[R.p(y)]()},_.add=function(y,E){var S,V=this;y=Number(y);var P=R.p(E),Y=function(h){var fe=m(V);return R.w(fe.date(fe.date()+Math.round(h*y)),V)};if(P===j)return this.set(j,this.$M+y);if(P===D)return this.set(D,this.$y+y);if(P===B)return Y(1);if(P===T)return Y(7);var X=(S={},S[x]=g,S[H]=z,S[N]=$,S)[P]||1,ne=this.$d.getTime()+y*X;return R.w(ne,this)},_.subtract=function(y,E){return this.add(-1*y,E)},_.format=function(y){var E=this,S=this.$locale();if(!this.isValid())return S.invalidDate||k;var V=y||"YYYY-MM-DDTHH:mm:ssZ",P=R.z(this),Y=this.$H,X=this.$m,ne=this.$M,h=S.weekdays,fe=S.months,ye=S.meridiem,ge=function(e,t,n,c){return e&&(e[t]||e(E,V))||n[t].slice(0,c)},le=function(e){return R.s(Y%12||12,e,"0")},ce=ye||function(e,t,n){var c=e<12?"AM":"PM";return n?c.toLowerCase():c};return V.replace(U,function(e,t){return t||function(n){switch(n){case"YY":return String(E.$y).slice(-2);case"YYYY":return R.s(E.$y,4,"0");case"M":return ne+1;case"MM":return R.s(ne+1,2,"0");case"MMM":return ge(S.monthsShort,ne,fe,3);case"MMMM":return ge(fe,ne);case"D":return E.$D;case"DD":return R.s(E.$D,2,"0");case"d":return String(E.$W);case"dd":return ge(S.weekdaysMin,E.$W,h,2);case"ddd":return ge(S.weekdaysShort,E.$W,h,3);case"dddd":return h[E.$W];case"H":return String(Y);case"HH":return R.s(Y,2,"0");case"h":return le(1);case"hh":return le(2);case"a":return ce(Y,X,!0);case"A":return ce(Y,X,!1);case"m":return String(X);case"mm":return R.s(X,2,"0");case"s":return String(E.$s);case"ss":return R.s(E.$s,2,"0");case"SSS":return R.s(E.$ms,3,"0");case"Z":return P}return null}(e)||P.replace(":","")})},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(y,E,S){var V,P=this,Y=R.p(E),X=m(y),ne=(X.utcOffset()-this.utcOffset())*g,h=this-X,fe=function(){return R.m(P,X)};switch(Y){case D:V=fe()/12;break;case j:V=fe();break;case F:V=fe()/3;break;case T:V=(h-ne)/6048e5;break;case B:V=(h-ne)/864e5;break;case H:V=h/z;break;case x:V=h/g;break;case N:V=h/$;break;default:V=h}return S?V:R.a(V)},_.daysInMonth=function(){return this.endOf(j).$D},_.$locale=function(){return C[this.$L]},_.locale=function(y,E){if(!y)return this.$L;var S=this.clone(),V=Q(y,E,!0);return V&&(S.$L=V),S},_.clone=function(){return R.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},O}(),ee=J.prototype;return m.prototype=ee,[["$ms",b],["$s",N],["$m",x],["$H",H],["$W",B],["$M",j],["$y",D],["$D",q]].forEach(function(O){ee[O[1]]=function(_){return this.$g(_,O[0],O[1])}}),m.extend=function(O,_){return O.$i||(O(_,J,m),O.$i=!0),m},m.locale=Q,m.isDayjs=Z,m.unix=function(O){return m(1e3*O)},m.en=C[te],m.Ls=C,m.p={},m})})(At);function Mt(d){try{const w=typeof d=="string"?Ot(d):d;return Ct(w,null,2)}catch(w){return console.error("Invalid JSON data:",w),d}}function ze(d){return d?typeof d=="object"&&d!==null?Mt(d):typeof d=="boolean"||typeof d=="number"||d!=null?d.toString():"-":"-"}function Oe(d,w){return w.split(".").reduce(($,g)=>$==null?void 0:$[g],d)}const bt={class:"CubeTableCom"},Dt={class:"tableContain"},It={class:"tableRow"},vt=["onMouseenter","onMouseleave"],Tt={key:0,class:"contain"},Lt={class:"pagination"},Pt=we(i.defineComponent({__name:"CustomTable",props:{loading:{type:Boolean,required:!1,default:()=>!1},bordered:{type:Boolean,required:!1,default:()=>!0},data:{type:Array,required:!0,default:()=>[]},pagination:{type:Object,required:!1,default:()=>null},columns:{type:Array,required:!0,default:()=>[]}},emits:["mouseenter","mouseleave","pageChange","pageSizeChange"],setup(d,{emit:w}){const $=i.ref(-1),g=w,z=T=>{console.log(T,"currentPage"),g("pageChange",T)},b=T=>{console.log(T,"pageSize"),g("pageSizeChange",T)},N=d;function x(T){const j=i.useSlots();return T?!!j[T]:!1}function H(T){$.value=T,g("mouseenter",T)}function B(T){$.value=-1,g("mouseleave",T)}return(T,j)=>(i.openBlock(),i.createElementBlock("div",bt,[i.createVNode(i.unref(_e.Spin),{loading:N.loading,tip:"数据加载中"},{default:i.withCtx(()=>{var F;return[i.createElementVNode("div",Dt,[i.createElementVNode("table",null,[i.createElementVNode("thead",null,[i.createElementVNode("tr",It,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(N.columns,(D,q)=>(i.openBlock(),i.createElementBlock("th",{key:q,class:i.normalizeClass({fixed:D.fixed,fixedBackground:D.fixed,lastBorder:q===N.columns.length-1}),style:i.normalizeStyle({minWidth:`${D.minWidth}px`,width:`${D.width}px`})},i.toDisplayString(D.title),7))),128))])]),i.createElementVNode("tbody",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(N.data,(D,q)=>(i.openBlock(),i.createElementBlock("tr",{key:q,class:i.normalizeClass(["tableRow",{trListHover:q===$.value}]),onMouseenter:k=>H(q),onMouseleave:k=>B(q)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(N.columns,(k,v)=>(i.openBlock(),i.createElementBlock("td",{key:v,class:i.normalizeClass({fixed:k.fixed,trListHover:q===$.value,lastBorder:v===N.columns.length-1}),style:i.normalizeStyle({minWidth:`${k.minWidth}px`,width:`${k.width}px`})},[i.createVNode(be,{open:k.ellipsis},{default:i.withCtx(()=>[x(k.slotName)?i.renderSlot(T.$slots,k.slotName,{key:0,record:D},void 0,!0):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[k.dataIndex?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[k.tooltip?(i.openBlock(),i.createBlock(i.unref(_e.Tooltip),{key:0,content:i.unref(ze)(i.unref(Oe)(D,k.dataIndex)),position:"bottom"},{default:i.withCtx(()=>[i.createElementVNode("span",null,i.toDisplayString(i.unref(Oe)(D,k.dataIndex)),1)]),_:2},1032,["content"])):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createTextVNode(i.toDisplayString(i.unref(ze)(i.unref(Oe)(D,k.dataIndex))),1)],64))],64)):i.createCommentVNode("",!0)],64))]),_:2},1032,["open"])],6))),128))],42,vt))),128))])]),N.data.length===0?(i.openBlock(),i.createElementBlock("div",Tt,[N.data.length===0?(i.openBlock(),i.createBlock(i.unref(_e.Empty),{key:0})):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0)]),i.createElementVNode("div",Lt,[N.pagination?(i.openBlock(),i.createBlock(i.unref(_e.Pagination),{key:0,modelValue:N.pagination.current,"onUpdate:modelValue":j[0]||(j[0]=D=>N.pagination.current=D),total:((F=N.pagination)==null?void 0:F.total)||0,pageSize:d.pagination.pageSize,showTotal:d.pagination.showTotal,showJumper:d.pagination.showJumper,showPageSize:d.pagination.showPageSize,onChange:z,onPageSizeChange:b},null,8,["modelValue","total","pageSize","showTotal","showJumper","showPageSize"])):i.createCommentVNode("",!0)])]}),_:3},8,["loading"])]))}}),[["__scopeId","data-v-3faa7a7d"]]),zt=we(i.defineComponent({__name:"Gradientbackground",props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},zIndex:{type:String,default:"-1"},top:{type:String,default:"10%"},left:{type:String,default:"0%"},right:{type:String,default:"auto"},blur:{type:String,default:"0px"},background:{type:String,required:!1,default:()=>"linear-gradient(180deg, rgb(0 225 10 / 10%) 0.31%, rgb(26 214 255 / 52%) 74.99%, rgb(220 189 0 / 0%) 99.69%)"}},setup(d){const w=d,$=i.computed(()=>({pointerEvents:"none",position:"absolute",zIndex:w.zIndex,width:w.width,height:w.height,filter:`blur(${w.blur})`})),g=i.computed(()=>({width:"100%",height:"100%",background:w.background}));return(z,b)=>(i.openBlock(),i.createElementBlock("div",{class:"ellipsis",style:i.normalizeStyle($.value)},[i.createElementVNode("div",{class:"ellipsis-item",style:i.normalizeStyle(g.value)},null,4)],4))}}),[["__scopeId","data-v-86f287cc"]]);ae.Collapse=Qe,ae.CollapseItem=pt,ae.ContentHead=wt,ae.CustomTable=Pt,ae.Ellipsis=be,ae.Gradientbackground=zt,ae.InfiniteLoading=Ze,ae.SvgIcon=je,ae.WidthContainer=St,Object.defineProperty(ae,Symbol.toStringTag,{value:"Module"})});
package/dist/main.d.ts CHANGED
@@ -6,4 +6,5 @@ import { default as ContentHead } from './components/ContentHead.vue';
6
6
  import { default as Ellipsis } from './components/Ellipsis.vue';
7
7
  import { default as WidthContainer } from './components/WidthContainer.vue';
8
8
  import { default as CustomTable } from './components/CustomTable.vue';
9
- export { SvgIcon, InfiniteLoading, Collapse, CollapseItem, ContentHead, Ellipsis, WidthContainer, CustomTable, };
9
+ import { default as Gradientbackground } from './components/Gradientbackground.vue';
10
+ export { SvgIcon, InfiniteLoading, Collapse, CollapseItem, ContentHead, Ellipsis, WidthContainer, CustomTable, Gradientbackground, };
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .SvgIcon[data-v-003a51d4]{width:1em;height:1em}.infinite-loading .loading[data-v-ffa0deb7]{display:flex;align-items:center;justify-content:center}.infinite-loading .loading .text[data-v-ffa0deb7]{color:#999;font-size:16px}.infinite-loading .none[data-v-ffa0deb7]{display:flex;align-items:center;justify-content:center}.infinite-loading .none .text[data-v-ffa0deb7]{color:#999;font-size:14px}.collapse-container[data-v-37af01ec]{display:flex;flex-direction:column;gap:8px;width:100%}.collapse-item[data-v-f2e1f58c]{display:flex;flex-direction:column;border-bottom:1px solid rgb(229,230,235)}.collapse-item.no-border[data-v-f2e1f58c]{border-bottom:none}.collapse-header[data-v-f2e1f58c]{display:flex;align-items:center;justify-content:space-between;width:100%;padding:20px 0;font-size:18px;cursor:pointer;background:none;border:none;text-align:left;transition:color .3s}.collapse-icon[data-v-f2e1f58c]{transition:transform .2s;font-size:18px}.collapse-icon.rotated[data-v-f2e1f58c]{transform:rotate(90deg)}.collapse-content[data-v-f2e1f58c]{overflow:hidden;padding:0 0 20px;color:#213547cc;font-size:16px}.ContentHead[data-v-f1ddfae6]{display:flex;flex-direction:column;margin-bottom:50px}.ContentHead .title[data-v-f1ddfae6]{display:flex;flex-direction:row;justify-content:center;align-items:center;font-family:Polysans median,sans-serif;font-size:3rem;font-weight:600}.ContentHead .description[data-v-f1ddfae6]{line-height:36px;font-size:18px;font-family:Polysans neutral,sans-serif}.ellipsis[data-v-470c9c2f]{pointer-events:none}.ellipsis-item[data-v-470c9c2f]{width:100%;height:100%}.WidthContainer[data-v-1e360997]{max-width:1344px;padding:0 32px;display:flex;flex:1;width:1344px}.CubeTableCom[data-v-3faa7a7d]{display:flex;flex-direction:column;flex:1}.tableContain[data-v-3faa7a7d]{display:flex;flex-direction:column;flex:1;font-size:14px;border-top:1px solid var(--color-border);border-left:1px solid var(--color-border);border-right:1px solid var(--color-border);overflow-x:auto;overflow-y:hidden}table[data-v-3faa7a7d]{border-collapse:collapse;width:100%}tr[data-v-3faa7a7d]{width:100%}th[data-v-3faa7a7d],td[data-v-3faa7a7d]{text-align:left;padding:9px 16px}th[data-v-3faa7a7d]{background-color:var(--color-fill-2);color:var(--color-text);border-bottom:1px solid var(--color-border)}td[data-v-3faa7a7d]{color:var(--color-text-secondary);border-bottom:1px solid var(--color-border)}.fixed[data-v-3faa7a7d]{position:sticky;right:0;background:#fff;z-index:2}.fixedBackground[data-v-3faa7a7d]{background-color:var(--color-fill-2)}.lastBorder[data-v-3faa7a7d]{border-left:1px solid var(--color-border)}.trListHover[data-v-3faa7a7d]{transition:background-color .2s;background-color:var(--color-fill-2)}.contain[data-v-3faa7a7d]{display:flex;height:200px;align-items:center;justify-content:center;border-bottom:1px solid var(--color-border)}.pagination[data-v-3faa7a7d]{display:flex;flex:1;justify-content:flex-end;margin-top:12px}.tableRow[data-v-3faa7a7d]>:not(:nth-last-child(-n+2)){border-right:1px solid var(--color-border)}
1
+ :root{--bg-white: rgb(255 255 255);--bg-black: rgb(0 0 0);--bg-zinc-950: rgb(9 9 11);--bg-zinc-900: rgb(24 24 27);--bg-zinc-800: rgb(39 39 42);--bg-zinc-700: rgb(63 63 70);--bg-zinc-600: rgb(82 82 91);--bg-zinc-500: rgb(113 113 122);--bg-zinc-400: rgb(161, 161, 170);--bg-slate-50: rgb(248 250 252);--bg-slate-300: rgb(203 213 225);--bg-amber-400: rgb(251 191 36);--bg-green-600: rgb(22 163 74);--bg-green-400: rgb(74 222 128);--bg-emerald-600: rgb(5 150 105);--bg-main: #165dff;--bg-main-hover: rgba(98, 204, 160, .8);--bg-default: rgba(63, 63, 70, 1);--bg-default-hover: rgba(63, 63, 70, .8);--bg-warning: rgba(234, 179, 8, .8);--bg-warning-hover: rgba(234, 179, 8, 1);--bg-red-500: rgb(239 68 68);--bg-yellow-500: rgb(234 179 8);--bg-gray-300: rgb(209 213 219);--bg-gray-700: rgb(63 63 70);--font-size-12: 12px;--font-size-14: 14px;--font-size-16: 16px;--font-size-18: 18px;--font-size-32: 32px;--font-size-50: 50px;--h-50: 50px;--h-header: 54px}.SvgIcon[data-v-003a51d4]{width:1em;height:1em}.infinite-loading .loading[data-v-ffa0deb7]{display:flex;align-items:center;justify-content:center}.infinite-loading .loading .text[data-v-ffa0deb7]{color:#999;font-size:16px}.infinite-loading .none[data-v-ffa0deb7]{display:flex;align-items:center;justify-content:center}.infinite-loading .none .text[data-v-ffa0deb7]{color:#999;font-size:14px}.collapse-container[data-v-37af01ec]{display:flex;flex-direction:column;gap:8px;width:100%}.collapse-item[data-v-f2e1f58c]{display:flex;flex-direction:column;border-bottom:1px solid rgb(229,230,235)}.collapse-item.no-border[data-v-f2e1f58c]{border-bottom:none}.collapse-header[data-v-f2e1f58c]{display:flex;align-items:center;justify-content:space-between;width:100%;padding:20px 0;font-size:18px;cursor:pointer;background:none;border:none;text-align:left;transition:color .3s}.collapse-icon[data-v-f2e1f58c]{transition:transform .2s;font-size:18px}.collapse-icon.rotated[data-v-f2e1f58c]{transform:rotate(90deg)}.collapse-content[data-v-f2e1f58c]{overflow:hidden;padding:0 0 20px;color:#213547cc;font-size:16px}.ContentHead[data-v-f1ddfae6]{display:flex;flex-direction:column;margin-bottom:50px}.ContentHead .title[data-v-f1ddfae6]{display:flex;flex-direction:row;justify-content:center;align-items:center;font-family:Polysans median,sans-serif;font-size:3rem;font-weight:600}.ContentHead .description[data-v-f1ddfae6]{line-height:36px;font-size:18px;font-family:Polysans neutral,sans-serif}.ellipsis[data-v-d7daaa2e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.WidthContainer[data-v-1e360997]{max-width:1344px;padding:0 32px;display:flex;flex:1;width:1344px}.CubeTableCom[data-v-3faa7a7d]{display:flex;flex-direction:column;flex:1}.tableContain[data-v-3faa7a7d]{display:flex;flex-direction:column;flex:1;font-size:14px;border-top:1px solid var(--color-border);border-left:1px solid var(--color-border);border-right:1px solid var(--color-border);overflow-x:auto;overflow-y:hidden}table[data-v-3faa7a7d]{border-collapse:collapse;width:100%}tr[data-v-3faa7a7d]{width:100%}th[data-v-3faa7a7d],td[data-v-3faa7a7d]{text-align:left;padding:9px 16px}th[data-v-3faa7a7d]{background-color:var(--color-fill-2);color:var(--color-text);border-bottom:1px solid var(--color-border)}td[data-v-3faa7a7d]{color:var(--color-text-secondary);border-bottom:1px solid var(--color-border)}.fixed[data-v-3faa7a7d]{position:sticky;right:0;background:#fff;z-index:2}.fixedBackground[data-v-3faa7a7d]{background-color:var(--color-fill-2)}.lastBorder[data-v-3faa7a7d]{border-left:1px solid var(--color-border)}.trListHover[data-v-3faa7a7d]{transition:background-color .2s;background-color:var(--color-fill-2)}.contain[data-v-3faa7a7d]{display:flex;height:200px;align-items:center;justify-content:center;border-bottom:1px solid var(--color-border)}.pagination[data-v-3faa7a7d]{display:flex;flex:1;justify-content:flex-end;margin-top:12px}.tableRow[data-v-3faa7a7d]>:not(:nth-last-child(-n+2)){border-right:1px solid var(--color-border)}.ellipsis[data-v-86f287cc]{pointer-events:none}.ellipsis-item[data-v-86f287cc]{width:100%;height:100%}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@huyooo/ui",
3
3
  "private": false,
4
- "version": "0.1.16",
4
+ "version": "0.1.19",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.js",
@@ -35,5 +35,5 @@
35
35
  "@arco-design/web-vue": "^2.56.3",
36
36
  "@iconify/vue": "^4.1.2"
37
37
  },
38
- "gitHead": "80ac06cd5527b0abefc698b251c604d86197a49b"
38
+ "gitHead": "0e56331896b4049a6aee8df7bd1b8f97fcbdbf11"
39
39
  }