{"version":3,"sources":["webpack:///./src/components/Testimonials/TestimonialCards.vue?2b72","webpack:///./src/components/Testimonials/TestimonialCards.vue","webpack:///./src/components/Testimonials/TestimonialCards.vue?cbe7","webpack:///./src/components/Testimonials/TestimonialCards.vue?8702","webpack:///./src/components/Testimonials/TestimonialCard.vue?bfdf","webpack:///./node_modules/client-website-ts-library/types/Forms/FormField.ts","webpack:///./node_modules/client-website-ts-library/types/Forms/FormConstructorData.ts","webpack:///./node_modules/client-website-ts-library/types/Forms/FormValue.ts","webpack:///./src/components/RateMyAgent.vue?c826","webpack:///./src/views/AgentProfile.vue?f314","webpack:///./src/components/Testimonials/TestimonialCycler.vue?05f2","webpack:///./src/components/Testimonials/TestimonialCycler.vue","webpack:///./src/components/Testimonials/TestimonialCycler.vue?45ab","webpack:///./src/components/Testimonials/TestimonialCycler.vue?86b1","webpack:///./src/components/RateMyAgent.vue?4702","webpack:///./src/components/RateMyAgent.vue","webpack:///./src/components/RateMyAgent.vue?789b","webpack:///./src/components/RateMyAgent.vue?35ba","webpack:///./src/views/AgentProfile.vue","webpack:///./src/views/AgentProfile.vue?b8fd","webpack:///./src/views/AgentProfile.vue?dc75","webpack:///./src/components/Testimonials/TestimonialCards.vue?9089","webpack:///./src/components/Testimonials/TestimonialCycler.vue?e3d5","webpack:///./src/components/Testimonials/TestimonialCard.vue?3f12","webpack:///./src/components/Testimonials/TestimonialCard.vue","webpack:///./src/components/Testimonials/TestimonialCard.vue?2db9","webpack:///./src/components/Testimonials/TestimonialCard.vue?c3dc","webpack:///./src/views/AgentProfile.vue?99b9"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_l","testimonials","slice","testimonial","key","Id","attrs","staticRenderFns","updateTestimonials","Testimonials","Search","filter","then","$emit","length","deep","components","TestimonialCard","component","FormFieldType","items","ClientWebsiteId","Config","Website","Items","value","Key","Value","profile","FullName","Position","PROLISTPhoto","_e","MobilePhone","_v","_s","OfficePhone","Email","formData","AboutAgent","FirstName","RateMyAgentUrl","charAt","toLowerCase","testimonialFilter","on","$event","hasTestimonials","currentListingFilter","hasCurrentListings","staticStyle","Slug","hasSoldListings","soldListingFilter","breakpoints","breakpoint","settings","slidesToShow","Cycler","CyclerItem","TestimonialCards","rateMyAgentId","scr","document","getElementById","remove","setTimeout","createElement","src","async","defer","id","onload","body","append","default","$route","params","updateAgent","Slugs","Resolve","resolved","Type","html","el","innerHTML","innerText","about","stripHtml","substring","title","description","image","Photo","Preview","Url","undefined","Profiles","Get","Context","EnquiryTargetProfile","SearchLevel","Profile","SearchGuid","Statuses","Current","UnderContract","OrderByStatements","CreateDateDesc","PageSize","Sold","LastUpdatedDateDesc","resolveId","Analytics","FromProfile","Masthead","Listings","TestimonialCycler","Loader","RateMyAgent","Form","Image","Thumbs","cleanedContent","showTestimonial","ClientName","Address","Suburb","formattedAddress","hideTestimonial","popupActive","cleanContent","parts","push","join","Description"],"mappings":"kHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,QAAQ,CAACE,YAAY,qBAAqBN,EAAIO,GAAIP,EAAIQ,aAAaC,MAAM,EAAG,IAAI,SAASC,GAAa,OAAON,EAAG,kBAAkB,CAACO,IAAID,EAAYE,GAAGC,MAAM,CAAC,YAAcH,QAAiB,IAC3RI,EAAkB,G,sHCiBD,EAArB,yG,0BACU,EAAAN,aAA8B,GADxC,gDAME,WACEP,KAAKc,uBAPT,gCAWE,WAAkB,WAChB,OAAIC,aAAaC,OAAOhB,KAAKiB,QAAQ,GAAMC,MAAK,SAACX,GAC/C,EAAKA,aAAeA,EAEpB,EAAKY,MAAM,wBAAyBZ,EAAaa,QAEjD,EAAKD,MAAM,mBAAoBZ,UAjBrC,GAA8C,QAI5C,yBADC,kB,6BAQD,yBADC,eAAM,SAAU,CAAEc,MAAM,K,iCASxB,MAnBkB,EAAgB,yBALpC,eAAU,CACTC,WAAY,CACVC,kBAAA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,KAAO,mBAAmB,GAAGT,EAAG,MAAM,CAACE,YAAY,8BAA8B,CAACN,EAAIyC,GAAG,IAAIzC,EAAI0C,GAAG1C,EAAIkI,gBAAgB,OAAO9H,EAAG,MAAM,CAACE,YAAY,4BAA4B,CAACF,EAAG,KAAK,CAACE,YAAY,yBAAyB,CAACN,EAAIyC,GAAGzC,EAAI0C,GAAG1C,EAAIU,YAAY0H,eAAgBpI,EAAIU,YAAY2H,SAAWrI,EAAIU,YAAY4H,OAAQlI,EAAG,KAAK,CAACE,YAAY,wBAAwB,CAACN,EAAIyC,GAAG,IAAIzC,EAAI0C,GAAG1C,EAAIuI,kBAAkB,OAAOvI,EAAIuC,cAAcvC,EAAIuC,MAAM,IAC35DzB,EAAkB,G,oFCgDD,EAArB,yG,0BAIU,EAAAoH,eAAiB,GAwBzB,EAAAO,aAAc,EA5BhB,gDAME,WACExI,KAAKyI,iBAPT,4BAUE,WACE,IAAMC,EAAQ,GAKd,OAHI1I,KAAKS,YAAY2H,SAASM,EAAMC,KAAK3I,KAAKS,YAAY2H,SACtDpI,KAAKS,YAAY4H,QAAQK,EAAMC,KAAK3I,KAAKS,YAAY4H,QAElDK,EAAME,KAAK,QAhBtB,0BAoBE,WACE,IAAMlD,EAAKrB,SAASI,cAAc,OAElCiB,EAAGC,UAAY3F,KAAKS,YAAYoI,YAEhC7I,KAAKiI,eAAiBvC,EAAGE,YAzB7B,6BA8BE,WACE5F,KAAKwI,aAAc,IA/BvB,6BAkCE,WACExI,KAAKwI,aAAc,MAnCvB,GAA6C,QAE3C,yBADC,kB,kCAmBD,yBADC,eAAM,gB,2BAON,MA1BkB,EAAe,yBADnC,QACoB,WCjDuY,I,wBCQxZhH,EAAY,eACd,EACA1B,EACAe,GACA,EACA,KACA,WACA,MAIa,OAAAW,E,kECnBf,W","file":"js/chunk-7edb207c.a7718856.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Cards',{staticClass:\"testimonial-cards\"},_vm._l((_vm.testimonials.slice(0, 3)),function(testimonial){return _c('TestimonialCard',{key:testimonial.Id,attrs:{\"testimonial\":testimonial}})}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\r\nimport { TestimonialFilter } from 'client-website-ts-library/filters';\r\nimport { API } from 'client-website-ts-library/services';\r\nimport { Testimonial } from 'client-website-ts-library/types';\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport TestimonialCard from './TestimonialCard.vue';\r\n\r\n@Component({\r\n components: {\r\n TestimonialCard,\r\n },\r\n})\r\nexport default class TestimonialCards extends Vue {\r\n private testimonials: Testimonial[] = [];\r\n\r\n @Prop()\r\n private readonly filter!: TestimonialFilter;\r\n\r\n mounted() {\r\n this.updateTestimonials();\r\n }\r\n\r\n @Watch('filter', { deep: true })\r\n updateTestimonials() {\r\n API.Testimonials.Search(this.filter, true).then((testimonials) => {\r\n this.testimonials = testimonials;\r\n\r\n this.$emit('got_testimonial_count', testimonials.length);\r\n\r\n this.$emit('got_testimonials', testimonials);\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!./TestimonialCards.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!./TestimonialCards.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TestimonialCards.vue?vue&type=template&id=42fe881a&scoped=true&\"\nimport script from \"./TestimonialCards.vue?vue&type=script&lang=ts&\"\nexport * from \"./TestimonialCards.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TestimonialCards.vue?vue&type=style&index=0&id=42fe881a&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 \"42fe881a\",\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!./TestimonialCard.vue?vue&type=style&index=0&id=50bf157a&scoped=true&lang=css&\"","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 { 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 { 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!./RateMyAgent.vue?vue&type=style&index=0&id=0832a73c&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Page',{staticClass:\"page--agent-profile\"},[(_vm.profile)?[_c('SiteMasthead',{attrs:{\"mini\":\"true\",\"title\":_vm.profile.FullName,\"subtitle\":_vm.profile.Position}}),_c('Masthead',{staticClass:\"agent-profile__masthead\",attrs:{\"image\":\"\",\"relative-content\":true,\"darken\":true}},[_c('ContentContainer',{staticClass:\"agent-profile__header-wrap\"},[_c('div',{staticClass:\"agent-profile__header\"},[(_vm.profile.PROLISTPhoto)?_c('div',{staticClass:\"agent-profile__header__image\"},[_c('LazyImage',{staticClass:\"agent-profile__img\",attrs:{\"image\":_vm.profile.PROLISTPhoto,\"thumb-width\":100,\"preview-width\":375}})],1):_vm._e(),_c('div',{staticClass:\"agent-profile__header__details\"},[_c('ul',{staticClass:\"agent-profile__contact\"},[(_vm.profile.MobilePhone)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":'tel:' + _vm.profile.MobilePhone}},[_c('span',{staticClass:\"contact-method__label\"},[_vm._v(\"M.\")]),_vm._v(\" \"+_vm._s(_vm.profile.MobilePhone)+\" \")])]):_vm._e(),(_vm.profile.OfficePhone)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":'tel:' + _vm.profile.OfficePhone}},[_c('span',{staticClass:\"contact-method__label\"},[_vm._v(\"P.\")]),_vm._v(\" \"+_vm._s(_vm.profile.OfficePhone)+\" \")])]):_vm._e(),(_vm.profile.Email)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":'mailto:' + _vm.profile.Email}},[_c('span',{staticClass:\"contact-method__label\"},[_vm._v(\"E.\")]),_vm._v(\" \"+_vm._s(_vm.profile.Email)+\" \")])]):_vm._e(),(_vm.formData)?_c('li',[_c('Form',{attrs:{\"context\":_vm.formData,\"type\":\"Generic.WebsiteContactForm\"}})],1):_vm._e()])])])])],1),(_vm.profile.AboutAgent.length > 0)?_c('ContentRow',[_c('ContentContainer',[_c('SectionTitle',[_vm._v(\"| About \"+_vm._s(_vm.profile.FirstName)+\" |\")]),_c('RichText',{attrs:{\"content\":_vm.profile.AboutAgent}})],1)],1):_vm._e(),(_vm.profile.RateMyAgentUrl)?_c('ContentRow',[_c('ContentContainer',[(_vm.profile.RateMyAgentUrl !== '')?_c('div',[_c('RateMyAgent',{attrs:{\"rateMyAgentId\":_vm.profile.RateMyAgentUrl}})],1):_vm._e()])],1):_vm._e(),(_vm.hasTestimonials)?_c('ContentRow',[_c('ContentContainer',[_c('SectionTitle',[_vm._v(\"| \"+_vm._s(_vm.profile.FirstName)+_vm._s(_vm.profile.FirstName.charAt(_vm.profile.FirstName.length - 1).toLowerCase() === 's' ? \"'\" : \"'s\")+\" Testimonials |\")]),_c('TestimonialCycler',{attrs:{\"filter\":_vm.testimonialFilter},on:{\"got_testimonial_count\":function($event){_vm.hasTestimonials = $event > 0}}})],1)],1):_vm._e(),(_vm.hasCurrentListings)?_c('ContentRow',[_c('ContentContainer',[_c('SectionTitle',[_vm._v(\"| \"+_vm._s(_vm.profile.FirstName)+_vm._s(_vm.profile.FirstName.charAt(_vm.profile.FirstName.length - 1).toLowerCase() === 's' ? \"'\" : \"'s\")+\" Listings |\")]),_c('Deferrable',{attrs:{\"delay\":\"50\"}},[_c('div',[_c('Listings',{attrs:{\"fullWidth\":false,\"filter\":_vm.currentListingFilter,\"infinite-scroll\":false,\"allowLoadMore\":false},on:{\"got_listing_count\":function($event){_vm.hasCurrentListings = $event > 0}}}),_c('div',{staticClass:\"center-text\",staticStyle:{\"margin-top\":\"var(--gutter)\"}},[_c('LinkButton',{attrs:{\"href\":'/profiles/' + _vm.profile.Slug + '/properties'}},[_vm._v(\"View More\")])],1)],1)])],1)],1):_vm._e(),(_vm.hasSoldListings && _vm.profile.Id !== '345c5574-905f-4f8f-bcf7-0fb2d68aa050' && _vm.profile.Id !== '66678493-82da-4dd4-8931-049280c021cc')?_c('ContentRow',[_c('ContentContainer',[_c('SectionTitle',[_vm._v(\"| \"+_vm._s(_vm.profile.FirstName)+_vm._s(_vm.profile.FirstName.charAt(_vm.profile.FirstName.length - 1).toLowerCase() === 's' ? \"'\" : \"'s\")+\" Recently Sold Listings |\")]),_c('Deferrable',{attrs:{\"delay\":\"50\"}},[_c('div',[_c('Listings',{attrs:{\"fullWidth\":false,\"filter\":_vm.soldListingFilter,\"infinite-scroll\":false,\"allowLoadMore\":false},on:{\"got_listing_count\":function($event){_vm.hasSoldListings = $event > 0}}}),_c('div',{staticClass:\"center-text\",staticStyle:{\"margin-top\":\"var(--gutter)\"}},[_c('LinkButton',{attrs:{\"href\":'/profiles/' + _vm.profile.Slug + '/properties/sold'}},[_vm._v(\"View More\")])],1)],1)])],1)],1):_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 (_vm.testimonials.length)?_c('div',[(_vm.testimonials.length > 3)?_c('div',{staticClass:\"testimonial-cycler\"},[_c('Deferrable',{attrs:{\"delay\":\"50\"}},[_c('Cycler',{attrs:{\"autoAdvance\":true,\"autoAdvanceInterval\":5000,\"items\":\"3\",\"center\":true,\"loop\":true,\"hideNav\":true,\"responsive\":_vm.breakpoints}},_vm._l((_vm.testimonials),function(testimonial){return _c('CyclerItem',{key:testimonial.Id,staticClass:\"testimonial-cycler__item\"},[_c('TestimonialCard',{staticClass:\"testimonial-cycler__card\",attrs:{\"testimonial\":testimonial}})],1)}),1)],1)],1):_c('div',{staticClass:\"testimonial-cards\"},[_c('TestimonialCards',{attrs:{\"filter\":_vm.filter}})],1)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Component, Prop, Watch } from 'vue-property-decorator';\r\n\r\nimport { Testimonial } from 'client-website-ts-library/types';\r\nimport { TestimonialFilter } from 'client-website-ts-library/filters';\r\nimport { API } from 'client-website-ts-library/services';\r\n\r\nimport { CarouselBreakpoint } from '@/app_code/CarouselBreakpoint';\r\n\r\nimport Cycler from '../Cycler/Cycler.vue';\r\nimport CyclerItem from '../Cycler/CyclerItem.vue';\r\nimport TestimonialCard from './TestimonialCard.vue';\r\nimport TestimonialCards from './TestimonialCards.vue';\r\n\r\n@Component({\r\n components: {\r\n Cycler,\r\n CyclerItem,\r\n TestimonialCard,\r\n TestimonialCards,\r\n },\r\n})\r\nexport default class TestimonialCycler extends Vue {\r\n private testimonials: Testimonial[] = [];\r\n\r\n private breakpoints: 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 breakpoint: 1120,\r\n settings: {\r\n slidesToShow: 3,\r\n },\r\n },\r\n ];\r\n\r\n @Prop()\r\n private readonly filter!: TestimonialFilter;\r\n\r\n mounted() {\r\n this.updateTestimonials();\r\n }\r\n\r\n @Watch('filter', { deep: true })\r\n updateTestimonials() {\r\n API.Testimonials.Search(this.filter, true).then((testimonials) => {\r\n this.testimonials = testimonials;\r\n\r\n this.$emit('got_testimonial_count', testimonials.length);\r\n\r\n this.$emit('got_testimonials', testimonials);\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!./TestimonialCycler.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!./TestimonialCycler.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TestimonialCycler.vue?vue&type=template&id=027e1250&scoped=true&\"\nimport script from \"./TestimonialCycler.vue?vue&type=script&lang=ts&\"\nexport * from \"./TestimonialCycler.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TestimonialCycler.vue?vue&type=style&index=0&id=027e1250&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 \"027e1250\",\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('iframe',{attrs:{\"src\":'https://widgets.ratemyagent.com/au/Widget/AgentReviews/' + _vm.rateMyAgentId + '?limit=10&isLegacy=false'}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class RateMyAgent extends Vue {\r\n @Prop({ default: '' })\r\n public readonly rateMyAgentId!: string;\r\n\r\n mounted() {\r\n let scr: HTMLScriptElement | null = document.getElementById('scrRateMyAgentIngegration') as HTMLScriptElement | null;\r\n if (scr) scr.remove();\r\n\r\n setTimeout(() => {\r\n scr = document.createElement('script');\r\n scr.src = 'https://widgets.ratemyagent.com/original/bundle.js';\r\n scr.async = true;\r\n scr.defer = true;\r\n scr.id = 'scrRateMyAgentIngegration';\r\n\r\n scr.onload = () => {\r\n // ignored\r\n };\r\n\r\n document.body.append(scr);\r\n }, 500);\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!./RateMyAgent.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!./RateMyAgent.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RateMyAgent.vue?vue&type=template&id=0832a73c&scoped=true&\"\nimport script from \"./RateMyAgent.vue?vue&type=script&lang=ts&\"\nexport * from \"./RateMyAgent.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RateMyAgent.vue?vue&type=style&index=0&id=0832a73c&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 \"0832a73c\",\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\r\nimport { Component, Mixins } from 'vue-property-decorator';\r\nimport { Profile, ListingStatus, WebsiteLevel, WebsiteProfileDisplayType } from 'client-website-ts-library/types';\r\nimport { API } from 'client-website-ts-library/services';\r\nimport { ListingFilter, ListingOrderBy, TestimonialFilter, TestimonialOrderBy } from 'client-website-ts-library/filters';\r\nimport { AsyncView, RouteMeta } from 'client-website-ts-library/plugins';\r\n\r\nimport Masthead from '@/components/Common/Masthead.vue';\r\nimport Listings from '@/components/Listings.vue';\r\nimport TestimonialCycler from '@/components/Testimonials/TestimonialCycler.vue';\r\nimport Loader from '@/components/UI/Loader.vue';\r\n\r\nimport { AnalyticsEventObject } from 'client-website-ts-library/services/Analytics';\r\nimport RateMyAgent from '@/components/RateMyAgent.vue';\r\nimport Form from '@/components/Forms/Form.vue';\r\nimport { FormConstructorData } from 'client-website-ts-library/types/Forms';\r\nimport { ContextItemType } from 'client-website-ts-library/types/Context';\r\n\r\n@Component({\r\n components: {\r\n Masthead,\r\n Listings,\r\n TestimonialCycler,\r\n Loader,\r\n RateMyAgent,\r\n Form,\r\n },\r\n})\r\nexport default class AgentProfile extends Mixins(AsyncView) {\r\n private profile: Profile | null = null;\r\n\r\n private currentListingFilter: ListingFilter | null = null;\r\n\r\n private soldListingFilter: ListingFilter | null = null;\r\n\r\n private testimonialFilter: TestimonialFilter | null = null;\r\n\r\n private hasSoldListings = true;\r\n\r\n private hasCurrentListings = true;\r\n\r\n private hasTestimonials = true;\r\n\r\n private formData: FormConstructorData | null = null;\r\n\r\n resolveId() {\r\n const { id } = this.$route.params;\r\n\r\n if (id.length === 36) {\r\n // If the ID is 36 long we'll treat it as a guid\r\n\r\n this.updateAgent(id);\r\n } else {\r\n API.Slugs.Resolve(id).then((resolved) => {\r\n if (resolved.Type === 'Profile') {\r\n this.updateAgent(resolved.Id);\r\n }\r\n });\r\n }\r\n }\r\n\r\n stripHtml(html: string): string {\r\n const el = document.createElement('div');\r\n\r\n el.innerHTML = html;\r\n\r\n return el.innerText;\r\n }\r\n\r\n head(): RouteMeta | null {\r\n if (this.profile === null) return null;\r\n\r\n let about = this.stripHtml(this.profile.AboutAgent);\r\n\r\n if (about.length > 156) {\r\n about = `${about.substring(0, 156)}...`;\r\n }\r\n\r\n return {\r\n title: `${this.profile.FullName} - ${this.profile.Position}`,\r\n description: about,\r\n image: this.profile.Photo ? this.profile.Photo.Preview.Url : undefined,\r\n };\r\n }\r\n\r\n updateAgent(id: string) {\r\n API.Profiles.Get(id).then((profile) => {\r\n this.profile = profile;\r\n\r\n this.formData = new FormConstructorData([\r\n {\r\n Type: ContextItemType.EnquiryTargetProfile,\r\n Id: this.profile!.Id,\r\n },\r\n ]);\r\n\r\n this.$emit('updateView');\r\n\r\n this.currentListingFilter = new ListingFilter({\r\n SearchLevel: WebsiteLevel.Profile,\r\n SearchGuid: this.profile!.Id,\r\n Statuses: [ListingStatus.Current, ListingStatus.UnderContract],\r\n OrderByStatements: [ListingOrderBy.CreateDateDesc],\r\n PageSize: 6,\r\n });\r\n\r\n this.soldListingFilter = new ListingFilter({\r\n SearchLevel: WebsiteLevel.Profile,\r\n SearchGuid: this.profile!.Id,\r\n Statuses: [ListingStatus.Sold],\r\n OrderByStatements: [ListingOrderBy.LastUpdatedDateDesc],\r\n PageSize: 6,\r\n });\r\n\r\n this.testimonialFilter = new TestimonialFilter({\r\n SearchLevel: WebsiteLevel.Profile,\r\n SearchGuid: this.profile!.Id,\r\n OrderByStatements: [TestimonialOrderBy.CreateDateDesc],\r\n });\r\n });\r\n }\r\n\r\n mounted() {\r\n this.resolveId();\r\n }\r\n\r\n getAnalyticsData(): AnalyticsEventObject | null {\r\n if (this.profile === null) return null;\r\n\r\n return AnalyticsEventObject.FromProfile(this.profile);\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!./AgentProfile.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!./AgentProfile.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AgentProfile.vue?vue&type=template&id=65350966&scoped=true&\"\nimport script from \"./AgentProfile.vue?vue&type=script&lang=ts&\"\nexport * from \"./AgentProfile.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AgentProfile.vue?vue&type=style&index=0&id=65350966&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 \"65350966\",\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!./TestimonialCards.vue?vue&type=style&index=0&id=42fe881a&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!./TestimonialCycler.vue?vue&type=style&index=0&id=027e1250&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card card--testimonial\"},[_c('div',{staticClass:\"testimonial__agent\"},[(_vm.testimonial.Image)?_c('img',{staticClass:\"testimonial__agent__image\",attrs:{\"src\":_vm.testimonial.Image.Preview.Url}}):(_vm.testimonial.Profile.Photo)?_c('img',{staticClass:\"testimonial__agent__image\",attrs:{\"src\":_vm.testimonial.Profile.Photo.Thumbs.Url}}):_vm._e()]),_c('div',{staticClass:\"testimonial__content\"},[_vm._v(\" \"+_vm._s(_vm.cleanedContent)+\" \")]),(_vm.cleanedContent.length > 110)?_c('button',{staticClass:\"testimonial__read-more\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.showTestimonial()}}},[_vm._v(\"Read More\")]):_c('div',{staticStyle:{\"flex-grow\":\"1\"}}),_c('div',{staticClass:\"testimonial__attribution\"},[_c('h5',{staticClass:\"testimonial__customer\"},[_vm._v(_vm._s(_vm.testimonial.ClientName))]),(_vm.testimonial.Address || _vm.testimonial.Suburb)?_c('h6',{staticClass:\"testimonial__address\"},[_vm._v(\" \"+_vm._s(_vm.formattedAddress)+\" \")]):_vm._e()]),(_vm.popupActive)?[_c('portal',{attrs:{\"to\":\"overlays\"}},[_c('div',{staticClass:\"testimonial-popup-wrap\"},[_c('div',{staticClass:\"testimonial-popup-abyss\",on:{\"click\":function($event){return _vm.hideTestimonial()}}}),_c('div',{staticClass:\"testtimonial-popup__window\"},[_c('button',{staticClass:\"testimonial-close\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.hideTestimonial()}}},[_c('Icon',{attrs:{\"icon\":\"close-button\"}})],1),_c('div',{staticClass:\"testimonial-popup__content\"},[_vm._v(\" \"+_vm._s(_vm.cleanedContent)+\" \")]),_c('div',{staticClass:\"testimonial__attribution\"},[_c('h5',{staticClass:\"testimonial__customer\"},[_vm._v(_vm._s(_vm.testimonial.ClientName))]),(_vm.testimonial.Address || _vm.testimonial.Suburb)?_c('h6',{staticClass:\"testimonial__address\"},[_vm._v(\" \"+_vm._s(_vm.formattedAddress)+\" \")]):_vm._e()])])])])]:_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\r\nimport { Testimonial } from 'client-website-ts-library/types';\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class TestimonialCard extends Vue {\r\n @Prop()\r\n private readonly testimonial!: Testimonial;\r\n\r\n private cleanedContent = '';\r\n\r\n mounted() {\r\n this.cleanContent();\r\n }\r\n\r\n get formattedAddress(): string {\r\n const parts = [];\r\n\r\n if (this.testimonial.Address) parts.push(this.testimonial.Address);\r\n if (this.testimonial.Suburb) parts.push(this.testimonial.Suburb);\r\n\r\n return parts.join(', ');\r\n }\r\n\r\n @Watch('testimonial')\r\n cleanContent(): void {\r\n const el = document.createElement('div');\r\n\r\n el.innerHTML = this.testimonial.Description;\r\n\r\n this.cleanedContent = el.innerText;\r\n }\r\n\r\n popupActive = false;\r\n\r\n showTestimonial(): void {\r\n this.popupActive = true;\r\n }\r\n\r\n hideTestimonial(): void {\r\n this.popupActive = false;\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!./TestimonialCard.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!./TestimonialCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TestimonialCard.vue?vue&type=template&id=50bf157a&scoped=true&\"\nimport script from \"./TestimonialCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./TestimonialCard.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TestimonialCard.vue?vue&type=style&index=0&id=50bf157a&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 \"50bf157a\",\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!./AgentProfile.vue?vue&type=style&index=0&id=65350966&scoped=true&lang=css&\""],"sourceRoot":""}