You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
4.6 KiB
2 lines
4.6 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{176:function(e,t,n){"use strict";n.r(t),n.d(t,"graphql",function(){return f}),n.d(t,"StaticQueryContext",function(){return m}),n.d(t,"StaticQuery",function(){return h});var a=n(0),r=n.n(a),i=n(4),o=n.n(i),c=n(177),u=n.n(c);n.d(t,"Link",function(){return u.a}),n.d(t,"withPrefix",function(){return c.withPrefix}),n.d(t,"navigate",function(){return c.navigate}),n.d(t,"push",function(){return c.push}),n.d(t,"replace",function(){return c.replace}),n.d(t,"navigateTo",function(){return c.navigateTo});var s=n(36);n.d(t,"waitForRouteChange",function(){return s.c});var l=n(239),d=n.n(l);n.d(t,"PageRenderer",function(){return d.a});var p=n(53);n.d(t,"parsePath",function(){return p.a});var m=r.a.createContext({}),h=function(e){return r.a.createElement(m.Consumer,null,function(t){return e.data||t[e.query]&&t[e.query].data?(e.render||e.children)(e.data?e.data.data:t[e.query].data):r.a.createElement("div",null,"Loading (StaticQuery)")})};function f(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away,. Unfortunately, something went wrong and the query was left in the compiled code.\n\n.Unless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}h.propTypes={data:o.a.object,query:o.a.string.isRequired,render:o.a.func,children:o.a.func}},185:function(e,t,n){"use strict";var a=n(8),r=n.n(a),i=n(176),o=n(0),c=n(269),u=(n(270),n(57),n(91),n(194),n(232)),s=n(456),l=n(455),d=n(41),p=Object(u.b)(function(e){return{visible:e.isSidebarVisible}})(function(e){var t=e.items,n=e.pathname,a=e.Link,r=e.visible,i=function(e){return e.exact?n===e.path:n.startsWith(e.path)},c=t.find(function(e){return i(e)})||{};return o.createElement(s.a,{as:l.a,animation:"slide along",width:"thin",visible:r,icon:"labeled",vertical:!0,inverted:c.inverted},t.map(function(e){var t=i(e);return o.createElement(l.a.Item,{as:a,to:e.path,active:t,key:e.path},o.createElement(d.a,{name:e.icon}),e.name)}))}),m=n(458),h=(n(434),n(436),n(438),n(441),n(271));n.d(t,"a",function(){return f}),n.d(t,"b",function(){return v});var f=[{name:"Download",path:"/",exact:!0,icon:"home",inverted:!0},{name:"Tutorials",path:"https://ln-zap.github.io/zap-tutorials"},{name:"Source Code",path:"https://github.com/LN-Zap/zap-desktop"},{name:"Developer Resources",path:"/storybook"}],b=function(e){var t=e.location.pathname,n="/"===t;return o.createElement(u.a,{store:h.a},o.createElement(s.a.Pushable,{as:m.a},o.createElement(p,{Link:i.Link,pathname:t,items:f,visible:!1}),o.createElement(s.a.Pusher,{style:{minHeight:"100vh"}},n?null:o.createElement(c.a,{Link:i.Link,pathname:t,items:f}),o.createElement("div",{style:{paddingBottom:60}},e.children))))},v=function(e){return function(t){function n(){return t.apply(this,arguments)||this}return r()(n,t),n.prototype.render=function(){return o.createElement(b,{location:this.props.location},o.createElement(e,this.props))},n}(o.Component)}},239:function(e,t,n){var a;e.exports=(a=n(283))&&a.default||a},269:function(e,t,n){"use strict";n(270),n(194),n(57);var a=n(0),r=n(232),i=n(271),o=n(452),c=n(455);t.a=Object(r.b)()(function(e){var t=e.items,n=e.pathname,r=e.Link,u=e.inverted,s=e.dispatch;return a.createElement(o.a,null,a.createElement(c.a,{size:"large",pointing:!0,secondary:!0,inverted:u},a.createElement(c.a.Item,{as:"a",className:"mobile only",icon:"sidebar",onClick:function(){return s&&s(Object(i.b)())}}),t.map(function(e){var t=e.exact?n===e.path:n.startsWith(e.path);return/^\/(?!\/)/.test(e.path)?a.createElement(c.a.Item,{as:r,className:"mobile hidden",name:e.name,to:e.path,key:e.path,active:t}):a.createElement(c.a.Item,{href:e.path,className:"mobile hidden",name:e.name,to:e.path,key:e.path,active:t})})))})},271:function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return o});n(38);var a=n(234),r=n(416),i=function(){return{type:"TOGGLE_SIDEBAR"}},o=Object(a.createStore)(function(e,t){switch(t.type){case"TOGGLE_SIDEBAR":return Object.assign({},e,{isSidebarVisible:!e.isSidebarVisible});default:return e}},{isSidebarVisible:!1},Object(r.devToolsEnhancer)({}))},283:function(e,t,n){"use strict";n.r(t);n(38);var a=n(0),r=n.n(a),i=n(4),o=n.n(i),c=n(77),u=n(1),s=function(e){var t=e.location,n=u.default.getResourcesForPathnameSync(t.pathname);return r.a.createElement(c.a,Object.assign({key:t.pathname,location:t,pageResources:n},n.json))};s.propTypes={location:o.a.shape({pathname:o.a.string.isRequired}).isRequired},t.default=s},434:function(e,t,n){},436:function(e,t,n){},438:function(e,t,n){}}]);
|
|
//# sourceMappingURL=1-251b0093ff4172423e13.js.map
|