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HpUD5yKr00fVS7lVG5Wj5g6dP0G1knsu3TLcRIAAAAASUVORK5CYII="},"JCi+":function(t,e){},NC6I:function(module,exports,__webpack_require__){(function(process,global){var __WEBPACK_AMD_DEFINE_RESULT__;
/**
 * [js-md5]{@link https://github.com/emn178/js-md5}
 *
 * @namespace md5
 * @version 0.7.3
 * @author Chen, Yi-Cyuan [emn178@gmail.com]
 * @copyright Chen, Yi-Cyuan 2014-2017
 * @license MIT
 */
/**
 * [js-md5]{@link https://github.com/emn178/js-md5}
 *
 * @namespace md5
 * @version 0.7.3
 * @author Chen, Yi-Cyuan [emn178@gmail.com]
 * @copyright Chen, Yi-Cyuan 2014-2017
 * @license MIT
 */
!function(){"use strict";var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_MD5_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_MD5_NO_COMMON_JS&&"object"==typeof module&&module.exports,AMD=__webpack_require__("nErl"),ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(buffer)}!root.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!ARRAY_BUFFER||!root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var createOutputMethod=function(t){return function(e){return new Md5(!0).update(e)[t]()}},createMethod=function(){var t=createOutputMethod("hex");NODE_JS&&(t=nodeWrap(t)),t.create=function(){return new Md5},t.update=function(e){return t.create().update(e)};for(var e=0;e<OUTPUT_TYPES.length;++e){var r=OUTPUT_TYPES[e];t[r]=createOutputMethod(r)}return t},nodeWrap=function(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(t){if("string"==typeof t)return crypto.createHash("md5").update(t,"utf8").digest("hex");if(null===t||void 0===t)throw ERROR;return t.constructor===ArrayBuffer&&(t=new Uint8Array(t)),Array.isArray(t)||ArrayBuffer.isView(t)||t.constructor===Buffer?crypto.createHash("md5").update(new Buffer(t)).digest("hex"):method(t)};return nodeMethod};function Md5(t){if(t)blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks,this.buffer8=buffer8;else if(ARRAY_BUFFER){var e=new ArrayBuffer(68);this.buffer8=new Uint8Array(e),this.blocks=new Uint32Array(e)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Md5.prototype.update=function(t){if(!this.finalized){var e,r=typeof t;if("string"!==r){if("object"!==r)throw ERROR;if(null===t)throw ERROR;if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||ARRAY_BUFFER&&ArrayBuffer.isView(t)))throw ERROR;e=!0}for(var s,o,i=0,a=t.length,n=this.blocks,h=this.buffer8;i<a;){if(this.hashed&&(this.hashed=!1,n[0]=n[16],n[16]=n[1]=n[2]=n[3]=n[4]=n[5]=n[6]=n[7]=n[8]=n[9]=n[10]=n[11]=n[12]=n[13]=n[14]=n[15]=0),e)if(ARRAY_BUFFER)for(o=this.start;i<a&&o<64;++i)h[o++]=t[i];else for(o=this.start;i<a&&o<64;++i)n[o>>2]|=t[i]<<SHIFT[3&o++];else if(ARRAY_BUFFER)for(o=this.start;i<a&&o<64;++i)(s=t.charCodeAt(i))<128?h[o++]=s:s<2048?(h[o++]=192|s>>6,h[o++]=128|63&s):s<55296||s>=57344?(h[o++]=224|s>>12,h[o++]=128|s>>6&63,h[o++]=128|63&s):(s=65536+((1023&s)<<10|1023&t.charCodeAt(++i)),h[o++]=240|s>>18,h[o++]=128|s>>12&63,h[o++]=128|s>>6&63,h[o++]=128|63&s);else for(o=this.start;i<a&&o<64;++i)(s=t.charCodeAt(i))<128?n[o>>2]|=s<<SHIFT[3&o++]:s<2048?(n[o>>2]|=(192|s>>6)<<SHIFT[3&o++],n[o>>2]|=(128|63&s)<<SHIFT[3&o++]):s<55296||s>=57344?(n[o>>2]|=(224|s>>12)<<SHIFT[3&o++],n[o>>2]|=(128|s>>6&63)<<SHIFT[3&o++],n[o>>2]|=(128|63&s)<<SHIFT[3&o++]):(s=65536+((1023&s)<<10|1023&t.charCodeAt(++i)),n[o>>2]|=(240|s>>18)<<SHIFT[3&o++],n[o>>2]|=(128|s>>12&63)<<SHIFT[3&o++],n[o>>2]|=(128|s>>6&63)<<SHIFT[3&o++],n[o>>2]|=(128|63&s)<<SHIFT[3&o++]);this.lastByteIndex=o,this.bytes+=o-this.start,o>=64?(this.start=o-64,this.hash(),this.hashed=!0):this.start=o}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Md5.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[e>>2]|=EXTRA[3&e],e>=56&&(this.hashed||this.hash(),t[0]=t[16],t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.bytes<<3,t[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Md5.prototype.hash=function(){var t,e,r,s,o,i,a=this.blocks;this.first?e=((e=((t=((t=a[0]-680876937)<<7|t>>>25)-271733879<<0)^(r=((r=(-271733879^(s=((s=(-1732584194^2004318071&t)+a[1]-117830708)<<12|s>>>20)+t<<0)&(-271733879^t))+a[2]-1126478375)<<17|r>>>15)+s<<0)&(s^t))+a[3]-1316259209)<<22|e>>>10)+r<<0:(t=this.h0,e=this.h1,r=this.h2,e=((e+=((t=((t+=((s=this.h3)^e&(r^s))+a[0]-680876936)<<7|t>>>25)+e<<0)^(r=((r+=(e^(s=((s+=(r^t&(e^r))+a[1]-389564586)<<12|s>>>20)+t<<0)&(t^e))+a[2]+606105819)<<17|r>>>15)+s<<0)&(s^t))+a[3]-1044525330)<<22|e>>>10)+r<<0),e=((e+=((t=((t+=(s^e&(r^s))+a[4]-176418897)<<7|t>>>25)+e<<0)^(r=((r+=(e^(s=((s+=(r^t&(e^r))+a[5]+1200080426)<<12|s>>>20)+t<<0)&(t^e))+a[6]-1473231341)<<17|r>>>15)+s<<0)&(s^t))+a[7]-45705983)<<22|e>>>10)+r<<0,e=((e+=((t=((t+=(s^e&(r^s))+a[8]+1770035416)<<7|t>>>25)+e<<0)^(r=((r+=(e^(s=((s+=(r^t&(e^r))+a[9]-1958414417)<<12|s>>>20)+t<<0)&(t^e))+a[10]-42063)<<17|r>>>15)+s<<0)&(s^t))+a[11]-1990404162)<<22|e>>>10)+r<<0,e=((e+=((t=((t+=(s^e&(r^s))+a[12]+1804603682)<<7|t>>>25)+e<<0)^(r=((r+=(e^(s=((s+=(r^t&(e^r))+a[13]-40341101)<<12|s>>>20)+t<<0)&(t^e))+a[14]-1502002290)<<17|r>>>15)+s<<0)&(s^t))+a[15]+1236535329)<<22|e>>>10)+r<<0,e=((e+=((s=((s+=(e^r&((t=((t+=(r^s&(e^r))+a[1]-165796510)<<5|t>>>27)+e<<0)^e))+a[6]-1069501632)<<9|s>>>23)+t<<0)^t&((r=((r+=(t^e&(s^t))+a[11]+643717713)<<14|r>>>18)+s<<0)^s))+a[0]-373897302)<<20|e>>>12)+r<<0,e=((e+=((s=((s+=(e^r&((t=((t+=(r^s&(e^r))+a[5]-701558691)<<5|t>>>27)+e<<0)^e))+a[10]+38016083)<<9|s>>>23)+t<<0)^t&((r=((r+=(t^e&(s^t))+a[15]-660478335)<<14|r>>>18)+s<<0)^s))+a[4]-405537848)<<20|e>>>12)+r<<0,e=((e+=((s=((s+=(e^r&((t=((t+=(r^s&(e^r))+a[9]+568446438)<<5|t>>>27)+e<<0)^e))+a[14]-1019803690)<<9|s>>>23)+t<<0)^t&((r=((r+=(t^e&(s^t))+a[3]-187363961)<<14|r>>>18)+s<<0)^s))+a[8]+1163531501)<<20|e>>>12)+r<<0,e=((e+=((s=((s+=(e^r&((t=((t+=(r^s&(e^r))+a[13]-1444681467)<<5|t>>>27)+e<<0)^e))+a[2]-51403784)<<9|s>>>23)+t<<0)^t&((r=((r+=(t^e&(s^t))+a[7]+1735328473)<<14|r>>>18)+s<<0)^s))+a[12]-1926607734)<<20|e>>>12)+r<<0,e=((e+=((i=(s=((s+=((o=e^r)^(t=((t+=(o^s)+a[5]-378558)<<4|t>>>28)+e<<0))+a[8]-2022574463)<<11|s>>>21)+t<<0)^t)^(r=((r+=(i^e)+a[11]+1839030562)<<16|r>>>16)+s<<0))+a[14]-35309556)<<23|e>>>9)+r<<0,e=((e+=((i=(s=((s+=((o=e^r)^(t=((t+=(o^s)+a[1]-1530992060)<<4|t>>>28)+e<<0))+a[4]+1272893353)<<11|s>>>21)+t<<0)^t)^(r=((r+=(i^e)+a[7]-155497632)<<16|r>>>16)+s<<0))+a[10]-1094730640)<<23|e>>>9)+r<<0,e=((e+=((i=(s=((s+=((o=e^r)^(t=((t+=(o^s)+a[13]+681279174)<<4|t>>>28)+e<<0))+a[0]-358537222)<<11|s>>>21)+t<<0)^t)^(r=((r+=(i^e)+a[3]-722521979)<<16|r>>>16)+s<<0))+a[6]+76029189)<<23|e>>>9)+r<<0,e=((e+=((i=(s=((s+=((o=e^r)^(t=((t+=(o^s)+a[9]-640364487)<<4|t>>>28)+e<<0))+a[12]-421815835)<<11|s>>>21)+t<<0)^t)^(r=((r+=(i^e)+a[15]+530742520)<<16|r>>>16)+s<<0))+a[2]-995338651)<<23|e>>>9)+r<<0,e=((e+=((s=((s+=(e^((t=((t+=(r^(e|~s))+a[0]-198630844)<<6|t>>>26)+e<<0)|~r))+a[7]+1126891415)<<10|s>>>22)+t<<0)^((r=((r+=(t^(s|~e))+a[14]-1416354905)<<15|r>>>17)+s<<0)|~t))+a[5]-57434055)<<21|e>>>11)+r<<0,e=((e+=((s=((s+=(e^((t=((t+=(r^(e|~s))+a[12]+1700485571)<<6|t>>>26)+e<<0)|~r))+a[3]-1894986606)<<10|s>>>22)+t<<0)^((r=((r+=(t^(s|~e))+a[10]-1051523)<<15|r>>>17)+s<<0)|~t))+a[1]-2054922799)<<21|e>>>11)+r<<0,e=((e+=((s=((s+=(e^((t=((t+=(r^(e|~s))+a[8]+1873313359)<<6|t>>>26)+e<<0)|~r))+a[15]-30611744)<<10|s>>>22)+t<<0)^((r=((r+=(t^(s|~e))+a[6]-1560198380)<<15|r>>>17)+s<<0)|~t))+a[13]+1309151649)<<21|e>>>11)+r<<0,e=((e+=((s=((s+=(e^((t=((t+=(r^(e|~s))+a[4]-145523070)<<6|t>>>26)+e<<0)|~r))+a[11]-1120210379)<<10|s>>>22)+t<<0)^((r=((r+=(t^(s|~e))+a[2]+718787259)<<15|r>>>17)+s<<0)|~t))+a[9]-343485551)<<21|e>>>11)+r<<0,this.first?(this.h0=t+1732584193<<0,this.h1=e-271733879<<0,this.h2=r-1732584194<<0,this.h3=s+271733878<<0,this.first=!1):(this.h0=this.h0+t<<0,this.h1=this.h1+e<<0,this.h2=this.h2+r<<0,this.h3=this.h3+s<<0)},Md5.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,r=this.h2,s=this.h3;return HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[s>>4&15]+HEX_CHARS[15&s]+HEX_CHARS[s>>12&15]+HEX_CHARS[s>>8&15]+HEX_CHARS[s>>20&15]+HEX_CHARS[s>>16&15]+HEX_CHARS[s>>28&15]+HEX_CHARS[s>>24&15]},Md5.prototype.toString=Md5.prototype.hex,Md5.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,r=this.h2,s=this.h3;return[255&t,t>>8&255,t>>16&255,t>>24&255,255&e,e>>8&255,e>>16&255,e>>24&255,255&r,r>>8&255,r>>16&255,r>>24&255,255&s,s>>8&255,s>>16&255,s>>24&255]},Md5.prototype.array=Md5.prototype.digest,Md5.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(16),e=new Uint32Array(t);return e[0]=this.h0,e[1]=this.h1,e[2]=this.h2,e[3]=this.h3,t},Md5.prototype.buffer=Md5.prototype.arrayBuffer,Md5.prototype.base64=function(){for(var t,e,r,s="",o=this.array(),i=0;i<15;)t=o[i++],e=o[i++],r=o[i++],s+=BASE64_ENCODE_CHAR[t>>>2]+BASE64_ENCODE_CHAR[63&(t<<4|e>>>4)]+BASE64_ENCODE_CHAR[63&(e<<2|r>>>6)]+BASE64_ENCODE_CHAR[63&r];return t=o[i],s+=BASE64_ENCODE_CHAR[t>>>2]+BASE64_ENCODE_CHAR[t<<4&63]+"=="};var exports=createMethod();COMMON_JS?module.exports=exports:(root.md5=exports,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))}()}).call(exports,__webpack_require__("W2nU"),__webpack_require__("DuR2"))},"T+/8":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=r("jvWE"),o=r("LlAa"),i=r("TUB1"),a=r("P9l9"),n=r("NC6I"),h=r.n(n),f={name:"Login",data:function(){return{windowH:window.screen.availHeight-104+"px",loginForm:{userName:"",password:"",checked:!1},rules:{userName:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}]}}},mounted:function(){this.getUserInfo()},methods:{toRouterView:function(t){this.$router.push({path:t.path})},submitForm:Object(s.a)(function(t){var e=this;e.$refs[t].validate(function(t){if(!t)return!1;e.postPassLogin()})},500),postPassLogin:function(){var t=this,e={userName:t.loginForm.userName,password:h()(t.loginForm.password)};Object(a.b)("/gateway-manage/login",e).then(function(e){var r=e.data;if("0000"==r.code)return i.a.showmsg("登录成功","success"),t.$router.push("/overview"),!1;o.a.errorMsg(r)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getUserInfo:function(){var t=this;Object(a.b)("/gateway-manage/get-login-userInfo",{}).then(function(e){if("0000"==e.data.code)return i.a.showmsg("用户已登录","success"),void t.$router.push("/overview")}).catch(function(t){})}}},c={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"login-wrap",staticStyle:{height:"100vh"}},[t._m(0),t._v(" "),r("section",[r("div",{staticClass:"login-wrap-body"},[r("div",{staticClass:"login-wrap-form"},[r("div",{staticClass:"form-title font-24 color-303133 text-center"},[t._v("\n          登录\n        ")]),t._v(" "),r("el-form",{ref:"loginForm",staticClass:"loginForm",attrs:{model:t.loginForm,rules:t.rules}},[r("el-form-item",{attrs:{label:"",prop:"userName"}},[r("el-input",{staticClass:"w-318",attrs:{"prefix-icon":"iconfont iconzhanghao",placeholder:"请输入账号"},model:{value:t.loginForm.userName,callback:function(e){t.$set(t.loginForm,"userName",e)},expression:"loginForm.userName"}})],1),t._v(" "),r("el-form-item",{attrs:{label:"",prop:"password"}},[r("el-input",{staticClass:"w-318",attrs:{"prefix-icon":"iconfont iconmima",type:"password",placeholder:"请输入密码"},model:{value:t.loginForm.password,callback:function(e){t.$set(t.loginForm,"password",e)},expression:"loginForm.password"}})],1),t._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submitForm("loginForm")}}},[t._v("\n              登录\n            ")])],1)],1)],1)])]),t._v(" "),r("div",{staticClass:"login-footer font-12 color-909399"},[t._v("\n    Copyright "+t._s((new Date).getFullYear())+" Demogic.com All Rights Reserved 浙ICP备15033117号-1\n  ")])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("header",[e("div",{staticClass:"login-wrap-header"},[e("img",{staticClass:"login-wrap-inline",attrs:{src:r("H6Jm"),alt:"logo"}}),this._v(" "),e("span",{staticClass:"login-wrap-inline"},[this._v("API网关管理后台")])])])}]};var u=r("VU/8")(f,c,!1,function(t){r("JCi+")},"data-v-9ecc8f3c",null);e.default=u.exports},nErl:function(t,e){(function(e){t.exports=e}).call(e,{})}});