{"version":3,"file":"js/app.3c466b46a091f6ace805.js","mappings":"4vBAQe,8BAAc,EAAAA,IAGfC,mBACV,OAAO,aAAmBC,KAAKC,YACjC,GAJA,IAAC,IAAAC,Q,2DADY,MAJd,IAAAC,WAAU,CACTC,KAAM,2B,0JCLR,UAAiBH,GACXA,EAA8B,iBACzB,CACLI,QAAS,CAAC,UACVC,MAAO,MACPC,WAAW,EACXC,UAAU,GAIVP,EAAYQ,eAAe,qBAA8D,cAAvCR,EAA8B,iBAAE,GAC7E,CACLI,QAAS,CAAC,SACVC,MAAO,YACPC,WAAW,EACXC,UAAU,GAIP,I,8LCDT,SAXgB,E,SAAA,GACd,UACA,IACA,KACA,EACA,KACA,KACA,MAI8B,O,mJClBkM,QAAe,G,wDCAjP,IAAIE,EAAS,SAASA,SAAS,IAAIC,EAAIX,KAAKY,EAAGD,EAAIE,MAAMD,GAAUD,EAAIE,MAAMC,YAAY,OAAQ,OAASH,EAAIZ,aAAca,EAAG,OAAO,CAACG,YAAY,iBAAiBC,MAAML,EAAIZ,aAAsB,QAAEkB,SAAS,CAAC,YAAcN,EAAIO,GAAGP,EAAIZ,aAAwB,UAAIY,EAAIQ,GAAGR,EAAIZ,aAAoB,OAAKY,EAAIZ,aAAoB,UAAMY,EAAIS,IAC3U,EACIC,EAAkB,E","sources":["webpack:///./resources/area/web/default/js/components/catalog/product/ProductLabel.vue?6e81","webpack:///./resources/area/web/default/js/shared/catalog/product/ProductLabelPicker.ts","webpack:///./resources/area/web/default/js/components/catalog/product/ProductLabel.vue","webpack:///./resources/area/web/default/js/components/catalog/product/ProductLabel.vue?5348","webpack:///./resources/area/web/default/js/components/catalog/product/ProductLabel.vue?de9a"],"sourcesContent":["\nimport {Component, Vue, Prop} from 'vue-property-decorator';\nimport ProductLabelPicker from '../../../shared/catalog/product/ProductLabelPicker';\n\n@Component({\n name: 'catalog-product-label',\n})\n\nexport default class extends Vue {\n @Prop() readonly productData: object;\n\n private get productLabel(): null | object {\n return ProductLabelPicker(this.productData);\n }\n}\n","export default ((productData) => {\n if (productData['promotion_is_new']) {\n return {\n classes: ['_green'],\n label: 'new',\n translate: true,\n topLevel: true\n };\n }\n\n if (productData.hasOwnProperty('attr_advies_type') && productData['attr_advies_type'][0] === 'Pre-order') {\n return {\n classes: ['_blue'],\n label: 'pre-order',\n translate: true,\n topLevel: true\n };\n }\n\n return null;\n});\n","import { render, staticRenderFns } from \"./ProductLabel.vue?vue&type=template&id=ff948c80&\"\nimport script from \"./ProductLabel.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProductLabel.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!./ProductLabel.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!./ProductLabel.vue?vue&type=script&lang=ts&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (null !== _vm.productLabel)?_c('span',{staticClass:\"product__label\",class:_vm.productLabel['classes'],domProps:{\"textContent\":_vm._s(_vm.productLabel['translate'] ? _vm.$t(_vm.productLabel['label']) : _vm.productLabel['label'])}}):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"],"names":["Vue","productLabel","this","productData","Prop","Component","name","classes","label","translate","topLevel","hasOwnProperty","render","_vm","_c","_self","_setupProxy","staticClass","class","domProps","_s","$t","_e","staticRenderFns"],"sourceRoot":""}