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/pull-mirror-select-dialog-legacy.js
!function(){function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,r,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function i(n,o,u,a){var i=o&&o.prototype instanceof l?o:l,f=Object.create(i.prototype);return e(f,"_invoke",function(n,e,o){var u,a,i,l=0,f=o||[],s=!1,p={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(n,e){return u=n,a=0,i=t,p.n=e,c}};function d(n,e){for(a=n,i=e,r=0;!s&&l&&!o&&r<f.length;r++){var o,u=f[r],d=p.p,v=u[2];n>3?(o=v===e)&&(i=u[(a=u[4])?5:(a=3,3)],u[4]=u[5]=t):u[0]<=d&&((o=n<2&&d<u[1])?(a=0,p.v=e,p.n=u[1]):d<v&&(o=n<3||u[0]>e||e>v)&&(u[4]=n,u[5]=e,p.n=v,a=0))}if(o||n>1)return c;throw s=!0,e}return function(o,f,v){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&d(f,v),a=f,i=v;(r=a<2?t:i)||!s;){u||(a?a<3?(a>1&&(p.n=-1),d(a,i)):p.n=i:p.v=i);try{if(l=2,u){if(a||(o="next"),r=u[o]){if(!(r=r.call(u,i)))throw TypeError("iterator result is not an object");if(!r.done)return r;i=r.value,a<2&&(a=0)}else 1===a&&(r=u.return)&&r.call(u),a<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),a=1);u=t}else if((r=(s=p.n<0)?i:n.call(e,p))!==c)break}catch(r){u=t,a=1,i=r}finally{l=1}}return{value:r,done:s}}}(n,u,a),!0),f}var c={};function l(){}function f(){}function s(){}r=Object.getPrototypeOf;var p=[][u]?r(r([][u]())):(e(r={},u,function(){return this}),r),d=s.prototype=l.prototype=Object.create(p);function v(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,s):(n.__proto__=s,e(n,a,"GeneratorFunction")),n.prototype=Object.create(d),n}return f.prototype=s,e(d,"constructor",s),e(s,"constructor",f),f.displayName="GeneratorFunction",e(s,a,"GeneratorFunction"),e(d),e(d,a,"Generator"),e(d,u,function(){return this}),e(d,"toString",function(){return"[object Generator]"}),(n=function(){return{w:i,m:v}})()}function e(n,t,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(n){u=0}e=function(n,t,r,o){function a(t,r){e(n,t,function(n){return this._invoke(t,r,n)})}t?u?u(n,t,{value:r,enumerable:!o,configurable:!o,writable:!o}):n[t]=r:(a("next",0),a("throw",1),a("return",2))},e(n,t,r,o)}function t(n,e,t,r,o,u,a){try{var i=n[u](a),c=i.value}catch(n){return void t(n)}i.done?e(c):Promise.resolve(c).then(r,o)}function r(n){return function(){var e=this,r=arguments;return new Promise(function(o,u){var a=n.apply(e,r);function i(n){t(a,o,u,i,c,"next",n)}function c(n){t(a,o,u,i,c,"throw",n)}i(void 0)})}}System.register(["./base-lib-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./useMethods-legacy.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528"],function(e,t){"use strict";var o,u,a,i,c,l,f,s,p,d,v,m,y,b,h,g,j,_,w;return{setters:[function(n){o=n.c,u=n.H,a=n.r,i=n.V,c=n.o,l=n.j,f=n.k,s=n.e,p=n.v,d=n.p,v=n.R,m=n.ad,y=n.ab},function(n){b=n.k,h=n.fI,g=n.fK,j=n.W,_=n.cZ},function(n){w=n.p},null,null,null,null],execute:function(){var t={class:"flex flex-col p-[1.6rem] lib-box"},x=o({__name:"pull-mirror-select-dialog",props:{compData:{default:function(){return{}}}},setup:function(e,o){var _=o.expose,x=e,O=u({name:"",id:""}),k=a(),S={name:[{required:!0,message:"请选择仓库",trigger:"blur"}]},G=i([]),P=function(){var e=r(n().m(function e(t){return n().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,k.value.validate(function(){var e=r(n().m(function e(r){var o;return n().w(function(n){for(;;)switch(n.n){case 0:r&&(o={template_id:x.compData.id,name:G.value.find(function(n){return n.url==O.name}).name,url:G.value.find(function(n){return n.url==O.name}).url},b({request:g({data:JSON.stringify(o)})}),w(),t());case 1:return n.a(2)}},e)}));return function(n){return e.apply(this,arguments)}}());case 1:e.n=3;break;case 2:e.p=2,e.v;case 3:return e.a(2)}},e,null,[[0,2]])}));return function(n){return e.apply(this,arguments)}}();return c(r(n().m(function e(){return n().w(function(n){for(;;)switch(n.n){case 0:O.id=x.compData.id,b({request:h(),data:Array,success:function(n){var e;n.forEach(function(n){G.value.push({value:n.url,label:"".concat(n.name).concat("docker.io"===n.url?"":"(".concat(n.url,")")),url:n.url,name:n.name})}),O.name=null===(e=G.value[0])||void 0===e?void 0:e.value}});case 1:return n.a(2)}},e)}))),_({onConfirm:P}),function(n,e){var r=j,o=m,u=y;return l(),f("div",t,[s(u,{ref_key:"cmdFormRef",ref:k,model:d(O),rules:S,onSubmit:e[1]||(e[1]=v(function(){},["prevent"]))},{default:p(function(){return[s(o,{prop:"name",label:"仓库名"},{default:p(function(){return[s(r,{modelValue:d(O).name,"onUpdate:modelValue":e[0]||(e[0]=function(n){return d(O).name=n}),options:d(G),class:"w-[44rem]"},null,8,["modelValue","options"])]}),_:1})]}),_:1},8,["model"])])}}});e("default",_(x,[["__scopeId","data-v-b63e8269"]]))}}})}();