{"size": 2164, "ext": "js", "max_stars_repo_path": "dist/jwt-decode.js", "max_stars_repo_name": "jrgleason/jwt-decode", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "dist/jwt-decode.js", "max_issues_repo_name": "jrgleason/jwt-decode", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "dist/jwt-decode.js", "max_forks_repo_name": "jrgleason/jwt-decode", "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": 2164.0, "max_line_length": 2164, "alphanum_fraction": 0.6876155268}
!function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=0)}([function(e,r,t){"use strict";function n(e){this.message=e}function o(e){this.message=e}t.r(r),n.prototype=new Error,n.prototype.name="InvalidCharacterError",o.prototype=new Error,o.prototype.name="InvalidTokenError";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function a(e){const r=String(e).replace(/=+$/,"");let t="";if(r.length%4==1)throw new n("'atob' failed: The string to be decoded is not correctly encoded.");for(let e,n,o=0,a=0;n=r.charAt(a++);~n&&(e=o%4?64*e+n:n,o++%4)?t+=String.fromCharCode(255&e>>(-2*o&6)):0)n=i.indexOf(n);return t}var c=function(e){var r=e.replace(/-/g,"+").replace(/_/g,"/");switch(r.length%4){case 0:break;case 2:r+="==";break;case 3:r+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(a(e).replace(/(.)/g,function(e,r){var t=r.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t}))}(r)}catch(e){return a(r)}};t.d(r,"decode",function(){return u}),t.d(r,"InvalidTokenError",function(){return o});const u=(e,r)=>{if("string"!=typeof e)throw new o("Invalid token specified");var t=!0===(r=r||{}).header?0:1;try{return JSON.parse(c(e.split(".")[t]))}catch(e){throw new o("Invalid token specified: "+e.message)}}}]);