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-legacy559.js
!function(){function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,r,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.toStringTag||"@@toStringTag";function a(t,o,i,u){var a=o&&o.prototype instanceof l?o:l,f=Object.create(a.prototype);return n(f,"_invoke",function(t,n,o){var i,u,a,l=0,f=o||[],s=!1,p={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,u=0,a=e,p.n=n,c}};function v(t,n){for(u=t,a=n,r=0;!s&&l&&!o&&r<f.length;r++){var o,i=f[r],v=p.p,d=i[2];t>3?(o=d===n)&&(a=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=t<2&&v<i[1])?(u=0,p.v=n,p.n=i[1]):v<d&&(o=t<3||i[0]>n||n>d)&&(i[4]=t,i[5]=n,p.n=d,u=0))}if(o||t>1)return c;throw s=!0,n}return function(o,f,d){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&v(f,d),u=f,a=d;(r=u<2?e:a)||!s;){i||(u?u<3?(u>1&&(p.n=-1),v(u,a)):p.n=a:p.v=a);try{if(l=2,i){if(u||(o="next"),r=i[o]){if(!(r=r.call(i,a)))throw TypeError("iterator result is not an object");if(!r.done)return r;a=r.value,u<2&&(u=0)}else 1===u&&(r=i.return)&&r.call(i),u<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((r=(s=p.n<0)?a:t.call(n,p))!==c)break}catch(r){i=e,u=1,a=r}finally{l=1}}return{value:r,done:s}}}(t,i,u),!0),f}var c={};function l(){}function f(){}function s(){}r=Object.getPrototypeOf;var p=[][i]?r(r([][i]())):(n(r={},i,function(){return this}),r),v=s.prototype=l.prototype=Object.create(p);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,n(t,u,"GeneratorFunction")),t.prototype=Object.create(v),t}return f.prototype=s,n(v,"constructor",s),n(s,"constructor",f),f.displayName="GeneratorFunction",n(s,u,"GeneratorFunction"),n(v),n(v,u,"Generator"),n(v,i,function(){return this}),n(v,"toString",function(){return"[object Generator]"}),(t=function(){return{w:a,m:d}})()}function n(t,e,r,o){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}n=function(t,e,r,o){function u(e,r){n(t,e,function(t){return this._invoke(e,r,t)})}e?i?i(t,e,{value:r,enumerable:!o,configurable:!o,writable:!o}):t[e]=r:(u("next",0),u("throw",1),u("return",2))},n(t,e,r,o)}function e(t,n,e,r,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void e(t)}a.done?n(c):Promise.resolve(c).then(r,o)}function r(t){return function(){var n=this,r=arguments;return new Promise(function(o,i){var u=t.apply(n,r);function a(t){e(u,o,i,a,c,"next",t)}function c(t){e(u,o,i,a,c,"throw",t)}a(void 0)})}}System.register(["./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./form-item-legacy.js?v=1777008528","./page-legacy12.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy110.js?v=1777008528","./use-file-editor-legacy.js?v=1777008528","./index-legacy432.js?v=1777008528"],function(n,e){"use strict";var o,i,u,a,c,l,f,s,p,v,d,y,m;return{setters:[function(t){o=t.O,i=t.f},function(t){u=t.c,a=t.x,c=t.y,l=t.e,f=t.z,s=t.bm},function(t){p=t.b,v=t.c,d=t.f},function(t){y=t.S,m=t.a7},null,null,null,null],execute:function(){var e={class:"p-[20px]"};n("default",u({__name:"index",props:{compData:{}},setup:function(n,u){var b,h,g,j=u.expose,w=n,_=s(),x=null==_?void 0:_.appContext.config.globalProperties.close,O=function(n){var e,u,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=(null==a||null===(e=a.data)||void 0===e||null===(e=e.list)||void 0===e?void 0:e.default)||{},l="".concat(n,"_url"),f=(null==a?void 0:a[l])||"",s={title:c.title||"",url:f},b=(null===(u=y.find(function(t){return t.value===n}))||void 0===u?void 0:u.label)||n,h=o({data:function(){return s},options:[p("名称","title",{rules:[{required:!0,message:"请输入机器人名称或备注"}],attrs:{placeholder:"机器人名称或备注"}}),v("URL","url",{rules:[{required:!0,message:"请输入机器人URL"}],attrs:{placeholder:"请输入".concat(b,"机器人URL"),rows:4}}),d("",[{content:"如何创建".concat(b,"机器人,请参考官方文档")}])]}),g=h.BtForm,j=h.param,w=h.validate;function _(){return(_=r(t().m(function e(){return t().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,w();case 1:if(t.v){t.n=2;break}return t.a(2,!1);case 2:if(j.value.url.trim()){t.n=3;break}return i().warn("请输入机器人URL"),t.a(2,!1);case 3:return t.n=4,m(n,j.value.url.trim(),j.value.title.trim());case 4:if(!t.v){t.n=5;break}return i().success("保存成功"),t.a(2,!0);case 5:return t.a(2,!1)}},e)}))).apply(this,arguments)}return{BtForm:g,param:j,handleSubmit:function(){return _.apply(this,arguments)},channelLabel:b}}((null===(b=w.compData)||void 0===b?void 0:b.channelType)||"dingding",(null===(h=w.compData)||void 0===h?void 0:h.channelConfig)||{}),S=O.BtForm,k=O.handleSubmit;return j({onConfirm:(g=r(t().m(function n(){return t().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,k();case 1:if(!t.v){t.n=2;break}return null==x||x(),t.a(2,!0);case 2:return t.a(2,!1)}},n)})),function(){return g.apply(this,arguments)})}),function(t,n){return a(),c("div",e,[l(f(S))])}}}))}}})}();