From 975356ea7acf4ec71d29e912d373cb1440ab4f3c Mon Sep 17 00:00:00 2001 From: saqqdy Date: Tue, 30 Nov 2021 11:20:33 +0800 Subject: [PATCH] use http module --- app/www/assets/add-legacy.82f019e1.js | 1 + app/www/assets/add-legacy.bfe8bc24.js | 1 - app/www/assets/add.3b420688.js | 1 + app/www/assets/add.41ec2698.js | 1 - app/www/assets/element-icons.9c88a535.woff | Bin 24820 -> 0 bytes app/www/assets/element-icons.de5eb258.ttf | Bin 50372 -> 0 bytes app/www/assets/gitmars-legacy.cbf92beb.js | 1 - app/www/assets/gitmars-legacy.f105ee70.js | 1 + ...mars.abcd69a4.css => gitmars.58cdeee5.css} | 2 +- app/www/assets/gitmars.771f1911.js | 1 - app/www/assets/gitmars.bb308b8f.js | 1 + ...y.d9bfbcad.js => index-legacy.10aadff0.js} | 2 +- app/www/assets/index-legacy.1423e4b9.js | 1 + app/www/assets/index-legacy.716cba63.js | 7 + app/www/assets/index-legacy.80f3c6a6.js | 7 - app/www/assets/index-legacy.90861432.js | 1 - app/www/assets/index-legacy.9edd613b.js | 1 - app/www/assets/index-legacy.f8814967.js | 1 + app/www/assets/index.134a59e8.js | 1 + app/www/assets/index.21bba8c5.js | 1 + app/www/assets/index.360fde64.js | 1 + app/www/assets/index.628df380.js | 1 - ...{index.078a7031.css => index.8475571b.css} | 2 +- app/www/assets/index.87b897a1.js | 1 - app/www/assets/index.c488430d.js | 1 + app/www/assets/index.c500ab57.js | 1 - app/www/assets/index.dd0264d0.js | 1 - app/www/assets/list-legacy.2f4149ee.js | 1 - app/www/assets/list-legacy.ad29f67d.js | 1 + .../{list.9d527928.css => list.137c183b.css} | 2 +- app/www/assets/list.a5d782c4.js | 1 - app/www/assets/list.fddb28d3.js | 1 + app/www/assets/polyfills-legacy.2bbd7602.js | 1 - app/www/assets/polyfills-legacy.5229e370.js | 1 + app/www/assets/tasks-legacy.63a90991.js | 1 + app/www/assets/tasks-legacy.716e5807.js | 1 - app/www/assets/tasks.4c910a38.js | 1 + app/www/assets/tasks.5b528c7a.js | 1 - ...{tasks.ab67fedf.css => tasks.96dcfd4f.css} | 2 +- ...> use-current-instance-legacy.88226956.js} | 2 +- .../assets/use-current-instance.41699c28.js | 1 + .../assets/use-current-instance.44876874.js | 1 - ....js => axios_0.24.0.js-legacy.e2791d74.js} | 2 +- ...f49b9ab.js => axios_0.24.0.js.52256a15.js} | 2 +- .../core-js_3.18.3.js-legacy.1bc24544.js | 1 - .../vendor/core-js_3.18.3.js.a64c1281.js | 1 - .../core-js_3.19.1.js-legacy.1132431e.js | 1 + .../vendor/core-js_3.19.1.js.10a7a3d5.js | 1 + ....js => dayjs_1.10.7.js-legacy.6093b1d6.js} | 2 +- ...e411334.js => dayjs_1.10.7.js.c37b32ae.js} | 2 +- ...t-plus_1.1.0-beta.24.js-legacy.5f097f17.js | 1 - ...element-plus_1.1.0-beta.24.js.0204916b.css | 1 - .../element-plus_1.1.0-beta.24.js.bf425c11.js | 1 - ...nt-plus_1.2.0-beta.3.js-legacy.981a4862.js | 1 + .../element-plus_1.2.0-beta.3.js.01fd1cfa.js | 1 + .../element-plus_1.2.0-beta.3.js.fc13d639.css | 1 + ...js => js-cool_2.3.0.js-legacy.a3236d92.js} | 4 +- ...ee5fc3.js => js-cool_2.3.0.js.f671836d.js} | 4 +- ...s => lodash_4.17.21.js-legacy.975f7fe9.js} | 2 +- ...c0cd8.js => lodash_4.17.21.js.c6f7cdcc.js} | 2 +- ...> memoize-one_6.0.0.js-legacy.e82ebc49.js} | 0 ...f5.js => memoize-one_6.0.0.js.1b3aec17.js} | 0 ...lize-wheel-es_1.1.1.js-legacy.6cde3582.js} | 0 ...> normalize-wheel-es_1.1.1.js.06b9d5c0.js} | 0 ...ject-inspect_1.11.0.js-legacy.1fe2e339.js} | 2 +- ...s => object-inspect_1.11.0.js.ad22ecab.js} | 2 +- ...c57.js => qs_6.10.1.js-legacy.583b1a92.js} | 2 +- ...s.6d009611.js => qs_6.10.1.js.0baad282.js} | 2 +- ...erver-polyfill_1.5.1.js-legacy.5f429f05.js | 1 - ...ize-observer-polyfill_1.5.1.js.3b3964c6.js | 1 - ... side-channel_1.0.4.js-legacy.285de11b.js} | 2 +- ...8.js => side-channel_1.0.4.js.290c0f4d.js} | 2 +- ... => vue-demi_0.12.1.js-legacy.e67f9ea7.js} | 0 ...0c06.js => vue-demi_0.12.1.js.70c2bf8e.js} | 0 .../vue-router_4.0.12.js-legacy.2603dab0.js | 6 - .../vue-router_4.0.12.js-legacy.f1a565ac.js | 7 + .../vendor/vue-router_4.0.12.js.944b7609.js | 6 + .../vendor/vue-router_4.0.12.js.e0928a4d.js | 6 - .../vendor/vue_3.2.20.js-legacy.970f989e.js | 1 - .../assets/vendor/vue_3.2.20.js.843b181b.js | 1 - .../vendor/vue_3.2.23.js-legacy.cab6a317.js | 1 + .../assets/vendor/vue_3.2.23.js.9f5d2e7e.js | 1 + .../vendor/vuex_4.0.2.js-legacy.75517dae.js | 1 - .../vendor/vuex_4.0.2.js-legacy.e8b557da.js | 6 + .../assets/vendor/vuex_4.0.2.js.35ef8354.js | 6 + .../assets/vendor/vuex_4.0.2.js.f8c5ab46.js | 6 - .../vendor/xterm_4.14.1.js-legacy.5fd74716.js | 1 - .../assets/vendor/xterm_4.14.1.js.4d8f2388.js | 1 - .../vendor/xterm_4.14.1.js.bd231455.css | 1 - .../vendor/xterm_4.15.0.js-legacy.4c228449.js | 1 + .../assets/vendor/xterm_4.15.0.js.3e95bd6a.js | 1 + .../vendor/xterm_4.15.0.js.86284f30.css | 32 +++ app/www/index.html | 39 ++- bin/conf/log.ts | 4 +- bin/core/api/getUserToken.ts | 23 +- bin/core/request.ts | 37 +++ bin/gitm-admin.ts | 222 +++++++++--------- bin/gitm-combine.ts | 2 +- bin/gitm-end.ts | 2 +- docs/changelog.md | 4 + lib/conf/log.js | 4 +- lib/core/api/getUserToken.js | 19 +- lib/core/request.js | 48 ++++ lib/gitm-admin.js | 17 +- lib/gitm-combine.js | 2 +- lib/gitm-end.js | 2 +- package.json | 2 +- 107 files changed, 368 insertions(+), 246 deletions(-) create mode 100644 app/www/assets/add-legacy.82f019e1.js delete mode 100644 app/www/assets/add-legacy.bfe8bc24.js create mode 100644 app/www/assets/add.3b420688.js delete mode 100644 app/www/assets/add.41ec2698.js delete mode 100644 app/www/assets/element-icons.9c88a535.woff delete mode 100644 app/www/assets/element-icons.de5eb258.ttf delete mode 100644 app/www/assets/gitmars-legacy.cbf92beb.js create mode 100644 app/www/assets/gitmars-legacy.f105ee70.js rename app/www/assets/{gitmars.abcd69a4.css => gitmars.58cdeee5.css} (78%) delete mode 100644 app/www/assets/gitmars.771f1911.js create mode 100644 app/www/assets/gitmars.bb308b8f.js rename app/www/assets/{index-legacy.d9bfbcad.js => index-legacy.10aadff0.js} (54%) create mode 100644 app/www/assets/index-legacy.1423e4b9.js create mode 100644 app/www/assets/index-legacy.716cba63.js delete mode 100644 app/www/assets/index-legacy.80f3c6a6.js delete mode 100644 app/www/assets/index-legacy.90861432.js delete mode 100644 app/www/assets/index-legacy.9edd613b.js create mode 100644 app/www/assets/index-legacy.f8814967.js create mode 100644 app/www/assets/index.134a59e8.js create mode 100644 app/www/assets/index.21bba8c5.js create mode 100644 app/www/assets/index.360fde64.js delete mode 100644 app/www/assets/index.628df380.js rename app/www/assets/{index.078a7031.css => index.8475571b.css} (54%) delete mode 100644 app/www/assets/index.87b897a1.js create mode 100644 app/www/assets/index.c488430d.js delete mode 100644 app/www/assets/index.c500ab57.js delete mode 100644 app/www/assets/index.dd0264d0.js delete mode 100644 app/www/assets/list-legacy.2f4149ee.js create mode 100644 app/www/assets/list-legacy.ad29f67d.js rename app/www/assets/{list.9d527928.css => list.137c183b.css} (55%) delete mode 100644 app/www/assets/list.a5d782c4.js create mode 100644 app/www/assets/list.fddb28d3.js delete mode 100644 app/www/assets/polyfills-legacy.2bbd7602.js create mode 100644 app/www/assets/polyfills-legacy.5229e370.js create mode 100644 app/www/assets/tasks-legacy.63a90991.js delete mode 100644 app/www/assets/tasks-legacy.716e5807.js create mode 100644 app/www/assets/tasks.4c910a38.js delete mode 100644 app/www/assets/tasks.5b528c7a.js rename app/www/assets/{tasks.ab67fedf.css => tasks.96dcfd4f.css} (81%) rename app/www/assets/{use-current-instance-legacy.48e36a38.js => use-current-instance-legacy.88226956.js} (64%) create mode 100644 app/www/assets/use-current-instance.41699c28.js delete mode 100644 app/www/assets/use-current-instance.44876874.js rename app/www/assets/vendor/{axios_0.23.0.js-legacy.bd5db4ba.js => axios_0.24.0.js-legacy.e2791d74.js} (99%) rename app/www/assets/vendor/{axios_0.23.0.js.3f49b9ab.js => axios_0.24.0.js.52256a15.js} (99%) delete mode 100644 app/www/assets/vendor/core-js_3.18.3.js-legacy.1bc24544.js delete mode 100644 app/www/assets/vendor/core-js_3.18.3.js.a64c1281.js create mode 100644 app/www/assets/vendor/core-js_3.19.1.js-legacy.1132431e.js create mode 100644 app/www/assets/vendor/core-js_3.19.1.js.10a7a3d5.js rename app/www/assets/vendor/{dayjs_1.10.7.js-legacy.7e603b83.js => dayjs_1.10.7.js-legacy.6093b1d6.js} (99%) rename app/www/assets/vendor/{dayjs_1.10.7.js.de411334.js => dayjs_1.10.7.js.c37b32ae.js} (98%) delete mode 100644 app/www/assets/vendor/element-plus_1.1.0-beta.24.js-legacy.5f097f17.js delete mode 100644 app/www/assets/vendor/element-plus_1.1.0-beta.24.js.0204916b.css delete mode 100644 app/www/assets/vendor/element-plus_1.1.0-beta.24.js.bf425c11.js create mode 100644 app/www/assets/vendor/element-plus_1.2.0-beta.3.js-legacy.981a4862.js create mode 100644 app/www/assets/vendor/element-plus_1.2.0-beta.3.js.01fd1cfa.js create mode 100644 app/www/assets/vendor/element-plus_1.2.0-beta.3.js.fc13d639.css rename app/www/assets/vendor/{js-cool_2.2.4.js-legacy.88cbe770.js => js-cool_2.3.0.js-legacy.a3236d92.js} (97%) rename app/www/assets/vendor/{js-cool_2.2.4.js.f9ee5fc3.js => js-cool_2.3.0.js.f671836d.js} (97%) rename app/www/assets/vendor/{lodash_4.17.21.js-legacy.5cf8202e.js => lodash_4.17.21.js-legacy.975f7fe9.js} (99%) rename app/www/assets/vendor/{lodash_4.17.21.js.96bc0cd8.js => lodash_4.17.21.js.c6f7cdcc.js} (99%) rename app/www/assets/vendor/{memoize-one_5.2.1.js-legacy.a5b69065.js => memoize-one_6.0.0.js-legacy.e82ebc49.js} (100%) rename app/www/assets/vendor/{memoize-one_5.2.1.js.71a7dff5.js => memoize-one_6.0.0.js.1b3aec17.js} (100%) rename app/www/assets/vendor/{normalize-wheel-es_1.1.0.js-legacy.b89ce5c3.js => normalize-wheel-es_1.1.1.js-legacy.6cde3582.js} (100%) rename app/www/assets/vendor/{normalize-wheel-es_1.1.0.js.66493b19.js => normalize-wheel-es_1.1.1.js.06b9d5c0.js} (100%) rename app/www/assets/vendor/{object-inspect_1.11.0.js-legacy.ece5ec31.js => object-inspect_1.11.0.js-legacy.1fe2e339.js} (99%) rename app/www/assets/vendor/{object-inspect_1.11.0.js.1111bad4.js => object-inspect_1.11.0.js.ad22ecab.js} (99%) rename app/www/assets/vendor/{qs_6.10.1.js-legacy.feb3bc57.js => qs_6.10.1.js-legacy.583b1a92.js} (99%) rename app/www/assets/vendor/{qs_6.10.1.js.6d009611.js => qs_6.10.1.js.0baad282.js} (99%) delete mode 100644 app/www/assets/vendor/resize-observer-polyfill_1.5.1.js-legacy.5f429f05.js delete mode 100644 app/www/assets/vendor/resize-observer-polyfill_1.5.1.js.3b3964c6.js rename app/www/assets/vendor/{side-channel_1.0.4.js-legacy.61ee83c5.js => side-channel_1.0.4.js-legacy.285de11b.js} (60%) rename app/www/assets/vendor/{side-channel_1.0.4.js.cbb25fc8.js => side-channel_1.0.4.js.290c0f4d.js} (94%) rename app/www/assets/vendor/{vue-demi_0.11.4.js-legacy.bf46b8f0.js => vue-demi_0.12.1.js-legacy.e67f9ea7.js} (100%) rename app/www/assets/vendor/{vue-demi_0.11.4.js.1abe0c06.js => vue-demi_0.12.1.js.70c2bf8e.js} (100%) delete mode 100644 app/www/assets/vendor/vue-router_4.0.12.js-legacy.2603dab0.js create mode 100644 app/www/assets/vendor/vue-router_4.0.12.js-legacy.f1a565ac.js create mode 100644 app/www/assets/vendor/vue-router_4.0.12.js.944b7609.js delete mode 100644 app/www/assets/vendor/vue-router_4.0.12.js.e0928a4d.js delete mode 100644 app/www/assets/vendor/vue_3.2.20.js-legacy.970f989e.js delete mode 100644 app/www/assets/vendor/vue_3.2.20.js.843b181b.js create mode 100644 app/www/assets/vendor/vue_3.2.23.js-legacy.cab6a317.js create mode 100644 app/www/assets/vendor/vue_3.2.23.js.9f5d2e7e.js delete mode 100644 app/www/assets/vendor/vuex_4.0.2.js-legacy.75517dae.js create mode 100644 app/www/assets/vendor/vuex_4.0.2.js-legacy.e8b557da.js create mode 100644 app/www/assets/vendor/vuex_4.0.2.js.35ef8354.js delete mode 100644 app/www/assets/vendor/vuex_4.0.2.js.f8c5ab46.js delete mode 100644 app/www/assets/vendor/xterm_4.14.1.js-legacy.5fd74716.js delete mode 100644 app/www/assets/vendor/xterm_4.14.1.js.4d8f2388.js delete mode 100644 app/www/assets/vendor/xterm_4.14.1.js.bd231455.css create mode 100644 app/www/assets/vendor/xterm_4.15.0.js-legacy.4c228449.js create mode 100644 app/www/assets/vendor/xterm_4.15.0.js.3e95bd6a.js create mode 100644 app/www/assets/vendor/xterm_4.15.0.js.86284f30.css create mode 100644 bin/core/request.ts create mode 100644 lib/core/request.js diff --git a/app/www/assets/add-legacy.82f019e1.js b/app/www/assets/add-legacy.82f019e1.js new file mode 100644 index 00000000..6f673306 --- /dev/null +++ b/app/www/assets/add-legacy.82f019e1.js @@ -0,0 +1 @@ +!function(){function e(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function n(n){for(var a=1;aa in s?e(s,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):s[a]=r;import{q as d,V as i,ag as p,s as j,v as c,J as m,G as l,ab as v,u as f,ah as u,ai as b,a5 as _}from"./vendor/vue_3.2.23.js.9f5d2e7e.js";import{u as h,b as y}from"./vendor/vue-router_4.0.12.js.944b7609.js";import{_ as x,u as g}from"./index.360fde64.js";import{u as w}from"./use-current-instance.41699c28.js";import"./vendor/element-plus_1.2.0-beta.3.js.01fd1cfa.js";import"./vendor/lodash_4.17.21.js.c6f7cdcc.js";import"./vendor/xterm_4.15.0.js.3e95bd6a.js";import"./vendor/dayjs_1.10.7.js.c37b32ae.js";import"./vendor/async-validator_4.0.7.js.656181ea.js";import"./vendor/axios_0.24.0.js.52256a15.js";import"./vendor/qs_6.10.1.js.0baad282.js";import"./vendor/side-channel_1.0.4.js.290c0f4d.js";import"./vendor/get-intrinsic_1.1.1.js.d604dad5.js";import"./vendor/has-symbols_1.0.2.js.208f1d3f.js";import"./vendor/function-bind_1.1.1.js.34bf890b.js";import"./vendor/has_1.0.3.js.e7f09f2c.js";import"./vendor/call-bind_1.0.2.js.ad02ab55.js";import"./vendor/object-inspect_1.11.0.js.ad22ecab.js";import"./vendor/js-cool_2.3.0.js.f671836d.js";import"./vendor/core-js_3.19.1.js.10a7a3d5.js";import"./vendor/uuid_8.3.2.js.8656f24a.js";import"./vendor/xterm-style_1.1.0.js.323fb105.js";import"./vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js";import"./vendor/xterm-addon-search_0.8.1.js.d370edfa.js";import"./vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js";import"./vendor/vuex_4.0.2.js.35ef8354.js";const O=e=>(u("data-v-f48e2908"),e=e(),b(),e),P={class:"project-add"},q={class:"content"},k=O((()=>m("h2",null,"导入项目",-1))),I={class:"fold"},U=[O((()=>m("span",{class:"iconfont icon-plus-square-fill"},null,-1))),_("导入该项目")];const V=d(($=((e,s)=>{for(var a in s||(s={}))o.call(s,a)&&n(e,a,s[a]);if(r)for(var a of r(s))t.call(s,a)&&n(e,a,s[a]);return e})({},{name:"ProjectAdd"}),s($,a({setup:function(e,{expose:s}){const{globalProperties:{$axios:a,$message:r}}=w(),o=h();y();const t=i({path:"/Users/saqqdy/www/saqqdy/gitmars"}),n=async()=>{t.path||alert("请输入项目完整路径"),await new Promise(((e,s)=>{a({url:"/common/project/check",data:{path:t.path}}).then((({data:{code:s,message:a}={}})=>{0!==s?(r({message:a,type:"error"}),e(!1)):e(!0)})).finally((()=>{e(!1)}))}))&&a({url:"/common/project/add",type:"post",data:{path:t.path}}).then((()=>{r({message:"操作成功!",type:"success"}),o.push("/project/list")}))},{enter:d}=g();return p((()=>{d.value&&n()})),s({form:t,add:n}),(e,s)=>(j(),c("div",P,[m("div",q,[k,m("div",I,[l(m("input",{type:"text","onUpdate:modelValue":s[0]||(s[0]=e=>f(t).path=e),placeholder:"请输入项目完整路径"},null,512),[[v,f(t).path,void 0,{trim:!0}]])]),m("div",{class:"btn"},[m("a",{class:"link",href:"javascript:;",onClick:n,type:"button"},U)])])]))}}))));var $,A=x(V,[["__scopeId","data-v-f48e2908"]]);export{A as default}; diff --git a/app/www/assets/add.41ec2698.js b/app/www/assets/add.41ec2698.js deleted file mode 100644 index 44c65f01..00000000 --- a/app/www/assets/add.41ec2698.js +++ /dev/null @@ -1 +0,0 @@ -var e=Object.defineProperty,s=Object.defineProperties,r=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable,n=(s,r,o)=>r in s?e(s,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[r]=o;import{q as d,_ as i,af as p,x as j,y as c,B as l,P as m,aa as v,u as f,ag as b,ah as u,a3 as _}from"./vendor/vue_3.2.20.js.843b181b.js";import{u as y,b as h}from"./vendor/vue-router_4.0.12.js.e0928a4d.js";import{_ as x,u as g}from"./index.87b897a1.js";import{u as w}from"./use-current-instance.44876874.js";import"./vendor/element-plus_1.1.0-beta.24.js.bf425c11.js";import"./vendor/lodash_4.17.21.js.96bc0cd8.js";import"./vendor/xterm_4.14.1.js.4d8f2388.js";import"./vendor/dayjs_1.10.7.js.de411334.js";import"./vendor/async-validator_4.0.7.js.656181ea.js";import"./vendor/resize-observer-polyfill_1.5.1.js.3b3964c6.js";import"./vendor/axios_0.23.0.js.3f49b9ab.js";import"./vendor/qs_6.10.1.js.6d009611.js";import"./vendor/side-channel_1.0.4.js.cbb25fc8.js";import"./vendor/get-intrinsic_1.1.1.js.d604dad5.js";import"./vendor/has-symbols_1.0.2.js.208f1d3f.js";import"./vendor/function-bind_1.1.1.js.34bf890b.js";import"./vendor/has_1.0.3.js.e7f09f2c.js";import"./vendor/call-bind_1.0.2.js.ad02ab55.js";import"./vendor/object-inspect_1.11.0.js.1111bad4.js";import"./vendor/js-cool_2.2.4.js.f9ee5fc3.js";import"./vendor/core-js_3.18.3.js.a64c1281.js";import"./vendor/uuid_8.3.2.js.8656f24a.js";import"./vendor/xterm-style_1.1.0.js.323fb105.js";import"./vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js";import"./vendor/xterm-addon-search_0.8.1.js.d370edfa.js";import"./vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js";import"./vendor/vuex_4.0.2.js.f8c5ab46.js";const O=e=>(b("data-v-f48e2908"),e=e(),u(),e),P={class:"project-add"},q={class:"content"},k=O((()=>l("h2",null,"导入项目",-1))),I={class:"fold"},U=[O((()=>l("span",{class:"iconfont icon-plus-square-fill"},null,-1))),_("导入该项目")];const $=d((z=((e,s)=>{for(var r in s||(s={}))a.call(s,r)&&n(e,r,s[r]);if(o)for(var r of o(s))t.call(s,r)&&n(e,r,s[r]);return e})({},{name:"ProjectAdd"}),s(z,r({setup:function(e,{expose:s}){const{globalProperties:{$axios:r,$message:o}}=w(),a=y();h();const t=i({path:"/Users/saqqdy/www/saqqdy/gitmars"}),n=async()=>{t.path||alert("请输入项目完整路径"),await new Promise(((e,s)=>{r({url:"/common/project/check",data:{path:t.path}}).then((({data:{code:s,message:r}={}})=>{0!==s?(o({message:r,type:"error"}),e(!1)):e(!0)})).finally((()=>{e(!1)}))}))&&r({url:"/common/project/add",type:"post",data:{path:t.path}}).then((()=>{o({message:"操作成功!",type:"success"}),a.push("/project/list")}))},{enter:d}=g();return p((()=>{d.value&&n()})),s({form:t,add:n}),(e,s)=>(j(),c("div",P,[l("div",q,[k,l("div",I,[m(l("input",{type:"text","onUpdate:modelValue":s[0]||(s[0]=e=>f(t).path=e),placeholder:"请输入项目完整路径"},null,512),[[v,f(t).path,void 0,{trim:!0}]])]),l("div",{class:"btn"},[l("a",{class:"link",href:"javascript:;",onClick:n,type:"button"},U)])])]))}}))));var z,A=x($,[["__scopeId","data-v-f48e2908"]]);export{A as default}; diff --git a/app/www/assets/element-icons.9c88a535.woff b/app/www/assets/element-icons.9c88a535.woff deleted file mode 100644 index c3fa4b9e70fbdd1b98ed6d4d5c54b215d89c5e0e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24820 zcmZsCbBr&(6Yb)zZQHiZyXIZnwr$(CZQHhO+xRTr_xJMtd`(U#XL=@WnkG#;Q#W~W zaUfuz|C;_Y5X}GV@bLfo|6dbTmi+sl?)twm$o~gmd1VG>ARukn|G4yj&{v_+R5!9Q zu>a4e{vU7p57)?lb{x#CJxqasfd7kAQvw2Npe?(Dqcb-#Fa`qBZ2nKf`XAUa8}fe4 z|8oKXY2E+FasC4-L?CFexs9{?f4cMk;=zG{K)6MmIeV<_jQ-Q9d;iDT|A&t87-Sm* z_y6Wq*Zwb#@P7bK0jjb!urUDw()r)|=KhQKV;kOpv$u0{{?E4!1Oy5P1O$WLDb#}Q z4xG#d=DsDd3fgMyO1qJ0G!|hpqNHTs--;T$8M>L=IxUMnS-*aw^VStY>l$Zwur)>Z z9W}-WPB4^aR7(Fn9Ub%7m#|%p@e9~GpD{OOeR}Wl5C?AdD+tWXM-xSg3zQJYDlRH1 zhk+}E3htJYDTpx4P@59N+cXrWtD3)r!a&bK_iXWSagY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4z*CNgFJ7mZ<)8LmswgaXn zkVaroGnZ6NvGdL9Yt442(n2=R9UUAP)M6La)e#{LW_sWgLgh`t8o=LsbHg#Dd;8XM+_y zms?Q1Ax=SwxcGQk>6sbdb@X)CmRDBF`!U}(7w#}Fu$s3tUY{L z=62eiPB5iW2Jw09%%<4z*l)BwZqFqBWHI>T_4xk<`9cGWj0^?=0S4Cgg{1I;M{n(6hjMaZe(R&a^|EK@cbAvt)21(an#!6d4p#Hkx-C%SA55^au7WaPuKWaI*pwauj zVkPaYOa$HeDf_siS(eNq^Pdjx|KYUh>vhDC@GB!MB^DHt6rIIG(j|DeG%_$Y)H^yj zk%eMN?5$^JVqt7_h2G|1?63cy{@*t&gDN29Q3C}Y@%hPcYic;E`=jOfqx*l} diff --git a/app/www/assets/element-icons.de5eb258.ttf b/app/www/assets/element-icons.de5eb258.ttf deleted file mode 100644 index c0e5e0678593c8faedf303462a50a64af98d19f2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 50372 zcmb@v31A$>nKs;2J@=`Z(ah-9j7FM~Y)iJT8QHR>wk@CXg$+Kj8DnD`u#GXs+|V3J z9CJAVLd+&%2npfHK?3B2d=nr*@)44J>?VXHM4N1O^Y5~ogUuIq<7xfRTh%ja*%BuE z|FWn0u72yS_pZ096{aYPSJ4$!nKQCs#WEb>%!|)r>sq^EcF%b;w{BLHufBof{H_B# z4~1>Nyj)SfHh|-|_wK)D&*y&c@5Dat|MIMT7wz0#^W_H(MR{7ox$HiiaNeTchUcHg zaqGSVN3LFcWZ*emzgkiFy#1H$+WC!F?hGr+S6n#G9@u&HA$Fhg1nT-7?oS-tdElb{ z7k}ngl&`k}teXy9cEyozE_^1YDBt)DfQ~61<$`gYeMTkdooGc|X;d=GOr={{pe$Du zdoq+%qrLskRDW*<+umrZKZR{3DoY&G+5U`qJ%uas98UD(NhdC+a=rcRGsd^rlK*=@uNG8c%j7@n5kkA5lW;G1a96ls2VPnX4>Ol(tw; zE|=}gq+6U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Fo8YzyZkyn>30|AvwFzFE;I#{0yWq47PP@djUGUlk zuU+uk1+QK3+9jUtg4-^5?Sj`Xcmcr+Nc;kV8xY)p;06RYAh-d+4G3;Pa07xH5Zr*o zHz4={!4C+2hv0Vzeuv<72wsQabO=s|;B*L1hv0MwPKV%h2u_FK1O+E3I6;YLP~sUB z+@RnFC7waS4+?%z@PmRM6#Ssz2L(SU_(8$%6#P!X$7$c(9zzO7biwTu+)lym6x>e1 z?G)Tj!R-{>PQmRI+)lyO1y>hbUE-|^zApH>;Ol~~3%)M+y5Q@AuM55|_`2Zhf*%r` zkoX%Ce?#JLNc;_nzoD#u67G=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,d=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return l=e.done,e},e:function(e){d=!0,i=e},f:function(){try{l||null==t.return||t.return()}finally{if(d)throw i}}}}function o(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t0&&(m=m.substr(1)),f&&u.push(m))}}}catch(b){c.e(b)}finally{c.f()}var p,g=a(o);try{for(g.s();!(p=g.n()).done;){var v=p.value;v.value&&i.push(v.value)}}catch(b){g.e(b)}finally{g.f()}return"".concat(r.execName," ").concat(d," ").concat(i.join(" ")," ").concat(u.join("")," ").concat(l.join(" ")).replace(/[\s]{2,}/g," ")}(e)}),{deep:!0,immediate:!0}),t({curBranch:u,cmd:i,exec:c}),function(e,n){var t=f("v3-button");return p(),g("div",W,[v("span",null,j(i.value),1),q(t,{type:"primary",size:"small",onClick:k(c,["stop"]),plain:""},{default:C((function(){return[J]})),_:1},8,["onClick"])])}}}));K="undefined"!=typeof window?window:global,Q={command:"admin",short:null,create:{command:"create",short:null,args:[{required:!0,name:"type",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"分支类型"}],options:[],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}},publish:{command:"publish",short:null,args:[{required:!0,name:"type",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"分支类型",options:["release","bugfix"],value:""}],options:[{flags:"-c, --combine",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-c",long:"--combine",negate:!1,description:"是否把release代码同步到bug",defaultValue:!1,recommend:!1},{flags:"--use-rebase",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--use-rebase",negate:!1,description:"是否使用rebase方式更新,默认merge",defaultValue:!1,recommend:!1},{flags:"-p, --prod",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-p",long:"--prod",negate:!1,description:"发布bug分支时,是否合并bug到master",defaultValue:!1,recommend:!1},{flags:"-b, --build [build]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-b",long:"--build",negate:!1,description:"构建应用",recommend:!0},{flags:"--postmsg",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--postmsg",negate:!1,description:"发送消息",defaultValue:!1,recommend:!1},{flags:"--description [description]",required:!1,optional:!0,variadic:!1,mandatory:!1,long:"--description",negate:!1,description:"本次提交的原因描述",defaultValue:"",recommend:!1}],validatorOpts:function(e,n,t){e.includes("--combine")&&e.includes("--prod")?t(new Error("不能同时选择“把release合并到bug”和“合并bug到master”")):t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}},update:{command:"update",short:null,args:[{required:!0,name:"type",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"分支类型"}],options:[{flags:"--use-rebase",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--use-rebase",negate:!1,description:"是否使用rebase方式更新,默认merge",defaultValue:!1,recommend:!1},{flags:"-m, --mode [mode]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--mode",negate:!1,description:"出现冲突时,保留传入代码还是保留当前代码;1=采用当前 2=采用传入;默认为 0=手动处理。本参数不可与--use-rebase同时使用",defaultValue:0,recommend:!1},{flags:"--postmsg",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--postmsg",negate:!1,description:"发送消息",defaultValue:!1,recommend:!1},{flags:"--description [description]",required:!1,optional:!0,variadic:!1,mandatory:!1,long:"--description",negate:!1,description:"本次提交的原因描述",defaultValue:"",recommend:!1}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}},clean:{command:"clean",short:null,args:[{required:!0,name:"type",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"分支类型"}],options:[],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}}},"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=Q:"object"===t(e)?e.cmdConfig=Q:(K.gitmarsCmdConfig||(K.gitmarsCmdConfig={}),K.gitmarsCmdConfig.admin=Q);var Z=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"branch",short:"bh",args:[],options:[{flags:"-k, --key [keyword]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-k",long:"--key",negate:!1,description:"查询分支的关键词",defaultValue:null},{flags:"--exclude [exclude]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--exclude",negate:!1,description:"排除关键词",defaultValue:"",value:""},{flags:"--include [include]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--include",negate:!1,description:"包含关键词",defaultValue:"",value:""},{flags:"-r, --remote",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-r",long:"--remote",negate:!1,description:"是否查询远程分支(deletes模式下改用于删除远程分支)默认只查询本地",defaultValue:!1},{flags:"-t, --type [type]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-t",long:"--type",negate:!1,description:"查询分支的类型,共有3种:feature、bugfix、support,不传则查询全部",defaultValue:null,options:["feature","bugfix","support"],value:""},{flags:"-d, --delete [branch]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-d",long:"--delete",negate:!1,description:"删除分支",defaultValue:null},{flags:"-D, --forcedelete [branch]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-D",long:"--forcedelete",negate:!1,description:"强行删除分支",defaultValue:null},{flags:"-u, --upstream [upstream]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-u",long:"--upstream",negate:!1,description:"设置与远程分支关联"}],validatorOpts:function(e,n,t){e.includes("--upstream")&&(e.includes("--key")||e.includes("--remote")||e.includes("--type")||e.includes("--delete")||e.includes("--forcedelete"))?t(new Error("使用绑定/取消绑定远程分支功能时,不能与其他功能混用")):!e.includes("--delete")&&!e.includes("--forcedelete")||!e.includes("--key")&&!e.includes("--type")?t():t(new Error("使用删除分支功能时,不能与查询分支功能混用"))},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.branch=a)}("undefined"!=typeof window?window:global);var ee=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"build",short:"bd",args:[{required:!0,name:"project",variadic:!1,description:"项目名称"}],options:[{flags:"-e, --env [env]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-e",long:"--env",negate:!1,description:"构建环境,可选dev、prod、bug、all",defaultValue:"dev",recommend:!0,options:["dev","prod","bug","all"],value:"dev"},{flags:"-a, --app [app]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-a",long:"--app",negate:!1,description:"构建应用",defaultValue:"all",recommend:!0,value:"all"}]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.build=a)}("undefined"!=typeof window?window:global);var ne=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"clean",short:null,args:[],options:[{flags:"-f, --force",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-f",long:"--force",negate:!1,description:"强制清理",defaultValue:!1}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.clean=a)}("undefined"!=typeof window?window:global);var te=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"cleanbranch",short:"clb",args:[{required:!1,name:"branches",variadic:!0,validator:function(e,n,t){t()},description:"指定要清理的分支"}],options:[{flags:"-l, --list",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-l",long:"--list",negate:!1,description:"显示符合条件的分支列表",defaultValue:!1,value:!0},{flags:"-t, --type [type]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-t",long:"--type",negate:!1,description:"分支的类型,共有3种:feature、bugfix、support,不传则默认全部",defaultValue:null,options:["feature","bugfix","support"],value:""},{flags:"--target [target]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--target",negate:!1,description:"需要检测是否合过的目标分支名,不传默认是develop和release",defaultValue:null,value:"dev,release"},{flags:"-k, --key [keyword]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-k",long:"--key",negate:!1,description:"查询分支的关键词",defaultValue:null},{flags:"--exclude [exclude]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--exclude",negate:!1,description:"排除关键词",defaultValue:"",value:""},{flags:"--include [include]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--include",negate:!1,description:"包含关键词",defaultValue:"",value:""},{flags:"-r, --remote",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-r",long:"--remote",negate:!1,description:"是否清理远程分支,默认清理本地分支",defaultValue:!1},{flags:"-c, --confirm",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-c",long:"--confirm",negate:!1,description:"确认开始,为true时不显示确认框",defaultValue:!1}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.cleanbranch=a)}("undefined"!=typeof window?window:global);var ae=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"combine",short:"cb",args:[{required:!1,name:"type",variadic:!1,description:"分支类型",options:["feature","bugfix","support"],value:""},{required:!1,name:"name",variadic:!1,description:"分支名称(不带feature/bugfix前缀)"}],options:[{flags:"-d, --dev",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-d",long:"--dev",negate:!1,description:"同步到dev环境",defaultValue:!1,value:!0,recommend:!0},{flags:"-p, --prod",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-p",long:"--prod",negate:!1,description:"同步到prod环境",defaultValue:!1,value:!1,recommend:!1},{flags:"-b, --build [build]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-b",long:"--build",negate:!1,description:"构建应用",value:"all",recommend:!0},{flags:"-m, --commit ",required:!0,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--commit",negate:!1,description:"执行commit,需填写信息",defaultValue:"",recommend:!1},{flags:"--description [description]",required:!1,optional:!0,variadic:!1,mandatory:!1,long:"--description",negate:!1,description:"本次提交的原因描述",defaultValue:"",recommend:!1},{flags:"-a, --add",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-a",long:"--add",negate:!1,description:"执行add",defaultValue:!1,recommend:!1},{flags:"--no-bugfix",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--no-bugfix",negate:!0,description:"bug分支合并到release时不合并到bug分支",defaultValue:!0,recommend:!1},{flags:"--as-feature",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--as-feature",negate:!1,description:"bug分支合并到release",recommend:!1}],validatorOpts:function(e,n,t){e.includes("--dev")||e.includes("--prod")?e.includes("--add")&&!e.includes("--commit")||!e.includes("--add")&&e.includes("--commit")?t(new Error("add和commit需要同时选择")):t():t(new Error("合并dev或者prod必须至少选一个"))},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.combine=a)}("undefined"!=typeof window?window:global);var oe=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"continue",short:"ct",args:[],options:[{flags:"-l, --list",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-l",long:"--list",negate:!1,description:"显示指令队列",defaultValue:!1}]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.continue=a)}("undefined"!=typeof window?window:global);var re=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"copy",short:"cp",args:[{required:!1,name:"commitid",variadic:!0,validator:function(e,n,t){t()},description:"提交记录ID"}],options:[{flags:"-s, --source [source]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-s",long:"--source",negate:!1,description:"拷贝记录的来源分支",defaultValue:""},{flags:"-k, --key [keyword]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-k",long:"--key",negate:!1,description:"模糊搜索commit信息关键词",defaultValue:""},{flags:"-a, --author [author]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-a",long:"--author",negate:!1,description:"提交者",defaultValue:""}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.copy=a)}("undefined"!=typeof window?window:global);var ie=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"end",short:"ed",args:[{required:!1,name:"type",variadic:!1,description:"分支类型",options:["feature","bugfix","support"],value:""},{required:!1,name:"name",variadic:!1,description:"分支名称(不带feature/bugfix前缀)"}],options:[{flags:"--no-combine",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--no-combine",negate:!0,description:"不合并主干分支(请确保分支已经上线)",defaultValue:!0,recommend:!1},{flags:"--as-feature",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--as-feature",negate:!1,description:"bug分支合并到release",recommend:!1},{flags:"--description [description]",required:!1,optional:!0,variadic:!1,mandatory:!1,long:"--description",negate:!1,description:"本次提交的原因描述",defaultValue:"",recommend:!1}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.end=a)}("undefined"!=typeof window?window:global);var le=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"get",short:"gt",args:[{required:!1,name:"message",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"存取关键字"},{required:!1,name:"index",variadic:!1,description:"序号"}],options:[{flags:"-k, --keep [keep]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-k",long:"--keep",negate:!1,description:"保留暂存区不删除",defaultValue:!1}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.get=a)}("undefined"!=typeof window?window:global);var de=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"go",short:"",args:[{required:!1,name:"command",variadic:!1,description:"指令名称",options:["combine","end","update","build","start","admin.publish","admin.update","admin.create","admin.clean","branch","copy","get","save","cleanbranch","clean","revert","link","unlink","postmsg"],value:""}],options:[]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.go=a)}("undefined"!=typeof window?window:global);var ue=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"hook",short:"hk",args:[{required:!1,name:"command",variadic:!1},{required:!1,name:"args",variadic:!0}],options:[{flags:"--no-verify",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--no-verify",negate:!0,description:"是否需要跳过校验权限",defaultValue:!1},{flags:"--lastet [lastet]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"",long:"--lastet",negate:!1,description:"查询在某个时间之后的日志,填写格式:10s/2m/2h/3d/4M/5y",defaultValue:"7d"},{flags:"--limit [limit]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"",long:"--limit",negate:!1,description:"最多查询的日志条数",defaultValue:20},{flags:"-t, --type ",required:!0,optional:!1,variadic:!1,mandatory:!1,short:"-t",long:"--type",negate:!1,description:"检测类型",defaultValue:""},{flags:"--branch [branch]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"",long:"--branch",negate:!1,description:"要查询的分支",defaultValue:""}]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.hook=a)}("undefined"!=typeof window?window:global);var ce=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"link",short:null,args:[{required:!1,name:"name",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"包的名称"}],options:[]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.link=a)}("undefined"!=typeof window?window:global);var se=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"log",short:"lg",args:[{required:!1,name:"branch",variadic:!1}],options:[{flags:"--lastet [lastet]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"",long:"--lastet",negate:!1,description:"查询在某个时间之后的日志,填写格式:10s/2m/2h/3d/4M/5y",defaultValue:"7d"},{flags:"--limit [limit]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"",long:"--limit",negate:!1,description:"最多查询的日志条数",defaultValue:20}]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.log=a)}("undefined"!=typeof window?window:global);var me=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"postmsg",short:null,args:[{required:!0,name:"message",variadic:!1}],options:[{flags:"-u, --url [url]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-u",long:"--url",negate:!1,description:"推送消息的api地址",defaultValue:""}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.postmsg=a)}("undefined"!=typeof window?window:global);var fe=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"redo",short:"rd",args:[{required:!1,name:"commitid",variadic:!0,validator:function(e,n,t){t()},description:"需要撤销的ID"}],options:[{flags:"-b, --branch [branch]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-b",long:"--branch",negate:!1,description:"需要撤销的分支名",defaultValue:""},{flags:"-m, --mode [mode]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--mode",negate:!1,description:"针对撤销一次merge记录,需要传入类型:1 = 保留当前分支代码,2 = 保留传入代码",defaultValue:1}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.redo=a)}("undefined"!=typeof window?window:global);var pe=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"revert",short:"rt",args:[{required:!1,name:"commitid",variadic:!1,validator:function(e,n,t){t()},description:"需要撤销的ID"}],options:[{flags:"-n, --number [number]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-n",long:"--number",negate:!1,description:"撤销最后一次提交(或者撤销倒数第n次提交)",defaultValue:""},{flags:"-m, --mode [mode]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--mode",negate:!1,description:"针对撤销一次merge记录,需要传入类型:1 = 保留当前分支代码,2 = 保留传入代码",defaultValue:"",options:["1","2"],value:"1"}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.revert=a)}("undefined"!=typeof window?window:global);var ge=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"run",short:"",args:[{required:!1,name:"command",variadic:!1},{required:!1,name:"args",variadic:!0,description:"参数列表"}],options:[]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.run=a)}("undefined"!=typeof window?window:global);var ve=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"save",short:"sv",args:[{required:!1,name:"message",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"存取关键字"}],options:[{flags:"-f, --force",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-f",long:"--force",negate:!1,description:"没有版本的文件也暂存,这会执行git add .",defaultValue:!1}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.save=a)}("undefined"!=typeof window?window:global);var be=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"start",short:"st",args:[{required:!0,name:"type",variadic:!1,description:"分支类型",options:["feature","bugfix","support"],value:""},{required:!0,name:"name",variadic:!1,description:"分支名称(不带feature/bugfix前缀)"}],options:[{flags:"-t, --tag ",required:!0,optional:!0,variadic:!1,mandatory:!1,short:"-t",long:"--tag",negate:!1,description:"从tag创建分支",defaultValue:"",recommend:!1}]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.start=a)}("undefined"!=typeof window?window:global);var ye=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"ui",short:null,args:[],options:[{flags:"-p, --port [port]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-p",long:"--port",negate:!1,description:"指定端口号",defaultValue:3e3,recommend:!1}]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.ui=a)}("undefined"!=typeof window?window:global);var he=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"undo",short:"ud",args:[{required:!1,name:"commitid",variadic:!0,validator:function(e,n,t){t()},description:"需要撤销的ID"}],options:[{flags:"-b, --branch [branch]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-b",long:"--branch",negate:!1,description:"需要撤销的分支名",defaultValue:""},{flags:"-m, --mode [mode]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--mode",negate:!1,description:"针对撤销一次merge记录,需要传入类型:1 = 保留当前分支代码,2 = 保留传入代码",defaultValue:1}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.undo=a)}("undefined"!=typeof window?window:global);var je=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"unlink",short:null,args:[{required:!1,name:"name",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"包的名称"}],options:[]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.unlink=a)}("undefined"!=typeof window?window:global);var xe=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"update",short:"up",args:[{required:!1,name:"type",variadic:!1,description:"分支类型",options:["feature","bugfix","support"],value:""},{required:!1,name:"name",variadic:!1,description:"分支名称(不带feature/bugfix前缀)"}],options:[{flags:"--use-merge",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--use-merge",negate:!1,description:"使用merge方式更新(默认merge)",defaultValue:!0,value:!0,recommend:!0},{flags:"--use-rebase",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--use-rebase",negate:!1,description:"使用rebase方式更新(默认merge)",defaultValue:!1,recommend:!0},{flags:"-a --all",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-a",long:"--all",negate:!1,description:"更新本地所有bugfix、feature、support分支",defaultValue:!1,recommend:!1}]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.update=a)}("undefined"!=typeof window?window:global);var Ce=Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"upgrade",short:"ug",args:[{required:!1,name:"version",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"版本号"}],options:[{flags:"-m, --mirror",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-m",long:"--mirror",negate:!1,description:"是否使用淘宝镜像",defaultValue:!1},{flags:"-c, --client [client]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-c",long:"--client",negate:!1,description:"用于装包的客户端名称",defaultValue:"npm",recommend:!0,value:"npm"},{flags:"-r, --registry ",required:!0,optional:!0,variadic:!1,mandatory:!1,short:"-r",long:"--registry",negate:!1,description:"使用镜像地址",defaultValue:"",recommend:!0,value:"https://registry.npmmirror.com"}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.upgrade=a)}("undefined"!=typeof window?window:global);var Ve={"../../../../lib/conf/admin.js":Z,"../../../../lib/conf/branch.js":ee,"../../../../lib/conf/build.js":ne,"../../../../lib/conf/clean.js":te,"../../../../lib/conf/cleanbranch.js":ae,"../../../../lib/conf/combine.js":oe,"../../../../lib/conf/continue.js":re,"../../../../lib/conf/copy.js":ie,"../../../../lib/conf/end.js":le,"../../../../lib/conf/get.js":de,"../../../../lib/conf/go.js":ue,"../../../../lib/conf/hook.js":ce,"../../../../lib/conf/link.js":se,"../../../../lib/conf/log.js":me,"../../../../lib/conf/postmsg.js":fe,"../../../../lib/conf/redo.js":pe,"../../../../lib/conf/revert.js":ge,"../../../../lib/conf/run.js":ve,"../../../../lib/conf/save.js":be,"../../../../lib/conf/start.js":ye,"../../../../lib/conf/ui.js":he,"../../../../lib/conf/undo.js":je,"../../../../lib/conf/unlink.js":xe,"../../../../lib/conf/update.js":Ce,"../../../../lib/conf/upgrade.js":Object.freeze(l({__proto__:null},Symbol.toStringTag,"Module"))},we={};for(var _e in Ve){var qe=_e.replace(/^.+\/(\w+)\.js$/,"$1");if(!Object.keys(Ve[_e]).length){we=window.gitmarsCmdConfig;break}we[qe]=Ve[_e]}var ke=we,Oe={class:"box row justify-center align-center"},Se=h("   /   ");var Ee=u(i(i({},{inheritAttrs:!1}),{},{setup:function(e,n){var t=n.expose,a=w(),o=c({type:"feature",name:""});return L(),O((function(){a.value.focus()})),t({data:o,submit:function(){return new Promise((function(e,n){if(!o.type||!o.name)return D({message:"请填写分支类型和名称",type:"warning"}),void n();e(s(o))}))}}),function(e,n){return p(),g("div",Oe,[q(V(P),{class:"col-6",modelValue:V(o).type,"onUpdate:modelValue":n[0]||(n[0]=function(e){return V(o).type=e}),placeholder:"请选择分支类型",clearable:""},{default:C((function(){return[q(V(I),{label:"feature",value:"feature"}),q(V(I),{label:"bugfix",value:"bugfix"}),q(V(I),{label:"support",value:"support"})]})),_:1},8,["modelValue"]),Se,q(V(R),{class:"col-18",ref:function(e,n){n.name=e,a.value=e},modelValue:V(o).name,"onUpdate:modelValue":n[1]||(n[1]=function(e){return V(o).name=e}),placeholder:"分支名称"},null,8,["modelValue"])])}}})),Ae=u({name:"ControlGitmars",components:{Xterm:T,Command:F,MapCommand:Y},setup:function(){return n(regeneratorRuntime.mark((function e(){var t,a,i,l,u,s,m,f,p,g,v,b,y,h,j,x,C,V,w,q,k,A,z,M,U,T;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=S($,{}),a=t.getTerminal,t.fitAddon,i=S(B,{}),l=i.socket,u=i.socketGitmars,s=L(),m=s.globalProperties,f=m.$axios,p=m.$box,g=o(),v=r(),b=window.innerWidth,y=window.innerHeight,h=c({project:{id:"",name:"",path:""},terminal:{name:""},activeNames:"",branches:[],current:"",ready:!1,error:{}}),j=_((function(){return"gitmars-"+h.project.id})),x=c(ke),C=_((function(){var e={bugfix:[],feature:[],others:[]};return h.branches.forEach((function(n){n.indexOf("bugfix/")>-1?e.bugfix.push(n):n.indexOf("feature/")>-1?e.feature.push(n):e.others.push(n)})),e})),O((function(){u.emit("create",{name:h.project.id,cwd:h.project.path}),u.on(h.project.id+"-branch",(function(e){h&&(h.branches=e)})),u.on(h.project.id+"-current",(function(e){h&&(h.current=e)}))})),d((function(){u.emit("remove",h.project.id)})),E((function(e){return h.error=e,!0})),V=function(){var e=n(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f({url:"/common/project/list",data:{id:v.query.id}});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),w=function(){var e=n(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f({url:"/cmd/branch/list",data:{}});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),q=function(){var e=n(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f({url:"/cmd/branch/current",data:{}});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),k=function(e){h.terminal&&l.emit(h.terminal.name+"-input","".concat(e,"\r"))},e.next=20,V();case 20:return h.project=e.sent,e.next=23,f({url:"/cmd/cd",data:{dir:h.project.path}});case 23:return e.next=25,w();case 25:return h.branches=e.sent,e.next=28,q();case 28:return h.current=e.sent,h.terminal=a&&a(j.value,h.project.path,parseInt(String((b-60-300-32)/7.05)),parseInt(String((y-64-32-34-400)/17.6))),h.ready=!0,A=function(){console.log("handleItemClick",666)},z=function(){console.log("handleChange",444)},M=function(){var e;p(Ee,{width:"640px",height:"240px",title:"创建分支",options:{},onOk:(e=n(regeneratorRuntime.mark((function e(n){var t,a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.component.proxy.submit();case 2:return t=e.sent,a=t.type,o=t.name,k("gitm start ".concat(a," ").concat(o)),e.abrupt("return",!0);case 7:case"end":return e.stop()}}),e)}))),function(n){return e.apply(this,arguments)})})},U=function(){g.push("/project/list")},T=function(){var e=n(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k("git checkout ".concat(n)),e.next=3,V();case 3:h.project=e.sent;case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),e.abrupt("return",{data:h,terminalID:j,exec:k,commandValue:x,route:v,branchList:C,handleItemClick:A,handleChange:z,createBranch:M,back:U,checkout:T});case 37:case"end":return e.stop()}}),e)})))()}}),ze=function(e){return z("data-v-9ffaa174"),e=e(),M(),e},Me={key:0,class:"page"},Ue=h(" Gitmars工作流 "),Te=h("创建分支"),Ie=h("返回"),Pe={class:"cont"},Re={class:"nav"},De={key:0,class:"bugfix"},Le=ze((function(){return v("dt",null,"bug分支",-1)})),Ne={class:"name"},$e=h("进入"),Be={key:1,class:"feature"},Ge=ze((function(){return v("dt",null,"feature分支",-1)})),He={class:"name"},Xe=h("进入"),Fe={key:2,class:"others"},We=ze((function(){return v("dt",null,"其他分支",-1)})),Je={class:"name"},Ke=h("进入"),Qe={class:"main"},Ye=ze((function(){return v("span",{class:"iconfont icon-layout"},null,-1)})),Ze={class:"cmd"},en={class:"section"},nn=ze((function(){return v("h4",null,"工作流",-1)})),tn={class:"section"},an=ze((function(){return v("h4",null,"实用工具",-1)}));e("default",N(Ae,[["render",function(e,n,t,a,o,r){var i=f("v3-button"),l=f("MapCommand"),d=f("Command"),u=f("v3-collapse-item"),c=f("v3-collapse"),s=f("Xterm");return e.data.ready?(p(),g("div",Me,[v("h1",null,[Ue,v("p",null,[q(i,{type:"primary",onClick:e.createBranch},{default:C((function(){return[Te]})),_:1},8,["onClick"]),q(i,{type:"default",onClick:e.back},{default:C((function(){return[Ie]})),_:1},8,["onClick"])])]),v("div",Pe,[v("div",Re,[e.branchList.bugfix.length?(p(),g("dl",De,[Le,(p(!0),g(b,null,y(e.branchList.bugfix,(function(n){return p(),g("dd",{class:U({active:n===e.data.current}),key:n},[v("span",Ne,j(n),1),n!==e.data.current?(p(),x(i,{key:0,type:"primary",size:"mini",onClick:function(t){return e.checkout(n)},plain:""},{default:C((function(){return[$e]})),_:2},1032,["onClick"])):A("",!0)],2)})),128))])):A("",!0),e.branchList.feature.length?(p(),g("dl",Be,[Ge,(p(!0),g(b,null,y(e.branchList.feature,(function(n){return p(),g("dd",{class:U({active:n===e.data.current}),key:n},[v("span",He,j(n),1),n!==e.data.current?(p(),x(i,{key:0,type:"primary",size:"mini",onClick:function(t){return e.checkout(n)},plain:""},{default:C((function(){return[Xe]})),_:2},1032,["onClick"])):A("",!0)],2)})),128))])):A("",!0),e.branchList.others.length?(p(),g("dl",Fe,[We,(p(!0),g(b,null,y(e.branchList.others,(function(n){return p(),g("dd",{class:U({active:n===e.data.current}),key:n},[v("span",Je,j(n),1),n!==e.data.current?(p(),x(i,{key:0,type:"primary",size:"mini",onClick:function(t){return e.checkout(n)},plain:""},{default:C((function(){return[Ke]})),_:2},1032,["onClick"])):A("",!0)],2)})),128))])):A("",!0)]),v("div",Qe,[v("h3",null,[v("span",null,[Ye,h(" 当前分支:"+j(e.data.current),1)]),v("p",null,j(e.data.project.path),1)]),v("div",Ze,[v("div",en,[nn,q(c,{modelValue:e.data.activeNames,"onUpdate:modelValue":n[8]||(n[8]=function(n){return e.data.activeNames=n}),accordion:!0,onChange:e.handleChange},{default:C((function(){return[q(u,{name:"1"},{title:C((function(){return[q(l,{value:e.commandValue.combine,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(d,{modelValue:e.commandValue.combine,"onUpdate:modelValue":n[0]||(n[0]=function(n){return e.commandValue.combine=n})},null,8,["modelValue"])]})),_:1}),q(u,{name:"2"},{title:C((function(){return[q(l,{value:e.commandValue.update,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(d,{modelValue:e.commandValue.update,"onUpdate:modelValue":n[1]||(n[1]=function(n){return e.commandValue.update=n})},null,8,["modelValue"])]})),_:1}),q(u,{name:"3"},{title:C((function(){return[q(l,{value:e.commandValue.build,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(d,{modelValue:e.commandValue.build,"onUpdate:modelValue":n[2]||(n[2]=function(n){return e.commandValue.build=n})},null,8,["modelValue"])]})),_:1}),q(u,{name:"4"},{title:C((function(){return[q(l,{value:e.commandValue.continue,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(d,{modelValue:e.commandValue.continue,"onUpdate:modelValue":n[3]||(n[3]=function(n){return e.commandValue.continue=n})},null,8,["modelValue"])]})),_:1}),q(u,{name:"5"},{title:C((function(){return[q(l,{value:e.commandValue.end,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(d,{modelValue:e.commandValue.end,"onUpdate:modelValue":n[4]||(n[4]=function(n){return e.commandValue.end=n})},null,8,["modelValue"])]})),_:1}),q(u,{name:"6"},{title:C((function(){return[q(l,{value:e.commandValue.branch,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(d,{modelValue:e.commandValue.branch,"onUpdate:modelValue":n[5]||(n[5]=function(n){return e.commandValue.branch=n})},null,8,["modelValue"])]})),_:1}),q(u,{name:"7"},{title:C((function(){return[q(l,{value:e.commandValue.cleanbranch,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(d,{modelValue:e.commandValue.cleanbranch,"onUpdate:modelValue":n[6]||(n[6]=function(n){return e.commandValue.cleanbranch=n})},null,8,["modelValue"])]})),_:1}),q(u,{name:"8"},{title:C((function(){return[q(l,{value:e.commandValue.admin.publish,current:e.data.current,execName:"gitm admin",onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(d,{modelValue:e.commandValue.admin.publish,"onUpdate:modelValue":n[7]||(n[7]=function(n){return e.commandValue.admin.publish=n})},null,8,["modelValue"])]})),_:1})]})),_:1},8,["modelValue","onChange"])]),v("div",tn,[an,q(c,{modelValue:e.data.activeNames,"onUpdate:modelValue":n[17]||(n[17]=function(n){return e.data.activeNames=n}),accordion:!0,onChange:e.handleChange},{default:C((function(){return[q(u,{name:"11"},{title:C((function(){return[q(l,{value:e.commandValue.save,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(d,{modelValue:e.commandValue.save,"onUpdate:modelValue":n[9]||(n[9]=function(n){return e.commandValue.save=n})},null,8,["modelValue"])]})),_:1}),q(u,{name:"12"},{title:C((function(){return[q(l,{value:e.commandValue.get,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(d,{modelValue:e.commandValue.get,"onUpdate:modelValue":n[10]||(n[10]=function(n){return e.commandValue.get=n})},null,8,["modelValue"])]})),_:1}),q(u,{name:"13"},{title:C((function(){return[q(l,{value:e.commandValue.copy,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(d,{modelValue:e.commandValue.copy,"onUpdate:modelValue":n[11]||(n[11]=function(n){return e.commandValue.copy=n})},null,8,["modelValue"])]})),_:1}),q(u,{name:"14"},{title:C((function(){return[q(l,{value:e.commandValue.revert,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(d,{modelValue:e.commandValue.revert,"onUpdate:modelValue":n[12]||(n[12]=function(n){return e.commandValue.revert=n})},null,8,["modelValue"])]})),_:1}),q(u,{name:"15"},{title:C((function(){return[q(l,{value:e.commandValue.link,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(d,{modelValue:e.commandValue.link,"onUpdate:modelValue":n[13]||(n[13]=function(n){return e.commandValue.link=n})},null,8,["modelValue"])]})),_:1}),q(u,{name:"16"},{title:C((function(){return[q(l,{value:e.commandValue.unlink,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(d,{modelValue:e.commandValue.unlink,"onUpdate:modelValue":n[14]||(n[14]=function(n){return e.commandValue.unlink=n})},null,8,["modelValue"])]})),_:1}),q(u,{name:"17"},{title:C((function(){return[q(l,{value:e.commandValue.clean,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(d,{modelValue:e.commandValue.clean,"onUpdate:modelValue":n[15]||(n[15]=function(n){return e.commandValue.clean=n})},null,8,["modelValue"])]})),_:1}),q(u,{name:"18"},{title:C((function(){return[q(l,{value:e.commandValue.log,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(d,{modelValue:e.commandValue.log,"onUpdate:modelValue":n[16]||(n[16]=function(n){return e.commandValue.log=n})},null,8,["modelValue"])]})),_:1})]})),_:1},8,["modelValue","onChange"])])]),e.data.project?(p(),x(s,{ref:"xterm",class:"xterm",key:"gitmars-xterm",id:e.terminalID,path:e.data.project.path},null,8,["id","path"])):A("",!0)])])])):A("",!0)}],["__scopeId","data-v-9ffaa174"]]))}}}))}(); diff --git a/app/www/assets/gitmars-legacy.f105ee70.js b/app/www/assets/gitmars-legacy.f105ee70.js new file mode 100644 index 00000000..a8191823 --- /dev/null +++ b/app/www/assets/gitmars-legacy.f105ee70.js @@ -0,0 +1 @@ +!function(){function e(e,n,t,a,o,r,i){try{var d=e[r](i),u=d.value}catch(l){return void t(l)}d.done?n(u):Promise.resolve(u).then(a,o)}function n(n){return function(){var t=this,a=arguments;return new Promise((function(o,r){var i=n.apply(t,a);function d(n){e(i,o,r,d,u,"next",n)}function u(n){e(i,o,r,d,u,"throw",n)}d(void 0)}))}}function t(e){return t="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},t(e)}function a(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return o(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return o(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,d=!0,u=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return d=e.done,e},e:function(e){u=!0,i=e},f:function(){try{d||null==t.return||t.return()}finally{if(u)throw i}}}}function o(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t0&&(m=m.substr(1)),f&&l.push(m))}}}catch(b){c.e(b)}finally{c.f()}var p,g=a(o);try{for(g.s();!(p=g.n()).done;){var v=p.value;v.value&&i.push(v.value)}}catch(b){g.e(b)}finally{g.f()}return"".concat(r.execName," ").concat(u," ").concat(i.join(" ")," ").concat(l.join("")," ").concat(d.join(" ")).replace(/[\s]{2,}/g," ")}(e)}),{deep:!0,immediate:!0}),t({curBranch:l,cmd:i,exec:c}),function(e,n){var t=f("v3-button");return p(),g("div",J,[v("span",null,j(i.value),1),q(t,{type:"primary",size:"small",onClick:k(c,["stop"]),plain:""},{default:C((function(){return[K]})),_:1},8,["onClick"])])}}}));W="undefined"!=typeof window?window:global,Q={command:"admin",short:null,create:{command:"create",short:null,args:[{required:!0,name:"type",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"分支类型"}],options:[],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}},publish:{command:"publish",short:null,args:[{required:!0,name:"type",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"分支类型",options:["release","bugfix"],value:""}],options:[{flags:"-c, --combine",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-c",long:"--combine",negate:!1,description:"是否把release代码同步到bug",defaultValue:!1,recommend:!1},{flags:"--use-rebase",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--use-rebase",negate:!1,description:"是否使用rebase方式更新,默认merge",defaultValue:!1,recommend:!1},{flags:"-p, --prod",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-p",long:"--prod",negate:!1,description:"发布bug分支时,是否合并bug到master",defaultValue:!1,recommend:!1},{flags:"-b, --build [build]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-b",long:"--build",negate:!1,description:"构建应用",recommend:!0},{flags:"--postmsg",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--postmsg",negate:!1,description:"发送消息",defaultValue:!1,recommend:!1},{flags:"--description [description]",required:!1,optional:!0,variadic:!1,mandatory:!1,long:"--description",negate:!1,description:"本次提交的原因描述",defaultValue:"",recommend:!1}],validatorOpts:function(e,n,t){e.includes("--combine")&&e.includes("--prod")?t(new Error("不能同时选择“把release合并到bug”和“合并bug到master”")):t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}},update:{command:"update",short:null,args:[{required:!0,name:"type",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"分支类型"}],options:[{flags:"--use-rebase",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--use-rebase",negate:!1,description:"是否使用rebase方式更新,默认merge",defaultValue:!1,recommend:!1},{flags:"-m, --mode [mode]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--mode",negate:!1,description:"出现冲突时,保留传入代码还是保留当前代码;1=采用当前 2=采用传入;默认为 0=手动处理。本参数不可与--use-rebase同时使用",defaultValue:0,recommend:!1},{flags:"--postmsg",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--postmsg",negate:!1,description:"发送消息",defaultValue:!1,recommend:!1},{flags:"--description [description]",required:!1,optional:!0,variadic:!1,mandatory:!1,long:"--description",negate:!1,description:"本次提交的原因描述",defaultValue:"",recommend:!1}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}},clean:{command:"clean",short:null,args:[{required:!0,name:"type",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"分支类型"}],options:[],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}}},"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=Q:"object"===t(e)?e.cmdConfig=Q:(W.gitmarsCmdConfig||(W.gitmarsCmdConfig={}),W.gitmarsCmdConfig.admin=Q);var Z=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"branch",short:"bh",args:[],options:[{flags:"-k, --key [keyword]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-k",long:"--key",negate:!1,description:"查询分支的关键词",defaultValue:null},{flags:"--exclude [exclude]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--exclude",negate:!1,description:"排除关键词",defaultValue:"",value:""},{flags:"--include [include]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--include",negate:!1,description:"包含关键词",defaultValue:"",value:""},{flags:"-r, --remote",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-r",long:"--remote",negate:!1,description:"是否查询远程分支(deletes模式下改用于删除远程分支)默认只查询本地",defaultValue:!1},{flags:"-t, --type [type]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-t",long:"--type",negate:!1,description:"查询分支的类型,共有3种:feature、bugfix、support,不传则查询全部",defaultValue:null,options:["feature","bugfix","support"],value:""},{flags:"-d, --delete [branch]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-d",long:"--delete",negate:!1,description:"删除分支",defaultValue:null},{flags:"-D, --forcedelete [branch]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-D",long:"--forcedelete",negate:!1,description:"强行删除分支",defaultValue:null},{flags:"-u, --upstream [upstream]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-u",long:"--upstream",negate:!1,description:"设置与远程分支关联"}],validatorOpts:function(e,n,t){e.includes("--upstream")&&(e.includes("--key")||e.includes("--remote")||e.includes("--type")||e.includes("--delete")||e.includes("--forcedelete"))?t(new Error("使用绑定/取消绑定远程分支功能时,不能与其他功能混用")):!e.includes("--delete")&&!e.includes("--forcedelete")||!e.includes("--key")&&!e.includes("--type")?t():t(new Error("使用删除分支功能时,不能与查询分支功能混用"))},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.branch=a)}("undefined"!=typeof window?window:global);var ee=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"build",short:"bd",args:[{required:!0,name:"project",variadic:!1,description:"项目名称"}],options:[{flags:"-e, --env [env]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-e",long:"--env",negate:!1,description:"构建环境,可选dev、prod、bug、all",defaultValue:"dev",recommend:!0,options:["dev","prod","bug","all"],value:"dev"},{flags:"-a, --app [app]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-a",long:"--app",negate:!1,description:"构建应用",defaultValue:"all",recommend:!0,value:"all"}]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.build=a)}("undefined"!=typeof window?window:global);var ne=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"clean",short:null,args:[],options:[{flags:"-f, --force",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-f",long:"--force",negate:!1,description:"强制清理",defaultValue:!1}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.clean=a)}("undefined"!=typeof window?window:global);var te=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"cleanbranch",short:"clb",args:[{required:!1,name:"branches",variadic:!0,validator:function(e,n,t){t()},description:"指定要清理的分支"}],options:[{flags:"-l, --list",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-l",long:"--list",negate:!1,description:"显示符合条件的分支列表",defaultValue:!1,value:!0},{flags:"-t, --type [type]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-t",long:"--type",negate:!1,description:"分支的类型,共有3种:feature、bugfix、support,不传则默认全部",defaultValue:null,options:["feature","bugfix","support"],value:""},{flags:"--target [target]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--target",negate:!1,description:"需要检测是否合过的目标分支名,不传默认是develop和release",defaultValue:null,value:"dev,release"},{flags:"-k, --key [keyword]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-k",long:"--key",negate:!1,description:"查询分支的关键词",defaultValue:null},{flags:"--exclude [exclude]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--exclude",negate:!1,description:"排除关键词",defaultValue:"",value:""},{flags:"--include [include]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--include",negate:!1,description:"包含关键词",defaultValue:"",value:""},{flags:"-r, --remote",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-r",long:"--remote",negate:!1,description:"是否清理远程分支,默认清理本地分支",defaultValue:!1},{flags:"-c, --confirm",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-c",long:"--confirm",negate:!1,description:"确认开始,为true时不显示确认框",defaultValue:!1}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.cleanbranch=a)}("undefined"!=typeof window?window:global);var ae=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"combine",short:"cb",args:[{required:!1,name:"type",variadic:!1,description:"分支类型",options:["feature","bugfix","support"],value:""},{required:!1,name:"name",variadic:!1,description:"分支名称(不带feature/bugfix前缀)"}],options:[{flags:"-d, --dev",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-d",long:"--dev",negate:!1,description:"同步到dev环境",defaultValue:!1,value:!0,recommend:!0},{flags:"-p, --prod",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-p",long:"--prod",negate:!1,description:"同步到prod环境",defaultValue:!1,value:!1,recommend:!1},{flags:"-b, --build [build]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-b",long:"--build",negate:!1,description:"构建应用",value:"all",recommend:!0},{flags:"-m, --commit ",required:!0,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--commit",negate:!1,description:"执行commit,需填写信息",defaultValue:"",recommend:!1},{flags:"--description [description]",required:!1,optional:!0,variadic:!1,mandatory:!1,long:"--description",negate:!1,description:"本次提交的原因描述",defaultValue:"",recommend:!1},{flags:"-a, --add",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-a",long:"--add",negate:!1,description:"执行add",defaultValue:!1,recommend:!1},{flags:"--no-bugfix",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--no-bugfix",negate:!0,description:"bug分支合并到release时不合并到bug分支",defaultValue:!0,recommend:!1},{flags:"--as-feature",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--as-feature",negate:!1,description:"bug分支合并到release",recommend:!1}],validatorOpts:function(e,n,t){e.includes("--dev")||e.includes("--prod")?e.includes("--add")&&!e.includes("--commit")||!e.includes("--add")&&e.includes("--commit")?t(new Error("add和commit需要同时选择")):t():t(new Error("合并dev或者prod必须至少选一个"))},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.combine=a)}("undefined"!=typeof window?window:global);var oe=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"continue",short:"ct",args:[],options:[{flags:"-l, --list",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-l",long:"--list",negate:!1,description:"显示指令队列",defaultValue:!1}]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.continue=a)}("undefined"!=typeof window?window:global);var re=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"copy",short:"cp",args:[{required:!1,name:"commitid",variadic:!0,validator:function(e,n,t){t()},description:"提交记录ID"}],options:[{flags:"-s, --source [source]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-s",long:"--source",negate:!1,description:"拷贝记录的来源分支",defaultValue:""},{flags:"-k, --key [keyword]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-k",long:"--key",negate:!1,description:"模糊搜索commit信息关键词",defaultValue:""},{flags:"-a, --author [author]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-a",long:"--author",negate:!1,description:"提交者",defaultValue:""}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.copy=a)}("undefined"!=typeof window?window:global);var ie=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"end",short:"ed",args:[{required:!1,name:"type",variadic:!1,description:"分支类型",options:["feature","bugfix","support"],value:""},{required:!1,name:"name",variadic:!1,description:"分支名称(不带feature/bugfix前缀)"}],options:[{flags:"--no-combine",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--no-combine",negate:!0,description:"不合并主干分支(请确保分支已经上线)",defaultValue:!0,recommend:!1},{flags:"--as-feature",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--as-feature",negate:!1,description:"bug分支合并到release",recommend:!1},{flags:"--description [description]",required:!1,optional:!0,variadic:!1,mandatory:!1,long:"--description",negate:!1,description:"本次提交的原因描述",defaultValue:"",recommend:!1}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.end=a)}("undefined"!=typeof window?window:global);var de=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"get",short:"gt",args:[{required:!1,name:"message",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"存取关键字"},{required:!1,name:"index",variadic:!1,description:"序号"}],options:[{flags:"-k, --keep [keep]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-k",long:"--keep",negate:!1,description:"保留暂存区不删除",defaultValue:!1}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.get=a)}("undefined"!=typeof window?window:global);var ue=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"go",short:"",args:[{required:!1,name:"command",variadic:!1,description:"指令名称",options:["combine","end","update","build","start","admin.publish","admin.update","admin.create","admin.clean","branch","copy","get","save","cleanbranch","clean","revert","link","unlink","postmsg"],value:""}],options:[]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.go=a)}("undefined"!=typeof window?window:global);var le=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"hook",short:"hk",args:[{required:!1,name:"command",variadic:!1},{required:!1,name:"args",variadic:!0}],options:[{flags:"--no-verify",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--no-verify",negate:!0,description:"是否需要跳过校验权限",defaultValue:!1},{flags:"--lastet [lastet]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"",long:"--lastet",negate:!1,description:"查询在某个时间之后的日志,填写格式:10s/2m/2h/3d/4M/5y",defaultValue:"7d"},{flags:"--limit [limit]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"",long:"--limit",negate:!1,description:"最多查询的日志条数",defaultValue:20},{flags:"-t, --type ",required:!0,optional:!1,variadic:!1,mandatory:!1,short:"-t",long:"--type",negate:!1,description:"检测类型",defaultValue:""},{flags:"--branch [branch]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"",long:"--branch",negate:!1,description:"要查询的分支",defaultValue:""}]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.hook=a)}("undefined"!=typeof window?window:global);var ce=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"link",short:null,args:[{required:!1,name:"name",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"包的名称"}],options:[]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.link=a)}("undefined"!=typeof window?window:global);var se=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"log",short:"lg",args:[{required:!1,name:"branch",variadic:!1}],options:[{flags:"--lastet [lastet]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--lastet",negate:!1,description:"查询在某个时间之后的日志,填写格式:10s/2m/2h/3d/4M/5y",defaultValue:"7d"},{flags:"--limit [limit]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--limit",negate:!1,description:"最多查询的日志条数",defaultValue:20}]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.log=a)}("undefined"!=typeof window?window:global);var me=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"postmsg",short:null,args:[{required:!0,name:"message",variadic:!1}],options:[{flags:"-u, --url [url]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-u",long:"--url",negate:!1,description:"推送消息的api地址",defaultValue:""}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.postmsg=a)}("undefined"!=typeof window?window:global);var fe=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"redo",short:"rd",args:[{required:!1,name:"commitid",variadic:!0,validator:function(e,n,t){t()},description:"需要撤销的ID"}],options:[{flags:"-b, --branch [branch]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-b",long:"--branch",negate:!1,description:"需要撤销的分支名",defaultValue:""},{flags:"-m, --mode [mode]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--mode",negate:!1,description:"针对撤销一次merge记录,需要传入类型:1 = 保留当前分支代码,2 = 保留传入代码",defaultValue:1}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.redo=a)}("undefined"!=typeof window?window:global);var pe=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"revert",short:"rt",args:[{required:!1,name:"commitid",variadic:!1,validator:function(e,n,t){t()},description:"需要撤销的ID"}],options:[{flags:"-n, --number [number]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-n",long:"--number",negate:!1,description:"撤销最后一次提交(或者撤销倒数第n次提交)",defaultValue:""},{flags:"-m, --mode [mode]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--mode",negate:!1,description:"针对撤销一次merge记录,需要传入类型:1 = 保留当前分支代码,2 = 保留传入代码",defaultValue:"",options:["1","2"],value:"1"}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.revert=a)}("undefined"!=typeof window?window:global);var ge=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"run",short:"",args:[{required:!1,name:"command",variadic:!1},{required:!1,name:"args",variadic:!0,description:"参数列表"}],options:[]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.run=a)}("undefined"!=typeof window?window:global);var ve=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"save",short:"sv",args:[{required:!1,name:"message",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"存取关键字"}],options:[{flags:"-f, --force",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-f",long:"--force",negate:!1,description:"没有版本的文件也暂存,这会执行git add .",defaultValue:!1}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.save=a)}("undefined"!=typeof window?window:global);var be=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"start",short:"st",args:[{required:!0,name:"type",variadic:!1,description:"分支类型",options:["feature","bugfix","support"],value:""},{required:!0,name:"name",variadic:!1,description:"分支名称(不带feature/bugfix前缀)"}],options:[{flags:"-t, --tag ",required:!0,optional:!0,variadic:!1,mandatory:!1,short:"-t",long:"--tag",negate:!1,description:"从tag创建分支",defaultValue:"",recommend:!1}]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.start=a)}("undefined"!=typeof window?window:global);var ye=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"ui",short:null,args:[],options:[{flags:"-p, --port [port]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-p",long:"--port",negate:!1,description:"指定端口号",defaultValue:3e3,recommend:!1}]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.ui=a)}("undefined"!=typeof window?window:global);var he=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"undo",short:"ud",args:[{required:!1,name:"commitid",variadic:!0,validator:function(e,n,t){t()},description:"需要撤销的ID"}],options:[{flags:"-b, --branch [branch]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-b",long:"--branch",negate:!1,description:"需要撤销的分支名",defaultValue:""},{flags:"-m, --mode [mode]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--mode",negate:!1,description:"针对撤销一次merge记录,需要传入类型:1 = 保留当前分支代码,2 = 保留传入代码",defaultValue:1}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.undo=a)}("undefined"!=typeof window?window:global);var je=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"unlink",short:null,args:[{required:!1,name:"name",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"包的名称"}],options:[]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.unlink=a)}("undefined"!=typeof window?window:global);var xe=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"update",short:"up",args:[{required:!1,name:"type",variadic:!1,description:"分支类型",options:["feature","bugfix","support"],value:""},{required:!1,name:"name",variadic:!1,description:"分支名称(不带feature/bugfix前缀)"}],options:[{flags:"--use-merge",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--use-merge",negate:!1,description:"使用merge方式更新(默认merge)",defaultValue:!0,value:!0,recommend:!0},{flags:"--use-rebase",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--use-rebase",negate:!1,description:"使用rebase方式更新(默认merge)",defaultValue:!1,recommend:!0},{flags:"-a --all",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-a",long:"--all",negate:!1,description:"更新本地所有bugfix、feature、support分支",defaultValue:!1,recommend:!1}]};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.update=a)}("undefined"!=typeof window?window:global);var Ce=Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"));!function(n){var a={command:"upgrade",short:"ug",args:[{required:!1,name:"version",variadic:!1,validator:function(e,n,t){/\s+/.test(e)?t(new Error("请不要输入空格")):t()},description:"版本号"}],options:[{flags:"-m, --mirror",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-m",long:"--mirror",negate:!1,description:"是否使用淘宝镜像",defaultValue:!1},{flags:"-c, --client [client]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-c",long:"--client",negate:!1,description:"用于装包的客户端名称",defaultValue:"npm",recommend:!0,value:"npm"},{flags:"-r, --registry ",required:!0,optional:!0,variadic:!1,mandatory:!1,short:"-r",long:"--registry",negate:!1,description:"使用镜像地址",defaultValue:"",recommend:!0,value:"https://registry.npmmirror.com"}],validatorOpts:function(e,n,t){t()},validatorArgs:function(e,n,t){t()},transformOpts:function(e,n,t){t()},transformArgs:function(e,n,t){t()}};"object"===t(e)&&"object"===("undefined"==typeof module?"undefined":t(module))?module.exports=a:"object"===t(e)?e.cmdConfig=a:(n.gitmarsCmdConfig||(n.gitmarsCmdConfig={}),n.gitmarsCmdConfig.upgrade=a)}("undefined"!=typeof window?window:global);var Ve={"../../../../lib/conf/admin.js":Z,"../../../../lib/conf/branch.js":ee,"../../../../lib/conf/build.js":ne,"../../../../lib/conf/clean.js":te,"../../../../lib/conf/cleanbranch.js":ae,"../../../../lib/conf/combine.js":oe,"../../../../lib/conf/continue.js":re,"../../../../lib/conf/copy.js":ie,"../../../../lib/conf/end.js":de,"../../../../lib/conf/get.js":ue,"../../../../lib/conf/go.js":le,"../../../../lib/conf/hook.js":ce,"../../../../lib/conf/link.js":se,"../../../../lib/conf/log.js":me,"../../../../lib/conf/postmsg.js":fe,"../../../../lib/conf/redo.js":pe,"../../../../lib/conf/revert.js":ge,"../../../../lib/conf/run.js":ve,"../../../../lib/conf/save.js":be,"../../../../lib/conf/start.js":ye,"../../../../lib/conf/ui.js":he,"../../../../lib/conf/undo.js":je,"../../../../lib/conf/unlink.js":xe,"../../../../lib/conf/update.js":Ce,"../../../../lib/conf/upgrade.js":Object.freeze(d({__proto__:null},Symbol.toStringTag,"Module"))},we={};for(var _e in Ve){var qe=_e.replace(/^.+\/(\w+)\.js$/,"$1");if(!Object.keys(Ve[_e]).length){we=window.gitmarsCmdConfig;break}we[qe]=Ve[_e]}var ke=we,Oe={class:"box row justify-center align-center"},Se=h("   /   ");var Ee=l(i(i({},{inheritAttrs:!1}),{},{setup:function(e,n){var t=n.expose,a=w(),o=c({type:"feature",name:""});return L(),O((function(){a.value.focus()})),t({data:o,submit:function(){return new Promise((function(e,n){if(!o.type||!o.name)return R({message:"请填写分支类型和名称",type:"warning"}),void n();e(s(o))}))}}),function(e,n){return p(),g("div",Oe,[q(V(P),{class:"col-6",modelValue:V(o).type,"onUpdate:modelValue":n[0]||(n[0]=function(e){return V(o).type=e}),placeholder:"请选择分支类型",clearable:""},{default:C((function(){return[q(V(I),{label:"feature",value:"feature"}),q(V(I),{label:"bugfix",value:"bugfix"}),q(V(I),{label:"support",value:"support"})]})),_:1},8,["modelValue"]),Se,q(V(D),{class:"col-18",ref:function(e,n){n.name=e,a.value=e},modelValue:V(o).name,"onUpdate:modelValue":n[1]||(n[1]=function(e){return V(o).name=e}),placeholder:"分支名称"},null,8,["modelValue"])])}}})),Ae=l({name:"ControlGitmars",components:{Xterm:T,Command:F,MapCommand:Y},setup:function(){return n(regeneratorRuntime.mark((function e(){var t,a,i,d,l,s,m,f,p,g,v,b,y,h,j,x,C,V,w,q,k,A,z,M,U,T;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=S($,{}),a=t.getTerminal,t.fitAddon,i=S(B,{}),d=i.socket,l=i.socketGitmars,s=L(),m=s.globalProperties,f=m.$axios,p=m.$box,g=o(),v=r(),b=window.innerWidth,y=window.innerHeight,h=c({project:{id:"",name:"",path:""},terminal:{name:""},activeNames:"",branches:[],current:"",ready:!1,error:{}}),j=_((function(){return"gitmars-"+h.project.id})),x=c(ke),C=_((function(){var e={bugfix:[],feature:[],others:[]};return h.branches.forEach((function(n){n.indexOf("bugfix/")>-1?e.bugfix.push(n):n.indexOf("feature/")>-1?e.feature.push(n):e.others.push(n)})),e})),O((function(){l.emit("create",{name:h.project.id,cwd:h.project.path}),l.on(h.project.id+"-branch",(function(e){h&&(h.branches=e)})),l.on(h.project.id+"-current",(function(e){h&&(h.current=e)}))})),u((function(){l.emit("remove",h.project.id)})),E((function(e){return h.error=e,!0})),V=function(){var e=n(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f({url:"/common/project/list",data:{id:v.query.id}});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),w=function(){var e=n(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f({url:"/cmd/branch/list",data:{}});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),q=function(){var e=n(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f({url:"/cmd/branch/current",data:{}});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),k=function(e){h.terminal&&d.emit(h.terminal.name+"-input","".concat(e,"\r"))},e.next=20,V();case 20:return h.project=e.sent,e.next=23,f({url:"/cmd/cd",data:{dir:h.project.path}});case 23:return e.next=25,w();case 25:return h.branches=e.sent,e.next=28,q();case 28:return h.current=e.sent,h.terminal=a&&a(j.value,h.project.path,parseInt(String((b-60-300-32)/7.05)),parseInt(String((y-64-32-34-400)/17.6))),h.ready=!0,A=function(){console.log("handleItemClick",666)},z=function(){console.log("handleChange",444)},M=function(){var e;p(Ee,{width:"640px",height:"240px",title:"创建分支",options:{},onOk:(e=n(regeneratorRuntime.mark((function e(n){var t,a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.component.proxy.submit();case 2:return t=e.sent,a=t.type,o=t.name,k("gitm start ".concat(a," ").concat(o)),e.abrupt("return",!0);case 7:case"end":return e.stop()}}),e)}))),function(n){return e.apply(this,arguments)})})},U=function(){g.push("/project/list")},T=function(){var e=n(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k("git checkout ".concat(n)),e.next=3,V();case 3:h.project=e.sent;case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),e.abrupt("return",{data:h,terminalID:j,exec:k,commandValue:x,route:v,branchList:C,handleItemClick:A,handleChange:z,createBranch:M,back:U,checkout:T});case 37:case"end":return e.stop()}}),e)})))()}}),ze=function(e){return z("data-v-9ffaa174"),e=e(),M(),e},Me={key:0,class:"page"},Ue=h(" Gitmars工作流 "),Te=h("创建分支"),Ie=h("返回"),Pe={class:"cont"},De={class:"nav"},Re={key:0,class:"bugfix"},Le=ze((function(){return v("dt",null,"bug分支",-1)})),Ne={class:"name"},$e=h("进入"),Be={key:1,class:"feature"},Ge=ze((function(){return v("dt",null,"feature分支",-1)})),Xe={class:"name"},He=h("进入"),Fe={key:2,class:"others"},Je=ze((function(){return v("dt",null,"其他分支",-1)})),Ke={class:"name"},We=h("进入"),Qe={class:"main"},Ye=ze((function(){return v("span",{class:"iconfont icon-layout"},null,-1)})),Ze={class:"cmd"},en={class:"section"},nn=ze((function(){return v("h4",null,"工作流",-1)})),tn={class:"section"},an=ze((function(){return v("h4",null,"实用工具",-1)}));e("default",N(Ae,[["render",function(e,n,t,a,o,r){var i=f("v3-button"),d=f("MapCommand"),u=f("Command"),l=f("v3-collapse-item"),c=f("v3-collapse"),s=f("Xterm");return e.data.ready?(p(),g("div",Me,[v("h1",null,[Ue,v("p",null,[q(i,{type:"primary",onClick:e.createBranch},{default:C((function(){return[Te]})),_:1},8,["onClick"]),q(i,{type:"default",onClick:e.back},{default:C((function(){return[Ie]})),_:1},8,["onClick"])])]),v("div",Pe,[v("div",De,[e.branchList.bugfix.length?(p(),g("dl",Re,[Le,(p(!0),g(b,null,y(e.branchList.bugfix,(function(n){return p(),g("dd",{class:U({active:n===e.data.current}),key:n},[v("span",Ne,j(n),1),n!==e.data.current?(p(),x(i,{key:0,type:"primary",size:"mini",onClick:function(t){return e.checkout(n)},plain:""},{default:C((function(){return[$e]})),_:2},1032,["onClick"])):A("",!0)],2)})),128))])):A("",!0),e.branchList.feature.length?(p(),g("dl",Be,[Ge,(p(!0),g(b,null,y(e.branchList.feature,(function(n){return p(),g("dd",{class:U({active:n===e.data.current}),key:n},[v("span",Xe,j(n),1),n!==e.data.current?(p(),x(i,{key:0,type:"primary",size:"mini",onClick:function(t){return e.checkout(n)},plain:""},{default:C((function(){return[He]})),_:2},1032,["onClick"])):A("",!0)],2)})),128))])):A("",!0),e.branchList.others.length?(p(),g("dl",Fe,[Je,(p(!0),g(b,null,y(e.branchList.others,(function(n){return p(),g("dd",{class:U({active:n===e.data.current}),key:n},[v("span",Ke,j(n),1),n!==e.data.current?(p(),x(i,{key:0,type:"primary",size:"mini",onClick:function(t){return e.checkout(n)},plain:""},{default:C((function(){return[We]})),_:2},1032,["onClick"])):A("",!0)],2)})),128))])):A("",!0)]),v("div",Qe,[v("h3",null,[v("span",null,[Ye,h(" 当前分支:"+j(e.data.current),1)]),v("p",null,j(e.data.project.path),1)]),v("div",Ze,[v("div",en,[nn,q(c,{modelValue:e.data.activeNames,"onUpdate:modelValue":n[8]||(n[8]=function(n){return e.data.activeNames=n}),accordion:!0,onChange:e.handleChange},{default:C((function(){return[q(l,{name:"1"},{title:C((function(){return[q(d,{value:e.commandValue.combine,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(u,{modelValue:e.commandValue.combine,"onUpdate:modelValue":n[0]||(n[0]=function(n){return e.commandValue.combine=n})},null,8,["modelValue"])]})),_:1}),q(l,{name:"2"},{title:C((function(){return[q(d,{value:e.commandValue.update,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(u,{modelValue:e.commandValue.update,"onUpdate:modelValue":n[1]||(n[1]=function(n){return e.commandValue.update=n})},null,8,["modelValue"])]})),_:1}),q(l,{name:"3"},{title:C((function(){return[q(d,{value:e.commandValue.build,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(u,{modelValue:e.commandValue.build,"onUpdate:modelValue":n[2]||(n[2]=function(n){return e.commandValue.build=n})},null,8,["modelValue"])]})),_:1}),q(l,{name:"4"},{title:C((function(){return[q(d,{value:e.commandValue.continue,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(u,{modelValue:e.commandValue.continue,"onUpdate:modelValue":n[3]||(n[3]=function(n){return e.commandValue.continue=n})},null,8,["modelValue"])]})),_:1}),q(l,{name:"5"},{title:C((function(){return[q(d,{value:e.commandValue.end,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(u,{modelValue:e.commandValue.end,"onUpdate:modelValue":n[4]||(n[4]=function(n){return e.commandValue.end=n})},null,8,["modelValue"])]})),_:1}),q(l,{name:"6"},{title:C((function(){return[q(d,{value:e.commandValue.branch,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(u,{modelValue:e.commandValue.branch,"onUpdate:modelValue":n[5]||(n[5]=function(n){return e.commandValue.branch=n})},null,8,["modelValue"])]})),_:1}),q(l,{name:"7"},{title:C((function(){return[q(d,{value:e.commandValue.cleanbranch,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(u,{modelValue:e.commandValue.cleanbranch,"onUpdate:modelValue":n[6]||(n[6]=function(n){return e.commandValue.cleanbranch=n})},null,8,["modelValue"])]})),_:1}),q(l,{name:"8"},{title:C((function(){return[q(d,{value:e.commandValue.admin.publish,current:e.data.current,execName:"gitm admin",onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(u,{modelValue:e.commandValue.admin.publish,"onUpdate:modelValue":n[7]||(n[7]=function(n){return e.commandValue.admin.publish=n})},null,8,["modelValue"])]})),_:1})]})),_:1},8,["modelValue","onChange"])]),v("div",tn,[an,q(c,{modelValue:e.data.activeNames,"onUpdate:modelValue":n[17]||(n[17]=function(n){return e.data.activeNames=n}),accordion:!0,onChange:e.handleChange},{default:C((function(){return[q(l,{name:"11"},{title:C((function(){return[q(d,{value:e.commandValue.save,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(u,{modelValue:e.commandValue.save,"onUpdate:modelValue":n[9]||(n[9]=function(n){return e.commandValue.save=n})},null,8,["modelValue"])]})),_:1}),q(l,{name:"12"},{title:C((function(){return[q(d,{value:e.commandValue.get,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(u,{modelValue:e.commandValue.get,"onUpdate:modelValue":n[10]||(n[10]=function(n){return e.commandValue.get=n})},null,8,["modelValue"])]})),_:1}),q(l,{name:"13"},{title:C((function(){return[q(d,{value:e.commandValue.copy,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(u,{modelValue:e.commandValue.copy,"onUpdate:modelValue":n[11]||(n[11]=function(n){return e.commandValue.copy=n})},null,8,["modelValue"])]})),_:1}),q(l,{name:"14"},{title:C((function(){return[q(d,{value:e.commandValue.revert,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(u,{modelValue:e.commandValue.revert,"onUpdate:modelValue":n[12]||(n[12]=function(n){return e.commandValue.revert=n})},null,8,["modelValue"])]})),_:1}),q(l,{name:"15"},{title:C((function(){return[q(d,{value:e.commandValue.link,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(u,{modelValue:e.commandValue.link,"onUpdate:modelValue":n[13]||(n[13]=function(n){return e.commandValue.link=n})},null,8,["modelValue"])]})),_:1}),q(l,{name:"16"},{title:C((function(){return[q(d,{value:e.commandValue.unlink,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(u,{modelValue:e.commandValue.unlink,"onUpdate:modelValue":n[14]||(n[14]=function(n){return e.commandValue.unlink=n})},null,8,["modelValue"])]})),_:1}),q(l,{name:"17"},{title:C((function(){return[q(d,{value:e.commandValue.clean,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(u,{modelValue:e.commandValue.clean,"onUpdate:modelValue":n[15]||(n[15]=function(n){return e.commandValue.clean=n})},null,8,["modelValue"])]})),_:1}),q(l,{name:"18"},{title:C((function(){return[q(d,{value:e.commandValue.log,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])]})),default:C((function(){return[q(u,{modelValue:e.commandValue.log,"onUpdate:modelValue":n[16]||(n[16]=function(n){return e.commandValue.log=n})},null,8,["modelValue"])]})),_:1})]})),_:1},8,["modelValue","onChange"])])]),e.data.project?(p(),x(s,{ref:"xterm",class:"xterm",key:"gitmars-xterm",id:e.terminalID,path:e.data.project.path},null,8,["id","path"])):A("",!0)])])])):A("",!0)}],["__scopeId","data-v-9ffaa174"]]))}}}))}(); diff --git a/app/www/assets/gitmars.abcd69a4.css b/app/www/assets/gitmars.58cdeee5.css similarity index 78% rename from app/www/assets/gitmars.abcd69a4.css rename to app/www/assets/gitmars.58cdeee5.css index f56ca114..2c18e783 100644 --- a/app/www/assets/gitmars.abcd69a4.css +++ b/app/www/assets/gitmars.58cdeee5.css @@ -1 +1 @@ -.command-wrap{appearance:none;box-sizing:border-box;padding:8px 8px 0;font-size:14px;line-height:1.6}.command-wrap li{display:flex;justify-content:space-between;align-items:center}.command-wrap li .r .el-input,.command-wrap li .r .el-select{width:200px}.map-command-wrap{width:100%;display:flex;justify-content:space-between;align-items:center;margin-right:10px}.box{padding:50px 0}.box .el-input{width:180px}.page[data-v-9ffaa174]{display:flex;flex-direction:column;justify-content:stretch;align-items:stretch}.page[data-v-9ffaa174] .v3-collapse{border-top-color:#6a8bad}.page[data-v-9ffaa174] .v3-collapse-item__content{color:#fff}.page[data-v-9ffaa174] .v3-collapse-item__header,.page[data-v-9ffaa174] .v3-collapse-item__wrap{border-bottom-color:#6a8bad;background:none;color:#fff}.page h1[data-v-9ffaa174]{height:32px;padding:16px;line-height:32px;font-size:28px;font-weight:300;background:#344a5f;display:flex;justify-content:space-between;align-items:center}.page .cont[data-v-9ffaa174]{flex:1;display:flex;overflow:hidden;justify-content:stretch;align-items:stretch}.page .cont .nav[data-v-9ffaa174]{width:300px;overflow-y:auto;background:#2c3e50;height:100%}.page .cont .nav dl[data-v-9ffaa174]{margin-bottom:10px}.page .cont .nav dt[data-v-9ffaa174]{padding:0 16px;height:20px;line-height:20px;font-size:12px;color:#6a8bad}.page .cont .nav dd[data-v-9ffaa174]{height:44px;line-height:44px;padding:0 16px;font-size:14px;display:flex;justify-content:space-between;align-items:center}.page .cont .nav dd .name[data-v-9ffaa174]{overflow:hidden;text-overflow:ellipsis}.page .cont .nav dd[data-v-9ffaa174] .v3-button{min-width:64px}.page .cont .nav dd[data-v-9ffaa174]:hover{color:#fff;background:rgba(66,185,131,.05)}.page .cont .nav dd.active[data-v-9ffaa174]{color:#42b983;background:rgba(66,185,131,.08)!important}.page .cont .main[data-v-9ffaa174]{flex:1;padding:16px;background:#304457;display:flex;flex-direction:column;justify-content:stretch;align-items:stretch;height:100%}.page .cont .main h3[data-v-9ffaa174]{font-size:18px;line-height:30px;margin-bottom:16px;font-weight:normal;display:flex;justify-content:space-between;align-items:center}.page .cont .main h3 p[data-v-9ffaa174]{font-size:12px;background:#2c3e50;line-height:18px;padding:8px;border-radius:3px}.page .cont .main .cmd[data-v-9ffaa174]{flex:1;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:minmax(0px,auto) auto minmax(0px,auto);grid-template-areas:"a" "b";grid-auto-flow:row dense;justify-items:stretch;align-items:stretch;gap:20px}.page .cont .main .xterm[data-v-9ffaa174]{height:calc(100% - 534px);min-height:360px} +.command-wrap{appearance:none;box-sizing:border-box;padding:8px 8px 0;font-size:14px;line-height:1.6}.command-wrap li{display:flex;justify-content:space-between;align-items:center}.command-wrap li .r .el-input,.command-wrap li .r .el-select{width:200px}.map-command-wrap{width:100%;display:flex;justify-content:space-between;align-items:center;margin-right:10px}.box{padding:50px 0}.box .el-input{width:180px}.page[data-v-9ffaa174]{display:flex;flex-direction:column;justify-content:stretch;align-items:stretch}.page[data-v-9ffaa174] .v3-collapse{border-top-color:#6a8bad}.page[data-v-9ffaa174] .v3-collapse-item__content{color:#fff}.page[data-v-9ffaa174] .v3-collapse-item__header,.page[data-v-9ffaa174] .v3-collapse-item__wrap{border-bottom-color:#6a8bad;background:none;color:#fff}.page h1[data-v-9ffaa174]{height:32px;padding:16px;line-height:32px;font-size:28px;font-weight:300;background:#344a5f;display:flex;justify-content:space-between;align-items:center}.page .cont[data-v-9ffaa174]{flex:1;display:flex;overflow:hidden;justify-content:stretch;align-items:stretch}.page .cont .nav[data-v-9ffaa174]{width:300px;overflow-y:auto;background:#2c3e50;height:100%}.page .cont .nav dl[data-v-9ffaa174]{margin-bottom:10px}.page .cont .nav dt[data-v-9ffaa174]{padding:0 16px;height:20px;line-height:20px;font-size:12px;color:#6a8bad}.page .cont .nav dd[data-v-9ffaa174]{height:44px;line-height:44px;padding:0 16px;font-size:14px;display:flex;justify-content:space-between;align-items:center}.page .cont .nav dd .name[data-v-9ffaa174]{overflow:hidden;text-overflow:ellipsis}.page .cont .nav dd[data-v-9ffaa174] .v3-button{min-width:64px}.page .cont .nav dd[data-v-9ffaa174]:hover{color:#fff;background:rgba(66,185,131,.05)}.page .cont .nav dd.active[data-v-9ffaa174]{color:#42b983;background:rgba(66,185,131,.08)!important}.page .cont .main[data-v-9ffaa174]{flex:1;padding:16px;background:#304457;display:flex;flex-direction:column;justify-content:stretch;align-items:stretch;height:100%}.page .cont .main h3[data-v-9ffaa174]{font-size:18px;line-height:30px;margin-bottom:16px;font-weight:400;display:flex;justify-content:space-between;align-items:center}.page .cont .main h3 p[data-v-9ffaa174]{font-size:12px;background:#2c3e50;line-height:18px;padding:8px;border-radius:3px}.page .cont .main .cmd[data-v-9ffaa174]{flex:1;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:minmax(0px,auto) auto minmax(0px,auto);grid-template-areas:"a" "b";grid-auto-flow:row dense;justify-items:stretch;align-items:stretch;gap:20px}.page .cont .main .xterm[data-v-9ffaa174]{height:calc(100% - 534px);min-height:360px} diff --git a/app/www/assets/gitmars.771f1911.js b/app/www/assets/gitmars.771f1911.js deleted file mode 100644 index 29fd8640..00000000 --- a/app/www/assets/gitmars.771f1911.js +++ /dev/null @@ -1 +0,0 @@ -var e=Object.defineProperty,o=Object.defineProperties,a=Object.getOwnPropertyDescriptors,t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,l=(o,a,t)=>a in o?e(o,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[a]=t,i=(e,o)=>{for(var a in o||(o={}))r.call(o,a)&&l(e,a,o[a]);if(t)for(var a of t(o))n.call(o,a)&&l(e,a,o[a]);return e},d=(e,t)=>o(e,a(t));import{u as s,b as u,o as c}from"./vendor/vue-router_4.0.12.js.e0928a4d.js";import{q as m,_ as p,a7 as g,w as f,R as b,x as v,y,B as h,F as j,a1 as x,a3 as C,H as V,M as _,O as w,u as q,r as k,c as O,U as S,G as E,d as A,j as z,al as M,z as U,ag as T,ah as $,E as I}from"./vendor/vue_3.2.20.js.843b181b.js";import{X as D}from"./index.628df380.js";import{k as N,j as L,i as P,m as B}from"./vendor/element-plus_1.1.0-beta.24.js.bf425c11.js";import{u as G}from"./use-current-instance.44876874.js";import{_ as X,T as H,S as F}from"./index.87b897a1.js";import"./vendor/lodash_4.17.21.js.96bc0cd8.js";import"./vendor/xterm_4.14.1.js.4d8f2388.js";import"./vendor/dayjs_1.10.7.js.de411334.js";import"./vendor/async-validator_4.0.7.js.656181ea.js";import"./vendor/resize-observer-polyfill_1.5.1.js.3b3964c6.js";import"./vendor/axios_0.23.0.js.3f49b9ab.js";import"./vendor/qs_6.10.1.js.6d009611.js";import"./vendor/side-channel_1.0.4.js.cbb25fc8.js";import"./vendor/get-intrinsic_1.1.1.js.d604dad5.js";import"./vendor/has-symbols_1.0.2.js.208f1d3f.js";import"./vendor/function-bind_1.1.1.js.34bf890b.js";import"./vendor/has_1.0.3.js.e7f09f2c.js";import"./vendor/call-bind_1.0.2.js.ad02ab55.js";import"./vendor/object-inspect_1.11.0.js.1111bad4.js";import"./vendor/js-cool_2.2.4.js.f9ee5fc3.js";import"./vendor/core-js_3.18.3.js.a64c1281.js";import"./vendor/uuid_8.3.2.js.8656f24a.js";import"./vendor/xterm-style_1.1.0.js.323fb105.js";import"./vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js";import"./vendor/xterm-addon-search_0.8.1.js.d370edfa.js";import"./vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js";import"./vendor/vuex_4.0.2.js.f8c5ab46.js";const R={class:"command-wrap"},W={class:"r"},J={class:"r"};const K=m(d(i({},{name:"Command",inheritAttrs:!1}),{props:{modelValue:{type:Object,default:()=>({options:[],args:[]}),required:!0},current:String},emits:["update:modelValue"],setup:function(e,{expose:o,emit:a}){const t=p(g(e.modelValue));return t.options.forEach((e=>{"value"in e||(e.value=null)})),t.args.forEach((e=>{"value"in e||(e.value=null)})),f(t,(e=>{a("update:modelValue",e)}),{deep:!0}),o({data:t}),(e,o)=>{const a=b("el-option"),r=b("el-select"),n=b("el-input"),l=b("el-checkbox");return v(),y("div",R,[h("ul",null,[(v(!0),y(j,null,x(q(t).args,(e=>(v(),y("li",{key:e.name},[C(V(e.name)+" ",1),h("div",W,[e.options?(v(),_(r,{modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,key:e.name+"-arg",placeholder:e.required?"必填":"选填",clearable:""},{default:w((()=>[(v(!0),y(j,null,x(e.options,(e=>(v(),_(a,{key:e,label:e,value:e},null,8,["label","value"])))),128))])),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])):(v(),_(n,{modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,key:e.name+"-arg",placeholder:e.required?"必填":"选填",clearable:""},null,8,["modelValue","onUpdate:modelValue","placeholder"]))])])))),128))]),h("ul",null,[(v(!0),y(j,null,x(q(t).options,(e=>(v(),y("li",{key:e.long},[C(V(e.description)+" ",1),h("div",J,[e.optional?(v(),y(j,{key:0},[e.options?(v(),_(r,{modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,key:e.long+"-arg",placeholder:e.required?"必填":"选填",clearable:""},{default:w((()=>[(v(!0),y(j,null,x(e.options,(e=>(v(),_(a,{key:e,label:e,value:e},null,8,["label","value"])))),128))])),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])):(v(),_(n,{modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,key:e.long+"-option",placeholder:e.required?"必填":"选填",clearable:""},null,8,["modelValue","onUpdate:modelValue","placeholder"]))],64)):(v(),_(l,{modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,key:e.long+"-option-check"},null,8,["modelValue","onUpdate:modelValue"]))])])))),128))])])}}}));const Q={class:"map-command-wrap"},Y=C("执行");const Z=m(d(i({},{name:"MapCommand",inheritAttrs:!1}),{props:{data:{type:Object,default:()=>({options:[],args:[]}),required:!1},value:{type:Object,default:()=>({options:[],args:[]}),required:!0},execName:{type:String,default:"gitm",required:!1},current:{type:String,default:"",required:!0}},emits:["exec"],setup:function(e,{expose:o,emit:a}){const t=e,r=k(""),{command:n,short:l}=g(t.value),i=O((()=>{let e=g(t.current).split("/");return["bugfix","feature","support"].includes(e[0])?{type:e[0],name:e[1]}:null})),d=()=>{a("exec",r.value)};return f((()=>t.value),(e=>{r.value=(({options:e,args:o})=>{let a=[],r=[],l=[];for(let t of e)if(null!==t.value){let e=t.short||t.long,o=t.value instanceof Array?t.value.join(" "):t.value;if(t.optional||!t.short){if(o=o||t.defaultValue,!o)continue;t.optional?(o=' "'+o+'"',r.push(e+o)):r.push(e)}else t.short&&(l.length>0&&(e=e.substr(1)),o&&l.push(e))}for(let t of o)t.value&&a.push(t.value);return`${t.execName} ${n} ${a.join(" ")} ${l.join("")} ${r.join(" ")}`.replace(/[\s]{2,}/g," ")})(e)}),{deep:!0,immediate:!0}),o({curBranch:i,cmd:r,exec:d}),(e,o)=>{const a=b("v3-button");return v(),y("div",Q,[h("span",null,V(r.value),1),S(a,{type:"primary",size:"small",onClick:E(d,["stop"]),plain:""},{default:w((()=>[Y])),_:1},8,["onClick"])])}}}));!function(e){const o={command:"admin",short:null,create:{command:"create",short:null,args:[{required:!0,name:"type",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"分支类型"}],options:[],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}},publish:{command:"publish",short:null,args:[{required:!0,name:"type",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"分支类型",options:["release","bugfix"],value:""}],options:[{flags:"-c, --combine",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-c",long:"--combine",negate:!1,description:"是否把release代码同步到bug",defaultValue:!1,recommend:!1},{flags:"--use-rebase",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--use-rebase",negate:!1,description:"是否使用rebase方式更新,默认merge",defaultValue:!1,recommend:!1},{flags:"-p, --prod",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-p",long:"--prod",negate:!1,description:"发布bug分支时,是否合并bug到master",defaultValue:!1,recommend:!1},{flags:"-b, --build [build]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-b",long:"--build",negate:!1,description:"构建应用",recommend:!0},{flags:"--postmsg",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--postmsg",negate:!1,description:"发送消息",defaultValue:!1,recommend:!1},{flags:"--description [description]",required:!1,optional:!0,variadic:!1,mandatory:!1,long:"--description",negate:!1,description:"本次提交的原因描述",defaultValue:"",recommend:!1}],validatorOpts:(e,o,a)=>{e.includes("--combine")&&e.includes("--prod")?a(new Error("不能同时选择“把release合并到bug”和“合并bug到master”")):a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}},update:{command:"update",short:null,args:[{required:!0,name:"type",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"分支类型"}],options:[{flags:"--use-rebase",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--use-rebase",negate:!1,description:"是否使用rebase方式更新,默认merge",defaultValue:!1,recommend:!1},{flags:"-m, --mode [mode]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--mode",negate:!1,description:"出现冲突时,保留传入代码还是保留当前代码;1=采用当前 2=采用传入;默认为 0=手动处理。本参数不可与--use-rebase同时使用",defaultValue:0,recommend:!1},{flags:"--postmsg",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--postmsg",negate:!1,description:"发送消息",defaultValue:!1,recommend:!1},{flags:"--description [description]",required:!1,optional:!0,variadic:!1,mandatory:!1,long:"--description",negate:!1,description:"本次提交的原因描述",defaultValue:"",recommend:!1}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}},clean:{command:"clean",short:null,args:[{required:!0,name:"type",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"分支类型"}],options:[],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.admin=o)}("undefined"!=typeof window?window:global);var ee=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"branch",short:"bh",args:[],options:[{flags:"-k, --key [keyword]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-k",long:"--key",negate:!1,description:"查询分支的关键词",defaultValue:null},{flags:"--exclude [exclude]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--exclude",negate:!1,description:"排除关键词",defaultValue:"",value:""},{flags:"--include [include]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--include",negate:!1,description:"包含关键词",defaultValue:"",value:""},{flags:"-r, --remote",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-r",long:"--remote",negate:!1,description:"是否查询远程分支(deletes模式下改用于删除远程分支)默认只查询本地",defaultValue:!1},{flags:"-t, --type [type]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-t",long:"--type",negate:!1,description:"查询分支的类型,共有3种:feature、bugfix、support,不传则查询全部",defaultValue:null,options:["feature","bugfix","support"],value:""},{flags:"-d, --delete [branch]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-d",long:"--delete",negate:!1,description:"删除分支",defaultValue:null},{flags:"-D, --forcedelete [branch]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-D",long:"--forcedelete",negate:!1,description:"强行删除分支",defaultValue:null},{flags:"-u, --upstream [upstream]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-u",long:"--upstream",negate:!1,description:"设置与远程分支关联"}],validatorOpts:(e,o,a)=>{e.includes("--upstream")&&(e.includes("--key")||e.includes("--remote")||e.includes("--type")||e.includes("--delete")||e.includes("--forcedelete"))?a(new Error("使用绑定/取消绑定远程分支功能时,不能与其他功能混用")):!e.includes("--delete")&&!e.includes("--forcedelete")||!e.includes("--key")&&!e.includes("--type")?a():a(new Error("使用删除分支功能时,不能与查询分支功能混用"))},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.branch=o)}("undefined"!=typeof window?window:global);var oe=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"build",short:"bd",args:[{required:!0,name:"project",variadic:!1,description:"项目名称"}],options:[{flags:"-e, --env [env]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-e",long:"--env",negate:!1,description:"构建环境,可选dev、prod、bug、all",defaultValue:"dev",recommend:!0,options:["dev","prod","bug","all"],value:"dev"},{flags:"-a, --app [app]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-a",long:"--app",negate:!1,description:"构建应用",defaultValue:"all",recommend:!0,value:"all"}]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.build=o)}("undefined"!=typeof window?window:global);var ae=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"clean",short:null,args:[],options:[{flags:"-f, --force",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-f",long:"--force",negate:!1,description:"强制清理",defaultValue:!1}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.clean=o)}("undefined"!=typeof window?window:global);var te=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"cleanbranch",short:"clb",args:[{required:!1,name:"branches",variadic:!0,validator:(e,o,a)=>{a()},description:"指定要清理的分支"}],options:[{flags:"-l, --list",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-l",long:"--list",negate:!1,description:"显示符合条件的分支列表",defaultValue:!1,value:!0},{flags:"-t, --type [type]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-t",long:"--type",negate:!1,description:"分支的类型,共有3种:feature、bugfix、support,不传则默认全部",defaultValue:null,options:["feature","bugfix","support"],value:""},{flags:"--target [target]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--target",negate:!1,description:"需要检测是否合过的目标分支名,不传默认是develop和release",defaultValue:null,value:"dev,release"},{flags:"-k, --key [keyword]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-k",long:"--key",negate:!1,description:"查询分支的关键词",defaultValue:null},{flags:"--exclude [exclude]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--exclude",negate:!1,description:"排除关键词",defaultValue:"",value:""},{flags:"--include [include]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--include",negate:!1,description:"包含关键词",defaultValue:"",value:""},{flags:"-r, --remote",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-r",long:"--remote",negate:!1,description:"是否清理远程分支,默认清理本地分支",defaultValue:!1},{flags:"-c, --confirm",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-c",long:"--confirm",negate:!1,description:"确认开始,为true时不显示确认框",defaultValue:!1}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.cleanbranch=o)}("undefined"!=typeof window?window:global);var re=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"combine",short:"cb",args:[{required:!1,name:"type",variadic:!1,description:"分支类型",options:["feature","bugfix","support"],value:""},{required:!1,name:"name",variadic:!1,description:"分支名称(不带feature/bugfix前缀)"}],options:[{flags:"-d, --dev",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-d",long:"--dev",negate:!1,description:"同步到dev环境",defaultValue:!1,value:!0,recommend:!0},{flags:"-p, --prod",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-p",long:"--prod",negate:!1,description:"同步到prod环境",defaultValue:!1,value:!1,recommend:!1},{flags:"-b, --build [build]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-b",long:"--build",negate:!1,description:"构建应用",value:"all",recommend:!0},{flags:"-m, --commit ",required:!0,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--commit",negate:!1,description:"执行commit,需填写信息",defaultValue:"",recommend:!1},{flags:"--description [description]",required:!1,optional:!0,variadic:!1,mandatory:!1,long:"--description",negate:!1,description:"本次提交的原因描述",defaultValue:"",recommend:!1},{flags:"-a, --add",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-a",long:"--add",negate:!1,description:"执行add",defaultValue:!1,recommend:!1},{flags:"--no-bugfix",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--no-bugfix",negate:!0,description:"bug分支合并到release时不合并到bug分支",defaultValue:!0,recommend:!1},{flags:"--as-feature",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--as-feature",negate:!1,description:"bug分支合并到release",recommend:!1}],validatorOpts:(e,o,a)=>{e.includes("--dev")||e.includes("--prod")?e.includes("--add")&&!e.includes("--commit")||!e.includes("--add")&&e.includes("--commit")?a(new Error("add和commit需要同时选择")):a():a(new Error("合并dev或者prod必须至少选一个"))},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.combine=o)}("undefined"!=typeof window?window:global);var ne=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"continue",short:"ct",args:[],options:[{flags:"-l, --list",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-l",long:"--list",negate:!1,description:"显示指令队列",defaultValue:!1}]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.continue=o)}("undefined"!=typeof window?window:global);var le=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"copy",short:"cp",args:[{required:!1,name:"commitid",variadic:!0,validator:(e,o,a)=>{a()},description:"提交记录ID"}],options:[{flags:"-s, --source [source]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-s",long:"--source",negate:!1,description:"拷贝记录的来源分支",defaultValue:""},{flags:"-k, --key [keyword]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-k",long:"--key",negate:!1,description:"模糊搜索commit信息关键词",defaultValue:""},{flags:"-a, --author [author]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-a",long:"--author",negate:!1,description:"提交者",defaultValue:""}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.copy=o)}("undefined"!=typeof window?window:global);var ie=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"end",short:"ed",args:[{required:!1,name:"type",variadic:!1,description:"分支类型",options:["feature","bugfix","support"],value:""},{required:!1,name:"name",variadic:!1,description:"分支名称(不带feature/bugfix前缀)"}],options:[{flags:"--no-combine",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--no-combine",negate:!0,description:"不合并主干分支(请确保分支已经上线)",defaultValue:!0,recommend:!1},{flags:"--as-feature",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--as-feature",negate:!1,description:"bug分支合并到release",recommend:!1},{flags:"--description [description]",required:!1,optional:!0,variadic:!1,mandatory:!1,long:"--description",negate:!1,description:"本次提交的原因描述",defaultValue:"",recommend:!1}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.end=o)}("undefined"!=typeof window?window:global);var de=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"get",short:"gt",args:[{required:!1,name:"message",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"存取关键字"},{required:!1,name:"index",variadic:!1,description:"序号"}],options:[{flags:"-k, --keep [keep]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-k",long:"--keep",negate:!1,description:"保留暂存区不删除",defaultValue:!1}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.get=o)}("undefined"!=typeof window?window:global);var se=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"go",short:"",args:[{required:!1,name:"command",variadic:!1,description:"指令名称",options:["combine","end","update","build","start","admin.publish","admin.update","admin.create","admin.clean","branch","copy","get","save","cleanbranch","clean","revert","link","unlink","postmsg"],value:""}],options:[]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.go=o)}("undefined"!=typeof window?window:global);var ue=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"hook",short:"hk",args:[{required:!1,name:"command",variadic:!1},{required:!1,name:"args",variadic:!0}],options:[{flags:"--no-verify",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--no-verify",negate:!0,description:"是否需要跳过校验权限",defaultValue:!1},{flags:"--lastet [lastet]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"",long:"--lastet",negate:!1,description:"查询在某个时间之后的日志,填写格式:10s/2m/2h/3d/4M/5y",defaultValue:"7d"},{flags:"--limit [limit]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"",long:"--limit",negate:!1,description:"最多查询的日志条数",defaultValue:20},{flags:"-t, --type ",required:!0,optional:!1,variadic:!1,mandatory:!1,short:"-t",long:"--type",negate:!1,description:"检测类型",defaultValue:""},{flags:"--branch [branch]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"",long:"--branch",negate:!1,description:"要查询的分支",defaultValue:""}]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.hook=o)}("undefined"!=typeof window?window:global);var ce=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"link",short:null,args:[{required:!1,name:"name",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"包的名称"}],options:[]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.link=o)}("undefined"!=typeof window?window:global);var me=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"log",short:"lg",args:[{required:!1,name:"branch",variadic:!1}],options:[{flags:"--lastet [lastet]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"",long:"--lastet",negate:!1,description:"查询在某个时间之后的日志,填写格式:10s/2m/2h/3d/4M/5y",defaultValue:"7d"},{flags:"--limit [limit]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"",long:"--limit",negate:!1,description:"最多查询的日志条数",defaultValue:20}]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.log=o)}("undefined"!=typeof window?window:global);var pe=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"postmsg",short:null,args:[{required:!0,name:"message",variadic:!1}],options:[{flags:"-u, --url [url]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-u",long:"--url",negate:!1,description:"推送消息的api地址",defaultValue:""}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.postmsg=o)}("undefined"!=typeof window?window:global);var ge=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"redo",short:"rd",args:[{required:!1,name:"commitid",variadic:!0,validator:(e,o,a)=>{a()},description:"需要撤销的ID"}],options:[{flags:"-b, --branch [branch]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-b",long:"--branch",negate:!1,description:"需要撤销的分支名",defaultValue:""},{flags:"-m, --mode [mode]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--mode",negate:!1,description:"针对撤销一次merge记录,需要传入类型:1 = 保留当前分支代码,2 = 保留传入代码",defaultValue:1}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.redo=o)}("undefined"!=typeof window?window:global);var fe=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"revert",short:"rt",args:[{required:!1,name:"commitid",variadic:!1,validator:(e,o,a)=>{a()},description:"需要撤销的ID"}],options:[{flags:"-n, --number [number]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-n",long:"--number",negate:!1,description:"撤销最后一次提交(或者撤销倒数第n次提交)",defaultValue:""},{flags:"-m, --mode [mode]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--mode",negate:!1,description:"针对撤销一次merge记录,需要传入类型:1 = 保留当前分支代码,2 = 保留传入代码",defaultValue:"",options:["1","2"],value:"1"}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.revert=o)}("undefined"!=typeof window?window:global);var be=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"run",short:"",args:[{required:!1,name:"command",variadic:!1},{required:!1,name:"args",variadic:!0,description:"参数列表"}],options:[]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.run=o)}("undefined"!=typeof window?window:global);var ve=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"save",short:"sv",args:[{required:!1,name:"message",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"存取关键字"}],options:[{flags:"-f, --force",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-f",long:"--force",negate:!1,description:"没有版本的文件也暂存,这会执行git add .",defaultValue:!1}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.save=o)}("undefined"!=typeof window?window:global);var ye=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"start",short:"st",args:[{required:!0,name:"type",variadic:!1,description:"分支类型",options:["feature","bugfix","support"],value:""},{required:!0,name:"name",variadic:!1,description:"分支名称(不带feature/bugfix前缀)"}],options:[{flags:"-t, --tag ",required:!0,optional:!0,variadic:!1,mandatory:!1,short:"-t",long:"--tag",negate:!1,description:"从tag创建分支",defaultValue:"",recommend:!1}]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.start=o)}("undefined"!=typeof window?window:global);var he=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"ui",short:null,args:[],options:[{flags:"-p, --port [port]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-p",long:"--port",negate:!1,description:"指定端口号",defaultValue:3e3,recommend:!1}]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.ui=o)}("undefined"!=typeof window?window:global);var je=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"undo",short:"ud",args:[{required:!1,name:"commitid",variadic:!0,validator:(e,o,a)=>{a()},description:"需要撤销的ID"}],options:[{flags:"-b, --branch [branch]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-b",long:"--branch",negate:!1,description:"需要撤销的分支名",defaultValue:""},{flags:"-m, --mode [mode]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--mode",negate:!1,description:"针对撤销一次merge记录,需要传入类型:1 = 保留当前分支代码,2 = 保留传入代码",defaultValue:1}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.undo=o)}("undefined"!=typeof window?window:global);var xe=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"unlink",short:null,args:[{required:!1,name:"name",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"包的名称"}],options:[]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.unlink=o)}("undefined"!=typeof window?window:global);var Ce=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"update",short:"up",args:[{required:!1,name:"type",variadic:!1,description:"分支类型",options:["feature","bugfix","support"],value:""},{required:!1,name:"name",variadic:!1,description:"分支名称(不带feature/bugfix前缀)"}],options:[{flags:"--use-merge",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--use-merge",negate:!1,description:"使用merge方式更新(默认merge)",defaultValue:!0,value:!0,recommend:!0},{flags:"--use-rebase",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--use-rebase",negate:!1,description:"使用rebase方式更新(默认merge)",defaultValue:!1,recommend:!0},{flags:"-a --all",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-a",long:"--all",negate:!1,description:"更新本地所有bugfix、feature、support分支",defaultValue:!1,recommend:!1}]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.update=o)}("undefined"!=typeof window?window:global);var Ve=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"upgrade",short:"ug",args:[{required:!1,name:"version",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"版本号"}],options:[{flags:"-m, --mirror",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-m",long:"--mirror",negate:!1,description:"是否使用淘宝镜像",defaultValue:!1},{flags:"-c, --client [client]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-c",long:"--client",negate:!1,description:"用于装包的客户端名称",defaultValue:"npm",recommend:!0,value:"npm"},{flags:"-r, --registry ",required:!0,optional:!0,variadic:!1,mandatory:!1,short:"-r",long:"--registry",negate:!1,description:"使用镜像地址",defaultValue:"",recommend:!0,value:"https://registry.npmmirror.com"}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.upgrade=o)}("undefined"!=typeof window?window:global);const _e={"../../../../lib/conf/admin.js":ee,"../../../../lib/conf/branch.js":oe,"../../../../lib/conf/build.js":ae,"../../../../lib/conf/clean.js":te,"../../../../lib/conf/cleanbranch.js":re,"../../../../lib/conf/combine.js":ne,"../../../../lib/conf/continue.js":le,"../../../../lib/conf/copy.js":ie,"../../../../lib/conf/end.js":de,"../../../../lib/conf/get.js":se,"../../../../lib/conf/go.js":ue,"../../../../lib/conf/hook.js":ce,"../../../../lib/conf/link.js":me,"../../../../lib/conf/log.js":pe,"../../../../lib/conf/postmsg.js":ge,"../../../../lib/conf/redo.js":fe,"../../../../lib/conf/revert.js":be,"../../../../lib/conf/run.js":ve,"../../../../lib/conf/save.js":ye,"../../../../lib/conf/start.js":he,"../../../../lib/conf/ui.js":je,"../../../../lib/conf/undo.js":xe,"../../../../lib/conf/unlink.js":Ce,"../../../../lib/conf/update.js":Ve,"../../../../lib/conf/upgrade.js":Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"})};let we={};for(let ro in _e){let e=ro.replace(/^.+\/(\w+)\.js$/,"$1");if(!Object.keys(_e[ro]).length){we=window.gitmarsCmdConfig;break}we[e]=_e[ro]}var qe=we;const ke={class:"box row justify-center align-center"},Oe=C("   /   ");const Se=m(d(i({},{inheritAttrs:!1}),{setup:function(e,{expose:o}){const a=k(),t=p({type:"feature",name:""});return G(),A((()=>{a.value.focus()})),o({data:t,submit:()=>new Promise(((e,o)=>{if(!t.type||!t.name)return B({message:"请填写分支类型和名称",type:"warning"}),void o();e(g(t))}))}),(e,o)=>(v(),y("div",ke,[S(q(L),{class:"col-6",modelValue:q(t).type,"onUpdate:modelValue":o[0]||(o[0]=e=>q(t).type=e),placeholder:"请选择分支类型",clearable:""},{default:w((()=>[S(q(N),{label:"feature",value:"feature"}),S(q(N),{label:"bugfix",value:"bugfix"}),S(q(N),{label:"support",value:"support"})])),_:1},8,["modelValue"]),Oe,S(q(P),{class:"col-18",ref:(e,o)=>{o.name=e,a.value=e},modelValue:q(t).name,"onUpdate:modelValue":o[1]||(o[1]=e=>q(t).name=e),placeholder:"分支名称"},null,8,["modelValue"])]))}}));const Ee=m({name:"ControlGitmars",components:{Xterm:D,Command:K,MapCommand:Z},async setup(){const{getTerminal:e,fitAddon:o}=z(H,{}),{socket:a,socketGitmars:t}=z(F,{}),{globalProperties:{$axios:r,$box:n}}=G(),l=s(),i=u(),d=window.innerWidth,m=window.innerHeight,g=p({project:{id:"",name:"",path:""},terminal:{name:""},activeNames:"",branches:[],current:"",ready:!1,error:{}}),f=O((()=>"gitmars-"+g.project.id)),b=p(qe),v=O((()=>{let e={bugfix:[],feature:[],others:[]};return g.branches.forEach((o=>{o.indexOf("bugfix/")>-1?e.bugfix.push(o):o.indexOf("feature/")>-1?e.feature.push(o):e.others.push(o)})),e}));A((()=>{t.emit("create",{name:g.project.id,cwd:g.project.path}),t.on(g.project.id+"-branch",(e=>{g&&(g.branches=e)})),t.on(g.project.id+"-current",(e=>{g&&(g.current=e)}))})),c((()=>{t.emit("remove",g.project.id)})),M((e=>(g.error=e,!0)));const y=async()=>(await r({url:"/common/project/list",data:{id:i.query.id}})).data,h=e=>{g.terminal&&a.emit(g.terminal.name+"-input",`${e}\r`)};g.project=await y(),await r({url:"/cmd/cd",data:{dir:g.project.path}}),g.branches=await(async()=>(await r({url:"/cmd/branch/list",data:{}})).data)(),g.current=await(async()=>(await r({url:"/cmd/branch/current",data:{}})).data)(),g.terminal=e&&e(f.value,g.project.path,parseInt(String((d-60-300-32)/7.05)),parseInt(String((m-64-32-34-400)/17.6))),g.ready=!0;return{data:g,terminalID:f,exec:h,commandValue:b,route:i,branchList:v,handleItemClick:()=>{console.log("handleItemClick",666)},handleChange:()=>{console.log("handleChange",444)},createBranch:()=>{n(Se,{width:"640px",height:"240px",title:"创建分支",options:{},onOk:async e=>{let{type:o,name:a}=await e.component.proxy.submit();return h(`gitm start ${o} ${a}`),!0}})},back:()=>{l.push("/project/list")},checkout:async e=>{h(`git checkout ${e}`),g.project=await y()}}}}),Ae=e=>(T("data-v-9ffaa174"),e=e(),$(),e),ze={key:0,class:"page"},Me=C(" Gitmars工作流 "),Ue=C("创建分支"),Te=C("返回"),$e={class:"cont"},Ie={class:"nav"},De={key:0,class:"bugfix"},Ne=Ae((()=>h("dt",null,"bug分支",-1))),Le={class:"name"},Pe=C("进入"),Be={key:1,class:"feature"},Ge=Ae((()=>h("dt",null,"feature分支",-1))),Xe={class:"name"},He=C("进入"),Fe={key:2,class:"others"},Re=Ae((()=>h("dt",null,"其他分支",-1))),We={class:"name"},Je=C("进入"),Ke={class:"main"},Qe=Ae((()=>h("span",{class:"iconfont icon-layout"},null,-1))),Ye={class:"cmd"},Ze={class:"section"},eo=Ae((()=>h("h4",null,"工作流",-1))),oo={class:"section"},ao=Ae((()=>h("h4",null,"实用工具",-1)));var to=X(Ee,[["render",function(e,o,a,t,r,n){const l=b("v3-button"),i=b("MapCommand"),d=b("Command"),s=b("v3-collapse-item"),u=b("v3-collapse"),c=b("Xterm");return e.data.ready?(v(),y("div",ze,[h("h1",null,[Me,h("p",null,[S(l,{type:"primary",onClick:e.createBranch},{default:w((()=>[Ue])),_:1},8,["onClick"]),S(l,{type:"default",onClick:e.back},{default:w((()=>[Te])),_:1},8,["onClick"])])]),h("div",$e,[h("div",Ie,[e.branchList.bugfix.length?(v(),y("dl",De,[Ne,(v(!0),y(j,null,x(e.branchList.bugfix,(o=>(v(),y("dd",{class:I({active:o===e.data.current}),key:o},[h("span",Le,V(o),1),o!==e.data.current?(v(),_(l,{key:0,type:"primary",size:"mini",onClick:a=>e.checkout(o),plain:""},{default:w((()=>[Pe])),_:2},1032,["onClick"])):U("",!0)],2)))),128))])):U("",!0),e.branchList.feature.length?(v(),y("dl",Be,[Ge,(v(!0),y(j,null,x(e.branchList.feature,(o=>(v(),y("dd",{class:I({active:o===e.data.current}),key:o},[h("span",Xe,V(o),1),o!==e.data.current?(v(),_(l,{key:0,type:"primary",size:"mini",onClick:a=>e.checkout(o),plain:""},{default:w((()=>[He])),_:2},1032,["onClick"])):U("",!0)],2)))),128))])):U("",!0),e.branchList.others.length?(v(),y("dl",Fe,[Re,(v(!0),y(j,null,x(e.branchList.others,(o=>(v(),y("dd",{class:I({active:o===e.data.current}),key:o},[h("span",We,V(o),1),o!==e.data.current?(v(),_(l,{key:0,type:"primary",size:"mini",onClick:a=>e.checkout(o),plain:""},{default:w((()=>[Je])),_:2},1032,["onClick"])):U("",!0)],2)))),128))])):U("",!0)]),h("div",Ke,[h("h3",null,[h("span",null,[Qe,C(" 当前分支:"+V(e.data.current),1)]),h("p",null,V(e.data.project.path),1)]),h("div",Ye,[h("div",Ze,[eo,S(u,{modelValue:e.data.activeNames,"onUpdate:modelValue":o[8]||(o[8]=o=>e.data.activeNames=o),accordion:!0,onChange:e.handleChange},{default:w((()=>[S(s,{name:"1"},{title:w((()=>[S(i,{value:e.commandValue.combine,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.combine,"onUpdate:modelValue":o[0]||(o[0]=o=>e.commandValue.combine=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"2"},{title:w((()=>[S(i,{value:e.commandValue.update,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.update,"onUpdate:modelValue":o[1]||(o[1]=o=>e.commandValue.update=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"3"},{title:w((()=>[S(i,{value:e.commandValue.build,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.build,"onUpdate:modelValue":o[2]||(o[2]=o=>e.commandValue.build=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"4"},{title:w((()=>[S(i,{value:e.commandValue.continue,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.continue,"onUpdate:modelValue":o[3]||(o[3]=o=>e.commandValue.continue=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"5"},{title:w((()=>[S(i,{value:e.commandValue.end,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.end,"onUpdate:modelValue":o[4]||(o[4]=o=>e.commandValue.end=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"6"},{title:w((()=>[S(i,{value:e.commandValue.branch,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.branch,"onUpdate:modelValue":o[5]||(o[5]=o=>e.commandValue.branch=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"7"},{title:w((()=>[S(i,{value:e.commandValue.cleanbranch,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.cleanbranch,"onUpdate:modelValue":o[6]||(o[6]=o=>e.commandValue.cleanbranch=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"8"},{title:w((()=>[S(i,{value:e.commandValue.admin.publish,current:e.data.current,execName:"gitm admin",onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.admin.publish,"onUpdate:modelValue":o[7]||(o[7]=o=>e.commandValue.admin.publish=o)},null,8,["modelValue"])])),_:1})])),_:1},8,["modelValue","onChange"])]),h("div",oo,[ao,S(u,{modelValue:e.data.activeNames,"onUpdate:modelValue":o[17]||(o[17]=o=>e.data.activeNames=o),accordion:!0,onChange:e.handleChange},{default:w((()=>[S(s,{name:"11"},{title:w((()=>[S(i,{value:e.commandValue.save,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.save,"onUpdate:modelValue":o[9]||(o[9]=o=>e.commandValue.save=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"12"},{title:w((()=>[S(i,{value:e.commandValue.get,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.get,"onUpdate:modelValue":o[10]||(o[10]=o=>e.commandValue.get=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"13"},{title:w((()=>[S(i,{value:e.commandValue.copy,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.copy,"onUpdate:modelValue":o[11]||(o[11]=o=>e.commandValue.copy=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"14"},{title:w((()=>[S(i,{value:e.commandValue.revert,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.revert,"onUpdate:modelValue":o[12]||(o[12]=o=>e.commandValue.revert=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"15"},{title:w((()=>[S(i,{value:e.commandValue.link,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.link,"onUpdate:modelValue":o[13]||(o[13]=o=>e.commandValue.link=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"16"},{title:w((()=>[S(i,{value:e.commandValue.unlink,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.unlink,"onUpdate:modelValue":o[14]||(o[14]=o=>e.commandValue.unlink=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"17"},{title:w((()=>[S(i,{value:e.commandValue.clean,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.clean,"onUpdate:modelValue":o[15]||(o[15]=o=>e.commandValue.clean=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"18"},{title:w((()=>[S(i,{value:e.commandValue.log,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.log,"onUpdate:modelValue":o[16]||(o[16]=o=>e.commandValue.log=o)},null,8,["modelValue"])])),_:1})])),_:1},8,["modelValue","onChange"])])]),e.data.project?(v(),_(c,{ref:"xterm",class:"xterm",key:"gitmars-xterm",id:e.terminalID,path:e.data.project.path},null,8,["id","path"])):U("",!0)])])])):U("",!0)}],["__scopeId","data-v-9ffaa174"]]);export{to as default}; diff --git a/app/www/assets/gitmars.bb308b8f.js b/app/www/assets/gitmars.bb308b8f.js new file mode 100644 index 00000000..31bebbc0 --- /dev/null +++ b/app/www/assets/gitmars.bb308b8f.js @@ -0,0 +1 @@ +var e=Object.defineProperty,o=Object.defineProperties,a=Object.getOwnPropertyDescriptors,t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,l=(o,a,t)=>a in o?e(o,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[a]=t,i=(e,o)=>{for(var a in o||(o={}))r.call(o,a)&&l(e,a,o[a]);if(t)for(var a of t(o))n.call(o,a)&&l(e,a,o[a]);return e},d=(e,t)=>o(e,a(t));import{u as s,b as u,o as c}from"./vendor/vue-router_4.0.12.js.944b7609.js";import{q as m,V as p,a8 as g,w as f,E as b,s as v,v as y,J as h,F as j,a1 as x,a5 as C,O as V,z as _,K as w,u as q,r as k,c as O,A as S,M as E,d as A,l as M,am as z,I as U,ah as T,ai as I,P as $}from"./vendor/vue_3.2.23.js.9f5d2e7e.js";import{X as D}from"./index.21bba8c5.js";import{k as N,j as P,i as L,m as B}from"./vendor/element-plus_1.2.0-beta.3.js.01fd1cfa.js";import{u as G}from"./use-current-instance.41699c28.js";import{_ as X,T as F,S as H}from"./index.360fde64.js";import"./vendor/lodash_4.17.21.js.c6f7cdcc.js";import"./vendor/xterm_4.15.0.js.3e95bd6a.js";import"./vendor/dayjs_1.10.7.js.c37b32ae.js";import"./vendor/async-validator_4.0.7.js.656181ea.js";import"./vendor/axios_0.24.0.js.52256a15.js";import"./vendor/qs_6.10.1.js.0baad282.js";import"./vendor/side-channel_1.0.4.js.290c0f4d.js";import"./vendor/get-intrinsic_1.1.1.js.d604dad5.js";import"./vendor/has-symbols_1.0.2.js.208f1d3f.js";import"./vendor/function-bind_1.1.1.js.34bf890b.js";import"./vendor/has_1.0.3.js.e7f09f2c.js";import"./vendor/call-bind_1.0.2.js.ad02ab55.js";import"./vendor/object-inspect_1.11.0.js.ad22ecab.js";import"./vendor/js-cool_2.3.0.js.f671836d.js";import"./vendor/core-js_3.19.1.js.10a7a3d5.js";import"./vendor/uuid_8.3.2.js.8656f24a.js";import"./vendor/xterm-style_1.1.0.js.323fb105.js";import"./vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js";import"./vendor/xterm-addon-search_0.8.1.js.d370edfa.js";import"./vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js";import"./vendor/vuex_4.0.2.js.35ef8354.js";const J={class:"command-wrap"},K={class:"r"},W={class:"r"};const Q=m(d(i({},{name:"Command",inheritAttrs:!1}),{props:{modelValue:{type:Object,default:()=>({options:[],args:[]}),required:!0},current:String},emits:["update:modelValue"],setup:function(e,{expose:o,emit:a}){const t=p(g(e.modelValue));return t.options.forEach((e=>{"value"in e||(e.value=null)})),t.args.forEach((e=>{"value"in e||(e.value=null)})),f(t,(e=>{a("update:modelValue",e)}),{deep:!0}),o({data:t}),(e,o)=>{const a=b("el-option"),r=b("el-select"),n=b("el-input"),l=b("el-checkbox");return v(),y("div",J,[h("ul",null,[(v(!0),y(j,null,x(q(t).args,(e=>(v(),y("li",{key:e.name},[C(V(e.name)+" ",1),h("div",K,[e.options?(v(),_(r,{modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,key:e.name+"-arg",placeholder:e.required?"必填":"选填",clearable:""},{default:w((()=>[(v(!0),y(j,null,x(e.options,(e=>(v(),_(a,{key:e,label:e,value:e},null,8,["label","value"])))),128))])),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])):(v(),_(n,{modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,key:e.name+"-arg",placeholder:e.required?"必填":"选填",clearable:""},null,8,["modelValue","onUpdate:modelValue","placeholder"]))])])))),128))]),h("ul",null,[(v(!0),y(j,null,x(q(t).options,(e=>(v(),y("li",{key:e.long},[C(V(e.description)+" ",1),h("div",W,[e.optional?(v(),y(j,{key:0},[e.options?(v(),_(r,{modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,key:e.long+"-arg",placeholder:e.required?"必填":"选填",clearable:""},{default:w((()=>[(v(!0),y(j,null,x(e.options,(e=>(v(),_(a,{key:e,label:e,value:e},null,8,["label","value"])))),128))])),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])):(v(),_(n,{modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,key:e.long+"-option",placeholder:e.required?"必填":"选填",clearable:""},null,8,["modelValue","onUpdate:modelValue","placeholder"]))],64)):(v(),_(l,{modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,key:e.long+"-option-check"},null,8,["modelValue","onUpdate:modelValue"]))])])))),128))])])}}}));const R={class:"map-command-wrap"},Y=C("执行");const Z=m(d(i({},{name:"MapCommand",inheritAttrs:!1}),{props:{data:{type:Object,default:()=>({options:[],args:[]}),required:!1},value:{type:Object,default:()=>({options:[],args:[]}),required:!0},execName:{type:String,default:"gitm",required:!1},current:{type:String,default:"",required:!0}},emits:["exec"],setup:function(e,{expose:o,emit:a}){const t=e,r=k(""),{command:n,short:l}=g(t.value),i=O((()=>{let e=g(t.current).split("/");return["bugfix","feature","support"].includes(e[0])?{type:e[0],name:e[1]}:null})),d=()=>{a("exec",r.value)};return f((()=>t.value),(e=>{r.value=(({options:e,args:o})=>{let a=[],r=[],l=[];for(let t of e)if(null!==t.value){let e=t.short||t.long,o=t.value instanceof Array?t.value.join(" "):t.value;if(t.optional||!t.short){if(o=o||t.defaultValue,!o)continue;t.optional?(o=' "'+o+'"',r.push(e+o)):r.push(e)}else t.short&&(l.length>0&&(e=e.substr(1)),o&&l.push(e))}for(let t of o)t.value&&a.push(t.value);return`${t.execName} ${n} ${a.join(" ")} ${l.join("")} ${r.join(" ")}`.replace(/[\s]{2,}/g," ")})(e)}),{deep:!0,immediate:!0}),o({curBranch:i,cmd:r,exec:d}),(e,o)=>{const a=b("v3-button");return v(),y("div",R,[h("span",null,V(r.value),1),S(a,{type:"primary",size:"small",onClick:E(d,["stop"]),plain:""},{default:w((()=>[Y])),_:1},8,["onClick"])])}}}));!function(e){const o={command:"admin",short:null,create:{command:"create",short:null,args:[{required:!0,name:"type",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"分支类型"}],options:[],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}},publish:{command:"publish",short:null,args:[{required:!0,name:"type",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"分支类型",options:["release","bugfix"],value:""}],options:[{flags:"-c, --combine",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-c",long:"--combine",negate:!1,description:"是否把release代码同步到bug",defaultValue:!1,recommend:!1},{flags:"--use-rebase",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--use-rebase",negate:!1,description:"是否使用rebase方式更新,默认merge",defaultValue:!1,recommend:!1},{flags:"-p, --prod",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-p",long:"--prod",negate:!1,description:"发布bug分支时,是否合并bug到master",defaultValue:!1,recommend:!1},{flags:"-b, --build [build]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-b",long:"--build",negate:!1,description:"构建应用",recommend:!0},{flags:"--postmsg",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--postmsg",negate:!1,description:"发送消息",defaultValue:!1,recommend:!1},{flags:"--description [description]",required:!1,optional:!0,variadic:!1,mandatory:!1,long:"--description",negate:!1,description:"本次提交的原因描述",defaultValue:"",recommend:!1}],validatorOpts:(e,o,a)=>{e.includes("--combine")&&e.includes("--prod")?a(new Error("不能同时选择“把release合并到bug”和“合并bug到master”")):a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}},update:{command:"update",short:null,args:[{required:!0,name:"type",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"分支类型"}],options:[{flags:"--use-rebase",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--use-rebase",negate:!1,description:"是否使用rebase方式更新,默认merge",defaultValue:!1,recommend:!1},{flags:"-m, --mode [mode]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--mode",negate:!1,description:"出现冲突时,保留传入代码还是保留当前代码;1=采用当前 2=采用传入;默认为 0=手动处理。本参数不可与--use-rebase同时使用",defaultValue:0,recommend:!1},{flags:"--postmsg",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--postmsg",negate:!1,description:"发送消息",defaultValue:!1,recommend:!1},{flags:"--description [description]",required:!1,optional:!0,variadic:!1,mandatory:!1,long:"--description",negate:!1,description:"本次提交的原因描述",defaultValue:"",recommend:!1}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}},clean:{command:"clean",short:null,args:[{required:!0,name:"type",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"分支类型"}],options:[],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.admin=o)}("undefined"!=typeof window?window:global);var ee=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"branch",short:"bh",args:[],options:[{flags:"-k, --key [keyword]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-k",long:"--key",negate:!1,description:"查询分支的关键词",defaultValue:null},{flags:"--exclude [exclude]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--exclude",negate:!1,description:"排除关键词",defaultValue:"",value:""},{flags:"--include [include]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--include",negate:!1,description:"包含关键词",defaultValue:"",value:""},{flags:"-r, --remote",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-r",long:"--remote",negate:!1,description:"是否查询远程分支(deletes模式下改用于删除远程分支)默认只查询本地",defaultValue:!1},{flags:"-t, --type [type]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-t",long:"--type",negate:!1,description:"查询分支的类型,共有3种:feature、bugfix、support,不传则查询全部",defaultValue:null,options:["feature","bugfix","support"],value:""},{flags:"-d, --delete [branch]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-d",long:"--delete",negate:!1,description:"删除分支",defaultValue:null},{flags:"-D, --forcedelete [branch]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-D",long:"--forcedelete",negate:!1,description:"强行删除分支",defaultValue:null},{flags:"-u, --upstream [upstream]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-u",long:"--upstream",negate:!1,description:"设置与远程分支关联"}],validatorOpts:(e,o,a)=>{e.includes("--upstream")&&(e.includes("--key")||e.includes("--remote")||e.includes("--type")||e.includes("--delete")||e.includes("--forcedelete"))?a(new Error("使用绑定/取消绑定远程分支功能时,不能与其他功能混用")):!e.includes("--delete")&&!e.includes("--forcedelete")||!e.includes("--key")&&!e.includes("--type")?a():a(new Error("使用删除分支功能时,不能与查询分支功能混用"))},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.branch=o)}("undefined"!=typeof window?window:global);var oe=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"build",short:"bd",args:[{required:!0,name:"project",variadic:!1,description:"项目名称"}],options:[{flags:"-e, --env [env]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-e",long:"--env",negate:!1,description:"构建环境,可选dev、prod、bug、all",defaultValue:"dev",recommend:!0,options:["dev","prod","bug","all"],value:"dev"},{flags:"-a, --app [app]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-a",long:"--app",negate:!1,description:"构建应用",defaultValue:"all",recommend:!0,value:"all"}]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.build=o)}("undefined"!=typeof window?window:global);var ae=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"clean",short:null,args:[],options:[{flags:"-f, --force",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-f",long:"--force",negate:!1,description:"强制清理",defaultValue:!1}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.clean=o)}("undefined"!=typeof window?window:global);var te=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"cleanbranch",short:"clb",args:[{required:!1,name:"branches",variadic:!0,validator:(e,o,a)=>{a()},description:"指定要清理的分支"}],options:[{flags:"-l, --list",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-l",long:"--list",negate:!1,description:"显示符合条件的分支列表",defaultValue:!1,value:!0},{flags:"-t, --type [type]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-t",long:"--type",negate:!1,description:"分支的类型,共有3种:feature、bugfix、support,不传则默认全部",defaultValue:null,options:["feature","bugfix","support"],value:""},{flags:"--target [target]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--target",negate:!1,description:"需要检测是否合过的目标分支名,不传默认是develop和release",defaultValue:null,value:"dev,release"},{flags:"-k, --key [keyword]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-k",long:"--key",negate:!1,description:"查询分支的关键词",defaultValue:null},{flags:"--exclude [exclude]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--exclude",negate:!1,description:"排除关键词",defaultValue:"",value:""},{flags:"--include [include]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--include",negate:!1,description:"包含关键词",defaultValue:"",value:""},{flags:"-r, --remote",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-r",long:"--remote",negate:!1,description:"是否清理远程分支,默认清理本地分支",defaultValue:!1},{flags:"-c, --confirm",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-c",long:"--confirm",negate:!1,description:"确认开始,为true时不显示确认框",defaultValue:!1}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.cleanbranch=o)}("undefined"!=typeof window?window:global);var re=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"combine",short:"cb",args:[{required:!1,name:"type",variadic:!1,description:"分支类型",options:["feature","bugfix","support"],value:""},{required:!1,name:"name",variadic:!1,description:"分支名称(不带feature/bugfix前缀)"}],options:[{flags:"-d, --dev",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-d",long:"--dev",negate:!1,description:"同步到dev环境",defaultValue:!1,value:!0,recommend:!0},{flags:"-p, --prod",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-p",long:"--prod",negate:!1,description:"同步到prod环境",defaultValue:!1,value:!1,recommend:!1},{flags:"-b, --build [build]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-b",long:"--build",negate:!1,description:"构建应用",value:"all",recommend:!0},{flags:"-m, --commit ",required:!0,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--commit",negate:!1,description:"执行commit,需填写信息",defaultValue:"",recommend:!1},{flags:"--description [description]",required:!1,optional:!0,variadic:!1,mandatory:!1,long:"--description",negate:!1,description:"本次提交的原因描述",defaultValue:"",recommend:!1},{flags:"-a, --add",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-a",long:"--add",negate:!1,description:"执行add",defaultValue:!1,recommend:!1},{flags:"--no-bugfix",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--no-bugfix",negate:!0,description:"bug分支合并到release时不合并到bug分支",defaultValue:!0,recommend:!1},{flags:"--as-feature",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--as-feature",negate:!1,description:"bug分支合并到release",recommend:!1}],validatorOpts:(e,o,a)=>{e.includes("--dev")||e.includes("--prod")?e.includes("--add")&&!e.includes("--commit")||!e.includes("--add")&&e.includes("--commit")?a(new Error("add和commit需要同时选择")):a():a(new Error("合并dev或者prod必须至少选一个"))},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.combine=o)}("undefined"!=typeof window?window:global);var ne=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"continue",short:"ct",args:[],options:[{flags:"-l, --list",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-l",long:"--list",negate:!1,description:"显示指令队列",defaultValue:!1}]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.continue=o)}("undefined"!=typeof window?window:global);var le=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"copy",short:"cp",args:[{required:!1,name:"commitid",variadic:!0,validator:(e,o,a)=>{a()},description:"提交记录ID"}],options:[{flags:"-s, --source [source]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-s",long:"--source",negate:!1,description:"拷贝记录的来源分支",defaultValue:""},{flags:"-k, --key [keyword]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-k",long:"--key",negate:!1,description:"模糊搜索commit信息关键词",defaultValue:""},{flags:"-a, --author [author]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-a",long:"--author",negate:!1,description:"提交者",defaultValue:""}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.copy=o)}("undefined"!=typeof window?window:global);var ie=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"end",short:"ed",args:[{required:!1,name:"type",variadic:!1,description:"分支类型",options:["feature","bugfix","support"],value:""},{required:!1,name:"name",variadic:!1,description:"分支名称(不带feature/bugfix前缀)"}],options:[{flags:"--no-combine",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--no-combine",negate:!0,description:"不合并主干分支(请确保分支已经上线)",defaultValue:!0,recommend:!1},{flags:"--as-feature",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--as-feature",negate:!1,description:"bug分支合并到release",recommend:!1},{flags:"--description [description]",required:!1,optional:!0,variadic:!1,mandatory:!1,long:"--description",negate:!1,description:"本次提交的原因描述",defaultValue:"",recommend:!1}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.end=o)}("undefined"!=typeof window?window:global);var de=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"get",short:"gt",args:[{required:!1,name:"message",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"存取关键字"},{required:!1,name:"index",variadic:!1,description:"序号"}],options:[{flags:"-k, --keep [keep]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-k",long:"--keep",negate:!1,description:"保留暂存区不删除",defaultValue:!1}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.get=o)}("undefined"!=typeof window?window:global);var se=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"go",short:"",args:[{required:!1,name:"command",variadic:!1,description:"指令名称",options:["combine","end","update","build","start","admin.publish","admin.update","admin.create","admin.clean","branch","copy","get","save","cleanbranch","clean","revert","link","unlink","postmsg"],value:""}],options:[]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.go=o)}("undefined"!=typeof window?window:global);var ue=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"hook",short:"hk",args:[{required:!1,name:"command",variadic:!1},{required:!1,name:"args",variadic:!0}],options:[{flags:"--no-verify",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--no-verify",negate:!0,description:"是否需要跳过校验权限",defaultValue:!1},{flags:"--lastet [lastet]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"",long:"--lastet",negate:!1,description:"查询在某个时间之后的日志,填写格式:10s/2m/2h/3d/4M/5y",defaultValue:"7d"},{flags:"--limit [limit]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"",long:"--limit",negate:!1,description:"最多查询的日志条数",defaultValue:20},{flags:"-t, --type ",required:!0,optional:!1,variadic:!1,mandatory:!1,short:"-t",long:"--type",negate:!1,description:"检测类型",defaultValue:""},{flags:"--branch [branch]",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"",long:"--branch",negate:!1,description:"要查询的分支",defaultValue:""}]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.hook=o)}("undefined"!=typeof window?window:global);var ce=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"link",short:null,args:[{required:!1,name:"name",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"包的名称"}],options:[]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.link=o)}("undefined"!=typeof window?window:global);var me=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"log",short:"lg",args:[{required:!1,name:"branch",variadic:!1}],options:[{flags:"--lastet [lastet]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--lastet",negate:!1,description:"查询在某个时间之后的日志,填写格式:10s/2m/2h/3d/4M/5y",defaultValue:"7d"},{flags:"--limit [limit]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"",long:"--limit",negate:!1,description:"最多查询的日志条数",defaultValue:20}]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.log=o)}("undefined"!=typeof window?window:global);var pe=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"postmsg",short:null,args:[{required:!0,name:"message",variadic:!1}],options:[{flags:"-u, --url [url]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-u",long:"--url",negate:!1,description:"推送消息的api地址",defaultValue:""}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.postmsg=o)}("undefined"!=typeof window?window:global);var ge=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"redo",short:"rd",args:[{required:!1,name:"commitid",variadic:!0,validator:(e,o,a)=>{a()},description:"需要撤销的ID"}],options:[{flags:"-b, --branch [branch]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-b",long:"--branch",negate:!1,description:"需要撤销的分支名",defaultValue:""},{flags:"-m, --mode [mode]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--mode",negate:!1,description:"针对撤销一次merge记录,需要传入类型:1 = 保留当前分支代码,2 = 保留传入代码",defaultValue:1}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.redo=o)}("undefined"!=typeof window?window:global);var fe=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"revert",short:"rt",args:[{required:!1,name:"commitid",variadic:!1,validator:(e,o,a)=>{a()},description:"需要撤销的ID"}],options:[{flags:"-n, --number [number]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-n",long:"--number",negate:!1,description:"撤销最后一次提交(或者撤销倒数第n次提交)",defaultValue:""},{flags:"-m, --mode [mode]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--mode",negate:!1,description:"针对撤销一次merge记录,需要传入类型:1 = 保留当前分支代码,2 = 保留传入代码",defaultValue:"",options:["1","2"],value:"1"}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.revert=o)}("undefined"!=typeof window?window:global);var be=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"run",short:"",args:[{required:!1,name:"command",variadic:!1},{required:!1,name:"args",variadic:!0,description:"参数列表"}],options:[]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.run=o)}("undefined"!=typeof window?window:global);var ve=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"save",short:"sv",args:[{required:!1,name:"message",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"存取关键字"}],options:[{flags:"-f, --force",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-f",long:"--force",negate:!1,description:"没有版本的文件也暂存,这会执行git add .",defaultValue:!1}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.save=o)}("undefined"!=typeof window?window:global);var ye=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"start",short:"st",args:[{required:!0,name:"type",variadic:!1,description:"分支类型",options:["feature","bugfix","support"],value:""},{required:!0,name:"name",variadic:!1,description:"分支名称(不带feature/bugfix前缀)"}],options:[{flags:"-t, --tag ",required:!0,optional:!0,variadic:!1,mandatory:!1,short:"-t",long:"--tag",negate:!1,description:"从tag创建分支",defaultValue:"",recommend:!1}]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.start=o)}("undefined"!=typeof window?window:global);var he=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"ui",short:null,args:[],options:[{flags:"-p, --port [port]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-p",long:"--port",negate:!1,description:"指定端口号",defaultValue:3e3,recommend:!1}]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.ui=o)}("undefined"!=typeof window?window:global);var je=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"undo",short:"ud",args:[{required:!1,name:"commitid",variadic:!0,validator:(e,o,a)=>{a()},description:"需要撤销的ID"}],options:[{flags:"-b, --branch [branch]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-b",long:"--branch",negate:!1,description:"需要撤销的分支名",defaultValue:""},{flags:"-m, --mode [mode]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-m",long:"--mode",negate:!1,description:"针对撤销一次merge记录,需要传入类型:1 = 保留当前分支代码,2 = 保留传入代码",defaultValue:1}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.undo=o)}("undefined"!=typeof window?window:global);var xe=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"unlink",short:null,args:[{required:!1,name:"name",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"包的名称"}],options:[]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.unlink=o)}("undefined"!=typeof window?window:global);var Ce=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"update",short:"up",args:[{required:!1,name:"type",variadic:!1,description:"分支类型",options:["feature","bugfix","support"],value:""},{required:!1,name:"name",variadic:!1,description:"分支名称(不带feature/bugfix前缀)"}],options:[{flags:"--use-merge",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--use-merge",negate:!1,description:"使用merge方式更新(默认merge)",defaultValue:!0,value:!0,recommend:!0},{flags:"--use-rebase",required:!1,optional:!1,variadic:!1,mandatory:!1,long:"--use-rebase",negate:!1,description:"使用rebase方式更新(默认merge)",defaultValue:!1,recommend:!0},{flags:"-a --all",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-a",long:"--all",negate:!1,description:"更新本地所有bugfix、feature、support分支",defaultValue:!1,recommend:!1}]};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.update=o)}("undefined"!=typeof window?window:global);var Ve=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"});!function(e){const o={command:"upgrade",short:"ug",args:[{required:!1,name:"version",variadic:!1,validator:(e,o,a)=>{/\s+/.test(e)?a(new Error("请不要输入空格")):a()},description:"版本号"}],options:[{flags:"-m, --mirror",required:!1,optional:!1,variadic:!1,mandatory:!1,short:"-m",long:"--mirror",negate:!1,description:"是否使用淘宝镜像",defaultValue:!1},{flags:"-c, --client [client]",required:!1,optional:!0,variadic:!1,mandatory:!1,short:"-c",long:"--client",negate:!1,description:"用于装包的客户端名称",defaultValue:"npm",recommend:!0,value:"npm"},{flags:"-r, --registry ",required:!0,optional:!0,variadic:!1,mandatory:!1,short:"-r",long:"--registry",negate:!1,description:"使用镜像地址",defaultValue:"",recommend:!0,value:"https://registry.npmmirror.com"}],validatorOpts:(e,o,a)=>{a()},validatorArgs:(e,o,a)=>{a()},transformOpts:(e,o,a)=>{a()},transformArgs:(e,o,a)=>{a()}};"object"==typeof exports&&"object"==typeof module?module.exports=o:"object"==typeof exports?exports.cmdConfig=o:(e.gitmarsCmdConfig||(e.gitmarsCmdConfig={}),e.gitmarsCmdConfig.upgrade=o)}("undefined"!=typeof window?window:global);const _e={"../../../../lib/conf/admin.js":ee,"../../../../lib/conf/branch.js":oe,"../../../../lib/conf/build.js":ae,"../../../../lib/conf/clean.js":te,"../../../../lib/conf/cleanbranch.js":re,"../../../../lib/conf/combine.js":ne,"../../../../lib/conf/continue.js":le,"../../../../lib/conf/copy.js":ie,"../../../../lib/conf/end.js":de,"../../../../lib/conf/get.js":se,"../../../../lib/conf/go.js":ue,"../../../../lib/conf/hook.js":ce,"../../../../lib/conf/link.js":me,"../../../../lib/conf/log.js":pe,"../../../../lib/conf/postmsg.js":ge,"../../../../lib/conf/redo.js":fe,"../../../../lib/conf/revert.js":be,"../../../../lib/conf/run.js":ve,"../../../../lib/conf/save.js":ye,"../../../../lib/conf/start.js":he,"../../../../lib/conf/ui.js":je,"../../../../lib/conf/undo.js":xe,"../../../../lib/conf/unlink.js":Ce,"../../../../lib/conf/update.js":Ve,"../../../../lib/conf/upgrade.js":Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module"})};let we={};for(let ro in _e){let e=ro.replace(/^.+\/(\w+)\.js$/,"$1");if(!Object.keys(_e[ro]).length){we=window.gitmarsCmdConfig;break}we[e]=_e[ro]}var qe=we;const ke={class:"box row justify-center align-center"},Oe=C("   /   ");const Se=m(d(i({},{inheritAttrs:!1}),{setup:function(e,{expose:o}){const a=k(),t=p({type:"feature",name:""});return G(),A((()=>{a.value.focus()})),o({data:t,submit:()=>new Promise(((e,o)=>{if(!t.type||!t.name)return B({message:"请填写分支类型和名称",type:"warning"}),void o();e(g(t))}))}),(e,o)=>(v(),y("div",ke,[S(q(P),{class:"col-6",modelValue:q(t).type,"onUpdate:modelValue":o[0]||(o[0]=e=>q(t).type=e),placeholder:"请选择分支类型",clearable:""},{default:w((()=>[S(q(N),{label:"feature",value:"feature"}),S(q(N),{label:"bugfix",value:"bugfix"}),S(q(N),{label:"support",value:"support"})])),_:1},8,["modelValue"]),Oe,S(q(L),{class:"col-18",ref:(e,o)=>{o.name=e,a.value=e},modelValue:q(t).name,"onUpdate:modelValue":o[1]||(o[1]=e=>q(t).name=e),placeholder:"分支名称"},null,8,["modelValue"])]))}}));const Ee=m({name:"ControlGitmars",components:{Xterm:D,Command:Q,MapCommand:Z},async setup(){const{getTerminal:e,fitAddon:o}=M(F,{}),{socket:a,socketGitmars:t}=M(H,{}),{globalProperties:{$axios:r,$box:n}}=G(),l=s(),i=u(),d=window.innerWidth,m=window.innerHeight,g=p({project:{id:"",name:"",path:""},terminal:{name:""},activeNames:"",branches:[],current:"",ready:!1,error:{}}),f=O((()=>"gitmars-"+g.project.id)),b=p(qe),v=O((()=>{let e={bugfix:[],feature:[],others:[]};return g.branches.forEach((o=>{o.indexOf("bugfix/")>-1?e.bugfix.push(o):o.indexOf("feature/")>-1?e.feature.push(o):e.others.push(o)})),e}));A((()=>{t.emit("create",{name:g.project.id,cwd:g.project.path}),t.on(g.project.id+"-branch",(e=>{g&&(g.branches=e)})),t.on(g.project.id+"-current",(e=>{g&&(g.current=e)}))})),c((()=>{t.emit("remove",g.project.id)})),z((e=>(g.error=e,!0)));const y=async()=>(await r({url:"/common/project/list",data:{id:i.query.id}})).data,h=e=>{g.terminal&&a.emit(g.terminal.name+"-input",`${e}\r`)};g.project=await y(),await r({url:"/cmd/cd",data:{dir:g.project.path}}),g.branches=await(async()=>(await r({url:"/cmd/branch/list",data:{}})).data)(),g.current=await(async()=>(await r({url:"/cmd/branch/current",data:{}})).data)(),g.terminal=e&&e(f.value,g.project.path,parseInt(String((d-60-300-32)/7.05)),parseInt(String((m-64-32-34-400)/17.6))),g.ready=!0;return{data:g,terminalID:f,exec:h,commandValue:b,route:i,branchList:v,handleItemClick:()=>{console.log("handleItemClick",666)},handleChange:()=>{console.log("handleChange",444)},createBranch:()=>{n(Se,{width:"640px",height:"240px",title:"创建分支",options:{},onOk:async e=>{let{type:o,name:a}=await e.component.proxy.submit();return h(`gitm start ${o} ${a}`),!0}})},back:()=>{l.push("/project/list")},checkout:async e=>{h(`git checkout ${e}`),g.project=await y()}}}}),Ae=e=>(T("data-v-9ffaa174"),e=e(),I(),e),Me={key:0,class:"page"},ze=C(" Gitmars工作流 "),Ue=C("创建分支"),Te=C("返回"),Ie={class:"cont"},$e={class:"nav"},De={key:0,class:"bugfix"},Ne=Ae((()=>h("dt",null,"bug分支",-1))),Pe={class:"name"},Le=C("进入"),Be={key:1,class:"feature"},Ge=Ae((()=>h("dt",null,"feature分支",-1))),Xe={class:"name"},Fe=C("进入"),He={key:2,class:"others"},Je=Ae((()=>h("dt",null,"其他分支",-1))),Ke={class:"name"},We=C("进入"),Qe={class:"main"},Re=Ae((()=>h("span",{class:"iconfont icon-layout"},null,-1))),Ye={class:"cmd"},Ze={class:"section"},eo=Ae((()=>h("h4",null,"工作流",-1))),oo={class:"section"},ao=Ae((()=>h("h4",null,"实用工具",-1)));var to=X(Ee,[["render",function(e,o,a,t,r,n){const l=b("v3-button"),i=b("MapCommand"),d=b("Command"),s=b("v3-collapse-item"),u=b("v3-collapse"),c=b("Xterm");return e.data.ready?(v(),y("div",Me,[h("h1",null,[ze,h("p",null,[S(l,{type:"primary",onClick:e.createBranch},{default:w((()=>[Ue])),_:1},8,["onClick"]),S(l,{type:"default",onClick:e.back},{default:w((()=>[Te])),_:1},8,["onClick"])])]),h("div",Ie,[h("div",$e,[e.branchList.bugfix.length?(v(),y("dl",De,[Ne,(v(!0),y(j,null,x(e.branchList.bugfix,(o=>(v(),y("dd",{class:$({active:o===e.data.current}),key:o},[h("span",Pe,V(o),1),o!==e.data.current?(v(),_(l,{key:0,type:"primary",size:"mini",onClick:a=>e.checkout(o),plain:""},{default:w((()=>[Le])),_:2},1032,["onClick"])):U("",!0)],2)))),128))])):U("",!0),e.branchList.feature.length?(v(),y("dl",Be,[Ge,(v(!0),y(j,null,x(e.branchList.feature,(o=>(v(),y("dd",{class:$({active:o===e.data.current}),key:o},[h("span",Xe,V(o),1),o!==e.data.current?(v(),_(l,{key:0,type:"primary",size:"mini",onClick:a=>e.checkout(o),plain:""},{default:w((()=>[Fe])),_:2},1032,["onClick"])):U("",!0)],2)))),128))])):U("",!0),e.branchList.others.length?(v(),y("dl",He,[Je,(v(!0),y(j,null,x(e.branchList.others,(o=>(v(),y("dd",{class:$({active:o===e.data.current}),key:o},[h("span",Ke,V(o),1),o!==e.data.current?(v(),_(l,{key:0,type:"primary",size:"mini",onClick:a=>e.checkout(o),plain:""},{default:w((()=>[We])),_:2},1032,["onClick"])):U("",!0)],2)))),128))])):U("",!0)]),h("div",Qe,[h("h3",null,[h("span",null,[Re,C(" 当前分支:"+V(e.data.current),1)]),h("p",null,V(e.data.project.path),1)]),h("div",Ye,[h("div",Ze,[eo,S(u,{modelValue:e.data.activeNames,"onUpdate:modelValue":o[8]||(o[8]=o=>e.data.activeNames=o),accordion:!0,onChange:e.handleChange},{default:w((()=>[S(s,{name:"1"},{title:w((()=>[S(i,{value:e.commandValue.combine,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.combine,"onUpdate:modelValue":o[0]||(o[0]=o=>e.commandValue.combine=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"2"},{title:w((()=>[S(i,{value:e.commandValue.update,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.update,"onUpdate:modelValue":o[1]||(o[1]=o=>e.commandValue.update=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"3"},{title:w((()=>[S(i,{value:e.commandValue.build,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.build,"onUpdate:modelValue":o[2]||(o[2]=o=>e.commandValue.build=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"4"},{title:w((()=>[S(i,{value:e.commandValue.continue,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.continue,"onUpdate:modelValue":o[3]||(o[3]=o=>e.commandValue.continue=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"5"},{title:w((()=>[S(i,{value:e.commandValue.end,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.end,"onUpdate:modelValue":o[4]||(o[4]=o=>e.commandValue.end=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"6"},{title:w((()=>[S(i,{value:e.commandValue.branch,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.branch,"onUpdate:modelValue":o[5]||(o[5]=o=>e.commandValue.branch=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"7"},{title:w((()=>[S(i,{value:e.commandValue.cleanbranch,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.cleanbranch,"onUpdate:modelValue":o[6]||(o[6]=o=>e.commandValue.cleanbranch=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"8"},{title:w((()=>[S(i,{value:e.commandValue.admin.publish,current:e.data.current,execName:"gitm admin",onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.admin.publish,"onUpdate:modelValue":o[7]||(o[7]=o=>e.commandValue.admin.publish=o)},null,8,["modelValue"])])),_:1})])),_:1},8,["modelValue","onChange"])]),h("div",oo,[ao,S(u,{modelValue:e.data.activeNames,"onUpdate:modelValue":o[17]||(o[17]=o=>e.data.activeNames=o),accordion:!0,onChange:e.handleChange},{default:w((()=>[S(s,{name:"11"},{title:w((()=>[S(i,{value:e.commandValue.save,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.save,"onUpdate:modelValue":o[9]||(o[9]=o=>e.commandValue.save=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"12"},{title:w((()=>[S(i,{value:e.commandValue.get,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.get,"onUpdate:modelValue":o[10]||(o[10]=o=>e.commandValue.get=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"13"},{title:w((()=>[S(i,{value:e.commandValue.copy,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.copy,"onUpdate:modelValue":o[11]||(o[11]=o=>e.commandValue.copy=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"14"},{title:w((()=>[S(i,{value:e.commandValue.revert,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.revert,"onUpdate:modelValue":o[12]||(o[12]=o=>e.commandValue.revert=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"15"},{title:w((()=>[S(i,{value:e.commandValue.link,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.link,"onUpdate:modelValue":o[13]||(o[13]=o=>e.commandValue.link=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"16"},{title:w((()=>[S(i,{value:e.commandValue.unlink,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.unlink,"onUpdate:modelValue":o[14]||(o[14]=o=>e.commandValue.unlink=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"17"},{title:w((()=>[S(i,{value:e.commandValue.clean,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.clean,"onUpdate:modelValue":o[15]||(o[15]=o=>e.commandValue.clean=o)},null,8,["modelValue"])])),_:1}),S(s,{name:"18"},{title:w((()=>[S(i,{value:e.commandValue.log,current:e.data.current,onExec:e.exec},null,8,["value","current","onExec"])])),default:w((()=>[S(d,{modelValue:e.commandValue.log,"onUpdate:modelValue":o[16]||(o[16]=o=>e.commandValue.log=o)},null,8,["modelValue"])])),_:1})])),_:1},8,["modelValue","onChange"])])]),e.data.project?(v(),_(c,{ref:"xterm",class:"xterm",key:"gitmars-xterm",id:e.terminalID,path:e.data.project.path},null,8,["id","path"])):U("",!0)])])])):U("",!0)}],["__scopeId","data-v-9ffaa174"]]);export{to as default}; diff --git a/app/www/assets/index-legacy.d9bfbcad.js b/app/www/assets/index-legacy.10aadff0.js similarity index 54% rename from app/www/assets/index-legacy.d9bfbcad.js rename to app/www/assets/index-legacy.10aadff0.js index 0bac5f35..c681077b 100644 --- a/app/www/assets/index-legacy.d9bfbcad.js +++ b/app/www/assets/index-legacy.10aadff0.js @@ -1 +1 @@ -!function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function t(t){for(var n=1;n=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}function u(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.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)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n._v3-split-bar_1fvmh_11{top:0;bottom:0;border-width:0 1px;width:4px;height:100%;flex-direction:column;cursor:col-resize}._v3-split-box_1fvmh_1._horizontal_1fvmh_30>._v3-split-bar_1fvmh_11 span{border-width:1px 0;height:4px;margin:2px 0}._v3-split-box_1fvmh_1._vertical_1fvmh_44{flex-direction:column}._v3-split-box_1fvmh_1._vertical_1fvmh_44>._v3-split-bar_1fvmh_11{left:0;right:0;border-width:1px 0;height:4px;width:100%;cursor:row-resize}._v3-split-box_1fvmh_1._vertical_1fvmh_44>._v3-split-bar_1fvmh_11 span{border-width:0 1px;width:4px;margin:0 2px}.v3-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:4px;border:0;box-sizing:border-box;color:inherit;display:block;font-size:16px;height:41px;outline:0;overflow:hidden;position:relative;text-align:center}.v3-button+.v3-button{margin-left:10px}.v3-button:after{background-color:#000;content:" ";opacity:0;top:0;right:0;bottom:0;left:0;position:absolute}.v3-button:not(.is-disabled):active:after{opacity:.1}.v3-button.is-disabled{opacity:.6}.v3-button-icon{vertical-align:middle;display:inline-block}.v3-button--default{color:#656b79;background-color:#f6f8fa;box-shadow:0 0 1px #b8bbbf}.v3-button--default.is-plain{border:1px solid #5a5a5a;background-color:transparent;box-shadow:none;color:#5a5a5a}.v3-button--primary{color:#fff;background-color:#17c0ae}.v3-button--primary.is-plain{border:1px solid #17c0ae;background-color:transparent;color:#17c0ae}.v3-button--danger{color:#fff;background-color:#ef4f4f}.v3-button--danger.is-plain{border:1px solid #ef4f4f;background-color:transparent;color:#ef4f4f}.v3-button--large{display:block;width:100%}.v3-button--normal{display:inline-block;padding:0 28px}.v3-button--small{display:inline-block;font-size:14px;padding:0 20px;height:33px}.v3-button--mini{display:inline-block;font-size:14px;padding:0 16px;height:33px}.fade-in-linear-enter-active,.fade-in-linear-leave-active{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.fade-in-linear-enter,.fade-in-linear-leave,.fade-in-linear-leave-active{opacity:0}.v3-fade-in-linear-enter-active,.v3-fade-in-linear-leave-active{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.v3-fade-in-linear-enter,.v3-fade-in-linear-leave,.v3-fade-in-linear-leave-active{opacity:0}.v3-fade-in-enter-active,.v3-fade-in-leave-active{-webkit-transition:all .3s cubic-bezier(.55,0,.1,1);transition:all .3s cubic-bezier(.55,0,.1,1)}.v3-fade-in-enter,.v3-fade-in-leave-active{opacity:0}.v3-zoom-in-center-enter-active,.v3-zoom-in-center-leave-active{-webkit-transition:all .3s cubic-bezier(.55,0,.1,1);transition:all .3s cubic-bezier(.55,0,.1,1)}.v3-zoom-in-center-enter,.v3-zoom-in-center-leave-active{opacity:0;-webkit-transform:scaleX(0);transform:scaleX(0)}.v3-zoom-in-top-enter-active,.v3-zoom-in-top-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:center top;transform-origin:center top}.v3-zoom-in-top-enter,.v3-zoom-in-top-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.v3-zoom-in-bottom-enter-active,.v3-zoom-in-bottom-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:center bottom;transform-origin:center bottom}.v3-zoom-in-bottom-enter,.v3-zoom-in-bottom-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.v3-zoom-in-left-enter-active,.v3-zoom-in-left-leave-active{opacity:1;-webkit-transform:scale(1,1);transform:scale(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:top left;transform-origin:top left}.v3-zoom-in-left-enter,.v3-zoom-in-left-leave-active{opacity:0;-webkit-transform:scale(.45,.45);transform:scale(.45)}.collapse-transition{-webkit-transition:.3s height ease-in-out,.3s padding-top ease-in-out,.3s padding-bottom ease-in-out;transition:.3s height ease-in-out,.3s padding-top ease-in-out,.3s padding-bottom ease-in-out}.horizontal-collapse-transition{-webkit-transition:.3s width ease-in-out,.3s padding-left ease-in-out,.3s padding-right ease-in-out;transition:.3s width ease-in-out,.3s padding-left ease-in-out,.3s padding-right ease-in-out}.v3-list-enter-active,.v3-list-leave-active{-webkit-transition:all 1s;transition:all 1s}.v3-list-enter,.v3-list-leave-active{opacity:0;-webkit-transform:translateY(-30px);transform:translateY(-30px)}.v3-opacity-transition{-webkit-transition:opacity .3s cubic-bezier(.55,0,.1,1);transition:opacity .3s cubic-bezier(.55,0,.1,1)}.v3-collapse{border-top:1px solid #ebeef5;border-bottom:1px solid #ebeef5}.v3-collapse-item.is-disabled .v3-collapse-item__header{color:#bbb;cursor:not-allowed}.v3-collapse-item__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:48px;line-height:48px;background-color:#fff;color:#303133;cursor:pointer;border-bottom:1px solid #ebeef5;font-size:13px;font-weight:500;-webkit-transition:border-bottom-color .3s;transition:border-bottom-color .3s;outline:0}.v3-collapse-item__arrow{margin:0 8px 0 auto;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;font-weight:300}.v3-collapse-item__arrow.is-active{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.v3-collapse-item__header.focusing:focus:not(:hover){color:#409eff}.v3-collapse-item__header.is-active{border-bottom-color:transparent}.v3-collapse-item__wrap{will-change:height;background-color:#fff;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #ebeef5}.v3-collapse-item__content{padding-bottom:25px;font-size:13px;color:#303133;line-height:1.76923077}.v3-collapse-item:last-child{margin-bottom:-1px}.fade-in-linear-enter-active,.fade-in-linear-leave-active{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.fade-in-linear-enter,.fade-in-linear-leave,.fade-in-linear-leave-active{opacity:0}.v3-fade-in-linear-enter-active,.v3-fade-in-linear-leave-active{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.v3-fade-in-linear-enter,.v3-fade-in-linear-leave,.v3-fade-in-linear-leave-active{opacity:0}.v3-fade-in-enter-active,.v3-fade-in-leave-active{-webkit-transition:all .3s cubic-bezier(.55,0,.1,1);transition:all .3s cubic-bezier(.55,0,.1,1)}.v3-fade-in-enter,.v3-fade-in-leave-active{opacity:0}.v3-zoom-in-center-enter-active,.v3-zoom-in-center-leave-active{-webkit-transition:all .3s cubic-bezier(.55,0,.1,1);transition:all .3s cubic-bezier(.55,0,.1,1)}.v3-zoom-in-center-enter,.v3-zoom-in-center-leave-active{opacity:0;-webkit-transform:scaleX(0);transform:scaleX(0)}.v3-zoom-in-top-enter-active,.v3-zoom-in-top-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:center top;transform-origin:center top}.v3-zoom-in-top-enter,.v3-zoom-in-top-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.v3-zoom-in-bottom-enter-active,.v3-zoom-in-bottom-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:center bottom;transform-origin:center bottom}.v3-zoom-in-bottom-enter,.v3-zoom-in-bottom-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.v3-zoom-in-left-enter-active,.v3-zoom-in-left-leave-active{opacity:1;-webkit-transform:scale(1,1);transform:scale(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:top left;transform-origin:top left}.v3-zoom-in-left-enter,.v3-zoom-in-left-leave-active{opacity:0;-webkit-transform:scale(.45,.45);transform:scale(.45)}.collapse-transition{-webkit-transition:.3s height ease-in-out,.3s padding-top ease-in-out,.3s padding-bottom ease-in-out;transition:.3s height ease-in-out,.3s padding-top ease-in-out,.3s padding-bottom ease-in-out}.horizontal-collapse-transition{-webkit-transition:.3s width ease-in-out,.3s padding-left ease-in-out,.3s padding-right ease-in-out;transition:.3s width ease-in-out,.3s padding-left ease-in-out,.3s padding-right ease-in-out}.v3-list-enter-active,.v3-list-leave-active{-webkit-transition:all 1s;transition:all 1s}.v3-list-enter,.v3-list-leave-active{opacity:0;-webkit-transform:translateY(-30px);transform:translateY(-30px)}.v3-opacity-transition{-webkit-transition:opacity .3s cubic-bezier(.55,0,.1,1);transition:opacity .3s cubic-bezier(.55,0,.1,1)}.v3-collapse{border-top:1px solid #ebeef5;border-bottom:1px solid #ebeef5}.v3-collapse-item.is-disabled .v3-collapse-item__header{color:#bbb;cursor:not-allowed}.v3-collapse-item__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:48px;line-height:48px;background-color:#fff;color:#303133;cursor:pointer;border-bottom:1px solid #ebeef5;font-size:13px;font-weight:500;-webkit-transition:border-bottom-color .3s;transition:border-bottom-color .3s;outline:0}.v3-collapse-item__arrow{margin:0 8px 0 auto;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;font-weight:300}.v3-collapse-item__arrow.is-active{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.v3-collapse-item__header.focusing:focus:not(:hover){color:#409eff}.v3-collapse-item__header.is-active{border-bottom-color:transparent}.v3-collapse-item__wrap{will-change:height;background-color:#fff;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #ebeef5}.v3-collapse-item__content{padding-bottom:25px;font-size:13px;color:#303133;line-height:1.76923077}.v3-collapse-item:last-child{margin-bottom:-1px}html,body,ul,li,dl,dt,dd,h1,h2,h3,h4,h5,p,pre,code,input,textarea,div{padding:0;margin:0;font-size:inherit;font-family:JetBrains Mono,Menlo,consolas,Microsoft YaHei,PingFangSC-Regular,Helvetica Neue,Helvetica,Arial,Hiragino Sans GB,WenQuanYi Micro Hei,sans-serif}img{border:0;max-width:100%}:focus{outline:0}html,body{font-size:14px;width:100%;height:100%;color:#333;background:#e2e7ef}.w{position:relative;width:1180px;margin:0 auto}input:-webkit-autofill,select:-webkit-autofill,textarea:-webkit-autofill{box-shadow:0 0 0 1000px #fff inset!important}input::-webkit-input-placeholder,select::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#ccc;font-size:14px}table{border-collapse:collapse}a{color:inherit;text-decoration:none}li{list-style:none}em{font-style:normal}.clear,.clearfix{clear:both}.clearfix:before,.clearfix:after{content:" ";display:block}.clearfix:after{clear:both}.fl{float:left}.fr{float:right}.row{display:flex}.row>*{flex-shrink:0}.row.center{align-items:center;justify-content:center}.column{display:flex!important;flex-direction:column}.column>*{flex-shrink:0}.flex-wrap{flex-wrap:wrap}.align-center{align-items:center}.align-top{align-items:flex-start}.align-end{align-items:flex-end}.justify-center{justify-content:center}.justify-top{justify-content:flex-start}.justify-between{justify-content:space-between}.justify-end{justify-content:flex-end}.col-1{flex:1}.col-2{flex:2}.col-3{flex:3}.col-4{flex:4}.col-5{flex:5}.col-6{flex:6}.col-7{flex:7}.col-8{flex:8}.col-9{flex:9}.col-10{flex:10}.col-11{flex:11}.col-12{flex:12}.col-13{flex:13}.col-14{flex:14}.col-15{flex:15}.col-16{flex:16}.col-17{flex:17}.col-18{flex:18}.col-19{flex:19}.col-20{flex:20}.col-21{flex:21}.col-22{flex:22}.col-23{flex:23}.col-24{flex:24}.mask{position:fixed;top:0;left:0;right:0;bottom:0;z-index:100;display:flex;justify-content:center;align-items:center}.iconfont{font-size:inherit;-webkit-text-stroke-width:0}.link{cursor:pointer}html,body{background:#2c3e50}#app{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#fff;height:100%}#app #nav{padding:30px;position:fixed;z-index:99;bottom:10px;left:10px}#app #nav a{font-weight:700;color:#fff}#app #nav a.router-link-exact-active{color:#42b983}#project{display:flex;flex-direction:column;height:100%}#project .head{height:110px;padding:0 20px;background:#3a5169;text-align:center}#project .head .title{display:flex;line-height:66px}#project .head .title .left{width:120px;text-align:left}#project .head .title .right{width:120px;text-align:right}#project .head .title h1{flex:1;color:#fff;font:300 24px/66px JetBrains Mono}#project .head .menu a{font-size:16px;line-height:42px;display:inline-block;padding:0 20px;color:#fff;border-bottom:2px solid #3a5169}#project .head .menu a.router-link-active,#project .head .menu a:hover,#project .head .menu a:active{background:#4e6e8e;border-color:#4e6e8e}#project .head .menu a.router-link-active{color:#c486fb;border-color:#c486fb}#project .routerView{flex:1}\n',document.head.appendChild(p),System.register(["./vendor/vue_3.2.23.js-legacy.cab6a317.js","./vendor/element-plus_1.2.0-beta.3.js-legacy.981a4862.js","./vendor/axios_0.24.0.js-legacy.e2791d74.js","./vendor/qs_6.10.1.js-legacy.583b1a92.js","./vendor/js-cool_2.3.0.js-legacy.a3236d92.js","./vendor/uuid_8.3.2.js-legacy.5043e95d.js","./vendor/dayjs_1.10.7.js-legacy.6093b1d6.js","./vendor/xterm_4.15.0.js-legacy.4c228449.js","./vendor/xterm-style_1.1.0.js-legacy.f8f2efde.js","./vendor/xterm-addon-fit_0.5.0.js-legacy.d755db6d.js","./vendor/xterm-addon-search_0.8.1.js-legacy.00f4c2d2.js","./vendor/xterm-addon-web-links_0.4.0.js-legacy.15c01a6a.js","./vendor/vue-router_4.0.12.js-legacy.f1a565ac.js","./vendor/vuex_4.0.2.js-legacy.e8b557da.js","./vendor/lodash_4.17.21.js-legacy.975f7fe9.js","./vendor/async-validator_4.0.7.js-legacy.4db26d33.js","./vendor/side-channel_1.0.4.js-legacy.285de11b.js","./vendor/get-intrinsic_1.1.1.js-legacy.cbed8f1c.js","./vendor/has-symbols_1.0.2.js-legacy.b04662aa.js","./vendor/function-bind_1.1.1.js-legacy.dd0fb47d.js","./vendor/has_1.0.3.js-legacy.f30f7bcd.js","./vendor/call-bind_1.0.2.js-legacy.2b18bb76.js","./vendor/object-inspect_1.11.0.js-legacy.1fe2e339.js","./vendor/core-js_3.19.1.js-legacy.1132431e.js"],(function(n,o){"use strict";var i,u,f,p,d,h,v,m,b,y,g,x,w,k,_,z,j,S,C,A,O,E,B,T,N,R,P,I,H,L,M,F,q,D,$,Y,W,V,U,K,J,X,G,Q,Z,ee,te,ne,oe,ie,re,ae,se,ce,le,ue,fe,pe,de,he,ve,me,be,ye,ge,xe,we,ke,_e,ze,je,Se;return{setters:[function(e){i=e.m,u=e.p,f=e.V,p=e.c,d=e.u,h=e.r,v=e.w,m=e.ag,b=e.n,y=e.A,g=e.af,x=e.E,w=e.s,k=e.z,_=e.K,z=e.J,j=e.v,S=e.I,C=e.Q,A=e.P,O=e.F,E=e.a5,B=e.O,T=e.x,N=e.T,R=e.ah,P=e.ai,I=e.d,H=e.W,L=e.S,M=e.l,F=e.a7,q=e.G,D=e.H,$=e.M,Y=e.g,W=e.q,V=e._,U=e.aj},function(e){K=e.E,J=e.a,X=e.b,G=e.c,Q=e.d,Z=e.e,ee=e.f,te=e.g,ne=e.h,oe=e.i,ie=e.j,re=e.k,ae=e.l,se=e.m,ce=e.n},function(e){le=e.a},function(e){ue=e.l},function(e){fe=e.a,pe=e.f,de=e.r,he=e.d,ve=e.e,me=e.n},function(e){be=e.v},function(e){ye=e.d},function(e){e.c,ge=e.x},function(e){xe=e.c},function(e){we=e.x},function(e){ke=e.x},function(e){_e=e.x},function(e){ze=e.c,je=e.a},function(e){Se=e.c},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){n("u",Me);function Ce(e){return new Promise((function(t,n){var o=le.create();o.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",o.defaults.headers.common["Access-Control-Allow-Origin"]="*",o.interceptors.request.use((function(t){var n=e.type;return t.data=Object.assign({},{_time:Date.now()},t.data),"post"==n?(t.method="post",t.data=ue.stringify(t.data,{arrayFormat:"indices",allowDots:!0})):(t.method="get",t.params=t.data),t}),(function(e){return Promise.reject(e)})),o.interceptors.response.use((function(t){return t.data.success||"text"===e.responseType?t.data:Promise.reject(t.data)}),(function(e){return Promise.reject(e)})),o(e).then((function(e){t(e)})).catch((function(e){e instanceof Error&&console.log(e)}))}))}function Ae(e){return!!i()&&(u(e),!0)}var Oe="undefined"!=typeof window,Ee=function(e){return"string"==typeof e},Be=function(){},Te=Oe?window:void 0;function Ne(){for(var e,t,n,o,i=arguments.length,r=new Array(i),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},t=e.reactive,n=void 0!==t&&t,o=e.target,i=void 0===o?Te:o,r=e.aliasMap,a=void 0===r?Le:r,s=e.passive,c=void 0===s||s,l=e.onEventFired,u=void 0===l?Be:l,v=f(new Set),m={toJSON:function(){return{}},current:v},b=n?f(m):m;function y(e,t){var o=e.key.toLowerCase(),i=[e.code.toLowerCase(),o];t?v.add(e.code):v.delete(e.code);for(var r=0,a=i;r320?window.innerWidth-20:300),r=pe(window.innerHeight>300+t?window.innerHeight-t-60+n:240+n),a=parseInt(e.maxHeight||e.height||r||480),s=parseInt(e.maxWidth||e.width||i||600);o.maxW=Math.min(s,i)+"px",o.maxH=Math.min(a,r)+"px",o.max&&(o.mWidth=i+"px",o.mHeight=r+"px")},v=function(){e.onOk&&"function"==typeof e.onOk?e.onOk(o.instance).then((function(){e.hide()})):x()},x=function(){de(window,"resize",o.reSize),o.instance=null,g(null,r.value),e.hide()};return o.max=d(e.defaultMax),o.maxH=d(e.maxHeight),o.maxW=d(e.maxWidth)||d(e.width),u(),b((function(){o.instance=y(e.component),o.instance.props=d(e.options),g(o.instance,r.value),o.isAppendContent=!0,fe(window,"resize",l),e.showBtn&&e.showOkBtn?a.value.focus():i.value.focus()})),{v3Box:i,boxContent:r,mainBtn:a,data:o,btns:s,handleOk:v,handleCancel:function(){x(),e.onCancel&&"function"==typeof e.onCancel&&e.onCancel()},handleClose:function(){x(),e.onClose&&"function"==typeof e.onClose&&e.onClose()},handleMax:function(){var t=110-(e.showBtn?0:60)-(e.showHeader?0:50),n=e.showHeader?0:40,i=pe(window.innerWidth>320?window.innerWidth-20:300),r=pe(window.innerHeight>300+t?window.innerHeight-t-60+n:240+n);o.max?(o.max=!1,o.mWidth=null,o.mHeight=null):(o.max=!0,o.mWidth=i+"px",o.mHeight=r+"px")}}}},De=["innerHTML"],$e=["innerHTML"],Ye={key:3,class:"v3-box-footer"},We={class:"v3-box-ico"},Ve=function(e){return R("data-v-703a9198"),e=e(),P(),e}((function(){return z("div",{class:"v3-box-filter"},null,-1)}));var Ue=Fe(qe,[["render",function(e,t,n,o,i,r){var a=x("el-button");return w(),k(N,{name:"fade"},{default:_((function(){return[z("div",{ref:"v3Box",class:A(["v3-box",{"one-btn":1===o.btns,"two-btn":2===o.btns,"no-btn":0===o.btns}]),style:C({width:o.data.mWidth||n.width,maxWidth:o.data.max?"":o.data.maxW})},[n.showHeader?(w(),j("div",{key:0,class:"v3-box-header",innerHTML:n.title},null,8,De)):S("",!0),n.message&&!n.component?(w(),j("div",{key:1,ref:"boxContent",class:"v3-box-content message",innerHTML:n.message,style:C({height:o.data.mHeight||n.height,maxHeight:o.data.max?"":o.data.maxH,minHeight:o.data.mHeight})},null,12,$e)):S("",!0),n.component&&!n.message?(w(),j("div",{key:2,ref:"boxContent",class:A(["v3-box-content",{"no-header":!n.showHeader}]),style:C({height:o.data.mHeight||n.height,maxHeight:o.data.max?"":o.data.maxH,minHeight:o.data.mHeight})},null,6)):S("",!0),n.showBtn?(w(),j("div",Ye,[e.$slots.footer?S("",!0):(w(),j(O,{key:0},[n.showOkBtn?(w(),k(a,{key:0,ref:"mainBtn",type:"primary",class:"btn-main",autofocus:"",onClick:o.handleOk},{default:_((function(){return[E(B(n.okBtnName),1)]})),_:1},8,["onClick"])):S("",!0),n.showCancelBtn?(w(),k(a,{key:1,onClick:o.handleCancel},{default:_((function(){return[E(B(n.cancelBtnName),1)]})),_:1},8,["onClick"])):S("",!0)],64)),e.$slots.footer?T(e.$slots,"footer",{key:1},void 0,!0):S("",!0)])):S("",!0),z("div",We,[Ve,n.showMax&&o.data.max?(w(),j("span",{key:0,class:"v3-box-max iconfont icon-tuichuquanping",title:"恢复默认",onClick:t[0]||(t[0]=function(){return o.handleMax&&o.handleMax.apply(o,arguments)})})):S("",!0),n.showMax&&!o.data.max?(w(),j("span",{key:1,class:"v3-box-max iconfont icon-quanping",title:"最大化",onClick:t[1]||(t[1]=function(){return o.handleMax&&o.handleMax.apply(o,arguments)})})):S("",!0),n.showClose?(w(),j("span",{key:2,class:"v3-box-close iconfont icon-close",title:"关闭",onClick:t[2]||(t[2]=function(){return o.handleClose&&o.handleClose.apply(o,arguments)})})):S("",!0)])],6)]})),_:3})}],["__scopeId","data-v-703a9198"]]),Ke={opacity:.4,title:"提示",width:"640px",height:"360px",message:null,okBtnName:"确定",cancelBtnName:"取消",defaultMax:!1,showOkBtn:!0,showCancelBtn:!0,showClose:!0,showHeader:!0,showBtn:!0,showMax:!0,options:{}},Je=function(){function e(t,n,o){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,"$el",void 0),s(this,"instance",void 0),o=ve(!0,{},Ke,o),this.$el=document.createElement("div"),this.$el.className="mask",this.$el.style.zIndex=String(me(1e3,2e4)),this.$el.style.background="rgba(0, 0, 0, "+o.opacity+")",this.$el.id=be(),this.instance=y(Ue),this.instance.props=r(r({},o),{},{component:n,hide:function(){i.hide()}}),document.body.appendChild(this.$el),this.show()}var t,n,o;return t=e,(n=[{key:"show",value:function(){g(this.instance,this.$el)}},{key:"hide",value:function(){g(null,this.$el),document.body.removeChild(this.$el),this.$el=null,this.instance=null,delete this.$el,delete this.instance}}])&&a(t.prototype,n),o&&a(t,o),e}();var Xe={"v3-split-box":"_v3-split-box_1fvmh_1","v3-split-bar":"_v3-split-bar_1fvmh_11","v3-split-panel":"_v3-split-panel_1fvmh_23","v3-split-panel-2":"_v3-split-panel-2_1fvmh_27",horizontal:"_horizontal_1fvmh_30",vertical:"_vertical_1fvmh_44"},Ge={name:"v3Split",props:{mode:{type:String,default:"horizontal",validator:function(e){return["horizontal","vertical"].indexOf(e)>-1}},modelValue:{type:[Number,String],default:"50%",validator:function(e){return/^([0-9]+)(%|px)?$/.test(e)}},min:{type:[Number,String],default:0},max:{type:[Number,String],default:"100%"}},setup:function(e,t){var n=this,o=t.slots,i=t.emit,r=new he,a=f({size:50,suffix:"%",pos:{},boxSize:0,moving:!1}),c=h(null),l=p((function(){return Math.round(a.size/100*a.boxSize)})),u=p((function(){var t=0+a.size;return"horizontal"===e.mode?o.right?o.left||(t=0):t=100:o.bottom?n.$slots.top||(t=0):t=100,s({},"horizontal"===e.mode?"width":"height",t+"%")}));v((function(){return e.modelValue}),(function(e){e&&("%"===a.suffix?a.size=pe(parseFloat(e),2):a.boxSize>0&&(a.size=pe(100*parseFloat(e)/a.boxSize,2)))})),v((function(){return a.size}),(function(t){var n=("%"!==a.suffix?l:t)+a.suffix;n!=e.modelValue&&0!==l&&i("input",n)}));var d=function(e){var t=(e.style.WebkitTransform||getComputedStyle(e,"").getPropertyValue("-webkit-transform")||e.style.transform||getComputedStyle(e,"").getPropertyValue("transform")).match(/\-?[0-9]+\.?[0-9]*/g);return t?{x:parseInt(t[12]||t[4]||0),y:parseInt(t[13]||t[5]||0)}:{x:0,y:0}},m=function(t){return String(e.min).indexOf("%")>1?t=Math.max(t,parseInt(e.min)):a.boxSize>0&&(t=Math.max(t,pe(100*parseInt(e.min)/a.boxSize,2))),String(e.max).indexOf("%")>1?t=Math.min(t,parseInt(e.max)):a.boxSize>0&&(t=Math.min(t,pe(100*parseInt(e.max)/a.boxSize,2))),t},b=function(e){for(var t=0,n=0,o=0,i=0;e.offsetParent;){var r=d(e);t+=e.offsetLeft+r.x,n+=e.offsetTop+r.y,e=e.offsetParent}for(;e.parentNode;)o+=e.scrollLeft,i+=e.scrollTop,e=e.parentNode;return{x:t,y:n,left:o,top:i}},y=function(t){var n=t.target;for(a.boxSize=parseInt("horizontal"===e.mode?c.value.clientWidth:c.value.clientHeight);n.parentNode;){if(n.parentNode.className.indexOf(Xe.v3SplitBox)>-1){a.pos=b(n.parentNode);break}n=n.parentNode}t.preventDefault(),t.stopPropagation(),i("move-start"),fe(document,"mousemove",g),fe(document,"mouseup",x)},g=function(t){a.moving=!0,i("moving",t),r.register("v3SplitOnmouseMove",(function(){var n;n="horizontal"===e.mode?t.pageX+a.pos.left-a.pos.x:t.pageY+a.pos.top-a.pos.y,a.size=m(pe(100*n/a.boxSize,2))}),50,!0),t.preventDefault()},x=function e(){a.moving=!1,i("move-end"),de(document,"mousemove",g),de(document,"mouseup",e)};return String(e.modelValue).replace(/^([0-9]+)(%|px)?$/,(function(e,t,n){"%"===n&&(a.size=m(parseInt(t))),a.suffix=n||""})),I((function(){a.boxSize=parseInt("horizontal"===e.mode?c.value.clientWidth:c.value.clientHeight),"%"!==a.suffix&&(a.size=m(pe(100*parseInt(e.modelValue)/a.boxSize,2)))})),function(){return H("div",{class:[Xe.v3SplitBox,Xe[e.mode],a.moving?" moving":""],ref:c},o.default?o.default():[H("div",{class:[Xe.v3SplitPanel,Xe.v3SplitPanel1],style:u.value},"horizontal"===e.mode?o.left():o.top()),("horizontal"===e.mode&&o.left&&o.right||"vertical"===e.mode&&o.top&&o.bottom)&&H("div",{class:Xe.v3SplitBar,onMousedown:y},[H("span"),H("span"),H("span"),H("span")]),H("div",{class:[Xe.v3SplitPanel,Xe.v3SplitPanel2]},"horizontal"===e.mode?o.right():o.bottom())])}}},Qe={name:"v3Button",inheritAttrs:!1,props:{icon:String,disabled:Boolean,nativeType:String,plain:Boolean,type:{type:String,default:"default",validator:function(e){return["default","danger","primary"].indexOf(e)>-1}},size:{type:String,default:"normal",validator:function(e){return["mini","small","normal","large"].indexOf(e)>-1}}},setup:function(e,t){var n=t.slots,o=t.emit,i=function(e){o("click",e)};return function(){return[H("button",{type:e.nativeType,class:["v3-button","v3-button--"+e.size,"v3-button--"+e.type,{"is-disabled":e.disabled,"is-plain":e.plain}],onClick:i,disabled:e.disabled},[n.icon?[H("span",{class:["v3-button-icon"]},n.icon())," "]:e.icon&&[H("span",{class:["v3-button-icon"]},H("i",{class:["iconfont","icon-"+e.icon]}))," "]||null,H("label",{class:["v3-button-text"]},n.default())])]}}};var Ze=Fe({name:"v3Collapse",componentName:"v3Collapse",props:{accordion:Boolean,modelValue:{type:[Array,String,Number],default:function(){return[]}}},setup:function(e,t){t.slots;var n=t.emit,o=h([]);o.value=[].concat(e.modelValue),v((function(){return e.modelValue}),(function(e){console.log("collapse value change",e)}));var i=function(t){t=[].concat(t);var i=e.accordion?t[0]:t;o.value=t,n("update:modelValue",i)},r=function(t){if(e.accordion)i(!o.value[0]&&0!==o.value[0]||o.value[0]!==t.name?t.name:"");else{var n=o.value.slice(0),r=n.indexOf(t.name);r>-1?n.splice(r,1):n.push(t.name),i(n)}};return L("collapse",{activeNames:o,handleItemClick:r}),{activeNames:o,setActiveNames:i,handleItemClick:r}}},[["render",function(e,t,n,o,i,r){return w(),j("div",{class:"v3-collapse",role:"tablist","aria-multiselectable":"true",onItemClick:t[0]||(t[0]=function(){return o.handleItemClick&&o.handleItemClick.apply(o,arguments)})},[T(e.$slots,"default")],32)}]]);function et(e,t,n){this.$children.forEach((function(o){o.$options.componentName===e?o.$emit.apply(o,[t].concat(n)):et.apply(o,[e,t].concat([n]))}))}function tt(e){return{dispatch:function(t,n,o){for(var i=e.$parent||e.$root,r=i.$options.componentName;i&&(!r||r!==t);)(i=i.$parent)&&(r=i.$options.componentName);i&&i.$emit.apply(i,[n].concat(o))},broadcast:function(t,n,o){et.call(e,t,n,o)}}}var nt={name:"v3CollapseItem",componentName:"v3CollapseItem",props:{title:String,name:{type:[String,Number],default:function(){return this._uid}},disabled:Boolean},setup:function(e,t){t.slots,t.emit,t.attrs;var n=Y(),o=n.proxy,i=(n.appContext,tt(o).dispatch),r=M("collapse"),a=r.activeNames,s=r.handleItemClick,c=f({height:"auto",display:"block"}),l=h(0),u=h(!1),d=h(!1),v=h(Math.floor(1e4*Math.random())),m=p((function(){return a.value.indexOf(e.name)>-1}));return{contentWrapStyle:c,contentHeight:l,focusing:u,isClick:d,id:v,isActive:m,handleFocus:function(){setTimeout((function(){d.value?d.value=!1:u.value=!0}),50)},handleHeaderClick:function(){e.disabled||(i("v3Collapse","item-click",o),s&&s(o),u.value=!1,d.value=!0)},handleEnterClick:function(){i("v3Collapse","item-click",o)}}}},ot=["aria-expanded","aria-controls","aria-describedby"],it=["id","tabindex"],rt=["aria-hidden","aria-labelledby","id"],at={class:"v3-collapse-item__content"};var st=Fe(nt,[["render",function(e,t,n,o,i,r){return w(),j("div",{class:A(["v3-collapse-item",{"is-active":o.isActive,"is-disabled":n.disabled}])},[z("div",{role:"tab","aria-expanded":o.isActive,"aria-controls":"v3-collapse-content-".concat(o.id),"aria-describedby":"v3-collapse-content-".concat(o.id)},[z("div",{class:A(["v3-collapse-item__header",{focusing:o.focusing,"is-active":o.isActive}]),onClick:t[0]||(t[0]=function(){return o.handleHeaderClick&&o.handleHeaderClick.apply(o,arguments)}),role:"button",id:"v3-collapse-head-".concat(o.id),tabindex:n.disabled?void 0:0,onKeyup:t[1]||(t[1]=F($((function(){return o.handleEnterClick&&o.handleEnterClick.apply(o,arguments)}),["stop"]),["space","enter"])),onFocus:t[2]||(t[2]=function(){return o.handleFocus&&o.handleFocus.apply(o,arguments)}),onBlur:t[3]||(t[3]=function(e){return o.focusing=!1})},[T(e.$slots,"title",{},(function(){return[E(B(n.title),1)]})),z("span",{class:A(["v3-collapse-item__arrow iconfont icon-right",{"is-active":o.isActive}])},null,2)],42,it)],8,ot),q(z("div",{class:"v3-collapse-item__wrap",role:"tabpanel","aria-hidden":!o.isActive,"aria-labelledby":"v3-collapse-head-".concat(o.id),id:"v3-collapse-content-".concat(o.id)},[z("div",at,[T(e.$slots,"default")])],8,rt),[[D,o.isActive]])],2)}]]),ct={install:function(e){e.component(Ge.name,Ge),e.component(Qe.name,Qe),e.component(Ze.name,Ze),e.component(st.name,st),e.component(Ue.name,Ue)},v3Split:Ge,v3Button:Qe,v3Collapse:Ze,v3CollapseItem:st},lt={exports:{}}; +/*! + * Socket.IO v4.4.0 + * (c) 2014-2021 Guillermo Rauch + * Released under the MIT License. + */ +!function(t,n){t.exports=function(){function t(e){return t="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},t(e)}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}var y=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,g=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],x=function(e){var t=e,n=e.indexOf("["),o=e.indexOf("]");-1!=n&&-1!=o&&(e=e.substring(0,n)+e.substring(n,o).replace(/:/g,";")+e.substring(o,e.length));for(var i=y.exec(e||""),r={},a=14;a--;)r[g[a]]=i[a]||"";return-1!=n&&-1!=o&&(r.source=t,r.host=r.host.substring(1,r.host.length-1).replace(/;/g,":"),r.authority=r.authority.replace("[","").replace("]","").replace(/;/g,":"),r.ipv6uri=!0),r.pathNames=w(r,r.path),r.queryKey=k(r,r.query),r};function w(e,t){var n=/\/{2,9}/g,o=t.replace(n,"/").split("/");return"/"!=t.substr(0,1)&&0!==t.length||o.splice(0,1),"/"==t.substr(t.length-1,1)&&o.splice(o.length-1,1),o}function k(e,t){var n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,o){t&&(n[t]=o)})),n}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,o=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),o=x(e)),o.port||(/^(http|ws)$/.test(o.protocol)?o.port="80":/^(http|ws)s$/.test(o.protocol)&&(o.port="443")),o.path=o.path||"/";var i=-1!==o.host.indexOf(":")?"["+o.host+"]":o.host;return o.id=o.protocol+"://"+i+":"+o.port+t,o.href=o.protocol+"://"+i+(n&&n.port===o.port?"":":"+o.port),o}var z={exports:{}};try{z.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(et){z.exports=!1}var j=z.exports,S="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function C(e){var t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||j))return new XMLHttpRequest}catch(n){}if(!t)try{return new(S[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(n){}}function A(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o>4,u[c++]=(15&o)<<4|i>>2,u[c++]=(3&i)<<6|63&r;return l},K="function"==typeof ArrayBuffer,J=function(e,t){if("string"!=typeof e)return{type:"message",data:G(e,t)};var n=e.charAt(0);return"b"===n?{type:"message",data:X(e.substring(1),t)}:I[n]?e.length>1?{type:I[n],data:e.substring(1)}:{type:I[n]}:H},X=function(e,t){if(K){var n=U(e);return G(n,t)}return{base64:!0,data:e}},G=function(e,t){return"blob"===t&&e instanceof ArrayBuffer?new Blob([e]):e},Q=String.fromCharCode(30),Z=function(e,t){var n=e.length,o=new Array(n),i=0;e.forEach((function(e,r){q(e,!1,(function(e){o[r]=e,++i===n&&t(o.join(Q))}))}))},ee=function(e,t){for(var n=e.split(Q),o=[],i=0;i0);return t}function le(e){var t=0;for(se=0;se0&&void 0!==arguments[0]?arguments[0]:{};return r(e,{xd:this.xd,xs:this.xs},this.opts),new be(this.uri(),e)}},{key:"doWrite",value:function(e,t){var n=this,o=this.request({method:"POST",data:e});o.on("success",t),o.on("error",(function(e){n.onError("xhr post error",e)}))}},{key:"doPoll",value:function(){var e=this,t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(function(t){e.onError("xhr poll error",t)})),this.pollXhr=t}}]),o}(de),be=function(e){a(o,e);var t=p(o);function o(e,i){var r;return n(this,o),B(u(r=t.call(this)),i),r.opts=i,r.method=i.method||"GET",r.uri=e,r.async=!1!==i.async,r.data=void 0!==i.data?i.data:null,r.create(),r}return i(o,[{key:"create",value:function(){var e=this,t=A(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;var n=this.xhr=new C(t);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders)for(var i in n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0),this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(i)&&n.setRequestHeader(i,this.opts.extraHeaders[i])}catch(r){}if("POST"===this.method)try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(r){}try{n.setRequestHeader("Accept","*/*")}catch(r){}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=function(){4===n.readyState&&(200===n.status||1223===n.status?e.onLoad():e.setTimeoutFn((function(){e.onError("number"==typeof n.status?n.status:0)}),0))},n.send(this.data)}catch(r){return void this.setTimeoutFn((function(){e.onError(r)}),0)}"undefined"!=typeof document&&(this.index=o.requestsCount++,o.requests[this.index]=this)}},{key:"onSuccess",value:function(){this.emit("success"),this.cleanup()}},{key:"onData",value:function(e){this.emit("data",e),this.onSuccess()}},{key:"onError",value:function(e){this.emit("error",e),this.cleanup(!0)}},{key:"cleanup",value:function(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=he,e)try{this.xhr.abort()}catch(t){}"undefined"!=typeof document&&delete o.requests[this.index],this.xhr=null}}},{key:"onLoad",value:function(){var e=this.xhr.responseText;null!==e&&this.onData(e)}},{key:"abort",value:function(){this.cleanup()}}]),o}(T);function ye(){for(var e in be.requests)be.requests.hasOwnProperty(e)&&be.requests[e].abort()}be.requestsCount=0,be.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",ye):"function"==typeof addEventListener&&addEventListener("onpagehide"in S?"pagehide":"unload",ye,!1));var ge="function"==typeof Promise&&"function"==typeof Promise.resolve?function(e){return Promise.resolve().then(e)}:function(e,t){return t(e,0)},xe=S.WebSocket||S.MozWebSocket,we=!0,ke="arraybuffer",_e="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),ze=function(e){a(o,e);var t=p(o);function o(e){var i;return n(this,o),(i=t.call(this,e)).supportsBinary=!e.forceBase64,i}return i(o,[{key:"name",get:function(){return"websocket"}},{key:"doOpen",value:function(){if(this.check()){var e=this.uri(),t=this.opts.protocols,n=_e?{}:A(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=we&&!_e?t?new xe(e,t):new xe(e):new xe(e,t,n)}catch(et){return this.emit("error",et)}this.ws.binaryType=this.socket.binaryType||ke,this.addEventListeners()}}},{key:"addEventListeners",value:function(){var e=this;this.ws.onopen=function(){e.opts.autoUnref&&e.ws._socket.unref(),e.onOpen()},this.ws.onclose=this.onClose.bind(this),this.ws.onmessage=function(t){return e.onData(t.data)},this.ws.onerror=function(t){return e.onError("websocket error",t)}}},{key:"write",value:function(e){var t=this;this.writable=!1;for(var n=function(n){var o=e[n],i=n===e.length-1;q(o,t.supportsBinary,(function(e){try{we&&t.ws.send(e)}catch(n){}i&&ge((function(){t.writable=!0,t.emit("drain")}),t.setTimeoutFn)}))},o=0;o1&&void 0!==arguments[1]?arguments[1]:{};return n(this,s),i=o.call(this),e&&"object"===t(e)&&(a=e,e=null),e?(e=x(e),a.hostname=e.host,a.secure="https"===e.protocol||"wss"===e.protocol,a.port=e.port,e.query&&(a.query=e.query)):a.host&&(a.hostname=x(a.host).host),B(u(i),a),i.secure=null!=a.secure?a.secure:"undefined"!=typeof location&&"https:"===location.protocol,a.hostname&&!a.port&&(a.port=i.secure?"443":"80"),i.hostname=a.hostname||("undefined"!=typeof location?location.hostname:"localhost"),i.port=a.port||("undefined"!=typeof location&&location.port?location.port:i.secure?"443":"80"),i.transports=a.transports||["polling","websocket"],i.readyState="",i.writeBuffer=[],i.prevBufferLen=0,i.opts=r({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},a),i.opts.path=i.opts.path.replace(/\/$/,"")+"/","string"==typeof i.opts.query&&(i.opts.query=pe.decode(i.opts.query)),i.id=null,i.upgrades=null,i.pingInterval=null,i.pingTimeout=null,i.pingTimeoutTimer=null,"function"==typeof addEventListener&&(i.opts.closeOnBeforeunload&&addEventListener("beforeunload",(function(){i.transport&&(i.transport.removeAllListeners(),i.transport.close())}),!1),"localhost"!==i.hostname&&(i.offlineEventListener=function(){i.onClose("transport close")},addEventListener("offline",i.offlineEventListener,!1))),i.open(),i}return i(s,[{key:"createTransport",value:function(e){var t=Ce(this.opts.query);t.EIO=te,t.transport=e,this.id&&(t.sid=this.id);var n=r({},this.opts.transportOptions[e],this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new je[e](n)}},{key:"open",value:function(){var e,t=this;if(this.opts.rememberUpgrade&&s.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((function(){t.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(n){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}},{key:"setTransport",value:function(e){var t=this;this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(function(){t.onClose("transport close")}))}},{key:"probe",value:function(e){var t=this,n=this.createTransport(e),o=!1;s.priorWebsocketSuccess=!1;var i=function(){o||(n.send([{type:"ping",data:"probe"}]),n.once("packet",(function(e){if(!o)if("pong"===e.type&&"probe"===e.data){if(t.upgrading=!0,t.emitReserved("upgrading",n),!n)return;s.priorWebsocketSuccess="websocket"===n.name,t.transport.pause((function(){o||"closed"!==t.readyState&&(f(),t.setTransport(n),n.send([{type:"upgrade"}]),t.emitReserved("upgrade",n),n=null,t.upgrading=!1,t.flush())}))}else{var i=new Error("probe error");i.transport=n.name,t.emitReserved("upgradeError",i)}})))};function r(){o||(o=!0,f(),n.close(),n=null)}var a=function(e){var o=new Error("probe error: "+e);o.transport=n.name,r(),t.emitReserved("upgradeError",o)};function c(){a("transport closed")}function l(){a("socket closed")}function u(e){n&&e.name!==n.name&&r()}var f=function(){n.removeListener("open",i),n.removeListener("error",a),n.removeListener("close",c),t.off("close",l),t.off("upgrading",u)};n.once("open",i),n.once("error",a),n.once("close",c),this.once("close",l),this.once("upgrading",u),n.open()}},{key:"onOpen",value:function(){if(this.readyState="open",s.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause)for(var e=0,t=this.upgrades.length;e0;case Me.ACK:case Me.BINARY_ACK:return Array.isArray(n)}}}]),r}(T);function $e(e){try{return JSON.parse(e)}catch(t){return!1}}var Ye=function(){function e(t){n(this,e),this.packet=t,this.buffers=[],this.reconPack=t}return i(e,[{key:"takeBinaryData",value:function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=He(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}},{key:"finishedReconstruction",value:function(){this.reconPack=null,this.buffers=[]}}]),e}(),We=Object.freeze({__proto__:null,protocol:Fe,get PacketType(){return Me},Encoder:qe,Decoder:De});function Ve(e,t,n){return e.on(t,n),function(){e.off(t,n)}}var Ue=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),Ke=function(e){a(o,e);var t=p(o);function o(e,i,r){var a;return n(this,o),(a=t.call(this)).connected=!1,a.disconnected=!0,a.receiveBuffer=[],a.sendBuffer=[],a.ids=0,a.acks={},a.flags={},a.io=e,a.nsp=i,r&&r.auth&&(a.auth=r.auth),a.io._autoConnect&&a.open(),a}return i(o,[{key:"subEvents",value:function(){if(!this.subs){var e=this.io;this.subs=[Ve(e,"open",this.onopen.bind(this)),Ve(e,"packet",this.onpacket.bind(this)),Ve(e,"error",this.onerror.bind(this)),Ve(e,"close",this.onclose.bind(this))]}}},{key:"active",get:function(){return!!this.subs}},{key:"connect",value:function(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}},{key:"open",value:function(){return this.connect()}},{key:"send",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),o=1;o0&&e.jitter<=1?e.jitter:0,this.attempts=0}Xe.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},Xe.prototype.reset=function(){this.attempts=0},Xe.prototype.setMin=function(e){this.ms=e},Xe.prototype.setMax=function(e){this.max=e},Xe.prototype.setJitter=function(e){this.jitter=e};var Ge=function(e){a(r,e);var o=p(r);function r(e,i){var a,s;n(this,r),(a=o.call(this)).nsps={},a.subs=[],e&&"object"===t(e)&&(i=e,e=void 0),(i=i||{}).path=i.path||"/socket.io",a.opts=i,B(u(a),i),a.reconnection(!1!==i.reconnection),a.reconnectionAttempts(i.reconnectionAttempts||1/0),a.reconnectionDelay(i.reconnectionDelay||1e3),a.reconnectionDelayMax(i.reconnectionDelayMax||5e3),a.randomizationFactor(null!==(s=i.randomizationFactor)&&void 0!==s?s:.5),a.backoff=new Je({min:a.reconnectionDelay(),max:a.reconnectionDelayMax(),jitter:a.randomizationFactor()}),a.timeout(null==i.timeout?2e4:i.timeout),a._readyState="closed",a.uri=e;var c=i.parser||We;return a.encoder=new c.Encoder,a.decoder=new c.Decoder,a._autoConnect=!1!==i.autoConnect,a._autoConnect&&a.open(),a}return i(r,[{key:"reconnection",value:function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}},{key:"reconnectionAttempts",value:function(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}},{key:"reconnectionDelay",value:function(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}},{key:"randomizationFactor",value:function(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}},{key:"reconnectionDelayMax",value:function(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}},{key:"timeout",value:function(e){return arguments.length?(this._timeout=e,this):this._timeout}},{key:"maybeReconnectOnOpen",value:function(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}},{key:"open",value:function(e){var t=this;if(~this._readyState.indexOf("open"))return this;this.engine=new Se(this.uri,this.opts);var n=this.engine,o=this;this._readyState="opening",this.skipReconnect=!1;var i=Ve(n,"open",(function(){o.onopen(),e&&e()})),r=Ve(n,"error",(function(n){o.cleanup(),o._readyState="closed",t.emitReserved("error",n),e?e(n):o.maybeReconnectOnOpen()}));if(!1!==this._timeout){var a=this._timeout;0===a&&i();var s=this.setTimeoutFn((function(){i(),n.close(),n.emit("error",new Error("timeout"))}),a);this.opts.autoUnref&&s.unref(),this.subs.push((function(){clearTimeout(s)}))}return this.subs.push(i),this.subs.push(r),this}},{key:"connect",value:function(e){return this.open(e)}},{key:"onopen",value:function(){this.cleanup(),this._readyState="open",this.emitReserved("open");var e=this.engine;this.subs.push(Ve(e,"ping",this.onping.bind(this)),Ve(e,"data",this.ondata.bind(this)),Ve(e,"error",this.onerror.bind(this)),Ve(e,"close",this.onclose.bind(this)),Ve(this.decoder,"decoded",this.ondecoded.bind(this)))}},{key:"onping",value:function(){this.emitReserved("ping")}},{key:"ondata",value:function(e){this.decoder.add(e)}},{key:"ondecoded",value:function(e){this.emitReserved("packet",e)}},{key:"onerror",value:function(e){this.emitReserved("error",e)}},{key:"socket",value:function(e,t){var n=this.nsps[e];return n||(n=new Ke(this,e,t),this.nsps[e]=n),n}},{key:"_destroy",value:function(e){for(var t=0,n=Object.keys(this.nsps);t=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{var n=this.backoff.duration();this._reconnecting=!0;var o=this.setTimeoutFn((function(){t.skipReconnect||(e.emitReserved("reconnect_attempt",t.backoff.attempts),t.skipReconnect||t.open((function(n){n?(t._reconnecting=!1,t.reconnect(),e.emitReserved("reconnect_error",n)):t.onreconnect()})))}),n);this.opts.autoUnref&&o.unref(),this.subs.push((function(){clearTimeout(o)}))}}},{key:"onreconnect",value:function(){var e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}]),r}(T),Qe={};function Ze(e,n){"object"===t(e)&&(n=e,e=void 0);var o,i=_(e,(n=n||{}).path||"/socket.io"),r=i.source,a=i.id,s=i.path,c=Qe[a]&&s in Qe[a].nsps;return n.forceNew||n["force new connection"]||!1===n.multiplex||c?o=new Ge(r,n):(Qe[a]||(Qe[a]=new Ge(r,n)),o=Qe[a]),i.query&&!n.query&&(n.query=i.queryKey),o.socket(i.path,n)}return r(Ze,{Manager:Ge,Socket:Ke,io:Ze,connect:Ze}),Ze}()}(lt);var ut=lt.exports,ft=n("T",Symbol("Terminal")),pt=n("S",Symbol("Socket")),dt=W({setup:function(e){var t=location.origin,n=ut("".concat(t,"/terminal"),{reconnection:!0}),o=ut("".concat(t,"/gitmars"),{reconnection:!0}),i=new we.exports.FitAddon,r=new ke.exports.SearchAddon,a=f({});return L(pt,{socket:n,socketGitmars:o}),L(ft,{getTerminal:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:20;return a[e]||(a[e]={term:new ge.exports.Terminal({theme:xe,fontSize:12,fontWeight:300,lineHeight:1.1,fontFamily:'"JetBrains Mono", Menlo, consolas, "Microsoft YaHei", "PingFangSC-Regular", Avenir, Helvetica, Arial, sans-serif',cols:o,rows:s,windowOptions:{setWinSizePixels:!0}}),name:"terminal-"+e,pid:null},a[e].term.loadAddon(new _e.exports.WebLinksAddon),a[e].term.loadAddon(i),a[e].term.loadAddon(r),a[e].term.onData((function(t){n.emit(a[e].name+"-input",t)})),n.on(a[e].name+"-output",(function(t){a[e].term.write(t)})),n.on(a[e].name+"-pid",(function(t){console.info("pid: ",t),a[e].pid=t})),n.emit("create",{name:a[e].name,cwd:t}),window.addEventListener("resize",(function(){a[e].term.fit()}))),a[e]},fitAddon:i}),I((function(){})),function(e,t){var n=x("router-view");return w(),k(V,{to:"#app",class:"app"},[y(n)])}}}),ht=function(e,t){return e()},vt=[{path:"/",name:"Home",redirect:"/project/list"},{path:"/project",name:"project",component:function(){return ht((function(){return o.import("./index-legacy.10aadff0.js")}))},children:[{path:"list",name:"project_list",component:function(){return ht((function(){return o.import("./list-legacy.ad29f67d.js")}))}},{path:"add",name:"project_add",component:function(){return ht((function(){return o.import("./add-legacy.82f019e1.js")}))}}]},{path:"/control",name:"control",component:function(){return ht((function(){return o.import("./index-legacy.f8814967.js")}))},children:[{path:"gitmars",name:"control_gitmars",component:function(){return ht((function(){return o.import("./gitmars-legacy.f105ee70.js")}))}},{path:"tasks",name:"control_tasks",component:function(){return ht((function(){return o.import("./tasks-legacy.63a90991.js")}))}}]}],mt=ze({history:je(),routes:vt}),bt=Se({state:{},mutations:{},actions:{},modules:{}}),yt=U(dt);yt.config.globalProperties.$ELEMENT={size:"small",zIndex:5e3},yt.use(J),yt.use(X),yt.use(G),yt.use(Q),yt.use(Z),yt.use(ee),yt.use(K),yt.use(te),yt.use(ne),yt.use(oe),yt.use(ie),yt.use(re),yt.use(ae),yt.use(se),yt.use(ce),yt.use(bt).use(mt).use(ct).use((function(e){e.config.globalProperties.$nextIndex=me.bind(e),e.config.globalProperties.$axios=Ce,e.config.globalProperties.$delay=new he,e.config.globalProperties.$box=function(){for(var n=arguments.length,o=new Array(n),i=0;i=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}function u(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.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)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n._v3-split-bar_1fvmh_11{top:0;bottom:0;border-width:0 1px;width:4px;height:100%;flex-direction:column;cursor:col-resize}._v3-split-box_1fvmh_1._horizontal_1fvmh_30>._v3-split-bar_1fvmh_11 span{border-width:1px 0;height:4px;margin:2px 0}._v3-split-box_1fvmh_1._vertical_1fvmh_44{flex-direction:column}._v3-split-box_1fvmh_1._vertical_1fvmh_44>._v3-split-bar_1fvmh_11{left:0;right:0;border-width:1px 0;height:4px;width:100%;cursor:row-resize}._v3-split-box_1fvmh_1._vertical_1fvmh_44>._v3-split-bar_1fvmh_11 span{border-width:0 1px;width:4px;margin:0 2px}.v3-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:4px;border:0;box-sizing:border-box;color:inherit;display:block;font-size:16px;height:41px;outline:0;overflow:hidden;position:relative;text-align:center}.v3-button+.v3-button{margin-left:10px}.v3-button:after{background-color:#000;content:" ";opacity:0;top:0;right:0;bottom:0;left:0;position:absolute}.v3-button:not(.is-disabled):active:after{opacity:.1}.v3-button.is-disabled{opacity:.6}.v3-button-icon{vertical-align:middle;display:inline-block}.v3-button--default{color:#656b79;background-color:#f6f8fa;box-shadow:0 0 1px #b8bbbf}.v3-button--default.is-plain{border:1px solid #5a5a5a;background-color:transparent;box-shadow:none;color:#5a5a5a}.v3-button--primary{color:#fff;background-color:#17c0ae}.v3-button--primary.is-plain{border:1px solid #17c0ae;background-color:transparent;color:#17c0ae}.v3-button--danger{color:#fff;background-color:#ef4f4f}.v3-button--danger.is-plain{border:1px solid #ef4f4f;background-color:transparent;color:#ef4f4f}.v3-button--large{display:block;width:100%}.v3-button--normal{display:inline-block;padding:0 28px}.v3-button--small{display:inline-block;font-size:14px;padding:0 20px;height:33px}.v3-button--mini{display:inline-block;font-size:14px;padding:0 16px;height:33px}.fade-in-linear-enter-active,.fade-in-linear-leave-active{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.fade-in-linear-enter,.fade-in-linear-leave,.fade-in-linear-leave-active{opacity:0}.v3-fade-in-linear-enter-active,.v3-fade-in-linear-leave-active{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.v3-fade-in-linear-enter,.v3-fade-in-linear-leave,.v3-fade-in-linear-leave-active{opacity:0}.v3-fade-in-enter-active,.v3-fade-in-leave-active{-webkit-transition:all .3s cubic-bezier(.55,0,.1,1);transition:all .3s cubic-bezier(.55,0,.1,1)}.v3-fade-in-enter,.v3-fade-in-leave-active{opacity:0}.v3-zoom-in-center-enter-active,.v3-zoom-in-center-leave-active{-webkit-transition:all .3s cubic-bezier(.55,0,.1,1);transition:all .3s cubic-bezier(.55,0,.1,1)}.v3-zoom-in-center-enter,.v3-zoom-in-center-leave-active{opacity:0;-webkit-transform:scaleX(0);transform:scaleX(0)}.v3-zoom-in-top-enter-active,.v3-zoom-in-top-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:center top;transform-origin:center top}.v3-zoom-in-top-enter,.v3-zoom-in-top-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.v3-zoom-in-bottom-enter-active,.v3-zoom-in-bottom-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:center bottom;transform-origin:center bottom}.v3-zoom-in-bottom-enter,.v3-zoom-in-bottom-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.v3-zoom-in-left-enter-active,.v3-zoom-in-left-leave-active{opacity:1;-webkit-transform:scale(1,1);transform:scale(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:top left;transform-origin:top left}.v3-zoom-in-left-enter,.v3-zoom-in-left-leave-active{opacity:0;-webkit-transform:scale(.45,.45);transform:scale(.45)}.collapse-transition{-webkit-transition:.3s height ease-in-out,.3s padding-top ease-in-out,.3s padding-bottom ease-in-out;transition:.3s height ease-in-out,.3s padding-top ease-in-out,.3s padding-bottom ease-in-out}.horizontal-collapse-transition{-webkit-transition:.3s width ease-in-out,.3s padding-left ease-in-out,.3s padding-right ease-in-out;transition:.3s width ease-in-out,.3s padding-left ease-in-out,.3s padding-right ease-in-out}.v3-list-enter-active,.v3-list-leave-active{-webkit-transition:all 1s;transition:all 1s}.v3-list-enter,.v3-list-leave-active{opacity:0;-webkit-transform:translateY(-30px);transform:translateY(-30px)}.v3-opacity-transition{-webkit-transition:opacity .3s cubic-bezier(.55,0,.1,1);transition:opacity .3s cubic-bezier(.55,0,.1,1)}.v3-collapse{border-top:1px solid #ebeef5;border-bottom:1px solid #ebeef5}.v3-collapse-item.is-disabled .v3-collapse-item__header{color:#bbb;cursor:not-allowed}.v3-collapse-item__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:48px;line-height:48px;background-color:#fff;color:#303133;cursor:pointer;border-bottom:1px solid #ebeef5;font-size:13px;font-weight:500;-webkit-transition:border-bottom-color .3s;transition:border-bottom-color .3s;outline:0}.v3-collapse-item__arrow{margin:0 8px 0 auto;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;font-weight:300}.v3-collapse-item__arrow.is-active{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.v3-collapse-item__header.focusing:focus:not(:hover){color:#409eff}.v3-collapse-item__header.is-active{border-bottom-color:transparent}.v3-collapse-item__wrap{will-change:height;background-color:#fff;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #ebeef5}.v3-collapse-item__content{padding-bottom:25px;font-size:13px;color:#303133;line-height:1.76923077}.v3-collapse-item:last-child{margin-bottom:-1px}html,body,ul,li,dl,dt,dd,h1,h2,h3,h4,h5,p,pre,code,input,textarea,div{padding:0;margin:0;font-size:inherit;font-family:"JetBrains Mono",Menlo,consolas,"Microsoft YaHei","PingFangSC-Regular","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","WenQuanYi Micro Hei",sans-serif}img{border:0;max-width:100%}:focus{outline:0}html,body{font-size:14px;width:100%;height:100%;color:#333;background:#e2e7ef}.w{position:relative;width:1180px;margin:0 auto}input:-webkit-autofill,select:-webkit-autofill,textarea:-webkit-autofill{box-shadow:0 0 0 1000px #fff inset!important}input::-webkit-input-placeholder,select::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#ccc;font-size:14px}table{border-collapse:collapse}a{color:inherit;text-decoration:none}li{list-style:none}em{font-style:normal}.clear{clear:both}.clearfix{clear:both}.clearfix:before,.clearfix:after{content:" ";display:block}.clearfix:after{clear:both}.fl{float:left}.fr{float:right}.row{display:flex}.row>*{flex-shrink:0}.row.center{align-items:center;justify-content:center}.column{display:flex!important;flex-direction:column}.column>*{flex-shrink:0}.flex-wrap{flex-wrap:wrap}.align-center{align-items:center}.align-top{align-items:flex-start}.align-end{align-items:flex-end}.justify-center{justify-content:center}.justify-top{justify-content:flex-start}.justify-between{justify-content:space-between}.justify-end{justify-content:flex-end}.col-1{flex:1}.col-2{flex:2}.col-3{flex:3}.col-4{flex:4}.col-5{flex:5}.col-6{flex:6}.col-7{flex:7}.col-8{flex:8}.col-9{flex:9}.col-10{flex:10}.col-11{flex:11}.col-12{flex:12}.col-13{flex:13}.col-14{flex:14}.col-15{flex:15}.col-16{flex:16}.col-17{flex:17}.col-18{flex:18}.col-19{flex:19}.col-20{flex:20}.col-21{flex:21}.col-22{flex:22}.col-23{flex:23}.col-24{flex:24}.mask{position:fixed;top:0;left:0;right:0;bottom:0;z-index:100;display:flex;justify-content:center;align-items:center}.iconfont{font-size:inherit;-webkit-text-stroke-width:0}.link{cursor:pointer}html,body{background:#2c3e50}#app{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#fff;height:100%}#app #nav{padding:30px;position:fixed;z-index:99;bottom:10px;left:10px}#app #nav a{font-weight:bold;color:#fff}#app #nav a.router-link-exact-active{color:#42b983}#project{display:flex;flex-direction:column;height:100%}#project .head{height:110px;padding:0 20px;background:#3a5169;text-align:center}#project .head .title{display:flex;line-height:66px}#project .head .title .left{width:120px;text-align:left}#project .head .title .right{width:120px;text-align:right}#project .head .title h1{flex:1;color:#fff;font:300 24px/66px "JetBrains Mono"}#project .head .menu a{font-size:16px;line-height:42px;display:inline-block;padding:0 20px;color:#fff;border-bottom:2px solid #3a5169}#project .head .menu a.router-link-active,#project .head .menu a:hover,#project .head .menu a:active{background:#4e6e8e;border-color:#4e6e8e}#project .head .menu a.router-link-active{color:#c486fb;border-color:#c486fb}#project .routerView{flex:1}\n',document.head.appendChild(p),System.register(["./vendor/vue_3.2.20.js-legacy.970f989e.js","./vendor/element-plus_1.1.0-beta.24.js-legacy.5f097f17.js","./vendor/axios_0.23.0.js-legacy.bd5db4ba.js","./vendor/qs_6.10.1.js-legacy.feb3bc57.js","./vendor/js-cool_2.2.4.js-legacy.88cbe770.js","./vendor/uuid_8.3.2.js-legacy.5043e95d.js","./vendor/dayjs_1.10.7.js-legacy.7e603b83.js","./vendor/xterm_4.14.1.js-legacy.5fd74716.js","./vendor/xterm-style_1.1.0.js-legacy.f8f2efde.js","./vendor/xterm-addon-fit_0.5.0.js-legacy.d755db6d.js","./vendor/xterm-addon-search_0.8.1.js-legacy.00f4c2d2.js","./vendor/xterm-addon-web-links_0.4.0.js-legacy.15c01a6a.js","./vendor/vue-router_4.0.12.js-legacy.2603dab0.js","./vendor/vuex_4.0.2.js-legacy.75517dae.js","./vendor/lodash_4.17.21.js-legacy.5cf8202e.js","./vendor/async-validator_4.0.7.js-legacy.4db26d33.js","./vendor/resize-observer-polyfill_1.5.1.js-legacy.5f429f05.js","./vendor/side-channel_1.0.4.js-legacy.61ee83c5.js","./vendor/get-intrinsic_1.1.1.js-legacy.cbed8f1c.js","./vendor/has-symbols_1.0.2.js-legacy.b04662aa.js","./vendor/function-bind_1.1.1.js-legacy.dd0fb47d.js","./vendor/has_1.0.3.js-legacy.f30f7bcd.js","./vendor/call-bind_1.0.2.js-legacy.2b18bb76.js","./vendor/object-inspect_1.11.0.js-legacy.ece5ec31.js","./vendor/core-js_3.18.3.js-legacy.1bc24544.js"],(function(n,o){"use strict";var i,u,f,p,h,d,v,m,y,b,g,x,k,w,_,j,S,C,z,O,A,E,B,N,T,R,P,I,H,L,M,q,D,F,$,W,V,Y,U,K,J,X,G,Q,Z,ee,te,ne,oe,ie,re,ae,se,ce,le,ue,fe,pe,he,de,ve,me,ye,be,ge,xe,ke,we,_e,je,Se,Ce;return{setters:[function(e){i=e.m,u=e.p,f=e._,p=e.c,h=e.u,d=e.r,v=e.w,m=e.af,y=e.n,b=e.U,g=e.ae,x=e.R,k=e.x,w=e.M,_=e.O,j=e.B,S=e.y,C=e.z,z=e.I,O=e.E,A=e.F,E=e.a3,B=e.H,N=e.A,T=e.T,R=e.ag,P=e.ah,I=e.d,H=e.X,L=e.K,M=e.j,q=e.a6,D=e.P,F=e.Q,$=e.G,W=e.g,V=e.q,Y=e.Z,U=e.ai},function(e){K=e.E,J=e.a,X=e.b,G=e.c,Q=e.d,Z=e.e,ee=e.f,te=e.g,ne=e.h,oe=e.i,ie=e.j,re=e.k,ae=e.l,se=e.m,ce=e.n},function(e){le=e.a},function(e){ue=e.l},function(e){fe=e.a,pe=e.f,he=e.r,de=e.d,ve=e.e,me=e.n},function(e){ye=e.v},function(e){be=e.d},function(e){e.c,ge=e.x},function(e){xe=e.c},function(e){ke=e.x},function(e){we=e.x},function(e){_e=e.x},function(e){je=e.c,Se=e.a},function(e){Ce=e.c},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){n("u",He);function ze(e){return new Promise((function(t,n){var o=le.create();o.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",o.defaults.headers.common["Access-Control-Allow-Origin"]="*",o.interceptors.request.use((function(t){var n=e.type;return t.data=Object.assign({},{_time:Date.now()},t.data),"post"==n?(t.method="post",t.data=ue.stringify(t.data,{arrayFormat:"indices",allowDots:!0})):(t.method="get",t.params=t.data),t}),(function(e){return Promise.reject(e)})),o.interceptors.response.use((function(t){return t.data.success||"text"===e.responseType?t.data:Promise.reject(t.data)}),(function(e){return Promise.reject(e)})),o(e).then((function(e){t(e)})).catch((function(e){e instanceof Error&&console.log(e)}))}))}function Oe(e){return!!i()&&(u(e),!0)}var Ae="undefined"!=typeof window,Ee=function(e){return"string"==typeof e},Be=function(){},Ne=Ae?window:void 0;function Te(){for(var e,t,n,o,i=arguments.length,r=new Array(i),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},t=e.reactive,n=void 0!==t&&t,o=e.target,i=void 0===o?Ne:o,r=e.aliasMap,a=void 0===r?Ie:r,s=e.passive,c=void 0===s||s,l=e.onEventFired,u=void 0===l?Be:l,v=f(new Set),m={toJSON:function(){return{}},current:v},y=n?f(m):m;function b(e,t){var o=e.key.toLowerCase(),i=[e.code.toLowerCase(),o];t?v.add(e.code):v.delete(e.code);for(var r=0,a=i;r320?window.innerWidth-20:300),r=pe(window.innerHeight>300+t?window.innerHeight-t-60+n:240+n),a=parseInt(e.maxHeight||e.height||r||480),s=parseInt(e.maxWidth||e.width||i||600);o.maxW=Math.min(s,i)+"px",o.maxH=Math.min(a,r)+"px",o.max&&(o.mWidth=i+"px",o.mHeight=r+"px")},v=function(){e.onOk&&"function"==typeof e.onOk?e.onOk(o.instance).then((function(){e.hide()})):x()},x=function(){he(window,"resize",o.reSize),o.instance=null,g(null,r.value),e.hide()};return o.max=h(e.defaultMax),o.maxH=h(e.maxHeight),o.maxW=h(e.maxWidth)||h(e.width),u(),y((function(){o.instance=b(e.component),o.instance.props=h(e.options),g(o.instance,r.value),o.isAppendContent=!0,fe(window,"resize",l),e.showBtn&&e.showOkBtn?a.value.focus():i.value.focus()})),{v3Box:i,boxContent:r,mainBtn:a,data:o,btns:s,handleOk:v,handleCancel:function(){x(),e.onCancel&&"function"==typeof e.onCancel&&e.onCancel()},handleClose:function(){x(),e.onClose&&"function"==typeof e.onClose&&e.onClose()},handleMax:function(){var t=110-(e.showBtn?0:60)-(e.showHeader?0:50),n=e.showHeader?0:40,i=pe(window.innerWidth>320?window.innerWidth-20:300),r=pe(window.innerHeight>300+t?window.innerHeight-t-60+n:240+n);o.max?(o.max=!1,o.mWidth=null,o.mHeight=null):(o.max=!0,o.mWidth=i+"px",o.mHeight=r+"px")}}}},qe=["innerHTML"],De=["innerHTML"],Fe={key:3,class:"v3-box-footer"},$e={class:"v3-box-ico"},We=function(e){return R("data-v-703a9198"),e=e(),P(),e}((function(){return j("div",{class:"v3-box-filter"},null,-1)}));var Ve=Le(Me,[["render",function(e,t,n,o,i,r){var a=x("el-button");return k(),w(T,{name:"fade"},{default:_((function(){return[j("div",{ref:"v3Box",class:O(["v3-box",{"one-btn":1===o.btns,"two-btn":2===o.btns,"no-btn":0===o.btns}]),style:z({width:o.data.mWidth||n.width,maxWidth:o.data.max?"":o.data.maxW})},[n.showHeader?(k(),S("div",{key:0,class:"v3-box-header",innerHTML:n.title},null,8,qe)):C("",!0),n.message&&!n.component?(k(),S("div",{key:1,ref:"boxContent",class:"v3-box-content message",innerHTML:n.message,style:z({height:o.data.mHeight||n.height,maxHeight:o.data.max?"":o.data.maxH,minHeight:o.data.mHeight})},null,12,De)):C("",!0),n.component&&!n.message?(k(),S("div",{key:2,ref:"boxContent",class:O(["v3-box-content",{"no-header":!n.showHeader}]),style:z({height:o.data.mHeight||n.height,maxHeight:o.data.max?"":o.data.maxH,minHeight:o.data.mHeight})},null,6)):C("",!0),n.showBtn?(k(),S("div",Fe,[e.$slots.footer?C("",!0):(k(),S(A,{key:0},[n.showOkBtn?(k(),w(a,{key:0,ref:"mainBtn",type:"primary",class:"btn-main",autofocus:"",onClick:o.handleOk},{default:_((function(){return[E(B(n.okBtnName),1)]})),_:1},8,["onClick"])):C("",!0),n.showCancelBtn?(k(),w(a,{key:1,onClick:o.handleCancel},{default:_((function(){return[E(B(n.cancelBtnName),1)]})),_:1},8,["onClick"])):C("",!0)],64)),e.$slots.footer?N(e.$slots,"footer",{key:1},void 0,!0):C("",!0)])):C("",!0),j("div",$e,[We,n.showMax&&o.data.max?(k(),S("span",{key:0,class:"v3-box-max iconfont icon-tuichuquanping",title:"恢复默认",onClick:t[0]||(t[0]=function(){return o.handleMax&&o.handleMax.apply(o,arguments)})})):C("",!0),n.showMax&&!o.data.max?(k(),S("span",{key:1,class:"v3-box-max iconfont icon-quanping",title:"最大化",onClick:t[1]||(t[1]=function(){return o.handleMax&&o.handleMax.apply(o,arguments)})})):C("",!0),n.showClose?(k(),S("span",{key:2,class:"v3-box-close iconfont icon-close",title:"关闭",onClick:t[2]||(t[2]=function(){return o.handleClose&&o.handleClose.apply(o,arguments)})})):C("",!0)])],6)]})),_:3})}],["__scopeId","data-v-703a9198"]]),Ye={opacity:.4,title:"提示",width:"640px",height:"360px",message:null,okBtnName:"确定",cancelBtnName:"取消",defaultMax:!1,showOkBtn:!0,showCancelBtn:!0,showClose:!0,showHeader:!0,showBtn:!0,showMax:!0,options:{}},Ue=function(){function e(t,n,o){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,"$el",void 0),s(this,"instance",void 0),o=ve(!0,{},Ye,o),this.$el=document.createElement("div"),this.$el.className="mask",this.$el.style.zIndex=String(me(1e3,2e4)),this.$el.style.background="rgba(0, 0, 0, "+o.opacity+")",this.$el.id=ye(),this.instance=b(Ve),this.instance.props=r(r({},o),{},{component:n,hide:function(){i.hide()}}),document.body.appendChild(this.$el),this.show()}var t,n,o;return t=e,(n=[{key:"show",value:function(){g(this.instance,this.$el)}},{key:"hide",value:function(){g(null,this.$el),document.body.removeChild(this.$el),this.$el=null,this.instance=null,delete this.$el,delete this.instance}}])&&a(t.prototype,n),o&&a(t,o),e}();var Ke={"v3-split-box":"_v3-split-box_1fvmh_1","v3-split-bar":"_v3-split-bar_1fvmh_11","v3-split-panel":"_v3-split-panel_1fvmh_23","v3-split-panel-2":"_v3-split-panel-2_1fvmh_27",horizontal:"_horizontal_1fvmh_30",vertical:"_vertical_1fvmh_44"},Je={name:"v3Split",props:{mode:{type:String,default:"horizontal",validator:function(e){return["horizontal","vertical"].indexOf(e)>-1}},modelValue:{type:[Number,String],default:"50%",validator:function(e){return/^([0-9]+)(%|px)?$/.test(e)}},min:{type:[Number,String],default:0},max:{type:[Number,String],default:"100%"}},setup:function(e,t){var n=this,o=t.slots,i=t.emit,r=new de,a=f({size:50,suffix:"%",pos:{},boxSize:0,moving:!1}),c=d(null),l=p((function(){return Math.round(a.size/100*a.boxSize)})),u=p((function(){var t=0+a.size;return"horizontal"===e.mode?o.right?o.left||(t=0):t=100:o.bottom?n.$slots.top||(t=0):t=100,s({},"horizontal"===e.mode?"width":"height",t+"%")}));v((function(){return e.modelValue}),(function(e){e&&("%"===a.suffix?a.size=pe(parseFloat(e),2):a.boxSize>0&&(a.size=pe(100*parseFloat(e)/a.boxSize,2)))})),v((function(){return a.size}),(function(t){var n=("%"!==a.suffix?l:t)+a.suffix;n!=e.modelValue&&0!==l&&i("input",n)}));var h=function(e){var t=(e.style.WebkitTransform||getComputedStyle(e,"").getPropertyValue("-webkit-transform")||e.style.transform||getComputedStyle(e,"").getPropertyValue("transform")).match(/\-?[0-9]+\.?[0-9]*/g);return t?{x:parseInt(t[12]||t[4]||0),y:parseInt(t[13]||t[5]||0)}:{x:0,y:0}},m=function(t){return String(e.min).indexOf("%")>1?t=Math.max(t,parseInt(e.min)):a.boxSize>0&&(t=Math.max(t,pe(100*parseInt(e.min)/a.boxSize,2))),String(e.max).indexOf("%")>1?t=Math.min(t,parseInt(e.max)):a.boxSize>0&&(t=Math.min(t,pe(100*parseInt(e.max)/a.boxSize,2))),t},y=function(e){for(var t=0,n=0,o=0,i=0;e.offsetParent;){var r=h(e);t+=e.offsetLeft+r.x,n+=e.offsetTop+r.y,e=e.offsetParent}for(;e.parentNode;)o+=e.scrollLeft,i+=e.scrollTop,e=e.parentNode;return{x:t,y:n,left:o,top:i}},b=function(t){var n=t.target;for(a.boxSize=parseInt("horizontal"===e.mode?c.value.clientWidth:c.value.clientHeight);n.parentNode;){if(n.parentNode.className.indexOf(Ke.v3SplitBox)>-1){a.pos=y(n.parentNode);break}n=n.parentNode}t.preventDefault(),t.stopPropagation(),i("move-start"),fe(document,"mousemove",g),fe(document,"mouseup",x)},g=function(t){a.moving=!0,i("moving",t),r.register("v3SplitOnmouseMove",(function(){var n;n="horizontal"===e.mode?t.pageX+a.pos.left-a.pos.x:t.pageY+a.pos.top-a.pos.y,a.size=m(pe(100*n/a.boxSize,2))}),50,!0),t.preventDefault()},x=function e(){a.moving=!1,i("move-end"),he(document,"mousemove",g),he(document,"mouseup",e)};return String(e.modelValue).replace(/^([0-9]+)(%|px)?$/,(function(e,t,n){"%"===n&&(a.size=m(parseInt(t))),a.suffix=n||""})),I((function(){a.boxSize=parseInt("horizontal"===e.mode?c.value.clientWidth:c.value.clientHeight),"%"!==a.suffix&&(a.size=m(pe(100*parseInt(e.modelValue)/a.boxSize,2)))})),function(){return H("div",{class:[Ke.v3SplitBox,Ke[e.mode],a.moving?" moving":""],ref:c},o.default?o.default():[H("div",{class:[Ke.v3SplitPanel,Ke.v3SplitPanel1],style:u.value},"horizontal"===e.mode?o.left():o.top()),("horizontal"===e.mode&&o.left&&o.right||"vertical"===e.mode&&o.top&&o.bottom)&&H("div",{class:Ke.v3SplitBar,onMousedown:b},[H("span"),H("span"),H("span"),H("span")]),H("div",{class:[Ke.v3SplitPanel,Ke.v3SplitPanel2]},"horizontal"===e.mode?o.right():o.bottom())])}}},Xe={name:"v3Button",inheritAttrs:!1,props:{icon:String,disabled:Boolean,nativeType:String,plain:Boolean,type:{type:String,default:"default",validator:function(e){return["default","danger","primary"].indexOf(e)>-1}},size:{type:String,default:"normal",validator:function(e){return["mini","small","normal","large"].indexOf(e)>-1}}},setup:function(e,t){var n=t.slots,o=t.emit,i=function(e){o("click",e)};return function(){return[H("button",{type:e.nativeType,class:["v3-button","v3-button--"+e.size,"v3-button--"+e.type,{"is-disabled":e.disabled,"is-plain":e.plain}],onClick:i,disabled:e.disabled},[n.icon?[H("span",{class:["v3-button-icon"]},n.icon())," "]:e.icon&&[H("span",{class:["v3-button-icon"]},H("i",{class:["iconfont","icon-"+e.icon]}))," "]||null,H("label",{class:["v3-button-text"]},n.default())])]}}};var Ge=Le({name:"v3Collapse",componentName:"v3Collapse",props:{accordion:Boolean,modelValue:{type:[Array,String,Number],default:function(){return[]}}},setup:function(e,t){t.slots;var n=t.emit,o=d([]);o.value=[].concat(e.modelValue),v((function(){return e.modelValue}),(function(e){console.log("collapse value change",e)}));var i=function(t){t=[].concat(t);var i=e.accordion?t[0]:t;o.value=t,n("update:modelValue",i)},r=function(t){if(e.accordion)i(!o.value[0]&&0!==o.value[0]||o.value[0]!==t.name?t.name:"");else{var n=o.value.slice(0),r=n.indexOf(t.name);r>-1?n.splice(r,1):n.push(t.name),i(n)}};return L("collapse",{activeNames:o,handleItemClick:r}),{activeNames:o,setActiveNames:i,handleItemClick:r}}},[["render",function(e,t,n,o,i,r){return k(),S("div",{class:"v3-collapse",role:"tablist","aria-multiselectable":"true",onItemClick:t[0]||(t[0]=function(){return o.handleItemClick&&o.handleItemClick.apply(o,arguments)})},[N(e.$slots,"default")],32)}]]);function Qe(e,t,n){this.$children.forEach((function(o){o.$options.componentName===e?o.$emit.apply(o,[t].concat(n)):Qe.apply(o,[e,t].concat([n]))}))}function Ze(e){return{dispatch:function(t,n,o){for(var i=e.$parent||e.$root,r=i.$options.componentName;i&&(!r||r!==t);)(i=i.$parent)&&(r=i.$options.componentName);i&&i.$emit.apply(i,[n].concat(o))},broadcast:function(t,n,o){Qe.call(e,t,n,o)}}}var et={name:"v3CollapseItem",componentName:"v3CollapseItem",props:{title:String,name:{type:[String,Number],default:function(){return this._uid}},disabled:Boolean},setup:function(e,t){t.slots,t.emit,t.attrs;var n=W(),o=n.proxy,i=(n.appContext,Ze(o).dispatch),r=M("collapse"),a=r.activeNames,s=r.handleItemClick,c=f({height:"auto",display:"block"}),l=d(0),u=d(!1),h=d(!1),v=d(Math.floor(1e4*Math.random())),m=p((function(){return a.value.indexOf(e.name)>-1}));return{contentWrapStyle:c,contentHeight:l,focusing:u,isClick:h,id:v,isActive:m,handleFocus:function(){setTimeout((function(){h.value?h.value=!1:u.value=!0}),50)},handleHeaderClick:function(){e.disabled||(i("v3Collapse","item-click",o),s&&s(o),u.value=!1,h.value=!0)},handleEnterClick:function(){i("v3Collapse","item-click",o)}}}},tt=["aria-expanded","aria-controls","aria-describedby"],nt=["id","tabindex"],ot=["aria-hidden","aria-labelledby","id"],it={class:"v3-collapse-item__content"};var rt=Le(et,[["render",function(e,t,n,o,i,r){return k(),S("div",{class:O(["v3-collapse-item",{"is-active":o.isActive,"is-disabled":n.disabled}])},[j("div",{role:"tab","aria-expanded":o.isActive,"aria-controls":"v3-collapse-content-".concat(o.id),"aria-describedby":"v3-collapse-content-".concat(o.id)},[j("div",{class:O(["v3-collapse-item__header",{focusing:o.focusing,"is-active":o.isActive}]),onClick:t[0]||(t[0]=function(){return o.handleHeaderClick&&o.handleHeaderClick.apply(o,arguments)}),role:"button",id:"v3-collapse-head-".concat(o.id),tabindex:n.disabled?void 0:0,onKeyup:t[1]||(t[1]=q($((function(){return o.handleEnterClick&&o.handleEnterClick.apply(o,arguments)}),["stop"]),["space","enter"])),onFocus:t[2]||(t[2]=function(){return o.handleFocus&&o.handleFocus.apply(o,arguments)}),onBlur:t[3]||(t[3]=function(e){return o.focusing=!1})},[N(e.$slots,"title",{},(function(){return[E(B(n.title),1)]})),j("span",{class:O(["v3-collapse-item__arrow iconfont icon-right",{"is-active":o.isActive}])},null,2)],42,nt)],8,tt),D(j("div",{class:"v3-collapse-item__wrap",role:"tabpanel","aria-hidden":!o.isActive,"aria-labelledby":"v3-collapse-head-".concat(o.id),id:"v3-collapse-content-".concat(o.id)},[j("div",it,[N(e.$slots,"default")])],8,ot),[[F,o.isActive]])],2)}]]),at={install:function(e){e.component(Je.name,Je),e.component(Xe.name,Xe),e.component(Ge.name,Ge),e.component(rt.name,rt),e.component(Ve.name,Ve)},v3Split:Je,v3Button:Xe,v3Collapse:Ge,v3CollapseItem:rt},st={exports:{}}; -/*! - * Socket.IO v4.3.2 - * (c) 2014-2021 Guillermo Rauch - * Released under the MIT License. - */ -!function(t,n){t.exports=function(){function t(e){return t="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},t(e)}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}var b=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,g=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],x=function(e){var t=e,n=e.indexOf("["),o=e.indexOf("]");-1!=n&&-1!=o&&(e=e.substring(0,n)+e.substring(n,o).replace(/:/g,";")+e.substring(o,e.length));for(var i=b.exec(e||""),r={},a=14;a--;)r[g[a]]=i[a]||"";return-1!=n&&-1!=o&&(r.source=t,r.host=r.host.substring(1,r.host.length-1).replace(/;/g,":"),r.authority=r.authority.replace("[","").replace("]","").replace(/;/g,":"),r.ipv6uri=!0),r.pathNames=k(r,r.path),r.queryKey=w(r,r.query),r};function k(e,t){var n=/\/{2,9}/g,o=t.replace(n,"/").split("/");return"/"!=t.substr(0,1)&&0!==t.length||o.splice(0,1),"/"==t.substr(t.length-1,1)&&o.splice(o.length-1,1),o}function w(e,t){var n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,o){t&&(n[t]=o)})),n}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,o=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),o=x(e)),o.port||(/^(http|ws)$/.test(o.protocol)?o.port="80":/^(http|ws)s$/.test(o.protocol)&&(o.port="443")),o.path=o.path||"/";var i=-1!==o.host.indexOf(":")?"["+o.host+"]":o.host;return o.id=o.protocol+"://"+i+":"+o.port+t,o.href=o.protocol+"://"+i+(n&&n.port===o.port?"":":"+o.port),o}var j={exports:{}};try{j.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(et){j.exports=!1}var S=j.exports,C="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function z(e){var t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||S))return new XMLHttpRequest}catch(n){}if(!t)try{return new(C[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(n){}}function O(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o>4,u[c++]=(15&o)<<4|i>>2,u[c++]=(3&i)<<6|63&r;return l},K="function"==typeof ArrayBuffer,J=function(e,t){if("string"!=typeof e)return{type:"message",data:G(e,t)};var n=e.charAt(0);return"b"===n?{type:"message",data:X(e.substring(1),t)}:I[n]?e.length>1?{type:I[n],data:e.substring(1)}:{type:I[n]}:H},X=function(e,t){if(K){var n=U(e);return G(n,t)}return{base64:!0,data:e}},G=function(e,t){return"blob"===t&&e instanceof ArrayBuffer?new Blob([e]):e},Q=String.fromCharCode(30),Z=function(e,t){var n=e.length,o=new Array(n),i=0;e.forEach((function(e,r){D(e,!1,(function(e){o[r]=e,++i===n&&t(o.join(Q))}))}))},ee=function(e,t){for(var n=e.split(Q),o=[],i=0;i0);return t}function le(e){var t=0;for(se=0;se0&&void 0!==arguments[0]?arguments[0]:{};return r(e,{xd:this.xd,xs:this.xs},this.opts),new ye(this.uri(),e)}},{key:"doWrite",value:function(e,t){var n=this,o=this.request({method:"POST",data:e});o.on("success",t),o.on("error",(function(e){n.onError("xhr post error",e)}))}},{key:"doPoll",value:function(){var e=this,t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(function(t){e.onError("xhr poll error",t)})),this.pollXhr=t}}]),o}(he),ye=function(e){a(o,e);var t=p(o);function o(e,i){var r;return n(this,o),B(u(r=t.call(this)),i),r.opts=i,r.method=i.method||"GET",r.uri=e,r.async=!1!==i.async,r.data=void 0!==i.data?i.data:null,r.create(),r}return i(o,[{key:"create",value:function(){var e=this,t=O(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;var n=this.xhr=new z(t);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders)for(var i in n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0),this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(i)&&n.setRequestHeader(i,this.opts.extraHeaders[i])}catch(r){}if("POST"===this.method)try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(r){}try{n.setRequestHeader("Accept","*/*")}catch(r){}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=function(){4===n.readyState&&(200===n.status||1223===n.status?e.onLoad():e.setTimeoutFn((function(){e.onError("number"==typeof n.status?n.status:0)}),0))},n.send(this.data)}catch(r){return void this.setTimeoutFn((function(){e.onError(r)}),0)}"undefined"!=typeof document&&(this.index=o.requestsCount++,o.requests[this.index]=this)}},{key:"onSuccess",value:function(){this.emit("success"),this.cleanup()}},{key:"onData",value:function(e){this.emit("data",e),this.onSuccess()}},{key:"onError",value:function(e){this.emit("error",e),this.cleanup(!0)}},{key:"cleanup",value:function(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=de,e)try{this.xhr.abort()}catch(t){}"undefined"!=typeof document&&delete o.requests[this.index],this.xhr=null}}},{key:"onLoad",value:function(){var e=this.xhr.responseText;null!==e&&this.onData(e)}},{key:"abort",value:function(){this.cleanup()}}]),o}(N);function be(){for(var e in ye.requests)ye.requests.hasOwnProperty(e)&&ye.requests[e].abort()}ye.requestsCount=0,ye.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",be):"function"==typeof addEventListener&&addEventListener("onpagehide"in C?"pagehide":"unload",be,!1));var ge="function"==typeof Promise&&"function"==typeof Promise.resolve?function(e){return Promise.resolve().then(e)}:function(e,t){return t(e,0)},xe=C.WebSocket||C.MozWebSocket,ke=!0,we="arraybuffer",_e="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),je=function(e){a(o,e);var t=p(o);function o(e){var i;return n(this,o),(i=t.call(this,e)).supportsBinary=!e.forceBase64,i}return i(o,[{key:"name",get:function(){return"websocket"}},{key:"doOpen",value:function(){if(this.check()){var e=this.uri(),t=this.opts.protocols,n=_e?{}:O(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=ke&&!_e?t?new xe(e,t):new xe(e):new xe(e,t,n)}catch(et){return this.emit("error",et)}this.ws.binaryType=this.socket.binaryType||we,this.addEventListeners()}}},{key:"addEventListeners",value:function(){var e=this;this.ws.onopen=function(){e.opts.autoUnref&&e.ws._socket.unref(),e.onOpen()},this.ws.onclose=this.onClose.bind(this),this.ws.onmessage=function(t){return e.onData(t.data)},this.ws.onerror=function(t){return e.onError("websocket error",t)}}},{key:"write",value:function(e){var t=this;this.writable=!1;for(var n=function(n){var o=e[n],i=n===e.length-1;D(o,t.supportsBinary,(function(e){try{ke&&t.ws.send(e)}catch(n){}i&&ge((function(){t.writable=!0,t.emit("drain")}),t.setTimeoutFn)}))},o=0;o1&&void 0!==arguments[1]?arguments[1]:{};return n(this,s),i=o.call(this),e&&"object"===t(e)&&(a=e,e=null),e?(e=x(e),a.hostname=e.host,a.secure="https"===e.protocol||"wss"===e.protocol,a.port=e.port,e.query&&(a.query=e.query)):a.host&&(a.hostname=x(a.host).host),B(u(i),a),i.secure=null!=a.secure?a.secure:"undefined"!=typeof location&&"https:"===location.protocol,a.hostname&&!a.port&&(a.port=i.secure?"443":"80"),i.hostname=a.hostname||("undefined"!=typeof location?location.hostname:"localhost"),i.port=a.port||("undefined"!=typeof location&&location.port?location.port:i.secure?"443":"80"),i.transports=a.transports||["polling","websocket"],i.readyState="",i.writeBuffer=[],i.prevBufferLen=0,i.opts=r({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},a),i.opts.path=i.opts.path.replace(/\/$/,"")+"/","string"==typeof i.opts.query&&(i.opts.query=pe.decode(i.opts.query)),i.id=null,i.upgrades=null,i.pingInterval=null,i.pingTimeout=null,i.pingTimeoutTimer=null,"function"==typeof addEventListener&&(i.opts.closeOnBeforeunload&&addEventListener("beforeunload",(function(){i.transport&&(i.transport.removeAllListeners(),i.transport.close())}),!1),"localhost"!==i.hostname&&(i.offlineEventListener=function(){i.onClose("transport close")},addEventListener("offline",i.offlineEventListener,!1))),i.open(),i}return i(s,[{key:"createTransport",value:function(e){var t=ze(this.opts.query);t.EIO=te,t.transport=e,this.id&&(t.sid=this.id);var n=r({},this.opts.transportOptions[e],this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new Se[e](n)}},{key:"open",value:function(){var e,t=this;if(this.opts.rememberUpgrade&&s.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((function(){t.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(n){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}},{key:"setTransport",value:function(e){var t=this;this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(function(){t.onClose("transport close")}))}},{key:"probe",value:function(e){var t=this,n=this.createTransport(e),o=!1;s.priorWebsocketSuccess=!1;var i=function(){o||(n.send([{type:"ping",data:"probe"}]),n.once("packet",(function(e){if(!o)if("pong"===e.type&&"probe"===e.data){if(t.upgrading=!0,t.emitReserved("upgrading",n),!n)return;s.priorWebsocketSuccess="websocket"===n.name,t.transport.pause((function(){o||"closed"!==t.readyState&&(f(),t.setTransport(n),n.send([{type:"upgrade"}]),t.emitReserved("upgrade",n),n=null,t.upgrading=!1,t.flush())}))}else{var i=new Error("probe error");i.transport=n.name,t.emitReserved("upgradeError",i)}})))};function r(){o||(o=!0,f(),n.close(),n=null)}var a=function(e){var o=new Error("probe error: "+e);o.transport=n.name,r(),t.emitReserved("upgradeError",o)};function c(){a("transport closed")}function l(){a("socket closed")}function u(e){n&&e.name!==n.name&&r()}var f=function(){n.removeListener("open",i),n.removeListener("error",a),n.removeListener("close",c),t.off("close",l),t.off("upgrading",u)};n.once("open",i),n.once("error",a),n.once("close",c),this.once("close",l),this.once("upgrading",u),n.open()}},{key:"onOpen",value:function(){if(this.readyState="open",s.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause)for(var e=0,t=this.upgrades.length;e0;case Me.ACK:case Me.BINARY_ACK:return Array.isArray(n)}}}]),r}(N);function $e(e){try{return JSON.parse(e)}catch(t){return!1}}var We=function(){function e(t){n(this,e),this.packet=t,this.buffers=[],this.reconPack=t}return i(e,[{key:"takeBinaryData",value:function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=He(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}},{key:"finishedReconstruction",value:function(){this.reconPack=null,this.buffers=[]}}]),e}(),Ve=Object.freeze({__proto__:null,protocol:qe,get PacketType(){return Me},Encoder:De,Decoder:Fe});function Ye(e,t,n){return e.on(t,n),function(){e.off(t,n)}}var Ue=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),Ke=function(e){a(o,e);var t=p(o);function o(e,i,r){var a;return n(this,o),(a=t.call(this)).connected=!1,a.disconnected=!0,a.receiveBuffer=[],a.sendBuffer=[],a.ids=0,a.acks={},a.flags={},a.io=e,a.nsp=i,r&&r.auth&&(a.auth=r.auth),a.io._autoConnect&&a.open(),a}return i(o,[{key:"subEvents",value:function(){if(!this.subs){var e=this.io;this.subs=[Ye(e,"open",this.onopen.bind(this)),Ye(e,"packet",this.onpacket.bind(this)),Ye(e,"error",this.onerror.bind(this)),Ye(e,"close",this.onclose.bind(this))]}}},{key:"active",get:function(){return!!this.subs}},{key:"connect",value:function(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}},{key:"open",value:function(){return this.connect()}},{key:"send",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),o=1;o0&&e.jitter<=1?e.jitter:0,this.attempts=0}Xe.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},Xe.prototype.reset=function(){this.attempts=0},Xe.prototype.setMin=function(e){this.ms=e},Xe.prototype.setMax=function(e){this.max=e},Xe.prototype.setJitter=function(e){this.jitter=e};var Ge=function(e){a(r,e);var o=p(r);function r(e,i){var a,s;n(this,r),(a=o.call(this)).nsps={},a.subs=[],e&&"object"===t(e)&&(i=e,e=void 0),(i=i||{}).path=i.path||"/socket.io",a.opts=i,B(u(a),i),a.reconnection(!1!==i.reconnection),a.reconnectionAttempts(i.reconnectionAttempts||1/0),a.reconnectionDelay(i.reconnectionDelay||1e3),a.reconnectionDelayMax(i.reconnectionDelayMax||5e3),a.randomizationFactor(null!==(s=i.randomizationFactor)&&void 0!==s?s:.5),a.backoff=new Je({min:a.reconnectionDelay(),max:a.reconnectionDelayMax(),jitter:a.randomizationFactor()}),a.timeout(null==i.timeout?2e4:i.timeout),a._readyState="closed",a.uri=e;var c=i.parser||Ve;return a.encoder=new c.Encoder,a.decoder=new c.Decoder,a._autoConnect=!1!==i.autoConnect,a._autoConnect&&a.open(),a}return i(r,[{key:"reconnection",value:function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}},{key:"reconnectionAttempts",value:function(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}},{key:"reconnectionDelay",value:function(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}},{key:"randomizationFactor",value:function(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}},{key:"reconnectionDelayMax",value:function(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}},{key:"timeout",value:function(e){return arguments.length?(this._timeout=e,this):this._timeout}},{key:"maybeReconnectOnOpen",value:function(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}},{key:"open",value:function(e){var t=this;if(~this._readyState.indexOf("open"))return this;this.engine=new Ce(this.uri,this.opts);var n=this.engine,o=this;this._readyState="opening",this.skipReconnect=!1;var i=Ye(n,"open",(function(){o.onopen(),e&&e()})),r=Ye(n,"error",(function(n){o.cleanup(),o._readyState="closed",t.emitReserved("error",n),e?e(n):o.maybeReconnectOnOpen()}));if(!1!==this._timeout){var a=this._timeout;0===a&&i();var s=this.setTimeoutFn((function(){i(),n.close(),n.emit("error",new Error("timeout"))}),a);this.opts.autoUnref&&s.unref(),this.subs.push((function(){clearTimeout(s)}))}return this.subs.push(i),this.subs.push(r),this}},{key:"connect",value:function(e){return this.open(e)}},{key:"onopen",value:function(){this.cleanup(),this._readyState="open",this.emitReserved("open");var e=this.engine;this.subs.push(Ye(e,"ping",this.onping.bind(this)),Ye(e,"data",this.ondata.bind(this)),Ye(e,"error",this.onerror.bind(this)),Ye(e,"close",this.onclose.bind(this)),Ye(this.decoder,"decoded",this.ondecoded.bind(this)))}},{key:"onping",value:function(){this.emitReserved("ping")}},{key:"ondata",value:function(e){this.decoder.add(e)}},{key:"ondecoded",value:function(e){this.emitReserved("packet",e)}},{key:"onerror",value:function(e){this.emitReserved("error",e)}},{key:"socket",value:function(e,t){var n=this.nsps[e];return n||(n=new Ke(this,e,t),this.nsps[e]=n),n}},{key:"_destroy",value:function(e){for(var t=0,n=Object.keys(this.nsps);t=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{var n=this.backoff.duration();this._reconnecting=!0;var o=this.setTimeoutFn((function(){t.skipReconnect||(e.emitReserved("reconnect_attempt",t.backoff.attempts),t.skipReconnect||t.open((function(n){n?(t._reconnecting=!1,t.reconnect(),e.emitReserved("reconnect_error",n)):t.onreconnect()})))}),n);this.opts.autoUnref&&o.unref(),this.subs.push((function(){clearTimeout(o)}))}}},{key:"onreconnect",value:function(){var e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}]),r}(N),Qe={};function Ze(e,n){"object"===t(e)&&(n=e,e=void 0);var o,i=_(e,(n=n||{}).path||"/socket.io"),r=i.source,a=i.id,s=i.path,c=Qe[a]&&s in Qe[a].nsps;return n.forceNew||n["force new connection"]||!1===n.multiplex||c?o=new Ge(r,n):(Qe[a]||(Qe[a]=new Ge(r,n)),o=Qe[a]),i.query&&!n.query&&(n.query=i.queryKey),o.socket(i.path,n)}return r(Ze,{Manager:Ge,Socket:Ke,io:Ze,connect:Ze}),Ze}()}(st);var ct=st.exports,lt=n("T",Symbol("Terminal")),ut=n("S",Symbol("Socket")),ft=V({setup:function(e){var t=location.origin,n=ct("".concat(t,"/terminal"),{reconnection:!0}),o=ct("".concat(t,"/gitmars"),{reconnection:!0}),i=new ke.exports.FitAddon,r=new we.exports.SearchAddon,a=f({});return L(ut,{socket:n,socketGitmars:o}),L(lt,{getTerminal:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:20;return a[e]||(a[e]={term:new ge.exports.Terminal({theme:xe,fontSize:12,fontWeight:300,lineHeight:1.1,fontFamily:'"JetBrains Mono", Menlo, consolas, "Microsoft YaHei", "PingFangSC-Regular", Avenir, Helvetica, Arial, sans-serif',cols:o,rows:s,windowOptions:{setWinSizePixels:!0}}),name:"terminal-"+e,pid:null},a[e].term.loadAddon(new _e.exports.WebLinksAddon),a[e].term.loadAddon(i),a[e].term.loadAddon(r),a[e].term.onData((function(t){n.emit(a[e].name+"-input",t)})),n.on(a[e].name+"-output",(function(t){a[e].term.write(t)})),n.on(a[e].name+"-pid",(function(t){console.info("pid: ",t),a[e].pid=t})),n.emit("create",{name:a[e].name,cwd:t}),window.addEventListener("resize",(function(){a[e].term.fit()}))),a[e]},fitAddon:i}),I((function(){})),function(e,t){var n=x("router-view");return k(),w(Y,{to:"#app",class:"app"},[b(n)])}}}),pt=function(e,t){return e()},ht=[{path:"/",name:"Home",redirect:"/project/list"},{path:"/project",name:"project",component:function(){return pt((function(){return o.import("./index-legacy.d9bfbcad.js")}))},children:[{path:"list",name:"project_list",component:function(){return pt((function(){return o.import("./list-legacy.2f4149ee.js")}))}},{path:"add",name:"project_add",component:function(){return pt((function(){return o.import("./add-legacy.bfe8bc24.js")}))}}]},{path:"/control",name:"control",component:function(){return pt((function(){return o.import("./index-legacy.90861432.js")}))},children:[{path:"gitmars",name:"control_gitmars",component:function(){return pt((function(){return o.import("./gitmars-legacy.cbf92beb.js")}))}},{path:"tasks",name:"control_tasks",component:function(){return pt((function(){return o.import("./tasks-legacy.716e5807.js")}))}}]}],dt=je({history:Se(),routes:ht}),vt=Ce({state:{},mutations:{},actions:{},modules:{}}),mt=U(ft);mt.config.globalProperties.$ELEMENT={size:"small",zIndex:5e3},mt.use(J),mt.use(X),mt.use(G),mt.use(Q),mt.use(Z),mt.use(ee),mt.use(K),mt.use(te),mt.use(ne),mt.use(oe),mt.use(ie),mt.use(re),mt.use(ae),mt.use(se),mt.use(ce),mt.use(vt).use(dt).use(at).use((function(e){e.config.globalProperties.$nextIndex=me.bind(e),e.config.globalProperties.$axios=ze,e.config.globalProperties.$delay=new de,e.config.globalProperties.$box=function(){for(var n=arguments.length,o=new Array(n),i=0;is in r?e(r,s,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[s]=o;import{u as l,b as i}from"./vendor/vue-router_4.0.12.js.944b7609.js";import{_ as d}from"./index.360fde64.js";import{q as c,r as j,am as u,E as m,s as p,v,J as f,A as _,K as b,u as y,O as g,z as x,an as O,ah as q,ai as h}from"./vendor/vue_3.2.23.js.9f5d2e7e.js";import"./vendor/element-plus_1.2.0-beta.3.js.01fd1cfa.js";import"./vendor/lodash_4.17.21.js.c6f7cdcc.js";import"./vendor/xterm_4.15.0.js.3e95bd6a.js";import"./vendor/dayjs_1.10.7.js.c37b32ae.js";import"./vendor/async-validator_4.0.7.js.656181ea.js";import"./vendor/axios_0.24.0.js.52256a15.js";import"./vendor/qs_6.10.1.js.0baad282.js";import"./vendor/side-channel_1.0.4.js.290c0f4d.js";import"./vendor/get-intrinsic_1.1.1.js.d604dad5.js";import"./vendor/has-symbols_1.0.2.js.208f1d3f.js";import"./vendor/function-bind_1.1.1.js.34bf890b.js";import"./vendor/has_1.0.3.js.e7f09f2c.js";import"./vendor/call-bind_1.0.2.js.ad02ab55.js";import"./vendor/object-inspect_1.11.0.js.ad22ecab.js";import"./vendor/js-cool_2.3.0.js.f671836d.js";import"./vendor/core-js_3.19.1.js.10a7a3d5.js";import"./vendor/uuid_8.3.2.js.8656f24a.js";import"./vendor/xterm-style_1.1.0.js.323fb105.js";import"./vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js";import"./vendor/xterm-addon-search_0.8.1.js.d370edfa.js";import"./vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js";import"./vendor/vuex_4.0.2.js.35ef8354.js";const w=e=>(q("data-v-3b5216d9"),e=e(),h(),e),k={class:"control"},P={class:"menu mini"},E=w((()=>f("span",{class:"iconfont icon-codelibrary"},null,-1))),I=w((()=>f("span",null,"gitmars工作流",-1))),z=w((()=>f("span",{class:"iconfont icon-control"},null,-1))),A=w((()=>f("span",null,"任务",-1))),C=w((()=>f("span",{class:"iconfont icon-left-circle"},null,-1))),D=w((()=>f("span",null,"返回项目列表",-1))),J={key:0,class:"loading"},K=w((()=>f("div",{class:"loading"},"loading...",-1)));const S=c((V=((e,r)=>{for(var s in r||(r={}))a.call(r,s)&&n(e,s,r[s]);if(o)for(var s of o(r))t.call(r,s)&&n(e,s,r[s]);return e})({},{name:"Control"}),r(V,s({setup:function(e,{expose:r}){const s=l(),o=i(),a=j(null);return"control"===o.name&&s.replace({name:"control_gitmars",query:o.query}),u((e=>(a.value=e,!0))),r({router:s,route:o,error:a}),(e,r)=>{const s=m("router-link"),t=m("router-view");return p(),v("div",k,[f("div",P,[f("ul",null,[f("li",null,[_(s,{to:{name:"control_gitmars",query:y(o).query},title:"gitmars工作流"},{default:b((()=>[E,I])),_:1},8,["to"])]),f("li",null,[_(s,{to:{name:"control_tasks",query:y(o).query},title:"任务"},{default:b((()=>[z,A])),_:1},8,["to"])])]),f("ul",null,[f("li",null,[_(s,{to:{name:"project_list"},title:"返回项目列表"},{default:b((()=>[C,D])),_:1})])])]),a.value?(p(),v("div",J,g(a.value),1)):(p(),x(O,{key:1},{default:b((()=>[_(t,{class:"routerView"})])),fallback:b((()=>[K])),_:1}))])}}}))));var V,B=d(S,[["__scopeId","data-v-3b5216d9"]]);export{B as default}; diff --git a/app/www/assets/index.21bba8c5.js b/app/www/assets/index.21bba8c5.js new file mode 100644 index 00000000..2a77ff57 --- /dev/null +++ b/app/www/assets/index.21bba8c5.js @@ -0,0 +1 @@ +import{_ as e,T as r}from"./index.360fde64.js";import{r as a,l as s,d as t,R as n,s as d,v as i,J as o}from"./vendor/vue_3.2.23.js.9f5d2e7e.js";const m={class:"terminal",ref:"terminal"},p=["id"];var l=e({name:"Xterm",components:{},props:{id:String,path:String},setup(e){const d=a(null),{getTerminal:i,fitAddon:o}=s(r),m=i(e.id,e.path);return t((()=>{m.term.open(d.value),m.term.focus()})),n((()=>{})),{termWrap:d}}},[["render",function(e,r,a,s,t,n){return d(),i("div",m,[o("div",{ref:"termWrap",id:a.id,class:"terminal-pane"},null,8,p)],512)}],["__scopeId","data-v-028cbdbf"]]);export{l as X}; diff --git a/app/www/assets/index.360fde64.js b/app/www/assets/index.360fde64.js new file mode 100644 index 00000000..1d8ab238 --- /dev/null +++ b/app/www/assets/index.360fde64.js @@ -0,0 +1 @@ +var e=Object.defineProperty,t=Object.defineProperties,n=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,s=(t,n,o)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,a=(e,t,n)=>(s(e,"symbol"!=typeof t?t+"":t,n),n);export function __vite_legacy_guard(){import("data:text/javascript,")}import{m as c,p as l,V as u,c as h,u as p,r as d,w as f,ag as v,n as m,A as y,af as g,E as b,s as k,z as w,K as x,J as _,v as C,I as E,Q as S,P as A,F as O,a5 as j,O as B,x as T,T as N,ah as R,ai as P,d as L,W as I,S as H,l as M,a7 as z,G as $,H as D,M as q,g as F,q as V,_ as W,aj as U}from"./vendor/vue_3.2.23.js.9f5d2e7e.js";import{E as K,a as Y,b as J,c as X,d as G,e as Q,f as Z,g as ee,h as te,i as ne,j as oe,k as re,l as ie,m as se,n as ae}from"./vendor/element-plus_1.2.0-beta.3.js.01fd1cfa.js";import{a as ce}from"./vendor/axios_0.24.0.js.52256a15.js";import{l as le}from"./vendor/qs_6.10.1.js.0baad282.js";import{a as ue,f as he,r as pe,d as de,e as fe,n as ve}from"./vendor/js-cool_2.3.0.js.f671836d.js";import{v as me}from"./vendor/uuid_8.3.2.js.8656f24a.js";import{d as ye}from"./vendor/dayjs_1.10.7.js.c37b32ae.js";import{c as ge,x as be}from"./vendor/xterm_4.15.0.js.3e95bd6a.js";import{c as ke}from"./vendor/xterm-style_1.1.0.js.323fb105.js";import{x as we}from"./vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js";import{x as xe}from"./vendor/xterm-addon-search_0.8.1.js.d370edfa.js";import{x as _e}from"./vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js";import{c as Ce,a as Ee}from"./vendor/vue-router_4.0.12.js.944b7609.js";import{c as Se}from"./vendor/vuex_4.0.2.js.35ef8354.js";import"./vendor/lodash_4.17.21.js.c6f7cdcc.js";import"./vendor/async-validator_4.0.7.js.656181ea.js";import"./vendor/side-channel_1.0.4.js.290c0f4d.js";import"./vendor/get-intrinsic_1.1.1.js.d604dad5.js";import"./vendor/has-symbols_1.0.2.js.208f1d3f.js";import"./vendor/function-bind_1.1.1.js.34bf890b.js";import"./vendor/has_1.0.3.js.e7f09f2c.js";import"./vendor/call-bind_1.0.2.js.ad02ab55.js";import"./vendor/object-inspect_1.11.0.js.ad22ecab.js";import"./vendor/core-js_3.19.1.js.10a7a3d5.js";function Ae(e){return new Promise(((t,n)=>{const o=ce.create();o.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",o.defaults.headers.common["Access-Control-Allow-Origin"]="*",o.interceptors.request.use((t=>{const n=e.type;return t.data=Object.assign({},{_time:Date.now()},t.data),"post"==n?(t.method="post",t.data=le.stringify(t.data,{arrayFormat:"indices",allowDots:!0})):(t.method="get",t.params=t.data),t}),(e=>Promise.reject(e))),o.interceptors.response.use((t=>t.data.success||"text"===e.responseType?t.data:Promise.reject(t.data)),(e=>Promise.reject(e))),o(e).then((e=>{t(e)})).catch((e=>{e instanceof Error&&console.log(e)}))}))}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerpolicy&&(t.referrerPolicy=e.referrerpolicy),"use-credentials"===e.crossorigin?t.credentials="include":"anonymous"===e.crossorigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const Oe="undefined"!=typeof window,je=()=>{},Be=Oe?window:void 0;function Te(...e){let t,n,o,r;if("string"==typeof e[0]?([n,o,r]=e,t=Be):[t,n,o,r]=e,!t)return je;let i=je;const s=f((()=>p(t)),(e=>{i(),e&&(e.addEventListener(n,o,r),i=()=>{e.removeEventListener(n,o,r),i=je})}),{immediate:!0,flush:"post"}),a=()=>{s(),i()};var u;return u=a,c()&&l(u),a}Oe&&window.document,Oe&&window.navigator,Oe&&window.location;const Ne={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Re(e={}){const{reactive:t=!1,target:n=Be,aliasMap:o=Ne,passive:r=!0,onEventFired:i=je}=e,s=u(new Set),a={toJSON:()=>({}),current:s},c=t?u(a):a;function l(e,n){const o=e.key.toLowerCase(),r=[e.code.toLowerCase(),o];n?s.add(e.code):s.delete(e.code);for(const i of r)i in c&&(t?c[i]=n:c[i].value=n)}n&&(Te(n,"keydown",(e=>(l(e,!0),i(e))),{passive:r}),Te(n,"keyup",(e=>(l(e,!1),i(e))),{passive:r}));const f=new Proxy(c,{get(e,n,r){if("string"!=typeof n)return Reflect.get(e,n,r);if((n=n.toLowerCase())in o&&(n=o[n]),!(n in c))if(/[+_-]/.test(n)){const e=n.split(/[+_-]/g).map((e=>e.trim()));c[n]=h((()=>e.every((e=>p(f[e])))))}else c[n]=d(!1);const i=Reflect.get(e,n,r);return t?p(i):i}});return f}var Pe,Le,Ie,He;(Le=Pe||(Pe={})).UP="UP",Le.RIGHT="RIGHT",Le.DOWN="DOWN",Le.LEFT="LEFT",Le.NONE="NONE",Oe&&(null==window?void 0:window.navigator)&&(null==(Ie=null==window?void 0:window.navigator)?void 0:Ie.platform)&&/iP(ad|hone|od)/.test(null==(He=null==window?void 0:window.navigator)?void 0:He.platform);var Me=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};const ze={name:"v3Box",components:{ElButton:K},props:{opacity:{type:Number,default:.4},title:{type:String,required:!0,default:"提示"},width:{type:String,default:"640px"},maxWidth:{type:String},height:String,maxHeight:{type:String,default:"480px"},message:String,okBtnName:{type:String,default:"确定"},cancelBtnName:{type:String,default:"取消"},defaultMax:{type:Boolean,default:!1},showOkBtn:{type:Boolean,default:!0},showCancelBtn:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},showHeader:{type:Boolean,default:!0},showBtn:{type:Boolean,default:!0},showMax:{type:Boolean,default:!0},options:{type:Object,default:()=>({})},component:{type:Object,default:()=>({})},hide:Function,onOk:Function,onCancel:Function,onClose:Function},setup(e,{slots:t,emit:n,attrs:o}){const r=new de,i=u({zIndex:0,instance:null,isAppendContent:!1,maxW:"640px",maxH:"360px",mWidth:null,mHeight:null,max:!1}),s=d(null),a=d(null),c=d(null),l=h((()=>e.showMax?e.showClose?2:1:e.showClose?1:0)),{enter:f}=Re();v((()=>{f.value&&w()}));const b=()=>{r.register("windowReSize",k,500)},k=()=>{let t=110-(e.showBtn?0:60)-(e.showHeader?0:50),n=e.showHeader?0:40,o=he(window.innerWidth>320?window.innerWidth-20:300),r=he(window.innerHeight>300+t?window.innerHeight-t-60+n:240+n),s=parseInt(e.maxHeight||e.height||r||480),a=parseInt(e.maxWidth||e.width||o||600);i.maxW=Math.min(a,o)+"px",i.maxH=Math.min(s,r)+"px",i.max&&(i.mWidth=o+"px",i.mHeight=r+"px")},w=()=>{e.onOk&&"function"==typeof e.onOk?e.onOk(i.instance).then((()=>{e.hide()})):x()},x=()=>{pe(window,"resize",i.reSize),i.instance=null,g(null,a.value),e.hide()};return i.max=p(e.defaultMax),i.maxH=p(e.maxHeight),i.maxW=p(e.maxWidth)||p(e.width),k(),m((()=>{i.instance=y(e.component),i.instance.props=p(e.options),g(i.instance,a.value),i.isAppendContent=!0,ue(window,"resize",b),e.showBtn&&e.showOkBtn?c.value.focus():s.value.focus()})),{v3Box:s,boxContent:a,mainBtn:c,data:i,btns:l,handleOk:w,handleCancel:()=>{x(),e.onCancel&&"function"==typeof e.onCancel&&e.onCancel()},handleClose:()=>{x(),e.onClose&&"function"==typeof e.onClose&&e.onClose()},handleMax:()=>{let t=110-(e.showBtn?0:60)-(e.showHeader?0:50),n=e.showHeader?0:40,o=he(window.innerWidth>320?window.innerWidth-20:300),r=he(window.innerHeight>300+t?window.innerHeight-t-60+n:240+n);i.max?(i.max=!1,i.mWidth=null,i.mHeight=null):(i.max=!0,i.mWidth=o+"px",i.mHeight=r+"px")}}}},$e=["innerHTML"],De=["innerHTML"],qe={key:3,class:"v3-box-footer"},Fe={class:"v3-box-ico"},Ve=(e=>(R("data-v-703a9198"),e=e(),P(),e))((()=>_("div",{class:"v3-box-filter"},null,-1)));var We=Me(ze,[["render",function(e,t,n,o,r,i){const s=b("el-button");return k(),w(N,{name:"fade"},{default:x((()=>[_("div",{ref:"v3Box",class:A(["v3-box",{"one-btn":1===o.btns,"two-btn":2===o.btns,"no-btn":0===o.btns}]),style:S({width:o.data.mWidth||n.width,maxWidth:o.data.max?"":o.data.maxW})},[n.showHeader?(k(),C("div",{key:0,class:"v3-box-header",innerHTML:n.title},null,8,$e)):E("",!0),n.message&&!n.component?(k(),C("div",{key:1,ref:"boxContent",class:"v3-box-content message",innerHTML:n.message,style:S({height:o.data.mHeight||n.height,maxHeight:o.data.max?"":o.data.maxH,minHeight:o.data.mHeight})},null,12,De)):E("",!0),n.component&&!n.message?(k(),C("div",{key:2,ref:"boxContent",class:A(["v3-box-content",{"no-header":!n.showHeader}]),style:S({height:o.data.mHeight||n.height,maxHeight:o.data.max?"":o.data.maxH,minHeight:o.data.mHeight})},null,6)):E("",!0),n.showBtn?(k(),C("div",qe,[e.$slots.footer?E("",!0):(k(),C(O,{key:0},[n.showOkBtn?(k(),w(s,{key:0,ref:"mainBtn",type:"primary",class:"btn-main",autofocus:"",onClick:o.handleOk},{default:x((()=>[j(B(n.okBtnName),1)])),_:1},8,["onClick"])):E("",!0),n.showCancelBtn?(k(),w(s,{key:1,onClick:o.handleCancel},{default:x((()=>[j(B(n.cancelBtnName),1)])),_:1},8,["onClick"])):E("",!0)],64)),e.$slots.footer?T(e.$slots,"footer",{key:1},void 0,!0):E("",!0)])):E("",!0),_("div",Fe,[Ve,n.showMax&&o.data.max?(k(),C("span",{key:0,class:"v3-box-max iconfont icon-tuichuquanping",title:"恢复默认",onClick:t[0]||(t[0]=(...e)=>o.handleMax&&o.handleMax(...e))})):E("",!0),n.showMax&&!o.data.max?(k(),C("span",{key:1,class:"v3-box-max iconfont icon-quanping",title:"最大化",onClick:t[1]||(t[1]=(...e)=>o.handleMax&&o.handleMax(...e))})):E("",!0),n.showClose?(k(),C("span",{key:2,class:"v3-box-close iconfont icon-close",title:"关闭",onClick:t[2]||(t[2]=(...e)=>o.handleClose&&o.handleClose(...e))})):E("",!0)])],6)])),_:3})}],["__scopeId","data-v-703a9198"]]);const Ue={opacity:.4,title:"提示",width:"640px",height:"360px",message:null,okBtnName:"确定",cancelBtnName:"取消",defaultMax:!1,showOkBtn:!0,showCancelBtn:!0,showClose:!0,showHeader:!0,showBtn:!0,showMax:!0,options:{}};class Ke{constructor(e,c,l){var u;a(this,"$el"),a(this,"instance"),l=fe(!0,{},Ue,l),this.$el=document.createElement("div"),this.$el.className="mask",this.$el.style.zIndex=String(ve(1e3,2e4)),this.$el.style.background="rgba(0, 0, 0, "+l.opacity+")",this.$el.id=me(),this.instance=y(We),this.instance.props=(u=((e,t)=>{for(var n in t||(t={}))r.call(t,n)&&s(e,n,t[n]);if(o)for(var n of o(t))i.call(t,n)&&s(e,n,t[n]);return e})({},l),t(u,n({component:c,hide:()=>{this.hide()}}))),document.body.appendChild(this.$el),this.show()}show(){g(this.instance,this.$el)}hide(){g(null,this.$el),document.body.removeChild(this.$el),this.$el=null,this.instance=null,delete this.$el,delete this.instance}}var Ye={"v3-split-box":"_v3-split-box_1fvmh_1","v3-split-bar":"_v3-split-bar_1fvmh_11","v3-split-panel":"_v3-split-panel_1fvmh_23","v3-split-panel-2":"_v3-split-panel-2_1fvmh_27",horizontal:"_horizontal_1fvmh_30",vertical:"_vertical_1fvmh_44"};const Je={name:"v3Split",props:{mode:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].indexOf(e)>-1},modelValue:{type:[Number,String],default:"50%",validator:e=>/^([0-9]+)(%|px)?$/.test(e)},min:{type:[Number,String],default:0},max:{type:[Number,String],default:"100%"}},setup(e,{slots:t,emit:n}){const o=new de,r=u({size:50,suffix:"%",pos:{},boxSize:0,moving:!1}),i=d(null),s=h((()=>Math.round(r.size/100*r.boxSize))),a=h((()=>{let n=0+r.size;return"horizontal"===e.mode?t.right?t.left||(n=0):n=100:t.bottom?this.$slots.top||(n=0):n=100,{["horizontal"===e.mode?"width":"height"]:n+"%"}}));f((()=>e.modelValue),(e=>{e&&("%"===r.suffix?r.size=he(parseFloat(e),2):r.boxSize>0&&(r.size=he(100*parseFloat(e)/r.boxSize,2)))})),f((()=>r.size),(t=>{let o=("%"!==r.suffix?s:t)+r.suffix;o!=e.modelValue&&0!==s&&n("input",o)}));const c=e=>{let t,n,o=(e.style.WebkitTransform||getComputedStyle(e,"").getPropertyValue("-webkit-transform")||e.style.transform||getComputedStyle(e,"").getPropertyValue("transform")).match(/\-?[0-9]+\.?[0-9]*/g);return o?(t=parseInt(o[12]||o[4]||0),n=parseInt(o[13]||o[5]||0),{x:t,y:n}):{x:0,y:0}},l=t=>(String(e.min).indexOf("%")>1?t=Math.max(t,parseInt(e.min)):r.boxSize>0&&(t=Math.max(t,he(100*parseInt(e.min)/r.boxSize,2))),String(e.max).indexOf("%")>1?t=Math.min(t,parseInt(e.max)):r.boxSize>0&&(t=Math.min(t,he(100*parseInt(e.max)/r.boxSize,2))),t),p=e=>{let t=0,n=0,o=0,r=0;for(;e.offsetParent;){let o=c(e);t+=e.offsetLeft+o.x,n+=e.offsetTop+o.y,e=e.offsetParent}for(;e.parentNode;)o+=e.scrollLeft,r+=e.scrollTop,e=e.parentNode;return{x:t,y:n,left:o,top:r}},v=t=>{let o=t.target;for(r.boxSize=parseInt("horizontal"===e.mode?i.value.clientWidth:i.value.clientHeight);o.parentNode;){if(o.parentNode.className.indexOf(Ye.v3SplitBox)>-1){r.pos=p(o.parentNode);break}o=o.parentNode}t.preventDefault(),t.stopPropagation(),n("move-start"),ue(document,"mousemove",m),ue(document,"mouseup",y)},m=t=>{r.moving=!0,n("moving",t),o.register("v3SplitOnmouseMove",(()=>{let n;n="horizontal"===e.mode?t.pageX+r.pos.left-r.pos.x:t.pageY+r.pos.top-r.pos.y,r.size=l(he(100*n/r.boxSize,2))}),50,!0),t.preventDefault()},y=()=>{r.moving=!1,n("move-end"),pe(document,"mousemove",m),pe(document,"mouseup",y)};return String(e.modelValue).replace(/^([0-9]+)(%|px)?$/,((e,t,n)=>{"%"===n&&(r.size=l(parseInt(t))),r.suffix=n||""})),L((()=>{r.boxSize=parseInt("horizontal"===e.mode?i.value.clientWidth:i.value.clientHeight),"%"!==r.suffix&&(r.size=l(he(100*parseInt(e.modelValue)/r.boxSize,2)))})),()=>I("div",{class:[Ye.v3SplitBox,Ye[e.mode],r.moving?" moving":""],ref:i},t.default?t.default():[I("div",{class:[Ye.v3SplitPanel,Ye.v3SplitPanel1],style:a.value},"horizontal"===e.mode?t.left():t.top()),("horizontal"===e.mode&&t.left&&t.right||"vertical"===e.mode&&t.top&&t.bottom)&&I("div",{class:Ye.v3SplitBar,onMousedown:v},[I("span"),I("span"),I("span"),I("span")]),I("div",{class:[Ye.v3SplitPanel,Ye.v3SplitPanel2]},"horizontal"===e.mode?t.right():t.bottom())])}};const Xe={name:"v3Button",inheritAttrs:!1,props:{icon:String,disabled:Boolean,nativeType:String,plain:Boolean,type:{type:String,default:"default",validator:e=>["default","danger","primary"].indexOf(e)>-1},size:{type:String,default:"normal",validator:e=>["mini","small","normal","large"].indexOf(e)>-1}},setup(e,{slots:t,emit:n}){const o=e=>{n("click",e)};return()=>[I("button",{type:e.nativeType,class:["v3-button","v3-button--"+e.size,"v3-button--"+e.type,{"is-disabled":e.disabled,"is-plain":e.plain}],onClick:o,disabled:e.disabled},[t.icon?[I("span",{class:["v3-button-icon"]},t.icon())," "]:e.icon&&[I("span",{class:["v3-button-icon"]},I("i",{class:["iconfont","icon-"+e.icon]}))," "]||null,I("label",{class:["v3-button-text"]},t.default())])]}};var Ge=Me({name:"v3Collapse",componentName:"v3Collapse",props:{accordion:Boolean,modelValue:{type:[Array,String,Number],default:()=>[]}},setup(e,{slots:t,emit:n}){const o=d([]);o.value=[].concat(e.modelValue),f((()=>e.modelValue),(e=>{console.log("collapse value change",e)}));const r=t=>{t=[].concat(t);let r=e.accordion?t[0]:t;o.value=t,n("update:modelValue",r)},i=t=>{if(e.accordion)r(!o.value[0]&&0!==o.value[0]||o.value[0]!==t.name?t.name:"");else{let e=o.value.slice(0),n=e.indexOf(t.name);n>-1?e.splice(n,1):e.push(t.name),r(e)}};return H("collapse",{activeNames:o,handleItemClick:i}),{activeNames:o,setActiveNames:r,handleItemClick:i}}},[["render",function(e,t,n,o,r,i){return k(),C("div",{class:"v3-collapse",role:"tablist","aria-multiselectable":"true",onItemClick:t[0]||(t[0]=(...e)=>o.handleItemClick&&o.handleItemClick(...e))},[T(e.$slots,"default")],32)}]]);function Qe(e,t,n){this.$children.forEach((o=>{o.$options.componentName===e?o.$emit.apply(o,[t].concat(n)):Qe.apply(o,[e,t].concat([n]))}))}function Ze(e){return{dispatch:(t,n,o)=>{for(var r=e.$parent||e.$root,i=r.$options.componentName;r&&(!i||i!==t);)(r=r.$parent)&&(i=r.$options.componentName);r&&r.$emit.apply(r,[n].concat(o))},broadcast:(t,n,o)=>{Qe.call(e,t,n,o)}}}const et={name:"v3CollapseItem",componentName:"v3CollapseItem",props:{title:String,name:{type:[String,Number],default(){return this._uid}},disabled:Boolean},setup(e,{slots:t,emit:n,attrs:o}){const{proxy:r,appContext:i}=F(),{dispatch:s}=Ze(r),{activeNames:a,handleItemClick:c}=M("collapse"),l=u({height:"auto",display:"block"}),p=d(0),f=d(!1),v=d(!1),m=d(Math.floor(1e4*Math.random())),y=h((()=>a.value.indexOf(e.name)>-1));return{contentWrapStyle:l,contentHeight:p,focusing:f,isClick:v,id:m,isActive:y,handleFocus:()=>{setTimeout((()=>{v.value?v.value=!1:f.value=!0}),50)},handleHeaderClick:()=>{e.disabled||(s("v3Collapse","item-click",r),c&&c(r),f.value=!1,v.value=!0)},handleEnterClick:()=>{s("v3Collapse","item-click",r)}}}},tt=["aria-expanded","aria-controls","aria-describedby"],nt=["id","tabindex"],ot=["aria-hidden","aria-labelledby","id"],rt={class:"v3-collapse-item__content"};var it=Me(et,[["render",function(e,t,n,o,r,i){return k(),C("div",{class:A(["v3-collapse-item",{"is-active":o.isActive,"is-disabled":n.disabled}])},[_("div",{role:"tab","aria-expanded":o.isActive,"aria-controls":`v3-collapse-content-${o.id}`,"aria-describedby":`v3-collapse-content-${o.id}`},[_("div",{class:A(["v3-collapse-item__header",{focusing:o.focusing,"is-active":o.isActive}]),onClick:t[0]||(t[0]=(...e)=>o.handleHeaderClick&&o.handleHeaderClick(...e)),role:"button",id:`v3-collapse-head-${o.id}`,tabindex:n.disabled?void 0:0,onKeyup:t[1]||(t[1]=z(q(((...e)=>o.handleEnterClick&&o.handleEnterClick(...e)),["stop"]),["space","enter"])),onFocus:t[2]||(t[2]=(...e)=>o.handleFocus&&o.handleFocus(...e)),onBlur:t[3]||(t[3]=e=>o.focusing=!1)},[T(e.$slots,"title",{},(()=>[j(B(n.title),1)])),_("span",{class:A(["v3-collapse-item__arrow iconfont icon-right",{"is-active":o.isActive}])},null,2)],42,nt)],8,tt),$(_("div",{class:"v3-collapse-item__wrap",role:"tabpanel","aria-hidden":!o.isActive,"aria-labelledby":`v3-collapse-head-${o.id}`,id:`v3-collapse-content-${o.id}`},[_("div",rt,[T(e.$slots,"default")])],8,ot),[[D,o.isActive]])],2)}]]);var st={install:e=>{e.component(Je.name,Je),e.component(Xe.name,Xe),e.component(Ge.name,Ge),e.component(it.name,it),e.component(We.name,We)},v3Split:Je,v3Button:Xe,v3Collapse:Ge,v3CollapseItem:it},at={exports:{}},ct=at.exports=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})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}var y=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,g=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],b=function(e){var t=e,n=e.indexOf("["),o=e.indexOf("]");-1!=n&&-1!=o&&(e=e.substring(0,n)+e.substring(n,o).replace(/:/g,";")+e.substring(o,e.length));for(var r=y.exec(e||""),i={},s=14;s--;)i[g[s]]=r[s]||"";return-1!=n&&-1!=o&&(i.source=t,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=k(i,i.path),i.queryKey=w(i,i.query),i};function k(e,t){var n=/\/{2,9}/g,o=t.replace(n,"/").split("/");return"/"!=t.substr(0,1)&&0!==t.length||o.splice(0,1),"/"==t.substr(t.length-1,1)&&o.splice(o.length-1,1),o}function w(e,t){var n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,o){t&&(n[t]=o)})),n}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,o=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),o=b(e)),o.port||(/^(http|ws)$/.test(o.protocol)?o.port="80":/^(http|ws)s$/.test(o.protocol)&&(o.port="443")),o.path=o.path||"/";var r=-1!==o.host.indexOf(":")?"["+o.host+"]":o.host;return o.id=o.protocol+"://"+r+":"+o.port+t,o.href=o.protocol+"://"+r+(n&&n.port===o.port?"":":"+o.port),o}var _={exports:{}};try{_.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(Ze){_.exports=!1}var C=_.exports,E="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function S(e){var t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||C))return new XMLHttpRequest}catch(n){}if(!t)try{return new(E[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(n){}}function A(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o>4,u[c++]=(15&o)<<4|r>>2,u[c++]=(3&r)<<6|63&i;return l},K="function"==typeof ArrayBuffer,Y=function(e,t){if("string"!=typeof e)return{type:"message",data:X(e,t)};var n=e.charAt(0);return"b"===n?{type:"message",data:J(e.substring(1),t)}:L[n]?e.length>1?{type:L[n],data:e.substring(1)}:{type:L[n]}:I},J=function(e,t){if(K){var n=U(e);return X(n,t)}return{base64:!0,data:e}},X=function(e,t){return"blob"===t&&e instanceof ArrayBuffer?new Blob([e]):e},G=String.fromCharCode(30),Q=function(e,t){var n=e.length,o=new Array(n),r=0;e.forEach((function(e,i){$(e,!1,(function(e){o[i]=e,++r===n&&t(o.join(G))}))}))},Z=function(e,t){for(var n=e.split(G),o=[],r=0;r0);return t}function ce(e){var t=0;for(se=0;se0&&void 0!==arguments[0]?arguments[0]:{};return r(e,{xd:this.xd,xs:this.xs},this.opts),new me(this.uri(),e)}},{key:"doWrite",value:function(e,t){var n=this,o=this.request({method:"POST",data:e});o.on("success",t),o.on("error",(function(e){n.onError("xhr post error",e)}))}},{key:"doPoll",value:function(){var e=this,t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(function(t){e.onError("xhr poll error",t)})),this.pollXhr=t}}]),s}(pe),me=function(e){i(r,e);var n=h(r);function r(e,o){var i;return t(this,r),B(l(i=n.call(this)),o),i.opts=o,i.method=o.method||"GET",i.uri=e,i.async=!1!==o.async,i.data=void 0!==o.data?o.data:null,i.create(),i}return o(r,[{key:"create",value:function(){var e=this,t=A(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;var n=this.xhr=new S(t);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders)for(var o in n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0),this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(o)&&n.setRequestHeader(o,this.opts.extraHeaders[o])}catch(i){}if("POST"===this.method)try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(i){}try{n.setRequestHeader("Accept","*/*")}catch(i){}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=function(){4===n.readyState&&(200===n.status||1223===n.status?e.onLoad():e.setTimeoutFn((function(){e.onError("number"==typeof n.status?n.status:0)}),0))},n.send(this.data)}catch(i){return void this.setTimeoutFn((function(){e.onError(i)}),0)}"undefined"!=typeof document&&(this.index=r.requestsCount++,r.requests[this.index]=this)}},{key:"onSuccess",value:function(){this.emit("success"),this.cleanup()}},{key:"onData",value:function(e){this.emit("data",e),this.onSuccess()}},{key:"onError",value:function(e){this.emit("error",e),this.cleanup(!0)}},{key:"cleanup",value:function(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=de,e)try{this.xhr.abort()}catch(t){}"undefined"!=typeof document&&delete r.requests[this.index],this.xhr=null}}},{key:"onLoad",value:function(){var e=this.xhr.responseText;null!==e&&this.onData(e)}},{key:"abort",value:function(){this.cleanup()}}]),r}(T);function ye(){for(var e in me.requests)me.requests.hasOwnProperty(e)&&me.requests[e].abort()}me.requestsCount=0,me.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",ye):"function"==typeof addEventListener&&addEventListener("onpagehide"in E?"pagehide":"unload",ye,!1));var ge="function"==typeof Promise&&"function"==typeof Promise.resolve?function(e){return Promise.resolve().then(e)}:function(e,t){return t(e,0)},be=E.WebSocket||E.MozWebSocket,ke=!0,we="arraybuffer",xe="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),_e={websocket:function(e){i(r,e);var n=h(r);function r(e){var o;return t(this,r),(o=n.call(this,e)).supportsBinary=!e.forceBase64,o}return o(r,[{key:"name",get:function(){return"websocket"}},{key:"doOpen",value:function(){if(this.check()){var e=this.uri(),t=this.opts.protocols,n=xe?{}:A(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=ke&&!xe?t?new be(e,t):new be(e):new be(e,t,n)}catch(Ze){return this.emit("error",Ze)}this.ws.binaryType=this.socket.binaryType||we,this.addEventListeners()}}},{key:"addEventListeners",value:function(){var e=this;this.ws.onopen=function(){e.opts.autoUnref&&e.ws._socket.unref(),e.onOpen()},this.ws.onclose=this.onClose.bind(this),this.ws.onmessage=function(t){return e.onData(t.data)},this.ws.onerror=function(t){return e.onError("websocket error",t)}}},{key:"write",value:function(e){var t=this;this.writable=!1;for(var n=function(n){var o=e[n],r=n===e.length-1;$(o,t.supportsBinary,(function(e){try{ke&&t.ws.send(e)}catch(n){}r&&ge((function(){t.writable=!0,t.emit("drain")}),t.setTimeoutFn)}))},o=0;o1&&void 0!==arguments[1]?arguments[1]:{};return t(this,a),o=s.call(this),n&&"object"===e(n)&&(i=n,n=null),n?(n=b(n),i.hostname=n.host,i.secure="https"===n.protocol||"wss"===n.protocol,i.port=n.port,n.query&&(i.query=n.query)):i.host&&(i.hostname=b(i.host).host),B(l(o),i),o.secure=null!=i.secure?i.secure:"undefined"!=typeof location&&"https:"===location.protocol,i.hostname&&!i.port&&(i.port=o.secure?"443":"80"),o.hostname=i.hostname||("undefined"!=typeof location?location.hostname:"localhost"),o.port=i.port||("undefined"!=typeof location&&location.port?location.port:o.secure?"443":"80"),o.transports=i.transports||["polling","websocket"],o.readyState="",o.writeBuffer=[],o.prevBufferLen=0,o.opts=r({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},i),o.opts.path=o.opts.path.replace(/\/$/,"")+"/","string"==typeof o.opts.query&&(o.opts.query=he.decode(o.opts.query)),o.id=null,o.upgrades=null,o.pingInterval=null,o.pingTimeout=null,o.pingTimeoutTimer=null,"function"==typeof addEventListener&&(o.opts.closeOnBeforeunload&&addEventListener("beforeunload",(function(){o.transport&&(o.transport.removeAllListeners(),o.transport.close())}),!1),"localhost"!==o.hostname&&(o.offlineEventListener=function(){o.onClose("transport close")},addEventListener("offline",o.offlineEventListener,!1))),o.open(),o}return o(a,[{key:"createTransport",value:function(e){var t=Ee(this.opts.query);t.EIO=ee,t.transport=e,this.id&&(t.sid=this.id);var n=r({},this.opts.transportOptions[e],this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new _e[e](n)}},{key:"open",value:function(){var e,t=this;if(this.opts.rememberUpgrade&&a.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((function(){t.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(n){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}},{key:"setTransport",value:function(e){var t=this;this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(function(){t.onClose("transport close")}))}},{key:"probe",value:function(e){var t=this,n=this.createTransport(e),o=!1;a.priorWebsocketSuccess=!1;var r=function(){o||(n.send([{type:"ping",data:"probe"}]),n.once("packet",(function(e){if(!o)if("pong"===e.type&&"probe"===e.data){if(t.upgrading=!0,t.emitReserved("upgrading",n),!n)return;a.priorWebsocketSuccess="websocket"===n.name,t.transport.pause((function(){o||"closed"!==t.readyState&&(h(),t.setTransport(n),n.send([{type:"upgrade"}]),t.emitReserved("upgrade",n),n=null,t.upgrading=!1,t.flush())}))}else{var r=new Error("probe error");r.transport=n.name,t.emitReserved("upgradeError",r)}})))};function i(){o||(o=!0,h(),n.close(),n=null)}var s=function(e){var o=new Error("probe error: "+e);o.transport=n.name,i(),t.emitReserved("upgradeError",o)};function c(){s("transport closed")}function l(){s("socket closed")}function u(e){n&&e.name!==n.name&&i()}var h=function(){n.removeListener("open",r),n.removeListener("error",s),n.removeListener("close",c),t.off("close",l),t.off("upgrading",u)};n.once("open",r),n.once("error",s),n.once("close",c),this.once("close",l),this.once("upgrading",u),n.open()}},{key:"onOpen",value:function(){if(this.readyState="open",a.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause)for(var e=0,t=this.upgrades.length;e0;case He.ACK:case He.BINARY_ACK:return Array.isArray(n)}}}]),a}(T);function qe(e){try{return JSON.parse(e)}catch(t){return!1}}var Fe=function(){function e(n){t(this,e),this.packet=n,this.buffers=[],this.reconPack=n}return o(e,[{key:"takeBinaryData",value:function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=Le(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}},{key:"finishedReconstruction",value:function(){this.reconPack=null,this.buffers=[]}}]),e}(),Ve=Object.freeze({__proto__:null,protocol:ze,get PacketType(){return He},Encoder:$e,Decoder:De});function We(e,t,n){return e.on(t,n),function(){e.off(t,n)}}var Ue=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),Ke=function(e){i(r,e);var n=h(r);function r(e,o,i){var s;return t(this,r),(s=n.call(this)).connected=!1,s.disconnected=!0,s.receiveBuffer=[],s.sendBuffer=[],s.ids=0,s.acks={},s.flags={},s.io=e,s.nsp=o,i&&i.auth&&(s.auth=i.auth),s.io._autoConnect&&s.open(),s}return o(r,[{key:"subEvents",value:function(){if(!this.subs){var e=this.io;this.subs=[We(e,"open",this.onopen.bind(this)),We(e,"packet",this.onpacket.bind(this)),We(e,"error",this.onerror.bind(this)),We(e,"close",this.onclose.bind(this))]}}},{key:"active",get:function(){return!!this.subs}},{key:"connect",value:function(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}},{key:"open",value:function(){return this.connect()}},{key:"send",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),o=1;o0&&e.jitter<=1?e.jitter:0,this.attempts=0}Je.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},Je.prototype.reset=function(){this.attempts=0},Je.prototype.setMin=function(e){this.ms=e},Je.prototype.setMax=function(e){this.max=e},Je.prototype.setJitter=function(e){this.jitter=e};var Xe=function(n){i(s,n);var r=h(s);function s(n,o){var i,a;t(this,s),(i=r.call(this)).nsps={},i.subs=[],n&&"object"===e(n)&&(o=n,n=void 0),(o=o||{}).path=o.path||"/socket.io",i.opts=o,B(l(i),o),i.reconnection(!1!==o.reconnection),i.reconnectionAttempts(o.reconnectionAttempts||1/0),i.reconnectionDelay(o.reconnectionDelay||1e3),i.reconnectionDelayMax(o.reconnectionDelayMax||5e3),i.randomizationFactor(null!==(a=o.randomizationFactor)&&void 0!==a?a:.5),i.backoff=new Ye({min:i.reconnectionDelay(),max:i.reconnectionDelayMax(),jitter:i.randomizationFactor()}),i.timeout(null==o.timeout?2e4:o.timeout),i._readyState="closed",i.uri=n;var c=o.parser||Ve;return i.encoder=new c.Encoder,i.decoder=new c.Decoder,i._autoConnect=!1!==o.autoConnect,i._autoConnect&&i.open(),i}return o(s,[{key:"reconnection",value:function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}},{key:"reconnectionAttempts",value:function(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}},{key:"reconnectionDelay",value:function(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}},{key:"randomizationFactor",value:function(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}},{key:"reconnectionDelayMax",value:function(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}},{key:"timeout",value:function(e){return arguments.length?(this._timeout=e,this):this._timeout}},{key:"maybeReconnectOnOpen",value:function(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}},{key:"open",value:function(e){var t=this;if(~this._readyState.indexOf("open"))return this;this.engine=new Ce(this.uri,this.opts);var n=this.engine,o=this;this._readyState="opening",this.skipReconnect=!1;var r=We(n,"open",(function(){o.onopen(),e&&e()})),i=We(n,"error",(function(n){o.cleanup(),o._readyState="closed",t.emitReserved("error",n),e?e(n):o.maybeReconnectOnOpen()}));if(!1!==this._timeout){var s=this._timeout;0===s&&r();var a=this.setTimeoutFn((function(){r(),n.close(),n.emit("error",new Error("timeout"))}),s);this.opts.autoUnref&&a.unref(),this.subs.push((function(){clearTimeout(a)}))}return this.subs.push(r),this.subs.push(i),this}},{key:"connect",value:function(e){return this.open(e)}},{key:"onopen",value:function(){this.cleanup(),this._readyState="open",this.emitReserved("open");var e=this.engine;this.subs.push(We(e,"ping",this.onping.bind(this)),We(e,"data",this.ondata.bind(this)),We(e,"error",this.onerror.bind(this)),We(e,"close",this.onclose.bind(this)),We(this.decoder,"decoded",this.ondecoded.bind(this)))}},{key:"onping",value:function(){this.emitReserved("ping")}},{key:"ondata",value:function(e){this.decoder.add(e)}},{key:"ondecoded",value:function(e){this.emitReserved("packet",e)}},{key:"onerror",value:function(e){this.emitReserved("error",e)}},{key:"socket",value:function(e,t){var n=this.nsps[e];return n||(n=new Ke(this,e,t),this.nsps[e]=n),n}},{key:"_destroy",value:function(e){for(var t=0,n=Object.keys(this.nsps);t=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{var n=this.backoff.duration();this._reconnecting=!0;var o=this.setTimeoutFn((function(){t.skipReconnect||(e.emitReserved("reconnect_attempt",t.backoff.attempts),t.skipReconnect||t.open((function(n){n?(t._reconnecting=!1,t.reconnect(),e.emitReserved("reconnect_error",n)):t.onreconnect()})))}),n);this.opts.autoUnref&&o.unref(),this.subs.push((function(){clearTimeout(o)}))}}},{key:"onreconnect",value:function(){var e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}]),s}(T),Ge={};function Qe(t,n){"object"===e(t)&&(n=t,t=void 0);var o,r=x(t,(n=n||{}).path||"/socket.io"),i=r.source,s=r.id,a=r.path,c=Ge[s]&&a in Ge[s].nsps;return n.forceNew||n["force new connection"]||!1===n.multiplex||c?o=new Xe(i,n):(Ge[s]||(Ge[s]=new Xe(i,n)),o=Ge[s]),r.query&&!n.query&&(n.query=r.queryKey),o.socket(r.path,n)}return r(Qe,{Manager:Xe,Socket:Ke,io:Qe,connect:Qe}),Qe}();const lt=Symbol("Terminal"),ut=Symbol("Socket");const ht=V({setup(e){const t=location.origin,n=ct(`${t}/terminal`,{reconnection:!0}),o=ct(`${t}/gitmars`,{reconnection:!0}),r=new we.exports.FitAddon,i=new xe.exports.SearchAddon,s=u({});return H(ut,{socket:n,socketGitmars:o}),H(lt,{getTerminal:(e,t="",o=100,a=20)=>(s[e]||(s[e]={term:new be.exports.Terminal({theme:ke,fontSize:12,fontWeight:300,lineHeight:1.1,fontFamily:'"JetBrains Mono", Menlo, consolas, "Microsoft YaHei", "PingFangSC-Regular", Avenir, Helvetica, Arial, sans-serif',cols:o,rows:a,windowOptions:{setWinSizePixels:!0}}),name:"terminal-"+e,pid:null},s[e].term.loadAddon(new _e.exports.WebLinksAddon),s[e].term.loadAddon(r),s[e].term.loadAddon(i),s[e].term.onData((t=>{n.emit(s[e].name+"-input",t)})),n.on(s[e].name+"-output",(t=>{s[e].term.write(t)})),n.on(s[e].name+"-pid",(t=>{console.info("pid: ",t),s[e].pid=t})),n.emit("create",{name:s[e].name,cwd:t}),window.addEventListener("resize",(()=>{s[e].term.fit()}))),s[e]),fitAddon:r}),L((()=>{})),(e,t)=>{const n=b("router-view");return k(),w(W,{to:"#app",class:"app"},[y(n)])}}}),pt={},dt=function(e,t){return t&&0!==t.length?Promise.all(t.map((e=>{if((e=`/${e}`)in pt)return;pt[e]=!0;const t=e.endsWith(".css"),n=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${n}`))return;const o=document.createElement("link");return o.rel=t?"stylesheet":"modulepreload",t||(o.as="script",o.crossOrigin=""),o.href=e,document.head.appendChild(o),t?new Promise(((e,t)=>{o.addEventListener("load",e),o.addEventListener("error",t)})):void 0}))).then((()=>e())):e()},ft=[{path:"/",name:"Home",redirect:"/project/list"},{path:"/project",name:"project",component:()=>dt((()=>import("./index.c488430d.js")),["assets/index.c488430d.js","assets/vendor/vue-router_4.0.12.js.944b7609.js","assets/vendor/vue_3.2.23.js.9f5d2e7e.js"]),children:[{path:"list",name:"project_list",component:()=>dt((()=>import("./list.fddb28d3.js")),["assets/list.fddb28d3.js","assets/list.137c183b.css","assets/vendor/vue_3.2.23.js.9f5d2e7e.js","assets/vendor/vue-router_4.0.12.js.944b7609.js","assets/use-current-instance.41699c28.js","assets/vendor/element-plus_1.2.0-beta.3.js.01fd1cfa.js","assets/vendor/element-plus_1.2.0-beta.3.js.fc13d639.css","assets/vendor/lodash_4.17.21.js.c6f7cdcc.js","assets/vendor/xterm_4.15.0.js.3e95bd6a.js","assets/vendor/xterm_4.15.0.js.86284f30.css","assets/vendor/dayjs_1.10.7.js.c37b32ae.js","assets/vendor/async-validator_4.0.7.js.656181ea.js","assets/vendor/axios_0.24.0.js.52256a15.js","assets/vendor/qs_6.10.1.js.0baad282.js","assets/vendor/side-channel_1.0.4.js.290c0f4d.js","assets/vendor/get-intrinsic_1.1.1.js.d604dad5.js","assets/vendor/has-symbols_1.0.2.js.208f1d3f.js","assets/vendor/function-bind_1.1.1.js.34bf890b.js","assets/vendor/has_1.0.3.js.e7f09f2c.js","assets/vendor/call-bind_1.0.2.js.ad02ab55.js","assets/vendor/object-inspect_1.11.0.js.ad22ecab.js","assets/vendor/js-cool_2.3.0.js.f671836d.js","assets/vendor/core-js_3.19.1.js.10a7a3d5.js","assets/vendor/uuid_8.3.2.js.8656f24a.js","assets/vendor/xterm-style_1.1.0.js.323fb105.js","assets/vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js","assets/vendor/xterm-addon-search_0.8.1.js.d370edfa.js","assets/vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js","assets/vendor/vuex_4.0.2.js.35ef8354.js"])},{path:"add",name:"project_add",component:()=>dt((()=>import("./add.3b420688.js")),["assets/add.3b420688.js","assets/add.ac943c3d.css","assets/vendor/vue_3.2.23.js.9f5d2e7e.js","assets/vendor/vue-router_4.0.12.js.944b7609.js","assets/use-current-instance.41699c28.js","assets/vendor/element-plus_1.2.0-beta.3.js.01fd1cfa.js","assets/vendor/element-plus_1.2.0-beta.3.js.fc13d639.css","assets/vendor/lodash_4.17.21.js.c6f7cdcc.js","assets/vendor/xterm_4.15.0.js.3e95bd6a.js","assets/vendor/xterm_4.15.0.js.86284f30.css","assets/vendor/dayjs_1.10.7.js.c37b32ae.js","assets/vendor/async-validator_4.0.7.js.656181ea.js","assets/vendor/axios_0.24.0.js.52256a15.js","assets/vendor/qs_6.10.1.js.0baad282.js","assets/vendor/side-channel_1.0.4.js.290c0f4d.js","assets/vendor/get-intrinsic_1.1.1.js.d604dad5.js","assets/vendor/has-symbols_1.0.2.js.208f1d3f.js","assets/vendor/function-bind_1.1.1.js.34bf890b.js","assets/vendor/has_1.0.3.js.e7f09f2c.js","assets/vendor/call-bind_1.0.2.js.ad02ab55.js","assets/vendor/object-inspect_1.11.0.js.ad22ecab.js","assets/vendor/js-cool_2.3.0.js.f671836d.js","assets/vendor/core-js_3.19.1.js.10a7a3d5.js","assets/vendor/uuid_8.3.2.js.8656f24a.js","assets/vendor/xterm-style_1.1.0.js.323fb105.js","assets/vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js","assets/vendor/xterm-addon-search_0.8.1.js.d370edfa.js","assets/vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js","assets/vendor/vuex_4.0.2.js.35ef8354.js"])}]},{path:"/control",name:"control",component:()=>dt((()=>import("./index.134a59e8.js")),["assets/index.134a59e8.js","assets/index.56abfa7a.css","assets/vendor/vue-router_4.0.12.js.944b7609.js","assets/vendor/vue_3.2.23.js.9f5d2e7e.js","assets/vendor/element-plus_1.2.0-beta.3.js.01fd1cfa.js","assets/vendor/element-plus_1.2.0-beta.3.js.fc13d639.css","assets/vendor/lodash_4.17.21.js.c6f7cdcc.js","assets/vendor/xterm_4.15.0.js.3e95bd6a.js","assets/vendor/xterm_4.15.0.js.86284f30.css","assets/vendor/dayjs_1.10.7.js.c37b32ae.js","assets/vendor/async-validator_4.0.7.js.656181ea.js","assets/vendor/axios_0.24.0.js.52256a15.js","assets/vendor/qs_6.10.1.js.0baad282.js","assets/vendor/side-channel_1.0.4.js.290c0f4d.js","assets/vendor/get-intrinsic_1.1.1.js.d604dad5.js","assets/vendor/has-symbols_1.0.2.js.208f1d3f.js","assets/vendor/function-bind_1.1.1.js.34bf890b.js","assets/vendor/has_1.0.3.js.e7f09f2c.js","assets/vendor/call-bind_1.0.2.js.ad02ab55.js","assets/vendor/object-inspect_1.11.0.js.ad22ecab.js","assets/vendor/js-cool_2.3.0.js.f671836d.js","assets/vendor/core-js_3.19.1.js.10a7a3d5.js","assets/vendor/uuid_8.3.2.js.8656f24a.js","assets/vendor/xterm-style_1.1.0.js.323fb105.js","assets/vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js","assets/vendor/xterm-addon-search_0.8.1.js.d370edfa.js","assets/vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js","assets/vendor/vuex_4.0.2.js.35ef8354.js"]),children:[{path:"gitmars",name:"control_gitmars",component:()=>dt((()=>import("./gitmars.bb308b8f.js")),["assets/gitmars.bb308b8f.js","assets/gitmars.58cdeee5.css","assets/vendor/vue-router_4.0.12.js.944b7609.js","assets/vendor/vue_3.2.23.js.9f5d2e7e.js","assets/index.21bba8c5.js","assets/index.a6b03632.css","assets/vendor/element-plus_1.2.0-beta.3.js.01fd1cfa.js","assets/vendor/element-plus_1.2.0-beta.3.js.fc13d639.css","assets/vendor/lodash_4.17.21.js.c6f7cdcc.js","assets/vendor/xterm_4.15.0.js.3e95bd6a.js","assets/vendor/xterm_4.15.0.js.86284f30.css","assets/vendor/dayjs_1.10.7.js.c37b32ae.js","assets/vendor/async-validator_4.0.7.js.656181ea.js","assets/use-current-instance.41699c28.js","assets/vendor/axios_0.24.0.js.52256a15.js","assets/vendor/qs_6.10.1.js.0baad282.js","assets/vendor/side-channel_1.0.4.js.290c0f4d.js","assets/vendor/get-intrinsic_1.1.1.js.d604dad5.js","assets/vendor/has-symbols_1.0.2.js.208f1d3f.js","assets/vendor/function-bind_1.1.1.js.34bf890b.js","assets/vendor/has_1.0.3.js.e7f09f2c.js","assets/vendor/call-bind_1.0.2.js.ad02ab55.js","assets/vendor/object-inspect_1.11.0.js.ad22ecab.js","assets/vendor/js-cool_2.3.0.js.f671836d.js","assets/vendor/core-js_3.19.1.js.10a7a3d5.js","assets/vendor/uuid_8.3.2.js.8656f24a.js","assets/vendor/xterm-style_1.1.0.js.323fb105.js","assets/vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js","assets/vendor/xterm-addon-search_0.8.1.js.d370edfa.js","assets/vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js","assets/vendor/vuex_4.0.2.js.35ef8354.js"])},{path:"tasks",name:"control_tasks",component:()=>dt((()=>import("./tasks.4c910a38.js")),["assets/tasks.4c910a38.js","assets/tasks.96dcfd4f.css","assets/vendor/vue-router_4.0.12.js.944b7609.js","assets/vendor/vue_3.2.23.js.9f5d2e7e.js","assets/index.21bba8c5.js","assets/index.a6b03632.css","assets/use-current-instance.41699c28.js","assets/vendor/element-plus_1.2.0-beta.3.js.01fd1cfa.js","assets/vendor/element-plus_1.2.0-beta.3.js.fc13d639.css","assets/vendor/lodash_4.17.21.js.c6f7cdcc.js","assets/vendor/xterm_4.15.0.js.3e95bd6a.js","assets/vendor/xterm_4.15.0.js.86284f30.css","assets/vendor/dayjs_1.10.7.js.c37b32ae.js","assets/vendor/async-validator_4.0.7.js.656181ea.js","assets/vendor/axios_0.24.0.js.52256a15.js","assets/vendor/qs_6.10.1.js.0baad282.js","assets/vendor/side-channel_1.0.4.js.290c0f4d.js","assets/vendor/get-intrinsic_1.1.1.js.d604dad5.js","assets/vendor/has-symbols_1.0.2.js.208f1d3f.js","assets/vendor/function-bind_1.1.1.js.34bf890b.js","assets/vendor/has_1.0.3.js.e7f09f2c.js","assets/vendor/call-bind_1.0.2.js.ad02ab55.js","assets/vendor/object-inspect_1.11.0.js.ad22ecab.js","assets/vendor/js-cool_2.3.0.js.f671836d.js","assets/vendor/core-js_3.19.1.js.10a7a3d5.js","assets/vendor/uuid_8.3.2.js.8656f24a.js","assets/vendor/xterm-style_1.1.0.js.323fb105.js","assets/vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js","assets/vendor/xterm-addon-search_0.8.1.js.d370edfa.js","assets/vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js","assets/vendor/vuex_4.0.2.js.35ef8354.js"])}]}],vt=Ce({history:Ee(),routes:ft});var mt=Se({state:{},mutations:{},actions:{},modules:{}});const yt=U(ht);yt.config.globalProperties.$ELEMENT={size:"small",zIndex:5e3},yt.use(Y),yt.use(J),yt.use(X),yt.use(G),yt.use(Q),yt.use(Z),yt.use(K),yt.use(ee),yt.use(te),yt.use(ne),yt.use(oe),yt.use(re),yt.use(ie),yt.use(se),yt.use(ae),yt.use(mt).use(vt).use(st).use((function(e){e.config.globalProperties.$nextIndex=ve.bind(e),e.config.globalProperties.$axios=Ae,e.config.globalProperties.$delay=new de,e.config.globalProperties.$box=(...t)=>new Ke(e,...t)})).use((e=>{e.config.globalProperties.$filter={date:(e,t)=>e?ye(e).format(t):"",point:(e,t)=>e?parseFloat(e).toFixed(t):e}})).mount("#app");export{ut as S,lt as T,Me as _,Re as u}; diff --git a/app/www/assets/index.628df380.js b/app/www/assets/index.628df380.js deleted file mode 100644 index 902ae11f..00000000 --- a/app/www/assets/index.628df380.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r,T as a}from"./index.87b897a1.js";import{r as e,j as t,d as s,J as n,x as i,y as d,B as o}from"./vendor/vue_3.2.20.js.843b181b.js";const m={class:"terminal",ref:"terminal"},p=["id"];var l=r({name:"Xterm",components:{},props:{id:String,path:String},setup(r){const i=e(null),{getTerminal:d,fitAddon:o}=t(a),m=d(r.id,r.path);return s((()=>{m.term.open(i.value),m.term.focus()})),n((()=>{})),{termWrap:i}}},[["render",function(r,a,e,t,s,n){return i(),d("div",m,[o("div",{ref:"termWrap",id:e.id,class:"terminal-pane"},null,8,p)],512)}],["__scopeId","data-v-028cbdbf"]]);export{l as X}; diff --git a/app/www/assets/index.078a7031.css b/app/www/assets/index.8475571b.css similarity index 54% rename from app/www/assets/index.078a7031.css rename to app/www/assets/index.8475571b.css index 1ccfadac..7391f4ed 100644 --- a/app/www/assets/index.078a7031.css +++ b/app/www/assets/index.8475571b.css @@ -1 +1 @@ -@import"//at.alicdn.com/t/font_1436880_3cxq2hcdlfv.css";.v3-box[data-v-703a9198]{position:relative;border:1px solid #ebeef5;background:#fff;display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:minmax(0,auto) auto minmax(0,auto);grid-template-areas:"a" "b" "c";grid-auto-flow:row dense;justify-items:stretch;align-items:stretch;gap:0}.v3-box[data-v-703a9198]:hover{box-shadow:0 0 12px rgba(0,0,0,.1)}.v3-box .v3-box-ico[data-v-703a9198]{padding:10px;position:absolute;top:0;right:0;z-index:1;display:flex;justify-content:flex-end;box-sizing:border-box;flex-wrap:10px}.v3-box .v3-box-ico span[data-v-703a9198]{width:30px;height:30px;line-height:100%;text-align:center;margin-left:10px;display:flex;justify-content:center;align-items:center;color:#666;cursor:pointer}.v3-box .v3-box-ico span[data-v-703a9198]:hover{color:#333}.v3-box .v3-box-ico .v3-box-close[data-v-703a9198]{font-size:20px}.v3-box .v3-box-ico .v3-box-max[data-v-703a9198]{font-size:18px}.v3-box .v3-box-ico .v3-box-filter[data-v-703a9198]{margin-top:-1px;margin-right:10px}.v3-box .v3-box-header[data-v-703a9198]{grid-area:a;padding:10px 20px;overflow:hidden;border-bottom:1px solid #ebeef5;font-size:16px;height:50px;min-height:50px;line-height:30px;box-sizing:border-box}.v3-box .v3-box-content[data-v-703a9198]{grid-area:b;position:relative;z-index:0;padding:20px;overflow:auto}.v3-box .v3-box-content.no-header[data-v-703a9198]{padding:0}.v3-box .v3-box-content.message[data-v-703a9198]{text-align:center}.v3-box .v3-box-footer[data-v-703a9198]{grid-area:c;padding:10px;height:60px;text-align:center;border-top:1px solid #ebeef5;box-sizing:border-box}.v3-box .v3-box-footer .btn[data-v-703a9198]{display:inline-block;margin:0 10px;padding:0 20px;width:110px;line-height:38px;height:40px;border:1px solid;cursor:pointer;border-radius:4px;box-sizing:border-box;color:#5a5a5a;background:#fff;border-color:#ebeef5}.v3-box.one-btn .v3-box-header[data-v-703a9198]{padding:10px 60px 10px 20px}.v3-box.two-btn .v3-box-header[data-v-703a9198]{padding:10px 100px 10px 20px}.v3-box.no-btn .v3-box-header[data-v-703a9198]{padding:10px 20px;text-align:center}@keyframes zoomIns-703a9198{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoomIns[data-v-703a9198]{animation-name:zoomIns-703a9198}._v3-split-box_1fvmh_1{position:relative;z-index:0;display:flex;height:100%;width:100%;box-sizing:border-box;align-items:stretch;justify-content:stretch}._v3-split-box_1fvmh_1 ._v3-split-bar_1fvmh_11{overflow:hidden;background:#f8f8f8;border:1px solid #ebeef5;display:flex;align-items:stretch;justify-content:center}._v3-split-box_1fvmh_1 ._v3-split-bar_1fvmh_11 span{display:inline-block;border:1px solid #e1e1e1}._v3-split-box_1fvmh_1 ._v3-split-panel_1fvmh_23{box-sizing:border-box;overflow:auto}._v3-split-box_1fvmh_1 ._v3-split-panel_1fvmh_23._v3-split-panel-2_1fvmh_27{flex:1}._v3-split-box_1fvmh_1._horizontal_1fvmh_30>._v3-split-bar_1fvmh_11{top:0;bottom:0;border-width:0 1px;width:4px;height:100%;flex-direction:column;cursor:col-resize}._v3-split-box_1fvmh_1._horizontal_1fvmh_30>._v3-split-bar_1fvmh_11 span{border-width:1px 0;height:4px;margin:2px 0}._v3-split-box_1fvmh_1._vertical_1fvmh_44{flex-direction:column}._v3-split-box_1fvmh_1._vertical_1fvmh_44>._v3-split-bar_1fvmh_11{left:0;right:0;border-width:1px 0;height:4px;width:100%;cursor:row-resize}._v3-split-box_1fvmh_1._vertical_1fvmh_44>._v3-split-bar_1fvmh_11 span{border-width:0 1px;width:4px;margin:0 2px}.v3-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:4px;border:0;box-sizing:border-box;color:inherit;display:block;font-size:16px;height:41px;outline:0;overflow:hidden;position:relative;text-align:center}.v3-button+.v3-button{margin-left:10px}.v3-button:after{background-color:#000;content:" ";opacity:0;top:0;right:0;bottom:0;left:0;position:absolute}.v3-button:not(.is-disabled):active:after{opacity:.1}.v3-button.is-disabled{opacity:.6}.v3-button-icon{vertical-align:middle;display:inline-block}.v3-button--default{color:#656b79;background-color:#f6f8fa;box-shadow:0 0 1px #b8bbbf}.v3-button--default.is-plain{border:1px solid #5a5a5a;background-color:transparent;box-shadow:none;color:#5a5a5a}.v3-button--primary{color:#fff;background-color:#17c0ae}.v3-button--primary.is-plain{border:1px solid #17c0ae;background-color:transparent;color:#17c0ae}.v3-button--danger{color:#fff;background-color:#ef4f4f}.v3-button--danger.is-plain{border:1px solid #ef4f4f;background-color:transparent;color:#ef4f4f}.v3-button--large{display:block;width:100%}.v3-button--normal{display:inline-block;padding:0 28px}.v3-button--small{display:inline-block;font-size:14px;padding:0 20px;height:33px}.v3-button--mini{display:inline-block;font-size:14px;padding:0 16px;height:33px}.fade-in-linear-enter-active,.fade-in-linear-leave-active{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.fade-in-linear-enter,.fade-in-linear-leave,.fade-in-linear-leave-active{opacity:0}.v3-fade-in-linear-enter-active,.v3-fade-in-linear-leave-active{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.v3-fade-in-linear-enter,.v3-fade-in-linear-leave,.v3-fade-in-linear-leave-active{opacity:0}.v3-fade-in-enter-active,.v3-fade-in-leave-active{-webkit-transition:all .3s cubic-bezier(.55,0,.1,1);transition:all .3s cubic-bezier(.55,0,.1,1)}.v3-fade-in-enter,.v3-fade-in-leave-active{opacity:0}.v3-zoom-in-center-enter-active,.v3-zoom-in-center-leave-active{-webkit-transition:all .3s cubic-bezier(.55,0,.1,1);transition:all .3s cubic-bezier(.55,0,.1,1)}.v3-zoom-in-center-enter,.v3-zoom-in-center-leave-active{opacity:0;-webkit-transform:scaleX(0);transform:scaleX(0)}.v3-zoom-in-top-enter-active,.v3-zoom-in-top-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:center top;transform-origin:center top}.v3-zoom-in-top-enter,.v3-zoom-in-top-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.v3-zoom-in-bottom-enter-active,.v3-zoom-in-bottom-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:center bottom;transform-origin:center bottom}.v3-zoom-in-bottom-enter,.v3-zoom-in-bottom-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.v3-zoom-in-left-enter-active,.v3-zoom-in-left-leave-active{opacity:1;-webkit-transform:scale(1,1);transform:scale(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:top left;transform-origin:top left}.v3-zoom-in-left-enter,.v3-zoom-in-left-leave-active{opacity:0;-webkit-transform:scale(.45,.45);transform:scale(.45)}.collapse-transition{-webkit-transition:.3s height ease-in-out,.3s padding-top ease-in-out,.3s padding-bottom ease-in-out;transition:.3s height ease-in-out,.3s padding-top ease-in-out,.3s padding-bottom ease-in-out}.horizontal-collapse-transition{-webkit-transition:.3s width ease-in-out,.3s padding-left ease-in-out,.3s padding-right ease-in-out;transition:.3s width ease-in-out,.3s padding-left ease-in-out,.3s padding-right ease-in-out}.v3-list-enter-active,.v3-list-leave-active{-webkit-transition:all 1s;transition:all 1s}.v3-list-enter,.v3-list-leave-active{opacity:0;-webkit-transform:translateY(-30px);transform:translateY(-30px)}.v3-opacity-transition{-webkit-transition:opacity .3s cubic-bezier(.55,0,.1,1);transition:opacity .3s cubic-bezier(.55,0,.1,1)}.v3-collapse{border-top:1px solid #ebeef5;border-bottom:1px solid #ebeef5}.v3-collapse-item.is-disabled .v3-collapse-item__header{color:#bbb;cursor:not-allowed}.v3-collapse-item__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:48px;line-height:48px;background-color:#fff;color:#303133;cursor:pointer;border-bottom:1px solid #ebeef5;font-size:13px;font-weight:500;-webkit-transition:border-bottom-color .3s;transition:border-bottom-color .3s;outline:0}.v3-collapse-item__arrow{margin:0 8px 0 auto;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;font-weight:300}.v3-collapse-item__arrow.is-active{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.v3-collapse-item__header.focusing:focus:not(:hover){color:#409eff}.v3-collapse-item__header.is-active{border-bottom-color:transparent}.v3-collapse-item__wrap{will-change:height;background-color:#fff;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #ebeef5}.v3-collapse-item__content{padding-bottom:25px;font-size:13px;color:#303133;line-height:1.76923077}.v3-collapse-item:last-child{margin-bottom:-1px}html,body,ul,li,dl,dt,dd,h1,h2,h3,h4,h5,p,pre,code,input,textarea,div{padding:0;margin:0;font-size:inherit;font-family:"JetBrains Mono",Menlo,consolas,"Microsoft YaHei","PingFangSC-Regular","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","WenQuanYi Micro Hei",sans-serif}img{border:0;max-width:100%}:focus{outline:0}html,body{font-size:14px;width:100%;height:100%;color:#333;background:#e2e7ef}.w{position:relative;width:1180px;margin:0 auto}input:-webkit-autofill,select:-webkit-autofill,textarea:-webkit-autofill{box-shadow:0 0 0 1000px #fff inset!important}input::-webkit-input-placeholder,select::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#ccc;font-size:14px}table{border-collapse:collapse}a{color:inherit;text-decoration:none}li{list-style:none}em{font-style:normal}.clear{clear:both}.clearfix{clear:both}.clearfix:before,.clearfix:after{content:" ";display:block}.clearfix:after{clear:both}.fl{float:left}.fr{float:right}.row{display:flex}.row>*{flex-shrink:0}.row.center{align-items:center;justify-content:center}.column{display:flex!important;flex-direction:column}.column>*{flex-shrink:0}.flex-wrap{flex-wrap:wrap}.align-center{align-items:center}.align-top{align-items:flex-start}.align-end{align-items:flex-end}.justify-center{justify-content:center}.justify-top{justify-content:flex-start}.justify-between{justify-content:space-between}.justify-end{justify-content:flex-end}.col-1{flex:1}.col-2{flex:2}.col-3{flex:3}.col-4{flex:4}.col-5{flex:5}.col-6{flex:6}.col-7{flex:7}.col-8{flex:8}.col-9{flex:9}.col-10{flex:10}.col-11{flex:11}.col-12{flex:12}.col-13{flex:13}.col-14{flex:14}.col-15{flex:15}.col-16{flex:16}.col-17{flex:17}.col-18{flex:18}.col-19{flex:19}.col-20{flex:20}.col-21{flex:21}.col-22{flex:22}.col-23{flex:23}.col-24{flex:24}.mask{position:fixed;top:0;left:0;right:0;bottom:0;z-index:100;display:flex;justify-content:center;align-items:center}.iconfont{font-size:inherit;-webkit-text-stroke-width:0}.link{cursor:pointer}html,body{background:#2c3e50}#app{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#fff;height:100%}#app #nav{padding:30px;position:fixed;z-index:99;bottom:10px;left:10px}#app #nav a{font-weight:bold;color:#fff}#app #nav a.router-link-exact-active{color:#42b983}#project{display:flex;flex-direction:column;height:100%}#project .head{height:110px;padding:0 20px;background:#3a5169;text-align:center}#project .head .title{display:flex;line-height:66px}#project .head .title .left{width:120px;text-align:left}#project .head .title .right{width:120px;text-align:right}#project .head .title h1{flex:1;color:#fff;font:300 24px/66px "JetBrains Mono"}#project .head .menu a{font-size:16px;line-height:42px;display:inline-block;padding:0 20px;color:#fff;border-bottom:2px solid #3a5169}#project .head .menu a.router-link-active,#project .head .menu a:hover,#project .head .menu a:active{background:#4e6e8e;border-color:#4e6e8e}#project .head .menu a.router-link-active{color:#c486fb;border-color:#c486fb}#project .routerView{flex:1} +@import"//at.alicdn.com/t/font_1436880_3cxq2hcdlfv.css";.v3-box[data-v-703a9198]{position:relative;border:1px solid #ebeef5;background:#fff;display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:minmax(0,auto) auto minmax(0,auto);grid-template-areas:"a" "b" "c";grid-auto-flow:row dense;justify-items:stretch;align-items:stretch;gap:0}.v3-box[data-v-703a9198]:hover{box-shadow:0 0 12px rgba(0,0,0,.1)}.v3-box .v3-box-ico[data-v-703a9198]{padding:10px;position:absolute;top:0;right:0;z-index:1;display:flex;justify-content:flex-end;box-sizing:border-box;flex-wrap:10px}.v3-box .v3-box-ico span[data-v-703a9198]{width:30px;height:30px;line-height:100%;text-align:center;margin-left:10px;display:flex;justify-content:center;align-items:center;color:#666;cursor:pointer}.v3-box .v3-box-ico span[data-v-703a9198]:hover{color:#333}.v3-box .v3-box-ico .v3-box-close[data-v-703a9198]{font-size:20px}.v3-box .v3-box-ico .v3-box-max[data-v-703a9198]{font-size:18px}.v3-box .v3-box-ico .v3-box-filter[data-v-703a9198]{margin-top:-1px;margin-right:10px}.v3-box .v3-box-header[data-v-703a9198]{grid-area:a;padding:10px 20px;overflow:hidden;border-bottom:1px solid #ebeef5;font-size:16px;height:50px;min-height:50px;line-height:30px;box-sizing:border-box}.v3-box .v3-box-content[data-v-703a9198]{grid-area:b;position:relative;z-index:0;padding:20px;overflow:auto}.v3-box .v3-box-content.no-header[data-v-703a9198]{padding:0}.v3-box .v3-box-content.message[data-v-703a9198]{text-align:center}.v3-box .v3-box-footer[data-v-703a9198]{grid-area:c;padding:10px;height:60px;text-align:center;border-top:1px solid #ebeef5;box-sizing:border-box}.v3-box .v3-box-footer .btn[data-v-703a9198]{display:inline-block;margin:0 10px;padding:0 20px;width:110px;line-height:38px;height:40px;border:1px solid;cursor:pointer;border-radius:4px;box-sizing:border-box;color:#5a5a5a;background:#fff;border-color:#ebeef5}.v3-box.one-btn .v3-box-header[data-v-703a9198]{padding:10px 60px 10px 20px}.v3-box.two-btn .v3-box-header[data-v-703a9198]{padding:10px 100px 10px 20px}.v3-box.no-btn .v3-box-header[data-v-703a9198]{padding:10px 20px;text-align:center}@keyframes zoomIns-703a9198{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoomIns[data-v-703a9198]{animation-name:zoomIns-703a9198}._v3-split-box_1fvmh_1{position:relative;z-index:0;display:flex;height:100%;width:100%;box-sizing:border-box;align-items:stretch;justify-content:stretch}._v3-split-box_1fvmh_1 ._v3-split-bar_1fvmh_11{overflow:hidden;background:#f8f8f8;border:1px solid #ebeef5;display:flex;align-items:stretch;justify-content:center}._v3-split-box_1fvmh_1 ._v3-split-bar_1fvmh_11 span{display:inline-block;border:1px solid #e1e1e1}._v3-split-box_1fvmh_1 ._v3-split-panel_1fvmh_23{box-sizing:border-box;overflow:auto}._v3-split-box_1fvmh_1 ._v3-split-panel_1fvmh_23._v3-split-panel-2_1fvmh_27{flex:1}._v3-split-box_1fvmh_1._horizontal_1fvmh_30>._v3-split-bar_1fvmh_11{top:0;bottom:0;border-width:0 1px;width:4px;height:100%;flex-direction:column;cursor:col-resize}._v3-split-box_1fvmh_1._horizontal_1fvmh_30>._v3-split-bar_1fvmh_11 span{border-width:1px 0;height:4px;margin:2px 0}._v3-split-box_1fvmh_1._vertical_1fvmh_44{flex-direction:column}._v3-split-box_1fvmh_1._vertical_1fvmh_44>._v3-split-bar_1fvmh_11{left:0;right:0;border-width:1px 0;height:4px;width:100%;cursor:row-resize}._v3-split-box_1fvmh_1._vertical_1fvmh_44>._v3-split-bar_1fvmh_11 span{border-width:0 1px;width:4px;margin:0 2px}.v3-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:4px;border:0;box-sizing:border-box;color:inherit;display:block;font-size:16px;height:41px;outline:0;overflow:hidden;position:relative;text-align:center}.v3-button+.v3-button{margin-left:10px}.v3-button:after{background-color:#000;content:" ";opacity:0;top:0;right:0;bottom:0;left:0;position:absolute}.v3-button:not(.is-disabled):active:after{opacity:.1}.v3-button.is-disabled{opacity:.6}.v3-button-icon{vertical-align:middle;display:inline-block}.v3-button--default{color:#656b79;background-color:#f6f8fa;box-shadow:0 0 1px #b8bbbf}.v3-button--default.is-plain{border:1px solid #5a5a5a;background-color:transparent;box-shadow:none;color:#5a5a5a}.v3-button--primary{color:#fff;background-color:#17c0ae}.v3-button--primary.is-plain{border:1px solid #17c0ae;background-color:transparent;color:#17c0ae}.v3-button--danger{color:#fff;background-color:#ef4f4f}.v3-button--danger.is-plain{border:1px solid #ef4f4f;background-color:transparent;color:#ef4f4f}.v3-button--large{display:block;width:100%}.v3-button--normal{display:inline-block;padding:0 28px}.v3-button--small{display:inline-block;font-size:14px;padding:0 20px;height:33px}.v3-button--mini{display:inline-block;font-size:14px;padding:0 16px;height:33px}.fade-in-linear-enter-active,.fade-in-linear-leave-active{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.fade-in-linear-enter,.fade-in-linear-leave,.fade-in-linear-leave-active{opacity:0}.v3-fade-in-linear-enter-active,.v3-fade-in-linear-leave-active{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.v3-fade-in-linear-enter,.v3-fade-in-linear-leave,.v3-fade-in-linear-leave-active{opacity:0}.v3-fade-in-enter-active,.v3-fade-in-leave-active{-webkit-transition:all .3s cubic-bezier(.55,0,.1,1);transition:all .3s cubic-bezier(.55,0,.1,1)}.v3-fade-in-enter,.v3-fade-in-leave-active{opacity:0}.v3-zoom-in-center-enter-active,.v3-zoom-in-center-leave-active{-webkit-transition:all .3s cubic-bezier(.55,0,.1,1);transition:all .3s cubic-bezier(.55,0,.1,1)}.v3-zoom-in-center-enter,.v3-zoom-in-center-leave-active{opacity:0;-webkit-transform:scaleX(0);transform:scaleX(0)}.v3-zoom-in-top-enter-active,.v3-zoom-in-top-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:center top;transform-origin:center top}.v3-zoom-in-top-enter,.v3-zoom-in-top-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.v3-zoom-in-bottom-enter-active,.v3-zoom-in-bottom-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:center bottom;transform-origin:center bottom}.v3-zoom-in-bottom-enter,.v3-zoom-in-bottom-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.v3-zoom-in-left-enter-active,.v3-zoom-in-left-leave-active{opacity:1;-webkit-transform:scale(1,1);transform:scale(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:top left;transform-origin:top left}.v3-zoom-in-left-enter,.v3-zoom-in-left-leave-active{opacity:0;-webkit-transform:scale(.45,.45);transform:scale(.45)}.collapse-transition{-webkit-transition:.3s height ease-in-out,.3s padding-top ease-in-out,.3s padding-bottom ease-in-out;transition:.3s height ease-in-out,.3s padding-top ease-in-out,.3s padding-bottom ease-in-out}.horizontal-collapse-transition{-webkit-transition:.3s width ease-in-out,.3s padding-left ease-in-out,.3s padding-right ease-in-out;transition:.3s width ease-in-out,.3s padding-left ease-in-out,.3s padding-right ease-in-out}.v3-list-enter-active,.v3-list-leave-active{-webkit-transition:all 1s;transition:all 1s}.v3-list-enter,.v3-list-leave-active{opacity:0;-webkit-transform:translateY(-30px);transform:translateY(-30px)}.v3-opacity-transition{-webkit-transition:opacity .3s cubic-bezier(.55,0,.1,1);transition:opacity .3s cubic-bezier(.55,0,.1,1)}.v3-collapse{border-top:1px solid #ebeef5;border-bottom:1px solid #ebeef5}.v3-collapse-item.is-disabled .v3-collapse-item__header{color:#bbb;cursor:not-allowed}.v3-collapse-item__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:48px;line-height:48px;background-color:#fff;color:#303133;cursor:pointer;border-bottom:1px solid #ebeef5;font-size:13px;font-weight:500;-webkit-transition:border-bottom-color .3s;transition:border-bottom-color .3s;outline:0}.v3-collapse-item__arrow{margin:0 8px 0 auto;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;font-weight:300}.v3-collapse-item__arrow.is-active{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.v3-collapse-item__header.focusing:focus:not(:hover){color:#409eff}.v3-collapse-item__header.is-active{border-bottom-color:transparent}.v3-collapse-item__wrap{will-change:height;background-color:#fff;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #ebeef5}.v3-collapse-item__content{padding-bottom:25px;font-size:13px;color:#303133;line-height:1.76923077}.v3-collapse-item:last-child{margin-bottom:-1px}.fade-in-linear-enter-active,.fade-in-linear-leave-active{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.fade-in-linear-enter,.fade-in-linear-leave,.fade-in-linear-leave-active{opacity:0}.v3-fade-in-linear-enter-active,.v3-fade-in-linear-leave-active{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.v3-fade-in-linear-enter,.v3-fade-in-linear-leave,.v3-fade-in-linear-leave-active{opacity:0}.v3-fade-in-enter-active,.v3-fade-in-leave-active{-webkit-transition:all .3s cubic-bezier(.55,0,.1,1);transition:all .3s cubic-bezier(.55,0,.1,1)}.v3-fade-in-enter,.v3-fade-in-leave-active{opacity:0}.v3-zoom-in-center-enter-active,.v3-zoom-in-center-leave-active{-webkit-transition:all .3s cubic-bezier(.55,0,.1,1);transition:all .3s cubic-bezier(.55,0,.1,1)}.v3-zoom-in-center-enter,.v3-zoom-in-center-leave-active{opacity:0;-webkit-transform:scaleX(0);transform:scaleX(0)}.v3-zoom-in-top-enter-active,.v3-zoom-in-top-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:center top;transform-origin:center top}.v3-zoom-in-top-enter,.v3-zoom-in-top-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.v3-zoom-in-bottom-enter-active,.v3-zoom-in-bottom-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:center bottom;transform-origin:center bottom}.v3-zoom-in-bottom-enter,.v3-zoom-in-bottom-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.v3-zoom-in-left-enter-active,.v3-zoom-in-left-leave-active{opacity:1;-webkit-transform:scale(1,1);transform:scale(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:top left;transform-origin:top left}.v3-zoom-in-left-enter,.v3-zoom-in-left-leave-active{opacity:0;-webkit-transform:scale(.45,.45);transform:scale(.45)}.collapse-transition{-webkit-transition:.3s height ease-in-out,.3s padding-top ease-in-out,.3s padding-bottom ease-in-out;transition:.3s height ease-in-out,.3s padding-top ease-in-out,.3s padding-bottom ease-in-out}.horizontal-collapse-transition{-webkit-transition:.3s width ease-in-out,.3s padding-left ease-in-out,.3s padding-right ease-in-out;transition:.3s width ease-in-out,.3s padding-left ease-in-out,.3s padding-right ease-in-out}.v3-list-enter-active,.v3-list-leave-active{-webkit-transition:all 1s;transition:all 1s}.v3-list-enter,.v3-list-leave-active{opacity:0;-webkit-transform:translateY(-30px);transform:translateY(-30px)}.v3-opacity-transition{-webkit-transition:opacity .3s cubic-bezier(.55,0,.1,1);transition:opacity .3s cubic-bezier(.55,0,.1,1)}.v3-collapse{border-top:1px solid #ebeef5;border-bottom:1px solid #ebeef5}.v3-collapse-item.is-disabled .v3-collapse-item__header{color:#bbb;cursor:not-allowed}.v3-collapse-item__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:48px;line-height:48px;background-color:#fff;color:#303133;cursor:pointer;border-bottom:1px solid #ebeef5;font-size:13px;font-weight:500;-webkit-transition:border-bottom-color .3s;transition:border-bottom-color .3s;outline:0}.v3-collapse-item__arrow{margin:0 8px 0 auto;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;font-weight:300}.v3-collapse-item__arrow.is-active{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.v3-collapse-item__header.focusing:focus:not(:hover){color:#409eff}.v3-collapse-item__header.is-active{border-bottom-color:transparent}.v3-collapse-item__wrap{will-change:height;background-color:#fff;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #ebeef5}.v3-collapse-item__content{padding-bottom:25px;font-size:13px;color:#303133;line-height:1.76923077}.v3-collapse-item:last-child{margin-bottom:-1px}html,body,ul,li,dl,dt,dd,h1,h2,h3,h4,h5,p,pre,code,input,textarea,div{padding:0;margin:0;font-size:inherit;font-family:JetBrains Mono,Menlo,consolas,Microsoft YaHei,PingFangSC-Regular,Helvetica Neue,Helvetica,Arial,Hiragino Sans GB,WenQuanYi Micro Hei,sans-serif}img{border:0;max-width:100%}:focus{outline:0}html,body{font-size:14px;width:100%;height:100%;color:#333;background:#e2e7ef}.w{position:relative;width:1180px;margin:0 auto}input:-webkit-autofill,select:-webkit-autofill,textarea:-webkit-autofill{box-shadow:0 0 0 1000px #fff inset!important}input::-webkit-input-placeholder,select::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#ccc;font-size:14px}table{border-collapse:collapse}a{color:inherit;text-decoration:none}li{list-style:none}em{font-style:normal}.clear,.clearfix{clear:both}.clearfix:before,.clearfix:after{content:" ";display:block}.clearfix:after{clear:both}.fl{float:left}.fr{float:right}.row{display:flex}.row>*{flex-shrink:0}.row.center{align-items:center;justify-content:center}.column{display:flex!important;flex-direction:column}.column>*{flex-shrink:0}.flex-wrap{flex-wrap:wrap}.align-center{align-items:center}.align-top{align-items:flex-start}.align-end{align-items:flex-end}.justify-center{justify-content:center}.justify-top{justify-content:flex-start}.justify-between{justify-content:space-between}.justify-end{justify-content:flex-end}.col-1{flex:1}.col-2{flex:2}.col-3{flex:3}.col-4{flex:4}.col-5{flex:5}.col-6{flex:6}.col-7{flex:7}.col-8{flex:8}.col-9{flex:9}.col-10{flex:10}.col-11{flex:11}.col-12{flex:12}.col-13{flex:13}.col-14{flex:14}.col-15{flex:15}.col-16{flex:16}.col-17{flex:17}.col-18{flex:18}.col-19{flex:19}.col-20{flex:20}.col-21{flex:21}.col-22{flex:22}.col-23{flex:23}.col-24{flex:24}.mask{position:fixed;top:0;left:0;right:0;bottom:0;z-index:100;display:flex;justify-content:center;align-items:center}.iconfont{font-size:inherit;-webkit-text-stroke-width:0}.link{cursor:pointer}html,body{background:#2c3e50}#app{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#fff;height:100%}#app #nav{padding:30px;position:fixed;z-index:99;bottom:10px;left:10px}#app #nav a{font-weight:700;color:#fff}#app #nav a.router-link-exact-active{color:#42b983}#project{display:flex;flex-direction:column;height:100%}#project .head{height:110px;padding:0 20px;background:#3a5169;text-align:center}#project .head .title{display:flex;line-height:66px}#project .head .title .left{width:120px;text-align:left}#project .head .title .right{width:120px;text-align:right}#project .head .title h1{flex:1;color:#fff;font:300 24px/66px JetBrains Mono}#project .head .menu a{font-size:16px;line-height:42px;display:inline-block;padding:0 20px;color:#fff;border-bottom:2px solid #3a5169}#project .head .menu a.router-link-active,#project .head .menu a:hover,#project .head .menu a:active{background:#4e6e8e;border-color:#4e6e8e}#project .head .menu a.router-link-active{color:#c486fb;border-color:#c486fb}#project .routerView{flex:1} diff --git a/app/www/assets/index.87b897a1.js b/app/www/assets/index.87b897a1.js deleted file mode 100644 index 5dfd1f07..00000000 --- a/app/www/assets/index.87b897a1.js +++ /dev/null @@ -1 +0,0 @@ -var e=Object.defineProperty,t=Object.defineProperties,n=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,s=(t,n,o)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,a=(e,t,n)=>(s(e,"symbol"!=typeof t?t+"":t,n),n);export function __vite_legacy_guard(){import("data:text/javascript,")}import{m as c,p as l,_ as u,c as h,u as p,r as d,w as f,af as m,n as v,U as y,ae as g,R as b,x as k,M as w,O as x,B as _,y as C,z as E,I as S,E as A,F as O,a3 as j,H as B,A as N,T,ag as R,ah as P,d as L,X as I,K as H,j as z,a6 as M,P as $,Q as D,G as q,g as F,q as V,Z as W,ai as U}from"./vendor/vue_3.2.20.js.843b181b.js";import{E as K,a as Y,b as J,c as X,d as G,e as Q,f as Z,g as ee,h as te,i as ne,j as oe,k as re,l as ie,m as se,n as ae}from"./vendor/element-plus_1.1.0-beta.24.js.bf425c11.js";import{a as ce}from"./vendor/axios_0.23.0.js.3f49b9ab.js";import{l as le}from"./vendor/qs_6.10.1.js.6d009611.js";import{a as ue,f as he,r as pe,d as de,e as fe,n as me}from"./vendor/js-cool_2.2.4.js.f9ee5fc3.js";import{v as ve}from"./vendor/uuid_8.3.2.js.8656f24a.js";import{d as ye}from"./vendor/dayjs_1.10.7.js.de411334.js";import{c as ge,x as be}from"./vendor/xterm_4.14.1.js.4d8f2388.js";import{c as ke}from"./vendor/xterm-style_1.1.0.js.323fb105.js";import{x as we}from"./vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js";import{x as xe}from"./vendor/xterm-addon-search_0.8.1.js.d370edfa.js";import{x as _e}from"./vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js";import{c as Ce,a as Ee}from"./vendor/vue-router_4.0.12.js.e0928a4d.js";import{c as Se}from"./vendor/vuex_4.0.2.js.f8c5ab46.js";import"./vendor/lodash_4.17.21.js.96bc0cd8.js";import"./vendor/async-validator_4.0.7.js.656181ea.js";import"./vendor/resize-observer-polyfill_1.5.1.js.3b3964c6.js";import"./vendor/side-channel_1.0.4.js.cbb25fc8.js";import"./vendor/get-intrinsic_1.1.1.js.d604dad5.js";import"./vendor/has-symbols_1.0.2.js.208f1d3f.js";import"./vendor/function-bind_1.1.1.js.34bf890b.js";import"./vendor/has_1.0.3.js.e7f09f2c.js";import"./vendor/call-bind_1.0.2.js.ad02ab55.js";import"./vendor/object-inspect_1.11.0.js.1111bad4.js";import"./vendor/core-js_3.18.3.js.a64c1281.js";function Ae(e){return new Promise(((t,n)=>{const o=ce.create();o.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",o.defaults.headers.common["Access-Control-Allow-Origin"]="*",o.interceptors.request.use((t=>{const n=e.type;return t.data=Object.assign({},{_time:Date.now()},t.data),"post"==n?(t.method="post",t.data=le.stringify(t.data,{arrayFormat:"indices",allowDots:!0})):(t.method="get",t.params=t.data),t}),(e=>Promise.reject(e))),o.interceptors.response.use((t=>t.data.success||"text"===e.responseType?t.data:Promise.reject(t.data)),(e=>Promise.reject(e))),o(e).then((e=>{t(e)})).catch((e=>{e instanceof Error&&console.log(e)}))}))}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerpolicy&&(t.referrerPolicy=e.referrerpolicy),"use-credentials"===e.crossorigin?t.credentials="include":"anonymous"===e.crossorigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const Oe="undefined"!=typeof window,je=()=>{},Be=Oe?window:void 0;function Ne(...e){let t,n,o,r;if("string"==typeof e[0]?([n,o,r]=e,t=Be):[t,n,o,r]=e,!t)return je;let i=je;const s=f((()=>p(t)),(e=>{i(),e&&(e.addEventListener(n,o,r),i=()=>{e.removeEventListener(n,o,r),i=je})}),{immediate:!0,flush:"post"}),a=()=>{s(),i()};var u;return u=a,c()&&l(u),a}Oe&&window.document,Oe&&window.navigator;const Te={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Re(e={}){const{reactive:t=!1,target:n=Be,aliasMap:o=Te,passive:r=!0,onEventFired:i=je}=e,s=u(new Set),a={toJSON:()=>({}),current:s},c=t?u(a):a;function l(e,n){const o=e.key.toLowerCase(),r=[e.code.toLowerCase(),o];n?s.add(e.code):s.delete(e.code);for(const i of r)i in c&&(t?c[i]=n:c[i].value=n)}n&&(Ne(n,"keydown",(e=>(l(e,!0),i(e))),{passive:r}),Ne(n,"keyup",(e=>(l(e,!1),i(e))),{passive:r}));const f=new Proxy(c,{get(e,n,r){if("string"!=typeof n)return Reflect.get(e,n,r);if((n=n.toLowerCase())in o&&(n=o[n]),!(n in c))if(/[+_-]/.test(n)){const e=n.split(/[+_-]/g).map((e=>e.trim()));c[n]=h((()=>e.every((e=>p(f[e])))))}else c[n]=d(!1);const i=Reflect.get(e,n,r);return t?p(i):i}});return f}var Pe,Le;(Le=Pe||(Pe={})).UP="UP",Le.RIGHT="RIGHT",Le.DOWN="DOWN",Le.LEFT="LEFT",Le.NONE="NONE";var Ie=(e,t)=>{for(const[n,o]of t)e[n]=o;return e};const He={name:"v3Box",components:{ElButton:K},props:{opacity:{type:Number,default:.4},title:{type:String,required:!0,default:"提示"},width:{type:String,default:"640px"},maxWidth:{type:String},height:String,maxHeight:{type:String,default:"480px"},message:String,okBtnName:{type:String,default:"确定"},cancelBtnName:{type:String,default:"取消"},defaultMax:{type:Boolean,default:!1},showOkBtn:{type:Boolean,default:!0},showCancelBtn:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},showHeader:{type:Boolean,default:!0},showBtn:{type:Boolean,default:!0},showMax:{type:Boolean,default:!0},options:{type:Object,default:()=>({})},component:{type:Object,default:()=>({})},hide:Function,onOk:Function,onCancel:Function,onClose:Function},setup(e,{slots:t,emit:n,attrs:o}){const r=new de,i=u({zIndex:0,instance:null,isAppendContent:!1,maxW:"640px",maxH:"360px",mWidth:null,mHeight:null,max:!1}),s=d(null),a=d(null),c=d(null),l=h((()=>e.showMax?e.showClose?2:1:e.showClose?1:0)),{enter:f}=Re();m((()=>{f.value&&w()}));const b=()=>{r.register("windowReSize",k,500)},k=()=>{let t=110-(e.showBtn?0:60)-(e.showHeader?0:50),n=e.showHeader?0:40,o=he(window.innerWidth>320?window.innerWidth-20:300),r=he(window.innerHeight>300+t?window.innerHeight-t-60+n:240+n),s=parseInt(e.maxHeight||e.height||r||480),a=parseInt(e.maxWidth||e.width||o||600);i.maxW=Math.min(a,o)+"px",i.maxH=Math.min(s,r)+"px",i.max&&(i.mWidth=o+"px",i.mHeight=r+"px")},w=()=>{e.onOk&&"function"==typeof e.onOk?e.onOk(i.instance).then((()=>{e.hide()})):x()},x=()=>{pe(window,"resize",i.reSize),i.instance=null,g(null,a.value),e.hide()};return i.max=p(e.defaultMax),i.maxH=p(e.maxHeight),i.maxW=p(e.maxWidth)||p(e.width),k(),v((()=>{i.instance=y(e.component),i.instance.props=p(e.options),g(i.instance,a.value),i.isAppendContent=!0,ue(window,"resize",b),e.showBtn&&e.showOkBtn?c.value.focus():s.value.focus()})),{v3Box:s,boxContent:a,mainBtn:c,data:i,btns:l,handleOk:w,handleCancel:()=>{x(),e.onCancel&&"function"==typeof e.onCancel&&e.onCancel()},handleClose:()=>{x(),e.onClose&&"function"==typeof e.onClose&&e.onClose()},handleMax:()=>{let t=110-(e.showBtn?0:60)-(e.showHeader?0:50),n=e.showHeader?0:40,o=he(window.innerWidth>320?window.innerWidth-20:300),r=he(window.innerHeight>300+t?window.innerHeight-t-60+n:240+n);i.max?(i.max=!1,i.mWidth=null,i.mHeight=null):(i.max=!0,i.mWidth=o+"px",i.mHeight=r+"px")}}}},ze=["innerHTML"],Me=["innerHTML"],$e={key:3,class:"v3-box-footer"},De={class:"v3-box-ico"},qe=(e=>(R("data-v-703a9198"),e=e(),P(),e))((()=>_("div",{class:"v3-box-filter"},null,-1)));var Fe=Ie(He,[["render",function(e,t,n,o,r,i){const s=b("el-button");return k(),w(T,{name:"fade"},{default:x((()=>[_("div",{ref:"v3Box",class:A(["v3-box",{"one-btn":1===o.btns,"two-btn":2===o.btns,"no-btn":0===o.btns}]),style:S({width:o.data.mWidth||n.width,maxWidth:o.data.max?"":o.data.maxW})},[n.showHeader?(k(),C("div",{key:0,class:"v3-box-header",innerHTML:n.title},null,8,ze)):E("",!0),n.message&&!n.component?(k(),C("div",{key:1,ref:"boxContent",class:"v3-box-content message",innerHTML:n.message,style:S({height:o.data.mHeight||n.height,maxHeight:o.data.max?"":o.data.maxH,minHeight:o.data.mHeight})},null,12,Me)):E("",!0),n.component&&!n.message?(k(),C("div",{key:2,ref:"boxContent",class:A(["v3-box-content",{"no-header":!n.showHeader}]),style:S({height:o.data.mHeight||n.height,maxHeight:o.data.max?"":o.data.maxH,minHeight:o.data.mHeight})},null,6)):E("",!0),n.showBtn?(k(),C("div",$e,[e.$slots.footer?E("",!0):(k(),C(O,{key:0},[n.showOkBtn?(k(),w(s,{key:0,ref:"mainBtn",type:"primary",class:"btn-main",autofocus:"",onClick:o.handleOk},{default:x((()=>[j(B(n.okBtnName),1)])),_:1},8,["onClick"])):E("",!0),n.showCancelBtn?(k(),w(s,{key:1,onClick:o.handleCancel},{default:x((()=>[j(B(n.cancelBtnName),1)])),_:1},8,["onClick"])):E("",!0)],64)),e.$slots.footer?N(e.$slots,"footer",{key:1},void 0,!0):E("",!0)])):E("",!0),_("div",De,[qe,n.showMax&&o.data.max?(k(),C("span",{key:0,class:"v3-box-max iconfont icon-tuichuquanping",title:"恢复默认",onClick:t[0]||(t[0]=(...e)=>o.handleMax&&o.handleMax(...e))})):E("",!0),n.showMax&&!o.data.max?(k(),C("span",{key:1,class:"v3-box-max iconfont icon-quanping",title:"最大化",onClick:t[1]||(t[1]=(...e)=>o.handleMax&&o.handleMax(...e))})):E("",!0),n.showClose?(k(),C("span",{key:2,class:"v3-box-close iconfont icon-close",title:"关闭",onClick:t[2]||(t[2]=(...e)=>o.handleClose&&o.handleClose(...e))})):E("",!0)])],6)])),_:3})}],["__scopeId","data-v-703a9198"]]);const Ve={opacity:.4,title:"提示",width:"640px",height:"360px",message:null,okBtnName:"确定",cancelBtnName:"取消",defaultMax:!1,showOkBtn:!0,showCancelBtn:!0,showClose:!0,showHeader:!0,showBtn:!0,showMax:!0,options:{}};class We{constructor(e,c,l){var u;a(this,"$el"),a(this,"instance"),l=fe(!0,{},Ve,l),this.$el=document.createElement("div"),this.$el.className="mask",this.$el.style.zIndex=String(me(1e3,2e4)),this.$el.style.background="rgba(0, 0, 0, "+l.opacity+")",this.$el.id=ve(),this.instance=y(Fe),this.instance.props=(u=((e,t)=>{for(var n in t||(t={}))r.call(t,n)&&s(e,n,t[n]);if(o)for(var n of o(t))i.call(t,n)&&s(e,n,t[n]);return e})({},l),t(u,n({component:c,hide:()=>{this.hide()}}))),document.body.appendChild(this.$el),this.show()}show(){g(this.instance,this.$el)}hide(){g(null,this.$el),document.body.removeChild(this.$el),this.$el=null,this.instance=null,delete this.$el,delete this.instance}}var Ue={"v3-split-box":"_v3-split-box_1fvmh_1","v3-split-bar":"_v3-split-bar_1fvmh_11","v3-split-panel":"_v3-split-panel_1fvmh_23","v3-split-panel-2":"_v3-split-panel-2_1fvmh_27",horizontal:"_horizontal_1fvmh_30",vertical:"_vertical_1fvmh_44"};const Ke={name:"v3Split",props:{mode:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].indexOf(e)>-1},modelValue:{type:[Number,String],default:"50%",validator:e=>/^([0-9]+)(%|px)?$/.test(e)},min:{type:[Number,String],default:0},max:{type:[Number,String],default:"100%"}},setup(e,{slots:t,emit:n}){const o=new de,r=u({size:50,suffix:"%",pos:{},boxSize:0,moving:!1}),i=d(null),s=h((()=>Math.round(r.size/100*r.boxSize))),a=h((()=>{let n=0+r.size;return"horizontal"===e.mode?t.right?t.left||(n=0):n=100:t.bottom?this.$slots.top||(n=0):n=100,{["horizontal"===e.mode?"width":"height"]:n+"%"}}));f((()=>e.modelValue),(e=>{e&&("%"===r.suffix?r.size=he(parseFloat(e),2):r.boxSize>0&&(r.size=he(100*parseFloat(e)/r.boxSize,2)))})),f((()=>r.size),(t=>{let o=("%"!==r.suffix?s:t)+r.suffix;o!=e.modelValue&&0!==s&&n("input",o)}));const c=e=>{let t,n,o=(e.style.WebkitTransform||getComputedStyle(e,"").getPropertyValue("-webkit-transform")||e.style.transform||getComputedStyle(e,"").getPropertyValue("transform")).match(/\-?[0-9]+\.?[0-9]*/g);return o?(t=parseInt(o[12]||o[4]||0),n=parseInt(o[13]||o[5]||0),{x:t,y:n}):{x:0,y:0}},l=t=>(String(e.min).indexOf("%")>1?t=Math.max(t,parseInt(e.min)):r.boxSize>0&&(t=Math.max(t,he(100*parseInt(e.min)/r.boxSize,2))),String(e.max).indexOf("%")>1?t=Math.min(t,parseInt(e.max)):r.boxSize>0&&(t=Math.min(t,he(100*parseInt(e.max)/r.boxSize,2))),t),p=e=>{let t=0,n=0,o=0,r=0;for(;e.offsetParent;){let o=c(e);t+=e.offsetLeft+o.x,n+=e.offsetTop+o.y,e=e.offsetParent}for(;e.parentNode;)o+=e.scrollLeft,r+=e.scrollTop,e=e.parentNode;return{x:t,y:n,left:o,top:r}},m=t=>{let o=t.target;for(r.boxSize=parseInt("horizontal"===e.mode?i.value.clientWidth:i.value.clientHeight);o.parentNode;){if(o.parentNode.className.indexOf(Ue.v3SplitBox)>-1){r.pos=p(o.parentNode);break}o=o.parentNode}t.preventDefault(),t.stopPropagation(),n("move-start"),ue(document,"mousemove",v),ue(document,"mouseup",y)},v=t=>{r.moving=!0,n("moving",t),o.register("v3SplitOnmouseMove",(()=>{let n;n="horizontal"===e.mode?t.pageX+r.pos.left-r.pos.x:t.pageY+r.pos.top-r.pos.y,r.size=l(he(100*n/r.boxSize,2))}),50,!0),t.preventDefault()},y=()=>{r.moving=!1,n("move-end"),pe(document,"mousemove",v),pe(document,"mouseup",y)};return String(e.modelValue).replace(/^([0-9]+)(%|px)?$/,((e,t,n)=>{"%"===n&&(r.size=l(parseInt(t))),r.suffix=n||""})),L((()=>{r.boxSize=parseInt("horizontal"===e.mode?i.value.clientWidth:i.value.clientHeight),"%"!==r.suffix&&(r.size=l(he(100*parseInt(e.modelValue)/r.boxSize,2)))})),()=>I("div",{class:[Ue.v3SplitBox,Ue[e.mode],r.moving?" moving":""],ref:i},t.default?t.default():[I("div",{class:[Ue.v3SplitPanel,Ue.v3SplitPanel1],style:a.value},"horizontal"===e.mode?t.left():t.top()),("horizontal"===e.mode&&t.left&&t.right||"vertical"===e.mode&&t.top&&t.bottom)&&I("div",{class:Ue.v3SplitBar,onMousedown:m},[I("span"),I("span"),I("span"),I("span")]),I("div",{class:[Ue.v3SplitPanel,Ue.v3SplitPanel2]},"horizontal"===e.mode?t.right():t.bottom())])}};const Ye={name:"v3Button",inheritAttrs:!1,props:{icon:String,disabled:Boolean,nativeType:String,plain:Boolean,type:{type:String,default:"default",validator:e=>["default","danger","primary"].indexOf(e)>-1},size:{type:String,default:"normal",validator:e=>["mini","small","normal","large"].indexOf(e)>-1}},setup(e,{slots:t,emit:n}){const o=e=>{n("click",e)};return()=>[I("button",{type:e.nativeType,class:["v3-button","v3-button--"+e.size,"v3-button--"+e.type,{"is-disabled":e.disabled,"is-plain":e.plain}],onClick:o,disabled:e.disabled},[t.icon?[I("span",{class:["v3-button-icon"]},t.icon())," "]:e.icon&&[I("span",{class:["v3-button-icon"]},I("i",{class:["iconfont","icon-"+e.icon]}))," "]||null,I("label",{class:["v3-button-text"]},t.default())])]}};var Je=Ie({name:"v3Collapse",componentName:"v3Collapse",props:{accordion:Boolean,modelValue:{type:[Array,String,Number],default:()=>[]}},setup(e,{slots:t,emit:n}){const o=d([]);o.value=[].concat(e.modelValue),f((()=>e.modelValue),(e=>{console.log("collapse value change",e)}));const r=t=>{t=[].concat(t);let r=e.accordion?t[0]:t;o.value=t,n("update:modelValue",r)},i=t=>{if(e.accordion)r(!o.value[0]&&0!==o.value[0]||o.value[0]!==t.name?t.name:"");else{let e=o.value.slice(0),n=e.indexOf(t.name);n>-1?e.splice(n,1):e.push(t.name),r(e)}};return H("collapse",{activeNames:o,handleItemClick:i}),{activeNames:o,setActiveNames:r,handleItemClick:i}}},[["render",function(e,t,n,o,r,i){return k(),C("div",{class:"v3-collapse",role:"tablist","aria-multiselectable":"true",onItemClick:t[0]||(t[0]=(...e)=>o.handleItemClick&&o.handleItemClick(...e))},[N(e.$slots,"default")],32)}]]);function Xe(e,t,n){this.$children.forEach((o=>{o.$options.componentName===e?o.$emit.apply(o,[t].concat(n)):Xe.apply(o,[e,t].concat([n]))}))}function Ge(e){return{dispatch:(t,n,o)=>{for(var r=e.$parent||e.$root,i=r.$options.componentName;r&&(!i||i!==t);)(r=r.$parent)&&(i=r.$options.componentName);r&&r.$emit.apply(r,[n].concat(o))},broadcast:(t,n,o)=>{Xe.call(e,t,n,o)}}}const Qe={name:"v3CollapseItem",componentName:"v3CollapseItem",props:{title:String,name:{type:[String,Number],default(){return this._uid}},disabled:Boolean},setup(e,{slots:t,emit:n,attrs:o}){const{proxy:r,appContext:i}=F(),{dispatch:s}=Ge(r),{activeNames:a,handleItemClick:c}=z("collapse"),l=u({height:"auto",display:"block"}),p=d(0),f=d(!1),m=d(!1),v=d(Math.floor(1e4*Math.random())),y=h((()=>a.value.indexOf(e.name)>-1));return{contentWrapStyle:l,contentHeight:p,focusing:f,isClick:m,id:v,isActive:y,handleFocus:()=>{setTimeout((()=>{m.value?m.value=!1:f.value=!0}),50)},handleHeaderClick:()=>{e.disabled||(s("v3Collapse","item-click",r),c&&c(r),f.value=!1,m.value=!0)},handleEnterClick:()=>{s("v3Collapse","item-click",r)}}}},Ze=["aria-expanded","aria-controls","aria-describedby"],et=["id","tabindex"],tt=["aria-hidden","aria-labelledby","id"],nt={class:"v3-collapse-item__content"};var ot=Ie(Qe,[["render",function(e,t,n,o,r,i){return k(),C("div",{class:A(["v3-collapse-item",{"is-active":o.isActive,"is-disabled":n.disabled}])},[_("div",{role:"tab","aria-expanded":o.isActive,"aria-controls":`v3-collapse-content-${o.id}`,"aria-describedby":`v3-collapse-content-${o.id}`},[_("div",{class:A(["v3-collapse-item__header",{focusing:o.focusing,"is-active":o.isActive}]),onClick:t[0]||(t[0]=(...e)=>o.handleHeaderClick&&o.handleHeaderClick(...e)),role:"button",id:`v3-collapse-head-${o.id}`,tabindex:n.disabled?void 0:0,onKeyup:t[1]||(t[1]=M(q(((...e)=>o.handleEnterClick&&o.handleEnterClick(...e)),["stop"]),["space","enter"])),onFocus:t[2]||(t[2]=(...e)=>o.handleFocus&&o.handleFocus(...e)),onBlur:t[3]||(t[3]=e=>o.focusing=!1)},[N(e.$slots,"title",{},(()=>[j(B(n.title),1)])),_("span",{class:A(["v3-collapse-item__arrow iconfont icon-right",{"is-active":o.isActive}])},null,2)],42,et)],8,Ze),$(_("div",{class:"v3-collapse-item__wrap",role:"tabpanel","aria-hidden":!o.isActive,"aria-labelledby":`v3-collapse-head-${o.id}`,id:`v3-collapse-content-${o.id}`},[_("div",nt,[N(e.$slots,"default")])],8,tt),[[D,o.isActive]])],2)}]]);var rt={install:e=>{e.component(Ke.name,Ke),e.component(Ye.name,Ye),e.component(Je.name,Je),e.component(ot.name,ot),e.component(Fe.name,Fe)},v3Split:Ke,v3Button:Ye,v3Collapse:Je,v3CollapseItem:ot},it={exports:{}},st=it.exports=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})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}var y=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,g=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],b=function(e){var t=e,n=e.indexOf("["),o=e.indexOf("]");-1!=n&&-1!=o&&(e=e.substring(0,n)+e.substring(n,o).replace(/:/g,";")+e.substring(o,e.length));for(var r=y.exec(e||""),i={},s=14;s--;)i[g[s]]=r[s]||"";return-1!=n&&-1!=o&&(i.source=t,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=k(i,i.path),i.queryKey=w(i,i.query),i};function k(e,t){var n=/\/{2,9}/g,o=t.replace(n,"/").split("/");return"/"!=t.substr(0,1)&&0!==t.length||o.splice(0,1),"/"==t.substr(t.length-1,1)&&o.splice(o.length-1,1),o}function w(e,t){var n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,o){t&&(n[t]=o)})),n}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,o=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),o=b(e)),o.port||(/^(http|ws)$/.test(o.protocol)?o.port="80":/^(http|ws)s$/.test(o.protocol)&&(o.port="443")),o.path=o.path||"/";var r=-1!==o.host.indexOf(":")?"["+o.host+"]":o.host;return o.id=o.protocol+"://"+r+":"+o.port+t,o.href=o.protocol+"://"+r+(n&&n.port===o.port?"":":"+o.port),o}var _={exports:{}};try{_.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(Ze){_.exports=!1}var C=_.exports,E="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function S(e){var t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||C))return new XMLHttpRequest}catch(n){}if(!t)try{return new(E[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(n){}}function A(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o>4,u[c++]=(15&o)<<4|r>>2,u[c++]=(3&r)<<6|63&i;return l},K="function"==typeof ArrayBuffer,Y=function(e,t){if("string"!=typeof e)return{type:"message",data:X(e,t)};var n=e.charAt(0);return"b"===n?{type:"message",data:J(e.substring(1),t)}:L[n]?e.length>1?{type:L[n],data:e.substring(1)}:{type:L[n]}:I},J=function(e,t){if(K){var n=U(e);return X(n,t)}return{base64:!0,data:e}},X=function(e,t){return"blob"===t&&e instanceof ArrayBuffer?new Blob([e]):e},G=String.fromCharCode(30),Q=function(e,t){var n=e.length,o=new Array(n),r=0;e.forEach((function(e,i){$(e,!1,(function(e){o[i]=e,++r===n&&t(o.join(G))}))}))},Z=function(e,t){for(var n=e.split(G),o=[],r=0;r0);return t}function ce(e){var t=0;for(se=0;se0&&void 0!==arguments[0]?arguments[0]:{};return r(e,{xd:this.xd,xs:this.xs},this.opts),new ve(this.uri(),e)}},{key:"doWrite",value:function(e,t){var n=this,o=this.request({method:"POST",data:e});o.on("success",t),o.on("error",(function(e){n.onError("xhr post error",e)}))}},{key:"doPoll",value:function(){var e=this,t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(function(t){e.onError("xhr poll error",t)})),this.pollXhr=t}}]),s}(pe),ve=function(e){i(r,e);var n=h(r);function r(e,o){var i;return t(this,r),B(l(i=n.call(this)),o),i.opts=o,i.method=o.method||"GET",i.uri=e,i.async=!1!==o.async,i.data=void 0!==o.data?o.data:null,i.create(),i}return o(r,[{key:"create",value:function(){var e=this,t=A(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;var n=this.xhr=new S(t);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders)for(var o in n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0),this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(o)&&n.setRequestHeader(o,this.opts.extraHeaders[o])}catch(i){}if("POST"===this.method)try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(i){}try{n.setRequestHeader("Accept","*/*")}catch(i){}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=function(){4===n.readyState&&(200===n.status||1223===n.status?e.onLoad():e.setTimeoutFn((function(){e.onError("number"==typeof n.status?n.status:0)}),0))},n.send(this.data)}catch(i){return void this.setTimeoutFn((function(){e.onError(i)}),0)}"undefined"!=typeof document&&(this.index=r.requestsCount++,r.requests[this.index]=this)}},{key:"onSuccess",value:function(){this.emit("success"),this.cleanup()}},{key:"onData",value:function(e){this.emit("data",e),this.onSuccess()}},{key:"onError",value:function(e){this.emit("error",e),this.cleanup(!0)}},{key:"cleanup",value:function(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=de,e)try{this.xhr.abort()}catch(t){}"undefined"!=typeof document&&delete r.requests[this.index],this.xhr=null}}},{key:"onLoad",value:function(){var e=this.xhr.responseText;null!==e&&this.onData(e)}},{key:"abort",value:function(){this.cleanup()}}]),r}(N);function ye(){for(var e in ve.requests)ve.requests.hasOwnProperty(e)&&ve.requests[e].abort()}ve.requestsCount=0,ve.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",ye):"function"==typeof addEventListener&&addEventListener("onpagehide"in E?"pagehide":"unload",ye,!1));var ge="function"==typeof Promise&&"function"==typeof Promise.resolve?function(e){return Promise.resolve().then(e)}:function(e,t){return t(e,0)},be=E.WebSocket||E.MozWebSocket,ke=!0,we="arraybuffer",xe="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),_e={websocket:function(e){i(r,e);var n=h(r);function r(e){var o;return t(this,r),(o=n.call(this,e)).supportsBinary=!e.forceBase64,o}return o(r,[{key:"name",get:function(){return"websocket"}},{key:"doOpen",value:function(){if(this.check()){var e=this.uri(),t=this.opts.protocols,n=xe?{}:A(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=ke&&!xe?t?new be(e,t):new be(e):new be(e,t,n)}catch(Ze){return this.emit("error",Ze)}this.ws.binaryType=this.socket.binaryType||we,this.addEventListeners()}}},{key:"addEventListeners",value:function(){var e=this;this.ws.onopen=function(){e.opts.autoUnref&&e.ws._socket.unref(),e.onOpen()},this.ws.onclose=this.onClose.bind(this),this.ws.onmessage=function(t){return e.onData(t.data)},this.ws.onerror=function(t){return e.onError("websocket error",t)}}},{key:"write",value:function(e){var t=this;this.writable=!1;for(var n=function(n){var o=e[n],r=n===e.length-1;$(o,t.supportsBinary,(function(e){try{ke&&t.ws.send(e)}catch(n){}r&&ge((function(){t.writable=!0,t.emit("drain")}),t.setTimeoutFn)}))},o=0;o1&&void 0!==arguments[1]?arguments[1]:{};return t(this,a),o=s.call(this),n&&"object"===e(n)&&(i=n,n=null),n?(n=b(n),i.hostname=n.host,i.secure="https"===n.protocol||"wss"===n.protocol,i.port=n.port,n.query&&(i.query=n.query)):i.host&&(i.hostname=b(i.host).host),B(l(o),i),o.secure=null!=i.secure?i.secure:"undefined"!=typeof location&&"https:"===location.protocol,i.hostname&&!i.port&&(i.port=o.secure?"443":"80"),o.hostname=i.hostname||("undefined"!=typeof location?location.hostname:"localhost"),o.port=i.port||("undefined"!=typeof location&&location.port?location.port:o.secure?"443":"80"),o.transports=i.transports||["polling","websocket"],o.readyState="",o.writeBuffer=[],o.prevBufferLen=0,o.opts=r({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},i),o.opts.path=o.opts.path.replace(/\/$/,"")+"/","string"==typeof o.opts.query&&(o.opts.query=he.decode(o.opts.query)),o.id=null,o.upgrades=null,o.pingInterval=null,o.pingTimeout=null,o.pingTimeoutTimer=null,"function"==typeof addEventListener&&(o.opts.closeOnBeforeunload&&addEventListener("beforeunload",(function(){o.transport&&(o.transport.removeAllListeners(),o.transport.close())}),!1),"localhost"!==o.hostname&&(o.offlineEventListener=function(){o.onClose("transport close")},addEventListener("offline",o.offlineEventListener,!1))),o.open(),o}return o(a,[{key:"createTransport",value:function(e){var t=Ee(this.opts.query);t.EIO=ee,t.transport=e,this.id&&(t.sid=this.id);var n=r({},this.opts.transportOptions[e],this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new _e[e](n)}},{key:"open",value:function(){var e,t=this;if(this.opts.rememberUpgrade&&a.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((function(){t.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(n){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}},{key:"setTransport",value:function(e){var t=this;this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(function(){t.onClose("transport close")}))}},{key:"probe",value:function(e){var t=this,n=this.createTransport(e),o=!1;a.priorWebsocketSuccess=!1;var r=function(){o||(n.send([{type:"ping",data:"probe"}]),n.once("packet",(function(e){if(!o)if("pong"===e.type&&"probe"===e.data){if(t.upgrading=!0,t.emitReserved("upgrading",n),!n)return;a.priorWebsocketSuccess="websocket"===n.name,t.transport.pause((function(){o||"closed"!==t.readyState&&(h(),t.setTransport(n),n.send([{type:"upgrade"}]),t.emitReserved("upgrade",n),n=null,t.upgrading=!1,t.flush())}))}else{var r=new Error("probe error");r.transport=n.name,t.emitReserved("upgradeError",r)}})))};function i(){o||(o=!0,h(),n.close(),n=null)}var s=function(e){var o=new Error("probe error: "+e);o.transport=n.name,i(),t.emitReserved("upgradeError",o)};function c(){s("transport closed")}function l(){s("socket closed")}function u(e){n&&e.name!==n.name&&i()}var h=function(){n.removeListener("open",r),n.removeListener("error",s),n.removeListener("close",c),t.off("close",l),t.off("upgrading",u)};n.once("open",r),n.once("error",s),n.once("close",c),this.once("close",l),this.once("upgrading",u),n.open()}},{key:"onOpen",value:function(){if(this.readyState="open",a.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause)for(var e=0,t=this.upgrades.length;e0;case He.ACK:case He.BINARY_ACK:return Array.isArray(n)}}}]),a}(N);function qe(e){try{return JSON.parse(e)}catch(t){return!1}}var Fe=function(){function e(n){t(this,e),this.packet=n,this.buffers=[],this.reconPack=n}return o(e,[{key:"takeBinaryData",value:function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=Le(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}},{key:"finishedReconstruction",value:function(){this.reconPack=null,this.buffers=[]}}]),e}(),Ve=Object.freeze({__proto__:null,protocol:Me,get PacketType(){return He},Encoder:$e,Decoder:De});function We(e,t,n){return e.on(t,n),function(){e.off(t,n)}}var Ue=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),Ke=function(e){i(r,e);var n=h(r);function r(e,o,i){var s;return t(this,r),(s=n.call(this)).connected=!1,s.disconnected=!0,s.receiveBuffer=[],s.sendBuffer=[],s.ids=0,s.acks={},s.flags={},s.io=e,s.nsp=o,i&&i.auth&&(s.auth=i.auth),s.io._autoConnect&&s.open(),s}return o(r,[{key:"subEvents",value:function(){if(!this.subs){var e=this.io;this.subs=[We(e,"open",this.onopen.bind(this)),We(e,"packet",this.onpacket.bind(this)),We(e,"error",this.onerror.bind(this)),We(e,"close",this.onclose.bind(this))]}}},{key:"active",get:function(){return!!this.subs}},{key:"connect",value:function(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}},{key:"open",value:function(){return this.connect()}},{key:"send",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),o=1;o0&&e.jitter<=1?e.jitter:0,this.attempts=0}Je.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},Je.prototype.reset=function(){this.attempts=0},Je.prototype.setMin=function(e){this.ms=e},Je.prototype.setMax=function(e){this.max=e},Je.prototype.setJitter=function(e){this.jitter=e};var Xe=function(n){i(s,n);var r=h(s);function s(n,o){var i,a;t(this,s),(i=r.call(this)).nsps={},i.subs=[],n&&"object"===e(n)&&(o=n,n=void 0),(o=o||{}).path=o.path||"/socket.io",i.opts=o,B(l(i),o),i.reconnection(!1!==o.reconnection),i.reconnectionAttempts(o.reconnectionAttempts||1/0),i.reconnectionDelay(o.reconnectionDelay||1e3),i.reconnectionDelayMax(o.reconnectionDelayMax||5e3),i.randomizationFactor(null!==(a=o.randomizationFactor)&&void 0!==a?a:.5),i.backoff=new Ye({min:i.reconnectionDelay(),max:i.reconnectionDelayMax(),jitter:i.randomizationFactor()}),i.timeout(null==o.timeout?2e4:o.timeout),i._readyState="closed",i.uri=n;var c=o.parser||Ve;return i.encoder=new c.Encoder,i.decoder=new c.Decoder,i._autoConnect=!1!==o.autoConnect,i._autoConnect&&i.open(),i}return o(s,[{key:"reconnection",value:function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}},{key:"reconnectionAttempts",value:function(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}},{key:"reconnectionDelay",value:function(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}},{key:"randomizationFactor",value:function(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}},{key:"reconnectionDelayMax",value:function(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}},{key:"timeout",value:function(e){return arguments.length?(this._timeout=e,this):this._timeout}},{key:"maybeReconnectOnOpen",value:function(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}},{key:"open",value:function(e){var t=this;if(~this._readyState.indexOf("open"))return this;this.engine=new Ce(this.uri,this.opts);var n=this.engine,o=this;this._readyState="opening",this.skipReconnect=!1;var r=We(n,"open",(function(){o.onopen(),e&&e()})),i=We(n,"error",(function(n){o.cleanup(),o._readyState="closed",t.emitReserved("error",n),e?e(n):o.maybeReconnectOnOpen()}));if(!1!==this._timeout){var s=this._timeout;0===s&&r();var a=this.setTimeoutFn((function(){r(),n.close(),n.emit("error",new Error("timeout"))}),s);this.opts.autoUnref&&a.unref(),this.subs.push((function(){clearTimeout(a)}))}return this.subs.push(r),this.subs.push(i),this}},{key:"connect",value:function(e){return this.open(e)}},{key:"onopen",value:function(){this.cleanup(),this._readyState="open",this.emitReserved("open");var e=this.engine;this.subs.push(We(e,"ping",this.onping.bind(this)),We(e,"data",this.ondata.bind(this)),We(e,"error",this.onerror.bind(this)),We(e,"close",this.onclose.bind(this)),We(this.decoder,"decoded",this.ondecoded.bind(this)))}},{key:"onping",value:function(){this.emitReserved("ping")}},{key:"ondata",value:function(e){this.decoder.add(e)}},{key:"ondecoded",value:function(e){this.emitReserved("packet",e)}},{key:"onerror",value:function(e){this.emitReserved("error",e)}},{key:"socket",value:function(e,t){var n=this.nsps[e];return n||(n=new Ke(this,e,t),this.nsps[e]=n),n}},{key:"_destroy",value:function(e){for(var t=0,n=Object.keys(this.nsps);t=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{var n=this.backoff.duration();this._reconnecting=!0;var o=this.setTimeoutFn((function(){t.skipReconnect||(e.emitReserved("reconnect_attempt",t.backoff.attempts),t.skipReconnect||t.open((function(n){n?(t._reconnecting=!1,t.reconnect(),e.emitReserved("reconnect_error",n)):t.onreconnect()})))}),n);this.opts.autoUnref&&o.unref(),this.subs.push((function(){clearTimeout(o)}))}}},{key:"onreconnect",value:function(){var e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}]),s}(N),Ge={};function Qe(t,n){"object"===e(t)&&(n=t,t=void 0);var o,r=x(t,(n=n||{}).path||"/socket.io"),i=r.source,s=r.id,a=r.path,c=Ge[s]&&a in Ge[s].nsps;return n.forceNew||n["force new connection"]||!1===n.multiplex||c?o=new Xe(i,n):(Ge[s]||(Ge[s]=new Xe(i,n)),o=Ge[s]),r.query&&!n.query&&(n.query=r.queryKey),o.socket(r.path,n)}return r(Qe,{Manager:Xe,Socket:Ke,io:Qe,connect:Qe}),Qe}();const at=Symbol("Terminal"),ct=Symbol("Socket");const lt=V({setup(e){const t=location.origin,n=st(`${t}/terminal`,{reconnection:!0}),o=st(`${t}/gitmars`,{reconnection:!0}),r=new we.exports.FitAddon,i=new xe.exports.SearchAddon,s=u({});return H(ct,{socket:n,socketGitmars:o}),H(at,{getTerminal:(e,t="",o=100,a=20)=>(s[e]||(s[e]={term:new be.exports.Terminal({theme:ke,fontSize:12,fontWeight:300,lineHeight:1.1,fontFamily:'"JetBrains Mono", Menlo, consolas, "Microsoft YaHei", "PingFangSC-Regular", Avenir, Helvetica, Arial, sans-serif',cols:o,rows:a,windowOptions:{setWinSizePixels:!0}}),name:"terminal-"+e,pid:null},s[e].term.loadAddon(new _e.exports.WebLinksAddon),s[e].term.loadAddon(r),s[e].term.loadAddon(i),s[e].term.onData((t=>{n.emit(s[e].name+"-input",t)})),n.on(s[e].name+"-output",(t=>{s[e].term.write(t)})),n.on(s[e].name+"-pid",(t=>{console.info("pid: ",t),s[e].pid=t})),n.emit("create",{name:s[e].name,cwd:t}),window.addEventListener("resize",(()=>{s[e].term.fit()}))),s[e]),fitAddon:r}),L((()=>{})),(e,t)=>{const n=b("router-view");return k(),w(W,{to:"#app",class:"app"},[y(n)])}}}),ut={},ht=function(e,t){return t&&0!==t.length?Promise.all(t.map((e=>{if((e=`/${e}`)in ut)return;ut[e]=!0;const t=e.endsWith(".css"),n=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${n}`))return;const o=document.createElement("link");return o.rel=t?"stylesheet":"modulepreload",t||(o.as="script",o.crossOrigin=""),o.href=e,document.head.appendChild(o),t?new Promise(((e,t)=>{o.addEventListener("load",e),o.addEventListener("error",t)})):void 0}))).then((()=>e())):e()},pt=[{path:"/",name:"Home",redirect:"/project/list"},{path:"/project",name:"project",component:()=>ht((()=>import("./index.dd0264d0.js")),["assets/index.dd0264d0.js","assets/vendor/vue-router_4.0.12.js.e0928a4d.js","assets/vendor/vue_3.2.20.js.843b181b.js"]),children:[{path:"list",name:"project_list",component:()=>ht((()=>import("./list.a5d782c4.js")),["assets/list.a5d782c4.js","assets/list.9d527928.css","assets/vendor/vue_3.2.20.js.843b181b.js","assets/vendor/vue-router_4.0.12.js.e0928a4d.js","assets/use-current-instance.44876874.js","assets/vendor/element-plus_1.1.0-beta.24.js.bf425c11.js","assets/vendor/element-plus_1.1.0-beta.24.js.0204916b.css","assets/vendor/lodash_4.17.21.js.96bc0cd8.js","assets/vendor/xterm_4.14.1.js.4d8f2388.js","assets/vendor/xterm_4.14.1.js.bd231455.css","assets/vendor/dayjs_1.10.7.js.de411334.js","assets/vendor/async-validator_4.0.7.js.656181ea.js","assets/vendor/resize-observer-polyfill_1.5.1.js.3b3964c6.js","assets/vendor/axios_0.23.0.js.3f49b9ab.js","assets/vendor/qs_6.10.1.js.6d009611.js","assets/vendor/side-channel_1.0.4.js.cbb25fc8.js","assets/vendor/get-intrinsic_1.1.1.js.d604dad5.js","assets/vendor/has-symbols_1.0.2.js.208f1d3f.js","assets/vendor/function-bind_1.1.1.js.34bf890b.js","assets/vendor/has_1.0.3.js.e7f09f2c.js","assets/vendor/call-bind_1.0.2.js.ad02ab55.js","assets/vendor/object-inspect_1.11.0.js.1111bad4.js","assets/vendor/js-cool_2.2.4.js.f9ee5fc3.js","assets/vendor/core-js_3.18.3.js.a64c1281.js","assets/vendor/uuid_8.3.2.js.8656f24a.js","assets/vendor/xterm-style_1.1.0.js.323fb105.js","assets/vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js","assets/vendor/xterm-addon-search_0.8.1.js.d370edfa.js","assets/vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js","assets/vendor/vuex_4.0.2.js.f8c5ab46.js"])},{path:"add",name:"project_add",component:()=>ht((()=>import("./add.41ec2698.js")),["assets/add.41ec2698.js","assets/add.ac943c3d.css","assets/vendor/vue_3.2.20.js.843b181b.js","assets/vendor/vue-router_4.0.12.js.e0928a4d.js","assets/use-current-instance.44876874.js","assets/vendor/element-plus_1.1.0-beta.24.js.bf425c11.js","assets/vendor/element-plus_1.1.0-beta.24.js.0204916b.css","assets/vendor/lodash_4.17.21.js.96bc0cd8.js","assets/vendor/xterm_4.14.1.js.4d8f2388.js","assets/vendor/xterm_4.14.1.js.bd231455.css","assets/vendor/dayjs_1.10.7.js.de411334.js","assets/vendor/async-validator_4.0.7.js.656181ea.js","assets/vendor/resize-observer-polyfill_1.5.1.js.3b3964c6.js","assets/vendor/axios_0.23.0.js.3f49b9ab.js","assets/vendor/qs_6.10.1.js.6d009611.js","assets/vendor/side-channel_1.0.4.js.cbb25fc8.js","assets/vendor/get-intrinsic_1.1.1.js.d604dad5.js","assets/vendor/has-symbols_1.0.2.js.208f1d3f.js","assets/vendor/function-bind_1.1.1.js.34bf890b.js","assets/vendor/has_1.0.3.js.e7f09f2c.js","assets/vendor/call-bind_1.0.2.js.ad02ab55.js","assets/vendor/object-inspect_1.11.0.js.1111bad4.js","assets/vendor/js-cool_2.2.4.js.f9ee5fc3.js","assets/vendor/core-js_3.18.3.js.a64c1281.js","assets/vendor/uuid_8.3.2.js.8656f24a.js","assets/vendor/xterm-style_1.1.0.js.323fb105.js","assets/vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js","assets/vendor/xterm-addon-search_0.8.1.js.d370edfa.js","assets/vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js","assets/vendor/vuex_4.0.2.js.f8c5ab46.js"])}]},{path:"/control",name:"control",component:()=>ht((()=>import("./index.c500ab57.js")),["assets/index.c500ab57.js","assets/index.56abfa7a.css","assets/vendor/vue-router_4.0.12.js.e0928a4d.js","assets/vendor/vue_3.2.20.js.843b181b.js","assets/vendor/element-plus_1.1.0-beta.24.js.bf425c11.js","assets/vendor/element-plus_1.1.0-beta.24.js.0204916b.css","assets/vendor/lodash_4.17.21.js.96bc0cd8.js","assets/vendor/xterm_4.14.1.js.4d8f2388.js","assets/vendor/xterm_4.14.1.js.bd231455.css","assets/vendor/dayjs_1.10.7.js.de411334.js","assets/vendor/async-validator_4.0.7.js.656181ea.js","assets/vendor/resize-observer-polyfill_1.5.1.js.3b3964c6.js","assets/vendor/axios_0.23.0.js.3f49b9ab.js","assets/vendor/qs_6.10.1.js.6d009611.js","assets/vendor/side-channel_1.0.4.js.cbb25fc8.js","assets/vendor/get-intrinsic_1.1.1.js.d604dad5.js","assets/vendor/has-symbols_1.0.2.js.208f1d3f.js","assets/vendor/function-bind_1.1.1.js.34bf890b.js","assets/vendor/has_1.0.3.js.e7f09f2c.js","assets/vendor/call-bind_1.0.2.js.ad02ab55.js","assets/vendor/object-inspect_1.11.0.js.1111bad4.js","assets/vendor/js-cool_2.2.4.js.f9ee5fc3.js","assets/vendor/core-js_3.18.3.js.a64c1281.js","assets/vendor/uuid_8.3.2.js.8656f24a.js","assets/vendor/xterm-style_1.1.0.js.323fb105.js","assets/vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js","assets/vendor/xterm-addon-search_0.8.1.js.d370edfa.js","assets/vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js","assets/vendor/vuex_4.0.2.js.f8c5ab46.js"]),children:[{path:"gitmars",name:"control_gitmars",component:()=>ht((()=>import("./gitmars.771f1911.js")),["assets/gitmars.771f1911.js","assets/gitmars.abcd69a4.css","assets/vendor/vue-router_4.0.12.js.e0928a4d.js","assets/vendor/vue_3.2.20.js.843b181b.js","assets/index.628df380.js","assets/index.a6b03632.css","assets/vendor/element-plus_1.1.0-beta.24.js.bf425c11.js","assets/vendor/element-plus_1.1.0-beta.24.js.0204916b.css","assets/vendor/lodash_4.17.21.js.96bc0cd8.js","assets/vendor/xterm_4.14.1.js.4d8f2388.js","assets/vendor/xterm_4.14.1.js.bd231455.css","assets/vendor/dayjs_1.10.7.js.de411334.js","assets/vendor/async-validator_4.0.7.js.656181ea.js","assets/vendor/resize-observer-polyfill_1.5.1.js.3b3964c6.js","assets/use-current-instance.44876874.js","assets/vendor/axios_0.23.0.js.3f49b9ab.js","assets/vendor/qs_6.10.1.js.6d009611.js","assets/vendor/side-channel_1.0.4.js.cbb25fc8.js","assets/vendor/get-intrinsic_1.1.1.js.d604dad5.js","assets/vendor/has-symbols_1.0.2.js.208f1d3f.js","assets/vendor/function-bind_1.1.1.js.34bf890b.js","assets/vendor/has_1.0.3.js.e7f09f2c.js","assets/vendor/call-bind_1.0.2.js.ad02ab55.js","assets/vendor/object-inspect_1.11.0.js.1111bad4.js","assets/vendor/js-cool_2.2.4.js.f9ee5fc3.js","assets/vendor/core-js_3.18.3.js.a64c1281.js","assets/vendor/uuid_8.3.2.js.8656f24a.js","assets/vendor/xterm-style_1.1.0.js.323fb105.js","assets/vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js","assets/vendor/xterm-addon-search_0.8.1.js.d370edfa.js","assets/vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js","assets/vendor/vuex_4.0.2.js.f8c5ab46.js"])},{path:"tasks",name:"control_tasks",component:()=>ht((()=>import("./tasks.5b528c7a.js")),["assets/tasks.5b528c7a.js","assets/tasks.ab67fedf.css","assets/vendor/vue-router_4.0.12.js.e0928a4d.js","assets/vendor/vue_3.2.20.js.843b181b.js","assets/index.628df380.js","assets/index.a6b03632.css","assets/use-current-instance.44876874.js","assets/vendor/element-plus_1.1.0-beta.24.js.bf425c11.js","assets/vendor/element-plus_1.1.0-beta.24.js.0204916b.css","assets/vendor/lodash_4.17.21.js.96bc0cd8.js","assets/vendor/xterm_4.14.1.js.4d8f2388.js","assets/vendor/xterm_4.14.1.js.bd231455.css","assets/vendor/dayjs_1.10.7.js.de411334.js","assets/vendor/async-validator_4.0.7.js.656181ea.js","assets/vendor/resize-observer-polyfill_1.5.1.js.3b3964c6.js","assets/vendor/axios_0.23.0.js.3f49b9ab.js","assets/vendor/qs_6.10.1.js.6d009611.js","assets/vendor/side-channel_1.0.4.js.cbb25fc8.js","assets/vendor/get-intrinsic_1.1.1.js.d604dad5.js","assets/vendor/has-symbols_1.0.2.js.208f1d3f.js","assets/vendor/function-bind_1.1.1.js.34bf890b.js","assets/vendor/has_1.0.3.js.e7f09f2c.js","assets/vendor/call-bind_1.0.2.js.ad02ab55.js","assets/vendor/object-inspect_1.11.0.js.1111bad4.js","assets/vendor/js-cool_2.2.4.js.f9ee5fc3.js","assets/vendor/core-js_3.18.3.js.a64c1281.js","assets/vendor/uuid_8.3.2.js.8656f24a.js","assets/vendor/xterm-style_1.1.0.js.323fb105.js","assets/vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js","assets/vendor/xterm-addon-search_0.8.1.js.d370edfa.js","assets/vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js","assets/vendor/vuex_4.0.2.js.f8c5ab46.js"])}]}],dt=Ce({history:Ee(),routes:pt});var ft=Se({state:{},mutations:{},actions:{},modules:{}});const mt=U(lt);mt.config.globalProperties.$ELEMENT={size:"small",zIndex:5e3},mt.use(Y),mt.use(J),mt.use(X),mt.use(G),mt.use(Q),mt.use(Z),mt.use(K),mt.use(ee),mt.use(te),mt.use(ne),mt.use(oe),mt.use(re),mt.use(ie),mt.use(se),mt.use(ae),mt.use(ft).use(dt).use(rt).use((function(e){e.config.globalProperties.$nextIndex=me.bind(e),e.config.globalProperties.$axios=Ae,e.config.globalProperties.$delay=new de,e.config.globalProperties.$box=(...t)=>new We(e,...t)})).use((e=>{e.config.globalProperties.$filter={date:(e,t)=>e?ye(e).format(t):"",point:(e,t)=>e?parseFloat(e).toFixed(t):e}})).mount("#app");export{ct as S,at as T,Ie as _,Re as u}; diff --git a/app/www/assets/index.c488430d.js b/app/www/assets/index.c488430d.js new file mode 100644 index 00000000..c24b8b63 --- /dev/null +++ b/app/www/assets/index.c488430d.js @@ -0,0 +1 @@ +var e=Object.defineProperty,r=Object.defineProperties,t=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,n=(r,t,o)=>t in r?e(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o;import{u as l,b as c}from"./vendor/vue-router_4.0.12.js.944b7609.js";import{q as i,E as p,s as u,v as f,J as d,A as j,K as v,a5 as b}from"./vendor/vue_3.2.23.js.9f5d2e7e.js";const m={id:"project"},O={class:"head"},y=d("div",{class:"title"},[d("h1",null,"项目管理器")],-1),w={class:"menu"},P=d("span",{class:"iconfont icon-database-fill"},null,-1),_=b(" 项目 "),g=d("span",{class:"iconfont icon-plus-square-fill"},null,-1),h=b(" 导入 ");const q=i((E=((e,r)=>{for(var t in r||(r={}))s.call(r,t)&&n(e,t,r[t]);if(o)for(var t of o(r))a.call(r,t)&&n(e,t,r[t]);return e})({},{name:"Project"}),r(E,t({setup:function(e){const r=l();return"project"===c().name&&r.replace("/project/list"),(e,r)=>{const t=p("router-link"),o=p("router-view");return u(),f("div",m,[d("div",O,[y,d("div",w,[j(t,{to:"/project/list"},{default:v((()=>[P,_])),_:1}),j(t,{to:"/project/add"},{default:v((()=>[g,h])),_:1})])]),j(o,{class:"routerView"})])}}}))));var E;export{q as default}; diff --git a/app/www/assets/index.c500ab57.js b/app/www/assets/index.c500ab57.js deleted file mode 100644 index f762c1cc..00000000 --- a/app/www/assets/index.c500ab57.js +++ /dev/null @@ -1 +0,0 @@ -var e=Object.defineProperty,r=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,n=(r,o,s)=>o in r?e(r,o,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[o]=s;import{u as l,b as i}from"./vendor/vue-router_4.0.12.js.e0928a4d.js";import{_ as d}from"./index.87b897a1.js";import{q as c,r as j,al as p,R as u,x as m,y as v,B as b,U as f,O as _,u as y,H as g,M as x,am as O,ag as q,ah as h}from"./vendor/vue_3.2.20.js.843b181b.js";import"./vendor/element-plus_1.1.0-beta.24.js.bf425c11.js";import"./vendor/lodash_4.17.21.js.96bc0cd8.js";import"./vendor/xterm_4.14.1.js.4d8f2388.js";import"./vendor/dayjs_1.10.7.js.de411334.js";import"./vendor/async-validator_4.0.7.js.656181ea.js";import"./vendor/resize-observer-polyfill_1.5.1.js.3b3964c6.js";import"./vendor/axios_0.23.0.js.3f49b9ab.js";import"./vendor/qs_6.10.1.js.6d009611.js";import"./vendor/side-channel_1.0.4.js.cbb25fc8.js";import"./vendor/get-intrinsic_1.1.1.js.d604dad5.js";import"./vendor/has-symbols_1.0.2.js.208f1d3f.js";import"./vendor/function-bind_1.1.1.js.34bf890b.js";import"./vendor/has_1.0.3.js.e7f09f2c.js";import"./vendor/call-bind_1.0.2.js.ad02ab55.js";import"./vendor/object-inspect_1.11.0.js.1111bad4.js";import"./vendor/js-cool_2.2.4.js.f9ee5fc3.js";import"./vendor/core-js_3.18.3.js.a64c1281.js";import"./vendor/uuid_8.3.2.js.8656f24a.js";import"./vendor/xterm-style_1.1.0.js.323fb105.js";import"./vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js";import"./vendor/xterm-addon-search_0.8.1.js.d370edfa.js";import"./vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js";import"./vendor/vuex_4.0.2.js.f8c5ab46.js";const w=e=>(q("data-v-3b5216d9"),e=e(),h(),e),k={class:"control"},P={class:"menu mini"},I=w((()=>b("span",{class:"iconfont icon-codelibrary"},null,-1))),z=w((()=>b("span",null,"gitmars工作流",-1))),B=w((()=>b("span",{class:"iconfont icon-control"},null,-1))),C=w((()=>b("span",null,"任务",-1))),D=w((()=>b("span",{class:"iconfont icon-left-circle"},null,-1))),E=w((()=>b("span",null,"返回项目列表",-1))),H={key:0,class:"loading"},M=w((()=>b("div",{class:"loading"},"loading...",-1)));const R=c((S=((e,r)=>{for(var o in r||(r={}))t.call(r,o)&&n(e,o,r[o]);if(s)for(var o of s(r))a.call(r,o)&&n(e,o,r[o]);return e})({},{name:"Control"}),r(S,o({setup:function(e,{expose:r}){const o=l(),s=i(),t=j(null);return"control"===s.name&&o.replace({name:"control_gitmars",query:s.query}),p((e=>(t.value=e,!0))),r({router:o,route:s,error:t}),(e,r)=>{const o=u("router-link"),a=u("router-view");return m(),v("div",k,[b("div",P,[b("ul",null,[b("li",null,[f(o,{to:{name:"control_gitmars",query:y(s).query},title:"gitmars工作流"},{default:_((()=>[I,z])),_:1},8,["to"])]),b("li",null,[f(o,{to:{name:"control_tasks",query:y(s).query},title:"任务"},{default:_((()=>[B,C])),_:1},8,["to"])])]),b("ul",null,[b("li",null,[f(o,{to:{name:"project_list"},title:"返回项目列表"},{default:_((()=>[D,E])),_:1})])])]),t.value?(m(),v("div",H,g(t.value),1)):(m(),x(O,{key:1},{default:_((()=>[f(a,{class:"routerView"})])),fallback:_((()=>[M])),_:1}))])}}}))));var S,U=d(R,[["__scopeId","data-v-3b5216d9"]]);export{U as default}; diff --git a/app/www/assets/index.dd0264d0.js b/app/www/assets/index.dd0264d0.js deleted file mode 100644 index fa5ec400..00000000 --- a/app/www/assets/index.dd0264d0.js +++ /dev/null @@ -1 +0,0 @@ -var e=Object.defineProperty,r=Object.defineProperties,t=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,n=(r,t,o)=>t in r?e(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o;import{u as l,b as c}from"./vendor/vue-router_4.0.12.js.e0928a4d.js";import{q as i,R as p,x as u,y as d,B as f,U as j,O as b,a3 as v}from"./vendor/vue_3.2.20.js.843b181b.js";const m={id:"project"},O={class:"head"},y=f("div",{class:"title"},[f("h1",null,"项目管理器")],-1),w={class:"menu"},P=f("span",{class:"iconfont icon-database-fill"},null,-1),_=v(" 项目 "),g=f("span",{class:"iconfont icon-plus-square-fill"},null,-1),h=v(" 导入 ");const q=i((x=((e,r)=>{for(var t in r||(r={}))a.call(r,t)&&n(e,t,r[t]);if(o)for(var t of o(r))s.call(r,t)&&n(e,t,r[t]);return e})({},{name:"Project"}),r(x,t({setup:function(e){const r=l();return"project"===c().name&&r.replace("/project/list"),(e,r)=>{const t=p("router-link"),o=p("router-view");return u(),d("div",m,[f("div",O,[y,f("div",w,[j(t,{to:"/project/list"},{default:b((()=>[P,_])),_:1}),j(t,{to:"/project/add"},{default:b((()=>[g,h])),_:1})])]),j(o,{class:"routerView"})])}}}))));var x;export{q as default}; diff --git a/app/www/assets/list-legacy.2f4149ee.js b/app/www/assets/list-legacy.2f4149ee.js deleted file mode 100644 index bebd2ea2..00000000 --- a/app/www/assets/list-legacy.2f4149ee.js +++ /dev/null @@ -1 +0,0 @@ -!function(){function n(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(n);e&&(c=c.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,c)}return t}function e(e){for(var c=1;ce in o?s(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;import{q as i,_ as l,aj as c,x as d,y as j,B as p,F as m,a1 as v,a3 as f,H as u,G as b,u as _,ag as y,ah as x}from"./vendor/vue_3.2.20.js.843b181b.js";import{u as h,b as g}from"./vendor/vue-router_4.0.12.js.e0928a4d.js";import{u as k}from"./use-current-instance.44876874.js";import{_ as O}from"./index.87b897a1.js";import"./vendor/element-plus_1.1.0-beta.24.js.bf425c11.js";import"./vendor/lodash_4.17.21.js.96bc0cd8.js";import"./vendor/xterm_4.14.1.js.4d8f2388.js";import"./vendor/dayjs_1.10.7.js.de411334.js";import"./vendor/async-validator_4.0.7.js.656181ea.js";import"./vendor/resize-observer-polyfill_1.5.1.js.3b3964c6.js";import"./vendor/axios_0.23.0.js.3f49b9ab.js";import"./vendor/qs_6.10.1.js.6d009611.js";import"./vendor/side-channel_1.0.4.js.cbb25fc8.js";import"./vendor/get-intrinsic_1.1.1.js.d604dad5.js";import"./vendor/has-symbols_1.0.2.js.208f1d3f.js";import"./vendor/function-bind_1.1.1.js.34bf890b.js";import"./vendor/has_1.0.3.js.e7f09f2c.js";import"./vendor/call-bind_1.0.2.js.ad02ab55.js";import"./vendor/object-inspect_1.11.0.js.1111bad4.js";import"./vendor/js-cool_2.2.4.js.f9ee5fc3.js";import"./vendor/core-js_3.18.3.js.a64c1281.js";import"./vendor/uuid_8.3.2.js.8656f24a.js";import"./vendor/xterm-style_1.1.0.js.323fb105.js";import"./vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js";import"./vendor/xterm-addon-search_0.8.1.js.d370edfa.js";import"./vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js";import"./vendor/vuex_4.0.2.js.f8c5ab46.js";const C=s=>(y("data-v-745548e5"),s=s(),x(),s),P={class:"project-list"},w={class:"content"},B=C((()=>p("h2",null,"项目列表",-1))),$=["onClick"],q=C((()=>p("span",{class:"iconfont icon-star-fill",title:"收藏"},null,-1))),I={class:"ttl"},T=C((()=>p("span",{class:"tg"},null,-1))),z=["onClick"],A=["onClick"];const D=i((E=((s,o)=>{for(var e in o||(o={}))r.call(o,e)&&a(s,e,o[e]);if(t)for(var e of t(o))n.call(o,e)&&a(s,e,o[e]);return s})({},{name:"ProjectList"}),o(E,e({setup:function(s,{expose:o}){const{globalProperties:{$axios:e,$confirm:t}}=k(),r=h();g();const n=l({list:[]});c((()=>{a()}));const a=()=>{e({url:"/common/project/list",data:{}}).then((({data:s})=>{n.list=[].concat(s)}))},i=({name:s})=>{console.log(s)},y=({id:s})=>{r.push(`/control?id=${s}`)},x=({id:s})=>{t("确认删除这个项目吗","请确认",{distinguishCancelAndClose:!0,confirmButtonText:"确认",cancelButtonText:"取消"}).then((()=>{e({url:"/common/project/del",type:"post",data:{id:s}}).then((()=>{a()}))}))};return o({data:n,open:i,goProject:y,del:x}),(s,o)=>(d(),j("div",P,[p("div",w,[B,p("ul",null,[(d(!0),j(m,null,v(_(n).list,(s=>(d(),j("li",{key:s.id,class:"flex",onClick:o=>y(s)},[q,p("div",I,[p("span",null,[f(u(s.name)+" ",1),T]),p("p",null,u(s.path),1)]),p("span",{class:"iconfont icon-link",onClick:b((o=>i(s)),["stop"]),title:"进入项目首页"},null,8,z),p("span",{class:"iconfont icon-close-circle",onClick:b((o=>x(s)),["stop"]),title:"删除"},null,8,A)],8,$)))),128))])])]))}}))));var E,F=O(D,[["__scopeId","data-v-745548e5"]]);export{F as default}; diff --git a/app/www/assets/list.fddb28d3.js b/app/www/assets/list.fddb28d3.js new file mode 100644 index 00000000..f3d05911 --- /dev/null +++ b/app/www/assets/list.fddb28d3.js @@ -0,0 +1 @@ +var s=Object.defineProperty,o=Object.defineProperties,e=Object.getOwnPropertyDescriptors,t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,a=(o,e,t)=>e in o?s(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;import{q as i,V as l,ak as c,s as d,v as j,J as p,F as m,a1 as v,a5 as f,O as u,M as b,u as _,ah as h,ai as x}from"./vendor/vue_3.2.23.js.9f5d2e7e.js";import{u as y,b as k}from"./vendor/vue-router_4.0.12.js.944b7609.js";import{u as O}from"./use-current-instance.41699c28.js";import{_ as g}from"./index.360fde64.js";import"./vendor/element-plus_1.2.0-beta.3.js.01fd1cfa.js";import"./vendor/lodash_4.17.21.js.c6f7cdcc.js";import"./vendor/xterm_4.15.0.js.3e95bd6a.js";import"./vendor/dayjs_1.10.7.js.c37b32ae.js";import"./vendor/async-validator_4.0.7.js.656181ea.js";import"./vendor/axios_0.24.0.js.52256a15.js";import"./vendor/qs_6.10.1.js.0baad282.js";import"./vendor/side-channel_1.0.4.js.290c0f4d.js";import"./vendor/get-intrinsic_1.1.1.js.d604dad5.js";import"./vendor/has-symbols_1.0.2.js.208f1d3f.js";import"./vendor/function-bind_1.1.1.js.34bf890b.js";import"./vendor/has_1.0.3.js.e7f09f2c.js";import"./vendor/call-bind_1.0.2.js.ad02ab55.js";import"./vendor/object-inspect_1.11.0.js.ad22ecab.js";import"./vendor/js-cool_2.3.0.js.f671836d.js";import"./vendor/core-js_3.19.1.js.10a7a3d5.js";import"./vendor/uuid_8.3.2.js.8656f24a.js";import"./vendor/xterm-style_1.1.0.js.323fb105.js";import"./vendor/xterm-addon-fit_0.5.0.js.e3a24a28.js";import"./vendor/xterm-addon-search_0.8.1.js.d370edfa.js";import"./vendor/xterm-addon-web-links_0.4.0.js.e4a83512.js";import"./vendor/vuex_4.0.2.js.35ef8354.js";const C=s=>(h("data-v-745548e5"),s=s(),x(),s),P={class:"project-list"},w={class:"content"},$=C((()=>p("h2",null,"项目列表",-1))),q=["onClick"],B=C((()=>p("span",{class:"iconfont icon-star-fill",title:"收藏"},null,-1))),I={class:"ttl"},T=C((()=>p("span",{class:"tg"},null,-1))),A=["onClick"],D=["onClick"];const E=i((F=((s,o)=>{for(var e in o||(o={}))n.call(o,e)&&a(s,e,o[e]);if(t)for(var e of t(o))r.call(o,e)&&a(s,e,o[e]);return s})({},{name:"ProjectList"}),o(F,e({setup:function(s,{expose:o}){const{globalProperties:{$axios:e,$confirm:t}}=O(),n=y();k();const r=l({list:[]});c((()=>{a()}));const a=()=>{e({url:"/common/project/list",data:{}}).then((({data:s})=>{r.list=[].concat(s)}))},i=({name:s})=>{console.log(s)},h=({id:s})=>{n.push(`/control?id=${s}`)},x=({id:s})=>{t("确认删除这个项目吗","请确认",{distinguishCancelAndClose:!0,confirmButtonText:"确认",cancelButtonText:"取消"}).then((()=>{e({url:"/common/project/del",type:"post",data:{id:s}}).then((()=>{a()}))}))};return o({data:r,open:i,goProject:h,del:x}),(s,o)=>(d(),j("div",P,[p("div",w,[$,p("ul",null,[(d(!0),j(m,null,v(_(r).list,(s=>(d(),j("li",{key:s.id,class:"flex",onClick:o=>h(s)},[B,p("div",I,[p("span",null,[f(u(s.name)+" ",1),T]),p("p",null,u(s.path),1)]),p("span",{class:"iconfont icon-link",onClick:b((o=>i(s)),["stop"]),title:"进入项目首页"},null,8,A),p("span",{class:"iconfont icon-close-circle",onClick:b((o=>x(s)),["stop"]),title:"删除"},null,8,D)],8,q)))),128))])])]))}}))));var F,J=g(E,[["__scopeId","data-v-745548e5"]]);export{J as default}; diff --git a/app/www/assets/polyfills-legacy.2bbd7602.js b/app/www/assets/polyfills-legacy.2bbd7602.js deleted file mode 100644 index eb20e5b9..00000000 --- a/app/www/assets/polyfills-legacy.2bbd7602.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=function(t){return t&&t.Math==Math&&t},e=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")(),n={},o=function(t){try{return!!t()}catch(r){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={},u={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,f=c&&!u.call({1:2},1);a.f=f?function(t){var r=c(this,t);return!!r&&r.enumerable}:u;var s,l,h=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},p={}.toString,v=function(t){return p.call(t).slice(8,-1)},d=v,g="".split,y=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==d(t)?g.call(t,""):Object(t)}:Object,m=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},b=y,w=m,x=function(t){return b(w(t))},A=function(t){return"function"==typeof t},E=A,S=function(t){return"object"==typeof t?null!==t:E(t)},O=e,T=A,R=function(t){return T(t)?t:void 0},j=function(t,r){return arguments.length<2?R(O[t]):O[t]&&O[t][r]},I=j("navigator","userAgent")||"",L=e,P=I,k=L.process,M=L.Deno,U=k&&k.versions||M&&M.version,_=U&&U.v8;_?l=(s=_.split("."))[0]<4?1:s[0]+s[1]:P&&(!(s=P.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=P.match(/Chrome\/(\d+)/))&&(l=s[1]);var N=l&&+l,C=N,F=o,B=!!Object.getOwnPropertySymbols&&!F((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&C&&C<41})),D=B&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,W=A,q=j,z=D?function(t){return"symbol"==typeof t}:function(t){var r=q("Symbol");return W(r)&&Object(t)instanceof r},G=function(t){try{return String(t)}catch(r){return"Object"}},Y=A,V=G,$=function(t){if(Y(t))return t;throw TypeError(V(t)+" is not a function")},J=$,K=function(t,r){var e=t[r];return null==e?void 0:J(e)},H=A,X=S,Q={exports:{}},Z=e,tt=function(t,r){try{Object.defineProperty(Z,t,{value:r,configurable:!0,writable:!0})}catch(e){Z[t]=r}return r},rt=tt,et="__core-js_shared__",nt=e[et]||rt(et,{}),ot=nt;(Q.exports=function(t,r){return ot[t]||(ot[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.18.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var it=m,at=function(t){return Object(it(t))},ut=at,ct={}.hasOwnProperty,ft=Object.hasOwn||function(t,r){return ct.call(ut(t),r)},st=0,lt=Math.random(),ht=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++st+lt).toString(36)},pt=e,vt=Q.exports,dt=ft,gt=ht,yt=B,mt=D,bt=vt("wks"),wt=pt.Symbol,xt=mt?wt:wt&&wt.withoutSetter||gt,At=function(t){return dt(bt,t)&&(yt||"string"==typeof bt[t])||(yt&&dt(wt,t)?bt[t]=wt[t]:bt[t]=xt("Symbol."+t)),bt[t]},Et=S,St=z,Ot=K,Tt=function(t,r){var e,n;if("string"===r&&H(e=t.toString)&&!X(n=e.call(t)))return n;if(H(e=t.valueOf)&&!X(n=e.call(t)))return n;if("string"!==r&&H(e=t.toString)&&!X(n=e.call(t)))return n;throw TypeError("Can't convert object to primitive value")},Rt=At("toPrimitive"),jt=function(t,r){if(!Et(t)||St(t))return t;var e,n=Ot(t,Rt);if(n){if(void 0===r&&(r="default"),e=n.call(t,r),!Et(e)||St(e))return e;throw TypeError("Can't convert object to primitive value")}return void 0===r&&(r="number"),Tt(t,r)},It=jt,Lt=z,Pt=function(t){var r=It(t,"string");return Lt(r)?r:String(r)},kt=S,Mt=e.document,Ut=kt(Mt)&&kt(Mt.createElement),_t=function(t){return Ut?Mt.createElement(t):{}},Nt=_t,Ct=!i&&!o((function(){return 7!=Object.defineProperty(Nt("div"),"a",{get:function(){return 7}}).a})),Ft=i,Bt=a,Dt=h,Wt=x,qt=Pt,zt=ft,Gt=Ct,Yt=Object.getOwnPropertyDescriptor;n.f=Ft?Yt:function(t,r){if(t=Wt(t),r=qt(r),Gt)try{return Yt(t,r)}catch(e){}if(zt(t,r))return Dt(!Bt.f.call(t,r),t[r])};var Vt={},$t=S,Jt=function(t){if($t(t))return t;throw TypeError(String(t)+" is not an object")},Kt=i,Ht=Ct,Xt=Jt,Qt=Pt,Zt=Object.defineProperty;Vt.f=Kt?Zt:function(t,r,e){if(Xt(t),r=Qt(r),Xt(e),Ht)try{return Zt(t,r,e)}catch(n){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[r]=e.value),t};var tr=Vt,rr=h,er=i?function(t,r,e){return tr.f(t,r,rr(1,e))}:function(t,r,e){return t[r]=e,t},nr={exports:{}},or=A,ir=nt,ar=Function.toString;or(ir.inspectSource)||(ir.inspectSource=function(t){return ar.call(t)});var ur,cr,fr,sr=ir.inspectSource,lr=A,hr=sr,pr=e.WeakMap,vr=lr(pr)&&/native code/.test(hr(pr)),dr=Q.exports,gr=ht,yr=dr("keys"),mr=function(t){return yr[t]||(yr[t]=gr(t))},br={},wr=vr,xr=S,Ar=er,Er=ft,Sr=nt,Or=mr,Tr=br,Rr="Object already initialized",jr=e.WeakMap;if(wr||Sr.state){var Ir=Sr.state||(Sr.state=new jr),Lr=Ir.get,Pr=Ir.has,kr=Ir.set;ur=function(t,r){if(Pr.call(Ir,t))throw new TypeError(Rr);return r.facade=t,kr.call(Ir,t,r),r},cr=function(t){return Lr.call(Ir,t)||{}},fr=function(t){return Pr.call(Ir,t)}}else{var Mr=Or("state");Tr[Mr]=!0,ur=function(t,r){if(Er(t,Mr))throw new TypeError(Rr);return r.facade=t,Ar(t,Mr,r),r},cr=function(t){return Er(t,Mr)?t[Mr]:{}},fr=function(t){return Er(t,Mr)}}var Ur={set:ur,get:cr,has:fr,enforce:function(t){return fr(t)?cr(t):ur(t,{})},getterFor:function(t){return function(r){var e;if(!xr(r)||(e=cr(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}},_r=i,Nr=ft,Cr=Function.prototype,Fr=_r&&Object.getOwnPropertyDescriptor,Br=Nr(Cr,"name"),Dr={EXISTS:Br,PROPER:Br&&"something"===function(){}.name,CONFIGURABLE:Br&&(!_r||_r&&Fr(Cr,"name").configurable)},Wr=e,qr=A,zr=ft,Gr=er,Yr=tt,Vr=sr,$r=Dr.CONFIGURABLE,Jr=Ur.get,Kr=Ur.enforce,Hr=String(String).split("String");(nr.exports=function(t,r,e,n){var o,i=!!n&&!!n.unsafe,a=!!n&&!!n.enumerable,u=!!n&&!!n.noTargetGet,c=n&&void 0!==n.name?n.name:r;qr(e)&&("Symbol("===String(c).slice(0,7)&&(c="["+String(c).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!zr(e,"name")||$r&&e.name!==c)&&Gr(e,"name",c),(o=Kr(e)).source||(o.source=Hr.join("string"==typeof c?c:""))),t!==Wr?(i?!u&&t[r]&&(a=!0):delete t[r],a?t[r]=e:Gr(t,r,e)):a?t[r]=e:Yr(r,e)})(Function.prototype,"toString",(function(){return qr(this)&&Jr(this).source||Vr(this)}));var Xr={},Qr=Math.ceil,Zr=Math.floor,te=function(t){var r=+t;return r!=r||0===r?0:(r>0?Zr:Qr)(r)},re=te,ee=Math.max,ne=Math.min,oe=function(t,r){var e=re(t);return e<0?ee(e+r,0):ne(e,r)},ie=te,ae=Math.min,ue=function(t){return t>0?ae(ie(t),9007199254740991):0},ce=ue,fe=function(t){return ce(t.length)},se=x,le=oe,he=fe,pe=function(t){return function(r,e,n){var o,i=se(r),a=he(i),u=le(n,a);if(t&&e!=e){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===e)return t||u||0;return!t&&-1}},ve={includes:pe(!0),indexOf:pe(!1)},de=ft,ge=x,ye=ve.indexOf,me=br,be=function(t,r){var e,n=ge(t),o=0,i=[];for(e in n)!de(me,e)&&de(n,e)&&i.push(e);for(;r.length>o;)de(n,e=r[o++])&&(~ye(i,e)||i.push(e));return i},we=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xe=be,Ae=we.concat("length","prototype");Xr.f=Object.getOwnPropertyNames||function(t){return xe(t,Ae)};var Ee={};Ee.f=Object.getOwnPropertySymbols;var Se=Xr,Oe=Ee,Te=Jt,Re=j("Reflect","ownKeys")||function(t){var r=Se.f(Te(t)),e=Oe.f;return e?r.concat(e(t)):r},je=ft,Ie=Re,Le=n,Pe=Vt,ke=function(t,r){for(var e=Ie(r),n=Pe.f,o=Le.f,i=0;ii;i++)if((u=g(t[i]))&&u instanceof Jn)return u;return new Jn(!1)}n=Yn(t,o)}for(c=n.next;!(f=c.call(n)).done;){try{u=g(f.value)}catch(y){$n(n,"throw",y)}if("object"==typeof u&&u&&u instanceof Jn)return u}return new Jn(!1)},Hn=At("iterator"),Xn=!1;try{var Qn=0,Zn={next:function(){return{done:!!Qn++}},return:function(){Xn=!0}};Zn[Hn]=function(){return this},Array.from(Zn,(function(){throw 2}))}catch(SI){}var to,ro,eo,no,oo=function(t,r){if(!r&&!Xn)return!1;var e=!1;try{var n={};n[Hn]=function(){return{next:function(){return{done:e=!0}}}},t(n)}catch(SI){}return e},io=o,ao=A,uo=jn,co=sr,fo=[],so=j("Reflect","construct"),lo=/^\s*(?:class|function)\b/,ho=lo.exec,po=!lo.exec((function(){})),vo=function(t){if(!ao(t))return!1;try{return so(Object,fo,t),!0}catch(SI){return!1}},go=!so||io((function(){var t;return vo(vo.call)||!vo(Object)||!vo((function(){t=!0}))||t}))?function(t){if(!ao(t))return!1;switch(uo(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return po||!!ho.call(lo,co(t))}:vo,yo=go,mo=G,bo=function(t){if(yo(t))return t;throw TypeError(mo(t)+" is not a constructor")},wo=Jt,xo=bo,Ao=At("species"),Eo=function(t,r){var e,n=wo(t).constructor;return void 0===n||null==(e=wo(n)[Ao])?r:xo(e)},So=j("document","documentElement"),Oo=/(?:ipad|iphone|ipod).*applewebkit/i.test(I),To="process"==v(e.process),Ro=e,jo=A,Io=o,Lo=wn,Po=So,ko=_t,Mo=Oo,Uo=To,_o=Ro.setImmediate,No=Ro.clearImmediate,Co=Ro.process,Fo=Ro.MessageChannel,Bo=Ro.Dispatch,Do=0,Wo={},qo="onreadystatechange";try{to=Ro.location}catch(SI){}var zo=function(t){if(Wo.hasOwnProperty(t)){var r=Wo[t];delete Wo[t],r()}},Go=function(t){return function(){zo(t)}},Yo=function(t){zo(t.data)},Vo=function(t){Ro.postMessage(String(t),to.protocol+"//"+to.host)};_o&&No||(_o=function(t){for(var r=[],e=arguments.length,n=1;e>n;)r.push(arguments[n++]);return Wo[++Do]=function(){(jo(t)?t:Function(t)).apply(void 0,r)},ro(Do),Do},No=function(t){delete Wo[t]},Uo?ro=function(t){Co.nextTick(Go(t))}:Bo&&Bo.now?ro=function(t){Bo.now(Go(t))}:Fo&&!Mo?(no=(eo=new Fo).port2,eo.port1.onmessage=Yo,ro=Lo(no.postMessage,no,1)):Ro.addEventListener&&jo(Ro.postMessage)&&!Ro.importScripts&&to&&"file:"!==to.protocol&&!Io(Vo)?(ro=Vo,Ro.addEventListener("message",Yo,!1)):ro=qo in ko("script")?function(t){Po.appendChild(ko("script")).onreadystatechange=function(){Po.removeChild(this),zo(t)}}:function(t){setTimeout(Go(t),0)});var $o,Jo,Ko,Ho,Xo,Qo,Zo,ti,ri={set:_o,clear:No},ei=e,ni=/ipad|iphone|ipod/i.test(I)&&void 0!==ei.Pebble,oi=/web0s(?!.*chrome)/i.test(I),ii=e,ai=n.f,ui=ri.set,ci=Oo,fi=ni,si=oi,li=To,hi=ii.MutationObserver||ii.WebKitMutationObserver,pi=ii.document,vi=ii.process,di=ii.Promise,gi=ai(ii,"queueMicrotask"),yi=gi&&gi.value;yi||($o=function(){var t,r;for(li&&(t=vi.domain)&&t.exit();Jo;){r=Jo.fn,Jo=Jo.next;try{r()}catch(SI){throw Jo?Ho():Ko=void 0,SI}}Ko=void 0,t&&t.enter()},ci||li||si||!hi||!pi?!fi&&di&&di.resolve?((Zo=di.resolve(void 0)).constructor=di,ti=Zo.then,Ho=function(){ti.call(Zo,$o)}):Ho=li?function(){vi.nextTick($o)}:function(){ui.call(ii,$o)}:(Xo=!0,Qo=pi.createTextNode(""),new hi($o).observe(Qo,{characterData:!0}),Ho=function(){Qo.data=Xo=!Xo}));var mi=yi||function(t){var r={fn:t,next:void 0};Ko&&(Ko.next=r),Jo||(Jo=r,Ho()),Ko=r},bi={},wi=$,xi=function(t){var r,e;this.promise=new t((function(t,n){if(void 0!==r||void 0!==e)throw TypeError("Bad Promise constructor");r=t,e=n})),this.resolve=wi(r),this.reject=wi(e)};bi.f=function(t){return new xi(t)};var Ai,Ei,Si,Oi,Ti=Jt,Ri=S,ji=bi,Ii=function(t,r){if(Ti(t),Ri(r)&&r.constructor===t)return r;var e=ji.f(t);return(0,e.resolve)(r),e.promise},Li=e,Pi="object"==typeof window,ki=Ke,Mi=e,Ui=j,_i=He,Ni=nr.exports,Ci=Qe,Fi=en,Bi=un,Di=hn,Wi=$,qi=A,zi=S,Gi=pn,Yi=sr,Vi=Kn,$i=oo,Ji=Eo,Ki=ri.set,Hi=mi,Xi=Ii,Qi=function(t,r){var e=Li.console;e&&e.error&&(1===arguments.length?e.error(t):e.error(t,r))},Zi=bi,ta=function(t){try{return{error:!1,value:t()}}catch(SI){return{error:!0,value:SI}}},ra=Ur,ea=We,na=Pi,oa=To,ia=N,aa=At("species"),ua="Promise",ca=ra.get,fa=ra.set,sa=ra.getterFor(ua),la=_i&&_i.prototype,ha=_i,pa=la,va=Mi.TypeError,da=Mi.document,ga=Mi.process,ya=Zi.f,ma=ya,ba=!!(da&&da.createEvent&&Mi.dispatchEvent),wa=qi(Mi.PromiseRejectionEvent),xa="unhandledrejection",Aa=!1,Ea=ea(ua,(function(){var t=Yi(ha),r=t!==String(ha);if(!r&&66===ia)return!0;if(ia>=51&&/native code/.test(t))return!1;var e=new ha((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};return(e.constructor={})[aa]=n,!(Aa=e.then((function(){}))instanceof n)||!r&&na&&!wa})),Sa=Ea||!$i((function(t){ha.all(t).catch((function(){}))})),Oa=function(t){var r;return!(!zi(t)||!qi(r=t.then))&&r},Ta=function(t,r){if(!t.notified){t.notified=!0;var e=t.reactions;Hi((function(){for(var n=t.value,o=1==t.state,i=0;e.length>i;){var a,u,c,f=e[i++],s=o?f.ok:f.fail,l=f.resolve,h=f.reject,p=f.domain;try{s?(o||(2===t.rejection&&La(t),t.rejection=1),!0===s?a=n:(p&&p.enter(),a=s(n),p&&(p.exit(),c=!0)),a===f.promise?h(va("Promise-chain cycle")):(u=Oa(a))?u.call(a,l,h):l(a)):h(n)}catch(SI){p&&!c&&p.exit(),h(SI)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&ja(t)}))}},Ra=function(t,r,e){var n,o;ba?((n=da.createEvent("Event")).promise=r,n.reason=e,n.initEvent(t,!1,!0),Mi.dispatchEvent(n)):n={promise:r,reason:e},!wa&&(o=Mi["on"+t])?o(n):t===xa&&Qi("Unhandled promise rejection",e)},ja=function(t){Ki.call(Mi,(function(){var r,e=t.facade,n=t.value;if(Ia(t)&&(r=ta((function(){oa?ga.emit("unhandledRejection",n,e):Ra(xa,e,n)})),t.rejection=oa||Ia(t)?2:1,r.error))throw r.value}))},Ia=function(t){return 1!==t.rejection&&!t.parent},La=function(t){Ki.call(Mi,(function(){var r=t.facade;oa?ga.emit("rejectionHandled",r):Ra("rejectionhandled",r,t.value)}))},Pa=function(t,r,e){return function(n){t(r,n,e)}},ka=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=2,Ta(t,!0))},Ma=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw va("Promise can't be resolved itself");var n=Oa(r);n?Hi((function(){var e={done:!1};try{n.call(r,Pa(Ma,e,t),Pa(ka,e,t))}catch(SI){ka(e,SI,t)}})):(t.value=r,t.state=1,Ta(t,!1))}catch(SI){ka({done:!1},SI,t)}}};if(Ea&&(pa=(ha=function(t){Gi(this,ha,ua),Wi(t),Ai.call(this);var r=ca(this);try{t(Pa(Ma,r),Pa(ka,r))}catch(SI){ka(r,SI)}}).prototype,(Ai=function(t){fa(this,{type:ua,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Ci(pa,{then:function(t,r){var e=sa(this),n=ya(Ji(this,ha));return n.ok=!qi(t)||t,n.fail=qi(r)&&r,n.domain=oa?ga.domain:void 0,e.parent=!0,e.reactions.push(n),0!=e.state&&Ta(e,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),Ei=function(){var t=new Ai,r=ca(t);this.promise=t,this.resolve=Pa(Ma,r),this.reject=Pa(ka,r)},Zi.f=ya=function(t){return t===ha||t===Si?new Ei(t):ma(t)},qi(_i)&&la!==Object.prototype)){Oi=la.then,Aa||(Ni(la,"then",(function(t,r){var e=this;return new ha((function(t,r){Oi.call(e,t,r)})).then(t,r)}),{unsafe:!0}),Ni(la,"catch",pa.catch,{unsafe:!0}));try{delete la.constructor}catch(SI){}Fi&&Fi(la,pa)}ki({global:!0,wrap:!0,forced:Ea},{Promise:ha}),Bi(ha,ua,!1),Di(ua),Si=Ui(ua),ki({target:ua,stat:!0,forced:Ea},{reject:function(t){var r=ya(this);return r.reject.call(void 0,t),r.promise}}),ki({target:ua,stat:!0,forced:Ea},{resolve:function(t){return Xi(this,t)}}),ki({target:ua,stat:!0,forced:Sa},{all:function(t){var r=this,e=ya(r),n=e.resolve,o=e.reject,i=ta((function(){var e=Wi(r.resolve),i=[],a=0,u=1;Vi(t,(function(t){var c=a++,f=!1;i.push(void 0),u++,e.call(r,t).then((function(t){f||(f=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),e.promise},race:function(t){var r=this,e=ya(r),n=e.reject,o=ta((function(){var o=Wi(r.resolve);Vi(t,(function(t){o.call(r,t).then(e.resolve,n)}))}));return o.error&&n(o.value),e.promise}});var Ua,_a=be,Na=we,Ca=Object.keys||function(t){return _a(t,Na)},Fa=Vt,Ba=Jt,Da=Ca,Wa=i?Object.defineProperties:function(t,r){Ba(t);for(var e,n=Da(r),o=n.length,i=0;o>i;)Fa.f(t,e=n[i++],r[e]);return t},qa=Jt,za=Wa,Ga=we,Ya=br,Va=So,$a=_t,Ja=mr("IE_PROTO"),Ka=function(){},Ha=function(t){return" - - - - + + + + + - - - + + - - - - - + + + + + - - - - - + + + + + @@ -62,7 +61,7 @@
- - + + diff --git a/bin/conf/log.ts b/bin/conf/log.ts index bff1c479..bc556e40 100644 --- a/bin/conf/log.ts +++ b/bin/conf/log.ts @@ -14,7 +14,7 @@ import type { GitmarsOptionType } from '../../typings' { flags: '--lastet [lastet]', required: false, - optional: false, + optional: true, variadic: false, mandatory: false, short: '', @@ -27,7 +27,7 @@ import type { GitmarsOptionType } from '../../typings' { flags: '--limit [limit]', required: false, - optional: false, + optional: true, variadic: false, mandatory: false, short: '', diff --git a/bin/core/api/getUserToken.ts b/bin/core/api/getUserToken.ts index 6dd820d2..c3d1246a 100644 --- a/bin/core/api/getUserToken.ts +++ b/bin/core/api/getUserToken.ts @@ -1,12 +1,13 @@ const sh = require('shelljs') const { getGitUser } = require('../git/getGitUser') const { error } = require('../utils/colors') +const request = require('../request') const getConfig = require('../getConfig') import { FetchDataType } from '../../../typings' // 获取用户信息 -function getUserToken(): FetchDataType { +async function getUserToken(): Promise { const config = getConfig() if (!config.api) { sh.echo( @@ -23,26 +24,18 @@ function getUserToken(): FetchDataType { process.exit(1) } - let fetchData: any = sh.exec(`curl -s ${config.api}?name=${user}`, { - silent: true - }).stdout, - userInfo - try { - fetchData = JSON.parse(fetchData) - userInfo = (fetchData.data as FetchDataType) || null - } catch (err) { - userInfo = null - } - + const fetchData = + ((await request({ url: `${config.api}?name=${user}` })) + .data as FetchDataType) || null // 没有查到用户信息或者没有设置token - if (!userInfo) { + if (!fetchData) { sh.echo(error('没有找到用户,请联系管理员')) process.exit(1) - } else if (!userInfo.token) { + } else if (!fetchData.token) { sh.echo(error('请设置access_token')) process.exit(1) } - return userInfo + return fetchData } module.exports = getUserToken diff --git a/bin/core/request.ts b/bin/core/request.ts new file mode 100644 index 00000000..082422b5 --- /dev/null +++ b/bin/core/request.ts @@ -0,0 +1,37 @@ +const https = require('https') +const { URL } = require('url') + +function request(options: any) { + const url = new URL(options.url) + return new Promise((resolve, reject) => { + const req = https.request( + { + hostname: url.hostname, + port: url.port, + path: `${url.pathname}${url.search}`, + method: 'GET', + ...options + }, + (res: any) => { + res.on('data', (buf: any) => { + const data = Buffer.from(buf).toString() + let result = null + try { + result = JSON.parse(data) + } catch { + // + } + if (result.code === 0) { + resolve(result) + } else { + reject(result) + } + }) + } + ) + req.on('error', reject) + req.end() + }) +} + +module.exports = request diff --git a/bin/gitm-admin.ts b/bin/gitm-admin.ts index 6ee62644..c2e31e9c 100755 --- a/bin/gitm-admin.ts +++ b/bin/gitm-admin.ts @@ -21,11 +21,6 @@ if (!getIsGitProject()) { const getConfig = require('./core/getConfig') const { appName } = getGitConfig() const config = getConfig() -const { - token, - level, - nickname = '' -} = config.api ? getUserToken() : ({} as FetchDataType) import { FetchDataType, @@ -136,6 +131,11 @@ if (publish.args.length > 0) { type: PublishOptsType, opt: GitmBuildOption['publish'] ): Promise => { + const { + token, + level, + nickname = '' + } = config.api ? await getUserToken() : ({} as FetchDataType) const opts = ['bugfix', 'release', 'support'] // 允许执行的指令 const status = checkGitStatus() const curBranch = await getCurrentBranch() @@ -506,114 +506,122 @@ if (update.args.length > 0) { // .option('-m, --mode [mode]', '出现冲突时,保留传入代码还是保留当前代码;1=采用当前 2=采用传入;默认为 0=手动处理。本参数不可与--use-rebase同时使用', 0) // .option('--postmsg', '发送消息', false) // .option('--description [description]', '本次提交的原因描述', '') - _program.action((type: string, opt: GitmBuildOption['update']): void => { - const opts = ['bugfix', 'release', 'support'] // 允许执行的指令 - const base = type === 'release' ? config.master : config.release - const status = checkGitStatus() - let mode = '', // 冲突时,保留哪方代码 - isDescriptionCorrect = true // 本次提交的原因描述是否符合规范 - if (!status) sh.exit(1) - // 有配置descriptionValidator时需要校验描述信息 - if (config.descriptionValidator) { - // 校验本次提交的原因描述 - const reg = - getType(config.descriptionValidator) === 'regexp' - ? config.descriptionValidator - : new RegExp(config.descriptionValidator) - isDescriptionCorrect = opt.description && reg.test(opt.description) - } - if (opt.mode === 1) { - mode = ' --strategy-option ours' - } else if (opt.mode === 2) { - mode = ' --strategy-option theirs' - } - if (opts.includes(type)) { - let cmd - if (!level || level < 3) { - cmd = [ - 'git fetch', - `git checkout ${base}`, - 'git pull', - `git checkout ${config[type]}`, - { - cmd: 'git pull', - config: { again: true } - }, - { - cmd: `git merge --no-ff ${base}${mode}`, - config: { - again: false, - postmsg: opt.postmsg, - success: `${base}同步到${config[type]}成功`, - fail: `${base}同步到${config[type]}出错了,请根据提示处理` - } - }, - { - cmd: 'git push', - config: { - again: true, - success: '推送成功', - fail: '推送失败,请根据提示处理' + _program.action( + async (type: string, opt: GitmBuildOption['update']): Promise => { + const { + token, + level, + nickname = '' + } = config.api ? await getUserToken() : ({} as FetchDataType) + const opts = ['bugfix', 'release', 'support'] // 允许执行的指令 + const base = type === 'release' ? config.master : config.release + const status = checkGitStatus() + let mode = '', // 冲突时,保留哪方代码 + isDescriptionCorrect = true // 本次提交的原因描述是否符合规范 + if (!status) sh.exit(1) + // 有配置descriptionValidator时需要校验描述信息 + if (config.descriptionValidator) { + // 校验本次提交的原因描述 + const reg = + getType(config.descriptionValidator) === 'regexp' + ? config.descriptionValidator + : new RegExp(config.descriptionValidator) + isDescriptionCorrect = + opt.description && reg.test(opt.description) + } + if (opt.mode === 1) { + mode = ' --strategy-option ours' + } else if (opt.mode === 2) { + mode = ' --strategy-option theirs' + } + if (opts.includes(type)) { + let cmd + if (!level || level < 3) { + cmd = [ + 'git fetch', + `git checkout ${base}`, + 'git pull', + `git checkout ${config[type]}`, + { + cmd: 'git pull', + config: { again: true } + }, + { + cmd: `git merge --no-ff ${base}${mode}`, + config: { + again: false, + postmsg: opt.postmsg, + success: `${base}同步到${config[type]}成功`, + fail: `${base}同步到${config[type]}出错了,请根据提示处理` + } + }, + { + cmd: 'git push', + config: { + again: true, + success: '推送成功', + fail: '推送失败,请根据提示处理' + } } + ] + } else { + if (!isDescriptionCorrect) { + sh.echo(error('提交的原因描述不符合规范')) + sh.exit(1) } - ] - } else { - if (!isDescriptionCorrect) { - sh.echo(error('提交的原因描述不符合规范')) - sh.exit(1) + cmd = [ + { + cmd: getCurlOfMergeRequest({ + source_branch: base, + target_branch: config[type], + token, + description: opt.description + }), + config: { + again: true, + success: '成功创建合并请求', + fail: '创建合并请求出错了,请根据提示处理' + } + }, + `gitm postmsg "${nickname}在${appName}项目提交了${base}分支合并到${config[type]}分支的merge请求"` + ] } - cmd = [ - { - cmd: getCurlOfMergeRequest({ - source_branch: base, - target_branch: config[type], - token, - description: opt.description - }), - config: { - again: true, - success: '成功创建合并请求', - fail: '创建合并请求出错了,请根据提示处理' - } - }, - `gitm postmsg "${nickname}在${appName}项目提交了${base}分支合并到${config[type]}分支的merge请求"` - ] - } - if (opt.useRebase) { - cmd = [ - 'git fetch', - `git checkout ${base}`, - 'git pull', - `git checkout ${config[type]}`, - { - cmd: `git pull origin ${config[type]} --rebase`, - config: { again: true } - }, - { - cmd: `git rebase ${base}`, - config: { - again: false, - postmsg: opt.postmsg, - success: `${base}同步到${config[type]}成功`, - fail: `${base}同步到${config[type]}出错了,请根据提示处理` - } - }, - { - cmd: 'git push', - config: { - again: true, - success: '推送成功', - fail: '推送失败,请根据提示处理' + if (opt.useRebase) { + cmd = [ + 'git fetch', + `git checkout ${base}`, + 'git pull', + `git checkout ${config[type]}`, + { + cmd: `git pull origin ${config[type]} --rebase`, + config: { again: true } + }, + { + cmd: `git rebase ${base}`, + config: { + again: false, + postmsg: opt.postmsg, + success: `${base}同步到${config[type]}成功`, + fail: `${base}同步到${config[type]}出错了,请根据提示处理` + } + }, + { + cmd: 'git push', + config: { + again: true, + success: '推送成功', + fail: '推送失败,请根据提示处理' + } } - } - ] + ] + } + queue(cmd) + } else { + sh.echo(error('type只允许输入:' + opts.join(','))) + sh.exit(1) } - queue(cmd) - } else { - sh.echo(error('type只允许输入:' + opts.join(','))) - sh.exit(1) } - }) + ) } if (clean.args.length > 0) { diff --git a/bin/gitm-combine.ts b/bin/gitm-combine.ts index c9693369..e87a41a4 100755 --- a/bin/gitm-combine.ts +++ b/bin/gitm-combine.ts @@ -82,7 +82,7 @@ program.action( token, level, nickname = '' - } = config.api ? getUserToken() : ({} as FetchDataType) + } = config.api ? await getUserToken() : ({} as FetchDataType) const status = !opt.add && opt.commit === '' ? checkGitStatus() : true let _nameArr: string[] = [], // 分支名称数组 isDescriptionCorrect = true // 本次提交的原因描述是否符合规范 diff --git a/bin/gitm-end.ts b/bin/gitm-end.ts index f2f55262..7b173570 100755 --- a/bin/gitm-end.ts +++ b/bin/gitm-end.ts @@ -73,7 +73,7 @@ program.action( token, level, nickname = '' - } = config.api ? getUserToken() : ({} as FetchDataType) + } = config.api ? await getUserToken() : ({} as FetchDataType) const status = checkGitStatus() let _nameArr: string[] = [], // 分支名称数组 isDescriptionCorrect = true // 本次提交的原因描述是否符合规范 diff --git a/docs/changelog.md b/docs/changelog.md index e5b39c4a..bd8d25e6 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,9 @@ # 更新日志 +## 2021.11.30 v2.14.4 更新日志 + +1. 替换`curl`脚本,处理win7不能执行curl的兼容问题 + ## 2021.11.28 v2.14.3 更新日志 1. `cleanbranch`指令不再主动切换分支 diff --git a/lib/conf/log.js b/lib/conf/log.js index 124ffa19..abd953f0 100644 --- a/lib/conf/log.js +++ b/lib/conf/log.js @@ -15,7 +15,7 @@ { flags: "--lastet [lastet]", required: false, - optional: false, + optional: true, variadic: false, mandatory: false, short: "", @@ -27,7 +27,7 @@ { flags: "--limit [limit]", required: false, - optional: false, + optional: true, variadic: false, mandatory: false, short: "", diff --git a/lib/core/api/getUserToken.js b/lib/core/api/getUserToken.js index 003e3a7e..550dd17e 100644 --- a/lib/core/api/getUserToken.js +++ b/lib/core/api/getUserToken.js @@ -3,8 +3,9 @@ const sh = require("shelljs"); const { getGitUser } = require("../git/getGitUser"); const { error } = require("../utils/colors"); +const request = require("../request"); const getConfig = require("../getConfig"); -function getUserToken() { +async function getUserToken() { const config = getConfig(); if (!config.api) { sh.echo(error("\u8BF7\u914D\u7F6E\u7528\u4E8E\u8BF7\u6C42\u6743\u9650\u7684api\u63A5\u53E3\u5730\u5740\uFF0C\u63A5\u6536\u53C2\u6570\u5F62\u5F0F\uFF1Aurl?name=git_user_name\uFF0C\u8FD4\u56DEdata=token")); @@ -15,22 +16,14 @@ function getUserToken() { sh.echo(error("\u8BF7\u8BBE\u7F6E\u672C\u5730git\u7528\u6237\u540D")); process.exit(1); } - let fetchData = sh.exec(`curl -s ${config.api}?name=${user}`, { - silent: true - }).stdout, userInfo; - try { - fetchData = JSON.parse(fetchData); - userInfo = fetchData.data || null; - } catch (err) { - userInfo = null; - } - if (!userInfo) { + const fetchData = (await request({ url: `${config.api}?name=${user}` })).data || null; + if (!fetchData) { sh.echo(error("\u6CA1\u6709\u627E\u5230\u7528\u6237\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458")); process.exit(1); - } else if (!userInfo.token) { + } else if (!fetchData.token) { sh.echo(error("\u8BF7\u8BBE\u7F6Eaccess_token")); process.exit(1); } - return userInfo; + return fetchData; } module.exports = getUserToken; diff --git a/lib/core/request.js b/lib/core/request.js new file mode 100644 index 00000000..e9f96f8f --- /dev/null +++ b/lib/core/request.js @@ -0,0 +1,48 @@ +'use strict'; + +var __defProp = Object.defineProperty; +var __getOwnPropSymbols = Object.getOwnPropertySymbols; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __propIsEnum = Object.prototype.propertyIsEnumerable; +var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; +var __spreadValues = (a, b) => { + for (var prop in b || (b = {})) + if (__hasOwnProp.call(b, prop)) + __defNormalProp(a, prop, b[prop]); + if (__getOwnPropSymbols) + for (var prop of __getOwnPropSymbols(b)) { + if (__propIsEnum.call(b, prop)) + __defNormalProp(a, prop, b[prop]); + } + return a; +}; +const https = require("https"); +const { URL } = require("url"); +function request(options) { + const url = new URL(options.url); + return new Promise((resolve, reject) => { + const req = https.request(__spreadValues({ + hostname: url.hostname, + port: url.port, + path: `${url.pathname}${url.search}`, + method: "GET" + }, options), (res) => { + res.on("data", (buf) => { + const data = Buffer.from(buf).toString(); + let result = null; + try { + result = JSON.parse(data); + } catch (e) { + } + if (result.code === 0) { + resolve(result); + } else { + reject(result); + } + }); + }); + req.on("error", reject); + req.end(); + }); +} +module.exports = request; diff --git a/lib/gitm-admin.js b/lib/gitm-admin.js index 6178d460..1d069e87 100644 --- a/lib/gitm-admin.js +++ b/lib/gitm-admin.js @@ -23,11 +23,6 @@ if (!getIsGitProject()) { const getConfig = require("./core/getConfig"); const { appName } = getGitConfig(); const config = getConfig(); -const { - token, - level, - nickname = "" -} = config.api ? getUserToken() : {}; const program = new Command(); if (create.args.length > 0) { const _program = program.name("gitm admin").usage(" ").description("\u521B\u5EFAbugfix\u3001release\u3001develop\u548Csupport\u5206\u652F").command("create " + createArgs(create.args)); @@ -75,6 +70,11 @@ if (publish.args.length > 0) { _program.option(o.flags, o.description, o.defaultValue); }); _program.action(async (type, opt) => { + const { + token, + level, + nickname = "" + } = config.api ? await getUserToken() : {}; const opts = ["bugfix", "release", "support"]; const status = checkGitStatus(); const curBranch = await getCurrentBranch(); @@ -410,7 +410,12 @@ if (update.args.length > 0) { update.options.forEach((o) => { _program.option(o.flags, o.description, o.defaultValue); }); - _program.action((type, opt) => { + _program.action(async (type, opt) => { + const { + token, + level, + nickname = "" + } = config.api ? await getUserToken() : {}; const opts = ["bugfix", "release", "support"]; const base = type === "release" ? config.master : config.release; const status = checkGitStatus(); diff --git a/lib/gitm-combine.js b/lib/gitm-combine.js index 076e82a2..8c406a6a 100644 --- a/lib/gitm-combine.js +++ b/lib/gitm-combine.js @@ -48,7 +48,7 @@ program.action(async (type, name, opt) => { token, level, nickname = "" - } = config.api ? getUserToken() : {}; + } = config.api ? await getUserToken() : {}; const status = !opt.add && opt.commit === "" ? checkGitStatus() : true; let _nameArr = [], isDescriptionCorrect = true; if (!opt.dev && !opt.prod) { diff --git a/lib/gitm-end.js b/lib/gitm-end.js index 719a461f..7bd4809d 100644 --- a/lib/gitm-end.js +++ b/lib/gitm-end.js @@ -48,7 +48,7 @@ program.action(async (type, name, opt) => { token, level, nickname = "" - } = config.api ? getUserToken() : {}; + } = config.api ? await getUserToken() : {}; const status = checkGitStatus(); let _nameArr = [], isDescriptionCorrect = true; if (!status) diff --git a/package.json b/package.json index 67c688c4..88d9c4ed 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "gitmars", "description": "这是一个git工作流工具", - "version": "2.14.3", + "version": "2.14.4", "scripts": { "docs:dev": "vuepress dev docs", "docs:build": "vuepress build docs",