{"version":3,"sources":["webpack:///./src/views/Category.vue?7ffa","webpack:///./src/views/Category.vue","webpack:///./src/views/Category.vue?b97a","webpack:///./src/views/Category.vue?479c","webpack:///./src/views/Category.vue?68b4"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","key","$route","params","id","VRow","staticClass","_l","categoryProducts","product","index","VCol","image","name","format","price","currency","staticRenderFns","Vue","extend","components","CategoryNav","ProductCard","methods","Shop","products","filter","categories","find","cat","toString","data","component"],"mappings":"8IAGIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,mBAAmB,CAACE,MAAM,CAAC,OAAS,GAAG,KAAO,mBAAmB,CAACF,EAAG,cAAc,CAACG,IAAI,IAAID,MAAM,CAAC,OAASN,EAAIQ,OAAOC,OAAOC,OAAO,GAAGN,EAAGO,EAAA,KAAK,CAACC,YAAY,wBAAwBN,MAAM,CAAC,aAAa,KAAKN,EAAIa,GAAIb,EAAIc,oBAAoB,SAASC,EAAQC,GAAO,OAAOZ,EAAGa,EAAA,KAAK,CAACV,IAAIS,EAAMV,MAAM,CAAC,KAAO,KAAK,GAAK,IAAI,GAAK,MAAM,CAACF,EAAG,mBAAmB,CAACE,MAAM,CAAC,OAAS,GAAG,KAAO,oBAAoB,CAACF,EAAG,cAAc,CAACG,IAAIS,EAAMV,MAAM,CAAC,GAAKS,EAAQL,GAAG,MAAQK,EAAQG,MAAM,KAAOH,EAAQI,KAAK,OAASJ,EAAQK,OAAO,MAAQL,EAAQM,MAAM,SAAWN,EAAQO,aAAa,IAAI,MAAK,IAAI,IAC/qBC,EAAkB,G,0FC+BPC,SAAIC,OAAO,CACxBN,KAAM,WACNO,WAAY,CACVC,mBACAC,oBAEFC,QAAS,CACPf,iBADO,WAEL,IAAMJ,EAAKT,KAAKO,OAAOC,OAAOC,GAC9B,OAAOoB,OAAKC,SAASC,QAAO,SAACjB,GAAD,OAC1BA,EAAQkB,WAAWC,MAAK,SAACC,GAAD,OAASA,EAAIC,YAAc1B,UAIzD2B,KAAM,iBAAO,CACXP,gBClD+X,I,wBCQ/XQ,EAAY,eACd,EACAvC,EACAwB,GACA,EACA,KACA,WACA,MAIa,aAAAe,E,6CCnBf,W","file":"js/category.903374fd.js","sourcesContent":["import { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('transition-group',{attrs:{\"appear\":\"\",\"name\":\"category__fade\"}},[_c('CategoryNav',{key:\"0\",attrs:{\"active\":_vm.$route.params.id}})],1),_c(VRow,{staticClass:\"category mt-0 mt-md-4\",attrs:{\"no-gutters\":\"\"}},_vm._l((_vm.categoryProducts()),function(product,index){return _c(VCol,{key:index,attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"3\"}},[_c('transition-group',{attrs:{\"appear\":\"\",\"name\":\"category__slide\"}},[_c('ProductCard',{key:index,attrs:{\"id\":product.id,\"image\":product.image,\"name\":product.name,\"format\":product.format,\"price\":product.price,\"currency\":product.currency}})],1)],1)}),1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport CategoryNav from \"@/components/CategoryNav.vue\";\nimport ProductCard from \"@/components/ProductCard.vue\";\nimport { Shop } from \"@/constants\";\n\nexport default Vue.extend({\n name: \"Category\",\n components: {\n CategoryNav,\n ProductCard,\n },\n methods: {\n categoryProducts() {\n const id = this.$route.params.id;\n return Shop.products.filter((product) =>\n product.categories.find((cat) => cat.toString() == id)\n );\n },\n },\n data: () => ({\n Shop,\n }),\n});\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Category.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Category.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Category.vue?vue&type=template&id=f3b42af0&scoped=true&\"\nimport script from \"./Category.vue?vue&type=script&lang=ts&\"\nexport * from \"./Category.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Category.vue?vue&type=style&index=0&id=f3b42af0&lang=scss&scoped=true&\"\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 \"f3b42af0\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Category.vue?vue&type=style&index=0&id=f3b42af0&lang=scss&scoped=true&\""],"sourceRoot":""}