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O,CACrBC,OAAQzD,EAAMyD,MAAO,CACrBjD,aA5CyDD,KAAA,IAAAA,EAAG,KAAIA,EA6ChEmD,iBAAkB1D,EAAM0D,gBAAiB,CACzC5C,WAAYA,EACZ6C,aAAc3D,EAAM2D,YAAa,CACjCC,uBAAwB5D,EAAM4D,sBAAuB,CACrDC,sBAAuB7D,EAAM6D,qBAAsB,CAAA3D,SAElDA,CAAQ,GACK,GAGlBa,CAAAA,EAAAA,EAAAA,GAAAA,EAACiC,EAAAA,QAAQ,EAACC,SAAUlC,CAAAA,EAAAA,EAAAA,GAAAA,EAACmC,EAAAA,CAAM,KAAIhD,SAC/Ba,CAAAA,EAAAA,EAAAA,GAAAA,EAACjB,EAAGqD,EAAAA,EAAA,GACInD,GAAK,IACTM,MAAOA,EACP8C,QAAS9B,EACTE,eAAgBA,EAChBM,UAAWA,EACXC,cAAeA,EACfC,cAAeA,EACfpB,OAhEwFD,KAAA,IAAAA,EAAG,KAAIA,EAiE/FiB,IAAKxB,GAAoBwB,CAAAA,IAAQxB,GAAcK,EAA0C,GAA/B,GAAAqD,MAAA,CAAMlC,EAAG,KAAAkC,MAAA,CAAIpD,GAAa,GAAK,EACzF2C,mBAAoBlB,EACpBC,gBAAiBA,EACjB2B,UAAW/D,EAAM+D,SAAU,CAC3BC,YAAahE,EAAMgE,WAAY,CAC/BC,aAAcjE,EAAMiE,YAAa,CACjCC,WAAYlE,EAAMkE,UAAW,CAC7B7B,gBAAiBA,EACjBI,mBAAoBA,EACpBF,OAAQA,EACRI,WAAYA,EACZ7B,WAAYA,EACZqD,eAAgBnE,EAAMmE,cAAAA,GACxB,EAUlB","sources":["webpack://_N_E/./components/Image/Image.js"],"sourcesContent":["import React, { Fragment, Suspense } from 'react';\nimport dynamic from 'next/dynamic';\nimport PropTypes from 'prop-types';\nimport { ImageConstants } from '../../adapters/helpers/Constants';\nconst BackgroundImage = dynamic(() => import('./BackgroundImage/BackgroundImage'));\nconst Img = dynamic(() => import('./Img/Img'));\nimport Loader from '../../adapters/helpers/Loader';\n\nexport default function Image(props) {\n\n const { children = null, image,imageQuality, altText, scale, customStyles = null,noAltText, text, elemId = null, ariaHidden = false} = props;\n\n if (image) {\n const assetId = image?.fields?.assetId;\n const contentImageId = image?.fields.asset?.fields?.file?.url;\n const alt = image?.fields?.alternateText;\n const isPreload = image.fields.isPreload;\n const isBannerImage = image.fields.isBannerImage;\n const isProductPage = image.fields.isProductPage;\n const rendition = image.fields.imageRendition;\n const aspectRatio = rendition?.fields.aspectRatio;\n const transformations = rendition?.fields.transformations;\n let customClassName = image.fields.classNames;\n const format = image.fields.forcedFormat || 'auto';\n const alignmentClassName = props.className;\n const resetImage = props.resetImage;\n const product= ImageConstants.product;\n\n if (props.zoneClassName) {\n if (!customClassName) {\n customClassName = '';\n }\n\n customClassName += props.zoneClassName;\n }\n\n return (children || props.forceBackground ?\n }>\n \n {children}\n \n \n :\n }>\n
\n \n );\n } else {\n return (\n \n {children}\n \n )\n }\n}\n\nImage.propTypes = {\n offsetTop: PropTypes.string,\n offsetRight: PropTypes.string,\n offsetLeft: PropTypes.string,\n offsetBottom: PropTypes.string,\n classname: PropTypes.string,\n zoneClassName: PropTypes.string,\n children: PropTypes.node,\n image: PropTypes.any,\n ariaHidden: PropTypes.bool,\n isPreload:PropTypes.bool,\n isBannerImage: PropTypes.bool\n};\n"],"names":["BackgroundImage","dynamic","Promise","all","__webpack_require__","e","then","bind","loadableGenerated","webpack","Img","Image","props","_props$children","children","image","altText","imageQuality","scale","_props$customStyles","customStyles","noAltText","text","_props$elemId","elemId","_props$ariaHidden","ariaHidden","_jsx","Fragment","_image$fields","_image$fields$asset","_image$fields$asset$f","_image$fields$asset$f2","_image$fields2","assetId","fields","contentImageId","asset","file","url","alt","alternateText","isPreload","isBannerImage","isProductPage","rendition","imageRendition","aspectRatio","transformations","customClassName","classNames","format","forcedFormat","alignmentClassName","className","resetImage","ImageConstants","product","zoneClassName","forceBackground","Suspense","fallback","Loader","_objectSpread","imageId","widthToHeightRatio","backgroundPosition","backgroundOffsetTop","assetX","assetY","hasAssetParallax","preloadImage","desktopBackgroundImage","mobileBackgroundImage","concat","offsetTop","offsetRight","offsetBottom","offsetLeft","imageClassName"],"sourceRoot":""}