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PC,YAAY,IACZC,cAAc,UAEhB,4BACE,kCACEC,GAAG,0BACHC,GAAG,IACHC,GAAG,UACHC,GAAG,UACHC,GAAG,UACHC,cAAc,kBAEd,wBAAMC,UAAU,YAChB,wBAAMC,OAAO,IAAID,UAAU,kBAMvB,sEAAGnC,CAAH,gFAeZ,IAJuB,SAAC,GAAD,QAAGe,MAAAA,OAAH,MAAW,GAAX,MAAeC,OAAAA,OAAf,MAAwB,GAAxB,SACrB,gBAACF,EAAD,CAAQC,MAAOA,EAAOC,OAAQA,M,oDC9ChC,UAFsB,kBAAM,gBAAC,IAAD","sources":["webpack://payment-flow/./src/components/Layout.tsx","webpack://payment-flow/./src/components/Spinner.tsx","webpack://payment-flow/./src/pages/index.tsx"],"sourcesContent":["import React from 'react';\nimport styled from 'styled-components';\nimport Spinner from './Spinner';\n// import { P } from './Typography';\n\nconst Wrapper = styled.section`\n height: calc(100vh - 65px + 65px * 2);\n background-color: #f4f7f9;\n`;\n\nconst Section = styled.section<{ isWithHeader?: boolean }>`\n /* height: calc(100vh -); */\n padding: 5rem calc((100vw - 800px) / 2);\n overflow-y: none;\n background-color: #f4f7f9;\n position: relative;\n @media (max-width: 900px) {\n height: calc(100vh - 5rem + 5rem * 2);\n padding: ${(props) =>\n props.isWithHeader ? `5rem var(--space-2)` : `3rem var(--space-2) `};\n }\n`;\nconst Header = styled.header<{ bgColor?: string }>`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n padding: 0 8rem;\n height: 65px;\n background-color: ${(props) =>\n props.bgColor ? `${props.bgColor}` : `#13273F`};\n @media (max-width: 900px) {\n padding: 0;\n justify-content: center;\n }\n`;\n\nconst LogoWrapper = styled.div<{ bgColor?: string }>`\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: white;\n position: absolute;\n border: ${(props) =>\n props.bgColor ? `5px solid ${props.bgColor}` : `5px solid #13273F`};\n top: 10px;\n border-radius: 50%;\n width: 85px;\n height: 85px;\n z-index: 99;\n`;\n\nconst Logo = styled.img`\n width: 101%;\n border-radius: 50%;\n`;\n\n/* const Banner = styled.div`\n padding: var(--space-2);\n background: linear-gradient(\n 270deg,\n #7914c9 12.33%,\n #af14c9 99.99%,\n #af14c9 100%\n );\n display: flex;\n justify-content: center;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n`; */\n\n/* const BannerText = styled(P)`\n color: white;\n`; */\n\nconst Layout: React.FunctionComponent = ({\n children /* , isSandbox */,\n customisationSettings,\n}) => (\n \n {customisationSettings?.headerBgColor && customisationSettings?.headerLogo && (\n
\n \n {customisationSettings.headerLogo ? (\n \n ) : (\n \n )}\n \n
\n )}\n\n \n {/* isSandbox && (\n \n You are in sandbox mode!\n \n ) */}\n {children}\n \n
\n);\n\nexport default Layout;\n","import React from 'react';\nimport styled from 'styled-components';\n\nconst SpinnerSvg = ({ width, height }: any) => (\n \n \n \n \n \n \n \n \n \n);\n\nconst Styled = styled(SpinnerSvg)`\n @keyframes spin {\n 0% {\n transform: rotateZ(0);\n }\n 100% {\n transform: rotateZ(360deg);\n }\n }\n`;\n\nexport const Spinner = ({ width = 22, height = 22 }) => (\n \n);\n\nexport default Spinner;\n","import Layout from '@/components/Layout';\nimport React, { FC } from 'react';\n\nconst IndexPage: FC = () => ;\n\nexport default IndexPage;\n"],"names":["Wrapper","styled","Section","props","isWithHeader","Header","bgColor","LogoWrapper","Logo","children","customisationSettings","headerBgColor","headerLogo","src","alt","Styled","width","height","viewBox","fill","xmlns","style","animationName","animationDuration","animationIterationCount","animationTimingFunction","d","stroke","strokeWidth","strokeLinecap","id","x1","y1","x2","y2","gradientUnits","stopColor","offset"],"sourceRoot":""}