{"version":3,"sources":["webpack:///./app/javascript/layouts/public/LightLayout/styles.ts","webpack:///./app/javascript/layouts/public/LightLayout/LightLayout.tsx","webpack:///./app/javascript/layouts/public/LightLayout/index.ts","webpack:///./app/javascript/pages/public/index.ts","webpack:///./.yarn/__virtual__/react-useportal-virtual-5f995df036/0/cache/react-useportal-npm-1.0.14-d44e110b25-b23200be5a.zip/node_modules/react-useportal/dist/usePortal.js","webpack:///./.yarn/__virtual__/use-ssr-virtual-44e0d56ae1/0/cache/use-ssr-npm-1.0.24-fee10d012c-527c41649e.zip/node_modules/use-ssr/dist/useSSR.js","webpack:///./app/javascript/layouts/public/BaseLayout/styles.ts","webpack:///./app/javascript/layouts/public/BaseLayout/index.ts","webpack:///./app/javascript/layouts/public/BaseLayout/BaseLayout.tsx","webpack:///./app/javascript/layouts/public/HomeLayout/index.ts","webpack:///./app/javascript/layouts/public/HomeLayout/HomeLayout.tsx","webpack:///./app/javascript/layouts/public/LoginLayout/styles.ts","webpack:///./app/javascript/layouts/public/LoginLayout/index.ts","webpack:///./app/javascript/layouts/public/LoginLayout/LoginLayout.tsx","webpack:///./app/javascript/routers/public/Router.tsx"],"names":["styles","root","minHeight","display","flexDirection","alignItems","content","marginLeft","marginRight","padding","width","maxWidth","contentChat","height","paddingLeft","mobile","tablet","desktop","LightLayout","props","children","isChatPath","useRouter","pathname","appRoutes","trotter","chatPath","sx","type","HeaderLayout","light","clsx","Profile","lazy","ProfileEdit","ProfileSpaces","ProfileBilling","ProfileNotifications","Home","NewPassword","Search","SetPassword","EmailConfirmation","BuildingSpace","RequestQuote","Page404","ThanksForChoosing","ForwardBroker","SignIn","SignUpFinish","PasswordForgot","SignDocument","__assign","this","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","__importDefault","mod","__esModule","defineProperty","exports","value","react_1","react_dom_1","use_ssr_1","errorMessage1","default","_a","_b","closeOnOutsideClick","_c","closeOnEsc","bindTo","_d","isOpen","defaultIsOpen","onOpen","onClose","onPortalClick","eventHandlers","_e","isServer","isBrowser","_f","useState","makeOpen","open","useRef","setOpen","useCallback","v","current","targetEl","portal","document","createElement","useEffect","elToMountTo","useMemo","findDOMNode","body","createCustomEvent","event","persist","currentTarget","customEventHandlers","entries","reduce","acc","handlerName","eventHandler","openPortal","customEvent","setTimeout","Error","closePortal","togglePortal","handleKeydown","key","undefined","handleOutsideMouseClick","containsTarget","target","contains","button","handleMouseDown","HTMLElement","eventListeners","eventHandlerMap","onScroll","onWheel","node","appendChild","forEach","eventListenerName","addEventListener","removeEventListener","removeChild","Portal","createPortal","ref","portalRef","bind","Device","Browser","Server","Native","canUseDOM","window","device","navigator","product","SSRObject","isNative","canUseWorkers","Worker","canUseEventListeners","canUseViewport","screen","toArrayObject","args","_i","obj","keys","map","useSSRObject","weAreServer","useSSR","BaseLayout","filterRef","base","HomeLayout","home","zIndex","backgroundImage","backgroundSize","backgroundRepeat","backgroundPosition","position","color","baseWithoutImage","backgroundColor","horizontalGradient","background","verticalGradient","verticalGradientWithoutImage","horizontalGradientWithoutImage","wrapper","justifyContent","flexShrink","paddingTop","paddingBottom","logoWrapper","largeScreen","logo","signInButton","border","paddingRight","marginBottom","loginAndPhone","LoginLayout","withoutBackgroindImage","redirectUrl","camelizedQuery","useTranslation","useAuthNotifications","isSignInPath","signInPath","isSignUpPath","signUpPath","signUpOwnerPath","baseStyles","verticalGradientStyles","horizontalGradientStyles","to","rootPath","className","name","layoutType","component","Link","makePathWithQueryString","size","variant","PublicRouter","setRef","usePortal","exact","path","signUpFinishPath","signDocumentPath","emailConfirmationPath","passwordForgotPath","resetPasswordPath","setPasswordPath","searchPath","FilterPortal","buildingSpacePath","render","routerProps","match","params","spaceId","requestQuotePath","thanksPath","profilePath","page404Path","forwardPath"],"mappings":"8IA2BeA,EAzBU,CACvBC,KAAM,CACJC,UAAW,QACXC,QAAS,OACTC,cAAe,SACfC,WAAY,UAEdC,QAAS,CACPC,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C,KAAM5N,IAAS,OAAQ2O,iBAAiB,YAArD,SACE,cAACjP,EAAA,EAAD,UACE,cAAC,IAAD,QAIJ,cAAC,IAAD,CAAOiO,OAAK,EAACC,KAAM5N,IAAS,OAAQ4O,WAAW,YAA/C,SACE,cAAClP,EAAA,EAAD,UACE,cAAC,IAAD,QAIJ,cAAC,IAAD,CAAOkO,KAAM5N,IAAS,OAAQ6O,cAA9B,SACE,cAACnP,EAAA,EAAD,UACE,cAAC,IAAD,QAIJ,cAAC,IAAD,CAAOiO,OAAK,EAACC,KAAM5N,IAAS,OAAQ8O,cAApC,SACE,cAACpP,EAAA,EAAD,UACE,cAAC,IAAD,QAIJ,cAAC,IAAD,CAAOiO,OAAK,EAACC,KAAM5N,IAAS,OAAQ+O,cAApC,SACE,cAAC,IAAD,MAGF,cAAC,IAAD,CAAUjC,GAAI9M,IAAS,OAAQ+M","file":"js/11-0dc09e526c3d766ad70d.chunk.js","sourcesContent":["import { SxStyles } from 'types/theme';\n\nconst styles: SxStyles = {\n root: {\n minHeight: '100vh',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n },\n content: {\n marginLeft: 'auto',\n marginRight: 'auto',\n padding: 0,\n width: '100vw',\n maxWidth: '100vw',\n },\n contentChat: {\n height: 'calc(100vh - 95px)',\n padding: 0,\n paddingLeft: {\n mobile: '0',\n tablet: '30px',\n desktop: '45px',\n },\n },\n};\n\nexport default styles;\n","import React, { FC } from 'react';\nimport { Box, Modal, Header, Footer, Notification } from 'components';\nimport { HeaderLayout } from 'enums/HeaderLayout';\nimport { useRouter } from 'hooks';\nimport { appRoutes } from 'routes';\nimport clsx from 'utils/clsx';\n\nimport styles from './styles';\n\ntype LightLayoutProps = {\n children?: React.ReactNode;\n};\n\nconst LightLayout: FC = (props: LightLayoutProps) => {\n const { children } = props;\n\n const { pathname } = useRouter();\n\n const isChatPath = pathname === appRoutes.trotter.chatPath();\n\n return (\n \n \n {children}\n {!isChatPath && }\n \n \n \n );\n};\n\nexport default LightLayout;\n","import LightLayout from './LightLayout';\n\nexport default LightLayout;\n","import { lazy } from 'react';\n\nconst Profile = lazy(() => import('./Profile'));\nconst ProfileEdit = lazy(() => import('./ProfileEdit'));\nconst ProfileSpaces = lazy(() => import('./ProfileSpaces'));\nconst ProfileBilling = lazy(() => import('./ProfileBilling'));\nconst ProfileNotifications = lazy(() => import('./ProfileNotifications'));\nconst Home = lazy(() => import('./Home'));\nconst NewPassword = lazy(() => import('./NewPassword'));\nconst Search = lazy(() => import('./Search'));\nconst SetPassword = lazy(() => import('./SetPassword'));\nconst EmailConfirmation = lazy(() => import('./EmailConfirmation'));\nconst BuildingSpace = lazy(() => import('./BuildingSpace'));\nconst RequestQuote = lazy(() => import('./RequestAQuote'));\nconst Page404 = lazy(() => import('./Page404'));\nconst ThanksForChoosing = lazy(() => import('./ThanksForChoosing'));\nconst ForwardBroker = lazy(() => import('./ForwardBroker'));\nconst SignIn = lazy(() => import('./SignIn'));\nconst SignUpFinish = lazy(() => import('./SignUpFinish'));\nconst PasswordForgot = lazy(() => import('./PasswordForgot'));\nconst SignDocument = lazy(() => import('./SignDocument'));\n\nexport {\n Home,\n NewPassword,\n Search,\n SetPassword,\n EmailConfirmation,\n BuildingSpace,\n RequestQuote,\n Profile,\n ProfileEdit,\n ProfileSpaces,\n ProfileBilling,\n ProfileNotifications,\n Page404,\n ThanksForChoosing,\n ForwardBroker,\n SignIn,\n SignUpFinish,\n PasswordForgot,\n SignDocument,\n};\n","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar react_1 = require(\"react\");\nvar react_dom_1 = require(\"react-dom\");\nvar use_ssr_1 = __importDefault(require(\"use-ssr\"));\nexports.errorMessage1 = 'You must either add a `ref` to the element you are interacting with or pass an `event` to openPortal(e) or togglePortal(e).';\nfunction usePortal(_a) {\n if (_a === void 0) { _a = {}; }\n var _b = _a.closeOnOutsideClick, closeOnOutsideClick = _b === void 0 ? true : _b, _c = _a.closeOnEsc, closeOnEsc = _c === void 0 ? true : _c, bindTo = _a.bindTo, // attach the portal to this node in the DOM\n _d = _a.isOpen, // attach the portal to this node in the DOM\n defaultIsOpen = _d === void 0 ? false : _d, onOpen = _a.onOpen, onClose = _a.onClose, onPortalClick = _a.onPortalClick, eventHandlers = __rest(_a, [\"closeOnOutsideClick\", \"closeOnEsc\", \"bindTo\", \"isOpen\", \"onOpen\", \"onClose\", \"onPortalClick\"]);\n var _e = use_ssr_1.default(), isServer = _e.isServer, isBrowser = _e.isBrowser;\n var _f = react_1.useState(defaultIsOpen), isOpen = _f[0], makeOpen = _f[1];\n // we use this ref because `isOpen` is stale for handleOutsideMouseClick\n var open = react_1.useRef(isOpen);\n var setOpen = react_1.useCallback(function (v) {\n // workaround to not have stale `isOpen` in the handleOutsideMouseClick\n open.current = v;\n makeOpen(v);\n }, []);\n var targetEl = react_1.useRef(); // this is the element you are clicking/hovering/whatever, to trigger opening the portal\n var portal = react_1.useRef(isBrowser ? document.createElement('div') : null);\n react_1.useEffect(function () {\n if (isBrowser && !portal.current)\n portal.current = document.createElement('div');\n }, [isBrowser, portal]);\n var elToMountTo = react_1.useMemo(function () {\n if (isServer)\n return;\n return (bindTo && react_dom_1.findDOMNode(bindTo)) || document.body;\n }, [isServer, bindTo]);\n var createCustomEvent = function (e) {\n if (!e)\n return { portal: portal, targetEl: targetEl, event: e };\n var event = e || {};\n if (event.persist)\n event.persist();\n event.portal = portal;\n event.targetEl = targetEl;\n event.event = e;\n var currentTarget = e.currentTarget;\n if (!targetEl.current && currentTarget && currentTarget !== document)\n targetEl.current = event.currentTarget;\n return event;\n };\n // this should handle all eventHandlers like onClick, onMouseOver, etc. passed into the config\n var customEventHandlers = Object\n .entries(eventHandlers)\n .reduce(function (acc, _a) {\n var handlerName = _a[0], eventHandler = _a[1];\n acc[handlerName] = function (event) {\n if (isServer)\n return;\n eventHandler(createCustomEvent(event));\n };\n return acc;\n }, {});\n var openPortal = react_1.useCallback(function (e) {\n if (isServer)\n return;\n var customEvent = createCustomEvent(e);\n // for some reason, when we don't have the event argument, there\n // is a weird race condition. Would like to see if we can remove\n // setTimeout, but for now this works\n if (targetEl.current == null) {\n setTimeout(function () { return setOpen(true); }, 0);\n throw Error(exports.errorMessage1);\n }\n if (onOpen)\n onOpen(customEvent);\n setOpen(true);\n }, [isServer, portal, setOpen, targetEl, onOpen]);\n var closePortal = react_1.useCallback(function (e) {\n if (isServer)\n return;\n var customEvent = createCustomEvent(e);\n if (onClose && open.current)\n onClose(customEvent);\n if (open.current)\n setOpen(false);\n }, [isServer, onClose, setOpen]);\n var togglePortal = react_1.useCallback(function (e) {\n return open.current ? closePortal(e) : openPortal(e);\n }, [closePortal, openPortal]);\n var handleKeydown = react_1.useCallback(function (e) {\n return (e.key === 'Escape' && closeOnEsc) ? closePortal(e) : undefined;\n }, [closeOnEsc, closePortal]);\n var handleOutsideMouseClick = react_1.useCallback(function (e) {\n var containsTarget = function (target) { return target.current.contains(e.target); };\n if (containsTarget(portal) || e.button !== 0 || !open.current || containsTarget(targetEl))\n return;\n if (closeOnOutsideClick)\n closePortal(e);\n }, [isServer, closePortal, closeOnOutsideClick, portal]);\n var handleMouseDown = react_1.useCallback(function (e) {\n if (isServer || !(portal.current instanceof HTMLElement))\n return;\n var customEvent = createCustomEvent(e);\n if (portal.current.contains(customEvent.target) && onPortalClick)\n onPortalClick(customEvent);\n handleOutsideMouseClick(e);\n }, [handleOutsideMouseClick]);\n // used to remove the event listeners on unmount\n var eventListeners = react_1.useRef({});\n react_1.useEffect(function () {\n if (isServer)\n return;\n if (!(elToMountTo instanceof HTMLElement) || !(portal.current instanceof HTMLElement))\n return;\n // TODO: eventually will need to figure out a better solution for this.\n // Surely we can find a way to map onScroll/onWheel -> scroll/wheel better,\n // but for all other event handlers. For now this works.\n var eventHandlerMap = {\n onScroll: 'scroll',\n onWheel: 'wheel',\n };\n var node = portal.current;\n elToMountTo.appendChild(portal.current);\n // handles all special case handlers. Currently only onScroll and onWheel\n Object.entries(eventHandlerMap).forEach(function (_a) {\n var handlerName = _a[0] /* onScroll */, eventListenerName = _a[1] /* scroll */;\n if (!eventHandlers[handlerName])\n return;\n eventListeners.current[handlerName] = function (e) { return eventHandlers[handlerName](createCustomEvent(e)); };\n document.addEventListener(eventListenerName, eventListeners.current[handlerName]);\n });\n document.addEventListener('keydown', handleKeydown);\n document.addEventListener('mousedown', handleMouseDown);\n return function () {\n // handles all special case handlers. Currently only onScroll and onWheel\n Object.entries(eventHandlerMap).forEach(function (_a) {\n var handlerName = _a[0], eventListenerName = _a[1];\n if (!eventHandlers[handlerName])\n return;\n document.removeEventListener(eventListenerName, eventListeners.current[handlerName]);\n delete eventListeners.current[handlerName];\n });\n document.removeEventListener('keydown', handleKeydown);\n document.removeEventListener('mousedown', handleMouseDown);\n elToMountTo.removeChild(node);\n };\n }, [isServer, handleOutsideMouseClick, handleKeydown, elToMountTo, portal]);\n var Portal = react_1.useCallback(function (_a) {\n var children = _a.children;\n if (portal.current != null)\n return react_dom_1.createPortal(children, portal.current);\n return null;\n }, [portal]);\n return Object.assign([openPortal, closePortal, open.current, Portal, togglePortal, targetEl, portal], __assign(__assign({ isOpen: open.current, openPortal: openPortal, ref: targetEl, closePortal: closePortal,\n togglePortal: togglePortal,\n Portal: Portal, portalRef: portal }, customEventHandlers), { bind: __assign({ ref: targetEl }, customEventHandlers) }));\n}\nexports.default = usePortal;\n//# sourceMappingURL=usePortal.js.map","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Device;\n(function (Device) {\n Device[\"Browser\"] = \"browser\";\n Device[\"Server\"] = \"server\";\n Device[\"Native\"] = \"native\";\n})(Device = exports.Device || (exports.Device = {}));\nvar Browser = Device.Browser, Server = Device.Server, Native = Device.Native;\nvar canUseDOM = !!(typeof window !== 'undefined' &&\n window.document &&\n window.document.createElement);\nvar canUseNative = typeof navigator != 'undefined' && navigator.product == 'ReactNative';\nvar device = canUseNative ? Native : canUseDOM ? Browser : Server;\nvar SSRObject = {\n isBrowser: device === Browser,\n isServer: device === Server,\n isNative: device === Native,\n device: device,\n canUseWorkers: typeof Worker !== 'undefined',\n canUseEventListeners: device === Browser && !!window.addEventListener,\n canUseViewport: device === Browser && !!window.screen,\n};\n// TODO: instead of this, do a polyfill for `Object.assign` https://www.npmjs.com/package/es6-object-assign\nvar assign = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return args.reduce(function (acc, obj) { return (__assign(__assign({}, acc), obj)); }, {});\n};\nvar values = function (obj) { return Object.keys(obj).map(function (key) { return obj[key]; }); };\nvar toArrayObject = function () { return assign((values(SSRObject), SSRObject)); };\nvar useSSRObject = toArrayObject();\nexports.weAreServer = function () {\n SSRObject.isServer = true;\n useSSRObject = toArrayObject();\n};\nexports.useSSR = function () { return useSSRObject; };\nexports.default = exports.useSSR;\n","import { SxStyles } from 'types/theme';\n\nconst styles: SxStyles = {\n root: {\n minHeight: '100vh',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n },\n content: {\n marginLeft: 'auto',\n marginRight: 'auto',\n padding: 0,\n width: '100vw',\n maxWidth: '100vw',\n },\n};\n\nexport default styles;\n","import BaseLayout from './BaseLayout';\n\nexport default BaseLayout;\n","import { FC, ReactNode, Dispatch } from 'react';\nimport { Box, Modal, Header, Footer, Notification } from 'components';\nimport { HeaderLayout } from 'enums/HeaderLayout';\n\nimport styles from './styles';\n\ntype BaseLayoutProps = {\n children?: ReactNode;\n filterRef?: Dispatch;\n};\n\nconst BaseLayout: FC = (props: BaseLayoutProps) => {\n const { children, filterRef } = props;\n\n return (\n \n \n {children}\n \n \n \n \n );\n};\n\nexport default BaseLayout;\n","import HomeLayout from './HomeLayout';\n\nexport default HomeLayout;\n","import React, { FC } from 'react';\nimport { Box, Modal, Header, Footer, Notification } from 'components';\nimport { HeaderLayout } from 'enums/HeaderLayout';\n\ntype HomeLayoutProps = {\n children?: React.ReactNode;\n};\n\nconst HomeLayout: FC = (props: HomeLayoutProps) => {\n const { children } = props;\n\n return (\n \n \n {children}\n \n \n \n \n );\n};\n\nexport default HomeLayout;\n","import { SxStyles } from 'types/theme';\n\nconst styles: SxStyles = {\n base: {\n zIndex: 1,\n backgroundImage: \"url('/images/hero.jpg')\",\n backgroundSize: 'cover',\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center',\n position: 'relative',\n color: 'common.white',\n },\n baseWithoutImage: {\n backgroundImage: 'none',\n backgroundColor: 'navy.main',\n },\n horizontalGradient: {\n zIndex: 2,\n background: 'linear-gradient(90deg, rgba(0,37,92,1) 0%, rgba(255,255,255,0.1) 100%)',\n },\n verticalGradient: {\n background: 'linear-gradient(180deg, rgba(0,37,92,1) 0%, rgba(255,255,255,0.1) 16%);',\n zIndex: 3,\n },\n verticalGradientWithoutImage: {\n background: 'none',\n },\n horizontalGradientWithoutImage: {\n background: 'none',\n },\n wrapper: {\n display: 'flex',\n position: 'relative',\n flexDirection: 'column',\n justifyContent: 'center',\n width: '100%',\n minHeight: '697.5px',\n flexShrink: {\n mobile: 1,\n tablet: 0,\n },\n paddingTop: '24px',\n paddingBottom: '24px',\n },\n logoWrapper: {\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n padding: {\n mobile: '20px 0',\n tablet: '20px 0 17.5px 0',\n desktop: '23.5px 0 0 0',\n largeScreen: '35px 0 0 0',\n },\n },\n logo: {\n '& a': {\n display: 'flex',\n color: 'white.main',\n },\n '& svg': {\n width: {\n mobile: 60,\n tablet: 70,\n desktop: 90,\n },\n height: {\n mobile: 22,\n tablet: 25,\n desktop: 32,\n },\n },\n },\n signInButton: {\n display: 'flex',\n border: 'none',\n height: '30px',\n padding: 0,\n width: 'auto',\n paddingLeft: '16px',\n paddingRight: '16px',\n '&:hover': {\n border: 'none',\n },\n '& svg': {\n marginBottom: '3px',\n marginRight: 1,\n width: 16,\n height: 16,\n },\n },\n loginAndPhone: {\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n },\n};\n\nexport default styles;\n","import LoginLayout from './LoginLayout';\n\nexport default LoginLayout;\n","import React, { FC } from 'react';\nimport { Link } from 'react-router-dom';\nimport { useTranslation } from 'react-i18next';\nimport { Button, Typography } from '@material-ui/core';\nimport { useRouter, useAuthNotifications } from 'hooks';\nimport { Box, Footer, Container, Modal, Icon, Notification, PhoneNumber } from 'components';\nimport { appRoutes } from 'routes';\nimport { makePathWithQueryString } from 'utils/routes';\nimport clsx from 'utils/clsx';\nimport { HeaderLayout } from 'enums/HeaderLayout';\n\nimport styles from './styles';\n\ntype LoginLayoutProps = {\n children?: React.ReactNode;\n withoutBackgroindImage?: boolean;\n};\n\nconst LoginLayout: FC = (props: LoginLayoutProps) => {\n const { children, withoutBackgroindImage } = props;\n\n const {\n pathname,\n camelizedQuery: { redirectUrl },\n } = useRouter();\n const { t } = useTranslation(['publicLayouts', 'layouts', 'common', 'resources']);\n useAuthNotifications();\n\n const isSignInPath = pathname === appRoutes.public.signInPath();\n const isSignUpPath = pathname === appRoutes.public.signUpPath() || pathname === appRoutes.public.signUpOwnerPath();\n\n const baseStyles = clsx(styles.base, [[styles.baseWithoutImage, withoutBackgroindImage]]);\n const verticalGradientStyles = clsx(styles.verticalGradient, [\n [styles.verticalGradientWithoutImage, withoutBackgroindImage],\n ]);\n const horizontalGradientStyles = clsx(styles.horizontalGradient, [\n [styles.horizontalGradientWithoutImage, withoutBackgroindImage],\n ]);\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n {isSignInPath && (\n \n \n \n \n )}\n {isSignUpPath && (\n \n \n \n \n )}\n \n {children}\n \n \n \n \n \n \n \n \n );\n};\n\nexport default LoginLayout;\n","import { useState, FC } from 'react';\nimport { Switch, Route, Redirect } from 'react-router-dom';\nimport {\n Home,\n NewPassword,\n SetPassword,\n Search,\n EmailConfirmation,\n BuildingSpace,\n Profile,\n RequestQuote,\n Page404,\n ThanksForChoosing,\n ForwardBroker,\n SignIn,\n SignUpFinish,\n PasswordForgot,\n SignDocument,\n} from 'pages/public';\nimport BaseLayout from 'layouts/public/BaseLayout';\nimport HomeLayout from 'layouts/public/HomeLayout';\nimport LightLayout from 'layouts/public/LightLayout';\nimport LoginLayout from 'layouts/public/LoginLayout';\nimport { appRoutes } from 'routes';\nimport usePortal from 'react-useportal';\nimport { SignUp, SignUpOwner } from 'components';\n\nconst PublicRouter: FC = () => {\n const [ref, setRef] = useState(null);\n const { Portal } = usePortal({ bindTo: ref });\n\n return (\n \n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n (\n \n \n \n )}\n />\n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n\n \n \n );\n};\n\nexport default PublicRouter;\n"],"sourceRoot":""}