GT2/GT2-Android/node_modules/Base64/base64.min.js

1 line
581 B
JavaScript
Raw Normal View History

(function(){var t="undefined"!=typeof exports?exports:this,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",e=function(){try{document.createElement("$")}catch(t){return t}}();t.btoa||(t.btoa=function(t){for(var o,n,a=0,c=r,f="";t.charAt(0|a)||(c="=",a%1);f+=c.charAt(63&o>>8-8*(a%1))){if(n=t.charCodeAt(a+=.75),n>255)throw e;o=o<<8|n}return f}),t.atob||(t.atob=function(t){if(t=t.replace(/=+$/,""),1==t.length%4)throw e;for(var o,n,a=0,c=0,f="";n=t.charAt(c++);~n&&(o=a%4?64*o+n:n,a++%4)?f+=String.fromCharCode(255&o>>(6&-2*a)):0)n=r.indexOf(n);return f})})();