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AG,eAAe,UAAUb,EAAIY,GAAG,KAAKX,EAAG,KAAK,CAACA,EAAG,MAAM,CAACI,YAAY,qCAAqC,CAACJ,EAAG,OAAO,CAACI,YAAY,WAAW,CAACL,EAAIY,GAAGZ,EAAIQ,GAAGR,EAAIa,GAAG,kBAAkBb,EAAIY,GAAG,KAAKX,EAAG,SAAS,CAACI,YAAY,sBAAsBK,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOX,EAAIrB,cAAc,IAAI,CAACsB,EAAG,OAAO,CAACa,MAAM,CAAC,cAAc,cAAcd,EAAIY,GAAG,KAAKX,EAAG,KAAKD,EAAIe,GAAIf,EAAuB,qBAAE,SAASjB,GAAU,OAAOkB,EAAG,0CAA0C,CAACe,IAAI,gBAAgBjC,EAAsB,cAAIsB,YAAY,SAASS,MAAM,CAAC,SAAW/B,EAAS,gBAAgBiB,EAAIS,eAAe,IAAG,GAAGT,EAAIY,GAAG,KAAKX,EAAG,KAAK,CAACI,YAAY,gBAAgBL,EAAIe,GAAIf,EAA2B,yBAAE,SAASjB,GAAU,OAAOkB,EAAG,0CAA0C,CAACe,IAAI,2BAA2BjC,EAAsB,cAAI+B,MAAM,CAAC,SAAW/B,EAAS,gBAAgBiB,EAAIS,eAAe,IAAG,OAAOT,EAAIiB,IACr6C,EACIC,EAAkB,E","sources":["webpack:///./resources/area/web/default/js/components/catalog/category/SubCategoryList.vue?a372","webpack:///./resources/area/web/default/js/components/catalog/category/SubCategoryList.vue","webpack:///./resources/area/web/default/js/components/catalog/category/SubCategoryList.vue?22c6","webpack:///./resources/area/web/default/js/components/catalog/category/SubCategoryList.vue?620c"],"sourcesContent":["\nimport {Component, Vue, Prop} from 'vue-property-decorator';\nimport ServiceContainer from '@flashpointbv/solar-service-container';\n\n@Component({\n name: 'catalog-category-sub-category-list',\n components: ServiceContainer().getComponents()\n})\n\nexport default class extends Vue {\n @Prop() readonly categoryName: string;\n @Prop({default: () => []}) readonly initSubCategories: Array<object>;\n\n private filterOpen: boolean = false;\n private subCategories: Array<object> = [];\n\n private toggleFilter(): void {\n this.filterOpen = ! this.filterOpen;\n }\n\n private get normalSubCategories() {\n return this.subCategories.filter(category => ! category['standalone_link']);\n }\n\n private get standaloneSubCategories() {\n return this.subCategories.filter(category => category['standalone_link']);\n }\n\n private created(): void {\n this.subCategories = this.initSubCategories;\n\n this.$store.subscribe((mutation, state) => {\n if (mutation.type === 'CatalogCategory/SET_SUBCATEGORY_DATA') {\n this.subCategories = state['CatalogCategory']['subCategoryData'] || [];\n }\n });\n }\n}\n","import { render, staticRenderFns } from \"./SubCategoryList.vue?vue&type=template&id=5e84231a&\"\nimport script from \"./SubCategoryList.vue?vue&type=script&lang=ts&\"\nexport * from \"./SubCategoryList.vue?vue&type=script&lang=ts&\"\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 mod from \"-!../../../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[0]!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubCategoryList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[0]!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubCategoryList.vue?vue&type=script&lang=ts&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.subCategories.length || _vm.standaloneSubCategories.length)?_c('dl',{staticClass:\"catalog__category-sub-categories\",class:{ '_visible': _vm.filterOpen }},[_c('dt',{staticClass:\"hide-for-small-only\",domProps:{\"innerHTML\":_vm._s(_vm.categoryName)},on:{\"click\":function($event){return _vm.toggleFilter()}}}),_vm._v(\" \"),_c('dt',{staticClass:\"show-for-small-only\",on:{\"click\":function($event){return _vm.toggleFilter()}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('Categories'))+\"\\n \")]),_vm._v(\" \"),_c('dd',[_c('div',{staticClass:\"modal__header show-for-small-only\"},[_c('span',{staticClass:\"--title\"},[_vm._v(_vm._s(_vm.$t('Categories')))]),_vm._v(\" \"),_c('button',{staticClass:\"close-button --back\",on:{\"click\":function($event){return _vm.toggleFilter()}}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}})])]),_vm._v(\" \"),_c('ol',_vm._l((_vm.normalSubCategories),function(category){return _c('catalog-category-sub-category-list-item',{key:`sub-category-${category['category_id']}`,staticClass:\"--pipe\",attrs:{\"category\":category,\"category-name\":_vm.categoryName}})}),1),_vm._v(\" \"),_c('ol',{staticClass:\"--standalone\"},_vm._l((_vm.standaloneSubCategories),function(category){return _c('catalog-category-sub-category-list-item',{key:`standalone-sub-category-${category['category_id']}`,attrs:{\"category\":category,\"category-name\":_vm.categoryName}})}),1)])]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"],"names":["Vue","filterOpen","subCategories","toggleFilter","this","normalSubCategories","filter","category","standaloneSubCategories","created","initSubCategories","$store","subscribe","mutation","state","type","Prop","default","Array","Component","name","components","getComponents","render","_vm","_c","_self","_setupProxy","length","staticClass","class","domProps","_s","categoryName","on","$event","_v","$t","attrs","_l","key","_e","staticRenderFns"],"sourceRoot":""}