mirror of https://github.com/6dylan6/jdpro.git
1 line
28 KiB
JavaScript
1 line
28 KiB
JavaScript
!function(){function s(e){var t=e.slice;return e===r||Z(r,e)&&t===r.slice?$:t}var l,R,j,o,K,a,i,U,O,I,q,E,J,X,t,g,k,L,N,x,G,Q,h,T,S,V,Y,e=Function.prototype.bind.bind(Function.prototype.call,Function.prototype.call)({}.isPrototypeOf),n=Array.prototype.slice,Z=e,$=n,r=Array.prototype,n=Array.prototype.splice,ee=e,ae=n,ne=r,n=Array.prototype.concat,re=e,se=n,he=r;function le(e){return(le="function"==typeof el&&"symbol"==typeof yl?function(e){return typeof e}:function(e){return e&&"function"==typeof el&&e.constructor===el&&e!==el.prototype?"symbol":typeof e})(e)}function c(e){switch(e){case 140:return"toString";case 123:return"init";case 129:return"string";case 127:return"JdM3|5"}}function ce(){}e=module,l=["parse","_eData","_data","concat","_nDataBytes","sigBytes","concat"],R=Function.prototype.call,j=[96,67,45,78,83,43,42,88,129,19,2,7,11,64,48,0,90,48,1,78,19,19,59,45,90,61,2,48,3,78,19,45,90,46,61,4,78,61,5,37,86,4,45,94,90,27,81,68,31,0,69,67,16,127,55,55,29,19],e.exports=J=J||(o=Math,K=Object.create||function(e){return ce.prototype=e,e=new ce,ce.prototype=null,e},p=(f={}).lib={},a=p.Base={extend:function(e){var t=c,a=K(this);return e&&a.mixIn(e),a.hasOwnProperty(t(123))&&this.init!==a.init||(a.init=function(){a.$super.init.apply(this,arguments)}),(a.init.prototype=a).$super=this,a},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){var t,a=c;for(t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty(a(140))&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},i=p.WordArray=a.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||U).stringify(this)},concat:function(e){var t=this.words,a=e.words,n=this.sigBytes,r=e.sigBytes;if(this.clamp(),n%4)for(var s=0;s<r;s++){var h=a[s>>>2]>>>24-s%4*8&255;t[n+s>>>2]|=h<<24-(n+s)%4*8}else for(s=0;s<r;s+=4)t[n+s>>>2]=a[s>>>2];return this.sigBytes+=r,this},clamp:function(){var e=this.words,t=this.sigBytes;e[t>>>2]&=4294967295<<32-t%4*8,e.length=o.ceil(t/4)},clone:function(){var e,t=a.clone.call(this);return t.words=s(e=this.words).call(e,0),t},random:function(e){for(var t=[],a=0;a<e;a+=4)t.push(function(){throw new Error("Native crypto module could not be used to get secure random number.")}());return new i.init(t,e)}}),u=f.enc={},U=u.Hex={stringify:function(e){for(var t=e.words,a=e.sigBytes,n=[],r=0;r<a;r++){var s=t[r>>>2]>>>24-r%4*8&255;n.push((s>>>4).toString(16)),n.push((15&s).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,a=[],n=0;n<t;n+=2)a[n>>>3]|=Kk(e.substr(n,2),16)<<24-n%8*4;return new i.init(a,t/2)}},u.Utils={toWordArray:function(e){for(var t=[],a=0;a<e.length;a++)t[a>>>2]|=e[a]<<24-a%4*8;return J.lib.WordArray.create(t,e.length)},fromWordArray:function(e){for(var t=new Uint8Array(e.sigBytes),a=0;a<e.sigBytes;a++)t[a]=e.words[a>>>2]>>>24-a%4*8&255;return t}},O=u.Latin1={stringify:function(e){for(var t=e.words,a=e.sigBytes,n=[],r=0;r<a;r++){var s=t[r>>>2]>>>24-r%4*8&255;n.push(String.fromCharCode(s))}return n.join("")},parse:function(e){for(var t=e.length,a=[],n=0;n<t;n++)a[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new i.init(a,t)}},I=u.Utf8={stringify:function(e){var t=c;try{return decodeURIComponent(escape(O.stringify(e)))}catch(e){throw new Error(t(138))}},parse:function(e){return O.parse(unescape(encodeURIComponent(e)))}},q=p.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new i.init,this._nDataBytes=0},_append:function(e){for(var t,a,n=R,r=j,s=[],h=0;;)switch(r[h++]){case 2:a=s.pop(),s[s.length-1]=s[s.length-1]==a;break;case 7:s[s.length-1]?(++h,--s.length):h+=r[h];break;case 19:s[s.length-3]=null!=s[s.length-2]?n.call(s[s.length-3],s[s.length-2],s[s.length-1]):(a=s[s.length-3])(s[s.length-1]),s.length-=2;break;case 37:a=s.pop(),s[s.length-1]+=a;break;case 42:s.push(null);break;case 43:s.push(t);break;case 45:s.pop();break;case 46:s.push(s[s.length-1]);break;case 48:s.push(s[s.length-1]),s[s.length-2]=s[s.length-2][l[r[h++]]];break;case 59:e=s[s.length-1];break;case 61:s[s.length-1]=s[s.length-1][l[r[h++]]];break;case 64:s.push(I);break;case 67:t=s[s.length-1];break;case 78:s.push(e);break;case 83:s[s.length-1]=le(s[s.length-1]);break;case 86:s[s.length-2][l[r[h++]]]=s[s.length-1],s[s.length-2]=s[s.length-1],s.length--;break;case 88:s.push(r[h++]);break;case 90:s.push(this);break;case 94:return;case 96:s.push(c)}},_process:function(e){var t,a=this._data,n=a.words,r=a.sigBytes,s=this.blockSize,h=r/(4*s),l=(e?o.ceil(h):o.max((0|h)-this._minBufferSize,0))*s,e=o.min(4*l,r);if(l){for(var c=0;c<l;c+=s)this._doProcessBlock(n,c);r=(h=n).splice,t=(h===ne||ee(ne,h)&&r===ne.splice?ae:r).call(n,0,l),a.sigBytes-=e}return new i.init(t,e)},_eData:function(e){for(var t,a=R,n=j,r=[],s=44;;)switch(n[s++]){case 16:r.push(n[s++]);break;case 19:return;case 27:t=r[r.length-1];break;case 29:return r.pop();case 31:r.push(r[r.length-1]),r[r.length-2]=r[r.length-2][l[6+n[s++]]];break;case 55:r[r.length-3]=null!=r[r.length-2]?a.call(r[r.length-3],r[r.length-2],r[r.length-1]):(0,r[r.length-3])(r[r.length-1]),r.length-=2;break;case 67:r.push(null);break;case 68:r.push(e);break;case 69:r.push(t);break;case 81:r.pop();break;case 90:r.push(c)}},clone:function(){var e=a.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),p.Hasher=q.extend({cfg:a.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){q.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(a){return function(e,t){return new a.init(t).finalize(e)}},_createHmacHelper:function(a){return function(e,t){return new E.HMAC.init(a,t).finalize(e)}}}),E=f.algo={},f);var oe=["lastIndexOf","substr","concat"],ie=Function.prototype.call,ge=[72,62,8,90,7,0,44,82,45,467,78,78,60,8,86,45,-5714,45,-4420,43,45,10134,43,39,34,12,90,7,1,44,82,45,467,78,24,78,23,90,7,2,44,82,45,476,78,78,23,68],u=module.exports,ue=Math;function pe(e){switch(e){case 476:return"JdM3|5";case 467:return"envCollect";case 417:return"object";case 421:return"string"}}for(var p=u,be=(f=p.lib).WordArray,b=f.Hasher,f=p.algo,z=[],d=0;d<64;d++)z[d]=4294967296*ue.abs(ue.sin(d+1))|0;function M(e,t,a,n,r,s,h){return((e=e+(t&a|~t&n)+r+h)<<s|e>>>32-s)+t}function W(e,t,a,n,r,s,h){return((e=e+(t&n|a&~n)+r+h)<<s|e>>>32-s)+t}function C(e,t,a,n,r,s,h){return((e=e+(t^a^n)+r+h)<<s|e>>>32-s)+t}function D(e,t,a,n,r,s,h){return((e=e+(a^(t|~n))+r+h)<<s|e>>>32-s)+t}f=f.MD5=b.extend({_doReset:function(){this._hash=new be.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var a=0;a<16;a++){var n=t+a,r=e[n];e[n]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var s=this._hash.words,h=e[t+0],l=e[t+1],c=e[t+2],o=e[t+3],i=e[t+4],g=e[t+5],u=e[t+6],p=e[t+7],b=e[t+8],k=e[t+9],f=e[t+10],d=e[t+11],y=e[t+12],_=e[t+13],w=e[t+14],v=e[t+15],m=M(s[0],H=s[1],B=s[2],A=s[3],h,7,z[0]),A=M(A,m,H,B,l,12,z[1]),B=M(B,A,m,H,c,17,z[2]),H=M(H,B,A,m,o,22,z[3]),m=M(m,H,B,A,i,7,z[4]),A=M(A,m,H,B,g,12,z[5]),B=M(B,A,m,H,u,17,z[6]),H=M(H,B,A,m,p,22,z[7]);m=M(m,H,B,A,b,7,z[8]),A=M(A,m,H,B,k,12,z[9]),B=M(B,A,m,H,f,17,z[10]),H=M(H,B,A,m,d,22,z[11]),m=M(m,H,B,A,y,7,z[12]),A=M(A,m,H,B,_,12,z[13]),B=M(B,A,m,H,w,17,z[14]),m=W(m,H=M(H,B,A,m,v,22,z[15]),B,A,l,5,z[16]),A=W(A,m,H,B,u,9,z[17]),B=W(B,A,m,H,d,14,z[18]),H=W(H,B,A,m,h,20,z[19]),m=W(m,H,B,A,g,5,z[20]),A=W(A,m,H,B,f,9,z[21]),B=W(B,A,m,H,v,14,z[22]),H=W(H,B,A,m,i,20,z[23]),m=W(m,H,B,A,k,5,z[24]),A=W(A,m,H,B,w,9,z[25]),B=W(B,A,m,H,o,14,z[26]),H=W(H,B,A,m,b,20,z[27]),m=W(m,H,B,A,_,5,z[28]),A=W(A,m,H,B,c,9,z[29]),B=W(B,A,m,H,p,14,z[30]),m=C(m,H=W(H,B,A,m,y,20,z[31]),B,A,g,4,z[32]),A=C(A,m,H,B,b,11,z[33]),B=C(B,A,m,H,d,16,z[34]),H=C(H,B,A,m,w,23,z[35]),m=C(m,H,B,A,l,4,z[36]),A=C(A,m,H,B,i,11,z[37]),B=C(B,A,m,H,p,16,z[38]),H=C(H,B,A,m,f,23,z[39]),m=C(m,H,B,A,_,4,z[40]),A=C(A,m,H,B,h,11,z[41]),B=C(B,A,m,H,o,16,z[42]),H=C(H,B,A,m,u,23,z[43]),m=C(m,H,B,A,k,4,z[44]),A=C(A,m,H,B,y,11,z[45]),B=C(B,A,m,H,v,16,z[46]),m=D(m,H=C(H,B,A,m,c,23,z[47]),B,A,h,6,z[48]),A=D(A,m,H,B,p,10,z[49]),B=D(B,A,m,H,w,15,z[50]),H=D(H,B,A,m,g,21,z[51]),m=D(m,H,B,A,y,6,z[52]),A=D(A,m,H,B,o,10,z[53]),B=D(B,A,m,H,f,15,z[54]),H=D(H,B,A,m,l,21,z[55]),m=D(m,H,B,A,b,6,z[56]),A=D(A,m,H,B,v,10,z[57]),B=D(B,A,m,H,u,15,z[58]),H=D(H,B,A,m,_,21,z[59]),m=D(m,H,B,A,i,6,z[60]),A=D(A,m,H,B,d,10,z[61]),B=D(B,A,m,H,c,15,z[62]),H=D(H,B,A,m,k,21,z[63]),s[0]=s[0]+m|0,s[1]=s[1]+H|0,s[2]=s[2]+B|0,s[3]=s[3]+A|0},_doFinalize:function(){var e=this._data,t=e.words,a=8*this._nDataBytes,n=8*e.sigBytes,r=(t[n>>>5]|=128<<24-n%32,ue.floor(a/4294967296));t[15+(64+n>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),t[14+(64+n>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(t.length+1),this._process();for(var s=(r=this._hash).words,h=0;h<4;h++){var l=s[h];s[h]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return r},_eData:function(e){for(var t,a,n,r=ie,s=ge,h=[],l=0;;)switch(s[l++]){case 7:h.push(h[h.length-1]),h[h.length-2]=h[h.length-2][oe[s[l++]]];break;case 8:h.pop();break;case 23:return h.pop();case 24:h[h.length-1]=h[h.length-1].length;break;case 34:h.pop()?++l:l+=s[l];break;case 39:n=h.pop(),h[h.length-1]=h[h.length-1]===n;break;case 43:n=h.pop(),h[h.length-1]+=n;break;case 44:h.push(t);break;case 45:h.push(s[l++]);break;case 60:a=h[h.length-1];break;case 62:t=h[h.length-1];break;case 68:return;case 72:h.push(pe);break;case 78:h[h.length-3]=null!=h[h.length-2]?r.call(h[h.length-3],h[h.length-2],h[h.length-1]):(n=h[h.length-3])(h[h.length-1]),h.length-=2;break;case 82:h.push(null);break;case 86:h.push(a);break;case 90:h.push(e)}},clone:function(){var e=b.clone.call(this);return e._hash=this._hash.clone(),e}}),p.MD5=b._createHelper(f),p.HmacMD5=b._createHmacHelper(f),u.MD5,H=(e=n=module.exports).lib,X=H.WordArray,t=H.Hasher,H=e.algo,g=[],H=H.SHA1=t.extend({_doReset:function(){this._hash=new X.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var a=this._hash.words,n=a[0],r=a[1],s=a[2],h=a[3],l=a[4],c=0;c<80;c++){c<16?g[c]=0|e[t+c]:(o=g[c-3]^g[c-8]^g[c-14]^g[c-16],g[c]=o<<1|o>>>31);var o=(n<<5|n>>>27)+l+g[c];o+=c<20?1518500249+(r&s|~r&h):c<40?1859775393+(r^s^h):c<60?(r&s|r&h|s&h)-1894007588:(r^s^h)-899497514,l=h,h=s,s=r<<30|r>>>2,r=n,n=o}a[0]=a[0]+n|0,a[1]=a[1]+r|0,a[2]=a[2]+s|0,a[3]=a[3]+h|0,a[4]=a[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,a=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(64+n>>>9<<4)]=Math.floor(a/4294967296),t[15+(64+n>>>9<<4)]=a,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e}}),e.SHA1=t._createHelper(H),e.HmacSHA1=t._createHmacHelper(H),n.SHA1;var n=module.exports,y=Math,_=n,ke=(w=_.lib).WordArray,fe=w.Hasher,w=_.algo,de=[],ye=[];function _e(e){return 4294967296*(e-(0|e))|0}for(var we=2,v=0;v<64;)!function(e){for(var t=y.sqrt(e),a=2;a<=t;a++)if(!(e%a))return;return 1}(we)||(v<8&&(de[v]=_e(y.pow(we,.5))),ye[v]=_e(y.pow(we,1/3)),v++),we++;var m=[],w=w.SHA256=fe.extend({_doReset:function(){this._hash=new ke.init(s(de).call(de,0))},_doProcessBlock:function(e,t){for(var a=this._hash.words,n=a[0],r=a[1],s=a[2],h=a[3],l=a[4],c=a[5],o=a[6],i=a[7],g=0;g<64;g++){m[g]=g<16?0|e[t+g]:(((u=m[g-15])<<25|u>>>7)^(u<<14|u>>>18)^u>>>3)+m[g-7]+(((u=m[g-2])<<15|u>>>17)^(u<<13|u>>>19)^u>>>10)+m[g-16];var u=n&r^n&s^r&s,p=i+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&c^~l&o)+ye[g]+m[g],i=o,o=c,c=l,l=h+p|0,h=s,s=r,r=n,n=p+(((n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22))+u)|0}a[0]=a[0]+n|0,a[1]=a[1]+r|0,a[2]=a[2]+s|0,a[3]=a[3]+h|0,a[4]=a[4]+l|0,a[5]=a[5]+c|0,a[6]=a[6]+o|0,a[7]=a[7]+i|0},_doFinalize:function(){var e=this._data,t=e.words,a=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(64+n>>>9<<4)]=y.floor(a/4294967296),t[15+(64+n>>>9<<4)]=a,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=fe.clone.call(this);return e._hash=this._hash.clone(),e}});function ve(e){if(421===e)return"string"}_.SHA256=fe._createHelper(w),_.HmacSHA256=fe._createHmacHelper(w),n.SHA256,k=["init","_hasher","parse","eKey","blockSize","sigBytes","finalize","clamp","clone","_oKey","_iKey","words",2736052183,"reset","split","","slice","pop","charCodeAt","fromCharCode","push","concat","join"],L=Function.prototype.call,N=[44,33,77,26,25,21,0,57,39,23,1,93,77,30,32,11,50,60,421,14,87,59,11,7,13,2,26,13,3,30,14,14,97,77,25,21,4,71,77,55,60,-6693,60,-6518,54,60,13215,54,95,69,77,30,21,5,18,83,59,7,25,13,6,30,14,97,77,30,13,7,91,77,26,30,13,8,91,23,9,62,77,26,30,13,8,91,23,10,40,77,88,21,11,86,77,9,21,11,28,77,60,-8911,60,-9770,54,60,18681,54,42,77,89,27,65,72,75,99,60,-1329317024,60,142821669,54,53,12,54,56,94,77,15,72,75,99,60,909522486,56,94,77,6,77,72,55,35,68,-30,88,9,18,23,5,23,5,77,26,13,13,91,77,17,13,81,0,32,1,11,53,12,79,81,2,15,-6938,15,6135,77,15,803,77,15,-1423,15,-3610,77,15,5040,77,18,25,12,79,81,2,15,5591,15,-2785,77,15,-2799,77,11,47,12,27,0,28,12,83,40,84,81,3,8,81,4,15,-3397,15,-4121,77,15,7518,77,11,21,12,19,81,5,15,-73,15,7869,77,15,-7638,77,35,86,11,65,12,95,81,6,10,11,12,84,89,15,1790,15,-5805,77,15,4015,77,48,9,-51,95,81,7,17,11,28,12,95,81,8,32,1,11,31,26],_=module.exports,w=_.lib.Base,Y=_.enc.Utf8,_.algo.HMAC=w.extend({init:function(e,t){for(var a,n,r,s,h,l,c,o,i,g=L,u=N,p=[],b=0;;)switch(u[b++]){case 6:p.push(o++);break;case 7:p.push(Y);break;case 9:p.push(h);break;case 11:p.push(a);break;case 13:p.push(p[p.length-1]),p[p.length-2]=p[p.length-2][k[u[b++]]];break;case 14:p[p.length-3]=null!=p[p.length-2]?g.call(p[p.length-3],p[p.length-2],p[p.length-1]):(i=p[p.length-3])(p[p.length-1]),p.length-=2;break;case 15:p.push(c);break;case 17:return;case 18:p.push(r);break;case 21:p[p.length-1]=p[p.length-1][k[u[b++]]];break;case 23:p[p.length-2][k[u[b++]]]=p[p.length-1],p[p.length-2]=p[p.length-1],p.length--;break;case 25:p.push(e);break;case 26:p.push(this);break;case 28:c=p[p.length-1];break;case 30:p.push(t);break;case 32:p[p.length-1]=le(p[p.length-1]);break;case 33:a=p[p.length-1];break;case 35:i=p.pop(),p[p.length-1]=p[p.length-1]<i;break;case 39:p[p.length-2]=new p[p.length-2],--p.length;break;case 40:h=p[p.length-1];break;case 42:o=p[p.length-1];break;case 44:p.push(ve);break;case 50:p.push(null);break;case 53:p.push(k[u[b++]]);break;case 54:i=p.pop(),p[p.length-1]+=i;break;case 55:p.push(n);break;case 56:i=p.pop(),p[p.length-1]^=i;break;case 57:p.push(void 0);break;case 59:p[p.length-1]?(++b,--p.length):b+=u[b];break;case 60:p.push(u[b++]);break;case 62:s=p[p.length-1];break;case 65:p.push(l);break;case 68:p.pop()?b+=u[b]:++b;break;case 69:r=p[p.length-1];break;case 71:n=p[p.length-1];break;case 72:p.push(o);break;case 75:p.push(p[p.length-2]),p.push(p[p.length-2]);break;case 77:p.pop();break;case 83:i=p.pop(),p[p.length-1]=i<p[p.length-1];break;case 86:l=p[p.length-1];break;case 87:i=p.pop(),p[p.length-1]=p[p.length-1]==i;break;case 88:p.push(s);break;case 89:b+=u[b];break;case 91:p[p.length-2]=null!=p[p.length-1]?g.call(p[p.length-2],p[p.length-1]):(i=p[p.length-2])(),p.length--;break;case 93:e=p[p.length-1];break;case 94:p[p.length-3][p[p.length-2]]=p[p.length-1],p[p.length-3]=p[p.length-1],p.length-=2;break;case 95:i=p.pop(),p[p.length-1]*=i;break;case 97:t=p[p.length-1];break;case 99:p[p.length-2]=p[p.length-2][p[p.length-1]],p.length--}},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},eKey:function(e){for(var t,a,n,r,s,h,l,c=L,o=N,i=[],g=155;;)switch(o[g++]){case 8:i[i.length-2]=null!=i[i.length-1]?c.call(i[i.length-2],i[i.length-1]):(l=i[i.length-2])(),i.length--;break;case 9:i.pop()?g+=o[g]:++g;break;case 10:i.push(h);break;case 11:i[i.length-3]=null!=i[i.length-2]?c.call(i[i.length-3],i[i.length-2],i[i.length-1]):(l=i[i.length-3])(i[i.length-1]),i.length-=2;break;case 12:i.pop();break;case 13:i.push(e);break;case 15:i.push(o[g++]);break;case 17:i.push(n);break;case 18:i[i.length-4]=c.call(i[i.length-4],i[i.length-3],i[i.length-2],i[i.length-1]),i.length-=3;break;case 19:i.push(String);break;case 21:s=i[i.length-1];break;case 25:a=i[i.length-1];break;case 26:return;case 27:i.push(new Array(o[g++]));break;case 28:r=i[i.length-1];break;case 31:return i.pop();case 32:i.push(k[14+o[g++]]);break;case 35:i.push(s);break;case 47:n=i[i.length-1];break;case 48:l=i.pop(),i[i.length-1]=l<i[i.length-1];break;case 53:t=i[i.length-1];break;case 65:h=i[i.length-1];break;case 77:l=i.pop(),i[i.length-1]+=l;break;case 79:i.push(t);break;case 81:i.push(i[i.length-1]),i[i.length-2]=i[i.length-2][k[14+o[g++]]];break;case 83:g+=o[g];break;case 84:i.push(a);break;case 86:l=i.pop(),i[i.length-1]-=l;break;case 89:i[i.length-1]=i[i.length-1].length;break;case 95:i.push(r)}},finalize:function(e){var t,a,n=this._hasher,e=n.finalize(e);return n.reset(),n.finalize((t=n=this._oKey.clone(),a=t.concat,(t===he||re(he,t)&&a===he.concat?se:a).call(n,e)))}}),x=["enc","Utils","fromWordArray","slice","call","prototype","push","apply","toWordArray","words","sigBytes","_map1","clamp","charAt",.75,"reverse","join",""],G=Function.prototype.call,Q=[36,6,0,6,1,21,2,50,94,54,76,90,0,6,3,21,4,33,94,56,76,90,0,87,76,43,6,5,6,6,21,7,52,25,84,76,29,-8956,29,6189,62,29,2770,62,52,47,29,-6898,29,5570,62,29,1331,62,5,55,63,76,29,8711,29,-2858,62,29,-5853,62,49,76,3,9,52,21,6,30,94,76,7,76,13,30,89,39,-12,90,0,14,76,52,47,29,8472,29,-1796,62,29,-6675,62,55,83,76,3,47,43,6,5,6,6,21,7,70,52,21,3,20,29,-7207,29,4113,62,29,3096,62,55,20,29,4,29,-8118,62,29,8115,62,62,84,84,76,20,29,8214,29,3340,62,29,-11551,62,55,83,76,20,29,2116,29,-9645,62,29,7529,62,1,39,-57,36,6,0,6,1,21,8,70,94,85,76,66,6,9,71,76,66,6,10,12,76,92,11,80,76,66,21,12,26,76,90,0,10,76,29,5802,29,-3698,62,29,-2104,62,82,76,3,295,28,77,29,429,29,-5764,62,29,5337,62,17,18,29,-6426,29,4235,62,29,2215,62,77,29,2656,29,5733,62,29,-8385,62,5,29,8,99,55,17,29,-6065,29,7515,62,29,-1195,62,2,48,76,28,77,29,8577,29,-2163,62,29,-6413,62,62,29,-3327,29,-3568,62,29,6897,62,17,18,29,-5903,29,-444,62,29,6371,62,77,29,8826,29,8537,62,29,-17362,62,62,29,8745,29,-8835,62,29,94,62,5,29,7071,29,-4463,62,29,-2600,62,99,55,17,29,-523,29,-3762,62,29,4540,62,2,81,76,28,77,29,5725,29,-1492,62,29,-4231,62,62,29,-3281,29,5384,62,29,-2101,62,17,18,29,-9380,29,8254,62,29,1150,62,77,29,5404,29,-1008,62,29,-4394,62,62,29,-4905,29,7865,62,29,-2956,62,5,29,-6221,29,3440,62,29,2789,62,99,55,17,29,-1790,29,4846,62,29,-2801,62,2,27,76,32,29,-1481,29,-6790,62,29,8287,62,24,4,29,3380,29,-2364,62,29,-1008,62,24,9,42,9,65,76,44,69,76,3,36,11,21,6,79,21,13,64,29,-8358,29,5538,62,29,2826,62,29,3,78,55,99,17,29,-7726,29,4023,62,29,3766,62,2,94,94,76,41,76,78,29,8304,29,-1210,62,29,-7090,62,89,68,18,77,78,29,-920,29,-1999,62,29,2919,62,38,14,62,99,62,95,89,39,-65,77,29,-7099,29,9233,62,29,-2131,62,62,82,76,77,95,89,39,-298,90,0,73,76,29,5498,29,2050,62,29,-7548,62,96,76,3,41,43,6,5,6,6,21,7,40,11,21,3,91,91,29,-7490,29,-1401,62,29,8895,62,62,84,21,15,26,84,76,91,29,-7054,29,3784,62,29,3274,62,62,96,76,91,11,47,89,39,-45,40,21,16,38,17,94,53,86],S=module.exports,V=S.lib.WordArray,S.enc.Base64={stringify:function(e){var t=e.words,a=e.sigBytes,n=this._map;e.clamp();for(var r=[],s=0;s<a;s+=3)for(var h=(t[s>>>2]>>>24-s%4*8&255)<<16|(t[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|t[s+2>>>2]>>>24-(s+2)%4*8&255,l=0;l<4&&s+.75*l<a;l++)r.push(n.charAt(h>>>6*(3-l)&63));var c=n.charAt(64);if(c)for(;r.length%4;)r.push(c);return r.join("")},parse:function(e){var t=e.length,a=this._map;if(!(n=this._reverseMap))for(var n=this._reverseMap=[],r=0;r<a.length;r++)n[a.charCodeAt(r)]=r;for(var s,h=a.charAt(64),l=e,c=t=h&&-1!==(h=rm(e).call(e,h))?h:t,o=n,i=[],g=0,u=0;u<c;u++)u%4&&(s=o[l.charCodeAt(u-1)]<<u%4*2|o[l.charCodeAt(u)]>>>6-u%4*2,i[g>>>2]|=s<<24-g%4*8,g++);return V.create(i,g)},encode:function(e){for(var t,a,n,r,s,h,l,c,o,i,g,u,p,b,k,f,d,y,_,w,v,m=G,A=Q,B=[],H=0;;)switch(A[H++]){case 1:v=B.pop(),B[B.length-1]=v<=B[B.length-1];break;case 2:v=B.pop(),B[B.length-1]&=v;break;case 3:H+=A[H];break;case 4:B.push(k);break;case 5:v=B.pop(),B[B.length-1]%=v;break;case 6:B[B.length-1]=B[B.length-1][x[A[H++]]];break;case 7:B.push(s++);break;case 9:v=B.pop(),B[B.length-1]|=v;break;case 10:u=B[B.length-1];break;case 11:B.push(u);break;case 12:i=B[B.length-1];break;case 13:B.push(s);break;case 14:h=B[B.length-1];break;case 17:v=B.pop(),B[B.length-1]>>>=v;break;case 18:B[B.length-2]=B[B.length-2][B[B.length-1]],B.length--;break;case 20:B.push(l);break;case 21:B.push(B[B.length-1]),B[B.length-2]=B[B.length-2][x[A[H++]]];break;case 24:v=B.pop(),B[B.length-1]<<=v;break;case 25:B.push(a);break;case 26:B[B.length-2]=null!=B[B.length-1]?m.call(B[B.length-2],B[B.length-1]):(v=B[B.length-2])(),B.length--;break;case 27:f=B[B.length-1];break;case 28:B.push(o);break;case 29:B.push(A[H++]);break;case 30:B.push(r);break;case 32:B.push(b);break;case 33:B.push(t);break;case 36:B.push(S);break;case 38:B.push(x[A[H++]]);break;case 39:B.pop()?H+=A[H]:++H;break;case 40:B.push(_);break;case 41:B.push(y++);break;case 42:B.push(f);break;case 43:B.push(Array);break;case 44:B.push(0);break;case 47:B[B.length-1]=B[B.length-1].length;break;case 48:b=B[B.length-1];break;case 49:s=B[B.length-1];break;case 50:B.push(e);break;case 52:B.push(n);break;case 53:return B.pop();case 54:t=B[B.length-1];break;case 55:v=B.pop(),B[B.length-1]-=v;break;case 56:a=B[B.length-1];break;case 62:v=B.pop(),B[B.length-1]+=v;break;case 63:r=B[B.length-1];break;case 64:B.push(d);break;case 65:d=B[B.length-1];break;case 66:B.push(c);break;case 68:B[B.length-1]?(++H,--B.length):H+=A[H];break;case 69:y=B[B.length-1];break;case 70:B.push(h);break;case 71:o=B[B.length-1];break;case 73:_=B[B.length-1];break;case 76:B.pop();break;case 77:B.push(p);break;case 78:B.push(y);break;case 79:B.push(g);break;case 80:g=B[B.length-1];break;case 81:k=B[B.length-1];break;case 82:p=B[B.length-1];break;case 83:l=B[B.length-1];break;case 84:B[B.length-4]=m.call(B[B.length-4],B[B.length-3],B[B.length-2],B[B.length-1]),B.length-=3;break;case 85:c=B[B.length-1];break;case 86:return;case 87:n=B[B.length-1];break;case 89:v=B.pop(),B[B.length-1]=B[B.length-1]<v;break;case 90:B.push(new Array(A[H++]));break;case 91:B.push(w);break;case 92:B.push(this[x[A[H++]]]);break;case 94:B[B.length-3]=null!=B[B.length-2]?m.call(B[B.length-3],B[B.length-2],B[B.length-1]):(v=B[B.length-3])(B[B.length-1]),B.length-=2;break;case 95:B.push(i);break;case 96:w=B[B.length-1];break;case 99:v=B.pop(),B[B.length-1]*=v}},_map1:(n=function(e){switch(e){case 316:return"WVUTSRQPONMLKJIHGFEDCBA-_9876543210zyxwvutsrqponmlkjihgfedcbaZYX";case 319:return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}})(316),_map:n(319)},S.enc.Base64,H=(e=module.exports).lib,h=H.Base,T=H.WordArray,(H=e.x64={}).Word=h.extend({init:function(e,t){this.high=e,this.low=t}}),H.WordArray=h.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,a=[],n=0;n<t;n++){var r=e[n];a.push(r.high),a.push(r.low)}return T.create(a,this.sigBytes)},clone:function(){for(var e,t=h.clone.call(this),a=t.words=s(e=this.words).call(e,0),n=a.length,r=0;r<n;r++)a[r]=a[r].clone();return t}});var w=_=module.exports,me=w.lib.Hasher,A=(n=w.x64).Word,Ae=n.WordArray,n=w.algo;function B(){return A.create.apply(A,arguments)}for(var Be=[B(1116352408,3609767458),B(1899447441,602891725),B(3049323471,3964484399),B(3921009573,2173295548),B(961987163,4081628472),B(1508970993,3053834265),B(2453635748,2937671579),B(2870763221,3664609560),B(3624381080,2734883394),B(310598401,1164996542),B(607225278,1323610764),B(1426881987,3590304994),B(1925078388,4068182383),B(2162078206,991336113),B(2614888103,633803317),B(3248222580,3479774868),B(3835390401,2666613458),B(4022224774,944711139),B(264347078,2341262773),B(604807628,2007800933),B(770255983,1495990901),B(1249150122,1856431235),B(1555081692,3175218132),B(1996064986,2198950837),B(2554220882,3999719339),B(2821834349,766784016),B(2952996808,2566594879),B(3210313671,3203337956),B(3336571891,1034457026),B(3584528711,2466948901),B(113926993,3758326383),B(338241895,168717936),B(666307205,1188179964),B(773529912,1546045734),B(1294757372,1522805485),B(1396182291,2643833823),B(1695183700,2343527390),B(1986661051,1014477480),B(2177026350,1206759142),B(2456956037,344077627),B(2730485921,1290863460),B(2820302411,3158454273),B(3259730800,3505952657),B(3345764771,106217008),B(3516065817,3606008344),B(3600352804,1432725776),B(4094571909,1467031594),B(275423344,851169720),B(430227734,3100823752),B(506948616,1363258195),B(659060556,3750685593),B(883997877,3785050280),B(958139571,3318307427),B(1322822218,3812723403),B(1537002063,2003034995),B(1747873779,3602036899),B(1955562222,1575990012),B(2024104815,1125592928),B(2227730452,2716904306),B(2361852424,442776044),B(2428436474,593698344),B(2756734187,3733110249),B(3204031479,2999351573),B(3329325298,3815920427),B(3391569614,3928383900),B(3515267271,566280711),B(3940187606,3454069534),B(4118630271,4000239992),B(116418474,1914138554),B(174292421,2731055270),B(289380356,3203993006),B(460393269,320620315),B(685471733,587496836),B(852142971,1086792851),B(1017036298,365543100),B(1126000580,2618297676),B(1288033470,3409855158),B(1501505948,4234509866),B(1607167915,987167468),B(1816402316,1246189591)],te=[],He=0;He<80;He++)te[He]=B();n=n.SHA512=me.extend({_doReset:function(){this._hash=new Ae.init([new A.init(1779033703,4089235720),new A.init(3144134277,2227873595),new A.init(1013904242,4271175723),new A.init(2773480762,1595750129),new A.init(1359893119,2917565137),new A.init(2600822924,725511199),new A.init(528734635,4215389547),new A.init(1541459225,327033209)])},_doProcessBlock:function(j,K){for(var e=(l=this._hash.words)[0],t=l[1],a=l[2],n=l[3],r=l[4],s=l[5],h=l[6],l=l[7],U=e.high,c=e.low,O=t.high,o=t.low,I=a.high,i=a.low,q=n.high,g=n.low,E=r.high,u=r.low,J=s.high,p=s.low,X=h.high,b=h.low,L=l.high,k=l.low,f=U,d=c,y=O,_=o,w=I,v=i,N=q,m=g,A=E,B=u,G=J,H=p,Q=X,T=b,V=L,Y=k,x=0;x<80;x++){var S,z,M=te[x];x<16?(z=M.high=0|j[K+2*x],S=M.low=0|j[K+2*x+1]):(F=(R=te[x-15]).high,R=R.low,D=(C=te[x-2]).high,C=C.low,z=(z=(z=((F>>>1|R<<31)^(F>>>8|R<<24)^F>>>7)+(P=te[x-7]).high+((S=(R=(R>>>1|F<<31)^(R>>>8|F<<24)^(R>>>7|F<<25))+P.low)>>>0<R>>>0?1:0))+((D>>>19|C<<13)^(D<<3|C>>>29)^D>>>6)+((S+=F=(C>>>19|D<<13)^(C<<3|D>>>29)^(C>>>6|D<<26))>>>0<F>>>0?1:0))+(P=te[x-16]).high+((S+=R=P.low)>>>0<R>>>0?1:0),M.high=z,M.low=S);var W,C=A&G^~A&Q,D=B&H^~B&T,F=f&y^f&w^y&w,P=(d>>>28|f<<4)^(d<<30|f>>>2)^(d<<25|f>>>7),R=Be[x],M=R.high,Z=R.low,$=V+((A>>>14|B<<18)^(A>>>18|B<<14)^(A<<23|B>>>9))+((W=Y+((B>>>14|A<<18)^(B>>>18|A<<14)^(B<<23|A>>>9)))>>>0<Y>>>0?1:0),ee=P+(d&_^d&v^_&v),V=Q,Y=T,Q=G,T=H,G=A,H=B,A=N+($=$+C+((W+=D)>>>0<D>>>0?1:0)+M+((W+=Z)>>>0<Z>>>0?1:0)+z+((W+=S)>>>0<S>>>0?1:0))+((B=m+W|0)>>>0<m>>>0?1:0)|0,N=w,m=v,w=y,v=_,y=f,_=d,f=$+(((f>>>28|d<<4)^(f<<30|d>>>2)^(f<<25|d>>>7))+F+(ee>>>0<P>>>0?1:0))+((d=W+ee|0)>>>0<W>>>0?1:0)|0}c=e.low=c+d,e.high=U+f+(c>>>0<d>>>0?1:0),o=t.low=o+_,t.high=O+y+(o>>>0<_>>>0?1:0),i=a.low=i+v,a.high=I+w+(i>>>0<v>>>0?1:0),g=n.low=g+m,n.high=q+N+(g>>>0<m>>>0?1:0),u=r.low=u+B,r.high=E+A+(u>>>0<B>>>0?1:0),p=s.low=p+H,s.high=J+G+(p>>>0<H>>>0?1:0),b=h.low=b+T,h.high=X+Q+(b>>>0<T>>>0?1:0),k=l.low=k+Y,l.high=L+V+(k>>>0<Y>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,a=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(128+n>>>10<<5)]=Math.floor(a/4294967296),t[31+(128+n>>>10<<5)]=a,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=me.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32}),w.SHA512=me._createHelper(n),w.HmacSHA512=me._createHmacHelper(n),_.SHA512;var e=module.exports,xe=Math,H=e,Se=(w=H.lib).WordArray,ze=w.Hasher,w=H.algo,Me=[],We=[];function Ce(e){return 4294967296*(e-(0|e))|0}for(var De=2,F=0;F<64;)!function(e){for(var t=xe.sqrt(e),a=2;a<=t;a++)if(!(e%a))return;return 1}(De)||(F<8&&(Me[F]=Ce(xe.pow(De,.5))),We[F]=Ce(xe.pow(De,1/3)),F++),De++;var P=[],w=w.SHA256=ze.extend({_doReset:function(){this._hash=new Se.init(s(Me).call(Me,0))},_doProcessBlock:function(e,t){for(var a=this._hash.words,n=a[0],r=a[1],s=a[2],h=a[3],l=a[4],c=a[5],o=a[6],i=a[7],g=0;g<64;g++){P[g]=g<16?0|e[t+g]:(((u=P[g-15])<<25|u>>>7)^(u<<14|u>>>18)^u>>>3)+P[g-7]+(((u=P[g-2])<<15|u>>>17)^(u<<13|u>>>19)^u>>>10)+P[g-16];var u=n&r^n&s^r&s,p=i+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&c^~l&o)+We[g]+P[g],i=o,o=c,c=l,l=h+p|0,h=s,s=r,r=n,n=p+(((n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22))+u)|0}a[0]=a[0]+n|0,a[1]=a[1]+r|0,a[2]=a[2]+s|0,a[3]=a[3]+h|0,a[4]=a[4]+l|0,a[5]=a[5]+c|0,a[6]=a[6]+o|0,a[7]=a[7]+i|0},_doFinalize:function(){var e=this._data,t=e.words,a=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(64+n>>>9<<4)]=xe.floor(a/4294967296),t[15+(64+n>>>9<<4)]=a,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=ze.clone.call(this);return e._hash=this._hash.clone(),e}});H.SHA256=ze._createHelper(w),H.HmacSHA256=ze._createHmacHelper(w),e.SHA256}(); |