{"version":3,"sources":["webpack:///./src/views/ListingDetails.vue","webpack:///./src/components/InspectionCard.vue","webpack:///./src/components/InspectionCard.vue?6591","webpack:///./src/components/InspectionCard.vue?4b10","webpack:///./src/components/InspectionCard.vue?daab","webpack:///./src/components/ListingAgentProfile.vue","webpack:///./src/components/ListingAgentProfile.vue?0550","webpack:///./src/components/ListingAgentProfile.vue?f97b","webpack:///./src/components/ListingAgentProfile.vue?9a8c","webpack:///./src/views/ListingDetails.vue?4852","webpack:///./src/views/ListingDetails.vue?0525","webpack:///./src/views/ListingDetails.vue?c743","webpack:///./src/views/ListingDetails.vue?862b","webpack:///./src/components/ListingAgentProfile.vue?a808","webpack:///./src/components/InspectionCard.vue?249d","webpack:///./node_modules/client-website-ts-library/types/Forms/FormConstructorData.ts","webpack:///./node_modules/client-website-ts-library/types/Forms/FormField.ts","webpack:///./node_modules/client-website-ts-library/types/Forms/FormValue.ts","webpack:///./src/views/ListingDetails.vue?83c6"],"names":["render","_vm","this","_c","_self","_setupProxy","listing","staticClass","attrs","cyclerItems","length","isMobile","on","handleVideoViewed","_e","_l","Images","slice","img","key","Preview","Url","_v","_s","Address","FullAddress","Status","Price","Features","Bedrooms","pluralise","Bathrooms","Parking","Total","Area","Land","isCurrent","Header","domProps","HtmlWebDescription","FeatureList","feature","InspectionTimes","inspection","StartDate","Files","ExternalLinks","file","Label","link","Type","Domain","formData","handleContactFormSubmitted","virtualTour","$event","virtualTourShown","Id","MethodOfSale","handleIREClicked","handleApplyClicked","PropertyType","formattedDateAvailable","BondPrice","mapSettings","EmbedId","staticRenderFns","handleClicked","inspectionTime","StartDateInfo","MonthName","ShortName","DayOfMonth","DayName","LongName","Time","EndDateInfo","InspectionCard","Vue","API","Listings","GetOpenHomeICS","EndDate","then","ics","fileParts","VCalContent","blob","Blob","type","url","URL","createObjectURL","a","document","createElement","style","display","body","appendChild","href","download","MicroAddress","click","setTimeout","window","revokeObjectURL","remove","__decorate","Prop","Component","component","Agents","agent","Slug","Photo","FullName","Position","OfficePhone","MobilePhone","Email","ListingAgentProfile","getShortAgentProfile","profile","tmp","innerHTML","AboutAgent","text","innerText","substring","handlePhoneClicked","analyticsService","ServiceManager","Get","ServiceType","Analytics","evt","AnalyticsEvent","AnalyticsEventType","CallAgentClicked","AnalyticsEventObject","FromProfile","AnalyticsEventPriority","Realtime","Record","Map","ListingDetails","Mixins","AsyncView","constructor","cyclerBreakpoints","breakpoint","settings","slidesToShow","created","$route","params","id","FormConstructorData","ContextItemType","Listing","map","ItemCyclerReiszableImageSlide","EmbeddedContent","forEach","item","EmbeddedContentType","Youtube","Vimeo","splice","ItemCyclerEmbeddableSlide","VirtualTour","DisplayAddress","MapSettings","Markers","Coordinate","Coordinates","Title","$emit","location","hash","catch","ex","Logger","Log","LogLevel","Error","status","$router","push","path","query","reauth","next","parts","UnitNumber","StreetNumber","join","Suburb","State","PostCode","DateAvailable","now","Date","dateAvailable","getDate","getMonth","getFullYear","toString","substr","tour","find","content","number","singular","plural","head","title","description","Introduction","image","undefined","getAnalyticsData","FromListing","triggerCustomAnalyticsEvent","ListingVideoViewed","ContactFormSubmit","GetInspectRealEstateData","ireData","open","alert","Get2Apply","components","ItemCycler","Form","SocialSharer","items","ClientWebsiteId","Config","Website","Items","FormFieldType","FormValue","value","Key","Value"],"mappings":"gJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,OAAO,CAAEF,EAAIK,QAAS,CAACH,EAAG,eAAe,CAACI,YAAY,iCAAiCC,MAAM,CAAC,KAAO,UAAUL,EAAG,mBAAmB,CAACA,EAAG,YAAY,CAACA,EAAG,MAAM,CAACI,YAAY,yCAAyC,CAAEN,EAAIQ,YAAYC,OAAQP,EAAG,aAAa,CAACI,YAAY,mCAAmCC,MAAM,CAAC,OAAQ,EAAK,QAAUP,EAAIQ,YAAY,MAAQ,IAAK,OAAQR,EAAIU,SAAW,GAAM,MAAQ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,EACAlJ,EACAkE,GACA,EACA,KACA,WACA,OAIa,e,6CCpBf,W,kCCAA,W,oFCAA,W,wHCGA,MAAM4F,EAIJT,YAAYuF,GAHL,KAAAC,gBAA0BC,OAAOC,QAAQtL,GAI9CvD,KAAK8O,MAAQJ,GAAS,I,ICNrBK,E,WAAL,SAAKA,GAEDA,sBACAA,wBACAA,oBACAA,8BACAA,8BACAA,oCACAA,kCACAA,gDACAA,kCACAA,sBACAA,iCACAA,wCAbJ,CAAKA,MAAa,K,wCCClB,MAAMC,EAIF7F,YAAYlI,EAAagO,GACrBjP,KAAKkP,IAAMjO,EACXjB,KAAKmP,MAAQF,K,uGCTrB,W","file":"js/chunk-1be576bc.29c4574b.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('Page',[(_vm.listing)?[_c('SiteMasthead',{staticClass:\"listing__sitemasthead no-print\",attrs:{\"mini\":\"true\"}}),_c('ContentContainer',[_c('ContenRow',[_c('div',{staticClass:\"listing__image-carousel-wrap no-print\"},[(_vm.cyclerItems.length)?_c('ItemCycler',{staticClass:\"listing__image-carousel no-print\",attrs:{\"inset\":true,\"objects\":_vm.cyclerItems,\"speed\":1000,\"items\":_vm.isMobile ? 1 : 1,\"touch\":\"true\",\"center\":!_vm.isMobile,\"loop\":true,\"force-height\":true},on:{\"viewVideo\":_vm.handleVideoViewed}}):_vm._e()],1)])],1),_c('img',{staticClass:\"print print-logo\",attrs:{\"src\":\"/assets/images/brand/logo.png\"}}),_c('div',{staticClass:\"print print-images\"},_vm._l((_vm.listing.Images.slice(0, 3)),function(img){return _c('img',{key:img.Preview.Url,staticClass:\"print-images__item\",attrs:{\"src\":img.Preview.Url}})}),0),_c('div',{staticClass:\"listing-info-bar\"},[_c('ContentContainer',[_c('div',{staticClass:\"listing-info-bar__items\"},[_c('div',{staticClass:\"listing-info-bar__item\"},[_c('div',{staticClass:\"listing-main-info\"},[_c('div',{staticClass:\"listing-main-info__item\"},[_c('Heading',{staticClass:\"listing-info-bar__address\",attrs:{\"level\":\"h2\"}},[_vm._v(_vm._s(_vm.listing.Address.FullAddress))]),_c('Heading',{staticClass:\"listing-info-bar__price\",attrs:{\"level\":\"h5\"}},[(_vm.listing.Status == 'Under Contract')?_c('b',[_vm._v(_vm._s(_vm.listing.Status)+\" - \")]):_vm._e(),_vm._v(\" \"+_vm._s(_vm.listing.Price.Price))])],1)])]),_c('div',{staticClass:\"listing-info-bar__item\"},[_c('ul',{staticClass:\"listing-meta\"},[(_vm.listing.Features.Bedrooms)?_c('li',[_c('Icon',{attrs:{\"icon\":\"bed\"}}),_vm._v(\" \"+_vm._s(_vm.pluralise(_vm.listing.Features.Bedrooms, \"Bed\"))+\" \")],1):_vm._e(),(_vm.listing.Features.Bathrooms)?_c('li',[_c('Icon',{attrs:{\"icon\":\"bath\"}}),_vm._v(\" \"+_vm._s(_vm.pluralise(_vm.listing.Features.Bathrooms, \"Bath\"))+\" \")],1):_vm._e(),(_vm.listing.Features.Parking.Total)?_c('li',[_c('Icon',{attrs:{\"icon\":\"car\"}}),_vm._v(\" \"+_vm._s(_vm.pluralise(_vm.listing.Features.Parking.Total, \"Car\"))+\" \")],1):_vm._e(),(_vm.listing.Features.Area.Land)?_c('li',[_c('Icon',{attrs:{\"icon\":\"crop-button\"}}),_vm._v(\" \"+_vm._s(_vm.listing.Features.Area.Land)+\" Sq. M \")],1):_vm._e()])])])])],1),_c('div',{staticClass:\"listing__wrap\"},[_c('ContentContainer',[_c('Row',{attrs:{\"vertical-align\":\"flex-start\",\"horizontal-align\":\"center\"}},[_c('Column',{attrs:{\"width\":\"8\"}},[(!_vm.isCurrent)?_c('div',{staticClass:\"listing__body__status\"},[_vm._v(\" \"+_vm._s(_vm.listing.Status)+\" \")]):_vm._e(),_c('div',{staticClass:\"listing__body__section\"},[_c('h1',{staticClass:\"listing__heading\"},[_vm._v(_vm._s(_vm.listing.Header))]),_c('div',{staticClass:\"listing__description\",domProps:{\"innerHTML\":_vm._s(_vm.listing.HtmlWebDescription)}})]),(_vm.listing.Features.FeatureList.length)?_c('div',{staticClass:\"listing__body__section\"},[_c('h4',{staticClass:\"listing__body__section__title\"},[_vm._v(\"Features\")]),_c('ul',{staticClass:\"listing__features\"},_vm._l((_vm.listing.Features.FeatureList),function(feature){return _c('li',{key:feature},[_vm._v(_vm._s(feature))])}),0)]):_vm._e(),(_vm.listing.InspectionTimes.length)?_c('div',{staticClass:\"listing__body__section\"},[_c('h4',{staticClass:\"listing__body__section__title\"},[_vm._v(\"Inspections\")]),_c('Cards',{attrs:{\"h-align\":\"flex-start\"}},_vm._l((_vm.listing.InspectionTimes),function(inspection){return _c('InspectionCard',{key:inspection.StartDate,attrs:{\"pectionCard\":\"\",\"listing\":_vm.listing,\"inspection-time\":inspection}})}),1)],1):_vm._e(),(_vm.listing.Files.length || _vm.listing.ExternalLinks.length)?_c('div',{staticClass:\"listing__body__section no-print\"},[_c('h4',{staticClass:\"listing__body__section__title\"},[_vm._v(\"Attachments\")]),_c('ul',{staticClass:\"listing__attachments\"},[_vm._l((_vm.listing.Files),function(file){return _c('li',{key:file.Url},[_c('LinkButton',{staticClass:\"attachment__item\",attrs:{\"external\":true,\"href\":file.Url,\"target\":\"_blank\"}},[_c('span',{staticClass:\"attachment__label\"},[_vm._v(\" \"+_vm._s(file.Label)+\" \")])])],1)}),_vm._l((_vm.listing.ExternalLinks),function(link){return _c('li',{key:link.Url},[_c('a',{staticClass:\"attachment__item\",attrs:{\"href\":link.Url,\"target\":\"_blank\"}},[(_vm.file)?_c('Icon',{staticClass:\"attachment__icon\",attrs:{\"icon\":_vm.file.Type === 2 ? 'floorplan' : 'attachment-clip'}}):_vm._e(),_c('span',{staticClass:\"attachment__label\"},[_vm._v(\" \"+_vm._s(link.Domain)+\" \")])],1)])})],2)]):_vm._e(),_c('div',{staticClass:\"listing__body__section no-print\"},[_c('h4',{staticClass:\"listing__body__section__title\"},[_vm._v(\"Get in Touch\")]),_c('Deferrable',[(_vm.formData)?_c('Form',{attrs:{\"type\":\"Listing.BasicListingContactForm\",\"context\":_vm.formData},on:{\"submitted\":_vm.handleContactFormSubmitted}}):_vm._e()],1)],1)]),_c('Column',{attrs:{\"width\":\"4\",\"md-width\":\"12\"}},[_c('div',{staticClass:\"listing__body__section no-print\"},[(_vm.virtualTour)?_c('button',{staticClass:\"social-sharer__btn social-sharer__btn--fb\",attrs:{\"block\":\"true\"},on:{\"click\":function($event){_vm.virtualTourShown = true;}}},[_c('span',{staticClass:\"social-sharer__btn__label\"},[_vm._v(\"Virtual Tour\")])]):_vm._e(),_c('SocialSharer',{attrs:{\"url\":'/listings/' + _vm.listing.Id,\"listingId\":_vm.listing.Id,\"listing\":_vm.listing}}),(_vm.listing.MethodOfSale === 'Lease' && _vm.isCurrent)?_c('Button',{staticClass:\"listing-extra-btn\",attrs:{\"backgroundColour\":\"#3b5998\",\"block\":\"true\",\"icon\":\"searching-magnifying-glass\"},on:{\"click\":_vm.handleIREClicked}},[_vm._v(\"Book Inspection\")]):_vm._e(),_c('br'),(_vm.listing.MethodOfSale === 'Lease' && _vm.isCurrent)?_c('Button',{staticClass:\"listing-extra-btn\",attrs:{\"backgroundColour\":\"#3b5998\",\"block\":\"true\",\"icon\":\"tick-inside-circle\"},on:{\"click\":_vm.handleApplyClicked}},[_vm._v(\"Apply Now\")]):_vm._e()],1),(_vm.listing.MethodOfSale === 'Lease' && _vm.listing.Status === 'Current')?_c('div',{staticClass:\"listing__body__section\"},[_c('h4',{staticClass:\"listing__body__section__title\"},[_vm._v(\"Details\")]),_c('ul',{staticClass:\"listing__meta\"},[_c('li',{staticClass:\"listing__meta__item\"},[_c('span',{staticClass:\"listing__meta__item__key\"},[_vm._v(\"Property Type:\")]),_c('span',{staticClass:\"listing__meta__item__value\"},[_vm._v(_vm._s(_vm.listing.PropertyType))])]),_c('li',{staticClass:\"listing__meta__item\"},[_c('span',{staticClass:\"listing__meta__item__key\"},[_vm._v(\"Available Date:\")]),_c('span',{staticClass:\"listing__meta__item__value\"},[_vm._v(_vm._s(_vm.formattedDateAvailable))])]),_c('li',{staticClass:\"listing__meta__item\"},[_c('span',{staticClass:\"listing__meta__item__key\"},[_vm._v(\"Bond:\")]),_c('span',{staticClass:\"listing__meta__item__value\"},[_vm._v(_vm._s(_vm.listing.Price.BondPrice))])])])]):_vm._e(),_c('div',{staticClass:\"listing__body__section\"},[_c('ListingAgentProfile',{attrs:{\"listing\":_vm.listing}})],1)])],1)],1)],1),(_vm.mapSettings)?_c('Deferrable',{staticClass:\"no-print\"},[_c('Map',{staticClass:\"listing__map\",attrs:{\"settings\":_vm.mapSettings}})],1):_vm._e(),(_vm.virtualTour)?[_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.virtualTourShown)?_c('div',{staticClass:\"virtual-tour\"},[_c('div',{staticClass:\"virtual-tour__nav\"},[_c('Button',{staticClass:\"virtual-tour__nav__btn\",on:{\"click\":function($event){_vm.virtualTourShown = false}}},[_vm._v(\"Exit Virtual Tour\")])],1),_c('iframe',{staticClass:\"virtual-tour__frame\",attrs:{\"src\":_vm.virtualTour.EmbedId,\"frameborder\":\"0\",\"referrerpolicy\":\"no-referrer-when-downgrade\",\"allowfullscreen\":\"true\"}})]):_vm._e()])]:_vm._e()]:_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('Card',{staticClass:\"card--inspection-time\",on:{\"click\":_vm.handleClicked}},[_c('div',{staticClass:\"inspection-time__body\"},[_c('div',{staticClass:\"inspection-time__date\"},[_c('span',{staticClass:\"inspection-time__date__month\"},[_vm._v(_vm._s(_vm.inspectionTime.StartDateInfo.MonthName.ShortName))]),_c('span',{staticClass:\"inspection-time__date__day\"},[_vm._v(_vm._s(_vm.inspectionTime.StartDateInfo.DayOfMonth))])]),_c('div',{staticClass:\"inspection-time__details\"},[_c('span',{staticClass:\"inspection-time__details__day-name\"},[_vm._v(_vm._s(_vm.inspectionTime.StartDateInfo.DayName.LongName))]),_c('span',{staticClass:\"inspection-time__details__time\"},[_vm._v(_vm._s(_vm.inspectionTime.StartDateInfo.Time.LongName)+\" — \"+_vm._s(_vm.inspectionTime.EndDateInfo.Time.LongName))])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { InspectionTime, Listing } from 'client-website-ts-library/types';\r\nimport { API } from 'client-website-ts-library/services';\r\n\r\n@Component\r\nexport default class InspectionCard extends Vue {\r\n @Prop()\r\n private readonly inspectionTime!: InspectionTime;\r\n\r\n @Prop()\r\n private readonly listing!: Listing;\r\n\r\n handleClicked() {\r\n API.Listings.GetOpenHomeICS(this.listing.Id, this.inspectionTime.StartDate, this.inspectionTime.EndDate).then((ics) => {\r\n const fileParts = [ics.VCalContent];\r\n const blob = new Blob(fileParts, { type: 'text/calendar' });\r\n const url = URL.createObjectURL(blob);\r\n\r\n const a = document.createElement('a');\r\n a.style.display = 'none';\r\n document.body.appendChild(a);\r\n\r\n a.href = url;\r\n a.download = `${this.listing.Address.MicroAddress}.ics`;\r\n a.click();\r\n\r\n setTimeout(() => {\r\n window.URL.revokeObjectURL(url);\r\n a.remove();\r\n }, 10);\r\n });\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InspectionCard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InspectionCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InspectionCard.vue?vue&type=template&id=1681944e&scoped=true&\"\nimport script from \"./InspectionCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./InspectionCard.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InspectionCard.vue?vue&type=style&index=0&id=1681944e&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1681944e\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"agent-profiles\"},_vm._l((_vm.listing.Agents),function(agent){return _c('Card',{key:agent.Id,staticClass:\"listing-agent-profile\",attrs:{\"href\":'/profiles/' + agent.Slug}},[_c('LazyImage',{staticClass:\"listing-agent-profile__image\",attrs:{\"image\":agent.Photo}}),_c('div',{staticClass:\"listing-agent-profile__body\"},[_c('h4',{staticClass:\"listing-agent__name\"},[_vm._v(_vm._s(agent.FullName))]),_c('h5',{staticClass:\"listing-agent__position\"},[_vm._v(_vm._s(agent.Position))]),_c('ul',{staticClass:\"listing-agent__contact\"},[(agent.OfficePhone)?_c('li',{staticClass:\"listing-agent__contact__item\"},[_c('a',{attrs:{\"href\":'tel:' + agent.OfficePhone}},[_c('span',{staticClass:\"contact__item__key\"},[_vm._v(\"P\")]),_vm._v(\" \"+_vm._s(agent.OfficePhone)+\" \")])]):_vm._e(),(agent.MobilePhone)?_c('li',{staticClass:\"listing-agent__contact__item\"},[_c('a',{attrs:{\"href\":'tel:' + agent.MobilePhone}},[_c('span',{staticClass:\"contact__item__key\"},[_vm._v(\"M\")]),_vm._v(\" \"+_vm._s(agent.MobilePhone)+\" \")])]):_vm._e(),(agent.Email)?_c('li',{staticClass:\"listing-agent__contact__item\"},[_c('a',{attrs:{\"href\":'mailto:' + agent.Email}},[_c('span',{staticClass:\"contact__item__key\"},[_vm._v(\"E\")]),_vm._v(\" \"+_vm._s(agent.Email)+\" \")])]):_vm._e()])])],1)}),1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { Listing, Profile } from 'client-website-ts-library/types';\r\nimport { ServiceManager, ServiceType } from 'client-website-ts-library/services';\r\nimport { AnalyticsEvent, AnalyticsEventObject, AnalyticsEventType, IAnalyticsAdapter, AnalyticsEventPriority } from 'client-website-ts-library/services/Analytics';\r\n\r\n@Component\r\nexport default class ListingAgentProfile extends Vue {\r\n @Prop()\r\n private readonly listing!: Listing;\r\n\r\n private getShortAgentProfile(profile: Profile): string {\r\n const tmp = document.createElement('div');\r\n\r\n tmp.innerHTML = profile.AboutAgent;\r\n\r\n const text = tmp.innerText;\r\n\r\n return text.length < 120 ? text : `${tmp.innerText.substring(0, 100)}...`;\r\n }\r\n\r\n handlePhoneClicked(profile: Profile) {\r\n const analyticsService = ServiceManager.Get(ServiceType.Analytics, 'PROListAnalyticsAdapter');\r\n\r\n const evt = new AnalyticsEvent(AnalyticsEventType.CallAgentClicked, AnalyticsEventObject.FromProfile(profile), AnalyticsEventPriority.Realtime);\r\n\r\n analyticsService!.Record(evt);\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingAgentProfile.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingAgentProfile.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ListingAgentProfile.vue?vue&type=template&id=9b78fb34&scoped=true&\"\nimport script from \"./ListingAgentProfile.vue?vue&type=script&lang=ts&\"\nexport * from \"./ListingAgentProfile.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ListingAgentProfile.vue?vue&type=style&index=0&id=9b78fb34&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9b78fb34\",\n null\n \n)\n\nexport default component.exports","\r\nimport { Component, Mixins } from 'vue-property-decorator';\r\nimport { Listing, MapSettings } from 'client-website-ts-library/types';\r\nimport { ItemCyclerSlide, ItemCyclerReiszableImageSlide, ItemCyclerEmbeddableSlide } from '@/app_code/ItemCycler';\r\nimport { CarouselBreakpoint } from '@/app_code/CarouselBreakpoint';\r\nimport { API, Logger, LogLevel } from 'client-website-ts-library/services';\r\nimport { EmbeddedContent, EmbeddedContentType } from 'client-website-ts-library/types/EmbeddedContent/EmbeddedContent';\r\nimport { FormConstructorData } from 'client-website-ts-library/types/Forms';\r\nimport { ContextItemType } from 'client-website-ts-library/types/Context';\r\nimport { AsyncView, RouteMeta } from 'client-website-ts-library/plugins';\r\n\r\nimport ItemCycler from '@/components/Cycler/ItemCycler.vue';\r\nimport InspectionCard from '@/components/InspectionCard.vue';\r\nimport ListingAgentProfile from '@/components/ListingAgentProfile.vue';\r\nimport Form from '@/components/Forms/Form.vue';\r\nimport SocialSharer from '@/components/SocialSharer.vue';\r\n\r\nimport { AnalyticsEvent, AnalyticsEventObject, AnalyticsEventType } from 'client-website-ts-library/services/Analytics';\r\nimport LinkButton from '@/components/UI/LinkButton.vue';\r\n\r\nconst Map = () => import('client-website-ts-library/components/Map/Map.vue');\r\n\r\n@Component({\r\n components: {\r\n ItemCycler,\r\n InspectionCard,\r\n Map,\r\n ListingAgentProfile,\r\n Form,\r\n SocialSharer,\r\n },\r\n})\r\nexport default class ListingDetails extends Mixins(AsyncView) {\r\n private listing: Listing | null = null;\r\n\r\n private mapSettings?: MapSettings;\r\n\r\n private isMobile = false;\r\n\r\n private cyclerItems: ItemCyclerSlide[] = [];\r\n\r\n private cyclerBreakpoints: CarouselBreakpoint[] = [\r\n {\r\n breakpoint: 0,\r\n settings: {\r\n slidesToShow: 1,\r\n },\r\n },\r\n {\r\n breakpoint: 768,\r\n settings: {\r\n slidesToShow: 2,\r\n },\r\n },\r\n ];\r\n\r\n private formData: FormConstructorData | null = null;\r\n\r\n private virtualTourShown = false;\r\n\r\n created() {\r\n API.Listings.Get(this.$route.params.id).then((listing) => {\r\n this.listing = listing;\r\n\r\n this.formData = new FormConstructorData([\r\n {\r\n Type: ContextItemType.Listing,\r\n Id: this.listing.Id,\r\n },\r\n ]);\r\n\r\n this.cyclerItems = listing.Images.map((img) => new ItemCyclerReiszableImageSlide(img));\r\n\r\n listing.EmbeddedContent.forEach((item) => {\r\n if (item.Type === EmbeddedContentType.Youtube || item.Type === EmbeddedContentType.Vimeo) {\r\n this.cyclerItems.splice(1, 0, new ItemCyclerEmbeddableSlide(item));\r\n }\r\n if (item.Type === EmbeddedContentType.VirtualTour) {\r\n this.cyclerItems.splice(1, 0, new ItemCyclerEmbeddableSlide(item));\r\n }\r\n });\r\n\r\n if (listing.Address.DisplayAddress) {\r\n this.mapSettings = new MapSettings({\r\n Markers: [\r\n {\r\n Coordinate: listing.Address.Coordinates,\r\n Title: listing.Address.MicroAddress,\r\n },\r\n ],\r\n });\r\n }\r\n\r\n this.$emit('updateView');\r\n if (window.location.hash === '#virtualtour' && this.virtualTour != null) {\r\n this.virtualTourShown = true;\r\n }\r\n }).catch((ex: Response) => {\r\n Logger.Log(LogLevel.Error, 'Failed to load listing');\r\n\r\n if (ex.status === 403) {\r\n this.$router.push({\r\n path: '/off-market/register',\r\n query: {\r\n reauth: 'true',\r\n next: `/listings/${this.$route.params.id}`,\r\n },\r\n });\r\n }\r\n });\r\n }\r\n\r\n get isCurrent(): boolean {\r\n return this.listing!.Status === 'Current' || this.listing!.Status === 'Under Contract';\r\n }\r\n\r\n get formattedAddressLine1(): string {\r\n const parts = [];\r\n\r\n if (this.listing === null) return '';\r\n\r\n if (this.listing.Address.UnitNumber) {\r\n parts.push(`${this.listing.Address.UnitNumber} / ${this.listing.Address.StreetNumber}`);\r\n } else {\r\n parts.push(this.listing.Address.StreetNumber);\r\n }\r\n\r\n parts.push(this.listing.Address.Address);\r\n\r\n return parts.join(' ');\r\n }\r\n\r\n get formattedAddressLine2(): string {\r\n if (this.listing === null) return '';\r\n\r\n return `${this.listing.Address.Suburb}, ${this.listing.Address.State} ${this.listing.Address.PostCode}`;\r\n }\r\n\r\n get formattedDateAvailable(): string {\r\n if (!this.listing!.DateAvailable) return 'now';\r\n\r\n const now = new Date();\r\n const dateAvailable = new Date(this.listing!.DateAvailable);\r\n\r\n if (dateAvailable <= now) return 'now';\r\n\r\n return `${dateAvailable.getDate()}/${(dateAvailable.getMonth() + 1)}/${dateAvailable.getFullYear().toString().substr(2, 2)}`;\r\n }\r\n\r\n get virtualTour(): EmbeddedContent | null {\r\n if (this.listing === null) return null;\r\n\r\n const tour = this.listing.EmbeddedContent.find((content) => content.Type === EmbeddedContentType.VirtualTour);\r\n\r\n return tour || null;\r\n }\r\n\r\n pluralise(number: number, singular: string, plural?: string): string {\r\n // eslint-disable-next-line no-nested-ternary\r\n return `${number} ${(number === 1 ? singular : plural == null ? `${singular}s` : plural)}`;\r\n }\r\n\r\n public head(): RouteMeta {\r\n return {\r\n title: this.listing!.Address.DisplayAddress ? this.listing!.Address.MicroAddress : this.listing!.Header,\r\n description: this.listing!.Introduction,\r\n image: this.listing!.Images.length ? this.listing!.Images[0].Preview.Url : undefined,\r\n };\r\n }\r\n\r\n public getAnalyticsData(): AnalyticsEventObject | null {\r\n if (this.listing === null) return null;\r\n\r\n return AnalyticsEventObject.FromListing(this.listing);\r\n }\r\n\r\n handleVideoViewed() {\r\n this.triggerCustomAnalyticsEvent(new AnalyticsEvent(AnalyticsEventType.ListingVideoViewed, AnalyticsEventObject.FromListing(this.listing!)));\r\n }\r\n\r\n handleContactFormSubmitted() {\r\n this.triggerCustomAnalyticsEvent(new AnalyticsEvent(AnalyticsEventType.ContactFormSubmit, AnalyticsEventObject.FromListing(this.listing!)));\r\n }\r\n\r\n handleIREClicked() {\r\n API.Listings.GetInspectRealEstateData(this.listing!.Id).then((ireData) => {\r\n window.open(ireData.Url, '_blank');\r\n }).catch(() => {\r\n // eslint-disable-next-line no-alert\r\n alert('There was an error processing your request. Please try again later.');\r\n });\r\n }\r\n\r\n handleApplyClicked() {\r\n API.Listings.Get2Apply(this.listing!.Id)\r\n .then((ireData) => {\r\n window.location.href = ireData.Url;\r\n // window.open(ireData.Url, '_blank');\r\n })\r\n .catch(() => {\r\n // eslint-disable-next-line no-alert\r\n alert('There was an error processing your request. Please try again later.');\r\n });\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingDetails.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingDetails.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ListingDetails.vue?vue&type=template&id=73297858&scoped=true&\"\nimport script from \"./ListingDetails.vue?vue&type=script&lang=ts&\"\nexport * from \"./ListingDetails.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ListingDetails.vue?vue&type=style&index=0&id=73297858&prod&scoped=true&lang=css&\"\nimport style1 from \"./ListingDetails.vue?vue&type=style&index=1&id=73297858&prod&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"73297858\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingDetails.vue?vue&type=style&index=1&id=73297858&prod&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingAgentProfile.vue?vue&type=style&index=0&id=9b78fb34&prod&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InspectionCard.vue?vue&type=style&index=0&id=1681944e&prod&scoped=true&lang=css&\"","import { Config } from \"../../services/Config\";\r\nimport { ContextItem } from \"../Context\";\r\n\r\nclass FormConstructorData {\r\n public ClientWebsiteId: string = Config.Website.Id;\r\n public Items: ContextItem[];\r\n\r\n constructor(items?: ContextItem[]) {\r\n this.Items = items || [];\r\n }\r\n}\r\n\r\nexport { FormConstructorData }\r\n","import { FormFieldLayoutOptions } from \"./FormFieldLayoutOptions\";\r\n\r\nenum FormFieldType\r\n{\r\n Text,\r\n Email,\r\n Tel,\r\n Dropdown,\r\n Textarea,\r\n VideoUpload,\r\n FileUpload,\r\n MultiFileUploader,\r\n StaticText,\r\n Date,\r\n Signature,\r\n GraphicalPDF\r\n}\r\n\r\ninterface FormField {\r\n FieldId: string;\r\n SectionId: string;\r\n Type: FormFieldType;\r\n TypeName: string;\r\n Key: string;\r\n Label: string;\r\n Placeholder: string;\r\n LayoutOptions: FormFieldLayoutOptions;\r\n Required: boolean;\r\n \r\n}\r\n\r\nexport { FormField, FormFieldType }\r\n","import { PDFFieldData } from \"./FieldTypes/PDFFieldData\";\r\nimport { PDFKeyValuePair } from \"./FieldTypes/IFormField\";\r\n\r\nclass FormValue {\r\n Key: string;\r\n Value: string | PDFFieldData | Blob | Blob[] | PDFKeyValuePair | (string | PDFKeyValuePair)[] | number | null;\r\n\r\n constructor(key: string, value: string | PDFFieldData | Blob | Blob[] | PDFKeyValuePair | (string | PDFKeyValuePair)[] | number | null) {\r\n this.Key = key;\r\n this.Value = value;\r\n }\r\n}\r\n\r\nexport { FormValue }\r\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingDetails.vue?vue&type=style&index=0&id=73297858&prod&scoped=true&lang=css&\""],"sourceRoot":""}