!function(n,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else if("object"==typeof exports)exports.JsCrypto=t();else{var e=t();for(var o in n.JsCrypto=n.JsCrypto||{},n.JsCrypto.mode=n.JsCrypto=n.JsCrypto||{},n.JsCrypto.mode,e)n.JsCrypto=n.JsCrypto||{},n.JsCrypto.mode[o]=e[o]}}(this,(function(){return function(){"use strict";var n={d:function(t,e){for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},o:function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r:function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"t",{value:!0})}},t={};n.r(t),n.d(t,{CTR:function(){return i}});var e,o=function(){function n(n){this.i=n,this.u=n.cipher,this.l=n.iv}return n.prototype.processBlock=function(n,t){},n.createEncryptor=function(n){throw new Error("Not implemented yet")},n.createDecryptor=function(n){throw new Error("Not implemented yet")},n}(),r=(e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])})(n,t)},function(n,t){function o(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),i=function(n){function t(t){var e=n.call(this,t)||this;return e.h=[],e}return r(t,n),t.createEncryptor=function(n){return new t.Encryptor(n)},t.createDecryptor=function(n){return new t.Decryptor(n)},t.Encryptor=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r(t,n),t.prototype.processBlock=function(n,t){var e=this.u,o=e.blockSize,r=this.l,i=this.h;r&&(i=this.h=r.words.slice(0),this.l=void 0);var u=i.slice(0);e.encryptBlock(u,0),i[o-1]=i[o-1]+1|0;for(var f=0;f<o;f++)n[t+f]^=u[f]},t}(t),t.Decryptor=t.Encryptor,t}(o);return t}()}));