tabexseriescomponents 0.0.421 → 0.0.423
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1442 -441
- package/dist/index.esm.js +1442 -441
- package/dist/index.umd.js +1442 -441
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -624,8 +624,8 @@ var Imagekitimagecomp = function Imagekitimagecomp(props) {
|
|
|
624
624
|
}));
|
|
625
625
|
};
|
|
626
626
|
|
|
627
|
-
function ownKeys$
|
|
628
|
-
function _objectSpread$
|
|
627
|
+
function ownKeys$2w(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
628
|
+
function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
629
629
|
var Login = function Login(props) {
|
|
630
630
|
var _css;
|
|
631
631
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -701,7 +701,7 @@ var Login = function Login(props) {
|
|
|
701
701
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
702
702
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
703
703
|
});
|
|
704
|
-
setsectionproperties(_objectSpread$
|
|
704
|
+
setsectionproperties(_objectSpread$2w({}, secpropobj));
|
|
705
705
|
}
|
|
706
706
|
}, [StatePagePropertiesContext]);
|
|
707
707
|
useEffect(function () {
|
|
@@ -868,9 +868,9 @@ var Login = function Login(props) {
|
|
|
868
868
|
className: "".concat(loginstyles2.form_control),
|
|
869
869
|
value: payloadobj.email,
|
|
870
870
|
onChange: function onChange(event) {
|
|
871
|
-
var temppayloadobj = _objectSpread$
|
|
871
|
+
var temppayloadobj = _objectSpread$2w({}, payloadobj);
|
|
872
872
|
temppayloadobj.email = event.target.value;
|
|
873
|
-
setpayloadobj(_objectSpread$
|
|
873
|
+
setpayloadobj(_objectSpread$2w({}, temppayloadobj));
|
|
874
874
|
},
|
|
875
875
|
style: {
|
|
876
876
|
background: sectionproperties.input_bgcolor
|
|
@@ -892,9 +892,9 @@ var Login = function Login(props) {
|
|
|
892
892
|
textplaceholder: "",
|
|
893
893
|
value: payloadobj.password,
|
|
894
894
|
onChange: function onChange(event) {
|
|
895
|
-
var temppayloadobj = _objectSpread$
|
|
895
|
+
var temppayloadobj = _objectSpread$2w({}, payloadobj);
|
|
896
896
|
temppayloadobj.password = event.target.value;
|
|
897
|
-
setpayloadobj(_objectSpread$
|
|
897
|
+
setpayloadobj(_objectSpread$2w({}, temppayloadobj));
|
|
898
898
|
},
|
|
899
899
|
style: {
|
|
900
900
|
background: sectionproperties.input_bgcolor
|
|
@@ -1071,9 +1071,9 @@ var Login = function Login(props) {
|
|
|
1071
1071
|
className: "".concat(loginstyles2.form_control),
|
|
1072
1072
|
value: forgotpasswordpayload.email,
|
|
1073
1073
|
onChange: function onChange(event) {
|
|
1074
|
-
var temppayloadobj = _objectSpread$
|
|
1074
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1075
1075
|
temppayloadobj.email = event.target.value;
|
|
1076
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1076
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1077
1077
|
},
|
|
1078
1078
|
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
1079
1079
|
style: {
|
|
@@ -1088,9 +1088,9 @@ var Login = function Login(props) {
|
|
|
1088
1088
|
className: "".concat(loginstyles2.form_control),
|
|
1089
1089
|
value: forgotpasswordpayload.code,
|
|
1090
1090
|
onChange: function onChange(event) {
|
|
1091
|
-
var temppayloadobj = _objectSpread$
|
|
1091
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1092
1092
|
temppayloadobj.code = event.target.value;
|
|
1093
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1093
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1094
1094
|
},
|
|
1095
1095
|
style: {
|
|
1096
1096
|
background: sectionproperties.input_bgcolor
|
|
@@ -1104,9 +1104,9 @@ var Login = function Login(props) {
|
|
|
1104
1104
|
className: "".concat(loginstyles2.form_control),
|
|
1105
1105
|
value: forgotpasswordpayload.newpassword,
|
|
1106
1106
|
onChange: function onChange(event) {
|
|
1107
|
-
var temppayloadobj = _objectSpread$
|
|
1107
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1108
1108
|
temppayloadobj.newpassword = event.target.value;
|
|
1109
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1109
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1110
1110
|
},
|
|
1111
1111
|
style: {
|
|
1112
1112
|
background: sectionproperties.input_bgcolor
|
|
@@ -1120,9 +1120,9 @@ var Login = function Login(props) {
|
|
|
1120
1120
|
className: "".concat(loginstyles2.form_control),
|
|
1121
1121
|
value: forgotpasswordpayload.confirmnewpassword,
|
|
1122
1122
|
onChange: function onChange(event) {
|
|
1123
|
-
var temppayloadobj = _objectSpread$
|
|
1123
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1124
1124
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
1125
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1125
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1126
1126
|
},
|
|
1127
1127
|
style: {
|
|
1128
1128
|
background: sectionproperties.input_bgcolor
|
|
@@ -1134,7 +1134,7 @@ var Login = function Login(props) {
|
|
|
1134
1134
|
onClick: function onClick() {
|
|
1135
1135
|
if (forgotpasswordpayload.email.length != 0) {
|
|
1136
1136
|
var runfunc = false;
|
|
1137
|
-
var tempforgotpasswordpayload = _objectSpread$
|
|
1137
|
+
var tempforgotpasswordpayload = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1138
1138
|
tempforgotpasswordpayload.functype = forgetpasswordstage;
|
|
1139
1139
|
if (forgetpasswordstage == 'verify') {
|
|
1140
1140
|
if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
|
|
@@ -1174,7 +1174,7 @@ var Login = function Login(props) {
|
|
|
1174
1174
|
}, forgetpasswordstage == 'verify' ? langdetect == 'en' ? 'Reset password' : 'إعادة تعيين كلمة المرور' : langdetect == 'en' ? 'Send verification code' : 'أرسل رمز التحقق'))))));
|
|
1175
1175
|
};
|
|
1176
1176
|
|
|
1177
|
-
var css_248z$L = ".productinfo-module_variant_container__-y4Uc {\n display: flex;\n align-items: center;\n justify-content: center;\n /* min-width: 10vh;\n height: 5vh; */\n border-radius: 10px;\n background-color: #000;\n color: white;\n padding: 0 6px;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_size_variant_container__vuTAO {\n /* min-width: 5vh !important;\n max-width: 5vh !important;\n height: 5vh !important;\n border-radius: 50% !important; */\n /* padding: 0 2px !important; */\n}\n.productinfo-module_variant_container__-y4Uc:hover {\n /* transform: scale(1.05); */\n}\n.productinfo-module_variant_container_active__OAhmg {\n border: 2px solid green;\n background-color: green;\n}\n.productinfo-module_color_container__c42a9 {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 4vh;\n height: 4vh;\n border: 2px solid #ccc;\n border-radius: 50%;\n overflow: hidden;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_color_container_active__Br2PW {\n padding: 10px;\n border: 2px solid var(--green);\n}\n\n.productinfo-module_color_container_active__Br2PW
|
|
1177
|
+
var css_248z$L = ".productinfo-module_variant_container__-y4Uc {\n display: flex;\n align-items: center;\n justify-content: center;\n /* min-width: 10vh;\n height: 5vh; */\n border-radius: 10px;\n background-color: #000;\n color: white;\n padding: 0 6px;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_size_variant_container__vuTAO {\n /* min-width: 5vh !important;\n max-width: 5vh !important;\n height: 5vh !important;\n border-radius: 50% !important; */\n /* padding: 0 2px !important; */\n}\n.productinfo-module_variant_container__-y4Uc:hover {\n /* transform: scale(1.05); */\n}\n.productinfo-module_variant_container_active__OAhmg {\n border: 2px solid green;\n background-color: green;\n}\n.productinfo-module_color_container__c42a9 {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 4vh;\n height: 4vh;\n border: 2px solid #ccc;\n border-radius: 50%;\n overflow: hidden;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_color_container_active__Br2PW {\n padding: 10px;\n border: 2px solid var(--green);\n}\n\n.productinfo-module_color_container_active__Br2PW {\n /* display: flex;\n align-items: center;\n justify-content: center;\n content: '✓';\n color: white; */\n}\n.productinfo-module_color_container__c42a9:hover {\n /* transform: scale(1.1); */\n}\n";
|
|
1178
1178
|
var productinfostyles = {"variant_container":"productinfo-module_variant_container__-y4Uc","size_variant_container":"productinfo-module_size_variant_container__vuTAO","variant_container_active":"productinfo-module_variant_container_active__OAhmg","color_container":"productinfo-module_color_container__c42a9","color_container_active":"productinfo-module_color_container_active__Br2PW"};
|
|
1179
1179
|
styleInject(css_248z$L);
|
|
1180
1180
|
|
|
@@ -1185,11 +1185,11 @@ var css_248z$J = "@media screen and (max-width: 800px) {\n .signup-module_rig
|
|
|
1185
1185
|
var loginstyles = {"rightContainer":"signup-module_rightContainer__yEcoL","rightContainerTrans":"signup-module_rightContainerTrans__fkdBH","rightContainerText":"signup-module_rightContainerText__-pvN-","form_control":"signup-module_form_control__7s76W","anim-shadow":"signup-module_anim-shadow__CsxhG","login_input_icon":"signup-module_login_input_icon__RDTS0","form_control_border_none":"signup-module_form_control_border_none__HjUMS","disabled":"signup-module_disabled__h55ao","leftcontainer":"signup-module_leftcontainer__bqfnN","form_controltextarea":"signup-module_form_controltextarea__-LGz6","checkbox":"signup-module_checkbox__8ejBx","checkbox_label":"signup-module_checkbox_label__d84Q2","checkbox_sub":"signup-module_checkbox_sub__WQLUX","checkboxtranslated":"signup-module_checkboxtranslated__4xHR-","showpassword_input_icon":"signup-module_showpassword_input_icon__cVHRS","showpassword_input_icontrans":"signup-module_showpassword_input_icontrans__vmV5q"};
|
|
1186
1186
|
styleInject(css_248z$J);
|
|
1187
1187
|
|
|
1188
|
-
function ownKeys$
|
|
1189
|
-
function _objectSpread$
|
|
1188
|
+
function ownKeys$2v(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1189
|
+
function _objectSpread$2v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2v(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1190
1190
|
var selectcustomStyles = {
|
|
1191
1191
|
option: function option(provided, state) {
|
|
1192
|
-
return _objectSpread$
|
|
1192
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1193
1193
|
borderBottom: '1px solid #e6e6e6',
|
|
1194
1194
|
backgroundColor: state.isSelected ? '' : '',
|
|
1195
1195
|
padding: 5,
|
|
@@ -1218,7 +1218,7 @@ var selectcustomStyles = {
|
|
|
1218
1218
|
};
|
|
1219
1219
|
var selectcustomStylesTranslated = {
|
|
1220
1220
|
option: function option(provided, state) {
|
|
1221
|
-
return _objectSpread$
|
|
1221
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1222
1222
|
borderBottom: '1px solid #e6e6e6',
|
|
1223
1223
|
backgroundColor: state.isSelected ? '' : '',
|
|
1224
1224
|
padding: 5,
|
|
@@ -1247,14 +1247,14 @@ var selectcustomStylesTranslated = {
|
|
|
1247
1247
|
};
|
|
1248
1248
|
},
|
|
1249
1249
|
placeholder: function placeholder(provided, state) {
|
|
1250
|
-
return _objectSpread$
|
|
1250
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1251
1251
|
textAlign: 'right'
|
|
1252
1252
|
});
|
|
1253
1253
|
}
|
|
1254
1254
|
};
|
|
1255
1255
|
var defaultstyles = {
|
|
1256
1256
|
option: function option(provided, state) {
|
|
1257
|
-
return _objectSpread$
|
|
1257
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1258
1258
|
borderBottom: '1px solid #e6e6e6',
|
|
1259
1259
|
backgroundColor: state.isSelected ? '' : '',
|
|
1260
1260
|
padding: 5,
|
|
@@ -1282,7 +1282,7 @@ var defaultstyles = {
|
|
|
1282
1282
|
}), _ref;
|
|
1283
1283
|
},
|
|
1284
1284
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1285
|
-
return _objectSpread$
|
|
1285
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1286
1286
|
'&:hover': {
|
|
1287
1287
|
// color: '#eac435',
|
|
1288
1288
|
}
|
|
@@ -1291,7 +1291,7 @@ var defaultstyles = {
|
|
|
1291
1291
|
};
|
|
1292
1292
|
var defaultstylestranslated = {
|
|
1293
1293
|
option: function option(provided, state) {
|
|
1294
|
-
return _objectSpread$
|
|
1294
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1295
1295
|
borderBottom: '1px solid #e6e6e6',
|
|
1296
1296
|
backgroundColor: state.isSelected ? '' : '',
|
|
1297
1297
|
padding: 5,
|
|
@@ -1322,21 +1322,21 @@ var defaultstylestranslated = {
|
|
|
1322
1322
|
};
|
|
1323
1323
|
},
|
|
1324
1324
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1325
|
-
return _objectSpread$
|
|
1325
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1326
1326
|
'&:hover': {
|
|
1327
1327
|
// color: '#eac435',
|
|
1328
1328
|
}
|
|
1329
1329
|
});
|
|
1330
1330
|
},
|
|
1331
1331
|
placeholder: function placeholder(provided, state) {
|
|
1332
|
-
return _objectSpread$
|
|
1332
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1333
1333
|
textAlign: 'right'
|
|
1334
1334
|
});
|
|
1335
1335
|
}
|
|
1336
1336
|
};
|
|
1337
1337
|
var defaultstylesnone = {
|
|
1338
1338
|
option: function option(provided, state) {
|
|
1339
|
-
return _objectSpread$
|
|
1339
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1340
1340
|
borderBottom: '1px solid #e6e6e6',
|
|
1341
1341
|
backgroundColor: state.isSelected ? '' : '',
|
|
1342
1342
|
padding: 5,
|
|
@@ -1364,7 +1364,7 @@ var defaultstylesnone = {
|
|
|
1364
1364
|
};
|
|
1365
1365
|
},
|
|
1366
1366
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1367
|
-
return _objectSpread$
|
|
1367
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1368
1368
|
'&:hover': {
|
|
1369
1369
|
// color: '#eac435',
|
|
1370
1370
|
}
|
|
@@ -1386,6 +1386,10 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1386
1386
|
var sectionproperties = props.actions.sectionproperties;
|
|
1387
1387
|
props.actions.ikimagecredcontext;
|
|
1388
1388
|
var ProductInfoObj = props.actions.ProductInfoObj;
|
|
1389
|
+
var _useState = useState(''),
|
|
1390
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
1391
|
+
_useState2[0];
|
|
1392
|
+
var setcolorvalue = _useState2[1];
|
|
1389
1393
|
var formstyles = {
|
|
1390
1394
|
input_label_name: css({
|
|
1391
1395
|
color: sectionproperties.form_labelcolor,
|
|
@@ -1450,7 +1454,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1450
1454
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1451
1455
|
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1452
1456
|
}
|
|
1453
|
-
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React.createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":")), /*#__PURE__*/React.createElement("div", {
|
|
1457
|
+
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React.createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":", ' ')), /*#__PURE__*/React.createElement("div", {
|
|
1454
1458
|
className: "col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-1",
|
|
1455
1459
|
style: {
|
|
1456
1460
|
paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0
|
|
@@ -1474,8 +1478,14 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1474
1478
|
onClick: function onClick() {
|
|
1475
1479
|
if (optionvaluesitem.isenabled == 1) {
|
|
1476
1480
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1481
|
+
if (optionvaluesitem.valuename == '#000000') {
|
|
1482
|
+
setcolorvalue('Black');
|
|
1483
|
+
} else if (optionvaluesitem.valuename == '#c9b0a1') {
|
|
1484
|
+
setcolorvalue('Beige');
|
|
1485
|
+
}
|
|
1477
1486
|
} else {
|
|
1478
1487
|
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1488
|
+
setcolorvalue('');
|
|
1479
1489
|
}
|
|
1480
1490
|
},
|
|
1481
1491
|
style: {
|
|
@@ -1947,8 +1957,8 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
1947
1957
|
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(Math.round(parseInt(fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2) : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)) * (fetchProductInfoQueryContext.data.data.productinfo.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))));
|
|
1948
1958
|
};
|
|
1949
1959
|
|
|
1950
|
-
function ownKeys$
|
|
1951
|
-
function _objectSpread$
|
|
1960
|
+
function ownKeys$2u(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1961
|
+
function _objectSpread$2u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2u(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1952
1962
|
var ProductExtraFields = function ProductExtraFields(props) {
|
|
1953
1963
|
var _fetchProductInfoQuer, _css, _fetchProductInfoQuer2;
|
|
1954
1964
|
props.actions.lang;
|
|
@@ -2003,9 +2013,9 @@ var ProductExtraFields = function ProductExtraFields(props) {
|
|
|
2003
2013
|
});
|
|
2004
2014
|
}
|
|
2005
2015
|
setproductextravaluesarray(_toConsumableArray(tempproductextravaluesarray));
|
|
2006
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2016
|
+
var tempaddtocardpayloadobj = _objectSpread$2u({}, addtocardpayloadobj);
|
|
2007
2017
|
tempaddtocardpayloadobj.extrafields = tempproductextravaluesarray;
|
|
2008
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2018
|
+
setaddtocardpayloadobj(_objectSpread$2u({}, tempaddtocardpayloadobj));
|
|
2009
2019
|
};
|
|
2010
2020
|
var formstyles = {
|
|
2011
2021
|
input_label_name: css({
|
|
@@ -2220,8 +2230,8 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2220
2230
|
})))));
|
|
2221
2231
|
};
|
|
2222
2232
|
|
|
2223
|
-
function ownKeys$
|
|
2224
|
-
function _objectSpread$
|
|
2233
|
+
function ownKeys$2t(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2234
|
+
function _objectSpread$2t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2t(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2225
2235
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2226
2236
|
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40;
|
|
2227
2237
|
var lang = props.actions.lang;
|
|
@@ -2768,11 +2778,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2768
2778
|
}, sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React.createElement("span", {
|
|
2769
2779
|
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
2770
2780
|
onClick: function onClick() {
|
|
2771
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2781
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2772
2782
|
if (tempaddtocardpayloadobj.quantity > 0) {
|
|
2773
2783
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
|
|
2774
2784
|
}
|
|
2775
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2785
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2776
2786
|
}
|
|
2777
2787
|
}, /*#__PURE__*/React.createElement("i", {
|
|
2778
2788
|
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
|
|
@@ -2786,9 +2796,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2786
2796
|
}, addtocardpayloadobj.quantity), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React.createElement("span", {
|
|
2787
2797
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
2788
2798
|
onClick: function onClick() {
|
|
2789
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2799
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2790
2800
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
|
|
2791
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2801
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2792
2802
|
}
|
|
2793
2803
|
}, /*#__PURE__*/React.createElement("i", {
|
|
2794
2804
|
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
|
|
@@ -2813,13 +2823,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2813
2823
|
value: addtocardpayloadobj.quantity,
|
|
2814
2824
|
onChange: function onChange(event) {
|
|
2815
2825
|
if (event.target.value == NaN || event.target.value == undefined || event.target.value == null || event.target.value == '') {
|
|
2816
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2826
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2817
2827
|
tempaddtocardpayloadobj.quantity = 1;
|
|
2818
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2828
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2819
2829
|
} else {
|
|
2820
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2830
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2821
2831
|
tempaddtocardpayloadobj.quantity = parseInt(event.target.value);
|
|
2822
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2832
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2823
2833
|
}
|
|
2824
2834
|
}
|
|
2825
2835
|
})), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("button", {
|
|
@@ -3122,8 +3132,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3122
3132
|
}, ShareButtonsContainer()))))))));
|
|
3123
3133
|
};
|
|
3124
3134
|
|
|
3125
|
-
function ownKeys$
|
|
3126
|
-
function _objectSpread$
|
|
3135
|
+
function ownKeys$2s(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3136
|
+
function _objectSpread$2s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2s(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3127
3137
|
var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
3128
3138
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer13, _fetchProductInfoQuer14;
|
|
3129
3139
|
var langdetect = props.actions.langdetect;
|
|
@@ -3164,7 +3174,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3164
3174
|
slots = _useState6[0],
|
|
3165
3175
|
setslots = _useState6[1];
|
|
3166
3176
|
useEffect(function () {
|
|
3167
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3177
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3168
3178
|
item_type: 'service'
|
|
3169
3179
|
}));
|
|
3170
3180
|
}, [tabsarray]);
|
|
@@ -3176,16 +3186,16 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3176
3186
|
if (diffDays.toString() != 'NaN') {
|
|
3177
3187
|
if (date2 <= date1) {
|
|
3178
3188
|
NotificationManager.warning('', 'Please choose another date.');
|
|
3179
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3189
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3180
3190
|
quantity: 0
|
|
3181
3191
|
}));
|
|
3182
3192
|
} else {
|
|
3183
3193
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
|
|
3184
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3194
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3185
3195
|
quantity: diffDays
|
|
3186
3196
|
}));
|
|
3187
3197
|
} else {
|
|
3188
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3198
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3189
3199
|
quantity: 0
|
|
3190
3200
|
}));
|
|
3191
3201
|
NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
@@ -3321,7 +3331,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3321
3331
|
min: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.serviceinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.reservationstarts,
|
|
3322
3332
|
max: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.serviceinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.reservationends,
|
|
3323
3333
|
onChange: function onChange(event) {
|
|
3324
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3334
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3325
3335
|
from: event.target.value
|
|
3326
3336
|
}));
|
|
3327
3337
|
}
|
|
@@ -3341,7 +3351,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3341
3351
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
3342
3352
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
3343
3353
|
onChange: function onChange(event) {
|
|
3344
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3354
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3345
3355
|
to: event.target.value
|
|
3346
3356
|
}));
|
|
3347
3357
|
}
|
|
@@ -3361,7 +3371,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3361
3371
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
3362
3372
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
3363
3373
|
onChange: function onChange(event) {
|
|
3364
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3374
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3365
3375
|
date: event.target.value
|
|
3366
3376
|
}));
|
|
3367
3377
|
setcurrentmutatestate('/fetchserviceslots');
|
|
@@ -3412,7 +3422,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3412
3422
|
color: ischoosed ? sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? sectionproperties.generalbtn_textColoronhover : sectionproperties.generalbtn_textColor : ''
|
|
3413
3423
|
},
|
|
3414
3424
|
onClick: function onClick() {
|
|
3415
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3425
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3416
3426
|
time: item.slot
|
|
3417
3427
|
}));
|
|
3418
3428
|
}
|
|
@@ -3421,7 +3431,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3421
3431
|
}, /*#__PURE__*/React.createElement("button", {
|
|
3422
3432
|
"class": TabsStyles.booknow_btn_resp + ' allcentered ',
|
|
3423
3433
|
onClick: function onClick() {
|
|
3424
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3434
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3425
3435
|
time: item.slot
|
|
3426
3436
|
}));
|
|
3427
3437
|
}
|
|
@@ -3495,7 +3505,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3495
3505
|
"class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
|
|
3496
3506
|
style: {},
|
|
3497
3507
|
onClick: function onClick() {
|
|
3498
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3508
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3499
3509
|
time: item.slot
|
|
3500
3510
|
}));
|
|
3501
3511
|
}
|
|
@@ -4199,8 +4209,8 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4199
4209
|
}, StoreInfoprops()))));
|
|
4200
4210
|
};
|
|
4201
4211
|
|
|
4202
|
-
function ownKeys$
|
|
4203
|
-
function _objectSpread$
|
|
4212
|
+
function ownKeys$2r(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4213
|
+
function _objectSpread$2r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2r(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4204
4214
|
var AddReview = function AddReview(props) {
|
|
4205
4215
|
var _css;
|
|
4206
4216
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -4252,7 +4262,7 @@ var AddReview = function AddReview(props) {
|
|
|
4252
4262
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
4253
4263
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4254
4264
|
});
|
|
4255
|
-
setsectionproperties(_objectSpread$
|
|
4265
|
+
setsectionproperties(_objectSpread$2r({}, secpropobj));
|
|
4256
4266
|
}
|
|
4257
4267
|
}, [StatePagePropertiesContext]);
|
|
4258
4268
|
useEffect(function () {
|
|
@@ -4261,7 +4271,7 @@ var AddReview = function AddReview(props) {
|
|
|
4261
4271
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
4262
4272
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4263
4273
|
});
|
|
4264
|
-
setsectionproperties(_objectSpread$
|
|
4274
|
+
setsectionproperties(_objectSpread$2r({}, secpropobj));
|
|
4265
4275
|
}, [pageindexcontext]);
|
|
4266
4276
|
var reviewstyles = {
|
|
4267
4277
|
submitreviewbtn: css({
|
|
@@ -4387,9 +4397,9 @@ var AddReview = function AddReview(props) {
|
|
|
4387
4397
|
}),
|
|
4388
4398
|
activeColor: "#ffd700",
|
|
4389
4399
|
onChange: function onChange(event) {
|
|
4390
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4400
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4391
4401
|
tempreviewpayloadobj.reviewrate = event;
|
|
4392
|
-
setreviewpayloadobj(_objectSpread$
|
|
4402
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4393
4403
|
}
|
|
4394
4404
|
})))))), /*#__PURE__*/React.createElement("div", {
|
|
4395
4405
|
"class": "col-lg-12"
|
|
@@ -4403,9 +4413,9 @@ var AddReview = function AddReview(props) {
|
|
|
4403
4413
|
"class": reviewstyles.form_control,
|
|
4404
4414
|
value: reviewpayloadobj.reviewname,
|
|
4405
4415
|
onChange: function onChange(event) {
|
|
4406
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4416
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4407
4417
|
tempreviewpayloadobj.reviewname = event.target.value;
|
|
4408
|
-
setreviewpayloadobj(_objectSpread$
|
|
4418
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4409
4419
|
}
|
|
4410
4420
|
})), /*#__PURE__*/React.createElement("div", {
|
|
4411
4421
|
"class": "col-lg-12 mb-4"
|
|
@@ -4415,9 +4425,9 @@ var AddReview = function AddReview(props) {
|
|
|
4415
4425
|
"class": reviewstyles.form_control,
|
|
4416
4426
|
value: reviewpayloadobj.reviewtitle,
|
|
4417
4427
|
onChange: function onChange(event) {
|
|
4418
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4428
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4419
4429
|
tempreviewpayloadobj.reviewtitle = event.target.value;
|
|
4420
|
-
setreviewpayloadobj(_objectSpread$
|
|
4430
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4421
4431
|
}
|
|
4422
4432
|
})), /*#__PURE__*/React.createElement("div", {
|
|
4423
4433
|
"class": "col-lg-12 mb-4"
|
|
@@ -4428,9 +4438,9 @@ var AddReview = function AddReview(props) {
|
|
|
4428
4438
|
"class": reviewstyles.form_control + ' form_control ',
|
|
4429
4439
|
value: reviewpayloadobj.reviewbody,
|
|
4430
4440
|
onChange: function onChange(event) {
|
|
4431
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4441
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4432
4442
|
tempreviewpayloadobj.reviewbody = event.target.value;
|
|
4433
|
-
setreviewpayloadobj(_objectSpread$
|
|
4443
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4434
4444
|
},
|
|
4435
4445
|
style: {
|
|
4436
4446
|
resize: 'none',
|
|
@@ -4465,8 +4475,8 @@ var AddReview = function AddReview(props) {
|
|
|
4465
4475
|
}, langdetect == 'en' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)));
|
|
4466
4476
|
};
|
|
4467
4477
|
|
|
4468
|
-
function ownKeys$
|
|
4469
|
-
function _objectSpread$
|
|
4478
|
+
function ownKeys$2q(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4479
|
+
function _objectSpread$2q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4470
4480
|
var ProductReviews = function ProductReviews(props) {
|
|
4471
4481
|
var _fetchProductInfoQuer, _fetchProductInfoQuer3, _fetchProductInfoQuer4;
|
|
4472
4482
|
props.actions.lang;
|
|
@@ -4700,7 +4710,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4700
4710
|
size: "md",
|
|
4701
4711
|
"class": "reviewmodal"
|
|
4702
4712
|
}, /*#__PURE__*/React.createElement(Modal.Body, null, /*#__PURE__*/React.createElement(AddReview, {
|
|
4703
|
-
actions: _objectSpread$
|
|
4713
|
+
actions: _objectSpread$2q(_objectSpread$2q({}, actions), {}, {
|
|
4704
4714
|
productid: productid,
|
|
4705
4715
|
canuserreview: canuserreview,
|
|
4706
4716
|
addreviewcallback: addreviewcallback
|
|
@@ -4708,8 +4718,8 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4708
4718
|
}))));
|
|
4709
4719
|
};
|
|
4710
4720
|
|
|
4711
|
-
function ownKeys$
|
|
4712
|
-
function _objectSpread$
|
|
4721
|
+
function ownKeys$2p(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4722
|
+
function _objectSpread$2p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2p(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4713
4723
|
var Productinfo = function Productinfo(props) {
|
|
4714
4724
|
var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
|
|
4715
4725
|
var _useState = useState({}),
|
|
@@ -4738,7 +4748,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4738
4748
|
setfetchProductInfoQueryContext = _useState4[1];
|
|
4739
4749
|
useEffect(function () {
|
|
4740
4750
|
if (fetchProductInfoQueryContextProps.isSuccess) {
|
|
4741
|
-
setProductInfoObj(_objectSpread$
|
|
4751
|
+
setProductInfoObj(_objectSpread$2p({}, fetchProductInfoQueryContextProps.data));
|
|
4742
4752
|
setfetchProductInfoQueryContext(fetchProductInfoQueryContextProps);
|
|
4743
4753
|
}
|
|
4744
4754
|
}, [props.actions, props, fetchProductInfoQueryContextProps.data, fetchProductInfoQueryContextProps.isSuccess]);
|
|
@@ -4850,7 +4860,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4850
4860
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
4851
4861
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4852
4862
|
});
|
|
4853
|
-
setsectionproperties(_objectSpread$
|
|
4863
|
+
setsectionproperties(_objectSpread$2p({}, secpropobj));
|
|
4854
4864
|
setTabIndex(0);
|
|
4855
4865
|
settabname('descriptiontab');
|
|
4856
4866
|
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom') {
|
|
@@ -4890,7 +4900,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4890
4900
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
4891
4901
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4892
4902
|
});
|
|
4893
|
-
setsectionproperties(_objectSpread$
|
|
4903
|
+
setsectionproperties(_objectSpread$2p({}, secpropobj));
|
|
4894
4904
|
}, [pageindexcontext]);
|
|
4895
4905
|
useEffect(function () {
|
|
4896
4906
|
if (productidparam == undefined) {
|
|
@@ -4910,12 +4920,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
4910
4920
|
}
|
|
4911
4921
|
}, [ProductInfoObj, isloaded]);
|
|
4912
4922
|
var productidassigner = function productidassigner(productid) {
|
|
4913
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
4923
|
+
var tempFetchQueriesEngineContext = _objectSpread$2p({}, FetchQueriesEngineContext);
|
|
4914
4924
|
tempFetchQueriesEngineContext.fetchproductinfo = true;
|
|
4915
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
4916
|
-
var tempfetchproductinfoObjContext = _objectSpread$
|
|
4925
|
+
setFetchQueriesEngineContext(_objectSpread$2p({}, tempFetchQueriesEngineContext));
|
|
4926
|
+
var tempfetchproductinfoObjContext = _objectSpread$2p({}, fetchproductinfoObjContext);
|
|
4917
4927
|
tempfetchproductinfoObjContext.productid = productid;
|
|
4918
|
-
setfetchproductinfoObjContext(_objectSpread$
|
|
4928
|
+
setfetchproductinfoObjContext(_objectSpread$2p({}, tempfetchproductinfoObjContext));
|
|
4919
4929
|
};
|
|
4920
4930
|
useEffect(function () {
|
|
4921
4931
|
if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
@@ -4952,9 +4962,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
4952
4962
|
}
|
|
4953
4963
|
setproductimagesarray([].concat(tempproductimagesarray));
|
|
4954
4964
|
variantchecker();
|
|
4955
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
4965
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
4956
4966
|
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext.data.data.productinfo.productid;
|
|
4957
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
4967
|
+
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
4958
4968
|
setRelatedProductsTagid(fetchProductInfoQueryContext.data.data.productinfo.maintagid);
|
|
4959
4969
|
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.maintagid) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.maintagid) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.length) != 0) {
|
|
4960
4970
|
GeneralAPIMutationContext.mutate({
|
|
@@ -5001,7 +5011,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5001
5011
|
});
|
|
5002
5012
|
variantchecker();
|
|
5003
5013
|
variantcompleting();
|
|
5004
|
-
setProductInfoObj(_objectSpread$
|
|
5014
|
+
setProductInfoObj(_objectSpread$2p({}, productarr));
|
|
5005
5015
|
};
|
|
5006
5016
|
var variantchecker = function variantchecker() {
|
|
5007
5017
|
var productarr = ProductInfoObj;
|
|
@@ -5075,16 +5085,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
5075
5085
|
});
|
|
5076
5086
|
}
|
|
5077
5087
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
5078
|
-
setProductInfoObj(_objectSpread$
|
|
5088
|
+
setProductInfoObj(_objectSpread$2p({}, productarr));
|
|
5079
5089
|
setisloaded(true);
|
|
5080
5090
|
}
|
|
5081
5091
|
}
|
|
5082
5092
|
};
|
|
5083
5093
|
var variantcompleting = function variantcompleting() {
|
|
5084
5094
|
setvariantindexcompleted('');
|
|
5085
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5095
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5086
5096
|
tempaddtocardpayloadobj.variantid = '';
|
|
5087
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
5097
|
+
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
5088
5098
|
var productarr = ProductInfoObj;
|
|
5089
5099
|
var selectedoptionsvalues = [];
|
|
5090
5100
|
productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
|
|
@@ -5117,7 +5127,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5117
5127
|
NotificationManager.warning('', 'Variant Not Found');
|
|
5118
5128
|
} else {
|
|
5119
5129
|
variantid = variantobj.variantid;
|
|
5120
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5130
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5121
5131
|
tempaddtocardpayloadobj.variantid = variantid;
|
|
5122
5132
|
var variantimageindex = 0;
|
|
5123
5133
|
productimagesarray === null || productimagesarray === void 0 || productimagesarray.forEach(function (tempimageitem, tempimageindex) {
|
|
@@ -5133,14 +5143,14 @@ var Productinfo = function Productinfo(props) {
|
|
|
5133
5143
|
setvariantsku(variantobj === null || variantobj === void 0 ? void 0 : variantobj.sku);
|
|
5134
5144
|
// alert(variantsku);
|
|
5135
5145
|
setcurrentshowingimageindex(variantimageindex);
|
|
5136
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
5146
|
+
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
5137
5147
|
setvariantindexcompleted(ProductVariantIndex);
|
|
5138
5148
|
setvariantindex(ProductVariantIndex);
|
|
5139
5149
|
}
|
|
5140
5150
|
}
|
|
5141
5151
|
});
|
|
5142
5152
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
5143
|
-
setProductInfoObj(_objectSpread$
|
|
5153
|
+
setProductInfoObj(_objectSpread$2p({}, productarr));
|
|
5144
5154
|
};
|
|
5145
5155
|
var addtocartfunc = function addtocartfunc(forcetocheckout) {
|
|
5146
5156
|
var runfunc = false;
|
|
@@ -5161,7 +5171,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5161
5171
|
}
|
|
5162
5172
|
if (runfunc == true) {
|
|
5163
5173
|
var _fetchProductInfoQuer7, _fetchProductInfoQuer8;
|
|
5164
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5174
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5165
5175
|
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.isproductforcedtocheckout;
|
|
5166
5176
|
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.vendorproviderid;
|
|
5167
5177
|
if (forcetocheckoutvalue != undefined) {
|
|
@@ -5185,7 +5195,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5185
5195
|
};
|
|
5186
5196
|
var validateextrafields = function validateextrafields() {
|
|
5187
5197
|
var _fetchProductInfoQuer15;
|
|
5188
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5198
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5189
5199
|
var status = false;
|
|
5190
5200
|
var reason = '';
|
|
5191
5201
|
var missingitemsfound = [];
|
|
@@ -6224,7 +6234,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6224
6234
|
}))), /*#__PURE__*/React.createElement(Box, {
|
|
6225
6235
|
"class": "w-100 mt-5 mb-4"
|
|
6226
6236
|
}, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
6227
|
-
actions: _objectSpread$
|
|
6237
|
+
actions: _objectSpread$2p(_objectSpread$2p({}, actions), {}, {
|
|
6228
6238
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
6229
6239
|
sectionproperties: sectionproperties
|
|
6230
6240
|
})
|
|
@@ -6272,7 +6282,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6272
6282
|
})), tabname == 'reviewstab' && /*#__PURE__*/React.createElement("div", {
|
|
6273
6283
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
6274
6284
|
}, /*#__PURE__*/React.createElement(ProductReviews, {
|
|
6275
|
-
actions: _objectSpread$
|
|
6285
|
+
actions: _objectSpread$2p(_objectSpread$2p({}, actions), {}, {
|
|
6276
6286
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
6277
6287
|
sectionproperties: sectionproperties
|
|
6278
6288
|
})
|
|
@@ -6289,8 +6299,8 @@ var css_248z$I = "/* Side Nav */\n.staticroutersidenav-module_vertical_nav_menu_
|
|
|
6289
6299
|
var staticroutersidenav = {"vertical_nav_menu":"staticroutersidenav-module_vertical_nav_menu__p0mIj","sidebar_item":"staticroutersidenav-module_sidebar_item__3F9Q1","sidenav_page_name":"staticroutersidenav-module_sidenav_page_name__46AJV","sidenav_icon_cont":"staticroutersidenav-module_sidenav_icon_cont__O8YSe","metismenu_icon":"staticroutersidenav-module_metismenu_icon__EcRZ1","sidenav_active":"staticroutersidenav-module_sidenav_active__IjRo0","horizontal_nav_menu":"staticroutersidenav-module_horizontal_nav_menu__6V32S","sidebar_itemlastchild":"staticroutersidenav-module_sidebar_itemlastchild__9O187"};
|
|
6290
6300
|
styleInject(css_248z$I);
|
|
6291
6301
|
|
|
6292
|
-
function ownKeys$
|
|
6293
|
-
function _objectSpread$
|
|
6302
|
+
function ownKeys$2o(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6303
|
+
function _objectSpread$2o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2o(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6294
6304
|
var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
6295
6305
|
var _useState = useState(props.currentpageprops),
|
|
6296
6306
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -6326,7 +6336,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
6326
6336
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
6327
6337
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6328
6338
|
});
|
|
6329
|
-
setsectionproperties(_objectSpread$
|
|
6339
|
+
setsectionproperties(_objectSpread$2o({}, secpropobj));
|
|
6330
6340
|
}
|
|
6331
6341
|
}, [CurrentPageId]);
|
|
6332
6342
|
var styles = {
|
|
@@ -6492,8 +6502,8 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
6492
6502
|
}))))));
|
|
6493
6503
|
};
|
|
6494
6504
|
|
|
6495
|
-
function ownKeys$
|
|
6496
|
-
function _objectSpread$
|
|
6505
|
+
function ownKeys$2n(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6506
|
+
function _objectSpread$2n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2n(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6497
6507
|
var Ordershistory = function Ordershistory(props) {
|
|
6498
6508
|
var _props$actions2, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchorderhistoryQue2, _fetchorderhistoryQue3, _fetchorderhistoryQue4, _fetchorderhistoryQue5;
|
|
6499
6509
|
var lang = props.actions.lang;
|
|
@@ -6546,9 +6556,9 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
6546
6556
|
setorderindex = _useState14[1];
|
|
6547
6557
|
useEffect(function () {
|
|
6548
6558
|
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) == true) {
|
|
6549
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
6559
|
+
var tempFetchQueriesEngineContext = _objectSpread$2n({}, FetchQueriesEngineContext);
|
|
6550
6560
|
tempFetchQueriesEngineContext.orderhistory = true;
|
|
6551
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
6561
|
+
setFetchQueriesEngineContext(_objectSpread$2n({}, tempFetchQueriesEngineContext));
|
|
6552
6562
|
}
|
|
6553
6563
|
}, []);
|
|
6554
6564
|
var _useState15 = useState(''),
|
|
@@ -6569,7 +6579,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
6569
6579
|
props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.StatePagePropertiesContext) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageobj) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageproperties) === null || _props$actions === void 0 || _props$actions.forEach(function (arrayItem, arrayindex) {
|
|
6570
6580
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6571
6581
|
});
|
|
6572
|
-
setsectionproperties(_objectSpread$
|
|
6582
|
+
setsectionproperties(_objectSpread$2n({}, secpropobj));
|
|
6573
6583
|
}, [props === null || props === void 0 || (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
6574
6584
|
var orderhistory_cssstyles = {
|
|
6575
6585
|
variantcontainer: css({
|
|
@@ -7520,8 +7530,8 @@ var css_248z$H = ".wishlist-module_wishlist_card__sUXul .wishlist-module_image_c
|
|
|
7520
7530
|
var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
|
|
7521
7531
|
styleInject(css_248z$H);
|
|
7522
7532
|
|
|
7523
|
-
function ownKeys$
|
|
7524
|
-
function _objectSpread$
|
|
7533
|
+
function ownKeys$2m(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7534
|
+
function _objectSpread$2m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2m(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7525
7535
|
var Wishlist = function Wishlist(props) {
|
|
7526
7536
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
7527
7537
|
var lang = props.actions.lang;
|
|
@@ -7549,13 +7559,13 @@ var Wishlist = function Wishlist(props) {
|
|
|
7549
7559
|
StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
7550
7560
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
7551
7561
|
});
|
|
7552
|
-
setsectionproperties(_objectSpread$
|
|
7562
|
+
setsectionproperties(_objectSpread$2m({}, secpropobj));
|
|
7553
7563
|
}
|
|
7554
7564
|
}, [StatePagePropertiesContext]);
|
|
7555
7565
|
useEffect(function () {
|
|
7556
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
7566
|
+
var tempFetchQueriesEngineContext = _objectSpread$2m({}, FetchQueriesEngineContext);
|
|
7557
7567
|
tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
|
|
7558
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
7568
|
+
setFetchQueriesEngineContext(_objectSpread$2m({}, tempFetchQueriesEngineContext));
|
|
7559
7569
|
}, []);
|
|
7560
7570
|
useEffect(function () {
|
|
7561
7571
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
@@ -7564,7 +7574,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7564
7574
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
7565
7575
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
7566
7576
|
});
|
|
7567
|
-
setsectionproperties(_objectSpread$
|
|
7577
|
+
setsectionproperties(_objectSpread$2m({}, secpropobj));
|
|
7568
7578
|
}
|
|
7569
7579
|
}, [StatePagePropertiesContext]);
|
|
7570
7580
|
var wishlist_cssstyles = {
|
|
@@ -7973,8 +7983,8 @@ var Wishlist = function Wishlist(props) {
|
|
|
7973
7983
|
})));
|
|
7974
7984
|
};
|
|
7975
7985
|
|
|
7976
|
-
function ownKeys$
|
|
7977
|
-
function _objectSpread$
|
|
7986
|
+
function ownKeys$2l(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7987
|
+
function _objectSpread$2l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2l(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7978
7988
|
var Viewcart = function Viewcart(props) {
|
|
7979
7989
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8;
|
|
7980
7990
|
var lang = props.actions.lang;
|
|
@@ -8006,7 +8016,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
8006
8016
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
8007
8017
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
8008
8018
|
});
|
|
8009
|
-
setsectionproperties(_objectSpread$
|
|
8019
|
+
setsectionproperties(_objectSpread$2l({}, secpropobj));
|
|
8010
8020
|
}
|
|
8011
8021
|
}, [StatePagePropertiesContext]);
|
|
8012
8022
|
useEffect(function () {
|
|
@@ -8594,8 +8604,8 @@ var css_248z$G = "/* Forms */\n.form-module_form_control__4-RGw {\n display:
|
|
|
8594
8604
|
var formstyles = {"form_control":"form-module_form_control__4-RGw","textarea":"form-module_textarea__zG0ed","form_control_border_none":"form-module_form_control_border_none__TJvdZ","disabled":"form-module_disabled__AtvSI","input_label_name":"form-module_input_label_name__416wN","input_label_name-bolder":"form-module_input_label_name-bolder__UQn0a","input_icon":"form-module_input_icon__X-CzC","radiobtn_label":"form-module_radiobtn_label__-4Hoi","text-grey":"form-module_text-grey__JdZMY","radiobtn_label_translated":"form-module_radiobtn_label_translated__WN5Jj","checkbox":"form-module_checkbox__XPkWy","checkbox_label":"form-module_checkbox_label__VvcKs","checkbox_sub":"form-module_checkbox_sub__QWYil","checkboxtranslated":"form-module_checkboxtranslated__zvEV-"};
|
|
8595
8605
|
styleInject(css_248z$G);
|
|
8596
8606
|
|
|
8597
|
-
function ownKeys$
|
|
8598
|
-
function _objectSpread$
|
|
8607
|
+
function ownKeys$2k(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
8608
|
+
function _objectSpread$2k(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2k(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2k(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8599
8609
|
var Select$3 = /*#__PURE__*/React.lazy(function () {
|
|
8600
8610
|
return import('react-select');
|
|
8601
8611
|
});
|
|
@@ -8654,7 +8664,7 @@ var Checkout = function Checkout(props) {
|
|
|
8654
8664
|
props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.StatePagePropertiesContext) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageobj) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageproperties) === null || _props$actions === void 0 || _props$actions.forEach(function (arrayItem, arrayindex) {
|
|
8655
8665
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
8656
8666
|
});
|
|
8657
|
-
setsectionproperties(_objectSpread$
|
|
8667
|
+
setsectionproperties(_objectSpread$2k({}, secpropobj));
|
|
8658
8668
|
}, [props.actions.StatePagePropertiesContext]);
|
|
8659
8669
|
useEffect(function () {
|
|
8660
8670
|
var Canorder = false;
|
|
@@ -8674,10 +8684,10 @@ var Checkout = function Checkout(props) {
|
|
|
8674
8684
|
}
|
|
8675
8685
|
if (Canorder == true) {
|
|
8676
8686
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7;
|
|
8677
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
8687
|
+
var tempFetchQueriesEngineContext = _objectSpread$2k({}, FetchQueriesEngineContext);
|
|
8678
8688
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
8679
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
8680
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
8689
|
+
setFetchQueriesEngineContext(_objectSpread$2k({}, tempFetchQueriesEngineContext));
|
|
8690
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
8681
8691
|
if (
|
|
8682
8692
|
// Aya
|
|
8683
8693
|
!fetchcustomercartQueryContext.isFetching && fetchcustomercartQueryContext.isSuccess && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart.countryid) != null &&
|
|
@@ -8694,7 +8704,7 @@ var Checkout = function Checkout(props) {
|
|
|
8694
8704
|
var _fetchcustomercartQue8;
|
|
8695
8705
|
tempFetchTabexStatesPayloadobjContext.state_id = fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue8 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.customercart.stateid;
|
|
8696
8706
|
}
|
|
8697
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
8707
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2k({}, tempFetchTabexStatesPayloadobjContext));
|
|
8698
8708
|
} else {
|
|
8699
8709
|
// NotificationManager.warning('', lang.pleaselogintocheckout);
|
|
8700
8710
|
routingcountext(StaticPagesLinksContext.Login);
|
|
@@ -9561,10 +9571,10 @@ var Checkout = function Checkout(props) {
|
|
|
9561
9571
|
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.customercart.countryid);
|
|
9562
9572
|
}),
|
|
9563
9573
|
onChange: function onChange(option) {
|
|
9564
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
9574
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
9565
9575
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
9566
9576
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
9567
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
9577
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2k({}, tempFetchTabexStatesPayloadobjContext));
|
|
9568
9578
|
cartinfoupdater('countryid', option.id);
|
|
9569
9579
|
},
|
|
9570
9580
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -9609,10 +9619,10 @@ var Checkout = function Checkout(props) {
|
|
|
9609
9619
|
onChange: function onChange(option) {
|
|
9610
9620
|
var _fetchcustomercartQue60;
|
|
9611
9621
|
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 || (_fetchcustomercartQue60 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.countryid.length) != 0) {
|
|
9612
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
9622
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
9613
9623
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
9614
9624
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
9615
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
9625
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2k({}, tempFetchTabexStatesPayloadobjContext));
|
|
9616
9626
|
cartinfoupdater('stateid', option.id);
|
|
9617
9627
|
} else {
|
|
9618
9628
|
NotificationManager.warning('', 'Please Choose Country Or State');
|
|
@@ -9976,8 +9986,8 @@ var Checkout = function Checkout(props) {
|
|
|
9976
9986
|
}, Mycart())))));
|
|
9977
9987
|
};
|
|
9978
9988
|
|
|
9979
|
-
function ownKeys$
|
|
9980
|
-
function _objectSpread$
|
|
9989
|
+
function ownKeys$2j(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9990
|
+
function _objectSpread$2j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2j(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9981
9991
|
var VendorPage = function VendorPage(props) {
|
|
9982
9992
|
var _useState = useState(''),
|
|
9983
9993
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -10010,7 +10020,7 @@ var VendorPage = function VendorPage(props) {
|
|
|
10010
10020
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
10011
10021
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
10012
10022
|
});
|
|
10013
|
-
setsectionproperties(_objectSpread$
|
|
10023
|
+
setsectionproperties(_objectSpread$2j({}, secpropobj));
|
|
10014
10024
|
}
|
|
10015
10025
|
}, [StatePagePropertiesContext]);
|
|
10016
10026
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -10133,8 +10143,8 @@ var VendorPage = function VendorPage(props) {
|
|
|
10133
10143
|
})));
|
|
10134
10144
|
};
|
|
10135
10145
|
|
|
10136
|
-
function ownKeys$
|
|
10137
|
-
function _objectSpread$
|
|
10146
|
+
function ownKeys$2i(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
10147
|
+
function _objectSpread$2i(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2i(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2i(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10138
10148
|
var Select$2 = /*#__PURE__*/React.lazy(function () {
|
|
10139
10149
|
return import('react-select');
|
|
10140
10150
|
});
|
|
@@ -10244,46 +10254,46 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10244
10254
|
}
|
|
10245
10255
|
}, [fetchAuthorizationQueryContext.isSuccess]);
|
|
10246
10256
|
useEffect(function () {
|
|
10247
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
10257
|
+
var tempFetchQueriesEngineContext = _objectSpread$2i({}, FetchQueriesEngineContext);
|
|
10248
10258
|
tempFetchQueriesEngineContext.institutecustomerinfosignup = true;
|
|
10249
10259
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
10250
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
10251
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
10260
|
+
setFetchQueriesEngineContext(_objectSpread$2i({}, tempFetchQueriesEngineContext));
|
|
10261
|
+
var tempFetchQueriesEngineContext = _objectSpread$2i({}, FetchQueriesEngineContext);
|
|
10252
10262
|
}, []);
|
|
10253
10263
|
useEffect(function () {
|
|
10254
10264
|
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
10255
|
-
setsectionproperties(_objectSpread$
|
|
10265
|
+
setsectionproperties(_objectSpread$2i({}, props.sectionpropertiesprops));
|
|
10256
10266
|
}
|
|
10257
10267
|
}, [props.sectionpropertiesprops]);
|
|
10258
10268
|
useEffect(function () {
|
|
10259
10269
|
if (fetchinstitutecustomerinfosignupQueryContext.isSuccess) {
|
|
10260
10270
|
if (authdetailsContext.loggedin == true) {
|
|
10261
|
-
var tempcustomerinfoobj = _objectSpread$
|
|
10262
|
-
setpayloadobj(_objectSpread$
|
|
10263
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10271
|
+
var tempcustomerinfoobj = _objectSpread$2i({}, fetchinstitutecustomerinfosignupQueryContext.data.data.customerinfo);
|
|
10272
|
+
setpayloadobj(_objectSpread$2i({}, tempcustomerinfoobj));
|
|
10273
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2i({}, FetchTabexStatesPayloadobjContext);
|
|
10264
10274
|
if (tempcustomerinfoobj.countryid != null) {
|
|
10265
10275
|
tempFetchTabexStatesPayloadobjContext.country_id = tempcustomerinfoobj.countryid;
|
|
10266
10276
|
}
|
|
10267
10277
|
if (tempcustomerinfoobj.stateid != null) {
|
|
10268
10278
|
tempFetchTabexStatesPayloadobjContext.state_id = tempcustomerinfoobj.stateid;
|
|
10269
10279
|
}
|
|
10270
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10280
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2i({}, tempFetchTabexStatesPayloadobjContext));
|
|
10271
10281
|
setdataloaded(true);
|
|
10272
10282
|
} else {
|
|
10273
10283
|
var _fetchinstitutecustom;
|
|
10274
|
-
var tempcustomerinfoobj = _objectSpread$
|
|
10284
|
+
var tempcustomerinfoobj = _objectSpread$2i({}, payloadobj);
|
|
10275
10285
|
if (Array.isArray(fetchinstitutecustomerinfosignupQueryContext === null || fetchinstitutecustomerinfosignupQueryContext === void 0 || (_fetchinstitutecustom = fetchinstitutecustomerinfosignupQueryContext.data) === null || _fetchinstitutecustom === void 0 || (_fetchinstitutecustom = _fetchinstitutecustom.data) === null || _fetchinstitutecustom === void 0 ? void 0 : _fetchinstitutecustom.instsignupformvalues)) {
|
|
10276
10286
|
tempcustomerinfoobj.instsignupformvalues = _toConsumableArray(fetchinstitutecustomerinfosignupQueryContext.data.data.instsignupformvalues);
|
|
10277
10287
|
}
|
|
10278
|
-
setpayloadobj(_objectSpread$
|
|
10288
|
+
setpayloadobj(_objectSpread$2i({}, tempcustomerinfoobj));
|
|
10279
10289
|
setdataloaded(true);
|
|
10280
10290
|
}
|
|
10281
10291
|
}
|
|
10282
10292
|
}, [fetchinstitutecustomerinfosignupQueryContext.isSuccess, fetchinstitutecustomerinfosignupQueryContext.data, authdetailsContext]);
|
|
10283
10293
|
var payloadobjchange = function payloadobjchange(key, value) {
|
|
10284
|
-
var temppayloadobj = _objectSpread$
|
|
10294
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10285
10295
|
temppayloadobj[key] = value;
|
|
10286
|
-
setpayloadobj(_objectSpread$
|
|
10296
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10287
10297
|
};
|
|
10288
10298
|
var validateEmailstring = function validateEmailstring(email) {
|
|
10289
10299
|
return String(email).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);
|
|
@@ -10355,7 +10365,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10355
10365
|
};
|
|
10356
10366
|
var signupbuttonfunc = function signupbuttonfunc() {
|
|
10357
10367
|
if (verifypayload() == true) {
|
|
10358
|
-
var temppayloadobj = _objectSpread$
|
|
10368
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10359
10369
|
if (authdetailsContext.loggedin == true) {
|
|
10360
10370
|
temppayloadobj.functype = 'edit';
|
|
10361
10371
|
} else {
|
|
@@ -10512,10 +10522,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10512
10522
|
autoFormat: true,
|
|
10513
10523
|
value: payloadobj.mobile,
|
|
10514
10524
|
onChange: function onChange(event, country) {
|
|
10515
|
-
var temp = _objectSpread$
|
|
10525
|
+
var temp = _objectSpread$2i({}, payloadobj);
|
|
10516
10526
|
temp.mobile = event;
|
|
10517
10527
|
temp.countrydialcode = country.dialCode;
|
|
10518
|
-
setpayloadobj(_objectSpread$
|
|
10528
|
+
setpayloadobj(_objectSpread$2i({}, temp));
|
|
10519
10529
|
// payloadobjchange('mobile', event);
|
|
10520
10530
|
|
|
10521
10531
|
// alert(JSON.stringify(country));
|
|
@@ -10572,10 +10582,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10572
10582
|
return option.id == payloadobj.countryid;
|
|
10573
10583
|
}),
|
|
10574
10584
|
onChange: function onChange(option) {
|
|
10575
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10585
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2i({}, FetchTabexStatesPayloadobjContext);
|
|
10576
10586
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
10577
10587
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
10578
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10588
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2i({}, tempFetchTabexStatesPayloadobjContext));
|
|
10579
10589
|
payloadobjchange('countryid', option.id);
|
|
10580
10590
|
},
|
|
10581
10591
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -10624,10 +10634,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10624
10634
|
return option.id == payloadobj.stateid;
|
|
10625
10635
|
}),
|
|
10626
10636
|
onChange: function onChange(option) {
|
|
10627
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10637
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2i({}, FetchTabexStatesPayloadobjContext);
|
|
10628
10638
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
10629
10639
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
10630
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10640
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2i({}, tempFetchTabexStatesPayloadobjContext));
|
|
10631
10641
|
payloadobjchange('stateid', option.id);
|
|
10632
10642
|
},
|
|
10633
10643
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -10769,9 +10779,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10769
10779
|
value: item.customersignupvalue,
|
|
10770
10780
|
textplaceholder: "",
|
|
10771
10781
|
onChange: function onChange(event) {
|
|
10772
|
-
var temppayloadobj = _objectSpread$
|
|
10782
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10773
10783
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
10774
|
-
setpayloadobj(_objectSpread$
|
|
10784
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10775
10785
|
},
|
|
10776
10786
|
style: {
|
|
10777
10787
|
background: 'transparent'
|
|
@@ -10785,13 +10795,13 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10785
10795
|
className: formstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
10786
10796
|
checked: item.customersignupvalue == 1 ? true : false,
|
|
10787
10797
|
onChange: function onChange() {
|
|
10788
|
-
var temppayloadobj = _objectSpread$
|
|
10798
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10789
10799
|
if (temppayloadobj.instsignupformvalues[index].customersignupvalue == 1) {
|
|
10790
10800
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = 0;
|
|
10791
10801
|
} else {
|
|
10792
10802
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = 1;
|
|
10793
10803
|
}
|
|
10794
|
-
setpayloadobj(_objectSpread$
|
|
10804
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10795
10805
|
}
|
|
10796
10806
|
}), /*#__PURE__*/React.createElement("svg", {
|
|
10797
10807
|
viewBox: "0 0 21 21",
|
|
@@ -10808,9 +10818,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10808
10818
|
value: item.customersignupvalue,
|
|
10809
10819
|
textplaceholder: "",
|
|
10810
10820
|
onChange: function onChange(event) {
|
|
10811
|
-
var temppayloadobj = _objectSpread$
|
|
10821
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10812
10822
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
10813
|
-
setpayloadobj(_objectSpread$
|
|
10823
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10814
10824
|
}
|
|
10815
10825
|
}, /*#__PURE__*/React.createElement("option", {
|
|
10816
10826
|
value: '',
|
|
@@ -10825,9 +10835,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10825
10835
|
value: item.customersignupvalue,
|
|
10826
10836
|
textplaceholder: "",
|
|
10827
10837
|
onChange: function onChange(event) {
|
|
10828
|
-
var temppayloadobj = _objectSpread$
|
|
10838
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10829
10839
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
10830
|
-
setpayloadobj(_objectSpread$
|
|
10840
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10831
10841
|
},
|
|
10832
10842
|
style: {
|
|
10833
10843
|
resize: 'none'
|
|
@@ -11181,7 +11191,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11181
11191
|
className: "".concat(formstyles.form_control),
|
|
11182
11192
|
value: validateemailpayload.code,
|
|
11183
11193
|
onChange: function onChange(event) {
|
|
11184
|
-
setvalidateemailpayload(_objectSpread$
|
|
11194
|
+
setvalidateemailpayload(_objectSpread$2i(_objectSpread$2i({}, validateemailpayload), {}, {
|
|
11185
11195
|
code: event.target.value
|
|
11186
11196
|
}));
|
|
11187
11197
|
},
|
|
@@ -11208,12 +11218,12 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11208
11218
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
11209
11219
|
if (data.data.status) {
|
|
11210
11220
|
if (data.data.functype == 'sendcode') {
|
|
11211
|
-
setvalidateemailpayload(_objectSpread$
|
|
11221
|
+
setvalidateemailpayload(_objectSpread$2i(_objectSpread$2i({}, validateemailpayload), {}, {
|
|
11212
11222
|
step: 'verifycode'
|
|
11213
11223
|
}));
|
|
11214
11224
|
}
|
|
11215
11225
|
if (data.data.functype == 'verifycode') {
|
|
11216
|
-
setvalidateemailpayload(_objectSpread$
|
|
11226
|
+
setvalidateemailpayload(_objectSpread$2i(_objectSpread$2i({}, validateemailpayload), {}, {
|
|
11217
11227
|
isvalidated: true
|
|
11218
11228
|
}));
|
|
11219
11229
|
setvalidateemailmodal(false);
|
|
@@ -11308,7 +11318,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11308
11318
|
className: "".concat(formstyles.form_control),
|
|
11309
11319
|
value: validatephonenumberpayload.code,
|
|
11310
11320
|
onChange: function onChange(event) {
|
|
11311
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11321
|
+
setvalidatephonenumberpayload(_objectSpread$2i(_objectSpread$2i({}, validatephonenumberpayload), {}, {
|
|
11312
11322
|
code: event.target.value
|
|
11313
11323
|
}));
|
|
11314
11324
|
},
|
|
@@ -11335,12 +11345,12 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11335
11345
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
11336
11346
|
if (data.data.status) {
|
|
11337
11347
|
if (data.data.functype == 'sendcode') {
|
|
11338
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11348
|
+
setvalidatephonenumberpayload(_objectSpread$2i(_objectSpread$2i({}, validatephonenumberpayload), {}, {
|
|
11339
11349
|
step: 'verifycode'
|
|
11340
11350
|
}));
|
|
11341
11351
|
}
|
|
11342
11352
|
if (data.data.functype == 'verifycode') {
|
|
11343
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11353
|
+
setvalidatephonenumberpayload(_objectSpread$2i(_objectSpread$2i({}, validatephonenumberpayload), {}, {
|
|
11344
11354
|
isvalidated: true
|
|
11345
11355
|
}));
|
|
11346
11356
|
setvalidatephonenumbermodal(false);
|
|
@@ -11376,8 +11386,8 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11376
11386
|
}, validatephonenumberpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React.createElement(Modal.Footer, null)));
|
|
11377
11387
|
};
|
|
11378
11388
|
|
|
11379
|
-
function ownKeys$
|
|
11380
|
-
function _objectSpread$
|
|
11389
|
+
function ownKeys$2h(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11390
|
+
function _objectSpread$2h(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2h(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2h(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11381
11391
|
var Signup = function Signup(props) {
|
|
11382
11392
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
11383
11393
|
props.actions.CurrentSrcTypeContext;
|
|
@@ -11425,7 +11435,7 @@ var Signup = function Signup(props) {
|
|
|
11425
11435
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
11426
11436
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11427
11437
|
});
|
|
11428
|
-
setsectionproperties(_objectSpread$
|
|
11438
|
+
setsectionproperties(_objectSpread$2h({}, secpropobj));
|
|
11429
11439
|
}
|
|
11430
11440
|
}, [StatePagePropertiesContext]);
|
|
11431
11441
|
var loginstyles2 = {
|
|
@@ -11568,8 +11578,8 @@ var Signup = function Signup(props) {
|
|
|
11568
11578
|
}, SignupContent()));
|
|
11569
11579
|
};
|
|
11570
11580
|
|
|
11571
|
-
function ownKeys$
|
|
11572
|
-
function _objectSpread$
|
|
11581
|
+
function ownKeys$2g(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11582
|
+
function _objectSpread$2g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2g(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11573
11583
|
var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
11574
11584
|
var _css;
|
|
11575
11585
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -11635,7 +11645,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11635
11645
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
11636
11646
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11637
11647
|
});
|
|
11638
|
-
setsectionproperties(_objectSpread$
|
|
11648
|
+
setsectionproperties(_objectSpread$2g({}, secpropobj));
|
|
11639
11649
|
}
|
|
11640
11650
|
}, [StatePagePropertiesContext]);
|
|
11641
11651
|
var loginstyles2 = {
|
|
@@ -11736,7 +11746,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11736
11746
|
className: "".concat(loginstyles2.form_control),
|
|
11737
11747
|
value: affsignuppayload.name,
|
|
11738
11748
|
onChange: function onChange(event) {
|
|
11739
|
-
setaffsignuppayload(_objectSpread$
|
|
11749
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11740
11750
|
name: event.target.value
|
|
11741
11751
|
}));
|
|
11742
11752
|
},
|
|
@@ -11752,7 +11762,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11752
11762
|
className: "".concat(loginstyles2.form_control),
|
|
11753
11763
|
value: affsignuppayload.email,
|
|
11754
11764
|
onChange: function onChange(event) {
|
|
11755
|
-
setaffsignuppayload(_objectSpread$
|
|
11765
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11756
11766
|
email: event.target.value
|
|
11757
11767
|
}));
|
|
11758
11768
|
},
|
|
@@ -11770,10 +11780,10 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11770
11780
|
autoFormat: true,
|
|
11771
11781
|
value: affsignuppayload.phonenumber,
|
|
11772
11782
|
onChange: function onChange(event, country) {
|
|
11773
|
-
var temp = _objectSpread$
|
|
11783
|
+
var temp = _objectSpread$2g({}, affsignuppayload);
|
|
11774
11784
|
temp.phonenumber = event;
|
|
11775
11785
|
temp.countrydialcode = country.dialCode;
|
|
11776
|
-
setaffsignuppayload(_objectSpread$
|
|
11786
|
+
setaffsignuppayload(_objectSpread$2g({}, temp));
|
|
11777
11787
|
// setaffsignuppayload({ ...affsignuppayload, phonenumber: event.target.value });
|
|
11778
11788
|
},
|
|
11779
11789
|
|
|
@@ -11789,7 +11799,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11789
11799
|
className: "".concat(loginstyles2.form_control),
|
|
11790
11800
|
value: affsignuppayload.ssn,
|
|
11791
11801
|
onChange: function onChange(event) {
|
|
11792
|
-
setaffsignuppayload(_objectSpread$
|
|
11802
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11793
11803
|
ssn: event.target.value
|
|
11794
11804
|
}));
|
|
11795
11805
|
},
|
|
@@ -11805,7 +11815,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11805
11815
|
className: "".concat(loginstyles2.form_control),
|
|
11806
11816
|
value: affsignuppayload.password,
|
|
11807
11817
|
onChange: function onChange(event) {
|
|
11808
|
-
setaffsignuppayload(_objectSpread$
|
|
11818
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11809
11819
|
password: event.target.value
|
|
11810
11820
|
}));
|
|
11811
11821
|
},
|
|
@@ -11821,7 +11831,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11821
11831
|
className: "".concat(loginstyles2.form_control),
|
|
11822
11832
|
value: affsignuppayload.confirmpassword,
|
|
11823
11833
|
onChange: function onChange(event) {
|
|
11824
|
-
setaffsignuppayload(_objectSpread$
|
|
11834
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11825
11835
|
confirmpassword: event.target.value
|
|
11826
11836
|
}));
|
|
11827
11837
|
},
|
|
@@ -11874,8 +11884,8 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11874
11884
|
}), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React.createElement("span", null, langdetect == 'en' ? sectionproperties.signupbtn_contenten : sectionproperties.signupbtn_contentar)))))))));
|
|
11875
11885
|
};
|
|
11876
11886
|
|
|
11877
|
-
function ownKeys$
|
|
11878
|
-
function _objectSpread$
|
|
11887
|
+
function ownKeys$2f(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11888
|
+
function _objectSpread$2f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2f(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11879
11889
|
var AccountInformation = function AccountInformation(props) {
|
|
11880
11890
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
11881
11891
|
var lang = props.actions.lang;
|
|
@@ -11902,7 +11912,7 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
11902
11912
|
props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.StatePagePropertiesContext) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageobj) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageproperties) === null || _props$actions === void 0 || _props$actions.forEach(function (arrayItem, arrayindex) {
|
|
11903
11913
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11904
11914
|
});
|
|
11905
|
-
setsectionproperties(_objectSpread$
|
|
11915
|
+
setsectionproperties(_objectSpread$2f({}, secpropobj));
|
|
11906
11916
|
}, [props.actions.StatePagePropertiesContext]);
|
|
11907
11917
|
useEffect(function () {
|
|
11908
11918
|
var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
@@ -12064,8 +12074,8 @@ var css_248z$F = ".tabs-module_tabs__36dMY {\n position: relative;\n heigh
|
|
|
12064
12074
|
var tabstyles = {"tabs":"tabs-module_tabs__36dMY","tabsul":"tabs-module_tabsul__wNZqy","tabsli":"tabs-module_tabsli__-uR10","active":"tabs-module_active__6wLfI","tabsliheaderresp":"tabs-module_tabsliheaderresp__TPNhh","accordionContainer":"tabs-module_accordionContainer__-MSW5","policiestabs":"tabs-module_policiestabs__nopXD"};
|
|
12065
12075
|
styleInject(css_248z$F);
|
|
12066
12076
|
|
|
12067
|
-
function ownKeys$
|
|
12068
|
-
function _objectSpread$
|
|
12077
|
+
function ownKeys$2e(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12078
|
+
function _objectSpread$2e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2e(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12069
12079
|
var Policies = function Policies(props) {
|
|
12070
12080
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchInstitutePolici, _fetchInstitutePolici2, _fetchInstitutePolici3;
|
|
12071
12081
|
var _useState = useState(''),
|
|
@@ -12096,7 +12106,7 @@ var Policies = function Policies(props) {
|
|
|
12096
12106
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
12097
12107
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12098
12108
|
});
|
|
12099
|
-
setsectionproperties(_objectSpread$
|
|
12109
|
+
setsectionproperties(_objectSpread$2e({}, secpropobj));
|
|
12100
12110
|
}
|
|
12101
12111
|
}, [StatePagePropertiesContext]);
|
|
12102
12112
|
useEffect(function () {
|
|
@@ -12109,9 +12119,9 @@ var Policies = function Policies(props) {
|
|
|
12109
12119
|
}
|
|
12110
12120
|
}, []);
|
|
12111
12121
|
useEffect(function () {
|
|
12112
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
12122
|
+
var tempFetchQueriesEngineContext = _objectSpread$2e({}, FetchQueriesEngineContext);
|
|
12113
12123
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
12114
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
12124
|
+
setFetchQueriesEngineContext(_objectSpread$2e({}, tempFetchQueriesEngineContext));
|
|
12115
12125
|
}, []);
|
|
12116
12126
|
var _useState7 = useState([]),
|
|
12117
12127
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
@@ -12341,8 +12351,8 @@ var css_248z$E = ".cart-module_cartslider_container__idend {\n transition: 0.
|
|
|
12341
12351
|
var cartstyles = {"cartslider_container":"cart-module_cartslider_container__idend","close_menu_icon_cont":"cart-module_close_menu_icon_cont__uh-pE","cart_slider_imagecont":"cart-module_cart_slider_imagecont__tnHMt","checkout_cart_slider_imagecont":"cart-module_checkout_cart_slider_imagecont__UX2ct","checkout_quantity_cont":"cart-module_checkout_quantity_cont__Rr3RO","btn_circle":"cart-module_btn_circle__p-BDZ","cart_progress_card":"cart-module_cart_progress_card__jEFwg","cart_progress_card_active":"cart-module_cart_progress_card_active__gQzWT","trash_btn":"cart-module_trash_btn__bHQxy","btn_apply":"cart-module_btn_apply__phbo8","checkout_card_card":"cart-module_checkout_card_card__4zUo9"};
|
|
12342
12352
|
styleInject(css_248z$E);
|
|
12343
12353
|
|
|
12344
|
-
function ownKeys$
|
|
12345
|
-
function _objectSpread$
|
|
12354
|
+
function ownKeys$2d(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12355
|
+
function _objectSpread$2d(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2d(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2d(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12346
12356
|
var CartSlider = function CartSlider(props) {
|
|
12347
12357
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12;
|
|
12348
12358
|
var lang = props.actions.lang;
|
|
@@ -12408,7 +12418,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
12408
12418
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
12409
12419
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12410
12420
|
});
|
|
12411
|
-
setsectionproperties(_objectSpread$
|
|
12421
|
+
setsectionproperties(_objectSpread$2d({}, secpropobj));
|
|
12412
12422
|
}, [CurrentPageId]);
|
|
12413
12423
|
useEffect(function () {
|
|
12414
12424
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -12418,7 +12428,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
12418
12428
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
12419
12429
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12420
12430
|
});
|
|
12421
|
-
setsectionproperties(_objectSpread$
|
|
12431
|
+
setsectionproperties(_objectSpread$2d({}, secpropobj));
|
|
12422
12432
|
}
|
|
12423
12433
|
}
|
|
12424
12434
|
}, [StatePagePropertiesContext]);
|
|
@@ -12985,8 +12995,8 @@ var CartSlider = function CartSlider(props) {
|
|
|
12985
12995
|
}, langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar))))))))));
|
|
12986
12996
|
};
|
|
12987
12997
|
|
|
12988
|
-
function ownKeys$
|
|
12989
|
-
function _objectSpread$
|
|
12998
|
+
function ownKeys$2c(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12999
|
+
function _objectSpread$2c(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2c(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2c(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12990
13000
|
var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
12991
13001
|
var _useState = useState(''),
|
|
12992
13002
|
_useState2 = _slicedToArray(_useState, 2);
|
|
@@ -13030,7 +13040,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
13030
13040
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
13031
13041
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13032
13042
|
});
|
|
13033
|
-
setsectionproperties(_objectSpread$
|
|
13043
|
+
setsectionproperties(_objectSpread$2c({}, secpropobj));
|
|
13034
13044
|
}, [CurrentPageId]);
|
|
13035
13045
|
useEffect(function () {
|
|
13036
13046
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -13040,7 +13050,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
13040
13050
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
13041
13051
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13042
13052
|
});
|
|
13043
|
-
setsectionproperties(_objectSpread$
|
|
13053
|
+
setsectionproperties(_objectSpread$2c({}, secpropobj));
|
|
13044
13054
|
}
|
|
13045
13055
|
}
|
|
13046
13056
|
}, [StatePagePropertiesContext]);
|
|
@@ -13268,8 +13278,8 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
13268
13278
|
}, CategoriesDropdown()));
|
|
13269
13279
|
};
|
|
13270
13280
|
|
|
13271
|
-
function ownKeys$
|
|
13272
|
-
function _objectSpread$
|
|
13281
|
+
function ownKeys$2b(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13282
|
+
function _objectSpread$2b(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2b(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2b(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13273
13283
|
var OrderSuccess = function OrderSuccess(props) {
|
|
13274
13284
|
var _props$actions2;
|
|
13275
13285
|
props.actions.lang;
|
|
@@ -13319,7 +13329,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
13319
13329
|
props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.StatePagePropertiesContext) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageobj) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageproperties) === null || _props$actions === void 0 || _props$actions.forEach(function (arrayItem, arrayindex) {
|
|
13320
13330
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13321
13331
|
});
|
|
13322
|
-
setsectionproperties(_objectSpread$
|
|
13332
|
+
setsectionproperties(_objectSpread$2b({}, secpropobj));
|
|
13323
13333
|
}, [props === null || props === void 0 || (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
13324
13334
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
13325
13335
|
var ordersuccessstyle = {
|
|
@@ -13416,12 +13426,12 @@ var css_248z$D = ".filter-module_timeline__ROm9Q .filter-module_border_left_line
|
|
|
13416
13426
|
var filterstyles = {"timeline":"filter-module_timeline__ROm9Q","border_left_line":"filter-module_border_left_line__IkxXK","btn_item":"filter-module_btn_item__GoKTf","timelineinnercont_active":"filter-module_timelineinnercont_active__2sLI7","timeline_text":"filter-module_timeline_text__NgaGy","timelineinnercont":"filter-module_timelineinnercont__Zme9K","timelinetrans":"filter-module_timelinetrans__KzVCg","filterslider_container":"filter-module_filterslider_container__I-7sG","filterslider_container_opened":"filter-module_filterslider_container_opened__2eZes","outercontainer":"filter-module_outercontainer__kmY9b","innercontainer":"filter-module_innercontainer__VKukp","card":"filter-module_card__7yDs0"};
|
|
13417
13427
|
styleInject(css_248z$D);
|
|
13418
13428
|
|
|
13419
|
-
function ownKeys$
|
|
13420
|
-
function _objectSpread$
|
|
13429
|
+
function ownKeys$2a(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13430
|
+
function _objectSpread$2a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2a(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13421
13431
|
var Select$1 = /*#__PURE__*/React.lazy(function () {
|
|
13422
13432
|
return import('react-select');
|
|
13423
13433
|
});
|
|
13424
|
-
var Filter$
|
|
13434
|
+
var Filter$2 = function Filter(props) {
|
|
13425
13435
|
var _css;
|
|
13426
13436
|
var lang = props.actions.lang;
|
|
13427
13437
|
var langdetect = props.actions.langdetect;
|
|
@@ -13493,13 +13503,13 @@ var Filter$1 = function Filter(props) {
|
|
|
13493
13503
|
payloadvalue: 'sortprice',
|
|
13494
13504
|
name: lang.price,
|
|
13495
13505
|
filterarray: [{
|
|
13496
|
-
name: lang.pricehightolow,
|
|
13497
|
-
value: 'hightolow',
|
|
13498
|
-
isfilterselected: false
|
|
13499
|
-
}, {
|
|
13500
13506
|
name: lang.pricelowtohigh,
|
|
13501
13507
|
value: 'lowtohigh',
|
|
13502
13508
|
isfilterselected: false
|
|
13509
|
+
}, {
|
|
13510
|
+
name: lang.pricehightolow,
|
|
13511
|
+
value: 'hightolow',
|
|
13512
|
+
isfilterselected: false
|
|
13503
13513
|
}]
|
|
13504
13514
|
}, {
|
|
13505
13515
|
payloadvalue: 'sortdates',
|
|
@@ -13557,11 +13567,11 @@ var Filter$1 = function Filter(props) {
|
|
|
13557
13567
|
}
|
|
13558
13568
|
timeoutRef.current = setTimeout(function () {
|
|
13559
13569
|
if (raterangevalue.min != 0 || raterangevalue.max != 5) {
|
|
13560
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13570
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13561
13571
|
tempfetchproductsfilerobjcontext.minrate = raterangevalue.min;
|
|
13562
13572
|
tempfetchproductsfilerobjcontext.maxrate = raterangevalue.max;
|
|
13563
13573
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
13564
|
-
setProductFilterObjContext(_objectSpread$
|
|
13574
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13565
13575
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
13566
13576
|
}
|
|
13567
13577
|
}, 500);
|
|
@@ -13647,33 +13657,33 @@ var Filter$1 = function Filter(props) {
|
|
|
13647
13657
|
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcategories, instcollections]);
|
|
13648
13658
|
useEffect(function () {
|
|
13649
13659
|
if (productfeatuesarr.length != 0) {
|
|
13650
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13660
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13651
13661
|
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
13652
|
-
setProductFilterObjContext(_objectSpread$
|
|
13662
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13653
13663
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13654
13664
|
}
|
|
13655
13665
|
}, [productfeatuesarr]);
|
|
13656
13666
|
useEffect(function () {
|
|
13657
13667
|
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
13658
13668
|
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
13659
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
13669
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
13660
13670
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
13661
13671
|
tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
|
|
13662
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
13672
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
13663
13673
|
}
|
|
13664
13674
|
}
|
|
13665
13675
|
}, [fetchTabexStatesQueryContext.isSuccess]);
|
|
13666
13676
|
var filterupdater = function filterupdater() {
|
|
13667
13677
|
setTimeout(function () {
|
|
13668
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
13678
|
+
var tempFetchQueriesEngineContext = _objectSpread$2a({}, FetchQueriesEngineContext);
|
|
13669
13679
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
13670
13680
|
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
13671
13681
|
}, 100);
|
|
13672
13682
|
if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
|
|
13673
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
13683
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
13674
13684
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
13675
13685
|
tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
|
|
13676
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
13686
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
13677
13687
|
}
|
|
13678
13688
|
if (instfilters.length != 0) {
|
|
13679
13689
|
var _ProductFilterObjCont3;
|
|
@@ -13735,7 +13745,7 @@ var Filter$1 = function Filter(props) {
|
|
|
13735
13745
|
}
|
|
13736
13746
|
};
|
|
13737
13747
|
var setfilterfunc = function setfilterfunc(valueid, valueindex, mainparentindex, type) {
|
|
13738
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13748
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13739
13749
|
if (type == 'clearfilters') {
|
|
13740
13750
|
tempfetchproductsfilerobjcontext.FilterOptions = [];
|
|
13741
13751
|
} else {
|
|
@@ -13759,14 +13769,14 @@ var Filter$1 = function Filter(props) {
|
|
|
13759
13769
|
tempfetchproductsfilerobjcontext.isfilter = 1;
|
|
13760
13770
|
}
|
|
13761
13771
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
13762
|
-
setProductFilterObjContext(_objectSpread$
|
|
13772
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13763
13773
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13764
13774
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
13765
13775
|
};
|
|
13766
13776
|
|
|
13767
13777
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
13768
13778
|
var _tempfetchproductsfil2;
|
|
13769
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13779
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13770
13780
|
var CollectionExists = false;
|
|
13771
13781
|
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil2 = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil2 === void 0 || _tempfetchproductsfil2.forEach(function (filteritem, filterindex) {
|
|
13772
13782
|
if (filteritem == collectionid) {
|
|
@@ -13788,7 +13798,7 @@ var Filter$1 = function Filter(props) {
|
|
|
13788
13798
|
}
|
|
13789
13799
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
13790
13800
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
13791
|
-
setProductFilterObjContext(_objectSpread$
|
|
13801
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13792
13802
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13793
13803
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
13794
13804
|
};
|
|
@@ -14380,14 +14390,14 @@ var Filter$1 = function Filter(props) {
|
|
|
14380
14390
|
return option.id == ProductFilterObjContext.countryid;
|
|
14381
14391
|
}),
|
|
14382
14392
|
onChange: function onChange(option) {
|
|
14383
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
14393
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
14384
14394
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
14385
14395
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
14386
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
14387
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14396
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
14397
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14388
14398
|
tempfetchproductsfilerobjcontext.countryid = option.id;
|
|
14389
14399
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14390
|
-
setProductFilterObjContext(_objectSpread$
|
|
14400
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14391
14401
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14392
14402
|
},
|
|
14393
14403
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14424,14 +14434,14 @@ var Filter$1 = function Filter(props) {
|
|
|
14424
14434
|
return option.id == ProductFilterObjContext.stateid;
|
|
14425
14435
|
}),
|
|
14426
14436
|
onChange: function onChange(option) {
|
|
14427
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
14437
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
14428
14438
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
14429
14439
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
14430
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
14431
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14440
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
14441
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14432
14442
|
tempfetchproductsfilerobjcontext.stateid = option.id;
|
|
14433
14443
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14434
|
-
setProductFilterObjContext(_objectSpread$
|
|
14444
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14435
14445
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14436
14446
|
},
|
|
14437
14447
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14468,10 +14478,10 @@ var Filter$1 = function Filter(props) {
|
|
|
14468
14478
|
return option.id == ProductFilterObjContext.cityid;
|
|
14469
14479
|
}),
|
|
14470
14480
|
onChange: function onChange(option) {
|
|
14471
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14481
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14472
14482
|
tempfetchproductsfilerobjcontext.cityid = option.id;
|
|
14473
14483
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14474
|
-
setProductFilterObjContext(_objectSpread$
|
|
14484
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14475
14485
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14476
14486
|
},
|
|
14477
14487
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14575,14 +14585,14 @@ var Filter$1 = function Filter(props) {
|
|
|
14575
14585
|
color: ischecked ? sectionproperties.activecat_color : ''
|
|
14576
14586
|
},
|
|
14577
14587
|
onClick: function onClick() {
|
|
14578
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14588
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14579
14589
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14580
14590
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14581
14591
|
} else {
|
|
14582
14592
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14583
14593
|
}
|
|
14584
14594
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14585
|
-
setProductFilterObjContext(_objectSpread$
|
|
14595
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14586
14596
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14587
14597
|
setsortbycontext(valueitem.name);
|
|
14588
14598
|
}
|
|
@@ -14591,16 +14601,12 @@ var Filter$1 = function Filter(props) {
|
|
|
14591
14601
|
}))))), sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection == 'Horizontal' && /*#__PURE__*/React.createElement("div", {
|
|
14592
14602
|
"class": "row m-0 w-100"
|
|
14593
14603
|
}, /*#__PURE__*/React.createElement("div", {
|
|
14594
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start mb-3"
|
|
14595
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
14596
|
-
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
|
|
14597
|
-
}, langdetect == 'en' ? sectionproperties.filtercollectiontitle_en : sectionproperties.filtercollectiontitle_ar)), /*#__PURE__*/React.createElement("div", {
|
|
14598
14604
|
"class": "col-lg-12 p-0 mb-4"
|
|
14599
14605
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
14600
14606
|
transitionBehavior: 'auto',
|
|
14601
14607
|
wrapperClassName: '',
|
|
14602
14608
|
itemClassName: 'filtercard',
|
|
14603
|
-
scrollContainerClassName: '
|
|
14609
|
+
scrollContainerClassName: 'filterscrollmenuclasssubscrollbar'
|
|
14604
14610
|
}, collectionstobevisible.map(function (item, index) {
|
|
14605
14611
|
return /*#__PURE__*/React.createElement("div", {
|
|
14606
14612
|
className: filter_cssstyles.timeline_text + ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100 cursor-pointer ',
|
|
@@ -14632,7 +14638,23 @@ var Filter$1 = function Filter(props) {
|
|
|
14632
14638
|
}, /*#__PURE__*/React.createElement("p", {
|
|
14633
14639
|
"class": ' m-0 p-0 '
|
|
14634
14640
|
}, langdetect == 'en' ? item.title_en : item.title_ar)));
|
|
14635
|
-
})))
|
|
14641
|
+
}))), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
14642
|
+
"class": "col-lg-12 text-start px-4 mb-5",
|
|
14643
|
+
style: {
|
|
14644
|
+
fontSize: 15,
|
|
14645
|
+
color: '#62554a'
|
|
14646
|
+
}
|
|
14647
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
14648
|
+
"class": "cursor-pointer",
|
|
14649
|
+
onClick: function onClick() {
|
|
14650
|
+
routingcountext('home', false, '');
|
|
14651
|
+
}
|
|
14652
|
+
}, 'Home', " /", ' '), ' ', /*#__PURE__*/React.createElement("span", {
|
|
14653
|
+
style: {
|
|
14654
|
+
textTransform: 'capitalize'
|
|
14655
|
+
},
|
|
14656
|
+
"class": "mx-2"
|
|
14657
|
+
}, props.show_product_group_titles()['title_en']))), sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection == 'Vertical' && /*#__PURE__*/React.createElement("div", {
|
|
14636
14658
|
className: "".concat(filterstyles.filterslider_container) + ' pb-md-5 ',
|
|
14637
14659
|
id: "filterslider",
|
|
14638
14660
|
style: {
|
|
@@ -14734,14 +14756,14 @@ var Filter$1 = function Filter(props) {
|
|
|
14734
14756
|
return /*#__PURE__*/React.createElement("div", {
|
|
14735
14757
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
14736
14758
|
onClick: function onClick() {
|
|
14737
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14759
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14738
14760
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14739
14761
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14740
14762
|
} else {
|
|
14741
14763
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14742
14764
|
}
|
|
14743
14765
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14744
|
-
setProductFilterObjContext(_objectSpread$
|
|
14766
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14745
14767
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14746
14768
|
}
|
|
14747
14769
|
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
@@ -14776,7 +14798,7 @@ var Filter$1 = function Filter(props) {
|
|
|
14776
14798
|
minValue: 0,
|
|
14777
14799
|
value: raterangevalue,
|
|
14778
14800
|
onChange: function onChange(value) {
|
|
14779
|
-
setraterangevalue(_objectSpread$
|
|
14801
|
+
setraterangevalue(_objectSpread$2a({}, value));
|
|
14780
14802
|
}
|
|
14781
14803
|
}))))), /*#__PURE__*/React.createElement("div", {
|
|
14782
14804
|
className: "col-lg-9 col-md-9 col-sm-9 d-flex align-items-center d-md-none"
|
|
@@ -14919,13 +14941,13 @@ var Filter$1 = function Filter(props) {
|
|
|
14919
14941
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
14920
14942
|
onClick: function onClick() {
|
|
14921
14943
|
// setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
14922
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14944
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14923
14945
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14924
14946
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14925
14947
|
} else {
|
|
14926
14948
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14927
14949
|
}
|
|
14928
|
-
setProductFilterObjContext(_objectSpread$
|
|
14950
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14929
14951
|
}
|
|
14930
14952
|
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
14931
14953
|
className: " ".concat(ischecked ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
|
|
@@ -14957,8 +14979,566 @@ var Filter$1 = function Filter(props) {
|
|
|
14957
14979
|
}, DynamicFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters())))))));
|
|
14958
14980
|
};
|
|
14959
14981
|
|
|
14960
|
-
function ownKeys$
|
|
14961
|
-
function _objectSpread$
|
|
14982
|
+
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; }
|
|
14983
|
+
function _objectSpread$29(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$29(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$29(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
14984
|
+
var Filter$1 = function Filter(props) {
|
|
14985
|
+
var _css;
|
|
14986
|
+
var lang = props.actions.lang;
|
|
14987
|
+
var langdetect = props.actions.langdetect;
|
|
14988
|
+
props.actions.productfiltercontext;
|
|
14989
|
+
props.actions.setproductfiltercontext;
|
|
14990
|
+
var ProductFilterObjContext = props.actions.ProductFilterObjContext;
|
|
14991
|
+
var setProductFilterObjContext = props.actions.setProductFilterObjContext;
|
|
14992
|
+
props.actions.authdetailsContext;
|
|
14993
|
+
var fetchproductoptionsQueryContext = props.actions.fetchproductoptionsQueryContext;
|
|
14994
|
+
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
14995
|
+
var routingcountext = props.actions.routingcountext;
|
|
14996
|
+
var fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
14997
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
14998
|
+
props.actions.ikimagecredcontext;
|
|
14999
|
+
var _useState = useState({
|
|
15000
|
+
min: 0,
|
|
15001
|
+
max: 10000
|
|
15002
|
+
}),
|
|
15003
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
15004
|
+
_useState2[0];
|
|
15005
|
+
_useState2[1];
|
|
15006
|
+
var _useState3 = useState([]),
|
|
15007
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
15008
|
+
productfeatuesarr = _useState4[0];
|
|
15009
|
+
_useState4[1];
|
|
15010
|
+
props.actions.fetchTabexCountriesQueryContext;
|
|
15011
|
+
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
15012
|
+
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
15013
|
+
props.actions.fetchTabexCitiesQueryContext;
|
|
15014
|
+
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
15015
|
+
var FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
|
|
15016
|
+
var setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
|
|
15017
|
+
props.actions.fetchProductFeaturesQueryContext;
|
|
15018
|
+
var _useState5 = useState(''),
|
|
15019
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
15020
|
+
sectionproperties = _useState6[0],
|
|
15021
|
+
setsectionproperties = _useState6[1];
|
|
15022
|
+
// const [instfilters, setinstfilters] = useState([...authdetailsContext.instinfo.instfilters]);
|
|
15023
|
+
var _useState7 = useState([]),
|
|
15024
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
15025
|
+
instfilters = _useState8[0],
|
|
15026
|
+
setinstfilters = _useState8[1];
|
|
15027
|
+
var _useState9 = useState([]),
|
|
15028
|
+
_useState10 = _slicedToArray(_useState9, 2);
|
|
15029
|
+
_useState10[0];
|
|
15030
|
+
var setcollectionstobevisible = _useState10[1];
|
|
15031
|
+
var _useState11 = useState([]),
|
|
15032
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
15033
|
+
instcollections = _useState12[0],
|
|
15034
|
+
setinstcollections = _useState12[1];
|
|
15035
|
+
var _useState13 = useState([]),
|
|
15036
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
15037
|
+
instcategories = _useState14[0],
|
|
15038
|
+
setinstcategories = _useState14[1];
|
|
15039
|
+
// const [sortby, setSortby] = useState('Sort by');
|
|
15040
|
+
var _useState15 = useState({
|
|
15041
|
+
min: 0,
|
|
15042
|
+
max: 5
|
|
15043
|
+
}),
|
|
15044
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
15045
|
+
raterangevalue = _useState16[0];
|
|
15046
|
+
_useState16[1];
|
|
15047
|
+
var timeoutRef = React.useRef(null);
|
|
15048
|
+
var _useState17 = useState(''),
|
|
15049
|
+
_useState18 = _slicedToArray(_useState17, 2);
|
|
15050
|
+
_useState18[0];
|
|
15051
|
+
_useState18[1];
|
|
15052
|
+
var _useState19 = useState([{
|
|
15053
|
+
payloadvalue: 'sortprice',
|
|
15054
|
+
name: lang.price,
|
|
15055
|
+
filterarray: [{
|
|
15056
|
+
name: lang.pricehightolow,
|
|
15057
|
+
value: 'hightolow',
|
|
15058
|
+
isfilterselected: false
|
|
15059
|
+
}, {
|
|
15060
|
+
name: lang.pricelowtohigh,
|
|
15061
|
+
value: 'lowtohigh',
|
|
15062
|
+
isfilterselected: false
|
|
15063
|
+
}]
|
|
15064
|
+
}, {
|
|
15065
|
+
payloadvalue: 'sortdates',
|
|
15066
|
+
name: lang.dates,
|
|
15067
|
+
filterarray: [{
|
|
15068
|
+
name: lang.recent,
|
|
15069
|
+
value: 'recent',
|
|
15070
|
+
isfilterselected: false
|
|
15071
|
+
}, {
|
|
15072
|
+
name: lang.oldest,
|
|
15073
|
+
value: 'old',
|
|
15074
|
+
isfilterselected: false
|
|
15075
|
+
}]
|
|
15076
|
+
}]),
|
|
15077
|
+
_useState20 = _slicedToArray(_useState19, 2);
|
|
15078
|
+
_useState20[0];
|
|
15079
|
+
_useState20[1];
|
|
15080
|
+
useEffect(function () {
|
|
15081
|
+
filterupdater();
|
|
15082
|
+
}, []);
|
|
15083
|
+
useEffect(function () {
|
|
15084
|
+
if (fetchproductoptionsQueryContext.isSuccess) {
|
|
15085
|
+
var _fetchproductoptionsQ;
|
|
15086
|
+
setinstfilters(_toConsumableArray(fetchproductoptionsQueryContext === null || fetchproductoptionsQueryContext === void 0 || (_fetchproductoptionsQ = fetchproductoptionsQueryContext.data) === null || _fetchproductoptionsQ === void 0 || (_fetchproductoptionsQ = _fetchproductoptionsQ.data) === null || _fetchproductoptionsQ === void 0 ? void 0 : _fetchproductoptionsQ.productoptions));
|
|
15087
|
+
}
|
|
15088
|
+
}, [fetchproductoptionsQueryContext.isSuccess]);
|
|
15089
|
+
useEffect(function () {
|
|
15090
|
+
if (fetchCategoriesQueryContext.isSuccess) {
|
|
15091
|
+
var _fetchCategoriesQuery;
|
|
15092
|
+
setinstcategories(_toConsumableArray(fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : _fetchCategoriesQuery.categories));
|
|
15093
|
+
}
|
|
15094
|
+
}, [fetchCategoriesQueryContext.isSuccess]);
|
|
15095
|
+
useEffect(function () {
|
|
15096
|
+
if (fetchcollectionsQueryContext.isSuccess) {
|
|
15097
|
+
var _fetchcollectionsQuer;
|
|
15098
|
+
setinstcollections(_toConsumableArray(fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer === void 0 || (_fetchcollectionsQuer = _fetchcollectionsQuer.data) === null || _fetchcollectionsQuer === void 0 ? void 0 : _fetchcollectionsQuer.collections));
|
|
15099
|
+
}
|
|
15100
|
+
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
15101
|
+
// useEffect(() => {
|
|
15102
|
+
// // setinstfilters([...authdetailsContext.instinfo.instfilters]);
|
|
15103
|
+
// // setinstcollections([...authdetailsContext.instinfo.instcollections]);
|
|
15104
|
+
// // setinstcategories([...authdetailsContext?.instinfo?.instcategories]);
|
|
15105
|
+
// }, [authdetailsContext]);
|
|
15106
|
+
useEffect(function () {
|
|
15107
|
+
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
15108
|
+
setsectionproperties(props.sectionpropertiesprops);
|
|
15109
|
+
}
|
|
15110
|
+
}, [props.sectionpropertiesprops]);
|
|
15111
|
+
useEffect(function () {
|
|
15112
|
+
filterupdater();
|
|
15113
|
+
}, [ProductFilterObjContext]);
|
|
15114
|
+
React.useEffect(function () {
|
|
15115
|
+
if (timeoutRef.current !== null) {
|
|
15116
|
+
clearTimeout(timeoutRef.current);
|
|
15117
|
+
}
|
|
15118
|
+
timeoutRef.current = setTimeout(function () {
|
|
15119
|
+
if (raterangevalue.min != 0 || raterangevalue.max != 5) {
|
|
15120
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15121
|
+
tempfetchproductsfilerobjcontext.minrate = raterangevalue.min;
|
|
15122
|
+
tempfetchproductsfilerobjcontext.maxrate = raterangevalue.max;
|
|
15123
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
15124
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15125
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15126
|
+
}
|
|
15127
|
+
}, 500);
|
|
15128
|
+
}, [raterangevalue]);
|
|
15129
|
+
useEffect(function () {
|
|
15130
|
+
if (fetchCategoriesQueryContext.isSuccess && fetchcollectionsQueryContext.isSuccess) {
|
|
15131
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.filterretreivetype) == 'Depend on chosen parent group') {
|
|
15132
|
+
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)) {
|
|
15133
|
+
var _parentidsfound;
|
|
15134
|
+
var collectiontobevisible = [];
|
|
15135
|
+
var parentidsfound = [];
|
|
15136
|
+
if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
|
|
15137
|
+
parentidsfound = ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections;
|
|
15138
|
+
} else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
|
|
15139
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15140
|
+
var _ProductFilterObjCont;
|
|
15141
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont = ProductFilterObjContext.collections) === null || _ProductFilterObjCont === void 0 || _ProductFilterObjCont.forEach(function (colitem2, colindex2) {
|
|
15142
|
+
if (catitem.categoryid == colitem2) {
|
|
15143
|
+
var _catitem$parentcollet;
|
|
15144
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet = catitem.parentcolletions) === null || _catitem$parentcollet === void 0 || _catitem$parentcollet.forEach(function (parentcolitem, parentcolindex) {
|
|
15145
|
+
parentidsfound.push(parentcolitem.parentcollectionid);
|
|
15146
|
+
});
|
|
15147
|
+
}
|
|
15148
|
+
});
|
|
15149
|
+
});
|
|
15150
|
+
} else {
|
|
15151
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15152
|
+
var _catitem$parentcollet2;
|
|
15153
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet2 = catitem.parentcolletions) === null || _catitem$parentcollet2 === void 0 || _catitem$parentcollet2.forEach(function (parentcolitem, parentcolindex) {
|
|
15154
|
+
var _parentcolitem$collec;
|
|
15155
|
+
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec = parentcolitem.collections) === null || _parentcolitem$collec === void 0 || _parentcolitem$collec.forEach(function (colitem, colindex) {
|
|
15156
|
+
var _ProductFilterObjCont2;
|
|
15157
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont2 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont2 === void 0 || _ProductFilterObjCont2.forEach(function (colitem2, colindex2) {
|
|
15158
|
+
if (colitem.collectionid == colitem2) {
|
|
15159
|
+
parentidsfound.push(parentcolitem.parentcollectionid);
|
|
15160
|
+
}
|
|
15161
|
+
});
|
|
15162
|
+
});
|
|
15163
|
+
});
|
|
15164
|
+
});
|
|
15165
|
+
}
|
|
15166
|
+
parentidsfound = parentidsfound.filter(function (val, id, array) {
|
|
15167
|
+
return array.indexOf(val) == id;
|
|
15168
|
+
});
|
|
15169
|
+
if (((_parentidsfound = parentidsfound) === null || _parentidsfound === void 0 ? void 0 : _parentidsfound.length) != 0) {
|
|
15170
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15171
|
+
var _catitem$parentcollet3;
|
|
15172
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet3 = catitem.parentcolletions) === null || _catitem$parentcollet3 === void 0 || _catitem$parentcollet3.forEach(function (parentcolitem, parentcolindex) {
|
|
15173
|
+
var _parentidsfound2;
|
|
15174
|
+
(_parentidsfound2 = parentidsfound) === null || _parentidsfound2 === void 0 || _parentidsfound2.forEach(function (parentidfounditem, parentidfoundindex) {
|
|
15175
|
+
if (parentidfounditem == (parentcolitem === null || parentcolitem === void 0 ? void 0 : parentcolitem.parentcollectionid)) {
|
|
15176
|
+
var _parentcolitem$collec2;
|
|
15177
|
+
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec2 = parentcolitem.collections) === null || _parentcolitem$collec2 === void 0 || _parentcolitem$collec2.forEach(function (colitem, colindex) {
|
|
15178
|
+
var iscolexists = false;
|
|
15179
|
+
collectiontobevisible === null || collectiontobevisible === void 0 || collectiontobevisible.forEach(function (colitemex, colindexex) {
|
|
15180
|
+
if (colitemex.collectionid == colitem.collectionid) {
|
|
15181
|
+
iscolexists = true;
|
|
15182
|
+
}
|
|
15183
|
+
});
|
|
15184
|
+
if (iscolexists == false) {
|
|
15185
|
+
collectiontobevisible.push(colitem);
|
|
15186
|
+
}
|
|
15187
|
+
});
|
|
15188
|
+
}
|
|
15189
|
+
});
|
|
15190
|
+
});
|
|
15191
|
+
});
|
|
15192
|
+
if ((collectiontobevisible === null || collectiontobevisible === void 0 ? void 0 : collectiontobevisible.length) != 0) {
|
|
15193
|
+
setcollectionstobevisible(collectiontobevisible);
|
|
15194
|
+
} else {
|
|
15195
|
+
setcollectionstobevisible(instcollections);
|
|
15196
|
+
}
|
|
15197
|
+
} else {
|
|
15198
|
+
setcollectionstobevisible(instcollections);
|
|
15199
|
+
}
|
|
15200
|
+
} else {
|
|
15201
|
+
setcollectionstobevisible(instcollections);
|
|
15202
|
+
}
|
|
15203
|
+
} else {
|
|
15204
|
+
setcollectionstobevisible(instcollections);
|
|
15205
|
+
}
|
|
15206
|
+
}
|
|
15207
|
+
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcategories, instcollections]);
|
|
15208
|
+
useEffect(function () {
|
|
15209
|
+
if (productfeatuesarr.length != 0) {
|
|
15210
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15211
|
+
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
15212
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15213
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15214
|
+
}
|
|
15215
|
+
}, [productfeatuesarr]);
|
|
15216
|
+
useEffect(function () {
|
|
15217
|
+
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
15218
|
+
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
15219
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
15220
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
15221
|
+
tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
|
|
15222
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
15223
|
+
}
|
|
15224
|
+
}
|
|
15225
|
+
}, [fetchTabexStatesQueryContext.isSuccess]);
|
|
15226
|
+
var filterupdater = function filterupdater() {
|
|
15227
|
+
setTimeout(function () {
|
|
15228
|
+
var tempFetchQueriesEngineContext = _objectSpread$29({}, FetchQueriesEngineContext);
|
|
15229
|
+
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
15230
|
+
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
15231
|
+
}, 100);
|
|
15232
|
+
if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
|
|
15233
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
15234
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
15235
|
+
tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
|
|
15236
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
15237
|
+
}
|
|
15238
|
+
if (instfilters.length != 0) {
|
|
15239
|
+
var _ProductFilterObjCont3;
|
|
15240
|
+
var tempinstfilters = _toConsumableArray(instfilters);
|
|
15241
|
+
tempinstfilters === null || tempinstfilters === void 0 || tempinstfilters.forEach(function (instfilteritem, instfilterindex) {
|
|
15242
|
+
instfilteritem.productvaluesfilter.forEach(function (valefilteritem, valefilteritemindex) {
|
|
15243
|
+
valefilteritem.isfilterselected = false;
|
|
15244
|
+
});
|
|
15245
|
+
});
|
|
15246
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont3 = ProductFilterObjContext.FilterOptions) === null || _ProductFilterObjCont3 === void 0 || _ProductFilterObjCont3.forEach(function (filteritem, filterindex) {
|
|
15247
|
+
tempinstfilters === null || tempinstfilters === void 0 || tempinstfilters.forEach(function (instfilteritem, instfilterindex) {
|
|
15248
|
+
var _instfilteritem$produ;
|
|
15249
|
+
instfilteritem === null || instfilteritem === void 0 || (_instfilteritem$produ = instfilteritem.productvaluesfilter) === null || _instfilteritem$produ === void 0 || _instfilteritem$produ.forEach(function (valefilteritem, valefilteritemindex) {
|
|
15250
|
+
if (filteritem.valueid == valefilteritem.valueid) {
|
|
15251
|
+
valefilteritem.isfilterselected = true;
|
|
15252
|
+
}
|
|
15253
|
+
});
|
|
15254
|
+
});
|
|
15255
|
+
});
|
|
15256
|
+
setinstfilters(_toConsumableArray(tempinstfilters));
|
|
15257
|
+
}
|
|
15258
|
+
if (instcategories.length != 0) {
|
|
15259
|
+
var _ProductFilterObjCont4;
|
|
15260
|
+
var tempInstcategories = _toConsumableArray(instcategories);
|
|
15261
|
+
tempInstcategories.forEach(function (catitem, catindex) {
|
|
15262
|
+
catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
15263
|
+
parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
15264
|
+
colitem.isfilterselected = false;
|
|
15265
|
+
});
|
|
15266
|
+
});
|
|
15267
|
+
});
|
|
15268
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont4 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont4 === void 0 || _ProductFilterObjCont4.forEach(function (filteritem, filterindex) {
|
|
15269
|
+
tempInstcategories.forEach(function (catitem, catindex) {
|
|
15270
|
+
catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
15271
|
+
parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
15272
|
+
if (colitem.collectionid == filteritem) {
|
|
15273
|
+
colitem.isfilterselected = true;
|
|
15274
|
+
}
|
|
15275
|
+
});
|
|
15276
|
+
});
|
|
15277
|
+
});
|
|
15278
|
+
});
|
|
15279
|
+
setinstcategories(_toConsumableArray(tempInstcategories));
|
|
15280
|
+
}
|
|
15281
|
+
if (instcollections.length != 0) {
|
|
15282
|
+
var _ProductFilterObjCont5;
|
|
15283
|
+
var tempInstcollections = _toConsumableArray(instcollections);
|
|
15284
|
+
tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
|
|
15285
|
+
instfilteritem.isfilterselected = false;
|
|
15286
|
+
});
|
|
15287
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont5 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont5 === void 0 || _ProductFilterObjCont5.forEach(function (filteritem, filterindex) {
|
|
15288
|
+
tempInstcollections === null || tempInstcollections === void 0 || tempInstcollections.forEach(function (instfilteritem, instfilterindex) {
|
|
15289
|
+
if (instfilteritem.collectionid == filteritem) {
|
|
15290
|
+
instfilteritem.isfilterselected = true;
|
|
15291
|
+
}
|
|
15292
|
+
});
|
|
15293
|
+
});
|
|
15294
|
+
setinstcollections(_toConsumableArray(tempInstcollections));
|
|
15295
|
+
}
|
|
15296
|
+
};
|
|
15297
|
+
var setfilterfunc = function setfilterfunc(valueid, valueindex, mainparentindex, type) {
|
|
15298
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15299
|
+
if (type == 'clearfilters') {
|
|
15300
|
+
tempfetchproductsfilerobjcontext.FilterOptions = [];
|
|
15301
|
+
} else {
|
|
15302
|
+
var _tempfetchproductsfil;
|
|
15303
|
+
var FilterExists = false;
|
|
15304
|
+
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.FilterOptions) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
|
|
15305
|
+
if (filteritem.valueid == valueid) {
|
|
15306
|
+
FilterExists = true;
|
|
15307
|
+
tempfetchproductsfilerobjcontext.FilterOptions.splice(filterindex, 1);
|
|
15308
|
+
}
|
|
15309
|
+
});
|
|
15310
|
+
if (!FilterExists) {
|
|
15311
|
+
tempfetchproductsfilerobjcontext.FilterOptions.push({
|
|
15312
|
+
valueid: valueid
|
|
15313
|
+
});
|
|
15314
|
+
}
|
|
15315
|
+
}
|
|
15316
|
+
if (tempfetchproductsfilerobjcontext.FilterOptions.length == 0) {
|
|
15317
|
+
tempfetchproductsfilerobjcontext.isfilter = 0;
|
|
15318
|
+
} else {
|
|
15319
|
+
tempfetchproductsfilerobjcontext.isfilter = 1;
|
|
15320
|
+
}
|
|
15321
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
15322
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15323
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15324
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15325
|
+
};
|
|
15326
|
+
var InstFilters = function InstFilters() {
|
|
15327
|
+
return /*#__PURE__*/React.createElement(Accordion, {
|
|
15328
|
+
allowMultipleExpanded: true,
|
|
15329
|
+
allowZeroExpanded: true
|
|
15330
|
+
}, instfilters.map(function (item, index) {
|
|
15331
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(AccordionItem, {
|
|
15332
|
+
uuid: index
|
|
15333
|
+
}, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
|
|
15334
|
+
className: filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '
|
|
15335
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
15336
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
15337
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
15338
|
+
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 ' : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
|
|
15339
|
+
}, langdetect == 'en' ? item.optionname : item.optionname_ar)), /*#__PURE__*/React.createElement("div", {
|
|
15340
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
15341
|
+
}, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
|
|
15342
|
+
if (state.expanded == true) {
|
|
15343
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
15344
|
+
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
15345
|
+
}, /*#__PURE__*/React.createElement(FiChevronDown, null));
|
|
15346
|
+
} else {
|
|
15347
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
15348
|
+
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
15349
|
+
}, /*#__PURE__*/React.createElement(FiChevronUp, null));
|
|
15350
|
+
}
|
|
15351
|
+
}))))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
|
|
15352
|
+
className: "p-0"
|
|
15353
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
15354
|
+
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
|
|
15355
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
15356
|
+
className: 'col-lg-12'
|
|
15357
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
15358
|
+
className: langdetect == 'en' ? "".concat(filterstyles.timeline) + ' p-sm-0 ' : "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 '
|
|
15359
|
+
}, item.productvaluesfilter.map(function (valueitem, valueindex) {
|
|
15360
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
15361
|
+
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 ',
|
|
15362
|
+
onClick: function onClick() {
|
|
15363
|
+
setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
15364
|
+
}
|
|
15365
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
15366
|
+
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 '
|
|
15367
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
15368
|
+
className: "h-100 d-flex align-items-center"
|
|
15369
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
15370
|
+
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
15371
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
15372
|
+
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
15373
|
+
style: {
|
|
15374
|
+
color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
|
|
15375
|
+
}
|
|
15376
|
+
}, langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar)));
|
|
15377
|
+
})))))), /*#__PURE__*/React.createElement("hr", {
|
|
15378
|
+
className: "mt-3 mb-3"
|
|
15379
|
+
}));
|
|
15380
|
+
}));
|
|
15381
|
+
};
|
|
15382
|
+
var filter_cssstyles = {
|
|
15383
|
+
form_control: css((_css = {
|
|
15384
|
+
position: 'relative',
|
|
15385
|
+
display: 'flex',
|
|
15386
|
+
alignItems: 'center'
|
|
15387
|
+
}, _defineProperty(_css, "display", 'block'), _defineProperty(_css, "width", '100%'), _defineProperty(_css, "padding", '0 30px'), _defineProperty(_css, "transition", '.3s'), _defineProperty(_css, "fontWeight", 500), _defineProperty(_css, "border", '1px solid #ccc'), _defineProperty(_css, "borderRadius", '5px'), _defineProperty(_css, "height", '40px'), _defineProperty(_css, "background", 'transparent'), _defineProperty(_css, "color", '#000'), _defineProperty(_css, "fontSize", '14px'), _defineProperty(_css, ':focus', {
|
|
15388
|
+
// borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
15389
|
+
borderColor: '#eac435',
|
|
15390
|
+
boxShadow: 'none'
|
|
15391
|
+
}), _css)),
|
|
15392
|
+
collapsetitle: css({
|
|
15393
|
+
fontSize: sectionproperties.filtertitle_fontsize + 'px',
|
|
15394
|
+
fontWeight: sectionproperties.filtertitle_fontweight,
|
|
15395
|
+
textTransform: sectionproperties.filtertitle_texttransform,
|
|
15396
|
+
color: sectionproperties.filtertitle_color,
|
|
15397
|
+
':hover': {
|
|
15398
|
+
color: sectionproperties.filtertitle_coloronhover
|
|
15399
|
+
}
|
|
15400
|
+
}),
|
|
15401
|
+
titlecontainer: css({
|
|
15402
|
+
color: sectionproperties.filtertitle_color,
|
|
15403
|
+
':hover .collapsetitle': {
|
|
15404
|
+
color: sectionproperties.filtertitle_coloronhover
|
|
15405
|
+
}
|
|
15406
|
+
}),
|
|
15407
|
+
timeline_text: css({
|
|
15408
|
+
fontSize: sectionproperties.timeline_text_fontsize + 'px',
|
|
15409
|
+
fontWeight: sectionproperties.timeline_text_fontweight,
|
|
15410
|
+
textTransform: sectionproperties.timeline_text_texttransform,
|
|
15411
|
+
color: sectionproperties.timeline_text_color,
|
|
15412
|
+
transition: '.3s',
|
|
15413
|
+
':hover': {
|
|
15414
|
+
color: sectionproperties.timeline_text_coloronhover
|
|
15415
|
+
}
|
|
15416
|
+
}),
|
|
15417
|
+
btnstyles: css({
|
|
15418
|
+
color: sectionproperties.generalbtn_textColor,
|
|
15419
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
15420
|
+
textTransform: sectionproperties.generalbtn_texttransform,
|
|
15421
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
15422
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
15423
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
15424
|
+
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
15425
|
+
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
15426
|
+
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
15427
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
15428
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
15429
|
+
transition: '.3s',
|
|
15430
|
+
':hover': {
|
|
15431
|
+
background: sectionproperties.generalbtn_bgColoronhover,
|
|
15432
|
+
color: sectionproperties.generalbtn_textColoronhover
|
|
15433
|
+
}
|
|
15434
|
+
}),
|
|
15435
|
+
close_menu_icon_cont: css({
|
|
15436
|
+
background: sectionproperties.closeSliderBgColor,
|
|
15437
|
+
width: sectionproperties.closeSliderWidth + 'px',
|
|
15438
|
+
height: sectionproperties.closeSliderHeight + 'px',
|
|
15439
|
+
borderRadius: sectionproperties.closeSlider_borderBottomLeftRadius + 'px',
|
|
15440
|
+
':hover': {
|
|
15441
|
+
background: sectionproperties.closeSliderBgColorHover
|
|
15442
|
+
}
|
|
15443
|
+
}),
|
|
15444
|
+
horizontalfilter_card: css({
|
|
15445
|
+
marginBottom: sectionproperties.horizontalfilter_mb + 'px',
|
|
15446
|
+
marginTop: sectionproperties.horizontalfilter_mt + 'px',
|
|
15447
|
+
background: sectionproperties.horizontalfilter_cardbg,
|
|
15448
|
+
border: sectionproperties.horizontalfilter_cardborderwidth + 'px solid ' + sectionproperties.horizontalfilter_cardbordercolor,
|
|
15449
|
+
boxShadow: sectionproperties.horizontalfilter_cardboxShadow == 'Show' ? sectionproperties.horizontalfilter_cardboxShadowcolor : 'horizontalfilter_cardboxShadow'
|
|
15450
|
+
}),
|
|
15451
|
+
btn_item: css({
|
|
15452
|
+
width: '20px',
|
|
15453
|
+
height: '20px',
|
|
15454
|
+
background: sectionproperties.filteritembtn_bgcolor,
|
|
15455
|
+
':hover': {
|
|
15456
|
+
background: sectionproperties.filteritembtn_bghover
|
|
15457
|
+
}
|
|
15458
|
+
}),
|
|
15459
|
+
btn_item_active: css({
|
|
15460
|
+
background: sectionproperties.btn_item_activebgcolor
|
|
15461
|
+
}),
|
|
15462
|
+
timelineinnercont_active: css({
|
|
15463
|
+
fontWeight: sectionproperties.activecat_fontweight,
|
|
15464
|
+
color: sectionproperties.activecat_color
|
|
15465
|
+
}),
|
|
15466
|
+
categoryName: css({
|
|
15467
|
+
color: sectionproperties.filtertitle_color,
|
|
15468
|
+
fontWeight: sectionproperties.filterCatFontWeight,
|
|
15469
|
+
fontSize: sectionproperties.filterCatFontSize + 'px'
|
|
15470
|
+
}),
|
|
15471
|
+
pCollectionName: css({
|
|
15472
|
+
color: sectionproperties.filtertitle_color,
|
|
15473
|
+
fontWeight: sectionproperties.filterPCollFontWeight,
|
|
15474
|
+
fontSize: sectionproperties.filterPCollFontSize + 'px'
|
|
15475
|
+
}),
|
|
15476
|
+
explorebtn: css({
|
|
15477
|
+
fontSize: sectionproperties.explorebtnfontsize + 'px',
|
|
15478
|
+
fontWeight: 600,
|
|
15479
|
+
color: sectionproperties.explorebtncolor,
|
|
15480
|
+
transition: '.3s',
|
|
15481
|
+
':hover': {
|
|
15482
|
+
color: sectionproperties.explorebtncoloronhover
|
|
15483
|
+
}
|
|
15484
|
+
}),
|
|
15485
|
+
showallbtn: css({
|
|
15486
|
+
color: sectionproperties.showallcolor,
|
|
15487
|
+
':hover': {
|
|
15488
|
+
transition: '.3s',
|
|
15489
|
+
cursor: 'pointer',
|
|
15490
|
+
color: sectionproperties.showallcolorhover
|
|
15491
|
+
}
|
|
15492
|
+
}),
|
|
15493
|
+
sectiontitle: css({
|
|
15494
|
+
position: 'relative',
|
|
15495
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
15496
|
+
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
15497
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
15498
|
+
'@media (max-width: 800px)': {
|
|
15499
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
15500
|
+
}
|
|
15501
|
+
})
|
|
15502
|
+
};
|
|
15503
|
+
var filterrouting = function filterrouting(tempfetchproductsfilerobjcontext) {
|
|
15504
|
+
var path = window.location.pathname.split('/');
|
|
15505
|
+
var currentpagepath = path[1];
|
|
15506
|
+
var pagenamepathinstaticpagelinkcont = '';
|
|
15507
|
+
for (var key in StaticPagesLinksContext) {
|
|
15508
|
+
if (StaticPagesLinksContext[key] == currentpagepath) {
|
|
15509
|
+
pagenamepathinstaticpagelinkcont = key;
|
|
15510
|
+
}
|
|
15511
|
+
}
|
|
15512
|
+
if (pagenamepathinstaticpagelinkcont != undefined && pagenamepathinstaticpagelinkcont != '') {
|
|
15513
|
+
routingcountext(StaticPagesLinksContext[pagenamepathinstaticpagelinkcont], true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15514
|
+
}
|
|
15515
|
+
};
|
|
15516
|
+
var _useState21 = useState(false),
|
|
15517
|
+
_useState22 = _slicedToArray(_useState21, 2);
|
|
15518
|
+
_useState22[0];
|
|
15519
|
+
_useState22[1];
|
|
15520
|
+
// const queryParameters = new URLSearchParams(window.location.search);
|
|
15521
|
+
// useEffect(() => {
|
|
15522
|
+
// // setsortbycontext('Sort By');
|
|
15523
|
+
// if (queryParameters.get('sortprice') == undefined) {
|
|
15524
|
+
// setsortbycontext('Sort By');
|
|
15525
|
+
// } else {
|
|
15526
|
+
// var temp = { ...sortbycontext };
|
|
15527
|
+
// temp = queryParameters.get('sortprice');
|
|
15528
|
+
// alert(temp);
|
|
15529
|
+
// }
|
|
15530
|
+
// }, []);
|
|
15531
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
15532
|
+
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 p-0 w-100 filter mt-md-0 ' : 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none',
|
|
15533
|
+
style: {
|
|
15534
|
+
marginTop: sectionproperties.filtersection_mt + 'px',
|
|
15535
|
+
minHeight: sectionproperties.filterminheight == 0 ? 'auto' : sectionproperties.filterminheight + 'vh'
|
|
15536
|
+
}
|
|
15537
|
+
}, InstFilters());
|
|
15538
|
+
};
|
|
15539
|
+
|
|
15540
|
+
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; }
|
|
15541
|
+
function _objectSpread$28(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$28(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$28(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
14962
15542
|
var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
14963
15543
|
var _authdetailsContext$i;
|
|
14964
15544
|
props.actions.lang;
|
|
@@ -15088,7 +15668,7 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15088
15668
|
}, [ProductFilterObjContext]);
|
|
15089
15669
|
var filterupdater = function filterupdater() {
|
|
15090
15670
|
setTimeout(function () {
|
|
15091
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
15671
|
+
var tempFetchQueriesEngineContext = _objectSpread$28({}, FetchQueriesEngineContext);
|
|
15092
15672
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
15093
15673
|
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
15094
15674
|
}, 100);
|
|
@@ -15133,7 +15713,7 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15133
15713
|
};
|
|
15134
15714
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
15135
15715
|
var _tempfetchproductsfil;
|
|
15136
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
15716
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$28({}, ProductFilterObjContext);
|
|
15137
15717
|
var CollectionExists = false;
|
|
15138
15718
|
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
|
|
15139
15719
|
if (filteritem == collectionid) {
|
|
@@ -15150,7 +15730,7 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15150
15730
|
}
|
|
15151
15731
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
15152
15732
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
15153
|
-
setProductFilterObjContext(_objectSpread$
|
|
15733
|
+
setProductFilterObjContext(_objectSpread$28({}, tempfetchproductsfilerobjcontext));
|
|
15154
15734
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15155
15735
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15156
15736
|
};
|
|
@@ -15207,9 +15787,14 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15207
15787
|
var serverbaselink$1 = 'https://tabex-co.com';
|
|
15208
15788
|
var image_serverbaselink = 'https://tabexseriesmedia.s3.eu-north-1.amazonaws.com';
|
|
15209
15789
|
|
|
15210
|
-
function ownKeys$
|
|
15211
|
-
function _objectSpread$
|
|
15790
|
+
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; }
|
|
15791
|
+
function _objectSpread$27(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$27(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$27(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15212
15792
|
var CardsSection = function CardsSection(props) {
|
|
15793
|
+
var plainString = function plainString(html) {
|
|
15794
|
+
var divContainer = document.createElement('div');
|
|
15795
|
+
divContainer.innerHTML = html;
|
|
15796
|
+
return divContainer.textContent || divContainer.innerText || '';
|
|
15797
|
+
};
|
|
15213
15798
|
var refscr = /*#__PURE__*/createRef();
|
|
15214
15799
|
var _useInView = useInView();
|
|
15215
15800
|
_useInView.ref;
|
|
@@ -15268,11 +15853,6 @@ var CardsSection = function CardsSection(props) {
|
|
|
15268
15853
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
15269
15854
|
maincontainerarrayofobjs = _useState12[0],
|
|
15270
15855
|
setmaincontainerarrayofobjs = _useState12[1];
|
|
15271
|
-
// React.useEffect(() => {
|
|
15272
|
-
// if (inView) {
|
|
15273
|
-
// fetchProductsQuery.fetchNextPage();
|
|
15274
|
-
// }
|
|
15275
|
-
// }, [inView]);
|
|
15276
15856
|
var _useState13 = useState(12),
|
|
15277
15857
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
15278
15858
|
perpageItems = _useState14[0],
|
|
@@ -15295,7 +15875,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
15295
15875
|
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
15296
15876
|
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
15297
15877
|
});
|
|
15298
|
-
setsectionproperties(_objectSpread$
|
|
15878
|
+
setsectionproperties(_objectSpread$27({}, secpropobj));
|
|
15299
15879
|
if (props.srcfromprops == 'GeneralProductsComponent') {
|
|
15300
15880
|
setfetchingtype('products');
|
|
15301
15881
|
var lcproductfetchingtype = 'Random';
|
|
@@ -15369,9 +15949,9 @@ var CardsSection = function CardsSection(props) {
|
|
|
15369
15949
|
}
|
|
15370
15950
|
tempfetchproductsfilerobjcontext.grouptype = ProductsFetchingTypeSectionObj.grouptype;
|
|
15371
15951
|
tempfetchproductsfilerobjcontext.grouptyperefid = ProductsFetchingTypeSectionObj.grouptyperefid;
|
|
15372
|
-
setProductFilterObjContext(_objectSpread$
|
|
15952
|
+
setProductFilterObjContext(_objectSpread$27({}, tempfetchproductsfilerobjcontext));
|
|
15373
15953
|
}
|
|
15374
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
15954
|
+
setFetchQueriesEngineContext(_objectSpread$27({}, tempFetchQueriesEngineContext));
|
|
15375
15955
|
}
|
|
15376
15956
|
}, [fetchingtype, ProductsFetchingTypeSectionObj]);
|
|
15377
15957
|
useEffect(function () {
|
|
@@ -15654,9 +16234,9 @@ var CardsSection = function CardsSection(props) {
|
|
|
15654
16234
|
// Example items, to simulate fetching from another resources.
|
|
15655
16235
|
var handlePageClick = function handlePageClick(event) {
|
|
15656
16236
|
props.scrolltotop();
|
|
15657
|
-
var tempProductFilterObjContext = _objectSpread$
|
|
16237
|
+
var tempProductFilterObjContext = _objectSpread$27({}, ProductFilterObjContext);
|
|
15658
16238
|
tempProductFilterObjContext.page = event === null || event === void 0 ? void 0 : event.selected;
|
|
15659
|
-
setProductFilterObjContext(_objectSpread$
|
|
16239
|
+
setProductFilterObjContext(_objectSpread$27({}, tempProductFilterObjContext));
|
|
15660
16240
|
var pasturl = '';
|
|
15661
16241
|
if (props.grouptypeprops != undefined) {
|
|
15662
16242
|
if (props.collectionidprops != undefined) {
|
|
@@ -15926,9 +16506,69 @@ var CardsSection = function CardsSection(props) {
|
|
|
15926
16506
|
}
|
|
15927
16507
|
return isloading;
|
|
15928
16508
|
};
|
|
16509
|
+
var show_product_group_titles = function show_product_group_titles() {
|
|
16510
|
+
var title_en = '';
|
|
16511
|
+
var title_ar = '';
|
|
16512
|
+
var description_en = '';
|
|
16513
|
+
var description_ar = '';
|
|
16514
|
+
var logo = '';
|
|
16515
|
+
var type = '';
|
|
16516
|
+
var id = '';
|
|
16517
|
+
if (ProductFilterObjContext['collections'] != undefined && Array.isArray(ProductFilterObjContext['collections']) && ProductFilterObjContext['collections'][0] != undefined) {
|
|
16518
|
+
id = ProductFilterObjContext['collections'][0];
|
|
16519
|
+
}
|
|
16520
|
+
if (id != null && id != '' && id != 'all') {
|
|
16521
|
+
var _fetchCategoriesQuery4;
|
|
16522
|
+
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) {
|
|
16523
|
+
if (catitem.categoryid == id) {
|
|
16524
|
+
title_en = catitem.title_en;
|
|
16525
|
+
title_ar = catitem.title_ar;
|
|
16526
|
+
description_en = catitem.description_en;
|
|
16527
|
+
description_ar = catitem.description_ar;
|
|
16528
|
+
logo = catitem.categorylogo;
|
|
16529
|
+
type = 'category';
|
|
16530
|
+
}
|
|
16531
|
+
if (title_en == '') {
|
|
16532
|
+
var _catitem$parentcollet;
|
|
16533
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet = catitem.parentcolletions) === null || _catitem$parentcollet === void 0 || _catitem$parentcollet.map(function (parentitem) {
|
|
16534
|
+
if (parentitem.parentcollectionid == id) {
|
|
16535
|
+
title_en = parentitem.title_en;
|
|
16536
|
+
title_ar = parentitem.title_ar;
|
|
16537
|
+
description_en = parentitem.description_en;
|
|
16538
|
+
description_ar = parentitem.description_ar;
|
|
16539
|
+
logo = parentitem.parentcollectionlogo;
|
|
16540
|
+
type = 'parentcollection';
|
|
16541
|
+
}
|
|
16542
|
+
if (title_en == '') {
|
|
16543
|
+
var _parentitem$collectio;
|
|
16544
|
+
parentitem === null || parentitem === void 0 || (_parentitem$collectio = parentitem.collections) === null || _parentitem$collectio === void 0 || _parentitem$collectio.map(function (colitem) {
|
|
16545
|
+
if (colitem.collectionid == id) {
|
|
16546
|
+
title_en = colitem.title_en;
|
|
16547
|
+
title_ar = colitem.title_ar;
|
|
16548
|
+
description_en = colitem.description_en;
|
|
16549
|
+
description_ar = colitem.description_ar;
|
|
16550
|
+
logo = colitem.collectionlogo;
|
|
16551
|
+
type = 'collection';
|
|
16552
|
+
}
|
|
16553
|
+
});
|
|
16554
|
+
}
|
|
16555
|
+
});
|
|
16556
|
+
}
|
|
16557
|
+
});
|
|
16558
|
+
}
|
|
16559
|
+
return {
|
|
16560
|
+
title_en: title_en,
|
|
16561
|
+
title_ar: title_ar,
|
|
16562
|
+
description_en: description_en,
|
|
16563
|
+
description_ar: description_ar,
|
|
16564
|
+
type: type,
|
|
16565
|
+
id: id,
|
|
16566
|
+
logo: logo
|
|
16567
|
+
};
|
|
16568
|
+
};
|
|
15929
16569
|
var cardsrender = function cardsrender() {
|
|
15930
16570
|
return /*#__PURE__*/React.createElement("div", {
|
|
15931
|
-
"class": sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? sectionproperties.numofcols == '2' ? 'col-lg-10 col-md-12 col-sm-12 p-sm-0' : 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : 'row m-0 w-100 p-sm-0'
|
|
16571
|
+
"class": sectionproperties.showvariantfilter == 'Show' ? 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? sectionproperties.numofcols == '2' ? 'col-lg-10 col-md-12 col-sm-12 p-sm-0' : 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : 'row m-0 w-100 p-sm-0'
|
|
15932
16572
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
15933
16573
|
className: "row m-0 w-100 d-flex align-items-center p-sm-0"
|
|
15934
16574
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -16175,7 +16815,10 @@ var CardsSection = function CardsSection(props) {
|
|
|
16175
16815
|
// ? 'scrollmenuclassnameitemModernProductCard'
|
|
16176
16816
|
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
16177
16817
|
// ? 'scrollmenuclassnameitemSimplecategorycardwithtextbelow'
|
|
16178
|
-
item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' :
|
|
16818
|
+
item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' :
|
|
16819
|
+
// : item.tabexsectioninfo.sectioncompname == 'Card23'
|
|
16820
|
+
// ? 'scrollmenuclassnameitemCard23'
|
|
16821
|
+
item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'ModernCardWithQuantityButton' ? 'scrollmenuclassnameitemModernCardWithQuantityButton' : item.tabexsectioninfo.sectioncompname == 'CategoryCardwithhoveraction' ? 'scrollmenuclassnameitemCategoryCardwithhoveraction' : item.tabexsectioninfo.sectioncompname == 'CircleCardWithVariants' ? 'scrollmenuclassnameitemCircleCardWithVariants' :
|
|
16179
16822
|
// : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard'
|
|
16180
16823
|
// ? 'scrollmenuclassnameitemUpSlideEffectCard'
|
|
16181
16824
|
item.tabexsectioninfo.sectioncompname == 'CategoryCardTextOnImage' ? 'scrollmenuclassnameitemCategoryCardTextOnImage' : '',
|
|
@@ -16446,8 +17089,33 @@ var CardsSection = function CardsSection(props) {
|
|
|
16446
17089
|
}
|
|
16447
17090
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
16448
17091
|
"class": section_cssstyles.innercardssection + ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 '
|
|
16449
|
-
}, sectionproperties.
|
|
17092
|
+
}, sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
17093
|
+
"class": "col-lg-12 mb-3 mt-5"
|
|
17094
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
17095
|
+
"class": "m-0",
|
|
17096
|
+
style: {
|
|
17097
|
+
fontWeight: 700,
|
|
17098
|
+
fontSize: 27,
|
|
17099
|
+
color: '#62554a'
|
|
17100
|
+
}
|
|
17101
|
+
}, show_product_group_titles()['title_en'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
17102
|
+
"class": "col-lg-12 mb-3"
|
|
17103
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
17104
|
+
"class": "m-0",
|
|
17105
|
+
style: {
|
|
17106
|
+
fontSize: 18,
|
|
17107
|
+
color: '#62554a'
|
|
17108
|
+
}
|
|
17109
|
+
}, plainString(show_product_group_titles()['description_en']))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React.createElement("div", {
|
|
16450
17110
|
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex p-0' : sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'
|
|
17111
|
+
}, /*#__PURE__*/React.createElement(Filter$2, {
|
|
17112
|
+
sectionpropertiesprops: sectionproperties,
|
|
17113
|
+
actions: actions,
|
|
17114
|
+
openFilterSlider: openFilterSlider,
|
|
17115
|
+
setopenFilterSlider: setopenFilterSlider,
|
|
17116
|
+
show_product_group_titles: show_product_group_titles
|
|
17117
|
+
})), sectionproperties.showvariantfilter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
17118
|
+
className: 'col-lg-3 d-flex'
|
|
16451
17119
|
}, /*#__PURE__*/React.createElement(Filter$1, {
|
|
16452
17120
|
sectionpropertiesprops: sectionproperties,
|
|
16453
17121
|
actions: actions,
|
|
@@ -16456,8 +17124,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
16456
17124
|
})), fetchingtype == 'custom' && /*#__PURE__*/React.createElement(React.Fragment, null, cardsrender()), fetchingtype != 'custom' && cardsrender()));
|
|
16457
17125
|
};
|
|
16458
17126
|
|
|
16459
|
-
function ownKeys$
|
|
16460
|
-
function _objectSpread$
|
|
17127
|
+
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; }
|
|
17128
|
+
function _objectSpread$26(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$26(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$26(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16461
17129
|
var InnerGroups = function InnerGroups(props) {
|
|
16462
17130
|
var _useState = useState(''),
|
|
16463
17131
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -16498,7 +17166,7 @@ var InnerGroups = function InnerGroups(props) {
|
|
|
16498
17166
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16499
17167
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16500
17168
|
});
|
|
16501
|
-
setsectionproperties(_objectSpread$
|
|
17169
|
+
setsectionproperties(_objectSpread$26({}, secpropobj));
|
|
16502
17170
|
}
|
|
16503
17171
|
}, [StatePagePropertiesContext]);
|
|
16504
17172
|
// useEffect(() => {
|
|
@@ -16514,14 +17182,14 @@ var InnerGroups = function InnerGroups(props) {
|
|
|
16514
17182
|
backgroundColor: sectionproperties.backgroundColor
|
|
16515
17183
|
}
|
|
16516
17184
|
}, /*#__PURE__*/React.createElement(CardsSection, {
|
|
16517
|
-
actions: _objectSpread$
|
|
17185
|
+
actions: _objectSpread$26(_objectSpread$26({}, actions), {}, {
|
|
16518
17186
|
fetchingtype: grouptypeparams
|
|
16519
17187
|
})
|
|
16520
17188
|
}));
|
|
16521
17189
|
};
|
|
16522
17190
|
|
|
16523
|
-
function ownKeys$
|
|
16524
|
-
function _objectSpread$
|
|
17191
|
+
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; }
|
|
17192
|
+
function _objectSpread$25(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$25(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$25(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16525
17193
|
var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
16526
17194
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16527
17195
|
var _useState = useState(''),
|
|
@@ -16552,7 +17220,7 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
16552
17220
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16553
17221
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16554
17222
|
});
|
|
16555
|
-
setsectionproperties(_objectSpread$
|
|
17223
|
+
setsectionproperties(_objectSpread$25({}, secpropobj));
|
|
16556
17224
|
}
|
|
16557
17225
|
}, [StatePagePropertiesContext]);
|
|
16558
17226
|
useEffect(function () {
|
|
@@ -16565,9 +17233,9 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
16565
17233
|
}
|
|
16566
17234
|
}, []);
|
|
16567
17235
|
useEffect(function () {
|
|
16568
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17236
|
+
var tempFetchQueriesEngineContext = _objectSpread$25({}, FetchQueriesEngineContext);
|
|
16569
17237
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16570
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17238
|
+
setFetchQueriesEngineContext(_objectSpread$25({}, tempFetchQueriesEngineContext));
|
|
16571
17239
|
}, []);
|
|
16572
17240
|
var _useState7 = useState([]),
|
|
16573
17241
|
_useState8 = _slicedToArray(_useState7, 2);
|
|
@@ -16643,8 +17311,8 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
16643
17311
|
})))));
|
|
16644
17312
|
};
|
|
16645
17313
|
|
|
16646
|
-
function ownKeys$
|
|
16647
|
-
function _objectSpread$
|
|
17314
|
+
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; }
|
|
17315
|
+
function _objectSpread$24(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$24(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$24(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16648
17316
|
var RefundPolicy = function RefundPolicy(props) {
|
|
16649
17317
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16650
17318
|
var _useState = useState(''),
|
|
@@ -16675,7 +17343,7 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
16675
17343
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16676
17344
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16677
17345
|
});
|
|
16678
|
-
setsectionproperties(_objectSpread$
|
|
17346
|
+
setsectionproperties(_objectSpread$24({}, secpropobj));
|
|
16679
17347
|
}
|
|
16680
17348
|
}, [StatePagePropertiesContext]);
|
|
16681
17349
|
useEffect(function () {
|
|
@@ -16688,9 +17356,9 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
16688
17356
|
}
|
|
16689
17357
|
}, []);
|
|
16690
17358
|
useEffect(function () {
|
|
16691
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17359
|
+
var tempFetchQueriesEngineContext = _objectSpread$24({}, FetchQueriesEngineContext);
|
|
16692
17360
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16693
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17361
|
+
setFetchQueriesEngineContext(_objectSpread$24({}, tempFetchQueriesEngineContext));
|
|
16694
17362
|
}, []);
|
|
16695
17363
|
var _useState7 = useState([]),
|
|
16696
17364
|
_useState8 = _slicedToArray(_useState7, 2);
|
|
@@ -16766,8 +17434,8 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
16766
17434
|
})))));
|
|
16767
17435
|
};
|
|
16768
17436
|
|
|
16769
|
-
function ownKeys$
|
|
16770
|
-
function _objectSpread$
|
|
17437
|
+
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; }
|
|
17438
|
+
function _objectSpread$23(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$23(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$23(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16771
17439
|
var ShippingPolicy = function ShippingPolicy(props) {
|
|
16772
17440
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16773
17441
|
var _useState = useState(''),
|
|
@@ -16798,7 +17466,7 @@ var ShippingPolicy = function ShippingPolicy(props) {
|
|
|
16798
17466
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16799
17467
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16800
17468
|
});
|
|
16801
|
-
setsectionproperties(_objectSpread$
|
|
17469
|
+
setsectionproperties(_objectSpread$23({}, secpropobj));
|
|
16802
17470
|
}
|
|
16803
17471
|
}, [StatePagePropertiesContext]);
|
|
16804
17472
|
useEffect(function () {
|
|
@@ -16811,9 +17479,9 @@ var ShippingPolicy = function ShippingPolicy(props) {
|
|
|
16811
17479
|
}
|
|
16812
17480
|
}, []);
|
|
16813
17481
|
useEffect(function () {
|
|
16814
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17482
|
+
var tempFetchQueriesEngineContext = _objectSpread$23({}, FetchQueriesEngineContext);
|
|
16815
17483
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16816
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17484
|
+
setFetchQueriesEngineContext(_objectSpread$23({}, tempFetchQueriesEngineContext));
|
|
16817
17485
|
}, []);
|
|
16818
17486
|
var _useState7 = useState([]),
|
|
16819
17487
|
_useState8 = _slicedToArray(_useState7, 2);
|
|
@@ -16889,8 +17557,8 @@ var ShippingPolicy = function ShippingPolicy(props) {
|
|
|
16889
17557
|
})))));
|
|
16890
17558
|
};
|
|
16891
17559
|
|
|
16892
|
-
function ownKeys$
|
|
16893
|
-
function _objectSpread$
|
|
17560
|
+
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; }
|
|
17561
|
+
function _objectSpread$22(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$22(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$22(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16894
17562
|
var TermsConditions = function TermsConditions(props) {
|
|
16895
17563
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16896
17564
|
var _useState = useState(''),
|
|
@@ -16921,7 +17589,7 @@ var TermsConditions = function TermsConditions(props) {
|
|
|
16921
17589
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16922
17590
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16923
17591
|
});
|
|
16924
|
-
setsectionproperties(_objectSpread$
|
|
17592
|
+
setsectionproperties(_objectSpread$22({}, secpropobj));
|
|
16925
17593
|
}
|
|
16926
17594
|
}, [StatePagePropertiesContext]);
|
|
16927
17595
|
useEffect(function () {
|
|
@@ -16934,9 +17602,9 @@ var TermsConditions = function TermsConditions(props) {
|
|
|
16934
17602
|
}
|
|
16935
17603
|
}, []);
|
|
16936
17604
|
useEffect(function () {
|
|
16937
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17605
|
+
var tempFetchQueriesEngineContext = _objectSpread$22({}, FetchQueriesEngineContext);
|
|
16938
17606
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16939
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17607
|
+
setFetchQueriesEngineContext(_objectSpread$22({}, tempFetchQueriesEngineContext));
|
|
16940
17608
|
}, []);
|
|
16941
17609
|
var _useState7 = useState([]),
|
|
16942
17610
|
_useState8 = _slicedToArray(_useState7, 2);
|
|
@@ -17012,8 +17680,8 @@ var TermsConditions = function TermsConditions(props) {
|
|
|
17012
17680
|
})))));
|
|
17013
17681
|
};
|
|
17014
17682
|
|
|
17015
|
-
function ownKeys$
|
|
17016
|
-
function _objectSpread$
|
|
17683
|
+
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; }
|
|
17684
|
+
function _objectSpread$21(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$21(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$21(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17017
17685
|
var Resetpassword = function Resetpassword(props) {
|
|
17018
17686
|
var _css, _css2;
|
|
17019
17687
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -17064,7 +17732,7 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17064
17732
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
17065
17733
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
17066
17734
|
});
|
|
17067
|
-
setsectionproperties(_objectSpread$
|
|
17735
|
+
setsectionproperties(_objectSpread$21({}, secpropobj));
|
|
17068
17736
|
}
|
|
17069
17737
|
}, [StatePagePropertiesContext]);
|
|
17070
17738
|
useEffect(function () {
|
|
@@ -17191,9 +17859,9 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17191
17859
|
className: "".concat(loginstyles2.form_control),
|
|
17192
17860
|
value: forgotpasswordpayload.email,
|
|
17193
17861
|
onChange: function onChange(event) {
|
|
17194
|
-
var temppayloadobj = _objectSpread$
|
|
17862
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17195
17863
|
temppayloadobj.email = event.target.value;
|
|
17196
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17864
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17197
17865
|
},
|
|
17198
17866
|
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
17199
17867
|
style: {
|
|
@@ -17208,9 +17876,9 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17208
17876
|
className: "".concat(loginstyles2.form_control),
|
|
17209
17877
|
value: forgotpasswordpayload.code,
|
|
17210
17878
|
onChange: function onChange(event) {
|
|
17211
|
-
var temppayloadobj = _objectSpread$
|
|
17879
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17212
17880
|
temppayloadobj.code = event.target.value;
|
|
17213
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17881
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17214
17882
|
},
|
|
17215
17883
|
style: {
|
|
17216
17884
|
background: sectionproperties.input_bgcolor
|
|
@@ -17224,9 +17892,9 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17224
17892
|
className: "".concat(loginstyles2.form_control),
|
|
17225
17893
|
value: forgotpasswordpayload.newpassword,
|
|
17226
17894
|
onChange: function onChange(event) {
|
|
17227
|
-
var temppayloadobj = _objectSpread$
|
|
17895
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17228
17896
|
temppayloadobj.newpassword = event.target.value;
|
|
17229
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17897
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17230
17898
|
},
|
|
17231
17899
|
style: {
|
|
17232
17900
|
background: sectionproperties.input_bgcolor
|
|
@@ -17240,9 +17908,9 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17240
17908
|
className: "".concat(loginstyles2.form_control),
|
|
17241
17909
|
value: forgotpasswordpayload.confirmnewpassword,
|
|
17242
17910
|
onChange: function onChange(event) {
|
|
17243
|
-
var temppayloadobj = _objectSpread$
|
|
17911
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17244
17912
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
17245
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17913
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17246
17914
|
},
|
|
17247
17915
|
style: {
|
|
17248
17916
|
background: sectionproperties.input_bgcolor
|
|
@@ -17254,7 +17922,7 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17254
17922
|
onClick: function onClick() {
|
|
17255
17923
|
if (forgotpasswordpayload.email.length != 0) {
|
|
17256
17924
|
var runfunc = false;
|
|
17257
|
-
var tempforgotpasswordpayload = _objectSpread$
|
|
17925
|
+
var tempforgotpasswordpayload = _objectSpread$21({}, forgotpasswordpayload);
|
|
17258
17926
|
tempforgotpasswordpayload.functype = forgetpasswordstage;
|
|
17259
17927
|
if (forgetpasswordstage == 'verify') {
|
|
17260
17928
|
if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
|
|
@@ -17540,8 +18208,8 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
17540
18208
|
}, lang.nosearchresults)))))));
|
|
17541
18209
|
};
|
|
17542
18210
|
|
|
17543
|
-
function ownKeys$
|
|
17544
|
-
function _objectSpread$
|
|
18211
|
+
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; }
|
|
18212
|
+
function _objectSpread$20(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$20(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$20(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17545
18213
|
var MarqueeHeader = function MarqueeHeader(props) {
|
|
17546
18214
|
var _textarray$, _textarray$2;
|
|
17547
18215
|
props.actions;
|
|
@@ -17562,12 +18230,12 @@ var MarqueeHeader = function MarqueeHeader(props) {
|
|
|
17562
18230
|
settextarray = _useState6[1];
|
|
17563
18231
|
useEffect(function () {
|
|
17564
18232
|
if (props.sectionpropertiesprops != undefined) {
|
|
17565
|
-
setsectionproperties(_objectSpread$
|
|
18233
|
+
setsectionproperties(_objectSpread$20({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
17566
18234
|
}
|
|
17567
18235
|
}, [props.sectionpropertiesprops]);
|
|
17568
18236
|
useEffect(function () {
|
|
17569
18237
|
if (props.templateproperties_contextprops != undefined) {
|
|
17570
|
-
settemplateproperties_context(_objectSpread$
|
|
18238
|
+
settemplateproperties_context(_objectSpread$20({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
17571
18239
|
}
|
|
17572
18240
|
}, [props.templateproperties_contextprops]);
|
|
17573
18241
|
useEffect(function () {
|
|
@@ -17609,8 +18277,8 @@ var css_248z$B = ".subheader-module_sub_outercontainer__-z5ZD {\n position: r
|
|
|
17609
18277
|
var headerstyles$f = {"sub_outercontainer":"subheader-module_sub_outercontainer__-z5ZD","nav__item":"subheader-module_nav__item__8oLkw","link":"subheader-module_link__7IEBY","dropmenu":"subheader-module_dropmenu__lL4Sc","active":"subheader-module_active__MjZNG","subheader":"subheader-module_subheader__aW8fS"};
|
|
17610
18278
|
styleInject(css_248z$B);
|
|
17611
18279
|
|
|
17612
|
-
function ownKeys$
|
|
17613
|
-
function _objectSpread$
|
|
18280
|
+
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; }
|
|
18281
|
+
function _objectSpread$1$(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1$(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1$(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17614
18282
|
var Subheader = function Subheader(props) {
|
|
17615
18283
|
var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _props$subheaderprope4, _templatepropcontext$, _fetchCategoriesQuery2, _authdetailsContext$i, _props$subheaderprope13, _templatepropcontext$2, _props$subheaderprope16, _props$subheaderprope17, _templatepropcontext$3, _fetchCategoriesQuery3, _authdetailsContext$i2, _fetchCategoriesQuery4, _authdetailsContext$i3, _fetchCategoriesQuery5, _props$subheaderprope32, _props$subheaderprope33, _props$subheaderprope34, _props$subheaderprope35, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery9;
|
|
17616
18284
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
@@ -17628,31 +18296,35 @@ var Subheader = function Subheader(props) {
|
|
|
17628
18296
|
setshowdownheadermenu = _useState2[1];
|
|
17629
18297
|
var _useState3 = useState(''),
|
|
17630
18298
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
17631
|
-
|
|
17632
|
-
|
|
17633
|
-
var _useState5 = useState(
|
|
18299
|
+
currentimagecollection = _useState4[0],
|
|
18300
|
+
setcurrentimagecollection = _useState4[1];
|
|
18301
|
+
var _useState5 = useState(''),
|
|
17634
18302
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
17635
|
-
|
|
17636
|
-
|
|
17637
|
-
var _useState7 = useState(
|
|
18303
|
+
Choosenindex = _useState6[0],
|
|
18304
|
+
setChoosenindex = _useState6[1];
|
|
18305
|
+
var _useState7 = useState({}),
|
|
17638
18306
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
17639
|
-
|
|
17640
|
-
|
|
18307
|
+
sectionproperties = _useState8[0],
|
|
18308
|
+
setsectionproperties = _useState8[1];
|
|
17641
18309
|
var _useState9 = useState([]),
|
|
17642
|
-
_useState10 = _slicedToArray(_useState9, 2)
|
|
17643
|
-
_useState10[0]
|
|
17644
|
-
_useState10[1];
|
|
18310
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
18311
|
+
pcollarray = _useState10[0],
|
|
18312
|
+
setpcollarray = _useState10[1];
|
|
18313
|
+
var _useState11 = useState([]),
|
|
18314
|
+
_useState12 = _slicedToArray(_useState11, 2);
|
|
18315
|
+
_useState12[0];
|
|
18316
|
+
_useState12[1];
|
|
17645
18317
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
17646
18318
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
17647
18319
|
useEffect(function () {
|
|
17648
18320
|
var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
|
|
17649
18321
|
tempFetchQueriesEngineContext.categories = true;
|
|
17650
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
18322
|
+
setFetchQueriesEngineContext(_objectSpread$1$({}, tempFetchQueriesEngineContext));
|
|
17651
18323
|
// alert(JSON.stringify(authdetailsContext));
|
|
17652
18324
|
}, []);
|
|
17653
18325
|
useEffect(function () {
|
|
17654
18326
|
if (props.sectionpropertiesprops != undefined) {
|
|
17655
|
-
setsectionproperties(_objectSpread$
|
|
18327
|
+
setsectionproperties(_objectSpread$1$({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
17656
18328
|
}
|
|
17657
18329
|
}, [props.sectionpropertiesprops]);
|
|
17658
18330
|
// useEffect(() => {
|
|
@@ -17904,6 +18576,7 @@ var Subheader = function Subheader(props) {
|
|
|
17904
18576
|
onMouseEnter: function onMouseEnter() {
|
|
17905
18577
|
setshowdownheadermenu(true);
|
|
17906
18578
|
setChoosenindex(index);
|
|
18579
|
+
setcurrentimagecollection(item.parentcollectionlogo);
|
|
17907
18580
|
},
|
|
17908
18581
|
style: {
|
|
17909
18582
|
marginLeft: props === null || props === void 0 || (_props$subheaderprope22 = props.subheaderpropertiesprops) === null || _props$subheaderprope22 === void 0 ? void 0 : _props$subheaderprope22.paddingLeftprops,
|
|
@@ -18037,7 +18710,7 @@ var Subheader = function Subheader(props) {
|
|
|
18037
18710
|
paddingRight: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingRight + 'px' : sectionproperties.subheader_dropdown_paddingLeft + 'px'
|
|
18038
18711
|
}
|
|
18039
18712
|
}, /*#__PURE__*/React.createElement("div", {
|
|
18040
|
-
"class":
|
|
18713
|
+
"class": sectionproperties.subheaderdropdownstyle2 == 'Style 2' ? 'row m-0 w-100 d-flex px-5 py-5 d-flex align-items-center' : 'row m-0 w-100 d-flex pt-3 pb-3'
|
|
18041
18714
|
}, (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery6 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery6 === void 0 || (_fetchCategoriesQuery6 = _fetchCategoriesQuery6.data) === null || _fetchCategoriesQuery6 === void 0 || (_fetchCategoriesQuery6 = _fetchCategoriesQuery6.categories[Choosenindex]) === null || _fetchCategoriesQuery6 === void 0 || (_fetchCategoriesQuery6 = _fetchCategoriesQuery6.parentcolletions) === null || _fetchCategoriesQuery6 === void 0 ? void 0 : _fetchCategoriesQuery6.length) == 0 && /*#__PURE__*/React.createElement("div", {
|
|
18042
18715
|
"class": "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5"
|
|
18043
18716
|
}, /*#__PURE__*/React.createElement(FiLayers, {
|
|
@@ -18084,7 +18757,7 @@ var Subheader = function Subheader(props) {
|
|
|
18084
18757
|
"class": "mt-3 mb-0"
|
|
18085
18758
|
}))));
|
|
18086
18759
|
}
|
|
18087
|
-
})), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray[Choosenindex].collections.map(function (item, index) {
|
|
18760
|
+
})), sectionproperties.subheaderParentType == 'Parent Collections' && sectionproperties.subheaderdropdownstyle2 != 'Style 2' && pcollarray[Choosenindex].collections.map(function (item, index) {
|
|
18088
18761
|
if (item.isshowntocustomers == 1) {
|
|
18089
18762
|
return /*#__PURE__*/React.createElement("div", {
|
|
18090
18763
|
"class": "col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4",
|
|
@@ -18129,7 +18802,53 @@ var Subheader = function Subheader(props) {
|
|
|
18129
18802
|
"class": "mt-3 mb-0"
|
|
18130
18803
|
}))));
|
|
18131
18804
|
}
|
|
18132
|
-
})
|
|
18805
|
+
}), sectionproperties.subheaderdropdownstyle2 == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
18806
|
+
"class": "col-lg-12 p-0"
|
|
18807
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
18808
|
+
"class": "row m-0 w-100"
|
|
18809
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
18810
|
+
"class": "col-6 p-0"
|
|
18811
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
18812
|
+
"class": "row m-0 w-100 d-flex align-items-center"
|
|
18813
|
+
}, sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray[Choosenindex].collections.map(function (item, index) {
|
|
18814
|
+
if (item.isshowntocustomers == 1) {
|
|
18815
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
18816
|
+
"class": "col-12 mb-2 mt-2",
|
|
18817
|
+
style: {
|
|
18818
|
+
cursor: 'pointer'
|
|
18819
|
+
},
|
|
18820
|
+
onClick: function onClick() {
|
|
18821
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
18822
|
+
},
|
|
18823
|
+
onMouseEnter: function onMouseEnter() {
|
|
18824
|
+
setcurrentimagecollection(item.collectionlogo);
|
|
18825
|
+
}
|
|
18826
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
18827
|
+
"class": "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 ',
|
|
18828
|
+
style: {
|
|
18829
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
18830
|
+
}
|
|
18831
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar));
|
|
18832
|
+
}
|
|
18833
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
18834
|
+
"class": "col-6 p-0"
|
|
18835
|
+
}, sectionproperties.showsubheadercollimage == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
18836
|
+
"class": "col-lg-12 allcentered p-0"
|
|
18837
|
+
}, currentimagecollection != '' && /*#__PURE__*/React.createElement("div", {
|
|
18838
|
+
style: {
|
|
18839
|
+
width: '60%',
|
|
18840
|
+
height: '60%'
|
|
18841
|
+
}
|
|
18842
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
18843
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
18844
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
18845
|
+
path: '/tr:w-500,h-500/' + currentimagecollection,
|
|
18846
|
+
style: {
|
|
18847
|
+
width: '100%',
|
|
18848
|
+
height: '100%',
|
|
18849
|
+
objectFit: 'contain'
|
|
18850
|
+
}
|
|
18851
|
+
})))))))), Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery9 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery9 === void 0 || (_fetchCategoriesQuery9 = _fetchCategoriesQuery9.data) === null || _fetchCategoriesQuery9 === void 0 || (_fetchCategoriesQuery9 = _fetchCategoriesQuery9.categories[Choosenindex]) === null || _fetchCategoriesQuery9 === void 0 || (_fetchCategoriesQuery9 = _fetchCategoriesQuery9.parentcolletions) === null || _fetchCategoriesQuery9 === void 0 ? void 0 : _fetchCategoriesQuery9.length) != 0 && sectionproperties.subheaderstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
18133
18852
|
"class": "w-100"
|
|
18134
18853
|
}, /*#__PURE__*/React.createElement("li", {
|
|
18135
18854
|
"class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100'
|
|
@@ -18156,8 +18875,8 @@ var Subheader = function Subheader(props) {
|
|
|
18156
18875
|
})))))));
|
|
18157
18876
|
};
|
|
18158
18877
|
|
|
18159
|
-
function ownKeys$
|
|
18160
|
-
function _objectSpread$
|
|
18878
|
+
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; }
|
|
18879
|
+
function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
18161
18880
|
var Headerresponsive = function Headerresponsive(props) {
|
|
18162
18881
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _fetchCategoriesQuery2, _authdetailsContext$i9;
|
|
18163
18882
|
var actions = props.actions;
|
|
@@ -18192,7 +18911,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18192
18911
|
setpcollarray = _useState6[1];
|
|
18193
18912
|
useEffect(function () {
|
|
18194
18913
|
if (props.sectionpropertiesprops != undefined) {
|
|
18195
|
-
setsectionproperties(_objectSpread$
|
|
18914
|
+
setsectionproperties(_objectSpread$1_({}, props.sectionpropertiesprops));
|
|
18196
18915
|
}
|
|
18197
18916
|
}, [props.sectionpropertiesprops]);
|
|
18198
18917
|
var _useState7 = useState([]),
|
|
@@ -19414,8 +20133,8 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
19414
20133
|
})))))));
|
|
19415
20134
|
};
|
|
19416
20135
|
|
|
19417
|
-
function ownKeys$
|
|
19418
|
-
function _objectSpread$
|
|
20136
|
+
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; }
|
|
20137
|
+
function _objectSpread$1Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19419
20138
|
var DownloadApp = function DownloadApp(props) {
|
|
19420
20139
|
props.actions;
|
|
19421
20140
|
props.actions.lang;
|
|
@@ -19440,7 +20159,7 @@ var DownloadApp = function DownloadApp(props) {
|
|
|
19440
20159
|
}, [sectionproperties]);
|
|
19441
20160
|
useEffect(function () {
|
|
19442
20161
|
if (props.sectionpropertiesprops != undefined) {
|
|
19443
|
-
setsectionproperties(_objectSpread$
|
|
20162
|
+
setsectionproperties(_objectSpread$1Z({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
19444
20163
|
}
|
|
19445
20164
|
}, [props.sectionpropertiesprops]);
|
|
19446
20165
|
var header_cssstyles = {
|
|
@@ -19493,8 +20212,8 @@ var DownloadApp = function DownloadApp(props) {
|
|
|
19493
20212
|
}))));
|
|
19494
20213
|
};
|
|
19495
20214
|
|
|
19496
|
-
function ownKeys$
|
|
19497
|
-
function _objectSpread$
|
|
20215
|
+
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; }
|
|
20216
|
+
function _objectSpread$1Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Y(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19498
20217
|
var SocialMediaSection = function SocialMediaSection(props) {
|
|
19499
20218
|
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13;
|
|
19500
20219
|
props.actions;
|
|
@@ -19510,12 +20229,12 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
19510
20229
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
19511
20230
|
useEffect(function () {
|
|
19512
20231
|
if (props.sectionpropertiesprops != undefined) {
|
|
19513
|
-
setsectionproperties(_objectSpread$
|
|
20232
|
+
setsectionproperties(_objectSpread$1Y({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
19514
20233
|
}
|
|
19515
20234
|
}, [props.sectionpropertiesprops]);
|
|
19516
20235
|
useEffect(function () {
|
|
19517
20236
|
if (props.templateproperties_contextprops != undefined) {
|
|
19518
|
-
settemplateproperties_context(_objectSpread$
|
|
20237
|
+
settemplateproperties_context(_objectSpread$1Y({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
19519
20238
|
}
|
|
19520
20239
|
}, [props.templateproperties_contextprops]);
|
|
19521
20240
|
var header_cssstyles = {
|
|
@@ -19601,8 +20320,8 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
19601
20320
|
})));
|
|
19602
20321
|
};
|
|
19603
20322
|
|
|
19604
|
-
function ownKeys$
|
|
19605
|
-
function _objectSpread$
|
|
20323
|
+
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; }
|
|
20324
|
+
function _objectSpread$1X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1X(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19606
20325
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
19607
20326
|
var _css, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _fetchCategoriesQuery2, _authdetailsContext$i2;
|
|
19608
20327
|
var actions = props.actions;
|
|
@@ -19641,7 +20360,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19641
20360
|
setopenSearch = _useState8[1];
|
|
19642
20361
|
useEffect(function () {
|
|
19643
20362
|
if (props.sectionpropertiesprops != undefined) {
|
|
19644
|
-
setsectionproperties(_objectSpread$
|
|
20363
|
+
setsectionproperties(_objectSpread$1X({}, props.sectionpropertiesprops));
|
|
19645
20364
|
}
|
|
19646
20365
|
}, [props.sectionpropertiesprops]);
|
|
19647
20366
|
var _useState9 = useState([]),
|
|
@@ -20892,8 +21611,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
20892
21611
|
})))))));
|
|
20893
21612
|
};
|
|
20894
21613
|
|
|
20895
|
-
function ownKeys$
|
|
20896
|
-
function _objectSpread$
|
|
21614
|
+
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; }
|
|
21615
|
+
function _objectSpread$1W(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1W(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1W(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20897
21616
|
var ElegantHeader = function ElegantHeader(props) {
|
|
20898
21617
|
var _authdetailsContext$i, _authdetailsContext$i3, _textarray$, _textarray$2, _authdetailsContext$c, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
20899
21618
|
var _useState = useState(''),
|
|
@@ -20946,7 +21665,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
20946
21665
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
20947
21666
|
});
|
|
20948
21667
|
}
|
|
20949
|
-
setsectionproperties(_objectSpread$
|
|
21668
|
+
setsectionproperties(_objectSpread$1W({}, secpropobj));
|
|
20950
21669
|
}, [StatePagePropertiesContext]);
|
|
20951
21670
|
useEffect(function () {
|
|
20952
21671
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -21641,8 +22360,8 @@ var css_248z$A = ".Gotoheader-module_header_container__f-O-q {\n width: 100%
|
|
|
21641
22360
|
var headerstyles$e = {"header_container":"Gotoheader-module_header_container__f-O-q","topbar_item_container":"Gotoheader-module_topbar_item_container__qiBbU","topbar_item":"Gotoheader-module_topbar_item__rYdqG","badge_counter_header_notifications":"Gotoheader-module_badge_counter_header_notifications__a3aCj","header_divider":"Gotoheader-module_header_divider__KE8o6","searchbar":"Gotoheader-module_searchbar__xRQAq","searchbaractive":"Gotoheader-module_searchbaractive__ECT3T"};
|
|
21642
22361
|
styleInject(css_248z$A);
|
|
21643
22362
|
|
|
21644
|
-
function ownKeys$
|
|
21645
|
-
function _objectSpread$
|
|
22363
|
+
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; }
|
|
22364
|
+
function _objectSpread$1V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1V(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
21646
22365
|
var Gotoheader = function Gotoheader(props) {
|
|
21647
22366
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue2, _fetchcustomercartQue3, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
21648
22367
|
var _useState = useState(''),
|
|
@@ -21682,7 +22401,7 @@ var Gotoheader = function Gotoheader(props) {
|
|
|
21682
22401
|
});
|
|
21683
22402
|
}
|
|
21684
22403
|
}
|
|
21685
|
-
setsectionproperties(_objectSpread$
|
|
22404
|
+
setsectionproperties(_objectSpread$1V({}, secpropobj));
|
|
21686
22405
|
}, [StatePagePropertiesContext]);
|
|
21687
22406
|
var _useState3 = useState([]),
|
|
21688
22407
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -22383,8 +23102,8 @@ var css_248z$z = ".CategoryFeaturingHeader-module_lowerHeaderContainer__bQvQY {\
|
|
|
22383
23102
|
var headerstyles$d = {"lowerHeaderContainer":"CategoryFeaturingHeader-module_lowerHeaderContainer__bQvQY","navbar":"CategoryFeaturingHeader-module_navbar__KrZoa","navbar_item":"CategoryFeaturingHeader-module_navbar_item__x7kUB","badge_counter_header_notifications":"CategoryFeaturingHeader-module_badge_counter_header_notifications__OMiIG","searchbar":"CategoryFeaturingHeader-module_searchbar__QVi6T","searchbaractive":"CategoryFeaturingHeader-module_searchbaractive__SDflG"};
|
|
22384
23103
|
styleInject(css_248z$z);
|
|
22385
23104
|
|
|
22386
|
-
function ownKeys$
|
|
22387
|
-
function _objectSpread$
|
|
23105
|
+
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; }
|
|
23106
|
+
function _objectSpread$1U(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1U(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1U(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22388
23107
|
var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
22389
23108
|
var _authdetailsContext$i2, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i5, _authdetailsContext$i7, _fetchcustomercartQue3, _fetchcustomercartQue4;
|
|
22390
23109
|
var _useState = useState(''),
|
|
@@ -22432,7 +23151,7 @@ var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
|
22432
23151
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
22433
23152
|
});
|
|
22434
23153
|
}
|
|
22435
|
-
setsectionproperties(_objectSpread$
|
|
23154
|
+
setsectionproperties(_objectSpread$1U({}, secpropobj));
|
|
22436
23155
|
}, [StatePagePropertiesContext]);
|
|
22437
23156
|
useEffect(function () {
|
|
22438
23157
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -23339,8 +24058,8 @@ var css_248z$y = ".classicheader-module_headercontainer__tCNl- {\n display: f
|
|
|
23339
24058
|
var headerstyles$c = {"headercontainer":"classicheader-module_headercontainer__tCNl-","navbar":"classicheader-module_navbar__3MEax"};
|
|
23340
24059
|
styleInject(css_248z$y);
|
|
23341
24060
|
|
|
23342
|
-
function ownKeys$
|
|
23343
|
-
function _objectSpread$
|
|
24061
|
+
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; }
|
|
24062
|
+
function _objectSpread$1T(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1T(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1T(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23344
24063
|
var ClassicHeader = function ClassicHeader(props) {
|
|
23345
24064
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue, _fetchcustomercartQue2, _templatepropcontext$;
|
|
23346
24065
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
@@ -23377,7 +24096,7 @@ var ClassicHeader = function ClassicHeader(props) {
|
|
|
23377
24096
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
23378
24097
|
});
|
|
23379
24098
|
}
|
|
23380
|
-
setsectionproperties(_objectSpread$
|
|
24099
|
+
setsectionproperties(_objectSpread$1T({}, secpropobj));
|
|
23381
24100
|
}, [StatePagePropertiesContext]);
|
|
23382
24101
|
var _useState3 = useState([]),
|
|
23383
24102
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -24499,8 +25218,8 @@ var css_248z$x = ".CTAHeader-module_header_container__In9j3 .CTAHeader-module_to
|
|
|
24499
25218
|
var headerstyles$b = {"header_container":"CTAHeader-module_header_container__In9j3","topbar_item_container":"CTAHeader-module_topbar_item_container__yiKBc","badge_counter_header_notifications":"CTAHeader-module_badge_counter_header_notifications__LwrZ5","searchbar":"CTAHeader-module_searchbar__lDR8a","searchbaractive":"CTAHeader-module_searchbaractive__mPoEm"};
|
|
24500
25219
|
styleInject(css_248z$x);
|
|
24501
25220
|
|
|
24502
|
-
function ownKeys$
|
|
24503
|
-
function _objectSpread$
|
|
25221
|
+
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; }
|
|
25222
|
+
function _objectSpread$1S(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1S(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1S(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
24504
25223
|
var CTAHeader = function CTAHeader(props) {
|
|
24505
25224
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i13, _authdetailsContext$i15, _authdetailsContext$i18, _authdetailsContext$i21;
|
|
24506
25225
|
var actions = props.actions;
|
|
@@ -24548,7 +25267,7 @@ var CTAHeader = function CTAHeader(props) {
|
|
|
24548
25267
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
24549
25268
|
});
|
|
24550
25269
|
}
|
|
24551
|
-
setsectionproperties(_objectSpread$
|
|
25270
|
+
setsectionproperties(_objectSpread$1S({}, secpropobj));
|
|
24552
25271
|
}, [StatePagePropertiesContext]);
|
|
24553
25272
|
useEffect(function () {
|
|
24554
25273
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -25539,8 +26258,8 @@ var css_248z$w = ".Header_threesectionslogocentered-module_header_innercontainer
|
|
|
25539
26258
|
var headerstyles$a = {"header_innercontainer":"Header_threesectionslogocentered-module_header_innercontainer__yjjgZ","navbar_item":"Header_threesectionslogocentered-module_navbar_item__YMaF8","navbar_item_text":"Header_threesectionslogocentered-module_navbar_item_text__0DPls","navbar_item_active":"Header_threesectionslogocentered-module_navbar_item_active__ladUm","searchbarcont":"Header_threesectionslogocentered-module_searchbarcont__9MNXO","badge_counter_header_notifications":"Header_threesectionslogocentered-module_badge_counter_header_notifications__qekYU","searchbar":"Header_threesectionslogocentered-module_searchbar__5KdKx","searchbaractive":"Header_threesectionslogocentered-module_searchbaractive__8Pp-9"};
|
|
25540
26259
|
styleInject(css_248z$w);
|
|
25541
26260
|
|
|
25542
|
-
function ownKeys$
|
|
25543
|
-
function _objectSpread$
|
|
26261
|
+
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; }
|
|
26262
|
+
function _objectSpread$1R(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1R(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1R(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
25544
26263
|
var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
|
|
25545
26264
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
25546
26265
|
var _useState = useState(''),
|
|
@@ -25576,7 +26295,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
25576
26295
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
25577
26296
|
});
|
|
25578
26297
|
}
|
|
25579
|
-
setsectionproperties(_objectSpread$
|
|
26298
|
+
setsectionproperties(_objectSpread$1R({}, secpropobj));
|
|
25580
26299
|
}, [StatePagePropertiesContext]);
|
|
25581
26300
|
var _useState3 = useState([]),
|
|
25582
26301
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -26280,8 +26999,8 @@ var css_248z$v = ".Simpleheader-module_headercontainer__H09AD {\n position: a
|
|
|
26280
26999
|
var headerstyles$9 = {"headercontainer":"Simpleheader-module_headercontainer__H09AD","navbar":"Simpleheader-module_navbar__lLQ9F","header_cart":"Simpleheader-module_header_cart__GG895","header_badge":"Simpleheader-module_header_badge__cW4uV","nav__item":"Simpleheader-module_nav__item__txPCh","link":"Simpleheader-module_link__aI5DF","badge_counter_header_notifications":"Simpleheader-module_badge_counter_header_notifications__9NFCv","searchbar":"Simpleheader-module_searchbar__-iAVU","searchbaractive":"Simpleheader-module_searchbaractive__9RFRQ"};
|
|
26281
27000
|
styleInject(css_248z$v);
|
|
26282
27001
|
|
|
26283
|
-
function ownKeys$
|
|
26284
|
-
function _objectSpread$
|
|
27002
|
+
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; }
|
|
27003
|
+
function _objectSpread$1Q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26285
27004
|
var Simpleheader = function Simpleheader(props) {
|
|
26286
27005
|
var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
26287
27006
|
var actions = props.actions;
|
|
@@ -26326,7 +27045,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26326
27045
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
26327
27046
|
});
|
|
26328
27047
|
}
|
|
26329
|
-
setsectionproperties(_objectSpread$
|
|
27048
|
+
setsectionproperties(_objectSpread$1Q({}, secpropobj));
|
|
26330
27049
|
}, [StatePagePropertiesContext]);
|
|
26331
27050
|
useEffect(function () {
|
|
26332
27051
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -26540,12 +27259,18 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26540
27259
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
26541
27260
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
26542
27261
|
}
|
|
26543
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
27262
|
+
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
27263
|
+
"class": "col-lg-12 p-0"
|
|
27264
|
+
}, /*#__PURE__*/React.createElement(MarqueeHeader, {
|
|
27265
|
+
sectionpropertiesprops: sectionproperties,
|
|
27266
|
+
templateproperties_contextprops: templateproperties_context,
|
|
27267
|
+
actions: actions
|
|
27268
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
26544
27269
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
26545
27270
|
}, /*#__PURE__*/React.createElement("div", {
|
|
26546
27271
|
"class": "row m-0 w-100 "
|
|
26547
27272
|
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
26548
|
-
"class": "col-lg-12 p-0"
|
|
27273
|
+
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
26549
27274
|
}, /*#__PURE__*/React.createElement(MarqueeHeader, {
|
|
26550
27275
|
sectionpropertiesprops: sectionproperties,
|
|
26551
27276
|
templateproperties_contextprops: templateproperties_context,
|
|
@@ -26905,7 +27630,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26905
27630
|
}), sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && /*#__PURE__*/React.createElement(Headerresponsive, {
|
|
26906
27631
|
sectionpropertiesprops: sectionproperties,
|
|
26907
27632
|
actions: actions
|
|
26908
|
-
}), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React.createElement(HeaderresponsiveStyle2, {
|
|
27633
|
+
}), sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && /*#__PURE__*/React.createElement(HeaderresponsiveStyle2, {
|
|
26909
27634
|
sectionpropertiesprops: sectionproperties,
|
|
26910
27635
|
actions: actions
|
|
26911
27636
|
}), /*#__PURE__*/React.createElement(Offcanvas, {
|
|
@@ -26988,8 +27713,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26988
27713
|
}))))))));
|
|
26989
27714
|
};
|
|
26990
27715
|
|
|
26991
|
-
function ownKeys$
|
|
26992
|
-
function _objectSpread$
|
|
27716
|
+
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; }
|
|
27717
|
+
function _objectSpread$1P(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1P(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1P(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26993
27718
|
var Header8 = function Header8(props) {
|
|
26994
27719
|
var _css, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i3, _authdetailsContext$i5, _authdetailsContext$i7, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i8, _authdetailsContext$i10, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue4, _fetchcustomercartQue5;
|
|
26995
27720
|
var actions = props.actions;
|
|
@@ -27046,7 +27771,7 @@ var Header8 = function Header8(props) {
|
|
|
27046
27771
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
27047
27772
|
});
|
|
27048
27773
|
}
|
|
27049
|
-
setsectionproperties(_objectSpread$
|
|
27774
|
+
setsectionproperties(_objectSpread$1P({}, secpropobj));
|
|
27050
27775
|
}, [StatePagePropertiesContext]);
|
|
27051
27776
|
var subtotalcart = function subtotalcart() {
|
|
27052
27777
|
var _fetchcustomercartQue;
|
|
@@ -28764,8 +29489,8 @@ var css_248z$u = ".headerresturant-module_header_innercontainer__K3I1g {\n di
|
|
|
28764
29489
|
var headerstyles$8 = {"header_innercontainer":"headerresturant-module_header_innercontainer__K3I1g","navbar_item":"headerresturant-module_navbar_item__Exl8b","navbar_item_text":"headerresturant-module_navbar_item_text__psv09","navbar_item_active":"headerresturant-module_navbar_item_active__8BCbD","searchbarcont":"headerresturant-module_searchbarcont__4VPWj","language_cont":"headerresturant-module_language_cont__LwHIK","badge_counter_header_notifications":"headerresturant-module_badge_counter_header_notifications__mGA2-"};
|
|
28765
29490
|
styleInject(css_248z$u);
|
|
28766
29491
|
|
|
28767
|
-
function ownKeys$
|
|
28768
|
-
function _objectSpread$
|
|
29492
|
+
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; }
|
|
29493
|
+
function _objectSpread$1O(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1O(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1O(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
28769
29494
|
var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
28770
29495
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
28771
29496
|
var _useState = useState(''),
|
|
@@ -28801,7 +29526,7 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
28801
29526
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
28802
29527
|
});
|
|
28803
29528
|
}
|
|
28804
|
-
setsectionproperties(_objectSpread$
|
|
29529
|
+
setsectionproperties(_objectSpread$1O({}, secpropobj));
|
|
28805
29530
|
}, [StatePagePropertiesContext]);
|
|
28806
29531
|
var _useState3 = useState([]),
|
|
28807
29532
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -29410,8 +30135,8 @@ var css_248z$t = ".header_contactinfo-module_lowerHeaderContainer__toB3m {\n
|
|
|
29410
30135
|
var headerstyles$7 = {"lowerHeaderContainer":"header_contactinfo-module_lowerHeaderContainer__toB3m","navbar_item":"header_contactinfo-module_navbar_item__T6mXT","navbar_item_text":"header_contactinfo-module_navbar_item_text__dSoH9","navbar_item_active":"header_contactinfo-module_navbar_item_active__eiC3f","badge_counter_header_notifications":"header_contactinfo-module_badge_counter_header_notifications__gWKN6"};
|
|
29411
30136
|
styleInject(css_248z$t);
|
|
29412
30137
|
|
|
29413
|
-
function ownKeys$
|
|
29414
|
-
function _objectSpread$
|
|
30138
|
+
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; }
|
|
30139
|
+
function _objectSpread$1N(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1N(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1N(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
29415
30140
|
var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
29416
30141
|
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i12, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
29417
30142
|
var _useState = useState(''),
|
|
@@ -29448,7 +30173,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
29448
30173
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
29449
30174
|
});
|
|
29450
30175
|
}
|
|
29451
|
-
setsectionproperties(_objectSpread$
|
|
30176
|
+
setsectionproperties(_objectSpread$1N({}, secpropobj));
|
|
29452
30177
|
}, [StatePagePropertiesContext]);
|
|
29453
30178
|
var _useState3 = useState(false),
|
|
29454
30179
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -30217,8 +30942,8 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
30217
30942
|
}))))))));
|
|
30218
30943
|
};
|
|
30219
30944
|
|
|
30220
|
-
function ownKeys$
|
|
30221
|
-
function _objectSpread$
|
|
30945
|
+
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; }
|
|
30946
|
+
function _objectSpread$1M(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1M(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1M(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
30222
30947
|
var Modernheader = function Modernheader(props) {
|
|
30223
30948
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
30224
30949
|
var _useState = useState(''),
|
|
@@ -30263,7 +30988,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
30263
30988
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
30264
30989
|
});
|
|
30265
30990
|
}
|
|
30266
|
-
setsectionproperties(_objectSpread$
|
|
30991
|
+
setsectionproperties(_objectSpread$1M({}, secpropobj));
|
|
30267
30992
|
}, [StatePagePropertiesContext]);
|
|
30268
30993
|
useEffect(function () {
|
|
30269
30994
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -30912,8 +31637,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
30912
31637
|
}));
|
|
30913
31638
|
};
|
|
30914
31639
|
|
|
30915
|
-
function ownKeys$
|
|
30916
|
-
function _objectSpread$
|
|
31640
|
+
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; }
|
|
31641
|
+
function _objectSpread$1L(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1L(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1L(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
30917
31642
|
var SearchCenteredHeader = function SearchCenteredHeader(props) {
|
|
30918
31643
|
var _fetchcustomercartQue2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
|
|
30919
31644
|
var _useState = useState(''),
|
|
@@ -30951,7 +31676,7 @@ var SearchCenteredHeader = function SearchCenteredHeader(props) {
|
|
|
30951
31676
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
30952
31677
|
});
|
|
30953
31678
|
}
|
|
30954
|
-
setsectionproperties(_objectSpread$
|
|
31679
|
+
setsectionproperties(_objectSpread$1L({}, secpropobj));
|
|
30955
31680
|
}, [StatePagePropertiesContext]);
|
|
30956
31681
|
var _useState3 = useState([]),
|
|
30957
31682
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -31584,8 +32309,8 @@ var css_248z$s = ".stylishheader-module_headercontainer__FUgDo {\n display: fle
|
|
|
31584
32309
|
var headerstyles$6 = {"headercontainer":"stylishheader-module_headercontainer__FUgDo","navbar":"stylishheader-module_navbar__IX59y","badge_counter_header_notifications":"stylishheader-module_badge_counter_header_notifications__9G0T4"};
|
|
31585
32310
|
styleInject(css_248z$s);
|
|
31586
32311
|
|
|
31587
|
-
function ownKeys$
|
|
31588
|
-
function _objectSpread$
|
|
32312
|
+
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; }
|
|
32313
|
+
function _objectSpread$1K(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1K(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1K(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
31589
32314
|
var StylishHeader = function StylishHeader(props) {
|
|
31590
32315
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _logoarrayofobjects$3, _logoarrayofobjects$4, _logoarrayofobjects$5, _logoarrayofobjects$6;
|
|
31591
32316
|
var _useState = useState(''),
|
|
@@ -31626,7 +32351,7 @@ var StylishHeader = function StylishHeader(props) {
|
|
|
31626
32351
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
31627
32352
|
});
|
|
31628
32353
|
}
|
|
31629
|
-
setsectionproperties(_objectSpread$
|
|
32354
|
+
setsectionproperties(_objectSpread$1K({}, secpropobj));
|
|
31630
32355
|
}, [StatePagePropertiesContext]);
|
|
31631
32356
|
var _useState5 = useState([]),
|
|
31632
32357
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
@@ -32377,8 +33102,8 @@ var css_248z$r = ".threetieredheader-module_lowerHeaderContainer__hl0gc {\n d
|
|
|
32377
33102
|
var headerstyles$5 = {"lowerHeaderContainer":"threetieredheader-module_lowerHeaderContainer__hl0gc","navbar":"threetieredheader-module_navbar__Le5Kz","navbar_item":"threetieredheader-module_navbar_item__9VQR-","navbar_item_text":"threetieredheader-module_navbar_item_text__G7M4B","navbar_item_active":"threetieredheader-module_navbar_item_active__qGXP2","badge_counter_header_notifications":"threetieredheader-module_badge_counter_header_notifications__fmXNP","searchbar":"threetieredheader-module_searchbar__CMeCp","searchbaractive":"threetieredheader-module_searchbaractive__jQeUr"};
|
|
32378
33103
|
styleInject(css_248z$r);
|
|
32379
33104
|
|
|
32380
|
-
function ownKeys$
|
|
32381
|
-
function _objectSpread$
|
|
33105
|
+
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; }
|
|
33106
|
+
function _objectSpread$1J(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1J(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1J(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
32382
33107
|
var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
32383
33108
|
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$c, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
32384
33109
|
var actions = props.actions;
|
|
@@ -32416,7 +33141,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
32416
33141
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
32417
33142
|
});
|
|
32418
33143
|
}
|
|
32419
|
-
setsectionproperties(_objectSpread$
|
|
33144
|
+
setsectionproperties(_objectSpread$1J({}, secpropobj));
|
|
32420
33145
|
}, [StatePagePropertiesContext]);
|
|
32421
33146
|
var _useState3 = useState([]),
|
|
32422
33147
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -33247,8 +33972,8 @@ var css_248z$q = ".SearchFocusedHeader-module_headerMiddleContainer__P6xTy {\n
|
|
|
33247
33972
|
var headerstyles$4 = {"headerMiddleContainer":"SearchFocusedHeader-module_headerMiddleContainer__P6xTy","navbar":"SearchFocusedHeader-module_navbar__S8cPA","navbar_item":"SearchFocusedHeader-module_navbar_item__0oxbl","badge_counter_header_notifications":"SearchFocusedHeader-module_badge_counter_header_notifications__2qUaH","searchbar":"SearchFocusedHeader-module_searchbar__uJotQ","searchbaractive":"SearchFocusedHeader-module_searchbaractive__eZgrZ"};
|
|
33248
33973
|
styleInject(css_248z$q);
|
|
33249
33974
|
|
|
33250
|
-
function ownKeys$
|
|
33251
|
-
function _objectSpread$
|
|
33975
|
+
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; }
|
|
33976
|
+
function _objectSpread$1I(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1I(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1I(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
33252
33977
|
var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
33253
33978
|
var _css, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$i13, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i14, _authdetailsContext$i16;
|
|
33254
33979
|
var lang = props.actions.lang;
|
|
@@ -33315,7 +34040,7 @@ var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
|
33315
34040
|
});
|
|
33316
34041
|
}
|
|
33317
34042
|
}
|
|
33318
|
-
setsectionproperties(_objectSpread$
|
|
34043
|
+
setsectionproperties(_objectSpread$1I({}, secpropobj));
|
|
33319
34044
|
}, [StatePagePropertiesContext]);
|
|
33320
34045
|
var ButtonDropdown = function ButtonDropdown(item, index, fetchedarray) {
|
|
33321
34046
|
var _fetchedarray$Choosen, _fetchedarray$Choosen2, _pcollarray$Choosenin, _pcollarray$Choosenin2;
|
|
@@ -34241,8 +34966,8 @@ var css_248z$p = ".HeaderWithUtilityBar-module_headerMiddleContainer__5fNQX {\n
|
|
|
34241
34966
|
var headerstyles$3 = {"headerMiddleContainer":"HeaderWithUtilityBar-module_headerMiddleContainer__5fNQX","navbar_item":"HeaderWithUtilityBar-module_navbar_item__VR64E","badge_counter_header_notifications":"HeaderWithUtilityBar-module_badge_counter_header_notifications__-I6Pm","searchbar":"HeaderWithUtilityBar-module_searchbar__3rwMD","searchbaractive":"HeaderWithUtilityBar-module_searchbaractive__3gHHs"};
|
|
34242
34967
|
styleInject(css_248z$p);
|
|
34243
34968
|
|
|
34244
|
-
function ownKeys$
|
|
34245
|
-
function _objectSpread$
|
|
34969
|
+
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; }
|
|
34970
|
+
function _objectSpread$1H(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1H(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1H(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
34246
34971
|
var HeaderWithUtilityBar = function HeaderWithUtilityBar(props) {
|
|
34247
34972
|
var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2;
|
|
34248
34973
|
var lang = props.actions.lang;
|
|
@@ -34286,7 +35011,7 @@ var HeaderWithUtilityBar = function HeaderWithUtilityBar(props) {
|
|
|
34286
35011
|
});
|
|
34287
35012
|
}
|
|
34288
35013
|
}
|
|
34289
|
-
setsectionproperties(_objectSpread$
|
|
35014
|
+
setsectionproperties(_objectSpread$1H({}, secpropobj));
|
|
34290
35015
|
}, [StatePagePropertiesContext]);
|
|
34291
35016
|
var _useState5 = useState([]),
|
|
34292
35017
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
@@ -35018,8 +35743,8 @@ var css_248z$o = ".HeaderWithAdSlider-module_nav__item__lmbKL {\n width: 100%
|
|
|
35018
35743
|
var headerstyles$2 = {"nav__item":"HeaderWithAdSlider-module_nav__item__lmbKL","link":"HeaderWithAdSlider-module_link__9hhKh","badge_counter_header_notifications":"HeaderWithAdSlider-module_badge_counter_header_notifications__Shv1O","searchbar":"HeaderWithAdSlider-module_searchbar__Dqa-y","searchbaractive":"HeaderWithAdSlider-module_searchbaractive__c7gv6"};
|
|
35019
35744
|
styleInject(css_248z$o);
|
|
35020
35745
|
|
|
35021
|
-
function ownKeys$
|
|
35022
|
-
function _objectSpread$
|
|
35746
|
+
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; }
|
|
35747
|
+
function _objectSpread$1G(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1G(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1G(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
35023
35748
|
var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
35024
35749
|
var _css, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35025
35750
|
var _useState = useState(''),
|
|
@@ -35057,7 +35782,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
35057
35782
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
35058
35783
|
});
|
|
35059
35784
|
}
|
|
35060
|
-
setsectionproperties(_objectSpread$
|
|
35785
|
+
setsectionproperties(_objectSpread$1G({}, secpropobj));
|
|
35061
35786
|
}, [StatePagePropertiesContext]);
|
|
35062
35787
|
var _useState3 = useState([]),
|
|
35063
35788
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -35785,8 +36510,8 @@ var css_248z$n = ".HeaderWithSearchOnCenter-module_headercontainer__hEPeK {\n
|
|
|
35785
36510
|
var headerstyles$1 = {"headercontainer":"HeaderWithSearchOnCenter-module_headercontainer__hEPeK","navbar":"HeaderWithSearchOnCenter-module_navbar__4UEjw","header_cart":"HeaderWithSearchOnCenter-module_header_cart__3m4dH","header_badge":"HeaderWithSearchOnCenter-module_header_badge__TeMF5","nav__item":"HeaderWithSearchOnCenter-module_nav__item__xRxTI","link":"HeaderWithSearchOnCenter-module_link__wYKus","badge_counter_header_notifications":"HeaderWithSearchOnCenter-module_badge_counter_header_notifications__GXHqw","searchbar":"HeaderWithSearchOnCenter-module_searchbar__H6b-F","searchbaractive":"HeaderWithSearchOnCenter-module_searchbaractive__yWggL"};
|
|
35786
36511
|
styleInject(css_248z$n);
|
|
35787
36512
|
|
|
35788
|
-
function ownKeys$
|
|
35789
|
-
function _objectSpread$
|
|
36513
|
+
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; }
|
|
36514
|
+
function _objectSpread$1F(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1F(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1F(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
35790
36515
|
var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
35791
36516
|
var _css, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35792
36517
|
var _useState = useState(''),
|
|
@@ -35823,7 +36548,7 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
|
35823
36548
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
35824
36549
|
});
|
|
35825
36550
|
}
|
|
35826
|
-
setsectionproperties(_objectSpread$
|
|
36551
|
+
setsectionproperties(_objectSpread$1F({}, secpropobj));
|
|
35827
36552
|
}, [StatePagePropertiesContext]);
|
|
35828
36553
|
var _useState3 = useState([]),
|
|
35829
36554
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -36430,8 +37155,8 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
|
36430
37155
|
}));
|
|
36431
37156
|
};
|
|
36432
37157
|
|
|
36433
|
-
function ownKeys$
|
|
36434
|
-
function _objectSpread$
|
|
37158
|
+
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; }
|
|
37159
|
+
function _objectSpread$1E(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1E(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1E(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
36435
37160
|
var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
36436
37161
|
var _css, _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$c5, _fetchcustomercartQue3, _fetchcustomercartQue4;
|
|
36437
37162
|
var lang = props.actions.lang;
|
|
@@ -36479,7 +37204,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
36479
37204
|
});
|
|
36480
37205
|
}
|
|
36481
37206
|
}
|
|
36482
|
-
setsectionproperties(_objectSpread$
|
|
37207
|
+
setsectionproperties(_objectSpread$1E({}, secpropobj));
|
|
36483
37208
|
}, [StatePagePropertiesContext]);
|
|
36484
37209
|
useEffect(function () {
|
|
36485
37210
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -37408,8 +38133,8 @@ var css_248z$m = ".NewHeader-module_headercontainer__qY3Tj {\n position: abso
|
|
|
37408
38133
|
var headerstyles = {"headercontainer":"NewHeader-module_headercontainer__qY3Tj","navbar":"NewHeader-module_navbar__kLzIy","header_cart":"NewHeader-module_header_cart__wRj2v","header_badge":"NewHeader-module_header_badge__Et-AS","nav__item":"NewHeader-module_nav__item__jRv-r","link":"NewHeader-module_link__4ixBg","badge_counter_header_notifications":"NewHeader-module_badge_counter_header_notifications__GpVQI","searchbar":"NewHeader-module_searchbar__1aYXU","searchbaractive":"NewHeader-module_searchbaractive__Uv--y"};
|
|
37409
38134
|
styleInject(css_248z$m);
|
|
37410
38135
|
|
|
37411
|
-
function ownKeys$
|
|
37412
|
-
function _objectSpread$
|
|
38136
|
+
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; }
|
|
38137
|
+
function _objectSpread$1D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1D(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
37413
38138
|
var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(props) {
|
|
37414
38139
|
var _textarray$, _textarray$2, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
37415
38140
|
var _useState = useState(''),
|
|
@@ -37450,7 +38175,7 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
37450
38175
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
37451
38176
|
});
|
|
37452
38177
|
}
|
|
37453
|
-
setsectionproperties(_objectSpread$
|
|
38178
|
+
setsectionproperties(_objectSpread$1D({}, secpropobj));
|
|
37454
38179
|
}, [StatePagePropertiesContext]);
|
|
37455
38180
|
var _useState5 = useState([]),
|
|
37456
38181
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
@@ -38226,8 +38951,8 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
38226
38951
|
}));
|
|
38227
38952
|
};
|
|
38228
38953
|
|
|
38229
|
-
function ownKeys$
|
|
38230
|
-
function _objectSpread$
|
|
38954
|
+
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; }
|
|
38955
|
+
function _objectSpread$1C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
38231
38956
|
var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props) {
|
|
38232
38957
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
38233
38958
|
var _useState = useState(''),
|
|
@@ -38277,7 +39002,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
38277
39002
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
38278
39003
|
});
|
|
38279
39004
|
}
|
|
38280
|
-
setsectionproperties(_objectSpread$
|
|
39005
|
+
setsectionproperties(_objectSpread$1C({}, secpropobj));
|
|
38281
39006
|
}, [StatePagePropertiesContext]);
|
|
38282
39007
|
useEffect(function () {
|
|
38283
39008
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -38951,8 +39676,8 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
38951
39676
|
}));
|
|
38952
39677
|
};
|
|
38953
39678
|
|
|
38954
|
-
function ownKeys$
|
|
38955
|
-
function _objectSpread$
|
|
39679
|
+
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; }
|
|
39680
|
+
function _objectSpread$1B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1B(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
38956
39681
|
var Allinonefooter = function Allinonefooter(props) {
|
|
38957
39682
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i5, _templatepropcontext$, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14;
|
|
38958
39683
|
var _useState = useState(''),
|
|
@@ -38979,7 +39704,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
38979
39704
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
38980
39705
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
38981
39706
|
});
|
|
38982
|
-
setsectionproperties(_objectSpread$
|
|
39707
|
+
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
38983
39708
|
} else {
|
|
38984
39709
|
var secpropobj = {};
|
|
38985
39710
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -38989,7 +39714,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
38989
39714
|
});
|
|
38990
39715
|
}
|
|
38991
39716
|
});
|
|
38992
|
-
setsectionproperties(_objectSpread$
|
|
39717
|
+
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
38993
39718
|
}
|
|
38994
39719
|
}, [StatePagePropertiesContext]);
|
|
38995
39720
|
var footerStyles = {
|
|
@@ -39445,8 +40170,8 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
39445
40170
|
}))))));
|
|
39446
40171
|
};
|
|
39447
40172
|
|
|
39448
|
-
function ownKeys$
|
|
39449
|
-
function _objectSpread$
|
|
40173
|
+
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; }
|
|
40174
|
+
function _objectSpread$1A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1A(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
39450
40175
|
var Footer1 = function Footer1(props) {
|
|
39451
40176
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i12, _authdetailsContext$i13;
|
|
39452
40177
|
var _useState = useState(''),
|
|
@@ -39473,7 +40198,7 @@ var Footer1 = function Footer1(props) {
|
|
|
39473
40198
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
39474
40199
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
39475
40200
|
});
|
|
39476
|
-
setsectionproperties(_objectSpread$
|
|
40201
|
+
setsectionproperties(_objectSpread$1A({}, secpropobj));
|
|
39477
40202
|
} else {
|
|
39478
40203
|
var secpropobj = {};
|
|
39479
40204
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -39483,7 +40208,7 @@ var Footer1 = function Footer1(props) {
|
|
|
39483
40208
|
});
|
|
39484
40209
|
}
|
|
39485
40210
|
});
|
|
39486
|
-
setsectionproperties(_objectSpread$
|
|
40211
|
+
setsectionproperties(_objectSpread$1A({}, secpropobj));
|
|
39487
40212
|
}
|
|
39488
40213
|
}, [StatePagePropertiesContext]);
|
|
39489
40214
|
useEffect(function () {
|
|
@@ -39901,8 +40626,8 @@ var Footer1 = function Footer1(props) {
|
|
|
39901
40626
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.address_en)))))));
|
|
39902
40627
|
};
|
|
39903
40628
|
|
|
39904
|
-
function ownKeys$
|
|
39905
|
-
function _objectSpread$
|
|
40629
|
+
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; }
|
|
40630
|
+
function _objectSpread$1z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
39906
40631
|
var Footer2 = function Footer2(props) {
|
|
39907
40632
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i18, _authdetailsContext$i19;
|
|
39908
40633
|
var _useState = useState(''),
|
|
@@ -39932,7 +40657,7 @@ var Footer2 = function Footer2(props) {
|
|
|
39932
40657
|
});
|
|
39933
40658
|
}
|
|
39934
40659
|
});
|
|
39935
|
-
setsectionproperties(_objectSpread$
|
|
40660
|
+
setsectionproperties(_objectSpread$1z({}, secpropobj));
|
|
39936
40661
|
}, [StatePagePropertiesContext]);
|
|
39937
40662
|
useEffect(function () {
|
|
39938
40663
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -40290,8 +41015,8 @@ var Footer2 = function Footer2(props) {
|
|
|
40290
41015
|
})))));
|
|
40291
41016
|
};
|
|
40292
41017
|
|
|
40293
|
-
function ownKeys$
|
|
40294
|
-
function _objectSpread$
|
|
41018
|
+
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; }
|
|
41019
|
+
function _objectSpread$1y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1y(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
40295
41020
|
var Footer3 = function Footer3(props) {
|
|
40296
41021
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
40297
41022
|
var _useState = useState(''),
|
|
@@ -40318,7 +41043,7 @@ var Footer3 = function Footer3(props) {
|
|
|
40318
41043
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
40319
41044
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
40320
41045
|
});
|
|
40321
|
-
setsectionproperties(_objectSpread$
|
|
41046
|
+
setsectionproperties(_objectSpread$1y({}, secpropobj));
|
|
40322
41047
|
} else {
|
|
40323
41048
|
var secpropobj = {};
|
|
40324
41049
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -40328,7 +41053,7 @@ var Footer3 = function Footer3(props) {
|
|
|
40328
41053
|
});
|
|
40329
41054
|
}
|
|
40330
41055
|
});
|
|
40331
|
-
setsectionproperties(_objectSpread$
|
|
41056
|
+
setsectionproperties(_objectSpread$1y({}, secpropobj));
|
|
40332
41057
|
}
|
|
40333
41058
|
}, [StatePagePropertiesContext]);
|
|
40334
41059
|
useEffect(function () {
|
|
@@ -40642,8 +41367,8 @@ var Footer3 = function Footer3(props) {
|
|
|
40642
41367
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.address_en)))))));
|
|
40643
41368
|
};
|
|
40644
41369
|
|
|
40645
|
-
function ownKeys$
|
|
40646
|
-
function _objectSpread$
|
|
41370
|
+
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; }
|
|
41371
|
+
function _objectSpread$1x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1x(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
40647
41372
|
var Footer4 = function Footer4(props) {
|
|
40648
41373
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i15;
|
|
40649
41374
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -40666,7 +41391,7 @@ var Footer4 = function Footer4(props) {
|
|
|
40666
41391
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
40667
41392
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
40668
41393
|
});
|
|
40669
|
-
setsectionproperties(_objectSpread$
|
|
41394
|
+
setsectionproperties(_objectSpread$1x({}, secpropobj));
|
|
40670
41395
|
} else {
|
|
40671
41396
|
var secpropobj = {};
|
|
40672
41397
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -40676,7 +41401,7 @@ var Footer4 = function Footer4(props) {
|
|
|
40676
41401
|
});
|
|
40677
41402
|
}
|
|
40678
41403
|
});
|
|
40679
|
-
setsectionproperties(_objectSpread$
|
|
41404
|
+
setsectionproperties(_objectSpread$1x({}, secpropobj));
|
|
40680
41405
|
}
|
|
40681
41406
|
}, [StatePagePropertiesContext]);
|
|
40682
41407
|
var footerStyles = {
|
|
@@ -41061,8 +41786,8 @@ var Footer4 = function Footer4(props) {
|
|
|
41061
41786
|
}))))))));
|
|
41062
41787
|
};
|
|
41063
41788
|
|
|
41064
|
-
function ownKeys$
|
|
41065
|
-
function _objectSpread$
|
|
41789
|
+
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; }
|
|
41790
|
+
function _objectSpread$1w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1w(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41066
41791
|
var Footer5 = function Footer5(props) {
|
|
41067
41792
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i20, _authdetailsContext$i22;
|
|
41068
41793
|
var _useState = useState(''),
|
|
@@ -41092,7 +41817,7 @@ var Footer5 = function Footer5(props) {
|
|
|
41092
41817
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
41093
41818
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41094
41819
|
});
|
|
41095
|
-
setsectionproperties(_objectSpread$
|
|
41820
|
+
setsectionproperties(_objectSpread$1w({}, secpropobj));
|
|
41096
41821
|
} else {
|
|
41097
41822
|
var secpropobj = {};
|
|
41098
41823
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41102,7 +41827,7 @@ var Footer5 = function Footer5(props) {
|
|
|
41102
41827
|
});
|
|
41103
41828
|
}
|
|
41104
41829
|
});
|
|
41105
|
-
setsectionproperties(_objectSpread$
|
|
41830
|
+
setsectionproperties(_objectSpread$1w({}, secpropobj));
|
|
41106
41831
|
}
|
|
41107
41832
|
}, [StatePagePropertiesContext]);
|
|
41108
41833
|
useEffect(function () {
|
|
@@ -41590,8 +42315,8 @@ var Footer5 = function Footer5(props) {
|
|
|
41590
42315
|
}))))))));
|
|
41591
42316
|
};
|
|
41592
42317
|
|
|
41593
|
-
function ownKeys$
|
|
41594
|
-
function _objectSpread$
|
|
42318
|
+
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; }
|
|
42319
|
+
function _objectSpread$1v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1v(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41595
42320
|
var Footer6 = function Footer6(props) {
|
|
41596
42321
|
var _authdetailsContext$i2, _authdetailsContext$i3;
|
|
41597
42322
|
var _useState = useState(''),
|
|
@@ -41622,7 +42347,7 @@ var Footer6 = function Footer6(props) {
|
|
|
41622
42347
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
41623
42348
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41624
42349
|
});
|
|
41625
|
-
setsectionproperties(_objectSpread$
|
|
42350
|
+
setsectionproperties(_objectSpread$1v({}, secpropobj));
|
|
41626
42351
|
} else {
|
|
41627
42352
|
var secpropobj = {};
|
|
41628
42353
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41632,7 +42357,7 @@ var Footer6 = function Footer6(props) {
|
|
|
41632
42357
|
});
|
|
41633
42358
|
}
|
|
41634
42359
|
});
|
|
41635
|
-
setsectionproperties(_objectSpread$
|
|
42360
|
+
setsectionproperties(_objectSpread$1v({}, secpropobj));
|
|
41636
42361
|
}
|
|
41637
42362
|
}, [StatePagePropertiesContext]);
|
|
41638
42363
|
useEffect(function () {
|
|
@@ -41869,8 +42594,8 @@ var Footer6 = function Footer6(props) {
|
|
|
41869
42594
|
}))));
|
|
41870
42595
|
};
|
|
41871
42596
|
|
|
41872
|
-
function ownKeys$
|
|
41873
|
-
function _objectSpread$
|
|
42597
|
+
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; }
|
|
42598
|
+
function _objectSpread$1u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1u(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41874
42599
|
var Footer7 = function Footer7(props) {
|
|
41875
42600
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i9;
|
|
41876
42601
|
var _useState = useState(''),
|
|
@@ -41901,7 +42626,7 @@ var Footer7 = function Footer7(props) {
|
|
|
41901
42626
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
41902
42627
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41903
42628
|
});
|
|
41904
|
-
setsectionproperties(_objectSpread$
|
|
42629
|
+
setsectionproperties(_objectSpread$1u({}, secpropobj));
|
|
41905
42630
|
} else {
|
|
41906
42631
|
var secpropobj = {};
|
|
41907
42632
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41911,7 +42636,7 @@ var Footer7 = function Footer7(props) {
|
|
|
41911
42636
|
});
|
|
41912
42637
|
}
|
|
41913
42638
|
});
|
|
41914
|
-
setsectionproperties(_objectSpread$
|
|
42639
|
+
setsectionproperties(_objectSpread$1u({}, secpropobj));
|
|
41915
42640
|
}
|
|
41916
42641
|
}, [StatePagePropertiesContext]);
|
|
41917
42642
|
useEffect(function () {
|
|
@@ -42269,8 +42994,8 @@ var Footer7 = function Footer7(props) {
|
|
|
42269
42994
|
}))))));
|
|
42270
42995
|
};
|
|
42271
42996
|
|
|
42272
|
-
function ownKeys$
|
|
42273
|
-
function _objectSpread$
|
|
42997
|
+
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; }
|
|
42998
|
+
function _objectSpread$1t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1t(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
42274
42999
|
var Footer8 = function Footer8(props) {
|
|
42275
43000
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _templatepropcontext$;
|
|
42276
43001
|
var _useState = useState(''),
|
|
@@ -42297,7 +43022,7 @@ var Footer8 = function Footer8(props) {
|
|
|
42297
43022
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
42298
43023
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
42299
43024
|
});
|
|
42300
|
-
setsectionproperties(_objectSpread$
|
|
43025
|
+
setsectionproperties(_objectSpread$1t({}, secpropobj));
|
|
42301
43026
|
} else {
|
|
42302
43027
|
var secpropobj = {};
|
|
42303
43028
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -42307,7 +43032,7 @@ var Footer8 = function Footer8(props) {
|
|
|
42307
43032
|
});
|
|
42308
43033
|
}
|
|
42309
43034
|
});
|
|
42310
|
-
setsectionproperties(_objectSpread$
|
|
43035
|
+
setsectionproperties(_objectSpread$1t({}, secpropobj));
|
|
42311
43036
|
}
|
|
42312
43037
|
}, [StatePagePropertiesContext]);
|
|
42313
43038
|
var footerStyles = {
|
|
@@ -42685,8 +43410,8 @@ var Footer8 = function Footer8(props) {
|
|
|
42685
43410
|
}, lang.orderhistory)))))));
|
|
42686
43411
|
};
|
|
42687
43412
|
|
|
42688
|
-
function ownKeys$
|
|
42689
|
-
function _objectSpread$
|
|
43413
|
+
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; }
|
|
43414
|
+
function _objectSpread$1s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1s(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
42690
43415
|
var Simplefooter = function Simplefooter(props) {
|
|
42691
43416
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i9;
|
|
42692
43417
|
var _useState = useState(''),
|
|
@@ -42713,7 +43438,7 @@ var Simplefooter = function Simplefooter(props) {
|
|
|
42713
43438
|
});
|
|
42714
43439
|
}
|
|
42715
43440
|
});
|
|
42716
|
-
setsectionproperties(_objectSpread$
|
|
43441
|
+
setsectionproperties(_objectSpread$1s({}, secpropobj));
|
|
42717
43442
|
}, [StatePagePropertiesContext]);
|
|
42718
43443
|
useEffect(function () {
|
|
42719
43444
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -42980,8 +43705,8 @@ var Simplefooter = function Simplefooter(props) {
|
|
|
42980
43705
|
})));
|
|
42981
43706
|
};
|
|
42982
43707
|
|
|
42983
|
-
function ownKeys$
|
|
42984
|
-
function _objectSpread$
|
|
43708
|
+
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; }
|
|
43709
|
+
function _objectSpread$1r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1r(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
42985
43710
|
var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
42986
43711
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
42987
43712
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -43004,7 +43729,7 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
43004
43729
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
43005
43730
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
43006
43731
|
});
|
|
43007
|
-
setsectionproperties(_objectSpread$
|
|
43732
|
+
setsectionproperties(_objectSpread$1r({}, secpropobj));
|
|
43008
43733
|
} else {
|
|
43009
43734
|
var secpropobj = {};
|
|
43010
43735
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -43014,7 +43739,7 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
43014
43739
|
});
|
|
43015
43740
|
}
|
|
43016
43741
|
});
|
|
43017
|
-
setsectionproperties(_objectSpread$
|
|
43742
|
+
setsectionproperties(_objectSpread$1r({}, secpropobj));
|
|
43018
43743
|
}
|
|
43019
43744
|
}, [StatePagePropertiesContext]);
|
|
43020
43745
|
var _useState3 = useState([]),
|
|
@@ -43292,8 +44017,8 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
43292
44017
|
}, "@ ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.storename_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.storename_ar))));
|
|
43293
44018
|
};
|
|
43294
44019
|
|
|
43295
|
-
function ownKeys$
|
|
43296
|
-
function _objectSpread$
|
|
44020
|
+
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; }
|
|
44021
|
+
function _objectSpread$1q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
43297
44022
|
var ModernFooter = function ModernFooter(props) {
|
|
43298
44023
|
var _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23;
|
|
43299
44024
|
var _useState = useState(''),
|
|
@@ -43319,7 +44044,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
43319
44044
|
});
|
|
43320
44045
|
}
|
|
43321
44046
|
});
|
|
43322
|
-
setsectionproperties(_objectSpread$
|
|
44047
|
+
setsectionproperties(_objectSpread$1q({}, secpropobj));
|
|
43323
44048
|
}, [StatePagePropertiesContext]);
|
|
43324
44049
|
var footerStyles = {
|
|
43325
44050
|
footerContainer: css({
|
|
@@ -43770,8 +44495,8 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
43770
44495
|
})))))));
|
|
43771
44496
|
};
|
|
43772
44497
|
|
|
43773
|
-
function ownKeys$
|
|
43774
|
-
function _objectSpread$
|
|
44498
|
+
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; }
|
|
44499
|
+
function _objectSpread$1p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1p(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
43775
44500
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
43776
44501
|
var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
|
|
43777
44502
|
var _useState = useState(''),
|
|
@@ -43801,7 +44526,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
43801
44526
|
});
|
|
43802
44527
|
}
|
|
43803
44528
|
});
|
|
43804
|
-
setsectionproperties(_objectSpread$
|
|
44529
|
+
setsectionproperties(_objectSpread$1p({}, secpropobj));
|
|
43805
44530
|
}, [StatePagePropertiesContext]);
|
|
43806
44531
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
43807
44532
|
var _authdetailsContext$i;
|
|
@@ -44361,6 +45086,254 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
44361
45086
|
}, StoreInformation()))));
|
|
44362
45087
|
};
|
|
44363
45088
|
|
|
45089
|
+
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; }
|
|
45090
|
+
function _objectSpread$1o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1o(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
45091
|
+
var Newsletterincenter = function Newsletterincenter(props) {
|
|
45092
|
+
var _css, _footerStyles;
|
|
45093
|
+
var _useState = useState(''),
|
|
45094
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
45095
|
+
sectionproperties = _useState2[0],
|
|
45096
|
+
setsectionproperties = _useState2[1];
|
|
45097
|
+
var _useState3 = useState([]),
|
|
45098
|
+
_useState4 = _slicedToArray(_useState3, 2);
|
|
45099
|
+
_useState4[0];
|
|
45100
|
+
var setlogoarrayofobjects = _useState4[1];
|
|
45101
|
+
props.actions.history;
|
|
45102
|
+
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
45103
|
+
props.actions.lang;
|
|
45104
|
+
var langdetect = props.actions.langdetect;
|
|
45105
|
+
var routingcountext = props.actions.routingcountext;
|
|
45106
|
+
props.actions.StaticPagesLinksContext;
|
|
45107
|
+
props.actions.authdetailsContext;
|
|
45108
|
+
var templateproperties_context = props.actions.templateproperties_context;
|
|
45109
|
+
var templatepropcontext = props.actions.templatepropcontext;
|
|
45110
|
+
props.actions.ikimagecredcontext;
|
|
45111
|
+
useEffect(function () {
|
|
45112
|
+
var secpropobj = {};
|
|
45113
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
45114
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
45115
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
45116
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
45117
|
+
});
|
|
45118
|
+
}
|
|
45119
|
+
});
|
|
45120
|
+
setsectionproperties(_objectSpread$1o({}, secpropobj));
|
|
45121
|
+
}, [StatePagePropertiesContext]);
|
|
45122
|
+
var footerStyles = (_footerStyles = {
|
|
45123
|
+
divider: css({
|
|
45124
|
+
height: '1px',
|
|
45125
|
+
width: '100%',
|
|
45126
|
+
backgroundColor: sectionproperties.vl_bg
|
|
45127
|
+
}),
|
|
45128
|
+
payimgcont: css({
|
|
45129
|
+
marginLeft: '10px',
|
|
45130
|
+
marginRight: '10px'
|
|
45131
|
+
}),
|
|
45132
|
+
payimg: css({
|
|
45133
|
+
width: '100%',
|
|
45134
|
+
height: '100%',
|
|
45135
|
+
objectFit: 'contain'
|
|
45136
|
+
}),
|
|
45137
|
+
footerContainer: css({
|
|
45138
|
+
background: sectionproperties.footerbgcolor,
|
|
45139
|
+
paddingTop: sectionproperties.footerpaddingvertical + 'px',
|
|
45140
|
+
paddingLeft: sectionproperties.footerpaddinghorizontal + 'px',
|
|
45141
|
+
paddingRight: sectionproperties.footerpaddinghorizontal + 'px',
|
|
45142
|
+
paddingBottom: sectionproperties.footerpaddingvertical + 'px',
|
|
45143
|
+
width: '100vw'
|
|
45144
|
+
}),
|
|
45145
|
+
footerlogo: css({
|
|
45146
|
+
width: sectionproperties.logo_width + 'px',
|
|
45147
|
+
height: sectionproperties.logo_height + 'px',
|
|
45148
|
+
position: 'relative'
|
|
45149
|
+
}),
|
|
45150
|
+
apptore: css({
|
|
45151
|
+
width: '100%',
|
|
45152
|
+
objectFit: 'contain'
|
|
45153
|
+
}),
|
|
45154
|
+
googleplay: css({
|
|
45155
|
+
width: '100%',
|
|
45156
|
+
objectFit: 'contain'
|
|
45157
|
+
}),
|
|
45158
|
+
textStyles: css({
|
|
45159
|
+
fontSize: sectionproperties.footerinfotext_fontsize + 'px',
|
|
45160
|
+
color: sectionproperties.footerinfotext_color,
|
|
45161
|
+
fontWeight: sectionproperties.footerinfotext_fontweight
|
|
45162
|
+
}),
|
|
45163
|
+
logoStyles: css({
|
|
45164
|
+
width: sectionproperties.logo_width + 'px',
|
|
45165
|
+
height: sectionproperties.logo_height + 'px'
|
|
45166
|
+
}),
|
|
45167
|
+
sectionTitle: css({
|
|
45168
|
+
color: sectionproperties.sectionTitleColor,
|
|
45169
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
45170
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
45171
|
+
}),
|
|
45172
|
+
subPages: css({
|
|
45173
|
+
textTransform: sectionproperties.footertexttransform,
|
|
45174
|
+
fontSize: sectionproperties.footerfontsize + 'px',
|
|
45175
|
+
fontWeight: sectionproperties.footerfontweight,
|
|
45176
|
+
color: sectionproperties.footertextcolor,
|
|
45177
|
+
cursor: 'pointer',
|
|
45178
|
+
transition: '.3s',
|
|
45179
|
+
':hover': {
|
|
45180
|
+
color: sectionproperties.footertextcoloronhover
|
|
45181
|
+
}
|
|
45182
|
+
}),
|
|
45183
|
+
facebook_btn: css({
|
|
45184
|
+
cursor: 'pointer',
|
|
45185
|
+
background: sectionproperties.facebkbtnnbgColor,
|
|
45186
|
+
width: sectionproperties.facebkbtnnWidth == 0 ? 'auto' : sectionproperties.facebkbtnnWidth + 'px',
|
|
45187
|
+
height: sectionproperties.facebkbtnnHeight == 0 ? 'auto' : sectionproperties.facebkbtnnHeight + 'px',
|
|
45188
|
+
borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
|
|
45189
|
+
color: sectionproperties.facebkbtnnTextcolor,
|
|
45190
|
+
border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
|
|
45191
|
+
transition: '.3s',
|
|
45192
|
+
':hover': {
|
|
45193
|
+
background: sectionproperties.facebkbtnnbgColoronhover,
|
|
45194
|
+
borderColor: sectionproperties.facebkbtnnTextcoloronhover,
|
|
45195
|
+
color: sectionproperties.facebkbtnnTextcoloronhover
|
|
45196
|
+
}
|
|
45197
|
+
}),
|
|
45198
|
+
youtube_btn: css({
|
|
45199
|
+
cursor: 'pointer',
|
|
45200
|
+
background: sectionproperties.youtubebtnbgColor,
|
|
45201
|
+
width: sectionproperties.youtubebtnWidth == 0 ? 'auto' : sectionproperties.youtubebtnWidth + 'px',
|
|
45202
|
+
height: sectionproperties.youtubebtnHeight == 0 ? 'auto' : sectionproperties.youtubebtnHeight + 'px',
|
|
45203
|
+
borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
|
|
45204
|
+
color: sectionproperties.youtubebtnTextcolor,
|
|
45205
|
+
border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
|
|
45206
|
+
transition: '.3s',
|
|
45207
|
+
':hover': {
|
|
45208
|
+
background: sectionproperties.youtubebtnbgColoronhover,
|
|
45209
|
+
borderColor: sectionproperties.youtubebtnTextcoloronhover,
|
|
45210
|
+
color: sectionproperties.youtubebtnTextcoloronhover
|
|
45211
|
+
}
|
|
45212
|
+
}),
|
|
45213
|
+
instgram_btn: css({
|
|
45214
|
+
cursor: 'pointer',
|
|
45215
|
+
background: sectionproperties.instgrambtnbgColor,
|
|
45216
|
+
width: sectionproperties.instgrambtnWidth == 0 ? 'auto' : sectionproperties.instgrambtnWidth + 'px',
|
|
45217
|
+
height: sectionproperties.instgrambtnHeight == 0 ? 'auto' : sectionproperties.instgrambtnHeight + 'px',
|
|
45218
|
+
borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
|
|
45219
|
+
color: sectionproperties.instgrambtnTextcolor,
|
|
45220
|
+
border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
|
|
45221
|
+
transition: '.3s',
|
|
45222
|
+
':hover': {
|
|
45223
|
+
background: sectionproperties.instgrambtnbgColoronhover,
|
|
45224
|
+
borderColor: sectionproperties.instgrambtnTextcoloronhover,
|
|
45225
|
+
color: sectionproperties.instgrambtnTextcoloronhover
|
|
45226
|
+
}
|
|
45227
|
+
}),
|
|
45228
|
+
subscribetitle: css({
|
|
45229
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
45230
|
+
color: sectionproperties.sectionTitleColor,
|
|
45231
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
45232
|
+
}),
|
|
45233
|
+
subscribedescription: css({
|
|
45234
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
45235
|
+
color: sectionproperties.prodCatColor,
|
|
45236
|
+
fontWeight: sectionproperties.prodCatFontWeight
|
|
45237
|
+
})
|
|
45238
|
+
}, _defineProperty(_footerStyles, "apptore", css({
|
|
45239
|
+
width: '35%',
|
|
45240
|
+
objectFit: 'contain',
|
|
45241
|
+
'@media (max-width: 800px)': {
|
|
45242
|
+
width: '30%'
|
|
45243
|
+
}
|
|
45244
|
+
})), _defineProperty(_footerStyles, "googleplay", css({
|
|
45245
|
+
width: '35%',
|
|
45246
|
+
objectFit: 'contain',
|
|
45247
|
+
'@media (max-width: 800px)': {
|
|
45248
|
+
width: '30%'
|
|
45249
|
+
}
|
|
45250
|
+
})), _defineProperty(_footerStyles, "form_control", css((_css = {
|
|
45251
|
+
position: 'relative',
|
|
45252
|
+
display: 'flex',
|
|
45253
|
+
alignItems: 'center'
|
|
45254
|
+
}, _defineProperty(_css, "display", 'block'), _defineProperty(_css, "width", '100%'), _defineProperty(_css, "height", '35px'), _defineProperty(_css, "padding", '0 10px 10px'), _defineProperty(_css, "transition", '.3s'), _defineProperty(_css, "fontWeight", 500), _defineProperty(_css, "borderBottom", ' 1 px solid #ccc'), _defineProperty(_css, "height", '40px'), _defineProperty(_css, "background", 'transparent'), _defineProperty(_css, "color", '#000'), _defineProperty(_css, ':focus', {
|
|
45255
|
+
// borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
45256
|
+
}), _css))), _footerStyles);
|
|
45257
|
+
useEffect(function () {
|
|
45258
|
+
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
45259
|
+
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
45260
|
+
if (Array.isArray(logoarrayofobjectsparsed)) {
|
|
45261
|
+
setlogoarrayofobjects(_toConsumableArray(logoarrayofobjectsparsed));
|
|
45262
|
+
}
|
|
45263
|
+
}
|
|
45264
|
+
}, [templateproperties_context]);
|
|
45265
|
+
var Newsletter = function Newsletter() {
|
|
45266
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
45267
|
+
"class": "row m-0 w-100"
|
|
45268
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
45269
|
+
"class": "col-lg-12 allcentered mb-3"
|
|
45270
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
45271
|
+
style: {
|
|
45272
|
+
fontSize: 20,
|
|
45273
|
+
fontWeight: 600
|
|
45274
|
+
}
|
|
45275
|
+
}, "STAY IN THE KNOW")), /*#__PURE__*/React.createElement("div", {
|
|
45276
|
+
"class": "col-lg-12 allcentered"
|
|
45277
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
45278
|
+
style: {
|
|
45279
|
+
fontSize: 15,
|
|
45280
|
+
fontWeight: 600
|
|
45281
|
+
}
|
|
45282
|
+
}, "Be the first one to receive new releases, special offers, and more")), /*#__PURE__*/React.createElement("div", {
|
|
45283
|
+
"class": "col-lg-12 allcentered"
|
|
45284
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
45285
|
+
type: "text",
|
|
45286
|
+
className: "".concat(footerStyles.form_control),
|
|
45287
|
+
value: '',
|
|
45288
|
+
placeholder: "your email",
|
|
45289
|
+
onChange: function onChange(event) {},
|
|
45290
|
+
style: {
|
|
45291
|
+
background: sectionproperties.input_bgcolor
|
|
45292
|
+
}
|
|
45293
|
+
})));
|
|
45294
|
+
};
|
|
45295
|
+
var Section1pages = function Section1pages() {
|
|
45296
|
+
var _templatepropcontext$;
|
|
45297
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
45298
|
+
"class": "col-lg-12 p-0 mt-md-3"
|
|
45299
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
45300
|
+
"class": "row m-0 w-100 d-flex justify-content-start align-items-center flex-column"
|
|
45301
|
+
}, templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
|
|
45302
|
+
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
45303
|
+
if (item.staticpageid != '650c3c37dd5bf' && item.staticpageid != '650c591955e81' && item.staticpageid != '650c5be1dfd5d' && item.staticpageid != '6505ad75b1cdb') {
|
|
45304
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
45305
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
45306
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
45307
|
+
onClick: function onClick() {
|
|
45308
|
+
routingcountext(item.navigationroute);
|
|
45309
|
+
}
|
|
45310
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
45311
|
+
"class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 ',
|
|
45312
|
+
style: {
|
|
45313
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
45314
|
+
}
|
|
45315
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar)));
|
|
45316
|
+
}
|
|
45317
|
+
}
|
|
45318
|
+
})));
|
|
45319
|
+
};
|
|
45320
|
+
return /*#__PURE__*/React.createElement("footer", {
|
|
45321
|
+
"class": "row m-0 w-100 justify-content-center"
|
|
45322
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
45323
|
+
style: {
|
|
45324
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
45325
|
+
paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
|
|
45326
|
+
},
|
|
45327
|
+
"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 '
|
|
45328
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
45329
|
+
"class": "row m-0 w-100"
|
|
45330
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
45331
|
+
"class": "col-lg-4 col-md-12 d-flex justify-content-center justify-content-md-start"
|
|
45332
|
+
}, Section1pages()), /*#__PURE__*/React.createElement("div", {
|
|
45333
|
+
"class": "col-lg-4 col-md-12 d-flex justify-content-center justify-content-md-start"
|
|
45334
|
+
}, Newsletter()))));
|
|
45335
|
+
};
|
|
45336
|
+
|
|
44364
45337
|
function ownKeys$1n(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
44365
45338
|
function _objectSpread$1n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1n(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
44366
45339
|
var CardsSection2 = function CardsSection2(props) {
|
|
@@ -61855,6 +62828,14 @@ var Card23 = function Card23(props) {
|
|
|
61855
62828
|
fontSize: sectionproperties.cashbackcontainerfontsize + 'px',
|
|
61856
62829
|
border: sectionproperties.cashbackcontainerborderwidth + 'px ' + sectionproperties.cashbackcontainerborderstyle + sectionproperties.cashbackcontainerbordercolor,
|
|
61857
62830
|
borderRadius: sectionproperties.cashbackcontainerborderradius + 'px'
|
|
62831
|
+
}),
|
|
62832
|
+
productcard: css({
|
|
62833
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
62834
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
62835
|
+
'@media (max-width: 800px)': {
|
|
62836
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
62837
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
62838
|
+
}
|
|
61858
62839
|
})
|
|
61859
62840
|
};
|
|
61860
62841
|
var plainString = function plainString(html) {
|
|
@@ -61989,11 +62970,30 @@ var Card23 = function Card23(props) {
|
|
|
61989
62970
|
AddtoCartContext(tempaddtocardpayloadobj);
|
|
61990
62971
|
};
|
|
61991
62972
|
return /*#__PURE__*/React.createElement("div", {
|
|
61992
|
-
"class":
|
|
62973
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(cardsstyles2.productcard) + ' w-100 px-md-1 ' : " ".concat(cardsstyles2.productcard),
|
|
61993
62974
|
style: {
|
|
61994
62975
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
61995
62976
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
61996
62977
|
}
|
|
62978
|
+
// class={
|
|
62979
|
+
// langdetect == 'en'
|
|
62980
|
+
// ? sectionproperties.card_marginLeft != 0
|
|
62981
|
+
// ? 'row m-0 w-100 pl-sm-2'
|
|
62982
|
+
// : sectionproperties.card_marginRight != 0
|
|
62983
|
+
// ? 'row m-0 w-100 pr-sm-2'
|
|
62984
|
+
// : 'row m-0 w-100'
|
|
62985
|
+
// : langdetect == 'en'
|
|
62986
|
+
// ? sectionproperties.card_marginRight != 0
|
|
62987
|
+
// ? 'row m-0 w-100 pr-sm-2'
|
|
62988
|
+
// : sectionproperties.card_marginLeft != 0
|
|
62989
|
+
// ? 'row m-0 w-100 pl-sm-2'
|
|
62990
|
+
// : 'row m-0 w-100'
|
|
62991
|
+
// : 'row m-0 w-100'
|
|
62992
|
+
// }
|
|
62993
|
+
// style={{
|
|
62994
|
+
// paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
62995
|
+
// paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
62996
|
+
// }}
|
|
61997
62997
|
}, /*#__PURE__*/React.createElement("div", {
|
|
61998
62998
|
"class": "".concat(cardsstyles2.card) + ' w-100 '
|
|
61999
62999
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -69396,7 +70396,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
69396
70396
|
})), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
69397
70397
|
"class": "col-lg-12 p-0 allcentered"
|
|
69398
70398
|
}, /*#__PURE__*/React.createElement("p", {
|
|
69399
|
-
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak text-center '
|
|
70399
|
+
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak text-center font-md-13 '
|
|
69400
70400
|
}, item.name)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
69401
70401
|
"class": "col-lg-12 p-0 allcentered"
|
|
69402
70402
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -71962,6 +72962,7 @@ var returnLibrary = function returnLibrary() {
|
|
|
71962
72962
|
FooterWithThreeColumns: FooterWithThreeColumns,
|
|
71963
72963
|
ModernFooter: ModernFooter,
|
|
71964
72964
|
Newsletterfooter: Newsletterfooter,
|
|
72965
|
+
Newsletterincenter: Newsletterincenter,
|
|
71965
72966
|
// Cards Sections (8)
|
|
71966
72967
|
CardsSection: CardsSection,
|
|
71967
72968
|
CardsSection2: CardsSection2,
|