{"version":3,"sources":["webpack:///./src/components/Testimonials/TestimonialItem.vue?d352","webpack:///./src/components/Testimonials/TestimonialList.vue?10f1","webpack:///./src/components/Testimonials/TestimonialItem.vue?3763","webpack:///./src/components/Testimonials/TestimonialItem.vue","webpack:///./src/components/Testimonials/TestimonialItem.vue?3f95","webpack:///./src/components/Testimonials/TestimonialItem.vue?5da5","webpack:///./src/components/Testimonials/TestimonialList.vue","webpack:///./src/components/Testimonials/TestimonialList.vue?aba9","webpack:///./src/components/Testimonials/TestimonialList.vue?bc13","webpack:///./src/components/Testimonials/TestimonialList.vue?560a","webpack:///./src/components/Listings.vue?eaba","webpack:///./src/views/AgentProfile.vue?c6ad","webpack:///./src/views/AgentProfile.vue","webpack:///./src/views/AgentProfile.vue?b8fd","webpack:///./src/views/AgentProfile.vue?dc75","webpack:///./src/components/Listings.vue?8858","webpack:///./src/components/Listings.vue","webpack:///./src/components/Listings.vue?5b1e","webpack:///./src/components/Listings.vue?c557","webpack:///./src/views/AgentProfile.vue?d875"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_l","testimonial","key","Id","_e","staticRenderFns","Description","_v","_s","ClientName","Suburb","component","testimonials","loading","Testimonials","Search","filter","then","$emit","length","required","components","TestimonialItem","profile","FullName","Position","MobilePhone","OfficePhone","Email","PROLISTPhoto","Preview","Url","AboutAgent","FirstName","charAt","toLowerCase","currentListingFilter","on","$event","hasCurrentListings","staticStyle","soldListingFilter","hasSoldListings","testimonialFilter","hasTestimonials","id","$route","params","updateAgent","Slugs","Resolve","resolved","Type","html","el","document","createElement","innerHTML","innerText","about","stripHtml","substring","title","description","image","Photo","undefined","Profiles","Get","SearchLevel","Profile","SearchGuid","Statuses","Current","UnderContract","OrderByStatements","CreateDateDesc","PageSize","Sold","Leased","LastUpdatedDateDesc","resolveId","Analytics","FromProfile","Masthead","Listings","TestimonialList","Loader","listings","listing","noListingsText","infiniteScroll","more","directives","name","rawName","value","callback","loadMore","throttle","threshold","expression","errored","filterUpdateDebounce","Promise","resolve","reject","data","Pages","Page","push","Items","Count","catch","load","update","clearTimeout","window","setTimeout","default","ListingCard"],"mappings":"2IAAA,W,oCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAAEN,EAAW,QAAEI,EAAG,SAAS,CAACG,MAAM,CAAC,QAAU,UAAWP,EAAgB,aAAE,CAACI,EAAG,MAAM,CAACE,YAAY,QAAQN,EAAIQ,GAAIR,EAAgB,cAAE,SAASS,GAAa,OAAOL,EAAG,kBAAkB,CAACM,IAAID,EAAYE,GAAGJ,MAAM,CAAC,YAAcE,QAAiB,IAAIT,EAAIY,MAAM,IACnYC,EAAkB,G,8HCDlB,EAAS,WAAa,IAAIb,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACE,YAAY,eAAe,CAACF,EAAG,aAAa,CAACA,EAAG,WAAW,CAACE,YAAY,uBAAuBC,MAAM,CAAC,QAAUP,EAAIS,YAAYK,gBAAgB,GAAGV,EAAG,MAAM,CAACE,YAAY,uBAAuB,CAACN,EAAIe,GAAGf,EAAIgB,GAAGhB,EAAIS,YAAYQ,YAAYjB,EAAIgB,GAAGhB,EAAIS,YAAYS,OAAU,KAAQlB,EAAIS,YAAkB,OAAK,UACzZ,EAAkB,G,4XCaD,EAArB,qJAA6C,QAE3C,GADC,kB,kCADkB,EAAe,GADnC,QACoB,WCduY,I,wBCQxZU,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,WACA,MAIa,EAAAA,E,oYCKM,EAArB,yG,0BAIU,EAAAC,aAAqC,KAErC,EAAAC,SAAU,EANpB,gDAQE,WAAO,WACL,OAAIC,aAAaC,OAAOtB,KAAKuB,QAAQC,MAAK,SAACL,GACzC,EAAKA,aAAeA,EACpB,EAAKC,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KAAK8G,qBAAuBc,OAAOC,YAAW,WAC5C,EAAKzG,SAAU,EAEf,EAAKsG,WACJ,SA1EP,GAAsC,QAEpC,yBADC,kB,6BAID,yBADC,eAAK,CAAEI,SAAS,K,qCAIjB,yBADC,eAAK,CAAEA,QAAS,wB,qCAyDjB,yBAFC,eAAM,kBACN,eAAM,oB,wCAYN,MA3EkB,EAAQ,yBAT5B,eAAU,CACTlG,WAAY,CACVmG,cAAA,KACAjC,SAAA,MAEFM,WAAY,CACV,qBAAsB,WAGL,WClC8W,I,wBCQ/XlF,EAAY,eACd,EACApB,EACAc,GACA,EACA,KACA,WACA,MAIa,OAAAM,E,2CCnBf,W","file":"js/chunk-e430af94.352a5f47.js","sourcesContent":["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!./TestimonialItem.vue?vue&type=style&index=0&id=3204a09e&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"testimonial-list\"},[(_vm.loading)?_c('Loader',{attrs:{\"loading\":\"true\"}}):(_vm.testimonials)?[_c('div',{staticClass:\"grid\"},_vm._l((_vm.testimonials),function(testimonial){return _c('TestimonialItem',{key:testimonial.Id,attrs:{\"testimonial\":testimonial}})}),1)]:_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('article',{staticClass:\"testimonial\"},[_c('blockquote',[_c('RichText',{staticClass:\"testimonial__content\",attrs:{\"content\":_vm.testimonial.Description}})],1),_c('div',{staticClass:\"testimonial__author\"},[_vm._v(_vm._s(_vm.testimonial.ClientName)+_vm._s(_vm.testimonial.Suburb ? (\", \" + (_vm.testimonial.Suburb)) : ''))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { Testimonial } from 'client-website-ts-library/types';\n\n@Component\nexport default class TestimonialItem extends Vue {\n @Prop()\n private readonly testimonial!: Testimonial;\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!./TestimonialItem.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!./TestimonialItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TestimonialItem.vue?vue&type=template&id=3204a09e&scoped=true&\"\nimport script from \"./TestimonialItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./TestimonialItem.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TestimonialItem.vue?vue&type=style&index=0&id=3204a09e&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 \"3204a09e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { TestimonialFilter } from 'client-website-ts-library/filters';\nimport { Testimonial } from 'client-website-ts-library/types';\nimport { API } from 'client-website-ts-library/services';\n\nimport TestimonialItem from './TestimonialItem.vue';\n\n@Component({\n components: {\n TestimonialItem,\n },\n})\nexport default class TestimonialList extends Vue {\n @Prop({ required: true })\n private readonly filter!: TestimonialFilter;\n\n private testimonials: Testimonial[] | null = null;\n\n private loading = true;\n\n mounted() {\n API.Testimonials.Search(this.filter).then((testimonials) => {\n this.testimonials = testimonials;\n this.loading = false;\n\n this.$emit('got_testimonial_count', testimonials.length);\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!./TestimonialList.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!./TestimonialList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TestimonialList.vue?vue&type=template&id=0a7a1c34&scoped=true&\"\nimport script from \"./TestimonialList.vue?vue&type=script&lang=ts&\"\nexport * from \"./TestimonialList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TestimonialList.vue?vue&type=style&index=0&id=0a7a1c34&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 \"0a7a1c34\",\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!./TestimonialList.vue?vue&type=style&index=0&id=0a7a1c34&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!./Listings.vue?vue&type=style&index=0&id=dae1b5c4&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('Masthead',{staticClass:\"agent-profile__masthead\",attrs:{\"image\":\"/assets/images/photos/profile-bg.jpg\",\"relative-content\":true,\"darken\":true}},[_c('ContentContainer',{staticClass:\"agent-profile__header-wrap\"},[_c('div',{staticClass:\"agent-profile__header\"},[_c('div',{staticClass:\"agent-profile__header__details\"},[_c('h1',{staticClass:\"agent-profile__page-title\"},[_vm._v(\"About\")]),_c('h1',{staticClass:\"agent-profile__name\"},[_vm._v(_vm._s(_vm.profile.FullName))]),_c('h2',{staticClass:\"agent-profile__position\"},[_vm._v(_vm._s(_vm.profile.Position))]),_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.profile.PROLISTPhoto)?_c('div',{staticClass:\"agent-profile__header__image\"},[_c('img',{staticClass:\"agent-profile__img\",attrs:{\"src\":_vm.profile.PROLISTPhoto.Preview.Url}})]):_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.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:{\"filter\":_vm.currentListingFilter,\"infinite-scroll\":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.Id + '/properties'}},[_vm._v(\"View More\")])],1)],1)])],1)],1):_vm._e(),(_vm.hasSoldListings)?_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 & Leased Listings\")]),_c('Deferrable',{attrs:{\"delay\":\"50\"}},[_c('div',[_c('Listings',{attrs:{\"filter\":_vm.soldListingFilter,\"infinite-scroll\":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.Id + '/properties/sold'}},[_vm._v(\"View More\")])],1)],1)])],1)],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('Deferrable',{attrs:{\"delay\":\"50\"}},[_c('TestimonialList',{attrs:{\"filter\":_vm.testimonialFilter},on:{\"got_testimonial_count\":function($event){_vm.hasTestimonials = $event > 0}}})],1)],1)],1):_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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 { Profile, ListingStatus, WebsiteLevel } from 'client-website-ts-library/types';\nimport { API } from 'client-website-ts-library/services';\nimport { ListingFilter, ListingOrderBy, TestimonialFilter, TestimonialOrderBy } from 'client-website-ts-library/filters';\nimport { AsyncView, RouteMeta } from 'client-website-ts-library/plugins';\n\nimport Masthead from '@/components/Common/Masthead.vue';\nimport Listings from '@/components/Listings.vue';\nimport TestimonialList from '@/components/Testimonials/TestimonialList.vue';\nimport Loader from '@/components/UI/Loader.vue';\n\nimport { AnalyticsEventObject } from 'client-website-ts-library/services/Analytics';\n\n@Component({\n components: {\n Masthead,\n Listings,\n TestimonialList,\n Loader,\n },\n})\nexport default class AgentProfile extends Mixins(AsyncView) {\n private profile: Profile | null = null;\n\n private currentListingFilter: ListingFilter | null = null;\n\n private soldListingFilter: ListingFilter | null = null;\n\n private testimonialFilter: TestimonialFilter | null = null;\n\n private hasSoldListings = true;\n\n private hasCurrentListings = true;\n\n private hasTestimonials = true;\n\n resolveId() {\n const { id } = this.$route.params;\n\n if (id.length === 36) {\n // If the ID is 36 long we'll treat it as a guid\n this.updateAgent(id);\n } else {\n API.Slugs.Resolve(id).then((resolved) => {\n if (resolved.Type === 'Profile') {\n this.updateAgent(resolved.Id);\n }\n });\n }\n }\n\n stripHtml(html: string): string {\n const el = document.createElement('div');\n\n el.innerHTML = html;\n\n return el.innerText;\n }\n\n head(): RouteMeta | null {\n if (this.profile === null) return null;\n\n let about = this.stripHtml(this.profile.AboutAgent);\n\n if (about.length > 156) {\n about = `${about.substring(0, 156)}...`;\n }\n\n return {\n title: `${this.profile.FullName} - ${this.profile.Position}`,\n description: about,\n image: this.profile.Photo ? this.profile.Photo.Preview.Url : undefined,\n };\n }\n\n updateAgent(id: string) {\n API.Profiles.Get(id).then((profile) => {\n this.profile = profile;\n\n this.$emit('updateView');\n\n this.currentListingFilter = new ListingFilter({\n SearchLevel: WebsiteLevel.Profile,\n SearchGuid: this.profile!.Id,\n Statuses: [\n ListingStatus.Current,\n ListingStatus.UnderContract,\n ],\n OrderByStatements: [\n ListingOrderBy.CreateDateDesc,\n ],\n PageSize: 6,\n });\n\n this.soldListingFilter = new ListingFilter({\n SearchLevel: WebsiteLevel.Profile,\n SearchGuid: this.profile!.Id,\n Statuses: [\n ListingStatus.Sold,\n ListingStatus.Leased,\n ],\n OrderByStatements: [\n ListingOrderBy.LastUpdatedDateDesc,\n ],\n PageSize: 6,\n });\n\n this.testimonialFilter = new TestimonialFilter({\n SearchLevel: WebsiteLevel.Profile,\n SearchGuid: this.profile!.Id,\n OrderByStatements: [\n TestimonialOrderBy.CreateDateDesc,\n ],\n });\n });\n }\n\n mounted() {\n this.resolveId();\n }\n\n getAnalyticsData(): AnalyticsEventObject | null {\n if (this.profile === null) return null;\n\n return AnalyticsEventObject.FromProfile(this.profile);\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!./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=b0765cda&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=b0765cda&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 \"b0765cda\",\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('section',{staticClass:\"listings\"},[(_vm.listings.length)?_c('Cards',{staticClass:\"cards--listings\"},_vm._l((_vm.listings),function(listing){return _c('ListingCard',{key:listing.Id,attrs:{\"listing\":listing}})}),1):(!_vm.loading)?_c('div',{staticClass:\"listings__no-listings\"},[_vm._v(\" \"+_vm._s(_vm.noListingsText)+\" \")]):_vm._e(),_c('Loader',{staticClass:\"listings__loader\",attrs:{\"loading\":_vm.loading}}),(_vm.infiniteScroll && _vm.more)?_c('div',{directives:[{name:\"observe-visibility\",rawName:\"v-observe-visibility\",value:({callback: _vm.loadMore, throttle: 1000, threshold: 0.5}),expression:\"{callback: loadMore, throttle: 1000, threshold: 0.5}\"}],staticClass:\"listings__visibility-checker\"}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { ObserveVisibility } from 'vue-observe-visibility';\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { ListingFilter } from 'client-website-ts-library/filters/ListingFilter';\nimport { Listing } from 'client-website-ts-library/types/Listing';\nimport { API } from 'client-website-ts-library/services';\n\nimport ListingCard from './ListingCard.vue';\nimport Loader from './UI/Loader.vue';\n\n@Component({\n components: {\n ListingCard,\n Loader,\n },\n directives: {\n 'observe-visibility': ObserveVisibility,\n },\n})\nexport default class Listings extends Vue {\n @Prop()\n private readonly filter!: ListingFilter;\n\n @Prop({ default: true })\n private readonly infiniteScroll!: boolean;\n\n @Prop({ default: 'No listings found.' })\n private readonly noListingsText!: string;\n\n private loading = false;\n\n private errored = false;\n\n private listings: Listing[] = [];\n\n private more = true;\n\n load(): Promise {\n return new Promise((resolve, reject) => {\n if (this.loading || !this.more) resolve(false);\n\n this.loading = true;\n\n API.Listings.Search(this.filter).then((data) => {\n this.more = data.Pages > this.filter.Page;\n\n this.listings.push(...data.Items);\n\n resolve();\n\n this.$emit('got_listing_count', data.Count);\n }).catch(reject);\n });\n }\n\n loadMore(): void {\n if (this.loading) return;\n\n this.filter.Page += 1;\n\n this.load().then(() => {\n this.loading = false;\n });\n }\n\n update(): void {\n this.listings = [];\n this.more = true;\n this.loading = false;\n\n this.load().then(() => {\n this.loading = false;\n });\n }\n\n mounted() {\n this.update();\n }\n\n private filterUpdateDebounce: number | undefined = undefined;\n\n @Watch('filter.Suburbs')\n @Watch('filter.SearchId')\n handleFilterParamsUpdated(): void {\n this.loading = true;\n this.listings = [];\n\n clearTimeout(this.filterUpdateDebounce);\n\n this.filterUpdateDebounce = window.setTimeout(() => {\n this.loading = false;\n\n this.update();\n }, 1000);\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!./Listings.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!./Listings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Listings.vue?vue&type=template&id=dae1b5c4&scoped=true&\"\nimport script from \"./Listings.vue?vue&type=script&lang=ts&\"\nexport * from \"./Listings.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Listings.vue?vue&type=style&index=0&id=dae1b5c4&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 \"dae1b5c4\",\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=b0765cda&scoped=true&lang=css&\""],"sourceRoot":""}