{"version":3,"sources":["webpack:///./node_modules/core-js/internals/to-string-tag-support.js","webpack:///./src/helpers/customer/index.ts","webpack:///./src/components/MapSideLegend.vue?738b","webpack:///./src/components/StageMap.vue?0a42","webpack:///./src/components/ui/ToggleButton.vue?c635","webpack:///./src/components/ui/ToggleButton.vue","webpack:///./src/components/ui/ToggleButton.vue?09e8","webpack:///./src/enums/BuilderSliderSteps.ts","webpack:///./src/components/builder/budget-houses/HouseCard.vue?059f","webpack:///./src/components/builder/budget-houses/HouseCard.vue","webpack:///./src/components/builder/budget-houses/HouseCard.vue?9f00","webpack:///./src/components/builder/budget-houses/ListHouses.vue?edc1","webpack:///./src/components/builder/budget-houses/ListHouses.vue","webpack:///./src/components/builder/budget-houses/ListHouses.vue?79a3","webpack:///./src/components/ui/modals/BuilderInitialHoldModal.vue?515e","webpack:///./src/components/builder/CustomizeHouseSlider.vue?5a16","webpack:///./src/components/ui/LottrackrPoweredIcon.vue?1f04","webpack:///./src/components/ui/LottrackrPoweredIcon.vue","webpack:///./src/components/ui/LottrackrPoweredIcon.vue?c7e4","webpack:///./src/components/MapSideLegend.vue?b0e1","webpack:///./src/components/MapSideLegend.vue","webpack:///./src/components/MapSideLegend.vue?47a4","webpack:///./node_modules/vue3-carousel/dist/carousel.es.js","webpack:///./node_modules/core-js/internals/error-stack-clear.js","webpack:///./src/components/ui/modals/BuilderLotsMapModal.vue?2edb","webpack:///./src/components/StageList.vue?5596","webpack:///./src/components/StageList.vue","webpack:///./src/components/StageList.vue?cd4d","webpack:///./src/components/ui/input/CheckboxInput.vue?3fc0","webpack:///./src/components/ui/input/CheckboxInput.vue","webpack:///./src/components/ui/input/CheckboxInput.vue?bcd1","webpack:///./node_modules/core-js/modules/es.array.reduce.js","webpack:///./src/enums/BuilderBuildBudgetEnum.ts","webpack:///./src/components/ui/modals/BuilderRequestMessageSendModal.vue?ff4b","webpack:///./src/components/ui/modals/BuilderLotsMapModal.vue?3993","webpack:///./src/components/ui/modals/BuilderLotsMapModal.vue","webpack:///./src/components/ui/modals/BuilderLotsMapModal.vue?1da5","webpack:///./src/components/maps/EstateSvgMap.vue?f604","webpack:///./src/components/ui/modals/BuilderFiltersHousesModal.vue?b73b","webpack:///./src/components/ui/modals/BuilderFiltersHousesModal.vue","webpack:///./src/components/ui/modals/BuilderFiltersHousesModal.vue?1021","webpack:///./src/helpers/klaviyo/klaviyo-error-handler.helper.ts","webpack:///./src/features/useIsDesktop.ts","webpack:///./src/components/builder/budget-houses/ListHouses.vue?6562","webpack:///./src/components/builder/BuilderSelectionHouse.vue?5901","webpack:///./src/enums/BuilderStepsIds.ts","webpack:///./src/helpers/phone-number.ts","webpack:///./src/helpers/validation.ts","webpack:///./node_modules/core-js/internals/function-apply.js","webpack:///./src/components/builder/budget-houses/house-details/HouseAndLotDetails.vue?507b","webpack:///./src/enums/BuilderFeatures.ts","webpack:///./src/components/builder/budget-houses/house-details/HouseBrowseInteriors.vue?ca76","webpack:///./src/helpers/heightAnimation.ts","webpack:///./src/components/ui/modals/ConfirmDeleteModal.vue?34c2","webpack:///./src/components/ui/modals/ConfirmDeleteModal.vue","webpack:///./src/components/ui/modals/ConfirmDeleteModal.vue?25ca","webpack:///./src/components/builder/budget-houses/house-details/HouseQuestion.vue?30f7","webpack:///./src/components/builder/budget-houses/FilterHouses.vue?080d","webpack:///./src/components/maps/EstateSvgMap.vue?52b6","webpack:///./src/components/maps/EstateSvgMap.vue","webpack:///./src/components/maps/EstateSvgMap.vue?c230","webpack:///./src/components/builder/budget-houses/house-details/HouseDetailsForLandPackage.vue?2c93","webpack:///./src/components/builder/budget-houses/house-details/HouseDetailsForLandPackage.vue","webpack:///./src/components/builder/budget-houses/house-details/HouseDetailsForLandPackage.vue?46e9","webpack:///./src/components/Lot/LotButtonLink.vue?65ff","webpack:///./src/features/plural.ts","webpack:///./node_modules/core-js/internals/a-possible-prototype.js","webpack:///./src/helpers/vuelidate.ts","webpack:///./src/components/builder/budget-houses/house-details/BuilderHouseBorrowHeaderMobile.vue?031a","webpack:///./src/components/builder/budget-houses/house-details/BuilderHouseBorrowHeaderMobile.vue","webpack:///./src/components/builder/budget-houses/house-details/BuilderHouseBorrowHeaderMobile.vue?00b8","webpack:///./src/enums/MapPages.ts","webpack:///./src/components/ui/modals/BuilderRequestMessageModal.vue?297d","webpack:///./src/components/ui/modals/BuilderRequestMessageModal.vue","webpack:///./src/components/ui/modals/BuilderRequestMessageModal.vue?1fe8","webpack:///./src/components/builder/budget-houses/house-details/HouseNameAndFeatures.vue?2203","webpack:///./src/components/builder/budget-houses/house-details/HouseNameAndFeatures.vue","webpack:///./src/components/builder/budget-houses/house-details/HouseNameAndFeatures.vue?15be","webpack:///./src/components/builder/BuilderSliderImages.vue?eaa7","webpack:///./src/helpers/async.ts","webpack:///./src/components/StageNavMobile.vue?cdcf","webpack:///./src/components/StageNavMobile.vue","webpack:///./src/components/StageNavMobile.vue?0ba0","webpack:///./src/components/ui/modals/ConfirmDeleteModal.vue?8f89","webpack:///./src/assets/images/builder/image-question-builder.jpg","webpack:///./src/components/builder/budget-houses/house-details/BuilderSliderMobile.vue?6322","webpack:///./src/components/builder/budget-houses/house-details/BuilderLogo.vue?1bca","webpack:///./src/components/builder/budget-houses/house-details/BuilderLogo.vue","webpack:///./src/components/builder/budget-houses/house-details/BuilderLogo.vue?0bea","webpack:///./src/helpers/user.ts","webpack:///./src/components/builder/BuilderLightboxImages.vue?801c","webpack:///./src/components/builder/BuilderLightboxImages.vue","webpack:///./src/components/builder/BuilderLightboxImages.vue?c726","webpack:///./src/helpers/scroll-modal.helper.ts","webpack:///./src/components/builder/BuilderLightboxImages.vue?75a9","webpack:///./src/components/ui/modals/BuilderFiltersHousesModal.vue?d119","webpack:///./src/components/StageList.vue?14c3","webpack:///./src/helpers/lot/setLotEstate.helper.ts","webpack:///./node_modules/core-js/internals/to-string.js","webpack:///./src/components/ui/InfoWithIcon.vue?16af","webpack:///./src/components/ui/InfoWithIcon.vue","webpack:///./src/components/ui/InfoWithIcon.vue?f01e","webpack:///./src/components/builder/budget-houses/house-details/HouseDimensionsAndInclusions.vue?95d5","webpack:///./src/components/stage/StageButtonLink.vue?d4f1","webpack:///./node_modules/dayjs/dayjs.min.js","webpack:///./src/helpers/initialHold/calculateStateFromPostcode.ts","webpack:///./node_modules/core-js/internals/engine-is-node.js","webpack:///./src/helpers/smoothScrollToElement.ts","webpack:///./src/components/builder/budget-houses/house-details/BuilderHouseBorrowHeaderMobile.vue?1ff8","webpack:///./src/constants/errorsMessages.ts","webpack:///./src/components/maps/StageSvgMap.vue?e403","webpack:///./src/components/ui/modals/SuccessRequestReserveModal.vue?39e0","webpack:///./src/components/ui/modals/SuccessRequestReserveModal.vue","webpack:///./src/components/ui/modals/SuccessRequestReserveModal.vue?7f33","webpack:///./node_modules/core-js/internals/error-stack-install.js","webpack:///./node_modules/core-js/internals/inherit-if-required.js","webpack:///./node_modules/core-js/internals/function-uncurry-this-accessor.js","webpack:///./src/helpers/zoom.ts","webpack:///./src/helpers/builder/scrollToNextStep.ts","webpack:///./src/types/EventTracking.ts","webpack:///./src/helpers/regex.ts","webpack:///./src/components/builder/budget-houses/house-details/HouseAndFloorplanImage.vue?325b","webpack:///./src/components/builder/budget-houses/house-details/HouseAndFloorplanImage.vue","webpack:///./src/components/builder/budget-houses/house-details/HouseAndFloorplanImage.vue?8b1b","webpack:///./src/components/builder/BuilderSliderButtons.vue?9c51","webpack:///./src/components/builder/BuilderSliderButtons.vue","webpack:///./src/components/builder/BuilderSliderButtons.vue?9191","webpack:///./src/components/builder/budget-houses/house-details/HouseNameAndFeatures.vue?af5d","webpack:///./src/helpers/estateMap/mapsZoom.ts","webpack:///./src/components/EstateMap.vue?7012","webpack:///./src/components/EstateMap.vue","webpack:///./src/components/EstateMap.vue?b017","webpack:///./src/enums/LeadSourceEnum.ts","webpack:///./src/components/landing/ContactUsLink.vue?e1b7","webpack:///./src/components/landing/ContactUsLink.vue","webpack:///./src/components/landing/ContactUsLink.vue?c29a","webpack:///./src/components/ui/modals/BuilderEnquiryModal.vue?4749","webpack:///./src/enums/BuilderFinanceStatus.ts","webpack:///./src/helpers/cleavePlugin.ts","webpack:///./src/components/Lot/LotButtonLink.vue?8bf9","webpack:///./src/components/Lot/LotButtonLink.vue","webpack:///./src/components/Lot/LotButtonLink.vue?27e7","webpack:///./src/components/builder/budget-houses/house-details/FloorplanAndInclusionsMobile.vue?81a5","webpack:///./src/helpers/builder/calculateBuildPriceOrPackagePriceTotal.ts","webpack:///./src/constants/index.ts","webpack:///./src/components/builder/budget-houses/house-details/HouseQuestion.vue?11be","webpack:///./src/components/builder/budget-houses/house-details/HouseQuestion.vue","webpack:///./src/components/builder/budget-houses/house-details/HouseQuestion.vue?6254","webpack:///./src/components/StageMap.vue?a1bd","webpack:///./src/components/StageMap.vue","webpack:///./src/components/StageMap.vue?17eb","webpack:///./src/enums/KlaviyoEnum.ts","webpack:///./src/helpers/date.ts","webpack:///./src/components/MapSidePanel.vue?f6d8","webpack:///./src/components/ui/modals/BuilderRequestMessageSendModal.vue?9912","webpack:///./src/components/ui/modals/BuilderRequestMessageSendModal.vue","webpack:///./src/components/ui/modals/BuilderRequestMessageSendModal.vue?d38a","webpack:///./src/components/ui/modals/BuilderLotsMapModal.vue?81d2","webpack:///./src/views/builder/BuilderHouseBorrowCalculator.vue?ec6a","webpack:///./src/views/builder/BuilderHouseBorrowCalculator.vue","webpack:///./src/views/builder/BuilderHouseBorrowCalculator.vue?b2f4","webpack:///./src/components/LotLifecycle.vue?a0d6","webpack:///./src/enums/BuilderToggleDropdown.ts","webpack:///./src/features/useScrollDragMobile.ts","webpack:///./src/helpers/googleAnalyticsEventTracking.ts","webpack:///./node_modules/core-js/internals/array-method-is-strict.js","webpack:///./src/components/ui/modals/SuccessRequestReserveModal.vue?7957","webpack:///./src/helpers/toastError.ts","webpack:///./node_modules/core-js/internals/install-error-cause.js","webpack:///./src/views/builder/BuilderHouseBorrowCalculator.vue?94ae","webpack:///./node_modules/core-js/internals/proxy-accessor.js","webpack:///./src/components/builder/budget-houses/FilterHouses.vue?8cf1","webpack:///./src/components/builder/budget-houses/FilterHouses.vue","webpack:///./src/components/builder/budget-houses/FilterHouses.vue?1ca3","webpack:///./src/components/builder/budget-houses/house-details/BuilderLogo.vue?c62d","webpack:///./src/components/builder/budget-houses/house-details/HouseDimensionsAndInclusions.vue?3919","webpack:///./src/components/builder/budget-houses/house-details/HouseDimensionsAndInclusions.vue","webpack:///./src/components/builder/budget-houses/house-details/HouseDimensionsAndInclusions.vue?1022","webpack:///./node_modules/core-js/internals/error-stack-installable.js","webpack:///./src/components/EstateMap.vue?c3b0","webpack:///./src/components/builder/budget-houses/HouseCard.vue?3dc8","webpack:///./src/enums/InitialHoldHolderType.ts","webpack:///./src/components/ui/InfoWithIcon.vue?acc9","webpack:///./src/components/LotLifecycle.vue?a289","webpack:///./src/components/LotLifecycle.vue","webpack:///./src/components/LotLifecycle.vue?05dd","webpack:///./src/components/builder/BuilderSelectionHouse.vue?d1b3","webpack:///./src/components/builder/BuilderSelectionHouse.vue","webpack:///./src/components/builder/BuilderSelectionHouse.vue?9fa0","webpack:///./src/components/builder/budget-houses/house-details/BuilderSelectFacade.vue?e22e","webpack:///./src/components/builder/budget-houses/house-details/BuilderSelectFacade.vue","webpack:///./src/components/builder/budget-houses/house-details/BuilderSelectFacade.vue?ae66","webpack:///./src/components/builder/budget-houses/house-details/HouseBrowseInteriors.vue?2e63","webpack:///./src/components/builder/budget-houses/house-details/HouseBrowseInteriors.vue","webpack:///./src/components/builder/budget-houses/house-details/HouseBrowseInteriors.vue?1f4c","webpack:///./src/components/ui/modals/BuilderRequestMessageModal.vue?1df3","webpack:///./node_modules/core-js/modules/web.self.js","webpack:///./node_modules/hammerjs/hammer.js","webpack:///./src/components/builder/budget-houses/house-details/HouseAndLotDetails.vue?74ad","webpack:///./src/components/builder/budget-houses/house-details/HouseAndLotDetails.vue","webpack:///./src/components/builder/budget-houses/house-details/HouseAndLotDetails.vue?83e3","webpack:///./src/components/builder/budget-houses/house-details/BuilderSliderMobile.vue?029f","webpack:///./src/components/builder/budget-houses/house-details/BuilderSliderMobile.vue","webpack:///./src/components/builder/budget-houses/house-details/BuilderSliderMobile.vue?f1a9","webpack:///./src/helpers/initialHold/trackSendInitialHold.ts","webpack:///./src/components/builder/budget-houses/house-details/HouseDetailsForLandPackage.vue?5283","webpack:///./src/components/StageNavMobile.vue?5d3f","webpack:///./src/components/maps/StageSvgMap.vue?dc8d","webpack:///./src/components/maps/StageSvgMap.vue","webpack:///./src/components/maps/StageSvgMap.vue?7564","webpack:///./node_modules/core-js/internals/object-set-prototype-of.js","webpack:///./src/components/builder/budget-houses/house-details/BuilderSelectFacade.vue?7e18","webpack:///./src/components/ui/modals/BuilderEnquiryModal.vue?5c60","webpack:///./src/components/ui/modals/BuilderEnquiryModal.vue","webpack:///./src/components/ui/modals/BuilderEnquiryModal.vue?7cdc","webpack:///./node_modules/core-js/internals/array-reduce.js","webpack:///./src/components/ui/modals/BuilderInitialHoldModal.vue?7cc5","webpack:///./src/components/ui/modals/BuilderInitialHoldModal.vue","webpack:///./src/components/ui/modals/BuilderInitialHoldModal.vue?561c","webpack:///./node_modules/core-js/modules/es.error.cause.js","webpack:///./src/components/ui/LottrackrPoweredIcon.vue?7c26","webpack:///./src/components/builder/budget-houses/house-details/HouseAndFloorplanImage.vue?cfb6","webpack:///./src/components/builder/HouseFeatures.vue?1e3a","webpack:///./src/components/builder/BuilderSliderButtons.vue?5210","webpack:///./src/components/builder/BuilderSliderImages.vue?1823","webpack:///./src/components/builder/BuilderSliderImages.vue","webpack:///./src/components/builder/BuilderSliderImages.vue?8593","webpack:///./node_modules/core-js/internals/normalize-string-argument.js","webpack:///./src/components/stage/StageButtonLink.vue?6f33","webpack:///./src/components/stage/StageButtonLink.vue","webpack:///./src/components/stage/StageButtonLink.vue?a29c","webpack:///./src/helpers/lightAndDarkenColor.ts","webpack:///./node_modules/core-js/internals/wrap-error-constructor-with-cause.js","webpack:///./src/helpers/transformation/price.ts","webpack:///./src/components/builder/budget-houses/house-details/FloorplanAndInclusionsMobile.vue?ae5e","webpack:///./src/components/builder/budget-houses/house-details/FloorplanAndInclusionsMobile.vue","webpack:///./src/components/builder/budget-houses/house-details/FloorplanAndInclusionsMobile.vue?fe6a","webpack:///./src/components/MapSidePanel.vue?5b08","webpack:///./src/components/MapSidePanel.vue","webpack:///./src/components/MapSidePanel.vue?0da2","webpack:///./node_modules/core-js/internals/define-built-in-accessor.js","webpack:///./src/constants/calendlyLinks.ts","webpack:///./src/helpers/redirectWithoutRouter.ts","webpack:///./src/components/landing/ContactUsLink.vue?80e6","webpack:///./node_modules/core-js/internals/classof.js","webpack:///./src/components/builder/HouseFeatures.vue?b1fa","webpack:///./src/components/builder/HouseFeatures.vue","webpack:///./src/components/builder/HouseFeatures.vue?ea04","webpack:///./src/components/builder/CustomizeHouseSlider.vue?142d","webpack:///./src/components/builder/CustomizeHouseSlider.vue","webpack:///./src/components/builder/CustomizeHouseSlider.vue?77bb","webpack:///./src/helpers/customer/changePrimaryColor.ts"],"names":["wellKnownSymbol","TO_STRING_TAG","test","module","exports","String","cov_p3byxmdcv","actualCoverage","lotTabs","s","label","value","customerEoiStatuses","background","badgeLabel","badgeBackground","customerLotStatuses","customerStatuses","Map","eoiPendingStatuses","_customerStatuses$get","get","_customerStatuses$get2","_customerStatuses$get3","_customerStatuses$get4","_customerStatuses$get5","_customerStatuses$get6","_customerStatuses$get7","_customerStatuses$get8","eoiApprovingStatuses","_customerStatuses$get9","_customerStatuses$get10","isEoiPendingStatus","status","f","includes","isEoiApprovingStatus","getEoiPendingStatus","eoiStatus","statuses","Array","from","values","b","getStatusByLabel","getFinishedStatus","_customerStatuses$get11","_customerStatuses$get12","EoiStatus","WITHDRAWN","dynamicStatuses","_s$get","_s$get2","_s$get3","find","item","getValueByStatus","field","_getStatusByLabel","getTabByUrl","path","tab","getLotStatus","lotStatus","APPROVED","LotStatus","EOI","PENDING_FOR_BILLING","DRAFT","PENDING","TERMINATED","showingEoiDetailControls","complete","decline","delete","withdraw","CONTRACT_EXECUTED","UNCONDITIONAL","eoiStatusesHavingBackground","DECLINED","WAITING_FOR_APPROVED","REFUND_DECLINED","REFUNDED","WAITING_FOR_PENDING","_hoisted_1","render","_ctx","_cache","$props","$setup","$data","$options","_openBlock","_createElementBlock","class","_normalizeClass","toggleClass","_createElementVNode","disabled","labelBold","labelClass","labelHidden","_createTextVNode","_toDisplayString","type","modelValue","checked","onClick","toggleSelection","additionalClass","_defineComponent","__name","props","Boolean","required","emits","setup","__props","expose","__expose","emit","event","__returned__","Object","defineProperty","enumerable","__exports__","BuilderSliderSteps","cov_2negq3mtsk","_withScopeId","n","_pushScopeId","_popScopeId","key","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","house","src","mainImage","lotsByHouseDesigns","length","$event","onViewDesign","_createCommentVNode","_createBlock","features","directionLogoCalculator","iconSize","builder","logo","formatPrice","basePrice","_Fragment","_renderList","visibleLots","lot","index","title","remainingLots","showMoreLots","estate","quote","result","houseDetailsView","toast","useToast","ref","showMore","LoanAmountString","computed","_props$result","getLotsByEstateAndHouseDesign","lots","slice","getBuilderById","builderId","updateLocalStorage","localStorage","setItem","JSON","stringify","store","state","borrowCalculator","filterFields","onClickHouseEvent","undefined","_id","navigateToCalculator","_LoanAmountString$val","router","push","name","params","estateId","quoteId","houseId","loanAmount","replace","_LoanAmountString$val2","route","resolve","window","location","href","watch","newHouse","immediate","onMounted","POSITION","HouseDesignInterface","HouseWithLotsAndBuilder","LotTitleAndId","HouseFeatures","LotInterface","EstateInterface","BuilderInterface","BuilderQuote","BorrowCalculatorResult","loading","houses","displayedHouses","onOnClickHouse","onClickHouse","hasNextBatch","loadMore","smallLayoutWidth","INITIAL_DISPLAYED_HOUSES","nextBatch","isDesktop","useIsDesktop","lotId","newHouses","loadMoreHouses","_nextBatch$data","data","setNextBatchData","hasNextPage","loadMoreHousesIfNextBatch","page","HouseLotsBuilderPagination","HouseCard","_imports_0","noBg","redirectTo","target","default","isEstateMap","role","UserRoles","CUSTOMER","_createVNode","LANDOWNER","LottrackrPoweredIcon","defaultConfigs","itemsToShow","itemsToScroll","transition","autoplay","snapAlign","wrapAround","pauseAutoplayOnHover","mouseDrag","touchDrag","dir","breakpoints","carouselProps","Number","settings","debounce","fn","delay","timerId","args","clearTimeout","setTimeout","throttle","limit","inThrottle","self","this","apply","getSlidesVNodes","vNode","_a","_b","_c","children","getMaxSlideIndex","config","slidesCount","Math","ceil","getMinSlideIndex","floor","getCurrentSlideIndex","val","max","min","getSlidesToScroll","slidesBuffer","currentSlide","output","indexOf","Carousel","slots","root","slides","slideWidth","autoplayTimer","transitionTimer","__defaultConfig","assign","currentSlideIndex","prevSlideIndex","middleSlideIndex","maxSlideIndex","minSlideIndex","initDefaultConfigs","mergedConfigs","bindConfigs","updateBreakpointsConfigs","breakpointsArray","keys","map","sort","a","newConfig","some","breakpoint","isMatched","matchMedia","matches","handleWindowResize","updateSlidesData","updateSlideWidth","rect","getBoundingClientRect","width","updateSlidesBuffer","slidesArray","shouldShiftSlides","buffer","round","shifts","i","shift","unshift","pop","initAutoplay","addEventListener","passive","clearInterval","isTouch","startPosition","x","y","endPosition","dragged","isHover","handleMouseEnter","handleMouseLeave","handleDragStart","button","isSliding","preventDefault","touches","clientX","clientY","document","handleDragging","handleDragEnd","deltaX","deltaY","direction","tolerance","sign","draggedSlides","newSlide","captureClick","e","stopPropagation","removeEventListener","slideTo","setInterval","next","resetAutoplay","slideIndex","mute","lastSlideIndex","nextSlide","prev","prevSlide","nav","slidesToScroll","trackStyle","xScroll","transform","initCarousel","restartCarousel","updateCarousel","forEach","prop","needToUpdate","currentSlideUpdated","maxSlide","minSlide","middleSlide","slotSlides","slotAddons","addons","slotsProps","slidesElements","addonsElements","el","trackEl","style","onMousedown","onTouchstart","viewPortEl","carousel","onMouseenter","onMouseleave","icons","arrowUp","arrowDown","arrowRight","arrowLeft","Icon","iconName","pathEl","d","iconTitle","titleEl","viewBox","ariaLabel","Navigation","attrs","slotNext","slotPrev","isRTL","prevButton","nextButton","Slide","wrapOrder","updateOrder","slideStyle","items","order","toString","isActive","isVisible","current","isPrev","isNext","carousel__slide","call","Pagination","handleButtonClick","slideNumber","slide","uncurryThis","$Error","Error","TEST","arg","stack","V8_OR_CHAKRA_STACK_ENTRY","IS_V8_OR_CHAKRA_STACK","dropEntries","prepareStackTrace","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","isBuilderView","isMapModalView","hideNav","viewType","mapPage","isEmbedded","onChangeView","$emit","hidden","hideStageRowHeader","plural","getNumberOfLots","lotsList","stage","onLotRow","borders","getStageTitle","lotData","rotated","activeStagesIndex","opened","ref_for","tableRefs","hidePrice","filteredLotData","idx","_lot$lotId","_lot$lotId2","_lot$lotId3","_lot$lotId3$offlineSa","_lot$lotId4","_lot$lotId4$offlineSa","size","blockWidth","price","registrationDate","formatDate","getLotCustomerMapStatusClass","OFFLINE","offlineSale","salePhase","AVAILABLE","onStageClick","_lot$lotId5","_lot$lotId5$offlineSa","_lot$lotId6","_lot$lotId6$offlineSa","_lot$lotId7","_lot$lotId8","xmlns","version","height","getLotPath","padding","id","mobileLayoutWidth","lotSelected","showSoldOutStages","stageId","useStore","currentRoute","stages","reduce","lotIdSelected","_props$lotSelected","getLotsList","filteredLots","filter","isBuildersEnabled","availableLots","lotsText","dispatch","isCustomer","soldOutStatus","then","async","res","initializeLotsWithStageList","finally","filterLotsFromStageProp","filterLotsInStageFromHouseDesignLots","startsWith","lotIds","lotsAndStage","filterlotsAndStageByLotIds","matchingLotData","l","section","heightAnimation","_statusMapping$get","statusMapping","HOLD","UNDER_CONTRACT","SOLD","SETTLED","OPTION","StageNavMobile","StageMapInterface","LotMapInterface","StageStatus","UiBasicStageInterface","LotLifecycle","toastError","LotMapsWithStageInterface","onChange","partial","checkedPartial","$","$reduce","left","arrayMethodIsStrict","CHROME_VERSION","IS_NODE","CHROME_BUG","FORCED","proto","forced","callbackfn","arguments","BuildBudgetPriceEnum","BuildBudgetPriceParseEnum","cov_27q63kw89m","isOpen","onClose","classes","content","_withCtx","viewTypeMap","MapPages","ESTATE_MAP","builderView","onChangeViewMap","toggleViewTypeMap","STAGE_MAP","actualStageQuote","onSelectLot","onReserve","STAGE_LIST","estateInfo","_","_props$lotsByHouseDes","_props$lotsByHouseDes2","newVal","Modal","EstateMap","StageMap","StageList","isModalFiltersHousesHidden","isDesignModal","hasToLoadNextBatch","onHousesByFilter","onUpdateHousesPagination","onSearch","housesPagination","FilterHouses","cov_2chhgc98qb","handleError","error","_error$response","_error$response$data","_error$response2","_error$response2$data","_error$response2$data2","_error$response2$data3","message","errorMsg","response","errorCode","errors","code","ErrorMessages","ERROR_QUOTE_EMAIL_DUPLICATED_PROFILE","PROFILE_VERIFY_CONFLICT_ERROR","ERROR_WAIT_BEFORE_REQUESTING_NEW_CODE","KlaviyoErrorEnum","DUPLICATE_PROFILE","ERROR_QUOTE_PHONE_DUPLICATED_PROFILE","position","TOP_LEFT","cov_n0n339fv7","MIN_DESKTOP_WIDTH","handler","innerWidth","onUnmounted","cov_vioma91p2","BuilderStepsIds","BuilderStepsIdsPagination","parseAustralianNumberToInternational","number","cov_181w656nxc","parsedNumber","substring","cov_2csbspw5gy","hasLowerAndUpperCase","hasLowerCaseRegex","hasUpperCaseRegex","hasPasswordLength","hasSpecialChars","hasSpecialCharsRegex","hasDigits","hasDigitsRegex","hasNumberAndSymbol","validatePassword","validateDocumentMimeType","mimeType","allowedDocumentMimeTypes","validPhoneNumber","validOptionalPhoneNumber","NATIVE_BIND","FunctionPrototype","Function","prototype","Reflect","bind","BuilderFeatures","cov_795hcp72g","cov_ctgzdzb6m","defaultActiveClass","element","activeClass","resized","scrollHeight","classList","toggle","contains","removeHeightOfSiblings","elements","activeElementIndex","filteredItem","remove","close","onConfirm","confirm","description","text","deleteItem","isLeadsPage","customText","LotAssignmentModal","_directive_tippy","_resolveDirective","_normalizeStyle","zoom","mapImage","url","binding","onMouseover","_stage$stageId","onStageHover","onStageLeave","_withDirectives","getItemPathClasses","onStage","getTooltipText","allowHTML","theme","appendtTo","arrow","EstateMapInterface","getStageStatusClass","houseInfo","directionLogoLandPackage","area","buildPriceWithFacade","siteCosts","selectedFacadeId","getters","_props$houseInfo","_props$houseInfo2","facade","facades","facadePrice","calculateBuildPriceOrPackagePriceTotal","catch","word","withNumber","cov_1quwmciphk","toLocaleLowerCase","firstChar","isCallable","$String","$TypeError","TypeError","argument","resetVuelidateErrors","validation","cov_1ppw6llr9b","$reset","_$props$estate","_component_router_link","_resolveComponent","container","to","logoUrl","control","dropdown","timePeriod","period","selectTimePeriod","selectedTimePeriod","show","showMobileMenu","builderCalculatorNavigation","handleEmit","require","icon","emitName","body","add","DropDown","cov_1nyu2dnt4r","_imports_1","onCall","onMessage","animationName","toContactUsForm","linkCalendly","CALENDLY_BUILD_LINK","isButtonCallBackModal","onCloseModal","isOpenedModalRequestMessage","onSend","isOpenedModalRequestCall","success","redirectWithoutRouter","BuilderRequestMessageSendModal","ContactUsLink","directionLogo","formatMeters","newhouseInfo","oldhouseInfo","ms","cov_r7yxfghmx","Promise","getAvailableStages","getStageClass","NOW_SELLING","_a$stageId","_b$stageId","compareStrings","getStages","changeView","_router$currentRoute$","query","embed","builderData","err","console","setBuilderIfProp","elseCallback","fetchBuilderIfDifferent","newBuilderId","oldBuilderId","fetchBuilder","getFirstLastName","user","cov_1fefz040v6","firstName","lastName","getFullName","middleName","startDrag","onMousemove","handleDrag","onMouseup","stopDrag","imageUrl","closeModal","isDragging","svgStartPosition","svgStartScrollPosition","svgContainerMap","startDragging","stopDragging","cov_28qheowllk","scrollToBottomModal","modalContainerRef","modalBodyRef","scrollTo","top","behavior","setLotEstate","cov_rmizi2c4n","classof","t","r","u","o","h","c","M","weekdays","split","months","ordinal","m","join","v","z","utcOffset","abs","date","year","month","clone","p","w","D","Q","toLowerCase","g","S","O","locale","$L","utc","$u","$x","$offset","parse","$d","Date","NaN","match","UTC","init","$y","getFullYear","$M","getMonth","$D","getDate","$W","getDay","$H","getHours","$m","getMinutes","$s","getSeconds","$ms","getMilliseconds","$utils","isValid","isSame","startOf","endOf","isAfter","isBefore","$g","set","unix","valueOf","getTime","toDate","$locale","weekStart","$set","daysInMonth","subtract","format","invalidDate","meridiem","YY","YYYY","MM","MMM","monthsShort","MMMM","DD","dd","weekdaysMin","ddd","weekdaysShort","dddd","H","HH","hh","A","mm","ss","SSS","Z","getTimezoneOffset","diff","toJSON","toISOString","toUTCString","T","extend","$i","isDayjs","en","Ls","cov_10plj6vc52","calculateStateFromPostcode","postcode","_ref","postalCode","parseInt","postalCodeRanges","StatesEnum","NSW","ACT","NT","QLD","SA","TAS","VIC","WA","entries","range","process","cov_1bbpsrowmf","getBodyScrollTop","pageYOffset","documentElement","scrollTop","easeOutCubic","offset","duration","yPos","startY","scrollY","difference","startTime","performance","now","step","progress","amount","requestAnimationFrame","cov_ls3o6g2ba","createNonEnumerableProperty","clearErrorStack","ERROR_STACK_INSTALLABLE","captureStackTrace","C","isObject","setPrototypeOf","$this","dummy","Wrapper","NewTarget","NewTargetPrototype","constructor","aCallable","object","method","getOwnPropertyDescriptor","cov_18ozsp5kxz","scrollLeft","cursor","cov_84ndk7gfd","scrollToNextStep","getElementById","scrollToNextStepMobile","offsetTop","cov_d3xgxtsno","EventActionName","EventByCategory","EventByAction","EventLabelByName","getRegex","string","cov_1f6uyvd7xm","RegExp","latinCharactersRegex","selectedHouseDesign","isBuilderQuoteView","selectedFacade","onUpdateSelectedFacade","showFloorplan","showInterior","selectedImage","onChangeImage","FLOORPLAN","MAIN_IMAGE","onSelectSection","_props$houseInfo3","KITCHEN","kitchens","BATHROOM","bathroom","options","LIVING","loungeRoom","urls","_props$houseInfo4","BuilderSelectionHouse","FacadeInterface","_imports_2","contentTitle","isLogoSwipe","onTouchend","onTouchEnd","onTouchcancel","onTouchCancel","onTouchmove","onTouchMove","containerStyles","_$setup$props$selecte","_$setup$props$selecte2","checkmark","isHouseSelectSlider","selectedItem","onSelectItem","alt","isButtonCheckmark","isButtonCheckmarkNotIcon","isButtonBuilder","showControls","scrollDesktopRight","scrollDesktopLeft","buttonWidth","isButtonCheckmarkOff","scrollOffset","buttonsContainer","isButtonClicked","itemClicked","_props$selectedItem","_props$selectedItem2","useScrollDragMobile","MAX_ITEMS_WITHOUT_CONTROLS","checkHasMobileEvents","canDesktopScrollLeft","canDesktopScrollRight","MOBILE_EVENT","_buttonsContainer$val","_buttonsContainer$val2","_buttonsContainer$val3","_buttonsContainer$val4","containerWidth","clientWidth","contentWidth","scrollWidth","maxScrollOffset","_props$selectedItem3","_props$selectedItem4","idComparison","deep","resetOffsetHandler","onBeforeUnmount","Ref","pinchZoomHammer","scale","callback","cov_22gnuhhobc","currentScale","smoothingFactor","targetScale","smoothScale","minScale","maxScale","smoothedScale","deltaScale","SUPER_ADMIN","toEditMap","showConfirmDeleteModal","toCreateMap","deleteMap","onOnStage","isEmbeddedDesktop","hoverStageId","hideOptions","hideMapSidePanelOptions","onOnStageHover","onSidePanelStageHover","onOnStageClick","onSidePanelStageClick","onOnRegister","onOnMessage","zoomIn","zoomOut","onOnStageLeave","plansView","businessId","userId","getEstateId","stageSidePanelHover","selectedEstateId","isCustomerRole","getMap","statusCode","open","_stage$stageId2","_stage$stageId3","_stageSidePanelHover$","_stageSidePanelHover$2","_stage$stageId4","_stage$stageId5","stageMap","toUpperCase","availableLotsCount","mc","Hammer","enable","on","delta","center","ConfirmDeleteModal","StageInterface","MapSidePanel","MapSideLegend","EstateSvgMap","LeadSourceEnum","cov_1nlbuf9yd6","CALENDLY_DEMO_LINK","showWidget","Calendly","showPopupWidget","contactUsForm","querySelector","FinanceStatusEnum","cov_2h5lllg8jk","phoneNumberOption","phone","cov_290zsd572f","blocks","delimiter","phonePlaceholder","getCurrencyOptions","numeral","numeralThousandsGroupStyle","numeralPositiveOnly","noImmediatePrefix","_$props$lot$lotId","_$props$lot$lotId$off","_$props$lot$lotId2","_$props$lot$lotId2$of","hoverLotId","expanded","onHover","onMouseLeave","hover","onBuilderHover","onBuilderLeave","spacing","builderHover","builderIconRef","homePrice","landPrice","cov_10umnzvi8v","homePriceNum","isNaN","facadePriceNum","siteCostsNum","additionalCostsNum","totalPrice","cov_1doyi2xpv9","MaxFileSize","_$setup$lots$","_$setup$lots$2","handleMouseMove","availableLotsPopUpShow","toMasterplan","getAvailableLots","isStageMap","onOnLotHover","onSidePanelLotHover","onOnLotClick","onSidePanelLotClick","onToMasterplan","onOnLotBuilderHover","onLotBuilderHover","back","grab","getSvgTooltipText","getItemWrClasses","getSvgItemWrClasses","getSvgItemPathClasses","getItemStatusPathClasses","getSvgItemStatusPathClasses","onLotHover","onOnLotLeave","onLotLeave","handleLotClickIfClickable","lotOnClick","lotSidePanelHover","_lotSidePanelHover$va","_lotSidePanelHover$va2","isNotClickableForBuilderView","_lotSidePanelHover$va3","getClassForCustomer","getLotStatusClass","PRE_CONTRACT","onLot","design","getMapWithLots","getLots","lotForModal","showAvailableLotsPopUp","trackLotClickEvent","_lot$lotId9","_lot$lotId11","_lot$lotId12","_lot$lotId13","_lot$lotId10","_lot$lotId10$offlineS","eventTracking","actionsName","LOT_ON_CLICK","eventByCategory","ON_CLICK","eventLabelByName","CLICK_LOT","eventByAction","CLICK","estateById","stageById","stageTitle","lotById","lotTitle","nextTick","InfoWithIcon","StageSvgMap","cov_114x6jp77r","cov_4tnu0h68q","dayjs","formatDateMonthYear","formatDateMonthDayYear","formatDateDayMonthYear","formatDateCalendar","formatDateDayMonthYearWithTime","formatDateYYYYMMDD","formatDateToday","_$setup$v$$phone$$err","form","placeholder","_vModelText","v$","$error","$message","$errors","email","isLoading","submit","rules","helpers","withMessage","optional","formFields","isRequestMessageBorrowCalculator","reactive","useVuelidate","validateForm","_props$lot","_props$lot$lotId","rest","log","$validate","$touch","watchEffect","CheckboxInput","Cleave","_$setup$houses","onCalculate","onViewCalculator","builderInfo","quoteInfo","deleteLot","onUpdateLotSelected","openModalFilter","resultForFilter","housesByFilter","nextHousesBatch","refreshHouse","onLoadNextBatch","isOpenedModalFiltersHouses","imageSelected","housesPage","getHouseById","getQuoteWithData","_quoteInfo$value","_quoteInfo$value2","_quoteInfo$value3","_quoteInfo$value4","getLot","housesData","refreshLot","refreshHouseLocalStorage","storedDeleteLot","getItem","removeItem","newStoredDeleteLot","savedFilterFields","commit","resetPrimaryColor","updateHouseIfNewParams","newParams","oldParams","updateLoanAmountIfNewParams","changePrimaryColor","iconColor","BuilderLogo","HouseNameAndFeatures","HouseAndFloorplanImage","HouseBrowseInteriors","HouseAndLotDetails","BuilderQuoteWithDetails","ListHouses","BuilderHouseBorrowHeaderMobile","FloorplanAndInclusionsMobile","BuilderFiltersHousesModal","HouseQuestion","RouteParamsGeneric","BuilderToggleDropdown","cov_136sjezya7","cov_1q1j0vr8gr","elementRef","isDown","startX","touch","pageX","pageY","changedTouches","clickedElement","elementFromPoint","click","walkX","walkY","cov_e9tsun9tw","useGtag","houseDesignId","houseDesignName","event_category","event_label","event_action","estate_id","stage_id","stage_title","lot_id","lot_title","house_design_id","house_design_name","fails","METHOD_NAME","cov_1xsy94npi1","cause","Target","Source","configurable","it","filtersGlobal","budget","optionsBuildBudgetPrice","buildBudgetPrice","selectBudget","bedrooms","optionsBedrooms","selectBedrooms","bathrooms","optionsBathrooms","selectBathrooms","storeys","optionsStoreys","storey","selectStoreys","_props$lotSelected$_i","_props$quote","_props$quote$selectio","_props$quote$selectio2","houseSelected","totalPages","dataForTheField","isOpenHelpModal","initialBudgetValue","BUDGET_THRESHOLD_ANY","lowerBudgetLimit","parseFloat","sixtyPercent","getInitialBudgetValue","Intl","NumberFormat","upperBudgetLimit","seventyPercent","lowerLimit","filters","BUDGET_THRESHOLD_200K","BUDGET_THRESHOLD_300K","BUDGET_THRESHOLD_400K","BUDGET_THRESHOLD_500K","selections","openHelpModal","onHowMuchYouCouldBorrow","_props$quote2","_props$quote3","getQuantitysBedroomsBathroomsStoreys","getHousesByFilter","_props$quote4","_props$quote5","createBodyRequest","updateHousesValues","filteredHouses","excludedHouseId","parseBudget","parseQuantities","parseStoreys","loadNextBatch","_props$quote6","_props$quote7","_props$quote8","_props$quote9","HouseFilters","HouseFiltersParsedFields","isDimensionsOpen","feature","isInclusionsOpen","inclusions","createPropertyDescriptor","HolderType","cov_1j3gmidpdp","_$props$lot$eoiId","_$props$lot$eoiId$buy","_$props$lot","_$props$lot$offlineSa","_$props$lot$offlineSa2","lotStatusList","currentStatusIndex","getStepStatus","getPreContractOrHoldStatus","blockDepth","releaseDate","formatStripePrice","offlineDeposit","buyerId","paymentRequest","depositFromInvoice","highlighted","eoiId","buyersData","firstBuyer","moveToTheContactDetailsPage","secondBuyer","offlineBuyerData","fullName","_props$lot$offlineSal","_props$lot$offlineSal2","getInvoice","getHoldStatus","isInitialHoldDisabled","NOT_RELEASED","findIndex","_props$lot$eoiId","_props$lot$eoiId$paym","operationType","operationStatus","paymentQueueId","paymentQueueData","eoiApi","_props$lot$eoiId2","_props$lot2","_props$lot2$eoiId","customerId","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_hoisted_52","_hoisted_53","_$props$selectedHouse","_$props$selectedHouse2","_$props$selectedHouse3","_$props$selectedHouse4","_$props$selectedHouse5","_$props$selectedHouse6","selectedBuilder","onOnSelectItem","onSelectHouseDesign","images","selectedimage","isSelectDesign","onOnSelectImage","floorplans","showArrows","sliderImages","currentSliderStep","showColorsControls","getColorsSelection","color","onSelectColor","openFloorplanImageModal","isImageFloorplanModalOpen","onUpdateZoom","updateZoom","closeImageModal","showExitInteriorsButton","exitInteriors","showBrowseInteriorsText","isImageAvailable","jumpToStep","_imports_3","_imports_4","_imports_5","setCurrentFeature","DIMENSIONS","currentFeature","FEATURES","INCLUSIONS","isSliderOpen","fadeInEffect","userRole","getUserRole","newFacade","_facade$value","_props$selectedHouseD","_selectedBuilder$valu","isHouseSelected","isButtonsInteriors","currentSliderStepIndex","sliderSteps","nextStep","backStep","showSliderArrows","allowedSteps","newZoom","MIN_ZOOM_LEVEL","MAX_ZOOM_LEVEL","openFacadeSlider","onShowButtonsInteriors","onCustomizeNextStep","updateUserSelectionState","CustomizeHouseStepsEnum","HOUSE_DESIGN","handleStepChange","stepChange","onNextStep","onBackStep","resetSteps","setSliderImages","_selectedQuote$value$","_selectedQuote$value$2","_selectedQuote$value$3","SELECTION","getImagesUrls","selectedQuote","kitchen","selectedUrl","trim","option","updateParams","_selectedBuilder$valu2","_selectedBuilder$valu3","_selectedBuilder$valu4","_house$value","_house$value2","_house$value3","currentStep","trackHouseDesignClick","houseDesign","HOUSE_DESIGN_ON_CLICK","CLICK_HOUSE_DESIGN","userSelection","isBathroomStep","isKitchenStep","_selectedQuote$value$4","_floorplans$","updatedUserSelection","userSelectionDefault","floorplan","stepIndex","setAsOpened","wasOpened","ERROR_SOMETHING_WENT_WRONG","initializeHouseDesign","newDesign","_selectedBuilder$valu5","_selectedBuilder$valu6","BuilderInterfaceWithHouseDesigns","CustomizeHouseSlider","BuilderSliderButtons","BuilderSliderImages","BuilderLightboxImages","BuilderSelectFacade","active","scrollable","isMoreClicked","visibleFacades","selectedFacadeIds","updateSelectedFacade","isNoAdditionalCharge","showMoreButton","handleMoreClick","INITIAL_FACADE_COUNT","facadeDefault","_facadeDefault$value","facadeDefaultId","newValue","defaultFacadeId","allFalse","every","selected","_props$selectedHouseD2","_props$selectedHouseD3","_props$selectedHouseD4","INITIAL_VISIBLE_COUNT","initializeFacades","defaultFacade","_defaultFacade","ToggleButton","selectedSection","global","defineBuiltInAccessor","DESCRIPTORS","INCORRECT_VALUE","descriptor","writable","simple","exportName","VENDOR_PREFIXES","TEST_ELEMENT","createElement","TYPE_FUNCTION","setTimeoutContext","timeout","context","bindFn","invokeArrayArg","isArray","each","obj","iterator","hasOwnProperty","deprecate","deprecationMessage","warn","source","nextKey","dest","merge","inherit","child","base","properties","childP","baseP","create","_super","boolOrFn","ifUndefined","val1","val2","addEventListeners","types","splitStr","removeEventListeners","hasParent","node","parent","parentNode","inStr","str","inArray","findByKey","toArray","uniqueArray","results","prefixed","property","prefix","camelProp","_uniqueId","uniqueId","getWindowForElement","doc","ownerDocument","defaultView","parentWindow","MOBILE_REGEX","SUPPORT_TOUCH","SUPPORT_POINTER_EVENTS","SUPPORT_ONLY_TOUCH","navigator","userAgent","INPUT_TYPE_TOUCH","INPUT_TYPE_PEN","INPUT_TYPE_MOUSE","INPUT_TYPE_KINECT","COMPUTE_INTERVAL","INPUT_START","INPUT_MOVE","INPUT_END","INPUT_CANCEL","DIRECTION_NONE","DIRECTION_LEFT","DIRECTION_RIGHT","DIRECTION_UP","DIRECTION_DOWN","DIRECTION_HORIZONTAL","DIRECTION_VERTICAL","DIRECTION_ALL","PROPS_XY","PROPS_CLIENT_XY","Input","manager","inputTarget","domHandler","ev","createInputInstance","Type","inputClass","PointerEventInput","TouchInput","TouchMouseInput","MouseInput","inputHandler","eventType","input","pointersLen","pointers","changedPointersLen","changedPointers","isFirst","isFinal","session","computeInputData","recognize","prevInput","pointersLength","firstInput","simpleCloneInputData","firstMultiple","offsetCenter","getCenter","timeStamp","deltaTime","angle","getAngle","distance","getDistance","computeDeltaXY","offsetDirection","getDirection","overallVelocity","getVelocity","overallVelocityX","overallVelocityY","getScale","rotation","getRotation","maxPointers","computeIntervalInputData","srcEvent","offsetDelta","prevDelta","velocity","velocityX","velocityY","last","lastInterval","p1","p2","sqrt","atan2","PI","start","end","evEl","evTarget","evWin","destroy","MOUSE_INPUT_MAP","mousedown","mousemove","mouseup","MOUSE_ELEMENT_EVENTS","MOUSE_WINDOW_EVENTS","pressed","which","pointerType","POINTER_INPUT_MAP","pointerdown","pointermove","pointerup","pointercancel","pointerout","IE10_POINTER_TYPE_ENUM","2","3","4","5","POINTER_ELEMENT_EVENTS","POINTER_WINDOW_EVENTS","pointerEvents","MSPointerEvent","PointerEvent","removePointer","eventTypeNormalized","storeIndex","pointerId","splice","SINGLE_TOUCH_INPUT_MAP","touchstart","touchmove","touchend","touchcancel","SINGLE_TOUCH_TARGET_EVENTS","SINGLE_TOUCH_WINDOW_EVENTS","SingleTouchInput","started","normalizeSingleTouches","all","changed","concat","TOUCH_INPUT_MAP","TOUCH_TARGET_EVENTS","targetIds","getTouches","allTouches","identifier","targetTouches","changedTargetTouches","DEDUP_TIMEOUT","DEDUP_DISTANCE","mouse","primaryTouch","lastTouches","recordTouches","eventData","setLastTouch","lastTouch","lts","removeLastTouch","isSyntheticEvent","dx","dy","inputEvent","inputData","isMouse","sourceCapabilities","firesTouchEvents","PREFIXED_TOUCH_ACTION","NATIVE_TOUCH_ACTION","TOUCH_ACTION_COMPUTE","TOUCH_ACTION_AUTO","TOUCH_ACTION_MANIPULATION","TOUCH_ACTION_NONE","TOUCH_ACTION_PAN_X","TOUCH_ACTION_PAN_Y","TOUCH_ACTION_MAP","getTouchActionProps","TouchAction","cleanTouchActions","actions","hasPanX","hasPanY","touchMap","cssSupports","CSS","supports","compute","update","touchAction","recognizers","recognizer","getTouchAction","preventDefaults","prevented","hasNone","isTapPointer","isTapMovement","isTapTouchTime","preventSrc","STATE_POSSIBLE","STATE_BEGAN","STATE_CHANGED","STATE_ENDED","STATE_RECOGNIZED","STATE_CANCELLED","STATE_FAILED","Recognizer","defaults","simultaneous","requireFail","stateStr","directionStr","getRecognizerByNameIfManager","otherRecognizer","AttrRecognizer","PanRecognizer","pX","pY","PinchRecognizer","PressRecognizer","_timer","_input","RotateRecognizer","SwipeRecognizer","TapRecognizer","pTime","pCenter","count","preset","Manager","recognizeWith","dropRecognizeWith","requireFailure","dropRequireFailure","hasRequireFailures","canRecognizeWith","additionalEvent","tryEmit","canEmit","inputDataClone","reset","attrTest","optionPointers","isRecognized","threshold","directionTest","hasMoved","inOut","time","validPointers","validMovement","validTime","taps","interval","posThreshold","validTouchTime","failTimeout","validInterval","validMultiTap","tapCount","VERSION","domEvents","cssProps","userSelect","touchSelect","touchCallout","contentZooming","userDrag","tapHighlightColor","STOP","FORCED_STOP","handlers","oldCssProps","toggleCssProps","triggerDomEvent","gestureEvent","createEvent","initEvent","gesture","dispatchEvent","stop","force","stopped","curRecognizer","existing","events","off","Tap","Pan","Swipe","Pinch","Rotate","Press","freeGlobal","_$setup$lotSelected","_$setup$lotSelected$l","onCompareLots","TotalPriceWithFacade","openLotsModal","shouldRenderModals","isOpenedModalMessage","onSendBuilderEnquiry","isOpenedModalReserve","onSendSecureQuote","onBack","successfulRequestReserveOpened","_lotSelected$value","_props$selectedFacade","lotPrice","getSiteCosts","_res$data$siteCost","siteCost","onRequest","lotMap","HouseDetailsForLandPackage","BuilderLotsMapModal","UpdateBuilderQuoteDto","BuilderRequestMessageModal","SuccessRequestReserveModal","BuilderInitialHoldModal","CreateBuilderQuote","CreateInitialHoldInterface","BuilderEnquiryModal","navigationEnabled","paginationEnabled","getSliderNavigation","isCardHouseDesign","_vShow","cov_1fr8q4b4ek","trackSendInitialHold","CONVERT_TO_LEAD","LEAD_CONVERSION","REQUEST_INITIAL_HOLD","SUBMIT","onLotClick","statusPath","uncurryThisAccessor","anObject","aPossiblePrototype","setter","CORRECT_SETTER","__proto__","preferredLots","onFinanceStatusDropdownClick","financeStatus","optionsFinanceStatus","selectFinanceStatus","submitEnquiry","PRE_APPROVED","APPLICATION_IN_PROGRESS","EXPLORING_MY_OPTIONS","CASH_BUYER","SELECT","clearForm","_facade$value2","_facade$value3","_facade$value4","landownerId","facadeId","estateTitle","lead","ENQUIRY","watched","not","sameAs","axios","AxiosError","toObject","IndexedObject","lengthOfArrayLike","createMethod","IS_RIGHT","that","argumentsLength","memo","right","_$setup$v$$email$$err","_$setup$v$$postcode$$","_$setup$v$$holderType","scrollToBottom","holderType","INVESTOR","OWNER_OCCUPIER","holder","selectHolderType","userType","contentBlockRef","customerIdOrNull","_store$state","_store$state$user","_store$state$user$dat","validValue","numeric","minLength","isAdminPackage","createInitialHoldRequest","updateQuoteAndCreateHold","initialHold","createInitialHoldRequestBody","updatePackageRequest","updateQuoteAndInitialHoldRequest","dataInitialHold","updateData","holdData","_props$quote$landowne","userSelections","timeReference","bestDescribesYou","emailSentToLandowner","leadDetails","wrapErrorConstructorWithCause","WEB_ASSEMBLY","WebAssembly","exportGlobalErrorCauseWrapper","ERROR_NAME","wrapper","arity","exportWebAssemblyErrorCauseWrapper","stat","isSelectFacade","displayedImages","image","onSelectImage","onScroll","handleScroll","_$setup$props$selecte3","_$setup$props$selecte4","builderCarousel","_props$selectedimage","_props$selectedimage2","viewportWidth","maxScroll","$default","lotsAvailableAmount","cov_1f0yysxwse","RED_SHIFT","GREEN_SHIFT","BLUE_SHIFT","MAX_COLOR_VALUE","MIN_COLOR_VALUE","COLOR_MASK","ALPHA_MASK","PERCENT_TO_RGB","hexToRgb","formatColorValueToHexColor","rgbValue","padStart","clamp","lightenDarkenColor","percent","colorValue","getBuiltIn","hasOwn","isPrototypeOf","copyConstructorProperties","proxyAccessor","inheritIfRequired","normalizeStringArgument","installErrorCause","installErrorStack","IS_PURE","FULL_NAME","IS_AGGREGATE_ERROR","STACK_TRACE_LIMIT","OPTIONS_POSITION","OriginalError","OriginalErrorPrototype","BaseError","WrappedError","cov_243ma3iy2q","showCurrency","_priceArray$0$toStrin","priceArray","lastTwo","substr","firstCharacter","formatPriceToNumber","formatPriceTrim","trimText","formatPorcentageTrim","porcentage","integerValue","decimalValue","porcentageParts","trimPorcentage","updatePriceInput","priceField","_$props$houseInfo","_$props$houseInfo$flo","toggleSection","sectionStates","FACADE","dimensions","HouseDimensionsAndInclusions","BuilderSliderMobile","_$setup$actualStage$","_$setup$actualStage$$","_$setup$actualStage$2","_$setup$actualStage$3","_$setup$props$lotsByH","_$setup$actualStage$4","actualStage","onOnClick","getLotsListFiltered","houseDesignIds","StageButtonLink","LotButtonLink","makeBuiltIn","getter","cov_uhxqewjxr","CALENDLY_PROJECT_SALES_MARKETING_LINK","VUE_APP_CALENDLY_PROJECT_SALES_MARKETING_LINK","cov_s4zu1cu1h","TO_STRING_TAG_SUPPORT","classofRaw","$Object","CORRECT_ARGUMENTS","tryGet","tag","callee","reverse","bedroom","quantity","garage","_renderSlot","$slots","isReviewQuote","openImageModal","isImageModalOpen","selectedImageUrl","cov_1005s2k3ze","setProperty","hexToRgba","primary","hex","alpha"],"mappings":"qYAAA,IAAIA,EAAkB,EAAQ,QAE1BC,EAAgBD,EAAgB,eAChCE,EAAO,GAEXA,EAAKD,GAAiB,IAEtBE,EAAOC,QAA2B,eAAjBC,OAAOH,I,67sBCWlB,OAAAI,EAAA,kBAAAC,KAAAD,IAdC,MAAME,GAAOF,IAAAG,EAAA,KAAa,CAC/B,CAAEC,MAAO,WAAYC,MAAO,YAC5B,CAAED,MAAO,YAAaC,MAAO,aAC7B,CAAED,MAAO,4BAA6BC,MAAO,eAC7C,CAAED,MAAO,WAAYC,MAAO,aAC5B,CAAED,MAAO,aAAcC,MAAO,qBAG1BC,GAAmBN,IAAAG,EAAA,KAAgC,CACvD,CACE,UACA,CACEC,MAAO,YACPC,MAAO,UACPE,WAAY,gBACZC,WAAY,cAGhB,CACE,QACA,CACEJ,MAAO,YACPC,MAAO,QACPE,WAAY,OACZC,WAAY,UAGhB,CACE,sBACA,CACEJ,MAAO,YACPC,MAAO,sBACPE,WAAY,OACZC,WAAY,wBAGhB,CACE,WACA,CACEJ,MAAO,WACPC,MAAO,WACPE,WAAY,aACZC,WAAY,aAGhB,CACE,WACA,CACEJ,MAAO,WACPC,MAAO,WACPE,WAAY,gBACZC,WAAY,aAGhB,CACE,aACA,CACEJ,MAAO,YACPC,MAAO,aACPE,WAAY,a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,YAAaE,GAASH,IAAA5vE,EAAA,MAC7CqT,EAAK8G,MAAM01D,YAAY,kBAAmBnF,gCAAmBqF,EAAS,KAAKH,IAAA5vE,EAAA,MAC3EqT,EAAK8G,MAAM01D,YAAY,kBAAmB,WAAWD,IAAA5vE,EAAA,MACrDqT,EAAK8G,MAAM01D,YAAY,4BAA6B,WAAWD,IAAA5vE,EAAA,MAC/DqT,EAAK8G,MAAM01D,YAAY,sBAAuBE,GAASH,IAAA5vE,EAAA,MACvDqT,EAAK8G,MAAM01D,YACT,gCACA,gDACAD,IAAA5vE,EAAA,MACFqT,EAAK8G,MAAM01D,YACT,6BACA,+BAGJD,IAAA5vE,EAAA,MAEK,MAAM8vE,EAAYA,CAACE,EAAaC,GAAKL,IAAA1tE,EAAA,QAAG,MAAK0tE,IAAAnuE,EAAA,KAClD,MAAOw1B,EAAGyB,EAAGx2B,IAAE0tE,IAAA5vE,EAAA,MAAIgwE,EAAIz2C,MAAM,SAA8BhlB,IAAK+B,IAC9Ds5D,IAAAnuE,EAAA,KAAAmuE,IAAA5vE,EAAA,MAAAm+B,SAAS7nB,EAAG,OAEd,OADEs5D,IAAA5vE,EAAA,MACK,QAAQi3B,KAAKyB,KAAKx2B,KAAK+tE","file":"js/BuilderHouseBorrowCalculator.8d75d9e0.js","sourcesContent":["var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","import {CustomerLotStatus, LotStatusMap, LotStatusObject, LotTab,} from \"@/types/CustomerLotDetails\";\nimport {EoiStatus} from \"@/enums/EoiStatus\";\nimport {LotStatus} from \"@/enums/LotStatus\";\n\nexport const lotTabs: LotTab[] = [\n { label: \"ACTIVITY\", value: \"activity\" },\n { label: \"DOCUMENTS\", value: \"documents\" },\n { label: \"CONTRACT INFORMATION FORM\", value: \"eoi-details\" },\n { label: \"CONTRACT\", value: \"contracts\" },\n { label: \"CONTACT US\", value: \"estate-contacts\" },\n];\n\nconst customerEoiStatuses: [string, LotStatusObject][] = [\n [\n \"PENDING\",\n {\n label: \"Submitted\",\n value: \"pending\",\n background: \"success-light\",\n badgeLabel: \"Submitted\",\n },\n ],\n [\n \"DRAFT\",\n {\n label: \"Submitted\",\n value: \"draft\",\n background: \"gray\",\n badgeLabel: \"Draft\",\n },\n ],\n [\n \"PENDING_FOR_BILLING\",\n {\n label: \"Submitted\",\n value: \"pending for billing\",\n background: \"gray\",\n badgeLabel: \"Pending For Billing\",\n },\n ],\n [\n \"APPROVED\",\n {\n label: \"Approved\",\n value: \"approved\",\n background: \"light-blue\",\n badgeLabel: \"Approved\",\n },\n ],\n [\n \"DECLINED\",\n {\n label: \"Declined\",\n value: \"declined\",\n background: \"warning-light\",\n badgeLabel: \"Declined\",\n },\n ],\n [\n \"TERMINATED\",\n {\n label: \"Submitted\",\n value: \"terminated\",\n background: \"gray-light\",\n badgeLabel: \"Terminated\",\n },\n ],\n [\n \"WAITING_FOR_APPROVED\",\n {\n label: \"Submitted\",\n value: \"waitingForApproved\",\n background: \"primary\",\n badgeLabel: \"Submitted\",\n },\n ],\n [\n \"WAITING_FOR_DECLINED\",\n {\n label: \"Submitted\",\n value: \"waitingForDeclined\",\n background: \"warning-light\",\n badgeLabel: \"EOI Declining\",\n },\n ],\n [\n \"TRANSACTION_ERROR\",\n {\n label: \"Submitted\",\n value: \"transaction_error\",\n background: \"warning\",\n badgeLabel: \"Transaction Error\",\n badgeBackground: \"warning\",\n },\n ],\n [\n \"WAITING_FOR_PENDING\",\n {\n label: \"Submitted\",\n value: \"waitingForPending\",\n background: \"blue\",\n badgeLabel: \"EOI Submitting\",\n badgeBackground: \"blue\",\n },\n ],\n];\nconst customerLotStatuses: [string, LotStatusObject][] = [\n [\n \"CONTRACT_EXECUTED\",\n {\n label: \"Contract Executed\",\n value: \"Contract Executed\",\n background: \"orange-light\",\n badgeLabel: \"Contract Executed\",\n },\n ],\n [\n \"EOI\",\n {\n label: \"Contract Executed\",\n value: \"EOI\",\n background: \"\",\n badgeLabel: \"Approved\",\n },\n ],\n [\n \"UNCONDITIONAL\",\n {\n label: \"Finance Unconditional\",\n value: \"Unconditional\",\n background: \"primary\",\n badgeLabel: \"Finance Unconditional\",\n },\n ],\n [\n \"SETTLED\",\n {\n label: \"Settled\",\n value: \"Settled\",\n background: \"warning\",\n badgeLabel: \"Settled\",\n },\n ],\n [\n \"WITHDRAWN\",\n {\n label: \"Withdrawn\",\n value: \"withdrawn\",\n background: \"orange\",\n badgeLabel: \"Withdrawn\",\n },\n ],\n [\n \"REFUNDED\",\n {\n label: \"Deposit refunded\",\n value: \"refunded\",\n background: \"warning-light\",\n badgeLabel: \"Deposit refunded\",\n },\n ],\n [\n \"REFUND_DECLINED\",\n {\n label: \"Deposit not refunded\",\n value: \"refundDeclined\",\n background: \"warning-light\",\n badgeLabel: \"Deposit not refunded\",\n },\n ],\n];\nexport const customerStatuses = new Map([\n ...customerEoiStatuses,\n ...customerLotStatuses,\n]);\n\nexport const eoiPendingStatuses = [\n customerStatuses.get(\"PENDING\")?.value,\n customerStatuses.get(\"DRAFT\")?.value,\n customerStatuses.get(\"PENDING_FOR_BILLING\")?.value,\n customerStatuses.get(\"TERMINATED\")?.value,\n customerStatuses.get(\"WAITING_FOR_APPROVED\")?.value,\n customerStatuses.get(\"WAITING_FOR_DECLINED\")?.value,\n customerStatuses.get(\"TRANSACTION_ERROR\")?.value,\n customerStatuses.get(\"WAITING_FOR_PENDING\")?.value,\n];\nconst eoiApprovingStatuses = [\n customerStatuses.get(\"APPROVED\")?.value,\n customerStatuses.get(\"DECLINED\")?.value,\n];\nexport const isEoiPendingStatus = (status: CustomerLotStatus): boolean =>\n eoiPendingStatuses.includes(status);\nexport const isEoiApprovingStatus = (status: CustomerLotStatus): boolean =>\n eoiApprovingStatuses.includes(status);\n\nfunction getEoiPendingStatus(eoiStatus: CustomerLotStatus) {\n const statuses = Array.from(customerStatuses.values()) as LotStatusObject[];\n if (isEoiPendingStatus(eoiStatus)) {\n return getStatusByLabel(statuses, eoiStatus);\n } else {\n return customerStatuses.get(\"PENDING\");\n }\n}\nfunction getFinishedStatus(eoiStatus: EoiStatus) {\n if (eoiStatus === customerStatuses.get(\"REFUND_DECLINED\")?.value) {\n return customerStatuses.get(\"REFUND_DECLINED\");\n }\n if (eoiStatus === customerStatuses.get(\"REFUNDED\")?.value) {\n return customerStatuses.get(\"REFUNDED\");\n }\n if (eoiStatus === EoiStatus.WITHDRAWN) {\n return {\n background: \"gray\",\n badgeLabel: \"Refunded\",\n label: \"Refunded\",\n value: \"Settled\",\n };\n }\n return customerStatuses.get(\"SETTLED\");\n}\n\nexport function dynamicStatuses(\n status: CustomerLotStatus,\n eoiStatus: CustomerLotStatus\n): LotStatusObject[] {\n const s = customerStatuses as LotStatusMap;\n return [\n getEoiPendingStatus(eoiStatus),\n eoiStatus === s.get(\"DECLINED\")?.value\n ? s.get(\"DECLINED\")\n : s.get(\"APPROVED\"),\n status === s.get(\"EOI\")?.value ? s.get(\"EOI\") : s.get(\"CONTRACT_EXECUTED\"),\n eoiStatus === s.get(\"WITHDRAWN\")?.value\n ? customerStatuses.get(\"WITHDRAWN\")\n : s.get(\"UNCONDITIONAL\"),\n getFinishedStatus(eoiStatus as EoiStatus),\n ] as LotStatusObject[];\n}\n\nconst getStatusByLabel = (\n statuses: LotStatusObject[],\n status: CustomerLotStatus\n): LotStatusObject | undefined =>\n statuses.find((item) => item.value === status);\n\nexport function getValueByStatus(\n status: CustomerLotStatus,\n field: keyof LotStatusObject\n): string | undefined {\n const statuses = customerStatuses.values();\n return getStatusByLabel(Array.from(statuses) as LotStatusObject[], status)?.[\n field\n ];\n}\n\nexport function getTabByUrl(path: string): LotTab | undefined {\n return lotTabs.find((tab) => path.includes(tab.value));\n}\n\nexport function getLotStatus(\n eoiStatus: EoiStatus,\n lotStatus: LotStatus\n): LotStatus | EoiStatus {\n if (eoiStatus === EoiStatus.APPROVED) {\n if (lotStatus === LotStatus.EOI) {\n return EoiStatus.APPROVED;\n }\n return lotStatus;\n }\n return eoiStatus;\n}\n\nconst { PENDING_FOR_BILLING, DRAFT, PENDING, APPROVED, TERMINATED } = EoiStatus;\n\nexport function showingEoiDetailControls(\n eoiStatus: EoiStatus,\n lotStatus: LotStatus\n): {\n complete(): boolean;\n delete(): boolean;\n withdraw(): boolean;\n decline(): boolean;\n} {\n return {\n complete() {\n return [PENDING_FOR_BILLING, DRAFT].includes(eoiStatus as EoiStatus);\n },\n decline() {\n return [PENDING].includes(eoiStatus as EoiStatus);\n },\n delete() {\n return [PENDING_FOR_BILLING, DRAFT, TERMINATED].includes(\n eoiStatus as EoiStatus\n );\n },\n withdraw() {\n return (\n [APPROVED].includes(eoiStatus as EoiStatus) &&\n [\n LotStatus.EOI,\n LotStatus.CONTRACT_EXECUTED,\n LotStatus.UNCONDITIONAL,\n ].includes(lotStatus)\n );\n },\n };\n}\n\nexport const eoiStatusesHavingBackground = [\n EoiStatus.PENDING,\n EoiStatus.APPROVED,\n EoiStatus.DECLINED,\n EoiStatus.WAITING_FOR_APPROVED,\n EoiStatus.WITHDRAWN,\n EoiStatus.REFUND_DECLINED,\n EoiStatus.REFUNDED,\n EoiStatus.WAITING_FOR_PENDING,\n];\n","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./MapSideLegend.vue?vue&type=style&index=0&id=2dca6308&lang=scss&scoped=true\"","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./StageMap.vue?vue&type=style&index=0&id=ddcdb672&lang=scss&scoped=true\"","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"value\", \"checked\", \"disabled\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"toggle-wr\", [$props.toggleClass]])\n }, [\n _createElementVNode(\"label\", {\n class: _normalizeClass([{ disabled: $props.disabled }, $props.labelBold, $props.labelClass, $props.labelHidden])\n }, [\n _createTextVNode(_toDisplayString($props.label), 1),\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n value: $props.modelValue,\n checked: $props.modelValue,\n onClick: $setup.toggleSelection,\n disabled: $props.disabled\n }, null, 8, _hoisted_1),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"slider\", $props.additionalClass])\n }, null, 2)\n ], 2)\n ], 2))\n}","import { defineComponent as _defineComponent } from 'vue'\n\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'ToggleButton',\n props: {\n modelValue: Boolean,\n label: String,\n disabled: Boolean,\n additionalClass: [String, Array],\n labelBold: String,\n labelClass: { type: String, required: false },\n labelHidden: { type: String, required: false },\n toggleClass: { type: String, required: false },\n },\n emits: [\"update:modelValue\"],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n \n\n const toggleSelection = (event: Event) => {\n emits(\"update:modelValue\", !props.modelValue);\n };\n\nconst __returned__ = { props, emits, toggleSelection }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./ToggleButton.vue?vue&type=template&id=59ba2580&ts=true&lang=pug\"\nimport script from \"./ToggleButton.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ToggleButton.vue?vue&type=script&lang=ts&setup=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export enum BuilderSliderSteps {\n MAIN_IMAGE = \"Main image\",\n SELECTION = \"Selections\",\n KITCHEN = \"Kitchen\",\n BATHROOM = \"Bathroom\",\n LIVING = \"Living\",\n FLOORPLAN = \"Floorplan\",\n}\n","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createBlock as _createBlock, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-10bb10ff\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"house-card\"\n}\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"view-design-btn\" }, \"View design\", -1))\nconst _hoisted_4 = [\n _hoisted_3\n]\nconst _hoisted_5 = { class: \"builder-logo-price-house-wr\" }\nconst _hoisted_6 = [\"src\"]\nconst _hoisted_7 = { class: \"price-house\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line-container\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"line\" })\n], -1))\nconst _hoisted_9 = {\n key: 2,\n class: \"design-suitable-wr\"\n}\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text\" }, \"This design is suitable for lots:\", -1))\nconst _hoisted_11 = { class: \"lot-container\" }\nconst _hoisted_12 = { class: \"lot-title\" }\nconst _hoisted_13 = {\n key: 3,\n class: \"design-suitable-wr\"\n}\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-not\" }, \"Contact us to find out about future releases that may suit this home design\", -1))\nconst _hoisted_15 = [\n _hoisted_14\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return ($setup.props.house)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n class: \"img-house\",\n src: $props.house.mainImage\n }, null, 8, _hoisted_2),\n ($setup.lotsByHouseDesigns && $setup.lotsByHouseDesigns.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"overlay\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => ($setup.onViewDesign()))\n }, _hoisted_4))\n : _createCommentVNode(\"\", true),\n ($props.house)\n ? (_openBlock(), _createBlock($setup[\"HouseFeatures\"], {\n key: 1,\n features: $props.house,\n directionLogoCalculator: true,\n iconSize: 'tiny',\n class: _normalizeClass('house-features')\n }, null, 8, [\"features\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n ($setup.builder)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"builder-logo\",\n src: $setup.builder.logo\n }, null, 8, _hoisted_6))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_7, \"From \" + _toDisplayString($setup.formatPrice($props.house.basePrice)), 1)\n ]),\n _hoisted_8,\n ($setup.lotsByHouseDesigns && $setup.lotsByHouseDesigns.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _hoisted_10,\n _createElementVNode(\"div\", _hoisted_11, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.visibleLots, (lot, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"lots\",\n key: index\n }, [\n _createElementVNode(\"div\", _hoisted_12, _toDisplayString(lot.title), 1)\n ]))\n }), 128)),\n ($setup.remainingLots > 0)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"more-btn\",\n onClick: $setup.showMoreLots\n }, \"+ \" + _toDisplayString($setup.remainingLots) + \" more\", 1))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_13, _hoisted_15))\n ]))\n : _createCommentVNode(\"\", true)\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { computed, onMounted, ref, watch } from \"vue\";\n import { formatPrice } from \"@/helpers/transformation/price\";\n import { useToast, POSITION } from \"vue-toastification\";\n import {\n HouseDesignInterface,\n HouseWithLotsAndBuilder,\n LotTitleAndId,\n } from \"@/types/HouseDesignInterface\";\n import HouseFeatures from \"@/components/builder/HouseFeatures.vue\";\n import { LotInterface } from \"@/types/LotInterface\";\n import store from \"@/store\";\n import router from \"@/router\";\n import { EstateInterface } from \"@/types/EstateInterface\";\n import { BuilderInterface } from \"@/types/BuilderInterface\";\n import { BuilderQuote } from \"@/types/BuilderQuote\";\n import { BorrowCalculatorResult } from \"@/types/BorrowCalculator\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'HouseCard',\n props: {\n house: {},\n estate: {},\n quote: {},\n result: {},\n houseDetailsView: { type: Boolean }\n },\n emits: [\"onClickHouse\"],\n setup(__props: any, { expose: __expose, emit }) {\n __expose();\n\nconst props = __props;\n\n \n\n \n\n const toast = useToast();\n const lotsByHouseDesigns = ref();\n const builder = ref();\n const visibleLots = ref([]);\n const showMore = ref(false);\n\n const LoanAmountString = computed(() => {\n return props.result?.LoanAmountString;\n });\n\n const remainingLots = computed(() => {\n if (lotsByHouseDesigns.value) {\n return lotsByHouseDesigns.value.length - visibleLots.value.length;\n }\n return 0;\n });\n\n const getLotsByEstateAndHouseDesign = () => {\n if (props.house && props.estate) {\n lotsByHouseDesigns.value = props.house.lots;\n visibleLots.value = props.house.lots.slice(0, 2);\n showMore.value = props.house.lots.length > 2;\n }\n };\n\n const getBuilderById = () => {\n if (props.house) {\n builder.value = props.house.builderId;\n }\n };\n\n const showMoreLots = () => {\n if (lotsByHouseDesigns.value) {\n visibleLots.value = lotsByHouseDesigns.value;\n showMore.value = false;\n }\n };\n\n const updateLocalStorage = () => {\n const { houseDetailsView } = props;\n const lotsCount = visibleLots.value.length;\n localStorage.setItem(\"deleteLotStorage\", \"true\");\n localStorage.setItem(\n \"filterFields\",\n JSON.stringify(store.state.borrowCalculator.filterFields)\n );\n };\n\n const onClickHouseEvent = () => {\n const lot =\n visibleLots.value.length === 1 ? visibleLots.value[0] : undefined;\n emit(\"onClickHouse\", lot?._id);\n };\n\n const navigateToCalculator = () => {\n const { house, estate, quote, result } = props;\n if (house && estate && quote && result) {\n if (props.houseDetailsView) {\n router.push({\n name: \"BuilderHouseBorrowCalculator\",\n params: {\n estateId: estate._id,\n quoteId: quote._id,\n houseId: house._id,\n loanAmount: LoanAmountString.value?.replace(/[$,]/g, \"\"),\n },\n });\n onClickHouseEvent();\n } else {\n const route = router.resolve({\n name: \"BuilderHouseBorrowCalculator\",\n params: {\n estateId: estate._id,\n quoteId: quote._id,\n houseId: house._id,\n loanAmount: LoanAmountString.value?.replace(/[$,]/g, \"\"),\n },\n });\n window.location.href = route.href;\n }\n }\n };\n\n const onViewDesign = () => {\n updateLocalStorage();\n navigateToCalculator();\n };\n\n watch(\n () => props.house,\n (newHouse) => {\n if (newHouse) {\n getLotsByEstateAndHouseDesign();\n getBuilderById();\n }\n },\n { immediate: true }\n );\n\n onMounted(() => {\n getLotsByEstateAndHouseDesign();\n getBuilderById();\n });\n\nconst __returned__ = { props, emit, toast, lotsByHouseDesigns, builder, visibleLots, showMore, LoanAmountString, remainingLots, getLotsByEstateAndHouseDesign, getBuilderById, showMoreLots, updateLocalStorage, onClickHouseEvent, navigateToCalculator, onViewDesign, computed, onMounted, ref, watch, get formatPrice() { return formatPrice }, get useToast() { return useToast }, get POSITION() { return POSITION }, get HouseDesignInterface() { return HouseDesignInterface }, get HouseWithLotsAndBuilder() { return HouseWithLotsAndBuilder }, get LotTitleAndId() { return LotTitleAndId }, HouseFeatures, get LotInterface() { return LotInterface }, get store() { return store }, get router() { return router }, get EstateInterface() { return EstateInterface }, get BuilderInterface() { return BuilderInterface }, get BuilderQuote() { return BuilderQuote }, get BorrowCalculatorResult() { return BorrowCalculatorResult } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./HouseCard.vue?vue&type=template&id=10bb10ff&scoped=true&ts=true&lang=pug\"\nimport script from \"./HouseCard.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./HouseCard.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./HouseCard.vue?vue&type=style&index=0&id=10bb10ff&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-10bb10ff\"]])\n\nexport default __exports__","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createBlock as _createBlock, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-855b28d8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"spinner\"\n}\nconst _hoisted_2 = {\n key: 1,\n class: \"list-houses\"\n}\nconst _hoisted_3 = {\n key: 2,\n class: \"no-results\"\n}\nconst _hoisted_4 = {\n key: 3,\n class: \"content-button-load\"\n}\nconst _hoisted_5 = {\n key: 4,\n class: \"spinner\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n ($setup.loading && !$setup.props.houses)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1))\n : _createCommentVNode(\"\", true),\n ($setup.props.houses && $setup.props.houses.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.displayedHouses, (house, index) => {\n return (_openBlock(), _createBlock($setup[\"HouseCard\"], {\n key: index,\n house: house,\n estate: $setup.props.estate,\n quote: $setup.props.quote,\n result: $setup.props.result,\n houseDetailsView: $setup.props.houseDetailsView,\n onOnClickHouse: $setup.onClickHouse\n }, null, 8, [\"house\", \"estate\", \"quote\", \"result\", \"houseDetailsView\"]))\n }), 128))\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_3, \"No data to display\")),\n ($setup.hasNextBatch && !$setup.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"button\", {\n class: \"load-more-btn\",\n onClick: $setup.loadMore\n }, \"Load more\")\n ]))\n : _createCommentVNode(\"\", true),\n ($setup.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport {\n HouseDesignInterface,\n HouseLotsBuilderPagination,\n HouseWithLotsAndBuilder,\n } from \"@/types/HouseDesignInterface\";\n import HouseCard from \"./HouseCard.vue\";\n import { EstateInterface } from \"@/types/EstateInterface\";\n import { BuilderQuote } from \"@/types/BuilderQuote\";\n import { BorrowCalculatorResult } from \"@/types/BorrowCalculator\";\n import { ref, watch } from \"vue\";\n import { useIsDesktop } from \"@/features/useIsDesktop\";\n\n const smallLayoutWidth = 990;\n const INITIAL_DISPLAYED_HOUSES = 6;\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'ListHouses',\n props: {\n houses: {},\n estate: {},\n quote: {},\n result: {},\n houseDetailsView: { type: Boolean },\n nextBatch: {}\n },\n emits: [\"onClickHouse\", \"loadNextBatch\"],\n setup(__props: any, { expose: __expose, emit }) {\n __expose();\n\nconst props = __props;\n\n \n\n \n\n const { isDesktop } = useIsDesktop(smallLayoutWidth);\n\n const loading = ref(true);\n const hasNextBatch = ref(false);\n const displayedHouses = ref([]);\n\n const onClickHouse = (lotId?: string) => emit(\"onClickHouse\", lotId);\n\n watch(\n () => props.houses,\n (newHouses) => {\n if (newHouses) {\n loading.value = false;\n displayedHouses.value = newHouses.slice(0, INITIAL_DISPLAYED_HOUSES);\n }\n },\n { immediate: true }\n );\n\n const loadMoreHouses = (nextBatch: HouseLotsBuilderPagination) => {\n displayedHouses.value = [\n ...displayedHouses.value,\n ...(nextBatch.data ?? []),\n ];\n };\n\n const setNextBatchData = (nextBatch?: HouseLotsBuilderPagination) => {\n if (nextBatch) {\n hasNextBatch.value = nextBatch.hasNextPage;\n }\n };\n\n const loadMoreHousesIfNextBatch = (\n nextBatch?: HouseLotsBuilderPagination\n ) => {\n if (nextBatch && nextBatch.page > 1) {\n loading.value = false;\n loadMoreHouses(nextBatch);\n }\n };\n\n watch(\n () => props.nextBatch,\n (nextBatch) => {\n setNextBatchData(nextBatch);\n loadMoreHousesIfNextBatch(nextBatch);\n },\n { immediate: true }\n );\n\n const loadMore = () => {\n loading.value = true;\n emit(\"loadNextBatch\");\n };\n\nconst __returned__ = { props, emit, smallLayoutWidth, isDesktop, INITIAL_DISPLAYED_HOUSES, loading, hasNextBatch, displayedHouses, onClickHouse, loadMoreHouses, setNextBatchData, loadMoreHousesIfNextBatch, loadMore, get HouseDesignInterface() { return HouseDesignInterface }, get HouseLotsBuilderPagination() { return HouseLotsBuilderPagination }, get HouseWithLotsAndBuilder() { return HouseWithLotsAndBuilder }, HouseCard, get EstateInterface() { return EstateInterface }, get BuilderQuote() { return BuilderQuote }, get BorrowCalculatorResult() { return BorrowCalculatorResult }, ref, watch, get useIsDesktop() { return useIsDesktop } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./ListHouses.vue?vue&type=template&id=855b28d8&scoped=true&ts=true&lang=pug\"\nimport script from \"./ListHouses.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ListHouses.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./ListHouses.vue?vue&type=style&index=0&id=855b28d8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-855b28d8\"]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BuilderInitialHoldModal.vue?vue&type=style&index=0&id=4347dd5d&lang=scss\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./CustomizeHouseSlider.vue?vue&type=style&index=0&id=f296976c&lang=scss\"","import { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/icon-powered-by.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-353aed0c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"href\"]\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"powered-img\",\n src: _imports_0\n}, null, -1))\nconst _hoisted_3 = [\n _hoisted_2\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"a\", {\n class: _normalizeClass([\"lottrackr-link-container\", { noBg: $setup.props.noBg }]),\n href: $setup.props.redirectTo,\n target: \"_blank\"\n }, _hoisted_3, 10, _hoisted_1))\n}","import { defineComponent as _defineComponent } from 'vue'\n\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'LottrackrPoweredIcon',\n props: {\n redirectTo: {\n type: String,\n required: false,\n default: 'https://www.lottrackr.com.au/',\n },\n noBg: {\n type: Boolean,\n required: false,\n },\n },\n setup(__props, { expose: __expose }) {\n __expose();\n\nconst props = __props;\n\n \n\nconst __returned__ = { props }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./LottrackrPoweredIcon.vue?vue&type=template&id=353aed0c&scoped=true&ts=true&lang=pug\"\nimport script from \"./LottrackrPoweredIcon.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./LottrackrPoweredIcon.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./LottrackrPoweredIcon.vue?vue&type=style&index=0&id=353aed0c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-353aed0c\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, Fragment as _Fragment, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2dca6308\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"side-legend-container\" }\nconst _hoisted_2 = { class: \"side-legend-wr\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"legend column\"\n}\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status side-panel gray\" }, \"Not Released\", -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status side-panel success\" }, \"Now Selling\", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status side-panel warning\" }, \"Sold Out\", -1))\nconst _hoisted_7 = [\n _hoisted_4,\n _hoisted_5,\n _hoisted_6\n]\nconst _hoisted_8 = {\n key: 1,\n class: \"legend column\"\n}\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status side-panel gray\" }, \"Not Released\", -1))\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status side-panel success\" }, \"Available\", -1))\nconst _hoisted_11 = { class: \"status side-panel yellow\" }\nconst _hoisted_12 = { class: \"status side-panel warning\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status side-panel\" }, \"Unconditional\", -1))\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status side-panel orange\" }, \"Option\", -1))\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status side-panel gray-middle\" }, \"Offline\", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n ($setup.props.isEstateMap)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, _hoisted_7))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _hoisted_9,\n _hoisted_10,\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"status side-panel\", $setup.props.role === $setup.UserRoles.CUSTOMER ? 'light-blue' : 'blue'])\n }, _toDisplayString($setup.props.role === $setup.UserRoles.CUSTOMER ? \"Hold\" : \"Pre-Contract\"), 3),\n _createElementVNode(\"div\", _hoisted_11, _toDisplayString($setup.props.role === $setup.UserRoles.CUSTOMER ? \"Under Contract\" : \"Contract Executed\"), 1),\n _createElementVNode(\"div\", _hoisted_12, _toDisplayString($setup.props.role === $setup.UserRoles.CUSTOMER ? \"Sold\" : \"Settled\"), 1),\n ($setup.props.role !== $setup.UserRoles.CUSTOMER)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _hoisted_13,\n _hoisted_14,\n _hoisted_15\n ], 64))\n : _createCommentVNode(\"\", true)\n ])),\n _createVNode($setup[\"LottrackrPoweredIcon\"], { class: \"side-legend-link\" })\n ])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { UserRoles } from \"@/enums/UserRoles\";\n \n import LottrackrPoweredIcon from \"./ui/LottrackrPoweredIcon.vue\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'MapSideLegend',\n props: {\n isEstateMap: Boolean,\n role: { type: String, default: () => UserRoles.LANDOWNER },\n },\n setup(__props, { expose: __expose }) {\n __expose();\n\nconst props = __props;\n\n \n\nconst __returned__ = { props, get UserRoles() { return UserRoles }, LottrackrPoweredIcon }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./MapSideLegend.vue?vue&type=template&id=2dca6308&scoped=true&ts=true&lang=pug\"\nimport script from \"./MapSideLegend.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MapSideLegend.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MapSideLegend.vue?vue&type=style&index=0&id=2dca6308&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2dca6308\"]])\n\nexport default __exports__","/**\n * Vue 3 Carousel 0.1.48\n * (c) 2022\n * @license MIT\n */\nimport { defineComponent, ref, reactive, provide, onMounted, nextTick, onUnmounted, computed, watch, watchEffect, h, withModifiers, inject } from 'vue';\n\nconst defaultConfigs = {\r\n itemsToShow: 1,\r\n itemsToScroll: 1,\r\n modelValue: 0,\r\n transition: 300,\r\n autoplay: 0,\r\n snapAlign: 'center',\r\n wrapAround: false,\r\n pauseAutoplayOnHover: false,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n dir: 'ltr',\r\n breakpoints: undefined,\r\n};\n\nconst carouselProps = {\r\n // count of items to showed per view\r\n itemsToShow: {\r\n default: defaultConfigs.itemsToShow,\r\n type: Number,\r\n },\r\n // count of items to be scrolled\r\n itemsToScroll: {\r\n default: defaultConfigs.itemsToScroll,\r\n type: Number,\r\n },\r\n // control infinite scrolling mode\r\n wrapAround: {\r\n default: defaultConfigs.wrapAround,\r\n type: Boolean,\r\n },\r\n // control snap position alignment\r\n snapAlign: {\r\n default: defaultConfigs.snapAlign,\r\n validator(value) {\r\n // The value must match one of these strings\r\n return ['start', 'end', 'center', 'center-even', 'center-odd'].includes(value);\r\n },\r\n },\r\n // sliding transition time in ms\r\n transition: {\r\n default: defaultConfigs.transition,\r\n type: Number,\r\n },\r\n // an object to store breakpoints\r\n breakpoints: {\r\n default: defaultConfigs.breakpoints,\r\n type: Object,\r\n },\r\n // time to auto advance slides in ms\r\n autoplay: {\r\n default: defaultConfigs.autoplay,\r\n type: Number,\r\n },\r\n // pause autoplay when mouse hover over the carousel\r\n pauseAutoplayOnHover: {\r\n default: defaultConfigs.pauseAutoplayOnHover,\r\n type: Boolean,\r\n },\r\n // slide number number of initial slide\r\n modelValue: {\r\n default: undefined,\r\n type: Number,\r\n },\r\n // toggle mouse dragging.\r\n mouseDrag: {\r\n default: defaultConfigs.mouseDrag,\r\n type: Boolean,\r\n },\r\n // toggle mouse dragging.\r\n touchDrag: {\r\n default: defaultConfigs.touchDrag,\r\n type: Boolean,\r\n },\r\n // control snap position alignment\r\n dir: {\r\n default: defaultConfigs.dir,\r\n validator(value) {\r\n // The value must match one of these strings\r\n return ['rtl', 'ltr'].includes(value);\r\n },\r\n },\r\n // an object to pass all settings\r\n settings: {\r\n default() {\r\n return {};\r\n },\r\n type: Object,\r\n },\r\n};\n\n/**\r\n * return a debounced version of the function\r\n * @param fn\r\n * @param delay\r\n */\r\n// eslint-disable-next-line no-unused-vars\r\nfunction debounce(fn, delay) {\r\n let timerId;\r\n return function (...args) {\r\n if (timerId) {\r\n clearTimeout(timerId);\r\n }\r\n timerId = setTimeout(() => {\r\n fn(...args);\r\n timerId = null;\r\n }, delay);\r\n };\r\n}\r\n/**\r\n * return a throttle version of the function\r\n * Throttling\r\n *\r\n */\r\n// eslint-disable-next-line no-unused-vars\r\nfunction throttle(fn, limit) {\r\n let inThrottle;\r\n return function (...args) {\r\n const self = this;\r\n if (!inThrottle) {\r\n fn.apply(self, args);\r\n inThrottle = true;\r\n setTimeout(() => (inThrottle = false), limit);\r\n }\r\n };\r\n}\r\nfunction getSlidesVNodes(vNode) {\r\n var _a, _b, _c;\r\n // Return empty array if there's any node\r\n if (!vNode)\r\n return [];\r\n // Check if the Slides components are added directly without v-for (#72)\r\n if (((_b = (_a = vNode[0]) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.name) === 'CarouselSlide')\r\n return vNode;\r\n return ((_c = vNode[0]) === null || _c === void 0 ? void 0 : _c.children) || [];\r\n}\r\nfunction getMaxSlideIndex(config, slidesCount) {\r\n if (config.wrapAround) {\r\n return slidesCount - 1;\r\n }\r\n switch (config.snapAlign) {\r\n case 'start':\r\n return slidesCount - config.itemsToShow;\r\n case 'end':\r\n return slidesCount - 1;\r\n case 'center':\r\n case 'center-odd':\r\n return slidesCount - Math.ceil(config.itemsToShow / 2);\r\n case 'center-even':\r\n return slidesCount - Math.ceil(config.itemsToShow / 2);\r\n default:\r\n return 0;\r\n }\r\n}\r\nfunction getMinSlideIndex(config) {\r\n if (config.wrapAround) {\r\n return 0;\r\n }\r\n switch (config.snapAlign) {\r\n case 'start':\r\n return 0;\r\n case 'end':\r\n return config.itemsToShow - 1;\r\n case 'center':\r\n case 'center-odd':\r\n return Math.floor((config.itemsToShow - 1) / 2);\r\n case 'center-even':\r\n return Math.floor((config.itemsToShow - 2) / 2);\r\n default:\r\n return 0;\r\n }\r\n}\r\nfunction getCurrentSlideIndex(config, val, max, min) {\r\n if (config.wrapAround) {\r\n return val;\r\n }\r\n return Math.min(Math.max(val, min), max);\r\n}\r\nfunction getSlidesToScroll({ slidesBuffer, currentSlide, snapAlign, itemsToShow, wrapAround, slidesCount, }) {\r\n let output = slidesBuffer.indexOf(currentSlide);\r\n if (output === -1) {\r\n output = slidesBuffer.indexOf(Math.ceil(currentSlide));\r\n }\r\n if (snapAlign === 'center' || snapAlign === 'center-odd') {\r\n output -= (itemsToShow - 1) / 2;\r\n }\r\n else if (snapAlign === 'center-even') {\r\n output -= (itemsToShow - 2) / 2;\r\n }\r\n else if (snapAlign === 'end') {\r\n output -= itemsToShow - 1;\r\n }\r\n if (!wrapAround) {\r\n const max = slidesCount - itemsToShow;\r\n const min = 0;\r\n output = Math.max(Math.min(output, max), min);\r\n }\r\n return output;\r\n}\n\nvar Carousel = defineComponent({\r\n name: 'Carousel',\r\n props: carouselProps,\r\n setup(props, { slots, emit, expose }) {\r\n var _a;\r\n const root = ref(null);\r\n const slides = ref([]);\r\n const slidesBuffer = ref([]);\r\n const slideWidth = ref(0);\r\n const slidesCount = ref(1);\r\n let autoplayTimer;\r\n let transitionTimer;\r\n let breakpoints = ref({});\r\n // generate carousel configs\r\n let __defaultConfig = Object.assign({}, defaultConfigs);\r\n // current config\r\n const config = reactive(Object.assign({}, __defaultConfig));\r\n // slides\r\n const currentSlideIndex = ref((_a = config.modelValue) !== null && _a !== void 0 ? _a : 0);\r\n const prevSlideIndex = ref(0);\r\n const middleSlideIndex = ref(0);\r\n const maxSlideIndex = ref(0);\r\n const minSlideIndex = ref(0);\r\n provide('config', config);\r\n provide('slidesBuffer', slidesBuffer);\r\n provide('slidesCount', slidesCount);\r\n provide('currentSlide', currentSlideIndex);\r\n provide('maxSlide', maxSlideIndex);\r\n provide('minSlide', minSlideIndex);\r\n /**\r\n * Configs\r\n */\r\n function initDefaultConfigs() {\r\n // generate carousel configs\r\n const mergedConfigs = Object.assign(Object.assign({}, props), props.settings);\r\n // Set breakpoints\r\n breakpoints = ref(Object.assign({}, mergedConfigs.breakpoints));\r\n // remove extra values\r\n __defaultConfig = Object.assign(Object.assign({}, mergedConfigs), { settings: undefined, breakpoints: undefined });\r\n bindConfigs(__defaultConfig);\r\n }\r\n function updateBreakpointsConfigs() {\r\n const breakpointsArray = Object.keys(breakpoints.value)\r\n .map((key) => Number(key))\r\n .sort((a, b) => +b - +a);\r\n let newConfig = Object.assign({}, __defaultConfig);\r\n breakpointsArray.some((breakpoint) => {\r\n const isMatched = window.matchMedia(`(min-width: ${breakpoint}px)`).matches;\r\n if (isMatched) {\r\n newConfig = Object.assign(Object.assign({}, newConfig), breakpoints.value[breakpoint]);\r\n return true;\r\n }\r\n return false;\r\n });\r\n bindConfigs(newConfig);\r\n }\r\n function bindConfigs(newConfig) {\r\n for (let key in newConfig) {\r\n // @ts-ignore\r\n config[key] = newConfig[key];\r\n }\r\n }\r\n const handleWindowResize = debounce(() => {\r\n if (breakpoints.value) {\r\n updateBreakpointsConfigs();\r\n updateSlidesData();\r\n }\r\n updateSlideWidth();\r\n }, 16);\r\n /**\r\n * Setup functions\r\n */\r\n function updateSlideWidth() {\r\n if (!root.value)\r\n return;\r\n const rect = root.value.getBoundingClientRect();\r\n slideWidth.value = rect.width / config.itemsToShow;\r\n }\r\n function updateSlidesData() {\r\n slidesCount.value = Math.max(slides.value.length, 1);\r\n if (slidesCount.value <= 0)\r\n return;\r\n middleSlideIndex.value = Math.ceil((slidesCount.value - 1) / 2);\r\n maxSlideIndex.value = getMaxSlideIndex(config, slidesCount.value);\r\n minSlideIndex.value = getMinSlideIndex(config);\r\n currentSlideIndex.value = getCurrentSlideIndex(config, currentSlideIndex.value, maxSlideIndex.value, minSlideIndex.value);\r\n }\r\n function updateSlidesBuffer() {\r\n const slidesArray = [...Array(slidesCount.value).keys()];\r\n const shouldShiftSlides = config.wrapAround && config.itemsToShow + 1 <= slidesCount.value;\r\n if (shouldShiftSlides) {\r\n const buffer = config.itemsToShow !== 1\r\n ? Math.round((slidesCount.value - config.itemsToShow) / 2)\r\n : 0;\r\n let shifts = buffer - currentSlideIndex.value;\r\n if (config.snapAlign === 'end') {\r\n shifts += Math.floor(config.itemsToShow - 1);\r\n }\r\n else if (config.snapAlign === 'center' || config.snapAlign === 'center-odd') {\r\n shifts++;\r\n }\r\n // Check shifting directions\r\n if (shifts < 0) {\r\n for (let i = shifts; i < 0; i++) {\r\n slidesArray.push(Number(slidesArray.shift()));\r\n }\r\n }\r\n else {\r\n for (let i = 0; i < shifts; i++) {\r\n slidesArray.unshift(Number(slidesArray.pop()));\r\n }\r\n }\r\n }\r\n slidesBuffer.value = slidesArray;\r\n }\r\n onMounted(() => {\r\n if (breakpoints.value) {\r\n updateBreakpointsConfigs();\r\n updateSlidesData();\r\n }\r\n nextTick(() => setTimeout(updateSlideWidth, 16));\r\n initAutoplay();\r\n window.addEventListener('resize', handleWindowResize, { passive: true });\r\n });\r\n onUnmounted(() => {\r\n if (transitionTimer) {\r\n clearTimeout(transitionTimer);\r\n }\r\n if (autoplayTimer) {\r\n clearInterval(autoplayTimer);\r\n }\r\n });\r\n /**\r\n * Carousel Event listeners\r\n */\r\n let isTouch = false;\r\n const startPosition = { x: 0, y: 0 };\r\n const endPosition = { x: 0, y: 0 };\r\n const dragged = reactive({ x: 0, y: 0 });\r\n const isHover = ref(false);\r\n const handleMouseEnter = () => {\r\n isHover.value = true;\r\n };\r\n const handleMouseLeave = () => {\r\n isHover.value = false;\r\n };\r\n function handleDragStart(event) {\r\n isTouch = event.type === 'touchstart';\r\n if ((!isTouch && event.button !== 0) || isSliding.value) {\r\n return;\r\n }\r\n if (!isTouch) {\r\n event.preventDefault();\r\n }\r\n startPosition.x = isTouch ? event.touches[0].clientX : event.clientX;\r\n startPosition.y = isTouch ? event.touches[0].clientY : event.clientY;\r\n document.addEventListener(isTouch ? 'touchmove' : 'mousemove', handleDragging, true);\r\n document.addEventListener(isTouch ? 'touchend' : 'mouseup', handleDragEnd, true);\r\n }\r\n const handleDragging = throttle((event) => {\r\n endPosition.x = isTouch ? event.touches[0].clientX : event.clientX;\r\n endPosition.y = isTouch ? event.touches[0].clientY : event.clientY;\r\n const deltaX = endPosition.x - startPosition.x;\r\n const deltaY = endPosition.y - startPosition.y;\r\n dragged.y = deltaY;\r\n dragged.x = deltaX;\r\n }, 16);\r\n function handleDragEnd() {\r\n const direction = config.dir === 'rtl' ? -1 : 1;\r\n const tolerance = Math.sign(dragged.x) * 0.4;\r\n const draggedSlides = Math.round(dragged.x / slideWidth.value + tolerance) * direction;\r\n let newSlide = getCurrentSlideIndex(config, currentSlideIndex.value - draggedSlides, maxSlideIndex.value, minSlideIndex.value);\r\n // Prevent clicking if there is clicked slides\r\n if (draggedSlides && !isTouch) {\r\n const captureClick = (e) => {\r\n e.stopPropagation();\r\n window.removeEventListener('click', captureClick, true);\r\n };\r\n window.addEventListener('click', captureClick, true);\r\n }\r\n slideTo(newSlide);\r\n dragged.x = 0;\r\n dragged.y = 0;\r\n document.removeEventListener(isTouch ? 'touchmove' : 'mousemove', handleDragging, true);\r\n document.removeEventListener(isTouch ? 'touchend' : 'mouseup', handleDragEnd, true);\r\n }\r\n /**\r\n * Autoplay\r\n */\r\n function initAutoplay() {\r\n if (!config.autoplay || config.autoplay <= 0) {\r\n return;\r\n }\r\n autoplayTimer = setInterval(() => {\r\n if (config.pauseAutoplayOnHover && isHover.value) {\r\n return;\r\n }\r\n next();\r\n }, config.autoplay);\r\n }\r\n function resetAutoplay() {\r\n if (autoplayTimer) {\r\n clearInterval(autoplayTimer);\r\n autoplayTimer = null;\r\n }\r\n initAutoplay();\r\n }\r\n /**\r\n * Navigation function\r\n */\r\n const isSliding = ref(false);\r\n function slideTo(slideIndex, mute = false) {\r\n if (currentSlideIndex.value === slideIndex || isSliding.value) {\r\n return;\r\n }\r\n resetAutoplay();\r\n // Wrap slide index\r\n const lastSlideIndex = slidesCount.value - 1;\r\n if (slideIndex > lastSlideIndex) {\r\n return slideTo(slideIndex - slidesCount.value);\r\n }\r\n if (slideIndex < 0) {\r\n return slideTo(slideIndex + slidesCount.value);\r\n }\r\n isSliding.value = true;\r\n prevSlideIndex.value = currentSlideIndex.value;\r\n currentSlideIndex.value = slideIndex;\r\n if (!mute) {\r\n emit('update:modelValue', currentSlideIndex.value);\r\n }\r\n transitionTimer = setTimeout(() => {\r\n if (config.wrapAround)\r\n updateSlidesBuffer();\r\n isSliding.value = false;\r\n }, config.transition);\r\n }\r\n function next() {\r\n let nextSlide = currentSlideIndex.value + config.itemsToScroll;\r\n if (!config.wrapAround) {\r\n nextSlide = Math.min(nextSlide, maxSlideIndex.value);\r\n }\r\n slideTo(nextSlide);\r\n }\r\n function prev() {\r\n let prevSlide = currentSlideIndex.value - config.itemsToScroll;\r\n if (!config.wrapAround) {\r\n prevSlide = Math.max(prevSlide, minSlideIndex.value);\r\n }\r\n slideTo(prevSlide);\r\n }\r\n const nav = { slideTo, next, prev };\r\n provide('nav', nav);\r\n /**\r\n * Track style\r\n */\r\n const slidesToScroll = computed(() => getSlidesToScroll({\r\n slidesBuffer: slidesBuffer.value,\r\n itemsToShow: config.itemsToShow,\r\n snapAlign: config.snapAlign,\r\n wrapAround: Boolean(config.wrapAround),\r\n currentSlide: currentSlideIndex.value,\r\n slidesCount: slidesCount.value,\r\n }));\r\n provide('slidesToScroll', slidesToScroll);\r\n const trackStyle = computed(() => {\r\n const direction = config.dir === 'rtl' ? -1 : 1;\r\n const xScroll = slidesToScroll.value * slideWidth.value * direction;\r\n return {\r\n transform: `translateX(${dragged.x - xScroll}px)`,\r\n transition: `${isSliding.value ? config.transition : 0}ms`,\r\n };\r\n });\r\n function initCarousel() {\r\n initDefaultConfigs();\r\n }\r\n function restartCarousel() {\r\n initDefaultConfigs();\r\n updateBreakpointsConfigs();\r\n updateSlidesData();\r\n updateSlidesBuffer();\r\n updateSlideWidth();\r\n resetAutoplay();\r\n }\r\n function updateCarousel() {\r\n updateSlidesData();\r\n updateSlidesBuffer();\r\n }\r\n // Update the carousel on props change\r\n Object.keys(carouselProps).forEach((prop) => {\r\n if (['modelValue'].includes(prop))\r\n return;\r\n watch(() => props[prop], restartCarousel);\r\n });\r\n // Init carousel\r\n initCarousel();\r\n watchEffect(() => {\r\n // Handel when slides added/removed\r\n const needToUpdate = slidesCount.value !== slides.value.length;\r\n const currentSlideUpdated = props.modelValue !== undefined && currentSlideIndex.value !== props.modelValue;\r\n if (currentSlideUpdated) {\r\n slideTo(Number(props.modelValue), true);\r\n }\r\n if (needToUpdate) {\r\n updateCarousel();\r\n }\r\n });\r\n const data = {\r\n config,\r\n slidesBuffer,\r\n slidesCount,\r\n slideWidth,\r\n currentSlide: currentSlideIndex,\r\n maxSlide: maxSlideIndex,\r\n minSlide: minSlideIndex,\r\n middleSlide: middleSlideIndex,\r\n };\r\n expose({\r\n updateBreakpointsConfigs,\r\n updateSlidesData,\r\n updateSlideWidth,\r\n updateSlidesBuffer,\r\n initCarousel,\r\n restartCarousel,\r\n updateCarousel,\r\n slideTo,\r\n next,\r\n prev,\r\n nav,\r\n data,\r\n });\r\n const slotSlides = slots.default || slots.slides;\r\n const slotAddons = slots.addons;\r\n const slotsProps = reactive(data);\r\n return () => {\r\n const slidesElements = getSlidesVNodes(slotSlides === null || slotSlides === void 0 ? void 0 : slotSlides(slotsProps));\r\n const addonsElements = (slotAddons === null || slotAddons === void 0 ? void 0 : slotAddons(slotsProps)) || [];\r\n slides.value = slidesElements;\r\n // Bind slide order\r\n slidesElements.forEach((el, index) => (el.props.index = index));\r\n const trackEl = h('ol', {\r\n class: 'carousel__track',\r\n style: trackStyle.value,\r\n onMousedown: config.mouseDrag\r\n ? withModifiers(handleDragStart, ['capture'])\r\n : null,\r\n onTouchstart: config.touchDrag\r\n ? withModifiers(handleDragStart, ['capture'])\r\n : null,\r\n }, slidesElements);\r\n const viewPortEl = h('div', { class: 'carousel__viewport' }, trackEl);\r\n return h('section', {\r\n ref: root,\r\n class: {\r\n carousel: true,\r\n 'carousel--rtl': config.dir === 'rtl',\r\n },\r\n dir: config.dir,\r\n 'aria-label': 'Gallery',\r\n onMouseenter: handleMouseEnter,\r\n onMouseleave: handleMouseLeave,\r\n }, [viewPortEl, addonsElements]);\r\n };\r\n },\r\n});\n\nconst icons = {\r\n arrowUp: 'M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z',\r\n arrowDown: 'M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z',\r\n arrowRight: 'M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z',\r\n arrowLeft: 'M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z',\r\n};\n\nconst Icon = (props) => {\r\n const iconName = props.name;\r\n if (!iconName || typeof iconName !== 'string') {\r\n return;\r\n }\r\n const path = icons[iconName];\r\n const pathEl = h('path', { d: path });\r\n const iconTitle = (props.title || iconName);\r\n const titleEl = h('title', iconTitle);\r\n return h('svg', {\r\n class: 'carousel__icon',\r\n viewBox: '0 0 24 24',\r\n role: 'img',\r\n ariaLabel: iconTitle,\r\n }, [titleEl, pathEl]);\r\n};\r\nIcon.props = { name: String, title: String };\n\nconst Navigation = (props, { slots, attrs }) => {\r\n const { next: slotNext, prev: slotPrev } = slots || {};\r\n const config = inject('config', reactive(Object.assign({}, defaultConfigs)));\r\n const maxSlide = inject('maxSlide', ref(1));\r\n const minSlide = inject('minSlide', ref(1));\r\n const currentSlide = inject('currentSlide', ref(1));\r\n const nav = inject('nav', {});\r\n const isRTL = config.dir === 'rtl';\r\n const prevButton = h('button', {\r\n type: 'button',\r\n class: [\r\n 'carousel__prev',\r\n !config.wrapAround &&\r\n currentSlide.value <= minSlide.value &&\r\n 'carousel__prev--in-active',\r\n attrs === null || attrs === void 0 ? void 0 : attrs.class,\r\n ],\r\n 'aria-label': `Navigate to previous slide`,\r\n onClick: nav.prev,\r\n }, (slotPrev === null || slotPrev === void 0 ? void 0 : slotPrev()) || h(Icon, { name: isRTL ? 'arrowRight' : 'arrowLeft' }));\r\n const nextButton = h('button', {\r\n type: 'button',\r\n class: [\r\n 'carousel__next',\r\n !config.wrapAround &&\r\n currentSlide.value >= maxSlide.value &&\r\n 'carousel__next--in-active',\r\n attrs === null || attrs === void 0 ? void 0 : attrs.class,\r\n ],\r\n 'aria-label': `Navigate to next slide`,\r\n onClick: nav.next,\r\n }, (slotNext === null || slotNext === void 0 ? void 0 : slotNext()) || h(Icon, { name: isRTL ? 'arrowLeft' : 'arrowRight' }));\r\n return [prevButton, nextButton];\r\n};\n\nvar Slide = defineComponent({\r\n name: 'CarouselSlide',\r\n props: {\r\n index: {\r\n type: Number,\r\n default: 1,\r\n },\r\n },\r\n setup(props, { slots }) {\r\n const config = inject('config', reactive(Object.assign({}, defaultConfigs)));\r\n const slidesBuffer = inject('slidesBuffer', ref([]));\r\n const currentSlide = inject('currentSlide', ref(0));\r\n const slidesToScroll = inject('slidesToScroll', ref(0));\r\n const wrapOrder = ref(props.index);\r\n if (config.wrapAround) {\r\n updateOrder();\r\n watch(slidesBuffer, updateOrder);\r\n }\r\n function updateOrder() {\r\n wrapOrder.value = slidesBuffer.value.indexOf(props.index);\r\n }\r\n const slideStyle = computed(() => {\r\n const items = config.itemsToShow;\r\n const width = `${(1 / items) * 100}%`;\r\n return {\r\n width,\r\n order: wrapOrder.value.toString(),\r\n };\r\n });\r\n const isActive = () => props.index === currentSlide.value;\r\n const isVisible = () => {\r\n const min = Math.ceil(slidesToScroll.value);\r\n const max = Math.floor(slidesToScroll.value + config.itemsToShow);\r\n const current = slidesBuffer.value.slice(min, max);\r\n return current.includes(props.index);\r\n };\r\n const isPrev = () => props.index === slidesBuffer.value[Math.ceil(slidesToScroll.value) - 1];\r\n const isNext = () => props.index ===\r\n slidesBuffer.value[Math.floor(slidesToScroll.value + config.itemsToShow)];\r\n return () => {\r\n var _a;\r\n return h('li', {\r\n style: slideStyle.value,\r\n class: {\r\n carousel__slide: true,\r\n 'carousel__slide--active': isActive(),\r\n 'carousel__slide--visible': isVisible(),\r\n 'carousel__slide--prev': isPrev(),\r\n 'carousel__slide--next': isNext(),\r\n },\r\n }, (_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots));\r\n };\r\n },\r\n});\n\nconst Pagination = () => {\r\n const maxSlide = inject('maxSlide', ref(1));\r\n const minSlide = inject('minSlide', ref(1));\r\n const currentSlide = inject('currentSlide', ref(1));\r\n const nav = inject('nav', {});\r\n function handleButtonClick(slideNumber) {\r\n nav.slideTo(slideNumber);\r\n }\r\n const isActive = (slide) => {\r\n const val = currentSlide.value;\r\n return (val === slide ||\r\n (val > maxSlide.value && slide >= maxSlide.value) ||\r\n (val < minSlide.value && slide <= minSlide.value));\r\n };\r\n const children = [];\r\n for (let slide = minSlide.value; slide < maxSlide.value + 1; slide++) {\r\n const button = h('button', {\r\n type: 'button',\r\n class: {\r\n 'carousel__pagination-button': true,\r\n 'carousel__pagination-button--active': isActive(slide),\r\n },\r\n 'aria-label': `Navigate to slide ${slide + 1}`,\r\n onClick: () => handleButtonClick(slide),\r\n });\r\n const item = h('li', { class: 'carousel__pagination-item', key: slide }, button);\r\n children.push(item);\r\n }\r\n return h('ol', { class: 'carousel__pagination' }, children);\r\n};\n\nexport { Carousel, Icon, Navigation, Pagination, Slide };\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar $Error = Error;\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd');\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\n\nmodule.exports = function (stack, dropEntries) {\n if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {\n while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n } return stack;\n};\n","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BuilderLotsMapModal.vue?vue&type=style&index=1&id=290cc7dc&lang=scss&scoped=true\"","import { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementBlock as _createElementBlock, renderList as _renderList, Fragment as _Fragment, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-524f8462\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"onClick\"]\nconst _hoisted_2 = { class: \"stage-title-wr\" }\nconst _hoisted_3 = { class: \"stage-title\" }\nconst _hoisted_4 = { class: \"stage-info\" }\nconst _hoisted_5 = { class: \"table-scroll\" }\nconst _hoisted_6 = { class: \"table-default\" }\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"th\", null, \"Lot No.\", -1))\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"th\", null, \"Size (m2)\", -1))\nconst _hoisted_10 = { key: 0 }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"th\", null, \"Est. Registration\", -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"th\", null, \"Status\", -1))\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"th\", null, null, -1))\nconst _hoisted_14 = { key: 1 }\nconst _hoisted_15 = { class: \"lot-number\" }\nconst _hoisted_16 = { key: 0 }\nconst _hoisted_17 = { class: \"action\" }\nconst _hoisted_18 = [\"onClick\"]\nconst _hoisted_19 = {\n key: 2,\n class: \"list-view-mobile\"\n}\nconst _hoisted_20 = {\n key: 0,\n class: \"lot-img\"\n}\nconst _hoisted_21 = { class: \"lot-img-title\" }\nconst _hoisted_22 = [\"viewBox\"]\nconst _hoisted_23 = [\"d\"]\nconst _hoisted_24 = { class: \"title-and-status\" }\nconst _hoisted_25 = {\n key: 0,\n class: \"lot-title\"\n}\nconst _hoisted_26 = { class: \"first-block\" }\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"subtitle-main\" }, \"Size\", -1))\nconst _hoisted_28 = { class: \"value\" }\nconst _hoisted_29 = { key: 0 }\nconst _hoisted_30 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"subtitle-main\" }, \"Price\", -1))\nconst _hoisted_31 = { class: \"value\" }\nconst _hoisted_32 = { class: \"second-block\" }\nconst _hoisted_33 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"subtitle-main\" }, \"Width\", -1))\nconst _hoisted_34 = { class: \"value\" }\nconst _hoisted_35 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"subtitle-main\" }, \"Registration\", -1))\nconst _hoisted_36 = { class: \"value\" }\nconst _hoisted_37 = [\"onClick\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (!$setup.loading)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"map-wr\", { isMapModalView: $setup.props.isMapModalView }])\n }, [\n (!$setup.isDesktop && !$setup.props.hideNav)\n ? (_openBlock(), _createBlock($setup[\"StageNavMobile\"], {\n key: 0,\n estateId: $setup.estateId,\n viewType: $props.viewType,\n mapPage: $setup.props.mapPage,\n isEmbedded: $setup.props.isEmbedded,\n isBuilderView: $setup.props.isBuilderView,\n isMapModalView: $setup.props.isMapModalView,\n onChangeView: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('changeView')))\n }, null, 8, [\"estateId\", \"viewType\", \"mapPage\", \"isEmbedded\", \"isBuilderView\", \"isMapModalView\"]))\n : _createCommentVNode(\"\", true),\n (!$props.isBuilderView)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: _normalizeClass([\"lots-title\", { 'lots-title-mobile': !$setup.isDesktop, hidden: $setup.props.hideStageRowHeader }])\n }, _toDisplayString($setup.plural($setup.getNumberOfLots, \"lot\")), 3))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.lotsList, (stage, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"stage-row-wrapper\",\n key: index\n }, [\n _createElementVNode(\"div\", {\n class: \"stage-block\",\n onClick: ($event: any) => ($setup.onLotRow(index))\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"stage-row\", { hidden: $setup.props.hideStageRowHeader, 'builder-style': $setup.props.isBuilderView && $setup.isDesktop, borders: $setup.props.isMapModalView }])\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createTextVNode(\" Stage \" + _toDisplayString(stage.stage.title), 1),\n _createElementVNode(\"div\", _hoisted_4, _toDisplayString($setup.getStageTitle(index, $props.isBuilderView)), 1)\n ]),\n (stage.lotData.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"chevron\", { rotated: !$setup.activeStagesIndex[index] }])\n }, null, 2))\n : _createCommentVNode(\"\", true)\n ])\n ], 2)\n ], 8, _hoisted_1),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"wrapper-table\", { opened: $setup.activeStagesIndex[index] }]),\n ref_for: true,\n ref: (el) => { if (el) { $setup.tableRefs[index] = el; } }\n }, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"table\", _hoisted_6, [\n ($setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"thead\", _hoisted_7, [\n _createElementVNode(\"tr\", null, [\n _hoisted_8,\n _hoisted_9,\n _createElementVNode(\"th\", null, _toDisplayString($props.isBuilderView ? \"Width\" : \"Width (m)\"), 1),\n (!$props.estate.hidePrice)\n ? (_openBlock(), _createElementBlock(\"th\", _hoisted_10, \"Price\"))\n : _createCommentVNode(\"\", true),\n _hoisted_11,\n _hoisted_12,\n _hoisted_13\n ])\n ]))\n : _createCommentVNode(\"\", true),\n ($setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"tbody\", _hoisted_14, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.filteredLotData(stage.lotData), (lot, idx) => {\n return (_openBlock(), _createElementBlock(\"tr\", { key: idx }, [\n _createElementVNode(\"td\", _hoisted_15, \"Lot \" + _toDisplayString(lot.lotId.title), 1),\n _createElementVNode(\"td\", null, _toDisplayString(lot.lotId.size), 1),\n _createElementVNode(\"td\", null, _toDisplayString(lot.lotId?.blockWidth ? lot.lotId.blockWidth : \"Irregular\"), 1),\n (!$props.estate.hidePrice)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_16, _toDisplayString($setup.formatPrice(lot.lotId.price)), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"td\", null, _toDisplayString(lot.lotId?.registrationDate ? $setup.formatDate(lot.lotId.registrationDate, \"MMM YYYY\") : \"-\"), 1),\n _createElementVNode(\"td\", null, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"badge\", { 'badge-builder': $setup.props.isBuilderView, [$setup.getLotCustomerMapStatusClass($setup.getLotStatus(lot.lotId.status === $setup.LotStatus.OFFLINE ? lot.lotId?.offlineSale?.salePhase : lot.lotId.status))]: true }])\n }, _toDisplayString($setup.getLotStatus(lot.lotId.status === $setup.LotStatus.OFFLINE? lot.lotId?.offlineSale?.salePhase\n: lot.lotId.status)), 3)\n ]),\n _createElementVNode(\"td\", _hoisted_17, [\n (lot.lotId.status === $setup.LotStatus.AVAILABLE)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: _normalizeClass([\"button default primary\", { 'color-button-builder': $props.isBuilderView }]),\n onClick: ($event: any) => ($setup.onStageClick(stage.stage, lot))\n }, _toDisplayString($props.isBuilderView ? \"Select lot\" : \"View lot\"), 11, _hoisted_18))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n }), 128))\n ]))\n : (_openBlock(), _createElementBlock(\"tbody\", _hoisted_19, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.filteredLotData(stage.lotData), (lot, idx) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: idx,\n class: _normalizeClass({ 'my-1': $setup.props.hideStageRowHeader })\n }, [\n _createElementVNode(\"td\", {\n class: _normalizeClass([\"card-container\", { 'card-border-top': $props.hideStageRowHeader }])\n }, [\n (!$setup.props.isMapModalView)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _createElementVNode(\"div\", _hoisted_21, \"Lot \" + _toDisplayString(lot.lotId.title), 1),\n (_openBlock(), _createElementBlock(\"svg\", {\n class: \"item-wr svg-img\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\",\n version: \"1.1\",\n viewBox: `0 0 ${lot.size.width} ${lot.size.height}`\n }, [\n _createElementVNode(\"path\", {\n class: \"item-path\",\n d: $setup.getLotPath(lot.path)\n }, null, 8, _hoisted_23)\n ], 8, _hoisted_22))\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"card-wrapper\", { padding: $setup.props.isMapModalView }])\n }, [\n _createElementVNode(\"div\", _hoisted_24, [\n ($setup.props.isMapModalView)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_25, \"Lot \" + _toDisplayString(lot.lotId.title), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"badge\", $setup.getLotCustomerMapStatusClass($setup.getLotStatus(lot.lotId.status === $setup.LotStatus.OFFLINE ? lot.lotId?.offlineSale?.salePhase : lot.lotId.status))])\n }, _toDisplayString($setup.getLotStatus(lot.lotId.status === $setup.LotStatus.OFFLINE? lot.lotId?.offlineSale?.salePhase\n: lot.lotId.status)), 3)\n ]),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"content\", { 'content-row': $props.estate.hidePrice }])\n }, [\n _createElementVNode(\"div\", _hoisted_26, [\n _createElementVNode(\"div\", null, [\n _hoisted_27,\n _createElementVNode(\"span\", _hoisted_28, _toDisplayString(lot.lotId.size), 1)\n ]),\n (!$props.estate.hidePrice)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_29, [\n _hoisted_30,\n _createElementVNode(\"span\", _hoisted_31, _toDisplayString($setup.formatPrice(lot.lotId.price)), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_32, [\n _createElementVNode(\"div\", null, [\n _hoisted_33,\n _createElementVNode(\"span\", _hoisted_34, _toDisplayString(lot.lotId?.blockWidth ? lot.lotId.blockWidth : \"-\"), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_35,\n _createElementVNode(\"span\", _hoisted_36, _toDisplayString(lot.lotId?.registrationDate ? $setup.formatDate(lot.lotId.registrationDate, \"MMM YYYY\") : \"-\"), 1)\n ])\n ])\n ], 2),\n (lot.lotId.status === $setup.LotStatus.AVAILABLE)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: _normalizeClass([\"button default primary btn-mobile\", { 'color-button-builder': $props.isBuilderView }]),\n id: \"btn-mobile\",\n onClick: ($event: any) => ($setup.onStageClick(stage.stage, lot))\n }, _toDisplayString($props.isBuilderView ? \"Select lot\" : \"View lot\"), 11, _hoisted_37))\n : _createCommentVNode(\"\", true)\n ], 2)\n ], 2)\n ], 2))\n }), 128))\n ]))\n ])\n ])\n ], 2)\n ]))\n }), 128))\n ], 2))\n : (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: _normalizeClass([\"spinner\", { 'color-builder': $props.isBuilderView }])\n }, null, 2))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport {\n computed,\n onMounted,\n ref,\n watch,\n } from \"vue\";\n import { useStore } from \"vuex\";\n import router from \"@/router\";\n import { heightAnimation } from \"@/helpers/heightAnimation\";\n import plural from \"@/features/plural\";\n import { formatDate } from \"@/helpers/date\";\n import { LotStatus } from \"@/enums/LotStatus\";\n import { getLotCustomerMapStatusClass } from \"@/helpers/status\";\n import { useIsDesktop } from \"@/features/useIsDesktop\";\n import { formatPrice } from \"@/helpers/transformation/price\";\n import StageNavMobile from \"@/components/StageNavMobile.vue\";\n import { StageMapInterface } from \"@/types/StageMapInterface\";\n import { LotMapInterface } from \"@/types/LotMapInterface\";\n import { EstateInterface } from \"@/types/EstateInterface\";\n import { StageStatus } from \"@/enums/StageStatus\";\n import { UiBasicStageInterface } from \"@/types/StageInterface\";\n import LotLifecycle from \"./LotLifecycle.vue\";\n import { toastError } from \"@/helpers/toastError\";\n import { POSITION, useToast } from \"vue-toastification\";\n import { LotInterface } from \"@/types/LotInterface\";\n import LotMapsWithStageInterface from \"@/types/LotMapsWithStageInterface\";\n\n const mobileLayoutWidth = 680;\n interface Props {\n estate: EstateInterface;\n isEmbedded: boolean;\n viewType: string;\n mapPage: string;\n isBuilderView?: boolean;\n lotSelected?: LotMapInterface;\n hideNav?: boolean;\n hideStageRowHeader?: boolean;\n showSoldOutStages?: boolean;\n stageId?: string;\n lotsByHouseDesigns?: LotInterface[];\n isMapModalView?: boolean;\n }\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'StageList',\n props: {\n estate: {},\n isEmbedded: { type: Boolean },\n viewType: {},\n mapPage: {},\n isBuilderView: { type: Boolean },\n lotSelected: {},\n hideNav: { type: Boolean },\n hideStageRowHeader: { type: Boolean },\n showSoldOutStages: { type: Boolean },\n stageId: {},\n lotsByHouseDesigns: {},\n isMapModalView: { type: Boolean }\n },\n emits: [\n \"reserve\",\n \"changeView\",\n \"selectLot\",\n \"changeSize\",\n ],\n setup(__props: any, { expose: __expose, emit }) {\n __expose();\n\nconst props = __props;\n\n \n const { isDesktop } = useIsDesktop(mobileLayoutWidth);\n const store = useStore();\n const toast = useToast();\n const { estateId } = router.currentRoute.value.params;\n const lotsList = ref([]);\n const activeStagesIndex = ref([]);\n const tableRefs = ref([]);\n const loading = ref(true);\n\n \n const stages = ref([]);\n\n const getNumberOfLots = computed(() => {\n return lotsList.value.reduce((value, lot) => value + lot.lotData.length, 0);\n });\n\n const lotIdSelected = computed(() => {\n return props.lotSelected?.lotId._id;\n });\n\n onMounted(() => {\n getLotsList();\n });\n\n const getStageTitle = (index: number, isBuilderView: boolean) => {\n const lots = lotsList.value[index].lotData;\n const filteredLots = isBuilderView\n ? lots.filter((lot) => lot.lotId.isBuildersEnabled)\n : lots;\n\n const availableLots =\n isBuilderView && !props.isMapModalView\n ? filteredLots.length - 1\n : filteredLots.length;\n const lotsText = props.isMapModalView ? \"Suitable Lots\" : \"Available Lots\";\n\n if (availableLots === 0) {\n return \"(Sold Out)\";\n }\n\n return `(${availableLots} ${lotsText})`;\n };\n\n const onStageClick = (stage: UiBasicStageInterface, lot: LotMapInterface) => {\n const event = props.isBuilderView ? \"selectLot\" : \"reserve\";\n const value = { ...lot, stageId: stage };\n emit(event, value);\n };\n\n const getLotsList = () => {\n store\n .dispatch(\"lot/getLotsList\", {\n estateId,\n isCustomer: true,\n soldOutStatus: props.showSoldOutStages,\n })\n .then(async (res) => {\n lotsList.value = res.data;\n initializeLotsWithStageList();\n })\n .finally(() => {\n loading.value = false;\n });\n };\n\n const initializeLotsWithStageList = () => {\n filterLotsFromStageProp();\n filterLotsInStageFromHouseDesignLots();\n lotsList.value.forEach(() => {\n activeStagesIndex.value.push(true);\n });\n };\n\n const getLotPath = (path: string) => {\n if (path.startsWith(\"M\", 0) || path.startsWith(\"m\", 0)) {\n return path;\n }\n return \"\";\n };\n\n const filterLotsInStageFromHouseDesignLots = () => {\n if (!props.lotsByHouseDesigns) return;\n\n let lotIds: string[] = props.lotsByHouseDesigns.map((lot) => lot._id);\n\n lotsList.value = lotsList.value.map((lotsAndStage) =>\n filterlotsAndStageByLotIds(lotsAndStage, lotIds)\n );\n };\n\n const filterlotsAndStageByLotIds = (\n lotsAndStage: LotMapsWithStageInterface,\n lotIds: string[]\n ): LotMapsWithStageInterface => {\n const matchingLotData = lotsAndStage.lotData.filter((lot) =>\n lotIds.includes(lot.lotId._id)\n );\n\n return { ...lotsAndStage, lotData: matchingLotData };\n };\n\n const filterLotsFromStageProp = () => {\n if (props.stageId) {\n lotsList.value = lotsList.value.filter(\n (l) => l.stage.id === props.stageId\n );\n }\n };\n\n const filteredLotData = (lotData: LotMapInterface[]) => {\n if (!props.isBuilderView) {\n return lotData;\n }\n\n return lotData.filter(\n (lot: { lotId?: { isBuildersEnabled?: boolean; _id?: string } }) => {\n return (\n lot.lotId?.isBuildersEnabled && lot.lotId?._id !== lotIdSelected.value\n );\n }\n );\n };\n\n const onLotRow = (index: number) => {\n activeStagesIndex.value[index] = !activeStagesIndex.value[index];\n const section = tableRefs.value[index];\n heightAnimation(section);\n emit(\"changeSize\");\n };\n\n const getLotStatus = (lotStatus: string) => {\n const statusMapping = new Map([\n [LotStatus.EOI, LotStatus.HOLD],\n [LotStatus.CONTRACT_EXECUTED, LotStatus.UNDER_CONTRACT],\n [LotStatus.UNCONDITIONAL, LotStatus.SOLD],\n [LotStatus.SETTLED, LotStatus.SOLD],\n [LotStatus.OPTION, LotStatus.SOLD],\n [LotStatus.OFFLINE, LotStatus.SOLD],\n ]);\n\n return statusMapping.get(lotStatus) ?? lotStatus;\n };\n\n watch(\n () => props.stageId,\n () => getLotsList()\n );\n\nconst __returned__ = { mobileLayoutWidth, emit, isDesktop, store, toast, estateId, lotsList, activeStagesIndex, tableRefs, loading, props, stages, getNumberOfLots, lotIdSelected, getStageTitle, onStageClick, getLotsList, initializeLotsWithStageList, getLotPath, filterLotsInStageFromHouseDesignLots, filterlotsAndStageByLotIds, filterLotsFromStageProp, filteredLotData, onLotRow, getLotStatus, computed, onMounted, ref, watch, get useStore() { return useStore }, get router() { return router }, get heightAnimation() { return heightAnimation }, get plural() { return plural }, get formatDate() { return formatDate }, get LotStatus() { return LotStatus }, get getLotCustomerMapStatusClass() { return getLotCustomerMapStatusClass }, get useIsDesktop() { return useIsDesktop }, get formatPrice() { return formatPrice }, StageNavMobile, get StageMapInterface() { return StageMapInterface }, get LotMapInterface() { return LotMapInterface }, get EstateInterface() { return EstateInterface }, get StageStatus() { return StageStatus }, get UiBasicStageInterface() { return UiBasicStageInterface }, LotLifecycle, get toastError() { return toastError }, get POSITION() { return POSITION }, get useToast() { return useToast }, get LotInterface() { return LotInterface }, get LotMapsWithStageInterface() { return LotMapsWithStageInterface } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./StageList.vue?vue&type=template&id=524f8462&scoped=true&ts=true&lang=pug\"\nimport script from \"./StageList.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./StageList.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./StageList.vue?vue&type=style&index=0&id=524f8462&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-524f8462\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"checkbox-wr\" }\nconst _hoisted_2 = [\"value\", \"checked\", \"disabled\"]\nconst _hoisted_3 = {\n key: 0,\n class: \"label\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ disabled: $props.disabled })\n }, [\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n value: $props.modelValue,\n checked: $props.modelValue,\n onChange: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('update:modelValue', !$props.modelValue))),\n disabled: $props.disabled\n }, null, 40, _hoisted_2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"box\", { partial: $props.checkedPartial }])\n }, null, 2),\n ($props.label)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_3, _toDisplayString($props.label), 1))\n : _createCommentVNode(\"\", true)\n ], 2)\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CheckboxInput',\n props: {\n modelValue: Boolean,\n label: String,\n disabled: Boolean,\n checkedPartial: Boolean,\n},\n emits: [\"update:modelValue\"],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n\n\n\nconst __returned__ = { props, emits }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./CheckboxInput.vue?vue&type=template&id=1d6c41a5&ts=true&lang=pug\"\nimport script from \"./CheckboxInput.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./CheckboxInput.vue?vue&type=script&lang=ts&setup=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\nvar FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: FORCED }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);\n }\n});\n","export enum BuildBudgetPriceEnum {\n BUDGET_THRESHOLD_200K = \"$200,000\",\n BUDGET_THRESHOLD_300K = \"$300,000\",\n BUDGET_THRESHOLD_400K = \"$400,000\",\n BUDGET_THRESHOLD_500K = \"$500,000\",\n BUDGET_THRESHOLD_ANY = \"Any\",\n}\n\nexport enum BuildBudgetPriceParseEnum {\n BUDGET_THRESHOLD_200K = 200000,\n BUDGET_THRESHOLD_300K = 300000,\n BUDGET_THRESHOLD_400K = 400000,\n BUDGET_THRESHOLD_500K = 500000,\n}\n","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BuilderRequestMessageSendModal.vue?vue&type=style&index=0&id=448e8d90&lang=scss&scoped=true\"","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-290cc7dc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal-wrapper scroll-wrapper\" }\nconst _hoisted_2 = { class: \"modal-title modal-title-change-lot\" }\nconst _hoisted_3 = { class: \"modal__title\" }\nconst _hoisted_4 = { class: \"bold\" }\nconst _hoisted_5 = { class: \"content-block scroll-wrapper\" }\nconst _hoisted_6 = { class: \"content-map\" }\nconst _hoisted_7 = { class: \"modal-content-map\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createBlock($setup[\"Modal\"], {\n \"is-open\": $setup.props.isOpen,\n onClose: $setup.onClose,\n classes: \"lots-map-modal height-limited\"\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createTextVNode(\"This home design is suitable for \"),\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString($setup.props.lotsByHouseDesigns.length) + \" lots.\", 1),\n _createTextVNode(\" Select your preferred lot.\")\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n ($setup.viewTypeMap === 'estate')\n ? (_openBlock(), _createBlock($setup[\"EstateMap\"], {\n key: 0,\n role: $setup.UserRoles.CUSTOMER,\n viewType: $setup.viewType,\n isEmbedded: $setup.isEmbedded,\n mapPage: $setup.MapPages.ESTATE_MAP,\n builderView: true,\n lotsByHouseDesigns: $setup.props.lotsByHouseDesigns,\n onChangeViewMap: $setup.toggleViewTypeMap\n }, null, 8, [\"role\", \"viewType\", \"isEmbedded\", \"mapPage\", \"lotsByHouseDesigns\"]))\n : _createCommentVNode(\"\", true),\n ($setup.viewTypeMap === 'stage' && $setup.isDesktop)\n ? (_openBlock(), _createBlock($setup[\"StageMap\"], {\n key: 1,\n role: $setup.UserRoles.CUSTOMER,\n viewType: $setup.viewType,\n isEmbedded: $setup.isEmbedded,\n mapPage: $setup.MapPages.STAGE_MAP,\n builderView: true,\n lotsByHouseDesigns: $setup.props.lotsByHouseDesigns,\n actualStageQuote: $setup.actualStageQuote,\n onSelectLot: $setup.onReserve,\n onChangeViewMap: $setup.toggleViewTypeMap\n }, null, 8, [\"role\", \"viewType\", \"isEmbedded\", \"mapPage\", \"lotsByHouseDesigns\", \"actualStageQuote\"]))\n : _createCommentVNode(\"\", true),\n ($setup.viewTypeMap === 'stage' && !$setup.isDesktop)\n ? (_openBlock(), _createBlock($setup[\"StageList\"], {\n key: 2,\n viewType: 'list',\n isEmbedded: $setup.isEmbedded,\n mapPage: $setup.MapPages.STAGE_LIST,\n estate: $setup.props.estateInfo,\n isBuilderView: true,\n isMapModalView: true,\n lotsByHouseDesigns: $setup.props.lotsByHouseDesigns,\n onSelectLot: $setup.onReserve\n }, null, 8, [\"isEmbedded\", \"mapPage\", \"estate\", \"lotsByHouseDesigns\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"is-open\"]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport Modal from \"../Modal.vue\";\n import { computed, onMounted, ref, watch } from \"vue\";\n import EstateMap from \"@/components/EstateMap.vue\";\n import StageMap from \"@/components/StageMap.vue\";\n import StageList from \"@/components/StageList.vue\";\n import { UserRoles } from \"@/enums/UserRoles\";\n import { MapPages } from \"@/enums/MapPages\";\n import { LotMapInterface } from \"@/types/LotMapInterface\";\n import { LotInterface } from \"@/types/LotInterface\";\n import router from \"@/router\";\n import { useIsDesktop } from \"@/features/useIsDesktop\";\n import { EstateInterface } from \"@/types/EstateInterface\";\n import { LotStatus } from \"@/enums/LotStatus\";\n\n const smallLayoutWidth = 990;\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BuilderLotsMapModal',\n props: {\n isOpen: { type: Boolean },\n lotsByHouseDesigns: {},\n estateInfo: {}\n },\n emits: [\"close\", \"back\", \"send\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n\n \n\n const viewType = ref<\"list\" | \"map\">(\"map\");\n const viewTypeMap = ref<\"estate\" | \"stage\">(\"estate\");\n const isEmbedded = ref(true);\n\n const { isDesktop } = useIsDesktop(smallLayoutWidth);\n\n const actualStageQuote = computed(() => {\n return props.lotsByHouseDesigns?.[0]?.stageId;\n });\n\n const onClose = () => {\n emits(\"close\");\n };\n\n const onReserve = (lot: LotMapInterface) => {\n if (lot.lotId.status === LotStatus.AVAILABLE) {\n emits(\"send\", lot);\n }\n };\n\n const toggleViewTypeMap = () => {\n viewTypeMap.value = viewTypeMap.value === \"estate\" ? \"stage\" : \"estate\";\n };\n\n watch(\n () => props.isOpen,\n (newVal) => {\n if (newVal) {\n viewTypeMap.value = isDesktop.value ? \"estate\" : \"stage\";\n }\n }\n );\n\nconst __returned__ = { emits, props, viewType, viewTypeMap, isEmbedded, smallLayoutWidth, isDesktop, actualStageQuote, onClose, onReserve, toggleViewTypeMap, Modal, computed, onMounted, ref, watch, EstateMap, StageMap, StageList, get UserRoles() { return UserRoles }, get MapPages() { return MapPages }, get LotMapInterface() { return LotMapInterface }, get LotInterface() { return LotInterface }, get router() { return router }, get useIsDesktop() { return useIsDesktop }, get EstateInterface() { return EstateInterface }, get LotStatus() { return LotStatus } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./BuilderLotsMapModal.vue?vue&type=template&id=290cc7dc&scoped=true&ts=true&lang=pug\"\nimport script from \"./BuilderLotsMapModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BuilderLotsMapModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BuilderLotsMapModal.vue?vue&type=style&index=0&id=290cc7dc&lang=scss\"\nimport \"./BuilderLotsMapModal.vue?vue&type=style&index=1&id=290cc7dc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-290cc7dc\"]])\n\nexport default __exports__","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./EstateSvgMap.vue?vue&type=style&index=0&id=27bfa0f9&lang=scss&scoped=true\"","import { createElementVNode as _createElementVNode, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-39cc2986\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"modal-header\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"modal-title\" }, \"Filter home designs\"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"line\" })\n], -1))\nconst _hoisted_2 = { class: \"modal-body scroll-wrapper\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createBlock($setup[\"Modal\"], {\n isOpen: $setup.props.isOpen,\n onClose: $setup.onClose,\n classes: ['options-quote-modal', $setup.props.isModalFiltersHousesHidden ? 'hidden' : '']\n }, {\n content: _withCtx(() => [\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode($setup[\"FilterHouses\"], {\n result: $setup.props.result,\n lotSelected: $setup.props.lotSelected,\n quote: $setup.props.quote,\n houseDetailsView: $setup.props.houseDetailsView,\n isDesignModal: true,\n hasToLoadNextBatch: $setup.props.hasToLoadNextBatch,\n onHousesByFilter: $setup.onHousesByFilter,\n onUpdateHousesPagination: $setup.onUpdateHousesPagination\n }, null, 8, [\"result\", \"lotSelected\", \"quote\", \"houseDetailsView\", \"hasToLoadNextBatch\"]),\n _createElementVNode(\"div\", { class: \"content-button-search\" }, [\n _createElementVNode(\"button\", {\n class: \"button default primary search\",\n onClick: $setup.onSearch\n }, \"Search\")\n ])\n ])\n ]),\n _: 1\n }, 8, [\"isOpen\", \"classes\"]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport Modal from \"../Modal.vue\";\n import FilterHouses from \"@/components/builder/budget-houses/FilterHouses.vue\";\n import { BorrowCalculatorResult } from \"@/types/BorrowCalculator\";\n import { LotInterface } from \"@/types/LotInterface\";\n import { BuilderQuote } from \"@/types/BuilderQuote\";\n import {\n HouseDesignInterface,\n HouseLotsBuilderPagination,\n } from \"@/types/HouseDesignInterface\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BuilderFiltersHousesModal',\n props: {\n isOpen: { type: Boolean },\n result: {},\n lotSelected: {},\n quote: {},\n houseDetailsView: { type: Boolean },\n isModalFiltersHousesHidden: { type: Boolean },\n hasToLoadNextBatch: { type: Boolean }\n },\n emits: [\n \"close\",\n \"housesByFilter\",\n \"updateHousesPagination\",\n ],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n\n \n\n const onUpdateHousesPagination = (\n housesPagination: HouseLotsBuilderPagination\n ) => {\n emits(\"updateHousesPagination\", housesPagination);\n };\n\n const onClose = () => {\n emits(\"close\");\n };\n\n const onHousesByFilter = (houses: HouseDesignInterface[]) => {\n emits(\"housesByFilter\", houses);\n };\n\n const onSearch = () => {\n emits(\"close\");\n };\n\nconst __returned__ = { props, emits, onUpdateHousesPagination, onClose, onHousesByFilter, onSearch, Modal, FilterHouses, get BorrowCalculatorResult() { return BorrowCalculatorResult }, get LotInterface() { return LotInterface }, get BuilderQuote() { return BuilderQuote }, get HouseDesignInterface() { return HouseDesignInterface }, get HouseLotsBuilderPagination() { return HouseLotsBuilderPagination } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./BuilderFiltersHousesModal.vue?vue&type=template&id=39cc2986&scoped=true&ts=true&lang=pug\"\nimport script from \"./BuilderFiltersHousesModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BuilderFiltersHousesModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BuilderFiltersHousesModal.vue?vue&type=style&index=0&id=39cc2986&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-39cc2986\"]])\n\nexport default __exports__","import axios, { AxiosError } from \"axios\";\nimport { POSITION, useToast } from \"vue-toastification\";\nimport ErrorMessages from \"@/constants/errorsMessages\";\nimport KlaviyoErrorEnum from \"@/enums/KlaviyoEnum\";\n\nconst toast = useToast();\n\nexport const handleError = (error: AxiosError): void => {\n let message = \"There was an error submitting the form\";\n const errorMsg = error?.response?.data?.message;\n const errorCode = error?.response?.data?.errors?.[0]?.code;\n\n switch (errorMsg) {\n case ErrorMessages.ERROR_QUOTE_EMAIL_DUPLICATED_PROFILE:\n message = ErrorMessages.ERROR_QUOTE_EMAIL_DUPLICATED_PROFILE;\n break;\n case ErrorMessages.PROFILE_VERIFY_CONFLICT_ERROR:\n message = ErrorMessages.PROFILE_VERIFY_CONFLICT_ERROR;\n break;\n case ErrorMessages.ERROR_WAIT_BEFORE_REQUESTING_NEW_CODE:\n message = ErrorMessages.ERROR_WAIT_BEFORE_REQUESTING_NEW_CODE;\n break;\n }\n\n if (errorCode === KlaviyoErrorEnum.DUPLICATE_PROFILE) {\n message = ErrorMessages.ERROR_QUOTE_PHONE_DUPLICATED_PROFILE;\n }\n\n toast.error(message, {\n position: POSITION.TOP_LEFT,\n });\n};\n","import { ref, onMounted, onUnmounted, Ref } from \"vue\";\n\nconst MIN_DESKTOP_WIDTH = 992;\n\nexport function useIsDesktop(width = MIN_DESKTOP_WIDTH): {\n isDesktop: Ref;\n} {\n const isDesktop = ref(true);\n const handler = () => {\n isDesktop.value = window.innerWidth >= width;\n };\n\n onMounted(() => {\n handler();\n window.addEventListener(\"resize\", handler);\n });\n\n onUnmounted(() => {\n window.removeEventListener(\"resize\", handler);\n });\n\n return { isDesktop };\n}\n","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ListHouses.vue?vue&type=style&index=0&id=855b28d8&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BuilderSelectionHouse.vue?vue&type=style&index=0&id=7e299396&lang=scss&scoped=true\"","export enum BuilderStepsIds {\n LOT = \"lotStep\",\n PREVIEW_BUILDER = \"builderPreviewStep\",\n BUILDER = \"builderStep\",\n HOUSE = \"houseStep\",\n FLOORPLAN = \"floorplanStep\",\n FACADE = \"facadeStep\",\n CONFIRMATION = \"confirmationStep\",\n}\n\nexport enum BuilderStepsIdsPagination {\n LOT = \"lotStep\",\n BUILDER = \"builderStep\",\n HOUSE = \"houseStep\",\n FACADE = \"facadeStep\",\n CONFIRMATION = \"confirmationStep\",\n}","const parseAustralianNumberToInternational = (number: string): string => {\n if (number.startsWith('+61')) return number;\n\n const parsedNumber = number.substring(1);\n return `+61${parsedNumber}`;\n};\n\nexport default parseAustralianNumberToInternational;\n","import {\n hasLowerCaseRegex,\n hasUpperCaseRegex,\n hasSpecialCharsRegex,\n hasDigitsRegex,\n} from \"@/helpers/regex\";\nimport { allowedDocumentMimeTypes } from \"@/constants\";\n\nexport const hasLowerAndUpperCase = (value: string) =>\n hasLowerCaseRegex.test(value) && hasUpperCaseRegex.test(value);\nexport const hasPasswordLength = (value: string) =>\n value.length >= 4 && value.length <= 16;\nexport const hasSpecialChars = (value: string) =>\n hasSpecialCharsRegex.test(value);\nexport const hasDigits = (value: string) => hasDigitsRegex.test(value);\nexport const hasNumberAndSymbol = (value: string) =>\n hasDigits(value) && hasSpecialChars(value);\nexport const validatePassword = (value: string) =>\n hasLowerAndUpperCase(value) &&\n hasPasswordLength(value) &&\n hasNumberAndSymbol(value);\nexport const validateDocumentMimeType = (mimeType: string): boolean =>\n allowedDocumentMimeTypes.includes(mimeType);\nexport const validPhoneNumber = (value: string) =>\n /^(\\+61|0)4\\d{8}$/.test(value);\nexport const validOptionalPhoneNumber = (value: string) => {\n if (value) {\n return validPhoneNumber(value);\n }\n return true;\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","export * from \"-!../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./HouseAndLotDetails.vue?vue&type=style&index=0&id=5ecd5d6d&lang=scss&scoped=true\"","export enum BuilderFeatures {\n DIMENSIONS = \"dimensions\",\n FEATURES = \"features\",\n INCLUSIONS = \"inclusions\",\n}\n","export * from \"-!../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./HouseBrowseInteriors.vue?vue&type=style&index=0&id=b77fa8a6&lang=scss&scoped=true\"","const defaultActiveClass = \"opened\";\n\nexport function heightAnimation(element: HTMLElement, activeClass= defaultActiveClass, resized=false) {\n element.style.height = element.scrollHeight + \"px\";\n if (resized) {\n return\n }\n element.classList.toggle(activeClass);\n element.style.height = element.classList.contains(activeClass)\n ? element.scrollHeight + \"px\"\n : \"0\";\n}\nexport function removeHeightOfSiblings(elements: HTMLElement[], activeElementIndex: number, activeClass = defaultActiveClass) {\n elements\n .filter((item, index) => index !== activeElementIndex)\n .forEach((filteredItem) => {\n filteredItem.classList.remove(activeClass);\n filteredItem.style.height = \"0\";\n })\n}\n\n// use to define and animate hidden elements\n// styles example:\n// .html-element {\n// height: 0;\n// transition: height 0.3s;\n// overflow: hidden;\n// }\n// .html-element.opened {\n// height: auto;\n// }\n","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-68a6733c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-semi-bold\" }, \"Confirm action\", -1))\nconst _hoisted_2 = { class: \"text-semi-bold\" }\nconst _hoisted_3 = { key: 0 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createBlock($setup[\"LotAssignmentModal\"], {\n \"is-open\": $props.isOpen,\n onClose: $setup.close,\n onConfirm: $setup.confirm\n }, {\n title: _withCtx(() => [\n _hoisted_1\n ]),\n description: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString($setup.text) + \" \", 1),\n _createElementVNode(\"span\", _hoisted_2, _toDisplayString($props.deleteItem), 1),\n ($setup.isLeadsPage)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, \" \" + _toDisplayString($props.deleteItem > 1 ? \"leads\" : \"lead\"), 1))\n : _createCommentVNode(\"\", true),\n _createTextVNode(\"?\")\n ]),\n _: 1\n }, 8, [\"is-open\"]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport LotAssignmentModal from \"@/components/ui/modals/LotAssignmentModal.vue\";\nimport { computed } from \"vue\";\nimport router from \"@/router\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ConfirmDeleteModal',\n props: {\n isOpen: {\n type: Boolean,\n required: true,\n },\n deleteItem: {\n type: [Number, String],\n },\n customText: {\n type: String,\n required: false,\n },\n},\n emits: [\"close\", \"confirm\"],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n\n\n\nconst text = computed(() => {\n if (props.customText) {\n return props.customText;\n }\n return \"Are you sure you want to delete\";\n});\n\nconst isLeadsPage = computed(() => {\n return router.currentRoute.value.name === \"Leads\";\n});\n\nconst close = () => {\n emits(\"close\");\n};\n\nconst confirm = () => {\n emits(\"confirm\");\n emits(\"close\");\n};\n\n\nconst __returned__ = { emits, props, text, isLeadsPage, close, confirm, LotAssignmentModal, computed, get router() { return router } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./ConfirmDeleteModal.vue?vue&type=template&id=68a6733c&scoped=true&ts=true&lang=pug\"\nimport script from \"./ConfirmDeleteModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ConfirmDeleteModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./ConfirmDeleteModal.vue?vue&type=style&index=0&id=68a6733c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-68a6733c\"]])\n\nexport default __exports__","export * from \"-!../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./HouseQuestion.vue?vue&type=style&index=0&id=4f259458&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./FilterHouses.vue?vue&type=style&index=0&id=d6ffafc4&lang=scss&scoped=true\"","import { createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, resolveDirective as _resolveDirective, withDirectives as _withDirectives, normalizeStyle as _normalizeStyle, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-27bfa0f9\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"viewBox\"]\nconst _hoisted_2 = [\"xlink:href\"]\nconst _hoisted_3 = [\"x\", \"y\", \"onMouseover\"]\nconst _hoisted_4 = { class: \"scale\" }\nconst _hoisted_5 = [\"onClick\", \"d\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _directive_tippy = _resolveDirective(\"tippy\")!\n\n return ($setup.props.map)\n ? (_openBlock(), _createElementBlock(\"svg\", {\n key: 0,\n class: \"svg-map-scale\",\n version: \"1.1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\",\n viewBox: `0 0 ${$setup.props.map.size.width} ${$setup.props.map.size.height}`,\n style: _normalizeStyle({ transform: 'scale(' + $setup.props.zoom + ')' })\n }, [\n _createElementVNode(\"image\", {\n \"xlink:href\": $setup.props.map.mapImage.url\n }, null, 8, _hoisted_2),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.props.stages, (stage) => {\n return (_openBlock(), _createElementBlock(\"svg\", {\n class: \"item-wr\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\",\n version: \"1.1\",\n x: stage.binding.x,\n y: stage.binding.y,\n onMouseover: ($event: any) => ($setup.onStageHover(stage?.stageId?._id)),\n onMouseleave: $setup.onStageLeave\n }, [\n _createElementVNode(\"g\", _hoisted_4, [\n _withDirectives(_createElementVNode(\"path\", {\n class: _normalizeClass([\"item-path\", $setup.props.getItemPathClasses(stage)]),\n onClick: ($event: any) => ($setup.onStage(stage)),\n d: stage.path\n }, null, 10, _hoisted_5), [\n [_directive_tippy, { content: $props.getTooltipText(stage), allowHTML: true, theme: 'map-tippy', appendtTo: 'element', arrow: false }]\n ])\n ])\n ], 40, _hoisted_3))\n }), 256))\n ], 12, _hoisted_1))\n : _createCommentVNode(\"\", true)\n}","import { defineComponent as _defineComponent } from 'vue'\n\n import { EstateMapInterface } from \"@/types/EstateMapInterface\";\n import { StageMapInterface } from \"@/types/StageInterface\";\n import { getStageStatusClass } from \"@/helpers/status\";\n import { StageStatus } from \"@/enums/StageStatus\";\n import { UserRoles } from \"@/enums/UserRoles\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'EstateSvgMap',\n props: {\n map: {},\n stages: {},\n zoom: {},\n getTooltipText: { type: Function },\n getItemPathClasses: { type: Function }\n },\n emits: [\"onStageHover\", \"onStageLeave\", \"onStageClick\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n\n \n\n const onStageHover = (id: string) => {\n emits(\"onStageHover\", id);\n };\n\n const onStageLeave = () => {\n emits(\"onStageLeave\");\n };\n\n const onStage = (stage: StageMapInterface) => {\n emits(\"onStageClick\", stage);\n };\n\nconst __returned__ = { props, emits, onStageHover, onStageLeave, onStage, get EstateMapInterface() { return EstateMapInterface }, get StageMapInterface() { return StageMapInterface }, get getStageStatusClass() { return getStageStatusClass }, get StageStatus() { return StageStatus }, get UserRoles() { return UserRoles } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./EstateSvgMap.vue?vue&type=template&id=27bfa0f9&scoped=true&ts=true&lang=pug\"\nimport script from \"./EstateSvgMap.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./EstateSvgMap.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./EstateSvgMap.vue?vue&type=style&index=0&id=27bfa0f9&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-27bfa0f9\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f438b47e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"content-house-name-and-features\"\n}\nconst _hoisted_2 = { class: \"house-and-builder-wr\" }\nconst _hoisted_3 = { class: \"house-name\" }\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = { class: \"house-details-wr\" }\nconst _hoisted_6 = { class: \"content-row\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label-row\" }, \"Area\", -1))\nconst _hoisted_8 = { class: \"value-row\" }\nconst _hoisted_9 = { class: \"content-row\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label-row\" }, \"Width\", -1))\nconst _hoisted_11 = { class: \"value-row\" }\nconst _hoisted_12 = { class: \"content-row\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label-row\" }, \"Build Price\", -1))\nconst _hoisted_14 = { class: \"value-row\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"from\" }, \"From\", -1))\nconst _hoisted_16 = { class: \"price\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return ($setup.props.houseInfo)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString($setup.props.houseInfo.name), 1),\n ($setup.builder)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"builder-logo\",\n src: $setup.builder.logo\n }, null, 8, _hoisted_4))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode($setup[\"HouseFeatures\"], {\n features: $setup.props.houseInfo,\n directionLogoLandPackage: true,\n iconSize: 'tiny-min',\n class: _normalizeClass('house-features')\n }, null, 8, [\"features\"]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createElementVNode(\"div\", _hoisted_8, _toDisplayString($setup.formatPrice($setup.props.houseInfo.area, false)) + \" sqm\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createElementVNode(\"div\", _hoisted_11, _toDisplayString($setup.formatPrice($setup.props.houseInfo.width, false)) + \" m\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _hoisted_13,\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n _createElementVNode(\"div\", _hoisted_16, _toDisplayString($setup.buildPriceWithFacade) + \"*\", 1)\n ])\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { computed, onMounted, ref } from \"vue\";\n import { HouseDesignInterface } from \"@/types/HouseDesignInterface\";\n import HouseFeatures from \"@/components/builder/HouseFeatures.vue\";\n import { formatPrice } from \"@/helpers/transformation/price\";\n import { POSITION, useToast } from \"vue-toastification\";\n import { BuilderInterface } from \"@/types/BuilderInterface\";\n import store from \"@/store\";\n import { calculateBuildPriceOrPackagePriceTotal } from \"@/helpers/builder/calculateBuildPriceOrPackagePriceTotal\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'HouseDetailsForLandPackage',\n props: {\n siteCosts: {},\n houseInfo: {}\n },\n setup(__props: any, { expose: __expose }) {\n __expose();\n\nconst props = __props;\n\n \n\n const toast = useToast();\n const builder = ref();\n const selectedFacadeId = computed(\n () => store.getters[\"facade/selectedFacadeId\"]\n );\n\n const buildPriceWithFacade = computed(() => {\n const facade = props.houseInfo?.facades.find(\n (facade) => facade._id === selectedFacadeId.value\n );\n const basePrice = Number(props.houseInfo?.basePrice);\n const facadePrice = Number(facade?.price || 0);\n\n return calculateBuildPriceOrPackagePriceTotal(\n basePrice,\n facadePrice,\n props?.siteCosts\n );\n });\n\n const getBuilderById = () => {\n if (props.houseInfo) {\n store\n .dispatch(\"builder/getBuilderById\", props.houseInfo.builderId)\n .then((res) => {\n builder.value = res.data;\n })\n .catch(() => {\n toast.error(\"Error fetching builder by id\", {\n position: POSITION.TOP_LEFT,\n });\n });\n }\n };\n\n onMounted(() => {\n getBuilderById();\n });\n\nconst __returned__ = { props, toast, builder, selectedFacadeId, buildPriceWithFacade, getBuilderById, computed, onMounted, ref, get HouseDesignInterface() { return HouseDesignInterface }, HouseFeatures, get formatPrice() { return formatPrice }, get POSITION() { return POSITION }, get useToast() { return useToast }, get BuilderInterface() { return BuilderInterface }, get store() { return store }, get calculateBuildPriceOrPackagePriceTotal() { return calculateBuildPriceOrPackagePriceTotal } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./HouseDetailsForLandPackage.vue?vue&type=template&id=f438b47e&scoped=true&ts=true&lang=pug\"\nimport script from \"./HouseDetailsForLandPackage.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./HouseDetailsForLandPackage.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./HouseDetailsForLandPackage.vue?vue&type=style&index=0&id=f438b47e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f438b47e\"]])\n\nexport default __exports__","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./LotButtonLink.vue?vue&type=style&index=0&id=5f491709&lang=scss&scoped=true\"","const plural = (number: number, word: string, withNumber = true): string => {\n if (word.toLocaleLowerCase() === \"this\") {\n const firstChar = word[0];\n return number > 1 ? `${firstChar}hese` : `${firstChar}his`;\n }\n if (!number) {\n return `0 ${word}s`;\n } else return `${withNumber ? number : \"\"} ${word}${number < 2 ? \"\" : \"s\"}`;\n};\n\nexport default plural;\n","var isCallable = require('../internals/is-callable');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","import { Validation } from \"@vuelidate/core\";\nimport { Ref } from \"vue\";\n\nexport function resetVuelidateErrors(validation: Ref): void {\n setTimeout(() => {\n validation.value.$reset();\n });\n}\n","import { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/icon-powered-by.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b8133476\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"estate-map-header\" }\nconst _hoisted_2 = { class: \"estate-map-wrapper-logo\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"wrapper-burger\"\n}\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, null, -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, null, -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, null, -1))\nconst _hoisted_7 = [\n _hoisted_4,\n _hoisted_5,\n _hoisted_6\n]\nconst _hoisted_8 = [\"src\"]\nconst _hoisted_9 = {\n key: 0,\n class: \"buttons-content\"\n}\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", {\n class: \"dropdown-button input-dropdown input-modified\",\n type: \"button\"\n}, \"Guides\", -1))\nconst _hoisted_11 = [\"onClick\"]\nconst _hoisted_12 = [\"onClick\"]\nconst _hoisted_13 = [\"src\"]\nconst _hoisted_14 = { class: \"menu-title\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"wrapper-powered-by\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_0 })\n], -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"header\", {\n class: _normalizeClass([\"header\", [{ 'estate-header': $props.estate }]])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"header-container\", { container: $props.estate }])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (false && !$setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"burger\", { 'burger-active': $setup.showMobileMenu }]),\n onClick: _cache[0] || (_cache[0] = ($event: any) => ($setup.showMobileMenu = !$setup.showMobileMenu))\n }, _hoisted_7, 2)\n ]))\n : _createCommentVNode(\"\", true),\n ($props.estate?._id)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 1,\n to: { name: 'EstateMap', params: { estateId: $props.estate._id } }\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"img\", {\n src: $props.estate.logoUrl\n }, null, 8, _hoisted_8)\n ]),\n _: 1\n }, 8, [\"to\"]))\n : _createCommentVNode(\"\", true)\n ]),\n ($setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createVNode($setup[\"DropDown\"], { class: \"dropdown-container-display-none\" }, {\n control: _withCtx(() => [\n _hoisted_10\n ]),\n dropdown: _withCtx(() => [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.timePeriod, (period) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: period,\n onClick: ($event: any) => (_ctx.selectTimePeriod(period)),\n class: _normalizeClass({ 'dropdown__item-active': period === _ctx.selectedTimePeriod })\n }, _toDisplayString(period), 11, _hoisted_11))\n }), 128))\n ])\n ]),\n _: 1\n }),\n false\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"button primary result\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('calculate')))\n }, \"Calculate my Borrowing Capacity\"))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ], 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"mobile-menu\", { show: $setup.showMobileMenu }])\n }, [\n _createElementVNode(\"ul\", null, [\n (!$setup.isDesktop)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList($setup.builderCalculatorNavigation, (item, index) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n class: \"menu-item\",\n key: index\n }, [\n _createElementVNode(\"div\", {\n class: \"menu-link\",\n onClick: ($event: any) => ($setup.handleEmit(item.emit))\n }, [\n _createElementVNode(\"img\", {\n class: \"menu-icon\",\n src: require(`@/assets/icons/${item.icon}`)\n }, null, 8, _hoisted_13),\n _createElementVNode(\"div\", _hoisted_14, _toDisplayString(item.label), 1)\n ], 8, _hoisted_12)\n ]))\n }), 128))\n : _createCommentVNode(\"\", true)\n ]),\n _hoisted_15\n ], 2)\n ], 2))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { ref, watch } from \"vue\";\n import { builderCalculatorNavigation } from \"@/static/navigation\";\n import { useIsDesktop } from \"@/features/useIsDesktop\";\n import DropDown from \"@/components/ui/dropdown/DropDown.vue\";\n\n const smallLayoutWidth = 990;\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BuilderHouseBorrowHeaderMobile',\n props: {\n estate: {\n type: Object,\n required: true,\n },\n },\n emits: [\"calculate\"],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n \n\n const showMobileMenu = ref(false);\n\n const { isDesktop } = useIsDesktop(smallLayoutWidth);\n\n watch(\n () => showMobileMenu.value,\n (value) => {\n if (value) {\n document.body.classList.add(\"no-scroll\");\n } else {\n document.body.classList.remove(\"no-scroll\");\n }\n }\n );\n\n function handleEmit(emitName) {\n emits(emitName);\n showMobileMenu.value = false;\n }\n\nconst __returned__ = { props, emits, showMobileMenu, smallLayoutWidth, isDesktop, handleEmit, ref, watch, get builderCalculatorNavigation() { return builderCalculatorNavigation }, get useIsDesktop() { return useIsDesktop }, DropDown }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./BuilderHouseBorrowHeaderMobile.vue?vue&type=template&id=b8133476&scoped=true&ts=true&lang=pug\"\nimport script from \"./BuilderHouseBorrowHeaderMobile.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BuilderHouseBorrowHeaderMobile.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BuilderHouseBorrowHeaderMobile.vue?vue&type=style&index=0&id=b8133476&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b8133476\"]])\n\nexport default __exports__","export enum MapPages {\n ESTATE_MAP = \"EstateMap\",\n STAGE_MAP = \"StageMap\",\n STAGE_LIST = \"StageList\",\n}\n","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/icon-call.svg'\nimport _imports_1 from '@/assets/icons/icon-conversation-bubble.jpg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0384efd5\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal-header\" }\nconst _hoisted_2 = { class: \"modal-title\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line\" }, null, -1))\nconst _hoisted_4 = { class: \"modal-body scroll-wrapper\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"prefer-text\"\n}\nconst _hoisted_6 = { class: \"content-options\" }\nconst _hoisted_7 = { class: \"content-call-back-wr\" }\nconst _hoisted_8 = { class: \"content-call-back\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"icon-call\",\n src: _imports_0\n}, null, -1))\nconst _hoisted_10 = [\n _hoisted_9\n]\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-call\" }, \"Select a date and time and we’ll give you a call.\", -1))\nconst _hoisted_12 = {\n key: 0,\n class: \"line-options-wr\"\n}\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line\" }, null, -1))\nconst _hoisted_14 = [\n _hoisted_13\n]\nconst _hoisted_15 = { class: \"content-message-wr\" }\nconst _hoisted_16 = { class: \"content-message\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"icon-message\",\n src: _imports_1\n}, null, -1))\nconst _hoisted_18 = [\n _hoisted_17\n]\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-message\" }, \"Send us a message and we’ll get back to you as soon as possible.\", -1))\nconst _hoisted_20 = {\n key: 1,\n class: \"content-options-buttons\"\n}\nconst _hoisted_21 = { class: \"content-button-request\" }\nconst _hoisted_22 = { class: \"content-button-request end\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode($setup[\"Modal\"], {\n isOpen: $setup.props.isOpen,\n onClose: $setup.onClose,\n classes: ['options-quote-modal']\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString($setup.isDesktop ? \"Got a question? We’re here to help!\" : \"Let us know how you’d prefer to get answers to your questions\"), 1),\n _hoisted_3\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n ($setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, \"Let us know how you’d prefer to get answers to your questions\"))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", {\n class: \"icon-call-wr\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (!$setup.isDesktop ? $setup.onCall() : null))\n }, _hoisted_10),\n _hoisted_11\n ])\n ]),\n ($setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_12, _hoisted_14))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", {\n class: \"icon-message-wr\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (!$setup.isDesktop ? $setup.onMessage() : null))\n }, _hoisted_18),\n _hoisted_19\n ])\n ])\n ]),\n ($setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode($setup[\"ContactUsLink\"], {\n class: \"request\",\n animationName: \"''\",\n toContactUsForm: false,\n linkCalendly: $setup.CALENDLY_BUILD_LINK,\n text: 'Request a call back',\n isButtonCallBackModal: true,\n onCloseModal: _cache[2] || (_cache[2] = ($event: any) => ($setup.emits('close')))\n }, null, 8, [\"linkCalendly\"])\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", {\n class: \"button default primary request\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => ($setup.onMessage()))\n }, \"Send a message\")\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }, 8, [\"isOpen\"]),\n _createVNode($setup[\"BuilderRequestMessageSendModal\"], {\n isOpen: $setup.isOpenedModalRequestMessage,\n lot: $setup.props.lot,\n onClose: $setup.onClose,\n onSend: $setup.onSend\n }, null, 8, [\"isOpen\", \"lot\"])\n ], 64))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport Modal from \"../Modal.vue\";\n import { ref } from \"vue\";\n import BuilderRequestMessageSendModal from \"@/components/ui/modals/BuilderRequestMessageSendModal.vue\";\n import ContactUsLink from \"@/components/landing/ContactUsLink.vue\";\n import { POSITION, useToast } from \"vue-toastification\";\n import { useIsDesktop } from \"@/features/useIsDesktop\";\n import { redirectWithoutRouter } from \"@/helpers/redirectWithoutRouter\";\n import { CALENDLY_BUILD_LINK } from \"@/constants/calendlyLinks\";\n\n const smallLayoutWidth = 990;\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BuilderRequestMessageModal',\n props: {\n isOpen: {\n type: Boolean,\n required: true,\n },\n lot: {\n type: Object,\n required: false,\n },\n },\n emits: [\"close\"],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n \n const isOpenedModalRequestMessage = ref(false);\n const isOpenedModalRequestCall = ref(false);\n const toast = useToast();\n\n const { isDesktop } = useIsDesktop(smallLayoutWidth);\n\n const onClose = () => {\n isOpenedModalRequestMessage.value = false;\n emits(\"close\");\n };\n\n const onSend = () => {\n toast.success(\"Message sent successfully\", {\n position: POSITION.TOP_LEFT,\n });\n };\n\n const onMessage = () => {\n isOpenedModalRequestMessage.value = true;\n emits(\"close\");\n };\n\n const onCall = () => {\n redirectWithoutRouter(CALENDLY_BUILD_LINK, \"_blank\");\n return;\n };\n\nconst __returned__ = { props, emits, isOpenedModalRequestMessage, isOpenedModalRequestCall, toast, smallLayoutWidth, isDesktop, onClose, onSend, onMessage, onCall, Modal, ref, BuilderRequestMessageSendModal, ContactUsLink, get POSITION() { return POSITION }, get useToast() { return useToast }, get useIsDesktop() { return useIsDesktop }, get redirectWithoutRouter() { return redirectWithoutRouter }, get CALENDLY_BUILD_LINK() { return CALENDLY_BUILD_LINK } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./BuilderRequestMessageModal.vue?vue&type=template&id=0384efd5&scoped=true&ts=true&lang=pug\"\nimport script from \"./BuilderRequestMessageModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BuilderRequestMessageModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BuilderRequestMessageModal.vue?vue&type=style&index=0&id=0384efd5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0384efd5\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-661e899d\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"content-house-name-and-features\"\n}\nconst _hoisted_2 = { class: \"house-and-features-wr\" }\nconst _hoisted_3 = { class: \"house-name\" }\nconst _hoisted_4 = { class: \"house-sqm\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return ($setup.props.houseInfo)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString($setup.house.name), 1),\n _createVNode($setup[\"HouseFeatures\"], {\n features: $setup.house,\n directionLogo: true,\n iconSize: 'tiny',\n class: _normalizeClass('house-features')\n }, null, 8, [\"features\"])\n ]),\n _createElementVNode(\"div\", _hoisted_4, _toDisplayString($setup.formatMeters($setup.house.area, false)) + \" sqm\", 1)\n ]))\n : _createCommentVNode(\"\", true)\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { onMounted, ref, watch } from \"vue\";\nimport { HouseDesignInterface } from \"@/types/HouseDesignInterface\";\nimport HouseFeatures from \"@/components/builder/HouseFeatures.vue\";\nimport { formatPrice as formatMeters } from \"@/helpers/transformation/price\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'HouseNameAndFeatures',\n props: {\n houseInfo: {}\n },\n setup(__props: any, { expose: __expose }) {\n __expose();\n\nconst props = __props;\n\n\n\nconst house = ref(props.houseInfo);\n\nwatch(\n () => props.houseInfo,\n (newhouseInfo, oldhouseInfo) => {\n if (newhouseInfo !== oldhouseInfo) {\n house.value = newhouseInfo;\n }\n }\n);\n\nconst __returned__ = { props, house, onMounted, ref, watch, get HouseDesignInterface() { return HouseDesignInterface }, HouseFeatures, get formatMeters() { return formatMeters } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./HouseNameAndFeatures.vue?vue&type=template&id=661e899d&scoped=true&ts=true&lang=pug\"\nimport script from \"./HouseNameAndFeatures.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./HouseNameAndFeatures.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./HouseNameAndFeatures.vue?vue&type=style&index=0&id=661e899d&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-661e899d\"]])\n\nexport default __exports__","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BuilderSliderImages.vue?vue&type=style&index=0&id=80b498b8&lang=scss&scoped=true\"","export const delay = (ms: number): Promise => {\n return new Promise(resolve => setTimeout(resolve, ms));\n}\n","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0d2e86fe\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"dropdown-wr\"\n}\nconst _hoisted_2 = [\"onClick\"]\nconst _hoisted_3 = {\n key: 1,\n class: \"list-view-btn-wrapper\"\n}\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"zoom-info\" }, \"Zoom in / out. Click stage to view available lots.\", -1))\nconst _hoisted_5 = [\n _hoisted_4\n]\nconst _hoisted_6 = {\n key: 1,\n class: \"spinner\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (!$setup.loading)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"stage-nav-wrapper\", {'not-margin': $setup.props.isMapModalView}]),\n id: \"stage-nav-wrapper\"\n }, [\n (!$props.isBuilderView)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.getAvailableStages, (stage) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n class: _normalizeClass([\"button default primary icon-btn stage\", {'stage-selected': $setup.getStageClass(stage?.stageId?._id)}]),\n onClick: ($event: any) => ($setup.onStage(stage))\n }, \"Stage \" + _toDisplayString(stage.stageId.title), 11, _hoisted_2))\n }), 256))\n ]))\n : _createCommentVNode(\"\", true),\n (!$props.isBuilderView)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, _hoisted_5))\n : _createCommentVNode(\"\", true)\n ], 2))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_6))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { ref, computed, onMounted } from \"vue\";\nimport router from \"@/router\";\nimport { MapPages } from \"@/enums/MapPages\";\nimport { StageMapInterface } from \"@/types/StageMapInterface\";\nimport { StageStatus } from \"@/enums/StageStatus\";\nimport { useStore } from \"vuex\";\nimport { compareStrings } from \"@/helpers/transformation/string\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'StageNavMobile',\n props: {\n estateId: { type: String },\n viewType: { type: String },\n mapPage: { type: String },\n isEmbedded: { type: Boolean },\n isBuilderView: { type: Boolean, required: false },\n isMapModalView: { type: Boolean, required: false },\n},\n emits: [\"changeView\", \"onStage\"],\n setup(__props, { expose: __expose, emit }) {\n __expose();\n\nconst props = __props;\n\n\n\n\nconst stages = ref([]);\nconst store = useStore();\nconst loading = ref(true);\n\n\nconst getAvailableStages = computed(() => {\n return stages.value.filter(\n (value) => value.stageId.status === StageStatus.NOW_SELLING\n )\n .sort((a, b) => compareStrings(a?.stageId?.title, b?.stageId?.title));\n});\n\nonMounted(() => {\n getStages();\n});\n\nconst getStages = () => {\n store\n .dispatch(\"stage/getStagesMap\", { estateId: props.estateId, isCustomer: true })\n .then((res) => {\n stages.value = res.data;\n loading.value = false;\n });\n};\n\nconst changeView = () => {\n if (props.viewType !== \"list\") {\n emit(\"changeView\");\n }\n};\n\nconst getStageClass = (stageId: string) => {\n return router.currentRoute.value.query?.stageId === stageId\n && props.mapPage === MapPages.STAGE_MAP;\n};\n\nconst onStage = (stage: StageMapInterface) => {\n const embed = props.isEmbedded.toString();\n if (props.mapPage === MapPages.STAGE_MAP || props.mapPage === MapPages.ESTATE_MAP) {\n emit(\"onStage\", stage);\n } else {\n router.replace({\n path: router.currentRoute.value.path,\n query: { stageId: stage.stageId._id, embed },\n })\n .then(() => {\n emit(\"changeView\");\n });\n }\n};\n\nconst __returned__ = { props, emit, stages, store, loading, getAvailableStages, getStages, changeView, getStageClass, onStage, ref, computed, onMounted, get router() { return router }, get MapPages() { return MapPages }, get StageMapInterface() { return StageMapInterface }, get StageStatus() { return StageStatus }, get useStore() { return useStore }, get compareStrings() { return compareStrings } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./StageNavMobile.vue?vue&type=template&id=0d2e86fe&scoped=true&ts=true&lang=pug\"\nimport script from \"./StageNavMobile.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./StageNavMobile.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./StageNavMobile.vue?vue&type=style&index=0&id=0d2e86fe&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0d2e86fe\"]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ConfirmDeleteModal.vue?vue&type=style&index=0&id=68a6733c&lang=scss&scoped=true\"","module.exports = __webpack_public_path__ + \"img/image-question-builder.9b519d8a.jpg\";","export * from \"-!../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BuilderSliderMobile.vue?vue&type=style&index=0&id=31eca0af&lang=scss\"","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b9b8d69a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return ($setup.builder)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"builder-logo\",\n src: $setup.builder.logo\n }, null, 8, _hoisted_1))\n : _createCommentVNode(\"\", true)\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { onMounted, ref, watch } from \"vue\";\n import { useToast, POSITION } from \"vue-toastification\";\n import store from \"@/store\";\n import { BuilderInterface } from \"@/types/BuilderInterface\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BuilderLogo',\n props: {\n builderId: {},\n builderData: {}\n },\n setup(__props: any, { expose: __expose }) {\n __expose();\n\nconst props = __props;\n\n \n\n const toast = useToast();\n const builder = ref();\n\n const getBuilderById = () => {\n if (props.builderId) {\n store\n .dispatch(\"builder/getBuilderById\", props.builderId)\n .then((res) => {\n builder.value = res.data;\n })\n .catch((err) => {\n console.error(\"Error fetching builder by id in BuilderLogo.vue\", err);\n toast.error(\"Error fetching builder by id\", {\n position: POSITION.TOP_LEFT,\n });\n });\n }\n };\n\n const setBuilderIfProp = (elseCallback?: () => void) => {\n if (props.builderData) {\n builder.value = props.builderData;\n } else if (elseCallback) {\n elseCallback();\n }\n };\n\n onMounted(() => {\n setBuilderIfProp(getBuilderById);\n });\n\n const fetchBuilderIfDifferent = (\n newBuilderId?: string,\n oldBuilderId?: string\n ) => {\n if (newBuilderId !== oldBuilderId) {\n getBuilderById();\n }\n };\n\n watch(\n () => props.builderId,\n (newBuilderId, oldBuilderId) => {\n const fetchBuilder = () =>\n fetchBuilderIfDifferent(newBuilderId, oldBuilderId);\n setBuilderIfProp(fetchBuilder);\n }\n );\n\n watch(\n () => props.builderData,\n () => {\n setBuilderIfProp();\n }\n );\n\nconst __returned__ = { props, toast, builder, getBuilderById, setBuilderIfProp, fetchBuilderIfDifferent, onMounted, ref, watch, get useToast() { return useToast }, get POSITION() { return POSITION }, get store() { return store }, get BuilderInterface() { return BuilderInterface } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./BuilderLogo.vue?vue&type=template&id=b9b8d69a&scoped=true&ts=true&lang=pug\"\nimport script from \"./BuilderLogo.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BuilderLogo.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BuilderLogo.vue?vue&type=style&index=0&id=b9b8d69a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b9b8d69a\"]])\n\nexport default __exports__","import { UserInterface } from \"@/types/UserInterface\";\n\nexport function getFirstLastName(user: UserInterface) {\n return user ? `${user.firstName ? user.firstName : \"\"} ${user.lastName ? user.lastName : \"\"}` : \"\";\n}\nexport function getFullName(user: UserInterface) {\n return user ? `${user.firstName} ${user.middleName} ${user.lastName}` : \"\";\n}\n","import { normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/icon-close-dark.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-188552f5\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"image-modal-overlay\"\n}\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = { class: \"buttons-zoom-container\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return ($props.isOpen)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"scroll-wrapper\", { 'img-container': $setup.props.zoom !== 1 }]),\n ref: \"svgContainerMap\",\n onMousedown: $setup.startDrag,\n onMousemove: $setup.handleDrag,\n onMouseup: $setup.stopDrag\n }, [\n _createElementVNode(\"img\", {\n class: _normalizeClass([\"image-wr\", { 'image-scale': $setup.props.zoom !== 1 }]),\n src: $props.imageUrl,\n style: _normalizeStyle({ transform: 'scale(' + $setup.props.zoom + ')' })\n }, null, 14, _hoisted_2)\n ], 34),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"buttons-container\", [$props.zoom !== 1]])\n }, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"img\", {\n class: \"button-close\",\n src: _imports_0,\n onClick: $setup.closeModal\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"button\", {\n class: \"button button-zoom\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => ($setup.emits('updateZoom', 0.2)))\n }, \"+\"),\n _createElementVNode(\"button\", {\n class: \"button button-zoom\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => ($setup.emits('updateZoom', -0.2)))\n }, \"-\")\n ])\n ], 2)\n ]))\n : _createCommentVNode(\"\", true)\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { handleDragging, startDragging, stopDragging } from \"@/helpers/zoom\";\nimport { ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BuilderLightboxImages',\n props: {\n isOpen: {\n type: Boolean,\n required: true,\n },\n imageUrl: {\n type: String,\n required: true,\n },\n zoom: {\n type: Number,\n required: true,\n },\n},\n emits: [\"close\", \"updateZoom\"],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n\n\n\n\nconst closeModal = () => {\n emits(\"close\");\n};\n\nconst isDragging = ref(false);\nconst svgStartPosition = ref({x : 0, y : 0});\nconst svgStartScrollPosition = ref({x : 0, y : 0});\nconst svgContainerMap = ref();\n\nconst startDrag = (event : MouseEvent) => {\n startDragging(\n event,\n props.zoom,\n isDragging,\n svgContainerMap,\n svgStartPosition,\n svgStartScrollPosition,\n )\n}\nconst handleDrag = (event : MouseEvent) => {\n handleDragging(\n event,\n isDragging,\n svgContainerMap,\n svgStartPosition,\n svgStartScrollPosition,\n )\n}\nconst stopDrag = () => {\n stopDragging(\n props.zoom,\n isDragging,\n svgContainerMap,\n )\n}\n\n\nconst __returned__ = { props, emits, closeModal, isDragging, svgStartPosition, svgStartScrollPosition, svgContainerMap, startDrag, handleDrag, stopDrag, get handleDragging() { return handleDragging }, get startDragging() { return startDragging }, get stopDragging() { return stopDragging }, ref }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./BuilderLightboxImages.vue?vue&type=template&id=188552f5&scoped=true&ts=true&lang=pug\"\nimport script from \"./BuilderLightboxImages.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BuilderLightboxImages.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./BuilderLightboxImages.vue?vue&type=style&index=0&id=188552f5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-188552f5\"]])\n\nexport default __exports__","import { delay } from \"@/helpers/async\";\nimport { Ref } from \"vue\";\n\nconst scrollToBottomModal = async (\n modalContainerRef: Ref,\n modalBodyRef: Ref\n): Promise => {\n await delay(10);\n\n if (!modalBodyRef.value || !modalContainerRef.value) return;\n\n modalBodyRef.value.scrollTo({\n top: modalContainerRef.value.scrollHeight,\n behavior: \"smooth\",\n });\n};\n\nexport default scrollToBottomModal;\n","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BuilderLightboxImages.vue?vue&type=style&index=0&id=188552f5&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BuilderFiltersHousesModal.vue?vue&type=style&index=0&id=39cc2986&lang=scss&scoped=true\"","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./StageList.vue?vue&type=style&index=0&id=524f8462&lang=scss&scoped=true\"","import { EstateInterface } from \"@/types/EstateInterface\";\nimport { LotInterface } from \"@/types/LotInterface\";\n\nconst setLotEstate = (\n lot: LotInterface,\n estate?: EstateInterface\n): LotInterface => {\n if (!estate) {\n console.error(\"Estate cannot be null\");\n return lot;\n }\n\n return {\n ...lot,\n estateId: estate,\n };\n};\n\nexport default setLotEstate;\n","var classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/info-icon.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4cef99d7\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"info-container\" }\nconst _hoisted_2 = { class: \"info-content\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"info-content-icon\",\n src: _imports_0\n}, null, -1))\nconst _hoisted_4 = { class: \"info-content-data\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, _toDisplayString($setup.props.text), 1)\n ])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'InfoWithIcon',\n props: {\n text: String,\n},\n setup(__props, { expose: __expose }) {\n __expose();\n\nconst props = __props;\n\n\n\n\n\nconst __returned__ = { props }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./InfoWithIcon.vue?vue&type=template&id=4cef99d7&scoped=true&ts=true&lang=pug\"\nimport script from \"./InfoWithIcon.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./InfoWithIcon.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./InfoWithIcon.vue?vue&type=style&index=0&id=4cef99d7&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4cef99d7\"]])\n\nexport default __exports__","export * from \"-!../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./HouseDimensionsAndInclusions.vue?vue&type=style&index=0&id=f738d478&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./StageButtonLink.vue?vue&type=style&index=0&id=be393694&lang=scss&scoped=true\"","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){\"use strict\";var t=1e3,e=6e4,n=36e5,r=\"millisecond\",i=\"second\",s=\"minute\",u=\"hour\",a=\"day\",o=\"week\",f=\"month\",h=\"quarter\",c=\"year\",d=\"date\",l=\"Invalid Date\",$=/^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/,y=/\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:\"en\",weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),ordinal:function(t){var e=[\"th\",\"st\",\"nd\",\"rd\"],n=t%100;return\"[\"+t+(e[(n-20)%10]||e[n]||e[0])+\"]\"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:\"\"+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?\"+\":\"-\")+m(r,2,\"0\")+\":\"+m(i,2,\"0\")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n=\"object\"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if(\"string\"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||\"0\").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t) {\n const postalCode = parseInt(postcode, 10);\n\n const postalCodeRanges = {\n [StatesEnum.NSW]: { min: 2000, max: 2999 },\n [StatesEnum.ACT]: { min: 200, max: 299 },\n [StatesEnum.NT]: { min: 800, max: 999 },\n [StatesEnum.QLD]: { min: 4000, max: 4999 },\n [StatesEnum.SA]: { min: 5000, max: 5999 },\n [StatesEnum.TAS]: { min: 7000, max: 7999 },\n [StatesEnum.VIC]: { min: 3000, max: 3999 },\n [StatesEnum.WA]: { min: 6000, max: 6999 },\n };\n\n const [state] =\n Object.entries(postalCodeRanges).find(\n ([_, range]) => postalCode >= range.min && postalCode <= range.max\n ) ?? [];\n\n if (!state) {\n throw new Error(\"Invalid postcode\");\n }\n\n return state as StatesEnum;\n};\n","var classof = require('../internals/classof-raw');\n\nmodule.exports = typeof process != 'undefined' && classof(process) == 'process';\n","function getBodyScrollTop() {\n return (\n self.pageYOffset ||\n (document.documentElement && document.documentElement.scrollTop) ||\n (document.body && document.body.scrollTop)\n );\n}\nconst easeOutCubic = (t: number) => --t * t * t + 1;\n\nexport const scrollTo = (\n element: Element,\n offset = 0,\n duration = 600\n): void => {\n if (element) {\n const yPos =\n getBodyScrollTop() + element.getBoundingClientRect().top - offset;\n const startY = window.scrollY;\n const difference = yPos - startY;\n const startTime = performance.now();\n\n const step = () => {\n const progress = (performance.now() - startTime) / duration;\n const amount = easeOutCubic(progress);\n window.scrollTo({ top: startY + amount * difference });\n if (progress < 0.99) {\n window.requestAnimationFrame(step);\n }\n };\n\n step();\n }\n};\n","export * from \"-!../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BuilderHouseBorrowHeaderMobile.vue?vue&type=style&index=0&id=b8133476&lang=scss&scoped=true\"","enum ErrorMessages {\n ERROR_SOMETHING_WENT_WRONG = \"Something went wrong, please try again later\",\n ERROR_QUOTE_EMAIL_DUPLICATED_PROFILE = \"Email associated with different phone number\",\n ERROR_QUOTE_PHONE_DUPLICATED_PROFILE = \"Phone number associated with a different email\",\n ERROR_WAIT_BEFORE_REQUESTING_NEW_CODE = \"Please wait before requesting a new code\",\n ERROR_VALIDATE_PHONE_NUMBER = \"Invalid verfication code\",\n PROFILE_VERIFY_CONFLICT_ERROR = \"Profile with this email or phone number is already verified\",\n}\n\nexport default ErrorMessages;\n","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./StageSvgMap.vue?vue&type=style&index=0&id=57fc788e&lang=scss&scoped=true\"","import { createElementVNode as _createElementVNode, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7c35f192\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal-wrapper\" }\nconst _hoisted_2 = { class: \"content-image-house\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = { class: \"content-reservation\" }\nconst _hoisted_5 = { class: \"content-logo-sucess\" }\nconst _hoisted_6 = [\"src\"]\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"content-text-title\" }, \"Nice one! Your reservation request has been submitted.\", -1))\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"content-information\" }, \"Got a question about your package or the build process? Request a call back from one of our experts!\", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createBlock($setup[\"Modal\"], {\n isOpen: $setup.props.isOpen,\n classes: \"sucess-request-reserve-modal\",\n onClose: $setup.onClose\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n class: \"img-house\",\n src: $setup.props.house.mainImage\n }, null, 8, _hoisted_3)\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"img\", {\n class: \"icon-succes\",\n src: require('@/assets/icons/icon-succes-reserve-quote.svg')\n }, null, 8, _hoisted_6)\n ]),\n _hoisted_7,\n _hoisted_8,\n _createVNode($setup[\"ContactUsLink\"], {\n class: \"request\",\n animationName: \"''\",\n toContactUsForm: false,\n text: 'Request a call back',\n isButtonCallBackModal: true,\n linkCalendly: $setup.CALENDLY_BUILD_LINK\n }, null, 8, [\"linkCalendly\"])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"isOpen\"]))\n}","import { defineComponent as _defineComponent } from 'vue'\n\n import Modal from \"../Modal.vue\";\n import ContactUsLink from \"@/components/landing/ContactUsLink.vue\";\n import { CALENDLY_BUILD_LINK } from \"@/constants/calendlyLinks\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'SuccessRequestReserveModal',\n props: {\n isOpen: {\n type: Boolean,\n required: true,\n },\n house: {\n type: Object,\n required: true,\n },\n },\n emits: [\"close\"],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n\n \n const onClose = () => {\n emits(\"close\");\n };\n\nconst __returned__ = { props, emits, onClose, Modal, ContactUsLink, get CALENDLY_BUILD_LINK() { return CALENDLY_BUILD_LINK } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./SuccessRequestReserveModal.vue?vue&type=template&id=7c35f192&scoped=true&ts=true&lang=pug\"\nimport script from \"./SuccessRequestReserveModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SuccessRequestReserveModal.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./SuccessRequestReserveModal.vue?vue&type=style&index=0&id=7c35f192&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7c35f192\"]])\n\nexport default __exports__","var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar clearErrorStack = require('../internals/error-stack-clear');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\n\n// non-standard V8\nvar captureStackTrace = Error.captureStackTrace;\n\nmodule.exports = function (error, C, stack, dropEntries) {\n if (ERROR_STACK_INSTALLABLE) {\n if (captureStackTrace) captureStackTrace(error, C);\n else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));\n }\n};\n","var isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n","import { Ref } from \"vue\";\n\nexport const startDragging = (\n event : MouseEvent,\n zoom : number,\n isDragging : Ref,\n svgContainerMap : Ref,\n svgStartPosition : Ref,\n svgStartScrollPosition : Ref,\n) : void => {\n if(zoom !== 1){\n isDragging.value = true;\n svgStartPosition.value = { x: event.clientX, y: event.clientY};\n svgStartScrollPosition.value = {\n x : svgContainerMap.value.scrollLeft,\n y : svgContainerMap.value.scrollTop,\n };\n svgContainerMap.value.style.cursor = 'grabbing';\n }\n}\n\nexport const handleDragging = (\n event : MouseEvent,\n isDragging : Ref,\n svgContainerMap : Ref,\n svgStartPosition : Ref,\n svgStartScrollPosition : Ref,\n) : void => {\n event.preventDefault();\n if (isDragging.value) {\n const deltaX = event.clientX - svgStartPosition.value.x;\n const deltaY = event.clientY - svgStartPosition.value.y;\n svgContainerMap.value.scrollLeft = svgStartScrollPosition.value.x - deltaX;\n svgContainerMap.value.scrollTop = svgStartScrollPosition.value.y - deltaY;\n }\n}\n\nexport const stopDragging = (\n zoom : number,\n isDragging : Ref,\n svgContainerMap : Ref,\n) : void => {\n if(zoom !== 1){\n svgContainerMap.value.style.cursor = 'grab';\n }\n else{\n svgContainerMap.value.style.cursor = 'default';\n }\n isDragging.value = false;\n}\n","export const scrollToNextStep = (top: number, id?: string): void => {\n setTimeout(() => {\n if (id) {\n const element = document.getElementById(id) as HTMLElement;\n if (element) {\n window.scrollTo({ top, behavior: \"smooth\" });\n }\n } else {\n window.scrollTo({ top, behavior: \"smooth\" });\n }\n }, 100);\n};\n\nexport const scrollToNextStepMobile = (id: string): void => {\n setTimeout(() => {\n const element = document.getElementById(id) as HTMLElement;\n if (element) {\n window.scrollTo({ top: element.offsetTop, behavior: \"smooth\" });\n }\n }, 100);\n};\n","export enum EventActionName {\n CONVERT_TO_LEAD = \"convertToLead\",\n LOT_ON_CLICK = \"lotOnClick\",\n HOUSE_DESIGN_ON_CLICK = \"houseDesignOnClick\",\n}\n\nexport enum EventByCategory {\n ON_CLICK = \"onClick\",\n LEAD_CONVERSION = \"leadConversion\",\n}\n\nexport enum EventByAction {\n CLICK = \"click\",\n SUBMIT = \"submit\",\n}\n\nexport enum EventLabelByName {\n CLICK_LOT = \"Click lot\",\n CONTACT_US = \"Contact us\",\n CLICK_HOUSE_DESIGN = \"Click house design\",\n MAKE_ENQUIRY = \"Make enquiry\",\n REQUEST_INITIAL_HOLD = \"Request initial hold\",\n REQUEST_BUILDER_HOLD = \"Request hold\",\n}\n\nexport interface EventTracking {\n actionsName: EventActionName;\n eventByCategory: EventByCategory;\n eventLabelByName: EventLabelByName;\n eventByAction: EventByAction;\n estateById?: string;\n stageById?: string;\n stageTitle?: string;\n lotById?: string;\n lotTitle?: string;\n houseDesignId?: string;\n houseDesignName?: string;\n}\n","const getRegex = (string: string | RegExp) => new RegExp(string, \"u\");\n\nexport const hasLowerCaseRegex = getRegex(\"^.*[a-z].*$\");\nexport const hasUpperCaseRegex = getRegex(\"^.*[A-Z].*$\");\nexport const hasSpecialCharsRegex = getRegex(\n \"^.*[`!@#$%^&*()_+\\\\-=\\\\[\\\\]{};':\\\"\\\\\\\\|,.<>\\\\/?~].*$\"\n);\nexport const hasDigitsRegex = getRegex(\"^.*[+0-9].*$\");\nexport const latinCharactersRegex = getRegex(/^[A-Za-z0-9(),.`\\-&\\s]*$/);\n","import { createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3aef90b0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"content-imgs\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return ($setup.props.houseInfo)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode($setup[\"BuilderSelectionHouse\"], {\n selectedHouseDesign: $setup.props.houseInfo,\n quote: $setup.props.quote,\n isBuilderQuoteView: true,\n selectedFacade: $props.selectedFacade,\n onUpdateSelectedFacade: $setup.onUpdateSelectedFacade\n }, null, 8, [\"selectedHouseDesign\", \"quote\", \"selectedFacade\"])\n ]))\n : _createCommentVNode(\"\", true)\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { onMounted, ref, watch } from \"vue\";\n import { HouseDesignInterface } from \"@/types/HouseDesignInterface\";\n import { BuilderSliderSteps } from \"@/enums/BuilderSliderSteps\";\n import BuilderSelectionHouse from \"../../BuilderSelectionHouse.vue\";\n import { BuilderQuote } from \"@/types/BuilderQuote\";\n import { FacadeInterface } from \"@/types/FacadeInterface\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'HouseAndFloorplanImage',\n props: {\n houseInfo: {},\n quote: {},\n selectedFacade: {}\n },\n emits: [\"showFloorplan\", \"updateSelectedFacade\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n\n \n\n const showFloorplan = ref(false);\n const showInterior = ref(false);\n const selectedImage = ref(null);\n\n const onChangeImage = (type: string) => {\n if (type === BuilderSliderSteps.FLOORPLAN) {\n showFloorplan.value = true;\n showInterior.value = false;\n } else if (type === BuilderSliderSteps.MAIN_IMAGE) {\n showFloorplan.value = false;\n showInterior.value = false;\n selectedImage.value = null;\n }\n emits(\"showFloorplan\");\n };\n\n const onUpdateSelectedFacade = (facade: FacadeInterface) => {\n emits(\"updateSelectedFacade\", facade);\n };\n\n const onSelectSection = (section: string) => {\n showFloorplan.value = false;\n showInterior.value = true;\n switch (section) {\n case BuilderSliderSteps.KITCHEN:\n selectedImage.value = props.houseInfo?.kitchens[0].url || null;\n break;\n case BuilderSliderSteps.BATHROOM:\n selectedImage.value = props.houseInfo?.bathroom.options[0].url || null;\n break;\n case BuilderSliderSteps.LIVING:\n selectedImage.value = props.houseInfo?.loungeRoom.urls[0] || null;\n break;\n }\n };\n\n watch(\n () => props.houseInfo,\n () => {\n selectedImage.value = props.houseInfo?.mainImage || null;\n }\n );\n\nconst __returned__ = { props, emits, showFloorplan, showInterior, selectedImage, onChangeImage, onUpdateSelectedFacade, onSelectSection, onMounted, ref, watch, get HouseDesignInterface() { return HouseDesignInterface }, get BuilderSliderSteps() { return BuilderSliderSteps }, BuilderSelectionHouse, get BuilderQuote() { return BuilderQuote }, get FacadeInterface() { return FacadeInterface } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./HouseAndFloorplanImage.vue?vue&type=template&id=3aef90b0&scoped=true&ts=true&lang=pug\"\nimport script from \"./HouseAndFloorplanImage.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./HouseAndFloorplanImage.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./HouseAndFloorplanImage.vue?vue&type=style&index=0&id=3aef90b0&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3aef90b0\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, renderList as _renderList, Fragment as _Fragment, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/icon-swipe.svg'\nimport _imports_1 from '@/assets/icons/arrow-customize-house-right.svg'\nimport _imports_2 from '@/assets/icons/arrow-customize-house-left.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0e610576\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"slider-actions\" }\nconst _hoisted_2 = { class: \"label-wr\" }\nconst _hoisted_3 = { class: \"label\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"img-swipe\",\n src: _imports_0\n}\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line label-separator\" }, null, -1))\nconst _hoisted_6 = { class: \"buttons-container\" }\nconst _hoisted_7 = [\"id\"]\nconst _hoisted_8 = [\"onClick\"]\nconst _hoisted_9 = [\"src\", \"alt\"]\nconst _hoisted_10 = { class: \"image-text\" }\nconst _hoisted_11 = [\"onClick\"]\nconst _hoisted_12 = {\n key: 0,\n class: \"line\"\n}\nconst _hoisted_13 = {\n key: 1,\n class: \"controls\"\n}\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_1 }, null, -1))\nconst _hoisted_15 = [\n _hoisted_14\n]\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_2 }, null, -1))\nconst _hoisted_17 = [\n _hoisted_16\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createTextVNode(_toDisplayString($setup.props.title), 1),\n _createElementVNode(\"span\", null, _toDisplayString($setup.props.contentTitle), 1),\n ($props.isLogoSwipe && !$setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"img\", _hoisted_4))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", {\n class: \"buttons-container\",\n id: $setup.props.title,\n ref: \"buttonsContainer\",\n onTouchstart: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => ($setup.onTouchstart && $setup.onTouchstart(...args))),\n onTouchend: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => ($setup.onTouchEnd && $setup.onTouchEnd(...args))),\n onTouchcancel: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => ($setup.onTouchCancel && $setup.onTouchCancel(...args))),\n onTouchmove: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => ($setup.onTouchMove && $setup.onTouchMove(...args)))\n }, [\n _createElementVNode(\"div\", {\n class: \"buttons\",\n style: _normalizeStyle($setup.containerStyles)\n }, [\n ($props.isLogoSwipe && !$setup.isDesktop)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList($setup.props.items, (item) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"button-images\", { checkmark: !$props.isHouseSelectSlider ? $setup.props.selectedItem?.id === item.id : $setup.props.selectedItem?._id === item._id }]),\n key: item.id || item._id,\n onClick: ($event: any) => ($setup.onSelectItem(item))\n }, [\n _createElementVNode(\"img\", {\n class: \"image-slider\",\n src: item.mainImage || item.url,\n alt: item.name\n }, null, 8, _hoisted_9),\n _createElementVNode(\"span\", _hoisted_10, _toDisplayString(item.name), 1)\n ], 10, _hoisted_8))\n }), 128))\n : (_openBlock(true), _createElementBlock(_Fragment, { key: 1 }, _renderList($setup.props.items, (item) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n class: _normalizeClass([\"button default button-slider-action\", { 'button-checkmark': $setup.isButtonCheckmark(item), 'button-checkmark-not-icon': $setup.isButtonCheckmarkNotIcon(item), 'button-checkmark-width': $setup.isButtonBuilder() }]),\n key: item.id || item._id,\n onClick: ($event: any) => ($setup.onSelectItem(item))\n }, _toDisplayString(item.name), 11, _hoisted_11))\n }), 128))\n ], 4)\n ], 40, _hoisted_7),\n ($setup.showControls)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_12))\n : _createCommentVNode(\"\", true),\n ($setup.showControls)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _createElementVNode(\"button\", {\n class: \"button-next\",\n onClick: $setup.scrollDesktopRight\n }, _hoisted_15),\n _createElementVNode(\"button\", {\n class: \"button-prev\",\n onClick: $setup.scrollDesktopLeft\n }, _hoisted_17)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { BuilderInterface } from \"@/types/BuilderInterface\";\n import { HouseDesignInterface } from \"@/types/HouseDesignInterface\";\n import { useIsDesktop } from \"@/features/useIsDesktop\";\n\n import { ref, computed, watch, Ref, onMounted, onBeforeUnmount } from \"vue\";\n\n import { useScrollDragMobile } from \"@/features/useScrollDragMobile\";\n\n interface Props {\n items: ({ id: string } | { _id: string })[];\n selectedItem: { id?: string; _id?: string };\n title: string;\n contentTitle?: string;\n isButtonCheckmarkOff?: boolean;\n isButtonBuilder?: boolean;\n isLogoSwipe?: boolean;\n isHouseSelectSlider?: boolean;\n }\n\n type Emits = (e: \"onSelectItem\", item: { id?: string; _id?: string }) => void;\n\n const buttonWidth = 170;\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BuilderSliderButtons',\n props: {\n items: {},\n selectedItem: {},\n title: {},\n contentTitle: {},\n isButtonCheckmarkOff: { type: Boolean },\n isButtonBuilder: { type: Boolean },\n isLogoSwipe: { type: Boolean },\n isHouseSelectSlider: { type: Boolean }\n },\n emits: [\"onSelectItem\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n \n const scrollOffset = ref(0);\n const step = buttonWidth;\n const buttonsContainer = ref();\n const isButtonClicked = ref(false);\n const itemClicked = ref<{ id?: string; _id?: string } | null>(null);\n const { isDesktop } = useIsDesktop(990);\n\n const isButtonCheckmark = (item: { id?: string; _id?: string }) =>\n props.selectedItem?._id === item._id && !props.isButtonCheckmarkOff;\n const isButtonCheckmarkNotIcon = (item: { id?: string; _id?: string }) =>\n props.selectedItem?._id === item._id && props.isButtonCheckmarkOff;\n const isButtonBuilder = () => props.isButtonBuilder;\n\n const { onTouchCancel, onTouchEnd, onTouchMove, onTouchstart } =\n useScrollDragMobile(buttonsContainer as Ref);\n\n const showControls = computed(() => {\n const MAX_ITEMS_WITHOUT_CONTROLS = 5;\n if (checkHasMobileEvents()) return false;\n return (\n props.items.length > MAX_ITEMS_WITHOUT_CONTROLS ||\n canDesktopScrollLeft.value ||\n canDesktopScrollRight.value\n );\n });\n const checkHasMobileEvents = () => {\n const MOBILE_EVENT = \"ontouchstart\";\n return MOBILE_EVENT in document.documentElement;\n };\n\n const containerStyles = computed(() => ({\n transform: `translateX(-${scrollOffset.value}px)`,\n }));\n\n const canDesktopScrollLeft = computed(\n () => scrollOffset.value > 0 && !!buttonsContainer.value\n );\n\n const canDesktopScrollRight = computed(() => {\n const containerWidth = buttonsContainer.value?.clientWidth ?? 0;\n const contentWidth = buttonsContainer.value?.scrollWidth ?? 0;\n const maxScrollOffset = contentWidth - containerWidth;\n return scrollOffset.value < maxScrollOffset && !!buttonsContainer.value;\n });\n\n const scrollDesktopRight = () => {\n if (canDesktopScrollRight.value) {\n scrollOffset.value += step;\n }\n };\n const scrollDesktopLeft = () => {\n if (canDesktopScrollLeft.value) {\n scrollOffset.value -= step;\n }\n };\n\n const onSelectItem = (item: { id?: string; _id?: string }) => {\n const idComparison = props.isHouseSelectSlider\n ? props.selectedItem?._id === item._id\n : props.selectedItem?.id === item.id;\n\n if (idComparison) {\n return;\n }\n\n emits(\"onSelectItem\", item);\n\n isButtonClicked.value = true;\n itemClicked.value = item;\n };\n\n watch(\n () => props.items,\n () => {\n scrollOffset.value = 0;\n },\n { deep: true }\n );\n\n const resetOffsetHandler = () => {\n /**\n * Resets the scroll offset to fire the \"showControls\" computed property.\n */\n scrollOffset.value = -1;\n scrollOffset.value = 0;\n };\n\n onMounted(() => {\n window.addEventListener(\"resize\", resetOffsetHandler);\n });\n\n onBeforeUnmount(() => {\n window.removeEventListener(\"resize\", resetOffsetHandler);\n });\n\nconst __returned__ = { props, emits, scrollOffset, buttonWidth, step, buttonsContainer, isButtonClicked, itemClicked, isDesktop, isButtonCheckmark, isButtonCheckmarkNotIcon, isButtonBuilder, onTouchCancel, onTouchEnd, onTouchMove, onTouchstart, showControls, checkHasMobileEvents, containerStyles, canDesktopScrollLeft, canDesktopScrollRight, scrollDesktopRight, scrollDesktopLeft, onSelectItem, resetOffsetHandler, get BuilderInterface() { return BuilderInterface }, get HouseDesignInterface() { return HouseDesignInterface }, get useIsDesktop() { return useIsDesktop }, ref, computed, watch, Ref, onMounted, onBeforeUnmount, get useScrollDragMobile() { return useScrollDragMobile } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./BuilderSliderButtons.vue?vue&type=template&id=0e610576&scoped=true&ts=true&lang=pug\"\nimport script from \"./BuilderSliderButtons.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BuilderSliderButtons.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BuilderSliderButtons.vue?vue&type=style&index=0&id=0e610576&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0e610576\"]])\n\nexport default __exports__","export * from \"-!../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./HouseNameAndFeatures.vue?vue&type=style&index=0&id=661e899d&lang=scss&scoped=true\"","\nconst pinchZoomHammer = (\n scale: number, callback: (deltaScale : number) => void\n) : void => {\n\n let currentScale = 1;\n const smoothingFactor = 0.2;\n const targetScale = currentScale * scale;\n const smoothScale = currentScale + (targetScale - currentScale) * smoothingFactor;\n \n const minScale = 0.5;\n const maxScale = 2;\n const smoothedScale = Math.min(Math.max(smoothScale, minScale), maxScale);\n\n const deltaScale = smoothedScale - currentScale;\n currentScale = smoothedScale;\n\n callback(deltaScale);\n}\n\nexport default pinchZoomHammer;","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createVNode as _createVNode, createBlock as _createBlock, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e7cf310c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"admin-header\"\n}\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"title-main\" }, \"Map\", -1))\nconst _hoisted_3 = {\n key: 0,\n class: \"buttons\"\n}\nconst _hoisted_4 = {\n key: 0,\n class: \"legend\",\n id: \"legend-map\"\n}\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status gray\" }, \"Not Released\", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status success\" }, \"Now Selling\", -1))\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status warning\" }, \"Sold Out\", -1))\nconst _hoisted_8 = [\n _hoisted_5,\n _hoisted_6,\n _hoisted_7\n]\nconst _hoisted_9 = {\n key: 0,\n class: \"map-info-block\"\n}\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"legend\",\n id: \"legend-map\"\n}, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"status gray\" }, \"Not Released\"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"status success\" }, \"Now Selling\"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"status warning\" }, \"Sold Out\")\n], -1))\nconst _hoisted_11 = [\n _hoisted_10\n]\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"map-info-iframe\" }, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"map-wr\", { isBuilderView: $setup.props.builderView }])\n }, [\n ($setup.props.role === $setup.UserRoles.SUPER_ADMIN)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n ($setup.map !== null)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n (!$setup.map)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"button default primary add-btn-primary\",\n onClick: $setup.toCreateMap\n }, \"Add Map\"))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createElementVNode(\"button\", {\n class: \"button default outlined\",\n onClick: $setup.toEditMap\n }, \"Edit Map\"),\n _createElementVNode(\"button\", {\n class: \"button default outlined warning\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => ($setup.showConfirmDeleteModal = true))\n }, \"Delete Map\")\n ], 64))\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode($setup[\"ConfirmDeleteModal\"], {\n isOpen: $setup.showConfirmDeleteModal,\n deleteItem: 'estate map',\n onClose: _cache[1] || (_cache[1] = ($event: any) => ($setup.showConfirmDeleteModal = false)),\n onConfirm: $setup.deleteMap\n }, null, 8, [\"isOpen\"])\n ]))\n : _createCommentVNode(\"\", true),\n (!$setup.isDesktop && $setup.props.role === $setup.UserRoles.CUSTOMER && !$setup.props.isEmbedded)\n ? (_openBlock(), _createBlock($setup[\"StageNavMobile\"], {\n key: 1,\n estateId: $setup.estateId,\n mapPage: $setup.props.mapPage,\n isEmbedded: $setup.props.isEmbedded,\n onOnStage: _cache[2] || (_cache[2] = ($event: any) => ($setup.onStage($event))),\n onChangeView: _cache[3] || (_cache[3] = ($event: any) => (_ctx.$emit('changeView')))\n }, null, 8, [\"estateId\", \"mapPage\", \"isEmbedded\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"svg-wrapper\", { isEmbeddedDesktop: $setup.isEmbeddedDesktop, isBuilderView: $setup.props.builderView }])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"svg-container-map\", { 'svg-map-embedded': $setup.isEmbeddedDesktop, isBuilderView: $setup.props.builderView }])\n }, [\n ($setup.isEmbeddedDesktop)\n ? (_openBlock(), _createBlock($setup[\"MapSidePanel\"], {\n key: 0,\n estateId: $setup.estateId,\n hoverStageId: $setup.hoverStageId,\n lotsByHouseDesigns: $setup.props.lotsByHouseDesigns,\n builderView: $setup.props.builderView,\n hideOptions: $setup.props.hideMapSidePanelOptions,\n onOnStageHover: $setup.onSidePanelStageHover,\n onOnStageClick: $setup.onSidePanelStageClick,\n onOnRegister: _cache[4] || (_cache[4] = ($event: any) => (_ctx.$emit('onRegister'))),\n onOnMessage: _cache[5] || (_cache[5] = ($event: any) => (_ctx.$emit('onMessage')))\n }, null, 8, [\"estateId\", \"hoverStageId\", \"lotsByHouseDesigns\", \"builderView\", \"hideOptions\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"map-elements-container\", { 'map-max-width': $setup.isEmbeddedDesktop }])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"map-elements-wr\", { isBuilderView: $setup.props.builderView }])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"zoom-container\", [{ 'zoom-active': $props.zoom !== 1 && $setup.isDesktop }, { 'zoom-desktop-embedded': $setup.isEmbeddedDesktop }, { 'zoom-hidden': $setup.props.builderView }]])\n }, [\n _createElementVNode(\"button\", {\n class: \"button zoom-btn\",\n onClick: $setup.zoomIn\n }, \"+\"),\n _createElementVNode(\"button\", {\n class: \"button zoom-btn\",\n onClick: $setup.zoomOut\n }, \"-\")\n ], 2),\n ($setup.props.role !== $setup.UserRoles.SUPER_ADMIN && $setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"map-info-block\", { 'map-info-embedded': $setup.isEmbeddedDesktop }])\n }, [\n (!$setup.isEmbeddedDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, _hoisted_8))\n : _createCommentVNode(\"\", true)\n ], 2))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"scroll-wrapper\", [{ 'svg-container grab': $setup.props.zoom !== 1 }, { 'map-container-side': $setup.isEmbeddedDesktop }]]),\n ref: \"svgContainerMap\",\n onMousedown: $setup.startDrag,\n onMousemove: $setup.handleDrag,\n onMouseup: $setup.stopDrag\n }, [\n _createVNode($setup[\"EstateSvgMap\"], {\n map: $setup.map,\n stages: $setup.stages,\n getTooltipText: $setup.getTooltipText,\n getItemPathClasses: $setup.getItemPathClasses,\n zoom: $setup.props.zoom,\n onOnStageHover: $setup.onStageHover,\n onOnStageLeave: $setup.onStageLeave,\n onOnStageClick: $setup.onStage\n }, null, 8, [\"map\", \"stages\", \"zoom\"])\n ], 34)\n ], 2)\n ], 2),\n ($setup.isEmbeddedDesktop && !$setup.props.builderView)\n ? (_openBlock(), _createBlock($setup[\"MapSideLegend\"], {\n key: 1,\n isEstateMap: true\n }))\n : _createCommentVNode(\"\", true)\n ], 2),\n ($setup.props.role !== $setup.UserRoles.SUPER_ADMIN && !$setup.isEmbeddedDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, _hoisted_11))\n : _createCommentVNode(\"\", true),\n _hoisted_12\n ], 2)\n ], 2))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport ConfirmDeleteModal from \"@/components/ui/modals/ConfirmDeleteModal.vue\";\n import router from \"@/router\";\n import {\n computed,\n onMounted,\n ref,\n watch,\n } from \"vue\";\n import { useStore } from \"vuex\";\n import { EstateMapInterface } from \"@/types/EstateMapInterface\";\n import { UserRoles } from \"@/enums/UserRoles\";\n import { StageMapInterface } from \"@/types/StageMapInterface\";\n import { getStageStatusClass } from \"@/helpers/status\";\n import { StageStatus } from \"@/enums/StageStatus\";\n import { StageInterface } from \"@/types/StageInterface\";\n import { useIsDesktop } from \"@/features/useIsDesktop\";\n import StageNavMobile from \"@/components/StageNavMobile.vue\";\n import MapSidePanel from \"@/components/MapSidePanel.vue\";\n import Hammer from \"hammerjs\";\n import type HammerInput from \"hammerjs\";\n import pinchZoomHammer from \"@/helpers/estateMap/mapsZoom\";\n import { handleDragging, startDragging, stopDragging } from \"@/helpers/zoom\";\n import MapSideLegend from \"./MapSideLegend.vue\";\n import EstateSvgMap from \"@/components/maps/EstateSvgMap.vue\";\n\n const mobileLayoutWidth = 680;\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'EstateMap',\n props: {\n role: { type: String, default: () => UserRoles.LANDOWNER },\n viewType: { type: String, default: \"\" },\n isEmbedded: { type: Boolean, default: false },\n mapPage: { type: String, default: \"\" },\n zoom: { type: Number, default: 1 },\n lotsByHouseDesigns: { type: Array, required: false, default: undefined },\n builderView: { type: Boolean, required: false },\n plansView: { type: Boolean, required: false, default: false },\n estateId: { type: String, required: false, default: undefined },\n hideMapSidePanelOptions: { type: Boolean, required: false },\n businessId: { type: String, required: false, default: undefined },\n },\n emits: [\n \"changeView\",\n \"updateZoom\",\n \"onRegister\",\n \"onMessage\",\n \"changeViewMap\",\n ],\n setup(__props, { expose: __expose, emit }) {\n __expose();\n\nconst props = __props;\n\n \n const store = useStore();\n const { isDesktop } = useIsDesktop(mobileLayoutWidth);\n const userId = router.currentRoute.value.params.userId;\n const estateId = computed(() => getEstateId());\n const map = ref(null);\n const stages = ref([]);\n \n const stageSidePanelHover = ref({\n value: false,\n id: \"\",\n });\n const showConfirmDeleteModal = ref(false);\n const getAvailableStages = computed(() => {\n return stages.value.filter(\n (value) => value.stageId.status === StageStatus.NOW_SELLING\n );\n });\n\n const isEmbeddedDesktop = computed(() => isDesktop.value);\n\n const getEstateId = () => {\n if (props.role === UserRoles.LANDOWNER) {\n return store.state.user.selectedEstateId;\n } else if (props.estateId) {\n return props.estateId;\n } else {\n return router.currentRoute.value.params.estateId;\n }\n };\n\n const onSidePanelStageHover = (value: boolean, id: string) => {\n stageSidePanelHover.value = { value, id };\n };\n\n const onSidePanelStageClick = (id: string) => {\n const stage = stages.value.filter((s) => s.stageId._id === id);\n onStage(stage[0]);\n };\n\n const isCustomerRole = computed(() => {\n return props.role === UserRoles.CUSTOMER;\n });\n\n onMounted(() => {\n getMap();\n getStages();\n });\n\n const hoverStageId = ref(\"\");\n\n const onStageHover = (id: string) => {\n hoverStageId.value = id;\n };\n\n const onStageLeave = () => {\n hoverStageId.value = \"\";\n };\n\n const isDragging = ref(false);\n const svgStartPosition = ref({ x: 0, y: 0 });\n const svgStartScrollPosition = ref({ x: 0, y: 0 });\n const svgContainerMap = ref();\n\n const zoomIn = () => {\n emit(\"updateZoom\", 0.2);\n };\n\n const zoomOut = () => {\n emit(\"updateZoom\", -0.2);\n };\n\n const startDrag = (event: MouseEvent) => {\n startDragging(\n event,\n props.zoom,\n isDragging,\n svgContainerMap,\n svgStartPosition,\n svgStartScrollPosition\n );\n };\n const handleDrag = (event: MouseEvent) => {\n handleDragging(\n event,\n isDragging,\n svgContainerMap,\n svgStartPosition,\n svgStartScrollPosition\n );\n };\n const stopDrag = () => {\n stopDragging(props.zoom, isDragging, svgContainerMap);\n };\n\n function getMap() {\n store\n .dispatch(\"estate/getEstateMap\", estateId.value)\n .then((res) => {\n map.value = res.data;\n })\n .catch((error) => {\n if (error.response?.data?.statusCode === 404) {\n map.value = \"\";\n }\n });\n }\n const getStages = () => {\n store\n .dispatch(\"stage/getStagesMap\", {\n estateId: estateId.value,\n isCustomer: isCustomerRole.value,\n })\n .then((res) => {\n stages.value = res.data;\n });\n };\n function toCreateMap() {\n router.push({\n name: \"AdminEstateMapCreate\",\n params: { userId, estateId: estateId.value },\n });\n }\n function toEditMap() {\n router.push({\n name: \"AdminEstateMapUpdate\",\n params: { userId, estateId: estateId.value },\n });\n }\n function deleteMap() {\n store.dispatch(\"estate/deleteEstateMap\", map.value._id).then(() => {\n getMap();\n });\n }\n function onStage(stage: StageMapInterface) {\n const embed = props.isEmbedded.toString();\n\n if (props.builderView) {\n emit(\"changeViewMap\");\n return;\n }\n if (props.isEmbedded && !isDesktop.value) {\n const { href } = router.resolve({\n name: \"EstateMap\",\n params: {\n estateId: estateId.value,\n },\n });\n window.open(`${href}?stageId=${stage.stageId._id}&embed=false`, \"_blank\");\n return;\n }\n if (props.role === UserRoles.LANDOWNER) {\n router.push({\n name: \"Lots\",\n params: { stageId: stage.stageId._id, embed },\n query: { map: \"true\" },\n });\n return;\n }\n if (props.role === UserRoles.SUPER_ADMIN) {\n router.push({\n name: \"AdminStageMap\",\n params: {\n userId,\n estateId: estateId.value,\n stageId: stage.stageId._id,\n },\n });\n return;\n }\n if (\n props.role === UserRoles.CUSTOMER &&\n stage.stageId.status === StageStatus.NOW_SELLING\n ) {\n router.push({\n path: router.currentRoute.value.path,\n query: {\n stageId: stage.stageId._id,\n embed,\n businessId: props.businessId,\n },\n });\n }\n }\n\n const getItemPathClasses = (stage: StageMapInterface) => [\n getStageStatusClass(stage.stageId?.status),\n { \"selling-animation\": stage.stageId?.status === StageStatus.NOW_SELLING },\n { \"admin-highlight\": props.role === UserRoles.SUPER_ADMIN },\n {\n \"not-clickable\":\n props.role === UserRoles.CUSTOMER &&\n stage.stageId?.status !== StageStatus.NOW_SELLING,\n },\n {\n \"stage-side-panel-hover\":\n stageSidePanelHover.value?.value &&\n stageSidePanelHover.value?.id === stage.stageId?._id,\n },\n {\n \"stage-side-panel\":\n stage.stageId?.status === StageStatus.NOW_SELLING && isEmbeddedDesktop,\n },\n { \"stage-plans-view\": props.plansView },\n ];\n\n const getTooltipText = (stageMap: StageMapInterface) => {\n const stage = stageMap.stageId;\n if (stage.status === StageStatus.NOW_SELLING) {\n return `

STAGE ${stage.title}

\n ${stage.status.toUpperCase()}\n

${\n props.builderView\n ? props.lotsByHouseDesigns?.length\n : stage.availableLotsCount\n } Available lots

\n

Click to view

`;\n }\n return `

STAGE ${stage.title}

\n ${stage.status.toUpperCase()}\n

${\n props.builderView\n ? props.lotsByHouseDesigns?.length\n : stage.availableLotsCount\n } Available lots

`;\n };\n\n onMounted(() => {\n const mc = new Hammer(svgContainerMap.value);\n\n mc.get(\"pinch\").set({ enable: true });\n mc.on(\"pinch\", (event: HammerInput) => {\n pinchZoomHammer(event.scale, (delta) => emit(\"updateZoom\", delta));\n });\n\n mc.on(\"panstart\", (event: HammerInput) => {\n svgStartPosition.value = { x: event.center.x, y: event.center.y };\n svgStartScrollPosition.value = {\n x: svgContainerMap.value.scrollLeft,\n y: svgContainerMap.value.scrollTop,\n };\n });\n\n mc.on(\"pan\", (event: HammerInput) => {\n const deltaX = event.center.x - svgStartPosition.value.x;\n const deltaY = event.center.y - svgStartPosition.value.y;\n\n svgContainerMap.value.scrollLeft =\n svgStartScrollPosition.value.x - deltaX;\n svgContainerMap.value.scrollTop = svgStartScrollPosition.value.y - deltaY;\n });\n });\n\nconst __returned__ = { emit, store, mobileLayoutWidth, isDesktop, userId, estateId, map, stages, props, stageSidePanelHover, showConfirmDeleteModal, getAvailableStages, isEmbeddedDesktop, getEstateId, onSidePanelStageHover, onSidePanelStageClick, isCustomerRole, hoverStageId, onStageHover, onStageLeave, isDragging, svgStartPosition, svgStartScrollPosition, svgContainerMap, zoomIn, zoomOut, startDrag, handleDrag, stopDrag, getMap, getStages, toCreateMap, toEditMap, deleteMap, onStage, getItemPathClasses, getTooltipText, ConfirmDeleteModal, get router() { return router }, computed, onMounted, ref, watch, get useStore() { return useStore }, get EstateMapInterface() { return EstateMapInterface }, get UserRoles() { return UserRoles }, get StageMapInterface() { return StageMapInterface }, get getStageStatusClass() { return getStageStatusClass }, get StageStatus() { return StageStatus }, get StageInterface() { return StageInterface }, get useIsDesktop() { return useIsDesktop }, StageNavMobile, MapSidePanel, get Hammer() { return Hammer }, get pinchZoomHammer() { return pinchZoomHammer }, get handleDragging() { return handleDragging }, get startDragging() { return startDragging }, get stopDragging() { return stopDragging }, MapSideLegend, EstateSvgMap }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./EstateMap.vue?vue&type=template&id=e7cf310c&scoped=true&ts=true&lang=pug\"\nimport script from \"./EstateMap.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./EstateMap.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./EstateMap.vue?vue&type=style&index=0&id=e7cf310c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e7cf310c\"]])\n\nexport default __exports__","enum LeadSourceEnum {\n /**\n *Automatic lead addition after form submission\n */\n ENQUIRY = \"Form submission\",\n\n /**\n *Add a lead manually\n */\n MANUALLY = \"Created\",\n\n /**\n *Add leads from uploaded xlsx file\n */\n IMPORT = \"Import\",\n\n /**\n *Automatic lead addition after waitlist form submission\n */\n WAITLIST = \"Waitlist\",\n\n /**\n *Lead that comes from Realestate.com.au\n */\n REA = \"Realestate.com.au\",\n\n /**\n *Lead created when a Initial Hold Request is made.\n */\n INITIAL_HOLD = \"Initial Hold Request\",\n}\n\nexport default LeadSourceEnum;\n","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/arrow-right-landing.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-764c9914\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"data-aos\", \"target\"]\nconst _hoisted_2 = {\n key: 0,\n class: \"button-contact-us--icon\",\n src: _imports_0\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"button\", {\n class: \"button-contact-us\",\n onClick: $setup.onClick,\n \"data-aos\": $setup.props.animationName,\n target: $setup.props.toContactUsForm ? '_self' : '_blank'\n }, [\n _createTextVNode(_toDisplayString($setup.props.text), 1),\n (!$setup.props.isButtonCallBackModal)\n ? (_openBlock(), _createElementBlock(\"img\", _hoisted_2))\n : _createCommentVNode(\"\", true)\n ], 8, _hoisted_1))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { computed } from \"vue\";\nimport { CALENDLY_DEMO_LINK } from \"@/constants/calendlyLinks\";\nimport { scrollTo } from \"@/helpers/smoothScrollToElement\";\nimport { redirectWithoutRouter } from \"@/helpers/redirectWithoutRouter\";\nimport { useIsDesktop } from \"@/features/useIsDesktop\";\nimport { POSITION, useToast } from \"vue-toastification\";\n\ndeclare global {\n interface Window {\n Calendly: {\n showPopupWidget: (url: string) => void;\n };\n }\n}\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ContactUsLink',\n props: {\n linkCalendly: {\n type: String,\n default: CALENDLY_DEMO_LINK as string,\n },\n toContactUsForm: {\n type: Boolean,\n default: true,\n },\n text: {\n type: String,\n default: \"Talk with us\",\n },\n animationName: {\n type: String,\n default: \"fade-up\",\n },\n isButtonCallBackModal: {\n type: Boolean,\n default: false,\n }\n},\n emits: ['closeModal'],\n setup(__props, { expose: __expose, emit }) {\n __expose();\n\nconst props = __props;\n\n\n\nconst toast = useToast();\nconst showWidget = () => {\n if (window.Calendly) {\n emit('closeModal');\n window.Calendly.showPopupWidget(props.linkCalendly);\n } else {\n toast.error('Calendly script not loaded', {\n position: POSITION.TOP_LEFT,\n });\n }\n};\n\nconst { isDesktop } = useIsDesktop();\nconst onClick = () => {\n if (!props.toContactUsForm) {\n showWidget();\n return;\n }\n const contactUsForm = document.querySelector(\"#contact-us-form\");\n // 140 is the fixed header height\n if (contactUsForm) scrollTo(contactUsForm, !isDesktop.value ? 140 : 0, 800);\n};\n\n\nconst __returned__ = { emit, toast, showWidget, isDesktop, onClick, props, computed, get CALENDLY_DEMO_LINK() { return CALENDLY_DEMO_LINK }, get scrollTo() { return scrollTo }, get redirectWithoutRouter() { return redirectWithoutRouter }, get useIsDesktop() { return useIsDesktop }, get POSITION() { return POSITION }, get useToast() { return useToast } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./ContactUsLink.vue?vue&type=template&id=764c9914&scoped=true&ts=true&lang=pug\"\nimport script from \"./ContactUsLink.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ContactUsLink.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./ContactUsLink.vue?vue&type=style&index=0&id=764c9914&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-764c9914\"]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BuilderEnquiryModal.vue?vue&type=style&index=0&id=aaf1ab74&lang=scss&scoped=true\"","export enum FinanceStatusEnum {\n SELECT = \"Select\",\n PRE_APPROVED = \"Pre-approved\",\n APPLICATION_IN_PROGRESS = \"Application in progress\",\n EXPLORING_MY_OPTIONS = \"Exploring my options\",\n CASH_BUYER = \"Cash buyer\",\n}\n","export function phoneNumberOption(phone: string) {\n return {\n blocks: !phone || phone?.startsWith(\"+\") ? [3, 3, 3, 3] : [4, 3, 3],\n delimiter: \" \",\n };\n}\n\nexport const phonePlaceholder = \"0412 345 678\";\n\nexport const getCurrencyOptions = ({\n numeral = true,\n numeralThousandsGroupStyle = \"thousand\",\n numeralPositiveOnly = true,\n}: {\n numeral?: boolean;\n numeralThousandsGroupStyle?: NumeralThousandsGroupStyle;\n numeralPositiveOnly?: boolean;\n}): CurrencyOptions => ({\n numeral,\n numeralThousandsGroupStyle,\n numeralPositiveOnly,\n noImmediatePrefix: true,\n});\ntype NumeralThousandsGroupStyle = \"thousand\" | \"lakh\" | \"wan\";\n\ntype CurrencyOptions = {\n numeral: boolean;\n numeralThousandsGroupStyle: NumeralThousandsGroupStyle;\n numeralPositiveOnly: boolean;\n noImmediatePrefix: boolean;\n};\n","import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/builder-icon.svg'\nimport _imports_1 from '@/assets/icons/chevron-right-gray.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5f491709\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"header-wr\" }\nconst _hoisted_2 = { class: \"lot-details-item\" }\nconst _hoisted_3 = { class: \"lot-details-item\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"lot-btn-link-container\", { 'lot-btn-link-container-hover': $setup.props.hoverLotId === $setup.props.lot.lotId._id, expanded: $setup.props.builderView }]),\n onMouseover: $setup.onHover,\n onMouseleave: $setup.onMouseLeave,\n onClick: $setup.onClick\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"p\", {\n class: _normalizeClass([\"lot-btn-title lot\", { 'title-hover': $setup.hover }])\n }, \"Lot \" + _toDisplayString($setup.props.lot.lotId.title), 3),\n ($props.lot.lotId.isBuildersEnabled)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"builder-info-wr\",\n onMouseover: $setup.onBuilderHover,\n onMouseleave: $setup.onBuilderLeave\n }, [\n (!$setup.props.builderView)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: _normalizeClass([\"builder-info\", { 'builder-icon-hover': $setup.hover }]),\n src: _imports_0,\n ref: \"builderIconRef\"\n }, null, 2))\n : _createCommentVNode(\"\", true)\n ], 32))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"badge\", $setup.getLotCustomerMapStatusClass($setup.getLotStatus($props.lot.lotId.status === $setup.LotStatus.OFFLINE ? $props.lot.lotId?.offlineSale?.salePhase : $props.lot.lotId.status))])\n }, _toDisplayString($setup.getLotStatus($props.lot.lotId.status === $setup.LotStatus.OFFLINE? $props.lot.lotId?.offlineSale?.salePhase\n: $props.lot.lotId.status)), 3)\n ]),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"lot-details-wr\", { spacing: $setup.props.builderView }])\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"detail-header\", { 'title-hover': $setup.hover, 'builder-view': $setup.props.builderView }])\n }, \"Size\", 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"detail-data\", { 'title-hover': $setup.hover, 'builder-view': $setup.props.builderView }])\n }, _toDisplayString($props.lot.lotId.size) + \" sqm\", 3)\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"detail-header\", { 'title-hover': $setup.hover, 'builder-view': $setup.props.builderView }])\n }, \"Price\", 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"detail-data\", { 'title-hover': $setup.hover, 'builder-view': $setup.props.builderView }])\n }, _toDisplayString($setup.formatPrice($props.lot.lotId.price)), 3)\n ]),\n (!$setup.props.builderView)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: _normalizeClass([\"lot-btn-chevron\", { 'title-hover': $setup.hover }]),\n src: _imports_1\n }, null, 2))\n : _createCommentVNode(\"\", true)\n ], 2),\n ($setup.hover && $setup.props.builderView)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"button default primary select\",\n onClick: $setup.onClick\n }, \"Select Lot\"))\n : _createCommentVNode(\"\", true)\n ], 34))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { ref, watch } from \"vue\";\n import { LotMapInterface } from \"@/types/LotMapInterface\";\n import { getLotStatus } from \"@/helpers/customer\";\n import { getLotCustomerMapStatusClass } from \"@/helpers/status\";\n import { LotStatus } from \"@/enums/LotStatus\";\n import { formatPrice } from \"@/helpers/transformation/price\";\n\n type propsType = {\n lot: LotMapInterface;\n hoverLotId: string;\n builderView: boolean;\n };\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'LotButtonLink',\n props: {\n lot: {},\n hoverLotId: {},\n builderView: { type: Boolean }\n },\n emits: [\"onLotHover\", \"onLotBuilderHover\", \"onClick\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n const hover = ref(false);\n const builderHover = ref(false);\n const builderIconRef = ref();\n\n \n\n \n\n const onHover = () => {\n hover.value = true;\n emits(\"onLotHover\", true, props.lot.lotId._id);\n };\n\n const onMouseLeave = () => {\n hover.value = false;\n emits(\"onLotHover\", false, props.lot.lotId._id);\n };\n\n const onBuilderHover = () => {\n builderHover.value = true;\n emits(\"onLotBuilderHover\", true, props.lot.lotId._id);\n };\n\n const onBuilderLeave = () => {\n builderHover.value = false;\n emits(\"onLotBuilderHover\", false, props.lot.lotId._id);\n };\n\n const onClick = () => {\n emits(\"onClick\", props.lot);\n };\n\n watch(\n () => props.hoverLotId,\n () => {\n if (props.hoverLotId === props.lot.lotId._id) {\n hover.value = true;\n } else {\n hover.value = false;\n }\n }\n );\n\nconst __returned__ = { hover, builderHover, builderIconRef, props, emits, onHover, onMouseLeave, onBuilderHover, onBuilderLeave, onClick, ref, watch, get LotMapInterface() { return LotMapInterface }, get getLotStatus() { return getLotStatus }, get getLotCustomerMapStatusClass() { return getLotCustomerMapStatusClass }, get LotStatus() { return LotStatus }, get formatPrice() { return formatPrice } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./LotButtonLink.vue?vue&type=template&id=5f491709&scoped=true&ts=true&lang=pug\"\nimport script from \"./LotButtonLink.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./LotButtonLink.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./LotButtonLink.vue?vue&type=style&index=0&id=5f491709&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5f491709\"]])\n\nexport default __exports__","export * from \"-!../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./FloorplanAndInclusionsMobile.vue?vue&type=style&index=0&id=07c4dd7a&lang=scss&scoped=true\"","import { formatPrice } from \"@/helpers/transformation/price\";\r\n\r\nexport function calculateBuildPriceOrPackagePriceTotal(\r\n homePrice: number,\r\n facadePrice: number,\r\n siteCosts: number,\r\n landPrice?: number\r\n): string {\r\n const homePriceNum = isNaN(homePrice) ? 0 : Number(homePrice);\r\n const facadePriceNum = isNaN(facadePrice) ? 0 : Number(facadePrice);\r\n const siteCostsNum = isNaN(siteCosts) ? 0 : Number(siteCosts);\r\n const additionalCostsNum = landPrice !== undefined && !isNaN(landPrice) ? Number(landPrice) : 0;\r\n\r\n const totalPrice = homePriceNum + facadePriceNum + siteCostsNum + additionalCostsNum;\r\n\r\n return formatPrice(totalPrice);\r\n}","export const allowedDocumentMimeTypes = [\n \"image/jpeg\",\n \"image/png\",\n \"image/heic\",\n \"image/heif\",\n \".heic\",\n \"application/pdf\",\n];\nexport const MaxFileSize = 26214400;\n","import { createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/builder/image-question-builder.jpg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4f259458\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"content-container\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"content-img\",\n src: _imports_0\n}, null, -1))\nconst _hoisted_3 = { class: \"content-overlay\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"header-text\" }, \"Got questions about your build options?\", -1))\nconst _hoisted_5 = { class: \"content-button-request\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"footer-text\" }, \"No commitment. No obligations.\", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode($setup[\"ContactUsLink\"], {\n class: \"request\",\n animationName: \"''\",\n toContactUsForm: false,\n text: 'Book a free consultation',\n isButtonCallBackModal: true,\n linkCalendly: $setup.CALENDLY_BUILD_LINK\n }, null, 8, [\"linkCalendly\"])\n ]),\n _hoisted_6\n ])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport ContactUsLink from \"@/components/landing/ContactUsLink.vue\";\nimport { CALENDLY_BUILD_LINK } from \"@/constants/calendlyLinks\";\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'HouseQuestion',\n setup(__props, { expose: __expose }) {\n __expose();\n\n\nconst __returned__ = { ContactUsLink, get CALENDLY_BUILD_LINK() { return CALENDLY_BUILD_LINK } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./HouseQuestion.vue?vue&type=template&id=4f259458&scoped=true&ts=true&lang=pug\"\nimport script from \"./HouseQuestion.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./HouseQuestion.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./HouseQuestion.vue?vue&type=style&index=0&id=4f259458&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4f259458\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createVNode as _createVNode, createTextVNode as _createTextVNode, toDisplayString as _toDisplayString, createBlock as _createBlock, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-ddcdb672\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"admin-header\"\n}\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"title-main\" }, \"Map\", -1))\nconst _hoisted_3 = {\n key: 0,\n class: \"buttons\"\n}\nconst _hoisted_4 = {\n key: 1,\n class: \"available-lots-pop-up\"\n}\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createTextVNode(\"Click \"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"Available\"),\n /*#__PURE__*/_createTextVNode(\" lots to view more information\")\n], -1))\nconst _hoisted_6 = {\n key: 2,\n class: \"stage-info-nav\"\n}\nconst _hoisted_7 = { class: \"stage-available-lots\" }\nconst _hoisted_8 = {\n key: 0,\n class: \"zoom-info\"\n}\nconst _hoisted_9 = {\n key: 1,\n class: \"legend\"\n}\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status gray\" }, \"Not Released\", -1))\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status success\" }, \"Available\", -1))\nconst _hoisted_12 = { class: \"status yellow\" }\nconst _hoisted_13 = { class: \"status warning\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status\" }, \"Unconditional\", -1))\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status orange\" }, \"Option\", -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status gray-middle\" }, \"Offline\", -1))\nconst _hoisted_17 = {\n key: 0,\n class: \"legend\"\n}\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status gray\" }, \"Not Released\", -1))\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status success\" }, \"Available\", -1))\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status light-blue\" }, \"Hold\", -1))\nconst _hoisted_21 = { class: \"status yellow\" }\nconst _hoisted_22 = { class: \"status warning\" }\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status\" }, \"Unconditional\", -1))\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status orange\" }, \"Option\", -1))\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"status gray-middle\" }, \"Offline\", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"map-wr\", { isBuilderView: $setup.props.builderView }]),\n onMousemove: $setup.handleMouseMove\n }, [\n ($setup.props.role === $setup.UserRoles.SUPER_ADMIN)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n ($setup.map !== null)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n (!$setup.map)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"button default primary add-btn-primary\",\n onClick: $setup.toCreateMap\n }, \"Add Map\"))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createElementVNode(\"button\", {\n class: \"button default outlined\",\n onClick: $setup.toEditMap\n }, \"Edit Map\"),\n _createElementVNode(\"button\", {\n class: \"button default outlined warning\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => ($setup.showConfirmDeleteModal = true))\n }, \"Delete Map\")\n ], 64))\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode($setup[\"ConfirmDeleteModal\"], {\n isOpen: $setup.showConfirmDeleteModal,\n deleteItem: 'stage map',\n onClose: _cache[1] || (_cache[1] = ($event: any) => ($setup.showConfirmDeleteModal = false)),\n onConfirm: $setup.deleteMap\n }, null, 8, [\"isOpen\"])\n ]))\n : _createCommentVNode(\"\", true),\n ($setup.availableLotsPopUpShow && $setup.isDesktop && $setup.props.role === $setup.UserRoles.CUSTOMER && !$setup.isEmbeddedDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"div\", {\n class: \"close-btn\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => ($setup.availableLotsPopUpShow = false))\n })\n ]))\n : _createCommentVNode(\"\", true),\n (!$setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", { class: \"masterplan-btn-wr\" }, [\n _createElementVNode(\"button\", {\n class: \"button-with-icon back\",\n onClick: $setup.toMasterplan\n }, \"BACK\")\n ]),\n _createElementVNode(\"div\", _hoisted_7, \"Stage \" + _toDisplayString($setup.lots[0]?.stageId.title) + \": \" + _toDisplayString($setup.props.builderView ? $setup.props.lotsByHouseDesigns.length : $setup.getAvailableLots.length) + \" lots available\", 1),\n (!$props.builderView)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, \"Zoom in / out to view. Click any lot to view more info.\"))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"svg-wrapper\", { isEmbeddedDesktop: $setup.isEmbeddedDesktop, isBuilderView: $setup.props.builderView }])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"svg-container-map\", { 'svg-map-embedded': $setup.isEmbeddedDesktop, isBuilderView: $setup.props.builderView }]),\n ref: \"svgMapEmbedded\"\n }, [\n ($setup.isEmbeddedDesktop)\n ? (_openBlock(), _createBlock($setup[\"MapSidePanel\"], {\n key: 0,\n estateId: $setup.estateId,\n isStageMap: true,\n stageId: $setup.lots[0]?.stageId._id,\n hoverLotId: $setup.hoverLotId,\n lotsByHouseDesigns: $setup.props.lotsByHouseDesigns,\n builderView: $setup.props.builderView,\n hideOptions: $setup.props.hideMapSidePanelOptions,\n onOnLotHover: $setup.onSidePanelLotHover,\n onOnLotClick: $setup.onSidePanelLotClick,\n onToMasterplan: $setup.toMasterplan,\n onOnLotBuilderHover: $setup.onLotBuilderHover,\n onOnRegister: _cache[3] || (_cache[3] = ($event: any) => (_ctx.$emit('onRegister'))),\n onOnMessage: _cache[4] || (_cache[4] = ($event: any) => (_ctx.$emit('onMessage')))\n }, null, 8, [\"estateId\", \"stageId\", \"hoverLotId\", \"lotsByHouseDesigns\", \"builderView\", \"hideOptions\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"map-elements-container\", { 'map-max-width': $setup.isEmbeddedDesktop }])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"map-elements-wr\", { isBuilderView: $setup.props.builderView }])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"map-info-block\", { 'map-info-embedded': $setup.isEmbeddedDesktop }])\n }, [\n ($setup.props.role === $setup.UserRoles.CUSTOMER && !$setup.isEmbeddedDesktop)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"button icon back-btn\",\n onClick: $setup.back\n }))\n : _createCommentVNode(\"\", true),\n false\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _hoisted_10,\n _hoisted_11,\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"status\", $setup.props.role === $setup.UserRoles.CUSTOMER ? 'light-blue' : 'blue'])\n }, _toDisplayString($setup.props.role === $setup.UserRoles.CUSTOMER ? \"Hold\" : \"Pre-Contract\"), 3),\n _createElementVNode(\"div\", _hoisted_12, _toDisplayString($setup.props.role === $setup.UserRoles.CUSTOMER ? \"Under Contract\" : \"Contract Executed\"), 1),\n _createElementVNode(\"div\", _hoisted_13, _toDisplayString($setup.props.role === $setup.UserRoles.CUSTOMER ? \"Sold\" : \"Settled\"), 1),\n ($setup.props.role !== $setup.UserRoles.CUSTOMER)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _hoisted_14,\n _hoisted_15,\n _hoisted_16\n ], 64))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"zoom-container\", [{ 'zoom-active': $props.zoom !== 1 && $setup.isDesktop }, { 'zoom-desktop-embedded': $setup.isEmbeddedDesktop }, { 'zoom-hidden': $setup.props.builderView }]])\n }, [\n _createElementVNode(\"button\", {\n class: \"button zoom-btn\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => ($setup.emits('updateZoom', 0.2)))\n }, \"+\"),\n _createElementVNode(\"button\", {\n class: \"button zoom-btn\",\n onClick: _cache[6] || (_cache[6] = ($event: any) => ($setup.emits('updateZoom', -0.2)))\n }, \"-\")\n ], 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"scroll-wrapper svg-scroll-wr\", [{ 'svg-container grab': $setup.props.zoom !== 1 }, { grab: $setup.props.zoom !== 1 }]]),\n ref: \"svgContainerMap\",\n onMousedown: $setup.startDragging,\n onMousemove: $setup.handleDragging,\n onMouseup: $setup.stopDragging\n }, [\n _createVNode($setup[\"StageSvgMap\"], {\n map: $setup.map,\n lots: $setup.lots,\n zoom: $setup.props.zoom,\n getTooltipText: $setup.getSvgTooltipText,\n getItemWrClasses: $setup.getSvgItemWrClasses,\n getItemPathClasses: $setup.getSvgItemPathClasses,\n getItemStatusPathClasses: $setup.getSvgItemStatusPathClasses,\n onOnLotHover: $setup.onLotHover,\n onOnLotLeave: $setup.onLotLeave,\n onOnLotClick: $setup.handleLotClickIfClickable\n }, null, 8, [\"map\", \"lots\", \"zoom\"])\n ], 34)\n ], 2),\n (!$setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, [\n _hoisted_18,\n _hoisted_19,\n _hoisted_20,\n _createElementVNode(\"div\", _hoisted_21, _toDisplayString($setup.props.role === $setup.UserRoles.CUSTOMER ? \"Under Contract\" : \"Contract Executed\"), 1),\n _createElementVNode(\"div\", _hoisted_22, _toDisplayString($setup.props.role === $setup.UserRoles.CUSTOMER ? \"Sold\" : \"Settled\"), 1),\n ($setup.props.role !== $setup.UserRoles.CUSTOMER)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _hoisted_23,\n _hoisted_24,\n _hoisted_25\n ], 64))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 2),\n ($setup.isEmbeddedDesktop && !$setup.props.builderView)\n ? (_openBlock(), _createBlock($setup[\"MapSideLegend\"], {\n key: 1,\n isEstateMap: false,\n role: $setup.props.role\n }, null, 8, [\"role\"]))\n : _createCommentVNode(\"\", true)\n ], 2)\n ], 2)\n ], 34))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport ConfirmDeleteModal from \"@/components/ui/modals/ConfirmDeleteModal.vue\";\n import router from \"@/router\";\n import {\n ref,\n onMounted,\n computed,\n nextTick,\n watch,\n } from \"vue\";\n import { useStore } from \"vuex\";\n import { StageMapInterface } from \"@/types/StageMapInterface\";\n import { LotMapInterface } from \"@/types/LotMapInterface\";\n import { UserRoles } from \"@/enums/UserRoles\";\n import {\n getLotCustomerMapStatusClass,\n getLotStatusClass,\n } from \"@/helpers/status\";\n import { LotStatus } from \"@/enums/LotStatus\";\n import { useIsDesktop } from \"@/features/useIsDesktop\";\n import StageNavMobile from \"@/components/StageNavMobile.vue\";\n import { StageStatus } from \"@/enums/StageStatus\";\n import { eventTracking } from \"@/helpers/googleAnalyticsEventTracking\";\n import {\n EventActionName,\n EventByAction,\n EventByCategory,\n EventLabelByName,\n } from \"@/types/EventTracking\";\n import Hammer from \"hammerjs\";\n import type HammerInput from \"hammerjs\";\n import pinchZoomHammer from \"@/helpers/estateMap/mapsZoom\";\n import MapSidePanel from \"./MapSidePanel.vue\";\n import InfoWithIcon from \"@/components/ui/InfoWithIcon.vue\";\n import MapSideLegend from \"./MapSideLegend.vue\";\n import { LotInterface } from \"@/types/LotInterface\";\n import StageSvgMap from \"@/components/maps/StageSvgMap.vue\";\n\n const mobileLayoutWidth = 680;\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'StageMap',\n props: {\n role: { type: String, default: () => UserRoles.LANDOWNER },\n viewType: { type: String, default: \"\" },\n isEmbedded: { type: Boolean },\n mapPage: { type: String, default: \"\" },\n zoom: {\n type: Number,\n default: 1,\n },\n builderView: { type: Boolean, required: false },\n actualStageQuote: { type: String, required: false, default: undefined },\n lotsByHouseDesigns: { type: Array, required: false, default: undefined },\n plansView: { type: Boolean, required: false, default: false },\n estateId: { type: String, required: false, default: undefined },\n hideMapSidePanelOptions: { type: Boolean, required: false },\n businessId: { type: String, required: false, default: undefined },\n },\n emits: [\n \"reserve\",\n \"changeView\",\n \"updateZoom\",\n \"onRegister\",\n \"onMessage\",\n \"selectLot\",\n \"changeViewMap\",\n \"onLotBuilderHover\",\n \"onMouseX\",\n \"onMouseY\",\n ],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n const store = useStore();\n \n \n const userId = router.currentRoute.value.params.userId;\n const availableLotsPopUpShow = ref(false);\n const { isDesktop } = useIsDesktop(mobileLayoutWidth);\n const estateId = computed(() => getEstateId());\n const stageId = computed(() => {\n if (props.builderView && props.actualStageQuote) {\n return props.actualStageQuote;\n }\n if (props.role === UserRoles.CUSTOMER) {\n return router.currentRoute.value.query.stageId as string;\n }\n return router.currentRoute.value.params.stageId as string;\n });\n const map = ref(null);\n const lots = ref([]);\n const showConfirmDeleteModal = ref(false);\n const getAvailableLots = computed(() => {\n return lots.value.filter(\n (value) => value.lotId.status === LotStatus.AVAILABLE\n );\n });\n\n const lotOnClick = ref(\"\");\n\n const lotSidePanelHover = ref({\n value: false,\n id: \"\",\n });\n\n const getEstateId = () => {\n if (props.estateId) {\n return props.estateId;\n } else if (props.role === UserRoles.LANDOWNER) {\n return store.state.user.selectedEstateId;\n } else {\n return router.currentRoute.value.params.estateId;\n }\n };\n\n const isEmbeddedDesktop = computed(() => isDesktop.value);\n\n const getSvgItemWrClasses = (lot: LotMapInterface) => [\n {\n \"not-clickable\":\n props.role === UserRoles.CUSTOMER &&\n lot.lotId?.status !== LotStatus.AVAILABLE,\n },\n {\n \"lot-side-panel-hover\":\n lotSidePanelHover.value?.value &&\n lotSidePanelHover.value?.id === lot.lotId?._id,\n },\n {\n \"lot-side-panel\":\n lot.lotId?.status === LotStatus.AVAILABLE && isEmbeddedDesktop,\n },\n {\n \"lot-plans-view\": props.plansView,\n },\n {\n \"not-clickable-house-design\": isNotClickableForBuilderView(lot),\n },\n ];\n\n const getSvgItemPathClasses = (lot: LotMapInterface) => [\n {\n \"selling-animation\":\n lot.lotId?.status === LotStatus.AVAILABLE &&\n !isNotClickableForBuilderView(lot),\n },\n {\n \"selling-animation-side-panel\":\n lotSidePanelHover.value.value &&\n lotSidePanelHover.value?.id === lot.lotId?._id,\n },\n { \"admin-highlight\": props.role === UserRoles.SUPER_ADMIN },\n ];\n\n const getSvgTooltipText = (lot: LotMapInterface) =>\n isNotClickableForBuilderView(lot)\n ? \"\"\n : lot.lotId.status === LotStatus.AVAILABLE && isDesktop\n ? getTooltipText(lot)\n : \"\";\n\n const getSvgItemStatusPathClasses = (lot: LotMapInterface) => [\n props.role === UserRoles.CUSTOMER\n ? getLotCustomerMapStatusClass(getClassForCustomer(lot))\n : getLotStatusClass(\n lot.lotId?.status === LotStatus.EOI\n ? LotStatus.PRE_CONTRACT\n : lot.lotId?.status\n ),\n ];\n\n const onSidePanelLotHover = (value: boolean, id: string) => {\n lotSidePanelHover.value = { value, id };\n };\n\n const onSidePanelLotClick = (lot: LotMapInterface) => {\n if (props.builderView) {\n emits(\"selectLot\", lot);\n } else {\n onLot(lot);\n }\n };\n const isNotClickableForBuilderView = (lot: LotMapInterface) => {\n return (\n props.builderView &&\n !props.lotsByHouseDesigns.some((design) => design._id === lot.lotId?._id)\n );\n };\n\n const handleLotClickIfClickable = (lot: LotMapInterface) => {\n if (!isNotClickableForBuilderView(lot)) {\n onLot(lot);\n }\n };\n\n const onLotBuilderHover = (value: boolean) => {\n emits(\"onLotBuilderHover\", value);\n };\n\n const handleMouseMove = (e: MouseEvent) => {\n emits(\"onMouseX\", e.clientX + 15);\n emits(\"onMouseY\", e.clientY + 5);\n };\n\n const hoverLotId = ref(\"\");\n\n const onLotHover = (id: string) => {\n hoverLotId.value = id;\n };\n\n const onLotLeave = () => {\n hoverLotId.value = \"\";\n };\n\n const getTooltipText = (lot: LotMapInterface) => {\n const text = `
Lot ${lot.lotId.title}\n
${lot.lotId.status.toUpperCase()}

\n

${lot.lotId.size}m2

\n

Click to view more

`;\n return text;\n };\n\n onMounted(() => {\n getMapWithLots();\n });\n\n const onStage = (stage: StageMapInterface) => {\n const embed = props.isEmbedded.toString();\n router\n .replace({\n path: router.currentRoute.value.path,\n query: { stageId: stage.stageId._id, embed },\n })\n .then(() => {\n getMapWithLots();\n });\n };\n\n const toMasterplan = () => {\n if (props.builderView) {\n emits(\"changeViewMap\");\n } else if (props.plansView) {\n router.push({ name: \"LandingPlans\" });\n } else {\n back();\n }\n };\n\n const getMapWithLots = () => {\n getMap();\n getLots().then(() => {\n const lotId = router.currentRoute.value.query.lotId;\n if (lotId) {\n const lotForModal = lots.value.find(\n (value) => value.lotId._id === lotId\n );\n if (lotForModal) {\n emits(\"reserve\", lotForModal);\n }\n }\n });\n showAvailableLotsPopUp();\n };\n\n function getMap() {\n store\n .dispatch(\"stage/getStageMap\", stageId.value)\n .then((res) => {\n map.value = res.data;\n })\n .catch((error) => {\n if (error.response?.data?.statusCode === 404) {\n map.value = \"\";\n }\n });\n }\n function getLots() {\n return store\n .dispatch(\"lot/getLotsMap\", { stageId: stageId.value })\n .then((res) => {\n lots.value = res.data;\n });\n }\n function toCreateMap() {\n router.push({\n name: \"AdminStageMapCreate\",\n params: { userId, estateId: estateId.value, stageId: stageId.value },\n });\n }\n function toEditMap() {\n router.push({\n name: \"AdminStageMapUpdate\",\n params: { userId, estateId: estateId.value, stageId: stageId.value },\n });\n }\n function deleteMap() {\n store.dispatch(\"stage/deleteStageMap\", map.value._id).then(() => {\n getMap();\n });\n }\n\n function onLot(lot: LotMapInterface) {\n trackLotClickEvent(lot);\n\n if (props.builderView) {\n emits(\"selectLot\", lot);\n return;\n }\n\n if (props.role === UserRoles.LANDOWNER) {\n router.push({\n name: \"LotActions\",\n params: {\n stageId: stageId.value,\n lotId: lot.lotId._id,\n },\n });\n return;\n }\n\n if (props.role === UserRoles.SUPER_ADMIN) {\n router.push({\n name: \"AdminLot\",\n params: {\n userId,\n estateId: estateId.value,\n stageId: stageId.value,\n lotId: lot.lotId._id,\n },\n });\n return;\n }\n\n if (\n props.role === UserRoles.CUSTOMER &&\n lot.lotId.status === LotStatus.AVAILABLE\n ) {\n emits(\"reserve\", lot);\n }\n }\n\n function back() {\n const embed = props.isEmbedded.toString();\n router.replace({\n path: router.currentRoute.value.path,\n query: { embed, businessId: props.businessId },\n });\n }\n\n const showAvailableLotsPopUp = () => {\n setTimeout(() => {\n availableLotsPopUpShow.value = true;\n }, 3000);\n };\n\n const getClassForCustomer = (lot: LotMapInterface): LotStatus => {\n if (isNotClickableForBuilderView(lot)) {\n return LotStatus.PRE_CONTRACT;\n }\n if (lot.lotId?.status === LotStatus.OFFLINE) {\n return lot.lotId?.offlineSale?.salePhase as unknown as LotStatus;\n }\n if (\n lot.lotId?.status === LotStatus.HOLD ||\n lot.lotId?.status === LotStatus.PRE_CONTRACT\n ) {\n return LotStatus.HOLD;\n }\n return lot.lotId?.status;\n };\n const trackLotClickEvent = (lot: LotMapInterface) => {\n eventTracking({\n actionsName: EventActionName.LOT_ON_CLICK,\n eventByCategory: EventByCategory.ON_CLICK,\n eventLabelByName: EventLabelByName.CLICK_LOT,\n eventByAction: EventByAction.CLICK,\n estateById: estateId.value,\n stageById: stageId.value,\n stageTitle: lot.stageId.title,\n lotById: lot.lotId._id,\n lotTitle: lot.lotId.title,\n });\n };\n\n const isDragging = ref(false);\n const svgStartPosition = ref({ x: 0, y: 0 });\n const svgStartScrollPosition = ref({ x: 0, y: 0 });\n const svgContainerMap = ref();\n\n const startDragging = (event: MouseEvent) => {\n if (props.zoom !== 1) {\n isDragging.value = true;\n svgStartPosition.value = { x: event.clientX, y: event.clientY };\n svgStartScrollPosition.value = {\n x: svgContainerMap.value.scrollLeft,\n y: svgContainerMap.value.scrollTop,\n };\n svgContainerMap.value.style.cursor = \"grabbing\";\n }\n };\n const handleDragging = (event: MouseEvent) => {\n event.preventDefault();\n if (isDragging.value) {\n const deltaX = event.clientX - svgStartPosition.value.x;\n const deltaY = event.clientY - svgStartPosition.value.y;\n svgContainerMap.value.scrollLeft =\n svgStartScrollPosition.value.x - deltaX;\n svgContainerMap.value.scrollTop = svgStartScrollPosition.value.y - deltaY;\n }\n };\n const stopDragging = () => {\n if (props.zoom !== 1) {\n svgContainerMap.value.style.cursor = \"grab\";\n } else {\n svgContainerMap.value.style.cursor = \"default\";\n }\n\n isDragging.value = false;\n };\n\n onMounted(() => {\n const mc = new Hammer(svgContainerMap.value);\n\n mc.get(\"pinch\").set({ enable: true });\n mc.on(\"pinch\", (event: HammerInput) => {\n pinchZoomHammer(event.scale, (delta) => emits(\"updateZoom\", delta));\n });\n\n mc.on(\"panstart\", (event: HammerInput) => {\n svgStartPosition.value = { x: event.center.x, y: event.center.y };\n svgStartScrollPosition.value = {\n x: svgContainerMap.value.scrollLeft,\n y: svgContainerMap.value.scrollTop,\n };\n });\n\n mc.on(\"pan\", (event: HammerInput) => {\n const deltaX = event.center.x - svgStartPosition.value.x;\n const deltaY = event.center.y - svgStartPosition.value.y;\n\n svgContainerMap.value.scrollLeft =\n svgStartScrollPosition.value.x - deltaX;\n svgContainerMap.value.scrollTop = svgStartScrollPosition.value.y - deltaY;\n });\n });\n\nconst __returned__ = { store, props, emits, userId, mobileLayoutWidth, availableLotsPopUpShow, isDesktop, estateId, stageId, map, lots, showConfirmDeleteModal, getAvailableLots, lotOnClick, lotSidePanelHover, getEstateId, isEmbeddedDesktop, getSvgItemWrClasses, getSvgItemPathClasses, getSvgTooltipText, getSvgItemStatusPathClasses, onSidePanelLotHover, onSidePanelLotClick, isNotClickableForBuilderView, handleLotClickIfClickable, onLotBuilderHover, handleMouseMove, hoverLotId, onLotHover, onLotLeave, getTooltipText, onStage, toMasterplan, getMapWithLots, getMap, getLots, toCreateMap, toEditMap, deleteMap, onLot, back, showAvailableLotsPopUp, getClassForCustomer, trackLotClickEvent, isDragging, svgStartPosition, svgStartScrollPosition, svgContainerMap, startDragging, handleDragging, stopDragging, ConfirmDeleteModal, get router() { return router }, ref, onMounted, computed, nextTick, watch, get useStore() { return useStore }, get StageMapInterface() { return StageMapInterface }, get LotMapInterface() { return LotMapInterface }, get UserRoles() { return UserRoles }, get getLotCustomerMapStatusClass() { return getLotCustomerMapStatusClass }, get getLotStatusClass() { return getLotStatusClass }, get LotStatus() { return LotStatus }, get useIsDesktop() { return useIsDesktop }, StageNavMobile, get StageStatus() { return StageStatus }, get eventTracking() { return eventTracking }, get EventActionName() { return EventActionName }, get EventByAction() { return EventByAction }, get EventByCategory() { return EventByCategory }, get EventLabelByName() { return EventLabelByName }, get Hammer() { return Hammer }, get pinchZoomHammer() { return pinchZoomHammer }, MapSidePanel, InfoWithIcon, MapSideLegend, get LotInterface() { return LotInterface }, StageSvgMap }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./StageMap.vue?vue&type=template&id=ddcdb672&scoped=true&ts=true&lang=pug\"\nimport script from \"./StageMap.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./StageMap.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./StageMap.vue?vue&type=style&index=0&id=ddcdb672&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ddcdb672\"]])\n\nexport default __exports__","enum KlaviyoErrorEnum {\n DUPLICATE_PROFILE = \"duplicate_profile\",\n}\n\nexport default KlaviyoErrorEnum;\n","import dayjs from \"dayjs\";\n\nexport function formatDate(date: string, format = \"D MMM YYYY\"): string {\n return date !== undefined && dayjs(date).isValid()\n ? dayjs(date).format(format)\n : \"-\";\n}\n\nexport function formatDateMonthYear(\n date: string | Date,\n format = \"MMM YYYY\"\n): string {\n return dayjs(date).format(format);\n}\nexport function formatDateMonthDayYear(date: Date): string {\n return dayjs(date).format(\"MMM D, YYYY\");\n}\nexport function formatDateDayMonthYear(date: Date): string {\n return dayjs(date).format(\"D MMM YYYY\");\n}\n\nexport function formatDateCalendar(date: Date): string {\n return dayjs(date).format(\"YYYY/M/D\");\n}\nexport function formatDateDayMonthYearWithTime(date: Date): string {\n return dayjs(date).format(\"D MMM YYYY, h:mm A\");\n}\n\nexport function formatDateYYYYMMDD(date: string | Date): string {\n return dayjs(date).format(\"YYYY-MM-DD\");\n}\n\nexport function formatDateToday(date: string | Date): string {\n return dayjs(date).format(\"DD MMMM YYYY\");\n}\n","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./MapSidePanel.vue?vue&type=style&index=0&id=5ce7c444&lang=scss&scoped=true\"","import { createElementVNode as _createElementVNode, vModelText as _vModelText, withDirectives as _withDirectives, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-448e8d90\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"modal-header\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"modal-title\" }, \"Send us a message\"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"line\" })\n], -1))\nconst _hoisted_2 = { class: \"modal-body scroll-wrapper\" }\nconst _hoisted_3 = { class: \"input-row form-group\" }\nconst _hoisted_4 = { class: \"input-wr\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label bold\" }, \"First Name\", -1))\nconst _hoisted_6 = {\n key: 0,\n class: \"error\"\n}\nconst _hoisted_7 = { class: \"input-wr\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label bold\" }, \"Last Name\", -1))\nconst _hoisted_9 = {\n key: 0,\n class: \"error\"\n}\nconst _hoisted_10 = { class: \"input-row form-group\" }\nconst _hoisted_11 = { class: \"input-wr\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label bold\" }, \"Phone\", -1))\nconst _hoisted_13 = {\n key: 0,\n class: \"error\"\n}\nconst _hoisted_14 = { class: \"input-wr\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label bold\" }, \"Email\", -1))\nconst _hoisted_16 = {\n key: 0,\n class: \"error\"\n}\nconst _hoisted_17 = { class: \"select-options-wr\" }\nconst _hoisted_18 = { class: \"options-wr\" }\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label bold\" }, \"Message\", -1))\nconst _hoisted_20 = { class: \"controls\" }\nconst _hoisted_21 = [\"disabled\"]\nconst _hoisted_22 = {\n key: 1,\n class: \"spinner spinner-small\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createBlock($setup[\"Modal\"], {\n isOpen: $setup.props.isOpen,\n onClose: $setup.onClose,\n classes: ['select-builder-quote-modal']\n }, {\n content: _withCtx(() => [\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _withDirectives(_createElementVNode(\"input\", {\n class: \"input-default\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => (($setup.form.firstName) = $event)),\n placeholder: \"First Name\"\n }, null, 512), [\n [_vModelText, $setup.form.firstName]\n ]),\n ($setup.v$.firstName.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, _toDisplayString($setup.v$.firstName.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _withDirectives(_createElementVNode(\"input\", {\n class: \"input-default\",\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (($setup.form.lastName) = $event)),\n placeholder: \"Last Name\"\n }, null, 512), [\n [_vModelText, $setup.form.lastName]\n ]),\n ($setup.v$.lastName.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_9, _toDisplayString($setup.v$.lastName.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createVNode($setup[\"Cleave\"], {\n class: \"input-default\",\n placeholder: \"0412 345 678\",\n modelValue: $setup.form.phone,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (($setup.form.phone) = $event)),\n options: $setup.phoneNumberOption($setup.form.phone)\n }, null, 8, [\"modelValue\", \"options\"]),\n ($setup.v$.phone.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_13, _toDisplayString($setup.v$.phone.$errors[0]?.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n _withDirectives(_createElementVNode(\"input\", {\n class: \"input-default\",\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (($setup.form.email) = $event)),\n type: \"email\",\n placeholder: \"Email\"\n }, null, 512), [\n [_vModelText, $setup.form.email]\n ]),\n ($setup.v$.email.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_16, _toDisplayString($setup.v$.email.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, [\n _hoisted_19,\n _withDirectives(_createElementVNode(\"textarea\", {\n class: \"input-default scroll-wrapper\",\n placeholder: \"Message\",\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (($setup.form.message) = $event))\n }, null, 512), [\n [_vModelText, $setup.form.message]\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n (!$setup.isLoading)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"button default primary large long\",\n disabled: $setup.isLoading,\n onClick: $setup.submit\n }, \"Send message\", 8, _hoisted_21))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_22)),\n _createElementVNode(\"button\", {\n class: \"button-cancel-border default large\",\n onClick: $setup.onClose\n }, \"Cancel\")\n ])\n ]),\n _: 1\n }, 8, [\"isOpen\"]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport Modal from \"../Modal.vue\";\n import { computed, reactive, ref, watch, watchEffect } from \"vue\";\n import CheckboxInput from \"../input/CheckboxInput.vue\";\n import useVuelidate from \"@vuelidate/core\";\n import { required, email, helpers } from \"@vuelidate/validators\";\n import Cleave from \"vue-cleave-component\";\n import { phoneNumberOption } from \"@/helpers/cleavePlugin\";\n import { validPhoneNumber } from \"@/helpers/validation\";\n import { resetVuelidateErrors } from \"@/helpers/vuelidate\";\n import store from \"@/store\";\n import LeadSourceEnum from \"@/enums/LeadSourceEnum\";\n import { POSITION, useToast } from \"vue-toastification\";\n import DropDown from \"@/components/ui/dropdown/DropDown.vue\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BuilderRequestMessageSendModal',\n props: {\n isOpen: {\n type: Boolean,\n required: true,\n },\n lot: {\n type: Object,\n required: true,\n },\n },\n emits: [\"close\", \"send\"],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n const toast = useToast();\n\n \n\n \n\n const rules = {\n firstName: { required },\n lastName: { required },\n email: { required, email },\n phone: {\n required,\n validPhoneNumber: helpers.withMessage(\n \"Value must be valid phone number\",\n validPhoneNumber\n ),\n },\n message: { optional: true },\n };\n\n const formFields = {\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phone: \"\",\n message: \"\",\n isRequestMessageBorrowCalculator: true,\n };\n const form = reactive(Object.assign({}, formFields));\n const v$ = useVuelidate(rules, form);\n const isLoading = ref(false);\n\n const onClose = () => {\n Object.assign(form, formFields);\n resetVuelidateErrors(v$);\n emits(\"close\");\n };\n async function submit() {\n const isValid = await validateForm();\n if (!isValid) {\n return;\n }\n try {\n const { email, ...rest } = form;\n const data = {\n email: email.toLowerCase(),\n ...rest,\n };\n if (props.lot) {\n data.lotTitle = props.lot.lotId.title;\n }\n store.dispatch(\"estate/sendContactEmail\", {\n estateId: props.lot?.lotId?.estateId.toString(),\n data,\n });\n emits(\"send\");\n onClose();\n } catch (error) {\n console.log(error);\n toast.error(\"Error on sending contact form\", {\n position: POSITION.TOP_LEFT,\n });\n } finally {\n isLoading.value = false;\n }\n }\n\n const validateForm = async () => {\n const isValid = await v$.value.$validate();\n v$.value.$touch();\n return isValid;\n };\n\nconst __returned__ = { toast, emits, props, rules, formFields, form, v$, isLoading, onClose, submit, validateForm, Modal, computed, reactive, ref, watch, watchEffect, CheckboxInput, get useVuelidate() { return useVuelidate }, get required() { return required }, get email() { return email }, get helpers() { return helpers }, get Cleave() { return Cleave }, get phoneNumberOption() { return phoneNumberOption }, get validPhoneNumber() { return validPhoneNumber }, get resetVuelidateErrors() { return resetVuelidateErrors }, get store() { return store }, get LeadSourceEnum() { return LeadSourceEnum }, get POSITION() { return POSITION }, get useToast() { return useToast }, DropDown }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./BuilderRequestMessageSendModal.vue?vue&type=template&id=448e8d90&scoped=true&ts=true&lang=pug\"\nimport script from \"./BuilderRequestMessageSendModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BuilderRequestMessageSendModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BuilderRequestMessageSendModal.vue?vue&type=style&index=0&id=448e8d90&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-448e8d90\"]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BuilderLotsMapModal.vue?vue&type=style&index=0&id=290cc7dc&lang=scss\"","import { createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/icon-filter.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-ef4d251e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"borrow-house-calculator-container\"\n}\nconst _hoisted_2 = {\n key: 0,\n class: \"content-wr\"\n}\nconst _hoisted_3 = { class: \"house-details-wr\" }\nconst _hoisted_4 = { class: \"content-builder-house\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"builder-wr\"\n}\nconst _hoisted_6 = {\n key: 1,\n class: \"house-wr\"\n}\nconst _hoisted_7 = { class: \"content-images\" }\nconst _hoisted_8 = { class: \"land-package-wr\" }\nconst _hoisted_9 = {\n key: 1,\n class: \"content-floorplan-mobile\"\n}\nconst _hoisted_10 = {\n key: 2,\n class: \"content-compare\"\n}\nconst _hoisted_11 = { class: \"text-budget\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"filter-svg\",\n src: _imports_0\n}, null, -1))\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-filter\" }, \"Filters\", -1))\nconst _hoisted_14 = [\n _hoisted_12,\n _hoisted_13\n]\nconst _hoisted_15 = {\n key: 1,\n class: \"result-filter\"\n}\nconst _hoisted_16 = {\n key: 1,\n class: \"spinner\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (!$setup.loading && $setup.houseInfo && $setup.estateInfo)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode($setup[\"BuilderHouseBorrowHeaderMobile\"], {\n estate: $setup.estateInfo,\n onCalculate: $setup.onViewCalculator\n }, null, 8, [\"estate\"]),\n ($setup.houseInfo)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n ($setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createVNode($setup[\"BuilderLogo\"], {\n builderId: $setup.houseInfo.builderId,\n builderData: $setup.builderInfo\n }, null, 8, [\"builderId\", \"builderData\"])\n ]))\n : _createCommentVNode(\"\", true),\n ($setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode($setup[\"HouseNameAndFeatures\"], { houseInfo: $setup.houseInfo }, null, 8, [\"houseInfo\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode($setup[\"HouseAndFloorplanImage\"], {\n houseInfo: $setup.houseInfo,\n quote: $setup.quoteInfo,\n selectedFacade: $setup.selectedFacade,\n onUpdateSelectedFacade: $setup.onUpdateSelectedFacade\n }, null, 8, [\"houseInfo\", \"quote\", \"selectedFacade\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode($setup[\"HouseAndLotDetails\"], {\n houseInfo: $setup.houseInfo,\n lotSelected: $setup.deleteLot ? null : $setup.lotSelected,\n estateInfo: $setup.estateInfo,\n quote: $setup.quoteInfo,\n builder: $setup.builderInfo,\n selectedFacade: $setup.selectedFacade,\n onUpdateLotSelected: _cache[0] || (_cache[0] = ($event: any) => ($setup.lotSelected = $event))\n }, null, 8, [\"houseInfo\", \"lotSelected\", \"estateInfo\", \"quote\", \"builder\", \"selectedFacade\"])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (!$setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createVNode($setup[\"FloorplanAndInclusionsMobile\"], {\n houseInfo: $setup.houseInfo,\n \"onUpdate:selectedFacade\": $setup.onUpdateSelectedFacade\n }, null, 8, [\"houseInfo\"])\n ]))\n : _createCommentVNode(\"\", true),\n ($setup.houseInfo)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, _toDisplayString($setup.isDesktop ? \"Compare other home designs:\" : \"Compare other home designs\"), 1),\n (!$setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"button-filter\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => ($setup.openModalFilter()))\n }, _hoisted_14))\n : _createCommentVNode(\"\", true),\n (!$setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_15, _toDisplayString($setup.houses?.length) + \" Results:\", 1))\n : _createCommentVNode(\"\", true),\n ($setup.isDesktop)\n ? (_openBlock(), _createBlock($setup[\"FilterHouses\"], {\n key: 2,\n result: $setup.resultForFilter,\n lotSelected: $setup.lotSelected,\n quote: $setup.quoteInfo,\n houseDetailsView: true,\n hasToLoadNextBatch: $setup.hasToLoadNextBatch,\n onUpdateHousesPagination: $setup.onUpdateHousesPagination,\n onHousesByFilter: $setup.housesByFilter\n }, null, 8, [\"result\", \"lotSelected\", \"quote\", \"hasToLoadNextBatch\"]))\n : _createCommentVNode(\"\", true),\n _createVNode($setup[\"ListHouses\"], {\n houses: $setup.houses,\n estate: $setup.estateInfo,\n quote: $setup.quoteInfo,\n result: $setup.resultForFilter,\n houseDetailsView: true,\n nextBatch: $setup.nextHousesBatch,\n onOnClickHouse: $setup.refreshHouse,\n onLoadNextBatch: $setup.onLoadNextBatch\n }, null, 8, [\"houses\", \"estate\", \"quote\", \"result\", \"nextBatch\"])\n ]))\n : _createCommentVNode(\"\", true),\n (!$setup.isDesktop)\n ? (_openBlock(), _createBlock($setup[\"HouseQuestion\"], { key: 3 }))\n : _createCommentVNode(\"\", true)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_16)),\n (!$setup.isDesktop)\n ? (_openBlock(), _createBlock($setup[\"BuilderFiltersHousesModal\"], {\n key: 2,\n isOpen: $setup.isModalFiltersHousesHidden ? true : $setup.isOpenedModalFiltersHouses,\n result: $setup.resultForFilter,\n lotSelected: $setup.lotSelected,\n quote: $setup.quoteInfo,\n houseDetailsView: true,\n isModalFiltersHousesHidden: $setup.isModalFiltersHousesHidden,\n hasToLoadNextBatch: $setup.hasToLoadNextBatch,\n onHousesByFilter: $setup.housesByFilter,\n onClose: _cache[2] || (_cache[2] = ($event: any) => ($setup.isModalFiltersHousesHidden = true)),\n onUpdateHousesPagination: $setup.onUpdateHousesPagination\n }, null, 8, [\"isOpen\", \"result\", \"lotSelected\", \"quote\", \"isModalFiltersHousesHidden\", \"hasToLoadNextBatch\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { computed, onMounted, onUnmounted, ref, watch } from \"vue\";\n import router from \"@/router\";\n import store from \"@/store\";\n import {\n changePrimaryColor,\n resetPrimaryColor,\n } from \"@/helpers/customer/changePrimaryColor\";\n import { POSITION, useToast } from \"vue-toastification\";\n import { EstateInterface } from \"@/types/EstateInterface\";\n import DropDown from \"@/components/ui/dropdown/DropDown.vue\";\n import {\n HouseDesignInterface,\n HouseLotsBuilderPagination,\n HouseWithLotsAndBuilder,\n } from \"@/types/HouseDesignInterface\";\n import BuilderLogo from \"@/components/builder/budget-houses/house-details/BuilderLogo.vue\";\n import HouseNameAndFeatures from \"@/components/builder/budget-houses/house-details/HouseNameAndFeatures.vue\";\n import HouseAndFloorplanImage from \"@/components/builder/budget-houses/house-details/HouseAndFloorplanImage.vue\";\n import HouseBrowseInteriors from \"@/components/builder/budget-houses/house-details/HouseBrowseInteriors.vue\";\n import HouseAndLotDetails from \"@/components/builder/budget-houses/house-details/HouseAndLotDetails.vue\";\n import { BuilderQuoteWithDetails } from \"@/types/BuilderQuote\";\n import FilterHouses from \"@/components/builder/budget-houses/FilterHouses.vue\";\n import ListHouses from \"@/components/builder/budget-houses/ListHouses.vue\";\n import { LotInterface } from \"@/types/LotInterface\";\n import { formatPrice } from \"@/helpers/transformation/price\";\n import { BuilderInterface } from \"@/types/BuilderInterface\";\n import { useIsDesktop } from \"@/features/useIsDesktop\";\n import BuilderHouseBorrowHeaderMobile from \"@/components/builder/budget-houses/house-details/BuilderHouseBorrowHeaderMobile.vue\";\n import FloorplanAndInclusionsMobile from \"@/components/builder/budget-houses/house-details/FloorplanAndInclusionsMobile.vue\";\n import BuilderFiltersHousesModal from \"@/components/ui/modals/BuilderFiltersHousesModal.vue\";\n import HouseQuestion from \"@/components/builder/budget-houses/house-details/HouseQuestion.vue\";\n import { RouteParamsGeneric } from \"vue-router\";\n import { FacadeInterface } from \"@/types/FacadeInterface\";\n\n const smallLayoutWidth = 990;\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BuilderHouseBorrowCalculator',\n setup(__props, { expose: __expose }) {\n __expose();\n\n const estateId = ref(\n router.currentRoute.value.params.estateId as string\n );\n const houseId = ref(\n router.currentRoute.value.params.houseId as string\n );\n const quoteId = ref(\n router.currentRoute.value.params.quoteId as string\n );\n const loanAmount = ref(\n router.currentRoute.value.params.loanAmount as string\n );\n const estateInfo = ref();\n const houseInfo = ref();\n const quoteInfo = ref();\n const builderInfo = ref();\n const toast = useToast();\n const loading = ref(true);\n const showFloorplan = ref(false);\n const showInterior = ref(false);\n const houses = ref();\n const lotSelected = ref();\n const deleteLot = ref(false);\n const imageSelected = ref(null);\n const isOpenedModalFiltersHouses = ref(false);\n const isModalFiltersHousesHidden = ref(true);\n const nextHousesBatch = ref();\n const hasToLoadNextBatch = ref(false);\n const selectedFacade = ref(null);\n\n const { isDesktop } = useIsDesktop(smallLayoutWidth);\n\n const resultForFilter = computed(() => ({\n LoanAmountString: formatPrice(loanAmount.value),\n }));\n\n const onUpdateSelectedFacade = (facade: FacadeInterface) => {\n selectedFacade.value = facade;\n };\n\n const onUpdateHousesPagination = (housesPage: HouseLotsBuilderPagination) => {\n hasToLoadNextBatch.value = false;\n nextHousesBatch.value = housesPage;\n };\n\n const onLoadNextBatch = () => {\n hasToLoadNextBatch.value = true;\n };\n\n const getHouseById = () => {\n if (houseId.value) {\n store\n .dispatch(\"builder/getHouseById\", houseId.value.toString())\n .then((res) => {\n if (res.data) {\n houseInfo.value = res.data;\n }\n })\n .then(() => {\n getBuilderById();\n })\n .catch(() => {\n toast.error(\"Something went wrong\", {\n position: POSITION.TOP_LEFT,\n });\n })\n .finally(() => {\n loading.value = false;\n });\n }\n };\n\n const getQuoteWithData = () => {\n store\n .dispatch(\"builder/getQuoteWithDetails\", quoteId.value)\n .then((res) => {\n quoteInfo.value = res.data;\n estateInfo.value = quoteInfo.value?.estate;\n lotSelected.value = quoteInfo.value?.lot;\n houseInfo.value = quoteInfo.value?.house;\n builderInfo.value = quoteInfo.value?.builder;\n })\n .catch(() => {\n toast.error(\"Something went wrong\", {\n position: POSITION.TOP_LEFT,\n });\n })\n .finally(() => {\n loading.value = false;\n });\n };\n\n const getLot = async (id: string) => {\n try {\n const res = await store.dispatch(\"lot/getOpenLot\", id);\n if (res.data) {\n lotSelected.value = res.data;\n }\n } catch (error) {\n toast.error(\"An error occurred while getting the lot\");\n }\n };\n\n const getBuilderById = () => {\n if (houseInfo.value) {\n store\n .dispatch(\"builder/getBuilderById\", houseInfo.value.builderId)\n .then((res) => {\n builderInfo.value = res.data;\n })\n .catch((err) => {\n console.error(\n \"Error fetching builder by id in BuilderHouseBorrowCalculator.vue\",\n err\n );\n toast.error(\"Error fetching builder by id\", {\n position: POSITION.TOP_LEFT,\n });\n });\n }\n };\n\n const onViewCalculator = () => {\n router.push({\n name: \"BuilderBorrowCalculator\",\n params: {\n estateId: estateId.value,\n quoteId: quoteId.value,\n },\n });\n };\n\n const housesByFilter = (housesData: HouseWithLotsAndBuilder[]) => {\n houses.value = housesData;\n };\n\n const openModalFilter = () => {\n isOpenedModalFiltersHouses.value = true;\n isModalFiltersHousesHidden.value = false;\n };\n\n const refreshLot = async (lotId?: string) => {\n if (lotId) {\n deleteLot.value = false;\n await getLot(lotId);\n }\n };\n\n const refreshHouse = async (lotId?: string) => {\n loading.value = true;\n refreshHouseLocalStorage();\n await refreshLot(lotId);\n };\n\n const refreshHouseLocalStorage = () => {\n const storedDeleteLot = localStorage.getItem(\"deleteLot\");\n if (storedDeleteLot) {\n localStorage.removeItem(\"deleteLot\");\n }\n const newStoredDeleteLot = localStorage.getItem(\"deleteLotStorage\");\n if (newStoredDeleteLot === \"true\") {\n deleteLot.value = true;\n }\n const savedFilterFields = localStorage.getItem(\"filterFields\");\n if (savedFilterFields) {\n store.commit(\n \"borrowCalculator/updateFilter\",\n JSON.parse(savedFilterFields)\n );\n }\n };\n\n onMounted(() => {\n getQuoteWithData();\n });\n\n onUnmounted(() => {\n resetPrimaryColor();\n localStorage.removeItem(\"deleteLotStorage\");\n localStorage.removeItem(\"filterFields\");\n });\n\n const updateHouseIfNewParams = (\n newParams: RouteParamsGeneric,\n oldParams: RouteParamsGeneric | undefined\n ) => {\n if (newParams?.houseId !== oldParams?.houseId) {\n houseId.value = newParams.houseId as string;\n getHouseById();\n }\n };\n\n const updateLoanAmountIfNewParams = (\n newParams: RouteParamsGeneric,\n oldParams: RouteParamsGeneric | undefined\n ) => {\n if (newParams.loanAmount !== oldParams?.loanAmount) {\n loanAmount.value = newParams.loanAmount as string;\n }\n };\n\n watch(\n () => router.currentRoute.value.params,\n (newParams, oldParams) => {\n if (!quoteInfo.value) return;\n\n updateHouseIfNewParams(newParams, oldParams);\n updateLoanAmountIfNewParams(newParams, oldParams);\n },\n { immediate: true }\n );\n\n watch(\n () => estateInfo.value,\n () => {\n if (estateInfo.value) {\n changePrimaryColor(estateInfo.value.iconColor);\n }\n }\n );\n\nconst __returned__ = { estateId, houseId, quoteId, loanAmount, estateInfo, houseInfo, quoteInfo, builderInfo, toast, loading, showFloorplan, showInterior, houses, lotSelected, deleteLot, imageSelected, isOpenedModalFiltersHouses, isModalFiltersHousesHidden, nextHousesBatch, hasToLoadNextBatch, selectedFacade, smallLayoutWidth, isDesktop, resultForFilter, onUpdateSelectedFacade, onUpdateHousesPagination, onLoadNextBatch, getHouseById, getQuoteWithData, getLot, getBuilderById, onViewCalculator, housesByFilter, openModalFilter, refreshLot, refreshHouse, refreshHouseLocalStorage, updateHouseIfNewParams, updateLoanAmountIfNewParams, computed, onMounted, onUnmounted, ref, watch, get router() { return router }, get store() { return store }, get changePrimaryColor() { return changePrimaryColor }, get resetPrimaryColor() { return resetPrimaryColor }, get POSITION() { return POSITION }, get useToast() { return useToast }, get EstateInterface() { return EstateInterface }, DropDown, get HouseDesignInterface() { return HouseDesignInterface }, get HouseLotsBuilderPagination() { return HouseLotsBuilderPagination }, get HouseWithLotsAndBuilder() { return HouseWithLotsAndBuilder }, BuilderLogo, HouseNameAndFeatures, HouseAndFloorplanImage, HouseBrowseInteriors, HouseAndLotDetails, get BuilderQuoteWithDetails() { return BuilderQuoteWithDetails }, FilterHouses, ListHouses, get LotInterface() { return LotInterface }, get formatPrice() { return formatPrice }, get BuilderInterface() { return BuilderInterface }, get useIsDesktop() { return useIsDesktop }, BuilderHouseBorrowHeaderMobile, FloorplanAndInclusionsMobile, BuilderFiltersHousesModal, HouseQuestion, get RouteParamsGeneric() { return RouteParamsGeneric }, get FacadeInterface() { return FacadeInterface } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./BuilderHouseBorrowCalculator.vue?vue&type=template&id=ef4d251e&scoped=true&ts=true&lang=pug\"\nimport script from \"./BuilderHouseBorrowCalculator.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BuilderHouseBorrowCalculator.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BuilderHouseBorrowCalculator.vue?vue&type=style&index=0&id=ef4d251e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ef4d251e\"]])\n\nexport default __exports__","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./LotLifecycle.vue?vue&type=style&index=0&id=27aeb206&lang=scss&scoped=true\"","export enum BuilderToggleDropdown {\n DIMENSIONS = \"dimensions\",\n INCLUSIONS = \"inclusions\",\n FLOORPLAN = \"floorplan\",\n FACADE = \"facade\",\n}\n","import { Ref } from \"vue\";\ninterface ReturnInterface {\n onTouchstart: (event: TouchEvent) => void;\n onTouchMove: (event: TouchEvent) => void;\n onTouchEnd: (event: TouchEvent) => void;\n onTouchCancel: () => void;\n}\nexport const useScrollDragMobile = (\n elementRef: Ref\n): ReturnInterface => {\n let isDown = false;\n let startX = 0;\n let startY = 0;\n let scrollLeft = 0;\n let scrollTop = 0;\n const onTouchstart = ({ touches }: TouchEvent) => {\n if (!elementRef.value) return;\n\n const touch = touches[0];\n const rect = elementRef.value.getBoundingClientRect();\n\n isDown = true;\n startX = touch.pageX - rect.left;\n startY = touch.pageY - rect.top;\n scrollLeft = elementRef.value.scrollLeft;\n scrollTop = elementRef.value.scrollTop;\n };\n\n const onTouchEnd = ({ changedTouches }: TouchEvent) => {\n if (!elementRef.value) return;\n\n isDown = false;\n const touch = changedTouches[0];\n const clickedElement = document.elementFromPoint(\n touch.clientX,\n touch.clientY\n ) as HTMLElement;\n\n if (clickedElement) {\n clickedElement.click();\n }\n };\n\n const onTouchCancel = () => {\n isDown = false;\n };\n\n const onTouchMove = ({ touches }: TouchEvent) => {\n if (!isDown || !elementRef.value) return;\n\n const { pageX, pageY } = touches[0];\n const { left, top } = elementRef.value.getBoundingClientRect();\n\n const x = pageX - left;\n const y = pageY - top;\n\n const walkX = (x - startX) * 1;\n const walkY = (y - startY) * 1;\n\n elementRef.value.scrollLeft = scrollLeft - walkX;\n elementRef.value.scrollTop = scrollTop - walkY;\n };\n return {\n onTouchstart,\n onTouchMove,\n onTouchEnd,\n onTouchCancel,\n };\n};\n","import { EventTracking } from \"@/types/EventTracking\";\nimport { useGtag } from \"vue-gtag-next\";\n\nconst { event } = useGtag();\nexport const eventTracking = (data: EventTracking): void => {\n const {\n actionsName,\n eventByCategory,\n eventLabelByName,\n eventByAction,\n estateById = null,\n stageById = null,\n stageTitle = null,\n lotById = null,\n lotTitle = null,\n houseDesignId = null,\n houseDesignName = null,\n } = data;\n\n event(actionsName, {\n event_category: eventByCategory,\n event_label: eventLabelByName,\n value: 1,\n event_action: eventByAction,\n estate_id: estateById,\n stage_id: stageById,\n stage_title: stageTitle,\n lot_id: lotById,\n lot_title: lotTitle,\n house_design_id: houseDesignId,\n house_design_name: houseDesignName,\n });\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./SuccessRequestReserveModal.vue?vue&type=style&index=0&id=7c35f192&lang=scss&scoped=true\"","import { AxiosError } from \"axios\";\nimport { useToast } from \"vue-toastification\";\nconst toast = useToast();\n\nexport function toastError(error: AxiosError): void {\n const message = error?.response?.data?.message;\n toast.error(message || \"Something went wrong\");\n}\n","var isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n if (isObject(options) && 'cause' in options) {\n createNonEnumerableProperty(O, 'cause', options.cause);\n }\n};\n","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BuilderHouseBorrowCalculator.vue?vue&type=style&index=0&id=ef4d251e&lang=scss&scoped=true\"","var defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (Target, Source, key) {\n key in Target || defineProperty(Target, key, {\n configurable: true,\n get: function () { return Source[key]; },\n set: function (it) { Source[key] = it; }\n });\n};\n","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, normalizeClass as _normalizeClass, withCtx as _withCtx, createVNode as _createVNode, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/icon-question-gray.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-d6ffafc4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"spinner\"\n}\nconst _hoisted_2 = {\n key: 1,\n class: \"filter-container\"\n}\nconst _hoisted_3 = { class: \"build-budget-wr\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-build\" }, \"Build Budget\", -1))\nconst _hoisted_5 = {\n class: \"dropdown-button input-dropdown option-label price\",\n type: \"button\"\n}\nconst _hoisted_6 = [\"onClick\"]\nconst _hoisted_7 = { class: \"text-recommended\" }\nconst _hoisted_8 = {\n key: 0,\n class: \"price-recommended\"\n}\nconst _hoisted_9 = {\n key: 2,\n class: \"tooltip\"\n}\nconst _hoisted_10 = {\n key: 1,\n class: \"line\"\n}\nconst _hoisted_11 = { class: \"bedrooms-wr\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-bedrooms\" }, \"Bedrooms\", -1))\nconst _hoisted_13 = {\n class: \"dropdown-button input-dropdown option-label\",\n type: \"button\"\n}\nconst _hoisted_14 = [\"onClick\"]\nconst _hoisted_15 = { class: \"bathrooms-wr\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-bathrooms\" }, \"Bathrooms\", -1))\nconst _hoisted_17 = {\n class: \"dropdown-button input-dropdown option-label\",\n type: \"button\"\n}\nconst _hoisted_18 = [\"onClick\"]\nconst _hoisted_19 = { class: \"storeys-wr\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-storeys\" }, \"Storeys\", -1))\nconst _hoisted_21 = {\n class: \"dropdown-button input-dropdown option-label\",\n type: \"button\"\n}\nconst _hoisted_22 = [\"onClick\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n ($setup.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createVNode($setup[\"DropDown\"], { class: \"dropdown-container\" }, {\n control: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_5, _toDisplayString($setup.filtersGlobal.budget), 1)\n ]),\n dropdown: _withCtx(() => [\n _createElementVNode(\"ul\", null, [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList($setup.optionsBuildBudgetPrice, (buildBudgetPrice) => {\n return _createElementVNode(\"li\", {\n key: buildBudgetPrice,\n onClick: ($event: any) => ($setup.selectBudget(buildBudgetPrice)),\n class: _normalizeClass({ 'dropdown__item-active': buildBudgetPrice === $setup.filtersGlobal.budget })\n }, _toDisplayString(buildBudgetPrice), 11, _hoisted_6)\n }), 64))\n ])\n ]),\n _: 1\n })\n ]),\n false\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"recommended-build-budget-wr\", { spacing: $setup.props.houseDetailsView, 'box-mobile': $setup.props.isDesignModal }])\n }, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createTextVNode(_toDisplayString(!$setup.props.houseDetailsView ? \"Recommended Build Budget\" : \"Need help calculating your budget?\"), 1),\n (!$setup.props.houseDetailsView)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"icon-question\",\n src: _imports_0,\n onClick: _cache[0] || (_cache[0] = ($event: any) => ($setup.openHelpModal()))\n }))\n : _createCommentVNode(\"\", true)\n ]),\n (!$setup.props.houseDetailsView)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, \"$\" + _toDisplayString($setup.lowerBudgetLimit) + \" - $\" + _toDisplayString($setup.upperBudgetLimit), 1))\n : (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: \"button default primary recommended\",\n onClick: $setup.onHowMuchYouCouldBorrow\n }, \"Find out how much you could borrow\")),\n (!$setup.props.houseDetailsView)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, \"This recommendation is calculated as a percentage of your overall budget above.\"))\n : _createCommentVNode(\"\", true)\n ], 2))\n : _createCommentVNode(\"\", true),\n ($setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createVNode($setup[\"DropDown\"], { class: \"dropdown-container\" }, {\n control: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_13, _toDisplayString($setup.filtersGlobal.bedrooms), 1)\n ]),\n dropdown: _withCtx(() => [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.optionsBedrooms, (bedrooms) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: bedrooms,\n onClick: ($event: any) => ($setup.selectBedrooms(bedrooms)),\n class: _normalizeClass({ 'dropdown__item-active': bedrooms === $setup.filtersGlobal.bedrooms })\n }, _toDisplayString(bedrooms), 11, _hoisted_14))\n }), 128))\n ])\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _hoisted_16,\n _createVNode($setup[\"DropDown\"], { class: \"dropdown-container\" }, {\n control: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_17, _toDisplayString($setup.filtersGlobal.bathrooms), 1)\n ]),\n dropdown: _withCtx(() => [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.optionsBathrooms, (bathrooms) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: bathrooms,\n onClick: ($event: any) => ($setup.selectBathrooms(bathrooms)),\n class: _normalizeClass({ 'dropdown__item-active': bathrooms === $setup.filtersGlobal.bathrooms })\n }, _toDisplayString(bathrooms), 11, _hoisted_18))\n }), 128))\n ])\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _hoisted_20,\n _createVNode($setup[\"DropDown\"], { class: \"dropdown-container\" }, {\n control: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_21, _toDisplayString($setup.filtersGlobal.storeys), 1)\n ]),\n dropdown: _withCtx(() => [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.optionsStoreys, (storey) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: storey,\n onClick: ($event: any) => ($setup.selectStoreys(storey)),\n class: _normalizeClass({ 'dropdown__item-active': storey === $setup.filtersGlobal.storeys })\n }, _toDisplayString(storey), 11, _hoisted_22))\n }), 128))\n ])\n ]),\n _: 1\n })\n ])\n ]))\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { computed, onMounted, reactive, ref, watch } from \"vue\";\n import { useToast } from \"vue-toastification\";\n import store from \"@/store\";\n import DropDown from \"@/components/ui/dropdown/DropDown.vue\";\n import {\n HouseDesignInterface,\n HouseLotsBuilderPagination,\n HouseWithLotsAndBuilder,\n } from \"@/types/HouseDesignInterface\";\n import { HouseFilters } from \"@/types/HouseFilterInterface\";\n import {\n BuildBudgetPriceEnum,\n BuildBudgetPriceParseEnum,\n } from \"@/enums/BuilderBuildBudgetEnum\";\n import { BorrowCalculatorResult } from \"@/types/BorrowCalculator\";\n import { LotInterface } from \"@/types/LotInterface\";\n import router from \"@/router\";\n import { BuilderQuote } from \"@/types/BuilderQuote\";\n import { useIsDesktop } from \"@/features/useIsDesktop\";\n import { HouseFiltersParsedFields } from \"@/types/HouseFilterFieldsInterface\";\n\n const smallLayoutWidth = 990;\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'FilterHouses',\n props: {\n houseDetailsView: { type: Boolean },\n isDesignModal: { type: Boolean },\n result: {},\n lotSelected: {},\n quote: {},\n hasToLoadNextBatch: { type: Boolean }\n },\n emits: [\"housesByFilter\", \"updateHousesPagination\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n\n const { isDesktop } = useIsDesktop(smallLayoutWidth);\n\n \n\n const houseSelected = router.currentRoute.value.params.houseId;\n const toast = useToast();\n const houses = ref();\n const housesPagination = ref({\n data: [],\n page: 0,\n hasNextPage: false,\n limit: 0,\n totalPages: 0,\n });\n const dataForTheField = ref();\n const isOpenHelpModal = ref(false);\n const loading = ref(false);\n const initialBudgetValue = ref(\n BuildBudgetPriceEnum.BUDGET_THRESHOLD_ANY\n );\n\n const filtersGlobal = computed(\n () => store.getters[\"borrowCalculator/getFilterFields\"]\n );\n\n const LoanAmountString = computed(() => {\n return props.result?.LoanAmountString;\n });\n\n const lowerBudgetLimit = computed(() => {\n if (props.result && props.result.LoanAmountString) {\n const loanAmount = parseFloat(\n props.result.LoanAmountString.replace(/[$,]/g, \"\")\n );\n const sixtyPercent = Math.round((loanAmount * 0.6) / 5000) * 5000;\n getInitialBudgetValue(sixtyPercent.toString());\n return new Intl.NumberFormat(\"en-US\").format(sixtyPercent);\n } else {\n return \"\";\n }\n });\n\n const upperBudgetLimit = computed(() => {\n if (props.result && props.result.LoanAmountString) {\n const loanAmount = parseFloat(\n props.result.LoanAmountString.replace(/[$,]/g, \"\")\n );\n const seventyPercent = Math.round((loanAmount * 0.7) / 5000) * 5000;\n return new Intl.NumberFormat(\"en-US\").format(seventyPercent);\n } else {\n return \"\";\n }\n });\n\n const getInitialBudgetValue = (value: string) => {\n const lowerLimit = parseFloat(value.replace(/[$,]/g, \"\"));\n switch (true) {\n case lowerLimit <= 200000:\n filters.budget = BuildBudgetPriceEnum.BUDGET_THRESHOLD_200K;\n break;\n case lowerLimit <= 300000:\n filters.budget = BuildBudgetPriceEnum.BUDGET_THRESHOLD_300K;\n break;\n case lowerLimit <= 400000:\n filters.budget = BuildBudgetPriceEnum.BUDGET_THRESHOLD_400K;\n break;\n case lowerLimit <= 500000:\n filters.budget = BuildBudgetPriceEnum.BUDGET_THRESHOLD_500K;\n break;\n default:\n filters.budget = BuildBudgetPriceEnum.BUDGET_THRESHOLD_ANY;\n break;\n }\n };\n\n const optionsBedrooms = computed(() => {\n return dataForTheField.value ? dataForTheField.value.bedrooms : [];\n });\n\n const optionsBathrooms = computed(() => {\n return dataForTheField.value ? dataForTheField.value.bathrooms : [];\n });\n\n const optionsStoreys = computed(() => {\n return dataForTheField.value ? dataForTheField.value.storeys : [];\n });\n\n const filterFields = {\n budget: initialBudgetValue.value,\n bedrooms: \"\",\n bathrooms: \"\",\n storeys: \"\",\n lotId: props.lotSelected?._id ?? props.quote?.selections?.lot?.lotId,\n };\n\n const filters = reactive(Object.assign({}, filtersGlobal.value));\n\n const optionsBuildBudgetPrice = [\n BuildBudgetPriceEnum.BUDGET_THRESHOLD_200K,\n BuildBudgetPriceEnum.BUDGET_THRESHOLD_300K,\n BuildBudgetPriceEnum.BUDGET_THRESHOLD_400K,\n BuildBudgetPriceEnum.BUDGET_THRESHOLD_500K,\n BuildBudgetPriceEnum.BUDGET_THRESHOLD_ANY,\n ];\n\n const openHelpModal = () => {\n isOpenHelpModal.value = !isOpenHelpModal.value;\n };\n\n const selectBudget = (budget: BuildBudgetPriceEnum) => {\n filters.budget = budget;\n store.commit(\"borrowCalculator/updateFilter\", { budget });\n };\n\n const selectBedrooms = (bedrooms: string) => {\n filters.bedrooms = bedrooms;\n store.commit(\"borrowCalculator/updateFilter\", { bedrooms });\n };\n\n const selectBathrooms = (bathrooms: string) => {\n filters.bathrooms = bathrooms;\n store.commit(\"borrowCalculator/updateFilter\", { bathrooms });\n };\n\n const selectStoreys = (storeys: string) => {\n filters.storeys = storeys;\n store.commit(\"borrowCalculator/updateFilter\", { storeys });\n };\n\n const onHowMuchYouCouldBorrow = async () => {\n await router.push({\n name: \"BuilderBorrowCalculator\",\n params: { estateId: props.quote?.estateId, quoteId: props.quote?._id },\n });\n };\n\n const getQuantitysBedroomsBathroomsStoreys = () => {\n loading.value = true;\n store\n .dispatch(\"builder/getQuantitysBedroomsBathroomsStoreys\")\n .then((res) => {\n dataForTheField.value = res.data;\n })\n .then(() => {\n getHousesByFilter();\n })\n .catch(() => {\n toast.error(\"Error fetching data for the field\");\n })\n .finally(() => {\n loading.value = false;\n });\n };\n\n const getHousesByFilter = () => {\n loading.value = true;\n if (filters && props.quote?.estateId) {\n store\n .dispatch(\n \"builder/getHousesByFilter\",\n createBodyRequest(props.quote?.estateId)\n )\n .then((res) => {\n updateHousesValues(res.data);\n })\n .catch((error) => {\n toast.error(\"Error filtering houses\");\n })\n .finally(() => {\n loading.value = false;\n });\n }\n };\n\n const updateHousesValues = (data: HouseLotsBuilderPagination) => {\n let filteredHouses = data?.data;\n\n if (filteredHouses && houseSelected) {\n const excludedHouseId = houseSelected;\n houses.value = filteredHouses.filter(\n (house: HouseDesignInterface) => house._id !== excludedHouseId\n );\n housesPagination.value = data;\n\n emits(\"housesByFilter\", houses.value);\n emits(\"updateHousesPagination\", housesPagination.value);\n }\n };\n\n const createBodyRequest = (\n estateId: string,\n page?: number\n ): { estateId: string; query: HouseFiltersParsedFields } => {\n return {\n estateId,\n query: {\n budget: parseBudget(filtersGlobal.value.budget),\n bedrooms: parseQuantities(filtersGlobal.value.bedrooms),\n bathrooms: parseQuantities(filtersGlobal.value.bathrooms),\n storeys: parseStoreys(filtersGlobal.value.storeys),\n lotId: props.houseDetailsView ? null : filtersGlobal.value.lotId,\n page: page,\n },\n };\n };\n\n const parseBudget = (value: BuildBudgetPriceEnum): number | undefined => {\n switch (value) {\n case BuildBudgetPriceEnum.BUDGET_THRESHOLD_200K:\n return BuildBudgetPriceParseEnum.BUDGET_THRESHOLD_200K;\n case BuildBudgetPriceEnum.BUDGET_THRESHOLD_300K:\n return BuildBudgetPriceParseEnum.BUDGET_THRESHOLD_300K;\n case BuildBudgetPriceEnum.BUDGET_THRESHOLD_400K:\n return BuildBudgetPriceParseEnum.BUDGET_THRESHOLD_400K;\n case BuildBudgetPriceEnum.BUDGET_THRESHOLD_500K:\n return BuildBudgetPriceParseEnum.BUDGET_THRESHOLD_500K;\n default:\n return undefined;\n }\n };\n\n const parseQuantities = (value: string): number | undefined => {\n if (value.toLowerCase() === \"any\") {\n return undefined;\n }\n\n return value.replace(/\\D/g, \"\") as unknown as number;\n };\n\n const parseStoreys = (value: string): 1 | 2 | undefined => {\n switch (value) {\n case \"Single\":\n return 1;\n case \"Double\":\n return 2;\n default:\n return undefined;\n }\n };\n\n const loadNextBatch = () => {\n if (props.quote?.estateId) {\n loading.value = true;\n if (filters && props.quote?.estateId) {\n store\n .dispatch(\n \"builder/getHousesByFilter\",\n createBodyRequest(\n props.quote?.estateId,\n housesPagination.value.page + 1\n )\n )\n .then((res) => {\n housesPagination.value = res.data;\n emits(\"updateHousesPagination\", res.data);\n })\n .catch((error) => {\n toast.error(\"Error filtering houses\");\n })\n .finally(() => {\n loading.value = false;\n });\n }\n }\n };\n\n onMounted(() => {\n getQuantitysBedroomsBathroomsStoreys();\n });\n\n watch(\n () => props.quote,\n () => {\n if (props.quote?.estateId && !isDesktop.value) {\n getQuantitysBedroomsBathroomsStoreys();\n }\n }\n );\n\n watch(\n () => props.hasToLoadNextBatch,\n () => {\n if (props.hasToLoadNextBatch) {\n loadNextBatch();\n }\n }\n );\n\n watch(\n filters,\n () => {\n getHousesByFilter();\n },\n { deep: true }\n );\n\nconst __returned__ = { props, smallLayoutWidth, isDesktop, emits, houseSelected, toast, houses, housesPagination, dataForTheField, isOpenHelpModal, loading, initialBudgetValue, filtersGlobal, LoanAmountString, lowerBudgetLimit, upperBudgetLimit, getInitialBudgetValue, optionsBedrooms, optionsBathrooms, optionsStoreys, filterFields, filters, optionsBuildBudgetPrice, openHelpModal, selectBudget, selectBedrooms, selectBathrooms, selectStoreys, onHowMuchYouCouldBorrow, getQuantitysBedroomsBathroomsStoreys, getHousesByFilter, updateHousesValues, createBodyRequest, parseBudget, parseQuantities, parseStoreys, loadNextBatch, computed, onMounted, reactive, ref, watch, get useToast() { return useToast }, get store() { return store }, DropDown, get HouseDesignInterface() { return HouseDesignInterface }, get HouseLotsBuilderPagination() { return HouseLotsBuilderPagination }, get HouseWithLotsAndBuilder() { return HouseWithLotsAndBuilder }, get HouseFilters() { return HouseFilters }, get BuildBudgetPriceEnum() { return BuildBudgetPriceEnum }, get BuildBudgetPriceParseEnum() { return BuildBudgetPriceParseEnum }, get BorrowCalculatorResult() { return BorrowCalculatorResult }, get LotInterface() { return LotInterface }, get router() { return router }, get BuilderQuote() { return BuilderQuote }, get useIsDesktop() { return useIsDesktop }, get HouseFiltersParsedFields() { return HouseFiltersParsedFields } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./FilterHouses.vue?vue&type=template&id=d6ffafc4&scoped=true&ts=true&lang=pug\"\nimport script from \"./FilterHouses.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./FilterHouses.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./FilterHouses.vue?vue&type=style&index=0&id=d6ffafc4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-d6ffafc4\"]])\n\nexport default __exports__","export * from \"-!../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BuilderLogo.vue?vue&type=style&index=0&id=b9b8d69a&lang=scss&scoped=true\"","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f738d478\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"content-dimensions-inclusions\"\n}\nconst _hoisted_2 = {\n key: 0,\n class: \"house-info-card\"\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"Floor Plan Area\", -1))\nconst _hoisted_4 = { class: \"house-info-card-row-modified\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-label\" }, \"Area:\", -1))\nconst _hoisted_6 = { class: \"row-value\" }\nconst _hoisted_7 = { class: \"house-info-card-row-modified\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-label\" }, \"Width:\", -1))\nconst _hoisted_9 = { class: \"row-value\" }\nconst _hoisted_10 = { class: \"house-info-card-row-modified\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-label\" }, \"Length:\", -1))\nconst _hoisted_12 = { class: \"row-value\" }\nconst _hoisted_13 = {\n key: 1,\n class: \"house-info-card\"\n}\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"Features\", -1))\nconst _hoisted_15 = { class: \"house-info-card-row-modified\" }\nconst _hoisted_16 = { class: \"row-label\" }\nconst _hoisted_17 = {\n key: 2,\n class: \"house-info-card\"\n}\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"title\" }, \"Inclusions\", -1))\nconst _hoisted_19 = { class: \"house-info-card-row-modified\" }\nconst _hoisted_20 = { class: \"row-label\" }\nconst _hoisted_21 = [\"href\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return ($setup.props.houseInfo)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n ($props.isDimensionsOpen)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString($setup.formatMeters($setup.props.houseInfo.area, false)) + \" SQM\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_9, _toDisplayString($setup.formatMeters($setup.props.houseInfo.width, false)) + \" M\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n _createElementVNode(\"div\", _hoisted_12, _toDisplayString($setup.formatMeters($setup.props.houseInfo.length, false)) + \" M\", 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n ($props.isDimensionsOpen && $setup.props.houseInfo.features)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _hoisted_14,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.props.houseInfo.features, (feature) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, _toDisplayString(feature), 1)\n ]))\n }), 256))\n ]))\n : _createCommentVNode(\"\", true),\n ($props.isInclusionsOpen && $setup.props.houseInfo.inclusions)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, [\n _hoisted_18,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.props.houseInfo.inclusions, ({ name, url }) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"div\", _hoisted_20, _toDisplayString(name), 1),\n _createElementVNode(\"a\", {\n class: \"row-value highlighted\",\n href: url,\n target: \"_blank\"\n }, \"Download\", 8, _hoisted_21)\n ])\n ]))\n }), 256))\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { onMounted, ref } from \"vue\";\n import { HouseDesignInterface } from \"@/types/HouseDesignInterface\";\n import { formatPrice as formatMeters } from \"@/helpers/transformation/price\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'HouseDimensionsAndInclusions',\n props: {\n houseInfo: {},\n isDimensionsOpen: { type: Boolean },\n isInclusionsOpen: { type: Boolean }\n },\n setup(__props: any, { expose: __expose }) {\n __expose();\n\nconst props = __props;\n\n \n\nconst __returned__ = { props, onMounted, ref, get HouseDesignInterface() { return HouseDesignInterface }, get formatMeters() { return formatMeters } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./HouseDimensionsAndInclusions.vue?vue&type=template&id=f738d478&scoped=true&ts=true&lang=pug\"\nimport script from \"./HouseDimensionsAndInclusions.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./HouseDimensionsAndInclusions.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./HouseDimensionsAndInclusions.vue?vue&type=style&index=0&id=f738d478&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f738d478\"]])\n\nexport default __exports__","var fails = require('../internals/fails');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = !fails(function () {\n var error = Error('a');\n if (!('stack' in error)) return true;\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));\n return error.stack !== 7;\n});\n","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./EstateMap.vue?vue&type=style&index=0&id=e7cf310c&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./HouseCard.vue?vue&type=style&index=0&id=10bb10ff&lang=scss&scoped=true\"","export enum HolderType {\n OWNER_OCCUPIER = \"Owner-occupier\",\n INVESTOR = \"Investor\",\n BUILDER_OR_CHANNEL_PARTNER = \"Builder/Channel Partner\",\n}\n","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./InfoWithIcon.vue?vue&type=style&index=0&id=4cef99d7&lang=scss&scoped=true\"","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-27aeb206\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"card lifecycle-card scroll-wrapper lot-block-wrapper\"\n}\nconst _hoisted_2 = { class: \"card-title-block\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"card-title\" }, \"Lot Lifecycle\", -1))\nconst _hoisted_4 = { class: \"card-title\" }\nconst _hoisted_5 = { class: \"lifecycle-block\" }\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = {\n key: 1,\n class: \"checked\"\n}\nconst _hoisted_8 = { class: \"lot-info\" }\nconst _hoisted_9 = { class: \"lot-info-item\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"lot-info-item-title\" }, \"Block Size\", -1))\nconst _hoisted_11 = { class: \"lot-info-item-value\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"sup\", null, \"2\", -1))\nconst _hoisted_13 = { class: \"lot-info-item dimension\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"lot-info-item-title\" }, \"Dimensions\", -1))\nconst _hoisted_15 = { class: \"lot-info-item-value\" }\nconst _hoisted_16 = { class: \"lot-info-item stage\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"lot-info-item-title\" }, \"Stage\", -1))\nconst _hoisted_18 = { class: \"lot-info-item-value\" }\nconst _hoisted_19 = { class: \"lot-info-item\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"lot-info-item-title\" }, \"Release Date\", -1))\nconst _hoisted_21 = { class: \"lot-info-item-value\" }\nconst _hoisted_22 = { class: \"lot-info-item\" }\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"lot-info-item-title\" }, \"Price\", -1))\nconst _hoisted_24 = { class: \"lot-info-item-value\" }\nconst _hoisted_25 = { class: \"lot-info-item buyer\" }\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"lot-info-item-title\" }, \"Initial Deposit\", -1))\nconst _hoisted_27 = {\n key: 0,\n class: \"lot-info-item-value\"\n}\nconst _hoisted_28 = {\n key: 1,\n class: \"lot-info-item-value\"\n}\nconst _hoisted_29 = {\n key: 2,\n class: \"lot-info-item-value\"\n}\nconst _hoisted_30 = { class: \"lot-info-item\" }\nconst _hoisted_31 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"lot-info-item-title\" }, \"Buyer\", -1))\nconst _hoisted_32 = { class: \"buyers\" }\nconst _hoisted_33 = {\n key: 0,\n class: \"lot-info-item-value\"\n}\nconst _hoisted_34 = {\n key: 1,\n class: \"lot-info-item-value\"\n}\nconst _hoisted_35 = { class: \"lot-info-item\" }\nconst _hoisted_36 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"lot-info-item-title\" }, \"Registration Date\", -1))\nconst _hoisted_37 = { class: \"lot-info-item-value\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return ($props.lot)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, \"Step \" + _toDisplayString($props.lot.status === $setup.LotStatus.OPTION ? $setup.lotStatusList.length : $setup.currentStatusIndex + 1) + \" of \" + _toDisplayString($setup.lotStatusList.length) + \": \" + _toDisplayString($setup.getStepStatus), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.lotStatusList, (status, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"status-item\", [ index === $setup.currentStatusIndex ? $setup.getLotStatusClass(status === $setup.LotStatus.EOI ? $setup.getPreContractOrHoldStatus : status) : '', index < $setup.currentStatusIndex ? 'lifecycle-success' : '' ]])\n }, [\n (index >= $setup.currentStatusIndex)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, _toDisplayString(status === $setup.LotStatus.EOI ? $setup.getPreContractOrHoldStatus : status), 1))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_7))\n ], 2))\n }), 256))\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createElementVNode(\"div\", _hoisted_11, [\n _createTextVNode(_toDisplayString($setup.formatPrice($props.lot.size, false)) + \" m\", 1),\n _hoisted_12\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _hoisted_14,\n _createElementVNode(\"div\", _hoisted_15, _toDisplayString($props.lot.blockWidth && $props.lot.blockDepth ? `${$setup.formatPrice($props.lot.blockWidth, false)}m x ${$setup.formatPrice($props.lot.blockDepth, false)}m` : \"Irregular\"), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _createElementVNode(\"div\", _hoisted_18, _toDisplayString($props.lot.stageId.title), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _hoisted_20,\n _createElementVNode(\"div\", _hoisted_21, _toDisplayString($props.lot.releaseDate ? $setup.formatDate($props.lot.releaseDate, \"DD MMM YYYY\") : '-'), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _hoisted_23,\n _createElementVNode(\"div\", _hoisted_24, _toDisplayString($setup.formatPrice($props.lot.price)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_25, [\n _hoisted_26,\n ($props.lot.status === $setup.LotStatus.OFFLINE)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_27, _toDisplayString($setup.formatStripePrice($props.lot.offlineSale.offlineDeposit)), 1))\n : ($props.lot.buyerId)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_28, _toDisplayString($setup.paymentRequest ? $setup.formatStripePrice($setup.depositFromInvoice) : '-'), 1))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_29, \"-\"))\n ]),\n _createElementVNode(\"div\", _hoisted_30, [\n _hoisted_31,\n _createElementVNode(\"div\", _hoisted_32, [\n ($props.lot.status !== $setup.LotStatus.OFFLINE)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"lot-info-item-value\", { highlighted: $props.lot.eoiId?.buyersData?.firstBuyer}]),\n onClick: _cache[0] || (_cache[0] = ($event: any) => ($setup.moveToTheContactDetailsPage()))\n }, _toDisplayString($props.lot.eoiId ? $setup.getFirstLastName($props.lot.eoiId.buyersData.firstBuyer) : \"-\"), 3),\n ($props.lot.eoiId && $props.lot.eoiId.buyersData.secondBuyer)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_33, _toDisplayString($setup.getFirstLastName($props.lot.eoiId.buyersData.secondBuyer)), 1))\n : _createCommentVNode(\"\", true)\n ], 64))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_34, _toDisplayString($props.lot?.offlineSale?.offlineBuyerData?.fullName || \"-\"), 1))\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_35, [\n _hoisted_36,\n _createElementVNode(\"div\", _hoisted_37, _toDisplayString($props.lot.registrationDate ? $setup.formatDate($props.lot.registrationDate, \"MMM YYYY\") : '-'), 1)\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { getLotStatusClass } from \"@/helpers/status\";\nimport { formatDate } from \"@/helpers/date\";\nimport { LotStatus } from \"@/enums/LotStatus\";\nimport {computed, ref, watch} from \"vue\";\nimport { getFirstLastName } from \"@/helpers/user\";\nimport { formatPrice, formatStripePrice } from \"@/helpers/transformation/price\";\nimport eoiApi from \"@/services/api/eoiApi\";\nimport router from \"@/router\";\nimport { isInitialHoldDisabled } from \"@/helpers/initialHold/isInitialHoldDisabled\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'LotLifecycle',\n props: {\n lot: {\n type: Object,\n required: true,\n },\n},\n setup(__props, { expose: __expose }) {\n __expose();\n\nconst props = __props;\n\n\n\nconst paymentRequest = ref(true);\n\nconst getStepStatus = computed(() => {\n return props.lot.status === LotStatus.OFFLINE\n && props.lot.offlineSale?.salePhase === LotStatus.EOI\n ? LotStatus.HOLD\n : props.lot.status === LotStatus.EOI\n ? LotStatus.PRE_CONTRACT\n : props.lot.status;\n});\n\nconst getPreContractOrHoldStatus = computed(() => {\n return props.lot.status === LotStatus.OFFLINE\n && props.lot.offlineSale?.salePhase === LotStatus.EOI\n ? LotStatus.HOLD\n : LotStatus.PRE_CONTRACT;\n});\n\nwatch(\n () => props.lot,\n (lot) => {\n if (lot.buyerId && lot.eoiId) {\n getInvoice();\n }\n }\n);\nconst depositFromInvoice = ref(0);\nconst getHoldStatus = () => (isInitialHoldDisabled() ? [] : [LotStatus.HOLD]);\n\nconst lotStatusList = computed(() => {\n return [\n LotStatus.NOT_RELEASED,\n LotStatus.AVAILABLE,\n ...getHoldStatus(),\n LotStatus.EOI,\n LotStatus.CONTRACT_EXECUTED,\n LotStatus.UNCONDITIONAL,\n props.lot.status === LotStatus.OPTION\n ? props.lot.status === LotStatus.OPTION\n ? LotStatus.OPTION : LotStatus.OFFLINE\n : LotStatus.SETTLED,\n ];\n});\nconst currentStatusIndex = computed(() => {\n return props.lot\n ? lotStatusList.value.findIndex((value) => value === (props.lot.status === LotStatus.OFFLINE\n ? props.lot.offlineSale.salePhase : props.lot.status))\n : -1;\n});\nconst getInvoice = () => {\n const params = {\n eoiId: props.lot.eoiId._id,\n operationType:\"payment request\",\n operationStatus:\"ok\",\n paymentQueueId: props.lot.eoiId?.paymentQueueData?.paymentQueueId\n };\n eoiApi.getInvoice(params).then((response) => {\n if (response.data.length) {\n depositFromInvoice.value = response.data[0].data.amount;\n paymentRequest.value = true;\n } else {\n paymentRequest.value = false;\n }\n }).catch(() => {\n paymentRequest.value = false;\n });\n};\nconst moveToTheContactDetailsPage = () => {\n if (props.lot?.eoiId?.customerId) {\n router.push({\n name: \"ContactDetails\",\n params: { id: props.lot?.eoiId?.customerId }\n });\n }\n};\n\nconst __returned__ = { props, paymentRequest, getStepStatus, getPreContractOrHoldStatus, depositFromInvoice, getHoldStatus, lotStatusList, currentStatusIndex, getInvoice, moveToTheContactDetailsPage, get getLotStatusClass() { return getLotStatusClass }, get formatDate() { return formatDate }, get LotStatus() { return LotStatus }, computed, ref, watch, get getFirstLastName() { return getFirstLastName }, get formatPrice() { return formatPrice }, get formatStripePrice() { return formatStripePrice }, get eoiApi() { return eoiApi }, get router() { return router }, get isInitialHoldDisabled() { return isInitialHoldDisabled } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./LotLifecycle.vue?vue&type=template&id=27aeb206&scoped=true&ts=true&lang=pug\"\nimport script from \"./LotLifecycle.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./LotLifecycle.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./LotLifecycle.vue?vue&type=style&index=0&id=27aeb206&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-27aeb206\"]])\n\nexport default __exports__","import { createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/icon-floorplan.webp'\nimport _imports_1 from '@/assets/icons/icon-expand.svg'\nimport _imports_2 from '@/assets/icons/icon-close-dark.svg'\nimport _imports_3 from '@/assets/icons/oven-icon-black.png'\nimport _imports_4 from '@/assets/icons/bathtub-icon-black.png'\nimport _imports_5 from '@/assets/icons/sofa-icon-black.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7e299396\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"house-slider-options\"\n}\nconst _hoisted_2 = {\n key: 1,\n class: \"content-logo-slider\"\n}\nconst _hoisted_3 = { class: \"content-logo\" }\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = { class: \"content-slider\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"content-house-design-features\"\n}\nconst _hoisted_7 = { class: \"content-house-design\" }\nconst _hoisted_8 = { class: \"title-house-design\" }\nconst _hoisted_9 = { class: \"content-features\" }\nconst _hoisted_10 = { class: \"content-carousel\" }\nconst _hoisted_11 = {\n key: 1,\n class: \"content-floorplan-builder-quote\"\n}\nconst _hoisted_12 = [\"src\"]\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-floorplan\" }, \"Floor Plan\", -1))\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"floorplan-svg\",\n src: _imports_0\n}, null, -1))\nconst _hoisted_15 = [\n _hoisted_13,\n _hoisted_14\n]\nconst _hoisted_16 = {\n key: 3,\n class: \"controls-color-desktop\"\n}\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label\" }, \"Compare colours\", -1))\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line-separator\" }, null, -1))\nconst _hoisted_19 = { class: \"controls-colors\" }\nconst _hoisted_20 = [\"onClick\"]\nconst _hoisted_21 = { class: \"text-exit-interiors\" }\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"logo-close\",\n src: _imports_2\n}, null, -1))\nconst _hoisted_23 = {\n key: 0,\n class: \"text-jump-to\"\n}\nconst _hoisted_24 = { class: \"content-jump-to-bottom\" }\nconst _hoisted_25 = { class: \"content-bottons\" }\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-jump-to-button\" }, \"Kitchen\", -1))\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-jump-to-button\" }, \"Bathroom\", -1))\nconst _hoisted_28 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-jump-to-button\" }, \"Living\", -1))\nconst _hoisted_29 = { class: \"content-title-features\" }\nconst _hoisted_30 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h1\", { class: \"title-description\" }, \"Floor Plan Dimensions\", -1))\nconst _hoisted_31 = {\n key: 0,\n class: \"line-selected\"\n}\nconst _hoisted_32 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h1\", { class: \"title-description\" }, \"Features\", -1))\nconst _hoisted_33 = {\n key: 0,\n class: \"line-selected\"\n}\nconst _hoisted_34 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h1\", { class: \"title-description\" }, \"Inclusions\", -1))\nconst _hoisted_35 = {\n key: 0,\n class: \"line-selected\"\n}\nconst _hoisted_36 = { class: \"features-slider\" }\nconst _hoisted_37 = {\n key: 0,\n class: \"floorpan-dimensions\"\n}\nconst _hoisted_38 = { class: \"house-info-card-row-modified\" }\nconst _hoisted_39 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-label\" }, \"Area:\", -1))\nconst _hoisted_40 = { class: \"row-value\" }\nconst _hoisted_41 = { class: \"house-info-card-row-modified\" }\nconst _hoisted_42 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-label\" }, \"Width:\", -1))\nconst _hoisted_43 = { class: \"row-value\" }\nconst _hoisted_44 = { class: \"house-info-card-row-modified\" }\nconst _hoisted_45 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"row-label\" }, \"Length:\", -1))\nconst _hoisted_46 = { class: \"row-value\" }\nconst _hoisted_47 = {\n key: 1,\n class: \"features\"\n}\nconst _hoisted_48 = { class: \"house-info-card-column-slider\" }\nconst _hoisted_49 = { class: \"row-label\" }\nconst _hoisted_50 = {\n key: 2,\n class: \"inclusions\"\n}\nconst _hoisted_51 = { class: \"house-info-card-row-slider\" }\nconst _hoisted_52 = { class: \"row-label\" }\nconst _hoisted_53 = [\"href\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"main-wr\", { isBuilderQuoteView: $props.isBuilderQuoteView }])\n }, [\n (!$setup.isDesktop && $setup.props.selectedBuilder && !$props.isBuilderQuoteView)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode($setup[\"BuilderSliderButtons\"], {\n class: \"builder-slider-buttons\",\n items: $setup.selectedBuilder.houses,\n selectedItem: $props.selectedHouseDesign ?? null,\n title: $setup.isDesktop ? 'Step 03 : ' : '',\n contentTitle: $setup.isDesktop ? 'Select Design' : 'Swipe to compare designs',\n isLogoSwipe: true,\n isHouseSelectSlider: true,\n onOnSelectItem: $setup.onSelectHouseDesign\n }, null, 8, [\"items\", \"selectedItem\", \"title\", \"contentTitle\"])\n ]))\n : _createCommentVNode(\"\", true),\n ($setup.isDesktop && $setup.props.selectedBuilder && !$props.isBuilderQuoteView)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n ($setup.selectedBuilder)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"builder-logo\",\n src: $setup.selectedBuilder.logo\n }, null, 8, _hoisted_4))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode($setup[\"BuilderSliderImages\"], {\n images: $setup.selectedBuilder.houses,\n selectedimage: $props.selectedHouseDesign,\n isSelectDesign: true,\n onOnSelectImage: $setup.onSelectHouseDesign\n }, null, 8, [\"images\", \"selectedimage\"])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"content-design-selections\", { 'size-content': $props.isBuilderQuoteView }])\n }, [\n (!$setup.isDesktop && !$props.isBuilderQuoteView)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, _toDisplayString($props.selectedHouseDesign?.name), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode($setup[\"HouseFeatures\"], {\n features: $props.selectedHouseDesign ?? $setup.house,\n class: _normalizeClass($setup.isDesktop ? 'house-features' : 'house-features-mobile')\n }, null, 8, [\"features\", \"class\"])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_10, [\n (!$setup.showFloorplan)\n ? (_openBlock(), _createBlock($setup[\"CustomizeHouseSlider\"], {\n key: 0,\n showArrows: false,\n sliderImages: $setup.sliderImages,\n isBuilderQuoteView: $setup.props.isBuilderQuoteView\n }, null, 8, [\"sliderImages\", \"isBuilderQuoteView\"]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createElementVNode(\"img\", {\n class: \"floorplan-image\",\n src: $props.selectedHouseDesign?.floorplans[0].url\n }, null, 8, _hoisted_12)\n ])),\n ($setup.isDesktop && $props.isBuilderQuoteView && $setup.currentSliderStep === $setup.BuilderSliderSteps.MAIN_IMAGE && !$setup.showFloorplan)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 2,\n class: \"jump-floorplan\",\n onClick: $setup.onChangeImage\n }, _hoisted_15))\n : _createCommentVNode(\"\", true),\n ($setup.showColorsControls && $setup.isDesktop && !$setup.showFloorplan)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n _hoisted_17,\n _hoisted_18,\n _createElementVNode(\"div\", _hoisted_19, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.getColorsSelection, (item) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n class: \"select-color\",\n style: _normalizeStyle({ 'background-color': item?.color }),\n onClick: ($event: any) => ($setup.onSelectColor(item))\n }, null, 12, _hoisted_20))\n }), 256))\n ])\n ]))\n : _createCommentVNode(\"\", true),\n ($setup.showFloorplan && $props.isBuilderQuoteView)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 4,\n class: \"icon-expand\",\n src: _imports_1,\n onClick: $setup.openFloorplanImageModal\n }))\n : _createCommentVNode(\"\", true),\n _createVNode($setup[\"BuilderLightboxImages\"], {\n isOpen: $setup.isImageFloorplanModalOpen,\n imageUrl: $props.selectedHouseDesign?.floorplans[0]?.url,\n zoom: $setup.zoom,\n onUpdateZoom: $setup.updateZoom,\n onClose: $setup.closeImageModal\n }, null, 8, [\"isOpen\", \"imageUrl\", \"zoom\"]),\n (($setup.showExitInteriorsButton && $setup.sliderImages.length > 0) || ($setup.showFloorplan && $props.isBuilderQuoteView))\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 5,\n class: \"exit-interiors-container\",\n onClick: $setup.exitInteriors\n }, [\n _createElementVNode(\"span\", _hoisted_21, _toDisplayString($setup.showFloorplan ? \"Close floor plan\" : $setup.isDesktop ? \"Exit Interiors\" : \"Hide Interiors\"), 1),\n _hoisted_22\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (!$setup.showFloorplan)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: _normalizeClass([\"content-jump-to-bottom-and-logo\", { 'size-content': $props.isBuilderQuoteView }])\n }, [\n ($setup.showBrowseInteriorsText && $setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_23, \"Browse Interiors\"))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"div\", _hoisted_25, [\n ($setup.isImageAvailable($setup.BuilderSliderSteps.KITCHEN))\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"jump-button\", { 'active-button': $setup.currentSliderStep === $setup.BuilderSliderSteps.KITCHEN }]),\n onClick: _cache[0] || (_cache[0] = ($event: any) => ($setup.jumpToStep($setup.BuilderSliderSteps.KITCHEN)))\n }, [\n _hoisted_26,\n ($setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: _normalizeClass([\"small\", { 'icon-white': $setup.currentSliderStep === $setup.BuilderSliderSteps.KITCHEN }]),\n src: _imports_3\n }, null, 2))\n : _createCommentVNode(\"\", true)\n ], 2))\n : _createCommentVNode(\"\", true),\n ($setup.isImageAvailable($setup.BuilderSliderSteps.BATHROOM))\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: _normalizeClass([\"jump-button\", { 'active-button': $setup.currentSliderStep === $setup.BuilderSliderSteps.BATHROOM }]),\n onClick: _cache[1] || (_cache[1] = ($event: any) => ($setup.jumpToStep($setup.BuilderSliderSteps.BATHROOM)))\n }, [\n _hoisted_27,\n ($setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: _normalizeClass([\"small\", { 'icon-white': $setup.currentSliderStep === $setup.BuilderSliderSteps.BATHROOM }]),\n src: _imports_4\n }, null, 2))\n : _createCommentVNode(\"\", true)\n ], 2))\n : _createCommentVNode(\"\", true),\n ($setup.isImageAvailable($setup.BuilderSliderSteps.LIVING))\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 2,\n class: _normalizeClass([\"jump-button\", { 'active-button': $setup.currentSliderStep === $setup.BuilderSliderSteps.LIVING }]),\n onClick: _cache[2] || (_cache[2] = ($event: any) => ($setup.jumpToStep($setup.BuilderSliderSteps.LIVING)))\n }, [\n _hoisted_28,\n ($setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: _normalizeClass([\"small\", { 'icon-white': $setup.currentSliderStep === $setup.BuilderSliderSteps.LIVING }]),\n src: _imports_5\n }, null, 2))\n : _createCommentVNode(\"\", true)\n ], 2))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 2))\n : _createCommentVNode(\"\", true),\n ($setup.isDesktop && $setup.props.isBuilderQuoteView)\n ? (_openBlock(), _createBlock($setup[\"BuilderSelectFacade\"], {\n key: 2,\n selectedHouseDesign: $setup.props.selectedHouseDesign,\n quote: $setup.props.quote,\n \"onUpdate:selectedFacade\": $setup.onUpdateSelectedFacade\n }, null, 8, [\"selectedHouseDesign\", \"quote\"]))\n : _createCommentVNode(\"\", true),\n ($setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 3,\n class: _normalizeClass([\"content-features-desktop\", { isBuilderQuoteView: $props.isBuilderQuoteView }])\n }, [\n _createElementVNode(\"div\", _hoisted_29, [\n _createElementVNode(\"div\", {\n class: \"content-feature-selected\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => ($setup.setCurrentFeature($setup.BuilderFeatures.DIMENSIONS)))\n }, [\n _hoisted_30,\n ($setup.currentFeature === $setup.BuilderFeatures.DIMENSIONS)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_31))\n : _createCommentVNode(\"\", true)\n ]),\n ($setup.house.features)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"content-feature-selected hidden\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => ($setup.setCurrentFeature($setup.BuilderFeatures.FEATURES)))\n }, [\n _hoisted_32,\n ($setup.currentFeature === $setup.BuilderFeatures.FEATURES)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_33))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n ($setup.house.inclusions)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: \"content-feature-selected hidden\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => ($setup.setCurrentFeature($setup.BuilderFeatures.INCLUSIONS)))\n }, [\n _hoisted_34,\n ($setup.currentFeature === $setup.BuilderFeatures.INCLUSIONS)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_35))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_36, [\n ($setup.currentFeature === $setup.BuilderFeatures.DIMENSIONS)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_37, [\n _createElementVNode(\"div\", _hoisted_38, [\n _hoisted_39,\n _createElementVNode(\"div\", _hoisted_40, _toDisplayString($setup.formatMeters($setup.house.area, false)) + \" SQM\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_41, [\n _hoisted_42,\n _createElementVNode(\"div\", _hoisted_43, _toDisplayString($setup.formatMeters($setup.house.width, false)) + \" M\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_44, [\n _hoisted_45,\n _createElementVNode(\"div\", _hoisted_46, _toDisplayString($setup.formatMeters($setup.house.length, false)) + \" M\", 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n ($setup.house.features && $setup.currentFeature === $setup.BuilderFeatures.FEATURES)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_47, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.house.features, (feature) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_48, [\n _createElementVNode(\"div\", _hoisted_49, _toDisplayString(feature), 1)\n ]))\n }), 256))\n ]))\n : _createCommentVNode(\"\", true),\n ($setup.house.inclusions && $setup.currentFeature === $setup.BuilderFeatures.INCLUSIONS)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_50, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.house.inclusions, ({ name, url }) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_51, [\n _createElementVNode(\"div\", _hoisted_52, _toDisplayString(name), 1),\n _createElementVNode(\"a\", {\n class: \"row-value\",\n href: url,\n target: \"_blank\"\n }, \"Download\", 8, _hoisted_53)\n ]))\n }), 256))\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ], 2))\n : _createCommentVNode(\"\", true)\n ], 2)\n ], 2))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport store from \"@/store\";\n import { BuilderInterfaceWithHouseDesigns } from \"@/types/BuilderInterface\";\n import { CustomizeHouseStepsEnum } from \"@/enums/CustomizeHouseSteps\";\n import { computed, ref, onMounted, watch } from \"vue\";\n import CustomizeHouseSlider from \"@/components/builder/CustomizeHouseSlider.vue\";\n import { HouseDesignInterface } from \"@/types/HouseDesignInterface\";\n import { BuilderSliderSteps } from \"@/enums/BuilderSliderSteps\";\n import { BuilderFeatures } from \"@/enums/BuilderFeatures\";\n import { userSelectionDefault } from \"@/constants/BuilderUserSelectionDefault\";\n import {\n EventActionName,\n EventByAction,\n EventByCategory,\n EventLabelByName,\n } from \"@/types/EventTracking\";\n import { eventTracking } from \"@/helpers/googleAnalyticsEventTracking\";\n import BuilderSliderButtons from \"./BuilderSliderButtons.vue\";\n import { scrollToNextStepMobile } from \"@/helpers/builder/scrollToNextStep\";\n import { BuilderStepsIds } from \"@/enums/BuilderStepsIds\";\n import { useIsDesktop } from \"@/features/useIsDesktop\";\n import { scrollTo } from \"@/helpers/smoothScrollToElement\";\n import HouseFeatures from \"@/components/builder/HouseFeatures.vue\";\n import BuilderSliderImages from \"./BuilderSliderImages.vue\";\n import { formatPrice as formatMeters } from \"@/helpers/transformation/price\";\n import BuilderLightboxImages from \"./BuilderLightboxImages.vue\";\n import BuilderSelectFacade from \"./budget-houses/house-details/BuilderSelectFacade.vue\";\n import { FacadeInterface } from \"@/types/FacadeInterface\";\n import { useToast } from \"vue-toastification\";\n import { BuilderQuote } from \"@/types/BuilderQuote\";\n import getUserRole from \"@/helpers/getUserRole\";\n import ERROR_SOMETHING_WENT_WRONG from \"@/constants/errorsMessages\";\n\n interface Props {\n selectedHouseDesign: HouseDesignInterface;\n selectedBuilder?: BuilderInterfaceWithHouseDesigns;\n isBuilderQuoteView?: boolean;\n quote: BuilderQuote | undefined;\n selectedFacade: FacadeInterface | null;\n }\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BuilderSelectionHouse',\n props: {\n selectedHouseDesign: {},\n selectedBuilder: {},\n isBuilderQuoteView: { type: Boolean },\n quote: {},\n selectedFacade: {}\n },\n emits: [\n \"onButtonStepVisibly\",\n \"onFeaturesHidden\",\n \"onFeaturesVisibly\",\n \"updateSelectedFacade\",\n ],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n const sliderImages = ref([]);\n const currentFeature = ref(BuilderFeatures.DIMENSIONS);\n \n\n const isSliderOpen = ref(false);\n const fadeInEffect = ref(false);\n const isImageFloorplanModalOpen = ref(false);\n const zoom = ref(1);\n const facade = ref(null);\n const toast = useToast();\n\n const selectedBuilder = computed(() => props.selectedBuilder);\n const userRole = getUserRole();\n\n const onUpdateSelectedFacade = (newFacade: FacadeInterface) => {\n sliderImages.value = [newFacade.url];\n if (newFacade._id !== facade.value?._id) {\n facade.value = newFacade;\n sliderImages.value = [newFacade.url];\n store.commit(\"facade/updateSelectedFacadeId\", newFacade?._id);\n emits(\"updateSelectedFacade\", newFacade);\n }\n };\n\n const house = computed(() => {\n return props.selectedHouseDesign ?? selectedBuilder.value?.houses[0];\n });\n const { isDesktop } = useIsDesktop(990);\n const isHouseSelected = ref(false);\n const isButtonsInteriors = ref(false);\n const showFloorplan = ref(false);\n\n const currentSliderStepIndex = ref(0);\n const sliderSteps = ref([...Object.values(BuilderSliderSteps)]);\n const nextStep = computed(\n () => sliderSteps.value[currentSliderStepIndex.value + 1]\n );\n const backStep = computed(\n () => sliderSteps.value[currentSliderStepIndex.value - 1]\n );\n const currentSliderStep = computed(() => {\n return sliderSteps.value[currentSliderStepIndex.value];\n });\n\n const showSliderArrows = computed(() => {\n const allowedSteps = [BuilderSliderSteps.LIVING];\n return allowedSteps.includes(currentSliderStep.value);\n });\n\n const getColorsSelection = computed(() => {\n const { kitchens, bathroom } = house.value;\n if (currentSliderStep.value === BuilderSliderSteps.BATHROOM) {\n return bathroom.options;\n }\n if (currentSliderStep.value === BuilderSliderSteps.KITCHEN) {\n return kitchens;\n }\n return [];\n });\n\n const openFloorplanImageModal = () => {\n isImageFloorplanModalOpen.value = true;\n };\n\n const closeImageModal = () => {\n isImageFloorplanModalOpen.value = false;\n zoom.value = 1;\n };\n\n const updateZoom = (value: number) => {\n const newZoom = zoom.value + value;\n const MIN_ZOOM_LEVEL = 1;\n const MAX_ZOOM_LEVEL = 2.6;\n if (newZoom >= MIN_ZOOM_LEVEL && newZoom <= MAX_ZOOM_LEVEL) {\n zoom.value = newZoom;\n }\n };\n\n const openFacadeSlider = () => {\n isSliderOpen.value = !isSliderOpen.value;\n\n setTimeout(() => {\n fadeInEffect.value = !fadeInEffect.value;\n }, 50);\n };\n\n const setCurrentFeature = (feature: BuilderFeatures) => {\n currentFeature.value = feature;\n };\n\n const onShowButtonsInteriors = () => {\n jumpToStep(BuilderSliderSteps.KITCHEN);\n };\n\n const onCustomizeNextStep = () => {\n updateUserSelectionState(CustomizeHouseStepsEnum.HOUSE_DESIGN);\n };\n const handleStepChange = (stepChange: number) => {\n currentSliderStepIndex.value += stepChange;\n };\n\n const onNextStep = () => {\n if (currentSliderStepIndex.value === sliderSteps.value.length - 1) {\n return;\n }\n handleStepChange(1);\n };\n\n const onBackStep = () => {\n if (currentSliderStepIndex.value === 0) {\n return;\n }\n handleStepChange(-1);\n };\n\n const resetSteps = () => {\n handleStepChange(-currentSliderStepIndex.value);\n };\n\n const setSliderImages = () => {\n if (!house.value) {\n return;\n }\n const {\n facades,\n kitchens,\n bathroom,\n loungeRoom,\n mainImage,\n }: HouseDesignInterface = house.value;\n switch (currentSliderStep.value) {\n case BuilderSliderSteps.MAIN_IMAGE:\n sliderImages.value = mainImage ? [mainImage] : [];\n break;\n case BuilderSliderSteps.SELECTION:\n sliderImages.value = getImagesUrls(\n selectedQuote.value.facade?.url,\n facades\n );\n break;\n case BuilderSliderSteps.LIVING:\n sliderImages.value = loungeRoom.urls;\n break;\n case BuilderSliderSteps.KITCHEN:\n sliderImages.value = getImagesUrls(\n selectedQuote.value.kitchen?.url,\n kitchens\n );\n break;\n case BuilderSliderSteps.BATHROOM:\n sliderImages.value = getImagesUrls(\n selectedQuote.value.bathroom?.url,\n bathroom.options\n );\n break;\n default:\n break;\n }\n };\n const getImagesUrls = (\n selectedUrl: string | undefined,\n images: { url: string }[]\n ): string[] => {\n return selectedUrl ? [selectedUrl] : images.map(({ url }) => url);\n };\n const isImageAvailable = (step: BuilderSliderSteps) => {\n switch (step) {\n case BuilderSliderSteps.KITCHEN:\n return house.value.kitchens.some(\n (kitchen) => kitchen.url && kitchen.url.trim() !== \"\"\n );\n case BuilderSliderSteps.BATHROOM:\n return house.value.bathroom.options.some(\n (option) => option.url && option.url.trim() !== \"\"\n );\n case BuilderSliderSteps.LIVING:\n return house.value.loungeRoom.urls.some(\n (url) => url && url.trim() !== \"\"\n );\n default:\n return false;\n }\n };\n const showBrowseInteriorsText = computed(() => {\n return (\n isImageAvailable(BuilderSliderSteps.KITCHEN) ||\n isImageAvailable(BuilderSliderSteps.BATHROOM) ||\n isImageAvailable(BuilderSliderSteps.LIVING)\n );\n });\n const selectedQuote = computed(() => {\n return store.getters[\"builder/getSelectedSelection\"];\n });\n const updateUserSelectionState = (\n step: CustomizeHouseStepsEnum,\n updateParams = {}\n ) => {\n store.commit(\"builder/updateUserSelection\", {\n ...selectedQuote.value,\n ...updateParams,\n currentStep: step,\n builder: {\n id: selectedBuilder.value?._id,\n name: selectedBuilder.value?.name,\n logo: selectedBuilder.value?.logo,\n },\n house: {\n id: house.value?._id,\n name: house.value?.name,\n price: house.value?.basePrice,\n },\n });\n };\n\n const trackHouseDesignClick = (houseDesign: HouseDesignInterface) => {\n eventTracking({\n actionsName: EventActionName.HOUSE_DESIGN_ON_CLICK,\n eventByCategory: EventByCategory.ON_CLICK,\n eventLabelByName: EventLabelByName.CLICK_HOUSE_DESIGN,\n eventByAction: EventByAction.CLICK,\n houseDesignId: houseDesign._id,\n houseDesignName: houseDesign.name,\n });\n };\n const onSelectColor = (userSelection: {\n color: string;\n name: string;\n url: string;\n }) => {\n sliderImages.value = [userSelection.url];\n };\n\n const showColorsControls = computed(() => {\n const { BATHROOM, KITCHEN } = BuilderSliderSteps;\n const {\n bathroom: { options },\n kitchens,\n } = house.value;\n\n const isBathroomStep = currentSliderStep.value === BATHROOM;\n const isKitchenStep = currentSliderStep.value === KITCHEN;\n\n return (\n (isBathroomStep && options.length > 1) ||\n (isKitchenStep && kitchens.length > 1)\n );\n });\n const showExitInteriorsButton = computed(() => {\n const { KITCHEN, BATHROOM, LIVING } = BuilderSliderSteps;\n return [KITCHEN, BATHROOM, LIVING].includes(currentSliderStep.value);\n });\n const onSelectHouseDesign = (houseDesign: HouseDesignInterface) => {\n if (houseDesign._id === selectedQuote.value.house?.id) {\n return;\n }\n\n if (!isDesktop.value && !isHouseSelected.value) {\n isHouseSelected.value = true;\n }\n\n const { _id, name, basePrice, floorplans } = houseDesign;\n\n const updatedUserSelection = {\n ...userSelectionDefault,\n currentStep: CustomizeHouseStepsEnum.HOUSE_DESIGN,\n id: selectedQuote.value.id,\n lot: selectedQuote.value.lot,\n builder: selectedQuote.value.builder,\n house: { id: _id, name, price: houseDesign.basePrice },\n floorplan: {\n url: floorplans[0].url,\n name: floorplans[0]?.name,\n },\n };\n store.commit(\"builder/updateUserSelection\", updatedUserSelection);\n trackHouseDesignClick(houseDesign);\n\n emits(\"onButtonStepVisibly\", true);\n };\n\n const jumpToStep = (step: BuilderSliderSteps) => {\n const stepIndex = sliderSteps.value.indexOf(step);\n if (stepIndex !== -1) {\n currentSliderStepIndex.value = stepIndex;\n }\n };\n\n const exitInteriors = () => {\n if (showFloorplan.value) {\n showFloorplan.value = false;\n } else {\n jumpToStep(BuilderSliderSteps.MAIN_IMAGE);\n }\n };\n\n const onChangeImage = () => {\n showFloorplan.value = true;\n };\n\n const setAsOpened = async () => {\n if (props.quote && !props.quote?.wasOpened && userRole.isCustomer) {\n await store\n .dispatch(\"builder/setAsOpened\", props.quote?._id)\n .then()\n .catch(() => {\n toast.error(ERROR_SOMETHING_WENT_WRONG);\n });\n }\n };\n\n watch(currentSliderStepIndex, () => {\n setSliderImages();\n });\n\n watch(props, async () => {\n await setAsOpened();\n });\n\n const initializeHouseDesign = () => {\n if (props.selectedHouseDesign) {\n setSliderImages();\n resetSteps();\n }\n };\n\n watch(\n () => props.selectedFacade,\n (newFacade) => {\n if (newFacade) {\n onUpdateSelectedFacade(newFacade);\n }\n }\n );\n\n watch(\n () => props.selectedHouseDesign,\n (newDesign) => {\n if (newDesign) {\n initializeHouseDesign();\n }\n },\n { immediate: true, deep: true }\n );\n\n onMounted(() => {\n isHouseSelected.value = false;\n if (\n !props.selectedHouseDesign &&\n selectedBuilder.value &&\n selectedBuilder.value?.houses.length > 0\n ) {\n onSelectHouseDesign(selectedBuilder.value.houses[0]);\n } else {\n initializeHouseDesign();\n }\n });\n\n watch(\n props,\n () => {\n if (\n !props.selectedHouseDesign &&\n selectedBuilder.value &&\n selectedBuilder.value?.houses.length > 0\n ) {\n onSelectHouseDesign(selectedBuilder.value.houses[0]);\n } else if (!props.isBuilderQuoteView) {\n setSliderImages();\n resetSteps();\n }\n },\n { deep: true, immediate: true }\n );\n\nconst __returned__ = { props, sliderImages, currentFeature, emits, isSliderOpen, fadeInEffect, isImageFloorplanModalOpen, zoom, facade, toast, selectedBuilder, userRole, onUpdateSelectedFacade, house, isDesktop, isHouseSelected, isButtonsInteriors, showFloorplan, currentSliderStepIndex, sliderSteps, nextStep, backStep, currentSliderStep, showSliderArrows, getColorsSelection, openFloorplanImageModal, closeImageModal, updateZoom, openFacadeSlider, setCurrentFeature, onShowButtonsInteriors, onCustomizeNextStep, handleStepChange, onNextStep, onBackStep, resetSteps, setSliderImages, getImagesUrls, isImageAvailable, showBrowseInteriorsText, selectedQuote, updateUserSelectionState, trackHouseDesignClick, onSelectColor, showColorsControls, showExitInteriorsButton, onSelectHouseDesign, jumpToStep, exitInteriors, onChangeImage, setAsOpened, initializeHouseDesign, get store() { return store }, get BuilderInterfaceWithHouseDesigns() { return BuilderInterfaceWithHouseDesigns }, get CustomizeHouseStepsEnum() { return CustomizeHouseStepsEnum }, computed, ref, onMounted, watch, CustomizeHouseSlider, get HouseDesignInterface() { return HouseDesignInterface }, get BuilderSliderSteps() { return BuilderSliderSteps }, get BuilderFeatures() { return BuilderFeatures }, get userSelectionDefault() { return userSelectionDefault }, get EventActionName() { return EventActionName }, get EventByAction() { return EventByAction }, get EventByCategory() { return EventByCategory }, get EventLabelByName() { return EventLabelByName }, get eventTracking() { return eventTracking }, BuilderSliderButtons, get scrollToNextStepMobile() { return scrollToNextStepMobile }, get BuilderStepsIds() { return BuilderStepsIds }, get useIsDesktop() { return useIsDesktop }, get scrollTo() { return scrollTo }, HouseFeatures, BuilderSliderImages, get formatMeters() { return formatMeters }, BuilderLightboxImages, BuilderSelectFacade, get FacadeInterface() { return FacadeInterface }, get useToast() { return useToast }, get BuilderQuote() { return BuilderQuote }, get getUserRole() { return getUserRole }, get ERROR_SOMETHING_WENT_WRONG() { return ERROR_SOMETHING_WENT_WRONG } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./BuilderSelectionHouse.vue?vue&type=template&id=7e299396&scoped=true&ts=true&lang=pug\"\nimport script from \"./BuilderSelectionHouse.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BuilderSelectionHouse.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BuilderSelectionHouse.vue?vue&type=style&index=0&id=7e299396&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7e299396\"]])\n\nexport default __exports__","import { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/arrow-customize-builder-back.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-177906ea\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"name-facade\" }\nconst _hoisted_2 = { class: \"price-facade\" }\nconst _hoisted_3 = [\"src\", \"alt\"]\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"arrow-more\",\n src: _imports_0\n}, null, -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-more\" }, \"More\", -1))\nconst _hoisted_6 = [\n _hoisted_4,\n _hoisted_5\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"button\", {\n class: _normalizeClass([\"dropdown-button open-slider\", { active: $setup.fadeInEffect }]),\n onClick: _cache[0] || (_cache[0] = ($event: any) => ($setup.openFacadeSlider()))\n }, \"Choose your facade\", 2),\n ($setup.isSliderOpen)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"facade-options\", { scrollable: $setup.isMoreClicked }])\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.visibleFacades, (facade) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"facade-card\",\n key: facade._id\n }, [\n _createVNode($setup[\"ToggleButton\"], {\n modelValue: $setup.selectedFacadeIds[facade._id],\n additionalClass: ['large', 'margin'],\n labelBold: 'toggle-title-font bolder',\n labelClass: 'flex-column',\n labelHidden: !$setup.selectedFacadeIds[facade._id] ? 'hidden-text' : '',\n label: $setup.selectedFacadeIds[facade._id] ? 'Selected' : 'Not Selected',\n \"onUpdate:modelValue\": (value) => $setup.updateSelectedFacade(facade, value)\n }, null, 8, [\"modelValue\", \"labelHidden\", \"label\", \"onUpdate:modelValue\"]),\n _createElementVNode(\"div\", _hoisted_1, _toDisplayString(facade.name), 1),\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString($setup.isNoAdditionalCharge(facade.price) ? \"No Additional Charge\" : $setup.formatPrice(facade.price)), 1),\n _createElementVNode(\"img\", {\n class: \"image-facade\",\n src: facade.url,\n alt: facade.name\n }, null, 8, _hoisted_3)\n ]))\n }), 128)),\n ($setup.showMoreButton)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"button-more\",\n onClick: $setup.handleMoreClick\n }, _hoisted_6))\n : _createCommentVNode(\"\", true)\n ], 2))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { HouseDesignInterface } from \"@/types/HouseDesignInterface\";\n import {\n onMounted,\n ref,\n watch,\n computed,\n } from \"vue\";\n import ToggleButton from \"@/components/ui/ToggleButton.vue\";\n import { formatPrice } from \"@/helpers/transformation/price\";\n import { FacadeInterface } from \"@/types/FacadeInterface\";\n import { BuilderQuote } from \"@/types/BuilderQuote\";\n\n interface Props {\n selectedHouseDesign: HouseDesignInterface;\n quote: BuilderQuote | undefined;\n }\n const INITIAL_FACADE_COUNT = 3;\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BuilderSelectFacade',\n props: {\n selectedHouseDesign: {},\n quote: {}\n },\n emits: [\"update:selectedFacade\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n \n\n const isSliderOpen = ref(false);\n const fadeInEffect = ref(false);\n const selectedFacadeId = ref(null);\n const selectedFacadeIds = ref<{ [key: string]: boolean }>({});\n const facadeDefault = ref(null);\n const isMoreClicked = ref(false);\n const openFacadeSlider = () => {\n isSliderOpen.value = !isSliderOpen.value;\n\n setTimeout(() => {\n fadeInEffect.value = !fadeInEffect.value;\n }, 50);\n };\n\n const updateSelectedFacade = (facade: FacadeInterface, value: boolean) => {\n if (!value && facadeDefault.value?._id) {\n const facadeDefaultId = facadeDefault.value._id;\n selectedFacadeIds.value[facadeDefaultId] = true;\n selectedFacadeId.value = facadeDefaultId;\n emits(\"update:selectedFacade\", facadeDefault.value);\n } else if (selectedFacadeId.value) {\n selectedFacadeIds.value[selectedFacadeId.value] = false;\n selectedFacadeId.value = facade._id;\n emits(\"update:selectedFacade\", facade);\n }\n selectedFacadeIds.value[facade._id] = value;\n };\n\n watch(\n selectedFacadeIds,\n (newValue) => {\n const defaultFacadeId = props.selectedHouseDesign.facades.find(\n (facade) => facade.url === props.selectedHouseDesign.mainImage\n )?._id;\n\n const allFalse = Object.values(newValue).every((selected) => !selected);\n\n if (allFalse && defaultFacadeId) {\n selectedFacadeIds.value[defaultFacadeId] = true;\n }\n },\n { deep: true }\n );\n\n const showMoreButton = computed(() => {\n return (\n props.selectedHouseDesign?.facades.length > INITIAL_FACADE_COUNT &&\n !isMoreClicked.value\n );\n });\n\n const visibleFacades = computed(() => {\n const INITIAL_VISIBLE_COUNT = INITIAL_FACADE_COUNT;\n return isMoreClicked.value\n ? props.selectedHouseDesign?.facades || []\n : props.selectedHouseDesign?.facades.slice(0, INITIAL_VISIBLE_COUNT) ||\n [];\n });\n\n const handleMoreClick = () => {\n isMoreClicked.value = true;\n };\n\n const isNoAdditionalCharge = (price: number | null | undefined | string) => {\n return (\n price === 0 || price === null || price === undefined || price === \"0\"\n );\n };\n\n const initializeFacades = (design: HouseDesignInterface) => {\n let defaultFacade = design.facades.find(\n (facade) =>\n props.quote && facade.url === props.quote.selections.facade.url\n );\n\n if (!defaultFacade) {\n defaultFacade = design.facades[0];\n }\n\n if (defaultFacade) {\n facadeDefault.value = defaultFacade;\n design.facades.forEach((facade) => {\n selectedFacadeIds.value[facade._id] = facade._id === defaultFacade?._id;\n });\n selectedFacadeId.value = defaultFacade._id;\n emits(\"update:selectedFacade\", defaultFacade);\n }\n };\n\n watch(\n () => props.selectedHouseDesign,\n (newDesign) => {\n initializeFacades(newDesign);\n },\n { immediate: true }\n );\n\n onMounted(() => {\n initializeFacades(props.selectedHouseDesign);\n });\n\nconst __returned__ = { props, emits, isSliderOpen, fadeInEffect, selectedFacadeId, selectedFacadeIds, facadeDefault, isMoreClicked, INITIAL_FACADE_COUNT, openFacadeSlider, updateSelectedFacade, showMoreButton, visibleFacades, handleMoreClick, isNoAdditionalCharge, initializeFacades, get HouseDesignInterface() { return HouseDesignInterface }, onMounted, ref, watch, computed, ToggleButton, get formatPrice() { return formatPrice }, get FacadeInterface() { return FacadeInterface }, get BuilderQuote() { return BuilderQuote } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./BuilderSelectFacade.vue?vue&type=template&id=177906ea&scoped=true&ts=true&lang=pug\"\nimport script from \"./BuilderSelectFacade.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BuilderSelectFacade.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BuilderSelectFacade.vue?vue&type=style&index=0&id=177906ea&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-177906ea\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/oven-icon-black.png'\nimport _imports_1 from '@/assets/icons/bathtub-icon-black.png'\nimport _imports_2 from '@/assets/icons/sofa-icon-black.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b77fa8a6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"content-browse-interiors\"\n}\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-browse\" }, \"Browse Interiors\", -1))\nconst _hoisted_3 = { class: \"content-bottons\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-jump-to-button\" }, \"Kitchen\", -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-jump-to-button\" }, \"Bathroom\", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-jump-to-button\" }, \"Living\", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return ($setup.props.houseInfo)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n ($setup.props.houseInfo.kitchens.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"jump-button\", { 'selected': $setup.selectedSection === $setup.BuilderSliderSteps.KITCHEN }]),\n onClick: _cache[0] || (_cache[0] = ($event: any) => ($setup.onSelectSection($setup.BuilderSliderSteps.KITCHEN)))\n }, [\n _hoisted_4,\n _createElementVNode(\"img\", {\n class: _normalizeClass([\"small\", { 'icon-white': $setup.selectedSection === $setup.BuilderSliderSteps.KITCHEN }]),\n src: _imports_0\n }, null, 2)\n ], 2))\n : _createCommentVNode(\"\", true),\n ($setup.props.houseInfo.bathroom.options.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: _normalizeClass([\"jump-button\", { 'selected': $setup.selectedSection === $setup.BuilderSliderSteps.BATHROOM }]),\n onClick: _cache[1] || (_cache[1] = ($event: any) => ($setup.onSelectSection($setup.BuilderSliderSteps.BATHROOM)))\n }, [\n _hoisted_5,\n _createElementVNode(\"img\", {\n class: _normalizeClass([\"small\", { 'icon-white': $setup.selectedSection === $setup.BuilderSliderSteps.BATHROOM }]),\n src: _imports_1\n }, null, 2)\n ], 2))\n : _createCommentVNode(\"\", true),\n ($setup.props.houseInfo.loungeRoom.urls.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 2,\n class: _normalizeClass([\"jump-button\", { 'selected': $setup.selectedSection === $setup.BuilderSliderSteps.LIVING }]),\n onClick: _cache[2] || (_cache[2] = ($event: any) => ($setup.onSelectSection($setup.BuilderSliderSteps.LIVING)))\n }, [\n _hoisted_6,\n _createElementVNode(\"img\", {\n class: _normalizeClass([\"small\", { 'icon-white': $setup.selectedSection === $setup.BuilderSliderSteps.LIVING }]),\n src: _imports_2\n }, null, 2)\n ], 2))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { onMounted, ref } from \"vue\";\nimport { HouseDesignInterface } from \"@/types/HouseDesignInterface\";\nimport { BuilderSliderSteps } from \"@/enums/BuilderSliderSteps\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'HouseBrowseInteriors',\n props: {\n houseInfo: {}\n },\n emits: [\"selectSection\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n\n\n\n\nconst selectedSection = ref(null);\n\nconst onSelectSection = (section: BuilderSliderSteps) => {\n selectedSection.value = section;\n emits(\"selectSection\", section);\n};\n\nconst __returned__ = { props, emits, selectedSection, onSelectSection, onMounted, ref, get HouseDesignInterface() { return HouseDesignInterface }, get BuilderSliderSteps() { return BuilderSliderSteps } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./HouseBrowseInteriors.vue?vue&type=template&id=b77fa8a6&scoped=true&ts=true&lang=pug\"\nimport script from \"./HouseBrowseInteriors.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./HouseBrowseInteriors.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./HouseBrowseInteriors.vue?vue&type=style&index=0&id=b77fa8a6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b77fa8a6\"]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BuilderRequestMessageModal.vue?vue&type=style&index=0&id=0384efd5&lang=scss&scoped=true\"","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar INCORRECT_VALUE = global.self !== global;\n\n// `self` getter\n// https://html.spec.whatwg.org/multipage/window-object.html#dom-self\ntry {\n if (DESCRIPTORS) {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n var descriptor = Object.getOwnPropertyDescriptor(global, 'self');\n // some engines have `self`, but with incorrect descriptor\n // https://github.com/denoland/deno/issues/15765\n if (INCORRECT_VALUE || !descriptor || !descriptor.get || !descriptor.enumerable) {\n defineBuiltInAccessor(global, 'self', {\n get: function self() {\n return global;\n },\n set: function self(value) {\n if (this !== global) throw $TypeError('Illegal invocation');\n defineProperty(global, 'self', {\n value: value,\n writable: true,\n configurable: true,\n enumerable: true\n });\n },\n configurable: true,\n enumerable: true\n });\n }\n } else $({ global: true, simple: true, forced: INCORRECT_VALUE }, {\n self: global\n });\n} catch (error) { /* empty */ }\n","/*! Hammer.JS - v2.0.7 - 2016-04-22\n * http://hammerjs.github.io/\n *\n * Copyright (c) 2016 Jorik Tangelder;\n * Licensed under the MIT license */\n(function(window, document, exportName, undefined) {\n 'use strict';\n\nvar VENDOR_PREFIXES = ['', 'webkit', 'Moz', 'MS', 'ms', 'o'];\nvar TEST_ELEMENT = document.createElement('div');\n\nvar TYPE_FUNCTION = 'function';\n\nvar round = Math.round;\nvar abs = Math.abs;\nvar now = Date.now;\n\n/**\n * set a timeout with a given scope\n * @param {Function} fn\n * @param {Number} timeout\n * @param {Object} context\n * @returns {number}\n */\nfunction setTimeoutContext(fn, timeout, context) {\n return setTimeout(bindFn(fn, context), timeout);\n}\n\n/**\n * if the argument is an array, we want to execute the fn on each entry\n * if it aint an array we don't want to do a thing.\n * this is used by all the methods that accept a single and array argument.\n * @param {*|Array} arg\n * @param {String} fn\n * @param {Object} [context]\n * @returns {Boolean}\n */\nfunction invokeArrayArg(arg, fn, context) {\n if (Array.isArray(arg)) {\n each(arg, context[fn], context);\n return true;\n }\n return false;\n}\n\n/**\n * walk objects and arrays\n * @param {Object} obj\n * @param {Function} iterator\n * @param {Object} context\n */\nfunction each(obj, iterator, context) {\n var i;\n\n if (!obj) {\n return;\n }\n\n if (obj.forEach) {\n obj.forEach(iterator, context);\n } else if (obj.length !== undefined) {\n i = 0;\n while (i < obj.length) {\n iterator.call(context, obj[i], i, obj);\n i++;\n }\n } else {\n for (i in obj) {\n obj.hasOwnProperty(i) && iterator.call(context, obj[i], i, obj);\n }\n }\n}\n\n/**\n * wrap a method with a deprecation warning and stack trace\n * @param {Function} method\n * @param {String} name\n * @param {String} message\n * @returns {Function} A new function wrapping the supplied method.\n */\nfunction deprecate(method, name, message) {\n var deprecationMessage = 'DEPRECATED METHOD: ' + name + '\\n' + message + ' AT \\n';\n return function() {\n var e = new Error('get-stack-trace');\n var stack = e && e.stack ? e.stack.replace(/^[^\\(]+?[\\n$]/gm, '')\n .replace(/^\\s+at\\s+/gm, '')\n .replace(/^Object.\\s*\\(/gm, '{anonymous}()@') : 'Unknown Stack Trace';\n\n var log = window.console && (window.console.warn || window.console.log);\n if (log) {\n log.call(window.console, deprecationMessage, stack);\n }\n return method.apply(this, arguments);\n };\n}\n\n/**\n * extend object.\n * means that properties in dest will be overwritten by the ones in src.\n * @param {Object} target\n * @param {...Object} objects_to_assign\n * @returns {Object} target\n */\nvar assign;\nif (typeof Object.assign !== 'function') {\n assign = function assign(target) {\n if (target === undefined || target === null) {\n throw new TypeError('Cannot convert undefined or null to object');\n }\n\n var output = Object(target);\n for (var index = 1; index < arguments.length; index++) {\n var source = arguments[index];\n if (source !== undefined && source !== null) {\n for (var nextKey in source) {\n if (source.hasOwnProperty(nextKey)) {\n output[nextKey] = source[nextKey];\n }\n }\n }\n }\n return output;\n };\n} else {\n assign = Object.assign;\n}\n\n/**\n * extend object.\n * means that properties in dest will be overwritten by the ones in src.\n * @param {Object} dest\n * @param {Object} src\n * @param {Boolean} [merge=false]\n * @returns {Object} dest\n */\nvar extend = deprecate(function extend(dest, src, merge) {\n var keys = Object.keys(src);\n var i = 0;\n while (i < keys.length) {\n if (!merge || (merge && dest[keys[i]] === undefined)) {\n dest[keys[i]] = src[keys[i]];\n }\n i++;\n }\n return dest;\n}, 'extend', 'Use `assign`.');\n\n/**\n * merge the values from src in the dest.\n * means that properties that exist in dest will not be overwritten by src\n * @param {Object} dest\n * @param {Object} src\n * @returns {Object} dest\n */\nvar merge = deprecate(function merge(dest, src) {\n return extend(dest, src, true);\n}, 'merge', 'Use `assign`.');\n\n/**\n * simple class inheritance\n * @param {Function} child\n * @param {Function} base\n * @param {Object} [properties]\n */\nfunction inherit(child, base, properties) {\n var baseP = base.prototype,\n childP;\n\n childP = child.prototype = Object.create(baseP);\n childP.constructor = child;\n childP._super = baseP;\n\n if (properties) {\n assign(childP, properties);\n }\n}\n\n/**\n * simple function bind\n * @param {Function} fn\n * @param {Object} context\n * @returns {Function}\n */\nfunction bindFn(fn, context) {\n return function boundFn() {\n return fn.apply(context, arguments);\n };\n}\n\n/**\n * let a boolean value also be a function that must return a boolean\n * this first item in args will be used as the context\n * @param {Boolean|Function} val\n * @param {Array} [args]\n * @returns {Boolean}\n */\nfunction boolOrFn(val, args) {\n if (typeof val == TYPE_FUNCTION) {\n return val.apply(args ? args[0] || undefined : undefined, args);\n }\n return val;\n}\n\n/**\n * use the val2 when val1 is undefined\n * @param {*} val1\n * @param {*} val2\n * @returns {*}\n */\nfunction ifUndefined(val1, val2) {\n return (val1 === undefined) ? val2 : val1;\n}\n\n/**\n * addEventListener with multiple events at once\n * @param {EventTarget} target\n * @param {String} types\n * @param {Function} handler\n */\nfunction addEventListeners(target, types, handler) {\n each(splitStr(types), function(type) {\n target.addEventListener(type, handler, false);\n });\n}\n\n/**\n * removeEventListener with multiple events at once\n * @param {EventTarget} target\n * @param {String} types\n * @param {Function} handler\n */\nfunction removeEventListeners(target, types, handler) {\n each(splitStr(types), function(type) {\n target.removeEventListener(type, handler, false);\n });\n}\n\n/**\n * find if a node is in the given parent\n * @method hasParent\n * @param {HTMLElement} node\n * @param {HTMLElement} parent\n * @return {Boolean} found\n */\nfunction hasParent(node, parent) {\n while (node) {\n if (node == parent) {\n return true;\n }\n node = node.parentNode;\n }\n return false;\n}\n\n/**\n * small indexOf wrapper\n * @param {String} str\n * @param {String} find\n * @returns {Boolean} found\n */\nfunction inStr(str, find) {\n return str.indexOf(find) > -1;\n}\n\n/**\n * split string on whitespace\n * @param {String} str\n * @returns {Array} words\n */\nfunction splitStr(str) {\n return str.trim().split(/\\s+/g);\n}\n\n/**\n * find if a array contains the object using indexOf or a simple polyFill\n * @param {Array} src\n * @param {String} find\n * @param {String} [findByKey]\n * @return {Boolean|Number} false when not found, or the index\n */\nfunction inArray(src, find, findByKey) {\n if (src.indexOf && !findByKey) {\n return src.indexOf(find);\n } else {\n var i = 0;\n while (i < src.length) {\n if ((findByKey && src[i][findByKey] == find) || (!findByKey && src[i] === find)) {\n return i;\n }\n i++;\n }\n return -1;\n }\n}\n\n/**\n * convert array-like objects to real arrays\n * @param {Object} obj\n * @returns {Array}\n */\nfunction toArray(obj) {\n return Array.prototype.slice.call(obj, 0);\n}\n\n/**\n * unique array with objects based on a key (like 'id') or just by the array's value\n * @param {Array} src [{id:1},{id:2},{id:1}]\n * @param {String} [key]\n * @param {Boolean} [sort=False]\n * @returns {Array} [{id:1},{id:2}]\n */\nfunction uniqueArray(src, key, sort) {\n var results = [];\n var values = [];\n var i = 0;\n\n while (i < src.length) {\n var val = key ? src[i][key] : src[i];\n if (inArray(values, val) < 0) {\n results.push(src[i]);\n }\n values[i] = val;\n i++;\n }\n\n if (sort) {\n if (!key) {\n results = results.sort();\n } else {\n results = results.sort(function sortUniqueArray(a, b) {\n return a[key] > b[key];\n });\n }\n }\n\n return results;\n}\n\n/**\n * get the prefixed property\n * @param {Object} obj\n * @param {String} property\n * @returns {String|Undefined} prefixed\n */\nfunction prefixed(obj, property) {\n var prefix, prop;\n var camelProp = property[0].toUpperCase() + property.slice(1);\n\n var i = 0;\n while (i < VENDOR_PREFIXES.length) {\n prefix = VENDOR_PREFIXES[i];\n prop = (prefix) ? prefix + camelProp : property;\n\n if (prop in obj) {\n return prop;\n }\n i++;\n }\n return undefined;\n}\n\n/**\n * get a unique id\n * @returns {number} uniqueId\n */\nvar _uniqueId = 1;\nfunction uniqueId() {\n return _uniqueId++;\n}\n\n/**\n * get the window object of an element\n * @param {HTMLElement} element\n * @returns {DocumentView|Window}\n */\nfunction getWindowForElement(element) {\n var doc = element.ownerDocument || element;\n return (doc.defaultView || doc.parentWindow || window);\n}\n\nvar MOBILE_REGEX = /mobile|tablet|ip(ad|hone|od)|android/i;\n\nvar SUPPORT_TOUCH = ('ontouchstart' in window);\nvar SUPPORT_POINTER_EVENTS = prefixed(window, 'PointerEvent') !== undefined;\nvar SUPPORT_ONLY_TOUCH = SUPPORT_TOUCH && MOBILE_REGEX.test(navigator.userAgent);\n\nvar INPUT_TYPE_TOUCH = 'touch';\nvar INPUT_TYPE_PEN = 'pen';\nvar INPUT_TYPE_MOUSE = 'mouse';\nvar INPUT_TYPE_KINECT = 'kinect';\n\nvar COMPUTE_INTERVAL = 25;\n\nvar INPUT_START = 1;\nvar INPUT_MOVE = 2;\nvar INPUT_END = 4;\nvar INPUT_CANCEL = 8;\n\nvar DIRECTION_NONE = 1;\nvar DIRECTION_LEFT = 2;\nvar DIRECTION_RIGHT = 4;\nvar DIRECTION_UP = 8;\nvar DIRECTION_DOWN = 16;\n\nvar DIRECTION_HORIZONTAL = DIRECTION_LEFT | DIRECTION_RIGHT;\nvar DIRECTION_VERTICAL = DIRECTION_UP | DIRECTION_DOWN;\nvar DIRECTION_ALL = DIRECTION_HORIZONTAL | DIRECTION_VERTICAL;\n\nvar PROPS_XY = ['x', 'y'];\nvar PROPS_CLIENT_XY = ['clientX', 'clientY'];\n\n/**\n * create new input type manager\n * @param {Manager} manager\n * @param {Function} callback\n * @returns {Input}\n * @constructor\n */\nfunction Input(manager, callback) {\n var self = this;\n this.manager = manager;\n this.callback = callback;\n this.element = manager.element;\n this.target = manager.options.inputTarget;\n\n // smaller wrapper around the handler, for the scope and the enabled state of the manager,\n // so when disabled the input events are completely bypassed.\n this.domHandler = function(ev) {\n if (boolOrFn(manager.options.enable, [manager])) {\n self.handler(ev);\n }\n };\n\n this.init();\n\n}\n\nInput.prototype = {\n /**\n * should handle the inputEvent data and trigger the callback\n * @virtual\n */\n handler: function() { },\n\n /**\n * bind the events\n */\n init: function() {\n this.evEl && addEventListeners(this.element, this.evEl, this.domHandler);\n this.evTarget && addEventListeners(this.target, this.evTarget, this.domHandler);\n this.evWin && addEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);\n },\n\n /**\n * unbind the events\n */\n destroy: function() {\n this.evEl && removeEventListeners(this.element, this.evEl, this.domHandler);\n this.evTarget && removeEventListeners(this.target, this.evTarget, this.domHandler);\n this.evWin && removeEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);\n }\n};\n\n/**\n * create new input type manager\n * called by the Manager constructor\n * @param {Hammer} manager\n * @returns {Input}\n */\nfunction createInputInstance(manager) {\n var Type;\n var inputClass = manager.options.inputClass;\n\n if (inputClass) {\n Type = inputClass;\n } else if (SUPPORT_POINTER_EVENTS) {\n Type = PointerEventInput;\n } else if (SUPPORT_ONLY_TOUCH) {\n Type = TouchInput;\n } else if (!SUPPORT_TOUCH) {\n Type = MouseInput;\n } else {\n Type = TouchMouseInput;\n }\n return new (Type)(manager, inputHandler);\n}\n\n/**\n * handle input events\n * @param {Manager} manager\n * @param {String} eventType\n * @param {Object} input\n */\nfunction inputHandler(manager, eventType, input) {\n var pointersLen = input.pointers.length;\n var changedPointersLen = input.changedPointers.length;\n var isFirst = (eventType & INPUT_START && (pointersLen - changedPointersLen === 0));\n var isFinal = (eventType & (INPUT_END | INPUT_CANCEL) && (pointersLen - changedPointersLen === 0));\n\n input.isFirst = !!isFirst;\n input.isFinal = !!isFinal;\n\n if (isFirst) {\n manager.session = {};\n }\n\n // source event is the normalized value of the domEvents\n // like 'touchstart, mouseup, pointerdown'\n input.eventType = eventType;\n\n // compute scale, rotation etc\n computeInputData(manager, input);\n\n // emit secret event\n manager.emit('hammer.input', input);\n\n manager.recognize(input);\n manager.session.prevInput = input;\n}\n\n/**\n * extend the data with some usable properties like scale, rotate, velocity etc\n * @param {Object} manager\n * @param {Object} input\n */\nfunction computeInputData(manager, input) {\n var session = manager.session;\n var pointers = input.pointers;\n var pointersLength = pointers.length;\n\n // store the first input to calculate the distance and direction\n if (!session.firstInput) {\n session.firstInput = simpleCloneInputData(input);\n }\n\n // to compute scale and rotation we need to store the multiple touches\n if (pointersLength > 1 && !session.firstMultiple) {\n session.firstMultiple = simpleCloneInputData(input);\n } else if (pointersLength === 1) {\n session.firstMultiple = false;\n }\n\n var firstInput = session.firstInput;\n var firstMultiple = session.firstMultiple;\n var offsetCenter = firstMultiple ? firstMultiple.center : firstInput.center;\n\n var center = input.center = getCenter(pointers);\n input.timeStamp = now();\n input.deltaTime = input.timeStamp - firstInput.timeStamp;\n\n input.angle = getAngle(offsetCenter, center);\n input.distance = getDistance(offsetCenter, center);\n\n computeDeltaXY(session, input);\n input.offsetDirection = getDirection(input.deltaX, input.deltaY);\n\n var overallVelocity = getVelocity(input.deltaTime, input.deltaX, input.deltaY);\n input.overallVelocityX = overallVelocity.x;\n input.overallVelocityY = overallVelocity.y;\n input.overallVelocity = (abs(overallVelocity.x) > abs(overallVelocity.y)) ? overallVelocity.x : overallVelocity.y;\n\n input.scale = firstMultiple ? getScale(firstMultiple.pointers, pointers) : 1;\n input.rotation = firstMultiple ? getRotation(firstMultiple.pointers, pointers) : 0;\n\n input.maxPointers = !session.prevInput ? input.pointers.length : ((input.pointers.length >\n session.prevInput.maxPointers) ? input.pointers.length : session.prevInput.maxPointers);\n\n computeIntervalInputData(session, input);\n\n // find the correct target\n var target = manager.element;\n if (hasParent(input.srcEvent.target, target)) {\n target = input.srcEvent.target;\n }\n input.target = target;\n}\n\nfunction computeDeltaXY(session, input) {\n var center = input.center;\n var offset = session.offsetDelta || {};\n var prevDelta = session.prevDelta || {};\n var prevInput = session.prevInput || {};\n\n if (input.eventType === INPUT_START || prevInput.eventType === INPUT_END) {\n prevDelta = session.prevDelta = {\n x: prevInput.deltaX || 0,\n y: prevInput.deltaY || 0\n };\n\n offset = session.offsetDelta = {\n x: center.x,\n y: center.y\n };\n }\n\n input.deltaX = prevDelta.x + (center.x - offset.x);\n input.deltaY = prevDelta.y + (center.y - offset.y);\n}\n\n/**\n * velocity is calculated every x ms\n * @param {Object} session\n * @param {Object} input\n */\nfunction computeIntervalInputData(session, input) {\n var last = session.lastInterval || input,\n deltaTime = input.timeStamp - last.timeStamp,\n velocity, velocityX, velocityY, direction;\n\n if (input.eventType != INPUT_CANCEL && (deltaTime > COMPUTE_INTERVAL || last.velocity === undefined)) {\n var deltaX = input.deltaX - last.deltaX;\n var deltaY = input.deltaY - last.deltaY;\n\n var v = getVelocity(deltaTime, deltaX, deltaY);\n velocityX = v.x;\n velocityY = v.y;\n velocity = (abs(v.x) > abs(v.y)) ? v.x : v.y;\n direction = getDirection(deltaX, deltaY);\n\n session.lastInterval = input;\n } else {\n // use latest velocity info if it doesn't overtake a minimum period\n velocity = last.velocity;\n velocityX = last.velocityX;\n velocityY = last.velocityY;\n direction = last.direction;\n }\n\n input.velocity = velocity;\n input.velocityX = velocityX;\n input.velocityY = velocityY;\n input.direction = direction;\n}\n\n/**\n * create a simple clone from the input used for storage of firstInput and firstMultiple\n * @param {Object} input\n * @returns {Object} clonedInputData\n */\nfunction simpleCloneInputData(input) {\n // make a simple copy of the pointers because we will get a reference if we don't\n // we only need clientXY for the calculations\n var pointers = [];\n var i = 0;\n while (i < input.pointers.length) {\n pointers[i] = {\n clientX: round(input.pointers[i].clientX),\n clientY: round(input.pointers[i].clientY)\n };\n i++;\n }\n\n return {\n timeStamp: now(),\n pointers: pointers,\n center: getCenter(pointers),\n deltaX: input.deltaX,\n deltaY: input.deltaY\n };\n}\n\n/**\n * get the center of all the pointers\n * @param {Array} pointers\n * @return {Object} center contains `x` and `y` properties\n */\nfunction getCenter(pointers) {\n var pointersLength = pointers.length;\n\n // no need to loop when only one touch\n if (pointersLength === 1) {\n return {\n x: round(pointers[0].clientX),\n y: round(pointers[0].clientY)\n };\n }\n\n var x = 0, y = 0, i = 0;\n while (i < pointersLength) {\n x += pointers[i].clientX;\n y += pointers[i].clientY;\n i++;\n }\n\n return {\n x: round(x / pointersLength),\n y: round(y / pointersLength)\n };\n}\n\n/**\n * calculate the velocity between two points. unit is in px per ms.\n * @param {Number} deltaTime\n * @param {Number} x\n * @param {Number} y\n * @return {Object} velocity `x` and `y`\n */\nfunction getVelocity(deltaTime, x, y) {\n return {\n x: x / deltaTime || 0,\n y: y / deltaTime || 0\n };\n}\n\n/**\n * get the direction between two points\n * @param {Number} x\n * @param {Number} y\n * @return {Number} direction\n */\nfunction getDirection(x, y) {\n if (x === y) {\n return DIRECTION_NONE;\n }\n\n if (abs(x) >= abs(y)) {\n return x < 0 ? DIRECTION_LEFT : DIRECTION_RIGHT;\n }\n return y < 0 ? DIRECTION_UP : DIRECTION_DOWN;\n}\n\n/**\n * calculate the absolute distance between two points\n * @param {Object} p1 {x, y}\n * @param {Object} p2 {x, y}\n * @param {Array} [props] containing x and y keys\n * @return {Number} distance\n */\nfunction getDistance(p1, p2, props) {\n if (!props) {\n props = PROPS_XY;\n }\n var x = p2[props[0]] - p1[props[0]],\n y = p2[props[1]] - p1[props[1]];\n\n return Math.sqrt((x * x) + (y * y));\n}\n\n/**\n * calculate the angle between two coordinates\n * @param {Object} p1\n * @param {Object} p2\n * @param {Array} [props] containing x and y keys\n * @return {Number} angle\n */\nfunction getAngle(p1, p2, props) {\n if (!props) {\n props = PROPS_XY;\n }\n var x = p2[props[0]] - p1[props[0]],\n y = p2[props[1]] - p1[props[1]];\n return Math.atan2(y, x) * 180 / Math.PI;\n}\n\n/**\n * calculate the rotation degrees between two pointersets\n * @param {Array} start array of pointers\n * @param {Array} end array of pointers\n * @return {Number} rotation\n */\nfunction getRotation(start, end) {\n return getAngle(end[1], end[0], PROPS_CLIENT_XY) + getAngle(start[1], start[0], PROPS_CLIENT_XY);\n}\n\n/**\n * calculate the scale factor between two pointersets\n * no scale is 1, and goes down to 0 when pinched together, and bigger when pinched out\n * @param {Array} start array of pointers\n * @param {Array} end array of pointers\n * @return {Number} scale\n */\nfunction getScale(start, end) {\n return getDistance(end[0], end[1], PROPS_CLIENT_XY) / getDistance(start[0], start[1], PROPS_CLIENT_XY);\n}\n\nvar MOUSE_INPUT_MAP = {\n mousedown: INPUT_START,\n mousemove: INPUT_MOVE,\n mouseup: INPUT_END\n};\n\nvar MOUSE_ELEMENT_EVENTS = 'mousedown';\nvar MOUSE_WINDOW_EVENTS = 'mousemove mouseup';\n\n/**\n * Mouse events input\n * @constructor\n * @extends Input\n */\nfunction MouseInput() {\n this.evEl = MOUSE_ELEMENT_EVENTS;\n this.evWin = MOUSE_WINDOW_EVENTS;\n\n this.pressed = false; // mousedown state\n\n Input.apply(this, arguments);\n}\n\ninherit(MouseInput, Input, {\n /**\n * handle mouse events\n * @param {Object} ev\n */\n handler: function MEhandler(ev) {\n var eventType = MOUSE_INPUT_MAP[ev.type];\n\n // on start we want to have the left mouse button down\n if (eventType & INPUT_START && ev.button === 0) {\n this.pressed = true;\n }\n\n if (eventType & INPUT_MOVE && ev.which !== 1) {\n eventType = INPUT_END;\n }\n\n // mouse must be down\n if (!this.pressed) {\n return;\n }\n\n if (eventType & INPUT_END) {\n this.pressed = false;\n }\n\n this.callback(this.manager, eventType, {\n pointers: [ev],\n changedPointers: [ev],\n pointerType: INPUT_TYPE_MOUSE,\n srcEvent: ev\n });\n }\n});\n\nvar POINTER_INPUT_MAP = {\n pointerdown: INPUT_START,\n pointermove: INPUT_MOVE,\n pointerup: INPUT_END,\n pointercancel: INPUT_CANCEL,\n pointerout: INPUT_CANCEL\n};\n\n// in IE10 the pointer types is defined as an enum\nvar IE10_POINTER_TYPE_ENUM = {\n 2: INPUT_TYPE_TOUCH,\n 3: INPUT_TYPE_PEN,\n 4: INPUT_TYPE_MOUSE,\n 5: INPUT_TYPE_KINECT // see https://twitter.com/jacobrossi/status/480596438489890816\n};\n\nvar POINTER_ELEMENT_EVENTS = 'pointerdown';\nvar POINTER_WINDOW_EVENTS = 'pointermove pointerup pointercancel';\n\n// IE10 has prefixed support, and case-sensitive\nif (window.MSPointerEvent && !window.PointerEvent) {\n POINTER_ELEMENT_EVENTS = 'MSPointerDown';\n POINTER_WINDOW_EVENTS = 'MSPointerMove MSPointerUp MSPointerCancel';\n}\n\n/**\n * Pointer events input\n * @constructor\n * @extends Input\n */\nfunction PointerEventInput() {\n this.evEl = POINTER_ELEMENT_EVENTS;\n this.evWin = POINTER_WINDOW_EVENTS;\n\n Input.apply(this, arguments);\n\n this.store = (this.manager.session.pointerEvents = []);\n}\n\ninherit(PointerEventInput, Input, {\n /**\n * handle mouse events\n * @param {Object} ev\n */\n handler: function PEhandler(ev) {\n var store = this.store;\n var removePointer = false;\n\n var eventTypeNormalized = ev.type.toLowerCase().replace('ms', '');\n var eventType = POINTER_INPUT_MAP[eventTypeNormalized];\n var pointerType = IE10_POINTER_TYPE_ENUM[ev.pointerType] || ev.pointerType;\n\n var isTouch = (pointerType == INPUT_TYPE_TOUCH);\n\n // get index of the event in the store\n var storeIndex = inArray(store, ev.pointerId, 'pointerId');\n\n // start and mouse must be down\n if (eventType & INPUT_START && (ev.button === 0 || isTouch)) {\n if (storeIndex < 0) {\n store.push(ev);\n storeIndex = store.length - 1;\n }\n } else if (eventType & (INPUT_END | INPUT_CANCEL)) {\n removePointer = true;\n }\n\n // it not found, so the pointer hasn't been down (so it's probably a hover)\n if (storeIndex < 0) {\n return;\n }\n\n // update the event in the store\n store[storeIndex] = ev;\n\n this.callback(this.manager, eventType, {\n pointers: store,\n changedPointers: [ev],\n pointerType: pointerType,\n srcEvent: ev\n });\n\n if (removePointer) {\n // remove from the store\n store.splice(storeIndex, 1);\n }\n }\n});\n\nvar SINGLE_TOUCH_INPUT_MAP = {\n touchstart: INPUT_START,\n touchmove: INPUT_MOVE,\n touchend: INPUT_END,\n touchcancel: INPUT_CANCEL\n};\n\nvar SINGLE_TOUCH_TARGET_EVENTS = 'touchstart';\nvar SINGLE_TOUCH_WINDOW_EVENTS = 'touchstart touchmove touchend touchcancel';\n\n/**\n * Touch events input\n * @constructor\n * @extends Input\n */\nfunction SingleTouchInput() {\n this.evTarget = SINGLE_TOUCH_TARGET_EVENTS;\n this.evWin = SINGLE_TOUCH_WINDOW_EVENTS;\n this.started = false;\n\n Input.apply(this, arguments);\n}\n\ninherit(SingleTouchInput, Input, {\n handler: function TEhandler(ev) {\n var type = SINGLE_TOUCH_INPUT_MAP[ev.type];\n\n // should we handle the touch events?\n if (type === INPUT_START) {\n this.started = true;\n }\n\n if (!this.started) {\n return;\n }\n\n var touches = normalizeSingleTouches.call(this, ev, type);\n\n // when done, reset the started state\n if (type & (INPUT_END | INPUT_CANCEL) && touches[0].length - touches[1].length === 0) {\n this.started = false;\n }\n\n this.callback(this.manager, type, {\n pointers: touches[0],\n changedPointers: touches[1],\n pointerType: INPUT_TYPE_TOUCH,\n srcEvent: ev\n });\n }\n});\n\n/**\n * @this {TouchInput}\n * @param {Object} ev\n * @param {Number} type flag\n * @returns {undefined|Array} [all, changed]\n */\nfunction normalizeSingleTouches(ev, type) {\n var all = toArray(ev.touches);\n var changed = toArray(ev.changedTouches);\n\n if (type & (INPUT_END | INPUT_CANCEL)) {\n all = uniqueArray(all.concat(changed), 'identifier', true);\n }\n\n return [all, changed];\n}\n\nvar TOUCH_INPUT_MAP = {\n touchstart: INPUT_START,\n touchmove: INPUT_MOVE,\n touchend: INPUT_END,\n touchcancel: INPUT_CANCEL\n};\n\nvar TOUCH_TARGET_EVENTS = 'touchstart touchmove touchend touchcancel';\n\n/**\n * Multi-user touch events input\n * @constructor\n * @extends Input\n */\nfunction TouchInput() {\n this.evTarget = TOUCH_TARGET_EVENTS;\n this.targetIds = {};\n\n Input.apply(this, arguments);\n}\n\ninherit(TouchInput, Input, {\n handler: function MTEhandler(ev) {\n var type = TOUCH_INPUT_MAP[ev.type];\n var touches = getTouches.call(this, ev, type);\n if (!touches) {\n return;\n }\n\n this.callback(this.manager, type, {\n pointers: touches[0],\n changedPointers: touches[1],\n pointerType: INPUT_TYPE_TOUCH,\n srcEvent: ev\n });\n }\n});\n\n/**\n * @this {TouchInput}\n * @param {Object} ev\n * @param {Number} type flag\n * @returns {undefined|Array} [all, changed]\n */\nfunction getTouches(ev, type) {\n var allTouches = toArray(ev.touches);\n var targetIds = this.targetIds;\n\n // when there is only one touch, the process can be simplified\n if (type & (INPUT_START | INPUT_MOVE) && allTouches.length === 1) {\n targetIds[allTouches[0].identifier] = true;\n return [allTouches, allTouches];\n }\n\n var i,\n targetTouches,\n changedTouches = toArray(ev.changedTouches),\n changedTargetTouches = [],\n target = this.target;\n\n // get target touches from touches\n targetTouches = allTouches.filter(function(touch) {\n return hasParent(touch.target, target);\n });\n\n // collect touches\n if (type === INPUT_START) {\n i = 0;\n while (i < targetTouches.length) {\n targetIds[targetTouches[i].identifier] = true;\n i++;\n }\n }\n\n // filter changed touches to only contain touches that exist in the collected target ids\n i = 0;\n while (i < changedTouches.length) {\n if (targetIds[changedTouches[i].identifier]) {\n changedTargetTouches.push(changedTouches[i]);\n }\n\n // cleanup removed touches\n if (type & (INPUT_END | INPUT_CANCEL)) {\n delete targetIds[changedTouches[i].identifier];\n }\n i++;\n }\n\n if (!changedTargetTouches.length) {\n return;\n }\n\n return [\n // merge targetTouches with changedTargetTouches so it contains ALL touches, including 'end' and 'cancel'\n uniqueArray(targetTouches.concat(changedTargetTouches), 'identifier', true),\n changedTargetTouches\n ];\n}\n\n/**\n * Combined touch and mouse input\n *\n * Touch has a higher priority then mouse, and while touching no mouse events are allowed.\n * This because touch devices also emit mouse events while doing a touch.\n *\n * @constructor\n * @extends Input\n */\n\nvar DEDUP_TIMEOUT = 2500;\nvar DEDUP_DISTANCE = 25;\n\nfunction TouchMouseInput() {\n Input.apply(this, arguments);\n\n var handler = bindFn(this.handler, this);\n this.touch = new TouchInput(this.manager, handler);\n this.mouse = new MouseInput(this.manager, handler);\n\n this.primaryTouch = null;\n this.lastTouches = [];\n}\n\ninherit(TouchMouseInput, Input, {\n /**\n * handle mouse and touch events\n * @param {Hammer} manager\n * @param {String} inputEvent\n * @param {Object} inputData\n */\n handler: function TMEhandler(manager, inputEvent, inputData) {\n var isTouch = (inputData.pointerType == INPUT_TYPE_TOUCH),\n isMouse = (inputData.pointerType == INPUT_TYPE_MOUSE);\n\n if (isMouse && inputData.sourceCapabilities && inputData.sourceCapabilities.firesTouchEvents) {\n return;\n }\n\n // when we're in a touch event, record touches to de-dupe synthetic mouse event\n if (isTouch) {\n recordTouches.call(this, inputEvent, inputData);\n } else if (isMouse && isSyntheticEvent.call(this, inputData)) {\n return;\n }\n\n this.callback(manager, inputEvent, inputData);\n },\n\n /**\n * remove the event listeners\n */\n destroy: function destroy() {\n this.touch.destroy();\n this.mouse.destroy();\n }\n});\n\nfunction recordTouches(eventType, eventData) {\n if (eventType & INPUT_START) {\n this.primaryTouch = eventData.changedPointers[0].identifier;\n setLastTouch.call(this, eventData);\n } else if (eventType & (INPUT_END | INPUT_CANCEL)) {\n setLastTouch.call(this, eventData);\n }\n}\n\nfunction setLastTouch(eventData) {\n var touch = eventData.changedPointers[0];\n\n if (touch.identifier === this.primaryTouch) {\n var lastTouch = {x: touch.clientX, y: touch.clientY};\n this.lastTouches.push(lastTouch);\n var lts = this.lastTouches;\n var removeLastTouch = function() {\n var i = lts.indexOf(lastTouch);\n if (i > -1) {\n lts.splice(i, 1);\n }\n };\n setTimeout(removeLastTouch, DEDUP_TIMEOUT);\n }\n}\n\nfunction isSyntheticEvent(eventData) {\n var x = eventData.srcEvent.clientX, y = eventData.srcEvent.clientY;\n for (var i = 0; i < this.lastTouches.length; i++) {\n var t = this.lastTouches[i];\n var dx = Math.abs(x - t.x), dy = Math.abs(y - t.y);\n if (dx <= DEDUP_DISTANCE && dy <= DEDUP_DISTANCE) {\n return true;\n }\n }\n return false;\n}\n\nvar PREFIXED_TOUCH_ACTION = prefixed(TEST_ELEMENT.style, 'touchAction');\nvar NATIVE_TOUCH_ACTION = PREFIXED_TOUCH_ACTION !== undefined;\n\n// magical touchAction value\nvar TOUCH_ACTION_COMPUTE = 'compute';\nvar TOUCH_ACTION_AUTO = 'auto';\nvar TOUCH_ACTION_MANIPULATION = 'manipulation'; // not implemented\nvar TOUCH_ACTION_NONE = 'none';\nvar TOUCH_ACTION_PAN_X = 'pan-x';\nvar TOUCH_ACTION_PAN_Y = 'pan-y';\nvar TOUCH_ACTION_MAP = getTouchActionProps();\n\n/**\n * Touch Action\n * sets the touchAction property or uses the js alternative\n * @param {Manager} manager\n * @param {String} value\n * @constructor\n */\nfunction TouchAction(manager, value) {\n this.manager = manager;\n this.set(value);\n}\n\nTouchAction.prototype = {\n /**\n * set the touchAction value on the element or enable the polyfill\n * @param {String} value\n */\n set: function(value) {\n // find out the touch-action by the event handlers\n if (value == TOUCH_ACTION_COMPUTE) {\n value = this.compute();\n }\n\n if (NATIVE_TOUCH_ACTION && this.manager.element.style && TOUCH_ACTION_MAP[value]) {\n this.manager.element.style[PREFIXED_TOUCH_ACTION] = value;\n }\n this.actions = value.toLowerCase().trim();\n },\n\n /**\n * just re-set the touchAction value\n */\n update: function() {\n this.set(this.manager.options.touchAction);\n },\n\n /**\n * compute the value for the touchAction property based on the recognizer's settings\n * @returns {String} value\n */\n compute: function() {\n var actions = [];\n each(this.manager.recognizers, function(recognizer) {\n if (boolOrFn(recognizer.options.enable, [recognizer])) {\n actions = actions.concat(recognizer.getTouchAction());\n }\n });\n return cleanTouchActions(actions.join(' '));\n },\n\n /**\n * this method is called on each input cycle and provides the preventing of the browser behavior\n * @param {Object} input\n */\n preventDefaults: function(input) {\n var srcEvent = input.srcEvent;\n var direction = input.offsetDirection;\n\n // if the touch action did prevented once this session\n if (this.manager.session.prevented) {\n srcEvent.preventDefault();\n return;\n }\n\n var actions = this.actions;\n var hasNone = inStr(actions, TOUCH_ACTION_NONE) && !TOUCH_ACTION_MAP[TOUCH_ACTION_NONE];\n var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_Y];\n var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_X];\n\n if (hasNone) {\n //do not prevent defaults if this is a tap gesture\n\n var isTapPointer = input.pointers.length === 1;\n var isTapMovement = input.distance < 2;\n var isTapTouchTime = input.deltaTime < 250;\n\n if (isTapPointer && isTapMovement && isTapTouchTime) {\n return;\n }\n }\n\n if (hasPanX && hasPanY) {\n // `pan-x pan-y` means browser handles all scrolling/panning, do not prevent\n return;\n }\n\n if (hasNone ||\n (hasPanY && direction & DIRECTION_HORIZONTAL) ||\n (hasPanX && direction & DIRECTION_VERTICAL)) {\n return this.preventSrc(srcEvent);\n }\n },\n\n /**\n * call preventDefault to prevent the browser's default behavior (scrolling in most cases)\n * @param {Object} srcEvent\n */\n preventSrc: function(srcEvent) {\n this.manager.session.prevented = true;\n srcEvent.preventDefault();\n }\n};\n\n/**\n * when the touchActions are collected they are not a valid value, so we need to clean things up. *\n * @param {String} actions\n * @returns {*}\n */\nfunction cleanTouchActions(actions) {\n // none\n if (inStr(actions, TOUCH_ACTION_NONE)) {\n return TOUCH_ACTION_NONE;\n }\n\n var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X);\n var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y);\n\n // if both pan-x and pan-y are set (different recognizers\n // for different directions, e.g. horizontal pan but vertical swipe?)\n // we need none (as otherwise with pan-x pan-y combined none of these\n // recognizers will work, since the browser would handle all panning\n if (hasPanX && hasPanY) {\n return TOUCH_ACTION_NONE;\n }\n\n // pan-x OR pan-y\n if (hasPanX || hasPanY) {\n return hasPanX ? TOUCH_ACTION_PAN_X : TOUCH_ACTION_PAN_Y;\n }\n\n // manipulation\n if (inStr(actions, TOUCH_ACTION_MANIPULATION)) {\n return TOUCH_ACTION_MANIPULATION;\n }\n\n return TOUCH_ACTION_AUTO;\n}\n\nfunction getTouchActionProps() {\n if (!NATIVE_TOUCH_ACTION) {\n return false;\n }\n var touchMap = {};\n var cssSupports = window.CSS && window.CSS.supports;\n ['auto', 'manipulation', 'pan-y', 'pan-x', 'pan-x pan-y', 'none'].forEach(function(val) {\n\n // If css.supports is not supported but there is native touch-action assume it supports\n // all values. This is the case for IE 10 and 11.\n touchMap[val] = cssSupports ? window.CSS.supports('touch-action', val) : true;\n });\n return touchMap;\n}\n\n/**\n * Recognizer flow explained; *\n * All recognizers have the initial state of POSSIBLE when a input session starts.\n * The definition of a input session is from the first input until the last input, with all it's movement in it. *\n * Example session for mouse-input: mousedown -> mousemove -> mouseup\n *\n * On each recognizing cycle (see Manager.recognize) the .recognize() method is executed\n * which determines with state it should be.\n *\n * If the recognizer has the state FAILED, CANCELLED or RECOGNIZED (equals ENDED), it is reset to\n * POSSIBLE to give it another change on the next cycle.\n *\n * Possible\n * |\n * +-----+---------------+\n * | |\n * +-----+-----+ |\n * | | |\n * Failed Cancelled |\n * +-------+------+\n * | |\n * Recognized Began\n * |\n * Changed\n * |\n * Ended/Recognized\n */\nvar STATE_POSSIBLE = 1;\nvar STATE_BEGAN = 2;\nvar STATE_CHANGED = 4;\nvar STATE_ENDED = 8;\nvar STATE_RECOGNIZED = STATE_ENDED;\nvar STATE_CANCELLED = 16;\nvar STATE_FAILED = 32;\n\n/**\n * Recognizer\n * Every recognizer needs to extend from this class.\n * @constructor\n * @param {Object} options\n */\nfunction Recognizer(options) {\n this.options = assign({}, this.defaults, options || {});\n\n this.id = uniqueId();\n\n this.manager = null;\n\n // default is enable true\n this.options.enable = ifUndefined(this.options.enable, true);\n\n this.state = STATE_POSSIBLE;\n\n this.simultaneous = {};\n this.requireFail = [];\n}\n\nRecognizer.prototype = {\n /**\n * @virtual\n * @type {Object}\n */\n defaults: {},\n\n /**\n * set options\n * @param {Object} options\n * @return {Recognizer}\n */\n set: function(options) {\n assign(this.options, options);\n\n // also update the touchAction, in case something changed about the directions/enabled state\n this.manager && this.manager.touchAction.update();\n return this;\n },\n\n /**\n * recognize simultaneous with an other recognizer.\n * @param {Recognizer} otherRecognizer\n * @returns {Recognizer} this\n */\n recognizeWith: function(otherRecognizer) {\n if (invokeArrayArg(otherRecognizer, 'recognizeWith', this)) {\n return this;\n }\n\n var simultaneous = this.simultaneous;\n otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n if (!simultaneous[otherRecognizer.id]) {\n simultaneous[otherRecognizer.id] = otherRecognizer;\n otherRecognizer.recognizeWith(this);\n }\n return this;\n },\n\n /**\n * drop the simultaneous link. it doesnt remove the link on the other recognizer.\n * @param {Recognizer} otherRecognizer\n * @returns {Recognizer} this\n */\n dropRecognizeWith: function(otherRecognizer) {\n if (invokeArrayArg(otherRecognizer, 'dropRecognizeWith', this)) {\n return this;\n }\n\n otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n delete this.simultaneous[otherRecognizer.id];\n return this;\n },\n\n /**\n * recognizer can only run when an other is failing\n * @param {Recognizer} otherRecognizer\n * @returns {Recognizer} this\n */\n requireFailure: function(otherRecognizer) {\n if (invokeArrayArg(otherRecognizer, 'requireFailure', this)) {\n return this;\n }\n\n var requireFail = this.requireFail;\n otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n if (inArray(requireFail, otherRecognizer) === -1) {\n requireFail.push(otherRecognizer);\n otherRecognizer.requireFailure(this);\n }\n return this;\n },\n\n /**\n * drop the requireFailure link. it does not remove the link on the other recognizer.\n * @param {Recognizer} otherRecognizer\n * @returns {Recognizer} this\n */\n dropRequireFailure: function(otherRecognizer) {\n if (invokeArrayArg(otherRecognizer, 'dropRequireFailure', this)) {\n return this;\n }\n\n otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n var index = inArray(this.requireFail, otherRecognizer);\n if (index > -1) {\n this.requireFail.splice(index, 1);\n }\n return this;\n },\n\n /**\n * has require failures boolean\n * @returns {boolean}\n */\n hasRequireFailures: function() {\n return this.requireFail.length > 0;\n },\n\n /**\n * if the recognizer can recognize simultaneous with an other recognizer\n * @param {Recognizer} otherRecognizer\n * @returns {Boolean}\n */\n canRecognizeWith: function(otherRecognizer) {\n return !!this.simultaneous[otherRecognizer.id];\n },\n\n /**\n * You should use `tryEmit` instead of `emit` directly to check\n * that all the needed recognizers has failed before emitting.\n * @param {Object} input\n */\n emit: function(input) {\n var self = this;\n var state = this.state;\n\n function emit(event) {\n self.manager.emit(event, input);\n }\n\n // 'panstart' and 'panmove'\n if (state < STATE_ENDED) {\n emit(self.options.event + stateStr(state));\n }\n\n emit(self.options.event); // simple 'eventName' events\n\n if (input.additionalEvent) { // additional event(panleft, panright, pinchin, pinchout...)\n emit(input.additionalEvent);\n }\n\n // panend and pancancel\n if (state >= STATE_ENDED) {\n emit(self.options.event + stateStr(state));\n }\n },\n\n /**\n * Check that all the require failure recognizers has failed,\n * if true, it emits a gesture event,\n * otherwise, setup the state to FAILED.\n * @param {Object} input\n */\n tryEmit: function(input) {\n if (this.canEmit()) {\n return this.emit(input);\n }\n // it's failing anyway\n this.state = STATE_FAILED;\n },\n\n /**\n * can we emit?\n * @returns {boolean}\n */\n canEmit: function() {\n var i = 0;\n while (i < this.requireFail.length) {\n if (!(this.requireFail[i].state & (STATE_FAILED | STATE_POSSIBLE))) {\n return false;\n }\n i++;\n }\n return true;\n },\n\n /**\n * update the recognizer\n * @param {Object} inputData\n */\n recognize: function(inputData) {\n // make a new copy of the inputData\n // so we can change the inputData without messing up the other recognizers\n var inputDataClone = assign({}, inputData);\n\n // is is enabled and allow recognizing?\n if (!boolOrFn(this.options.enable, [this, inputDataClone])) {\n this.reset();\n this.state = STATE_FAILED;\n return;\n }\n\n // reset when we've reached the end\n if (this.state & (STATE_RECOGNIZED | STATE_CANCELLED | STATE_FAILED)) {\n this.state = STATE_POSSIBLE;\n }\n\n this.state = this.process(inputDataClone);\n\n // the recognizer has recognized a gesture\n // so trigger an event\n if (this.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED | STATE_CANCELLED)) {\n this.tryEmit(inputDataClone);\n }\n },\n\n /**\n * return the state of the recognizer\n * the actual recognizing happens in this method\n * @virtual\n * @param {Object} inputData\n * @returns {Const} STATE\n */\n process: function(inputData) { }, // jshint ignore:line\n\n /**\n * return the preferred touch-action\n * @virtual\n * @returns {Array}\n */\n getTouchAction: function() { },\n\n /**\n * called when the gesture isn't allowed to recognize\n * like when another is being recognized or it is disabled\n * @virtual\n */\n reset: function() { }\n};\n\n/**\n * get a usable string, used as event postfix\n * @param {Const} state\n * @returns {String} state\n */\nfunction stateStr(state) {\n if (state & STATE_CANCELLED) {\n return 'cancel';\n } else if (state & STATE_ENDED) {\n return 'end';\n } else if (state & STATE_CHANGED) {\n return 'move';\n } else if (state & STATE_BEGAN) {\n return 'start';\n }\n return '';\n}\n\n/**\n * direction cons to string\n * @param {Const} direction\n * @returns {String}\n */\nfunction directionStr(direction) {\n if (direction == DIRECTION_DOWN) {\n return 'down';\n } else if (direction == DIRECTION_UP) {\n return 'up';\n } else if (direction == DIRECTION_LEFT) {\n return 'left';\n } else if (direction == DIRECTION_RIGHT) {\n return 'right';\n }\n return '';\n}\n\n/**\n * get a recognizer by name if it is bound to a manager\n * @param {Recognizer|String} otherRecognizer\n * @param {Recognizer} recognizer\n * @returns {Recognizer}\n */\nfunction getRecognizerByNameIfManager(otherRecognizer, recognizer) {\n var manager = recognizer.manager;\n if (manager) {\n return manager.get(otherRecognizer);\n }\n return otherRecognizer;\n}\n\n/**\n * This recognizer is just used as a base for the simple attribute recognizers.\n * @constructor\n * @extends Recognizer\n */\nfunction AttrRecognizer() {\n Recognizer.apply(this, arguments);\n}\n\ninherit(AttrRecognizer, Recognizer, {\n /**\n * @namespace\n * @memberof AttrRecognizer\n */\n defaults: {\n /**\n * @type {Number}\n * @default 1\n */\n pointers: 1\n },\n\n /**\n * Used to check if it the recognizer receives valid input, like input.distance > 10.\n * @memberof AttrRecognizer\n * @param {Object} input\n * @returns {Boolean} recognized\n */\n attrTest: function(input) {\n var optionPointers = this.options.pointers;\n return optionPointers === 0 || input.pointers.length === optionPointers;\n },\n\n /**\n * Process the input and return the state for the recognizer\n * @memberof AttrRecognizer\n * @param {Object} input\n * @returns {*} State\n */\n process: function(input) {\n var state = this.state;\n var eventType = input.eventType;\n\n var isRecognized = state & (STATE_BEGAN | STATE_CHANGED);\n var isValid = this.attrTest(input);\n\n // on cancel input and we've recognized before, return STATE_CANCELLED\n if (isRecognized && (eventType & INPUT_CANCEL || !isValid)) {\n return state | STATE_CANCELLED;\n } else if (isRecognized || isValid) {\n if (eventType & INPUT_END) {\n return state | STATE_ENDED;\n } else if (!(state & STATE_BEGAN)) {\n return STATE_BEGAN;\n }\n return state | STATE_CHANGED;\n }\n return STATE_FAILED;\n }\n});\n\n/**\n * Pan\n * Recognized when the pointer is down and moved in the allowed direction.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction PanRecognizer() {\n AttrRecognizer.apply(this, arguments);\n\n this.pX = null;\n this.pY = null;\n}\n\ninherit(PanRecognizer, AttrRecognizer, {\n /**\n * @namespace\n * @memberof PanRecognizer\n */\n defaults: {\n event: 'pan',\n threshold: 10,\n pointers: 1,\n direction: DIRECTION_ALL\n },\n\n getTouchAction: function() {\n var direction = this.options.direction;\n var actions = [];\n if (direction & DIRECTION_HORIZONTAL) {\n actions.push(TOUCH_ACTION_PAN_Y);\n }\n if (direction & DIRECTION_VERTICAL) {\n actions.push(TOUCH_ACTION_PAN_X);\n }\n return actions;\n },\n\n directionTest: function(input) {\n var options = this.options;\n var hasMoved = true;\n var distance = input.distance;\n var direction = input.direction;\n var x = input.deltaX;\n var y = input.deltaY;\n\n // lock to axis?\n if (!(direction & options.direction)) {\n if (options.direction & DIRECTION_HORIZONTAL) {\n direction = (x === 0) ? DIRECTION_NONE : (x < 0) ? DIRECTION_LEFT : DIRECTION_RIGHT;\n hasMoved = x != this.pX;\n distance = Math.abs(input.deltaX);\n } else {\n direction = (y === 0) ? DIRECTION_NONE : (y < 0) ? DIRECTION_UP : DIRECTION_DOWN;\n hasMoved = y != this.pY;\n distance = Math.abs(input.deltaY);\n }\n }\n input.direction = direction;\n return hasMoved && distance > options.threshold && direction & options.direction;\n },\n\n attrTest: function(input) {\n return AttrRecognizer.prototype.attrTest.call(this, input) &&\n (this.state & STATE_BEGAN || (!(this.state & STATE_BEGAN) && this.directionTest(input)));\n },\n\n emit: function(input) {\n\n this.pX = input.deltaX;\n this.pY = input.deltaY;\n\n var direction = directionStr(input.direction);\n\n if (direction) {\n input.additionalEvent = this.options.event + direction;\n }\n this._super.emit.call(this, input);\n }\n});\n\n/**\n * Pinch\n * Recognized when two or more pointers are moving toward (zoom-in) or away from each other (zoom-out).\n * @constructor\n * @extends AttrRecognizer\n */\nfunction PinchRecognizer() {\n AttrRecognizer.apply(this, arguments);\n}\n\ninherit(PinchRecognizer, AttrRecognizer, {\n /**\n * @namespace\n * @memberof PinchRecognizer\n */\n defaults: {\n event: 'pinch',\n threshold: 0,\n pointers: 2\n },\n\n getTouchAction: function() {\n return [TOUCH_ACTION_NONE];\n },\n\n attrTest: function(input) {\n return this._super.attrTest.call(this, input) &&\n (Math.abs(input.scale - 1) > this.options.threshold || this.state & STATE_BEGAN);\n },\n\n emit: function(input) {\n if (input.scale !== 1) {\n var inOut = input.scale < 1 ? 'in' : 'out';\n input.additionalEvent = this.options.event + inOut;\n }\n this._super.emit.call(this, input);\n }\n});\n\n/**\n * Press\n * Recognized when the pointer is down for x ms without any movement.\n * @constructor\n * @extends Recognizer\n */\nfunction PressRecognizer() {\n Recognizer.apply(this, arguments);\n\n this._timer = null;\n this._input = null;\n}\n\ninherit(PressRecognizer, Recognizer, {\n /**\n * @namespace\n * @memberof PressRecognizer\n */\n defaults: {\n event: 'press',\n pointers: 1,\n time: 251, // minimal time of the pointer to be pressed\n threshold: 9 // a minimal movement is ok, but keep it low\n },\n\n getTouchAction: function() {\n return [TOUCH_ACTION_AUTO];\n },\n\n process: function(input) {\n var options = this.options;\n var validPointers = input.pointers.length === options.pointers;\n var validMovement = input.distance < options.threshold;\n var validTime = input.deltaTime > options.time;\n\n this._input = input;\n\n // we only allow little movement\n // and we've reached an end event, so a tap is possible\n if (!validMovement || !validPointers || (input.eventType & (INPUT_END | INPUT_CANCEL) && !validTime)) {\n this.reset();\n } else if (input.eventType & INPUT_START) {\n this.reset();\n this._timer = setTimeoutContext(function() {\n this.state = STATE_RECOGNIZED;\n this.tryEmit();\n }, options.time, this);\n } else if (input.eventType & INPUT_END) {\n return STATE_RECOGNIZED;\n }\n return STATE_FAILED;\n },\n\n reset: function() {\n clearTimeout(this._timer);\n },\n\n emit: function(input) {\n if (this.state !== STATE_RECOGNIZED) {\n return;\n }\n\n if (input && (input.eventType & INPUT_END)) {\n this.manager.emit(this.options.event + 'up', input);\n } else {\n this._input.timeStamp = now();\n this.manager.emit(this.options.event, this._input);\n }\n }\n});\n\n/**\n * Rotate\n * Recognized when two or more pointer are moving in a circular motion.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction RotateRecognizer() {\n AttrRecognizer.apply(this, arguments);\n}\n\ninherit(RotateRecognizer, AttrRecognizer, {\n /**\n * @namespace\n * @memberof RotateRecognizer\n */\n defaults: {\n event: 'rotate',\n threshold: 0,\n pointers: 2\n },\n\n getTouchAction: function() {\n return [TOUCH_ACTION_NONE];\n },\n\n attrTest: function(input) {\n return this._super.attrTest.call(this, input) &&\n (Math.abs(input.rotation) > this.options.threshold || this.state & STATE_BEGAN);\n }\n});\n\n/**\n * Swipe\n * Recognized when the pointer is moving fast (velocity), with enough distance in the allowed direction.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction SwipeRecognizer() {\n AttrRecognizer.apply(this, arguments);\n}\n\ninherit(SwipeRecognizer, AttrRecognizer, {\n /**\n * @namespace\n * @memberof SwipeRecognizer\n */\n defaults: {\n event: 'swipe',\n threshold: 10,\n velocity: 0.3,\n direction: DIRECTION_HORIZONTAL | DIRECTION_VERTICAL,\n pointers: 1\n },\n\n getTouchAction: function() {\n return PanRecognizer.prototype.getTouchAction.call(this);\n },\n\n attrTest: function(input) {\n var direction = this.options.direction;\n var velocity;\n\n if (direction & (DIRECTION_HORIZONTAL | DIRECTION_VERTICAL)) {\n velocity = input.overallVelocity;\n } else if (direction & DIRECTION_HORIZONTAL) {\n velocity = input.overallVelocityX;\n } else if (direction & DIRECTION_VERTICAL) {\n velocity = input.overallVelocityY;\n }\n\n return this._super.attrTest.call(this, input) &&\n direction & input.offsetDirection &&\n input.distance > this.options.threshold &&\n input.maxPointers == this.options.pointers &&\n abs(velocity) > this.options.velocity && input.eventType & INPUT_END;\n },\n\n emit: function(input) {\n var direction = directionStr(input.offsetDirection);\n if (direction) {\n this.manager.emit(this.options.event + direction, input);\n }\n\n this.manager.emit(this.options.event, input);\n }\n});\n\n/**\n * A tap is ecognized when the pointer is doing a small tap/click. Multiple taps are recognized if they occur\n * between the given interval and position. The delay option can be used to recognize multi-taps without firing\n * a single tap.\n *\n * The eventData from the emitted event contains the property `tapCount`, which contains the amount of\n * multi-taps being recognized.\n * @constructor\n * @extends Recognizer\n */\nfunction TapRecognizer() {\n Recognizer.apply(this, arguments);\n\n // previous time and center,\n // used for tap counting\n this.pTime = false;\n this.pCenter = false;\n\n this._timer = null;\n this._input = null;\n this.count = 0;\n}\n\ninherit(TapRecognizer, Recognizer, {\n /**\n * @namespace\n * @memberof PinchRecognizer\n */\n defaults: {\n event: 'tap',\n pointers: 1,\n taps: 1,\n interval: 300, // max time between the multi-tap taps\n time: 250, // max time of the pointer to be down (like finger on the screen)\n threshold: 9, // a minimal movement is ok, but keep it low\n posThreshold: 10 // a multi-tap can be a bit off the initial position\n },\n\n getTouchAction: function() {\n return [TOUCH_ACTION_MANIPULATION];\n },\n\n process: function(input) {\n var options = this.options;\n\n var validPointers = input.pointers.length === options.pointers;\n var validMovement = input.distance < options.threshold;\n var validTouchTime = input.deltaTime < options.time;\n\n this.reset();\n\n if ((input.eventType & INPUT_START) && (this.count === 0)) {\n return this.failTimeout();\n }\n\n // we only allow little movement\n // and we've reached an end event, so a tap is possible\n if (validMovement && validTouchTime && validPointers) {\n if (input.eventType != INPUT_END) {\n return this.failTimeout();\n }\n\n var validInterval = this.pTime ? (input.timeStamp - this.pTime < options.interval) : true;\n var validMultiTap = !this.pCenter || getDistance(this.pCenter, input.center) < options.posThreshold;\n\n this.pTime = input.timeStamp;\n this.pCenter = input.center;\n\n if (!validMultiTap || !validInterval) {\n this.count = 1;\n } else {\n this.count += 1;\n }\n\n this._input = input;\n\n // if tap count matches we have recognized it,\n // else it has began recognizing...\n var tapCount = this.count % options.taps;\n if (tapCount === 0) {\n // no failing requirements, immediately trigger the tap event\n // or wait as long as the multitap interval to trigger\n if (!this.hasRequireFailures()) {\n return STATE_RECOGNIZED;\n } else {\n this._timer = setTimeoutContext(function() {\n this.state = STATE_RECOGNIZED;\n this.tryEmit();\n }, options.interval, this);\n return STATE_BEGAN;\n }\n }\n }\n return STATE_FAILED;\n },\n\n failTimeout: function() {\n this._timer = setTimeoutContext(function() {\n this.state = STATE_FAILED;\n }, this.options.interval, this);\n return STATE_FAILED;\n },\n\n reset: function() {\n clearTimeout(this._timer);\n },\n\n emit: function() {\n if (this.state == STATE_RECOGNIZED) {\n this._input.tapCount = this.count;\n this.manager.emit(this.options.event, this._input);\n }\n }\n});\n\n/**\n * Simple way to create a manager with a default set of recognizers.\n * @param {HTMLElement} element\n * @param {Object} [options]\n * @constructor\n */\nfunction Hammer(element, options) {\n options = options || {};\n options.recognizers = ifUndefined(options.recognizers, Hammer.defaults.preset);\n return new Manager(element, options);\n}\n\n/**\n * @const {string}\n */\nHammer.VERSION = '2.0.7';\n\n/**\n * default settings\n * @namespace\n */\nHammer.defaults = {\n /**\n * set if DOM events are being triggered.\n * But this is slower and unused by simple implementations, so disabled by default.\n * @type {Boolean}\n * @default false\n */\n domEvents: false,\n\n /**\n * The value for the touchAction property/fallback.\n * When set to `compute` it will magically set the correct value based on the added recognizers.\n * @type {String}\n * @default compute\n */\n touchAction: TOUCH_ACTION_COMPUTE,\n\n /**\n * @type {Boolean}\n * @default true\n */\n enable: true,\n\n /**\n * EXPERIMENTAL FEATURE -- can be removed/changed\n * Change the parent input target element.\n * If Null, then it is being set the to main element.\n * @type {Null|EventTarget}\n * @default null\n */\n inputTarget: null,\n\n /**\n * force an input class\n * @type {Null|Function}\n * @default null\n */\n inputClass: null,\n\n /**\n * Default recognizer setup when calling `Hammer()`\n * When creating a new Manager these will be skipped.\n * @type {Array}\n */\n preset: [\n // RecognizerClass, options, [recognizeWith, ...], [requireFailure, ...]\n [RotateRecognizer, {enable: false}],\n [PinchRecognizer, {enable: false}, ['rotate']],\n [SwipeRecognizer, {direction: DIRECTION_HORIZONTAL}],\n [PanRecognizer, {direction: DIRECTION_HORIZONTAL}, ['swipe']],\n [TapRecognizer],\n [TapRecognizer, {event: 'doubletap', taps: 2}, ['tap']],\n [PressRecognizer]\n ],\n\n /**\n * Some CSS properties can be used to improve the working of Hammer.\n * Add them to this method and they will be set when creating a new Manager.\n * @namespace\n */\n cssProps: {\n /**\n * Disables text selection to improve the dragging gesture. Mainly for desktop browsers.\n * @type {String}\n * @default 'none'\n */\n userSelect: 'none',\n\n /**\n * Disable the Windows Phone grippers when pressing an element.\n * @type {String}\n * @default 'none'\n */\n touchSelect: 'none',\n\n /**\n * Disables the default callout shown when you touch and hold a touch target.\n * On iOS, when you touch and hold a touch target such as a link, Safari displays\n * a callout containing information about the link. This property allows you to disable that callout.\n * @type {String}\n * @default 'none'\n */\n touchCallout: 'none',\n\n /**\n * Specifies whether zooming is enabled. Used by IE10>\n * @type {String}\n * @default 'none'\n */\n contentZooming: 'none',\n\n /**\n * Specifies that an entire element should be draggable instead of its contents. Mainly for desktop browsers.\n * @type {String}\n * @default 'none'\n */\n userDrag: 'none',\n\n /**\n * Overrides the highlight color shown when the user taps a link or a JavaScript\n * clickable element in iOS. This property obeys the alpha value, if specified.\n * @type {String}\n * @default 'rgba(0,0,0,0)'\n */\n tapHighlightColor: 'rgba(0,0,0,0)'\n }\n};\n\nvar STOP = 1;\nvar FORCED_STOP = 2;\n\n/**\n * Manager\n * @param {HTMLElement} element\n * @param {Object} [options]\n * @constructor\n */\nfunction Manager(element, options) {\n this.options = assign({}, Hammer.defaults, options || {});\n\n this.options.inputTarget = this.options.inputTarget || element;\n\n this.handlers = {};\n this.session = {};\n this.recognizers = [];\n this.oldCssProps = {};\n\n this.element = element;\n this.input = createInputInstance(this);\n this.touchAction = new TouchAction(this, this.options.touchAction);\n\n toggleCssProps(this, true);\n\n each(this.options.recognizers, function(item) {\n var recognizer = this.add(new (item[0])(item[1]));\n item[2] && recognizer.recognizeWith(item[2]);\n item[3] && recognizer.requireFailure(item[3]);\n }, this);\n}\n\nManager.prototype = {\n /**\n * set options\n * @param {Object} options\n * @returns {Manager}\n */\n set: function(options) {\n assign(this.options, options);\n\n // Options that need a little more setup\n if (options.touchAction) {\n this.touchAction.update();\n }\n if (options.inputTarget) {\n // Clean up existing event listeners and reinitialize\n this.input.destroy();\n this.input.target = options.inputTarget;\n this.input.init();\n }\n return this;\n },\n\n /**\n * stop recognizing for this session.\n * This session will be discarded, when a new [input]start event is fired.\n * When forced, the recognizer cycle is stopped immediately.\n * @param {Boolean} [force]\n */\n stop: function(force) {\n this.session.stopped = force ? FORCED_STOP : STOP;\n },\n\n /**\n * run the recognizers!\n * called by the inputHandler function on every movement of the pointers (touches)\n * it walks through all the recognizers and tries to detect the gesture that is being made\n * @param {Object} inputData\n */\n recognize: function(inputData) {\n var session = this.session;\n if (session.stopped) {\n return;\n }\n\n // run the touch-action polyfill\n this.touchAction.preventDefaults(inputData);\n\n var recognizer;\n var recognizers = this.recognizers;\n\n // this holds the recognizer that is being recognized.\n // so the recognizer's state needs to be BEGAN, CHANGED, ENDED or RECOGNIZED\n // if no recognizer is detecting a thing, it is set to `null`\n var curRecognizer = session.curRecognizer;\n\n // reset when the last recognizer is recognized\n // or when we're in a new session\n if (!curRecognizer || (curRecognizer && curRecognizer.state & STATE_RECOGNIZED)) {\n curRecognizer = session.curRecognizer = null;\n }\n\n var i = 0;\n while (i < recognizers.length) {\n recognizer = recognizers[i];\n\n // find out if we are allowed try to recognize the input for this one.\n // 1. allow if the session is NOT forced stopped (see the .stop() method)\n // 2. allow if we still haven't recognized a gesture in this session, or the this recognizer is the one\n // that is being recognized.\n // 3. allow if the recognizer is allowed to run simultaneous with the current recognized recognizer.\n // this can be setup with the `recognizeWith()` method on the recognizer.\n if (session.stopped !== FORCED_STOP && ( // 1\n !curRecognizer || recognizer == curRecognizer || // 2\n recognizer.canRecognizeWith(curRecognizer))) { // 3\n recognizer.recognize(inputData);\n } else {\n recognizer.reset();\n }\n\n // if the recognizer has been recognizing the input as a valid gesture, we want to store this one as the\n // current active recognizer. but only if we don't already have an active recognizer\n if (!curRecognizer && recognizer.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED)) {\n curRecognizer = session.curRecognizer = recognizer;\n }\n i++;\n }\n },\n\n /**\n * get a recognizer by its event name.\n * @param {Recognizer|String} recognizer\n * @returns {Recognizer|Null}\n */\n get: function(recognizer) {\n if (recognizer instanceof Recognizer) {\n return recognizer;\n }\n\n var recognizers = this.recognizers;\n for (var i = 0; i < recognizers.length; i++) {\n if (recognizers[i].options.event == recognizer) {\n return recognizers[i];\n }\n }\n return null;\n },\n\n /**\n * add a recognizer to the manager\n * existing recognizers with the same event name will be removed\n * @param {Recognizer} recognizer\n * @returns {Recognizer|Manager}\n */\n add: function(recognizer) {\n if (invokeArrayArg(recognizer, 'add', this)) {\n return this;\n }\n\n // remove existing\n var existing = this.get(recognizer.options.event);\n if (existing) {\n this.remove(existing);\n }\n\n this.recognizers.push(recognizer);\n recognizer.manager = this;\n\n this.touchAction.update();\n return recognizer;\n },\n\n /**\n * remove a recognizer by name or instance\n * @param {Recognizer|String} recognizer\n * @returns {Manager}\n */\n remove: function(recognizer) {\n if (invokeArrayArg(recognizer, 'remove', this)) {\n return this;\n }\n\n recognizer = this.get(recognizer);\n\n // let's make sure this recognizer exists\n if (recognizer) {\n var recognizers = this.recognizers;\n var index = inArray(recognizers, recognizer);\n\n if (index !== -1) {\n recognizers.splice(index, 1);\n this.touchAction.update();\n }\n }\n\n return this;\n },\n\n /**\n * bind event\n * @param {String} events\n * @param {Function} handler\n * @returns {EventEmitter} this\n */\n on: function(events, handler) {\n if (events === undefined) {\n return;\n }\n if (handler === undefined) {\n return;\n }\n\n var handlers = this.handlers;\n each(splitStr(events), function(event) {\n handlers[event] = handlers[event] || [];\n handlers[event].push(handler);\n });\n return this;\n },\n\n /**\n * unbind event, leave emit blank to remove all handlers\n * @param {String} events\n * @param {Function} [handler]\n * @returns {EventEmitter} this\n */\n off: function(events, handler) {\n if (events === undefined) {\n return;\n }\n\n var handlers = this.handlers;\n each(splitStr(events), function(event) {\n if (!handler) {\n delete handlers[event];\n } else {\n handlers[event] && handlers[event].splice(inArray(handlers[event], handler), 1);\n }\n });\n return this;\n },\n\n /**\n * emit event to the listeners\n * @param {String} event\n * @param {Object} data\n */\n emit: function(event, data) {\n // we also want to trigger dom events\n if (this.options.domEvents) {\n triggerDomEvent(event, data);\n }\n\n // no handlers, so skip it all\n var handlers = this.handlers[event] && this.handlers[event].slice();\n if (!handlers || !handlers.length) {\n return;\n }\n\n data.type = event;\n data.preventDefault = function() {\n data.srcEvent.preventDefault();\n };\n\n var i = 0;\n while (i < handlers.length) {\n handlers[i](data);\n i++;\n }\n },\n\n /**\n * destroy the manager and unbinds all events\n * it doesn't unbind dom events, that is the user own responsibility\n */\n destroy: function() {\n this.element && toggleCssProps(this, false);\n\n this.handlers = {};\n this.session = {};\n this.input.destroy();\n this.element = null;\n }\n};\n\n/**\n * add/remove the css properties as defined in manager.options.cssProps\n * @param {Manager} manager\n * @param {Boolean} add\n */\nfunction toggleCssProps(manager, add) {\n var element = manager.element;\n if (!element.style) {\n return;\n }\n var prop;\n each(manager.options.cssProps, function(value, name) {\n prop = prefixed(element.style, name);\n if (add) {\n manager.oldCssProps[prop] = element.style[prop];\n element.style[prop] = value;\n } else {\n element.style[prop] = manager.oldCssProps[prop] || '';\n }\n });\n if (!add) {\n manager.oldCssProps = {};\n }\n}\n\n/**\n * trigger dom event\n * @param {String} event\n * @param {Object} data\n */\nfunction triggerDomEvent(event, data) {\n var gestureEvent = document.createEvent('Event');\n gestureEvent.initEvent(event, true, true);\n gestureEvent.gesture = data;\n data.target.dispatchEvent(gestureEvent);\n}\n\nassign(Hammer, {\n INPUT_START: INPUT_START,\n INPUT_MOVE: INPUT_MOVE,\n INPUT_END: INPUT_END,\n INPUT_CANCEL: INPUT_CANCEL,\n\n STATE_POSSIBLE: STATE_POSSIBLE,\n STATE_BEGAN: STATE_BEGAN,\n STATE_CHANGED: STATE_CHANGED,\n STATE_ENDED: STATE_ENDED,\n STATE_RECOGNIZED: STATE_RECOGNIZED,\n STATE_CANCELLED: STATE_CANCELLED,\n STATE_FAILED: STATE_FAILED,\n\n DIRECTION_NONE: DIRECTION_NONE,\n DIRECTION_LEFT: DIRECTION_LEFT,\n DIRECTION_RIGHT: DIRECTION_RIGHT,\n DIRECTION_UP: DIRECTION_UP,\n DIRECTION_DOWN: DIRECTION_DOWN,\n DIRECTION_HORIZONTAL: DIRECTION_HORIZONTAL,\n DIRECTION_VERTICAL: DIRECTION_VERTICAL,\n DIRECTION_ALL: DIRECTION_ALL,\n\n Manager: Manager,\n Input: Input,\n TouchAction: TouchAction,\n\n TouchInput: TouchInput,\n MouseInput: MouseInput,\n PointerEventInput: PointerEventInput,\n TouchMouseInput: TouchMouseInput,\n SingleTouchInput: SingleTouchInput,\n\n Recognizer: Recognizer,\n AttrRecognizer: AttrRecognizer,\n Tap: TapRecognizer,\n Pan: PanRecognizer,\n Swipe: SwipeRecognizer,\n Pinch: PinchRecognizer,\n Rotate: RotateRecognizer,\n Press: PressRecognizer,\n\n on: addEventListeners,\n off: removeEventListeners,\n each: each,\n merge: merge,\n extend: extend,\n assign: assign,\n inherit: inherit,\n bindFn: bindFn,\n prefixed: prefixed\n});\n\n// this prevents errors when Hammer is loaded in the presence of an AMD\n// style loader but by script tag, not by the loader.\nvar freeGlobal = (typeof window !== 'undefined' ? window : (typeof self !== 'undefined' ? self : {})); // jshint ignore:line\nfreeGlobal.Hammer = Hammer;\n\nif (typeof define === 'function' && define.amd) {\n define(function() {\n return Hammer;\n });\n} else if (typeof module != 'undefined' && module.exports) {\n module.exports = Hammer;\n} else {\n window[exportName] = Hammer;\n}\n\n})(window, document, 'Hammer');\n","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, normalizeClass as _normalizeClass, createBlock as _createBlock, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5ecd5d6d\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"house-lot-details-content\"\n}\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"title-home\" }, \"Home & Land Package\", -1))\nconst _hoisted_3 = {\n key: 0,\n class: \"lots-details-wr\"\n}\nconst _hoisted_4 = { class: \"container-select-lots\" }\nconst _hoisted_5 = { class: \"text-alert\" }\nconst _hoisted_6 = { class: \"lot-details-wr\" }\nconst _hoisted_7 = { class: \"content-row\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label-row\" }, \"Size\", -1))\nconst _hoisted_9 = { class: \"value-row\" }\nconst _hoisted_10 = { class: \"content-row\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label-row\" }, \"Width\", -1))\nconst _hoisted_12 = { class: \"value-row\" }\nconst _hoisted_13 = { class: \"content-row\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label-row\" }, \"Registration\", -1))\nconst _hoisted_15 = { class: \"value-row\" }\nconst _hoisted_16 = { class: \"content-row\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label-row\" }, \"Land Price\", -1))\nconst _hoisted_18 = { class: \"value-row\" }\nconst _hoisted_19 = {\n key: 1,\n class: \"lots-details-wr\"\n}\nconst _hoisted_20 = { class: \"container-warning\" }\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-alert\" }, \"No lot selected\", -1))\nconst _hoisted_22 = [\"src\"]\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-information\" }, \"Please select a lot to complete your home and land package.\", -1))\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line-one\" }, null, -1))\nconst _hoisted_25 = { class: \"house-details-wr\" }\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line\" }, null, -1))\nconst _hoisted_27 = { class: \"price-total-wr\" }\nconst _hoisted_28 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-package\" }, \"Package Price\", -1))\nconst _hoisted_29 = {\n key: 0,\n class: \"total-wr\"\n}\nconst _hoisted_30 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"from\" }, \"From\", -1))\nconst _hoisted_31 = { class: \"total\" }\nconst _hoisted_32 = {\n key: 1,\n class: \"not-total\"\n}\nconst _hoisted_33 = {\n key: 2,\n class: \"price-information\"\n}\nconst _hoisted_34 = { class: \"buttons-content\" }\nconst _hoisted_35 = {\n key: 1,\n class: \"spinner small\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n ($setup.props.houseInfo && !$setup.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n ($setup.lotSelected)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, \"Lot \" + _toDisplayString($setup.lotSelected.title), 1),\n _createElementVNode(\"div\", {\n class: \"hipertext\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => ($setup.onCompareLots()))\n }, \"Change Lot\")\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_9, _toDisplayString($setup.formatPrice($setup.lotSelected.size, false)) + \" sqm\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n _createElementVNode(\"div\", _hoisted_12, _toDisplayString($setup.lotSelected.blockWidth ? `${$setup.formatPrice($setup.lotSelected.blockWidth, false)} m` : \"Irregular\"), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _hoisted_14,\n _createElementVNode(\"div\", _hoisted_15, _toDisplayString($setup.lotSelected.registrationDate ? $setup.formatDate($setup.lotSelected.registrationDate, \"MMM YYYY\") : '-'), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _createElementVNode(\"div\", _hoisted_18, _toDisplayString($setup.formatPrice($setup.lotSelected.price)), 1)\n ])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_19, [\n _createElementVNode(\"div\", _hoisted_20, [\n _hoisted_21,\n _createElementVNode(\"img\", {\n class: \"icon-warning\",\n src: require('@/assets/icons/icon-warning.svg')\n }, null, 8, _hoisted_22)\n ]),\n _hoisted_23,\n _createElementVNode(\"div\", {\n class: \"button default primary compare\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => ($setup.onCompareLots()))\n }, \"Compare suitable lots\")\n ])),\n _hoisted_24,\n _createElementVNode(\"div\", _hoisted_25, [\n _createVNode($setup[\"HouseDetailsForLandPackage\"], {\n houseInfo: $setup.props.houseInfo,\n siteCosts: $setup.siteCosts\n }, null, 8, [\"houseInfo\", \"siteCosts\"])\n ]),\n _hoisted_26,\n _createElementVNode(\"div\", _hoisted_27, [\n _hoisted_28,\n ($setup.lotSelected)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_29, [\n _hoisted_30,\n _createElementVNode(\"div\", _hoisted_31, _toDisplayString($setup.TotalPriceWithFacade), 1)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_32, \"Select your lot\"))\n ]),\n ($setup.lotSelected)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_33, \"*Terms & Conditions apply. Build price subject to change prior to entry into the Contract.\"))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_34, [\n _createElementVNode(\"div\", {\n class: \"button default primary chat\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => ($setup.onMessage()))\n }, \"Get in touch with \" + _toDisplayString($setup.props.builder.name), 1),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"button default primary hold\", { disabled: !$setup.lotSelected }]),\n onClick: _cache[3] || (_cache[3] = ($event: any) => ($setup.onReserve()))\n }, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"title-button\", { 'color-text': !$setup.lotSelected }])\n }, \"Reserve Lot \" + _toDisplayString($setup.lotSelected?.lotId?.title), 3)\n ], 2)\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_35)),\n _createVNode($setup[\"BuilderLotsMapModal\"], {\n isOpen: $setup.openLotsModal,\n onClose: _cache[4] || (_cache[4] = ($event: any) => ($setup.openLotsModal = false)),\n onSend: $setup.onSelectLot,\n lotsByHouseDesigns: $setup.lotsByHouseDesigns,\n estateInfo: $setup.props.estateInfo\n }, null, 8, [\"isOpen\", \"lotsByHouseDesigns\", \"estateInfo\"]),\n ($setup.shouldRenderModals)\n ? (_openBlock(), _createBlock($setup[\"BuilderEnquiryModal\"], {\n key: 2,\n isOpen: $setup.isOpenedModalMessage,\n lot: $setup.lotSelected,\n house: $setup.props.houseInfo,\n quote: $setup.props.quote,\n estate: $setup.props.estateInfo,\n builder: $setup.props.builder,\n selectedFacade: $props.selectedFacade,\n onClose: _cache[5] || (_cache[5] = ($event: any) => ($setup.isOpenedModalMessage = false)),\n onSend: $setup.onSendBuilderEnquiry\n }, null, 8, [\"isOpen\", \"lot\", \"house\", \"quote\", \"estate\", \"builder\", \"selectedFacade\"]))\n : _createCommentVNode(\"\", true),\n ($setup.shouldRenderModals)\n ? (_openBlock(), _createBlock($setup[\"BuilderInitialHoldModal\"], {\n key: 3,\n \"is-open\": $setup.isOpenedModalReserve,\n lot: $setup.lotSelected,\n house: $setup.props.houseInfo,\n quote: $setup.props.quote,\n estate: $setup.props.estateInfo,\n builder: $setup.props.builder,\n selectedFacade: $props.selectedFacade,\n onClose: _cache[6] || (_cache[6] = ($event: any) => ($setup.isOpenedModalReserve = false)),\n onSend: $setup.onSendSecureQuote,\n onBack: _cache[7] || (_cache[7] = ($event: any) => ($setup.isOpenedModalReserve = false))\n }, null, 8, [\"is-open\", \"lot\", \"house\", \"quote\", \"estate\", \"builder\", \"selectedFacade\"]))\n : _createCommentVNode(\"\", true),\n _createVNode($setup[\"SuccessRequestReserveModal\"], {\n isOpen: $setup.successfulRequestReserveOpened,\n onClose: _cache[8] || (_cache[8] = ($event: any) => ($setup.successfulRequestReserveOpened = false)),\n house: $setup.props.houseInfo\n }, null, 8, [\"isOpen\", \"house\"])\n ], 64))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { computed, onMounted, ref, watch } from \"vue\";\n import router from \"@/router\";\n import store from \"@/store\";\n import { POSITION, useToast } from \"vue-toastification\";\n import { HouseDesignInterface } from \"@/types/HouseDesignInterface\";\n import HouseDetailsForLandPackage from \"@/components/builder/budget-houses/house-details/HouseDetailsForLandPackage.vue\";\n import { LotInterface } from \"@/types/LotInterface\";\n import BuilderLotsMapModal from \"@/components/ui/modals/BuilderLotsMapModal.vue\";\n import { BuilderQuote, UpdateBuilderQuoteDto } from \"@/types/BuilderQuote\";\n import { formatPrice } from \"@/helpers/transformation/price\";\n import { formatDate } from \"@/helpers/date\";\n import { EstateInterface } from \"@/types/EstateInterface\";\n import BuilderRequestMessageModal from \"@/components/ui/modals/BuilderRequestMessageModal.vue\";\n import SuccessRequestReserveModal from \"@/components/ui/modals/SuccessRequestReserveModal.vue\";\n import { BuilderInterface } from \"@/types/BuilderInterface\";\n import { calculateBuildPriceOrPackagePriceTotal } from \"@/helpers/builder/calculateBuildPriceOrPackagePriceTotal\";\n import { LotMapInterface } from \"@/types/LotMapInterface\";\n import { LotStatus } from \"@/enums/LotStatus\";\n import BuilderInitialHoldModal from \"@/components/ui/modals/BuilderInitialHoldModal.vue\";\n import { CreateBuilderQuote } from \"@/types/CreateBuilderQuote\";\n import { CreateInitialHoldInterface } from \"@/types/InitialHoldInterface\";\n import BuilderEnquiryModal from \"@/components/ui/modals/BuilderEnquiryModal.vue\";\n import setLotEstate from \"@/helpers/lot/setLotEstate.helper\";\n import { FacadeInterface } from \"@/types/FacadeInterface\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'HouseAndLotDetails',\n props: {\n houseInfo: {},\n lotSelected: {},\n estateInfo: {},\n quote: {},\n builder: {},\n selectedFacade: {}\n },\n emits: [\"updateLotSelected\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n\n \n\n const estateId = router.currentRoute.value.params.estateId;\n const toast = useToast();\n const lotsByHouseDesigns = ref();\n const openLotsModal = ref(false);\n const isOpenedModalMessage = ref(false);\n const isOpenedModalReserve = ref(false);\n const successfulRequestReserveOpened = ref(false);\n const lotSelected = ref(null);\n const loading = ref(true);\n const siteCosts = ref(0);\n\n const TotalPriceWithFacade = computed(() => {\n const facade = props.houseInfo?.facades.find(\n (facade) => facade._id === props.selectedFacade?._id\n );\n const basePrice = Number(props.houseInfo?.basePrice);\n const facadePrice = Number(facade?.price || 0);\n const lotPrice = Number(lotSelected.value?.price);\n\n return calculateBuildPriceOrPackagePriceTotal(\n basePrice,\n facadePrice,\n siteCosts.value,\n lotPrice\n );\n });\n\n const shouldRenderModals = computed(\n () => lotSelected.value && props.builder && props.selectedFacade\n );\n\n const getLotsByEstateAndHouseDesign = () => {\n if (props.houseInfo && estateId) {\n store\n .dispatch(\"builder/getLotsByEstateAndHouseDesign\", {\n estateId,\n houseId: props.houseInfo._id,\n })\n .then((res) => {\n lotsByHouseDesigns.value = res.data.filter(\n (l: LotInterface) => l.status === LotStatus.AVAILABLE\n );\n })\n .catch((err) => {\n console.error(\"Error fetching lots by estate and house design\", err);\n toast.error(\"Error fetching lots by estate and house design\", {\n position: POSITION.TOP_LEFT,\n });\n })\n .finally(() => {\n loading.value = false;\n });\n }\n };\n\n const getSiteCosts = () => {\n if (props.quote) {\n store\n .dispatch(\"builder/getSiteCost\", {\n lotId: props.quote.selections.lot.lotId,\n builderId: props.quote.selections.builder.builderId,\n houseId: props.quote.selections.house.houseId,\n })\n .then((res) => {\n siteCosts.value = res.data.siteCost ?? 0;\n })\n .catch(() => {\n toast.error(\"Fetching site costs failed\", {\n position: POSITION.TOP_LEFT,\n });\n });\n }\n };\n\n const onMessage = () => {\n isOpenedModalMessage.value = true;\n };\n\n const onReserve = () => {\n if (!lotSelected.value) return;\n isOpenedModalReserve.value = true;\n };\n\n const onRequest = () => {\n if (!props.lotSelected) return;\n const route = router.resolve({\n name: \"EOIRequest\",\n params: {\n estateId: props.lotSelected.estateId._id,\n lotId: props.lotSelected._id,\n },\n query: {\n stageId: props.lotSelected.stageId._id,\n },\n });\n window.open(route.href);\n };\n\n const onCompareLots = () => {\n if (lotsByHouseDesigns.value) {\n openLotsModal.value = true;\n }\n };\n\n const onSelectLot = (lotMap: LotMapInterface) => {\n const lot = setLotEstate(lotMap.lotId, props.estateInfo);\n lotSelected.value = lot;\n emits(\"updateLotSelected\", lot);\n openLotsModal.value = false;\n };\n\n const onSendSecureQuote = () => {\n successfulRequestReserveOpened.value = true;\n isOpenedModalReserve.value = false;\n };\n\n const onSendBuilderEnquiry = () => {\n isOpenedModalMessage.value = false;\n toast.success(\"Message sent successfully\", {\n position: POSITION.TOP_LEFT,\n });\n };\n\n watch(\n () => props.lotSelected,\n (newVal) => {\n if (newVal) {\n lotSelected.value = newVal;\n }\n }\n );\n\n onMounted(() => {\n getLotsByEstateAndHouseDesign();\n getSiteCosts();\n lotSelected.value = props.lotSelected;\n });\n\nconst __returned__ = { props, emits, estateId, toast, lotsByHouseDesigns, openLotsModal, isOpenedModalMessage, isOpenedModalReserve, successfulRequestReserveOpened, lotSelected, loading, siteCosts, TotalPriceWithFacade, shouldRenderModals, getLotsByEstateAndHouseDesign, getSiteCosts, onMessage, onReserve, onRequest, onCompareLots, onSelectLot, onSendSecureQuote, onSendBuilderEnquiry, computed, onMounted, ref, watch, get router() { return router }, get store() { return store }, get POSITION() { return POSITION }, get useToast() { return useToast }, get HouseDesignInterface() { return HouseDesignInterface }, HouseDetailsForLandPackage, get LotInterface() { return LotInterface }, BuilderLotsMapModal, get BuilderQuote() { return BuilderQuote }, get UpdateBuilderQuoteDto() { return UpdateBuilderQuoteDto }, get formatPrice() { return formatPrice }, get formatDate() { return formatDate }, get EstateInterface() { return EstateInterface }, BuilderRequestMessageModal, SuccessRequestReserveModal, get BuilderInterface() { return BuilderInterface }, get calculateBuildPriceOrPackagePriceTotal() { return calculateBuildPriceOrPackagePriceTotal }, get LotMapInterface() { return LotMapInterface }, get LotStatus() { return LotStatus }, BuilderInitialHoldModal, get CreateBuilderQuote() { return CreateBuilderQuote }, get CreateInitialHoldInterface() { return CreateInitialHoldInterface }, BuilderEnquiryModal, get setLotEstate() { return setLotEstate }, get FacadeInterface() { return FacadeInterface } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./HouseAndLotDetails.vue?vue&type=template&id=5ecd5d6d&scoped=true&ts=true&lang=pug\"\nimport script from \"./HouseAndLotDetails.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./HouseAndLotDetails.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./HouseAndLotDetails.vue?vue&type=style&index=0&id=5ecd5d6d&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5ecd5d6d\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vShow as _vShow, withDirectives as _withDirectives } from \"vue\"\n\nconst _hoisted_1 = { class: \"carousel-container\" }\nconst _hoisted_2 = { class: \"facade-name\" }\nconst _hoisted_3 = { class: \"price-facade\" }\nconst _hoisted_4 = { class: \"carousel__item__facade\" }\nconst _hoisted_5 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return _withDirectives((_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode($setup[\"Carousel\"], {\n currentSlide: $setup.currentSlideIndex,\n \"onUpdate:currentSlide\": _cache[0] || (_cache[0] = ($event: any) => (($setup.currentSlideIndex) = $event)),\n transition: 200,\n navigationEnabled: true,\n paginationEnabled: true,\n wrapAround: $setup.getSliderNavigation\n }, {\n addons: _withCtx(() => [\n ($setup.getSliderNavigation)\n ? (_openBlock(), _createBlock($setup[\"Pagination\"], { key: 0 }))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n (!$setup.props.isCardHouseDesign && $setup.props.selectedHouseDesign)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList($setup.props.selectedHouseDesign?.facades, (facade, index) => {\n return (_openBlock(), _createBlock($setup[\"Slide\"], { key: index }, {\n default: _withCtx(() => [\n _createVNode($setup[\"ToggleButton\"], {\n modelValue: $setup.selectedFacadeIds[facade._id],\n additionalClass: ['large', 'margin'],\n labelBold: 'toggle-title-font bolder',\n labelClass: 'flex-column-reverse',\n toggleClass: 'position-absolute',\n labelHidden: !$setup.selectedFacadeIds[facade._id] ? 'hidden-text' : '',\n label: $setup.selectedFacadeIds[facade._id] ? 'Selected' : 'Not Selected',\n \"onUpdate:modelValue\": (value) => $setup.updateSelectedFacade(facade, value)\n }, null, 8, [\"modelValue\", \"labelHidden\", \"label\", \"onUpdate:modelValue\"]),\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(facade.name), 1),\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString($setup.isNoAdditionalCharge(facade.price) ? \"No Additional Charge\" : $setup.formatPrice(facade.price)), 1),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"img\", {\n src: facade.url,\n alt: \"Facade Image\"\n }, null, 8, _hoisted_5)\n ])\n ]),\n _: 2\n }, 1024))\n }), 128))\n : _createCommentVNode(\"\", true),\n ($setup.props.isCardHouseDesign && $setup.props.houses)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 1 }, _renderList($setup.props.houses, (house, index) => {\n return (_openBlock(), _createBlock($setup[\"Slide\"], { key: index }, {\n default: _withCtx(() => [\n _createVNode($setup[\"HouseCard\"], {\n house: house,\n estate: $setup.props.estate,\n quote: $setup.props.quote,\n result: $setup.props.result,\n houseDetailsView: $setup.props.houseDetailsView\n }, null, 8, [\"house\", \"estate\", \"quote\", \"result\", \"houseDetailsView\"])\n ]),\n _: 2\n }, 1024))\n }), 128))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"currentSlide\", \"wrapAround\"])\n ], 512)), [\n [_vShow, $props.isOpen]\n ])\n}","import { defineComponent as _defineComponent } from 'vue'\nimport \"vue3-carousel/dist/carousel.css\";\n import { Carousel, Slide, Navigation, Pagination } from \"vue3-carousel\";\n import {\n ref,\n computed,\n watch,\n onMounted,\n } from \"vue\";\n import { HouseDesignInterface } from \"@/types/HouseDesignInterface\";\n import HouseCard from \"@/components/builder/budget-houses/HouseCard.vue\";\n import { EstateInterface } from \"@/types/EstateInterface\";\n import { BuilderQuote } from \"@/types/BuilderQuote\";\n import { BorrowCalculatorResult } from \"@/types/BorrowCalculator\";\n import ToggleButton from \"@/components/ui/ToggleButton.vue\";\n import { formatPrice } from \"@/helpers/transformation/price\";\n import store from \"@/store\";\n import { FacadeInterface } from \"@/types/FacadeInterface\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BuilderSliderMobile',\n props: {\n selectedHouseDesign: Object as () => HouseDesignInterface | undefined,\n isOpen: Boolean,\n isCardHouseDesign: Boolean,\n houses: {\n type: Array as () => HouseDesignInterface[],\n default: () => [] as HouseDesignInterface[],\n },\n estate: Object as () => EstateInterface | undefined,\n quote: Object as () => BuilderQuote | undefined,\n result: Object as () => BorrowCalculatorResult | undefined,\n houseDetailsView: Boolean,\n },\n emits: [\"update:selectedFacade\"],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n \n\n const currentSlideIndex = ref(0);\n const lastSlideIndex = ref(0);\n const selectedFacadeId = ref(null);\n const selectedFacadeIds = ref<{ [key: string]: boolean }>({});\n const facadeDefault = ref(null);\n\n const getSliderNavigation = computed(() => {\n return (\n props.houses.length > 1 ||\n (props.selectedHouseDesign &&\n props.selectedHouseDesign.facades.length > 1)\n );\n });\n\n const isNoAdditionalCharge = (price: number | null | undefined | string) => {\n return (\n price === 0 || price === null || price === undefined || price === \"0\"\n );\n };\n\n watch(\n () => props.isOpen,\n (newVal) => {\n if (!newVal) {\n lastSlideIndex.value = currentSlideIndex.value;\n } else {\n currentSlideIndex.value = lastSlideIndex.value;\n }\n },\n { immediate: true }\n );\n\n const updateSelectedFacade = (facade: FacadeInterface, value: boolean) => {\n if (!value && facadeDefault.value?._id) {\n selectedFacadeIds.value[facadeDefault.value._id] = true;\n emits(\"update:selectedFacade\", facadeDefault.value);\n } else if (selectedFacadeId.value) {\n selectedFacadeIds.value[selectedFacadeId.value] = false;\n selectedFacadeId.value = facade._id;\n emits(\"update:selectedFacade\", facade);\n }\n selectedFacadeIds.value[facade._id] = value;\n };\n\n const initializeFacades = (design: HouseDesignInterface) => {\n let defaultFacade = design.facades.find(\n (facade) =>\n props.quote && facade.url === props.quote.selections.facade.url\n );\n\n if (!defaultFacade) {\n defaultFacade = design.facades[0];\n }\n\n if (defaultFacade) {\n facadeDefault.value = defaultFacade;\n design.facades.forEach((facade) => {\n selectedFacadeIds.value[facade._id] = facade._id === defaultFacade?._id;\n });\n selectedFacadeId.value = defaultFacade._id;\n emits(\"update:selectedFacade\", defaultFacade);\n }\n };\n\n watch(\n () => props.selectedHouseDesign,\n (newDesign) => {\n if (newDesign) {\n initializeFacades(newDesign);\n }\n },\n { immediate: true }\n );\n\n onMounted(() => {\n if (props.selectedHouseDesign) {\n initializeFacades(props.selectedHouseDesign);\n }\n });\n\nconst __returned__ = { props, emits, currentSlideIndex, lastSlideIndex, selectedFacadeId, selectedFacadeIds, facadeDefault, getSliderNavigation, isNoAdditionalCharge, updateSelectedFacade, initializeFacades, get Carousel() { return Carousel }, get Slide() { return Slide }, get Navigation() { return Navigation }, get Pagination() { return Pagination }, ref, computed, watch, onMounted, get HouseDesignInterface() { return HouseDesignInterface }, HouseCard, get EstateInterface() { return EstateInterface }, get BuilderQuote() { return BuilderQuote }, get BorrowCalculatorResult() { return BorrowCalculatorResult }, ToggleButton, get formatPrice() { return formatPrice }, get store() { return store }, get FacadeInterface() { return FacadeInterface } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./BuilderSliderMobile.vue?vue&type=template&id=31eca0af&ts=true&lang=pug\"\nimport script from \"./BuilderSliderMobile.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BuilderSliderMobile.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./BuilderSliderMobile.vue?vue&type=style&index=0&id=31eca0af&lang=scss\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import {\n EventActionName,\n EventByAction,\n EventByCategory,\n EventLabelByName,\n} from \"@/types/EventTracking\";\nimport { eventTracking } from \"../googleAnalyticsEventTracking\";\n\nexport const trackSendInitialHold = (estateById: string): void => {\n eventTracking({\n actionsName: EventActionName.CONVERT_TO_LEAD,\n eventByCategory: EventByCategory.LEAD_CONVERSION,\n eventLabelByName: EventLabelByName.REQUEST_INITIAL_HOLD,\n eventByAction: EventByAction.SUBMIT,\n estateById,\n });\n};\n","export * from \"-!../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./HouseDetailsForLandPackage.vue?vue&type=style&index=0&id=f438b47e&lang=scss&scoped=true\"","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./StageNavMobile.vue?vue&type=style&index=0&id=0d2e86fe&lang=scss&scoped=true\"","import { createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, resolveDirective as _resolveDirective, withDirectives as _withDirectives, normalizeStyle as _normalizeStyle, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-57fc788e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"viewBox\"]\nconst _hoisted_2 = [\"xlink:href\"]\nconst _hoisted_3 = [\"x\", \"y\", \"onMouseover\"]\nconst _hoisted_4 = { class: \"scale\" }\nconst _hoisted_5 = [\"onClick\", \"d\"]\nconst _hoisted_6 = [\"d\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _directive_tippy = _resolveDirective(\"tippy\")!\n\n return ($props.map)\n ? (_openBlock(), _createElementBlock(\"svg\", {\n key: 0,\n class: \"svg-map-scale\",\n version: \"1.1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\",\n viewBox: `0 0 ${$setup.props.map.size.width} ${$setup.props.map.size.height}`,\n style: _normalizeStyle({ transform: 'scale(' + $setup.props.zoom + ')' })\n }, [\n _createElementVNode(\"image\", {\n \"xlink:href\": $setup.props.map.mapImage.url\n }, null, 8, _hoisted_2),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.props.lots, (lot) => {\n return (_openBlock(), _createElementBlock(\"svg\", {\n class: _normalizeClass([\"item-wr\", $setup.props.getItemWrClasses(lot)]),\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\",\n version: \"1.1\",\n x: lot.binding.x,\n y: lot.binding.y,\n onMouseover: ($event: any) => ($setup.onLotHover(lot?.lotId?._id)),\n onMouseleave: $setup.onLotLeave\n }, [\n _createElementVNode(\"g\", _hoisted_4, [\n _withDirectives(_createElementVNode(\"path\", {\n class: _normalizeClass([\"item-path\", $setup.props.getItemPathClasses(lot)]),\n onClick: ($event: any) => ($setup.onLotClick(lot)),\n d: lot.path\n }, null, 10, _hoisted_5), [\n [_directive_tippy, { content: $setup.props.getTooltipText(lot), allowHTML: 'true', theme: 'map-tippy', appendtTo: 'element', arrow: false }]\n ]),\n _createElementVNode(\"path\", {\n class: _normalizeClass([\"item-status-path\", $setup.props.getItemStatusPathClasses(lot)]),\n d: lot.statusPath\n }, null, 10, _hoisted_6)\n ])\n ], 42, _hoisted_3))\n }), 256))\n ], 12, _hoisted_1))\n : _createCommentVNode(\"\", true)\n}","import { defineComponent as _defineComponent } from 'vue'\n\n import { EstateMapInterface } from \"@/types/EstateMapInterface\";\n import { getStageStatusClass } from \"@/helpers/status\";\n import { StageStatus } from \"@/enums/StageStatus\";\n import { UserRoles } from \"@/enums/UserRoles\";\n import { LotMapInterface } from \"@/types/LotMapInterface\";\n import { LotStatus } from \"@/enums/LotStatus\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'StageSvgMap',\n props: {\n map: {},\n lots: {},\n zoom: {},\n getTooltipText: { type: Function },\n getItemWrClasses: { type: Function },\n getItemPathClasses: { type: Function },\n getItemStatusPathClasses: { type: Function }\n },\n emits: [\"onLotHover\", \"onLotLeave\", \"onLotClick\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n\n \n\n const onLotHover = (id: string) => {\n emits(\"onLotHover\", id);\n };\n\n const onLotLeave = () => {\n emits(\"onLotLeave\");\n };\n\n const onLotClick = (stage: LotMapInterface) => {\n emits(\"onLotClick\", stage);\n };\n\nconst __returned__ = { props, emits, onLotHover, onLotLeave, onLotClick, get EstateMapInterface() { return EstateMapInterface }, get getStageStatusClass() { return getStageStatusClass }, get StageStatus() { return StageStatus }, get UserRoles() { return UserRoles }, get LotMapInterface() { return LotMapInterface }, get LotStatus() { return LotStatus } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./StageSvgMap.vue?vue&type=template&id=57fc788e&scoped=true&ts=true&lang=pug\"\nimport script from \"./StageSvgMap.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./StageSvgMap.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./StageSvgMap.vue?vue&type=style&index=0&id=57fc788e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-57fc788e\"]])\n\nexport default __exports__","/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","export * from \"-!../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BuilderSelectFacade.vue?vue&type=style&index=0&id=177906ea&lang=scss&scoped=true\"","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createVNode as _createVNode, vModelText as _vModelText, withDirectives as _withDirectives, renderList as _renderList, Fragment as _Fragment, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-aaf1ab74\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal-header\" }\nconst _hoisted_2 = { class: \"content-title\" }\nconst _hoisted_3 = { class: \"modal-title\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line\" }, null, -1))\nconst _hoisted_5 = {\n class: \"modal-body scroll-wrapper\",\n ref: \"modalBodyRef\"\n}\nconst _hoisted_6 = {\n key: 0,\n class: \"content-house\"\n}\nconst _hoisted_7 = { class: \"content-img-house-selected\" }\nconst _hoisted_8 = [\"src\"]\nconst _hoisted_9 = { class: \"content-details-house-selected\" }\nconst _hoisted_10 = { class: \"content-lot-features\" }\nconst _hoisted_11 = { class: \"lot-title\" }\nconst _hoisted_12 = [\"src\"]\nconst _hoisted_13 = { class: \"content-features\" }\nconst _hoisted_14 = { class: \"content-details-price\" }\nconst _hoisted_15 = { class: \"content-row\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label-row\" }, \"House area:\", -1))\nconst _hoisted_17 = { class: \"value-row\" }\nconst _hoisted_18 = { class: \"content-row\" }\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label-row bold\" }, \"Build Price:\", -1))\nconst _hoisted_20 = { class: \"value-row bold\" }\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"from\" }, \"From\", -1))\nconst _hoisted_22 = { class: \"total bold\" }\nconst _hoisted_23 = { class: \"input-row form-group\" }\nconst _hoisted_24 = { class: \"input-wr\" }\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label bold\" }, \"First Name (required)\", -1))\nconst _hoisted_26 = {\n key: 0,\n class: \"error\"\n}\nconst _hoisted_27 = { class: \"input-wr\" }\nconst _hoisted_28 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label bold\" }, \"Last Name (required)\", -1))\nconst _hoisted_29 = {\n key: 0,\n class: \"error\"\n}\nconst _hoisted_30 = { class: \"input-row form-group\" }\nconst _hoisted_31 = { class: \"input-wr\" }\nconst _hoisted_32 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label bold\" }, \"Phone (required)\", -1))\nconst _hoisted_33 = {\n key: 0,\n class: \"error\"\n}\nconst _hoisted_34 = { class: \"input-wr\" }\nconst _hoisted_35 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label bold\" }, \"Email (required)\", -1))\nconst _hoisted_36 = {\n key: 0,\n class: \"error\"\n}\nconst _hoisted_37 = { class: \"options-wr\" }\nconst _hoisted_38 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label bold\" }, \"Message\", -1))\nconst _hoisted_39 = { class: \"input-row form-group\" }\nconst _hoisted_40 = { class: \"input-wr\" }\nconst _hoisted_41 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label bold\" }, \"Preferred Lots\", -1))\nconst _hoisted_42 = { class: \"input-wr\" }\nconst _hoisted_43 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"label bold\" }, \"Finance status\", -1))\nconst _hoisted_44 = {\n class: \"dropdown-button input-dropdown option-label\",\n type: \"button\"\n}\nconst _hoisted_45 = [\"onClick\"]\nconst _hoisted_46 = { class: \"controls\" }\nconst _hoisted_47 = [\"disabled\"]\nconst _hoisted_48 = {\n key: 1,\n class: \"spinner spinner-small\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createBlock($setup[\"Modal\"], {\n isOpen: $setup.props.isOpen,\n onClose: $setup.onClose,\n classes: ['select-builder-quote-modal']\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, \"Submit an enquiry with \" + _toDisplayString($setup.props.builder.name), 1)\n ]),\n _hoisted_4\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n ($setup.props.house && $setup.props.lot)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"img\", {\n class: \"img-house\",\n src: $setup.facade.url\n }, null, 8, _hoisted_8)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, \"Lot \" + _toDisplayString($setup.props.lot.title), 1),\n ($props.builder)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"builder-logo\",\n src: $props.builder.logo\n }, null, 8, _hoisted_12))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode($setup[\"HouseFeatures\"], {\n features: $setup.props.house,\n directionLogoLandPackage: true,\n iconSize: 'tiny-min',\n class: _normalizeClass('house-features')\n }, null, 8, [\"features\"])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", _hoisted_15, [\n _hoisted_16,\n _createElementVNode(\"div\", _hoisted_17, _toDisplayString($setup.formatPrice($setup.props.house.area, false)) + \" sqm\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _hoisted_19,\n _createElementVNode(\"div\", _hoisted_20, [\n _hoisted_21,\n _createElementVNode(\"div\", _hoisted_22, _toDisplayString($setup.buildPriceWithFacade) + \"*\", 1)\n ])\n ])\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"div\", _hoisted_24, [\n _hoisted_25,\n _withDirectives(_createElementVNode(\"input\", {\n class: \"input-default\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => (($setup.form.firstName) = $event)),\n placeholder: \"First Name\"\n }, null, 512), [\n [_vModelText, $setup.form.firstName]\n ]),\n ($setup.v$.firstName.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_26, _toDisplayString($setup.v$.firstName.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_27, [\n _hoisted_28,\n _withDirectives(_createElementVNode(\"input\", {\n class: \"input-default\",\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (($setup.form.lastName) = $event)),\n placeholder: \"Last Name\"\n }, null, 512), [\n [_vModelText, $setup.form.lastName]\n ]),\n ($setup.v$.lastName.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_29, _toDisplayString($setup.v$.lastName.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_30, [\n _createElementVNode(\"div\", _hoisted_31, [\n _hoisted_32,\n _createVNode($setup[\"Cleave\"], {\n class: \"input-default\",\n placeholder: $setup.phonePlaceholder,\n modelValue: $setup.form.phone,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (($setup.form.phone) = $event)),\n options: $setup.phoneNumberOption($setup.form.phone)\n }, null, 8, [\"placeholder\", \"modelValue\", \"options\"]),\n ($setup.v$.phone.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_33, _toDisplayString($setup.v$.phone.$errors[0]?.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_34, [\n _hoisted_35,\n _withDirectives(_createElementVNode(\"input\", {\n class: \"input-default\",\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (($setup.form.email) = $event)),\n type: \"email\",\n placeholder: \"Email\"\n }, null, 512), [\n [_vModelText, $setup.form.email]\n ]),\n ($setup.v$.email.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_36, _toDisplayString($setup.v$.email.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_37, [\n _hoisted_38,\n _withDirectives(_createElementVNode(\"textarea\", {\n class: \"input-default scroll-wrapper\",\n placeholder: \"\",\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (($setup.form.message) = $event))\n }, null, 512), [\n [_vModelText, $setup.form.message]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_39, [\n _createElementVNode(\"div\", _hoisted_40, [\n _hoisted_41,\n _withDirectives(_createElementVNode(\"input\", {\n class: \"input-default\",\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (($setup.form.preferredLots) = $event)),\n placeholder: \"e.g. Lot 12, Lot 14\"\n }, null, 512), [\n [_vModelText, $setup.form.preferredLots]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_42, [\n _hoisted_43,\n _createVNode($setup[\"DropDown\"], {\n class: \"dropdown-container\",\n onClick: $setup.onFinanceStatusDropdownClick\n }, {\n control: _withCtx(() => [\n _createElementVNode(\"label\", _hoisted_44, _toDisplayString($setup.form.financeStatus), 1)\n ]),\n dropdown: _withCtx(() => [\n _createElementVNode(\"ul\", null, [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList($setup.optionsFinanceStatus, (status) => {\n return _createElementVNode(\"li\", {\n key: status,\n onClick: ($event: any) => ($setup.selectFinanceStatus(status)),\n class: _normalizeClass({ 'dropdown__item-active': status === $setup.form.financeStatus })\n }, _toDisplayString(status), 11, _hoisted_45)\n }), 64))\n ])\n ]),\n _: 1\n })\n ])\n ])\n ], 512),\n _createElementVNode(\"div\", _hoisted_46, [\n (!$setup.isLoading)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"button default primary large long\",\n disabled: $setup.isLoading,\n onClick: $setup.submitEnquiry\n }, \"Submit enquiry\", 8, _hoisted_47))\n : _createCommentVNode(\"\", true),\n ($setup.isLoading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_48))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"button\", {\n class: \"button-cancel-border default large\",\n onClick: $setup.onClose\n }, \"Cancel\")\n ])\n ]),\n _: 1\n }, 8, [\"isOpen\"]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport Modal from \"../Modal.vue\";\n import {\n computed,\n reactive,\n ref,\n watchEffect,\n onMounted,\n } from \"vue\";\n import CheckboxInput from \"../input/CheckboxInput.vue\";\n import useVuelidate from \"@vuelidate/core\";\n import { required, email, helpers, not, sameAs } from \"@vuelidate/validators\";\n import Cleave from \"vue-cleave-component\";\n import { phoneNumberOption, phonePlaceholder } from \"@/helpers/cleavePlugin\";\n import { validPhoneNumber } from \"@/helpers/validation\";\n import { resetVuelidateErrors } from \"@/helpers/vuelidate\";\n import store from \"@/store\";\n import LeadSourceEnum from \"@/enums/LeadSourceEnum\";\n import { POSITION, useToast } from \"vue-toastification\";\n import DropDown from \"@/components/ui/dropdown/DropDown.vue\";\n import { formatPrice } from \"@/helpers/transformation/price\";\n import HouseFeatures from \"@/components/builder/HouseFeatures.vue\";\n import { FacadeInterface } from \"@/types/FacadeInterface\";\n import { BuilderQuote, UpdateBuilderQuoteDto } from \"@/types/BuilderQuote\";\n import { calculateBuildPriceOrPackagePriceTotal } from \"@/helpers/builder/calculateBuildPriceOrPackagePriceTotal\";\n import KlaviyoErrorEnum from \"@/enums/KlaviyoEnum\";\n import axios, { AxiosError } from \"axios\";\n import parseAustralianNumberToInternational from \"@/helpers/phone-number\";\n import ErrorMessages from \"@/constants/errorsMessages\";\n import { handleError } from \"@/helpers/klaviyo/klaviyo-error-handler.helper\";\n import { FinanceStatusEnum } from \"@/enums/BuilderFinanceStatus\";\n import scrollToBottomModal from \"@/helpers/scroll-modal.helper\";\n import { HouseDesignInterface } from \"@/types/HouseDesignInterface\";\n import { LotInterface } from \"@/types/LotInterface\";\n import { EstateInterface } from \"@/types/EstateInterface\";\n import { BuilderInterface } from \"@/types/BuilderInterface\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BuilderEnquiryModal',\n props: {\n isOpen: { type: Boolean },\n house: {},\n lot: {},\n quote: {},\n estate: {},\n builder: {},\n selectedFacade: {}\n },\n emits: [\"close\", \"send\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n const toast = useToast();\n\n \n\n \n\n const optionsFinanceStatus = [\n FinanceStatusEnum.PRE_APPROVED,\n FinanceStatusEnum.APPLICATION_IN_PROGRESS,\n FinanceStatusEnum.EXPLORING_MY_OPTIONS,\n FinanceStatusEnum.CASH_BUYER,\n ];\n\n const rules = {\n firstName: { required },\n lastName: { required },\n email: { required, email },\n phone: {\n required,\n validPhoneNumber: helpers.withMessage(\n \"Value must be valid phone number\",\n validPhoneNumber\n ),\n },\n message: { optional: true },\n preferredLots: { optional: true },\n financeStatus: { optional: true },\n };\n\n const formFields = {\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phone: \"\",\n message: \"\",\n preferredLots: \"\",\n financeStatus: FinanceStatusEnum.SELECT,\n };\n const form = reactive(Object.assign({}, formFields));\n const v$ = useVuelidate(rules, form);\n const isLoading = ref(false);\n const facade = computed(() => props.selectedFacade);\n const siteCosts = ref(0);\n const modalBodyRef = ref(null);\n const selectedFacadeId = computed(\n () => store.getters[\"facade/selectedFacadeId\"]\n );\n\n const getSiteCosts = () => {\n if (props.quote) {\n store\n .dispatch(\"builder/getSiteCost\", {\n lotId: props.quote.selections.lot.lotId,\n builderId: props.quote.selections.builder.builderId,\n houseId: props.quote.selections.house.houseId,\n })\n .then((res) => {\n siteCosts.value = res.data.siteCost;\n })\n .catch(() => {\n toast.error(\"Fetching site costs failed\", {\n position: POSITION.TOP_LEFT,\n });\n });\n }\n };\n\n const buildPriceWithFacade = computed(() => {\n const facade = props.house.facades.find(\n (facade) => facade._id === selectedFacadeId.value\n );\n const basePrice = Number(props.house.basePrice);\n const facadePrice = Number(facade?.price || 0);\n\n return calculateBuildPriceOrPackagePriceTotal(\n basePrice,\n facadePrice,\n siteCosts.value\n );\n });\n\n const onClose = () => {\n clearForm();\n resetVuelidateErrors(v$);\n emits(\"close\");\n };\n\n const submitEnquiry = async () => {\n const isValid = await validateForm();\n if (!isValid) {\n return;\n }\n try {\n isLoading.value = true;\n\n const body = createBodyRequest();\n\n await store.dispatch(\"builder/enquiryBuilderPackage\", body);\n\n emits(\"send\");\n onClose();\n } catch (error) {\n toast.error(\"Something went wrong, please try again later\", {\n position: POSITION.TOP_LEFT,\n });\n } finally {\n isLoading.value = false;\n }\n };\n\n const createBodyRequest = () => {\n const { lot } = props;\n const { landownerId } = lot;\n\n const selections = {\n builder: {\n builderId: props.builder._id,\n name: props.builder.name,\n logoUrl: props.builder.logo,\n },\n house: {\n houseId: props.house._id,\n name: props.house.name,\n price: props.house.basePrice,\n },\n facade: {\n facadeId: facade.value?._id as string,\n name: facade.value?.name as string,\n url: facade.value?.url as string,\n price: facade.value?.price as number,\n },\n floorplan: {\n name: \"Floorplan\",\n url: props.house.floorplans[0].url,\n },\n lot: {\n lotId: lot._id,\n name: lot.title,\n price: lot.price,\n },\n };\n\n const financeStatus =\n form.financeStatus === FinanceStatusEnum.SELECT\n ? undefined\n : form.financeStatus;\n const preferredLots =\n form.preferredLots === \"\" ? undefined : form.preferredLots;\n const message = form.message === \"\" ? undefined : form.message;\n\n return {\n selections,\n estateTitle: props.estate.title,\n message,\n preferredLots,\n financeStatus,\n lead: {\n landownerId: lot.landownerId,\n estateId: lot.estateId._id,\n firstName: form.firstName,\n lastName: form.lastName,\n email: form.email.toLowerCase(),\n phone: form.phone,\n source: LeadSourceEnum.ENQUIRY,\n watched: false,\n },\n };\n };\n\n const validateForm = async () => {\n const isValid = await v$.value.$validate();\n v$.value.$touch();\n return isValid;\n };\n\n const clearForm = () => {\n Object.assign(form, formFields);\n resetVuelidateErrors(v$);\n };\n\n const onFinanceStatusDropdownClick = async () => {\n await scrollToBottomModal(modalBodyRef, modalBodyRef);\n };\n\n const selectFinanceStatus = (financeStatus: FinanceStatusEnum) => {\n form.financeStatus = financeStatus;\n };\n\n watchEffect(() => {\n if (props.isOpen) {\n getSiteCosts();\n }\n });\n\n onMounted(() => {\n getSiteCosts();\n });\n\nconst __returned__ = { toast, emits, props, optionsFinanceStatus, rules, formFields, form, v$, isLoading, facade, siteCosts, modalBodyRef, selectedFacadeId, getSiteCosts, buildPriceWithFacade, onClose, submitEnquiry, createBodyRequest, validateForm, clearForm, onFinanceStatusDropdownClick, selectFinanceStatus, Modal, computed, reactive, ref, watchEffect, onMounted, CheckboxInput, get useVuelidate() { return useVuelidate }, get required() { return required }, get email() { return email }, get helpers() { return helpers }, get not() { return not }, get sameAs() { return sameAs }, get Cleave() { return Cleave }, get phoneNumberOption() { return phoneNumberOption }, get phonePlaceholder() { return phonePlaceholder }, get validPhoneNumber() { return validPhoneNumber }, get resetVuelidateErrors() { return resetVuelidateErrors }, get store() { return store }, get LeadSourceEnum() { return LeadSourceEnum }, get POSITION() { return POSITION }, get useToast() { return useToast }, DropDown, get formatPrice() { return formatPrice }, HouseFeatures, get FacadeInterface() { return FacadeInterface }, get BuilderQuote() { return BuilderQuote }, get UpdateBuilderQuoteDto() { return UpdateBuilderQuoteDto }, get calculateBuildPriceOrPackagePriceTotal() { return calculateBuildPriceOrPackagePriceTotal }, get KlaviyoErrorEnum() { return KlaviyoErrorEnum }, get axios() { return axios }, get AxiosError() { return AxiosError }, get parseAustralianNumberToInternational() { return parseAustralianNumberToInternational }, get ErrorMessages() { return ErrorMessages }, get handleError() { return handleError }, get FinanceStatusEnum() { return FinanceStatusEnum }, get scrollToBottomModal() { return scrollToBottomModal }, get HouseDesignInterface() { return HouseDesignInterface }, get LotInterface() { return LotInterface }, get EstateInterface() { return EstateInterface }, get BuilderInterface() { return BuilderInterface } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./BuilderEnquiryModal.vue?vue&type=template&id=aaf1ab74&scoped=true&ts=true&lang=pug\"\nimport script from \"./BuilderEnquiryModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BuilderEnquiryModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BuilderEnquiryModal.vue?vue&type=style&index=0&id=aaf1ab74&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-aaf1ab74\"]])\n\nexport default __exports__","var aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar $TypeError = TypeError;\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aCallable(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(O);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw $TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, vModelText as _vModelText, normalizeClass as _normalizeClass, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"modal-wrapper scroll-wrapper\" }\nconst _hoisted_2 = { class: \"modal-title modal-title-hold\" }\nconst _hoisted_3 = { class: \"modal__title\" }\nconst _hoisted_4 = { class: \"text-muted\" }\nconst _hoisted_5 = {\n class: \"content-block scroll-wrapper\",\n ref: \"contentBlockRef\"\n}\nconst _hoisted_6 = { class: \"form\" }\nconst _hoisted_7 = {\n class: \"modal-content modal-content-hold\",\n ref: \"modalContainerRef\"\n}\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"section-title\" }, \"Purchaser details\", -1)\nconst _hoisted_9 = { class: \"form-fields form-fields-hold\" }\nconst _hoisted_10 = { class: \"form-group\" }\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"label\" }, \"First Name\", -1)\nconst _hoisted_12 = {\n key: 0,\n class: \"error\"\n}\nconst _hoisted_13 = { class: \"form-group\" }\nconst _hoisted_14 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"label\" }, \"Last Name\", -1)\nconst _hoisted_15 = {\n key: 0,\n class: \"error\"\n}\nconst _hoisted_16 = { class: \"form-group\" }\nconst _hoisted_17 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"label\" }, \"Phone\", -1)\nconst _hoisted_18 = {\n key: 0,\n class: \"error\"\n}\nconst _hoisted_19 = { class: \"form-group\" }\nconst _hoisted_20 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"label\" }, \"Email\", -1)\nconst _hoisted_21 = {\n key: 0,\n class: \"error\"\n}\nconst _hoisted_22 = { class: \"form-group\" }\nconst _hoisted_23 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"label\" }, \"Postcode\", -1)\nconst _hoisted_24 = {\n key: 0,\n class: \"error\"\n}\nconst _hoisted_25 = { class: \"form-group\" }\nconst _hoisted_26 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"label\" }, \"Owner-occupier / Investor\", -1)\nconst _hoisted_27 = [\"onClick\"]\nconst _hoisted_28 = {\n key: 0,\n class: \"error\"\n}\nconst _hoisted_29 = { class: \"buttons-wr\" }\nconst _hoisted_30 = [\"disabled\"]\nconst _hoisted_31 = {\n key: 1,\n class: \"spinner-wr\"\n}\nconst _hoisted_32 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"spinner spinner-small\" }, null, -1)\nconst _hoisted_33 = [\n _hoisted_32\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createBlock($setup[\"Modal\"], {\n \"is-open\": $setup.props.isOpen,\n onClose: $setup.onClose,\n classes: \"request-hold-modal height-limited\"\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"button\", {\n class: \"button icon back\",\n onClick: $setup.onBack,\n type: \"button\"\n }),\n _createElementVNode(\"div\", _hoisted_3, [\n _createTextVNode(\"Request a Hold\"),\n _createElementVNode(\"span\", _hoisted_4, \" (Lot \" + _toDisplayString($props.lot.title) + \")\", 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"form\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", null, [\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"label\", null, [\n _hoisted_11,\n _withDirectives(_createElementVNode(\"input\", {\n class: _normalizeClass([\"input-large\", { 'input--error': $setup.v$.firstName.$error }]),\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => (($setup.form.firstName) = $event)),\n placeholder: \"First Name\"\n }, null, 2), [\n [_vModelText, $setup.form.firstName]\n ])\n ]),\n ($setup.v$.firstName.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_12, _toDisplayString($setup.v$.firstName.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"label\", null, [\n _hoisted_14,\n _withDirectives(_createElementVNode(\"input\", {\n class: _normalizeClass([\"input-large\", { 'input--error': $setup.v$.lastName.$error }]),\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (($setup.form.lastName) = $event)),\n placeholder: \"Last Name\"\n }, null, 2), [\n [_vModelText, $setup.form.lastName]\n ])\n ]),\n ($setup.v$.lastName.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_15, _toDisplayString($setup.v$.lastName.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"label\", null, [\n _hoisted_17,\n _createVNode($setup[\"Cleave\"], {\n class: _normalizeClass([\"input input-large\", { 'input--error': $setup.v$.phone.$error }]),\n modelValue: $setup.form.phone,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (($setup.form.phone) = $event)),\n options: $setup.phoneNumberOption($setup.form.phone),\n placeholder: \"0412 345 678\"\n }, null, 8, [\"modelValue\", \"class\", \"options\"])\n ]),\n ($setup.v$.phone.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_18, _toDisplayString($setup.v$.phone.$errors[0]?.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"label\", null, [\n _hoisted_20,\n _withDirectives(_createElementVNode(\"input\", {\n class: _normalizeClass([\"input-large\", { 'input--error': $setup.v$.email.$error }]),\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (($setup.form.email) = $event)),\n placeholder: \"Email\"\n }, null, 2), [\n [_vModelText, $setup.form.email]\n ])\n ]),\n ($setup.v$.email.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_21, _toDisplayString($setup.v$.email.$errors[0]?.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"label\", null, [\n _hoisted_23,\n _withDirectives(_createElementVNode(\"input\", {\n class: _normalizeClass([\"input-large\", { 'input--error': $setup.v$.postcode.$error }]),\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (($setup.form.postcode) = $event)),\n placeholder: \"e.g. 2000\"\n }, null, 2), [\n [_vModelText, $setup.form.postcode]\n ])\n ]),\n ($setup.v$.postcode.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_24, _toDisplayString($setup.v$.postcode.$errors[0]?.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"label\", null, [\n _hoisted_26,\n _createElementVNode(\"div\", null, [\n _createVNode($setup[\"DropDown\"], { class: \"dropdown-container\" }, {\n control: _withCtx(() => [\n _createElementVNode(\"label\", {\n class: \"dropdown-button input-dropdown\",\n type: \"button\",\n onClick: $setup.scrollToBottom\n }, _toDisplayString($setup.form.holderType), 1)\n ]),\n dropdown: _withCtx(() => [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList([$setup.HolderType.INVESTOR, $setup.HolderType.OWNER_OCCUPIER], (holder) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: holder,\n onClick: ($event: any) => ($setup.selectHolderType(holder)),\n class: _normalizeClass({ 'dropdown__item-active': holder === $setup.form.holderType })\n }, _toDisplayString(holder), 11, _hoisted_27))\n }), 128))\n ])\n ]),\n _: 1\n })\n ])\n ]),\n ($setup.v$.holderType.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_28, _toDisplayString($setup.v$.holderType.$errors[0]?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ], 512)\n ])\n ], 512),\n _createElementVNode(\"div\", _hoisted_29, [\n (!$setup.disabled)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"button large primary reserve\",\n type: \"submit\",\n disabled: $setup.disabled,\n onClick: $setup.onReserve\n }, \"Submit\", 8, _hoisted_30))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_31, _hoisted_33)),\n _createElementVNode(\"button\", {\n class: \"button reserve\",\n type: \"button\",\n onClick: $setup.onClose\n }, \"Cancel\")\n ])\n ])\n ]),\n _: 1\n }, 8, [\"is-open\"]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport Modal from \"@/components/ui/Modal.vue\";\n import { reactive, computed, ref, onMounted, watchEffect } from \"vue\";\n import useVuelidate from \"@vuelidate/core\";\n import {\n email,\n helpers,\n required,\n not,\n sameAs,\n numeric,\n minLength,\n } from \"@vuelidate/validators\";\n import { resetVuelidateErrors } from \"@/helpers/vuelidate\";\n import Cleave from \"vue-cleave-component\";\n import { phoneNumberOption } from \"@/helpers/cleavePlugin\";\n import { validPhoneNumber } from \"@/helpers/validation\";\n import { trackSendInitialHold } from \"@/helpers/initialHold/trackSendInitialHold\";\n import store from \"@/store\";\n import { CreateInitialHoldInterface } from \"@/types/InitialHoldInterface\";\n import { POSITION, useToast } from \"vue-toastification\";\n import axios, { AxiosError } from \"axios\";\n import DropDown from \"@/components/ui/dropdown/DropDown.vue\";\n import { HolderType } from \"@/enums/InitialHoldHolderType\";\n import { StatesEnum } from \"@/enums/StatesEnum\";\n import { calculateStateFromPostcode } from \"@/helpers/initialHold/calculateStateFromPostcode\";\n import { delay } from \"@/helpers/async\";\n import parseAustralianNumberToInternational from \"@/helpers/phone-number\";\n import { handleError } from \"@/helpers/klaviyo/klaviyo-error-handler.helper\";\n import { FacadeInterface } from \"@/types/FacadeInterface\";\n import { BuilderQuote, UpdateBuilderQuoteDto } from \"@/types/BuilderQuote\";\n import { CreateBuilderQuote } from \"@/types/CreateBuilderQuote\";\n import LeadSourceEnum from \"@/enums/LeadSourceEnum\";\n import { LotMapInterface } from \"@/types/LotMapInterface\";\n import { HouseDesignInterface } from \"@/types/HouseDesignInterface\";\n import { EstateInterface } from \"@/types/EstateInterface\";\n import { BuilderInterface } from \"@/types/BuilderInterface\";\n import { LotInterface } from \"@/types/LotInterface\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BuilderInitialHoldModal',\n props: {\n isOpen: { type: Boolean },\n lot: {},\n house: {},\n quote: {},\n estate: {},\n builder: {},\n selectedFacade: {}\n },\n emits: [\"send\", \"back\", \"close\", \"toPartnerModal\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n const userType = ref(\"\");\n const disabled = ref(false);\n const toast = useToast();\n \n \n\n const modalContainerRef = ref(null);\n const contentBlockRef = ref(null);\n const facade = computed(() => props.selectedFacade);\n\n const scrollToBottom = async () => {\n await delay(10);\n\n if (!contentBlockRef.value || !modalContainerRef.value) return;\n\n contentBlockRef.value.scrollTo({\n top: modalContainerRef.value.scrollHeight,\n behavior: \"smooth\",\n });\n };\n\n const customerIdOrNull = computed(() => {\n return store?.state?.user?.data?._id ? store.state.user.data._id : null;\n });\n\n const formFields = {\n firstName: \"\",\n lastName: \"\",\n phone: \"\",\n email: \"\",\n holderType: \"Please select\" as HolderType,\n postcode: \"\",\n state: \"\",\n };\n\n const form = reactive(Object.assign({}, formFields));\n const rules = {\n firstName: { required },\n lastName: { required },\n phone: {\n required,\n validPhoneNumber: helpers.withMessage(\n \"Value must be valid phone number\",\n validPhoneNumber\n ),\n },\n holderType: {\n required,\n validValue: not(sameAs(\"Please select\")),\n },\n postcode: { required, numeric, minLength: minLength(4) },\n email: { required, email },\n };\n\n const v$ = useVuelidate(rules, form);\n\n function onClose() {\n clearForm();\n resetVuelidateErrors(v$);\n emits(\"close\");\n }\n\n const onReserve = () => {\n if (props.quote.isAdminPackage) {\n createInitialHoldRequest();\n } else {\n updateQuoteAndCreateHold();\n }\n };\n\n async function createInitialHoldRequest() {\n v$.value.$touch();\n const isValid = await v$.value.$validate();\n if (!isValid) {\n return;\n }\n try {\n disabled.value = true;\n const initialHold = createInitialHoldRequestBody();\n await store.dispatch(\"initialHold/createInitialHold\", initialHold);\n emits(\"send\");\n trackSendInitialHold(props.lot.estateId._id);\n clearForm();\n } catch (error) {\n handleError(error as AxiosError);\n } finally {\n disabled.value = false;\n }\n }\n\n async function updateQuoteAndCreateHold() {\n v$.value.$touch();\n const isValid = await v$.value.$validate();\n if (!isValid) {\n return;\n }\n try {\n const quote = updatePackageRequest();\n const initialHold = createInitialHoldRequestBody();\n updateQuoteAndInitialHoldRequest(quote, initialHold);\n } catch (error) {\n handleError(error as AxiosError);\n }\n }\n\n const updateQuoteAndInitialHoldRequest = (\n quote: UpdateBuilderQuoteDto,\n dataInitialHold: CreateInitialHoldInterface\n ) => {\n disabled.value = true;\n store\n .dispatch(\"builder/requestHoldPackage\", {\n quoteId: props.quote._id,\n updateData: quote,\n holdData: dataInitialHold,\n })\n .then(() => {\n emits(\"send\");\n trackSendInitialHold(props.lot.estateId._id);\n clearForm();\n })\n .catch(() => {\n toast.error(\"Something went wrong, please try again later\", {\n position: POSITION.TOP_LEFT,\n });\n })\n .finally(() => {\n disabled.value = false;\n });\n };\n\n function clearForm() {\n Object.assign(form, formFields);\n resetVuelidateErrors(v$);\n }\n const onBack = () => {\n if (!userType.value) {\n emits(\"back\");\n }\n userType.value = \"\";\n resetVuelidateErrors(v$);\n clearForm();\n };\n\n const selectHolderType = (holderType: HolderType) => {\n form.holderType = holderType;\n };\n\n const updatePackageRequest = () => {\n const { lot } = props;\n const { landownerId } = lot;\n\n const userSelections = {\n builder: {\n builderId: props.builder._id,\n name: props.builder.name,\n logoUrl: props.builder.logo,\n },\n house: {\n houseId: props.house._id,\n name: props.house.name,\n price: props.house.basePrice,\n },\n facade: {\n facadeId: facade.value?._id as string,\n name: facade.value?.name as string,\n url: facade.value?.url as string,\n price: facade.value?.price as number,\n },\n floorplan: {\n name: \"Floorplan\",\n url: props.house.floorplans[0].url,\n },\n lot: {\n lotId: lot._id,\n name: lot.title,\n price: lot.price,\n },\n };\n return {\n selections: userSelections,\n timeReference: undefined,\n bestDescribesYou: undefined,\n financeStatus: undefined,\n estateId: props.estate._id,\n estateTitle: props.estate.title,\n landownerId: props.quote.landownerId ?? props.lot.landownerId,\n emailSentToLandowner: true,\n isAdminPackage: false,\n user: {\n firstName: form.firstName,\n lastName: form.lastName,\n email: form.email.toLowerCase(),\n phone: form.phone,\n },\n };\n };\n\n const createInitialHoldRequestBody = (): CreateInitialHoldInterface => {\n const { firstName, lastName, phone, holderType, postcode } = form;\n const leadDetails = {\n email: form.email.toLowerCase(),\n firstName,\n lastName,\n phone,\n };\n\n const state = calculateStateFromPostcode(postcode);\n\n const initialHold: CreateInitialHoldInterface = {\n lotId: props.lot._id,\n lotTitle: props.lot.title,\n landownerId: props.quote.landownerId,\n estateId: props.lot.estateId._id,\n leadDetails,\n holderType,\n state,\n postcode,\n ...(customerIdOrNull.value && { customerId: customerIdOrNull.value }),\n };\n\n return initialHold;\n };\n\nconst __returned__ = { userType, disabled, toast, emits, props, modalContainerRef, contentBlockRef, facade, scrollToBottom, customerIdOrNull, formFields, form, rules, v$, onClose, onReserve, createInitialHoldRequest, updateQuoteAndCreateHold, updateQuoteAndInitialHoldRequest, clearForm, onBack, selectHolderType, updatePackageRequest, createInitialHoldRequestBody, Modal, reactive, computed, ref, onMounted, watchEffect, get useVuelidate() { return useVuelidate }, get email() { return email }, get helpers() { return helpers }, get required() { return required }, get not() { return not }, get sameAs() { return sameAs }, get numeric() { return numeric }, get minLength() { return minLength }, get resetVuelidateErrors() { return resetVuelidateErrors }, get Cleave() { return Cleave }, get phoneNumberOption() { return phoneNumberOption }, get validPhoneNumber() { return validPhoneNumber }, get trackSendInitialHold() { return trackSendInitialHold }, get store() { return store }, get CreateInitialHoldInterface() { return CreateInitialHoldInterface }, get POSITION() { return POSITION }, get useToast() { return useToast }, get axios() { return axios }, get AxiosError() { return AxiosError }, DropDown, get HolderType() { return HolderType }, get StatesEnum() { return StatesEnum }, get calculateStateFromPostcode() { return calculateStateFromPostcode }, get delay() { return delay }, get parseAustralianNumberToInternational() { return parseAustralianNumberToInternational }, get handleError() { return handleError }, get FacadeInterface() { return FacadeInterface }, get BuilderQuote() { return BuilderQuote }, get UpdateBuilderQuoteDto() { return UpdateBuilderQuoteDto }, get CreateBuilderQuote() { return CreateBuilderQuote }, get LeadSourceEnum() { return LeadSourceEnum }, get LotMapInterface() { return LotMapInterface }, get HouseDesignInterface() { return HouseDesignInterface }, get EstateInterface() { return EstateInterface }, get BuilderInterface() { return BuilderInterface }, get LotInterface() { return LotInterface } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./BuilderInitialHoldModal.vue?vue&type=template&id=4347dd5d&ts=true&lang=pug\"\nimport script from \"./BuilderInitialHoldModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BuilderInitialHoldModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BuilderInitialHoldModal.vue?vue&type=style&index=0&id=4347dd5d&lang=scss\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","/* eslint-disable no-unused-vars -- required for functions `.length` */\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause');\n\nvar WEB_ASSEMBLY = 'WebAssembly';\nvar WebAssembly = global[WEB_ASSEMBLY];\n\nvar FORCED = Error('e', { cause: 7 }).cause !== 7;\n\nvar exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);\n $({ global: true, constructor: true, arity: 1, forced: FORCED }, O);\n};\n\nvar exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n if (WebAssembly && WebAssembly[ERROR_NAME]) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);\n $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O);\n }\n};\n\n// https://tc39.es/ecma262/#sec-nativeerror\n// https://github.com/tc39/proposal-error-cause\nexportGlobalErrorCauseWrapper('Error', function (init) {\n return function Error(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('EvalError', function (init) {\n return function EvalError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('RangeError', function (init) {\n return function RangeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('ReferenceError', function (init) {\n return function ReferenceError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('SyntaxError', function (init) {\n return function SyntaxError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('TypeError', function (init) {\n return function TypeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('URIError', function (init) {\n return function URIError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('CompileError', function (init) {\n return function CompileError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('LinkError', function (init) {\n return function LinkError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {\n return function RuntimeError(message) { return apply(init, this, arguments); };\n});\n","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./LottrackrPoweredIcon.vue?vue&type=style&index=0&id=353aed0c&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./HouseAndFloorplanImage.vue?vue&type=style&index=0&id=3aef90b0&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./HouseFeatures.vue?vue&type=style&index=0&id=52add2f8&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./BuilderSliderButtons.vue?vue&type=style&index=0&id=0e610576&lang=scss&scoped=true\"","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-80b498b8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"onClick\"]\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = [\"onClick\"]\nconst _hoisted_4 = [\"src\"]\nconst _hoisted_5 = { class: \"image-text\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"builder-slider scroll-wrapper\", { 'select-design': $setup.props.isSelectDesign, 'select-facade': $setup.props.isSelectFacade }])\n }, [\n ($setup.isDesktop)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"builder-images-wr\", { 'select-design': $setup.props.isSelectDesign, 'select-facade': $setup.props.isSelectFacade }])\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.displayedImages, (image, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"content-images\", { checkmark: $props.isSelectDesign ? $setup.props.selectedimage?._id === image._id : $setup.props.selectedimage?.id === image.id, 'select-facade': $setup.props.isSelectFacade }]),\n key: index,\n onClick: ($event: any) => ($setup.onSelectImage(image))\n }, [\n _createElementVNode(\"img\", {\n class: _normalizeClass([\"builder-carousel-img\", { 'select-facade': $setup.props.isSelectFacade }]),\n src: image.mainImage || image.url\n }, null, 10, _hoisted_2),\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"image-text\", { 'select-facade': $setup.props.isSelectFacade }])\n }, _toDisplayString(image.name), 3)\n ], 10, _hoisted_1))\n }), 128))\n ], 2))\n : (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: \"builder-carousel-wr\",\n ref: \"builderCarousel\",\n onScroll: $setup.handleScroll\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.displayedImages, (image, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"content-images\", { checkmark: $props.isSelectDesign ? $setup.props.selectedimage?._id === image._id : $setup.props.selectedimage?.id === image.id }]),\n key: index,\n onClick: ($event: any) => ($setup.onSelectImage(image))\n }, [\n _createElementVNode(\"img\", {\n class: \"builder-carousel-img\",\n src: image.mainImage || image.url\n }, null, 8, _hoisted_4),\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(image.name), 1)\n ], 10, _hoisted_3))\n }), 128))\n ], 544))\n ], 2))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { ref, watch } from \"vue\";\n import { useIsDesktop } from \"@/features/useIsDesktop\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'BuilderSliderImages',\n props: {\n images: {\n type: Array,\n required: true,\n },\n selectedimage: {\n type: Object,\n required: true,\n },\n isSelectDesign: {\n type: Boolean,\n required: false,\n },\n isSelectFacade: {\n type: Boolean,\n required: false,\n },\n },\n emits: [\"onRequestQuote\", \"onSelectImage\"],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n \n const { isDesktop } = useIsDesktop(990);\n\n const displayedImages = ref([...props.images]);\n const builderCarousel = ref();\n\n const onSelectImage = (image: { id?: string; _id?: string }) => {\n const idComparison = props.isSelectDesign\n ? image?._id === props.selectedimage?._id\n : image?.id === props.selectedimage?.id;\n if (idComparison) {\n return;\n }\n emits(\"onSelectImage\", image);\n };\n\n const handleScroll = () => {\n const viewportWidth = builderCarousel.value.clientWidth;\n const scrollLeft = builderCarousel.value.scrollLeft;\n const maxScroll = builderCarousel.value.scrollWidth - viewportWidth;\n const tolerance = 20;\n\n if (maxScroll - scrollLeft < viewportWidth / 2 + tolerance) {\n displayedImages.value = [...displayedImages.value, ...props.images];\n }\n };\n watch(\n () => props.images,\n (newVal) => {\n displayedImages.value = newVal;\n }\n );\n\nconst __returned__ = { props, emits, isDesktop, displayedImages, builderCarousel, onSelectImage, handleScroll, ref, watch, get useIsDesktop() { return useIsDesktop } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./BuilderSliderImages.vue?vue&type=template&id=80b498b8&scoped=true&ts=true&lang=pug\"\nimport script from \"./BuilderSliderImages.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BuilderSliderImages.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BuilderSliderImages.vue?vue&type=style&index=0&id=80b498b8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-80b498b8\"]])\n\nexport default __exports__","var toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\nimport _imports_0 from '@/assets/icons/chevron-right-gray.svg'\n\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"stage-btn-link-container\", { 'stage-btn-link-container-hover': $setup.props.hoverStageId === $setup.props.stage.id }]),\n onMouseover: $setup.onHover,\n onMouseleave: $setup.onMouseLeave,\n onClick: $setup.onClick\n }, [\n _createElementVNode(\"p\", {\n class: _normalizeClass([\"stage-btn-title stage\", { 'title-hover': $setup.hover }])\n }, \"Stage \" + _toDisplayString($setup.props.stage.title), 3),\n _createElementVNode(\"p\", {\n class: _normalizeClass([\"stage-btn-title available-lots\", { 'title-hover': $setup.hover }])\n }, _toDisplayString($setup.props.lotsAvailableAmount) + \" Available Lots\", 3),\n _createElementVNode(\"img\", {\n class: _normalizeClass([\"stage-btn-chevron\", { 'title-hover': $setup.hover }]),\n src: _imports_0\n }, null, 2)\n ], 34))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { ref, watch } from \"vue\";\n import { UiBasicStageInterface } from \"@/types/StageInterface\";\n\n type propsType = {\n stage: UiBasicStageInterface;\n lotsAvailableAmount: string | number;\n hoverStageId: string;\n };\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'StageButtonLink',\n props: {\n stage: {},\n lotsAvailableAmount: {},\n hoverStageId: {}\n },\n emits: [\"onStageHover\", \"onClick\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n const hover = ref(false);\n\n \n\n \n\n const onHover = () => {\n hover.value = true;\n emits(\"onStageHover\", true, props.stage.id);\n };\n\n const onMouseLeave = () => {\n hover.value = false;\n emits(\"onStageHover\", false, props.stage.id);\n };\n\n const onClick = () => {\n emits(\"onClick\", props.stage.id);\n };\n\n watch(\n () => props.hoverStageId,\n () => {\n if (props.hoverStageId === props.stage.id) {\n hover.value = true;\n } else {\n hover.value = false;\n }\n }\n );\n\nconst __returned__ = { hover, props, emits, onHover, onMouseLeave, onClick, ref, watch, get UiBasicStageInterface() { return UiBasicStageInterface } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./StageButtonLink.vue?vue&type=template&id=be393694&scoped=true&ts=true&lang=pug\"\nimport script from \"./StageButtonLink.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./StageButtonLink.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./StageButtonLink.vue?vue&type=style&index=0&id=be393694&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-be393694\"]])\n\nexport default __exports__","const RED_SHIFT = 16;\nconst GREEN_SHIFT = 8;\nconst BLUE_SHIFT = 0;\n\nconst MAX_COLOR_VALUE = 255;\nconst MIN_COLOR_VALUE = 0;\n\n// Mask for extracting the blue color component\nconst COLOR_MASK = 0x0000ff;\n// Mask for extracting the green color component\nconst ALPHA_MASK = 0x00ff;\n\nconst PERCENT_TO_RGB = 2.55;\n\nconst hexToRgb = (color: string): number => parseInt(color.slice(1), 16);\n\nconst formatColorValueToHexColor = (rgbValue: number): string => {\n const result = rgbValue.toString(16).padStart(6, \"0\");\n return `#${result}`;\n};\nconst clamp = (value: number, min: number, max: number): number =>\n Math.max(min, Math.min(value, max));\nexport const lightenDarkenColor = (color: string, percent: number): string => {\n const colorValue = hexToRgb(color);\n const amount = Math.round(PERCENT_TO_RGB * percent);\n\n const r = clamp(\n (colorValue >> RED_SHIFT) + amount,\n MIN_COLOR_VALUE,\n MAX_COLOR_VALUE\n );\n\n const g = clamp(\n ((colorValue >> GREEN_SHIFT) & ALPHA_MASK) + amount,\n MIN_COLOR_VALUE,\n MAX_COLOR_VALUE\n );\n\n const b = clamp(\n (colorValue & COLOR_MASK) + amount,\n MIN_COLOR_VALUE,\n MAX_COLOR_VALUE\n );\n\n const rgbValue = (r << RED_SHIFT) | (g << GREEN_SHIFT) | (b << BLUE_SHIFT);\n\n return formatColorValueToHexColor(rgbValue);\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar proxyAccessor = require('../internals/proxy-accessor');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar installErrorCause = require('../internals/install-error-cause');\nvar installErrorStack = require('../internals/error-stack-install');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nmodule.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {\n var STACK_TRACE_LIMIT = 'stackTraceLimit';\n var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;\n var path = FULL_NAME.split('.');\n var ERROR_NAME = path[path.length - 1];\n var OriginalError = getBuiltIn.apply(null, path);\n\n if (!OriginalError) return;\n\n var OriginalErrorPrototype = OriginalError.prototype;\n\n // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006\n if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;\n\n if (!FORCED) return OriginalError;\n\n var BaseError = getBuiltIn('Error');\n\n var WrappedError = wrapper(function (a, b) {\n var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);\n var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();\n if (message !== undefined) createNonEnumerableProperty(result, 'message', message);\n installErrorStack(result, WrappedError, result.stack, 2);\n if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);\n if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);\n return result;\n });\n\n WrappedError.prototype = OriginalErrorPrototype;\n\n if (ERROR_NAME !== 'Error') {\n if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);\n else copyConstructorProperties(WrappedError, BaseError, { name: true });\n } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {\n proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);\n proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');\n }\n\n copyConstructorProperties(WrappedError, OriginalError);\n\n if (!IS_PURE) try {\n // Safari 13- bug: WebAssembly errors does not have a proper `.name`\n if (OriginalErrorPrototype.name !== ERROR_NAME) {\n createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);\n }\n OriginalErrorPrototype.constructor = WrappedError;\n } catch (error) { /* empty */ }\n\n return WrappedError;\n};\n","export function formatPrice(\n price: number | string = 0,\n showCurrency = true\n): string {\n const priceArray = `${price}`.split(\".\");\n return (\n (showCurrency ? \"$\" : \"\") +\n priceArray[0]\n .toString()\n .match(/.{1,3}(?=(.{3})*$)/g)\n ?.join(\",\") +\n (priceArray[1] ? \".\" + priceArray[1] : \"\")\n );\n}\n\nexport const formatStripePrice = (value = 0, showCurrency = true): string => {\n let string = String(value);\n string = string.slice(0, -2) + \".\" + string.slice(-2);\n const lastTwo = string.substr(string.length - 2);\n const firstCharacter = string.substr(0, 1);\n if (firstCharacter === \".\") {\n string = \"0\" + string;\n }\n if (lastTwo === \"00\") {\n return formatPrice(string.slice(0, -3), showCurrency);\n }\n return formatPrice(string, showCurrency);\n};\n\nexport const formatPriceToNumber = (price: string): number => {\n return parseFloat(price.replace(/,/g, '').replace(/\\$/g, ''));\n}\n\n\nexport const formatPriceTrim = (price: number | string = 0,) : string => {\n const trimText = price ? price.toString()\n .replace(/[^\\d.]/g, '')\n : undefined;\n if(!trimText || trimText === '$') {\n return '$0';\n }\n return formatPrice(trimText);\n};\n\nexport const formatPorcentageTrim = (porcentage: number | string = 0, max ?: number) : string => {\n let integerValue = porcentage;\n let decimalValue = '';\n if(typeof porcentage === 'string' && porcentage.includes('.')) {\n const porcentageParts = porcentage.split('.');\n integerValue = porcentageParts[0];\n decimalValue = '.' + porcentageParts[1];\n }\n const trimPorcentage = formatPriceTrim(integerValue).replace(/\\$/g, '');\n if(!trimPorcentage) {\n return '0.0';\n }\n if(max && trimPorcentage.replace(/,/g, '') as unknown as number >= max) {\n return max.toString();\n }\n return integerValue + decimalValue;\n};\n\nexport const updatePriceInput = (e : Event, form: Record, priceField: string) => {\n e.preventDefault();\n const target = e.target as HTMLInputElement;\n const value = formatPriceTrim(target.value);\n form[priceField] = formatPriceToNumber(value);\n}\n","import { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-07c4dd7a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"content-floorplan-house\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"content-floorplan\"\n}\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = { class: \"content-slider-facades\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"spacing\" }, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"button\", {\n class: _normalizeClass([\"dropdown-button open-slider\", { active: $setup.fadeInEffect.floorplan }]),\n onClick: _cache[0] || (_cache[0] = ($event: any) => ($setup.toggleSection($setup.BuilderToggleDropdown.FLOORPLAN)))\n }, \"Floorplan\", 2),\n ($setup.sectionStates.floorplan)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n class: \"floorplan\",\n src: $props.houseInfo?.floorplans[0]?.url\n }, null, 8, _hoisted_3)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"button\", {\n class: _normalizeClass([\"dropdown-button open-slider\", { active: $setup.fadeInEffect.facade }]),\n onClick: _cache[1] || (_cache[1] = ($event: any) => ($setup.toggleSection($setup.BuilderToggleDropdown.FACADE)))\n }, \"Facade Options\", 2),\n _createVNode($setup[\"BuilderSliderMobile\"], {\n selectedHouseDesign: $setup.props.houseInfo,\n isOpen: $setup.sectionStates.facade,\n \"onUpdate:selectedFacade\": $setup.onUpdateSelectedFacade\n }, null, 8, [\"selectedHouseDesign\", \"isOpen\"])\n ]),\n _createElementVNode(\"button\", {\n class: _normalizeClass([\"dropdown-button open-slider\", { active: $setup.fadeInEffect.dimensions }]),\n onClick: _cache[2] || (_cache[2] = ($event: any) => ($setup.toggleSection($setup.BuilderToggleDropdown.DIMENSIONS)))\n }, \"Area, Dimensions and Design Features\", 2),\n _createVNode($setup[\"HouseDimensionsAndInclusions\"], {\n houseInfo: $props.houseInfo,\n isDimensionsOpen: $setup.sectionStates.dimensions\n }, null, 8, [\"houseInfo\", \"isDimensionsOpen\"]),\n _hoisted_5,\n _createElementVNode(\"button\", {\n class: _normalizeClass([\"dropdown-button open-slider\", { active: $setup.fadeInEffect.inclusions }]),\n onClick: _cache[3] || (_cache[3] = ($event: any) => ($setup.toggleSection($setup.BuilderToggleDropdown.INCLUSIONS)))\n }, \"Inclusions\", 2),\n _createVNode($setup[\"HouseDimensionsAndInclusions\"], {\n houseInfo: $props.houseInfo,\n isInclusionsOpen: $setup.sectionStates.inclusions\n }, null, 8, [\"houseInfo\", \"isInclusionsOpen\"])\n ], 64))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { ref } from \"vue\";\n import { HouseDesignInterface } from \"@/types/HouseDesignInterface\";\n import HouseDimensionsAndInclusions from \"@/components/builder/budget-houses/house-details/HouseDimensionsAndInclusions.vue\";\n import BuilderSliderMobile from \"@/components/builder/budget-houses/house-details/BuilderSliderMobile.vue\";\n import { BuilderToggleDropdown } from \"@/enums/BuilderToggleDropdown\";\n import { FacadeInterface } from \"@/types/FacadeInterface\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'FloorplanAndInclusionsMobile',\n props: {\n houseInfo: {}\n },\n emits: [\"update:selectedFacade\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n \n\n \n\n const onUpdateSelectedFacade = (facade: FacadeInterface) =>\n emits(\"update:selectedFacade\", facade);\n\n const sectionStates = ref({\n floorplan: true,\n facade: true,\n dimensions: false,\n inclusions: false,\n });\n\n const fadeInEffect = ref({\n floorplan: true,\n facade: true,\n dimensions: false,\n inclusions: false,\n });\n\n const toggleSection = (section: keyof typeof sectionStates.value) => {\n sectionStates.value[section] = !sectionStates.value[section];\n\n setTimeout(() => {\n fadeInEffect.value[section] = !fadeInEffect.value[section];\n }, 50);\n };\n\nconst __returned__ = { props, emits, onUpdateSelectedFacade, sectionStates, fadeInEffect, toggleSection, ref, get HouseDesignInterface() { return HouseDesignInterface }, HouseDimensionsAndInclusions, BuilderSliderMobile, get BuilderToggleDropdown() { return BuilderToggleDropdown }, get FacadeInterface() { return FacadeInterface } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./FloorplanAndInclusionsMobile.vue?vue&type=template&id=07c4dd7a&scoped=true&ts=true&lang=pug\"\nimport script from \"./FloorplanAndInclusionsMobile.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./FloorplanAndInclusionsMobile.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./FloorplanAndInclusionsMobile.vue?vue&type=style&index=0&id=07c4dd7a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-07c4dd7a\"]])\n\nexport default __exports__","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, Fragment as _Fragment, renderList as _renderList, createBlock as _createBlock, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/builder-icon.svg'\nimport _imports_1 from '@/assets/icons/iframe-lots-icon.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5ce7c444\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"spinner\"\n}\nconst _hoisted_2 = {\n key: 1,\n class: \"side-panel-content\"\n}\nconst _hoisted_3 = {\n key: 0,\n class: \"stage-panel-header\"\n}\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h5\", { class: \"side-panel-title bold\" }, \"Masterplan\", -1))\nconst _hoisted_5 = {\n key: 0,\n class: \"side-panel-title mt\"\n}\nconst _hoisted_6 = {\n key: 0,\n class: \"side-panel-title mt\"\n}\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"divider stages\" }, null, -1))\nconst _hoisted_8 = {\n key: 1,\n class: \"lots-panel-header\"\n}\nconst _hoisted_9 = { class: \"lots-panel-back\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h6\", { class: \"lots-panel-back__title\" }, \"Masterplan\", -1))\nconst _hoisted_11 = { class: \"side-panel-title bold stage\" }\nconst _hoisted_12 = {\n key: 0,\n class: \"side-panel-title available-lots\"\n}\nconst _hoisted_13 = {\n key: 1,\n class: \"side-panel-title available-lots\"\n}\nconst _hoisted_14 = {\n key: 2,\n class: \"lots-builder-info\"\n}\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"builder-info-icon\",\n src: _imports_0\n}, null, -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"Create your home and land package\", -1))\nconst _hoisted_17 = [\n _hoisted_15,\n _hoisted_16\n]\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"divider\" }, null, -1))\nconst _hoisted_19 = { class: \"content-container\" }\nconst _hoisted_20 = {\n key: 0,\n class: \"stages-container\"\n}\nconst _hoisted_21 = {\n key: 0,\n class: \"no-stages-info-wr\"\n}\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"no-stages-icon\",\n src: _imports_1\n}, null, -1))\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"no-stages-info\" }, \"Currently, there is no land available. Join our waitlist to get notified about the next release.\", -1))\nconst _hoisted_24 = [\n _hoisted_22,\n _hoisted_23\n]\nconst _hoisted_25 = {\n key: 1,\n class: \"lots-container\"\n}\nconst _hoisted_26 = {\n key: 2,\n class: \"estate-map-blocks-side-panel\"\n}\nconst _hoisted_27 = { class: \"estate-map-block\" }\nconst _hoisted_28 = { class: \"estate-map-block\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"map-side-panel-container\", { builderView: $setup.props.builderView }])\n }, [\n ($setup.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (!$setup.props.isStageMap)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _hoisted_4,\n (!$setup.props.builderView)\n ? (_openBlock(), _createElementBlock(\"h5\", _hoisted_5, \"Land for sale\"))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n ($setup.props.lotsByHouseDesigns)\n ? (_openBlock(), _createElementBlock(\"h5\", _hoisted_6, _toDisplayString($setup.props.lotsByHouseDesigns.length) + \" Suitable lots\", 1))\n : _createCommentVNode(\"\", true)\n ], 64)),\n _hoisted_7\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"button\", {\n class: \"button-with-icon back no-text\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('toMasterplan')))\n }),\n _hoisted_10\n ]),\n _createElementVNode(\"h5\", _hoisted_11, \"Stage \" + _toDisplayString($setup.actualStage[0]?.stage?.title), 1),\n (!$setup.props.builderView)\n ? (_openBlock(), _createElementBlock(\"h5\", _hoisted_12, _toDisplayString($setup.actualStage[0]?.lotData?.length) + \" Available lots\", 1))\n : (_openBlock(), _createElementBlock(\"h5\", _hoisted_13, _toDisplayString($setup.props.lotsByHouseDesigns?.length) + \" Suitable lots\", 1)),\n (!$setup.props.builderView)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, _hoisted_17))\n : _createCommentVNode(\"\", true),\n _hoisted_18\n ])),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"side-panel-wrapper scroll-wrapper\", { 'lots-side-panel': $setup.props.isStageMap }])\n }, [\n _createElementVNode(\"div\", _hoisted_19, [\n (!$setup.props.isStageMap)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.lotsList, (stage) => {\n return (_openBlock(), _createBlock($setup[\"StageButtonLink\"], {\n key: stage.stage.id,\n stage: stage.stage,\n lotsAvailableAmount: stage.lotData.length,\n hoverStageId: $setup.props.hoverStageId,\n onOnStageHover: $setup.onStageHover,\n onOnClick: $setup.onStageClick\n }, null, 8, [\"stage\", \"lotsAvailableAmount\", \"hoverStageId\"]))\n }), 128)),\n ($setup.lotsList.length === 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_21, _hoisted_24))\n : _createCommentVNode(\"\", true)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_25, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.actualStage[0]?.lotData, (lot) => {\n return (_openBlock(), _createBlock($setup[\"LotButtonLink\"], {\n lot: lot,\n hoverLotId: $setup.props.hoverLotId,\n builderView: $setup.props.builderView,\n onOnLotHover: $setup.onLotHover,\n onOnLotBuilderHover: $setup.onLotBuilderHover,\n onOnClick: $setup.onLotClick\n }, null, 8, [\"lot\", \"hoverLotId\", \"builderView\"]))\n }), 256))\n ]))\n ])\n ], 2),\n (!$setup.props.builderView && !$setup.props.hideOptions)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_26, [\n _createElementVNode(\"div\", _hoisted_27, [\n _createElementVNode(\"button\", {\n class: \"button primary w-100\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('onRegister')))\n }, \"Join Waitlist\")\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n _createElementVNode(\"button\", {\n class: \"button primary w-100\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.$emit('onMessage')))\n }, \"Message\")\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n ], 2))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { computed, onMounted, ref } from \"vue\";\n import LotMapsWithStageInterface from \"@/types/LotMapsWithStageInterface\";\n import { useStore } from \"vuex\";\n import StageButtonLink from \"@/components/stage/StageButtonLink.vue\";\n import LotButtonLink from \"./Lot/LotButtonLink.vue\";\n import { LotInterface } from \"@/types/LotInterface\";\n import { LotMapInterface } from \"@/types/LotMapInterface\";\n\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'MapSidePanel',\n props: {\n estateId: { type: String, required: true, default: \"\" },\n isStageMap: { type: Boolean, required: false, default: false },\n stageId: { type: String, required: false, default: \"\" },\n hoverStageId: { type: String, required: false, default: \"\" },\n hoverLotId: { type: String, required: false, default: \"\" },\n lotsByHouseDesigns: { type: Array, required: false, default: undefined },\n builderView: { type: Boolean, required: false },\n hideOptions: { type: Boolean, required: false },\n },\n emits: [\n \"onMessage\",\n \"onStageHover\",\n \"onStageClick\",\n \"onLotHover\",\n \"onLotClick\",\n \"onRegister\",\n \"onMessage\",\n \"toMasterplan\",\n \"onLotBuilderHover\",\n ],\n setup(__props, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n const loading = ref(true);\n const store = useStore();\n const lotsList = ref([]);\n\n \n\n \n\n const actualStage = computed(() =>\n lotsList.value.filter((l) => l.stage.id === props.stageId)\n );\n\n const onStageClick = (id: string) => {\n emits(\"onStageClick\", id);\n };\n\n const onStageHover = (value: boolean, id: string) => {\n emits(\"onStageHover\", value, id);\n };\n\n const onLotClick = (lot: LotMapInterface) => {\n emits(\"onLotClick\", lot);\n };\n\n const onLotHover = (value: boolean, id: string) => {\n emits(\"onLotHover\", value, id);\n };\n\n const onLotBuilderHover = (value: boolean, id: string) => {\n emits(\"onLotBuilderHover\", value, id);\n };\n\n const getLotsList = () => {\n store\n .dispatch(\"lot/getLotsList\", {\n estateId: props.estateId,\n isCustomer: true,\n })\n .then(async (res) => {\n lotsList.value = res.data;\n await getLotsListFiltered();\n })\n .finally(() => {\n loading.value = false;\n });\n };\n\n const getLotsListFiltered = async () => {\n if (props.lotsByHouseDesigns) {\n let houseDesignIds: string[] = props.lotsByHouseDesigns.map(\n (design) => design._id\n );\n\n lotsList.value = lotsList.value.map((lot) => {\n const matchingLotData = lot.lotData.filter((lotData) =>\n houseDesignIds.includes(lotData.lotId._id)\n );\n return { ...lot, lotData: matchingLotData };\n });\n }\n };\n\n onMounted(() => {\n getLotsList();\n });\n\nconst __returned__ = { loading, store, lotsList, props, emits, actualStage, onStageClick, onStageHover, onLotClick, onLotHover, onLotBuilderHover, getLotsList, getLotsListFiltered, computed, onMounted, ref, get LotMapsWithStageInterface() { return LotMapsWithStageInterface }, get useStore() { return useStore }, StageButtonLink, LotButtonLink, get LotInterface() { return LotInterface }, get LotMapInterface() { return LotMapInterface } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./MapSidePanel.vue?vue&type=template&id=5ce7c444&scoped=true&ts=true&lang=pug\"\nimport script from \"./MapSidePanel.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MapSidePanel.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MapSidePanel.vue?vue&type=style&index=0&id=5ce7c444&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5ce7c444\"]])\n\nexport default __exports__","var makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","export const CALENDLY_DEMO_LINK = process.env.VUE_APP_CALENDLY_DEMO_LINK;\nexport const CALENDLY_BUILD_LINK =\n process.env.VUE_APP_CALENDLY_BUILD_CONSULTATION_LINK;\nexport const CALENDLY_PROJECT_SALES_MARKETING_LINK =\n process.env.VUE_APP_CALENDLY_PROJECT_SALES_MARKETING_LINK;\n","type Target = \"_blank\" | \"_self\";\nexport const redirectWithoutRouter = (url: string, target: Target): void => {\n window.open(url, target);\n};\n","export * from \"-!../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ContactUsLink.vue?vue&type=style&index=0&id=764c9914&lang=scss&scoped=true\"","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/bed-icon-black.png'\nimport _imports_1 from '@/assets/icons/bathtub-icon-black.png'\nimport _imports_2 from '@/assets/icons/car-icon-black.png'\nimport _imports_3 from '@/assets/icons/sofa-icon-black.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-52add2f8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"house-features-wr\"\n}\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line\" }, null, -1))\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line\" }, null, -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"line\" }, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return ($setup.props.features)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"icons\", { 'reverse-icons': $setup.props.directionLogo, 'reverse-icons-center': $setup.props.directionLogoCalculator, 'reverse-icons-start': $setup.props.directionLogoLandPackage }])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"icon-wr\", { reverse: $setup.props.directionLogo || $setup.props.directionLogoCalculator || $setup.props.directionLogoLandPackage }])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"icon-text\", { 'tiny-min': $setup.props.iconSize === 'tiny-min' }])\n }, _toDisplayString($setup.props.features.bedroom), 3),\n _createElementVNode(\"img\", {\n class: _normalizeClass($setup.props.iconSize),\n src: _imports_0\n }, null, 2)\n ], 2),\n _hoisted_2,\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"icon-wr\", { reverse: $setup.props.directionLogo || $setup.props.directionLogoCalculator || $setup.props.directionLogoLandPackage}])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"icon-text\", { 'tiny-min': $setup.props.iconSize === 'tiny-min' }])\n }, _toDisplayString($setup.props.features.bathroom.quantity), 3),\n _createElementVNode(\"img\", {\n class: _normalizeClass($setup.props.iconSize),\n src: _imports_1\n }, null, 2)\n ], 2),\n _hoisted_3,\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"icon-wr\", { reverse: $setup.props.directionLogo || $setup.props.directionLogoCalculator || $setup.props.directionLogoLandPackage}])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"icon-text\", { 'tiny-min': $setup.props.iconSize === 'tiny-min' }])\n }, _toDisplayString($setup.props.features.garage), 3),\n _createElementVNode(\"img\", {\n class: _normalizeClass($setup.props.iconSize),\n src: _imports_2\n }, null, 2)\n ], 2),\n _hoisted_4,\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"icon-wr\", { reverse: $setup.props.directionLogo || $setup.props.directionLogoCalculator || $setup.props.directionLogoLandPackage}])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"icon-text\", { 'tiny-min': $setup.props.iconSize === 'tiny-min' }])\n }, _toDisplayString($setup.props.features.loungeRoom.quantity), 3),\n _createElementVNode(\"img\", {\n class: _normalizeClass($setup.props.iconSize),\n src: _imports_3\n }, null, 2)\n ], 2)\n ], 2),\n _renderSlot(_ctx.$slots, \"button\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n}","import { defineComponent as _defineComponent } from 'vue'\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'HouseFeatures',\n props: {\n features: {\n type: Object,\n required: true,\n },\n iconSize: {\n type: String,\n default: \"small\",\n },\n directionLogo: {\n type: Boolean,\n default: false,\n },\n directionLogoCalculator: {\n type: Boolean,\n default: false,\n },\n directionLogoLandPackage: {\n type: Boolean,\n default: false,\n },\n},\n setup(__props, { expose: __expose }) {\n __expose();\n\nconst props = __props;\n\n\n\nconst __returned__ = { props }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./HouseFeatures.vue?vue&type=template&id=52add2f8&scoped=true&ts=true&lang=pug\"\nimport script from \"./HouseFeatures.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./HouseFeatures.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./HouseFeatures.vue?vue&type=style&index=0&id=52add2f8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-52add2f8\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, renderSlot as _renderSlot, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createBlock as _createBlock, createElementVNode as _createElementVNode, createVNode as _createVNode } from \"vue\"\nimport _imports_0 from '@/assets/icons/slider-arrow-right-icon.svg'\nimport _imports_1 from '@/assets/icons/slider-arrow-left-icon.svg'\n\n\nconst _hoisted_1 = { class: \"content-image-slider\" }\nconst _hoisted_2 = [\"src\", \"onClick\"]\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_0 }, null, -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_1 }, null, -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode($setup[\"Carousel\"], {\n itemsToShow: 1,\n transition: 200,\n wrapAround: false,\n \"mouse-drag\": false,\n \"touch-drag\": false\n }, {\n addons: _withCtx(() => [\n ($setup.getSliderNavigation)\n ? (_openBlock(), _createBlock($setup[\"Navigation\"], { key: 0 }, {\n next: _withCtx(() => [\n _hoisted_3\n ]),\n prev: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.props.sliderImages, (slide) => {\n return (_openBlock(), _createBlock($setup[\"Slide\"], { key: slide }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"house-features\"),\n (!$setup.props.isReviewQuote)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: _normalizeClass([\"carousel__item\", { 'cursor-grab': $setup.getSliderNavigation, isBuilderQuoteView: $props.isBuilderQuoteView }]),\n src: slide,\n onClick: ($event: any) => ($setup.openImageModal(slide))\n }, null, 10, _hoisted_2))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 3\n })\n ]),\n _createVNode($setup[\"BuilderLightboxImages\"], {\n isOpen: $setup.isImageModalOpen,\n imageUrl: $setup.selectedImageUrl,\n zoom: $setup.zoom,\n onUpdateZoom: $setup.updateZoom,\n onClose: $setup.closeImageModal\n }, null, 8, [\"isOpen\", \"imageUrl\", \"zoom\"])\n ], 64))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { Carousel, Slide, Navigation } from \"vue3-carousel\";\n import { computed, ref } from \"vue\";\n import \"vue3-carousel/dist/carousel.css\";\n import BuilderLightboxImages from \"./BuilderLightboxImages.vue\";\n \nexport default /*#__PURE__*/_defineComponent({\n __name: 'CustomizeHouseSlider',\n props: {\n sliderImages: {\n type: Array,\n required: true,\n },\n showArrows: {\n type: Boolean,\n default: true,\n },\n isReviewQuote: {\n type: Boolean,\n default: false,\n },\n isBuilderQuoteView: {\n type: Boolean,\n required: false,\n },\n },\n setup(__props, { expose: __expose }) {\n __expose();\n\nconst props = __props;\n\n const getSliderNavigation = computed(\n () => props.sliderImages.length > 1 && props.showArrows\n );\n \n const isImageModalOpen = ref(false);\n const selectedImageUrl = ref(\"\");\n const zoom = ref(1);\n\n const openImageModal = (imageUrl: string) => {\n selectedImageUrl.value = imageUrl;\n isImageModalOpen.value = true;\n };\n\n const closeImageModal = () => {\n isImageModalOpen.value = false;\n zoom.value = 1;\n };\n\n const updateZoom = (value: number) => {\n const newZoom = zoom.value + value;\n if (newZoom >= 1 && newZoom <= 2.6) {\n zoom.value = newZoom;\n }\n };\n\nconst __returned__ = { getSliderNavigation, props, isImageModalOpen, selectedImageUrl, zoom, openImageModal, closeImageModal, updateZoom, get Carousel() { return Carousel }, get Slide() { return Slide }, get Navigation() { return Navigation }, computed, ref, BuilderLightboxImages }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./CustomizeHouseSlider.vue?vue&type=template&id=f296976c&ts=true&lang=pug\"\nimport script from \"./CustomizeHouseSlider.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CustomizeHouseSlider.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./CustomizeHouseSlider.vue?vue&type=style&index=0&id=f296976c&lang=scss\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { lightenDarkenColor } from \"../lightAndDarkenColor\";\n\nexport const changePrimaryColor = (color: string): void => {\n const root = document.querySelector(\":root\") as HTMLElement;\n root.style.setProperty(\"--primary\", color);\n root.style.setProperty(\"--primary-light\", lightenDarkenColor(color, 60));\n root.style.setProperty(\"--primary-hover\", hexToRgba(color, 0.8));\n root.style.setProperty(\"--checkbox-border-checked\", color);\n root.style.setProperty(\"--slider-connect-bg\", color);\n root.style.setProperty(\n \"--slider-handle-shadow-active\",\n `0.5px 0.5px 2px 1px ${hexToRgba(color, 0.42)}`\n );\n root.style.setProperty(\"--slider-handle-ring-color\", hexToRgba(color, 0.42));\n};\n\nexport const resetPrimaryColor = (): void => {\n setTimeout(() => {\n const primary = \"#8f00ff\";\n const root = document.querySelector(\":root\") as HTMLElement;\n root.style.setProperty(\"--primary\", primary);\n root.style.setProperty(\"--primary-light\", lightenDarkenColor(primary, 70));\n root.style.setProperty(\"--primary-hover\", \"#9d1fff\");\n root.style.setProperty(\"--checkbox-border-checked\", \"#8f4fe1\");\n root.style.setProperty(\"--slider-connect-bg\", primary);\n root.style.setProperty(\n \"--slider-handle-shadow-active\",\n \"0.5px 0.5px 2px 1px rgba(143, 79, 255, 0.42)\"\n );\n root.style.setProperty(\n \"--slider-handle-ring-color\",\n \"rgba(143, 79, 255, 0.42)\"\n );\n });\n};\n\nexport const hexToRgba = (hex: string, alpha = 1) => {\n const [r, g, b] = (hex.match(/\\w\\w/g) as RegExpMatchArray).map((x) =>\n parseInt(x, 16)\n );\n return `rgba(${r},${g},${b},${alpha})`;\n};\n"],"sourceRoot":""}