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C,KAAK,CAAC,GAAKD,EAEvE,MAAkBzE,MAAAA,CAAZyE,EAAO,OAAQ,OAAHzE,EAC7B,6BClBA,WAAkB","sources":["webpack://_N_E/./components/navigation/Slider/Slider.module.scss","webpack://_N_E/./components/display/Card/index.jsx","webpack://_N_E/./components/product/Price/index.jsx","webpack://_N_E/./components/layout/GridColumn/index.jsx","webpack://_N_E/./components/display/Divider/index.jsx","webpack://_N_E/./components/display/Card/Card.module.scss","webpack://_N_E/./lib/utils/formatPrice.js","webpack://_N_E/./components/product/ProductCard/ProductCard.module.scss","webpack://_N_E/./components/product/RecomendationRow/RecomendationRow.module.scss","webpack://_N_E/./components/display/Divider/Divider.module.scss","webpack://_N_E/./components/product/ProductCard/Recommendation.jsx","webpack://_N_E/./components/navigation/Slider/SliderDots.jsx","webpack://_N_E/./icons/IconChevronLeft.jsx","webpack://_N_E/./components/navigation/Slider/SliderPrevBtn.jsx","webpack://_N_E/./icons/IconChevronRight.jsx","webpack://_N_E/./components/navigation/Slider/SliderNextBtn.jsx","webpack://_N_E/./components/navigation/Slider/index.jsx","webpack://_N_E/./components/product/RecomendationRow/index.jsx","webpack://_N_E/./components/display/Badge/index.jsx","webpack://_N_E/./components/display/Badge/Badge.module.scss","webpack://_N_E/./lib/utils/createProductURL.js","webpack://_N_E/./components/product/Price/Price.module.scss"],"sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"button\":\"Slider_button___vK5G\",\"prev\":\"Slider_prev__BzduT\",\"next\":\"Slider_next__4DuNL\",\"dots\":\"Slider_dots__odbUM\",\"dot\":\"Slider_dot__2XBAZ\",\"dotActive\":\"Slider_dotActive__5B3KA\"};","import clsx from 'clsx';\nimport Style from './Card.module.scss'\n\n\nfunction Card({ \n children, \n className, \n marginBottom = null, \n noMargin,\n isTransparent = false,\n}){\n return(\n
\n {children}\n
\n )\n}\n\nexport default Card;","\nimport formatPrice from \"@/lib/utils/formatPrice\";\nimport Style from './Price.module.scss';\nimport Badge from \"@/components/display/Badge\";\nimport clsx from \"clsx\";\n\n\nfunction Price({ value, listPrice, size, showSaleFlag = false }){\n return(\n \n
\n \n {formatPrice(value)}\n \n\n {showSaleFlag && (\n \n -{Math.round((value/listPrice)*100)}% Off\n \n )}\n
\n \n\n {listPrice ? (\n \n List price: {formatPrice(listPrice)}\n \n ):null}\n
\n )\n}\n\nexport default Price;","import React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport style from './GridColumn.module.scss';\n\n\nconst GridColumn = React.forwardRef(({ \n isRow,\n className,\n noWrap,\n children,\n start,\n end,\n rowEnd,\n rowStart,\n element = null,\n ...other\n}, ref ) => {\n\n const col_xls = other[\"xl-start\"] === void 0 ? false : style[`gridStart_xl_${other[\"xl-start\"]}`],\n col_xle = other[\"xl-end\"] === void 0 ? false : style[`gridEnd_xl_${other[\"xl-end\"]}`],\n col_lgs = other[\"lg-start\"] === void 0 ? false : style[`gridStart_lg_${other[\"lg-start\"]}`],\n col_lge = other[\"lg-end\"] === void 0 ? false : style[`gridEnd_lg_${other[\"lg-end\"]}`],\n col_mds = other[\"md-start\"] === void 0 ? false : style[`gridStart_md_${other[\"md-start\"]}`],\n col_mde = other[\"md-end\"] === void 0 ? false : style[`gridEnd_md_${other[\"md-end\"]}`],\n col_sms = other[\"sm-start\"] === void 0 ? false : style[`gridStart_sm_${other[\"sm-start\"]}`],\n col_sme = other[\"sm-end\"] === void 0 ? false : style[`gridEnd_sm_${other[\"sm-end\"]}`],\n col_xss = other[\"xs-start\"] === void 0 ? false : style[`gridStart_xs_${other[\"xs-start\"]}`],\n col_xse = other[\"xs-end\"] === void 0 ? false : style[`gridEnd_xs_${other[\"xs-end\"]}`],\n col_GridColumnStyle = {\n gridColumnStart: start, \n gridColumnEnd: end, \n gridRowEnd: rowEnd,\n gridRowStart: rowStart\n };\n\n\n const Element = element === null ? \"div\" : element;\n\n return(\n \n {children}\n \n )\n})\n\nGridColumn.displayName = 'GridColumn';\n\n\nGridColumn.propTypes = {\n start: PropTypes.number,\n end: PropTypes.number,\n isRow: PropTypes.bool,\n rowStart: PropTypes.number,\n rowEnd: PropTypes.number,\n noWrap: PropTypes.bool,\n other: PropTypes.string\n};\n\n\n\nexport default GridColumn;","import React from 'react';\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\n\nimport Style from './Divider.module.scss';\nimport utils from 'styles/globals/utils.module.scss';\n\n\nconst Divider = React.forwardRef(({ \n isSpacer, \n className, \n flex, \n orientation, \n color, \n capped, \n height = 1,\n width = \"100%\",\n ...other \n}, ref) => {\n \n return(\n <>\n {isSpacer ? \n \n :\n
\n }\n \n )\n});\n\n\nDivider.displayName = 'Divider';\n\n\nDivider.propTypes = {\n orientation: PropTypes.oneOf([\"vertical\", \"horizontal\"]),\n flex: PropTypes.bool,\n color: PropTypes.oneOfType([ PropTypes.string, PropTypes.object ]),\n capped: PropTypes.bool,\n isSpacer: PropTypes.bool,\n height: PropTypes.oneOfType([ PropTypes.number, PropTypes.string ]),\n width: PropTypes.oneOfType([ PropTypes.number, PropTypes.string ])\n}\n\n\nexport default Divider;","// extracted by mini-css-extract-plugin\nmodule.exports = {\"block\":\"Card_block__2l_31\",\"noMargin\":\"Card_noMargin__YE29B\",\"clear\":\"Card_clear__aj1Y2\"};","/**\n * Format Price\n * - supports decimal place if the number has it, otherwise we don't use it.\n * @param {Integer} price \n * @returns price string\n */\n\nexport default function formatPrice(price, locale = 'en-ZA', currency = 'ZAR' ){\n const newPrice = parseFloat(price);\n\n return newPrice.toLocaleString(locale, {\n style: 'currency',\n currency: currency,\n minimumFractionDigits: Number.isInteger(newPrice) ? 0 : 2,\n maximumFractionDigits: 2,\n });\n};\n\n\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"block\":\"ProductCard_block__pFOKh\",\"imageLink\":\"ProductCard_imageLink__0xl_B\",\"link\":\"ProductCard_link__gEmxo\",\"image\":\"ProductCard_image__oCYvB\",\"titleBlock\":\"ProductCard_titleBlock__e9KPf\",\"itemTitle\":\"ProductCard_itemTitle__ItLGp\",\"titleLink\":\"ProductCard_titleLink__VIYqp\",\"vendorLink\":\"ProductCard_vendorLink__vT8sQ\",\"brandLink\":\"ProductCard_brandLink__X_XJM\",\"vendorRow\":\"ProductCard_vendorRow__0Pt_2\",\"options\":\"ProductCard_options__fN3eg\",\"optionItem\":\"ProductCard_optionItem__9CNw3\",\"atcBtn\":\"ProductCard_atcBtn__9Tybd\",\"callout\":\"ProductCard_callout__76JFZ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"heading\":\"RecomendationRow_heading__IgOI_\",\"block\":\"RecomendationRow_block__W5Dbq\",\"slider\":\"RecomendationRow_slider___FmIZ\",\"divider\":\"RecomendationRow_divider__X7phw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"capped\":\"Divider_capped__xyiLL\",\"block\":\"Divider_block__Q3A4C\",\"spacer\":\"Divider_spacer__4EtGe\",\"color__light\":\"Divider_color__light__MSzE2\",\"color__dark\":\"Divider_color__dark__cb3aY\",\"vertical\":\"Divider_vertical__Wqogq\",\"flex\":\"Divider_flex__sxcDp\"};","import Card from \"@/components/display/Card\";\nimport Image from \"next/image\";\nimport Link from \"next/link\";\nimport Style from \"./ProductCard.module.scss\"\nimport createProductURL from \"@/lib/utils/createProductURL\";\nimport Price from \"../Price\";\n\n\nfunction ProductRecommendation({ id, name, price, image, url, index = 1 }){\n return(\n \n \n {name}\n\n \n\n

\n {name}\n

\n \n
\n )\n}\n\nexport default ProductRecommendation;","import clsx from \"clsx\";\nimport Style from \"./Slider.module.scss\"\n\n\nfunction SliderDots({ loaded, instanceRef, currentSlide, slideBy = null, className }){\n return(\n <>\n {loaded && instanceRef.current && (\n
\n {[...Array(instanceRef.current.track.details.slides.length).keys(), ].map((idx) => {\n if(idx % (slideBy ?? instanceRef.current.options.slides.perView)) return null\n \n return (\n instanceRef.current?.moveToIdx(idx)}\n className={clsx(Style.dot, currentSlide === idx && Style.dotActive)}\n />\n )\n })}\n
\n )}\n \n )\n}\n\nexport default SliderDots;","\nexport function IconChevronLeft(props){\n return(\n \n \n \n )\n}","import { IconChevronLeft } from \"@/icons/IconChevronLeft\";\nimport Style from \"./Slider.module.scss\"\nimport clsx from \"clsx\";\n\n\nfunction SliderPrevBtn({ instanceRef, currentSlide, slideBy = null, className }){\n return(\n \n )\n}\n\n\nexport default SliderPrevBtn;","\nexport function IconChevronRight(props){\n return(\n \n \n \n )\n}","import { IconChevronRight } from \"@/icons/IconChevronRight\";\nimport Style from \"./Slider.module.scss\"\nimport clsx from \"clsx\";\n\n\nfunction SliderNextBtn({ instanceRef, currentSlide, slideBy = null, className, loaded }){\n return(\n <>\n {loaded && (\n \n )}\n \n \n\n )\n}\n\nexport default SliderNextBtn;","import SliderDots from \"./SliderDots\";\nimport SliderPrevBtn from \"./SliderPrevBtn\";\nimport SliderNextBtn from \"./SliderNextBtn\";\nimport React from \"react\";\nimport clsx from \"clsx\";\n\n\nconst Slider = React.forwardRef(({ className, children }, ref ) => {\n return(\n
\n {children}\n
\n )\n})\n\nSlider.displayName = 'Slider';\n\nexport{\n SliderDots,\n SliderPrevBtn,\n SliderNextBtn\n}\n\n\nexport default Slider;","\"use client\"\n\nimport GridColumn from \"@/components/layout/GridColumn\";\nimport Style from \"./RecomendationRow.module.scss\";\nimport { useKeenSlider } from \"keen-slider/react\"\nimport ProductRecommendation from \"../ProductCard/Recommendation\";\nimport Divider from \"@/components/display/Divider\";\nimport { useState } from \"react\";\nimport Slider, { SliderDots, SliderNextBtn, SliderPrevBtn } from \"@/components/navigation/Slider\";\n\n\nfunction RecomendationRow({ title=\"You May Also Like\", data = [] }){\n const [ currentSlide, setCurrentSlide ] = useState(0)\n const [loaded, setLoaded] = useState(false)\n\n const [ sliderRef, instanceRef ] = useKeenSlider({\n initial: 0,\n slides: {\n perView: 5,\n spacing: 10,\n },\n breakpoints: {\n '(max-width: 568px)':{\n slides: {\n perView: 2,\n spacing: 10,\n },\n }\n },\n slideChanged(s) {\n setCurrentSlide(s.track.details.rel)\n },\n created() {\n setLoaded(true)\n },\n })\n\n\n return(\n <>\n {Array.isArray(data) && data.length > 0 ? (\n <>\n \n \n\n

\n {title}\n

\n
\n \n \n \n\n \n {data.map((product, i) => {\n return(\n \n )\n })}\n \n\n {data.length > 10 && (\n \n )}\n \n\n \n \n \n ): null}\n \n \n \n )\n}\n\nexport default RecomendationRow;","\"use client\"\n\n/* eslint-disable react-hooks/exhaustive-deps */\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport { useEffect, useState } from 'react';\n\nimport Style from './Badge.module.scss';\nimport utils from 'styles/globals/utils.module.scss';\n\n\nfunction Badge({\n content,\n max,\n showZero,\n color,\n children,\n variant,\n type,\n className = \"\",\n isInline = false\n}){\n const [ badgeContent, setContent ] = useState(content);\n\n useEffect(() => {\n if( Number.isInteger(content) && content > max ){\n setContent(`+${max}`)\n\n }else if( showZero && !content ){\n setContent(0)\n \n }else{\n setContent(content)\n }\n\n }, [ content ])\n\n\n return(\n <>\n { variant === \"square\" ? \n
\n {children}\n
\n \n :\n\n variant === \"vertical\" ? \n
\n {children}\n
\n\n :\n\n
\n {children}\n \n {badgeContent}\n \n
\n }\n \n )\n}\n\n\nBadge.propTypes = {\n children: PropTypes.any,\n content: PropTypes.node,\n color: PropTypes.string,\n max: PropTypes.number,\n showZero: PropTypes.bool,\n className: PropTypes.string,\n variant: PropTypes.oneOf([\"square\", \"vertical\"])\n};\n\n\nexport default Badge;","// extracted by mini-css-extract-plugin\nmodule.exports = {\"block\":\"Badge_block__vLDOK\",\"upper\":\"Badge_upper__EIAJo\",\"upper__hide\":\"Badge_upper__hide__0L4Ua\",\"square\":\"Badge_square__wptIF\",\"tag\":\"Badge_tag__OE_Aj\",\"vertical\":\"Badge_vertical__KxyXP\",\"color__callout\":\"Badge_color__callout___6h9Q\",\"color__standard\":\"Badge_color__standard__Brh9W\",\"color__ice\":\"Badge_color__ice___qq6D\",\"inline\":\"Badge_inline__kLhtS\"};","\n\n/**\n * Normalizes the creation of the product page URLs\n * @param {string} url - URI or slug of the product\n * @param {string} id - ID of the Product\n * @returns string\n */\n\nexport default function createProductURL(url = \"\", id = null){\n let newURL = url;\n\n // if the last character of the url string is a '/', remove it\n newURL = (url?.[url.length - 1] === \"/\") ? newURL.slice(0, url.length - 1) : newURL\n\n // if the first character of the URL string is a '/', remove it too\n newURL = (url?.[0] === \"/\" && typeof newURL === \"string\") ? newURL.slice(1) : newURL\n\n return `/p/${newURL}/-/${id}`\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"price\":\"Price_price__PlJDF\",\"md\":\"Price_md__Dhka_\",\"sm\":\"Price_sm__gFZax\",\"block\":\"Price_block__Rbnl7\",\"listPrice\":\"Price_listPrice__uJAzB\",\"priceRow\":\"Price_priceRow__yYFNr\",\"badge\":\"Price_badge__UyaGf\"};"],"names":["Card","children","className","marginBottom","noMargin","isTransparent","article","clsx","Style","style","Price","value","listPrice","size","showSaleFlag","span","itemProp","div","formatPrice","Badge","variant","Math","round","strike","GridColumn","React","ref","isRow","noWrap","start","end","rowEnd","rowStart","element","other","col_xls","col_xle","col_lgs","col_lge","col_mds","col_mde","col_sms","col_sme","col_xss","col_xse","col_GridColumnStyle","Element","gridColumnStart","gridColumnEnd","gridRowEnd","gridRowStart","role","displayName","propTypes","PropTypes","Divider","color","isSpacer","flex","orientation","capped","height","width","b","hr","utils","class","price","locale","currency","newPrice","parseFloat","toLocaleString","minimumFractionDigits","Number","isInteger","maximumFractionDigits","ProductRecommendation","id","name","image","url","index","Link","href","createProductURL","Image","src","alt","p","SliderDots","loaded","instanceRef","currentSlide","slideBy","current","Array","track","details","slides","length","keys","map","options","perView","button","onClick","moveToIdx","idx","IconChevronLeft","props","svg","viewBox","xmlSpace","aria-label","path","d","SliderPrevBtn","type","disabled","e","stopPropagation","IconChevronRight","SliderNextBtn","Slider","RecomendationRow","title","data","setCurrentSlide","useState","setLoaded","sliderRef","useKeenSlider","initial","spacing","breakpoints","slideChanged","s","rel","created","isArray","h2","product","i","content","max","showZero","isInline","badgeContent","setContent","useEffect","newURL","slice"],"sourceRoot":""}