tabexseriescomponents 0.0.421 → 0.0.422
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 +1335 -421
- package/dist/index.esm.js +1335 -421
- package/dist/index.umd.js +1335 -421
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -624,8 +624,8 @@ var Imagekitimagecomp = function Imagekitimagecomp(props) {
|
|
|
624
624
|
}));
|
|
625
625
|
};
|
|
626
626
|
|
|
627
|
-
function ownKeys$
|
|
628
|
-
function _objectSpread$
|
|
627
|
+
function ownKeys$2w(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; }
|
|
628
|
+
function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
629
629
|
var Login = function Login(props) {
|
|
630
630
|
var _css;
|
|
631
631
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -701,7 +701,7 @@ var Login = function Login(props) {
|
|
|
701
701
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
702
702
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
703
703
|
});
|
|
704
|
-
setsectionproperties(_objectSpread$
|
|
704
|
+
setsectionproperties(_objectSpread$2w({}, secpropobj));
|
|
705
705
|
}
|
|
706
706
|
}, [StatePagePropertiesContext]);
|
|
707
707
|
useEffect(function () {
|
|
@@ -868,9 +868,9 @@ var Login = function Login(props) {
|
|
|
868
868
|
className: "".concat(loginstyles2.form_control),
|
|
869
869
|
value: payloadobj.email,
|
|
870
870
|
onChange: function onChange(event) {
|
|
871
|
-
var temppayloadobj = _objectSpread$
|
|
871
|
+
var temppayloadobj = _objectSpread$2w({}, payloadobj);
|
|
872
872
|
temppayloadobj.email = event.target.value;
|
|
873
|
-
setpayloadobj(_objectSpread$
|
|
873
|
+
setpayloadobj(_objectSpread$2w({}, temppayloadobj));
|
|
874
874
|
},
|
|
875
875
|
style: {
|
|
876
876
|
background: sectionproperties.input_bgcolor
|
|
@@ -892,9 +892,9 @@ var Login = function Login(props) {
|
|
|
892
892
|
textplaceholder: "",
|
|
893
893
|
value: payloadobj.password,
|
|
894
894
|
onChange: function onChange(event) {
|
|
895
|
-
var temppayloadobj = _objectSpread$
|
|
895
|
+
var temppayloadobj = _objectSpread$2w({}, payloadobj);
|
|
896
896
|
temppayloadobj.password = event.target.value;
|
|
897
|
-
setpayloadobj(_objectSpread$
|
|
897
|
+
setpayloadobj(_objectSpread$2w({}, temppayloadobj));
|
|
898
898
|
},
|
|
899
899
|
style: {
|
|
900
900
|
background: sectionproperties.input_bgcolor
|
|
@@ -1071,9 +1071,9 @@ var Login = function Login(props) {
|
|
|
1071
1071
|
className: "".concat(loginstyles2.form_control),
|
|
1072
1072
|
value: forgotpasswordpayload.email,
|
|
1073
1073
|
onChange: function onChange(event) {
|
|
1074
|
-
var temppayloadobj = _objectSpread$
|
|
1074
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1075
1075
|
temppayloadobj.email = event.target.value;
|
|
1076
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1076
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1077
1077
|
},
|
|
1078
1078
|
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
1079
1079
|
style: {
|
|
@@ -1088,9 +1088,9 @@ var Login = function Login(props) {
|
|
|
1088
1088
|
className: "".concat(loginstyles2.form_control),
|
|
1089
1089
|
value: forgotpasswordpayload.code,
|
|
1090
1090
|
onChange: function onChange(event) {
|
|
1091
|
-
var temppayloadobj = _objectSpread$
|
|
1091
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1092
1092
|
temppayloadobj.code = event.target.value;
|
|
1093
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1093
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1094
1094
|
},
|
|
1095
1095
|
style: {
|
|
1096
1096
|
background: sectionproperties.input_bgcolor
|
|
@@ -1104,9 +1104,9 @@ var Login = function Login(props) {
|
|
|
1104
1104
|
className: "".concat(loginstyles2.form_control),
|
|
1105
1105
|
value: forgotpasswordpayload.newpassword,
|
|
1106
1106
|
onChange: function onChange(event) {
|
|
1107
|
-
var temppayloadobj = _objectSpread$
|
|
1107
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1108
1108
|
temppayloadobj.newpassword = event.target.value;
|
|
1109
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1109
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1110
1110
|
},
|
|
1111
1111
|
style: {
|
|
1112
1112
|
background: sectionproperties.input_bgcolor
|
|
@@ -1120,9 +1120,9 @@ var Login = function Login(props) {
|
|
|
1120
1120
|
className: "".concat(loginstyles2.form_control),
|
|
1121
1121
|
value: forgotpasswordpayload.confirmnewpassword,
|
|
1122
1122
|
onChange: function onChange(event) {
|
|
1123
|
-
var temppayloadobj = _objectSpread$
|
|
1123
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1124
1124
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
1125
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1125
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1126
1126
|
},
|
|
1127
1127
|
style: {
|
|
1128
1128
|
background: sectionproperties.input_bgcolor
|
|
@@ -1134,7 +1134,7 @@ var Login = function Login(props) {
|
|
|
1134
1134
|
onClick: function onClick() {
|
|
1135
1135
|
if (forgotpasswordpayload.email.length != 0) {
|
|
1136
1136
|
var runfunc = false;
|
|
1137
|
-
var tempforgotpasswordpayload = _objectSpread$
|
|
1137
|
+
var tempforgotpasswordpayload = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1138
1138
|
tempforgotpasswordpayload.functype = forgetpasswordstage;
|
|
1139
1139
|
if (forgetpasswordstage == 'verify') {
|
|
1140
1140
|
if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
|
|
@@ -1174,7 +1174,7 @@ var Login = function Login(props) {
|
|
|
1174
1174
|
}, forgetpasswordstage == 'verify' ? langdetect == 'en' ? 'Reset password' : 'إعادة تعيين كلمة المرور' : langdetect == 'en' ? 'Send verification code' : 'أرسل رمز التحقق'))))));
|
|
1175
1175
|
};
|
|
1176
1176
|
|
|
1177
|
-
var css_248z$L = ".productinfo-module_variant_container__-y4Uc {\n display: flex;\n align-items: center;\n justify-content: center;\n /* min-width: 10vh;\n height: 5vh; */\n border-radius: 10px;\n background-color: #000;\n color: white;\n padding: 0 6px;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_size_variant_container__vuTAO {\n /* min-width: 5vh !important;\n max-width: 5vh !important;\n height: 5vh !important;\n border-radius: 50% !important; */\n /* padding: 0 2px !important; */\n}\n.productinfo-module_variant_container__-y4Uc:hover {\n /* transform: scale(1.05); */\n}\n.productinfo-module_variant_container_active__OAhmg {\n border: 2px solid green;\n background-color: green;\n}\n.productinfo-module_color_container__c42a9 {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 4vh;\n height: 4vh;\n border: 2px solid #ccc;\n border-radius: 50%;\n overflow: hidden;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_color_container_active__Br2PW {\n padding: 10px;\n border: 2px solid var(--green);\n}\n\n.productinfo-module_color_container_active__Br2PW
|
|
1177
|
+
var css_248z$L = ".productinfo-module_variant_container__-y4Uc {\n display: flex;\n align-items: center;\n justify-content: center;\n /* min-width: 10vh;\n height: 5vh; */\n border-radius: 10px;\n background-color: #000;\n color: white;\n padding: 0 6px;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_size_variant_container__vuTAO {\n /* min-width: 5vh !important;\n max-width: 5vh !important;\n height: 5vh !important;\n border-radius: 50% !important; */\n /* padding: 0 2px !important; */\n}\n.productinfo-module_variant_container__-y4Uc:hover {\n /* transform: scale(1.05); */\n}\n.productinfo-module_variant_container_active__OAhmg {\n border: 2px solid green;\n background-color: green;\n}\n.productinfo-module_color_container__c42a9 {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 4vh;\n height: 4vh;\n border: 2px solid #ccc;\n border-radius: 50%;\n overflow: hidden;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_color_container_active__Br2PW {\n padding: 10px;\n border: 2px solid var(--green);\n}\n\n.productinfo-module_color_container_active__Br2PW {\n /* display: flex;\n align-items: center;\n justify-content: center;\n content: '✓';\n color: white; */\n}\n.productinfo-module_color_container__c42a9:hover {\n /* transform: scale(1.1); */\n}\n";
|
|
1178
1178
|
var productinfostyles = {"variant_container":"productinfo-module_variant_container__-y4Uc","size_variant_container":"productinfo-module_size_variant_container__vuTAO","variant_container_active":"productinfo-module_variant_container_active__OAhmg","color_container":"productinfo-module_color_container__c42a9","color_container_active":"productinfo-module_color_container_active__Br2PW"};
|
|
1179
1179
|
styleInject(css_248z$L);
|
|
1180
1180
|
|
|
@@ -1185,11 +1185,11 @@ var css_248z$J = "@media screen and (max-width: 800px) {\n .signup-module_rig
|
|
|
1185
1185
|
var loginstyles = {"rightContainer":"signup-module_rightContainer__yEcoL","rightContainerTrans":"signup-module_rightContainerTrans__fkdBH","rightContainerText":"signup-module_rightContainerText__-pvN-","form_control":"signup-module_form_control__7s76W","anim-shadow":"signup-module_anim-shadow__CsxhG","login_input_icon":"signup-module_login_input_icon__RDTS0","form_control_border_none":"signup-module_form_control_border_none__HjUMS","disabled":"signup-module_disabled__h55ao","leftcontainer":"signup-module_leftcontainer__bqfnN","form_controltextarea":"signup-module_form_controltextarea__-LGz6","checkbox":"signup-module_checkbox__8ejBx","checkbox_label":"signup-module_checkbox_label__d84Q2","checkbox_sub":"signup-module_checkbox_sub__WQLUX","checkboxtranslated":"signup-module_checkboxtranslated__4xHR-","showpassword_input_icon":"signup-module_showpassword_input_icon__cVHRS","showpassword_input_icontrans":"signup-module_showpassword_input_icontrans__vmV5q"};
|
|
1186
1186
|
styleInject(css_248z$J);
|
|
1187
1187
|
|
|
1188
|
-
function ownKeys$
|
|
1189
|
-
function _objectSpread$
|
|
1188
|
+
function ownKeys$2v(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; }
|
|
1189
|
+
function _objectSpread$2v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2v(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1190
1190
|
var selectcustomStyles = {
|
|
1191
1191
|
option: function option(provided, state) {
|
|
1192
|
-
return _objectSpread$
|
|
1192
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1193
1193
|
borderBottom: '1px solid #e6e6e6',
|
|
1194
1194
|
backgroundColor: state.isSelected ? '' : '',
|
|
1195
1195
|
padding: 5,
|
|
@@ -1218,7 +1218,7 @@ var selectcustomStyles = {
|
|
|
1218
1218
|
};
|
|
1219
1219
|
var selectcustomStylesTranslated = {
|
|
1220
1220
|
option: function option(provided, state) {
|
|
1221
|
-
return _objectSpread$
|
|
1221
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1222
1222
|
borderBottom: '1px solid #e6e6e6',
|
|
1223
1223
|
backgroundColor: state.isSelected ? '' : '',
|
|
1224
1224
|
padding: 5,
|
|
@@ -1247,14 +1247,14 @@ var selectcustomStylesTranslated = {
|
|
|
1247
1247
|
};
|
|
1248
1248
|
},
|
|
1249
1249
|
placeholder: function placeholder(provided, state) {
|
|
1250
|
-
return _objectSpread$
|
|
1250
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1251
1251
|
textAlign: 'right'
|
|
1252
1252
|
});
|
|
1253
1253
|
}
|
|
1254
1254
|
};
|
|
1255
1255
|
var defaultstyles = {
|
|
1256
1256
|
option: function option(provided, state) {
|
|
1257
|
-
return _objectSpread$
|
|
1257
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1258
1258
|
borderBottom: '1px solid #e6e6e6',
|
|
1259
1259
|
backgroundColor: state.isSelected ? '' : '',
|
|
1260
1260
|
padding: 5,
|
|
@@ -1282,7 +1282,7 @@ var defaultstyles = {
|
|
|
1282
1282
|
}), _ref;
|
|
1283
1283
|
},
|
|
1284
1284
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1285
|
-
return _objectSpread$
|
|
1285
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1286
1286
|
'&:hover': {
|
|
1287
1287
|
// color: '#eac435',
|
|
1288
1288
|
}
|
|
@@ -1291,7 +1291,7 @@ var defaultstyles = {
|
|
|
1291
1291
|
};
|
|
1292
1292
|
var defaultstylestranslated = {
|
|
1293
1293
|
option: function option(provided, state) {
|
|
1294
|
-
return _objectSpread$
|
|
1294
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1295
1295
|
borderBottom: '1px solid #e6e6e6',
|
|
1296
1296
|
backgroundColor: state.isSelected ? '' : '',
|
|
1297
1297
|
padding: 5,
|
|
@@ -1322,21 +1322,21 @@ var defaultstylestranslated = {
|
|
|
1322
1322
|
};
|
|
1323
1323
|
},
|
|
1324
1324
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1325
|
-
return _objectSpread$
|
|
1325
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1326
1326
|
'&:hover': {
|
|
1327
1327
|
// color: '#eac435',
|
|
1328
1328
|
}
|
|
1329
1329
|
});
|
|
1330
1330
|
},
|
|
1331
1331
|
placeholder: function placeholder(provided, state) {
|
|
1332
|
-
return _objectSpread$
|
|
1332
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1333
1333
|
textAlign: 'right'
|
|
1334
1334
|
});
|
|
1335
1335
|
}
|
|
1336
1336
|
};
|
|
1337
1337
|
var defaultstylesnone = {
|
|
1338
1338
|
option: function option(provided, state) {
|
|
1339
|
-
return _objectSpread$
|
|
1339
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1340
1340
|
borderBottom: '1px solid #e6e6e6',
|
|
1341
1341
|
backgroundColor: state.isSelected ? '' : '',
|
|
1342
1342
|
padding: 5,
|
|
@@ -1364,7 +1364,7 @@ var defaultstylesnone = {
|
|
|
1364
1364
|
};
|
|
1365
1365
|
},
|
|
1366
1366
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1367
|
-
return _objectSpread$
|
|
1367
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1368
1368
|
'&:hover': {
|
|
1369
1369
|
// color: '#eac435',
|
|
1370
1370
|
}
|
|
@@ -1386,6 +1386,10 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1386
1386
|
var sectionproperties = props.actions.sectionproperties;
|
|
1387
1387
|
props.actions.ikimagecredcontext;
|
|
1388
1388
|
var ProductInfoObj = props.actions.ProductInfoObj;
|
|
1389
|
+
var _useState = useState(''),
|
|
1390
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
1391
|
+
_useState2[0];
|
|
1392
|
+
var setcolorvalue = _useState2[1];
|
|
1389
1393
|
var formstyles = {
|
|
1390
1394
|
input_label_name: css({
|
|
1391
1395
|
color: sectionproperties.form_labelcolor,
|
|
@@ -1450,7 +1454,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1450
1454
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1451
1455
|
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1452
1456
|
}
|
|
1453
|
-
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React.createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":")), /*#__PURE__*/React.createElement("div", {
|
|
1457
|
+
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React.createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":", ' ')), /*#__PURE__*/React.createElement("div", {
|
|
1454
1458
|
className: "col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-1",
|
|
1455
1459
|
style: {
|
|
1456
1460
|
paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0
|
|
@@ -1474,8 +1478,14 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1474
1478
|
onClick: function onClick() {
|
|
1475
1479
|
if (optionvaluesitem.isenabled == 1) {
|
|
1476
1480
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1481
|
+
if (optionvaluesitem.valuename == '#000000') {
|
|
1482
|
+
setcolorvalue('Black');
|
|
1483
|
+
} else if (optionvaluesitem.valuename == '#c9b0a1') {
|
|
1484
|
+
setcolorvalue('Beige');
|
|
1485
|
+
}
|
|
1477
1486
|
} else {
|
|
1478
1487
|
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1488
|
+
setcolorvalue('');
|
|
1479
1489
|
}
|
|
1480
1490
|
},
|
|
1481
1491
|
style: {
|
|
@@ -1947,8 +1957,8 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
1947
1957
|
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(Math.round(parseInt(fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2) : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)) * (fetchProductInfoQueryContext.data.data.productinfo.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))));
|
|
1948
1958
|
};
|
|
1949
1959
|
|
|
1950
|
-
function ownKeys$
|
|
1951
|
-
function _objectSpread$
|
|
1960
|
+
function ownKeys$2u(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; }
|
|
1961
|
+
function _objectSpread$2u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2u(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1952
1962
|
var ProductExtraFields = function ProductExtraFields(props) {
|
|
1953
1963
|
var _fetchProductInfoQuer, _css, _fetchProductInfoQuer2;
|
|
1954
1964
|
props.actions.lang;
|
|
@@ -2003,9 +2013,9 @@ var ProductExtraFields = function ProductExtraFields(props) {
|
|
|
2003
2013
|
});
|
|
2004
2014
|
}
|
|
2005
2015
|
setproductextravaluesarray(_toConsumableArray(tempproductextravaluesarray));
|
|
2006
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2016
|
+
var tempaddtocardpayloadobj = _objectSpread$2u({}, addtocardpayloadobj);
|
|
2007
2017
|
tempaddtocardpayloadobj.extrafields = tempproductextravaluesarray;
|
|
2008
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2018
|
+
setaddtocardpayloadobj(_objectSpread$2u({}, tempaddtocardpayloadobj));
|
|
2009
2019
|
};
|
|
2010
2020
|
var formstyles = {
|
|
2011
2021
|
input_label_name: css({
|
|
@@ -2220,8 +2230,8 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2220
2230
|
})))));
|
|
2221
2231
|
};
|
|
2222
2232
|
|
|
2223
|
-
function ownKeys$
|
|
2224
|
-
function _objectSpread$
|
|
2233
|
+
function ownKeys$2t(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; }
|
|
2234
|
+
function _objectSpread$2t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2t(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2225
2235
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2226
2236
|
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40;
|
|
2227
2237
|
var lang = props.actions.lang;
|
|
@@ -2768,11 +2778,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2768
2778
|
}, sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React.createElement("span", {
|
|
2769
2779
|
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
2770
2780
|
onClick: function onClick() {
|
|
2771
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2781
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2772
2782
|
if (tempaddtocardpayloadobj.quantity > 0) {
|
|
2773
2783
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
|
|
2774
2784
|
}
|
|
2775
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2785
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2776
2786
|
}
|
|
2777
2787
|
}, /*#__PURE__*/React.createElement("i", {
|
|
2778
2788
|
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
|
|
@@ -2786,9 +2796,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2786
2796
|
}, addtocardpayloadobj.quantity), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React.createElement("span", {
|
|
2787
2797
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
2788
2798
|
onClick: function onClick() {
|
|
2789
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2799
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2790
2800
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
|
|
2791
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2801
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2792
2802
|
}
|
|
2793
2803
|
}, /*#__PURE__*/React.createElement("i", {
|
|
2794
2804
|
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
|
|
@@ -2813,13 +2823,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2813
2823
|
value: addtocardpayloadobj.quantity,
|
|
2814
2824
|
onChange: function onChange(event) {
|
|
2815
2825
|
if (event.target.value == NaN || event.target.value == undefined || event.target.value == null || event.target.value == '') {
|
|
2816
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2826
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2817
2827
|
tempaddtocardpayloadobj.quantity = 1;
|
|
2818
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2828
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2819
2829
|
} else {
|
|
2820
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2830
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2821
2831
|
tempaddtocardpayloadobj.quantity = parseInt(event.target.value);
|
|
2822
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2832
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2823
2833
|
}
|
|
2824
2834
|
}
|
|
2825
2835
|
})), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("button", {
|
|
@@ -3122,8 +3132,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3122
3132
|
}, ShareButtonsContainer()))))))));
|
|
3123
3133
|
};
|
|
3124
3134
|
|
|
3125
|
-
function ownKeys$
|
|
3126
|
-
function _objectSpread$
|
|
3135
|
+
function ownKeys$2s(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; }
|
|
3136
|
+
function _objectSpread$2s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2s(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3127
3137
|
var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
3128
3138
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer13, _fetchProductInfoQuer14;
|
|
3129
3139
|
var langdetect = props.actions.langdetect;
|
|
@@ -3164,7 +3174,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3164
3174
|
slots = _useState6[0],
|
|
3165
3175
|
setslots = _useState6[1];
|
|
3166
3176
|
useEffect(function () {
|
|
3167
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3177
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3168
3178
|
item_type: 'service'
|
|
3169
3179
|
}));
|
|
3170
3180
|
}, [tabsarray]);
|
|
@@ -3176,16 +3186,16 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3176
3186
|
if (diffDays.toString() != 'NaN') {
|
|
3177
3187
|
if (date2 <= date1) {
|
|
3178
3188
|
NotificationManager.warning('', 'Please choose another date.');
|
|
3179
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3189
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3180
3190
|
quantity: 0
|
|
3181
3191
|
}));
|
|
3182
3192
|
} else {
|
|
3183
3193
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
|
|
3184
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3194
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3185
3195
|
quantity: diffDays
|
|
3186
3196
|
}));
|
|
3187
3197
|
} else {
|
|
3188
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3198
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3189
3199
|
quantity: 0
|
|
3190
3200
|
}));
|
|
3191
3201
|
NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
@@ -3321,7 +3331,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3321
3331
|
min: 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.serviceinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.reservationstarts,
|
|
3322
3332
|
max: 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 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.serviceinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.reservationends,
|
|
3323
3333
|
onChange: function onChange(event) {
|
|
3324
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3334
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3325
3335
|
from: event.target.value
|
|
3326
3336
|
}));
|
|
3327
3337
|
}
|
|
@@ -3341,7 +3351,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3341
3351
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
3342
3352
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
3343
3353
|
onChange: function onChange(event) {
|
|
3344
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3354
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3345
3355
|
to: event.target.value
|
|
3346
3356
|
}));
|
|
3347
3357
|
}
|
|
@@ -3361,7 +3371,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3361
3371
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
3362
3372
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
3363
3373
|
onChange: function onChange(event) {
|
|
3364
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3374
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3365
3375
|
date: event.target.value
|
|
3366
3376
|
}));
|
|
3367
3377
|
setcurrentmutatestate('/fetchserviceslots');
|
|
@@ -3412,7 +3422,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3412
3422
|
color: ischoosed ? sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? sectionproperties.generalbtn_textColoronhover : sectionproperties.generalbtn_textColor : ''
|
|
3413
3423
|
},
|
|
3414
3424
|
onClick: function onClick() {
|
|
3415
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3425
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3416
3426
|
time: item.slot
|
|
3417
3427
|
}));
|
|
3418
3428
|
}
|
|
@@ -3421,7 +3431,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3421
3431
|
}, /*#__PURE__*/React.createElement("button", {
|
|
3422
3432
|
"class": TabsStyles.booknow_btn_resp + ' allcentered ',
|
|
3423
3433
|
onClick: function onClick() {
|
|
3424
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3434
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3425
3435
|
time: item.slot
|
|
3426
3436
|
}));
|
|
3427
3437
|
}
|
|
@@ -3495,7 +3505,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3495
3505
|
"class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
|
|
3496
3506
|
style: {},
|
|
3497
3507
|
onClick: function onClick() {
|
|
3498
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3508
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3499
3509
|
time: item.slot
|
|
3500
3510
|
}));
|
|
3501
3511
|
}
|
|
@@ -4199,8 +4209,8 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4199
4209
|
}, StoreInfoprops()))));
|
|
4200
4210
|
};
|
|
4201
4211
|
|
|
4202
|
-
function ownKeys$
|
|
4203
|
-
function _objectSpread$
|
|
4212
|
+
function ownKeys$2r(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; }
|
|
4213
|
+
function _objectSpread$2r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2r(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4204
4214
|
var AddReview = function AddReview(props) {
|
|
4205
4215
|
var _css;
|
|
4206
4216
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -4252,7 +4262,7 @@ var AddReview = function AddReview(props) {
|
|
|
4252
4262
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
4253
4263
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4254
4264
|
});
|
|
4255
|
-
setsectionproperties(_objectSpread$
|
|
4265
|
+
setsectionproperties(_objectSpread$2r({}, secpropobj));
|
|
4256
4266
|
}
|
|
4257
4267
|
}, [StatePagePropertiesContext]);
|
|
4258
4268
|
useEffect(function () {
|
|
@@ -4261,7 +4271,7 @@ var AddReview = function AddReview(props) {
|
|
|
4261
4271
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
4262
4272
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4263
4273
|
});
|
|
4264
|
-
setsectionproperties(_objectSpread$
|
|
4274
|
+
setsectionproperties(_objectSpread$2r({}, secpropobj));
|
|
4265
4275
|
}, [pageindexcontext]);
|
|
4266
4276
|
var reviewstyles = {
|
|
4267
4277
|
submitreviewbtn: css({
|
|
@@ -4387,9 +4397,9 @@ var AddReview = function AddReview(props) {
|
|
|
4387
4397
|
}),
|
|
4388
4398
|
activeColor: "#ffd700",
|
|
4389
4399
|
onChange: function onChange(event) {
|
|
4390
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4400
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4391
4401
|
tempreviewpayloadobj.reviewrate = event;
|
|
4392
|
-
setreviewpayloadobj(_objectSpread$
|
|
4402
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4393
4403
|
}
|
|
4394
4404
|
})))))), /*#__PURE__*/React.createElement("div", {
|
|
4395
4405
|
"class": "col-lg-12"
|
|
@@ -4403,9 +4413,9 @@ var AddReview = function AddReview(props) {
|
|
|
4403
4413
|
"class": reviewstyles.form_control,
|
|
4404
4414
|
value: reviewpayloadobj.reviewname,
|
|
4405
4415
|
onChange: function onChange(event) {
|
|
4406
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4416
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4407
4417
|
tempreviewpayloadobj.reviewname = event.target.value;
|
|
4408
|
-
setreviewpayloadobj(_objectSpread$
|
|
4418
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4409
4419
|
}
|
|
4410
4420
|
})), /*#__PURE__*/React.createElement("div", {
|
|
4411
4421
|
"class": "col-lg-12 mb-4"
|
|
@@ -4415,9 +4425,9 @@ var AddReview = function AddReview(props) {
|
|
|
4415
4425
|
"class": reviewstyles.form_control,
|
|
4416
4426
|
value: reviewpayloadobj.reviewtitle,
|
|
4417
4427
|
onChange: function onChange(event) {
|
|
4418
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4428
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4419
4429
|
tempreviewpayloadobj.reviewtitle = event.target.value;
|
|
4420
|
-
setreviewpayloadobj(_objectSpread$
|
|
4430
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4421
4431
|
}
|
|
4422
4432
|
})), /*#__PURE__*/React.createElement("div", {
|
|
4423
4433
|
"class": "col-lg-12 mb-4"
|
|
@@ -4428,9 +4438,9 @@ var AddReview = function AddReview(props) {
|
|
|
4428
4438
|
"class": reviewstyles.form_control + ' form_control ',
|
|
4429
4439
|
value: reviewpayloadobj.reviewbody,
|
|
4430
4440
|
onChange: function onChange(event) {
|
|
4431
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4441
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4432
4442
|
tempreviewpayloadobj.reviewbody = event.target.value;
|
|
4433
|
-
setreviewpayloadobj(_objectSpread$
|
|
4443
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4434
4444
|
},
|
|
4435
4445
|
style: {
|
|
4436
4446
|
resize: 'none',
|
|
@@ -4465,8 +4475,8 @@ var AddReview = function AddReview(props) {
|
|
|
4465
4475
|
}, langdetect == 'en' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)));
|
|
4466
4476
|
};
|
|
4467
4477
|
|
|
4468
|
-
function ownKeys$
|
|
4469
|
-
function _objectSpread$
|
|
4478
|
+
function ownKeys$2q(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; }
|
|
4479
|
+
function _objectSpread$2q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4470
4480
|
var ProductReviews = function ProductReviews(props) {
|
|
4471
4481
|
var _fetchProductInfoQuer, _fetchProductInfoQuer3, _fetchProductInfoQuer4;
|
|
4472
4482
|
props.actions.lang;
|
|
@@ -4700,7 +4710,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4700
4710
|
size: "md",
|
|
4701
4711
|
"class": "reviewmodal"
|
|
4702
4712
|
}, /*#__PURE__*/React.createElement(Modal.Body, null, /*#__PURE__*/React.createElement(AddReview, {
|
|
4703
|
-
actions: _objectSpread$
|
|
4713
|
+
actions: _objectSpread$2q(_objectSpread$2q({}, actions), {}, {
|
|
4704
4714
|
productid: productid,
|
|
4705
4715
|
canuserreview: canuserreview,
|
|
4706
4716
|
addreviewcallback: addreviewcallback
|
|
@@ -4708,8 +4718,8 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4708
4718
|
}))));
|
|
4709
4719
|
};
|
|
4710
4720
|
|
|
4711
|
-
function ownKeys$
|
|
4712
|
-
function _objectSpread$
|
|
4721
|
+
function ownKeys$2p(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; }
|
|
4722
|
+
function _objectSpread$2p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2p(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4713
4723
|
var Productinfo = function Productinfo(props) {
|
|
4714
4724
|
var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
|
|
4715
4725
|
var _useState = useState({}),
|
|
@@ -4738,7 +4748,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4738
4748
|
setfetchProductInfoQueryContext = _useState4[1];
|
|
4739
4749
|
useEffect(function () {
|
|
4740
4750
|
if (fetchProductInfoQueryContextProps.isSuccess) {
|
|
4741
|
-
setProductInfoObj(_objectSpread$
|
|
4751
|
+
setProductInfoObj(_objectSpread$2p({}, fetchProductInfoQueryContextProps.data));
|
|
4742
4752
|
setfetchProductInfoQueryContext(fetchProductInfoQueryContextProps);
|
|
4743
4753
|
}
|
|
4744
4754
|
}, [props.actions, props, fetchProductInfoQueryContextProps.data, fetchProductInfoQueryContextProps.isSuccess]);
|
|
@@ -4850,7 +4860,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4850
4860
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
4851
4861
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4852
4862
|
});
|
|
4853
|
-
setsectionproperties(_objectSpread$
|
|
4863
|
+
setsectionproperties(_objectSpread$2p({}, secpropobj));
|
|
4854
4864
|
setTabIndex(0);
|
|
4855
4865
|
settabname('descriptiontab');
|
|
4856
4866
|
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom') {
|
|
@@ -4890,7 +4900,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4890
4900
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
4891
4901
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4892
4902
|
});
|
|
4893
|
-
setsectionproperties(_objectSpread$
|
|
4903
|
+
setsectionproperties(_objectSpread$2p({}, secpropobj));
|
|
4894
4904
|
}, [pageindexcontext]);
|
|
4895
4905
|
useEffect(function () {
|
|
4896
4906
|
if (productidparam == undefined) {
|
|
@@ -4910,12 +4920,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
4910
4920
|
}
|
|
4911
4921
|
}, [ProductInfoObj, isloaded]);
|
|
4912
4922
|
var productidassigner = function productidassigner(productid) {
|
|
4913
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
4923
|
+
var tempFetchQueriesEngineContext = _objectSpread$2p({}, FetchQueriesEngineContext);
|
|
4914
4924
|
tempFetchQueriesEngineContext.fetchproductinfo = true;
|
|
4915
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
4916
|
-
var tempfetchproductinfoObjContext = _objectSpread$
|
|
4925
|
+
setFetchQueriesEngineContext(_objectSpread$2p({}, tempFetchQueriesEngineContext));
|
|
4926
|
+
var tempfetchproductinfoObjContext = _objectSpread$2p({}, fetchproductinfoObjContext);
|
|
4917
4927
|
tempfetchproductinfoObjContext.productid = productid;
|
|
4918
|
-
setfetchproductinfoObjContext(_objectSpread$
|
|
4928
|
+
setfetchproductinfoObjContext(_objectSpread$2p({}, tempfetchproductinfoObjContext));
|
|
4919
4929
|
};
|
|
4920
4930
|
useEffect(function () {
|
|
4921
4931
|
if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
@@ -4952,9 +4962,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
4952
4962
|
}
|
|
4953
4963
|
setproductimagesarray([].concat(tempproductimagesarray));
|
|
4954
4964
|
variantchecker();
|
|
4955
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
4965
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
4956
4966
|
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext.data.data.productinfo.productid;
|
|
4957
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
4967
|
+
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
4958
4968
|
setRelatedProductsTagid(fetchProductInfoQueryContext.data.data.productinfo.maintagid);
|
|
4959
4969
|
if ((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.maintagid) != null && (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.maintagid) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.length) != 0) {
|
|
4960
4970
|
GeneralAPIMutationContext.mutate({
|
|
@@ -5001,7 +5011,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5001
5011
|
});
|
|
5002
5012
|
variantchecker();
|
|
5003
5013
|
variantcompleting();
|
|
5004
|
-
setProductInfoObj(_objectSpread$
|
|
5014
|
+
setProductInfoObj(_objectSpread$2p({}, productarr));
|
|
5005
5015
|
};
|
|
5006
5016
|
var variantchecker = function variantchecker() {
|
|
5007
5017
|
var productarr = ProductInfoObj;
|
|
@@ -5075,16 +5085,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
5075
5085
|
});
|
|
5076
5086
|
}
|
|
5077
5087
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
5078
|
-
setProductInfoObj(_objectSpread$
|
|
5088
|
+
setProductInfoObj(_objectSpread$2p({}, productarr));
|
|
5079
5089
|
setisloaded(true);
|
|
5080
5090
|
}
|
|
5081
5091
|
}
|
|
5082
5092
|
};
|
|
5083
5093
|
var variantcompleting = function variantcompleting() {
|
|
5084
5094
|
setvariantindexcompleted('');
|
|
5085
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5095
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5086
5096
|
tempaddtocardpayloadobj.variantid = '';
|
|
5087
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
5097
|
+
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
5088
5098
|
var productarr = ProductInfoObj;
|
|
5089
5099
|
var selectedoptionsvalues = [];
|
|
5090
5100
|
productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
|
|
@@ -5117,7 +5127,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5117
5127
|
NotificationManager.warning('', 'Variant Not Found');
|
|
5118
5128
|
} else {
|
|
5119
5129
|
variantid = variantobj.variantid;
|
|
5120
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5130
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5121
5131
|
tempaddtocardpayloadobj.variantid = variantid;
|
|
5122
5132
|
var variantimageindex = 0;
|
|
5123
5133
|
productimagesarray === null || productimagesarray === void 0 || productimagesarray.forEach(function (tempimageitem, tempimageindex) {
|
|
@@ -5133,14 +5143,14 @@ var Productinfo = function Productinfo(props) {
|
|
|
5133
5143
|
setvariantsku(variantobj === null || variantobj === void 0 ? void 0 : variantobj.sku);
|
|
5134
5144
|
// alert(variantsku);
|
|
5135
5145
|
setcurrentshowingimageindex(variantimageindex);
|
|
5136
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
5146
|
+
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
5137
5147
|
setvariantindexcompleted(ProductVariantIndex);
|
|
5138
5148
|
setvariantindex(ProductVariantIndex);
|
|
5139
5149
|
}
|
|
5140
5150
|
}
|
|
5141
5151
|
});
|
|
5142
5152
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
5143
|
-
setProductInfoObj(_objectSpread$
|
|
5153
|
+
setProductInfoObj(_objectSpread$2p({}, productarr));
|
|
5144
5154
|
};
|
|
5145
5155
|
var addtocartfunc = function addtocartfunc(forcetocheckout) {
|
|
5146
5156
|
var runfunc = false;
|
|
@@ -5161,7 +5171,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5161
5171
|
}
|
|
5162
5172
|
if (runfunc == true) {
|
|
5163
5173
|
var _fetchProductInfoQuer7, _fetchProductInfoQuer8;
|
|
5164
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5174
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5165
5175
|
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.isproductforcedtocheckout;
|
|
5166
5176
|
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.vendorproviderid;
|
|
5167
5177
|
if (forcetocheckoutvalue != undefined) {
|
|
@@ -5185,7 +5195,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5185
5195
|
};
|
|
5186
5196
|
var validateextrafields = function validateextrafields() {
|
|
5187
5197
|
var _fetchProductInfoQuer15;
|
|
5188
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5198
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5189
5199
|
var status = false;
|
|
5190
5200
|
var reason = '';
|
|
5191
5201
|
var missingitemsfound = [];
|
|
@@ -6224,7 +6234,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6224
6234
|
}))), /*#__PURE__*/React.createElement(Box, {
|
|
6225
6235
|
"class": "w-100 mt-5 mb-4"
|
|
6226
6236
|
}, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
6227
|
-
actions: _objectSpread$
|
|
6237
|
+
actions: _objectSpread$2p(_objectSpread$2p({}, actions), {}, {
|
|
6228
6238
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
6229
6239
|
sectionproperties: sectionproperties
|
|
6230
6240
|
})
|
|
@@ -6272,7 +6282,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6272
6282
|
})), tabname == 'reviewstab' && /*#__PURE__*/React.createElement("div", {
|
|
6273
6283
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
6274
6284
|
}, /*#__PURE__*/React.createElement(ProductReviews, {
|
|
6275
|
-
actions: _objectSpread$
|
|
6285
|
+
actions: _objectSpread$2p(_objectSpread$2p({}, actions), {}, {
|
|
6276
6286
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
6277
6287
|
sectionproperties: sectionproperties
|
|
6278
6288
|
})
|
|
@@ -6289,8 +6299,8 @@ var css_248z$I = "/* Side Nav */\n.staticroutersidenav-module_vertical_nav_menu_
|
|
|
6289
6299
|
var staticroutersidenav = {"vertical_nav_menu":"staticroutersidenav-module_vertical_nav_menu__p0mIj","sidebar_item":"staticroutersidenav-module_sidebar_item__3F9Q1","sidenav_page_name":"staticroutersidenav-module_sidenav_page_name__46AJV","sidenav_icon_cont":"staticroutersidenav-module_sidenav_icon_cont__O8YSe","metismenu_icon":"staticroutersidenav-module_metismenu_icon__EcRZ1","sidenav_active":"staticroutersidenav-module_sidenav_active__IjRo0","horizontal_nav_menu":"staticroutersidenav-module_horizontal_nav_menu__6V32S","sidebar_itemlastchild":"staticroutersidenav-module_sidebar_itemlastchild__9O187"};
|
|
6290
6300
|
styleInject(css_248z$I);
|
|
6291
6301
|
|
|
6292
|
-
function ownKeys$
|
|
6293
|
-
function _objectSpread$
|
|
6302
|
+
function ownKeys$2o(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; }
|
|
6303
|
+
function _objectSpread$2o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2o(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6294
6304
|
var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
6295
6305
|
var _useState = useState(props.currentpageprops),
|
|
6296
6306
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -6326,7 +6336,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
6326
6336
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
6327
6337
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6328
6338
|
});
|
|
6329
|
-
setsectionproperties(_objectSpread$
|
|
6339
|
+
setsectionproperties(_objectSpread$2o({}, secpropobj));
|
|
6330
6340
|
}
|
|
6331
6341
|
}, [CurrentPageId]);
|
|
6332
6342
|
var styles = {
|
|
@@ -6492,8 +6502,8 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
6492
6502
|
}))))));
|
|
6493
6503
|
};
|
|
6494
6504
|
|
|
6495
|
-
function ownKeys$
|
|
6496
|
-
function _objectSpread$
|
|
6505
|
+
function ownKeys$2n(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; }
|
|
6506
|
+
function _objectSpread$2n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2n(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6497
6507
|
var Ordershistory = function Ordershistory(props) {
|
|
6498
6508
|
var _props$actions2, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchorderhistoryQue2, _fetchorderhistoryQue3, _fetchorderhistoryQue4, _fetchorderhistoryQue5;
|
|
6499
6509
|
var lang = props.actions.lang;
|
|
@@ -6546,9 +6556,9 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
6546
6556
|
setorderindex = _useState14[1];
|
|
6547
6557
|
useEffect(function () {
|
|
6548
6558
|
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) == true) {
|
|
6549
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
6559
|
+
var tempFetchQueriesEngineContext = _objectSpread$2n({}, FetchQueriesEngineContext);
|
|
6550
6560
|
tempFetchQueriesEngineContext.orderhistory = true;
|
|
6551
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
6561
|
+
setFetchQueriesEngineContext(_objectSpread$2n({}, tempFetchQueriesEngineContext));
|
|
6552
6562
|
}
|
|
6553
6563
|
}, []);
|
|
6554
6564
|
var _useState15 = useState(''),
|
|
@@ -6569,7 +6579,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
6569
6579
|
props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.StatePagePropertiesContext) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageobj) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageproperties) === null || _props$actions === void 0 || _props$actions.forEach(function (arrayItem, arrayindex) {
|
|
6570
6580
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6571
6581
|
});
|
|
6572
|
-
setsectionproperties(_objectSpread$
|
|
6582
|
+
setsectionproperties(_objectSpread$2n({}, secpropobj));
|
|
6573
6583
|
}, [props === null || props === void 0 || (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
6574
6584
|
var orderhistory_cssstyles = {
|
|
6575
6585
|
variantcontainer: css({
|
|
@@ -7520,8 +7530,8 @@ var css_248z$H = ".wishlist-module_wishlist_card__sUXul .wishlist-module_image_c
|
|
|
7520
7530
|
var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
|
|
7521
7531
|
styleInject(css_248z$H);
|
|
7522
7532
|
|
|
7523
|
-
function ownKeys$
|
|
7524
|
-
function _objectSpread$
|
|
7533
|
+
function ownKeys$2m(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; }
|
|
7534
|
+
function _objectSpread$2m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2m(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7525
7535
|
var Wishlist = function Wishlist(props) {
|
|
7526
7536
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
7527
7537
|
var lang = props.actions.lang;
|
|
@@ -7549,13 +7559,13 @@ var Wishlist = function Wishlist(props) {
|
|
|
7549
7559
|
StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
7550
7560
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
7551
7561
|
});
|
|
7552
|
-
setsectionproperties(_objectSpread$
|
|
7562
|
+
setsectionproperties(_objectSpread$2m({}, secpropobj));
|
|
7553
7563
|
}
|
|
7554
7564
|
}, [StatePagePropertiesContext]);
|
|
7555
7565
|
useEffect(function () {
|
|
7556
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
7566
|
+
var tempFetchQueriesEngineContext = _objectSpread$2m({}, FetchQueriesEngineContext);
|
|
7557
7567
|
tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
|
|
7558
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
7568
|
+
setFetchQueriesEngineContext(_objectSpread$2m({}, tempFetchQueriesEngineContext));
|
|
7559
7569
|
}, []);
|
|
7560
7570
|
useEffect(function () {
|
|
7561
7571
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
@@ -7564,7 +7574,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7564
7574
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
7565
7575
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
7566
7576
|
});
|
|
7567
|
-
setsectionproperties(_objectSpread$
|
|
7577
|
+
setsectionproperties(_objectSpread$2m({}, secpropobj));
|
|
7568
7578
|
}
|
|
7569
7579
|
}, [StatePagePropertiesContext]);
|
|
7570
7580
|
var wishlist_cssstyles = {
|
|
@@ -7973,8 +7983,8 @@ var Wishlist = function Wishlist(props) {
|
|
|
7973
7983
|
})));
|
|
7974
7984
|
};
|
|
7975
7985
|
|
|
7976
|
-
function ownKeys$
|
|
7977
|
-
function _objectSpread$
|
|
7986
|
+
function ownKeys$2l(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; }
|
|
7987
|
+
function _objectSpread$2l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2l(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7978
7988
|
var Viewcart = function Viewcart(props) {
|
|
7979
7989
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8;
|
|
7980
7990
|
var lang = props.actions.lang;
|
|
@@ -8006,7 +8016,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
8006
8016
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
8007
8017
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
8008
8018
|
});
|
|
8009
|
-
setsectionproperties(_objectSpread$
|
|
8019
|
+
setsectionproperties(_objectSpread$2l({}, secpropobj));
|
|
8010
8020
|
}
|
|
8011
8021
|
}, [StatePagePropertiesContext]);
|
|
8012
8022
|
useEffect(function () {
|
|
@@ -8594,8 +8604,8 @@ var css_248z$G = "/* Forms */\n.form-module_form_control__4-RGw {\n display:
|
|
|
8594
8604
|
var formstyles = {"form_control":"form-module_form_control__4-RGw","textarea":"form-module_textarea__zG0ed","form_control_border_none":"form-module_form_control_border_none__TJvdZ","disabled":"form-module_disabled__AtvSI","input_label_name":"form-module_input_label_name__416wN","input_label_name-bolder":"form-module_input_label_name-bolder__UQn0a","input_icon":"form-module_input_icon__X-CzC","radiobtn_label":"form-module_radiobtn_label__-4Hoi","text-grey":"form-module_text-grey__JdZMY","radiobtn_label_translated":"form-module_radiobtn_label_translated__WN5Jj","checkbox":"form-module_checkbox__XPkWy","checkbox_label":"form-module_checkbox_label__VvcKs","checkbox_sub":"form-module_checkbox_sub__QWYil","checkboxtranslated":"form-module_checkboxtranslated__zvEV-"};
|
|
8595
8605
|
styleInject(css_248z$G);
|
|
8596
8606
|
|
|
8597
|
-
function ownKeys$
|
|
8598
|
-
function _objectSpread$
|
|
8607
|
+
function ownKeys$2k(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; }
|
|
8608
|
+
function _objectSpread$2k(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2k(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2k(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8599
8609
|
var Select$3 = /*#__PURE__*/React.lazy(function () {
|
|
8600
8610
|
return import('react-select');
|
|
8601
8611
|
});
|
|
@@ -8654,7 +8664,7 @@ var Checkout = function Checkout(props) {
|
|
|
8654
8664
|
props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.StatePagePropertiesContext) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageobj) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageproperties) === null || _props$actions === void 0 || _props$actions.forEach(function (arrayItem, arrayindex) {
|
|
8655
8665
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
8656
8666
|
});
|
|
8657
|
-
setsectionproperties(_objectSpread$
|
|
8667
|
+
setsectionproperties(_objectSpread$2k({}, secpropobj));
|
|
8658
8668
|
}, [props.actions.StatePagePropertiesContext]);
|
|
8659
8669
|
useEffect(function () {
|
|
8660
8670
|
var Canorder = false;
|
|
@@ -8674,10 +8684,10 @@ var Checkout = function Checkout(props) {
|
|
|
8674
8684
|
}
|
|
8675
8685
|
if (Canorder == true) {
|
|
8676
8686
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7;
|
|
8677
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
8687
|
+
var tempFetchQueriesEngineContext = _objectSpread$2k({}, FetchQueriesEngineContext);
|
|
8678
8688
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
8679
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
8680
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
8689
|
+
setFetchQueriesEngineContext(_objectSpread$2k({}, tempFetchQueriesEngineContext));
|
|
8690
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
8681
8691
|
if (
|
|
8682
8692
|
// Aya
|
|
8683
8693
|
!fetchcustomercartQueryContext.isFetching && fetchcustomercartQueryContext.isSuccess && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart.countryid) != null &&
|
|
@@ -8694,7 +8704,7 @@ var Checkout = function Checkout(props) {
|
|
|
8694
8704
|
var _fetchcustomercartQue8;
|
|
8695
8705
|
tempFetchTabexStatesPayloadobjContext.state_id = fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue8 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.customercart.stateid;
|
|
8696
8706
|
}
|
|
8697
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
8707
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2k({}, tempFetchTabexStatesPayloadobjContext));
|
|
8698
8708
|
} else {
|
|
8699
8709
|
// NotificationManager.warning('', lang.pleaselogintocheckout);
|
|
8700
8710
|
routingcountext(StaticPagesLinksContext.Login);
|
|
@@ -9561,10 +9571,10 @@ var Checkout = function Checkout(props) {
|
|
|
9561
9571
|
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.customercart.countryid);
|
|
9562
9572
|
}),
|
|
9563
9573
|
onChange: function onChange(option) {
|
|
9564
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
9574
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
9565
9575
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
9566
9576
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
9567
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
9577
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2k({}, tempFetchTabexStatesPayloadobjContext));
|
|
9568
9578
|
cartinfoupdater('countryid', option.id);
|
|
9569
9579
|
},
|
|
9570
9580
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -9609,10 +9619,10 @@ var Checkout = function Checkout(props) {
|
|
|
9609
9619
|
onChange: function onChange(option) {
|
|
9610
9620
|
var _fetchcustomercartQue60;
|
|
9611
9621
|
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 || (_fetchcustomercartQue60 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.countryid.length) != 0) {
|
|
9612
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
9622
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
9613
9623
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
9614
9624
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
9615
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
9625
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2k({}, tempFetchTabexStatesPayloadobjContext));
|
|
9616
9626
|
cartinfoupdater('stateid', option.id);
|
|
9617
9627
|
} else {
|
|
9618
9628
|
NotificationManager.warning('', 'Please Choose Country Or State');
|
|
@@ -9976,8 +9986,8 @@ var Checkout = function Checkout(props) {
|
|
|
9976
9986
|
}, Mycart())))));
|
|
9977
9987
|
};
|
|
9978
9988
|
|
|
9979
|
-
function ownKeys$
|
|
9980
|
-
function _objectSpread$
|
|
9989
|
+
function ownKeys$2j(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; }
|
|
9990
|
+
function _objectSpread$2j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2j(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9981
9991
|
var VendorPage = function VendorPage(props) {
|
|
9982
9992
|
var _useState = useState(''),
|
|
9983
9993
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -10010,7 +10020,7 @@ var VendorPage = function VendorPage(props) {
|
|
|
10010
10020
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
10011
10021
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
10012
10022
|
});
|
|
10013
|
-
setsectionproperties(_objectSpread$
|
|
10023
|
+
setsectionproperties(_objectSpread$2j({}, secpropobj));
|
|
10014
10024
|
}
|
|
10015
10025
|
}, [StatePagePropertiesContext]);
|
|
10016
10026
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -10133,8 +10143,8 @@ var VendorPage = function VendorPage(props) {
|
|
|
10133
10143
|
})));
|
|
10134
10144
|
};
|
|
10135
10145
|
|
|
10136
|
-
function ownKeys$
|
|
10137
|
-
function _objectSpread$
|
|
10146
|
+
function ownKeys$2i(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; }
|
|
10147
|
+
function _objectSpread$2i(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2i(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2i(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10138
10148
|
var Select$2 = /*#__PURE__*/React.lazy(function () {
|
|
10139
10149
|
return import('react-select');
|
|
10140
10150
|
});
|
|
@@ -10244,46 +10254,46 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10244
10254
|
}
|
|
10245
10255
|
}, [fetchAuthorizationQueryContext.isSuccess]);
|
|
10246
10256
|
useEffect(function () {
|
|
10247
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
10257
|
+
var tempFetchQueriesEngineContext = _objectSpread$2i({}, FetchQueriesEngineContext);
|
|
10248
10258
|
tempFetchQueriesEngineContext.institutecustomerinfosignup = true;
|
|
10249
10259
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
10250
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
10251
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
10260
|
+
setFetchQueriesEngineContext(_objectSpread$2i({}, tempFetchQueriesEngineContext));
|
|
10261
|
+
var tempFetchQueriesEngineContext = _objectSpread$2i({}, FetchQueriesEngineContext);
|
|
10252
10262
|
}, []);
|
|
10253
10263
|
useEffect(function () {
|
|
10254
10264
|
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
10255
|
-
setsectionproperties(_objectSpread$
|
|
10265
|
+
setsectionproperties(_objectSpread$2i({}, props.sectionpropertiesprops));
|
|
10256
10266
|
}
|
|
10257
10267
|
}, [props.sectionpropertiesprops]);
|
|
10258
10268
|
useEffect(function () {
|
|
10259
10269
|
if (fetchinstitutecustomerinfosignupQueryContext.isSuccess) {
|
|
10260
10270
|
if (authdetailsContext.loggedin == true) {
|
|
10261
|
-
var tempcustomerinfoobj = _objectSpread$
|
|
10262
|
-
setpayloadobj(_objectSpread$
|
|
10263
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10271
|
+
var tempcustomerinfoobj = _objectSpread$2i({}, fetchinstitutecustomerinfosignupQueryContext.data.data.customerinfo);
|
|
10272
|
+
setpayloadobj(_objectSpread$2i({}, tempcustomerinfoobj));
|
|
10273
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2i({}, FetchTabexStatesPayloadobjContext);
|
|
10264
10274
|
if (tempcustomerinfoobj.countryid != null) {
|
|
10265
10275
|
tempFetchTabexStatesPayloadobjContext.country_id = tempcustomerinfoobj.countryid;
|
|
10266
10276
|
}
|
|
10267
10277
|
if (tempcustomerinfoobj.stateid != null) {
|
|
10268
10278
|
tempFetchTabexStatesPayloadobjContext.state_id = tempcustomerinfoobj.stateid;
|
|
10269
10279
|
}
|
|
10270
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10280
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2i({}, tempFetchTabexStatesPayloadobjContext));
|
|
10271
10281
|
setdataloaded(true);
|
|
10272
10282
|
} else {
|
|
10273
10283
|
var _fetchinstitutecustom;
|
|
10274
|
-
var tempcustomerinfoobj = _objectSpread$
|
|
10284
|
+
var tempcustomerinfoobj = _objectSpread$2i({}, payloadobj);
|
|
10275
10285
|
if (Array.isArray(fetchinstitutecustomerinfosignupQueryContext === null || fetchinstitutecustomerinfosignupQueryContext === void 0 || (_fetchinstitutecustom = fetchinstitutecustomerinfosignupQueryContext.data) === null || _fetchinstitutecustom === void 0 || (_fetchinstitutecustom = _fetchinstitutecustom.data) === null || _fetchinstitutecustom === void 0 ? void 0 : _fetchinstitutecustom.instsignupformvalues)) {
|
|
10276
10286
|
tempcustomerinfoobj.instsignupformvalues = _toConsumableArray(fetchinstitutecustomerinfosignupQueryContext.data.data.instsignupformvalues);
|
|
10277
10287
|
}
|
|
10278
|
-
setpayloadobj(_objectSpread$
|
|
10288
|
+
setpayloadobj(_objectSpread$2i({}, tempcustomerinfoobj));
|
|
10279
10289
|
setdataloaded(true);
|
|
10280
10290
|
}
|
|
10281
10291
|
}
|
|
10282
10292
|
}, [fetchinstitutecustomerinfosignupQueryContext.isSuccess, fetchinstitutecustomerinfosignupQueryContext.data, authdetailsContext]);
|
|
10283
10293
|
var payloadobjchange = function payloadobjchange(key, value) {
|
|
10284
|
-
var temppayloadobj = _objectSpread$
|
|
10294
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10285
10295
|
temppayloadobj[key] = value;
|
|
10286
|
-
setpayloadobj(_objectSpread$
|
|
10296
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10287
10297
|
};
|
|
10288
10298
|
var validateEmailstring = function validateEmailstring(email) {
|
|
10289
10299
|
return String(email).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);
|
|
@@ -10355,7 +10365,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10355
10365
|
};
|
|
10356
10366
|
var signupbuttonfunc = function signupbuttonfunc() {
|
|
10357
10367
|
if (verifypayload() == true) {
|
|
10358
|
-
var temppayloadobj = _objectSpread$
|
|
10368
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10359
10369
|
if (authdetailsContext.loggedin == true) {
|
|
10360
10370
|
temppayloadobj.functype = 'edit';
|
|
10361
10371
|
} else {
|
|
@@ -10512,10 +10522,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10512
10522
|
autoFormat: true,
|
|
10513
10523
|
value: payloadobj.mobile,
|
|
10514
10524
|
onChange: function onChange(event, country) {
|
|
10515
|
-
var temp = _objectSpread$
|
|
10525
|
+
var temp = _objectSpread$2i({}, payloadobj);
|
|
10516
10526
|
temp.mobile = event;
|
|
10517
10527
|
temp.countrydialcode = country.dialCode;
|
|
10518
|
-
setpayloadobj(_objectSpread$
|
|
10528
|
+
setpayloadobj(_objectSpread$2i({}, temp));
|
|
10519
10529
|
// payloadobjchange('mobile', event);
|
|
10520
10530
|
|
|
10521
10531
|
// alert(JSON.stringify(country));
|
|
@@ -10572,10 +10582,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10572
10582
|
return option.id == payloadobj.countryid;
|
|
10573
10583
|
}),
|
|
10574
10584
|
onChange: function onChange(option) {
|
|
10575
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10585
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2i({}, FetchTabexStatesPayloadobjContext);
|
|
10576
10586
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
10577
10587
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
10578
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10588
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2i({}, tempFetchTabexStatesPayloadobjContext));
|
|
10579
10589
|
payloadobjchange('countryid', option.id);
|
|
10580
10590
|
},
|
|
10581
10591
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -10624,10 +10634,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10624
10634
|
return option.id == payloadobj.stateid;
|
|
10625
10635
|
}),
|
|
10626
10636
|
onChange: function onChange(option) {
|
|
10627
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10637
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2i({}, FetchTabexStatesPayloadobjContext);
|
|
10628
10638
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
10629
10639
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
10630
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10640
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2i({}, tempFetchTabexStatesPayloadobjContext));
|
|
10631
10641
|
payloadobjchange('stateid', option.id);
|
|
10632
10642
|
},
|
|
10633
10643
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -10769,9 +10779,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10769
10779
|
value: item.customersignupvalue,
|
|
10770
10780
|
textplaceholder: "",
|
|
10771
10781
|
onChange: function onChange(event) {
|
|
10772
|
-
var temppayloadobj = _objectSpread$
|
|
10782
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10773
10783
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
10774
|
-
setpayloadobj(_objectSpread$
|
|
10784
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10775
10785
|
},
|
|
10776
10786
|
style: {
|
|
10777
10787
|
background: 'transparent'
|
|
@@ -10785,13 +10795,13 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10785
10795
|
className: formstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
10786
10796
|
checked: item.customersignupvalue == 1 ? true : false,
|
|
10787
10797
|
onChange: function onChange() {
|
|
10788
|
-
var temppayloadobj = _objectSpread$
|
|
10798
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10789
10799
|
if (temppayloadobj.instsignupformvalues[index].customersignupvalue == 1) {
|
|
10790
10800
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = 0;
|
|
10791
10801
|
} else {
|
|
10792
10802
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = 1;
|
|
10793
10803
|
}
|
|
10794
|
-
setpayloadobj(_objectSpread$
|
|
10804
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10795
10805
|
}
|
|
10796
10806
|
}), /*#__PURE__*/React.createElement("svg", {
|
|
10797
10807
|
viewBox: "0 0 21 21",
|
|
@@ -10808,9 +10818,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10808
10818
|
value: item.customersignupvalue,
|
|
10809
10819
|
textplaceholder: "",
|
|
10810
10820
|
onChange: function onChange(event) {
|
|
10811
|
-
var temppayloadobj = _objectSpread$
|
|
10821
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10812
10822
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
10813
|
-
setpayloadobj(_objectSpread$
|
|
10823
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10814
10824
|
}
|
|
10815
10825
|
}, /*#__PURE__*/React.createElement("option", {
|
|
10816
10826
|
value: '',
|
|
@@ -10825,9 +10835,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10825
10835
|
value: item.customersignupvalue,
|
|
10826
10836
|
textplaceholder: "",
|
|
10827
10837
|
onChange: function onChange(event) {
|
|
10828
|
-
var temppayloadobj = _objectSpread$
|
|
10838
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10829
10839
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
10830
|
-
setpayloadobj(_objectSpread$
|
|
10840
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10831
10841
|
},
|
|
10832
10842
|
style: {
|
|
10833
10843
|
resize: 'none'
|
|
@@ -11181,7 +11191,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11181
11191
|
className: "".concat(formstyles.form_control),
|
|
11182
11192
|
value: validateemailpayload.code,
|
|
11183
11193
|
onChange: function onChange(event) {
|
|
11184
|
-
setvalidateemailpayload(_objectSpread$
|
|
11194
|
+
setvalidateemailpayload(_objectSpread$2i(_objectSpread$2i({}, validateemailpayload), {}, {
|
|
11185
11195
|
code: event.target.value
|
|
11186
11196
|
}));
|
|
11187
11197
|
},
|
|
@@ -11208,12 +11218,12 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11208
11218
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
11209
11219
|
if (data.data.status) {
|
|
11210
11220
|
if (data.data.functype == 'sendcode') {
|
|
11211
|
-
setvalidateemailpayload(_objectSpread$
|
|
11221
|
+
setvalidateemailpayload(_objectSpread$2i(_objectSpread$2i({}, validateemailpayload), {}, {
|
|
11212
11222
|
step: 'verifycode'
|
|
11213
11223
|
}));
|
|
11214
11224
|
}
|
|
11215
11225
|
if (data.data.functype == 'verifycode') {
|
|
11216
|
-
setvalidateemailpayload(_objectSpread$
|
|
11226
|
+
setvalidateemailpayload(_objectSpread$2i(_objectSpread$2i({}, validateemailpayload), {}, {
|
|
11217
11227
|
isvalidated: true
|
|
11218
11228
|
}));
|
|
11219
11229
|
setvalidateemailmodal(false);
|
|
@@ -11308,7 +11318,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11308
11318
|
className: "".concat(formstyles.form_control),
|
|
11309
11319
|
value: validatephonenumberpayload.code,
|
|
11310
11320
|
onChange: function onChange(event) {
|
|
11311
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11321
|
+
setvalidatephonenumberpayload(_objectSpread$2i(_objectSpread$2i({}, validatephonenumberpayload), {}, {
|
|
11312
11322
|
code: event.target.value
|
|
11313
11323
|
}));
|
|
11314
11324
|
},
|
|
@@ -11335,12 +11345,12 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11335
11345
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
11336
11346
|
if (data.data.status) {
|
|
11337
11347
|
if (data.data.functype == 'sendcode') {
|
|
11338
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11348
|
+
setvalidatephonenumberpayload(_objectSpread$2i(_objectSpread$2i({}, validatephonenumberpayload), {}, {
|
|
11339
11349
|
step: 'verifycode'
|
|
11340
11350
|
}));
|
|
11341
11351
|
}
|
|
11342
11352
|
if (data.data.functype == 'verifycode') {
|
|
11343
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11353
|
+
setvalidatephonenumberpayload(_objectSpread$2i(_objectSpread$2i({}, validatephonenumberpayload), {}, {
|
|
11344
11354
|
isvalidated: true
|
|
11345
11355
|
}));
|
|
11346
11356
|
setvalidatephonenumbermodal(false);
|
|
@@ -11376,8 +11386,8 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11376
11386
|
}, validatephonenumberpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React.createElement(Modal.Footer, null)));
|
|
11377
11387
|
};
|
|
11378
11388
|
|
|
11379
|
-
function ownKeys$
|
|
11380
|
-
function _objectSpread$
|
|
11389
|
+
function ownKeys$2h(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; }
|
|
11390
|
+
function _objectSpread$2h(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2h(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2h(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11381
11391
|
var Signup = function Signup(props) {
|
|
11382
11392
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
11383
11393
|
props.actions.CurrentSrcTypeContext;
|
|
@@ -11425,7 +11435,7 @@ var Signup = function Signup(props) {
|
|
|
11425
11435
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
11426
11436
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11427
11437
|
});
|
|
11428
|
-
setsectionproperties(_objectSpread$
|
|
11438
|
+
setsectionproperties(_objectSpread$2h({}, secpropobj));
|
|
11429
11439
|
}
|
|
11430
11440
|
}, [StatePagePropertiesContext]);
|
|
11431
11441
|
var loginstyles2 = {
|
|
@@ -11568,8 +11578,8 @@ var Signup = function Signup(props) {
|
|
|
11568
11578
|
}, SignupContent()));
|
|
11569
11579
|
};
|
|
11570
11580
|
|
|
11571
|
-
function ownKeys$
|
|
11572
|
-
function _objectSpread$
|
|
11581
|
+
function ownKeys$2g(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; }
|
|
11582
|
+
function _objectSpread$2g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2g(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11573
11583
|
var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
11574
11584
|
var _css;
|
|
11575
11585
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -11635,7 +11645,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11635
11645
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
11636
11646
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11637
11647
|
});
|
|
11638
|
-
setsectionproperties(_objectSpread$
|
|
11648
|
+
setsectionproperties(_objectSpread$2g({}, secpropobj));
|
|
11639
11649
|
}
|
|
11640
11650
|
}, [StatePagePropertiesContext]);
|
|
11641
11651
|
var loginstyles2 = {
|
|
@@ -11736,7 +11746,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11736
11746
|
className: "".concat(loginstyles2.form_control),
|
|
11737
11747
|
value: affsignuppayload.name,
|
|
11738
11748
|
onChange: function onChange(event) {
|
|
11739
|
-
setaffsignuppayload(_objectSpread$
|
|
11749
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11740
11750
|
name: event.target.value
|
|
11741
11751
|
}));
|
|
11742
11752
|
},
|
|
@@ -11752,7 +11762,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11752
11762
|
className: "".concat(loginstyles2.form_control),
|
|
11753
11763
|
value: affsignuppayload.email,
|
|
11754
11764
|
onChange: function onChange(event) {
|
|
11755
|
-
setaffsignuppayload(_objectSpread$
|
|
11765
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11756
11766
|
email: event.target.value
|
|
11757
11767
|
}));
|
|
11758
11768
|
},
|
|
@@ -11770,10 +11780,10 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11770
11780
|
autoFormat: true,
|
|
11771
11781
|
value: affsignuppayload.phonenumber,
|
|
11772
11782
|
onChange: function onChange(event, country) {
|
|
11773
|
-
var temp = _objectSpread$
|
|
11783
|
+
var temp = _objectSpread$2g({}, affsignuppayload);
|
|
11774
11784
|
temp.phonenumber = event;
|
|
11775
11785
|
temp.countrydialcode = country.dialCode;
|
|
11776
|
-
setaffsignuppayload(_objectSpread$
|
|
11786
|
+
setaffsignuppayload(_objectSpread$2g({}, temp));
|
|
11777
11787
|
// setaffsignuppayload({ ...affsignuppayload, phonenumber: event.target.value });
|
|
11778
11788
|
},
|
|
11779
11789
|
|
|
@@ -11789,7 +11799,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11789
11799
|
className: "".concat(loginstyles2.form_control),
|
|
11790
11800
|
value: affsignuppayload.ssn,
|
|
11791
11801
|
onChange: function onChange(event) {
|
|
11792
|
-
setaffsignuppayload(_objectSpread$
|
|
11802
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11793
11803
|
ssn: event.target.value
|
|
11794
11804
|
}));
|
|
11795
11805
|
},
|
|
@@ -11805,7 +11815,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11805
11815
|
className: "".concat(loginstyles2.form_control),
|
|
11806
11816
|
value: affsignuppayload.password,
|
|
11807
11817
|
onChange: function onChange(event) {
|
|
11808
|
-
setaffsignuppayload(_objectSpread$
|
|
11818
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11809
11819
|
password: event.target.value
|
|
11810
11820
|
}));
|
|
11811
11821
|
},
|
|
@@ -11821,7 +11831,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11821
11831
|
className: "".concat(loginstyles2.form_control),
|
|
11822
11832
|
value: affsignuppayload.confirmpassword,
|
|
11823
11833
|
onChange: function onChange(event) {
|
|
11824
|
-
setaffsignuppayload(_objectSpread$
|
|
11834
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11825
11835
|
confirmpassword: event.target.value
|
|
11826
11836
|
}));
|
|
11827
11837
|
},
|
|
@@ -11874,8 +11884,8 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11874
11884
|
}), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React.createElement("span", null, langdetect == 'en' ? sectionproperties.signupbtn_contenten : sectionproperties.signupbtn_contentar)))))))));
|
|
11875
11885
|
};
|
|
11876
11886
|
|
|
11877
|
-
function ownKeys$
|
|
11878
|
-
function _objectSpread$
|
|
11887
|
+
function ownKeys$2f(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; }
|
|
11888
|
+
function _objectSpread$2f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2f(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11879
11889
|
var AccountInformation = function AccountInformation(props) {
|
|
11880
11890
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
11881
11891
|
var lang = props.actions.lang;
|
|
@@ -11902,7 +11912,7 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
11902
11912
|
props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.StatePagePropertiesContext) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageobj) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageproperties) === null || _props$actions === void 0 || _props$actions.forEach(function (arrayItem, arrayindex) {
|
|
11903
11913
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11904
11914
|
});
|
|
11905
|
-
setsectionproperties(_objectSpread$
|
|
11915
|
+
setsectionproperties(_objectSpread$2f({}, secpropobj));
|
|
11906
11916
|
}, [props.actions.StatePagePropertiesContext]);
|
|
11907
11917
|
useEffect(function () {
|
|
11908
11918
|
var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
@@ -12064,8 +12074,8 @@ var css_248z$F = ".tabs-module_tabs__36dMY {\n position: relative;\n heigh
|
|
|
12064
12074
|
var tabstyles = {"tabs":"tabs-module_tabs__36dMY","tabsul":"tabs-module_tabsul__wNZqy","tabsli":"tabs-module_tabsli__-uR10","active":"tabs-module_active__6wLfI","tabsliheaderresp":"tabs-module_tabsliheaderresp__TPNhh","accordionContainer":"tabs-module_accordionContainer__-MSW5","policiestabs":"tabs-module_policiestabs__nopXD"};
|
|
12065
12075
|
styleInject(css_248z$F);
|
|
12066
12076
|
|
|
12067
|
-
function ownKeys$
|
|
12068
|
-
function _objectSpread$
|
|
12077
|
+
function ownKeys$2e(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; }
|
|
12078
|
+
function _objectSpread$2e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2e(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12069
12079
|
var Policies = function Policies(props) {
|
|
12070
12080
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchInstitutePolici, _fetchInstitutePolici2, _fetchInstitutePolici3;
|
|
12071
12081
|
var _useState = useState(''),
|
|
@@ -12096,7 +12106,7 @@ var Policies = function Policies(props) {
|
|
|
12096
12106
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
12097
12107
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12098
12108
|
});
|
|
12099
|
-
setsectionproperties(_objectSpread$
|
|
12109
|
+
setsectionproperties(_objectSpread$2e({}, secpropobj));
|
|
12100
12110
|
}
|
|
12101
12111
|
}, [StatePagePropertiesContext]);
|
|
12102
12112
|
useEffect(function () {
|
|
@@ -12109,9 +12119,9 @@ var Policies = function Policies(props) {
|
|
|
12109
12119
|
}
|
|
12110
12120
|
}, []);
|
|
12111
12121
|
useEffect(function () {
|
|
12112
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
12122
|
+
var tempFetchQueriesEngineContext = _objectSpread$2e({}, FetchQueriesEngineContext);
|
|
12113
12123
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
12114
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
12124
|
+
setFetchQueriesEngineContext(_objectSpread$2e({}, tempFetchQueriesEngineContext));
|
|
12115
12125
|
}, []);
|
|
12116
12126
|
var _useState7 = useState([]),
|
|
12117
12127
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
@@ -12341,8 +12351,8 @@ var css_248z$E = ".cart-module_cartslider_container__idend {\n transition: 0.
|
|
|
12341
12351
|
var cartstyles = {"cartslider_container":"cart-module_cartslider_container__idend","close_menu_icon_cont":"cart-module_close_menu_icon_cont__uh-pE","cart_slider_imagecont":"cart-module_cart_slider_imagecont__tnHMt","checkout_cart_slider_imagecont":"cart-module_checkout_cart_slider_imagecont__UX2ct","checkout_quantity_cont":"cart-module_checkout_quantity_cont__Rr3RO","btn_circle":"cart-module_btn_circle__p-BDZ","cart_progress_card":"cart-module_cart_progress_card__jEFwg","cart_progress_card_active":"cart-module_cart_progress_card_active__gQzWT","trash_btn":"cart-module_trash_btn__bHQxy","btn_apply":"cart-module_btn_apply__phbo8","checkout_card_card":"cart-module_checkout_card_card__4zUo9"};
|
|
12342
12352
|
styleInject(css_248z$E);
|
|
12343
12353
|
|
|
12344
|
-
function ownKeys$
|
|
12345
|
-
function _objectSpread$
|
|
12354
|
+
function ownKeys$2d(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; }
|
|
12355
|
+
function _objectSpread$2d(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2d(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2d(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12346
12356
|
var CartSlider = function CartSlider(props) {
|
|
12347
12357
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12;
|
|
12348
12358
|
var lang = props.actions.lang;
|
|
@@ -12408,7 +12418,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
12408
12418
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
12409
12419
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12410
12420
|
});
|
|
12411
|
-
setsectionproperties(_objectSpread$
|
|
12421
|
+
setsectionproperties(_objectSpread$2d({}, secpropobj));
|
|
12412
12422
|
}, [CurrentPageId]);
|
|
12413
12423
|
useEffect(function () {
|
|
12414
12424
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -12418,7 +12428,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
12418
12428
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
12419
12429
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12420
12430
|
});
|
|
12421
|
-
setsectionproperties(_objectSpread$
|
|
12431
|
+
setsectionproperties(_objectSpread$2d({}, secpropobj));
|
|
12422
12432
|
}
|
|
12423
12433
|
}
|
|
12424
12434
|
}, [StatePagePropertiesContext]);
|
|
@@ -12985,8 +12995,8 @@ var CartSlider = function CartSlider(props) {
|
|
|
12985
12995
|
}, langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar))))))))));
|
|
12986
12996
|
};
|
|
12987
12997
|
|
|
12988
|
-
function ownKeys$
|
|
12989
|
-
function _objectSpread$
|
|
12998
|
+
function ownKeys$2c(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; }
|
|
12999
|
+
function _objectSpread$2c(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2c(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2c(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12990
13000
|
var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
12991
13001
|
var _useState = useState(''),
|
|
12992
13002
|
_useState2 = _slicedToArray(_useState, 2);
|
|
@@ -13030,7 +13040,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
13030
13040
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
13031
13041
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13032
13042
|
});
|
|
13033
|
-
setsectionproperties(_objectSpread$
|
|
13043
|
+
setsectionproperties(_objectSpread$2c({}, secpropobj));
|
|
13034
13044
|
}, [CurrentPageId]);
|
|
13035
13045
|
useEffect(function () {
|
|
13036
13046
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -13040,7 +13050,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
13040
13050
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
13041
13051
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13042
13052
|
});
|
|
13043
|
-
setsectionproperties(_objectSpread$
|
|
13053
|
+
setsectionproperties(_objectSpread$2c({}, secpropobj));
|
|
13044
13054
|
}
|
|
13045
13055
|
}
|
|
13046
13056
|
}, [StatePagePropertiesContext]);
|
|
@@ -13268,8 +13278,8 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
13268
13278
|
}, CategoriesDropdown()));
|
|
13269
13279
|
};
|
|
13270
13280
|
|
|
13271
|
-
function ownKeys$
|
|
13272
|
-
function _objectSpread$
|
|
13281
|
+
function ownKeys$2b(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; }
|
|
13282
|
+
function _objectSpread$2b(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2b(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2b(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13273
13283
|
var OrderSuccess = function OrderSuccess(props) {
|
|
13274
13284
|
var _props$actions2;
|
|
13275
13285
|
props.actions.lang;
|
|
@@ -13319,7 +13329,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
13319
13329
|
props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.StatePagePropertiesContext) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageobj) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageproperties) === null || _props$actions === void 0 || _props$actions.forEach(function (arrayItem, arrayindex) {
|
|
13320
13330
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13321
13331
|
});
|
|
13322
|
-
setsectionproperties(_objectSpread$
|
|
13332
|
+
setsectionproperties(_objectSpread$2b({}, secpropobj));
|
|
13323
13333
|
}, [props === null || props === void 0 || (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
13324
13334
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
13325
13335
|
var ordersuccessstyle = {
|
|
@@ -13416,8 +13426,8 @@ var css_248z$D = ".filter-module_timeline__ROm9Q .filter-module_border_left_line
|
|
|
13416
13426
|
var filterstyles = {"timeline":"filter-module_timeline__ROm9Q","border_left_line":"filter-module_border_left_line__IkxXK","btn_item":"filter-module_btn_item__GoKTf","timelineinnercont_active":"filter-module_timelineinnercont_active__2sLI7","timeline_text":"filter-module_timeline_text__NgaGy","timelineinnercont":"filter-module_timelineinnercont__Zme9K","timelinetrans":"filter-module_timelinetrans__KzVCg","filterslider_container":"filter-module_filterslider_container__I-7sG","filterslider_container_opened":"filter-module_filterslider_container_opened__2eZes","outercontainer":"filter-module_outercontainer__kmY9b","innercontainer":"filter-module_innercontainer__VKukp","card":"filter-module_card__7yDs0"};
|
|
13417
13427
|
styleInject(css_248z$D);
|
|
13418
13428
|
|
|
13419
|
-
function ownKeys$
|
|
13420
|
-
function _objectSpread$
|
|
13429
|
+
function ownKeys$2a(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; }
|
|
13430
|
+
function _objectSpread$2a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2a(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13421
13431
|
var Select$1 = /*#__PURE__*/React.lazy(function () {
|
|
13422
13432
|
return import('react-select');
|
|
13423
13433
|
});
|
|
@@ -13557,11 +13567,11 @@ var Filter$1 = function Filter(props) {
|
|
|
13557
13567
|
}
|
|
13558
13568
|
timeoutRef.current = setTimeout(function () {
|
|
13559
13569
|
if (raterangevalue.min != 0 || raterangevalue.max != 5) {
|
|
13560
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13570
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13561
13571
|
tempfetchproductsfilerobjcontext.minrate = raterangevalue.min;
|
|
13562
13572
|
tempfetchproductsfilerobjcontext.maxrate = raterangevalue.max;
|
|
13563
13573
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
13564
|
-
setProductFilterObjContext(_objectSpread$
|
|
13574
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13565
13575
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
13566
13576
|
}
|
|
13567
13577
|
}, 500);
|
|
@@ -13647,33 +13657,33 @@ var Filter$1 = function Filter(props) {
|
|
|
13647
13657
|
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcategories, instcollections]);
|
|
13648
13658
|
useEffect(function () {
|
|
13649
13659
|
if (productfeatuesarr.length != 0) {
|
|
13650
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13660
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13651
13661
|
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
13652
|
-
setProductFilterObjContext(_objectSpread$
|
|
13662
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13653
13663
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13654
13664
|
}
|
|
13655
13665
|
}, [productfeatuesarr]);
|
|
13656
13666
|
useEffect(function () {
|
|
13657
13667
|
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
13658
13668
|
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
13659
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
13669
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
13660
13670
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
13661
13671
|
tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
|
|
13662
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
13672
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
13663
13673
|
}
|
|
13664
13674
|
}
|
|
13665
13675
|
}, [fetchTabexStatesQueryContext.isSuccess]);
|
|
13666
13676
|
var filterupdater = function filterupdater() {
|
|
13667
13677
|
setTimeout(function () {
|
|
13668
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
13678
|
+
var tempFetchQueriesEngineContext = _objectSpread$2a({}, FetchQueriesEngineContext);
|
|
13669
13679
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
13670
13680
|
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
13671
13681
|
}, 100);
|
|
13672
13682
|
if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
|
|
13673
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
13683
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
13674
13684
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
13675
13685
|
tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
|
|
13676
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
13686
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
13677
13687
|
}
|
|
13678
13688
|
if (instfilters.length != 0) {
|
|
13679
13689
|
var _ProductFilterObjCont3;
|
|
@@ -13735,7 +13745,7 @@ var Filter$1 = function Filter(props) {
|
|
|
13735
13745
|
}
|
|
13736
13746
|
};
|
|
13737
13747
|
var setfilterfunc = function setfilterfunc(valueid, valueindex, mainparentindex, type) {
|
|
13738
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13748
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13739
13749
|
if (type == 'clearfilters') {
|
|
13740
13750
|
tempfetchproductsfilerobjcontext.FilterOptions = [];
|
|
13741
13751
|
} else {
|
|
@@ -13759,14 +13769,14 @@ var Filter$1 = function Filter(props) {
|
|
|
13759
13769
|
tempfetchproductsfilerobjcontext.isfilter = 1;
|
|
13760
13770
|
}
|
|
13761
13771
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
13762
|
-
setProductFilterObjContext(_objectSpread$
|
|
13772
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13763
13773
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13764
13774
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
13765
13775
|
};
|
|
13766
13776
|
|
|
13767
13777
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
13768
13778
|
var _tempfetchproductsfil2;
|
|
13769
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13779
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13770
13780
|
var CollectionExists = false;
|
|
13771
13781
|
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil2 = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil2 === void 0 || _tempfetchproductsfil2.forEach(function (filteritem, filterindex) {
|
|
13772
13782
|
if (filteritem == collectionid) {
|
|
@@ -13788,7 +13798,7 @@ var Filter$1 = function Filter(props) {
|
|
|
13788
13798
|
}
|
|
13789
13799
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
13790
13800
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
13791
|
-
setProductFilterObjContext(_objectSpread$
|
|
13801
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13792
13802
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13793
13803
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
13794
13804
|
};
|
|
@@ -14380,14 +14390,14 @@ var Filter$1 = function Filter(props) {
|
|
|
14380
14390
|
return option.id == ProductFilterObjContext.countryid;
|
|
14381
14391
|
}),
|
|
14382
14392
|
onChange: function onChange(option) {
|
|
14383
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
14393
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
14384
14394
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
14385
14395
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
14386
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
14387
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14396
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
14397
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14388
14398
|
tempfetchproductsfilerobjcontext.countryid = option.id;
|
|
14389
14399
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14390
|
-
setProductFilterObjContext(_objectSpread$
|
|
14400
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14391
14401
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14392
14402
|
},
|
|
14393
14403
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14424,14 +14434,14 @@ var Filter$1 = function Filter(props) {
|
|
|
14424
14434
|
return option.id == ProductFilterObjContext.stateid;
|
|
14425
14435
|
}),
|
|
14426
14436
|
onChange: function onChange(option) {
|
|
14427
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
14437
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
14428
14438
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
14429
14439
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
14430
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
14431
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14440
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
14441
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14432
14442
|
tempfetchproductsfilerobjcontext.stateid = option.id;
|
|
14433
14443
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14434
|
-
setProductFilterObjContext(_objectSpread$
|
|
14444
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14435
14445
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14436
14446
|
},
|
|
14437
14447
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14468,10 +14478,10 @@ var Filter$1 = function Filter(props) {
|
|
|
14468
14478
|
return option.id == ProductFilterObjContext.cityid;
|
|
14469
14479
|
}),
|
|
14470
14480
|
onChange: function onChange(option) {
|
|
14471
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14481
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14472
14482
|
tempfetchproductsfilerobjcontext.cityid = option.id;
|
|
14473
14483
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14474
|
-
setProductFilterObjContext(_objectSpread$
|
|
14484
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14475
14485
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14476
14486
|
},
|
|
14477
14487
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14575,14 +14585,14 @@ var Filter$1 = function Filter(props) {
|
|
|
14575
14585
|
color: ischecked ? sectionproperties.activecat_color : ''
|
|
14576
14586
|
},
|
|
14577
14587
|
onClick: function onClick() {
|
|
14578
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14588
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14579
14589
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14580
14590
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14581
14591
|
} else {
|
|
14582
14592
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14583
14593
|
}
|
|
14584
14594
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14585
|
-
setProductFilterObjContext(_objectSpread$
|
|
14595
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14586
14596
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14587
14597
|
setsortbycontext(valueitem.name);
|
|
14588
14598
|
}
|
|
@@ -14591,16 +14601,12 @@ var Filter$1 = function Filter(props) {
|
|
|
14591
14601
|
}))))), sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection == 'Horizontal' && /*#__PURE__*/React.createElement("div", {
|
|
14592
14602
|
"class": "row m-0 w-100"
|
|
14593
14603
|
}, /*#__PURE__*/React.createElement("div", {
|
|
14594
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start mb-3"
|
|
14595
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
14596
|
-
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
|
|
14597
|
-
}, langdetect == 'en' ? sectionproperties.filtercollectiontitle_en : sectionproperties.filtercollectiontitle_ar)), /*#__PURE__*/React.createElement("div", {
|
|
14598
14604
|
"class": "col-lg-12 p-0 mb-4"
|
|
14599
14605
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
14600
14606
|
transitionBehavior: 'auto',
|
|
14601
14607
|
wrapperClassName: '',
|
|
14602
14608
|
itemClassName: 'filtercard',
|
|
14603
|
-
scrollContainerClassName: '
|
|
14609
|
+
scrollContainerClassName: 'filterscrollmenuclasssubscrollbar'
|
|
14604
14610
|
}, collectionstobevisible.map(function (item, index) {
|
|
14605
14611
|
return /*#__PURE__*/React.createElement("div", {
|
|
14606
14612
|
className: filter_cssstyles.timeline_text + ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100 cursor-pointer ',
|
|
@@ -14734,14 +14740,14 @@ var Filter$1 = function Filter(props) {
|
|
|
14734
14740
|
return /*#__PURE__*/React.createElement("div", {
|
|
14735
14741
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
14736
14742
|
onClick: function onClick() {
|
|
14737
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14743
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14738
14744
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14739
14745
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14740
14746
|
} else {
|
|
14741
14747
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14742
14748
|
}
|
|
14743
14749
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14744
|
-
setProductFilterObjContext(_objectSpread$
|
|
14750
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14745
14751
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14746
14752
|
}
|
|
14747
14753
|
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
@@ -14776,7 +14782,7 @@ var Filter$1 = function Filter(props) {
|
|
|
14776
14782
|
minValue: 0,
|
|
14777
14783
|
value: raterangevalue,
|
|
14778
14784
|
onChange: function onChange(value) {
|
|
14779
|
-
setraterangevalue(_objectSpread$
|
|
14785
|
+
setraterangevalue(_objectSpread$2a({}, value));
|
|
14780
14786
|
}
|
|
14781
14787
|
}))))), /*#__PURE__*/React.createElement("div", {
|
|
14782
14788
|
className: "col-lg-9 col-md-9 col-sm-9 d-flex align-items-center d-md-none"
|
|
@@ -14919,13 +14925,13 @@ var Filter$1 = function Filter(props) {
|
|
|
14919
14925
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
14920
14926
|
onClick: function onClick() {
|
|
14921
14927
|
// setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
14922
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14928
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14923
14929
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14924
14930
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14925
14931
|
} else {
|
|
14926
14932
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14927
14933
|
}
|
|
14928
|
-
setProductFilterObjContext(_objectSpread$
|
|
14934
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14929
14935
|
}
|
|
14930
14936
|
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
14931
14937
|
className: " ".concat(ischecked ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
|
|
@@ -14957,8 +14963,547 @@ var Filter$1 = function Filter(props) {
|
|
|
14957
14963
|
}, DynamicFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters())))))));
|
|
14958
14964
|
};
|
|
14959
14965
|
|
|
14960
|
-
function ownKeys$
|
|
14961
|
-
function _objectSpread$
|
|
14966
|
+
function ownKeys$29(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; }
|
|
14967
|
+
function _objectSpread$29(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$29(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$29(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
14968
|
+
var VariantFilter = function VariantFilter(props) {
|
|
14969
|
+
var _css;
|
|
14970
|
+
var lang = props.actions.lang;
|
|
14971
|
+
var langdetect = props.actions.langdetect;
|
|
14972
|
+
props.actions.productfiltercontext;
|
|
14973
|
+
props.actions.setproductfiltercontext;
|
|
14974
|
+
var ProductFilterObjContext = props.actions.ProductFilterObjContext;
|
|
14975
|
+
var setProductFilterObjContext = props.actions.setProductFilterObjContext;
|
|
14976
|
+
props.actions.authdetailsContext;
|
|
14977
|
+
var fetchproductoptionsQueryContext = props.actions.fetchproductoptionsQueryContext;
|
|
14978
|
+
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
14979
|
+
var routingcountext = props.actions.routingcountext;
|
|
14980
|
+
var fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
14981
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
14982
|
+
props.actions.ikimagecredcontext;
|
|
14983
|
+
var _useState = useState({
|
|
14984
|
+
min: 0,
|
|
14985
|
+
max: 10000
|
|
14986
|
+
}),
|
|
14987
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
14988
|
+
_useState2[0];
|
|
14989
|
+
_useState2[1];
|
|
14990
|
+
var _useState3 = useState([]),
|
|
14991
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
14992
|
+
productfeatuesarr = _useState4[0];
|
|
14993
|
+
_useState4[1];
|
|
14994
|
+
props.actions.fetchTabexCountriesQueryContext;
|
|
14995
|
+
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
14996
|
+
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
14997
|
+
props.actions.fetchTabexCitiesQueryContext;
|
|
14998
|
+
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
14999
|
+
var FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
|
|
15000
|
+
var setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
|
|
15001
|
+
props.actions.fetchProductFeaturesQueryContext;
|
|
15002
|
+
var _useState5 = useState(''),
|
|
15003
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
15004
|
+
sectionproperties = _useState6[0],
|
|
15005
|
+
setsectionproperties = _useState6[1];
|
|
15006
|
+
// const [instfilters, setinstfilters] = useState([...authdetailsContext.instinfo.instfilters]);
|
|
15007
|
+
var _useState7 = useState([]),
|
|
15008
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
15009
|
+
instfilters = _useState8[0],
|
|
15010
|
+
setinstfilters = _useState8[1];
|
|
15011
|
+
var _useState9 = useState([]),
|
|
15012
|
+
_useState10 = _slicedToArray(_useState9, 2);
|
|
15013
|
+
_useState10[0];
|
|
15014
|
+
var setcollectionstobevisible = _useState10[1];
|
|
15015
|
+
var _useState11 = useState([]),
|
|
15016
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
15017
|
+
instcollections = _useState12[0],
|
|
15018
|
+
setinstcollections = _useState12[1];
|
|
15019
|
+
var _useState13 = useState([]),
|
|
15020
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
15021
|
+
instcategories = _useState14[0],
|
|
15022
|
+
setinstcategories = _useState14[1];
|
|
15023
|
+
// const [sortby, setSortby] = useState('Sort by');
|
|
15024
|
+
var _useState15 = useState({
|
|
15025
|
+
min: 0,
|
|
15026
|
+
max: 5
|
|
15027
|
+
}),
|
|
15028
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
15029
|
+
raterangevalue = _useState16[0];
|
|
15030
|
+
_useState16[1];
|
|
15031
|
+
var timeoutRef = React.useRef(null);
|
|
15032
|
+
var _useState17 = useState(''),
|
|
15033
|
+
_useState18 = _slicedToArray(_useState17, 2);
|
|
15034
|
+
_useState18[0];
|
|
15035
|
+
_useState18[1];
|
|
15036
|
+
var _useState19 = useState([{
|
|
15037
|
+
payloadvalue: 'sortprice',
|
|
15038
|
+
name: lang.price,
|
|
15039
|
+
filterarray: [{
|
|
15040
|
+
name: lang.pricehightolow,
|
|
15041
|
+
value: 'hightolow',
|
|
15042
|
+
isfilterselected: false
|
|
15043
|
+
}, {
|
|
15044
|
+
name: lang.pricelowtohigh,
|
|
15045
|
+
value: 'lowtohigh',
|
|
15046
|
+
isfilterselected: false
|
|
15047
|
+
}]
|
|
15048
|
+
}, {
|
|
15049
|
+
payloadvalue: 'sortdates',
|
|
15050
|
+
name: lang.dates,
|
|
15051
|
+
filterarray: [{
|
|
15052
|
+
name: lang.recent,
|
|
15053
|
+
value: 'recent',
|
|
15054
|
+
isfilterselected: false
|
|
15055
|
+
}, {
|
|
15056
|
+
name: lang.oldest,
|
|
15057
|
+
value: 'old',
|
|
15058
|
+
isfilterselected: false
|
|
15059
|
+
}]
|
|
15060
|
+
}]),
|
|
15061
|
+
_useState20 = _slicedToArray(_useState19, 2);
|
|
15062
|
+
_useState20[0];
|
|
15063
|
+
_useState20[1];
|
|
15064
|
+
useEffect(function () {
|
|
15065
|
+
filterupdater();
|
|
15066
|
+
}, []);
|
|
15067
|
+
useEffect(function () {
|
|
15068
|
+
if (fetchproductoptionsQueryContext.isSuccess) {
|
|
15069
|
+
var _fetchproductoptionsQ;
|
|
15070
|
+
setinstfilters(_toConsumableArray(fetchproductoptionsQueryContext === null || fetchproductoptionsQueryContext === void 0 || (_fetchproductoptionsQ = fetchproductoptionsQueryContext.data) === null || _fetchproductoptionsQ === void 0 || (_fetchproductoptionsQ = _fetchproductoptionsQ.data) === null || _fetchproductoptionsQ === void 0 ? void 0 : _fetchproductoptionsQ.productoptions));
|
|
15071
|
+
}
|
|
15072
|
+
}, [fetchproductoptionsQueryContext.isSuccess]);
|
|
15073
|
+
useEffect(function () {
|
|
15074
|
+
if (fetchCategoriesQueryContext.isSuccess) {
|
|
15075
|
+
var _fetchCategoriesQuery;
|
|
15076
|
+
setinstcategories(_toConsumableArray(fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : _fetchCategoriesQuery.categories));
|
|
15077
|
+
}
|
|
15078
|
+
}, [fetchCategoriesQueryContext.isSuccess]);
|
|
15079
|
+
useEffect(function () {
|
|
15080
|
+
if (fetchcollectionsQueryContext.isSuccess) {
|
|
15081
|
+
var _fetchcollectionsQuer;
|
|
15082
|
+
setinstcollections(_toConsumableArray(fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer === void 0 || (_fetchcollectionsQuer = _fetchcollectionsQuer.data) === null || _fetchcollectionsQuer === void 0 ? void 0 : _fetchcollectionsQuer.collections));
|
|
15083
|
+
}
|
|
15084
|
+
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
15085
|
+
// useEffect(() => {
|
|
15086
|
+
// // setinstfilters([...authdetailsContext.instinfo.instfilters]);
|
|
15087
|
+
// // setinstcollections([...authdetailsContext.instinfo.instcollections]);
|
|
15088
|
+
// // setinstcategories([...authdetailsContext?.instinfo?.instcategories]);
|
|
15089
|
+
// }, [authdetailsContext]);
|
|
15090
|
+
useEffect(function () {
|
|
15091
|
+
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
15092
|
+
setsectionproperties(props.sectionpropertiesprops);
|
|
15093
|
+
}
|
|
15094
|
+
}, [props.sectionpropertiesprops]);
|
|
15095
|
+
useEffect(function () {
|
|
15096
|
+
filterupdater();
|
|
15097
|
+
}, [ProductFilterObjContext]);
|
|
15098
|
+
React.useEffect(function () {
|
|
15099
|
+
if (timeoutRef.current !== null) {
|
|
15100
|
+
clearTimeout(timeoutRef.current);
|
|
15101
|
+
}
|
|
15102
|
+
timeoutRef.current = setTimeout(function () {
|
|
15103
|
+
if (raterangevalue.min != 0 || raterangevalue.max != 5) {
|
|
15104
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15105
|
+
tempfetchproductsfilerobjcontext.minrate = raterangevalue.min;
|
|
15106
|
+
tempfetchproductsfilerobjcontext.maxrate = raterangevalue.max;
|
|
15107
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
15108
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15109
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15110
|
+
}
|
|
15111
|
+
}, 500);
|
|
15112
|
+
}, [raterangevalue]);
|
|
15113
|
+
useEffect(function () {
|
|
15114
|
+
if (fetchCategoriesQueryContext.isSuccess && fetchcollectionsQueryContext.isSuccess) {
|
|
15115
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.filterretreivetype) == 'Depend on chosen parent group') {
|
|
15116
|
+
if ((ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections) != undefined && (ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections) != null && Array.isArray(ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections)) {
|
|
15117
|
+
var _parentidsfound;
|
|
15118
|
+
var collectiontobevisible = [];
|
|
15119
|
+
var parentidsfound = [];
|
|
15120
|
+
if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
|
|
15121
|
+
parentidsfound = ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections;
|
|
15122
|
+
} else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
|
|
15123
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15124
|
+
var _ProductFilterObjCont;
|
|
15125
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont = ProductFilterObjContext.collections) === null || _ProductFilterObjCont === void 0 || _ProductFilterObjCont.forEach(function (colitem2, colindex2) {
|
|
15126
|
+
if (catitem.categoryid == colitem2) {
|
|
15127
|
+
var _catitem$parentcollet;
|
|
15128
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet = catitem.parentcolletions) === null || _catitem$parentcollet === void 0 || _catitem$parentcollet.forEach(function (parentcolitem, parentcolindex) {
|
|
15129
|
+
parentidsfound.push(parentcolitem.parentcollectionid);
|
|
15130
|
+
});
|
|
15131
|
+
}
|
|
15132
|
+
});
|
|
15133
|
+
});
|
|
15134
|
+
} else {
|
|
15135
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15136
|
+
var _catitem$parentcollet2;
|
|
15137
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet2 = catitem.parentcolletions) === null || _catitem$parentcollet2 === void 0 || _catitem$parentcollet2.forEach(function (parentcolitem, parentcolindex) {
|
|
15138
|
+
var _parentcolitem$collec;
|
|
15139
|
+
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec = parentcolitem.collections) === null || _parentcolitem$collec === void 0 || _parentcolitem$collec.forEach(function (colitem, colindex) {
|
|
15140
|
+
var _ProductFilterObjCont2;
|
|
15141
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont2 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont2 === void 0 || _ProductFilterObjCont2.forEach(function (colitem2, colindex2) {
|
|
15142
|
+
if (colitem.collectionid == colitem2) {
|
|
15143
|
+
parentidsfound.push(parentcolitem.parentcollectionid);
|
|
15144
|
+
}
|
|
15145
|
+
});
|
|
15146
|
+
});
|
|
15147
|
+
});
|
|
15148
|
+
});
|
|
15149
|
+
}
|
|
15150
|
+
parentidsfound = parentidsfound.filter(function (val, id, array) {
|
|
15151
|
+
return array.indexOf(val) == id;
|
|
15152
|
+
});
|
|
15153
|
+
if (((_parentidsfound = parentidsfound) === null || _parentidsfound === void 0 ? void 0 : _parentidsfound.length) != 0) {
|
|
15154
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15155
|
+
var _catitem$parentcollet3;
|
|
15156
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet3 = catitem.parentcolletions) === null || _catitem$parentcollet3 === void 0 || _catitem$parentcollet3.forEach(function (parentcolitem, parentcolindex) {
|
|
15157
|
+
var _parentidsfound2;
|
|
15158
|
+
(_parentidsfound2 = parentidsfound) === null || _parentidsfound2 === void 0 || _parentidsfound2.forEach(function (parentidfounditem, parentidfoundindex) {
|
|
15159
|
+
if (parentidfounditem == (parentcolitem === null || parentcolitem === void 0 ? void 0 : parentcolitem.parentcollectionid)) {
|
|
15160
|
+
var _parentcolitem$collec2;
|
|
15161
|
+
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec2 = parentcolitem.collections) === null || _parentcolitem$collec2 === void 0 || _parentcolitem$collec2.forEach(function (colitem, colindex) {
|
|
15162
|
+
var iscolexists = false;
|
|
15163
|
+
collectiontobevisible === null || collectiontobevisible === void 0 || collectiontobevisible.forEach(function (colitemex, colindexex) {
|
|
15164
|
+
if (colitemex.collectionid == colitem.collectionid) {
|
|
15165
|
+
iscolexists = true;
|
|
15166
|
+
}
|
|
15167
|
+
});
|
|
15168
|
+
if (iscolexists == false) {
|
|
15169
|
+
collectiontobevisible.push(colitem);
|
|
15170
|
+
}
|
|
15171
|
+
});
|
|
15172
|
+
}
|
|
15173
|
+
});
|
|
15174
|
+
});
|
|
15175
|
+
});
|
|
15176
|
+
if ((collectiontobevisible === null || collectiontobevisible === void 0 ? void 0 : collectiontobevisible.length) != 0) {
|
|
15177
|
+
setcollectionstobevisible(collectiontobevisible);
|
|
15178
|
+
} else {
|
|
15179
|
+
setcollectionstobevisible(instcollections);
|
|
15180
|
+
}
|
|
15181
|
+
} else {
|
|
15182
|
+
setcollectionstobevisible(instcollections);
|
|
15183
|
+
}
|
|
15184
|
+
} else {
|
|
15185
|
+
setcollectionstobevisible(instcollections);
|
|
15186
|
+
}
|
|
15187
|
+
} else {
|
|
15188
|
+
setcollectionstobevisible(instcollections);
|
|
15189
|
+
}
|
|
15190
|
+
}
|
|
15191
|
+
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcategories, instcollections]);
|
|
15192
|
+
useEffect(function () {
|
|
15193
|
+
if (productfeatuesarr.length != 0) {
|
|
15194
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15195
|
+
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
15196
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15197
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15198
|
+
}
|
|
15199
|
+
}, [productfeatuesarr]);
|
|
15200
|
+
useEffect(function () {
|
|
15201
|
+
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
15202
|
+
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
15203
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
15204
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
15205
|
+
tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
|
|
15206
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
15207
|
+
}
|
|
15208
|
+
}
|
|
15209
|
+
}, [fetchTabexStatesQueryContext.isSuccess]);
|
|
15210
|
+
var filterupdater = function filterupdater() {
|
|
15211
|
+
setTimeout(function () {
|
|
15212
|
+
var tempFetchQueriesEngineContext = _objectSpread$29({}, FetchQueriesEngineContext);
|
|
15213
|
+
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
15214
|
+
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
15215
|
+
}, 100);
|
|
15216
|
+
if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
|
|
15217
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
15218
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
15219
|
+
tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
|
|
15220
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
15221
|
+
}
|
|
15222
|
+
if (instfilters.length != 0) {
|
|
15223
|
+
var _ProductFilterObjCont3;
|
|
15224
|
+
var tempinstfilters = _toConsumableArray(instfilters);
|
|
15225
|
+
tempinstfilters === null || tempinstfilters === void 0 || tempinstfilters.forEach(function (instfilteritem, instfilterindex) {
|
|
15226
|
+
instfilteritem.productvaluesfilter.forEach(function (valefilteritem, valefilteritemindex) {
|
|
15227
|
+
valefilteritem.isfilterselected = false;
|
|
15228
|
+
});
|
|
15229
|
+
});
|
|
15230
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont3 = ProductFilterObjContext.FilterOptions) === null || _ProductFilterObjCont3 === void 0 || _ProductFilterObjCont3.forEach(function (filteritem, filterindex) {
|
|
15231
|
+
tempinstfilters === null || tempinstfilters === void 0 || tempinstfilters.forEach(function (instfilteritem, instfilterindex) {
|
|
15232
|
+
var _instfilteritem$produ;
|
|
15233
|
+
instfilteritem === null || instfilteritem === void 0 || (_instfilteritem$produ = instfilteritem.productvaluesfilter) === null || _instfilteritem$produ === void 0 || _instfilteritem$produ.forEach(function (valefilteritem, valefilteritemindex) {
|
|
15234
|
+
if (filteritem.valueid == valefilteritem.valueid) {
|
|
15235
|
+
valefilteritem.isfilterselected = true;
|
|
15236
|
+
}
|
|
15237
|
+
});
|
|
15238
|
+
});
|
|
15239
|
+
});
|
|
15240
|
+
setinstfilters(_toConsumableArray(tempinstfilters));
|
|
15241
|
+
}
|
|
15242
|
+
if (instcategories.length != 0) {
|
|
15243
|
+
var _ProductFilterObjCont4;
|
|
15244
|
+
var tempInstcategories = _toConsumableArray(instcategories);
|
|
15245
|
+
tempInstcategories.forEach(function (catitem, catindex) {
|
|
15246
|
+
catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
15247
|
+
parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
15248
|
+
colitem.isfilterselected = false;
|
|
15249
|
+
});
|
|
15250
|
+
});
|
|
15251
|
+
});
|
|
15252
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont4 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont4 === void 0 || _ProductFilterObjCont4.forEach(function (filteritem, filterindex) {
|
|
15253
|
+
tempInstcategories.forEach(function (catitem, catindex) {
|
|
15254
|
+
catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
15255
|
+
parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
15256
|
+
if (colitem.collectionid == filteritem) {
|
|
15257
|
+
colitem.isfilterselected = true;
|
|
15258
|
+
}
|
|
15259
|
+
});
|
|
15260
|
+
});
|
|
15261
|
+
});
|
|
15262
|
+
});
|
|
15263
|
+
setinstcategories(_toConsumableArray(tempInstcategories));
|
|
15264
|
+
}
|
|
15265
|
+
if (instcollections.length != 0) {
|
|
15266
|
+
var _ProductFilterObjCont5;
|
|
15267
|
+
var tempInstcollections = _toConsumableArray(instcollections);
|
|
15268
|
+
tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
|
|
15269
|
+
instfilteritem.isfilterselected = false;
|
|
15270
|
+
});
|
|
15271
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont5 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont5 === void 0 || _ProductFilterObjCont5.forEach(function (filteritem, filterindex) {
|
|
15272
|
+
tempInstcollections === null || tempInstcollections === void 0 || tempInstcollections.forEach(function (instfilteritem, instfilterindex) {
|
|
15273
|
+
if (instfilteritem.collectionid == filteritem) {
|
|
15274
|
+
instfilteritem.isfilterselected = true;
|
|
15275
|
+
}
|
|
15276
|
+
});
|
|
15277
|
+
});
|
|
15278
|
+
setinstcollections(_toConsumableArray(tempInstcollections));
|
|
15279
|
+
}
|
|
15280
|
+
};
|
|
15281
|
+
var setfilterfunc = function setfilterfunc(valueid, valueindex, mainparentindex, type) {
|
|
15282
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15283
|
+
if (type == 'clearfilters') {
|
|
15284
|
+
tempfetchproductsfilerobjcontext.FilterOptions = [];
|
|
15285
|
+
} else {
|
|
15286
|
+
var _tempfetchproductsfil;
|
|
15287
|
+
var FilterExists = false;
|
|
15288
|
+
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.FilterOptions) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
|
|
15289
|
+
if (filteritem.valueid == valueid) {
|
|
15290
|
+
FilterExists = true;
|
|
15291
|
+
tempfetchproductsfilerobjcontext.FilterOptions.splice(filterindex, 1);
|
|
15292
|
+
}
|
|
15293
|
+
});
|
|
15294
|
+
if (!FilterExists) {
|
|
15295
|
+
tempfetchproductsfilerobjcontext.FilterOptions.push({
|
|
15296
|
+
valueid: valueid
|
|
15297
|
+
});
|
|
15298
|
+
}
|
|
15299
|
+
}
|
|
15300
|
+
if (tempfetchproductsfilerobjcontext.FilterOptions.length == 0) {
|
|
15301
|
+
tempfetchproductsfilerobjcontext.isfilter = 0;
|
|
15302
|
+
} else {
|
|
15303
|
+
tempfetchproductsfilerobjcontext.isfilter = 1;
|
|
15304
|
+
}
|
|
15305
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
15306
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15307
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15308
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15309
|
+
};
|
|
15310
|
+
var filter_cssstyles = {
|
|
15311
|
+
form_control: css((_css = {
|
|
15312
|
+
position: 'relative',
|
|
15313
|
+
display: 'flex',
|
|
15314
|
+
alignItems: 'center'
|
|
15315
|
+
}, _defineProperty(_css, "display", 'block'), _defineProperty(_css, "width", '100%'), _defineProperty(_css, "padding", '0 30px'), _defineProperty(_css, "transition", '.3s'), _defineProperty(_css, "fontWeight", 500), _defineProperty(_css, "border", '1px solid #ccc'), _defineProperty(_css, "borderRadius", '5px'), _defineProperty(_css, "height", '40px'), _defineProperty(_css, "background", 'transparent'), _defineProperty(_css, "color", '#000'), _defineProperty(_css, "fontSize", '14px'), _defineProperty(_css, ':focus', {
|
|
15316
|
+
// borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
15317
|
+
borderColor: '#eac435',
|
|
15318
|
+
boxShadow: 'none'
|
|
15319
|
+
}), _css)),
|
|
15320
|
+
collapsetitle: css({
|
|
15321
|
+
fontSize: sectionproperties.filtertitle_fontsize + 'px',
|
|
15322
|
+
fontWeight: sectionproperties.filtertitle_fontweight,
|
|
15323
|
+
textTransform: sectionproperties.filtertitle_texttransform,
|
|
15324
|
+
color: sectionproperties.filtertitle_color,
|
|
15325
|
+
':hover': {
|
|
15326
|
+
color: sectionproperties.filtertitle_coloronhover
|
|
15327
|
+
}
|
|
15328
|
+
}),
|
|
15329
|
+
titlecontainer: css({
|
|
15330
|
+
color: sectionproperties.filtertitle_color,
|
|
15331
|
+
':hover .collapsetitle': {
|
|
15332
|
+
color: sectionproperties.filtertitle_coloronhover
|
|
15333
|
+
}
|
|
15334
|
+
}),
|
|
15335
|
+
timeline_text: css({
|
|
15336
|
+
fontSize: sectionproperties.timeline_text_fontsize + 'px',
|
|
15337
|
+
fontWeight: sectionproperties.timeline_text_fontweight,
|
|
15338
|
+
textTransform: sectionproperties.timeline_text_texttransform,
|
|
15339
|
+
color: sectionproperties.timeline_text_color,
|
|
15340
|
+
transition: '.3s',
|
|
15341
|
+
':hover': {
|
|
15342
|
+
color: sectionproperties.timeline_text_coloronhover
|
|
15343
|
+
}
|
|
15344
|
+
}),
|
|
15345
|
+
btnstyles: css({
|
|
15346
|
+
color: sectionproperties.generalbtn_textColor,
|
|
15347
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
15348
|
+
textTransform: sectionproperties.generalbtn_texttransform,
|
|
15349
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
15350
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
15351
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
15352
|
+
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
15353
|
+
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
15354
|
+
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
15355
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
15356
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
15357
|
+
transition: '.3s',
|
|
15358
|
+
':hover': {
|
|
15359
|
+
background: sectionproperties.generalbtn_bgColoronhover,
|
|
15360
|
+
color: sectionproperties.generalbtn_textColoronhover
|
|
15361
|
+
}
|
|
15362
|
+
}),
|
|
15363
|
+
close_menu_icon_cont: css({
|
|
15364
|
+
background: sectionproperties.closeSliderBgColor,
|
|
15365
|
+
width: sectionproperties.closeSliderWidth + 'px',
|
|
15366
|
+
height: sectionproperties.closeSliderHeight + 'px',
|
|
15367
|
+
borderRadius: sectionproperties.closeSlider_borderBottomLeftRadius + 'px',
|
|
15368
|
+
':hover': {
|
|
15369
|
+
background: sectionproperties.closeSliderBgColorHover
|
|
15370
|
+
}
|
|
15371
|
+
}),
|
|
15372
|
+
horizontalfilter_card: css({
|
|
15373
|
+
marginBottom: sectionproperties.horizontalfilter_mb + 'px',
|
|
15374
|
+
marginTop: sectionproperties.horizontalfilter_mt + 'px',
|
|
15375
|
+
background: sectionproperties.horizontalfilter_cardbg,
|
|
15376
|
+
border: sectionproperties.horizontalfilter_cardborderwidth + 'px solid ' + sectionproperties.horizontalfilter_cardbordercolor,
|
|
15377
|
+
boxShadow: sectionproperties.horizontalfilter_cardboxShadow == 'Show' ? sectionproperties.horizontalfilter_cardboxShadowcolor : 'horizontalfilter_cardboxShadow'
|
|
15378
|
+
}),
|
|
15379
|
+
btn_item: css({
|
|
15380
|
+
width: '20px',
|
|
15381
|
+
height: '20px',
|
|
15382
|
+
background: sectionproperties.filteritembtn_bgcolor,
|
|
15383
|
+
':hover': {
|
|
15384
|
+
background: sectionproperties.filteritembtn_bghover
|
|
15385
|
+
}
|
|
15386
|
+
}),
|
|
15387
|
+
btn_item_active: css({
|
|
15388
|
+
background: sectionproperties.btn_item_activebgcolor
|
|
15389
|
+
}),
|
|
15390
|
+
timelineinnercont_active: css({
|
|
15391
|
+
fontWeight: sectionproperties.activecat_fontweight,
|
|
15392
|
+
color: sectionproperties.activecat_color
|
|
15393
|
+
}),
|
|
15394
|
+
categoryName: css({
|
|
15395
|
+
color: sectionproperties.filtertitle_color,
|
|
15396
|
+
fontWeight: sectionproperties.filterCatFontWeight,
|
|
15397
|
+
fontSize: sectionproperties.filterCatFontSize + 'px'
|
|
15398
|
+
}),
|
|
15399
|
+
pCollectionName: css({
|
|
15400
|
+
color: sectionproperties.filtertitle_color,
|
|
15401
|
+
fontWeight: sectionproperties.filterPCollFontWeight,
|
|
15402
|
+
fontSize: sectionproperties.filterPCollFontSize + 'px'
|
|
15403
|
+
}),
|
|
15404
|
+
explorebtn: css({
|
|
15405
|
+
fontSize: sectionproperties.explorebtnfontsize + 'px',
|
|
15406
|
+
fontWeight: 600,
|
|
15407
|
+
color: sectionproperties.explorebtncolor,
|
|
15408
|
+
transition: '.3s',
|
|
15409
|
+
':hover': {
|
|
15410
|
+
color: sectionproperties.explorebtncoloronhover
|
|
15411
|
+
}
|
|
15412
|
+
}),
|
|
15413
|
+
showallbtn: css({
|
|
15414
|
+
color: sectionproperties.showallcolor,
|
|
15415
|
+
':hover': {
|
|
15416
|
+
transition: '.3s',
|
|
15417
|
+
cursor: 'pointer',
|
|
15418
|
+
color: sectionproperties.showallcolorhover
|
|
15419
|
+
}
|
|
15420
|
+
}),
|
|
15421
|
+
sectiontitle: css({
|
|
15422
|
+
position: 'relative',
|
|
15423
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
15424
|
+
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
15425
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
15426
|
+
'@media (max-width: 800px)': {
|
|
15427
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
15428
|
+
}
|
|
15429
|
+
})
|
|
15430
|
+
};
|
|
15431
|
+
var filterrouting = function filterrouting(tempfetchproductsfilerobjcontext) {
|
|
15432
|
+
var path = window.location.pathname.split('/');
|
|
15433
|
+
var currentpagepath = path[1];
|
|
15434
|
+
var pagenamepathinstaticpagelinkcont = '';
|
|
15435
|
+
for (var key in StaticPagesLinksContext) {
|
|
15436
|
+
if (StaticPagesLinksContext[key] == currentpagepath) {
|
|
15437
|
+
pagenamepathinstaticpagelinkcont = key;
|
|
15438
|
+
}
|
|
15439
|
+
}
|
|
15440
|
+
if (pagenamepathinstaticpagelinkcont != undefined && pagenamepathinstaticpagelinkcont != '') {
|
|
15441
|
+
routingcountext(StaticPagesLinksContext[pagenamepathinstaticpagelinkcont], true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15442
|
+
}
|
|
15443
|
+
};
|
|
15444
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
15445
|
+
className: 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none',
|
|
15446
|
+
style: {
|
|
15447
|
+
marginTop: sectionproperties.filtersection_mt + 'px'
|
|
15448
|
+
}
|
|
15449
|
+
}, /*#__PURE__*/React.createElement(Accordion, {
|
|
15450
|
+
allowMultipleExpanded: true,
|
|
15451
|
+
allowZeroExpanded: true
|
|
15452
|
+
}, instfilters.map(function (item, index) {
|
|
15453
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(AccordionItem, {
|
|
15454
|
+
uuid: index
|
|
15455
|
+
}, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
|
|
15456
|
+
className: filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '
|
|
15457
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
15458
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
15459
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
15460
|
+
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 ' : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
|
|
15461
|
+
}, langdetect == 'en' ? item.optionname : item.optionname_ar)), /*#__PURE__*/React.createElement("div", {
|
|
15462
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
15463
|
+
}, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
|
|
15464
|
+
if (state.expanded == true) {
|
|
15465
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
15466
|
+
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
15467
|
+
}, /*#__PURE__*/React.createElement(FiChevronDown, null));
|
|
15468
|
+
} else {
|
|
15469
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
15470
|
+
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
15471
|
+
}, /*#__PURE__*/React.createElement(FiChevronUp, null));
|
|
15472
|
+
}
|
|
15473
|
+
}))))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
|
|
15474
|
+
className: "p-0"
|
|
15475
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
15476
|
+
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
|
|
15477
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
15478
|
+
className: 'col-lg-12'
|
|
15479
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
15480
|
+
className: langdetect == 'en' ? "".concat(filterstyles.timeline) + ' p-sm-0 ' : "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 '
|
|
15481
|
+
}, item.productvaluesfilter.map(function (valueitem, valueindex) {
|
|
15482
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
15483
|
+
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(valueitem.isfilterselected ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
15484
|
+
onClick: function onClick() {
|
|
15485
|
+
setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
15486
|
+
}
|
|
15487
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
15488
|
+
className: " ".concat(valueitem.isfilterselected ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
|
|
15489
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
15490
|
+
className: "h-100 d-flex align-items-center"
|
|
15491
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
15492
|
+
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
15493
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
15494
|
+
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
15495
|
+
style: {
|
|
15496
|
+
color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
|
|
15497
|
+
}
|
|
15498
|
+
}, langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar)));
|
|
15499
|
+
})))))), /*#__PURE__*/React.createElement("hr", {
|
|
15500
|
+
className: "mt-3 mb-3"
|
|
15501
|
+
}));
|
|
15502
|
+
})));
|
|
15503
|
+
};
|
|
15504
|
+
|
|
15505
|
+
function ownKeys$28(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; }
|
|
15506
|
+
function _objectSpread$28(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$28(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$28(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
14962
15507
|
var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
14963
15508
|
var _authdetailsContext$i;
|
|
14964
15509
|
props.actions.lang;
|
|
@@ -15088,7 +15633,7 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15088
15633
|
}, [ProductFilterObjContext]);
|
|
15089
15634
|
var filterupdater = function filterupdater() {
|
|
15090
15635
|
setTimeout(function () {
|
|
15091
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
15636
|
+
var tempFetchQueriesEngineContext = _objectSpread$28({}, FetchQueriesEngineContext);
|
|
15092
15637
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
15093
15638
|
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
15094
15639
|
}, 100);
|
|
@@ -15133,7 +15678,7 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15133
15678
|
};
|
|
15134
15679
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
15135
15680
|
var _tempfetchproductsfil;
|
|
15136
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
15681
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$28({}, ProductFilterObjContext);
|
|
15137
15682
|
var CollectionExists = false;
|
|
15138
15683
|
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
|
|
15139
15684
|
if (filteritem == collectionid) {
|
|
@@ -15150,7 +15695,7 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15150
15695
|
}
|
|
15151
15696
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
15152
15697
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
15153
|
-
setProductFilterObjContext(_objectSpread$
|
|
15698
|
+
setProductFilterObjContext(_objectSpread$28({}, tempfetchproductsfilerobjcontext));
|
|
15154
15699
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15155
15700
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15156
15701
|
};
|
|
@@ -15207,9 +15752,14 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15207
15752
|
var serverbaselink$1 = 'https://tabex-co.com';
|
|
15208
15753
|
var image_serverbaselink = 'https://tabexseriesmedia.s3.eu-north-1.amazonaws.com';
|
|
15209
15754
|
|
|
15210
|
-
function ownKeys$
|
|
15211
|
-
function _objectSpread$
|
|
15755
|
+
function ownKeys$27(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; }
|
|
15756
|
+
function _objectSpread$27(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$27(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$27(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15212
15757
|
var CardsSection = function CardsSection(props) {
|
|
15758
|
+
var plainString = function plainString(html) {
|
|
15759
|
+
var divContainer = document.createElement('div');
|
|
15760
|
+
divContainer.innerHTML = html;
|
|
15761
|
+
return divContainer.textContent || divContainer.innerText || '';
|
|
15762
|
+
};
|
|
15213
15763
|
var refscr = /*#__PURE__*/createRef();
|
|
15214
15764
|
var _useInView = useInView();
|
|
15215
15765
|
_useInView.ref;
|
|
@@ -15268,11 +15818,6 @@ var CardsSection = function CardsSection(props) {
|
|
|
15268
15818
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
15269
15819
|
maincontainerarrayofobjs = _useState12[0],
|
|
15270
15820
|
setmaincontainerarrayofobjs = _useState12[1];
|
|
15271
|
-
// React.useEffect(() => {
|
|
15272
|
-
// if (inView) {
|
|
15273
|
-
// fetchProductsQuery.fetchNextPage();
|
|
15274
|
-
// }
|
|
15275
|
-
// }, [inView]);
|
|
15276
15821
|
var _useState13 = useState(12),
|
|
15277
15822
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
15278
15823
|
perpageItems = _useState14[0],
|
|
@@ -15295,7 +15840,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
15295
15840
|
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
15296
15841
|
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
15297
15842
|
});
|
|
15298
|
-
setsectionproperties(_objectSpread$
|
|
15843
|
+
setsectionproperties(_objectSpread$27({}, secpropobj));
|
|
15299
15844
|
if (props.srcfromprops == 'GeneralProductsComponent') {
|
|
15300
15845
|
setfetchingtype('products');
|
|
15301
15846
|
var lcproductfetchingtype = 'Random';
|
|
@@ -15369,9 +15914,9 @@ var CardsSection = function CardsSection(props) {
|
|
|
15369
15914
|
}
|
|
15370
15915
|
tempfetchproductsfilerobjcontext.grouptype = ProductsFetchingTypeSectionObj.grouptype;
|
|
15371
15916
|
tempfetchproductsfilerobjcontext.grouptyperefid = ProductsFetchingTypeSectionObj.grouptyperefid;
|
|
15372
|
-
setProductFilterObjContext(_objectSpread$
|
|
15917
|
+
setProductFilterObjContext(_objectSpread$27({}, tempfetchproductsfilerobjcontext));
|
|
15373
15918
|
}
|
|
15374
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
15919
|
+
setFetchQueriesEngineContext(_objectSpread$27({}, tempFetchQueriesEngineContext));
|
|
15375
15920
|
}
|
|
15376
15921
|
}, [fetchingtype, ProductsFetchingTypeSectionObj]);
|
|
15377
15922
|
useEffect(function () {
|
|
@@ -15654,9 +16199,9 @@ var CardsSection = function CardsSection(props) {
|
|
|
15654
16199
|
// Example items, to simulate fetching from another resources.
|
|
15655
16200
|
var handlePageClick = function handlePageClick(event) {
|
|
15656
16201
|
props.scrolltotop();
|
|
15657
|
-
var tempProductFilterObjContext = _objectSpread$
|
|
16202
|
+
var tempProductFilterObjContext = _objectSpread$27({}, ProductFilterObjContext);
|
|
15658
16203
|
tempProductFilterObjContext.page = event === null || event === void 0 ? void 0 : event.selected;
|
|
15659
|
-
setProductFilterObjContext(_objectSpread$
|
|
16204
|
+
setProductFilterObjContext(_objectSpread$27({}, tempProductFilterObjContext));
|
|
15660
16205
|
var pasturl = '';
|
|
15661
16206
|
if (props.grouptypeprops != undefined) {
|
|
15662
16207
|
if (props.collectionidprops != undefined) {
|
|
@@ -15926,9 +16471,69 @@ var CardsSection = function CardsSection(props) {
|
|
|
15926
16471
|
}
|
|
15927
16472
|
return isloading;
|
|
15928
16473
|
};
|
|
16474
|
+
var show_product_group_titles = function show_product_group_titles() {
|
|
16475
|
+
var title_en = '';
|
|
16476
|
+
var title_ar = '';
|
|
16477
|
+
var description_en = '';
|
|
16478
|
+
var description_ar = '';
|
|
16479
|
+
var logo = '';
|
|
16480
|
+
var type = '';
|
|
16481
|
+
var id = '';
|
|
16482
|
+
if (ProductFilterObjContext['collections'] != undefined && Array.isArray(ProductFilterObjContext['collections']) && ProductFilterObjContext['collections'][0] != undefined) {
|
|
16483
|
+
id = ProductFilterObjContext['collections'][0];
|
|
16484
|
+
}
|
|
16485
|
+
if (id != null && id != '' && id != 'all') {
|
|
16486
|
+
var _fetchCategoriesQuery4;
|
|
16487
|
+
fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery4 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery4 === void 0 || (_fetchCategoriesQuery4 = _fetchCategoriesQuery4.data) === null || _fetchCategoriesQuery4 === void 0 || (_fetchCategoriesQuery4 = _fetchCategoriesQuery4.categories) === null || _fetchCategoriesQuery4 === void 0 || _fetchCategoriesQuery4.map(function (catitem) {
|
|
16488
|
+
if (catitem.categoryid == id) {
|
|
16489
|
+
title_en = catitem.title_en;
|
|
16490
|
+
title_ar = catitem.title_ar;
|
|
16491
|
+
description_en = catitem.description_en;
|
|
16492
|
+
description_ar = catitem.description_ar;
|
|
16493
|
+
logo = catitem.categorylogo;
|
|
16494
|
+
type = 'category';
|
|
16495
|
+
}
|
|
16496
|
+
if (title_en == '') {
|
|
16497
|
+
var _catitem$parentcollet;
|
|
16498
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet = catitem.parentcolletions) === null || _catitem$parentcollet === void 0 || _catitem$parentcollet.map(function (parentitem) {
|
|
16499
|
+
if (parentitem.parentcollectionid == id) {
|
|
16500
|
+
title_en = parentitem.title_en;
|
|
16501
|
+
title_ar = parentitem.title_ar;
|
|
16502
|
+
description_en = parentitem.description_en;
|
|
16503
|
+
description_ar = parentitem.description_ar;
|
|
16504
|
+
logo = parentitem.parentcollectionlogo;
|
|
16505
|
+
type = 'parentcollection';
|
|
16506
|
+
}
|
|
16507
|
+
if (title_en == '') {
|
|
16508
|
+
var _parentitem$collectio;
|
|
16509
|
+
parentitem === null || parentitem === void 0 || (_parentitem$collectio = parentitem.collections) === null || _parentitem$collectio === void 0 || _parentitem$collectio.map(function (colitem) {
|
|
16510
|
+
if (colitem.collectionid == id) {
|
|
16511
|
+
title_en = colitem.title_en;
|
|
16512
|
+
title_ar = colitem.title_ar;
|
|
16513
|
+
description_en = colitem.description_en;
|
|
16514
|
+
description_ar = colitem.description_ar;
|
|
16515
|
+
logo = colitem.collectionlogo;
|
|
16516
|
+
type = 'collection';
|
|
16517
|
+
}
|
|
16518
|
+
});
|
|
16519
|
+
}
|
|
16520
|
+
});
|
|
16521
|
+
}
|
|
16522
|
+
});
|
|
16523
|
+
}
|
|
16524
|
+
return {
|
|
16525
|
+
title_en: title_en,
|
|
16526
|
+
title_ar: title_ar,
|
|
16527
|
+
description_en: description_en,
|
|
16528
|
+
description_ar: description_ar,
|
|
16529
|
+
type: type,
|
|
16530
|
+
id: id,
|
|
16531
|
+
logo: logo
|
|
16532
|
+
};
|
|
16533
|
+
};
|
|
15929
16534
|
var cardsrender = function cardsrender() {
|
|
15930
16535
|
return /*#__PURE__*/React.createElement("div", {
|
|
15931
|
-
"class": sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? sectionproperties.numofcols == '2' ? 'col-lg-10 col-md-12 col-sm-12 p-sm-0' : 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : 'row m-0 w-100 p-sm-0'
|
|
16536
|
+
"class": sectionproperties.showvariantfilter == 'Show' ? 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? sectionproperties.numofcols == '2' ? 'col-lg-10 col-md-12 col-sm-12 p-sm-0' : 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : 'row m-0 w-100 p-sm-0'
|
|
15932
16537
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
15933
16538
|
className: "row m-0 w-100 d-flex align-items-center p-sm-0"
|
|
15934
16539
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -16175,7 +16780,10 @@ var CardsSection = function CardsSection(props) {
|
|
|
16175
16780
|
// ? 'scrollmenuclassnameitemModernProductCard'
|
|
16176
16781
|
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
16177
16782
|
// ? 'scrollmenuclassnameitemSimplecategorycardwithtextbelow'
|
|
16178
|
-
item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' :
|
|
16783
|
+
item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' :
|
|
16784
|
+
// : item.tabexsectioninfo.sectioncompname == 'Card23'
|
|
16785
|
+
// ? 'scrollmenuclassnameitemCard23'
|
|
16786
|
+
item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'ModernCardWithQuantityButton' ? 'scrollmenuclassnameitemModernCardWithQuantityButton' : item.tabexsectioninfo.sectioncompname == 'CategoryCardwithhoveraction' ? 'scrollmenuclassnameitemCategoryCardwithhoveraction' : item.tabexsectioninfo.sectioncompname == 'CircleCardWithVariants' ? 'scrollmenuclassnameitemCircleCardWithVariants' :
|
|
16179
16787
|
// : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard'
|
|
16180
16788
|
// ? 'scrollmenuclassnameitemUpSlideEffectCard'
|
|
16181
16789
|
item.tabexsectioninfo.sectioncompname == 'CategoryCardTextOnImage' ? 'scrollmenuclassnameitemCategoryCardTextOnImage' : '',
|
|
@@ -16446,18 +17054,42 @@ var CardsSection = function CardsSection(props) {
|
|
|
16446
17054
|
}
|
|
16447
17055
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
16448
17056
|
"class": section_cssstyles.innercardssection + ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 '
|
|
16449
|
-
}, sectionproperties.
|
|
17057
|
+
}, sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
17058
|
+
"class": "col-lg-12 mb-3 mt-5"
|
|
17059
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
17060
|
+
"class": "m-0",
|
|
17061
|
+
style: {
|
|
17062
|
+
fontWeight: 700,
|
|
17063
|
+
fontSize: 27,
|
|
17064
|
+
color: '#62554a'
|
|
17065
|
+
}
|
|
17066
|
+
}, show_product_group_titles()['title_en'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
17067
|
+
"class": "col-lg-12 mb-3"
|
|
17068
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
17069
|
+
"class": "m-0",
|
|
17070
|
+
style: {
|
|
17071
|
+
fontSize: 18,
|
|
17072
|
+
color: '#62554a'
|
|
17073
|
+
}
|
|
17074
|
+
}, plainString(show_product_group_titles()['description_en']))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React.createElement("div", {
|
|
16450
17075
|
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex p-0' : sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'
|
|
16451
17076
|
}, /*#__PURE__*/React.createElement(Filter$1, {
|
|
16452
17077
|
sectionpropertiesprops: sectionproperties,
|
|
16453
17078
|
actions: actions,
|
|
16454
17079
|
openFilterSlider: openFilterSlider,
|
|
16455
17080
|
setopenFilterSlider: setopenFilterSlider
|
|
17081
|
+
})), sectionproperties.showvariantfilter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
17082
|
+
className: 'col-lg-3 d-flex'
|
|
17083
|
+
}, /*#__PURE__*/React.createElement(VariantFilter, {
|
|
17084
|
+
sectionpropertiesprops: sectionproperties,
|
|
17085
|
+
actions: actions,
|
|
17086
|
+
openFilterSlider: openFilterSlider,
|
|
17087
|
+
setopenFilterSlider: setopenFilterSlider
|
|
16456
17088
|
})), fetchingtype == 'custom' && /*#__PURE__*/React.createElement(React.Fragment, null, cardsrender()), fetchingtype != 'custom' && cardsrender()));
|
|
16457
17089
|
};
|
|
16458
17090
|
|
|
16459
|
-
function ownKeys$
|
|
16460
|
-
function _objectSpread$
|
|
17091
|
+
function ownKeys$26(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; }
|
|
17092
|
+
function _objectSpread$26(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$26(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$26(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16461
17093
|
var InnerGroups = function InnerGroups(props) {
|
|
16462
17094
|
var _useState = useState(''),
|
|
16463
17095
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -16498,7 +17130,7 @@ var InnerGroups = function InnerGroups(props) {
|
|
|
16498
17130
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16499
17131
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16500
17132
|
});
|
|
16501
|
-
setsectionproperties(_objectSpread$
|
|
17133
|
+
setsectionproperties(_objectSpread$26({}, secpropobj));
|
|
16502
17134
|
}
|
|
16503
17135
|
}, [StatePagePropertiesContext]);
|
|
16504
17136
|
// useEffect(() => {
|
|
@@ -16514,14 +17146,14 @@ var InnerGroups = function InnerGroups(props) {
|
|
|
16514
17146
|
backgroundColor: sectionproperties.backgroundColor
|
|
16515
17147
|
}
|
|
16516
17148
|
}, /*#__PURE__*/React.createElement(CardsSection, {
|
|
16517
|
-
actions: _objectSpread$
|
|
17149
|
+
actions: _objectSpread$26(_objectSpread$26({}, actions), {}, {
|
|
16518
17150
|
fetchingtype: grouptypeparams
|
|
16519
17151
|
})
|
|
16520
17152
|
}));
|
|
16521
17153
|
};
|
|
16522
17154
|
|
|
16523
|
-
function ownKeys$
|
|
16524
|
-
function _objectSpread$
|
|
17155
|
+
function ownKeys$25(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; }
|
|
17156
|
+
function _objectSpread$25(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$25(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$25(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16525
17157
|
var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
16526
17158
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16527
17159
|
var _useState = useState(''),
|
|
@@ -16552,7 +17184,7 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
16552
17184
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16553
17185
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16554
17186
|
});
|
|
16555
|
-
setsectionproperties(_objectSpread$
|
|
17187
|
+
setsectionproperties(_objectSpread$25({}, secpropobj));
|
|
16556
17188
|
}
|
|
16557
17189
|
}, [StatePagePropertiesContext]);
|
|
16558
17190
|
useEffect(function () {
|
|
@@ -16565,9 +17197,9 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
16565
17197
|
}
|
|
16566
17198
|
}, []);
|
|
16567
17199
|
useEffect(function () {
|
|
16568
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17200
|
+
var tempFetchQueriesEngineContext = _objectSpread$25({}, FetchQueriesEngineContext);
|
|
16569
17201
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16570
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17202
|
+
setFetchQueriesEngineContext(_objectSpread$25({}, tempFetchQueriesEngineContext));
|
|
16571
17203
|
}, []);
|
|
16572
17204
|
var _useState7 = useState([]),
|
|
16573
17205
|
_useState8 = _slicedToArray(_useState7, 2);
|
|
@@ -16643,8 +17275,8 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
16643
17275
|
})))));
|
|
16644
17276
|
};
|
|
16645
17277
|
|
|
16646
|
-
function ownKeys$
|
|
16647
|
-
function _objectSpread$
|
|
17278
|
+
function ownKeys$24(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; }
|
|
17279
|
+
function _objectSpread$24(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$24(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$24(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16648
17280
|
var RefundPolicy = function RefundPolicy(props) {
|
|
16649
17281
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16650
17282
|
var _useState = useState(''),
|
|
@@ -16675,7 +17307,7 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
16675
17307
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16676
17308
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16677
17309
|
});
|
|
16678
|
-
setsectionproperties(_objectSpread$
|
|
17310
|
+
setsectionproperties(_objectSpread$24({}, secpropobj));
|
|
16679
17311
|
}
|
|
16680
17312
|
}, [StatePagePropertiesContext]);
|
|
16681
17313
|
useEffect(function () {
|
|
@@ -16688,9 +17320,9 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
16688
17320
|
}
|
|
16689
17321
|
}, []);
|
|
16690
17322
|
useEffect(function () {
|
|
16691
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17323
|
+
var tempFetchQueriesEngineContext = _objectSpread$24({}, FetchQueriesEngineContext);
|
|
16692
17324
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16693
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17325
|
+
setFetchQueriesEngineContext(_objectSpread$24({}, tempFetchQueriesEngineContext));
|
|
16694
17326
|
}, []);
|
|
16695
17327
|
var _useState7 = useState([]),
|
|
16696
17328
|
_useState8 = _slicedToArray(_useState7, 2);
|
|
@@ -16766,8 +17398,8 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
16766
17398
|
})))));
|
|
16767
17399
|
};
|
|
16768
17400
|
|
|
16769
|
-
function ownKeys$
|
|
16770
|
-
function _objectSpread$
|
|
17401
|
+
function ownKeys$23(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; }
|
|
17402
|
+
function _objectSpread$23(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$23(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$23(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16771
17403
|
var ShippingPolicy = function ShippingPolicy(props) {
|
|
16772
17404
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16773
17405
|
var _useState = useState(''),
|
|
@@ -16798,7 +17430,7 @@ var ShippingPolicy = function ShippingPolicy(props) {
|
|
|
16798
17430
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16799
17431
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16800
17432
|
});
|
|
16801
|
-
setsectionproperties(_objectSpread$
|
|
17433
|
+
setsectionproperties(_objectSpread$23({}, secpropobj));
|
|
16802
17434
|
}
|
|
16803
17435
|
}, [StatePagePropertiesContext]);
|
|
16804
17436
|
useEffect(function () {
|
|
@@ -16811,9 +17443,9 @@ var ShippingPolicy = function ShippingPolicy(props) {
|
|
|
16811
17443
|
}
|
|
16812
17444
|
}, []);
|
|
16813
17445
|
useEffect(function () {
|
|
16814
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17446
|
+
var tempFetchQueriesEngineContext = _objectSpread$23({}, FetchQueriesEngineContext);
|
|
16815
17447
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16816
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17448
|
+
setFetchQueriesEngineContext(_objectSpread$23({}, tempFetchQueriesEngineContext));
|
|
16817
17449
|
}, []);
|
|
16818
17450
|
var _useState7 = useState([]),
|
|
16819
17451
|
_useState8 = _slicedToArray(_useState7, 2);
|
|
@@ -16889,8 +17521,8 @@ var ShippingPolicy = function ShippingPolicy(props) {
|
|
|
16889
17521
|
})))));
|
|
16890
17522
|
};
|
|
16891
17523
|
|
|
16892
|
-
function ownKeys$
|
|
16893
|
-
function _objectSpread$
|
|
17524
|
+
function ownKeys$22(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; }
|
|
17525
|
+
function _objectSpread$22(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$22(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$22(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16894
17526
|
var TermsConditions = function TermsConditions(props) {
|
|
16895
17527
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16896
17528
|
var _useState = useState(''),
|
|
@@ -16921,7 +17553,7 @@ var TermsConditions = function TermsConditions(props) {
|
|
|
16921
17553
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16922
17554
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16923
17555
|
});
|
|
16924
|
-
setsectionproperties(_objectSpread$
|
|
17556
|
+
setsectionproperties(_objectSpread$22({}, secpropobj));
|
|
16925
17557
|
}
|
|
16926
17558
|
}, [StatePagePropertiesContext]);
|
|
16927
17559
|
useEffect(function () {
|
|
@@ -16934,9 +17566,9 @@ var TermsConditions = function TermsConditions(props) {
|
|
|
16934
17566
|
}
|
|
16935
17567
|
}, []);
|
|
16936
17568
|
useEffect(function () {
|
|
16937
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17569
|
+
var tempFetchQueriesEngineContext = _objectSpread$22({}, FetchQueriesEngineContext);
|
|
16938
17570
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16939
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17571
|
+
setFetchQueriesEngineContext(_objectSpread$22({}, tempFetchQueriesEngineContext));
|
|
16940
17572
|
}, []);
|
|
16941
17573
|
var _useState7 = useState([]),
|
|
16942
17574
|
_useState8 = _slicedToArray(_useState7, 2);
|
|
@@ -17012,8 +17644,8 @@ var TermsConditions = function TermsConditions(props) {
|
|
|
17012
17644
|
})))));
|
|
17013
17645
|
};
|
|
17014
17646
|
|
|
17015
|
-
function ownKeys$
|
|
17016
|
-
function _objectSpread$
|
|
17647
|
+
function ownKeys$21(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; }
|
|
17648
|
+
function _objectSpread$21(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$21(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$21(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17017
17649
|
var Resetpassword = function Resetpassword(props) {
|
|
17018
17650
|
var _css, _css2;
|
|
17019
17651
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -17064,7 +17696,7 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17064
17696
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
17065
17697
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
17066
17698
|
});
|
|
17067
|
-
setsectionproperties(_objectSpread$
|
|
17699
|
+
setsectionproperties(_objectSpread$21({}, secpropobj));
|
|
17068
17700
|
}
|
|
17069
17701
|
}, [StatePagePropertiesContext]);
|
|
17070
17702
|
useEffect(function () {
|
|
@@ -17191,9 +17823,9 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17191
17823
|
className: "".concat(loginstyles2.form_control),
|
|
17192
17824
|
value: forgotpasswordpayload.email,
|
|
17193
17825
|
onChange: function onChange(event) {
|
|
17194
|
-
var temppayloadobj = _objectSpread$
|
|
17826
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17195
17827
|
temppayloadobj.email = event.target.value;
|
|
17196
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17828
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17197
17829
|
},
|
|
17198
17830
|
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
17199
17831
|
style: {
|
|
@@ -17208,9 +17840,9 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17208
17840
|
className: "".concat(loginstyles2.form_control),
|
|
17209
17841
|
value: forgotpasswordpayload.code,
|
|
17210
17842
|
onChange: function onChange(event) {
|
|
17211
|
-
var temppayloadobj = _objectSpread$
|
|
17843
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17212
17844
|
temppayloadobj.code = event.target.value;
|
|
17213
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17845
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17214
17846
|
},
|
|
17215
17847
|
style: {
|
|
17216
17848
|
background: sectionproperties.input_bgcolor
|
|
@@ -17224,9 +17856,9 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17224
17856
|
className: "".concat(loginstyles2.form_control),
|
|
17225
17857
|
value: forgotpasswordpayload.newpassword,
|
|
17226
17858
|
onChange: function onChange(event) {
|
|
17227
|
-
var temppayloadobj = _objectSpread$
|
|
17859
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17228
17860
|
temppayloadobj.newpassword = event.target.value;
|
|
17229
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17861
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17230
17862
|
},
|
|
17231
17863
|
style: {
|
|
17232
17864
|
background: sectionproperties.input_bgcolor
|
|
@@ -17240,9 +17872,9 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17240
17872
|
className: "".concat(loginstyles2.form_control),
|
|
17241
17873
|
value: forgotpasswordpayload.confirmnewpassword,
|
|
17242
17874
|
onChange: function onChange(event) {
|
|
17243
|
-
var temppayloadobj = _objectSpread$
|
|
17875
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17244
17876
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
17245
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17877
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17246
17878
|
},
|
|
17247
17879
|
style: {
|
|
17248
17880
|
background: sectionproperties.input_bgcolor
|
|
@@ -17254,7 +17886,7 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17254
17886
|
onClick: function onClick() {
|
|
17255
17887
|
if (forgotpasswordpayload.email.length != 0) {
|
|
17256
17888
|
var runfunc = false;
|
|
17257
|
-
var tempforgotpasswordpayload = _objectSpread$
|
|
17889
|
+
var tempforgotpasswordpayload = _objectSpread$21({}, forgotpasswordpayload);
|
|
17258
17890
|
tempforgotpasswordpayload.functype = forgetpasswordstage;
|
|
17259
17891
|
if (forgetpasswordstage == 'verify') {
|
|
17260
17892
|
if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
|
|
@@ -17540,8 +18172,8 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
17540
18172
|
}, lang.nosearchresults)))))));
|
|
17541
18173
|
};
|
|
17542
18174
|
|
|
17543
|
-
function ownKeys$
|
|
17544
|
-
function _objectSpread$
|
|
18175
|
+
function ownKeys$20(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; }
|
|
18176
|
+
function _objectSpread$20(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$20(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$20(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17545
18177
|
var MarqueeHeader = function MarqueeHeader(props) {
|
|
17546
18178
|
var _textarray$, _textarray$2;
|
|
17547
18179
|
props.actions;
|
|
@@ -17562,12 +18194,12 @@ var MarqueeHeader = function MarqueeHeader(props) {
|
|
|
17562
18194
|
settextarray = _useState6[1];
|
|
17563
18195
|
useEffect(function () {
|
|
17564
18196
|
if (props.sectionpropertiesprops != undefined) {
|
|
17565
|
-
setsectionproperties(_objectSpread$
|
|
18197
|
+
setsectionproperties(_objectSpread$20({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
17566
18198
|
}
|
|
17567
18199
|
}, [props.sectionpropertiesprops]);
|
|
17568
18200
|
useEffect(function () {
|
|
17569
18201
|
if (props.templateproperties_contextprops != undefined) {
|
|
17570
|
-
settemplateproperties_context(_objectSpread$
|
|
18202
|
+
settemplateproperties_context(_objectSpread$20({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
17571
18203
|
}
|
|
17572
18204
|
}, [props.templateproperties_contextprops]);
|
|
17573
18205
|
useEffect(function () {
|
|
@@ -17609,8 +18241,8 @@ var css_248z$B = ".subheader-module_sub_outercontainer__-z5ZD {\n position: r
|
|
|
17609
18241
|
var headerstyles$f = {"sub_outercontainer":"subheader-module_sub_outercontainer__-z5ZD","nav__item":"subheader-module_nav__item__8oLkw","link":"subheader-module_link__7IEBY","dropmenu":"subheader-module_dropmenu__lL4Sc","active":"subheader-module_active__MjZNG","subheader":"subheader-module_subheader__aW8fS"};
|
|
17610
18242
|
styleInject(css_248z$B);
|
|
17611
18243
|
|
|
17612
|
-
function ownKeys$
|
|
17613
|
-
function _objectSpread$
|
|
18244
|
+
function ownKeys$1$(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; }
|
|
18245
|
+
function _objectSpread$1$(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1$(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1$(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17614
18246
|
var Subheader = function Subheader(props) {
|
|
17615
18247
|
var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _props$subheaderprope4, _templatepropcontext$, _fetchCategoriesQuery2, _authdetailsContext$i, _props$subheaderprope13, _templatepropcontext$2, _props$subheaderprope16, _props$subheaderprope17, _templatepropcontext$3, _fetchCategoriesQuery3, _authdetailsContext$i2, _fetchCategoriesQuery4, _authdetailsContext$i3, _fetchCategoriesQuery5, _props$subheaderprope32, _props$subheaderprope33, _props$subheaderprope34, _props$subheaderprope35, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery9;
|
|
17616
18248
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
@@ -17647,12 +18279,12 @@ var Subheader = function Subheader(props) {
|
|
|
17647
18279
|
useEffect(function () {
|
|
17648
18280
|
var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
|
|
17649
18281
|
tempFetchQueriesEngineContext.categories = true;
|
|
17650
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
18282
|
+
setFetchQueriesEngineContext(_objectSpread$1$({}, tempFetchQueriesEngineContext));
|
|
17651
18283
|
// alert(JSON.stringify(authdetailsContext));
|
|
17652
18284
|
}, []);
|
|
17653
18285
|
useEffect(function () {
|
|
17654
18286
|
if (props.sectionpropertiesprops != undefined) {
|
|
17655
|
-
setsectionproperties(_objectSpread$
|
|
18287
|
+
setsectionproperties(_objectSpread$1$({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
17656
18288
|
}
|
|
17657
18289
|
}, [props.sectionpropertiesprops]);
|
|
17658
18290
|
// useEffect(() => {
|
|
@@ -18156,8 +18788,8 @@ var Subheader = function Subheader(props) {
|
|
|
18156
18788
|
})))))));
|
|
18157
18789
|
};
|
|
18158
18790
|
|
|
18159
|
-
function ownKeys$
|
|
18160
|
-
function _objectSpread$
|
|
18791
|
+
function ownKeys$1_(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; }
|
|
18792
|
+
function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
18161
18793
|
var Headerresponsive = function Headerresponsive(props) {
|
|
18162
18794
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _fetchCategoriesQuery2, _authdetailsContext$i9;
|
|
18163
18795
|
var actions = props.actions;
|
|
@@ -18192,7 +18824,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18192
18824
|
setpcollarray = _useState6[1];
|
|
18193
18825
|
useEffect(function () {
|
|
18194
18826
|
if (props.sectionpropertiesprops != undefined) {
|
|
18195
|
-
setsectionproperties(_objectSpread$
|
|
18827
|
+
setsectionproperties(_objectSpread$1_({}, props.sectionpropertiesprops));
|
|
18196
18828
|
}
|
|
18197
18829
|
}, [props.sectionpropertiesprops]);
|
|
18198
18830
|
var _useState7 = useState([]),
|
|
@@ -19414,8 +20046,8 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
19414
20046
|
})))))));
|
|
19415
20047
|
};
|
|
19416
20048
|
|
|
19417
|
-
function ownKeys$
|
|
19418
|
-
function _objectSpread$
|
|
20049
|
+
function ownKeys$1Z(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; }
|
|
20050
|
+
function _objectSpread$1Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19419
20051
|
var DownloadApp = function DownloadApp(props) {
|
|
19420
20052
|
props.actions;
|
|
19421
20053
|
props.actions.lang;
|
|
@@ -19440,7 +20072,7 @@ var DownloadApp = function DownloadApp(props) {
|
|
|
19440
20072
|
}, [sectionproperties]);
|
|
19441
20073
|
useEffect(function () {
|
|
19442
20074
|
if (props.sectionpropertiesprops != undefined) {
|
|
19443
|
-
setsectionproperties(_objectSpread$
|
|
20075
|
+
setsectionproperties(_objectSpread$1Z({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
19444
20076
|
}
|
|
19445
20077
|
}, [props.sectionpropertiesprops]);
|
|
19446
20078
|
var header_cssstyles = {
|
|
@@ -19493,8 +20125,8 @@ var DownloadApp = function DownloadApp(props) {
|
|
|
19493
20125
|
}))));
|
|
19494
20126
|
};
|
|
19495
20127
|
|
|
19496
|
-
function ownKeys$
|
|
19497
|
-
function _objectSpread$
|
|
20128
|
+
function ownKeys$1Y(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; }
|
|
20129
|
+
function _objectSpread$1Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Y(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19498
20130
|
var SocialMediaSection = function SocialMediaSection(props) {
|
|
19499
20131
|
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13;
|
|
19500
20132
|
props.actions;
|
|
@@ -19510,12 +20142,12 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
19510
20142
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
19511
20143
|
useEffect(function () {
|
|
19512
20144
|
if (props.sectionpropertiesprops != undefined) {
|
|
19513
|
-
setsectionproperties(_objectSpread$
|
|
20145
|
+
setsectionproperties(_objectSpread$1Y({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
19514
20146
|
}
|
|
19515
20147
|
}, [props.sectionpropertiesprops]);
|
|
19516
20148
|
useEffect(function () {
|
|
19517
20149
|
if (props.templateproperties_contextprops != undefined) {
|
|
19518
|
-
settemplateproperties_context(_objectSpread$
|
|
20150
|
+
settemplateproperties_context(_objectSpread$1Y({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
19519
20151
|
}
|
|
19520
20152
|
}, [props.templateproperties_contextprops]);
|
|
19521
20153
|
var header_cssstyles = {
|
|
@@ -19601,8 +20233,8 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
19601
20233
|
})));
|
|
19602
20234
|
};
|
|
19603
20235
|
|
|
19604
|
-
function ownKeys$
|
|
19605
|
-
function _objectSpread$
|
|
20236
|
+
function ownKeys$1X(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; }
|
|
20237
|
+
function _objectSpread$1X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1X(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19606
20238
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
19607
20239
|
var _css, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _fetchCategoriesQuery2, _authdetailsContext$i2;
|
|
19608
20240
|
var actions = props.actions;
|
|
@@ -19641,7 +20273,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19641
20273
|
setopenSearch = _useState8[1];
|
|
19642
20274
|
useEffect(function () {
|
|
19643
20275
|
if (props.sectionpropertiesprops != undefined) {
|
|
19644
|
-
setsectionproperties(_objectSpread$
|
|
20276
|
+
setsectionproperties(_objectSpread$1X({}, props.sectionpropertiesprops));
|
|
19645
20277
|
}
|
|
19646
20278
|
}, [props.sectionpropertiesprops]);
|
|
19647
20279
|
var _useState9 = useState([]),
|
|
@@ -20892,8 +21524,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
20892
21524
|
})))))));
|
|
20893
21525
|
};
|
|
20894
21526
|
|
|
20895
|
-
function ownKeys$
|
|
20896
|
-
function _objectSpread$
|
|
21527
|
+
function ownKeys$1W(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; }
|
|
21528
|
+
function _objectSpread$1W(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1W(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1W(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20897
21529
|
var ElegantHeader = function ElegantHeader(props) {
|
|
20898
21530
|
var _authdetailsContext$i, _authdetailsContext$i3, _textarray$, _textarray$2, _authdetailsContext$c, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
20899
21531
|
var _useState = useState(''),
|
|
@@ -20946,7 +21578,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
20946
21578
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
20947
21579
|
});
|
|
20948
21580
|
}
|
|
20949
|
-
setsectionproperties(_objectSpread$
|
|
21581
|
+
setsectionproperties(_objectSpread$1W({}, secpropobj));
|
|
20950
21582
|
}, [StatePagePropertiesContext]);
|
|
20951
21583
|
useEffect(function () {
|
|
20952
21584
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -21641,8 +22273,8 @@ var css_248z$A = ".Gotoheader-module_header_container__f-O-q {\n width: 100%
|
|
|
21641
22273
|
var headerstyles$e = {"header_container":"Gotoheader-module_header_container__f-O-q","topbar_item_container":"Gotoheader-module_topbar_item_container__qiBbU","topbar_item":"Gotoheader-module_topbar_item__rYdqG","badge_counter_header_notifications":"Gotoheader-module_badge_counter_header_notifications__a3aCj","header_divider":"Gotoheader-module_header_divider__KE8o6","searchbar":"Gotoheader-module_searchbar__xRQAq","searchbaractive":"Gotoheader-module_searchbaractive__ECT3T"};
|
|
21642
22274
|
styleInject(css_248z$A);
|
|
21643
22275
|
|
|
21644
|
-
function ownKeys$
|
|
21645
|
-
function _objectSpread$
|
|
22276
|
+
function ownKeys$1V(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; }
|
|
22277
|
+
function _objectSpread$1V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1V(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
21646
22278
|
var Gotoheader = function Gotoheader(props) {
|
|
21647
22279
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue2, _fetchcustomercartQue3, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
21648
22280
|
var _useState = useState(''),
|
|
@@ -21682,7 +22314,7 @@ var Gotoheader = function Gotoheader(props) {
|
|
|
21682
22314
|
});
|
|
21683
22315
|
}
|
|
21684
22316
|
}
|
|
21685
|
-
setsectionproperties(_objectSpread$
|
|
22317
|
+
setsectionproperties(_objectSpread$1V({}, secpropobj));
|
|
21686
22318
|
}, [StatePagePropertiesContext]);
|
|
21687
22319
|
var _useState3 = useState([]),
|
|
21688
22320
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -22383,8 +23015,8 @@ var css_248z$z = ".CategoryFeaturingHeader-module_lowerHeaderContainer__bQvQY {\
|
|
|
22383
23015
|
var headerstyles$d = {"lowerHeaderContainer":"CategoryFeaturingHeader-module_lowerHeaderContainer__bQvQY","navbar":"CategoryFeaturingHeader-module_navbar__KrZoa","navbar_item":"CategoryFeaturingHeader-module_navbar_item__x7kUB","badge_counter_header_notifications":"CategoryFeaturingHeader-module_badge_counter_header_notifications__OMiIG","searchbar":"CategoryFeaturingHeader-module_searchbar__QVi6T","searchbaractive":"CategoryFeaturingHeader-module_searchbaractive__SDflG"};
|
|
22384
23016
|
styleInject(css_248z$z);
|
|
22385
23017
|
|
|
22386
|
-
function ownKeys$
|
|
22387
|
-
function _objectSpread$
|
|
23018
|
+
function ownKeys$1U(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; }
|
|
23019
|
+
function _objectSpread$1U(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1U(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1U(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22388
23020
|
var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
22389
23021
|
var _authdetailsContext$i2, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i5, _authdetailsContext$i7, _fetchcustomercartQue3, _fetchcustomercartQue4;
|
|
22390
23022
|
var _useState = useState(''),
|
|
@@ -22432,7 +23064,7 @@ var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
|
22432
23064
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
22433
23065
|
});
|
|
22434
23066
|
}
|
|
22435
|
-
setsectionproperties(_objectSpread$
|
|
23067
|
+
setsectionproperties(_objectSpread$1U({}, secpropobj));
|
|
22436
23068
|
}, [StatePagePropertiesContext]);
|
|
22437
23069
|
useEffect(function () {
|
|
22438
23070
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -23339,8 +23971,8 @@ var css_248z$y = ".classicheader-module_headercontainer__tCNl- {\n display: f
|
|
|
23339
23971
|
var headerstyles$c = {"headercontainer":"classicheader-module_headercontainer__tCNl-","navbar":"classicheader-module_navbar__3MEax"};
|
|
23340
23972
|
styleInject(css_248z$y);
|
|
23341
23973
|
|
|
23342
|
-
function ownKeys$
|
|
23343
|
-
function _objectSpread$
|
|
23974
|
+
function ownKeys$1T(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; }
|
|
23975
|
+
function _objectSpread$1T(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1T(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1T(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23344
23976
|
var ClassicHeader = function ClassicHeader(props) {
|
|
23345
23977
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue, _fetchcustomercartQue2, _templatepropcontext$;
|
|
23346
23978
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
@@ -23377,7 +24009,7 @@ var ClassicHeader = function ClassicHeader(props) {
|
|
|
23377
24009
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
23378
24010
|
});
|
|
23379
24011
|
}
|
|
23380
|
-
setsectionproperties(_objectSpread$
|
|
24012
|
+
setsectionproperties(_objectSpread$1T({}, secpropobj));
|
|
23381
24013
|
}, [StatePagePropertiesContext]);
|
|
23382
24014
|
var _useState3 = useState([]),
|
|
23383
24015
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -24499,8 +25131,8 @@ var css_248z$x = ".CTAHeader-module_header_container__In9j3 .CTAHeader-module_to
|
|
|
24499
25131
|
var headerstyles$b = {"header_container":"CTAHeader-module_header_container__In9j3","topbar_item_container":"CTAHeader-module_topbar_item_container__yiKBc","badge_counter_header_notifications":"CTAHeader-module_badge_counter_header_notifications__LwrZ5","searchbar":"CTAHeader-module_searchbar__lDR8a","searchbaractive":"CTAHeader-module_searchbaractive__mPoEm"};
|
|
24500
25132
|
styleInject(css_248z$x);
|
|
24501
25133
|
|
|
24502
|
-
function ownKeys$
|
|
24503
|
-
function _objectSpread$
|
|
25134
|
+
function ownKeys$1S(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; }
|
|
25135
|
+
function _objectSpread$1S(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1S(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1S(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
24504
25136
|
var CTAHeader = function CTAHeader(props) {
|
|
24505
25137
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i13, _authdetailsContext$i15, _authdetailsContext$i18, _authdetailsContext$i21;
|
|
24506
25138
|
var actions = props.actions;
|
|
@@ -24548,7 +25180,7 @@ var CTAHeader = function CTAHeader(props) {
|
|
|
24548
25180
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
24549
25181
|
});
|
|
24550
25182
|
}
|
|
24551
|
-
setsectionproperties(_objectSpread$
|
|
25183
|
+
setsectionproperties(_objectSpread$1S({}, secpropobj));
|
|
24552
25184
|
}, [StatePagePropertiesContext]);
|
|
24553
25185
|
useEffect(function () {
|
|
24554
25186
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -25539,8 +26171,8 @@ var css_248z$w = ".Header_threesectionslogocentered-module_header_innercontainer
|
|
|
25539
26171
|
var headerstyles$a = {"header_innercontainer":"Header_threesectionslogocentered-module_header_innercontainer__yjjgZ","navbar_item":"Header_threesectionslogocentered-module_navbar_item__YMaF8","navbar_item_text":"Header_threesectionslogocentered-module_navbar_item_text__0DPls","navbar_item_active":"Header_threesectionslogocentered-module_navbar_item_active__ladUm","searchbarcont":"Header_threesectionslogocentered-module_searchbarcont__9MNXO","badge_counter_header_notifications":"Header_threesectionslogocentered-module_badge_counter_header_notifications__qekYU","searchbar":"Header_threesectionslogocentered-module_searchbar__5KdKx","searchbaractive":"Header_threesectionslogocentered-module_searchbaractive__8Pp-9"};
|
|
25540
26172
|
styleInject(css_248z$w);
|
|
25541
26173
|
|
|
25542
|
-
function ownKeys$
|
|
25543
|
-
function _objectSpread$
|
|
26174
|
+
function ownKeys$1R(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; }
|
|
26175
|
+
function _objectSpread$1R(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1R(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1R(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
25544
26176
|
var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
|
|
25545
26177
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
25546
26178
|
var _useState = useState(''),
|
|
@@ -25576,7 +26208,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
25576
26208
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
25577
26209
|
});
|
|
25578
26210
|
}
|
|
25579
|
-
setsectionproperties(_objectSpread$
|
|
26211
|
+
setsectionproperties(_objectSpread$1R({}, secpropobj));
|
|
25580
26212
|
}, [StatePagePropertiesContext]);
|
|
25581
26213
|
var _useState3 = useState([]),
|
|
25582
26214
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -26280,8 +26912,8 @@ var css_248z$v = ".Simpleheader-module_headercontainer__H09AD {\n position: a
|
|
|
26280
26912
|
var headerstyles$9 = {"headercontainer":"Simpleheader-module_headercontainer__H09AD","navbar":"Simpleheader-module_navbar__lLQ9F","header_cart":"Simpleheader-module_header_cart__GG895","header_badge":"Simpleheader-module_header_badge__cW4uV","nav__item":"Simpleheader-module_nav__item__txPCh","link":"Simpleheader-module_link__aI5DF","badge_counter_header_notifications":"Simpleheader-module_badge_counter_header_notifications__9NFCv","searchbar":"Simpleheader-module_searchbar__-iAVU","searchbaractive":"Simpleheader-module_searchbaractive__9RFRQ"};
|
|
26281
26913
|
styleInject(css_248z$v);
|
|
26282
26914
|
|
|
26283
|
-
function ownKeys$
|
|
26284
|
-
function _objectSpread$
|
|
26915
|
+
function ownKeys$1Q(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; }
|
|
26916
|
+
function _objectSpread$1Q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26285
26917
|
var Simpleheader = function Simpleheader(props) {
|
|
26286
26918
|
var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
26287
26919
|
var actions = props.actions;
|
|
@@ -26326,7 +26958,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26326
26958
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
26327
26959
|
});
|
|
26328
26960
|
}
|
|
26329
|
-
setsectionproperties(_objectSpread$
|
|
26961
|
+
setsectionproperties(_objectSpread$1Q({}, secpropobj));
|
|
26330
26962
|
}, [StatePagePropertiesContext]);
|
|
26331
26963
|
useEffect(function () {
|
|
26332
26964
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -26540,12 +27172,18 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26540
27172
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
26541
27173
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
26542
27174
|
}
|
|
26543
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
27175
|
+
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
27176
|
+
"class": "col-lg-12 p-0"
|
|
27177
|
+
}, /*#__PURE__*/React.createElement(MarqueeHeader, {
|
|
27178
|
+
sectionpropertiesprops: sectionproperties,
|
|
27179
|
+
templateproperties_contextprops: templateproperties_context,
|
|
27180
|
+
actions: actions
|
|
27181
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
26544
27182
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
26545
27183
|
}, /*#__PURE__*/React.createElement("div", {
|
|
26546
27184
|
"class": "row m-0 w-100 "
|
|
26547
27185
|
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
26548
|
-
"class": "col-lg-12 p-0"
|
|
27186
|
+
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
26549
27187
|
}, /*#__PURE__*/React.createElement(MarqueeHeader, {
|
|
26550
27188
|
sectionpropertiesprops: sectionproperties,
|
|
26551
27189
|
templateproperties_contextprops: templateproperties_context,
|
|
@@ -26905,7 +27543,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26905
27543
|
}), sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && /*#__PURE__*/React.createElement(Headerresponsive, {
|
|
26906
27544
|
sectionpropertiesprops: sectionproperties,
|
|
26907
27545
|
actions: actions
|
|
26908
|
-
}), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React.createElement(HeaderresponsiveStyle2, {
|
|
27546
|
+
}), sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && /*#__PURE__*/React.createElement(HeaderresponsiveStyle2, {
|
|
26909
27547
|
sectionpropertiesprops: sectionproperties,
|
|
26910
27548
|
actions: actions
|
|
26911
27549
|
}), /*#__PURE__*/React.createElement(Offcanvas, {
|
|
@@ -26988,8 +27626,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26988
27626
|
}))))))));
|
|
26989
27627
|
};
|
|
26990
27628
|
|
|
26991
|
-
function ownKeys$
|
|
26992
|
-
function _objectSpread$
|
|
27629
|
+
function ownKeys$1P(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; }
|
|
27630
|
+
function _objectSpread$1P(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1P(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1P(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26993
27631
|
var Header8 = function Header8(props) {
|
|
26994
27632
|
var _css, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i3, _authdetailsContext$i5, _authdetailsContext$i7, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i8, _authdetailsContext$i10, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue4, _fetchcustomercartQue5;
|
|
26995
27633
|
var actions = props.actions;
|
|
@@ -27046,7 +27684,7 @@ var Header8 = function Header8(props) {
|
|
|
27046
27684
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
27047
27685
|
});
|
|
27048
27686
|
}
|
|
27049
|
-
setsectionproperties(_objectSpread$
|
|
27687
|
+
setsectionproperties(_objectSpread$1P({}, secpropobj));
|
|
27050
27688
|
}, [StatePagePropertiesContext]);
|
|
27051
27689
|
var subtotalcart = function subtotalcart() {
|
|
27052
27690
|
var _fetchcustomercartQue;
|
|
@@ -28764,8 +29402,8 @@ var css_248z$u = ".headerresturant-module_header_innercontainer__K3I1g {\n di
|
|
|
28764
29402
|
var headerstyles$8 = {"header_innercontainer":"headerresturant-module_header_innercontainer__K3I1g","navbar_item":"headerresturant-module_navbar_item__Exl8b","navbar_item_text":"headerresturant-module_navbar_item_text__psv09","navbar_item_active":"headerresturant-module_navbar_item_active__8BCbD","searchbarcont":"headerresturant-module_searchbarcont__4VPWj","language_cont":"headerresturant-module_language_cont__LwHIK","badge_counter_header_notifications":"headerresturant-module_badge_counter_header_notifications__mGA2-"};
|
|
28765
29403
|
styleInject(css_248z$u);
|
|
28766
29404
|
|
|
28767
|
-
function ownKeys$
|
|
28768
|
-
function _objectSpread$
|
|
29405
|
+
function ownKeys$1O(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; }
|
|
29406
|
+
function _objectSpread$1O(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1O(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1O(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
28769
29407
|
var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
28770
29408
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
28771
29409
|
var _useState = useState(''),
|
|
@@ -28801,7 +29439,7 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
28801
29439
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
28802
29440
|
});
|
|
28803
29441
|
}
|
|
28804
|
-
setsectionproperties(_objectSpread$
|
|
29442
|
+
setsectionproperties(_objectSpread$1O({}, secpropobj));
|
|
28805
29443
|
}, [StatePagePropertiesContext]);
|
|
28806
29444
|
var _useState3 = useState([]),
|
|
28807
29445
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -29410,8 +30048,8 @@ var css_248z$t = ".header_contactinfo-module_lowerHeaderContainer__toB3m {\n
|
|
|
29410
30048
|
var headerstyles$7 = {"lowerHeaderContainer":"header_contactinfo-module_lowerHeaderContainer__toB3m","navbar_item":"header_contactinfo-module_navbar_item__T6mXT","navbar_item_text":"header_contactinfo-module_navbar_item_text__dSoH9","navbar_item_active":"header_contactinfo-module_navbar_item_active__eiC3f","badge_counter_header_notifications":"header_contactinfo-module_badge_counter_header_notifications__gWKN6"};
|
|
29411
30049
|
styleInject(css_248z$t);
|
|
29412
30050
|
|
|
29413
|
-
function ownKeys$
|
|
29414
|
-
function _objectSpread$
|
|
30051
|
+
function ownKeys$1N(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; }
|
|
30052
|
+
function _objectSpread$1N(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1N(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1N(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
29415
30053
|
var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
29416
30054
|
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i12, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
29417
30055
|
var _useState = useState(''),
|
|
@@ -29448,7 +30086,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
29448
30086
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
29449
30087
|
});
|
|
29450
30088
|
}
|
|
29451
|
-
setsectionproperties(_objectSpread$
|
|
30089
|
+
setsectionproperties(_objectSpread$1N({}, secpropobj));
|
|
29452
30090
|
}, [StatePagePropertiesContext]);
|
|
29453
30091
|
var _useState3 = useState(false),
|
|
29454
30092
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -30217,8 +30855,8 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
30217
30855
|
}))))))));
|
|
30218
30856
|
};
|
|
30219
30857
|
|
|
30220
|
-
function ownKeys$
|
|
30221
|
-
function _objectSpread$
|
|
30858
|
+
function ownKeys$1M(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; }
|
|
30859
|
+
function _objectSpread$1M(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1M(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1M(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
30222
30860
|
var Modernheader = function Modernheader(props) {
|
|
30223
30861
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
30224
30862
|
var _useState = useState(''),
|
|
@@ -30263,7 +30901,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
30263
30901
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
30264
30902
|
});
|
|
30265
30903
|
}
|
|
30266
|
-
setsectionproperties(_objectSpread$
|
|
30904
|
+
setsectionproperties(_objectSpread$1M({}, secpropobj));
|
|
30267
30905
|
}, [StatePagePropertiesContext]);
|
|
30268
30906
|
useEffect(function () {
|
|
30269
30907
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -30912,8 +31550,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
30912
31550
|
}));
|
|
30913
31551
|
};
|
|
30914
31552
|
|
|
30915
|
-
function ownKeys$
|
|
30916
|
-
function _objectSpread$
|
|
31553
|
+
function ownKeys$1L(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; }
|
|
31554
|
+
function _objectSpread$1L(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1L(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1L(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
30917
31555
|
var SearchCenteredHeader = function SearchCenteredHeader(props) {
|
|
30918
31556
|
var _fetchcustomercartQue2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
|
|
30919
31557
|
var _useState = useState(''),
|
|
@@ -30951,7 +31589,7 @@ var SearchCenteredHeader = function SearchCenteredHeader(props) {
|
|
|
30951
31589
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
30952
31590
|
});
|
|
30953
31591
|
}
|
|
30954
|
-
setsectionproperties(_objectSpread$
|
|
31592
|
+
setsectionproperties(_objectSpread$1L({}, secpropobj));
|
|
30955
31593
|
}, [StatePagePropertiesContext]);
|
|
30956
31594
|
var _useState3 = useState([]),
|
|
30957
31595
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -31584,8 +32222,8 @@ var css_248z$s = ".stylishheader-module_headercontainer__FUgDo {\n display: fle
|
|
|
31584
32222
|
var headerstyles$6 = {"headercontainer":"stylishheader-module_headercontainer__FUgDo","navbar":"stylishheader-module_navbar__IX59y","badge_counter_header_notifications":"stylishheader-module_badge_counter_header_notifications__9G0T4"};
|
|
31585
32223
|
styleInject(css_248z$s);
|
|
31586
32224
|
|
|
31587
|
-
function ownKeys$
|
|
31588
|
-
function _objectSpread$
|
|
32225
|
+
function ownKeys$1K(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; }
|
|
32226
|
+
function _objectSpread$1K(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1K(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1K(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
31589
32227
|
var StylishHeader = function StylishHeader(props) {
|
|
31590
32228
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _logoarrayofobjects$3, _logoarrayofobjects$4, _logoarrayofobjects$5, _logoarrayofobjects$6;
|
|
31591
32229
|
var _useState = useState(''),
|
|
@@ -31626,7 +32264,7 @@ var StylishHeader = function StylishHeader(props) {
|
|
|
31626
32264
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
31627
32265
|
});
|
|
31628
32266
|
}
|
|
31629
|
-
setsectionproperties(_objectSpread$
|
|
32267
|
+
setsectionproperties(_objectSpread$1K({}, secpropobj));
|
|
31630
32268
|
}, [StatePagePropertiesContext]);
|
|
31631
32269
|
var _useState5 = useState([]),
|
|
31632
32270
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
@@ -32377,8 +33015,8 @@ var css_248z$r = ".threetieredheader-module_lowerHeaderContainer__hl0gc {\n d
|
|
|
32377
33015
|
var headerstyles$5 = {"lowerHeaderContainer":"threetieredheader-module_lowerHeaderContainer__hl0gc","navbar":"threetieredheader-module_navbar__Le5Kz","navbar_item":"threetieredheader-module_navbar_item__9VQR-","navbar_item_text":"threetieredheader-module_navbar_item_text__G7M4B","navbar_item_active":"threetieredheader-module_navbar_item_active__qGXP2","badge_counter_header_notifications":"threetieredheader-module_badge_counter_header_notifications__fmXNP","searchbar":"threetieredheader-module_searchbar__CMeCp","searchbaractive":"threetieredheader-module_searchbaractive__jQeUr"};
|
|
32378
33016
|
styleInject(css_248z$r);
|
|
32379
33017
|
|
|
32380
|
-
function ownKeys$
|
|
32381
|
-
function _objectSpread$
|
|
33018
|
+
function ownKeys$1J(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; }
|
|
33019
|
+
function _objectSpread$1J(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1J(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1J(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
32382
33020
|
var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
32383
33021
|
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$c, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
32384
33022
|
var actions = props.actions;
|
|
@@ -32416,7 +33054,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
32416
33054
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
32417
33055
|
});
|
|
32418
33056
|
}
|
|
32419
|
-
setsectionproperties(_objectSpread$
|
|
33057
|
+
setsectionproperties(_objectSpread$1J({}, secpropobj));
|
|
32420
33058
|
}, [StatePagePropertiesContext]);
|
|
32421
33059
|
var _useState3 = useState([]),
|
|
32422
33060
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -33247,8 +33885,8 @@ var css_248z$q = ".SearchFocusedHeader-module_headerMiddleContainer__P6xTy {\n
|
|
|
33247
33885
|
var headerstyles$4 = {"headerMiddleContainer":"SearchFocusedHeader-module_headerMiddleContainer__P6xTy","navbar":"SearchFocusedHeader-module_navbar__S8cPA","navbar_item":"SearchFocusedHeader-module_navbar_item__0oxbl","badge_counter_header_notifications":"SearchFocusedHeader-module_badge_counter_header_notifications__2qUaH","searchbar":"SearchFocusedHeader-module_searchbar__uJotQ","searchbaractive":"SearchFocusedHeader-module_searchbaractive__eZgrZ"};
|
|
33248
33886
|
styleInject(css_248z$q);
|
|
33249
33887
|
|
|
33250
|
-
function ownKeys$
|
|
33251
|
-
function _objectSpread$
|
|
33888
|
+
function ownKeys$1I(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; }
|
|
33889
|
+
function _objectSpread$1I(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1I(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1I(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
33252
33890
|
var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
33253
33891
|
var _css, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$i13, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i14, _authdetailsContext$i16;
|
|
33254
33892
|
var lang = props.actions.lang;
|
|
@@ -33315,7 +33953,7 @@ var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
|
33315
33953
|
});
|
|
33316
33954
|
}
|
|
33317
33955
|
}
|
|
33318
|
-
setsectionproperties(_objectSpread$
|
|
33956
|
+
setsectionproperties(_objectSpread$1I({}, secpropobj));
|
|
33319
33957
|
}, [StatePagePropertiesContext]);
|
|
33320
33958
|
var ButtonDropdown = function ButtonDropdown(item, index, fetchedarray) {
|
|
33321
33959
|
var _fetchedarray$Choosen, _fetchedarray$Choosen2, _pcollarray$Choosenin, _pcollarray$Choosenin2;
|
|
@@ -34241,8 +34879,8 @@ var css_248z$p = ".HeaderWithUtilityBar-module_headerMiddleContainer__5fNQX {\n
|
|
|
34241
34879
|
var headerstyles$3 = {"headerMiddleContainer":"HeaderWithUtilityBar-module_headerMiddleContainer__5fNQX","navbar_item":"HeaderWithUtilityBar-module_navbar_item__VR64E","badge_counter_header_notifications":"HeaderWithUtilityBar-module_badge_counter_header_notifications__-I6Pm","searchbar":"HeaderWithUtilityBar-module_searchbar__3rwMD","searchbaractive":"HeaderWithUtilityBar-module_searchbaractive__3gHHs"};
|
|
34242
34880
|
styleInject(css_248z$p);
|
|
34243
34881
|
|
|
34244
|
-
function ownKeys$
|
|
34245
|
-
function _objectSpread$
|
|
34882
|
+
function ownKeys$1H(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; }
|
|
34883
|
+
function _objectSpread$1H(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1H(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1H(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
34246
34884
|
var HeaderWithUtilityBar = function HeaderWithUtilityBar(props) {
|
|
34247
34885
|
var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2;
|
|
34248
34886
|
var lang = props.actions.lang;
|
|
@@ -34286,7 +34924,7 @@ var HeaderWithUtilityBar = function HeaderWithUtilityBar(props) {
|
|
|
34286
34924
|
});
|
|
34287
34925
|
}
|
|
34288
34926
|
}
|
|
34289
|
-
setsectionproperties(_objectSpread$
|
|
34927
|
+
setsectionproperties(_objectSpread$1H({}, secpropobj));
|
|
34290
34928
|
}, [StatePagePropertiesContext]);
|
|
34291
34929
|
var _useState5 = useState([]),
|
|
34292
34930
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
@@ -35018,8 +35656,8 @@ var css_248z$o = ".HeaderWithAdSlider-module_nav__item__lmbKL {\n width: 100%
|
|
|
35018
35656
|
var headerstyles$2 = {"nav__item":"HeaderWithAdSlider-module_nav__item__lmbKL","link":"HeaderWithAdSlider-module_link__9hhKh","badge_counter_header_notifications":"HeaderWithAdSlider-module_badge_counter_header_notifications__Shv1O","searchbar":"HeaderWithAdSlider-module_searchbar__Dqa-y","searchbaractive":"HeaderWithAdSlider-module_searchbaractive__c7gv6"};
|
|
35019
35657
|
styleInject(css_248z$o);
|
|
35020
35658
|
|
|
35021
|
-
function ownKeys$
|
|
35022
|
-
function _objectSpread$
|
|
35659
|
+
function ownKeys$1G(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; }
|
|
35660
|
+
function _objectSpread$1G(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1G(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1G(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
35023
35661
|
var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
35024
35662
|
var _css, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35025
35663
|
var _useState = useState(''),
|
|
@@ -35057,7 +35695,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
35057
35695
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
35058
35696
|
});
|
|
35059
35697
|
}
|
|
35060
|
-
setsectionproperties(_objectSpread$
|
|
35698
|
+
setsectionproperties(_objectSpread$1G({}, secpropobj));
|
|
35061
35699
|
}, [StatePagePropertiesContext]);
|
|
35062
35700
|
var _useState3 = useState([]),
|
|
35063
35701
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -35785,8 +36423,8 @@ var css_248z$n = ".HeaderWithSearchOnCenter-module_headercontainer__hEPeK {\n
|
|
|
35785
36423
|
var headerstyles$1 = {"headercontainer":"HeaderWithSearchOnCenter-module_headercontainer__hEPeK","navbar":"HeaderWithSearchOnCenter-module_navbar__4UEjw","header_cart":"HeaderWithSearchOnCenter-module_header_cart__3m4dH","header_badge":"HeaderWithSearchOnCenter-module_header_badge__TeMF5","nav__item":"HeaderWithSearchOnCenter-module_nav__item__xRxTI","link":"HeaderWithSearchOnCenter-module_link__wYKus","badge_counter_header_notifications":"HeaderWithSearchOnCenter-module_badge_counter_header_notifications__GXHqw","searchbar":"HeaderWithSearchOnCenter-module_searchbar__H6b-F","searchbaractive":"HeaderWithSearchOnCenter-module_searchbaractive__yWggL"};
|
|
35786
36424
|
styleInject(css_248z$n);
|
|
35787
36425
|
|
|
35788
|
-
function ownKeys$
|
|
35789
|
-
function _objectSpread$
|
|
36426
|
+
function ownKeys$1F(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; }
|
|
36427
|
+
function _objectSpread$1F(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1F(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1F(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
35790
36428
|
var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
35791
36429
|
var _css, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35792
36430
|
var _useState = useState(''),
|
|
@@ -35823,7 +36461,7 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
|
35823
36461
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
35824
36462
|
});
|
|
35825
36463
|
}
|
|
35826
|
-
setsectionproperties(_objectSpread$
|
|
36464
|
+
setsectionproperties(_objectSpread$1F({}, secpropobj));
|
|
35827
36465
|
}, [StatePagePropertiesContext]);
|
|
35828
36466
|
var _useState3 = useState([]),
|
|
35829
36467
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -36430,8 +37068,8 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
|
36430
37068
|
}));
|
|
36431
37069
|
};
|
|
36432
37070
|
|
|
36433
|
-
function ownKeys$
|
|
36434
|
-
function _objectSpread$
|
|
37071
|
+
function ownKeys$1E(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; }
|
|
37072
|
+
function _objectSpread$1E(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1E(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1E(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
36435
37073
|
var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
36436
37074
|
var _css, _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$c5, _fetchcustomercartQue3, _fetchcustomercartQue4;
|
|
36437
37075
|
var lang = props.actions.lang;
|
|
@@ -36479,7 +37117,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
36479
37117
|
});
|
|
36480
37118
|
}
|
|
36481
37119
|
}
|
|
36482
|
-
setsectionproperties(_objectSpread$
|
|
37120
|
+
setsectionproperties(_objectSpread$1E({}, secpropobj));
|
|
36483
37121
|
}, [StatePagePropertiesContext]);
|
|
36484
37122
|
useEffect(function () {
|
|
36485
37123
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -37408,8 +38046,8 @@ var css_248z$m = ".NewHeader-module_headercontainer__qY3Tj {\n position: abso
|
|
|
37408
38046
|
var headerstyles = {"headercontainer":"NewHeader-module_headercontainer__qY3Tj","navbar":"NewHeader-module_navbar__kLzIy","header_cart":"NewHeader-module_header_cart__wRj2v","header_badge":"NewHeader-module_header_badge__Et-AS","nav__item":"NewHeader-module_nav__item__jRv-r","link":"NewHeader-module_link__4ixBg","badge_counter_header_notifications":"NewHeader-module_badge_counter_header_notifications__GpVQI","searchbar":"NewHeader-module_searchbar__1aYXU","searchbaractive":"NewHeader-module_searchbaractive__Uv--y"};
|
|
37409
38047
|
styleInject(css_248z$m);
|
|
37410
38048
|
|
|
37411
|
-
function ownKeys$
|
|
37412
|
-
function _objectSpread$
|
|
38049
|
+
function ownKeys$1D(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; }
|
|
38050
|
+
function _objectSpread$1D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1D(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
37413
38051
|
var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(props) {
|
|
37414
38052
|
var _textarray$, _textarray$2, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
37415
38053
|
var _useState = useState(''),
|
|
@@ -37450,7 +38088,7 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
37450
38088
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
37451
38089
|
});
|
|
37452
38090
|
}
|
|
37453
|
-
setsectionproperties(_objectSpread$
|
|
38091
|
+
setsectionproperties(_objectSpread$1D({}, secpropobj));
|
|
37454
38092
|
}, [StatePagePropertiesContext]);
|
|
37455
38093
|
var _useState5 = useState([]),
|
|
37456
38094
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
@@ -38226,8 +38864,8 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
38226
38864
|
}));
|
|
38227
38865
|
};
|
|
38228
38866
|
|
|
38229
|
-
function ownKeys$
|
|
38230
|
-
function _objectSpread$
|
|
38867
|
+
function ownKeys$1C(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; }
|
|
38868
|
+
function _objectSpread$1C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
38231
38869
|
var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props) {
|
|
38232
38870
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
38233
38871
|
var _useState = useState(''),
|
|
@@ -38277,7 +38915,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
38277
38915
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
38278
38916
|
});
|
|
38279
38917
|
}
|
|
38280
|
-
setsectionproperties(_objectSpread$
|
|
38918
|
+
setsectionproperties(_objectSpread$1C({}, secpropobj));
|
|
38281
38919
|
}, [StatePagePropertiesContext]);
|
|
38282
38920
|
useEffect(function () {
|
|
38283
38921
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -38951,8 +39589,8 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
38951
39589
|
}));
|
|
38952
39590
|
};
|
|
38953
39591
|
|
|
38954
|
-
function ownKeys$
|
|
38955
|
-
function _objectSpread$
|
|
39592
|
+
function ownKeys$1B(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; }
|
|
39593
|
+
function _objectSpread$1B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1B(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
38956
39594
|
var Allinonefooter = function Allinonefooter(props) {
|
|
38957
39595
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i5, _templatepropcontext$, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14;
|
|
38958
39596
|
var _useState = useState(''),
|
|
@@ -38979,7 +39617,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
38979
39617
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
38980
39618
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
38981
39619
|
});
|
|
38982
|
-
setsectionproperties(_objectSpread$
|
|
39620
|
+
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
38983
39621
|
} else {
|
|
38984
39622
|
var secpropobj = {};
|
|
38985
39623
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -38989,7 +39627,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
38989
39627
|
});
|
|
38990
39628
|
}
|
|
38991
39629
|
});
|
|
38992
|
-
setsectionproperties(_objectSpread$
|
|
39630
|
+
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
38993
39631
|
}
|
|
38994
39632
|
}, [StatePagePropertiesContext]);
|
|
38995
39633
|
var footerStyles = {
|
|
@@ -39445,8 +40083,8 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
39445
40083
|
}))))));
|
|
39446
40084
|
};
|
|
39447
40085
|
|
|
39448
|
-
function ownKeys$
|
|
39449
|
-
function _objectSpread$
|
|
40086
|
+
function ownKeys$1A(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; }
|
|
40087
|
+
function _objectSpread$1A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1A(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
39450
40088
|
var Footer1 = function Footer1(props) {
|
|
39451
40089
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i12, _authdetailsContext$i13;
|
|
39452
40090
|
var _useState = useState(''),
|
|
@@ -39473,7 +40111,7 @@ var Footer1 = function Footer1(props) {
|
|
|
39473
40111
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
39474
40112
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
39475
40113
|
});
|
|
39476
|
-
setsectionproperties(_objectSpread$
|
|
40114
|
+
setsectionproperties(_objectSpread$1A({}, secpropobj));
|
|
39477
40115
|
} else {
|
|
39478
40116
|
var secpropobj = {};
|
|
39479
40117
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -39483,7 +40121,7 @@ var Footer1 = function Footer1(props) {
|
|
|
39483
40121
|
});
|
|
39484
40122
|
}
|
|
39485
40123
|
});
|
|
39486
|
-
setsectionproperties(_objectSpread$
|
|
40124
|
+
setsectionproperties(_objectSpread$1A({}, secpropobj));
|
|
39487
40125
|
}
|
|
39488
40126
|
}, [StatePagePropertiesContext]);
|
|
39489
40127
|
useEffect(function () {
|
|
@@ -39901,8 +40539,8 @@ var Footer1 = function Footer1(props) {
|
|
|
39901
40539
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.address_en)))))));
|
|
39902
40540
|
};
|
|
39903
40541
|
|
|
39904
|
-
function ownKeys$
|
|
39905
|
-
function _objectSpread$
|
|
40542
|
+
function ownKeys$1z(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; }
|
|
40543
|
+
function _objectSpread$1z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
39906
40544
|
var Footer2 = function Footer2(props) {
|
|
39907
40545
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i18, _authdetailsContext$i19;
|
|
39908
40546
|
var _useState = useState(''),
|
|
@@ -39932,7 +40570,7 @@ var Footer2 = function Footer2(props) {
|
|
|
39932
40570
|
});
|
|
39933
40571
|
}
|
|
39934
40572
|
});
|
|
39935
|
-
setsectionproperties(_objectSpread$
|
|
40573
|
+
setsectionproperties(_objectSpread$1z({}, secpropobj));
|
|
39936
40574
|
}, [StatePagePropertiesContext]);
|
|
39937
40575
|
useEffect(function () {
|
|
39938
40576
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -40290,8 +40928,8 @@ var Footer2 = function Footer2(props) {
|
|
|
40290
40928
|
})))));
|
|
40291
40929
|
};
|
|
40292
40930
|
|
|
40293
|
-
function ownKeys$
|
|
40294
|
-
function _objectSpread$
|
|
40931
|
+
function ownKeys$1y(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; }
|
|
40932
|
+
function _objectSpread$1y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1y(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
40295
40933
|
var Footer3 = function Footer3(props) {
|
|
40296
40934
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
40297
40935
|
var _useState = useState(''),
|
|
@@ -40318,7 +40956,7 @@ var Footer3 = function Footer3(props) {
|
|
|
40318
40956
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
40319
40957
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
40320
40958
|
});
|
|
40321
|
-
setsectionproperties(_objectSpread$
|
|
40959
|
+
setsectionproperties(_objectSpread$1y({}, secpropobj));
|
|
40322
40960
|
} else {
|
|
40323
40961
|
var secpropobj = {};
|
|
40324
40962
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -40328,7 +40966,7 @@ var Footer3 = function Footer3(props) {
|
|
|
40328
40966
|
});
|
|
40329
40967
|
}
|
|
40330
40968
|
});
|
|
40331
|
-
setsectionproperties(_objectSpread$
|
|
40969
|
+
setsectionproperties(_objectSpread$1y({}, secpropobj));
|
|
40332
40970
|
}
|
|
40333
40971
|
}, [StatePagePropertiesContext]);
|
|
40334
40972
|
useEffect(function () {
|
|
@@ -40642,8 +41280,8 @@ var Footer3 = function Footer3(props) {
|
|
|
40642
41280
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.address_en)))))));
|
|
40643
41281
|
};
|
|
40644
41282
|
|
|
40645
|
-
function ownKeys$
|
|
40646
|
-
function _objectSpread$
|
|
41283
|
+
function ownKeys$1x(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; }
|
|
41284
|
+
function _objectSpread$1x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1x(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
40647
41285
|
var Footer4 = function Footer4(props) {
|
|
40648
41286
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i15;
|
|
40649
41287
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -40666,7 +41304,7 @@ var Footer4 = function Footer4(props) {
|
|
|
40666
41304
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
40667
41305
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
40668
41306
|
});
|
|
40669
|
-
setsectionproperties(_objectSpread$
|
|
41307
|
+
setsectionproperties(_objectSpread$1x({}, secpropobj));
|
|
40670
41308
|
} else {
|
|
40671
41309
|
var secpropobj = {};
|
|
40672
41310
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -40676,7 +41314,7 @@ var Footer4 = function Footer4(props) {
|
|
|
40676
41314
|
});
|
|
40677
41315
|
}
|
|
40678
41316
|
});
|
|
40679
|
-
setsectionproperties(_objectSpread$
|
|
41317
|
+
setsectionproperties(_objectSpread$1x({}, secpropobj));
|
|
40680
41318
|
}
|
|
40681
41319
|
}, [StatePagePropertiesContext]);
|
|
40682
41320
|
var footerStyles = {
|
|
@@ -41061,8 +41699,8 @@ var Footer4 = function Footer4(props) {
|
|
|
41061
41699
|
}))))))));
|
|
41062
41700
|
};
|
|
41063
41701
|
|
|
41064
|
-
function ownKeys$
|
|
41065
|
-
function _objectSpread$
|
|
41702
|
+
function ownKeys$1w(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; }
|
|
41703
|
+
function _objectSpread$1w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1w(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41066
41704
|
var Footer5 = function Footer5(props) {
|
|
41067
41705
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i20, _authdetailsContext$i22;
|
|
41068
41706
|
var _useState = useState(''),
|
|
@@ -41092,7 +41730,7 @@ var Footer5 = function Footer5(props) {
|
|
|
41092
41730
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
41093
41731
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41094
41732
|
});
|
|
41095
|
-
setsectionproperties(_objectSpread$
|
|
41733
|
+
setsectionproperties(_objectSpread$1w({}, secpropobj));
|
|
41096
41734
|
} else {
|
|
41097
41735
|
var secpropobj = {};
|
|
41098
41736
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41102,7 +41740,7 @@ var Footer5 = function Footer5(props) {
|
|
|
41102
41740
|
});
|
|
41103
41741
|
}
|
|
41104
41742
|
});
|
|
41105
|
-
setsectionproperties(_objectSpread$
|
|
41743
|
+
setsectionproperties(_objectSpread$1w({}, secpropobj));
|
|
41106
41744
|
}
|
|
41107
41745
|
}, [StatePagePropertiesContext]);
|
|
41108
41746
|
useEffect(function () {
|
|
@@ -41590,8 +42228,8 @@ var Footer5 = function Footer5(props) {
|
|
|
41590
42228
|
}))))))));
|
|
41591
42229
|
};
|
|
41592
42230
|
|
|
41593
|
-
function ownKeys$
|
|
41594
|
-
function _objectSpread$
|
|
42231
|
+
function ownKeys$1v(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; }
|
|
42232
|
+
function _objectSpread$1v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1v(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41595
42233
|
var Footer6 = function Footer6(props) {
|
|
41596
42234
|
var _authdetailsContext$i2, _authdetailsContext$i3;
|
|
41597
42235
|
var _useState = useState(''),
|
|
@@ -41622,7 +42260,7 @@ var Footer6 = function Footer6(props) {
|
|
|
41622
42260
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
41623
42261
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41624
42262
|
});
|
|
41625
|
-
setsectionproperties(_objectSpread$
|
|
42263
|
+
setsectionproperties(_objectSpread$1v({}, secpropobj));
|
|
41626
42264
|
} else {
|
|
41627
42265
|
var secpropobj = {};
|
|
41628
42266
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41632,7 +42270,7 @@ var Footer6 = function Footer6(props) {
|
|
|
41632
42270
|
});
|
|
41633
42271
|
}
|
|
41634
42272
|
});
|
|
41635
|
-
setsectionproperties(_objectSpread$
|
|
42273
|
+
setsectionproperties(_objectSpread$1v({}, secpropobj));
|
|
41636
42274
|
}
|
|
41637
42275
|
}, [StatePagePropertiesContext]);
|
|
41638
42276
|
useEffect(function () {
|
|
@@ -41869,8 +42507,8 @@ var Footer6 = function Footer6(props) {
|
|
|
41869
42507
|
}))));
|
|
41870
42508
|
};
|
|
41871
42509
|
|
|
41872
|
-
function ownKeys$
|
|
41873
|
-
function _objectSpread$
|
|
42510
|
+
function ownKeys$1u(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; }
|
|
42511
|
+
function _objectSpread$1u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1u(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41874
42512
|
var Footer7 = function Footer7(props) {
|
|
41875
42513
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i9;
|
|
41876
42514
|
var _useState = useState(''),
|
|
@@ -41901,7 +42539,7 @@ var Footer7 = function Footer7(props) {
|
|
|
41901
42539
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
41902
42540
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41903
42541
|
});
|
|
41904
|
-
setsectionproperties(_objectSpread$
|
|
42542
|
+
setsectionproperties(_objectSpread$1u({}, secpropobj));
|
|
41905
42543
|
} else {
|
|
41906
42544
|
var secpropobj = {};
|
|
41907
42545
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41911,7 +42549,7 @@ var Footer7 = function Footer7(props) {
|
|
|
41911
42549
|
});
|
|
41912
42550
|
}
|
|
41913
42551
|
});
|
|
41914
|
-
setsectionproperties(_objectSpread$
|
|
42552
|
+
setsectionproperties(_objectSpread$1u({}, secpropobj));
|
|
41915
42553
|
}
|
|
41916
42554
|
}, [StatePagePropertiesContext]);
|
|
41917
42555
|
useEffect(function () {
|
|
@@ -42269,8 +42907,8 @@ var Footer7 = function Footer7(props) {
|
|
|
42269
42907
|
}))))));
|
|
42270
42908
|
};
|
|
42271
42909
|
|
|
42272
|
-
function ownKeys$
|
|
42273
|
-
function _objectSpread$
|
|
42910
|
+
function ownKeys$1t(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; }
|
|
42911
|
+
function _objectSpread$1t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1t(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
42274
42912
|
var Footer8 = function Footer8(props) {
|
|
42275
42913
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _templatepropcontext$;
|
|
42276
42914
|
var _useState = useState(''),
|
|
@@ -42297,7 +42935,7 @@ var Footer8 = function Footer8(props) {
|
|
|
42297
42935
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
42298
42936
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
42299
42937
|
});
|
|
42300
|
-
setsectionproperties(_objectSpread$
|
|
42938
|
+
setsectionproperties(_objectSpread$1t({}, secpropobj));
|
|
42301
42939
|
} else {
|
|
42302
42940
|
var secpropobj = {};
|
|
42303
42941
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -42307,7 +42945,7 @@ var Footer8 = function Footer8(props) {
|
|
|
42307
42945
|
});
|
|
42308
42946
|
}
|
|
42309
42947
|
});
|
|
42310
|
-
setsectionproperties(_objectSpread$
|
|
42948
|
+
setsectionproperties(_objectSpread$1t({}, secpropobj));
|
|
42311
42949
|
}
|
|
42312
42950
|
}, [StatePagePropertiesContext]);
|
|
42313
42951
|
var footerStyles = {
|
|
@@ -42685,8 +43323,8 @@ var Footer8 = function Footer8(props) {
|
|
|
42685
43323
|
}, lang.orderhistory)))))));
|
|
42686
43324
|
};
|
|
42687
43325
|
|
|
42688
|
-
function ownKeys$
|
|
42689
|
-
function _objectSpread$
|
|
43326
|
+
function ownKeys$1s(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; }
|
|
43327
|
+
function _objectSpread$1s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1s(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
42690
43328
|
var Simplefooter = function Simplefooter(props) {
|
|
42691
43329
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i9;
|
|
42692
43330
|
var _useState = useState(''),
|
|
@@ -42713,7 +43351,7 @@ var Simplefooter = function Simplefooter(props) {
|
|
|
42713
43351
|
});
|
|
42714
43352
|
}
|
|
42715
43353
|
});
|
|
42716
|
-
setsectionproperties(_objectSpread$
|
|
43354
|
+
setsectionproperties(_objectSpread$1s({}, secpropobj));
|
|
42717
43355
|
}, [StatePagePropertiesContext]);
|
|
42718
43356
|
useEffect(function () {
|
|
42719
43357
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -42980,8 +43618,8 @@ var Simplefooter = function Simplefooter(props) {
|
|
|
42980
43618
|
})));
|
|
42981
43619
|
};
|
|
42982
43620
|
|
|
42983
|
-
function ownKeys$
|
|
42984
|
-
function _objectSpread$
|
|
43621
|
+
function ownKeys$1r(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; }
|
|
43622
|
+
function _objectSpread$1r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1r(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
42985
43623
|
var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
42986
43624
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
42987
43625
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -43004,7 +43642,7 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
43004
43642
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
43005
43643
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
43006
43644
|
});
|
|
43007
|
-
setsectionproperties(_objectSpread$
|
|
43645
|
+
setsectionproperties(_objectSpread$1r({}, secpropobj));
|
|
43008
43646
|
} else {
|
|
43009
43647
|
var secpropobj = {};
|
|
43010
43648
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -43014,7 +43652,7 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
43014
43652
|
});
|
|
43015
43653
|
}
|
|
43016
43654
|
});
|
|
43017
|
-
setsectionproperties(_objectSpread$
|
|
43655
|
+
setsectionproperties(_objectSpread$1r({}, secpropobj));
|
|
43018
43656
|
}
|
|
43019
43657
|
}, [StatePagePropertiesContext]);
|
|
43020
43658
|
var _useState3 = useState([]),
|
|
@@ -43292,8 +43930,8 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
43292
43930
|
}, "@ ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.storename_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.storename_ar))));
|
|
43293
43931
|
};
|
|
43294
43932
|
|
|
43295
|
-
function ownKeys$
|
|
43296
|
-
function _objectSpread$
|
|
43933
|
+
function ownKeys$1q(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; }
|
|
43934
|
+
function _objectSpread$1q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
43297
43935
|
var ModernFooter = function ModernFooter(props) {
|
|
43298
43936
|
var _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23;
|
|
43299
43937
|
var _useState = useState(''),
|
|
@@ -43319,7 +43957,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
43319
43957
|
});
|
|
43320
43958
|
}
|
|
43321
43959
|
});
|
|
43322
|
-
setsectionproperties(_objectSpread$
|
|
43960
|
+
setsectionproperties(_objectSpread$1q({}, secpropobj));
|
|
43323
43961
|
}, [StatePagePropertiesContext]);
|
|
43324
43962
|
var footerStyles = {
|
|
43325
43963
|
footerContainer: css({
|
|
@@ -43770,8 +44408,8 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
43770
44408
|
})))))));
|
|
43771
44409
|
};
|
|
43772
44410
|
|
|
43773
|
-
function ownKeys$
|
|
43774
|
-
function _objectSpread$
|
|
44411
|
+
function ownKeys$1p(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; }
|
|
44412
|
+
function _objectSpread$1p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1p(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
43775
44413
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
43776
44414
|
var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
|
|
43777
44415
|
var _useState = useState(''),
|
|
@@ -43801,7 +44439,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
43801
44439
|
});
|
|
43802
44440
|
}
|
|
43803
44441
|
});
|
|
43804
|
-
setsectionproperties(_objectSpread$
|
|
44442
|
+
setsectionproperties(_objectSpread$1p({}, secpropobj));
|
|
43805
44443
|
}, [StatePagePropertiesContext]);
|
|
43806
44444
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
43807
44445
|
var _authdetailsContext$i;
|
|
@@ -44361,6 +44999,254 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
44361
44999
|
}, StoreInformation()))));
|
|
44362
45000
|
};
|
|
44363
45001
|
|
|
45002
|
+
function ownKeys$1o(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; }
|
|
45003
|
+
function _objectSpread$1o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1o(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
45004
|
+
var Newsletterincenter = function Newsletterincenter(props) {
|
|
45005
|
+
var _css, _footerStyles;
|
|
45006
|
+
var _useState = useState(''),
|
|
45007
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
45008
|
+
sectionproperties = _useState2[0],
|
|
45009
|
+
setsectionproperties = _useState2[1];
|
|
45010
|
+
var _useState3 = useState([]),
|
|
45011
|
+
_useState4 = _slicedToArray(_useState3, 2);
|
|
45012
|
+
_useState4[0];
|
|
45013
|
+
var setlogoarrayofobjects = _useState4[1];
|
|
45014
|
+
props.actions.history;
|
|
45015
|
+
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
45016
|
+
props.actions.lang;
|
|
45017
|
+
var langdetect = props.actions.langdetect;
|
|
45018
|
+
var routingcountext = props.actions.routingcountext;
|
|
45019
|
+
props.actions.StaticPagesLinksContext;
|
|
45020
|
+
props.actions.authdetailsContext;
|
|
45021
|
+
var templateproperties_context = props.actions.templateproperties_context;
|
|
45022
|
+
var templatepropcontext = props.actions.templatepropcontext;
|
|
45023
|
+
props.actions.ikimagecredcontext;
|
|
45024
|
+
useEffect(function () {
|
|
45025
|
+
var secpropobj = {};
|
|
45026
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
45027
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
45028
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
45029
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
45030
|
+
});
|
|
45031
|
+
}
|
|
45032
|
+
});
|
|
45033
|
+
setsectionproperties(_objectSpread$1o({}, secpropobj));
|
|
45034
|
+
}, [StatePagePropertiesContext]);
|
|
45035
|
+
var footerStyles = (_footerStyles = {
|
|
45036
|
+
divider: css({
|
|
45037
|
+
height: '1px',
|
|
45038
|
+
width: '100%',
|
|
45039
|
+
backgroundColor: sectionproperties.vl_bg
|
|
45040
|
+
}),
|
|
45041
|
+
payimgcont: css({
|
|
45042
|
+
marginLeft: '10px',
|
|
45043
|
+
marginRight: '10px'
|
|
45044
|
+
}),
|
|
45045
|
+
payimg: css({
|
|
45046
|
+
width: '100%',
|
|
45047
|
+
height: '100%',
|
|
45048
|
+
objectFit: 'contain'
|
|
45049
|
+
}),
|
|
45050
|
+
footerContainer: css({
|
|
45051
|
+
background: sectionproperties.footerbgcolor,
|
|
45052
|
+
paddingTop: sectionproperties.footerpaddingvertical + 'px',
|
|
45053
|
+
paddingLeft: sectionproperties.footerpaddinghorizontal + 'px',
|
|
45054
|
+
paddingRight: sectionproperties.footerpaddinghorizontal + 'px',
|
|
45055
|
+
paddingBottom: sectionproperties.footerpaddingvertical + 'px',
|
|
45056
|
+
width: '100vw'
|
|
45057
|
+
}),
|
|
45058
|
+
footerlogo: css({
|
|
45059
|
+
width: sectionproperties.logo_width + 'px',
|
|
45060
|
+
height: sectionproperties.logo_height + 'px',
|
|
45061
|
+
position: 'relative'
|
|
45062
|
+
}),
|
|
45063
|
+
apptore: css({
|
|
45064
|
+
width: '100%',
|
|
45065
|
+
objectFit: 'contain'
|
|
45066
|
+
}),
|
|
45067
|
+
googleplay: css({
|
|
45068
|
+
width: '100%',
|
|
45069
|
+
objectFit: 'contain'
|
|
45070
|
+
}),
|
|
45071
|
+
textStyles: css({
|
|
45072
|
+
fontSize: sectionproperties.footerinfotext_fontsize + 'px',
|
|
45073
|
+
color: sectionproperties.footerinfotext_color,
|
|
45074
|
+
fontWeight: sectionproperties.footerinfotext_fontweight
|
|
45075
|
+
}),
|
|
45076
|
+
logoStyles: css({
|
|
45077
|
+
width: sectionproperties.logo_width + 'px',
|
|
45078
|
+
height: sectionproperties.logo_height + 'px'
|
|
45079
|
+
}),
|
|
45080
|
+
sectionTitle: css({
|
|
45081
|
+
color: sectionproperties.sectionTitleColor,
|
|
45082
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
45083
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
45084
|
+
}),
|
|
45085
|
+
subPages: css({
|
|
45086
|
+
textTransform: sectionproperties.footertexttransform,
|
|
45087
|
+
fontSize: sectionproperties.footerfontsize + 'px',
|
|
45088
|
+
fontWeight: sectionproperties.footerfontweight,
|
|
45089
|
+
color: sectionproperties.footertextcolor,
|
|
45090
|
+
cursor: 'pointer',
|
|
45091
|
+
transition: '.3s',
|
|
45092
|
+
':hover': {
|
|
45093
|
+
color: sectionproperties.footertextcoloronhover
|
|
45094
|
+
}
|
|
45095
|
+
}),
|
|
45096
|
+
facebook_btn: css({
|
|
45097
|
+
cursor: 'pointer',
|
|
45098
|
+
background: sectionproperties.facebkbtnnbgColor,
|
|
45099
|
+
width: sectionproperties.facebkbtnnWidth == 0 ? 'auto' : sectionproperties.facebkbtnnWidth + 'px',
|
|
45100
|
+
height: sectionproperties.facebkbtnnHeight == 0 ? 'auto' : sectionproperties.facebkbtnnHeight + 'px',
|
|
45101
|
+
borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
|
|
45102
|
+
color: sectionproperties.facebkbtnnTextcolor,
|
|
45103
|
+
border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
|
|
45104
|
+
transition: '.3s',
|
|
45105
|
+
':hover': {
|
|
45106
|
+
background: sectionproperties.facebkbtnnbgColoronhover,
|
|
45107
|
+
borderColor: sectionproperties.facebkbtnnTextcoloronhover,
|
|
45108
|
+
color: sectionproperties.facebkbtnnTextcoloronhover
|
|
45109
|
+
}
|
|
45110
|
+
}),
|
|
45111
|
+
youtube_btn: css({
|
|
45112
|
+
cursor: 'pointer',
|
|
45113
|
+
background: sectionproperties.youtubebtnbgColor,
|
|
45114
|
+
width: sectionproperties.youtubebtnWidth == 0 ? 'auto' : sectionproperties.youtubebtnWidth + 'px',
|
|
45115
|
+
height: sectionproperties.youtubebtnHeight == 0 ? 'auto' : sectionproperties.youtubebtnHeight + 'px',
|
|
45116
|
+
borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
|
|
45117
|
+
color: sectionproperties.youtubebtnTextcolor,
|
|
45118
|
+
border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
|
|
45119
|
+
transition: '.3s',
|
|
45120
|
+
':hover': {
|
|
45121
|
+
background: sectionproperties.youtubebtnbgColoronhover,
|
|
45122
|
+
borderColor: sectionproperties.youtubebtnTextcoloronhover,
|
|
45123
|
+
color: sectionproperties.youtubebtnTextcoloronhover
|
|
45124
|
+
}
|
|
45125
|
+
}),
|
|
45126
|
+
instgram_btn: css({
|
|
45127
|
+
cursor: 'pointer',
|
|
45128
|
+
background: sectionproperties.instgrambtnbgColor,
|
|
45129
|
+
width: sectionproperties.instgrambtnWidth == 0 ? 'auto' : sectionproperties.instgrambtnWidth + 'px',
|
|
45130
|
+
height: sectionproperties.instgrambtnHeight == 0 ? 'auto' : sectionproperties.instgrambtnHeight + 'px',
|
|
45131
|
+
borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
|
|
45132
|
+
color: sectionproperties.instgrambtnTextcolor,
|
|
45133
|
+
border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
|
|
45134
|
+
transition: '.3s',
|
|
45135
|
+
':hover': {
|
|
45136
|
+
background: sectionproperties.instgrambtnbgColoronhover,
|
|
45137
|
+
borderColor: sectionproperties.instgrambtnTextcoloronhover,
|
|
45138
|
+
color: sectionproperties.instgrambtnTextcoloronhover
|
|
45139
|
+
}
|
|
45140
|
+
}),
|
|
45141
|
+
subscribetitle: css({
|
|
45142
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
45143
|
+
color: sectionproperties.sectionTitleColor,
|
|
45144
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
45145
|
+
}),
|
|
45146
|
+
subscribedescription: css({
|
|
45147
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
45148
|
+
color: sectionproperties.prodCatColor,
|
|
45149
|
+
fontWeight: sectionproperties.prodCatFontWeight
|
|
45150
|
+
})
|
|
45151
|
+
}, _defineProperty(_footerStyles, "apptore", css({
|
|
45152
|
+
width: '35%',
|
|
45153
|
+
objectFit: 'contain',
|
|
45154
|
+
'@media (max-width: 800px)': {
|
|
45155
|
+
width: '30%'
|
|
45156
|
+
}
|
|
45157
|
+
})), _defineProperty(_footerStyles, "googleplay", css({
|
|
45158
|
+
width: '35%',
|
|
45159
|
+
objectFit: 'contain',
|
|
45160
|
+
'@media (max-width: 800px)': {
|
|
45161
|
+
width: '30%'
|
|
45162
|
+
}
|
|
45163
|
+
})), _defineProperty(_footerStyles, "form_control", css((_css = {
|
|
45164
|
+
position: 'relative',
|
|
45165
|
+
display: 'flex',
|
|
45166
|
+
alignItems: 'center'
|
|
45167
|
+
}, _defineProperty(_css, "display", 'block'), _defineProperty(_css, "width", '100%'), _defineProperty(_css, "height", '35px'), _defineProperty(_css, "padding", '0 10px 10px'), _defineProperty(_css, "transition", '.3s'), _defineProperty(_css, "fontWeight", 500), _defineProperty(_css, "borderBottom", ' 1 px solid #ccc'), _defineProperty(_css, "height", '40px'), _defineProperty(_css, "background", 'transparent'), _defineProperty(_css, "color", '#000'), _defineProperty(_css, ':focus', {
|
|
45168
|
+
// borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
45169
|
+
}), _css))), _footerStyles);
|
|
45170
|
+
useEffect(function () {
|
|
45171
|
+
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
45172
|
+
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
45173
|
+
if (Array.isArray(logoarrayofobjectsparsed)) {
|
|
45174
|
+
setlogoarrayofobjects(_toConsumableArray(logoarrayofobjectsparsed));
|
|
45175
|
+
}
|
|
45176
|
+
}
|
|
45177
|
+
}, [templateproperties_context]);
|
|
45178
|
+
var Newsletter = function Newsletter() {
|
|
45179
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
45180
|
+
"class": "row m-0 w-100"
|
|
45181
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
45182
|
+
"class": "col-lg-12 allcentered mb-3"
|
|
45183
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
45184
|
+
style: {
|
|
45185
|
+
fontSize: 20,
|
|
45186
|
+
fontWeight: 600
|
|
45187
|
+
}
|
|
45188
|
+
}, "STAY IN THE KNOW")), /*#__PURE__*/React.createElement("div", {
|
|
45189
|
+
"class": "col-lg-12 allcentered"
|
|
45190
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
45191
|
+
style: {
|
|
45192
|
+
fontSize: 15,
|
|
45193
|
+
fontWeight: 600
|
|
45194
|
+
}
|
|
45195
|
+
}, "Be the first one to receive new releases, special offers, and more")), /*#__PURE__*/React.createElement("div", {
|
|
45196
|
+
"class": "col-lg-12 allcentered"
|
|
45197
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
45198
|
+
type: "text",
|
|
45199
|
+
className: "".concat(footerStyles.form_control),
|
|
45200
|
+
value: '',
|
|
45201
|
+
placeholder: "your email",
|
|
45202
|
+
onChange: function onChange(event) {},
|
|
45203
|
+
style: {
|
|
45204
|
+
background: sectionproperties.input_bgcolor
|
|
45205
|
+
}
|
|
45206
|
+
})));
|
|
45207
|
+
};
|
|
45208
|
+
var Section1pages = function Section1pages() {
|
|
45209
|
+
var _templatepropcontext$;
|
|
45210
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
45211
|
+
"class": "col-lg-12 p-0 mt-md-3"
|
|
45212
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
45213
|
+
"class": "row m-0 w-100 d-flex justify-content-start align-items-center flex-column"
|
|
45214
|
+
}, templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
|
|
45215
|
+
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
45216
|
+
if (item.staticpageid != '650c3c37dd5bf' && item.staticpageid != '650c591955e81' && item.staticpageid != '650c5be1dfd5d' && item.staticpageid != '6505ad75b1cdb') {
|
|
45217
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
45218
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
45219
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
45220
|
+
onClick: function onClick() {
|
|
45221
|
+
routingcountext(item.navigationroute);
|
|
45222
|
+
}
|
|
45223
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
45224
|
+
"class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 ',
|
|
45225
|
+
style: {
|
|
45226
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
45227
|
+
}
|
|
45228
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar)));
|
|
45229
|
+
}
|
|
45230
|
+
}
|
|
45231
|
+
})));
|
|
45232
|
+
};
|
|
45233
|
+
return /*#__PURE__*/React.createElement("footer", {
|
|
45234
|
+
"class": "row m-0 w-100 justify-content-center"
|
|
45235
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
45236
|
+
style: {
|
|
45237
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
45238
|
+
paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
|
|
45239
|
+
},
|
|
45240
|
+
"class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3 px-2015-3 py-lg-3 '
|
|
45241
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
45242
|
+
"class": "row m-0 w-100"
|
|
45243
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
45244
|
+
"class": "col-lg-4 col-md-12 d-flex justify-content-center justify-content-md-start"
|
|
45245
|
+
}, Section1pages()), /*#__PURE__*/React.createElement("div", {
|
|
45246
|
+
"class": "col-lg-4 col-md-12 d-flex justify-content-center justify-content-md-start"
|
|
45247
|
+
}, Newsletter()))));
|
|
45248
|
+
};
|
|
45249
|
+
|
|
44364
45250
|
function ownKeys$1n(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; }
|
|
44365
45251
|
function _objectSpread$1n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1n(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
44366
45252
|
var CardsSection2 = function CardsSection2(props) {
|
|
@@ -61855,6 +62741,14 @@ var Card23 = function Card23(props) {
|
|
|
61855
62741
|
fontSize: sectionproperties.cashbackcontainerfontsize + 'px',
|
|
61856
62742
|
border: sectionproperties.cashbackcontainerborderwidth + 'px ' + sectionproperties.cashbackcontainerborderstyle + sectionproperties.cashbackcontainerbordercolor,
|
|
61857
62743
|
borderRadius: sectionproperties.cashbackcontainerborderradius + 'px'
|
|
62744
|
+
}),
|
|
62745
|
+
productcard: css({
|
|
62746
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
62747
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
62748
|
+
'@media (max-width: 800px)': {
|
|
62749
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
62750
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
62751
|
+
}
|
|
61858
62752
|
})
|
|
61859
62753
|
};
|
|
61860
62754
|
var plainString = function plainString(html) {
|
|
@@ -61989,11 +62883,30 @@ var Card23 = function Card23(props) {
|
|
|
61989
62883
|
AddtoCartContext(tempaddtocardpayloadobj);
|
|
61990
62884
|
};
|
|
61991
62885
|
return /*#__PURE__*/React.createElement("div", {
|
|
61992
|
-
"class":
|
|
62886
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(cardsstyles2.productcard) + ' w-100 px-md-1 ' : " ".concat(cardsstyles2.productcard),
|
|
61993
62887
|
style: {
|
|
61994
62888
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
61995
62889
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
61996
62890
|
}
|
|
62891
|
+
// class={
|
|
62892
|
+
// langdetect == 'en'
|
|
62893
|
+
// ? sectionproperties.card_marginLeft != 0
|
|
62894
|
+
// ? 'row m-0 w-100 pl-sm-2'
|
|
62895
|
+
// : sectionproperties.card_marginRight != 0
|
|
62896
|
+
// ? 'row m-0 w-100 pr-sm-2'
|
|
62897
|
+
// : 'row m-0 w-100'
|
|
62898
|
+
// : langdetect == 'en'
|
|
62899
|
+
// ? sectionproperties.card_marginRight != 0
|
|
62900
|
+
// ? 'row m-0 w-100 pr-sm-2'
|
|
62901
|
+
// : sectionproperties.card_marginLeft != 0
|
|
62902
|
+
// ? 'row m-0 w-100 pl-sm-2'
|
|
62903
|
+
// : 'row m-0 w-100'
|
|
62904
|
+
// : 'row m-0 w-100'
|
|
62905
|
+
// }
|
|
62906
|
+
// style={{
|
|
62907
|
+
// paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
62908
|
+
// paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
62909
|
+
// }}
|
|
61997
62910
|
}, /*#__PURE__*/React.createElement("div", {
|
|
61998
62911
|
"class": "".concat(cardsstyles2.card) + ' w-100 '
|
|
61999
62912
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -69396,7 +70309,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
69396
70309
|
})), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
69397
70310
|
"class": "col-lg-12 p-0 allcentered"
|
|
69398
70311
|
}, /*#__PURE__*/React.createElement("p", {
|
|
69399
|
-
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak text-center '
|
|
70312
|
+
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak text-center font-md-13 '
|
|
69400
70313
|
}, item.name)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
69401
70314
|
"class": "col-lg-12 p-0 allcentered"
|
|
69402
70315
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -71962,6 +72875,7 @@ var returnLibrary = function returnLibrary() {
|
|
|
71962
72875
|
FooterWithThreeColumns: FooterWithThreeColumns,
|
|
71963
72876
|
ModernFooter: ModernFooter,
|
|
71964
72877
|
Newsletterfooter: Newsletterfooter,
|
|
72878
|
+
Newsletterincenter: Newsletterincenter,
|
|
71965
72879
|
// Cards Sections (8)
|
|
71966
72880
|
CardsSection: CardsSection,
|
|
71967
72881
|
CardsSection2: CardsSection2,
|