ff29cb0.js.map 6.1 KB

1
  1. {"version":3,"sources":["webpack:///./components/Card.vue?35b0","webpack:///./node_modules/core-js/modules/es.array.find.js","webpack:///./components/Card.vue","webpack:///./components/Card.vue?197f","webpack:///./components/Card.vue?55cd","webpack:///./components/Card.vue?0c05"],"names":["module","exports","$","$find","find","addToUnscopables","FIND","SKIPS_HOLES","Array","target","proto","forced","callbackfn","this","arguments","length","undefined","props","cardData","showPricing","type","Boolean","default","data","computed","comImg","_this$cardData$main","$utils","generateResizedImageUrl","main","image","comBestIcon","_this$cardData$collec","bestSeller","collection_detail","item","name","img","methods","goProduct","$router","push","params","code","product_code","component","_vm","_c","_self","staticClass","attrs","staticStyle","_v","_e","_l","cycle_icon","index","key","images","_s","product_name","icon","url"],"mappings":"8EACAA,EAAOC,QAAU,CAAC,C,mCCAlB,IAAIC,EAAI,EAAQ,GACZC,EAAQ,EAAQ,IAAgCC,KAChDC,EAAmB,EAAQ,KAE3BC,EAAO,OACPC,GAAc,EAIdD,IAAQ,IAAIE,MAAM,GAAGF,IAAM,WAAcC,GAAc,CAAO,IAIlEL,EAAE,CAAEO,OAAQ,QAASC,OAAO,EAAMC,OAAQJ,GAAe,CACvDH,KAAM,SAAcQ,GAClB,OAAOT,EAAMU,KAAMD,EAAYE,UAAUC,OAAS,EAAID,UAAU,QAAKE,EACvE,IAIFX,EAAiBC,E,6DCrBjB,ICAiP,EDClO,CACbW,MAAO,CACLC,SAAU,CAAC,EACXC,YAAa,CAAEC,KAAMC,QAASC,SAAS,IAEzCC,KAAI,WACF,MAAO,CAAC,CACV,EACAC,SAAS,CACPC,OAAM,WAAE,IAAAC,EACN,OAAOb,KAAKc,OAAOC,wBAA0C,QAAnBF,EAACb,KAAKK,SAASW,YAAI,IAAAH,OAAA,EAAlBA,EAAoBI,MAAM,IACvE,EACAC,YAAW,WAAE,IAAAC,EACLC,EAA4C,QAAlCD,EAAGnB,KAAKK,SAASgB,yBAAiB,IAAAF,OAAA,EAA/BA,EAAiC5B,M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,GAAGb,EAAI5B,SAAS0B,iBAAiBE,EAAIM,GAAG,KAAKL,EAAG,MAAM,CAACE,YAAY,kBAAkBH,EAAIQ,GAAIR,EAAI5B,SAAS2C,MAAM,SAAS1B,EAAKqB,GAAO,OAAOT,EAAG,MAAM,CAACU,IAAID,EAAMN,MAAM,CAAC,IAAMf,EAAK2B,MAAM,IAAG,QAC3jC,GACsB,IEUpB,EACA,KACA,WACA,MAIa,UAAAjB,U,0CCnBf,M","file":"ff29cb0.js","sourcesContent":["// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","'use strict';\nvar $ = require('../internals/export');\nvar $find = require('../internals/array-iteration').find;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\n// eslint-disable-next-line es/no-array-prototype-find -- testing\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.es/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n","\nexport default {\n props: {\n cardData: {},\n showPricing: { type: Boolean, default: false },\n },\n data() {\n return {};\n },\n computed:{\n comImg(){\n return this.$utils.generateResizedImageUrl(this.cardData.main?.image,300)\n },\n comBestIcon(){\n const bestSeller = this.cardData.collection_detail?.find(item => item.name === \"Best Seller\");\n return bestSeller ? bestSeller.img : '';\n }\n },\n methods: {\n goProduct(cardData) {\n this.$router.push({\n name: \"product-code\",\n params: { code: cardData.product_code },\n });\n // let routeData = this.$router.resolve({\n // name: \"product-code\",\n // params:{ code: cardData.product_code },\n // });\n // window.open(routeData.href, '_blank');\n },\n },\n};\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Card.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Card.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Card.vue?vue&type=template&id=325df89a&scoped=true\"\nimport script from \"./Card.vue?vue&type=script&lang=js\"\nexport * from \"./Card.vue?vue&type=script&lang=js\"\nimport style0 from \"./Card.vue?vue&type=style&index=0&id=325df89a&prod&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 \"325df89a\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Card.vue?vue&type=style&index=0&id=325df89a&prod&lang=scss&scoped=true\""],"sourceRoot":""}