{"version":3,"sources":["webpack:///./src/views/ListingDetails.vue?2653","webpack:///./src/components/InspectionCard.vue?d32a","webpack:///./src/components/InspectionCard.vue","webpack:///./src/components/InspectionCard.vue?09f0","webpack:///./src/components/InspectionCard.vue?0654","webpack:///./src/components/ListingAgentProfile.vue?f90b","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/views/ListingDetails.vue?3e3d","webpack:///./src/components/InspectionCard.vue?20fd","webpack:///./src/components/Calculators/HomeLoanCalculator.vue?988b","webpack:///./src/components/Calculators/HomeLoanCalculator.vue","webpack:///./src/components/Calculators/HomeLoanCalculator.vue?9c60","webpack:///./src/components/Calculators/HomeLoanCalculator.vue?a795","webpack:///./src/components/Forms/Form.vue?f8f5","webpack:///./node_modules/client-website-ts-library/plugins/view/index.ts","webpack:///./src/components/Forms/Form.vue?4717","webpack:///./src/components/Forms/Form.vue","webpack:///./src/components/Forms/Form.vue?d965","webpack:///./src/components/Forms/Form.vue?4d45","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/Calculators/HomeLoanCalculator.vue?8ab1","webpack:///./src/components/ListingAgentProfile.vue?1832"],"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","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","handleIREClicked","Id","PropertyType","formattedDateAvailable","BondPrice","NumericPrice","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","profile","tmp","innerHTML","AboutAgent","text","innerText","substring","analyticsService","Get","Analytics","evt","CallAgentClicked","FromProfile","Realtime","Record","Map","breakpoint","settings","slidesToShow","$route","params","id","Context","Listing","Images","map","img","ItemCycler","EmbeddedContent","forEach","item","Youtube","Vimeo","splice","DisplayAddress","Markers","Coordinate","Coordinates","Title","$emit","location","hash","catch","Log","Error","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","GetInspectRealEstateData","ireData","open","alert","components","InspectionCard","ListingAgentProfile","Form","HomeLoanCalculator","loading","hideAmount","directives","name","rawName","value","expression","target","composing","principal","calculate","depositAmount","_m","loanTerm","interestRate","result","amount","needsLMI","Calculators","GetHomeLoanConfig","config","InterestRate","rate","repayments","monthly","Math","max","ceil","toLocaleString","default","Loader","prolistAnalyticsService","ServiceManager","headService","Require","Head","obj","getAnalyticsEvent","call","getAnalyticsData","path","triggerAnalyticsEvent","event","GetAll","adapter","head","bind","Promise","meta","Update","UpdateWithStatic","View","requestAnimationFrame","updateHead","updateAnalytics","AsyncView","$on","fieldBg","loadAutosave","autosaveDate","definition","Options","SubmittedText","section","SectionId","ref","refInFor","errors","ctx","handleFieldInput","class","submitButtonClass","submitButtonColour","submitButtonBackgroundColour","submitForm","SubmitButtonText","context","errored","submitted","autosaveManager","FormAutosave","hasAutosave","submitPercent","recaptchaService","ReCaptcha","progress","total","round","console","log","Items","ClientWebsiteId","Website","Forms","GetForm","def","enableAutosave","state","GetState","Sections","sectionComponent","$refs","setData","fieldDef","filter","err","Key","collectData","data","normalisedData","normaliseData","SubmitForm","Valid","Submitted","resetRecaptcha","ValidationState","Errors","newValues","entry","Value","Array","i","includeRecaptcha","resolve","reject","getRecaptchaResponse","recaptchaResponse","Debug","Reset","GetResponse","Section","items","Config","FormFieldType","FormValue"],"mappings":"kMAAA,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,EAAIiB,QAAQE,OAAa,OAAE,CAACnB,EAAIe,GAAG,OAAOf,EAAIgB,GAAGhB,EAAIoB,eAAe,MAAMpB,EAAIa,MAAM,IAAI,GAAYT,EAAG,mBAAmB,CAACG,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,EAAY,eACd,EACA1G,EACAmE,GACA,EACA,KACA,WACA,MAIa,OAAAuC,E,iIChBf,MAAM,EAIJ,YAAYsO,GAHL,KAAAxC,gBAA0ByC,EAAA,KAAOxC,QAAQ7O,GAI9C1D,KAAKqS,MAAQyC,GAAS,I,ICNrBE,E,WAAL,SAAKA,GAED,sBACA,wBACA,oBACA,8BACA,8BACA,oCACA,kCACA,gDACA,kCACA,sBACA,iCACA,wCAbJ,CAAKA,MAAa,K,wCCClB,MAAMC,EAIF,YAAY5S,EAAa2K,GACrBhN,KAAKqT,IAAMhR,EACXrC,KAAKkU,MAAQlH,K,yDCTrB,W,yDCAA,W","file":"js/chunk-1ef2ac34.5b3c13cc.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.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))])}),0)]):_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.listing.MethodOfSale === 'Lease' && _vm.isCurrent)?_c('Button',{attrs:{\"block\":\"true\",\"icon\":\"searching-magnifying-glass\"},on:{\"click\":_vm.handleIREClicked}},[_vm._v(\"Book Inspection\")]):_vm._e(),(_vm.isCurrent && _vm.isSale)?_c('LinkButton',{staticClass:\"listing-extra-btn\",attrs:{\"block\":\"true\",\"icon\":\"dollar\",\"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),(_vm.listing.Price.NumericPrice && (_vm.listing.MethodOfSale === 'Sale' || _vm.listing.MethodOfSale === 'For Sale'))?_c('div',{staticClass:\"listing__body__section\"},[_c('HomeLoanCalculator',{attrs:{\"hide-amount\":\"true\",\"amount\":_vm.listing.Price.NumericPrice}})],1):_vm._e()])],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\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { InspectionTime, Listing } from 'client-website-ts-library/types';\nimport { API } from 'client-website-ts-library/services';\n\n@Component\nexport default class InspectionCard extends Vue {\n @Prop()\n private readonly inspectionTime!: InspectionTime;\n\n @Prop()\n private readonly listing!: Listing;\n\n handleClicked() {\n API.Listings.GetOpenHomeICS(this.listing.Id, this.inspectionTime.StartDate, this.inspectionTime.EndDate).then((ics) => {\n const fileParts = [ics.VCalContent];\n const blob = new Blob(fileParts, { type: 'text/calendar' });\n const url = URL.createObjectURL(blob);\n\n const a = document.createElement('a');\n a.style.display = 'none';\n document.body.appendChild(a);\n\n a.href = url;\n a.download = `${this.listing.Address.MicroAddress}.ics`;\n a.click();\n\n setTimeout(() => {\n window.URL.revokeObjectURL(url);\n a.remove();\n }, 10);\n });\n }\n}\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=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&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 () {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}}),_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()],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\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { Listing, Profile } from 'client-website-ts-library/types';\nimport { ServiceManager, ServiceType } from 'client-website-ts-library/services';\nimport { AnalyticsEvent, AnalyticsEventObject, AnalyticsEventType, IAnalyticsAdapter, AnalyticsEventPriority } from 'client-website-ts-library/services/Analytics';\n\n@Component\nexport default class ListingAgentProfile extends Vue {\n @Prop()\n private readonly listing!: Listing;\n\n private getShortAgentProfile(profile: Profile): string {\n const tmp = document.createElement('div');\n\n tmp.innerHTML = profile.AboutAgent;\n\n const text = tmp.innerText;\n\n return text.length < 120 ? text : `${tmp.innerText.substring(0, 100)}...`;\n }\n\n handlePhoneClicked(profile: Profile) {\n const analyticsService = ServiceManager.Get(ServiceType.Analytics, 'PROListAnalyticsAdapter');\n\n const evt = new AnalyticsEvent(AnalyticsEventType.CallAgentClicked, AnalyticsEventObject.FromProfile(profile), AnalyticsEventPriority.Realtime);\n\n analyticsService!.Record(evt);\n }\n}\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=24c9052d&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=24c9052d&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 \"24c9052d\",\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\nimport { Component, Mixins } from 'vue-property-decorator';\nimport { Listing, MapSettings } from 'client-website-ts-library/types';\nimport { ItemCyclerSlide, ItemCyclerReiszableImageSlide, ItemCyclerEmbeddableSlide } from '@/app_code/ItemCycler';\nimport { CarouselBreakpoint } from '@/app_code/CarouselBreakpoint';\nimport { API, Logger, LogLevel } from 'client-website-ts-library/services';\nimport { EmbeddedContent, EmbeddedContentType } from 'client-website-ts-library/types/EmbeddedContent/EmbeddedContent';\nimport { FormConstructorData } from 'client-website-ts-library/types/Forms';\nimport { ContextItemType } from 'client-website-ts-library/types/Context';\nimport { AsyncView, RouteMeta } from 'client-website-ts-library/plugins';\n\nimport ItemCycler from '@/components/Cycler/ItemCycler.vue';\nimport InspectionCard from '@/components/InspectionCard.vue';\nimport ListingAgentProfile from '@/components/ListingAgentProfile.vue';\nimport Form from '@/components/Forms/Form.vue';\nimport { AnalyticsEvent, AnalyticsEventObject, AnalyticsEventType } from 'client-website-ts-library/services/Analytics';\nimport HomeLoanCalculator from '@/components/Calculators/HomeLoanCalculator.vue';\n\nconst Map = () => import('client-website-ts-library/components/Map/Map.vue');\n\n@Component({\n components: {\n ItemCycler,\n InspectionCard,\n Map,\n ListingAgentProfile,\n Form,\n HomeLoanCalculator,\n },\n})\nexport default class ListingDetails extends Mixins(AsyncView) {\n private listing: Listing | null = null;\n\n private mapSettings?: MapSettings;\n\n private isMobile = false;\n\n private cyclerItems: ItemCyclerSlide[] = [];\n\n private cyclerBreakpoints: CarouselBreakpoint[] = [\n {\n breakpoint: 0,\n settings: {\n slidesToShow: 1,\n },\n },\n {\n breakpoint: 768,\n settings: {\n slidesToShow: 2,\n },\n },\n ];\n\n private formData: FormConstructorData | null = null;\n\n private virtualTourShown = false;\n\n created() {\n API.Listings.Get(this.$route.params.id).then((listing) => {\n this.listing = listing;\n\n this.formData = new FormConstructorData([\n {\n Type: ContextItemType.Listing,\n Id: this.listing.Id,\n },\n ]);\n\n this.cyclerItems = listing.Images.map((img) => new ItemCyclerReiszableImageSlide(img));\n\n listing.EmbeddedContent.forEach((item) => {\n if (item.Type === EmbeddedContentType.Youtube || item.Type === EmbeddedContentType.Vimeo) {\n this.cyclerItems.splice(1, 0, new ItemCyclerEmbeddableSlide(item));\n }\n });\n\n if (listing.Address.DisplayAddress) {\n this.mapSettings = new MapSettings({\n Markers: [\n {\n Coordinate: listing.Address.Coordinates,\n Title: listing.Address.MicroAddress,\n },\n ],\n });\n }\n\n this.$emit('updateView');\n\n if (window.location.hash === '#virtualtour' && this.virtualTour != null) {\n this.virtualTourShown = true;\n }\n }).catch(() => {\n Logger.Log(LogLevel.Error, 'Failed to load listing');\n });\n }\n\n get isCurrent(): boolean {\n return this.listing!.Status === 'Current' || this.listing!.Status === 'Under Contract';\n }\n\n get isSale(): boolean {\n return this.listing!.MethodOfSale === 'Sale' || this.listing!.MethodOfSale === 'For Sale' || this.listing!.MethodOfSale === 'Auction';\n }\n\n get formattedAddressLine1(): string {\n const parts = [];\n\n if (this.listing === null) return '';\n\n if (this.listing.Address.UnitNumber) {\n parts.push(`${this.listing.Address.UnitNumber} / ${this.listing.Address.StreetNumber}`);\n } else {\n parts.push(this.listing.Address.StreetNumber);\n }\n\n parts.push(this.listing.Address.Address);\n\n return parts.join(' ');\n }\n\n get formattedAddressLine2(): string {\n if (this.listing === null) return '';\n\n return `${this.listing.Address.Suburb}, ${this.listing.Address.State} ${this.listing.Address.PostCode}`;\n }\n\n get formattedDateAvailable(): string {\n if (!this.listing!.DateAvailable) return 'now';\n\n const now = new Date();\n const dateAvailable = new Date(this.listing!.DateAvailable);\n\n if (dateAvailable <= now) return 'now';\n\n return `${dateAvailable.getDate()}/${(dateAvailable.getMonth() + 1)}/${dateAvailable.getFullYear().toString().substr(2, 2)}`;\n }\n\n get virtualTour(): EmbeddedContent | null {\n if (this.listing === null) return null;\n\n const tour = this.listing.EmbeddedContent.find((content) => content.Type === EmbeddedContentType.VirtualTour);\n\n return tour || null;\n }\n\n get sellingAgents(): string {\n if (this.isCurrent || this.listing === null) return '';\n\n if (this.listing.Agents.length === 1) return this.listing.Agents[0].FullName;\n\n const agents = [...this.listing.Agents];\n\n const last = agents.pop();\n\n return `${agents.map((a) => a.FullName).join(', ')} & ${last?.FullName}`;\n }\n\n pluralise(number: number, singular: string, plural?: string): string {\n // eslint-disable-next-line no-nested-ternary\n return `${number} ${(number === 1 ? singular : plural == null ? `${singular}s` : plural)}`;\n }\n\n public head(): RouteMeta {\n return {\n title: this.listing!.Address.DisplayAddress ? this.listing!.Address.MicroAddress : this.listing!.Header,\n description: this.listing!.Introduction,\n image: this.listing!.Images.length ? this.listing!.Images[0].Preview.Url : undefined,\n };\n }\n\n public getAnalyticsData(): AnalyticsEventObject | null {\n if (this.listing === null) return null;\n\n return AnalyticsEventObject.FromListing(this.listing);\n }\n\n handleVideoViewed() {\n this.triggerCustomAnalyticsEvent(new AnalyticsEvent(AnalyticsEventType.ListingVideoViewed, AnalyticsEventObject.FromListing(this.listing!)));\n }\n\n handleContactFormSubmitted() {\n this.triggerCustomAnalyticsEvent(new AnalyticsEvent(AnalyticsEventType.ContactFormSubmit, AnalyticsEventObject.FromListing(this.listing!)));\n }\n\n handleIREClicked() {\n API.Listings.GetInspectRealEstateData(this.listing!.Id).then((ireData) => {\n window.open(ireData.Url, '_blank');\n }).catch(() => {\n // eslint-disable-next-line no-alert\n alert('There was an error processing your request. Please try again later.');\n });\n }\n}\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=4b45c173&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=4b45c173&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 \"4b45c173\",\n null\n \n)\n\nexport default component.exports","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=4b45c173&scoped=true&lang=css&\"","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=1681944e&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"home-loan-calculator\"},[_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.loading)?_c('div',{staticClass:\"home-loan-calculator__loading\"},[_c('Loader',{attrs:{\"loading\":_vm.loading}})],1):_vm._e()]),_c('div',{staticClass:\"home-loan-calculator__fields\"},[(!_vm.hideAmount)?_c('div',{staticClass:\"form-field\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.principal),expression:\"principal\"}],staticClass:\"form-field__input form-field__input--has-value\",attrs:{\"type\":\"number\",\"step\":\"1\",\"min\":\"50000\",\"placeholder\":\"E.g. 500,000\"},domProps:{\"value\":(_vm.principal)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.principal=$event.target.value},_vm.calculate]}}),_c('label',{staticClass:\"form-field__label\"},[_vm._v(\"Property Price ($)\")])]):_vm._e(),_c('div',{staticClass:\"form-field\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.depositAmount),expression:\"depositAmount\"}],staticClass:\"form-field__input form-field__input--has-value\",attrs:{\"type\":\"number\",\"step\":\"1\",\"min\":\"0\",\"placeholder\":\"E.g. 100,000\"},domProps:{\"value\":(_vm.depositAmount)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.depositAmount=$event.target.value},_vm.calculate]}}),_c('label',{staticClass:\"form-field__label\"},[_vm._v(\"Deposit Amount ($)\")])]),(_vm.needsLMI)?_c('div',{staticClass:\"alert\"},[_c('Icon',{staticClass:\"alert__icon\",attrs:{\"icon\":\"info\",\"colour\":\"white\"}}),_vm._m(0)],1):_vm._e(),_c('div',{staticClass:\"form-field\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.loanTerm),expression:\"loanTerm\"}],staticClass:\"form-field__input form-field__input--has-value\",attrs:{\"type\":\"number\",\"step\":\"1\",\"min\":\"1\",\"placeholder\":\"E.g. 30\"},domProps:{\"value\":(_vm.loanTerm)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.loanTerm=$event.target.value},_vm.calculate]}}),_c('label',{staticClass:\"form-field__label\"},[_vm._v(\"Loan Term (years)\")])]),_c('div',{staticClass:\"form-field\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.interestRate),expression:\"interestRate\"}],staticClass:\"form-field__input form-field__input--has-value\",attrs:{\"type\":\"number\",\"step\":\"0.01\",\"min\":\"0.01\",\"placeholder\":\"E.g. 2.9\"},domProps:{\"value\":(_vm.interestRate)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.interestRate=$event.target.value},_vm.calculate]}}),_c('label',{staticClass:\"form-field__label\"},[_vm._v(\"Interest Rate (% PA)\")])])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.result.length),expression:\"result.length\"}],staticClass:\"home-loan-calculator__result\"},[_c('div',{staticClass:\"home-loan-calculator__result__value\"},[_c('div',{staticClass:\"home-loan-calculator__result__value__content\"},[_vm._v(_vm._s(_vm.result))]),_c('div',{staticClass:\"home-loan-calculator__result__value__unit\"},[_vm._v(\"per month est.\")])])])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticClass:\"alert__content\"},[_vm._v(\" Based on your deposit amount, you may need to take out \"),_c('a',{attrs:{\"href\":\"https://moneysmart.gov.au/glossary/lenders-mortgage-insurance-lmi\",\"target\":\"_blank\",\"rel\":\"nofollow\"}},[_vm._v(\"LMI\")]),_vm._v(\". \")])}]\n\nexport { render, staticRenderFns }","\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\nimport { API } from 'client-website-ts-library/services';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Loader from '../UI/Loader.vue';\n\n@Component({\n components: {\n Loader,\n },\n})\nexport default class HomeLoanCalculator extends Vue {\n @Prop()\n private readonly hideAmount!: boolean;\n\n @Prop({ default: 500000 })\n private readonly amount!: number;\n\n private principal = this.amount;\n\n private depositAmount = this.amount * 0.2;\n\n private loanTerm = 30;\n\n private interestRate = 0;\n\n private loading = true;\n\n private result = '';\n\n private needsLMI = false;\n\n mounted() {\n API.Calculators.GetHomeLoanConfig().then((config) => {\n this.interestRate = config.InterestRate;\n\n this.loading = false;\n\n this.calculate();\n });\n }\n\n calculate() {\n const rate = (this.interestRate / 12) / 100;\n const repayments = this.loanTerm * 12;\n\n const principal = this.principal - this.depositAmount;\n\n this.needsLMI = this.depositAmount / this.principal < 0.2;\n\n const monthly = Math.max(0, principal / (((1 + rate) ** repayments - 1) / (rate * (1 + rate) ** repayments)));\n\n this.result = `$${Math.ceil(monthly).toLocaleString()}`;\n }\n}\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!./HomeLoanCalculator.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!./HomeLoanCalculator.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./HomeLoanCalculator.vue?vue&type=template&id=4f924d6e&scoped=true&\"\nimport script from \"./HomeLoanCalculator.vue?vue&type=script&lang=ts&\"\nexport * from \"./HomeLoanCalculator.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./HomeLoanCalculator.vue?vue&type=style&index=0&id=4f924d6e&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 \"4f924d6e\",\n null\n \n)\n\nexport default component.exports","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!./Form.vue?vue&type=style&index=0&id=726d98f2&scoped=true&lang=css&\"","import Vue from \"vue\";\r\nimport { Component } from \"vue-property-decorator\";\r\nimport { AnalyticsEvent, AnalyticsEventObject, AnalyticsPageView, IAnalyticsAdapter, PROListAnalyticsAdapter } from \"../../services/Analytics\";\r\nimport { HeadService } from \"../../services/HeadService\";\r\nimport { ServiceManager, ServiceType } from \"../../services/ServiceManager\";\r\nimport { RouteMeta } from \"../meta\";\r\n\r\ninterface ViewBase {\r\n getAnalyticsEvent?(): AnalyticsEvent | null;\r\n getAnalyticsData?(): AnalyticsEventObject | null;\r\n head?(): RouteMeta | Promise | null;\r\n}\r\n\r\n@Component\r\nclass ViewBase extends Vue {\r\n protected prolistAnalyticsService = ServiceManager.Get(ServiceType.Analytics, 'PROListAnalyticsAdapter');\r\n protected headService = ServiceManager.Require(ServiceType.Head)!;\r\n\r\n public updateAnalytics() {\r\n let evt: AnalyticsEvent | null = null;\r\n let obj: AnalyticsEventObject | null = null;\r\n\r\n if (typeof this.getAnalyticsEvent !== 'undefined') {\r\n evt = this.getAnalyticsEvent.call(this);\r\n } else if(typeof this.getAnalyticsData !== 'undefined') {\r\n obj = this.getAnalyticsData.call(this);\r\n }\r\n\r\n if (evt === null) evt = new AnalyticsPageView(this.$route.path, this.$route.name || '', obj || undefined);\r\n\r\n this.triggerAnalyticsEvent(evt);\r\n }\r\n\r\n public triggerAnalyticsEvent(event: AnalyticsEvent) {\r\n ServiceManager.GetAll(ServiceType.Analytics).forEach((adapter) => {\r\n adapter.Record(event);\r\n });\r\n }\r\n\r\n public triggerCustomAnalyticsEvent(event: AnalyticsEvent) {\r\n if (this.prolistAnalyticsService !== null) this.prolistAnalyticsService.Record(event);\r\n }\r\n\r\n protected updateHead() {\r\n if ('head' in this) {\r\n const result = this.head!.bind(this)();\r\n\r\n if(result instanceof Promise) {\r\n result.then((meta: RouteMeta | null) => {\r\n this.headService.Update(meta);\r\n });\r\n } else {\r\n this.headService.Update(result as RouteMeta | null);\r\n }\r\n } else {\r\n this.headService.UpdateWithStatic(this.$route.path);\r\n }\r\n }\r\n}\r\n\r\n@Component\r\nclass View extends ViewBase {\r\n public mounted() {\r\n requestAnimationFrame(() => {\r\n this.updateHead();\r\n this.updateAnalytics();\r\n });\r\n }\r\n}\r\n\r\n@Component\r\nclass AsyncView extends ViewBase {\r\n public mounted() {\r\n this.$on('updateView', () => {\r\n requestAnimationFrame(() => {\r\n this.updateHead();\r\n this.updateAnalytics();\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport {\r\n View,\r\n AsyncView\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form',{staticClass:\"form\",style:({'--field-bg': _vm.fieldBg})},[_c('Loader',{attrs:{\"loading\":_vm.loading}}),(_vm.hasAutosave)?_c('div',{staticClass:\"form__panel form__panel--autosaved\",on:{\"click\":_vm.loadAutosave}},[_c('p',[_vm._v(\" This form was autosaved at \"+_vm._s(_vm.autosaveDate)+\". Click here to load the autosave. \")])]):_vm._e(),(_vm.errored)?_c('div',{staticClass:\"form__panel form__panel--errored\"},[_c('p',[_vm._v(\" An error occurred. Please try again later. \")])]):_vm._e(),(_vm.definition)?[(_vm.submitted)?_c('div',{staticClass:\"form__panel form__panel--success\"},[_c('p',{domProps:{\"innerHTML\":_vm._s(_vm.definition.Options.SubmittedText)}})]):[_vm._l((_vm.definition.Sections),function(section){return _c('Section',{key:section.SectionId,ref:section.SectionId,refInFor:true,attrs:{\"def\":section,\"errors\":_vm.errors,\"form-context\":_vm.ctx,\"form-type\":_vm.type},on:{\"field_input\":_vm.handleFieldInput}})}),_c('div',{staticClass:\"center-text\"},[_c('Button',{staticClass:\"form__submit-btn\",class:_vm.submitButtonClass,attrs:{\"loading\":_vm.loading,\"colour\":_vm.submitButtonColour,\"background-colour\":_vm.submitButtonBackgroundColour},on:{\"click\":_vm.submitForm}},[_vm._v(_vm._s(_vm.definition.Options.SubmitButtonText))])],1)]]:_vm._e()],2)}\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\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\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { FormDefinition, FormSubmissionValidationError, FormField, FormValue } from 'client-website-ts-library/types/Forms';\nimport {\n AutosaveManager,\n ServiceManager,\n ServiceType,\n API,\n Config,\n Logger,\n LogLevel,\n ReCaptchaService,\n} from 'client-website-ts-library/services';\nimport { Context } from 'client-website-ts-library/types';\nimport { PDFFieldData } from 'client-website-ts-library/types/Forms/FieldTypes';\nimport { IRequestProgressDelegate } from 'client-website-ts-library/services/API/IRequestProgressDelegate';\n\nimport Section from './Section.vue';\nimport Loader from '../UI/Loader.vue';\n\n@Component({\n components: {\n Section,\n Loader,\n },\n})\nexport default class Form extends Vue implements IRequestProgressDelegate {\n @Prop({ default: () => ({ Items: [] }) })\n private readonly context!: Context;\n\n @Prop()\n private readonly type!: string;\n\n @Prop()\n private readonly submitButtonColour!: string;\n\n @Prop()\n private readonly submitButtonBackgroundColour!: string;\n\n @Prop()\n private readonly submitButtonClass!: string;\n\n @Prop()\n private readonly autosaveNamespace!: string;\n\n @Prop()\n private readonly enableAutosave!: boolean;\n\n @Prop({ default: 'var(--form-field-bg)' })\n private readonly fieldBg!: string;\n\n @Prop({ default: 'var(--form-field-colour)' })\n private readonly fieldColour!: string;\n\n @Prop({ default: 'var(--form-label-colour)' })\n private readonly labelColour!: string;\n\n @Prop({ default: 'var(--form-field-border-colour)' })\n private readonly borderColour!: string;\n\n @Prop({ default: 'var(--form-label-focused-bg)' })\n private readonly labelFocusedBg!: string;\n\n @Prop({ default: 'var(--form-label-focused-colour)' })\n private readonly labelFocusedColour!: string;\n\n private ctx: Context = this.context;\n\n private errored = false;\n\n private submitted = false;\n\n private errors: FormSubmissionValidationError[] = [];\n\n private loading = true;\n\n private definition: FormDefinition | null = null;\n\n private autosaveManager: AutosaveManager = ServiceManager.Require(ServiceType.FormAutosave);\n\n private hasAutosave = false;\n\n private autosaveDate: string | null = null;\n\n private submitPercent = 0;\n\n private recaptchaService = ServiceManager.Require(ServiceType.ReCaptcha) as ReCaptchaService;\n\n onProgress(progress: number, total: number) {\n this.submitPercent = Math.round((progress / total) * 100);\n\n console.log(this.submitPercent);\n }\n\n mounted() {\n if (this.ctx === null) {\n this.ctx = {\n Items: [],\n ClientWebsiteId: Config.Website.Id,\n };\n }\n\n if (this.ctx.ClientWebsiteId === undefined) {\n this.ctx.ClientWebsiteId = Config.Website.Id;\n }\n\n API.Forms.GetForm(this.type, this.context).then((def) => {\n this.loading = false;\n this.definition = def;\n\n if (this.enableAutosave) {\n const state = this.autosaveManager.GetState(this.type);\n\n if (state !== null) {\n this.hasAutosave = true;\n }\n }\n }).catch(() => {\n this.errored = true;\n });\n }\n\n loadAutosave(): void {\n if (!this.hasAutosave) return;\n\n const state = this.autosaveManager.GetState(this.type);\n\n if (state === null) return;\n\n this.definition!.Sections.forEach((section) => {\n const sectionComponent = (this.$refs[section.SectionId] as Vue[])[0] as Section;\n\n sectionComponent.setData(state);\n });\n }\n\n private handleFieldInput(fieldDef: FormField): void {\n this.errors = this.errors.filter((err) => err.Key !== fieldDef.Key);\n }\n\n submitForm(): void {\n if (this.loading) return;\n\n this.loading = true;\n\n this.errors = [];\n\n this.collectData(true).then((data) => {\n const normalisedData = Form.normaliseData(data);\n\n console.log(normalisedData);\n\n this.loading = false;\n\n // this.context.ClientWebsiteId = Config.Website.Id;\n\n // if (this.enableAutosave) this.autosaveManager.SetState(this.type, data);\n\n API.Forms.SubmitForm(this.type, this.context, normalisedData).then((result) => {\n this.loading = false;\n\n if (!result.Valid) {\n // Reset ReCaptcha\n this.resetRecaptcha();\n\n // Update errors\n this.errors = result.ValidationState.Errors;\n } else if (result.Submitted) {\n // Inform the user that the form was submitted\n this.submitted = true;\n\n this.$emit('submitted');\n }\n }).catch(() => {\n // Reset ReCaptcha\n this.resetRecaptcha();\n\n // Inform the user that there was an error\n this.errored = true;\n });\n });\n }\n\n private static normaliseData(data: FormValue[]): FormValue[] {\n const newValues: FormValue[] = [];\n\n data.forEach((entry) => {\n if (entry.Value instanceof Array) {\n if (entry.Value.length) {\n newValues.push({\n Key: `${entry.Key}_length`,\n Value: entry.Value.length,\n });\n\n for (let i = 0; i < entry.Value.length; i += 1) {\n newValues.push({\n Key: `${entry.Key}_${i}`,\n Value: entry.Value[i],\n });\n }\n }\n } else {\n newValues.push(entry);\n }\n });\n\n return newValues;\n }\n\n private collectData(includeRecaptcha: boolean): Promise {\n return new Promise((resolve, reject) => {\n const data: FormValue[] = [];\n\n // Loop through each form secction and collect the data from it\n this.definition!.Sections.forEach((section) => {\n const sectionComponent = (this.$refs[section.SectionId] as Vue[])[0] as Section;\n\n data.push(...sectionComponent.collectData());\n });\n\n // If we also need to submit the ReCaptcha response, make sure we call getResponse on the ReCaptcha component\n if (includeRecaptcha) {\n this.getRecaptchaResponse().then((recaptchaResponse: string) => {\n Logger.Log(LogLevel.Debug, '[Form]', 'Got ReCaptcha response');\n\n data.push({\n Key: '_recaptcha',\n Value: recaptchaResponse,\n });\n\n resolve(data);\n }).catch(reject);\n\n return;\n }\n\n // If we don't need ReCaptcha, resolve straight away\n resolve(data);\n });\n }\n\n private resetRecaptcha(): void {\n this.recaptchaService.Reset();\n }\n\n private getRecaptchaResponse(): Promise {\n return this.recaptchaService.GetResponse();\n }\n}\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!./Form.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!./Form.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Form.vue?vue&type=template&id=726d98f2&scoped=true&\"\nimport script from \"./Form.vue?vue&type=script&lang=ts&\"\nexport * from \"./Form.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Form.vue?vue&type=style&index=0&id=726d98f2&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 \"726d98f2\",\n null\n \n)\n\nexport default component.exports","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--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!./HomeLoanCalculator.vue?vue&type=style&index=0&id=4f924d6e&scoped=true&lang=css&\"","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=24c9052d&scoped=true&lang=css&\""],"sourceRoot":""}