!function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}System.register(["./base-lib-legacy.js?v=1761009159","./index-legacy48.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./validator-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./column-legacy.js?v=1761009159","./index-legacy112.js?v=1761009159","./index-legacy107.js?v=1761009159","./store-legacy3.js?v=1761009159","./store-legacy4.js?v=1761009159","./config-legacy.js?v=1761009159","./store-legacy5.js?v=1761009159","./hooks-legacy.js?v=1761009159"],function(t,n){"use strict";var l,o,i,r,u,s,a,c,f,d,p,v,y,g,m,b,h,x,w,j,_,k,S,N,H,T,z;return{setters:[function(e){l=e.c,o=e.s,i=e.g,r=e.r,u=e.q,s=e.a6,a=e.v,c=e.x,f=e.z,d=e.e,p=e.B,v=e.K,y=e.F,g=e.b0,m=e.N,b=e.y,h=e.A,x=e.L,w=e.C,j=e.az,_=e.bc,k=e.b5,S=e.bd},function(e){N=e.a,H=e.b},function(e){T=e.u,z=e._},null,null,null,null,null,null,null,null,null,null,null],execute:function(){var n={class:"module-ui flex"},q={class:"flex flex-row items-end justify-between w-full"},A={class:"pb-[.2rem] text-base truncate block disk-list-title"},B={class:"text-base text-darkTertiary font-400 font-alibaba-bold disk-list-desc"},C={class:"flex flex-col justify-center items-center h-full"},F=l({__name:"disk-main-tile",props:{list:{default:function(){return[]}}},emits:["update:visible","openPopover","show","hide"],setup:function(t,l){l.emit;var z=T().mainWidth,F=N();o(F);var I=i(function(){return z.value<=1600?130:144}),K=r(12),L=i(function(){return K.value+4}),P=r(null),W=null;function $(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:120;W&&clearTimeout(W),W=setTimeout(function(){P.value=e},t)}u(function(){});var D=function(e,t){if(null!==P.value&&P.value!==t)return"#eaeaea";var n=e.info.range;return Number(n)>90?"#ef0808":Number(n)>80?"#ff9900":"#20a53a"},E=function(e){return I.value-e*L.value*2},G=function(e){var t=E(e);return{left:(I.value-t)/2+"px",top:(I.value-t)/2+"px"}};return u(function(){F.init()}),s(F.$reset),function(t,l){var o=j,i=_,r=k,u=S;return a(),c("div",n,[f("div",q,[d(u,{span:24,class:"w-full"},{default:p(function(){return[d(i,{span:16,xl:16},{default:p(function(){return[f("div",{class:v(["h-full flex-2 gap-y-[10px]",2===t.list.length?"grid grid-cols-1 grid-rows-2":"grid grid-cols-2 grid-rows-2"])},[(a(!0),c(y,null,g(t.list,function(t,n){return a(),m(o,{key:t.info.title+"-"+n,trigger:"hover",width:400,placement:"bottom-start",teleported:!1,"popper-class":"el-popover-shadow","hide-after":0,onShow:function(e){return $(n)},onHide:l[0]||(l[0]=function(e){return $(null)})},{reference:p(function(){var o,i,r,u;return[f("div",{class:v(["flex flex-col justify-end cursor-pointer",{"is-inactive":null!==b(P)&&b(P)!==n}])},[f("span",A,h(t.info.title),1),f("span",{class:"text-[2.6rem] font-700 leading-[1.2] disk-list-range",style:x({color:D(t,n)})},h(t.info.range)+"%",5),f("span",B,["object"===e(t.info.desc)&&"disk"===t.info.type?(a(),c(y,{key:0},[f("span",{style:x({color:t.info.color})},[f("span",null,h(null===(o=t.info.desc)||void 0===o?void 0:o.used)+h(null===(i=t.info.desc)||void 0===i?void 0:i.used_unit),1)],4),l[2]||(l[2]=f("span",null,"/",-1)),f("span",null,h(null===(r=t.info.desc)||void 0===r?void 0:r.total)+h(null===(u=t.info.desc)||void 0===u?void 0:u.total_unit),1)],64)):(a(),c(y,{key:1},[w(h(t.info.desc),1)],64))])],2)]}),default:p(function(){return[d(H,{item:t},null,8,["item"])]}),_:2},1032,["onShow"])}),128))],2)]}),_:1}),d(i,{span:8,xl:8},{default:p(function(){return[f("div",C,[f("div",{class:"flex relative",style:x({width:b(I)+"px",height:b(I)+"px"})},[(a(!0),c(y,null,g(t.list,function(e,t){return a(),m(o,{key:e.info.title,trigger:"hover",width:400,placement:"bottom-start",teleported:!1,"popper-class":"el-popover-shadow","show-after":100,"hide-after":0,transition:"none",onShow:function(e){return $(t)},onHide:l[1]||(l[1]=function(e){return $(null)})},{reference:p(function(){return[f("div",{class:"flex absolute",style:x(G(t))},[d(r,{class:v(["cursor-pointer",{"mount-progress":"None"===e.data.path}]),type:"circle","show-text":!1,width:E(t),"stroke-width":b(K),color:D(e,t),percentage:e.info.range||0},null,8,["class","width","stroke-width","color","percentage"])],4)]}),default:p(function(){return[d(H,{item:e},null,8,["item"])]}),_:2},1032,["onShow"])}),128))],4)])]}),_:1})]}),_:1})])])}}});t("default",z(F,[["__scopeId","data-v-3347a55f"]]))}}})}();
