"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[18],{43:(a,e,s)=>{s.d(e,{a:()=>C});var r=s(0),c=s(1),i=s(10),o=s(132);const{overlay:l,overlayWrapper:n,overlayWrapperTitle:t,overlayWrapperCloseIcon:d,overlayWrapperCloseIconSVG:m,overlayWrapperImageContainer:j,overlayWrapperInformation:v,overlayWrapperInformationProductName:p,overlayWrapperInformationProductMeasuresContainer:h,overlayWrapperInformationProductMeasuresContainerSizeText:x,overlayWrapperInformationProductMeasuresContainerSize:g,overlayWrapperInformationProductMeasuresContainerColorName:u,circle:N,circleWhite:b}=o.a,C=({information:a,isWarning:e,setIsWarning:s,clearCartErrorMessage:o,cartInit:C})=>a.isCartError?(0,r.jsx)("div",Object.assign({className:l,onClick:()=>{s(!1),void 0!==o&&o(),C&&C()}},{children:(0,r.jsxs)("div",Object.assign({className:n},{children:[(0,r.jsx)("div",Object.assign({className:d,onClick:()=>{s(!1),void 0!==o&&o(),C&&C()}},{children:(0,r.jsx)(i.a,{icon:"close2",className:m})})),(0,r.jsx)("div",Object.assign({className:v},{children:(0,r.jsx)("div",Object.assign({className:p},{children:a.productTitle}))}))]}))})):(0,r.jsx)("div",Object.assign({className:l,onClick:()=>{s(!1),void 0!==o&&o()}},{children:(0,r.jsxs)("div",Object.assign({className:n},{children:[(0,r.jsx)("div",Object.assign({className:d,onClick:()=>{s(!1),void 0!==o&&o()}},{children:(0,r.jsx)(i.a,{icon:"close2",className:m})})),(0,r.jsx)("h3",Object.assign({className:t},{children:"Limit cart quantity"})),(0,r.jsx)("div",Object.assign({className:v},{children:(0,r.jsx)("div",{children:`You have reached the maximum quantity (${a.quantity}) for this product`})})),(0,r.jsx)("div",Object.assign({className:j},{children:(0,r.jsx)("img",{src:a.image.src,alt:a.image.alt})})),(0,r.jsx)("div",Object.assign({className:p},{children:a.productTitle})),(0,r.jsxs)("div",Object.assign({className:h},{children:[(0,r.jsx)("div",Object.assign({className:x},{children:"Size"})),(0,r.jsx)("div",Object.assign({className:g},{children:a.productSize})),""!==a.colorIcon.colorName&&(0,r.jsx)(c.Fragment,{children:"White"===a.colorIcon.colorName?(0,r.jsx)("div",{className:b}):(0,r.jsx)(c.Fragment,{children:a.colorIcon.isValidUrl?(0,r.jsx)("img",{src:a.colorIcon.colorUrl,alt:a.colorIcon.colorName,className:`${N} `}):(0,r.jsx)("div",{style:`background: ${a.colorIcon.colorUrl}; width: 20px;`,className:`${N}`})})}),(0,r.jsx)("div",Object.assign({className:u},{children:a.productColor}))]}))]}))}))}}]);