diff --git a/docs/404.html b/docs/404.html index f388ed5..8ebfdcc 100644 --- a/docs/404.html +++ b/docs/404.html @@ -40,4 +40,4 @@ } } }) -
no found page eh
\ No newline at end of file +
no found page eh
\ No newline at end of file diff --git a/docs/404/index.html b/docs/404/index.html index b739fac..c3cdb66 100644 --- a/docs/404/index.html +++ b/docs/404/index.html @@ -40,4 +40,4 @@ } } }) -
no found page eh
\ No newline at end of file +
no found page eh
\ No newline at end of file diff --git a/docs/app-8ab091fc30b001b55b67.js b/docs/app-8ab091fc30b001b55b67.js new file mode 100644 index 0000000..0611de8 --- /dev/null +++ b/docs/app-8ab091fc30b001b55b67.js @@ -0,0 +1,2 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],[,function(t,e,n){var r=n(6),o=n(33),i=n(27),a=n(16),c=n(29),u=function(t,e,n){var s,l,f,p,d=t&u.F,h=t&u.G,v=t&u.S,g=t&u.P,m=t&u.B,y=h?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,w=h?o:o[e]||(o[e]={}),_=w.prototype||(w.prototype={});for(s in h&&(n=e),n)f=((l=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&l?c(f,r):g&&"function"==typeof f?c(Function.call,f):f,y&&a(y,s,f,t&u.U),w[s]!=f&&i(w,s,p),g&&_[s]!=f&&(_[s]=f)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){n(57),n(4);var r=n(161),o=n(11).publicLoader,i=o.getResourcesForPathname,a=o.getResourcesForPathnameSync,c=o.getResourceURLsForPathname,u=o.loadPage,s=o.loadPageSync;e.apiRunner=function(t,e,n,o){void 0===e&&(e={});var l=r.map((function(n){if(n.plugin[t]){e.getResourcesForPathnameSync=a,e.getResourcesForPathname=i,e.getResourceURLsForPathname=c,e.loadPage=u,e.loadPageSync=s;var r=n.plugin[t](e,n.options);return r&&o&&(e=o({args:e,result:r,plugin:n})),r}}));return(l=l.filter((function(t){return void 0!==t}))).length>0?l:n?[n]:[]},e.apiRunnerAsync=function(t,e,n){return r.reduce((function(n,r){return r.plugin[t]?n.then((function(){return r.plugin[t](e,r.options)})):n}),Promise.resolve())}},function(t,e,n){var r=n(65)("wks"),o=n(54),i=n(6).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e,n){"use strict";var r=n(64),o={};o[n(3)("toStringTag")]="z",o+""!="[object z]"&&n(16)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){"use strict";var r=n(7),o=n(23),i=n(21),a=n(56),c=n(84),u=n(63),s=Math.max,l=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(66)("replace",2,(function(t,e,n,h){return[function(r,o){var i=t(this),a=null==r?void 0:r[e];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(t,e){var o=h(n,t,this,e);if(o.done)return o.value;var f=r(t),p=String(this),d="function"==typeof e;d||(e=String(e));var g=f.global;if(g){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var w=u(f,p);if(null===w)break;if(y.push(w),!g)break;""===String(w[0])&&(f.lastIndex=c(p,i(f.lastIndex),m))}for(var _,b="",S=0,x=0;x=S&&(b+=p.slice(S,O)+T,S=O+P.length)}return b+p.slice(S)}];function v(t,e,r,i,a,c){var u=r+t.length,s=i.length,l=d;return void 0!==a&&(a=o(a),l=p),n.call(c,l,(function(n,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(u);case"<":c=a[o.slice(1,-1)];break;default:var l=+o;if(0===l)return n;if(l>s){var p=f(l/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}c=i[l-1]}return void 0===c?"":c}))}}))},function(t,e,n){t.exports=!n(10)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e,n){"use strict";n.r(e);n(168),n(47),n(36),n(22),n(126),n(12),n(13),n(132),n(133),n(94),n(95),n(15),n(57),n(4),n(176);var r=function(t){if("undefined"==typeof document)return!1;var e=document.createElement("link");try{if(e.relList&&"function"==typeof e.relList.supports)return e.relList.supports(t)}catch(n){return!1}return!1}("prefetch")?function(t){return new Promise((function(e,n){if("undefined"!=typeof document){var r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",t),r.onload=e,r.onerror=n,(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(r)}else n()}))}:function(t){return new Promise((function(e,n){var r=new XMLHttpRequest;r.open("GET",t,!0),r.onload=function(){200===r.status?e():n()},r.send(null)}))},o={},i=function(t){return new Promise((function(e){o[t]?e():r(t).then((function(){e(),o[t]=!0})).catch((function(){}))}))},a=n(52),c=(n(25),n(18)),u=n(62),s=function(t){return void 0===t?t:"/"===t?"/":"/"===t.charAt(t.length-1)?t.slice(0,-1):t},l=[],f=function(t){l=t},p=function(t){var e=d(t),n=l,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}var a=i,u=a.matchPath,f=a.path;if(Object(c.b)(u,e))return s(f)}return null},d=function(t){var e=function(t){var e=decodeURIComponent(t);return Object(u.a)(e,"/flamegrill").split("#")[0].split("?")[0]}(t);return"/index.html"===e&&(e="/"),e=s(e)};function h(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(7),o=n(109),i=n(83),a=Object.defineProperty;e.f=n(9)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(c){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(1);r(r.S+r.F,"Object",{assign:n(112)})},function(t,e,n){var r=n(6),o=n(27),i=n(28),a=n(54)("src"),c=n(155),u=(""+c).split("toString");n(33).inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,c){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,a)||o(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||c.call(this)}))},function(t,e,n){"use strict";var r=n(1),o=n(85)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(30)(i)),"Array",{indexOf:function(t){return a?i.apply(this,arguments)||0:o(this,t,arguments[1])}})},function(t,e,n){"use strict";n.d(e,"e",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return c})),n.d(e,"d",(function(){return u})),n.d(e,"a",(function(){return s})),n.d(e,"f",(function(){return l}));n(8),n(75),n(76),n(180),n(17),n(24),n(25);var r=n(43),o=n.n(r),i=function(t,e){return t.substr(0,e.length)===e},a=function(t,e){for(var n=void 0,r=void 0,i=e.split("?")[0],a=v(i),c=""===a[0],u=h(t),s=0,l=u.length;se.score?-1:t.index-e.index}))},v=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},g=function(t,e){return t+(e?"?"+e:"")},m=["uri","path"]},function(t,e,n){var r=n(23),o=n(46);n(136)("keys",(function(){return function(t){return o(r(t))}}))},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){var r=n(56),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){"use strict";var r=n(6),o=n(28),i=n(9),a=n(1),c=n(16),u=n(48).KEY,s=n(10),l=n(65),f=n(59),p=n(54),d=n(3),h=n(124),v=n(123),g=n(171),m=n(91),y=n(7),w=n(5),_=n(23),b=n(35),S=n(83),x=n(55),P=n(73),O=n(173),E=n(125),R=n(88),j=n(14),k=n(46),T=E.f,C=j.f,L=O.f,A=r.Symbol,M=r.JSON,F=M&&M.stringify,W=d("_hidden"),D=d("toPrimitive"),U={}.propertyIsEnumerable,I=l("symbol-registry"),N=l("symbols"),H=l("op-symbols"),B=Object.prototype,q="function"==typeof A&&!!R.f,K=r.QObject,G=!K||!K.prototype||!K.prototype.findChild,Y=i&&s((function(){return 7!=P(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=T(B,e);r&&delete B[e],C(t,e,n),r&&t!==B&&C(B,e,r)}:C,z=function(t){var e=N[t]=P(A.prototype);return e._k=t,e},J=q&&"symbol"==typeof A.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof A},$=function(t,e,n){return t===B&&$(H,e,n),y(t),e=S(e,!0),y(n),o(N,e)?(n.enumerable?(o(t,W)&&t[W][e]&&(t[W][e]=!1),n=P(n,{enumerable:x(0,!1)})):(o(t,W)||C(t,W,x(1,{})),t[W][e]=!0),Y(t,e,n)):C(t,e,n)},V=function(t,e){y(t);for(var n,r=g(e=b(e)),o=0,i=r.length;i>o;)$(t,n=r[o++],e[n]);return t},X=function(t){var e=U.call(this,t=S(t,!0));return!(this===B&&o(N,t)&&!o(H,t))&&(!(e||!o(this,t)||!o(N,t)||o(this,W)&&this[W][t])||e)},Q=function(t,e){if(t=b(t),e=S(e,!0),t!==B||!o(N,e)||o(H,e)){var n=T(t,e);return!n||!o(N,e)||o(t,W)&&t[W][e]||(n.enumerable=!0),n}},Z=function(t){for(var e,n=L(b(t)),r=[],i=0;n.length>i;)o(N,e=n[i++])||e==W||e==u||r.push(e);return r},tt=function(t){for(var e,n=t===B,r=L(n?H:b(t)),i=[],a=0;r.length>a;)!o(N,e=r[a++])||n&&!o(B,e)||i.push(N[e]);return i};q||(c((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===B&&e.call(H,n),o(this,W)&&o(this[W],t)&&(this[W][t]=!1),Y(this,t,x(1,n))};return i&&G&&Y(B,t,{configurable:!0,set:e}),z(t)}).prototype,"toString",(function(){return this._k})),E.f=Q,j.f=$,n(92).f=O.f=Z,n(69).f=X,R.f=tt,i&&!n(53)&&c(B,"propertyIsEnumerable",X,!0),h.f=function(t){return z(d(t))}),a(a.G+a.W+a.F*!q,{Symbol:A});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var rt=k(d.store),ot=0;rt.length>ot;)v(rt[ot++]);a(a.S+a.F*!q,"Symbol",{for:function(t){return o(I,t+="")?I[t]:I[t]=A(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var e in I)if(I[e]===t)return e},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!q,"Object",{create:function(t,e){return void 0===e?P(t):V(P(t),e)},defineProperty:$,defineProperties:V,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var it=s((function(){R.f(1)}));a(a.S+a.F*it,"Object",{getOwnPropertySymbols:function(t){return R.f(_(t))}}),M&&a(a.S+a.F*(!q||s((function(){var t=A();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(w(e)||void 0!==t)&&!J(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!J(e))return e}),r[1]=e,F.apply(M,r)}}),A.prototype[D]||n(27)(A.prototype,D,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){var r=n(45);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";var r=n(1),o=n(49)(1);r(r.P+r.F*!n(30)([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(96),o=n(7),i=n(117),a=n(84),c=n(21),u=n(63),s=n(81),l=n(10),f=Math.min,p=[].push,d=!l((function(){RegExp(4294967295,"y")}));n(66)("split",2,(function(t,e,n,l){var h;return h="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var o=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(o,t,e);for(var i,a,c,u=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,d=void 0===e?4294967295:e>>>0,h=new RegExp(t.source,l+"g");(i=s.call(h,o))&&!((a=h.lastIndex)>f&&(u.push(o.slice(f,i.index)),i.length>1&&i.index=d));)h.lastIndex===i.index&&h.lastIndex++;return f===o.length?!c&&h.test("")||u.push(""):u.push(o.slice(f)),u.length>d?u.slice(0,d):u}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var o=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):h.call(String(o),n,r)},function(t,e){var r=l(h,t,this,e,h!==n);if(r.done)return r.value;var s=o(t),p=String(this),v=i(s,RegExp),g=s.unicode,m=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(d?"y":"g"),y=new v(d?s:"^(?:"+s.source+")",m),w=void 0===e?4294967295:e>>>0;if(0===w)return[];if(0===p.length)return null===u(y,p)?[p]:[];for(var _=0,b=0,S=[];b=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function v(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var g=function(t,e){var n=c(e);return n.Consumer.displayName=t+".Consumer",n.Provider.displayName=t+".Provider",n},m=g("Location"),y=function(t){var e=t.children;return o.a.createElement(m.Consumer,null,(function(t){return t?e(t):o.a.createElement(w,null,e)}))},w=function(t){function e(){var n,r;d(this,e);for(var o=arguments.length,i=Array(o),a=0;a1&&void 0!==arguments[1]?arguments[1]:{},s=u.state,l=u.replace,f=void 0!==l&&l;s=r({},s,{key:Date.now()+""});try{a||f?t.history.replaceState(s,null,e):t.history.pushState(s,null,e)}catch(d){t.location[f?"replace":"assign"](e)}i=o(t),a=!0;var p=new Promise((function(t){return c=t}));return n.forEach((function(t){return t({location:i,action:"PUSH"})})),p}}},a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=0,n=[{pathname:t,search:""}],r=[];return{get location(){return n[e]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return n},get index(){return e},get state(){return r[e]},pushState:function(t,o,i){var a=i.split("?"),c=a[0],u=a[1],s=void 0===u?"":u;e++,n.push({pathname:c,search:s}),r.push(t)},replaceState:function(t,o,i){var a=i.split("?"),c=a[0],u=a[1],s=void 0===u?"":u;n[e]={pathname:c,search:s},r[e]=t}}}},c=!("undefined"==typeof window||!window.document||!window.document.createElement),u=i(c?window:a()),s=u.navigate},,function(t,e,n){"use strict";n(38),n(8);t.exports=function(t,e,n,r,o,i,a,c){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,c],l=0;(u=new Error(e.replace(/%s/g,(function(){return s[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(113),o=n(87);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){"use strict";n(170);var r=n(7),o=n(67),i=n(9),a=/./.toString,c=function(t){n(16)(RegExp.prototype,"toString",t,!0)};n(10)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?c((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)})):"toString"!=a.name&&c((function(){return a.call(this)}))},function(t,e,n){var r=n(54)("meta"),o=n(5),i=n(28),a=n(14).f,c=0,u=Object.isExtensible||function(){return!0},s=!n(10)((function(){return u(Object.preventExtensions({}))})),l=function(t){a(t,r,{value:{i:"O"+ ++c,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return s&&f.NEED&&u(t)&&!i(t,r)&&l(t),t}}},function(t,e,n){var r=n(29),o=n(68),i=n(23),a=n(21),c=n(177);t.exports=function(t,e){var n=1==t,u=2==t,s=3==t,l=4==t,f=6==t,p=5==t||f,d=e||c;return function(e,c,h){for(var v,g,m=i(e),y=o(m),w=r(c,h,3),_=a(y.length),b=0,S=n?d(e,_):u?d(e,0):void 0;_>b;b++)if((p||b in y)&&(g=w(v=y[b],b,m),t))if(n)S[b]=g;else if(g)switch(t){case 3:return!0;case 5:return v;case 6:return b;case 2:S.push(v)}else if(l)return!1;return f?-1:s||l?l:S}}},function(t,e,n){t.exports=n(190)()},function(t,e,n){"use strict";n(8);var r=n(20);e.__esModule=!0,e.withPrefix=d,e.withAssetPrefix=function(t){return["/flamegrill"].concat([t.replace(/^\//,"")]).join("/")},e.navigateTo=e.replace=e.push=e.navigate=e.default=void 0;var o=r(n(202)),i=r(n(122)),a=r(n(100)),c=r(n(80)),u=r(n(101)),s=r(n(50)),l=r(n(0)),f=n(31),p=n(203);function d(t){return function(t){return t.replace(/\/+/g,"/")}(["/flamegrill",t].join("/"))}e.parsePath=p.parsePath;var h={activeClassName:s.default.string,activeStyle:s.default.object,partiallyActive:s.default.bool},v=function(t){function e(e){var n;n=t.call(this,e)||this,(0,u.default)((0,a.default)(n),"defaultGetProps",(function(t){var e=t.isPartiallyCurrent,r=t.isCurrent;return(n.props.partiallyActive?e:r)?{className:[n.props.className,n.props.activeClassName].filter(Boolean).join(" "),style:(0,i.default)({},n.props.style,{},n.props.activeStyle)}:null}));var r=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&(r=!0),n.state={IOSupported:r},n.handleRef=n.handleRef.bind((0,a.default)(n)),n}(0,c.default)(e,t);var n=e.prototype;return n.componentDidUpdate=function(t,e){this.props.to===t.to||this.state.IOSupported||___loader.enqueue((0,p.parsePath)(this.props.to).pathname)},n.componentDidMount=function(){this.state.IOSupported||___loader.enqueue((0,p.parsePath)(this.props.to).pathname)},n.componentWillUnmount=function(){if(this.io){var t=this.io,e=t.instance,n=t.el;e.unobserve(n),e.disconnect()}},n.handleRef=function(t){var e,n,r,o=this;this.props.innerRef&&this.props.innerRef.hasOwnProperty("current")?this.props.innerRef.current=t:this.props.innerRef&&this.props.innerRef(t),this.state.IOSupported&&t&&(this.io=(e=t,n=function(){___loader.enqueue((0,p.parsePath)(o.props.to).pathname)},(r=new window.IntersectionObserver((function(t){t.forEach((function(t){e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(r.unobserve(e),r.disconnect(),n())}))}))).observe(e),{instance:r,el:e}))},n.render=function(){var t=this,e=this.props,n=e.to,r=e.getProps,a=void 0===r?this.defaultGetProps:r,c=e.onClick,u=e.onMouseEnter,s=(e.activeClassName,e.activeStyle,e.innerRef,e.partiallyActive,e.state),h=e.replace,v=(0,o.default)(e,["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace"]);var g=d(n);return l.default.createElement(f.Link,(0,i.default)({to:g,state:s,getProps:a,innerRef:this.handleRef,onMouseEnter:function(t){u&&u(t),___loader.hovering((0,p.parsePath)(n).pathname)},onClick:function(e){return c&&c(e),0!==e.button||t.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||(e.preventDefault(),y(n,{state:s,replace:h})),!0}},v))},e}(l.default.Component);v.propTypes=(0,i.default)({},h,{onClick:s.default.func,to:s.default.string.isRequired,replace:s.default.bool});var g=function(t,e,n){return console.warn('The "'+t+'" method is now deprecated and will be removed in Gatsby v'+n+'. Please use "'+e+'" instead.')},m=l.default.forwardRef((function(t,e){return l.default.createElement(v,(0,i.default)({innerRef:e},t))}));e.default=m;var y=function(t,e){window.___navigate(d(t),e)};e.navigate=y;var w=function(t){g("push","navigate",3),window.___push(d(t))};e.push=w;e.replace=function(t){g("replace","navigate",3),window.___replace(d(t))};e.navigateTo=function(t){return g("navigateTo","navigate",3),w(t)}},function(t,e,n){"use strict";n(24),n(17),n(60);var r=function(t){return t=t||Object.create(null),{on:function(e,n){(t[e]||(t[e]=[])).push(n)},off:function(e,n){t[e]&&t[e].splice(t[e].indexOf(n)>>>0,1)},emit:function(e,n){(t[e]||[]).slice().map((function(t){t(n)})),(t["*"]||[]).slice().map((function(t){t(e,n)}))}}}();e.a=r},function(t,e){t.exports=!1},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){"use strict";var r,o,i,a,c=n(53),u=n(6),s=n(29),l=n(64),f=n(1),p=n(5),d=n(34),h=n(70),v=n(71),g=n(117),m=n(118).set,y=n(157)(),w=n(121),_=n(158),b=n(159),S=n(160),x=u.TypeError,P=u.process,O=P&&P.versions,E=O&&O.v8||"",R=u.Promise,j="process"==l(P),k=function(){},T=o=w.f,C=!!function(){try{var t=R.resolve(1),e=(t.constructor={})[n(3)("species")]=function(t){t(k,k)};return(j||"function"==typeof PromiseRejectionEvent)&&t.then(k)instanceof e&&0!==E.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(r){}}(),L=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},A=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a,c=o?e.ok:e.fail,u=e.resolve,s=e.reject,l=e.domain;try{c?(o||(2==t._h&&W(t),t._h=1),!0===c?n=r:(l&&l.enter(),n=c(r),l&&(l.exit(),a=!0)),n===e.promise?s(x("Promise-chain cycle")):(i=L(n))?i.call(n,u,s):u(n)):s(r)}catch(f){l&&!a&&l.exit(),s(f)}};n.length>i;)a(n[i++]);t._c=[],t._n=!1,e&&!t._h&&M(t)}))}},M=function(t){m.call(u,(function(){var e,n,r,o=t._v,i=F(t);if(i&&(e=_((function(){j?P.emit("unhandledRejection",o,t):(n=u.onunhandledrejection)?n({promise:t,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=j||F(t)?2:1),t._a=void 0,i&&e.e)throw e.v}))},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},W=function(t){m.call(u,(function(){var e;j?P.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})}))},D=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),A(e,!0))},U=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw x("Promise can't be resolved itself");(e=L(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,s(U,r,1),s(D,r,1))}catch(o){D.call(r,o)}})):(n._v=t,n._s=1,A(n,!1))}catch(r){D.call({_w:n,_d:!1},r)}}};C||(R=function(t){h(this,R,"Promise","_h"),d(t),r.call(this);try{t(s(U,this,1),s(D,this,1))}catch(e){D.call(this,e)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(72)(R.prototype,{then:function(t,e){var n=T(g(this,R));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=j?P.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&A(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(U,t,1),this.reject=s(D,t,1)},w.f=T=function(t){return t===R||t===a?new i(t):o(t)}),f(f.G+f.W+f.F*!C,{Promise:R}),n(59)(R,"Promise"),n(89)("Promise"),a=n(33).Promise,f(f.S+f.F*!C,"Promise",{reject:function(t){var e=T(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(c||!C),"Promise",{resolve:function(t){return S(c&&this===a?R:this,t)}}),f(f.S+f.F*!(C&&n(90)((function(t){R.all(t).catch(k)}))),"Promise",{all:function(t){var e=this,n=T(e),r=n.resolve,o=n.reject,i=_((function(){var n=[],i=0,a=1;v(t,!1,(function(t){var c=i++,u=!1;n.push(void 0),a++,e.resolve(t).then((function(t){u||(u=!0,n[c]=t,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=T(e),r=n.reject,o=_((function(){v(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(t,e){t.exports={}},function(t,e,n){var r=n(14).f,o=n(28),i=n(3)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(1);r(r.S,"Object",{create:n(73)})},function(t,e,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(16)(r,"toString",(function(){var t=i.call(this);return t==t?o.call(this):"Invalid Date"}))},function(t,e,n){"use strict";e.a=function(t,e){return void 0===e&&(e=""),t.substr(0,e.length)===e?t.slice(e.length):t}},function(t,e,n){"use strict";var r=n(64),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,n){var r=n(44),o=n(3)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(33),o=n(6),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(53)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){"use strict";n(154);var r=n(16),o=n(27),i=n(10),a=n(45),c=n(3),u=n(81),s=c("species"),l=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var p=c(t),d=!i((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),h=d?!i((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[s]=function(){return n}),n[p](""),!e})):void 0;if(!d||!h||"replace"===t&&!l||"split"===t&&!f){var v=/./[p],g=n(a,p,""[t],(function(t,e,n,r,o){return e.exec===u?d&&!o?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),m=g[0],y=g[1];r(String.prototype,t,m),o(RegExp.prototype,p,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},function(t,e,n){"use strict";var r=n(7);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(44);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(29),o=n(114),i=n(115),a=n(7),c=n(21),u=n(116),s={},l={};(e=t.exports=function(t,e,n,f,p){var d,h,v,g,m=p?function(){return t}:u(t),y=r(n,f,e?2:1),w=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(d=c(t.length);d>w;w++)if((g=e?y(a(h=t[w])[0],h[1]):y(t[w]))===s||g===l)return g}else for(v=m.call(t);!(h=v.next()).done;)if((g=o(v,y,h.value,e))===s||g===l)return g}).BREAK=s,e.RETURN=l},function(t,e,n){var r=n(16);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(7),o=n(172),i=n(87),a=n(86)("IE_PROTO"),c=function(){},u=function(){var t,e=n(82)("iframe"),r=i.length;for(e.style.display="none",n(120).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("\r\n\r\n {/* OpenGraph tags */}\r\n \r\n {postSEO ? : null}\r\n \r\n \r\n \r\n \r\n\r\n {/* Twitter Card tags */}\r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n }\r\n}\r\n\r\nexport default SEO\r\n","import React from 'react'\r\nimport styled from 'styled-components'\r\nimport Navigation from './Navigation'\r\n\r\nclass MainHeader extends React.Component {\r\n render() {\r\n return (\r\n \r\n \r\n \r\n )\r\n }\r\n}\r\n\r\nconst SiteContainer = styled.div`\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n background: ${props => props.theme.brand};\r\n padding: 25px;\r\n`\r\n\r\nexport default MainHeader\r\n","import React from 'react'\r\nimport Link from 'gatsby-link'\r\nimport styled from 'styled-components'\r\n\r\n/* eslint react/no-array-index-key: \"off\" */\r\n\r\nconst Links = ({ entries }) => (\r\n \r\n {entries.map(({ entry }, key) => (\r\n \r\n \r\n {entry.childMarkdownRemark.frontmatter.title}\r\n \r\n \r\n ))}\r\n \r\n)\r\n\r\nconst ChapterList = ({ chapters, entries, title, level = 0 }) => (\r\n \r\n {title && (\r\n \r\n {title}\r\n \r\n )}\r\n {entries && }\r\n \r\n {chapters &&\r\n chapters.map((chapter, index) => (\r\n \r\n ))}\r\n \r\n \r\n)\r\n\r\nconst TableOfContents = ({ chapters }) => (\r\n \r\n {chapters.map((chapter, index) => (\r\n \r\n ))}\r\n \r\n)\r\n\r\nexport default TableOfContents\r\n\r\nconst TOCWrapper = styled.div`\r\n padding: ${props => props.theme.sitePadding};\r\n margin: 0;\r\n`\r\n\r\nconst StyledChapterList = styled.ol`\r\n list-style: none;\r\n margin: 0;\r\n`\r\n\r\nconst StyledLinkList = styled.ol`\r\n list-style: none;\r\n`\r\n\r\nconst EntryTitle = styled.h6`\r\n display: inline-block;\r\n font-weight: 200;\r\n color: black;\r\n margin: 0;\r\n line-height: 1.5;\r\n border-bottom: 1px solid transparent;\r\n text-decoration: none;\r\n`\r\n\r\nconst ChapterListItem = styled.li`\r\n margin: 0;\r\n`\r\n\r\nconst EntryListItem = styled.li`\r\n margin: 0;\r\n a:hover {\r\n border-bottom: 1px solid black;\r\n }\r\n`\r\n\r\nconst ChapterTitle = styled.h5`\r\n font-weight: ${({ level }) => {\r\n switch (level % 3) {\r\n case 1:\r\n return '600'\r\n case 2:\r\n return '400'\r\n default:\r\n return '200'\r\n }\r\n }};\r\n font-size: ${({ level }) => {\r\n switch (level % 3) {\r\n case 1:\r\n return '2.2rem'\r\n case 2:\r\n return '1.8rem'\r\n default:\r\n return '2.8rem'\r\n }\r\n }};\r\n color: ${({ level, theme }) => {\r\n switch (level % 3) {\r\n case 1:\r\n return 'black'\r\n case 2:\r\n return theme.accentDark\r\n default:\r\n return theme.accent\r\n }\r\n }};\r\n`\r\n","import { graphql } from 'gatsby'\r\n\r\nimport React from 'react'\r\nimport Helmet from 'react-helmet'\r\nimport styled from 'styled-components'\r\n\r\nimport SEO from '../components/SEO'\r\nimport SiteHeader from '../components/Layout/Header'\r\nimport config from '../../data/SiteConfig'\r\nimport TableOfContents from '../components/Layout/TableOfContents'\r\nimport Layout from '../layouts'\r\n\r\nexport default class DocTemplate extends React.Component {\r\n render() {\r\n const { slug } = this.props.pathContext\r\n const postNode = this.props.data.postBySlug\r\n const post = postNode.frontmatter\r\n if (!post.id) {\r\n post.id = slug\r\n }\r\n if (!post.id) {\r\n post.category_id = config.postDefaultCategoryID\r\n }\r\n return (\r\n \r\n
\r\n \r\n {`${post.title} | ${config.siteTitle}`}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n

{post.title}

\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n )\r\n }\r\n}\r\n\r\nconst BodyGrid = styled.div`\r\n height: 100vh;\r\n display: grid;\r\n grid-template-rows: 75px 1fr;\r\n grid-template-columns: 300px 1fr;\r\n\r\n @media screen and (max-width: 600px) {\r\n display: flex;\r\n flex-direction: column;\r\n height: inherit;\r\n }\r\n`\r\n\r\nconst BodyContainer = styled.div`\r\n grid-column: 2 / 3;\r\n grid-row: 2 / 3;\r\n overflow: scroll;\r\n justify-self: center;\r\n width: 100%;\r\n padding: ${props => props.theme.sitePadding};\r\n @media screen and (max-width: 600px) {\r\n order: 2;\r\n }\r\n\r\n & > div {\r\n max-width: ${props => props.theme.contentWidthLaptop};\r\n margin: auto;\r\n }\r\n\r\n & > h1 {\r\n color: ${props => props.theme.accentDark};\r\n }\r\n`\r\n\r\nconst HeaderContainer = styled.div`\r\n grid-column: 1 / 3;\r\n grid-row: 1 / 2;\r\n z-index: 2;\r\n @media screen and (max-width: 600px) {\r\n order: 1;\r\n }\r\n`\r\n\r\nconst ToCContainer = styled.div`\r\n grid-column: 1 / 2;\r\n grid-row: 2 / 3;\r\n background: ${props => props.theme.lightGrey};\r\n overflow: scroll;\r\n @media screen and (max-width: 600px) {\r\n order: 3;\r\n overflow: inherit;\r\n }\r\n`\r\n\r\n/* eslint no-undef: \"off\" */\r\nexport const pageQuery = graphql`\r\n query DocBySlug($slug: String!) {\r\n postBySlug: markdownRemark(fields: { slug: { eq: $slug } }) {\r\n html\r\n frontmatter {\r\n title\r\n }\r\n }\r\n tableOfContents: docsJson {\r\n chapters {\r\n title\r\n entries {\r\n entry {\r\n id\r\n childMarkdownRemark {\r\n fields {\r\n slug\r\n }\r\n frontmatter {\r\n title\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n`\r\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./src/components/SEO.jsx","webpack:///./src/components/Layout/Header.jsx","webpack:///./src/components/Layout/TableOfContents.jsx","webpack:///./src/templates/doc.jsx"],"names":["SEO","render","title","description","image","postURL","this","props","postNode","postPath","postSEO","postMeta","frontmatter","excerpt","cover","config","siteUrl","pathPrefix","siteTitle","siteDescription","siteLogo","realPrefix","blogURL","schemaOrgJSONLD","url","name","alternateName","siteTitleAlt","push","itemListElement","position","item","headline","content","type","JSON","stringify","property","siteFBAppID","userTwitter","Component","MainHeader","SiteContainer","Navigation","React","styled","div","theme","brand","Links","entries","StyledLinkList","map","key","entry","EntryListItem","to","childMarkdownRemark","fields","slug","EntryTitle","ChapterList","chapters","level","StyledChapterList","ChapterListItem","ChapterTitle","chapter","index","TableOfContents","TOCWrapper","sitePadding","ol","h6","li","h5","accentDark","accent","DocTemplate","pathContext","data","postBySlug","post","id","category_id","postDefaultCategoryID","location","BodyGrid","HeaderContainer","ToCContainer","tableOfContents","BodyContainer","dangerouslySetInnerHTML","__html","html","contentWidthLaptop","lightGrey","pageQuery"],"mappings":"oKAwGeA,E,gLAnGbC,OAAA,WAAU,IAEJC,EACAC,EACAC,EACAC,EALG,EACiCC,KAAKC,MAArCC,EADD,EACCA,SAAUC,EADX,EACWA,SAAUC,EADrB,EACqBA,QAK5B,GAAIA,EAAS,CACX,IAAMC,EAAWH,EAASI,YAC1BV,EAAQS,EAAST,MACjBC,EAAcQ,EAASR,YACnBQ,EAASR,YACTK,EAASK,QACbT,EAAQO,EAASG,MACjBT,EAAUU,IAAOC,QAAUD,IAAOE,WAAaR,OAE/CP,EAAQa,IAAOG,UACff,EAAcY,IAAOI,gBACrBf,EAAQW,IAAOK,SAEjB,IAAMC,EAAmC,MAAtBN,IAAOE,WAAqB,GAAKF,IAAOE,WAC3Db,EAAQW,IAAOC,QAAUK,EAAajB,EACtC,IAAMkB,EAAUP,IAAOC,QAAUD,IAAOE,WAClCM,EAAkB,CACtB,CACE,WAAY,oBACZ,QAAS,UACTC,IAAKF,EACLG,KAAMvB,EACNwB,cAAeX,IAAOY,aAAeZ,IAAOY,aAAe,KAmC/D,OAhCIjB,GACFa,EAAgBK,KAAK,CACnB,CACE,WAAY,oBACZ,QAAS,iBACTC,gBAAiB,CACf,CACE,QAAS,WACTC,SAAU,EACVC,KAAM,CACJ,MAAO1B,EACPoB,KAAMvB,EACNE,YAKR,CACE,WAAY,oBACZ,QAAS,cACToB,IAAKF,EACLG,KAAM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sx-00e3f891e8d1c5d854f5.js","sourcesContent":["import React, { Component } from 'react'\r\nimport Helmet from 'react-helmet'\r\nimport config from '../../data/SiteConfig'\r\n\r\nclass SEO extends Component {\r\n render() {\r\n const { postNode, postPath, postSEO } = this.props\r\n let title\r\n let description\r\n let image\r\n let postURL\r\n if (postSEO) {\r\n const postMeta = postNode.frontmatter\r\n title = postMeta.title\r\n description = postMeta.description\r\n ? postMeta.description\r\n : postNode.excerpt\r\n image = postMeta.cover\r\n postURL = config.siteUrl + config.pathPrefix + postPath\r\n } else {\r\n title = config.siteTitle\r\n description = config.siteDescription\r\n image = config.siteLogo\r\n }\r\n const realPrefix = config.pathPrefix === '/' ? '' : config.pathPrefix\r\n image = config.siteUrl + realPrefix + image\r\n const blogURL = config.siteUrl + config.pathPrefix\r\n const schemaOrgJSONLD = [\r\n {\r\n '@context': 'http://schema.org',\r\n '@type': 'WebSite',\r\n url: blogURL,\r\n name: title,\r\n alternateName: config.siteTitleAlt ? config.siteTitleAlt : ''\r\n }\r\n ]\r\n if (postSEO) {\r\n schemaOrgJSONLD.push([\r\n {\r\n '@context': 'http://schema.org',\r\n '@type': 'BreadcrumbList',\r\n itemListElement: [\r\n {\r\n '@type': 'ListItem',\r\n position: 1,\r\n item: {\r\n '@id': postURL,\r\n name: title,\r\n image\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n '@context': 'http://schema.org',\r\n '@type': 'BlogPosting',\r\n url: blogURL,\r\n name: title,\r\n alternateName: config.siteTitleAlt ? config.siteTitleAlt : '',\r\n headline: title,\r\n image: {\r\n '@type': 'ImageObject',\r\n url: image\r\n },\r\n description\r\n }\r\n ])\r\n }\r\n return (\r\n \r\n {/* General tags */}\r\n \r\n \r\n\r\n {/* Schema.org tags */}\r\n \r\n\r\n {/* OpenGraph tags */}\r\n \r\n {postSEO ? : null}\r\n \r\n \r\n \r\n \r\n\r\n {/* Twitter Card tags */}\r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n }\r\n}\r\n\r\nexport default SEO\r\n","import React from 'react'\r\nimport styled from 'styled-components'\r\nimport Navigation from './Navigation'\r\n\r\nclass MainHeader extends React.Component {\r\n render() {\r\n return (\r\n \r\n \r\n \r\n )\r\n }\r\n}\r\n\r\nconst SiteContainer = styled.div`\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n background: ${props => props.theme.brand};\r\n padding: 25px;\r\n`\r\n\r\nexport default MainHeader\r\n","import React from 'react'\r\nimport Link from 'gatsby-link'\r\nimport styled from 'styled-components'\r\n\r\n/* eslint react/no-array-index-key: \"off\" */\r\n\r\nconst Links = ({ entries }) => (\r\n \r\n {entries.map(({ entry }, key) => (\r\n \r\n \r\n {entry.childMarkdownRemark.frontmatter.title}\r\n \r\n \r\n ))}\r\n \r\n)\r\n\r\nconst ChapterList = ({ chapters, entries, title, level = 0 }) => (\r\n \r\n {title && (\r\n \r\n {title}\r\n \r\n )}\r\n {entries && }\r\n \r\n {chapters &&\r\n chapters.map((chapter, index) => (\r\n \r\n ))}\r\n \r\n \r\n)\r\n\r\nconst TableOfContents = ({ chapters }) => (\r\n \r\n {chapters.map((chapter, index) => (\r\n \r\n ))}\r\n \r\n)\r\n\r\nexport default TableOfContents\r\n\r\nconst TOCWrapper = styled.div`\r\n padding: ${props => props.theme.sitePadding};\r\n margin: 0;\r\n`\r\n\r\nconst StyledChapterList = styled.ol`\r\n list-style: none;\r\n margin: 0;\r\n`\r\n\r\nconst StyledLinkList = styled.ol`\r\n list-style: none;\r\n`\r\n\r\nconst EntryTitle = styled.h6`\r\n display: inline-block;\r\n font-weight: 200;\r\n color: black;\r\n margin: 0;\r\n line-height: 1.5;\r\n border-bottom: 1px solid transparent;\r\n text-decoration: none;\r\n`\r\n\r\nconst ChapterListItem = styled.li`\r\n margin: 0;\r\n`\r\n\r\nconst EntryListItem = styled.li`\r\n margin: 0;\r\n a:hover {\r\n border-bottom: 1px solid black;\r\n }\r\n`\r\n\r\nconst ChapterTitle = styled.h5`\r\n font-weight: ${({ level }) => {\r\n switch (level % 3) {\r\n case 1:\r\n return '600'\r\n case 2:\r\n return '400'\r\n default:\r\n return '200'\r\n }\r\n }};\r\n font-size: ${({ level }) => {\r\n switch (level % 3) {\r\n case 1:\r\n return '2.2rem'\r\n case 2:\r\n return '1.8rem'\r\n default:\r\n return '2.8rem'\r\n }\r\n }};\r\n color: ${({ level, theme }) => {\r\n switch (level % 3) {\r\n case 1:\r\n return 'black'\r\n case 2:\r\n return theme.accentDark\r\n default:\r\n return theme.accent\r\n }\r\n }};\r\n`\r\n","import { graphql } from 'gatsby'\r\n\r\nimport React from 'react'\r\nimport Helmet from 'react-helmet'\r\nimport styled from 'styled-components'\r\n\r\nimport SEO from '../components/SEO'\r\nimport SiteHeader from '../components/Layout/Header'\r\nimport config from '../../data/SiteConfig'\r\nimport TableOfContents from '../components/Layout/TableOfContents'\r\nimport Layout from '../layouts'\r\n\r\nexport default class DocTemplate extends React.Component {\r\n render() {\r\n const { slug } = this.props.pathContext\r\n const postNode = this.props.data.postBySlug\r\n const post = postNode.frontmatter\r\n if (!post.id) {\r\n post.id = slug\r\n }\r\n if (!post.id) {\r\n post.category_id = config.postDefaultCategoryID\r\n }\r\n return (\r\n \r\n
\r\n \r\n {`${post.title} | ${config.siteTitle}`}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n

{post.title}

\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n )\r\n }\r\n}\r\n\r\nconst BodyGrid = styled.div`\r\n height: 100vh;\r\n display: grid;\r\n grid-template-rows: 75px 1fr;\r\n grid-template-columns: 300px 1fr;\r\n\r\n @media screen and (max-width: 600px) {\r\n display: flex;\r\n flex-direction: column;\r\n height: inherit;\r\n }\r\n`\r\n\r\nconst BodyContainer = styled.div`\r\n grid-column: 2 / 3;\r\n grid-row: 2 / 3;\r\n overflow: scroll;\r\n justify-self: center;\r\n width: 100%;\r\n padding: ${props => props.theme.sitePadding};\r\n @media screen and (max-width: 600px) {\r\n order: 2;\r\n }\r\n\r\n & > div {\r\n max-width: ${props => props.theme.contentWidthLaptop};\r\n margin: auto;\r\n }\r\n\r\n & > h1 {\r\n color: ${props => props.theme.accentDark};\r\n }\r\n`\r\n\r\nconst HeaderContainer = styled.div`\r\n grid-column: 1 / 3;\r\n grid-row: 1 / 2;\r\n z-index: 2;\r\n @media screen and (max-width: 600px) {\r\n order: 1;\r\n }\r\n`\r\n\r\nconst ToCContainer = styled.div`\r\n grid-column: 1 / 2;\r\n grid-row: 2 / 3;\r\n background: ${props => props.theme.lightGrey};\r\n overflow: scroll;\r\n @media screen and (max-width: 600px) {\r\n order: 3;\r\n overflow: inherit;\r\n }\r\n`\r\n\r\n/* eslint no-undef: \"off\" */\r\nexport const pageQuery = graphql`\r\n query DocBySlug($slug: String!) {\r\n postBySlug: markdownRemark(fields: { slug: { eq: $slug } }) {\r\n html\r\n frontmatter {\r\n title\r\n }\r\n }\r\n tableOfContents: docsJson {\r\n chapters {\r\n title\r\n entries {\r\n entry {\r\n id\r\n childMarkdownRemark {\r\n fields {\r\n slug\r\n }\r\n frontmatter {\r\n title\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n`\r\n"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/cook/index.html b/docs/cook/index.html index c61c41e..c1b9ba7 100644 --- a/docs/cook/index.html +++ b/docs/cook/index.html @@ -70,7 +70,7 @@ } } }) -

cook

Cook a page to generate flamegraph output. Optionally, provide a reference URL and perform a regression analysis.

+

cook

Cook a page to generate flamegraph output. Optionally, provide a reference URL and perform a regression analysis.

Options

--name, -n

name for given scenario

@@ -90,4 +90,4 @@ $ flamegrill cook -n SplitButton -s "http://fabricweb.z5.web.core.windows.net/pr-deploy-site/refs/heads/master/perf-test/index.html?scenario=SplitButtonNew&iterations=5000" -r "http://fabricweb.z5.web.core.windows.net/pr-deploy-site/refs/heads/master/perf-test/index.html?scenario=SplitButton&iterations=5000" -$ flamegrill cook -n SplitButtonNew -s "http://fabricweb.z5.web.core.windows.net/pr-deploy-site/refs/heads/master/perf-test/index.html?scenario=SplitButtonNew&iterations=5000" -o out -t temp
\ No newline at end of file +$ flamegrill cook -n SplitButtonNew -s "http://fabricweb.z5.web.core.windows.net/pr-deploy-site/refs/heads/master/perf-test/index.html?scenario=SplitButtonNew&iterations=5000" -o out -t temp
\ No newline at end of file diff --git a/docs/getting-started/index.html b/docs/getting-started/index.html index 4e00780..d77d0c3 100644 --- a/docs/getting-started/index.html +++ b/docs/getting-started/index.html @@ -70,7 +70,7 @@ } } }) -

Getting Started

This example creates a basic app from scratch, adds an artificial bottleneck to it, and then shows you how to configure the build and run flamegrill to see the artificial bottleneck.

+

Getting Started

This example creates a basic app from scratch, adds an artificial bottleneck to it, and then shows you how to configure the build and run flamegrill to see the artificial bottleneck.

Basic App Setup

  1. Create App
  2. @@ -157,4 +157,4 @@ />

    -

    We can see here that InefficientComponent stands out quite a bit, consuming 47.62% of total render time.

\ No newline at end of file +

We can see here that InefficientComponent stands out quite a bit, consuming 47.62% of total render time.

\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index a9406b9..bf7c74c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -FlamegrillFlamegrill