tabexseriescomponents 0.0.421 → 0.0.422
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1335 -421
- package/dist/index.esm.js +1335 -421
- package/dist/index.umd.js +1335 -421
- package/package.json +1 -1
package/dist/index.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,8 +13307,8 @@
|
|
|
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
|
});
|
|
@@ -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 ',
|
|
@@ -14615,14 +14621,14 @@
|
|
|
14615
14621
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14616
14622
|
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
14623
|
onClick: function onClick() {
|
|
14618
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14624
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14619
14625
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14620
14626
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14621
14627
|
} else {
|
|
14622
14628
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14623
14629
|
}
|
|
14624
14630
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14625
|
-
setProductFilterObjContext(_objectSpread$
|
|
14631
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14626
14632
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14627
14633
|
}
|
|
14628
14634
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -14657,7 +14663,7 @@
|
|
|
14657
14663
|
minValue: 0,
|
|
14658
14664
|
value: raterangevalue,
|
|
14659
14665
|
onChange: function onChange(value) {
|
|
14660
|
-
setraterangevalue(_objectSpread$
|
|
14666
|
+
setraterangevalue(_objectSpread$2a({}, value));
|
|
14661
14667
|
}
|
|
14662
14668
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14663
14669
|
className: "col-lg-9 col-md-9 col-sm-9 d-flex align-items-center d-md-none"
|
|
@@ -14800,13 +14806,13 @@
|
|
|
14800
14806
|
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
14807
|
onClick: function onClick() {
|
|
14802
14808
|
// setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
14803
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14809
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14804
14810
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14805
14811
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14806
14812
|
} else {
|
|
14807
14813
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14808
14814
|
}
|
|
14809
|
-
setProductFilterObjContext(_objectSpread$
|
|
14815
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14810
14816
|
}
|
|
14811
14817
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14812
14818
|
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 +14844,547 @@
|
|
|
14838
14844
|
}, DynamicFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters())))))));
|
|
14839
14845
|
};
|
|
14840
14846
|
|
|
14841
|
-
function ownKeys$
|
|
14842
|
-
function _objectSpread$
|
|
14847
|
+
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; }
|
|
14848
|
+
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; }
|
|
14849
|
+
var VariantFilter = function VariantFilter(props) {
|
|
14850
|
+
var _css;
|
|
14851
|
+
var lang = props.actions.lang;
|
|
14852
|
+
var langdetect = props.actions.langdetect;
|
|
14853
|
+
props.actions.productfiltercontext;
|
|
14854
|
+
props.actions.setproductfiltercontext;
|
|
14855
|
+
var ProductFilterObjContext = props.actions.ProductFilterObjContext;
|
|
14856
|
+
var setProductFilterObjContext = props.actions.setProductFilterObjContext;
|
|
14857
|
+
props.actions.authdetailsContext;
|
|
14858
|
+
var fetchproductoptionsQueryContext = props.actions.fetchproductoptionsQueryContext;
|
|
14859
|
+
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
14860
|
+
var routingcountext = props.actions.routingcountext;
|
|
14861
|
+
var fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
14862
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
14863
|
+
props.actions.ikimagecredcontext;
|
|
14864
|
+
var _useState = React.useState({
|
|
14865
|
+
min: 0,
|
|
14866
|
+
max: 10000
|
|
14867
|
+
}),
|
|
14868
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
14869
|
+
_useState2[0];
|
|
14870
|
+
_useState2[1];
|
|
14871
|
+
var _useState3 = React.useState([]),
|
|
14872
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
14873
|
+
productfeatuesarr = _useState4[0];
|
|
14874
|
+
_useState4[1];
|
|
14875
|
+
props.actions.fetchTabexCountriesQueryContext;
|
|
14876
|
+
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
14877
|
+
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
14878
|
+
props.actions.fetchTabexCitiesQueryContext;
|
|
14879
|
+
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
14880
|
+
var FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
|
|
14881
|
+
var setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
|
|
14882
|
+
props.actions.fetchProductFeaturesQueryContext;
|
|
14883
|
+
var _useState5 = React.useState(''),
|
|
14884
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
14885
|
+
sectionproperties = _useState6[0],
|
|
14886
|
+
setsectionproperties = _useState6[1];
|
|
14887
|
+
// const [instfilters, setinstfilters] = useState([...authdetailsContext.instinfo.instfilters]);
|
|
14888
|
+
var _useState7 = React.useState([]),
|
|
14889
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
14890
|
+
instfilters = _useState8[0],
|
|
14891
|
+
setinstfilters = _useState8[1];
|
|
14892
|
+
var _useState9 = React.useState([]),
|
|
14893
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2);
|
|
14894
|
+
_useState10[0];
|
|
14895
|
+
var setcollectionstobevisible = _useState10[1];
|
|
14896
|
+
var _useState11 = React.useState([]),
|
|
14897
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
14898
|
+
instcollections = _useState12[0],
|
|
14899
|
+
setinstcollections = _useState12[1];
|
|
14900
|
+
var _useState13 = React.useState([]),
|
|
14901
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
14902
|
+
instcategories = _useState14[0],
|
|
14903
|
+
setinstcategories = _useState14[1];
|
|
14904
|
+
// const [sortby, setSortby] = useState('Sort by');
|
|
14905
|
+
var _useState15 = React.useState({
|
|
14906
|
+
min: 0,
|
|
14907
|
+
max: 5
|
|
14908
|
+
}),
|
|
14909
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
14910
|
+
raterangevalue = _useState16[0];
|
|
14911
|
+
_useState16[1];
|
|
14912
|
+
var timeoutRef = React__default["default"].useRef(null);
|
|
14913
|
+
var _useState17 = React.useState(''),
|
|
14914
|
+
_useState18 = _slicedToArray__default["default"](_useState17, 2);
|
|
14915
|
+
_useState18[0];
|
|
14916
|
+
_useState18[1];
|
|
14917
|
+
var _useState19 = React.useState([{
|
|
14918
|
+
payloadvalue: 'sortprice',
|
|
14919
|
+
name: lang.price,
|
|
14920
|
+
filterarray: [{
|
|
14921
|
+
name: lang.pricehightolow,
|
|
14922
|
+
value: 'hightolow',
|
|
14923
|
+
isfilterselected: false
|
|
14924
|
+
}, {
|
|
14925
|
+
name: lang.pricelowtohigh,
|
|
14926
|
+
value: 'lowtohigh',
|
|
14927
|
+
isfilterselected: false
|
|
14928
|
+
}]
|
|
14929
|
+
}, {
|
|
14930
|
+
payloadvalue: 'sortdates',
|
|
14931
|
+
name: lang.dates,
|
|
14932
|
+
filterarray: [{
|
|
14933
|
+
name: lang.recent,
|
|
14934
|
+
value: 'recent',
|
|
14935
|
+
isfilterselected: false
|
|
14936
|
+
}, {
|
|
14937
|
+
name: lang.oldest,
|
|
14938
|
+
value: 'old',
|
|
14939
|
+
isfilterselected: false
|
|
14940
|
+
}]
|
|
14941
|
+
}]),
|
|
14942
|
+
_useState20 = _slicedToArray__default["default"](_useState19, 2);
|
|
14943
|
+
_useState20[0];
|
|
14944
|
+
_useState20[1];
|
|
14945
|
+
React.useEffect(function () {
|
|
14946
|
+
filterupdater();
|
|
14947
|
+
}, []);
|
|
14948
|
+
React.useEffect(function () {
|
|
14949
|
+
if (fetchproductoptionsQueryContext.isSuccess) {
|
|
14950
|
+
var _fetchproductoptionsQ;
|
|
14951
|
+
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));
|
|
14952
|
+
}
|
|
14953
|
+
}, [fetchproductoptionsQueryContext.isSuccess]);
|
|
14954
|
+
React.useEffect(function () {
|
|
14955
|
+
if (fetchCategoriesQueryContext.isSuccess) {
|
|
14956
|
+
var _fetchCategoriesQuery;
|
|
14957
|
+
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));
|
|
14958
|
+
}
|
|
14959
|
+
}, [fetchCategoriesQueryContext.isSuccess]);
|
|
14960
|
+
React.useEffect(function () {
|
|
14961
|
+
if (fetchcollectionsQueryContext.isSuccess) {
|
|
14962
|
+
var _fetchcollectionsQuer;
|
|
14963
|
+
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));
|
|
14964
|
+
}
|
|
14965
|
+
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
14966
|
+
// useEffect(() => {
|
|
14967
|
+
// // setinstfilters([...authdetailsContext.instinfo.instfilters]);
|
|
14968
|
+
// // setinstcollections([...authdetailsContext.instinfo.instcollections]);
|
|
14969
|
+
// // setinstcategories([...authdetailsContext?.instinfo?.instcategories]);
|
|
14970
|
+
// }, [authdetailsContext]);
|
|
14971
|
+
React.useEffect(function () {
|
|
14972
|
+
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
14973
|
+
setsectionproperties(props.sectionpropertiesprops);
|
|
14974
|
+
}
|
|
14975
|
+
}, [props.sectionpropertiesprops]);
|
|
14976
|
+
React.useEffect(function () {
|
|
14977
|
+
filterupdater();
|
|
14978
|
+
}, [ProductFilterObjContext]);
|
|
14979
|
+
React__default["default"].useEffect(function () {
|
|
14980
|
+
if (timeoutRef.current !== null) {
|
|
14981
|
+
clearTimeout(timeoutRef.current);
|
|
14982
|
+
}
|
|
14983
|
+
timeoutRef.current = setTimeout(function () {
|
|
14984
|
+
if (raterangevalue.min != 0 || raterangevalue.max != 5) {
|
|
14985
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
14986
|
+
tempfetchproductsfilerobjcontext.minrate = raterangevalue.min;
|
|
14987
|
+
tempfetchproductsfilerobjcontext.maxrate = raterangevalue.max;
|
|
14988
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
14989
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
14990
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
14991
|
+
}
|
|
14992
|
+
}, 500);
|
|
14993
|
+
}, [raterangevalue]);
|
|
14994
|
+
React.useEffect(function () {
|
|
14995
|
+
if (fetchCategoriesQueryContext.isSuccess && fetchcollectionsQueryContext.isSuccess) {
|
|
14996
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.filterretreivetype) == 'Depend on chosen parent group') {
|
|
14997
|
+
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)) {
|
|
14998
|
+
var _parentidsfound;
|
|
14999
|
+
var collectiontobevisible = [];
|
|
15000
|
+
var parentidsfound = [];
|
|
15001
|
+
if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
|
|
15002
|
+
parentidsfound = ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections;
|
|
15003
|
+
} else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
|
|
15004
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15005
|
+
var _ProductFilterObjCont;
|
|
15006
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont = ProductFilterObjContext.collections) === null || _ProductFilterObjCont === void 0 || _ProductFilterObjCont.forEach(function (colitem2, colindex2) {
|
|
15007
|
+
if (catitem.categoryid == colitem2) {
|
|
15008
|
+
var _catitem$parentcollet;
|
|
15009
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet = catitem.parentcolletions) === null || _catitem$parentcollet === void 0 || _catitem$parentcollet.forEach(function (parentcolitem, parentcolindex) {
|
|
15010
|
+
parentidsfound.push(parentcolitem.parentcollectionid);
|
|
15011
|
+
});
|
|
15012
|
+
}
|
|
15013
|
+
});
|
|
15014
|
+
});
|
|
15015
|
+
} else {
|
|
15016
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15017
|
+
var _catitem$parentcollet2;
|
|
15018
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet2 = catitem.parentcolletions) === null || _catitem$parentcollet2 === void 0 || _catitem$parentcollet2.forEach(function (parentcolitem, parentcolindex) {
|
|
15019
|
+
var _parentcolitem$collec;
|
|
15020
|
+
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec = parentcolitem.collections) === null || _parentcolitem$collec === void 0 || _parentcolitem$collec.forEach(function (colitem, colindex) {
|
|
15021
|
+
var _ProductFilterObjCont2;
|
|
15022
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont2 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont2 === void 0 || _ProductFilterObjCont2.forEach(function (colitem2, colindex2) {
|
|
15023
|
+
if (colitem.collectionid == colitem2) {
|
|
15024
|
+
parentidsfound.push(parentcolitem.parentcollectionid);
|
|
15025
|
+
}
|
|
15026
|
+
});
|
|
15027
|
+
});
|
|
15028
|
+
});
|
|
15029
|
+
});
|
|
15030
|
+
}
|
|
15031
|
+
parentidsfound = parentidsfound.filter(function (val, id, array) {
|
|
15032
|
+
return array.indexOf(val) == id;
|
|
15033
|
+
});
|
|
15034
|
+
if (((_parentidsfound = parentidsfound) === null || _parentidsfound === void 0 ? void 0 : _parentidsfound.length) != 0) {
|
|
15035
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15036
|
+
var _catitem$parentcollet3;
|
|
15037
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet3 = catitem.parentcolletions) === null || _catitem$parentcollet3 === void 0 || _catitem$parentcollet3.forEach(function (parentcolitem, parentcolindex) {
|
|
15038
|
+
var _parentidsfound2;
|
|
15039
|
+
(_parentidsfound2 = parentidsfound) === null || _parentidsfound2 === void 0 || _parentidsfound2.forEach(function (parentidfounditem, parentidfoundindex) {
|
|
15040
|
+
if (parentidfounditem == (parentcolitem === null || parentcolitem === void 0 ? void 0 : parentcolitem.parentcollectionid)) {
|
|
15041
|
+
var _parentcolitem$collec2;
|
|
15042
|
+
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec2 = parentcolitem.collections) === null || _parentcolitem$collec2 === void 0 || _parentcolitem$collec2.forEach(function (colitem, colindex) {
|
|
15043
|
+
var iscolexists = false;
|
|
15044
|
+
collectiontobevisible === null || collectiontobevisible === void 0 || collectiontobevisible.forEach(function (colitemex, colindexex) {
|
|
15045
|
+
if (colitemex.collectionid == colitem.collectionid) {
|
|
15046
|
+
iscolexists = true;
|
|
15047
|
+
}
|
|
15048
|
+
});
|
|
15049
|
+
if (iscolexists == false) {
|
|
15050
|
+
collectiontobevisible.push(colitem);
|
|
15051
|
+
}
|
|
15052
|
+
});
|
|
15053
|
+
}
|
|
15054
|
+
});
|
|
15055
|
+
});
|
|
15056
|
+
});
|
|
15057
|
+
if ((collectiontobevisible === null || collectiontobevisible === void 0 ? void 0 : collectiontobevisible.length) != 0) {
|
|
15058
|
+
setcollectionstobevisible(collectiontobevisible);
|
|
15059
|
+
} else {
|
|
15060
|
+
setcollectionstobevisible(instcollections);
|
|
15061
|
+
}
|
|
15062
|
+
} else {
|
|
15063
|
+
setcollectionstobevisible(instcollections);
|
|
15064
|
+
}
|
|
15065
|
+
} else {
|
|
15066
|
+
setcollectionstobevisible(instcollections);
|
|
15067
|
+
}
|
|
15068
|
+
} else {
|
|
15069
|
+
setcollectionstobevisible(instcollections);
|
|
15070
|
+
}
|
|
15071
|
+
}
|
|
15072
|
+
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcategories, instcollections]);
|
|
15073
|
+
React.useEffect(function () {
|
|
15074
|
+
if (productfeatuesarr.length != 0) {
|
|
15075
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15076
|
+
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
15077
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15078
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15079
|
+
}
|
|
15080
|
+
}, [productfeatuesarr]);
|
|
15081
|
+
React.useEffect(function () {
|
|
15082
|
+
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
15083
|
+
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
15084
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
15085
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
15086
|
+
tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
|
|
15087
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
15088
|
+
}
|
|
15089
|
+
}
|
|
15090
|
+
}, [fetchTabexStatesQueryContext.isSuccess]);
|
|
15091
|
+
var filterupdater = function filterupdater() {
|
|
15092
|
+
setTimeout(function () {
|
|
15093
|
+
var tempFetchQueriesEngineContext = _objectSpread$29({}, FetchQueriesEngineContext);
|
|
15094
|
+
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
15095
|
+
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
15096
|
+
}, 100);
|
|
15097
|
+
if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
|
|
15098
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
15099
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
15100
|
+
tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
|
|
15101
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
15102
|
+
}
|
|
15103
|
+
if (instfilters.length != 0) {
|
|
15104
|
+
var _ProductFilterObjCont3;
|
|
15105
|
+
var tempinstfilters = _toConsumableArray__default["default"](instfilters);
|
|
15106
|
+
tempinstfilters === null || tempinstfilters === void 0 || tempinstfilters.forEach(function (instfilteritem, instfilterindex) {
|
|
15107
|
+
instfilteritem.productvaluesfilter.forEach(function (valefilteritem, valefilteritemindex) {
|
|
15108
|
+
valefilteritem.isfilterselected = false;
|
|
15109
|
+
});
|
|
15110
|
+
});
|
|
15111
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont3 = ProductFilterObjContext.FilterOptions) === null || _ProductFilterObjCont3 === void 0 || _ProductFilterObjCont3.forEach(function (filteritem, filterindex) {
|
|
15112
|
+
tempinstfilters === null || tempinstfilters === void 0 || tempinstfilters.forEach(function (instfilteritem, instfilterindex) {
|
|
15113
|
+
var _instfilteritem$produ;
|
|
15114
|
+
instfilteritem === null || instfilteritem === void 0 || (_instfilteritem$produ = instfilteritem.productvaluesfilter) === null || _instfilteritem$produ === void 0 || _instfilteritem$produ.forEach(function (valefilteritem, valefilteritemindex) {
|
|
15115
|
+
if (filteritem.valueid == valefilteritem.valueid) {
|
|
15116
|
+
valefilteritem.isfilterselected = true;
|
|
15117
|
+
}
|
|
15118
|
+
});
|
|
15119
|
+
});
|
|
15120
|
+
});
|
|
15121
|
+
setinstfilters(_toConsumableArray__default["default"](tempinstfilters));
|
|
15122
|
+
}
|
|
15123
|
+
if (instcategories.length != 0) {
|
|
15124
|
+
var _ProductFilterObjCont4;
|
|
15125
|
+
var tempInstcategories = _toConsumableArray__default["default"](instcategories);
|
|
15126
|
+
tempInstcategories.forEach(function (catitem, catindex) {
|
|
15127
|
+
catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
15128
|
+
parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
15129
|
+
colitem.isfilterselected = false;
|
|
15130
|
+
});
|
|
15131
|
+
});
|
|
15132
|
+
});
|
|
15133
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont4 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont4 === void 0 || _ProductFilterObjCont4.forEach(function (filteritem, filterindex) {
|
|
15134
|
+
tempInstcategories.forEach(function (catitem, catindex) {
|
|
15135
|
+
catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
15136
|
+
parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
15137
|
+
if (colitem.collectionid == filteritem) {
|
|
15138
|
+
colitem.isfilterselected = true;
|
|
15139
|
+
}
|
|
15140
|
+
});
|
|
15141
|
+
});
|
|
15142
|
+
});
|
|
15143
|
+
});
|
|
15144
|
+
setinstcategories(_toConsumableArray__default["default"](tempInstcategories));
|
|
15145
|
+
}
|
|
15146
|
+
if (instcollections.length != 0) {
|
|
15147
|
+
var _ProductFilterObjCont5;
|
|
15148
|
+
var tempInstcollections = _toConsumableArray__default["default"](instcollections);
|
|
15149
|
+
tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
|
|
15150
|
+
instfilteritem.isfilterselected = false;
|
|
15151
|
+
});
|
|
15152
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont5 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont5 === void 0 || _ProductFilterObjCont5.forEach(function (filteritem, filterindex) {
|
|
15153
|
+
tempInstcollections === null || tempInstcollections === void 0 || tempInstcollections.forEach(function (instfilteritem, instfilterindex) {
|
|
15154
|
+
if (instfilteritem.collectionid == filteritem) {
|
|
15155
|
+
instfilteritem.isfilterselected = true;
|
|
15156
|
+
}
|
|
15157
|
+
});
|
|
15158
|
+
});
|
|
15159
|
+
setinstcollections(_toConsumableArray__default["default"](tempInstcollections));
|
|
15160
|
+
}
|
|
15161
|
+
};
|
|
15162
|
+
var setfilterfunc = function setfilterfunc(valueid, valueindex, mainparentindex, type) {
|
|
15163
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15164
|
+
if (type == 'clearfilters') {
|
|
15165
|
+
tempfetchproductsfilerobjcontext.FilterOptions = [];
|
|
15166
|
+
} else {
|
|
15167
|
+
var _tempfetchproductsfil;
|
|
15168
|
+
var FilterExists = false;
|
|
15169
|
+
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.FilterOptions) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
|
|
15170
|
+
if (filteritem.valueid == valueid) {
|
|
15171
|
+
FilterExists = true;
|
|
15172
|
+
tempfetchproductsfilerobjcontext.FilterOptions.splice(filterindex, 1);
|
|
15173
|
+
}
|
|
15174
|
+
});
|
|
15175
|
+
if (!FilterExists) {
|
|
15176
|
+
tempfetchproductsfilerobjcontext.FilterOptions.push({
|
|
15177
|
+
valueid: valueid
|
|
15178
|
+
});
|
|
15179
|
+
}
|
|
15180
|
+
}
|
|
15181
|
+
if (tempfetchproductsfilerobjcontext.FilterOptions.length == 0) {
|
|
15182
|
+
tempfetchproductsfilerobjcontext.isfilter = 0;
|
|
15183
|
+
} else {
|
|
15184
|
+
tempfetchproductsfilerobjcontext.isfilter = 1;
|
|
15185
|
+
}
|
|
15186
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
15187
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15188
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15189
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15190
|
+
};
|
|
15191
|
+
var filter_cssstyles = {
|
|
15192
|
+
form_control: glamor.css((_css = {
|
|
15193
|
+
position: 'relative',
|
|
15194
|
+
display: 'flex',
|
|
15195
|
+
alignItems: 'center'
|
|
15196
|
+
}, _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', {
|
|
15197
|
+
// borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
15198
|
+
borderColor: '#eac435',
|
|
15199
|
+
boxShadow: 'none'
|
|
15200
|
+
}), _css)),
|
|
15201
|
+
collapsetitle: glamor.css({
|
|
15202
|
+
fontSize: sectionproperties.filtertitle_fontsize + 'px',
|
|
15203
|
+
fontWeight: sectionproperties.filtertitle_fontweight,
|
|
15204
|
+
textTransform: sectionproperties.filtertitle_texttransform,
|
|
15205
|
+
color: sectionproperties.filtertitle_color,
|
|
15206
|
+
':hover': {
|
|
15207
|
+
color: sectionproperties.filtertitle_coloronhover
|
|
15208
|
+
}
|
|
15209
|
+
}),
|
|
15210
|
+
titlecontainer: glamor.css({
|
|
15211
|
+
color: sectionproperties.filtertitle_color,
|
|
15212
|
+
':hover .collapsetitle': {
|
|
15213
|
+
color: sectionproperties.filtertitle_coloronhover
|
|
15214
|
+
}
|
|
15215
|
+
}),
|
|
15216
|
+
timeline_text: glamor.css({
|
|
15217
|
+
fontSize: sectionproperties.timeline_text_fontsize + 'px',
|
|
15218
|
+
fontWeight: sectionproperties.timeline_text_fontweight,
|
|
15219
|
+
textTransform: sectionproperties.timeline_text_texttransform,
|
|
15220
|
+
color: sectionproperties.timeline_text_color,
|
|
15221
|
+
transition: '.3s',
|
|
15222
|
+
':hover': {
|
|
15223
|
+
color: sectionproperties.timeline_text_coloronhover
|
|
15224
|
+
}
|
|
15225
|
+
}),
|
|
15226
|
+
btnstyles: glamor.css({
|
|
15227
|
+
color: sectionproperties.generalbtn_textColor,
|
|
15228
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
15229
|
+
textTransform: sectionproperties.generalbtn_texttransform,
|
|
15230
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
15231
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
15232
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
15233
|
+
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
15234
|
+
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
15235
|
+
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
15236
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
15237
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
15238
|
+
transition: '.3s',
|
|
15239
|
+
':hover': {
|
|
15240
|
+
background: sectionproperties.generalbtn_bgColoronhover,
|
|
15241
|
+
color: sectionproperties.generalbtn_textColoronhover
|
|
15242
|
+
}
|
|
15243
|
+
}),
|
|
15244
|
+
close_menu_icon_cont: glamor.css({
|
|
15245
|
+
background: sectionproperties.closeSliderBgColor,
|
|
15246
|
+
width: sectionproperties.closeSliderWidth + 'px',
|
|
15247
|
+
height: sectionproperties.closeSliderHeight + 'px',
|
|
15248
|
+
borderRadius: sectionproperties.closeSlider_borderBottomLeftRadius + 'px',
|
|
15249
|
+
':hover': {
|
|
15250
|
+
background: sectionproperties.closeSliderBgColorHover
|
|
15251
|
+
}
|
|
15252
|
+
}),
|
|
15253
|
+
horizontalfilter_card: glamor.css({
|
|
15254
|
+
marginBottom: sectionproperties.horizontalfilter_mb + 'px',
|
|
15255
|
+
marginTop: sectionproperties.horizontalfilter_mt + 'px',
|
|
15256
|
+
background: sectionproperties.horizontalfilter_cardbg,
|
|
15257
|
+
border: sectionproperties.horizontalfilter_cardborderwidth + 'px solid ' + sectionproperties.horizontalfilter_cardbordercolor,
|
|
15258
|
+
boxShadow: sectionproperties.horizontalfilter_cardboxShadow == 'Show' ? sectionproperties.horizontalfilter_cardboxShadowcolor : 'horizontalfilter_cardboxShadow'
|
|
15259
|
+
}),
|
|
15260
|
+
btn_item: glamor.css({
|
|
15261
|
+
width: '20px',
|
|
15262
|
+
height: '20px',
|
|
15263
|
+
background: sectionproperties.filteritembtn_bgcolor,
|
|
15264
|
+
':hover': {
|
|
15265
|
+
background: sectionproperties.filteritembtn_bghover
|
|
15266
|
+
}
|
|
15267
|
+
}),
|
|
15268
|
+
btn_item_active: glamor.css({
|
|
15269
|
+
background: sectionproperties.btn_item_activebgcolor
|
|
15270
|
+
}),
|
|
15271
|
+
timelineinnercont_active: glamor.css({
|
|
15272
|
+
fontWeight: sectionproperties.activecat_fontweight,
|
|
15273
|
+
color: sectionproperties.activecat_color
|
|
15274
|
+
}),
|
|
15275
|
+
categoryName: glamor.css({
|
|
15276
|
+
color: sectionproperties.filtertitle_color,
|
|
15277
|
+
fontWeight: sectionproperties.filterCatFontWeight,
|
|
15278
|
+
fontSize: sectionproperties.filterCatFontSize + 'px'
|
|
15279
|
+
}),
|
|
15280
|
+
pCollectionName: glamor.css({
|
|
15281
|
+
color: sectionproperties.filtertitle_color,
|
|
15282
|
+
fontWeight: sectionproperties.filterPCollFontWeight,
|
|
15283
|
+
fontSize: sectionproperties.filterPCollFontSize + 'px'
|
|
15284
|
+
}),
|
|
15285
|
+
explorebtn: glamor.css({
|
|
15286
|
+
fontSize: sectionproperties.explorebtnfontsize + 'px',
|
|
15287
|
+
fontWeight: 600,
|
|
15288
|
+
color: sectionproperties.explorebtncolor,
|
|
15289
|
+
transition: '.3s',
|
|
15290
|
+
':hover': {
|
|
15291
|
+
color: sectionproperties.explorebtncoloronhover
|
|
15292
|
+
}
|
|
15293
|
+
}),
|
|
15294
|
+
showallbtn: glamor.css({
|
|
15295
|
+
color: sectionproperties.showallcolor,
|
|
15296
|
+
':hover': {
|
|
15297
|
+
transition: '.3s',
|
|
15298
|
+
cursor: 'pointer',
|
|
15299
|
+
color: sectionproperties.showallcolorhover
|
|
15300
|
+
}
|
|
15301
|
+
}),
|
|
15302
|
+
sectiontitle: glamor.css({
|
|
15303
|
+
position: 'relative',
|
|
15304
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
15305
|
+
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
15306
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
15307
|
+
'@media (max-width: 800px)': {
|
|
15308
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
15309
|
+
}
|
|
15310
|
+
})
|
|
15311
|
+
};
|
|
15312
|
+
var filterrouting = function filterrouting(tempfetchproductsfilerobjcontext) {
|
|
15313
|
+
var path = window.location.pathname.split('/');
|
|
15314
|
+
var currentpagepath = path[1];
|
|
15315
|
+
var pagenamepathinstaticpagelinkcont = '';
|
|
15316
|
+
for (var key in StaticPagesLinksContext) {
|
|
15317
|
+
if (StaticPagesLinksContext[key] == currentpagepath) {
|
|
15318
|
+
pagenamepathinstaticpagelinkcont = key;
|
|
15319
|
+
}
|
|
15320
|
+
}
|
|
15321
|
+
if (pagenamepathinstaticpagelinkcont != undefined && pagenamepathinstaticpagelinkcont != '') {
|
|
15322
|
+
routingcountext(StaticPagesLinksContext[pagenamepathinstaticpagelinkcont], true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15323
|
+
}
|
|
15324
|
+
};
|
|
15325
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15326
|
+
className: 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none',
|
|
15327
|
+
style: {
|
|
15328
|
+
marginTop: sectionproperties.filtersection_mt + 'px'
|
|
15329
|
+
}
|
|
15330
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
15331
|
+
allowMultipleExpanded: true,
|
|
15332
|
+
allowZeroExpanded: true
|
|
15333
|
+
}, instfilters.map(function (item, index) {
|
|
15334
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
15335
|
+
uuid: index
|
|
15336
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15337
|
+
className: filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '
|
|
15338
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15339
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
15340
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15341
|
+
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 ' : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
|
|
15342
|
+
}, langdetect == 'en' ? item.optionname : item.optionname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15343
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
15344
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
15345
|
+
if (state.expanded == true) {
|
|
15346
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15347
|
+
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
15348
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
|
|
15349
|
+
} else {
|
|
15350
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15351
|
+
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
15352
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
|
|
15353
|
+
}
|
|
15354
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
15355
|
+
className: "p-0"
|
|
15356
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15357
|
+
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
|
|
15358
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15359
|
+
className: 'col-lg-12'
|
|
15360
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15361
|
+
className: langdetect == 'en' ? "".concat(filterstyles.timeline) + ' p-sm-0 ' : "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 '
|
|
15362
|
+
}, item.productvaluesfilter.map(function (valueitem, valueindex) {
|
|
15363
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15364
|
+
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 ',
|
|
15365
|
+
onClick: function onClick() {
|
|
15366
|
+
setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
15367
|
+
}
|
|
15368
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15369
|
+
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 '
|
|
15370
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15371
|
+
className: "h-100 d-flex align-items-center"
|
|
15372
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15373
|
+
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
15374
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15375
|
+
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
15376
|
+
style: {
|
|
15377
|
+
color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
|
|
15378
|
+
}
|
|
15379
|
+
}, langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar)));
|
|
15380
|
+
})))))), /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
15381
|
+
className: "mt-3 mb-3"
|
|
15382
|
+
}));
|
|
15383
|
+
})));
|
|
15384
|
+
};
|
|
15385
|
+
|
|
15386
|
+
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; }
|
|
15387
|
+
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
15388
|
var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
14844
15389
|
var _authdetailsContext$i;
|
|
14845
15390
|
props.actions.lang;
|
|
@@ -14969,7 +15514,7 @@
|
|
|
14969
15514
|
}, [ProductFilterObjContext]);
|
|
14970
15515
|
var filterupdater = function filterupdater() {
|
|
14971
15516
|
setTimeout(function () {
|
|
14972
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
15517
|
+
var tempFetchQueriesEngineContext = _objectSpread$28({}, FetchQueriesEngineContext);
|
|
14973
15518
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
14974
15519
|
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
14975
15520
|
}, 100);
|
|
@@ -15014,7 +15559,7 @@
|
|
|
15014
15559
|
};
|
|
15015
15560
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
15016
15561
|
var _tempfetchproductsfil;
|
|
15017
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
15562
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$28({}, ProductFilterObjContext);
|
|
15018
15563
|
var CollectionExists = false;
|
|
15019
15564
|
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
|
|
15020
15565
|
if (filteritem == collectionid) {
|
|
@@ -15031,7 +15576,7 @@
|
|
|
15031
15576
|
}
|
|
15032
15577
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
15033
15578
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
15034
|
-
setProductFilterObjContext(_objectSpread$
|
|
15579
|
+
setProductFilterObjContext(_objectSpread$28({}, tempfetchproductsfilerobjcontext));
|
|
15035
15580
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15036
15581
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15037
15582
|
};
|
|
@@ -15088,9 +15633,14 @@
|
|
|
15088
15633
|
var serverbaselink$1 = 'https://tabex-co.com';
|
|
15089
15634
|
var image_serverbaselink = 'https://tabexseriesmedia.s3.eu-north-1.amazonaws.com';
|
|
15090
15635
|
|
|
15091
|
-
function ownKeys$
|
|
15092
|
-
function _objectSpread$
|
|
15636
|
+
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; }
|
|
15637
|
+
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
15638
|
var CardsSection = function CardsSection(props) {
|
|
15639
|
+
var plainString = function plainString(html) {
|
|
15640
|
+
var divContainer = document.createElement('div');
|
|
15641
|
+
divContainer.innerHTML = html;
|
|
15642
|
+
return divContainer.textContent || divContainer.innerText || '';
|
|
15643
|
+
};
|
|
15094
15644
|
var refscr = /*#__PURE__*/React.createRef();
|
|
15095
15645
|
var _useInView = reactIntersectionObserver.useInView();
|
|
15096
15646
|
_useInView.ref;
|
|
@@ -15149,11 +15699,6 @@
|
|
|
15149
15699
|
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
15150
15700
|
maincontainerarrayofobjs = _useState12[0],
|
|
15151
15701
|
setmaincontainerarrayofobjs = _useState12[1];
|
|
15152
|
-
// React.useEffect(() => {
|
|
15153
|
-
// if (inView) {
|
|
15154
|
-
// fetchProductsQuery.fetchNextPage();
|
|
15155
|
-
// }
|
|
15156
|
-
// }, [inView]);
|
|
15157
15702
|
var _useState13 = React.useState(12),
|
|
15158
15703
|
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
15159
15704
|
perpageItems = _useState14[0],
|
|
@@ -15176,7 +15721,7 @@
|
|
|
15176
15721
|
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
15177
15722
|
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
15178
15723
|
});
|
|
15179
|
-
setsectionproperties(_objectSpread$
|
|
15724
|
+
setsectionproperties(_objectSpread$27({}, secpropobj));
|
|
15180
15725
|
if (props.srcfromprops == 'GeneralProductsComponent') {
|
|
15181
15726
|
setfetchingtype('products');
|
|
15182
15727
|
var lcproductfetchingtype = 'Random';
|
|
@@ -15250,9 +15795,9 @@
|
|
|
15250
15795
|
}
|
|
15251
15796
|
tempfetchproductsfilerobjcontext.grouptype = ProductsFetchingTypeSectionObj.grouptype;
|
|
15252
15797
|
tempfetchproductsfilerobjcontext.grouptyperefid = ProductsFetchingTypeSectionObj.grouptyperefid;
|
|
15253
|
-
setProductFilterObjContext(_objectSpread$
|
|
15798
|
+
setProductFilterObjContext(_objectSpread$27({}, tempfetchproductsfilerobjcontext));
|
|
15254
15799
|
}
|
|
15255
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
15800
|
+
setFetchQueriesEngineContext(_objectSpread$27({}, tempFetchQueriesEngineContext));
|
|
15256
15801
|
}
|
|
15257
15802
|
}, [fetchingtype, ProductsFetchingTypeSectionObj]);
|
|
15258
15803
|
React.useEffect(function () {
|
|
@@ -15535,9 +16080,9 @@
|
|
|
15535
16080
|
// Example items, to simulate fetching from another resources.
|
|
15536
16081
|
var handlePageClick = function handlePageClick(event) {
|
|
15537
16082
|
props.scrolltotop();
|
|
15538
|
-
var tempProductFilterObjContext = _objectSpread$
|
|
16083
|
+
var tempProductFilterObjContext = _objectSpread$27({}, ProductFilterObjContext);
|
|
15539
16084
|
tempProductFilterObjContext.page = event === null || event === void 0 ? void 0 : event.selected;
|
|
15540
|
-
setProductFilterObjContext(_objectSpread$
|
|
16085
|
+
setProductFilterObjContext(_objectSpread$27({}, tempProductFilterObjContext));
|
|
15541
16086
|
var pasturl = '';
|
|
15542
16087
|
if (props.grouptypeprops != undefined) {
|
|
15543
16088
|
if (props.collectionidprops != undefined) {
|
|
@@ -15807,9 +16352,69 @@
|
|
|
15807
16352
|
}
|
|
15808
16353
|
return isloading;
|
|
15809
16354
|
};
|
|
16355
|
+
var show_product_group_titles = function show_product_group_titles() {
|
|
16356
|
+
var title_en = '';
|
|
16357
|
+
var title_ar = '';
|
|
16358
|
+
var description_en = '';
|
|
16359
|
+
var description_ar = '';
|
|
16360
|
+
var logo = '';
|
|
16361
|
+
var type = '';
|
|
16362
|
+
var id = '';
|
|
16363
|
+
if (ProductFilterObjContext['collections'] != undefined && Array.isArray(ProductFilterObjContext['collections']) && ProductFilterObjContext['collections'][0] != undefined) {
|
|
16364
|
+
id = ProductFilterObjContext['collections'][0];
|
|
16365
|
+
}
|
|
16366
|
+
if (id != null && id != '' && id != 'all') {
|
|
16367
|
+
var _fetchCategoriesQuery4;
|
|
16368
|
+
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) {
|
|
16369
|
+
if (catitem.categoryid == id) {
|
|
16370
|
+
title_en = catitem.title_en;
|
|
16371
|
+
title_ar = catitem.title_ar;
|
|
16372
|
+
description_en = catitem.description_en;
|
|
16373
|
+
description_ar = catitem.description_ar;
|
|
16374
|
+
logo = catitem.categorylogo;
|
|
16375
|
+
type = 'category';
|
|
16376
|
+
}
|
|
16377
|
+
if (title_en == '') {
|
|
16378
|
+
var _catitem$parentcollet;
|
|
16379
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet = catitem.parentcolletions) === null || _catitem$parentcollet === void 0 || _catitem$parentcollet.map(function (parentitem) {
|
|
16380
|
+
if (parentitem.parentcollectionid == id) {
|
|
16381
|
+
title_en = parentitem.title_en;
|
|
16382
|
+
title_ar = parentitem.title_ar;
|
|
16383
|
+
description_en = parentitem.description_en;
|
|
16384
|
+
description_ar = parentitem.description_ar;
|
|
16385
|
+
logo = parentitem.parentcollectionlogo;
|
|
16386
|
+
type = 'parentcollection';
|
|
16387
|
+
}
|
|
16388
|
+
if (title_en == '') {
|
|
16389
|
+
var _parentitem$collectio;
|
|
16390
|
+
parentitem === null || parentitem === void 0 || (_parentitem$collectio = parentitem.collections) === null || _parentitem$collectio === void 0 || _parentitem$collectio.map(function (colitem) {
|
|
16391
|
+
if (colitem.collectionid == id) {
|
|
16392
|
+
title_en = colitem.title_en;
|
|
16393
|
+
title_ar = colitem.title_ar;
|
|
16394
|
+
description_en = colitem.description_en;
|
|
16395
|
+
description_ar = colitem.description_ar;
|
|
16396
|
+
logo = colitem.collectionlogo;
|
|
16397
|
+
type = 'collection';
|
|
16398
|
+
}
|
|
16399
|
+
});
|
|
16400
|
+
}
|
|
16401
|
+
});
|
|
16402
|
+
}
|
|
16403
|
+
});
|
|
16404
|
+
}
|
|
16405
|
+
return {
|
|
16406
|
+
title_en: title_en,
|
|
16407
|
+
title_ar: title_ar,
|
|
16408
|
+
description_en: description_en,
|
|
16409
|
+
description_ar: description_ar,
|
|
16410
|
+
type: type,
|
|
16411
|
+
id: id,
|
|
16412
|
+
logo: logo
|
|
16413
|
+
};
|
|
16414
|
+
};
|
|
15810
16415
|
var cardsrender = function cardsrender() {
|
|
15811
16416
|
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'
|
|
16417
|
+
"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
16418
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15814
16419
|
className: "row m-0 w-100 d-flex align-items-center p-sm-0"
|
|
15815
16420
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -16056,7 +16661,10 @@
|
|
|
16056
16661
|
// ? 'scrollmenuclassnameitemModernProductCard'
|
|
16057
16662
|
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
16058
16663
|
// ? 'scrollmenuclassnameitemSimplecategorycardwithtextbelow'
|
|
16059
|
-
item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' :
|
|
16664
|
+
item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' :
|
|
16665
|
+
// : item.tabexsectioninfo.sectioncompname == 'Card23'
|
|
16666
|
+
// ? 'scrollmenuclassnameitemCard23'
|
|
16667
|
+
item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'ModernCardWithQuantityButton' ? 'scrollmenuclassnameitemModernCardWithQuantityButton' : item.tabexsectioninfo.sectioncompname == 'CategoryCardwithhoveraction' ? 'scrollmenuclassnameitemCategoryCardwithhoveraction' : item.tabexsectioninfo.sectioncompname == 'CircleCardWithVariants' ? 'scrollmenuclassnameitemCircleCardWithVariants' :
|
|
16060
16668
|
// : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard'
|
|
16061
16669
|
// ? 'scrollmenuclassnameitemUpSlideEffectCard'
|
|
16062
16670
|
item.tabexsectioninfo.sectioncompname == 'CategoryCardTextOnImage' ? 'scrollmenuclassnameitemCategoryCardTextOnImage' : '',
|
|
@@ -16327,18 +16935,42 @@
|
|
|
16327
16935
|
}
|
|
16328
16936
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16329
16937
|
"class": section_cssstyles.innercardssection + ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 '
|
|
16330
|
-
}, sectionproperties.
|
|
16938
|
+
}, sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16939
|
+
"class": "col-lg-12 mb-3 mt-5"
|
|
16940
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16941
|
+
"class": "m-0",
|
|
16942
|
+
style: {
|
|
16943
|
+
fontWeight: 700,
|
|
16944
|
+
fontSize: 27,
|
|
16945
|
+
color: '#62554a'
|
|
16946
|
+
}
|
|
16947
|
+
}, show_product_group_titles()['title_en'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16948
|
+
"class": "col-lg-12 mb-3"
|
|
16949
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16950
|
+
"class": "m-0",
|
|
16951
|
+
style: {
|
|
16952
|
+
fontSize: 18,
|
|
16953
|
+
color: '#62554a'
|
|
16954
|
+
}
|
|
16955
|
+
}, plainString(show_product_group_titles()['description_en']))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16331
16956
|
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex p-0' : sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'
|
|
16332
16957
|
}, /*#__PURE__*/React__default["default"].createElement(Filter$1, {
|
|
16333
16958
|
sectionpropertiesprops: sectionproperties,
|
|
16334
16959
|
actions: actions,
|
|
16335
16960
|
openFilterSlider: openFilterSlider,
|
|
16336
16961
|
setopenFilterSlider: setopenFilterSlider
|
|
16962
|
+
})), sectionproperties.showvariantfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16963
|
+
className: 'col-lg-3 d-flex'
|
|
16964
|
+
}, /*#__PURE__*/React__default["default"].createElement(VariantFilter, {
|
|
16965
|
+
sectionpropertiesprops: sectionproperties,
|
|
16966
|
+
actions: actions,
|
|
16967
|
+
openFilterSlider: openFilterSlider,
|
|
16968
|
+
setopenFilterSlider: setopenFilterSlider
|
|
16337
16969
|
})), fetchingtype == 'custom' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, cardsrender()), fetchingtype != 'custom' && cardsrender()));
|
|
16338
16970
|
};
|
|
16339
16971
|
|
|
16340
|
-
function ownKeys$
|
|
16341
|
-
function _objectSpread$
|
|
16972
|
+
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; }
|
|
16973
|
+
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
16974
|
var InnerGroups = function InnerGroups(props) {
|
|
16343
16975
|
var _useState = React.useState(''),
|
|
16344
16976
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -16379,7 +17011,7 @@
|
|
|
16379
17011
|
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
17012
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16381
17013
|
});
|
|
16382
|
-
setsectionproperties(_objectSpread$
|
|
17014
|
+
setsectionproperties(_objectSpread$26({}, secpropobj));
|
|
16383
17015
|
}
|
|
16384
17016
|
}, [StatePagePropertiesContext]);
|
|
16385
17017
|
// useEffect(() => {
|
|
@@ -16395,14 +17027,14 @@
|
|
|
16395
17027
|
backgroundColor: sectionproperties.backgroundColor
|
|
16396
17028
|
}
|
|
16397
17029
|
}, /*#__PURE__*/React__default["default"].createElement(CardsSection, {
|
|
16398
|
-
actions: _objectSpread$
|
|
17030
|
+
actions: _objectSpread$26(_objectSpread$26({}, actions), {}, {
|
|
16399
17031
|
fetchingtype: grouptypeparams
|
|
16400
17032
|
})
|
|
16401
17033
|
}));
|
|
16402
17034
|
};
|
|
16403
17035
|
|
|
16404
|
-
function ownKeys$
|
|
16405
|
-
function _objectSpread$
|
|
17036
|
+
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; }
|
|
17037
|
+
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
17038
|
var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
16407
17039
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16408
17040
|
var _useState = React.useState(''),
|
|
@@ -16433,7 +17065,7 @@
|
|
|
16433
17065
|
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
17066
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16435
17067
|
});
|
|
16436
|
-
setsectionproperties(_objectSpread$
|
|
17068
|
+
setsectionproperties(_objectSpread$25({}, secpropobj));
|
|
16437
17069
|
}
|
|
16438
17070
|
}, [StatePagePropertiesContext]);
|
|
16439
17071
|
React.useEffect(function () {
|
|
@@ -16446,9 +17078,9 @@
|
|
|
16446
17078
|
}
|
|
16447
17079
|
}, []);
|
|
16448
17080
|
React.useEffect(function () {
|
|
16449
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17081
|
+
var tempFetchQueriesEngineContext = _objectSpread$25({}, FetchQueriesEngineContext);
|
|
16450
17082
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16451
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17083
|
+
setFetchQueriesEngineContext(_objectSpread$25({}, tempFetchQueriesEngineContext));
|
|
16452
17084
|
}, []);
|
|
16453
17085
|
var _useState7 = React.useState([]),
|
|
16454
17086
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
@@ -16524,8 +17156,8 @@
|
|
|
16524
17156
|
})))));
|
|
16525
17157
|
};
|
|
16526
17158
|
|
|
16527
|
-
function ownKeys$
|
|
16528
|
-
function _objectSpread$
|
|
17159
|
+
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; }
|
|
17160
|
+
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
17161
|
var RefundPolicy = function RefundPolicy(props) {
|
|
16530
17162
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16531
17163
|
var _useState = React.useState(''),
|
|
@@ -16556,7 +17188,7 @@
|
|
|
16556
17188
|
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
17189
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16558
17190
|
});
|
|
16559
|
-
setsectionproperties(_objectSpread$
|
|
17191
|
+
setsectionproperties(_objectSpread$24({}, secpropobj));
|
|
16560
17192
|
}
|
|
16561
17193
|
}, [StatePagePropertiesContext]);
|
|
16562
17194
|
React.useEffect(function () {
|
|
@@ -16569,9 +17201,9 @@
|
|
|
16569
17201
|
}
|
|
16570
17202
|
}, []);
|
|
16571
17203
|
React.useEffect(function () {
|
|
16572
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17204
|
+
var tempFetchQueriesEngineContext = _objectSpread$24({}, FetchQueriesEngineContext);
|
|
16573
17205
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16574
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17206
|
+
setFetchQueriesEngineContext(_objectSpread$24({}, tempFetchQueriesEngineContext));
|
|
16575
17207
|
}, []);
|
|
16576
17208
|
var _useState7 = React.useState([]),
|
|
16577
17209
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
@@ -16647,8 +17279,8 @@
|
|
|
16647
17279
|
})))));
|
|
16648
17280
|
};
|
|
16649
17281
|
|
|
16650
|
-
function ownKeys$
|
|
16651
|
-
function _objectSpread$
|
|
17282
|
+
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; }
|
|
17283
|
+
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
17284
|
var ShippingPolicy = function ShippingPolicy(props) {
|
|
16653
17285
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16654
17286
|
var _useState = React.useState(''),
|
|
@@ -16679,7 +17311,7 @@
|
|
|
16679
17311
|
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
17312
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16681
17313
|
});
|
|
16682
|
-
setsectionproperties(_objectSpread$
|
|
17314
|
+
setsectionproperties(_objectSpread$23({}, secpropobj));
|
|
16683
17315
|
}
|
|
16684
17316
|
}, [StatePagePropertiesContext]);
|
|
16685
17317
|
React.useEffect(function () {
|
|
@@ -16692,9 +17324,9 @@
|
|
|
16692
17324
|
}
|
|
16693
17325
|
}, []);
|
|
16694
17326
|
React.useEffect(function () {
|
|
16695
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17327
|
+
var tempFetchQueriesEngineContext = _objectSpread$23({}, FetchQueriesEngineContext);
|
|
16696
17328
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16697
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17329
|
+
setFetchQueriesEngineContext(_objectSpread$23({}, tempFetchQueriesEngineContext));
|
|
16698
17330
|
}, []);
|
|
16699
17331
|
var _useState7 = React.useState([]),
|
|
16700
17332
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
@@ -16770,8 +17402,8 @@
|
|
|
16770
17402
|
})))));
|
|
16771
17403
|
};
|
|
16772
17404
|
|
|
16773
|
-
function ownKeys$
|
|
16774
|
-
function _objectSpread$
|
|
17405
|
+
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; }
|
|
17406
|
+
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
17407
|
var TermsConditions = function TermsConditions(props) {
|
|
16776
17408
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16777
17409
|
var _useState = React.useState(''),
|
|
@@ -16802,7 +17434,7 @@
|
|
|
16802
17434
|
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
17435
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16804
17436
|
});
|
|
16805
|
-
setsectionproperties(_objectSpread$
|
|
17437
|
+
setsectionproperties(_objectSpread$22({}, secpropobj));
|
|
16806
17438
|
}
|
|
16807
17439
|
}, [StatePagePropertiesContext]);
|
|
16808
17440
|
React.useEffect(function () {
|
|
@@ -16815,9 +17447,9 @@
|
|
|
16815
17447
|
}
|
|
16816
17448
|
}, []);
|
|
16817
17449
|
React.useEffect(function () {
|
|
16818
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17450
|
+
var tempFetchQueriesEngineContext = _objectSpread$22({}, FetchQueriesEngineContext);
|
|
16819
17451
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16820
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17452
|
+
setFetchQueriesEngineContext(_objectSpread$22({}, tempFetchQueriesEngineContext));
|
|
16821
17453
|
}, []);
|
|
16822
17454
|
var _useState7 = React.useState([]),
|
|
16823
17455
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
@@ -16893,8 +17525,8 @@
|
|
|
16893
17525
|
})))));
|
|
16894
17526
|
};
|
|
16895
17527
|
|
|
16896
|
-
function ownKeys$
|
|
16897
|
-
function _objectSpread$
|
|
17528
|
+
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; }
|
|
17529
|
+
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
17530
|
var Resetpassword = function Resetpassword(props) {
|
|
16899
17531
|
var _css, _css2;
|
|
16900
17532
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -16945,7 +17577,7 @@
|
|
|
16945
17577
|
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
17578
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16947
17579
|
});
|
|
16948
|
-
setsectionproperties(_objectSpread$
|
|
17580
|
+
setsectionproperties(_objectSpread$21({}, secpropobj));
|
|
16949
17581
|
}
|
|
16950
17582
|
}, [StatePagePropertiesContext]);
|
|
16951
17583
|
React.useEffect(function () {
|
|
@@ -17072,9 +17704,9 @@
|
|
|
17072
17704
|
className: "".concat(loginstyles2.form_control),
|
|
17073
17705
|
value: forgotpasswordpayload.email,
|
|
17074
17706
|
onChange: function onChange(event) {
|
|
17075
|
-
var temppayloadobj = _objectSpread$
|
|
17707
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17076
17708
|
temppayloadobj.email = event.target.value;
|
|
17077
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17709
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17078
17710
|
},
|
|
17079
17711
|
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
17080
17712
|
style: {
|
|
@@ -17089,9 +17721,9 @@
|
|
|
17089
17721
|
className: "".concat(loginstyles2.form_control),
|
|
17090
17722
|
value: forgotpasswordpayload.code,
|
|
17091
17723
|
onChange: function onChange(event) {
|
|
17092
|
-
var temppayloadobj = _objectSpread$
|
|
17724
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17093
17725
|
temppayloadobj.code = event.target.value;
|
|
17094
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17726
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17095
17727
|
},
|
|
17096
17728
|
style: {
|
|
17097
17729
|
background: sectionproperties.input_bgcolor
|
|
@@ -17105,9 +17737,9 @@
|
|
|
17105
17737
|
className: "".concat(loginstyles2.form_control),
|
|
17106
17738
|
value: forgotpasswordpayload.newpassword,
|
|
17107
17739
|
onChange: function onChange(event) {
|
|
17108
|
-
var temppayloadobj = _objectSpread$
|
|
17740
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17109
17741
|
temppayloadobj.newpassword = event.target.value;
|
|
17110
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17742
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17111
17743
|
},
|
|
17112
17744
|
style: {
|
|
17113
17745
|
background: sectionproperties.input_bgcolor
|
|
@@ -17121,9 +17753,9 @@
|
|
|
17121
17753
|
className: "".concat(loginstyles2.form_control),
|
|
17122
17754
|
value: forgotpasswordpayload.confirmnewpassword,
|
|
17123
17755
|
onChange: function onChange(event) {
|
|
17124
|
-
var temppayloadobj = _objectSpread$
|
|
17756
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17125
17757
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
17126
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17758
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17127
17759
|
},
|
|
17128
17760
|
style: {
|
|
17129
17761
|
background: sectionproperties.input_bgcolor
|
|
@@ -17135,7 +17767,7 @@
|
|
|
17135
17767
|
onClick: function onClick() {
|
|
17136
17768
|
if (forgotpasswordpayload.email.length != 0) {
|
|
17137
17769
|
var runfunc = false;
|
|
17138
|
-
var tempforgotpasswordpayload = _objectSpread$
|
|
17770
|
+
var tempforgotpasswordpayload = _objectSpread$21({}, forgotpasswordpayload);
|
|
17139
17771
|
tempforgotpasswordpayload.functype = forgetpasswordstage;
|
|
17140
17772
|
if (forgetpasswordstage == 'verify') {
|
|
17141
17773
|
if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
|
|
@@ -17421,8 +18053,8 @@
|
|
|
17421
18053
|
}, lang.nosearchresults)))))));
|
|
17422
18054
|
};
|
|
17423
18055
|
|
|
17424
|
-
function ownKeys$
|
|
17425
|
-
function _objectSpread$
|
|
18056
|
+
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; }
|
|
18057
|
+
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
18058
|
var MarqueeHeader = function MarqueeHeader(props) {
|
|
17427
18059
|
var _textarray$, _textarray$2;
|
|
17428
18060
|
props.actions;
|
|
@@ -17443,12 +18075,12 @@
|
|
|
17443
18075
|
settextarray = _useState6[1];
|
|
17444
18076
|
React.useEffect(function () {
|
|
17445
18077
|
if (props.sectionpropertiesprops != undefined) {
|
|
17446
|
-
setsectionproperties(_objectSpread$
|
|
18078
|
+
setsectionproperties(_objectSpread$20({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
17447
18079
|
}
|
|
17448
18080
|
}, [props.sectionpropertiesprops]);
|
|
17449
18081
|
React.useEffect(function () {
|
|
17450
18082
|
if (props.templateproperties_contextprops != undefined) {
|
|
17451
|
-
settemplateproperties_context(_objectSpread$
|
|
18083
|
+
settemplateproperties_context(_objectSpread$20({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
17452
18084
|
}
|
|
17453
18085
|
}, [props.templateproperties_contextprops]);
|
|
17454
18086
|
React.useEffect(function () {
|
|
@@ -17490,8 +18122,8 @@
|
|
|
17490
18122
|
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
18123
|
styleInject(css_248z$B);
|
|
17492
18124
|
|
|
17493
|
-
function ownKeys$
|
|
17494
|
-
function _objectSpread$
|
|
18125
|
+
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; }
|
|
18126
|
+
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
18127
|
var Subheader = function Subheader(props) {
|
|
17496
18128
|
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
18129
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
@@ -17528,12 +18160,12 @@
|
|
|
17528
18160
|
React.useEffect(function () {
|
|
17529
18161
|
var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
|
|
17530
18162
|
tempFetchQueriesEngineContext.categories = true;
|
|
17531
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
18163
|
+
setFetchQueriesEngineContext(_objectSpread$1$({}, tempFetchQueriesEngineContext));
|
|
17532
18164
|
// alert(JSON.stringify(authdetailsContext));
|
|
17533
18165
|
}, []);
|
|
17534
18166
|
React.useEffect(function () {
|
|
17535
18167
|
if (props.sectionpropertiesprops != undefined) {
|
|
17536
|
-
setsectionproperties(_objectSpread$
|
|
18168
|
+
setsectionproperties(_objectSpread$1$({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
17537
18169
|
}
|
|
17538
18170
|
}, [props.sectionpropertiesprops]);
|
|
17539
18171
|
// useEffect(() => {
|
|
@@ -18037,8 +18669,8 @@
|
|
|
18037
18669
|
})))))));
|
|
18038
18670
|
};
|
|
18039
18671
|
|
|
18040
|
-
function ownKeys$
|
|
18041
|
-
function _objectSpread$
|
|
18672
|
+
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; }
|
|
18673
|
+
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
18674
|
var Headerresponsive = function Headerresponsive(props) {
|
|
18043
18675
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _fetchCategoriesQuery2, _authdetailsContext$i9;
|
|
18044
18676
|
var actions = props.actions;
|
|
@@ -18073,7 +18705,7 @@
|
|
|
18073
18705
|
setpcollarray = _useState6[1];
|
|
18074
18706
|
React.useEffect(function () {
|
|
18075
18707
|
if (props.sectionpropertiesprops != undefined) {
|
|
18076
|
-
setsectionproperties(_objectSpread$
|
|
18708
|
+
setsectionproperties(_objectSpread$1_({}, props.sectionpropertiesprops));
|
|
18077
18709
|
}
|
|
18078
18710
|
}, [props.sectionpropertiesprops]);
|
|
18079
18711
|
var _useState7 = React.useState([]),
|
|
@@ -19295,8 +19927,8 @@
|
|
|
19295
19927
|
})))))));
|
|
19296
19928
|
};
|
|
19297
19929
|
|
|
19298
|
-
function ownKeys$
|
|
19299
|
-
function _objectSpread$
|
|
19930
|
+
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; }
|
|
19931
|
+
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
19932
|
var DownloadApp = function DownloadApp(props) {
|
|
19301
19933
|
props.actions;
|
|
19302
19934
|
props.actions.lang;
|
|
@@ -19321,7 +19953,7 @@
|
|
|
19321
19953
|
}, [sectionproperties]);
|
|
19322
19954
|
React.useEffect(function () {
|
|
19323
19955
|
if (props.sectionpropertiesprops != undefined) {
|
|
19324
|
-
setsectionproperties(_objectSpread$
|
|
19956
|
+
setsectionproperties(_objectSpread$1Z({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
19325
19957
|
}
|
|
19326
19958
|
}, [props.sectionpropertiesprops]);
|
|
19327
19959
|
var header_cssstyles = {
|
|
@@ -19374,8 +20006,8 @@
|
|
|
19374
20006
|
}))));
|
|
19375
20007
|
};
|
|
19376
20008
|
|
|
19377
|
-
function ownKeys$
|
|
19378
|
-
function _objectSpread$
|
|
20009
|
+
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; }
|
|
20010
|
+
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
20011
|
var SocialMediaSection = function SocialMediaSection(props) {
|
|
19380
20012
|
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13;
|
|
19381
20013
|
props.actions;
|
|
@@ -19391,12 +20023,12 @@
|
|
|
19391
20023
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
19392
20024
|
React.useEffect(function () {
|
|
19393
20025
|
if (props.sectionpropertiesprops != undefined) {
|
|
19394
|
-
setsectionproperties(_objectSpread$
|
|
20026
|
+
setsectionproperties(_objectSpread$1Y({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
19395
20027
|
}
|
|
19396
20028
|
}, [props.sectionpropertiesprops]);
|
|
19397
20029
|
React.useEffect(function () {
|
|
19398
20030
|
if (props.templateproperties_contextprops != undefined) {
|
|
19399
|
-
settemplateproperties_context(_objectSpread$
|
|
20031
|
+
settemplateproperties_context(_objectSpread$1Y({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
19400
20032
|
}
|
|
19401
20033
|
}, [props.templateproperties_contextprops]);
|
|
19402
20034
|
var header_cssstyles = {
|
|
@@ -19482,8 +20114,8 @@
|
|
|
19482
20114
|
})));
|
|
19483
20115
|
};
|
|
19484
20116
|
|
|
19485
|
-
function ownKeys$
|
|
19486
|
-
function _objectSpread$
|
|
20117
|
+
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; }
|
|
20118
|
+
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
20119
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
19488
20120
|
var _css, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _fetchCategoriesQuery2, _authdetailsContext$i2;
|
|
19489
20121
|
var actions = props.actions;
|
|
@@ -19522,7 +20154,7 @@
|
|
|
19522
20154
|
setopenSearch = _useState8[1];
|
|
19523
20155
|
React.useEffect(function () {
|
|
19524
20156
|
if (props.sectionpropertiesprops != undefined) {
|
|
19525
|
-
setsectionproperties(_objectSpread$
|
|
20157
|
+
setsectionproperties(_objectSpread$1X({}, props.sectionpropertiesprops));
|
|
19526
20158
|
}
|
|
19527
20159
|
}, [props.sectionpropertiesprops]);
|
|
19528
20160
|
var _useState9 = React.useState([]),
|
|
@@ -20773,8 +21405,8 @@
|
|
|
20773
21405
|
})))))));
|
|
20774
21406
|
};
|
|
20775
21407
|
|
|
20776
|
-
function ownKeys$
|
|
20777
|
-
function _objectSpread$
|
|
21408
|
+
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; }
|
|
21409
|
+
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
21410
|
var ElegantHeader = function ElegantHeader(props) {
|
|
20779
21411
|
var _authdetailsContext$i, _authdetailsContext$i3, _textarray$, _textarray$2, _authdetailsContext$c, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
20780
21412
|
var _useState = React.useState(''),
|
|
@@ -20827,7 +21459,7 @@
|
|
|
20827
21459
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
20828
21460
|
});
|
|
20829
21461
|
}
|
|
20830
|
-
setsectionproperties(_objectSpread$
|
|
21462
|
+
setsectionproperties(_objectSpread$1W({}, secpropobj));
|
|
20831
21463
|
}, [StatePagePropertiesContext]);
|
|
20832
21464
|
React.useEffect(function () {
|
|
20833
21465
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -21522,8 +22154,8 @@
|
|
|
21522
22154
|
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
22155
|
styleInject(css_248z$A);
|
|
21524
22156
|
|
|
21525
|
-
function ownKeys$
|
|
21526
|
-
function _objectSpread$
|
|
22157
|
+
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; }
|
|
22158
|
+
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
22159
|
var Gotoheader = function Gotoheader(props) {
|
|
21528
22160
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue2, _fetchcustomercartQue3, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
21529
22161
|
var _useState = React.useState(''),
|
|
@@ -21563,7 +22195,7 @@
|
|
|
21563
22195
|
});
|
|
21564
22196
|
}
|
|
21565
22197
|
}
|
|
21566
|
-
setsectionproperties(_objectSpread$
|
|
22198
|
+
setsectionproperties(_objectSpread$1V({}, secpropobj));
|
|
21567
22199
|
}, [StatePagePropertiesContext]);
|
|
21568
22200
|
var _useState3 = React.useState([]),
|
|
21569
22201
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -22264,8 +22896,8 @@
|
|
|
22264
22896
|
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
22897
|
styleInject(css_248z$z);
|
|
22266
22898
|
|
|
22267
|
-
function ownKeys$
|
|
22268
|
-
function _objectSpread$
|
|
22899
|
+
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; }
|
|
22900
|
+
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
22901
|
var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
22270
22902
|
var _authdetailsContext$i2, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i5, _authdetailsContext$i7, _fetchcustomercartQue3, _fetchcustomercartQue4;
|
|
22271
22903
|
var _useState = React.useState(''),
|
|
@@ -22313,7 +22945,7 @@
|
|
|
22313
22945
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
22314
22946
|
});
|
|
22315
22947
|
}
|
|
22316
|
-
setsectionproperties(_objectSpread$
|
|
22948
|
+
setsectionproperties(_objectSpread$1U({}, secpropobj));
|
|
22317
22949
|
}, [StatePagePropertiesContext]);
|
|
22318
22950
|
React.useEffect(function () {
|
|
22319
22951
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -23220,8 +23852,8 @@
|
|
|
23220
23852
|
var headerstyles$c = {"headercontainer":"classicheader-module_headercontainer__tCNl-","navbar":"classicheader-module_navbar__3MEax"};
|
|
23221
23853
|
styleInject(css_248z$y);
|
|
23222
23854
|
|
|
23223
|
-
function ownKeys$
|
|
23224
|
-
function _objectSpread$
|
|
23855
|
+
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; }
|
|
23856
|
+
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
23857
|
var ClassicHeader = function ClassicHeader(props) {
|
|
23226
23858
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue, _fetchcustomercartQue2, _templatepropcontext$;
|
|
23227
23859
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
@@ -23258,7 +23890,7 @@
|
|
|
23258
23890
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
23259
23891
|
});
|
|
23260
23892
|
}
|
|
23261
|
-
setsectionproperties(_objectSpread$
|
|
23893
|
+
setsectionproperties(_objectSpread$1T({}, secpropobj));
|
|
23262
23894
|
}, [StatePagePropertiesContext]);
|
|
23263
23895
|
var _useState3 = React.useState([]),
|
|
23264
23896
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -24380,8 +25012,8 @@
|
|
|
24380
25012
|
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
25013
|
styleInject(css_248z$x);
|
|
24382
25014
|
|
|
24383
|
-
function ownKeys$
|
|
24384
|
-
function _objectSpread$
|
|
25015
|
+
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; }
|
|
25016
|
+
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
25017
|
var CTAHeader = function CTAHeader(props) {
|
|
24386
25018
|
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
25019
|
var actions = props.actions;
|
|
@@ -24429,7 +25061,7 @@
|
|
|
24429
25061
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
24430
25062
|
});
|
|
24431
25063
|
}
|
|
24432
|
-
setsectionproperties(_objectSpread$
|
|
25064
|
+
setsectionproperties(_objectSpread$1S({}, secpropobj));
|
|
24433
25065
|
}, [StatePagePropertiesContext]);
|
|
24434
25066
|
React.useEffect(function () {
|
|
24435
25067
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -25420,8 +26052,8 @@
|
|
|
25420
26052
|
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
26053
|
styleInject(css_248z$w);
|
|
25422
26054
|
|
|
25423
|
-
function ownKeys$
|
|
25424
|
-
function _objectSpread$
|
|
26055
|
+
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; }
|
|
26056
|
+
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
26057
|
var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
|
|
25426
26058
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
25427
26059
|
var _useState = React.useState(''),
|
|
@@ -25457,7 +26089,7 @@
|
|
|
25457
26089
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
25458
26090
|
});
|
|
25459
26091
|
}
|
|
25460
|
-
setsectionproperties(_objectSpread$
|
|
26092
|
+
setsectionproperties(_objectSpread$1R({}, secpropobj));
|
|
25461
26093
|
}, [StatePagePropertiesContext]);
|
|
25462
26094
|
var _useState3 = React.useState([]),
|
|
25463
26095
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -26161,8 +26793,8 @@
|
|
|
26161
26793
|
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
26794
|
styleInject(css_248z$v);
|
|
26163
26795
|
|
|
26164
|
-
function ownKeys$
|
|
26165
|
-
function _objectSpread$
|
|
26796
|
+
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; }
|
|
26797
|
+
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
26798
|
var Simpleheader = function Simpleheader(props) {
|
|
26167
26799
|
var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
26168
26800
|
var actions = props.actions;
|
|
@@ -26207,7 +26839,7 @@
|
|
|
26207
26839
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
26208
26840
|
});
|
|
26209
26841
|
}
|
|
26210
|
-
setsectionproperties(_objectSpread$
|
|
26842
|
+
setsectionproperties(_objectSpread$1Q({}, secpropobj));
|
|
26211
26843
|
}, [StatePagePropertiesContext]);
|
|
26212
26844
|
React.useEffect(function () {
|
|
26213
26845
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -26421,12 +27053,18 @@
|
|
|
26421
27053
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
26422
27054
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
26423
27055
|
}
|
|
26424
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27056
|
+
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27057
|
+
"class": "col-lg-12 p-0"
|
|
27058
|
+
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
27059
|
+
sectionpropertiesprops: sectionproperties,
|
|
27060
|
+
templateproperties_contextprops: templateproperties_context,
|
|
27061
|
+
actions: actions
|
|
27062
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26425
27063
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
26426
27064
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26427
27065
|
"class": "row m-0 w-100 "
|
|
26428
27066
|
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26429
|
-
"class": "col-lg-12 p-0"
|
|
27067
|
+
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
26430
27068
|
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
26431
27069
|
sectionpropertiesprops: sectionproperties,
|
|
26432
27070
|
templateproperties_contextprops: templateproperties_context,
|
|
@@ -26786,7 +27424,7 @@
|
|
|
26786
27424
|
}), sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
|
|
26787
27425
|
sectionpropertiesprops: sectionproperties,
|
|
26788
27426
|
actions: actions
|
|
26789
|
-
}), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
27427
|
+
}), sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
26790
27428
|
sectionpropertiesprops: sectionproperties,
|
|
26791
27429
|
actions: actions
|
|
26792
27430
|
}), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
@@ -26869,8 +27507,8 @@
|
|
|
26869
27507
|
}))))))));
|
|
26870
27508
|
};
|
|
26871
27509
|
|
|
26872
|
-
function ownKeys$
|
|
26873
|
-
function _objectSpread$
|
|
27510
|
+
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; }
|
|
27511
|
+
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
27512
|
var Header8 = function Header8(props) {
|
|
26875
27513
|
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
27514
|
var actions = props.actions;
|
|
@@ -26927,7 +27565,7 @@
|
|
|
26927
27565
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
26928
27566
|
});
|
|
26929
27567
|
}
|
|
26930
|
-
setsectionproperties(_objectSpread$
|
|
27568
|
+
setsectionproperties(_objectSpread$1P({}, secpropobj));
|
|
26931
27569
|
}, [StatePagePropertiesContext]);
|
|
26932
27570
|
var subtotalcart = function subtotalcart() {
|
|
26933
27571
|
var _fetchcustomercartQue;
|
|
@@ -28645,8 +29283,8 @@
|
|
|
28645
29283
|
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
29284
|
styleInject(css_248z$u);
|
|
28647
29285
|
|
|
28648
|
-
function ownKeys$
|
|
28649
|
-
function _objectSpread$
|
|
29286
|
+
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; }
|
|
29287
|
+
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
29288
|
var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
28651
29289
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
28652
29290
|
var _useState = React.useState(''),
|
|
@@ -28682,7 +29320,7 @@
|
|
|
28682
29320
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
28683
29321
|
});
|
|
28684
29322
|
}
|
|
28685
|
-
setsectionproperties(_objectSpread$
|
|
29323
|
+
setsectionproperties(_objectSpread$1O({}, secpropobj));
|
|
28686
29324
|
}, [StatePagePropertiesContext]);
|
|
28687
29325
|
var _useState3 = React.useState([]),
|
|
28688
29326
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -29291,8 +29929,8 @@
|
|
|
29291
29929
|
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
29930
|
styleInject(css_248z$t);
|
|
29293
29931
|
|
|
29294
|
-
function ownKeys$
|
|
29295
|
-
function _objectSpread$
|
|
29932
|
+
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; }
|
|
29933
|
+
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
29934
|
var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
29297
29935
|
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
29936
|
var _useState = React.useState(''),
|
|
@@ -29329,7 +29967,7 @@
|
|
|
29329
29967
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
29330
29968
|
});
|
|
29331
29969
|
}
|
|
29332
|
-
setsectionproperties(_objectSpread$
|
|
29970
|
+
setsectionproperties(_objectSpread$1N({}, secpropobj));
|
|
29333
29971
|
}, [StatePagePropertiesContext]);
|
|
29334
29972
|
var _useState3 = React.useState(false),
|
|
29335
29973
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -30098,8 +30736,8 @@
|
|
|
30098
30736
|
}))))))));
|
|
30099
30737
|
};
|
|
30100
30738
|
|
|
30101
|
-
function ownKeys$
|
|
30102
|
-
function _objectSpread$
|
|
30739
|
+
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; }
|
|
30740
|
+
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
30741
|
var Modernheader = function Modernheader(props) {
|
|
30104
30742
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
30105
30743
|
var _useState = React.useState(''),
|
|
@@ -30144,7 +30782,7 @@
|
|
|
30144
30782
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
30145
30783
|
});
|
|
30146
30784
|
}
|
|
30147
|
-
setsectionproperties(_objectSpread$
|
|
30785
|
+
setsectionproperties(_objectSpread$1M({}, secpropobj));
|
|
30148
30786
|
}, [StatePagePropertiesContext]);
|
|
30149
30787
|
React.useEffect(function () {
|
|
30150
30788
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -30793,8 +31431,8 @@
|
|
|
30793
31431
|
}));
|
|
30794
31432
|
};
|
|
30795
31433
|
|
|
30796
|
-
function ownKeys$
|
|
30797
|
-
function _objectSpread$
|
|
31434
|
+
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; }
|
|
31435
|
+
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
31436
|
var SearchCenteredHeader = function SearchCenteredHeader(props) {
|
|
30799
31437
|
var _fetchcustomercartQue2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
|
|
30800
31438
|
var _useState = React.useState(''),
|
|
@@ -30832,7 +31470,7 @@
|
|
|
30832
31470
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
30833
31471
|
});
|
|
30834
31472
|
}
|
|
30835
|
-
setsectionproperties(_objectSpread$
|
|
31473
|
+
setsectionproperties(_objectSpread$1L({}, secpropobj));
|
|
30836
31474
|
}, [StatePagePropertiesContext]);
|
|
30837
31475
|
var _useState3 = React.useState([]),
|
|
30838
31476
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -31465,8 +32103,8 @@
|
|
|
31465
32103
|
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
32104
|
styleInject(css_248z$s);
|
|
31467
32105
|
|
|
31468
|
-
function ownKeys$
|
|
31469
|
-
function _objectSpread$
|
|
32106
|
+
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; }
|
|
32107
|
+
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
32108
|
var StylishHeader = function StylishHeader(props) {
|
|
31471
32109
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _logoarrayofobjects$3, _logoarrayofobjects$4, _logoarrayofobjects$5, _logoarrayofobjects$6;
|
|
31472
32110
|
var _useState = React.useState(''),
|
|
@@ -31507,7 +32145,7 @@
|
|
|
31507
32145
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
31508
32146
|
});
|
|
31509
32147
|
}
|
|
31510
|
-
setsectionproperties(_objectSpread$
|
|
32148
|
+
setsectionproperties(_objectSpread$1K({}, secpropobj));
|
|
31511
32149
|
}, [StatePagePropertiesContext]);
|
|
31512
32150
|
var _useState5 = React.useState([]),
|
|
31513
32151
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
@@ -32258,8 +32896,8 @@
|
|
|
32258
32896
|
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
32897
|
styleInject(css_248z$r);
|
|
32260
32898
|
|
|
32261
|
-
function ownKeys$
|
|
32262
|
-
function _objectSpread$
|
|
32899
|
+
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; }
|
|
32900
|
+
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
32901
|
var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
32264
32902
|
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$c, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
32265
32903
|
var actions = props.actions;
|
|
@@ -32297,7 +32935,7 @@
|
|
|
32297
32935
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
32298
32936
|
});
|
|
32299
32937
|
}
|
|
32300
|
-
setsectionproperties(_objectSpread$
|
|
32938
|
+
setsectionproperties(_objectSpread$1J({}, secpropobj));
|
|
32301
32939
|
}, [StatePagePropertiesContext]);
|
|
32302
32940
|
var _useState3 = React.useState([]),
|
|
32303
32941
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -33128,8 +33766,8 @@
|
|
|
33128
33766
|
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
33767
|
styleInject(css_248z$q);
|
|
33130
33768
|
|
|
33131
|
-
function ownKeys$
|
|
33132
|
-
function _objectSpread$
|
|
33769
|
+
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; }
|
|
33770
|
+
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
33771
|
var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
33134
33772
|
var _css, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$i13, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i14, _authdetailsContext$i16;
|
|
33135
33773
|
var lang = props.actions.lang;
|
|
@@ -33196,7 +33834,7 @@
|
|
|
33196
33834
|
});
|
|
33197
33835
|
}
|
|
33198
33836
|
}
|
|
33199
|
-
setsectionproperties(_objectSpread$
|
|
33837
|
+
setsectionproperties(_objectSpread$1I({}, secpropobj));
|
|
33200
33838
|
}, [StatePagePropertiesContext]);
|
|
33201
33839
|
var ButtonDropdown = function ButtonDropdown(item, index, fetchedarray) {
|
|
33202
33840
|
var _fetchedarray$Choosen, _fetchedarray$Choosen2, _pcollarray$Choosenin, _pcollarray$Choosenin2;
|
|
@@ -34122,8 +34760,8 @@
|
|
|
34122
34760
|
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
34761
|
styleInject(css_248z$p);
|
|
34124
34762
|
|
|
34125
|
-
function ownKeys$
|
|
34126
|
-
function _objectSpread$
|
|
34763
|
+
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; }
|
|
34764
|
+
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
34765
|
var HeaderWithUtilityBar = function HeaderWithUtilityBar(props) {
|
|
34128
34766
|
var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2;
|
|
34129
34767
|
var lang = props.actions.lang;
|
|
@@ -34167,7 +34805,7 @@
|
|
|
34167
34805
|
});
|
|
34168
34806
|
}
|
|
34169
34807
|
}
|
|
34170
|
-
setsectionproperties(_objectSpread$
|
|
34808
|
+
setsectionproperties(_objectSpread$1H({}, secpropobj));
|
|
34171
34809
|
}, [StatePagePropertiesContext]);
|
|
34172
34810
|
var _useState5 = React.useState([]),
|
|
34173
34811
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
@@ -34899,8 +35537,8 @@
|
|
|
34899
35537
|
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
35538
|
styleInject(css_248z$o);
|
|
34901
35539
|
|
|
34902
|
-
function ownKeys$
|
|
34903
|
-
function _objectSpread$
|
|
35540
|
+
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; }
|
|
35541
|
+
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
35542
|
var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
34905
35543
|
var _css, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
34906
35544
|
var _useState = React.useState(''),
|
|
@@ -34938,7 +35576,7 @@
|
|
|
34938
35576
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
34939
35577
|
});
|
|
34940
35578
|
}
|
|
34941
|
-
setsectionproperties(_objectSpread$
|
|
35579
|
+
setsectionproperties(_objectSpread$1G({}, secpropobj));
|
|
34942
35580
|
}, [StatePagePropertiesContext]);
|
|
34943
35581
|
var _useState3 = React.useState([]),
|
|
34944
35582
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -35666,8 +36304,8 @@
|
|
|
35666
36304
|
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
36305
|
styleInject(css_248z$n);
|
|
35668
36306
|
|
|
35669
|
-
function ownKeys$
|
|
35670
|
-
function _objectSpread$
|
|
36307
|
+
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; }
|
|
36308
|
+
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
36309
|
var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
35672
36310
|
var _css, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35673
36311
|
var _useState = React.useState(''),
|
|
@@ -35704,7 +36342,7 @@
|
|
|
35704
36342
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
35705
36343
|
});
|
|
35706
36344
|
}
|
|
35707
|
-
setsectionproperties(_objectSpread$
|
|
36345
|
+
setsectionproperties(_objectSpread$1F({}, secpropobj));
|
|
35708
36346
|
}, [StatePagePropertiesContext]);
|
|
35709
36347
|
var _useState3 = React.useState([]),
|
|
35710
36348
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -36311,8 +36949,8 @@
|
|
|
36311
36949
|
}));
|
|
36312
36950
|
};
|
|
36313
36951
|
|
|
36314
|
-
function ownKeys$
|
|
36315
|
-
function _objectSpread$
|
|
36952
|
+
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; }
|
|
36953
|
+
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
36954
|
var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
36317
36955
|
var _css, _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$c5, _fetchcustomercartQue3, _fetchcustomercartQue4;
|
|
36318
36956
|
var lang = props.actions.lang;
|
|
@@ -36360,7 +36998,7 @@
|
|
|
36360
36998
|
});
|
|
36361
36999
|
}
|
|
36362
37000
|
}
|
|
36363
|
-
setsectionproperties(_objectSpread$
|
|
37001
|
+
setsectionproperties(_objectSpread$1E({}, secpropobj));
|
|
36364
37002
|
}, [StatePagePropertiesContext]);
|
|
36365
37003
|
React.useEffect(function () {
|
|
36366
37004
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -37289,8 +37927,8 @@
|
|
|
37289
37927
|
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
37928
|
styleInject(css_248z$m);
|
|
37291
37929
|
|
|
37292
|
-
function ownKeys$
|
|
37293
|
-
function _objectSpread$
|
|
37930
|
+
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; }
|
|
37931
|
+
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
37932
|
var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(props) {
|
|
37295
37933
|
var _textarray$, _textarray$2, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
37296
37934
|
var _useState = React.useState(''),
|
|
@@ -37331,7 +37969,7 @@
|
|
|
37331
37969
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
37332
37970
|
});
|
|
37333
37971
|
}
|
|
37334
|
-
setsectionproperties(_objectSpread$
|
|
37972
|
+
setsectionproperties(_objectSpread$1D({}, secpropobj));
|
|
37335
37973
|
}, [StatePagePropertiesContext]);
|
|
37336
37974
|
var _useState5 = React.useState([]),
|
|
37337
37975
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
@@ -38107,8 +38745,8 @@
|
|
|
38107
38745
|
}));
|
|
38108
38746
|
};
|
|
38109
38747
|
|
|
38110
|
-
function ownKeys$
|
|
38111
|
-
function _objectSpread$
|
|
38748
|
+
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; }
|
|
38749
|
+
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
38750
|
var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props) {
|
|
38113
38751
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
38114
38752
|
var _useState = React.useState(''),
|
|
@@ -38158,7 +38796,7 @@
|
|
|
38158
38796
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
38159
38797
|
});
|
|
38160
38798
|
}
|
|
38161
|
-
setsectionproperties(_objectSpread$
|
|
38799
|
+
setsectionproperties(_objectSpread$1C({}, secpropobj));
|
|
38162
38800
|
}, [StatePagePropertiesContext]);
|
|
38163
38801
|
React.useEffect(function () {
|
|
38164
38802
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -38832,8 +39470,8 @@
|
|
|
38832
39470
|
}));
|
|
38833
39471
|
};
|
|
38834
39472
|
|
|
38835
|
-
function ownKeys$
|
|
38836
|
-
function _objectSpread$
|
|
39473
|
+
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; }
|
|
39474
|
+
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
39475
|
var Allinonefooter = function Allinonefooter(props) {
|
|
38838
39476
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i5, _templatepropcontext$, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14;
|
|
38839
39477
|
var _useState = React.useState(''),
|
|
@@ -38860,7 +39498,7 @@
|
|
|
38860
39498
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
38861
39499
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
38862
39500
|
});
|
|
38863
|
-
setsectionproperties(_objectSpread$
|
|
39501
|
+
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
38864
39502
|
} else {
|
|
38865
39503
|
var secpropobj = {};
|
|
38866
39504
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -38870,7 +39508,7 @@
|
|
|
38870
39508
|
});
|
|
38871
39509
|
}
|
|
38872
39510
|
});
|
|
38873
|
-
setsectionproperties(_objectSpread$
|
|
39511
|
+
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
38874
39512
|
}
|
|
38875
39513
|
}, [StatePagePropertiesContext]);
|
|
38876
39514
|
var footerStyles = {
|
|
@@ -39326,8 +39964,8 @@
|
|
|
39326
39964
|
}))))));
|
|
39327
39965
|
};
|
|
39328
39966
|
|
|
39329
|
-
function ownKeys$
|
|
39330
|
-
function _objectSpread$
|
|
39967
|
+
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; }
|
|
39968
|
+
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
39969
|
var Footer1 = function Footer1(props) {
|
|
39332
39970
|
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
39971
|
var _useState = React.useState(''),
|
|
@@ -39354,7 +39992,7 @@
|
|
|
39354
39992
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
39355
39993
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
39356
39994
|
});
|
|
39357
|
-
setsectionproperties(_objectSpread$
|
|
39995
|
+
setsectionproperties(_objectSpread$1A({}, secpropobj));
|
|
39358
39996
|
} else {
|
|
39359
39997
|
var secpropobj = {};
|
|
39360
39998
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -39364,7 +40002,7 @@
|
|
|
39364
40002
|
});
|
|
39365
40003
|
}
|
|
39366
40004
|
});
|
|
39367
|
-
setsectionproperties(_objectSpread$
|
|
40005
|
+
setsectionproperties(_objectSpread$1A({}, secpropobj));
|
|
39368
40006
|
}
|
|
39369
40007
|
}, [StatePagePropertiesContext]);
|
|
39370
40008
|
React.useEffect(function () {
|
|
@@ -39782,8 +40420,8 @@
|
|
|
39782
40420
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.address_en)))))));
|
|
39783
40421
|
};
|
|
39784
40422
|
|
|
39785
|
-
function ownKeys$
|
|
39786
|
-
function _objectSpread$
|
|
40423
|
+
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; }
|
|
40424
|
+
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
40425
|
var Footer2 = function Footer2(props) {
|
|
39788
40426
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i18, _authdetailsContext$i19;
|
|
39789
40427
|
var _useState = React.useState(''),
|
|
@@ -39813,7 +40451,7 @@
|
|
|
39813
40451
|
});
|
|
39814
40452
|
}
|
|
39815
40453
|
});
|
|
39816
|
-
setsectionproperties(_objectSpread$
|
|
40454
|
+
setsectionproperties(_objectSpread$1z({}, secpropobj));
|
|
39817
40455
|
}, [StatePagePropertiesContext]);
|
|
39818
40456
|
React.useEffect(function () {
|
|
39819
40457
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -40171,8 +40809,8 @@
|
|
|
40171
40809
|
})))));
|
|
40172
40810
|
};
|
|
40173
40811
|
|
|
40174
|
-
function ownKeys$
|
|
40175
|
-
function _objectSpread$
|
|
40812
|
+
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; }
|
|
40813
|
+
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
40814
|
var Footer3 = function Footer3(props) {
|
|
40177
40815
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
40178
40816
|
var _useState = React.useState(''),
|
|
@@ -40199,7 +40837,7 @@
|
|
|
40199
40837
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
40200
40838
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
40201
40839
|
});
|
|
40202
|
-
setsectionproperties(_objectSpread$
|
|
40840
|
+
setsectionproperties(_objectSpread$1y({}, secpropobj));
|
|
40203
40841
|
} else {
|
|
40204
40842
|
var secpropobj = {};
|
|
40205
40843
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -40209,7 +40847,7 @@
|
|
|
40209
40847
|
});
|
|
40210
40848
|
}
|
|
40211
40849
|
});
|
|
40212
|
-
setsectionproperties(_objectSpread$
|
|
40850
|
+
setsectionproperties(_objectSpread$1y({}, secpropobj));
|
|
40213
40851
|
}
|
|
40214
40852
|
}, [StatePagePropertiesContext]);
|
|
40215
40853
|
React.useEffect(function () {
|
|
@@ -40523,8 +41161,8 @@
|
|
|
40523
41161
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.address_en)))))));
|
|
40524
41162
|
};
|
|
40525
41163
|
|
|
40526
|
-
function ownKeys$
|
|
40527
|
-
function _objectSpread$
|
|
41164
|
+
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; }
|
|
41165
|
+
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
41166
|
var Footer4 = function Footer4(props) {
|
|
40529
41167
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i15;
|
|
40530
41168
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -40547,7 +41185,7 @@
|
|
|
40547
41185
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
40548
41186
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
40549
41187
|
});
|
|
40550
|
-
setsectionproperties(_objectSpread$
|
|
41188
|
+
setsectionproperties(_objectSpread$1x({}, secpropobj));
|
|
40551
41189
|
} else {
|
|
40552
41190
|
var secpropobj = {};
|
|
40553
41191
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -40557,7 +41195,7 @@
|
|
|
40557
41195
|
});
|
|
40558
41196
|
}
|
|
40559
41197
|
});
|
|
40560
|
-
setsectionproperties(_objectSpread$
|
|
41198
|
+
setsectionproperties(_objectSpread$1x({}, secpropobj));
|
|
40561
41199
|
}
|
|
40562
41200
|
}, [StatePagePropertiesContext]);
|
|
40563
41201
|
var footerStyles = {
|
|
@@ -40942,8 +41580,8 @@
|
|
|
40942
41580
|
}))))))));
|
|
40943
41581
|
};
|
|
40944
41582
|
|
|
40945
|
-
function ownKeys$
|
|
40946
|
-
function _objectSpread$
|
|
41583
|
+
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; }
|
|
41584
|
+
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
41585
|
var Footer5 = function Footer5(props) {
|
|
40948
41586
|
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
41587
|
var _useState = React.useState(''),
|
|
@@ -40973,7 +41611,7 @@
|
|
|
40973
41611
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
40974
41612
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
40975
41613
|
});
|
|
40976
|
-
setsectionproperties(_objectSpread$
|
|
41614
|
+
setsectionproperties(_objectSpread$1w({}, secpropobj));
|
|
40977
41615
|
} else {
|
|
40978
41616
|
var secpropobj = {};
|
|
40979
41617
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -40983,7 +41621,7 @@
|
|
|
40983
41621
|
});
|
|
40984
41622
|
}
|
|
40985
41623
|
});
|
|
40986
|
-
setsectionproperties(_objectSpread$
|
|
41624
|
+
setsectionproperties(_objectSpread$1w({}, secpropobj));
|
|
40987
41625
|
}
|
|
40988
41626
|
}, [StatePagePropertiesContext]);
|
|
40989
41627
|
React.useEffect(function () {
|
|
@@ -41471,8 +42109,8 @@
|
|
|
41471
42109
|
}))))))));
|
|
41472
42110
|
};
|
|
41473
42111
|
|
|
41474
|
-
function ownKeys$
|
|
41475
|
-
function _objectSpread$
|
|
42112
|
+
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; }
|
|
42113
|
+
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
42114
|
var Footer6 = function Footer6(props) {
|
|
41477
42115
|
var _authdetailsContext$i2, _authdetailsContext$i3;
|
|
41478
42116
|
var _useState = React.useState(''),
|
|
@@ -41503,7 +42141,7 @@
|
|
|
41503
42141
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
41504
42142
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41505
42143
|
});
|
|
41506
|
-
setsectionproperties(_objectSpread$
|
|
42144
|
+
setsectionproperties(_objectSpread$1v({}, secpropobj));
|
|
41507
42145
|
} else {
|
|
41508
42146
|
var secpropobj = {};
|
|
41509
42147
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41513,7 +42151,7 @@
|
|
|
41513
42151
|
});
|
|
41514
42152
|
}
|
|
41515
42153
|
});
|
|
41516
|
-
setsectionproperties(_objectSpread$
|
|
42154
|
+
setsectionproperties(_objectSpread$1v({}, secpropobj));
|
|
41517
42155
|
}
|
|
41518
42156
|
}, [StatePagePropertiesContext]);
|
|
41519
42157
|
React.useEffect(function () {
|
|
@@ -41750,8 +42388,8 @@
|
|
|
41750
42388
|
}))));
|
|
41751
42389
|
};
|
|
41752
42390
|
|
|
41753
|
-
function ownKeys$
|
|
41754
|
-
function _objectSpread$
|
|
42391
|
+
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; }
|
|
42392
|
+
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
42393
|
var Footer7 = function Footer7(props) {
|
|
41756
42394
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i9;
|
|
41757
42395
|
var _useState = React.useState(''),
|
|
@@ -41782,7 +42420,7 @@
|
|
|
41782
42420
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
41783
42421
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41784
42422
|
});
|
|
41785
|
-
setsectionproperties(_objectSpread$
|
|
42423
|
+
setsectionproperties(_objectSpread$1u({}, secpropobj));
|
|
41786
42424
|
} else {
|
|
41787
42425
|
var secpropobj = {};
|
|
41788
42426
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41792,7 +42430,7 @@
|
|
|
41792
42430
|
});
|
|
41793
42431
|
}
|
|
41794
42432
|
});
|
|
41795
|
-
setsectionproperties(_objectSpread$
|
|
42433
|
+
setsectionproperties(_objectSpread$1u({}, secpropobj));
|
|
41796
42434
|
}
|
|
41797
42435
|
}, [StatePagePropertiesContext]);
|
|
41798
42436
|
React.useEffect(function () {
|
|
@@ -42150,8 +42788,8 @@
|
|
|
42150
42788
|
}))))));
|
|
42151
42789
|
};
|
|
42152
42790
|
|
|
42153
|
-
function ownKeys$
|
|
42154
|
-
function _objectSpread$
|
|
42791
|
+
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; }
|
|
42792
|
+
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
42793
|
var Footer8 = function Footer8(props) {
|
|
42156
42794
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _templatepropcontext$;
|
|
42157
42795
|
var _useState = React.useState(''),
|
|
@@ -42178,7 +42816,7 @@
|
|
|
42178
42816
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
42179
42817
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
42180
42818
|
});
|
|
42181
|
-
setsectionproperties(_objectSpread$
|
|
42819
|
+
setsectionproperties(_objectSpread$1t({}, secpropobj));
|
|
42182
42820
|
} else {
|
|
42183
42821
|
var secpropobj = {};
|
|
42184
42822
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -42188,7 +42826,7 @@
|
|
|
42188
42826
|
});
|
|
42189
42827
|
}
|
|
42190
42828
|
});
|
|
42191
|
-
setsectionproperties(_objectSpread$
|
|
42829
|
+
setsectionproperties(_objectSpread$1t({}, secpropobj));
|
|
42192
42830
|
}
|
|
42193
42831
|
}, [StatePagePropertiesContext]);
|
|
42194
42832
|
var footerStyles = {
|
|
@@ -42566,8 +43204,8 @@
|
|
|
42566
43204
|
}, lang.orderhistory)))))));
|
|
42567
43205
|
};
|
|
42568
43206
|
|
|
42569
|
-
function ownKeys$
|
|
42570
|
-
function _objectSpread$
|
|
43207
|
+
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; }
|
|
43208
|
+
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
43209
|
var Simplefooter = function Simplefooter(props) {
|
|
42572
43210
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i9;
|
|
42573
43211
|
var _useState = React.useState(''),
|
|
@@ -42594,7 +43232,7 @@
|
|
|
42594
43232
|
});
|
|
42595
43233
|
}
|
|
42596
43234
|
});
|
|
42597
|
-
setsectionproperties(_objectSpread$
|
|
43235
|
+
setsectionproperties(_objectSpread$1s({}, secpropobj));
|
|
42598
43236
|
}, [StatePagePropertiesContext]);
|
|
42599
43237
|
React.useEffect(function () {
|
|
42600
43238
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -42861,8 +43499,8 @@
|
|
|
42861
43499
|
})));
|
|
42862
43500
|
};
|
|
42863
43501
|
|
|
42864
|
-
function ownKeys$
|
|
42865
|
-
function _objectSpread$
|
|
43502
|
+
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; }
|
|
43503
|
+
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
43504
|
var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
42867
43505
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
42868
43506
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -42885,7 +43523,7 @@
|
|
|
42885
43523
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
42886
43524
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
42887
43525
|
});
|
|
42888
|
-
setsectionproperties(_objectSpread$
|
|
43526
|
+
setsectionproperties(_objectSpread$1r({}, secpropobj));
|
|
42889
43527
|
} else {
|
|
42890
43528
|
var secpropobj = {};
|
|
42891
43529
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -42895,7 +43533,7 @@
|
|
|
42895
43533
|
});
|
|
42896
43534
|
}
|
|
42897
43535
|
});
|
|
42898
|
-
setsectionproperties(_objectSpread$
|
|
43536
|
+
setsectionproperties(_objectSpread$1r({}, secpropobj));
|
|
42899
43537
|
}
|
|
42900
43538
|
}, [StatePagePropertiesContext]);
|
|
42901
43539
|
var _useState3 = React.useState([]),
|
|
@@ -43173,8 +43811,8 @@
|
|
|
43173
43811
|
}, "@ ", 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
43812
|
};
|
|
43175
43813
|
|
|
43176
|
-
function ownKeys$
|
|
43177
|
-
function _objectSpread$
|
|
43814
|
+
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; }
|
|
43815
|
+
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
43816
|
var ModernFooter = function ModernFooter(props) {
|
|
43179
43817
|
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
43818
|
var _useState = React.useState(''),
|
|
@@ -43200,7 +43838,7 @@
|
|
|
43200
43838
|
});
|
|
43201
43839
|
}
|
|
43202
43840
|
});
|
|
43203
|
-
setsectionproperties(_objectSpread$
|
|
43841
|
+
setsectionproperties(_objectSpread$1q({}, secpropobj));
|
|
43204
43842
|
}, [StatePagePropertiesContext]);
|
|
43205
43843
|
var footerStyles = {
|
|
43206
43844
|
footerContainer: glamor.css({
|
|
@@ -43651,8 +44289,8 @@
|
|
|
43651
44289
|
})))))));
|
|
43652
44290
|
};
|
|
43653
44291
|
|
|
43654
|
-
function ownKeys$
|
|
43655
|
-
function _objectSpread$
|
|
44292
|
+
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; }
|
|
44293
|
+
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
44294
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
43657
44295
|
var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
|
|
43658
44296
|
var _useState = React.useState(''),
|
|
@@ -43682,7 +44320,7 @@
|
|
|
43682
44320
|
});
|
|
43683
44321
|
}
|
|
43684
44322
|
});
|
|
43685
|
-
setsectionproperties(_objectSpread$
|
|
44323
|
+
setsectionproperties(_objectSpread$1p({}, secpropobj));
|
|
43686
44324
|
}, [StatePagePropertiesContext]);
|
|
43687
44325
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
43688
44326
|
var _authdetailsContext$i;
|
|
@@ -44242,6 +44880,254 @@
|
|
|
44242
44880
|
}, StoreInformation()))));
|
|
44243
44881
|
};
|
|
44244
44882
|
|
|
44883
|
+
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; }
|
|
44884
|
+
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; }
|
|
44885
|
+
var Newsletterincenter = function Newsletterincenter(props) {
|
|
44886
|
+
var _css, _footerStyles;
|
|
44887
|
+
var _useState = React.useState(''),
|
|
44888
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
44889
|
+
sectionproperties = _useState2[0],
|
|
44890
|
+
setsectionproperties = _useState2[1];
|
|
44891
|
+
var _useState3 = React.useState([]),
|
|
44892
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2);
|
|
44893
|
+
_useState4[0];
|
|
44894
|
+
var setlogoarrayofobjects = _useState4[1];
|
|
44895
|
+
props.actions.history;
|
|
44896
|
+
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
44897
|
+
props.actions.lang;
|
|
44898
|
+
var langdetect = props.actions.langdetect;
|
|
44899
|
+
var routingcountext = props.actions.routingcountext;
|
|
44900
|
+
props.actions.StaticPagesLinksContext;
|
|
44901
|
+
props.actions.authdetailsContext;
|
|
44902
|
+
var templateproperties_context = props.actions.templateproperties_context;
|
|
44903
|
+
var templatepropcontext = props.actions.templatepropcontext;
|
|
44904
|
+
props.actions.ikimagecredcontext;
|
|
44905
|
+
React.useEffect(function () {
|
|
44906
|
+
var secpropobj = {};
|
|
44907
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
44908
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
44909
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
44910
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
44911
|
+
});
|
|
44912
|
+
}
|
|
44913
|
+
});
|
|
44914
|
+
setsectionproperties(_objectSpread$1o({}, secpropobj));
|
|
44915
|
+
}, [StatePagePropertiesContext]);
|
|
44916
|
+
var footerStyles = (_footerStyles = {
|
|
44917
|
+
divider: glamor.css({
|
|
44918
|
+
height: '1px',
|
|
44919
|
+
width: '100%',
|
|
44920
|
+
backgroundColor: sectionproperties.vl_bg
|
|
44921
|
+
}),
|
|
44922
|
+
payimgcont: glamor.css({
|
|
44923
|
+
marginLeft: '10px',
|
|
44924
|
+
marginRight: '10px'
|
|
44925
|
+
}),
|
|
44926
|
+
payimg: glamor.css({
|
|
44927
|
+
width: '100%',
|
|
44928
|
+
height: '100%',
|
|
44929
|
+
objectFit: 'contain'
|
|
44930
|
+
}),
|
|
44931
|
+
footerContainer: glamor.css({
|
|
44932
|
+
background: sectionproperties.footerbgcolor,
|
|
44933
|
+
paddingTop: sectionproperties.footerpaddingvertical + 'px',
|
|
44934
|
+
paddingLeft: sectionproperties.footerpaddinghorizontal + 'px',
|
|
44935
|
+
paddingRight: sectionproperties.footerpaddinghorizontal + 'px',
|
|
44936
|
+
paddingBottom: sectionproperties.footerpaddingvertical + 'px',
|
|
44937
|
+
width: '100vw'
|
|
44938
|
+
}),
|
|
44939
|
+
footerlogo: glamor.css({
|
|
44940
|
+
width: sectionproperties.logo_width + 'px',
|
|
44941
|
+
height: sectionproperties.logo_height + 'px',
|
|
44942
|
+
position: 'relative'
|
|
44943
|
+
}),
|
|
44944
|
+
apptore: glamor.css({
|
|
44945
|
+
width: '100%',
|
|
44946
|
+
objectFit: 'contain'
|
|
44947
|
+
}),
|
|
44948
|
+
googleplay: glamor.css({
|
|
44949
|
+
width: '100%',
|
|
44950
|
+
objectFit: 'contain'
|
|
44951
|
+
}),
|
|
44952
|
+
textStyles: glamor.css({
|
|
44953
|
+
fontSize: sectionproperties.footerinfotext_fontsize + 'px',
|
|
44954
|
+
color: sectionproperties.footerinfotext_color,
|
|
44955
|
+
fontWeight: sectionproperties.footerinfotext_fontweight
|
|
44956
|
+
}),
|
|
44957
|
+
logoStyles: glamor.css({
|
|
44958
|
+
width: sectionproperties.logo_width + 'px',
|
|
44959
|
+
height: sectionproperties.logo_height + 'px'
|
|
44960
|
+
}),
|
|
44961
|
+
sectionTitle: glamor.css({
|
|
44962
|
+
color: sectionproperties.sectionTitleColor,
|
|
44963
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
44964
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
44965
|
+
}),
|
|
44966
|
+
subPages: glamor.css({
|
|
44967
|
+
textTransform: sectionproperties.footertexttransform,
|
|
44968
|
+
fontSize: sectionproperties.footerfontsize + 'px',
|
|
44969
|
+
fontWeight: sectionproperties.footerfontweight,
|
|
44970
|
+
color: sectionproperties.footertextcolor,
|
|
44971
|
+
cursor: 'pointer',
|
|
44972
|
+
transition: '.3s',
|
|
44973
|
+
':hover': {
|
|
44974
|
+
color: sectionproperties.footertextcoloronhover
|
|
44975
|
+
}
|
|
44976
|
+
}),
|
|
44977
|
+
facebook_btn: glamor.css({
|
|
44978
|
+
cursor: 'pointer',
|
|
44979
|
+
background: sectionproperties.facebkbtnnbgColor,
|
|
44980
|
+
width: sectionproperties.facebkbtnnWidth == 0 ? 'auto' : sectionproperties.facebkbtnnWidth + 'px',
|
|
44981
|
+
height: sectionproperties.facebkbtnnHeight == 0 ? 'auto' : sectionproperties.facebkbtnnHeight + 'px',
|
|
44982
|
+
borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
|
|
44983
|
+
color: sectionproperties.facebkbtnnTextcolor,
|
|
44984
|
+
border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
|
|
44985
|
+
transition: '.3s',
|
|
44986
|
+
':hover': {
|
|
44987
|
+
background: sectionproperties.facebkbtnnbgColoronhover,
|
|
44988
|
+
borderColor: sectionproperties.facebkbtnnTextcoloronhover,
|
|
44989
|
+
color: sectionproperties.facebkbtnnTextcoloronhover
|
|
44990
|
+
}
|
|
44991
|
+
}),
|
|
44992
|
+
youtube_btn: glamor.css({
|
|
44993
|
+
cursor: 'pointer',
|
|
44994
|
+
background: sectionproperties.youtubebtnbgColor,
|
|
44995
|
+
width: sectionproperties.youtubebtnWidth == 0 ? 'auto' : sectionproperties.youtubebtnWidth + 'px',
|
|
44996
|
+
height: sectionproperties.youtubebtnHeight == 0 ? 'auto' : sectionproperties.youtubebtnHeight + 'px',
|
|
44997
|
+
borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
|
|
44998
|
+
color: sectionproperties.youtubebtnTextcolor,
|
|
44999
|
+
border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
|
|
45000
|
+
transition: '.3s',
|
|
45001
|
+
':hover': {
|
|
45002
|
+
background: sectionproperties.youtubebtnbgColoronhover,
|
|
45003
|
+
borderColor: sectionproperties.youtubebtnTextcoloronhover,
|
|
45004
|
+
color: sectionproperties.youtubebtnTextcoloronhover
|
|
45005
|
+
}
|
|
45006
|
+
}),
|
|
45007
|
+
instgram_btn: glamor.css({
|
|
45008
|
+
cursor: 'pointer',
|
|
45009
|
+
background: sectionproperties.instgrambtnbgColor,
|
|
45010
|
+
width: sectionproperties.instgrambtnWidth == 0 ? 'auto' : sectionproperties.instgrambtnWidth + 'px',
|
|
45011
|
+
height: sectionproperties.instgrambtnHeight == 0 ? 'auto' : sectionproperties.instgrambtnHeight + 'px',
|
|
45012
|
+
borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
|
|
45013
|
+
color: sectionproperties.instgrambtnTextcolor,
|
|
45014
|
+
border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
|
|
45015
|
+
transition: '.3s',
|
|
45016
|
+
':hover': {
|
|
45017
|
+
background: sectionproperties.instgrambtnbgColoronhover,
|
|
45018
|
+
borderColor: sectionproperties.instgrambtnTextcoloronhover,
|
|
45019
|
+
color: sectionproperties.instgrambtnTextcoloronhover
|
|
45020
|
+
}
|
|
45021
|
+
}),
|
|
45022
|
+
subscribetitle: glamor.css({
|
|
45023
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
45024
|
+
color: sectionproperties.sectionTitleColor,
|
|
45025
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
45026
|
+
}),
|
|
45027
|
+
subscribedescription: glamor.css({
|
|
45028
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
45029
|
+
color: sectionproperties.prodCatColor,
|
|
45030
|
+
fontWeight: sectionproperties.prodCatFontWeight
|
|
45031
|
+
})
|
|
45032
|
+
}, _defineProperty__default["default"](_footerStyles, "apptore", glamor.css({
|
|
45033
|
+
width: '35%',
|
|
45034
|
+
objectFit: 'contain',
|
|
45035
|
+
'@media (max-width: 800px)': {
|
|
45036
|
+
width: '30%'
|
|
45037
|
+
}
|
|
45038
|
+
})), _defineProperty__default["default"](_footerStyles, "googleplay", glamor.css({
|
|
45039
|
+
width: '35%',
|
|
45040
|
+
objectFit: 'contain',
|
|
45041
|
+
'@media (max-width: 800px)': {
|
|
45042
|
+
width: '30%'
|
|
45043
|
+
}
|
|
45044
|
+
})), _defineProperty__default["default"](_footerStyles, "form_control", glamor.css((_css = {
|
|
45045
|
+
position: 'relative',
|
|
45046
|
+
display: 'flex',
|
|
45047
|
+
alignItems: 'center'
|
|
45048
|
+
}, _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', {
|
|
45049
|
+
// borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
45050
|
+
}), _css))), _footerStyles);
|
|
45051
|
+
React.useEffect(function () {
|
|
45052
|
+
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
45053
|
+
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
45054
|
+
if (Array.isArray(logoarrayofobjectsparsed)) {
|
|
45055
|
+
setlogoarrayofobjects(_toConsumableArray__default["default"](logoarrayofobjectsparsed));
|
|
45056
|
+
}
|
|
45057
|
+
}
|
|
45058
|
+
}, [templateproperties_context]);
|
|
45059
|
+
var Newsletter = function Newsletter() {
|
|
45060
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45061
|
+
"class": "row m-0 w-100"
|
|
45062
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45063
|
+
"class": "col-lg-12 allcentered mb-3"
|
|
45064
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45065
|
+
style: {
|
|
45066
|
+
fontSize: 20,
|
|
45067
|
+
fontWeight: 600
|
|
45068
|
+
}
|
|
45069
|
+
}, "STAY IN THE KNOW")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45070
|
+
"class": "col-lg-12 allcentered"
|
|
45071
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45072
|
+
style: {
|
|
45073
|
+
fontSize: 15,
|
|
45074
|
+
fontWeight: 600
|
|
45075
|
+
}
|
|
45076
|
+
}, "Be the first one to receive new releases, special offers, and more")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45077
|
+
"class": "col-lg-12 allcentered"
|
|
45078
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
45079
|
+
type: "text",
|
|
45080
|
+
className: "".concat(footerStyles.form_control),
|
|
45081
|
+
value: '',
|
|
45082
|
+
placeholder: "your email",
|
|
45083
|
+
onChange: function onChange(event) {},
|
|
45084
|
+
style: {
|
|
45085
|
+
background: sectionproperties.input_bgcolor
|
|
45086
|
+
}
|
|
45087
|
+
})));
|
|
45088
|
+
};
|
|
45089
|
+
var Section1pages = function Section1pages() {
|
|
45090
|
+
var _templatepropcontext$;
|
|
45091
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45092
|
+
"class": "col-lg-12 p-0 mt-md-3"
|
|
45093
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45094
|
+
"class": "row m-0 w-100 d-flex justify-content-start align-items-center flex-column"
|
|
45095
|
+
}, templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
|
|
45096
|
+
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
45097
|
+
if (item.staticpageid != '650c3c37dd5bf' && item.staticpageid != '650c591955e81' && item.staticpageid != '650c5be1dfd5d' && item.staticpageid != '6505ad75b1cdb') {
|
|
45098
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45099
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
45100
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45101
|
+
onClick: function onClick() {
|
|
45102
|
+
routingcountext(item.navigationroute);
|
|
45103
|
+
}
|
|
45104
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45105
|
+
"class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 ',
|
|
45106
|
+
style: {
|
|
45107
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
45108
|
+
}
|
|
45109
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar)));
|
|
45110
|
+
}
|
|
45111
|
+
}
|
|
45112
|
+
})));
|
|
45113
|
+
};
|
|
45114
|
+
return /*#__PURE__*/React__default["default"].createElement("footer", {
|
|
45115
|
+
"class": "row m-0 w-100 justify-content-center"
|
|
45116
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45117
|
+
style: {
|
|
45118
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
45119
|
+
paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
|
|
45120
|
+
},
|
|
45121
|
+
"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 '
|
|
45122
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45123
|
+
"class": "row m-0 w-100"
|
|
45124
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45125
|
+
"class": "col-lg-4 col-md-12 d-flex justify-content-center justify-content-md-start"
|
|
45126
|
+
}, Section1pages()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45127
|
+
"class": "col-lg-4 col-md-12 d-flex justify-content-center justify-content-md-start"
|
|
45128
|
+
}, Newsletter()))));
|
|
45129
|
+
};
|
|
45130
|
+
|
|
44245
45131
|
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
45132
|
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
45133
|
var CardsSection2 = function CardsSection2(props) {
|
|
@@ -61736,6 +62622,14 @@
|
|
|
61736
62622
|
fontSize: sectionproperties.cashbackcontainerfontsize + 'px',
|
|
61737
62623
|
border: sectionproperties.cashbackcontainerborderwidth + 'px ' + sectionproperties.cashbackcontainerborderstyle + sectionproperties.cashbackcontainerbordercolor,
|
|
61738
62624
|
borderRadius: sectionproperties.cashbackcontainerborderradius + 'px'
|
|
62625
|
+
}),
|
|
62626
|
+
productcard: glamor.css({
|
|
62627
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
62628
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
62629
|
+
'@media (max-width: 800px)': {
|
|
62630
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
62631
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
62632
|
+
}
|
|
61739
62633
|
})
|
|
61740
62634
|
};
|
|
61741
62635
|
var plainString = function plainString(html) {
|
|
@@ -61870,11 +62764,30 @@
|
|
|
61870
62764
|
AddtoCartContext(tempaddtocardpayloadobj);
|
|
61871
62765
|
};
|
|
61872
62766
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61873
|
-
"class":
|
|
62767
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(cardsstyles2.productcard) + ' w-100 px-md-1 ' : " ".concat(cardsstyles2.productcard),
|
|
61874
62768
|
style: {
|
|
61875
62769
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
61876
62770
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
61877
62771
|
}
|
|
62772
|
+
// class={
|
|
62773
|
+
// langdetect == 'en'
|
|
62774
|
+
// ? sectionproperties.card_marginLeft != 0
|
|
62775
|
+
// ? 'row m-0 w-100 pl-sm-2'
|
|
62776
|
+
// : sectionproperties.card_marginRight != 0
|
|
62777
|
+
// ? 'row m-0 w-100 pr-sm-2'
|
|
62778
|
+
// : 'row m-0 w-100'
|
|
62779
|
+
// : langdetect == 'en'
|
|
62780
|
+
// ? sectionproperties.card_marginRight != 0
|
|
62781
|
+
// ? 'row m-0 w-100 pr-sm-2'
|
|
62782
|
+
// : sectionproperties.card_marginLeft != 0
|
|
62783
|
+
// ? 'row m-0 w-100 pl-sm-2'
|
|
62784
|
+
// : 'row m-0 w-100'
|
|
62785
|
+
// : 'row m-0 w-100'
|
|
62786
|
+
// }
|
|
62787
|
+
// style={{
|
|
62788
|
+
// paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
62789
|
+
// paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
62790
|
+
// }}
|
|
61878
62791
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61879
62792
|
"class": "".concat(cardsstyles2.card) + ' w-100 '
|
|
61880
62793
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -69277,7 +70190,7 @@
|
|
|
69277
70190
|
})), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69278
70191
|
"class": "col-lg-12 p-0 allcentered"
|
|
69279
70192
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
69280
|
-
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak text-center '
|
|
70193
|
+
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak text-center font-md-13 '
|
|
69281
70194
|
}, item.name)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69282
70195
|
"class": "col-lg-12 p-0 allcentered"
|
|
69283
70196
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -71843,6 +72756,7 @@
|
|
|
71843
72756
|
FooterWithThreeColumns: FooterWithThreeColumns,
|
|
71844
72757
|
ModernFooter: ModernFooter,
|
|
71845
72758
|
Newsletterfooter: Newsletterfooter,
|
|
72759
|
+
Newsletterincenter: Newsletterincenter,
|
|
71846
72760
|
// Cards Sections (8)
|
|
71847
72761
|
CardsSection: CardsSection,
|
|
71848
72762
|
CardsSection2: CardsSection2,
|