{"version":3,"sources":["webpack:///./src/views/Experiences.vue?9c22","webpack:///./src/views/Experiences.vue?fd3d","webpack:///./src/components/ExperienceCardSkeleton.vue?36df","webpack:///./src/components/ExperienceCardSkeleton.vue","webpack:///./src/components/ExperienceCardSkeleton.vue?351d","webpack:///./src/components/ExperienceCardSkeleton.vue?ed9d","webpack:///./src/components/ExperienceCard.vue?df31","webpack:///./src/components/ExperienceCard.vue","webpack:///./src/components/ExperienceCard.vue?2b95","webpack:///./src/components/ExperienceCard.vue?bf7b","webpack:///./src/services/modules/experience.ts","webpack:///./src/composition/experiences.ts","webpack:///./src/views/Experiences.vue","webpack:///./src/views/Experiences.vue?de6f","webpack:///./src/views/Experiences.vue?b5c8","webpack:///./src/views/Experiences.vue?10b7","webpack:///./src/composition/service.ts","webpack:///./src/components/SiteSection.vue?27d5","webpack:///./src/components/SiteSection.vue","webpack:///./src/components/SiteSection.vue?e0fb","webpack:///./src/components/SiteSection.vue?232e"],"names":["render","_vm","this","_h","$createElement","_c","_self","scopedSlots","_u","key","fn","staticClass","attrs","proxy","categoryFilterByPlaceholder","categoryFilterByOptions","model","value","callback","$$v","categoryFilterBy","expression","_l","n","experience","experienceId","staticRenderFns","name","component","image","title","categoryViewModel","toneViewModel","_v","_s","iconViewModel","description","addressViewModel","lineOne","formattedPhone","_e","website","props","type","Object","required","phoneNumber","controller","createExperienceService","client","params","get","action","experienceService","base","useExperiences","request","languageId","guid","components","SiteSection","ExperienceCardSkeleton","ExperienceCard","rowsPerPageExperience","data","experienceList","isLoading","isLoadingExperienceList","records","categoryId","values","i18n","t","filteredExperienceList","filterBy","filter","module","exports","Component","options","__i18n","push","_Ctor","useService","getKey","fetcher","error","async","getFn","response","Array","isArray","e","retry","deep","immediate","class","masked","_t","Boolean","default"],"mappings":"iHAAA,yBAAqR,eAAG,G,yCCAxR,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG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LuD,OAAQ,CACNtD,KAAMwD,QACNC,SAAS,MCxCuX,I,YCOlYxE,EAAY,eACd,EACA5B,EACA0B,GACA,EACA,KACA,KACA,MAIa,OAAAE,E","file":"js/Experiences.vue.16af643f.js","sourcesContent":["import mod from \"-!../../node_modules/@intlify/vue-i18n-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Experiences.vue?vue&type=custom&index=0&blockType=i18n&lang=json\"; export default mod; export * from \"-!../../node_modules/@intlify/vue-i18n-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Experiences.vue?vue&type=custom&index=0&blockType=i18n&lang=json\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('BaseBox',[_c('SiteSection',{scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('BaseBox',{staticClass:\"grid gap-16 px-4\"},[_c('BaseBox',{staticClass:\"grid gap-6 md:grid-cols-4 md:items-end\"},[_c('BaseBox',{staticClass:\"grid gap-10 md:col-span-3\"},[_c('BaseBox',{attrs:{\"tag\":\"header\"}},[_c('BaseHeading',{staticClass:\"text-4xl font-semibold\",attrs:{\"level\":1}},[_c('i18n',{attrs:{\"tag\":false,\"path\":\"title\"}})],1)],1),_c('BaseText',{staticClass:\"text-lg\",attrs:{\"tag\":\"p\"}},[_c('i18n',{attrs:{\"tag\":false,\"path\":\"copy\"},scopedSlots:_vm._u([{key:\"br\",fn:function(){return [_c('br')]},proxy:true}])})],1)],1),_c('BaseBox',{staticClass:\"bg-gray-100 p-4 rounded-lg\"},[(_vm.isLoadingExperienceList)?[_c('BaseBox',{staticClass:\"animate-pulse bg-gray-50 h-10\"})]:[_c('BaseSelect',{attrs:{\"placeholder\":_vm.categoryFilterByPlaceholder,\"options\":_vm.categoryFilterByOptions,\"show-labels\":false,\"track-by\":\"categoryId\",\"label\":\"title\"},model:{value:(_vm.categoryFilterBy),callback:function ($$v) {_vm.categoryFilterBy=$$v},expression:\"categoryFilterBy\"}})]],2)],1),_c('BaseBox',{staticClass:\"grid gap-9 2xl:grid-cols-2\"},[(_vm.isLoadingExperienceList)?_vm._l((_vm.rowsPerPageExperience),function(n){return _c('ExperienceCardSkeleton',{key:n})}):_vm._l((_vm.filteredExperienceList),function(experience){return _c('ExperienceCard',{key:experience.experienceId,attrs:{\"experience\":experience}})})],2)],1)]},proxy:true}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('BaseBox',{staticClass:\"\\n animate-pulse\\n bg-gray-200\\n grid\\n gap-6\\n rounded-lg\\n overflow-hidden\\n md:grid-cols-3\\n \"},[_c('BaseBox',{staticClass:\"\\n relative\\n aspect-w-16 aspect-h-9\\n md:aspect-w-1 md:aspect-h-1\\n bg-gray-300\\n \"},[_c('BaseBox',{staticClass:\"absolute inset-0 w-full p-6\"},[_c('BaseBox',{staticClass:\"bg-gray-50 w-20 h-4 rounded\"})],1)],1),_c('BaseBox',{staticClass:\"grid gap-4 p-6 content-start md:col-span-2\"},[_c('BaseBox',{staticClass:\"bg-gray-50 w-1/3 h-5 rounded\"}),_c('BaseBox',{staticClass:\"border border-gray-50 rounded-full\"}),_c('BaseBox',{staticClass:\"grid gap-2\"},[_c('BaseBox',{staticClass:\"bg-gray-50 h-4 rounded\"}),_c('BaseBox',{staticClass:\"bg-gray-50 h-4 rounded\"}),_c('BaseBox',{staticClass:\"bg-gray-50 w-4/5 h-4 rounded\"}),_c('BaseBox',{staticClass:\"bg-gray-50 w-3/4 h-4 rounded\"})],1)],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\n\n\n\n\n\nimport { defineComponent } from '@vue/composition-api'\n\nexport default defineComponent({\n name: 'ExperienceCardSkeleton',\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!./ExperienceCardSkeleton.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!./ExperienceCardSkeleton.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ExperienceCardSkeleton.vue?vue&type=template&id=69305afe&\"\nimport script from \"./ExperienceCardSkeleton.vue?vue&type=script&lang=ts&\"\nexport * from \"./ExperienceCardSkeleton.vue?vue&type=script&lang=ts&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('BaseBox',{staticClass:\"\\n grid\\n gap-6\\n rounded-lg\\n overflow-hidden\\n border-gray-300 border-opacity-50 border\\n transition-shadow\\n hover:shadow-xl\\n md:grid-cols-3\\n \"},[_c('BaseBox',{staticClass:\"\\n relative\\n aspect-w-16 aspect-h-9\\n md:aspect-w-1 md:aspect-h-1\\n bg-gray-200\\n \"},[_c('BaseImage',{staticClass:\"absolute w-full h-full object-cover\",attrs:{\"src\":_vm.experience.image,\"alt\":_vm.experience.title,\"loading\":\"lazy\",\"decoding\":\"async\"}}),_c('BaseBox',{staticClass:\"absolute inset-0 w-full p-6\"},[_c('BaseBadge',{attrs:{\"tone\":_vm.experience.categoryViewModel.toneViewModel.name}},[_c('BaseText',[_vm._v(\" \"+_vm._s(_vm.experience.categoryViewModel.title)+\" \")]),_c('BaseText',[_c('BaseIcon',{attrs:{\"name\":_vm.experience.categoryViewModel.iconViewModel.name,\"source\":\"custom\"}})],1)],1)],1)],1),_c('BaseBox',{staticClass:\"grid gap-4 p-6 content-start md:col-span-2\"},[_c('BaseHeading',{staticClass:\"text-lg font-semibold\",attrs:{\"level\":2}},[_c('BaseText',[_vm._v(\" \"+_vm._s(_vm.experience.title)+\" \")])],1),_c('BaseBox',{staticClass:\"border border-tertiary rounded-full\"}),_c('BaseText',[_vm._v(\" \"+_vm._s(_vm.experience.description)+\" \")]),(_vm.experience.addressViewModel)?[_c('BaseText',[_vm._v(\" \"+_vm._s(_vm.experience.addressViewModel.lineOne)+\" \")]),_c('BaseBox',[_c('BaseText',[_c('i18n',{attrs:{\"tag\":false,\"path\":\"reservations\"}}),_vm._v(\" – \")],1),_c('BaseLink',{attrs:{\"href\":(\"tel:\" + (_vm.experience.addressViewModel.phoneNumber))}},[_vm._v(\" \"+_vm._s(_vm.formattedPhone)+\" \")])],1)]:_vm._e(),(_vm.experience.website)?_c('BaseLink',{staticClass:\"text-tertiary\",attrs:{\"allow-insecure\":true,\"href\":_vm.experience.website}},[_vm._v(\" \"+_vm._s(_vm.experience.website)+\" \")]):_vm._e()],2)],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 { ExperienceViewModel } from '@/services/modules/experience'\nimport { formatPhoneNumber } from '@/utils/phone'\nimport { computed, defineComponent, PropType } from '@vue/composition-api'\n\nexport default defineComponent({\n name: 'ExperienceCard',\n\n props: {\n experience: {\n type: Object as PropType,\n required: true,\n },\n },\n\n setup(props) {\n const formattedPhone = computed(() =>\n props.experience.addressViewModel\n ? formatPhoneNumber(props.experience.addressViewModel.phoneNumber)\n : ''\n )\n\n return {\n formattedPhone,\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!./ExperienceCard.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!./ExperienceCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ExperienceCard.vue?vue&type=template&id=293f5586&\"\nimport script from \"./ExperienceCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./ExperienceCard.vue?vue&type=script&lang=ts&\"\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 { AxiosInstance } from 'axios'\nimport { api } from '../client'\nimport { serviceUrl } from '../utils'\nimport { ToneViewModel } from './property'\n\nconst controller = serviceUrl('experience')\n\nfunction createExperienceService(client: AxiosInstance) {\n return {\n get(params: ExperienceModel) {\n return client.get(controller.action('get'), {\n params,\n })\n },\n }\n}\n\nexport const experienceService = createExperienceService(api.base)\n\nexport interface ExperienceModel {\n languageId?: string\n}\n\nexport interface ExperienceViewModel {\n experienceId: string\n experienceKey: number\n name: string\n website: string\n image: string\n title: string\n description: string\n addressViewModel: AddressExperienceViewModel | null\n categoryViewModel: CategoryExperienceViewModel\n}\n\nexport interface AddressExperienceViewModel {\n addressId: string\n addressKey: number\n lineOne: string\n phoneNumber: string\n}\n\nexport interface CategoryExperienceViewModel {\n categoryId: string\n categoryKey: number\n name: string\n title: string\n toneViewModel: ToneViewModel\n iconViewModel: IconViewModel\n}\n\nexport interface IconViewModel {\n iconId: string\n iconKey: number\n name: string\n}\n","import {\n ExperienceModel,\n experienceService,\n} from '@/services/modules/experience'\nimport { currentLanguage } from '@/utils/language'\nimport { computed } from '@vue/composition-api'\nimport { useService } from './service'\n\nexport function useExperiences(model?: ExperienceModel) {\n const request = computed(() => ({\n languageId: currentLanguage.value.guid,\n ...model,\n }))\n\n return useService(request, () => experienceService.get(request.value))\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 SiteSection from '@/components/SiteSection.vue'\nimport ExperienceCardSkeleton from '@/components/ExperienceCardSkeleton.vue'\nimport ExperienceCard from '@/components/ExperienceCard.vue'\nimport { useExperiences } from '@/composition/experiences'\nimport { computed, defineComponent, ref } from '@vue/composition-api'\nimport { CategoryExperienceViewModel } from '@/services/modules/experience'\nimport i18n from '@/setup/i18n'\n\nexport default defineComponent({\n name: 'Experiences',\n\n components: {\n SiteSection,\n ExperienceCardSkeleton,\n ExperienceCard,\n },\n\n setup() {\n const rowsPerPageExperience = 8\n\n const { data: experienceList, isLoading: isLoadingExperienceList } =\n useExperiences()\n\n const categoryFilterBy = ref(null)\n const categoryFilterByOptions = computed(() => {\n const records: Record = {}\n for (const experience of experienceList.value) {\n if (records[experience.categoryViewModel.categoryId]) continue\n records[experience.categoryViewModel.categoryId] =\n experience.categoryViewModel\n }\n return Object.values(records)\n })\n const categoryFilterByPlaceholder = computed(() =>\n i18n.t('filterByPlaceholder')\n )\n\n const filteredExperienceList = computed(() => {\n const filterBy = categoryFilterBy.value\n if (!filterBy) return experienceList.value\n return experienceList.value.filter(\n (experience) =>\n experience.categoryViewModel.categoryId === filterBy.categoryId\n )\n })\n\n return {\n rowsPerPageExperience,\n experienceList,\n isLoadingExperienceList,\n categoryFilterBy,\n categoryFilterByOptions,\n categoryFilterByPlaceholder,\n filteredExperienceList,\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!./Experiences.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!./Experiences.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Experiences.vue?vue&type=template&id=38d076f5&\"\nimport script from \"./Experiences.vue?vue&type=script&lang=ts&\"\nexport * from \"./Experiences.vue?vue&type=script&lang=ts&\"\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\n/* custom blocks */\nimport block0 from \"./Experiences.vue?vue&type=custom&index=0&blockType=i18n&lang=json\"\nif (typeof block0 === 'function') block0(component)\n\nexport default component.exports","module.exports = function (Component) {\n Component.options.__i18n = Component.options.__i18n || []\n Component.options.__i18n.push('{\"en-US\":{\"title\":\"Experiences\",\"copy\":\"Get to know San Carlos from a locals perspective.\"},\"es-MX\":{\"title\":\"Experiences\",\"copy\":\"Conozca San Carlos desde la perspectiva de los residentes.\"}}')\n delete Component.options._Ctor\n}\n","import { Ref, ref, watch, WatchSource } from '@vue/composition-api'\nimport { AxiosResponse } from 'axios'\n\nexport function useService(\n getKey: WatchSource,\n fetcher: (...args: any) => Promise>\n) {\n const data = ref([]) as Ref\n const isLoading = ref(false)\n const error = ref(null)\n\n watch(getKey, getFn, {\n deep: true,\n immediate: true,\n })\n\n async function getFn() {\n try {\n isLoading.value = true\n const response = await fetcher()\n data.value = Array.isArray(response.data)\n ? response.data\n : [response.data]\n } catch (e) {\n error.value = e\n } finally {\n isLoading.value = false\n }\n }\n\n async function retry() {\n await getFn()\n }\n\n return {\n data,\n isLoading,\n error,\n retry,\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('BaseBox',{attrs:{\"tag\":\"section\"}},[_c('BaseBox',{class:['relative', { 'overflow-hidden': _vm.masked }]},[_c('BaseBox',{staticClass:\"absolute w-full h-full\"},[_vm._t(\"background\")],2),_vm._t(\"container\",function(){return [_c('BaseBox',{staticClass:\"relative flex justify-center\"},[_vm._t(\"layout-container\",function(){return [_c('BaseBox',{staticClass:\"\\n max-w-screen-lg\\n xl:max-w-screen-xl\\n 2xl:max-w-screen-2xl\\n 3xl:max-w-screen-3xl\\n w-full\\n \"},[_vm._t(\"layout\",function(){return [_c('BaseBox',{staticClass:\"py-14 lg:py-24 print:py-4\"},[_vm._t(\"default\")],2)]})],2)]})],2)]})],2)],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\nimport { defineComponent } from '@vue/composition-api'\n\nexport default defineComponent({\n name: 'SiteSection',\n\n props: {\n masked: {\n type: Boolean,\n default: true,\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!./SiteSection.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!./SiteSection.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SiteSection.vue?vue&type=template&id=4bad6bdd&\"\nimport script from \"./SiteSection.vue?vue&type=script&lang=ts&\"\nexport * from \"./SiteSection.vue?vue&type=script&lang=ts&\"\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"],"sourceRoot":""}