{"size": 3401, "ext": "js", "max_stars_repo_path": "index.min.js", "max_stars_repo_name": "GiDW/request-js", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "index.min.js", "max_issues_repo_name": "GiDW/request-js", "max_issues_repo_issues_event_min_datetime": "2020-03-17T08:13:30.000Z", "max_issues_repo_issues_event_max_datetime": "2021-11-02T13:47:10.000Z", "max_forks_repo_path": "index.min.js", "max_forks_repo_name": "GiDW/request-js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 5, "max_forks_count": null, "avg_line_length": 3401.0, "max_line_length": 3401, "alphanum_fraction": 0.6683328433}
!function(t){var b,E,x,S;function v(t,n){var r,o,s,e,a,u,i,f,c,l,d=!1,p=0,h=!1,m=!1,O=!1,R=null,g={abort:function(){R&&R.abort()}},y=w(t)?{url:t}:t&&w(t.url)?t:null;if(!y)return T({data:"",config:{url:""},status:0,statusText:"Invalid config",headers:"",requestStatus:v.ERROR}),g;if(e=(s=y).url,"number"==typeof s.timeout&&0<s.timeout&&(p=setTimeout(function(){d||(h=!0,R&&R.abort(),T({data:"",config:s,status:0,statusText:"",headers:"",requestStatus:v.TIMEOUT}))},s.timeout)),(R=new XMLHttpRequest).onreadystatechange=function(){var e;if(R&&4===R.readyState)if(r=1223===R.status?204:R.status,o="response"in R?R.response:R.responseText,0===r&&(r=o?200:"file:"===function(t){var e;e="function"==typeof URL?new URL(t):(S||"object"==typeof document&&document&&"function"==typeof document.createElement&&(S=document.createElement("a")),e=t,x&&(S.setAttribute("href",e),e=S.href),S.setAttribute("href",e),S);return{href:e.href,protocol:e.protocol,host:e.host,search:e.search,hash:e.hash,hostname:e.hostname,port:e.port,pathname:e.pathname}}(s.url).protocol?404:0),e={data:o,config:s,status:r,statusText:R.statusText||"",headers:R.getAllResponseHeaders(),requestStatus:""},200<=r&&r<300)if(!0===s.json&&w(o))try{e.data=JSON.parse(o),e.requestStatus=v.COMPLETED,T(null,e)}catch(t){e.requestStatus=v.ERROR,T(e)}else e.requestStatus=v.COMPLETED,T(null,e);else e.requestStatus=h?v.TIMEOUT:v.ERROR,T(e)},(y=function(t){var e,n,r,o,s,a;if(!j(t))return"";for(e=[],n=Object.keys(t),r=n.length,o=0;o<r;o++)s=encodeURIComponent(n[o]),q(a=t[s])||(Array.isArray(a)?function(t,e,n){var r,o,s;for(r=n.length,o=0;o<r;o++)q(s=n[o])||t.push(e+"="+encodeURIComponent(C(s)))}(e,s,a):e.push(s+"="+encodeURIComponent(C(a))));return e.join("&")}(s.params))&&(e+=0<e.indexOf("?")?"&":"?",e+=y),y=s.method?s.method.toUpperCase():"GET",R.open(y,e,!0),j(s.headers))for(u=(a=Object.keys(s.headers)).length,i=0;i<u;i++)c=(f=a[i]).toLowerCase(),l=""+s.headers[f],m||c!==b||(m=!0),O||c!==E||(O=!0),void 0!==l&&R.setRequestHeader(f,l);return m||R.setRequestHeader(b,"application/json, text/plain, */*"),"POST"!==y&&"PUT"!==y&&"PATCH"!==y||O||R.setRequestHeader(E,"application/json;charset=utf-8"),R.send(void 0!==s.data?s.data:null),g;function T(t,e){d||(d=!0,clearTimeout(p),function(){R&&(R.onreadystatechange=null);R=null}(),q(n)&&n(t,e))}}function j(t){return"object"==typeof t&&null!==t}function w(t){return"string"==typeof t&&0<t.length}function q(t){return"function"==typeof t}function C(t){return j(t)?"[object Date]"===Object.prototype.toString.call(t)?t.toISOString():JSON.stringify(t):t}function u(t,e,n){e&&(t[e]=t[e]?t[e]+", "+n:n)}b="accept",E="content-type",x=function(){var t,e;if("object"==typeof window&&window&&window.navigator){if(t=window.navigator.userAgent,0<(e=t.indexOf("MSIE ")))return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(0<(e=t.indexOf("Trident/")))return e=t.indexOf("rv:"),parseInt(t.substring(e+3,t.indexOf(".",e)),10)}return 0}(),v.parseHeaders=function(t){var e,n,r,o,s,a={};if(w(t))for(n=(e=t.trim().split("\n")).length,r=0;r<n;r++)s=(o=e[r]).indexOf(":"),u(a,o.substr(0,s).trim().toLowerCase(),o.substr(s+1).trim());else if(j(t))for(n=(e=Object.keys(t)).length,r=0;r<n;r++)u(a,(o=e[r]).toLowerCase(),t[o].trim());return a},v.ERROR="error",v.TIMEOUT="timeout",v.COMPLETED="completed","object"==typeof module&&module.exports?module.exports=v:t.RequestJs=v}("undefined"!=typeof self?self:this);