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.

198 lines
576 KiB

6 years ago
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"./.storybook/config.js":function(n,e,t){"use strict";t.r(e),function(n){t("./node_modules/core-js/modules/web.dom.iterable.js");var e=t("./node_modules/react/index.js"),o=t.n(e),i=t("./node_modules/@storybook/react/dist/client/index.js"),a=t("./node_modules/storybook-styled-components/dist/index.js"),c=t("./node_modules/@storybook/components/dist/index.js"),r=t("./node_modules/@storybook/addon-options/preview.js"),s=t("./node_modules/@storybook/addon-info/dist/index.js"),l=t("./node_modules/react-storybook-addon-chapters/dist/index.js"),p=t.n(l),m=t("./node_modules/@storybook/addon-console/dist/index.js"),d=(t("./node_modules/@storybook/addon-links/dist/index.js"),t("./node_modules/storybook-addon-intl/dist/index.js")),u=t("./node_modules/storybook-react-router/dist/react.js"),g=t.n(u),y=t("./app/themes/index.js"),h=t("./app/lib/i18n/index.js"),f=t("./app/components/UI/index.js"),b=(t("./app/lib/i18n/locale.js"),t("./app/lib/i18n/translation.js"));Object(h.a)();Object(d.setIntlConfig)({locales:h.b,defaultLocale:"en",getMessages:n=>b.a[n]}),Object(i.addDecorator)(Object(s.withInfo)({styles:{button:{base:{background:y.a.colors.lightningOrange}}}})),Object(i.addDecorator)(d.withIntl),Object(i.addDecorator)(g()({})),Object(i.addDecorator)((n,e)=>Object(m.withConsole)()(n)(e)),Object(i.addDecorator)(Object(r.withOptions)({name:"Zap Desktop",url:"https://ln-zap.github.io/zap-desktop",theme:c.themes.dark,hierarchySeparator:/\./})),Object(i.addDecorator)(n=>o.a.createElement(o.a.Fragment,null,o.a.createElement(f.k,null),o.a.createElement(f.a,{p:3,css:{height:"100vh","overflow-y":"scroll !important"}},n()))),Object(i.addDecorator)(Object(a.withThemes)({Dark:y.a,Light:y.b})),Object(i.setAddon)(p.a),Object(l.setDefaults)({sectionOptions:{showSource:!1,allowSourceToggling:!1,showPropTables:!1,allowPropTablesToggling:!0}});const v=t("./stories sync recursive .stories.js$");Object(i.configure)(function(){v.keys().forEach(n=>v(n))},n)}.call(this,t("./node_modules/@storybook/core/node_modules/webpack/buildin/harmony-module.js")(n))},"./app/components/Icon/BigArrowRight.js":function(n,e,t){"use strict";var o=t("./node_modules/react/index.js"),i=t.n(o);function a(){return(a=Object.assign||function(n){for(var e,t=1;t<arguments.length;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}).apply(this,arguments)}const c=n=>i.a.createElement("svg",a({viewBox:"0 0 40 28",width:"1em",height:"1em"},n),i.a.createElement("path",{d:"M1 14h38M24 27l15-13L24 1",fill:"none",fillRule:"evenodd",stroke:"#FD9800",strokeLinecap:"round",strokeLinejoin:"round"}));e.a=c,c.__docgenInfo={description:"",methods:[],displayName:"SvgBigArrowRight"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["app/components/Icon/BigArrowRight.js"]={name:"SvgBigArrowRight",docgenInfo:c.__docgenInfo,path:"app/components/Icon/BigArrowRight.js"})},"./app/components/Icon/Bitcoin.js":function(n,e,t){"use strict";var o=t("./node_modules/react/index.js"),i=t.n(o);function a(){return(a=Object.assign||function(n){for(var e,t=1;t<arguments.length;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}).apply(this,arguments)}const c=n=>i.a.createElement("svg",a({viewBox:"0 0 32 33",width:"1em",height:"1em"},n),i.a.createElement("path",{d:"M15.85 32.1C7.096 32.1 0 25.004 0 16.25S7.096.4 15.85.4 31.7 7.496 31.7 16.25 24.604 32.1 15.85 32.1zm-4.3-23.95c-.05.05-.05.05.15-.1-.15.55-.3 1.15-.45 1.7-.05.1 0 .15.1.15.4.1.85.2 1.3.35.45.15.7.6.6 1-.6 2.6-1.25 5.15-1.9 7.7-.05.35-.35.55-.75.45-.35-.05-.75-.15-1.1-.25-.15 0-.2 0-.25.15-.15.4-.35.85-.55 1.3-.1.2-.15.35-.25.55 1.2.3 2.35.6 3.5.9 0 .1-.05.15-.05.2-.25.8-.45 1.65-.65 2.5-.05.1-.05.15.1.2.5.1 1 .2 1.5.35.15.05.15 0 .2-.1.1-.45.25-.9.35-1.35.1-.45.25-.9.35-1.35.45.1.85.2 1.25.3.1.05.05.1.05.2-.25.8-.45 1.65-.65 2.5-.05.1-.05.15.1.2.45.1.95.25 1.4.35.25.1.25.05.3-.15.2-.8.4-1.65.6-2.45.05-.15.15-.2.3-.15 1 .15 2 .25 3.05.1.8-.1 1.5-.45 2.05-1.1.45-.55.7-1.15.9-1.85.15-.55.2-1.15.
6 years ago
${t.n(Gn).a}
@font-face {
/* stylelint-disable */
font-family: 'Roboto';
font-style: normal;
font-weight: 300;
src: local('Roboto Light'), local('Roboto-Light'), url(https://fonts.gstatic.com/s/roboto/v15/Fl4y0QdOxyyTHEGMXX8kcaCWcynf_cDxXwCLxiixG1c.ttf) format('truetype');
/* avoid flicker - see https://www.styled-components.com/docs/faqs#how-do-i-fix-flickering-text-after-server-side-rendering*/
font-display: fallback;
}
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
position: relative;
overflow-y: hidden;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
font-family: 'Roboto', Arial, Helvetica, sans-serif;
font-size: 13px;
}
.element-show {
display: inherit;
}
.element-hide {
display: none;
}
6 years ago
/* Tooltips */
[data-hint] {
position: relative;
}
[data-hint]::before,
[data-hint]::after {
position: absolute;
will-change: transform;
visibility: hidden;
opacity: 0;
z-index: 999;
pointer-events: none;
transition: 0.2s ease;
transition-delay: 0ms;
}
[data-hint]::before {
content: '';
position: absolute;
background: transparent;
border: 6px solid transparent;
z-index: 999;
}
[data-hint]::after {
content: attr(data-hint);
background: ${n=>n.theme.colors.lightestBackground};
color: ${n=>n.theme.colors.primaryText};
border: 0.5px solid ${n=>n.theme.colors.primaryText};
max-width: 260px;
text-shadow: 0 -1px 0 black;
padding: 8px 10px;
word-wrap: break-word;
border-radius: 3px;
box-shadow: 0 3px 4px 0 rgba(30, 30, 30, 0.5), 0 2px 4px 0 rgba(0, 0, 0, 0.5);
letter-spacing: normal;
font-weight: normal;
font-style: inherit;
font-family: 'Noto Sans', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, Sans-Serif;
}
[data-hint]:hover::before,
[data-hint]:hover::after {
visibility: visible;
opacity: 1;
}
.hint--bottom::before,
.hint--bottom-left::before {
border-bottom-color: #404040;
}
.hint--top::before,
.hint--top-left::before {
border-top-color: #404040;
}
.hint--bottom::before {
margin-top: -12px;
}
.hint--bottom::after {
margin-left: -18px;
}
.hint--bottom::before,
.hint--bottom::after {
top: 100%;
left: 50%;
}
.hint--bottom:hover::after,
.hint--bottom:hover::before {
-webkit-transform: translateY(8px);
transform: translateY(8px);
}
.hint--top::before {
margin-bottom: -12px;
}
.hint--top::after {
margin-left: -18px;
}
.hint--top::before,
.hint--top::after {
bottom: 100%;
left: 50%;
}
.hint--top:hover::after,
.hint--top:hover::before {
-webkit-transform: translateY(-8px);
transform: translateY(-8px);
}
.hint--top-left::before {
margin-bottom: -12px;
}
.hint--top-left::after {
margin-right: -6px;
}
.hint--top-left::before,
.hint--top-left::after {
bottom: 100%;
right: 12px;
}
.hint--top-left:hover::after,
.hint--top-left:hover::before {
-webkit-transform: translateY(-8px);
transform: translateY(-8px);
}
.hint--bottom-left::before {
margin-top: -12px;
}
.hint--bottom-left::after {
margin-right: -6px;
}
.hint--bottom-left::before,
.hint--bottom-left::after {
top: 100%;
right: 12px;
}
.hint--bottom-left:hover::after,
.hint--bottom-left:hover::before {
-webkit-transform: translateY(8px);
transform: translateY(8px);
}
.hint--left::before {
margin-right: -12px;
margin-top: -6px;
}
.hint--left::after {
margin-right: -14px;
}
.hint--left::before,
.hint--left::after {
right: 100%;
bottom: 50%;
}
.hint--left:hover::after,
.hint--left:hover::before {
-webkit-transform: translateX(-8px);
transform: translateX(-8px);
}
`;function Xn(){return(Xn=Object.assign||function(n){for(var e,t=1;t<arguments.length;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}).apply(this,arguments)}function Qn(n,e){for(var t,o=0;o<e.length;o++)(t=e[o]).enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}function Jn(n,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):e}function ne(n){return(ne=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function ee(n,e){return(ee=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}let te=function(n){function e(){return function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Jn(this,ne(e).apply(this,arguments))}return function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&ee(n,e)}(e,i.a.PureComponent),function(n,e,t){e&&Qn(n.prototype,e),t&&Qn(n,t)}(e,[{key:"render",value:function(){return i.a.createElement(a.Heading,Xn({as:"h2",lineHeight:"1.4",fontWeight:"normal",fontSize:5,color:"primaryText"},this.props))}}]),e}();(function(n,e,t){e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t})(te,"displayName","Heading"),te.h1=(n=>i.a.createElement(te,Xn({fontSize:6},n,{as:"h1"}))),te.h2=(n=>i.a.createElement(te,Xn({fontSize:5},n,{as:"h2"}))),te.h3=(n=>i.a.createElement(te,Xn({fontSize:4},n,{as:"h3"}))),te.h4=(n=>i.a.createElement(te,Xn({fontSize:3},n,{as:"h4"}))),te.h5=(n=>i.a.createElement(te,Xn({fontSize:3},n,{as:"h5"}))),te.h6=(n=>i.a.createElement(te,Xn({fontSize:3},n,{as:"h6"}))),te.h1.displayName="Heading1",te.h2.displayName="Heading2",te.h3.displayName="Heading3",te.h4.displayName="Heading4",te.h5.displayName="Heading5",te.h6.displayName="Heading6";var oe=te,ie=t("./node_modules/styled-system-html/dist/index.js");function ae(){return(ae=Object.assign||function(n){for(var e,t=1;t<arguments.length;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}).apply(this,arguments)}function ce(n,e){for(var t,o=0;o<e.length;o++)(t=e[o]).enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}function re(n,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):e}function se(n){return(se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function le(n,e){return(le=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}let pe=function(n){function e(){return function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),re(this,se(e).apply(this,arguments))}return function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&le(n,e)}(e,i.a.Component),function(n,e,t){e&&ce(n.prototype,e),t&&ce(n,t)}(e,[{key:"render",value:function(){return i.a.createElement(ie.Label,ae({css:{display:"block"},color:"primaryText",fontWeight:"bold",mb:1},this.props))}}]),e}();!function(n,e,t){e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t}(pe,"displayName","Label");var me=pe,de=t("./app/lib/utils/crypto.js");function ue(){return(ue=Object.assign||function(n){for(var e,t=1;t<arguments.length;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}).apply(this,arguments)}function ge(n,e){if(null==n)return{};var t,o,i=function(n,e){if(null==n)return{};var t,o,i
//# sourceMappingURL=iframe.9a2495c9245811050546.bundle.js.map