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