{"version":3,"sources":["webpack:///./src/components/Testimonials/TestimonialCards.vue?c665","webpack:///./src/components/Testimonials/TestimonialCards.vue","webpack:///./src/components/Testimonials/TestimonialCards.vue?cbe7","webpack:///./src/components/Testimonials/TestimonialCards.vue?8702","webpack:///./src/components/Common/RichTextToggle.vue?b826","webpack:///./src/components/Common/RichTextToggle.vue","webpack:///./src/components/Common/RichTextToggle.vue?0185","webpack:///./src/components/Common/RichTextToggle.vue?4026","webpack:///./src/components/Testimonials/TestimonialCycler.vue?9176","webpack:///./src/components/Testimonials/TestimonialCards.vue?5c11","webpack:///./src/components/Testimonials/TestimonialCycler.vue?36fc","webpack:///./src/components/Testimonials/TestimonialCycler.vue","webpack:///./src/components/Testimonials/TestimonialCycler.vue?45ab","webpack:///./src/components/Testimonials/TestimonialCycler.vue?86b1","webpack:///./src/components/Common/RichTextToggle.vue?671a","webpack:///./src/views/AgentProfile.vue?b1a6","webpack:///./src/views/AgentProfile.vue?1aaf","webpack:///./src/views/AgentProfile.vue","webpack:///./src/views/AgentProfile.vue?b8fd","webpack:///./src/views/AgentProfile.vue?dc75","webpack:///./src/components/Testimonials/TestimonialCard.vue?8b38","webpack:///./src/components/Testimonials/TestimonialCard.vue","webpack:///./src/components/Testimonials/TestimonialCard.vue?2db9","webpack:///./src/components/Testimonials/TestimonialCard.vue?c3dc","webpack:///./src/components/Testimonials/TestimonialCard.vue?2486"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_l","testimonial","key","Id","attrs","hasAgentName","hasAgentPhotos","hasReadMoreButton","testimonialCount","on","loadMore","_v","_e","staticRenderFns","testimonials","updateTestimonials","Testimonials","Search","filter","then","length","displayLimit","slice","$emit","default","deep","components","TestimonialCard","component","class","toggled","countLines","showlines","style","domProps","_s","content","toggle","split","required","breakpoints","breakpoint","settings","slidesToShow","e","i","findIndex","a","UserId","sort","Math","random","Cycler","CyclerItem","TestimonialCards","profile","CoverPhoto","Large","Url","source","formats","fallback","Photo","MobilePhone","OfficePhone","Email","Office","AddressLine1","AddressLine2","FacebookUrl","FacebookHandle","InstagramUrl","InstagramHandle","TwitterUrl","TwitterHandle","LinkedInUrl","LinkedInHandle","isPropertyManage","WebsiteVideoLink","FirstName","LastName","$event","jumpTo","FullName","Position","AboutAgent","charAt","toLowerCase","currentListingFilter","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","Preview","undefined","Profiles","Get","SearchLevel","Profile","SearchGuid","Statuses","Current","UnderContract","OrderByStatements","CreateDateDesc","PageSize","Sold","SoldDateDesc","resolveId","displayType","DisplayType","Agent","PersonalAssistant","PropertyManager","CommercialAgent","Principal","Analytics","FromProfile","anchor","window","location","href","Listings","TestimonialCycler","Loader","RichTextToggle","hasExtraHeight","Thumbs","cleanedContent","showTestimonial","ClientName","Address","Suburb","formattedAddress","hideTestimonial","getYouTubeId","Image","popupActive","cleanContent","parts","push","join","Description","videoId","VideoLink","ampersandPosition","indexOf"],"mappings":"kHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,QAAQ,CAACE,YAAY,qBAAqB,CAACN,EAAIO,GAAIP,EAAgB,cAAE,SAASQ,GAAa,OAAOJ,EAAG,kBAAkB,CAACK,IAAID,EAAYE,GAAGC,MAAM,CAAC,aAAeX,EAAIY,aAAa,eAAiBZ,EAAIa,eAAe,kBAAoBb,EAAIc,kBAAkB,YAAcN,QAAkBR,EAAIe,iBAAmB,EAAGX,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,SAAS,CAACY,GAAG,CAAC,MAAQhB,EAAIiB,WAAW,CAACjB,EAAIkB,GAAG,gBAAgB,GAAGlB,EAAImB,MAAM,IAC5gBC,EAAkB,G,4WCoBtB,IAAqB,EAArB,cAA8C,O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GI,UAK3B,kBACElH,KAAKqK,aAAc,EAGrB,kBACErK,KAAKqK,aAAc,EAGrB,eACE,IAAIM,EAAU3K,KAAKO,YAAYqK,UAAUhI,MAAM,MAAM,GACrD,MAAMiI,EAAoBF,EAAQG,QAAQ,KAI1C,OAH2B,IAAvBD,IACFF,EAAUA,EAAQtD,UAAU,EAAGwD,IAE1BF,IAzDT,GADC,kB,kCAID,GADC,eAAK,CAAE7I,SAAS,K,wCAIjB,GADC,eAAK,CAAEA,SAAS,K,qCAIjB,GADC,eAAK,CAAEA,SAAS,K,0CAIjB,GADC,eAAK,CAAEA,SAAS,K,mCAIjB,GADC,eAAK,CAAEA,SAAS,K,qCAmBjB,GADC,eAAM,gB,2BAON,MAzCkB,EAAe,GADnC,QACoB,WCxDuY,I,wBCQxZI,EAAY,eACd,EACApC,EACAqB,GACA,EACA,KACA,WACA,MAIa,OAAAe,E,2CCnBf,yBAAggB,EAAG,G","file":"js/chunk-26b025c3.4014289f.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),function(testimonial){return _c('TestimonialCard',{key:testimonial.Id,attrs:{\"hasAgentName\":_vm.hasAgentName,\"hasAgentPhotos\":_vm.hasAgentPhotos,\"hasReadMoreButton\":_vm.hasReadMoreButton,\"testimonial\":testimonial}})}),(_vm.testimonialCount > 9)?_c('div',{staticClass:\"center-text\"},[_c('Button',{on:{\"click\":_vm.loadMore}},[_vm._v(\"Load More\")])],1):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\nimport { TestimonialFilter } from 'client-website-ts-library/filters';\nimport { API } from 'client-website-ts-library/services';\nimport { Testimonial } from 'client-website-ts-library/types';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport TestimonialCard from './TestimonialCard.vue';\n\n@Component({\n components: {\n TestimonialCard,\n },\n})\nexport default class TestimonialCards extends Vue {\n private testimonials: Testimonial[] = [];\n\n @Prop()\n private readonly filter!: TestimonialFilter;\n\n @Prop({ default: true })\n private readonly hasReadMoreButton!: boolean;\n\n @Prop({ default: true })\n private readonly hasAgentPhotos!: boolean;\n\n @Prop({ default: true })\n private readonly hasAgentName!: boolean;\n\n @Prop({ default: 0 })\n private displayLimit!: number;\n\n private testimonialCount = 0;\n\n mounted() {\n this.updateTestimonials();\n }\n\n @Watch('filter', { deep: true })\n updateTestimonials() {\n API.Testimonials.Search(this.filter, true).then((testimonials) => {\n this.testimonialCount = testimonials.length;\n if (this.displayLimit === 0) {\n this.testimonials = testimonials;\n } else {\n this.testimonials = testimonials.slice(0, this.displayLimit);\n }\n\n this.$emit('got_testimonial_count', testimonials.length);\n\n this.$emit('got_testimonials', testimonials);\n });\n }\n\n loadMore() {\n API.Testimonials.Search(this.filter, true).then((testimonials) => {\n if (this.displayLimit === 0) {\n this.testimonials = testimonials;\n } else {\n this.testimonials = testimonials.slice(0, this.displayLimit += 9);\n }\n\n this.$emit('got_testimonial_count', testimonials.length);\n\n this.$emit('got_testimonials', testimonials);\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!./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=19fd1a54&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=19fd1a54&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 \"19fd1a54\",\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',[_c('div',{staticClass:\"rich-text\",class:{'rich-text--toggled': _vm.toggled, 'rich-text--read-more': _vm.countLines() > _vm.showlines },style:({'--rich-text-lines': _vm.showlines}),domProps:{\"innerHTML\":_vm._s(_vm.content)}}),(_vm.countLines() > _vm.showlines)?_c('a',{staticClass:\"rich-text__toggle\",on:{\"click\":_vm.toggle}},[_vm._v(_vm._s(_vm.toggled ? 'READ LESS' : 'READ MORE'))]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator';\n\n@Component\nexport default class RichTextToggle extends Vue {\n @Prop({ required: true })\n private readonly content!: string;\n\n @Prop({ default: 5 })\n private readonly showlines!: number;\n\n private toggled = false;\n\n countLines(): number {\n return this.content!.split('

').length;\n }\n\n toggle() {\n this.toggled = !this.toggled;\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!./RichTextToggle.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!./RichTextToggle.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RichTextToggle.vue?vue&type=template&id=7c1a376f&\"\nimport script from \"./RichTextToggle.vue?vue&type=script&lang=ts&\"\nexport * from \"./RichTextToggle.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RichTextToggle.vue?vue&type=style&index=0&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 null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TestimonialCycler.vue?vue&type=style&index=0&id=1e9a6b2c&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TestimonialCycler.vue?vue&type=style&index=0&id=1e9a6b2c&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TestimonialCards.vue?vue&type=style&index=0&id=19fd1a54&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TestimonialCards.vue?vue&type=style&index=0&id=19fd1a54&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.testimonials.length > 3)?_c('div',{staticClass:\"testimonial-cycler\"},[_c('Deferrable',{attrs:{\"delay\":\"50\"}},[(_vm.testimonials.length)?_c('Cycler',{attrs:{\"chevronColor\":\"red\",\"navOutside\":true,\"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:{\"seeMoreTestimonials\":true,\"hasAgentName\":_vm.hasAgentName,\"hasAgentPhotos\":_vm.hasAgentPhotos,\"hasReadMoreButton\":_vm.hasReadMoreButton,\"testimonial\":testimonial}})],1)}),1):_vm._e()],1)],1):_c('div',{staticClass:\"testimonial-cards\"},[_c('ContentContainer',[_c('TestimonialCards',{attrs:{\"hasAgentName\":_vm.hasAgentName,\"hasAgentPhotos\":_vm.hasAgentPhotos,\"hasReadMoreButton\":_vm.hasReadMoreButton,\"filter\":_vm.filter}})],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component, Prop, Watch } from 'vue-property-decorator';\n\nimport { Testimonial } from 'client-website-ts-library/types';\nimport { TestimonialFilter } from 'client-website-ts-library/filters';\nimport { API } from 'client-website-ts-library/services';\n\nimport { CarouselBreakpoint } from '@/app_code/CarouselBreakpoint';\n\nimport TestimonialCards from '@/components/Testimonials/TestimonialCards.vue';\nimport Cycler from '../Cycler/Cycler.vue';\nimport CyclerItem from '../Cycler/CyclerItem.vue';\nimport TestimonialCard from './TestimonialCard.vue';\n\n@Component({\n components: {\n Cycler,\n CyclerItem,\n TestimonialCard,\n TestimonialCards,\n },\n})\nexport default class TestimonialCycler extends Vue {\n private testimonials: Testimonial[] = [];\n\n @Prop({ default: true })\n private readonly hasReadMoreButton!: boolean;\n\n @Prop({ default: true })\n private readonly hasAgentPhotos!: boolean;\n\n @Prop({ default: true })\n private readonly hasAgentName!: boolean;\n\n private breakpoints: 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 breakpoint: 1120,\n settings: {\n slidesToShow: 3,\n },\n },\n ];\n\n @Prop()\n private readonly filter!: TestimonialFilter;\n\n mounted() {\n this.updateTestimonials();\n }\n\n @Watch('filter', { deep: true })\n updateTestimonials() {\n API.Testimonials.Search(this.filter, true).then((testimonials) => {\n this.testimonials = testimonials.filter((e, i) => testimonials.findIndex((a) => a.UserId === e.UserId) === i).sort(() => Math.random() - 0.5);\n this.$emit('got_testimonial_count', testimonials.length);\n\n this.$emit('got_testimonials', testimonials);\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!./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=1e9a6b2c&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=1e9a6b2c&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 \"1e9a6b2c\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RichTextToggle.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RichTextToggle.vue?vue&type=style&index=0&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AgentProfile.vue?vue&type=style&index=0&id=0e3f7f1e&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AgentProfile.vue?vue&type=style&index=0&id=0e3f7f1e&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)?[(_vm.profile.CoverPhoto)?_c('SiteMasthead',{attrs:{\"image\":_vm.profile.CoverPhoto.Large.Url,\"relative-content\":true,\"darken\":false,\"medium\":true}}):_c('SiteMasthead',{attrs:{\"image\":{ source: '/assets/images/profile-bg', formats: ['jpg'], fallback: 'jpg' },\"relative-content\":true,\"darken\":false,\"medium\":true}}),_c('ContentRow',[_c('ContentContainer',{class:'content-container--medium'},[_c('div',{staticClass:\"margin\"},[_c('Row',{attrs:{\"verticalAlign\":''}},[_c('Column',{attrs:{\"width\":\"4\",\"mdWidth\":\"12\",\"smWidth\":\"12\"}},[_c('div',{staticClass:\"agent-profile__header stuck\"},[_c('div',{staticClass:\"agent-profile__header__details\"},[_c('ul',{staticClass:\"agent-profile__contact\"},[_c('li',[_c('div',{staticClass:\"agent-profile__header__image\"},[(_vm.profile.Photo)?_c('LazyImage',{staticClass:\"agent-profile__img\",attrs:{\"image\":_vm.profile.Photo,\"thumb-width\":100,\"preview-width\":375}}):_c('LazyImage',{staticClass:\"agent-profile__img\",attrs:{\"image\":'/assets/images/brand/logo-icon.svg',\"thumb-width\":100,\"preview-width\":375}})],1)]),(_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.Email)?_c('li',{staticClass:\"contact-method\"},[_c('span',{staticClass:\"contact-method__label\"},[_vm._v(\"O.\")]),_vm._v(\" \"+_vm._s(_vm.profile.Office.AddressLine1)+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.profile.Office.AddressLine2)+\" \")]):_vm._e(),(_vm.profile.FacebookUrl)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":_vm.profile.FacebookUrl,\"target\":\"_blank\"}},[_c('span',{staticClass:\"contact-method__label\"},[_c('Icon',{attrs:{\"icon\":'facebook-logo',\"colour\":'orange',\"justifyContent\":false}})],1),(_vm.profile.FacebookHandle)?_c('span',[_vm._v(_vm._s(_vm.profile.FacebookHandle))]):_c('span',[_vm._v(\"Facebook\")])])]):_vm._e(),(_vm.profile.InstagramUrl)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":_vm.profile.InstagramUrl,\"target\":\"_blank\"}},[_c('span',{staticClass:\"contact-method__label\"},[_c('Icon',{attrs:{\"icon\":'instagram-logo',\"colour\":'orange',\"justifyContent\":false}})],1),(_vm.profile.InstagramHandle)?_c('span',[_vm._v(_vm._s(_vm.profile.InstagramHandle))]):_c('span',[_vm._v(\"Instagram\")])])]):_vm._e(),(_vm.profile.TwitterUrl)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":_vm.profile.TwitterUrl,\"target\":\"_blank\"}},[_c('span',{staticClass:\"contact-method__label\"},[_c('Icon',{attrs:{\"icon\":'twitter-logo',\"colour\":'orange',\"justifyContent\":false}})],1),(_vm.profile.TwitterHandle)?_c('span',[_vm._v(_vm._s(_vm.profile.TwitterHandle))]):_c('span',[_vm._v(\"Twitter\")])])]):_vm._e(),(_vm.profile)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":_vm.profile.LinkedInUrl,\"target\":\"_blank\"}},[_c('span',{staticClass:\"contact-method__label\"},[_c('Icon',{attrs:{\"icon\":'linkedin-logo',\"colour\":'orange',\"justifyContent\":false}})],1),(_vm.profile.LinkedInHandle)?_c('span',[_vm._v(_vm._s(_vm.profile.LinkedInHandle))]):_c('span',[_vm._v(\"LinkedIn\")])])]):_vm._e(),_c('li',{staticClass:\"contact-method contact-method__spacer\"}),(!_vm.isPropertyManage() && _vm.profile.WebsiteVideoLink)?_c('li',{staticClass:\"contact-method contact-method__spacer\"},[_c('LinkButton',{staticClass:\"office-button\",attrs:{\"width\":'120px',\"padding\":'0.5em',\"href\":_vm.profile.WebsiteVideoLink,\"margin\":false,\"external\":true,\"backgroundColour\":'var(--brand-secondary)',\"colour\":'#FFF',\"border\":'solid 2px var(--brand-secondary)'}},[_vm._v(\" Agent Video \")])],1):_vm._e(),(!_vm.isPropertyManage())?_c('li',{staticClass:\"contact-method contact-method__spacer\"},[_c('LinkButton',{staticClass:\"office-button\",attrs:{\"width\":'120px',\"padding\":'0.5em',\"href\":'/profiles/' + _vm.profile.FirstName + _vm.profile.LastName + '/appraisal',\"margin\":false,\"backgroundColour\":'var(--brand-primary)',\"colour\":'#FFF',\"border\":'solid 2px var(--brand-primary)'}},[_vm._v(\" Appraisal \")])],1):_vm._e(),_c('li',{staticClass:\"contact-method contact-method__spacer\"},[_c('LinkButton',{staticClass:\"office-button\",attrs:{\"width\":'120px',\"padding\":'0.5em',\"margin\":false,\"shadow\":true,\"backgroundColour\":'#FFF',\"colour\":'var(--brand-secondary)',\"border\":''},on:{\"clicked\":function($event){return _vm.jumpTo('testimonals')}}},[_vm._v(\" Testimonials \")])],1),_c('li')])])])]),_c('Column',{attrs:{\"width\":\"1\",\"mdWidth\":\"12\",\"smWidth\":\"12\"}},[_c('hr',{staticClass:\"line\"})]),_c('Column',{attrs:{\"width\":\"7\",\"mdWidth\":\"12\",\"smWidth\":\"12\"}},[_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('div',[_c('RichTextToggle',{attrs:{\"showlines\":6,\"content\":_vm.profile.AboutAgent}})],1)])],1)],1)])],1),(_vm.hasCurrentListings)?_c('ContentRow',{attrs:{\"backgroundColour\":'var(--brand--grey)'}},[_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\")+\" \"),_c('span',{staticClass:\"beyond-infinity\"},[_vm._v(\"Listings\")])]),_c('Deferrable',{attrs:{\"delay\":\"0\"}},[_c('div',[_c('Listings',{attrs:{\"filter\":_vm.currentListingFilter,\"infinite-scroll\":false,\"allowLoadMore\":true},on:{\"got_listing_count\":function($event){_vm.hasCurrentListings = $event > 0}}}),_c('div',{staticClass:\"center-text\",staticStyle:{\"margin-top\":\"var(--gutter)\"}})],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\")+\" \"),_c('span',{staticClass:\"beyond-infinity\"},[_vm._v(\"Recently Sold Listings\")])]),_c('Deferrable',{attrs:{\"delay\":\"0\"}},[_c('div',[_c('Listings',{attrs:{\"filter\":_vm.soldListingFilter,\"infinite-scroll\":false,\"allowLoadMore\":true},on:{\"got_listing_count\":function($event){_vm.hasSoldListings = $event > 0}}}),_c('div',{staticClass:\"center-text\",staticStyle:{\"margin-top\":\"var(--gutter)\"}})],1)])],1)],1):_vm._e(),(_vm.hasTestimonials)?_c('ContentRow',{attrs:{\"id\":\"testimonals\",\"backgroundColour\":'var(--brand--grey)'}},[_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\")+\" \"),_c('span',{staticClass:\"beyond-infinity\"},[_vm._v(\"Testimonials\")])]),_c('TestimonialCards',{attrs:{\"displayLimit\":9,\"hasAgentName\":false,\"hasAgentPhotos\":false,\"hasReadMoreButton\":true,\"filter\":_vm.testimonialFilter},on:{\"got_testimonial_count\":function($event){_vm.hasTestimonials = $event > 0}}})],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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, WebsiteProfileDisplayType } 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 TestimonialCycler from '@/components/Testimonials/TestimonialCycler.vue';\nimport Loader from '@/components/UI/Loader.vue';\n\nimport { AnalyticsEventObject } from 'client-website-ts-library/services/Analytics';\nimport RichTextToggle from '@/components/Common/RichTextToggle.vue';\nimport TestimonialCards from '@/components/Testimonials/TestimonialCards.vue';\n\n@Component({\n components: {\n Listings,\n TestimonialCycler,\n Loader,\n RichTextToggle,\n TestimonialCards,\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\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, true).then((profile) => {\n this.profile = profile;\n this.$emit('updateView');\n this.currentListingFilter = new ListingFilter({\n SearchLevel: WebsiteLevel.Profile,\n SearchGuid: this.profile!.Id,\n Statuses: [ListingStatus.Current, ListingStatus.UnderContract],\n OrderByStatements: [ListingOrderBy.CreateDateDesc],\n PageSize: 6,\n });\n\n this.soldListingFilter = new ListingFilter({\n SearchLevel: WebsiteLevel.Profile,\n SearchGuid: this.profile!.Id,\n Statuses: [ListingStatus.Sold],\n OrderByStatements: [ListingOrderBy.SoldDateDesc],\n PageSize: 6,\n });\n\n this.testimonialFilter = new TestimonialFilter({\n SearchLevel: WebsiteLevel.Profile,\n SearchGuid: this.profile!.Id,\n OrderByStatements: [TestimonialOrderBy.CreateDateDesc],\n });\n });\n }\n\n mounted() {\n this.resolveId();\n }\n\n isPropertyManage(): boolean {\n if (this.profile === null) return false;\n let displayType: boolean;\n\n switch (this.profile.DisplayType) {\n case WebsiteProfileDisplayType.Agent:\n displayType = false;\n break;\n case WebsiteProfileDisplayType.PersonalAssistant:\n displayType = false;\n break;\n case WebsiteProfileDisplayType.PropertyManager:\n displayType = true;\n break;\n case WebsiteProfileDisplayType.CommercialAgent:\n displayType = false;\n break;\n case WebsiteProfileDisplayType.Principal:\n displayType = false;\n break;\n default:\n displayType = false;\n break;\n }\n\n return displayType;\n }\n\n getAnalyticsData(): AnalyticsEventObject | null {\n if (this.profile === null) return null;\n\n return AnalyticsEventObject.FromProfile(this.profile);\n }\n\n jumpTo(anchor: string) {\n window.location.href = `#${anchor}`;\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=0e3f7f1e&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=0e3f7f1e&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 \"0e3f7f1e\",\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:\"card card--testimonial\",class:{ 'testimonial__extra-height': _vm.hasExtraHeight }},[_c('div',{staticClass:\"testimonial__agent\"},[(_vm.testimonial.Profile.Photo && _vm.hasAgentPhotos)?_c('img',{staticClass:\"testimonial__agent__image\",attrs:{\"src\":_vm.testimonial.Profile.Photo.Thumbs.Url}}):_vm._e(),(_vm.hasAgentName)?_c('h5',[_vm._v(_vm._s((\"\" + (_vm.testimonial.Profile.FirstName + ' ' + _vm.testimonial.Profile.LastName))))]):_vm._e()]),_c('blockquote',[_c('div',{staticClass:\"testimonial__content\"},[_vm._v(\" \"+_vm._s(_vm.cleanedContent)+\" \")]),(_vm.cleanedContent.length > 110 && _vm.hasReadMoreButton)?_c('button',{staticClass:\"testimonial__read-more\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.showTestimonial()}}},[_vm._v(\"READ MORE\")]):_vm._e()]),_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.seeMoreTestimonials)?_c('LinkButton',{staticClass:\"testimonial__read-more\",attrs:{\"type\":\"button\",\"href\":\"/testimonials\"}},[_vm._v(\"SEE MORE TESTIMONIALS\")]):_vm._e()],1),(_vm.testimonial.VideoLink)?_c('AR',{attrs:{\"ratio\":\"0.5625\"}},[_c('iframe',{staticClass:\"embeddable__frame\",attrs:{\"src\":(\"https://www.youtube.com/embed/\" + (_vm.getYouTubeId())),\"frameborder\":\"0\",\"allowtransparency\":\"true\",\"allowfullscreen\":\"\"}})]):(_vm.testimonial.Image)?_c('img',{staticClass:\"testimonial__image\",attrs:{\"src\":_vm.testimonial.Image.Preview.Url}}):_vm._e()],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\n\n\n\n\n\n\n\nimport { Testimonial } from 'client-website-ts-library/types';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n\n@Component\nexport default class TestimonialCard extends Vue {\n @Prop()\n private readonly testimonial!: Testimonial;\n\n @Prop({ default: true })\n private readonly hasReadMoreButton!: boolean;\n\n @Prop({ default: false })\n private readonly hasAgentPhotos!: boolean;\n\n @Prop({ default: false })\n private readonly seeMoreTestimonials!: boolean;\n\n @Prop({ default: false })\n private readonly hasAgentName!: boolean;\n\n @Prop({ default: false })\n private readonly hasExtraHeight!: boolean;\n\n private cleanedContent = ''\n\n mounted() {\n this.cleanContent();\n }\n\n get formattedAddress(): string {\n const parts = [];\n\n if (this.testimonial.Address) parts.push(this.testimonial.Address);\n if (this.testimonial.Suburb) parts.push(this.testimonial.Suburb);\n\n return parts.join(', ');\n }\n\n @Watch('testimonial')\n cleanContent(): void {\n const el = document.createElement('div');\n\n el.innerHTML = this.testimonial.Description;\n\n this.cleanedContent = el.innerText;\n }\n\n popupActive = false\n\n showTestimonial(): void {\n this.popupActive = true;\n }\n\n hideTestimonial(): void {\n this.popupActive = false;\n }\n\n getYouTubeId() {\n let videoId = this.testimonial.VideoLink.split('v=')[1];\n const ampersandPosition = videoId.indexOf('&');\n if (ampersandPosition !== -1) {\n videoId = videoId.substring(0, ampersandPosition);\n }\n return videoId;\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!./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=4859108a&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=4859108a&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 \"4859108a\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TestimonialCard.vue?vue&type=style&index=0&id=4859108a&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TestimonialCard.vue?vue&type=style&index=0&id=4859108a&scoped=true&lang=css&\""],"sourceRoot":""}