{"version":3,"sources":["webpack:///./src/components/pages/landing/sodedif.png","webpack:///./src/components/pages/landing/yubi.svg","webpack:///./src/components/register-section/register-section.tsx","webpack:///./src/components/pages/landing/landing.tsx"],"names":["module","exports","RegisterSection","children","flipped","marsSrc","className","src","alt","Landing","hasAccount","user","Boolean","account","style","padding","height","id","vars","company","rounded","to","SPEAK","onClick","href"],"mappings":"yHAAAA,EAAOC,QAAU,IAA0B,wC,oBCA3CD,EAAOC,QAAU,IAA0B,wC,wJCI7B,SAAUC,GAAgB,SACtCC,EADsC,QAEtCC,GAAU,EAF4B,QAGtCC,IAMA,OACE,2BAASC,UAAW,IAAG,mBAAoB,CAAEF,aAC3C,uBAAKE,UAAU,OACb,uBAAKA,UAAU,iBAAiBH,GAChC,uBAAKG,UAAU,oBACb,uBAAKA,UAAU,OAAOC,IAAKF,EAASG,IAAI,gB,mBCPpC,SAAUC,IACtB,MAAMC,EAAa,YAAiB,EAAGC,UAAWC,QAAQD,aAAI,EAAJA,EAAME,UAChE,OACE,uBAAKP,UAAU,mBACb,uBAAKA,UAAU,kBACb,uBACEC,IAAK,EAAQ,KACbC,IAAI,eACJM,MAAO,CAAEC,QAAS,GAAIC,OAAQ,OAGlC,gBAACd,EAAe,CAACE,SAAO,EAACC,QAAS,EAAQ,MACxC,gBAAC,IAAS,CAACY,GAAG,gBAAgBC,KAAM,CAAEC,QAAS,YAC7C,4BAEF,gBAAC,IAAS,CAACF,GAAG,mBACZ,qBAAGX,UAAU,oBAEdI,EACC,gBAAC,IAAS,CAACO,GAAG,kBACZ,gBAAC,IAAU,CACTG,SAAO,EACPC,GAAI,IAAKC,MACTC,QAAS,IAAM,YAAa,YAIhC,gBAAC,IAAS,CAACN,GAAG,gBAAgBC,KAAM,CAAEC,QAAS,YAC7C,gBAAC,IAAU,CACTC,SAAO,EACPI,KAAM,YAAS,UACfD,QAAS,IAAM,YAAa,cAIlC,gBAAC,IAAS,CAACN,GAAG,wBACZ,qBAAGX,UAAU","file":"7.js?id=8f7a66e226a02275af56","sourcesContent":["module.exports = __webpack_public_path__ + \"485d1227fe87b8c5d18c77dc6f9b0247.png\";","module.exports = __webpack_public_path__ + \"66062188e1c40981c0c0301c7895243e.svg\";","import cx from 'classnames';\nimport * as React from 'react';\nimport './register-section.css';\n\nexport default function RegisterSection({\n  children,\n  flipped = false,\n  marsSrc,\n}: {\n  children: React.ReactNode[];\n  flipped?: boolean;\n  marsSrc: string;\n}) {\n  return (\n    <section className={cx('register-section', { flipped })}>\n      <div className=\"top\">\n        <div className=\"cta-container\">{children}</div>\n        <div className=\"images-container\">\n          <img className=\"mars\" src={marsSrc} alt=\"voiceitt\" />\n        </div>\n      </div>\n    </section>\n  );\n}\n","import { Localized } from '@fluent/react';\nimport { authPath } from '../../../utility';\nimport * as React from 'react';\nimport { trackLanding } from '../../../services/tracker';\nimport { useTypedSelector } from '../../../stores/tree';\nimport URLS from '../../../urls';\nimport RegisterSection from '../../register-section/register-section';\nimport { LinkButton } from '../../ui/ui';\n\nimport './landing.css';\n\nexport default function Landing() {\n  const hasAccount = useTypedSelector(({ user }) => Boolean(user?.account));\n  return (\n    <div className=\"partner-landing\">\n      <div className=\"partner-header\">\n        <img\n          src={require('./sodedif.png')}\n          alt=\"Sodedif Logo\"\n          style={{ padding: 10, height: 50 }}\n        />\n      </div>\n      <RegisterSection flipped marsSrc={require('./yubi.svg')}>\n        <Localized id=\"welcome-staff\" vars={{ company: 'Sodedif' }}>\n          <h1 />\n        </Localized>\n        <Localized id=\"help-contribute\">\n          <p className=\"main-paragraph\" />\n        </Localized>\n        {hasAccount ? (\n          <Localized id=\"speak-subtitle\">\n            <LinkButton\n              rounded\n              to={URLS.SPEAK}\n              onClick={() => trackLanding('speak')}\n            />\n          </Localized>\n        ) : (\n          <Localized id=\"login-company\" vars={{ company: 'Sodedif' }}>\n            <LinkButton\n              rounded\n              href={authPath('/login')}\n              onClick={() => trackLanding('profile')}\n            />\n          </Localized>\n        )}\n        <Localized id=\"profile-not-required\">\n          <p className=\"profile-not-required\" />\n        </Localized>\n      </RegisterSection>\n    </div>\n  );\n}\n"],"sourceRoot":""}