-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-templates-markdown-post-js-ce110d1a91e50a260f67.js
2 lines (2 loc) · 12.5 KB
/
component---src-templates-markdown-post-js-ce110d1a91e50a260f67.js
1
2
(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[683],{58053:function(e,t,n){"use strict";n.d(t,{Y:function(){return p}});var i=n(25560),r=n.n(i),l=n(27351),a=n.n(l),s=n(98810),o=n(33583),u=n(33073),c=n(37658),m=n(28605),d=function(e){var t=e.prev,n=e.next;return s.createElement("div",{className:"grid-12"},t?s.createElement(u.Link,{to:t.link,className:"col-6 flex pa10 pl0 tdn justify-start items-center blue nudge-left--1 prevnext-hover ba b--transparent"},s.createElement(m.Z,{name:"arrow-left",className:"w5 h5 fill-blue"}),s.createElement("div",{className:"ml4"},t.group?s.createElement("h6",{className:"ma0 pa0 f8 fw4 midgrey lh-1-5"},t.group):null,s.createElement("p",{className:c.O.excerpt+" nt1 di fw5"},t.title))):s.createElement("div",{className:"col-6"}),n?s.createElement(u.Link,{to:n.link,className:"col-6 flex pr0 pa10 tdn justify-end items-center blue prevnext-hover ba b--transparent"},s.createElement("div",{className:"tr mr4"},n.group?s.createElement("h6",{className:"ma0 pa0 f8 fw4 midgrey lh-1-5"},n.group):null,s.createElement("p",{className:c.O.excerpt+" nt1 di fw5"},n.title)),s.createElement(m.Z,{name:"arrow-right",className:"w5 h5 fill-blue"})):s.createElement("div",{className:"col-6"}))},p=function(e){var t=e.sidebar,n=e.location,i=e.next;if(t){var l=(0,o.v)(t);if(!l)return null;var u=l.groups,c=[];a()(u,(function(e){a()(e.items,(function(t){t.group=e.group,c.push(t)}))}));var m=r()(c,(function(e){return e.link===n.pathname})),p=c[m-1],f=c[m+1];return f||"concepts"!==t||(f={group:"Setup",link:"/setup/",title:"Install Ghost"}),s.createElement(d,{prev:p,next:f})}if(i&&i.title&&i.url){var g={title:g.title,link:g.url,description:g.description||""};return s.createElement(d,{next:g})}return null}},33583:function(e,t,n){"use strict";n.d(t,{W:function(){return m},v:function(){return u}});var i=n(98810),r=n(33073),l=function(e){var t=e.link,n=e.title,l=e.linkClasses;return t?t.match(/^\s?http(s?)/gi)?i.createElement("a",{href:t,className:"link db pv6px pr2 lh-1-5 pl0 "+l,target:"_blank",rel:"noopener noreferrer"},n):i.createElement(r.Link,{to:t,className:"link db pv6px pr2 lh-1-5 pl0 "+l},n):i.createElement(i.Fragment,null,undefined.props.title)},a=function(e){var t=e.items,n=e.location;return i.createElement("ul",{className:"relative sidebar-list ma0 pa0 list mb5 pl6 mt1"},t.map((function(e,t){return i.createElement("li",{key:t},i.createElement(l,{link:e.link,title:e.title,linkClasses:e.link===n.pathname?"sidebarlink-active blue fw6":"midgrey fw4 hover-blue-l2"}))})))},s=n(87561),o=function(e){try{if("userguide"==e||"devguide"==e)var t=n(75331)("./"+e+".yaml")[0];else if("team"==e)t=n(23293)("./"+e+".yaml")[0];else if("tutorial"==e)t=n(66631)("./"+e+".yaml")[0]}catch(i){throw i}return t};o.propTypes={sidebar:n.n(s)().string.isRequired};var u=o,c=function(e){var t=e.sidebar,n=e.location,r=u(t);return t&&r&&r.groups?i.createElement("nav",{className:"mt5 mb5 mt10-ns mb0-ns relative","data-cy":"sidebar"},r.groups.map((function(e,t){return i.createElement("div",{key:t,className:"mt1"},e.items.some((function(e){return e.link===n.pathname}))?i.createElement(i.Fragment,null,i.createElement("h4",{className:"f5 fw5 link pa0 ma0"},e.items[0].link?i.createElement(l,{link:e.items[0].link,title:e.group,linkClasses:"midgrey link"}):e.group),i.createElement(a,{key:t,items:e.items,location:n})):i.createElement("h4",{className:"f5 fw5 link pa0 ma0"},e.items[0].link?i.createElement(l,{link:e.items[0].link,title:e.group,linkClasses:"midgrey hover-blue-l2 link"}):e.group))}))):null};c.defaultProps={location:{pathname:"/"}};var m=c},38784:function(e,t,n){"use strict";n.r(t);var i=n(22470),r=n(91436),l=n(98810),a=n(42074),s=n(85799),o=n(37658),u=n(33583),c=n(58053),m=n(40652),d=n(6457),p=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={isToggleOn:!1},n.toggleMobileMenu=n.toggleMobileMenu.bind((0,i.Z)(n)),n}(0,r.Z)(t,e);var n=t.prototype;return n.toggleMobileMenu=function(){this.setState((function(e){return{isToggleOn:!e.isToggleOn}}))},n.render=function(){var e=this,t=this.props.location,n=this.props.data.markdownRemark,i=function(e){for(var t="",n=0,i=[{regex:/^(?:\S*\/content\/biodynamo\/doc\/user_guide\/docs\/)(\S*)/i,url:"https://github.com/BioDynaMo/biodynamo/edit/master/doc/user_guide/docs/"},{regex:/^(?:\S*\/content\/biodynamo\/doc\/dev_guide\/docs\/)(\S*)/i,url:"https://github.com/BioDynaMo/biodynamo/edit/master/doc/dev_guide/docs/"}];n<i.length;n++){var r=i[n];if(r.regex.test(e)){t=a.resolve(r.url,r.regex.exec(e)[1]);break}}return t}(n.fileAbsolutePath),r=(0,d.A)(),p={},f=(n.frontmatter||"").sidebar,g=!1!==n.frontmatter.toc;return f&&g?(p.leftSidebar=l.createElement(u.W,{location:t,sidebar:f}),p.rightSidebar=l.createElement("div",{className:"nr3 sticky top-25"},l.createElement(m.Nt,{className:"pr4",listClasses:"mt2"})),p.justification="justify-between"):f||g?(p.leftSidebar=f?l.createElement(u.W,{location:t,sidebar:f}):l.createElement("div",{className:"nr3 sticky top-25"},l.createElement(m.Nt,{listClasses:"lefty",className:"mt5 mb5 mt10-ns mb0-ns",showHeading:!1})),p.justification="justify-start"):p.justification="justify-center",l.createElement(l.Fragment,null,l.createElement(d.U,{data:this.props.data,location:t,type:"article",image:r}),l.createElement(s.A,null,l.createElement(m.mV,{location:t}),l.createElement("div",{className:o.O.page.xl+" flex flex-column flex-row-ns "+p.justification+" relative"},l.createElement("button",{onClick:function(){return e.toggleMobileMenu()},className:"bg-transparent bn appearance-none absolute right-7 db dn-ns",style:{top:"-40px"}},l.createElement(m.JO,{name:"hamburger",className:"w6 h-auto stroke-white db dn-ns"})),p.leftSidebar?l.createElement("div",{className:(this.state.isToggleOn?"mobile-nav-open":"")+" w-100 w-sidebar-ns pr10 pl5 pl0-ns flex-shrink-0-l relative left-sidebar"},p.leftSidebar):null,l.createElement("div",null,l.createElement("div",{className:"w-100 mw-content bg-white shadow-2 br4 "+(this.state.isToggleOn?"":" br--bottom")},l.createElement("article",{className:"flex-auto pa5 pa8-m pa15-l pt10-ns pb10-ns pt10-l pb10-l relative"},l.createElement("div",{className:"flex content-between items-baseline justify-between no-wrap"},l.createElement("h1",{className:o.O.h1+" darkgrey"},n.frontmatter.title),i&&l.createElement("a",{href:i,className:"link no-underline midgrey flex-l dn items-start f8 absolute top-10 right-8 o-80 glow",target:"_blank",rel:"noopener noreferrer"},l.createElement(m.JO,{name:"pencil",className:"w3 h3 fill-midgrey db pr2 o-80"}),"Edit on GitHub")),l.createElement("section",{className:"post-content external-scripts",dangerouslySetInnerHTML:{__html:n.html}})),l.createElement("div",{className:"mw-content pl5 pr5 pl15-ns pr15-ns bt b--whitegrey mt5"},l.createElement(c.Y,{location:t,sidebar:f,next:n.frontmatter.next})))),p.rightSidebar?l.createElement("div",{className:"order-3 w-sidebar flex-shrink-0 dn db-l pt10 pl7"},p.rightSidebar):null)))},t}(l.Component);t.default=p},33623:function(e){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}},27066:function(e,t,n){var i=n(47425),r=/^\s+/;e.exports=function(e){return e?e.slice(0,i(e)+1).replace(r,""):e}},81669:function(e,t,n){var i=n(66023);e.exports=function(e){return"function"==typeof e?e:i}},47425:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},25560:function(e,t,n){var i=n(25681),r=n(30269),l=n(84175),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var o=null==n?0:l(n);return o<0&&(o=a(s+o,0)),i(e,r(t,3),o)}},27351:function(e,t,n){var i=n(33623),r=n(55383),l=n(81669),a=n(99325);e.exports=function(e,t){return(a(e)?i:r)(e,l(t))}},40769:function(e,t,n){var i=n(27693),r=1/0;e.exports=function(e){return e?(e=i(e))===r||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},84175:function(e,t,n){var i=n(40769);e.exports=function(e){var t=i(e),n=t%1;return t==t?n?t-n:t:0}},27693:function(e,t,n){var i=n(27066),r=n(26992),l=n(37683),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,o=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(l(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var n=s.test(e);return n||o.test(e)?u(e.slice(2),n?2:8):a.test(e)?NaN:+e}},75331:function(e,t,n){var i={"./devguide.yaml":95545,"./userguide.yaml":27871};function r(e){var t=l(e);return n(t)}function l(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=l,e.exports=r,r.id=75331},23293:function(e,t,n){var i={"./team.yaml":80753};function r(e){var t=l(e);return n(t)}function l(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=l,e.exports=r,r.id=23293},66631:function(e,t,n){var i={"./tutorial.yaml":38891};function r(e){var t=l(e);return n(t)}function l(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=l,e.exports=r,r.id=66631},95545:function(e){"use strict";e.exports=JSON.parse('[{"groups":[{"group":"Welcome","items":[{"title":"Introduction","link":"/docs/devguide/"},{"title":"Build BioDynaMo","link":"/docs/devguide/build/"},{"title":"Release","link":"/docs/devguide/release/"}]},{"group":"Code","items":[{"title":"Code Quality","link":"/docs/devguide/code_quality/"},{"title":"Contribute","link":"/docs/devguide/contribute/"}]}]}]')},27871:function(e){"use strict";e.exports=JSON.parse('[{"groups":[{"group":"Welcome","items":[{"title":"Introduction","link":"/docs/userguide/"},{"title":"Prerequisites","link":"/docs/userguide/prerequisites/"},{"title":"Installation","link":"/docs/userguide/installation/"},{"title":"Singularity Container","link":"/docs/userguide/singularity/"},{"title":"First Steps","link":"/docs/userguide/first_steps/"}]},{"group":"Tutorials","items":[{"title":"Hello World","link":"/docs/userguide/hello_world/"},{"title":"Visualization","link":"/docs/userguide/visualization/"},{"title":"Diffusion","link":"/docs/userguide/diffusion/"},{"title":"Simulation Parameters","link":"/docs/userguide/simulation_parameter_tutorial/"},{"title":"Tumor Concept","link":"/docs/userguide/tumor_concept/"}]},{"group":"Documentation","items":[{"title":"Parameter","link":"/docs/userguide/parameter/"},{"title":"NewAgentEvent","link":"/docs/userguide/new_agent_event/"},{"title":"Math Array","link":"/docs/userguide/math_array/"},{"title":"Operation","link":"/docs/userguide/operation/"},{"title":"Substance Initialization","link":"/docs/userguide/substance_initializers/"},{"title":"GPU Acceleration","link":"/docs/userguide/gpu_acceleration/"},{"title":"Notebook","link":"/docs/userguide/notebook/"},{"title":"Adding documentation webpage","link":"/docs/userguide/add_page/"},{"title":"Multi simulation runtime","link":"/docs/userguide/multi_simulation"},{"title":"Floating-point precision","link":"/docs/userguide/fp-precision"}]},{"group":"Troubleshooting","items":[{"title":"OpenGL","link":"/docs/userguide/opengl_issues/"}]},{"group":"Release Notes","items":[{"title":"BioDynaMo v1.0","link":"/docs/userguide/release_notes_v1.0/"},{"title":"BioDynaMo v1.02","link":"/docs/userguide/release_notes_v1.02/"},{"title":"BioDynaMo v1.04","link":"/docs/userguide/release_notes_v1.04/"}]},{"group":"Changelog","items":[{"title":"Log","link":"/docs/userguide/changelog/"}]},{"group":"FAQ","items":[{"title":"FAQ","link":"/docs/userguide/faq/"}]},{"group":"Contact","items":[{"title":"Info","link":"/docs/userguide/contact/"}]}]}]')},80753:function(e){"use strict";e.exports=JSON.parse('[{"groups":[{"group":"About Us","items":[{"title":"Who are we?","link":"/team/"}]},{"group":"License","items":[{"title":"Apache License","link":"/team/license/"}]},{"group":"Consortium","items":[{"title":"Members","link":"/team/consortium/"}]},{"group":"Technical Team","items":[{"title":"Members","link":"/team/tech_team/"}]},{"group":"Alumni","items":[{"title":"Members","link":"/team/alumni/"}]},{"group":"Publications","items":[{"title":"BioDynaMo","link":"/team/core_publications/"},{"title":"Simulations using BioDynaMo","link":"/team/application_publications/"},{"title":"Related work","link":"/team/predecessor_publications/"}]},{"group":"Cite Us","items":[{"title":"Cite","link":"/team/citation/"}]}]}]')},38891:function(e){"use strict";e.exports=JSON.parse('[{"groups":[{"group":"Examples","items":[{"title":"Demos","link":"/examples/demos"},{"title":"Notebooks","link":"/examples/notebooks"}]}]}]')}}]);
//# sourceMappingURL=component---src-templates-markdown-post-js-ce110d1a91e50a260f67.js.map