HEX
Server: nginx/1.28.3
System: Linux ip-172-31-12-242 6.17.0-1007-aws #7~24.04.1-Ubuntu SMP Thu Jan 22 21:04:49 UTC 2026 x86_64
User: root (0)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/server/panel/BTPanel/static/js/disk-main-aapanel-legacy.js
!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)}function t(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var l=0,n=Array(t);l<t;l++)n[l]=e[l];return n}System.register(["./base-lib-legacy.js?v=1777008528","./index-legacy53.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./validator-legacy.js?v=1777008528","./index-legacy111.js?v=1777008528","./column-legacy.js?v=1777008528","./index-legacy108.js?v=1777008528","./index-legacy117.js?v=1777008528","./index-legacy112.js?v=1777008528","./store-legacy.js?v=1777008528","./store-legacy2.js?v=1777008528","./config-legacy.js?v=1777008528","./useController-legacy13.js?v=1777008528","./ssl-legacy.js?v=1777008528","./useStore-legacy7.js?v=1777008528","./useStore-legacy12.js?v=1777008528","./useController-legacy2.js?v=1777008528","./site-legacy.js?v=1777008528","./index-legacy110.js?v=1777008528","./useStore-legacy2.js?v=1777008528","./useStore-legacy3.js?v=1777008528","./useController-legacy3.js?v=1777008528","./useController-legacy4.js?v=1777008528","./useController-legacy5.js?v=1777008528","./useMethod-legacy2.js?v=1777008528","./index-legacy119.js?v=1777008528","./useController-legacy6.js?v=1777008528","./useMethod-legacy9.js?v=1777008528","./useMethod-legacy7.js?v=1777008528","./store-legacy3.js?v=1777008528","./hooks-legacy.js?v=1777008528"],function(l,n){"use strict";var r,o,i,s,u,a,c,f,d,y,p,g,v,m,h,b,j,x,w,_,S,k,A,C,M,z,B,I;return{setters:[function(e){r=e.c,o=e.s,i=e.g,s=e.r,u=e.v,a=e.a8,c=e.x,f=e.y,d=e.A,y=e.e,p=e.C,g=e.L,v=e.z,m=e.F,h=e.b2,b=e.O,j=e.B,x=e.M,w=e.D,_=e.G,S=e.aA,k=e.bc,A=e.b7,C=e.bd},function(e){M=e.a,z=e.b},function(e){B=e.u,I=e._},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var n={class:"flex flex-1"},N={class:"flex flex-row items-start justify-between w-full"},P={class:"w-full pb-[.2rem] text-base truncate disk-list-title"},T={class:"text-base text-darkTertiary font-400 font-alibaba-bold disk-list-desc"},H={class:"flex flex-col justify-center items-center h-full"},O=r({__name:"disk-main-aapanel",props:{list:{default:function(){return[]}}},emits:["update:visible","openPopover","show","hide"],setup:function(l,r){r.emit;var I=B().mainWidth,O=M();o(O);var $=l,D=i(function(){return I.value<=1600?130:144}),E=s(12),F=i(function(){return E.value+4}),G=s(null),L=null;function U(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:120;L&&clearTimeout(L),L=setTimeout(function(){G.value=e},t)}u(function(){});var W=i(function(){var e=Array.isArray($.list)?t($.list):[],l=4-e.length;if(l>0)for(var n=0;n<l;n++)e.push({show:!1,data:{byte_size:[0,0,0],path:"",size:["0 B","0 B","0 B","0%","0.00 b","0"],filesystem:"",type:"",inodes:[0,0,0,"0%"],d_size:"None",rname:""},info:{type:"disk",title:"",range:0,desc:{total:"0",used:"0",total_unit:"",used_unit:""}},isPlaceholder:!0});return e}),q=function(e,t){if(null!==G.value&&G.value!==t)return"#eaeaea";var l=e.info.range;return Number(l)>90?"#ef0808":Number(l)>80?"#ff9900":"var(--el-color-primary)"},J=function(e){return D.value-e*F.value*2},K=function(e){var t=J(e);return{left:(D.value-t)/2+"px",top:(D.value-t)/2+"px"}};return u(function(){O.init()}),a(O.$reset),function(t,l){var r=S,o=k,i=A,s=C;return c(),f("div",n,[d("div",N,[y(s,{span:24,class:"w-full"},{default:p(function(){return[y(o,{span:16,xl:16},{default:p(function(){return[d("div",{class:g(["h-full flex-2 gap-[4px]",2===v(W).length?"grid grid-cols-1 grid-rows-2":"grid grid-cols-2 grid-rows-2"])},[(c(!0),f(m,null,h(v(W),function(t,n){return c(),f(m,{key:t.info.title+"-"+n},[t.isPlaceholder?_("",!0):(c(),b(r,{key:0,trigger:"hover",width:400,placement:"bottom-start",teleported:!1,"popper-class":"el-popover-shadow","hide-after":0,onShow:function(e){return U(n)},onHide:l[0]||(l[0]=function(e){return U(null)})},{reference:p(function(){var r,o,i,s;return[d("div",{class:g(["flex flex-wrap items-baseline cursor-pointer",{"is-inactive":null!==v(G)&&v(G)!==n}])},[d("span",P,j(t.info.title),1),d("span",{class:"text-[2.2rem] font-700 leading-[1.2] mr-4 disk-list-range",style:x({color:q(t,n,"list")})},j(t.info.range)+"%",5),d("span",T,["object"===e(t.info.desc)&&"disk"===t.info.type?(c(),f(m,{key:0},[d("span",{style:x({color:t.info.color})},[d("span",null,j(null===(r=t.info.desc)||void 0===r?void 0:r.used)+j(null===(o=t.info.desc)||void 0===o?void 0:o.used_unit),1)],4),l[2]||(l[2]=d("span",null,"/",-1)),d("span",null,j(null===(i=t.info.desc)||void 0===i?void 0:i.total)+j(null===(s=t.info.desc)||void 0===s?void 0:s.total_unit),1)],64)):(c(),f(m,{key:1},[w(j(t.info.desc),1)],64))])],2)]}),default:p(function(){return[y(z,{item:t},null,8,["item"])]}),_:2},1032,["onShow"]))],64)}),128))],2)]}),_:1}),y(o,{span:8,xl:8},{default:p(function(){return[d("div",H,[d("div",{class:"flex relative",style:x({width:v(D)+"px",height:v(D)+"px"})},[(c(!0),f(m,null,h(v(W),function(e,t){return c(),b(r,{key:e.info.title,disabled:e.isPlaceholder,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 U(t)},onHide:l[1]||(l[1]=function(e){return U(null)})},{reference:p(function(){return[d("div",{class:"flex absolute",style:x(K(t))},[y(i,{class:g(["cursor-pointer",{"mount-progress":"None"===e.data.path}]),type:"circle","show-text":!1,width:J(t),"stroke-width":v(E),color:q(e,t),percentage:e.info.range||0},null,8,["class","width","stroke-width","color","percentage"])],4)]}),default:p(function(){return[y(z,{item:e},null,8,["item"])]}),_:2},1032,["disabled","onShow"])}),128))],4)])]}),_:1})]}),_:1})])])}}});l("default",I(O,[["__scopeId","data-v-60645521"]]))}}})}();