tf2-rtp-calculator
Version:
An RTP simulator/calculator for Team Fortress 2 crates.
3 lines • 36.1 kB
JavaScript
/*! For license information please see fortuna.min.js.LICENSE */
!function(t){function e(r){if(i[r])return i[r].exports;var n=i[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var i={};e.m=t,e.c=i,e.d=function(t,i,r){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=1)}([function(t,e,i){"use strict";var r=r||function(t,e){var i={},r=i.lib={},n=r.Base=function(){function t(){}return{extend:function(e){t.prototype=this;var i=new t;return e&&i.mixIn(e),i.hasOwnProperty("init")||(i.init=function(){i.$super.init.apply(this,arguments)}),i.init.prototype=i,i.$super=this,i},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),s=r.WordArray=n.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=void 0!=e?e:4*t.length},toString:function(t){return(t||o).stringify(this)},concat:function(t){var e=this.words,i=t.words,r=this.sigBytes,n=t.sigBytes;if(this.clamp(),r%4)for(h=0;h<n;h++){var s=i[h>>>2]>>>24-h%4*8&255;e[r+h>>>2]|=s<<24-(r+h)%4*8}else if(i.length>65535)for(var h=0;h<n;h+=4)e[r+h>>>2]=i[h>>>2];else e.push.apply(e,i);return this.sigBytes+=n,this},clamp:function(){var e=this.words,i=this.sigBytes;e[i>>>2]&=4294967295<<32-i%4*8,e.length=t.ceil(i/4)},clone:function(){var t=n.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var i=[],r=0;r<e;r+=4)i.push(4294967296*t.random()|0);return new s.init(i,e)}}),h=i.enc={},o=h.Hex={stringify:function(t){for(var e=t.words,i=t.sigBytes,r=[],n=0;n<i;n++){var s=e[n>>>2]>>>24-n%4*8&255;r.push((s>>>4).toString(16)),r.push((15&s).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,i=[],r=0;r<e;r+=2)i[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new s.init(i,e/2)}},c=h.Latin1={stringify:function(t){for(var e=t.words,i=t.sigBytes,r=[],n=0;n<i;n++){var s=e[n>>>2]>>>24-n%4*8&255;r.push(String.fromCharCode(s))}return r.join("")},parse:function(t){for(var e=t.length,i=[],r=0;r<e;r++)i[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new s.init(i,e)}},a=h.Utf8={stringify:function(t){try{return decodeURIComponent(escape(c.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return c.parse(unescape(encodeURIComponent(t)))}},u=r.BufferedBlockAlgorithm=n.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=a.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var i=this._data,r=i.words,n=i.sigBytes,h=this.blockSize,o=n/(4*h),c=(o=e?t.ceil(o):t.max((0|o)-this._minBufferSize,0))*h,a=t.min(4*c,n);if(c){for(var u=0;u<c;u+=h)this._doProcessBlock(r,u);var f=r.splice(0,c);i.sigBytes-=a}return new s.init(f,a)},clone:function(){var t=n.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),f=(r.Hasher=u.extend({cfg:n.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){u.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){t&&this._append(t);return this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,i){return new t.init(i).finalize(e)}},_createHmacHelper:function(t){return function(e,i){return new f.HMAC.init(t,i).finalize(e)}}}),i.algo={});return i}(Math);e.CryptoJS=r},function(t,e,i){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n=i(2),s=i(7).CryptoJS,h=e;h.initialized=!1,h.init=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!0!==h.initialized){h.key=null,h.entropy=null,h.counter=0,h.entropySz=128,h.currentTimer=null,h.timeBasedEntropy=t.timeBasedEntropy||!1,h.accumulateTimeout=t.accumulateTimeout||375,h.entropyFxn=t.entropyFxn||h.timeBasedEntropyFxn;var e=h.entropyFxn();if(Array.isArray(e)&&e.length!==h.entropySz)throw new h.EntropyException("entropyFxn did not return an array of length "+h.entropySz+".");if("string"==typeof e&&e.length!==h.entropySz)throw new h.EntropyException("entropyFxn did not return a string of length "+h.entropySz+".");if("string"!=typeof e&&!1===Array.isArray(e))throw new h.EntropyException("entropyFxn needs to return either a string or array of length "+h.entropySz+" but you gave me "+(void 0===e?"undefined":r(e))+" of length "+e.length+".");h.accumulate(),h.seed(),h.initialized=!0}},h.EntropyException=function(t){this.message=t,this.name="EntropyException"},h.ConversionException=function(t){this.message=t,this.name="ConversionException"},h.timeBasedEntropyFxn=function(){return n(""+(new Date).getTime())},h.accumulate=function(){h.entropy=h.entropyFxn(),!0===h.timeBasedEntropy&&(h.currentTimer=setTimeout(h.accumulate,h.accumulateTimeout))},h.stopTimer=function(){h.timeBasedEntropy=!1,null!==h.currentTimer&&clearTimeout(h.currentTimer)},h.seed=function(){var t="";if(Array.isArray(h.entropy))for(var e=0;e<h.entropy.length;e+=1)t+=""+h.entropy[e];else t=h.entropy;h.key=n(""+t+h.count)},h.generate=function(){var t=""+h.count,e=s.AES.encrypt(t,h.key.toString("base64"),{format:{stringify:function(t){return t.ciphertext.toString()},parse:function(t){return t}}});h.count+=1,!1===h.timeBasedAccumulate&&h.accumulate(),h.seed();var i=e.toString().substring(0,8);return parseInt(i,16)},h.int32=function(){return 0|h.generate()},h.uint32=function(){return h.generate()>>>0},h.int53=function(){var t=0|h.generate();return 4294967296*(2097151&t)+(h.generate()>>>0)+(2097152&t?-9007199254740992:0)},h.int53Full=function(){for(;;){var t=0|h.generate();if(!(4194304&t)){return 4294967296*(2097151&t)+(h.generate()>>>0)+(2097152&t?-9007199254740992:0)}if(4194304==(8388607&t)&&0==(0|h.generate()))return 9007199254740992}},h.uint53=function(){return 4294967296*(2097151&h.generate())+(h.generate()>>>0)},h.uint53Full=function(){for(;;){var t=0|h.generate();if(!(2097152&t)){return 4294967296*(2097151&t)+(h.generate()>>>0)}if(2097152==(4194303&t)&&0==(0|h.generate()))return 9007199254740992}},h.random=function(){return h.uint53Full()/9007199254740992},"undefined"!=typeof window&&(window.fortuna=h)},function(t,e,i){"use strict";(function(t,e,r){var n,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(){function h(t,e){e?(_[0]=_[1]=_[2]=_[3]=_[4]=_[5]=_[6]=_[7]=_[8]=_[9]=_[10]=_[11]=_[12]=_[13]=_[14]=_[15]=_[16]=_[17]=_[18]=_[19]=_[20]=_[21]=_[22]=_[23]=_[24]=_[25]=_[26]=_[27]=_[28]=_[29]=_[30]=_[31]=_[32]=0,this.blocks=_):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}var o="input is invalid type",c="object"===("undefined"==typeof window?"undefined":s(window)),a=c?window:{};a.JS_SHA512_NO_WINDOW&&(c=!1);var u=!c&&"object"===("undefined"==typeof self?"undefined":s(self));!a.JS_SHA512_NO_NODE_JS&&"object"===(void 0===t?"undefined":s(t))&&t.versions&&t.versions.node?a=e:u&&(a=self);var f=!a.JS_SHA512_NO_COMMON_JS&&"object"===s(r)&&r.exports,l=i(6),p=!a.JS_SHA512_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,y="0123456789abcdef".split(""),d=[-2147483648,8388608,32768,128],v=[24,16,8,0],g=[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"],_=[];!a.JS_SHA512_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!p||!a.JS_SHA512_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"===(void 0===t?"undefined":s(t))&&t.buffer&&t.buffer.constructor===ArrayBuffer});var S=function(t,e){return function(i){return new h(e,!0).update(i)[t]()}},b=function(t){var e=S("hex",t);e.create=function(){return new h(t)},e.update=function(t){return e.create().update(t)};for(var i=0;i<m.length;++i){var r=m[i];e[r]=S(r,t)}return e};h.prototype.update=function(t){if(!this.finalized){var e,i=void 0===t?"undefined":s(t);if("string"!==i){if("object"!==i)throw o;if(null===t)throw o;if(p&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||p&&ArrayBuffer.isView(t)))throw o;e=!0}for(var r,n,h=t.length,c=0,h=t.length,a=this.blocks;c<h;){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(n=this.start;c<h&&n<128;++c)a[n>>2]|=t[c]<<v[3&n++];else for(n=this.start;c<h&&n<128;++c)(r=t.charCodeAt(c))<128?a[n>>2]|=r<<v[3&n++]:r<2048?(a[n>>2]|=(192|r>>6)<<v[3&n++],a[n>>2]|=(128|63&r)<<v[3&n++]):r<55296||r>=57344?(a[n>>2]|=(224|r>>12)<<v[3&n++],a[n>>2]|=(128|r>>6&63)<<v[3&n++],a[n>>2]|=(128|63&r)<<v[3&n++]):(r=65536+((1023&r)<<10|1023&t.charCodeAt(++c)),a[n>>2]|=(240|r>>18)<<v[3&n++],a[n>>2]|=(128|r>>12&63)<<v[3&n++],a[n>>2]|=(128|r>>6&63)<<v[3&n++],a[n>>2]|=(128|63&r)<<v[3&n++]);this.lastByteIndex=n,this.bytes+=n-this.start,n>=128?(this.block=a[32],this.start=n-128,this.hash(),this.hashed=!0):this.start=n}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},h.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()}},h.prototype.hash=function(){var t,e,i,r,n,s,h,o,c,a,u,f,l,p,y,d,v,m,_,S,b,x,w,B,k,z=this.h0h,A=this.h0l,E=this.h1h,C=this.h1l,O=this.h2h,F=this.h2l,D=this.h3h,T=this.h3l,M=this.h4h,J=this.h4l,U=this.h5h,H=this.h5l,R=this.h6h,j=this.h6l,N=this.h7h,P=this.h7l,I=this.blocks;for(t=32;t<160;t+=2)e=((S=I[t-30])>>>1|(b=I[t-29])<<31)^(S>>>8|b<<24)^S>>>7,i=(b>>>1|S<<31)^(b>>>8|S<<24)^(b>>>7|S<<25),r=((S=I[t-4])>>>19|(b=I[t-3])<<13)^(b>>>29|S<<3)^S>>>6,n=(b>>>19|S<<13)^(S>>>29|b<<3)^(b>>>6|S<<26),S=I[t-32],b=I[t-31],c=((x=I[t-14])>>>16)+(S>>>16)+(e>>>16)+(r>>>16)+((o=(65535&x)+(65535&S)+(65535&e)+(65535&r)+((h=((w=I[t-13])>>>16)+(b>>>16)+(i>>>16)+(n>>>16)+((s=(65535&w)+(65535&b)+(65535&i)+(65535&n))>>>16))>>>16))>>>16),I[t]=c<<16|65535&o,I[t+1]=h<<16|65535&s;var L=z,W=A,X=E,K=C,V=O,Y=F,$=D,q=T,G=M,Q=J,Z=U,tt=H,et=R,it=j,rt=N,nt=P;for(d=X&V,v=K&Y,t=0;t<160;t+=8)e=(L>>>28|W<<4)^(W>>>2|L<<30)^(W>>>7|L<<25),i=(W>>>28|L<<4)^(L>>>2|W<<30)^(L>>>7|W<<25),r=(G>>>14|Q<<18)^(G>>>18|Q<<14)^(Q>>>9|G<<23),n=(Q>>>14|G<<18)^(Q>>>18|G<<14)^(G>>>9|Q<<23),m=(a=L&X)^L&V^d,_=(u=W&K)^W&Y^v,B=G&Z^~G&et,k=Q&tt^~Q&it,S=I[t],b=I[t+1],S=(c=((x=g[t])>>>16)+(S>>>16)+(B>>>16)+(r>>>16)+(rt>>>16)+((o=(65535&x)+(65535&S)+(65535&B)+(65535&r)+(65535&rt)+((h=((w=g[t+1])>>>16)+(b>>>16)+(k>>>16)+(n>>>16)+(nt>>>16)+((s=(65535&w)+(65535&b)+(65535&k)+(65535&n)+(65535&nt))>>>16))>>>16))>>>16))<<16|65535&o,b=h<<16|65535&s,x=(c=(m>>>16)+(e>>>16)+((o=(65535&m)+(65535&e)+((h=(_>>>16)+(i>>>16)+((s=(65535&_)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,w=h<<16|65535&s,rt=(c=($>>>16)+(S>>>16)+((o=(65535&$)+(65535&S)+((h=(q>>>16)+(b>>>16)+((s=(65535&q)+(65535&b))>>>16))>>>16))>>>16))<<16|65535&o,nt=h<<16|65535&s,e=(($=(c=(x>>>16)+(S>>>16)+((o=(65535&x)+(65535&S)+((h=(w>>>16)+(b>>>16)+((s=(65535&w)+(65535&b))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(q=h<<16|65535&s)<<4)^(q>>>2|$<<30)^(q>>>7|$<<25),i=(q>>>28|$<<4)^($>>>2|q<<30)^($>>>7|q<<25),r=(rt>>>14|nt<<18)^(rt>>>18|nt<<14)^(nt>>>9|rt<<23),n=(nt>>>14|rt<<18)^(nt>>>18|rt<<14)^(rt>>>9|nt<<23),m=(f=$&L)^$&X^a,_=(l=q&W)^q&K^u,B=rt&G^~rt&Z,k=nt&Q^~nt&tt,S=I[t+2],b=I[t+3],S=(c=((x=g[t+2])>>>16)+(S>>>16)+(B>>>16)+(r>>>16)+(et>>>16)+((o=(65535&x)+(65535&S)+(65535&B)+(65535&r)+(65535&et)+((h=((w=g[t+3])>>>16)+(b>>>16)+(k>>>16)+(n>>>16)+(it>>>16)+((s=(65535&w)+(65535&b)+(65535&k)+(65535&n)+(65535&it))>>>16))>>>16))>>>16))<<16|65535&o,b=h<<16|65535&s,x=(c=(m>>>16)+(e>>>16)+((o=(65535&m)+(65535&e)+((h=(_>>>16)+(i>>>16)+((s=(65535&_)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,w=h<<16|65535&s,et=(c=(V>>>16)+(S>>>16)+((o=(65535&V)+(65535&S)+((h=(Y>>>16)+(b>>>16)+((s=(65535&Y)+(65535&b))>>>16))>>>16))>>>16))<<16|65535&o,it=h<<16|65535&s,e=((V=(c=(x>>>16)+(S>>>16)+((o=(65535&x)+(65535&S)+((h=(w>>>16)+(b>>>16)+((s=(65535&w)+(65535&b))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(Y=h<<16|65535&s)<<4)^(Y>>>2|V<<30)^(Y>>>7|V<<25),i=(Y>>>28|V<<4)^(V>>>2|Y<<30)^(V>>>7|Y<<25),r=(et>>>14|it<<18)^(et>>>18|it<<14)^(it>>>9|et<<23),n=(it>>>14|et<<18)^(it>>>18|et<<14)^(et>>>9|it<<23),m=(p=V&$)^V&L^f,_=(y=Y&q)^Y&W^l,B=et&rt^~et&G,k=it&nt^~it&Q,S=I[t+4],b=I[t+5],S=(c=((x=g[t+4])>>>16)+(S>>>16)+(B>>>16)+(r>>>16)+(Z>>>16)+((o=(65535&x)+(65535&S)+(65535&B)+(65535&r)+(65535&Z)+((h=((w=g[t+5])>>>16)+(b>>>16)+(k>>>16)+(n>>>16)+(tt>>>16)+((s=(65535&w)+(65535&b)+(65535&k)+(65535&n)+(65535&tt))>>>16))>>>16))>>>16))<<16|65535&o,b=h<<16|65535&s,x=(c=(m>>>16)+(e>>>16)+((o=(65535&m)+(65535&e)+((h=(_>>>16)+(i>>>16)+((s=(65535&_)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,w=h<<16|65535&s,Z=(c=(X>>>16)+(S>>>16)+((o=(65535&X)+(65535&S)+((h=(K>>>16)+(b>>>16)+((s=(65535&K)+(65535&b))>>>16))>>>16))>>>16))<<16|65535&o,tt=h<<16|65535&s,e=((X=(c=(x>>>16)+(S>>>16)+((o=(65535&x)+(65535&S)+((h=(w>>>16)+(b>>>16)+((s=(65535&w)+(65535&b))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(K=h<<16|65535&s)<<4)^(K>>>2|X<<30)^(K>>>7|X<<25),i=(K>>>28|X<<4)^(X>>>2|K<<30)^(X>>>7|K<<25),r=(Z>>>14|tt<<18)^(Z>>>18|tt<<14)^(tt>>>9|Z<<23),n=(tt>>>14|Z<<18)^(tt>>>18|Z<<14)^(Z>>>9|tt<<23),m=(d=X&V)^X&$^p,_=(v=K&Y)^K&q^y,B=Z&et^~Z&rt,k=tt&it^~tt&nt,S=I[t+6],b=I[t+7],S=(c=((x=g[t+6])>>>16)+(S>>>16)+(B>>>16)+(r>>>16)+(G>>>16)+((o=(65535&x)+(65535&S)+(65535&B)+(65535&r)+(65535&G)+((h=((w=g[t+7])>>>16)+(b>>>16)+(k>>>16)+(n>>>16)+(Q>>>16)+((s=(65535&w)+(65535&b)+(65535&k)+(65535&n)+(65535&Q))>>>16))>>>16))>>>16))<<16|65535&o,b=h<<16|65535&s,x=(c=(m>>>16)+(e>>>16)+((o=(65535&m)+(65535&e)+((h=(_>>>16)+(i>>>16)+((s=(65535&_)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,w=h<<16|65535&s,G=(c=(L>>>16)+(S>>>16)+((o=(65535&L)+(65535&S)+((h=(W>>>16)+(b>>>16)+((s=(65535&W)+(65535&b))>>>16))>>>16))>>>16))<<16|65535&o,Q=h<<16|65535&s,L=(c=(x>>>16)+(S>>>16)+((o=(65535&x)+(65535&S)+((h=(w>>>16)+(b>>>16)+((s=(65535&w)+(65535&b))>>>16))>>>16))>>>16))<<16|65535&o,W=h<<16|65535&s;c=(z>>>16)+(L>>>16)+((o=(65535&z)+(65535&L)+((h=(A>>>16)+(W>>>16)+((s=(65535&A)+(65535&W))>>>16))>>>16))>>>16),this.h0h=c<<16|65535&o,this.h0l=h<<16|65535&s,c=(E>>>16)+(X>>>16)+((o=(65535&E)+(65535&X)+((h=(C>>>16)+(K>>>16)+((s=(65535&C)+(65535&K))>>>16))>>>16))>>>16),this.h1h=c<<16|65535&o,this.h1l=h<<16|65535&s,c=(O>>>16)+(V>>>16)+((o=(65535&O)+(65535&V)+((h=(F>>>16)+(Y>>>16)+((s=(65535&F)+(65535&Y))>>>16))>>>16))>>>16),this.h2h=c<<16|65535&o,this.h2l=h<<16|65535&s,c=(D>>>16)+($>>>16)+((o=(65535&D)+(65535&$)+((h=(T>>>16)+(q>>>16)+((s=(65535&T)+(65535&q))>>>16))>>>16))>>>16),this.h3h=c<<16|65535&o,this.h3l=h<<16|65535&s,c=(M>>>16)+(G>>>16)+((o=(65535&M)+(65535&G)+((h=(J>>>16)+(Q>>>16)+((s=(65535&J)+(65535&Q))>>>16))>>>16))>>>16),this.h4h=c<<16|65535&o,this.h4l=h<<16|65535&s,c=(U>>>16)+(Z>>>16)+((o=(65535&U)+(65535&Z)+((h=(H>>>16)+(tt>>>16)+((s=(65535&H)+(65535&tt))>>>16))>>>16))>>>16),this.h5h=c<<16|65535&o,this.h5l=h<<16|65535&s,c=(R>>>16)+(et>>>16)+((o=(65535&R)+(65535&et)+((h=(j>>>16)+(it>>>16)+((s=(65535&j)+(65535&it))>>>16))>>>16))>>>16),this.h6h=c<<16|65535&o,this.h6l=h<<16|65535&s,c=(N>>>16)+(rt>>>16)+((o=(65535&N)+(65535&rt)+((h=(P>>>16)+(nt>>>16)+((s=(65535&P)+(65535&nt))>>>16))>>>16))>>>16),this.h7h=c<<16|65535&o,this.h7l=h<<16|65535&s},h.prototype.hex=function(){this.finalize();var t=this.h0h,e=this.h0l,i=this.h1h,r=this.h1l,n=this.h2h,s=this.h2l,h=this.h3h,o=this.h3l,c=this.h4h,a=this.h4l,u=this.h5h,f=this.h5l,l=this.h6h,p=this.h6l,d=this.h7h,v=this.h7l,g=this.bits,m=y[t>>28&15]+y[t>>24&15]+y[t>>20&15]+y[t>>16&15]+y[t>>12&15]+y[t>>8&15]+y[t>>4&15]+y[15&t]+y[e>>28&15]+y[e>>24&15]+y[e>>20&15]+y[e>>16&15]+y[e>>12&15]+y[e>>8&15]+y[e>>4&15]+y[15&e]+y[i>>28&15]+y[i>>24&15]+y[i>>20&15]+y[i>>16&15]+y[i>>12&15]+y[i>>8&15]+y[i>>4&15]+y[15&i]+y[r>>28&15]+y[r>>24&15]+y[r>>20&15]+y[r>>16&15]+y[r>>12&15]+y[r>>8&15]+y[r>>4&15]+y[15&r]+y[n>>28&15]+y[n>>24&15]+y[n>>20&15]+y[n>>16&15]+y[n>>12&15]+y[n>>8&15]+y[n>>4&15]+y[15&n]+y[s>>28&15]+y[s>>24&15]+y[s>>20&15]+y[s>>16&15]+y[s>>12&15]+y[s>>8&15]+y[s>>4&15]+y[15&s]+y[h>>28&15]+y[h>>24&15]+y[h>>20&15]+y[h>>16&15]+y[h>>12&15]+y[h>>8&15]+y[h>>4&15]+y[15&h];return g>=256&&(m+=y[o>>28&15]+y[o>>24&15]+y[o>>20&15]+y[o>>16&15]+y[o>>12&15]+y[o>>8&15]+y[o>>4&15]+y[15&o]),g>=384&&(m+=y[c>>28&15]+y[c>>24&15]+y[c>>20&15]+y[c>>16&15]+y[c>>12&15]+y[c>>8&15]+y[c>>4&15]+y[15&c]+y[a>>28&15]+y[a>>24&15]+y[a>>20&15]+y[a>>16&15]+y[a>>12&15]+y[a>>8&15]+y[a>>4&15]+y[15&a]+y[u>>28&15]+y[u>>24&15]+y[u>>20&15]+y[u>>16&15]+y[u>>12&15]+y[u>>8&15]+y[u>>4&15]+y[15&u]+y[f>>28&15]+y[f>>24&15]+y[f>>20&15]+y[f>>16&15]+y[f>>12&15]+y[f>>8&15]+y[f>>4&15]+y[15&f]),512==g&&(m+=y[l>>28&15]+y[l>>24&15]+y[l>>20&15]+y[l>>16&15]+y[l>>12&15]+y[l>>8&15]+y[l>>4&15]+y[15&l]+y[p>>28&15]+y[p>>24&15]+y[p>>20&15]+y[p>>16&15]+y[p>>12&15]+y[p>>8&15]+y[p>>4&15]+y[15&p]+y[d>>28&15]+y[d>>24&15]+y[d>>20&15]+y[d>>16&15]+y[d>>12&15]+y[d>>8&15]+y[d>>4&15]+y[15&d]+y[v>>28&15]+y[v>>24&15]+y[v>>20&15]+y[v>>16&15]+y[v>>12&15]+y[v>>8&15]+y[v>>4&15]+y[15&v]),m},h.prototype.toString=h.prototype.hex,h.prototype.digest=function(){this.finalize();var t=this.h0h,e=this.h0l,i=this.h1h,r=this.h1l,n=this.h2h,s=this.h2l,h=this.h3h,o=this.h3l,c=this.h4h,a=this.h4l,u=this.h5h,f=this.h5l,l=this.h6h,p=this.h6l,y=this.h7h,d=this.h7l,v=this.bits,g=[t>>24&255,t>>16&255,t>>8&255,255&t,e>>24&255,e>>16&255,e>>8&255,255&e,i>>24&255,i>>16&255,i>>8&255,255&i,r>>24&255,r>>16&255,r>>8&255,255&r,n>>24&255,n>>16&255,n>>8&255,255&n,s>>24&255,s>>16&255,s>>8&255,255&s,h>>24&255,h>>16&255,h>>8&255,255&h];return v>=256&&g.push(o>>24&255,o>>16&255,o>>8&255,255&o),v>=384&&g.push(c>>24&255,c>>16&255,c>>8&255,255&c,a>>24&255,a>>16&255,a>>8&255,255&a,u>>24&255,u>>16&255,u>>8&255,255&u,f>>24&255,f>>16&255,f>>8&255,255&f),512==v&&g.push(l>>24&255,l>>16&255,l>>8&255,255&l,p>>24&255,p>>16&255,p>>8&255,255&p,y>>24&255,y>>16&255,y>>8&255,255&y,d>>24&255,d>>16&255,d>>8&255,255&d),g},h.prototype.array=h.prototype.digest,h.prototype.arrayBuffer=function(){this.finalize();var t=this.bits,e=new ArrayBuffer(t/8),i=new DataView(e);return i.setUint32(0,this.h0h),i.setUint32(4,this.h0l),i.setUint32(8,this.h1h),i.setUint32(12,this.h1l),i.setUint32(16,this.h2h),i.setUint32(20,this.h2l),i.setUint32(24,this.h3h),t>=256&&i.setUint32(28,this.h3l),t>=384&&(i.setUint32(32,this.h4h),i.setUint32(36,this.h4l),i.setUint32(40,this.h5h),i.setUint32(44,this.h5l)),512==t&&(i.setUint32(48,this.h6h),i.setUint32(52,this.h6l),i.setUint32(56,this.h7h),i.setUint32(60,this.h7l)),e};var x=b(512);x.sha512=x,x.sha384=b(384),x.sha512_256=b(256),x.sha512_224=b(224),f?r.exports=x:(a.sha512=x.sha512,a.sha384=x.sha384,a.sha512_256=x.sha512_256,a.sha512_224=x.sha512_224,l&&void 0!==(n=function(){return x}.call(x,i,x,r))&&(r.exports=n))}()}).call(e,i(3),i(4),i(5)(t))},function(t,e,i){"use strict";function r(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function s(t){if(u===setTimeout)return setTimeout(t,0);if((u===r||!u)&&setTimeout)return u=setTimeout,setTimeout(t,0);try{return u(t,0)}catch(e){try{return u.call(null,t,0)}catch(e){return u.call(this,t,0)}}}function h(){d&&p&&(d=!1,p.length?y=p.concat(y):v=-1,y.length&&o())}function o(){if(!d){var t=s(h);d=!0;for(var e=y.length;e;){for(p=y,y=[];++v<e;)p&&p[v].run();v=-1,e=y.length}p=null,d=!1,function(t){if(f===clearTimeout)return clearTimeout(t);if((f===n||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}(t)}}function c(t,e){this.fun=t,this.array=e}function a(){}var u,f,l=t.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:r}catch(t){u=r}try{f="function"==typeof clearTimeout?clearTimeout:n}catch(t){f=n}}();var p,y=[],d=!1,v=-1;l.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];y.push(new c(t,e)),1!==y.length||d||s(o)},c.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={},l.on=a,l.addListener=a,l.once=a,l.off=a,l.removeListener=a,l.removeAllListeners=a,l.emit=a,l.prependListener=a,l.prependOnceListener=a,l.listeners=function(t){return[]},l.binding=function(t){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(t){throw new Error("process.chdir is not supported")},l.umask=function(){return 0}},function(t,e,i){"use strict";var r,n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"===("undefined"==typeof window?"undefined":n(window))&&(r=window)}t.exports=r},function(t,e,i){"use strict";t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){(function(e){t.exports=e}).call(e,{})},function(t,e,i){"use strict";var r=i(0).CryptoJS;i(8),i(9),i(10),i(11),i(12);var n=i(13).JsonFormatter;e.CryptoJS=r,e.JsonFormatter=n},function(t,e,i){"use strict";var r=i(0).CryptoJS;!function(){var t=r,e=t.lib.WordArray;t.enc.Base64={stringify:function(t){var e=t.words,i=t.sigBytes,r=this._map;t.clamp();for(var n=[],s=0;s<i;s+=3)for(var h=(e[s>>>2]>>>24-s%4*8&255)<<16|(e[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|e[s+2>>>2]>>>24-(s+2)%4*8&255,o=0;o<4&&s+.75*o<i;o++)n.push(r.charAt(h>>>6*(3-o)&63));var c=r.charAt(64);if(c)for(;n.length%4;)n.push(c);return n.join("")},parse:function(t){var i=t.length,r=this._map,n=r.charAt(64);if(n){var s=t.indexOf(n);-1!=s&&(i=s)}for(var h=[],o=0,c=0;c<i;c++)if(c%4){var a=r.indexOf(t.charAt(c-1))<<c%4*2,u=r.indexOf(t.charAt(c))>>>6-c%4*2;h[o>>>2]|=(a|u)<<24-o%4*8,o++}return e.create(h,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}()},function(t,e,i){"use strict";var r=i(0).CryptoJS;!function(t){function e(t,e,i,r,n,s,h){var o=t+(e&i|~e&r)+n+h;return(o<<s|o>>>32-s)+e}function i(t,e,i,r,n,s,h){var o=t+(e&r|i&~r)+n+h;return(o<<s|o>>>32-s)+e}function n(t,e,i,r,n,s,h){var o=t+(e^i^r)+n+h;return(o<<s|o>>>32-s)+e}function s(t,e,i,r,n,s,h){var o=t+(i^(e|~r))+n+h;return(o<<s|o>>>32-s)+e}var h=r,o=h.lib,c=o.WordArray,a=o.Hasher,u=h.algo,f=[];!function(){for(var e=0;e<64;e++)f[e]=4294967296*t.abs(t.sin(e+1))|0}();var l=u.MD5=a.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,r){for(var h=0;h<16;h++){var o=r+h,c=t[o];t[o]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}var a=this._hash.words,u=t[r+0],l=t[r+1],p=t[r+2],y=t[r+3],d=t[r+4],v=t[r+5],g=t[r+6],m=t[r+7],_=t[r+8],S=t[r+9],b=t[r+10],x=t[r+11],w=t[r+12],B=t[r+13],k=t[r+14],z=t[r+15],A=a[0],E=a[1],C=a[2],O=a[3];E=s(E=s(E=s(E=s(E=n(E=n(E=n(E=n(E=i(E=i(E=i(E=i(E=e(E=e(E=e(E=e(E,C=e(C,O=e(O,A=e(A,E,C,O,u,7,f[0]),E,C,l,12,f[1]),A,E,p,17,f[2]),O,A,y,22,f[3]),C=e(C,O=e(O,A=e(A,E,C,O,d,7,f[4]),E,C,v,12,f[5]),A,E,g,17,f[6]),O,A,m,22,f[7]),C=e(C,O=e(O,A=e(A,E,C,O,_,7,f[8]),E,C,S,12,f[9]),A,E,b,17,f[10]),O,A,x,22,f[11]),C=e(C,O=e(O,A=e(A,E,C,O,w,7,f[12]),E,C,B,12,f[13]),A,E,k,17,f[14]),O,A,z,22,f[15]),C=i(C,O=i(O,A=i(A,E,C,O,l,5,f[16]),E,C,g,9,f[17]),A,E,x,14,f[18]),O,A,u,20,f[19]),C=i(C,O=i(O,A=i(A,E,C,O,v,5,f[20]),E,C,b,9,f[21]),A,E,z,14,f[22]),O,A,d,20,f[23]),C=i(C,O=i(O,A=i(A,E,C,O,S,5,f[24]),E,C,k,9,f[25]),A,E,y,14,f[26]),O,A,_,20,f[27]),C=i(C,O=i(O,A=i(A,E,C,O,B,5,f[28]),E,C,p,9,f[29]),A,E,m,14,f[30]),O,A,w,20,f[31]),C=n(C,O=n(O,A=n(A,E,C,O,v,4,f[32]),E,C,_,11,f[33]),A,E,x,16,f[34]),O,A,k,23,f[35]),C=n(C,O=n(O,A=n(A,E,C,O,l,4,f[36]),E,C,d,11,f[37]),A,E,m,16,f[38]),O,A,b,23,f[39]),C=n(C,O=n(O,A=n(A,E,C,O,B,4,f[40]),E,C,u,11,f[41]),A,E,y,16,f[42]),O,A,g,23,f[43]),C=n(C,O=n(O,A=n(A,E,C,O,S,4,f[44]),E,C,w,11,f[45]),A,E,z,16,f[46]),O,A,p,23,f[47]),C=s(C,O=s(O,A=s(A,E,C,O,u,6,f[48]),E,C,m,10,f[49]),A,E,k,15,f[50]),O,A,v,21,f[51]),C=s(C,O=s(O,A=s(A,E,C,O,w,6,f[52]),E,C,y,10,f[53]),A,E,b,15,f[54]),O,A,l,21,f[55]),C=s(C,O=s(O,A=s(A,E,C,O,_,6,f[56]),E,C,z,10,f[57]),A,E,g,15,f[58]),O,A,B,21,f[59]),C=s(C,O=s(O,A=s(A,E,C,O,d,6,f[60]),E,C,x,10,f[61]),A,E,p,15,f[62]),O,A,S,21,f[63]),a[0]=a[0]+A|0,a[1]=a[1]+E|0,a[2]=a[2]+C|0,a[3]=a[3]+O|0},_doFinalize:function(){var e=this._data,i=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;i[n>>>5]|=128<<24-n%32;var s=t.floor(r/4294967296),h=r;i[15+(n+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),i[14+(n+64>>>9<<4)]=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),e.sigBytes=4*(i.length+1),this._process();for(var o=this._hash,c=o.words,a=0;a<4;a++){var u=c[a];c[a]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return o},clone:function(){var t=a.clone.call(this);return t._hash=this._hash.clone(),t}});h.MD5=a._createHelper(l),h.HmacMD5=a._createHmacHelper(l)}(Math)},function(t,e,i){"use strict";var r=i(0).CryptoJS;!function(){var t=r,e=t.lib,i=e.Base,n=e.WordArray,s=t.algo,h=s.MD5,o=s.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:h,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var i=this.cfg,r=i.hasher.create(),s=n.create(),h=s.words,o=i.keySize,c=i.iterations;h.length<o;){a&&r.update(a);var a=r.update(t).finalize(e);r.reset();for(var u=1;u<c;u++)a=r.finalize(a),r.reset();s.concat(a)}return s.sigBytes=4*o,s}});t.EvpKDF=function(t,e,i){return o.create(i).compute(t,e)}}()},function(t,e,i){"use strict";var r=i(0).CryptoJS;r.lib.Cipher||function(t){var e=r,i=e.lib,n=i.Base,s=i.WordArray,h=i.BufferedBlockAlgorithm,o=e.enc,c=(o.Utf8,o.Base64),a=e.algo.EvpKDF,u=i.Cipher=h.extend({cfg:n.extend(),createEncryptor:function(t,e){return this.create(this._ENC_XFORM_MODE,t,e)},createDecryptor:function(t,e){return this.create(this._DEC_XFORM_MODE,t,e)},init:function(t,e,i){this.cfg=this.cfg.extend(i),this._xformMode=t,this._key=e,this.reset()},reset:function(){h.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){t&&this._append(t);return this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function t(t){return"string"==typeof t?_:g}return function(e){return{encrypt:function(i,r,n){return t(r).encrypt(e,i,r,n)},decrypt:function(i,r,n){return t(r).decrypt(e,i,r,n)}}}}()}),f=(i.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),e.mode={}),l=i.BlockCipherMode=n.extend({createEncryptor:function(t,e){return this.Encryptor.create(t,e)},createDecryptor:function(t,e){return this.Decryptor.create(t,e)},init:function(t,e){this._cipher=t,this._iv=e}}),p=f.CBC=function(){function e(e,i,r){var n=this._iv;if(n){s=n;this._iv=t}else var s=this._prevBlock;for(var h=0;h<r;h++)e[i+h]^=s[h]}var i=l.extend();return i.Encryptor=i.extend({processBlock:function(t,i){var r=this._cipher,n=r.blockSize;e.call(this,t,i,n),r.encryptBlock(t,i),this._prevBlock=t.slice(i,i+n)}}),i.Decryptor=i.extend({processBlock:function(t,i){var r=this._cipher,n=r.blockSize,s=t.slice(i,i+n);r.decryptBlock(t,i),e.call(this,t,i,n),this._prevBlock=s}}),i}(),y=(e.pad={}).Pkcs7={pad:function(t,e){for(var i=4*e,r=i-t.sigBytes%i,n=r<<24|r<<16|r<<8|r,h=[],o=0;o<r;o+=4)h.push(n);var c=s.create(h,r);t.concat(c)},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},d=(i.BlockCipher=u.extend({cfg:u.cfg.extend({mode:p,padding:y}),reset:function(){u.reset.call(this);var t=this.cfg,e=t.iv,i=t.mode;if(this._xformMode==this._ENC_XFORM_MODE)r=i.createEncryptor;else{var r=i.createDecryptor;this._minBufferSize=1}this._mode=r.call(i,this,e&&e.words)},_doProcessBlock:function(t,e){this._mode.processBlock(t,e)},_doFinalize:function(){var t=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){t.pad(this._data,this.blockSize);e=this._process(!0)}else{var e=this._process(!0);t.unpad(e)}return e},blockSize:4}),i.CipherParams=n.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}})),v=(e.format={}).OpenSSL={stringify:function(t){var e=t.ciphertext,i=t.salt;if(i)r=s.create([1398893684,1701076831]).concat(i).concat(e);else var r=e;return r.toString(c)},parse:function(t){var e=c.parse(t),i=e.words;if(1398893684==i[0]&&1701076831==i[1]){var r=s.create(i.slice(2,4));i.splice(0,4),e.sigBytes-=16}return d.create({ciphertext:e,salt:r})}},g=i.SerializableCipher=n.extend({cfg:n.extend({format:v}),encrypt:function(t,e,i,r){r=this.cfg.extend(r);var n=t.createEncryptor(i,r),s=n.finalize(e),h=n.cfg;return d.create({ciphertext:s,key:i,iv:h.iv,algorithm:t,mode:h.mode,padding:h.padding,blockSize:t.blockSize,formatter:r.format})},decrypt:function(t,e,i,r){r=this.cfg.extend(r),e=this._parse(e,r.format);return t.createDecryptor(i,r).finalize(e.ciphertext)},_parse:function(t,e){return"string"==typeof t?e.parse(t,this):t}}),m=(e.kdf={}).OpenSSL={execute:function(t,e,i,r){r||(r=s.random(8));var n=a.create({keySize:e+i}).compute(t,r),h=s.create(n.words.slice(e),4*i);return n.sigBytes=4*e,d.create({key:n,iv:h,salt:r})}},_=i.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:m}),encrypt:function(t,e,i,r){var n=(r=this.cfg.extend(r)).kdf.execute(i,t.keySize,t.ivSize);r.iv=n.iv;var s=g.encrypt.call(this,t,e,n.key,r);return s.mixIn(n),s},decrypt:function(t,e,i,r){r=this.cfg.extend(r),e=this._parse(e,r.format);var n=r.kdf.execute(i,t.keySize,t.ivSize,e.salt);r.iv=n.iv;return g.decrypt.call(this,t,e,n.key,r)}})}()},function(t,e,i){"use strict";var r=i(0).CryptoJS;!function(){var t=r,e=t.lib.BlockCipher,i=t.algo,n=[],s=[],h=[],o=[],c=[],a=[],u=[],f=[],l=[],p=[];!function(){for(var t=[],e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var i=0,r=0,e=0;e<256;e++){var y=r^r<<1^r<<2^r<<3^r<<4;y=y>>>8^255&y^99,n[i]=y,s[y]=i;var d=t[i],v=t[d],g=t[v],m=257*t[y]^16843008*y;h[i]=m<<24|m>>>8,o[i]=m<<16|m>>>16,c[i]=m<<8|m>>>24,a[i]=m;m=16843009*g^65537*v^257*d^16843008*i;u[y]=m<<24|m>>>8,f[y]=m<<16|m>>>16,l[y]=m<<8|m>>>24,p[y]=m,i?(i=d^t[t[t[g^d]]],r^=t[t[r]]):i=r=1}}();var y=[0,1,2,4,8,16,32,64,128,27,54],d=i.AES=e.extend({_doReset:function(){for(var t=this._key,e=t.words,i=t.sigBytes/4,r=4*((this._nRounds=i+6)+1),s=this._keySchedule=[],h=0;h<r;h++)if(h<i)s[h]=e[h];else{a=s[h-1];h%i?i>6&&h%i==4&&(a=n[a>>>24]<<24|n[a>>>16&255]<<16|n[a>>>8&255]<<8|n[255&a]):(a=n[(a=a<<8|a>>>24)>>>24]<<24|n[a>>>16&255]<<16|n[a>>>8&255]<<8|n[255&a],a^=y[h/i|0]<<24),s[h]=s[h-i]^a}for(var o=this._invKeySchedule=[],c=0;c<r;c++){h=r-c;if(c%4)a=s[h];else var a=s[h-4];o[c]=c<4||h<=4?a:u[n[a>>>24]]^f[n[a>>>16&255]]^l[n[a>>>8&255]]^p[n[255&a]]}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,h,o,c,a,n)},decryptBlock:function(t,e){i=t[e+1];t[e+1]=t[e+3],t[e+3]=i,this._doCryptBlock(t,e,this._invKeySchedule,u,f,l,p,s);var i=t[e+1];t[e+1]=t[e+3],t[e+3]=i},_doCryptBlock:function(t,e,i,r,n,s,h,o){for(var c=this._nRounds,a=t[e]^i[0],u=t[e+1]^i[1],f=t[e+2]^i[2],l=t[e+3]^i[3],p=4,y=1;y<c;y++){var d=r[a>>>24]^n[u>>>16&255]^s[f>>>8&255]^h[255&l]^i[p++],v=r[u>>>24]^n[f>>>16&255]^s[l>>>8&255]^h[255&a]^i[p++],g=r[f>>>24]^n[l>>>16&255]^s[a>>>8&255]^h[255&u]^i[p++],m=r[l>>>24]^n[a>>>16&255]^s[u>>>8&255]^h[255&f]^i[p++];a=d,u=v,f=g,l=m}var d=(o[a>>>24]<<24|o[u>>>16&255]<<16|o[f>>>8&255]<<8|o[255&l])^i[p++],v=(o[u>>>24]<<24|o[f>>>16&255]<<16|o[l>>>8&255]<<8|o[255&a])^i[p++],g=(o[f>>>24]<<24|o[l>>>16&255]<<16|o[a>>>8&255]<<8|o[255&u])^i[p++],m=(o[l>>>24]<<24|o[a>>>16&255]<<16|o[u>>>8&255]<<8|o[255&f])^i[p++];t[e]=d,t[e+1]=v,t[e+2]=g,t[e+3]=m},keySize:8});t.AES=e._createHelper(d)}()},function(t,e,i){"use strict";var r=i(0).CryptoJS,n={stringify:function(t){var e={ct:t.ciphertext.toString(r.enc.Base64)};return t.iv&&(e.iv=t.iv.toString()),t.salt&&(e.s=t.salt.toString()),JSON.stringify(e)},parse:function(t){var e=JSON.parse(t),i=r.lib.CipherParams.create({ciphertext:r.enc.Base64.parse(e.ct)});return e.iv&&(i.iv=r.enc.Hex.parse(e.iv)),e.s&&(i.salt=r.enc.Hex.parse(e.s)),i}};e.JsonFormatter=n}]);
//# sourceMappingURL=fortuna.min.js.map