-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1 lines (1 loc) · 24.3 KB
/
index.html
1
<!DOCTYPE html><html><head><title>npmdocs.github.io</title><meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0" name="viewport"><meta charset=utf-8><body><script>!function t(e,r,n){function o(i,a){if(!r[i]){if(!e[i]){var h="function"==typeof require&&require;if(!a&&h)return h(i,!0);if(s)return s(i,!0);var u=new Error("Cannot find module '"+i+"'");throw u.code="MODULE_NOT_FOUND",u}var c=r[i]={exports:{}};e[i][0].call(c.exports,function(t){var r=e[i][1][t];return o(r?r:t)},c,c.exports,t,e,r,n)}return r[i].exports}for(var s="function"==typeof require&&require,i=0;i<n.length;i++)o(n[i]);return o}({1:[function(t){"use strict";t("es6-promise").polyfill(),t("whatwg-fetch");var e=t("url"),r=t("querystring").parse,n=t("github-url-from-git"),o="http://104.245.32.179:3000",s=r(window.location.search.slice(1)).q;s?window.fetch(e.resolve(o,s)).then(function(t){return t.status>=400?void document.write(t.status<500?"Package does not exist":"Internal server error"):t.json()}).then(function(t){if(!t.repository)return document.write("Package does not have a repository");var e=n(t.repository.url);document.write("Redirecting to "+e+"..."),window.location.replace(e)}):document.write('<form method="get"><input type="text" name="q"><input type="submit" value="Go"></form><small>Learn more: <a href="https://github.com/npmdocs/www">https://github.com/npmdocs/www</a></small>')},{"es6-promise":8,"github-url-from-git":9,querystring:6,url:7,"whatwg-fetch":10}],2:[function(t,e){function r(){if(!i){i=!0;for(var t,e=s.length;e;){t=s,s=[];for(var r=-1;++r<e;)t[r]();e=s.length}i=!1}}function n(){}var o=e.exports={},s=[],i=!1;o.nextTick=function(t){s.push(t),i||setTimeout(r,0)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=n,o.addListener=n,o.once=n,o.off=n,o.removeListener=n,o.removeAllListeners=n,o.emit=n,o.binding=function(){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],3:[function(t,e,r){(function(t){!function(n){function o(t){throw RangeError(U[t])}function s(t,e){for(var r=t.length;r--;)t[r]=e(t[r]);return t}function i(t,e){return s(t.split(I),e).join(".")}function a(t){for(var e,r,n=[],o=0,s=t.length;s>o;)e=t.charCodeAt(o++),e>=55296&&56319>=e&&s>o?(r=t.charCodeAt(o++),56320==(64512&r)?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),o--)):n.push(e);return n}function h(t){return s(t,function(t){var e="";return t>65535&&(t-=65536,e+=F(t>>>10&1023|55296),t=56320|1023&t),e+=F(t)}).join("")}function u(t){return 10>t-48?t-22:26>t-65?t-65:26>t-97?t-97:j}function c(t,e){return t+22+75*(26>t)-((0!=e)<<5)}function f(t,e,r){var n=0;for(t=r?k(t/O):t>>1,t+=k(t/e);t>D*A>>1;n+=j)t=k(t/D);return k(n+(D+1)*t/(t+E))}function l(t){var e,r,n,s,i,a,c,l,p,d,m=[],y=t.length,v=0,b=R,w=T;for(r=t.lastIndexOf(q),0>r&&(r=0),n=0;r>n;++n)t.charCodeAt(n)>=128&&o("not-basic"),m.push(t.charCodeAt(n));for(s=r>0?r+1:0;y>s;){for(i=v,a=1,c=j;s>=y&&o("invalid-input"),l=u(t.charCodeAt(s++)),(l>=j||l>k((_-v)/a))&&o("overflow"),v+=l*a,p=w>=c?x:c>=w+A?A:c-w,!(p>l);c+=j)d=j-p,a>k(_/d)&&o("overflow"),a*=d;e=m.length+1,w=f(v-i,e,0==i),k(v/e)>_-b&&o("overflow"),b+=k(v/e),v%=e,m.splice(v++,0,b)}return h(m)}function p(t){var e,r,n,s,i,h,u,l,p,d,m,y,v,b,w,g=[];for(t=a(t),y=t.length,e=R,r=0,i=T,h=0;y>h;++h)m=t[h],128>m&&g.push(F(m));for(n=s=g.length,s&&g.push(q);y>n;){for(u=_,h=0;y>h;++h)m=t[h],m>=e&&u>m&&(u=m);for(v=n+1,u-e>k((_-r)/v)&&o("overflow"),r+=(u-e)*v,e=u,h=0;y>h;++h)if(m=t[h],e>m&&++r>_&&o("overflow"),m==e){for(l=r,p=j;d=i>=p?x:p>=i+A?A:p-i,!(d>l);p+=j)w=l-d,b=j-d,g.push(F(c(d+w%b,0))),l=k(w/b);g.push(F(c(l,0))),i=f(r,v,n==s),r=0,++n}++r,++e}return g.join("")}function d(t){return i(t,function(t){return C.test(t)?l(t.slice(4).toLowerCase()):t})}function m(t){return i(t,function(t){return P.test(t)?"xn--"+p(t):t})}var y="object"==typeof r&&r,v="object"==typeof e&&e&&e.exports==y&&e,b="object"==typeof t&&t;(b.global===b||b.window===b)&&(n=b);var w,g,_=2147483647,j=36,x=1,A=26,E=38,O=700,T=72,R=128,q="-",C=/^xn--/,P=/[^ -~]/,I=/\x2E|\u3002|\uFF0E|\uFF61/g,U={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},D=j-x,k=Math.floor,F=String.fromCharCode;if(w={version:"1.2.4",ucs2:{decode:a,encode:h},decode:l,encode:p,toASCII:m,toUnicode:d},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return w});else if(y&&!y.nodeType)if(v)v.exports=w;else for(g in w)w.hasOwnProperty(g)&&(y[g]=w[g]);else n.punycode=w}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(t,e){"use strict";function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.exports=function(t,e,o,s){e=e||"&",o=o||"=";var i={};if("string"!=typeof t||0===t.length)return i;var a=/\+/g;t=t.split(e);var h=1e3;s&&"number"==typeof s.maxKeys&&(h=s.maxKeys);var u=t.length;h>0&&u>h&&(u=h);for(var c=0;u>c;++c){var f,l,p,d,m=t[c].replace(a,"%20"),y=m.indexOf(o);y>=0?(f=m.substr(0,y),l=m.substr(y+1)):(f=m,l=""),p=decodeURIComponent(f),d=decodeURIComponent(l),r(i,p)?n(i[p])?i[p].push(d):i[p]=[i[p],d]:i[p]=d}return i};var n=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},{}],5:[function(t,e){"use strict";function r(t,e){if(t.map)return t.map(e);for(var r=[],n=0;n<t.length;n++)r.push(e(t[n],n));return r}var n=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};e.exports=function(t,e,i,a){return e=e||"&",i=i||"=",null===t&&(t=void 0),"object"==typeof t?r(s(t),function(s){var a=encodeURIComponent(n(s))+i;return o(t[s])?r(t[s],function(t){return a+encodeURIComponent(n(t))}).join(e):a+encodeURIComponent(n(t[s]))}).join(e):a?encodeURIComponent(n(a))+i+encodeURIComponent(n(t)):""};var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},s=Object.keys||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.push(r);return e}},{}],6:[function(t,e,r){"use strict";r.decode=r.parse=t("./decode"),r.encode=r.stringify=t("./encode")},{"./decode":4,"./encode":5}],7:[function(t,e,r){function n(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function o(t,e,r){if(t&&u(t)&&t instanceof n)return t;var o=new n;return o.parse(t,e,r),o}function s(t){return h(t)&&(t=o(t)),t instanceof n?t.format():n.prototype.format.call(t)}function i(t,e){return o(t,!1,!0).resolve(e)}function a(t,e){return t?o(t,!1,!0).resolveObject(e):e}function h(t){return"string"==typeof t}function u(t){return"object"==typeof t&&null!==t}function c(t){return null===t}function f(t){return null==t}var l=t("punycode");r.parse=o,r.resolve=i,r.resolveObject=a,r.format=s,r.Url=n;var p=/^([a-z0-9.+-]+:)/i,d=/:[0-9]*$/,m=["<",">",'"',"`"," ","\r","\n"," "],y=["{","}","|","\\","^","`"].concat(m),v=["'"].concat(y),b=["%","/","?",";","#"].concat(v),w=["/","?","#"],g=255,_=/^[a-z0-9A-Z_-]{0,63}$/,j=/^([a-z0-9A-Z_-]{0,63})(.*)$/,x={javascript:!0,"javascript:":!0},A={javascript:!0,"javascript:":!0},E={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},O=t("querystring");n.prototype.parse=function(t,e,r){if(!h(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t;n=n.trim();var o=p.exec(n);if(o){o=o[0];var s=o.toLowerCase();this.protocol=s,n=n.substr(o.length)}if(r||o||n.match(/^\/\/[^@\/]+@[^@\/]+/)){var i="//"===n.substr(0,2);!i||o&&A[o]||(n=n.substr(2),this.slashes=!0)}if(!A[o]&&(i||o&&!E[o])){for(var a=-1,u=0;u<w.length;u++){var c=n.indexOf(w[u]);-1!==c&&(-1===a||a>c)&&(a=c)}var f,d;d=-1===a?n.lastIndexOf("@"):n.lastIndexOf("@",a),-1!==d&&(f=n.slice(0,d),n=n.slice(d+1),this.auth=decodeURIComponent(f)),a=-1;for(var u=0;u<b.length;u++){var c=n.indexOf(b[u]);-1!==c&&(-1===a||a>c)&&(a=c)}-1===a&&(a=n.length),this.host=n.slice(0,a),n=n.slice(a),this.parseHost(),this.hostname=this.hostname||"";var m="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!m)for(var y=this.hostname.split(/\./),u=0,T=y.length;T>u;u++){var R=y[u];if(R&&!R.match(_)){for(var q="",C=0,P=R.length;P>C;C++)q+=R.charCodeAt(C)>127?"x":R[C];if(!q.match(_)){var I=y.slice(0,u),U=y.slice(u+1),D=R.match(j);D&&(I.push(D[1]),U.unshift(D[2])),U.length&&(n="/"+U.join(".")+n),this.hostname=I.join(".");break}}}if(this.hostname=this.hostname.length>g?"":this.hostname.toLowerCase(),!m){for(var k=this.hostname.split("."),F=[],u=0;u<k.length;++u){var B=k[u];F.push(B.match(/[^A-Za-z0-9_-]/)?"xn--"+l.encode(B):B)}this.hostname=F.join(".")}var S=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+S,this.href+=this.host,m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==n[0]&&(n="/"+n))}if(!x[s])for(var u=0,T=v.length;T>u;u++){var H=v[u],M=encodeURIComponent(H);M===H&&(M=escape(H)),n=n.split(H).join(M)}var N=n.indexOf("#");-1!==N&&(this.hash=n.substr(N),n=n.slice(0,N));var $=n.indexOf("?");if(-1!==$?(this.search=n.substr($),this.query=n.substr($+1),e&&(this.query=O.parse(this.query)),n=n.slice(0,$)):e&&(this.search="",this.query={}),n&&(this.pathname=n),E[s]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var S=this.pathname||"",B=this.search||"";this.path=S+B}return this.href=this.format(),this},n.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,s="";this.host?o=t+this.host:this.hostname&&(o=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&u(this.query)&&Object.keys(this.query).length&&(s=O.stringify(this.query));var i=this.search||s&&"?"+s||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||E[e])&&o!==!1?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),n&&"#"!==n.charAt(0)&&(n="#"+n),i&&"?"!==i.charAt(0)&&(i="?"+i),r=r.replace(/[?#]/g,function(t){return encodeURIComponent(t)}),i=i.replace("#","%23"),e+o+r+i+n},n.prototype.resolve=function(t){return this.resolveObject(o(t,!1,!0)).format()},n.prototype.resolveObject=function(t){if(h(t)){var e=new n;e.parse(t,!1,!0),t=e}var r=new n;if(Object.keys(this).forEach(function(t){r[t]=this[t]},this),r.hash=t.hash,""===t.href)return r.href=r.format(),r;if(t.slashes&&!t.protocol)return Object.keys(t).forEach(function(e){"protocol"!==e&&(r[e]=t[e])}),E[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r;if(t.protocol&&t.protocol!==r.protocol){if(!E[t.protocol])return Object.keys(t).forEach(function(e){r[e]=t[e]}),r.href=r.format(),r;if(r.protocol=t.protocol,t.host||A[t.protocol])r.pathname=t.pathname;else{for(var o=(t.pathname||"").split("/");o.length&&!(t.host=o.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==o[0]&&o.unshift(""),o.length<2&&o.unshift(""),r.pathname=o.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var s=r.pathname||"",i=r.search||"";r.path=s+i}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var a=r.pathname&&"/"===r.pathname.charAt(0),u=t.host||t.pathname&&"/"===t.pathname.charAt(0),l=u||a||r.host&&t.pathname,p=l,d=r.pathname&&r.pathname.split("/")||[],o=t.pathname&&t.pathname.split("/")||[],m=r.protocol&&!E[r.protocol];if(m&&(r.hostname="",r.port=null,r.host&&(""===d[0]?d[0]=r.host:d.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===o[0]?o[0]=t.host:o.unshift(t.host)),t.host=null),l=l&&(""===o[0]||""===d[0])),u)r.host=t.host||""===t.host?t.host:r.host,r.hostname=t.hostname||""===t.hostname?t.hostname:r.hostname,r.search=t.search,r.query=t.query,d=o;else if(o.length)d||(d=[]),d.pop(),d=d.concat(o),r.search=t.search,r.query=t.query;else if(!f(t.search)){if(m){r.hostname=r.host=d.shift();var y=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;y&&(r.auth=y.shift(),r.host=r.hostname=y.shift())}return r.search=t.search,r.query=t.query,c(r.pathname)&&c(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!d.length)return r.pathname=null,r.path=r.search?"/"+r.search:null,r.href=r.format(),r;for(var v=d.slice(-1)[0],b=(r.host||t.host)&&("."===v||".."===v)||""===v,w=0,g=d.length;g>=0;g--)v=d[g],"."==v?d.splice(g,1):".."===v?(d.splice(g,1),w++):w&&(d.splice(g,1),w--);if(!l&&!p)for(;w--;w)d.unshift("..");!l||""===d[0]||d[0]&&"/"===d[0].charAt(0)||d.unshift(""),b&&"/"!==d.join("/").substr(-1)&&d.push("");var _=""===d[0]||d[0]&&"/"===d[0].charAt(0);if(m){r.hostname=r.host=_?"":d.length?d.shift():"";var y=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;y&&(r.auth=y.shift(),r.host=r.hostname=y.shift())}return l=l||r.host&&d.length,l&&!_&&d.unshift(""),d.length?r.pathname=d.join("/"):(r.pathname=null,r.path=null),c(r.pathname)&&c(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var t=this.host,e=d.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},{punycode:3,querystring:6}],8:[function(t,e){(function(t,r){(function(){"use strict";function n(t){return"function"==typeof t||"object"==typeof t&&null!==t}function o(t){return"function"==typeof t}function s(t){return"object"==typeof t&&null!==t}function i(){}function a(){return function(){t.nextTick(f)}}function h(){var t=0,e=new H(f),r=document.createTextNode("");return e.observe(r,{characterData:!0}),function(){r.data=t=++t%2}}function u(){var t=new MessageChannel;return t.port1.onmessage=f,function(){t.port2.postMessage(0)}}function c(){return function(){setTimeout(f,1)}}function f(){for(var t=0;B>t;t+=2){var e=N[t],r=N[t+1];e(r),N[t]=void 0,N[t+1]=void 0}B=0}function l(){}function p(){return new TypeError("You cannot resolve a promise with itself")}function d(){return new TypeError("A promises callback cannot return that same promise.")}function m(t){try{return t.then}catch(e){return K.error=e,K}}function y(t,e,r,n){try{t.call(e,r,n)}catch(o){return o}}function v(t,e,r){S(function(t){var n=!1,o=y(r,e,function(r){n||(n=!0,e!==r?g(t,r):j(t,r))},function(e){n||(n=!0,x(t,e))},"Settle: "+(t._label||" unknown promise"));!n&&o&&(n=!0,x(t,o))},t)}function b(t,e){e._state===z?j(t,e._result):t._state===G?x(t,e._result):A(e,void 0,function(e){g(t,e)},function(e){x(t,e)})}function w(t,e){if(e.constructor===t.constructor)b(t,e);else{var r=m(e);r===K?x(t,K.error):void 0===r?j(t,e):o(r)?v(t,e,r):j(t,e)}}function g(t,e){t===e?x(t,p()):n(e)?w(t,e):j(t,e)}function _(t){t._onerror&&t._onerror(t._result),E(t)}function j(t,e){t._state===$&&(t._result=e,t._state=z,0===t._subscribers.length||S(E,t))}function x(t,e){t._state===$&&(t._state=G,t._result=e,S(_,t))}function A(t,e,r,n){var o=t._subscribers,s=o.length;t._onerror=null,o[s]=e,o[s+z]=r,o[s+G]=n,0===s&&t._state&&S(E,t)}function E(t){var e=t._subscribers,r=t._state;if(0!==e.length){for(var n,o,s=t._result,i=0;i<e.length;i+=3)n=e[i],o=e[i+r],n?R(r,n,o,s):o(s);t._subscribers.length=0}}function O(){this.error=null}function T(t,e){try{return t(e)}catch(r){return X.error=r,X}}function R(t,e,r,n){var s,i,a,h,u=o(r);if(u){if(s=T(r,n),s===X?(h=!0,i=s.error,s=null):a=!0,e===s)return void x(e,d())}else s=n,a=!0;e._state!==$||(u&&a?g(e,s):h?x(e,i):t===z?j(e,s):t===G&&x(e,s))}function q(t,e){try{e(function(e){g(t,e)},function(e){x(t,e)})}catch(r){x(t,r)}}function C(t,e,r,n){this._instanceConstructor=t,this.promise=new t(l,n),this._abortOnReject=r,this._validateInput(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._init(),0===this.length?j(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&j(this.promise,this._result))):x(this.promise,this._validationError())}function P(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function I(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function U(t){this._id=V++,this._state=void 0,this._result=void 0,this._subscribers=[],l!==t&&(o(t)||P(),this instanceof U||I(),q(this,t))}var D;D=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var k,F=D,B=(Date.now||function(){return(new Date).getTime()},Object.create||function(t){if(arguments.length>1)throw new Error("Second argument not supported");if("object"!=typeof t)throw new TypeError("Argument must be an object");return i.prototype=t,new i},0),S=function(t,e){N[B]=t,N[B+1]=e,B+=2,2===B&&k()},L="undefined"!=typeof window?window:{},H=L.MutationObserver||L.WebKitMutationObserver,M="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,N=new Array(1e3);k="undefined"!=typeof t&&"[object process]"==={}.toString.call(t)?a():H?h():M?u():c();var $=void 0,z=1,G=2,K=new O,X=new O;C.prototype._validateInput=function(t){return F(t)},C.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},C.prototype._init=function(){this._result=new Array(this.length)};var Y=C;C.prototype._enumerate=function(){for(var t=this.length,e=this.promise,r=this._input,n=0;e._state===$&&t>n;n++)this._eachEntry(r[n],n)},C.prototype._eachEntry=function(t,e){var r=this._instanceConstructor;s(t)?t.constructor===r&&t._state!==$?(t._onerror=null,this._settledAt(t._state,e,t._result)):this._willSettleAt(r.resolve(t),e):(this._remaining--,this._result[e]=this._makeResult(z,e,t))},C.prototype._settledAt=function(t,e,r){var n=this.promise;n._state===$&&(this._remaining--,this._abortOnReject&&t===G?x(n,r):this._result[e]=this._makeResult(t,e,r)),0===this._remaining&&j(n,this._result)},C.prototype._makeResult=function(t,e,r){return r},C.prototype._willSettleAt=function(t,e){var r=this;A(t,void 0,function(t){r._settledAt(z,e,t)},function(t){r._settledAt(G,e,t)})};var Z=function(t,e){return new Y(this,t,!0,e).promise},J=function(t,e){function r(t){g(s,t)}function n(t){x(s,t)}var o=this,s=new o(l,e);if(!F(t))return x(s,new TypeError("You must pass an array to race.")),s;for(var i=t.length,a=0;s._state===$&&i>a;a++)A(o.resolve(t[a]),void 0,r,n);return s},W=function(t,e){var r=this;if(t&&"object"==typeof t&&t.constructor===r)return t;var n=new r(l,e);return g(n,t),n},Q=function(t,e){var r=this,n=new r(l,e);return x(n,t),n},V=0,tt=U;U.all=Z,U.race=J,U.resolve=W,U.reject=Q,U.prototype={constructor:U,then:function(t,e){var r=this,n=r._state;if(n===z&&!t||n===G&&!e)return this;var o=new this.constructor(l),s=r._result;if(n){var i=arguments[n-1];S(function(){R(n,o,i,s)})}else A(r,o,t,e);return o},"catch":function(t){return this.then(null,t)}};var et=function(){var t;t="undefined"!=typeof r?r:"undefined"!=typeof window&&window.document?window:self;var e="Promise"in t&&"resolve"in t.Promise&&"reject"in t.Promise&&"all"in t.Promise&&"race"in t.Promise&&function(){var e;return new t.Promise(function(t){e=t}),o(e)}();e||(t.Promise=tt)},rt={Promise:tt,polyfill:et};"function"==typeof define&&define.amd?define(function(){return rt}):"undefined"!=typeof e&&e.exports?e.exports=rt:"undefined"!=typeof this&&(this.ES6Promise=rt)}).call(this)}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:2}],9:[function(t,e){function r(t,e){try{var r=n(e).exec(t.replace(/\.git(#.*)?$/,"")),o=r[1],s=r[2];return"https://"+o+"/"+s}catch(i){}}function n(t){t=t||{};var e=["gist.github.com","github.com"].concat(t.extraBaseUrls||[]);return new RegExp(/^(?:https?:\/\/|git:\/\/|git\+ssh:\/\/|git\+https:\/\/)?(?:[^@]+@)?/.source+"("+e.join("|")+")"+/[:\/]([^\/]+\/[^\/]+?|[0-9]+)$/.source)}r.re=n(),e.exports=r},{}],10:[function(){!function(){"use strict";function t(t){if("string"!=typeof t&&(t=t.toString()),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function e(t){return"string"!=typeof t&&(t=t.toString()),t}function r(t){this.map={};var e=this;t instanceof r?t.forEach(function(t,r){r.forEach(function(r){e.append(t,r)})}):t&&Object.getOwnPropertyNames(t).forEach(function(r){e.append(r,t[r])})}function n(t){return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function o(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function s(t){var e=new FileReader;return e.readAsArrayBuffer(t),o(e)}function i(t){var e=new FileReader;return e.readAsText(t),o(e)}function a(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,"string"==typeof t)this._bodyText=t;else if(p.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(p.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else{if(t)throw new Error("unsupported BodyInit type");this._bodyText=""}},p.blob?(this.blob=function(){var t=n(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(s)},this.text=function(){var t=n(this);if(t)return t;if(this._bodyBlob)return i(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var t=n(this);return t?t:Promise.resolve(this._bodyText)},p.formData&&(this.formData=function(){return this.text().then(c)}),this.json=function(){return this.text().then(JSON.parse)},this}function h(t){var e=t.toUpperCase();return d.indexOf(e)>-1?e:t}function u(t,e){if(e=e||{},this.url=t,this.credentials=e.credentials||"omit",this.headers=new r(e.headers),this.method=h(e.method||"GET"),this.mode=e.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&e.body)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(e.body)}function c(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function f(t){var e=new r,n=t.getAllResponseHeaders().trim().split("\n");return n.forEach(function(t){var r=t.trim().split(":"),n=r.shift().trim(),o=r.join(":").trim();e.append(n,o)}),e}function l(t,e){e||(e={}),this._initBody(t),this.type="default",this.url=null,this.status=e.status,this.ok=this.status>=200&&this.status<300,this.statusText=e.statusText,this.headers=e.headers instanceof r?e.headers:new r(e.headers),this.url=e.url||""}if(!self.fetch){r.prototype.append=function(r,n){r=t(r),n=e(n);var o=this.map[r];o||(o=[],this.map[r]=o),o.push(n)},r.prototype["delete"]=function(e){delete this.map[t(e)]},r.prototype.get=function(e){var r=this.map[t(e)];return r?r[0]:null},r.prototype.getAll=function(e){return this.map[t(e)]||[]},r.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},r.prototype.set=function(r,n){this.map[t(r)]=[e(n)]},r.prototype.forEach=function(t){var e=this;Object.getOwnPropertyNames(this.map).forEach(function(r){t(r,e.map[r])})};var p={blob:"FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in self},d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];a.call(u.prototype),a.call(l.prototype),self.Headers=r,self.Request=u,self.Response=l,self.fetch=function(t,e){var r;return r=u.prototype.isPrototypeOf(t)&&!e?t:new u(t,e),new Promise(function(t,e){function n(){return"responseURL"in o?o.responseURL:/^X-Request-URL:/m.test(o.getAllResponseHeaders())?o.getResponseHeader("X-Request-URL"):void 0}var o=new XMLHttpRequest;"cors"===r.credentials&&(o.withCredentials=!0),o.onload=function(){var r=1223===o.status?204:o.status;if(100>r||r>599)return void e(new TypeError("Network request failed"));var s={status:r,statusText:o.statusText,headers:f(o),url:n()},i="response"in o?o.response:o.responseText;t(new l(i,s))},o.onerror=function(){e(new TypeError("Network request failed"))},o.open(r.method,r.url,!0),"responseType"in o&&p.blob&&(o.responseType="blob"),r.headers.forEach(function(t,e){e.forEach(function(e){o.setRequestHeader(t,e)})}),o.send("undefined"==typeof r._bodyInit?null:r._bodyInit)})},self.fetch.polyfill=!0}}()},{}]},{},[1]);</script>