{"version":3,"sources":["webpack:///./src/views/PropertiesCommercial.vue?8969","webpack:///./src/views/PropertiesCommercial.vue","webpack:///./src/views/PropertiesCommercial.vue?83cc","webpack:///./src/views/PropertiesCommercial.vue?540d","webpack:///./src/views/PropertiesCommercial.vue?d52d"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","source","formats","fallback","_v","listingFilter","_e","staticRenderFns","updateFilter","propertyCategories","$route","query","ListingCategory","split","map","v","parseInt","filter","PropertyCategories","Statuses","Current","UnderContract","Categories","Commercial","CommercialLand","Business","MethodsOfSale","Sale","Lease","Both","Auction","Tender","EOI","ForSale","Offers","PageSize","OrderByStatements","CreateDateDesc","keywordOptions","keywordOpts","opt","Type","Value","Suburbs","categories","length","searchVal","find","SearchTerm","areaMin","MinFloorArea","areaMax","MaxFloorArea","priceMin","MinPrice","priceMax","MaxPrice","suburbs","isVacantPosession","IsVacant","isTenanted","IsTenanted","isStandalone","IsWholeBuilding","isStrata","components","Listings","ListingSearch","component"],"mappings":"gJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,OAAO,CAACA,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,4EAA4E,KAAO,OAAO,MAAQ,CAAEC,OAAQ,mCAAoCC,QAAS,CAAC,OAAQ,OAAQ,OAAQC,SAAU,UAAWL,EAAG,aAAa,CAACA,EAAG,mBAAmB,CAACA,EAAG,eAAe,CAACJ,EAAIU,GAAG,gBAAgBN,EAAG,IAAI,CAACJ,EAAIU,GAAG,+KAA+KN,EAAG,IAAI,CAACJ,EAAIU,GAAG,8NAA8NN,EAAG,IAAI,CAACJ,EAAIU,GAAG,iTAAiTN,EAAG,IAAI,CAACJ,EAAIU,GAAG,mQAAmQ,IAAI,GAAGN,EAAG,aAAa,CAACE,MAAM,CAAC,WAAY,IAAO,CAAEN,EAAiB,cAAEI,EAAG,WAAW,CAACE,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,OAAOC,MAAMsC,UAAShC,EAAOiC,aAAevD,KAAKe,OAAOC,MAAMsC,SACnEtD,KAAKe,OAAOC,MAAMwC,UAASlC,EAAOmC,aAAezD,KAAKe,OAAOC,MAAMwC,SAEnExD,KAAKe,OAAOC,MAAM0C,WAAUpC,EAAOqC,SAAW3D,KAAKe,OAAOC,MAAM0C,UAChE1D,KAAKe,OAAOC,MAAM4C,WAAUtC,EAAOuC,SAAW7D,KAAKe,OAAOC,MAAM4C,UAChE5D,KAAKe,OAAOC,MAAM8C,UAASxC,EAAO0B,QAAWhD,KAAKe,OAAOC,MAAM8C,QAAmB5C,MAAM,MAExFlB,KAAKe,OAAOC,MAAM+C,oBAAmBzC,EAAO0C,UAAW,GACvDhE,KAAKe,OAAOC,MAAMiD,aAAY3C,EAAO4C,YAAa,GAClDlE,KAAKe,OAAOC,MAAMmD,eAAc7C,EAAO8C,iBAAkB,GACzDpE,KAAKe,OAAOC,MAAMqD,WAAU/C,EAAO0C,UAAW,GAElDhE,KAAKU,cAAgBY,MAhFzB,GAAkD,eAAO,SAQvD,GADC,eAAM,iB,2BA0EN,MAjFkB,EAAoB,GANxC,eAAU,CACTgD,WAAY,CACVC,WAAA,KACAC,gBAAA,SAGiB,WC/C0X,I,wBCQ3YC,EAAY,eACd,EACA3E,EACAc,GACA,EACA,KACA,WACA,MAIa,aAAA6D,E,2CCnBf,yBAAmf,EAAG","file":"js/chunk-7cbfe955.4a3eb99c.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Page',[_c('SiteMasthead',{attrs:{\"title\":\"“Ninety percent of all millionaires become so through owning real estate”\",\"mini\":\"true\",\"image\":{ source: '/assets/images/photos/commercial', formats: ['avif', 'webp', 'jpg'], fallback: 'jpg' }}}),_c('ContentRow',[_c('ContentContainer',[_c('SectionTitle',[_vm._v(\"Commercial\")]),_c('p',[_vm._v(\" Property Shop's Commercial division handles commercial properties in all suburbs throughout Cairns including investment, industrial, retail, office, hotel and leisure. \")]),_c('p',[_vm._v(\" Whether you are an investor, developer or owner-occupier we offer a wealth of specialised knowledge and expertise to provide solutions for your commercial property requirements in order to enhance your investments. \")]),_c('p',[_vm._v(\" The prime CBD positioning of the Property Shop allows our team swift access to all inner and surrounding Cairns City areas. We closely monitor sales figures and rental levels throughout all commercial segments to ensure that our clients stay informed on the most relevant information at all times. \")]),_c('p',[_vm._v(\" Our team offer knowledge and expertise across all aspects involved in the sale and leasing of commercial property; for a confidential consultation contact our commercial division manager Ben Johnston on 0416 056 357 or email ben@property-shop.com.au. \")])],1)],1),_c('ContentRow',{attrs:{\"noPadding\":true}},[(_vm.listingFilter)?_c('Listings',{attrs:{\"filter\":_vm.listingFilter,\"infiniteScroll\":true}}):_vm._e()],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\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Mixins, Watch } from 'vue-property-decorator';\nimport { ListingFilter, ListingOrderBy } from 'client-website-ts-library/filters';\nimport { View } from 'client-website-ts-library/plugins';\nimport { ListingCategory, ListingStatus, MethodOfSale, PropertyCategory } from 'client-website-ts-library/types';\n\nimport Listings from '../components/Listings.vue';\nimport ListingSearch from '../components/ListingSearch.vue';\n\n@Component({\n components: {\n Listings,\n ListingSearch,\n },\n})\nexport default class PropertiesCommercial extends Mixins(View) {\n private listingFilter: ListingFilter | null = null;\n\n mounted() {\n this.updateFilter();\n }\n\n @Watch('$route.query')\n updateFilter() {\n let propertyCategories: PropertyCategory[] = [];\n\n if (this.$route.query.ListingCategory) {\n // eslint-disable-next-line radix\n propertyCategories = (this.$route.query.ListingCategory! as string).split(',').map((v) => parseInt(v) as PropertyCategory);\n }\n\n const filter = new ListingFilter({\n PropertyCategories: propertyCategories,\n Statuses: [\n ListingStatus.Current,\n ListingStatus.UnderContract,\n ],\n Categories: [\n ListingCategory.Commercial,\n ListingCategory.CommercialLand,\n ListingCategory.Business,\n ],\n MethodsOfSale: [\n MethodOfSale.Sale,\n MethodOfSale.Lease,\n MethodOfSale.Both,\n MethodOfSale.Auction,\n MethodOfSale.Tender,\n MethodOfSale.EOI,\n MethodOfSale.ForSale,\n MethodOfSale.Offers,\n ],\n PageSize: 9,\n OrderByStatements: [\n ListingOrderBy.CreateDateDesc,\n ],\n });\n\n if (this.$route.query.keywordOptions) {\n const keywordOpts = (this.$route.query.keywordOptions as string).split('|').map((opt) => {\n const split = opt.split(':');\n\n return {\n Type: split[0],\n Value: split[1],\n };\n });\n\n filter.Suburbs = keywordOpts.filter((opt) => opt.Type === 'suburb').map((opt) => opt.Value);\n\n const categories = keywordOpts.filter((opt) => opt.Type === 'categories').map((opt) => parseInt(opt.Value, 10));\n\n if (categories.length > 0) {\n filter.PropertyCategories = categories;\n }\n\n const searchVal = keywordOpts.find((opt) => opt.Type === 'search');\n\n if (searchVal) {\n filter.SearchTerm = searchVal.Value;\n }\n }\n\n if (this.$route.query.areaMin) filter.MinFloorArea = this.$route.query.areaMin as string;\n if (this.$route.query.areaMax) filter.MaxFloorArea = this.$route.query.areaMax as string;\n\n if (this.$route.query.priceMin) filter.MinPrice = this.$route.query.priceMin as string;\n if (this.$route.query.priceMax) filter.MaxPrice = this.$route.query.priceMax as string;\n if (this.$route.query.suburbs) filter.Suburbs = (this.$route.query.suburbs as string).split('|');\n\n if (this.$route.query.isVacantPosession) filter.IsVacant = true;\n if (this.$route.query.isTenanted) filter.IsTenanted = true;\n if (this.$route.query.isStandalone) filter.IsWholeBuilding = true;\n if (this.$route.query.isStrata) filter.IsVacant = true;\n\n this.listingFilter = filter;\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!./PropertiesCommercial.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!./PropertiesCommercial.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PropertiesCommercial.vue?vue&type=template&id=65ec5b98&scoped=true&\"\nimport script from \"./PropertiesCommercial.vue?vue&type=script&lang=ts&\"\nexport * from \"./PropertiesCommercial.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./PropertiesCommercial.vue?vue&type=style&index=0&id=65ec5b98&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 \"65ec5b98\",\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!./PropertiesCommercial.vue?vue&type=style&index=0&id=65ec5b98&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!./PropertiesCommercial.vue?vue&type=style&index=0&id=65ec5b98&scoped=true&lang=css&\""],"sourceRoot":""}