@salesgenterp/ui-components 0.4.562 → 0.4.564

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
- import { Skeleton as Skeleton$1, CircularProgress, TextField, Button, IconButton, Stack, Typography, Grid, InputAdornment, Popover, TableHead, TableRow, TableSortLabel, Paper, TableContainer as TableContainer$4, Table, TableBody, TableCell, TablePagination, Dialog, DialogContent, DialogActions, DialogTitle as DialogTitle$1, RadioGroup, Radio, FormControlLabel, FormLabel, FormControl, FormHelperText, Select as Select$1, InputLabel, MenuItem, CardMedia, Divider, Tabs, Box, Tab, CardContent, ListItemIcon, ListItem, Collapse, List, ListItemText, Checkbox as Checkbox$1, Card as Card$1, CardHeader as CardHeader$1, CssBaseline, Toolbar, Drawer, useMediaQuery as useMediaQuery$1, Tooltip, Pagination, CardActionArea, Avatar as Avatar$1, alpha, Stepper, Step, StepLabel, StepContent, Container as Container$4 } from '@mui/material';
1
+ import { Skeleton as Skeleton$1, CircularProgress, TextField, Button, IconButton, Stack, Typography, Grid, InputAdornment, Popover, TableHead, TableRow, TableSortLabel, Paper, TableContainer as TableContainer$4, Table, TableBody, TableCell, TablePagination, Dialog, DialogTitle as DialogTitle$1, DialogContent, DialogActions, RadioGroup, Radio, FormControlLabel, FormLabel, FormControl, FormHelperText, Select as Select$1, InputLabel, MenuItem, Checkbox, CardMedia, Divider, Tabs, Box, Tab, CardContent, ListItemIcon, ListItem, Collapse, List, ListItemText, Card as Card$1, CardHeader as CardHeader$1, CssBaseline, Toolbar, Drawer, useMediaQuery as useMediaQuery$1, Tooltip, Pagination, CardActionArea, Avatar as Avatar$1, alpha, Stepper, Step, StepLabel, StepContent, Container as Container$4 } from '@mui/material';
2
2
  import { styled as styled$1 } from '@mui/material/styles';
3
3
  import useMediaQuery from '@mui/material/useMediaQuery';
4
- import React__default, { useState, useEffect, forwardRef, memo, useMemo, createElement, useCallback, useRef, Fragment as Fragment$1 } from 'react';
5
- import { MdVisibilityOff, MdVisibility, MdClose, MdMonetizationOn, MdOutlineStorefront, MdRemoveRedEye, MdOutlineFileDownload, MdPersonOutline, MdOutlineCall, MdMailOutline, MdExpandMore, MdExpandLess, MdStore, MdOutlineMenuOpen, MdMenu, MdDarkMode, MdOutlineDarkMode, MdLocalOffer, MdDelete, MdCheckCircle, MdArrowBack, MdOutlineCircle, MdOutlineStickyNote2, MdOutlineNumbers, MdDateRange, MdOutlineWarehouse } from 'react-icons/md';
4
+ import React__default, { useState, useEffect, forwardRef, useRef, memo, useMemo, createElement, useCallback, Fragment as Fragment$1 } from 'react';
5
+ import { MdVisibilityOff, MdVisibility, MdPrint, MdClose, MdMonetizationOn, MdOutlineStorefront, MdRemoveRedEye, MdOutlineFileDownload, MdPersonOutline, MdOutlineCall, MdMailOutline, MdExpandMore, MdExpandLess, MdStore, MdOutlineMenuOpen, MdMenu, MdDarkMode, MdOutlineDarkMode, MdLocalOffer, MdDelete, MdCheckCircle, MdArrowBack, MdOutlineCircle, MdOutlineStickyNote2, MdOutlineNumbers, MdDateRange, MdOutlineWarehouse } from 'react-icons/md';
6
6
  import styled, { css, ThemeProvider, keyframes } from 'styled-components';
7
- import { isEmpty, isString, toNumber, reduce, concat, omit, replace, template, isArray, some, toLower, isPlainObject, includes, values, cloneDeep, filter, sortBy, isObject, sumBy, get, isNumber, remove } from 'lodash';
7
+ import { isEmpty, isString, toNumber, includes, reduce, concat, omit, replace, template, isArray, some, toLower, isPlainObject, values, cloneDeep, filter, sortBy, isObject, sumBy, get, isNumber, remove } from 'lodash';
8
8
  import axios from 'axios';
9
9
  import moment from 'moment';
10
10
  import qs from 'qs';
@@ -31,7 +31,7 @@ import { BsFileEarmarkImage, BsFileEarmarkPdf, BsCartX } from 'react-icons/bs';
31
31
  import { TfiMenuAlt } from 'react-icons/tfi';
32
32
  import { GoNumber } from 'react-icons/go';
33
33
  import { RiAccountBoxLine, RiHome7Line, RiFileTextLine, RiDiscountPercentLine, RiDeleteBin5Line } from 'react-icons/ri';
34
- import Checkbox from '@mui/material/Checkbox';
34
+ import Checkbox$1 from '@mui/material/Checkbox';
35
35
  import FormControl$1 from '@mui/material/FormControl';
36
36
  import InputLabel$1 from '@mui/material/InputLabel';
37
37
  import MenuItem$1 from '@mui/material/MenuItem';
@@ -469,6 +469,11 @@ var jsonParse = function jsonParse(value) {
469
469
  var convertToBoolean = function convertToBoolean(value) {
470
470
  return toNumber(value) === 1;
471
471
  };
472
+ var inDevelopment = function inDevelopment() {
473
+ if (typeof window === 'undefined') return false;
474
+ var list = ['localhost', 'calikulture-git-develop-salesgent-techgrow.vercel.app', 'calikulture-git-staging-salesgent-techgrow.vercel.app', 'aa-cell-sc-git-develop-salesgent-techgrow.vercel.app', 'aa-cell-sc-git-staging-salesgent-techgrow.vercel.app'];
475
+ return includes(list, window.location.hostname);
476
+ };
472
477
 
473
478
  function useSystemFeatureList(_ref) {
474
479
  var apiEndPoint = _ref.apiEndPoint,
@@ -2002,7 +2007,120 @@ var TypographyContainer$1 = styled(Typography)(_templateObject11 || (_templateOb
2002
2007
  return props.fontColor;
2003
2008
  });
2004
2009
 
2005
- var _templateObject$6;
2010
+ var _templateObject$6, _templateObject2$3, _templateObject3$2;
2011
+ var PdfPreviewModal = function PdfPreviewModal(_ref) {
2012
+ var open = _ref.open,
2013
+ url = _ref.url,
2014
+ title = _ref.title,
2015
+ onClose = _ref.onClose,
2016
+ fontColor = _ref.fontColor,
2017
+ primaryColor = _ref.primaryColor,
2018
+ secondaryColor = _ref.secondaryColor;
2019
+ var _useState = useState(''),
2020
+ src = _useState[0],
2021
+ setSrc = _useState[1];
2022
+ var _useState2 = useState(false),
2023
+ loading = _useState2[0],
2024
+ setLoading = _useState2[1];
2025
+ var iframeRef = useRef(null);
2026
+ useEffect(function () {
2027
+ if (!open || !url) return undefined;
2028
+ var objectUrl;
2029
+ var cancelled = false;
2030
+ setLoading(true);
2031
+ (function () {
2032
+ try {
2033
+ return _finallyRethrows(function () {
2034
+ return _catch(function () {
2035
+ return Promise.resolve(fetch(url)).then(function (response) {
2036
+ if (!response.ok) throw new Error(response.statusText);
2037
+ return Promise.resolve(response.blob()).then(function (blob) {
2038
+ objectUrl = URL.createObjectURL(blob);
2039
+ if (!cancelled) setSrc(objectUrl);
2040
+ });
2041
+ });
2042
+ }, function () {
2043
+ if (!cancelled) setSrc(url);
2044
+ });
2045
+ }, function (_wasThrown, _result) {
2046
+ if (!cancelled) setLoading(false);
2047
+ if (_wasThrown) throw _result;
2048
+ return _result;
2049
+ });
2050
+ } catch (e) {
2051
+ Promise.reject(e);
2052
+ }
2053
+ })();
2054
+ return function () {
2055
+ cancelled = true;
2056
+ if (objectUrl) URL.revokeObjectURL(objectUrl);
2057
+ setSrc('');
2058
+ };
2059
+ }, [open, url]);
2060
+ var handlePrint = function handlePrint() {
2061
+ try {
2062
+ var _iframeRef$current, _iframeRef$current$co, _iframeRef$current2, _iframeRef$current2$c;
2063
+ (_iframeRef$current = iframeRef.current) === null || _iframeRef$current === void 0 ? void 0 : (_iframeRef$current$co = _iframeRef$current.contentWindow) === null || _iframeRef$current$co === void 0 ? void 0 : _iframeRef$current$co.focus();
2064
+ (_iframeRef$current2 = iframeRef.current) === null || _iframeRef$current2 === void 0 ? void 0 : (_iframeRef$current2$c = _iframeRef$current2.contentWindow) === null || _iframeRef$current2$c === void 0 ? void 0 : _iframeRef$current2$c.print();
2065
+ } catch (error) {}
2066
+ };
2067
+ return /*#__PURE__*/React__default.createElement(ModalContainer, {
2068
+ open: open,
2069
+ onClose: onClose,
2070
+ fullWidth: true,
2071
+ maxWidth: "lg",
2072
+ secondaryColor: secondaryColor
2073
+ }, /*#__PURE__*/React__default.createElement(DialogTitle$1, {
2074
+ sx: {
2075
+ m: 0,
2076
+ p: 2,
2077
+ pr: 14,
2078
+ color: fontColor,
2079
+ display: 'flex',
2080
+ alignItems: 'center'
2081
+ }
2082
+ }, title || 'Preview', /*#__PURE__*/React__default.createElement(Actions, null, /*#__PURE__*/React__default.createElement(Button, {
2083
+ size: "small",
2084
+ variant: "contained",
2085
+ startIcon: /*#__PURE__*/React__default.createElement(MdPrint, null),
2086
+ onClick: handlePrint,
2087
+ disabled: loading || !src,
2088
+ style: primaryColor ? {
2089
+ background: primaryColor
2090
+ } : undefined
2091
+ }, "Print"), /*#__PURE__*/React__default.createElement(IconButton, {
2092
+ "aria-label": "close",
2093
+ onClick: onClose,
2094
+ sx: {
2095
+ color: fontColor,
2096
+ '& svg': {
2097
+ fontSize: 20
2098
+ }
2099
+ }
2100
+ }, /*#__PURE__*/React__default.createElement(MdClose, null)))), /*#__PURE__*/React__default.createElement(DialogContent, {
2101
+ dividers: true,
2102
+ sx: {
2103
+ p: 0,
2104
+ height: '80vh'
2105
+ }
2106
+ }, loading || !src ? /*#__PURE__*/React__default.createElement(Center, null, /*#__PURE__*/React__default.createElement(CircularProgress, null)) : /*#__PURE__*/React__default.createElement("iframe", {
2107
+ ref: iframeRef,
2108
+ src: src,
2109
+ title: title || 'Preview',
2110
+ style: {
2111
+ width: '100%',
2112
+ height: '100%',
2113
+ border: 0
2114
+ }
2115
+ })));
2116
+ };
2117
+ var ModalContainer = styled(Dialog)(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n .MuiPaper-root {\n background: ", ";\n }\n"])), function (props) {
2118
+ return props.secondaryColor;
2119
+ });
2120
+ var Actions = styled.div(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 8px;\n top: 8px;\n display: flex;\n align-items: center;\n gap: 8px;\n"])));
2121
+ var Center = styled.div(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteralLoose(["\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
2122
+
2123
+ var _templateObject$7;
2006
2124
  var _excluded$2 = ["children", "onClose", "fontColor"];
2007
2125
  var MuiModal = function MuiModal(props) {
2008
2126
  var fontColor = props.fontColor,
@@ -2011,7 +2129,7 @@ var MuiModal = function MuiModal(props) {
2011
2129
  title = props.title,
2012
2130
  secondaryColor = props.secondaryColor,
2013
2131
  actions = props.actions;
2014
- return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ModalContainer, _extends({}, props, {
2132
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ModalContainer$1, _extends({}, props, {
2015
2133
  onClose: onClose,
2016
2134
  secondaryColor: secondaryColor
2017
2135
  }), /*#__PURE__*/React__default.createElement(BootstrapDialogTitle, {
@@ -2049,11 +2167,11 @@ function BootstrapDialogTitle(props) {
2049
2167
  }
2050
2168
  }, /*#__PURE__*/React__default.createElement(MdClose, null)) : null);
2051
2169
  }
2052
- var ModalContainer = styled(Dialog)(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n .MuiPaper-root {\n background: ", ";\n }\n"])), function (props) {
2170
+ var ModalContainer$1 = styled(Dialog)(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteralLoose(["\n .MuiPaper-root {\n background: ", ";\n }\n"])), function (props) {
2053
2171
  return props.secondaryColor;
2054
2172
  });
2055
2173
 
2056
- var _templateObject$7, _templateObject2$3, _templateObject3$2, _templateObject4$1;
2174
+ var _templateObject$8, _templateObject2$4, _templateObject3$3, _templateObject4$1;
2057
2175
  var FormRadiogroup = function FormRadiogroup(props) {
2058
2176
  var label = props.label,
2059
2177
  name = props.name,
@@ -2105,20 +2223,20 @@ var FormRadiogroup = function FormRadiogroup(props) {
2105
2223
  }
2106
2224
  });
2107
2225
  };
2108
- var RadiogroupField = styled(RadioGroup)(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
2226
+ var RadiogroupField = styled(RadioGroup)(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
2109
2227
  return props.primaryColor;
2110
2228
  });
2111
- var RadioField = styled(Radio)(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
2229
+ var RadioField = styled(Radio)(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
2112
2230
  return props.primaryColor;
2113
2231
  });
2114
- var FormControlLabelContainer = styled(FormControlLabel)(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteralLoose(["\n .MuiTypography-root {\n color: ", " !important;\n }\n"])), function (props) {
2232
+ var FormControlLabelContainer = styled(FormControlLabel)(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n .MuiTypography-root {\n color: ", " !important;\n }\n"])), function (props) {
2115
2233
  return props.fontColor;
2116
2234
  });
2117
2235
  var InputContainer = styled(FormLabel)(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
2118
2236
  return props.fontColor;
2119
2237
  });
2120
2238
 
2121
- var _templateObject$8, _templateObject2$4;
2239
+ var _templateObject$9, _templateObject2$5;
2122
2240
  var FormSelect = function FormSelect(props) {
2123
2241
  var label = props.label,
2124
2242
  name = props.name,
@@ -2171,14 +2289,14 @@ var FormSelect = function FormSelect(props) {
2171
2289
  }
2172
2290
  });
2173
2291
  };
2174
- var SelectField = styled(Select$1)(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n svg,\n input {\n color: ", " !important;\n }\n fieldset {\n border-color: ", " !important;\n }\n"])), function (props) {
2292
+ var SelectField = styled(Select$1)(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n svg,\n input {\n color: ", " !important;\n }\n fieldset {\n border-color: ", " !important;\n }\n"])), function (props) {
2175
2293
  return props.fontColor;
2176
2294
  }, function (props) {
2177
2295
  return props.fontColor;
2178
2296
  }, function (props) {
2179
2297
  return props.fontColor;
2180
2298
  });
2181
- var InputContainer$1 = styled(InputLabel)(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
2299
+ var InputContainer$1 = styled(InputLabel)(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
2182
2300
  return props.fontColor;
2183
2301
  });
2184
2302
 
@@ -2487,7 +2605,7 @@ var AddAuthorizeDotNetCard = function AddAuthorizeDotNetCard(_ref) {
2487
2605
  }))))));
2488
2606
  };
2489
2607
 
2490
- var _templateObject$9;
2608
+ var _templateObject$a;
2491
2609
  var PaymentModal = function PaymentModal(_ref) {
2492
2610
  var _customerCreditCards$, _customerCreditCards$2, _orderData$orderDto6, _orderData$orderDto7, _orderData$orderDto8, _orderData$orderDto9, _orderData$customerDt, _orderData$customerDt2, _orderData$orderDto10, _orderData$orderDto11, _authorizeDotNetCardD, _authorizeDotNetCardD2, _authorizeDotNetCardD3, _authorizeDotNetCardD4, _authorizeDotNetCardD5, _authorizeDotNetCardD6, _authorizeDotNetCardD7, _authorizeDotNetCardD8, _customerCreditCards$4, _customerCreditCards$5;
2493
2611
  var apiEndPoint = _ref.apiEndPoint,
@@ -2806,7 +2924,7 @@ var PaymentModal = function PaymentModal(_ref) {
2806
2924
  })
2807
2925
  }, /*#__PURE__*/React__default.createElement("span", null, "Add New Card")))))))))));
2808
2926
  };
2809
- var InfoContainer = styled.div(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid #00000040;\n padding-bottom: 1rem;\n margin-bottom: 1rem;\n color: ", ";\n h2 {\n margin-bottom: 0.6rem;\n }\n p {\n font-size: 1.2rem;\n margin-bottom: 0.6rem;\n }\n"])), function (props) {
2927
+ var InfoContainer = styled.div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid #00000040;\n padding-bottom: 1rem;\n margin-bottom: 1rem;\n color: ", ";\n h2 {\n margin-bottom: 0.6rem;\n }\n p {\n font-size: 1.2rem;\n margin-bottom: 0.6rem;\n }\n"])), function (props) {
2810
2928
  return props.fontColor;
2811
2929
  });
2812
2930
 
@@ -3145,7 +3263,124 @@ var ExcessPaymentDialog = function ExcessPaymentDialog(_ref2) {
3145
3263
  })));
3146
3264
  };
3147
3265
 
3148
- var _templateObject$a, _templateObject2$5, _templateObject3$3, _templateObject4$2, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject10$1, _templateObject11$1, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19;
3266
+ var CloneOrderDialog = function CloneOrderDialog(_ref) {
3267
+ var visible = _ref.visible,
3268
+ onClose = _ref.onClose,
3269
+ onSubmit = _ref.onSubmit,
3270
+ loading = _ref.loading,
3271
+ styles = _ref.styles;
3272
+ var _useState = useState(null),
3273
+ combineProduct = _useState[0],
3274
+ setCombineProduct = _useState[1];
3275
+ useEffect(function () {
3276
+ if (!visible) {
3277
+ setCombineProduct(null);
3278
+ }
3279
+ }, [visible]);
3280
+ var checkboxSx = {
3281
+ '&.Mui-checked': {
3282
+ color: styles === null || styles === void 0 ? void 0 : styles.primaryColor
3283
+ }
3284
+ };
3285
+ return /*#__PURE__*/React__default.createElement(Dialog, {
3286
+ open: !!visible,
3287
+ onClose: loading ? undefined : function () {
3288
+ return onClose === null || onClose === void 0 ? void 0 : onClose();
3289
+ },
3290
+ fullWidth: true,
3291
+ maxWidth: "xs"
3292
+ }, /*#__PURE__*/React__default.createElement(DialogTitle$1, null, "Clone Order"), /*#__PURE__*/React__default.createElement(DialogContent, null, /*#__PURE__*/React__default.createElement(Typography, {
3293
+ sx: {
3294
+ fontWeight: 600,
3295
+ mb: 1
3296
+ }
3297
+ }, "Do you want to combine the products?"), /*#__PURE__*/React__default.createElement(Typography, {
3298
+ variant: "body2",
3299
+ sx: {
3300
+ mb: 1
3301
+ }
3302
+ }, "Some products in this order may already be in your cart. Choose how their quantities should be handled:"), /*#__PURE__*/React__default.createElement(Typography, {
3303
+ component: "ul",
3304
+ variant: "body2",
3305
+ sx: {
3306
+ pl: 2.5,
3307
+ mb: 1
3308
+ }
3309
+ }, /*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement("b", null, "Yes"), " - add the order quantity to what is already in your cart."), /*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement("b", null, "No"), " - replace the cart quantity with the order quantity.")), /*#__PURE__*/React__default.createElement(Typography, {
3310
+ variant: "body2",
3311
+ sx: {
3312
+ mb: 1,
3313
+ p: 1.5,
3314
+ borderRadius: 1,
3315
+ bgcolor: 'action.hover'
3316
+ }
3317
+ }, /*#__PURE__*/React__default.createElement("b", null, "Example:"), " Your cart has 5 of Product X and this order has 10 of Product X.", /*#__PURE__*/React__default.createElement("br", null), "Yes \u2192 your cart will have ", /*#__PURE__*/React__default.createElement("b", null, "15"), " (5 + 10).", /*#__PURE__*/React__default.createElement("br", null), "No \u2192 your cart will have ", /*#__PURE__*/React__default.createElement("b", null, "10"), "."), /*#__PURE__*/React__default.createElement(Grid, {
3318
+ container: true,
3319
+ spacing: 2
3320
+ }, /*#__PURE__*/React__default.createElement(Grid, {
3321
+ item: true
3322
+ }, /*#__PURE__*/React__default.createElement(FormControlLabel, {
3323
+ label: "Yes",
3324
+ control: /*#__PURE__*/React__default.createElement(Checkbox, {
3325
+ checked: combineProduct === true,
3326
+ onChange: function onChange() {
3327
+ return setCombineProduct(true);
3328
+ },
3329
+ disabled: loading,
3330
+ sx: checkboxSx
3331
+ })
3332
+ })), /*#__PURE__*/React__default.createElement(Grid, {
3333
+ item: true
3334
+ }, /*#__PURE__*/React__default.createElement(FormControlLabel, {
3335
+ label: "No",
3336
+ control: /*#__PURE__*/React__default.createElement(Checkbox, {
3337
+ checked: combineProduct === false,
3338
+ onChange: function onChange() {
3339
+ return setCombineProduct(false);
3340
+ },
3341
+ disabled: loading,
3342
+ sx: checkboxSx
3343
+ })
3344
+ }))), /*#__PURE__*/React__default.createElement(DialogActions, {
3345
+ sx: {
3346
+ justifyContent: 'center',
3347
+ px: 0,
3348
+ pt: 2
3349
+ }
3350
+ }, /*#__PURE__*/React__default.createElement(Grid, {
3351
+ container: true,
3352
+ spacing: 4,
3353
+ alignItems: "center",
3354
+ justifyContent: "center"
3355
+ }, /*#__PURE__*/React__default.createElement(Grid, {
3356
+ item: true
3357
+ }, /*#__PURE__*/React__default.createElement(MuiButton, {
3358
+ primaryColor: combineProduct !== null && (styles === null || styles === void 0 ? void 0 : styles.primaryColor),
3359
+ sx: {
3360
+ fontSize: '1.3rem'
3361
+ },
3362
+ onClick: function onClick() {
3363
+ return onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(combineProduct);
3364
+ },
3365
+ loading: loading,
3366
+ disabled: combineProduct === null,
3367
+ size: "small"
3368
+ }, "Submit")), /*#__PURE__*/React__default.createElement(Grid, {
3369
+ item: true
3370
+ }, /*#__PURE__*/React__default.createElement(MuiButton, {
3371
+ primaryColor: styles === null || styles === void 0 ? void 0 : styles.primaryColor,
3372
+ sx: {
3373
+ fontSize: '1.3rem'
3374
+ },
3375
+ onClick: function onClick() {
3376
+ return onClose === null || onClose === void 0 ? void 0 : onClose();
3377
+ },
3378
+ disabled: loading,
3379
+ size: "small"
3380
+ }, "Cancel"))))));
3381
+ };
3382
+
3383
+ var _templateObject$b, _templateObject2$6, _templateObject3$4, _templateObject4$2, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject10$1, _templateObject11$1, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19;
3149
3384
  var totalIcons = [{
3150
3385
  name: '',
3151
3386
  icon: /*#__PURE__*/React__default.createElement(AiOutlineShoppingCart, null)
@@ -3224,6 +3459,7 @@ var Dashboard = function Dashboard(_ref) {
3224
3459
  showOnlyRecentOrder = _ref$showOnlyRecentOr === void 0 ? false : _ref$showOnlyRecentOr,
3225
3460
  hidePayActionButton = _ref.hidePayActionButton,
3226
3461
  paymentProvider = _ref.paymentProvider;
3462
+ var showCloneOrderButton = inDevelopment();
3227
3463
  var _useState = useState({}),
3228
3464
  customerData = _useState[0],
3229
3465
  setCustomerData = _useState[1];
@@ -3266,6 +3502,20 @@ var Dashboard = function Dashboard(_ref) {
3266
3502
  }),
3267
3503
  isExcessPaymentModal = _useState7[0],
3268
3504
  setIsExcessPaymentModal = _useState7[1];
3505
+ var _useState8 = useState({
3506
+ url: '',
3507
+ title: ''
3508
+ }),
3509
+ invoicePreview = _useState8[0],
3510
+ setInvoicePreview = _useState8[1];
3511
+ var _useState9 = useState({
3512
+ open: false
3513
+ }),
3514
+ cloneOrderDialog = _useState9[0],
3515
+ setCloneOrderDialog = _useState9[1];
3516
+ var _useState10 = useState(false),
3517
+ cloneOrderLoading = _useState10[0],
3518
+ setCloneOrderLoading = _useState10[1];
3269
3519
  var _ref2 = useSystemFeatureByFieldName({
3270
3520
  apiEndPoint: apiEndPoint,
3271
3521
  token: token,
@@ -3293,9 +3543,9 @@ var Dashboard = function Dashboard(_ref) {
3293
3543
  return featureName ? DASHBOARD_ORDER_LIST_BY_NAME === null || DASHBOARD_ORDER_LIST_BY_NAME === void 0 ? void 0 : DASHBOARD_ORDER_LIST_BY_NAME[featureName] : null;
3294
3544
  }).filter(Boolean);
3295
3545
  }, [selectedDashboardOrderIds, featureValueListById]);
3296
- var _useState8 = useState(null),
3297
- value = _useState8[0],
3298
- setValue = _useState8[1];
3546
+ var _useState11 = useState(null),
3547
+ value = _useState11[0],
3548
+ setValue = _useState11[1];
3299
3549
  useEffect(function () {
3300
3550
  if (!(visibleTabs !== null && visibleTabs !== void 0 && visibleTabs.length)) return;
3301
3551
  var isCurrentVisible = value != null && visibleTabs.some(function (tab) {
@@ -3325,7 +3575,10 @@ var Dashboard = function Dashboard(_ref) {
3325
3575
  };
3326
3576
  var openInvoiceData = function openInvoiceData(orderId) {
3327
3577
  if (serviceApiEndPoint) {
3328
- window.open(serviceApiEndPoint + "/" + getInvoicePathByTab(value) + "/invoice/" + orderId + "?token=" + token + "&defaultStoreId=" + defaultStoreId + "&storeIdList=" + storeIdList + "&isEcommerce=true", '_blank', 'noopener,noreferrer');
3578
+ setInvoicePreview({
3579
+ url: serviceApiEndPoint + "/" + getInvoicePathByTab(value) + "/invoice/" + orderId + "?token=" + token + "&defaultStoreId=" + defaultStoreId + "&storeIdList=" + storeIdList + "&isEcommerce=true",
3580
+ title: "#" + orderId
3581
+ });
3329
3582
  }
3330
3583
  };
3331
3584
  var getDateKey = function getDateKey(tabValue) {
@@ -3375,6 +3628,74 @@ var Dashboard = function Dashboard(_ref) {
3375
3628
  return Promise.reject(e);
3376
3629
  }
3377
3630
  };
3631
+ var closeCloneOrderDialog = function closeCloneOrderDialog() {
3632
+ if (cloneOrderLoading) return;
3633
+ setCloneOrderDialog({
3634
+ open: false
3635
+ });
3636
+ };
3637
+ var handleCloneOrder = function handleCloneOrder(combineProduct) {
3638
+ try {
3639
+ var documentType = cloneOrderDialog.documentType,
3640
+ documentId = cloneOrderDialog.documentId;
3641
+ if (documentId == null || cloneOrderLoading) return Promise.resolve();
3642
+ setCloneOrderLoading(true);
3643
+ var _temp = _finallyRethrows(function () {
3644
+ return _catch(function () {
3645
+ return Promise.resolve(API({
3646
+ url: "/ecommerce/addToCart",
3647
+ method: 'post',
3648
+ apiEndPoint: apiEndPoint,
3649
+ token: token,
3650
+ body: {
3651
+ documentType: documentType,
3652
+ combineProduct: !!combineProduct,
3653
+ documentId: String(documentId),
3654
+ storeId: defaultStoreId != null ? String(defaultStoreId) : undefined
3655
+ }
3656
+ })).then(function () {
3657
+ setCloneOrderDialog({
3658
+ open: false
3659
+ });
3660
+ alert('Order items added to cart successfully.');
3661
+ window.location.reload();
3662
+ });
3663
+ }, function () {});
3664
+ }, function (_wasThrown, _result) {
3665
+ setCloneOrderLoading(false);
3666
+ if (_wasThrown) throw _result;
3667
+ return _result;
3668
+ });
3669
+ return Promise.resolve(_temp && _temp.then ? _temp.then(function () {}) : void 0);
3670
+ } catch (e) {
3671
+ return Promise.reject(e);
3672
+ }
3673
+ };
3674
+ var getCloneOrderColumn = function getCloneOrderColumn(_ref3) {
3675
+ var documentType = _ref3.documentType,
3676
+ idKey = _ref3.idKey;
3677
+ return {
3678
+ id: 'cloneOrder',
3679
+ label: 'Clone Order',
3680
+ align: 'center',
3681
+ format: function format(_value, record) {
3682
+ return /*#__PURE__*/React__default.createElement(MuiButton, {
3683
+ primaryColor: (record === null || record === void 0 ? void 0 : record[idKey]) != null && primaryColor,
3684
+ disabled: (record === null || record === void 0 ? void 0 : record[idKey]) == null,
3685
+ onClick: function onClick() {
3686
+ return setCloneOrderDialog({
3687
+ open: true,
3688
+ documentType: documentType,
3689
+ documentId: record === null || record === void 0 ? void 0 : record[idKey]
3690
+ });
3691
+ },
3692
+ style: {
3693
+ whiteSpace: 'nowrap'
3694
+ }
3695
+ }, "Clone Order");
3696
+ }
3697
+ };
3698
+ };
3378
3699
  var columns = [{
3379
3700
  id: 'orderId',
3380
3701
  label: 'Invoice #'
@@ -3464,7 +3785,10 @@ var Dashboard = function Dashboard(_ref) {
3464
3785
  disabled: (record === null || record === void 0 ? void 0 : record.dueBalance) <= 0
3465
3786
  }, "Pay"));
3466
3787
  }
3467
- }];
3788
+ }].concat(showCloneOrderButton ? [getCloneOrderColumn({
3789
+ documentType: 'ORDER',
3790
+ idKey: 'orderId'
3791
+ })] : []);
3468
3792
  var salesOrderColumns = [{
3469
3793
  id: 'salesOrderId',
3470
3794
  label: 'SO #'
@@ -3518,7 +3842,10 @@ var Dashboard = function Dashboard(_ref) {
3518
3842
  }
3519
3843
  })));
3520
3844
  }
3521
- }];
3845
+ }].concat(showCloneOrderButton ? [getCloneOrderColumn({
3846
+ documentType: 'SALES_ORDER',
3847
+ idKey: 'salesOrderId'
3848
+ })] : []);
3522
3849
  var quotaionColumns = [{
3523
3850
  id: 'quotationId',
3524
3851
  label: 'ID'
@@ -3566,7 +3893,10 @@ var Dashboard = function Dashboard(_ref) {
3566
3893
  }
3567
3894
  })));
3568
3895
  }
3569
- }];
3896
+ }].concat(showCloneOrderButton ? [getCloneOrderColumn({
3897
+ documentType: 'QUOTATION',
3898
+ idKey: 'quotationId'
3899
+ })] : []);
3570
3900
  var returnOrderColumns = [{
3571
3901
  id: 'returnOrderId',
3572
3902
  label: 'ID'
@@ -3617,7 +3947,7 @@ var Dashboard = function Dashboard(_ref) {
3617
3947
  useEffect(function () {
3618
3948
  (function () {
3619
3949
  try {
3620
- var _temp = _catch(function () {
3950
+ var _temp2 = _catch(function () {
3621
3951
  return Promise.resolve(API({
3622
3952
  url: "/ecommerce/customer",
3623
3953
  apiEndPoint: apiEndPoint,
@@ -3634,7 +3964,7 @@ var Dashboard = function Dashboard(_ref) {
3634
3964
  });
3635
3965
  });
3636
3966
  }, function () {});
3637
- return _temp && _temp.then ? _temp.then(function () {}) : void 0;
3967
+ return _temp2 && _temp2.then ? _temp2.then(function () {}) : void 0;
3638
3968
  } catch (e) {
3639
3969
  Promise.reject(e);
3640
3970
  }
@@ -3671,7 +4001,20 @@ var Dashboard = function Dashboard(_ref) {
3671
4001
  var list = ['totalNumberOfOrders', 'totalAmountSpend'];
3672
4002
  return hideTotalCardInDashboardSummary ? !includesCaseInsensitive(list, data === null || data === void 0 ? void 0 : data.name) : data;
3673
4003
  });
3674
- return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, (isPaymentModal === null || isPaymentModal === void 0 ? void 0 : isPaymentModal.open) && /*#__PURE__*/React__default.createElement(PaymentModal, {
4004
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(PdfPreviewModal, {
4005
+ open: !!(invoicePreview !== null && invoicePreview !== void 0 && invoicePreview.url),
4006
+ url: invoicePreview === null || invoicePreview === void 0 ? void 0 : invoicePreview.url,
4007
+ title: invoicePreview === null || invoicePreview === void 0 ? void 0 : invoicePreview.title,
4008
+ onClose: function onClose() {
4009
+ return setInvoicePreview({
4010
+ url: '',
4011
+ title: ''
4012
+ });
4013
+ },
4014
+ fontColor: fontColor,
4015
+ primaryColor: primaryColor,
4016
+ secondaryColor: secondaryColor
4017
+ }), (isPaymentModal === null || isPaymentModal === void 0 ? void 0 : isPaymentModal.open) && /*#__PURE__*/React__default.createElement(PaymentModal, {
3675
4018
  apiEndPoint: apiEndPoint,
3676
4019
  token: token,
3677
4020
  paymentProvider: paymentProvider,
@@ -3706,6 +4049,12 @@ var Dashboard = function Dashboard(_ref) {
3706
4049
  orderId: isPaymentModal === null || isPaymentModal === void 0 ? void 0 : isPaymentModal.orderId,
3707
4050
  setTriggerTableData: setTriggerTableData,
3708
4051
  styles: styles
4052
+ }), /*#__PURE__*/React__default.createElement(CloneOrderDialog, {
4053
+ visible: !!(cloneOrderDialog !== null && cloneOrderDialog !== void 0 && cloneOrderDialog.open),
4054
+ onClose: closeCloneOrderDialog,
4055
+ onSubmit: handleCloneOrder,
4056
+ loading: cloneOrderLoading,
4057
+ styles: styles
3709
4058
  }), (isExcessPaymentModal === null || isExcessPaymentModal === void 0 ? void 0 : isExcessPaymentModal.open) && /*#__PURE__*/React__default.createElement(ExcessPaymentDialog, {
3710
4059
  excessPaymentToken: (_queryParams$excessPa = queryParams === null || queryParams === void 0 ? void 0 : queryParams.excessPayment) != null ? _queryParams$excessPa : '',
3711
4060
  customerData: customerData,
@@ -4052,13 +4401,13 @@ var Dashboard = function Dashboard(_ref) {
4052
4401
  }
4053
4402
  }))))))))));
4054
4403
  };
4055
- var Root$2 = styled.div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteralLoose([""])));
4056
- var TitleContainer = styled.h4(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteralLoose(["\n span {\n color: ", ";\n font-size: 2.7rem;\n font-weight: 500;\n }\n b {\n color: ", ";\n font-size: 2.7rem;\n }\n"])), function (props) {
4404
+ var Root$2 = styled.div(_templateObject$b || (_templateObject$b = _taggedTemplateLiteralLoose([""])));
4405
+ var TitleContainer = styled.h4(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n span {\n color: ", ";\n font-size: 2.7rem;\n font-weight: 500;\n }\n b {\n color: ", ";\n font-size: 2.7rem;\n }\n"])), function (props) {
4057
4406
  return props.fontColor;
4058
4407
  }, function (props) {
4059
4408
  return props.primaryColor;
4060
4409
  });
4061
- var MeetContainer = styled.h4(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n margin-bottom: 1rem;\n span > b {\n color: ", ";\n font-size: 1.3rem;\n }\n span {\n color: ", ";\n font-size: 1.3rem;\n }\n"])), function (props) {
4410
+ var MeetContainer = styled.h4(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteralLoose(["\n margin-bottom: 1rem;\n span > b {\n color: ", ";\n font-size: 1.3rem;\n }\n span {\n color: ", ";\n font-size: 1.3rem;\n }\n"])), function (props) {
4062
4411
  return props.primaryColor;
4063
4412
  }, function (props) {
4064
4413
  return props.fontColor;
@@ -4132,7 +4481,7 @@ var TabsContainer = styled(Tabs)(_templateObject19 || (_templateObject19 = _tagg
4132
4481
  return props.primaryColor;
4133
4482
  });
4134
4483
 
4135
- var _templateObject$b, _templateObject2$6, _templateObject3$4, _templateObject4$3, _templateObject5$2;
4484
+ var _templateObject$c, _templateObject2$7, _templateObject3$5, _templateObject4$3, _templateObject5$2;
4136
4485
  var MyProfile = function MyProfile(_ref) {
4137
4486
  var apiEndPoint = _ref.apiEndPoint,
4138
4487
  token = _ref.token,
@@ -4379,15 +4728,15 @@ var MyProfile = function MyProfile(_ref) {
4379
4728
  disabled: disabledUpdateProfileFromDashboard
4380
4729
  }, "Update Profile"))));
4381
4730
  };
4382
- var MeetContainer$1 = styled.h4(_templateObject$b || (_templateObject$b = _taggedTemplateLiteralLoose(["\n span > b {\n color: ", ";\n font-size: 1.5rem;\n }\n b {\n color: ", ";\n font-size: 1.5rem;\n }\n"])), function (props) {
4731
+ var MeetContainer$1 = styled.h4(_templateObject$c || (_templateObject$c = _taggedTemplateLiteralLoose(["\n span > b {\n color: ", ";\n font-size: 1.5rem;\n }\n b {\n color: ", ";\n font-size: 1.5rem;\n }\n"])), function (props) {
4383
4732
  return props.primaryColor;
4384
4733
  }, function (props) {
4385
4734
  return props.fontColor;
4386
4735
  });
4387
- var TypographyContainer$3 = styled(Typography)(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n font-size: 1.2rem !important;\n align-items: center;\n"])), function (props) {
4736
+ var TypographyContainer$3 = styled(Typography)(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n font-size: 1.2rem !important;\n align-items: center;\n"])), function (props) {
4388
4737
  return props.fontColor;
4389
4738
  });
4390
- var CardMediaContainer$1 = styled(CardMedia)(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteralLoose(["\n border-radius: 14px;\n max-width: 150px;\n"])));
4739
+ var CardMediaContainer$1 = styled(CardMedia)(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n border-radius: 14px;\n max-width: 150px;\n"])));
4391
4740
  var CardContainer$1 = styled(Stack)(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteralLoose(["\n background-color: ", " !important;\n border-radius: 14px !important;\n margin: 1.2rem 0;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n"])), function (props) {
4392
4741
  return props.secondaryColor;
4393
4742
  });
@@ -4395,7 +4744,7 @@ var RootContainer$1 = styled(Stack)(_templateObject5$2 || (_templateObject5$2 =
4395
4744
  return props.secondaryColor;
4396
4745
  });
4397
4746
 
4398
- var _templateObject$c;
4747
+ var _templateObject$d;
4399
4748
  var SideMenuItemComponent = function SideMenuItemComponent(props) {
4400
4749
  var className = props.className,
4401
4750
  onClick = props.onClick,
@@ -4491,7 +4840,7 @@ var _SideMenuItem = function SideMenuItem(props) {
4491
4840
  }))) : null;
4492
4841
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, MenuItemRoot, MenuItemChildren);
4493
4842
  };
4494
- var ListItemIconContainer = styled(ListItemIcon)(_templateObject$c || (_templateObject$c = _taggedTemplateLiteralLoose(["\n min-width: 40px !important;\n"])));
4843
+ var ListItemIconContainer = styled(ListItemIcon)(_templateObject$d || (_templateObject$d = _taggedTemplateLiteralLoose(["\n min-width: 40px !important;\n"])));
4495
4844
  var SideMenuItemComponentContainer = styled$1(SideMenuItemComponent)(function (_ref) {
4496
4845
  var primaryColor = _ref.primaryColor,
4497
4846
  list = _ref.list,
@@ -4583,7 +4932,7 @@ var SideMenu = function SideMenu(props) {
4583
4932
  }));
4584
4933
  };
4585
4934
 
4586
- var _templateObject$d, _templateObject2$7;
4935
+ var _templateObject$e, _templateObject2$8;
4587
4936
  var _excluded$3 = ["label", "onChange", "defaultValue", "options", "valueKey", "labelKey", "addNone", "fontColor", "maxWidth", "checkAllOption", "multiple"];
4588
4937
  function MuiSelect(_ref) {
4589
4938
  var label = _ref.label,
@@ -4641,14 +4990,14 @@ function MuiSelect(_ref) {
4641
4990
  value: ""
4642
4991
  }, /*#__PURE__*/createElement("em", null, "None")), checkAllOption && multiple && /*#__PURE__*/createElement(MenuItem$1, {
4643
4992
  value: 'all'
4644
- }, /*#__PURE__*/createElement(Checkbox, {
4993
+ }, /*#__PURE__*/createElement(Checkbox$1, {
4645
4994
  checked: checkAll,
4646
4995
  indeterminate: indeterminate
4647
4996
  }), "All"), options === null || options === void 0 ? void 0 : options.map(function (data) {
4648
4997
  return /*#__PURE__*/createElement(MenuItem$1, {
4649
4998
  value: valueKey ? data[valueKey] : data,
4650
4999
  disabled: data === null || data === void 0 ? void 0 : data.disabled
4651
- }, checkAllOption && multiple && /*#__PURE__*/createElement(Checkbox, {
5000
+ }, checkAllOption && multiple && /*#__PURE__*/createElement(Checkbox$1, {
4652
5001
  checked: value.indexOf(valueKey ? data[valueKey] : data) > -1
4653
5002
  }), getLabelValue({
4654
5003
  labelKey: labelKey,
@@ -4656,18 +5005,18 @@ function MuiSelect(_ref) {
4656
5005
  }));
4657
5006
  })));
4658
5007
  }
4659
- var SelectContainer = styled(Select$2)(_templateObject$d || (_templateObject$d = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n svg,\n input {\n color: ", " !important;\n }\n fieldset {\n border-color: ", " !important;\n }\n .MuiCheckbox-root {\n padding: 0;\n }\n"])), function (props) {
5008
+ var SelectContainer = styled(Select$2)(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n svg,\n input {\n color: ", " !important;\n }\n fieldset {\n border-color: ", " !important;\n }\n .MuiCheckbox-root {\n padding: 0;\n }\n"])), function (props) {
4660
5009
  return props.fontColor;
4661
5010
  }, function (props) {
4662
5011
  return props.fontColor;
4663
5012
  }, function (props) {
4664
5013
  return props.fontColor;
4665
5014
  });
4666
- var InputContainer$2 = styled(InputLabel$1)(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
5015
+ var InputContainer$2 = styled(InputLabel$1)(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
4667
5016
  return props.fontColor;
4668
5017
  });
4669
5018
 
4670
- var _templateObject$e, _templateObject2$8, _templateObject3$5, _templateObject4$4;
5019
+ var _templateObject$f, _templateObject2$9, _templateObject3$6, _templateObject4$4;
4671
5020
  var Statement = function Statement(_ref) {
4672
5021
  var apiEndPoint = _ref.apiEndPoint,
4673
5022
  serviceApiEndPoint = _ref.serviceApiEndPoint,
@@ -4700,6 +5049,9 @@ var Statement = function Statement(_ref) {
4700
5049
  var _useState5 = useState(getRandomString()),
4701
5050
  triggerTableData = _useState5[0],
4702
5051
  setTriggerTableData = _useState5[1];
5052
+ var _useState6 = useState(''),
5053
+ previewUrl = _useState6[0],
5054
+ setPreviewUrl = _useState6[1];
4703
5055
  var onDateChange = function onDateChange(data) {
4704
5056
  setQueryParams(_extends({}, queryParams, {
4705
5057
  startDate: getUTCTime({
@@ -4792,9 +5144,7 @@ var Statement = function Statement(_ref) {
4792
5144
  var print = function print() {
4793
5145
  var _customerData$custome, _customerData$custome2;
4794
5146
  var location = "/cusomter/statement?token=" + token + "&startDate=" + queryParams.startDate + "&endDate=" + queryParams.endDate + "&customerIds=" + (queryParams !== null && queryParams !== void 0 && queryParams.customerIds ? (queryParams === null || queryParams === void 0 ? void 0 : queryParams.customerIds) + "," + (customerData === null || customerData === void 0 ? void 0 : (_customerData$custome = customerData.customerDto) === null || _customerData$custome === void 0 ? void 0 : _customerData$custome.id) : customerData === null || customerData === void 0 ? void 0 : (_customerData$custome2 = customerData.customerDto) === null || _customerData$custome2 === void 0 ? void 0 : _customerData$custome2.id) + "&storeIdList=" + storeIdList + "&defaultStoreId=" + defaultStoreId;
4795
- var pdfUrl = "" + serviceApiEndPoint + location;
4796
- var w = window.open(pdfUrl);
4797
- w.print();
5147
+ setPreviewUrl("" + serviceApiEndPoint + location);
4798
5148
  };
4799
5149
  var getStatementAPIData = function getStatementAPIData(_ref2) {
4800
5150
  var params = _ref2.params;
@@ -4819,7 +5169,17 @@ var Statement = function Statement(_ref) {
4819
5169
  };
4820
5170
  return /*#__PURE__*/React__default.createElement(Root$3, {
4821
5171
  backgroundColor: backgroundColor
4822
- }, /*#__PURE__*/React__default.createElement(TableContainer$1, null, !isEmpty(customerData) && /*#__PURE__*/React__default.createElement(APITable, {
5172
+ }, /*#__PURE__*/React__default.createElement(PdfPreviewModal, {
5173
+ open: !!previewUrl,
5174
+ url: previewUrl,
5175
+ title: "Statement",
5176
+ onClose: function onClose() {
5177
+ return setPreviewUrl('');
5178
+ },
5179
+ fontColor: fontColor,
5180
+ primaryColor: primaryColor,
5181
+ secondaryColor: secondaryColor
5182
+ }), /*#__PURE__*/React__default.createElement(TableContainer$1, null, !isEmpty(customerData) && /*#__PURE__*/React__default.createElement(APITable, {
4823
5183
  cacheFilters: true,
4824
5184
  extraFilterParams: queryParams,
4825
5185
  tableHeaderContent: /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(Grid, {
@@ -4891,14 +5251,14 @@ var Statement = function Statement(_ref) {
4891
5251
  fontColor: fontColor
4892
5252
  })));
4893
5253
  };
4894
- var Root$3 = styled.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose([""])));
4895
- var TypographyContainer$4 = styled(Typography)(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
5254
+ var Root$3 = styled.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteralLoose([""])));
5255
+ var TypographyContainer$4 = styled(Typography)(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
4896
5256
  return props.fontColor;
4897
5257
  });
4898
- var StatusContainer$1 = styled(Grid)(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n display: initial;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n padding: 2px 4px;\n"])));
5258
+ var StatusContainer$1 = styled(Grid)(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n display: initial;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n padding: 2px 4px;\n"])));
4899
5259
  var TableContainer$1 = styled.div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n border-radius: 14px;\n"])));
4900
5260
 
4901
- var _templateObject$f, _templateObject2$9;
5261
+ var _templateObject$g, _templateObject2$a;
4902
5262
  var FormCheckbox = function FormCheckbox(props) {
4903
5263
  var label = props.label,
4904
5264
  name = props.name,
@@ -4940,14 +5300,14 @@ var FormCheckbox = function FormCheckbox(props) {
4940
5300
  }
4941
5301
  });
4942
5302
  };
4943
- var CheckboxField = styled(Checkbox$1)(_templateObject$f || (_templateObject$f = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
5303
+ var CheckboxField = styled(Checkbox)(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
4944
5304
  return props.primaryColor;
4945
5305
  });
4946
- var FormControlLabelContainer$1 = styled(FormControlLabel)(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteralLoose(["\n .MuiTypography-root {\n color: ", " !important;\n }\n"])), function (props) {
5306
+ var FormControlLabelContainer$1 = styled(FormControlLabel)(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteralLoose(["\n .MuiTypography-root {\n color: ", " !important;\n }\n"])), function (props) {
4947
5307
  return props.fontColor;
4948
5308
  });
4949
5309
 
4950
- var _templateObject$g;
5310
+ var _templateObject$h;
4951
5311
  var AddEditAddress = function AddEditAddress(_ref) {
4952
5312
  var apiEndPoint = _ref.apiEndPoint,
4953
5313
  token = _ref.token,
@@ -5164,11 +5524,11 @@ var AddEditAddress = function AddEditAddress(_ref) {
5164
5524
  loading: isLoading
5165
5525
  }, addressDetails ? 'Update Address' : 'Add Address')));
5166
5526
  };
5167
- var HeaderContainer = styled.h2(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose(["\n color: ", ";\n margin-top: 1rem;\n font-size: 1.3rem;\n font-weight: 500;\n"])), function (props) {
5527
+ var HeaderContainer = styled.h2(_templateObject$h || (_templateObject$h = _taggedTemplateLiteralLoose(["\n color: ", ";\n margin-top: 1rem;\n font-size: 1.3rem;\n font-weight: 500;\n"])), function (props) {
5168
5528
  return props.fontColor;
5169
5529
  });
5170
5530
 
5171
- var _templateObject$h, _templateObject2$a, _templateObject3$6, _templateObject4$5, _templateObject5$3, _templateObject6$2;
5531
+ var _templateObject$i, _templateObject2$b, _templateObject3$7, _templateObject4$5, _templateObject5$3, _templateObject6$2;
5172
5532
  var StoreDetails = function StoreDetails(_ref) {
5173
5533
  var _storeAddresses$filte;
5174
5534
  var apiEndPoint = _ref.apiEndPoint,
@@ -5254,17 +5614,17 @@ var StoreDetails = function StoreDetails(_ref) {
5254
5614
  }).join(', ')), (address === null || address === void 0 ? void 0 : address.country) && /*#__PURE__*/React__default.createElement("p", null, address === null || address === void 0 ? void 0 : address.country), /*#__PURE__*/React__default.createElement("p", null, address === null || address === void 0 ? void 0 : address.phone), (address === null || address === void 0 ? void 0 : address.billingAddress) && /*#__PURE__*/React__default.createElement("p", null, /*#__PURE__*/React__default.createElement("span", null, "billing address")), (address === null || address === void 0 ? void 0 : address.shippingAddress) && /*#__PURE__*/React__default.createElement("p", null, /*#__PURE__*/React__default.createElement("span", null, "shipping address"))))));
5255
5615
  })));
5256
5616
  };
5257
- var RootContainer$2 = styled(Stack)(_templateObject$h || (_templateObject$h = _taggedTemplateLiteralLoose(["\n background-color: ", " !important;\n border-radius: 14px !important;\n padding: 1.3rem;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n"])), function (props) {
5617
+ var RootContainer$2 = styled(Stack)(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose(["\n background-color: ", " !important;\n border-radius: 14px !important;\n padding: 1.3rem;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n"])), function (props) {
5258
5618
  return props.secondaryColor;
5259
5619
  });
5260
- var AddressContainer = styled(Card$1)(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteralLoose(["\n border-radius: 14px !important;\n background-color: ", " !important;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px !important;\n .MuiCardHeader-root {\n background-color: ", ";\n padding: 4px 14px;\n svg,\n h3 {\n color: #fff;\n font-size: 1.3rem;\n }\n h3 {\n font-weight: 500;\n margin-left: 6px;\n }\n }\n p {\n font-size: 0.9rem;\n font-weight: 400;\n color: ", ";\n margin-bottom: 1rem;\n word-break: break-word;\n }\n"])), function (props) {
5620
+ var AddressContainer = styled(Card$1)(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteralLoose(["\n border-radius: 14px !important;\n background-color: ", " !important;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px !important;\n .MuiCardHeader-root {\n background-color: ", ";\n padding: 4px 14px;\n svg,\n h3 {\n color: #fff;\n font-size: 1.3rem;\n }\n h3 {\n font-weight: 500;\n margin-left: 6px;\n }\n }\n p {\n font-size: 0.9rem;\n font-weight: 400;\n color: ", ";\n margin-bottom: 1rem;\n word-break: break-word;\n }\n"])), function (props) {
5261
5621
  return props.secondaryColor;
5262
5622
  }, function (props) {
5263
5623
  return props.primaryColor;
5264
5624
  }, function (props) {
5265
5625
  return props.fontColor;
5266
5626
  });
5267
- var Modal = styled(MuiModal)(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose([""])));
5627
+ var Modal = styled(MuiModal)(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteralLoose([""])));
5268
5628
  var TypographyContainer$5 = styled(Typography)(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
5269
5629
  return props.fontColor;
5270
5630
  });
@@ -5273,7 +5633,7 @@ var AddressCardContainer = styled.div(_templateObject6$2 || (_templateObject6$2
5273
5633
  return props.primaryColor;
5274
5634
  });
5275
5635
 
5276
- var _templateObject$i;
5636
+ var _templateObject$j;
5277
5637
  var _excluded$4 = ["children", "value", "index"];
5278
5638
  function TabPanel(props) {
5279
5639
  var children = props.children,
@@ -5378,7 +5738,7 @@ var StoreTabs = function StoreTabs(_ref) {
5378
5738
  customer: customer
5379
5739
  })))));
5380
5740
  };
5381
- var TabsContainer$1 = styled(Tabs)(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose(["\n button {\n color: ", " !important;\n font-size: 1.1rem;\n }\n .Mui-selected {\n color: ", " !important;\n }\n .MuiTabs-indicator {\n background-color: ", " !important;\n }\n"])), function (props) {
5741
+ var TabsContainer$1 = styled(Tabs)(_templateObject$j || (_templateObject$j = _taggedTemplateLiteralLoose(["\n button {\n color: ", " !important;\n font-size: 1.1rem;\n }\n .Mui-selected {\n color: ", " !important;\n }\n .MuiTabs-indicator {\n background-color: ", " !important;\n }\n"])), function (props) {
5382
5742
  return props.fontColor;
5383
5743
  }, function (props) {
5384
5744
  return props.primaryColor;
@@ -5386,7 +5746,7 @@ var TabsContainer$1 = styled(Tabs)(_templateObject$i || (_templateObject$i = _ta
5386
5746
  return props.primaryColor;
5387
5747
  });
5388
5748
 
5389
- var _templateObject$j, _templateObject2$b, _templateObject3$7;
5749
+ var _templateObject$k, _templateObject2$c, _templateObject3$8;
5390
5750
  var StoreList = function StoreList(_ref) {
5391
5751
  var apiEndPoint = _ref.apiEndPoint,
5392
5752
  token = _ref.token,
@@ -5433,9 +5793,9 @@ var StoreList = function StoreList(_ref) {
5433
5793
  customer: customer
5434
5794
  }));
5435
5795
  };
5436
- var Modal$1 = styled(MuiModal)(_templateObject$j || (_templateObject$j = _taggedTemplateLiteralLoose([""])));
5437
- var StoreHeader = styled.div(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 1rem 0;\n .manageStore {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n"])));
5438
- var TypographyContainer$6 = styled(Typography)(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
5796
+ var Modal$1 = styled(MuiModal)(_templateObject$k || (_templateObject$k = _taggedTemplateLiteralLoose([""])));
5797
+ var StoreHeader = styled.div(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 1rem 0;\n .manageStore {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n"])));
5798
+ var TypographyContainer$6 = styled(Typography)(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
5439
5799
  return props.fontColor;
5440
5800
  });
5441
5801
 
@@ -5459,11 +5819,11 @@ var getDropzoneRejectionError = function getDropzoneRejectionError(fileRejection
5459
5819
  return (error === null || error === void 0 ? void 0 : error.message) || 'Invalid file';
5460
5820
  };
5461
5821
 
5462
- var _templateObject$k, _templateObject2$c, _templateObject3$8, _templateObject4$6, _templateObject5$4, _templateObject6$3, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject10$2, _templateObject11$2, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17$1, _templateObject18$1, _templateObject19$1, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34;
5822
+ var _templateObject$l, _templateObject2$d, _templateObject3$9, _templateObject4$6, _templateObject5$4, _templateObject6$3, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject10$2, _templateObject11$2, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17$1, _templateObject18$1, _templateObject19$1, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34;
5463
5823
  var DEFAULT_PRIMARY_COLOR = "#437c0f";
5464
- var Container = styled.div(_templateObject$k || (_templateObject$k = _taggedTemplateLiteralLoose(["\n width: 100%;\n min-height: 80vh;\n display: flex;\n justify-content: center;\n align-items: center;\n background: #f6f6f6;\n padding: 2rem 1rem;\n"])));
5465
- var Card = styled.div(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n width: min(100%, 720px);\n background: #fff;\n border: 1px solid #cac8c8;\n border-radius: 8px;\n padding: 1.5rem;\n"])));
5466
- var Title = styled.h2(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteralLoose(["\n font-size: 1.25rem;\n font-weight: 600;\n color: ", ";\n margin: 0 0 1.25rem;\n"])), function (_ref) {
5824
+ var Container = styled.div(_templateObject$l || (_templateObject$l = _taggedTemplateLiteralLoose(["\n width: 100%;\n min-height: 80vh;\n display: flex;\n justify-content: center;\n align-items: center;\n background: #f6f6f6;\n padding: 2rem 1rem;\n"])));
5825
+ var Card = styled.div(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteralLoose(["\n width: min(100%, 720px);\n background: #fff;\n border: 1px solid #cac8c8;\n border-radius: 8px;\n padding: 1.5rem;\n"])));
5826
+ var Title = styled.h2(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteralLoose(["\n font-size: 1.25rem;\n font-weight: 600;\n color: ", ";\n margin: 0 0 1.25rem;\n"])), function (_ref) {
5467
5827
  var $primaryColor = _ref.$primaryColor;
5468
5828
  return $primaryColor;
5469
5829
  });
@@ -5815,7 +6175,7 @@ var getDocumentTypes = function getDocumentTypes(_ref3) {
5815
6175
  }
5816
6176
  };
5817
6177
 
5818
- var _templateObject$l;
6178
+ var _templateObject$m;
5819
6179
  var columns = [{
5820
6180
  id: 'orderId',
5821
6181
  label: 'Order Id',
@@ -5875,9 +6235,9 @@ var UpcomingACHPayments = function UpcomingACHPayments(_ref) {
5875
6235
  fontColor: fontColor
5876
6236
  }));
5877
6237
  };
5878
- var TableContainer$2 = styled.div(_templateObject$l || (_templateObject$l = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n border-radius: 14px;\n"])));
6238
+ var TableContainer$2 = styled.div(_templateObject$m || (_templateObject$m = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n border-radius: 14px;\n"])));
5879
6239
 
5880
- var _templateObject$m, _templateObject2$d, _templateObject3$9, _templateObject4$7;
6240
+ var _templateObject$n, _templateObject2$e, _templateObject3$a, _templateObject4$7;
5881
6241
  var _excluded$5 = ["apiEndPoint", "serviceApiEndPoint", "token", "primaryColor", "secondaryColor", "backgroundColor", "fontColor", "darkMode", "onChangeColors", "path", "onChangePath", "maxWidth", "logoUrl", "sectionLeftImageSection", "exploreCategoryImage", "sectionRightImageSection", "discountImageSection", "disabledUpdateProfileFromDashboard", "hideTotalCardInDashboardSummary", "showOnlyRecentOrder", "hidePayActionButton", "hideAddAccessPaymentButton"];
5882
6242
  var AccountDetails = function AccountDetails(_ref) {
5883
6243
  var _storeData$map, _storeData$find, _storeData$;
@@ -6255,14 +6615,14 @@ var AccountDetails = function AccountDetails(_ref) {
6255
6615
  skeleton: true
6256
6616
  }, apiEndPoint && token && renderListItemComponent(tabValue))))))));
6257
6617
  };
6258
- var Root$4 = styled(Box)(_templateObject$m || (_templateObject$m = _taggedTemplateLiteralLoose(["\n // background-image: url(", ");\n // background-position: center;\n // background-repeat: no-repeat;\n // background-size: cover;\n padding: 1.4rem;\n background-color: ", ";\n"])), function (props) {
6618
+ var Root$4 = styled(Box)(_templateObject$n || (_templateObject$n = _taggedTemplateLiteralLoose(["\n // background-image: url(", ");\n // background-position: center;\n // background-repeat: no-repeat;\n // background-size: cover;\n padding: 1.4rem;\n background-color: ", ";\n"])), function (props) {
6259
6619
  var _props$theme;
6260
6620
  return (_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.backgroundImage;
6261
6621
  }, function (props) {
6262
6622
  var _props$theme2, _props$theme3, _props$theme4;
6263
6623
  return (_props$theme2 = props.theme) !== null && _props$theme2 !== void 0 && _props$theme2.isNightMode ? (_props$theme3 = props.theme) === null || _props$theme3 === void 0 ? void 0 : _props$theme3.secondaryColor : "rgba(" + hexToRgbA((_props$theme4 = props.theme) === null || _props$theme4 === void 0 ? void 0 : _props$theme4.primaryColor) + ",0.1)";
6264
6624
  });
6265
- var MainContainer = styled.div(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n margin: auto;\n min-height: 100vh;\n background-color: ", ";\n max-width: ", ";\n padding: 2rem;\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n"])), function (props) {
6625
+ var MainContainer = styled.div(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n margin: auto;\n min-height: 100vh;\n background-color: ", ";\n max-width: ", ";\n padding: 2rem;\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n"])), function (props) {
6266
6626
  return props.backgroundColor;
6267
6627
  }, function (props) {
6268
6628
  return props.open ? '1800px' : '1600px';
@@ -6297,7 +6657,7 @@ var Main = styled$1('main', {
6297
6657
  overflow: 'auto'
6298
6658
  });
6299
6659
  });
6300
- var ContainerDrawer = styled(Drawer)(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteralLoose(["\n // height: 100%;\n margin-right: ", ";\n .MuiDrawer-paper {\n padding: 1rem;\n position: relative;\n z-index: 1;\n background: ", ";\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n }\n"])), function (props) {
6660
+ var ContainerDrawer = styled(Drawer)(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteralLoose(["\n // height: 100%;\n margin-right: ", ";\n .MuiDrawer-paper {\n padding: 1rem;\n position: relative;\n z-index: 1;\n background: ", ";\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n }\n"])), function (props) {
6301
6661
  return props.open && '2rem';
6302
6662
  }, function (props) {
6303
6663
  return props.primaryColor || transparent;
@@ -6306,7 +6666,7 @@ var TypographyContainer$7 = styled(Typography)(_templateObject4$7 || (_templateO
6306
6666
  return props.fontColor;
6307
6667
  });
6308
6668
 
6309
- var _templateObject$n, _templateObject2$e, _templateObject3$a;
6669
+ var _templateObject$o, _templateObject2$f, _templateObject3$b;
6310
6670
  var BannerImages = function BannerImages(_ref) {
6311
6671
  var eager = _ref.eager,
6312
6672
  config = _ref.config,
@@ -6374,16 +6734,16 @@ var BannerImages = function BannerImages(_ref) {
6374
6734
  }))));
6375
6735
  })));
6376
6736
  };
6377
- var Video = styled.video(_templateObject$n || (_templateObject$n = _taggedTemplateLiteralLoose(["\n width: 100%;\n cursor: pointer;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.02);\n }\n"])));
6737
+ var Video = styled.video(_templateObject$o || (_templateObject$o = _taggedTemplateLiteralLoose(["\n width: 100%;\n cursor: pointer;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.02);\n }\n"])));
6378
6738
  var Image = styled.img.attrs(function (props) {
6379
6739
  return {
6380
6740
  loading: props.loading || 'lazy',
6381
6741
  decoding: 'async'
6382
6742
  };
6383
- })(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteralLoose(["\n width: 100%;\n cursor: pointer;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.02);\n }\n"])));
6384
- var BannerContainer$1 = styled.section(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n font-size: 0;\n"])));
6743
+ })(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose(["\n width: 100%;\n cursor: pointer;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.02);\n }\n"])));
6744
+ var BannerContainer$1 = styled.section(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n font-size: 0;\n"])));
6385
6745
 
6386
- var _templateObject$o, _templateObject2$f, _templateObject3$b, _templateObject4$8;
6746
+ var _templateObject$p, _templateObject2$g, _templateObject3$c, _templateObject4$8;
6387
6747
  var LandingCarousel = function LandingCarousel(_ref) {
6388
6748
  var _config$spaceBetweenC, _config$colLg, _ref2, _ref3, _config$colSm, _ref4, _config$colMd, _config$colLg2;
6389
6749
  var eager = _ref.eager,
@@ -6473,16 +6833,16 @@ var Image$1 = styled.img.attrs(function (props) {
6473
6833
  loading: props.loading || 'lazy',
6474
6834
  decoding: 'async'
6475
6835
  };
6476
- })(_templateObject$o || (_templateObject$o = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
6477
- var Video$1 = styled.video(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
6478
- var Root$5 = styled.div(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose(["\n height: 100%;\n"])));
6836
+ })(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
6837
+ var Video$1 = styled.video(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
6838
+ var Root$5 = styled.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n height: 100%;\n"])));
6479
6839
  var ReactSlick = styled(Slider)(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteralLoose(["\n height: 100%;\n .slick-track {\n height: 100%;\n }\n .slick-slide {\n height: 100%;\n div:first-child {\n height: 100%;\n }\n }\n .slick-list {\n height: 100%;\n margin: 0 -", "px;\n }\n .slideItem {\n height: 100%;\n padding: 0 ", "px;\n overflow: hidden;\n }\n line-height: 0;\n .slick-dots {\n bottom: 0;\n li {\n margin: 0;\n button:before {\n color: #ffffff !important;\n font-size: 10px;\n }\n }\n }\n .slick-prev,\n .slick-next {\n color: #464646 !important;\n z-index: 1;\n width: 26px;\n height: 26px;\n }\n .slick-prev {\n left: 12px;\n }\n .slick-next {\n right: 12px;\n }\n"])), function (props) {
6480
6840
  return props === null || props === void 0 ? void 0 : props.spaceBetweenCol;
6481
6841
  }, function (props) {
6482
6842
  return props === null || props === void 0 ? void 0 : props.spaceBetweenCol;
6483
6843
  });
6484
6844
 
6485
- var _templateObject$p, _templateObject2$g;
6845
+ var _templateObject$q, _templateObject2$h;
6486
6846
  var JUSTIFY = {
6487
6847
  Left: {
6488
6848
  marginRight: 'auto'
@@ -6689,8 +7049,8 @@ var HomeBanner = function HomeBanner(_ref) {
6689
7049
  }, item === null || item === void 0 ? void 0 : item.component);
6690
7050
  }))))));
6691
7051
  };
6692
- var Root$6 = styled.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose([""])));
6693
- var MainContainer$1 = styled.div(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteralLoose([""])));
7052
+ var Root$6 = styled.div(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose([""])));
7053
+ var MainContainer$1 = styled.div(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteralLoose([""])));
6694
7054
  var NearViewport = function NearViewport(_ref3) {
6695
7055
  var skip = _ref3.skip,
6696
7056
  height = _ref3.height,
@@ -6793,7 +7153,7 @@ var adjustResponsiveSpace = function adjustResponsiveSpace(_ref6) {
6793
7153
  return spaceValue;
6794
7154
  };
6795
7155
 
6796
- var _templateObject$q, _templateObject2$h, _templateObject3$c, _templateObject4$9, _templateObject5$5;
7156
+ var _templateObject$r, _templateObject2$i, _templateObject3$d, _templateObject4$9, _templateObject5$5;
6797
7157
  var LandingCarousel$1 = function LandingCarousel(_ref) {
6798
7158
  var _brandData2;
6799
7159
  var brandList = _ref.brandList,
@@ -6924,9 +7284,9 @@ var Image$2 = styled.img.attrs(function (props) {
6924
7284
  loading: props.loading || 'lazy',
6925
7285
  decoding: 'async'
6926
7286
  };
6927
- })(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n min-height: 100px;\n max-width: 150px;\n object-fit: contain;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
6928
- var Video$2 = styled.video(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n min-height: 100px;\n max-width: 150px;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
6929
- var Root$7 = styled.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n height: 100%;\n"])));
7287
+ })(_templateObject$r || (_templateObject$r = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n min-height: 100px;\n max-width: 150px;\n object-fit: contain;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
7288
+ var Video$2 = styled.video(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n min-height: 100px;\n max-width: 150px;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
7289
+ var Root$7 = styled.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose(["\n height: 100%;\n"])));
6930
7290
  var ReactSlick$1 = styled(Slider)(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose(["\n height: 100%;\n .slick-track {\n height: 100%;\n }\n .slick-slide {\n height: 100%;\n div:first-child {\n height: 100%;\n }\n }\n .slick-list {\n height: 100%;\n margin: 0 -", "px;\n }\n\n line-height: 0;\n .slick-dots {\n bottom: 0;\n li {\n margin: 0;\n button:before {\n color: #ffffff !important;\n font-size: 10px;\n }\n }\n }\n .slick-prev,\n .slick-next {\n color: #464646 !important;\n z-index: 1;\n width: 26px;\n height: 26px;\n }\n .slick-prev {\n left: 12px;\n }\n .slick-next {\n right: 12px;\n }\n"])), function (props) {
6931
7291
  return props === null || props === void 0 ? void 0 : props.spaceBetweenCol;
6932
7292
  });
@@ -6934,7 +7294,7 @@ var SliderItem = styled.div(_templateObject5$5 || (_templateObject5$5 = _taggedT
6934
7294
  return (props === null || props === void 0 ? void 0 : props.spaceBetweenCol) || 0;
6935
7295
  });
6936
7296
 
6937
- var _templateObject$r, _templateObject2$i;
7297
+ var _templateObject$s, _templateObject2$j;
6938
7298
  var BrandList = function BrandList(_ref) {
6939
7299
  var apiEndPoint = _ref.apiEndPoint,
6940
7300
  _ref$colors = _ref.colors,
@@ -6996,10 +7356,10 @@ var BrandList = function BrandList(_ref) {
6996
7356
  autoplaySpeed: autoplaySpeed
6997
7357
  }))));
6998
7358
  };
6999
- var Root$8 = styled.div(_templateObject$r || (_templateObject$r = _taggedTemplateLiteralLoose([""])));
7000
- var MainContainer$2 = styled.div(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteralLoose([""])));
7359
+ var Root$8 = styled.div(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose([""])));
7360
+ var MainContainer$2 = styled.div(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose([""])));
7001
7361
 
7002
- var _templateObject$s, _templateObject2$j, _templateObject3$d, _templateObject4$a, _templateObject5$6, _templateObject6$4, _templateObject7$3, _templateObject8$3, _templateObject9$3;
7362
+ var _templateObject$t, _templateObject2$k, _templateObject3$e, _templateObject4$a, _templateObject5$6, _templateObject6$4, _templateObject7$3, _templateObject8$3, _templateObject9$3;
7003
7363
  var BrandStock = function BrandStock(_ref) {
7004
7364
  var _data$brands, _Object$keys, _Object$keys2, _data$brands2;
7005
7365
  var storeData = _ref.storeData,
@@ -7154,9 +7514,9 @@ var BrandStock = function BrandStock(_ref) {
7154
7514
  height: 80
7155
7515
  }), brandList), (data === null || data === void 0 ? void 0 : data.returnPolicy) && /*#__PURE__*/React__default.createElement(ReturnPolicyContainer, null, /*#__PURE__*/React__default.createElement("h2", null, (data === null || data === void 0 ? void 0 : data.returnPolicyTitle) || 'Return Policy'), data === null || data === void 0 ? void 0 : data.returnPolicy))));
7156
7516
  };
7157
- var Root$9 = styled.div(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose(["\n padding: 1rem;\n"])));
7158
- var TitleContainer$1 = styled.div(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose(["\n padding: 0 1rem;\n display: flex;\n justify-content: space-between;\n"])));
7159
- var MainContainer$3 = styled.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose(["\n max-width: 600px;\n margin: auto;\n .logo {\n display: flex;\n }\n .logoImage {\n max-width: min(400px, 100%);\n max-height: 200px;\n margin: auto;\n }\n"])));
7517
+ var Root$9 = styled.div(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose(["\n padding: 1rem;\n"])));
7518
+ var TitleContainer$1 = styled.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n padding: 0 1rem;\n display: flex;\n justify-content: space-between;\n"])));
7519
+ var MainContainer$3 = styled.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose(["\n max-width: 600px;\n margin: auto;\n .logo {\n display: flex;\n }\n .logoImage {\n max-width: min(400px, 100%);\n max-height: 200px;\n margin: auto;\n }\n"])));
7160
7520
  var DetailsContainer = styled.div(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n text-align: center;\n p {\n font-size: 16px;\n font-weight: 500;\n }\n span {\n font-size: 15px;\n }\n .lineContainer {\n display: flex;\n justify-content: center;\n align-items: center;\n margin: 0.5rem 0;\n span {\n margin-right: 6px;\n }\n }\n"])));
7161
7521
  var BrandContainer = styled.div(_templateObject5$6 || (_templateObject5$6 = _taggedTemplateLiteralLoose(["\n .brandImage {\n max-width: 100%;\n margin: 1rem auto;\n }\n"])));
7162
7522
  var ReturnPolicyContainer = styled.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteralLoose(["\n h2 {\n text-align: center;\n }\n margin: 1rem 0;\n p {\n font-size: 16px;\n }\n"])));
@@ -7168,12 +7528,12 @@ var TableCellContainer$1 = styled(TableCell$1)(_templateObject9$3 || (_templateO
7168
7528
  return props.availableQuantity ? props.stockCol && 'green' : '#ffffff';
7169
7529
  });
7170
7530
 
7171
- var _templateObject$t, _templateObject2$k, _templateObject3$e, _templateObject4$b, _templateObject5$7, _templateObject6$5, _templateObject7$4;
7172
- var CartDrawerContainer = styled.div(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: ", ";\n height: 100%;\n /* padding: 1em;\n padding-top: 0rem; */\n position: relative;\n /* min-width: 100%; */\n min-height: 100vh;\n max-height: 100vh;\n overflow: hidden;\n box-sizing: border-box;\n\n display: flex;\n flex-direction: column;\n /* border: 1px solid; */\n"])), function (props) {
7531
+ var _templateObject$u, _templateObject2$l, _templateObject3$f, _templateObject4$b, _templateObject5$7, _templateObject6$5, _templateObject7$4;
7532
+ var CartDrawerContainer = styled.div(_templateObject$u || (_templateObject$u = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: ", ";\n height: 100%;\n /* padding: 1em;\n padding-top: 0rem; */\n position: relative;\n /* min-width: 100%; */\n min-height: 100vh;\n max-height: 100vh;\n overflow: hidden;\n box-sizing: border-box;\n\n display: flex;\n flex-direction: column;\n /* border: 1px solid; */\n"])), function (props) {
7173
7533
  return props.maxWidth || '650px';
7174
7534
  });
7175
- var CartDrawerBar = styled.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n position: sticky;\n box-sizing: border-box;\n top: 0;\n left: 0;\n padding: 1em;\n height: 4.6rem;\n font-size: 1.6rem;\n background-color: white;\n font-weight: bold;\n padding-left: 1rem;\n z-index: 2;\n h2 {\n font-size: 1.5em;\n }\n .icon {\n cursor: pointer;\n font-size: 1em;\n }\n @media only screen and (max-width: 600px) {\n font-size: 1rem;\n height: 4rem;\n }\n"])));
7176
- var CartDrawerProductContainer = styled.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose(["\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n position: relative;\n padding-top: 1rem;\n min-height: 0;\n height: 100%;\n overflow: hidden;\n box-sizing: border-box;\n opacity: ", ";\n /* background-color: red; */\n"])), function (props) {
7535
+ var CartDrawerBar = styled.div(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n position: sticky;\n box-sizing: border-box;\n top: 0;\n left: 0;\n padding: 1em;\n height: 4.6rem;\n font-size: 1.6rem;\n background-color: white;\n font-weight: bold;\n padding-left: 1rem;\n z-index: 2;\n h2 {\n font-size: 1.5em;\n }\n .icon {\n cursor: pointer;\n font-size: 1em;\n }\n @media only screen and (max-width: 600px) {\n font-size: 1rem;\n height: 4rem;\n }\n"])));
7536
+ var CartDrawerProductContainer = styled.div(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose(["\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n position: relative;\n padding-top: 1rem;\n min-height: 0;\n height: 100%;\n overflow: hidden;\n box-sizing: border-box;\n opacity: ", ";\n /* background-color: red; */\n"])), function (props) {
7177
7537
  return props.opacity;
7178
7538
  });
7179
7539
  var CartDrawerBottomSection = styled.div(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 100%;\n box-sizing: border-box;\n /* height: 8rem; */\n background-color: white;\n box-shadow: 3px -2px 10px #b1b1b1;\n display: flex;\n flex-direction: column;\n // min-height: 7rem;\n position: sticky;\n bottom: 0;\n margin-top: auto;\n /* padding-bottom: 0.5rem; */\n\n /* left: 0; */\n align-items: center;\n .row {\n width: 100%;\n padding: 0rem 1rem;\n padding-top: 1rem;\n /* padding-left: 1rem; */\n h5 {\n font-weight: bold;\n font-size: 1.1rem;\n span {\n font-weight: 400;\n padding-left: 0.5rem;\n }\n }\n }\n @media only screen and (max-width: 340px) {\n min-height: 6rem;\n .row h5 {\n font-size: 0.8rem;\n }\n }\n"])));
@@ -7277,13 +7637,13 @@ function useGridSize() {
7277
7637
  return layout;
7278
7638
  }
7279
7639
 
7280
- var _templateObject$u, _templateObject2$l, _templateObject3$f, _templateObject4$c, _templateObject5$8, _templateObject6$6, _templateObject7$5, _templateObject8$4, _templateObject9$4, _templateObject10$3;
7281
- var CartPageSection = styled.section(_templateObject$u || (_templateObject$u = _taggedTemplateLiteralLoose(["\n background: ", ";\n max-width: 100%;\n width: fit-content;\n background: ", ";\n overflow: hidden;\n border-radius: 20px;\n max-width: 1600px;\n width: min(1600px, 100%);\n margin: auto;\n @media screen and (max-width: 1200px) {\n padding: 0 1em;\n }\n"])), function (props) {
7640
+ var _templateObject$v, _templateObject2$m, _templateObject3$g, _templateObject4$c, _templateObject5$8, _templateObject6$6, _templateObject7$5, _templateObject8$4, _templateObject9$4, _templateObject10$3;
7641
+ var CartPageSection = styled.section(_templateObject$v || (_templateObject$v = _taggedTemplateLiteralLoose(["\n background: ", ";\n max-width: 100%;\n width: fit-content;\n background: ", ";\n overflow: hidden;\n border-radius: 20px;\n max-width: 1600px;\n width: min(1600px, 100%);\n margin: auto;\n @media screen and (max-width: 1200px) {\n padding: 0 1em;\n }\n"])), function (props) {
7282
7642
  return props.bg;
7283
7643
  }, function (props) {
7284
7644
  return props.bg || '#FAE8E5';
7285
7645
  });
7286
- var CartPageContainer = styled.div(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose(["\n max-width: ", ";\n width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n padding: 2rem;\n padding-bottom: 2em;\n border-radius: 12px;\n opacity: ", ";\n .scrollDiv {\n width: 68%;\n max-height: 630px;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n margin-right: 0.3em;\n &::-webkit-scrollbar {\n width: 10px;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: ", ";\n border-radius: 16px;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 16px;\n }\n /* box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.05); */\n }\n table {\n border-collapse: separate;\n border-spacing: 0 4px;\n row-gap: 4px;\n }\n\n td {\n /* border: solid 1px #000; */\n border-style: none solid solid none;\n /* padding: 10px; */\n /* margin-bottom:5px; */\n }\n\n tr:first-child td:first-child {\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-top-right-radius: 10px;\n border-bottom-right-radius: 10px;\n }\n\n tr td:first-child {\n border-bottom-left-radius: 10px;\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-bottom-right-radius: 10px;\n }\n\n tr td {\n border-top-style: solid;\n }\n tr td:first-child {\n border-left-style: solid;\n }\n\n @media only screen and (max-width: 1200px) {\n flex-direction: column;\n align-items: center;\n padding: 1rem 0;\n .scrollDiv {\n width: 100%;\n margin: 0;\n margin-bottom: 2em;\n // padding: 0 0.4em;\n }\n }\n"])), function (props) {
7646
+ var CartPageContainer = styled.div(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose(["\n max-width: ", ";\n width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n padding: 2rem;\n padding-bottom: 2em;\n border-radius: 12px;\n opacity: ", ";\n .scrollDiv {\n width: 68%;\n max-height: 630px;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n margin-right: 0.3em;\n &::-webkit-scrollbar {\n width: 10px;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: ", ";\n border-radius: 16px;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 16px;\n }\n /* box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.05); */\n }\n table {\n border-collapse: separate;\n border-spacing: 0 4px;\n row-gap: 4px;\n }\n\n td {\n /* border: solid 1px #000; */\n border-style: none solid solid none;\n /* padding: 10px; */\n /* margin-bottom:5px; */\n }\n\n tr:first-child td:first-child {\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-top-right-radius: 10px;\n border-bottom-right-radius: 10px;\n }\n\n tr td:first-child {\n border-bottom-left-radius: 10px;\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-bottom-right-radius: 10px;\n }\n\n tr td {\n border-top-style: solid;\n }\n tr td:first-child {\n border-left-style: solid;\n }\n\n @media only screen and (max-width: 1200px) {\n flex-direction: column;\n align-items: center;\n padding: 1rem 0;\n .scrollDiv {\n width: 100%;\n margin: 0;\n margin-bottom: 2em;\n // padding: 0 0.4em;\n }\n }\n"])), function (props) {
7287
7647
  return props.maxWidth || '1600px';
7288
7648
  }, function (props) {
7289
7649
  return "min(" + (props.maxWidth || '1600px') + ",100%)";
@@ -7296,7 +7656,7 @@ var CartPageContainer = styled.div(_templateObject2$l || (_templateObject2$l = _
7296
7656
  var _props$scroll2;
7297
7657
  return (props === null || props === void 0 ? void 0 : (_props$scroll2 = props.scroll) === null || _props$scroll2 === void 0 ? void 0 : _props$scroll2.color) || '#BFC3CA';
7298
7658
  });
7299
- var CardsBox = styled.div(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose(["\n width: 100%;\n /* min-height: 1000px; */\n position: relative;\n margin-right: auto;\n padding: 1em;\n display: ", ";\n grid-template-columns: 1fr 1fr;\n flex-direction: column;\n align-items: flex-start;\n grid-gap: 1em;\n justify-content: flex-start;\n align-items: center;\n border-radius: 12px;\n @media only screen and (max-width: 900px) {\n display: flex;\n }\n @media only screen and (max-width: 768px) {\n padding: 0;\n }\n"])), function (props) {
7659
+ var CardsBox = styled.div(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteralLoose(["\n width: 100%;\n /* min-height: 1000px; */\n position: relative;\n margin-right: auto;\n padding: 1em;\n display: ", ";\n grid-template-columns: 1fr 1fr;\n flex-direction: column;\n align-items: flex-start;\n grid-gap: 1em;\n justify-content: flex-start;\n align-items: center;\n border-radius: 12px;\n @media only screen and (max-width: 900px) {\n display: flex;\n }\n @media only screen and (max-width: 768px) {\n padding: 0;\n }\n"])), function (props) {
7300
7660
  return props.retail ? 'grid' : 'flex';
7301
7661
  });
7302
7662
  var CartHeading = styled.div(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n /* margin-bottom: 2em; */\n margin-left: 2em;\n margin-top: 2em;\n @media only screen and (max-width: 1200px) {\n margin-left: 1em;\n }\n\n color: ", ";\n h1 {\n font-weight: 600;\n font-size: 2em;\n text-transform: capitalize;\n color: ", ";\n /* margin-bottom: 1em; */\n }\n p {\n font-size: 0.875em;\n color: inherit;\n margin-top: 0.5em;\n }\n"])), function (props) {
@@ -8453,7 +8813,7 @@ var TotalAfterDiscount = function TotalAfterDiscount(_ref2) {
8453
8813
  }, renderMoney(totalAmount)) : /*#__PURE__*/createElement(Fragment$1, null), /*#__PURE__*/createElement("b", null, renderMoney(total))));
8454
8814
  };
8455
8815
 
8456
- var _templateObject$v, _templateObject2$m, _templateObject3$g, _templateObject4$d, _templateObject5$9, _templateObject6$7, _templateObject7$6, _templateObject8$5, _templateObject9$5, _templateObject10$4, _templateObject11$3, _templateObject12$2, _templateObject13$2, _templateObject14$2, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$2, _templateObject19$2, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23$1, _templateObject24$1, _templateObject25$1, _templateObject26$1, _templateObject27$1, _templateObject28$1, _templateObject29$1, _templateObject30$1, _templateObject31$1, _templateObject32$1, _templateObject33$1, _templateObject34$1, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46, _templateObject47, _templateObject48, _templateObject49, _templateObject50, _templateObject51, _templateObject52, _templateObject53, _templateObject54, _templateObject55, _templateObject56, _templateObject57, _templateObject58, _templateObject59;
8816
+ var _templateObject$w, _templateObject2$n, _templateObject3$h, _templateObject4$d, _templateObject5$9, _templateObject6$7, _templateObject7$6, _templateObject8$5, _templateObject9$5, _templateObject10$4, _templateObject11$3, _templateObject12$2, _templateObject13$2, _templateObject14$2, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$2, _templateObject19$2, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23$1, _templateObject24$1, _templateObject25$1, _templateObject26$1, _templateObject27$1, _templateObject28$1, _templateObject29$1, _templateObject30$1, _templateObject31$1, _templateObject32$1, _templateObject33$1, _templateObject34$1, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46, _templateObject47, _templateObject48, _templateObject49, _templateObject50, _templateObject51, _templateObject52, _templateObject53, _templateObject54, _templateObject55, _templateObject56, _templateObject57, _templateObject58, _templateObject59;
8457
8817
  var DEFAULT_PRIMARY_COLOR$1 = '#437C0F';
8458
8818
  var formatCurrency = function formatCurrency(amount) {
8459
8819
  return Number(amount).toLocaleString('en-US', {
@@ -9090,9 +9450,9 @@ var DiscountSuggestionsModal = function DiscountSuggestionsModal(_ref4) {
9090
9450
  })))));
9091
9451
  })))))), document.body);
9092
9452
  };
9093
- var fadeSlideUp = keyframes(_templateObject$v || (_templateObject$v = _taggedTemplateLiteralLoose(["\n from {\n opacity: 0;\n transform: translateY(14px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n"])));
9094
- var shimmer = keyframes(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose(["\n 0% {\n background-position: -120% 0;\n }\n 100% {\n background-position: 220% 0;\n }\n"])));
9095
- var copyPop = keyframes(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteralLoose(["\n 0% {\n transform: scale(1);\n }\n 45% {\n transform: scale(1.06);\n }\n 100% {\n transform: scale(1);\n }\n"])));
9453
+ var fadeSlideUp = keyframes(_templateObject$w || (_templateObject$w = _taggedTemplateLiteralLoose(["\n from {\n opacity: 0;\n transform: translateY(14px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n"])));
9454
+ var shimmer = keyframes(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose(["\n 0% {\n background-position: -120% 0;\n }\n 100% {\n background-position: 220% 0;\n }\n"])));
9455
+ var copyPop = keyframes(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose(["\n 0% {\n transform: scale(1);\n }\n 45% {\n transform: scale(1.06);\n }\n 100% {\n transform: scale(1);\n }\n"])));
9096
9456
  var chipIn = keyframes(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose(["\n from {\n opacity: 0;\n transform: translateY(6px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n"])));
9097
9457
  var progressGrow = keyframes(_templateObject5$9 || (_templateObject5$9 = _taggedTemplateLiteralLoose(["\n from {\n width: 0;\n }\n"])));
9098
9458
  var sparkleFloat = keyframes(_templateObject6$7 || (_templateObject6$7 = _taggedTemplateLiteralLoose(["\n 0%, 100% {\n opacity: 0.15;\n transform: translateY(0) scale(1);\n }\n 50% {\n opacity: 0.55;\n transform: translateY(-6px) scale(1.15);\n }\n"])));
@@ -9349,7 +9709,7 @@ var PrimaryCopyButton = styled.button(_templateObject59 || (_templateObject59 =
9349
9709
  return $accentColor;
9350
9710
  }, reducedMotion);
9351
9711
 
9352
- var _templateObject$w, _templateObject2$n, _templateObject3$h, _templateObject4$e, _templateObject5$a, _templateObject6$8;
9712
+ var _templateObject$x, _templateObject2$o, _templateObject3$i, _templateObject4$e, _templateObject5$a, _templateObject6$8;
9353
9713
  var DEFAULT_PRIMARY_COLOR$2 = '#437C0F';
9354
9714
  var DiscountSuggestionPreview = function DiscountSuggestionPreview(_ref) {
9355
9715
  var coupon = _ref.coupon,
@@ -9424,12 +9784,12 @@ var DiscountSuggestionPreview = function DiscountSuggestionPreview(_ref) {
9424
9784
  }
9425
9785
  }, viewOffersLabel));
9426
9786
  };
9427
- var SuggestionRow = styled.div(_templateObject$w || (_templateObject$w = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 0.5rem;\n margin-top: 0.35rem;\n margin-bottom: 0.35rem;\n max-width: 100%;\n"])));
9428
- var SuggestionText = styled.p(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose(["\n margin: 0;\n flex: 1;\n min-width: 0;\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 1.45;\n color: ", ";\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n"])), function (_ref2) {
9787
+ var SuggestionRow = styled.div(_templateObject$x || (_templateObject$x = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 0.5rem;\n margin-top: 0.35rem;\n margin-bottom: 0.35rem;\n max-width: 100%;\n"])));
9788
+ var SuggestionText = styled.p(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose(["\n margin: 0;\n flex: 1;\n min-width: 0;\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 1.45;\n color: ", ";\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n"])), function (_ref2) {
9429
9789
  var $accentColor = _ref2.$accentColor;
9430
9790
  return $accentColor || DEFAULT_PRIMARY_COLOR$2;
9431
9791
  });
9432
- var CodeWrap = styled.span(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n gap: 0.2rem;\n vertical-align: middle;\n margin-right: 0.25rem;\n"])));
9792
+ var CodeWrap = styled.span(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n gap: 0.2rem;\n vertical-align: middle;\n margin-right: 0.25rem;\n"])));
9433
9793
  var CodeValue$1 = styled.span(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose(["\n font-weight: 800;\n letter-spacing: 0.02em;\n color: ", ";\n"])), function (_ref3) {
9434
9794
  var $accentColor = _ref3.$accentColor;
9435
9795
  return $accentColor || DEFAULT_PRIMARY_COLOR$2;
@@ -9463,17 +9823,17 @@ var ViewOffersBtn = styled.button(_templateObject6$8 || (_templateObject6$8 = _t
9463
9823
  return $accentColor ? $accentColor + "12" : '#437C0F12';
9464
9824
  });
9465
9825
 
9466
- var _templateObject$x, _templateObject2$o, _templateObject3$i, _templateObject4$f, _templateObject5$b, _templateObject6$9, _templateObject7$7, _templateObject8$6;
9826
+ var _templateObject$y, _templateObject2$p, _templateObject3$j, _templateObject4$f, _templateObject5$b, _templateObject6$9, _templateObject7$7, _templateObject8$6;
9467
9827
  var ProductImage = styled.img.attrs(function (props) {
9468
9828
  return {
9469
9829
  loading: props.loading || 'lazy',
9470
9830
  decoding: 'async'
9471
9831
  };
9472
- })(_templateObject$x || (_templateObject$x = _taggedTemplateLiteralLoose(["\n min-width: 60px;\n min-height: 60px;\n object-fit: contain;\n @media only screen and (max-width: 600px) {\n margin: 0.5em 0;\n padding-right: 0.5em;\n }\n"])));
9473
- var ProductName = styled.h6(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose(["\n font-size: ", ";\n padding: 0;\n line-height: 1.3em;\n overflow: hidden;\n text-overflow: ellipsis;\n height: fit-content;\n cursor: pointer;\n"])), function (props) {
9832
+ })(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose(["\n min-width: 60px;\n min-height: 60px;\n object-fit: contain;\n @media only screen and (max-width: 600px) {\n margin: 0.5em 0;\n padding-right: 0.5em;\n }\n"])));
9833
+ var ProductName = styled.h6(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose(["\n font-size: ", ";\n padding: 0;\n line-height: 1.3em;\n overflow: hidden;\n text-overflow: ellipsis;\n height: fit-content;\n cursor: pointer;\n"])), function (props) {
9474
9834
  return props.size || '1em';
9475
9835
  });
9476
- var CartTableRow = styled(TableRow)(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: 0.3s;\n background: white;\n /* &:hover {\n td:first-child,\n td:last-child {\n border-left-style: solid;\n border-top-style: solid;\n border-top-right-radius: 10px;\n }\n } */\n .outOfStock {\n font-size: 0.75em;\n color: red;\n text-transform: uppercase;\n font-weight: 500;\n }\n .price {\n font-size: ", ";\n font-weight: bold;\n color: #323232;\n /* font-size: 1.15em; */\n }\n .borderLeft {\n height: 100%;\n background: ", ";\n transition: 0.2s;\n width: 0px;\n position: absolute;\n left: 0;\n top: 0;\n border-top-left-radius: 10px;\n display: none;\n border-bottom-left-radius: 10px;\n }\n .cartCheckBox {\n &.Mui-checked {\n svg {\n color: ", ";\n }\n }\n }\n &:hover {\n background: white !important;\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);\n border-radius: 10px;\n /* opacity: 1;\n box-shadow: 1px 2px 6px 2px rgba(0, 0, 0, 0.2); */\n z-index: 2;\n /* border-radius: 20px; */\n .borderLeft {\n width: 12px;\n display: inline-block;\n }\n }\n @media only screen and (max-width: 600px) {\n .CartnoPaddingSm {\n padding: 0 !important;\n }\n .price {\n font-size: 0.8em;\n }\n margin: 0.5em 0;\n .cartCheckBox {\n .css-i4bv87-MuiSvgIcon-root {\n font-size: 10px !important;\n }\n }\n }\n"])), function (props) {
9836
+ var CartTableRow = styled(TableRow)(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: 0.3s;\n background: white;\n /* &:hover {\n td:first-child,\n td:last-child {\n border-left-style: solid;\n border-top-style: solid;\n border-top-right-radius: 10px;\n }\n } */\n .outOfStock {\n font-size: 0.75em;\n color: red;\n text-transform: uppercase;\n font-weight: 500;\n }\n .price {\n font-size: ", ";\n font-weight: bold;\n color: #323232;\n /* font-size: 1.15em; */\n }\n .borderLeft {\n height: 100%;\n background: ", ";\n transition: 0.2s;\n width: 0px;\n position: absolute;\n left: 0;\n top: 0;\n border-top-left-radius: 10px;\n display: none;\n border-bottom-left-radius: 10px;\n }\n .cartCheckBox {\n &.Mui-checked {\n svg {\n color: ", ";\n }\n }\n }\n &:hover {\n background: white !important;\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);\n border-radius: 10px;\n /* opacity: 1;\n box-shadow: 1px 2px 6px 2px rgba(0, 0, 0, 0.2); */\n z-index: 2;\n /* border-radius: 20px; */\n .borderLeft {\n width: 12px;\n display: inline-block;\n }\n }\n @media only screen and (max-width: 600px) {\n .CartnoPaddingSm {\n padding: 0 !important;\n }\n .price {\n font-size: 0.8em;\n }\n margin: 0.5em 0;\n .cartCheckBox {\n .css-i4bv87-MuiSvgIcon-root {\n font-size: 10px !important;\n }\n }\n }\n"])), function (props) {
9477
9837
  return props.size || '1.19em';
9478
9838
  }, function (prop) {
9479
9839
  return prop.bg;
@@ -9568,7 +9928,7 @@ var CardRow = function CardRow(_ref3) {
9568
9928
  }
9569
9929
  }, /*#__PURE__*/React__default.createElement("span", {
9570
9930
  className: "borderLeft"
9571
- }), /*#__PURE__*/React__default.createElement(Checkbox$1, {
9931
+ }), /*#__PURE__*/React__default.createElement(Checkbox, {
9572
9932
  size: "small",
9573
9933
  color: "primary",
9574
9934
  checked: isItemSelected,
@@ -9774,7 +10134,7 @@ function EnhancedTableHead(props) {
9774
10134
  },
9775
10135
  padding: "checkbox",
9776
10136
  bg: styles === null || styles === void 0 ? void 0 : styles.bg
9777
- }, /*#__PURE__*/createElement(Checkbox$1, {
10137
+ }, /*#__PURE__*/createElement(Checkbox, {
9778
10138
  size: "small",
9779
10139
  color: "primary",
9780
10140
  indeterminate: numSelected > 0 && numSelected < rowCount,
@@ -10053,26 +10413,26 @@ function EnhancedTable(_ref2) {
10053
10413
  }))))));
10054
10414
  }
10055
10415
 
10056
- var _templateObject$y, _templateObject2$p, _templateObject3$j, _templateObject4$g, _templateObject5$c, _templateObject6$a, _templateObject7$8;
10057
- var CartPageCard = styled.div(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose(["\n // width: min(97%, 485px);\n width: 98%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding: 1em;\n background: #ffffff;\n box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.05);\n border-radius: 12px;\n position: relative;\n"])));
10416
+ var _templateObject$z, _templateObject2$q, _templateObject3$k, _templateObject4$g, _templateObject5$c, _templateObject6$a, _templateObject7$8;
10417
+ var CartPageCard = styled.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose(["\n // width: min(97%, 485px);\n width: 98%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding: 1em;\n background: #ffffff;\n box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.05);\n border-radius: 12px;\n position: relative;\n"])));
10058
10418
  var CartPageImg = styled.img.attrs(function (props) {
10059
10419
  return {
10060
10420
  loading: props.loading || 'lazy',
10061
10421
  decoding: 'async'
10062
10422
  };
10063
- })(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n max-width: 60px;\n max-height: 60px;\n position: relative;\n margin-right: 0.5em;\n"])), function (props) {
10423
+ })(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n max-width: 60px;\n max-height: 60px;\n position: relative;\n margin-right: 0.5em;\n"])), function (props) {
10064
10424
  return props.width || 'auto';
10065
10425
  }, function (props) {
10066
10426
  return props.height || 'auto';
10067
10427
  });
10068
- var NameAndQtBox = styled.div(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose(["\n width: 90%;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n position: relative;\n"])));
10428
+ var NameAndQtBox = styled.div(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose(["\n width: 90%;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n position: relative;\n"])));
10069
10429
  var CartPageCardName = styled.div(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n width: 90%;\n overflow: hidden;\n text-overflow: ellipsis;\n margin-bottom: 0.6em;\n h6 {\n color: #323232;\n font-size: 0.9em;\n margin-bottom: 0.6em;\n line-height: 1.3em;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n p {\n font-size: 1.1em;\n font-weight: 600;\n color: #323232;\n }\n"])));
10070
10430
  var QtAndPriceBox = styled.div(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n width: 100%;\n font-size: 1.1em;\n"])));
10071
10431
  var CartPageQtBox = styled.div(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n height: 30px;\n width: 86px;\n border: 1px solid rgb(211, 210, 210);\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-size: 13.5px;\n color: #323232;\n padding: 0 0.5rem;\n border-radius: 5px;\n max-width: 100%;\n .icon {\n cursor: pointer;\n height: 100%;\n display: grid;\n place-items: center;\n }\n .qt {\n font-size: 12px;\n color: black;\n font-weight: 500;\n cursor: auto;\n height: 100%;\n input {\n width: 40px;\n height: 100%;\n text-align: center;\n border: none;\n }\n }\n"])));
10072
10432
  var CloseBtn = styled.div(_templateObject7$8 || (_templateObject7$8 = _taggedTemplateLiteralLoose(["\n width: 25px;\n height: 25px;\n display: grid;\n place-items: center;\n position: absolute;\n top: 1em;\n right: 1em;\n cursor: pointer;\n border-radius: 50%;\n background: #eef1f4;\n font-size: 12px;\n &:hover {\n color: #ffffff;\n background: red;\n }\n"])));
10073
10433
 
10074
- var _templateObject$z;
10075
- var DiscountBtn$1 = styled.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose(["\n display: grid;\n place-items: center;\n cursor: pointer;\n border-radius: 50%;\n width: 25px;\n height: 25px;\n background: #eef1f4;\n color: ", ";\n font-size: 12px;\n position: absolute;\n top: 1em;\n right: 3.2em;\n\n &:hover {\n background: ", ";\n color: white;\n }\n"])), function (_ref) {
10434
+ var _templateObject$A;
10435
+ var DiscountBtn$1 = styled.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n display: grid;\n place-items: center;\n cursor: pointer;\n border-radius: 50%;\n width: 25px;\n height: 25px;\n background: #eef1f4;\n color: ", ";\n font-size: 12px;\n position: absolute;\n top: 1em;\n right: 3.2em;\n\n &:hover {\n background: ", ";\n color: white;\n }\n"])), function (_ref) {
10076
10436
  var $accentColor = _ref.$accentColor;
10077
10437
  return $accentColor || '#437C0F';
10078
10438
  }, function (_ref2) {
@@ -10334,20 +10694,20 @@ var CartPageMainRetail = function CartPageMainRetail(_ref) {
10334
10694
  })))));
10335
10695
  };
10336
10696
 
10337
- var _templateObject$A, _templateObject2$q, _templateObject3$k, _templateObject4$h, _templateObject5$d, _templateObject6$b, _templateObject7$9, _templateObject8$7;
10338
- var CartSummaryContainer = styled.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n width: 25rem;\n max-width: 100%;\n display: flex;\n flex-direction: column;\n background: ", ";\n color: ", ";\n border-radius: 20px;\n padding: 2em;\n align-items: center;\n /* margin-top: 3em; */\n p {\n font-size: 1.189em;\n font-weight: 600;\n align-self: flex-start;\n color: inherit;\n margin: 0;\n padding: 0;\n }\n .continueShopping {\n font-size: 0.75em;\n color: inherit;\n text-transform: capitalize;\n height: 20px;\n border-bottom: 1px solid;\n border-color: ", ";\n cursor: pointer;\n }\n"])), function (props) {
10697
+ var _templateObject$B, _templateObject2$r, _templateObject3$l, _templateObject4$h, _templateObject5$d, _templateObject6$b, _templateObject7$9, _templateObject8$7;
10698
+ var CartSummaryContainer = styled.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n width: 25rem;\n max-width: 100%;\n display: flex;\n flex-direction: column;\n background: ", ";\n color: ", ";\n border-radius: 20px;\n padding: 2em;\n align-items: center;\n /* margin-top: 3em; */\n p {\n font-size: 1.189em;\n font-weight: 600;\n align-self: flex-start;\n color: inherit;\n margin: 0;\n padding: 0;\n }\n .continueShopping {\n font-size: 0.75em;\n color: inherit;\n text-transform: capitalize;\n height: 20px;\n border-bottom: 1px solid;\n border-color: ", ";\n cursor: pointer;\n }\n"])), function (props) {
10339
10699
  return props.background || '#667080';
10340
10700
  }, function (props) {
10341
10701
  return props.color || 'white';
10342
10702
  }, function (props) {
10343
10703
  return props.color || 'white';
10344
10704
  });
10345
- var CartSummaryRow = styled.div(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: ", ";\n align-items: center;\n color: inherit;\n h6,\n h5 {\n margin: 0;\n font-size: 1em;\n font-weight: 700;\n color: inherit;\n text-transform: capitalize;\n }\n h5 {\n font-size: ", ";\n }\n"])), function (props) {
10705
+ var CartSummaryRow = styled.div(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: ", ";\n align-items: center;\n color: inherit;\n h6,\n h5 {\n margin: 0;\n font-size: 1em;\n font-weight: 700;\n color: inherit;\n text-transform: capitalize;\n }\n h5 {\n font-size: ", ";\n }\n"])), function (props) {
10346
10706
  return props.justify || 'space-between';
10347
10707
  }, function (props) {
10348
10708
  return props.h5 || '1.31em';
10349
10709
  });
10350
- var CartSummaryHr = styled.span(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose(["\n border: none;\n width: 100%;\n height: 1px;\n background-color: ", ";\n margin: 1em 0;\n"])), function (props) {
10710
+ var CartSummaryHr = styled.span(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n border: none;\n width: 100%;\n height: 1px;\n background-color: ", ";\n margin: 1em 0;\n"])), function (props) {
10351
10711
  return props.color || 'rgba(255, 255, 255, 0.5)';
10352
10712
  });
10353
10713
  var CartSummaryInputBox = styled.form(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding-bottom: ", ";\n background-color: transparent;\n width: 100%;\n input {\n width: 65%;\n height: 2.5rem;\n padding: 0.2rem 0.8rem;\n font-size: 0.89rem;\n border: none;\n outline: none;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n }\n }\n button {\n width: 35%;\n height: 2.5rem;\n line-height: 0.8rem;\n background: ", ";\n display: grid;\n color: ", ";\n place-items: center;\n border: none;\n border-radius: 0;\n outline: none;\n text-transform: uppercase;\n cursor: pointer;\n font-size: 0.75em;\n transition: 0.3s;\n &:hover {\n letter-spacing: 1px;\n background: ", ";\n }\n }\n"])), function (props) {
@@ -10785,12 +11145,12 @@ var checkMinMaxQty = function checkMinMaxQty(_ref2) {
10785
11145
  return quantityReturn;
10786
11146
  };
10787
11147
 
10788
- var _templateObject$B, _templateObject2$r, _templateObject3$l;
10789
- var CartDrawerProduct = styled.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 100%;\n display: flex;\n flex-direction: row;\n height: 113px;\n justify-content: space-around;\n align-items: center;\n overflow: hidden;\n margin-bottom: 1rem;\n user-select: none;\n background: #f2f2f290;\n border: 1px solid #f2f2f290;\n padding: 0.5rem;\n border-radius: 12px;\n box-sizing: border-box;\n\n img {\n width: 20%;\n max-height: 100%;\n /* aspect-ratio: 1; */\n object-fit: contain;\n }\n .middleSection {\n width: 60%;\n padding-left: 0.8rem;\n height: 100%;\n h6 {\n font-size: 1.1rem;\n font-weight: bold;\n margin: 0;\n }\n .name {\n font-size: 0.9rem;\n line-height: 1.2rem;\n width: 100%;\n word-wrap: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n transition: 0.3s;\n cursor: pointer;\n &:hover {\n color: ", ";\n }\n }\n }\n .endSection {\n // width: 20%;\n height: 95%;\n .icon {\n cursor: pointer;\n transition: 0.4s;\n &:hover {\n color: red;\n }\n }\n }\n @media only screen and (max-width: 768px) {\n .closeIcon {\n font-size: 1rem;\n }\n }\n @media only screen and (max-width: 340px) {\n .middleSection {\n h6 {\n font-size: 0.9rem;\n }\n }\n }\n"])), function (props) {
11148
+ var _templateObject$C, _templateObject2$s, _templateObject3$m;
11149
+ var CartDrawerProduct = styled.div(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 100%;\n display: flex;\n flex-direction: row;\n height: 113px;\n justify-content: space-around;\n align-items: center;\n overflow: hidden;\n margin-bottom: 1rem;\n user-select: none;\n background: #f2f2f290;\n border: 1px solid #f2f2f290;\n padding: 0.5rem;\n border-radius: 12px;\n box-sizing: border-box;\n\n img {\n width: 20%;\n max-height: 100%;\n /* aspect-ratio: 1; */\n object-fit: contain;\n }\n .middleSection {\n width: 60%;\n padding-left: 0.8rem;\n height: 100%;\n h6 {\n font-size: 1.1rem;\n font-weight: bold;\n margin: 0;\n }\n .name {\n font-size: 0.9rem;\n line-height: 1.2rem;\n width: 100%;\n word-wrap: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n transition: 0.3s;\n cursor: pointer;\n &:hover {\n color: ", ";\n }\n }\n }\n .endSection {\n // width: 20%;\n height: 95%;\n .icon {\n cursor: pointer;\n transition: 0.4s;\n &:hover {\n color: red;\n }\n }\n }\n @media only screen and (max-width: 768px) {\n .closeIcon {\n font-size: 1rem;\n }\n }\n @media only screen and (max-width: 340px) {\n .middleSection {\n h6 {\n font-size: 0.9rem;\n }\n }\n }\n"])), function (props) {
10790
11150
  return props.color || 'grey';
10791
11151
  });
10792
- var CartDrawerQtBox = styled.div(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteralLoose(["\n height: 30px;\n width: 86px;\n border: 1px solid rgb(211, 210, 210);\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-size: 13.5px;\n color: #323232;\n padding: 0 0.5rem;\n border-radius: 5px;\n max-width: 100%;\n span {\n cursor: pointer;\n height: 100%;\n display: grid;\n place-items: center;\n }\n .qt {\n font-size: 12px;\n color: black;\n font-weight: 500;\n cursor: auto;\n input {\n width: 40px;\n height: 100%;\n text-align: center;\n border: none;\n }\n }\n @media only screen and (max-width: 600px) {\n min-width: 55px;\n aspect-ratio: 1/2;\n font-size: 10px;\n }\n @media only screen and (max-width: 340px) {\n min-width: 50px;\n aspect-ratio: 1/2;\n height: 22px;\n font-size: 8px;\n }\n"])));
10793
- var CartDrawerLoader = styled.div(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 30%;\n width: 100px;\n height: 100px;\n display: grid;\n place-items: center;\n"])));
11152
+ var CartDrawerQtBox = styled.div(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose(["\n height: 30px;\n width: 86px;\n border: 1px solid rgb(211, 210, 210);\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-size: 13.5px;\n color: #323232;\n padding: 0 0.5rem;\n border-radius: 5px;\n max-width: 100%;\n span {\n cursor: pointer;\n height: 100%;\n display: grid;\n place-items: center;\n }\n .qt {\n font-size: 12px;\n color: black;\n font-weight: 500;\n cursor: auto;\n input {\n width: 40px;\n height: 100%;\n text-align: center;\n border: none;\n }\n }\n @media only screen and (max-width: 600px) {\n min-width: 55px;\n aspect-ratio: 1/2;\n font-size: 10px;\n }\n @media only screen and (max-width: 340px) {\n min-width: 50px;\n aspect-ratio: 1/2;\n height: 22px;\n font-size: 8px;\n }\n"])));
11153
+ var CartDrawerLoader = styled.div(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 30%;\n width: 100px;\n height: 100px;\n display: grid;\n place-items: center;\n"])));
10794
11154
 
10795
11155
  var CartDrawerProductCard = function CartDrawerProductCard(_ref) {
10796
11156
  var product = _ref.product,
@@ -11053,7 +11413,7 @@ var GTagManager = function GTagManager(_ref) {
11053
11413
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
11054
11414
  };
11055
11415
 
11056
- var _templateObject$C, _templateObject2$s, _templateObject3$m, _templateObject4$i, _templateObject5$e, _templateObject6$c;
11416
+ var _templateObject$D, _templateObject2$t, _templateObject3$n, _templateObject4$i, _templateObject5$e, _templateObject6$c;
11057
11417
  var OutOfStock = function OutOfStock(_ref) {
11058
11418
  var _product$body, _product$body$content, _product$body2, _product$body2$conten, _product$masterProduc, _product$header;
11059
11419
  var product = _ref.product,
@@ -11284,11 +11644,11 @@ var OutOfStock = function OutOfStock(_ref) {
11284
11644
  }
11285
11645
  }), /*#__PURE__*/React__default.createElement("span", null, subscribed ? 'Subscribed Successfully' : 'Subscribe')))))));
11286
11646
  };
11287
- var VariantsContainer = styled.div(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose(["\n ::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 5px;\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(178, 169, 169, 1);\n box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n }\n"])));
11288
- var MainCheckbox = styled(Checkbox)(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose(["\n &.Mui-checked,\n &.MuiCheckbox-indeterminate {\n color: ", ";\n }\n"])), function (props) {
11647
+ var VariantsContainer = styled.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n ::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 5px;\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(178, 169, 169, 1);\n box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n }\n"])));
11648
+ var MainCheckbox = styled(Checkbox$1)(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n &.Mui-checked,\n &.MuiCheckbox-indeterminate {\n color: ", ";\n }\n"])), function (props) {
11289
11649
  return props.theme.primaryColor;
11290
11650
  });
11291
- var EmailInput = styled(InputBase)(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n border: 1px solid #a9a9a9;\n padding: 3px 10px;\n fontsize: 12px;\n width: 100%;\n border-radius: 3px;\n"])));
11651
+ var EmailInput = styled(InputBase)(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n border: 1px solid #a9a9a9;\n padding: 3px 10px;\n fontsize: 12px;\n width: 100%;\n border-radius: 3px;\n"])));
11292
11652
  var Root$a = styled.div(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 1px solid #d3d3d3;\n border-radius: 3px;\n box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.4);\n padding: 10px;\n"])));
11293
11653
  var ContainerDiv = styled.div(_templateObject5$e || (_templateObject5$e = _taggedTemplateLiteralLoose(["\n display: flex;\n font-size: 14px;\n height: ", ";\n margin: ", ";\n width: 100%;\n flex-direction: ", ";\n align-items: ", ";\n justify-content: ", ";\n color: #000000de;\n"])), function (props) {
11294
11654
  return props.height ? props.height : 'auto';
@@ -11321,12 +11681,12 @@ var StyledSubscribe = styled.button(_templateObject6$c || (_templateObject6$c =
11321
11681
  return props.Loading || props.subscribed ? 'none' : 'auto';
11322
11682
  });
11323
11683
 
11324
- var _templateObject$D;
11684
+ var _templateObject$E;
11325
11685
  var NoData = function NoData(_ref) {
11326
11686
  _objectDestructuringEmpty(_ref);
11327
11687
  return /*#__PURE__*/React__default.createElement(CustomNoRowsOverlay, null);
11328
11688
  };
11329
- var Container$1 = styled.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100%;\n & .ant-empty-img-1 {\n fill: #aeb8c2;\n }\n & .ant-empty-img-2 {\n fill: #f5f5f7;\n }\n & .ant-empty-img-3 {\n fill: #dce0e6;\n }\n & .ant-empty-img-4 {\n fill: #fff;\n }\n & ant-empty-img-5 {\n fill-opacity: 0.8;\n fill: #f5f5f5;\n }\n"])));
11689
+ var Container$1 = styled.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100%;\n & .ant-empty-img-1 {\n fill: #aeb8c2;\n }\n & .ant-empty-img-2 {\n fill: #f5f5f7;\n }\n & .ant-empty-img-3 {\n fill: #dce0e6;\n }\n & .ant-empty-img-4 {\n fill: #fff;\n }\n & ant-empty-img-5 {\n fill-opacity: 0.8;\n fill: #f5f5f5;\n }\n"])));
11330
11690
  var CustomNoRowsOverlay = function CustomNoRowsOverlay(_ref2) {
11331
11691
  _objectDestructuringEmpty(_ref2);
11332
11692
  return /*#__PURE__*/React__default.createElement(Container$1, null, /*#__PURE__*/React__default.createElement("svg", {
@@ -11793,24 +12153,24 @@ var AsyncSelect = function AsyncSelect(_ref3) {
11793
12153
  return /*#__PURE__*/React__default.createElement(AsyncSelectField, props);
11794
12154
  };
11795
12155
 
11796
- var _templateObject$E;
11797
- var Container$2 = styled.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose([""])));
12156
+ var _templateObject$F;
12157
+ var Container$2 = styled.div(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose([""])));
11798
12158
 
11799
- var _templateObject$F, _templateObject2$t, _templateObject3$n, _templateObject4$j, _templateObject5$f, _templateObject6$d;
12159
+ var _templateObject$G, _templateObject2$u, _templateObject3$o, _templateObject4$j, _templateObject5$f, _templateObject6$d;
11800
12160
  var ProductImage$1 = styled.img.attrs(function (props) {
11801
12161
  return {
11802
12162
  loading: props.loading || 'lazy',
11803
12163
  decoding: 'async'
11804
12164
  };
11805
- })(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose(["\n min-width: 50px;\n min-height: 50px;\n object-fit: contain;\n @media only screen and (max-width: 600px) {\n margin: 0.5em 0;\n padding-right: 0.5em;\n }\n"])));
11806
- var ProductName$1 = styled.h6(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n font-size: ", ";\n padding: 0;\n line-height: 1.3em;\n max-height: ", ";\n height: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n height: fit-content;\n"])), function (props) {
12165
+ })(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n min-width: 50px;\n min-height: 50px;\n object-fit: contain;\n @media only screen and (max-width: 600px) {\n margin: 0.5em 0;\n padding-right: 0.5em;\n }\n"])));
12166
+ var ProductName$1 = styled.h6(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n font-size: ", ";\n padding: 0;\n line-height: 1.3em;\n max-height: ", ";\n height: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n height: fit-content;\n"])), function (props) {
11807
12167
  return props.size || '1em';
11808
12168
  }, function (props) {
11809
12169
  return props.maxHeight ? props.maxHeight + "em" : '2.75em';
11810
12170
  }, function (props) {
11811
12171
  return props.maxHeight ? props.maxHeight + "em" : '2.80em';
11812
12172
  });
11813
- var CartTableRow$1 = styled(TableRow)(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: 0.3s;\n background: white;\n /* &:hover {\n td:first-child,\n td:last-child {\n border-left-style: solid;\n border-top-style: solid;\n border-top-right-radius: 10px;\n }\n } */\n .outOfStock {\n font-size: 0.75em;\n color: red;\n text-transform: uppercase;\n font-weight: 500;\n }\n .price {\n font-size: ", ";\n font-weight: bold;\n color: #323232;\n /* font-size: 1.15em; */\n }\n .borderLeft {\n height: 100%;\n background: ", ";\n transition: 0.2s;\n width: 0px;\n position: absolute;\n left: 0;\n top: 0;\n border-top-left-radius: 10px;\n display: none;\n border-bottom-left-radius: 10px;\n }\n .cartCheckBox {\n &.Mui-checked {\n svg {\n color: ", ";\n }\n }\n }\n &:hover {\n background: white !important;\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);\n border-radius: 10px;\n /* opacity: 1;\n box-shadow: 1px 2px 6px 2px rgba(0, 0, 0, 0.2); */\n z-index: 2;\n /* border-radius: 20px; */\n .borderLeft {\n width: 12px;\n display: inline-block;\n }\n }\n @media only screen and (max-width: 600px) {\n .CartnoPaddingSm {\n padding: 0 !important;\n }\n .price {\n font-size: 0.8em;\n }\n margin: 0.5em 0;\n .cartCheckBox {\n .css-i4bv87-MuiSvgIcon-root {\n font-size: 10px !important;\n }\n }\n }\n"])), function (props) {
12173
+ var CartTableRow$1 = styled(TableRow)(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: 0.3s;\n background: white;\n /* &:hover {\n td:first-child,\n td:last-child {\n border-left-style: solid;\n border-top-style: solid;\n border-top-right-radius: 10px;\n }\n } */\n .outOfStock {\n font-size: 0.75em;\n color: red;\n text-transform: uppercase;\n font-weight: 500;\n }\n .price {\n font-size: ", ";\n font-weight: bold;\n color: #323232;\n /* font-size: 1.15em; */\n }\n .borderLeft {\n height: 100%;\n background: ", ";\n transition: 0.2s;\n width: 0px;\n position: absolute;\n left: 0;\n top: 0;\n border-top-left-radius: 10px;\n display: none;\n border-bottom-left-radius: 10px;\n }\n .cartCheckBox {\n &.Mui-checked {\n svg {\n color: ", ";\n }\n }\n }\n &:hover {\n background: white !important;\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);\n border-radius: 10px;\n /* opacity: 1;\n box-shadow: 1px 2px 6px 2px rgba(0, 0, 0, 0.2); */\n z-index: 2;\n /* border-radius: 20px; */\n .borderLeft {\n width: 12px;\n display: inline-block;\n }\n }\n @media only screen and (max-width: 600px) {\n .CartnoPaddingSm {\n padding: 0 !important;\n }\n .price {\n font-size: 0.8em;\n }\n margin: 0.5em 0;\n .cartCheckBox {\n .css-i4bv87-MuiSvgIcon-root {\n font-size: 10px !important;\n }\n }\n }\n"])), function (props) {
11814
12174
  return props.size || '1.19em';
11815
12175
  }, function (prop) {
11816
12176
  return prop.bg;
@@ -11852,7 +12212,7 @@ var CardRow$1 = function CardRow(_ref) {
11852
12212
  }
11853
12213
  }, /*#__PURE__*/React__default.createElement("span", {
11854
12214
  className: "borderLeft"
11855
- }), /*#__PURE__*/React__default.createElement(Checkbox$1, {
12215
+ }), /*#__PURE__*/React__default.createElement(Checkbox, {
11856
12216
  size: "small",
11857
12217
  color: "primary",
11858
12218
  checked: isItemSelected,
@@ -11937,13 +12297,13 @@ var CardRow$1 = function CardRow(_ref) {
11937
12297
  }))));
11938
12298
  };
11939
12299
 
11940
- var _templateObject$G, _templateObject2$u, _templateObject3$o, _templateObject4$k, _templateObject5$g, _templateObject6$e, _templateObject7$a, _templateObject8$8, _templateObject9$6;
11941
- var CartPageSection$1 = styled.section(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n background: ", ";\n max-width: 100%;\n width: fit-content;\n background: ", ";\n overflow: hidden;\n border-radius: 28px;\n\n @media screen and (max-width: 1200px) {\n padding: 0 1em;\n }\n @media screen and (max-width: 600px) {\n padding: 0 1em;\n }\n"])), function (props) {
12300
+ var _templateObject$H, _templateObject2$v, _templateObject3$p, _templateObject4$k, _templateObject5$g, _templateObject6$e, _templateObject7$a, _templateObject8$8, _templateObject9$6;
12301
+ var CartPageSection$1 = styled.section(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n background: ", ";\n max-width: 100%;\n width: fit-content;\n background: ", ";\n overflow: hidden;\n border-radius: 28px;\n\n @media screen and (max-width: 1200px) {\n padding: 0 1em;\n }\n @media screen and (max-width: 600px) {\n padding: 0 1em;\n }\n"])), function (props) {
11942
12302
  return props.bg;
11943
12303
  }, function (props) {
11944
12304
  return props.bg || '#FAE8E5';
11945
12305
  });
11946
- var CartPageContainer$1 = styled.div(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n max-width: ", ";\n width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n border-radius: 28px 28px 28px 14px;\n padding: 2em 2.5em;\n padding-bottom: 3em;\n border-radius: 28px;\n opacity: ", ";\n .scrollDiv {\n width: 68%;\n max-height: 630px;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n\n margin-right: 0.3em;\n &::-webkit-scrollbar {\n width: 10px;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: ", ";\n\n border-radius: 16px;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 16px;\n border: 2px solid;\n }\n /* box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.05); */\n }\n table {\n border-collapse: separate;\n border-spacing: 0 4px;\n row-gap: 4px;\n }\n\n td {\n /* border: solid 1px #000; */\n border-style: none solid solid none;\n /* padding: 10px; */\n /* margin-bottom:5px; */\n }\n\n tr:first-child td:first-child {\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-top-right-radius: 10px;\n border-bottom-right-radius: 10px;\n }\n\n tr td:first-child {\n border-bottom-left-radius: 10px;\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-bottom-right-radius: 10px;\n }\n\n tr td {\n border-top-style: solid;\n }\n tr td:first-child {\n border-left-style: solid;\n }\n\n @media only screen and (max-width: 1200px) {\n flex-direction: column;\n align-items: center;\n padding: 0.5em;\n .scrollDiv {\n width: 100%;\n margin: 0;\n margin-bottom: 2em;\n padding: 0 0.4em;\n }\n }\n"])), function (props) {
12306
+ var CartPageContainer$1 = styled.div(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n max-width: ", ";\n width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n border-radius: 28px 28px 28px 14px;\n padding: 2em 2.5em;\n padding-bottom: 3em;\n border-radius: 28px;\n opacity: ", ";\n .scrollDiv {\n width: 68%;\n max-height: 630px;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n\n margin-right: 0.3em;\n &::-webkit-scrollbar {\n width: 10px;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: ", ";\n\n border-radius: 16px;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 16px;\n border: 2px solid;\n }\n /* box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.05); */\n }\n table {\n border-collapse: separate;\n border-spacing: 0 4px;\n row-gap: 4px;\n }\n\n td {\n /* border: solid 1px #000; */\n border-style: none solid solid none;\n /* padding: 10px; */\n /* margin-bottom:5px; */\n }\n\n tr:first-child td:first-child {\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-top-right-radius: 10px;\n border-bottom-right-radius: 10px;\n }\n\n tr td:first-child {\n border-bottom-left-radius: 10px;\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-bottom-right-radius: 10px;\n }\n\n tr td {\n border-top-style: solid;\n }\n tr td:first-child {\n border-left-style: solid;\n }\n\n @media only screen and (max-width: 1200px) {\n flex-direction: column;\n align-items: center;\n padding: 0.5em;\n .scrollDiv {\n width: 100%;\n margin: 0;\n margin-bottom: 2em;\n padding: 0 0.4em;\n }\n }\n"])), function (props) {
11947
12307
  return props.maxWidth || '1600px';
11948
12308
  }, function (props) {
11949
12309
  return "min(" + (props.maxWidth || '1600px') + ",100%)";
@@ -11954,7 +12314,7 @@ var CartPageContainer$1 = styled.div(_templateObject2$u || (_templateObject2$u =
11954
12314
  }, function (props) {
11955
12315
  return props.color || '#BFC3CA';
11956
12316
  });
11957
- var CardsBox$1 = styled.div(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose(["\n width: 100%;\n /* min-height: 1000px; */\n position: relative;\n max-width: 860px;\n margin-right: auto;\n padding: 1em 2em;\n display: ", ";\n grid-template-columns: 1fr 1fr;\n flex-direction: column;\n align-items: flex-start;\n grid-gap: 1em;\n justify-content: flex-start;\n align-items: center;\n border-radius: 20px;\n @media only screen and (max-width: 900px) {\n display: flex;\n }\n @media only screen and (max-width: 600px) {\n padding: 1em 0.2em;\n }\n"])), function (props) {
12317
+ var CardsBox$1 = styled.div(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n width: 100%;\n /* min-height: 1000px; */\n position: relative;\n max-width: 860px;\n margin-right: auto;\n padding: 1em 2em;\n display: ", ";\n grid-template-columns: 1fr 1fr;\n flex-direction: column;\n align-items: flex-start;\n grid-gap: 1em;\n justify-content: flex-start;\n align-items: center;\n border-radius: 20px;\n @media only screen and (max-width: 900px) {\n display: flex;\n }\n @media only screen and (max-width: 600px) {\n padding: 1em 0.2em;\n }\n"])), function (props) {
11958
12318
  return props.retail ? 'grid' : 'flex';
11959
12319
  });
11960
12320
  var CartHeading$1 = styled.div(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n /* margin-bottom: 2em; */\n margin-left: 2.3em;\n margin-top: 2em;\n\n color: ", ";\n h1 {\n font-weight: 600;\n font-size: 2.0375em;\n text-transform: capitalize;\n color: ", ";\n /* margin-bottom: 1em; */\n }\n p {\n font-size: 0.875em;\n color: inherit;\n margin-top: 0.5em;\n }\n"])), function (props) {
@@ -12045,7 +12405,7 @@ function EnhancedTableHead$1(props) {
12045
12405
  },
12046
12406
  padding: "checkbox",
12047
12407
  bg: styles === null || styles === void 0 ? void 0 : styles.bg
12048
- }, /*#__PURE__*/createElement(Checkbox$1, {
12408
+ }, /*#__PURE__*/createElement(Checkbox, {
12049
12409
  size: "small",
12050
12410
  color: "primary",
12051
12411
  indeterminate: numSelected > 0 && numSelected < rowCount,
@@ -12387,7 +12747,7 @@ var SnowfallComponent = function SnowfallComponent(_ref) {
12387
12747
  }) : null;
12388
12748
  };
12389
12749
 
12390
- var _templateObject$H, _templateObject2$v;
12750
+ var _templateObject$I, _templateObject2$w;
12391
12751
  var ContactUsForm = function ContactUsForm(_ref) {
12392
12752
  var apiEndPoint = _ref.apiEndPoint,
12393
12753
  serviceApiEndPoint = _ref.serviceApiEndPoint,
@@ -12512,15 +12872,15 @@ var ContactUsForm = function ContactUsForm(_ref) {
12512
12872
  }
12513
12873
  }, "Submit"))));
12514
12874
  };
12515
- var TypographyContainer$8 = styled(Typography)(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n font-size: 1.2rem !important;\n align-items: center;\n"])), function (props) {
12875
+ var TypographyContainer$8 = styled(Typography)(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n font-size: 1.2rem !important;\n align-items: center;\n"])), function (props) {
12516
12876
  return props.fontColor;
12517
12877
  });
12518
- var RootContainer$3 = styled(Stack)(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n background-color: ", " !important;\n border-radius: 14px !important;\n padding: 1.3rem;\n margin-bottom: 1rem;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n p {\n margin: 0 !important;\n }\n"])), function (props) {
12878
+ var RootContainer$3 = styled(Stack)(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose(["\n background-color: ", " !important;\n border-radius: 14px !important;\n padding: 1.3rem;\n margin-bottom: 1rem;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n p {\n margin: 0 !important;\n }\n"])), function (props) {
12519
12879
  return props.secondaryColor;
12520
12880
  });
12521
12881
 
12522
- var _templateObject$I;
12523
- var StaticContainer = styled.div(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n padding: 1rem;\n width: 100%;\n color: ", ";\n .top-bar {\n background-color: #f5f5f5;\n padding: 1rem;\n text-align: center;\n font-size: 3.2rem;\n font-weight: bold;\n text-transform: uppercase;\n color: ", ";\n @media only screen and (max-width: 769px) {\n font-size: 1.5rem;\n }\n }\n .route-bar {\n text-transform: capitalize;\n p {\n padding: 0;\n word-spacing: 5px;\n display: flex;\n align-items: center;\n color: ", ";\n }\n }\n .data-container {\n margin: auto;\n }\n hr {\n border-bottom: 2px solid #eceff8;\n border-top: 0px;\n margin: 1rem 0;\n }\n li {\n margin-left: 1rem;\n }\n a {\n color: ", ";\n }\n p {\n font-size: 1.2rem;\n margin: 1rem 0;\n width: 100%;\n color: ", ";\n }\n"])), function (props) {
12882
+ var _templateObject$J;
12883
+ var StaticContainer = styled.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n padding: 1rem;\n width: 100%;\n color: ", ";\n .top-bar {\n background-color: #f5f5f5;\n padding: 1rem;\n text-align: center;\n font-size: 3.2rem;\n font-weight: bold;\n text-transform: uppercase;\n color: ", ";\n @media only screen and (max-width: 769px) {\n font-size: 1.5rem;\n }\n }\n .route-bar {\n text-transform: capitalize;\n p {\n padding: 0;\n word-spacing: 5px;\n display: flex;\n align-items: center;\n color: ", ";\n }\n }\n .data-container {\n margin: auto;\n }\n hr {\n border-bottom: 2px solid #eceff8;\n border-top: 0px;\n margin: 1rem 0;\n }\n li {\n margin-left: 1rem;\n }\n a {\n color: ", ";\n }\n p {\n font-size: 1.2rem;\n margin: 1rem 0;\n width: 100%;\n color: ", ";\n }\n"])), function (props) {
12524
12884
  return props.theme.fontColor || '#606060';
12525
12885
  }, function (props) {
12526
12886
  return props.theme.primaryColor;
@@ -12532,7 +12892,7 @@ var StaticContainer = styled.div(_templateObject$I || (_templateObject$I = _tagg
12532
12892
  return props.theme.fontColor || '#606060';
12533
12893
  });
12534
12894
 
12535
- var _templateObject$J;
12895
+ var _templateObject$K;
12536
12896
  var APIStaticPage = function APIStaticPage(_ref) {
12537
12897
  var _ref$colors = _ref.colors,
12538
12898
  colors = _ref$colors === void 0 ? {
@@ -12720,10 +13080,10 @@ var APIStaticPage = function APIStaticPage(_ref) {
12720
13080
  }
12721
13081
  }, "Not found"))));
12722
13082
  };
12723
- var Root$b = styled(Box)(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n img {\n max-width: 100%;\n }\n"])));
13083
+ var Root$b = styled(Box)(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n img {\n max-width: 100%;\n }\n"])));
12724
13084
 
12725
- var _templateObject$K;
12726
- var StaticContainer$1 = styled.div(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n padding: 1rem;\n width: 100%;\n color: ", ";\n .top-bar {\n background-color: #f5f5f5;\n padding: 1rem;\n text-align: center;\n font-size: 3.2rem;\n font-weight: bold;\n text-transform: uppercase;\n color: ", ";\n @media only screen and (max-width: 769px) {\n font-size: 1.5rem;\n }\n }\n .route-bar {\n text-transform: capitalize;\n p {\n padding: 0;\n word-spacing: 5px;\n display: flex;\n align-items: center;\n color: ", ";\n }\n }\n .data-container {\n margin: auto;\n }\n hr {\n border-bottom: 2px solid #eceff8;\n border-top: 0px;\n margin: 1rem 0;\n }\n li {\n margin-left: 1rem;\n }\n a {\n color: ", ";\n }\n p {\n margin: 1rem 0;\n width: 100%;\n color: ", ";\n }\n"])), function (props) {
13085
+ var _templateObject$L;
13086
+ var StaticContainer$1 = styled.div(_templateObject$L || (_templateObject$L = _taggedTemplateLiteralLoose(["\n padding: 1rem;\n width: 100%;\n color: ", ";\n .top-bar {\n background-color: #f5f5f5;\n padding: 1rem;\n text-align: center;\n font-size: 3.2rem;\n font-weight: bold;\n text-transform: uppercase;\n color: ", ";\n @media only screen and (max-width: 769px) {\n font-size: 1.5rem;\n }\n }\n .route-bar {\n text-transform: capitalize;\n p {\n padding: 0;\n word-spacing: 5px;\n display: flex;\n align-items: center;\n color: ", ";\n }\n }\n .data-container {\n margin: auto;\n }\n hr {\n border-bottom: 2px solid #eceff8;\n border-top: 0px;\n margin: 1rem 0;\n }\n li {\n margin-left: 1rem;\n }\n a {\n color: ", ";\n }\n p {\n margin: 1rem 0;\n width: 100%;\n color: ", ";\n }\n"])), function (props) {
12727
13087
  return props.theme.fontColor || '#606060';
12728
13088
  }, function (props) {
12729
13089
  return props.theme.primaryColor;
@@ -12735,7 +13095,7 @@ var StaticContainer$1 = styled.div(_templateObject$K || (_templateObject$K = _ta
12735
13095
  return props.theme.fontColor || '#606060';
12736
13096
  });
12737
13097
 
12738
- var _templateObject$L;
13098
+ var _templateObject$M;
12739
13099
  var StaticPage = function StaticPage(_ref) {
12740
13100
  var _data$content;
12741
13101
  var _ref$colors = _ref.colors,
@@ -12803,9 +13163,9 @@ var StaticPage = function StaticPage(_ref) {
12803
13163
  referrerPolicy: "no-referrer-when-downgrade"
12804
13164
  })))));
12805
13165
  };
12806
- var Root$c = styled(Box)(_templateObject$L || (_templateObject$L = _taggedTemplateLiteralLoose([""])));
13166
+ var Root$c = styled(Box)(_templateObject$M || (_templateObject$M = _taggedTemplateLiteralLoose([""])));
12807
13167
 
12808
- var _templateObject$M;
13168
+ var _templateObject$N;
12809
13169
  var StaticPageList = function StaticPageList(_ref) {
12810
13170
  var _sortBy;
12811
13171
  var apiEndPoint = _ref.apiEndPoint,
@@ -12915,7 +13275,7 @@ var StaticPageList = function StaticPageList(_ref) {
12915
13275
  }
12916
13276
  }, "Not found")))));
12917
13277
  };
12918
- var TitleContainer$2 = styled.div(_templateObject$M || (_templateObject$M = _taggedTemplateLiteralLoose(["\n padding: 1.2rem;\n cursor: pointer;\n color: #323232;\n img {\n max-width: 100%;\n }\n &:hover {\n img {\n transform: scale(1.01);\n }\n }\n"])));
13278
+ var TitleContainer$2 = styled.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n padding: 1.2rem;\n cursor: pointer;\n color: #323232;\n img {\n max-width: 100%;\n }\n &:hover {\n img {\n transform: scale(1.01);\n }\n }\n"])));
12919
13279
 
12920
13280
  var _excluded$7 = ["userName", "children", "style"];
12921
13281
  var colors$1 = ['#FFB900', '#D83B01', '#B50E0E', '#E81123', '#B4009E', '#5C2D91', '#0078D7', '#00B4FF', '#008272', '#107C10'];
@@ -12951,7 +13311,7 @@ var Avatar = function Avatar(_ref) {
12951
13311
  }));
12952
13312
  };
12953
13313
 
12954
- var _templateObject$N, _templateObject2$w;
13314
+ var _templateObject$O, _templateObject2$x;
12955
13315
  var SwitchUser = function SwitchUser(_ref) {
12956
13316
  var _customerData$filter, _customerData$filter$;
12957
13317
  var apiEndPoint = _ref.apiEndPoint,
@@ -13038,14 +13398,14 @@ var SwitchUser = function SwitchUser(_ref) {
13038
13398
  }, /*#__PURE__*/React__default.createElement(AiOutlineShop, null), /*#__PURE__*/React__default.createElement("span", null, (item === null || item === void 0 ? void 0 : item.dbaName) || (item === null || item === void 0 ? void 0 : item.company)))));
13039
13399
  }))));
13040
13400
  };
13041
- var RootContainer$4 = styled.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n margin: auto;\n padding: 2.4rem;\n max-width: 1920px;\n"])));
13042
- var CustomerContainer = styled.div(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n transition: all 0.5s;\n padding: 1.1rem;\n border-radius: 1rem;\n box-shadow: 2px 2px 6px 0px #00000020;\n &:hover {\n transform: scale(1.05);\n }\n .name {\n color: ", ";\n font-size: 2.5rem;\n font-weight: 700;\n }\n .infoDetails {\n font-size: 1.1rem;\n color: #46464680;\n margin: 1rem 0;\n display: flex;\n align-items: center;\n svg {\n color: ", ";\n font-size: 1.5rem;\n margin-right: 0.5rem;\n }\n }\n"])), function (props) {
13401
+ var RootContainer$4 = styled.div(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose(["\n margin: auto;\n padding: 2.4rem;\n max-width: 1920px;\n"])));
13402
+ var CustomerContainer = styled.div(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n transition: all 0.5s;\n padding: 1.1rem;\n border-radius: 1rem;\n box-shadow: 2px 2px 6px 0px #00000020;\n &:hover {\n transform: scale(1.05);\n }\n .name {\n color: ", ";\n font-size: 2.5rem;\n font-weight: 700;\n }\n .infoDetails {\n font-size: 1.1rem;\n color: #46464680;\n margin: 1rem 0;\n display: flex;\n align-items: center;\n svg {\n color: ", ";\n font-size: 1.5rem;\n margin-right: 0.5rem;\n }\n }\n"])), function (props) {
13043
13403
  return props.theme.primaryColor || '#000000d9';
13044
13404
  }, function (props) {
13045
13405
  return props.theme.primaryColor || '#000000d9';
13046
13406
  });
13047
13407
 
13048
- var _templateObject$O, _templateObject2$x;
13408
+ var _templateObject$P, _templateObject2$y;
13049
13409
  var ThankYou = function ThankYou(_ref) {
13050
13410
  var _ref$id = _ref.id,
13051
13411
  id = _ref$id === void 0 ? 0 : _ref$id,
@@ -13104,8 +13464,8 @@ var ThankYou = function ThankYou(_ref) {
13104
13464
  onClick: onContinue
13105
13465
  }, /*#__PURE__*/React__default.createElement("p", null, "Continue Shopping"))))))));
13106
13466
  };
13107
- var Root$d = styled(Box)(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose([""])));
13108
- var StyledButton = styled.button(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n outline: none;\n border: 1px solid;\n border-color: ", ";\n background: none;\n border-radius: 14px;\n padding: 10px 20px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n transition: background 0.5s ease;\n width: 200px;\n color: ", ";\n text-transform: uppercase;\n &:hover {\n cursor: pointer;\n background: ", ";\n color: #fff;\n }\n"])), function (props) {
13467
+ var Root$d = styled(Box)(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose([""])));
13468
+ var StyledButton = styled.button(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n outline: none;\n border: 1px solid;\n border-color: ", ";\n background: none;\n border-radius: 14px;\n padding: 10px 20px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n transition: background 0.5s ease;\n width: 200px;\n color: ", ";\n text-transform: uppercase;\n &:hover {\n cursor: pointer;\n background: ", ";\n color: #fff;\n }\n"])), function (props) {
13109
13469
  return props.theme.primaryColor;
13110
13470
  }, function (props) {
13111
13471
  return props.theme.primaryColor;
@@ -13259,18 +13619,18 @@ var DiscountSummaryModal = function DiscountSummaryModal(_ref) {
13259
13619
  }, "Okay"))));
13260
13620
  };
13261
13621
 
13262
- var _templateObject$P, _templateObject2$y, _templateObject3$p, _templateObject4$l, _templateObject5$h, _templateObject6$f, _templateObject7$b, _templateObject8$9;
13263
- var CheckoutRootContainer = styled.div(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose(["\n width: 100%;\n padding: 2rem;\n background-color: ", ";\n font-size: 16px;\n\n div,\n button,\n span {\n font-size: 16px;\n }\n @media only screen and (max-width: 1600px) {\n padding: 3em 0.5em;\n }\n @media screen and (max-width: 900px) {\n div,\n button,\n span {\n font-size: 12px;\n }\n padding: 2rem 0.5rem;\n }\n"])), function (props) {
13622
+ var _templateObject$Q, _templateObject2$z, _templateObject3$q, _templateObject4$l, _templateObject5$h, _templateObject6$f, _templateObject7$b, _templateObject8$9;
13623
+ var CheckoutRootContainer = styled.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n width: 100%;\n padding: 2rem;\n background-color: ", ";\n font-size: 16px;\n\n div,\n button,\n span {\n font-size: 16px;\n }\n @media only screen and (max-width: 1600px) {\n padding: 3em 0.5em;\n }\n @media screen and (max-width: 900px) {\n div,\n button,\n span {\n font-size: 12px;\n }\n padding: 2rem 0.5rem;\n }\n"])), function (props) {
13264
13624
  return props.bg;
13265
13625
  });
13266
- var CheckoutPageContainer = styled.div(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n background-color: ", ";\n margin: 0 auto;\n padding: 2em;\n padding-left: min(4.5em, 2.5vw);\n color: rgba(50, 50, 50, 1);\n /* max-height: 90vh; */\n overflow: hidden;\n /* background: gainsboro; */\n border-radius: 28px;\n /* background-color: #fff8f6; */\n @media only screen and (max-width: 1200px) {\n flex-direction: column;\n align-items: center;\n max-height: max-content;\n }\n @media only screen and (max-width: 768px) {\n padding: 1em 0.5em;\n }\n .icon {\n font-size: 12px;\n }\n ////////////checkout and cart fonts\n /////////////////\n /* /////remove arrows from number input */\n /* Chrome, Safari, Edge, Opera */\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n /* //////mui inputs */\n\n .Mui-checked {\n color: ", ";\n }\n\n .MuiOutlinedInput-notchedOutline {\n border: none;\n outline: none;\n }\n\n .MuiInputBase-root .MuiOutlinedInput-root,\n .MuiInputBase-colorPrimary,\n .MuiInputBase-fullWidth,\n .MuiInputBase-formControl {\n border-radius: 10px;\n }\n // /* /////stepper length */\n .MuiStepConnector-line,\n .MuiStepConnector-lineVertical {\n min-height: 60px !important;\n }\n\n @media only screen and (max-width: 900px) {\n .MuiStepConnector-line,\n .MuiStepConnector-lineVertical {\n min-height: 40px !important;\n }\n }\n"])), function (props) {
13626
+ var CheckoutPageContainer = styled.div(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n background-color: ", ";\n margin: 0 auto;\n padding: 2em;\n padding-left: min(4.5em, 2.5vw);\n color: rgba(50, 50, 50, 1);\n /* max-height: 90vh; */\n overflow: hidden;\n /* background: gainsboro; */\n border-radius: 28px;\n /* background-color: #fff8f6; */\n @media only screen and (max-width: 1200px) {\n flex-direction: column;\n align-items: center;\n max-height: max-content;\n }\n @media only screen and (max-width: 768px) {\n padding: 1em 0.5em;\n }\n .icon {\n font-size: 12px;\n }\n ////////////checkout and cart fonts\n /////////////////\n /* /////remove arrows from number input */\n /* Chrome, Safari, Edge, Opera */\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n /* //////mui inputs */\n\n .Mui-checked {\n color: ", ";\n }\n\n .MuiOutlinedInput-notchedOutline {\n border: none;\n outline: none;\n }\n\n .MuiInputBase-root .MuiOutlinedInput-root,\n .MuiInputBase-colorPrimary,\n .MuiInputBase-fullWidth,\n .MuiInputBase-formControl {\n border-radius: 10px;\n }\n // /* /////stepper length */\n .MuiStepConnector-line,\n .MuiStepConnector-lineVertical {\n min-height: 60px !important;\n }\n\n @media only screen and (max-width: 900px) {\n .MuiStepConnector-line,\n .MuiStepConnector-lineVertical {\n min-height: 40px !important;\n }\n }\n"])), function (props) {
13267
13627
  return props.maxWidth || '1605px';
13268
13628
  }, function (props) {
13269
13629
  return props.bg || '#fff8f6';
13270
13630
  }, function (props) {
13271
13631
  return props.primaryColor || 'rgba(50, 50, 50, 1)';
13272
13632
  });
13273
- var Row = styled.div(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n"])));
13633
+ var Row = styled.div(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n"])));
13274
13634
  var CheckoutMainWithHeader = styled(Stack)(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n width: 100%;\n"])));
13275
13635
  var CheckoutMain = styled.div(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 1008px;\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n margin-right: 2em;\n max-height: 65vh;\n padding-right: 2em;\n overflow-y: auto;\n position: relative;\n padding-top: 2em;\n padding-bottom: 3em;\n /* width */\n ::-webkit-scrollbar {\n width: 10px;\n background: ", ";\n border-radius: 16px;\n }\n\n /* Track */\n ::-webkit-scrollbar-track {\n background: ", ";\n border-radius: 16px;\n }\n\n /* Handle */\n ::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 16px;\n }\n @media only screen and (max-width: 1200px) {\n margin-bottom: 3em;\n min-height: max-content;\n max-height: max-content;\n margin-right: 0;\n overflow: visible;\n }\n @media only screen and (max-width: 768px) {\n // max-width: 100vw;\n padding-right: 0;\n // width: 98vw;\n // min-width: 90vw;\n padding-top: 1em;\n }\n /* overflow: hidden; */\n"])), function (props) {
13276
13636
  return props.bg || 'rgba(102,112,128,0.5)';
@@ -13283,14 +13643,14 @@ var CheckoutHeading = styled.div(_templateObject6$f || (_templateObject6$f = _ta
13283
13643
  var CheckoutHeader = styled(Row)(_templateObject7$b || (_templateObject7$b = _taggedTemplateLiteralLoose(["\n width: 100%;\n overflow: auto;\n justify-content: space-around;\n display: flex;\n flex-direction: row;\n align-items: center;\n position: sticky;\n top: 0;\n background-color: white;\n z-index: 1;\n justify-content: flex-start;\n min-height: 4em;\n max-height: 4em;\n max-width: 60em;\n background: #ffffff;\n border-radius: 20px;\n color: #7d7b7b;\n padding: 0 2em;\n margin: 0 2em 1em 1em;\n .row {\n display: flex;\n color: inherit;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n text-transform: capitalize;\n margin-right: 2.4%;\n .icon {\n font-size: 14px;\n font-weight: 400;\n display: grid;\n place-items: center;\n margin-right: 6px;\n color: inherit;\n }\n p,\n span {\n font-size: 0.95em;\n color: inherit;\n }\n }\n .checked {\n p,\n span {\n color: #323232;\n }\n .icon {\n color: #249937;\n }\n }\n @media only screen and (max-width: 1200px) {\n margin-right: 0em;\n }\n @media only screen and (max-width: 768px) {\n width: 100%;\n padding: 2em 1em;\n margin: 1.4em 0;\n .row {\n margin-right: 4.5%;\n p {\n font-size: 12px;\n }\n span {\n display: none;\n }\n }\n }\n"])));
13284
13644
  var CheckoutStepIcon = styled.div(_templateObject8$9 || (_templateObject8$9 = _taggedTemplateLiteralLoose(["\n width: 20px;\n height: 20px;\n border-radius: 50%;\n font-size: 5px;\n display: grid;\n place-items: center;\n margin: auto;\n padding: 0;\n margin-left: 2px;\n .circle {\n width: 16px;\n height: 16px;\n border-radius: 50%;\n font-size: 5px;\n display: grid;\n place-items: center;\n margin: auto;\n padding: 0;\n }\n .ic {\n font-size: 8px;\n }\n"])));
13285
13645
 
13286
- var _templateObject$Q, _templateObject2$z, _templateObject3$q;
13287
- var CheckoutSummaryContainer = styled.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: ", ";\n border-radius: 20px;\n padding: max(1.5em, 30px);\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n max-width: 25rem;\n min-width: min(25rem, 95%);\n font-size: 16px;\n margin-top: 6.15em;\n @media only screen and (max-width: 1200px) {\n margin-top: 0;\n }\n"])), function (props) {
13646
+ var _templateObject$R, _templateObject2$A, _templateObject3$r;
13647
+ var CheckoutSummaryContainer = styled.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: ", ";\n border-radius: 20px;\n padding: max(1.5em, 30px);\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n max-width: 25rem;\n min-width: min(25rem, 95%);\n font-size: 16px;\n margin-top: 6.15em;\n @media only screen and (max-width: 1200px) {\n margin-top: 0;\n }\n"])), function (props) {
13288
13648
  return props.bg || 'rgba(255, 240, 236, 1)';
13289
13649
  }, function (props) {
13290
13650
  return props.color || ' rgba(50, 50, 50, 1)';
13291
13651
  });
13292
- var TextRow = styled.div(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n max-width: 90%;\n margin-bottom: 0.8rem;\n padding-bottom: 0.8rem;\n width: 90%;\n border-bottom: 1px solid #f7f7f7;\n .text {\n font-size: 1.1em;\n text-transform: capitalize;\n }\n .total {\n font-size: 1.65em;\n font-weight: 800;\n }\n"])));
13293
- var FilledInfo = styled.div(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose(["\n margin-bottom: 2em;\n .heading {\n font-size: 1.25em;\n font-weight: 800;\n margin-bottom: 0.8em;\n }\n\n p {\n font-size: 0.875em;\n text-transform: capitalize;\n max-width: 60%;\n }\n .bold {\n font-weight: 700;\n margin-bottom: 0.8em;\n max-width: 300px;\n width: fit-content;\n }\n .payment {\n width: 70px;\n height: 48px;\n background: #ffffff;\n border-radius: 15.875px;\n display: grid;\n place-items: center;\n overflow: hidden;\n }\n .blank {\n opacity: 0;\n }\n"])));
13652
+ var TextRow = styled.div(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n max-width: 90%;\n margin-bottom: 0.8rem;\n padding-bottom: 0.8rem;\n width: 90%;\n border-bottom: 1px solid #f7f7f7;\n .text {\n font-size: 1.1em;\n text-transform: capitalize;\n }\n .total {\n font-size: 1.65em;\n font-weight: 800;\n }\n"])));
13653
+ var FilledInfo = styled.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n margin-bottom: 2em;\n .heading {\n font-size: 1.25em;\n font-weight: 800;\n margin-bottom: 0.8em;\n }\n\n p {\n font-size: 0.875em;\n text-transform: capitalize;\n max-width: 60%;\n }\n .bold {\n font-weight: 700;\n margin-bottom: 0.8em;\n max-width: 300px;\n width: fit-content;\n }\n .payment {\n width: 70px;\n height: 48px;\n background: #ffffff;\n border-radius: 15.875px;\n display: grid;\n place-items: center;\n overflow: hidden;\n }\n .blank {\n opacity: 0;\n }\n"])));
13294
13654
 
13295
13655
  var CheckoutSummary = function CheckoutSummary(_ref) {
13296
13656
  var billingInformation = _ref.billingInformation,
@@ -13362,14 +13722,14 @@ var CheckoutSummary = function CheckoutSummary(_ref) {
13362
13722
  }, renderMoney(orderTotal === null || orderTotal === void 0 ? void 0 : orderTotal.adjustmentValue))));
13363
13723
  };
13364
13724
 
13365
- var _templateObject$R, _templateObject2$A, _templateObject3$r, _templateObject4$m, _templateObject5$i, _templateObject6$g, _templateObject7$c, _templateObject8$a, _templateObject9$7, _templateObject10$5, _templateObject11$4, _templateObject12$3, _templateObject13$3, _templateObject14$3, _templateObject15$3, _templateObject16$3, _templateObject17$3, _templateObject18$3;
13366
- var StepContainer = styled.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 60em;\n background: white;\n padding: 1em 2em;\n background: #ffffff;\n border-radius: 20px;\n margin-left: 2em;\n margin-top: -2em;\n margin-bottom: 1em;\n // @media screen and (max-width: 1200px) {\n // width: 80vw;\n // min-width: 0;\n // }\n @media screen and (max-width: 768px) {\n // width: 96%;\n margin-left: 1em;\n padding: 0.8em;\n }\n @media screen and (max-width: 600px) {\n // width: 94%;\n margin-left: 1.2em;\n }\n"])));
13367
- var StepsContent = styled.div(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n padding-left: 1.565em;\n min-height: max-content;\n .MuiOutlinedInput-root {\n background: ", ";\n }\n\n p {\n font-size: 0.75em;\n }\n .bold {\n text-transform: uppercase;\n word-spacing: 5px;\n margin-top: 0.95em;\n span {\n font-weight: 600;\n cursor: pointer;\n font-size: 0.94rem;\n }\n .red {\n color: ", ";\n }\n }\n @media screen and (max-width: 768px) {\n padding: 0;\n width: 100%;\n }\n"])), function (props) {
13725
+ var _templateObject$S, _templateObject2$B, _templateObject3$s, _templateObject4$m, _templateObject5$i, _templateObject6$g, _templateObject7$c, _templateObject8$a, _templateObject9$7, _templateObject10$5, _templateObject11$4, _templateObject12$3, _templateObject13$3, _templateObject14$3, _templateObject15$3, _templateObject16$3, _templateObject17$3, _templateObject18$3;
13726
+ var StepContainer = styled.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 60em;\n background: white;\n padding: 1em 2em;\n background: #ffffff;\n border-radius: 20px;\n margin-left: 2em;\n margin-top: -2em;\n margin-bottom: 1em;\n // @media screen and (max-width: 1200px) {\n // width: 80vw;\n // min-width: 0;\n // }\n @media screen and (max-width: 768px) {\n // width: 96%;\n margin-left: 1em;\n padding: 0.8em;\n }\n @media screen and (max-width: 600px) {\n // width: 94%;\n margin-left: 1.2em;\n }\n"])));
13727
+ var StepsContent = styled.div(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n padding-left: 1.565em;\n min-height: max-content;\n .MuiOutlinedInput-root {\n background: ", ";\n }\n\n p {\n font-size: 0.75em;\n }\n .bold {\n text-transform: uppercase;\n word-spacing: 5px;\n margin-top: 0.95em;\n span {\n font-weight: 600;\n cursor: pointer;\n font-size: 0.94rem;\n }\n .red {\n color: ", ";\n }\n }\n @media screen and (max-width: 768px) {\n padding: 0;\n width: 100%;\n }\n"])), function (props) {
13368
13728
  return 'transparent' + '!important';
13369
13729
  }, function (props) {
13370
13730
  return props.bg || 'red';
13371
13731
  });
13372
- var StepsHeaderContainer = styled.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n color: #323232;\n /* padding: ", "; */\n margin-bottom: ", ";\n margin-top: ", ";\n margin-left: ", ";\n /* color: grey; */\n border-bottom: 1px solid #f6f6f6;\n background: #ffffff;\n border-radius: 20px;\n // max-width: 900px;\n min-height: 4.35em;\n max-height: 4.35em;\n padding: ", ";\n h5 {\n font-size: 16px;\n font-weight: 600;\n text-transform: capitalize;\n margin-left: 0.6em;\n }\n .icon {\n font-size: 1.3em;\n margin-right: 8px;\n }\n .dropIcon {\n font-size: 1.4em;\n cursor: pointer;\n transform: rotate(-90deg);\n transition: 0.3s;\n color: rgba(50, 50, 50, 0.75);\n cursor: ", ";\n }\n .red {\n font-weight: 600;\n color: #fd0015;\n font-size: inherit;\n }\n @media screen and (max-width: 768px) {\n max-width: 97%;\n margin-left: 0.5em;\n padding-right: 1em;\n h5 {\n font-size: 12px;\n }\n }\n"])), function (props) {
13732
+ var StepsHeaderContainer = styled.div(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n color: #323232;\n /* padding: ", "; */\n margin-bottom: ", ";\n margin-top: ", ";\n margin-left: ", ";\n /* color: grey; */\n border-bottom: 1px solid #f6f6f6;\n background: #ffffff;\n border-radius: 20px;\n // max-width: 900px;\n min-height: 4.35em;\n max-height: 4.35em;\n padding: ", ";\n h5 {\n font-size: 16px;\n font-weight: 600;\n text-transform: capitalize;\n margin-left: 0.6em;\n }\n .icon {\n font-size: 1.3em;\n margin-right: 8px;\n }\n .dropIcon {\n font-size: 1.4em;\n cursor: pointer;\n transform: rotate(-90deg);\n transition: 0.3s;\n color: rgba(50, 50, 50, 0.75);\n cursor: ", ";\n }\n .red {\n font-weight: 600;\n color: #fd0015;\n font-size: inherit;\n }\n @media screen and (max-width: 768px) {\n max-width: 97%;\n margin-left: 0.5em;\n padding-right: 1em;\n h5 {\n font-size: 12px;\n }\n }\n"])), function (props) {
13373
13733
  return props.single ? '1.8em 2em' : '1em 0';
13374
13734
  }, function (props) {
13375
13735
  return props.single ? '-1.56em' : '1em';
@@ -13663,7 +14023,7 @@ var Step0 = function Step0(_ref) {
13663
14023
  sm: 4
13664
14024
  }), /*#__PURE__*/React__default.createElement(CheckBoxRow, {
13665
14025
  padding: ".8em 0 0 0"
13666
- }, /*#__PURE__*/React__default.createElement(Checkbox$1, {
14026
+ }, /*#__PURE__*/React__default.createElement(Checkbox, {
13667
14027
  size: "small"
13668
14028
  }), /*#__PURE__*/React__default.createElement("p", null, "Remember me")), /*#__PURE__*/React__default.createElement(Grid, {
13669
14029
  item: true,
@@ -13930,7 +14290,7 @@ var Step1 = function Step1(_ref) {
13930
14290
  setShowShipping(false);
13931
14291
  },
13932
14292
  bg: styles === null || styles === void 0 ? void 0 : (_styles$button2 = styles.button) === null || _styles$button2 === void 0 ? void 0 : _styles$button2.bg
13933
- }, /*#__PURE__*/React__default.createElement(Checkbox$1, {
14293
+ }, /*#__PURE__*/React__default.createElement(Checkbox, {
13934
14294
  checked: !showShipping,
13935
14295
  icon: /*#__PURE__*/React__default.createElement(MdOutlineCircle, null),
13936
14296
  checkedIcon: /*#__PURE__*/React__default.createElement(GrRadialSelected, null)
@@ -13940,7 +14300,7 @@ var Step1 = function Step1(_ref) {
13940
14300
  setShowShipping(true);
13941
14301
  },
13942
14302
  bg: styles === null || styles === void 0 ? void 0 : (_styles$button3 = styles.button) === null || _styles$button3 === void 0 ? void 0 : _styles$button3.bg
13943
- }, /*#__PURE__*/React__default.createElement(Checkbox$1, {
14303
+ }, /*#__PURE__*/React__default.createElement(Checkbox, {
13944
14304
  checked: showShipping,
13945
14305
  icon: /*#__PURE__*/React__default.createElement(MdOutlineCircle, null),
13946
14306
  checkedIcon: /*#__PURE__*/React__default.createElement(GrRadialSelected, null)
@@ -14781,7 +15141,7 @@ var Step3 = function Step3(_ref) {
14781
15141
  paddingBottom: '1.5em',
14782
15142
  marginTop: '-1em'
14783
15143
  }
14784
- }, /*#__PURE__*/React__default.createElement(Checkbox$1, {
15144
+ }, /*#__PURE__*/React__default.createElement(Checkbox, {
14785
15145
  size: "small",
14786
15146
  onChange: function onChange(e) {
14787
15147
  setUseStoreCr(e.target.checked);
@@ -14875,7 +15235,7 @@ var Step3 = function Step3(_ref) {
14875
15235
  states: states,
14876
15236
  countries: countries,
14877
15237
  setSelectedCountry: setSelectedCountry
14878
- }), addNewCard && beforeAddNewCardText && /*#__PURE__*/React__default.createElement(CheckBoxRow, null, /*#__PURE__*/React__default.createElement(Checkbox$1, {
15238
+ }), addNewCard && beforeAddNewCardText && /*#__PURE__*/React__default.createElement(CheckBoxRow, null, /*#__PURE__*/React__default.createElement(Checkbox, {
14879
15239
  size: "small",
14880
15240
  onChange: function onChange(e) {
14881
15241
  return setBeforeCreditCardChecked(e.target.checked);
@@ -14936,7 +15296,7 @@ var erSessionStorage = {
14936
15296
  }
14937
15297
  };
14938
15298
 
14939
- var _templateObject$S, _templateObject2$B;
15299
+ var _templateObject$T, _templateObject2$C;
14940
15300
  var ConsentForm = function ConsentForm(_ref) {
14941
15301
  var apiEndPoint = _ref.apiEndPoint,
14942
15302
  token = _ref.token,
@@ -15102,7 +15462,7 @@ var InfoComponent = function InfoComponent(_ref2) {
15102
15462
  });
15103
15463
  }))));
15104
15464
  };
15105
- var InfoContainer$1 = styled.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n h2 {\n border-bottom: 1px solid #00000040;\n margin-bottom: 0.8rem;\n }\n p {\n font-size: 1.2rem;\n }\n"])));
15465
+ var InfoContainer$1 = styled.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n h2 {\n border-bottom: 1px solid #00000040;\n margin-bottom: 0.8rem;\n }\n p {\n font-size: 1.2rem;\n }\n"])));
15106
15466
  var InfoItem = function InfoItem(_ref3) {
15107
15467
  var name = _ref3.name,
15108
15468
  value = _ref3.value;
@@ -15115,7 +15475,7 @@ var InfoItem = function InfoItem(_ref3) {
15115
15475
  item: true
15116
15476
  }, /*#__PURE__*/React__default.createElement("p", null, value))));
15117
15477
  };
15118
- var InfoItemContainer = styled.div(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n background: #00000010;\n padding: 0.5rem;\n"])));
15478
+ var InfoItemContainer = styled.div(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n background: #00000010;\n padding: 0.5rem;\n"])));
15119
15479
 
15120
15480
  var PaypalComponent = function PaypalComponent(_ref) {
15121
15481
  var apiEndPoint = _ref.apiEndPoint,
@@ -15535,7 +15895,7 @@ var Step4 = function Step4(_ref) {
15535
15895
  }))), /*#__PURE__*/React__default.createElement(Grid, {
15536
15896
  item: true,
15537
15897
  xs: 12
15538
- }, /*#__PURE__*/React__default.createElement(CheckBoxRow, null, /*#__PURE__*/React__default.createElement(Checkbox$1, {
15898
+ }, /*#__PURE__*/React__default.createElement(CheckBoxRow, null, /*#__PURE__*/React__default.createElement(Checkbox, {
15539
15899
  size: "small",
15540
15900
  value: checked,
15541
15901
  onChange: function onChange() {
@@ -16504,7 +16864,7 @@ var CheckoutPageComponent = function CheckoutPageComponent(_ref9) {
16504
16864
  }, props)));
16505
16865
  };
16506
16866
 
16507
- var _templateObject$T, _templateObject2$C, _templateObject3$s;
16867
+ var _templateObject$U, _templateObject2$D, _templateObject3$t;
16508
16868
  var columns$1 = [{
16509
16869
  id: 'id',
16510
16870
  label: 'Id',
@@ -16619,11 +16979,11 @@ var PurchaseOrderList = function PurchaseOrderList(_ref) {
16619
16979
  setTriggerTableData: setTriggerTableData
16620
16980
  })));
16621
16981
  };
16622
- var TableContainer$3 = styled.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n margin: 0.5rem;\n border-radius: 14px;\n"])));
16623
- var TypographyContainer$9 = styled(Typography)(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
16982
+ var TableContainer$3 = styled.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n margin: 0.5rem;\n border-radius: 14px;\n"])));
16983
+ var TypographyContainer$9 = styled(Typography)(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
16624
16984
  return props.fontColor;
16625
16985
  });
16626
- var TitleContainer$3 = styled.h4(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n font-size: 2.7rem;\n span {\n color: '#000';\n font-weight: 500;\n }\n b {\n color: ", ";\n }\n @media only screen and (max-width: 608px) {\n font-size: 2.2rem;\n }\n"])), function (props) {
16986
+ var TitleContainer$3 = styled.h4(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n font-size: 2.7rem;\n span {\n color: '#000';\n font-weight: 500;\n }\n b {\n color: ", ";\n }\n @media only screen and (max-width: 608px) {\n font-size: 2.2rem;\n }\n"])), function (props) {
16627
16987
  return props.primaryColor;
16628
16988
  });
16629
16989
 
@@ -17194,7 +17554,7 @@ var VendorInventory = function VendorInventory(_ref) {
17194
17554
  })));
17195
17555
  };
17196
17556
 
17197
- var _templateObject$U, _templateObject2$D, _templateObject3$t, _templateObject4$n, _templateObject5$j, _templateObject6$h, _templateObject7$d, _templateObject8$b;
17557
+ var _templateObject$V, _templateObject2$E, _templateObject3$u, _templateObject4$n, _templateObject5$j, _templateObject6$h, _templateObject7$d, _templateObject8$b;
17198
17558
  var VendorLogin = function VendorLogin(_ref) {
17199
17559
  var primaryColor = _ref.primaryColor,
17200
17560
  API_BASE_URL = _ref.API_BASE_URL;
@@ -17300,16 +17660,16 @@ var VendorLogin = function VendorLogin(_ref) {
17300
17660
  color: "inherit"
17301
17661
  }) : 'sign in'))))));
17302
17662
  };
17303
- var Container$3 = styled.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background: rgb(255, 255, 255);\n font-size: 16px !important;\n padding: 1rem;\n @media only screen and (max-width: 640px) {\n font-size: 14px !important;\n }\n"])));
17304
- var StyledLogin = styled.div(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n height: 70%;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 1em;\n align-items: center;\n"])));
17305
- var StyledCard = styled(Card$1)(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n width: min(100%, 489px);\n height: 100%;\n max-height: 450px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px solid #cac8c8;\n flex-direction: column;\n background: white;\n // min-height: 500px;\n h4 {\n font-size: 1.5em;\n margin-bottom: 1em;\n margin-top: -2em;\n text-transform: uppercase;\n font-weight: 500;\n }\n button {\n text-transform: capitalize;\n letter-spacing: 1px;\n font-size: 1em;\n font-weight: 500;\n }\n"])));
17663
+ var Container$3 = styled.div(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background: rgb(255, 255, 255);\n font-size: 16px !important;\n padding: 1rem;\n @media only screen and (max-width: 640px) {\n font-size: 14px !important;\n }\n"])));
17664
+ var StyledLogin = styled.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n height: 70%;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 1em;\n align-items: center;\n"])));
17665
+ var StyledCard = styled(Card$1)(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose(["\n width: min(100%, 489px);\n height: 100%;\n max-height: 450px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px solid #cac8c8;\n flex-direction: column;\n background: white;\n // min-height: 500px;\n h4 {\n font-size: 1.5em;\n margin-bottom: 1em;\n margin-top: -2em;\n text-transform: uppercase;\n font-weight: 500;\n }\n button {\n text-transform: capitalize;\n letter-spacing: 1px;\n font-size: 1em;\n font-weight: 500;\n }\n"])));
17306
17666
  var H1 = styled(Typography)(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n margin-top: 1rem;\n"])));
17307
17667
  var StyleInputBx = styled.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n border: 1px solid rgb(202, 200, 200);\n // padding:.5em;\n min-width: min(80vw, 360px);\n // border-radius: 20px;\n overflow: hidden;\n margin: 0.6em 0;\n // padding:.2em 0;\n .icon {\n border-right: 1px solid rgb(202, 200, 200);\n height: 100%;\n padding: 1em;\n display: grid;\n place-items: center;\n width: 15%;\n box-sizing: border-box;\n color: grey;\n }\n input {\n width: 85%;\n height: 100%;\n outline: none;\n padding: 0 1em;\n font-size: 1.1em;\n border: none;\n &:focus,\n &:hover {\n outline: none !important;\n }\n }\n"])));
17308
17668
  var ShowPassBtn = styled.span(_templateObject6$h || (_templateObject6$h = _taggedTemplateLiteralLoose(["\n padding-right: 0.4em;\n display: grid;\n place-items: center;\n font-size: 25px;\n color: grey;\n cursor: pointer;\n"])));
17309
17669
  var ButtonContianer = styled.span(_templateObject7$d || (_templateObject7$d = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 360px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n // @include flexRow(space-between);\n margin-top: 1em;\n @media only screen and (max-width: 640px) {\n padding: 0 1em;\n }\n"])));
17310
17670
  var StyledButton$1 = styled(Button)(_templateObject8$b || (_templateObject8$b = _taggedTemplateLiteralLoose(["\n width: 100px;\n height: 46px;\n box-sizing: border-box;\n\n span {\n padding: 0.5em;\n }\n @media only screen and (max-width: 640px) {\n height: 35px;\n }\n"])));
17311
17671
 
17312
- var _templateObject$V, _templateObject2$E, _templateObject3$u, _templateObject4$o;
17672
+ var _templateObject$W, _templateObject2$F, _templateObject3$v, _templateObject4$o;
17313
17673
  var menuItems = [{
17314
17674
  name: 'My Account',
17315
17675
  Icon: RiAccountBoxLine,
@@ -17517,8 +17877,8 @@ var VendorAccountDetails = function VendorAccountDetails(_ref) {
17517
17877
  height: 200
17518
17878
  }) : /*#__PURE__*/React__default.createElement(Fragment$1, null, API_BASE_URL && token && renderListItemComponent(tabValue)))))));
17519
17879
  };
17520
- var Root$e = styled(Box)(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n padding: 1.4rem;\n background-color: #fff;\n @media only screen and (max-width: 608px) {\n padding: 0.5rem;\n }\n"])));
17521
- var MainContainer$4 = styled.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n margin: auto;\n min-height: 100vh;\n background-color: #fff;\n max-width: ", ";\n padding: 2rem;\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n @media only screen and (max-width: 608px) {\n padding: 0.5rem;\n }\n"])), function (props) {
17880
+ var Root$e = styled(Box)(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n padding: 1.4rem;\n background-color: #fff;\n @media only screen and (max-width: 608px) {\n padding: 0.5rem;\n }\n"])));
17881
+ var MainContainer$4 = styled.div(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n margin: auto;\n min-height: 100vh;\n background-color: #fff;\n max-width: ", ";\n padding: 2rem;\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n @media only screen and (max-width: 608px) {\n padding: 0.5rem;\n }\n"])), function (props) {
17522
17882
  return props.open ? '1800px' : '1600px';
17523
17883
  });
17524
17884
  var Main$1 = styled$1('main', {
@@ -17551,7 +17911,7 @@ var Main$1 = styled$1('main', {
17551
17911
  overflow: 'auto'
17552
17912
  });
17553
17913
  });
17554
- var ContainerDrawer$1 = styled(Drawer)(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose(["\n // height: 100%;\n margin-right: ", ";\n .MuiDrawer-paper {\n padding: 1rem;\n position: relative;\n z-index: 1;\n background: ", ";\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n }\n"])), function (props) {
17914
+ var ContainerDrawer$1 = styled(Drawer)(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\n // height: 100%;\n margin-right: ", ";\n .MuiDrawer-paper {\n padding: 1rem;\n position: relative;\n z-index: 1;\n background: ", ";\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n }\n"])), function (props) {
17555
17915
  return props.open && '2rem';
17556
17916
  }, function (props) {
17557
17917
  return props.primaryColor || transparent;
@@ -17661,7 +18021,7 @@ var getRestockedData = function getRestockedData(_ref3) {
17661
18021
  }
17662
18022
  };
17663
18023
 
17664
- var _templateObject$W;
18024
+ var _templateObject$X;
17665
18025
  var NewArrival = function NewArrival(_ref) {
17666
18026
  var _newArrivalItems$cont;
17667
18027
  var apiEndPoint = _ref.apiEndPoint,
@@ -17812,7 +18172,7 @@ var DateCard = function DateCard(_ref2) {
17812
18172
  }
17813
18173
  }, item === null || item === void 0 ? void 0 : item.count));
17814
18174
  };
17815
- var ProductsGrid = styled.div(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: 1fr 1fr 1fr 1fr 1fr;\n grid-gap: 1.4rem;\n padding: 2rem 0;\n grid-row-gap: 22px;\n margin-bottom: 4em;\n @media only screen and (max-width: 1445px) {\n grid-template-columns: 1fr 1fr 1fr 1fr;\n }\n @media only screen and (max-width: 1200px) {\n grid-template-columns: 1fr 1fr 1fr;\n }\n @media only screen and (max-width: 580px) {\n grid-template-columns: 1fr 1fr;\n padding-top: 0rem;\n /* width: 100vw; */\n margin-top: 1em;\n grid-gap: 1rem;\n }\n"])));
18175
+ var ProductsGrid = styled.div(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: 1fr 1fr 1fr 1fr 1fr;\n grid-gap: 1.4rem;\n padding: 2rem 0;\n grid-row-gap: 22px;\n margin-bottom: 4em;\n @media only screen and (max-width: 1445px) {\n grid-template-columns: 1fr 1fr 1fr 1fr;\n }\n @media only screen and (max-width: 1200px) {\n grid-template-columns: 1fr 1fr 1fr;\n }\n @media only screen and (max-width: 580px) {\n grid-template-columns: 1fr 1fr;\n padding-top: 0rem;\n /* width: 100vw; */\n margin-top: 1em;\n grid-gap: 1rem;\n }\n"])));
17816
18176
 
17817
18177
  var ReStockedItem = function ReStockedItem(_ref) {
17818
18178
  var _newArrivalItems$cont;
@@ -18172,10 +18532,10 @@ var moveToCart = function moveToCart(_ref3) {
18172
18532
  }
18173
18533
  };
18174
18534
 
18175
- var _templateObject$X, _templateObject2$F, _templateObject3$v, _templateObject4$p, _templateObject5$k, _templateObject6$i, _templateObject7$e, _templateObject8$c, _templateObject9$8, _templateObject10$6, _templateObject11$5;
18176
- var EmptyStateText = styled.p(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n font-size: 16px;\n color: #4b4b4b;\n margin: 16px 0;\n"])));
18177
- var ProductCardWrapper = styled.div(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n position: relative;\n background-color: #ffffff;\n border: 1px solid #d3d3d3;\n border-radius: 10px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: 10px;\n gap: 10px;\n cursor: pointer;\n"])));
18178
- var TopBar = styled.div(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 12px;\n"])));
18535
+ var _templateObject$Y, _templateObject2$G, _templateObject3$w, _templateObject4$p, _templateObject5$k, _templateObject6$i, _templateObject7$e, _templateObject8$c, _templateObject9$8, _templateObject10$6, _templateObject11$5;
18536
+ var EmptyStateText = styled.p(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose(["\n font-size: 16px;\n color: #4b4b4b;\n margin: 16px 0;\n"])));
18537
+ var ProductCardWrapper = styled.div(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n position: relative;\n background-color: #ffffff;\n border: 1px solid #d3d3d3;\n border-radius: 10px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: 10px;\n gap: 10px;\n cursor: pointer;\n"])));
18538
+ var TopBar = styled.div(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 12px;\n"])));
18179
18539
  var SearchWrapper = styled(Box)(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n && {\n margin-bottom: 24px;\n max-width: 400px;\n width: 100%;\n }\n"])));
18180
18540
  var TotalItemsText = styled.div(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 500;\n color: #4b4b4b;\n margin-bottom: 24px;\n white-space: nowrap;\n"])));
18181
18541
  var DeleteButton = styled.button(_templateObject6$i || (_templateObject6$i = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 8px;\n right: 8px;\n opacity: 1;\n pointer-events: auto;\n z-index: 2;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n padding: 0;\n border: none;\n border-radius: 50%;\n background-color: #ffffff;\n box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);\n cursor: pointer;\n color: #ff0000;\n"])));
@@ -18662,10 +19022,10 @@ var moveToCartFromFavoriteItems = function moveToCartFromFavoriteItems(_ref3) {
18662
19022
  }
18663
19023
  };
18664
19024
 
18665
- var _templateObject$Y, _templateObject2$G, _templateObject3$w, _templateObject4$q, _templateObject5$l, _templateObject6$j, _templateObject7$f, _templateObject8$d, _templateObject9$9, _templateObject10$7, _templateObject11$6;
18666
- var EmptyStateText$1 = styled.p(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose(["\n font-size: 16px;\n color: #4b4b4b;\n margin: 16px 0;\n"])));
18667
- var ProductCardWrapper$1 = styled.div(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n position: relative;\n background-color: #ffffff;\n border: 1px solid #d3d3d3;\n border-radius: 10px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: 10px;\n gap: 10px;\n cursor: pointer;\n"])));
18668
- var TopBar$1 = styled.div(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 12px;\n"])));
19025
+ var _templateObject$Z, _templateObject2$H, _templateObject3$x, _templateObject4$q, _templateObject5$l, _templateObject6$j, _templateObject7$f, _templateObject8$d, _templateObject9$9, _templateObject10$7, _templateObject11$6;
19026
+ var EmptyStateText$1 = styled.p(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteralLoose(["\n font-size: 16px;\n color: #4b4b4b;\n margin: 16px 0;\n"])));
19027
+ var ProductCardWrapper$1 = styled.div(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose(["\n position: relative;\n background-color: #ffffff;\n border: 1px solid #d3d3d3;\n border-radius: 10px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: 10px;\n gap: 10px;\n cursor: pointer;\n"])));
19028
+ var TopBar$1 = styled.div(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 12px;\n"])));
18669
19029
  var SearchWrapper$1 = styled(Box)(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n && {\n margin-bottom: 24px;\n max-width: 400px;\n width: 100%;\n }\n"])));
18670
19030
  var TotalItemsText$1 = styled.div(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 500;\n color: #4b4b4b;\n margin-bottom: 24px;\n white-space: nowrap;\n"])));
18671
19031
  var DeleteButton$1 = styled.button(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 8px;\n right: 8px;\n opacity: 1;\n pointer-events: auto;\n z-index: 2;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n padding: 0;\n border: none;\n border-radius: 50%;\n background-color: #ffffff;\n box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);\n cursor: pointer;\n color: #ff0000;\n"])));