{"version":3,"sources":["webpack:///./src/views/ListingDetails.vue?520d","webpack:///./src/components/InspectionCard.vue?e5e8","webpack:///./src/components/InspectionCard.vue","webpack:///./src/components/InspectionCard.vue?09f0","webpack:///./src/components/InspectionCard.vue?0654","webpack:///./src/components/ListingAgentProfile.vue?48aa","webpack:///./src/components/ListingAgentProfile.vue","webpack:///./src/components/ListingAgentProfile.vue?0c7a","webpack:///./src/components/ListingAgentProfile.vue?5960","webpack:///./src/views/ListingDetails.vue","webpack:///./src/views/ListingDetails.vue?fcc8","webpack:///./src/views/ListingDetails.vue?04f9","webpack:///./src/components/ListingAgentProfile.vue?a95d","webpack:///./src/views/ListingDetails.vue?2ed5","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/components/InspectionCard.vue?2a09"],"names":["render","_vm","this","_h","$createElement","_c","_self","cyclerItems","staticClass","attrs","isMobile","cyclerBreakpoints","on","handleVideoViewed","_e","isCurrent","_v","_s","listing","Status","Agents","sellingAgents","Address","FullAddress","Price","Features","pluralise","Bedrooms","Bathrooms","Parking","Total","Area","TotalBuilding","Land","Header","domProps","HtmlWebDescription","FeatureList","_l","feature","key","InspectionTimes","inspection","StartDate","Files","length","ExternalLinks","file","Url","Type","Label","link","Domain","isSale","formData","handleContactFormSubmitted","virtualTour","MethodOfSale","$event","virtualTourShown","Id","PropertyType","formattedDateAvailable","BondPrice","mapSettings","EmbedId","staticRenderFns","handleClicked","inspectionTime","StartDateInfo","MonthName","ShortName","DayOfMonth","DayName","LongName","Time","EndDateInfo","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","component","agent","Photo","FullName","Position","MobilePhone","handlePhoneClicked","FirstName","Slug","profile","tmp","innerHTML","AboutAgent","text","innerText","substring","analyticsService","Get","Analytics","evt","CallAgentClicked","FromProfile","Realtime","Record","Map","breakpoint","settings","slidesToShow","lid","$route","params","id","indexOf","split","Context","Listing","Images","map","img","ItemCycler","EmbeddedContent","forEach","item","Youtube","Vimeo","splice","DisplayAddress","Markers","Coordinate","Coordinates","Title","$emit","location","hash","catch","Log","Error","OtherFeatures","parts","UnitNumber","push","StreetNumber","join","Suburb","State","PostCode","DateAvailable","now","Date","dateAvailable","getDate","getMonth","getFullYear","toString","substr","tour","find","content","VirtualTour","agents","last","pop","number","singular","plural","title","description","Introduction","image","Preview","undefined","FromListing","triggerCustomAnalyticsEvent","ListingVideoViewed","ContactFormSubmit","$router","path","query","listingId","components","InspectionCard","ListingAgentProfile","Form","items","ClientWebsiteId","Config","Website","Items","FormFieldType","FormValue","value","Key","Value"],"mappings":"gJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,OAAO,CAAEJ,EAAW,QAAE,CAAEA,EAAIM,YAAkB,OAAEF,EAAG,MAAM,CAACG,YAAY,gCAAgC,CAACH,EAAG,aAAa,CAACG,YAAY,0BAA0BC,MAAM,CAAC,OAAQ,EAAK,QAAUR,EAAIM,YAAY,MAAQ,IAAK,MAAQN,EAAIS,SAAW,EAAI,IAAI,MAAQ,OAAO,QAAUT,EAAIS,SAAS,MAAO,EAAK,WAAaT,EAAIU,kBAAkB,gBAAe,GAAMC,GAAG,CAAC,UAAYX,EAAIY,sBAAsB,GAAGZ,EAAIa,KAAKT,EAAG,MAAM,CAACG,YAAY,oBAAoB,CAAGP,EAAIc,UAAsQd,EAAIa,KAA/PT,EAAG,MAAM,CAACG,YAAY,gCAAgC,CAACH,EAAG,mBAAmB,CAACG,YAAY,yBAAyB,CAACP,EAAIe,GAAG,IAAIf,EAAIgB,GAAGhB,EAAIiB,QAAQC,QAAQ,KAAMlB,EAAI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AAS2H,OAAOhG,OAAS3C,KAAKgB,QAAS2H,OAAO,GAAGqD,QAAQlJ,SAAMmJ,GAIxE,mBACL,OAAqB,OAAjBjM,KAAKgB,QAAyB,KAE3ByG,EAAA,KAAqByE,YAAYlM,KAAKgB,SAG/C,oBACEhB,KAAKmM,4BAA4B,IAAI1E,EAAA,KAAeA,EAAA,KAAmB2E,mBAAoB3E,EAAA,KAAqByE,YAAYlM,KAAKgB,WAGnI,6BACEhB,KAAKmM,4BAA4B,IAAI1E,EAAA,KAAeA,EAAA,KAAmB4E,kBAAmB5E,EAAA,KAAqByE,YAAYlM,KAAKgB,WAGlI,qB,MACEhB,KAAKsM,QAAQnC,KAAK,CAAEoC,KAAM,2BAA4BC,MAAO,CAAEC,UAAuB,QAAd,EAAEzM,KAAKgB,eAAO,eAAE0C,QAvKvE,EAAc,GATlC,eAAU,CACTgJ,WAAY,CACV5D,WAAA,OACA6D,eAAA,EACA5E,MACA6E,oBAAA,EACAC,OAAA,SAGiB,WCjNoX,ICQrY,G,UAAY,eACd,EACA/M,EACAkE,GACA,EACA,KACA,WACA,OAIa,e,6CCnBf,yBAAkf,EAAG,G,2DCArf,yBAA6e,EAAG,G,iJCGhf,MAAM,EAIJ,YAAY8I,GAHL,KAAAC,gBAA0BC,EAAA,KAAOC,QAAQvJ,GAI9C1D,KAAKkN,MAAQJ,GAAS,I,ICNrBK,E,WAAL,SAAKA,GAED,sBACA,wBACA,oBACA,8BACA,8BACA,oCACA,kCACA,gDACA,kCACA,sBACA,iCACA,wCAbJ,CAAKA,MAAa,K,wCCClB,MAAMC,EAIF,YAAY9K,EAAa+K,GACrBrN,KAAKsN,IAAMhL,EACXtC,KAAKuN,MAAQF,K,gFCTrB,yBAA6e,EAAG,G","file":"js/chunk-7d411cc2.9f146691.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Page',[(_vm.listing)?[(_vm.cyclerItems.length)?_c('div',{staticClass:\"listing__image-carousel-wrap\"},[_c('ItemCycler',{staticClass:\"listing__image-carousel\",attrs:{\"inset\":true,\"objects\":_vm.cyclerItems,\"speed\":1000,\"items\":_vm.isMobile ? 1 : 1.5,\"touch\":\"true\",\"center\":!_vm.isMobile,\"loop\":true,\"responsive\":_vm.cyclerBreakpoints,\"force-height\":true},on:{\"viewVideo\":_vm.handleVideoViewed}})],1):_vm._e(),_c('div',{staticClass:\"listing-info-bar\"},[(!_vm.isCurrent)?_c('div',{staticClass:\"listing-info-bar__off-market\"},[_c('ContentContainer',{staticClass:\"listing-info-bar__row\"},[_vm._v(\" \"+_vm._s(_vm.listing.Status)+\" \"),(_vm.listing.Agents.length)?[_vm._v(\" by \"+_vm._s(_vm.sellingAgents)+\" \")]:_vm._e()],2)],1):_vm._e(),_c('ContentContainer',{staticClass:\"listing-info-bar__row\"},[_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._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\",\"colour\":\"white\"}}),_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\",\"colour\":\"white\"}}),_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\",\"colour\":\"white\"}}),_vm._v(\" \"+_vm._s(_vm.pluralise(_vm.listing.Features.Parking.Total, \"Car\"))+\" \")],1):_vm._e(),(_vm.listing.Features.Area.TotalBuilding)?_c('li',[_c('Icon',{attrs:{\"icon\":\"house-size\",\"colour\":\"white\"}}),_vm._v(\" \"+_vm._s(_vm.listing.Features.Area.TotalBuilding)+\" Sq. M \")],1):_vm._e(),(_vm.listing.Features.Area.Land)?_c('li',[_c('Icon',{attrs:{\"icon\":\"crop-button\",\"colour\":\"white\"}}),_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\":\"9\"}},[_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))])}),_vm._l((this.otherFeatures),function(feature){return _c('li',{key:feature},[_vm._v(_vm._s(feature))])})],2)]):_vm._e(),(_vm.listing.InspectionTimes.length)?_c('div',{staticClass:\"listing__body__section\"},[_c('h4',{staticClass:\"listing__body__section__title\"},[_vm._v(\"Inspection Times\")]),_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\"},[_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('a',{staticClass:\"attachment__item\",attrs:{\"href\":file.Url,\"target\":\"_blank\"}},[_c('Icon',{staticClass:\"attachment__icon\",attrs:{\"icon\":file.Type === 2 ? 'floorplan' : 'attachment'}}),_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\"}},[_c('Icon',{staticClass:\"attachment__icon\",attrs:{\"icon\":\"link-button\"}}),_c('span',{staticClass:\"attachment__label\"},[_vm._v(\" \"+_vm._s(link.Domain)+\" \")])],1)])})],2)]):_vm._e(),(_vm.isCurrent || _vm.isSale)?_c('div',{staticClass:\"listing__body__section\"},[_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):_vm._e()]),_c('Column',{attrs:{\"width\":\"3\",\"md-width\":\"12\"}},[(_vm.virtualTour || (_vm.isCurrent && (_vm.isSale || _vm.listing.MethodOfSale === 'Lease')))?_c('div',{staticClass:\"listing__body__section\"},[(_vm.virtualTour)?_c('Button',{staticClass:\"listing-extra-btn\",attrs:{\"block\":\"true\",\"icon\":\"360-degree\"},on:{\"click\":function($event){_vm.virtualTourShown = true;}}},[_vm._v(\" Virtual Tour \")]):_vm._e(),(_vm.isCurrent && _vm.isSale)?_c('LinkButton',{staticClass:\"listing-extra-btn\",attrs:{\"block\":\"true\",\"href\":'/listings/' + _vm.listing.Id + '/make-an-offer'}},[_vm._v(\" Make an Offer \")]):_vm._e()],1):_vm._e(),(_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',[_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)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;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))])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-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--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-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=6190422a&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=6190422a&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 \"6190422a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"agent-profiles\"},_vm._l((_vm.listing.Agents),function(agent){return _c('Card',{key:agent.Id,staticClass:\"listing-agent-profile\"},[_c('LazyImage',{staticClass:\"listing-agent-profile__image\",attrs:{\"image\":agent.Photo,\"preview-width\":268,\"thumb-width\":100}}),_c('div',{staticClass:\"listing-agent-profile__body\"},[_c('Heading',{staticClass:\"listing-agent-profile__moniker\",attrs:{\"level\":\"h4\"}},[_c('span',{staticClass:\"listing-agent-profile__name\"},[_vm._v(_vm._s(agent.FullName))]),_c('span',{staticClass:\"listing-agent-profile__position\"},[_vm._v(_vm._s(agent.Position))])]),_c('ButtonGroup',{staticClass:\"listing-agent-profile__buttons\",attrs:{\"grow\":\"true\"}},[(agent.MobilePhone)?_c('LinkButton',{attrs:{\"href\":'tel:' + agent.MobilePhone,\"external\":true,\"target\":\"_self\",\"background-colour\":\"var(--brand-secondary)\"},on:{\"clicked\":function($event){return _vm.handlePhoneClicked(agent)}}},[_vm._v(\"Call \"+_vm._s(agent.FirstName))]):_vm._e(),_c('LinkButton',{attrs:{\"href\":'/profiles/' + agent.Slug,\"background-colour\":\"var(--brand-secondary)\"}},[_vm._v(\"View More\")])],1)],1)],1)}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-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--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-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=66a45f60&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=66a45f60&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 \"66a45f60\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 { AnalyticsEvent, AnalyticsEventObject, AnalyticsEventType } from 'client-website-ts-library/services/Analytics';\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 },\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: 1,\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 let lid = this.$route.params.id;\r\n\r\n if (lid.indexOf('&') !== -1) {\r\n lid = lid.split('&')[0];\r\n }\r\n\r\n API.Listings.Get(lid).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, 0.6666));\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 });\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\r\n if (window.location.hash === '#virtualtour' && this.virtualTour != null) {\r\n this.virtualTourShown = true;\r\n }\r\n }).catch(() => {\r\n Logger.Log(LogLevel.Error, 'Failed to load listing');\r\n });\r\n }\r\n\r\n get otherFeatures(): string[] {\r\n return this.listing!.OtherFeatures.split(',');\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 isSale(): boolean {\r\n return this.listing!.MethodOfSale === 'Sale' || this.listing!.MethodOfSale === 'For Sale' || this.listing!.MethodOfSale === 'Auction';\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 get sellingAgents(): string {\r\n if (this.isCurrent || this.listing === null) return '';\r\n\r\n if (this.listing.Agents.length === 1) return this.listing.Agents[0].FullName;\r\n\r\n const agents = [...this.listing.Agents];\r\n\r\n const last = agents.pop();\r\n\r\n return `${agents.map((a) => a.FullName).join(', ')} & ${last?.FullName}`;\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 handleApplyClicked() {\r\n this.$router.push({ path: '/forms/application-form/', query: { listingId: this.listing?.Id } });\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-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--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-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=66d23108&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=66d23108&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 \"66d23108\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingAgentProfile.vue?vue&type=style&index=0&id=66a45f60&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingAgentProfile.vue?vue&type=style&index=0&id=66a45f60&scoped=true&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingDetails.vue?vue&type=style&index=0&id=66d23108&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingDetails.vue?vue&type=style&index=0&id=66d23108&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","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InspectionCard.vue?vue&type=style&index=0&id=6190422a&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InspectionCard.vue?vue&type=style&index=0&id=6190422a&scoped=true&lang=css&\""],"sourceRoot":""}