{"version":3,"file":"EducationOverview.vue.bundle.js","sources":["../../../Frontend/vue/components/EducationOverview/filterItem.vue","../../../Frontend/vue/components/EducationOverview/filterSection.vue","../../../Frontend/vue/components/EducationOverview/resultSection.vue","../../../Frontend/vue/views/EducationOverview/EducationOverview.vue","../../../Frontend/vue/views/EducationOverview/index.ts"],"sourcesContent":["<script setup lang=\"ts\">\r\nimport SingleCheckInput from \"@/components/Form/SingleCheckInput.vue\";\r\nimport {EducationOverviewCmsData} from \"@/providers/CmsDataProvider\";\r\nimport {computed, onMounted, ref} from \"vue\";\r\nimport {IFilter, IFilterItem} from \"@/view-models/IFilter\";\r\nimport {emitter, EventConstants} from \"@/services/EventEmitter\";\r\n\r\n// Props\r\nconst props = defineProps<{\r\n  cmsData: EducationOverviewCmsData;\r\n  item: IFilter;\r\n  index: number;\r\n}>();\r\n\r\n// Variables\r\nconst filterId = `filter-${props.index}`;\r\nconst collapsed = ref(true);\r\nconst componentKey = ref(0);\r\nconst maxFilterItems = 4;\r\n\r\n// Functions\r\nconst toggleMoreOrLessFilters = ((element: HTMLElement) => {\r\n  collapsed.value = !collapsed.value;\r\n});\r\n\r\nconst onFilterUpdate = ((selected: boolean, filterItem: IFilterItem) => {\r\n  filterItem.selected = selected;\r\n\r\n  emitter.emit(EventConstants.FilterChangedEvent,\r\n      { \r\n        filter: props.item,\r\n      });\r\n});\r\n\r\n// Computed\r\nconst shouldShowMoreFilterItems = computed<boolean>(() => {\r\n  return props.item.filterItems.length > maxFilterItems;\r\n});\r\n\r\n// Lifecycle Hooks\r\nonMounted(() => {\r\n  emitter.on(EventConstants.UpdateFiltersEvent, (event) => {\r\n    componentKey.value += 1;\r\n  });\r\n});\r\n\r\n</script>\r\n\r\n<template>\r\n  <div class=\"filter-wrapper\">\r\n    <div class=\"filter-header\">\r\n      <a data-bs-toggle=\"collapse\" :href=\"`#${filterId}`\" role=\"button\" aria-expanded=\"true\" :aria-controls=\"`${filterId}`\">\r\n        {{ item.label }}\r\n        <svg class=\"icon icon-ChevronUp\">\r\n          <use xlink:href=\"#icon-ChevronUp\"></use>\r\n        </svg>\r\n        <svg class=\"icon icon-ChevronDown\">\r\n          <use xlink:href=\"#icon-ChevronDown\"></use>\r\n        </svg>\r\n      </a>\r\n    </div>\r\n    <div class=\"filter-items\">\r\n      <div class=\"collapse show\" :class=\"{ 'show-less': collapsed }\" :id=\"`${filterId}`\">\r\n        <div class=\"filter-item\" v-for=\"(filterItem, filterItemIndex) in item.filterItems\" :key=\"`${filterItemIndex}-${componentKey}`\">\r\n          <single-check-input\r\n              :custom-model=\"filterItem.selected\"\r\n              :id=\"`${item.label}-${index}-item-${filterItemIndex}`\"\r\n              :label=\"filterItem.label\"\r\n              @model-update=\"onFilterUpdate($event, filterItem)\"\r\n          />\r\n          <span>{{ filterItem.facetCount }}</span>\r\n        </div>\r\n        <a class=\"btn btn-link for-more\" v-if=\"shouldShowMoreFilterItems\"  @click=\"toggleMoreOrLessFilters\">\r\n          <svg class=\"icon icon-ChevronDown\">\r\n            <use xlink:href=\"#icon-ChevronDown\"></use>\r\n          </svg>\r\n          {{ cmsData.moreLabel }} {{ item.label }}\r\n        </a>\r\n        <a class=\"btn btn-link for-less\" v-if=\"shouldShowMoreFilterItems\"  @click=\"toggleMoreOrLessFilters\">\r\n          <svg class=\"icon icon-ChevronUp\">\r\n            <use xlink:href=\"#icon-ChevronUp\"></use>\r\n          </svg>\r\n          {{ cmsData.lessLabel }} {{ item.label }}\r\n        </a>\r\n      </div>\r\n    </div>\r\n  </div>\r\n</template>","<script setup lang=\"ts\">\r\nimport {EducationOverviewCmsData} from \"@/providers/CmsDataProvider\";\r\nimport {computed} from \"vue\";\r\nimport {IFilter, IFilterItem} from \"@/view-models/IFilter\";\r\nimport FilterItem from \"@/components/EducationOverview/filterItem.vue\";\r\nimport {emitter, EventConstants} from \"@/services/EventEmitter\";\r\n\r\n// Props\r\nconst props = defineProps<{\r\n  cmsData: EducationOverviewCmsData;\r\n  filters: IFilter[];\r\n}>();\r\n\r\n// Functions\r\nconst chosenFilterItems = computed<IFilterItem[]>(() => {\r\n\r\n  if (props.filters.length <= 0)\r\n    return [];\r\n  \r\n  let filterItems: IFilterItem[] = [];\r\n  \r\n  for (let filter of props.filters) {\r\n    for (let filterItem of filter.filterItems) {\r\n      if (filterItem.selected) {\r\n        filterItems.push(filterItem);\r\n      }\r\n    }\r\n  }\r\n  \r\n  return filterItems;\r\n});\r\n\r\nconst removeFilterItem = ((item: IFilterItem) => {\r\n  emitter.emit(EventConstants.FilterRemovedEvent,\r\n      {\r\n        filterItem: item\r\n      }\r\n    );\r\n});\r\n\r\n// Computed\r\nconst chosenFilterItemsAmount = computed<string>(() => {\r\n  return chosenFilterItems.value.length > 0\r\n      ? chosenFilterItems.value.length.toString()\r\n      : \"0\";\r\n});\r\n\r\n// Emits\r\nconst emit = defineEmits<{\r\n  (e: 'on-toggle-mobile-filter'): void\r\n}>();\r\n\r\n</script>\r\n\r\n<template>\r\n  <div class=\"filter-underlay\" @click=\"emit('on-toggle-mobile-filter')\" data-filter-toggle></div>\r\n  <div class=\"col-lg-6 filter-section d-lg-flex flex-column\" data-filter-section>\r\n    <div class=\"section-header\">\r\n      <h4>{{ cmsData.filterTitle }}</h4>\r\n      <a class=\"btn btn-link d-lg-none\" @click=\"emit('on-toggle-mobile-filter')\" data-filter-toggle>\r\n        <svg class=\"icon icon-Close\">\r\n          <use xlink:href=\"#icon-Close\"></use>\r\n        </svg>\r\n      </a>\r\n    </div>\r\n    <div class=\"filter-wrapper\" v-if=\"chosenFilterItems.length > 0\">\r\n      <div class=\"filter-header\">\r\n        <a data-bs-toggle=\"collapse\" href=\"#chosen-filters\" role=\"button\" aria-expanded=\"true\"\r\n           aria-controls=\"chosen-filters\">\r\n          {{ cmsData.chosenFiltersTitle }} ({{ chosenFilterItemsAmount }})\r\n          <svg class=\"icon icon-ChevronUp\">\r\n            <use xlink:href=\"#icon-ChevronUp\"></use>\r\n          </svg>\r\n          <svg class=\"icon icon-ChevronDown\">\r\n            <use xlink:href=\"#icon-ChevronDown\"></use>\r\n          </svg>\r\n        </a>\r\n      </div>\r\n      <div class=\"collapse show\" id=\"chosen-filters\">\r\n        <div class=\"chosen-filter-items\">\r\n          <div class=\"item\" v-for=\"(item, index) in chosenFilterItems\" @click=\"removeFilterItem(item)\" :key=\"index\">\r\n            {{ item.label }}\r\n            <svg class=\"icon icon-Close\">\r\n              <use xlink:href=\"#icon-Close\"></use>\r\n            </svg>\r\n          </div>\r\n        </div>\r\n      </div>\r\n    </div>\r\n    <filter-item \r\n        v-for=\"(item, index) in filters\" \r\n        :item=\"item\" \r\n        :index=\"index\" \r\n        :cms-data=\"cmsData\"\r\n    ></filter-item>\r\n  </div>\r\n</template>","<script setup lang=\"ts\">\r\nimport { EducationOverviewCmsData, SportEducationsCmsData } from \"@/providers/CmsDataProvider\";\r\nimport { ref, watch } from \"vue\";\r\nimport { IEducationOverviewResponseItem } from \"@/services/EducationOverviewService\";\r\nimport { computed } from \"@vue/reactivity\";\r\n\r\n// Props\r\nconst props = defineProps<{\r\n    cmsData: EducationOverviewCmsData;\r\n    sortAlphabetically: boolean;\r\n    responseItems: IEducationOverviewResponseItem[]\r\n    showLoadMore: boolean;\r\n    totalItems: number;\r\n    query: string;\r\n}>();\r\n\r\n// Variables\r\nconst sortAlphabetically = ref(true);\r\n\r\nconst resultHeader = computed<string>(() => {\r\n    if (!props.query) return props.totalItems + \" \" + props.cmsData.resultsLabel;\r\n    return props.totalItems + \" \" + props.cmsData.resultsForLabel + \" '\" + props.query + \"'\";\r\n})\r\n\r\n// Emits\r\nconst emit = defineEmits<{\r\n    (e: 'on-toggle-mobile-filter'): void,\r\n    (e: 'on-sort-change', value: boolean): void,\r\n    (e: 'on-next-page'): void,\r\n}>()\r\n\r\n\r\nwatch(\r\n    () => props.sortAlphabetically,\r\n    () => {\r\n        sortAlphabetically.value = props.sortAlphabetically;\r\n    }\r\n)\r\n\r\nwatch(\r\n    () => sortAlphabetically.value,\r\n    () => {\r\n        emit('on-sort-change', sortAlphabetically.value);\r\n    }\r\n)\r\n\r\nconst getEnrollLink = (item: IEducationOverviewResponseItem): string | undefined => {\r\n    if (item.enrollLinkIsExternal) {\r\n        return item.enrollLinkUrl;\r\n    }\r\n\r\n    if (item.hasMultipleLinks && item.link?.url) {\r\n        const dropdownParam = '?dropdown=open';\r\n        return `${item.link.url}${dropdownParam}`;\r\n    }\r\n\r\n    if (item.enrollLinkUrl) {\r\n        return item.enrollLinkUrl;\r\n    }\r\n\r\n    return undefined;\r\n}\r\n\r\n</script>\r\n\r\n<template>\r\n    <div class=\"col-lg-18\">\r\n        <div class=\"result-header flex-lg-row\">\r\n            <h4>{{ resultHeader }}</h4>\r\n            <div class=\"d-none d-lg-flex align-items-center\">\r\n                <label>{{ cmsData.sortOnLabel }}</label>\r\n                <div class=\"custom-dropdown\">\r\n                    <div class=\"title\">\r\n                        {{ sortAlphabetically ? cmsData.sortAlphabeticallyAscLabel : cmsData.sortAlphabeticallyDescLabel\r\n                        }} <!-- TODO: selected value -->\r\n                    </div>\r\n                    <div class=\"icon-wrapper\">\r\n                        <svg class=\"icon icon-ChevronDown\">\r\n                            <use xlink:href=\"#icon-ChevronDown\"></use>\r\n                        </svg>\r\n                    </div>\r\n                    <ul>\r\n                        <li>\r\n                            <label for=\"option-1\" class=\"option\">\r\n                                <input v-model=\"sortAlphabetically\" type=\"radio\" name=\"option-desktop\" id=\"option-1\"\r\n                                    :value=\"true\">\r\n                                <span class=\"dot\"></span>\r\n                                <span>{{ cmsData.sortAlphabeticallyAscLabel }}</span>\r\n                            </label>\r\n                        </li>\r\n                        <li>\r\n                            <label for=\"option-2\" class=\"option\">\r\n                                <input v-model=\"sortAlphabetically\" type=\"radio\" name=\"option-desktop\" id=\"option-2\"\r\n                                    :value=\"false\">\r\n                                <span class=\"dot\"></span>\r\n                                <span>{{ cmsData.sortAlphabeticallyDescLabel }}</span>\r\n                            </label>\r\n                        </li>\r\n                    </ul>\r\n                </div>\r\n            </div>\r\n            <div class=\"d-flex w-100\">\r\n                <div class=\"sort-filter-buttons-mobile d-lg-none\">\r\n                    <div class=\"btn-wrapper\">\r\n                        <a class=\"btn btn-link\" data-bs-toggle=\"collapse\" href=\"#collapseExample\" role=\"button\"\r\n                            aria-expanded=\"false\" aria-controls=\"collapseExample\">\r\n                            {{ cmsData.sortOnMobileLabel }}\r\n                            <svg class=\"icon icon-ChevronDown\">\r\n                                <use xlink:href=\"#icon-ChevronDown\"></use>\r\n                            </svg>\r\n                        </a>\r\n                        <div class=\"collapse\" id=\"collapseExample\">\r\n                            <div class=\"sort-collapse\">\r\n                                <label for=\"option-1\" class=\"option\">\r\n                                    <input v-model=\"sortAlphabetically\" type=\"radio\" name=\"option-mobile\" :value=\"true\"\r\n                                        id=\"option-1\">\r\n                                    <span class=\"dot\"></span>\r\n                                    <span>{{ cmsData.sortAlphabeticallyAscLabel }}</span>\r\n                                </label>\r\n                                <label for=\"option-2\" class=\"option\">\r\n                                    <input v-model=\"sortAlphabetically\" type=\"radio\" name=\"option-mobile\" :value=\"false\"\r\n                                        id=\"option-2\">\r\n                                    <span class=\"dot\"></span>\r\n                                    <span>{{ cmsData.sortAlphabeticallyDescLabel }}</span>\r\n                                </label>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <span class=\"dash\"></span>\r\n                    <div class=\"btn-wrapper\">\r\n                        <a class=\"btn btn-link\" @click=\"emit('on-toggle-mobile-filter')\" data-filter-toggle>{{\r\n                            cmsData.filterMobileLabel }}</a>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <ul class=\"education-list-wrapper\">\r\n            <li class=\"education-list-item\" v-for=\"(item, index) in responseItems\" :key=\"index\">\r\n                <div class=\"row\">\r\n                    <div class=\"col-md-8\">\r\n                        <a :href=\"item.link.url\">\r\n                            <img class=\"education-image\" :src=\"item.image.url\" :alt=\"item.image.alt\">\r\n                        </a>\r\n                    </div>\r\n                    <div class=\"col-md-16 information\">\r\n                        <h3 class=\"link\">{{ item.title }}</h3>\r\n                        <div class=\"tags\">\r\n                            <a v-if=\"item.tagLink1\" :href=\"item.tagLink1.url\" :target=\"item.tagLink1.target\"\r\n                                class=\"z-index-link\">\r\n                                <p class=\"small\">{{ item.tagLink1.name }}</p>\r\n                            </a>\r\n                            <a v-if=\"item.tagLink2\" :href=\"item.tagLink2.url\" :target=\"item.tagLink2.target\"\r\n                                class=\"z-index-link\">\r\n                                <p class=\"small\">{{ item.tagLink2.name }}</p>\r\n                            </a>\r\n                        </div>\r\n                        <p class=\"description\">{{ item.description }}</p>\r\n                        <div class=\"links\">\r\n                            <a v-if=\"getEnrollLink(item)\" :target=\"item.enrollLinkIsExternal ? '_blank' : '_self'\"\r\n                                :href=\"getEnrollLink(item)\" class=\"btn btn-primary z-index-link\">\r\n                                {{ item.enrollLinkIsExternal ? cmsData.externalLinkText : cmsData.enrollLinkText }}\r\n                                <svg v-if=\"item.enrollLinkIsExternal\" class=\"icon icon-External\" aria-hidden=\"true\">\r\n                                    <use xlink:href=\"#icon-External\"></use>\r\n                                </svg>\r\n                            </a>\r\n                            <a :href=\"item.link.url\" class=\"btn btn-link stretched-link\">\r\n                                {{ cmsData.readMoreLabel }}\r\n                                <svg class=\"icon icon-ArrowRight\" aria-hidden=\"true\">\r\n                                    <use xlink:href=\"#icon-ArrowRight\"></use>\r\n                                </svg>\r\n                            </a>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n            </li>\r\n        </ul>\r\n        <div class=\"load-more-wrapper\" v-if=\"showLoadMore\" @click=\"emit('on-next-page')\">\r\n            <a class=\"btn btn-primary\">{{ cmsData.loadMoreLabel }}</a>\r\n        </div>\r\n    </div>\r\n</template>","<script setup lang=\"ts\">\r\n\r\nimport {onBeforeUnmount, onMounted, ref} from \"vue\";\r\n\r\nimport CmsDataProvider, {EducationOverviewCmsData} from \"@/providers/CmsDataProvider\";\r\nimport Loader from \"@/components/loader.vue\";\r\nimport FilterSection from \"@/components/EducationOverview/filterSection.vue\";\r\nimport ResultSection from \"@/components/EducationOverview/resultSection.vue\";\r\nimport EducationOverviewService, {\r\n    IEducationOverviewBody,\r\n    IEducationOverviewResponseItem\r\n} from \"@/services/EducationOverviewService\";\r\nimport {IFilter, IFilterItem} from \"@/view-models/IFilter\";\r\nimport {emitter, EventConstants} from \"@/services/EventEmitter\"\r\nimport SearchHeader from \"@/components/EducationOverview/searchHeader.vue\";\r\nimport {Constants} from \"@/constants/Constants\";\r\n\r\n// Variables\r\nconst cmsData = CmsDataProvider.get<EducationOverviewCmsData>(\"EducationOverviewCmsData\");\r\nconst isLoading = ref(false);\r\nconst filters = ref([] as IFilter[]);\r\nconst responseItems = ref([] as IEducationOverviewResponseItem[]);\r\nconst quickResults = ref([] as string[]);\r\nconst shouldShowQuickResults = ref(false);\r\n\r\nconst filterPrefix = \"filter.\";\r\nconst sortKey = \"orderBy\";\r\nconst showLoadMore = ref(true);\r\nconst sortAlphabetically = ref(true);\r\nconst query = ref(\"\");\r\nconst currentPage = ref(1);\r\nconst totalItems = ref(0);\r\nconst itemsPerPage = 10;\r\n\r\n// Functions\r\nconst toggleMobileFilter = (() => {\r\n    let dataFilterToggle = document.querySelectorAll(\"[data-filter-toggle]\");\r\n    let dataFilterSection = document.querySelectorAll(\"[data-filter-section]\");\r\n    dataFilterToggle[0].classList.toggle(\"open\")\r\n    dataFilterSection[0].classList.toggle(\"open\")\r\n});\r\n\r\nconst buildQueryStringFromFilters = (() => {\r\n    let searchParams = new URLSearchParams(window.location.search)\r\n\r\n    for (let filter of filters.value) {\r\n        let selectedItems: string[] = [];\r\n\r\n        for (let filterItem of filter.filterItems) {\r\n            if (filterItem.selected) {\r\n                selectedItems.push(filterItem.value)\r\n            }\r\n        }\r\n\r\n        searchParams.set(`${filterPrefix}${filter.label}`, selectedItems.join(\",\"));\r\n    }\r\n\r\n    searchParams.set(sortKey, String(sortAlphabetically.value));\r\n    searchParams.set(Constants.QueryKey, query.value);\r\n\r\n    return window.location.pathname + '?' + searchParams.toString();\r\n});\r\n\r\nconst updateFiltersForQueryString = (() => {\r\n    const queryParams = new URLSearchParams(window.location.search.replace(\"?\", \"\"));\r\n\r\n    let tempFilters = [] as IFilter[];\r\n\r\n    for (let key of queryParams.keys()) {\r\n\r\n        if (!key.startsWith(filterPrefix))\r\n            continue;\r\n\r\n        let filterItems = [] as IFilterItem[];\r\n        for (let value of (queryParams.get(key) ?? \"\").split(\",\")) {\r\n            if (value !== \"\") {\r\n                filterItems.push({value: value, selected: true, label: \"\", facetCount: 0});\r\n            }\r\n        }\r\n\r\n        if (filterItems.length > 0) {\r\n            tempFilters.push({label: key.substring(filterPrefix.length), filterItems: filterItems});\r\n        }\r\n    }\r\n\r\n    filters.value = tempFilters;\r\n    sortAlphabetically.value = queryParams.get(sortKey) !== \"false\";\r\n    query.value = queryParams.get(Constants.QueryKey) ?? \"\";\r\n});\r\n\r\nconst onQueryBlur = (() => {\r\n    shouldShowQuickResults.value = false;\r\n});\r\n\r\nconst onQueryChange = ((value: string) => {\r\n    query.value = value;\r\n    shouldShowQuickResults.value = false;\r\n    \r\n    search();\r\n});\r\n\r\nconst onQueryInput = ((value: string) => {\r\n    quickSearch(value);\r\n});\r\n\r\nconst onSortChange = ((value: boolean) => {\r\n    sortAlphabetically.value = value;\r\n\r\n    search();\r\n});\r\n\r\nconst nextPage = (() => {\r\n    currentPage.value += 1;\r\n\r\n    search(false, false);\r\n});\r\n\r\nconst subscribeOnFilterEvents = (() => {\r\n    emitter.on(EventConstants.FilterChangedEvent, () => {\r\n        search();\r\n    })\r\n\r\n    emitter.on(EventConstants.FilterRemovedEvent, (event) => {\r\n\r\n        for (let filter of filters.value) {\r\n            let index = filter.filterItems.indexOf(event.filterItem);\r\n            if (index >= 0) {\r\n                filter.filterItems[index].selected = false;\r\n            }\r\n        }\r\n\r\n        search();\r\n    })\r\n});\r\n\r\nconst quickSearch = async (query: string) => {\r\n    await EducationOverviewService.Search({\r\n        skip: 0,\r\n        take: Constants.QuickResultItems,\r\n        query: query,\r\n        filters: [],\r\n        orderAlphabetically: true,\r\n    }).then((data) => {\r\n        quickResults.value = data.data.items.map(item => item.title);\r\n        shouldShowQuickResults.value = true;\r\n    });\r\n};\r\n\r\nconst search = (async (updateHistory: boolean = true, resetCurrentPage: boolean = true) => {\r\n\r\n    // ignore search requests when already loading\r\n    if (isLoading.value)\r\n        return;\r\n\r\n    isLoading.value = true;\r\n\r\n    if (updateHistory) {\r\n        let newQuery = buildQueryStringFromFilters();\r\n        history.pushState({}, \"\", newQuery);\r\n    }\r\n\r\n    if (resetCurrentPage)\r\n        currentPage.value = 1;\r\n\r\n    await EducationOverviewService.Search({\r\n        skip: itemsPerPage * (currentPage.value - 1),\r\n        take: itemsPerPage,\r\n        query: query.value,\r\n        filters: filters.value,\r\n        orderAlphabetically: sortAlphabetically.value,\r\n    }).then((data) => {\r\n        filters.value = data.data.filters;\r\n        totalItems.value = data.data.total;\r\n        showLoadMore.value = currentPage.value * itemsPerPage < totalItems.value;\r\n\r\n        if (resetCurrentPage) {\r\n            responseItems.value = data.data.items;\r\n        } else {\r\n            responseItems.value.push(...data.data.items);\r\n        }\r\n    }).finally(() => {\r\n        emitter.emit(EventConstants.UpdateFiltersEvent);\r\n        isLoading.value = false;\r\n    });\r\n})\r\n\r\nconst popState = async () => {\r\n    updateFiltersForQueryString();\r\n    await search(false);\r\n}\r\n\r\n\r\n// Lifecycle hooks\r\nonMounted(async () => {\r\n    window.addEventListener(\"popstate\", popState);\r\n\r\n    updateFiltersForQueryString();\r\n    await search(false);\r\n\r\n    subscribeOnFilterEvents();\r\n});\r\n\r\nonBeforeUnmount(() => {\r\n    window.removeEventListener(\"popstate\", popState);\r\n});\r\n\r\n</script>\r\n\r\n<template>\r\n    <loader v-if=\"isLoading\"></loader>\r\n    <search-header\r\n            :cms-data=\"cmsData\"\r\n            :query=\"query\"\r\n            :quick-results=\"quickResults\"\r\n            :should-show-quick-results=\"shouldShowQuickResults\"\r\n            :is-education-overview=\"true\"\r\n            @on-query-change=\"onQueryChange\"\r\n            @on-query-input=\"onQueryInput\"\r\n            @on-query-blur=\"onQueryBlur\"     \r\n    ></search-header>\r\n    <div class=\"row\">\r\n        <filter-section\r\n                :filters=\"filters\"\r\n                :cms-data=\"cmsData\"\r\n                @on-toggle-mobile-filter=\"toggleMobileFilter\"\r\n        ></filter-section>\r\n        <result-section\r\n                :cms-data=\"cmsData\"\r\n                :sort-alphabetically=\"sortAlphabetically\"\r\n                :response-items=\"responseItems\"\r\n                :show-load-more=\"showLoadMore\"\r\n                :total-items=\"totalItems\"\r\n                :query=\"query\"\r\n                @on-toggle-mobile-filter=\"toggleMobileFilter\"\r\n                @on-sort-change=\"onSortChange\"\r\n                @on-next-page=\"nextPage\"\r\n        ></result-section>\r\n    </div>\r\n</template>","import { createApp } from 'vue';\r\nimport Contact from \"@/views/Contact/Contact.vue\";\r\nimport EducationOverview from \"@/views/EducationOverview/EducationOverview.vue\";\r\nimport EventBus from \"@/components/EventBus.vue\";\r\nconst app = createApp(EducationOverview)\r\napp.mount('#education-overview')"],"names":["computed","query","EducationOverview"],"mappings":";;;;;;;;;;;AAkBA,MAAM,iBAAiB;;;;;;;;;AAVvB,UAAM,QAAQ;AAOR,UAAA,WAAW,UAAU,MAAM,KAAK;AAChC,UAAA,YAAY,IAAI,IAAI;AACpB,UAAA,eAAe,IAAI,CAAC;AAIpB,UAAA,0BAA2B,CAAC,YAAyB;AAC/C,gBAAA,QAAQ,CAAC,UAAU;AAAA,IAAA;AAGzB,UAAA,iBAAkB,CAAC,UAAmB,eAA4B;AACtE,iBAAW,WAAW;AAEd,cAAA;AAAA,QAAK,eAAe;AAAA,QACxB;AAAA,UACE,QAAQ,MAAM;AAAA,QAChB;AAAA,MAAA;AAAA,IAAC;AAID,UAAA,4BAA4B,SAAkB,MAAM;AACjD,aAAA,MAAM,KAAK,YAAY,SAAS;AAAA,IAAA,CACxC;AAGD,cAAU,MAAM;AACd,cAAQ,GAAG,eAAe,oBAAoB,CAAC,UAAU;AACvD,qBAAa,SAAS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