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,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,UAAW,MACX,aAAc,MACd,QAAS,MACT,WAAY,MACZ,OAAQ,MACR,UAAW,MACX,QAAS,MACT,WAAY,MACZ,QAAS,MACT,aAAc,MACd,gBAAiB,MACjB,WAAY,MACZ,UAAW,MACX,aAAc,MACd,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,YAAa,MACb,eAAgB,MAChB,UAAW,MACX,OAAQ,MACR,UAAW,MACX,aAAc,MACd,gBAAiB,MACjB,OAAQ,MACR,UAAW,MACX,UAAW,MACX,aAAc,MACd,UAAW,KACX,aAAc,KACd,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,OAIf,SAAS4tD,EAAeC,GACvB,IAAIrvD,EAAKsvD,EAAsBD,GAC/B,OAAOE,EAAoBvvD,EAC5B,CACA,SAASsvD,EAAsBD,GAC9B,IAAIE,EAAoB15B,EAAEr0B,EAAK6tD,GAAM,CACpC,IAAI3yD,EAAI,IAAI0V,MAAM,uBAAyBi9C,EAAM,KAEjD,MADA3yD,EAAEoM,KAAO,mBACHpM,CACP,CACA,OAAO8E,EAAI6tD,EACZ,CACAD,EAAe97C,KAAO,WACrB,OAAOD,OAAOC,KAAK9R,EACpB,EACA4tD,EAAe54C,QAAU84C,EACzBpuC,EAAOsuC,QAAUJ,EACjBA,EAAepvD,GAAK,K","sources":["webpack://realm_app/./app/javascript/components/Card.module.scss?c372","webpack://realm_app/./app/javascript/components/Card.tsx","webpack://realm_app/./app/javascript/components/Core/CoreCard.module.scss?8804","webpack://realm_app/./app/javascript/components/Core/CoreCard.tsx","webpack://realm_app/./app/javascript/components/Dropdown/index.tsx","webpack://realm_app/./app/javascript/components/FullAddressInput.tsx","webpack://realm_app/./app/javascript/components/Input.module.scss?da82","webpack://realm_app/./app/javascript/components/Input.tsx","webpack://realm_app/./app/javascript/components/Menu/styles.module.scss?87cf","webpack://realm_app/./app/javascript/components/Menu/index.tsx","webpack://realm_app/./app/javascript/components/ToggleSwitchButton.tsx","webpack://realm_app/./app/javascript/non-rendering/ScrollToTop.tsx","webpack://realm_app/./app/javascript/components/Tooltip/styles.module.scss?2caf","webpack://realm_app/./app/javascript/components/Tooltip/base.tsx","webpack://realm_app/./app/javascript/non-rendering/AnalyticsPageTracker.tsx","webpack://realm_app/./app/javascript/non-rendering/IntercomManager.tsx","webpack://realm_app/./app/javascript/layouts/Secure.tsx","webpack://realm_app/./app/javascript/pages/Root/index.tsx","webpack://realm_app/./app/javascript/pages/Payment/CardPayButton.tsx","webpack://realm_app/./app/javascript/pages/Payment/PlaidLinkButton.tsx","webpack://realm_app/./app/javascript/pages/Payment/PaymentCard.tsx","webpack://realm_app/./app/javascript/recoil/payments.ts","webpack://realm_app/./app/javascript/pages/Payment/PaymentSuccess/SetupAccountCard.tsx","webpack://realm_app/./app/javascript/pages/Payment/PaymentSuccess/ReferAFriendCard.tsx","webpack://realm_app/./app/javascript/pages/Payment/PaymentSuccess/PaymentSuccessHeader.tsx","webpack://realm_app/./app/javascript/pages/Payment/PaymentSuccess/index.tsx","webpack://realm_app/./app/javascript/pages/Payment/index.tsx","webpack://realm_app/./app/javascript/svgs/account.tsx","webpack://realm_app/./app/javascript/svgs/menu.tsx","webpack://realm_app/./app/javascript/svgs/logo-pride.tsx","webpack://realm_app/./app/javascript/components/IntercomCta.tsx","webpack://realm_app/./app/javascript/layouts/components/Navigation/styles.module.scss?11c5","webpack://realm_app/./app/javascript/layouts/components/Navigation/index.tsx","webpack://realm_app/./app/javascript/layouts/Auth/styles.module.scss?9418","webpack://realm_app/./app/javascript/layouts/Auth/index.tsx","webpack://realm_app/./app/javascript/layouts/WaitForAuth.tsx","webpack://realm_app/./app/javascript/layouts/EnsureLoggedOut.tsx","webpack://realm_app/./app/javascript/pages/ChangePassword/ChangePasswordForm.tsx","webpack://realm_app/./app/javascript/pages/ChangePassword/index.tsx","webpack://realm_app/./app/javascript/pages/MagicSignin/index.tsx","webpack://realm_app/./app/javascript/layouts/HasProperty.tsx","webpack://realm_app/./app/javascript/svgs/help.tsx","webpack://realm_app/./app/javascript/components/Tooltip/index.tsx","webpack://realm_app/./app/javascript/pages/MissingInformation/styles.module.scss?9d33","webpack://realm_app/./app/javascript/pages/MissingInformation/index.tsx","webpack://realm_app/./app/javascript/pages/ForgotPassword/index.tsx","webpack://realm_app/./app/javascript/recoil/renovations.ts","webpack://realm_app/./app/javascript/recoil/propertyCompleteness.ts","webpack://realm_app/./app/javascript/svgs/edit.tsx","webpack://realm_app/./app/javascript/pages/Dashboard/BarChart/styles.module.scss?59ab","webpack://realm_app/./app/javascript/pages/Dashboard/BarChart/index.tsx","webpack://realm_app/./app/javascript/layouts/FullBleed/index.tsx","webpack://realm_app/./app/javascript/components/PropertyPotentialChart/styles.module.scss?d578","webpack://realm_app/./app/javascript/components/PropertyPotentialChart/index.tsx","webpack://realm_app/./app/javascript/components/LoggedInPropertyPotentialChart.tsx","webpack://realm_app/./app/javascript/pages/Dashboard/Alert/styles.module.scss?b9ea","webpack://realm_app/./app/javascript/pages/Dashboard/Alert/index.tsx","webpack://realm_app/./app/javascript/pages/Dashboard/Hero/ParcelMap.tsx","webpack://realm_app/./app/javascript/pages/Dashboard/Hero/styles.module.scss?ea82","webpack://realm_app/./app/javascript/pages/Dashboard/Hero/index.tsx","webpack://realm_app/./app/javascript/components/ArrowLink.module.scss?430c","webpack://realm_app/./app/javascript/components/ArrowLink.tsx","webpack://realm_app/./app/javascript/pages/Dashboard/PropertyPlan/styles.module.scss?5b6e","webpack://realm_app/./app/javascript/svgs/plus-circle.tsx","webpack://realm_app/./app/javascript/pages/Dashboard/PropertyPlan/ProjectCard.tsx","webpack://realm_app/./app/javascript/pages/Dashboard/styles.module.scss?3aca","webpack://realm_app/./app/javascript/pages/Dashboard/PropertyPlan/index.tsx","webpack://realm_app/./app/javascript/components/InputWithEditButton.module.scss?a6f6","webpack://realm_app/./app/javascript/components/InputWithEditMode.module.scss?5046","webpack://realm_app/./app/javascript/components/InputWithEditMode.tsx","webpack://realm_app/./app/javascript/components/InputWithEditButton.tsx","webpack://realm_app/./app/javascript/svgs/upload.tsx","webpack://realm_app/./app/javascript/pages/Dashboard/PropertyDetails/CarouselPhoto.module.scss?91a4","webpack://realm_app/./app/javascript/pages/Dashboard/PropertyDetails/CarouselPhoto.tsx","webpack://realm_app/./app/javascript/pages/Dashboard/PropertyDetails/Photos.module.scss?b190","webpack://realm_app/./app/javascript/pages/Dashboard/PropertyDetails/Photos.tsx","webpack://realm_app/./app/javascript/recoil/editStatus.ts","webpack://realm_app/./app/javascript/pages/Dashboard/PropertyDetails/index.tsx","webpack://realm_app/./app/javascript/pages/Dashboard/Contractors/styles.module.scss?7ce3","webpack://realm_app/./app/javascript/pages/Dashboard/Contractors/index.tsx","webpack://realm_app/./app/javascript/pages/Dashboard/Activity/styles.module.scss?4f0c","webpack://realm_app/./app/javascript/pages/Dashboard/Activity/index.tsx","webpack://realm_app/./app/javascript/pages/Dashboard/index.tsx","webpack://realm_app/./app/javascript/layouts/Default/index.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/HasPropertyPlan.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/HandleAddProjectsQuery/index.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Overview/styles.module.scss?06c2","webpack://realm_app/./app/javascript/pages/PropertyPlan/Overview/index.tsx","webpack://realm_app/./app/javascript/svgs/property-plan/construction.tsx","webpack://realm_app/./app/javascript/components/Select.module.scss?588c","webpack://realm_app/./app/javascript/components/Select.tsx","webpack://realm_app/./app/javascript/svgs/increase-value.tsx","webpack://realm_app/./app/javascript/svgs/alert.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/ErrorFlag/styles.module.scss?b223","webpack://realm_app/./app/javascript/pages/PropertyPlan/ErrorFlag/index.tsx","webpack://realm_app/./app/javascript/svgs/construction.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/InfoFlag/styles.module.scss?8456","webpack://realm_app/./app/javascript/pages/PropertyPlan/InfoFlag/index.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/InfoFlag/Arrow.module.scss?4399","webpack://realm_app/./app/javascript/pages/PropertyPlan/InfoFlag/Arrow.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Plan/styles.module.scss?2b5b","webpack://realm_app/./app/javascript/pages/PropertyPlan/Plan/Project.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Plan/FakeProject.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Plan/ErrorEntry.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Plan/ExceedsLotSizeError.module.scss?6a94","webpack://realm_app/./app/javascript/pages/PropertyPlan/Plan/ExceedsLotSizeError.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Plan/index.tsx","webpack://realm_app/./app/javascript/components/CallToAction.module.scss?7e33","webpack://realm_app/./app/javascript/components/CallToAction.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/InfoFlag/Arrow2.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/ProjectTemplates/styles.module.scss?edff","webpack://realm_app/./app/javascript/pages/PropertyPlan/ProjectTemplates/Template.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/ProjectTemplates/FakeTemplate.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/ProjectTemplates/Filters.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/styles.module.scss?fc6d","webpack://realm_app/./app/javascript/utils/projectTemplates.ts","webpack://realm_app/./app/javascript/pages/PropertyPlan/ProjectTemplates/index.tsx","webpack://realm_app/./app/javascript/components/PageHeader.module.scss?fd55","webpack://realm_app/./app/javascript/components/PageHeader.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/PlanHome.tsx","webpack://realm_app/./app/javascript/recoil/projectPreviews.ts","webpack://realm_app/./app/javascript/svgs/property-plan/arrow-north.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/CustomizeContainer.module.scss?5da7","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/CustomizeContainer.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/ProjectStats.module.scss?fff0","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/ProjectStats.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/Customizable/Section.module.scss?23af","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/Customizable/NameSection.tsx","webpack://realm_app/./app/javascript/svgs/property-plan/radio-button.tsx","webpack://realm_app/./app/javascript/components/RadioButton.module.scss?806a","webpack://realm_app/./app/javascript/components/RadioButton.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/Customizable/DefaultsSection.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/Customizable/SizeSection.module.scss?6cb9","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/Customizable/SizeSection.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/Customizable/CustomizationSection/Exclusive.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/Customizable/CustomizationSection/InclusiveOption.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/Customizable/CustomizationSection/Inclusive.module.scss?ba46","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/Customizable/CustomizationSection/Inclusive.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/Customizable/CustomizationSection/styles.module.scss?0dc3","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/Customizable/CustomizationSection/index.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/Customizable/CustomizationOptionSections.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/Customizable/styles.module.scss?0429","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/Customizable/index.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/FakeDetails.module.scss?aaa7","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/FakeDetails.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/styles.module.scss?0338","webpack://realm_app/./app/javascript/pages/PropertyPlan/Customize/index.tsx","webpack://realm_app/./app/javascript/pages/PropertyPlan/index.tsx","webpack://realm_app/./app/javascript/pages/Contact/CalendlyWidget.tsx","webpack://realm_app/./app/javascript/pages/Contact/styles.module.scss?202d","webpack://realm_app/./app/javascript/pages/Contact/MeetingScheduled.tsx","webpack://realm_app/./app/javascript/pages/Contact/index.tsx","webpack://realm_app/./app/javascript/recoil/onboardingFlows/states.tsx","webpack://realm_app/./app/javascript/pages/Properties/HasServicableProperties.tsx","webpack://realm_app/./app/javascript/pages/Properties/styles.module.scss?1647","webpack://realm_app/./app/javascript/pages/Properties/PropertiesButtons.tsx","webpack://realm_app/./app/javascript/pages/Properties/PropertyCard/styles.module.scss?f480","webpack://realm_app/./app/javascript/pages/Properties/PropertyCard/index.tsx","webpack://realm_app/./app/javascript/pages/Properties/PropertyList.tsx","webpack://realm_app/./app/javascript/pages/Properties/index.tsx","webpack://realm_app/./app/javascript/pages/Payments/index.tsx","webpack://realm_app/./app/javascript/components/Submittable.tsx","webpack://realm_app/./app/javascript/pages/Profile/styles.module.scss?ba2f","webpack://realm_app/./app/javascript/pages/Profile/ProfileForm.tsx","webpack://realm_app/./app/javascript/svgs/camera.tsx","webpack://realm_app/./app/javascript/pages/Profile/index.tsx","webpack://realm_app/./app/javascript/recoil/onboarding.tsx","webpack://realm_app/./app/javascript/recoil/onboardingFlows/processFlows.tsx","webpack://realm_app/./app/javascript/recoil/onboardingFlows/flows/defaultInternal.tsx","webpack://realm_app/./app/javascript/recoil/onboardingFlows/flows/camv3.tsx","webpack://realm_app/./app/javascript/recoil/onboardingFlows/flows/payment.tsx","webpack://realm_app/./app/javascript/recoil/onboardingFlows/flows/index.tsx","webpack://realm_app/./app/javascript/recoil/onboardingFlows/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/EnterAddress/styles.module.scss?c7bb","webpack://realm_app/./app/javascript/pages/Onboarding/components/DefaultWrapper/styles.module.scss?fcf3","webpack://realm_app/./app/javascript/pages/Onboarding/components/DefaultWrapper/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/EnterAddress/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/OnboardingFlowRestart.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/AddProperty/styles.module.scss?b606","webpack://realm_app/./app/javascript/pages/Onboarding/screens/AddProperty/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/UnservicableProperty/styles.module.scss?6ec0","webpack://realm_app/./app/javascript/pages/Onboarding/styles.module.scss?1720","webpack://realm_app/./app/javascript/pages/Onboarding/components/Header/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/UnservicableProperty/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/InternalRedirect/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3EnterAddress/styles.module.scss?55d8","webpack://realm_app/./app/javascript/pages/Onboarding/FlowAnimator.module.scss?a534","webpack://realm_app/./app/javascript/pages/Properties/PropertyCard/icons/arrow-east.tsx","webpack://realm_app/./app/javascript/components/Progress.module.scss?3735","webpack://realm_app/./app/javascript/components/Progress.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/components/CamV3Wrapper/styles.module.scss?858b","webpack://realm_app/./app/javascript/pages/Onboarding/components/CamV3Wrapper/index.tsx","webpack://realm_app/./app/javascript/recoil/advisorBooking.ts","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3EnterAddress/AddressAutocompleteField.module.scss?b0f0","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3EnterAddress/AddressAutocompleteField.tsx","webpack://realm_app/./app/javascript/experiments/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3EnterAddress/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3RenovationReadiness/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3OutsideBids/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3OutsideBidsValueProp/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Projects/styles.module.scss?136e","webpack://realm_app/./app/javascript/apis/public/projectTemplateStubs.ts","webpack://realm_app/./app/javascript/recoil/projectTemplateStubs.ts","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Projects/ProjectListIem.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Projects/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3BookOrDownload/BookLarge.module.scss?281e","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3BookOrDownload/BookLarge.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3BookOrDownload/BookSmall.module.scss?2c93","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3BookOrDownload/BookSmall.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3BookOrDownload/CaseStudies/hardcodedCaseStudies.ts","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3BookOrDownload/CaseStudies/styles.module.scss?d4d9","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3BookOrDownload/CaseStudies/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3BookOrDownload/Download/DownloadHeader.module.scss?7a00","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3BookOrDownload/Download/DownloadHeader.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3BookOrDownload/Download/styles.module.scss?40d8","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3BookOrDownload/Download/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3BookOrDownload/styles.module.scss?f082","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3BookOrDownload/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3SignUp/styles.module.scss?5463","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3SignUp/EmailSignup.module.scss?c08d","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3SignUp/EmailSignup.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3SignUp/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3CompleteBooking/styles.module.scss?2c6e","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3CompleteBooking/index.tsx","webpack://realm_app/./app/javascript/non-rendering/triggerMNTNConversion.js","webpack://realm_app/./app/javascript/svgs/house-filled.tsx","webpack://realm_app/./app/javascript/svgs/construction-flipped.tsx","webpack://realm_app/./app/javascript/svgs/document-filled.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Confirm/RenovationDetails/styles.module.scss?b510","webpack://realm_app/./app/javascript/svgs/pencil.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Confirm/RenovationDetails/RenovationDetailRow.module.scss?8d76","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Confirm/RenovationDetails/RenovationDetailRow.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Confirm/RenovationDetails/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Confirm/TellMeMore.module.scss?6b8d","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Confirm/TellMeMore.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Confirm/BidUploads.tsx","webpack://realm_app/./app/javascript/layouts/RefreshUser.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Confirm/styles.module.scss?de15","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Confirm/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Unserviceable/styles.module.scss?3961","webpack://realm_app/./app/javascript/apis/unserviceable.ts","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Unserviceable/IconWrapper.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Unserviceable/ItemContent.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Unserviceable/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/PaymentWelcome/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/PaymentDownload/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3Budget/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/screens/CamV3ProjectType/index.tsx","webpack://realm_app/./app/javascript/non-rendering/onboardingRoutes.ts","webpack://realm_app/./app/javascript/layouts/Onboarding/index.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/OnboardingStarter.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/FlowAnimator.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/OnboardingFlowRoutes.tsx","webpack://realm_app/./app/javascript/pages/Onboarding/index.tsx","webpack://realm_app/./app/javascript/non-rendering/AnalyticsAccountCreationTracker.tsx","webpack://realm_app/./app/javascript/non-rendering/MainRouter.tsx","webpack://realm_app/./app/javascript/non-rendering/AnalyticsPerfTracker.tsx","webpack://realm_app/./app/javascript/non-rendering/firebase/defaultConfig.ts","webpack://realm_app/./app/javascript/non-rendering/firebase/context.tsx","webpack://realm_app/./app/javascript/non-rendering/firebase/FirebaseLoader.tsx","webpack://realm_app/./app/javascript/packs/main.tsx","webpack://realm_app/./app/javascript/svgs/add.tsx","webpack://realm_app/./app/javascript/svgs/dropdown-arrow.tsx","webpack://realm_app/./app/javascript/svgs/social/facebook.tsx","webpack://realm_app/./app/javascript/svgs/social/twitter.tsx","webpack://realm_app/./app/javascript/svgs/sparkles-three.tsx","webpack://realm_app/./app/javascript/svgs/sparkles-two.tsx","webpack://realm_app/./app/javascript/utils/crypto.ts","webpack://realm_app/./node_modules/moment/locale/ sync ^\\.\\/.*$"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"card\":\"MKf19FvM9WvWdfjVir6a\"};","import React, { FC, PropsWithChildren } from 'react'\nimport classNames from 'classnames'\n\nimport styles from './Card.module.scss'\n\nexport interface CardProps {\n className?: string\n}\n\nconst Card: FC> = ({ children, className }) => (\n
{children}
\n)\n\nexport default Card\n","// extracted by mini-css-extract-plugin\nexport default {\"card\":\"oZk2jL3rD87RUCBs7Tm7\",\"header\":\"RxdhdAz5PDFN_Yi14jPq\",\"body\":\"rce0Hu70kXeRs8g8YG1R\",\"iconContainer\":\"FNo2PG5JpYD_UcbBx81z\",\"icon\":\"br229d1nS93Tl4EUMlx8\"};","import React, { FC, PropsWithChildren, ReactNode } from 'react'\nimport cx from 'classnames'\n\nimport CoreButton, { CoreButtonKind } from './CoreButton'\nimport CoreText from './CoreText'\n\nimport styles from './CoreCard.module.scss'\n\ntype CoreCardIconColor = 'primary' | 'secondary' | 'negative' | 'positive' | 'gray' | 'warning'\n\ninterface CoreCardProps {\n header?: ReactNode\n icon?: ReactNode\n iconColor?: CoreCardIconColor\n title?: string\n description?: string\n buttonIcon?: ReactNode\n buttonText?: string\n buttonKind?: CoreButtonKind\n buttonSize?: 's' | 'm' | 'l' | 'xl'\n onButtonClick?: () => void\n headerStyle?: string\n className?: string\n}\n\nconst CoreCard: FC> = ({\n header,\n headerStyle,\n title,\n description,\n children,\n buttonIcon,\n buttonText,\n buttonKind,\n buttonSize,\n icon,\n iconColor = 'primary',\n onButtonClick,\n className,\n}) => {\n return (\n
\n {header ? (\n
{header}
\n ) : (\n icon && (\n
\n
{icon}
\n
\n )\n )}\n
\n {children ? (\n <>{children}\n ) : (\n
\n {title && (\n \n {title}\n \n )}\n {description && (\n \n {description}\n \n )}\n
\n )}\n {buttonText && (\n \n )}\n
\n
\n )\n}\n\nexport default CoreCard\n","import React, {\n cloneElement,\n FC,\n JSXElementConstructor,\n PropsWithChildren,\n ReactElement,\n useCallback,\n useEffect,\n useState,\n} from 'react'\nimport type { ElementProps, Placement } from '@floating-ui/react'\nimport {\n FloatingPortal,\n safePolygon,\n useClick,\n useDismiss,\n useFloating,\n useHover,\n useInteractions,\n useRole,\n autoUpdate,\n shift,\n limitShift,\n} from '@floating-ui/react'\n\ninterface DropdownProps {\n className?: string\n overlay: ReactElement>\n placement?: Placement\n click?: boolean\n hover?: boolean\n menu?: boolean\n stopPropagation?: boolean\n open?: boolean\n setOpen?: (value: boolean) => void\n zIndex?: number\n useShiftMiddleware?: boolean\n}\n\nconst Dropdown: FC> = ({\n className,\n click,\n hover,\n menu,\n children,\n overlay,\n placement,\n stopPropagation,\n open: openProp,\n setOpen: setOpenProp,\n zIndex,\n useShiftMiddleware = true,\n}) => {\n const [open, onOpenChange] = useState(false)\n const handleOpenChange = useCallback((value: boolean) => {\n // don't toggle while we have a new feature journey active, see useNewFeatureJourney\n if (document.querySelector('.driver-active')) return\n onOpenChange(value)\n }, [])\n const { context, x, y, refs, strategy } = useFloating({\n open,\n onOpenChange: handleOpenChange,\n placement,\n whileElementsMounted: autoUpdate,\n middleware: useShiftMiddleware\n ? [\n shift({\n crossAxis: true,\n limiter: limitShift({}),\n padding: 24,\n }),\n ]\n : undefined,\n })\n\n useEffect(() => {\n if (typeof openProp == 'boolean') onOpenChange(openProp)\n }, [openProp])\n\n useEffect(() => {\n if (setOpenProp) setOpenProp(open)\n }, [open, setOpenProp])\n\n const hoverHook = useHover(context, { handleClose: safePolygon(), restMs: 50 })\n const clickHook = useClick(context)\n const roleHook = useRole(context, { role: 'menu' })\n\n const interactions = [\n hover ? hoverHook : null,\n click ? clickHook : null,\n menu ? roleHook : null,\n useDismiss(context),\n ].filter((e) => e) as ElementProps[]\n\n const { getReferenceProps, getFloatingProps } = useInteractions(interactions)\n\n const overlayStyle = {\n position: strategy,\n top: y ?? '',\n left: x ?? '',\n zIndex: zIndex,\n }\n\n return (\n <>\n \n {children}\n \n \n {open && cloneElement(overlay, getFloatingProps({ ref: refs.setFloating, style: overlayStyle }))}\n \n \n )\n}\n\nexport default Dropdown\n","import React, { FC, useState, useEffect, useRef, useCallback, ForwardRefRenderFunction, forwardRef } from 'react'\n\nimport Input, { InputProps } from './Input'\n\nconst GOOGLE_MAPS_API_SCRIPT_ID = 'googleMapsApiScript'\nconst MAX_PREDICTION_INTERVAL = 500 // milliseconds\n\ninterface PredictionOptionProps {\n prediction: Prediction\n onClick: (prediction: Prediction) => void\n renderDescription?: (prediction: Prediction) => React.ReactNode\n}\n\nconst PredictionOption: FC = ({ onClick, prediction, renderDescription }) => {\n const handleClick = useCallback(() => {\n onClick(prediction)\n }, [onClick, prediction])\n\n const onItemKeyPress = useCallback(\n (event) => {\n if (event.keyCode === 13) handleClick()\n },\n [handleClick]\n )\n\n return (\n
  • \n
    \n {renderDescription ? renderDescription(prediction) : prediction.description}\n
    \n
  • \n )\n}\n\nexport interface Prediction {\n description: string\n placeId: string\n mainText?: string\n secondaryText?: string\n}\n\ninterface FullAddressInputProps extends Omit {\n // Called when one of the predictions is clicked\n onPredictionSelected: (prediction: Prediction | null) => void\n renderSubmitButton?: (onClick: (e: any) => void, disabled: boolean) => React.ReactNode\n renderDescription?: (prediction: Prediction) => React.ReactNode\n renderIcon?: () => React.ReactNode\n}\n\nconst FullAddressInput: ForwardRefRenderFunction = (\n {\n value,\n onChange,\n onPredictionSelected,\n renderSubmitButton,\n renderDescription,\n renderIcon,\n onFocus,\n onBlur,\n ...otherProps\n },\n ref\n) => {\n const [autocomplete, setAutocomplete] = useState(null)\n const [predictions, setPredictions] = useState>([])\n const [showPredictions, setShowPredictions] = useState(false)\n const nextPrediction = useRef(0)\n const predictionRequestQueued = useRef('')\n\n // We need to check for the presence of the Google Maps API, but because this\n // component can be server-rendered, first check for the existince of the window object\n let w\n if (typeof window !== 'undefined') {\n w = window as any\n }\n const placesApi = w?.google?.maps?.places\n\n // Google Maps API Script warmup,\n // Initialize the service\n useEffect(() => {\n let isDone = false\n const initializeService = () => {\n // Initialize the service.\n const newAutocomplete = new w.google.maps.places.AutocompleteService()\n isDone || setAutocomplete(newAutocomplete)\n }\n\n // Inject the script if it doesn't exist\n if (document.getElementById(GOOGLE_MAPS_API_SCRIPT_ID) == null) {\n const injectedScript = document.createElement('script')\n injectedScript.id = GOOGLE_MAPS_API_SCRIPT_ID\n const key = document.body.dataset.googleMapsApiKey\n injectedScript.src = `https://maps.googleapis.com/maps/api/js?key=${key}&libraries=places`\n injectedScript.defer = true\n\n document.body.appendChild(injectedScript)\n\n injectedScript.onload = initializeService\n } else if (placesApi) {\n // Initialize the service if the script has already loaded\n initializeService()\n }\n return () => {\n isDone = true\n }\n }, [w, placesApi])\n\n useEffect(() => {\n // Make sure we have what we need.\n if (!autocomplete || !value) {\n setPredictions([])\n return\n }\n\n let delayTimer: any\n\n const issueNextPrediction = () => {\n clearTimeout(delayTimer)\n delayTimer = null\n nextPrediction.current = 0\n\n // If we had another prediction request waiting, issue that.\n if (predictionRequestQueued.current) {\n const newV = predictionRequestQueued.current\n predictionRequestQueued.current = ''\n issuePredictionRequest(newV)\n }\n }\n\n const issuePredictionRequest = (v) => {\n nextPrediction.current = Date.now() + MAX_PREDICTION_INTERVAL\n // Begin a search\n autocomplete.getPlacePredictions(\n {\n input: v,\n types: ['address'],\n componentRestrictions: { country: 'us' },\n },\n (predictions: Array | null) => {\n const results = (predictions || []).map((p) => ({\n description: p.description,\n mainText: p.structured_formatting?.main_text,\n secondaryText: p.structured_formatting?.secondary_text,\n placeId: p.place_id,\n }))\n setPredictions(results)\n\n // We're 'done' with this prediction after our delay.\n delayTimer = setTimeout(issueNextPrediction, MAX_PREDICTION_INTERVAL)\n }\n )\n }\n\n // Only one prediction at a time please!\n const delay = nextPrediction.current - Date.now()\n if (delay > 0) {\n predictionRequestQueued.current = value\n delayTimer = setTimeout(issueNextPrediction, delay)\n } else {\n issuePredictionRequest(value)\n }\n return () => {\n if (delayTimer) clearTimeout(delayTimer)\n }\n }, [autocomplete, value])\n\n const handleChange = useCallback(\n (value: string) => {\n onPredictionSelected(null)\n onChange && onChange(value)\n },\n [onChange, onPredictionSelected]\n )\n\n const handleBlur = useCallback(\n (e) => {\n window.setTimeout(() => {\n setShowPredictions(false)\n if (onBlur) onBlur(e)\n }, 250)\n },\n [onBlur]\n )\n\n const handleFocus = useCallback(\n (event) => {\n setShowPredictions(true)\n if (onFocus) onFocus(event)\n },\n [onFocus]\n )\n\n const handleSubmitClick = useCallback(() => {\n if (predictions[0] != null) {\n onPredictionSelected(predictions[0])\n }\n }, [onPredictionSelected, predictions])\n\n return (\n <>\n 0 && (\n
      \n {predictions.map((prediction) => (\n \n ))}\n
    \n )\n }\n {...otherProps}\n ref={ref}\n autoComplete=\"off\"\n />\n {renderIcon && renderIcon()}\n {renderSubmitButton &&\n renderSubmitButton(\n handleSubmitClick,\n (value && value.length > 0 && predictions.length < 1) || !!otherProps.readOnly\n )}\n \n )\n}\n\nexport default forwardRef(FullAddressInput)\n","// extracted by mini-css-extract-plugin\nexport default {\"input\":\"X15djCOnT79OGHzfFlrA\",\"currency\":\"GbOtBDme7wYtCAVdQjao\"};","import React, { forwardRef, ForwardRefRenderFunction, ReactNode, useCallback } from 'react'\nimport cx from 'classnames'\n\nimport styles from './Input.module.scss'\n\nexport interface InputProps {\n autoComplete?: string\n autoFocus?: boolean\n id?: string\n value?: string\n onChange?: (value: string) => void\n onRawChange?: (event: React.ChangeEvent) => void\n onFocus?: (event: React.FocusEvent) => void\n onBlur?: (event: React.FocusEvent) => void\n onKeyDown?: (event: React.KeyboardEvent) => void\n placeholder?: string\n className?: string\n errors?: string[]\n name?: string\n inputMode?: 'text' | 'none' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'\n helperText?: ReactNode\n readOnly?: boolean\n required?: boolean\n suffix?: ReactNode\n tag?: 'input' | 'textarea' // keyof JSX.IntrinsicElements\n transparent?: boolean\n type?: string\n label?: string\n list?: string\n optional?: boolean\n min?: number\n max?: number\n minLength?: number\n maxLength?: number\n showOptionalLabel?: boolean\n step?: string\n tooltip?: ReactNode\n disabled?: boolean\n}\n\nexport { styles }\n\nconst Input: ForwardRefRenderFunction = (\n {\n autoComplete,\n autoFocus,\n className,\n disabled,\n errors,\n helperText,\n id,\n label,\n name,\n onChange,\n onRawChange,\n onFocus,\n onBlur,\n onKeyDown,\n inputMode,\n placeholder,\n readOnly,\n required,\n suffix,\n tag: WrapperTag = 'input',\n type = 'text',\n value,\n list,\n optional,\n min,\n max,\n minLength,\n maxLength,\n showOptionalLabel = true,\n step,\n tooltip,\n },\n ref\n) => {\n const handleChange = useCallback(\n (e: React.ChangeEvent) => {\n onRawChange && onRawChange(e)\n onChange && onChange(e.target.value)\n },\n [onRawChange, onChange]\n )\n\n const wt = (\n \n )\n\n const wtAndSuffix = suffix ? (\n
    \n {wt}\n {suffix}\n
    \n ) : (\n wt\n )\n\n return (\n
    \n {label && (\n \n )}\n {tooltip}\n {errors && errors.length ? (\n <>\n {wtAndSuffix}\n
    \n
      \n {(errors || []).map((e, i) => (\n
    • {e}
    • \n ))}\n
    \n
    \n \n ) : (\n wtAndSuffix\n )}\n {helperText}\n
    \n )\n}\n\nexport default forwardRef(Input)\n","// extracted by mini-css-extract-plugin\nexport default {\"menu\":\"wogzj5sWKd8mHyIcNFQ4\",\"menuItem\":\"vM_DePfpdMRCixkOOdcA\",\"menuDivider\":\"py2Uz2_bKggom0nzxuk8\"};","import cx from 'classnames'\nimport React, {\n FC,\n forwardRef,\n ForwardRefExoticComponent,\n ForwardRefRenderFunction,\n HTMLProps,\n PropsWithoutRef,\n RefAttributes,\n} from 'react'\n\nimport styles from './styles.module.scss'\n\ntype MenuItemProps = HTMLProps\n\nconst MenuItem: FC = ({ children, ...props }) => {\n return (\n
  • \n {children}\n
  • \n )\n}\n\nconst MenuDivider: FC = () => {\n return
  • \n}\n\ntype MenuProps = {\n className?: string\n} & HTMLProps\n\nconst InnerMenu: ForwardRefRenderFunction = ({ children, className, ...props }, ref) => {\n return (\n
      \n {children}\n
    \n )\n}\n\ntype MenuType = ForwardRefExoticComponent & RefAttributes> & {\n Item: FC\n Divider: FC\n}\n\nconst Menu: MenuType = forwardRef(InnerMenu) as any\nMenu.Item = MenuItem\nMenu.Divider = MenuDivider\n\nexport default Menu\n","import React, { FC, useCallback, useRef } from 'react'\nimport cx from 'classnames'\n\ninterface Props {\n id?: string\n className?: string\n color?: 'green' | 'blue'\n offColor?: 'gray' | 'red'\n disabled?: boolean\n onChange: (value: boolean) => void\n value: boolean\n}\n\nconst ToggleSwitchButton: FC = ({\n id,\n className,\n color = 'green',\n offColor = 'gray',\n disabled,\n onChange,\n value,\n}) => {\n const inputRef = useRef(null)\n\n const handleClick = useCallback(() => {\n inputRef.current?.click()\n }, [])\n\n const handleChange = useCallback(() => {\n onChange(!value)\n }, [value, onChange])\n\n return (\n
    \n div]:!left-1/2 tw:[&:disabled+button>div]:bg-neutrals-300',\n {\n 'tw:[&:checked+button]:bg-green-600 tw:[&:checked+button]:border-green-600': color == 'green',\n 'tw:[&:checked+button]:bg-blue-600 tw:[&:checked+button]:border-blue-600': color == 'blue',\n }\n )}\n />\n \n
    \n \n
    \n )\n}\n\nexport default ToggleSwitchButton\n","import React, { FC, useEffect, useState } from 'react'\nimport { useHistory, useLocation } from 'react-router-dom'\n\nfunction useIsScrolling(): boolean {\n const [isAutoScrolling, setIsAutoScrolling] = useState(true) // Assume we're autoscrolling\n const [isScrolling, setIsScrolling] = useState(false)\n\n // Checking on general scrolling\n useEffect(() => {\n const timeouts: Array = []\n let outsideScrolling = 0\n const onScroll = () => {\n outsideScrolling += 1\n if (outsideScrolling == 1) setIsScrolling(true)\n timeouts.push(\n setTimeout(() => {\n outsideScrolling -= 1\n if (outsideScrolling == 0) setIsScrolling(false)\n }, 50)\n )\n }\n window.addEventListener('scroll', onScroll)\n return () => {\n window.removeEventListener('scroll', onScroll)\n timeouts.forEach((timeout) => clearTimeout(timeout))\n }\n }, [])\n\n // Checking on forced mobile device scrolling (such as when a virtual\n // keyboard appears)\n useEffect(() => {\n let cancel = false\n let lastPosition: number | null = null\n let lastHeight: number | null = null\n let request\n const scrollCheckFn = () => {\n if (cancel) return\n if (lastPosition != window.pageYOffset || lastHeight != window.innerHeight) {\n lastPosition = window.pageYOffset\n lastHeight = window.innerHeight\n // We're not done scrolling/resizing, so continue checking.\n request = setTimeout(scrollCheckFn, 10)\n } else {\n // We now appear to be done scrolling\n setIsAutoScrolling(false)\n }\n }\n scrollCheckFn()\n return () => {\n cancel = true\n clearTimeout(request)\n }\n }, [])\n\n return isScrolling || isAutoScrolling\n}\n\nfunction scrollNow() {\n try {\n window.scrollTo({ top: 0, left: 0, behavior: 'instant' } as any)\n } catch {\n // Fallback in case the above isn't supported.\n window.scrollTo(0, 0)\n }\n}\n\nexport const ScrollToTop: FC = () => {\n const { action } = useHistory()\n const { pathname, state } = useLocation()\n const [hasRun, setHasRun] = useState(false)\n const isScrolling = useIsScrolling()\n\n // Will run the first time, and every time isScrolling changes.\n // Conceptually, we want this to run once, then once more when isScrolling->false,\n // and then not again after.\n useEffect(\n () => {\n // Once we know we've forced them to the top, stop trying to scroll them.\n // This allows us to actually have routes (and navigate to them) inside a page\n // with a scroll to top, without accidentally triggering a scroll a second time.\n if (hasRun) return\n // We don't want to scroll if they're navigating\n // their browser history with back/forward.\n if (action == 'PUSH' || (state as any)?.redirectOriginalAction == 'PUSH') {\n // Try a scroll now. This runs on every attempt, and will provide\n // the smoothest experience if it works early.\n scrollNow()\n // Once we know they're done scrolling, signal to stop scrolling.\n if (!isScrolling) {\n setHasRun(true)\n }\n }\n },\n // We should execute every time we have a valid navigation\n // to this page, using a push type action.\n // Redirects will REPLACE instead of push, so check our\n // preserved action as well.\n [action, pathname, state, hasRun, isScrolling]\n )\n\n return <>\n}\n\nexport default ScrollToTop\n","// extracted by mini-css-extract-plugin\nexport default {\"tooltipBase\":\"vhnTLkUhlpyeigNsqdIk\",\"tooltip\":\"VwITv8OWS7qg01Pc3HlC\",\"overlay\":\"YpoYjSjkn03VBYqJcPLr\"};","import React, { FC } from 'react'\nimport Tooltip from 'react-tooltip'\n\nimport styles from './styles.module.scss'\n\nconst TooltipBase: FC = () => {\n return \n}\n\nexport default TooltipBase\n","import { FC, useEffect, useRef } from 'react'\nimport { matchPath } from 'react-router'\nimport { useLocation } from 'react-router-dom'\nimport type { RouteProps } from 'react-router-dom'\nimport { trackPage } from 'utils/analytics'\n\ninterface Props {\n routes: Array\n customParams?: Record\n}\nexport const AnalyticsPageTracker: FC = ({ routes, customParams }) => {\n const location = useLocation()\n const customParamsRef = useRef | undefined>()\n\n useEffect(() => {\n customParamsRef.current = customParams\n }, [customParams])\n\n useEffect(() => {\n const route = routes.find((route) => matchPath(location.pathname, route))\n if (route?.ignoreTracking) return\n\n trackPage(route?.name, customParamsRef.current)\n }, [location.pathname, routes])\n\n return null\n}\n\nexport default AnalyticsPageTracker\n","import React, { FC, useEffect } from 'react'\nimport { useLocation } from 'react-router-dom'\n\nfunction isOnBlacklist(list, path) {\n return list.some((r) => {\n if (r instanceof RegExp) return r.test(path)\n else if (typeof r === 'string') return r.toLowerCase() == path.toLowerCase()\n return false\n })\n}\n\nexport const IntercomManager: FC = () => {\n const { pathname } = useLocation()\n useEffect(() => {\n const w = window as any\n if (!w) return\n if (!w.Intercom) return\n if (!w.intercomBlacklist) return\n\n const hide = isOnBlacklist(w.intercomBlacklist, pathname)\n w.Intercom('update', {\n hide_default_launcher: hide,\n })\n }, [pathname])\n\n return <>\n}\n\nexport default IntercomManager\n","import React, { FC, PropsWithChildren, useEffect } from 'react'\nimport { useLocation, Redirect } from 'react-router-dom'\nimport { useAuth, LoginState } from 'non-rendering/Authentication'\nimport Loading from 'components/Loading'\n\ninterface Props {\n loadingContent?: () => React.ReactNode\n loggedOutContent?: () => React.ReactNode\n}\n\nconst Secure: FC> = ({ loadingContent, loggedOutContent, children }) => {\n const location = useLocation()\n const { checked, state, user } = useAuth()\n\n useEffect(() => {\n if (checked && state === LoginState.LoggedOut && !loggedOutContent && location.pathname !== '/download-realm-app') {\n window.location.replace('/download-realm-app')\n }\n }, [checked, location.pathname, loggedOutContent, state])\n\n if (!checked) {\n if (loadingContent) {\n return <>{loadingContent()}\n } else {\n return \n }\n } else if (state === LoginState.LoggedOut) {\n if (loggedOutContent) {\n return <>{loggedOutContent()}\n } else {\n // redirecting via useEffect above\n return null\n }\n } else if (!user?.entered_address && !location.pathname.startsWith('/onboarding')) {\n // If they haven't onboarded a property yet, then we need to\n // force them to onboard a property\n // At this point, we need to redirect them to onboarding\n return \n }\n return <>{children}\n}\n\nexport default Secure\n","import React, { FC } from 'react'\nimport { Redirect } from 'react-router-dom'\nimport { useRecoilValue } from 'recoil'\n\nimport { propertiesState } from 'recoil/properties'\nimport { PROPERTY_ROOT } from 'utils/propertyPath'\n\nimport Secure from 'layouts/Secure'\n\nconst DefaultRedirect: FC = () => {\n // Keep using the recoil value directly here instead of the useProperties\n // or usePropertyLoader\n const properties = useRecoilValue(propertiesState)\n const url = (properties || []).length == 1 ? 'dashboard' : PROPERTY_ROOT\n\n return \n}\n\nconst Root: FC = () => (\n \n \n \n)\n\nexport default Root\n","import { loadStripe } from '@stripe/stripe-js/pure'\nimport { postJSON } from 'utils/fetch'\nimport React, { FC, PropsWithChildren, useCallback, useEffect } from 'react'\nimport CoreButton from 'components/Core/CoreButton'\n\nimport CreditCard from '@mui/icons-material/CreditCard'\n\nlet stripePromise\n\ninterface CardPayButtonProps {\n disabled: boolean\n idOrToken: string\n setError: (msg: string) => void\n}\n\nconst CardPayButton: FC> = ({ disabled, idOrToken, setError }) => {\n useEffect(() => {\n if (!stripePromise) {\n stripePromise = loadStripe(document.body.dataset.stripePublishableKey || '')\n }\n }, [])\n\n const handleClick = useCallback(async () => {\n const stripe = await stripePromise\n const response = await postJSON(`/api/v1/payments/${idOrToken}/checkout_session`, {})\n if (response.code !== 200) {\n setError('An unexpected error happened which prevents payment at this time.')\n return\n }\n const result = await stripe.redirectToCheckout({\n sessionId: response.jsonBody.id,\n })\n if (result.error) {\n setError(result.error.message)\n }\n }, [idOrToken, setError])\n\n return (\n }\n kind=\"significant\"\n disabled={disabled}\n onClick={handleClick}\n text=\"Pay with Card\"\n className=\"tw:w-full\"\n size=\"m\"\n />\n )\n}\n\nexport default CardPayButton\n","import { Payment } from 'recoil/payments'\nimport React, { FC, PropsWithChildren, useCallback, useEffect, useState } from 'react'\nimport { usePlaidLink } from 'react-plaid-link'\nimport { postJSON } from 'utils/fetch'\nimport CoreButton from 'components/Core/CoreButton'\nimport AccountBalance from '@mui/icons-material/AccountBalance'\nimport Spinner from 'components/Spinner'\n\ninterface InnerPlaidLinkButtonProps {\n disabled?: boolean\n onExit: (error, metadata) => void\n onStart: () => void\n onSuccess: (token, metadata) => void\n token: string\n}\n\nconst InnerPlaidLinkButton: FC> = ({\n disabled,\n onExit,\n onStart,\n onSuccess,\n token,\n}) => {\n const { open } = usePlaidLink({ token, onSuccess, onExit })\n\n const handleClick = useCallback(() => {\n onStart()\n open()\n }, [onStart, open])\n\n return (\n }\n disabled={disabled}\n onClick={handleClick}\n text=\"Pay with ACH\"\n className=\"tw:w-full\"\n size=\"m\"\n />\n )\n}\n\ninterface PlaidLinkButtonProps {\n disabled?: boolean\n idOrToken: string\n payment: Payment\n setError: (msg: string | null) => void\n setIsLoading: (value: boolean) => void\n setPayment: (payment: Payment) => void\n}\n\nconst PlaidLinkButton: FC = ({\n disabled,\n idOrToken,\n payment,\n setError,\n setIsLoading,\n setPayment,\n}) => {\n const [plaidToken, setPlaidToken] = useState(null)\n\n useEffect(() => {\n if (!payment || payment.stripe_charge_ref) return\n let didCancel = false\n const _ = async () => {\n const response = await postJSON(`/api/v1/payments/${idOrToken}/auth_bank_account`, {})\n if (didCancel) return\n if (response.code === 200) {\n setPlaidToken(response.jsonBody.link_token)\n } else {\n setError('An unexpected error happened which prevents payment at this time.')\n }\n }\n _()\n return () => {\n didCancel = true\n }\n }, [idOrToken, payment, setError])\n\n const handleSuccess = useCallback(\n async (publicToken, metadata) => {\n setIsLoading(true)\n const response = await postJSON(`/api/v1/payments/${idOrToken}/pay`, { metadata, public_token: publicToken })\n if (response.code === 200) {\n setPayment(response.jsonBody)\n } else {\n setError('An unexpected error happened while processing your payment. We will contact you and get this solved.')\n }\n setIsLoading(false)\n },\n [idOrToken, setError, setIsLoading, setPayment]\n )\n\n const handleExit = useCallback(\n (error) => {\n if (error && error.display_message) {\n setError(error.display_message)\n }\n },\n [setError]\n )\n\n const handleStart = useCallback(() => {\n setError(null)\n }, [setError])\n\n if (!plaidToken) {\n return (\n }\n />\n )\n }\n\n return (\n \n )\n}\n\nexport default PlaidLinkButton\n","import React, { FC, PropsWithChildren, useMemo } from 'react'\nimport { Payment, paymentStatusColor } from 'recoil/payments'\nimport { formatMoney } from 'utils/formatting'\nimport Alert from 'components/Alert'\nimport cx from 'classnames'\nimport DefaultPackageIconImg from 'images/packages/defaultPackageIcon.png'\n\ninterface PaymentCardProps {\n payment: Payment\n error?: string | null\n className?: string\n compact?: boolean\n}\n\nexport const PAYMENT_MAX_CARD_AMOUNT = 500000\n\nconst PaymentCard: FC> = ({ payment, error, className, compact, children }) => {\n const name = useMemo(() => {\n if (!payment) return\n if (!payment.package_purchase) return\n\n return payment.package_purchase.package.name\n }, [payment])\n\n const description = useMemo(() => {\n if (!payment) return\n if (!payment.package_purchase) return payment.description\n\n return payment.package_purchase.package.description\n }, [payment])\n\n const amount = useMemo(() => {\n if (!payment) return\n\n return formatMoney(payment.amount_in_cents / 100)\n }, [payment])\n\n const listPrice = useMemo(() => {\n if (!payment) return\n if (!payment.package_purchase) return\n\n return formatMoney(payment.package_purchase.price.price)\n }, [payment])\n\n return (\n
    \n
    \n \n
    \n {payment.amount_in_cents > PAYMENT_MAX_CARD_AMOUNT && (\n {'Note: payments above $5k must be paid with ACH.'}\n )}\n {error ? (\n
    {error}
    \n ) : payment.stripe_charge_ref && payment.status == 'pending' ? (\n
    \n {'The payment is being processed. This might take up to 7 days.'}\n
    \n ) : null}\n
    \n
    \n
    {name}
    \n {description &&
    {description}
    }\n
    \n
    \n
    \n
    \n {amount}\n {!!listPrice && amount != listPrice && (\n {listPrice}\n )}\n
    \n \n {payment.status}\n
    \n
    \n {children}\n
    \n
    \n
    \n )\n}\n\nexport default PaymentCard\n","export enum PackagePurchaseStatusType {\n Requested = 'requested',\n Pending = 'pending',\n Completed = 'completed',\n Canceled = 'canceled',\n PastDue = 'past_due',\n}\n\nexport enum PackagePriceIntervalType {\n OneTime = 'one_time',\n Day = 'day',\n Week = 'week',\n Month = 'month',\n Year = 'year',\n}\n\nexport interface PackagePrice {\n price: number\n interval: PackagePriceIntervalType\n interval_count: number\n}\n\nexport interface PackagePurchase {\n id: number\n created_at: string\n status: PackagePurchaseStatusType\n price: PackagePrice\n payments: Payment[]\n package_id: number\n package: {\n id: number\n name: string\n description: string\n mobile_card_image?: string\n web_card_image?: string\n }\n}\n\nexport interface Payment {\n id: number\n amount_in_cents: number\n lead_payment: boolean\n description: string\n status: 'pending' | 'failed' | 'succeeded' | 'canceled'\n created_at: string\n package_purchase?: PackagePurchase & { property_id: number }\n stripe_checkout_session_ref: string\n stripe_charge_ref: string\n user_id?: number\n user: {\n id: number\n full_name?: string\n email: string\n phone_number?: string\n reset_password_token?: string\n referral_link?: string\n referral_payouts: Array\n }\n\n default_referral_payouts: Array\n}\n\nexport interface ReferralPayout {\n kind: 'meeting_scheduled' | 'referrer_set' | 'meeting_held' | 'deposit_paid' | 'contract_signed'\n target: 'referrer' | 'referee'\n amount_in_cents: number\n}\n\nexport const paymentStatusColor = (status: 'pending' | 'failed' | 'succeeded' | 'canceled'): string => {\n if (status == 'failed') return 'tw:text-red-800 tw:bg-red-200'\n if (status == 'succeeded') return 'tw:text-green-800 tw:bg-green-200'\n if (status == 'pending') return 'tw:text-yellow-800 tw:bg-yellow-200'\n return 'tw:text-gray-800 tw:bg-gray-200'\n}\n","import CoreButton from 'components/Core/CoreButton'\nimport React, { FC, useCallback } from 'react'\n\nimport Person from '@mui/icons-material/Person'\n\ninterface SetupAccountCardProps {\n signupToken: string\n idOrToken: string\n}\n\nconst SetupAccountCard: FC = ({ signupToken, idOrToken }) => {\n const handleSetupAccount = useCallback(() => {\n if (!signupToken) return\n\n window.location.href = `/onboarding?n&flow=payment&paymentToken=${idOrToken}&reset_password_token=${signupToken}`\n }, [idOrToken, signupToken])\n\n return (\n
    \n
    \n {\n 'Finish setting up your account to see contractors matches, thoroughly review your bids, and enjoy a smooth renovation in the Realm App.'\n }\n
    \n\n }\n size=\"m\"\n className=\"tw:w-full\"\n />\n
    \n )\n}\n\nexport default SetupAccountCard\n","import React, { FC, useCallback, useEffect, useState, useMemo } from 'react'\nimport CoreButton from 'components/Core/CoreButton'\n\nimport { ReferralPayout } from 'recoil/payments'\n\nimport RenovationFinanceImg from 'images/payments/renovationFinance.png'\nimport GreenGradientBg from 'images/payments/greenGradientBg.jpg'\n\nimport Link from '@mui/icons-material/Link'\nimport copyToClipboard from 'copy-to-clipboard'\nimport cx from 'classnames'\nimport { formatMoneyNoDecimals } from 'utils/formatting'\n\ninterface ReferAFriendCardProps {\n referralLink?: string\n referralPayouts: Array\n}\n\nconst ReferAFriendCard: FC = ({ referralLink, referralPayouts }) => {\n const [copied, setCopied] = useState(false)\n\n const handleCopyLink = useCallback(() => {\n if (!referralLink) return\n\n copyToClipboard(referralLink)\n setCopied(true)\n }, [referralLink])\n\n useEffect(() => {\n let timeout\n if (copied) {\n timeout = setTimeout(() => setCopied(false), 1500)\n }\n\n return () => {\n if (timeout) clearTimeout(timeout)\n }\n }, [copied])\n\n const totalReferrer = useMemo(() => {\n return (\n (referralPayouts || []).reduce((sum, payout) => {\n if (payout.target != 'referrer') return sum\n\n return sum + payout.amount_in_cents\n }, 0) / 100\n )\n }, [referralPayouts])\n\n const totalReferee = useMemo(() => {\n return (\n (referralPayouts || []).reduce((sum, payout) => {\n if (payout.target != 'referee') return sum\n\n return sum + payout.amount_in_cents\n }, 0) / 100\n )\n }, [referralPayouts])\n\n const actionMessage = useMemo(() => {\n if ((referralPayouts || []).length == 0) return 'become a client'\n\n const kindToMessages = [\n { kind: 'meeting_scheduled', message: 'schedule a meeting with an advisor' },\n { kind: 'referrer_set', message: 'meet with an advisor' },\n { kind: 'meeting_held', message: 'meet with an advisor' },\n { kind: 'deposit_paid', message: 'pay a deposit' },\n { kind: 'contract_signed', message: 'start a project' },\n ]\n const order = kindToMessages.map((obj) => obj.kind)\n const map = kindToMessages.reduce((map, obj) => ({ ...map, [obj.kind]: obj.message }), {})\n\n const sorted = [...referralPayouts].sort((a, b) => order.indexOf(a.kind) - order.indexOf(b.kind))\n return map[sorted[0].kind]\n }, [referralPayouts])\n\n const actionMessageWithoutLink = useMemo(() => {\n if ((referralPayouts || []).length == 0) return 'mention your name during their Advisor meeting and become a client'\n\n const kindToMessages = [\n { kind: 'meeting_scheduled', message: 'mention your name during their Advisor meeting' },\n { kind: 'referrer_set', message: 'mention your name during their Advisor meeting' },\n { kind: 'meeting_held', message: 'mention your name during their Advisor meeting' },\n { kind: 'deposit_paid', message: 'mention your name during their Advisor meeting and pay a deposit' },\n {\n kind: 'contract_signed',\n message: 'mention your name during their Advisor meeting and start a project with us',\n },\n ]\n const order = kindToMessages.map((obj) => obj.kind)\n const map = kindToMessages.reduce((map, obj) => ({ ...map, [obj.kind]: obj.message }), {})\n\n const sorted = [...referralPayouts].sort((a, b) => order.indexOf(a.kind) - order.indexOf(b.kind))\n return map[sorted[0].kind]\n }, [referralPayouts])\n\n const amountMessage = useMemo(() => {\n const multipleReferrers = (referralPayouts || []).filter((payout) => payout.target == 'referrer').length > 1\n const multipleReferees = (referralPayouts || []).filter((payout) => payout.target == 'referee').length > 1\n\n if (totalReferrer && totalReferrer == totalReferee) {\n return `you will both receive${multipleReferrers || multipleReferees ? ' up to' : ''} ${formatMoneyNoDecimals(totalReferrer)} as a thank-you!`\n }\n\n let msg = ''\n if (totalReferrer > 0) {\n msg += `you will receive${multipleReferrers ? ' up to' : ''} ${formatMoneyNoDecimals(totalReferrer)}`\n }\n if (totalReferee > 0) {\n if (msg) msg += ' and '\n msg += `they will receive${multipleReferees ? ' up to' : ''} ${formatMoneyNoDecimals(totalReferee)}`\n }\n if (!msg) msg = 'they will enjoy a great renovation experience.'\n else msg += ' as a thank-you!'\n return msg\n }, [referralPayouts, totalReferrer, totalReferee])\n\n return (\n \n
    \n
    \n \"A\n
    \n
    \n
    \n {totalReferrer > 0\n ? `Want ${formatMoneyNoDecimals(totalReferrer)} towards your renovation?`\n : totalReferee > 0\n ? `Want to give ${formatMoneyNoDecimals(totalReferee)} to a friend?`\n : 'Want to help out a friend?'}\n
    \n
    \n {referralLink\n ? `Share Realm with someone you know! If they ${actionMessage}, ${amountMessage}`\n : `Share Realm with someone you know! If they ${actionMessageWithoutLink}, ${amountMessage}`}\n
    \n
    \n
    \n {!!referralLink && (\n
    \n }\n size=\"m\"\n className=\"tw:w-full\"\n />\n\n \n {'Referral link copied to clipboard!'}\n
    \n \n )}\n
    \n {'Applies to new Realm customers in CA or Seattle. Referrers must sign up for Realm to receive the incentive.'}\n
    \n \n )\n}\n\nexport default ReferAFriendCard\n","import React, { FC } from 'react'\nimport DoneAll from '@mui/icons-material/DoneAll'\nimport CoreText from 'components/Core/CoreText'\n\nconst PaymentSuccessHeader: FC = () => {\n return (\n
    \n
    \n \n
    \n {'Payment successful'}\n \n {\"You're one step closer to realizing your renovation goals.\"}\n \n
    \n )\n}\n\nexport default PaymentSuccessHeader\n","import React, { FC, useEffect, useState } from 'react'\n\nimport { postJSON } from 'utils/fetch'\nimport { ReferralPayout } from 'recoil/payments'\n\nimport SetupAccountCard from 'pages/Payment/PaymentSuccess/SetupAccountCard'\nimport ReferAFriendCard from 'pages/Payment/PaymentSuccess/ReferAFriendCard'\nimport PaymentSuccessHeader from 'pages/Payment/PaymentSuccess/PaymentSuccessHeader'\nimport { LoginState, useAuth } from 'non-rendering/Authentication'\nimport Loading from 'components/Loading'\n\ninterface PaymentSuccessProps {\n idOrToken: string\n referralLink?: string\n referralPayouts: Array\n}\n\nconst PaymentSuccess: FC = ({ idOrToken, referralLink, referralPayouts }) => {\n const user = useAuth()\n const [signupToken, setSignupToken] = useState()\n const [loadingSignupToken, setLoadingSignupToken] = useState(false)\n\n useEffect(() => {\n if (!idOrToken) return\n if (signupToken) return\n\n const _ = async () => {\n setLoadingSignupToken(true)\n const response = await postJSON(`/api/v1/payments/${idOrToken}/signup_token`, {})\n if (response.isError) {\n console.error(`Error fetching signup token ${response.jsonBody}`)\n } else {\n const token = response.jsonBody?.token\n if (token) setSignupToken(token)\n }\n setLoadingSignupToken(false)\n }\n _()\n }, [idOrToken, signupToken])\n\n return (\n
    \n {loadingSignupToken ? (\n \n ) : (\n
    \n \n {user.state != LoginState.LoggedIn && signupToken && (\n \n )}\n \n
    \n )}\n
    \n )\n}\n\nexport default PaymentSuccess\n","// TODO: This is currently 'standalone' and doesn't\n// utilize a layout.\n\nimport CardPayButton from 'pages/Payment/CardPayButton'\nimport Footer from 'layouts/components/Footer'\nimport { getJSON } from 'utils/fetch'\nimport PageTitle from 'components/PageTitle'\nimport { poll } from 'utils/poll'\nimport PlaidLinkButton from 'pages/Payment/PlaidLinkButton'\nimport { Payment } from 'recoil/payments'\nimport React, { FC, useEffect, useMemo, useState } from 'react'\nimport Spinner from 'components/Spinner'\nimport { useLocation, useParams } from 'react-router-dom'\nimport qs from 'qs'\nimport PaymentCard, { PAYMENT_MAX_CARD_AMOUNT } from 'pages/Payment/PaymentCard'\nimport PaymentSuccess from 'pages/Payment/PaymentSuccess'\nimport TermsConsentMessage from 'components/TermsConsentMessage'\n\nconst Payment: FC = () => {\n const { id, token } = useParams<{ id: string; token: string }>()\n const location = useLocation()\n\n const [isLoading, setIsLoading] = useState(true)\n const [payment, setPayment] = useState(null)\n const [error, setError] = useState(null)\n\n const idOrToken = useMemo(() => id || token, [id, token])\n\n const checkSuccess = useMemo(() => {\n return qs.parse(location.search, { ignoreQueryPrefix: true }).cs\n }, [location.search])\n\n useEffect(() => {\n let didCancel = false\n const _ = async () => {\n setIsLoading(true)\n if (checkSuccess) {\n try {\n const payment = await poll({\n fn: async () => await getJSON(`/api/v1/payments/${idOrToken}`),\n validate: (payment: Payment) => payment.status === 'succeeded',\n interval: 2000,\n maxAttempts: 10,\n })\n if (didCancel) return\n setPayment(payment)\n setIsLoading(false)\n } catch (e) {\n alert('Error: Timeout waiting for payment to process')\n window.location.href = '/'\n }\n } else {\n try {\n const response = await getJSON(`/api/v1/payments/${idOrToken}`)\n if (didCancel) return\n setPayment(response)\n setIsLoading(false)\n } catch (e) {\n // payment not found, redirect away\n window.location.href = '/'\n }\n }\n }\n _()\n return () => {\n didCancel = true\n }\n }, [idOrToken, location, checkSuccess])\n\n if (!payment) return null\n\n return (\n
    \n \n {isLoading ? (\n
    \n \n
    \n ) : payment.status == 'succeeded' ? (\n \n ) : (\n
    \n \n {!payment.stripe_charge_ref && (\n \n )}\n {!payment.stripe_charge_ref ? (\n <>\n PAYMENT_MAX_CARD_AMOUNT}\n />\n \n \n ) : (\n !payment.stripe_charge_ref && !error && \n )}\n \n
    \n )}\n
    \n
    \n )\n}\n\nexport default Payment\n","import cx from 'classnames'\nimport React, { FC } from 'react'\n\ninterface AccountIconProps {\n className?: string\n}\n\nconst AccountIcon: FC = ({ className }) => (\n \n \n \n \n)\n\nexport default AccountIcon\n","import cx from 'classnames'\nimport React, { FC } from 'react'\n\ninterface MenuIconProps {\n className?: string\n}\n\nconst MenuIcon: FC = ({ className }) => (\n \n \n \n \n)\n\nexport default MenuIcon\n","import React, { FC } from 'react'\n\nconst Svg: FC = (props) => (\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 Svg\n","import React, { FC, useCallback } from 'react'\nimport cx from 'classnames'\n\nimport { useProperties, PropertyHead } from 'recoil/properties'\n\nimport { track } from 'utils/analytics'\n\nexport interface Props {\n className?: string\n location: 'in-page' | 'header'\n}\n\nconst IntercomCta: FC> = ({ children, className, location }) => {\n const { selectedProperty } = useProperties()\n\n // Fire event based on location and market.\n const handleClick = useCallback(() => {\n const property = selectedProperty as PropertyHead\n const market = property.marketplace ? 'marketplace' : null\n track('click cta', { cta: 'intercom', location: location, market: market })\n }, [selectedProperty, location])\n\n // Don't show if we don't have a property, or we're a national user.\n if (!selectedProperty || !selectedProperty.marketplace) return null\n\n let intercomCtaClass = '_intercom-cta'\n if (selectedProperty.marketplace) intercomCtaClass += '-marketplace'\n\n intercomCtaClass += `-${location}`\n\n return (\n \n )\n}\nexport default IntercomCta\n","// extracted by mini-css-extract-plugin\nexport default {\"menu\":\"Txam8KQlkrvcWCsMZIkl\",\"menuappear\":\"GJbJNgjhHOI4v8lcyrMF\",\"header\":\"rlyccYBEFAIglkvRpJoU\",\"profile\":\"hCE3mvq4VdFr8alhkhyt\",\"logo\":\"AnteI6abnF9L8YxMazuI\",\"link\":\"BbpWWnj4mITsxVYmdgWE\",\"active\":\"HQ4flv8HzuuDIWhJPS2k\",\"navMobile\":\"VPH1zKfh01yZVTPXk46A\",\"menuIcon\":\"z1ULEeZPZVQAJdDPf28t\",\"navDesktop\":\"HK54UQC5MvRyhBz9rp4_\",\"menus\":\"OTEwvxxZos7hg3UqKKCa\",\"advisorCta\":\"seymdDHIMKXNNQnH9Bsu\",\"user\":\"BZ6_o1fiWh0JZkBHjC3T\",\"propertyMenu\":\"DWfwI3ZQfZaJKj7f3y5y\",\"allProperties\":\"IMetN72d6pC045Akk9y9\",\"propertyMenuContainer\":\"tT1KNDEWZLditWEqIWWH\",\"dropdownArrow\":\"bKQNjogb7_hIKvBgKGb8\",\"propertyMenuItem\":\"PGOKPk_G1unF6IHFShRV\",\"propertyMenuItemImage\":\"IO0l7uAG2WyzkH39OUaV\",\"propertyMenuItemLabel\":\"f9MWKVaIUCyxMW_S9ivN\",\"viewAllProperties\":\"DAchhGzdauDE3zDkSkeT\",\"profileMobile\":\"rsxrVwIha8lj8NqzztcC\"};","import React, { FC, useMemo } from 'react'\nimport { Link, NavLink, useLocation } from 'react-router-dom'\nimport cx from 'classnames'\n\nimport propertyPath from 'utils/propertyPath'\n\nimport { PropertyHead, useProperties } from 'recoil/properties'\n\nimport AccountIcon from 'svgs/account'\nimport DropdownArrow from 'svgs/dropdown-arrow'\nimport MenuIcon from 'svgs/menu'\nimport LogoIcon from 'svgs/logo'\nimport LogoPrideIcon from 'svgs/logo-pride'\nimport SparklesIcon from 'svgs/sparkles-two'\n\nimport Dropdown from 'components/Dropdown'\nimport Menu from 'components/Menu'\nimport { PropertyAvatar } from 'components/PropertyAvatar'\nimport IntercomCta from 'components/IntercomCta'\n\nimport styles from './styles.module.scss'\n\nconst linkDashboard = (property: PropertyHead, properties: Array) => (\n \n {'Dashboard'}\n \n)\n\nconst linkResources = () => (\n \n {'Resources'}\n \n)\n\nconst linkPropertyPlan = (property: PropertyHead, properties: Array) => (\n \n {'Project Planner'}\n \n)\n\nconst navMobile = (property: PropertyHead, properties: Array) => (\n \n {linkDashboard(property, properties)}\n {linkPropertyPlan(property, properties)}\n {linkResources()}\n \n)\n\nconst navDesktop = (property: PropertyHead, properties: Array) => (\n <>\n {linkDashboard(property, properties)}\n {linkPropertyPlan(property, properties)}\n {linkResources()}\n \n)\n\nconst profileMenu = (\n \n \n {'Properties'}\n \n \n {'Payments'}\n \n \n {'Profile'}\n \n \n \n {'Sign out'}\n \n \n)\n\ninterface NavigationProps {\n blank?: boolean\n propertyAgnostic?: boolean\n}\n\nconst Navigation: FC = ({ blank, propertyAgnostic }) => {\n const { selectedProperty, lastProperty, properties } = useProperties()\n const { pathname } = useLocation()\n\n const property = propertyAgnostic ? null : selectedProperty || lastProperty || (properties || [])[0]\n\n const showPropertyMenu = property != null && pathname !== '/properties' && (properties || []).length > 1\n\n return (\n
    \n \n {!blank && (\n
    \n {property && (\n \n \n {'Chat with a Realm Advisor'}\n \n )}\n {showPropertyMenu && }\n
    \n \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n )}\n
    \n )\n}\n\nconst PropertyMenu: FC<{ selectedProperty: PropertyHead }> = ({ selectedProperty }) => {\n const { properties } = useProperties()\n\n const sortedProperties = useMemo(() => {\n return (\n selectedProperty\n ? [selectedProperty, ...(properties || []).filter((p) => p.id !== selectedProperty?.id)]\n : properties || []\n ).slice(0, 6)\n }, [properties, selectedProperty])\n\n if (!selectedProperty) return null\n\n return (\n
    \n
    \n \n \n
    \n
    \n {sortedProperties.map((property) => (\n \n ))}\n \n {'View all'}\n \n
    \n
    \n )\n}\n\nconst PropertyMenuItem: FC<{ property: PropertyHead }> = ({ property }) => {\n const { properties } = useProperties()\n const path = `${propertyPath(properties || [], property)}/dashboard`\n\n return (\n \n \n
    {property.delivery_line_1}
    \n \n )\n}\n\nexport default Navigation\n","// extracted by mini-css-extract-plugin\nexport default {\"head\":\"WfzHKDySRiWFTHIdieoA\"};","import React, { FC, PropsWithChildren } from 'react'\nimport ScrollToTop from 'non-rendering/ScrollToTop'\nimport GlobalAlert from '../components/GlobalAlert'\nimport OverlayMount from '../components/OverlayMount'\nimport Navigation from '../components/Navigation'\nimport cx from 'classnames'\n\nimport styles from './styles.module.scss'\n\ninterface AuthPartProps {\n className?: string\n}\n\nconst HeadHeader: FC> = ({ className, children }) => (\n

    {children}

    \n)\n\nconst HeadSubheader: FC> = ({ className, children }) => (\n
    {children}
    \n)\n\nconst Head: FC> & { Header: typeof HeadHeader; Subheader: typeof HeadSubheader } = ({\n className,\n children,\n}) => (\n \n {children}\n \n)\n\nHead.Header = HeadHeader\nHead.Subheader = HeadSubheader\n\nconst BodyHeader: FC> = ({ className, children }) => (\n

    {children}

    \n)\n\nconst BodySubheader: FC> = ({ className, children }) => (\n

    {children}

    \n)\n\nconst Body: FC> & { Header: typeof BodyHeader; Subheader: typeof BodySubheader } = ({\n className,\n children,\n}) => (\n
    {children}
    \n)\n\nBody.Header = BodyHeader\nBody.Subheader = BodySubheader\n\nconst Auth: FC & { Head: typeof Head; Body: typeof Body } = ({ children }) => {\n const isWebview = !!document.body.dataset.webview\n\n return (\n <>\n \n \n
    \n \n {!isWebview && }\n
    \n
    \n
    {children}
    \n

    {`© ${new Date().getFullYear()} Realm. All rights reserved.`}

    \n
    \n
    \n
    \n
    \n \n )\n}\nAuth.Head = Head\nAuth.Body = Body\n\nexport default Auth\n","import React, { FC, PropsWithChildren } from 'react'\n\nimport { useAuth } from 'non-rendering/Authentication'\n\nimport Loading from 'components/Loading'\n\nconst WaitForAuth: FC = ({ children }) => {\n const { checked } = useAuth()\n\n if (!checked) {\n return \n }\n return <>{children}\n}\n\nexport default WaitForAuth\n","import React, { FC, PropsWithChildren } from 'react'\nimport { useRecoilValue } from 'recoil'\n\nimport { useAuth, LoginState } from 'non-rendering/Authentication'\nimport { propertiesState } from 'recoil/properties'\n\nimport Loading from 'components/Loading'\nimport WaitForAuth from './WaitForAuth'\n\nconst PropertiesOrDashboard: FC = () => {\n const properties = useRecoilValue(propertiesState)\n\n if ((properties || []).length == 1) window.location.replace('/dashboard')\n else window.location.replace('/properties')\n return \n}\n\nconst EnsureLoggedOut: FC = ({ children }) => {\n const { state } = useAuth()\n\n return (\n \n {state === LoginState.LoggedIn ? (\n // If they are logged in, they need to shown a logged in page.\n \n ) : (\n children\n )}\n \n )\n}\n\nexport default EnsureLoggedOut\n","import React, { FC, FormEvent, ReactNode, useCallback, useEffect, useMemo, useReducer } from 'react'\nimport PageTitle from 'components/PageTitle'\nimport Button from 'components/Button2'\nimport Input from 'components/Input'\nimport Auth from 'layouts/Auth'\nimport { FormErrors } from 'utils/forms'\nimport { patchJSON } from 'utils/fetch'\nimport { Link } from 'react-router-dom'\nimport EnsureLoggedOut from 'layouts/EnsureLoggedOut'\n\ninterface ChangePasswordState {\n form: {\n password: string\n password_confirmation: string\n }\n errors: Record\n isLoading: boolean\n}\n\ninterface ChangePasswordAction {\n type: 'setFields' | 'setIsLoading' | 'setErrors'\n payload: any\n}\n\nconst reducer = (state: ChangePasswordState, action: ChangePasswordAction): ChangePasswordState => {\n switch (action.type) {\n case 'setFields':\n return {\n ...state,\n form: {\n ...state.form,\n [action.payload.key as keyof ChangePasswordState['form']]: action.payload.val,\n },\n }\n case 'setIsLoading':\n return {\n ...state,\n isLoading: action.payload,\n }\n case 'setErrors':\n return {\n ...state,\n errors: action.payload,\n isLoading: false,\n }\n default:\n throw new Error()\n }\n}\n\nconst initialState: ChangePasswordState = {\n errors: {},\n form: {\n password: '',\n password_confirmation: '',\n },\n isLoading: false,\n}\n\nexport interface ChangePasswordInputArgs {\n value: string\n errors: string[]\n onChangeText: (value: string) => void\n}\n\ninterface ChangePasswordFormProps {\n resetPasswordToken?: string\n renderPasswordInput?: (args: ChangePasswordInputArgs) => ReactNode\n renderConfirmPasswordInput?: (args: ChangePasswordInputArgs) => ReactNode\n renderWrapper?: (children: ReactNode) => JSX.Element\n renderButton?: () => ReactNode\n onSuccess?: () => void\n onLoading?: (value: boolean) => void\n}\n\nconst ChangePasswordForm: FC = ({\n resetPasswordToken: resetPasswordTokenProp,\n renderPasswordInput,\n renderConfirmPasswordInput,\n renderWrapper,\n renderButton,\n onSuccess,\n onLoading,\n}) => {\n const [state, dispatch] = useReducer(reducer, initialState)\n\n const resetPasswordToken = useMemo(() => {\n if (resetPasswordTokenProp) return resetPasswordTokenProp\n\n return new URLSearchParams(location.search).get('reset_password_token')\n }, [resetPasswordTokenProp])\n\n useEffect(() => {\n onLoading?.(state.isLoading)\n }, [onLoading, state.isLoading])\n\n const handleSubmit = useCallback(\n async (e: FormEvent) => {\n e.preventDefault()\n const errors: FormErrors = {}\n if (state.form.password.length < 8) {\n errors.password = ['Password must be at least 8 characters.']\n }\n if (state.form.password !== state.form.password_confirmation) {\n errors.password_confirmation = ['Password confirmation must match.']\n }\n if (Object.keys(errors).length > 0) {\n dispatch({ type: 'setErrors', payload: errors })\n } else {\n dispatch({ type: 'setIsLoading', payload: true })\n const csrfParam = document.querySelector('meta[name=csrf-param]')?.getAttribute('content')\n const csrfToken = document.querySelector('meta[name=csrf-token]')?.getAttribute('content')\n const body = {\n [csrfParam || '']: csrfToken,\n user: {\n reset_password_token: resetPasswordToken,\n password: state.form.password,\n password_confirmation: state.form.password_confirmation,\n },\n }\n const response = await patchJSON('/users/password', body)\n if (response.isError) {\n dispatch({ type: 'setErrors', payload: response.jsonBody.errors })\n } else {\n // user is now signed in, redirect to properties page\n onSuccess ? onSuccess() : (window.location.href = '/properties')\n }\n }\n },\n [state.form, resetPasswordToken, onSuccess]\n )\n\n const handleChangeText = useCallback(\n (key: keyof ChangePasswordState['form']) => (value: string) => {\n dispatch({ type: 'setFields', payload: { key, value } })\n },\n [dispatch]\n )\n\n const Wrapper = useCallback(\n ({ children }) => {\n if (renderWrapper) return renderWrapper(children)\n\n return (\n \n \n {'Change your password'}\n
    \n {children}\n
    \n
    \n ) as JSX.Element\n },\n [renderWrapper]\n )\n\n return (\n \n \n \n {state.errors.reset_password_token && (\n

    \n {'Your reset token has expired, please initiate the process again. '}\n \n {'Forgot password'}\n \n

    \n )}\n\n
    \n
    \n
    \n {renderPasswordInput?.({\n value: state.form.password,\n errors: state.errors.password,\n onChangeText: handleChangeText('password'),\n }) || (\n \n )}\n {renderConfirmPasswordInput?.({\n value: state.form.password_confirmation,\n errors: state.errors.password_confirmation,\n onChangeText: handleChangeText('password_confirmation'),\n }) || (\n \n )}\n
    \n
    \n\n {renderButton?.() || (\n
    \n \n
    \n )}\n
    \n
    \n
    \n )\n}\n\nexport default ChangePasswordForm\n","import React, { FC } from 'react'\n\nimport ChangePasswordForm from 'pages/ChangePassword/ChangePasswordForm'\n\nconst ChangePassword: FC = () => {\n return \n}\n\nexport default ChangePassword\n","import React, { FC } from 'react'\n\nimport ChangePasswordForm from 'pages/ChangePassword/ChangePasswordForm'\n\nconst MagicSignIn: FC = () => {\n const resetPasswordToken = new URLSearchParams(location.search).get('first_time_token') || undefined\n\n return \n}\n\nexport default MagicSignIn\n","import React, { FC, PropsWithChildren } from 'react'\nimport { Redirect } from 'react-router-dom'\n\nimport propertyPath from 'utils/propertyPath'\nimport { useProperties, usePropertyLoader, Property } from 'recoil/properties'\n\nimport Loading from 'components/Loading'\n\nexport function missingInformation(property: Property): boolean {\n return (\n !property.bedrooms ||\n !property.bathrooms ||\n typeof property.half_bathrooms == 'undefined' ||\n !property.square_footage\n )\n}\n\ninterface Props {\n loadingContent?: () => React.ReactNode\n noPropertyContent?: () => React.ReactNode\n}\n\nconst HasProperty: FC> = ({ loadingContent, noPropertyContent, children }) => {\n const { selectedProperty, properties } = useProperties()\n const { isLoading, redirect } = usePropertyLoader()\n\n if (isLoading) {\n if (loadingContent) return <> {loadingContent()} \n else return \n } else if (!selectedProperty) {\n if (noPropertyContent) return <> {noPropertyContent()} \n else return \n } else if (properties && missingInformation(selectedProperty)) {\n return \n } else if (redirect) {\n // If we've been asked to redirect by the hook, do so.\n return \n }\n\n return <>{children}\n}\n\nexport default HasProperty\n","import cx from 'classnames'\nimport React, { FC } from 'react'\n\ninterface HelpProps {\n className?: string\n}\n\nconst Help: FC = ({ className }) => (\n \n \n \n \n)\n\nexport default Help\n","import React, { FC, ReactNode, useCallback } from 'react'\nimport cx from 'classnames'\nimport RcTooltip from 'rc-tooltip'\n\nimport { track } from 'utils/analytics'\nimport Help from 'svgs/help'\n\nimport styles from './styles.module.scss'\n\ninterface TooltipProps {\n className?: string\n overlay: ReactNode | (() => ReactNode)\n placement?: string\n trackAs?: string\n}\n\nconst Tooltip: FC = ({ overlay, className, placement = 'topLeft', trackAs }) => {\n const handleVisibleChange = useCallback(\n (visible: boolean) => {\n if (!trackAs || !visible) return\n track('hover tooltip', { tooltip: trackAs })\n },\n [trackAs]\n )\n\n return (\n
    \n \n
    \n \n
    \n \n
    \n )\n}\n\nexport default Tooltip\n","// extracted by mini-css-extract-plugin\nexport default {\"form\":\"ahY1uWMtUD26yqaEE4MP\"};","import React, { FC, useCallback, useState } from 'react'\nimport { useHistory, Redirect } from 'react-router-dom'\nimport cx from 'classnames'\n\nimport propertyPath from 'utils/propertyPath'\n\nimport { useProperties, UProperty, Property } from 'recoil/properties'\n\nimport Auth from 'layouts/Auth'\nimport Secure from 'layouts/Secure'\nimport { missingInformation } from 'layouts/HasProperty'\n\nimport Tooltip from 'components/Tooltip'\nimport PageTitle from 'components/PageTitle'\nimport Loading from 'components/Loading'\nimport Input from 'components/Input'\nimport Button from 'components/Button2'\n\nimport styles from './styles.module.scss'\n\nconst MAX_ROOMS = 100\nconst MAX_SQUARE_FOOTAGE = 100000\n\nconst MissingInformation: FC = () => {\n const history = useHistory()\n const { selectedProperty, properties, updateSelectedProperty } = useProperties()\n const [bedrooms, setBedrooms] = useState('')\n const [bathrooms, setBathrooms] = useState('')\n const [halfBathrooms, setHalfBathrooms] = useState('')\n const [squareFootage, setSquareFootage] = useState('')\n const [errors, setErrors] = useState<{ [field: string]: string[] }>({})\n\n const validateProperty = useCallback(\n (update: UProperty) => {\n const bathrooms = update.bathrooms || selectedProperty?.bathrooms || 0\n const halfBathrooms = update.half_bathrooms || selectedProperty?.half_bathrooms || 0\n const bedrooms = update.bedrooms || selectedProperty?.bedrooms || 0\n\n // Locally validate our fields (should match or exceed server-side validation)\n if (bathrooms + halfBathrooms <= 0) {\n throw { field: 'bathrooms', error: 'Must have at least one bathroom' }\n }\n if (bedrooms <= 0) {\n throw { field: 'bedrooms', error: 'Must have at least one bedroom' }\n }\n },\n [selectedProperty]\n )\n\n const handleSubmit = useCallback(async () => {\n function errorParseInt(field: string, value: string) {\n const iValue: number | undefined = parseInt(value)\n if (isNaN(iValue)) throw { field: field, error: 'Must be a whole number' }\n return iValue\n }\n\n try {\n const updates: UProperty = {}\n if (!selectedProperty?.bedrooms) updates.bedrooms = errorParseInt('bedrooms', bedrooms)\n if (!selectedProperty?.bathrooms) updates.bathrooms = errorParseInt('bathrooms', bathrooms)\n if (typeof selectedProperty?.half_bathrooms === 'undefined')\n updates.half_bathrooms = errorParseInt('half_bathrooms', halfBathrooms)\n if (!selectedProperty?.square_footage) updates.square_footage = errorParseInt('square_footage', squareFootage)\n\n validateProperty(updates)\n\n await updateSelectedProperty(updates)\n // Redirect once we're done.\n history.push(`${propertyPath(properties || [], selectedProperty as Property)}`)\n } catch (e) {\n setErrors({ [e.field]: [e.error] })\n }\n }, [\n properties,\n selectedProperty,\n bedrooms,\n bathrooms,\n halfBathrooms,\n squareFootage,\n validateProperty,\n updateSelectedProperty,\n history,\n ])\n\n // Just in case we're still loading for some reason.\n if (!selectedProperty) return \n // Redirect if we're here by mistake.\n if (!missingInformation(selectedProperty)) return \n\n return (\n \n \n \n \n {\"Looks like we're missing some information!\"}\n \n {'In order to give you the most accurate estimated home value, we need some important information about '}\n {selectedProperty.delivery_line_1}\n {'.'}\n \n\n
    \n \n
    \n {!selectedProperty?.bedrooms && (\n \n )}\n {!selectedProperty?.bathrooms && (\n \n )}\n {typeof selectedProperty?.half_bathrooms == 'undefined' && (\n \n }\n max={MAX_ROOMS}\n min={0}\n placeholder=\"Enter the number of half bathrooms\"\n type=\"number\"\n value={halfBathrooms}\n onChange={setHalfBathrooms}\n />\n )}\n {!selectedProperty?.square_footage && (\n \n )}\n
    \n \n \n
    \n
    \n
    \n )\n}\n\nexport default MissingInformation\n","import React, { FC, useCallback, useState } from 'react'\nimport { postJSON } from 'utils/fetch'\nimport Auth from 'layouts/Auth'\nimport EnsureLoggedOut from 'layouts/EnsureLoggedOut'\nimport PageTitle from 'components/PageTitle'\nimport Button from 'components/Button2'\nimport Input from 'components/Input'\nimport Loading from 'components/Loading'\n\nconst ForgotPassword: FC = () => {\n const [isLoading, setIsLoading] = useState(false)\n const [isReset, setIsReset] = useState(false)\n const [attempts, setAttempts] = useState(0)\n const [email, setEmail] = useState('')\n\n const handleFormSubmit = useCallback(async () => {\n setIsLoading(true)\n await Promise.all([\n postJSON('/users/password', { user: { email: email } }),\n new Promise((resolve) => setTimeout(resolve, 500)), // Wait at least 500ms\n ])\n setAttempts((prev) => prev + 1)\n setIsReset(true)\n setIsLoading(false)\n }, [email])\n\n const handleTryAgain = useCallback(() => {\n setIsReset(false)\n }, [])\n\n return (\n \n \n {isLoading ? (\n \n ) : (\n \n \n {'Forgot your password?'}\n \n {isReset ? (\n <>\n {'An email with instructions has been sent to:'}\n {email}\n \n ) : (\n <>{\"Enter your email address and we'll send you instructions.\"}\n )}\n \n\n
    \n\n {isReset ? (\n
    \n

    {'No email? Check your entered address and try again'}

    \n \n

    \n {attempts <= 1\n ? \"Don't forget to check your spam folders!\"\n : attempts == 2\n ? 'Are you sure you entered your email in correctly?'\n : 'It is possible you are not in our system. Check your email carefully!'}\n

    \n
    \n ) : (\n \n
    \n
    \n \n
    \n
    \n\n
    \n \n
    \n \n )}\n
    \n
    \n )}\n
    \n )\n}\n\nexport default ForgotPassword\n","import { useCallback, useEffect, useMemo } from 'react'\nimport { atom, useRecoilState } from 'recoil'\n\nimport { Model } from 'recoil/model'\nimport { useProjects } from 'recoil/projects'\nimport { useBaseProjectTemplates } from 'recoil/baseProjectTemplates'\nimport { useProjectTemplates } from 'recoil/projectTemplates'\nimport { useProperties } from 'recoil/properties'\nimport { usePropertyPlans } from 'recoil/propertyPlans'\n\nimport { getJSON, postJSON, patchJSON, deleteJSON } from 'utils/fetch'\n\nexport interface RenovationImage {\n id: number\n name: string\n url: string\n}\n\nexport interface Renovation extends Model {\n id?: number\n kind?: string\n cost?: number\n year?: number\n square_footage?: number\n rating?: number\n contractor?: string\n details?: string\n images?: RenovationImage[]\n}\n\nexport interface RenovationKind {\n [key: string]: string\n}\n\nexport const renovationsState = atom({\n key: 'Renovations',\n default: [],\n})\n\nexport const renovationsFetchedIdState = atom({\n key: 'RenovationsFetchedId',\n default: null,\n})\n\nexport const renovationKindsState = atom({\n key: 'RenovationKinds',\n default: {},\n})\n\nexport const replaceRenovation = (all: Array, r: Renovation): Array => {\n const i = all.findIndex((renovation) => renovation.id === r.id)\n\n return [...all.slice(0, i), r, ...all.slice(i + 1)]\n}\n\nexport const useRenovations = (): {\n renovations: Array\n kinds: RenovationKind\n queueRenovation: (kind: string) => void\n createRenovation: (r: Renovation) => Promise\n updateRenovation: (r: Renovation) => Promise\n destroyRenovation: (r: Renovation) => Promise\n refresh: () => void\n} => {\n const { selectedProperty, refreshProperty } = useProperties()\n const [renovations, setRenovations] = useRecoilState(renovationsState)\n const [kinds, setKinds] = useRecoilState(renovationKindsState)\n const [fetchedId, setFetchedId] = useRecoilState(renovationsFetchedIdState)\n const { refreshProjectTemplates: refreshBaseProjectTemplates } = useBaseProjectTemplates(selectedProperty as any)\n const { refreshProjectTemplates } = useProjectTemplates()\n const { refreshPropertyPlan } = usePropertyPlans()\n const { refreshProjects } = useProjects()\n\n const refresh = useCallback(() => {\n refreshBaseProjectTemplates()\n refreshProjectTemplates()\n refreshPropertyPlan()\n refreshProjects()\n refreshProperty(selectedProperty as any)\n }, [\n refreshBaseProjectTemplates,\n refreshProjectTemplates,\n refreshPropertyPlan,\n refreshProjects,\n refreshProperty,\n selectedProperty,\n ])\n\n const nextRenovationId = useMemo(() => {\n const ids = renovations.filter((x) => x.id).map((x) => x.id) as number[]\n const minId = Math.min(...ids)\n\n return minId < 0 ? minId - 1 : -1\n }, [renovations])\n\n useEffect(() => {\n if (!selectedProperty?.id) return\n const runme = async () => {\n if (fetchedId != selectedProperty.id) {\n const serverRenovations = (await getJSON(\n `/api/v1/properties/${selectedProperty.id}/renovations`\n )) as Renovation[]\n const defaultRenovations = [\n { kind: 'kitchen_renovation', id: -1 },\n { kind: 'bathroom_renovation', id: -2 },\n ] as Renovation[]\n setRenovations(serverRenovations.length > 0 ? serverRenovations : defaultRenovations)\n setFetchedId(selectedProperty.id)\n }\n }\n runme()\n }, [fetchedId, setFetchedId, setRenovations, selectedProperty?.id])\n\n useEffect(() => {\n if (!selectedProperty?.id) return\n const runme = async () => {\n if (Object.keys(kinds).length == 0) {\n setKinds(await getJSON(`/api/v1/properties/${selectedProperty.id}/renovations/kinds`))\n }\n }\n runme()\n }, [kinds, setKinds, selectedProperty?.id])\n\n return {\n renovations,\n kinds,\n queueRenovation: (kind: string) => {\n setRenovations((renovations) => {\n return [...renovations, { kind: kind, id: nextRenovationId }]\n })\n },\n createRenovation: async (r: Renovation) => {\n if (!selectedProperty) return\n const index = renovations.findIndex((x) => x.id == r.id)\n const data = { ...r, id: undefined }\n const res = await postJSON(\n `/api/v1/properties/${selectedProperty.id}/renovations`,\n data as Record\n )\n if (res.isError) {\n const error = new Error(`Non-200 status code: ${res.code}.`)\n throw Object.assign(error, { body: res.jsonBody })\n }\n const serverRenovation = res.jsonBody\n\n const updated = [...renovations]\n updated[index] = serverRenovation\n\n setRenovations(updated)\n refresh()\n },\n updateRenovation: async (r: Renovation) => {\n if (!selectedProperty) return\n const res = await patchJSON(\n `/api/v1/properties/${selectedProperty.id}/renovations/${r.id}`,\n r as unknown as Record\n )\n if (res.isError) {\n const error = new Error(`Non-200 status code: ${res.code}.`)\n throw Object.assign(error, { body: res.jsonBody })\n }\n\n const updated = res.jsonBody\n setRenovations(replaceRenovation(renovations, updated))\n refresh()\n },\n destroyRenovation: async (r: Renovation) => {\n if (!selectedProperty) return\n\n const revert = [...renovations]\n const updatedRenovations = renovations.filter((renovation) => renovation.id !== r.id)\n setRenovations(updatedRenovations)\n\n const res = await deleteJSON(`/api/v1/properties/${selectedProperty.id}/renovations/${r.id}`)\n if (res.isError) {\n setRenovations(revert)\n const error = new Error(`Non-200 status code: ${res.code}.`)\n throw Object.assign(error, { body: res.jsonBody })\n }\n refresh()\n },\n refresh,\n }\n}\n","import { useEffect } from 'react'\nimport { atom, useRecoilState } from 'recoil'\n\nimport { Model } from 'recoil/model'\nimport { Property, useProperties } from 'recoil/properties'\nimport { Renovation, useRenovations } from 'recoil/renovations'\n\nexport type Level = 'Empty' | 'Beginner' | 'Intermediate' | 'Advanced' | 'All-Star'\n\nexport interface Score {\n level: Level\n val: number\n}\n\nconst EMPTY_SCORE: Score = {\n level: 'Empty',\n val: 0,\n}\n\nconst BEGINNER_SCORE: Score = {\n level: 'Beginner',\n val: 1,\n}\n\nconst INTERMEDIATE_SCORE: Score = {\n level: 'Intermediate',\n val: 2,\n}\n\nconst ADVANCED_SCORE: Score = {\n level: 'Advanced',\n val: 3,\n}\n\nconst ALL_STAR_SCORE: Score = {\n level: 'All-Star',\n val: 4,\n}\n\nexport interface PropertyCompleteness extends Model {\n steps: { [key: string]: number }\n score: Score\n maxScore: number\n}\n\nexport const propertyCompletenessState = atom({\n key: 'PropertyCompleteness',\n default: {\n steps: {},\n score: EMPTY_SCORE,\n maxScore: 4,\n },\n})\n\nconst propertyDetailsScore = (property: Property) => {\n return property.edit_state?.dirty ? 1 : 0\n}\n\nconst renovationsScore = (renovations: Renovation[]) => {\n return renovations.filter((x) => !!x.year).length > 0 ? 1 : 0\n}\n\nconst documentsScore = (property: Property) => {\n let totalDocuments = 0\n\n if (property.docs.hoa_ccrs) {\n totalDocuments += 1\n }\n if (property.docs.home_appraisal) {\n totalDocuments += 1\n }\n if (property.docs.home_inspection_report) {\n totalDocuments += 1\n }\n\n totalDocuments += property.attachments.length\n\n return totalDocuments > 0 ? 1 : 0\n}\n\nconst translateScore = (rawScore: number): Score => {\n if (rawScore < 1) return EMPTY_SCORE\n if (rawScore < 2) return BEGINNER_SCORE\n if (rawScore < 3) return INTERMEDIATE_SCORE\n if (rawScore < 4) return ADVANCED_SCORE\n return ALL_STAR_SCORE\n}\n\nexport const usePropertyCompleteness = (): {\n completeness: PropertyCompleteness\n} => {\n const { selectedProperty } = useProperties()\n const { renovations } = useRenovations()\n const [completeness, setCompleteness] = useRecoilState(propertyCompletenessState)\n\n useEffect(() => {\n if (!selectedProperty) return\n\n const steps: { [key: string]: number } = {}\n\n steps['propertyDetails'] = propertyDetailsScore(selectedProperty)\n steps['renovations'] = renovationsScore(renovations)\n steps['documents'] = documentsScore(selectedProperty)\n\n const rawScore = Object.values(steps).reduce((previous, current) => {\n return previous + current\n }, 0)\n\n const score = translateScore(rawScore)\n\n setCompleteness({\n steps,\n score,\n maxScore: 3,\n })\n }, [selectedProperty, renovations, setCompleteness])\n\n return { completeness }\n}\n","import cx from 'classnames'\nimport React, { FC } from 'react'\n\ninterface EditProps {\n className?: string\n}\n\nconst Edit: FC = ({ className }) => (\n \n \n \n \n)\n\nexport default Edit\n","// extracted by mini-css-extract-plugin\nexport default {\"wrapper\":\"H7zthZWavSWpkHGW339S\",\"barWrapper\":\"vkWKSJuMcuSYHuQxQMid\",\"chunk\":\"zPoZ7hrDgkZ3F6yO4pcH\",\"selected\":\"tz68Smybly6sfXpVerKu\",\"bubble\":\"Gwr6JvQp5YFTnx7L24Uf\"};","import classNames from 'classnames'\n\nimport React, { FC } from 'react'\n\nimport styles from './styles.module.scss'\nimport Sparkles2 from 'svgs/sparkles-two'\n\nexport interface CompletenessBarChartProps {\n score: number\n maxScore: number\n className?: string\n}\n\nconst range = (max: number) => {\n const r: number[] = []\n for (let i = 0; i < max; i++) {\n r.push(i)\n }\n return r\n}\n\nexport const CompletenessBarChart: FC = ({ score, maxScore, className }) => {\n return (\n
    \n
    \n \n
    \n
    \n {range(maxScore).map((i) => {\n return
    \n })}\n
    \n
    \n )\n}\n\nexport default CompletenessBarChart\n","import React, { FC, PropsWithChildren } from 'react'\n\nimport ScrollToTop from 'non-rendering/ScrollToTop'\n\nimport GlobalAlert from '../components/GlobalAlert'\nimport OverlayMount from '../components/OverlayMount'\nimport Navigation from '../components/Navigation'\nimport Footer from '../components/Footer'\n\nexport const FullBleedHero: FC = ({ children }) => {\n return (\n <>\n \n \n
    \n \n \n {children}\n
    \n \n
    \n \n )\n}\n\nexport default FullBleedHero\n","// extracted by mini-css-extract-plugin\nexport default {\"projectsTrack\":\"HErNAFcKMC_kQvfiaY9T\",\"projectsTrackHeaders\":\"P2m5b10JiHTR3aVFbcKD\",\"currentValue\":\"hMp05wqjA0rAHKkGPYK6\",\"potentialValue\":\"zxNzOz6M9r7tCcAgNrjh\",\"trackContainer\":\"EATSytNteSgaoDUve5ks\",\"track\":\"DvL48cLVYYKksOY7fKAl\",\"valueAndPotentialPips\":\"xrP0wp2qymuxgrmtf4a_\",\"projectPips\":\"Fo_Qq4nLsu5ntphOde5w\",\"pip\":\"oyG11HK1u0PP4q8QU6M6\",\"valuePip\":\"oWL1PUr5G1NdnaIwIwDc\",\"potentialPip\":\"tq7j0p2fKMopGfmlu4WL\",\"projects\":\"CXYolZr1arp1xE3jUfga\",\"project\":\"LxskYmzyq5nNkRcvWHoG\",\"projectValue\":\"S6S_5AxClBjcktLzQTf5\",\"potentialCta\":\"CAtP6Od0moHHafYPfyaQ\",\"icon\":\"VIoVDI6GZDATqaeergoy\",\"projectPotentialHeader\":\"YjUrjAW6rw_42Dflag2Q\"};","import React, { FC, PropsWithChildren, ReactNode, useMemo } from 'react'\nimport { Link } from 'react-router-dom'\nimport cx from 'classnames'\nimport { formatCurrency } from 'utils/formatting'\nimport SparklesThree from 'svgs/sparkles-three'\nimport ArrowCircleDown from 'svgs/arrow-circle-down'\nimport styles from './styles.module.scss'\n\nexport interface LinkAddress {\n to?: string\n href?: string\n}\n\ninterface InternalOrExternalLinkProps {\n linkAddress: LinkAddress\n onClick?: () => void\n className?: string\n}\n\nconst InternalOrExternalLink: FC> = ({\n linkAddress,\n children,\n className,\n onClick,\n}) => {\n return (\n <>\n {linkAddress.to ? (\n \n {children}\n \n ) : linkAddress.href ? (\n \n {children}\n \n ) : undefined}\n \n )\n}\n\ninterface LinkIfAvailableProps {\n linkAddress?: LinkAddress\n onClick?: () => void\n}\n\nconst LinkIfAvailable: FC> = ({ linkAddress, onClick, children }) => {\n if (!linkAddress) return <>{children}\n\n return (\n \n {children}\n \n )\n}\n\nconst AdditionalProjectsLabel: FC<{\n additionalProjectsLabel?: ReactNode\n}> = ({ additionalProjectsLabel }) => {\n return (\n
    \n {additionalProjectsLabel ?? (\n <>\n {'10+ more projects'}\n {' are included in your free account.'}\n \n )}\n
    \n )\n}\n\ninterface PropertyPotentialChartProps {\n className?: string\n currentValue: number\n currentValueLink?: LinkAddress\n potentialValue: number\n potentialValueLink?: LinkAddress\n additionalProjectsLabel?: ReactNode\n additionalProjectsLink?: LinkAddress\n projectSuggestions: {\n id: number\n name: string\n valueChange: number\n }[]\n getLinkForProject?: (id: number) => LinkAddress | undefined\n onProjectLinkClicked?: (location: string) => () => void\n}\n\nconst PropertyPotentialChart: FC = ({\n additionalProjectsLabel,\n projectSuggestions,\n className,\n currentValue: value,\n potentialValue: potential,\n getLinkForProject = () => undefined,\n additionalProjectsLink,\n currentValueLink,\n potentialValueLink,\n onProjectLinkClicked,\n}) => {\n const projectsToShow = useMemo(() => {\n return [projectSuggestions[0], projectSuggestions[projectSuggestions.length - 1]]\n }, [projectSuggestions])\n\n return (\n
    \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n \n
    \n \n
    \n\n
    \n {projectsToShow.map((projectSuggestion) => {\n return (\n \n \n
    \n \n \n )\n })}\n \n
    \n \n
    \n\n
    \n {projectsToShow.map((projectSuggestion) => {\n return (\n
    \n \n

    {`Adds ${formatCurrency(projectSuggestion.valueChange)}`}

    \n \n\n

    {projectSuggestion.name}

    \n
    \n )\n })}\n
    \n {additionalProjectsLink ? (\n
    \n \n
    \n \n
    \n \n
    \n
    \n \n
    \n ) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n \n
    {'Current Value'}
    \n
    {formatCurrency(value)}
    \n
    \n
    \n
    \n \n
    {'Potential Value'}
    \n
    {formatCurrency(potential)}
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default PropertyPotentialChart\n","import React, { FC, ReactNode, useCallback } from 'react'\nimport { usePropertyPotentialChartProjectSuggestions } from 'pages/Dashboard'\nimport { ProjectTemplateBase } from 'recoil/projectTemplates'\nimport { useProperties } from 'recoil/properties'\nimport PropertyPotentialChart from 'components/PropertyPotentialChart'\n\ninterface LoggedInPropertyPotentialChartProps {\n className?: string\n projects?: ProjectTemplateBase[]\n onProjectLinkClick?: (location: string) => () => void\n additionalProjectsLabel?: ReactNode\n}\n\nconst LoggedInPropertyPotentialChart: FC = ({\n className,\n projects,\n onProjectLinkClick,\n additionalProjectsLabel,\n}) => {\n const { selectedProperty: property } = useProperties()\n const untappedPotential = (property?.potential_value || 0) - (property?.estimated_value || 0)\n projects = projects || property?.top_projects || []\n const projectSuggestions = usePropertyPotentialChartProjectSuggestions(projects, untappedPotential)\n\n const getLinkForProject = useCallback((id: number) => {\n return { to: `property-plans?add-template=${id}` }\n }, [])\n\n if (!property) return null\n\n const estimatedValue = property.estimated_value\n const potentialValue = property.potential_value\n\n return (\n \n )\n}\n\nexport default LoggedInPropertyPotentialChart\n","// extracted by mini-css-extract-plugin\nexport default {\"alert\":\"EmtUj27BivJP6kQVu0nq\",\"icon\":\"P1Fver2WDo6bvyPIM5Zi\",\"content\":\"DM9ZJBNlLA1L9UsYOrYF\",\"close\":\"JOoLpI7PBp0xw62r4cO0\"};","import React, { FC, ReactNode } from 'react'\n\nimport Close from 'svgs/close'\nimport Info from 'svgs/info'\n\nimport styles from './styles.module.scss'\n\ninterface Props {\n children?: ReactNode\n}\n\nconst Alert: FC = ({ children }) => (\n
    \n
    \n \n
    \n
    {children}
    \n
    \n \n
    \n
    \n)\n\nexport default Alert\n","import React, { FC, useEffect, useRef, useState } from 'react'\nimport mapboxgl, { Map } from 'mapbox-gl'\nimport { multiPolygon } from '@turf/turf'\nimport { Property } from 'recoil/properties'\n\ninterface ParcelMapProps {\n property: Property\n}\n\nconst loadStyle = (url, id) => {\n return new Promise((resolve) => {\n if (document.getElementById(id)) {\n resolve()\n return\n }\n const link = document.createElement('link')\n link.rel = 'stylesheet'\n link.id = id\n link.onload = () => {\n resolve()\n }\n link.href = url\n\n const head = document.getElementsByTagName('head')[0]\n head.appendChild(link)\n })\n}\n\nconst addGeom = (id, map, coordinates: GeoJSON.Position[][][], paint) => {\n if (map.getSource(id)) return\n const poly = multiPolygon(coordinates)\n\n map.addSource(id, { type: 'geojson', data: poly })\n map.addLayer({\n id: id,\n type: 'fill',\n source: id,\n layout: {},\n paint,\n })\n AnimationEvent\n}\n\nconst addMarker = (id, map, lat, long) => {\n if (map.getSource(id)) return\n new mapboxgl.Marker({\n color: '#4a957a',\n })\n .setLngLat([long, lat])\n .addTo(map)\n}\n\nconst ParcelMap: FC = ({ property }) => {\n const [isStyleLoaded, setIsStyleLoaded] = useState(false)\n const mapRef = useRef(null)\n\n useEffect(() => {\n let didCancel = false\n const _ = async () => {\n await loadStyle('https://api.mapbox.com/mapbox-gl-js/v1.11.0/mapbox-gl.css', 'mapbox-gl.css')\n didCancel || setIsStyleLoaded(true)\n }\n _()\n return () => {\n didCancel = true\n }\n }, [])\n\n useEffect(() => {\n if (!isStyleLoaded) return\n\n const long = parseFloat(property.long) + 0.0015\n\n if (!mapRef.current) return\n mapboxgl.accessToken = document.body.dataset.mapboxglAccessToken || ''\n const map = new Map({\n container: mapRef.current,\n style: 'mapbox://styles/mapbox/satellite-v9',\n center: [long, Number(property.lat)],\n zoom: 17,\n interactive: false,\n attributionControl: false,\n })\n map.on('styledata', ({ target: map }) => {\n if (property.parcel_geometry_geom) {\n addGeom('parcel_geometry', map, property.parcel_geometry_geom.coordinates, {\n 'fill-color': 'rgba(255, 255, 255, 0.2)',\n })\n }\n if (property.primary_buildable_area_geom) {\n addGeom('primary_buildable_area', map, [property.primary_buildable_area_geom.coordinates], {\n 'fill-color': 'rgba(73, 164, 148, 0.6)',\n })\n }\n addMarker('marker', map, property.lat, property.long)\n })\n }, [isStyleLoaded, property])\n\n return
    \n}\n\nexport default ParcelMap\n","// extracted by mini-css-extract-plugin\nexport default {\"hero\":\"jPRV1pJLX7XGHawaNCIU\",\"map\":\"k7DKUxgNgX5SnXlWneAZ\"};","import React, { FC } from 'react'\n\nimport { Property } from 'recoil/properties'\n// import propertyPath from 'utils/propertyPath'\n\nimport PropertyMap from './ParcelMap'\n\nimport styles from './styles.module.scss'\n\nexport interface Props {\n property: Property\n}\n\nconst Hero: FC = ({ property }) => {\n return (\n
    \n
    \n \n
    \n
    \n )\n}\n\nexport default Hero\n","// extracted by mini-css-extract-plugin\nexport default {\"arrowLink\":\"aDLsyLWMvcwGrfXoak0F\",\"arrow\":\"x2G4YSRXW4h9B0VbSJPz\",\"content\":\"HLMyjz15XX99S43w5wAK\"};","import React, { ButtonHTMLAttributes, FC } from 'react'\nimport { Link } from 'react-router-dom'\nimport type { LinkProps } from 'react-router-dom'\nimport cx from 'classnames'\n\nimport ArrowForward from 'svgs/arrow-circle-down'\n\nimport styles from './ArrowLink.module.scss'\n\ninterface ArrowLinkProps extends Partial {\n className?: string\n}\n\nconst ArrowLink: FC = ({ className, children, href, ...otherProps }) => {\n if (href) {\n return (\n \n \n
    {children}
    \n
    \n )\n }\n\n if (otherProps.to) {\n return (\n \n \n
    {children}
    \n \n )\n }\n\n return (\n )}\n >\n \n
    {children}
    \n \n )\n}\n\nexport default ArrowLink\n","// extracted by mini-css-extract-plugin\nexport default {\"propertyPlan\":\"HeVRrkOgJxWy6KbvRcAs\",\"intro\":\"qq9k8CIgmvZQKYkp68as\",\"value\":\"eul2mkNckUGkXjYIzsFF\",\"livability\":\"Anm2rqwNtlcu2u0rVLc3\",\"revenue\":\"uryIGarBYyytbOxb10l6\",\"cost\":\"QBaLGDBsvD0GcGM2VvR3\",\"projects\":\"KNQfjZL3EP072ASqIRGp\",\"next\":\"LzVzFW2ok6Xa9_rpP_bs\",\"previous\":\"uvoYDFHL1B9PYOFNjmw7\",\"icon\":\"TGPSjO4hKyRlhjB6paDB\",\"noResults\":\"RUjgOik5MCfYuSiK7Jwu\",\"ideas\":\"uX0s3PcKoKnNBaZXUuGT\",\"project\":\"tsdfWZbGCihbaXPr_rAL\",\"primary\":\"uc01iWRLxjk1rvnpS2LA\",\"details\":\"ZvpqWrSwxi2EPU3XmuVE\",\"title\":\"kz50QVQ294mKGY_gByKY\",\"costLabel\":\"n9PKGGKfNQLvKyhKu2kF\",\"actions\":\"s1pmSdTEEBSb4qRZVz8H\",\"add\":\"cStUgPKA05UawV6gR0G6\",\"plus\":\"n2pDovCRBQFOEGjaxMIA\",\"done\":\"gGGdY_tjayIglegqFDMU\",\"check\":\"Tm4GMkHYEEi3oseBEWCA\",\"active\":\"PG3m_SmUhly2qb5GNNLm\",\"action\":\"xk6tUMvuJ5GYUENNdshu\",\"ideaList\":\"sHHl_dj9qRfe5OV3nDBw\",\"cta\":\"Q9EiveJ0A18lTvBhoPmz\",\"heading\":\"J9RKXIftmtOOJeKEyzc4\",\"controls\":\"URHIhV2_jmk0XDIPv1iE\",\"filters\":\"cLEAI5sx52jMn7SRfKmz\"};","import cx from 'classnames'\nimport React, { FC } from 'react'\n\ninterface PlusCircleProps {\n className?: string\n}\n\nconst PlusCircle: FC = ({ className }) => (\n \n \n \n)\n\nexport default PlusCircle\n","import React, { FC, useCallback } from 'react'\nimport classNames from 'classnames'\n\nimport styles from './styles.module.scss'\nimport PlusCircle from 'svgs/plus-circle'\nimport { ProjectTemplate } from 'recoil/projectTemplates'\nimport { TopProject } from 'recoil/properties'\nimport { formatCurrency } from 'utils/formatting'\nimport ExternalSvg from 'components/ExternalSvg'\nimport FallbackIcon from 'svgs/property-plan/fallback'\n\ninterface ProjectCardProps {\n template?: ProjectTemplate\n topProject: TopProject\n addedToPlan: boolean\n addToPlan: () => void\n primary: boolean\n}\n\nfunction formatCost(minCost: number, maxCost: number): string {\n // Fuzzy each cost to the same precision\n let precision = 3 // default to 1000\n if (minCost < 10 || maxCost < 10) precision = 0\n else if (minCost < 100 || maxCost < 100) precision = 1\n else if (minCost < 1000 || maxCost < 1000) precision = 2\n\n const mul = Math.pow(10, precision)\n const fMinCost = Math.round(minCost / mul) * mul\n const fMaxCost = Math.round(maxCost / mul) * mul\n\n // If they're the same, don't return a range.\n if (fMinCost == fMaxCost) return formatCurrency(fMinCost)\n\n return `${formatCurrency(fMinCost)} - ${formatCurrency(fMaxCost)}`\n}\n\nconst ProjectCard: FC = ({\n topProject,\n template,\n addedToPlan,\n addToPlan,\n primary,\n}: ProjectCardProps) => {\n const handleClickAddToPlan = useCallback(() => {\n if (!template) return\n if (addedToPlan) return\n\n addToPlan()\n }, [addToPlan, addedToPlan, template])\n\n if (!template) return null\n\n const title = template.name\n const image = template.icon_svg\n const minCost = topProject.cost_estimate_low\n const maxCost = topProject.cost_estimate_high\n\n return (\n
  • \n
    \n \n \n \n
    \n
    \n
    {title}
    \n
    {formatCost(minCost, maxCost)}
    \n
    {'Cost Estimate'}
    \n
    \n
    \n \n
    \n
  • \n )\n}\n\nexport default ProjectCard\n","// extracted by mini-css-extract-plugin\nexport default {\"page\":\"faewhM58eDcVFqUsIs7W\",\"content\":\"pFoTLigNVWjvvnQXDKc5\",\"card\":\"RnECOWGizb27r_CXproJ\",\"loggedInPropertyPotentialChart\":\"f11RBn1CFRbs6DPUSk_r\",\"cardTitle\":\"IaucHm0J644bpOoiW5VQ\",\"comingSoon\":\"UD3J_5Fp1q_fV7sUep4o\",\"noPadding\":\"DgwZz5D7famkdqHiT0Uc\",\"editLink\":\"VKtTCDp1Wf4iRD0je0xv\",\"hero\":\"jKtaWEuucgFV8fpatDaC\",\"details\":\"PbxB4jxOgxwoQQnBblr9\",\"helpBox\":\"A_TCvrsB0FzyvS9y7nQ6\",\"potential\":\"zSbBH_XJyrx98q7bZNZo\",\"projects\":\"Puf1tDXs9wF3CDI2rsdf\",\"contractorsAndEdit\":\"dwHEEIN3kt6N7186KPn6\",\"editProperty\":\"PWPr5CZhvHgvLR2YcuF8\",\"untappedPotential\":\"dcWCy9NbSahTjAH6Okxb\",\"title\":\"oYIKWvtN8WKlp5KeN6Gq\",\"propertyPlanButtonContainer\":\"L3wFs3m773oyCiK94LOx\",\"barChartCard\":\"QHhjwnYkXul8f5xrj_1m\",\"barChartCardTitle\":\"OcWafGcfFMgYExF0iIol\",\"alertTitle\":\"d9zpxibPsnGDcWfM3Rqg\",\"alertContent\":\"eEWdfz0T9D3abLQ1qVvA\",\"suffix\":\"QF4nb0WgCwUCEbenhYur\",\"advisorCta\":\"sjIwLMVJgNXEUCCa9Ek8\"};","import React, { FC, useCallback, useMemo, useState } from 'react'\nimport classNames from 'classnames'\nimport { Link } from 'react-router-dom'\n\nimport { Property, TopProject } from 'recoil/properties'\nimport { useBaseProjectTemplates } from 'recoil/baseProjectTemplates'\n\nimport { track } from 'utils/analytics'\n\nimport ArrowLink from 'components/ArrowLink'\nimport Tooltip from 'components/Tooltip'\n\nimport ArrowForward from '@mui/icons-material/ArrowForward'\nimport { useProjects } from 'recoil/projects'\nimport ProjectCard from 'pages/Dashboard/PropertyPlan/ProjectCard'\nimport { useRecoilValue } from 'recoil'\nimport { userState } from 'recoil/user'\n\nimport styles from './styles.module.scss'\nimport sharedStyles from '../styles.module.scss'\n\ninterface PropertyPlanProps {\n className?: string\n property: Property\n}\n\ntype PropertyPlanFilter = 'you-need-to-do' | 'in-your-plan'\n\nconst PropertyPlan: FC = ({ className, property }) => {\n const { projectTemplates } = useBaseProjectTemplates(property)\n const { projects, addProject } = useProjects()\n\n const user = useRecoilValue(userState)\n\n const [index, setIndex] = useState(0)\n const [filter, setFilter] = useState('you-need-to-do')\n\n const topProjects = property.top_projects\n\n const getTemplateForTopProject = useCallback(\n (topProject: TopProject) => {\n return projectTemplates.find((t) => t.id == topProject?.id)\n },\n [projectTemplates]\n )\n\n const getTopProjectAddedToPlan = useCallback(\n (topProject: TopProject) => {\n const template = getTemplateForTopProject(topProject)\n if (!template) return false\n\n return projects.some((p) => p.project_template_id == template.id)\n },\n [projects, getTemplateForTopProject]\n )\n\n const filteredProjects = useMemo(() => {\n switch (filter) {\n case 'you-need-to-do':\n return topProjects\n case 'in-your-plan':\n return topProjects.filter((project) => getTopProjectAddedToPlan(project))\n }\n }, [filter, topProjects, getTopProjectAddedToPlan])\n\n const activeProjects = useMemo(() => {\n if (!filteredProjects) return []\n\n let normalizedIndex = index % filteredProjects.length\n normalizedIndex = normalizedIndex < 0 ? filteredProjects.length + normalizedIndex : normalizedIndex\n\n const partOne = filteredProjects.slice(normalizedIndex, normalizedIndex + 4)\n\n if (partOne.length == filteredProjects.length) return partOne\n\n const partTwo = filteredProjects.slice(0, Math.min(filteredProjects.length, 4) - partOne.length)\n\n return [...partOne, ...partTwo]\n }, [index, filteredProjects])\n\n const handleCtaClick = useCallback(\n (location: string) => () => {\n track('click cta', { cta: 'property-plan', module: 'property-plan', location: location })\n },\n []\n )\n\n const handleClickNext = useCallback(() => {\n setIndex(index + 1)\n }, [index])\n\n const handleClickPrevious = useCallback(() => {\n setIndex(index - 1)\n }, [index])\n\n const handleClickFilter = useCallback(\n (val: PropertyPlanFilter) => {\n return () => {\n setFilter(val)\n setIndex(0)\n }\n },\n [setFilter]\n )\n\n const handleClickAddProjectToPlan = useCallback(\n (topProject: TopProject) => {\n return () => {\n const template = getTemplateForTopProject(topProject)\n if (!template) return\n if (!user) return\n\n track(\n 'submit form',\n {\n section: 'dashboard',\n form: 'property-plan',\n action: 'create',\n template: {\n id: template.id,\n kind: template.kind,\n },\n },\n {\n id: 24231,\n args: {\n orderId: `project-${user.id}`,\n customerId: user.id,\n },\n }\n )\n addProject({ project_template_id: template.id })\n }\n },\n [getTemplateForTopProject, addProject, user]\n )\n\n return (\n <>\n
    \n
    \n

    {'Projects for you'}

    \n

    \n {'Add projects to see their cost and impact on home value, all in your '}\n \n {'Project Planner'}\n \n {'.'}\n

    \n
    \n
    \n
    \n {'Sort by:'}\n \n {'Projects you need to do'}\n \n {'/'}\n \n {'Projects from your Project Planner'}\n \n
    \n \n {\n 'We calculate impact to value based on nearby comparable properties and cost estimates based on local labor & material pricing. See a project you’ve already done? '\n }\n \n {'Update your recent projects here'}\n {' '}\n {'for better recommendations.'}\n \n }\n />\n
    \n
    \n
    \n
    \n {activeProjects.length > 0 ? (\n <>\n \n
      \n {activeProjects.map((project, i) => (\n \n ))}\n
    \n \n \n ) : (\n
    {'No results match your filter'}
    \n )}\n
    \n
    \n \n {'Explore projects'}\n \n
    \n
    \n \n )\n}\n\nexport default PropertyPlan\n","// extracted by mini-css-extract-plugin\nexport default {\"button\":\"XtsnXtSIRs7PUbTAv5Ep\",\"editButton\":\"JI_xCx0ddpMJ6o9yLeeI\",\"confirmButton\":\"IAOIvnYvZKJH1YgwGA1X\"};","// extracted by mini-css-extract-plugin\nexport default {\"label\":\"BF6RjhgoPOnhttYVkyHS\",\"editing\":\"ZTvDRcjWq90U0wGswNic\",\"controls\":\"ot7cBdy4cjhoIw_4rWHc\",\"input\":\"Z_rGKPbBPVgBJYuVxSfh\",\"bigValue\":\"tGhG3bGAe6VFT6TqV6sJ\",\"defaultValue\":\"PBgz2eEjjacWG9_J1nC_\",\"decorator\":\"NshcNfNx7Bh5UF5BG4Vq\"};","import React, { FC, ReactNode, useMemo } from 'react'\nimport cx from 'classnames'\nimport Input, { InputProps } from './Input'\nimport styles from './InputWithEditMode.module.scss'\nimport { formatMoneyNoDecimals } from 'utils/formatting'\n\nexport interface InputWithEditModeProps extends InputProps {\n editing: boolean\n label?: string\n displayAsMoney?: boolean\n decorator?: string\n button?: ReactNode\n}\n\nexport { styles }\n\nconst InputWithEditMode: FC = ({\n editing,\n displayAsMoney,\n className,\n label,\n decorator,\n tooltip,\n button,\n ...inputProps\n}) => {\n const showLabel = editing || inputProps.tag !== 'textarea'\n\n const value = useMemo(() => {\n const defaultValue = inputProps.tag !== 'textarea' ? 'Unknown' : ''\n\n const rawValue = inputProps.value || defaultValue\n\n return displayAsMoney && inputProps.value ? formatMoneyNoDecimals(rawValue) : rawValue\n }, [displayAsMoney, inputProps])\n\n return (\n
    \n {showLabel && }\n {tooltip}\n
    \n {editing ? (\n \n ) : (\n
    \n {value} {decorator}\n
    \n )}\n {button}\n
    \n
    \n )\n}\n\nexport default InputWithEditMode\n","import React, { FC, useCallback, useState } from 'react'\nimport { InputProps } from './Input'\nimport styles from './InputWithEditButton.module.scss'\nimport InputWithEditMode from 'components/InputWithEditMode'\nimport Edit from 'svgs/edit'\nimport FancyButton from 'components/FancyButton'\nimport Spinner from 'components/Spinner'\n\nexport interface InputWithEditButtonProps extends InputProps {\n onConfirm: () => Promise\n decorator?: string\n}\n\nconst InputWithEditButton: FC = ({ onConfirm, ...inputProps }) => {\n const [editing, setEditing] = useState(false)\n const [loading, setLoading] = useState(false)\n\n const handleClickEdit = useCallback(() => {\n setEditing((editing) => !editing)\n }, [])\n\n const handleClickConfirm = useCallback(async () => {\n setLoading(true)\n try {\n await onConfirm()\n setEditing(false)\n } catch (e) {\n setEditing(true)\n } finally {\n setLoading(false)\n }\n }, [onConfirm, setEditing, setLoading])\n\n return (\n \n {editing ? (\n \n {loading ? : 'Confirm'}\n \n ) : (\n \n )}\n \n }\n {...inputProps}\n />\n )\n}\n\nexport default InputWithEditButton\n","import React, { FC } from 'react'\n\ninterface UploadProps {\n className?: string\n}\n\nconst Upload: FC = ({ className }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n)\n\nexport default Upload\n","// extracted by mini-css-extract-plugin\nexport default {\"removePhotos\":\"PJchQK2YqBdNoDAih6vV\",\"addPhotos\":\"rAs7OMgUJZ5C3QPxv2LT\"};","import React, { ChangeEvent, FC, PropsWithChildren, useCallback } from 'react'\nimport cx from 'classnames'\nimport Upload from 'svgs/upload'\nimport styles from './CarouselPhoto.module.scss'\nimport Spinner from 'components/Spinner'\n\ninterface CarouselPhotoProps {\n photoId?: number\n onAddPhoto: (e: ChangeEvent) => void\n onRemovePhoto?: (id: number) => void\n isLoading: boolean\n}\n\nconst CarouselPhoto: FC> = ({\n children,\n isLoading,\n onAddPhoto,\n onRemovePhoto,\n photoId,\n}) => {\n const handleRemove = useCallback(() => {\n if (onRemovePhoto && photoId) onRemovePhoto(photoId)\n }, [onRemovePhoto, photoId])\n\n return (\n
    \n {children}\n
    \n {isLoading && (\n
    \n \n
    \n )}\n {onRemovePhoto && photoId && (\n \n {'Remove'}\n \n )}\n
    \n \n
    {'Add Photos'}
    \n \n
    \n
    \n
    \n )\n}\n\nexport default CarouselPhoto\n","// extracted by mini-css-extract-plugin\nexport default {\"slideDimensions\":\"AUJxbOos1zZxjR2Zi_Lx\",\"bigUploadPrompt\":\"MVlkqMvPv6t6y5RpSHJR\",\"upload\":\"dsuWybTGKE2xwEcI_CEg\",\"content\":\"KVNnxMPEdtoBkFUtqaTR\",\"icon\":\"b03BeLI9sNIvliM4mgYh\"};","import Carousel from 'react-slick'\nimport cx from 'classnames'\nimport React, { ChangeEvent, FC, useCallback, useRef, useState } from 'react'\nimport { Property, useProperties } from 'recoil/properties'\nimport { track } from 'utils/analytics'\nimport { PropertyAvatar } from 'components/PropertyAvatar'\nimport CarouselPhoto from './CarouselPhoto'\nimport BlankPhoto from 'svgs/blank-photo'\n\nimport styles from './Photos.module.scss'\n\ninterface PhotosProps {\n property: Property\n}\n\nconst Photos: FC = ({ property }) => {\n const { attachDocToSelectedProperty, deleteDocFromSelectedProperty } = useProperties()\n\n const carousel = useRef(null)\n\n const [isLoading, setIsLoading] = useState(false)\n\n const navToNext = useCallback(() => {\n carousel.current?.next()\n }, [])\n\n const handleAddPhoto = useCallback(\n async (e: ChangeEvent) => {\n if (!e.target.files) return\n const file = e.target.files[0]\n if (!file) return\n\n try {\n setIsLoading(true)\n await track('add photo', { propertyId: property.id })\n await attachDocToSelectedProperty('photos', file)\n setIsLoading(false)\n navToNext()\n } catch (e) {\n setIsLoading(false)\n }\n },\n [attachDocToSelectedProperty, navToNext, property.id]\n )\n\n const handleRemovePhoto = useCallback(\n async (photoId: number) => {\n try {\n setIsLoading(true)\n await track('remove photo', { propertyId: property.id })\n await deleteDocFromSelectedProperty('photos', photoId)\n setIsLoading(false)\n } catch (e) {\n setIsLoading(false)\n }\n },\n [deleteDocFromSelectedProperty, property.id]\n )\n\n return (\n \n {(property.photos || []).map((photo) => (\n \n \n \n ))}\n \n \n
    \n \n
    {'Upload photos of your property'}
    \n
    \n \n \n }\n />\n
    \n
    \n )\n}\n\nexport default Photos\n","import { atom } from 'recoil'\n\nimport { Status } from 'utils/status'\n\nexport const editStatusState = atom({\n key: 'Status',\n default: null,\n})\n","import Bath from 'svgs/bath'\nimport Bed from 'svgs/bed'\nimport { numberWithCommas, titleCase } from 'utils/formatting'\nimport InputWithEditButton from 'components/InputWithEditButton'\nimport Photos from 'pages/Dashboard/PropertyDetails/Photos'\nimport React, { FC, useCallback, useState } from 'react'\nimport { track } from 'utils/analytics'\nimport { editStatusState } from 'recoil/editStatus'\nimport { useProperties } from 'recoil/properties'\nimport { useSetRecoilState } from 'recoil'\n\ninterface FormErrors {\n [key: string]: string[]\n}\n\nconst PropertyDetails: FC = () => {\n const { selectedProperty: property, updateSelectedProperty: updateProperty } = useProperties()\n const setStatus = useSetRecoilState(editStatusState)\n\n const [name, setName] = useState(property?.name || '')\n const [errors, setErrors] = useState({})\n const [interacted, setInteracted] = useState(false)\n\n const updatePropertyName = useCallback(async () => {\n try {\n await track('submit form', {\n section: 'edit',\n form: 'property-details',\n location: 'dashboard',\n interacted,\n edited: property?.name != name,\n property: {\n name: name,\n },\n })\n await updateProperty({ name })\n setErrors({})\n setStatus({ type: 'success', text: 'Saved your property name' })\n } catch (e) {\n setErrors(e.body || {})\n setStatus({ type: 'error', text: 'Something went wrong, please try again' })\n // we want to rethrow here so this is caught by the Input\n throw e\n }\n }, [name, setStatus, updateProperty, property?.name, interacted])\n\n const handleChangeName = useCallback((value: string) => {\n setInteracted(true)\n setName(value)\n }, [])\n\n if (!property) return null\n\n return (\n
    \n \n\n
    \n \n\n
    {`${property.delivery_line_1}, ${titleCase(property.city)}, ${\n property.state\n }, ${property.zip5}`}
    \n\n
    \n
    \n
    {property.bedrooms || '?'}
    \n \n
    \n
    \n
    {property.total_bathrooms || '?'}
    \n \n
    \n
    {`${\n property.square_footage ? numberWithCommas(property.square_footage) : '?'\n } sqft`}
    \n
    \n
    \n
    \n )\n}\n\nexport default PropertyDetails\n","// extracted by mini-css-extract-plugin\nexport default {\"contractors\":\"UOdf1gu4_Tl8PKnxlgog\",\"list\":\"qBodoGFBNL2CVkfxnTlJ\",\"noData\":\"Qs0HUPueSydjEhoMKXGr\",\"redacted\":\"sTDuZjNAAO_oR76cHeZB\",\"name\":\"ByuxvXVhjhsQe8qtHgO1\",\"comingSoon\":\"Kw996lsV3C6VyvR4YB2t\",\"contactCta\":\"Uh10JCNjxle5JEzVBwK4\"};","import React, { FC, Fragment, useCallback, useMemo } from 'react'\nimport { Contractor, useProperties } from 'recoil/properties'\n\nimport styles from './styles.module.scss'\nimport sharedStyles from '../styles.module.scss'\nimport cx from 'classnames'\nimport { track } from 'utils/analytics'\nimport ArrowLink from 'components/ArrowLink'\nimport Card from 'components/Card'\n\nconst getSpecialities = (contractor: Contractor): string => {\n if (contractor.project_1 && contractor.project_2) {\n return `Specializes in ${contractor.project_1} and ${contractor.project_2} projects`\n } else if (contractor.project_1) {\n return `Specializes in ${contractor.project_1} projects`\n }\n return ''\n}\n\nconst Contractors: FC = () => {\n const { selectedProperty } = useProperties()\n\n const handleContactClick = useCallback(() => {\n track('click cta', { cta: 'contact', module: 'contractors' })\n }, [])\n\n const hasData = useMemo(() => {\n return selectedProperty?.contractors && selectedProperty.contractors.length > 0\n }, [selectedProperty?.contractors])\n\n const contractors = useMemo(() => {\n if (!selectedProperty) return []\n if (!hasData) return []\n\n return selectedProperty.contractors.slice(0, 3)\n }, [hasData, selectedProperty])\n\n if (!selectedProperty) return null\n\n if (!hasData) return null\n\n return (\n \n
    \n

    {\"Your neighbors' top contractors\"}

    \n

    \n {`Top Contractors in ${selectedProperty.zip5}`}\n {selectedProperty.marketplace && ' are available on request '}\n

    \n
    \n {selectedProperty.marketplace ? (\n <>\n \n {'Schedule a meeting to learn about contractors in your area'}\n \n \n ) : (\n
    \n
    \n {contractors &&\n contractors.map((contractor, i) => {\n const name = contractor.contractor || ''\n const projects = `${contractor.count} recent projects nearby`\n const specialities = getSpecialities(contractor as Contractor) || ''\n\n return (\n \n
    {name}
    \n
    {projects}
    \n
    {specialities}
    \n
    \n )\n })}\n
    \n
    \n )}\n
    \n )\n}\n\nexport default Contractors\n","// extracted by mini-css-extract-plugin\nexport default {\"alerts\":\"wDvLkgUQGfx6LOySzNIL\",\"expandButton\":\"N3C8XHWWY8ROJUhiEAhd\",\"expandedActivity\":\"SdBedfWMc0KGVSW6RX1Y\"};","import Alert from './Alert'\nimport cx from 'classnames'\nimport React, { FC, useCallback, useEffect, useMemo, useRef, useState } from 'react'\nimport { useProperties, Alert as IAlert } from 'recoil/properties'\nimport ArrowCircleDown from 'svgs/arrow-circle-down'\nimport { markAccessActivityFeed } from 'recoil/user'\n\nimport styles from './styles.module.scss'\n\nconst UNEXPANDED_ALERTS_COUNT = 3\n\nconst Activity: FC = () => {\n const { selectedProperty } = useProperties()\n const [expanded, setExpanded] = useState(false)\n\n const ref = useRef(null)\n\n const handleShown = useCallback(async () => {\n if (!selectedProperty) return\n await markAccessActivityFeed(selectedProperty.id)\n }, [selectedProperty])\n\n useEffect(() => {\n if ('IntersectionObserver' in window) {\n const observer = new IntersectionObserver((entries) => {\n if (entries.find((e) => e.isIntersecting)) {\n handleShown()\n observer?.disconnect()\n }\n })\n if (ref.current) observer.observe(ref.current)\n\n return () => observer?.disconnect()\n } else {\n handleShown()\n }\n }, [handleShown])\n\n const handleClickExpandContract = useCallback(() => {\n setExpanded(!expanded)\n }, [expanded])\n\n const alerts: IAlert[] = useMemo(() => {\n if (!selectedProperty) return []\n\n const allAlerts = selectedProperty.activity\n return expanded ? allAlerts : (allAlerts.slice(0, UNEXPANDED_ALERTS_COUNT) as IAlert[])\n }, [expanded, selectedProperty])\n\n if (!selectedProperty) return null\n\n return (\n
    \n

    {'Recent Activity'}

    \n {alerts.length === 0 ? (\n

    {'No alerts yet. Stay tuned!'}

    \n ) : (\n
    \n {alerts.map((alert) => (\n \n ))}\n
    \n )}\n {selectedProperty.activity.length > UNEXPANDED_ALERTS_COUNT && (\n \n )}\n
    \n )\n}\n\nexport default Activity\n","// TODO: To eliminate the 'Inner' control, we can move the\n// 'property' recoil reference into each of the subsections\n// that it is being passed to.\n\n// Third party dependencies\nimport React, { FC, PropsWithChildren, useCallback } from 'react'\nimport { Link } from 'react-router-dom'\nimport cx from 'classnames'\n\n// Recoil state\nimport { useProperties } from 'recoil/properties'\nimport { ProjectTemplateBase } from 'recoil/projectTemplates'\nimport { displayAddress } from 'utils/property'\nimport { formatCurrency } from 'utils/formatting'\nimport { usePropertyCompleteness } from 'recoil/propertyCompleteness'\n\n// General utils\nimport { track } from 'utils/analytics'\n\n// Images\nimport Edit from 'svgs/edit'\nimport SparklesTwo from 'svgs/sparkles-two'\n\n// Components\nimport BarChart from './BarChart'\nimport FullBleed from 'layouts/FullBleed'\nimport Secure from 'layouts/Secure'\nimport HasProperty from 'layouts/HasProperty'\n\nimport Card from 'components/Card'\nimport PageTitle from 'components/PageTitle'\nimport Tooltip from 'components/Tooltip'\nimport IntercomCta from 'components/IntercomCta'\nimport LoggedInPropertyPotentialChart from 'components/LoggedInPropertyPotentialChart'\nimport Alert from './Alert'\nimport Hero from './Hero'\nimport PropertyPlan from './PropertyPlan'\nimport PropertyDetails from 'pages/Dashboard/PropertyDetails'\nimport Contractors from 'pages/Dashboard/Contractors'\nimport Activity from 'pages/Dashboard/Activity'\n\n// Styles\nimport styles from './styles.module.scss'\n\nconst Inner: FC = () => {\n const { selectedProperty: property } = useProperties()\n\n const { completeness } = usePropertyCompleteness()\n\n const handleImproveClick = useCallback(() => {\n track('click cta', { cta: 'edit', module: 'property-details' })\n }, [])\n\n const handleClickEdit = useCallback(() => {\n track('click cta', { cta: 'edit', module: 'edit-prompt' })\n }, [])\n\n if (!property) return null\n\n return (\n
    \n \n
    \n \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    {completeness.score.level}
    \n
    {'Home Profile Strength'}
    \n
    \n
    \n \n \n
    {'Edit to improve'}
    \n \n
    \n
    \n \n
    \n \n
    \n
    \n {property.marketplace && (\n
    \n {\"We're here to help!\"}\n \n {'Chat with a Realm Advisor'}\n \n
    \n )}\n
    \n \n
    \n
    \n \n \n \n
    \n
    \n \n \n
    {'Are we missing something?'}
    \n
    \n \n {'Edit your property'}\n \n {' and add more home details to get more accurate recommendations'}\n
    \n
    \n
    \n
    \n
    \n )\n}\n\ninterface ProjectSuggestion {\n id: number\n name: string\n valueChange: number\n}\n\nfunction limitProjectsByMaxValue(projects: Array, maxValue: number): Array {\n let total = 0\n return projects.reduce((prev, project) => {\n if (total + project.valueChange <= maxValue) {\n total += project.valueChange\n return prev.concat(project)\n }\n return prev\n }, [] as Array)\n}\n\nexport const usePropertyPotentialChartProjectSuggestions = (\n projects: ProjectTemplateBase[],\n maxValue: number\n): Array => {\n const projectSuggestions = projects\n .filter((project) => project != null && project.additional_home_value > 0)\n .map((project) => ({\n id: project?.id || 0,\n name: project?.name || '',\n valueChange: project?.additional_home_value || 0,\n }))\n .sort((project) => -project.valueChange)\n\n // Limit suggestions to only those that add up to under max_value\n if (maxValue) {\n return limitProjectsByMaxValue(projectSuggestions, maxValue)\n }\n\n return projectSuggestions\n}\n\nconst PotentialValueCard: FC = () => {\n const { selectedProperty: property } = useProperties()\n const untappedPotential = (property?.potential_value || 0) - (property?.estimated_value || 0)\n const projectSuggestions = usePropertyPotentialChartProjectSuggestions(\n property?.top_projects || [],\n untappedPotential\n )\n\n const handleLinkToPlan = useCallback(\n (location: string) => () => {\n track('click cta', { cta: 'property-plan', module: 'property-value-current-and-potential', location })\n },\n []\n )\n\n if (!property) return null\n if (projectSuggestions.length < 2) return null\n\n return (\n \n \n

    \n {'Property Value Current & Potential'}\n \n

    \n

    \n {'You have '}\n {formatCurrency(untappedPotential)}\n {' total untapped potential!'}\n

    \n \n
    \n )\n}\n\nexport const LabelWithSuffix: FC> = ({ children, suffix }) => (\n \n {children}\n {suffix}\n \n)\n\nconst Dashboard: FC = () => {\n return (\n \n \n \n \n \n \n \n )\n}\n\nexport default Dashboard\n","import React, { FC, PropsWithChildren } from 'react'\n\nimport ScrollToTop from 'non-rendering/ScrollToTop'\n\nimport GlobalAlert from '../components/GlobalAlert'\nimport OverlayMount from '../components/OverlayMount'\nimport Navigation from '../components/Navigation'\nimport Footer from '../components/Footer'\n\ninterface Props {\n propertyAgnostic?: boolean\n}\n\nexport const Default: FC> = ({ propertyAgnostic, children }) => {\n return (\n <>\n \n \n
    \n \n \n
    {children}
    \n
    \n \n
    \n \n )\n}\n\nexport default Default\n","import React, { FC } from 'react'\nimport { Redirect } from 'react-router-dom'\n\nimport { usePropertyPlanLoader } from 'recoil/propertyPlans'\n\ninterface Props {\n children?: React.ReactNode\n}\n\nconst HasPropertyPlan: FC = ({ children }) => {\n const { redirect } = usePropertyPlanLoader()\n\n if (redirect) {\n // Follow any redirects first\n return \n }\n\n return <>{children}\n}\n\nexport default HasPropertyPlan\n","import React, { FC, useCallback } from 'react'\n\nimport { track } from 'utils/analytics'\n\nimport HandleUrlQuery from 'non-rendering/HandleURLQuery'\n\nimport { useProjectTemplates } from 'recoil/projectTemplates'\nimport { useProjects } from 'recoil/projects'\nimport { useRecoilValue } from 'recoil'\nimport { userState } from 'recoil/user'\n\nconst ADD_TEMPLATE_SEARCH_PARAM = 'add-template'\n\nconst HandleAddProjectsQuery: FC = () => {\n const { addProject } = useProjects()\n const { projectTemplates } = useProjectTemplates()\n\n const user = useRecoilValue(userState)\n\n const handleQuery = useCallback(\n async (key, value) => {\n if (!user) return\n // Find out if it is a template or a strategy\n if (key == ADD_TEMPLATE_SEARCH_PARAM) {\n // Make it easy on ourselves for now and do this serialized\n for (const templateId of value) {\n // Only attempt to add the project template if we know\n // about it locally.\n const template = projectTemplates.find((t) => t.id == templateId)\n if (template) {\n track(\n 'submit form',\n {\n section: 'property-plan',\n form: 'url-query-string',\n action: 'create',\n template: {\n id: template.id,\n kind: template.kind,\n },\n },\n {\n id: 24231,\n args: {\n orderId: `project-${user.id}`,\n customerId: user.id,\n },\n }\n )\n await addProject({ project_template_id: template.id })\n } else {\n console.error(`Failed to add unknown Project Template '${templateId}' as project!`)\n }\n }\n }\n },\n [addProject, projectTemplates, user]\n )\n\n return \n}\n\nexport default HandleAddProjectsQuery\n","// extracted by mini-css-extract-plugin\nexport default {\"overview\":\"_iAo2uWqT6CpARMoPGER\",\"desktop\":\"b3NMj6cwBd06iNkF9dSP\",\"card\":\"lPIrPdugu_raqGGcL7pi\",\"info\":\"c0Mmvctlco98klY_mrgr\",\"avatar\":\"M2wYIWnuLOPMF9QD0TLV\",\"address\":\"yvsuDgrneVuM0UhM4BHK\",\"cityStateZip\":\"DOFtSrN247jKugPZOhe_\",\"line\":\"knDtJTvi_QXSZkdVWDAZ\",\"labels\":\"P6J738gi7gsHkezrpB5A\",\"label\":\"EX5lUw0CSZ6HFYsVyeFT\",\"old\":\"OJDWTJfpSvviTEVShJoR\",\"values\":\"y3v58IDYWgBI6pKEGzAf\",\"current\":\"iRDssWaVNzubA9B6NHMY\",\"new\":\"H3rJ4LweW0gtjhOxKxtx\",\"score\":\"B_qToMhQb813mRlgsBBV\",\"scoreLine\":\"WGZJ5FLMsflFeiBVvwTG\",\"stats\":\"CLHYxsmNuF8gO5SSGocp\",\"totals\":\"qqG6pGYAOrWGhsrwxbrF\",\"advisorCta\":\"KSACmHjz9oUivx6MyISg\",\"noFooter\":\"GW6oMagBwIIsalIZsSe6\",\"mobile\":\"dpB0oeNY43B9oW3KN6oD\"};","import React, { FC, useCallback } from 'react'\nimport classNames from 'classnames'\n\nimport { formatCurrency, formatNumber } from 'utils/formatting'\nimport { trackSync } from 'utils/analytics'\n\nimport { useProperties } from 'recoil/properties'\nimport { PropertyPlan } from 'recoil/propertyPlans'\nimport { useProjects } from 'recoil/projects'\n\nimport Info from 'svgs/info'\n\nimport Card from 'components/Card'\nimport { PropertyAvatar } from 'components/PropertyAvatar'\nimport IntercomCta from 'components/IntercomCta'\n\nimport styles from './styles.module.scss'\n\nexport interface Info {\n homeValue: number\n squareFootage: number\n}\n\ninterface Props {\n propertyPlan: PropertyPlan | null\n isSwitching: boolean\n}\n\nconst Overview: FC = ({ propertyPlan, isSwitching }) => {\n // Recoil state\n const { selectedProperty } = useProperties()\n // const { selectedPropertyPlan, isSwitching } = usePropertyPlans()\n const { projects } = useProjects()\n\n const handleLearnMoreClick = useCallback(async () => {\n // We're using an anchor, not a Link, so we need to track synchronously\n trackSync('click cta', { cta: 'edit', module: 'overview', location: 'learn-more' })\n }, [])\n\n if (!selectedProperty) return null\n const propertyInfo = {\n homeValue: selectedProperty.estimated_value,\n squareFootage: selectedProperty.square_footage,\n }\n if (!propertyPlan) return null\n\n // A property plan with no projects should be ignored here.\n const planInfo: Info | null =\n !isSwitching && projects.length\n ? {\n homeValue:\n typeof propertyPlan.estimated_value !== 'undefined'\n ? propertyPlan.estimated_value\n : selectedProperty.estimated_value,\n squareFootage: propertyPlan.square_footage,\n }\n : null\n\n const hasPlan = !!planInfo\n\n const currentInfo = hasPlan ? planInfo : propertyInfo\n\n const totalRecoup =\n hasPlan && propertyPlan.cost_estimate > 0\n ? Math.max(0, ((planInfo?.homeValue || 0) - propertyInfo.homeValue) / propertyPlan.cost_estimate)\n : 0\n\n return (\n
    \n
    \n

    {selectedProperty.delivery_line_1}

    \n
    \n {`${selectedProperty.city}, ${selectedProperty.state}, ${selectedProperty.zip5}`}\n
    \n
    \n \n
    \n \n

    {selectedProperty.delivery_line_1}

    \n
    \n {`${selectedProperty.city}, ${selectedProperty.state}, ${selectedProperty.zip5}`}\n
    \n \n \n \n
    \n \n \n \n
    \n
    \n
    \n {`${hasPlan ? 'New ' : ''}Home Value`}\n {hasPlan && {formatCurrency(propertyInfo.homeValue)}}\n
    \n
    \n {hasPlan ? (\n {formatCurrency(currentInfo?.homeValue || 0)}\n ) : (\n {formatCurrency(propertyInfo.homeValue)}\n )}\n
    \n
    \n
    \n
    \n {`${hasPlan ? 'New ' : ''}Livable Sq Ft`}\n {`${\n hasPlan ? 'New ' : ''\n }Livable Square Feet`}\n {hasPlan && {`${formatNumber(propertyInfo.squareFootage)} sqft`}}\n
    \n
    \n {hasPlan ? (\n {`${formatNumber(currentInfo?.squareFootage || 0)} sqft`}\n ) : (\n {`${formatNumber(propertyInfo.squareFootage)} sqft`}\n )}\n
    \n
    \n
    \n {hasPlan ? (\n
    \n
    \n
    \n {'Total Cost'}\n
    \n
    \n {`${formatCurrency(propertyPlan.cost_estimate_low)} - ${formatCurrency(\n propertyPlan.cost_estimate_high\n )}`}\n
    \n
    \n
    \n
    \n {'% Recoup'}\n
    \n
    \n {`${Math.round(totalRecoup * 100)}%`}\n
    \n
    \n
    \n ) : null}\n {selectedProperty.marketplace && (\n
    \n {'Questions about projects?'}\n \n {'Chat with a Realm Advisor'}\n \n
    \n )}\n
    \n
    \n )\n}\n\nexport default Overview\n","import React, { FC } from 'react'\n\ninterface Props {\n className?: string\n}\n\nconst Svg: FC = ({ className }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n)\n\nexport default Svg\n","// extracted by mini-css-extract-plugin\nexport default {\"select\":\"NwBTVAx5S4e6FZfW3XTz\"};","import React, { FC, PropsWithChildren, ReactNode, useCallback } from 'react'\nimport cx from 'classnames'\n\nimport styles from './Select.module.scss'\n\nexport interface SelectProps {\n value?: string\n onChange: (value: string) => void\n className?: string\n disabled?: boolean\n errors?: string[]\n label?: string\n required?: boolean\n optional?: boolean\n showOptionalLabel?: boolean\n id?: string\n suffix?: ReactNode\n}\n\n/** @deprecated use CoreInput.Select or CoreInput.FancySelect */\nexport const Select: FC> = ({\n className,\n children,\n disabled,\n errors,\n onChange,\n value,\n label,\n id,\n required,\n optional,\n showOptionalLabel = true,\n suffix,\n}) => {\n const handleChange = useCallback(\n (e: React.ChangeEvent) => {\n onChange(e.target.value)\n },\n [onChange]\n )\n\n return (\n
    \n {label && (\n \n )}\n\n
    \n \n {children}\n \n {suffix}\n
    \n
    \n )\n}\n\nexport default Select\n","import React, { FC } from 'react'\n\ninterface InfoProps {\n className?: string\n}\n\nconst Info: FC = ({ className }) => (\n \n \n \n)\n\nexport default Info\n","import cx from 'classnames'\nimport React, { FC } from 'react'\n\ninterface EditProps {\n className?: string\n}\n\nconst Alert: FC = ({ className }) => (\n \n \n \n)\n\nexport default Alert\n","// extracted by mini-css-extract-plugin\nexport default {\"errorFlag\":\"_fgh3Z8QrLYK41npfPYg\"};","import React, { FC, ReactNode } from 'react'\nimport classNames from 'classnames'\n\nimport Alert from 'svgs/alert'\n\nimport { AvailableErrorType } from 'recoil/projectTemplates'\n\nimport styles from './styles.module.scss'\n\nconst availableErrorToMessage = {\n [AvailableErrorType.Duplicate]: 'This project is a duplicate of one you have already added.',\n [AvailableErrorType.ExceedsSqFootage]: 'This project exceeds your buildable square feet limits.',\n [AvailableErrorType.ExceedsSqFootageFloor1]:\n 'This project exceeds your buildable square feet limit on the first floor.',\n [AvailableErrorType.ExceedsSqFootageFloor2]:\n 'This project exceeds your buildable square feet limit on the second floor.',\n [AvailableErrorType.NoAttic]: 'This property does not have an attic.',\n [AvailableErrorType.NoBasement]: 'This property does not have a basement.',\n [AvailableErrorType.NoGarage]: 'This property does not have a garage.',\n [AvailableErrorType.ExceedsADUCount]: \"This project exceeds your property's ADU limit.\",\n [AvailableErrorType.ExceedsADUSize]: \"This project's size exceeds your property's max permissable ADU size.\",\n}\nconst defaultAvailableError = 'This project cannot be built on this property.'\n\ninterface Props {\n errorType?: AvailableErrorType\n message?: string\n children?: ReactNode\n className?: string\n}\n\nconst ErrorFlag: FC = ({ errorType, message, children, className }) => {\n const error = {availableErrorToMessage[errorType || ''] || message || defaultAvailableError}\n\n return (\n
    \n \n
    {children || error}
    \n
    \n )\n}\n\nexport default ErrorFlag\n","import cx from 'classnames'\nimport React, { FC } from 'react'\n\ninterface ConstructionProps {\n className?: string\n}\n\nconst Construction: FC = ({ className }) => (\n \n \n \n \n \n \n \n \n \n \n \n)\n\nexport default Construction\n","// extracted by mini-css-extract-plugin\nexport default {\"infoFlag\":\"ODkdo9sTn9z84RZTePkd\"};","import React, { FC, ReactNode } from 'react'\nimport classNames from 'classnames'\n\nimport Construction from 'svgs/construction'\n\nimport styles from './styles.module.scss'\n\ninterface Props {\n children?: ReactNode\n className?: string\n}\n\nconst InfoFlag: FC = ({ children, className }) => {\n return (\n
    \n \n
    {children}
    \n
    \n )\n}\n\nexport default InfoFlag\n","// extracted by mini-css-extract-plugin\nexport default {\"arrow\":\"qMjNHMFYUYdmINPvnU8u\",\"shaft\":\"uUIoNwFlzQQPoCX9sMJ2\",\"drawShaft\":\"IGDiYDqFApyFCYLQG4M5\",\"head\":\"QWKtTdaRsQL9vaL8xifF\",\"drawHead\":\"mYZWlCVLlfu9gSQecTND\"};","import React, { FC } from 'react'\nimport cx from 'classnames'\n\nimport styles from './Arrow.module.scss'\n\ninterface Props {\n className?: string\n}\n\nconst Svg: FC = ({ className }) => (\n \n \n \n \n \n \n)\n\nexport default Svg\n","// extracted by mini-css-extract-plugin\nexport default {\"plan\":\"c_R4GbY89qpUaT58ANPw\",\"title\":\"O3CAqNwqLAiemJltfSy0\",\"planButton\":\"wE1cf9ReINqw6Qpskrys\",\"long\":\"YWoe50DLey7ObiEqld7Z\",\"editMode\":\"i1Rk1ktZtsah9fK1gppR\",\"editButton\":\"ZYCun3FamV85HWzEzh_A\",\"cancel\":\"QQytT1wOirlDy3dKUtrc\",\"planFooter\":\"ZYZiLknj5fOFtOXDzu1o\",\"noProjectsFooter\":\"fG8AbhKoqxyUhy8SrfHe\",\"footerButtons\":\"k2D5ahpdaG70mTw3i0ID\",\"clearAll\":\"IYkuHea2mbyACOijFVtP\",\"deletePlan\":\"gvWjWlEmUVoHcPSY_QdY\",\"callToAction\":\"MQHDFUMlxinedJAmEEY3\",\"projects\":\"_fyVMS8T3NQy8xAhsEZG\",\"project\":\"vGRZScL0uQyux3R4zB08\",\"content\":\"KWpeXZVT7IO3hVGksdZP\",\"img\":\"Wdf3nUWk4428fuW9M3EF\",\"row\":\"tdhi7_k2Q0xfeuWhB8zO\",\"name\":\"yO2mZ23KySLgbQgs9RQV\",\"addSqFt\":\"cmoz5fgqfxVrw9_O7Xpy\",\"cells\":\"XRNROVl1GJ_aO8jbuWM8\",\"cell\":\"_6h49M3B9AtTjmK8mp6mQ\",\"value\":\"vjpp67T_riRu5WHv4kHk\",\"customize\":\"D9SDwrSXA8yrNmkkR5Mh\",\"button\":\"cIel3oNGYu0aCGXfNwCz\",\"edit\":\"psMHxrAgcUZlUOJ9OJTT\",\"arrow\":\"mGp3XmGv_2ehlPXhs7Yk\",\"recoup\":\"iAHPjhhbFWBUoTAV5VrA\",\"close\":\"KUvBmKvPfyL2Amrmshbi\",\"closePlaceholder\":\"fya2Zb3cL6oioZg9Fa2Z\",\"fake\":\"xsDZnTWiA_U59P_eDANk\",\"shine\":\"Uh8em7ga_1FoQyXApj73\",\"errorEntry\":\"ESENu3Td0JVYArnR67MG\",\"noProjects\":\"PmtdVvlUKv5yP3QpcVhw\",\"instructions\":\"EZ4d57z7YBYFXJ4IwfM_\",\"details\":\"pnAR_AMGBYCP8DilRoqd\",\"switching\":\"S0CduLBXUaQuBLG4IHsw\",\"short\":\"R7Ktv9mC6dWGQNfCnmor\",\"createPlan\":\"gXBEzD8WuQJ80AyDmZGQ\",\"homeValue\":\"YeekC9LVlftsBFXsrs9A\",\"costEstimate\":\"AzlbYrBSZ1SBvARDZ6PH\"};","import React, { FC, useState, useRef, useEffect, useCallback } from 'react'\nimport { Link, useRouteMatch } from 'react-router-dom'\nimport classNames from 'classnames'\n\nimport { formatCurrency, formatNumber } from 'utils/formatting'\n\nimport { Project as ProjectData, TempProject } from 'recoil/projects'\nimport { AvailableErrorType } from 'recoil/projectTemplates'\nimport { Property } from 'recoil/properties'\nimport { useUser } from 'recoil/user'\n\nimport Close from 'svgs/property-plan/close'\nimport IncreaseValue from 'svgs/increase-value'\nimport FallbackIcon from 'svgs/property-plan/fallback'\n\nimport FancyButton from 'components/FancyButton'\nimport ExternalSvg from 'components/ExternalSvg'\n\nimport ErrorFlag from '../ErrorFlag'\nimport InfoFlag from '../InfoFlag'\nimport Arrow from '../InfoFlag/Arrow'\n\nimport styles from './styles.module.scss'\nimport { track } from 'utils/analytics'\n\nfunction isTemporary(project: ProjectData): boolean {\n return !!(project as TempProject)._temporary\n}\n\ninterface Props {\n project: ProjectData\n property: Property\n onRemove: (projectId: number) => void\n index: number\n showSqFt: boolean\n}\n\nconst Project: FC = ({ project, property, onRemove, showSqFt, index }) => {\n const match = useRouteMatch()\n const componentRef = useRef(null)\n const { user, updateUser } = useUser()\n const [isVisible, setIsVisible] = useState(false)\n\n useEffect(() => {\n // Capture only the first time we're visible.\n if (isVisible) return\n if (!componentRef || !componentRef.current) return\n\n const target = componentRef.current\n\n let timer = 0\n\n const observer = new IntersectionObserver(\n (entries: Array) => {\n if (entries.length > 0 && entries[0].isIntersecting) {\n // Provide a minor delay in setting it visible\n timer = setTimeout(() => setIsVisible(true), 1000) as unknown as number\n }\n },\n {\n root: null,\n rootMargin: '0px',\n threshold: 0,\n }\n )\n\n observer.observe(target)\n\n return () => {\n if (observer && target) {\n observer.unobserve(target)\n }\n if (timer) {\n clearTimeout(timer)\n }\n }\n }, [isVisible])\n\n const handleClose = useCallback(() => {\n track('submit form', {\n section: 'property-plan',\n form: 'project',\n action: 'delete',\n template: {\n id: project.project_template_id,\n kind: project.kind,\n },\n })\n onRemove(project.id)\n }, [project, onRemove])\n\n const handleCustomize = useCallback(\n (name: string) => () => {\n track('submit form', {\n section: 'property-plan',\n form: 'project',\n action: 'customize',\n element: name,\n template: {\n id: project.project_template_id,\n kind: project.kind,\n },\n })\n // The first time we customize, we should update the user.\n if (!user?.project_customized) {\n updateUser({ project_customized: true })\n }\n },\n [project, user, updateUser]\n )\n\n const isTemp = isTemporary(project)\n\n const recoup = project.cost_estimate ? Math.max(0, project.additional_home_value / project.cost_estimate) : 0\n\n const showCustomizeFlag = !user?.project_customized && index == 0\n\n return (\n
  • \n
    \n \n \n \n
    \n
    \n {project.name}\n {showSqFt ? (\n {`Additional ${formatNumber(project.square_footage || 0)} sqft`}\n ) : null}\n
    \n
    \n
    \n \n \n {project.additional_home_value > 0 ? `+${formatCurrency(project.additional_home_value)}` : '-'}\n \n
    \n
    \n \n {`${formatCurrency(project.cost_estimate_low)} - ${formatCurrency(\n project.cost_estimate_high\n )}`}\n
    \n
    \n \n \n {recoup > 0.75 ? : null}\n {`${Math.round(recoup * 100)}%`}\n \n
    \n
    \n \n \n {project.customized ? 'Edit' : 'Customize'}\n \n {!isTemp && isVisible && showCustomizeFlag && }\n
    \n
    \n {showCustomizeFlag && (\n \n {'Nicely done!'}\n {' Your first project has been added. Check out all of the '}\n \n {'customization options'}\n \n {' that are available to make this project perfect for you.'}\n \n )}\n {!project.available.success && project.available.error?.code != AvailableErrorType.ExceedsSqFootage ? (\n project.available.error?.code != AvailableErrorType.ExceedsADUSize ? (\n \n ) : (\n {`This project's size exceeds your property's max permissable ADU size by ${\n (project.square_footage || 0) - (property.max_adu_square_footage || 0)\n } sq ft.`}\n )\n ) : null}\n
    \n {!isTemp ? (\n \n ) : (\n \n )}\n
    \n
  • \n )\n}\n\nexport default Project\n","import React, { FC } from 'react'\nimport classNames from 'classnames'\n\nimport FancyButton from 'components/FancyButton'\n\nimport styles from './styles.module.scss'\n\nconst FakeProject: FC = () => (\n
  • \n
    \n \n
    \n
    \n {'X'}\n
    \n
    \n
    \n \n {'X'}\n
    \n
    \n \n {'X'}\n
    \n
    \n \n {'X'}\n
    \n
    \n \n \n {'Customize'}\n \n
    \n
    \n
    \n \n
    \n
  • \n)\n\nexport default FakeProject\n","import React, { FC, PropsWithChildren } from 'react'\nimport classNames from 'classnames'\n\nimport Alert from 'svgs/alert'\n\nimport styles from './styles.module.scss'\n\ninterface Props {\n className?: string\n}\n\nconst ErrorEntry: FC> = ({ className, children }) => (\n
    \n \n
    {children}
    \n
    \n)\n\nexport default ErrorEntry\n","// extracted by mini-css-extract-plugin\nexport default {\"exceedsLotSizeError\":\"WI7vLiOVhzSauXNxzx15\",\"content\":\"YnmNg3iyc_zuOkS5jsI2\",\"message\":\"dH9piEvRTZHJXrWi8KRw\",\"amounts\":\"Em4kCCKFQ4bDgx6kB1cz\",\"maximum\":\"a_deCDK5hW5pxn5prJsG\"};","import React, { FC } from 'react'\n\nimport { formatNumber } from 'utils/formatting'\n\nimport ErrorEntry from './ErrorEntry'\n\nimport styles from './ExceedsLotSizeError.module.scss'\n\ninterface Props {\n buildableSqFt: number\n requestedSqFt: number\n}\n\nconst ExceedsLotSizeError: FC = ({ buildableSqFt, requestedSqFt }) => {\n return (\n \n
    \n {'These projects exceed your buildable square feet limits!'}\n \n {`Allowed additional square feet: ${formatNumber(buildableSqFt)}`}\n {`Plan additional square feet: ${formatNumber(requestedSqFt)}`}\n \n
    \n
    \n )\n}\n\nexport default ExceedsLotSizeError\n","import React, { FC, useState, useCallback } from 'react'\nimport { useHistory } from 'react-router-dom'\nimport classNames from 'classnames'\n\nimport { buildableArea } from 'utils/property'\n\nimport { useProperties } from 'recoil/properties'\nimport { usePropertyPlans } from 'recoil/propertyPlans'\nimport { Project as ProjectType, TempProject, useProjects } from 'recoil/projects'\n\nimport Construction from 'svgs/property-plan/construction'\nimport Edit from 'svgs/edit'\nimport Add from 'svgs/plus-circle'\nimport Close from 'svgs/property-plan/close'\n\nimport FancyButton from 'components/FancyButton'\nimport Select from 'components/Select'\nimport Input from 'components/Input'\n\nimport Project from './Project'\nimport FakeProject from './FakeProject'\nimport ExceedsLotSizeError from './ExceedsLotSizeError'\nimport { track } from 'utils/analytics'\n\nimport styles from './styles.module.scss'\n\nconst MIN_PROJECTS_FOR_CLEAR = 3\n\nfunction isTemporary(project: ProjectType): boolean {\n return !!(project as TempProject)._temporary\n}\n\nconst Plan: FC = () => {\n const { push } = useHistory()\n const { selectedProperty } = useProperties()\n const { selectedPropertyPlan, propertyPlans, addPropertyPlan, removePropertyPlan, updatePropertyPlan, isSwitching } =\n usePropertyPlans()\n const { projects, removeProject, removeProjects } = useProjects()\n const [editMode, setEditMode] = useState(false)\n const [editName, setEditName] = useState(selectedPropertyPlan?.name || '')\n\n const handleSelectPlan = useCallback(\n (propertyPlanId) => {\n if (!propertyPlans) return\n const plan = propertyPlans.find((plan) => plan?.id == propertyPlanId)\n track('property-plan change plan', { planId: propertyPlanId, planName: plan?.name })\n // A history push here is necessary over a Redirect, because the component\n // will be getting reused. Managing state to trigger a redirect will just\n // end up interfering with other redirects.\n push(`../property-plans/${propertyPlanId}`)\n },\n [push, propertyPlans]\n )\n const handleEditPlanName = useCallback(() => {\n if (!selectedPropertyPlan) return\n track('submit form', {\n section: 'property-plan',\n form: 'property-plans',\n action: 'edit-plan-name',\n })\n setEditName(selectedPropertyPlan.name)\n setEditMode(true)\n }, [setEditMode, selectedPropertyPlan])\n\n const handleEditPlanNameFocus = useCallback((event) => {\n event.target.select()\n }, [])\n\n const handleEditPlanNameChange = useCallback(\n (value) => {\n setEditName(value)\n },\n [setEditName]\n )\n\n const handleCancelEditPlanName = useCallback(() => {\n if (!selectedPropertyPlan) return\n track('submit form', {\n section: 'property-plan',\n form: 'property-plans',\n action: 'cancel-plan-name',\n })\n setEditMode(false)\n }, [setEditMode, selectedPropertyPlan])\n\n const handleSaveEditPlanName = useCallback(async () => {\n if (!selectedPropertyPlan) return\n track('submit form', {\n section: 'property-plan',\n form: 'property-plans',\n action: 'save-plan-name',\n })\n // I don't think we need to wait for it to finish.\n await updatePropertyPlan(selectedPropertyPlan.id, { name: editName })\n setEditMode(false)\n }, [setEditMode, updatePropertyPlan, selectedPropertyPlan, editName])\n\n const handleCreateNewPlan = useCallback(async () => {\n track('submit form', {\n section: 'property-plan',\n form: 'property-plans',\n action: 'create',\n totalPlans: (propertyPlans?.length || 0) + 1,\n })\n const plan = await addPropertyPlan({})\n if (!plan) return\n push(`../property-plans/${plan.id}`)\n }, [addPropertyPlan, push, propertyPlans])\n\n const handleDeletePlan = useCallback(() => {\n if (!selectedPropertyPlan) return\n track('submit form', {\n section: 'property-plan',\n form: 'property-plans',\n action: 'delete',\n totalPlans: (propertyPlans?.length || 0) - 1,\n })\n removePropertyPlan(selectedPropertyPlan.id)\n }, [removePropertyPlan, selectedPropertyPlan, propertyPlans])\n\n const handleClearAll = useCallback(() => {\n if (!selectedPropertyPlan) return\n track('submit form', {\n section: 'property-plan',\n form: 'property-plans',\n action: 'delete-all-projects',\n })\n removeProjects(projects.filter((p) => !isTemporary(p)).map((p) => p.id))\n }, [projects, removeProjects, selectedPropertyPlan])\n\n // const handleContactCtaClick = useCallback(() => {\n // track('click cta', { cta: 'reports', module: 'project-plan' })\n // }, [])\n\n if (!selectedProperty) return null\n\n const projectExpansionArea = projects\n .filter((p) => p.increases_sq_ft && !p.exempt_from_zoning)\n .reduce((prev, p) => prev + (p.square_footage || 0), 0)\n const totalBuildableArea = buildableArea(selectedProperty)\n const exceedsBuildableArea = totalBuildableArea && projectExpansionArea > totalBuildableArea\n\n return (\n
    \n
    \n {editMode ? (\n \n ) : (propertyPlans?.length || 0) > 1 ? (\n \n ) : (\n

    {'Your Project Plan'}

    \n )}\n {editMode ? (\n <>\n \n {'Save'}\n \n \n {'Cancel'}\n \n \n ) : (\n <>\n {(propertyPlans?.length || 0) > 1 ? (\n \n \n {'Edit plan name'}\n {'Edit name'}\n \n ) : null}\n \n \n {'Create a new plan'}\n {'New plan'}\n \n \n )}\n
    \n\n {isSwitching || projects.length > 0 ? (\n
    \n
      \n {isSwitching ? (\n <>\n \n \n \n ) : (\n projects.map((p, i) => (\n \n ))\n )}\n
    \n {exceedsBuildableArea ? (\n \n ) : null}\n
    \n
    \n {(propertyPlans?.length || 0) > 1 && !editMode ? (\n \n ) : null}\n {projects.length >= MIN_PROJECTS_FOR_CLEAR ? (\n \n ) : null}\n
    \n
    \n
    \n ) : (\n <>\n
    \n \n
    \n
    {'Select projects below that interest you'}
    \n
    \n {\n 'As you add projects to your Realm Project Planner, you can view the estimated cost and impact on your home value.'\n }\n
    \n
    \n
    \n
    \n
    \n {(propertyPlans?.length || 0) > 1 ? (\n \n ) : null}\n
    \n
    \n \n )}\n
    \n )\n}\n\nexport default Plan\n","// extracted by mini-css-extract-plugin\nexport default {\"callToAction\":\"bcSktczoBbc5DWy03Wy4\",\"background\":\"Jtt7FbypLR4jz9Vodo9L\",\"sleeve\":\"OuFubhHHfrSeEgQZMIKA\",\"icon\":\"_651yZXE1rXGujyINuAi6\",\"value\":\"htsOskQK21ee3IVEFmAJ\",\"negative\":\"O7Ax26R5zSz5XrtMjIDY\"};","import React, { FC, useRef, useEffect, useState } from 'react'\nimport classNames from 'classnames'\n\nimport AddIcon from 'svgs/add'\n\nimport styles from './CallToAction.module.scss'\n\ninterface Props {\n className?: string\n value: string\n negative?: boolean\n}\n\nconst CallToAction: FC = ({ className, negative, value }) => {\n const textRef = useRef(null)\n const [width, setWidth] = useState(100)\n\n useEffect(() => {\n if (textRef.current) {\n setWidth(textRef.current.clientWidth)\n }\n }, [value])\n\n return (\n \n \n \n \n \n \n \n {value}\n \n \n \n )\n}\n\nconst FRONT_WIDTH = 62\nconst BACK_WDITH = 22\nconst PRE_WIDTH = FRONT_WIDTH + BACK_WDITH\n\nconst CTABackground: FC<{ className?: string; width: number }> = ({ className, width }) => (\n \n \n {/* Front */}\n \n {/* Center */}\n \n {/* Back */}\n \n \n \n)\n\nexport default CallToAction\n","import React, { FC } from 'react'\nimport cx from 'classnames'\n\nimport styles from './Arrow.module.scss'\n\ninterface Props {\n className?: string\n}\n\n// This arrow version is more shallow than the other\nconst Svg: FC = ({ className }) => {\n return (\n \n \n \n \n \n \n )\n}\nexport default Svg\n","// extracted by mini-css-extract-plugin\nexport default {\"projectTemplates\":\"eWDy7jLjm4vN_Pjxt2MH\",\"sorting\":\"QmUCVBh1EfOgD6fo3qZ_\",\"selected\":\"oQOq8LjN0Srjw2EQ_S0g\",\"templates\":\"vKlK4xSjg7pD5epKz2jj\",\"template\":\"LBgbReuPJwhYNP2byrZ5\",\"item\":\"_T8ZViO88SW72RtKu_fu\",\"img\":\"xfg2CzL4VAXHfoZ7Jd9f\",\"row\":\"CzCrRqqRcbb8yNTiyR1e\",\"content\":\"EKtDXtDtCbnTqEWPgVaL\",\"details\":\"EU8I_xEnlyXTpb5M2zOS\",\"name\":\"V2m5Iw_Yrw12_wp2tFIR\",\"description\":\"tmV2l2cIXfLRue_H5NG3\",\"actions\":\"gvJsKszspUOu5kuQwmto\",\"whyNote\":\"szsuhO0yJl6YII4knYML\",\"cta\":\"yk550xu25hdeaKHnF72_\",\"fakeButton\":\"IswP9DM5D1I3PVChx6Ad\",\"disabled\":\"SNStmNmYrj2HLT3mlDIR\",\"arrow\":\"I15Iu1YQ40BtEYhmIBnd\",\"errorFlag\":\"ZdlPY0UsE9PRHynlvHgm\",\"infoLink\":\"_6VMtCA7RD8UvYSlcz0Q\",\"fake\":\"faoKTfZWkuxXPiR3tlv2\",\"shine\":\"sbp9LK85d_rgpsh22JK0\",\"unavailable\":\"JNBZfqiwKQKq6KehsTil\",\"unavailableTag\":\"BYaA9EgxphDLv880r2sg\",\"switching\":\"HLI0QJuovOygSyIXsrDp\",\"listFilters\":\"kTS66SZNxOE2c2wywPts\",\"modal\":\"x9jxX7JceFmR0yDHutSF\",\"filter\":\"g5oG7BkiocNY8VIsG44O\",\"filterName\":\"ZLZg761P3s9IFOtd3YTT\",\"filterCount\":\"RghNPY6eAkTtSl18aAdl\",\"search\":\"YhM_NMiQRa9spK0LGe6W\",\"searchIcon\":\"rC7yoimEtzB7jNrtDWpe\",\"searchBox\":\"GSS2K_Lg_6Sj6HfDVx9Q\",\"input\":\"zhfjfquTZXE4H1BqYJkf\",\"clear\":\"GAHVWwgV5OMwwiKXPu8u\"};","import React, { FC, useState, useEffect, useCallback, useRef } from 'react'\nimport classNames from 'classnames'\n\nimport { track } from 'utils/analytics'\n\nimport { ProjectTemplate as Template } from 'recoil/projectTemplates'\nimport { useProjects } from 'recoil/projects'\n\nimport FallbackIcon from 'svgs/property-plan/fallback'\n\nimport CallToAction from 'components/CallToAction'\nimport ExternalSvg from 'components/ExternalSvg'\n\nimport ErrorFlag from '../ErrorFlag'\nimport InfoFlag from '../InfoFlag'\nimport Arrow from '../InfoFlag/Arrow2'\nimport { userState } from 'recoil/user'\nimport { useRecoilValue } from 'recoil'\n\nimport styles from './styles.module.scss'\n\ninterface Props {\n template: Template\n index: number\n onSelected: (templateId: number) => void\n}\n\nconst Template: FC = (props) => {\n const { template, index, onSelected } = props\n const componentRef = useRef(null)\n const { projects } = useProjects()\n const user = useRecoilValue(userState)\n const [isVisible, setIsVisible] = useState(false)\n\n useEffect(() => {\n // Capture only the first time we're visible.\n if (isVisible) return\n if (!componentRef || !componentRef.current) return\n\n const target = componentRef.current\n\n let timer = 0\n\n const observer = new IntersectionObserver(\n (entries: Array) => {\n if (entries.length > 0 && entries[0].isIntersecting) {\n // Provide a minor delay in setting it visible\n timer = setTimeout(() => setIsVisible(true), 1000) as unknown as number\n }\n },\n {\n root: null,\n rootMargin: '0px',\n threshold: 0,\n }\n )\n\n observer.observe(target)\n\n return () => {\n if (observer && target) {\n observer.unobserve(target)\n }\n if (timer) {\n clearTimeout(timer)\n }\n }\n }, [isVisible])\n const addProject = useCallback(\n (name: string) => (e) => {\n if (!user) return\n e.stopPropagation()\n\n track(\n 'submit form',\n {\n section: 'property-plan',\n form: 'suggested-projects',\n action: 'create',\n element: name,\n template: {\n id: template.id,\n kind: template.kind,\n },\n },\n {\n id: 24231,\n args: {\n orderId: `project-${user.id}`,\n customerId: user.id,\n },\n }\n )\n onSelected(template.id)\n },\n [template, onSelected, user]\n )\n\n const addProjectFromKey = useCallback(\n (e: React.KeyboardEvent) => {\n if (e.key == 'Enter') addProject('keyboard')(e)\n },\n [addProject]\n )\n\n const isAdded = projects.some((p) => p.kind == template.kind)\n const addAnother = isAdded && template.available.success\n const unavailable = !isAdded && !template.available.success\n\n return (\n \n \n \n \n \n
    \n
    \n
    \n

    {template.name}

    \n

    {template.description}

    \n
    \n
    \n {isAdded && !addAnother ? (\n
    {'Added'}
    \n ) : unavailable ? (\n
    {'Not approved'}
    \n ) : (\n <>\n \n \n )}\n {index == 0 && !isAdded && !unavailable && isVisible && }\n
    \n
    \n {index == 0 && !isAdded && !unavailable && (\n \n {'Top recommended project!'}\n {\n ' Adding projects to your plan allows you to see cost and recoup estimates, as well as full customization options. '\n }\n \n \n )}\n {unavailable ? (\n \n ) : null}\n
    \n \n \n )\n}\n\nexport default Template\n","import React, { FC } from 'react'\nimport classNames from 'classnames'\n\nimport CallToAction from 'components/CallToAction'\nimport styles from './styles.module.scss'\n\nconst FakeTemplate: FC = () => (\n
  • \n
    \n
    \n
    \n
    \n
    \n

    {'X'}

    \n

    {'X'}

    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
  • \n)\n\nexport default FakeTemplate\n","import React, { FC, useCallback, useState } from 'react'\nimport classNames from 'classnames'\n\nimport { track } from 'utils/analytics'\n\nimport { useProjectTemplates } from 'recoil/projectTemplates'\n\nimport SearchIcon from 'svgs/search'\n\nimport Input from 'components/Input'\n\nimport styles from './styles.module.scss'\n\nexport const ALL_FILTER = '_all_'\n\ninterface FilterType {\n name: string\n value?: string\n count: number\n isSelected: boolean\n}\n\ninterface FilterProps {\n filter: FilterType\n onChange: (name) => void\n}\n\nconst Filter: FC = ({ filter, onChange }) => {\n const { name, value, isSelected, count } = filter\n const onClick = useCallback(() => {\n onChange(value)\n }, [onChange, value])\n\n return (\n
  • \n \n
  • \n )\n}\n\ninterface SearchProps {\n search: string\n onChange: (search) => void\n onClear: () => void\n}\nconst Search: FC = ({ search, onChange, onClear }) => {\n return (\n
    \n \n \n
    \n \n
    \n
    \n )\n}\n\nexport interface Filter {\n tag?: string\n search: string\n}\n\ninterface Props {\n className?: string\n tags: Array\n filter: Filter\n onChange: (filter: Filter) => void\n}\n\nconst Filters: FC = ({ className, tags, filter, onChange }) => {\n const { latestProjectTemplates: projectTemplates } = useProjectTemplates()\n const [showSearch, setShowSearch] = useState(false)\n\n const handleFilterChange = useCallback(\n (tag: string) => {\n track('property-plan filter templates', { filter: tag })\n onChange({ tag: tag, search: '' })\n },\n [onChange]\n )\n\n const handleSearchClick = useCallback(() => {\n track('property-plan search opened')\n setShowSearch(true)\n onChange({ search: '' })\n }, [onChange])\n\n const handleSearchChange = useCallback(\n (search: string) => {\n onChange({ search: search })\n },\n [onChange]\n )\n\n const handleCloseClick = useCallback(() => {\n track('property-plan search closed')\n setShowSearch(false)\n onChange({ tag: ALL_FILTER, search: '' })\n }, [onChange])\n\n // Annotate the filters.\n const annotatedFilters: Array = tags\n .map((f) => ({\n name: f,\n value: f,\n isSelected: filter.tag == f,\n count: projectTemplates.reduce((prev, template) => (prev += template.tags.includes(f) ? 1 : 0), 0),\n }))\n // And sort them\n .sort((a, b) => b.count - a.count || a.name.localeCompare(b.name))\n\n if (showSearch) {\n return \n }\n\n return (\n
      \n
    • \n \n
    • \n \n {annotatedFilters.map((f) => (\n \n ))}\n
    \n )\n}\n\nexport default Filters\n","// extracted by mini-css-extract-plugin\nexport default {\"content\":\"cT5bc06uZdmcrIE9YnFw\",\"plan\":\"ImMexyeX6MWrNN1XRdOw\",\"templates\":\"rrnRJQ7K9KEPh6l1ew3Q\",\"sideBar\":\"da4CbhGjPEHZmZtrZT21\",\"stickySleeve\":\"CelhSECnPaugqyirBUSR\",\"header\":\"tfpetNvyQAEwyHB805AV\"};","import { ProjectTemplate } from 'recoil/projectTemplates'\n\nexport const EXPIRES_GRACE_PERIOD = 5\n\nfunction preSort(a: ProjectTemplate, b: ProjectTemplate): number | undefined {\n // We always want to separate out unavailable projects from available\n if (a.available.success != b.available.success) {\n if (!a.available.success) return 1\n if (!b.available.success) return -1\n }\n // Then separate out into unexpired and expired/expirable\n if (a.expires_in != b.expires_in) {\n const a_expirable = typeof a.expires_in !== 'undefined'\n const b_expirable = typeof b.expires_in !== 'undefined'\n const a_expired = typeof a.expires_in !== 'undefined' && a.expires_in < EXPIRES_GRACE_PERIOD\n const b_expired = typeof b.expires_in !== 'undefined' && b.expires_in < EXPIRES_GRACE_PERIOD\n const a_unexpired = a_expirable && !a_expired\n const b_unexpired = b_expirable && !b_expired\n\n if (a_unexpired && !b_unexpired) return 1\n if (b_unexpired && !a_unexpired) return -1\n }\n\n // Otherwise no sorting gained from presort.\n return\n}\n\nexport function frequency_sort(a: ProjectTemplate, b: ProjectTemplate): number {\n // Presort first\n const ps = preSort(a, b)\n if (typeof ps !== 'undefined') return ps\n\n // Then by recommended position\n if (a.position != b.position) return (a.position || Number.MAX_SAFE_INTEGER) - (b.position || Number.MAX_SAFE_INTEGER)\n // Last by score\n return b.additional_score - a.additional_score\n}\n\nexport function recoup_sort(a: ProjectTemplate, b: ProjectTemplate): number {\n // Presort first\n const ps = preSort(a, b)\n if (typeof ps !== 'undefined') return ps\n\n // then by % recoup.\n const recoup_a = a.cost_estimate ? Math.max(0, a.additional_home_value / a.cost_estimate) : 0\n const recoup_b = b.cost_estimate ? Math.max(0, b.additional_home_value / b.cost_estimate) : 0\n return recoup_b - recoup_a\n}\n\nexport function recommended_sort(a: ProjectTemplate, b: ProjectTemplate): number {\n // Presort first\n const ps = preSort(a, b)\n if (typeof ps !== 'undefined') return ps\n\n // Order by home value increase, as long as those increases are\n // within 5% of each other. Use percentage difference for this value\n const percDiff =\n (Math.abs(a.additional_home_value - b.additional_home_value) * 2) /\n (a.additional_home_value + b.additional_home_value)\n\n if (percDiff > 0.05) return b.additional_home_value - a.additional_home_value\n\n // Then order by recommended position\n if (a.position != b.position) return (a.position || Number.MAX_SAFE_INTEGER) - (b.position || Number.MAX_SAFE_INTEGER)\n\n // Then by score because why not...\n return b.additional_score - a.additional_score\n}\n\n// Deprecated\nexport function priority_sort(a: ProjectTemplate, b: ProjectTemplate): number {\n // Presort first\n const ps = preSort(a, b)\n if (typeof ps !== 'undefined') return ps\n\n // expires_in is first\n // For sorting, we only care if they're within 5 years.\n const a_expires_in = cap_expiration(a.expires_in)\n const b_expires_in = cap_expiration(b.expires_in)\n if (a_expires_in != b_expires_in) {\n if (typeof b_expires_in === 'undefined') return -1\n if (typeof a_expires_in === 'undefined') return 1\n return a_expires_in - b_expires_in // Closest to expiring first.\n }\n // Then by score\n return b.additional_score - a.additional_score\n}\n\nexport function cost_sort(a: ProjectTemplate, b: ProjectTemplate): number {\n // Presort first\n const ps = preSort(a, b)\n if (typeof ps !== 'undefined') return ps\n\n // Then by cost.\n return (b.cost_estimate || 0) - (a.cost_estimate || 0)\n}\n\nexport function cap_expiration(expires_in: number | undefined): number | undefined {\n // If we have a number, but it is more than 5 years from expiring,\n // Treat it as not expiring where sort is concerned.\n if (typeof expires_in == 'number' && expires_in > EXPIRES_GRACE_PERIOD) return\n\n return expires_in\n}\n","import React, { FC, useState, useCallback } from 'react'\nimport classNames from 'classnames'\n\nimport { track } from 'utils/analytics'\n\nimport { usePropertyPlans } from 'recoil/propertyPlans'\nimport { useProjectTemplates, ProjectTemplate } from 'recoil/projectTemplates'\nimport { useProjects } from 'recoil/projects'\n\nimport Template from './Template'\nimport FakeTemplate from './FakeTemplate'\nimport Filters, { Filter, ALL_FILTER } from './Filters'\n\nimport styles from './styles.module.scss'\nimport propertyPlanStyles from '../styles.module.scss'\nimport { cost_sort, frequency_sort, priority_sort, recoup_sort, recommended_sort } from 'utils/projectTemplates'\n\nenum SortOrderType {\n Frequency,\n Priority,\n Recoup,\n Cost,\n Recommended,\n}\n\nconst sortMap = {\n [SortOrderType.Frequency]: frequency_sort,\n [SortOrderType.Recoup]: recoup_sort,\n [SortOrderType.Priority]: priority_sort,\n [SortOrderType.Cost]: cost_sort,\n [SortOrderType.Recommended]: recommended_sort,\n}\n\nfunction templateFilter(filter: Filter) {\n return (template: ProjectTemplate) => {\n if (filter.tag) {\n if (filter.tag == ALL_FILTER) return true\n return template.tags.includes(filter.tag)\n }\n\n if (filter.search == '') return true\n return (\n template.name.toLocaleLowerCase().includes(filter.search.toLocaleLowerCase()) ||\n (template.description && template.description.toLocaleLowerCase().includes(filter.search.toLocaleLowerCase()))\n )\n }\n}\n\nfunction removeDuplicates(array: Array) {\n return Object.keys(\n array.reduce((prev, item) => Object.assign({}, prev, { [item]: item }), {} as { [item: string]: string })\n )\n}\n\nconst ProjectTemplates: FC = () => {\n const { addProject } = useProjects()\n const { isSwitching } = usePropertyPlans()\n const { latestProjectTemplates: projectTemplates } = useProjectTemplates()\n const [sortOrder, setSortOrder] = useState(SortOrderType.Frequency)\n const [filter, setFilter] = useState({ tag: ALL_FILTER, search: '' })\n\n const onSelected = useCallback(\n async (templateId: number) => {\n await addProject({ project_template_id: templateId })\n },\n [addProject]\n )\n\n const onSortByFrequency = useCallback(() => {\n track('property-plan sort templates', { sortBy: 'frequency' })\n setSortOrder(SortOrderType.Frequency)\n }, [setSortOrder])\n const onSortByRecoup = useCallback(() => {\n track('property-plan sort templates', { sortBy: 'recoup' })\n setSortOrder(SortOrderType.Recoup)\n }, [setSortOrder])\n const onSortByCost = useCallback(() => {\n track('property-plan sort templates', { sortBy: 'cost' })\n setSortOrder(SortOrderType.Cost)\n }, [setSortOrder])\n const onSortByRecommended = useCallback(() => {\n track('property-plan sort templates', { sortBy: 'recommended' })\n setSortOrder(SortOrderType.Recommended)\n }, [setSortOrder])\n\n const templates = projectTemplates.filter(templateFilter(filter)).sort(sortMap[sortOrder] || priority_sort)\n\n const allFilters = removeDuplicates(\n projectTemplates.map((template) => template.tags).reduce((prev, tags) => prev.concat(tags), [])\n )\n\n return (\n <>\n \n
    \n

    {'Suggested Projects'}

    \n
    \n {'Sort by:'}\n \n {'Popular Near You'}\n \n {'/'}\n \n {'Recommended For You'}\n \n {'/'}\n \n {'% Recoup'}\n \n {'/'}\n \n {'Cost'}\n \n
    \n \n
    \n\n
      \n {isSwitching ? (\n <>\n \n \n \n \n ) : (\n templates.map((p, i) =>