diff --git a/docs/bundle.js b/docs/bundle.js index 0dc814f8254..2c625f08eb0 100644 --- a/docs/bundle.js +++ b/docs/bundle.js @@ -199,4 +199,4 @@ E.brewer=x={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","# * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r=n(70),i=n(47),a=n(102),o=n(46),s="function"==typeof Symbol&&Symbol.for,u=s?Symbol.for("react.element"):60103,c=s?Symbol.for("react.portal"):60106,l=s?Symbol.for("react.fragment"):60107,f=s?Symbol.for("react.strict_mode"):60108,h=s?Symbol.for("react.profiler"):60114,p=s?Symbol.for("react.provider"):60109,d=s?Symbol.for("react.context"):60110,m=s?Symbol.for("react.async_mode"):60111,g=s?Symbol.for("react.forward_ref"):60112;s&&Symbol.for("react.timeout");var y="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rO.length&&O.push(e)}function F(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case c:a=!0}}if(a)return n(r,e,""===t?"."+j(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var o=0;oc;)for(var h,p=s(arguments[c++]),d=l?r(p).concat(l(p)):r(p),m=d.length,g=0;m>g;)f.call(p,h=d[g++])&&(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(17);r(r.S+r.F,"Object",{assign:n(515)})},function(e,t,n){n(516),e.exports=n(6).Object.assign},function(e,t,n){var r=n(17);r(r.S,"Object",{create:n(114)})},function(e,t,n){n(518);var r=n(6).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(519),__esModule:!0}},function(e,t,n){var r=n(32),i=n(26),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(51)(Function.call,n(167).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(17);r(r.S,"Object",{setPrototypeOf:n(521).set})},function(e,t,n){n(522),e.exports=n(6).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(523),__esModule:!0}},function(e,t,n){n(105)("observable")},function(e,t,n){n(105)("asyncIterator")},function(e,t,n){var r=n(39),i=n(168).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(57);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(48),i=n(104),a=n(55);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,c=0;s.length>c;)u.call(e,o=s[c++])&&t.push(o);return t}},function(e,t,n){var r=n(74)("meta"),i=n(32),a=n(40),o=n(30).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(50)(function(){return u(Object.preventExtensions({}))}),l=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[r].w},onFreeze:function(e){return c&&f.NEED&&u(e)&&!a(e,r)&&l(e),e}}},function(e,t,n){"use strict";var r=n(14),i=n(40),a=n(31),o=n(17),s=n(184),u=n(530).KEY,c=n(50),l=n(111),f=n(73),h=n(74),p=n(13),d=n(106),m=n(105),g=n(529),y=n(528),v=n(26),b=n(32),x=n(39),w=n(115),E=n(58),k=n(114),_=n(527),S=n(167),C=n(30),A=n(48),D=S.f,T=C.f,O=_.f,P=r.Symbol,M=r.JSON,F=M&&M.stringify,j=p("_hidden"),L=p("toPrimitive"),N={}.propertyIsEnumerable,R=l("symbol-registry"),z=l("symbols"),I=l("op-symbols"),B=Object.prototype,H="function"==typeof P,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,q=a&&c(function(){return 7!=k(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=D(B,t);r&&delete B[t],T(e,t,n),r&&e!==B&&T(B,t,r)}:T,W=function(e){var t=z[e]=k(P.prototype);return t._k=e,t},G=H&&"symbol"==typeof P.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof P},X=function(e,t,n){return e===B&&X(I,t,n),v(e),t=w(t,!0),v(n),i(z,t)?(n.enumerable?(i(e,j)&&e[j][t]&&(e[j][t]=!1),n=k(n,{enumerable:E(0,!1)})):(i(e,j)||T(e,j,E(1,{})),e[j][t]=!0),q(e,t,n)):T(e,t,n)},J=function(e,t){v(e);for(var n,r=g(t=x(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},K=function(e){var t=N.call(this,e=w(e,!0));return!(this===B&&i(z,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(z,e)||i(this,j)&&this[j][e])||t)},Y=function(e,t){if(e=x(e),t=w(t,!0),e!==B||!i(z,t)||i(I,t)){var n=D(e,t);return!n||!i(z,t)||i(e,j)&&e[j][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=O(x(e)),r=[],a=0;n.length>a;)i(z,t=n[a++])||t==j||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===B,r=O(n?I:x(e)),a=[],o=0;r.length>o;)!i(z,t=r[o++])||n&&!i(B,t)||a.push(z[t]);return a};H||(s((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(I,n),i(this,j)&&i(this[j],e)&&(this[j][e]=!1),q(this,e,E(1,n))};return a&&U&&q(B,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),S.f=Y,C.f=X,n(168).f=_.f=$,n(55).f=K,n(104).f=Z,a&&!n(76)&&s(B,"propertyIsEnumerable",K,!0),d.f=function(e){return W(p(e))}),o(o.G+o.W+o.F*!H,{Symbol:P});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=A(p.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=P(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?k(e):J(k(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),M&&o(o.S+o.F*(!H||c(function(){var e=P();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,F.apply(M,r)}}),P.prototype[L]||n(41)(P.prototype,L,P.prototype.valueOf),f(P,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(531),n(187),n(526),n(525),e.exports=n(6).Symbol},function(e,t,n){e.exports={default:n(532),__esModule:!0}},function(e,t,n){n(59),n(72),e.exports=n(106).f("iterator")},function(e,t,n){e.exports={default:n(534),__esModule:!0}},function(e,t,n){var r=n(17);r(r.S+r.F*!n(31),"Object",{defineProperty:n(30).f})},function(e,t,n){n(536);var r=n(6).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(56),i=n(180);n(170)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){n(538),e.exports=n(6).Object.getPrototypeOf},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",c="object"==typeof e,l=t.regeneratorRuntime;if(l)c&&(e.exports=l);else{(l=t.regeneratorRuntime=c?e.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",m={},g={};g[o]=function(){return this};var y=Object.getPrototypeOf,v=y&&y(y(P([])));v&&v!==r&&i.call(v,o)&&(g=v);var b=_.prototype=E.prototype=Object.create(g);k.prototype=b.constructor=_,_.constructor=k,_[u]=k.displayName="GeneratorFunction",l.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===k||"GeneratorFunction"===(t.displayName||t.name))},l.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},l.awrap=function(e){return{__await:e}},S(C.prototype),C.prototype[s]=function(){return this},l.AsyncIterator=C,l.async=function(e,t,n,r){var i=new C(x(e,t,n,r));return l.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(b),b[u]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},l.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=P,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(u&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof E?t:E,a=Object.create(i.prototype),o=new O(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return M()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function E(){}function k(){}function _(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var t;this._invoke=function(n,r){function a(){return new Promise(function(t,a){!function t(n,r,a,o){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&i.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(c).then(function(e){u.value=e,a(u)},o)}o(s.arg)}(n,r,t,a)})}return t=t?t.then(a,a):a()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function P(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(540),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t,n){"use strict";var r=n(17),i=n(107),a=n(175);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(17),i=n(6),a=n(14),o=n(177),s=n(174);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(14),i=n(6),a=n(30),o=n(31),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(41);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){var r=n(14),i=n(176).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,u="process"==n(57)(o);e.exports=function(){var e,t,n,c=function(){var r,i;for(u&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(c)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve();n=function(){l.then(c)}}else n=function(){i.call(r,c)};else{var f=!0,h=document.createTextNode("");new a(c).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(51),i=n(179),a=n(178),o=n(26),s=n(113),u=n(108),c={},l={};(t=e.exports=function(e,t,n,f,h){var p,d,m,g,y=h?function(){return e}:u(e),v=r(n,f,t?2:1),b=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(a(y)){for(p=s(e.length);p>b;b++)if((g=t?v(o(d=e[b])[0],d[1]):v(e[b]))===c||g===l)return g}else for(m=y.call(e);!(d=m.next()).done;)if((g=i(m,v,d.value,t))===c||g===l)return g}).BREAK=c,t.RETURN=l},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r,i,a,o,s=n(76),u=n(14),c=n(51),l=n(109),f=n(17),h=n(32),p=n(75),d=n(549),m=n(548),g=n(177),y=n(176).set,v=n(546)(),b=n(107),x=n(175),w=n(174),E=u.TypeError,k=u.process,_=u.Promise,S="process"==l(k),C=function(){},A=i=b.f,D=!!function(){try{var e=_.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(C,C)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),T=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},O=function(e,t){if(!e._n){e._n=!0;var n=e._c;v(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o=i?t.ok:t.fail,s=t.resolve,u=t.reject,c=t.domain;try{o?(i||(2==e._h&&F(e),e._h=1),!0===o?n=r:(c&&c.enter(),n=o(r),c&&c.exit()),n===t.promise?u(E("Promise-chain cycle")):(a=T(n))?a.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&P(e)})}},P=function(e){y.call(u,function(){var t,n,r,i=e._v,a=M(e);if(a&&(t=x(function(){S?k.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||M(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},M=function(e){return 1!==e._h&&0===(e._a||e._c).length},F=function(e){y.call(u,function(){var t;S?k.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},j=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),O(t,!0))},L=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw E("Promise can't be resolved itself");(t=T(e))?v(function(){var r={_w:n,_d:!1};try{t.call(e,c(L,r,1),c(j,r,1))}catch(e){j.call(r,e)}}):(n._v=e,n._s=1,O(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};D||(_=function(e){d(this,_,"Promise","_h"),p(e),r.call(this);try{e(c(L,this,1),c(j,this,1))}catch(e){j.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(545)(_.prototype,{then:function(e,t){var n=A(g(this,_));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&O(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=c(L,e,1),this.reject=c(j,e,1)},b.f=A=function(e){return e===_||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!D,{Promise:_}),n(73)(_,"Promise"),n(544)("Promise"),o=n(6).Promise,f(f.S+f.F*!D,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!D),"Promise",{resolve:function(e){return w(s&&this===o?_:this,e)}}),f(f.S+f.F*!(D&&n(173)(function(e){_.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=x(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=x(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(552),i=n(551),a=n(49),o=n(39);e.exports=n(186)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(118),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(39),i=n(113),a=n(554);e.exports=function(e){return function(t,n,o){var s,u=r(t),c=i(u.length),l=a(o,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var r=n(30),i=n(26),a=n(48);e.exports=n(31)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(114),i=n(58),a=n(73),o={};n(41)(o,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(118),i=n(117);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),c=s.length;return u<0||u>=c?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===c||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){n(187),n(59),n(72),n(550),n(543),n(542),e.exports=n(6).Promise},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRoutes=void 0;var r=y(n(8)),i=y(n(188)),a=y(n(172)),o=y(n(171)),s=y(n(24)),u=y(n(23)),c=y(n(22)),l=y(n(21)),f=y(n(20)),h=y(n(5)),p=y(n(103)),d=y(n(0)),m=n(165),g=n(61);function y(e){return e&&e.__esModule?e:{default:e}}var v="undefined"!=typeof document,b=n(501),x={input:"/Users/shawnbot/primer/primer-react/examples",dirname:"/Users/shawnbot/primer/primer-react/examples",filename:null,stats:{dev:16777220,mode:16893,nlink:10,uid:501,gid:20,rdev:0,blksize:4194304,ino:8595605706,size:320,blocks:0,atimeMs:1531161385096.5125,mtimeMs:1531160627533.0134,ctimeMs:1531160627533.0134,birthtimeMs:1529958236684.0117,atime:"2018-07-09T18:36:25.097Z",mtime:"2018-07-09T18:23:47.533Z",ctime:"2018-07-09T18:23:47.533Z",birthtime:"2018-06-25T20:23:56.684Z"},outDir:"/Users/shawnbot/primer/primer-react/docs",basename:"/primer-react",scope:{},pkg:{name:"primer-react",version:"0.0.7-beta",description:"Primer react components",main:"dist/index.umd.js",module:"dist/index.esm.js",scripts:{build:"NODE_ENV=production rollup -c","build:docs":"x0 build examples --out-dir docs",lint:"eslint src examples",prepublishOnly:"npm run build",start:"x0 dev examples -op 8888",test:"jest"},files:["dist","src","examples"],repository:{type:"git",url:"git+https://github.com/primer/primer-react.git"},keywords:["react","components","library","design-system"],author:{name:"GitHub, Inc."},license:"MIT",x0:{cssLibrary:"styled-components",basename:"/primer-react",template:"./html.js"},jest:{collectCoverage:!0,collectCoverageFrom:["src/**/*.js"],coveragePathIgnorePatterns:["/node_modules/","/src/utils/testing.js"]},dependencies:{"@github/octicons-react":"7.4.0-alpha.92883216",classnames:"^2.2.5","d3-shape":"^1.2.0",react:"^16.2.0","system-classnames":"^1.0.0-3"},devDependencies:{"@compositor/kit":"^1.0.43","@compositor/x0":"^5.0.8","babel-plugin-external-helpers":"6.22.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","babel-preset-stage-0":"6.24.1",enzyme:"3.3.0","enzyme-adapter-react-16":"1.1.1",eslint:"4.19.1","eslint-plugin-github":"1.0.0","eslint-plugin-jest":"21.15.1","eslint-plugin-jsx-a11y":"6.0.3","eslint-plugin-react":"7.8.2",jest:"^22.4.3","react-router-dom":"^4.3.1","react-test-renderer":"^16.3.2",rollup:"0.62.0","rollup-plugin-babel":"3.0.5","rollup-plugin-commonjs":"9.1.3","styled-components":"3.3.3","styled-system":"^2.0.2"},bugs:{url:"https://github.com/primer/primer-react/issues"},readme:"ERROR: No README data found!",homepage:"https://github.com/primer/primer-react#readme",_id:"primer-react@0.0.7-beta"},cssLibrary:"styled-components",open:!1,o:!1,static:!1,debug:!1,d:"docs",app:"/Users/shawnbot/primer/primer-react/examples/_app.js"},w=x.filename,E=x.basename,k=void 0===E?"":E,_=x.disableScroll,S=w?p.default.basename(w,p.default.extname(w)):"index",C=function(e){return e.keys().map(function(t){return{key:t,name:p.default.basename(t,p.default.extname(t)),module:e(t),Component:e(t).default||e(t)}}).filter(function(e){return!/^(\.|_)/.test(e.name)}).filter(function(e){return"function"==typeof e.Component})}(b),A=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),c=0;c0&&void 0!==arguments[0]?arguments[0]:C;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.map(function(){var e=(0,o.default)(a.default.mark(function e(t){t.key;var n,r,i,o=t.name,s=t.module,u=t.Component;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=o===S)?"/":"/"+o,!u.getInitialProps){e.next=8;break}return e.next=5,u.getInitialProps({path:r});case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:return i=e.t0,r=i.path||r,e.abrupt("return",{key:o,name:o,path:r,exact:n,module:s,Component:u,props:i});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}());case 2:return t=e.sent,e.abrupt("return",i.default.all(t));case 4:case"end":return e.stop()}},e,void 0)}));return function(){return e.apply(this,arguments)}}(),M=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),c=0;cO.length&&O.push(e)}function F(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case c:a=!0}}if(a)return n(r,e,""===t?"."+j(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var o=0;oc;)for(var h,p=s(arguments[c++]),d=l?r(p).concat(l(p)):r(p),m=d.length,g=0;m>g;)f.call(p,h=d[g++])&&(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(17);r(r.S+r.F,"Object",{assign:n(515)})},function(e,t,n){n(516),e.exports=n(6).Object.assign},function(e,t,n){var r=n(17);r(r.S,"Object",{create:n(114)})},function(e,t,n){n(518);var r=n(6).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(519),__esModule:!0}},function(e,t,n){var r=n(32),i=n(26),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(51)(Function.call,n(167).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(17);r(r.S,"Object",{setPrototypeOf:n(521).set})},function(e,t,n){n(522),e.exports=n(6).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(523),__esModule:!0}},function(e,t,n){n(105)("observable")},function(e,t,n){n(105)("asyncIterator")},function(e,t,n){var r=n(39),i=n(168).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(57);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(48),i=n(104),a=n(55);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,c=0;s.length>c;)u.call(e,o=s[c++])&&t.push(o);return t}},function(e,t,n){var r=n(74)("meta"),i=n(32),a=n(40),o=n(30).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(50)(function(){return u(Object.preventExtensions({}))}),l=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[r].w},onFreeze:function(e){return c&&f.NEED&&u(e)&&!a(e,r)&&l(e),e}}},function(e,t,n){"use strict";var r=n(14),i=n(40),a=n(31),o=n(17),s=n(184),u=n(530).KEY,c=n(50),l=n(111),f=n(73),h=n(74),p=n(13),d=n(106),m=n(105),g=n(529),y=n(528),v=n(26),b=n(32),x=n(39),w=n(115),E=n(58),k=n(114),_=n(527),S=n(167),C=n(30),A=n(48),D=S.f,T=C.f,O=_.f,P=r.Symbol,M=r.JSON,F=M&&M.stringify,j=p("_hidden"),L=p("toPrimitive"),N={}.propertyIsEnumerable,R=l("symbol-registry"),z=l("symbols"),I=l("op-symbols"),B=Object.prototype,H="function"==typeof P,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,q=a&&c(function(){return 7!=k(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=D(B,t);r&&delete B[t],T(e,t,n),r&&e!==B&&T(B,t,r)}:T,W=function(e){var t=z[e]=k(P.prototype);return t._k=e,t},G=H&&"symbol"==typeof P.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof P},X=function(e,t,n){return e===B&&X(I,t,n),v(e),t=w(t,!0),v(n),i(z,t)?(n.enumerable?(i(e,j)&&e[j][t]&&(e[j][t]=!1),n=k(n,{enumerable:E(0,!1)})):(i(e,j)||T(e,j,E(1,{})),e[j][t]=!0),q(e,t,n)):T(e,t,n)},J=function(e,t){v(e);for(var n,r=g(t=x(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},K=function(e){var t=N.call(this,e=w(e,!0));return!(this===B&&i(z,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(z,e)||i(this,j)&&this[j][e])||t)},Y=function(e,t){if(e=x(e),t=w(t,!0),e!==B||!i(z,t)||i(I,t)){var n=D(e,t);return!n||!i(z,t)||i(e,j)&&e[j][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=O(x(e)),r=[],a=0;n.length>a;)i(z,t=n[a++])||t==j||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===B,r=O(n?I:x(e)),a=[],o=0;r.length>o;)!i(z,t=r[o++])||n&&!i(B,t)||a.push(z[t]);return a};H||(s((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(I,n),i(this,j)&&i(this[j],e)&&(this[j][e]=!1),q(this,e,E(1,n))};return a&&U&&q(B,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),S.f=Y,C.f=X,n(168).f=_.f=$,n(55).f=K,n(104).f=Z,a&&!n(76)&&s(B,"propertyIsEnumerable",K,!0),d.f=function(e){return W(p(e))}),o(o.G+o.W+o.F*!H,{Symbol:P});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=A(p.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=P(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?k(e):J(k(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),M&&o(o.S+o.F*(!H||c(function(){var e=P();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,F.apply(M,r)}}),P.prototype[L]||n(41)(P.prototype,L,P.prototype.valueOf),f(P,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(531),n(187),n(526),n(525),e.exports=n(6).Symbol},function(e,t,n){e.exports={default:n(532),__esModule:!0}},function(e,t,n){n(59),n(72),e.exports=n(106).f("iterator")},function(e,t,n){e.exports={default:n(534),__esModule:!0}},function(e,t,n){var r=n(17);r(r.S+r.F*!n(31),"Object",{defineProperty:n(30).f})},function(e,t,n){n(536);var r=n(6).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(56),i=n(180);n(170)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){n(538),e.exports=n(6).Object.getPrototypeOf},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",c="object"==typeof e,l=t.regeneratorRuntime;if(l)c&&(e.exports=l);else{(l=t.regeneratorRuntime=c?e.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",m={},g={};g[o]=function(){return this};var y=Object.getPrototypeOf,v=y&&y(y(P([])));v&&v!==r&&i.call(v,o)&&(g=v);var b=_.prototype=E.prototype=Object.create(g);k.prototype=b.constructor=_,_.constructor=k,_[u]=k.displayName="GeneratorFunction",l.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===k||"GeneratorFunction"===(t.displayName||t.name))},l.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},l.awrap=function(e){return{__await:e}},S(C.prototype),C.prototype[s]=function(){return this},l.AsyncIterator=C,l.async=function(e,t,n,r){var i=new C(x(e,t,n,r));return l.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(b),b[u]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},l.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=P,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(u&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof E?t:E,a=Object.create(i.prototype),o=new O(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return M()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function E(){}function k(){}function _(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var t;this._invoke=function(n,r){function a(){return new Promise(function(t,a){!function t(n,r,a,o){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&i.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(c).then(function(e){u.value=e,a(u)},o)}o(s.arg)}(n,r,t,a)})}return t=t?t.then(a,a):a()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function P(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(540),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t,n){"use strict";var r=n(17),i=n(107),a=n(175);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(17),i=n(6),a=n(14),o=n(177),s=n(174);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(14),i=n(6),a=n(30),o=n(31),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(41);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){var r=n(14),i=n(176).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,u="process"==n(57)(o);e.exports=function(){var e,t,n,c=function(){var r,i;for(u&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(c)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve();n=function(){l.then(c)}}else n=function(){i.call(r,c)};else{var f=!0,h=document.createTextNode("");new a(c).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(51),i=n(179),a=n(178),o=n(26),s=n(113),u=n(108),c={},l={};(t=e.exports=function(e,t,n,f,h){var p,d,m,g,y=h?function(){return e}:u(e),v=r(n,f,t?2:1),b=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(a(y)){for(p=s(e.length);p>b;b++)if((g=t?v(o(d=e[b])[0],d[1]):v(e[b]))===c||g===l)return g}else for(m=y.call(e);!(d=m.next()).done;)if((g=i(m,v,d.value,t))===c||g===l)return g}).BREAK=c,t.RETURN=l},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r,i,a,o,s=n(76),u=n(14),c=n(51),l=n(109),f=n(17),h=n(32),p=n(75),d=n(549),m=n(548),g=n(177),y=n(176).set,v=n(546)(),b=n(107),x=n(175),w=n(174),E=u.TypeError,k=u.process,_=u.Promise,S="process"==l(k),C=function(){},A=i=b.f,D=!!function(){try{var e=_.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(C,C)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),T=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},O=function(e,t){if(!e._n){e._n=!0;var n=e._c;v(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o=i?t.ok:t.fail,s=t.resolve,u=t.reject,c=t.domain;try{o?(i||(2==e._h&&F(e),e._h=1),!0===o?n=r:(c&&c.enter(),n=o(r),c&&c.exit()),n===t.promise?u(E("Promise-chain cycle")):(a=T(n))?a.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&P(e)})}},P=function(e){y.call(u,function(){var t,n,r,i=e._v,a=M(e);if(a&&(t=x(function(){S?k.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||M(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},M=function(e){return 1!==e._h&&0===(e._a||e._c).length},F=function(e){y.call(u,function(){var t;S?k.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},j=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),O(t,!0))},L=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw E("Promise can't be resolved itself");(t=T(e))?v(function(){var r={_w:n,_d:!1};try{t.call(e,c(L,r,1),c(j,r,1))}catch(e){j.call(r,e)}}):(n._v=e,n._s=1,O(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};D||(_=function(e){d(this,_,"Promise","_h"),p(e),r.call(this);try{e(c(L,this,1),c(j,this,1))}catch(e){j.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(545)(_.prototype,{then:function(e,t){var n=A(g(this,_));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&O(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=c(L,e,1),this.reject=c(j,e,1)},b.f=A=function(e){return e===_||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!D,{Promise:_}),n(73)(_,"Promise"),n(544)("Promise"),o=n(6).Promise,f(f.S+f.F*!D,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!D),"Promise",{resolve:function(e){return w(s&&this===o?_:this,e)}}),f(f.S+f.F*!(D&&n(173)(function(e){_.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=x(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=x(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(552),i=n(551),a=n(49),o=n(39);e.exports=n(186)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(118),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(39),i=n(113),a=n(554);e.exports=function(e){return function(t,n,o){var s,u=r(t),c=i(u.length),l=a(o,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var r=n(30),i=n(26),a=n(48);e.exports=n(31)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(114),i=n(58),a=n(73),o={};n(41)(o,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(118),i=n(117);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),c=s.length;return u<0||u>=c?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===c||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){n(187),n(59),n(72),n(550),n(543),n(542),e.exports=n(6).Promise},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRoutes=void 0;var r=y(n(8)),i=y(n(188)),a=y(n(172)),o=y(n(171)),s=y(n(24)),u=y(n(23)),c=y(n(22)),l=y(n(21)),f=y(n(20)),h=y(n(5)),p=y(n(103)),d=y(n(0)),m=n(165),g=n(61);function y(e){return e&&e.__esModule?e:{default:e}}var v="undefined"!=typeof document,b=n(501),x={input:"/Users/emplums/primer-react/examples",dirname:"/Users/emplums/primer-react/examples",filename:null,stats:{dev:16777220,mode:16877,nlink:10,uid:499,gid:20,rdev:0,blksize:4194304,ino:4161146,size:320,blocks:0,atimeMs:1531441740026.0244,mtimeMs:1530893686072.7615,ctimeMs:1530893686072.7615,birthtimeMs:1529363602400.1438,atime:"2018-07-13T00:29:00.026Z",mtime:"2018-07-06T16:14:46.073Z",ctime:"2018-07-06T16:14:46.073Z",birthtime:"2018-06-18T23:13:22.400Z"},outDir:"/Users/emplums/primer-react/docs",basename:"/primer-react",scope:{},pkg:{name:"primer-react",version:"0.0.8-beta",description:"Primer react components",main:"dist/index.umd.js",module:"dist/index.esm.js",scripts:{prebuild:"rm -rf dist",build:"NODE_ENV=production rollup -c","build:docs":"x0 build examples --out-dir docs",lint:"eslint src examples",prepublishOnly:"npm run build",start:"x0 dev examples -op 8888",test:"jest"},files:["dist","src","examples"],repository:{type:"git",url:"git+https://github.com/primer/primer-react.git"},keywords:["react","components","library","design-system"],author:{name:"GitHub, Inc."},license:"MIT",x0:{cssLibrary:"styled-components",basename:"/primer-react",template:"./html.js"},jest:{collectCoverage:!0,collectCoverageFrom:["src/**/*.js"],coveragePathIgnorePatterns:["/node_modules/","/src/utils/testing.js"]},dependencies:{"@githubprimer/octicons-react":"8.0.0",classnames:"^2.2.5","d3-shape":"^1.2.0",react:"^16.2.0","system-classnames":"^1.0.0-3"},devDependencies:{"@compositor/kit":"^1.0.43","@compositor/x0":"^5.0.8","babel-plugin-external-helpers":"6.22.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","babel-preset-stage-0":"6.24.1",enzyme:"3.3.0","enzyme-adapter-react-16":"1.1.1",eslint:"4.19.1","eslint-plugin-github":"1.0.0","eslint-plugin-jest":"21.15.1","eslint-plugin-jsx-a11y":"6.0.3","eslint-plugin-react":"7.8.2",jest:"^22.4.3","react-router-dom":"^4.3.1","react-test-renderer":"^16.3.2",rollup:"0.62.0","rollup-plugin-babel":"3.0.5","rollup-plugin-commonjs":"9.1.3","styled-components":"3.3.3","styled-system":"^2.0.2"},bugs:{url:"https://github.com/primer/primer-react/issues"},readme:"ERROR: No README data found!",homepage:"https://github.com/primer/primer-react#readme",_id:"primer-react@0.0.8-beta"},cssLibrary:"styled-components",open:!1,o:!1,static:!1,debug:!1,d:"docs",app:"/Users/emplums/primer-react/examples/_app.js"},w=x.filename,E=x.basename,k=void 0===E?"":E,_=x.disableScroll,S=w?p.default.basename(w,p.default.extname(w)):"index",C=function(e){return e.keys().map(function(t){return{key:t,name:p.default.basename(t,p.default.extname(t)),module:e(t),Component:e(t).default||e(t)}}).filter(function(e){return!/^(\.|_)/.test(e.name)}).filter(function(e){return"function"==typeof e.Component})}(b),A=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),c=0;c0&&void 0!==arguments[0]?arguments[0]:C;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.map(function(){var e=(0,o.default)(a.default.mark(function e(t){t.key;var n,r,i,o=t.name,s=t.module,u=t.Component;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=o===S)?"/":"/"+o,!u.getInitialProps){e.next=8;break}return e.next=5,u.getInitialProps({path:r});case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:return i=e.t0,r=i.path||r,e.abrupt("return",{key:o,name:o,path:r,exact:n,module:s,Component:u,props:i});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}());case 2:return t=e.sent,e.abrupt("return",i.default.all(t));case 4:case"end":return e.stop()}},e,void 0)}));return function(){return e.apply(this,arguments)}}(),M=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),c=0;c { const className = classnames( diff --git a/src/MergeStatus.js b/src/MergeStatus.js index e0e19b9e97e..b76a52862bb 100644 --- a/src/MergeStatus.js +++ b/src/MergeStatus.js @@ -1,6 +1,6 @@ import React from 'react' import PropTypes from 'prop-types' -import Octicon, {GitMerge} from '@github/octicons-react' +import Octicon, {GitMerge} from '@githubprimer/octicons-react' import StateLabel from './StateLabel' const stateColorMap = { diff --git a/src/StateLabel.js b/src/StateLabel.js index 41e8a422bb3..5223fe6062b 100644 --- a/src/StateLabel.js +++ b/src/StateLabel.js @@ -1,6 +1,6 @@ import React from 'react' import PropTypes from 'prop-types' -import Octicon, {GitMerge, IssueClosed, IssueOpened, IssueReopened} from '@github/octicons-react' +import Octicon, {GitMerge, IssueClosed, IssueOpened, IssueReopened} from '@githubprimer/octicons-react' import classnames from 'classnames' import {colors} from './theme' diff --git a/src/__tests__/StateLabel.js b/src/__tests__/StateLabel.js index 025a6a692b4..87ded4474e5 100644 --- a/src/__tests__/StateLabel.js +++ b/src/__tests__/StateLabel.js @@ -1,5 +1,5 @@ import React from 'react' -import Octicon, {IssueOpened} from '@github/octicons-react' +import Octicon, {IssueOpened} from '@githubprimer/octicons-react' import StateLabel from '../StateLabel' import {render} from '../utils/testing'