userManager.da4b863c.js 23 KB

123456789
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["userManager"],{"392a":function(t,e,h){t.exports={menuBg:"#152d3d",menuText:"#a7b1c2",menuActiveText:"#fff"}},"3c35":function(t,e){(function(e){t.exports=e}).call(this,{})},"41f7":function(t,e,h){},"56f1":function(t,e,h){t.exports=h.p+"static/img/logo-text.c1535813.png"},"642f":function(t,e,h){"use strict";h("392a")},"7b80":function(t,e,h){"use strict";h("41f7")},"9ed6":function(t,e,h){"use strict";h.r(e);var i=h("1da1"),s=(h("99af"),h("96cf"),h("7a23")),r=h("56f1"),n=h.n(r),o=h("0613"),a=h("6c02"),c=h("2f0c");function l(){return Object(c.a)({url:"api/common/uuid"})}var u={class:"login-container"},f={class:"login-card"},d=function(t){return Object(s.pushScopeId)("data-v-9f80de32"),t=t(),Object(s.popScopeId)(),t}((function(){return Object(s.createElementVNode)("div",{class:"title"},[Object(s.createElementVNode)("img",{src:n.a})],-1)})),p={class:"content"},b={class:"svg-container"},m={class:"svg-container"},y={class:"svg-container"},v={class:"show-code"},w=["src"],O=Object(s.createTextVNode)(" 登录 "),j=Object(s.defineComponent)({setup:function(t){var e=h("ccc2"),r=Object(a.d)(),n=Object(s.ref)(),c=Object(s.ref)(),j=Object(s.ref)(""),g=Object(s.ref)(""),x=Object(s.reactive)({username:"admin",password:"test",code:""}),_=Object(s.reactive)({username:[{required:!0,message:"请输入用户名",trigger:"blur"},{min:4,max:18,message:"长度在 4 到 18 个字符",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"},{min:4,max:18,message:"长度在 4 到 18 个字符",trigger:"blur"}],code:[{required:!0,message:"请输入验证码",trigger:"blur"}]}),V=Object(s.ref)(!1),A=Object(s.ref)("password"),N=function(){"password"===A.value?A.value="":A.value="password"},k=function(){n.value.validate(function(){var t=Object(i.a)(regeneratorRuntime.mark((function t(h){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!h){t.next=5;break}V.value=!0,o.a.dispatch("user/login",{loginId:x.username,userPsw:e(x.username+x.password),validateCode:x.code,sid:g.value}).then((function(){V.value=!1,r.push({path:"/"}).catch((function(t){console.warn(t)}))})).catch((function(){V.value=!1,B()})),t.next=6;break;case 5:return t.abrupt("return",!1);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},B=function(){x.code="",j.value="/captcha/captchaImg?sid=".concat(g.value,"&t=").concat((new Date).getTime())};return Object(s.onMounted)(Object(i.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l().then(function(){var t=Object(i.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:g.value=e,B();case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){console.warn(t)}));case 2:case"end":return t.stop()}}),t)})))),function(t,e){var h=Object(s.resolveComponent)("svg-icon"),i=Object(s.resolveComponent)("el-input"),r=Object(s.resolveComponent)("el-form-item"),o=Object(s.resolveComponent)("el-button"),a=Object(s.resolveComponent)("el-form");return Object(s.openBlock)(),Object(s.createElementBlock)("div",u,[Object(s.createElementVNode)("div",f,[d,Object(s.createElementVNode)("div",p,[Object(s.createVNode)(a,{ref:function(t,e){e.IloginFormDom=t,n.value=t},model:Object(s.unref)(x),rules:Object(s.unref)(_),"auto-complete":"on","label-position":"left",onKeyup:Object(s.withKeys)(k,["enter"])},{default:Object(s.withCtx)((function(){return[Object(s.createVNode)(r,{prop:"username"},{default:Object(s.withCtx)((function(){return[Object(s.createElementVNode)("span",b,[Object(s.createVNode)(h,{name:"user"})]),Object(s.createVNode)(i,{ref:function(t,e){e.userNameDom=t},modelValue:Object(s.unref)(x).username,"onUpdate:modelValue":e[0]||(e[0]=function(t){return Object(s.unref)(x).username=t}),placeholder:"用户名",name:"username",type:"text",tabindex:"1",maxlength:"30","auto-complete":"off"},null,8,["modelValue"])]})),_:1}),Object(s.createVNode)(r,{prop:"password"},{default:Object(s.withCtx)((function(){return[Object(s.createElementVNode)("span",m,[Object(s.createVNode)(h,{name:"password"})]),Object(s.createVNode)(i,{key:A.value,ref:function(t,e){e.passwordDom=t,c.value=t},modelValue:Object(s.unref)(x).password,"onUpdate:modelValue":e[1]||(e[1]=function(t){return Object(s.unref)(x).password=t}),type:A.value,placeholder:"密码",name:"password",tabindex:"2",maxlength:"30","auto-complete":"off"},null,8,["modelValue","type"]),Object(s.createElementVNode)("span",{class:"show-pwd",onClick:N},[Object(s.createVNode)(h,{name:"password"===A.value?"eye":"eye-open"},null,8,["name"])])]})),_:1}),Object(s.createVNode)(r,{prop:"code"},{default:Object(s.withCtx)((function(){return[Object(s.createElementVNode)("span",y,[Object(s.createVNode)(h,{name:"table"})]),Object(s.createVNode)(i,{ref:function(t,e){e.codeDom=t},modelValue:Object(s.unref)(x).code,"onUpdate:modelValue":e[2]||(e[2]=function(t){return Object(s.unref)(x).code=t}),placeholder:"验证码",name:"code",type:"text",tabindex:"3",maxlength:"4","auto-complete":"off"},null,8,["modelValue"]),Object(s.createElementVNode)("span",v,[Object(s.createElementVNode)("img",{style:{opacity:"0.95",width:"132px",height:"52px",background:"#f4def6","border-radius-topright":"4px","border-radius-bottomright":"4px","border-left":"1px solid #DDDDDD"},src:j.value,alt:"验证码",title:"点击刷新验证码",onClick:B},null,8,w)])]})),_:1}),Object(s.createVNode)(o,{class:"login-btn",loading:V.value,type:"primary",onClick:Object(s.withModifiers)(k,["prevent"])},{default:Object(s.withCtx)((function(){return[O]})),_:1},8,["loading","onClick"])]})),_:1},8,["model","rules","onKeyup"])])])])}}});h("7b80"),h("642f"),j.__scopeId="data-v-9f80de32",e.default=j},ccc2:function(t,e,h){(function(e,i){var s;
  2. /*
  3. * [js-sha512]{@link https://github.com/emn178/js-sha512}
  4. *
  5. * @version 0.8.0
  6. * @author Chen, Yi-Cyuan [emn178@gmail.com]
  7. * @copyright Chen, Yi-Cyuan 2014-2018
  8. * @license MIT
  9. */!function(){"use strict";var r="input is invalid type",n="object"==typeof window,o=n?window:{};o.JS_SHA512_NO_WINDOW&&(n=!1);var a=!n&&"object"==typeof self;!o.JS_SHA512_NO_NODE_JS&&"object"==typeof e&&e.versions&&e.versions.node?o=i:a&&(o=self);var c=!o.JS_SHA512_NO_COMMON_JS&&"object"==typeof t&&t.exports,l=h("3c35"),u=!o.JS_SHA512_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,f="0123456789abcdef".split(""),d=[-2147483648,8388608,32768,128],p=[24,16,8,0],b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],m=["hex","array","digest","arrayBuffer"],y=[];!o.JS_SHA512_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!u||!o.JS_SHA512_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var v=function(t,e){return function(h){return new g(e,!0).update(h)[t]()}},w=function(t){var e=v("hex",t);e.create=function(){return new g(t)},e.update=function(t){return e.create().update(t)};for(var h=0;h<m.length;++h){var i=m[h];e[i]=v(i,t)}return e},O=function(t,e){return function(h,i){return new x(h,e,!0).update(i)[t]()}},j=function(t){var e=O("hex",t);e.create=function(e){return new x(e,t)},e.update=function(t,h){return e.create(t).update(h)};for(var h=0;h<m.length;++h){var i=m[h];e[i]=O(i,t)}return e};function g(t,e){e?(y[0]=y[1]=y[2]=y[3]=y[4]=y[5]=y[6]=y[7]=y[8]=y[9]=y[10]=y[11]=y[12]=y[13]=y[14]=y[15]=y[16]=y[17]=y[18]=y[19]=y[20]=y[21]=y[22]=y[23]=y[24]=y[25]=y[26]=y[27]=y[28]=y[29]=y[30]=y[31]=y[32]=0,this.blocks=y):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],384==t?(this.h0h=3418070365,this.h0l=3238371032,this.h1h=1654270250,this.h1l=914150663,this.h2h=2438529370,this.h2l=812702999,this.h3h=355462360,this.h3l=4144912697,this.h4h=1731405415,this.h4l=4290775857,this.h5h=2394180231,this.h5l=1750603025,this.h6h=3675008525,this.h6l=1694076839,this.h7h=1203062813,this.h7l=3204075428):256==t?(this.h0h=573645204,this.h0l=4230739756,this.h1h=2673172387,this.h1l=3360449730,this.h2h=596883563,this.h2l=1867755857,this.h3h=2520282905,this.h3l=1497426621,this.h4h=2519219938,this.h4l=2827943907,this.h5h=3193839141,this.h5l=1401305490,this.h6h=721525244,this.h6l=746961066,this.h7h=246885852,this.h7l=2177182882):224==t?(this.h0h=2352822216,this.h0l=424955298,this.h1h=1944164710,this.h1l=2312950998,this.h2h=502970286,this.h2l=855612546,this.h3h=1738396948,this.h3l=1479516111,this.h4h=258812777,this.h4l=2077511080,this.h5h=2011393907,this.h5l=79989058,this.h6h=1067287976,this.h6l=1780299464,this.h7h=286451373,this.h7l=2446758561):(this.h0h=1779033703,this.h0l=4089235720,this.h1h=3144134277,this.h1l=2227873595,this.h2h=1013904242,this.h2l=4271175723,this.h3h=2773480762,this.h3l=1595750129,this.h4h=1359893119,this.h4l=2917565137,this.h5h=2600822924,this.h5l=725511199,this.h6h=528734635,this.h6l=4215389547,this.h7h=1541459225,this.h7l=327033209),this.bits=t,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1}function x(t,e,h){var i,s=typeof t;if("string"!==s){if("object"!==s)throw new Error(r);if(null===t)throw new Error(r);if(u&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||u&&ArrayBuffer.isView(t)))throw new Error(r);i=!0}var n=t.length;if(!i){for(var o,a=[],c=(n=t.length,0),l=0;l<n;++l)(o=t.charCodeAt(l))<128?a[c++]=o:o<2048?(a[c++]=192|o>>6,a[c++]=128|63&o):o<55296||o>=57344?(a[c++]=224|o>>12,a[c++]=128|o>>6&63,a[c++]=128|63&o):(o=65536+((1023&o)<<10|1023&t.charCodeAt(++l)),a[c++]=240|o>>18,a[c++]=128|o>>12&63,a[c++]=128|o>>6&63,a[c++]=128|63&o);t=a}t.length>128&&(t=new g(e,!0).update(t).array());var f=[],d=[];for(l=0;l<128;++l){var p=t[l]||0;f[l]=92^p,d[l]=54^p}g.call(this,e,h),this.update(d),this.oKeyPad=f,this.inner=!0,this.sharedMemory=h}g.prototype.update=function(t){if(this.finalized)throw new Error("finalize already called");var e,h=typeof t;if("string"!==h){if("object"!==h)throw new Error(r);if(null===t)throw new Error(r);if(u&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||u&&ArrayBuffer.isView(t)))throw new Error(r);e=!0}for(var i,s,n=0,o=t.length,a=this.blocks;n<o;){if(this.hashed&&(this.hashed=!1,a[0]=this.block,a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=a[16]=a[17]=a[18]=a[19]=a[20]=a[21]=a[22]=a[23]=a[24]=a[25]=a[26]=a[27]=a[28]=a[29]=a[30]=a[31]=a[32]=0),e)for(s=this.start;n<o&&s<128;++n)a[s>>2]|=t[n]<<p[3&s++];else for(s=this.start;n<o&&s<128;++n)(i=t.charCodeAt(n))<128?a[s>>2]|=i<<p[3&s++]:i<2048?(a[s>>2]|=(192|i>>6)<<p[3&s++],a[s>>2]|=(128|63&i)<<p[3&s++]):i<55296||i>=57344?(a[s>>2]|=(224|i>>12)<<p[3&s++],a[s>>2]|=(128|i>>6&63)<<p[3&s++],a[s>>2]|=(128|63&i)<<p[3&s++]):(i=65536+((1023&i)<<10|1023&t.charCodeAt(++n)),a[s>>2]|=(240|i>>18)<<p[3&s++],a[s>>2]|=(128|i>>12&63)<<p[3&s++],a[s>>2]|=(128|i>>6&63)<<p[3&s++],a[s>>2]|=(128|63&i)<<p[3&s++]);this.lastByteIndex=s,this.bytes+=s-this.start,s>=128?(this.block=a[32],this.start=s-128,this.hash(),this.hashed=!0):this.start=s}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this},g.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[32]=this.block,t[e>>2]|=d[3&e],this.block=t[32],e>=112&&(this.hashed||this.hash(),t[0]=this.block,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]=t[16]=t[17]=t[18]=t[19]=t[20]=t[21]=t[22]=t[23]=t[24]=t[25]=t[26]=t[27]=t[28]=t[29]=t[30]=t[31]=t[32]=0),t[30]=this.hBytes<<3|this.bytes>>>29,t[31]=this.bytes<<3,this.hash()}},g.prototype.hash=function(){var t,e,h,i,s,r,n,o,a,c,l,u,f,d,p,m,y,v,w,O,j,g,x,_,V,A=this.h0h,N=this.h0l,k=this.h1h,B=this.h1l,E=this.h2h,U=this.h2l,C=this.h3h,S=this.h3l,D=this.h4h,z=this.h4l,I=this.h5h,R=this.h5l,J=this.h6h,K=this.h6l,M=this.h7h,T=this.h7l,H=this.blocks;for(t=32;t<160;t+=2)e=((O=H[t-30])>>>1|(j=H[t-29])<<31)^(O>>>8|j<<24)^O>>>7,h=(j>>>1|O<<31)^(j>>>8|O<<24)^(j>>>7|O<<25),i=((O=H[t-4])>>>19|(j=H[t-3])<<13)^(j>>>29|O<<3)^O>>>6,s=(j>>>19|O<<13)^(O>>>29|j<<3)^(j>>>6|O<<26),O=H[t-32],j=H[t-31],a=((g=H[t-14])>>>16)+(O>>>16)+(e>>>16)+(i>>>16)+((o=(65535&g)+(65535&O)+(65535&e)+(65535&i)+((n=((x=H[t-13])>>>16)+(j>>>16)+(h>>>16)+(s>>>16)+((r=(65535&x)+(65535&j)+(65535&h)+(65535&s))>>>16))>>>16))>>>16),H[t]=a<<16|65535&o,H[t+1]=n<<16|65535&r;var P=A,F=N,q=k,W=B,Y=E,G=U,L=C,Q=S,X=D,Z=z,$=I,tt=R,et=J,ht=K,it=M,st=T;for(m=q&Y,y=W&G,t=0;t<160;t+=8)e=(P>>>28|F<<4)^(F>>>2|P<<30)^(F>>>7|P<<25),h=(F>>>28|P<<4)^(P>>>2|F<<30)^(P>>>7|F<<25),i=(X>>>14|Z<<18)^(X>>>18|Z<<14)^(Z>>>9|X<<23),s=(Z>>>14|X<<18)^(Z>>>18|X<<14)^(X>>>9|Z<<23),v=(c=P&q)^P&Y^m,w=(l=F&W)^F&G^y,_=X&$^~X&et,V=Z&tt^~Z&ht,O=H[t],j=H[t+1],O=(a=((g=b[t])>>>16)+(O>>>16)+(_>>>16)+(i>>>16)+(it>>>16)+((o=(65535&g)+(65535&O)+(65535&_)+(65535&i)+(65535&it)+((n=((x=b[t+1])>>>16)+(j>>>16)+(V>>>16)+(s>>>16)+(st>>>16)+((r=(65535&x)+(65535&j)+(65535&V)+(65535&s)+(65535&st))>>>16))>>>16))>>>16))<<16|65535&o,j=n<<16|65535&r,g=(a=(v>>>16)+(e>>>16)+((o=(65535&v)+(65535&e)+((n=(w>>>16)+(h>>>16)+((r=(65535&w)+(65535&h))>>>16))>>>16))>>>16))<<16|65535&o,x=n<<16|65535&r,it=(a=(L>>>16)+(O>>>16)+((o=(65535&L)+(65535&O)+((n=(Q>>>16)+(j>>>16)+((r=(65535&Q)+(65535&j))>>>16))>>>16))>>>16))<<16|65535&o,st=n<<16|65535&r,e=((L=(a=(g>>>16)+(O>>>16)+((o=(65535&g)+(65535&O)+((n=(x>>>16)+(j>>>16)+((r=(65535&x)+(65535&j))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(Q=n<<16|65535&r)<<4)^(Q>>>2|L<<30)^(Q>>>7|L<<25),h=(Q>>>28|L<<4)^(L>>>2|Q<<30)^(L>>>7|Q<<25),i=(it>>>14|st<<18)^(it>>>18|st<<14)^(st>>>9|it<<23),s=(st>>>14|it<<18)^(st>>>18|it<<14)^(it>>>9|st<<23),v=(u=L&P)^L&q^c,w=(f=Q&F)^Q&W^l,_=it&X^~it&$,V=st&Z^~st&tt,O=H[t+2],j=H[t+3],O=(a=((g=b[t+2])>>>16)+(O>>>16)+(_>>>16)+(i>>>16)+(et>>>16)+((o=(65535&g)+(65535&O)+(65535&_)+(65535&i)+(65535&et)+((n=((x=b[t+3])>>>16)+(j>>>16)+(V>>>16)+(s>>>16)+(ht>>>16)+((r=(65535&x)+(65535&j)+(65535&V)+(65535&s)+(65535&ht))>>>16))>>>16))>>>16))<<16|65535&o,j=n<<16|65535&r,g=(a=(v>>>16)+(e>>>16)+((o=(65535&v)+(65535&e)+((n=(w>>>16)+(h>>>16)+((r=(65535&w)+(65535&h))>>>16))>>>16))>>>16))<<16|65535&o,x=n<<16|65535&r,et=(a=(Y>>>16)+(O>>>16)+((o=(65535&Y)+(65535&O)+((n=(G>>>16)+(j>>>16)+((r=(65535&G)+(65535&j))>>>16))>>>16))>>>16))<<16|65535&o,ht=n<<16|65535&r,e=((Y=(a=(g>>>16)+(O>>>16)+((o=(65535&g)+(65535&O)+((n=(x>>>16)+(j>>>16)+((r=(65535&x)+(65535&j))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(G=n<<16|65535&r)<<4)^(G>>>2|Y<<30)^(G>>>7|Y<<25),h=(G>>>28|Y<<4)^(Y>>>2|G<<30)^(Y>>>7|G<<25),i=(et>>>14|ht<<18)^(et>>>18|ht<<14)^(ht>>>9|et<<23),s=(ht>>>14|et<<18)^(ht>>>18|et<<14)^(et>>>9|ht<<23),v=(d=Y&L)^Y&P^u,w=(p=G&Q)^G&F^f,_=et&it^~et&X,V=ht&st^~ht&Z,O=H[t+4],j=H[t+5],O=(a=((g=b[t+4])>>>16)+(O>>>16)+(_>>>16)+(i>>>16)+($>>>16)+((o=(65535&g)+(65535&O)+(65535&_)+(65535&i)+(65535&$)+((n=((x=b[t+5])>>>16)+(j>>>16)+(V>>>16)+(s>>>16)+(tt>>>16)+((r=(65535&x)+(65535&j)+(65535&V)+(65535&s)+(65535&tt))>>>16))>>>16))>>>16))<<16|65535&o,j=n<<16|65535&r,g=(a=(v>>>16)+(e>>>16)+((o=(65535&v)+(65535&e)+((n=(w>>>16)+(h>>>16)+((r=(65535&w)+(65535&h))>>>16))>>>16))>>>16))<<16|65535&o,x=n<<16|65535&r,$=(a=(q>>>16)+(O>>>16)+((o=(65535&q)+(65535&O)+((n=(W>>>16)+(j>>>16)+((r=(65535&W)+(65535&j))>>>16))>>>16))>>>16))<<16|65535&o,tt=n<<16|65535&r,e=((q=(a=(g>>>16)+(O>>>16)+((o=(65535&g)+(65535&O)+((n=(x>>>16)+(j>>>16)+((r=(65535&x)+(65535&j))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(W=n<<16|65535&r)<<4)^(W>>>2|q<<30)^(W>>>7|q<<25),h=(W>>>28|q<<4)^(q>>>2|W<<30)^(q>>>7|W<<25),i=($>>>14|tt<<18)^($>>>18|tt<<14)^(tt>>>9|$<<23),s=(tt>>>14|$<<18)^(tt>>>18|$<<14)^($>>>9|tt<<23),v=(m=q&Y)^q&L^d,w=(y=W&G)^W&Q^p,_=$&et^~$&it,V=tt&ht^~tt&st,O=H[t+6],j=H[t+7],O=(a=((g=b[t+6])>>>16)+(O>>>16)+(_>>>16)+(i>>>16)+(X>>>16)+((o=(65535&g)+(65535&O)+(65535&_)+(65535&i)+(65535&X)+((n=((x=b[t+7])>>>16)+(j>>>16)+(V>>>16)+(s>>>16)+(Z>>>16)+((r=(65535&x)+(65535&j)+(65535&V)+(65535&s)+(65535&Z))>>>16))>>>16))>>>16))<<16|65535&o,j=n<<16|65535&r,g=(a=(v>>>16)+(e>>>16)+((o=(65535&v)+(65535&e)+((n=(w>>>16)+(h>>>16)+((r=(65535&w)+(65535&h))>>>16))>>>16))>>>16))<<16|65535&o,x=n<<16|65535&r,X=(a=(P>>>16)+(O>>>16)+((o=(65535&P)+(65535&O)+((n=(F>>>16)+(j>>>16)+((r=(65535&F)+(65535&j))>>>16))>>>16))>>>16))<<16|65535&o,Z=n<<16|65535&r,P=(a=(g>>>16)+(O>>>16)+((o=(65535&g)+(65535&O)+((n=(x>>>16)+(j>>>16)+((r=(65535&x)+(65535&j))>>>16))>>>16))>>>16))<<16|65535&o,F=n<<16|65535&r;a=(A>>>16)+(P>>>16)+((o=(65535&A)+(65535&P)+((n=(N>>>16)+(F>>>16)+((r=(65535&N)+(65535&F))>>>16))>>>16))>>>16),this.h0h=a<<16|65535&o,this.h0l=n<<16|65535&r,a=(k>>>16)+(q>>>16)+((o=(65535&k)+(65535&q)+((n=(B>>>16)+(W>>>16)+((r=(65535&B)+(65535&W))>>>16))>>>16))>>>16),this.h1h=a<<16|65535&o,this.h1l=n<<16|65535&r,a=(E>>>16)+(Y>>>16)+((o=(65535&E)+(65535&Y)+((n=(U>>>16)+(G>>>16)+((r=(65535&U)+(65535&G))>>>16))>>>16))>>>16),this.h2h=a<<16|65535&o,this.h2l=n<<16|65535&r,a=(C>>>16)+(L>>>16)+((o=(65535&C)+(65535&L)+((n=(S>>>16)+(Q>>>16)+((r=(65535&S)+(65535&Q))>>>16))>>>16))>>>16),this.h3h=a<<16|65535&o,this.h3l=n<<16|65535&r,a=(D>>>16)+(X>>>16)+((o=(65535&D)+(65535&X)+((n=(z>>>16)+(Z>>>16)+((r=(65535&z)+(65535&Z))>>>16))>>>16))>>>16),this.h4h=a<<16|65535&o,this.h4l=n<<16|65535&r,a=(I>>>16)+($>>>16)+((o=(65535&I)+(65535&$)+((n=(R>>>16)+(tt>>>16)+((r=(65535&R)+(65535&tt))>>>16))>>>16))>>>16),this.h5h=a<<16|65535&o,this.h5l=n<<16|65535&r,a=(J>>>16)+(et>>>16)+((o=(65535&J)+(65535&et)+((n=(K>>>16)+(ht>>>16)+((r=(65535&K)+(65535&ht))>>>16))>>>16))>>>16),this.h6h=a<<16|65535&o,this.h6l=n<<16|65535&r,a=(M>>>16)+(it>>>16)+((o=(65535&M)+(65535&it)+((n=(T>>>16)+(st>>>16)+((r=(65535&T)+(65535&st))>>>16))>>>16))>>>16),this.h7h=a<<16|65535&o,this.h7l=n<<16|65535&r},g.prototype.hex=function(){this.finalize();var t=this.h0h,e=this.h0l,h=this.h1h,i=this.h1l,s=this.h2h,r=this.h2l,n=this.h3h,o=this.h3l,a=this.h4h,c=this.h4l,l=this.h5h,u=this.h5l,d=this.h6h,p=this.h6l,b=this.h7h,m=this.h7l,y=this.bits,v=f[t>>28&15]+f[t>>24&15]+f[t>>20&15]+f[t>>16&15]+f[t>>12&15]+f[t>>8&15]+f[t>>4&15]+f[15&t]+f[e>>28&15]+f[e>>24&15]+f[e>>20&15]+f[e>>16&15]+f[e>>12&15]+f[e>>8&15]+f[e>>4&15]+f[15&e]+f[h>>28&15]+f[h>>24&15]+f[h>>20&15]+f[h>>16&15]+f[h>>12&15]+f[h>>8&15]+f[h>>4&15]+f[15&h]+f[i>>28&15]+f[i>>24&15]+f[i>>20&15]+f[i>>16&15]+f[i>>12&15]+f[i>>8&15]+f[i>>4&15]+f[15&i]+f[s>>28&15]+f[s>>24&15]+f[s>>20&15]+f[s>>16&15]+f[s>>12&15]+f[s>>8&15]+f[s>>4&15]+f[15&s]+f[r>>28&15]+f[r>>24&15]+f[r>>20&15]+f[r>>16&15]+f[r>>12&15]+f[r>>8&15]+f[r>>4&15]+f[15&r]+f[n>>28&15]+f[n>>24&15]+f[n>>20&15]+f[n>>16&15]+f[n>>12&15]+f[n>>8&15]+f[n>>4&15]+f[15&n];return y>=256&&(v+=f[o>>28&15]+f[o>>24&15]+f[o>>20&15]+f[o>>16&15]+f[o>>12&15]+f[o>>8&15]+f[o>>4&15]+f[15&o]),y>=384&&(v+=f[a>>28&15]+f[a>>24&15]+f[a>>20&15]+f[a>>16&15]+f[a>>12&15]+f[a>>8&15]+f[a>>4&15]+f[15&a]+f[c>>28&15]+f[c>>24&15]+f[c>>20&15]+f[c>>16&15]+f[c>>12&15]+f[c>>8&15]+f[c>>4&15]+f[15&c]+f[l>>28&15]+f[l>>24&15]+f[l>>20&15]+f[l>>16&15]+f[l>>12&15]+f[l>>8&15]+f[l>>4&15]+f[15&l]+f[u>>28&15]+f[u>>24&15]+f[u>>20&15]+f[u>>16&15]+f[u>>12&15]+f[u>>8&15]+f[u>>4&15]+f[15&u]),512==y&&(v+=f[d>>28&15]+f[d>>24&15]+f[d>>20&15]+f[d>>16&15]+f[d>>12&15]+f[d>>8&15]+f[d>>4&15]+f[15&d]+f[p>>28&15]+f[p>>24&15]+f[p>>20&15]+f[p>>16&15]+f[p>>12&15]+f[p>>8&15]+f[p>>4&15]+f[15&p]+f[b>>28&15]+f[b>>24&15]+f[b>>20&15]+f[b>>16&15]+f[b>>12&15]+f[b>>8&15]+f[b>>4&15]+f[15&b]+f[m>>28&15]+f[m>>24&15]+f[m>>20&15]+f[m>>16&15]+f[m>>12&15]+f[m>>8&15]+f[m>>4&15]+f[15&m]),v},g.prototype.toString=g.prototype.hex,g.prototype.digest=function(){this.finalize();var t=this.h0h,e=this.h0l,h=this.h1h,i=this.h1l,s=this.h2h,r=this.h2l,n=this.h3h,o=this.h3l,a=this.h4h,c=this.h4l,l=this.h5h,u=this.h5l,f=this.h6h,d=this.h6l,p=this.h7h,b=this.h7l,m=this.bits,y=[t>>24&255,t>>16&255,t>>8&255,255&t,e>>24&255,e>>16&255,e>>8&255,255&e,h>>24&255,h>>16&255,h>>8&255,255&h,i>>24&255,i>>16&255,i>>8&255,255&i,s>>24&255,s>>16&255,s>>8&255,255&s,r>>24&255,r>>16&255,r>>8&255,255&r,n>>24&255,n>>16&255,n>>8&255,255&n];return m>=256&&y.push(o>>24&255,o>>16&255,o>>8&255,255&o),m>=384&&y.push(a>>24&255,a>>16&255,a>>8&255,255&a,c>>24&255,c>>16&255,c>>8&255,255&c,l>>24&255,l>>16&255,l>>8&255,255&l,u>>24&255,u>>16&255,u>>8&255,255&u),512==m&&y.push(f>>24&255,f>>16&255,f>>8&255,255&f,d>>24&255,d>>16&255,d>>8&255,255&d,p>>24&255,p>>16&255,p>>8&255,255&p,b>>24&255,b>>16&255,b>>8&255,255&b),y},g.prototype.array=g.prototype.digest,g.prototype.arrayBuffer=function(){this.finalize();var t=this.bits,e=new ArrayBuffer(t/8),h=new DataView(e);return h.setUint32(0,this.h0h),h.setUint32(4,this.h0l),h.setUint32(8,this.h1h),h.setUint32(12,this.h1l),h.setUint32(16,this.h2h),h.setUint32(20,this.h2l),h.setUint32(24,this.h3h),t>=256&&h.setUint32(28,this.h3l),t>=384&&(h.setUint32(32,this.h4h),h.setUint32(36,this.h4l),h.setUint32(40,this.h5h),h.setUint32(44,this.h5l)),512==t&&(h.setUint32(48,this.h6h),h.setUint32(52,this.h6l),h.setUint32(56,this.h7h),h.setUint32(60,this.h7l)),e},g.prototype.clone=function(){var t=new g(this.bits,!1);return this.copyTo(t),t},g.prototype.copyTo=function(t){var e=0,h=["h0h","h0l","h1h","h1l","h2h","h2l","h3h","h3l","h4h","h4l","h5h","h5l","h6h","h6l","h7h","h7l","start","bytes","hBytes","finalized","hashed","lastByteIndex"];for(e=0;e<h.length;++e)t[h[e]]=this[h[e]];for(e=0;e<this.blocks.length;++e)t.blocks[e]=this.blocks[e]},x.prototype=new g,x.prototype.finalize=function(){if(g.prototype.finalize.call(this),this.inner){this.inner=!1;var t=this.array();g.call(this,this.bits,this.sharedMemory),this.update(this.oKeyPad),this.update(t),g.prototype.finalize.call(this)}},x.prototype.clone=function(){var t=new x([],this.bits,!1);this.copyTo(t),t.inner=this.inner;for(var e=0;e<this.oKeyPad.length;++e)t.oKeyPad[e]=this.oKeyPad[e];return t};var _=w(512);_.sha512=_,_.sha384=w(384),_.sha512_256=w(256),_.sha512_224=w(224),_.sha512.hmac=j(512),_.sha384.hmac=j(384),_.sha512_256.hmac=j(256),_.sha512_224.hmac=j(224),c?t.exports=_:(o.sha512=_.sha512,o.sha384=_.sha384,o.sha512_256=_.sha512_256,o.sha512_224=_.sha512_224,l&&(void 0===(s=function(){return _}.call(_,h,_,t))||(t.exports=s)))}()}).call(this,h("4362"),h("c8ba"))}}]);