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/index-legacy149.js
!function(){function e(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):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 t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.toStringTag||"@@toStringTag";function c(n,o,a,i){var c=o&&o.prototype instanceof u?o:u,s=Object.create(c.prototype);return r(s,"_invoke",function(n,r,o){var a,i,c,u=0,s=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,i=0,c=e,d.n=n,l}};function p(n,r){for(i=n,c=r,t=0;!f&&u&&!o&&t<s.length;t++){var o,a=s[t],p=d.p,m=a[2];n>3?(o=m===r)&&(c=a[(i=a[4])?5:(i=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(i=0,d.v=r,d.n=a[1]):p<m&&(o=n<3||a[0]>r||r>m)&&(a[4]=n,a[5]=r,d.n=m,i=0))}if(o||n>1)return l;throw f=!0,r}return function(o,s,m){if(u>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,m),i=s,c=m;(t=i<2?e:c)||!f;){a||(i?i<3?(i>1&&(d.n=-1),p(i,c)):d.n=c:d.v=c);try{if(u=2,a){if(i||(o="next"),t=a[o]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,i<2&&(i=0)}else 1===i&&(t=a.return)&&t.call(a),i<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),i=1);a=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==l)break}catch(t){a=e,i=1,c=t}finally{u=1}}return{value:t,done:f}}}(n,a,i),!0),s}var l={};function u(){}function s(){}function f(){}t=Object.getPrototypeOf;var d=[][a]?t(t([][a]())):(r(t={},a,function(){return this}),t),p=f.prototype=u.prototype=Object.create(d);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,i,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=f,r(p,"constructor",f),r(f,"constructor",s),s.displayName="GeneratorFunction",r(f,i,"GeneratorFunction"),r(p),r(p,i,"Generator"),r(p,a,function(){return this}),r(p,"toString",function(){return"[object Generator]"}),(n=function(){return{w:c,m:m}})()}function r(e,t,n,o){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}r=function(e,t,n,o){function i(t,n){r(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!o,configurable:!o,writable:!o}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},r(e,t,n,o)}function o(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function a(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function c(e){o(i,r,a,c,l,"next",e)}function l(e){o(i,r,a,c,l,"throw",e)}c(void 0)})}}System.register(["./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./add-compose-template-legacy.js?v=1777008528","./index-legacy116.js?v=1777008528","./index-legacy3.js?v=1777008528","./useMethods-legacy.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./form-item-legacy.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy130.js?v=1777008528","./ace-legacy.js?v=1777008528"],function(t,r){"use strict";var o,i,c,l,u,s,f,d,p,m,y,v,h,b,g,_,j,x,w,k,S,C,O,T,V,A,I,L,P,G,E,U;return{setters:[function(e){o=e.L,i=e.M,c=e.k,l=e.hM,u=e.hN,s=e.d3,f=e.cZ,d=e.cR},function(e){p=e.c,m=e.H,y=e.r,v=e.I,h=e.j,b=e.k,g=e.e,_=e.v,j=e.q,x=e.p,w=e.x,k=e.J,S=e.s,C=e.R,O=e.av,T=e.U,V=e.z,A=e.ab,I=e.Q,L=e.aE},function(e){P=e.default},function(e){G=e._},function(e){E=e.w},function(e){U=e.i},null,null,null,null,null],execute:function(){var r={class:"container-dialog !p-0"},F={class:"flex items-center relative"},M={class:"table w-full mt-[1rem]"},N={class:"pl-[2rem]"},R={class:"help-info-text c7 list-disc text-[#ff0000] mt-[1.5rem]"},q=p({__name:"search-local-template",emits:["close","complate"],setup:function(t,f){var d=f.expose,p=f.emit,I=o().refs.isRefreshTemplateList,L=m({path:"",checked:!1}),P=m({loading:!1,list:[],selection:[]}),q=U(),D=y(),J=m({selectList:[]}),z=function(){E({type:"dir",change:function(e){L.path=e}})},H=function(){var e=a(n().m(function e(){return n().w(function(e){for(;;)switch(e.n){case 0:if(""!==L.path){e.n=1;break}return i.error("请选择路径"),e.a(2,!1);case 1:c({request:l({data:JSON.stringify({path:L.path,sub_dir:L.checked?"1":"0"})}),data:[Array,O(P,"list")],loading:O(P,"loading")});case 2:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),Q=function(e){J.selectList=e};return d({confirm:function(){0!==J.selectList.length?c({request:u({data:JSON.stringify({template_list:J.selectList})}),message:!0,success:function(e){e.status&&(p("complate",e),I.value=!0,p("close"))}}):i.error("请选择模板")}}),function(t,n){var o=G,a=T,i=V,c=s,l=A,u=v("bt-loading");return h(),b("div",r,[g(l,{ref_key:"cmdFormRef",ref:D,size:"default",model:x(L),class:"relative w-full","label-position":"right",onSubmit:n[3]||(n[3]=C(function(){},["prevent"]))},{default:_(function(){return[j("div",F,[g(o,{modelValue:x(L).path,"onUpdate:modelValue":n[0]||(n[0]=function(e){return x(L).path=e}),width:"51rem",icon:"icon-file_mode",onIconClick:z,onChangePassive:n[1]||(n[1]=function(e){L.path=L.path.replace(/\s+/g,"")}),placeholder:"请输入镜像路径"},null,8,["modelValue"]),g(a,{class:"!absolute top-[0rem] left-[36rem]",modelValue:x(L).checked,"onUpdate:modelValue":n[2]||(n[2]=function(e){return x(L).checked=e})},{default:_(function(){return e(n[4]||(n[4]=[w("包含子目录",-1)]))}),_:1},8,["modelValue"]),g(i,{class:"ml-8px",type:"primary",onClick:H},{default:_(function(){return e(n[5]||(n[5]=[w("搜索",-1)]))}),_:1})]),j("div",M,[k(g(c,{ref:"ftpTable",column:x(q),height:"33rem",data:x(P).list,description:"模板列表为空",onSelectionChange:Q},null,8,["column","data"]),[[u,x(P).loading],[u,"正在加载模板列表,请稍后...","title"]])]),j("div",N,[j("ul",R,[j("li",null,"选中需要添加的Compose 【已选中:"+S(x(J).selectList.length)+"个】",1)])])]}),_:1},8,["model"])])}}}),D=f(q,[["__scopeId","data-v-533d0cb7"]]),J={class:"flex flex-col p-[1.6rem] lib-box"},z=p({__name:"index",props:{compData:{default:function(){return{}}}},emits:["close"],setup:function(e,t){var r=t.expose,o=t.emit,i=e,c=y("first"),l=y(),u=y(),s=function(e){var t;null!==(t=i.compData)&&void 0!==t&&t.callback&&i.compData.callback(e)},f=function(){var e=a(n().m(function e(){return n().w(function(e){for(;;)switch(e.n){case 0:try{"first"==c.value?l.value.onConfirm():u.value.confirm()}catch(t){}case 1:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),p=function(){o("close")};return r({onConfirm:f}),function(e,t){var n=L,r=d;return h(),b("div",J,[g(r,{type:"card",modelValue:x(c),"onUpdate:modelValue":t[0]||(t[0]=function(e){return I(c)?c.value=e:null})},{default:_(function(){return[g(n,{label:"添加Compose模板",name:"first"},{default:_(function(){return[g(P,{ref_key:"first",ref:l,onClose:p,onComplate:s},null,512)]}),_:1}),g(n,{label:"搜索本地模板",name:"second"},{default:_(function(){return[g(D,{ref_key:"second",ref:u,onClose:p,onComplate:s},null,512)]}),_:1})]}),_:1},8,["modelValue"])])}}});t("default",f(z,[["__scopeId","data-v-693d7602"]]))}}})}();