{"version":3,"sources":["webpack:///./src/views/ContactUs.vue?b2cb","webpack:///./src/views/ContactUs.vue","webpack:///./src/views/ContactUs.vue?bd3f","webpack:///./src/views/ContactUs.vue?0e26","webpack:///./src/views/ContactUs.vue?85eb"],"names":["render","_vm","this","_c","_self","_setupProxy","attrs","staticClass","_l","offices","office","key","Id","_v","_s","OfficeName","replace","WebsitePhotoPreview","Url","Phone","length","_e","Email","AddressLine1","AddressLine2","formCtx","staticRenderFns","ContactUs","Mixins","View","constructor","franchise","mounted","API","Franchises","Get","Config","Website","Settings","WebsiteId","then","GetOffices","reverse","ctx","ClientWebsiteId","Items","Type","ContextItemType","Office","EnquiryTargetProfile","Component","components","Form","component"],"mappings":"kHAAA,W,gECAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,OAAO,CAACA,EAAG,eAAe,CAACG,MAAM,CAAC,MAAO,EAAK,MAAQ,aAAa,OAAS,UAAUH,EAAG,aAAa,CAACA,EAAG,mBAAmB,CAACI,YAAY,2BAA2BN,EAAIO,GAAIP,EAAIQ,SAAS,SAASC,GAAQ,OAAOP,EAAG,MAAM,CAACQ,IAAID,EAAOE,GAAGL,YAAY,2BAA2B,CAACJ,EAAG,MAAM,CAACA,EAAG,KAAK,CAACA,EAAG,KAAK,CAACI,YAAY,0BAA0B,CAACJ,EAAG,IAAI,CAACA,EAAG,eAAe,CAACF,EAAIY,GAAGZ,EAAIa,GAAGJ,EAAOK,WAAWC,QAAQ,SAAU,SAAS,KAAKb,EAAG,KAAK,CAACI,YAAY,0BAA0B,CAACJ,EAAG,YAAY,CAACG,MAAM,CAAC,MAAQI,EAAOO,oBAAoBC,QAAQ,GAAIR,EAAOS,MAAMC,OAAQjB,EAAG,KAAK,CAACI,YAAY,0BAA0B,CAACJ,EAAG,IAAI,CAACI,YAAY,+BAA+BD,MAAM,CAAC,KAAO,OAASI,EAAOS,QAAQ,C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OC,QAAQC,SAAUC,WAAWC,KAAMT,IAC3D7B,KAAK6B,UAAYA,IAGnBE,OAAIC,WAAWO,WAAWL,OAAOC,QAAQC,SAAUC,WAAWC,KAAM/B,IAClEP,KAAKO,QAAUA,EAAQiC,YAGzB,MAAMC,EAAe,CACnBC,gBAAiBR,OAAOC,QAAQzB,GAChCiC,MAAO,CACL,CACEC,KAAMC,OAAgBC,OACtBpC,GAAI,wCAEN,CACEkC,KAAMC,OAAgBE,qBACtBrC,GAAI,0CAKVV,KAAKuB,QAAUkB,IA9BEhB,EAAS,yBAL7BuB,eAAU,CACTC,WAAY,CACVC,gBAGiBzB,WCd+W,I,wBCQhY0B,EAAY,eACd,EACArD,EACA0B,GACA,EACA,KACA,WACA,MAIa,aAAA2B,E","file":"js/chunk-5e360336.b2845ec2.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactUs.vue?vue&type=style&index=0&id=19487055&prod&scoped=true&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('Page',[_c('SiteMasthead',{attrs:{\"mini\":true,\"title\":\"Contact Us\",\"darken\":\"true\"}}),_c('ContentRow',[_c('ContentContainer',{staticClass:\"office__contact-wrapper\"},_vm._l((_vm.offices),function(office){return _c('div',{key:office.Id,staticClass:\"office__contact-methods\"},[_c('div',[_c('ul',[_c('li',{staticClass:\"office__contact-method\"},[_c('a',[_c('SectionTitle',[_vm._v(_vm._s(office.OfficeName.replace('Cairns', '')))])],1)]),_c('li',{staticClass:\"office__contact-method\"},[_c('LazyImage',{attrs:{\"image\":office.WebsitePhotoPreview.Url}})],1),(office.Phone.length)?_c('li',{staticClass:\"office__contact-method\"},[_c('a',{staticClass:\"office__contact-method__link\",attrs:{\"href\":'tel:' + office.Phone}},[_c('span',{staticClass:\"office__contact-method__key\"},[_vm._v(\"Phone: \")]),_vm._v(\" \"+_vm._s(office.Phone)+\" \")])]):_vm._e(),(office.Phone.length)?_c('li',{staticClass:\"office__contact-method\"},[_c('a',{staticClass:\"office__contact-method__link\",attrs:{\"href\":'mailto:' + office.Email}},[_c('span',{staticClass:\"office__contact-method__key\"},[_vm._v(\"Email: \")]),_vm._v(\" \"+_vm._s(office.Email)+\" \")])]):_vm._e(),_c('li',{staticClass:\"office__contact-method\"},[_c('a',{staticClass:\"office__contact-method__link\"},[_c('span',{staticClass:\"office__contact-method__key\"},[_vm._v(\"Address: \")]),_vm._v(\" \"+_vm._s(office.AddressLine1)+\", \"+_vm._s(office.AddressLine2)+\" \")])])])])])}),0)],1),_c('ContentRow',[_c('SectionTitle',[_vm._v(\"Get In Touch\")]),_c('ContentContainer',{staticClass:\"content-container--narrow\"},[(_vm.formCtx)?_c('Form',{attrs:{\"context\":_vm.formCtx,\"type\":\"Generic.WebsiteContactForm\"}}):_vm._e()],1)],1),_c('ContentRow',[_c('ContentContainer',{staticClass:\"content-container--narrow\"},[_c('SectionTitle',[_vm._v(\"AFTER HOURS EMERGENCY CONTACT DETAILS\")]),_c('p',{staticClass:\"emergency-description\"},[_vm._v(\"Please refer to your tenancy agreement to check if your landlord has any preferred trades that are different to the below.\")]),_c('div',{staticClass:\"emergency-section\"},[_c('p',{staticClass:\"emergency-subtitle\"},[_vm._v(\"Electrical Emergency\")]),_c('div',{staticClass:\"emergency-contact\"},[_c('p',[_vm._v(\"Smithys Air & Electrical:\")]),_c('a',{attrs:{\"href\":\"tel:0475768869\"}},[_vm._v(\"0475 768 869\")])])]),_c('div',{staticClass:\"emergency-section\"},[_c('p',{staticClass:\"emergency-subtitle\"},[_vm._v(\"Plumbing Emergency\")]),_c('div',{staticClass:\"emergency-contact\"},[_c('p',[_vm._v(\"Doc's Plumbing Maintenance:\")]),_c('a',{attrs:{\"href\":\"tel:0408877070\"}},[_vm._v(\"0408 877 070\")])])]),_c('div',{staticClass:\"emergency-section\"},[_c('p',{staticClass:\"emergency-subtitle\"},[_vm._v(\"Locksmith Emergency\")]),_c('div',{staticClass:\"emergency-contact\"},[_c('p',[_vm._v(\"Tom Cowles Locksmiths (TCL):\")]),_c('a',{attrs:{\"href\":\"tel:40311677\"}},[_vm._v(\"4031 1677\")])])]),_c('div',{staticClass:\"emergency-section\"},[_c('p',{staticClass:\"emergency-subtitle\"},[_vm._v(\"Smoke Alarm Emergency\")]),_c('p',{staticClass:\"emergency-description\"},[_vm._v(\"Please check your tenancy agreement for which smoke alarm company your landlord uses.\")]),_c('div',{staticClass:\"emergency-contact\"},[_c('p',[_vm._v(\"Smoke Alarm Solutions:\")]),_c('a',{attrs:{\"href\":\"tel:1300852301\"}},[_vm._v(\"1300 852 301\")])]),_c('div',{staticClass:\"emergency-contact\"},[_c('p',[_vm._v(\"Cairns Smoke Alarms:\")]),_c('a',{attrs:{\"href\":\"tel:1300852301\"}},[_vm._v(\"1300 559 475\")])])])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Mixins } from 'vue-property-decorator';\r\nimport { Context, Franchise, Office } from 'client-website-ts-library/types';\r\nimport { API, Config } from 'client-website-ts-library/services';\r\nimport { View } from 'client-website-ts-library/plugins';\r\nimport Form from '@/components/Forms/Form.vue';\r\nimport { ContextItemType } from 'client-website-ts-library/types/Context';\r\nimport SectionSubtitle from '@/components/Common/SectionSubtitle.vue';\r\n\r\n@Component({\r\n components: {\r\n Form,\r\n },\r\n})\r\nexport default class ContactUs extends Mixins(View) {\r\n private franchise: Franchise | null = null;\r\n\r\n private offices: Office[] = [];\r\n\r\n private formCtx: Context | null = null;\r\n\r\n mounted() {\r\n API.Franchises.Get(Config.Website.Settings!.WebsiteId).then((franchise) => {\r\n this.franchise = franchise;\r\n });\r\n\r\n API.Franchises.GetOffices(Config.Website.Settings!.WebsiteId).then((offices) => {\r\n this.offices = offices.reverse();\r\n });\r\n\r\n const ctx: Context = {\r\n ClientWebsiteId: Config.Website.Id,\r\n Items: [\r\n {\r\n Type: ContextItemType.Office,\r\n Id: '97eea4c0-6832-44d3-9b4a-8639d06b4804', // SALES OFFICE\r\n },\r\n {\r\n Type: ContextItemType.EnquiryTargetProfile,\r\n Id: '612d84b4-0122-4ab2-bea8-2c6175d3acf0', // SALES\r\n },\r\n ],\r\n };\r\n\r\n this.formCtx = ctx;\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactUs.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactUs.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ContactUs.vue?vue&type=template&id=19487055&scoped=true&\"\nimport script from \"./ContactUs.vue?vue&type=script&lang=ts&\"\nexport * from \"./ContactUs.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ContactUs.vue?vue&type=style&index=0&id=19487055&prod&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 \"19487055\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}