(function(){function p(a){this.data="";this.read=0;if("string"===typeof a)this.data=a;else if(b.isArrayBuffer(a)||b.isArrayBufferView(a)){a=new Uint8Array(a);try{this.data=String.fromCharCode.apply(null,a)}catch(A){for(var c=0;c<a.length;++c)this.putByte(a[c])}}else if(a instanceof p||"object"===typeof a&&"string"===typeof a.data&&"number"===typeof a.read)this.data=a.data,this.read=a.read;this._constructedStringLength=0}function v(a,c,b){for(var e,d,h,m,g,k,f,r,n,l,t,q,u,p=b.length();64<=p;){for(g=
0;16>g;++g)c[g]=b.getInt32();for(;64>g;++g)e=c[g-2],e=(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10,d=c[g-15],d=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3,c[g]=e+c[g-7]+d+c[g-16]|0;k=a.h0;f=a.h1;r=a.h2;n=a.h3;l=a.h4;t=a.h5;q=a.h6;u=a.h7;for(g=0;64>g;++g)e=(l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7),h=q^l&(t^q),d=(k>>>2|k<<30)^(k>>>13|k<<19)^(k>>>22|k<<10),m=k&f|r&(k^f),e=u+e+h+w[g]+c[g],d+=m,u=q,q=t,t=l,l=n+e|0,n=r,r=f,f=k,k=e+d|0;a.h0=a.h0+k|0;a.h1=a.h1+f|0;a.h2=a.h2+r|0;a.h3=a.h3+n|0;a.h4=a.h4+l|0;a.h5=a.h5+t|0;
a.h6=a.h6+q|0;a.h7=a.h7+u|0;p-=64}}var m,x,f,b=m=m||{};b.isArrayBuffer=function(a){return"undefined"!==typeof ArrayBuffer&&a instanceof ArrayBuffer};b.isArrayBufferView=function(a){return a&&b.isArrayBuffer(a.buffer)&&void 0!==a.byteLength};b.ByteBuffer=p;b.ByteStringBuffer=p;b.ByteStringBuffer.prototype._optimizeConstructedString=function(a){this._constructedStringLength+=a;4096<this._constructedStringLength&&(this.data.substr(0,1),this._constructedStringLength=0)};b.ByteStringBuffer.prototype.length=
function(){return this.data.length-this.read};b.ByteStringBuffer.prototype.isEmpty=function(){return 0>=this.length()};b.ByteStringBuffer.prototype.putByte=function(a){return this.putBytes(String.fromCharCode(a))};b.ByteStringBuffer.prototype.fillWithByte=function(a,c){a=String.fromCharCode(a);for(var b=this.data;0<c;)c&1&&(b+=a),c>>>=1,0<c&&(a+=a);this.data=b;this._optimizeConstructedString(c);return this};b.ByteStringBuffer.prototype.putBytes=function(a){this.data+=a;this._optimizeConstructedString(a.length);
return this};b.ByteStringBuffer.prototype.putString=function(a){return this.putBytes(b.encodeUtf8(a))};b.ByteStringBuffer.prototype.putInt16=function(a){return this.putBytes(String.fromCharCode(a>>8&255)+String.fromCharCode(a&255))};b.ByteStringBuffer.prototype.putInt24=function(a){return this.putBytes(String.fromCharCode(a>>16&255)+String.fromCharCode(a>>8&255)+String.fromCharCode(a&255))};b.ByteStringBuffer.prototype.putInt32=function(a){return this.putBytes(String.fromCharCode(a>>24&255)+String.fromCharCode(a>>
16&255)+String.fromCharCode(a>>8&255)+String.fromCharCode(a&255))};b.ByteStringBuffer.prototype.putInt16Le=function(a){return this.putBytes(String.fromCharCode(a&255)+String.fromCharCode(a>>8&255))};b.ByteStringBuffer.prototype.putInt24Le=function(a){return this.putBytes(String.fromCharCode(a&255)+String.fromCharCode(a>>8&255)+String.fromCharCode(a>>16&255))};b.ByteStringBuffer.prototype.putInt32Le=function(a){return this.putBytes(String.fromCharCode(a&255)+String.fromCharCode(a>>8&255)+String.fromCharCode(a>>
16&255)+String.fromCharCode(a>>24&255))};b.ByteStringBuffer.prototype.putInt=function(a,c){var b="";do c-=8,b+=String.fromCharCode(a>>c&255);while(0<c);return this.putBytes(b)};b.ByteStringBuffer.prototype.putSignedInt=function(a,c){0>a&&(a+=2<<c-1);return this.putInt(a,c)};b.ByteStringBuffer.prototype.putBuffer=function(a){return this.putBytes(a.getBytes())};b.ByteStringBuffer.prototype.getByte=function(){return this.data.charCodeAt(this.read++)};b.ByteStringBuffer.prototype.getInt16=function(){var a=
this.data.charCodeAt(this.read)<<8^this.data.charCodeAt(this.read+1);this.read+=2;return a};b.ByteStringBuffer.prototype.getInt24=function(){var a=this.data.charCodeAt(this.read)<<16^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2);this.read+=3;return a};b.ByteStringBuffer.prototype.getInt32=function(){var a=this.data.charCodeAt(this.read)<<24^this.data.charCodeAt(this.read+1)<<16^this.data.charCodeAt(this.read+2)<<8^this.data.charCodeAt(this.read+3);this.read+=4;return a};b.ByteStringBuffer.prototype.getInt16Le=
function(){var a=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8;this.read+=2;return a};b.ByteStringBuffer.prototype.getInt24Le=function(){var a=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2)<<16;this.read+=3;return a};b.ByteStringBuffer.prototype.getInt32Le=function(){var a=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2)<<16^this.data.charCodeAt(this.read+3)<<24;this.read+=
4;return a};b.ByteStringBuffer.prototype.getInt=function(a){var c=0;do c=(c<<8)+this.data.charCodeAt(this.read++),a-=8;while(0<a);return c};b.ByteStringBuffer.prototype.getSignedInt=function(a){var c=this.getInt(a);a=2<<a-2;c>=a&&(c-=a<<1);return c};b.ByteStringBuffer.prototype.getBytes=function(a){var c;a?(a=Math.min(this.length(),a),c=this.data.slice(this.read,this.read+a),this.read+=a):0===a?c="":(c=0===this.read?this.data:this.data.slice(this.read),this.clear());return c};b.ByteStringBuffer.prototype.bytes=
function(a){return"undefined"===typeof a?this.data.slice(this.read):this.data.slice(this.read,this.read+a)};b.ByteStringBuffer.prototype.at=function(a){return this.data.charCodeAt(this.read+a)};b.ByteStringBuffer.prototype.setAt=function(a,c){this.data=this.data.substr(0,this.read+a)+String.fromCharCode(c)+this.data.substr(this.read+a+1);return this};b.ByteStringBuffer.prototype.last=function(){return this.data.charCodeAt(this.data.length-1)};b.ByteStringBuffer.prototype.copy=function(){var a=b.createBuffer(this.data);
a.read=this.read;return a};b.ByteStringBuffer.prototype.compact=function(){0<this.read&&(this.data=this.data.slice(this.read),this.read=0);return this};b.ByteStringBuffer.prototype.clear=function(){this.data="";this.read=0;return this};b.ByteStringBuffer.prototype.truncate=function(a){a=Math.max(0,this.length()-a);this.data=this.data.substr(this.read,a);this.read=0;return this};b.ByteStringBuffer.prototype.toHex=function(){for(var a="",c=this.read;c<this.data.length;++c){var b=this.data.charCodeAt(c);
16>b&&(a+="0");a+=b.toString(16)}return a};b.ByteStringBuffer.prototype.toString=function(){return b.decodeUtf8(this.bytes())};b.createBuffer=function(a,c){void 0!==a&&"utf8"===(c||"raw")&&(a=b.encodeUtf8(a));return new b.ByteBuffer(a)};b.fillString=function(a,c){for(var b="";0<c;)c&1&&(b+=a),c>>>=1,0<c&&(a+=a);return b};b.encodeUtf8=function(a){return unescape(encodeURIComponent(a))};b.decodeUtf8=function(a){return decodeURIComponent(escape(a))};var y=x=x||{};f=f||{};f.algorithms=f.algorithms||{};
f.sha256=f.algorithms.sha256=y;y.create=function(){z||(n=String.fromCharCode(128),n+=m.fillString(String.fromCharCode(0),64),w=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,
1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],z=!0);var a=null,b=m.createBuffer(),f=Array(64),e={algorithm:"sha256",blockLength:64,digestLength:32,messageLength:0,messageLength64:[0,0],start:function(){e.messageLength=0;e.messageLength64=
[0,0];b=m.createBuffer();a={h0:1779033703,h1:3144134277,h2:1013904242,h3:2773480762,h4:1359893119,h5:2600822924,h6:528734635,h7:1541459225};return e}};e.start();e.update=function(d,h){"utf8"===h&&(d=m.encodeUtf8(d));e.messageLength+=d.length;e.messageLength64[0]+=d.length/4294967296>>>0;e.messageLength64[1]+=d.length>>>0;b.putBytes(d);v(a,f,b);(2048<b.read||0===b.length())&&b.compact();return e};e.digest=function(){var d=m.createBuffer();d.putBytes(b.bytes());d.putBytes(n.substr(0,64-(e.messageLength64[1]+
8&63)));d.putInt32(e.messageLength64[0]<<3|e.messageLength64[0]>>>28);d.putInt32(e.messageLength64[1]<<3);var h={h0:a.h0,h1:a.h1,h2:a.h2,h3:a.h3,h4:a.h4,h5:a.h5,h6:a.h6,h7:a.h7};v(h,f,d);d=m.createBuffer();d.putInt32(h.h0);d.putInt32(h.h1);d.putInt32(h.h2);d.putInt32(h.h3);d.putInt32(h.h4);d.putInt32(h.h5);d.putInt32(h.h6);d.putInt32(h.h7);return d};return e};var n=null,z=!1,w=null;b.hasWideChar=function(a){for(var b=0;b<a.length;b++)if(a.charCodeAt(b)>>>8)return!0;return!1};window.forge_sha256=function(a){var c=
f.sha256.create();c.update(a,b.hasWideChar(a)?"utf8":void 0);return c.digest().toHex()}})();
