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EAAAA,IAAA,oBAAApB,EAAAA,EAAAA,QAMI8B,EAAAA,EAAAA,IASauD,EAAA,CATDC,IAAI,OACJvJ,MAAM,UACL,uBAAsBoB,EAAAuD,mBACtB,mBAAkBvD,EAAAkE,eAClB,2BAA0BlE,EAAAyE,uBAC1BQ,WAAUjF,EAAAiF,YAAAA,CACV,kBAAcrC,EAAAA,EAAAA,KACvB,IAA8B,EAA9BtC,EAAAA,EAAAA,IAA8BN,EAAAO,OAAA,yBAAAC,GAAA,MAbtCwC,EAAA,8FCO4E,CAAC,YAAY,oB","sources":["webpack://agra/./app/javascript/local/local-list.vue","webpack://agra/./app/javascript/local/type-filter.vue","webpack://agra/./app/javascript/local/type-filter-button.vue","webpack://agra/./app/javascript/local/type-filter-button.vue?66ba","webpack://agra/./app/javascript/local/type-filter.vue?ef2e","webpack://agra/./app/javascript/local/local-list.vue?6036","webpack://agra/./app/javascript/local/partnership-events-list.vue","webpack://agra/./app/javascript/local/partnership-events-list.vue?fb8c","webpack://agra/./app/javascript/local/with-local-list-mixin.js","webpack://agra/./app/javascript/local/local-map-with-sidebar-page.vue","webpack://agra/./app/javascript/local/local-map-with-sidebar-page.vue?9534"],"sourcesContent":["\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./type-filter-button.vue?vue&type=template&id=6ab363a9&scoped=true\"\nimport script from \"./type-filter-button.vue?vue&type=script&lang=js\"\nexport * from \"./type-filter-button.vue?vue&type=script&lang=js\"\n\nimport \"./type-filter-button.vue?vue&type=style&index=0&id=6ab363a9&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6ab363a9\"]])\n\nexport default __exports__","import { render } from \"./type-filter.vue?vue&type=template&id=64cc83ec&scoped=true\"\nimport script from \"./type-filter.vue?vue&type=script&lang=js\"\nexport * from \"./type-filter.vue?vue&type=script&lang=js\"\n\nimport \"./type-filter.vue?vue&type=style&index=0&id=64cc83ec&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-64cc83ec\"]])\n\nexport default __exports__","import { render } from \"./local-list.vue?vue&type=template&id=0a00e174&scoped=true\"\nimport script from \"./local-list.vue?vue&type=script&lang=js\"\nexport * from \"./local-list.vue?vue&type=script&lang=js\"\n\nimport \"./local-list.vue?vue&type=style&index=0&id=0a00e174&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0a00e174\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./partnership-events-list.vue?vue&type=template&id=0633e970&scoped=true\"\nimport script from \"./partnership-events-list.vue?vue&type=script&lang=js\"\nexport * from \"./partnership-events-list.vue?vue&type=script&lang=js\"\n\nimport \"./partnership-events-list.vue?vue&type=style&index=0&id=0633e970&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0633e970\"]])\n\nexport default __exports__","import {\n FILTER_KEY_CALENDARS,\n FILTER_KEY_EVENT_TYPES,\n FILTER_KEY_GEOGRAPHY_SLUGS,\n FILTER_KEY_INCLUDE_VIRTUAL,\n FILTER_KEY_LABELS,\n FILTER_KEY_LOCATION,\n FILTER_KEY_REGIONS,\n FILTER_KEY_START_DATE_RANGE,\n FILTER_KEY_TYPES,\n FILTER_KEY_UPCOMING_ONLY\n} from './filter-keys'\n\nexport const withLocalListMixin = {\n props: {\n filterOptions: {\n type: Object,\n required: true\n },\n includeSearchField: {\n type: Boolean,\n required: false,\n default: true\n },\n showEventTypeFilter: {\n type: Boolean,\n required: true\n },\n showLabelFilter: {\n type: Boolean,\n required: true\n },\n showRegionFilter: {\n type: Boolean,\n required: true\n },\n showTypeFilter: {\n type: Boolean,\n required: true\n }\n },\n\n data() {\n return {\n urlFilterKeys: [FILTER_KEY_CALENDARS, FILTER_KEY_EVENT_TYPES, FILTER_KEY_GEOGRAPHY_SLUGS, FILTER_KEY_INCLUDE_VIRTUAL,\n FILTER_KEY_LABELS, FILTER_KEY_LOCATION, FILTER_KEY_REGIONS, FILTER_KEY_START_DATE_RANGE,\n FILTER_KEY_TYPES, FILTER_KEY_UPCOMING_ONLY]\n }\n },\n\n created() {\n this.$store.commit('setUrlFilterKeys', this.urlFilterKeys)\n this.$store.commit('setSearchStrategy', this.searchStrategy)\n this.$store.commit('setOptionsFromUrlAndFilters', this.propFiltersNotForUrl)\n this.$store.commit('setFilterOptions', this.filterOptions)\n this.$store.dispatch('loadDataFromUrl')\n },\n\n computed: {\n allowedAdvancedFilters() {\n const allowed = [FILTER_KEY_INCLUDE_VIRTUAL, FILTER_KEY_START_DATE_RANGE]\n\n if (this.showEventTypeFilter) {\n allowed.push(FILTER_KEY_EVENT_TYPES)\n }\n\n if (this.showLabelFilter) {\n allowed.push(FILTER_KEY_LABELS)\n }\n\n if (this.showRegionFilter) {\n allowed.push(FILTER_KEY_REGIONS)\n }\n\n return allowed\n }\n },\n\n methods: {\n onPaginate() {\n this.$refs.list.$el.scrollTop = 0\n }\n }\n}\n","\n\n\n\n\n","import { render } from \"./local-map-with-sidebar-page.vue?vue&type=template&id=4bc0f655&scoped=true\"\nimport script from \"./local-map-with-sidebar-page.vue?vue&type=script&lang=js\"\nexport * from \"./local-map-with-sidebar-page.vue?vue&type=script&lang=js\"\n\nimport \"./local-map-with-sidebar-page.vue?vue&type=style&index=0&id=4bc0f655&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4bc0f655\"]])\n\nexport default __exports__"],"names":["class","props","active","type","Boolean","required","colorIndex","Number","default","emits","ALL_TYPES","TYPE_TO_I18N_KEY_MAP","event","group","components","TypeFilterButton","_createElementBlock","role","_normalizeClass","$props","_ctx","classFromColorIndex","onClick","_cache","$event","$emit","_renderSlot","$slots","undefined","initialTypes","Array","data","typeConfigs","map","typeName","key","labelKey","computed","displayStatusByType","typesArray","obj","forEach","typesArrayToObject","this","methods","toggle","newTypesObject","some","Object","entries","filter","_k","v","k","_v","_hoisted_1","_Fragment","_renderList","$data","t","_createBlock","_component_TypeFilterButton","colorIndexForType","$options","_withCtx","_createTextVNode","_toDisplayString","i18n","_","AdvancedFiltersSection","LocationList","SearchBar","TypeFilter","mixins","localListMixin","includeSearchField","mapState","_createElementVNode","_hoisted_2","_component_search_bar","locationQuery","onSearch","applyLocationFilter","title","_hoisted_3","_createCommentVNode","showTypeFilter","_component_TypeFilter","typeQuery","onChange","applyTypeFilter","showAdvancedFilters","_component_advanced_filters_section","allowedAdvancedFilters","applyAdvancedFilterChange","_createVNode","_component_location_list","translucent","isLoadingList","locations","detailedLocations","onPaginate","LocalMapWithSidebarPage","GeoipCountryMixin","sharedMapPropsMixin","filterOptions","partnershipSlug","String","showEventTypeFilter","showLabelFilter","showRegionFilter","propFilters","FILTER_KEY_PARTNERSHIP","value","created","$store","commit","partner","_component_local_map_with_sidebar_page","organisationBoundaries","searchStrategy","withLocalListMixin","urlFilterKeys","FILTER_KEY_CALENDARS","FILTER_KEY_EVENT_TYPES","FILTER_KEY_GEOGRAPHY_SLUGS","FILTER_KEY_INCLUDE_VIRTUAL","FILTER_KEY_LABELS","FILTER_KEY_LOCATION","FILTER_KEY_REGIONS","FILTER_KEY_START_DATE_RANGE","FILTER_KEY_TYPES","FILTER_KEY_UPCOMING_ONLY","propFiltersNotForUrl","dispatch","allowed","push","$refs","list","$el","scrollTop","LocalList","LocalMap","sharedLocalListPropsMixin","f","includes","agraConfiguration","mapTilesProvider","_component_local_map","filteredBoundaries","_component_local_list","ref"],"sourceRoot":""}