{"version":3,"sources":["webpack:///./resources/js/src/modeherz/helpers/device-size-check.js","webpack:///./resources/js/src/app/components/itemList/CategoryItem.vue?fe78","webpack:///resources/js/src/app/components/itemList/CategoryItem.vue","webpack:///./resources/js/src/app/helper/getSlotData.js","webpack:///./resources/js/src/app/components/itemList/CategoryItem.vue?dd9f","webpack:///./resources/js/src/app/components/itemList/CategoryItem.vue"],"names":["breakPoints","sm","md","lg","xl","xxl","xxxl","xxxxl","xxxxxl","isBreakpointDown","breakPoint","sizeLimit","window","matchMedia","matches","isBreakpointUp","render","_vm","this","_h","$createElement","_c","_self","staticClass","on","mouseenter","enableSelection","mouseleave","pauseSelection","class","paddingClasses","style","paddingInlineStyles","ref","attrs","item","urlWithVariationId","lazy","position","_v","never","variationProperties","variation","id","onItemAddToWishList","_t","showVariations","variationId","ev","$refs","itemImages","overwriteImage","_e","href","_f","_s","manufacturer","externalName","productTitle","minimumAbsoluteValue","crossPriceMinimumAbsoluteValue","minimumPercentageValue","crossPriceMinimumPercentage","youSaveText","$translate","unit","unitOfMeasurement","content","names","name","mayShowUnitPrice","prices","default","basePrice","_withStripped","slotKey","vm","$options","slotData","hasOwnProperty","$slots","slotNode","elm","JSON","parse","textContent","text","component","options","__file"],"mappings":"2FAAA,wEAAMA,EAAc,CAChBC,GAAI,IACJC,GAAI,IACJC,GAAI,IACJC,GAAI,KACJC,IAAK,KACLC,KAAM,KACNC,MAAO,KACPC,OAAQ,MAGL,SAASC,EAAiBC,GAE7B,IAAMC,EAAYX,EAAYU,GAE9B,OAAOE,OAAOC,WAAW,gBAAkBF,EAAY,IAAO,OAAOG,QAGlE,SAASC,EAAeL,GAE3B,IAAMC,EAAYX,EAAYU,GAE9B,OAAOE,OAAOC,WAAW,eAAiBF,EAAY,OAAOG,U,wCCtBjE,IAAIE,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eACTC,EAAKJ,EAAIK,MAAMD,IAAMF,EACzB,OAAOE,EACL,UACA,CACEE,YAAa,w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AGA,aACA,gBACA,eAGA,gBACA,OACA,+FACA,yFACA,iBACA,oBAGA,mBACA,uCAEA,S,+VAAA,EAEA,gBACA,2DAGA,cC9H4BA,ED8H5B,YC5HW,SAACC,GAGJ,GADAA,EAAGC,SAASC,SAAWF,EAAGC,SAASC,UAAY,IAC1CF,EAAGC,SAASC,SAASC,eAAeJ,IAAYC,EAAGI,OAAOD,eAAeJ,GAC9E,CACI,IAAMM,EAAWL,EAAGI,OAAOL,GAAS,GAEhCM,EAASC,IAETN,EAAGC,SAASC,SAASH,GAAWQ,KAAKC,MAAMH,EAASC,IAAIG,aAIxDT,EAAGC,SAASC,SAASH,GAAWQ,KAAKC,MAAMH,EAASK,MAI5D,OAAOV,EAAGC,SAASC,SAASH,KDgHpC,wBACA,oCAMA,iBACA,wBAGA,qBACA,kIAGA,qBACA,2CAGA,8BACA,MASA,OAPA,EADA,uCACA,0CACA,8CAGA,mCAGA,0FAGA,+CACA,iGAGA,mDACA,mJAGA,wBACA,sCACA,qCACA,oCAIA,8BACA,mHAGA,8BAGA,OAFA,6GAKA,aACA,4DAGA,SACA,2BAKA,MAJA,qBAEA,oBAGA,qFAFA,yBAKA,gCACA,oBAEA,oFAEA,+BACA,8DACA,QACA,0BACA,kCACA,2BACA,qDACA,2DACA,sDACA,4DACA,kDACA,qDACA,+CACA,kB,QG7NIY,EAAY,YACd,EACAvE,EJ2IoB,IIzIpB,EACA,KACA,KACA,MAuBFuE,EAAUC,QAAQC,OAAS,4DACZ,UAAAF,E","file":"chunks/ceres-14.min.js","sourcesContent":["const breakPoints = {\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200,\n xxl: 1400,\n xxxl: 1600,\n xxxxl: 2100,\n xxxxxl: 2400\n};\n\nexport function isBreakpointDown(breakPoint)\n{\n const sizeLimit = breakPoints[breakPoint];\n\n return window.matchMedia(\"(max-width: \" + (sizeLimit - 0.1) + \"px)\").matches;\n}\n\nexport function isBreakpointUp(breakPoint)\n{\n const sizeLimit = breakPoints[breakPoint];\n\n return window.matchMedia(\"(min-width: \" + sizeLimit + \"px)\").matches;\n}\n","var render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"article\",\n {\n staticClass: \"cmp cmp-product-thumb\",\n on: { mouseenter: _vm.enableSelection, mouseleave: _vm.pauseSelection },\n },\n [\n _c(\n \"div\",\n { class: _vm.paddingClasses, style: _vm.paddingInlineStyles },\n [\n _c(\n \"div\",\n { staticClass: \"thumb-image\" },\n [\n _c(\"mh-category-item-image\", {\n ref: \"itemImages\",\n attrs: {\n item: _vm.item,\n \"url-with-variation-id\": _vm.urlWithVariationId,\n lazy: _vm.position === -1 || _vm.position > 4,\n },\n }),\n _vm._v(\" \"),\n _c(\n \"lazy-hydrate\",\n { attrs: { never: \"\" } },\n [\n _c(\"mh-category-variation-tags\", {\n attrs: {\n \"variation-properties\": _vm.item.variationProperties,\n },\n }),\n ],\n 1\n ),\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\"mh-add-to-wish-list\", {\n attrs: {\n \"variation-id\": _vm.item.variation.id,\n \"item-id\": _vm.item.item.id,\n \"hide-text\": \"\",\n },\n on: { \"item-added\": _vm.onItemAddToWishList },\n }),\n _vm._v(\" \"),\n _vm._t(\"item-details\", [\n _c(\n \"div\",\n { staticClass: \"thumb-content\" },\n [\n _vm.showVariations\n ? _c(\"mh-category-variation-selection\", {\n ref: \"categoryVariationSelection\",\n attrs: {\n item: _vm.item,\n variationId: _vm.item.variation.id,\n variationProperties: _vm.item.variationProperties,\n },\n on: {\n \"image:overwrite\": function (ev) {\n return _vm.$refs.itemImages.overwriteImage(ev)\n },\n },\n })\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"a\",\n {\n staticClass: \"pt-2 thumb-title\",\n attrs: {\n href: _vm._f(\"itemURL\")(_vm.item, _vm.urlWithVariationId),\n },\n },\n [\n _c(\"span\", { staticClass: \"thumb-title-manufacturer\" }, [\n _vm._v(_vm._s(_vm.item.item.manufacturer.externalName)),\n ]),\n _c(\"br\"),\n _vm._v(\n \"\\n \" +\n _vm._s(_vm._f(\"truncate\")(_vm.productTitle, 95)) +\n \"\\n \"\n ),\n ]\n ),\n _vm._v(\" \"),\n _vm._t(\"before-prices\"),\n _vm._v(\" \"),\n _c(\n \"lazy-hydrate\",\n { attrs: { never: \"\" } },\n [\n _c(\"mh-category-variation-price\", {\n attrs: {\n item: _vm.item,\n minimumAbsoluteValue:\n _vm.crossPriceMinimumAbsoluteValue,\n minimumPercentageValue: _vm.crossPriceMinimumPercentage,\n youSaveText: _vm.$translate(\n \"modeherz::CategoryPageClient.categoryPageItemYouSave\"\n ),\n },\n }),\n ],\n 1\n ),\n _vm._v(\" \"),\n _vm._t(\"after-prices\"),\n _vm._v(\" \"),\n !(\n _vm.item.unit.unitOfMeasurement === \"C62\" &&\n _vm.item.unit.content === 1\n )\n ? _c(\"div\", { staticClass: \"category-unit-price small\" }, [\n _c(\"span\", [_vm._v(_vm._s(_vm.item.unit.content))]),\n _vm._v(\" \"),\n _c(\"span\", [\n _vm._v(\" \" + _vm._s(_vm.item.unit.names.name)),\n ]),\n _vm._v(\" \"),\n _vm.item.variation.mayShowUnitPrice\n ? _c(\"span\", [\n _vm._v(\n \" | \" + _vm._s(_vm.item.prices.default.basePrice)\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ],\n 2\n ),\n ]),\n ],\n 2\n ),\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","/**\r\n * Return a getter function to read json formatted data from a slot of the component.\r\n * This can be used to create a dynamic property for a vue component returning the parsed\r\n * json data from the given slot.\r\n * Once the data have been parsed, the result is stored on the vm options to avoid parsing the slot again.\r\n *\r\n * @param string slotKey The identifier of the slot to parse json data from\r\n */\r\nexport function getSlotData(slotKey)\r\n{\r\n return (vm) =>\r\n {\r\n vm.$options.slotData = vm.$options.slotData || {};\r\n if (!vm.$options.slotData.hasOwnProperty(slotKey) && vm.$slots.hasOwnProperty(slotKey))\r\n {\r\n const slotNode = vm.$slots[slotKey][0];\r\n\r\n if (slotNode.elm)\r\n {\r\n vm.$options.slotData[slotKey] = JSON.parse(slotNode.elm.textContent);\r\n }\r\n else\r\n {\r\n vm.$options.slotData[slotKey] = JSON.parse(slotNode.text);\r\n }\r\n }\r\n\r\n return vm.$options.slotData[slotKey];\r\n };\r\n}\r\n","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CategoryItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CategoryItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CategoryItem.vue?vue&type=template&id=8ab526e6&\"\nimport script from \"./CategoryItem.vue?vue&type=script&lang=js&\"\nexport * from \"./CategoryItem.vue?vue&type=script&lang=js&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"C:\\\\Users\\\\schuckerp\\\\git\\\\plenty-plugins\\\\4024\\\\15\\\\modeherz\\\\plugin-ceres\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('8ab526e6')) {\n api.createRecord('8ab526e6', component.options)\n } else {\n api.reload('8ab526e6', component.options)\n }\n module.hot.accept(\"./CategoryItem.vue?vue&type=template&id=8ab526e6&\", function () {\n api.rerender('8ab526e6', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"resources/js/src/app/components/itemList/CategoryItem.vue\"\nexport default component.exports"],"sourceRoot":""}