tabexseriescomponents 0.0.421 → 0.0.423
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 +1442 -441
- package/dist/index.esm.js +1442 -441
- package/dist/index.umd.js +1442 -441
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -505,8 +505,8 @@
|
|
|
505
505
|
}));
|
|
506
506
|
};
|
|
507
507
|
|
|
508
|
-
function ownKeys$
|
|
509
|
-
function _objectSpread$
|
|
508
|
+
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; }
|
|
509
|
+
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__default["default"](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; }
|
|
510
510
|
var Login = function Login(props) {
|
|
511
511
|
var _css;
|
|
512
512
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -582,7 +582,7 @@
|
|
|
582
582
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
583
583
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
584
584
|
});
|
|
585
|
-
setsectionproperties(_objectSpread$
|
|
585
|
+
setsectionproperties(_objectSpread$2w({}, secpropobj));
|
|
586
586
|
}
|
|
587
587
|
}, [StatePagePropertiesContext]);
|
|
588
588
|
React.useEffect(function () {
|
|
@@ -749,9 +749,9 @@
|
|
|
749
749
|
className: "".concat(loginstyles2.form_control),
|
|
750
750
|
value: payloadobj.email,
|
|
751
751
|
onChange: function onChange(event) {
|
|
752
|
-
var temppayloadobj = _objectSpread$
|
|
752
|
+
var temppayloadobj = _objectSpread$2w({}, payloadobj);
|
|
753
753
|
temppayloadobj.email = event.target.value;
|
|
754
|
-
setpayloadobj(_objectSpread$
|
|
754
|
+
setpayloadobj(_objectSpread$2w({}, temppayloadobj));
|
|
755
755
|
},
|
|
756
756
|
style: {
|
|
757
757
|
background: sectionproperties.input_bgcolor
|
|
@@ -773,9 +773,9 @@
|
|
|
773
773
|
textplaceholder: "",
|
|
774
774
|
value: payloadobj.password,
|
|
775
775
|
onChange: function onChange(event) {
|
|
776
|
-
var temppayloadobj = _objectSpread$
|
|
776
|
+
var temppayloadobj = _objectSpread$2w({}, payloadobj);
|
|
777
777
|
temppayloadobj.password = event.target.value;
|
|
778
|
-
setpayloadobj(_objectSpread$
|
|
778
|
+
setpayloadobj(_objectSpread$2w({}, temppayloadobj));
|
|
779
779
|
},
|
|
780
780
|
style: {
|
|
781
781
|
background: sectionproperties.input_bgcolor
|
|
@@ -952,9 +952,9 @@
|
|
|
952
952
|
className: "".concat(loginstyles2.form_control),
|
|
953
953
|
value: forgotpasswordpayload.email,
|
|
954
954
|
onChange: function onChange(event) {
|
|
955
|
-
var temppayloadobj = _objectSpread$
|
|
955
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
956
956
|
temppayloadobj.email = event.target.value;
|
|
957
|
-
setforgotpasswordpayload(_objectSpread$
|
|
957
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
958
958
|
},
|
|
959
959
|
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
960
960
|
style: {
|
|
@@ -969,9 +969,9 @@
|
|
|
969
969
|
className: "".concat(loginstyles2.form_control),
|
|
970
970
|
value: forgotpasswordpayload.code,
|
|
971
971
|
onChange: function onChange(event) {
|
|
972
|
-
var temppayloadobj = _objectSpread$
|
|
972
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
973
973
|
temppayloadobj.code = event.target.value;
|
|
974
|
-
setforgotpasswordpayload(_objectSpread$
|
|
974
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
975
975
|
},
|
|
976
976
|
style: {
|
|
977
977
|
background: sectionproperties.input_bgcolor
|
|
@@ -985,9 +985,9 @@
|
|
|
985
985
|
className: "".concat(loginstyles2.form_control),
|
|
986
986
|
value: forgotpasswordpayload.newpassword,
|
|
987
987
|
onChange: function onChange(event) {
|
|
988
|
-
var temppayloadobj = _objectSpread$
|
|
988
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
989
989
|
temppayloadobj.newpassword = event.target.value;
|
|
990
|
-
setforgotpasswordpayload(_objectSpread$
|
|
990
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
991
991
|
},
|
|
992
992
|
style: {
|
|
993
993
|
background: sectionproperties.input_bgcolor
|
|
@@ -1001,9 +1001,9 @@
|
|
|
1001
1001
|
className: "".concat(loginstyles2.form_control),
|
|
1002
1002
|
value: forgotpasswordpayload.confirmnewpassword,
|
|
1003
1003
|
onChange: function onChange(event) {
|
|
1004
|
-
var temppayloadobj = _objectSpread$
|
|
1004
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1005
1005
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
1006
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1006
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1007
1007
|
},
|
|
1008
1008
|
style: {
|
|
1009
1009
|
background: sectionproperties.input_bgcolor
|
|
@@ -1015,7 +1015,7 @@
|
|
|
1015
1015
|
onClick: function onClick() {
|
|
1016
1016
|
if (forgotpasswordpayload.email.length != 0) {
|
|
1017
1017
|
var runfunc = false;
|
|
1018
|
-
var tempforgotpasswordpayload = _objectSpread$
|
|
1018
|
+
var tempforgotpasswordpayload = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1019
1019
|
tempforgotpasswordpayload.functype = forgetpasswordstage;
|
|
1020
1020
|
if (forgetpasswordstage == 'verify') {
|
|
1021
1021
|
if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
|
|
@@ -1055,7 +1055,7 @@
|
|
|
1055
1055
|
}, forgetpasswordstage == 'verify' ? langdetect == 'en' ? 'Reset password' : 'إعادة تعيين كلمة المرور' : langdetect == 'en' ? 'Send verification code' : 'أرسل رمز التحقق'))))));
|
|
1056
1056
|
};
|
|
1057
1057
|
|
|
1058
|
-
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
|
|
1058
|
+
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";
|
|
1059
1059
|
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"};
|
|
1060
1060
|
styleInject(css_248z$L);
|
|
1061
1061
|
|
|
@@ -1066,11 +1066,11 @@
|
|
|
1066
1066
|
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"};
|
|
1067
1067
|
styleInject(css_248z$J);
|
|
1068
1068
|
|
|
1069
|
-
function ownKeys$
|
|
1070
|
-
function _objectSpread$
|
|
1069
|
+
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; }
|
|
1070
|
+
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__default["default"](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; }
|
|
1071
1071
|
var selectcustomStyles = {
|
|
1072
1072
|
option: function option(provided, state) {
|
|
1073
|
-
return _objectSpread$
|
|
1073
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1074
1074
|
borderBottom: '1px solid #e6e6e6',
|
|
1075
1075
|
backgroundColor: state.isSelected ? '' : '',
|
|
1076
1076
|
padding: 5,
|
|
@@ -1099,7 +1099,7 @@
|
|
|
1099
1099
|
};
|
|
1100
1100
|
var selectcustomStylesTranslated = {
|
|
1101
1101
|
option: function option(provided, state) {
|
|
1102
|
-
return _objectSpread$
|
|
1102
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1103
1103
|
borderBottom: '1px solid #e6e6e6',
|
|
1104
1104
|
backgroundColor: state.isSelected ? '' : '',
|
|
1105
1105
|
padding: 5,
|
|
@@ -1128,14 +1128,14 @@
|
|
|
1128
1128
|
};
|
|
1129
1129
|
},
|
|
1130
1130
|
placeholder: function placeholder(provided, state) {
|
|
1131
|
-
return _objectSpread$
|
|
1131
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1132
1132
|
textAlign: 'right'
|
|
1133
1133
|
});
|
|
1134
1134
|
}
|
|
1135
1135
|
};
|
|
1136
1136
|
var defaultstyles = {
|
|
1137
1137
|
option: function option(provided, state) {
|
|
1138
|
-
return _objectSpread$
|
|
1138
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1139
1139
|
borderBottom: '1px solid #e6e6e6',
|
|
1140
1140
|
backgroundColor: state.isSelected ? '' : '',
|
|
1141
1141
|
padding: 5,
|
|
@@ -1163,7 +1163,7 @@
|
|
|
1163
1163
|
}), _ref;
|
|
1164
1164
|
},
|
|
1165
1165
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1166
|
-
return _objectSpread$
|
|
1166
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1167
1167
|
'&:hover': {
|
|
1168
1168
|
// color: '#eac435',
|
|
1169
1169
|
}
|
|
@@ -1172,7 +1172,7 @@
|
|
|
1172
1172
|
};
|
|
1173
1173
|
var defaultstylestranslated = {
|
|
1174
1174
|
option: function option(provided, state) {
|
|
1175
|
-
return _objectSpread$
|
|
1175
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1176
1176
|
borderBottom: '1px solid #e6e6e6',
|
|
1177
1177
|
backgroundColor: state.isSelected ? '' : '',
|
|
1178
1178
|
padding: 5,
|
|
@@ -1203,21 +1203,21 @@
|
|
|
1203
1203
|
};
|
|
1204
1204
|
},
|
|
1205
1205
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1206
|
-
return _objectSpread$
|
|
1206
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1207
1207
|
'&:hover': {
|
|
1208
1208
|
// color: '#eac435',
|
|
1209
1209
|
}
|
|
1210
1210
|
});
|
|
1211
1211
|
},
|
|
1212
1212
|
placeholder: function placeholder(provided, state) {
|
|
1213
|
-
return _objectSpread$
|
|
1213
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1214
1214
|
textAlign: 'right'
|
|
1215
1215
|
});
|
|
1216
1216
|
}
|
|
1217
1217
|
};
|
|
1218
1218
|
var defaultstylesnone = {
|
|
1219
1219
|
option: function option(provided, state) {
|
|
1220
|
-
return _objectSpread$
|
|
1220
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1221
1221
|
borderBottom: '1px solid #e6e6e6',
|
|
1222
1222
|
backgroundColor: state.isSelected ? '' : '',
|
|
1223
1223
|
padding: 5,
|
|
@@ -1245,7 +1245,7 @@
|
|
|
1245
1245
|
};
|
|
1246
1246
|
},
|
|
1247
1247
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1248
|
-
return _objectSpread$
|
|
1248
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1249
1249
|
'&:hover': {
|
|
1250
1250
|
// color: '#eac435',
|
|
1251
1251
|
}
|
|
@@ -1267,6 +1267,10 @@
|
|
|
1267
1267
|
var sectionproperties = props.actions.sectionproperties;
|
|
1268
1268
|
props.actions.ikimagecredcontext;
|
|
1269
1269
|
var ProductInfoObj = props.actions.ProductInfoObj;
|
|
1270
|
+
var _useState = React.useState(''),
|
|
1271
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
1272
|
+
_useState2[0];
|
|
1273
|
+
var setcolorvalue = _useState2[1];
|
|
1270
1274
|
var formstyles = {
|
|
1271
1275
|
input_label_name: glamor.css({
|
|
1272
1276
|
color: sectionproperties.form_labelcolor,
|
|
@@ -1331,7 +1335,7 @@
|
|
|
1331
1335
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1332
1336
|
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1333
1337
|
}
|
|
1334
|
-
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1338
|
+
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":", ' ')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1335
1339
|
className: "col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-1",
|
|
1336
1340
|
style: {
|
|
1337
1341
|
paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0
|
|
@@ -1355,8 +1359,14 @@
|
|
|
1355
1359
|
onClick: function onClick() {
|
|
1356
1360
|
if (optionvaluesitem.isenabled == 1) {
|
|
1357
1361
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1362
|
+
if (optionvaluesitem.valuename == '#000000') {
|
|
1363
|
+
setcolorvalue('Black');
|
|
1364
|
+
} else if (optionvaluesitem.valuename == '#c9b0a1') {
|
|
1365
|
+
setcolorvalue('Beige');
|
|
1366
|
+
}
|
|
1358
1367
|
} else {
|
|
1359
1368
|
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1369
|
+
setcolorvalue('');
|
|
1360
1370
|
}
|
|
1361
1371
|
},
|
|
1362
1372
|
style: {
|
|
@@ -1828,8 +1838,8 @@
|
|
|
1828
1838
|
}, 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))))));
|
|
1829
1839
|
};
|
|
1830
1840
|
|
|
1831
|
-
function ownKeys$
|
|
1832
|
-
function _objectSpread$
|
|
1841
|
+
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; }
|
|
1842
|
+
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__default["default"](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; }
|
|
1833
1843
|
var ProductExtraFields = function ProductExtraFields(props) {
|
|
1834
1844
|
var _fetchProductInfoQuer, _css, _fetchProductInfoQuer2;
|
|
1835
1845
|
props.actions.lang;
|
|
@@ -1884,9 +1894,9 @@
|
|
|
1884
1894
|
});
|
|
1885
1895
|
}
|
|
1886
1896
|
setproductextravaluesarray(_toConsumableArray__default["default"](tempproductextravaluesarray));
|
|
1887
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
1897
|
+
var tempaddtocardpayloadobj = _objectSpread$2u({}, addtocardpayloadobj);
|
|
1888
1898
|
tempaddtocardpayloadobj.extrafields = tempproductextravaluesarray;
|
|
1889
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
1899
|
+
setaddtocardpayloadobj(_objectSpread$2u({}, tempaddtocardpayloadobj));
|
|
1890
1900
|
};
|
|
1891
1901
|
var formstyles = {
|
|
1892
1902
|
input_label_name: glamor.css({
|
|
@@ -2101,8 +2111,8 @@
|
|
|
2101
2111
|
})))));
|
|
2102
2112
|
};
|
|
2103
2113
|
|
|
2104
|
-
function ownKeys$
|
|
2105
|
-
function _objectSpread$
|
|
2114
|
+
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; }
|
|
2115
|
+
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__default["default"](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; }
|
|
2106
2116
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2107
2117
|
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;
|
|
2108
2118
|
var lang = props.actions.lang;
|
|
@@ -2649,11 +2659,11 @@
|
|
|
2649
2659
|
}, sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2650
2660
|
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
2651
2661
|
onClick: function onClick() {
|
|
2652
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2662
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2653
2663
|
if (tempaddtocardpayloadobj.quantity > 0) {
|
|
2654
2664
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
|
|
2655
2665
|
}
|
|
2656
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2666
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2657
2667
|
}
|
|
2658
2668
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2659
2669
|
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
|
|
@@ -2667,9 +2677,9 @@
|
|
|
2667
2677
|
}, addtocardpayloadobj.quantity), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2668
2678
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
2669
2679
|
onClick: function onClick() {
|
|
2670
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2680
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2671
2681
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
|
|
2672
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2682
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2673
2683
|
}
|
|
2674
2684
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2675
2685
|
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
|
|
@@ -2694,13 +2704,13 @@
|
|
|
2694
2704
|
value: addtocardpayloadobj.quantity,
|
|
2695
2705
|
onChange: function onChange(event) {
|
|
2696
2706
|
if (event.target.value == NaN || event.target.value == undefined || event.target.value == null || event.target.value == '') {
|
|
2697
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2707
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2698
2708
|
tempaddtocardpayloadobj.quantity = 1;
|
|
2699
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2709
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2700
2710
|
} else {
|
|
2701
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2711
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2702
2712
|
tempaddtocardpayloadobj.quantity = parseInt(event.target.value);
|
|
2703
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2713
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2704
2714
|
}
|
|
2705
2715
|
}
|
|
2706
2716
|
})), 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__default["default"].createElement("button", {
|
|
@@ -3003,8 +3013,8 @@
|
|
|
3003
3013
|
}, ShareButtonsContainer()))))))));
|
|
3004
3014
|
};
|
|
3005
3015
|
|
|
3006
|
-
function ownKeys$
|
|
3007
|
-
function _objectSpread$
|
|
3016
|
+
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; }
|
|
3017
|
+
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__default["default"](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; }
|
|
3008
3018
|
var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
3009
3019
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer13, _fetchProductInfoQuer14;
|
|
3010
3020
|
var langdetect = props.actions.langdetect;
|
|
@@ -3045,7 +3055,7 @@
|
|
|
3045
3055
|
slots = _useState6[0],
|
|
3046
3056
|
setslots = _useState6[1];
|
|
3047
3057
|
React.useEffect(function () {
|
|
3048
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3058
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3049
3059
|
item_type: 'service'
|
|
3050
3060
|
}));
|
|
3051
3061
|
}, [tabsarray]);
|
|
@@ -3057,16 +3067,16 @@
|
|
|
3057
3067
|
if (diffDays.toString() != 'NaN') {
|
|
3058
3068
|
if (date2 <= date1) {
|
|
3059
3069
|
NotificationManager.warning('', 'Please choose another date.');
|
|
3060
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3070
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3061
3071
|
quantity: 0
|
|
3062
3072
|
}));
|
|
3063
3073
|
} else {
|
|
3064
3074
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
|
|
3065
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3075
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3066
3076
|
quantity: diffDays
|
|
3067
3077
|
}));
|
|
3068
3078
|
} else {
|
|
3069
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3079
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3070
3080
|
quantity: 0
|
|
3071
3081
|
}));
|
|
3072
3082
|
NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
@@ -3202,7 +3212,7 @@
|
|
|
3202
3212
|
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,
|
|
3203
3213
|
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,
|
|
3204
3214
|
onChange: function onChange(event) {
|
|
3205
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3215
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3206
3216
|
from: event.target.value
|
|
3207
3217
|
}));
|
|
3208
3218
|
}
|
|
@@ -3222,7 +3232,7 @@
|
|
|
3222
3232
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
3223
3233
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
3224
3234
|
onChange: function onChange(event) {
|
|
3225
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3235
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3226
3236
|
to: event.target.value
|
|
3227
3237
|
}));
|
|
3228
3238
|
}
|
|
@@ -3242,7 +3252,7 @@
|
|
|
3242
3252
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
3243
3253
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
3244
3254
|
onChange: function onChange(event) {
|
|
3245
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3255
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3246
3256
|
date: event.target.value
|
|
3247
3257
|
}));
|
|
3248
3258
|
setcurrentmutatestate('/fetchserviceslots');
|
|
@@ -3293,7 +3303,7 @@
|
|
|
3293
3303
|
color: ischoosed ? sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? sectionproperties.generalbtn_textColoronhover : sectionproperties.generalbtn_textColor : ''
|
|
3294
3304
|
},
|
|
3295
3305
|
onClick: function onClick() {
|
|
3296
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3306
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3297
3307
|
time: item.slot
|
|
3298
3308
|
}));
|
|
3299
3309
|
}
|
|
@@ -3302,7 +3312,7 @@
|
|
|
3302
3312
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3303
3313
|
"class": TabsStyles.booknow_btn_resp + ' allcentered ',
|
|
3304
3314
|
onClick: function onClick() {
|
|
3305
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3315
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3306
3316
|
time: item.slot
|
|
3307
3317
|
}));
|
|
3308
3318
|
}
|
|
@@ -3376,7 +3386,7 @@
|
|
|
3376
3386
|
"class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
|
|
3377
3387
|
style: {},
|
|
3378
3388
|
onClick: function onClick() {
|
|
3379
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3389
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3380
3390
|
time: item.slot
|
|
3381
3391
|
}));
|
|
3382
3392
|
}
|
|
@@ -4080,8 +4090,8 @@
|
|
|
4080
4090
|
}, StoreInfoprops()))));
|
|
4081
4091
|
};
|
|
4082
4092
|
|
|
4083
|
-
function ownKeys$
|
|
4084
|
-
function _objectSpread$
|
|
4093
|
+
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; }
|
|
4094
|
+
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__default["default"](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; }
|
|
4085
4095
|
var AddReview = function AddReview(props) {
|
|
4086
4096
|
var _css;
|
|
4087
4097
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -4133,7 +4143,7 @@
|
|
|
4133
4143
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
4134
4144
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4135
4145
|
});
|
|
4136
|
-
setsectionproperties(_objectSpread$
|
|
4146
|
+
setsectionproperties(_objectSpread$2r({}, secpropobj));
|
|
4137
4147
|
}
|
|
4138
4148
|
}, [StatePagePropertiesContext]);
|
|
4139
4149
|
React.useEffect(function () {
|
|
@@ -4142,7 +4152,7 @@
|
|
|
4142
4152
|
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) {
|
|
4143
4153
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4144
4154
|
});
|
|
4145
|
-
setsectionproperties(_objectSpread$
|
|
4155
|
+
setsectionproperties(_objectSpread$2r({}, secpropobj));
|
|
4146
4156
|
}, [pageindexcontext]);
|
|
4147
4157
|
var reviewstyles = {
|
|
4148
4158
|
submitreviewbtn: glamor.css({
|
|
@@ -4268,9 +4278,9 @@
|
|
|
4268
4278
|
}),
|
|
4269
4279
|
activeColor: "#ffd700",
|
|
4270
4280
|
onChange: function onChange(event) {
|
|
4271
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4281
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4272
4282
|
tempreviewpayloadobj.reviewrate = event;
|
|
4273
|
-
setreviewpayloadobj(_objectSpread$
|
|
4283
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4274
4284
|
}
|
|
4275
4285
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4276
4286
|
"class": "col-lg-12"
|
|
@@ -4284,9 +4294,9 @@
|
|
|
4284
4294
|
"class": reviewstyles.form_control,
|
|
4285
4295
|
value: reviewpayloadobj.reviewname,
|
|
4286
4296
|
onChange: function onChange(event) {
|
|
4287
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4297
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4288
4298
|
tempreviewpayloadobj.reviewname = event.target.value;
|
|
4289
|
-
setreviewpayloadobj(_objectSpread$
|
|
4299
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4290
4300
|
}
|
|
4291
4301
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4292
4302
|
"class": "col-lg-12 mb-4"
|
|
@@ -4296,9 +4306,9 @@
|
|
|
4296
4306
|
"class": reviewstyles.form_control,
|
|
4297
4307
|
value: reviewpayloadobj.reviewtitle,
|
|
4298
4308
|
onChange: function onChange(event) {
|
|
4299
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4309
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4300
4310
|
tempreviewpayloadobj.reviewtitle = event.target.value;
|
|
4301
|
-
setreviewpayloadobj(_objectSpread$
|
|
4311
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4302
4312
|
}
|
|
4303
4313
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4304
4314
|
"class": "col-lg-12 mb-4"
|
|
@@ -4309,9 +4319,9 @@
|
|
|
4309
4319
|
"class": reviewstyles.form_control + ' form_control ',
|
|
4310
4320
|
value: reviewpayloadobj.reviewbody,
|
|
4311
4321
|
onChange: function onChange(event) {
|
|
4312
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4322
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4313
4323
|
tempreviewpayloadobj.reviewbody = event.target.value;
|
|
4314
|
-
setreviewpayloadobj(_objectSpread$
|
|
4324
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4315
4325
|
},
|
|
4316
4326
|
style: {
|
|
4317
4327
|
resize: 'none',
|
|
@@ -4346,8 +4356,8 @@
|
|
|
4346
4356
|
}, langdetect == 'en' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)));
|
|
4347
4357
|
};
|
|
4348
4358
|
|
|
4349
|
-
function ownKeys$
|
|
4350
|
-
function _objectSpread$
|
|
4359
|
+
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; }
|
|
4360
|
+
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__default["default"](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; }
|
|
4351
4361
|
var ProductReviews = function ProductReviews(props) {
|
|
4352
4362
|
var _fetchProductInfoQuer, _fetchProductInfoQuer3, _fetchProductInfoQuer4;
|
|
4353
4363
|
props.actions.lang;
|
|
@@ -4581,7 +4591,7 @@
|
|
|
4581
4591
|
size: "md",
|
|
4582
4592
|
"class": "reviewmodal"
|
|
4583
4593
|
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement(AddReview, {
|
|
4584
|
-
actions: _objectSpread$
|
|
4594
|
+
actions: _objectSpread$2q(_objectSpread$2q({}, actions), {}, {
|
|
4585
4595
|
productid: productid,
|
|
4586
4596
|
canuserreview: canuserreview,
|
|
4587
4597
|
addreviewcallback: addreviewcallback
|
|
@@ -4589,8 +4599,8 @@
|
|
|
4589
4599
|
}))));
|
|
4590
4600
|
};
|
|
4591
4601
|
|
|
4592
|
-
function ownKeys$
|
|
4593
|
-
function _objectSpread$
|
|
4602
|
+
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; }
|
|
4603
|
+
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__default["default"](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; }
|
|
4594
4604
|
var Productinfo = function Productinfo(props) {
|
|
4595
4605
|
var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
|
|
4596
4606
|
var _useState = React.useState({}),
|
|
@@ -4619,7 +4629,7 @@
|
|
|
4619
4629
|
setfetchProductInfoQueryContext = _useState4[1];
|
|
4620
4630
|
React.useEffect(function () {
|
|
4621
4631
|
if (fetchProductInfoQueryContextProps.isSuccess) {
|
|
4622
|
-
setProductInfoObj(_objectSpread$
|
|
4632
|
+
setProductInfoObj(_objectSpread$2p({}, fetchProductInfoQueryContextProps.data));
|
|
4623
4633
|
setfetchProductInfoQueryContext(fetchProductInfoQueryContextProps);
|
|
4624
4634
|
}
|
|
4625
4635
|
}, [props.actions, props, fetchProductInfoQueryContextProps.data, fetchProductInfoQueryContextProps.isSuccess]);
|
|
@@ -4731,7 +4741,7 @@
|
|
|
4731
4741
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
4732
4742
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4733
4743
|
});
|
|
4734
|
-
setsectionproperties(_objectSpread$
|
|
4744
|
+
setsectionproperties(_objectSpread$2p({}, secpropobj));
|
|
4735
4745
|
setTabIndex(0);
|
|
4736
4746
|
settabname('descriptiontab');
|
|
4737
4747
|
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom') {
|
|
@@ -4771,7 +4781,7 @@
|
|
|
4771
4781
|
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) {
|
|
4772
4782
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4773
4783
|
});
|
|
4774
|
-
setsectionproperties(_objectSpread$
|
|
4784
|
+
setsectionproperties(_objectSpread$2p({}, secpropobj));
|
|
4775
4785
|
}, [pageindexcontext]);
|
|
4776
4786
|
React.useEffect(function () {
|
|
4777
4787
|
if (productidparam == undefined) {
|
|
@@ -4791,12 +4801,12 @@
|
|
|
4791
4801
|
}
|
|
4792
4802
|
}, [ProductInfoObj, isloaded]);
|
|
4793
4803
|
var productidassigner = function productidassigner(productid) {
|
|
4794
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
4804
|
+
var tempFetchQueriesEngineContext = _objectSpread$2p({}, FetchQueriesEngineContext);
|
|
4795
4805
|
tempFetchQueriesEngineContext.fetchproductinfo = true;
|
|
4796
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
4797
|
-
var tempfetchproductinfoObjContext = _objectSpread$
|
|
4806
|
+
setFetchQueriesEngineContext(_objectSpread$2p({}, tempFetchQueriesEngineContext));
|
|
4807
|
+
var tempfetchproductinfoObjContext = _objectSpread$2p({}, fetchproductinfoObjContext);
|
|
4798
4808
|
tempfetchproductinfoObjContext.productid = productid;
|
|
4799
|
-
setfetchproductinfoObjContext(_objectSpread$
|
|
4809
|
+
setfetchproductinfoObjContext(_objectSpread$2p({}, tempfetchproductinfoObjContext));
|
|
4800
4810
|
};
|
|
4801
4811
|
React.useEffect(function () {
|
|
4802
4812
|
if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
@@ -4833,9 +4843,9 @@
|
|
|
4833
4843
|
}
|
|
4834
4844
|
setproductimagesarray([].concat(tempproductimagesarray));
|
|
4835
4845
|
variantchecker();
|
|
4836
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
4846
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
4837
4847
|
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext.data.data.productinfo.productid;
|
|
4838
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
4848
|
+
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
4839
4849
|
setRelatedProductsTagid(fetchProductInfoQueryContext.data.data.productinfo.maintagid);
|
|
4840
4850
|
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) {
|
|
4841
4851
|
GeneralAPIMutationContext.mutate({
|
|
@@ -4882,7 +4892,7 @@
|
|
|
4882
4892
|
});
|
|
4883
4893
|
variantchecker();
|
|
4884
4894
|
variantcompleting();
|
|
4885
|
-
setProductInfoObj(_objectSpread$
|
|
4895
|
+
setProductInfoObj(_objectSpread$2p({}, productarr));
|
|
4886
4896
|
};
|
|
4887
4897
|
var variantchecker = function variantchecker() {
|
|
4888
4898
|
var productarr = ProductInfoObj;
|
|
@@ -4956,16 +4966,16 @@
|
|
|
4956
4966
|
});
|
|
4957
4967
|
}
|
|
4958
4968
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
4959
|
-
setProductInfoObj(_objectSpread$
|
|
4969
|
+
setProductInfoObj(_objectSpread$2p({}, productarr));
|
|
4960
4970
|
setisloaded(true);
|
|
4961
4971
|
}
|
|
4962
4972
|
}
|
|
4963
4973
|
};
|
|
4964
4974
|
var variantcompleting = function variantcompleting() {
|
|
4965
4975
|
setvariantindexcompleted('');
|
|
4966
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
4976
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
4967
4977
|
tempaddtocardpayloadobj.variantid = '';
|
|
4968
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
4978
|
+
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
4969
4979
|
var productarr = ProductInfoObj;
|
|
4970
4980
|
var selectedoptionsvalues = [];
|
|
4971
4981
|
productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
|
|
@@ -4998,7 +5008,7 @@
|
|
|
4998
5008
|
NotificationManager.warning('', 'Variant Not Found');
|
|
4999
5009
|
} else {
|
|
5000
5010
|
variantid = variantobj.variantid;
|
|
5001
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5011
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5002
5012
|
tempaddtocardpayloadobj.variantid = variantid;
|
|
5003
5013
|
var variantimageindex = 0;
|
|
5004
5014
|
productimagesarray === null || productimagesarray === void 0 || productimagesarray.forEach(function (tempimageitem, tempimageindex) {
|
|
@@ -5014,14 +5024,14 @@
|
|
|
5014
5024
|
setvariantsku(variantobj === null || variantobj === void 0 ? void 0 : variantobj.sku);
|
|
5015
5025
|
// alert(variantsku);
|
|
5016
5026
|
setcurrentshowingimageindex(variantimageindex);
|
|
5017
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
5027
|
+
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
5018
5028
|
setvariantindexcompleted(ProductVariantIndex);
|
|
5019
5029
|
setvariantindex(ProductVariantIndex);
|
|
5020
5030
|
}
|
|
5021
5031
|
}
|
|
5022
5032
|
});
|
|
5023
5033
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
5024
|
-
setProductInfoObj(_objectSpread$
|
|
5034
|
+
setProductInfoObj(_objectSpread$2p({}, productarr));
|
|
5025
5035
|
};
|
|
5026
5036
|
var addtocartfunc = function addtocartfunc(forcetocheckout) {
|
|
5027
5037
|
var runfunc = false;
|
|
@@ -5042,7 +5052,7 @@
|
|
|
5042
5052
|
}
|
|
5043
5053
|
if (runfunc == true) {
|
|
5044
5054
|
var _fetchProductInfoQuer7, _fetchProductInfoQuer8;
|
|
5045
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5055
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5046
5056
|
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;
|
|
5047
5057
|
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;
|
|
5048
5058
|
if (forcetocheckoutvalue != undefined) {
|
|
@@ -5066,7 +5076,7 @@
|
|
|
5066
5076
|
};
|
|
5067
5077
|
var validateextrafields = function validateextrafields() {
|
|
5068
5078
|
var _fetchProductInfoQuer15;
|
|
5069
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5079
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5070
5080
|
var status = false;
|
|
5071
5081
|
var reason = '';
|
|
5072
5082
|
var missingitemsfound = [];
|
|
@@ -6105,7 +6115,7 @@
|
|
|
6105
6115
|
}))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
|
|
6106
6116
|
"class": "w-100 mt-5 mb-4"
|
|
6107
6117
|
}, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
6108
|
-
actions: _objectSpread$
|
|
6118
|
+
actions: _objectSpread$2p(_objectSpread$2p({}, actions), {}, {
|
|
6109
6119
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
6110
6120
|
sectionproperties: sectionproperties
|
|
6111
6121
|
})
|
|
@@ -6153,7 +6163,7 @@
|
|
|
6153
6163
|
})), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6154
6164
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
6155
6165
|
}, /*#__PURE__*/React__default["default"].createElement(ProductReviews, {
|
|
6156
|
-
actions: _objectSpread$
|
|
6166
|
+
actions: _objectSpread$2p(_objectSpread$2p({}, actions), {}, {
|
|
6157
6167
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
6158
6168
|
sectionproperties: sectionproperties
|
|
6159
6169
|
})
|
|
@@ -6170,8 +6180,8 @@
|
|
|
6170
6180
|
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"};
|
|
6171
6181
|
styleInject(css_248z$I);
|
|
6172
6182
|
|
|
6173
|
-
function ownKeys$
|
|
6174
|
-
function _objectSpread$
|
|
6183
|
+
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; }
|
|
6184
|
+
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__default["default"](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; }
|
|
6175
6185
|
var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
6176
6186
|
var _useState = React.useState(props.currentpageprops),
|
|
6177
6187
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -6207,7 +6217,7 @@
|
|
|
6207
6217
|
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) {
|
|
6208
6218
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6209
6219
|
});
|
|
6210
|
-
setsectionproperties(_objectSpread$
|
|
6220
|
+
setsectionproperties(_objectSpread$2o({}, secpropobj));
|
|
6211
6221
|
}
|
|
6212
6222
|
}, [CurrentPageId]);
|
|
6213
6223
|
var styles = {
|
|
@@ -6373,8 +6383,8 @@
|
|
|
6373
6383
|
}))))));
|
|
6374
6384
|
};
|
|
6375
6385
|
|
|
6376
|
-
function ownKeys$
|
|
6377
|
-
function _objectSpread$
|
|
6386
|
+
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; }
|
|
6387
|
+
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__default["default"](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; }
|
|
6378
6388
|
var Ordershistory = function Ordershistory(props) {
|
|
6379
6389
|
var _props$actions2, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchorderhistoryQue2, _fetchorderhistoryQue3, _fetchorderhistoryQue4, _fetchorderhistoryQue5;
|
|
6380
6390
|
var lang = props.actions.lang;
|
|
@@ -6427,9 +6437,9 @@
|
|
|
6427
6437
|
setorderindex = _useState14[1];
|
|
6428
6438
|
React.useEffect(function () {
|
|
6429
6439
|
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) == true) {
|
|
6430
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
6440
|
+
var tempFetchQueriesEngineContext = _objectSpread$2n({}, FetchQueriesEngineContext);
|
|
6431
6441
|
tempFetchQueriesEngineContext.orderhistory = true;
|
|
6432
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
6442
|
+
setFetchQueriesEngineContext(_objectSpread$2n({}, tempFetchQueriesEngineContext));
|
|
6433
6443
|
}
|
|
6434
6444
|
}, []);
|
|
6435
6445
|
var _useState15 = React.useState(''),
|
|
@@ -6450,7 +6460,7 @@
|
|
|
6450
6460
|
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) {
|
|
6451
6461
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6452
6462
|
});
|
|
6453
|
-
setsectionproperties(_objectSpread$
|
|
6463
|
+
setsectionproperties(_objectSpread$2n({}, secpropobj));
|
|
6454
6464
|
}, [props === null || props === void 0 || (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
6455
6465
|
var orderhistory_cssstyles = {
|
|
6456
6466
|
variantcontainer: glamor.css({
|
|
@@ -7401,8 +7411,8 @@
|
|
|
7401
7411
|
var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
|
|
7402
7412
|
styleInject(css_248z$H);
|
|
7403
7413
|
|
|
7404
|
-
function ownKeys$
|
|
7405
|
-
function _objectSpread$
|
|
7414
|
+
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; }
|
|
7415
|
+
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__default["default"](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; }
|
|
7406
7416
|
var Wishlist = function Wishlist(props) {
|
|
7407
7417
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
7408
7418
|
var lang = props.actions.lang;
|
|
@@ -7430,13 +7440,13 @@
|
|
|
7430
7440
|
StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
7431
7441
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
7432
7442
|
});
|
|
7433
|
-
setsectionproperties(_objectSpread$
|
|
7443
|
+
setsectionproperties(_objectSpread$2m({}, secpropobj));
|
|
7434
7444
|
}
|
|
7435
7445
|
}, [StatePagePropertiesContext]);
|
|
7436
7446
|
React.useEffect(function () {
|
|
7437
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
7447
|
+
var tempFetchQueriesEngineContext = _objectSpread$2m({}, FetchQueriesEngineContext);
|
|
7438
7448
|
tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
|
|
7439
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
7449
|
+
setFetchQueriesEngineContext(_objectSpread$2m({}, tempFetchQueriesEngineContext));
|
|
7440
7450
|
}, []);
|
|
7441
7451
|
React.useEffect(function () {
|
|
7442
7452
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
@@ -7445,7 +7455,7 @@
|
|
|
7445
7455
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
7446
7456
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
7447
7457
|
});
|
|
7448
|
-
setsectionproperties(_objectSpread$
|
|
7458
|
+
setsectionproperties(_objectSpread$2m({}, secpropobj));
|
|
7449
7459
|
}
|
|
7450
7460
|
}, [StatePagePropertiesContext]);
|
|
7451
7461
|
var wishlist_cssstyles = {
|
|
@@ -7854,8 +7864,8 @@
|
|
|
7854
7864
|
})));
|
|
7855
7865
|
};
|
|
7856
7866
|
|
|
7857
|
-
function ownKeys$
|
|
7858
|
-
function _objectSpread$
|
|
7867
|
+
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; }
|
|
7868
|
+
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__default["default"](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; }
|
|
7859
7869
|
var Viewcart = function Viewcart(props) {
|
|
7860
7870
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8;
|
|
7861
7871
|
var lang = props.actions.lang;
|
|
@@ -7887,7 +7897,7 @@
|
|
|
7887
7897
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
7888
7898
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
7889
7899
|
});
|
|
7890
|
-
setsectionproperties(_objectSpread$
|
|
7900
|
+
setsectionproperties(_objectSpread$2l({}, secpropobj));
|
|
7891
7901
|
}
|
|
7892
7902
|
}, [StatePagePropertiesContext]);
|
|
7893
7903
|
React.useEffect(function () {
|
|
@@ -8475,8 +8485,8 @@
|
|
|
8475
8485
|
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-"};
|
|
8476
8486
|
styleInject(css_248z$G);
|
|
8477
8487
|
|
|
8478
|
-
function ownKeys$
|
|
8479
|
-
function _objectSpread$
|
|
8488
|
+
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; }
|
|
8489
|
+
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__default["default"](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; }
|
|
8480
8490
|
var Select$3 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
8481
8491
|
return import('react-select');
|
|
8482
8492
|
});
|
|
@@ -8535,7 +8545,7 @@
|
|
|
8535
8545
|
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) {
|
|
8536
8546
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
8537
8547
|
});
|
|
8538
|
-
setsectionproperties(_objectSpread$
|
|
8548
|
+
setsectionproperties(_objectSpread$2k({}, secpropobj));
|
|
8539
8549
|
}, [props.actions.StatePagePropertiesContext]);
|
|
8540
8550
|
React.useEffect(function () {
|
|
8541
8551
|
var Canorder = false;
|
|
@@ -8555,10 +8565,10 @@
|
|
|
8555
8565
|
}
|
|
8556
8566
|
if (Canorder == true) {
|
|
8557
8567
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7;
|
|
8558
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
8568
|
+
var tempFetchQueriesEngineContext = _objectSpread$2k({}, FetchQueriesEngineContext);
|
|
8559
8569
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
8560
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
8561
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
8570
|
+
setFetchQueriesEngineContext(_objectSpread$2k({}, tempFetchQueriesEngineContext));
|
|
8571
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
8562
8572
|
if (
|
|
8563
8573
|
// Aya
|
|
8564
8574
|
!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 &&
|
|
@@ -8575,7 +8585,7 @@
|
|
|
8575
8585
|
var _fetchcustomercartQue8;
|
|
8576
8586
|
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;
|
|
8577
8587
|
}
|
|
8578
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
8588
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2k({}, tempFetchTabexStatesPayloadobjContext));
|
|
8579
8589
|
} else {
|
|
8580
8590
|
// NotificationManager.warning('', lang.pleaselogintocheckout);
|
|
8581
8591
|
routingcountext(StaticPagesLinksContext.Login);
|
|
@@ -9442,10 +9452,10 @@
|
|
|
9442
9452
|
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);
|
|
9443
9453
|
}),
|
|
9444
9454
|
onChange: function onChange(option) {
|
|
9445
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
9455
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
9446
9456
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
9447
9457
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
9448
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
9458
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2k({}, tempFetchTabexStatesPayloadobjContext));
|
|
9449
9459
|
cartinfoupdater('countryid', option.id);
|
|
9450
9460
|
},
|
|
9451
9461
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -9490,10 +9500,10 @@
|
|
|
9490
9500
|
onChange: function onChange(option) {
|
|
9491
9501
|
var _fetchcustomercartQue60;
|
|
9492
9502
|
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) {
|
|
9493
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
9503
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
9494
9504
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
9495
9505
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
9496
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
9506
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2k({}, tempFetchTabexStatesPayloadobjContext));
|
|
9497
9507
|
cartinfoupdater('stateid', option.id);
|
|
9498
9508
|
} else {
|
|
9499
9509
|
NotificationManager.warning('', 'Please Choose Country Or State');
|
|
@@ -9857,8 +9867,8 @@
|
|
|
9857
9867
|
}, Mycart())))));
|
|
9858
9868
|
};
|
|
9859
9869
|
|
|
9860
|
-
function ownKeys$
|
|
9861
|
-
function _objectSpread$
|
|
9870
|
+
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; }
|
|
9871
|
+
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__default["default"](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; }
|
|
9862
9872
|
var VendorPage = function VendorPage(props) {
|
|
9863
9873
|
var _useState = React.useState(''),
|
|
9864
9874
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -9891,7 +9901,7 @@
|
|
|
9891
9901
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
9892
9902
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
9893
9903
|
});
|
|
9894
|
-
setsectionproperties(_objectSpread$
|
|
9904
|
+
setsectionproperties(_objectSpread$2j({}, secpropobj));
|
|
9895
9905
|
}
|
|
9896
9906
|
}, [StatePagePropertiesContext]);
|
|
9897
9907
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -10014,8 +10024,8 @@
|
|
|
10014
10024
|
})));
|
|
10015
10025
|
};
|
|
10016
10026
|
|
|
10017
|
-
function ownKeys$
|
|
10018
|
-
function _objectSpread$
|
|
10027
|
+
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; }
|
|
10028
|
+
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__default["default"](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; }
|
|
10019
10029
|
var Select$2 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
10020
10030
|
return import('react-select');
|
|
10021
10031
|
});
|
|
@@ -10125,46 +10135,46 @@
|
|
|
10125
10135
|
}
|
|
10126
10136
|
}, [fetchAuthorizationQueryContext.isSuccess]);
|
|
10127
10137
|
React.useEffect(function () {
|
|
10128
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
10138
|
+
var tempFetchQueriesEngineContext = _objectSpread$2i({}, FetchQueriesEngineContext);
|
|
10129
10139
|
tempFetchQueriesEngineContext.institutecustomerinfosignup = true;
|
|
10130
10140
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
10131
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
10132
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
10141
|
+
setFetchQueriesEngineContext(_objectSpread$2i({}, tempFetchQueriesEngineContext));
|
|
10142
|
+
var tempFetchQueriesEngineContext = _objectSpread$2i({}, FetchQueriesEngineContext);
|
|
10133
10143
|
}, []);
|
|
10134
10144
|
React.useEffect(function () {
|
|
10135
10145
|
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
10136
|
-
setsectionproperties(_objectSpread$
|
|
10146
|
+
setsectionproperties(_objectSpread$2i({}, props.sectionpropertiesprops));
|
|
10137
10147
|
}
|
|
10138
10148
|
}, [props.sectionpropertiesprops]);
|
|
10139
10149
|
React.useEffect(function () {
|
|
10140
10150
|
if (fetchinstitutecustomerinfosignupQueryContext.isSuccess) {
|
|
10141
10151
|
if (authdetailsContext.loggedin == true) {
|
|
10142
|
-
var tempcustomerinfoobj = _objectSpread$
|
|
10143
|
-
setpayloadobj(_objectSpread$
|
|
10144
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10152
|
+
var tempcustomerinfoobj = _objectSpread$2i({}, fetchinstitutecustomerinfosignupQueryContext.data.data.customerinfo);
|
|
10153
|
+
setpayloadobj(_objectSpread$2i({}, tempcustomerinfoobj));
|
|
10154
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2i({}, FetchTabexStatesPayloadobjContext);
|
|
10145
10155
|
if (tempcustomerinfoobj.countryid != null) {
|
|
10146
10156
|
tempFetchTabexStatesPayloadobjContext.country_id = tempcustomerinfoobj.countryid;
|
|
10147
10157
|
}
|
|
10148
10158
|
if (tempcustomerinfoobj.stateid != null) {
|
|
10149
10159
|
tempFetchTabexStatesPayloadobjContext.state_id = tempcustomerinfoobj.stateid;
|
|
10150
10160
|
}
|
|
10151
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10161
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2i({}, tempFetchTabexStatesPayloadobjContext));
|
|
10152
10162
|
setdataloaded(true);
|
|
10153
10163
|
} else {
|
|
10154
10164
|
var _fetchinstitutecustom;
|
|
10155
|
-
var tempcustomerinfoobj = _objectSpread$
|
|
10165
|
+
var tempcustomerinfoobj = _objectSpread$2i({}, payloadobj);
|
|
10156
10166
|
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)) {
|
|
10157
10167
|
tempcustomerinfoobj.instsignupformvalues = _toConsumableArray__default["default"](fetchinstitutecustomerinfosignupQueryContext.data.data.instsignupformvalues);
|
|
10158
10168
|
}
|
|
10159
|
-
setpayloadobj(_objectSpread$
|
|
10169
|
+
setpayloadobj(_objectSpread$2i({}, tempcustomerinfoobj));
|
|
10160
10170
|
setdataloaded(true);
|
|
10161
10171
|
}
|
|
10162
10172
|
}
|
|
10163
10173
|
}, [fetchinstitutecustomerinfosignupQueryContext.isSuccess, fetchinstitutecustomerinfosignupQueryContext.data, authdetailsContext]);
|
|
10164
10174
|
var payloadobjchange = function payloadobjchange(key, value) {
|
|
10165
|
-
var temppayloadobj = _objectSpread$
|
|
10175
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10166
10176
|
temppayloadobj[key] = value;
|
|
10167
|
-
setpayloadobj(_objectSpread$
|
|
10177
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10168
10178
|
};
|
|
10169
10179
|
var validateEmailstring = function validateEmailstring(email) {
|
|
10170
10180
|
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,}))$/);
|
|
@@ -10236,7 +10246,7 @@
|
|
|
10236
10246
|
};
|
|
10237
10247
|
var signupbuttonfunc = function signupbuttonfunc() {
|
|
10238
10248
|
if (verifypayload() == true) {
|
|
10239
|
-
var temppayloadobj = _objectSpread$
|
|
10249
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10240
10250
|
if (authdetailsContext.loggedin == true) {
|
|
10241
10251
|
temppayloadobj.functype = 'edit';
|
|
10242
10252
|
} else {
|
|
@@ -10393,10 +10403,10 @@
|
|
|
10393
10403
|
autoFormat: true,
|
|
10394
10404
|
value: payloadobj.mobile,
|
|
10395
10405
|
onChange: function onChange(event, country) {
|
|
10396
|
-
var temp = _objectSpread$
|
|
10406
|
+
var temp = _objectSpread$2i({}, payloadobj);
|
|
10397
10407
|
temp.mobile = event;
|
|
10398
10408
|
temp.countrydialcode = country.dialCode;
|
|
10399
|
-
setpayloadobj(_objectSpread$
|
|
10409
|
+
setpayloadobj(_objectSpread$2i({}, temp));
|
|
10400
10410
|
// payloadobjchange('mobile', event);
|
|
10401
10411
|
|
|
10402
10412
|
// alert(JSON.stringify(country));
|
|
@@ -10453,10 +10463,10 @@
|
|
|
10453
10463
|
return option.id == payloadobj.countryid;
|
|
10454
10464
|
}),
|
|
10455
10465
|
onChange: function onChange(option) {
|
|
10456
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10466
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2i({}, FetchTabexStatesPayloadobjContext);
|
|
10457
10467
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
10458
10468
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
10459
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10469
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2i({}, tempFetchTabexStatesPayloadobjContext));
|
|
10460
10470
|
payloadobjchange('countryid', option.id);
|
|
10461
10471
|
},
|
|
10462
10472
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -10505,10 +10515,10 @@
|
|
|
10505
10515
|
return option.id == payloadobj.stateid;
|
|
10506
10516
|
}),
|
|
10507
10517
|
onChange: function onChange(option) {
|
|
10508
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10518
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2i({}, FetchTabexStatesPayloadobjContext);
|
|
10509
10519
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
10510
10520
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
10511
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10521
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2i({}, tempFetchTabexStatesPayloadobjContext));
|
|
10512
10522
|
payloadobjchange('stateid', option.id);
|
|
10513
10523
|
},
|
|
10514
10524
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -10650,9 +10660,9 @@
|
|
|
10650
10660
|
value: item.customersignupvalue,
|
|
10651
10661
|
textplaceholder: "",
|
|
10652
10662
|
onChange: function onChange(event) {
|
|
10653
|
-
var temppayloadobj = _objectSpread$
|
|
10663
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10654
10664
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
10655
|
-
setpayloadobj(_objectSpread$
|
|
10665
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10656
10666
|
},
|
|
10657
10667
|
style: {
|
|
10658
10668
|
background: 'transparent'
|
|
@@ -10666,13 +10676,13 @@
|
|
|
10666
10676
|
className: formstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
10667
10677
|
checked: item.customersignupvalue == 1 ? true : false,
|
|
10668
10678
|
onChange: function onChange() {
|
|
10669
|
-
var temppayloadobj = _objectSpread$
|
|
10679
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10670
10680
|
if (temppayloadobj.instsignupformvalues[index].customersignupvalue == 1) {
|
|
10671
10681
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = 0;
|
|
10672
10682
|
} else {
|
|
10673
10683
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = 1;
|
|
10674
10684
|
}
|
|
10675
|
-
setpayloadobj(_objectSpread$
|
|
10685
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10676
10686
|
}
|
|
10677
10687
|
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
10678
10688
|
viewBox: "0 0 21 21",
|
|
@@ -10689,9 +10699,9 @@
|
|
|
10689
10699
|
value: item.customersignupvalue,
|
|
10690
10700
|
textplaceholder: "",
|
|
10691
10701
|
onChange: function onChange(event) {
|
|
10692
|
-
var temppayloadobj = _objectSpread$
|
|
10702
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10693
10703
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
10694
|
-
setpayloadobj(_objectSpread$
|
|
10704
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10695
10705
|
}
|
|
10696
10706
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
10697
10707
|
value: '',
|
|
@@ -10706,9 +10716,9 @@
|
|
|
10706
10716
|
value: item.customersignupvalue,
|
|
10707
10717
|
textplaceholder: "",
|
|
10708
10718
|
onChange: function onChange(event) {
|
|
10709
|
-
var temppayloadobj = _objectSpread$
|
|
10719
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10710
10720
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
10711
|
-
setpayloadobj(_objectSpread$
|
|
10721
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10712
10722
|
},
|
|
10713
10723
|
style: {
|
|
10714
10724
|
resize: 'none'
|
|
@@ -11062,7 +11072,7 @@
|
|
|
11062
11072
|
className: "".concat(formstyles.form_control),
|
|
11063
11073
|
value: validateemailpayload.code,
|
|
11064
11074
|
onChange: function onChange(event) {
|
|
11065
|
-
setvalidateemailpayload(_objectSpread$
|
|
11075
|
+
setvalidateemailpayload(_objectSpread$2i(_objectSpread$2i({}, validateemailpayload), {}, {
|
|
11066
11076
|
code: event.target.value
|
|
11067
11077
|
}));
|
|
11068
11078
|
},
|
|
@@ -11089,12 +11099,12 @@
|
|
|
11089
11099
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
11090
11100
|
if (data.data.status) {
|
|
11091
11101
|
if (data.data.functype == 'sendcode') {
|
|
11092
|
-
setvalidateemailpayload(_objectSpread$
|
|
11102
|
+
setvalidateemailpayload(_objectSpread$2i(_objectSpread$2i({}, validateemailpayload), {}, {
|
|
11093
11103
|
step: 'verifycode'
|
|
11094
11104
|
}));
|
|
11095
11105
|
}
|
|
11096
11106
|
if (data.data.functype == 'verifycode') {
|
|
11097
|
-
setvalidateemailpayload(_objectSpread$
|
|
11107
|
+
setvalidateemailpayload(_objectSpread$2i(_objectSpread$2i({}, validateemailpayload), {}, {
|
|
11098
11108
|
isvalidated: true
|
|
11099
11109
|
}));
|
|
11100
11110
|
setvalidateemailmodal(false);
|
|
@@ -11189,7 +11199,7 @@
|
|
|
11189
11199
|
className: "".concat(formstyles.form_control),
|
|
11190
11200
|
value: validatephonenumberpayload.code,
|
|
11191
11201
|
onChange: function onChange(event) {
|
|
11192
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11202
|
+
setvalidatephonenumberpayload(_objectSpread$2i(_objectSpread$2i({}, validatephonenumberpayload), {}, {
|
|
11193
11203
|
code: event.target.value
|
|
11194
11204
|
}));
|
|
11195
11205
|
},
|
|
@@ -11216,12 +11226,12 @@
|
|
|
11216
11226
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
11217
11227
|
if (data.data.status) {
|
|
11218
11228
|
if (data.data.functype == 'sendcode') {
|
|
11219
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11229
|
+
setvalidatephonenumberpayload(_objectSpread$2i(_objectSpread$2i({}, validatephonenumberpayload), {}, {
|
|
11220
11230
|
step: 'verifycode'
|
|
11221
11231
|
}));
|
|
11222
11232
|
}
|
|
11223
11233
|
if (data.data.functype == 'verifycode') {
|
|
11224
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11234
|
+
setvalidatephonenumberpayload(_objectSpread$2i(_objectSpread$2i({}, validatephonenumberpayload), {}, {
|
|
11225
11235
|
isvalidated: true
|
|
11226
11236
|
}));
|
|
11227
11237
|
setvalidatephonenumbermodal(false);
|
|
@@ -11257,8 +11267,8 @@
|
|
|
11257
11267
|
}, validatephonenumberpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
11258
11268
|
};
|
|
11259
11269
|
|
|
11260
|
-
function ownKeys$
|
|
11261
|
-
function _objectSpread$
|
|
11270
|
+
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; }
|
|
11271
|
+
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__default["default"](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; }
|
|
11262
11272
|
var Signup = function Signup(props) {
|
|
11263
11273
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
11264
11274
|
props.actions.CurrentSrcTypeContext;
|
|
@@ -11306,7 +11316,7 @@
|
|
|
11306
11316
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
11307
11317
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11308
11318
|
});
|
|
11309
|
-
setsectionproperties(_objectSpread$
|
|
11319
|
+
setsectionproperties(_objectSpread$2h({}, secpropobj));
|
|
11310
11320
|
}
|
|
11311
11321
|
}, [StatePagePropertiesContext]);
|
|
11312
11322
|
var loginstyles2 = {
|
|
@@ -11449,8 +11459,8 @@
|
|
|
11449
11459
|
}, SignupContent()));
|
|
11450
11460
|
};
|
|
11451
11461
|
|
|
11452
|
-
function ownKeys$
|
|
11453
|
-
function _objectSpread$
|
|
11462
|
+
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; }
|
|
11463
|
+
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__default["default"](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; }
|
|
11454
11464
|
var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
11455
11465
|
var _css;
|
|
11456
11466
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -11516,7 +11526,7 @@
|
|
|
11516
11526
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
11517
11527
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11518
11528
|
});
|
|
11519
|
-
setsectionproperties(_objectSpread$
|
|
11529
|
+
setsectionproperties(_objectSpread$2g({}, secpropobj));
|
|
11520
11530
|
}
|
|
11521
11531
|
}, [StatePagePropertiesContext]);
|
|
11522
11532
|
var loginstyles2 = {
|
|
@@ -11617,7 +11627,7 @@
|
|
|
11617
11627
|
className: "".concat(loginstyles2.form_control),
|
|
11618
11628
|
value: affsignuppayload.name,
|
|
11619
11629
|
onChange: function onChange(event) {
|
|
11620
|
-
setaffsignuppayload(_objectSpread$
|
|
11630
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11621
11631
|
name: event.target.value
|
|
11622
11632
|
}));
|
|
11623
11633
|
},
|
|
@@ -11633,7 +11643,7 @@
|
|
|
11633
11643
|
className: "".concat(loginstyles2.form_control),
|
|
11634
11644
|
value: affsignuppayload.email,
|
|
11635
11645
|
onChange: function onChange(event) {
|
|
11636
|
-
setaffsignuppayload(_objectSpread$
|
|
11646
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11637
11647
|
email: event.target.value
|
|
11638
11648
|
}));
|
|
11639
11649
|
},
|
|
@@ -11651,10 +11661,10 @@
|
|
|
11651
11661
|
autoFormat: true,
|
|
11652
11662
|
value: affsignuppayload.phonenumber,
|
|
11653
11663
|
onChange: function onChange(event, country) {
|
|
11654
|
-
var temp = _objectSpread$
|
|
11664
|
+
var temp = _objectSpread$2g({}, affsignuppayload);
|
|
11655
11665
|
temp.phonenumber = event;
|
|
11656
11666
|
temp.countrydialcode = country.dialCode;
|
|
11657
|
-
setaffsignuppayload(_objectSpread$
|
|
11667
|
+
setaffsignuppayload(_objectSpread$2g({}, temp));
|
|
11658
11668
|
// setaffsignuppayload({ ...affsignuppayload, phonenumber: event.target.value });
|
|
11659
11669
|
},
|
|
11660
11670
|
|
|
@@ -11670,7 +11680,7 @@
|
|
|
11670
11680
|
className: "".concat(loginstyles2.form_control),
|
|
11671
11681
|
value: affsignuppayload.ssn,
|
|
11672
11682
|
onChange: function onChange(event) {
|
|
11673
|
-
setaffsignuppayload(_objectSpread$
|
|
11683
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11674
11684
|
ssn: event.target.value
|
|
11675
11685
|
}));
|
|
11676
11686
|
},
|
|
@@ -11686,7 +11696,7 @@
|
|
|
11686
11696
|
className: "".concat(loginstyles2.form_control),
|
|
11687
11697
|
value: affsignuppayload.password,
|
|
11688
11698
|
onChange: function onChange(event) {
|
|
11689
|
-
setaffsignuppayload(_objectSpread$
|
|
11699
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11690
11700
|
password: event.target.value
|
|
11691
11701
|
}));
|
|
11692
11702
|
},
|
|
@@ -11702,7 +11712,7 @@
|
|
|
11702
11712
|
className: "".concat(loginstyles2.form_control),
|
|
11703
11713
|
value: affsignuppayload.confirmpassword,
|
|
11704
11714
|
onChange: function onChange(event) {
|
|
11705
|
-
setaffsignuppayload(_objectSpread$
|
|
11715
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11706
11716
|
confirmpassword: event.target.value
|
|
11707
11717
|
}));
|
|
11708
11718
|
},
|
|
@@ -11755,8 +11765,8 @@
|
|
|
11755
11765
|
}), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.signupbtn_contenten : sectionproperties.signupbtn_contentar)))))))));
|
|
11756
11766
|
};
|
|
11757
11767
|
|
|
11758
|
-
function ownKeys$
|
|
11759
|
-
function _objectSpread$
|
|
11768
|
+
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; }
|
|
11769
|
+
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__default["default"](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; }
|
|
11760
11770
|
var AccountInformation = function AccountInformation(props) {
|
|
11761
11771
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
11762
11772
|
var lang = props.actions.lang;
|
|
@@ -11783,7 +11793,7 @@
|
|
|
11783
11793
|
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) {
|
|
11784
11794
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11785
11795
|
});
|
|
11786
|
-
setsectionproperties(_objectSpread$
|
|
11796
|
+
setsectionproperties(_objectSpread$2f({}, secpropobj));
|
|
11787
11797
|
}, [props.actions.StatePagePropertiesContext]);
|
|
11788
11798
|
React.useEffect(function () {
|
|
11789
11799
|
var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
@@ -11945,8 +11955,8 @@
|
|
|
11945
11955
|
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"};
|
|
11946
11956
|
styleInject(css_248z$F);
|
|
11947
11957
|
|
|
11948
|
-
function ownKeys$
|
|
11949
|
-
function _objectSpread$
|
|
11958
|
+
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; }
|
|
11959
|
+
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__default["default"](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; }
|
|
11950
11960
|
var Policies = function Policies(props) {
|
|
11951
11961
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchInstitutePolici, _fetchInstitutePolici2, _fetchInstitutePolici3;
|
|
11952
11962
|
var _useState = React.useState(''),
|
|
@@ -11977,7 +11987,7 @@
|
|
|
11977
11987
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
11978
11988
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11979
11989
|
});
|
|
11980
|
-
setsectionproperties(_objectSpread$
|
|
11990
|
+
setsectionproperties(_objectSpread$2e({}, secpropobj));
|
|
11981
11991
|
}
|
|
11982
11992
|
}, [StatePagePropertiesContext]);
|
|
11983
11993
|
React.useEffect(function () {
|
|
@@ -11990,9 +12000,9 @@
|
|
|
11990
12000
|
}
|
|
11991
12001
|
}, []);
|
|
11992
12002
|
React.useEffect(function () {
|
|
11993
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
12003
|
+
var tempFetchQueriesEngineContext = _objectSpread$2e({}, FetchQueriesEngineContext);
|
|
11994
12004
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
11995
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
12005
|
+
setFetchQueriesEngineContext(_objectSpread$2e({}, tempFetchQueriesEngineContext));
|
|
11996
12006
|
}, []);
|
|
11997
12007
|
var _useState7 = React.useState([]),
|
|
11998
12008
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
@@ -12222,8 +12232,8 @@
|
|
|
12222
12232
|
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"};
|
|
12223
12233
|
styleInject(css_248z$E);
|
|
12224
12234
|
|
|
12225
|
-
function ownKeys$
|
|
12226
|
-
function _objectSpread$
|
|
12235
|
+
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; }
|
|
12236
|
+
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__default["default"](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; }
|
|
12227
12237
|
var CartSlider = function CartSlider(props) {
|
|
12228
12238
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12;
|
|
12229
12239
|
var lang = props.actions.lang;
|
|
@@ -12289,7 +12299,7 @@
|
|
|
12289
12299
|
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) {
|
|
12290
12300
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12291
12301
|
});
|
|
12292
|
-
setsectionproperties(_objectSpread$
|
|
12302
|
+
setsectionproperties(_objectSpread$2d({}, secpropobj));
|
|
12293
12303
|
}, [CurrentPageId]);
|
|
12294
12304
|
React.useEffect(function () {
|
|
12295
12305
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -12299,7 +12309,7 @@
|
|
|
12299
12309
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
12300
12310
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12301
12311
|
});
|
|
12302
|
-
setsectionproperties(_objectSpread$
|
|
12312
|
+
setsectionproperties(_objectSpread$2d({}, secpropobj));
|
|
12303
12313
|
}
|
|
12304
12314
|
}
|
|
12305
12315
|
}, [StatePagePropertiesContext]);
|
|
@@ -12866,8 +12876,8 @@
|
|
|
12866
12876
|
}, langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar))))))))));
|
|
12867
12877
|
};
|
|
12868
12878
|
|
|
12869
|
-
function ownKeys$
|
|
12870
|
-
function _objectSpread$
|
|
12879
|
+
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; }
|
|
12880
|
+
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__default["default"](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; }
|
|
12871
12881
|
var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
12872
12882
|
var _useState = React.useState(''),
|
|
12873
12883
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
@@ -12911,7 +12921,7 @@
|
|
|
12911
12921
|
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) {
|
|
12912
12922
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12913
12923
|
});
|
|
12914
|
-
setsectionproperties(_objectSpread$
|
|
12924
|
+
setsectionproperties(_objectSpread$2c({}, secpropobj));
|
|
12915
12925
|
}, [CurrentPageId]);
|
|
12916
12926
|
React.useEffect(function () {
|
|
12917
12927
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -12921,7 +12931,7 @@
|
|
|
12921
12931
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
12922
12932
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12923
12933
|
});
|
|
12924
|
-
setsectionproperties(_objectSpread$
|
|
12934
|
+
setsectionproperties(_objectSpread$2c({}, secpropobj));
|
|
12925
12935
|
}
|
|
12926
12936
|
}
|
|
12927
12937
|
}, [StatePagePropertiesContext]);
|
|
@@ -13149,8 +13159,8 @@
|
|
|
13149
13159
|
}, CategoriesDropdown()));
|
|
13150
13160
|
};
|
|
13151
13161
|
|
|
13152
|
-
function ownKeys$
|
|
13153
|
-
function _objectSpread$
|
|
13162
|
+
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; }
|
|
13163
|
+
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__default["default"](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; }
|
|
13154
13164
|
var OrderSuccess = function OrderSuccess(props) {
|
|
13155
13165
|
var _props$actions2;
|
|
13156
13166
|
props.actions.lang;
|
|
@@ -13200,7 +13210,7 @@
|
|
|
13200
13210
|
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) {
|
|
13201
13211
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13202
13212
|
});
|
|
13203
|
-
setsectionproperties(_objectSpread$
|
|
13213
|
+
setsectionproperties(_objectSpread$2b({}, secpropobj));
|
|
13204
13214
|
}, [props === null || props === void 0 || (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
13205
13215
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
13206
13216
|
var ordersuccessstyle = {
|
|
@@ -13297,12 +13307,12 @@
|
|
|
13297
13307
|
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"};
|
|
13298
13308
|
styleInject(css_248z$D);
|
|
13299
13309
|
|
|
13300
|
-
function ownKeys$
|
|
13301
|
-
function _objectSpread$
|
|
13310
|
+
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; }
|
|
13311
|
+
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__default["default"](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; }
|
|
13302
13312
|
var Select$1 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
13303
13313
|
return import('react-select');
|
|
13304
13314
|
});
|
|
13305
|
-
var Filter$
|
|
13315
|
+
var Filter$2 = function Filter(props) {
|
|
13306
13316
|
var _css;
|
|
13307
13317
|
var lang = props.actions.lang;
|
|
13308
13318
|
var langdetect = props.actions.langdetect;
|
|
@@ -13374,13 +13384,13 @@
|
|
|
13374
13384
|
payloadvalue: 'sortprice',
|
|
13375
13385
|
name: lang.price,
|
|
13376
13386
|
filterarray: [{
|
|
13377
|
-
name: lang.pricehightolow,
|
|
13378
|
-
value: 'hightolow',
|
|
13379
|
-
isfilterselected: false
|
|
13380
|
-
}, {
|
|
13381
13387
|
name: lang.pricelowtohigh,
|
|
13382
13388
|
value: 'lowtohigh',
|
|
13383
13389
|
isfilterselected: false
|
|
13390
|
+
}, {
|
|
13391
|
+
name: lang.pricehightolow,
|
|
13392
|
+
value: 'hightolow',
|
|
13393
|
+
isfilterselected: false
|
|
13384
13394
|
}]
|
|
13385
13395
|
}, {
|
|
13386
13396
|
payloadvalue: 'sortdates',
|
|
@@ -13438,11 +13448,11 @@
|
|
|
13438
13448
|
}
|
|
13439
13449
|
timeoutRef.current = setTimeout(function () {
|
|
13440
13450
|
if (raterangevalue.min != 0 || raterangevalue.max != 5) {
|
|
13441
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13451
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13442
13452
|
tempfetchproductsfilerobjcontext.minrate = raterangevalue.min;
|
|
13443
13453
|
tempfetchproductsfilerobjcontext.maxrate = raterangevalue.max;
|
|
13444
13454
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
13445
|
-
setProductFilterObjContext(_objectSpread$
|
|
13455
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13446
13456
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
13447
13457
|
}
|
|
13448
13458
|
}, 500);
|
|
@@ -13528,33 +13538,33 @@
|
|
|
13528
13538
|
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcategories, instcollections]);
|
|
13529
13539
|
React.useEffect(function () {
|
|
13530
13540
|
if (productfeatuesarr.length != 0) {
|
|
13531
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13541
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13532
13542
|
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
13533
|
-
setProductFilterObjContext(_objectSpread$
|
|
13543
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13534
13544
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13535
13545
|
}
|
|
13536
13546
|
}, [productfeatuesarr]);
|
|
13537
13547
|
React.useEffect(function () {
|
|
13538
13548
|
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
13539
13549
|
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
13540
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
13550
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
13541
13551
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
13542
13552
|
tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
|
|
13543
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
13553
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
13544
13554
|
}
|
|
13545
13555
|
}
|
|
13546
13556
|
}, [fetchTabexStatesQueryContext.isSuccess]);
|
|
13547
13557
|
var filterupdater = function filterupdater() {
|
|
13548
13558
|
setTimeout(function () {
|
|
13549
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
13559
|
+
var tempFetchQueriesEngineContext = _objectSpread$2a({}, FetchQueriesEngineContext);
|
|
13550
13560
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
13551
13561
|
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
13552
13562
|
}, 100);
|
|
13553
13563
|
if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
|
|
13554
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
13564
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
13555
13565
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
13556
13566
|
tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
|
|
13557
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
13567
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
13558
13568
|
}
|
|
13559
13569
|
if (instfilters.length != 0) {
|
|
13560
13570
|
var _ProductFilterObjCont3;
|
|
@@ -13616,7 +13626,7 @@
|
|
|
13616
13626
|
}
|
|
13617
13627
|
};
|
|
13618
13628
|
var setfilterfunc = function setfilterfunc(valueid, valueindex, mainparentindex, type) {
|
|
13619
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13629
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13620
13630
|
if (type == 'clearfilters') {
|
|
13621
13631
|
tempfetchproductsfilerobjcontext.FilterOptions = [];
|
|
13622
13632
|
} else {
|
|
@@ -13640,14 +13650,14 @@
|
|
|
13640
13650
|
tempfetchproductsfilerobjcontext.isfilter = 1;
|
|
13641
13651
|
}
|
|
13642
13652
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
13643
|
-
setProductFilterObjContext(_objectSpread$
|
|
13653
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13644
13654
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13645
13655
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
13646
13656
|
};
|
|
13647
13657
|
|
|
13648
13658
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
13649
13659
|
var _tempfetchproductsfil2;
|
|
13650
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13660
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13651
13661
|
var CollectionExists = false;
|
|
13652
13662
|
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil2 = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil2 === void 0 || _tempfetchproductsfil2.forEach(function (filteritem, filterindex) {
|
|
13653
13663
|
if (filteritem == collectionid) {
|
|
@@ -13669,7 +13679,7 @@
|
|
|
13669
13679
|
}
|
|
13670
13680
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
13671
13681
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
13672
|
-
setProductFilterObjContext(_objectSpread$
|
|
13682
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13673
13683
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13674
13684
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
13675
13685
|
};
|
|
@@ -14261,14 +14271,14 @@
|
|
|
14261
14271
|
return option.id == ProductFilterObjContext.countryid;
|
|
14262
14272
|
}),
|
|
14263
14273
|
onChange: function onChange(option) {
|
|
14264
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
14274
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
14265
14275
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
14266
14276
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
14267
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
14268
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14277
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
14278
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14269
14279
|
tempfetchproductsfilerobjcontext.countryid = option.id;
|
|
14270
14280
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14271
|
-
setProductFilterObjContext(_objectSpread$
|
|
14281
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14272
14282
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14273
14283
|
},
|
|
14274
14284
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14305,14 +14315,14 @@
|
|
|
14305
14315
|
return option.id == ProductFilterObjContext.stateid;
|
|
14306
14316
|
}),
|
|
14307
14317
|
onChange: function onChange(option) {
|
|
14308
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
14318
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
14309
14319
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
14310
14320
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
14311
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
14312
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14321
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
14322
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14313
14323
|
tempfetchproductsfilerobjcontext.stateid = option.id;
|
|
14314
14324
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14315
|
-
setProductFilterObjContext(_objectSpread$
|
|
14325
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14316
14326
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14317
14327
|
},
|
|
14318
14328
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14349,10 +14359,10 @@
|
|
|
14349
14359
|
return option.id == ProductFilterObjContext.cityid;
|
|
14350
14360
|
}),
|
|
14351
14361
|
onChange: function onChange(option) {
|
|
14352
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14362
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14353
14363
|
tempfetchproductsfilerobjcontext.cityid = option.id;
|
|
14354
14364
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14355
|
-
setProductFilterObjContext(_objectSpread$
|
|
14365
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14356
14366
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14357
14367
|
},
|
|
14358
14368
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14456,14 +14466,14 @@
|
|
|
14456
14466
|
color: ischecked ? sectionproperties.activecat_color : ''
|
|
14457
14467
|
},
|
|
14458
14468
|
onClick: function onClick() {
|
|
14459
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14469
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14460
14470
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14461
14471
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14462
14472
|
} else {
|
|
14463
14473
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14464
14474
|
}
|
|
14465
14475
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14466
|
-
setProductFilterObjContext(_objectSpread$
|
|
14476
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14467
14477
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14468
14478
|
setsortbycontext(valueitem.name);
|
|
14469
14479
|
}
|
|
@@ -14472,16 +14482,12 @@
|
|
|
14472
14482
|
}))))), sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection == 'Horizontal' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14473
14483
|
"class": "row m-0 w-100"
|
|
14474
14484
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14475
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start mb-3"
|
|
14476
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14477
|
-
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
|
|
14478
|
-
}, langdetect == 'en' ? sectionproperties.filtercollectiontitle_en : sectionproperties.filtercollectiontitle_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14479
14485
|
"class": "col-lg-12 p-0 mb-4"
|
|
14480
14486
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
14481
14487
|
transitionBehavior: 'auto',
|
|
14482
14488
|
wrapperClassName: '',
|
|
14483
14489
|
itemClassName: 'filtercard',
|
|
14484
|
-
scrollContainerClassName: '
|
|
14490
|
+
scrollContainerClassName: 'filterscrollmenuclasssubscrollbar'
|
|
14485
14491
|
}, collectionstobevisible.map(function (item, index) {
|
|
14486
14492
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14487
14493
|
className: filter_cssstyles.timeline_text + ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100 cursor-pointer ',
|
|
@@ -14513,7 +14519,23 @@
|
|
|
14513
14519
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14514
14520
|
"class": ' m-0 p-0 '
|
|
14515
14521
|
}, langdetect == 'en' ? item.title_en : item.title_ar)));
|
|
14516
|
-
})))
|
|
14522
|
+
}))), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14523
|
+
"class": "col-lg-12 text-start px-4 mb-5",
|
|
14524
|
+
style: {
|
|
14525
|
+
fontSize: 15,
|
|
14526
|
+
color: '#62554a'
|
|
14527
|
+
}
|
|
14528
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14529
|
+
"class": "cursor-pointer",
|
|
14530
|
+
onClick: function onClick() {
|
|
14531
|
+
routingcountext('home', false, '');
|
|
14532
|
+
}
|
|
14533
|
+
}, 'Home', " /", ' '), ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14534
|
+
style: {
|
|
14535
|
+
textTransform: 'capitalize'
|
|
14536
|
+
},
|
|
14537
|
+
"class": "mx-2"
|
|
14538
|
+
}, props.show_product_group_titles()['title_en']))), sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14517
14539
|
className: "".concat(filterstyles.filterslider_container) + ' pb-md-5 ',
|
|
14518
14540
|
id: "filterslider",
|
|
14519
14541
|
style: {
|
|
@@ -14615,14 +14637,14 @@
|
|
|
14615
14637
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14616
14638
|
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 ',
|
|
14617
14639
|
onClick: function onClick() {
|
|
14618
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14640
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14619
14641
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14620
14642
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14621
14643
|
} else {
|
|
14622
14644
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14623
14645
|
}
|
|
14624
14646
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14625
|
-
setProductFilterObjContext(_objectSpread$
|
|
14647
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14626
14648
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14627
14649
|
}
|
|
14628
14650
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -14657,7 +14679,7 @@
|
|
|
14657
14679
|
minValue: 0,
|
|
14658
14680
|
value: raterangevalue,
|
|
14659
14681
|
onChange: function onChange(value) {
|
|
14660
|
-
setraterangevalue(_objectSpread$
|
|
14682
|
+
setraterangevalue(_objectSpread$2a({}, value));
|
|
14661
14683
|
}
|
|
14662
14684
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14663
14685
|
className: "col-lg-9 col-md-9 col-sm-9 d-flex align-items-center d-md-none"
|
|
@@ -14800,13 +14822,13 @@
|
|
|
14800
14822
|
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 ',
|
|
14801
14823
|
onClick: function onClick() {
|
|
14802
14824
|
// setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
14803
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14825
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14804
14826
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14805
14827
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14806
14828
|
} else {
|
|
14807
14829
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14808
14830
|
}
|
|
14809
|
-
setProductFilterObjContext(_objectSpread$
|
|
14831
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14810
14832
|
}
|
|
14811
14833
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14812
14834
|
className: " ".concat(ischecked ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
|
|
@@ -14838,8 +14860,566 @@
|
|
|
14838
14860
|
}, DynamicFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters())))))));
|
|
14839
14861
|
};
|
|
14840
14862
|
|
|
14841
|
-
function ownKeys$
|
|
14842
|
-
function _objectSpread$
|
|
14863
|
+
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; }
|
|
14864
|
+
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__default["default"](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; }
|
|
14865
|
+
var Filter$1 = function Filter(props) {
|
|
14866
|
+
var _css;
|
|
14867
|
+
var lang = props.actions.lang;
|
|
14868
|
+
var langdetect = props.actions.langdetect;
|
|
14869
|
+
props.actions.productfiltercontext;
|
|
14870
|
+
props.actions.setproductfiltercontext;
|
|
14871
|
+
var ProductFilterObjContext = props.actions.ProductFilterObjContext;
|
|
14872
|
+
var setProductFilterObjContext = props.actions.setProductFilterObjContext;
|
|
14873
|
+
props.actions.authdetailsContext;
|
|
14874
|
+
var fetchproductoptionsQueryContext = props.actions.fetchproductoptionsQueryContext;
|
|
14875
|
+
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
14876
|
+
var routingcountext = props.actions.routingcountext;
|
|
14877
|
+
var fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
14878
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
14879
|
+
props.actions.ikimagecredcontext;
|
|
14880
|
+
var _useState = React.useState({
|
|
14881
|
+
min: 0,
|
|
14882
|
+
max: 10000
|
|
14883
|
+
}),
|
|
14884
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
14885
|
+
_useState2[0];
|
|
14886
|
+
_useState2[1];
|
|
14887
|
+
var _useState3 = React.useState([]),
|
|
14888
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
14889
|
+
productfeatuesarr = _useState4[0];
|
|
14890
|
+
_useState4[1];
|
|
14891
|
+
props.actions.fetchTabexCountriesQueryContext;
|
|
14892
|
+
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
14893
|
+
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
14894
|
+
props.actions.fetchTabexCitiesQueryContext;
|
|
14895
|
+
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
14896
|
+
var FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
|
|
14897
|
+
var setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
|
|
14898
|
+
props.actions.fetchProductFeaturesQueryContext;
|
|
14899
|
+
var _useState5 = React.useState(''),
|
|
14900
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
14901
|
+
sectionproperties = _useState6[0],
|
|
14902
|
+
setsectionproperties = _useState6[1];
|
|
14903
|
+
// const [instfilters, setinstfilters] = useState([...authdetailsContext.instinfo.instfilters]);
|
|
14904
|
+
var _useState7 = React.useState([]),
|
|
14905
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
14906
|
+
instfilters = _useState8[0],
|
|
14907
|
+
setinstfilters = _useState8[1];
|
|
14908
|
+
var _useState9 = React.useState([]),
|
|
14909
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2);
|
|
14910
|
+
_useState10[0];
|
|
14911
|
+
var setcollectionstobevisible = _useState10[1];
|
|
14912
|
+
var _useState11 = React.useState([]),
|
|
14913
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
14914
|
+
instcollections = _useState12[0],
|
|
14915
|
+
setinstcollections = _useState12[1];
|
|
14916
|
+
var _useState13 = React.useState([]),
|
|
14917
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
14918
|
+
instcategories = _useState14[0],
|
|
14919
|
+
setinstcategories = _useState14[1];
|
|
14920
|
+
// const [sortby, setSortby] = useState('Sort by');
|
|
14921
|
+
var _useState15 = React.useState({
|
|
14922
|
+
min: 0,
|
|
14923
|
+
max: 5
|
|
14924
|
+
}),
|
|
14925
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
14926
|
+
raterangevalue = _useState16[0];
|
|
14927
|
+
_useState16[1];
|
|
14928
|
+
var timeoutRef = React__default["default"].useRef(null);
|
|
14929
|
+
var _useState17 = React.useState(''),
|
|
14930
|
+
_useState18 = _slicedToArray__default["default"](_useState17, 2);
|
|
14931
|
+
_useState18[0];
|
|
14932
|
+
_useState18[1];
|
|
14933
|
+
var _useState19 = React.useState([{
|
|
14934
|
+
payloadvalue: 'sortprice',
|
|
14935
|
+
name: lang.price,
|
|
14936
|
+
filterarray: [{
|
|
14937
|
+
name: lang.pricehightolow,
|
|
14938
|
+
value: 'hightolow',
|
|
14939
|
+
isfilterselected: false
|
|
14940
|
+
}, {
|
|
14941
|
+
name: lang.pricelowtohigh,
|
|
14942
|
+
value: 'lowtohigh',
|
|
14943
|
+
isfilterselected: false
|
|
14944
|
+
}]
|
|
14945
|
+
}, {
|
|
14946
|
+
payloadvalue: 'sortdates',
|
|
14947
|
+
name: lang.dates,
|
|
14948
|
+
filterarray: [{
|
|
14949
|
+
name: lang.recent,
|
|
14950
|
+
value: 'recent',
|
|
14951
|
+
isfilterselected: false
|
|
14952
|
+
}, {
|
|
14953
|
+
name: lang.oldest,
|
|
14954
|
+
value: 'old',
|
|
14955
|
+
isfilterselected: false
|
|
14956
|
+
}]
|
|
14957
|
+
}]),
|
|
14958
|
+
_useState20 = _slicedToArray__default["default"](_useState19, 2);
|
|
14959
|
+
_useState20[0];
|
|
14960
|
+
_useState20[1];
|
|
14961
|
+
React.useEffect(function () {
|
|
14962
|
+
filterupdater();
|
|
14963
|
+
}, []);
|
|
14964
|
+
React.useEffect(function () {
|
|
14965
|
+
if (fetchproductoptionsQueryContext.isSuccess) {
|
|
14966
|
+
var _fetchproductoptionsQ;
|
|
14967
|
+
setinstfilters(_toConsumableArray__default["default"](fetchproductoptionsQueryContext === null || fetchproductoptionsQueryContext === void 0 || (_fetchproductoptionsQ = fetchproductoptionsQueryContext.data) === null || _fetchproductoptionsQ === void 0 || (_fetchproductoptionsQ = _fetchproductoptionsQ.data) === null || _fetchproductoptionsQ === void 0 ? void 0 : _fetchproductoptionsQ.productoptions));
|
|
14968
|
+
}
|
|
14969
|
+
}, [fetchproductoptionsQueryContext.isSuccess]);
|
|
14970
|
+
React.useEffect(function () {
|
|
14971
|
+
if (fetchCategoriesQueryContext.isSuccess) {
|
|
14972
|
+
var _fetchCategoriesQuery;
|
|
14973
|
+
setinstcategories(_toConsumableArray__default["default"](fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : _fetchCategoriesQuery.categories));
|
|
14974
|
+
}
|
|
14975
|
+
}, [fetchCategoriesQueryContext.isSuccess]);
|
|
14976
|
+
React.useEffect(function () {
|
|
14977
|
+
if (fetchcollectionsQueryContext.isSuccess) {
|
|
14978
|
+
var _fetchcollectionsQuer;
|
|
14979
|
+
setinstcollections(_toConsumableArray__default["default"](fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer === void 0 || (_fetchcollectionsQuer = _fetchcollectionsQuer.data) === null || _fetchcollectionsQuer === void 0 ? void 0 : _fetchcollectionsQuer.collections));
|
|
14980
|
+
}
|
|
14981
|
+
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
14982
|
+
// useEffect(() => {
|
|
14983
|
+
// // setinstfilters([...authdetailsContext.instinfo.instfilters]);
|
|
14984
|
+
// // setinstcollections([...authdetailsContext.instinfo.instcollections]);
|
|
14985
|
+
// // setinstcategories([...authdetailsContext?.instinfo?.instcategories]);
|
|
14986
|
+
// }, [authdetailsContext]);
|
|
14987
|
+
React.useEffect(function () {
|
|
14988
|
+
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
14989
|
+
setsectionproperties(props.sectionpropertiesprops);
|
|
14990
|
+
}
|
|
14991
|
+
}, [props.sectionpropertiesprops]);
|
|
14992
|
+
React.useEffect(function () {
|
|
14993
|
+
filterupdater();
|
|
14994
|
+
}, [ProductFilterObjContext]);
|
|
14995
|
+
React__default["default"].useEffect(function () {
|
|
14996
|
+
if (timeoutRef.current !== null) {
|
|
14997
|
+
clearTimeout(timeoutRef.current);
|
|
14998
|
+
}
|
|
14999
|
+
timeoutRef.current = setTimeout(function () {
|
|
15000
|
+
if (raterangevalue.min != 0 || raterangevalue.max != 5) {
|
|
15001
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15002
|
+
tempfetchproductsfilerobjcontext.minrate = raterangevalue.min;
|
|
15003
|
+
tempfetchproductsfilerobjcontext.maxrate = raterangevalue.max;
|
|
15004
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
15005
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15006
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15007
|
+
}
|
|
15008
|
+
}, 500);
|
|
15009
|
+
}, [raterangevalue]);
|
|
15010
|
+
React.useEffect(function () {
|
|
15011
|
+
if (fetchCategoriesQueryContext.isSuccess && fetchcollectionsQueryContext.isSuccess) {
|
|
15012
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.filterretreivetype) == 'Depend on chosen parent group') {
|
|
15013
|
+
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)) {
|
|
15014
|
+
var _parentidsfound;
|
|
15015
|
+
var collectiontobevisible = [];
|
|
15016
|
+
var parentidsfound = [];
|
|
15017
|
+
if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
|
|
15018
|
+
parentidsfound = ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections;
|
|
15019
|
+
} else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
|
|
15020
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15021
|
+
var _ProductFilterObjCont;
|
|
15022
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont = ProductFilterObjContext.collections) === null || _ProductFilterObjCont === void 0 || _ProductFilterObjCont.forEach(function (colitem2, colindex2) {
|
|
15023
|
+
if (catitem.categoryid == colitem2) {
|
|
15024
|
+
var _catitem$parentcollet;
|
|
15025
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet = catitem.parentcolletions) === null || _catitem$parentcollet === void 0 || _catitem$parentcollet.forEach(function (parentcolitem, parentcolindex) {
|
|
15026
|
+
parentidsfound.push(parentcolitem.parentcollectionid);
|
|
15027
|
+
});
|
|
15028
|
+
}
|
|
15029
|
+
});
|
|
15030
|
+
});
|
|
15031
|
+
} else {
|
|
15032
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15033
|
+
var _catitem$parentcollet2;
|
|
15034
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet2 = catitem.parentcolletions) === null || _catitem$parentcollet2 === void 0 || _catitem$parentcollet2.forEach(function (parentcolitem, parentcolindex) {
|
|
15035
|
+
var _parentcolitem$collec;
|
|
15036
|
+
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec = parentcolitem.collections) === null || _parentcolitem$collec === void 0 || _parentcolitem$collec.forEach(function (colitem, colindex) {
|
|
15037
|
+
var _ProductFilterObjCont2;
|
|
15038
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont2 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont2 === void 0 || _ProductFilterObjCont2.forEach(function (colitem2, colindex2) {
|
|
15039
|
+
if (colitem.collectionid == colitem2) {
|
|
15040
|
+
parentidsfound.push(parentcolitem.parentcollectionid);
|
|
15041
|
+
}
|
|
15042
|
+
});
|
|
15043
|
+
});
|
|
15044
|
+
});
|
|
15045
|
+
});
|
|
15046
|
+
}
|
|
15047
|
+
parentidsfound = parentidsfound.filter(function (val, id, array) {
|
|
15048
|
+
return array.indexOf(val) == id;
|
|
15049
|
+
});
|
|
15050
|
+
if (((_parentidsfound = parentidsfound) === null || _parentidsfound === void 0 ? void 0 : _parentidsfound.length) != 0) {
|
|
15051
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15052
|
+
var _catitem$parentcollet3;
|
|
15053
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet3 = catitem.parentcolletions) === null || _catitem$parentcollet3 === void 0 || _catitem$parentcollet3.forEach(function (parentcolitem, parentcolindex) {
|
|
15054
|
+
var _parentidsfound2;
|
|
15055
|
+
(_parentidsfound2 = parentidsfound) === null || _parentidsfound2 === void 0 || _parentidsfound2.forEach(function (parentidfounditem, parentidfoundindex) {
|
|
15056
|
+
if (parentidfounditem == (parentcolitem === null || parentcolitem === void 0 ? void 0 : parentcolitem.parentcollectionid)) {
|
|
15057
|
+
var _parentcolitem$collec2;
|
|
15058
|
+
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec2 = parentcolitem.collections) === null || _parentcolitem$collec2 === void 0 || _parentcolitem$collec2.forEach(function (colitem, colindex) {
|
|
15059
|
+
var iscolexists = false;
|
|
15060
|
+
collectiontobevisible === null || collectiontobevisible === void 0 || collectiontobevisible.forEach(function (colitemex, colindexex) {
|
|
15061
|
+
if (colitemex.collectionid == colitem.collectionid) {
|
|
15062
|
+
iscolexists = true;
|
|
15063
|
+
}
|
|
15064
|
+
});
|
|
15065
|
+
if (iscolexists == false) {
|
|
15066
|
+
collectiontobevisible.push(colitem);
|
|
15067
|
+
}
|
|
15068
|
+
});
|
|
15069
|
+
}
|
|
15070
|
+
});
|
|
15071
|
+
});
|
|
15072
|
+
});
|
|
15073
|
+
if ((collectiontobevisible === null || collectiontobevisible === void 0 ? void 0 : collectiontobevisible.length) != 0) {
|
|
15074
|
+
setcollectionstobevisible(collectiontobevisible);
|
|
15075
|
+
} else {
|
|
15076
|
+
setcollectionstobevisible(instcollections);
|
|
15077
|
+
}
|
|
15078
|
+
} else {
|
|
15079
|
+
setcollectionstobevisible(instcollections);
|
|
15080
|
+
}
|
|
15081
|
+
} else {
|
|
15082
|
+
setcollectionstobevisible(instcollections);
|
|
15083
|
+
}
|
|
15084
|
+
} else {
|
|
15085
|
+
setcollectionstobevisible(instcollections);
|
|
15086
|
+
}
|
|
15087
|
+
}
|
|
15088
|
+
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcategories, instcollections]);
|
|
15089
|
+
React.useEffect(function () {
|
|
15090
|
+
if (productfeatuesarr.length != 0) {
|
|
15091
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15092
|
+
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
15093
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15094
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15095
|
+
}
|
|
15096
|
+
}, [productfeatuesarr]);
|
|
15097
|
+
React.useEffect(function () {
|
|
15098
|
+
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
15099
|
+
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
15100
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
15101
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
15102
|
+
tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
|
|
15103
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
15104
|
+
}
|
|
15105
|
+
}
|
|
15106
|
+
}, [fetchTabexStatesQueryContext.isSuccess]);
|
|
15107
|
+
var filterupdater = function filterupdater() {
|
|
15108
|
+
setTimeout(function () {
|
|
15109
|
+
var tempFetchQueriesEngineContext = _objectSpread$29({}, FetchQueriesEngineContext);
|
|
15110
|
+
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
15111
|
+
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
15112
|
+
}, 100);
|
|
15113
|
+
if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
|
|
15114
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
15115
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
15116
|
+
tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
|
|
15117
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
15118
|
+
}
|
|
15119
|
+
if (instfilters.length != 0) {
|
|
15120
|
+
var _ProductFilterObjCont3;
|
|
15121
|
+
var tempinstfilters = _toConsumableArray__default["default"](instfilters);
|
|
15122
|
+
tempinstfilters === null || tempinstfilters === void 0 || tempinstfilters.forEach(function (instfilteritem, instfilterindex) {
|
|
15123
|
+
instfilteritem.productvaluesfilter.forEach(function (valefilteritem, valefilteritemindex) {
|
|
15124
|
+
valefilteritem.isfilterselected = false;
|
|
15125
|
+
});
|
|
15126
|
+
});
|
|
15127
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont3 = ProductFilterObjContext.FilterOptions) === null || _ProductFilterObjCont3 === void 0 || _ProductFilterObjCont3.forEach(function (filteritem, filterindex) {
|
|
15128
|
+
tempinstfilters === null || tempinstfilters === void 0 || tempinstfilters.forEach(function (instfilteritem, instfilterindex) {
|
|
15129
|
+
var _instfilteritem$produ;
|
|
15130
|
+
instfilteritem === null || instfilteritem === void 0 || (_instfilteritem$produ = instfilteritem.productvaluesfilter) === null || _instfilteritem$produ === void 0 || _instfilteritem$produ.forEach(function (valefilteritem, valefilteritemindex) {
|
|
15131
|
+
if (filteritem.valueid == valefilteritem.valueid) {
|
|
15132
|
+
valefilteritem.isfilterselected = true;
|
|
15133
|
+
}
|
|
15134
|
+
});
|
|
15135
|
+
});
|
|
15136
|
+
});
|
|
15137
|
+
setinstfilters(_toConsumableArray__default["default"](tempinstfilters));
|
|
15138
|
+
}
|
|
15139
|
+
if (instcategories.length != 0) {
|
|
15140
|
+
var _ProductFilterObjCont4;
|
|
15141
|
+
var tempInstcategories = _toConsumableArray__default["default"](instcategories);
|
|
15142
|
+
tempInstcategories.forEach(function (catitem, catindex) {
|
|
15143
|
+
catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
15144
|
+
parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
15145
|
+
colitem.isfilterselected = false;
|
|
15146
|
+
});
|
|
15147
|
+
});
|
|
15148
|
+
});
|
|
15149
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont4 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont4 === void 0 || _ProductFilterObjCont4.forEach(function (filteritem, filterindex) {
|
|
15150
|
+
tempInstcategories.forEach(function (catitem, catindex) {
|
|
15151
|
+
catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
15152
|
+
parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
15153
|
+
if (colitem.collectionid == filteritem) {
|
|
15154
|
+
colitem.isfilterselected = true;
|
|
15155
|
+
}
|
|
15156
|
+
});
|
|
15157
|
+
});
|
|
15158
|
+
});
|
|
15159
|
+
});
|
|
15160
|
+
setinstcategories(_toConsumableArray__default["default"](tempInstcategories));
|
|
15161
|
+
}
|
|
15162
|
+
if (instcollections.length != 0) {
|
|
15163
|
+
var _ProductFilterObjCont5;
|
|
15164
|
+
var tempInstcollections = _toConsumableArray__default["default"](instcollections);
|
|
15165
|
+
tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
|
|
15166
|
+
instfilteritem.isfilterselected = false;
|
|
15167
|
+
});
|
|
15168
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont5 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont5 === void 0 || _ProductFilterObjCont5.forEach(function (filteritem, filterindex) {
|
|
15169
|
+
tempInstcollections === null || tempInstcollections === void 0 || tempInstcollections.forEach(function (instfilteritem, instfilterindex) {
|
|
15170
|
+
if (instfilteritem.collectionid == filteritem) {
|
|
15171
|
+
instfilteritem.isfilterselected = true;
|
|
15172
|
+
}
|
|
15173
|
+
});
|
|
15174
|
+
});
|
|
15175
|
+
setinstcollections(_toConsumableArray__default["default"](tempInstcollections));
|
|
15176
|
+
}
|
|
15177
|
+
};
|
|
15178
|
+
var setfilterfunc = function setfilterfunc(valueid, valueindex, mainparentindex, type) {
|
|
15179
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15180
|
+
if (type == 'clearfilters') {
|
|
15181
|
+
tempfetchproductsfilerobjcontext.FilterOptions = [];
|
|
15182
|
+
} else {
|
|
15183
|
+
var _tempfetchproductsfil;
|
|
15184
|
+
var FilterExists = false;
|
|
15185
|
+
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.FilterOptions) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
|
|
15186
|
+
if (filteritem.valueid == valueid) {
|
|
15187
|
+
FilterExists = true;
|
|
15188
|
+
tempfetchproductsfilerobjcontext.FilterOptions.splice(filterindex, 1);
|
|
15189
|
+
}
|
|
15190
|
+
});
|
|
15191
|
+
if (!FilterExists) {
|
|
15192
|
+
tempfetchproductsfilerobjcontext.FilterOptions.push({
|
|
15193
|
+
valueid: valueid
|
|
15194
|
+
});
|
|
15195
|
+
}
|
|
15196
|
+
}
|
|
15197
|
+
if (tempfetchproductsfilerobjcontext.FilterOptions.length == 0) {
|
|
15198
|
+
tempfetchproductsfilerobjcontext.isfilter = 0;
|
|
15199
|
+
} else {
|
|
15200
|
+
tempfetchproductsfilerobjcontext.isfilter = 1;
|
|
15201
|
+
}
|
|
15202
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
15203
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15204
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15205
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15206
|
+
};
|
|
15207
|
+
var InstFilters = function InstFilters() {
|
|
15208
|
+
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
15209
|
+
allowMultipleExpanded: true,
|
|
15210
|
+
allowZeroExpanded: true
|
|
15211
|
+
}, instfilters.map(function (item, index) {
|
|
15212
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
15213
|
+
uuid: index
|
|
15214
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15215
|
+
className: filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '
|
|
15216
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15217
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
15218
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15219
|
+
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 ' : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
|
|
15220
|
+
}, langdetect == 'en' ? item.optionname : item.optionname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15221
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
15222
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
15223
|
+
if (state.expanded == true) {
|
|
15224
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15225
|
+
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
15226
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
|
|
15227
|
+
} else {
|
|
15228
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15229
|
+
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
15230
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
|
|
15231
|
+
}
|
|
15232
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
15233
|
+
className: "p-0"
|
|
15234
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15235
|
+
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
|
|
15236
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15237
|
+
className: 'col-lg-12'
|
|
15238
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15239
|
+
className: langdetect == 'en' ? "".concat(filterstyles.timeline) + ' p-sm-0 ' : "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 '
|
|
15240
|
+
}, item.productvaluesfilter.map(function (valueitem, valueindex) {
|
|
15241
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15242
|
+
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 ',
|
|
15243
|
+
onClick: function onClick() {
|
|
15244
|
+
setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
15245
|
+
}
|
|
15246
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15247
|
+
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 '
|
|
15248
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15249
|
+
className: "h-100 d-flex align-items-center"
|
|
15250
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15251
|
+
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
15252
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15253
|
+
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
15254
|
+
style: {
|
|
15255
|
+
color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
|
|
15256
|
+
}
|
|
15257
|
+
}, langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar)));
|
|
15258
|
+
})))))), /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
15259
|
+
className: "mt-3 mb-3"
|
|
15260
|
+
}));
|
|
15261
|
+
}));
|
|
15262
|
+
};
|
|
15263
|
+
var filter_cssstyles = {
|
|
15264
|
+
form_control: glamor.css((_css = {
|
|
15265
|
+
position: 'relative',
|
|
15266
|
+
display: 'flex',
|
|
15267
|
+
alignItems: 'center'
|
|
15268
|
+
}, _defineProperty__default["default"](_css, "display", 'block'), _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "padding", '0 30px'), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, "fontWeight", 500), _defineProperty__default["default"](_css, "border", '1px solid #ccc'), _defineProperty__default["default"](_css, "borderRadius", '5px'), _defineProperty__default["default"](_css, "height", '40px'), _defineProperty__default["default"](_css, "background", 'transparent'), _defineProperty__default["default"](_css, "color", '#000'), _defineProperty__default["default"](_css, "fontSize", '14px'), _defineProperty__default["default"](_css, ':focus', {
|
|
15269
|
+
// borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
15270
|
+
borderColor: '#eac435',
|
|
15271
|
+
boxShadow: 'none'
|
|
15272
|
+
}), _css)),
|
|
15273
|
+
collapsetitle: glamor.css({
|
|
15274
|
+
fontSize: sectionproperties.filtertitle_fontsize + 'px',
|
|
15275
|
+
fontWeight: sectionproperties.filtertitle_fontweight,
|
|
15276
|
+
textTransform: sectionproperties.filtertitle_texttransform,
|
|
15277
|
+
color: sectionproperties.filtertitle_color,
|
|
15278
|
+
':hover': {
|
|
15279
|
+
color: sectionproperties.filtertitle_coloronhover
|
|
15280
|
+
}
|
|
15281
|
+
}),
|
|
15282
|
+
titlecontainer: glamor.css({
|
|
15283
|
+
color: sectionproperties.filtertitle_color,
|
|
15284
|
+
':hover .collapsetitle': {
|
|
15285
|
+
color: sectionproperties.filtertitle_coloronhover
|
|
15286
|
+
}
|
|
15287
|
+
}),
|
|
15288
|
+
timeline_text: glamor.css({
|
|
15289
|
+
fontSize: sectionproperties.timeline_text_fontsize + 'px',
|
|
15290
|
+
fontWeight: sectionproperties.timeline_text_fontweight,
|
|
15291
|
+
textTransform: sectionproperties.timeline_text_texttransform,
|
|
15292
|
+
color: sectionproperties.timeline_text_color,
|
|
15293
|
+
transition: '.3s',
|
|
15294
|
+
':hover': {
|
|
15295
|
+
color: sectionproperties.timeline_text_coloronhover
|
|
15296
|
+
}
|
|
15297
|
+
}),
|
|
15298
|
+
btnstyles: glamor.css({
|
|
15299
|
+
color: sectionproperties.generalbtn_textColor,
|
|
15300
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
15301
|
+
textTransform: sectionproperties.generalbtn_texttransform,
|
|
15302
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
15303
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
15304
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
15305
|
+
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
15306
|
+
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
15307
|
+
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
15308
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
15309
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
15310
|
+
transition: '.3s',
|
|
15311
|
+
':hover': {
|
|
15312
|
+
background: sectionproperties.generalbtn_bgColoronhover,
|
|
15313
|
+
color: sectionproperties.generalbtn_textColoronhover
|
|
15314
|
+
}
|
|
15315
|
+
}),
|
|
15316
|
+
close_menu_icon_cont: glamor.css({
|
|
15317
|
+
background: sectionproperties.closeSliderBgColor,
|
|
15318
|
+
width: sectionproperties.closeSliderWidth + 'px',
|
|
15319
|
+
height: sectionproperties.closeSliderHeight + 'px',
|
|
15320
|
+
borderRadius: sectionproperties.closeSlider_borderBottomLeftRadius + 'px',
|
|
15321
|
+
':hover': {
|
|
15322
|
+
background: sectionproperties.closeSliderBgColorHover
|
|
15323
|
+
}
|
|
15324
|
+
}),
|
|
15325
|
+
horizontalfilter_card: glamor.css({
|
|
15326
|
+
marginBottom: sectionproperties.horizontalfilter_mb + 'px',
|
|
15327
|
+
marginTop: sectionproperties.horizontalfilter_mt + 'px',
|
|
15328
|
+
background: sectionproperties.horizontalfilter_cardbg,
|
|
15329
|
+
border: sectionproperties.horizontalfilter_cardborderwidth + 'px solid ' + sectionproperties.horizontalfilter_cardbordercolor,
|
|
15330
|
+
boxShadow: sectionproperties.horizontalfilter_cardboxShadow == 'Show' ? sectionproperties.horizontalfilter_cardboxShadowcolor : 'horizontalfilter_cardboxShadow'
|
|
15331
|
+
}),
|
|
15332
|
+
btn_item: glamor.css({
|
|
15333
|
+
width: '20px',
|
|
15334
|
+
height: '20px',
|
|
15335
|
+
background: sectionproperties.filteritembtn_bgcolor,
|
|
15336
|
+
':hover': {
|
|
15337
|
+
background: sectionproperties.filteritembtn_bghover
|
|
15338
|
+
}
|
|
15339
|
+
}),
|
|
15340
|
+
btn_item_active: glamor.css({
|
|
15341
|
+
background: sectionproperties.btn_item_activebgcolor
|
|
15342
|
+
}),
|
|
15343
|
+
timelineinnercont_active: glamor.css({
|
|
15344
|
+
fontWeight: sectionproperties.activecat_fontweight,
|
|
15345
|
+
color: sectionproperties.activecat_color
|
|
15346
|
+
}),
|
|
15347
|
+
categoryName: glamor.css({
|
|
15348
|
+
color: sectionproperties.filtertitle_color,
|
|
15349
|
+
fontWeight: sectionproperties.filterCatFontWeight,
|
|
15350
|
+
fontSize: sectionproperties.filterCatFontSize + 'px'
|
|
15351
|
+
}),
|
|
15352
|
+
pCollectionName: glamor.css({
|
|
15353
|
+
color: sectionproperties.filtertitle_color,
|
|
15354
|
+
fontWeight: sectionproperties.filterPCollFontWeight,
|
|
15355
|
+
fontSize: sectionproperties.filterPCollFontSize + 'px'
|
|
15356
|
+
}),
|
|
15357
|
+
explorebtn: glamor.css({
|
|
15358
|
+
fontSize: sectionproperties.explorebtnfontsize + 'px',
|
|
15359
|
+
fontWeight: 600,
|
|
15360
|
+
color: sectionproperties.explorebtncolor,
|
|
15361
|
+
transition: '.3s',
|
|
15362
|
+
':hover': {
|
|
15363
|
+
color: sectionproperties.explorebtncoloronhover
|
|
15364
|
+
}
|
|
15365
|
+
}),
|
|
15366
|
+
showallbtn: glamor.css({
|
|
15367
|
+
color: sectionproperties.showallcolor,
|
|
15368
|
+
':hover': {
|
|
15369
|
+
transition: '.3s',
|
|
15370
|
+
cursor: 'pointer',
|
|
15371
|
+
color: sectionproperties.showallcolorhover
|
|
15372
|
+
}
|
|
15373
|
+
}),
|
|
15374
|
+
sectiontitle: glamor.css({
|
|
15375
|
+
position: 'relative',
|
|
15376
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
15377
|
+
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
15378
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
15379
|
+
'@media (max-width: 800px)': {
|
|
15380
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
15381
|
+
}
|
|
15382
|
+
})
|
|
15383
|
+
};
|
|
15384
|
+
var filterrouting = function filterrouting(tempfetchproductsfilerobjcontext) {
|
|
15385
|
+
var path = window.location.pathname.split('/');
|
|
15386
|
+
var currentpagepath = path[1];
|
|
15387
|
+
var pagenamepathinstaticpagelinkcont = '';
|
|
15388
|
+
for (var key in StaticPagesLinksContext) {
|
|
15389
|
+
if (StaticPagesLinksContext[key] == currentpagepath) {
|
|
15390
|
+
pagenamepathinstaticpagelinkcont = key;
|
|
15391
|
+
}
|
|
15392
|
+
}
|
|
15393
|
+
if (pagenamepathinstaticpagelinkcont != undefined && pagenamepathinstaticpagelinkcont != '') {
|
|
15394
|
+
routingcountext(StaticPagesLinksContext[pagenamepathinstaticpagelinkcont], true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15395
|
+
}
|
|
15396
|
+
};
|
|
15397
|
+
var _useState21 = React.useState(false),
|
|
15398
|
+
_useState22 = _slicedToArray__default["default"](_useState21, 2);
|
|
15399
|
+
_useState22[0];
|
|
15400
|
+
_useState22[1];
|
|
15401
|
+
// const queryParameters = new URLSearchParams(window.location.search);
|
|
15402
|
+
// useEffect(() => {
|
|
15403
|
+
// // setsortbycontext('Sort By');
|
|
15404
|
+
// if (queryParameters.get('sortprice') == undefined) {
|
|
15405
|
+
// setsortbycontext('Sort By');
|
|
15406
|
+
// } else {
|
|
15407
|
+
// var temp = { ...sortbycontext };
|
|
15408
|
+
// temp = queryParameters.get('sortprice');
|
|
15409
|
+
// alert(temp);
|
|
15410
|
+
// }
|
|
15411
|
+
// }, []);
|
|
15412
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15413
|
+
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 p-0 w-100 filter mt-md-0 ' : 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none',
|
|
15414
|
+
style: {
|
|
15415
|
+
marginTop: sectionproperties.filtersection_mt + 'px',
|
|
15416
|
+
minHeight: sectionproperties.filterminheight == 0 ? 'auto' : sectionproperties.filterminheight + 'vh'
|
|
15417
|
+
}
|
|
15418
|
+
}, InstFilters());
|
|
15419
|
+
};
|
|
15420
|
+
|
|
15421
|
+
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; }
|
|
15422
|
+
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__default["default"](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; }
|
|
14843
15423
|
var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
14844
15424
|
var _authdetailsContext$i;
|
|
14845
15425
|
props.actions.lang;
|
|
@@ -14969,7 +15549,7 @@
|
|
|
14969
15549
|
}, [ProductFilterObjContext]);
|
|
14970
15550
|
var filterupdater = function filterupdater() {
|
|
14971
15551
|
setTimeout(function () {
|
|
14972
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
15552
|
+
var tempFetchQueriesEngineContext = _objectSpread$28({}, FetchQueriesEngineContext);
|
|
14973
15553
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
14974
15554
|
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
14975
15555
|
}, 100);
|
|
@@ -15014,7 +15594,7 @@
|
|
|
15014
15594
|
};
|
|
15015
15595
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
15016
15596
|
var _tempfetchproductsfil;
|
|
15017
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
15597
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$28({}, ProductFilterObjContext);
|
|
15018
15598
|
var CollectionExists = false;
|
|
15019
15599
|
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
|
|
15020
15600
|
if (filteritem == collectionid) {
|
|
@@ -15031,7 +15611,7 @@
|
|
|
15031
15611
|
}
|
|
15032
15612
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
15033
15613
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
15034
|
-
setProductFilterObjContext(_objectSpread$
|
|
15614
|
+
setProductFilterObjContext(_objectSpread$28({}, tempfetchproductsfilerobjcontext));
|
|
15035
15615
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15036
15616
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15037
15617
|
};
|
|
@@ -15088,9 +15668,14 @@
|
|
|
15088
15668
|
var serverbaselink$1 = 'https://tabex-co.com';
|
|
15089
15669
|
var image_serverbaselink = 'https://tabexseriesmedia.s3.eu-north-1.amazonaws.com';
|
|
15090
15670
|
|
|
15091
|
-
function ownKeys$
|
|
15092
|
-
function _objectSpread$
|
|
15671
|
+
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; }
|
|
15672
|
+
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__default["default"](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; }
|
|
15093
15673
|
var CardsSection = function CardsSection(props) {
|
|
15674
|
+
var plainString = function plainString(html) {
|
|
15675
|
+
var divContainer = document.createElement('div');
|
|
15676
|
+
divContainer.innerHTML = html;
|
|
15677
|
+
return divContainer.textContent || divContainer.innerText || '';
|
|
15678
|
+
};
|
|
15094
15679
|
var refscr = /*#__PURE__*/React.createRef();
|
|
15095
15680
|
var _useInView = reactIntersectionObserver.useInView();
|
|
15096
15681
|
_useInView.ref;
|
|
@@ -15149,11 +15734,6 @@
|
|
|
15149
15734
|
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
15150
15735
|
maincontainerarrayofobjs = _useState12[0],
|
|
15151
15736
|
setmaincontainerarrayofobjs = _useState12[1];
|
|
15152
|
-
// React.useEffect(() => {
|
|
15153
|
-
// if (inView) {
|
|
15154
|
-
// fetchProductsQuery.fetchNextPage();
|
|
15155
|
-
// }
|
|
15156
|
-
// }, [inView]);
|
|
15157
15737
|
var _useState13 = React.useState(12),
|
|
15158
15738
|
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
15159
15739
|
perpageItems = _useState14[0],
|
|
@@ -15176,7 +15756,7 @@
|
|
|
15176
15756
|
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
15177
15757
|
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
15178
15758
|
});
|
|
15179
|
-
setsectionproperties(_objectSpread$
|
|
15759
|
+
setsectionproperties(_objectSpread$27({}, secpropobj));
|
|
15180
15760
|
if (props.srcfromprops == 'GeneralProductsComponent') {
|
|
15181
15761
|
setfetchingtype('products');
|
|
15182
15762
|
var lcproductfetchingtype = 'Random';
|
|
@@ -15250,9 +15830,9 @@
|
|
|
15250
15830
|
}
|
|
15251
15831
|
tempfetchproductsfilerobjcontext.grouptype = ProductsFetchingTypeSectionObj.grouptype;
|
|
15252
15832
|
tempfetchproductsfilerobjcontext.grouptyperefid = ProductsFetchingTypeSectionObj.grouptyperefid;
|
|
15253
|
-
setProductFilterObjContext(_objectSpread$
|
|
15833
|
+
setProductFilterObjContext(_objectSpread$27({}, tempfetchproductsfilerobjcontext));
|
|
15254
15834
|
}
|
|
15255
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
15835
|
+
setFetchQueriesEngineContext(_objectSpread$27({}, tempFetchQueriesEngineContext));
|
|
15256
15836
|
}
|
|
15257
15837
|
}, [fetchingtype, ProductsFetchingTypeSectionObj]);
|
|
15258
15838
|
React.useEffect(function () {
|
|
@@ -15535,9 +16115,9 @@
|
|
|
15535
16115
|
// Example items, to simulate fetching from another resources.
|
|
15536
16116
|
var handlePageClick = function handlePageClick(event) {
|
|
15537
16117
|
props.scrolltotop();
|
|
15538
|
-
var tempProductFilterObjContext = _objectSpread$
|
|
16118
|
+
var tempProductFilterObjContext = _objectSpread$27({}, ProductFilterObjContext);
|
|
15539
16119
|
tempProductFilterObjContext.page = event === null || event === void 0 ? void 0 : event.selected;
|
|
15540
|
-
setProductFilterObjContext(_objectSpread$
|
|
16120
|
+
setProductFilterObjContext(_objectSpread$27({}, tempProductFilterObjContext));
|
|
15541
16121
|
var pasturl = '';
|
|
15542
16122
|
if (props.grouptypeprops != undefined) {
|
|
15543
16123
|
if (props.collectionidprops != undefined) {
|
|
@@ -15807,9 +16387,69 @@
|
|
|
15807
16387
|
}
|
|
15808
16388
|
return isloading;
|
|
15809
16389
|
};
|
|
16390
|
+
var show_product_group_titles = function show_product_group_titles() {
|
|
16391
|
+
var title_en = '';
|
|
16392
|
+
var title_ar = '';
|
|
16393
|
+
var description_en = '';
|
|
16394
|
+
var description_ar = '';
|
|
16395
|
+
var logo = '';
|
|
16396
|
+
var type = '';
|
|
16397
|
+
var id = '';
|
|
16398
|
+
if (ProductFilterObjContext['collections'] != undefined && Array.isArray(ProductFilterObjContext['collections']) && ProductFilterObjContext['collections'][0] != undefined) {
|
|
16399
|
+
id = ProductFilterObjContext['collections'][0];
|
|
16400
|
+
}
|
|
16401
|
+
if (id != null && id != '' && id != 'all') {
|
|
16402
|
+
var _fetchCategoriesQuery4;
|
|
16403
|
+
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) {
|
|
16404
|
+
if (catitem.categoryid == id) {
|
|
16405
|
+
title_en = catitem.title_en;
|
|
16406
|
+
title_ar = catitem.title_ar;
|
|
16407
|
+
description_en = catitem.description_en;
|
|
16408
|
+
description_ar = catitem.description_ar;
|
|
16409
|
+
logo = catitem.categorylogo;
|
|
16410
|
+
type = 'category';
|
|
16411
|
+
}
|
|
16412
|
+
if (title_en == '') {
|
|
16413
|
+
var _catitem$parentcollet;
|
|
16414
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet = catitem.parentcolletions) === null || _catitem$parentcollet === void 0 || _catitem$parentcollet.map(function (parentitem) {
|
|
16415
|
+
if (parentitem.parentcollectionid == id) {
|
|
16416
|
+
title_en = parentitem.title_en;
|
|
16417
|
+
title_ar = parentitem.title_ar;
|
|
16418
|
+
description_en = parentitem.description_en;
|
|
16419
|
+
description_ar = parentitem.description_ar;
|
|
16420
|
+
logo = parentitem.parentcollectionlogo;
|
|
16421
|
+
type = 'parentcollection';
|
|
16422
|
+
}
|
|
16423
|
+
if (title_en == '') {
|
|
16424
|
+
var _parentitem$collectio;
|
|
16425
|
+
parentitem === null || parentitem === void 0 || (_parentitem$collectio = parentitem.collections) === null || _parentitem$collectio === void 0 || _parentitem$collectio.map(function (colitem) {
|
|
16426
|
+
if (colitem.collectionid == id) {
|
|
16427
|
+
title_en = colitem.title_en;
|
|
16428
|
+
title_ar = colitem.title_ar;
|
|
16429
|
+
description_en = colitem.description_en;
|
|
16430
|
+
description_ar = colitem.description_ar;
|
|
16431
|
+
logo = colitem.collectionlogo;
|
|
16432
|
+
type = 'collection';
|
|
16433
|
+
}
|
|
16434
|
+
});
|
|
16435
|
+
}
|
|
16436
|
+
});
|
|
16437
|
+
}
|
|
16438
|
+
});
|
|
16439
|
+
}
|
|
16440
|
+
return {
|
|
16441
|
+
title_en: title_en,
|
|
16442
|
+
title_ar: title_ar,
|
|
16443
|
+
description_en: description_en,
|
|
16444
|
+
description_ar: description_ar,
|
|
16445
|
+
type: type,
|
|
16446
|
+
id: id,
|
|
16447
|
+
logo: logo
|
|
16448
|
+
};
|
|
16449
|
+
};
|
|
15810
16450
|
var cardsrender = function cardsrender() {
|
|
15811
16451
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15812
|
-
"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'
|
|
16452
|
+
"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'
|
|
15813
16453
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15814
16454
|
className: "row m-0 w-100 d-flex align-items-center p-sm-0"
|
|
15815
16455
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -16056,7 +16696,10 @@
|
|
|
16056
16696
|
// ? 'scrollmenuclassnameitemModernProductCard'
|
|
16057
16697
|
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
16058
16698
|
// ? 'scrollmenuclassnameitemSimplecategorycardwithtextbelow'
|
|
16059
|
-
item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' :
|
|
16699
|
+
item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' :
|
|
16700
|
+
// : item.tabexsectioninfo.sectioncompname == 'Card23'
|
|
16701
|
+
// ? 'scrollmenuclassnameitemCard23'
|
|
16702
|
+
item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'ModernCardWithQuantityButton' ? 'scrollmenuclassnameitemModernCardWithQuantityButton' : item.tabexsectioninfo.sectioncompname == 'CategoryCardwithhoveraction' ? 'scrollmenuclassnameitemCategoryCardwithhoveraction' : item.tabexsectioninfo.sectioncompname == 'CircleCardWithVariants' ? 'scrollmenuclassnameitemCircleCardWithVariants' :
|
|
16060
16703
|
// : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard'
|
|
16061
16704
|
// ? 'scrollmenuclassnameitemUpSlideEffectCard'
|
|
16062
16705
|
item.tabexsectioninfo.sectioncompname == 'CategoryCardTextOnImage' ? 'scrollmenuclassnameitemCategoryCardTextOnImage' : '',
|
|
@@ -16327,8 +16970,33 @@
|
|
|
16327
16970
|
}
|
|
16328
16971
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16329
16972
|
"class": section_cssstyles.innercardssection + ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 '
|
|
16330
|
-
}, sectionproperties.
|
|
16973
|
+
}, sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16974
|
+
"class": "col-lg-12 mb-3 mt-5"
|
|
16975
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16976
|
+
"class": "m-0",
|
|
16977
|
+
style: {
|
|
16978
|
+
fontWeight: 700,
|
|
16979
|
+
fontSize: 27,
|
|
16980
|
+
color: '#62554a'
|
|
16981
|
+
}
|
|
16982
|
+
}, show_product_group_titles()['title_en'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16983
|
+
"class": "col-lg-12 mb-3"
|
|
16984
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16985
|
+
"class": "m-0",
|
|
16986
|
+
style: {
|
|
16987
|
+
fontSize: 18,
|
|
16988
|
+
color: '#62554a'
|
|
16989
|
+
}
|
|
16990
|
+
}, plainString(show_product_group_titles()['description_en']))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16331
16991
|
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex p-0' : sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'
|
|
16992
|
+
}, /*#__PURE__*/React__default["default"].createElement(Filter$2, {
|
|
16993
|
+
sectionpropertiesprops: sectionproperties,
|
|
16994
|
+
actions: actions,
|
|
16995
|
+
openFilterSlider: openFilterSlider,
|
|
16996
|
+
setopenFilterSlider: setopenFilterSlider,
|
|
16997
|
+
show_product_group_titles: show_product_group_titles
|
|
16998
|
+
})), sectionproperties.showvariantfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16999
|
+
className: 'col-lg-3 d-flex'
|
|
16332
17000
|
}, /*#__PURE__*/React__default["default"].createElement(Filter$1, {
|
|
16333
17001
|
sectionpropertiesprops: sectionproperties,
|
|
16334
17002
|
actions: actions,
|
|
@@ -16337,8 +17005,8 @@
|
|
|
16337
17005
|
})), fetchingtype == 'custom' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, cardsrender()), fetchingtype != 'custom' && cardsrender()));
|
|
16338
17006
|
};
|
|
16339
17007
|
|
|
16340
|
-
function ownKeys$
|
|
16341
|
-
function _objectSpread$
|
|
17008
|
+
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; }
|
|
17009
|
+
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__default["default"](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; }
|
|
16342
17010
|
var InnerGroups = function InnerGroups(props) {
|
|
16343
17011
|
var _useState = React.useState(''),
|
|
16344
17012
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -16379,7 +17047,7 @@
|
|
|
16379
17047
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16380
17048
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16381
17049
|
});
|
|
16382
|
-
setsectionproperties(_objectSpread$
|
|
17050
|
+
setsectionproperties(_objectSpread$26({}, secpropobj));
|
|
16383
17051
|
}
|
|
16384
17052
|
}, [StatePagePropertiesContext]);
|
|
16385
17053
|
// useEffect(() => {
|
|
@@ -16395,14 +17063,14 @@
|
|
|
16395
17063
|
backgroundColor: sectionproperties.backgroundColor
|
|
16396
17064
|
}
|
|
16397
17065
|
}, /*#__PURE__*/React__default["default"].createElement(CardsSection, {
|
|
16398
|
-
actions: _objectSpread$
|
|
17066
|
+
actions: _objectSpread$26(_objectSpread$26({}, actions), {}, {
|
|
16399
17067
|
fetchingtype: grouptypeparams
|
|
16400
17068
|
})
|
|
16401
17069
|
}));
|
|
16402
17070
|
};
|
|
16403
17071
|
|
|
16404
|
-
function ownKeys$
|
|
16405
|
-
function _objectSpread$
|
|
17072
|
+
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; }
|
|
17073
|
+
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__default["default"](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; }
|
|
16406
17074
|
var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
16407
17075
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16408
17076
|
var _useState = React.useState(''),
|
|
@@ -16433,7 +17101,7 @@
|
|
|
16433
17101
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16434
17102
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16435
17103
|
});
|
|
16436
|
-
setsectionproperties(_objectSpread$
|
|
17104
|
+
setsectionproperties(_objectSpread$25({}, secpropobj));
|
|
16437
17105
|
}
|
|
16438
17106
|
}, [StatePagePropertiesContext]);
|
|
16439
17107
|
React.useEffect(function () {
|
|
@@ -16446,9 +17114,9 @@
|
|
|
16446
17114
|
}
|
|
16447
17115
|
}, []);
|
|
16448
17116
|
React.useEffect(function () {
|
|
16449
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17117
|
+
var tempFetchQueriesEngineContext = _objectSpread$25({}, FetchQueriesEngineContext);
|
|
16450
17118
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16451
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17119
|
+
setFetchQueriesEngineContext(_objectSpread$25({}, tempFetchQueriesEngineContext));
|
|
16452
17120
|
}, []);
|
|
16453
17121
|
var _useState7 = React.useState([]),
|
|
16454
17122
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
@@ -16524,8 +17192,8 @@
|
|
|
16524
17192
|
})))));
|
|
16525
17193
|
};
|
|
16526
17194
|
|
|
16527
|
-
function ownKeys$
|
|
16528
|
-
function _objectSpread$
|
|
17195
|
+
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; }
|
|
17196
|
+
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__default["default"](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; }
|
|
16529
17197
|
var RefundPolicy = function RefundPolicy(props) {
|
|
16530
17198
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16531
17199
|
var _useState = React.useState(''),
|
|
@@ -16556,7 +17224,7 @@
|
|
|
16556
17224
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16557
17225
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16558
17226
|
});
|
|
16559
|
-
setsectionproperties(_objectSpread$
|
|
17227
|
+
setsectionproperties(_objectSpread$24({}, secpropobj));
|
|
16560
17228
|
}
|
|
16561
17229
|
}, [StatePagePropertiesContext]);
|
|
16562
17230
|
React.useEffect(function () {
|
|
@@ -16569,9 +17237,9 @@
|
|
|
16569
17237
|
}
|
|
16570
17238
|
}, []);
|
|
16571
17239
|
React.useEffect(function () {
|
|
16572
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17240
|
+
var tempFetchQueriesEngineContext = _objectSpread$24({}, FetchQueriesEngineContext);
|
|
16573
17241
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16574
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17242
|
+
setFetchQueriesEngineContext(_objectSpread$24({}, tempFetchQueriesEngineContext));
|
|
16575
17243
|
}, []);
|
|
16576
17244
|
var _useState7 = React.useState([]),
|
|
16577
17245
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
@@ -16647,8 +17315,8 @@
|
|
|
16647
17315
|
})))));
|
|
16648
17316
|
};
|
|
16649
17317
|
|
|
16650
|
-
function ownKeys$
|
|
16651
|
-
function _objectSpread$
|
|
17318
|
+
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; }
|
|
17319
|
+
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__default["default"](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; }
|
|
16652
17320
|
var ShippingPolicy = function ShippingPolicy(props) {
|
|
16653
17321
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16654
17322
|
var _useState = React.useState(''),
|
|
@@ -16679,7 +17347,7 @@
|
|
|
16679
17347
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16680
17348
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16681
17349
|
});
|
|
16682
|
-
setsectionproperties(_objectSpread$
|
|
17350
|
+
setsectionproperties(_objectSpread$23({}, secpropobj));
|
|
16683
17351
|
}
|
|
16684
17352
|
}, [StatePagePropertiesContext]);
|
|
16685
17353
|
React.useEffect(function () {
|
|
@@ -16692,9 +17360,9 @@
|
|
|
16692
17360
|
}
|
|
16693
17361
|
}, []);
|
|
16694
17362
|
React.useEffect(function () {
|
|
16695
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17363
|
+
var tempFetchQueriesEngineContext = _objectSpread$23({}, FetchQueriesEngineContext);
|
|
16696
17364
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16697
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17365
|
+
setFetchQueriesEngineContext(_objectSpread$23({}, tempFetchQueriesEngineContext));
|
|
16698
17366
|
}, []);
|
|
16699
17367
|
var _useState7 = React.useState([]),
|
|
16700
17368
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
@@ -16770,8 +17438,8 @@
|
|
|
16770
17438
|
})))));
|
|
16771
17439
|
};
|
|
16772
17440
|
|
|
16773
|
-
function ownKeys$
|
|
16774
|
-
function _objectSpread$
|
|
17441
|
+
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; }
|
|
17442
|
+
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__default["default"](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; }
|
|
16775
17443
|
var TermsConditions = function TermsConditions(props) {
|
|
16776
17444
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16777
17445
|
var _useState = React.useState(''),
|
|
@@ -16802,7 +17470,7 @@
|
|
|
16802
17470
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16803
17471
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16804
17472
|
});
|
|
16805
|
-
setsectionproperties(_objectSpread$
|
|
17473
|
+
setsectionproperties(_objectSpread$22({}, secpropobj));
|
|
16806
17474
|
}
|
|
16807
17475
|
}, [StatePagePropertiesContext]);
|
|
16808
17476
|
React.useEffect(function () {
|
|
@@ -16815,9 +17483,9 @@
|
|
|
16815
17483
|
}
|
|
16816
17484
|
}, []);
|
|
16817
17485
|
React.useEffect(function () {
|
|
16818
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17486
|
+
var tempFetchQueriesEngineContext = _objectSpread$22({}, FetchQueriesEngineContext);
|
|
16819
17487
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16820
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17488
|
+
setFetchQueriesEngineContext(_objectSpread$22({}, tempFetchQueriesEngineContext));
|
|
16821
17489
|
}, []);
|
|
16822
17490
|
var _useState7 = React.useState([]),
|
|
16823
17491
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
@@ -16893,8 +17561,8 @@
|
|
|
16893
17561
|
})))));
|
|
16894
17562
|
};
|
|
16895
17563
|
|
|
16896
|
-
function ownKeys$
|
|
16897
|
-
function _objectSpread$
|
|
17564
|
+
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; }
|
|
17565
|
+
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__default["default"](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; }
|
|
16898
17566
|
var Resetpassword = function Resetpassword(props) {
|
|
16899
17567
|
var _css, _css2;
|
|
16900
17568
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -16945,7 +17613,7 @@
|
|
|
16945
17613
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16946
17614
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16947
17615
|
});
|
|
16948
|
-
setsectionproperties(_objectSpread$
|
|
17616
|
+
setsectionproperties(_objectSpread$21({}, secpropobj));
|
|
16949
17617
|
}
|
|
16950
17618
|
}, [StatePagePropertiesContext]);
|
|
16951
17619
|
React.useEffect(function () {
|
|
@@ -17072,9 +17740,9 @@
|
|
|
17072
17740
|
className: "".concat(loginstyles2.form_control),
|
|
17073
17741
|
value: forgotpasswordpayload.email,
|
|
17074
17742
|
onChange: function onChange(event) {
|
|
17075
|
-
var temppayloadobj = _objectSpread$
|
|
17743
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17076
17744
|
temppayloadobj.email = event.target.value;
|
|
17077
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17745
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17078
17746
|
},
|
|
17079
17747
|
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
17080
17748
|
style: {
|
|
@@ -17089,9 +17757,9 @@
|
|
|
17089
17757
|
className: "".concat(loginstyles2.form_control),
|
|
17090
17758
|
value: forgotpasswordpayload.code,
|
|
17091
17759
|
onChange: function onChange(event) {
|
|
17092
|
-
var temppayloadobj = _objectSpread$
|
|
17760
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17093
17761
|
temppayloadobj.code = event.target.value;
|
|
17094
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17762
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17095
17763
|
},
|
|
17096
17764
|
style: {
|
|
17097
17765
|
background: sectionproperties.input_bgcolor
|
|
@@ -17105,9 +17773,9 @@
|
|
|
17105
17773
|
className: "".concat(loginstyles2.form_control),
|
|
17106
17774
|
value: forgotpasswordpayload.newpassword,
|
|
17107
17775
|
onChange: function onChange(event) {
|
|
17108
|
-
var temppayloadobj = _objectSpread$
|
|
17776
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17109
17777
|
temppayloadobj.newpassword = event.target.value;
|
|
17110
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17778
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17111
17779
|
},
|
|
17112
17780
|
style: {
|
|
17113
17781
|
background: sectionproperties.input_bgcolor
|
|
@@ -17121,9 +17789,9 @@
|
|
|
17121
17789
|
className: "".concat(loginstyles2.form_control),
|
|
17122
17790
|
value: forgotpasswordpayload.confirmnewpassword,
|
|
17123
17791
|
onChange: function onChange(event) {
|
|
17124
|
-
var temppayloadobj = _objectSpread$
|
|
17792
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17125
17793
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
17126
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17794
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17127
17795
|
},
|
|
17128
17796
|
style: {
|
|
17129
17797
|
background: sectionproperties.input_bgcolor
|
|
@@ -17135,7 +17803,7 @@
|
|
|
17135
17803
|
onClick: function onClick() {
|
|
17136
17804
|
if (forgotpasswordpayload.email.length != 0) {
|
|
17137
17805
|
var runfunc = false;
|
|
17138
|
-
var tempforgotpasswordpayload = _objectSpread$
|
|
17806
|
+
var tempforgotpasswordpayload = _objectSpread$21({}, forgotpasswordpayload);
|
|
17139
17807
|
tempforgotpasswordpayload.functype = forgetpasswordstage;
|
|
17140
17808
|
if (forgetpasswordstage == 'verify') {
|
|
17141
17809
|
if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
|
|
@@ -17421,8 +18089,8 @@
|
|
|
17421
18089
|
}, lang.nosearchresults)))))));
|
|
17422
18090
|
};
|
|
17423
18091
|
|
|
17424
|
-
function ownKeys$
|
|
17425
|
-
function _objectSpread$
|
|
18092
|
+
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; }
|
|
18093
|
+
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__default["default"](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; }
|
|
17426
18094
|
var MarqueeHeader = function MarqueeHeader(props) {
|
|
17427
18095
|
var _textarray$, _textarray$2;
|
|
17428
18096
|
props.actions;
|
|
@@ -17443,12 +18111,12 @@
|
|
|
17443
18111
|
settextarray = _useState6[1];
|
|
17444
18112
|
React.useEffect(function () {
|
|
17445
18113
|
if (props.sectionpropertiesprops != undefined) {
|
|
17446
|
-
setsectionproperties(_objectSpread$
|
|
18114
|
+
setsectionproperties(_objectSpread$20({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
17447
18115
|
}
|
|
17448
18116
|
}, [props.sectionpropertiesprops]);
|
|
17449
18117
|
React.useEffect(function () {
|
|
17450
18118
|
if (props.templateproperties_contextprops != undefined) {
|
|
17451
|
-
settemplateproperties_context(_objectSpread$
|
|
18119
|
+
settemplateproperties_context(_objectSpread$20({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
17452
18120
|
}
|
|
17453
18121
|
}, [props.templateproperties_contextprops]);
|
|
17454
18122
|
React.useEffect(function () {
|
|
@@ -17490,8 +18158,8 @@
|
|
|
17490
18158
|
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"};
|
|
17491
18159
|
styleInject(css_248z$B);
|
|
17492
18160
|
|
|
17493
|
-
function ownKeys$
|
|
17494
|
-
function _objectSpread$
|
|
18161
|
+
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; }
|
|
18162
|
+
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__default["default"](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; }
|
|
17495
18163
|
var Subheader = function Subheader(props) {
|
|
17496
18164
|
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;
|
|
17497
18165
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
@@ -17509,31 +18177,35 @@
|
|
|
17509
18177
|
setshowdownheadermenu = _useState2[1];
|
|
17510
18178
|
var _useState3 = React.useState(''),
|
|
17511
18179
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
17512
|
-
|
|
17513
|
-
|
|
17514
|
-
var _useState5 = React.useState(
|
|
18180
|
+
currentimagecollection = _useState4[0],
|
|
18181
|
+
setcurrentimagecollection = _useState4[1];
|
|
18182
|
+
var _useState5 = React.useState(''),
|
|
17515
18183
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
17516
|
-
|
|
17517
|
-
|
|
17518
|
-
var _useState7 = React.useState(
|
|
18184
|
+
Choosenindex = _useState6[0],
|
|
18185
|
+
setChoosenindex = _useState6[1];
|
|
18186
|
+
var _useState7 = React.useState({}),
|
|
17519
18187
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
17520
|
-
|
|
17521
|
-
|
|
18188
|
+
sectionproperties = _useState8[0],
|
|
18189
|
+
setsectionproperties = _useState8[1];
|
|
17522
18190
|
var _useState9 = React.useState([]),
|
|
17523
|
-
_useState10 = _slicedToArray__default["default"](_useState9, 2)
|
|
17524
|
-
_useState10[0]
|
|
17525
|
-
_useState10[1];
|
|
18191
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
18192
|
+
pcollarray = _useState10[0],
|
|
18193
|
+
setpcollarray = _useState10[1];
|
|
18194
|
+
var _useState11 = React.useState([]),
|
|
18195
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2);
|
|
18196
|
+
_useState12[0];
|
|
18197
|
+
_useState12[1];
|
|
17526
18198
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
17527
18199
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
17528
18200
|
React.useEffect(function () {
|
|
17529
18201
|
var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
|
|
17530
18202
|
tempFetchQueriesEngineContext.categories = true;
|
|
17531
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
18203
|
+
setFetchQueriesEngineContext(_objectSpread$1$({}, tempFetchQueriesEngineContext));
|
|
17532
18204
|
// alert(JSON.stringify(authdetailsContext));
|
|
17533
18205
|
}, []);
|
|
17534
18206
|
React.useEffect(function () {
|
|
17535
18207
|
if (props.sectionpropertiesprops != undefined) {
|
|
17536
|
-
setsectionproperties(_objectSpread$
|
|
18208
|
+
setsectionproperties(_objectSpread$1$({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
17537
18209
|
}
|
|
17538
18210
|
}, [props.sectionpropertiesprops]);
|
|
17539
18211
|
// useEffect(() => {
|
|
@@ -17785,6 +18457,7 @@
|
|
|
17785
18457
|
onMouseEnter: function onMouseEnter() {
|
|
17786
18458
|
setshowdownheadermenu(true);
|
|
17787
18459
|
setChoosenindex(index);
|
|
18460
|
+
setcurrentimagecollection(item.parentcollectionlogo);
|
|
17788
18461
|
},
|
|
17789
18462
|
style: {
|
|
17790
18463
|
marginLeft: props === null || props === void 0 || (_props$subheaderprope22 = props.subheaderpropertiesprops) === null || _props$subheaderprope22 === void 0 ? void 0 : _props$subheaderprope22.paddingLeftprops,
|
|
@@ -17918,7 +18591,7 @@
|
|
|
17918
18591
|
paddingRight: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingRight + 'px' : sectionproperties.subheader_dropdown_paddingLeft + 'px'
|
|
17919
18592
|
}
|
|
17920
18593
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17921
|
-
"class":
|
|
18594
|
+
"class": sectionproperties.subheaderdropdownstyle2 == 'Style 2' ? 'row m-0 w-100 d-flex px-5 py-5 d-flex align-items-center' : 'row m-0 w-100 d-flex pt-3 pb-3'
|
|
17922
18595
|
}, (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery6 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery6 === void 0 || (_fetchCategoriesQuery6 = _fetchCategoriesQuery6.data) === null || _fetchCategoriesQuery6 === void 0 || (_fetchCategoriesQuery6 = _fetchCategoriesQuery6.categories[Choosenindex]) === null || _fetchCategoriesQuery6 === void 0 || (_fetchCategoriesQuery6 = _fetchCategoriesQuery6.parentcolletions) === null || _fetchCategoriesQuery6 === void 0 ? void 0 : _fetchCategoriesQuery6.length) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17923
18596
|
"class": "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5"
|
|
17924
18597
|
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
@@ -17965,7 +18638,7 @@
|
|
|
17965
18638
|
"class": "mt-3 mb-0"
|
|
17966
18639
|
}))));
|
|
17967
18640
|
}
|
|
17968
|
-
})), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray[Choosenindex].collections.map(function (item, index) {
|
|
18641
|
+
})), sectionproperties.subheaderParentType == 'Parent Collections' && sectionproperties.subheaderdropdownstyle2 != 'Style 2' && pcollarray[Choosenindex].collections.map(function (item, index) {
|
|
17969
18642
|
if (item.isshowntocustomers == 1) {
|
|
17970
18643
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17971
18644
|
"class": "col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4",
|
|
@@ -18010,7 +18683,53 @@
|
|
|
18010
18683
|
"class": "mt-3 mb-0"
|
|
18011
18684
|
}))));
|
|
18012
18685
|
}
|
|
18013
|
-
})
|
|
18686
|
+
}), sectionproperties.subheaderdropdownstyle2 == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18687
|
+
"class": "col-lg-12 p-0"
|
|
18688
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18689
|
+
"class": "row m-0 w-100"
|
|
18690
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18691
|
+
"class": "col-6 p-0"
|
|
18692
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18693
|
+
"class": "row m-0 w-100 d-flex align-items-center"
|
|
18694
|
+
}, sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray[Choosenindex].collections.map(function (item, index) {
|
|
18695
|
+
if (item.isshowntocustomers == 1) {
|
|
18696
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18697
|
+
"class": "col-12 mb-2 mt-2",
|
|
18698
|
+
style: {
|
|
18699
|
+
cursor: 'pointer'
|
|
18700
|
+
},
|
|
18701
|
+
onClick: function onClick() {
|
|
18702
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
18703
|
+
},
|
|
18704
|
+
onMouseEnter: function onMouseEnter() {
|
|
18705
|
+
setcurrentimagecollection(item.collectionlogo);
|
|
18706
|
+
}
|
|
18707
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18708
|
+
"class": "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 ',
|
|
18709
|
+
style: {
|
|
18710
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
18711
|
+
}
|
|
18712
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar));
|
|
18713
|
+
}
|
|
18714
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18715
|
+
"class": "col-6 p-0"
|
|
18716
|
+
}, sectionproperties.showsubheadercollimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18717
|
+
"class": "col-lg-12 allcentered p-0"
|
|
18718
|
+
}, currentimagecollection != '' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18719
|
+
style: {
|
|
18720
|
+
width: '60%',
|
|
18721
|
+
height: '60%'
|
|
18722
|
+
}
|
|
18723
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
18724
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
18725
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
18726
|
+
path: '/tr:w-500,h-500/' + currentimagecollection,
|
|
18727
|
+
style: {
|
|
18728
|
+
width: '100%',
|
|
18729
|
+
height: '100%',
|
|
18730
|
+
objectFit: 'contain'
|
|
18731
|
+
}
|
|
18732
|
+
})))))))), Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery9 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery9 === void 0 || (_fetchCategoriesQuery9 = _fetchCategoriesQuery9.data) === null || _fetchCategoriesQuery9 === void 0 || (_fetchCategoriesQuery9 = _fetchCategoriesQuery9.categories[Choosenindex]) === null || _fetchCategoriesQuery9 === void 0 || (_fetchCategoriesQuery9 = _fetchCategoriesQuery9.parentcolletions) === null || _fetchCategoriesQuery9 === void 0 ? void 0 : _fetchCategoriesQuery9.length) != 0 && sectionproperties.subheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18014
18733
|
"class": "w-100"
|
|
18015
18734
|
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
18016
18735
|
"class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100'
|
|
@@ -18037,8 +18756,8 @@
|
|
|
18037
18756
|
})))))));
|
|
18038
18757
|
};
|
|
18039
18758
|
|
|
18040
|
-
function ownKeys$
|
|
18041
|
-
function _objectSpread$
|
|
18759
|
+
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; }
|
|
18760
|
+
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__default["default"](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; }
|
|
18042
18761
|
var Headerresponsive = function Headerresponsive(props) {
|
|
18043
18762
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _fetchCategoriesQuery2, _authdetailsContext$i9;
|
|
18044
18763
|
var actions = props.actions;
|
|
@@ -18073,7 +18792,7 @@
|
|
|
18073
18792
|
setpcollarray = _useState6[1];
|
|
18074
18793
|
React.useEffect(function () {
|
|
18075
18794
|
if (props.sectionpropertiesprops != undefined) {
|
|
18076
|
-
setsectionproperties(_objectSpread$
|
|
18795
|
+
setsectionproperties(_objectSpread$1_({}, props.sectionpropertiesprops));
|
|
18077
18796
|
}
|
|
18078
18797
|
}, [props.sectionpropertiesprops]);
|
|
18079
18798
|
var _useState7 = React.useState([]),
|
|
@@ -19295,8 +20014,8 @@
|
|
|
19295
20014
|
})))))));
|
|
19296
20015
|
};
|
|
19297
20016
|
|
|
19298
|
-
function ownKeys$
|
|
19299
|
-
function _objectSpread$
|
|
20017
|
+
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; }
|
|
20018
|
+
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__default["default"](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; }
|
|
19300
20019
|
var DownloadApp = function DownloadApp(props) {
|
|
19301
20020
|
props.actions;
|
|
19302
20021
|
props.actions.lang;
|
|
@@ -19321,7 +20040,7 @@
|
|
|
19321
20040
|
}, [sectionproperties]);
|
|
19322
20041
|
React.useEffect(function () {
|
|
19323
20042
|
if (props.sectionpropertiesprops != undefined) {
|
|
19324
|
-
setsectionproperties(_objectSpread$
|
|
20043
|
+
setsectionproperties(_objectSpread$1Z({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
19325
20044
|
}
|
|
19326
20045
|
}, [props.sectionpropertiesprops]);
|
|
19327
20046
|
var header_cssstyles = {
|
|
@@ -19374,8 +20093,8 @@
|
|
|
19374
20093
|
}))));
|
|
19375
20094
|
};
|
|
19376
20095
|
|
|
19377
|
-
function ownKeys$
|
|
19378
|
-
function _objectSpread$
|
|
20096
|
+
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; }
|
|
20097
|
+
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__default["default"](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; }
|
|
19379
20098
|
var SocialMediaSection = function SocialMediaSection(props) {
|
|
19380
20099
|
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13;
|
|
19381
20100
|
props.actions;
|
|
@@ -19391,12 +20110,12 @@
|
|
|
19391
20110
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
19392
20111
|
React.useEffect(function () {
|
|
19393
20112
|
if (props.sectionpropertiesprops != undefined) {
|
|
19394
|
-
setsectionproperties(_objectSpread$
|
|
20113
|
+
setsectionproperties(_objectSpread$1Y({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
19395
20114
|
}
|
|
19396
20115
|
}, [props.sectionpropertiesprops]);
|
|
19397
20116
|
React.useEffect(function () {
|
|
19398
20117
|
if (props.templateproperties_contextprops != undefined) {
|
|
19399
|
-
settemplateproperties_context(_objectSpread$
|
|
20118
|
+
settemplateproperties_context(_objectSpread$1Y({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
19400
20119
|
}
|
|
19401
20120
|
}, [props.templateproperties_contextprops]);
|
|
19402
20121
|
var header_cssstyles = {
|
|
@@ -19482,8 +20201,8 @@
|
|
|
19482
20201
|
})));
|
|
19483
20202
|
};
|
|
19484
20203
|
|
|
19485
|
-
function ownKeys$
|
|
19486
|
-
function _objectSpread$
|
|
20204
|
+
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; }
|
|
20205
|
+
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__default["default"](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; }
|
|
19487
20206
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
19488
20207
|
var _css, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _fetchCategoriesQuery2, _authdetailsContext$i2;
|
|
19489
20208
|
var actions = props.actions;
|
|
@@ -19522,7 +20241,7 @@
|
|
|
19522
20241
|
setopenSearch = _useState8[1];
|
|
19523
20242
|
React.useEffect(function () {
|
|
19524
20243
|
if (props.sectionpropertiesprops != undefined) {
|
|
19525
|
-
setsectionproperties(_objectSpread$
|
|
20244
|
+
setsectionproperties(_objectSpread$1X({}, props.sectionpropertiesprops));
|
|
19526
20245
|
}
|
|
19527
20246
|
}, [props.sectionpropertiesprops]);
|
|
19528
20247
|
var _useState9 = React.useState([]),
|
|
@@ -20773,8 +21492,8 @@
|
|
|
20773
21492
|
})))))));
|
|
20774
21493
|
};
|
|
20775
21494
|
|
|
20776
|
-
function ownKeys$
|
|
20777
|
-
function _objectSpread$
|
|
21495
|
+
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; }
|
|
21496
|
+
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__default["default"](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; }
|
|
20778
21497
|
var ElegantHeader = function ElegantHeader(props) {
|
|
20779
21498
|
var _authdetailsContext$i, _authdetailsContext$i3, _textarray$, _textarray$2, _authdetailsContext$c, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
20780
21499
|
var _useState = React.useState(''),
|
|
@@ -20827,7 +21546,7 @@
|
|
|
20827
21546
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
20828
21547
|
});
|
|
20829
21548
|
}
|
|
20830
|
-
setsectionproperties(_objectSpread$
|
|
21549
|
+
setsectionproperties(_objectSpread$1W({}, secpropobj));
|
|
20831
21550
|
}, [StatePagePropertiesContext]);
|
|
20832
21551
|
React.useEffect(function () {
|
|
20833
21552
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -21522,8 +22241,8 @@
|
|
|
21522
22241
|
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"};
|
|
21523
22242
|
styleInject(css_248z$A);
|
|
21524
22243
|
|
|
21525
|
-
function ownKeys$
|
|
21526
|
-
function _objectSpread$
|
|
22244
|
+
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; }
|
|
22245
|
+
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__default["default"](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; }
|
|
21527
22246
|
var Gotoheader = function Gotoheader(props) {
|
|
21528
22247
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue2, _fetchcustomercartQue3, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
21529
22248
|
var _useState = React.useState(''),
|
|
@@ -21563,7 +22282,7 @@
|
|
|
21563
22282
|
});
|
|
21564
22283
|
}
|
|
21565
22284
|
}
|
|
21566
|
-
setsectionproperties(_objectSpread$
|
|
22285
|
+
setsectionproperties(_objectSpread$1V({}, secpropobj));
|
|
21567
22286
|
}, [StatePagePropertiesContext]);
|
|
21568
22287
|
var _useState3 = React.useState([]),
|
|
21569
22288
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -22264,8 +22983,8 @@
|
|
|
22264
22983
|
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"};
|
|
22265
22984
|
styleInject(css_248z$z);
|
|
22266
22985
|
|
|
22267
|
-
function ownKeys$
|
|
22268
|
-
function _objectSpread$
|
|
22986
|
+
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; }
|
|
22987
|
+
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__default["default"](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; }
|
|
22269
22988
|
var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
22270
22989
|
var _authdetailsContext$i2, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i5, _authdetailsContext$i7, _fetchcustomercartQue3, _fetchcustomercartQue4;
|
|
22271
22990
|
var _useState = React.useState(''),
|
|
@@ -22313,7 +23032,7 @@
|
|
|
22313
23032
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
22314
23033
|
});
|
|
22315
23034
|
}
|
|
22316
|
-
setsectionproperties(_objectSpread$
|
|
23035
|
+
setsectionproperties(_objectSpread$1U({}, secpropobj));
|
|
22317
23036
|
}, [StatePagePropertiesContext]);
|
|
22318
23037
|
React.useEffect(function () {
|
|
22319
23038
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -23220,8 +23939,8 @@
|
|
|
23220
23939
|
var headerstyles$c = {"headercontainer":"classicheader-module_headercontainer__tCNl-","navbar":"classicheader-module_navbar__3MEax"};
|
|
23221
23940
|
styleInject(css_248z$y);
|
|
23222
23941
|
|
|
23223
|
-
function ownKeys$
|
|
23224
|
-
function _objectSpread$
|
|
23942
|
+
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; }
|
|
23943
|
+
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__default["default"](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; }
|
|
23225
23944
|
var ClassicHeader = function ClassicHeader(props) {
|
|
23226
23945
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue, _fetchcustomercartQue2, _templatepropcontext$;
|
|
23227
23946
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
@@ -23258,7 +23977,7 @@
|
|
|
23258
23977
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
23259
23978
|
});
|
|
23260
23979
|
}
|
|
23261
|
-
setsectionproperties(_objectSpread$
|
|
23980
|
+
setsectionproperties(_objectSpread$1T({}, secpropobj));
|
|
23262
23981
|
}, [StatePagePropertiesContext]);
|
|
23263
23982
|
var _useState3 = React.useState([]),
|
|
23264
23983
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -24380,8 +25099,8 @@
|
|
|
24380
25099
|
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"};
|
|
24381
25100
|
styleInject(css_248z$x);
|
|
24382
25101
|
|
|
24383
|
-
function ownKeys$
|
|
24384
|
-
function _objectSpread$
|
|
25102
|
+
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; }
|
|
25103
|
+
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__default["default"](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; }
|
|
24385
25104
|
var CTAHeader = function CTAHeader(props) {
|
|
24386
25105
|
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;
|
|
24387
25106
|
var actions = props.actions;
|
|
@@ -24429,7 +25148,7 @@
|
|
|
24429
25148
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
24430
25149
|
});
|
|
24431
25150
|
}
|
|
24432
|
-
setsectionproperties(_objectSpread$
|
|
25151
|
+
setsectionproperties(_objectSpread$1S({}, secpropobj));
|
|
24433
25152
|
}, [StatePagePropertiesContext]);
|
|
24434
25153
|
React.useEffect(function () {
|
|
24435
25154
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -25420,8 +26139,8 @@
|
|
|
25420
26139
|
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"};
|
|
25421
26140
|
styleInject(css_248z$w);
|
|
25422
26141
|
|
|
25423
|
-
function ownKeys$
|
|
25424
|
-
function _objectSpread$
|
|
26142
|
+
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; }
|
|
26143
|
+
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__default["default"](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; }
|
|
25425
26144
|
var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
|
|
25426
26145
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
25427
26146
|
var _useState = React.useState(''),
|
|
@@ -25457,7 +26176,7 @@
|
|
|
25457
26176
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
25458
26177
|
});
|
|
25459
26178
|
}
|
|
25460
|
-
setsectionproperties(_objectSpread$
|
|
26179
|
+
setsectionproperties(_objectSpread$1R({}, secpropobj));
|
|
25461
26180
|
}, [StatePagePropertiesContext]);
|
|
25462
26181
|
var _useState3 = React.useState([]),
|
|
25463
26182
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -26161,8 +26880,8 @@
|
|
|
26161
26880
|
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"};
|
|
26162
26881
|
styleInject(css_248z$v);
|
|
26163
26882
|
|
|
26164
|
-
function ownKeys$
|
|
26165
|
-
function _objectSpread$
|
|
26883
|
+
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; }
|
|
26884
|
+
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__default["default"](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; }
|
|
26166
26885
|
var Simpleheader = function Simpleheader(props) {
|
|
26167
26886
|
var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
26168
26887
|
var actions = props.actions;
|
|
@@ -26207,7 +26926,7 @@
|
|
|
26207
26926
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
26208
26927
|
});
|
|
26209
26928
|
}
|
|
26210
|
-
setsectionproperties(_objectSpread$
|
|
26929
|
+
setsectionproperties(_objectSpread$1Q({}, secpropobj));
|
|
26211
26930
|
}, [StatePagePropertiesContext]);
|
|
26212
26931
|
React.useEffect(function () {
|
|
26213
26932
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -26421,12 +27140,18 @@
|
|
|
26421
27140
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
26422
27141
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
26423
27142
|
}
|
|
26424
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27143
|
+
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27144
|
+
"class": "col-lg-12 p-0"
|
|
27145
|
+
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
27146
|
+
sectionpropertiesprops: sectionproperties,
|
|
27147
|
+
templateproperties_contextprops: templateproperties_context,
|
|
27148
|
+
actions: actions
|
|
27149
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26425
27150
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
26426
27151
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26427
27152
|
"class": "row m-0 w-100 "
|
|
26428
27153
|
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26429
|
-
"class": "col-lg-12 p-0"
|
|
27154
|
+
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
26430
27155
|
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
26431
27156
|
sectionpropertiesprops: sectionproperties,
|
|
26432
27157
|
templateproperties_contextprops: templateproperties_context,
|
|
@@ -26786,7 +27511,7 @@
|
|
|
26786
27511
|
}), sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
|
|
26787
27512
|
sectionpropertiesprops: sectionproperties,
|
|
26788
27513
|
actions: actions
|
|
26789
|
-
}), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
27514
|
+
}), sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
26790
27515
|
sectionpropertiesprops: sectionproperties,
|
|
26791
27516
|
actions: actions
|
|
26792
27517
|
}), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
@@ -26869,8 +27594,8 @@
|
|
|
26869
27594
|
}))))))));
|
|
26870
27595
|
};
|
|
26871
27596
|
|
|
26872
|
-
function ownKeys$
|
|
26873
|
-
function _objectSpread$
|
|
27597
|
+
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; }
|
|
27598
|
+
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__default["default"](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; }
|
|
26874
27599
|
var Header8 = function Header8(props) {
|
|
26875
27600
|
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;
|
|
26876
27601
|
var actions = props.actions;
|
|
@@ -26927,7 +27652,7 @@
|
|
|
26927
27652
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
26928
27653
|
});
|
|
26929
27654
|
}
|
|
26930
|
-
setsectionproperties(_objectSpread$
|
|
27655
|
+
setsectionproperties(_objectSpread$1P({}, secpropobj));
|
|
26931
27656
|
}, [StatePagePropertiesContext]);
|
|
26932
27657
|
var subtotalcart = function subtotalcart() {
|
|
26933
27658
|
var _fetchcustomercartQue;
|
|
@@ -28645,8 +29370,8 @@
|
|
|
28645
29370
|
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-"};
|
|
28646
29371
|
styleInject(css_248z$u);
|
|
28647
29372
|
|
|
28648
|
-
function ownKeys$
|
|
28649
|
-
function _objectSpread$
|
|
29373
|
+
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; }
|
|
29374
|
+
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__default["default"](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; }
|
|
28650
29375
|
var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
28651
29376
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
28652
29377
|
var _useState = React.useState(''),
|
|
@@ -28682,7 +29407,7 @@
|
|
|
28682
29407
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
28683
29408
|
});
|
|
28684
29409
|
}
|
|
28685
|
-
setsectionproperties(_objectSpread$
|
|
29410
|
+
setsectionproperties(_objectSpread$1O({}, secpropobj));
|
|
28686
29411
|
}, [StatePagePropertiesContext]);
|
|
28687
29412
|
var _useState3 = React.useState([]),
|
|
28688
29413
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -29291,8 +30016,8 @@
|
|
|
29291
30016
|
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"};
|
|
29292
30017
|
styleInject(css_248z$t);
|
|
29293
30018
|
|
|
29294
|
-
function ownKeys$
|
|
29295
|
-
function _objectSpread$
|
|
30019
|
+
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; }
|
|
30020
|
+
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__default["default"](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; }
|
|
29296
30021
|
var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
29297
30022
|
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i12, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
29298
30023
|
var _useState = React.useState(''),
|
|
@@ -29329,7 +30054,7 @@
|
|
|
29329
30054
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
29330
30055
|
});
|
|
29331
30056
|
}
|
|
29332
|
-
setsectionproperties(_objectSpread$
|
|
30057
|
+
setsectionproperties(_objectSpread$1N({}, secpropobj));
|
|
29333
30058
|
}, [StatePagePropertiesContext]);
|
|
29334
30059
|
var _useState3 = React.useState(false),
|
|
29335
30060
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -30098,8 +30823,8 @@
|
|
|
30098
30823
|
}))))))));
|
|
30099
30824
|
};
|
|
30100
30825
|
|
|
30101
|
-
function ownKeys$
|
|
30102
|
-
function _objectSpread$
|
|
30826
|
+
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; }
|
|
30827
|
+
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__default["default"](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; }
|
|
30103
30828
|
var Modernheader = function Modernheader(props) {
|
|
30104
30829
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
30105
30830
|
var _useState = React.useState(''),
|
|
@@ -30144,7 +30869,7 @@
|
|
|
30144
30869
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
30145
30870
|
});
|
|
30146
30871
|
}
|
|
30147
|
-
setsectionproperties(_objectSpread$
|
|
30872
|
+
setsectionproperties(_objectSpread$1M({}, secpropobj));
|
|
30148
30873
|
}, [StatePagePropertiesContext]);
|
|
30149
30874
|
React.useEffect(function () {
|
|
30150
30875
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -30793,8 +31518,8 @@
|
|
|
30793
31518
|
}));
|
|
30794
31519
|
};
|
|
30795
31520
|
|
|
30796
|
-
function ownKeys$
|
|
30797
|
-
function _objectSpread$
|
|
31521
|
+
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; }
|
|
31522
|
+
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__default["default"](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; }
|
|
30798
31523
|
var SearchCenteredHeader = function SearchCenteredHeader(props) {
|
|
30799
31524
|
var _fetchcustomercartQue2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
|
|
30800
31525
|
var _useState = React.useState(''),
|
|
@@ -30832,7 +31557,7 @@
|
|
|
30832
31557
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
30833
31558
|
});
|
|
30834
31559
|
}
|
|
30835
|
-
setsectionproperties(_objectSpread$
|
|
31560
|
+
setsectionproperties(_objectSpread$1L({}, secpropobj));
|
|
30836
31561
|
}, [StatePagePropertiesContext]);
|
|
30837
31562
|
var _useState3 = React.useState([]),
|
|
30838
31563
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -31465,8 +32190,8 @@
|
|
|
31465
32190
|
var headerstyles$6 = {"headercontainer":"stylishheader-module_headercontainer__FUgDo","navbar":"stylishheader-module_navbar__IX59y","badge_counter_header_notifications":"stylishheader-module_badge_counter_header_notifications__9G0T4"};
|
|
31466
32191
|
styleInject(css_248z$s);
|
|
31467
32192
|
|
|
31468
|
-
function ownKeys$
|
|
31469
|
-
function _objectSpread$
|
|
32193
|
+
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; }
|
|
32194
|
+
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__default["default"](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; }
|
|
31470
32195
|
var StylishHeader = function StylishHeader(props) {
|
|
31471
32196
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _logoarrayofobjects$3, _logoarrayofobjects$4, _logoarrayofobjects$5, _logoarrayofobjects$6;
|
|
31472
32197
|
var _useState = React.useState(''),
|
|
@@ -31507,7 +32232,7 @@
|
|
|
31507
32232
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
31508
32233
|
});
|
|
31509
32234
|
}
|
|
31510
|
-
setsectionproperties(_objectSpread$
|
|
32235
|
+
setsectionproperties(_objectSpread$1K({}, secpropobj));
|
|
31511
32236
|
}, [StatePagePropertiesContext]);
|
|
31512
32237
|
var _useState5 = React.useState([]),
|
|
31513
32238
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
@@ -32258,8 +32983,8 @@
|
|
|
32258
32983
|
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"};
|
|
32259
32984
|
styleInject(css_248z$r);
|
|
32260
32985
|
|
|
32261
|
-
function ownKeys$
|
|
32262
|
-
function _objectSpread$
|
|
32986
|
+
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; }
|
|
32987
|
+
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__default["default"](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; }
|
|
32263
32988
|
var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
32264
32989
|
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$c, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
32265
32990
|
var actions = props.actions;
|
|
@@ -32297,7 +33022,7 @@
|
|
|
32297
33022
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
32298
33023
|
});
|
|
32299
33024
|
}
|
|
32300
|
-
setsectionproperties(_objectSpread$
|
|
33025
|
+
setsectionproperties(_objectSpread$1J({}, secpropobj));
|
|
32301
33026
|
}, [StatePagePropertiesContext]);
|
|
32302
33027
|
var _useState3 = React.useState([]),
|
|
32303
33028
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -33128,8 +33853,8 @@
|
|
|
33128
33853
|
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"};
|
|
33129
33854
|
styleInject(css_248z$q);
|
|
33130
33855
|
|
|
33131
|
-
function ownKeys$
|
|
33132
|
-
function _objectSpread$
|
|
33856
|
+
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; }
|
|
33857
|
+
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__default["default"](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; }
|
|
33133
33858
|
var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
33134
33859
|
var _css, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$i13, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i14, _authdetailsContext$i16;
|
|
33135
33860
|
var lang = props.actions.lang;
|
|
@@ -33196,7 +33921,7 @@
|
|
|
33196
33921
|
});
|
|
33197
33922
|
}
|
|
33198
33923
|
}
|
|
33199
|
-
setsectionproperties(_objectSpread$
|
|
33924
|
+
setsectionproperties(_objectSpread$1I({}, secpropobj));
|
|
33200
33925
|
}, [StatePagePropertiesContext]);
|
|
33201
33926
|
var ButtonDropdown = function ButtonDropdown(item, index, fetchedarray) {
|
|
33202
33927
|
var _fetchedarray$Choosen, _fetchedarray$Choosen2, _pcollarray$Choosenin, _pcollarray$Choosenin2;
|
|
@@ -34122,8 +34847,8 @@
|
|
|
34122
34847
|
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"};
|
|
34123
34848
|
styleInject(css_248z$p);
|
|
34124
34849
|
|
|
34125
|
-
function ownKeys$
|
|
34126
|
-
function _objectSpread$
|
|
34850
|
+
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; }
|
|
34851
|
+
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__default["default"](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; }
|
|
34127
34852
|
var HeaderWithUtilityBar = function HeaderWithUtilityBar(props) {
|
|
34128
34853
|
var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2;
|
|
34129
34854
|
var lang = props.actions.lang;
|
|
@@ -34167,7 +34892,7 @@
|
|
|
34167
34892
|
});
|
|
34168
34893
|
}
|
|
34169
34894
|
}
|
|
34170
|
-
setsectionproperties(_objectSpread$
|
|
34895
|
+
setsectionproperties(_objectSpread$1H({}, secpropobj));
|
|
34171
34896
|
}, [StatePagePropertiesContext]);
|
|
34172
34897
|
var _useState5 = React.useState([]),
|
|
34173
34898
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
@@ -34899,8 +35624,8 @@
|
|
|
34899
35624
|
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"};
|
|
34900
35625
|
styleInject(css_248z$o);
|
|
34901
35626
|
|
|
34902
|
-
function ownKeys$
|
|
34903
|
-
function _objectSpread$
|
|
35627
|
+
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; }
|
|
35628
|
+
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__default["default"](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; }
|
|
34904
35629
|
var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
34905
35630
|
var _css, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
34906
35631
|
var _useState = React.useState(''),
|
|
@@ -34938,7 +35663,7 @@
|
|
|
34938
35663
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
34939
35664
|
});
|
|
34940
35665
|
}
|
|
34941
|
-
setsectionproperties(_objectSpread$
|
|
35666
|
+
setsectionproperties(_objectSpread$1G({}, secpropobj));
|
|
34942
35667
|
}, [StatePagePropertiesContext]);
|
|
34943
35668
|
var _useState3 = React.useState([]),
|
|
34944
35669
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -35666,8 +36391,8 @@
|
|
|
35666
36391
|
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"};
|
|
35667
36392
|
styleInject(css_248z$n);
|
|
35668
36393
|
|
|
35669
|
-
function ownKeys$
|
|
35670
|
-
function _objectSpread$
|
|
36394
|
+
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; }
|
|
36395
|
+
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__default["default"](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; }
|
|
35671
36396
|
var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
35672
36397
|
var _css, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35673
36398
|
var _useState = React.useState(''),
|
|
@@ -35704,7 +36429,7 @@
|
|
|
35704
36429
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
35705
36430
|
});
|
|
35706
36431
|
}
|
|
35707
|
-
setsectionproperties(_objectSpread$
|
|
36432
|
+
setsectionproperties(_objectSpread$1F({}, secpropobj));
|
|
35708
36433
|
}, [StatePagePropertiesContext]);
|
|
35709
36434
|
var _useState3 = React.useState([]),
|
|
35710
36435
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -36311,8 +37036,8 @@
|
|
|
36311
37036
|
}));
|
|
36312
37037
|
};
|
|
36313
37038
|
|
|
36314
|
-
function ownKeys$
|
|
36315
|
-
function _objectSpread$
|
|
37039
|
+
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; }
|
|
37040
|
+
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__default["default"](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; }
|
|
36316
37041
|
var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
36317
37042
|
var _css, _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$c5, _fetchcustomercartQue3, _fetchcustomercartQue4;
|
|
36318
37043
|
var lang = props.actions.lang;
|
|
@@ -36360,7 +37085,7 @@
|
|
|
36360
37085
|
});
|
|
36361
37086
|
}
|
|
36362
37087
|
}
|
|
36363
|
-
setsectionproperties(_objectSpread$
|
|
37088
|
+
setsectionproperties(_objectSpread$1E({}, secpropobj));
|
|
36364
37089
|
}, [StatePagePropertiesContext]);
|
|
36365
37090
|
React.useEffect(function () {
|
|
36366
37091
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -37289,8 +38014,8 @@
|
|
|
37289
38014
|
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"};
|
|
37290
38015
|
styleInject(css_248z$m);
|
|
37291
38016
|
|
|
37292
|
-
function ownKeys$
|
|
37293
|
-
function _objectSpread$
|
|
38017
|
+
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; }
|
|
38018
|
+
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__default["default"](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; }
|
|
37294
38019
|
var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(props) {
|
|
37295
38020
|
var _textarray$, _textarray$2, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
37296
38021
|
var _useState = React.useState(''),
|
|
@@ -37331,7 +38056,7 @@
|
|
|
37331
38056
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
37332
38057
|
});
|
|
37333
38058
|
}
|
|
37334
|
-
setsectionproperties(_objectSpread$
|
|
38059
|
+
setsectionproperties(_objectSpread$1D({}, secpropobj));
|
|
37335
38060
|
}, [StatePagePropertiesContext]);
|
|
37336
38061
|
var _useState5 = React.useState([]),
|
|
37337
38062
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
@@ -38107,8 +38832,8 @@
|
|
|
38107
38832
|
}));
|
|
38108
38833
|
};
|
|
38109
38834
|
|
|
38110
|
-
function ownKeys$
|
|
38111
|
-
function _objectSpread$
|
|
38835
|
+
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; }
|
|
38836
|
+
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__default["default"](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; }
|
|
38112
38837
|
var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props) {
|
|
38113
38838
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
38114
38839
|
var _useState = React.useState(''),
|
|
@@ -38158,7 +38883,7 @@
|
|
|
38158
38883
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
38159
38884
|
});
|
|
38160
38885
|
}
|
|
38161
|
-
setsectionproperties(_objectSpread$
|
|
38886
|
+
setsectionproperties(_objectSpread$1C({}, secpropobj));
|
|
38162
38887
|
}, [StatePagePropertiesContext]);
|
|
38163
38888
|
React.useEffect(function () {
|
|
38164
38889
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -38832,8 +39557,8 @@
|
|
|
38832
39557
|
}));
|
|
38833
39558
|
};
|
|
38834
39559
|
|
|
38835
|
-
function ownKeys$
|
|
38836
|
-
function _objectSpread$
|
|
39560
|
+
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; }
|
|
39561
|
+
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__default["default"](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; }
|
|
38837
39562
|
var Allinonefooter = function Allinonefooter(props) {
|
|
38838
39563
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i5, _templatepropcontext$, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14;
|
|
38839
39564
|
var _useState = React.useState(''),
|
|
@@ -38860,7 +39585,7 @@
|
|
|
38860
39585
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
38861
39586
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
38862
39587
|
});
|
|
38863
|
-
setsectionproperties(_objectSpread$
|
|
39588
|
+
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
38864
39589
|
} else {
|
|
38865
39590
|
var secpropobj = {};
|
|
38866
39591
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -38870,7 +39595,7 @@
|
|
|
38870
39595
|
});
|
|
38871
39596
|
}
|
|
38872
39597
|
});
|
|
38873
|
-
setsectionproperties(_objectSpread$
|
|
39598
|
+
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
38874
39599
|
}
|
|
38875
39600
|
}, [StatePagePropertiesContext]);
|
|
38876
39601
|
var footerStyles = {
|
|
@@ -39326,8 +40051,8 @@
|
|
|
39326
40051
|
}))))));
|
|
39327
40052
|
};
|
|
39328
40053
|
|
|
39329
|
-
function ownKeys$
|
|
39330
|
-
function _objectSpread$
|
|
40054
|
+
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; }
|
|
40055
|
+
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__default["default"](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; }
|
|
39331
40056
|
var Footer1 = function Footer1(props) {
|
|
39332
40057
|
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;
|
|
39333
40058
|
var _useState = React.useState(''),
|
|
@@ -39354,7 +40079,7 @@
|
|
|
39354
40079
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
39355
40080
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
39356
40081
|
});
|
|
39357
|
-
setsectionproperties(_objectSpread$
|
|
40082
|
+
setsectionproperties(_objectSpread$1A({}, secpropobj));
|
|
39358
40083
|
} else {
|
|
39359
40084
|
var secpropobj = {};
|
|
39360
40085
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -39364,7 +40089,7 @@
|
|
|
39364
40089
|
});
|
|
39365
40090
|
}
|
|
39366
40091
|
});
|
|
39367
|
-
setsectionproperties(_objectSpread$
|
|
40092
|
+
setsectionproperties(_objectSpread$1A({}, secpropobj));
|
|
39368
40093
|
}
|
|
39369
40094
|
}, [StatePagePropertiesContext]);
|
|
39370
40095
|
React.useEffect(function () {
|
|
@@ -39782,8 +40507,8 @@
|
|
|
39782
40507
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.address_en)))))));
|
|
39783
40508
|
};
|
|
39784
40509
|
|
|
39785
|
-
function ownKeys$
|
|
39786
|
-
function _objectSpread$
|
|
40510
|
+
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; }
|
|
40511
|
+
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__default["default"](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; }
|
|
39787
40512
|
var Footer2 = function Footer2(props) {
|
|
39788
40513
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i18, _authdetailsContext$i19;
|
|
39789
40514
|
var _useState = React.useState(''),
|
|
@@ -39813,7 +40538,7 @@
|
|
|
39813
40538
|
});
|
|
39814
40539
|
}
|
|
39815
40540
|
});
|
|
39816
|
-
setsectionproperties(_objectSpread$
|
|
40541
|
+
setsectionproperties(_objectSpread$1z({}, secpropobj));
|
|
39817
40542
|
}, [StatePagePropertiesContext]);
|
|
39818
40543
|
React.useEffect(function () {
|
|
39819
40544
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -40171,8 +40896,8 @@
|
|
|
40171
40896
|
})))));
|
|
40172
40897
|
};
|
|
40173
40898
|
|
|
40174
|
-
function ownKeys$
|
|
40175
|
-
function _objectSpread$
|
|
40899
|
+
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; }
|
|
40900
|
+
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__default["default"](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; }
|
|
40176
40901
|
var Footer3 = function Footer3(props) {
|
|
40177
40902
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
40178
40903
|
var _useState = React.useState(''),
|
|
@@ -40199,7 +40924,7 @@
|
|
|
40199
40924
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
40200
40925
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
40201
40926
|
});
|
|
40202
|
-
setsectionproperties(_objectSpread$
|
|
40927
|
+
setsectionproperties(_objectSpread$1y({}, secpropobj));
|
|
40203
40928
|
} else {
|
|
40204
40929
|
var secpropobj = {};
|
|
40205
40930
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -40209,7 +40934,7 @@
|
|
|
40209
40934
|
});
|
|
40210
40935
|
}
|
|
40211
40936
|
});
|
|
40212
|
-
setsectionproperties(_objectSpread$
|
|
40937
|
+
setsectionproperties(_objectSpread$1y({}, secpropobj));
|
|
40213
40938
|
}
|
|
40214
40939
|
}, [StatePagePropertiesContext]);
|
|
40215
40940
|
React.useEffect(function () {
|
|
@@ -40523,8 +41248,8 @@
|
|
|
40523
41248
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.address_en)))))));
|
|
40524
41249
|
};
|
|
40525
41250
|
|
|
40526
|
-
function ownKeys$
|
|
40527
|
-
function _objectSpread$
|
|
41251
|
+
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; }
|
|
41252
|
+
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__default["default"](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; }
|
|
40528
41253
|
var Footer4 = function Footer4(props) {
|
|
40529
41254
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i15;
|
|
40530
41255
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -40547,7 +41272,7 @@
|
|
|
40547
41272
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
40548
41273
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
40549
41274
|
});
|
|
40550
|
-
setsectionproperties(_objectSpread$
|
|
41275
|
+
setsectionproperties(_objectSpread$1x({}, secpropobj));
|
|
40551
41276
|
} else {
|
|
40552
41277
|
var secpropobj = {};
|
|
40553
41278
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -40557,7 +41282,7 @@
|
|
|
40557
41282
|
});
|
|
40558
41283
|
}
|
|
40559
41284
|
});
|
|
40560
|
-
setsectionproperties(_objectSpread$
|
|
41285
|
+
setsectionproperties(_objectSpread$1x({}, secpropobj));
|
|
40561
41286
|
}
|
|
40562
41287
|
}, [StatePagePropertiesContext]);
|
|
40563
41288
|
var footerStyles = {
|
|
@@ -40942,8 +41667,8 @@
|
|
|
40942
41667
|
}))))))));
|
|
40943
41668
|
};
|
|
40944
41669
|
|
|
40945
|
-
function ownKeys$
|
|
40946
|
-
function _objectSpread$
|
|
41670
|
+
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; }
|
|
41671
|
+
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__default["default"](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; }
|
|
40947
41672
|
var Footer5 = function Footer5(props) {
|
|
40948
41673
|
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;
|
|
40949
41674
|
var _useState = React.useState(''),
|
|
@@ -40973,7 +41698,7 @@
|
|
|
40973
41698
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
40974
41699
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
40975
41700
|
});
|
|
40976
|
-
setsectionproperties(_objectSpread$
|
|
41701
|
+
setsectionproperties(_objectSpread$1w({}, secpropobj));
|
|
40977
41702
|
} else {
|
|
40978
41703
|
var secpropobj = {};
|
|
40979
41704
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -40983,7 +41708,7 @@
|
|
|
40983
41708
|
});
|
|
40984
41709
|
}
|
|
40985
41710
|
});
|
|
40986
|
-
setsectionproperties(_objectSpread$
|
|
41711
|
+
setsectionproperties(_objectSpread$1w({}, secpropobj));
|
|
40987
41712
|
}
|
|
40988
41713
|
}, [StatePagePropertiesContext]);
|
|
40989
41714
|
React.useEffect(function () {
|
|
@@ -41471,8 +42196,8 @@
|
|
|
41471
42196
|
}))))))));
|
|
41472
42197
|
};
|
|
41473
42198
|
|
|
41474
|
-
function ownKeys$
|
|
41475
|
-
function _objectSpread$
|
|
42199
|
+
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; }
|
|
42200
|
+
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__default["default"](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; }
|
|
41476
42201
|
var Footer6 = function Footer6(props) {
|
|
41477
42202
|
var _authdetailsContext$i2, _authdetailsContext$i3;
|
|
41478
42203
|
var _useState = React.useState(''),
|
|
@@ -41503,7 +42228,7 @@
|
|
|
41503
42228
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
41504
42229
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41505
42230
|
});
|
|
41506
|
-
setsectionproperties(_objectSpread$
|
|
42231
|
+
setsectionproperties(_objectSpread$1v({}, secpropobj));
|
|
41507
42232
|
} else {
|
|
41508
42233
|
var secpropobj = {};
|
|
41509
42234
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41513,7 +42238,7 @@
|
|
|
41513
42238
|
});
|
|
41514
42239
|
}
|
|
41515
42240
|
});
|
|
41516
|
-
setsectionproperties(_objectSpread$
|
|
42241
|
+
setsectionproperties(_objectSpread$1v({}, secpropobj));
|
|
41517
42242
|
}
|
|
41518
42243
|
}, [StatePagePropertiesContext]);
|
|
41519
42244
|
React.useEffect(function () {
|
|
@@ -41750,8 +42475,8 @@
|
|
|
41750
42475
|
}))));
|
|
41751
42476
|
};
|
|
41752
42477
|
|
|
41753
|
-
function ownKeys$
|
|
41754
|
-
function _objectSpread$
|
|
42478
|
+
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; }
|
|
42479
|
+
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__default["default"](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; }
|
|
41755
42480
|
var Footer7 = function Footer7(props) {
|
|
41756
42481
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i9;
|
|
41757
42482
|
var _useState = React.useState(''),
|
|
@@ -41782,7 +42507,7 @@
|
|
|
41782
42507
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
41783
42508
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41784
42509
|
});
|
|
41785
|
-
setsectionproperties(_objectSpread$
|
|
42510
|
+
setsectionproperties(_objectSpread$1u({}, secpropobj));
|
|
41786
42511
|
} else {
|
|
41787
42512
|
var secpropobj = {};
|
|
41788
42513
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41792,7 +42517,7 @@
|
|
|
41792
42517
|
});
|
|
41793
42518
|
}
|
|
41794
42519
|
});
|
|
41795
|
-
setsectionproperties(_objectSpread$
|
|
42520
|
+
setsectionproperties(_objectSpread$1u({}, secpropobj));
|
|
41796
42521
|
}
|
|
41797
42522
|
}, [StatePagePropertiesContext]);
|
|
41798
42523
|
React.useEffect(function () {
|
|
@@ -42150,8 +42875,8 @@
|
|
|
42150
42875
|
}))))));
|
|
42151
42876
|
};
|
|
42152
42877
|
|
|
42153
|
-
function ownKeys$
|
|
42154
|
-
function _objectSpread$
|
|
42878
|
+
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; }
|
|
42879
|
+
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__default["default"](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; }
|
|
42155
42880
|
var Footer8 = function Footer8(props) {
|
|
42156
42881
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _templatepropcontext$;
|
|
42157
42882
|
var _useState = React.useState(''),
|
|
@@ -42178,7 +42903,7 @@
|
|
|
42178
42903
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
42179
42904
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
42180
42905
|
});
|
|
42181
|
-
setsectionproperties(_objectSpread$
|
|
42906
|
+
setsectionproperties(_objectSpread$1t({}, secpropobj));
|
|
42182
42907
|
} else {
|
|
42183
42908
|
var secpropobj = {};
|
|
42184
42909
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -42188,7 +42913,7 @@
|
|
|
42188
42913
|
});
|
|
42189
42914
|
}
|
|
42190
42915
|
});
|
|
42191
|
-
setsectionproperties(_objectSpread$
|
|
42916
|
+
setsectionproperties(_objectSpread$1t({}, secpropobj));
|
|
42192
42917
|
}
|
|
42193
42918
|
}, [StatePagePropertiesContext]);
|
|
42194
42919
|
var footerStyles = {
|
|
@@ -42566,8 +43291,8 @@
|
|
|
42566
43291
|
}, lang.orderhistory)))))));
|
|
42567
43292
|
};
|
|
42568
43293
|
|
|
42569
|
-
function ownKeys$
|
|
42570
|
-
function _objectSpread$
|
|
43294
|
+
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; }
|
|
43295
|
+
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__default["default"](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; }
|
|
42571
43296
|
var Simplefooter = function Simplefooter(props) {
|
|
42572
43297
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i9;
|
|
42573
43298
|
var _useState = React.useState(''),
|
|
@@ -42594,7 +43319,7 @@
|
|
|
42594
43319
|
});
|
|
42595
43320
|
}
|
|
42596
43321
|
});
|
|
42597
|
-
setsectionproperties(_objectSpread$
|
|
43322
|
+
setsectionproperties(_objectSpread$1s({}, secpropobj));
|
|
42598
43323
|
}, [StatePagePropertiesContext]);
|
|
42599
43324
|
React.useEffect(function () {
|
|
42600
43325
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -42861,8 +43586,8 @@
|
|
|
42861
43586
|
})));
|
|
42862
43587
|
};
|
|
42863
43588
|
|
|
42864
|
-
function ownKeys$
|
|
42865
|
-
function _objectSpread$
|
|
43589
|
+
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; }
|
|
43590
|
+
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__default["default"](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; }
|
|
42866
43591
|
var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
42867
43592
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
42868
43593
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -42885,7 +43610,7 @@
|
|
|
42885
43610
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
42886
43611
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
42887
43612
|
});
|
|
42888
|
-
setsectionproperties(_objectSpread$
|
|
43613
|
+
setsectionproperties(_objectSpread$1r({}, secpropobj));
|
|
42889
43614
|
} else {
|
|
42890
43615
|
var secpropobj = {};
|
|
42891
43616
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -42895,7 +43620,7 @@
|
|
|
42895
43620
|
});
|
|
42896
43621
|
}
|
|
42897
43622
|
});
|
|
42898
|
-
setsectionproperties(_objectSpread$
|
|
43623
|
+
setsectionproperties(_objectSpread$1r({}, secpropobj));
|
|
42899
43624
|
}
|
|
42900
43625
|
}, [StatePagePropertiesContext]);
|
|
42901
43626
|
var _useState3 = React.useState([]),
|
|
@@ -43173,8 +43898,8 @@
|
|
|
43173
43898
|
}, "@ ", 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))));
|
|
43174
43899
|
};
|
|
43175
43900
|
|
|
43176
|
-
function ownKeys$
|
|
43177
|
-
function _objectSpread$
|
|
43901
|
+
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; }
|
|
43902
|
+
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__default["default"](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; }
|
|
43178
43903
|
var ModernFooter = function ModernFooter(props) {
|
|
43179
43904
|
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;
|
|
43180
43905
|
var _useState = React.useState(''),
|
|
@@ -43200,7 +43925,7 @@
|
|
|
43200
43925
|
});
|
|
43201
43926
|
}
|
|
43202
43927
|
});
|
|
43203
|
-
setsectionproperties(_objectSpread$
|
|
43928
|
+
setsectionproperties(_objectSpread$1q({}, secpropobj));
|
|
43204
43929
|
}, [StatePagePropertiesContext]);
|
|
43205
43930
|
var footerStyles = {
|
|
43206
43931
|
footerContainer: glamor.css({
|
|
@@ -43651,8 +44376,8 @@
|
|
|
43651
44376
|
})))))));
|
|
43652
44377
|
};
|
|
43653
44378
|
|
|
43654
|
-
function ownKeys$
|
|
43655
|
-
function _objectSpread$
|
|
44379
|
+
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; }
|
|
44380
|
+
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__default["default"](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; }
|
|
43656
44381
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
43657
44382
|
var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
|
|
43658
44383
|
var _useState = React.useState(''),
|
|
@@ -43682,7 +44407,7 @@
|
|
|
43682
44407
|
});
|
|
43683
44408
|
}
|
|
43684
44409
|
});
|
|
43685
|
-
setsectionproperties(_objectSpread$
|
|
44410
|
+
setsectionproperties(_objectSpread$1p({}, secpropobj));
|
|
43686
44411
|
}, [StatePagePropertiesContext]);
|
|
43687
44412
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
43688
44413
|
var _authdetailsContext$i;
|
|
@@ -44242,6 +44967,254 @@
|
|
|
44242
44967
|
}, StoreInformation()))));
|
|
44243
44968
|
};
|
|
44244
44969
|
|
|
44970
|
+
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; }
|
|
44971
|
+
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__default["default"](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; }
|
|
44972
|
+
var Newsletterincenter = function Newsletterincenter(props) {
|
|
44973
|
+
var _css, _footerStyles;
|
|
44974
|
+
var _useState = React.useState(''),
|
|
44975
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
44976
|
+
sectionproperties = _useState2[0],
|
|
44977
|
+
setsectionproperties = _useState2[1];
|
|
44978
|
+
var _useState3 = React.useState([]),
|
|
44979
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2);
|
|
44980
|
+
_useState4[0];
|
|
44981
|
+
var setlogoarrayofobjects = _useState4[1];
|
|
44982
|
+
props.actions.history;
|
|
44983
|
+
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
44984
|
+
props.actions.lang;
|
|
44985
|
+
var langdetect = props.actions.langdetect;
|
|
44986
|
+
var routingcountext = props.actions.routingcountext;
|
|
44987
|
+
props.actions.StaticPagesLinksContext;
|
|
44988
|
+
props.actions.authdetailsContext;
|
|
44989
|
+
var templateproperties_context = props.actions.templateproperties_context;
|
|
44990
|
+
var templatepropcontext = props.actions.templatepropcontext;
|
|
44991
|
+
props.actions.ikimagecredcontext;
|
|
44992
|
+
React.useEffect(function () {
|
|
44993
|
+
var secpropobj = {};
|
|
44994
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
44995
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
44996
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
44997
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
44998
|
+
});
|
|
44999
|
+
}
|
|
45000
|
+
});
|
|
45001
|
+
setsectionproperties(_objectSpread$1o({}, secpropobj));
|
|
45002
|
+
}, [StatePagePropertiesContext]);
|
|
45003
|
+
var footerStyles = (_footerStyles = {
|
|
45004
|
+
divider: glamor.css({
|
|
45005
|
+
height: '1px',
|
|
45006
|
+
width: '100%',
|
|
45007
|
+
backgroundColor: sectionproperties.vl_bg
|
|
45008
|
+
}),
|
|
45009
|
+
payimgcont: glamor.css({
|
|
45010
|
+
marginLeft: '10px',
|
|
45011
|
+
marginRight: '10px'
|
|
45012
|
+
}),
|
|
45013
|
+
payimg: glamor.css({
|
|
45014
|
+
width: '100%',
|
|
45015
|
+
height: '100%',
|
|
45016
|
+
objectFit: 'contain'
|
|
45017
|
+
}),
|
|
45018
|
+
footerContainer: glamor.css({
|
|
45019
|
+
background: sectionproperties.footerbgcolor,
|
|
45020
|
+
paddingTop: sectionproperties.footerpaddingvertical + 'px',
|
|
45021
|
+
paddingLeft: sectionproperties.footerpaddinghorizontal + 'px',
|
|
45022
|
+
paddingRight: sectionproperties.footerpaddinghorizontal + 'px',
|
|
45023
|
+
paddingBottom: sectionproperties.footerpaddingvertical + 'px',
|
|
45024
|
+
width: '100vw'
|
|
45025
|
+
}),
|
|
45026
|
+
footerlogo: glamor.css({
|
|
45027
|
+
width: sectionproperties.logo_width + 'px',
|
|
45028
|
+
height: sectionproperties.logo_height + 'px',
|
|
45029
|
+
position: 'relative'
|
|
45030
|
+
}),
|
|
45031
|
+
apptore: glamor.css({
|
|
45032
|
+
width: '100%',
|
|
45033
|
+
objectFit: 'contain'
|
|
45034
|
+
}),
|
|
45035
|
+
googleplay: glamor.css({
|
|
45036
|
+
width: '100%',
|
|
45037
|
+
objectFit: 'contain'
|
|
45038
|
+
}),
|
|
45039
|
+
textStyles: glamor.css({
|
|
45040
|
+
fontSize: sectionproperties.footerinfotext_fontsize + 'px',
|
|
45041
|
+
color: sectionproperties.footerinfotext_color,
|
|
45042
|
+
fontWeight: sectionproperties.footerinfotext_fontweight
|
|
45043
|
+
}),
|
|
45044
|
+
logoStyles: glamor.css({
|
|
45045
|
+
width: sectionproperties.logo_width + 'px',
|
|
45046
|
+
height: sectionproperties.logo_height + 'px'
|
|
45047
|
+
}),
|
|
45048
|
+
sectionTitle: glamor.css({
|
|
45049
|
+
color: sectionproperties.sectionTitleColor,
|
|
45050
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
45051
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
45052
|
+
}),
|
|
45053
|
+
subPages: glamor.css({
|
|
45054
|
+
textTransform: sectionproperties.footertexttransform,
|
|
45055
|
+
fontSize: sectionproperties.footerfontsize + 'px',
|
|
45056
|
+
fontWeight: sectionproperties.footerfontweight,
|
|
45057
|
+
color: sectionproperties.footertextcolor,
|
|
45058
|
+
cursor: 'pointer',
|
|
45059
|
+
transition: '.3s',
|
|
45060
|
+
':hover': {
|
|
45061
|
+
color: sectionproperties.footertextcoloronhover
|
|
45062
|
+
}
|
|
45063
|
+
}),
|
|
45064
|
+
facebook_btn: glamor.css({
|
|
45065
|
+
cursor: 'pointer',
|
|
45066
|
+
background: sectionproperties.facebkbtnnbgColor,
|
|
45067
|
+
width: sectionproperties.facebkbtnnWidth == 0 ? 'auto' : sectionproperties.facebkbtnnWidth + 'px',
|
|
45068
|
+
height: sectionproperties.facebkbtnnHeight == 0 ? 'auto' : sectionproperties.facebkbtnnHeight + 'px',
|
|
45069
|
+
borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
|
|
45070
|
+
color: sectionproperties.facebkbtnnTextcolor,
|
|
45071
|
+
border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
|
|
45072
|
+
transition: '.3s',
|
|
45073
|
+
':hover': {
|
|
45074
|
+
background: sectionproperties.facebkbtnnbgColoronhover,
|
|
45075
|
+
borderColor: sectionproperties.facebkbtnnTextcoloronhover,
|
|
45076
|
+
color: sectionproperties.facebkbtnnTextcoloronhover
|
|
45077
|
+
}
|
|
45078
|
+
}),
|
|
45079
|
+
youtube_btn: glamor.css({
|
|
45080
|
+
cursor: 'pointer',
|
|
45081
|
+
background: sectionproperties.youtubebtnbgColor,
|
|
45082
|
+
width: sectionproperties.youtubebtnWidth == 0 ? 'auto' : sectionproperties.youtubebtnWidth + 'px',
|
|
45083
|
+
height: sectionproperties.youtubebtnHeight == 0 ? 'auto' : sectionproperties.youtubebtnHeight + 'px',
|
|
45084
|
+
borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
|
|
45085
|
+
color: sectionproperties.youtubebtnTextcolor,
|
|
45086
|
+
border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
|
|
45087
|
+
transition: '.3s',
|
|
45088
|
+
':hover': {
|
|
45089
|
+
background: sectionproperties.youtubebtnbgColoronhover,
|
|
45090
|
+
borderColor: sectionproperties.youtubebtnTextcoloronhover,
|
|
45091
|
+
color: sectionproperties.youtubebtnTextcoloronhover
|
|
45092
|
+
}
|
|
45093
|
+
}),
|
|
45094
|
+
instgram_btn: glamor.css({
|
|
45095
|
+
cursor: 'pointer',
|
|
45096
|
+
background: sectionproperties.instgrambtnbgColor,
|
|
45097
|
+
width: sectionproperties.instgrambtnWidth == 0 ? 'auto' : sectionproperties.instgrambtnWidth + 'px',
|
|
45098
|
+
height: sectionproperties.instgrambtnHeight == 0 ? 'auto' : sectionproperties.instgrambtnHeight + 'px',
|
|
45099
|
+
borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
|
|
45100
|
+
color: sectionproperties.instgrambtnTextcolor,
|
|
45101
|
+
border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
|
|
45102
|
+
transition: '.3s',
|
|
45103
|
+
':hover': {
|
|
45104
|
+
background: sectionproperties.instgrambtnbgColoronhover,
|
|
45105
|
+
borderColor: sectionproperties.instgrambtnTextcoloronhover,
|
|
45106
|
+
color: sectionproperties.instgrambtnTextcoloronhover
|
|
45107
|
+
}
|
|
45108
|
+
}),
|
|
45109
|
+
subscribetitle: glamor.css({
|
|
45110
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
45111
|
+
color: sectionproperties.sectionTitleColor,
|
|
45112
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
45113
|
+
}),
|
|
45114
|
+
subscribedescription: glamor.css({
|
|
45115
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
45116
|
+
color: sectionproperties.prodCatColor,
|
|
45117
|
+
fontWeight: sectionproperties.prodCatFontWeight
|
|
45118
|
+
})
|
|
45119
|
+
}, _defineProperty__default["default"](_footerStyles, "apptore", glamor.css({
|
|
45120
|
+
width: '35%',
|
|
45121
|
+
objectFit: 'contain',
|
|
45122
|
+
'@media (max-width: 800px)': {
|
|
45123
|
+
width: '30%'
|
|
45124
|
+
}
|
|
45125
|
+
})), _defineProperty__default["default"](_footerStyles, "googleplay", glamor.css({
|
|
45126
|
+
width: '35%',
|
|
45127
|
+
objectFit: 'contain',
|
|
45128
|
+
'@media (max-width: 800px)': {
|
|
45129
|
+
width: '30%'
|
|
45130
|
+
}
|
|
45131
|
+
})), _defineProperty__default["default"](_footerStyles, "form_control", glamor.css((_css = {
|
|
45132
|
+
position: 'relative',
|
|
45133
|
+
display: 'flex',
|
|
45134
|
+
alignItems: 'center'
|
|
45135
|
+
}, _defineProperty__default["default"](_css, "display", 'block'), _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "height", '35px'), _defineProperty__default["default"](_css, "padding", '0 10px 10px'), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, "fontWeight", 500), _defineProperty__default["default"](_css, "borderBottom", ' 1 px solid #ccc'), _defineProperty__default["default"](_css, "height", '40px'), _defineProperty__default["default"](_css, "background", 'transparent'), _defineProperty__default["default"](_css, "color", '#000'), _defineProperty__default["default"](_css, ':focus', {
|
|
45136
|
+
// borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
45137
|
+
}), _css))), _footerStyles);
|
|
45138
|
+
React.useEffect(function () {
|
|
45139
|
+
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
45140
|
+
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
45141
|
+
if (Array.isArray(logoarrayofobjectsparsed)) {
|
|
45142
|
+
setlogoarrayofobjects(_toConsumableArray__default["default"](logoarrayofobjectsparsed));
|
|
45143
|
+
}
|
|
45144
|
+
}
|
|
45145
|
+
}, [templateproperties_context]);
|
|
45146
|
+
var Newsletter = function Newsletter() {
|
|
45147
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45148
|
+
"class": "row m-0 w-100"
|
|
45149
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45150
|
+
"class": "col-lg-12 allcentered mb-3"
|
|
45151
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45152
|
+
style: {
|
|
45153
|
+
fontSize: 20,
|
|
45154
|
+
fontWeight: 600
|
|
45155
|
+
}
|
|
45156
|
+
}, "STAY IN THE KNOW")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45157
|
+
"class": "col-lg-12 allcentered"
|
|
45158
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45159
|
+
style: {
|
|
45160
|
+
fontSize: 15,
|
|
45161
|
+
fontWeight: 600
|
|
45162
|
+
}
|
|
45163
|
+
}, "Be the first one to receive new releases, special offers, and more")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45164
|
+
"class": "col-lg-12 allcentered"
|
|
45165
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
45166
|
+
type: "text",
|
|
45167
|
+
className: "".concat(footerStyles.form_control),
|
|
45168
|
+
value: '',
|
|
45169
|
+
placeholder: "your email",
|
|
45170
|
+
onChange: function onChange(event) {},
|
|
45171
|
+
style: {
|
|
45172
|
+
background: sectionproperties.input_bgcolor
|
|
45173
|
+
}
|
|
45174
|
+
})));
|
|
45175
|
+
};
|
|
45176
|
+
var Section1pages = function Section1pages() {
|
|
45177
|
+
var _templatepropcontext$;
|
|
45178
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45179
|
+
"class": "col-lg-12 p-0 mt-md-3"
|
|
45180
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45181
|
+
"class": "row m-0 w-100 d-flex justify-content-start align-items-center flex-column"
|
|
45182
|
+
}, templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
|
|
45183
|
+
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
45184
|
+
if (item.staticpageid != '650c3c37dd5bf' && item.staticpageid != '650c591955e81' && item.staticpageid != '650c5be1dfd5d' && item.staticpageid != '6505ad75b1cdb') {
|
|
45185
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45186
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
45187
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45188
|
+
onClick: function onClick() {
|
|
45189
|
+
routingcountext(item.navigationroute);
|
|
45190
|
+
}
|
|
45191
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45192
|
+
"class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 ',
|
|
45193
|
+
style: {
|
|
45194
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
45195
|
+
}
|
|
45196
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar)));
|
|
45197
|
+
}
|
|
45198
|
+
}
|
|
45199
|
+
})));
|
|
45200
|
+
};
|
|
45201
|
+
return /*#__PURE__*/React__default["default"].createElement("footer", {
|
|
45202
|
+
"class": "row m-0 w-100 justify-content-center"
|
|
45203
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45204
|
+
style: {
|
|
45205
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
45206
|
+
paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
|
|
45207
|
+
},
|
|
45208
|
+
"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 '
|
|
45209
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45210
|
+
"class": "row m-0 w-100"
|
|
45211
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45212
|
+
"class": "col-lg-4 col-md-12 d-flex justify-content-center justify-content-md-start"
|
|
45213
|
+
}, Section1pages()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45214
|
+
"class": "col-lg-4 col-md-12 d-flex justify-content-center justify-content-md-start"
|
|
45215
|
+
}, Newsletter()))));
|
|
45216
|
+
};
|
|
45217
|
+
|
|
44245
45218
|
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; }
|
|
44246
45219
|
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__default["default"](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; }
|
|
44247
45220
|
var CardsSection2 = function CardsSection2(props) {
|
|
@@ -61736,6 +62709,14 @@
|
|
|
61736
62709
|
fontSize: sectionproperties.cashbackcontainerfontsize + 'px',
|
|
61737
62710
|
border: sectionproperties.cashbackcontainerborderwidth + 'px ' + sectionproperties.cashbackcontainerborderstyle + sectionproperties.cashbackcontainerbordercolor,
|
|
61738
62711
|
borderRadius: sectionproperties.cashbackcontainerborderradius + 'px'
|
|
62712
|
+
}),
|
|
62713
|
+
productcard: glamor.css({
|
|
62714
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
62715
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
62716
|
+
'@media (max-width: 800px)': {
|
|
62717
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
62718
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
62719
|
+
}
|
|
61739
62720
|
})
|
|
61740
62721
|
};
|
|
61741
62722
|
var plainString = function plainString(html) {
|
|
@@ -61870,11 +62851,30 @@
|
|
|
61870
62851
|
AddtoCartContext(tempaddtocardpayloadobj);
|
|
61871
62852
|
};
|
|
61872
62853
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61873
|
-
"class":
|
|
62854
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(cardsstyles2.productcard) + ' w-100 px-md-1 ' : " ".concat(cardsstyles2.productcard),
|
|
61874
62855
|
style: {
|
|
61875
62856
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
61876
62857
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
61877
62858
|
}
|
|
62859
|
+
// class={
|
|
62860
|
+
// langdetect == 'en'
|
|
62861
|
+
// ? sectionproperties.card_marginLeft != 0
|
|
62862
|
+
// ? 'row m-0 w-100 pl-sm-2'
|
|
62863
|
+
// : sectionproperties.card_marginRight != 0
|
|
62864
|
+
// ? 'row m-0 w-100 pr-sm-2'
|
|
62865
|
+
// : 'row m-0 w-100'
|
|
62866
|
+
// : langdetect == 'en'
|
|
62867
|
+
// ? sectionproperties.card_marginRight != 0
|
|
62868
|
+
// ? 'row m-0 w-100 pr-sm-2'
|
|
62869
|
+
// : sectionproperties.card_marginLeft != 0
|
|
62870
|
+
// ? 'row m-0 w-100 pl-sm-2'
|
|
62871
|
+
// : 'row m-0 w-100'
|
|
62872
|
+
// : 'row m-0 w-100'
|
|
62873
|
+
// }
|
|
62874
|
+
// style={{
|
|
62875
|
+
// paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
62876
|
+
// paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
62877
|
+
// }}
|
|
61878
62878
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61879
62879
|
"class": "".concat(cardsstyles2.card) + ' w-100 '
|
|
61880
62880
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -69277,7 +70277,7 @@
|
|
|
69277
70277
|
})), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69278
70278
|
"class": "col-lg-12 p-0 allcentered"
|
|
69279
70279
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
69280
|
-
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak text-center '
|
|
70280
|
+
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak text-center font-md-13 '
|
|
69281
70281
|
}, item.name)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69282
70282
|
"class": "col-lg-12 p-0 allcentered"
|
|
69283
70283
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -71843,6 +72843,7 @@
|
|
|
71843
72843
|
FooterWithThreeColumns: FooterWithThreeColumns,
|
|
71844
72844
|
ModernFooter: ModernFooter,
|
|
71845
72845
|
Newsletterfooter: Newsletterfooter,
|
|
72846
|
+
Newsletterincenter: Newsletterincenter,
|
|
71846
72847
|
// Cards Sections (8)
|
|
71847
72848
|
CardsSection: CardsSection,
|
|
71848
72849
|
CardsSection2: CardsSection2,
|