update dashboard fetch api

This commit is contained in:
fatedier committed 2017-03-28 01:08:04 +08:00
1 parent ab4a53965b
commit 5c75efa222
10 files changed
+29 -28

No files matched your search

+1 -1
View File
@@ -1 +1 @@
<!DOCTYPE html> <html lang=en> <head> <meta charset=utf-8> <title>frps dashboard</title> <link rel="shortcut icon" href="favicon.ico"></head> <body> <div id=app></div> <script type="text/javascript" src="manifest.js?e2a6e0e28098d3dfefd3"></script><script type="text/javascript" src="vendor.js?30b5cbeb51280b3d4feb"></script><script type="text/javascript" src="index.js?164c4e33812acd6b864b"></script></body> </html>
<!DOCTYPE html> <html lang=en> <head> <meta charset=utf-8> <title>frps dashboard</title> <link rel="shortcut icon" href="favicon.ico"></head> <body> <div id=app></div> <script type="text/javascript" src="manifest.js?b99c1346247a42f912f8"></script><script type="text/javascript" src="vendor.js?66dfcf2d1c500e900413"></script><script type="text/javascript" src="index.js?ba80138d6369555bbd4e"></script></body> </html>
+4 -4
View File
@@ -1,4 +1,4 @@
webpackJsonp([0],[function(e,t){function i(e){if(null==e||"object"!=typeof e)return e;var t=e,n=O.call(e);if("[object Array]"===n){t=[];for(var o=0,r=e.length;o<r;o++)t[o]=i(e[o])}else if(E[n])t=e.constructor.from(e);else if(!z[n]&&!D(e)&&!M(e)){t={};for(var a in e)e.hasOwnProperty(a)&&(t[a]=i(e[a]))}return t}function n(e,t,o){if(!S(t)||!S(e))return o?i(t):e;for(var r in t)if(t.hasOwnProperty(r)){var a=e[r],s=t[r];!S(s)||!S(a)||b(s)||b(a)||M(s)||M(a)||A(s)||A(a)||D(s)||D(a)?!o&&r in e||(e[r]=i(t[r],!0)):n(a,s,o)}return e}function o(e,t){for(var i=e[0],o=1,r=e.length;o<r;o++)i=n(i,e[o],t);return i}function r(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function a(e,t,i){for(var n in t)t.hasOwnProperty(n)&&(i?null!=t[n]:null==e[n])&&(e[n]=t[n]);return e}function s(){return document.createElement("canvas")}function l(){return P||(P=W.createCanvas().getContext("2d")),P}function c(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i}return-1}function u(e,t){function i(){}var n=e.prototype;i.prototype=t.prototype,e.prototype=new i;for(var o in n)e.prototype[o]=n[o];e.prototype.constructor=e,e.superClass=t}function h(e,t,i){e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,a(e,t,i)}function d(e){if(e)return"string"!=typeof e&&"number"==typeof e.length}function p(e,t,i){if(e&&t)if(e.forEach&&e.forEach===N)e.forEach(t,i);else if(e.length===+e.length)for(var n=0,o=e.length;n<o;n++)t.call(i,e[n],n,e);else for(var r in e)e.hasOwnProperty(r)&&t.call(i,e[r],r,e)}function f(e,t,i){if(e&&t){if(e.map&&e.map===G)return e.map(t,i);for(var n=[],o=0,r=e.length;o<r;o++)n.push(t.call(i,e[o],o,e));return n}}function g(e,t,i,n){if(e&&t){if(e.reduce&&e.reduce===F)return e.reduce(t,i,n);for(var o=0,r=e.length;o<r;o++)i=t.call(n,i,e[o],o,e);return i}}function m(e,t,i){if(e&&t){if(e.filter&&e.filter===V)return e.filter(t,i);for(var n=[],o=0,r=e.length;o<r;o++)t.call(i,e[o],o,e)&&n.push(e[o]);return n}}function v(e,t,i){if(e&&t)for(var n=0,o=e.length;n<o;n++)if(t.call(i,e[n],n,e))return e[n]}function y(e,t){var i=B.call(arguments,2);return function(){return e.apply(t,i.concat(B.call(arguments)))}}function x(e){var t=B.call(arguments,1);return function(){return e.apply(this,t.concat(B.call(arguments)))}}function b(e){return"[object Array]"===O.call(e)}function _(e){return"function"==typeof e}function w(e){return"[object String]"===O.call(e)}function S(e){var t=typeof e;return"function"===t||!!e&&"object"==t}function A(e){return!!z[O.call(e)]}function M(e){return"object"==typeof e&&"number"==typeof e.nodeType&&"object"==typeof e.ownerDocument}function k(e){return e!==e}function T(e){for(var t=0,i=arguments.length;t<i;t++)if(null!=arguments[t])return arguments[t]}function I(){return Function.call.apply(B,arguments)}function C(e,t){if(!e)throw new Error(t)}function L(e){e[H]=!0}function D(e){return e[H]}var P,z={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},E={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},O=Object.prototype.toString,R=Array.prototype,N=R.forEach,V=R.filter,B=R.slice,G=R.map,F=R.reduce,H="__ec_primitive__",W={inherits:u,mixin:h,clone:i,merge:n,mergeAll:o,extend:r,defaults:a,getContext:l,createCanvas:s,indexOf:c,slice:I,find:v,isArrayLike:d,each:p,map:f,reduce:g,filter:m,bind:y,curry:x,isArray:b,isString:w,isObject:S,isFunction:_,isBuiltInObject:A,isDom:M,eqNaN:k,retrieve:T,assert:C,setAsPrimitive:L,noop:function(){}};e.exports=W},function(e,t,i){(function(t){function n(e){return function(t,i,n){t=t&&t.toLowerCase(),N.prototype[e].call(this,t,i,n)}}function o(){N.call(this)}function r(e,t,i){function n(e,t){return e.prio-t.prio}i=i||{},"string"==typeof t&&(t=$[t]),this.id,this.group,this._dom=e;var r=this._zr=E.init(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height});this._throttledZrFlush=z.throttle(O.bind(r.flush,r),17),this._theme=O.clone(t),this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new M,this._api=new A(this,this._coordSysMgr),N.call(this),this._messageCenter=new o,this._initEvents(),this.resize=O.bind(this.resize,this),this._pendingActions=[],V(K,n),V(X,n),r.animation.on("frame",this._onframe,this),O.setAsPrimitive(this)}function a(e,t,i){var n,o=this._model,r=this._coordSysMgr.getCoordinateSystems();t=P.parseFinder(o,t);for(var a=0;a<r.length;a++){var s=r[a];if(s[e]&&null!=(n=s[e](o,t,i)))return n}__DEV__&&console.warn("No coordinate system that supports "+e+" found by the given finder.")}function s(e,t,i,n,o){function r(n){n&&n.__alive&&n[t]&&n[t](n.__model,a,e._api,i)}var a=e._model;if(!n)return void B(e._componentsViews.concat(Line truncated
webpackJsonp([0],[function(e,t){function i(e){if(null==e||"object"!=typeof e)return e;var t=e,n=O.call(e);if("[object Array]"===n){t=[];for(var o=0,r=e.length;o<r;o++)t[o]=i(e[o])}else if(E[n])t=e.constructor.from(e);else if(!z[n]&&!D(e)&&!M(e)){t={};for(var a in e)e.hasOwnProperty(a)&&(t[a]=i(e[a]))}return t}function n(e,t,o){if(!A(t)||!A(e))return o?i(t):e;for(var r in t)if(t.hasOwnProperty(r)){var a=e[r],s=t[r];!A(s)||!A(a)||b(s)||b(a)||M(s)||M(a)||S(s)||S(a)||D(s)||D(a)?!o&&r in e||(e[r]=i(t[r],!0)):n(a,s,o)}return e}function o(e,t){for(var i=e[0],o=1,r=e.length;o<r;o++)i=n(i,e[o],t);return i}function r(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function a(e,t,i){for(var n in t)t.hasOwnProperty(n)&&(i?null!=t[n]:null==e[n])&&(e[n]=t[n]);return e}function s(){return document.createElement("canvas")}function l(){return P||(P=U.createCanvas().getContext("2d")),P}function c(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i}return-1}function u(e,t){function i(){}var n=e.prototype;i.prototype=t.prototype,e.prototype=new i;for(var o in n)e.prototype[o]=n[o];e.prototype.constructor=e,e.superClass=t}function h(e,t,i){e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,a(e,t,i)}function d(e){if(e)return"string"!=typeof e&&"number"==typeof e.length}function p(e,t,i){if(e&&t)if(e.forEach&&e.forEach===N)e.forEach(t,i);else if(e.length===+e.length)for(var n=0,o=e.length;n<o;n++)t.call(i,e[n],n,e);else for(var r in e)e.hasOwnProperty(r)&&t.call(i,e[r],r,e)}function f(e,t,i){if(e&&t){if(e.map&&e.map===G)return e.map(t,i);for(var n=[],o=0,r=e.length;o<r;o++)n.push(t.call(i,e[o],o,e));return n}}function g(e,t,i,n){if(e&&t){if(e.reduce&&e.reduce===F)return e.reduce(t,i,n);for(var o=0,r=e.length;o<r;o++)i=t.call(n,i,e[o],o,e);return i}}function m(e,t,i){if(e&&t){if(e.filter&&e.filter===V)return e.filter(t,i);for(var n=[],o=0,r=e.length;o<r;o++)t.call(i,e[o],o,e)&&n.push(e[o]);return n}}function v(e,t,i){if(e&&t)for(var n=0,o=e.length;n<o;n++)if(t.call(i,e[n],n,e))return e[n]}function y(e,t){var i=B.call(arguments,2);return function(){return e.apply(t,i.concat(B.call(arguments)))}}function x(e){var t=B.call(arguments,1);return function(){return e.apply(this,t.concat(B.call(arguments)))}}function b(e){return"[object Array]"===O.call(e)}function _(e){return"function"==typeof e}function w(e){return"[object String]"===O.call(e)}function A(e){var t=typeof e;return"function"===t||!!e&&"object"==t}function S(e){return!!z[O.call(e)]}function M(e){return"object"==typeof e&&"number"==typeof e.nodeType&&"object"==typeof e.ownerDocument}function k(e){return e!==e}function T(e){for(var t=0,i=arguments.length;t<i;t++)if(null!=arguments[t])return arguments[t]}function I(){return Function.call.apply(B,arguments)}function C(e,t){if(!e)throw new Error(t)}function L(e){e[H]=!0}function D(e){return e[H]}var P,z={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},E={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},O=Object.prototype.toString,R=Array.prototype,N=R.forEach,V=R.filter,B=R.slice,G=R.map,F=R.reduce,H="__ec_primitive__",U={inherits:u,mixin:h,clone:i,merge:n,mergeAll:o,extend:r,defaults:a,getContext:l,createCanvas:s,indexOf:c,slice:I,find:v,isArrayLike:d,each:p,map:f,reduce:g,filter:m,bind:y,curry:x,isArray:b,isString:w,isObject:A,isFunction:_,isBuiltInObject:S,isDom:M,eqNaN:k,retrieve:T,assert:C,setAsPrimitive:L,noop:function(){}};e.exports=U},function(e,t,i){(function(t){function n(e){return function(t,i,n){t=t&&t.toLowerCase(),N.prototype[e].call(this,t,i,n)}}function o(){N.call(this)}function r(e,t,i){function n(e,t){return e.prio-t.prio}i=i||{},"string"==typeof t&&(t=$[t]),this.id,this.group,this._dom=e;var r=this._zr=E.init(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height});this._throttledZrFlush=z.throttle(O.bind(r.flush,r),17),this._theme=O.clone(t),this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new M,this._api=new S(this,this._coordSysMgr),N.call(this),this._messageCenter=new o,this._initEvents(),this.resize=O.bind(this.resize,this),this._pendingActions=[],V(K,n),V(X,n),r.animation.on("frame",this._onframe,this),O.setAsPrimitive(this)}function a(e,t,i){var n,o=this._model,r=this._coordSysMgr.getCoordinateSystems();t=P.parseFinder(o,t);for(var a=0;a<r.length;a++){var s=r[a];if(s[e]&&null!=(n=s[e](o,t,i)))return n}__DEV__&&console.warn("No coordinate system that supports "+e+" found by the given finder.")}function s(e,t,i,n,o){function r(n){n&&n.__alive&&n[t]&&n[t](n.__model,a,e._api,i)}var a=e._model;if(!n)return void B(e._componentsViews.concat(Line truncated
* ECharts, a javascript interactive chart library.
*
* Copyright (c) 2015, Baidu Inc.
@@ -7,7 +7,7 @@ webpackJsonp([0],[function(e,t){function i(e){if(null==e||"object"!=typeof e)ret
* LICENSE
* https://github.com/ecomfe/echarts/blob/master/LICENSE.txt
*/
var w=i(13),S=i(446),A=i(229),M=i(22),k=i(447),T=i(12),I=i(14),C=i(90),L=i(30),D=i(2),P=i(5),z=i(51),E=i(180),O=i(0),R=i(27),N=i(39),V=i(100),B=O.each,G=T.parseClassType,F="__flagInMainProcess",H="__optionUpdated",W=/^[a-zA-Z0-9_]+$/;o.prototype.on=n("on"),o.prototype.off=n("off"),o.prototype.one=n("one"),O.mixin(o,N);var U=r.prototype;U._onframe=function(){if(this[H]){var e=this[H].silent;this[F]=!0,j.prepareAndUpdate.call(this),this[F]=!1,this[H]=!1,c.call(this,e),u.call(this,e)}},U.getDom=function(){return this._dom},U.getZr=function(){return this._zr},U.setOption=function(e,t,i){__DEV__&&O.assert(!this[F],"`setOption` should not be called during main process.");var n;if(O.isObject(t)&&(i=t.lazyUpdate,n=t.silent,t=t.notMerge),this[F]=!0,!this._model||t){var o=new k(this._api),r=this._theme;(this._model=new S(null,null,r,o)).init(null,null,r,o)}this.__lastOnlyGraphic=!(!e||!e.graphic),O.each(e,function(e,t){"graphic"!==t&&(this.__lastOnlyGraphic=!1)},this),this._model.setOption(e,J,this.__lastOnlyGraphic),i?(this[H]={silent:n},this[F]=!1):(j.prepareAndUpdate.call(this),this._zr.flush(),this[H]=!1,this[F]=!1,c.call(this,n),u.call(this,n))},U.setTheme=function(){console.log("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},U.getModel=function(){return this._model},U.getOption=function(){return this._model&&this._model.getOption()},U.getWidth=function(){return this._zr.getWidth()},U.getHeight=function(){return this._zr.getHeight()},U.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},U.getRenderedCanvas=function(e){if(w.canvasSupported){e=e||{},e.pixelRatio=e.pixelRatio||1,e.backgroundColor=e.backgroundColor||this._model.get("backgroundColor");var t=this._zr,i=t.storage.getDisplayList();return O.each(i,function(e){e.stopAnimation(!0)}),t.painter.getRenderedCanvas(e)}},U.getDataURL=function(e){e=e||{};var t=e.excludeComponents,i=this._model,n=[],o=this;B(t,function(e){i.eachComponent({mainType:e},function(e){var t=o._componentsMap[e.__viewId];t.group.ignore||(n.push(t),t.group.ignore=!0)})});var r=this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return B(n,function(e){e.group.ignore=!1}),r},U.getConnectedDataURL=function(e){if(w.canvasSupported){var t=this.group,i=Math.min,n=Math.max,o=1/0;if(ie[t]){var r=o,a=o,s=-o,l=-o,c=[],u=e&&e.pixelRatio||1;O.each(te,function(o,u){if(o.group===t){var h=o.getRenderedCanvas(O.clone(e)),d=o.getDom().getBoundingClientRect();r=i(d.left,r),a=i(d.top,a),s=n(d.right,s),l=n(d.bottom,l),c.push({dom:h,left:d.left,top:d.top})}}),r*=u,a*=u,s*=u,l*=u;var h=s-r,d=l-a,p=O.createCanvas();p.width=h,p.height=d;var f=E.init(p);return B(c,function(e){var t=new D.Image({style:{x:e.left*u-r,y:e.top*u-a,image:e.dom}});f.add(t)}),f.refreshImmediately(),p.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},U.convertToPixel=O.curry(a,"convertToPixel"),U.convertFromPixel=O.curry(a,"convertFromPixel"),U.containPixel=function(e,t){var i,n=this._model;return e=P.parseFinder(n,e),O.each(e,function(e,n){n.indexOf("Models")>=0&&O.each(e,function(e){var o=e.coordinateSystem;if(o&&o.containPoint)i|=!!o.containPoint(t);else if("seriesModels"===n){var r=this._chartsMap[e.__viewId];r&&r.containPoint?i|=r.containPoint(t,e):__DEV__&&console.warn(n+": "+(r?"The found component do not support containPoint.":"No view mapping to the found component."))}else __DEV__&&console.warn(n+": containPoint is not supported")},this)},this),!!i},U.getVisual=function(e,t){var i=this._model;e=P.parseFinder(i,e,{defaultMainType:"series"});var n=e.seriesModel;__DEV__&&(n||console.warn("There is no specified seires model"));var o=n.getData(),r=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?o.indexOfRawIndex(e.dataIndex):null;return null!=r?o.getItemVisual(r,t):o.getVisual(t)},U.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},U.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var j={update:function(e){var t=this._model,i=this._api,n=this._coordSysMgr,o=this._zr;if(t){t.restoreData(),n.create(this._model,this._api),p.call(this,t,i),f.call(this,t),n.update(t,i),m.call(this,t,e),v.call(this,t,e);var r=t.get("backgroundColor")||"transparent",a=o.painter;if(a.isSingleCanvas&&a.isSingleCanvas())o.configLayer(0,{clearColor:r});else{if(!w.canvasSupported){var s=R.parse(r);r=R.stringify(s,"rgb"),0===s[3]&&(r="transparent")}r.colorStops||r.image?(o.configLayer(0,{clearColor:r}),this.__hasGradientOrPatternBg=!0,this._dom.style.background="transparent"):(this.__hasGradientOrPatternBg&&o.configLayer(0,{clearColor:null}),this.__hasGradientOrPatternBg=!1,this._dom.style.background=r)}B(Q,function(e){e(t,i)})}},updateView:function(e){var t=this._model;t&&(t.eachSeries(function(e){e.getData().clearAllVisual()}),m.call(this,t,e),h.call(this,"updateView",t,e))},updateVisual:function(e){var t=this._model;t&&(t.eachSeries(function(e){e.getData().clearAllVisual()}),m.call(this,t,e,!0),h.call(this,"upLine truncated
var w=i(13),A=i(447),S=i(230),M=i(22),k=i(448),T=i(12),I=i(14),C=i(90),L=i(30),D=i(2),P=i(5),z=i(51),E=i(180),O=i(0),R=i(27),N=i(39),V=i(100),B=O.each,G=T.parseClassType,F="__flagInMainProcess",H="__optionUpdated",U=/^[a-zA-Z0-9_]+$/;o.prototype.on=n("on"),o.prototype.off=n("off"),o.prototype.one=n("one"),O.mixin(o,N);var j=r.prototype;j._onframe=function(){if(this[H]){var e=this[H].silent;this[F]=!0,W.prepareAndUpdate.call(this),this[F]=!1,this[H]=!1,c.call(this,e),u.call(this,e)}},j.getDom=function(){return this._dom},j.getZr=function(){return this._zr},j.setOption=function(e,t,i){__DEV__&&O.assert(!this[F],"`setOption` should not be called during main process.");var n;if(O.isObject(t)&&(i=t.lazyUpdate,n=t.silent,t=t.notMerge),this[F]=!0,!this._model||t){var o=new k(this._api),r=this._theme;(this._model=new A(null,null,r,o)).init(null,null,r,o)}this.__lastOnlyGraphic=!(!e||!e.graphic),O.each(e,function(e,t){"graphic"!==t&&(this.__lastOnlyGraphic=!1)},this),this._model.setOption(e,J,this.__lastOnlyGraphic),i?(this[H]={silent:n},this[F]=!1):(W.prepareAndUpdate.call(this),this._zr.flush(),this[H]=!1,this[F]=!1,c.call(this,n),u.call(this,n))},j.setTheme=function(){console.log("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},j.getModel=function(){return this._model},j.getOption=function(){return this._model&&this._model.getOption()},j.getWidth=function(){return this._zr.getWidth()},j.getHeight=function(){return this._zr.getHeight()},j.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},j.getRenderedCanvas=function(e){if(w.canvasSupported){e=e||{},e.pixelRatio=e.pixelRatio||1,e.backgroundColor=e.backgroundColor||this._model.get("backgroundColor");var t=this._zr,i=t.storage.getDisplayList();return O.each(i,function(e){e.stopAnimation(!0)}),t.painter.getRenderedCanvas(e)}},j.getDataURL=function(e){e=e||{};var t=e.excludeComponents,i=this._model,n=[],o=this;B(t,function(e){i.eachComponent({mainType:e},function(e){var t=o._componentsMap[e.__viewId];t.group.ignore||(n.push(t),t.group.ignore=!0)})});var r=this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return B(n,function(e){e.group.ignore=!1}),r},j.getConnectedDataURL=function(e){if(w.canvasSupported){var t=this.group,i=Math.min,n=Math.max,o=1/0;if(ie[t]){var r=o,a=o,s=-o,l=-o,c=[],u=e&&e.pixelRatio||1;O.each(te,function(o,u){if(o.group===t){var h=o.getRenderedCanvas(O.clone(e)),d=o.getDom().getBoundingClientRect();r=i(d.left,r),a=i(d.top,a),s=n(d.right,s),l=n(d.bottom,l),c.push({dom:h,left:d.left,top:d.top})}}),r*=u,a*=u,s*=u,l*=u;var h=s-r,d=l-a,p=O.createCanvas();p.width=h,p.height=d;var f=E.init(p);return B(c,function(e){var t=new D.Image({style:{x:e.left*u-r,y:e.top*u-a,image:e.dom}});f.add(t)}),f.refreshImmediately(),p.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},j.convertToPixel=O.curry(a,"convertToPixel"),j.convertFromPixel=O.curry(a,"convertFromPixel"),j.containPixel=function(e,t){var i,n=this._model;return e=P.parseFinder(n,e),O.each(e,function(e,n){n.indexOf("Models")>=0&&O.each(e,function(e){var o=e.coordinateSystem;if(o&&o.containPoint)i|=!!o.containPoint(t);else if("seriesModels"===n){var r=this._chartsMap[e.__viewId];r&&r.containPoint?i|=r.containPoint(t,e):__DEV__&&console.warn(n+": "+(r?"The found component do not support containPoint.":"No view mapping to the found component."))}else __DEV__&&console.warn(n+": containPoint is not supported")},this)},this),!!i},j.getVisual=function(e,t){var i=this._model;e=P.parseFinder(i,e,{defaultMainType:"series"});var n=e.seriesModel;__DEV__&&(n||console.warn("There is no specified seires model"));var o=n.getData(),r=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?o.indexOfRawIndex(e.dataIndex):null;return null!=r?o.getItemVisual(r,t):o.getVisual(t)},j.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},j.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var W={update:function(e){var t=this._model,i=this._api,n=this._coordSysMgr,o=this._zr;if(t){t.restoreData(),n.create(this._model,this._api),p.call(this,t,i),f.call(this,t),n.update(t,i),m.call(this,t,e),v.call(this,t,e);var r=t.get("backgroundColor")||"transparent",a=o.painter;if(a.isSingleCanvas&&a.isSingleCanvas())o.configLayer(0,{clearColor:r});else{if(!w.canvasSupported){var s=R.parse(r);r=R.stringify(s,"rgb"),0===s[3]&&(r="transparent")}r.colorStops||r.image?(o.configLayer(0,{clearColor:r}),this.__hasGradientOrPatternBg=!0,this._dom.style.background="transparent"):(this.__hasGradientOrPatternBg&&o.configLayer(0,{clearColor:null}),this.__hasGradientOrPatternBg=!1,this._dom.style.background=r)}B(Q,function(e){e(t,i)})}},updateView:function(e){var t=this._model;t&&(t.eachSeries(function(e){e.getData().clearAllVisual()}),m.call(this,t,e),h.call(this,"updateView",t,e))},updateVisual:function(e){var t=this._model;t&&(t.eachSeries(function(e){e.getData().clearAllVisual()}),m.call(this,t,e,!0),h.call(this,"upLine truncated
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
@@ -16,10 +16,10 @@ var w=i(13),S=i(446),A=i(229),M=i(22),k=i(447),T=i(12),I=i(14),C=i(90),L=i(30),D
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/
var o=i(171),r=i(13),a=i(0),s=i(504),l=i(507),c=i(508),u=i(515),h=!r.canvasSupported,d={canvas:i(506)},p={},f={};f.version="3.4.0",f.init=function(e,t){var i=new g(o(),e,t);return p[i.id]=i,i},f.dispose=function(e){if(e)e.dispose();else{for(var t in p)p.hasOwnProperty(t)&&p[t].dispose();p={}}return f},f.getInstance=function(e){return p[e]},f.registerPainter=function(e,t){d[e]=t};var g=function(e,t,i){i=i||{},this.dom=t,this.id=e;var n=this,o=new l,p=i.renderer;if(h){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");p="vml"}else p&&d[p]||(p="canvas");var f=new d[p](t,o,i);this.storage=o,this.painter=f;var g=r.node?null:new u(f.getViewportRoot());this.handler=new s(o,f,g,f.root),this.animation=new c({stage:{update:a.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var m=o.delFromMap,v=o.addToMap;o.delFromMap=function(e){var t=o.get(e);m.call(o,e),t&&t.removeSelfFromZr(n)},o.addToMap=function(e){v.call(o,e),e.addSelfToZr(n)}};g.prototype={constructor:g,getId:function(){return this.id},add:function(e){this.storage.addRoot(e),this._needsRefresh=!0},remove:function(e){this.storage.delRoot(e),this._needsRefresh=!0},configLayer:function(e,t){this.painter.configLayer(e,t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},flush:function(){this._needsRefresh&&this.refreshImmediately(),this._needsRefreshHover&&this.refreshHoverImmediately()},addHover:function(e,t){this.painter.addHover&&(this.painter.addHover(e,t),this.refreshHover())},removeHover:function(e){this.painter.removeHover&&(this.painter.removeHover(e),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(e,t){return this.painter.pathToImage(e,t)},setCursorStyle:function(e){this.handler.setCursorStyle(e)},on:function(e,t,i){this.handler.on(e,t,i)},off:function(e,t){this.handler.off(e,t)},trigger:function(e,t){this.handler.trigger(e,t)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,n(this.id)}},e.exports=f},function(e,t,i){"use strict";var n=i(17),o=i(495),r=i(483),a=i.n(r),s=i(486),l=i.n(s),c=i(487),u=i.n(c),h=i(484),d=i.n(h),p=i(485),f=i.n(p);n.default.use(o.a),t.a=new o.a({routes:[{path:"/",name:"Overview",component:a.a},{path:"/proxies/tcp",name:"ProxiesTcp",component:l.a},{path:"/proxies/udp",name:"ProxiesUdp",component:u.a},{path:"/proxies/http",name:"ProxiesHttp",component:d.a},{path:"/proxies/https",name:"ProxiesHttps",component:f.a}]})},function(e,t,i){var n=i(218);"string"==typeof n&&(n=[[e.i,n,""]]);i(160)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,i){var n=i(219);"string"==typeof n&&(n=[[e.i,n,""]]);i(160)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,i){i(497);var n=i(37)(i(207),i(489),null,null);e.exports=n.exports},,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={methods:{handleSelect:function(e,t){""==e&&window.open("http://github.com/fatedier/frp")}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(103);t.default={data:function(){return{vhost_http_port:"",vhost_https_port:"",auth_timeout:"",subdomain_host:"",max_pool_count:"",heart_beat_timeout:"",client_counts:"",cur_conns:"",proxy_counts:""}},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{fetchData:function(){var e=this;fetch("/api/serverinfo").then(function(e){return e.json()}).then(function(t){e.vhost_http_port=t.vhost_http_port,0==e.vhost_http_port&&(e.vhost_http_port="disable"),e.vhost_https_port=t.vhost_https_port,0==e.vhost_https_port&&(e.vhost_https_port="disable"),e.auth_timeout=t.auth_timeout,e.subdomain_host=t.subdomain_host,e.max_pool_count=t.max_pool_count,e.heart_beat_timeout=t.heart_beat_timeout,e.client_counts=t.client_counts,e.cur_conns=t.cur_conns,e.proxy_counts=0,null!=t.proxy_type_count&&(null!=t.proxy_type_count.tcp&&(e.proxy_counts+=t.proxy_type_count.tcp),null!=t.proxy_type_count.udp&&(e.proxy_counts+=t.proxy_type_count.udp),null!=t.proxy_type_count.http&&(e.proxy_counts+=t.proxy_type_count.http),null!=t.proxy_type_count.https&&(e.proxy_counts+=t.proxy_type_count.https)),i.i(n.b)("traffic",t.total_traffic_in,t.total_traffic_out),i.i(n.c)("proxies",t)}).catch(function(t){e.$message({showCLine truncated
var o=i(171),r=i(13),a=i(0),s=i(505),l=i(508),c=i(509),u=i(516),h=!r.canvasSupported,d={canvas:i(507)},p={},f={};f.version="3.4.0",f.init=function(e,t){var i=new g(o(),e,t);return p[i.id]=i,i},f.dispose=function(e){if(e)e.dispose();else{for(var t in p)p.hasOwnProperty(t)&&p[t].dispose();p={}}return f},f.getInstance=function(e){return p[e]},f.registerPainter=function(e,t){d[e]=t};var g=function(e,t,i){i=i||{},this.dom=t,this.id=e;var n=this,o=new l,p=i.renderer;if(h){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");p="vml"}else p&&d[p]||(p="canvas");var f=new d[p](t,o,i);this.storage=o,this.painter=f;var g=r.node?null:new u(f.getViewportRoot());this.handler=new s(o,f,g,f.root),this.animation=new c({stage:{update:a.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var m=o.delFromMap,v=o.addToMap;o.delFromMap=function(e){var t=o.get(e);m.call(o,e),t&&t.removeSelfFromZr(n)},o.addToMap=function(e){v.call(o,e),e.addSelfToZr(n)}};g.prototype={constructor:g,getId:function(){return this.id},add:function(e){this.storage.addRoot(e),this._needsRefresh=!0},remove:function(e){this.storage.delRoot(e),this._needsRefresh=!0},configLayer:function(e,t){this.painter.configLayer(e,t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},flush:function(){this._needsRefresh&&this.refreshImmediately(),this._needsRefreshHover&&this.refreshHoverImmediately()},addHover:function(e,t){this.painter.addHover&&(this.painter.addHover(e,t),this.refreshHover())},removeHover:function(e){this.painter.removeHover&&(this.painter.removeHover(e),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(e,t){return this.painter.pathToImage(e,t)},setCursorStyle:function(e){this.handler.setCursorStyle(e)},on:function(e,t,i){this.handler.on(e,t,i)},off:function(e,t){this.handler.off(e,t)},trigger:function(e,t){this.handler.trigger(e,t)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,n(this.id)}},e.exports=f},function(e,t,i){"use strict";var n=i(17),o=i(496),r=i(484),a=i.n(r),s=i(487),l=i.n(s),c=i(488),u=i.n(c),h=i(485),d=i.n(h),p=i(486),f=i.n(p);n.default.use(o.a),t.a=new o.a({routes:[{path:"/",name:"Overview",component:a.a},{path:"/proxies/tcp",name:"ProxiesTcp",component:l.a},{path:"/proxies/udp",name:"ProxiesUdp",component:u.a},{path:"/proxies/http",name:"ProxiesHttp",component:d.a},{path:"/proxies/https",name:"ProxiesHttps",component:f.a}]})},function(e,t,i){var n=i(219);"string"==typeof n&&(n=[[e.i,n,""]]);i(160)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,i){var n=i(220);"string"==typeof n&&(n=[[e.i,n,""]]);i(160)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,i){i(498);var n=i(37)(i(208),i(490),null,null);e.exports=n.exports},function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function i(e){return"string"!=typeof e&&(e=String(e)),e}function n(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return v.iterable&&(t[Symbol.iterator]=function(){return t}),t}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function r(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function a(e){return new Promise(function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}})}function s(e){var t=new FileReader,i=a(t);return t.readAsArrayBuffer(e),i}function l(e){var t=new FileReader,i=a(t);return t.readAsText(e),i}function c(e){for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n<t.length;n++)i[n]=String.fromCharCode(t[n]);return i.join("")}function u(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(v.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(v.formData&&FormData.prototype.isPrototypeOfLine truncated
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
var J=i(216),Q=i(479),K=i(480);t.Buffer=r,t.SlowBuffer=g,t.INSPECT_MAX_BYTES=50,r.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=n(),r.poolSize=8192,r._augment=function(e){return e.__proto__=r.prototype,e},r.from=function(e,t,i){return a(null,e,t,i)},r.TYPED_ARRAY_SUPPORT&&(r.prototype.__proto__=Uint8Array.prototype,r.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&r[Symbol.species]===r&&Object.defineProperty(r,Symbol.species,{value:null,configurable:!0})),r.alloc=function(e,t,i){return l(null,e,t,i)},r.allocUnsafe=function(e){return c(null,e)},r.allocUnsafeSlow=function(e){return c(null,e)},r.isBuffer=function(e){return!(null==e||!e._isBuffer)},r.compare=function(e,t){if(!r.isBuffer(e)||!r.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var i=e.length,n=t.length,o=0,a=Math.min(i,n);o<a;++o)if(e[o]!==t[o]){i=e[o],n=t[o];break}return i<n?-1:n<i?1:0},r.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},r.concat=function(e,t){if(!K(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return r.alloc(0);var i;if(void 0===t)for(t=0,i=0;i<e.length;++i)t+=e[i].length;var n=r.allocUnsafe(t),o=0;for(i=0;i<e.length;++i){var a=e[i];if(!r.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},r.byteLength=m,r.prototype._isBuffer=!0,r.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},r.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},r.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},r.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?I(this,0,e):v.apply(this,arguments)},r.prototype.equals=function(e){if(!r.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===r.compare(this,e)},r.prototype.inspect=function(){var e="",i=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(e+=" ... ")),"<Buffer "+e+">"},r.prototype.compare=function(e,t,i,n,o){if(!r.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||i>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var a=o-n,s=i-t,l=Math.min(a,s),c=this.slice(n,o),u=e.slice(t,i),h=0;h<l;++h)if(c[h]!==u[h]){a=c[h],s=u[h];break}return a<s?-1:s<a?1:0},r.prototype.includes=function(e,t,i){return this.indexOf(e,t,i)!==-1},r.prototype.indexOf=function(e,t,i){return x(this,e,t,i,!0)},r.prototype.lastIndexOf=function(e,t,i){return x(this,e,t,i,!1)},r.prototype.write=function(e,t,i,n){if(void 0===t)n="utf8",i=this.length,t=0;else if(void 0===i&&"string"==typeof t)n=t,i=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(i)?(i|=0,void 0===n&&(n="utf8")):(n=i,i=void 0)}var o=this.length-t;if((void 0===i||i>o)&&(i=o),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var r=!1;;)switch(n){case"hex":return _(this,e,t,i);case"utf8":case"utf-8":return w(this,e,t,i);case"ascii":return S(this,e,t,i);case"latin1":case"binary":return A(this,e,t,i);case"base64":return M(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,i);default:if(r)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),r=!0}},r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;r.prototype.slice=function(e,t){var i=this.length;e=~~e,t=void 0===t?i:~~t,e<0?(e+=i)<0&&(e=0):e>i&&(e=i),t<0?(t+=i)<0&&(t=0):t>i&&(t=i),t<e&&(t=e);var n;if(r.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=r.prototype;else{var o=t-e;n=new r(o,void 0);for(var a=0;a<o;++a)n[a]=this[a+e]}return n},r.prototype.readUIntLE=function(e,t,i){e|=0,t|=0,i||E(e,t,this.length);for(var n=this[e],o=1,r=0;++r<t&&(o*=256);)n+=this[e+r]*o;return n},r.prototype.readUIntBE=function(e,t,i)Line truncated
var J=i(217),Q=i(480),K=i(481);t.Buffer=r,t.SlowBuffer=g,t.INSPECT_MAX_BYTES=50,r.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=n(),r.poolSize=8192,r._augment=function(e){return e.__proto__=r.prototype,e},r.from=function(e,t,i){return a(null,e,t,i)},r.TYPED_ARRAY_SUPPORT&&(r.prototype.__proto__=Uint8Array.prototype,r.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&r[Symbol.species]===r&&Object.defineProperty(r,Symbol.species,{value:null,configurable:!0})),r.alloc=function(e,t,i){return l(null,e,t,i)},r.allocUnsafe=function(e){return c(null,e)},r.allocUnsafeSlow=function(e){return c(null,e)},r.isBuffer=function(e){return!(null==e||!e._isBuffer)},r.compare=function(e,t){if(!r.isBuffer(e)||!r.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var i=e.length,n=t.length,o=0,a=Math.min(i,n);o<a;++o)if(e[o]!==t[o]){i=e[o],n=t[o];break}return i<n?-1:n<i?1:0},r.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},r.concat=function(e,t){if(!K(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return r.alloc(0);var i;if(void 0===t)for(t=0,i=0;i<e.length;++i)t+=e[i].length;var n=r.allocUnsafe(t),o=0;for(i=0;i<e.length;++i){var a=e[i];if(!r.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},r.byteLength=m,r.prototype._isBuffer=!0,r.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},r.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},r.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},r.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?I(this,0,e):v.apply(this,arguments)},r.prototype.equals=function(e){if(!r.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===r.compare(this,e)},r.prototype.inspect=function(){var e="",i=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(e+=" ... ")),"<Buffer "+e+">"},r.prototype.compare=function(e,t,i,n,o){if(!r.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||i>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var a=o-n,s=i-t,l=Math.min(a,s),c=this.slice(n,o),u=e.slice(t,i),h=0;h<l;++h)if(c[h]!==u[h]){a=c[h],s=u[h];break}return a<s?-1:s<a?1:0},r.prototype.includes=function(e,t,i){return this.indexOf(e,t,i)!==-1},r.prototype.indexOf=function(e,t,i){return x(this,e,t,i,!0)},r.prototype.lastIndexOf=function(e,t,i){return x(this,e,t,i,!1)},r.prototype.write=function(e,t,i,n){if(void 0===t)n="utf8",i=this.length,t=0;else if(void 0===i&&"string"==typeof t)n=t,i=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(i)?(i|=0,void 0===n&&(n="utf8")):(n=i,i=void 0)}var o=this.length-t;if((void 0===i||i>o)&&(i=o),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var r=!1;;)switch(n){case"hex":return _(this,e,t,i);case"utf8":case"utf-8":return w(this,e,t,i);case"ascii":return A(this,e,t,i);case"latin1":case"binary":return S(this,e,t,i);case"base64":return M(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,i);default:if(r)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),r=!0}},r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;r.prototype.slice=function(e,t){var i=this.length;e=~~e,t=void 0===t?i:~~t,e<0?(e+=i)<0&&(e=0):e>i&&(e=i),t<0?(t+=i)<0&&(t=0):t>i&&(t=i),t<e&&(t=e);var n;if(r.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=r.prototype;else{var o=t-e;n=new r(o,void 0);for(var a=0;a<o;++a)n[a]=this[a+e]}return n},r.prototype.readUIntLE=function(e,t,i){e|=0,t|=0,i||E(e,t,this.length);for(var n=this[e],o=1,r=0;++r<t&&(o*=256);)n+=this[e+r]*o;return n},r.prototype.readUIntBE=function(e,t,i)Line truncated
+1 -1
View File
@@ -1 +1 @@
!function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,c,u){for(var i,a,f,l=0,s=[];l<t.length;l++)a=t[l],o[a]&&s.push(o[a][0]),o[a]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(t,c,u);s.length;)s.shift()();if(u)for(l=0;l<u.length;l++)f=r(r.s=u[l]);return f};var t={},o={2:0};r.e=function(e){function n(){u.onerror=u.onload=null,clearTimeout(i);var r=o[e];0!==r&&(r&&r[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}if(0===o[e])return Promise.resolve();if(o[e])return o[e][2];var t=new Promise(function(r,n){o[e]=[r,n]});o[e][2]=t;var c=document.getElementsByTagName("head")[0],u=document.createElement("script");u.type="text/javascript",u.charset="utf-8",u.async=!0,u.timeout=12e4,r.nc&&u.setAttribute("nonce",r.nc),u.src=r.p+""+e+".js?"+{0:"164c4e33812acd6b864b",1:"30b5cbeb51280b3d4feb"}[e];var i=setTimeout(n,12e4);return u.onerror=u.onload=n,c.appendChild(u),t},r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="",r.oe=function(e){throw console.error(e),e}}([]);
!function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,c,u){for(var i,a,f,l=0,s=[];l<t.length;l++)a=t[l],o[a]&&s.push(o[a][0]),o[a]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(t,c,u);s.length;)s.shift()();if(u)for(l=0;l<u.length;l++)f=r(r.s=u[l]);return f};var t={},o={2:0};r.e=function(e){function n(){u.onerror=u.onload=null,clearTimeout(i);var r=o[e];0!==r&&(r&&r[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}if(0===o[e])return Promise.resolve();if(o[e])return o[e][2];var t=new Promise(function(r,n){o[e]=[r,n]});o[e][2]=t;var c=document.getElementsByTagName("head")[0],u=document.createElement("script");u.type="text/javascript",u.charset="utf-8",u.async=!0,u.timeout=12e4,r.nc&&u.setAttribute("nonce",r.nc),u.src=r.p+""+e+".js?"+{0:"ba80138d6369555bbd4e",1:"66dfcf2d1c500e900413"}[e];var i=setTimeout(n,12e4);return u.onerror=u.onload=n,c.appendChild(u),t},r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="",r.oe=function(e){throw console.error(e),e}}([]);
+2 -2
View File
@@ -1,6 +1,6 @@
webpackJsonp([1],{102:function(e,t,n){"use strict";function i(e,t,n,i,r,o){!e.required||n.hasOwnProperty(e.field)&&!s.isEmptyValue(t,o||e.type)||i.push(s.format(r.messages.required,e.fullField))}Object.defineProperty(t,"__esModule",{value:!0});var r=n(8),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(r);t.default=i,e.exports=t.default},153:function(e,t,n){"use strict";t.__esModule=!0;var i=n(93);t.default={methods:{t:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return i.t.apply(this,t)}}}},154:function(e,t,n){e.exports=function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){e.exports=n(254)},47:function(e,t){e.exports=n(94)},117:function(e,t){e.exports=n(36)},254:function(e,t,n){"use strict";t.__esModule=!0;var i=n(255),r=function(e){return e&&e.__esModule?e:{default:e}}(i);r.default.install=function(e){e.component(r.default.name,r.default)},t.default=r.default},255:function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(47),s=n(256),o=i(s),a=n(257),l=n(258),u=i(l);t.default={name:"ElScrollbar",components:{Bar:u.default},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=(0,o.default)(),n=this.wrapStyle;if(t){var i="-"+t+"px",r="margin-bottom: "+i+"; margin-right: "+i+";";Array.isArray(this.wrapStyle)?(n=(0,a.toObject)(this.wrapStyle),n.marginRight=n.marginBottom=i):"string"==typeof this.wrapStyle?n+=r:n=r}var s=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),l=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[s]]),c=void 0;return c=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[s]])]:[l,e(u.default,{attrs:{move:this.moveX,size:this.sizeWidth}},[]),e(u.default,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}},[])],e("div",{class:"el-scrollbar"},c)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&(0,r.addResizeListener)(this.$refs.resize,this.update))},destroyed:function(){this.native||!this.noresize&&(0,r.removeResizeListener)(this.$refs.resize,this.update)}}},256:function(e,t){e.exports=n(95)},257:function(e,t){e.exports=n(66)},258:function(e,t,n){"use strict";t.__esModule=!0;var i=n(117),r=n(259);t.default={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return r.BAR_MAP[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,i=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+i.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:(0,r.renderThumbStyle)({size:t,move:n,bar:i})},[])])},methods:{clickThumbHandler:function(e){this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction])},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]/2,i=100*(t-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=i*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,(0,i.on)(document,"mousemove",this.mouseMoveDocumentHandler),(0,i.on)(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(this.cursorDown!==!1){var t=this[this.bar.axis];if(t){var n=(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client])*-1,i=this.$refs.thumb[this.bar.offset]-t,r=100*(n-i)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=r*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,(0,i.off)(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){(0,i.off)(document,"mouseup",this.mouseUpDocumentHandler)}}},259:function(e,t){"use strict";function n(e){var t=e.move,n=e.size,i=e.bar,Line truncated
webpackJsonp([1],{102:function(e,t,n){"use strict";function i(e,t,n,i,r,o){!e.required||n.hasOwnProperty(e.field)&&!s.isEmptyValue(t,o||e.type)||i.push(s.format(r.messages.required,e.fullField))}Object.defineProperty(t,"__esModule",{value:!0});var r=n(8),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(r);t.default=i,e.exports=t.default},153:function(e,t,n){"use strict";t.__esModule=!0;var i=n(93);t.default={methods:{t:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return i.t.apply(this,t)}}}},154:function(e,t,n){e.exports=function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}({0:function(e,t,n){e.exports=n(254)},47:function(e,t){e.exports=n(94)},117:function(e,t){e.exports=n(36)},254:function(e,t,n){"use strict";t.__esModule=!0;var i=n(255),r=function(e){return e&&e.__esModule?e:{default:e}}(i);r.default.install=function(e){e.component(r.default.name,r.default)},t.default=r.default},255:function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(47),s=n(256),o=i(s),a=n(257),l=n(258),u=i(l);t.default={name:"ElScrollbar",components:{Bar:u.default},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=(0,o.default)(),n=this.wrapStyle;if(t){var i="-"+t+"px",r="margin-bottom: "+i+"; margin-right: "+i+";";Array.isArray(this.wrapStyle)?(n=(0,a.toObject)(this.wrapStyle),n.marginRight=n.marginBottom=i):"string"==typeof this.wrapStyle?n+=r:n=r}var s=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),l=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[s]]),c=void 0;return c=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[s]])]:[l,e(u.default,{attrs:{move:this.moveX,size:this.sizeWidth}},[]),e(u.default,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}},[])],e("div",{class:"el-scrollbar"},c)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&(0,r.addResizeListener)(this.$refs.resize,this.update))},destroyed:function(){this.native||!this.noresize&&(0,r.removeResizeListener)(this.$refs.resize,this.update)}}},256:function(e,t){e.exports=n(95)},257:function(e,t){e.exports=n(66)},258:function(e,t,n){"use strict";t.__esModule=!0;var i=n(117),r=n(259);t.default={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return r.BAR_MAP[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,i=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+i.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:(0,r.renderThumbStyle)({size:t,move:n,bar:i})},[])])},methods:{clickThumbHandler:function(e){this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction])},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]/2,i=100*(t-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=i*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,(0,i.on)(document,"mousemove",this.mouseMoveDocumentHandler),(0,i.on)(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(this.cursorDown!==!1){var t=this[this.bar.axis];if(t){var n=(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client])*-1,i=this.$refs.thumb[this.bar.offset]-t,r=100*(n-i)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=r*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,(0,i.off)(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){(0,i.off)(document,"mouseup",this.mouseUpDocumentHandler)}}},259:function(e,t){"use strict";function n(e){var t=e.move,n=e.size,i=e.bar,Line truncated
* Vue.js v2.2.5
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
function n(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function i(e){var t=parseFloat(e);return isNaN(t)?e:t}function r(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}function s(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function o(e,t){return wr.call(e,t)}function a(e){return"string"==typeof e||"number"==typeof e}function l(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function u(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function c(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function d(e,t){for(var n in t)e[n]=t[n];return e}function f(e){return null!==e&&"object"==typeof e}function h(e){return Dr.call(e)===Ir}function p(e){for(var t={},n=0;n<e.length;n++)e[n]&&d(t,e[n]);return t}function m(){}function v(e,t){var n=f(e),i=f(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{return JSON.stringify(e)===JSON.stringify(t)}catch(n){return e===t}}function g(e,t){for(var n=0;n<e.length;n++)if(v(e[n],t))return n;return-1}function y(e){var t=!1;return function(){t||(t=!0,e())}}function b(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function _(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}function x(e){if(!Or.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}function C(e){return/native code/.test(e.toString())}function w(e){Zr.target&&Qr.push(Zr.target),Zr.target=e}function M(){Zr.target=Qr.pop()}function k(e,t){e.__proto__=t}function S(e,t,n){for(var i=0,r=n.length;i<r;i++){var s=n[i];_(e,s,t[s])}}function D(e,t){if(f(e)){var n;return o(e,"__ob__")&&e.__ob__ instanceof ts?n=e.__ob__:es.shouldConvert&&!Hr()&&(Array.isArray(e)||h(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new ts(e)),t&&n&&n.vmCount++,n}}function I(e,t,n,i){var r=new Zr,s=Object.getOwnPropertyDescriptor(e,t);if(!s||s.configurable!==!1){var o=s&&s.get,a=s&&s.set,l=D(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=o?o.call(e):n;return Zr.target&&(r.depend(),l&&l.dep.depend(),Array.isArray(t)&&N(t)),t},set:function(t){var i=o?o.call(e):n;t===i||t!==t&&i!==i||(a?a.call(e,t):n=t,l=D(t),r.notify())}})}}function $(e,t,n){if(Array.isArray(e)&&"number"==typeof t)return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(o(e,t))return e[t]=n,n;var i=e.__ob__;return e._isVue||i&&i.vmCount?n:i?(I(i.value,t,n),i.dep.notify(),n):(e[t]=n,n)}function T(e,t){if(Array.isArray(e)&&"number"==typeof t)return void e.splice(t,1);var n=e.__ob__;e._isVue||n&&n.vmCount||o(e,t)&&(delete e[t],n&&n.dep.notify())}function N(e){for(var t=void 0,n=0,i=e.length;n<i;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&N(t)}function E(e,t){if(!t)return e;for(var n,i,r,s=Object.keys(t),a=0;a<s.length;a++)n=s[a],i=e[n],r=t[n],o(e,n)?h(i)&&h(r)&&E(i,r):$(e,n,r);return e}function O(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function A(e,t){var n=Object.create(e||null);return t?d(n,t):n}function P(e){var t=e.props;if(t){var n,i,r,s={};if(Array.isArray(t))for(n=t.length;n--;)"string"==typeof(i=t[n])&&(r=Mr(i),s[r]={type:null});else if(h(t))for(var o in t)i=t[o],r=Mr(o),s[r]=h(i)?i:{type:i};e.props=s}}function L(e){var t=e.directives;if(t)for(var n in t){var i=t[n];"function"==typeof i&&(t[n]={bind:i,update:i})}}function j(e,t,n){function i(i){var r=ns[i]||is;c[i]=r(e[i],t[i],n,i)}P(t),L(t);var r=t.extends;if(r&&(e="function"==typeof r?j(e,r.options,n):j(e,r,n)),t.mixins)for(var s=0,a=t.mixins.length;s<a;s++){var l=t.mixins[s];l.prototype instanceof rt&&(l=l.options),e=j(e,l,n)}var u,c={};for(u in e)i(u);for(u in t)o(e,u)||i(u);return c}function z(e,t,n,i){if("string"==typeof n){var r=e[t];if(o(r,n))return r[n];var s=Mr(n);if(o(r,s))return r[s];var a=kr(s);if(o(r,a))return r[a];return r[n]||r[s]||r[a]}}function F(e,t,n,i){var r=t[e],s=!o(n,e),a=n[e];if(V(Boolean,r.type)&&(s&&!o(r,"default")?a=!1:V(String,r.type)||""!==a&&a!==Sr(e)||(a=!0)),void 0===a){a=R(i,r,e);var l=es.shouldConvert;es.shouldConvert=!0,D(a),es.shouldConvert=l}return a}function R(e,t,n){if(o(t,"default")){var i=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof i&&"Function"!==B(t.type)?i.call(e):i}}function B(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t&&t[1]}function V(e,t){if(!Array.isArray(t))return B(t)===B(e);for(var n=0,i=t.length;n<i;n++)if(B(t[n])===B(e))return!0;return!1}function H(e,t,n){if(Nr.errorHandler)Nr.errorHandler.call(null,e,t,n);else{if(!Pr||"undefined"==typeof console)throw e;console.error(e)}}function W(e){return new rs(void 0,void 0,void 0,String(e))}function Y(e){var t=new rs(e.tag,e.data,e.children,e.text,e.elm,e.context,e.componentOptions);return tLine truncated
function n(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function i(e){var t=parseFloat(e);return isNaN(t)?e:t}function r(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}function s(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function o(e,t){return wr.call(e,t)}function a(e){return"string"==typeof e||"number"==typeof e}function l(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function u(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function c(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i}function d(e,t){for(var n in t)e[n]=t[n];return e}function f(e){return null!==e&&"object"==typeof e}function h(e){return Dr.call(e)===Ir}function p(e){for(var t={},n=0;n<e.length;n++)e[n]&&d(t,e[n]);return t}function m(){}function v(e,t){var n=f(e),i=f(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{return JSON.stringify(e)===JSON.stringify(t)}catch(n){return e===t}}function g(e,t){for(var n=0;n<e.length;n++)if(v(e[n],t))return n;return-1}function y(e){var t=!1;return function(){t||(t=!0,e())}}function b(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function _(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}function x(e){if(!Or.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}function C(e){return/native code/.test(e.toString())}function w(e){Zr.target&&Qr.push(Zr.target),Zr.target=e}function M(){Zr.target=Qr.pop()}function k(e,t){e.__proto__=t}function S(e,t,n){for(var i=0,r=n.length;i<r;i++){var s=n[i];_(e,s,t[s])}}function D(e,t){if(f(e)){var n;return o(e,"__ob__")&&e.__ob__ instanceof ts?n=e.__ob__:es.shouldConvert&&!Hr()&&(Array.isArray(e)||h(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new ts(e)),t&&n&&n.vmCount++,n}}function I(e,t,n,i){var r=new Zr,s=Object.getOwnPropertyDescriptor(e,t);if(!s||s.configurable!==!1){var o=s&&s.get,a=s&&s.set,l=D(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=o?o.call(e):n;return Zr.target&&(r.depend(),l&&l.dep.depend(),Array.isArray(t)&&N(t)),t},set:function(t){var i=o?o.call(e):n;t===i||t!==t&&i!==i||(a?a.call(e,t):n=t,l=D(t),r.notify())}})}}function $(e,t,n){if(Array.isArray(e)&&"number"==typeof t)return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(o(e,t))return e[t]=n,n;var i=e.__ob__;return e._isVue||i&&i.vmCount?n:i?(I(i.value,t,n),i.dep.notify(),n):(e[t]=n,n)}function T(e,t){if(Array.isArray(e)&&"number"==typeof t)return void e.splice(t,1);var n=e.__ob__;e._isVue||n&&n.vmCount||o(e,t)&&(delete e[t],n&&n.dep.notify())}function N(e){for(var t=void 0,n=0,i=e.length;n<i;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&N(t)}function E(e,t){if(!t)return e;for(var n,i,r,s=Object.keys(t),a=0;a<s.length;a++)n=s[a],i=e[n],r=t[n],o(e,n)?h(i)&&h(r)&&E(i,r):$(e,n,r);return e}function O(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function A(e,t){var n=Object.create(e||null);return t?d(n,t):n}function P(e){var t=e.props;if(t){var n,i,r,s={};if(Array.isArray(t))for(n=t.length;n--;)"string"==typeof(i=t[n])&&(r=Mr(i),s[r]={type:null});else if(h(t))for(var o in t)i=t[o],r=Mr(o),s[r]=h(i)?i:{type:i};e.props=s}}function L(e){var t=e.directives;if(t)for(var n in t){var i=t[n];"function"==typeof i&&(t[n]={bind:i,update:i})}}function j(e,t,n){function i(i){var r=ns[i]||is;c[i]=r(e[i],t[i],n,i)}P(t),L(t);var r=t.extends;if(r&&(e="function"==typeof r?j(e,r.options,n):j(e,r,n)),t.mixins)for(var s=0,a=t.mixins.length;s<a;s++){var l=t.mixins[s];l.prototype instanceof rt&&(l=l.options),e=j(e,l,n)}var u,c={};for(u in e)i(u);for(u in t)o(e,u)||i(u);return c}function z(e,t,n,i){if("string"==typeof n){var r=e[t];if(o(r,n))return r[n];var s=Mr(n);if(o(r,s))return r[s];var a=kr(s);if(o(r,a))return r[a];return r[n]||r[s]||r[a]}}function F(e,t,n,i){var r=t[e],s=!o(n,e),a=n[e];if(V(Boolean,r.type)&&(s&&!o(r,"default")?a=!1:V(String,r.type)||""!==a&&a!==Sr(e)||(a=!0)),void 0===a){a=R(i,r,e);var l=es.shouldConvert;es.shouldConvert=!0,D(a),es.shouldConvert=l}return a}function R(e,t,n){if(o(t,"default")){var i=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof i&&"Function"!==B(t.type)?i.call(e):i}}function B(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t&&t[1]}function V(e,t){if(!Array.isArray(t))return B(t)===B(e);for(var n=0,i=t.length;n<i;n++)if(B(t[n])===B(e))return!0;return!1}function H(e,t,n){if(Nr.errorHandler)Nr.errorHandler.call(null,e,t,n);else{if(!Pr||"undefined"==typeof console)throw e;console.error(e)}}function W(e){return new rs(void 0,void 0,void 0,String(e))}function Y(e){var t=new rs(e.tag,e.data,e.children,e.text,e.elm,e.context,e.componentOptions);return tLine truncated
+2 -1
View File
@@ -14,7 +14,8 @@
"humanize-plus": "^1.8.2",
"vue": "^2.2.4",
"vue-resource": "^1.2.1",
"vue-router": "^2.3.0"
"vue-router": "^2.3.0",
"whatwg-fetch": "^2.0.3"
},
"engines": {
"node": ">=6"
+10 -11
View File
@@ -43,20 +43,19 @@
</template>
<script>
import {DrawTrafficChart, DrawProxyChart} from "../utils/chart.js"
import {DrawTrafficChart, DrawProxyChart} from '../utils/chart.js'
export default {
data() {
return {
vhost_http_port: "",
vhost_https_port: "",
auth_timeout: "",
subdomain_host: "",
max_pool_count: "",
heart_beat_timeout: "",
client_counts: "",
cur_conns: "",
proxy_counts: ""
vhost_http_port: '',
vhost_https_port: '',
auth_timeout: '',
subdomain_host: '',
max_pool_count: '',
heart_beat_timeout: '',
client_counts: '',
cur_conns: '',
proxy_counts: ''
}
},
created() {
+2 -2
View File
@@ -83,11 +83,11 @@
</template>
<script>
import Humanize from "humanize-plus";
import Humanize from 'humanize-plus';
import Traffic from './Traffic.vue'
import {
HttpProxy
} from "../utils/proxy.js"
} from '../utils/proxy.js'
export default {
data() {
return {
+4 -4
View File
@@ -78,17 +78,17 @@
</template>
<script>
import Humanize from "humanize-plus";
import Humanize from 'humanize-plus';
import Traffic from './Traffic.vue'
import {
HttpsProxy
} from "../utils/proxy.js"
} from '../utils/proxy.js'
export default {
data() {
return {
proxies: null,
vhost_https_port: "",
subdomain_host: ""
vhost_https_port: '',
subdomain_host: ''
}
},
created() {
+2 -2
View File
@@ -74,11 +74,11 @@
</template>
<script>
import Humanize from "humanize-plus";
import Humanize from 'humanize-plus';
import Traffic from './Traffic.vue'
import {
UdpProxy
} from "../utils/proxy.js"
} from '../utils/proxy.js'
export default {
data() {
return {
+1
View File
@@ -5,6 +5,7 @@ import './utils/less/custom.less'
import App from './App.vue'
import router from './router'
import 'whatwg-fetch'
Vue.use(ElementUI)
Vue.config.productionTip = false