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AAK,gBAAkBJ,EAAU,oDAAsDjG,EAAIiG,SAOtG,IAAIK,EAAU,yBAEd,SAASC,EAAKC,EAAIC,EAASC,GACzBC,EAAOH,GAEP,IAAII,EAAKF,EAAMG,QAEX7C,EAAWyC,EAAQ9F,MACvB,GAAwB,oBAAbqD,EAAX,CAkBA,IAAI8C,GAAwB,EAC5BC,YAAW,WACTD,GAAwB,CAC1B,GAAG,GAEHN,EAAGF,GAAW,SAASU,GAMrB,IAAIjJ,EAAOiJ,EAAGjJ,OAASiJ,EAAGC,aAAeD,EAAGC,oBAAiBC,GAC7D,GAAIJ,IAA0B/I,EAAOA,EAAKiE,QAAQwE,GAAM,GAAKA,EAAGrD,SAAS6D,EAAGG,SAC1E,OAAOnD,EAASoD,KAAKR,EAAII,EAE7B,EAEAK,SAASC,gBAAgBC,iBAAiB,QAASf,EAAGF,IAAU,EA1BhE,CA2BF,CAEA,SAASK,EAAOH,GACda,SAASC,gBAAgBE,oBAAoB,QAAShB,EAAGF,IAAU,UAC5DE,EAAGF,EACZ,CAEA,IAAImB,EAAY,CACdlB,KAAMA,EACNmB,OAAQ,SAASlB,EAAIC,GACfA,EAAQ9F,QAAU8F,EAAQkB,UAC9BpB,EAAKC,EAAIC,EACX,EACAE,OAAQA,GAGNiB,EAAQ,CACVnH,WAAY,CAAEoH,YAAaJ,IAK7BK,EAAQ,GAAQF,C,kBC/EhB,IAAIG,EAAU,EAAQ,OACnBA,EAAQC,aAAYD,EAAUA,EAAQ5F,SACnB,kBAAZ4F,IAAsBA,EAAU,CAAC,CAACnQ,EAAOC,GAAIkQ,EAAS,MAC7DA,EAAQE,SAAQrQ,EAAOkQ,QAAUC,EAAQE,QAE5C,IAAIC,EAAM,WACGA,EAAI,WAAYH,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://website-js/./src/components/utils/ApplyCancelFooter.vue?47bf","webpack://website-js/./src/services/ProductListFilterService.ts","webpack://website-js/./src/store/modules/EventModule.ts","webpack://website-js/./src/store/modules/ProductListFilterModule.ts","webpack://website-js/./src/components/product-list-filter/ProductListFilterButton.vue","webpack://website-js/./src/components/product-list-filter/ProductListFilterButton.vue?76fd","webpack://website-js/./src/components/product-list-filter/ProductListFilterButton.vue?2607","webpack://website-js/./src/components/product-list-filter/ProductListFilterButton.vue?06d3","webpack://website-js/./src/components/product-list-filter/ProductListFilterDropdown.vue","webpack://website-js/./src/components/product-list-filter/ProductListFilterDropdownItem.vue","webpack://website-js/./src/components/product-list-filter/ProductListFilterDropdownItem.vue?a394","webpack://website-js/./src/components/product-list-filter/ProductListFilterDropdownItem.vue?20cd","webpack://website-js/./src/components/product-list-filter/ProductListFilterDropdownItem.vue?6c74","webpack://website-js/./src/components/product-list-filter/ProductListFilterDropdown.vue?ec2a","webpack://website-js/./src/components/product-list-filter/ProductListFilterDropdown.vue?1b91","webpack://website-js/./src/components/product-list-filter/ProductListFilterDropdown.vue?5c2f","webpack://website-js/./src/components/product-list-filter/ProductListFilterPagination.vue","webpack://website-js/./src/components/product-list-filter/ProductListFilterPagination.vue?a501","webpack://website-js/./src/components/product-list-filter/ProductListFilterPagination.vue?2ee6","webpack://website-js/./src/components/product-list-filter/ProductListFilterPagination.vue?c939","webpack://website-js/./src/components/utils/ApplyCancelFooter.vue","webpack://website-js/./src/components/utils/ApplyCancelFooter.vue?32d8","webpack://website-js/./src/components/utils/ApplyCancelFooter.vue?7d29","webpack://website-js/./src/components/utils/ApplyCancelFooter.vue?a45b","webpack://website-js/./src/components/utils/CbxPagination.vue","webpack://website-js/./src/components/utils/CbxPagination.vue?86f0","webpack://website-js/./src/components/utils/CbxPagination.vue?ed06","webpack://website-js/./src/components/utils/CbxPagination.vue?7e2a","webpack://website-js/./node_modules/vue-clickaway/dist/vue-clickaway.common.js","webpack://website-js/./src/components/utils/ApplyCancelFooter.vue?ae2f"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.apply-cancel-footer{background:#fff;display:flex;justify-content:flex-end;border-top:1px solid #0000001a;padding:10px}.apply-cancel-footer button{margin-left:10px}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","import { CustomIndexConfig, FilterModel, IndexInfoModel } from '@/models/Filter';\r\nimport axios, { AxiosResponse } from 'axios';\r\n\r\nexport default class ProductListFilterService {\r\n    private profileId: string = (window as any).CbxApiContextKey;\r\n    private endpoint: string;\r\n    private workerEndpoint: string;\r\n    private productSearchEndpoint: string;\r\n\r\n    constructor(args: any = {}) {\r\n        if (args.profileId) this.profileId = args.profileId;\r\n        this.endpoint = `/contextapi/${this.profileId}/v1/facets`;\r\n        this.workerEndpoint = `/api/workers`;\r\n        this.productSearchEndpoint = `/contextapi/${this.profileId}/v1/product/productsearch`;\r\n    }\r\n\r\n    public async getFilterResult(payload: FilterModel): Promise<FilterModel> {\r\n        // remove unnecessary properties from the payload before sending\r\n        const p: FilterModel = {\r\n            categories: payload.categories,\r\n            rootcategory: payload.rootcategory,\r\n            count: payload.count,\r\n            offset: payload.offset,\r\n            searchphrase: payload.searchphrase,\r\n            selections: payload.selections,\r\n            sortoptions: payload.sortoptions,\r\n            restrictdoctypes: payload.restrictdoctypes,\r\n            includedescendantcategories: payload.includedescendantcategories,\r\n            fields: payload.fields,\r\n            usefuzzymatch: false,\r\n        };\r\n\r\n        if (payload.usecontentrelationsasselection) {\r\n            p.usecontentrelationsasselection = true;\r\n            p.contentrelationnodeid = payload.contentrelationnodeid;\r\n        }\r\n\r\n        try {\r\n            const res: AxiosResponse<FilterModel> = await axios.post(`${this.productSearchEndpoint}`, p);\r\n            return res.data;\r\n        } catch (e) {\r\n            return {};\r\n        }\r\n    }\r\n\r\n    public async getIndexInfo(): Promise<IndexInfoModel> {\r\n        try {\r\n            const res: AxiosResponse<IndexInfoModel> = await axios.get(`${this.endpoint}/getindexinfo`);\r\n            return res.data;\r\n        } catch (e) {\r\n            return {};\r\n        }\r\n    }\r\n\r\n    public async rebuildIndex(): Promise<boolean> {\r\n        try {\r\n            await axios.get(`${this.workerEndpoint}/startjob?job=consolidate-index`);\r\n            return true;\r\n        } catch (e) {\r\n            return false;\r\n        }\r\n    }\r\n\r\n    public async updateCustomConfig(payload: CustomIndexConfig): Promise<boolean> {\r\n        try {\r\n            await axios.post(`${this.endpoint}/updatecustomconfig`, payload);\r\n            return true;\r\n        } catch (e) {\r\n            return false;\r\n        }\r\n    }\r\n\r\n    public async nukeIndex(): Promise<boolean> {\r\n        try {\r\n            await axios.get(`${this.workerEndpoint}/startjob?job=nuke-index`);\r\n            return true;\r\n        } catch (e) {\r\n            return false;\r\n        }\r\n    }\r\n}\r\n","import { Module, VuexModule, Mutation, getModule } from 'vuex-module-decorators';\r\nimport store from '@/store';\r\n\r\n@Module({\r\n    store,\r\n    dynamic: true,\r\n    name: 'event',\r\n    namespaced: true,\r\n})\r\nclass EventModule extends VuexModule {\r\n\r\n    private pagingWasClicked: boolean = false;\r\n\r\n    get PAGING_WAS_CLICKED(): boolean {\r\n        return this.pagingWasClicked;\r\n    }\r\n\r\n    @Mutation\r\n    public SET_PAGING_WAS_CLICKED(args: boolean) {\r\n        this.pagingWasClicked = args;\r\n    }\r\n\r\n}\r\n\r\nexport default getModule(EventModule);\r\n","import { Module, VuexModule, Mutation, getModule, Action } from 'vuex-module-decorators';\r\nimport store from '@/store';\r\nimport ProductListFilterService from '@/services/ProductListFilterService';\r\nimport MobileNavigationService from '@/services/MobileNavigationService';\r\nimport {\r\n    FilterModel,\r\n    FilterModelField,\r\n    FilterModelHit,\r\n    FilterRequestSelection,\r\n    ProductListOptions,\r\n    SortOption,\r\n} from '@/models/Filter';\r\nimport { CbxVariablesModule } from './CbxVariablesModule';\r\nimport ProductService from '@/services/ProductService';\r\nimport TrackingService from '@/services/TrackingService';\r\n\r\n@Module({\r\n    store,\r\n    dynamic: true,\r\n    name: 'productListFilter',\r\n    namespaced: true,\r\n})\r\nclass ProductListFilterModule extends VuexModule {\r\n    private svc: ProductListFilterService = new ProductListFilterService();\r\n    private mns: MobileNavigationService = new MobileNavigationService();\r\n    private productService: ProductService = new ProductService();\r\n    private trackingService: TrackingService = new TrackingService();\r\n    // @ts-ignore\r\n    private filterModel: FilterModel = {\r\n        rootcategory: null,\r\n        categories: CbxVariablesModule.VARIABLES.currentCategoryId.length\r\n            ? [CbxVariablesModule.VARIABLES.currentCategoryId]\r\n            : [],\r\n        fields: [],\r\n        hits: [],\r\n        selections: [],\r\n        searchphrase: '',\r\n        count: 20,\r\n        offset: 0,\r\n        hitcount: 0,\r\n        sortoptions: [],\r\n        restrictdoctypes: ['PRODUCT'],\r\n        includedescendantcategories: false,\r\n        usecontentrelationsasselection: false,\r\n        contentrelationnodeid: '',\r\n    };\r\n    private displayMobile: boolean = false;\r\n    private expandedField: FilterModelField = null;\r\n    private productListOptions: ProductListOptions = {\r\n        sortoptions: [],\r\n        selectedsortoption: '',\r\n        pagelimitoptions: [],\r\n        selectedpagelimitoption: 0,\r\n    };\r\n\r\n    private isLoading: boolean = false;\r\n\r\n    get IS_LOADING(): boolean {\r\n        return this.isLoading;\r\n    }\r\n    get FILTER_MODEL(): FilterModel {\r\n        return this.filterModel;\r\n    }\r\n\r\n    get DISPLAY_MOBILE(): boolean {\r\n        return this.displayMobile;\r\n    }\r\n\r\n    get EXPANDED_FIELD(): FilterModelField {\r\n        return this.expandedField;\r\n    }\r\n\r\n    get PRODUCT_LIST_OPTIONS(): ProductListOptions {\r\n        return CbxVariablesModule.VARIABLES.productListOptions;\r\n    }\r\n\r\n    @Action({ commit: 'SET_FILTER_RESULT' })\r\n    public async GET_FILTER_RESULT() {\r\n        this.setLoading(true);\r\n\r\n        const response = await this.svc.getFilterResult({ ...this.filterModel });\r\n\r\n        this.trackingService.trackViewItemList(response.hits?.map((hit: FilterModelHit) => hit.metadata.product) ?? []);\r\n\r\n        return response;\r\n    }\r\n\r\n    @Mutation\r\n    public SET_FILTER_RESULT(payload: FilterModel) {\r\n        this.filterModel.fields = payload.fields;\r\n        this.filterModel.totalcount = payload.totalcount;\r\n        this.filterModel.hitcount = payload.hitcount;\r\n        this.filterModel.hits = payload.hits;\r\n        this.filterModel.translations = payload.translations;\r\n        this.isLoading = false;\r\n    }\r\n\r\n    @Mutation\r\n    public SET_FILTER_SELECTION(payload: FilterRequestSelection[]) {\r\n        this.filterModel.selections = payload;\r\n    }\r\n\r\n    @Mutation\r\n    public SET_FILTER_FIELDS(payload: FilterModelField[]) {\r\n        this.filterModel.fields = payload;\r\n    }\r\n\r\n    @Mutation\r\n    public SET_FILTER_CATEGORIES(payload: string[]) {\r\n        this.filterModel.categories = payload;\r\n    }\r\n\r\n    @Mutation\r\n    public SET_FILTER_ROOT_CATEGORY(payload: string) {\r\n        this.filterModel.rootcategory = payload;\r\n    }\r\n\r\n    @Mutation\r\n    public SET_FILTER_INCLUDE_DESCENDANT_CATEGORIES(payload: boolean) {\r\n        this.filterModel.includedescendantcategories = payload;\r\n    }\r\n\r\n    @Mutation\r\n    public SET_FILTER_USE_CONTENT_RELATIONS(nodeid: string) {\r\n        this.filterModel.usecontentrelationsasselection = true;\r\n        this.filterModel.contentrelationnodeid = nodeid;\r\n    }\r\n\r\n    @Mutation\r\n    public SET_FILTER_SEARCH_PHRASE(payload: string) {\r\n        this.filterModel.searchphrase = payload;\r\n    }\r\n\r\n    @Mutation\r\n    public SET_FILTER_OFFSET(payload: number) {\r\n        this.filterModel.offset = payload;\r\n    }\r\n    @Mutation\r\n    public SET_FILTER_COUNT(payload: number) {\r\n        this.filterModel.count = payload;\r\n    }\r\n    @Mutation\r\n    public SET_FILTER_SORT_OPTIONS(payload: SortOption[]) {\r\n        this.filterModel.sortoptions = payload;\r\n    }\r\n\r\n    @Mutation\r\n    public REMOVE_SELECTION_VALUE(payload: any) {\r\n        const { fieldPath, fieldValue } = payload;\r\n        const existingFieldSelection = this.filterModel.selections.find(field => field.path === fieldPath);\r\n        const values = existingFieldSelection.values.filter(val => val !== fieldValue);\r\n        if (values.length === 0) {\r\n            this.filterModel = {\r\n                ...this.filterModel,\r\n                selections: this.filterModel.selections.filter(field => field.path !== fieldPath),\r\n            };\r\n        } else {\r\n            this.filterModel = {\r\n                ...this.filterModel,\r\n                selections: this.filterModel.selections.map(field => {\r\n                    if (field.path === fieldPath) {\r\n                        field.values = values;\r\n                    }\r\n                    return field;\r\n                }),\r\n            };\r\n        }\r\n    }\r\n\r\n    @Mutation\r\n    public REMOVE_SELECTION_GROUP(payload: any) {\r\n        this.filterModel.selections = this.filterModel.selections.filter(field => field.path !== payload);\r\n    }\r\n\r\n    @Action({ commit: 'SET_MOBILE_FILTER_DISPLAY' })\r\n    public TOGGLE_MOBILE_FILTER_DISPLAY() {\r\n        this.mns.handleBodyOverflow(this.displayMobile);\r\n        return this.displayMobile;\r\n    }\r\n\r\n    @Mutation\r\n    private SET_MOBILE_FILTER_DISPLAY(payload: boolean) {\r\n        this.displayMobile = !payload;\r\n    }\r\n\r\n    @Action({ commit: 'SET_CLEAR_FILTERS' })\r\n    public async CLEAR_FILTERS(includeSearchPhrase: boolean = true) {\r\n        return includeSearchPhrase;\r\n    }\r\n\r\n    @Mutation\r\n    private SET_CLEAR_FILTERS(includeSearchPhrase: boolean = true) {\r\n        this.filterModel.selections = [];\r\n        if (includeSearchPhrase)\r\n            this.filterModel.searchphrase = '';\r\n    }\r\n\r\n    @Action({ commit: 'SET_EXPANDED_FIELD' })\r\n    public async EXPAND_FIELD(payload: FilterModelField) {\r\n        return payload;\r\n    }\r\n\r\n    @Mutation\r\n    private SET_EXPANDED_FIELD(payload: FilterModelField) {\r\n        this.expandedField = payload;\r\n    }\r\n\r\n    @Action({ commit: 'SET_LOADING' })\r\n    private async setLoading(payload: boolean) {\r\n        return payload;\r\n    }\r\n    @Mutation\r\n    private SET_LOADING(payload: boolean) {\r\n        this.isLoading = payload;\r\n    }\r\n}\r\n\r\nexport default getModule(ProductListFilterModule);\r\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"product-list-filter-button\",class:{ 'active': _vm.active }},[_c('div',{staticClass:\"product-list-filter-button-label\"},[_vm._v(\" \"+_vm._s(_vm.label)+\" \"),(_vm.activeCount > 0)?_c('span',{staticClass:\"value-count\"},[_vm._v(_vm._s(_vm.activeCount))]):_vm._e()]),_c('span',{staticClass:\"product-list-filter-button-icon\",attrs:{\"uk-icon\":`icon: ${ _vm.active ? _vm.icon_active : _vm.icon }; ratio: .6`}})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component({\r\n    name: 'ProductListFilterButton',\r\n})\r\nexport default class ProductListFilterButton extends Vue {\r\n    @Prop({ type: String, required: true }) private label: string;\r\n    @Prop({ type: String, required: true }) private icon: string;\r\n    @Prop({ type: String, required: true }) private icon_active: string;\r\n    @Prop({ type: Boolean, required: true }) private active: boolean;\r\n    @Prop({ type: Number, required: false }) private activeCount: number;\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./ProductListFilterButton.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./ProductListFilterButton.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProductListFilterButton.vue?vue&type=template&id=42d71ba0&\"\nimport script from \"./ProductListFilterButton.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProductListFilterButton.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/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,_setup=_vm._self._setupProxy;return _c('div',{directives:[{name:\"on-clickaway\",rawName:\"v-on-clickaway\",value:(_vm.handleClickAway),expression:\"handleClickAway\"}],staticClass:\"product-list-filter-dropdown\",class:{'inline': _vm.inline},on:{\"click\":_vm.toggleExpand}},[_c('ProductListFilterButton',{attrs:{\"label\":_vm.selectedLabel,\"icon\":\"chevron-down\",\"icon_active\":\"chevron-up\",\"active\":_vm.expanded}}),_c('div',{staticClass:\"product-list-filter-dropdown-options\",class:{ 'expanded': _vm.expanded }},[(_vm.label)?_c('div',{staticClass:\"product-list-filter-dropdown-options-label\"},[_vm._v(\" \"+_vm._s(_vm.label)+\" \")]):_vm._e(),_vm._l((_vm.options),function(option){return _c('div',{key:option.value,on:{\"click\":function($event){$event.stopPropagation();return _vm.toggleOption(option)}}},[_c('ProductListFilterDropdownItem',{attrs:{\"option\":option,\"selectedValues\":_vm.model,\"multiple\":_vm.multiple}})],1)}),(_vm.multiple)?_c('ApplyCancelFooter',{on:{\"apply\":_vm.apply}}):_vm._e()],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"product-list-filter-dropdown-item\",class:{ 'selected': _vm.selected }},[_c('span',{staticClass:\"checkbox\",attrs:{\"uk-icon\":`icon: ${ _vm.icon }; ratio: ${_vm.selected ? '.9' : '.7'}`}}),_vm._v(\" \"+_vm._s(_vm.option.label)+\" \")])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport DropdownItem from '@/models/DropdownItem';\r\n\r\n@Component({\r\n    name: 'ProductListFilterDropdownItem',\r\n})\r\nexport default class ProductListFilterDropdownItem extends Vue {\r\n    @Prop({ type: Object, required: true }) private option: DropdownItem;\r\n    @Prop({ type: Array }) private selectedValues: string[];\r\n    @Prop({ type: Boolean, required: false, default: true }) private multiple: boolean;\r\n\r\n    get icon(): string {\r\n        if (this.multiple) {\r\n            if (this.selected) {\r\n                return 'fas-check-square';\r\n            } else {\r\n                return 'fal-square';\r\n            }\r\n        } else {\r\n            if (this.selected) {\r\n                return 'fas-circle-dot';\r\n            } else {\r\n                return 'far-circle';\r\n            }\r\n        }\r\n    }\r\n\r\n    get selected(): boolean {\r\n        return this.selectedValues.indexOf(this.option.value) > -1;\r\n    }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./ProductListFilterDropdownItem.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./ProductListFilterDropdownItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProductListFilterDropdownItem.vue?vue&type=template&id=a73a8500&\"\nimport script from \"./ProductListFilterDropdownItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProductListFilterDropdownItem.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/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","\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport ProductListFilterButton from './ProductListFilterButton.vue';\r\nimport DropdownItem from '@/models/DropdownItem';\r\nimport ProductListFilterDropdownItem from './ProductListFilterDropdownItem.vue';\r\nimport ApplyCancelFooter from '@/components/utils/ApplyCancelFooter.vue';\r\nimport { mixin as clickaway } from 'vue-clickaway';\r\n\r\n@Component({\r\n    name: 'ProductListFilterDropdown',\r\n    components: {\r\n        ApplyCancelFooter,\r\n        ProductListFilterButton,\r\n        ProductListFilterDropdownItem,\r\n    },\r\n    mixins: [\r\n        clickaway,\r\n    ],\r\n})\r\nexport default class ProductListFilterDropdown extends Vue {\r\n    @Prop() private value: string[];\r\n    @Prop({ type: String, required: false }) private label: string;\r\n    @Prop({ type: Array, required: true }) private options: DropdownItem[];\r\n    @Prop({ type: Boolean, required: false, default: false }) private multiple: boolean;\r\n    @Prop({ type: Boolean, required: false, default: false }) private inline: boolean;\r\n\r\n    private expanded: boolean = false;\r\n    private model: string[] = null;\r\n\r\n    get selectedOptions(): DropdownItem[] {\r\n        return this.options.filter((option: DropdownItem) => this.model.indexOf(option.value) > -1);\r\n    }\r\n\r\n    get selectedLabel(): string {\r\n        let retval = '';\r\n        if (!this.model.length) {\r\n            retval = this.label ?? 'No value';\r\n        } else {\r\n            if (this.multiple) {\r\n                retval = this.selectedOptions.map((option: DropdownItem) => {\r\n                    const item = this.options.find((o: DropdownItem) => o.value === option.value);\r\n                    return item.label;\r\n                }).join(', ');\r\n            } else {\r\n                retval = this.selectedOptions[0].label;\r\n            }\r\n        }\r\n        if (retval.length > 20) {\r\n            retval = `${retval.substr(0, 20)}...`;\r\n        }\r\n        if (this.selectedOptions.length > 1) {\r\n            retval = `(${this.selectedOptions.length}) ${retval}`;\r\n        }\r\n        return retval\r\n    }\r\n\r\n    private created() {\r\n        this.model = JSON.parse(JSON.stringify(this.value));\r\n    }\r\n\r\n    private toggleOption(option: DropdownItem) {\r\n        const optionIdx: number = this.model.indexOf(option.value);\r\n        if (this.multiple) {\r\n            if (optionIdx > -1) {\r\n                this.model.splice(optionIdx, 1);\r\n            } else {\r\n                this.model.push(option.value);\r\n            }\r\n        } else {\r\n            this.toggleExpand();\r\n            this.model = [option.value];\r\n        }\r\n        this.$emit('input', this.model);\r\n    }\r\n\r\n    private apply() {\r\n        this.$emit('input', this.model);\r\n    }\r\n\r\n    private toggleExpand() {\r\n        this.expanded = !this.expanded;\r\n    }\r\n\r\n    private handleClickAway(e: any) {\r\n        if (!this.$el.contains(e.relatedTarget)) {\r\n            this.expanded = false;\r\n        }\r\n    }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./ProductListFilterDropdown.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./ProductListFilterDropdown.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProductListFilterDropdown.vue?vue&type=template&id=867ecdc2&\"\nimport script from \"./ProductListFilterDropdown.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProductListFilterDropdown.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/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,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"product-list-filter-pagination\"},[_c('CbxPagination',{attrs:{\"limit\":_vm.filterLimit,\"offset\":_vm.filterOffset,\"total\":_vm.total},on:{\"change-page\":_vm.changePage}},[(_vm.filterLimitOptions.length>0)?_c('ProductListFilterDropdown',{attrs:{\"options\":_vm.filterLimitOptions,\"multiple\":false,\"inline\":true,\"label\":_vm.$t('general.per-page', ['Per page'])},model:{value:(_vm.limitOption),callback:function ($$v) {_vm.limitOption=$$v},expression:\"limitOption\"}}):_vm._e()],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport ProductListFilterModule from '@/store/modules/ProductListFilterModule';\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport CbxPagination from \"@/components/utils/CbxPagination.vue\";\r\nimport ProductListFilterDropdown from './ProductListFilterDropdown.vue';\r\nimport DropdownItem from '@/models/DropdownItem';\r\n\r\n@Component({\r\n    name: 'ProductListFilterPagination',\r\n    components: {\r\n        CbxPagination,\r\n        ProductListFilterDropdown,\r\n    }\r\n})\r\nexport default class ProductListFilterPagination extends Vue {\r\n\r\n    get total(): number {\r\n        return ProductListFilterModule.FILTER_MODEL.hitcount ?? 0;\r\n    }\r\n\r\n    get filterLimitOptions(): DropdownItem[] {\r\n        return ProductListFilterModule.PRODUCT_LIST_OPTIONS.pagelimitoptions\r\n        .map((opt: number) => {\r\n            return {\r\n                value: String(opt),\r\n                label: String(opt),\r\n            }\r\n        });\r\n    }\r\n\r\n    get filterLimit(): number {\r\n        return ProductListFilterModule.FILTER_MODEL.count;\r\n    }\r\n    set filterLimit(value: number) {\r\n        ProductListFilterModule.SET_FILTER_OFFSET(0);\r\n        ProductListFilterModule.SET_FILTER_COUNT(value);\r\n    }\r\n\r\n    get limitOption(): string[] {\r\n        return [String(this.filterLimit)];\r\n    }\r\n    set limitOption(value: string[]) {\r\n        const val = parseInt(value[0]);\r\n        if (!isNaN(val)) {\r\n            ProductListFilterModule.SET_FILTER_OFFSET(0);\r\n            ProductListFilterModule.SET_FILTER_COUNT(val);\r\n        }\r\n    }\r\n\r\n    get filterOffset(): number {\r\n        return ProductListFilterModule.FILTER_MODEL.offset;\r\n    }\r\n    set filterOffset(value: number) {\r\n        ProductListFilterModule.SET_FILTER_OFFSET(value);\r\n    }\r\n\r\n    private changePage(args: any) {\r\n        this.filterLimit = args.limit;\r\n        this.filterOffset = args.offset;\r\n    }\r\n\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./ProductListFilterPagination.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./ProductListFilterPagination.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProductListFilterPagination.vue?vue&type=template&id=2ceccc36&\"\nimport script from \"./ProductListFilterPagination.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProductListFilterPagination.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/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,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"apply-cancel-footer\"},[(_vm.cancelText)?_c('button',{staticClass:\"uk-button uk-button-danger\",on:{\"click\":function($event){return _vm.$emit('cancel')}}},[_vm._v(\" \"+_vm._s(_vm.cancelLabel)+\" \")]):_vm._e(),_c('button',{staticClass:\"uk-button uk-button-primary\",on:{\"click\":function($event){return _vm.$emit('apply')}}},[_vm._v(\" \"+_vm._s(_vm.applyLabel)+\" \")])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component({\r\n    name: 'ApplyCancelFooter',\r\n})\r\nexport default class ApplyCancelFooter extends Vue {\r\n    @Prop({ type: String, required: false, default: 'Apply' }) private applyText: string;\r\n    @Prop({ type: String, required: false }) private cancelText: string;\r\n\r\n    get applyLabel(): any {\r\n        return this.$t(`filter.action-${ this.applyText.toLowerCase().replace(/\\s/gi, '-') }`, [this.applyText])\r\n    }\r\n\r\n    get cancelLabel(): any {\r\n        return this.$t(`filter.action-${ this.cancelText.toLowerCase().replace(/\\s/gi, '-') }`, [this.cancelText])\r\n    }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./ApplyCancelFooter.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./ApplyCancelFooter.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ApplyCancelFooter.vue?vue&type=template&id=340cfc58&\"\nimport script from \"./ApplyCancelFooter.vue?vue&type=script&lang=ts&\"\nexport * from \"./ApplyCancelFooter.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ApplyCancelFooter.vue?vue&type=style&index=0&id=340cfc58&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/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,_setup=_vm._self._setupProxy;return (_vm.total > 0)?_c('div',{staticClass:\"cbx-pagination\"},[(_vm.numberOfPages > 1)?_c('div',{staticClass:\"cbx-pagination-buttons\"},[_c('button',{attrs:{\"disabled\":_vm.current === 1,\"aria-label\":_vm.$t('general.previous-page', ['Previous page'])},on:{\"click\":function($event){return _vm.changePage(_vm.current - 1)}}},[_c('span',{attrs:{\"uk-icon\":\"chevron-left\"}}),_c('span',{staticClass:\"uk-visible@m\"},[_vm._v(\" \"+_vm._s(_vm.$t('general.previous-page', ['Previous page']))+\" \")])]),_c('div',{staticClass:\"cbx-pagination-buttons-number-buttons\"},_vm._l((_vm.pagesInRange),function(page,pageIdx){return _c('button',{key:pageIdx,class:{ 'active': page.value === _vm.current, 'disabled': !page.clickable },attrs:{\"disabled\":!page.clickable},on:{\"click\":function($event){return _vm.changePage(page.value)}}},[_vm._v(\" \"+_vm._s(page.value)+\" \")])}),0),_c('button',{attrs:{\"disabled\":_vm.current === _vm.numberOfPages,\"aria-label\":_vm.$t('general.next-page', ['Next page'])},on:{\"click\":function($event){return _vm.changePage(_vm.current + 1)}}},[_c('span',{staticClass:\"uk-visible@m\"},[_vm._v(\" \"+_vm._s(_vm.$t('general.next-page', ['Next page']))+\" \")]),_c('span',{attrs:{\"uk-icon\":\"chevron-right\"}})])]):_vm._e(),_c('div',{staticClass:\"cbx-pagination-meta\"},[_vm._v(\" \"+_vm._s(_vm.$t('general.displaying', ['Displaying']))+\" \"+_vm._s(_vm.currentStart)+\" \"+_vm._s(_vm.$t('general.to', ['to']))+\" \"+_vm._s(_vm.currentEnd)+\" \"+_vm._s(_vm.$t('general.of', ['of']))+\" \"+_vm._s(_vm.total)+\" \"),_vm._t(\"default\")],2)]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { PaginationItem } from '@/models/Pagination';\r\nimport EventModule from '@/store/modules/EventModule';\r\n\r\n@Component({\r\n    name: 'CbxPagination'\r\n})\r\nexport default class CbxPagination extends Vue {\r\n    @Prop({ type: Number, required: true }) private total: number;\r\n    @Prop({ type: Number, required: true }) private limit: number;\r\n    @Prop({ type: Number, required: true }) private offset: number;\r\n\r\n    get current(): number {\r\n        return (this.offset / this.limit)  + 1;\r\n    }\r\n\r\n    get currentStart(): number {\r\n        return this.current * this.limit - this.limit + 1\r\n    }\r\n\r\n    get currentEnd(): number {\r\n        return this.current * this.limit >= this.total ? this.total : this.current * this.limit;\r\n    }\r\n\r\n    get numberOfPages(): number {\r\n        return Math.ceil(this.total / this.limit);\r\n    }\r\n\r\n    get pagesInRange(): PaginationItem[] {\r\n        const retval: PaginationItem[] = [];\r\n        const current = this.current;\r\n        const last = this.numberOfPages;\r\n        const delta = 3;\r\n        const left = current - delta;\r\n        const right = current + delta + 1;\r\n        const range = [];\r\n        let l;\r\n\r\n        for (let i = 1; i <= last; i++) {\r\n            if (i == 1 || i == last || i >= left && i < right) {\r\n                range.push(i);\r\n            }\r\n        }\r\n\r\n        for (const i of range) {\r\n            if (l) {\r\n                if (i - l === 2) {\r\n                    retval.push({\r\n                        value: l + 1,\r\n                        clickable: true,\r\n                    });\r\n                } else if (i - l !== 1) {\r\n                    retval.push({\r\n                        clickable: false,\r\n                        value: '...',\r\n                    });\r\n                }\r\n            }\r\n            retval.push({\r\n                value: i,\r\n                clickable: true,\r\n            });\r\n            l = i;\r\n        }\r\n\r\n        return retval;\r\n    }\r\n\r\n    private changePage(page: number) {\r\n        this.$emit('change-page', {\r\n            offset: (page - 1) * this.limit,\r\n            limit: this.limit,\r\n            pageNumber: page,\r\n        });\r\n        EventModule.SET_PAGING_WAS_CLICKED(true);\r\n    }\r\n\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./CbxPagination.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./CbxPagination.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CbxPagination.vue?vue&type=template&id=7a84c498&\"\nimport script from \"./CbxPagination.vue?vue&type=script&lang=ts&\"\nexport * from \"./CbxPagination.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/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","'use strict';\r\n\r\nvar Vue = require('vue');\r\nVue = 'default' in Vue ? Vue['default'] : Vue;\r\n\r\nvar version = '2.2.2';\r\n\r\nvar compatible = (/^2\\./).test(Vue.version);\r\nif (!compatible) {\r\n  Vue.util.warn('VueClickaway ' + version + ' only supports Vue 2.x, and does not support Vue ' + Vue.version);\r\n}\r\n\r\n\r\n\r\n// @SECTION: implementation\r\n\r\nvar HANDLER = '_vue_clickaway_handler';\r\n\r\nfunction bind(el, binding, vnode) {\r\n  unbind(el);\r\n\r\n  var vm = vnode.context;\r\n\r\n  var callback = binding.value;\r\n  if (typeof callback !== 'function') {\r\n    if (process.env.NODE_ENV !== 'production') {\r\n      Vue.util.warn(\r\n        'v-' + binding.name + '=\"' +\r\n        binding.expression + '\" expects a function value, ' +\r\n        'got ' + callback\r\n      );\r\n    }\r\n    return;\r\n  }\r\n\r\n  // @NOTE: Vue binds directives in microtasks, while UI events are dispatched\r\n  //        in macrotasks. This causes the listener to be set up before\r\n  //        the \"origin\" click event (the event that lead to the binding of\r\n  //        the directive) arrives at the document root. To work around that,\r\n  //        we ignore events until the end of the \"initial\" macrotask.\r\n  // @REFERENCE: https://jakearchibald.com/2015/tasks-microtasks-queues-and-schedules/\r\n  // @REFERENCE: https://github.com/simplesmiler/vue-clickaway/issues/8\r\n  var initialMacrotaskEnded = false;\r\n  setTimeout(function() {\r\n    initialMacrotaskEnded = true;\r\n  }, 0);\r\n\r\n  el[HANDLER] = function(ev) {\r\n    // @NOTE: this test used to be just `el.containts`, but working with path is better,\r\n    //        because it tests whether the element was there at the time of\r\n    //        the click, not whether it is there now, that the event has arrived\r\n    //        to the top.\r\n    // @NOTE: `.path` is non-standard, the standard way is `.composedPath()`\r\n    var path = ev.path || (ev.composedPath ? ev.composedPath() : undefined);\r\n    if (initialMacrotaskEnded && (path ? path.indexOf(el) < 0 : !el.contains(ev.target))) {\r\n      return callback.call(vm, ev);\r\n    }\r\n  };\r\n\r\n  document.documentElement.addEventListener('click', el[HANDLER], false);\r\n}\r\n\r\nfunction unbind(el) {\r\n  document.documentElement.removeEventListener('click', el[HANDLER], false);\r\n  delete el[HANDLER];\r\n}\r\n\r\nvar directive = {\r\n  bind: bind,\r\n  update: function(el, binding) {\r\n    if (binding.value === binding.oldValue) return;\r\n    bind(el, binding);\r\n  },\r\n  unbind: unbind,\r\n};\r\n\r\nvar mixin = {\r\n  directives: { onClickaway: directive },\r\n};\r\n\r\nexports.version = version;\r\nexports.directive = directive;\r\nexports.mixin = mixin;","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./ApplyCancelFooter.vue?vue&type=style&index=0&id=340cfc58&prod&lang=scss&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"74f267f5\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["___CSS_LOADER_EXPORT___","push","module","id","ProductListFilterService","constructor","args","_defineProperty","window","CbxApiContextKey","profileId","this","endpoint","workerEndpoint","productSearchEndpoint","async","payload","p","categories","rootcategory","count","offset","searchphrase","selections","sortoptions","restrictdoctypes","includedescendantcategories","fields","usefuzzymatch","usecontentrelationsasselection","contentrelationnodeid","res","axios","data","e","EventModule","VuexModule","PAGING_WAS_CLICKED","pagingWasClicked","SET_PAGING_WAS_CLICKED","__decorate","Mutation","Module","store","dynamic","name","namespaced","getModule","ProductListFilterModule","MobileNavigationService","ProductService","TrackingService","CbxVariablesModule","VARIABLES","currentCategoryId","length","hits","hitcount","selectedsortoption","pagelimitoptions","selectedpagelimitoption","IS_LOADING","isLoading","FILTER_MODEL","filterModel","DISPLAY_MOBILE","displayMobile","EXPANDED_FIELD","expandedField","PRODUCT_LIST_OPTIONS","productListOptions","setLoading","response","svc","getFilterResult","trackingService","trackViewItemList","map","hit","metadata","product","SET_FILTER_RESULT","totalcount","translations","SET_FILTER_SELECTION","SET_FILTER_FIELDS","SET_FILTER_CATEGORIES","SET_FILTER_ROOT_CATEGORY","SET_FILTER_INCLUDE_DESCENDANT_CATEGORIES","SET_FILTER_USE_CONTENT_RELATIONS","nodeid","SET_FILTER_SEARCH_PHRASE","SET_FILTER_OFFSET","SET_FILTER_COUNT","SET_FILTER_SORT_OPTIONS","REMOVE_SELECTION_VALUE","fieldPath","fieldValue","existingFieldSelection","find","field","path","values","filter","val","REMOVE_SELECTION_GROUP","TOGGLE_MOBILE_FILTER_DISPLAY","mns","handleBodyOverflow","SET_MOBILE_FILTER_DISPLAY","includeSearchPhrase","SET_CLEAR_FILTERS","SET_EXPANDED_FIELD","SET_LOADING","Action","commit","render","_vm","_c","_self","_setupProxy","staticClass","class","active","_v","_s","label","activeCount","_e","attrs","icon_active","icon","staticRenderFns","ProductListFilterButton","Vue","Prop","type","String","required","Boolean","Number","Component","component","directives","rawName","value","handleClickAway","expression","inline","on","toggleExpand","selectedLabel","expanded","_l","options","option","key","$event","stopPropagation","toggleOption","model","multiple","apply","selected","ProductListFilterDropdownItem","selectedValues","indexOf","Object","Array","default","ProductListFilterDropdown","selectedOptions","retval","item","o","join","substr","created","JSON","parse","stringify","optionIdx","splice","$emit","$el","contains","relatedTarget","components","ApplyCancelFooter","mixins","clickaway","filterLimit","filterOffset","total","changePage","filterLimitOptions","$t","limitOption","callback","$$v","ProductListFilterPagination","opt","parseInt","isNaN","limit","CbxPagination","cancelText","cancelLabel","applyLabel","applyText","toLowerCase","replace","numberOfPages","current","pagesInRange","page","pageIdx","clickable","currentStart","currentEnd","_t","Math","ceil","last","delta","left","right","range","l","i","pageNumber","version","compatible","test","util","warn","HANDLER","bind","el","binding","vnode","unbind","vm","context","initialMacrotaskEnded","setTimeout","ev","composedPath","undefined","target","call","document","documentElement","addEventListener","removeEventListener","directive","update","oldValue","mixin","onClickaway","exports","content","__esModule","locals","add"],"sourceRoot":""}