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AA,EAAAA,IAG+DyF,EAAA,CALnElH,IAAA,EAGenC,MAAM,0BACL,sBAAqBoB,EAAAkG,mBACrB,0BAAyBlG,EAAAmG,wBAAAA,KAAAA,EAAAA,CAAAA,sBAAAA,8BALzClC,EAAAA,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/local-map-with-list-page.vue","webpack://agra/./app/javascript/local/local-map-with-list-page.vue?ccfd","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 \"./local-map-with-list-page.vue?vue&type=template&id=53e722ae&scoped=true\"\nimport script from \"./local-map-with-list-page.vue?vue&type=script&lang=js\"\nexport * from \"./local-map-with-list-page.vue?vue&type=script&lang=js\"\n\nimport \"./local-map-with-list-page.vue?vue&type=style&index=0&id=53e722ae&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-53e722ae\"]])\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","groupCreationAllowed","showEventTypeFilter","showLabelFilter","showRegionFilter","footerMarkup","String","created","$store","commit","agraConfiguration","disablePublicEventCreation","_component_local_map_with_sidebar_page","filteredBoundaries","organisationBoundaries","searchStrategy","innerHTML","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","propFilters","f","includes","mapTilesProvider","_component_local_map","_component_local_list","ref"],"sourceRoot":""}