tabexseriescomponents 0.2.770 → 0.2.772
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.
- package/dist/index.cjs.js +734 -701
- package/dist/index.esm.js +734 -701
- package/dist/index.umd.js +737 -704
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -163,10 +163,10 @@ import _extends from '@babel/runtime/helpers/extends';
|
|
|
163
163
|
import { Fade, Slide, Zoom } from 'react-slideshow-image';
|
|
164
164
|
import { HiOutlineLocationMarker } from '@react-icons/all-files/hi/HiOutlineLocationMarker';
|
|
165
165
|
import { FiPhoneCall } from '@react-icons/all-files/fi/FiPhoneCall';
|
|
166
|
-
import { BsEye } from '@react-icons/all-files/bs/BsEye';
|
|
167
166
|
import { FaRegEye } from '@react-icons/all-files/fa/FaRegEye';
|
|
168
167
|
import { BsArrowRight } from '@react-icons/all-files/bs/BsArrowRight';
|
|
169
168
|
import { BsArrowLeft } from '@react-icons/all-files/bs/BsArrowLeft';
|
|
169
|
+
import { BsEye } from '@react-icons/all-files/bs/BsEye';
|
|
170
170
|
import { BiTimeFive } from '@react-icons/all-files/bi/BiTimeFive';
|
|
171
171
|
import { IoIosArrowUp } from '@react-icons/all-files/io/IoIosArrowUp';
|
|
172
172
|
|
|
@@ -2782,23 +2782,25 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2782
2782
|
React.createElement("div", {
|
|
2783
2783
|
"class": "w-100 scrollhorizontalwithscrollbar "
|
|
2784
2784
|
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productimages) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.productimages.map(function (item, index) {
|
|
2785
|
-
|
|
2786
|
-
"
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2785
|
+
if (item.is_size_guide != 1) {
|
|
2786
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
2787
|
+
"class": ' scrollhorizontalcard mx-2 ',
|
|
2788
|
+
style: {
|
|
2789
|
+
height: sectionproperties.image_height + 'px',
|
|
2790
|
+
width: sectionproperties.image_width + 'px'
|
|
2791
|
+
}
|
|
2792
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
2793
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
2794
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
2795
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.path,
|
|
2796
|
+
style: {
|
|
2797
|
+
width: '100%',
|
|
2798
|
+
height: '100%',
|
|
2799
|
+
objectFit: 'contain'
|
|
2800
|
+
},
|
|
2801
|
+
loading: "lazy"
|
|
2802
|
+
}));
|
|
2803
|
+
}
|
|
2802
2804
|
}))), sectionproperties.gallerystyle == 'One Centered Image' && /*#__PURE__*/React.createElement("div", {
|
|
2803
2805
|
"class": "col-lg-12 allcentered"
|
|
2804
2806
|
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productimages) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.productimages.map(function (item, index) {
|
|
@@ -3089,7 +3091,23 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3089
3091
|
fontWeight: sectionproperties.featurefontweight,
|
|
3090
3092
|
fontSize: sectionproperties.featurefontsize
|
|
3091
3093
|
}
|
|
3092
|
-
},
|
|
3094
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3095
|
+
"class": "row m-0 d-flex align-items-center"
|
|
3096
|
+
}, (fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url) != null && /*#__PURE__*/React.createElement("div", {
|
|
3097
|
+
style: {
|
|
3098
|
+
width: '20px'
|
|
3099
|
+
},
|
|
3100
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
3101
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
3102
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
3103
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
3104
|
+
path: fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url,
|
|
3105
|
+
loading: "lazy",
|
|
3106
|
+
style: {
|
|
3107
|
+
maxWidth: '100%',
|
|
3108
|
+
maxHeight: '100%'
|
|
3109
|
+
}
|
|
3110
|
+
})), langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.name_en : fitem === null || fitem === void 0 ? void 0 : fitem.name_ar)), /*#__PURE__*/React.createElement("td", {
|
|
3093
3111
|
style: {
|
|
3094
3112
|
color: sectionproperties.featurevaluecolor,
|
|
3095
3113
|
fontWeight: sectionproperties.featurevaluefontweight,
|
|
@@ -16653,6 +16671,7 @@ var Filter$1 = function Filter(props) {
|
|
|
16653
16671
|
_useState30 = _slicedToArray(_useState29, 2),
|
|
16654
16672
|
otherfilters = _useState30[0];
|
|
16655
16673
|
_useState30[1];
|
|
16674
|
+
var fetchAuthorizationQueryContext = props.actions.fetchAuthorizationQueryContext;
|
|
16656
16675
|
var _useState31 = useState(false),
|
|
16657
16676
|
_useState32 = _slicedToArray(_useState31, 2),
|
|
16658
16677
|
checked = _useState32[0],
|
|
@@ -17927,6 +17946,7 @@ var Filter$1 = function Filter(props) {
|
|
|
17927
17946
|
})))));
|
|
17928
17947
|
};
|
|
17929
17948
|
var PriceInputRangeFilter = function PriceInputRangeFilter() {
|
|
17949
|
+
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _fetchAuthorizationQu4;
|
|
17930
17950
|
return /*#__PURE__*/React.createElement("div", {
|
|
17931
17951
|
"class": "row m-0 w-100 mb-3 mt-2"
|
|
17932
17952
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -17934,7 +17954,7 @@ var Filter$1 = function Filter(props) {
|
|
|
17934
17954
|
}, /*#__PURE__*/React.createElement("p", {
|
|
17935
17955
|
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
|
|
17936
17956
|
}, langdetect == 'en' ? 'Price' : 'السعر')), /*#__PURE__*/React.createElement("div", {
|
|
17937
|
-
"class": 'col-lg-12 pl-
|
|
17957
|
+
"class": 'col-lg-12 pl-3 pr-3 mt-2 mb-2',
|
|
17938
17958
|
style: {
|
|
17939
17959
|
direction: 'ltr'
|
|
17940
17960
|
}
|
|
@@ -17956,7 +17976,13 @@ var Filter$1 = function Filter(props) {
|
|
|
17956
17976
|
// }
|
|
17957
17977
|
setprice_rangevalue(_objectSpread$2h({}, value));
|
|
17958
17978
|
}
|
|
17959
|
-
}))
|
|
17979
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
17980
|
+
"class": "col-lg-12 mt-3",
|
|
17981
|
+
style: {
|
|
17982
|
+
color: '#000',
|
|
17983
|
+
fontSize: 15
|
|
17984
|
+
}
|
|
17985
|
+
}, langdetect == 'en' ? fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu === void 0 || (_fetchAuthorizationQu = _fetchAuthorizationQu.data) === null || _fetchAuthorizationQu === void 0 ? void 0 : _fetchAuthorizationQu.currencyname_en : fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu2 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu2 === void 0 || (_fetchAuthorizationQu2 = _fetchAuthorizationQu2.data) === null || _fetchAuthorizationQu2 === void 0 ? void 0 : _fetchAuthorizationQu2.currencyname_ar, " ", price_rangevalue.min, " -", ' ', langdetect == 'en' ? fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu3 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu3 === void 0 || (_fetchAuthorizationQu3 = _fetchAuthorizationQu3.data) === null || _fetchAuthorizationQu3 === void 0 ? void 0 : _fetchAuthorizationQu3.currencyname_en : fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu4 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu4 === void 0 || (_fetchAuthorizationQu4 = _fetchAuthorizationQu4.data) === null || _fetchAuthorizationQu4 === void 0 ? void 0 : _fetchAuthorizationQu4.currencyname_ar, " ", price_rangevalue.max));
|
|
17960
17986
|
};
|
|
17961
17987
|
useEffect(function () {
|
|
17962
17988
|
if (timeoutRef_price.current !== null) {
|
|
@@ -18629,7 +18655,9 @@ var Filter$1 = function Filter(props) {
|
|
|
18629
18655
|
className: "mt-2 mb-3"
|
|
18630
18656
|
})), /*#__PURE__*/React.createElement("div", {
|
|
18631
18657
|
className: filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 '
|
|
18632
|
-
}, sectionproperties.
|
|
18658
|
+
}, sectionproperties.showpricerangefilter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
18659
|
+
"class": "row m-0 w-100 px-3"
|
|
18660
|
+
}, PriceInputRangeFilter()), sectionproperties.showcountriesfilter == 'Show' && Countriesfilter(), sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
18633
18661
|
"class": "row m-0 w-100"
|
|
18634
18662
|
}, CategoriesFilter()), sectionproperties.filterType == 'Collections' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
18635
18663
|
"class": "row m-0 w-100"
|
|
@@ -25039,7 +25067,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25039
25067
|
style: {
|
|
25040
25068
|
position: sectionproperties.respheaderposition,
|
|
25041
25069
|
// position: window.location.pathname == '/home' ? sectionproperties.respheaderposition : 'relative',
|
|
25042
|
-
zIndex:
|
|
25070
|
+
zIndex: 1000,
|
|
25043
25071
|
top: sectionproperties.respheaderposition == 'absolute' || sectionproperties.respheaderposition == 'fixed' ? '50px' : 0
|
|
25044
25072
|
}
|
|
25045
25073
|
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -25049,7 +25077,10 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25049
25077
|
templateproperties_contextprops: templateproperties_context,
|
|
25050
25078
|
actions: actions
|
|
25051
25079
|
})), sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
25052
|
-
className: "col-lg-12 p-0"
|
|
25080
|
+
className: "col-lg-12 p-0",
|
|
25081
|
+
style: {
|
|
25082
|
+
borderBottom: sectionproperties.headerrespborderbottomwidth + ' solid ' + sectionproperties.headerrespborderbottomcolor
|
|
25083
|
+
}
|
|
25053
25084
|
}, openSearch == false && /*#__PURE__*/React.createElement("div", {
|
|
25054
25085
|
className: ' row m-0 w-100 d-none d-md-flex p-0 '
|
|
25055
25086
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -33166,12 +33197,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
33166
33197
|
}, /*#__PURE__*/React.createElement("div", {
|
|
33167
33198
|
"class": "".concat(header_cssstyles.dropdownitemcontainer)
|
|
33168
33199
|
}, /*#__PURE__*/React.createElement("p", {
|
|
33169
|
-
"class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
|
|
33170
|
-
style: {
|
|
33171
|
-
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
33172
|
-
fontWeight: sectionproperties.dropdown_fontweight,
|
|
33173
|
-
textTransform: sectionproperties.dropdown_texttransform
|
|
33174
|
-
}
|
|
33200
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center justify-content-center m-0 p-0 ',
|
|
33201
|
+
style: {}
|
|
33175
33202
|
}, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("span", {
|
|
33176
33203
|
"class": 'ml-2 mr-2'
|
|
33177
33204
|
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.instcurrencies) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.length) - 1 && /*#__PURE__*/React.createElement("div", {
|
|
@@ -72525,362 +72552,6 @@ styleInject(css_248z$f);
|
|
|
72525
72552
|
|
|
72526
72553
|
function ownKeys$I(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
72527
72554
|
function _objectSpread$I(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$I(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$I(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
72528
|
-
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
72529
|
-
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
72530
|
-
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
72531
|
-
var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
72532
|
-
var _useState = useState(props.actions.item),
|
|
72533
|
-
_useState2 = _slicedToArray(_useState, 2);
|
|
72534
|
-
_useState2[0];
|
|
72535
|
-
var setitem = _useState2[1];
|
|
72536
|
-
var _useState3 = useState({}),
|
|
72537
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
72538
|
-
variants_iteminfo = _useState4[0],
|
|
72539
|
-
setvariants_iteminfo = _useState4[1];
|
|
72540
|
-
var _useState5 = useState([]),
|
|
72541
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
72542
|
-
options_w_values = _useState6[0],
|
|
72543
|
-
setoptions_w_values = _useState6[1];
|
|
72544
|
-
var _useState7 = useState([]),
|
|
72545
|
-
_useState8 = _slicedToArray(_useState7, 2),
|
|
72546
|
-
choosen_values = _useState8[0],
|
|
72547
|
-
setchoosen_values = _useState8[1];
|
|
72548
|
-
var _useState9 = useState({}),
|
|
72549
|
-
_useState10 = _slicedToArray(_useState9, 2),
|
|
72550
|
-
VariantCompletedObj = _useState10[0],
|
|
72551
|
-
setVariantCompletedObj = _useState10[1];
|
|
72552
|
-
var sectionproperties = props.actions.sectionproperties;
|
|
72553
|
-
props.actions.lang;
|
|
72554
|
-
props.actions.langdetect;
|
|
72555
|
-
var foundMatchedVariantFunc = props.foundMatchedVariantFunc;
|
|
72556
|
-
var _useState11 = useState(props.cardinfoindexprops),
|
|
72557
|
-
_useState12 = _slicedToArray(_useState11, 2);
|
|
72558
|
-
_useState12[0];
|
|
72559
|
-
_useState12[1];
|
|
72560
|
-
var _useState13 = useState({}),
|
|
72561
|
-
_useState14 = _slicedToArray(_useState13, 2),
|
|
72562
|
-
VariantColorImageComObj = _useState14[0],
|
|
72563
|
-
setVariantColorImageComObj = _useState14[1];
|
|
72564
|
-
var foundImageColorMatchingFunc = props.foundImageColorMatchingFunc;
|
|
72565
|
-
useEffect(function () {
|
|
72566
|
-
foundMatchedVariantFunc(VariantCompletedObj);
|
|
72567
|
-
}, [VariantCompletedObj]);
|
|
72568
|
-
useEffect(function () {
|
|
72569
|
-
var completedVariantObj = null;
|
|
72570
|
-
var variantimagematching = null;
|
|
72571
|
-
if (choosen_values.length > 0) {
|
|
72572
|
-
var _iterator = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
72573
|
-
_step;
|
|
72574
|
-
try {
|
|
72575
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
72576
|
-
var _variantitem$variantv2;
|
|
72577
|
-
var variantitem = _step.value;
|
|
72578
|
-
var matchedValues = variantitem === null || variantitem === void 0 || (_variantitem$variantv2 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv2 === void 0 ? void 0 : _variantitem$variantv2.filter(function (variantValue) {
|
|
72579
|
-
return choosen_values.some(function (choosenValue) {
|
|
72580
|
-
return choosenValue.valueid === variantValue.valueid;
|
|
72581
|
-
});
|
|
72582
|
-
});
|
|
72583
|
-
if (matchedValues.length === choosen_values.length && matchedValues.length === variantitem.variantvalues_w_valueinfo.length) {
|
|
72584
|
-
completedVariantObj = variantitem;
|
|
72585
|
-
break;
|
|
72586
|
-
}
|
|
72587
|
-
}
|
|
72588
|
-
} catch (err) {
|
|
72589
|
-
_iterator.e(err);
|
|
72590
|
-
} finally {
|
|
72591
|
-
_iterator.f();
|
|
72592
|
-
}
|
|
72593
|
-
choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (item, index) {
|
|
72594
|
-
var _item$option_info, _item$option_info2;
|
|
72595
|
-
if ((item === null || item === void 0 || (_item$option_info = item.option_info) === null || _item$option_info === void 0 ? void 0 : _item$option_info.optionname) == 'color' || (item === null || item === void 0 || (_item$option_info2 = item.option_info) === null || _item$option_info2 === void 0 ? void 0 : _item$option_info2.optionname) == 'Color') {
|
|
72596
|
-
var _iterator2 = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
72597
|
-
_step2;
|
|
72598
|
-
try {
|
|
72599
|
-
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
72600
|
-
var _variantitem$variantv;
|
|
72601
|
-
var variantitem = _step2.value;
|
|
72602
|
-
var matchingValue = variantitem === null || variantitem === void 0 || (_variantitem$variantv = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv === void 0 ? void 0 : _variantitem$variantv.find(function (value) {
|
|
72603
|
-
return (value === null || value === void 0 ? void 0 : value.valueid) === (item === null || item === void 0 ? void 0 : item.valueid);
|
|
72604
|
-
});
|
|
72605
|
-
if (matchingValue) {
|
|
72606
|
-
variantimagematching = variantitem;
|
|
72607
|
-
}
|
|
72608
|
-
}
|
|
72609
|
-
} catch (err) {
|
|
72610
|
-
_iterator2.e(err);
|
|
72611
|
-
} finally {
|
|
72612
|
-
_iterator2.f();
|
|
72613
|
-
}
|
|
72614
|
-
}
|
|
72615
|
-
});
|
|
72616
|
-
}
|
|
72617
|
-
setVariantColorImageComObj(variantimagematching || {});
|
|
72618
|
-
setVariantCompletedObj(completedVariantObj || {});
|
|
72619
|
-
}, [choosen_values]);
|
|
72620
|
-
useEffect(function () {
|
|
72621
|
-
var _props$actions;
|
|
72622
|
-
var iteminfo = props.actions.item;
|
|
72623
|
-
var variants_iteminfo = props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.item) === null || _props$actions === void 0 ? void 0 : _props$actions.variants_w_options;
|
|
72624
|
-
var options_w_values = [];
|
|
72625
|
-
variants_iteminfo === null || variants_iteminfo === void 0 || variants_iteminfo.forEach(function (item, index) {
|
|
72626
|
-
var _item$variantvalues_w;
|
|
72627
|
-
item === null || item === void 0 || (_item$variantvalues_w = item.variantvalues_w_valueinfo) === null || _item$variantvalues_w === void 0 || _item$variantvalues_w.forEach(function (valitem) {
|
|
72628
|
-
var isoptionexists = false;
|
|
72629
|
-
var is_valitemexists = false;
|
|
72630
|
-
var valitemtobeinsreted = _objectSpread$I({}, valitem);
|
|
72631
|
-
valitemtobeinsreted.disabled = false;
|
|
72632
|
-
options_w_values === null || options_w_values === void 0 || options_w_values.forEach(function (exopitem, exopindex) {
|
|
72633
|
-
var _exopitem$values;
|
|
72634
|
-
exopitem === null || exopitem === void 0 || (_exopitem$values = exopitem.values) === null || _exopitem$values === void 0 || _exopitem$values.forEach(function (valexistitem) {
|
|
72635
|
-
if (valexistitem.valueid == valitemtobeinsreted.valueid) {
|
|
72636
|
-
is_valitemexists = true;
|
|
72637
|
-
}
|
|
72638
|
-
});
|
|
72639
|
-
});
|
|
72640
|
-
options_w_values === null || options_w_values === void 0 || options_w_values.forEach(function (exopitem, exopindex) {
|
|
72641
|
-
var _exopitem$option_info, _valitemtobeinsreted$;
|
|
72642
|
-
if ((exopitem === null || exopitem === void 0 || (_exopitem$option_info = exopitem.option_info) === null || _exopitem$option_info === void 0 ? void 0 : _exopitem$option_info.optionid) == (valitemtobeinsreted === null || valitemtobeinsreted === void 0 || (_valitemtobeinsreted$ = valitemtobeinsreted.option_info) === null || _valitemtobeinsreted$ === void 0 ? void 0 : _valitemtobeinsreted$.optionid)) {
|
|
72643
|
-
if (is_valitemexists == false) {
|
|
72644
|
-
var _valitemtobeinsreted$2;
|
|
72645
|
-
exopitem.values.push(_objectSpread$I(_objectSpread$I({}, valitemtobeinsreted), {}, {
|
|
72646
|
-
valueindex: valitemtobeinsreted === null || valitemtobeinsreted === void 0 || (_valitemtobeinsreted$2 = valitemtobeinsreted.valueinfo) === null || _valitemtobeinsreted$2 === void 0 ? void 0 : _valitemtobeinsreted$2.valueindex
|
|
72647
|
-
}));
|
|
72648
|
-
}
|
|
72649
|
-
isoptionexists = true;
|
|
72650
|
-
}
|
|
72651
|
-
});
|
|
72652
|
-
if (isoptionexists == false) {
|
|
72653
|
-
var _valitemtobeinsreted$3;
|
|
72654
|
-
options_w_values.push({
|
|
72655
|
-
option_info: valitem.option_info,
|
|
72656
|
-
optionindex: valitem.option_info.optionindex,
|
|
72657
|
-
values: [_objectSpread$I(_objectSpread$I({}, valitemtobeinsreted), {}, {
|
|
72658
|
-
valueindex: valitemtobeinsreted === null || valitemtobeinsreted === void 0 || (_valitemtobeinsreted$3 = valitemtobeinsreted.valueinfo) === null || _valitemtobeinsreted$3 === void 0 ? void 0 : _valitemtobeinsreted$3.valueindex
|
|
72659
|
-
})]
|
|
72660
|
-
});
|
|
72661
|
-
}
|
|
72662
|
-
});
|
|
72663
|
-
});
|
|
72664
|
-
options_w_values.forEach(function (option) {
|
|
72665
|
-
option.values.sort(function (a, b) {
|
|
72666
|
-
return a.valueindex - b.valueindex;
|
|
72667
|
-
});
|
|
72668
|
-
});
|
|
72669
|
-
var Sortedoptions_w_values = options_w_values.sort(function (a, b) {
|
|
72670
|
-
return a.optionindex - b.optionindex;
|
|
72671
|
-
});
|
|
72672
|
-
setoptions_w_values(_toConsumableArray(Sortedoptions_w_values));
|
|
72673
|
-
// setoptions_w_values([...options_w_values]);
|
|
72674
|
-
setvariants_iteminfo(variants_iteminfo);
|
|
72675
|
-
setitem(iteminfo);
|
|
72676
|
-
}, [props.actions.item]);
|
|
72677
|
-
var choose_valueFunc = function choose_valueFunc(valitem, optioninfo) {
|
|
72678
|
-
var tempchoosen_values = _toConsumableArray(choosen_values);
|
|
72679
|
-
var isvalueexists = false;
|
|
72680
|
-
// var optionid = optioninfo.optionid
|
|
72681
|
-
tempchoosen_values === null || tempchoosen_values === void 0 || tempchoosen_values.forEach(function (choseitem, choseindex) {
|
|
72682
|
-
if (valitem.optionid == choseitem.optionid) {
|
|
72683
|
-
tempchoosen_values.splice(choseindex, 1);
|
|
72684
|
-
}
|
|
72685
|
-
if ((choseitem === null || choseitem === void 0 ? void 0 : choseitem.valueid) == (valitem === null || valitem === void 0 ? void 0 : valitem.valueid)) {
|
|
72686
|
-
tempchoosen_values.splice(choseindex, 1);
|
|
72687
|
-
isvalueexists = true;
|
|
72688
|
-
}
|
|
72689
|
-
});
|
|
72690
|
-
if (isvalueexists == false) {
|
|
72691
|
-
tempchoosen_values.push(valitem);
|
|
72692
|
-
}
|
|
72693
|
-
var tempoptions_w_values = _toConsumableArray(options_w_values);
|
|
72694
|
-
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
72695
|
-
var _item$values;
|
|
72696
|
-
item === null || item === void 0 || (_item$values = item.values) === null || _item$values === void 0 || _item$values.forEach(function (valitemex, valindex) {
|
|
72697
|
-
if (tempchoosen_values.length == 0) {
|
|
72698
|
-
valitemex.disabled = false;
|
|
72699
|
-
} else {
|
|
72700
|
-
valitemex.disabled = true;
|
|
72701
|
-
}
|
|
72702
|
-
});
|
|
72703
|
-
});
|
|
72704
|
-
if (tempchoosen_values.length != 0) {
|
|
72705
|
-
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
72706
|
-
var _item$values2;
|
|
72707
|
-
item === null || item === void 0 || (_item$values2 = item.values) === null || _item$values2 === void 0 || _item$values2.forEach(function (valitem, valindex) {
|
|
72708
|
-
var _tempchoosen_values$s;
|
|
72709
|
-
var isvaluedisabled = true;
|
|
72710
|
-
(_tempchoosen_values$s = tempchoosen_values.slice(0, 1)) === null || _tempchoosen_values$s === void 0 || _tempchoosen_values$s.forEach(function (chosvalitem) {
|
|
72711
|
-
variants_iteminfo === null || variants_iteminfo === void 0 || variants_iteminfo.forEach(function (variantitem) {
|
|
72712
|
-
var _variantitem$variantv3;
|
|
72713
|
-
var is_Start_Variant_Found = false;
|
|
72714
|
-
variantitem === null || variantitem === void 0 || (_variantitem$variantv3 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv3 === void 0 || _variantitem$variantv3.forEach(function (variantoptionsitem) {
|
|
72715
|
-
if (variantoptionsitem.valueid == chosvalitem.valueid) {
|
|
72716
|
-
is_Start_Variant_Found = true;
|
|
72717
|
-
}
|
|
72718
|
-
});
|
|
72719
|
-
if (is_Start_Variant_Found) {
|
|
72720
|
-
var _variantitem$variantv4;
|
|
72721
|
-
variantitem === null || variantitem === void 0 || (_variantitem$variantv4 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv4 === void 0 || _variantitem$variantv4.forEach(function (variantoptionsitem) {
|
|
72722
|
-
if (valitem.valueid == variantoptionsitem.valueid) {
|
|
72723
|
-
isvaluedisabled = false;
|
|
72724
|
-
}
|
|
72725
|
-
});
|
|
72726
|
-
}
|
|
72727
|
-
});
|
|
72728
|
-
});
|
|
72729
|
-
valitem.disabled = isvaluedisabled;
|
|
72730
|
-
});
|
|
72731
|
-
});
|
|
72732
|
-
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
72733
|
-
var _item$values3;
|
|
72734
|
-
item === null || item === void 0 || (_item$values3 = item.values) === null || _item$values3 === void 0 || _item$values3.forEach(function (valitem, valindex) {
|
|
72735
|
-
if (valitem.optionid == tempchoosen_values[0].optionid) {
|
|
72736
|
-
valitem.disabled = false;
|
|
72737
|
-
}
|
|
72738
|
-
});
|
|
72739
|
-
});
|
|
72740
|
-
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
72741
|
-
var _item$values4;
|
|
72742
|
-
item === null || item === void 0 || (_item$values4 = item.values) === null || _item$values4 === void 0 || _item$values4.forEach(function (valitem, valindex) {
|
|
72743
|
-
if (valitem.disabled == true) {
|
|
72744
|
-
tempchoosen_values === null || tempchoosen_values === void 0 || tempchoosen_values.forEach(function (chosvalitem, choseindex) {
|
|
72745
|
-
if (chosvalitem.valueid == valitem.valueid) {
|
|
72746
|
-
tempchoosen_values.splice(choseindex, 1);
|
|
72747
|
-
}
|
|
72748
|
-
});
|
|
72749
|
-
}
|
|
72750
|
-
});
|
|
72751
|
-
});
|
|
72752
|
-
}
|
|
72753
|
-
setoptions_w_values(_toConsumableArray(tempoptions_w_values));
|
|
72754
|
-
setchoosen_values(_toConsumableArray(tempchoosen_values));
|
|
72755
|
-
};
|
|
72756
|
-
useEffect(function () {
|
|
72757
|
-
foundImageColorMatchingFunc(VariantColorImageComObj);
|
|
72758
|
-
}, [VariantColorImageComObj]);
|
|
72759
|
-
useEffect(function () {
|
|
72760
|
-
var completedVariantObj = null;
|
|
72761
|
-
var variantimagematching = null;
|
|
72762
|
-
if (choosen_values.length > 0) {
|
|
72763
|
-
var _iterator3 = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
72764
|
-
_step3;
|
|
72765
|
-
try {
|
|
72766
|
-
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
72767
|
-
var _variantitem$variantv6;
|
|
72768
|
-
var variantitem = _step3.value;
|
|
72769
|
-
var matchedValues = variantitem === null || variantitem === void 0 || (_variantitem$variantv6 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv6 === void 0 ? void 0 : _variantitem$variantv6.filter(function (variantValue) {
|
|
72770
|
-
return choosen_values.some(function (choosenValue) {
|
|
72771
|
-
return choosenValue.valueid === variantValue.valueid;
|
|
72772
|
-
});
|
|
72773
|
-
});
|
|
72774
|
-
if (matchedValues.length === choosen_values.length && matchedValues.length === variantitem.variantvalues_w_valueinfo.length) {
|
|
72775
|
-
completedVariantObj = variantitem;
|
|
72776
|
-
break;
|
|
72777
|
-
}
|
|
72778
|
-
}
|
|
72779
|
-
} catch (err) {
|
|
72780
|
-
_iterator3.e(err);
|
|
72781
|
-
} finally {
|
|
72782
|
-
_iterator3.f();
|
|
72783
|
-
}
|
|
72784
|
-
choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (item, index) {
|
|
72785
|
-
var _item$option_info3, _item$option_info4;
|
|
72786
|
-
if ((item === null || item === void 0 || (_item$option_info3 = item.option_info) === null || _item$option_info3 === void 0 ? void 0 : _item$option_info3.optionname) == 'color' || (item === null || item === void 0 || (_item$option_info4 = item.option_info) === null || _item$option_info4 === void 0 ? void 0 : _item$option_info4.optionname) == 'Color') {
|
|
72787
|
-
var _iterator4 = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
72788
|
-
_step4;
|
|
72789
|
-
try {
|
|
72790
|
-
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
72791
|
-
var _variantitem$variantv5;
|
|
72792
|
-
var variantitem = _step4.value;
|
|
72793
|
-
var matchingValue = variantitem === null || variantitem === void 0 || (_variantitem$variantv5 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv5 === void 0 ? void 0 : _variantitem$variantv5.find(function (value) {
|
|
72794
|
-
return (value === null || value === void 0 ? void 0 : value.valueid) === (item === null || item === void 0 ? void 0 : item.valueid);
|
|
72795
|
-
});
|
|
72796
|
-
if (matchingValue) {
|
|
72797
|
-
variantimagematching = variantitem;
|
|
72798
|
-
}
|
|
72799
|
-
}
|
|
72800
|
-
} catch (err) {
|
|
72801
|
-
_iterator4.e(err);
|
|
72802
|
-
} finally {
|
|
72803
|
-
_iterator4.f();
|
|
72804
|
-
}
|
|
72805
|
-
}
|
|
72806
|
-
});
|
|
72807
|
-
}
|
|
72808
|
-
setVariantColorImageComObj(variantimagematching || {});
|
|
72809
|
-
setVariantCompletedObj(completedVariantObj || {});
|
|
72810
|
-
}, [choosen_values]);
|
|
72811
|
-
|
|
72812
|
-
// useEffect(() => {
|
|
72813
|
-
// var completedVariantObj = {};
|
|
72814
|
-
// var tempchoosen_values = [...choosen_values];
|
|
72815
|
-
// if (choosen_values.length != 0) {
|
|
72816
|
-
// variants_iteminfo?.forEach(function (variantitem) {
|
|
72817
|
-
// var isVariantValuesAllSame = true;
|
|
72818
|
-
// variantitem?.variantvalues_w_valueinfo?.forEach(function (variantvalues) {
|
|
72819
|
-
// tempchoosen_values?.forEach(function (item, index) {
|
|
72820
|
-
// if (variantvalues.valueid != item.valueid) {
|
|
72821
|
-
// isVariantValuesAllSame = false;
|
|
72822
|
-
// } else {
|
|
72823
|
-
// }
|
|
72824
|
-
// });
|
|
72825
|
-
// });
|
|
72826
|
-
// if (isVariantValuesAllSame == true) {
|
|
72827
|
-
// completedVariantObj = variantitem;
|
|
72828
|
-
// }
|
|
72829
|
-
// });
|
|
72830
|
-
// }
|
|
72831
|
-
// setVariantCompletedObj({ ...completedVariantObj });
|
|
72832
|
-
// }, [choosen_values]);
|
|
72833
|
-
|
|
72834
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
72835
|
-
"class": ' row m-0 w-100 mb-2 '
|
|
72836
|
-
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
72837
|
-
"class": ' row m-0 w-100 '
|
|
72838
|
-
}, options_w_values === null || options_w_values === void 0 ? void 0 : options_w_values.map(function (item, index) {
|
|
72839
|
-
var _item$values5;
|
|
72840
|
-
// if (index <= 3) {
|
|
72841
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
72842
|
-
className: "col-lg-12 col-md-12 d-flex mb-2 allcentered scrollhorixontalcontainer"
|
|
72843
|
-
}, item === null || item === void 0 || (_item$values5 = item.values) === null || _item$values5 === void 0 ? void 0 : _item$values5.map(function (valitem) {
|
|
72844
|
-
var _item$option_info5, _item$option_info6, _item$option_info7, _item$option_info8, _item$option_info9, _valitem$valueinfo, _item$option_info10, _valitem$valueinfo2;
|
|
72845
|
-
var isChoosedValueExists = false;
|
|
72846
|
-
choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (choseitem, choseindex) {
|
|
72847
|
-
if (choseitem != null) {
|
|
72848
|
-
if ((choseitem === null || choseitem === void 0 ? void 0 : choseitem.valueid) == (valitem === null || valitem === void 0 ? void 0 : valitem.valueid)) {
|
|
72849
|
-
isChoosedValueExists = true;
|
|
72850
|
-
}
|
|
72851
|
-
}
|
|
72852
|
-
});
|
|
72853
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
72854
|
-
style: {
|
|
72855
|
-
textAlign: 'center'
|
|
72856
|
-
},
|
|
72857
|
-
"class": "mx-1"
|
|
72858
|
-
}, /*#__PURE__*/React.createElement("button", {
|
|
72859
|
-
onClick: function onClick() {
|
|
72860
|
-
choose_valueFunc(valitem, item === null || item === void 0 ? void 0 : item.option_info);
|
|
72861
|
-
},
|
|
72862
|
-
style: {
|
|
72863
|
-
// backgroundColor: isChoosedValueExists ? 'lightblue' : 'white',
|
|
72864
|
-
color: isChoosedValueExists ? '#ffffff' : '#000000',
|
|
72865
|
-
border: isChoosedValueExists ? '3px solid ' + sectionproperties.activeproductcolor : '1px solid ' + sectionproperties.variantcontainerbordercolor,
|
|
72866
|
-
padding: (item === null || item === void 0 || (_item$option_info5 = item.option_info) === null || _item$option_info5 === void 0 ? void 0 : _item$option_info5.optionname) == 'Color' ? '5px' : '5px 10px',
|
|
72867
|
-
cursor: valitem.disabled ? 'not-allowed' : 'pointer',
|
|
72868
|
-
fontSize: '13px',
|
|
72869
|
-
width: (item === null || item === void 0 || (_item$option_info6 = item.option_info) === null || _item$option_info6 === void 0 ? void 0 : _item$option_info6.optionname) == 'Color' ? 25 : '',
|
|
72870
|
-
height: (item === null || item === void 0 || (_item$option_info7 = item.option_info) === null || _item$option_info7 === void 0 ? void 0 : _item$option_info7.optionname) == 'Color' ? 25 : '',
|
|
72871
|
-
borderRadius: (item === null || item === void 0 || (_item$option_info8 = item.option_info) === null || _item$option_info8 === void 0 ? void 0 : _item$option_info8.optionname) == 'Color' ? 100 : 5,
|
|
72872
|
-
background: (item === null || item === void 0 || (_item$option_info9 = item.option_info) === null || _item$option_info9 === void 0 ? void 0 : _item$option_info9.optionname) == 'Color' ? valitem === null || valitem === void 0 || (_valitem$valueinfo = valitem.valueinfo) === null || _valitem$valueinfo === void 0 ? void 0 : _valitem$valueinfo.valuename : isChoosedValueExists ? sectionproperties.activeproductcolor : '#ffffff',
|
|
72873
|
-
fontWeight: 500
|
|
72874
|
-
},
|
|
72875
|
-
disabled: valitem.disabled
|
|
72876
|
-
}, (item === null || item === void 0 || (_item$option_info10 = item.option_info) === null || _item$option_info10 === void 0 ? void 0 : _item$option_info10.optionname) == 'Color' ? '' : (valitem === null || valitem === void 0 || (_valitem$valueinfo2 = valitem.valueinfo) === null || _valitem$valueinfo2 === void 0 ? void 0 : _valitem$valueinfo2.valuename) || 'Unnamed'));
|
|
72877
|
-
}));
|
|
72878
|
-
// }
|
|
72879
|
-
})));
|
|
72880
|
-
};
|
|
72881
|
-
|
|
72882
|
-
function ownKeys$H(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
72883
|
-
function _objectSpread$H(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$H(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$H(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
72884
72555
|
var Categorycard_details_onhover = function Categorycard_details_onhover(props) {
|
|
72885
72556
|
var _useState = useState(''),
|
|
72886
72557
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -72923,14 +72594,14 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
72923
72594
|
});
|
|
72924
72595
|
}
|
|
72925
72596
|
});
|
|
72926
|
-
setsectionproperties(_objectSpread$
|
|
72597
|
+
setsectionproperties(_objectSpread$I({}, secpropobj));
|
|
72927
72598
|
}, [StatePagePropertiesContext]);
|
|
72928
72599
|
useEffect(function () {
|
|
72929
72600
|
setitem(props.cardinfoitemprops);
|
|
72930
72601
|
}, [props.cardinfoitemprops]);
|
|
72931
72602
|
useEffect(function () {
|
|
72932
72603
|
var productImagetoBeSelected = '';
|
|
72933
|
-
var Tempitem = _objectSpread$
|
|
72604
|
+
var Tempitem = _objectSpread$I({}, item);
|
|
72934
72605
|
productImagetoBeSelected = item.productmainimage;
|
|
72935
72606
|
if (variantObj != undefined && variantObj != null && Object.keys(variantObj).length != 0 && variantObj != '') {
|
|
72936
72607
|
var variatgalleryid = variantObj.variantgalleryid;
|
|
@@ -72944,11 +72615,11 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
72944
72615
|
}
|
|
72945
72616
|
}
|
|
72946
72617
|
Tempitem.image = productImagetoBeSelected;
|
|
72947
|
-
setitem(_objectSpread$
|
|
72618
|
+
setitem(_objectSpread$I({}, Tempitem));
|
|
72948
72619
|
}, [variantObj]);
|
|
72949
72620
|
useEffect(function () {
|
|
72950
72621
|
var productImagetoBeSelected = '';
|
|
72951
|
-
var Tempitem = _objectSpread$
|
|
72622
|
+
var Tempitem = _objectSpread$I({}, item);
|
|
72952
72623
|
productImagetoBeSelected = item.productmainimage;
|
|
72953
72624
|
if (Variant_Color_ImageObj != undefined && Variant_Color_ImageObj != null && Object.keys(Variant_Color_ImageObj).length != 0 && Variant_Color_ImageObj != '') {
|
|
72954
72625
|
var variatgalleryid = Variant_Color_ImageObj.variantgalleryid;
|
|
@@ -72962,7 +72633,7 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
72962
72633
|
}
|
|
72963
72634
|
}
|
|
72964
72635
|
Tempitem.image = productImagetoBeSelected;
|
|
72965
|
-
setitem(_objectSpread$
|
|
72636
|
+
setitem(_objectSpread$I({}, Tempitem));
|
|
72966
72637
|
}, [Variant_Color_ImageObj]);
|
|
72967
72638
|
var card_cssstyles = {
|
|
72968
72639
|
innersection: css({
|
|
@@ -73296,8 +72967,8 @@ var css_248z$e = "\n@media (max-width: 576px) {\n .generalCardsStyles-module_
|
|
|
73296
72967
|
var generalCardsStyles = {"productcard":"generalCardsStyles-module_productcard__3PgiR","Simpleproductcard":"generalCardsStyles-module_Simpleproductcard__GhVP7","ClassicCategoryCard":"generalCardsStyles-module_ClassicCategoryCard__UWO1a","newproductcard":"generalCardsStyles-module_newproductcard__ATddn","imagecontainer":"generalCardsStyles-module_imagecontainer__9bhlL","intialimage":"generalCardsStyles-module_intialimage__JUCyy","secondaryimage":"generalCardsStyles-module_secondaryimage__FrA62","fadeIn":"generalCardsStyles-module_fadeIn__xhIy3"};
|
|
73297
72968
|
styleInject(css_248z$e);
|
|
73298
72969
|
|
|
73299
|
-
function ownKeys$
|
|
73300
|
-
function _objectSpread$
|
|
72970
|
+
function ownKeys$H(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
72971
|
+
function _objectSpread$H(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$H(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$H(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
73301
72972
|
var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
73302
72973
|
var _useState = useState(''),
|
|
73303
72974
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -73335,7 +73006,7 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
73335
73006
|
});
|
|
73336
73007
|
}
|
|
73337
73008
|
});
|
|
73338
|
-
setsectionproperties(_objectSpread$
|
|
73009
|
+
setsectionproperties(_objectSpread$H({}, secpropobj));
|
|
73339
73010
|
}, [StatePagePropertiesContext]);
|
|
73340
73011
|
useEffect(function () {
|
|
73341
73012
|
if (item.quantity == 0) {
|
|
@@ -73645,13 +73316,13 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
73645
73316
|
onClick: function onClick(e) {
|
|
73646
73317
|
e.stopPropagation();
|
|
73647
73318
|
if (item.hasvariants == 0) {
|
|
73648
|
-
var tempitem = _objectSpread$
|
|
73319
|
+
var tempitem = _objectSpread$H({}, item);
|
|
73649
73320
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
73650
73321
|
tempitem.quantity = tempitem.quantity - 1;
|
|
73651
73322
|
if (tempitem.quantity <= 0) {
|
|
73652
73323
|
tempitem.quantity = 0;
|
|
73653
73324
|
}
|
|
73654
|
-
setitem(_objectSpread$
|
|
73325
|
+
setitem(_objectSpread$H({}, tempitem));
|
|
73655
73326
|
addtocartfunc('add', tempitem.quantity);
|
|
73656
73327
|
} else {
|
|
73657
73328
|
setShowProductInfoModalContext(true);
|
|
@@ -73668,13 +73339,13 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
73668
73339
|
onClick: function onClick(e) {
|
|
73669
73340
|
e.stopPropagation();
|
|
73670
73341
|
if (item.hasvariants == 0) {
|
|
73671
|
-
var tempitem = _objectSpread$
|
|
73342
|
+
var tempitem = _objectSpread$H({}, item);
|
|
73672
73343
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
73673
73344
|
tempitem.quantity = tempitem.quantity + 1;
|
|
73674
73345
|
if (tempitem.quantity <= 0) {
|
|
73675
73346
|
tempitem.quantity = 0;
|
|
73676
73347
|
}
|
|
73677
|
-
setitem(_objectSpread$
|
|
73348
|
+
setitem(_objectSpread$H({}, tempitem));
|
|
73678
73349
|
addtocartfunc('add', tempitem.quantity);
|
|
73679
73350
|
} else {
|
|
73680
73351
|
setShowProductInfoModalContext(true);
|
|
@@ -73830,8 +73501,8 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
73830
73501
|
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname))))));
|
|
73831
73502
|
};
|
|
73832
73503
|
|
|
73833
|
-
function ownKeys$
|
|
73834
|
-
function _objectSpread$
|
|
73504
|
+
function ownKeys$G(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
73505
|
+
function _objectSpread$G(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$G(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$G(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
73835
73506
|
var CircleCardWithVariants = function CircleCardWithVariants(props) {
|
|
73836
73507
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
73837
73508
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
@@ -73874,7 +73545,7 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
|
|
|
73874
73545
|
});
|
|
73875
73546
|
}
|
|
73876
73547
|
});
|
|
73877
|
-
setsectionproperties(_objectSpread$
|
|
73548
|
+
setsectionproperties(_objectSpread$G({}, secpropobj));
|
|
73878
73549
|
}, [StatePagePropertiesContext]);
|
|
73879
73550
|
|
|
73880
73551
|
// Card Information
|
|
@@ -74261,13 +73932,13 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
|
|
|
74261
73932
|
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
74262
73933
|
onClick: function onClick() {
|
|
74263
73934
|
if (item.hasvariants == 0) {
|
|
74264
|
-
var tempitem = _objectSpread$
|
|
73935
|
+
var tempitem = _objectSpread$G({}, item);
|
|
74265
73936
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
74266
73937
|
tempitem.quantity = tempitem.quantity - 1;
|
|
74267
73938
|
if (tempitem.quantity <= 0) {
|
|
74268
73939
|
tempitem.quantity = 0;
|
|
74269
73940
|
}
|
|
74270
|
-
setitem(_objectSpread$
|
|
73941
|
+
setitem(_objectSpread$G({}, tempitem));
|
|
74271
73942
|
addtocartfunc('add', tempitem.quantity);
|
|
74272
73943
|
} else {
|
|
74273
73944
|
setShowProductInfoModalContext(true);
|
|
@@ -74283,13 +73954,13 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
|
|
|
74283
73954
|
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container),
|
|
74284
73955
|
onClick: function onClick() {
|
|
74285
73956
|
if (item.hasvariants == 0) {
|
|
74286
|
-
var tempitem = _objectSpread$
|
|
73957
|
+
var tempitem = _objectSpread$G({}, item);
|
|
74287
73958
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
74288
73959
|
tempitem.quantity = tempitem.quantity + 1;
|
|
74289
73960
|
if (tempitem.quantity <= 0) {
|
|
74290
73961
|
tempitem.quantity = 0;
|
|
74291
73962
|
}
|
|
74292
|
-
setitem(_objectSpread$
|
|
73963
|
+
setitem(_objectSpread$G({}, tempitem));
|
|
74293
73964
|
addtocartfunc('add', tempitem.quantity);
|
|
74294
73965
|
} else {
|
|
74295
73966
|
setShowProductInfoModalContext(true);
|
|
@@ -74314,8 +73985,8 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
|
|
|
74314
73985
|
}))))))));
|
|
74315
73986
|
};
|
|
74316
73987
|
|
|
74317
|
-
function ownKeys$
|
|
74318
|
-
function _objectSpread$
|
|
73988
|
+
function ownKeys$F(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
73989
|
+
function _objectSpread$F(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$F(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$F(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
74319
73990
|
var CategoryCardTextOnImage = function CategoryCardTextOnImage(props) {
|
|
74320
73991
|
var _useState = useState(''),
|
|
74321
73992
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -74342,7 +74013,7 @@ var CategoryCardTextOnImage = function CategoryCardTextOnImage(props) {
|
|
|
74342
74013
|
});
|
|
74343
74014
|
}
|
|
74344
74015
|
});
|
|
74345
|
-
setsectionproperties(_objectSpread$
|
|
74016
|
+
setsectionproperties(_objectSpread$F({}, secpropobj));
|
|
74346
74017
|
}, [StatePagePropertiesContext]);
|
|
74347
74018
|
var _useState5 = useState(props.cardinfoindexprops),
|
|
74348
74019
|
_useState6 = _slicedToArray(_useState5, 2);
|
|
@@ -74354,7 +74025,7 @@ var CategoryCardTextOnImage = function CategoryCardTextOnImage(props) {
|
|
|
74354
74025
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
74355
74026
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
74356
74027
|
});
|
|
74357
|
-
setsectionproperties(_objectSpread$
|
|
74028
|
+
setsectionproperties(_objectSpread$F({}, secpropobj));
|
|
74358
74029
|
} else {
|
|
74359
74030
|
var secpropobj = {};
|
|
74360
74031
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -74364,7 +74035,7 @@ var CategoryCardTextOnImage = function CategoryCardTextOnImage(props) {
|
|
|
74364
74035
|
});
|
|
74365
74036
|
}
|
|
74366
74037
|
});
|
|
74367
|
-
setsectionproperties(_objectSpread$
|
|
74038
|
+
setsectionproperties(_objectSpread$F({}, secpropobj));
|
|
74368
74039
|
}
|
|
74369
74040
|
}, [StatePagePropertiesContext]);
|
|
74370
74041
|
|
|
@@ -74515,8 +74186,8 @@ var CategoryCardTextOnImage = function CategoryCardTextOnImage(props) {
|
|
|
74515
74186
|
}, CardContent()));
|
|
74516
74187
|
};
|
|
74517
74188
|
|
|
74518
|
-
function ownKeys$
|
|
74519
|
-
function _objectSpread$
|
|
74189
|
+
function ownKeys$E(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
74190
|
+
function _objectSpread$E(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$E(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$E(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
74520
74191
|
var HorizontalCategoryCard = function HorizontalCategoryCard(props) {
|
|
74521
74192
|
var _useState = useState(''),
|
|
74522
74193
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -74541,7 +74212,7 @@ var HorizontalCategoryCard = function HorizontalCategoryCard(props) {
|
|
|
74541
74212
|
});
|
|
74542
74213
|
}
|
|
74543
74214
|
});
|
|
74544
|
-
setsectionproperties(_objectSpread$
|
|
74215
|
+
setsectionproperties(_objectSpread$E({}, secpropobj));
|
|
74545
74216
|
}, [StatePagePropertiesContext]);
|
|
74546
74217
|
useEffect(function () {
|
|
74547
74218
|
setitem(props.cardinfoitemprops);
|
|
@@ -74685,8 +74356,8 @@ var HorizontalCategoryCard = function HorizontalCategoryCard(props) {
|
|
|
74685
74356
|
}, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar)))))));
|
|
74686
74357
|
};
|
|
74687
74358
|
|
|
74688
|
-
function ownKeys$
|
|
74689
|
-
function _objectSpread$
|
|
74359
|
+
function ownKeys$D(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
74360
|
+
function _objectSpread$D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$D(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
74690
74361
|
var NewProductcard = function NewProductcard(props) {
|
|
74691
74362
|
var _useState = useState(''),
|
|
74692
74363
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -74713,7 +74384,7 @@ var NewProductcard = function NewProductcard(props) {
|
|
|
74713
74384
|
});
|
|
74714
74385
|
}
|
|
74715
74386
|
});
|
|
74716
|
-
setsectionproperties(_objectSpread$
|
|
74387
|
+
setsectionproperties(_objectSpread$D({}, secpropobj));
|
|
74717
74388
|
}, [StatePagePropertiesContext]);
|
|
74718
74389
|
useEffect(function () {
|
|
74719
74390
|
setitem(props.cardinfoitemprops);
|
|
@@ -75134,8 +74805,8 @@ var css_248z$d = ".UserCardWithSocialMediaOnHover-module_buttons_container1__Ic7
|
|
|
75134
74805
|
var cardstyles$7 = {"buttons_container1":"UserCardWithSocialMediaOnHover-module_buttons_container1__Ic7UT","productcard":"UserCardWithSocialMediaOnHover-module_productcard__Yf1rE","image_container":"UserCardWithSocialMediaOnHover-module_image_container__OZfNU"};
|
|
75135
74806
|
styleInject(css_248z$d);
|
|
75136
74807
|
|
|
75137
|
-
function ownKeys$
|
|
75138
|
-
function _objectSpread$
|
|
74808
|
+
function ownKeys$C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
74809
|
+
function _objectSpread$C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
75139
74810
|
var UserCardWithSocialMediaOnHover = function UserCardWithSocialMediaOnHover(props) {
|
|
75140
74811
|
var _useState = useState(''),
|
|
75141
74812
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -75160,7 +74831,7 @@ var UserCardWithSocialMediaOnHover = function UserCardWithSocialMediaOnHover(pro
|
|
|
75160
74831
|
});
|
|
75161
74832
|
}
|
|
75162
74833
|
});
|
|
75163
|
-
setsectionproperties(_objectSpread$
|
|
74834
|
+
setsectionproperties(_objectSpread$C({}, secpropobj));
|
|
75164
74835
|
}, [StatePagePropertiesContext]);
|
|
75165
74836
|
useEffect(function () {
|
|
75166
74837
|
setitem(props.cardinfoitemprops);
|
|
@@ -75305,8 +74976,8 @@ var UserCardWithSocialMediaOnHover = function UserCardWithSocialMediaOnHover(pro
|
|
|
75305
74976
|
}, item.name)))));
|
|
75306
74977
|
};
|
|
75307
74978
|
|
|
75308
|
-
function ownKeys$
|
|
75309
|
-
function _objectSpread$
|
|
74979
|
+
function ownKeys$B(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
74980
|
+
function _objectSpread$B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$B(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
75310
74981
|
var Card20 = function Card20(props) {
|
|
75311
74982
|
var _useState = useState(''),
|
|
75312
74983
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -75339,7 +75010,7 @@ var Card20 = function Card20(props) {
|
|
|
75339
75010
|
});
|
|
75340
75011
|
}
|
|
75341
75012
|
});
|
|
75342
|
-
setsectionproperties(_objectSpread$
|
|
75013
|
+
setsectionproperties(_objectSpread$B({}, secpropobj));
|
|
75343
75014
|
}, [StatePagePropertiesContext]);
|
|
75344
75015
|
useEffect(function () {
|
|
75345
75016
|
setitem(props.cardinfoitemprops);
|
|
@@ -75561,8 +75232,8 @@ var Card20 = function Card20(props) {
|
|
|
75561
75232
|
}, langdetect == 'en' ? item.currencyname : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect == 'en' ? '' : item.currencyname)))));
|
|
75562
75233
|
};
|
|
75563
75234
|
|
|
75564
|
-
function ownKeys$
|
|
75565
|
-
function _objectSpread$
|
|
75235
|
+
function ownKeys$A(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
75236
|
+
function _objectSpread$A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$A(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
75566
75237
|
var Card21 = function Card21(props) {
|
|
75567
75238
|
var _useState = useState(''),
|
|
75568
75239
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -75592,7 +75263,7 @@ var Card21 = function Card21(props) {
|
|
|
75592
75263
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
75593
75264
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
75594
75265
|
});
|
|
75595
|
-
setsectionproperties(_objectSpread$
|
|
75266
|
+
setsectionproperties(_objectSpread$A({}, secpropobj));
|
|
75596
75267
|
} else {
|
|
75597
75268
|
var secpropobj = {};
|
|
75598
75269
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -75602,7 +75273,7 @@ var Card21 = function Card21(props) {
|
|
|
75602
75273
|
});
|
|
75603
75274
|
}
|
|
75604
75275
|
});
|
|
75605
|
-
setsectionproperties(_objectSpread$
|
|
75276
|
+
setsectionproperties(_objectSpread$A({}, secpropobj));
|
|
75606
75277
|
}
|
|
75607
75278
|
}, [StatePagePropertiesContext]);
|
|
75608
75279
|
useEffect(function () {
|
|
@@ -75893,8 +75564,8 @@ var Card21 = function Card21(props) {
|
|
|
75893
75564
|
}, "18 Days"))));
|
|
75894
75565
|
};
|
|
75895
75566
|
|
|
75896
|
-
function ownKeys$
|
|
75897
|
-
function _objectSpread$
|
|
75567
|
+
function ownKeys$z(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
75568
|
+
function _objectSpread$z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
75898
75569
|
var Card22 = function Card22(props) {
|
|
75899
75570
|
var _useState = useState(''),
|
|
75900
75571
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -75924,7 +75595,7 @@ var Card22 = function Card22(props) {
|
|
|
75924
75595
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
75925
75596
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
75926
75597
|
});
|
|
75927
|
-
setsectionproperties(_objectSpread$
|
|
75598
|
+
setsectionproperties(_objectSpread$z({}, secpropobj));
|
|
75928
75599
|
} else {
|
|
75929
75600
|
var secpropobj = {};
|
|
75930
75601
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -75934,7 +75605,7 @@ var Card22 = function Card22(props) {
|
|
|
75934
75605
|
});
|
|
75935
75606
|
}
|
|
75936
75607
|
});
|
|
75937
|
-
setsectionproperties(_objectSpread$
|
|
75608
|
+
setsectionproperties(_objectSpread$z({}, secpropobj));
|
|
75938
75609
|
}
|
|
75939
75610
|
}, [StatePagePropertiesContext]);
|
|
75940
75611
|
useEffect(function () {
|
|
@@ -76125,8 +75796,8 @@ var Card22 = function Card22(props) {
|
|
|
76125
75796
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))));
|
|
76126
75797
|
};
|
|
76127
75798
|
|
|
76128
|
-
function ownKeys$
|
|
76129
|
-
function _objectSpread$
|
|
75799
|
+
function ownKeys$y(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
75800
|
+
function _objectSpread$y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$y(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
76130
75801
|
var Card23 = function Card23(props) {
|
|
76131
75802
|
var _useState = useState(''),
|
|
76132
75803
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -76163,7 +75834,7 @@ var Card23 = function Card23(props) {
|
|
|
76163
75834
|
});
|
|
76164
75835
|
}
|
|
76165
75836
|
});
|
|
76166
|
-
setsectionproperties(_objectSpread$
|
|
75837
|
+
setsectionproperties(_objectSpread$y({}, secpropobj));
|
|
76167
75838
|
}, [StatePagePropertiesContext]);
|
|
76168
75839
|
useEffect(function () {
|
|
76169
75840
|
var _props$cardinfoitempr;
|
|
@@ -76479,7 +76150,7 @@ var Card23 = function Card23(props) {
|
|
|
76479
76150
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
76480
76151
|
var addtocartfunc = function addtocartfunc(forcetocheckout) {
|
|
76481
76152
|
var forcetocheckoutvalue = forcetocheckout;
|
|
76482
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
76153
|
+
var tempaddtocardpayloadobj = _objectSpread$y({}, addtocardpayloadobj);
|
|
76483
76154
|
tempaddtocardpayloadobj.productid = item.productid;
|
|
76484
76155
|
tempaddtocardpayloadobj.functype = 'add';
|
|
76485
76156
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
@@ -76764,8 +76435,8 @@ var Card23 = function Card23(props) {
|
|
|
76764
76435
|
}, langdetect == 'en' ? 'Buy Now' : 'اشترى الان'))))))));
|
|
76765
76436
|
};
|
|
76766
76437
|
|
|
76767
|
-
function ownKeys$
|
|
76768
|
-
function _objectSpread$
|
|
76438
|
+
function ownKeys$x(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
76439
|
+
function _objectSpread$x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$x(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
76769
76440
|
var CardBadgeSlideFromTop = function CardBadgeSlideFromTop(props) {
|
|
76770
76441
|
var _useState = useState(''),
|
|
76771
76442
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -76795,7 +76466,7 @@ var CardBadgeSlideFromTop = function CardBadgeSlideFromTop(props) {
|
|
|
76795
76466
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
76796
76467
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
76797
76468
|
});
|
|
76798
|
-
setsectionproperties(_objectSpread$
|
|
76469
|
+
setsectionproperties(_objectSpread$x({}, secpropobj));
|
|
76799
76470
|
} else {
|
|
76800
76471
|
var secpropobj = {};
|
|
76801
76472
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -76805,7 +76476,7 @@ var CardBadgeSlideFromTop = function CardBadgeSlideFromTop(props) {
|
|
|
76805
76476
|
});
|
|
76806
76477
|
}
|
|
76807
76478
|
});
|
|
76808
|
-
setsectionproperties(_objectSpread$
|
|
76479
|
+
setsectionproperties(_objectSpread$x({}, secpropobj));
|
|
76809
76480
|
}
|
|
76810
76481
|
}, [StatePagePropertiesContext]);
|
|
76811
76482
|
useEffect(function () {
|
|
@@ -77109,8 +76780,8 @@ var css_248z$c = ".Productccard_with_zoominonhover-module_productcard__8ASdR {\n
|
|
|
77109
76780
|
var cardsstyles$4 = {"productcard":"Productccard_with_zoominonhover-module_productcard__8ASdR","card_thumbnail":"Productccard_with_zoominonhover-module_card_thumbnail__xCWyB","wishlistbtn":"Productccard_with_zoominonhover-module_wishlistbtn__-9K6V","card_inner":"Productccard_with_zoominonhover-module_card_inner__-pVNl","product_details":"Productccard_with_zoominonhover-module_product_details__3SLId","card_informationcontainer":"Productccard_with_zoominonhover-module_card_informationcontainer__suyHK","price":"Productccard_with_zoominonhover-module_price__12djA","intialimage":"Productccard_with_zoominonhover-module_intialimage__8hcdc","secondaryimage":"Productccard_with_zoominonhover-module_secondaryimage__EHpKK","img_container":"Productccard_with_zoominonhover-module_img_container__lSsmX"};
|
|
77110
76781
|
styleInject(css_248z$c);
|
|
77111
76782
|
|
|
77112
|
-
function ownKeys$
|
|
77113
|
-
function _objectSpread$
|
|
76783
|
+
function ownKeys$w(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
76784
|
+
function _objectSpread$w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$w(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
77114
76785
|
var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(props) {
|
|
77115
76786
|
var _useState = useState(''),
|
|
77116
76787
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -77139,7 +76810,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
77139
76810
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
77140
76811
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
77141
76812
|
});
|
|
77142
|
-
setsectionproperties(_objectSpread$
|
|
76813
|
+
setsectionproperties(_objectSpread$w({}, secpropobj));
|
|
77143
76814
|
} else {
|
|
77144
76815
|
var secpropobj = {};
|
|
77145
76816
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -77149,14 +76820,14 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
77149
76820
|
});
|
|
77150
76821
|
}
|
|
77151
76822
|
});
|
|
77152
|
-
setsectionproperties(_objectSpread$
|
|
76823
|
+
setsectionproperties(_objectSpread$w({}, secpropobj));
|
|
77153
76824
|
}
|
|
77154
76825
|
}, [StatePagePropertiesContext]);
|
|
77155
76826
|
useEffect(function () {
|
|
77156
76827
|
setitem(props.cardinfoitemprops);
|
|
77157
76828
|
}, [props.cardinfoitemprops]);
|
|
77158
76829
|
var updatequantity = function updatequantity(type) {
|
|
77159
|
-
var tempitem = _objectSpread$
|
|
76830
|
+
var tempitem = _objectSpread$w({}, item);
|
|
77160
76831
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
77161
76832
|
if (type == 'add') {
|
|
77162
76833
|
tempitem.quantity = tempitem.quantity + 1;
|
|
@@ -77166,7 +76837,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
77166
76837
|
if (tempitem.quantity <= 0) {
|
|
77167
76838
|
tempitem.quantity = 0;
|
|
77168
76839
|
}
|
|
77169
|
-
setitem(_objectSpread$
|
|
76840
|
+
setitem(_objectSpread$w({}, tempitem));
|
|
77170
76841
|
};
|
|
77171
76842
|
var addtocartfunc = function addtocartfunc() {
|
|
77172
76843
|
var addtocardpayloadobj = {
|
|
@@ -77748,8 +77419,8 @@ var css_248z$b = ".categorycard3-module_categoryCard__3mSQo {\n position: rel
|
|
|
77748
77419
|
var cardstyles$6 = {"categoryCard":"categorycard3-module_categoryCard__3mSQo"};
|
|
77749
77420
|
styleInject(css_248z$b);
|
|
77750
77421
|
|
|
77751
|
-
function ownKeys$
|
|
77752
|
-
function _objectSpread$
|
|
77422
|
+
function ownKeys$v(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
77423
|
+
function _objectSpread$v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$v(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
77753
77424
|
var Categorycard_with_twolinestransition = function Categorycard_with_twolinestransition(props) {
|
|
77754
77425
|
var _css;
|
|
77755
77426
|
var _useState = useState(''),
|
|
@@ -77776,7 +77447,7 @@ var Categorycard_with_twolinestransition = function Categorycard_with_twolinestr
|
|
|
77776
77447
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
77777
77448
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
77778
77449
|
});
|
|
77779
|
-
setsectionproperties(_objectSpread$
|
|
77450
|
+
setsectionproperties(_objectSpread$v({}, secpropobj));
|
|
77780
77451
|
} else {
|
|
77781
77452
|
var secpropobj = {};
|
|
77782
77453
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -77786,7 +77457,7 @@ var Categorycard_with_twolinestransition = function Categorycard_with_twolinestr
|
|
|
77786
77457
|
});
|
|
77787
77458
|
}
|
|
77788
77459
|
});
|
|
77789
|
-
setsectionproperties(_objectSpread$
|
|
77460
|
+
setsectionproperties(_objectSpread$v({}, secpropobj));
|
|
77790
77461
|
}
|
|
77791
77462
|
}, [StatePagePropertiesContext]);
|
|
77792
77463
|
useEffect(function () {
|
|
@@ -77930,8 +77601,8 @@ var css_248z$a = ".Categorcycard_fullimage-module_categorycardtext__WLY3- {\n
|
|
|
77930
77601
|
var cardstyles$5 = {"categorycardtext":"Categorcycard_fullimage-module_categorycardtext__WLY3-","x":"Categorcycard_fullimage-module_x__EZ-yx"};
|
|
77931
77602
|
styleInject(css_248z$a);
|
|
77932
77603
|
|
|
77933
|
-
function ownKeys$
|
|
77934
|
-
function _objectSpread$
|
|
77604
|
+
function ownKeys$u(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
77605
|
+
function _objectSpread$u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$u(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
77935
77606
|
var Categorycard_fullimage = function Categorycard_fullimage(props) {
|
|
77936
77607
|
var _useState = useState(''),
|
|
77937
77608
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -77961,7 +77632,7 @@ var Categorycard_fullimage = function Categorycard_fullimage(props) {
|
|
|
77961
77632
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
77962
77633
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
77963
77634
|
});
|
|
77964
|
-
setsectionproperties(_objectSpread$
|
|
77635
|
+
setsectionproperties(_objectSpread$u({}, secpropobj));
|
|
77965
77636
|
} else {
|
|
77966
77637
|
var secpropobj = {};
|
|
77967
77638
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -77971,7 +77642,7 @@ var Categorycard_fullimage = function Categorycard_fullimage(props) {
|
|
|
77971
77642
|
});
|
|
77972
77643
|
}
|
|
77973
77644
|
});
|
|
77974
|
-
setsectionproperties(_objectSpread$
|
|
77645
|
+
setsectionproperties(_objectSpread$u({}, secpropobj));
|
|
77975
77646
|
}
|
|
77976
77647
|
}, [StatePagePropertiesContext]);
|
|
77977
77648
|
useEffect(function () {
|
|
@@ -78136,8 +77807,8 @@ var css_248z$9 = ".Categorycard_slidebgscaled-module_categoryCard__-tIaD {\n
|
|
|
78136
77807
|
var cardstyles$4 = {"categoryCard":"Categorycard_slidebgscaled-module_categoryCard__-tIaD","hover":"Categorycard_slidebgscaled-module_hover__Voj0y","cardbtn":"Categorycard_slidebgscaled-module_cardbtn__JlkMB"};
|
|
78137
77808
|
styleInject(css_248z$9);
|
|
78138
77809
|
|
|
78139
|
-
function ownKeys$
|
|
78140
|
-
function _objectSpread$
|
|
77810
|
+
function ownKeys$t(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
77811
|
+
function _objectSpread$t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$t(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
78141
77812
|
var Categorycard_slidebgscaled = function Categorycard_slidebgscaled(props) {
|
|
78142
77813
|
var _useState = useState(''),
|
|
78143
77814
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -78163,7 +77834,7 @@ var Categorycard_slidebgscaled = function Categorycard_slidebgscaled(props) {
|
|
|
78163
77834
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
78164
77835
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
78165
77836
|
});
|
|
78166
|
-
setsectionproperties(_objectSpread$
|
|
77837
|
+
setsectionproperties(_objectSpread$t({}, secpropobj));
|
|
78167
77838
|
} else {
|
|
78168
77839
|
var secpropobj = {};
|
|
78169
77840
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -78173,7 +77844,7 @@ var Categorycard_slidebgscaled = function Categorycard_slidebgscaled(props) {
|
|
|
78173
77844
|
});
|
|
78174
77845
|
}
|
|
78175
77846
|
});
|
|
78176
|
-
setsectionproperties(_objectSpread$
|
|
77847
|
+
setsectionproperties(_objectSpread$t({}, secpropobj));
|
|
78177
77848
|
}
|
|
78178
77849
|
}, [StatePagePropertiesContext]);
|
|
78179
77850
|
useEffect(function () {
|
|
@@ -78323,8 +77994,8 @@ var Categorycard_slidebgscaled = function Categorycard_slidebgscaled(props) {
|
|
|
78323
77994
|
}, sectionproperties.generalbtn_content)))))));
|
|
78324
77995
|
};
|
|
78325
77996
|
|
|
78326
|
-
function ownKeys$
|
|
78327
|
-
function _objectSpread$
|
|
77997
|
+
function ownKeys$s(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
77998
|
+
function _objectSpread$s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$s(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
78328
77999
|
var Categorycard_with_trianglebg = function Categorycard_with_trianglebg(props) {
|
|
78329
78000
|
var _useState = useState(''),
|
|
78330
78001
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -78350,7 +78021,7 @@ var Categorycard_with_trianglebg = function Categorycard_with_trianglebg(props)
|
|
|
78350
78021
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
78351
78022
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
78352
78023
|
});
|
|
78353
|
-
setsectionproperties(_objectSpread$
|
|
78024
|
+
setsectionproperties(_objectSpread$s({}, secpropobj));
|
|
78354
78025
|
} else {
|
|
78355
78026
|
var secpropobj = {};
|
|
78356
78027
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -78360,7 +78031,7 @@ var Categorycard_with_trianglebg = function Categorycard_with_trianglebg(props)
|
|
|
78360
78031
|
});
|
|
78361
78032
|
}
|
|
78362
78033
|
});
|
|
78363
|
-
setsectionproperties(_objectSpread$
|
|
78034
|
+
setsectionproperties(_objectSpread$s({}, secpropobj));
|
|
78364
78035
|
}
|
|
78365
78036
|
}, [StatePagePropertiesContext]);
|
|
78366
78037
|
useEffect(function () {
|
|
@@ -78491,8 +78162,8 @@ var css_248z$8 = "*,\n*:before,\n*:after {\n margin: 0;\n padding: 0;\n
|
|
|
78491
78162
|
var cardstyles$3 = {"card__collection":"Categorycard_withshapes-module_card__collection__t31ng","cards":"Categorycard_withshapes-module_cards__8qyGo","cards_three":"Categorycard_withshapes-module_cards_three__z9TYx","cards_three__rect1":"Categorycard_withshapes-module_cards_three__rect1__jEF-E","shadow1":"Categorycard_withshapes-module_shadow1__l3waE","cards_three__rect2":"Categorycard_withshapes-module_cards_three__rect2__utoxo","shadow2":"Categorycard_withshapes-module_shadow2__KvWAN","cards_three__circle":"Categorycard_withshapes-module_cards_three__circle__6CirK","cards_three__list":"Categorycard_withshapes-module_cards_three__list__mjWmc","btncont":"Categorycard_withshapes-module_btncont__w2Uy-"};
|
|
78492
78163
|
styleInject(css_248z$8);
|
|
78493
78164
|
|
|
78494
|
-
function ownKeys$
|
|
78495
|
-
function _objectSpread$
|
|
78165
|
+
function ownKeys$r(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
78166
|
+
function _objectSpread$r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$r(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
78496
78167
|
var Categorycard_withshapes = function Categorycard_withshapes(props) {
|
|
78497
78168
|
var _useState = useState(''),
|
|
78498
78169
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -78512,6 +78183,157 @@ var Categorycard_withshapes = function Categorycard_withshapes(props) {
|
|
|
78512
78183
|
props.setProductIdProdutInfoModalContext;
|
|
78513
78184
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
78514
78185
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
78186
|
+
var _useState5 = useState(props.cardinfoindexprops),
|
|
78187
|
+
_useState6 = _slicedToArray(_useState5, 2);
|
|
78188
|
+
_useState6[0];
|
|
78189
|
+
_useState6[1];
|
|
78190
|
+
useEffect(function () {
|
|
78191
|
+
if (props.srcfrom == 'addsectionform') {
|
|
78192
|
+
var secpropobj = {};
|
|
78193
|
+
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
78194
|
+
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
78195
|
+
});
|
|
78196
|
+
setsectionproperties(_objectSpread$r({}, secpropobj));
|
|
78197
|
+
} else {
|
|
78198
|
+
var secpropobj = {};
|
|
78199
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
78200
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
78201
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
78202
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
78203
|
+
});
|
|
78204
|
+
}
|
|
78205
|
+
});
|
|
78206
|
+
setsectionproperties(_objectSpread$r({}, secpropobj));
|
|
78207
|
+
}
|
|
78208
|
+
}, [StatePagePropertiesContext]);
|
|
78209
|
+
useEffect(function () {
|
|
78210
|
+
setitem(props.cardinfoitemprops);
|
|
78211
|
+
}, [props.cardinfoitemprops]);
|
|
78212
|
+
var card_cssstyles = {
|
|
78213
|
+
categoryCard: css(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
78214
|
+
background: sectionproperties.backgroundColortransparent == 'Transparent' ? sectionproperties.backgroundColor : '',
|
|
78215
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
78216
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
78217
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
78218
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
78219
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
78220
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
78221
|
+
marginLeft: sectionproperties.card_marginLeft + 'px',
|
|
78222
|
+
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
78223
|
+
paddingRight: sectionproperties.paddingRight + 'px',
|
|
78224
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
78225
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
78226
|
+
height: sectionproperties.height + 'px',
|
|
78227
|
+
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : '',
|
|
78228
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
78229
|
+
transition: '0.3s',
|
|
78230
|
+
cursor: 'pointer',
|
|
78231
|
+
opacity: sectionproperties.cardbg_opacity,
|
|
78232
|
+
overflow: 'hidden'
|
|
78233
|
+
}, "cursor", 'pointer'), "backgroundSize", 'cover'), "backgroundRepeat", 'no-repeat'), "backgroundPosition", 'center'), "transition", '0.3s'), ':after', {
|
|
78234
|
+
backgroundColor: sectionproperties.transitionbg_color
|
|
78235
|
+
})),
|
|
78236
|
+
categorycardtext: css({
|
|
78237
|
+
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
78238
|
+
color: sectionproperties.generaltext_fontColor,
|
|
78239
|
+
textTransform: sectionproperties.generaltext_textTransform,
|
|
78240
|
+
fontWeight: sectionproperties.generaltext_fontWeight
|
|
78241
|
+
}),
|
|
78242
|
+
shadow1: css({
|
|
78243
|
+
background: sectionproperties.firstcolor
|
|
78244
|
+
// primary
|
|
78245
|
+
}),
|
|
78246
|
+
shadow2: css({
|
|
78247
|
+
background: sectionproperties.secondcolor
|
|
78248
|
+
// primary
|
|
78249
|
+
}),
|
|
78250
|
+
cards_three__rect2: css({
|
|
78251
|
+
':before': {
|
|
78252
|
+
background: sectionproperties.secondcolor
|
|
78253
|
+
},
|
|
78254
|
+
':after': {
|
|
78255
|
+
background: sectionproperties.firstcolor
|
|
78256
|
+
}
|
|
78257
|
+
}),
|
|
78258
|
+
cards_three__circle: css({
|
|
78259
|
+
':before': {
|
|
78260
|
+
background: sectionproperties.firstcolor
|
|
78261
|
+
}
|
|
78262
|
+
})
|
|
78263
|
+
};
|
|
78264
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
78265
|
+
"class": "".concat(cardstyles$3.card__collection, " ").concat(card_cssstyles.categoryCard),
|
|
78266
|
+
onClick: function onClick() {
|
|
78267
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
78268
|
+
}
|
|
78269
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
78270
|
+
"class": "".concat(cardstyles$3.cards, " ").concat(cardstyles$3.cards_three),
|
|
78271
|
+
style: {
|
|
78272
|
+
// backgroundImage: `url(${serverbaselink + item.image})`,
|
|
78273
|
+
backgroundPosition: 'center center',
|
|
78274
|
+
backgroundRepeat: 'no-repeat',
|
|
78275
|
+
backgroundSize: 'cover'
|
|
78276
|
+
}
|
|
78277
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
78278
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
78279
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
78280
|
+
path: item.image,
|
|
78281
|
+
style: {
|
|
78282
|
+
width: '100%',
|
|
78283
|
+
height: '100%',
|
|
78284
|
+
objectFit: 'cover'
|
|
78285
|
+
},
|
|
78286
|
+
loading: "lazy"
|
|
78287
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
78288
|
+
"class": "".concat(cardstyles$3.cards_three__rect1)
|
|
78289
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
78290
|
+
"class": "".concat(cardstyles$3.shadow1, " ").concat(card_cssstyles.shadow1)
|
|
78291
|
+
}), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
78292
|
+
"class": ' row m-0 w-100 '
|
|
78293
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
78294
|
+
"class": "col-lg-12 p-0"
|
|
78295
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
78296
|
+
"class": "".concat(card_cssstyles.categorycardtext) + ' m-0 p-0 '
|
|
78297
|
+
}, item.name)))), /*#__PURE__*/React.createElement("span", {
|
|
78298
|
+
"class": "".concat(cardstyles$3.cards_three__rect2, " ").concat(card_cssstyles.cards_three__rect2)
|
|
78299
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
78300
|
+
"class": "".concat(cardstyles$3.shadow2, " ").concat(card_cssstyles.shadow2)
|
|
78301
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
78302
|
+
"class": "".concat(cardstyles$3.cards_three__circle, " ").concat(card_cssstyles.cards_three__circle)
|
|
78303
|
+
}), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
78304
|
+
"class": "".concat(cardstyles$3.cards_three__list),
|
|
78305
|
+
onClick: function onClick() {
|
|
78306
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
78307
|
+
}
|
|
78308
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
78309
|
+
"class": "".concat(cardstyles$3.btncont, " ") + ' row m-0 w-100'
|
|
78310
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
78311
|
+
style: {
|
|
78312
|
+
zIndex: 1000
|
|
78313
|
+
}
|
|
78314
|
+
}, "More Items")))));
|
|
78315
|
+
};
|
|
78316
|
+
|
|
78317
|
+
var css_248z$7 = ".categorycardwithtext-module_categorycard__itFPD {\n position: relative;\n display: block;\n overflow: hidden;\n cursor: pointer;\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n transition: 0.3s;\n}\n\n.categorycardwithtext-module_categorycard__itFPD:hover::after {\n background-color: rgba(0, 0, 0, 0.1);\n}\n.categorycardwithtext-module_categorycardtext__-PiLF {\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n display: flex;\n justify-content: center;\n width: 100%;\n align-items: center;\n}\n\n.categorycardwithtext-module_cardbtn__p-if9 {\n /* position: relative; */\n text-align: center;\n vertical-align: middle;\n display: inline-block;\n -webkit-transition: all 0.4s ease 0.1s;\n -o-transition: all 0.4s ease 0.1s;\n transition: all 0.4s ease 0.1s;\n}\n\n.categorycardwithtext-module_categorycard__itFPD:hover .categorycardwithtext-module_cardbtn__p-if9 {\n opacity: 1;\n top: 0;\n}\n";
|
|
78318
|
+
var cardstyles$2 = {"categorycard":"categorycardwithtext-module_categorycard__itFPD","categorycardtext":"categorycardwithtext-module_categorycardtext__-PiLF","cardbtn":"categorycardwithtext-module_cardbtn__p-if9"};
|
|
78319
|
+
styleInject(css_248z$7);
|
|
78320
|
+
|
|
78321
|
+
function ownKeys$q(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
78322
|
+
function _objectSpread$q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
78323
|
+
var Categorycard_withtext = function Categorycard_withtext(props) {
|
|
78324
|
+
var _useState = useState(''),
|
|
78325
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
78326
|
+
sectionproperties = _useState2[0],
|
|
78327
|
+
setsectionproperties = _useState2[1];
|
|
78328
|
+
var _useState3 = useState(props.cardinfoitemprops),
|
|
78329
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
78330
|
+
item = _useState4[0],
|
|
78331
|
+
setitem = _useState4[1];
|
|
78332
|
+
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
78333
|
+
props.actions.lang;
|
|
78334
|
+
var langdetect = props.actions.langdetect;
|
|
78335
|
+
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
78336
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
78515
78337
|
var _useState5 = useState(props.cardinfoindexprops),
|
|
78516
78338
|
_useState6 = _slicedToArray(_useState5, 2);
|
|
78517
78339
|
_useState6[0];
|
|
@@ -78538,157 +78360,6 @@ var Categorycard_withshapes = function Categorycard_withshapes(props) {
|
|
|
78538
78360
|
useEffect(function () {
|
|
78539
78361
|
setitem(props.cardinfoitemprops);
|
|
78540
78362
|
}, [props.cardinfoitemprops]);
|
|
78541
|
-
var card_cssstyles = {
|
|
78542
|
-
categoryCard: css(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
78543
|
-
background: sectionproperties.backgroundColortransparent == 'Transparent' ? sectionproperties.backgroundColor : '',
|
|
78544
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
78545
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
78546
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
78547
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
78548
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
78549
|
-
marginBottom: sectionproperties.marginBottom + 'px',
|
|
78550
|
-
marginLeft: sectionproperties.card_marginLeft + 'px',
|
|
78551
|
-
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
78552
|
-
paddingRight: sectionproperties.paddingRight + 'px',
|
|
78553
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
78554
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
78555
|
-
height: sectionproperties.height + 'px',
|
|
78556
|
-
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : '',
|
|
78557
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
78558
|
-
transition: '0.3s',
|
|
78559
|
-
cursor: 'pointer',
|
|
78560
|
-
opacity: sectionproperties.cardbg_opacity,
|
|
78561
|
-
overflow: 'hidden'
|
|
78562
|
-
}, "cursor", 'pointer'), "backgroundSize", 'cover'), "backgroundRepeat", 'no-repeat'), "backgroundPosition", 'center'), "transition", '0.3s'), ':after', {
|
|
78563
|
-
backgroundColor: sectionproperties.transitionbg_color
|
|
78564
|
-
})),
|
|
78565
|
-
categorycardtext: css({
|
|
78566
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
78567
|
-
color: sectionproperties.generaltext_fontColor,
|
|
78568
|
-
textTransform: sectionproperties.generaltext_textTransform,
|
|
78569
|
-
fontWeight: sectionproperties.generaltext_fontWeight
|
|
78570
|
-
}),
|
|
78571
|
-
shadow1: css({
|
|
78572
|
-
background: sectionproperties.firstcolor
|
|
78573
|
-
// primary
|
|
78574
|
-
}),
|
|
78575
|
-
shadow2: css({
|
|
78576
|
-
background: sectionproperties.secondcolor
|
|
78577
|
-
// primary
|
|
78578
|
-
}),
|
|
78579
|
-
cards_three__rect2: css({
|
|
78580
|
-
':before': {
|
|
78581
|
-
background: sectionproperties.secondcolor
|
|
78582
|
-
},
|
|
78583
|
-
':after': {
|
|
78584
|
-
background: sectionproperties.firstcolor
|
|
78585
|
-
}
|
|
78586
|
-
}),
|
|
78587
|
-
cards_three__circle: css({
|
|
78588
|
-
':before': {
|
|
78589
|
-
background: sectionproperties.firstcolor
|
|
78590
|
-
}
|
|
78591
|
-
})
|
|
78592
|
-
};
|
|
78593
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
78594
|
-
"class": "".concat(cardstyles$3.card__collection, " ").concat(card_cssstyles.categoryCard),
|
|
78595
|
-
onClick: function onClick() {
|
|
78596
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
78597
|
-
}
|
|
78598
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
78599
|
-
"class": "".concat(cardstyles$3.cards, " ").concat(cardstyles$3.cards_three),
|
|
78600
|
-
style: {
|
|
78601
|
-
// backgroundImage: `url(${serverbaselink + item.image})`,
|
|
78602
|
-
backgroundPosition: 'center center',
|
|
78603
|
-
backgroundRepeat: 'no-repeat',
|
|
78604
|
-
backgroundSize: 'cover'
|
|
78605
|
-
}
|
|
78606
|
-
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
78607
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
78608
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
78609
|
-
path: item.image,
|
|
78610
|
-
style: {
|
|
78611
|
-
width: '100%',
|
|
78612
|
-
height: '100%',
|
|
78613
|
-
objectFit: 'cover'
|
|
78614
|
-
},
|
|
78615
|
-
loading: "lazy"
|
|
78616
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
78617
|
-
"class": "".concat(cardstyles$3.cards_three__rect1)
|
|
78618
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
78619
|
-
"class": "".concat(cardstyles$3.shadow1, " ").concat(card_cssstyles.shadow1)
|
|
78620
|
-
}), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
78621
|
-
"class": ' row m-0 w-100 '
|
|
78622
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
78623
|
-
"class": "col-lg-12 p-0"
|
|
78624
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
78625
|
-
"class": "".concat(card_cssstyles.categorycardtext) + ' m-0 p-0 '
|
|
78626
|
-
}, item.name)))), /*#__PURE__*/React.createElement("span", {
|
|
78627
|
-
"class": "".concat(cardstyles$3.cards_three__rect2, " ").concat(card_cssstyles.cards_three__rect2)
|
|
78628
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
78629
|
-
"class": "".concat(cardstyles$3.shadow2, " ").concat(card_cssstyles.shadow2)
|
|
78630
|
-
})), /*#__PURE__*/React.createElement("span", {
|
|
78631
|
-
"class": "".concat(cardstyles$3.cards_three__circle, " ").concat(card_cssstyles.cards_three__circle)
|
|
78632
|
-
}), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
78633
|
-
"class": "".concat(cardstyles$3.cards_three__list),
|
|
78634
|
-
onClick: function onClick() {
|
|
78635
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
78636
|
-
}
|
|
78637
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
78638
|
-
"class": "".concat(cardstyles$3.btncont, " ") + ' row m-0 w-100'
|
|
78639
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
78640
|
-
style: {
|
|
78641
|
-
zIndex: 1000
|
|
78642
|
-
}
|
|
78643
|
-
}, "More Items")))));
|
|
78644
|
-
};
|
|
78645
|
-
|
|
78646
|
-
var css_248z$7 = ".categorycardwithtext-module_categorycard__itFPD {\n position: relative;\n display: block;\n overflow: hidden;\n cursor: pointer;\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n transition: 0.3s;\n}\n\n.categorycardwithtext-module_categorycard__itFPD:hover::after {\n background-color: rgba(0, 0, 0, 0.1);\n}\n.categorycardwithtext-module_categorycardtext__-PiLF {\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n display: flex;\n justify-content: center;\n width: 100%;\n align-items: center;\n}\n\n.categorycardwithtext-module_cardbtn__p-if9 {\n /* position: relative; */\n text-align: center;\n vertical-align: middle;\n display: inline-block;\n -webkit-transition: all 0.4s ease 0.1s;\n -o-transition: all 0.4s ease 0.1s;\n transition: all 0.4s ease 0.1s;\n}\n\n.categorycardwithtext-module_categorycard__itFPD:hover .categorycardwithtext-module_cardbtn__p-if9 {\n opacity: 1;\n top: 0;\n}\n";
|
|
78647
|
-
var cardstyles$2 = {"categorycard":"categorycardwithtext-module_categorycard__itFPD","categorycardtext":"categorycardwithtext-module_categorycardtext__-PiLF","cardbtn":"categorycardwithtext-module_cardbtn__p-if9"};
|
|
78648
|
-
styleInject(css_248z$7);
|
|
78649
|
-
|
|
78650
|
-
function ownKeys$p(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
78651
|
-
function _objectSpread$p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$p(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
78652
|
-
var Categorycard_withtext = function Categorycard_withtext(props) {
|
|
78653
|
-
var _useState = useState(''),
|
|
78654
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
78655
|
-
sectionproperties = _useState2[0],
|
|
78656
|
-
setsectionproperties = _useState2[1];
|
|
78657
|
-
var _useState3 = useState(props.cardinfoitemprops),
|
|
78658
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
78659
|
-
item = _useState4[0],
|
|
78660
|
-
setitem = _useState4[1];
|
|
78661
|
-
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
78662
|
-
props.actions.lang;
|
|
78663
|
-
var langdetect = props.actions.langdetect;
|
|
78664
|
-
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
78665
|
-
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
78666
|
-
var _useState5 = useState(props.cardinfoindexprops),
|
|
78667
|
-
_useState6 = _slicedToArray(_useState5, 2);
|
|
78668
|
-
_useState6[0];
|
|
78669
|
-
_useState6[1];
|
|
78670
|
-
useEffect(function () {
|
|
78671
|
-
if (props.srcfrom == 'addsectionform') {
|
|
78672
|
-
var secpropobj = {};
|
|
78673
|
-
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
78674
|
-
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
78675
|
-
});
|
|
78676
|
-
setsectionproperties(_objectSpread$p({}, secpropobj));
|
|
78677
|
-
} else {
|
|
78678
|
-
var secpropobj = {};
|
|
78679
|
-
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
78680
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
78681
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
78682
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
78683
|
-
});
|
|
78684
|
-
}
|
|
78685
|
-
});
|
|
78686
|
-
setsectionproperties(_objectSpread$p({}, secpropobj));
|
|
78687
|
-
}
|
|
78688
|
-
}, [StatePagePropertiesContext]);
|
|
78689
|
-
useEffect(function () {
|
|
78690
|
-
setitem(props.cardinfoitemprops);
|
|
78691
|
-
}, [props.cardinfoitemprops]);
|
|
78692
78363
|
var categorycard_cssstyles = {
|
|
78693
78364
|
categorycard: css({
|
|
78694
78365
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
@@ -78839,8 +78510,8 @@ var css_248z$6 = ".categorycard-module_img__3WuXu{\n width: 100%;\n height: 10
|
|
|
78839
78510
|
var cardstyles$1 = {"img":"categorycard-module_img__3WuXu","container":"categorycard-module_container__pJHqx","buttons_container":"categorycard-module_buttons_container__tZolu","text":"categorycard-module_text__lXtJq"};
|
|
78840
78511
|
styleInject(css_248z$6);
|
|
78841
78512
|
|
|
78842
|
-
function ownKeys$
|
|
78843
|
-
function _objectSpread$
|
|
78513
|
+
function ownKeys$p(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
78514
|
+
function _objectSpread$p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$p(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
78844
78515
|
var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
78845
78516
|
var _useState = useState(''),
|
|
78846
78517
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -78873,7 +78544,7 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
|
78873
78544
|
});
|
|
78874
78545
|
}
|
|
78875
78546
|
});
|
|
78876
|
-
setsectionproperties(_objectSpread$
|
|
78547
|
+
setsectionproperties(_objectSpread$p({}, secpropobj));
|
|
78877
78548
|
}, [StatePagePropertiesContext]);
|
|
78878
78549
|
useEffect(function () {
|
|
78879
78550
|
setitem(props.cardinfoitemprops);
|
|
@@ -79072,8 +78743,8 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
|
|
|
79072
78743
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))));
|
|
79073
78744
|
};
|
|
79074
78745
|
|
|
79075
|
-
function ownKeys$
|
|
79076
|
-
function _objectSpread$
|
|
78746
|
+
function ownKeys$o(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
78747
|
+
function _objectSpread$o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$o(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
79077
78748
|
var Classiccategorycard = function Classiccategorycard(props) {
|
|
79078
78749
|
var _useState = useState(''),
|
|
79079
78750
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -79099,7 +78770,7 @@ var Classiccategorycard = function Classiccategorycard(props) {
|
|
|
79099
78770
|
});
|
|
79100
78771
|
}
|
|
79101
78772
|
});
|
|
79102
|
-
setsectionproperties(_objectSpread$
|
|
78773
|
+
setsectionproperties(_objectSpread$o({}, secpropobj));
|
|
79103
78774
|
}, [StatePagePropertiesContext]);
|
|
79104
78775
|
useEffect(function () {
|
|
79105
78776
|
setitem(props.cardinfoitemprops);
|
|
@@ -79209,8 +78880,8 @@ var Classiccategorycard = function Classiccategorycard(props) {
|
|
|
79209
78880
|
}, item.name))));
|
|
79210
78881
|
};
|
|
79211
78882
|
|
|
79212
|
-
function ownKeys$
|
|
79213
|
-
function _objectSpread$
|
|
78883
|
+
function ownKeys$n(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
78884
|
+
function _objectSpread$n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$n(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
79214
78885
|
var Horizontalcard = function Horizontalcard(props) {
|
|
79215
78886
|
var _useState = useState(''),
|
|
79216
78887
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -79248,7 +78919,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
79248
78919
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
79249
78920
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
79250
78921
|
});
|
|
79251
|
-
setsectionproperties(_objectSpread$
|
|
78922
|
+
setsectionproperties(_objectSpread$n({}, secpropobj));
|
|
79252
78923
|
} else {
|
|
79253
78924
|
var secpropobj = {};
|
|
79254
78925
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -79258,7 +78929,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
79258
78929
|
});
|
|
79259
78930
|
}
|
|
79260
78931
|
});
|
|
79261
|
-
setsectionproperties(_objectSpread$
|
|
78932
|
+
setsectionproperties(_objectSpread$n({}, secpropobj));
|
|
79262
78933
|
}
|
|
79263
78934
|
}, [StatePagePropertiesContext]);
|
|
79264
78935
|
useEffect(function () {
|
|
@@ -79661,9 +79332,9 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
79661
79332
|
if (showquantity == false) {
|
|
79662
79333
|
setshowquantity(true);
|
|
79663
79334
|
if (item.hasvariants == 0) {
|
|
79664
|
-
var tempitem = _objectSpread$
|
|
79335
|
+
var tempitem = _objectSpread$n({}, item);
|
|
79665
79336
|
tempitem.quantity = 1;
|
|
79666
|
-
setitem(_objectSpread$
|
|
79337
|
+
setitem(_objectSpread$n({}, tempitem));
|
|
79667
79338
|
addtocartfunc('add', tempitem.quantity);
|
|
79668
79339
|
}
|
|
79669
79340
|
} else {
|
|
@@ -79683,13 +79354,13 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
79683
79354
|
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
79684
79355
|
onClick: function onClick() {
|
|
79685
79356
|
if (item.hasvariants == 0) {
|
|
79686
|
-
var tempitem = _objectSpread$
|
|
79357
|
+
var tempitem = _objectSpread$n({}, item);
|
|
79687
79358
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
79688
79359
|
tempitem.quantity = tempitem.quantity - 1;
|
|
79689
79360
|
if (tempitem.quantity <= 0) {
|
|
79690
79361
|
tempitem.quantity = 0;
|
|
79691
79362
|
}
|
|
79692
|
-
setitem(_objectSpread$
|
|
79363
|
+
setitem(_objectSpread$n({}, tempitem));
|
|
79693
79364
|
addtocartfunc('add', tempitem.quantity);
|
|
79694
79365
|
} else {
|
|
79695
79366
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
@@ -79704,13 +79375,13 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
79704
79375
|
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container),
|
|
79705
79376
|
onClick: function onClick() {
|
|
79706
79377
|
if (item.hasvariants == 0) {
|
|
79707
|
-
var tempitem = _objectSpread$
|
|
79378
|
+
var tempitem = _objectSpread$n({}, item);
|
|
79708
79379
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
79709
79380
|
tempitem.quantity = tempitem.quantity + 1;
|
|
79710
79381
|
if (tempitem.quantity <= 0) {
|
|
79711
79382
|
tempitem.quantity = 0;
|
|
79712
79383
|
}
|
|
79713
|
-
setitem(_objectSpread$
|
|
79384
|
+
setitem(_objectSpread$n({}, tempitem));
|
|
79714
79385
|
addtocartfunc('add', tempitem.quantity);
|
|
79715
79386
|
} else {
|
|
79716
79387
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
@@ -79722,8 +79393,8 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
79722
79393
|
}, /*#__PURE__*/React.createElement(FiPlus, null))))))))));
|
|
79723
79394
|
};
|
|
79724
79395
|
|
|
79725
|
-
function ownKeys$
|
|
79726
|
-
function _objectSpread$
|
|
79396
|
+
function ownKeys$m(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
79397
|
+
function _objectSpread$m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$m(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
79727
79398
|
var MenuCard = function MenuCard(props) {
|
|
79728
79399
|
var _css2;
|
|
79729
79400
|
var _useState = useState(''),
|
|
@@ -79753,7 +79424,7 @@ var MenuCard = function MenuCard(props) {
|
|
|
79753
79424
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
79754
79425
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
79755
79426
|
});
|
|
79756
|
-
setsectionproperties(_objectSpread$
|
|
79427
|
+
setsectionproperties(_objectSpread$m({}, secpropobj));
|
|
79757
79428
|
} else {
|
|
79758
79429
|
var secpropobj = {};
|
|
79759
79430
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -79763,7 +79434,7 @@ var MenuCard = function MenuCard(props) {
|
|
|
79763
79434
|
});
|
|
79764
79435
|
}
|
|
79765
79436
|
});
|
|
79766
|
-
setsectionproperties(_objectSpread$
|
|
79437
|
+
setsectionproperties(_objectSpread$m({}, secpropobj));
|
|
79767
79438
|
}
|
|
79768
79439
|
}, [StatePagePropertiesContext]);
|
|
79769
79440
|
useEffect(function () {
|
|
@@ -80132,13 +79803,13 @@ var MenuCard = function MenuCard(props) {
|
|
|
80132
79803
|
},
|
|
80133
79804
|
onClick: function onClick() {
|
|
80134
79805
|
if (item.hasvariants == 0) {
|
|
80135
|
-
var tempitem = _objectSpread$
|
|
79806
|
+
var tempitem = _objectSpread$m({}, item);
|
|
80136
79807
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
80137
79808
|
tempitem.quantity = tempitem.quantity - 1;
|
|
80138
79809
|
if (tempitem.quantity <= 0) {
|
|
80139
79810
|
tempitem.quantity = 0;
|
|
80140
79811
|
}
|
|
80141
|
-
setitem(_objectSpread$
|
|
79812
|
+
setitem(_objectSpread$m({}, tempitem));
|
|
80142
79813
|
addtocartfunc('add', tempitem.quantity);
|
|
80143
79814
|
} else {
|
|
80144
79815
|
setShowProductInfoModalContext(true);
|
|
@@ -80152,13 +79823,13 @@ var MenuCard = function MenuCard(props) {
|
|
|
80152
79823
|
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
80153
79824
|
onClick: function onClick() {
|
|
80154
79825
|
if (item.hasvariants == 0) {
|
|
80155
|
-
var tempitem = _objectSpread$
|
|
79826
|
+
var tempitem = _objectSpread$m({}, item);
|
|
80156
79827
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
80157
79828
|
tempitem.quantity = tempitem.quantity + 1;
|
|
80158
79829
|
if (tempitem.quantity <= 0) {
|
|
80159
79830
|
tempitem.quantity = 0;
|
|
80160
79831
|
}
|
|
80161
|
-
setitem(_objectSpread$
|
|
79832
|
+
setitem(_objectSpread$m({}, tempitem));
|
|
80162
79833
|
addtocartfunc('add', tempitem.quantity);
|
|
80163
79834
|
} else {
|
|
80164
79835
|
setShowProductInfoModalContext(true);
|
|
@@ -80183,13 +79854,13 @@ var MenuCard = function MenuCard(props) {
|
|
|
80183
79854
|
},
|
|
80184
79855
|
onClick: function onClick() {
|
|
80185
79856
|
if (item.hasvariants == 0) {
|
|
80186
|
-
var tempitem = _objectSpread$
|
|
79857
|
+
var tempitem = _objectSpread$m({}, item);
|
|
80187
79858
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
80188
79859
|
tempitem.quantity = tempitem.quantity - 1;
|
|
80189
79860
|
if (tempitem.quantity <= 0) {
|
|
80190
79861
|
tempitem.quantity = 0;
|
|
80191
79862
|
}
|
|
80192
|
-
setitem(_objectSpread$
|
|
79863
|
+
setitem(_objectSpread$m({}, tempitem));
|
|
80193
79864
|
addtocartfunc('add', tempitem.quantity);
|
|
80194
79865
|
} else {
|
|
80195
79866
|
setShowProductInfoModalContext(true);
|
|
@@ -80203,13 +79874,13 @@ var MenuCard = function MenuCard(props) {
|
|
|
80203
79874
|
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
80204
79875
|
onClick: function onClick() {
|
|
80205
79876
|
if (item.hasvariants == 0) {
|
|
80206
|
-
var tempitem = _objectSpread$
|
|
79877
|
+
var tempitem = _objectSpread$m({}, item);
|
|
80207
79878
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
80208
79879
|
tempitem.quantity = tempitem.quantity - 1;
|
|
80209
79880
|
if (tempitem.quantity <= 0) {
|
|
80210
79881
|
tempitem.quantity = 0;
|
|
80211
79882
|
}
|
|
80212
|
-
setitem(_objectSpread$
|
|
79883
|
+
setitem(_objectSpread$m({}, tempitem));
|
|
80213
79884
|
addtocartfunc('add', tempitem.quantity);
|
|
80214
79885
|
} else {
|
|
80215
79886
|
setShowProductInfoModalContext(true);
|
|
@@ -80278,8 +79949,8 @@ var MenuCard = function MenuCard(props) {
|
|
|
80278
79949
|
})))))))))));
|
|
80279
79950
|
};
|
|
80280
79951
|
|
|
80281
|
-
function ownKeys$
|
|
80282
|
-
function _objectSpread$
|
|
79952
|
+
function ownKeys$l(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
79953
|
+
function _objectSpread$l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$l(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
80283
79954
|
var ServiceCard = function ServiceCard(props) {
|
|
80284
79955
|
var _css, _authdetailsContext$i, _authdetailsContext$i2;
|
|
80285
79956
|
var _useState = useState(''),
|
|
@@ -80310,7 +79981,7 @@ var ServiceCard = function ServiceCard(props) {
|
|
|
80310
79981
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
80311
79982
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
80312
79983
|
});
|
|
80313
|
-
setsectionproperties(_objectSpread$
|
|
79984
|
+
setsectionproperties(_objectSpread$l({}, secpropobj));
|
|
80314
79985
|
} else {
|
|
80315
79986
|
var secpropobj = {};
|
|
80316
79987
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -80320,7 +79991,7 @@ var ServiceCard = function ServiceCard(props) {
|
|
|
80320
79991
|
});
|
|
80321
79992
|
}
|
|
80322
79993
|
});
|
|
80323
|
-
setsectionproperties(_objectSpread$
|
|
79994
|
+
setsectionproperties(_objectSpread$l({}, secpropobj));
|
|
80324
79995
|
}
|
|
80325
79996
|
}, [StatePagePropertiesContext]);
|
|
80326
79997
|
useEffect(function () {
|
|
@@ -80726,8 +80397,8 @@ var css_248z$5 = ".ModernCardWithQuantityButton-module_productcard__PaOc- {\n\tp
|
|
|
80726
80397
|
var cardsstyles$3 = {"productcard":"ModernCardWithQuantityButton-module_productcard__PaOc-","wishlistbtn":"ModernCardWithQuantityButton-module_wishlistbtn__mXt2e","card_inner":"ModernCardWithQuantityButton-module_card_inner__1ySNo","card_informationcontainer":"ModernCardWithQuantityButton-module_card_informationcontainer__P-vrl"};
|
|
80727
80398
|
styleInject(css_248z$5);
|
|
80728
80399
|
|
|
80729
|
-
function ownKeys$
|
|
80730
|
-
function _objectSpread$
|
|
80400
|
+
function ownKeys$k(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
80401
|
+
function _objectSpread$k(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$k(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$k(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
80731
80402
|
var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props) {
|
|
80732
80403
|
var _useState = useState(''),
|
|
80733
80404
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -80767,7 +80438,7 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
80767
80438
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
80768
80439
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
80769
80440
|
});
|
|
80770
|
-
setsectionproperties(_objectSpread$
|
|
80441
|
+
setsectionproperties(_objectSpread$k({}, secpropobj));
|
|
80771
80442
|
} else {
|
|
80772
80443
|
var secpropobj = {};
|
|
80773
80444
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -80777,7 +80448,7 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
80777
80448
|
});
|
|
80778
80449
|
}
|
|
80779
80450
|
});
|
|
80780
|
-
setsectionproperties(_objectSpread$
|
|
80451
|
+
setsectionproperties(_objectSpread$k({}, secpropobj));
|
|
80781
80452
|
}
|
|
80782
80453
|
}, [StatePagePropertiesContext]);
|
|
80783
80454
|
useEffect(function () {
|
|
@@ -81118,13 +80789,13 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
81118
80789
|
"class": "".concat(cardsstyles2.minus_quantitybtn_icon_container),
|
|
81119
80790
|
onClick: function onClick() {
|
|
81120
80791
|
if (item.hasvariants == 0) {
|
|
81121
|
-
var tempitem = _objectSpread$
|
|
80792
|
+
var tempitem = _objectSpread$k({}, item);
|
|
81122
80793
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
81123
80794
|
tempitem.quantity = tempitem.quantity - 1;
|
|
81124
80795
|
if (tempitem.quantity <= 0) {
|
|
81125
80796
|
tempitem.quantity = 0;
|
|
81126
80797
|
}
|
|
81127
|
-
setitem(_objectSpread$
|
|
80798
|
+
setitem(_objectSpread$k({}, tempitem));
|
|
81128
80799
|
addtocartfunc('add', tempitem.quantity);
|
|
81129
80800
|
} else {
|
|
81130
80801
|
setShowProductInfoModalContext(true);
|
|
@@ -81140,13 +80811,13 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
81140
80811
|
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container),
|
|
81141
80812
|
onClick: function onClick() {
|
|
81142
80813
|
if (item.hasvariants == 0) {
|
|
81143
|
-
var tempitem = _objectSpread$
|
|
80814
|
+
var tempitem = _objectSpread$k({}, item);
|
|
81144
80815
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
81145
80816
|
tempitem.quantity = tempitem.quantity + 1;
|
|
81146
80817
|
if (tempitem.quantity <= 0) {
|
|
81147
80818
|
tempitem.quantity = 0;
|
|
81148
80819
|
}
|
|
81149
|
-
setitem(_objectSpread$
|
|
80820
|
+
setitem(_objectSpread$k({}, tempitem));
|
|
81150
80821
|
addtocartfunc('add', tempitem.quantity);
|
|
81151
80822
|
} else {
|
|
81152
80823
|
setShowProductInfoModalContext(true);
|
|
@@ -81166,8 +80837,8 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
81166
80837
|
}, lang.addtocart)))));
|
|
81167
80838
|
};
|
|
81168
80839
|
|
|
81169
|
-
function ownKeys$
|
|
81170
|
-
function _objectSpread$
|
|
80840
|
+
function ownKeys$j(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
80841
|
+
function _objectSpread$j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$j(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
81171
80842
|
var ModernProductCard = function ModernProductCard(props) {
|
|
81172
80843
|
var _useState = useState(''),
|
|
81173
80844
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -81191,7 +80862,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
81191
80862
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
81192
80863
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
81193
80864
|
var updatequantity = function updatequantity(type) {
|
|
81194
|
-
var tempitem = _objectSpread$
|
|
80865
|
+
var tempitem = _objectSpread$j({}, item);
|
|
81195
80866
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
81196
80867
|
if (type == 'add') {
|
|
81197
80868
|
tempitem.quantity = tempitem.quantity + 1;
|
|
@@ -81201,7 +80872,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
81201
80872
|
if (tempitem.quantity <= 0) {
|
|
81202
80873
|
tempitem.quantity = 0;
|
|
81203
80874
|
}
|
|
81204
|
-
setitem(_objectSpread$
|
|
80875
|
+
setitem(_objectSpread$j({}, tempitem));
|
|
81205
80876
|
};
|
|
81206
80877
|
useEffect(function () {
|
|
81207
80878
|
if (props.srcfrom == 'addsectionform') {
|
|
@@ -81209,7 +80880,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
81209
80880
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
81210
80881
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
81211
80882
|
});
|
|
81212
|
-
setsectionproperties(_objectSpread$
|
|
80883
|
+
setsectionproperties(_objectSpread$j({}, secpropobj));
|
|
81213
80884
|
} else {
|
|
81214
80885
|
var secpropobj = {};
|
|
81215
80886
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -81219,7 +80890,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
81219
80890
|
});
|
|
81220
80891
|
}
|
|
81221
80892
|
});
|
|
81222
|
-
setsectionproperties(_objectSpread$
|
|
80893
|
+
setsectionproperties(_objectSpread$j({}, secpropobj));
|
|
81223
80894
|
}
|
|
81224
80895
|
}, [StatePagePropertiesContext]);
|
|
81225
80896
|
useEffect(function () {
|
|
@@ -81692,8 +81363,8 @@ var css_248z$4 = ".productcard_animatedbuttons-module_buttonContainerCenter__xAp
|
|
|
81692
81363
|
var cardstyles = {"buttonContainerCenter":"productcard_animatedbuttons-module_buttonContainerCenter__xApc7","productcard":"productcard_animatedbuttons-module_productcard__LQiP0","image_container":"productcard_animatedbuttons-module_image_container__6Rgm4","buttonContainerBottom":"productcard_animatedbuttons-module_buttonContainerBottom__ienAr","buttonContainerBottom_show":"productcard_animatedbuttons-module_buttonContainerBottom_show__C-v73","cardcont":"productcard_animatedbuttons-module_cardcont__bK-HM"};
|
|
81693
81364
|
styleInject(css_248z$4);
|
|
81694
81365
|
|
|
81695
|
-
function ownKeys$
|
|
81696
|
-
function _objectSpread$
|
|
81366
|
+
function ownKeys$i(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
81367
|
+
function _objectSpread$i(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$i(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$i(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
81697
81368
|
var Productcard_animatedbuttons = function Productcard_animatedbuttons(props) {
|
|
81698
81369
|
var _useState = useState(''),
|
|
81699
81370
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -81721,7 +81392,7 @@ var Productcard_animatedbuttons = function Productcard_animatedbuttons(props) {
|
|
|
81721
81392
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
81722
81393
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
81723
81394
|
});
|
|
81724
|
-
setsectionproperties(_objectSpread$
|
|
81395
|
+
setsectionproperties(_objectSpread$i({}, secpropobj));
|
|
81725
81396
|
} else {
|
|
81726
81397
|
var secpropobj = {};
|
|
81727
81398
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -81731,7 +81402,7 @@ var Productcard_animatedbuttons = function Productcard_animatedbuttons(props) {
|
|
|
81731
81402
|
});
|
|
81732
81403
|
}
|
|
81733
81404
|
});
|
|
81734
|
-
setsectionproperties(_objectSpread$
|
|
81405
|
+
setsectionproperties(_objectSpread$i({}, secpropobj));
|
|
81735
81406
|
}
|
|
81736
81407
|
}, [StatePagePropertiesContext]);
|
|
81737
81408
|
useEffect(function () {
|
|
@@ -81996,8 +81667,8 @@ var Productcard_animatedbuttons = function Productcard_animatedbuttons(props) {
|
|
|
81996
81667
|
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname))))));
|
|
81997
81668
|
};
|
|
81998
81669
|
|
|
81999
|
-
function ownKeys$
|
|
82000
|
-
function _objectSpread$
|
|
81670
|
+
function ownKeys$h(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
81671
|
+
function _objectSpread$h(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$h(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$h(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
82001
81672
|
var Productcard_with_circularbg = function Productcard_with_circularbg(props) {
|
|
82002
81673
|
var _useState = useState(''),
|
|
82003
81674
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -82029,7 +81700,7 @@ var Productcard_with_circularbg = function Productcard_with_circularbg(props) {
|
|
|
82029
81700
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
82030
81701
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
82031
81702
|
});
|
|
82032
|
-
setsectionproperties(_objectSpread$
|
|
81703
|
+
setsectionproperties(_objectSpread$h({}, secpropobj));
|
|
82033
81704
|
} else {
|
|
82034
81705
|
var secpropobj = {};
|
|
82035
81706
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -82039,7 +81710,7 @@ var Productcard_with_circularbg = function Productcard_with_circularbg(props) {
|
|
|
82039
81710
|
});
|
|
82040
81711
|
}
|
|
82041
81712
|
});
|
|
82042
|
-
setsectionproperties(_objectSpread$
|
|
81713
|
+
setsectionproperties(_objectSpread$h({}, secpropobj));
|
|
82043
81714
|
}
|
|
82044
81715
|
}, [StatePagePropertiesContext]);
|
|
82045
81716
|
useEffect(function () {
|
|
@@ -82254,8 +81925,8 @@ var Productcard_with_circularbg = function Productcard_with_circularbg(props) {
|
|
|
82254
81925
|
}, lang.addtocart)))));
|
|
82255
81926
|
};
|
|
82256
81927
|
|
|
82257
|
-
function ownKeys$
|
|
82258
|
-
function _objectSpread$
|
|
81928
|
+
function ownKeys$g(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
81929
|
+
function _objectSpread$g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$g(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
82259
81930
|
var Productcard_with_circularhover = function Productcard_with_circularhover(props) {
|
|
82260
81931
|
var _useState = useState(''),
|
|
82261
81932
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -82283,7 +81954,7 @@ var Productcard_with_circularhover = function Productcard_with_circularhover(pro
|
|
|
82283
81954
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
82284
81955
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
82285
81956
|
});
|
|
82286
|
-
setsectionproperties(_objectSpread$
|
|
81957
|
+
setsectionproperties(_objectSpread$g({}, secpropobj));
|
|
82287
81958
|
} else {
|
|
82288
81959
|
var secpropobj = {};
|
|
82289
81960
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -82293,7 +81964,7 @@ var Productcard_with_circularhover = function Productcard_with_circularhover(pro
|
|
|
82293
81964
|
});
|
|
82294
81965
|
}
|
|
82295
81966
|
});
|
|
82296
|
-
setsectionproperties(_objectSpread$
|
|
81967
|
+
setsectionproperties(_objectSpread$g({}, secpropobj));
|
|
82297
81968
|
}
|
|
82298
81969
|
}, [StatePagePropertiesContext]);
|
|
82299
81970
|
useEffect(function () {
|
|
@@ -82528,8 +82199,8 @@ var Productcard_with_circularhover = function Productcard_with_circularhover(pro
|
|
|
82528
82199
|
})), item.IsFavExists ? lang.remove : lang.addtofavorites))))));
|
|
82529
82200
|
};
|
|
82530
82201
|
|
|
82531
|
-
function ownKeys$
|
|
82532
|
-
function _objectSpread$
|
|
82202
|
+
function ownKeys$f(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
82203
|
+
function _objectSpread$f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$f(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
82533
82204
|
var Productcard_with_slideanimation = function Productcard_with_slideanimation(props) {
|
|
82534
82205
|
var _useState = useState(''),
|
|
82535
82206
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -82557,7 +82228,7 @@ var Productcard_with_slideanimation = function Productcard_with_slideanimation(p
|
|
|
82557
82228
|
});
|
|
82558
82229
|
}
|
|
82559
82230
|
});
|
|
82560
|
-
setsectionproperties(_objectSpread$
|
|
82231
|
+
setsectionproperties(_objectSpread$f({}, secpropobj));
|
|
82561
82232
|
}, [StatePagePropertiesContext]);
|
|
82562
82233
|
useEffect(function () {
|
|
82563
82234
|
setitem(props.cardinfoitemprops);
|
|
@@ -82819,8 +82490,8 @@ var Productcard_with_slideanimation = function Productcard_with_slideanimation(p
|
|
|
82819
82490
|
})))))))));
|
|
82820
82491
|
};
|
|
82821
82492
|
|
|
82822
|
-
function ownKeys$
|
|
82823
|
-
function _objectSpread$
|
|
82493
|
+
function ownKeys$e(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
82494
|
+
function _objectSpread$e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$e(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
82824
82495
|
var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
82825
82496
|
var _useState = useState(''),
|
|
82826
82497
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -82856,7 +82527,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
82856
82527
|
});
|
|
82857
82528
|
}
|
|
82858
82529
|
});
|
|
82859
|
-
setsectionproperties(_objectSpread$
|
|
82530
|
+
setsectionproperties(_objectSpread$e({}, secpropobj));
|
|
82860
82531
|
}, [StatePagePropertiesContext]);
|
|
82861
82532
|
useEffect(function () {
|
|
82862
82533
|
var _props$cardinfoitempr;
|
|
@@ -83245,8 +82916,8 @@ var css_248z$3 = ".Productcard6-module_productcard__Vx7dM {\n position: relat
|
|
|
83245
82916
|
var cardsstyles$2 = {"productcard":"Productcard6-module_productcard__Vx7dM","addbtn":"Productcard6-module_addbtn__x6bMd"};
|
|
83246
82917
|
styleInject(css_248z$3);
|
|
83247
82918
|
|
|
83248
|
-
function ownKeys$
|
|
83249
|
-
function _objectSpread$
|
|
82919
|
+
function ownKeys$d(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
82920
|
+
function _objectSpread$d(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$d(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$d(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
83250
82921
|
var Productcard6 = function Productcard6(props) {
|
|
83251
82922
|
var _useState = useState(''),
|
|
83252
82923
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -83274,7 +82945,7 @@ var Productcard6 = function Productcard6(props) {
|
|
|
83274
82945
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
83275
82946
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
83276
82947
|
});
|
|
83277
|
-
setsectionproperties(_objectSpread$
|
|
82948
|
+
setsectionproperties(_objectSpread$d({}, secpropobj));
|
|
83278
82949
|
} else {
|
|
83279
82950
|
var secpropobj = {};
|
|
83280
82951
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -83284,7 +82955,7 @@ var Productcard6 = function Productcard6(props) {
|
|
|
83284
82955
|
});
|
|
83285
82956
|
}
|
|
83286
82957
|
});
|
|
83287
|
-
setsectionproperties(_objectSpread$
|
|
82958
|
+
setsectionproperties(_objectSpread$d({}, secpropobj));
|
|
83288
82959
|
}
|
|
83289
82960
|
}, [StatePagePropertiesContext]);
|
|
83290
82961
|
useEffect(function () {
|
|
@@ -83468,8 +83139,8 @@ var Productcard6 = function Productcard6(props) {
|
|
|
83468
83139
|
}))))))));
|
|
83469
83140
|
};
|
|
83470
83141
|
|
|
83471
|
-
function ownKeys$
|
|
83472
|
-
function _objectSpread$
|
|
83142
|
+
function ownKeys$c(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
83143
|
+
function _objectSpread$c(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$c(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$c(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
83473
83144
|
var Productcard7 = function Productcard7(props) {
|
|
83474
83145
|
var _useState = useState(''),
|
|
83475
83146
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -83497,7 +83168,7 @@ var Productcard7 = function Productcard7(props) {
|
|
|
83497
83168
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
83498
83169
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
83499
83170
|
});
|
|
83500
|
-
setsectionproperties(_objectSpread$
|
|
83171
|
+
setsectionproperties(_objectSpread$c({}, secpropobj));
|
|
83501
83172
|
} else {
|
|
83502
83173
|
var secpropobj = {};
|
|
83503
83174
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -83507,7 +83178,7 @@ var Productcard7 = function Productcard7(props) {
|
|
|
83507
83178
|
});
|
|
83508
83179
|
}
|
|
83509
83180
|
});
|
|
83510
|
-
setsectionproperties(_objectSpread$
|
|
83181
|
+
setsectionproperties(_objectSpread$c({}, secpropobj));
|
|
83511
83182
|
}
|
|
83512
83183
|
}, [StatePagePropertiesContext]);
|
|
83513
83184
|
useEffect(function () {
|
|
@@ -83717,8 +83388,8 @@ var Productcard7 = function Productcard7(props) {
|
|
|
83717
83388
|
})), langdetect == 'en' ? 'add to cart' : 'اضف الى العرية')));
|
|
83718
83389
|
};
|
|
83719
83390
|
|
|
83720
|
-
function ownKeys$
|
|
83721
|
-
function _objectSpread$
|
|
83391
|
+
function ownKeys$b(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
83392
|
+
function _objectSpread$b(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$b(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$b(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
83722
83393
|
var Productcarddefault = function Productcarddefault(props) {
|
|
83723
83394
|
var _useState = useState(''),
|
|
83724
83395
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -83746,7 +83417,7 @@ var Productcarddefault = function Productcarddefault(props) {
|
|
|
83746
83417
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
83747
83418
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
83748
83419
|
});
|
|
83749
|
-
setsectionproperties(_objectSpread$
|
|
83420
|
+
setsectionproperties(_objectSpread$b({}, secpropobj));
|
|
83750
83421
|
} else {
|
|
83751
83422
|
var secpropobj = {};
|
|
83752
83423
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -83756,7 +83427,7 @@ var Productcarddefault = function Productcarddefault(props) {
|
|
|
83756
83427
|
});
|
|
83757
83428
|
}
|
|
83758
83429
|
});
|
|
83759
|
-
setsectionproperties(_objectSpread$
|
|
83430
|
+
setsectionproperties(_objectSpread$b({}, secpropobj));
|
|
83760
83431
|
}
|
|
83761
83432
|
}, [StatePagePropertiesContext]);
|
|
83762
83433
|
useEffect(function () {
|
|
@@ -83966,8 +83637,8 @@ var css_248z$2 = ".productccard_with_imageontopleft-module_productcard__U5ZuO {\
|
|
|
83966
83637
|
var cardsstyles$1 = {"productcard":"productccard_with_imageontopleft-module_productcard__U5ZuO","img_container":"productccard_with_imageontopleft-module_img_container__Ifhcy","pill":"productccard_with_imageontopleft-module_pill__SWuR5","addbtn":"productccard_with_imageontopleft-module_addbtn__S2ER2","play-on-hover":"productccard_with_imageontopleft-module_play-on-hover__Wf1UL"};
|
|
83967
83638
|
styleInject(css_248z$2);
|
|
83968
83639
|
|
|
83969
|
-
function ownKeys$
|
|
83970
|
-
function _objectSpread$
|
|
83640
|
+
function ownKeys$a(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
83641
|
+
function _objectSpread$a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$a(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
83971
83642
|
var Productccard_with_imageontopleft = function Productccard_with_imageontopleft(props) {
|
|
83972
83643
|
var _useState = useState(''),
|
|
83973
83644
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -83995,7 +83666,7 @@ var Productccard_with_imageontopleft = function Productccard_with_imageontopleft
|
|
|
83995
83666
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
83996
83667
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
83997
83668
|
});
|
|
83998
|
-
setsectionproperties(_objectSpread$
|
|
83669
|
+
setsectionproperties(_objectSpread$a({}, secpropobj));
|
|
83999
83670
|
} else {
|
|
84000
83671
|
var secpropobj = {};
|
|
84001
83672
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -84005,7 +83676,7 @@ var Productccard_with_imageontopleft = function Productccard_with_imageontopleft
|
|
|
84005
83676
|
});
|
|
84006
83677
|
}
|
|
84007
83678
|
});
|
|
84008
|
-
setsectionproperties(_objectSpread$
|
|
83679
|
+
setsectionproperties(_objectSpread$a({}, secpropobj));
|
|
84009
83680
|
}
|
|
84010
83681
|
}, [StatePagePropertiesContext]);
|
|
84011
83682
|
useEffect(function () {
|
|
@@ -84231,8 +83902,8 @@ var css_248z$1 = ".Prouductcard_with_zoomhover-module_productcard__Q-cI6{\n w
|
|
|
84231
83902
|
var cardsstyles = {"productcard":"Prouductcard_with_zoomhover-module_productcard__Q-cI6"};
|
|
84232
83903
|
styleInject(css_248z$1);
|
|
84233
83904
|
|
|
84234
|
-
function ownKeys$
|
|
84235
|
-
function _objectSpread$
|
|
83905
|
+
function ownKeys$9(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
83906
|
+
function _objectSpread$9(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$9(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$9(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
84236
83907
|
var Prouductcard_with_zoomhover = function Prouductcard_with_zoomhover(props) {
|
|
84237
83908
|
var _useState = useState(''),
|
|
84238
83909
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -84264,7 +83935,7 @@ var Prouductcard_with_zoomhover = function Prouductcard_with_zoomhover(props) {
|
|
|
84264
83935
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
84265
83936
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
84266
83937
|
});
|
|
84267
|
-
setsectionproperties(_objectSpread$
|
|
83938
|
+
setsectionproperties(_objectSpread$9({}, secpropobj));
|
|
84268
83939
|
} else {
|
|
84269
83940
|
var secpropobj = {};
|
|
84270
83941
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -84274,7 +83945,7 @@ var Prouductcard_with_zoomhover = function Prouductcard_with_zoomhover(props) {
|
|
|
84274
83945
|
});
|
|
84275
83946
|
}
|
|
84276
83947
|
});
|
|
84277
|
-
setsectionproperties(_objectSpread$
|
|
83948
|
+
setsectionproperties(_objectSpread$9({}, secpropobj));
|
|
84278
83949
|
}
|
|
84279
83950
|
}, [StatePagePropertiesContext]);
|
|
84280
83951
|
useEffect(function () {
|
|
@@ -84368,8 +84039,8 @@ var Prouductcard_with_zoomhover = function Prouductcard_with_zoomhover(props) {
|
|
|
84368
84039
|
}, "Showmore"))));
|
|
84369
84040
|
};
|
|
84370
84041
|
|
|
84371
|
-
function ownKeys$
|
|
84372
|
-
function _objectSpread$
|
|
84042
|
+
function ownKeys$8(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
84043
|
+
function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$8(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$8(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
84373
84044
|
var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(props) {
|
|
84374
84045
|
var _useState = useState(''),
|
|
84375
84046
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -84396,7 +84067,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
84396
84067
|
});
|
|
84397
84068
|
}
|
|
84398
84069
|
});
|
|
84399
|
-
setsectionproperties(_objectSpread$
|
|
84070
|
+
setsectionproperties(_objectSpread$8({}, secpropobj));
|
|
84400
84071
|
}, [StatePagePropertiesContext]);
|
|
84401
84072
|
useEffect(function () {
|
|
84402
84073
|
setitem(props.cardinfoitemprops);
|
|
@@ -84551,6 +84222,362 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
84551
84222
|
}, plainString(item.description))))));
|
|
84552
84223
|
};
|
|
84553
84224
|
|
|
84225
|
+
function ownKeys$7(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
84226
|
+
function _objectSpread$7(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$7(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$7(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
84227
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
84228
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
84229
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
84230
|
+
var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
84231
|
+
var _useState = useState(props.actions.item),
|
|
84232
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
84233
|
+
_useState2[0];
|
|
84234
|
+
var setitem = _useState2[1];
|
|
84235
|
+
var _useState3 = useState({}),
|
|
84236
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
84237
|
+
variants_iteminfo = _useState4[0],
|
|
84238
|
+
setvariants_iteminfo = _useState4[1];
|
|
84239
|
+
var _useState5 = useState([]),
|
|
84240
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
84241
|
+
options_w_values = _useState6[0],
|
|
84242
|
+
setoptions_w_values = _useState6[1];
|
|
84243
|
+
var _useState7 = useState([]),
|
|
84244
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
84245
|
+
choosen_values = _useState8[0],
|
|
84246
|
+
setchoosen_values = _useState8[1];
|
|
84247
|
+
var _useState9 = useState({}),
|
|
84248
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
84249
|
+
VariantCompletedObj = _useState10[0],
|
|
84250
|
+
setVariantCompletedObj = _useState10[1];
|
|
84251
|
+
var sectionproperties = props.actions.sectionproperties;
|
|
84252
|
+
props.actions.lang;
|
|
84253
|
+
props.actions.langdetect;
|
|
84254
|
+
var foundMatchedVariantFunc = props.foundMatchedVariantFunc;
|
|
84255
|
+
var _useState11 = useState(props.cardinfoindexprops),
|
|
84256
|
+
_useState12 = _slicedToArray(_useState11, 2);
|
|
84257
|
+
_useState12[0];
|
|
84258
|
+
_useState12[1];
|
|
84259
|
+
var _useState13 = useState({}),
|
|
84260
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
84261
|
+
VariantColorImageComObj = _useState14[0],
|
|
84262
|
+
setVariantColorImageComObj = _useState14[1];
|
|
84263
|
+
var foundImageColorMatchingFunc = props.foundImageColorMatchingFunc;
|
|
84264
|
+
useEffect(function () {
|
|
84265
|
+
foundMatchedVariantFunc(VariantCompletedObj);
|
|
84266
|
+
}, [VariantCompletedObj]);
|
|
84267
|
+
useEffect(function () {
|
|
84268
|
+
var completedVariantObj = null;
|
|
84269
|
+
var variantimagematching = null;
|
|
84270
|
+
if (choosen_values.length > 0) {
|
|
84271
|
+
var _iterator = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
84272
|
+
_step;
|
|
84273
|
+
try {
|
|
84274
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
84275
|
+
var _variantitem$variantv2;
|
|
84276
|
+
var variantitem = _step.value;
|
|
84277
|
+
var matchedValues = variantitem === null || variantitem === void 0 || (_variantitem$variantv2 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv2 === void 0 ? void 0 : _variantitem$variantv2.filter(function (variantValue) {
|
|
84278
|
+
return choosen_values.some(function (choosenValue) {
|
|
84279
|
+
return choosenValue.valueid === variantValue.valueid;
|
|
84280
|
+
});
|
|
84281
|
+
});
|
|
84282
|
+
if (matchedValues.length === choosen_values.length && matchedValues.length === variantitem.variantvalues_w_valueinfo.length) {
|
|
84283
|
+
completedVariantObj = variantitem;
|
|
84284
|
+
break;
|
|
84285
|
+
}
|
|
84286
|
+
}
|
|
84287
|
+
} catch (err) {
|
|
84288
|
+
_iterator.e(err);
|
|
84289
|
+
} finally {
|
|
84290
|
+
_iterator.f();
|
|
84291
|
+
}
|
|
84292
|
+
choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (item, index) {
|
|
84293
|
+
var _item$option_info, _item$option_info2;
|
|
84294
|
+
if ((item === null || item === void 0 || (_item$option_info = item.option_info) === null || _item$option_info === void 0 ? void 0 : _item$option_info.optionname) == 'color' || (item === null || item === void 0 || (_item$option_info2 = item.option_info) === null || _item$option_info2 === void 0 ? void 0 : _item$option_info2.optionname) == 'Color') {
|
|
84295
|
+
var _iterator2 = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
84296
|
+
_step2;
|
|
84297
|
+
try {
|
|
84298
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
84299
|
+
var _variantitem$variantv;
|
|
84300
|
+
var variantitem = _step2.value;
|
|
84301
|
+
var matchingValue = variantitem === null || variantitem === void 0 || (_variantitem$variantv = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv === void 0 ? void 0 : _variantitem$variantv.find(function (value) {
|
|
84302
|
+
return (value === null || value === void 0 ? void 0 : value.valueid) === (item === null || item === void 0 ? void 0 : item.valueid);
|
|
84303
|
+
});
|
|
84304
|
+
if (matchingValue) {
|
|
84305
|
+
variantimagematching = variantitem;
|
|
84306
|
+
}
|
|
84307
|
+
}
|
|
84308
|
+
} catch (err) {
|
|
84309
|
+
_iterator2.e(err);
|
|
84310
|
+
} finally {
|
|
84311
|
+
_iterator2.f();
|
|
84312
|
+
}
|
|
84313
|
+
}
|
|
84314
|
+
});
|
|
84315
|
+
}
|
|
84316
|
+
setVariantColorImageComObj(variantimagematching || {});
|
|
84317
|
+
setVariantCompletedObj(completedVariantObj || {});
|
|
84318
|
+
}, [choosen_values]);
|
|
84319
|
+
useEffect(function () {
|
|
84320
|
+
var _props$actions;
|
|
84321
|
+
var iteminfo = props.actions.item;
|
|
84322
|
+
var variants_iteminfo = props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.item) === null || _props$actions === void 0 ? void 0 : _props$actions.variants_w_options;
|
|
84323
|
+
var options_w_values = [];
|
|
84324
|
+
variants_iteminfo === null || variants_iteminfo === void 0 || variants_iteminfo.forEach(function (item, index) {
|
|
84325
|
+
var _item$variantvalues_w;
|
|
84326
|
+
item === null || item === void 0 || (_item$variantvalues_w = item.variantvalues_w_valueinfo) === null || _item$variantvalues_w === void 0 || _item$variantvalues_w.forEach(function (valitem) {
|
|
84327
|
+
var isoptionexists = false;
|
|
84328
|
+
var is_valitemexists = false;
|
|
84329
|
+
var valitemtobeinsreted = _objectSpread$7({}, valitem);
|
|
84330
|
+
valitemtobeinsreted.disabled = false;
|
|
84331
|
+
options_w_values === null || options_w_values === void 0 || options_w_values.forEach(function (exopitem, exopindex) {
|
|
84332
|
+
var _exopitem$values;
|
|
84333
|
+
exopitem === null || exopitem === void 0 || (_exopitem$values = exopitem.values) === null || _exopitem$values === void 0 || _exopitem$values.forEach(function (valexistitem) {
|
|
84334
|
+
if (valexistitem.valueid == valitemtobeinsreted.valueid) {
|
|
84335
|
+
is_valitemexists = true;
|
|
84336
|
+
}
|
|
84337
|
+
});
|
|
84338
|
+
});
|
|
84339
|
+
options_w_values === null || options_w_values === void 0 || options_w_values.forEach(function (exopitem, exopindex) {
|
|
84340
|
+
var _exopitem$option_info, _valitemtobeinsreted$;
|
|
84341
|
+
if ((exopitem === null || exopitem === void 0 || (_exopitem$option_info = exopitem.option_info) === null || _exopitem$option_info === void 0 ? void 0 : _exopitem$option_info.optionid) == (valitemtobeinsreted === null || valitemtobeinsreted === void 0 || (_valitemtobeinsreted$ = valitemtobeinsreted.option_info) === null || _valitemtobeinsreted$ === void 0 ? void 0 : _valitemtobeinsreted$.optionid)) {
|
|
84342
|
+
if (is_valitemexists == false) {
|
|
84343
|
+
var _valitemtobeinsreted$2;
|
|
84344
|
+
exopitem.values.push(_objectSpread$7(_objectSpread$7({}, valitemtobeinsreted), {}, {
|
|
84345
|
+
valueindex: valitemtobeinsreted === null || valitemtobeinsreted === void 0 || (_valitemtobeinsreted$2 = valitemtobeinsreted.valueinfo) === null || _valitemtobeinsreted$2 === void 0 ? void 0 : _valitemtobeinsreted$2.valueindex
|
|
84346
|
+
}));
|
|
84347
|
+
}
|
|
84348
|
+
isoptionexists = true;
|
|
84349
|
+
}
|
|
84350
|
+
});
|
|
84351
|
+
if (isoptionexists == false) {
|
|
84352
|
+
var _valitemtobeinsreted$3;
|
|
84353
|
+
options_w_values.push({
|
|
84354
|
+
option_info: valitem.option_info,
|
|
84355
|
+
optionindex: valitem.option_info.optionindex,
|
|
84356
|
+
values: [_objectSpread$7(_objectSpread$7({}, valitemtobeinsreted), {}, {
|
|
84357
|
+
valueindex: valitemtobeinsreted === null || valitemtobeinsreted === void 0 || (_valitemtobeinsreted$3 = valitemtobeinsreted.valueinfo) === null || _valitemtobeinsreted$3 === void 0 ? void 0 : _valitemtobeinsreted$3.valueindex
|
|
84358
|
+
})]
|
|
84359
|
+
});
|
|
84360
|
+
}
|
|
84361
|
+
});
|
|
84362
|
+
});
|
|
84363
|
+
options_w_values.forEach(function (option) {
|
|
84364
|
+
option.values.sort(function (a, b) {
|
|
84365
|
+
return a.valueindex - b.valueindex;
|
|
84366
|
+
});
|
|
84367
|
+
});
|
|
84368
|
+
var Sortedoptions_w_values = options_w_values.sort(function (a, b) {
|
|
84369
|
+
return a.optionindex - b.optionindex;
|
|
84370
|
+
});
|
|
84371
|
+
setoptions_w_values(_toConsumableArray(Sortedoptions_w_values));
|
|
84372
|
+
// setoptions_w_values([...options_w_values]);
|
|
84373
|
+
setvariants_iteminfo(variants_iteminfo);
|
|
84374
|
+
setitem(iteminfo);
|
|
84375
|
+
}, [props.actions.item]);
|
|
84376
|
+
var choose_valueFunc = function choose_valueFunc(valitem, optioninfo) {
|
|
84377
|
+
var tempchoosen_values = _toConsumableArray(choosen_values);
|
|
84378
|
+
var isvalueexists = false;
|
|
84379
|
+
// var optionid = optioninfo.optionid
|
|
84380
|
+
tempchoosen_values === null || tempchoosen_values === void 0 || tempchoosen_values.forEach(function (choseitem, choseindex) {
|
|
84381
|
+
if (valitem.optionid == choseitem.optionid) {
|
|
84382
|
+
tempchoosen_values.splice(choseindex, 1);
|
|
84383
|
+
}
|
|
84384
|
+
if ((choseitem === null || choseitem === void 0 ? void 0 : choseitem.valueid) == (valitem === null || valitem === void 0 ? void 0 : valitem.valueid)) {
|
|
84385
|
+
tempchoosen_values.splice(choseindex, 1);
|
|
84386
|
+
isvalueexists = true;
|
|
84387
|
+
}
|
|
84388
|
+
});
|
|
84389
|
+
if (isvalueexists == false) {
|
|
84390
|
+
tempchoosen_values.push(valitem);
|
|
84391
|
+
}
|
|
84392
|
+
var tempoptions_w_values = _toConsumableArray(options_w_values);
|
|
84393
|
+
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
84394
|
+
var _item$values;
|
|
84395
|
+
item === null || item === void 0 || (_item$values = item.values) === null || _item$values === void 0 || _item$values.forEach(function (valitemex, valindex) {
|
|
84396
|
+
if (tempchoosen_values.length == 0) {
|
|
84397
|
+
valitemex.disabled = false;
|
|
84398
|
+
} else {
|
|
84399
|
+
valitemex.disabled = true;
|
|
84400
|
+
}
|
|
84401
|
+
});
|
|
84402
|
+
});
|
|
84403
|
+
if (tempchoosen_values.length != 0) {
|
|
84404
|
+
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
84405
|
+
var _item$values2;
|
|
84406
|
+
item === null || item === void 0 || (_item$values2 = item.values) === null || _item$values2 === void 0 || _item$values2.forEach(function (valitem, valindex) {
|
|
84407
|
+
var _tempchoosen_values$s;
|
|
84408
|
+
var isvaluedisabled = true;
|
|
84409
|
+
(_tempchoosen_values$s = tempchoosen_values.slice(0, 1)) === null || _tempchoosen_values$s === void 0 || _tempchoosen_values$s.forEach(function (chosvalitem) {
|
|
84410
|
+
variants_iteminfo === null || variants_iteminfo === void 0 || variants_iteminfo.forEach(function (variantitem) {
|
|
84411
|
+
var _variantitem$variantv3;
|
|
84412
|
+
var is_Start_Variant_Found = false;
|
|
84413
|
+
variantitem === null || variantitem === void 0 || (_variantitem$variantv3 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv3 === void 0 || _variantitem$variantv3.forEach(function (variantoptionsitem) {
|
|
84414
|
+
if (variantoptionsitem.valueid == chosvalitem.valueid) {
|
|
84415
|
+
is_Start_Variant_Found = true;
|
|
84416
|
+
}
|
|
84417
|
+
});
|
|
84418
|
+
if (is_Start_Variant_Found) {
|
|
84419
|
+
var _variantitem$variantv4;
|
|
84420
|
+
variantitem === null || variantitem === void 0 || (_variantitem$variantv4 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv4 === void 0 || _variantitem$variantv4.forEach(function (variantoptionsitem) {
|
|
84421
|
+
if (valitem.valueid == variantoptionsitem.valueid) {
|
|
84422
|
+
isvaluedisabled = false;
|
|
84423
|
+
}
|
|
84424
|
+
});
|
|
84425
|
+
}
|
|
84426
|
+
});
|
|
84427
|
+
});
|
|
84428
|
+
valitem.disabled = isvaluedisabled;
|
|
84429
|
+
});
|
|
84430
|
+
});
|
|
84431
|
+
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
84432
|
+
var _item$values3;
|
|
84433
|
+
item === null || item === void 0 || (_item$values3 = item.values) === null || _item$values3 === void 0 || _item$values3.forEach(function (valitem, valindex) {
|
|
84434
|
+
if (valitem.optionid == tempchoosen_values[0].optionid) {
|
|
84435
|
+
valitem.disabled = false;
|
|
84436
|
+
}
|
|
84437
|
+
});
|
|
84438
|
+
});
|
|
84439
|
+
tempoptions_w_values === null || tempoptions_w_values === void 0 || tempoptions_w_values.forEach(function (item, index) {
|
|
84440
|
+
var _item$values4;
|
|
84441
|
+
item === null || item === void 0 || (_item$values4 = item.values) === null || _item$values4 === void 0 || _item$values4.forEach(function (valitem, valindex) {
|
|
84442
|
+
if (valitem.disabled == true) {
|
|
84443
|
+
tempchoosen_values === null || tempchoosen_values === void 0 || tempchoosen_values.forEach(function (chosvalitem, choseindex) {
|
|
84444
|
+
if (chosvalitem.valueid == valitem.valueid) {
|
|
84445
|
+
tempchoosen_values.splice(choseindex, 1);
|
|
84446
|
+
}
|
|
84447
|
+
});
|
|
84448
|
+
}
|
|
84449
|
+
});
|
|
84450
|
+
});
|
|
84451
|
+
}
|
|
84452
|
+
setoptions_w_values(_toConsumableArray(tempoptions_w_values));
|
|
84453
|
+
setchoosen_values(_toConsumableArray(tempchoosen_values));
|
|
84454
|
+
};
|
|
84455
|
+
useEffect(function () {
|
|
84456
|
+
foundImageColorMatchingFunc(VariantColorImageComObj);
|
|
84457
|
+
}, [VariantColorImageComObj]);
|
|
84458
|
+
useEffect(function () {
|
|
84459
|
+
var completedVariantObj = null;
|
|
84460
|
+
var variantimagematching = null;
|
|
84461
|
+
if (choosen_values.length > 0) {
|
|
84462
|
+
var _iterator3 = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
84463
|
+
_step3;
|
|
84464
|
+
try {
|
|
84465
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
84466
|
+
var _variantitem$variantv6;
|
|
84467
|
+
var variantitem = _step3.value;
|
|
84468
|
+
var matchedValues = variantitem === null || variantitem === void 0 || (_variantitem$variantv6 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv6 === void 0 ? void 0 : _variantitem$variantv6.filter(function (variantValue) {
|
|
84469
|
+
return choosen_values.some(function (choosenValue) {
|
|
84470
|
+
return choosenValue.valueid === variantValue.valueid;
|
|
84471
|
+
});
|
|
84472
|
+
});
|
|
84473
|
+
if (matchedValues.length === choosen_values.length && matchedValues.length === variantitem.variantvalues_w_valueinfo.length) {
|
|
84474
|
+
completedVariantObj = variantitem;
|
|
84475
|
+
break;
|
|
84476
|
+
}
|
|
84477
|
+
}
|
|
84478
|
+
} catch (err) {
|
|
84479
|
+
_iterator3.e(err);
|
|
84480
|
+
} finally {
|
|
84481
|
+
_iterator3.f();
|
|
84482
|
+
}
|
|
84483
|
+
choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (item, index) {
|
|
84484
|
+
var _item$option_info3, _item$option_info4;
|
|
84485
|
+
if ((item === null || item === void 0 || (_item$option_info3 = item.option_info) === null || _item$option_info3 === void 0 ? void 0 : _item$option_info3.optionname) == 'color' || (item === null || item === void 0 || (_item$option_info4 = item.option_info) === null || _item$option_info4 === void 0 ? void 0 : _item$option_info4.optionname) == 'Color') {
|
|
84486
|
+
var _iterator4 = _createForOfIteratorHelper(variants_iteminfo || []),
|
|
84487
|
+
_step4;
|
|
84488
|
+
try {
|
|
84489
|
+
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
84490
|
+
var _variantitem$variantv5;
|
|
84491
|
+
var variantitem = _step4.value;
|
|
84492
|
+
var matchingValue = variantitem === null || variantitem === void 0 || (_variantitem$variantv5 = variantitem.variantvalues_w_valueinfo) === null || _variantitem$variantv5 === void 0 ? void 0 : _variantitem$variantv5.find(function (value) {
|
|
84493
|
+
return (value === null || value === void 0 ? void 0 : value.valueid) === (item === null || item === void 0 ? void 0 : item.valueid);
|
|
84494
|
+
});
|
|
84495
|
+
if (matchingValue) {
|
|
84496
|
+
variantimagematching = variantitem;
|
|
84497
|
+
}
|
|
84498
|
+
}
|
|
84499
|
+
} catch (err) {
|
|
84500
|
+
_iterator4.e(err);
|
|
84501
|
+
} finally {
|
|
84502
|
+
_iterator4.f();
|
|
84503
|
+
}
|
|
84504
|
+
}
|
|
84505
|
+
});
|
|
84506
|
+
}
|
|
84507
|
+
setVariantColorImageComObj(variantimagematching || {});
|
|
84508
|
+
setVariantCompletedObj(completedVariantObj || {});
|
|
84509
|
+
}, [choosen_values]);
|
|
84510
|
+
|
|
84511
|
+
// useEffect(() => {
|
|
84512
|
+
// var completedVariantObj = {};
|
|
84513
|
+
// var tempchoosen_values = [...choosen_values];
|
|
84514
|
+
// if (choosen_values.length != 0) {
|
|
84515
|
+
// variants_iteminfo?.forEach(function (variantitem) {
|
|
84516
|
+
// var isVariantValuesAllSame = true;
|
|
84517
|
+
// variantitem?.variantvalues_w_valueinfo?.forEach(function (variantvalues) {
|
|
84518
|
+
// tempchoosen_values?.forEach(function (item, index) {
|
|
84519
|
+
// if (variantvalues.valueid != item.valueid) {
|
|
84520
|
+
// isVariantValuesAllSame = false;
|
|
84521
|
+
// } else {
|
|
84522
|
+
// }
|
|
84523
|
+
// });
|
|
84524
|
+
// });
|
|
84525
|
+
// if (isVariantValuesAllSame == true) {
|
|
84526
|
+
// completedVariantObj = variantitem;
|
|
84527
|
+
// }
|
|
84528
|
+
// });
|
|
84529
|
+
// }
|
|
84530
|
+
// setVariantCompletedObj({ ...completedVariantObj });
|
|
84531
|
+
// }, [choosen_values]);
|
|
84532
|
+
|
|
84533
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
84534
|
+
"class": ' row m-0 w-100 mb-2 '
|
|
84535
|
+
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
84536
|
+
"class": ' row m-0 w-100 '
|
|
84537
|
+
}, options_w_values === null || options_w_values === void 0 ? void 0 : options_w_values.map(function (item, index) {
|
|
84538
|
+
var _item$values5;
|
|
84539
|
+
// if (index <= 3) {
|
|
84540
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
84541
|
+
className: "col-lg-12 col-md-12 d-flex mb-2 allcentered scrollhorixontalcontainer"
|
|
84542
|
+
}, item === null || item === void 0 || (_item$values5 = item.values) === null || _item$values5 === void 0 ? void 0 : _item$values5.map(function (valitem) {
|
|
84543
|
+
var _item$option_info5, _item$option_info6, _item$option_info7, _item$option_info8, _item$option_info9, _valitem$valueinfo, _item$option_info10, _valitem$valueinfo2;
|
|
84544
|
+
var isChoosedValueExists = false;
|
|
84545
|
+
choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (choseitem, choseindex) {
|
|
84546
|
+
if (choseitem != null) {
|
|
84547
|
+
if ((choseitem === null || choseitem === void 0 ? void 0 : choseitem.valueid) == (valitem === null || valitem === void 0 ? void 0 : valitem.valueid)) {
|
|
84548
|
+
isChoosedValueExists = true;
|
|
84549
|
+
}
|
|
84550
|
+
}
|
|
84551
|
+
});
|
|
84552
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
84553
|
+
style: {
|
|
84554
|
+
textAlign: 'center'
|
|
84555
|
+
},
|
|
84556
|
+
"class": "mx-1"
|
|
84557
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
84558
|
+
onClick: function onClick() {
|
|
84559
|
+
choose_valueFunc(valitem, item === null || item === void 0 ? void 0 : item.option_info);
|
|
84560
|
+
},
|
|
84561
|
+
style: {
|
|
84562
|
+
// backgroundColor: isChoosedValueExists ? 'lightblue' : 'white',
|
|
84563
|
+
color: isChoosedValueExists ? '#ffffff' : '#000000',
|
|
84564
|
+
border: isChoosedValueExists ? '3px solid ' + sectionproperties.activeproductcolor : '1px solid ' + sectionproperties.variantcontainerbordercolor,
|
|
84565
|
+
padding: (item === null || item === void 0 || (_item$option_info5 = item.option_info) === null || _item$option_info5 === void 0 ? void 0 : _item$option_info5.optionname) == 'Color' ? '5px' : '5px 10px',
|
|
84566
|
+
cursor: valitem.disabled ? 'not-allowed' : 'pointer',
|
|
84567
|
+
fontSize: '13px',
|
|
84568
|
+
width: (item === null || item === void 0 || (_item$option_info6 = item.option_info) === null || _item$option_info6 === void 0 ? void 0 : _item$option_info6.optionname) == 'Color' ? 25 : '',
|
|
84569
|
+
height: (item === null || item === void 0 || (_item$option_info7 = item.option_info) === null || _item$option_info7 === void 0 ? void 0 : _item$option_info7.optionname) == 'Color' ? 25 : '',
|
|
84570
|
+
borderRadius: (item === null || item === void 0 || (_item$option_info8 = item.option_info) === null || _item$option_info8 === void 0 ? void 0 : _item$option_info8.optionname) == 'Color' ? 100 : 5,
|
|
84571
|
+
background: (item === null || item === void 0 || (_item$option_info9 = item.option_info) === null || _item$option_info9 === void 0 ? void 0 : _item$option_info9.optionname) == 'Color' ? valitem === null || valitem === void 0 || (_valitem$valueinfo = valitem.valueinfo) === null || _valitem$valueinfo === void 0 ? void 0 : _valitem$valueinfo.valuename : isChoosedValueExists ? sectionproperties.activeproductcolor : '#ffffff',
|
|
84572
|
+
fontWeight: 500
|
|
84573
|
+
},
|
|
84574
|
+
disabled: valitem.disabled
|
|
84575
|
+
}, (item === null || item === void 0 || (_item$option_info10 = item.option_info) === null || _item$option_info10 === void 0 ? void 0 : _item$option_info10.optionname) == 'Color' ? '' : (valitem === null || valitem === void 0 || (_valitem$valueinfo2 = valitem.valueinfo) === null || _valitem$valueinfo2 === void 0 ? void 0 : _valitem$valueinfo2.valuename) || 'Unnamed'));
|
|
84576
|
+
}));
|
|
84577
|
+
// }
|
|
84578
|
+
})));
|
|
84579
|
+
};
|
|
84580
|
+
|
|
84554
84581
|
function ownKeys$6(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
84555
84582
|
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
84556
84583
|
var Simpleproductcard = function Simpleproductcard(props) {
|
|
@@ -84826,6 +84853,12 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
84826
84853
|
fontSize: sectionproperties.skuFontSize + 'px',
|
|
84827
84854
|
color: sectionproperties.skuColor,
|
|
84828
84855
|
fontWeight: sectionproperties.skuFontWeight
|
|
84856
|
+
}),
|
|
84857
|
+
imagediv: css({
|
|
84858
|
+
':hover': {
|
|
84859
|
+
transition: 'all .4s ease',
|
|
84860
|
+
transform: sectionproperties.zoomimageonhover == 'Yes' ? 'scale(1.1)' : ''
|
|
84861
|
+
}
|
|
84829
84862
|
})
|
|
84830
84863
|
};
|
|
84831
84864
|
var _useState11 = useState(''),
|
|
@@ -84964,7 +84997,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
84964
84997
|
transition = true;
|
|
84965
84998
|
}
|
|
84966
84999
|
return /*#__PURE__*/React.createElement("div", {
|
|
84967
|
-
"class":
|
|
85000
|
+
"class": card_cssstyles.imagediv + ' w-100 cursor-pointer ',
|
|
84968
85001
|
style: {
|
|
84969
85002
|
position: 'relative'
|
|
84970
85003
|
}
|