{"version":3,"sources":["webpack:///./src/components/items/UpcomingEventSelectionFilter.vue","webpack:///src/components/items/UpcomingEventSelectionFilter.vue","webpack:///./src/components/items/UpcomingEventSelectionFilter.vue?5788","webpack:///./src/components/items/UpcomingEventSelectionFilter.vue?a73f","webpack:///./src/mixins/radius.mixin.js","webpack:///./src/mixins/infiniteScroll.mixin.js","webpack:///./src/mixins/refresh.mixin.js","webpack:///./node_modules/@capacitor/geolocation/dist/esm/index.js","webpack:///./src/mixins/setUserPosition.mixin.js","webpack:///./src/mixins/AutoRefreshTimer.mixin.js","webpack:///./src/mixins/HumanDiff.mixin.js","webpack:///./src/mixins/getLocation.js","webpack:///./src/components/Popover.vue","webpack:///src/components/Popover.vue","webpack:///./src/components/Popover.vue?abf7","webpack:///./src/components/Popover.vue?e354","webpack:///./src/mixins/PopOver.js","webpack:///./src/views/facilities/AllUpcomingEvents.vue","webpack:///src/views/facilities/AllUpcomingEvents.vue","webpack:///./src/views/facilities/AllUpcomingEvents.vue?8648","webpack:///./src/views/facilities/AllUpcomingEvents.vue?3cc0","webpack:///./src/components/items/EventItem.vue","webpack:///src/components/items/EventItem.vue","webpack:///./src/components/items/EventItem.vue?ba15","webpack:///./src/components/items/EventItem.vue?87d8"],"names":["render","_vm","this","_c","_self","_v","_s","$t","staticClass","on","chooseFilter","selectedFilter","label","staticRenderFns","emits","props","defaultFilterBy","type","String","default","data","_this$defaultFilterBy","filterBy","filterOptions","key","computed","_this","find","option","methods","choose","$event","_this2","_asyncToGenerator","_regeneratorRuntime","mark","_callee","wrap","_context","prev","next","selectedOption","event","sent","abrupt","$emit","stop","component","RadiusMixin","radius","radiusSliderOpened","initialRadius","newRadius","Preferences","get","value","JSON","parse","changeRadius","_callee2","_context2","target","set","stringify","infiniteScrollMixin","page","loadingMore","resetInfiniteScroll","loadMore","modelName","previousVariables","paginatorInfo","hasMorePages","complete","$apollo","queries","previousVariablesJson","fetchMore","variables","_objectSpread","updateQuery","previousResult","_ref","fetchMoreResult","_defineProperty","__typename","concat","_toConsumableArray","refreshMixin","doRefresh","model","refetch","Geolocation","web","then","m","GeolocationWeb","setUserPositionMixin","latitude","longitude","setUserPosition","_position$coords","position","getCurrentPosition","enableHighAccuracy","coords","t0","code","displayGeolocationWarning","captureException","REMINDER_DELAY","now","storageValue","remindAfterTime","Date","GEOLOCATION_REMIND_AFTER","parseInt","toString","$ionic","toastController","create","color","message","showCloseButton","toast","present","AutoRefreshTimer","autoRefreshTimer","autoRefreshInterval","autoRefreshState","autoRefreshFunction","mounted","setInterval","onAutoRefresh","beforeDestroy","clearInterval","HumanDiff","humanDiff","suffix","arguments","length","undefined","tz","APP_DEFAULTS","DEFAULT_TIMEZONE","realSeconds","moment","diff","humanize","ss","getLocation","location","name","getLocationValueOrError","city","street","state","country","number","zip_code","object","Error","title","_l","items","item","id","clickItem","system_name","selected","attrs","slot","_e","Type","Array","dismiss","Function","required","selectItem","currentPopover","popOver","dismissPopover","popoverController","Popover","componentProps","parent","propsData","translucent","p","loading","getUpcomingFacilityEvents","scopedSlots","_u","fn","changeFilter","proxy","openSingleEvent","components","GoBackHeader","List","EventItem","UpcomingEventSelectionFilter","mixins","$router","push","$routeNames","EVENT","params","filterOption","apollo","query","GET_UPCOMING_FACILITY_EVENTS","defaultPaginationConfig","facility_id","filter_by","isButton","$apiStorageUrl","image","_f","held_at","organizer","showFacility","host_facility","cancelled_at","eventSoldOut","eventIsOpen","Boolean","Object","_event$event_category","event_category","noTicketsAvailable","noProductsAvailable"],"mappings":"kHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,kBAAkB,CAACA,EAAG,YAAY,CAACF,EAAII,GAAGJ,EAAIK,GAAGL,EAAIM,GAAG,mBAAmB,OAAOJ,EAAG,aAAa,CAACK,YAAY,YAAYC,GAAG,CAAC,MAAQR,EAAIS,eAAe,CAACP,EAAG,WAAW,CAACF,EAAII,GAAG,IAAIJ,EAAIK,GAAGL,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B,QAAQ,IAAa,IAAI,IAEx1CM,EAAkB,G,YCwCP,GACfE,MAAA,CACAwM,SAAA,CACAtM,KAAAiN,QACA/M,SAAA,GAEAuB,MAAA,CACAuI,UAAA,EACAhK,KAAAkN,QAEAN,aAAA,CACA5M,KAAAiN,QACA/M,SAAA,IAGAU,QAAA,CACAoM,YAAA,SAAAvL,GACA,OAAAuL,eAAAvL,IAEAsL,aAAA,SAAAtL,GAAA,IAAA0L,EAEA,+BAAAA,EAAA1L,EAAA2L,sBAAA,IAAAD,OAAA,EAAAA,EAAA5E,UAIAwE,eAAAtL,IAAA4L,eAAA5L,IAAA6L,eAAA7L,OCnEwa,I,YCOpaK,EAAY,eACd,EACA/C,EACAa,GACA,EACA,KACA,KACA,MAIa,OAAAkC,E","file":"js/chunk-631c1264.8e84b0a5.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('ion-list-header',[_c('ion-label',[_vm._v(_vm._s(_vm.$t('filtereventsby'))+\":\")]),_c('ion-button',{staticClass:\"left-auto\",on:{\"click\":_vm.chooseFilter}},[_c('ion-text',[_vm._v(\" \"+_vm._s(_vm.selectedFilter.label)+\" \")])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n {{ $t('filtereventsby') }}:\n \n \n {{ selectedFilter.label }}\n \n \n \n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpcomingEventSelectionFilter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpcomingEventSelectionFilter.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UpcomingEventSelectionFilter.vue?vue&type=template&id=19a60094&\"\nimport script from \"./UpcomingEventSelectionFilter.vue?vue&type=script&lang=js&\"\nexport * from \"./UpcomingEventSelectionFilter.vue?vue&type=script&lang=js&\"\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 { Preferences } from '@capacitor/preferences';\n\nexport const RadiusMixin = {\n data() {\n return {\n radius: 200,\n radiusSliderOpened: false,\n }\n },\n methods: {\n async initialRadius(key) {\n const radius = await Preferences.get({ key: key });\n\n const newRadius = radius.value;\n if(newRadius) {\n this.radius = JSON.parse(newRadius);\n }\n },\n async changeRadius(event, key) {\n this.radius = event.target.value\n\n await Preferences.set({ key: key, value: JSON.stringify(this.radius) });\n }\n },\n}","export const infiniteScrollMixin = {\n data() {\n return {\n page: 1,\n loadingMore: true,\n }\n },\n methods: {\n resetInfiniteScroll() {\n this.page = 1;\n this.loadingMore = true;\n },\n async loadMore(event, modelName) {\n if(!this[modelName].paginatorInfo.hasMorePages) {\n event.target.complete();\n this.loadingMore = false;\n return;\n }\n this.page++;\n\n let previousVariables = JSON.parse(this.$apollo.queries[modelName].previousVariablesJson);\n await this.$apollo.queries[modelName].fetchMore({\n variables: {\n ...previousVariables,\n page: this.page\n },\n updateQuery: (previousResult, { fetchMoreResult }) => {\n return {\n [modelName]: {\n __typename: previousResult[modelName].__typename,\n data: [...previousResult[modelName].data, ...fetchMoreResult[modelName].data],\n paginatorInfo: fetchMoreResult[modelName].paginatorInfo\n }\n }\n },\n\n });\n\n event.target.complete();\n },\n }\n}\n","export const refreshMixin = {\n methods: {\n async doRefresh(event, model) {\n await this.$apollo.queries[model].refetch();\n event.target.complete()\n },\n }\n}","import { registerPlugin } from '@capacitor/core';\nconst Geolocation = registerPlugin('Geolocation', {\n web: () => import('./web').then(m => new m.GeolocationWeb()),\n});\nexport * from './definitions';\nexport { Geolocation };\n//# sourceMappingURL=index.js.map","import { captureException } from \"@/utils/captureException\";\nimport { Preferences } from '@capacitor/preferences';\nimport { Geolocation } from '@capacitor/geolocation';\nimport { GEOLOCATION_REMIND_AFTER } from \"@/configs\";\n\nexport const setUserPositionMixin = {\n\n data() {\n return {\n latitude: null,\n longitude: null,\n }\n },\n methods: {\n async setUserPosition() {\n try {\n const position = await Geolocation.getCurrentPosition({ enableHighAccuracy: true });\n\n if(position?.coords?.latitude) {\n this.latitude = position.coords.latitude;\n this.longitude = position.coords.longitude;\n }\n } catch(error) {\n if(error?.code === 1) {\n\n await this.displayGeolocationWarning();\n\n }\n captureException(error);\n }\n },\n async displayGeolocationWarning() {\n const REMINDER_DELAY = 30 * 24 * 3600 * 1000; // Snooze for 30 days\n const now = Date.now();\n\n const storageValue = await Preferences.get({key: GEOLOCATION_REMIND_AFTER});\n const remindAfterTime = parseInt( storageValue?.value || '0' );\n\n if (remindAfterTime > now) {\n return;\n }\n\n await Preferences.set({key: GEOLOCATION_REMIND_AFTER, value: (now + REMINDER_DELAY).toString()});\n\n this.$ionic.toastController.create({\n color: 'danger',\n message: this.$t('youhavedisabledgeolocation'),\n showCloseButton: true,\n }).then( toast => toast.present() );\n }\n }\n}\n","/**\n * This creates an auto-refresh timer with a given interval (defaults to 2 seconds)\n *\n * Use the `autoRefreshState` inside your computed property to refresh that property automatically.\n */\nexport const AutoRefreshTimer = {\n data() {\n return {\n autoRefreshTimer: null,\n autoRefreshInterval: 1000,\n autoRefreshState: false, // RefreshTicker will flip between true and false, and will be used to refresh our UI\n autoRefreshFunction: null,\n }\n },\n\n mounted() {\n this.autoRefreshTimer = setInterval(this.onAutoRefresh, this.autoRefreshInterval);\n },\n\n beforeDestroy() {\n clearInterval(this.autoRefreshTimer);\n },\n\n methods: {\n onAutoRefresh() {\n this.autoRefreshState = !this.autoRefreshState;\n }\n }\n}\n","import * as moment from \"moment-timezone\";\nimport { APP_DEFAULTS } from \"@/configs\";\n\nexport const HumanDiff = {\n methods: {\n humanDiff(value, suffix = false, tz = APP_DEFAULTS.DEFAULT_TIMEZONE) {\n if (!value) {\n return null;\n }\n\n const realSeconds = moment.tz(String(value), tz).diff(moment(), 'seconds');\n\n return moment.duration(realSeconds, 'seconds').humanize(suffix, {ss: -1});\n }\n }\n}\n","export default {\n methods: {\n getLocation(location) {\n return {\n name: this.getLocationValueOrError(location, 'name'),\n latitude: this.getLocationValueOrError(location, 'latitude'),\n longitude: this.getLocationValueOrError(location, 'longitude'),\n city: this.getLocationValueOrError(location, 'city'),\n street: this.getLocationValueOrError(location, 'street'),\n state: this.getLocationValueOrError(location, 'state'),\n country: this.getLocationValueOrError(location, 'country'),\n number: this.getLocationValueOrError(location, 'number'),\n zip_code: this.getLocationValueOrError(location, 'zipcode'),\n }\n },\n getLocationValueOrError(object, name) {\n if(object[name] !== undefined) {\n return object[name];\n } else {\n throw Error(`Location ${name} is not defined.`);\n }\n }\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('ion-list',[_c('ion-list-header',[_c('ion-label',[_vm._v(_vm._s(_vm.title))])],1),_vm._l((_vm.items),function(item){return _c('ion-item',{key:item.id,on:{\"click\":function($event){return _vm.clickItem(item)}}},[_vm._v(\" \"+_vm._s(item.title)+\" \"),(item.system_name == _vm.selected)?_c('ion-icon',{attrs:{\"slot\":\"end\",\"name\":\"checkmark\"},slot:\"end\"}):_vm._e()],1)})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n {{ title }}\n \n \n {{ item.title }}\n \n \n \n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Popover.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Popover.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Popover.vue?vue&type=template&id=572ce75c&\"\nimport script from \"./Popover.vue?vue&type=script&lang=js&\"\nexport * from \"./Popover.vue?vue&type=script&lang=js&\"\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 Popover from '@/components/Popover'\n\nexport default {\n methods: {\n data() {\n return {\n currentPopover: null\n }\n },\n popOver(event, props = {}) {\n props.dismiss = this.dismissPopover;\n\n return this.$ionic.popoverController.create({\n component: Popover,\n componentProps: {\n parent: this,\n propsData: props\n },\n translucent: false,\n event\n })\n .then(\n p => {\n p.present()\n this.currentPopover = p\n }\n )\n },\n dismissPopover() {\n if(this.currentPopover) {\n this.currentPopover.dismiss().then(() => {\n this.currentPopover = null;\n })\n }\n }\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('ion-page',{staticClass:\"ion-page\"},[_c('GoBackHeader',{attrs:{\"default-href\":`/facilities/${_vm.id}`}}),_c('ion-content',[_c('Refresher',{on:{\"refresh\":function($event){return _vm.doRefresh($event, 'getUpcomingFacilityEvents')}}}),_c('List',{attrs:{\"header\":_vm.$t('allupcomingevents'),\"not-found-message\":_vm.$t('noupcomingeventslabel'),\"loading\":_vm.$apollo.loading && !_vm.getUpcomingFacilityEvents,\"loading-more\":_vm.loadingMore},on:{\"loadMore\":function($event){return _vm.loadMore($event, 'getUpcomingFacilityEvents')}},scopedSlots:_vm._u([{key:\"top\",fn:function(){return [_c('UpcomingEventSelectionFilter',{attrs:{\"default-filter-by\":\"ALL\"},on:{\"change\":_vm.changeFilter}})]},proxy:true}])},[(_vm.getUpcomingFacilityEvents && _vm.getUpcomingFacilityEvents.data && _vm.getUpcomingFacilityEvents.data.length)?_vm._l((_vm.getUpcomingFacilityEvents.data),function(event){return _c('div',{key:event.id,on:{\"click\":function($event){return _vm.openSingleEvent(event.id)}}},[_c('EventItem',{key:event.id,attrs:{\"event\":event,\"button\":\"\"}})],1)}):_vm._e()],2)],1)],1)\n}\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","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AllUpcomingEvents.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AllUpcomingEvents.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AllUpcomingEvents.vue?vue&type=template&id=1edb0336&\"\nimport script from \"./AllUpcomingEvents.vue?vue&type=script&lang=js&\"\nexport * from \"./AllUpcomingEvents.vue?vue&type=script&lang=js&\"\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 render(){var _vm=this,_c=_vm._self._c;return _c('ion-item',{attrs:{\"button\":_vm.isButton}},[_c('ion-thumbnail',{attrs:{\"slot\":\"start\"},slot:\"start\"},[_c('img',{attrs:{\"src\":`${_vm.$apiStorageUrl}/${_vm.event.image}`}})]),_c('ion-label',{attrs:{\"text-wrap\":\"\"}},[_c('h3',[_c('ion-text',{attrs:{\"color\":\"moto\"}},[_vm._v(\" \"+_vm._s(_vm._f(\"formatDateTime\")(_vm.event.held_at))+\" \")])],1),_c('ion-text',[_c('h2',[_vm._v(_vm._s(_vm.event.title))])]),(_vm.event.organizer && _vm.showFacility)?_c('div',[_c('p',[_vm._v(_vm._s(_vm.event.organizer.name)+\" \"),(_vm.event.host_facility)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.$t('hostedby'))+\": \"+_vm._s(_vm.event.host_facility.name)+\")\")]):_vm._e()])]):_vm._e(),(_vm.event.cancelled_at)?_c('ion-badge',{attrs:{\"slot\":\"end\",\"color\":\"danger\"},slot:\"end\"},[_c('ion-text',{staticClass:\"text-sm\"},[_vm._v(\" \"+_vm._s(_vm.$t('cancelledstatus'))+\" \")])],1):_vm._e(),(!_vm.event.cancelled_at && _vm.eventSoldOut(_vm.event))?_c('ion-badge',{attrs:{\"slot\":\"end\",\"color\":\"medium\"},slot:\"end\"},[_c('ion-text',{staticClass:\"text-xs\"},[_vm._v(\" \"+_vm._s(_vm.$t('soldoutstatus'))+\" \")])],1):_vm._e(),(!_vm.event.cancelled_at && !_vm.eventIsOpen(_vm.event))?_c('ion-badge',{attrs:{\"slot\":\"end\",\"color\":\"medium\"},slot:\"end\"},[_c('ion-text',{staticClass:\"text-xs\"},[_vm._v(\" \"+_vm._s(_vm.$t('salenotstarted'))+\" \")])],1):_vm._e()],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n \n {{ event.held_at|formatDateTime }}\n \n \n \n {{ event.title }}\n \n\n \n {{ event.organizer.name }} ({{ $t('hostedby') }}: {{ event.host_facility.name }})\n \n\n \n \n {{ $t('cancelledstatus') }}\n \n \n \n \n {{ $t('soldoutstatus') }}\n \n \n \n \n {{ $t('salenotstarted') }}\n \n \n \n \n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EventItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EventItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EventItem.vue?vue&type=template&id=838c6d76&\"\nimport script from \"./EventItem.vue?vue&type=script&lang=js&\"\nexport * from \"./EventItem.vue?vue&type=script&lang=js&\"\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":""}
{{ event.organizer.name }} ({{ $t('hostedby') }}: {{ event.host_facility.name }})