{"size": 3165, "ext": "js", "max_stars_repo_path": "dist/base32.min.js", "max_stars_repo_name": "gradecam/base32js", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "dist/base32.min.js", "max_issues_repo_name": "gradecam/base32js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "dist/base32.min.js", "max_forks_repo_name": "gradecam/base32js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 1582.5, "max_line_length": 3126, "alphanum_fraction": 0.72164297}
this.base32=function(t){var r={};function e(a){if(r[a])return r[a].exports;var i=r[a]={i:a,l:!1,exports:{}};return t[a].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=r,e.d=function(t,r,a){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:a})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(e.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var i in t)e.d(a,i,function(r){return t[r]}.bind(null,i));return a},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=0)}([function(t,r,e){"use strict";function a(t,r){return r||(r={}),t.split("").forEach((function(t,e){t in r||(r[t]=e)})),r}const i={alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",charmap:{0:14,1:8}};i.charmap=a(i.alphabet,i.charmap);const h={alphabet:"0123456789ABCDEFGHJKMNPQRSTVWXYZ",charmap:{O:0,I:1,L:1}};h.charmap=a(h.alphabet,h.charmap);const c={alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",charmap:{}};function n(t){if(this.buf=[],this.shift=8,this.carry=0,t){switch(t.type){case"rfc4648":this.charmap=r.rfc4648.charmap;break;case"crockford":this.charmap=r.crockford.charmap;break;case"base32hex":this.charmap=r.base32hex.charmap;break;default:throw new Error("invalid type")}t.charmap&&(this.charmap=t.charmap)}}function s(t){if(this.buf="",this.shift=3,this.carry=0,t){switch(t.type){case"rfc4648":this.alphabet=r.rfc4648.alphabet;break;case"crockford":this.alphabet=r.crockford.alphabet;break;case"base32hex":this.alphabet=r.base32hex.alphabet;break;default:throw new Error("invalid type")}t.alphabet?this.alphabet=t.alphabet:t.lc&&(this.alphabet=this.alphabet.toLowerCase())}}c.charmap=a(c.alphabet,c.charmap),n.prototype.charmap=i.charmap,n.prototype.write=function(t){const r=this.charmap,e=this.buf;let a=this.shift,i=this.carry;for(const h of t.toUpperCase().split("")){if("="==h)continue;const t=255&r[h];a-=5,a>0?i|=t<<a:a<0?(e.push(i|t>>-a),a+=8,i=t<<a&255):(e.push(i|t),a=8,i=0)}return this.shift=a,this.carry=i,this},n.prototype.finalize=function(t){return t&&this.write(t),8!==this.shift&&0!==this.carry&&(this.buf.push(this.carry),this.shift=8,this.carry=0),this.buf},s.prototype.alphabet=i.alphabet,s.prototype.write=function(t){let r,e=this.shift,a=this.carry;for(let i=0;i<t.length;i++){const h=t[i];r=a|h>>e,this.buf+=this.alphabet[31&r],e>5&&(e-=5,r=h>>e,this.buf+=this.alphabet[31&r]),e=5-e,a=h<<e,e=8-e}return this.shift=e,this.carry=a,this},s.prototype.finalize=function(t){return t&&this.write(t),3!==this.shift&&(this.buf+=this.alphabet[31&this.carry],this.shift=3,this.carry=0),this.buf},r.encode=function(t,r){return new s(r).finalize(t)},r.decode=function(t,r){return new n(r).finalize(t)},r.Decoder=n,r.Encoder=s,r.charmap=a,r.crockford=h,r.rfc4648=i,r.base32hex=c}]);
//# sourceMappingURL=base32.min.js.map