diff --git a/zyplayer-doc-db/src/main/resources/doc-db-index.js b/zyplayer-doc-db/src/main/resources/doc-db-index.js index 920a1314..6699cc06 100644 --- a/zyplayer-doc-db/src/main/resources/doc-db-index.js +++ b/zyplayer-doc-db/src/main/resources/doc-db-index.js @@ -1,4 +1,4 @@ -webpackJsonp([1],[,,,function(e,t,o){"use strict";function i(e){return"[object Array]"===v.call(e)}function r(e){return"[object ArrayBuffer]"===v.call(e)}function l(e){return"undefined"!=typeof FormData&&e instanceof FormData}function A(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function n(e){return"string"==typeof e}function a(e){return"number"==typeof e}function s(e){return void 0===e}function c(e){return null!==e&&"object"==typeof e}function p(e){return"[object Date]"===v.call(e)}function d(e){return"[object File]"===v.call(e)}function g(e){return"[object Blob]"===v.call(e)}function f(e){return"[object Function]"===v.call(e)}function u(e){return c(e)&&f(e.pipe)}function h(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function b(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function m(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function x(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),i(e))for(var o=0,r=e.length;oo.parts.length&&(i.parts.length=o.parts.length)}else{for(var A=[],r=0;r=200&&e<300}};n.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(e){n.headers[e]={}}),r.forEach(["post","put","patch"],function(e){n.headers[e]=r.merge(A)}),e.exports=n}).call(t,o(85))},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,o){"use strict";var i=o(18),r=o.n(i),l=o(143),A=window.location.href,n={href:A,HOST:"./",HOST1:"./",mixUrl:function(e,t){var o;if(e&&t&&!n.isEmptyObject(t)){t.HOST=e;for(o in t)-1==t[o].indexOf("http")&&(t[o]=e+t[o]);return t}},isEmptyObject:function(e){if("object"===(void 0===e?"undefined":r()(e))&&!(e instanceof Array)){var t=!1;for(var o in e){t=!0;break}return!t}}},a=n.mixUrl(n.HOST,l.a.URL),s=n.mixUrl(n.HOST1,l.a.URL1);t.a={apilist1:a,apilist2:s}},,function(e,t,o){"use strict";var i=o(3),r=o(123),l=o(126),A=o(132),n=o(130),a=o(63),s="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||o(125);e.exports=function(e){return new Promise(function(t,c){var p=e.data,d=e.headers;i.isFormData(p)&&delete d["Content-Type"];var g=new XMLHttpRequest,f="onreadystatechange",u=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in g||n(e.url)||(g=new window.XDomainRequest,f="onload",u=!0,g.onprogress=function(){},g.ontimeout=function(){}),e.auth){var h=e.auth.username||"",b=e.auth.password||"";d.Authorization="Basic "+s(h+":"+b)}if(g.open(e.method.toUpperCase(),l(e.url,e.params,e.paramsSerializer),!0),g.timeout=e.timeout,g[f]=function(){if(g&&(4===g.readyState||u)&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))){var o="getAllResponseHeaders"in g?A(g.getAllResponseHeaders()):null,i=e.responseType&&"text"!==e.responseType?g.response:g.responseText,l={data:i,status:1223===g.status?204:g.status,statusText:1223===g.status?"No Content":g.statusText,headers:o,config:e,request:g};r(t,c,l),g=null}},g.onerror=function(){c(a("Network Error",e,null,g)),g=null},g.ontimeout=function(){c(a("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",g)),g=null},i.isStandardBrowserEnv()){var m=o(128),x=(e.withCredentials||n(e.url))&&e.xsrfCookieName?m.read(e.xsrfCookieName):void 0;x&&(d[e.xsrfHeaderName]=x)}if("setRequestHeader"in g&&i.forEach(d,function(e,t){void 0===p&&"content-type"===t.toLowerCase()?delete d[t]:g.setRequestHeader(t,e)}),e.withCredentials&&(g.withCredentials=!0),e.responseType)try{g.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&g.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){g&&(g.abort(),c(e),g=null)}),void 0===p&&(p=null),g.send(p)})}},function(e,t,o){"use strict";function i(e){this.message=e}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,e.exports=i},function(e,t,o){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,o){"use strict";var i=o(122);e.exports=function(e,t,o,r,l){var A=new Error(e);return i(A,t,o,r,l)}},function(e,t,o){"use strict";e.exports=function(e,t){return function(){for(var o=new Array(arguments.length),i=0;i=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122?o+=t.charAt(i):l<128?o+=r[l]:l<2048?o+=r[192|l>>6]+r[128|63&l]:l<55296||l>=57344?o+=r[224|l>>12]+r[128|l>>6&63]+r[128|63&l]:(i+=1,l=65536+((1023&l)<<10|1023&t.charCodeAt(i)),o+=r[240|l>>18]+r[128|l>>12&63]+r[128|l>>6&63]+r[128|63&l])}return o},t.compact=function(e,o){if("object"!=typeof e||null===e)return e;var i=o||[],r=i.indexOf(e);if(-1!==r)return i[r];if(i.push(e),Array.isArray(e)){for(var l=[],A=0;A-1}function l(e,t){for(var o in t)e[o]=t[o];return e}function A(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0}}function n(e,t,o){void 0===t&&(t={});var i,r=o||a;try{i=r(e||"")}catch(e){i={}}for(var l in t)i[l]=t[l];return i}function a(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var o=e.replace(/\+/g," ").split("="),i=Oe(o.shift()),r=o.length>0?Oe(o.join("=")):null;void 0===t[i]?t[i]=r:Array.isArray(t[i])?t[i].push(r):t[i]=[t[i],r]}),t):t}function s(e){var t=e?Object.keys(e).map(function(t){var o=e[t];if(void 0===o)return"";if(null===o)return Ne(t);if(Array.isArray(o)){var i=[];return o.forEach(function(e){void 0!==e&&(null===e?i.push(Ne(t)):i.push(Ne(t)+"="+Ne(e)))}),i.join("&")}return Ne(t)+"="+Ne(o)}).filter(function(e){return e.length>0}).join("&"):null;return t?"?"+t:""}function c(e,t,o,i){var r=i&&i.options.stringifyQuery,l=t.query||{};try{l=p(l)}catch(e){}var A={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:l,params:t.params||{},fullPath:g(t,r),matched:e?d(e):[]};return o&&(A.redirectedFrom=g(o,r)),Object.freeze(A)}function p(e){if(Array.isArray(e))return e.map(p);if(e&&"object"==typeof e){var t={};for(var o in e)t[o]=p(e[o]);return t}return e}function d(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function g(e,t){var o=e.path,i=e.query;void 0===i&&(i={});var r=e.hash;void 0===r&&(r="");var l=t||s;return(o||"/")+l(i)+r}function f(e,t){return t===Je?e===t:!!t&&(e.path&&t.path?e.path.replace(Ue,"")===t.path.replace(Ue,"")&&e.hash===t.hash&&u(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&u(e.query,t.query)&&u(e.params,t.params)))}function u(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var o=Object.keys(e),i=Object.keys(t);return o.length===i.length&&o.every(function(o){var i=e[o],r=t[o];return"object"==typeof i&&"object"==typeof r?u(i,r):String(i)===String(r)})}function h(e,t){return 0===e.path.replace(Ue,"/").indexOf(t.path.replace(Ue,"/"))&&(!t.hash||e.hash===t.hash)&&b(e.query,t.query)}function b(e,t){for(var o in t)if(!(o in e))return!1;return!0}function m(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){if(/\b_blank\b/i.test(e.currentTarget.getAttribute("target")))return}return e.preventDefault&&e.preventDefault(),!0}}function x(e){if(e)for(var t,o=0;o=0&&(t=e.slice(i),e=e.slice(0,i));var r=e.indexOf("?");return r>=0&&(o=e.slice(r+1),e=e.slice(0,r)),{path:e,query:o,hash:t}}function _(e){return e.replace(/\/\//g,"/")}function v(e,t){for(var o,i=[],r=0,l=0,A="",n=t&&t.delimiter||"/";null!=(o=Ze.exec(e));){var a=o[0],s=o[1],c=o.index;if(A+=e.slice(l,c),l=c+a.length,s)A+=s[1];else{var p=e[l],d=o[2],g=o[3],f=o[4],u=o[5],h=o[6],b=o[7];A&&(i.push(A),A="");var m=null!=d&&null!=p&&p!==d,x="+"===h||"*"===h,w="?"===h||"*"===h,E=o[2]||n,B=f||u;i.push({name:g||r++,prefix:d||"",delimiter:E,optional:w,repeat:x,partial:m,asterisk:!!b,pattern:B?S(B):b?".*":"[^"+D(E)+"]+?"})}}return l-1&&(r.params[d]=o.params[d]);if(n)return r.path=U(n.path,r.params,'named route "'+l+'"'),A(n,r,i)}else if(r.path){r.params={};for(var g=0;g=e.length?o():e[r]?t(e[r],function(){i(r+1)}):i(r+1)};i(0)}function se(e){return function(t,o,i){var l=!1,A=0,n=null;ce(e,function(e,t,o,a){if("function"==typeof e&&void 0===e.cid){l=!0,A++;var s,c=ge(function(t){de(t)&&(t=t.default),e.resolved="function"==typeof t?t:Ye.extend(t),o.components[a]=t,--A<=0&&i()}),p=ge(function(e){var t="Failed to resolve async component "+a+": "+e;n||(n=r(e)?e:new Error(t),i(n))});try{s=e(c,p)}catch(e){p(e)}if(s)if("function"==typeof s.then)s.then(c,p);else{var d=s.component;d&&"function"==typeof d.then&&d.then(c,p)}}}),l||i()}}function ce(e,t){return pe(e.map(function(e){return Object.keys(e.components).map(function(o){return t(e.components[o],e.instances[o],e,o)})}))}function pe(e){return Array.prototype.concat.apply([],e)}function de(e){return e.__esModule||ot&&"Module"===e[Symbol.toStringTag]}function ge(e){var t=!1;return function(){for(var o=[],i=arguments.length;i--;)o[i]=arguments[i];if(!t)return t=!0,e.apply(this,o)}}function fe(e){if(!e)if(Ge){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function ue(e,t){var o,i=Math.max(e.length,t.length);for(o=0;o-1?decodeURI(e.slice(0,i))+e.slice(i):decodeURI(e)}else o>-1&&(e=decodeURI(e.slice(0,o))+e.slice(o));return e}function ye(e){var t=window.location.href,o=t.indexOf("#");return(o>=0?t.slice(0,o):t)+"#"+e}function De(e){$e?Ae(ye(e)):window.location.hash=e}function Se(e){$e?ne(ye(e)):window.location.replace(ye(e))}function Ce(e,t){return e.push(t),function(){var o=e.indexOf(t);o>-1&&e.splice(o,1)}}function Fe(e,t,o){var i="hash"===o?"#"+t:t;return e?_(e+"/"+i):i}var Ye,Me={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var o=t.props,i=t.children,r=t.parent,n=t.data;n.routerView=!0;for(var a=r.$createElement,s=o.name,c=r.$route,p=r._routerViewCache||(r._routerViewCache={}),d=0,g=!1;r&&r._routerRoot!==r;){var f=r.$vnode&&r.$vnode.data;f&&(f.routerView&&d++,f.keepAlive&&r._inactive&&(g=!0)),r=r.$parent}if(n.routerViewDepth=d,g)return a(p[s],n,i);var u=c.matched[d];if(!u)return p[s]=null,a();var h=p[s]=u.components[s];n.registerRouteInstance=function(e,t){var o=u.instances[s];(t&&o!==e||!t&&o===e)&&(u.instances[s]=t)},(n.hook||(n.hook={})).prepatch=function(e,t){u.instances[s]=t.componentInstance},n.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==u.instances[s]&&(u.instances[s]=e.componentInstance)};var b=n.props=A(c,u.props&&u.props[s]);if(b){b=n.props=l({},b);var m=n.attrs=n.attrs||{};for(var x in b)h.props&&x in h.props||(m[x]=b[x],delete b[x])}return a(h,n,i)}},Re=function(e){return"%"+e.charCodeAt(0).toString(16)},Ne=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,Re).replace(/%2C/g,",")},Oe=decodeURIComponent,Ue=/\/?$/,Je=c(null,{path:"/"}),Te=[String,Object],ze=[String,Array],je={name:"RouterLink",props:{to:{type:Te,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:ze,default:"click"}},render:function(e){var t=this,o=this.$router,i=this.$route,r=o.resolve(this.to,i,this.append),A=r.location,n=r.route,a=r.href,s={},p=o.options.linkActiveClass,d=o.options.linkExactActiveClass,g=null==p?"router-link-active":p,u=null==d?"router-link-exact-active":d,b=null==this.activeClass?g:this.activeClass,w=null==this.exactActiveClass?u:this.exactActiveClass,E=A.path?c(null,A,null,o):n;s[w]=f(i,E),s[b]=this.exact?s[w]:h(i,E);var B=function(e){m(e)&&(t.replace?o.replace(A):o.push(A))},_={click:m};Array.isArray(this.event)?this.event.forEach(function(e){_[e]=B}):_[this.event]=B;var v={class:s};if("a"===this.tag)v.on=_,v.attrs={href:a};else{var k=x(this.$slots.default);if(k){k.isStatic=!1;(k.data=l({},k.data)).on=_;(k.data.attrs=l({},k.data.attrs)).href=a}else v.on=_}return e(this.tag,v,this.$slots.default)}},Ge="undefined"!=typeof window,He=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},Le=O,Pe=v,We=k,Xe=y,Ve=N,Ze=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Le.parse=Pe,Le.compile=We,Le.tokensToFunction=Xe,Le.tokensToRegExp=Ve;var Ke=Object.create(null),qe=Object.create(null),$e=Ge&&function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),et=Ge&&window.performance&&window.performance.now?window.performance:Date,tt=ie(),ot="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,it=function(e,t){this.router=e,this.base=fe(t),this.current=Je,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};it.prototype.listen=function(e){this.cb=e},it.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},it.prototype.onError=function(e){this.errorCbs.push(e)},it.prototype.transitionTo=function(e,t,o){var i=this,r=this.router.match(e,this.current);this.confirmTransition(r,function(){i.updateRoute(r),t&&t(r),i.ensureURL(),i.ready||(i.ready=!0,i.readyCbs.forEach(function(e){e(r)}))},function(e){o&&o(e),e&&!i.ready&&(i.ready=!0,i.readyErrorCbs.forEach(function(t){t(e)}))})},it.prototype.confirmTransition=function(e,t,o){var l=this,A=this.current,n=function(e){r(e)&&(l.errorCbs.length?l.errorCbs.forEach(function(t){t(e)}):(i(!1,"uncaught error during route navigation:"),console.error(e))),o&&o(e)};if(f(e,A)&&e.matched.length===A.matched.length)return this.ensureURL(),n();var a=ue(this.current.matched,e.matched),s=a.updated,c=a.deactivated,p=a.activated,d=[].concat(me(c),this.router.beforeHooks,xe(s),p.map(function(e){return e.beforeEnter}),se(p));this.pending=e;var g=function(t,o){if(l.pending!==e)return n();try{t(e,A,function(e){!1===e||r(e)?(l.ensureURL(!0),n(e)):"string"==typeof e||"object"==typeof e&&("string"==typeof e.path||"string"==typeof e.name)?(n(),"object"==typeof e&&e.replace?l.replace(e):l.push(e)):o(e)})}catch(e){n(e)}};ae(d,g,function(){var o=[];ae(Ee(p,o,function(){return l.current===e}).concat(l.router.resolveHooks),g,function(){if(l.pending!==e)return n();l.pending=null,t(e),l.router.app&&l.router.app.$nextTick(function(){o.forEach(function(e){e()})})})})},it.prototype.updateRoute=function(e){var t=this.current;this.current=e,this.cb&&this.cb(e),this.router.afterHooks.forEach(function(o){o&&o(e,t)})};var rt=function(e){function t(t,o){var i=this;e.call(this,t,o);var r=t.options.scrollBehavior,l=$e&&r;l&&W();var A=ve(this.base);window.addEventListener("popstate",function(e){var o=i.current,r=ve(i.base);i.current===Je&&r===A||i.transitionTo(r,function(e){l&&X(t,e,o,!0)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,o){var i=this,r=this,l=r.current;this.transitionTo(e,function(e){Ae(_(i.base+e.fullPath)),X(i.router,e,l,!1),t&&t(e)},o)},t.prototype.replace=function(e,t,o){var i=this,r=this,l=r.current;this.transitionTo(e,function(e){ne(_(i.base+e.fullPath)),X(i.router,e,l,!1),t&&t(e)},o)},t.prototype.ensureURL=function(e){if(ve(this.base)!==this.current.fullPath){var t=_(this.base+this.current.fullPath);e?Ae(t):ne(t)}},t.prototype.getCurrentLocation=function(){return ve(this.base)},t}(it),lt=function(e){function t(t,o,i){e.call(this,t,o),i&&ke(this.base)||Qe()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this,t=this.router,o=t.options.scrollBehavior,i=$e&&o;i&&W(),window.addEventListener($e?"popstate":"hashchange",function(){var t=e.current;Qe()&&e.transitionTo(Ie(),function(o){i&&X(e.router,o,t,!0),$e||Se(o.fullPath)})})},t.prototype.push=function(e,t,o){var i=this,r=this,l=r.current;this.transitionTo(e,function(e){De(e.fullPath),X(i.router,e,l,!1),t&&t(e)},o)},t.prototype.replace=function(e,t,o){var i=this,r=this,l=r.current;this.transitionTo(e,function(e){Se(e.fullPath),X(i.router,e,l,!1),t&&t(e)},o)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;Ie()!==t&&(e?De(t):Se(t))},t.prototype.getCurrentLocation=function(){return Ie()},t}(it),At=function(e){function t(t,o){e.call(this,t,o),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,o){var i=this;this.transitionTo(e,function(e){i.stack=i.stack.slice(0,i.index+1).concat(e),i.index++,t&&t(e)},o)},t.prototype.replace=function(e,t,o){var i=this;this.transitionTo(e,function(e){i.stack=i.stack.slice(0,i.index).concat(e),t&&t(e)},o)},t.prototype.go=function(e){var t=this,o=this.index+e;if(!(o<0||o>=this.stack.length)){var i=this.stack[o];this.confirmTransition(i,function(){t.index=o,t.updateRoute(i)})}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(it),nt=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=H(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!$e&&!1!==e.fallback,this.fallback&&(t="hash"),Ge||(t="abstract"),this.mode=t,t){case"history":this.history=new rt(this,e.base);break;case"hash":this.history=new lt(this,e.base,this.fallback);break;case"abstract":this.history=new At(this,e.base)}},at={currentRoute:{configurable:!0}};nt.prototype.match=function(e,t,o){return this.matcher.match(e,t,o)},at.currentRoute.get=function(){return this.history&&this.history.current},nt.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",function(){var o=t.apps.indexOf(e);o>-1&&t.apps.splice(o,1),t.app===e&&(t.app=t.apps[0]||null)}),!this.app){this.app=e;var o=this.history;if(o instanceof rt)o.transitionTo(o.getCurrentLocation());else if(o instanceof lt){var i=function(){o.setupListeners()};o.transitionTo(o.getCurrentLocation(),i,i)}o.listen(function(e){t.apps.forEach(function(t){t._route=e})})}},nt.prototype.beforeEach=function(e){return Ce(this.beforeHooks,e)},nt.prototype.beforeResolve=function(e){return Ce(this.resolveHooks,e)},nt.prototype.afterEach=function(e){return Ce(this.afterHooks,e)},nt.prototype.onReady=function(e,t){this.history.onReady(e,t)},nt.prototype.onError=function(e){this.history.onError(e)},nt.prototype.push=function(e,t,o){this.history.push(e,t,o)},nt.prototype.replace=function(e,t,o){this.history.replace(e,t,o)},nt.prototype.go=function(e){this.history.go(e)},nt.prototype.back=function(){this.go(-1)},nt.prototype.forward=function(){this.go(1)},nt.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map(function(e){return Object.keys(e.components).map(function(t){return e.components[t]})})):[]},nt.prototype.resolve=function(e,t,o){t=t||this.history.current;var i=G(e,t,o,this),r=this.match(i,t),l=r.redirectedFrom||r.fullPath;return{location:i,route:r,href:Fe(this.history.base,l,this.mode),normalizedTo:i,resolved:r}},nt.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==Je&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(nt.prototype,at),nt.install=w,nt.version="3.0.6",Ge&&window.Vue&&window.Vue.use(nt),t.a=nt},,,,,,,,,,,,,,,,,,,,,,,function(e,t,o){"use strict";function i(e){var t=new A(e),o=l(A.prototype.request,t);return r.extend(o,A.prototype,t),r.extend(o,t),o}var r=o(3),l=o(64),A=o(119),n=o(33),a=i(n);a.Axios=A,a.create=function(e){return i(r.merge(n,e))},a.Cancel=o(61),a.CancelToken=o(118),a.isCancel=o(62),a.all=function(e){return Promise.all(e)},a.spread=o(133),e.exports=a,e.exports.default=a},function(e,t,o){"use strict";function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var o=this;e(function(e){o.reason||(o.reason=new r(e),t(o.reason))})}var r=o(61);i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},function(e,t,o){"use strict";function i(e){this.defaults=e,this.interceptors={request:new A,response:new A}}var r=o(33),l=o(3),A=o(120),n=o(121);i.prototype.request=function(e){"string"==typeof e&&(e=l.merge({url:arguments[0]},arguments[1])),e=l.merge(r,{method:"get"},this.defaults,e),e.method=e.method.toLowerCase();var t=[n,void 0],o=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)o=o.then(t.shift(),t.shift());return o},l.forEach(["delete","get","head","options"],function(e){i.prototype[e]=function(t,o){return this.request(l.merge(o||{},{method:e,url:t}))}}),l.forEach(["post","put","patch"],function(e){i.prototype[e]=function(t,o,i){return this.request(l.merge(i||{},{method:e,url:t,data:o}))}}),e.exports=i},function(e,t,o){"use strict";function i(){this.handlers=[]}var r=o(3);i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},function(e,t,o){"use strict";function i(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var r=o(3),l=o(124),A=o(62),n=o(33),a=o(129),s=o(127);e.exports=function(e){return i(e),e.baseURL&&!a(e.url)&&(e.url=s(e.baseURL,e.url)),e.headers=e.headers||{},e.data=l(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||n.adapter)(e).then(function(t){return i(e),t.data=l(t.data,t.headers,e.transformResponse),t},function(t){return A(t)||(i(e),t&&t.response&&(t.response.data=l(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,o){"use strict";e.exports=function(e,t,o,i,r){return e.config=t,o&&(e.code=o),e.request=i,e.response=r,e}},function(e,t,o){"use strict";var i=o(63);e.exports=function(e,t,o){var r=o.config.validateStatus;o.status&&r&&!r(o.status)?t(i("Request failed with status code "+o.status,o.config,null,o.request,o)):e(o)}},function(e,t,o){"use strict";var i=o(3);e.exports=function(e,t,o){return i.forEach(o,function(o){e=o(e,t)}),e}},function(e,t,o){"use strict";function i(){this.message="String contains an invalid character"}function r(e){for(var t,o,r=String(e),A="",n=0,a=l;r.charAt(0|n)||(a="=",n%1);A+=a.charAt(63&t>>8-n%1*8)){if((o=r.charCodeAt(n+=.75))>255)throw new i;t=t<<8|o}return A}var l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.prototype=new Error,i.prototype.code=5,i.prototype.name="InvalidCharacterError",e.exports=r},function(e,t,o){"use strict";function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var r=o(3);e.exports=function(e,t,o){if(!t)return e;var l;if(o)l=o(t);else if(r.isURLSearchParams(t))l=t.toString();else{var A=[];r.forEach(t,function(e,t){null!==e&&void 0!==e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),A.push(i(t)+"="+i(e))}))}),l=A.join("&")}return l&&(e+=(-1===e.indexOf("?")?"?":"&")+l),e}},function(e,t,o){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,o){"use strict";var i=o(3);e.exports=i.isStandardBrowserEnv()?function(){return{write:function(e,t,o,r,l,A){var n=[];n.push(e+"="+encodeURIComponent(t)),i.isNumber(o)&&n.push("expires="+new Date(o).toGMTString()),i.isString(r)&&n.push("path="+r),i.isString(l)&&n.push("domain="+l),!0===A&&n.push("secure"),document.cookie=n.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(e,t,o){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,o){"use strict";var i=o(3);e.exports=i.isStandardBrowserEnv()?function(){function e(e){var t=e;return o&&(r.setAttribute("href",t),t=r.href),r.setAttribute("href",t),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}var t,o=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");return t=e(window.location.href),function(o){var r=i.isString(o)?e(o):o;return r.protocol===t.protocol&&r.host===t.host}}():function(){return function(){return!0}}()},function(e,t,o){"use strict";var i=o(3);e.exports=function(e,t){i.forEach(e,function(o,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=o,delete e[i])})}},function(e,t,o){"use strict";var i=o(3),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,o,l,A={};return e?(i.forEach(e.split("\n"),function(e){if(l=e.indexOf(":"),t=i.trim(e.substr(0,l)).toLowerCase(),o=i.trim(e.substr(l+1)),t){if(A[t]&&r.indexOf(t)>=0)return;A[t]="set-cookie"===t?(A[t]?A[t]:[]).concat([o]):A[t]?A[t]+", "+o:o}}),A):A}},function(e,t,o){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,o){"use strict";var i,r=o(8),l=o(22);t.a={data:function(){return{isCollapse:!1,aboutDialogVisible:!1,userSelfInfo:{},datasourceOptions:[],datasourceList:[],choiceDatasource:"",defaultProps:{children:"children",label:"name"},nowDatasourceShow:{},databaseList:[],databaseExpandedKeys:[],upgradeInfo:{}}},mounted:function(){i=this,r.a.vue.$app=this,this.getSelfUserInfo(),this.checkSystemUpgrade(),this.loadDatasourceList()},methods:{userSettingDropdown:function(e){console.log("command:"+e),"userSignOut"==e?this.userSignOut():"aboutDoc"==e?i.aboutDialogVisible=!0:"myInfo"==e?this.$router.push({path:"/user/myInfo"}):"console"==e?window.location=this.apilist1.HOST:l.a.notOpen()},userSignOut:function(){this.common.post(this.apilist1.userLogout,{},function(e){location.reload()})},getSelfUserInfo:function(){this.common.post(this.apilist1.getSelfUserInfo,{},function(e){i.userSelfInfo=e.data})},datasourceChangeEvents:function(){i.nowDatasourceShow=this.choiceDatasource,i.loadDatabaseList(this.choiceDatasource)},handleNodeClick:function(e){console.log("点击节点:",e),1==e.type?(this.nowClickPath={host:e.host,dbName:e.dbName,tableName:e.tableName},this.$router.push({path:"/table/database",query:this.nowClickPath})):2==e.type&&(this.nowClickPath={host:e.host,dbName:e.dbName,tableName:e.tableName},this.$router.push({path:"/table/info",query:this.nowClickPath}))},handleNodeExpand:function(e){e.children.length>0&&e.children[0].needLoad&&(console.log("加载节点:",e),1==e.type&&i.loadGetTableList(e))},loadGetTableList:function(e,t){this.common.post(this.apilist1.tableList,{host:e.host,dbName:e.dbName},function(o){for(var i=[],r=o.data||[],l=0;l0||this.loadDatabaseList(e,function(){i.databaseExpandedKeys=[e]})},checkSystemUpgrade:function(){this.common.post(this.apilist1.systemUpgradeInfo,{},function(e){e.data&&(i.upgradeInfo=e.data,console.log("zyplayer-doc发现新版本:\n升级地址:"+e.data.upgradeUrl+"\n当前版本:"+e.data.nowVersion+"\n最新版本:"+e.data.lastVersion+"\n升级内容:"+e.data.upgradeContent))})}}}},function(e,t,o){"use strict";t.a={data:function(){return{}},mounted:function(){},methods:{}}},function(e,t,o){"use strict";var i,r=o(146),l=o.n(r);o(22),o(8);t.a={data:function(){return{loadDataListLoading:!1,datasourceDialogVisible:!1,datasourceList:[],newDatasource:{}}},mounted:function(){i=this,this.getDatasourceList()},methods:{addDatasource:function(){this.datasourceDialogVisible=!0,this.newDatasource={name:"",driverClassName:"",sourceUrl:"",sourceName:"",sourcePassword:""}},editDatasource:function(e){this.newDatasource=JSON.parse(l()(e)),this.datasourceDialogVisible=!0},deleteDatasource:function(e){var t=this;this.$confirm("确定要删除此数据源吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.yn=0,t.common.post(t.apilist1.manageUpdateDatasource,e,function(e){i.$message.success("删除成功!"),i.getDatasourceList()})}).catch(function(){})},saveDatasource:function(){this.datasourceDialogVisible=!1,this.common.post(this.apilist1.manageUpdateDatasource,this.newDatasource,function(e){i.$message.success("保存成功!"),i.getDatasourceList()})},getDatasourceList:function(){this.loadDataListLoading=!0,this.common.post(this.apilist1.manageDatasourceList,{},function(e){i.datasourceList=e.data||[],setTimeout(function(){i.loadDataListLoading=!1},800)})}}}},function(e,t,o){"use strict";var i;t.a={data:function(){return{datasourceOptions:[],datasourceList:[],choiceDatasource:"",choiceDatabase:"",choiceTable:"",nowDatasourceShow:{},databaseList:[],tableList:[],selectTables:[]}},mounted:function(){i=this,this.loadDatasourceList()},methods:{datasourceChangeEvents:function(){i.nowDatasourceShow=this.choiceDatasource,i.loadDatabaseList(this.choiceDatasource)},databaseChangeEvents:function(){i.loadGetTableList()},exportChoiceTable:function(){if(this.selectTables.length<=0)return void i.$message.info("请选择需要导出的表");for(var e="",t=0;t0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function r(e){return 3*e.length/4-i(e)}function l(e){var t,o,r,l,A,n,a=e.length;A=i(e),n=new p(3*a/4-A),r=A>0?a-4:a;var s=0;for(t=0,o=0;t>16&255,n[s++]=l>>8&255,n[s++]=255&l;return 2===A?(l=c[e.charCodeAt(t)]<<2|c[e.charCodeAt(t+1)]>>4,n[s++]=255&l):1===A&&(l=c[e.charCodeAt(t)]<<10|c[e.charCodeAt(t+1)]<<4|c[e.charCodeAt(t+2)]>>2,n[s++]=l>>8&255,n[s++]=255&l),n}function A(e){return s[e>>18&63]+s[e>>12&63]+s[e>>6&63]+s[63&e]}function n(e,t,o){for(var i,r=[],l=t;la?a:A+16383));return 1===i?(t=e[o-1],r+=s[t>>2],r+=s[t<<4&63],r+="=="):2===i&&(t=(e[o-2]<<8)+e[o-1],r+=s[t>>10],r+=s[t>>4&63],r+=s[t<<2&63],r+="="),l.push(r),l.join("")}t.byteLength=r,t.toByteArray=l,t.fromByteArray=a;for(var s=[],c=[],p="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=0,f=d.length;g=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function u(e){return+e!=e&&(e=0),l.alloc(+e)}function h(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var o=e.length;if(0===o)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return o;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*o;case"hex":return o>>>1;case"base64":return W(e).length;default:if(i)return H(e).length;t=(""+t).toLowerCase(),i=!0}}function b(e,t,o){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===o||o>this.length)&&(o=this.length),o<=0)return"";if(o>>>=0,t>>>=0,o<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return F(this,t,o);case"utf8":case"utf-8":return y(this,t,o);case"ascii":return S(this,t,o);case"latin1":case"binary":return C(this,t,o);case"base64":return I(this,t,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,t,o);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function m(e,t,o){var i=e[t];e[t]=e[o],e[o]=i}function x(e,t,o,i,r){if(0===e.length)return-1;if("string"==typeof o?(i=o,o=0):o>2147483647?o=2147483647:o<-2147483648&&(o=-2147483648),o=+o,isNaN(o)&&(o=r?0:e.length-1),o<0&&(o=e.length+o),o>=e.length){if(r)return-1;o=e.length-1}else if(o<0){if(!r)return-1;o=0}if("string"==typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:w(e,t,o,i,r);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,o):Uint8Array.prototype.lastIndexOf.call(e,t,o):w(e,[t],o,i,r);throw new TypeError("val must be string, number or Buffer")}function w(e,t,o,i,r){function l(e,t){return 1===A?e[t]:e.readUInt16BE(t*A)}var A=1,n=e.length,a=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;A=2,n/=2,a/=2,o/=2}var s;if(r){var c=-1;for(s=o;sn&&(o=n-a),s=o;s>=0;s--){for(var p=!0,d=0;dr&&(i=r):i=r;var l=t.length;if(l%2!=0)throw new TypeError("Invalid hex string");i>l/2&&(i=l/2);for(var A=0;A239?4:l>223?3:l>191?2:1;if(r+n<=o){var a,s,c,p;switch(n){case 1:l<128&&(A=l);break;case 2:a=e[r+1],128==(192&a)&&(p=(31&l)<<6|63&a)>127&&(A=p);break;case 3:a=e[r+1],s=e[r+2],128==(192&a)&&128==(192&s)&&(p=(15&l)<<12|(63&a)<<6|63&s)>2047&&(p<55296||p>57343)&&(A=p);break;case 4:a=e[r+1],s=e[r+2],c=e[r+3],128==(192&a)&&128==(192&s)&&128==(192&c)&&(p=(15&l)<<18|(63&a)<<12|(63&s)<<6|63&c)>65535&&p<1114112&&(A=p)}}null===A?(A=65533,n=1):A>65535&&(A-=65536,i.push(A>>>10&1023|55296),A=56320|1023&A),i.push(A),r+=n}return D(i)}function D(e){var t=e.length;if(t<=$)return String.fromCharCode.apply(String,e);for(var o="",i=0;ii)&&(o=i);for(var r="",l=t;lo)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,o,i,r,A){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function N(e,t,o,i){t<0&&(t=65535+t+1);for(var r=0,l=Math.min(e.length-o,2);r>>8*(i?r:1-r)}function O(e,t,o,i){t<0&&(t=4294967295+t+1);for(var r=0,l=Math.min(e.length-o,4);r>>8*(i?r:3-r)&255}function U(e,t,o,i,r,l){if(o+i>e.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("Index out of range")}function J(e,t,o,i,r){return r||U(e,t,o,4,3.4028234663852886e38,-3.4028234663852886e38),K.write(e,t,o,i,23,4),o+4}function T(e,t,o,i,r){return r||U(e,t,o,8,1.7976931348623157e308,-1.7976931348623157e308),K.write(e,t,o,i,52,8),o+8}function z(e){if(e=j(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function j(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function G(e){return e<16?"0"+e.toString(16):e.toString(16)}function H(e,t){t=t||1/0;for(var o,i=e.length,r=null,l=[],A=0;A55295&&o<57344){if(!r){if(o>56319){(t-=3)>-1&&l.push(239,191,189);continue}if(A+1===i){(t-=3)>-1&&l.push(239,191,189);continue}r=o;continue}if(o<56320){(t-=3)>-1&&l.push(239,191,189),r=o;continue}o=65536+(r-55296<<10|o-56320)}else r&&(t-=3)>-1&&l.push(239,191,189);if(r=null,o<128){if((t-=1)<0)break;l.push(o)}else if(o<2048){if((t-=2)<0)break;l.push(o>>6|192,63&o|128)}else if(o<65536){if((t-=3)<0)break;l.push(o>>12|224,o>>6&63|128,63&o|128)}else{if(!(o<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;l.push(o>>18|240,o>>12&63|128,o>>6&63|128,63&o|128)}}return l}function L(e){for(var t=[],o=0;o>8,r=o%256,l.push(r),l.push(i);return l}function W(e){return Z.toByteArray(z(e))}function X(e,t,o,i){for(var r=0;r=t.length||r>=e.length);++r)t[r+o]=e[r];return r}function V(e){return e!==e}/*! +webpackJsonp([1],[,,,function(e,t,o){"use strict";function i(e){return"[object Array]"===v.call(e)}function r(e){return"[object ArrayBuffer]"===v.call(e)}function l(e){return"undefined"!=typeof FormData&&e instanceof FormData}function A(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function n(e){return"string"==typeof e}function a(e){return"number"==typeof e}function s(e){return void 0===e}function c(e){return null!==e&&"object"==typeof e}function p(e){return"[object Date]"===v.call(e)}function d(e){return"[object File]"===v.call(e)}function g(e){return"[object Blob]"===v.call(e)}function f(e){return"[object Function]"===v.call(e)}function u(e){return c(e)&&f(e.pipe)}function h(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function b(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function m(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function x(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),i(e))for(var o=0,r=e.length;oo.parts.length&&(i.parts.length=o.parts.length)}else{for(var A=[],r=0;r=200&&e<300}};n.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(e){n.headers[e]={}}),r.forEach(["post","put","patch"],function(e){n.headers[e]=r.merge(A)}),e.exports=n}).call(t,o(85))},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,o){"use strict";var i=o(18),r=o.n(i),l=o(143),A=window.location.href,n={href:A,HOST:"./",HOST1:"./",mixUrl:function(e,t){var o;if(e&&t&&!n.isEmptyObject(t)){t.HOST=e;for(o in t)-1==t[o].indexOf("http")&&(t[o]=e+t[o]);return t}},isEmptyObject:function(e){if("object"===(void 0===e?"undefined":r()(e))&&!(e instanceof Array)){var t=!1;for(var o in e){t=!0;break}return!t}}},a=n.mixUrl(n.HOST,l.a.URL),s=n.mixUrl(n.HOST1,l.a.URL1);t.a={apilist1:a,apilist2:s}},,function(e,t,o){"use strict";var i=o(3),r=o(123),l=o(126),A=o(132),n=o(130),a=o(63),s="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||o(125);e.exports=function(e){return new Promise(function(t,c){var p=e.data,d=e.headers;i.isFormData(p)&&delete d["Content-Type"];var g=new XMLHttpRequest,f="onreadystatechange",u=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in g||n(e.url)||(g=new window.XDomainRequest,f="onload",u=!0,g.onprogress=function(){},g.ontimeout=function(){}),e.auth){var h=e.auth.username||"",b=e.auth.password||"";d.Authorization="Basic "+s(h+":"+b)}if(g.open(e.method.toUpperCase(),l(e.url,e.params,e.paramsSerializer),!0),g.timeout=e.timeout,g[f]=function(){if(g&&(4===g.readyState||u)&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))){var o="getAllResponseHeaders"in g?A(g.getAllResponseHeaders()):null,i=e.responseType&&"text"!==e.responseType?g.response:g.responseText,l={data:i,status:1223===g.status?204:g.status,statusText:1223===g.status?"No Content":g.statusText,headers:o,config:e,request:g};r(t,c,l),g=null}},g.onerror=function(){c(a("Network Error",e,null,g)),g=null},g.ontimeout=function(){c(a("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",g)),g=null},i.isStandardBrowserEnv()){var m=o(128),x=(e.withCredentials||n(e.url))&&e.xsrfCookieName?m.read(e.xsrfCookieName):void 0;x&&(d[e.xsrfHeaderName]=x)}if("setRequestHeader"in g&&i.forEach(d,function(e,t){void 0===p&&"content-type"===t.toLowerCase()?delete d[t]:g.setRequestHeader(t,e)}),e.withCredentials&&(g.withCredentials=!0),e.responseType)try{g.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&g.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){g&&(g.abort(),c(e),g=null)}),void 0===p&&(p=null),g.send(p)})}},function(e,t,o){"use strict";function i(e){this.message=e}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,e.exports=i},function(e,t,o){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,o){"use strict";var i=o(122);e.exports=function(e,t,o,r,l){var A=new Error(e);return i(A,t,o,r,l)}},function(e,t,o){"use strict";e.exports=function(e,t){return function(){for(var o=new Array(arguments.length),i=0;i=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122?o+=t.charAt(i):l<128?o+=r[l]:l<2048?o+=r[192|l>>6]+r[128|63&l]:l<55296||l>=57344?o+=r[224|l>>12]+r[128|l>>6&63]+r[128|63&l]:(i+=1,l=65536+((1023&l)<<10|1023&t.charCodeAt(i)),o+=r[240|l>>18]+r[128|l>>12&63]+r[128|l>>6&63]+r[128|63&l])}return o},t.compact=function(e,o){if("object"!=typeof e||null===e)return e;var i=o||[],r=i.indexOf(e);if(-1!==r)return i[r];if(i.push(e),Array.isArray(e)){for(var l=[],A=0;A-1}function l(e,t){for(var o in t)e[o]=t[o];return e}function A(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0}}function n(e,t,o){void 0===t&&(t={});var i,r=o||a;try{i=r(e||"")}catch(e){i={}}for(var l in t)i[l]=t[l];return i}function a(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var o=e.replace(/\+/g," ").split("="),i=Oe(o.shift()),r=o.length>0?Oe(o.join("=")):null;void 0===t[i]?t[i]=r:Array.isArray(t[i])?t[i].push(r):t[i]=[t[i],r]}),t):t}function s(e){var t=e?Object.keys(e).map(function(t){var o=e[t];if(void 0===o)return"";if(null===o)return Ne(t);if(Array.isArray(o)){var i=[];return o.forEach(function(e){void 0!==e&&(null===e?i.push(Ne(t)):i.push(Ne(t)+"="+Ne(e)))}),i.join("&")}return Ne(t)+"="+Ne(o)}).filter(function(e){return e.length>0}).join("&"):null;return t?"?"+t:""}function c(e,t,o,i){var r=i&&i.options.stringifyQuery,l=t.query||{};try{l=p(l)}catch(e){}var A={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:l,params:t.params||{},fullPath:g(t,r),matched:e?d(e):[]};return o&&(A.redirectedFrom=g(o,r)),Object.freeze(A)}function p(e){if(Array.isArray(e))return e.map(p);if(e&&"object"==typeof e){var t={};for(var o in e)t[o]=p(e[o]);return t}return e}function d(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function g(e,t){var o=e.path,i=e.query;void 0===i&&(i={});var r=e.hash;void 0===r&&(r="");var l=t||s;return(o||"/")+l(i)+r}function f(e,t){return t===Je?e===t:!!t&&(e.path&&t.path?e.path.replace(Ue,"")===t.path.replace(Ue,"")&&e.hash===t.hash&&u(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&u(e.query,t.query)&&u(e.params,t.params)))}function u(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var o=Object.keys(e),i=Object.keys(t);return o.length===i.length&&o.every(function(o){var i=e[o],r=t[o];return"object"==typeof i&&"object"==typeof r?u(i,r):String(i)===String(r)})}function h(e,t){return 0===e.path.replace(Ue,"/").indexOf(t.path.replace(Ue,"/"))&&(!t.hash||e.hash===t.hash)&&b(e.query,t.query)}function b(e,t){for(var o in t)if(!(o in e))return!1;return!0}function m(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){if(/\b_blank\b/i.test(e.currentTarget.getAttribute("target")))return}return e.preventDefault&&e.preventDefault(),!0}}function x(e){if(e)for(var t,o=0;o=0&&(t=e.slice(i),e=e.slice(0,i));var r=e.indexOf("?");return r>=0&&(o=e.slice(r+1),e=e.slice(0,r)),{path:e,query:o,hash:t}}function _(e){return e.replace(/\/\//g,"/")}function v(e,t){for(var o,i=[],r=0,l=0,A="",n=t&&t.delimiter||"/";null!=(o=Ze.exec(e));){var a=o[0],s=o[1],c=o.index;if(A+=e.slice(l,c),l=c+a.length,s)A+=s[1];else{var p=e[l],d=o[2],g=o[3],f=o[4],u=o[5],h=o[6],b=o[7];A&&(i.push(A),A="");var m=null!=d&&null!=p&&p!==d,x="+"===h||"*"===h,w="?"===h||"*"===h,E=o[2]||n,B=f||u;i.push({name:g||r++,prefix:d||"",delimiter:E,optional:w,repeat:x,partial:m,asterisk:!!b,pattern:B?S(B):b?".*":"[^"+D(E)+"]+?"})}}return l-1&&(r.params[d]=o.params[d]);if(n)return r.path=U(n.path,r.params,'named route "'+l+'"'),A(n,r,i)}else if(r.path){r.params={};for(var g=0;g=e.length?o():e[r]?t(e[r],function(){i(r+1)}):i(r+1)};i(0)}function se(e){return function(t,o,i){var l=!1,A=0,n=null;ce(e,function(e,t,o,a){if("function"==typeof e&&void 0===e.cid){l=!0,A++;var s,c=ge(function(t){de(t)&&(t=t.default),e.resolved="function"==typeof t?t:Ye.extend(t),o.components[a]=t,--A<=0&&i()}),p=ge(function(e){var t="Failed to resolve async component "+a+": "+e;n||(n=r(e)?e:new Error(t),i(n))});try{s=e(c,p)}catch(e){p(e)}if(s)if("function"==typeof s.then)s.then(c,p);else{var d=s.component;d&&"function"==typeof d.then&&d.then(c,p)}}}),l||i()}}function ce(e,t){return pe(e.map(function(e){return Object.keys(e.components).map(function(o){return t(e.components[o],e.instances[o],e,o)})}))}function pe(e){return Array.prototype.concat.apply([],e)}function de(e){return e.__esModule||ot&&"Module"===e[Symbol.toStringTag]}function ge(e){var t=!1;return function(){for(var o=[],i=arguments.length;i--;)o[i]=arguments[i];if(!t)return t=!0,e.apply(this,o)}}function fe(e){if(!e)if(Ge){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function ue(e,t){var o,i=Math.max(e.length,t.length);for(o=0;o-1?decodeURI(e.slice(0,i))+e.slice(i):decodeURI(e)}else o>-1&&(e=decodeURI(e.slice(0,o))+e.slice(o));return e}function ye(e){var t=window.location.href,o=t.indexOf("#");return(o>=0?t.slice(0,o):t)+"#"+e}function De(e){$e?Ae(ye(e)):window.location.hash=e}function Se(e){$e?ne(ye(e)):window.location.replace(ye(e))}function Ce(e,t){return e.push(t),function(){var o=e.indexOf(t);o>-1&&e.splice(o,1)}}function Fe(e,t,o){var i="hash"===o?"#"+t:t;return e?_(e+"/"+i):i}var Ye,Me={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var o=t.props,i=t.children,r=t.parent,n=t.data;n.routerView=!0;for(var a=r.$createElement,s=o.name,c=r.$route,p=r._routerViewCache||(r._routerViewCache={}),d=0,g=!1;r&&r._routerRoot!==r;){var f=r.$vnode&&r.$vnode.data;f&&(f.routerView&&d++,f.keepAlive&&r._inactive&&(g=!0)),r=r.$parent}if(n.routerViewDepth=d,g)return a(p[s],n,i);var u=c.matched[d];if(!u)return p[s]=null,a();var h=p[s]=u.components[s];n.registerRouteInstance=function(e,t){var o=u.instances[s];(t&&o!==e||!t&&o===e)&&(u.instances[s]=t)},(n.hook||(n.hook={})).prepatch=function(e,t){u.instances[s]=t.componentInstance},n.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==u.instances[s]&&(u.instances[s]=e.componentInstance)};var b=n.props=A(c,u.props&&u.props[s]);if(b){b=n.props=l({},b);var m=n.attrs=n.attrs||{};for(var x in b)h.props&&x in h.props||(m[x]=b[x],delete b[x])}return a(h,n,i)}},Re=function(e){return"%"+e.charCodeAt(0).toString(16)},Ne=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,Re).replace(/%2C/g,",")},Oe=decodeURIComponent,Ue=/\/?$/,Je=c(null,{path:"/"}),Te=[String,Object],ze=[String,Array],je={name:"RouterLink",props:{to:{type:Te,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:ze,default:"click"}},render:function(e){var t=this,o=this.$router,i=this.$route,r=o.resolve(this.to,i,this.append),A=r.location,n=r.route,a=r.href,s={},p=o.options.linkActiveClass,d=o.options.linkExactActiveClass,g=null==p?"router-link-active":p,u=null==d?"router-link-exact-active":d,b=null==this.activeClass?g:this.activeClass,w=null==this.exactActiveClass?u:this.exactActiveClass,E=A.path?c(null,A,null,o):n;s[w]=f(i,E),s[b]=this.exact?s[w]:h(i,E);var B=function(e){m(e)&&(t.replace?o.replace(A):o.push(A))},_={click:m};Array.isArray(this.event)?this.event.forEach(function(e){_[e]=B}):_[this.event]=B;var v={class:s};if("a"===this.tag)v.on=_,v.attrs={href:a};else{var k=x(this.$slots.default);if(k){k.isStatic=!1;(k.data=l({},k.data)).on=_;(k.data.attrs=l({},k.data.attrs)).href=a}else v.on=_}return e(this.tag,v,this.$slots.default)}},Ge="undefined"!=typeof window,He=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},Le=O,Pe=v,We=k,Xe=y,Ve=N,Ze=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Le.parse=Pe,Le.compile=We,Le.tokensToFunction=Xe,Le.tokensToRegExp=Ve;var Ke=Object.create(null),qe=Object.create(null),$e=Ge&&function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),et=Ge&&window.performance&&window.performance.now?window.performance:Date,tt=ie(),ot="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,it=function(e,t){this.router=e,this.base=fe(t),this.current=Je,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};it.prototype.listen=function(e){this.cb=e},it.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},it.prototype.onError=function(e){this.errorCbs.push(e)},it.prototype.transitionTo=function(e,t,o){var i=this,r=this.router.match(e,this.current);this.confirmTransition(r,function(){i.updateRoute(r),t&&t(r),i.ensureURL(),i.ready||(i.ready=!0,i.readyCbs.forEach(function(e){e(r)}))},function(e){o&&o(e),e&&!i.ready&&(i.ready=!0,i.readyErrorCbs.forEach(function(t){t(e)}))})},it.prototype.confirmTransition=function(e,t,o){var l=this,A=this.current,n=function(e){r(e)&&(l.errorCbs.length?l.errorCbs.forEach(function(t){t(e)}):(i(!1,"uncaught error during route navigation:"),console.error(e))),o&&o(e)};if(f(e,A)&&e.matched.length===A.matched.length)return this.ensureURL(),n();var a=ue(this.current.matched,e.matched),s=a.updated,c=a.deactivated,p=a.activated,d=[].concat(me(c),this.router.beforeHooks,xe(s),p.map(function(e){return e.beforeEnter}),se(p));this.pending=e;var g=function(t,o){if(l.pending!==e)return n();try{t(e,A,function(e){!1===e||r(e)?(l.ensureURL(!0),n(e)):"string"==typeof e||"object"==typeof e&&("string"==typeof e.path||"string"==typeof e.name)?(n(),"object"==typeof e&&e.replace?l.replace(e):l.push(e)):o(e)})}catch(e){n(e)}};ae(d,g,function(){var o=[];ae(Ee(p,o,function(){return l.current===e}).concat(l.router.resolveHooks),g,function(){if(l.pending!==e)return n();l.pending=null,t(e),l.router.app&&l.router.app.$nextTick(function(){o.forEach(function(e){e()})})})})},it.prototype.updateRoute=function(e){var t=this.current;this.current=e,this.cb&&this.cb(e),this.router.afterHooks.forEach(function(o){o&&o(e,t)})};var rt=function(e){function t(t,o){var i=this;e.call(this,t,o);var r=t.options.scrollBehavior,l=$e&&r;l&&W();var A=ve(this.base);window.addEventListener("popstate",function(e){var o=i.current,r=ve(i.base);i.current===Je&&r===A||i.transitionTo(r,function(e){l&&X(t,e,o,!0)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,o){var i=this,r=this,l=r.current;this.transitionTo(e,function(e){Ae(_(i.base+e.fullPath)),X(i.router,e,l,!1),t&&t(e)},o)},t.prototype.replace=function(e,t,o){var i=this,r=this,l=r.current;this.transitionTo(e,function(e){ne(_(i.base+e.fullPath)),X(i.router,e,l,!1),t&&t(e)},o)},t.prototype.ensureURL=function(e){if(ve(this.base)!==this.current.fullPath){var t=_(this.base+this.current.fullPath);e?Ae(t):ne(t)}},t.prototype.getCurrentLocation=function(){return ve(this.base)},t}(it),lt=function(e){function t(t,o,i){e.call(this,t,o),i&&ke(this.base)||Qe()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this,t=this.router,o=t.options.scrollBehavior,i=$e&&o;i&&W(),window.addEventListener($e?"popstate":"hashchange",function(){var t=e.current;Qe()&&e.transitionTo(Ie(),function(o){i&&X(e.router,o,t,!0),$e||Se(o.fullPath)})})},t.prototype.push=function(e,t,o){var i=this,r=this,l=r.current;this.transitionTo(e,function(e){De(e.fullPath),X(i.router,e,l,!1),t&&t(e)},o)},t.prototype.replace=function(e,t,o){var i=this,r=this,l=r.current;this.transitionTo(e,function(e){Se(e.fullPath),X(i.router,e,l,!1),t&&t(e)},o)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;Ie()!==t&&(e?De(t):Se(t))},t.prototype.getCurrentLocation=function(){return Ie()},t}(it),At=function(e){function t(t,o){e.call(this,t,o),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,o){var i=this;this.transitionTo(e,function(e){i.stack=i.stack.slice(0,i.index+1).concat(e),i.index++,t&&t(e)},o)},t.prototype.replace=function(e,t,o){var i=this;this.transitionTo(e,function(e){i.stack=i.stack.slice(0,i.index).concat(e),t&&t(e)},o)},t.prototype.go=function(e){var t=this,o=this.index+e;if(!(o<0||o>=this.stack.length)){var i=this.stack[o];this.confirmTransition(i,function(){t.index=o,t.updateRoute(i)})}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(it),nt=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=H(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!$e&&!1!==e.fallback,this.fallback&&(t="hash"),Ge||(t="abstract"),this.mode=t,t){case"history":this.history=new rt(this,e.base);break;case"hash":this.history=new lt(this,e.base,this.fallback);break;case"abstract":this.history=new At(this,e.base)}},at={currentRoute:{configurable:!0}};nt.prototype.match=function(e,t,o){return this.matcher.match(e,t,o)},at.currentRoute.get=function(){return this.history&&this.history.current},nt.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",function(){var o=t.apps.indexOf(e);o>-1&&t.apps.splice(o,1),t.app===e&&(t.app=t.apps[0]||null)}),!this.app){this.app=e;var o=this.history;if(o instanceof rt)o.transitionTo(o.getCurrentLocation());else if(o instanceof lt){var i=function(){o.setupListeners()};o.transitionTo(o.getCurrentLocation(),i,i)}o.listen(function(e){t.apps.forEach(function(t){t._route=e})})}},nt.prototype.beforeEach=function(e){return Ce(this.beforeHooks,e)},nt.prototype.beforeResolve=function(e){return Ce(this.resolveHooks,e)},nt.prototype.afterEach=function(e){return Ce(this.afterHooks,e)},nt.prototype.onReady=function(e,t){this.history.onReady(e,t)},nt.prototype.onError=function(e){this.history.onError(e)},nt.prototype.push=function(e,t,o){this.history.push(e,t,o)},nt.prototype.replace=function(e,t,o){this.history.replace(e,t,o)},nt.prototype.go=function(e){this.history.go(e)},nt.prototype.back=function(){this.go(-1)},nt.prototype.forward=function(){this.go(1)},nt.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map(function(e){return Object.keys(e.components).map(function(t){return e.components[t]})})):[]},nt.prototype.resolve=function(e,t,o){t=t||this.history.current;var i=G(e,t,o,this),r=this.match(i,t),l=r.redirectedFrom||r.fullPath;return{location:i,route:r,href:Fe(this.history.base,l,this.mode),normalizedTo:i,resolved:r}},nt.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==Je&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(nt.prototype,at),nt.install=w,nt.version="3.0.6",Ge&&window.Vue&&window.Vue.use(nt),t.a=nt},,,,,,,,,,,,,,,,,,,,,,,function(e,t,o){"use strict";function i(e){var t=new A(e),o=l(A.prototype.request,t);return r.extend(o,A.prototype,t),r.extend(o,t),o}var r=o(3),l=o(64),A=o(119),n=o(33),a=i(n);a.Axios=A,a.create=function(e){return i(r.merge(n,e))},a.Cancel=o(61),a.CancelToken=o(118),a.isCancel=o(62),a.all=function(e){return Promise.all(e)},a.spread=o(133),e.exports=a,e.exports.default=a},function(e,t,o){"use strict";function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var o=this;e(function(e){o.reason||(o.reason=new r(e),t(o.reason))})}var r=o(61);i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},function(e,t,o){"use strict";function i(e){this.defaults=e,this.interceptors={request:new A,response:new A}}var r=o(33),l=o(3),A=o(120),n=o(121);i.prototype.request=function(e){"string"==typeof e&&(e=l.merge({url:arguments[0]},arguments[1])),e=l.merge(r,{method:"get"},this.defaults,e),e.method=e.method.toLowerCase();var t=[n,void 0],o=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)o=o.then(t.shift(),t.shift());return o},l.forEach(["delete","get","head","options"],function(e){i.prototype[e]=function(t,o){return this.request(l.merge(o||{},{method:e,url:t}))}}),l.forEach(["post","put","patch"],function(e){i.prototype[e]=function(t,o,i){return this.request(l.merge(i||{},{method:e,url:t,data:o}))}}),e.exports=i},function(e,t,o){"use strict";function i(){this.handlers=[]}var r=o(3);i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},function(e,t,o){"use strict";function i(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var r=o(3),l=o(124),A=o(62),n=o(33),a=o(129),s=o(127);e.exports=function(e){return i(e),e.baseURL&&!a(e.url)&&(e.url=s(e.baseURL,e.url)),e.headers=e.headers||{},e.data=l(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||n.adapter)(e).then(function(t){return i(e),t.data=l(t.data,t.headers,e.transformResponse),t},function(t){return A(t)||(i(e),t&&t.response&&(t.response.data=l(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,o){"use strict";e.exports=function(e,t,o,i,r){return e.config=t,o&&(e.code=o),e.request=i,e.response=r,e}},function(e,t,o){"use strict";var i=o(63);e.exports=function(e,t,o){var r=o.config.validateStatus;o.status&&r&&!r(o.status)?t(i("Request failed with status code "+o.status,o.config,null,o.request,o)):e(o)}},function(e,t,o){"use strict";var i=o(3);e.exports=function(e,t,o){return i.forEach(o,function(o){e=o(e,t)}),e}},function(e,t,o){"use strict";function i(){this.message="String contains an invalid character"}function r(e){for(var t,o,r=String(e),A="",n=0,a=l;r.charAt(0|n)||(a="=",n%1);A+=a.charAt(63&t>>8-n%1*8)){if((o=r.charCodeAt(n+=.75))>255)throw new i;t=t<<8|o}return A}var l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.prototype=new Error,i.prototype.code=5,i.prototype.name="InvalidCharacterError",e.exports=r},function(e,t,o){"use strict";function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var r=o(3);e.exports=function(e,t,o){if(!t)return e;var l;if(o)l=o(t);else if(r.isURLSearchParams(t))l=t.toString();else{var A=[];r.forEach(t,function(e,t){null!==e&&void 0!==e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),A.push(i(t)+"="+i(e))}))}),l=A.join("&")}return l&&(e+=(-1===e.indexOf("?")?"?":"&")+l),e}},function(e,t,o){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,o){"use strict";var i=o(3);e.exports=i.isStandardBrowserEnv()?function(){return{write:function(e,t,o,r,l,A){var n=[];n.push(e+"="+encodeURIComponent(t)),i.isNumber(o)&&n.push("expires="+new Date(o).toGMTString()),i.isString(r)&&n.push("path="+r),i.isString(l)&&n.push("domain="+l),!0===A&&n.push("secure"),document.cookie=n.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(e,t,o){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,o){"use strict";var i=o(3);e.exports=i.isStandardBrowserEnv()?function(){function e(e){var t=e;return o&&(r.setAttribute("href",t),t=r.href),r.setAttribute("href",t),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}var t,o=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");return t=e(window.location.href),function(o){var r=i.isString(o)?e(o):o;return r.protocol===t.protocol&&r.host===t.host}}():function(){return function(){return!0}}()},function(e,t,o){"use strict";var i=o(3);e.exports=function(e,t){i.forEach(e,function(o,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=o,delete e[i])})}},function(e,t,o){"use strict";var i=o(3),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,o,l,A={};return e?(i.forEach(e.split("\n"),function(e){if(l=e.indexOf(":"),t=i.trim(e.substr(0,l)).toLowerCase(),o=i.trim(e.substr(l+1)),t){if(A[t]&&r.indexOf(t)>=0)return;A[t]="set-cookie"===t?(A[t]?A[t]:[]).concat([o]):A[t]?A[t]+", "+o:o}}),A):A}},function(e,t,o){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,o){"use strict";var i,r=o(8),l=o(22);t.a={data:function(){return{isCollapse:!1,aboutDialogVisible:!1,userSelfInfo:{},datasourceOptions:[],datasourceList:[],choiceDatasource:"",defaultProps:{children:"children",label:"name"},nowDatasourceShow:{},databaseList:[],databaseExpandedKeys:[],upgradeInfo:{}}},mounted:function(){i=this,r.a.vue.$app=this,this.getSelfUserInfo(),this.checkSystemUpgrade(),this.loadDatasourceList()},methods:{userSettingDropdown:function(e){console.log("command:"+e),"userSignOut"==e?this.userSignOut():"aboutDoc"==e?i.aboutDialogVisible=!0:"myInfo"==e?this.$router.push({path:"/user/myInfo"}):"console"==e?window.location=this.apilist1.HOST:l.a.notOpen()},userSignOut:function(){this.common.post(this.apilist1.userLogout,{},function(e){location.reload()})},getSelfUserInfo:function(){this.common.post(this.apilist1.getSelfUserInfo,{},function(e){i.userSelfInfo=e.data})},datasourceChangeEvents:function(){i.nowDatasourceShow=this.choiceDatasource,i.loadDatabaseList(this.choiceDatasource)},handleNodeClick:function(e){console.log("点击节点:",e),1==e.type?(this.nowClickPath={host:e.host,dbName:e.dbName,tableName:e.tableName},this.$router.push({path:"/table/database",query:this.nowClickPath})):2==e.type&&(this.nowClickPath={host:e.host,dbName:e.dbName,tableName:e.tableName},this.$router.push({path:"/table/info",query:this.nowClickPath}))},handleNodeExpand:function(e){e.children.length>0&&e.children[0].needLoad&&(console.log("加载节点:",e),1==e.type&&i.loadGetTableList(e))},loadGetTableList:function(e,t){this.common.post(this.apilist1.tableList,{host:e.host,dbName:e.dbName},function(o){for(var i=[],r=o.data||[],l=0;l0||this.loadDatabaseList(e,function(){i.databaseExpandedKeys=[e]})},checkSystemUpgrade:function(){this.common.post(this.apilist1.systemUpgradeInfo,{},function(e){e.data&&(i.upgradeInfo=e.data,console.log("zyplayer-doc发现新版本:\n升级地址:"+e.data.upgradeUrl+"\n当前版本:"+e.data.nowVersion+"\n最新版本:"+e.data.lastVersion+"\n升级内容:"+e.data.upgradeContent))})}}}},function(e,t,o){"use strict";t.a={data:function(){return{}},mounted:function(){},methods:{}}},function(e,t,o){"use strict";var i,r=o(146),l=o.n(r);o(22),o(8);t.a={data:function(){return{loadDataListLoading:!1,datasourceDialogVisible:!1,datasourceList:[],newDatasource:{},urlPlaceholder:"数据源URL"}},mounted:function(){i=this,this.getDatasourceList()},methods:{addDatasource:function(){this.datasourceDialogVisible=!0,this.newDatasource={name:"",driverClassName:"",sourceUrl:"",sourceName:"",sourcePassword:""}},editDatasource:function(e){this.newDatasource=JSON.parse(l()(e)),this.datasourceDialogVisible=!0},deleteDatasource:function(e){var t=this;this.$confirm("确定要删除此数据源吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.yn=0,t.common.post(t.apilist1.manageUpdateDatasource,e,function(e){i.$message.success("删除成功!"),i.getDatasourceList()})}).catch(function(){})},saveDatasource:function(){this.datasourceDialogVisible=!1,this.common.post(this.apilist1.manageUpdateDatasource,this.newDatasource,function(e){i.$message.success("保存成功!"),i.getDatasourceList()})},driverClassNameChange:function(){"com.mysql.jdbc.Driver"==this.newDatasource.driverClassName?this.urlPlaceholder="例:jdbc:mysql://127.0.0.1:3306/user_info?useUnicode=true&characterEncoding=utf8":"net.sourceforge.jtds.jdbc.Driver"==this.newDatasource.driverClassName&&(this.urlPlaceholder="例:jdbc:jtds:sqlserver://127.0.0.1:33434;DatabaseName=user_info;socketTimeout=60;")},getDatasourceList:function(){this.loadDataListLoading=!0,this.common.post(this.apilist1.manageDatasourceList,{},function(e){i.datasourceList=e.data||[],setTimeout(function(){i.loadDataListLoading=!1},800)})}}}},function(e,t,o){"use strict";var i;t.a={data:function(){return{datasourceOptions:[],datasourceList:[],choiceDatasource:"",choiceDatabase:"",choiceTable:"",nowDatasourceShow:{},databaseList:[],tableList:[],selectTables:[]}},mounted:function(){i=this,this.loadDatasourceList()},methods:{datasourceChangeEvents:function(){i.nowDatasourceShow=this.choiceDatasource,i.loadDatabaseList(this.choiceDatasource)},databaseChangeEvents:function(){i.loadGetTableList()},exportChoiceTable:function(){if(this.selectTables.length<=0)return void i.$message.info("请选择需要导出的表");for(var e="",t=0;t0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function r(e){return 3*e.length/4-i(e)}function l(e){var t,o,r,l,A,n,a=e.length;A=i(e),n=new p(3*a/4-A),r=A>0?a-4:a;var s=0;for(t=0,o=0;t>16&255,n[s++]=l>>8&255,n[s++]=255&l;return 2===A?(l=c[e.charCodeAt(t)]<<2|c[e.charCodeAt(t+1)]>>4,n[s++]=255&l):1===A&&(l=c[e.charCodeAt(t)]<<10|c[e.charCodeAt(t+1)]<<4|c[e.charCodeAt(t+2)]>>2,n[s++]=l>>8&255,n[s++]=255&l),n}function A(e){return s[e>>18&63]+s[e>>12&63]+s[e>>6&63]+s[63&e]}function n(e,t,o){for(var i,r=[],l=t;la?a:A+16383));return 1===i?(t=e[o-1],r+=s[t>>2],r+=s[t<<4&63],r+="=="):2===i&&(t=(e[o-2]<<8)+e[o-1],r+=s[t>>10],r+=s[t>>4&63],r+=s[t<<2&63],r+="="),l.push(r),l.join("")}t.byteLength=r,t.toByteArray=l,t.fromByteArray=a;for(var s=[],c=[],p="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=0,f=d.length;g=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function u(e){return+e!=e&&(e=0),l.alloc(+e)}function h(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var o=e.length;if(0===o)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return o;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*o;case"hex":return o>>>1;case"base64":return W(e).length;default:if(i)return H(e).length;t=(""+t).toLowerCase(),i=!0}}function b(e,t,o){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===o||o>this.length)&&(o=this.length),o<=0)return"";if(o>>>=0,t>>>=0,o<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return F(this,t,o);case"utf8":case"utf-8":return y(this,t,o);case"ascii":return S(this,t,o);case"latin1":case"binary":return C(this,t,o);case"base64":return I(this,t,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,t,o);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function m(e,t,o){var i=e[t];e[t]=e[o],e[o]=i}function x(e,t,o,i,r){if(0===e.length)return-1;if("string"==typeof o?(i=o,o=0):o>2147483647?o=2147483647:o<-2147483648&&(o=-2147483648),o=+o,isNaN(o)&&(o=r?0:e.length-1),o<0&&(o=e.length+o),o>=e.length){if(r)return-1;o=e.length-1}else if(o<0){if(!r)return-1;o=0}if("string"==typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:w(e,t,o,i,r);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,o):Uint8Array.prototype.lastIndexOf.call(e,t,o):w(e,[t],o,i,r);throw new TypeError("val must be string, number or Buffer")}function w(e,t,o,i,r){function l(e,t){return 1===A?e[t]:e.readUInt16BE(t*A)}var A=1,n=e.length,a=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;A=2,n/=2,a/=2,o/=2}var s;if(r){var c=-1;for(s=o;sn&&(o=n-a),s=o;s>=0;s--){for(var p=!0,d=0;dr&&(i=r):i=r;var l=t.length;if(l%2!=0)throw new TypeError("Invalid hex string");i>l/2&&(i=l/2);for(var A=0;A239?4:l>223?3:l>191?2:1;if(r+n<=o){var a,s,c,p;switch(n){case 1:l<128&&(A=l);break;case 2:a=e[r+1],128==(192&a)&&(p=(31&l)<<6|63&a)>127&&(A=p);break;case 3:a=e[r+1],s=e[r+2],128==(192&a)&&128==(192&s)&&(p=(15&l)<<12|(63&a)<<6|63&s)>2047&&(p<55296||p>57343)&&(A=p);break;case 4:a=e[r+1],s=e[r+2],c=e[r+3],128==(192&a)&&128==(192&s)&&128==(192&c)&&(p=(15&l)<<18|(63&a)<<12|(63&s)<<6|63&c)>65535&&p<1114112&&(A=p)}}null===A?(A=65533,n=1):A>65535&&(A-=65536,i.push(A>>>10&1023|55296),A=56320|1023&A),i.push(A),r+=n}return D(i)}function D(e){var t=e.length;if(t<=$)return String.fromCharCode.apply(String,e);for(var o="",i=0;ii)&&(o=i);for(var r="",l=t;lo)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,o,i,r,A){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function N(e,t,o,i){t<0&&(t=65535+t+1);for(var r=0,l=Math.min(e.length-o,2);r>>8*(i?r:1-r)}function O(e,t,o,i){t<0&&(t=4294967295+t+1);for(var r=0,l=Math.min(e.length-o,4);r>>8*(i?r:3-r)&255}function U(e,t,o,i,r,l){if(o+i>e.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("Index out of range")}function J(e,t,o,i,r){return r||U(e,t,o,4,3.4028234663852886e38,-3.4028234663852886e38),K.write(e,t,o,i,23,4),o+4}function T(e,t,o,i,r){return r||U(e,t,o,8,1.7976931348623157e308,-1.7976931348623157e308),K.write(e,t,o,i,52,8),o+8}function z(e){if(e=j(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function j(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function G(e){return e<16?"0"+e.toString(16):e.toString(16)}function H(e,t){t=t||1/0;for(var o,i=e.length,r=null,l=[],A=0;A55295&&o<57344){if(!r){if(o>56319){(t-=3)>-1&&l.push(239,191,189);continue}if(A+1===i){(t-=3)>-1&&l.push(239,191,189);continue}r=o;continue}if(o<56320){(t-=3)>-1&&l.push(239,191,189),r=o;continue}o=65536+(r-55296<<10|o-56320)}else r&&(t-=3)>-1&&l.push(239,191,189);if(r=null,o<128){if((t-=1)<0)break;l.push(o)}else if(o<2048){if((t-=2)<0)break;l.push(o>>6|192,63&o|128)}else if(o<65536){if((t-=3)<0)break;l.push(o>>12|224,o>>6&63|128,63&o|128)}else{if(!(o<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;l.push(o>>18|240,o>>12&63|128,o>>6&63|128,63&o|128)}}return l}function L(e){for(var t=[],o=0;o>8,r=o%256,l.push(r),l.push(i);return l}function W(e){return Z.toByteArray(z(e))}function X(e,t,o,i){for(var r=0;r=t.length||r>=e.length);++r)t[r+o]=e[r];return r}function V(e){return e!==e}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh @@ -10,5 +10,5 @@ var Z=o(150),K=o(212),q=o(214);t.Buffer=l,t.SlowBuffer=u,t.INSPECT_MAX_BYTES=50, * @author Feross Aboukhadijeh * @license MIT */ -e.exports=function(e){return null!=e&&(o(e)||i(e)||!!e._isBuffer)}},function(e,t){var o={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==o.call(e)}},,,,,,function(e,t,o){"use strict";var i=o(222),r=o(221),l=o(86);e.exports={formats:l,parse:r,stringify:i}},function(e,t,o){"use strict";var i=o(87),r=Object.prototype.hasOwnProperty,l={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:i.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},A=function(e,t){for(var o={},i=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),l=0;l=0&&o.parseArrays&&A<=o.arrayLimit?(i=[],i[A]=n(e,t,o)):i[l]=n(e,t,o)}return i},a=function(e,t,o){if(e){var i=o.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,l=/(\[[^[\]]*])/,A=/(\[[^[\]]*])/g,a=l.exec(i),s=a?i.slice(0,a.index):i,c=[];if(s){if(!o.plainObjects&&r.call(Object.prototype,s)&&!o.allowPrototypes)return;c.push(s)}for(var p=0;null!==(a=A.exec(i))&&p=0&&m.splice(t,1)}function A(e){var t=document.createElement("style");return t.type="text/css",r(e,t),t}function n(e){var t=document.createElement("link");return t.rel="stylesheet",r(e,t),t}function a(e,t){var o,i,r;if(t.singleton){var a=b++;o=h||(h=A(t)),i=s.bind(null,o,a,!1),r=s.bind(null,o,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=n(t),i=p.bind(null,o),r=function(){l(o),o.href&&URL.revokeObjectURL(o.href)}):(o=A(t),i=c.bind(null,o),r=function(){l(o)});return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else r()}}function s(e,t,o,i){var r=o?"":i.css;if(e.styleSheet)e.styleSheet.cssText=x(t,r);else{var l=document.createTextNode(r),A=e.childNodes;A[t]&&e.removeChild(A[t]),A.length?e.insertBefore(l,A[t]):e.appendChild(l)}}function c(e,t){var o=t.css,i=t.media;if(i&&e.setAttribute("media",i),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}function p(e,t){var o=t.css,i=t.sourceMap;i&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var r=new Blob([o],{type:"text/css"}),l=e.href;e.href=URL.createObjectURL(r),l&&URL.revokeObjectURL(l)}var d={},g=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}},f=g(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),u=g(function(){return document.head||document.getElementsByTagName("head")[0]}),h=null,b=0,m=[];e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},void 0===t.singleton&&(t.singleton=f()),void 0===t.insertAt&&(t.insertAt="bottom");var r=i(e);return o(r,t),function(e){for(var l=[],A=0;A0?"编辑数据源":"新增数据源",visible:e.datasourceDialogVisible,width:"600px"},on:{"update:visible":function(t){e.datasourceDialogVisible=t}}},[o("el-alert",{staticStyle:{"margin-bottom":"10px"},attrs:{title:"重要提醒",description:"请录入正确可用的数据库连接、账号、密码信息,否则初始化数据源失败将影响整个系统,有可能需要重启服务才能解决",type:"warning",closable:!1,"show-icon":""}}),e._v(" "),o("el-form",{attrs:{"label-width":"120px"}},[o("el-form-item",{attrs:{label:"名字:"}},[o("el-input",{attrs:{placeholder:"中文名字"},model:{value:e.newDatasource.name,callback:function(t){e.$set(e.newDatasource,"name",t)},expression:"newDatasource.name"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"驱动类:"}},[o("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"驱动类"},model:{value:e.newDatasource.driverClassName,callback:function(t){e.$set(e.newDatasource,"driverClassName",t)},expression:"newDatasource.driverClassName"}},[o("el-option",{attrs:{label:"com.mysql.jdbc.Driver",value:"com.mysql.jdbc.Driver"}}),e._v(" "),o("el-option",{attrs:{label:"net.sourceforge.jtds.jdbc.Driver",value:"net.sourceforge.jtds.jdbc.Driver"}})],1)],1),e._v(" "),o("el-form-item",{attrs:{label:"数据源URL:"}},[o("el-input",{attrs:{placeholder:"数据源URL"},model:{value:e.newDatasource.sourceUrl,callback:function(t){e.$set(e.newDatasource,"sourceUrl",t)},expression:"newDatasource.sourceUrl"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"账号:"}},[o("el-input",{attrs:{placeholder:"账号"},model:{value:e.newDatasource.sourceName,callback:function(t){e.$set(e.newDatasource,"sourceName",t)},expression:"newDatasource.sourceName"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"密码:"}},[o("el-input",{attrs:{placeholder:"密码"},model:{value:e.newDatasource.sourcePassword,callback:function(t){e.$set(e.newDatasource,"sourcePassword",t)},expression:"newDatasource.sourcePassword"}})],1)],1),e._v(" "),o("div",{staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[o("el-button",{attrs:{type:"primary"},on:{click:e.saveDatasource}},[e._v("保存")]),e._v(" "),o("el-button",{attrs:{plain:""},on:{click:function(t){e.datasourceDialogVisible=!1}}},[e._v("取消")])],1)],1)],1)},r=[],l={render:i,staticRenderFns:r};t.a=l},function(e,t,o){var i=o(184);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("199655b8",i,!0)},function(e,t,o){var i=o(185);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("6b9899c2",i,!0)},function(e,t,o){var i=o(186);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("43ea5351",i,!0)},function(e,t,o){var i=o(187);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("6ee31d20",i,!0)},function(e,t,o){var i=o(188);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("20eec58a",i,!0)},function(e,t,o){var i=o(189);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("685b618c",i,!0)},function(e,t,o){var i=o(190);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("f8a48b76",i,!0)},function(e,t,o){var i=o(191);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("56a22fce",i,!0)},function(e,t,o){var i=o(192);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("b0a9f116",i,!0)},function(e,t){e.exports=function(e,t){for(var o=[],i={},r=0;r=0&&o.parseArrays&&A<=o.arrayLimit?(i=[],i[A]=n(e,t,o)):i[l]=n(e,t,o)}return i},a=function(e,t,o){if(e){var i=o.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,l=/(\[[^[\]]*])/,A=/(\[[^[\]]*])/g,a=l.exec(i),s=a?i.slice(0,a.index):i,c=[];if(s){if(!o.plainObjects&&r.call(Object.prototype,s)&&!o.allowPrototypes)return;c.push(s)}for(var p=0;null!==(a=A.exec(i))&&p=0&&m.splice(t,1)}function A(e){var t=document.createElement("style");return t.type="text/css",r(e,t),t}function n(e){var t=document.createElement("link");return t.rel="stylesheet",r(e,t),t}function a(e,t){var o,i,r;if(t.singleton){var a=b++;o=h||(h=A(t)),i=s.bind(null,o,a,!1),r=s.bind(null,o,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=n(t),i=p.bind(null,o),r=function(){l(o),o.href&&URL.revokeObjectURL(o.href)}):(o=A(t),i=c.bind(null,o),r=function(){l(o)});return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else r()}}function s(e,t,o,i){var r=o?"":i.css;if(e.styleSheet)e.styleSheet.cssText=x(t,r);else{var l=document.createTextNode(r),A=e.childNodes;A[t]&&e.removeChild(A[t]),A.length?e.insertBefore(l,A[t]):e.appendChild(l)}}function c(e,t){var o=t.css,i=t.media;if(i&&e.setAttribute("media",i),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}function p(e,t){var o=t.css,i=t.sourceMap;i&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var r=new Blob([o],{type:"text/css"}),l=e.href;e.href=URL.createObjectURL(r),l&&URL.revokeObjectURL(l)}var d={},g=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}},f=g(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),u=g(function(){return document.head||document.getElementsByTagName("head")[0]}),h=null,b=0,m=[];e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},void 0===t.singleton&&(t.singleton=f()),void 0===t.insertAt&&(t.insertAt="bottom");var r=i(e);return o(r,t),function(e){for(var l=[],A=0;A0?"编辑数据源":"新增数据源",visible:e.datasourceDialogVisible,width:"760px"},on:{"update:visible":function(t){e.datasourceDialogVisible=t}}},[o("el-alert",{staticStyle:{"margin-bottom":"10px"},attrs:{title:"重要提醒",description:"请录入正确可用的数据库连接、账号、密码信息,否则初始化数据源失败将影响整个系统,有可能需要重启服务才能解决",type:"warning",closable:!1,"show-icon":""}}),e._v(" "),o("el-form",{attrs:{"label-width":"120px"}},[o("el-form-item",{attrs:{label:"名字:"}},[o("el-input",{attrs:{placeholder:"中文名字"},model:{value:e.newDatasource.name,callback:function(t){e.$set(e.newDatasource,"name",t)},expression:"newDatasource.name"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"驱动类:"}},[o("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"驱动类"},on:{change:e.driverClassNameChange},model:{value:e.newDatasource.driverClassName,callback:function(t){e.$set(e.newDatasource,"driverClassName",t)},expression:"newDatasource.driverClassName"}},[o("el-option",{attrs:{label:"com.mysql.jdbc.Driver",value:"com.mysql.jdbc.Driver"}}),e._v(" "),o("el-option",{attrs:{label:"net.sourceforge.jtds.jdbc.Driver",value:"net.sourceforge.jtds.jdbc.Driver"}})],1)],1),e._v(" "),o("el-form-item",{attrs:{label:"数据源URL:"}},[o("el-input",{attrs:{placeholder:e.urlPlaceholder},model:{value:e.newDatasource.sourceUrl,callback:function(t){e.$set(e.newDatasource,"sourceUrl",t)},expression:"newDatasource.sourceUrl"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"账号:"}},[o("el-input",{attrs:{placeholder:"账号"},model:{value:e.newDatasource.sourceName,callback:function(t){e.$set(e.newDatasource,"sourceName",t)},expression:"newDatasource.sourceName"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"密码:"}},[o("el-input",{attrs:{placeholder:"密码"},model:{value:e.newDatasource.sourcePassword,callback:function(t){e.$set(e.newDatasource,"sourcePassword",t)},expression:"newDatasource.sourcePassword"}})],1)],1),e._v(" "),o("div",{staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[o("el-button",{attrs:{type:"primary"},on:{click:e.saveDatasource}},[e._v("保存")]),e._v(" "),o("el-button",{attrs:{plain:""},on:{click:function(t){e.datasourceDialogVisible=!1}}},[e._v("取消")])],1)],1)],1)},r=[],l={render:i,staticRenderFns:r};t.a=l},function(e,t,o){var i=o(184);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("199655b8",i,!0)},function(e,t,o){var i=o(185);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("6b9899c2",i,!0)},function(e,t,o){var i=o(186);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("43ea5351",i,!0)},function(e,t,o){var i=o(187);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("6ee31d20",i,!0)},function(e,t,o){var i=o(188);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("20eec58a",i,!0)},function(e,t,o){var i=o(189);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("685b618c",i,!0)},function(e,t,o){var i=o(190);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("f8a48b76",i,!0)},function(e,t,o){var i=o(191);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("56a22fce",i,!0)},function(e,t,o){var i=o(192);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);o(7)("b0a9f116",i,!0)},function(e,t){e.exports=function(e,t){for(var o=[],i={},r=0;r
- + diff --git a/zyplayer-doc-swagger/pom.xml b/zyplayer-doc-swagger/pom.xml index 26830c62..4c01cb47 100644 --- a/zyplayer-doc-swagger/pom.xml +++ b/zyplayer-doc-swagger/pom.xml @@ -45,11 +45,6 @@ org.springframework.boot spring-boot-starter-web - - org.springframework.boot - spring-boot-devtools - true - com.alibaba fastjson diff --git a/zyplayer-doc-swagger/src/main/resources/webjars/zpages/docUrlDetailConfig.html b/zyplayer-doc-swagger/src/main/resources/webjars/zpages/docUrlDetailConfig.html index 6f308552..8f8e88fd 100644 --- a/zyplayer-doc-swagger/src/main/resources/webjars/zpages/docUrlDetailConfig.html +++ b/zyplayer-doc-swagger/src/main/resources/webjars/zpages/docUrlDetailConfig.html @@ -63,7 +63,7 @@
swagger文档内容: - +
重写域名地址: @@ -103,6 +103,8 @@ openVisit: '', oldLocation: '' }, + watch: { + }, methods: { btnRefreshList: function(){ this.refreshList(); @@ -201,8 +203,6 @@ }, mounted: function(){ this.refreshList(); - }, - watch: { } }); diff --git a/zyplayer-doc-ui/db-ui/src/views/data/DatasourceManage.vue b/zyplayer-doc-ui/db-ui/src/views/data/DatasourceManage.vue index 8dd30558..f55d41e6 100644 --- a/zyplayer-doc-ui/db-ui/src/views/data/DatasourceManage.vue +++ b/zyplayer-doc-ui/db-ui/src/views/data/DatasourceManage.vue @@ -23,7 +23,7 @@
- + - + - + @@ -71,6 +71,7 @@ datasourceDialogVisible: false, datasourceList: [], newDatasource: {}, + urlPlaceholder: "数据源URL", }; }, mounted: function () { @@ -106,6 +107,13 @@ app.getDatasourceList(); }); }, + driverClassNameChange() { + if (this.newDatasource.driverClassName == 'com.mysql.jdbc.Driver') { + this.urlPlaceholder = "例:jdbc:mysql://127.0.0.1:3306/user_info?useUnicode=true&characterEncoding=utf8"; + } else if (this.newDatasource.driverClassName == 'net.sourceforge.jtds.jdbc.Driver') { + this.urlPlaceholder = "例:jdbc:jtds:sqlserver://127.0.0.1:33434;DatabaseName=user_info;socketTimeout=60;"; + } + }, getDatasourceList() { this.loadDataListLoading = true; this.common.post(this.apilist1.manageDatasourceList, {}, function (json) {