{"version":3,"sources":["hooks/useWindowDimensions.js","../node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","components/startpage/Footer.js","components/startpage/footer.module.css","images/RightArrow.svg","components/startpage/howItWorks.module.css","components/startpage/mapPromo.module.css","components/startpage/Valuation.js","components/startpage/valuation.module.css","components/startpage/Why.js","components/startpage/why.module.css","components/startpage/HowItWorks.js","images/Map.png","components/startpage/MapPromo.js","../node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js","components/startpage/inquiryForm.module.css","components/housing/button.module.css","components/housing/selector.module.css","components/housing/Button.js","components/housing/Selector.js","components/startpage/InquiryForm.js","pages/StartPage.js","../node_modules/@emotion/react/dist/emotion-react.browser.esm.js"],"names":["getWindowDimensions","window","width","innerWidth","height","innerHeight","useWindowDimensions","useState","windowDimensions","setWindowDimensions","useEffect","handleResize","addEventListener","removeEventListener","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","Array","isArray","length","i","F","s","n","done","value","e","_e","f","TypeError","err","normalCompletion","didErr","call","step","next","_e2","Footer","props","className","styles","footerOuter","footer","footerTop","footerLogoWrapper","footerLogoTitle","footerContent","footerMiddleLeftContent","href","socialIconContainer","divider","footerBottom","lowerFooter","lowerLeft","lowerRight","lowerRightInner","module","exports","HowItWorks","scrollToSearch","document","getElementById","focus","howItWorksContainer","howItWorks","contentBox","contentBoxItem","clsx","featureImage","featureImageStep1","topfill","featureTitle","featureDescription","handleStyle","onClick","featureImageStep2","featureImageStep3","bottomfill","MapPromo","useSessionStorage","location","setLocation","mapZoom","lat","lng","center","containerStyle","React","setMap","isLoaded","useCallback","map","bounds","google","maps","LatLngBounds","fitBounds","useJsApiLoader","id","googleMapsApiKey","process","mapPromoContainer","mapPromo","mapPromoTitle","mapPromoSubTitle","searchContainer","Search","onLocationChanged","analytics","sendEvent","action","category","label","ctaContainer","title","mapSubmitBtn","dark","centered","fullWidth","targetUri","mapPromoImage","BrokerMap","zoom","userLocation","containerSize","Skeleton","variant","_taggedTemplateLiteral","strings","raw","slice","Object","freeze","defineProperties","Button","active","btn","btnList","key","when_sell_value","Selector","useHistory","select","setSelect","whenSellOption","setWhenSellOption","whenSellOptionError","setWhenSellOptionError","email","setEmail","telephoneNumber","setTelephoneNumber","emailValidationErrorMessage","setEmailValidationErrorMessage","phoneValidationErrorMessage","setPhoneValidationErrorMessage","name","setName","housingType","numRooms","livingArea","boughtFor","setBoughtFor","propertyArea","builtYear","supplementalArea","monthlyFee","setValuationData","validateEmail","test","String","toLowerCase","validatePhone","phone","loadAndRedirect","a","address","hasStreetNumber","inquiry","Number","whenSell","reason","fullName","setIsPaused","fetchEstimate","estimate","sqmPrice","fetchHousingDeals","maxDistance","housingDeals","setSessionValue","fetchBrokersPromise","fetchBrokers","sort","valuationData","saledate","Date","toISOString","split","lon","numberofrooms","constructionyear","monthlyfee","state","housingtype","formoftenure","livingarea","propertyarea","supplementalarea","extendedValuationPromise","extendedValuation","Promise","all","brokersResult","extendedValuationResult","brokers","createLead","brokerIds","getTopBrokersInCategory","item","Boolean","setTimeout","selectorContainer","contentTitle","btnWithErrorWrapper","btnContainer","searchValidationErrorMessage","enabled","description","inputwithErrorContainer","inputBox","inputTitle","inputWraaperWithIcon","leftIconWrapper","placeholder","input","thousandSeparator","onValueChange","values","info","rightIconWrapper","toolTip","onChange","target","inputGroupWrapper","hideInputArrows","type","pattern","inputMode","baseBtnContainer","evt","shouldReturn","preventDefault","scrollTo","setCanScroll","setFormStep","submitBtn","pointer","housingTypes","icon","InquiryForm","showValidationErrors","setShowValidationErrors","formStep","setHousingType","setNumRooms","setLivingArea","inquiryForm","housingDetailsForm","header","centerHeader","headerTitle","headerContent","src","RightArrow","alt","headerSubTitle","formContainer","formSection","ht","index","selectedHousingType","valid","inputBgWrapper","inputWrapper","mapPlacesHolder","inputLabel","iconVisible","autofocus","customInputClass","customInput","room","handleRoomCounter","autoComplete","StartPage","isPaused","defaultOptions","loop","autoplay","animationData","animDataMobile","rendererSettings","preserveAspectRatio","canScroll","time","toggleScroll","body","classList","add","remove","Header","collapsed","minified","selectedTab","lottie","style","position","top","background","zIndex","options","landscape","isClickToPauseDisabled","bottom","right","borderBottomRightRadius","bird","left","transform","sun","mapTab","useLayoutEffect","css","_len","arguments","args","_key","serializeStyles","keyframes","insertable","apply","anim","toString","this"],"mappings":"iJAEA,SAASA,IACL,MAAmDC,OACnD,MAAO,CACHC,MAFJ,EAAQC,WAGJC,OAHJ,EAA2BC,aAOhB,SAASC,IACpB,MAAgDC,mBAC5CP,KADJ,mBAAOQ,EAAP,KAAyBC,EAAzB,KAaA,OATAC,qBAAU,WACN,SAASC,IACLF,EAAoBT,KAIxB,OADAC,OAAOW,iBAAiB,SAAUD,GAC3B,kBAAMV,OAAOY,oBAAoB,SAAUF,MACnD,IAEIH,I,iCCxBX,8CACe,SAASM,EAA2BC,EAAGC,GACpD,IAAIC,EAAuB,qBAAXC,QAA0BH,EAAEG,OAAOC,WAAaJ,EAAE,cAElE,IAAKE,EAAI,CACP,GAAIG,MAAMC,QAAQN,KAAOE,EAAK,YAA2BF,KAAOC,GAAkBD,GAAyB,kBAAbA,EAAEO,OAAqB,CAC/GL,IAAIF,EAAIE,GACZ,IAAIM,EAAI,EAEJC,EAAI,aAER,MAAO,CACLC,EAAGD,EACHE,EAAG,WACD,OAAIH,GAAKR,EAAEO,OAAe,CACxBK,MAAM,GAED,CACLA,MAAM,EACNC,MAAOb,EAAEQ,OAGbM,EAAG,SAAWC,GACZ,MAAMA,GAERC,EAAGP,GAIP,MAAM,IAAIQ,UAAU,yIAGtB,IAEIC,EAFAC,GAAmB,EACnBC,GAAS,EAEb,MAAO,CACLV,EAAG,WACDR,EAAKA,EAAGmB,KAAKrB,IAEfW,EAAG,WACD,IAAIW,EAAOpB,EAAGqB,OAEd,OADAJ,EAAmBG,EAAKV,KACjBU,GAETR,EAAG,SAAWU,GACZJ,GAAS,EACTF,EAAMM,GAERR,EAAG,WACD,IACOG,GAAoC,MAAhBjB,EAAW,QAAWA,EAAW,S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C,SAAU,WACV3T,OAAQ,OACR8T,QAAS,EACTF,IAAK,EACLQ,wBAAyB,QAE7BpU,OAAQ,OACRF,MAAO,SAgGP2U,OACI,cAAC,EAAD,CACInC,SAAUA,EACVhH,YAAaA,EACbuE,aAAcA,MAI1B,cAACpM,EAAA,EAAD,IACA,cAACoB,EAAA,EAAD,CAAUyC,UAAW,SAErB,cAAClF,EAAA,EAAD,S,gCC/KZ,6HA8GyBkD,EAAK,mBAA8BA,EAAK,mBAA8BoP,kBAmF/F,SAASC,IACP,IAAK,IAAIC,EAAOC,UAAU3T,OAAQ4T,EAAO,IAAI9T,MAAM4T,GAAOG,EAAO,EAAGA,EAAOH,EAAMG,IAC/ED,EAAKC,GAAQF,UAAUE,GAGzB,OAAOC,YAAgBF,GAGzB,IAAIG,EAAY,WACd,IAAIC,EAAaP,EAAIQ,WAAM,EAAQN,WAC/BlL,EAAO,aAAeuL,EAAWvL,KAErC,MAAO,CACLA,KAAMA,EACNpH,OAAQ,cAAgBoH,EAAO,IAAMuL,EAAW3S,OAAS,IACzD6S,KAAM,EACNC,SAAU,WACR,MAAO,QAAUC,KAAK3L,KAAO,IAAM2L,KAAK/S,OAAS","file":"static/js/13.51a345c8.chunk.js","sourcesContent":["import { useState, useEffect } from 'react';\n\nfunction getWindowDimensions() {\n const { innerWidth: width, innerHeight: height } = window;\n return {\n width,\n height,\n };\n}\n\nexport default function useWindowDimensions() {\n const [windowDimensions, setWindowDimensions] = useState(\n getWindowDimensions()\n );\n\n useEffect(() => {\n function handleResize() {\n setWindowDimensions(getWindowDimensions());\n }\n\n window.addEventListener('resize', handleResize);\n return () => window.removeEventListener('resize', handleResize);\n }, []);\n\n return windowDimensions;\n}\n","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n\n var F = function F() {};\n\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","import styles from './footer.module.css';\nimport {\n\tFacebookIcon,\n\tInstagramIcon,\n\tLinkedInIcon,\n\tLogoInverse,\n\tTwitterIcon,\n\tYoutubeIcon,\n} from '../Svg';\nimport { Button } from '../base/Buttons';\n\nconst Footer = (props) => {\n\tconst scrollToSearch = (e) => {\n\t\tdocument.getElementById('inquiryForm').focus();\n\t};\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t

Vi hjälper dig hitta rätt mäklare

\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t\tHitta mäklare\n\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t\tVärdera bostad\n\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t\tBolån\n\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t{/* // Lower Footer */}\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tIntegritetspolicy\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

hello@bytboo.com

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t

© Bytboo 2022

\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t

Saltmästargatan 8A

\n\t\t\t\t\t\t\t\t

113 59 Stockholm

\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t

Org.nr: 559221-5577

\n\t\t\t\t\t\t\t\t

Bankgiro: 5387-5332

\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default Footer;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"footerOuter\":\"footer_footerOuter__2Zsvd\",\"footerTop\":\"footer_footerTop__1ZdDd\",\"footerBottom\":\"footer_footerBottom__12weC\",\"divider\":\"footer_divider__1_lJg\",\"footerLogoWrapper\":\"footer_footerLogoWrapper__N53sU\",\"footerLogoTitle\":\"footer_footerLogoTitle__jPSQn\",\"footerMiddleLeftContent\":\"footer_footerMiddleLeftContent__23APG\",\"footer\":\"footer_footer__jA9Ly\",\"socialList\":\"footer_socialList__fTF42\",\"ctaContainer\":\"footer_ctaContainer__3KEKL\",\"footerContent\":\"footer_footerContent__wcj99\",\"socialIconContainer\":\"footer_socialIconContainer__tnud4\",\"lowerFooter\":\"footer_lowerFooter__a0naO\",\"lowerRight\":\"footer_lowerRight__1o3fX\",\"lowerLeft\":\"footer_lowerLeft__3kSoo\",\"lowerRightInner\":\"footer_lowerRightInner__3qYJL\"};","export default __webpack_public_path__ + \"static/media/RightArrow.a9f226cd.svg\";","// extracted by mini-css-extract-plugin\nmodule.exports = {\"howItWorksContainer\":\"howItWorks_howItWorksContainer__whU6M\",\"howItWorks\":\"howItWorks_howItWorks__3rpHS\",\"header\":\"howItWorks_header__8NC5S\",\"contentBox\":\"howItWorks_contentBox__35sy-\",\"divider\":\"howItWorks_divider__2hwR7\",\"contentBoxItem\":\"howItWorks_contentBoxItem__3sHzT\",\"featureImage\":\"howItWorks_featureImage__2tVmZ\",\"featureTitle\":\"howItWorks_featureTitle__1MzY6\",\"featureDescription\":\"howItWorks_featureDescription__1AKFY\",\"handleStyle\":\"howItWorks_handleStyle__2C_yj\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"mapPromoContainer\":\"mapPromo_mapPromoContainer__1AD0v\",\"mapPromo\":\"mapPromo_mapPromo__m1n21\",\"mapPromoImage\":\"mapPromo_mapPromoImage__uUq3U\",\"mapPromoTitle\":\"mapPromo_mapPromoTitle__22iZs\",\"mapPromoSubTitle\":\"mapPromo_mapPromoSubTitle__1QUXT\",\"ctaContainer\":\"mapPromo_ctaContainer__1xpHv\",\"mapSubmitBtn\":\"mapPromo_mapSubmitBtn__pB4M6\",\"searchContainer\":\"mapPromo_searchContainer__2Y10u\",\"searchOuter\":\"mapPromo_searchOuter__2TzH9\",\"searchOuterBroker\":\"mapPromo_searchOuterBroker__268S3\",\"searchValidationErrorMessage\":\"mapPromo_searchValidationErrorMessage__1C5-4\"};","import { Button } from '../base/Buttons';\nimport analytics from '../../Analytics';\nimport styles from './valuation.module.css';\nconst Valuation = (props) => {\n\n const onSubmit = () => {\n analytics.sendEvent({\n action: 'Submit',\n category: 'Seller',\n label: 'BKöper1',\n });\n\n window.location.href = props.targetUri;\n };\n\n return (\n
\n
\n

\n Ny tjänst! Bytboo köper din bostad. Få pengar inom 48 timmar\n

\n

Ansök kostnadsfritt och få ett fast pris. Sälj utan visningar, stress och osäkerhet.

\n
\n \n
\n
\n
\n );\n};\n\nexport default Valuation;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"valuationContainer\":\"valuation_valuationContainer__3Mb66\",\"valuation\":\"valuation_valuation__26uNh\",\"valuationImage\":\"valuation_valuationImage__18Rwl\",\"ctaContainer\":\"valuation_ctaContainer__3_xYz\"};","import { Award, HeartLock, PlusBubble, TimeIsMoney } from '../Svg';\nimport styles from './why.module.css';\nconst Why = (props) => {\n return (\n
\n
\n
\n

Varför Bytboo?

\n

\n Det kan skilja flera hundratusen i slutpris baserat på\n vilken mäklare du använder. Detta kan vara ett av de\n viktigaste besluten någonsin för din ekonomi.\n

\n
\n
\n
\n
\n \n
\n
\n

\n Chansa inte med den största affären i ditt liv!\n

\n

\n Att sälja sin bostad är ofta den största affären\n i en persons liv, det skulle därför nästan vara\n galet att inte undersöka vem som har störst\n chans att lyckas bäst med just din affär.\n

\n
\n
\n
\n
\n \n
\n
\n

Hitta bäst mäklare för din bostad

\n

\n Mäklare är bra på olika saker. Med Bytboo ser du\n vem som historiskt har lyckats bäst med liknande\n försäljningar i ditt område och därför har\n störst chans att lyckas bäst med din affär.\n

\n
\n
\n
\n
\n \n
\n
\n

Du väljer, vi kontaktar

\n

\n Med Bytboo ser du vilka mäklare som passar din försäljning bäst.\n Vi kontaktar dem åt dig och ber om erbjudande så att du i lugn och ro kan\n jämföra innan du väljer mäklare.\n

\n
\n
\n
\n
\n \n
\n
\n

Inga förpliktelser

\n

\n Du binder inte upp dig på något, om inget\n erbjudande passar dig tackar du bara nej. Bytboo\n är HELT GRATIS för dig som ska sälja!\n

\n
\n
\n
\n
\n
\n );\n};\n\nexport default Why;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"whyContainer\":\"why_whyContainer__3dwNO\",\"why\":\"why_why__2XLpa\",\"header\":\"why_header__K3jL8\",\"featureRow\":\"why_featureRow__2vtOi\",\"featureImage\":\"why_featureImage__3fLU8\",\"featureDescription\":\"why_featureDescription__3ygKw\"};","import styles from './howItWorks.module.css';\nimport clsx from 'clsx';\nimport {\n\tBrokerInfo,\n\tIllustrationImage,\n\tArrowLink,\n\tNotificationSend,\n} from '../Svg';\nimport homeInfo from '../../images/HomeInfo.png';\nimport searchImg from '../../images/Search.png';\nimport notificationImg from '../../images/Notifications.png';\n\nconst HowItWorks = (props) => {\n\tconst scrollToSearch = (e) => {\n\t\tdocument.getElementById('inquiryForm').focus();\n\t};\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t{/*
\n\t\t\t\t\t

Så fungerar Bytboo

\n\t\t\t\t\t

\n\t\t\t\t\t\tVi är din kompass i mäklar-djungeln.\n\t\t\t\t\t

\n\t\t\t\t
*/}\n\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tSe över din boendeekonomi\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tSe genast vad du kan spara fram tills dess att\n\t\t\t\t\t\t\t\tdu flyttar eller vad du kan låna för att kunna\n\t\t\t\t\t\t\t\tköpa din nästa bostad.\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tGå till bolån \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tJämför och välj rätt mäklare för dig\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tVi matchar din bostad med mäklarnas tidigare\n\t\t\t\t\t\t\t\terfarenhet. Du får en lista på de mäklare som\n\t\t\t\t\t\t\t\tlyckats bäst med liknande försäljningar.\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tJämför mäklare nu \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tVärdera din bostad digitalt\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tVärdera din bostad digitalt med vår smarta AI\n\t\t\t\t\t\t\t\tlösning. Se hur mycket din bostad har gått upp i\n\t\t\t\t\t\t\t\tvärde och hur det kan påverka din boendeekonomi\n\t\t\t\t\t\t\t\tidag.\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tPåbörja värdering \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default HowItWorks;\n","export default __webpack_public_path__ + \"static/media/Map.eb264663.png\";","import React, { useState } from 'react';\nimport useSessionStorage from '../../hooks/useSessionStorage';\nimport { Button } from '../base/Buttons';\nimport { ValidationErrorMessage } from '../base/Forms';\nimport Search from '../search/Search';\nimport mapImg from '../../images/Map.png'\nimport styles from './mapPromo.module.css';\nimport { GoogleMap, useJsApiLoader } from '@react-google-maps/api';\nimport useWindowDimensions from '../../hooks/useWindowDimensions';\nimport { Skeleton } from '@mui/material';\nimport BrokerMap from '../BrokerMap';\nimport analytics from '../../Analytics';\n\n\nconst MapPromo = (props) => {\n const [location, setLocation] = useSessionStorage('userLocation', null);\n const [mapZoom, setMapZoom] = useSessionStorage('mapZoom', 5);\n const [showValidationErrors, setShowValidationErrors] = useState(false);\n const { width, height } = useWindowDimensions();\n const [center, setCenter] = useSessionStorage('center', {\n lat: 59.978476,\n lng: 14.81514,\n });\n const containerStyle = {\n width: width > 500 ? '800px' : `${width - 50}px`,\n height: '400px'\n };\n const [map, setMap] = React.useState(null)\n\n const onLoad = React.useCallback(function callback(map) {\n const bounds = new window.google.maps.LatLngBounds();\n map.fitBounds(bounds);\n setMap(map)\n }, [])\n\n const onUnmount = React.useCallback(function callback(map) {\n setMap(null)\n }, [])\n\n const { isLoaded } = useJsApiLoader({\n id: 'google-map-script',\n googleMapsApiKey: process.env.REACT_APP_MAPS_KEY\n })\n\n return (\n
\n
\n

\n Vad fick grannen för sin bostad?\n

\n

Skriv in din adress och se de senaste försäljningarna i ditt område och vilka mäklare som förmedlat affären.

\n\n
\n {\n analytics.sendEvent({\n action: 'Submit',\n category: 'Seller',\n label: 'Form - Address',\n });\n setLocation(location);\n }} />\n
\n
\n\n (window.location.href = props.targetUri)}\n />\n
\n
\n
\n {isLoaded ?\n \n // \n : }\n
\n
\n );\n};\n\nexport default MapPromo;\n","export default function _taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"headerTitle\":\"inquiryForm_headerTitle__1neL-\",\"headerSubTitle\":\"inquiryForm_headerSubTitle__3sCcG\",\"headerContent\":\"inquiryForm_headerContent__NzxDv\",\"inquiryForm\":\"inquiryForm_inquiryForm__S696t\",\"housingDetailsForm\":\"inquiryForm_housingDetailsForm__OypaO\",\"contactForm\":\"inquiryForm_contactForm__1ic8f\",\"hidden\":\"inquiryForm_hidden__gkEih\",\"terms\":\"inquiryForm_terms__3s0vl\",\"formTitle\":\"inquiryForm_formTitle__3qFza\",\"loading\":\"inquiryForm_loading__2Qaug\",\"loadingIcon\":\"inquiryForm_loadingIcon__3sOPA\",\"header\":\"inquiryForm_header__2usSf\",\"formContainer\":\"inquiryForm_formContainer__bqNKP\",\"centerHeader\":\"inquiryForm_centerHeader__12Qvd\",\"formSectionTwoCol\":\"inquiryForm_formSectionTwoCol__2o2Wz\",\"formSection\":\"inquiryForm_formSection__aZ6Dd\",\"housingTypes\":\"inquiryForm_housingTypes__3EA96\",\"housingTypeContainer\":\"inquiryForm_housingTypeContainer__3e-pG\",\"housingType\":\"inquiryForm_housingType__1gc_z\",\"selectedHousingType\":\"inquiryForm_selectedHousingType__151y7\",\"inputwithErrorContainer\":\"inquiryForm_inputwithErrorContainer__3cT3N\",\"inputWrapper\":\"inquiryForm_inputWrapper__3i7FH\",\"inputBgWrapper\":\"inquiryForm_inputBgWrapper__yN3Qb\",\"inputLabel\":\"inquiryForm_inputLabel__LdonR\",\"mapPlacesHolder\":\"inquiryForm_mapPlacesHolder__2u7IA\",\"customInput\":\"inquiryForm_customInput__3Speq\",\"searchOuterBroker\":\"inquiryForm_searchOuterBroker__18ltO\",\"searchValidationErrorMessage\":\"inquiryForm_searchValidationErrorMessage__1C_5E\",\"inputGroupWrapper\":\"inquiryForm_inputGroupWrapper__3VsF6\",\"brokersList\":\"inquiryForm_brokersList__3j1O2\",\"brokersListItem\":\"inquiryForm_brokersListItem__2KUfS\",\"imageContainer\":\"inquiryForm_imageContainer__2iR2v\",\"titleContainer\":\"inquiryForm_titleContainer__1iyIG\",\"brokerSummary\":\"inquiryForm_brokerSummary__27Z0-\",\"brokerCompany\":\"inquiryForm_brokerCompany__WRhWP\",\"brokerTitle\":\"inquiryForm_brokerTitle__2jZux\",\"brokerName\":\"inquiryForm_brokerName__XoVfi\",\"brokerRemove\":\"inquiryForm_brokerRemove__1q9_c\",\"submitBtn\":\"inquiryForm_submitBtn__1F95T\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"btn\":\"button_btn__3frSy\",\"active\":\"button_active__1GgHr\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"selectorContainer\":\"selector_selectorContainer__2ieuF\",\"contentTitle\":\"selector_contentTitle__25BkK\",\"btnWithErrorWrapper\":\"selector_btnWithErrorWrapper__-wuSK\",\"btnContainer\":\"selector_btnContainer__rt2iN\",\"active\":\"selector_active__3lR7W\",\"inputTitle\":\"selector_inputTitle__S5fzC\",\"inputBox\":\"selector_inputBox__2lTpD\",\"inputBoxHalf\":\"selector_inputBoxHalf__2poQF\",\"hideInputArrows\":\"selector_hideInputArrows__1eUWb\",\"inputGroupWrapper\":\"selector_inputGroupWrapper__GXWzO\",\"inputwithErrorContainer\":\"selector_inputwithErrorContainer__fPUFw\",\"searchValidationErrorMessage\":\"selector_searchValidationErrorMessage__1x9A8\",\"inputWraaperWithIcon\":\"selector_inputWraaperWithIcon__2N5Xk\",\"rightIconWrapper\":\"selector_rightIconWrapper__1L4HM\",\"toolTip\":\"selector_toolTip__2QzUn\",\"submitBtn\":\"selector_submitBtn__2Aw2F\",\"baseBtnContainer\":\"selector_baseBtnContainer__1dB7c\"};","import clsx from 'clsx';\nimport React from 'react';\nimport styles from './button.module.css';\n\nfunction Button({ label, active,onClick }) {\n\treturn (\n\t\t\n\t\t\t{label}\n\t\t\n\t);\n}\n\nexport default Button;\n","import React, { useState } from 'react';\nimport Button from './Button';\nimport { Button as BaseButton } from '../base/Buttons';\nimport styles from './selector.module.css';\nimport clsx from 'clsx';\nimport { useHistory } from 'react-router-dom';\nimport useSessionStorage from '../../hooks/useSessionStorage';\nimport {\n\tfetchHousingDeals,\n\tfetchBrokers,\n\tfetchEstimate,\n\tsetSessionValue,\n\tcreateLead,\n\tgetTopBrokersInCategory,\n\textendedValuation,\n} from '../../util';\nimport useWindowDimensions from '../../hooks/useWindowDimensions';\nimport { ValidationErrorMessage } from '../base/Forms';\nimport { LoanPreliminary, Question } from '../Svg';\nimport NumberFormat from 'react-number-format';\nimport analytics from '../../Analytics';\n\nconst btnList = [\n\t{\n\t\tkey: 'WANT_TO_SELL',\n\t\tlabel: 'Ska sälja och letar efter rätt mäklare',\n\t\twhen_sell_value: 'WANT_TO_SELL',\n\t},\n\t{\n\t\tkey: 'CONSIDERING_SALE',\n\t\tlabel: 'Kan tänka mig att sälja under rätt förutsättningar',\n\t\twhen_sell_value: 'CONSIDERING_SALE',\n\t},\n\t{\n\t\tkey: 'WANT_ADVICE',\n\t\tlabel: 'Går i säljtankar, får gärna tips och råd',\n\t\twhen_sell_value: 'WANT_ADVICE',\n\t},\n];\n\nfunction Selector(props) {\n\tconst history = useHistory();\n\tconst { width, height } = useWindowDimensions();\n\tconst [location, setLocation] = useSessionStorage('userLocation', null);\n\tconst [select, setSelect] = useSessionStorage('mortGage', null);\n\tconst [whenSellOption, setWhenSellOption] = useSessionStorage(\n\t\t'whenSellOption',\n\t\tnull\n\t);\n\tconst [whenSellOptionError, setWhenSellOptionError] = useState(null);\n\tconst [email, setEmail] = useSessionStorage('contactEmail', null);\n\tconst [telephoneNumber, setTelephoneNumber] =\n\t\tuseSessionStorage('contactPhoneNumber');\n\tconst [emailValidationErrorMessage, setEmailValidationErrorMessage] =\n\t\tuseState(null);\n\tconst [phoneValidationErrorMessage, setPhoneValidationErrorMessage] =\n\t\tuseState(null);\n\tconst [name, setName] = useSessionStorage('name', null);\n\tconst [housingType, setHousingType] = useSessionStorage(\n\t\t'startPageHousingTyoe',\n\t\tnull\n\t);\n\tconst [numRooms, setNumRooms] = useSessionStorage(\n\t\t'startPageNumRooms',\n\t\tnull\n\t);\n\tconst [livingArea, setLivingArea] = useSessionStorage(\n\t\t'startPageLivingArea',\n\t\tnull\n\t);\n\tconst [boughtFor, setBoughtFor] = useSessionStorage('boughtFor', null);\n\n\tconst [propertyArea, setPropertyArea] = useSessionStorage(\n\t\t'propertyArea',\n\t\t''\n\t);\n\tconst [builtYear, setBuiltYear] = useSessionStorage('builtYear', '');\n\tconst [supplementalArea, setSupplementalArea] = useSessionStorage(\n\t\t'supplementalArea',\n\t\t''\n\t);\n\tconst [monthlyFee, setMonthlyFee] = useSessionStorage('monthlyFee', '');\n\tconst [valuationData, setValuationData] = useSessionStorage(\n\t\t'valuation',\n\t\tnull\n\t);\n\n\tconst handleSubmit = (evt) => {\n\t\tlet shouldReturn = false;\n\t\tif (!email) {\n\t\t\tsetEmailValidationErrorMessage('Ange din mailadress');\n\t\t\tshouldReturn = true;\n\t\t} else if (!validateEmail(email)) {\n\t\t\tsetEmailValidationErrorMessage('Ogiltig mailadress');\n\t\t\tshouldReturn = true;\n\t\t} else {\n\t\t\tsetEmailValidationErrorMessage(null);\n\t\t}\n\n\t\tif (!telephoneNumber) {\n\t\t\tsetPhoneValidationErrorMessage('Ange ditt telefonnummer');\n\t\t\tshouldReturn = true;\n\t\t} else if (!validatePhone(telephoneNumber)) {\n\t\t\tsetPhoneValidationErrorMessage('Ogiltigt telefonnummer');\n\t\t\tshouldReturn = true;\n\t\t} else {\n\t\t\tsetPhoneValidationErrorMessage(null);\n\t\t}\n\t\tif (!whenSellOption) {\n\t\t\tsetWhenSellOptionError('Välj ett värde');\n\t\t\tshouldReturn = true;\n\t\t} else {\n\t\t\tsetWhenSellOptionError(null);\n\t\t}\n\n\t\tif (shouldReturn) {\n\t\t\tevt.preventDefault();\n\t\t\treturn;\n\t\t}\n\n\t\twindow.scrollTo(0, 0);\n\t\tprops.setCanScroll(false);\n\t\tprops.setFormStep('loading');\n\t\tloadAndRedirect();\n\t};\n\n\tconst validateEmail = (email) => {\n\t\tconst re =\n\t\t\t/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i;\n\t\treturn re.test(String(email).toLowerCase());\n\t};\n\n\tconst validatePhone = (phone) => {\n\t\tconst re =\n\t\t\t/^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$/im;\n\t\treturn re.test(String(phone).toLowerCase());\n\t};\n\n\tconst handleBtnClick = (btnName) => {\n\t\tsetSelect(btnName.key);\n\t};\n\n\tconst loadAndRedirect = async () => {\n\t\tconst { lat, lng, address, hasStreetNumber } = location;\n\t\tconst inquiry = {\n\t\t\tlat: Number(lat),\n\t\t\tlng: Number(lng),\n\t\t\tlivingArea: Number(livingArea),\n\t\t\tnumRooms: Number(numRooms),\n\t\t\thousingType,\n\t\t\ttelephoneNumber,\n\t\t\temail,\n\t\t\tboughtFor,\n\t\t\twhenSell: whenSellOption,\n\t\t\taddress,\n\t\t\treason: 'sell',\n\t\t\tfullName: name,\n\t\t};\n\t\tprops.setIsPaused(false);\n\t\tconst estimate = await fetchEstimate({ lat, lng });\n\t\tinquiry.estimate = estimate.sqmPrice * inquiry.livingArea;\n\n\t\tconst housingDeals = await fetchHousingDeals({\n\t\t\tlat,\n\t\t\tlng,\n\t\t\tmaxDistance: 500,\n\t\t});\n\t\tsetSessionValue('housingDeals', housingDeals);\n\n\t\tconst fetchBrokersPromise = fetchBrokers({\n\t\t\tlat: lat,\n\t\t\tlng: lng,\n\t\t\tsort: 'sold',\n\t\t});\n\n\t\tconst valuationData = {\n\t\t\tsaledate: new Date().toISOString().split('T')[0],\n\t\t\tlat: lat,\n\t\t\tlon: lng,\n\t\t\tnumberofrooms: numRooms ? Number(numRooms) : 0,\n\t\t\tconstructionyear: builtYear ? Number(builtYear) : 0,\n\t\t\tmonthlyfee: monthlyFee ? Number(monthlyFee) : 0,\n\t\t\taddress: address,\n\t\t\tstate: 'sold',\n\t\t\thousingtype: housingType,\n\t\t\tformoftenure: 'Äganderätt',\n\t\t\tlivingarea: livingArea ? Number(livingArea) : 0,\n\t\t\tpropertyarea: supplementalArea ? Number(supplementalArea) : 0,\n\t\t\tsupplementalarea: propertyArea ? Number(propertyArea) : 0,\n\t\t};\n\t\tconst extendedValuationPromise = extendedValuation(valuationData);\n\n\t\tconst [brokersResult, extendedValuationResult] = await Promise.all([\n\t\t\tfetchBrokersPromise,\n\t\t\textendedValuationPromise,\n\t\t]);\n\n\t\tsetSessionValue('brokers', brokersResult.brokers);\n\t\tsetValuationData(extendedValuationResult);\n\n\t\tawait createLead({\n\t\t\t...inquiry,\n\t\t\tbrokerIds: getTopBrokersInCategory(brokersResult?.brokers).map(\n\t\t\t\t(item) => item.id\n\t\t\t),\n\t\t});\n\n\t\tanalytics.sendEvent({\n\t\t\taction: 'Submit',\n\t\t\tcategory: 'Seller',\n\t\t\tlabel: 'Goal 1 - Lead',\n\t\t});\n\n\t\tsetSessionValue('brokerHousingDeals', brokersResult.housingDeals);\n\t\tsetSessionValue('selectedTab', 'brokers');\n\t\tsetSessionValue('inquiry', inquiry);\n\t\tsetSessionValue('center', { lat: inquiry.lat, lng: inquiry.lng });\n\t\tsetSessionValue('userLocation', {\n\t\t\tlat: inquiry.lat,\n\t\t\tlng: inquiry.lng,\n\t\t\taddress,\n\t\t\thasStreetNumber: Boolean(hasStreetNumber),\n\t\t});\n\t\tsetSessionValue('lastHousingDeals', null);\n\t\tsetSessionValue('mapZoom', 16);\n\t\tsetSessionValue('isHeaderCollapsed', true);\n\t\tsetTimeout(\n\t\t\tasync () => {\n\t\t\t\tawait props.setIsPaused(true);\n\t\t\t\twindow.location.href = '/dashboard';\n\t\t\t},\n\t\t\twidth <= 500 ? 1000 : 1000\n\t\t);\n\t};\n\treturn (\n\t\t
\n\t\t\t

Var är du i din bostadsresa?

\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{btnList.map((btn, i) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\thandleBtnClick(btn);\n\t\t\t\t\t\t\t\t\tsetWhenSellOption(btn.when_sell_value);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\tlabel={btn.label}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t\t{width <= 500 && (\n\t\t\t\t\t

Vad köpte du för?

\n\t\t\t\t)}\n\t\t\t\t
\n\t\t\t\t\t{width > 500 && (\n\t\t\t\t\t\t

Vad köpte du för?

\n\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t\t\t{width <= 500 && (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{/* setSum(e.target.value)}\n\t\t\t\t\t\t\tvalue={sum}\n\t\t\t\t\t\t\tclassName={styles.input}\n\t\t\t\t\t\t\tplaceholder=\"Summa (valfritt)\"\n\t\t\t\t\t\t/> */}\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetBoughtFor(values.value);\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tKr\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tFör att kunna räkna ut bostadens värdeökning\n\t\t\t\t\t\t\t\tsedan köp behöver vi veta vad du köpte din\n\t\t\t\t\t\t\t\tbostad för.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t\t

Kontaktuppgifter

\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{width > 500 && (\n\t\t\t\t\t\t

Mailadress

\n\t\t\t\t\t)}\n\t\t\t\t\t setEmail(e.target.value)}\n\t\t\t\t\t\tvalue={email}\n\t\t\t\t\t\tclassName={styles.input}\n\t\t\t\t\t\tplaceholder=\"Din mailadress\"\n\t\t\t\t\t/>\n\t\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{width > 500 && (\n\t\t\t\t\t\t\t

Namn

\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t setName(e.target.value)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{width > 500 && (\n\t\t\t\t\t\t\t

Telefon nr

\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t setTelephoneNumber(e.target.value)}\n\t\t\t\t\t\t\tvalue={telephoneNumber}\n\t\t\t\t\t\t/>\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t

\n\t\t\t\tGenom att fortsätta accepterar du vår{' '}\n\t\t\t\tintegritetspolicy\n\t\t\t

\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t);\n}\n\nexport default Selector;\n","import styles from './inquiryForm.module.css';\nimport { useState } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport clsx from 'clsx';\nimport {\n\tApartment,\n\tCabin,\n\tHouse,\n\tLoadingGrid,\n\tLoader,\n\tTownHouse,\n\tRemove,\n\tFrontMountain,\n\tBackMountain,\n\tInputLocationMarker,\n} from '../Svg';\nimport useSessionStorage from '../../hooks/useSessionStorage';\nimport {\n\tCounterInput,\n\tNumericInput,\n\tTextInput,\n\tValidationErrorMessage,\n} from '../base/Forms';\nimport Search from '../search/Search';\nimport BrokerSearch from '../search/BrokerSearch';\nimport { Button } from '../base/Buttons';\nimport BrokerImage from '../base/BrokerImage';\nimport {\n\tfetchHousingDeals,\n\tfetchBrokers,\n\tfetchEstimate,\n\tsetSessionValue,\n\tcreateLead,\n\tgetTopBrokersInCategory,\n} from '../../util';\nimport analytics from '../../Analytics';\nimport useWindowDimensions from '../../hooks/useWindowDimensions';\nimport Selector from '../../components/housing/Selector';\nimport RightArrow from '../../images/RightArrow.svg';\n\nconst housingTypes = [\n\t{\n\t\tname: 'Bostadsrätt',\n\t\ttype: 'condominium',\n\t\ticon: ,\n\t},\n\t{\n\t\tname: 'Villa',\n\t\ttype: 'house',\n\t\ticon: ,\n\t},\n\t{\n\t\tname: 'Fritidshus',\n\t\ttype: 'holidayhome',\n\t\ticon: ,\n\t},\n\t{\n\t\tname: 'Radhus',\n\t\ttype: 'townhouse',\n\t\ticon: ,\n\t},\n];\n\nconst InquiryForm = (props) => {\n\tconst history = useHistory();\n\tconst { width, height } = useWindowDimensions();\n\n\tconst [showValidationErrors, setShowValidationErrors] = useState(false);\n\tconst [email, setEmail] = useSessionStorage('contactEmail', null);\n\tconst [telephoneNumber, setTelephoneNumber] =\n\t\tuseSessionStorage('contactPhoneNumber');\n\tconst [formStep, setFormStep] = useState('housing');\n\tconst [housingType, setHousingType] = useSessionStorage(\n\t\t'startPageHousingTyoe',\n\t\tnull\n\t);\n\tconst [location, setLocation] = useSessionStorage('userLocation', null);\n\tconst [numRooms, setNumRooms] = useSessionStorage('startPageNumRooms', 0);\n\tconst [livingArea, setLivingArea] = useSessionStorage(\n\t\t'startPageLivingArea',\n\t\tnull\n\t);\n\tconst [selectedBrokers, setSelectedBrokers] = useSessionStorage(\n\t\t'selected_custom_brokers',\n\t\t[]\n\t);\n\n\tconst onSelectBroker = (broker) => {\n\t\tif (selectedBrokers.find((item) => item.id === broker.id)) {\n\t\t\treturn;\n\t\t}\n\t\tsetSelectedBrokers(selectedBrokers.concat(broker));\n\t};\n\n\tconst removeBroker = (broker) => {\n\t\tsetSelectedBrokers(\n\t\t\tselectedBrokers.filter((item) => item.id !== broker.id)\n\t\t);\n\t};\n\n\tconst setHouseType = (a) => {\n\t\tif (housingType === null && width >= 500) {\n\t\t\tprops.setIsPaused(false);\n\t\t\tsetTimeout(() => {\n\t\t\t\tprops.setIsPaused(true);\n\t\t\t}, 1000);\n\t\t}\n\t\tsetHousingType(a);\n\t};\n\n\tconst onSubmitHousingDealsClicked = (evt) => {\n\t\tif (!location || !numRooms || !livingArea || !housingType) {\n\t\t\tsetShowValidationErrors(true);\n\t\t\tevt.preventDefault();\n\t\t\treturn;\n\t\t}\n\n\t\twindow.scrollTo(0, 0);\n\t\tsetShowValidationErrors(false);\n\t\tsetFormStep('contact');\n\t\tif (width >= 500) {\n\t\t\tprops.setIsPaused(false);\n\t\t\tsetTimeout(() => {\n\t\t\t\tprops.setIsPaused(true);\n\t\t\t}, 1000);\n\t\t}\n\t\tanalytics.sendEvent({\n\t\t\taction: 'Submit',\n\t\t\tcategory: 'Seller',\n\t\t\tlabel: 'Form - Residence Details',\n\t\t});\n\n\t\t// history.push('inquiry/contact');\n\t\t// history.push('/housing-journey')\n\t};\n\n\tconst onSubmitContactDetailsClicked = (evt) => {\n\t\tif (!email || !telephoneNumber) {\n\t\t\tsetShowValidationErrors(true);\n\t\t\tevt.preventDefault();\n\t\t\treturn;\n\t\t}\n\t\tsetFormStep('loading');\n\t\tloadAndRedirect();\n\t};\n\n\tconst loadAndRedirect = async () => {\n\t\tconst { lat, lng, address, hasStreetNumber } = location;\n\t\tconst inquiry = {\n\t\t\tlat: Number(lat),\n\t\t\tlng: Number(lng),\n\t\t\tlivingArea: Number(livingArea),\n\t\t\tnumRooms: Number(numRooms),\n\t\t\thousingType,\n\t\t\ttelephoneNumber,\n\t\t\temail,\n\t\t\taddress,\n\t\t\treason: 'sell',\n\t\t};\n\t\t// TODO: This Fetch APi is failing\n\t\tconst estimate = await fetchEstimate({ lat, lng });\n\t\tinquiry.estimate = estimate.sqmPrice * inquiry.livingArea;\n\t\t// TODO: This fetch Housing details api is failing\n\t\tconst housingDeals = await fetchHousingDeals({\n\t\t\tlat,\n\t\t\tlng,\n\t\t\tmaxDistance: 500,\n\t\t});\n\t\tsetSessionValue('housingDeals', housingDeals);\n\t\t// TODO: This fetch the api is failing as well\n\t\tconst result = await fetchBrokers({\n\t\t\tlat: lat,\n\t\t\tlng: lng,\n\t\t\tsort: 'sold',\n\t\t});\n\t\tsetSessionValue('brokers', result.brokers);\n\t\tawait createLead({\n\t\t\t...inquiry,\n\t\t\tbrokerIds: getTopBrokersInCategory(result?.brokers).map(\n\t\t\t\t(item) => item.id\n\t\t\t),\n\t\t});\n\t\tanalytics.sendEvent({\n\t\t\taction: 'Submit',\n\t\t\tcategory: 'Seller',\n\t\t\tlabel: 'Form - Contact Info',\n\t\t});\n\n\t\tsetSessionValue('brokerHousingDeals', result.housingDeals);\n\t\tsetSessionValue('selectedTab', 'brokers');\n\t\tsetSessionValue('inquiry', inquiry);\n\t\tsetSessionValue('center', { lat: inquiry.lat, lng: inquiry.lng });\n\t\tsetSessionValue('userLocation', {\n\t\t\tlat: inquiry.lat,\n\t\t\tlng: inquiry.lng,\n\t\t\taddress,\n\t\t\thasStreetNumber: Boolean(hasStreetNumber),\n\t\t});\n\t\tsetSessionValue('mapZoom', 16);\n\t\tsetSessionValue('isHeaderCollapsed', true);\n\t\twindow.location.href = '/app';\n\t};\n\tconst handleRoomCounter = (type) => {\n\t\tif (type === 'sub') {\n\t\t\tif (numRooms !== 0) {\n\t\t\t\tsetNumRooms(numRooms - 1);\n\t\t\t} else {\n\t\t\t\tsetNumRooms(0);\n\t\t\t}\n\t\t} else {\n\t\t\tsetNumRooms(numRooms + 1);\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{formStep !== 'loading' && (\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\tVi hjälper dig i bostadsresan\n\t\t\t\t\t\t

\n\t\t\t\t\t\t{formStep !== 'contact' &&\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\tJämför och välj rätt mäklare för dig\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\tFå en digital värdeindikation på 1 minut\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\tSe över din boendeekonomi och lånelöfte\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\tFå en digital värdeindikation på din bostad baserat på historiska försäljningar av liknande bostäder i ditt område med hjälp av maskininlärning. Sök på och jämför mäklare för att hitta den som passar just dig. Se över din boendeekonomi.\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{formStep == 'housing' && (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{housingTypes.map((ht, index) => (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tsetHouseType(ht.type)\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t{ht.icon}\n\t\t\t\t\t\t\t\t\t\t\t\t{ht.name}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{width > 500 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tAddress\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tanal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\t\t\t\t\t\t\t\t\te.target.value\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"livingArea\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Ange kvm\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue={livingArea}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{formStep == 'contact' && (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default InquiryForm;\n","import Header from '../components/base/Header';\nimport Footer from '../components/startpage/Footer';\nimport HowItWorks from '../components/startpage/HowItWorks';\nimport InquiryForm from '../components/startpage/InquiryForm';\nimport MapPromo from '../components/startpage/MapPromo';\nimport Valuation from '../components/startpage/Valuation';\nimport Why from '../components/startpage/Why';\nimport animDataDesktop from '../images/desktop.json';\nimport animDataMobile from '../images/mobile.json';\nimport bird from '../images/anim/bird.json';\nimport landscape from '../images/anim/lanscape.json';\nimport sun from '../images/anim/sun.json';\nimport useWindowDimensions from '../hooks/useWindowDimensions';\nimport Lottie from 'react-lottie';\nimport { useEffect, useState } from 'react';\nimport useSessionStorage from '../hooks/useSessionStorage';\n\nconst StartPage = (props) => {\n\n const { width, height } = useWindowDimensions()\n const [isPaused, setIsPaused] = useState(false);\n const [housingType, setHousingType] = useSessionStorage('startPageHousingTyoe', null);\n const defaultOptions = {\n loop: false,\n autoplay: true,\n animationData: animDataMobile,\n rendererSettings: {\n preserveAspectRatio: 'xMidYMid slice',\n }\n };\n const [canScroll, setCanScroll] = useState(true);\n\n useEffect(() => {\n if (width >= 500) {\n let time = 1000;\n if (housingType != null) {\n time = time + 1000;\n }\n setTimeout(() => {\n setIsPaused(true)\n }, time)\n } else {\n setIsPaused(true)\n }\n }, [])\n\n useEffect(() => {\n toggleScroll();\n }, [canScroll])\n\n const toggleScroll = () => {\n !canScroll && document.body.classList.add(\"stop-scrolling\");;\n canScroll && document.body.classList.remove(\"stop-scrolling\");;\n }\n\n const lottieView = () => {\n return (\n \n )\n }\n\n const lottieBird = () => {\n return (\n \n )\n }\n\n const lottieLancscape = () => {\n return (\n \n )\n }\n\n const lottieSun = () => {\n return (\n \n )\n }\n\n const desktopLottie = () => {\n return (\n
\n {lottieLancscape()}\n {lottieBird()}\n {lottieSun()}\n
\n )\n }\n\n return (\n <>\n
= 500 ? desktopLottie() : lottieView()}\n mapTab={\n \n }\n />\n \n \n {/* */}\n