tabexseriescomponents 0.0.421 → 0.0.422
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1335 -421
- package/dist/index.esm.js +1335 -421
- package/dist/index.umd.js +1335 -421
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -673,8 +673,8 @@ var Imagekitimagecomp = function Imagekitimagecomp(props) {
|
|
|
673
673
|
}));
|
|
674
674
|
};
|
|
675
675
|
|
|
676
|
-
function ownKeys$
|
|
677
|
-
function _objectSpread$
|
|
676
|
+
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; }
|
|
677
|
+
function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
678
678
|
var Login = function Login(props) {
|
|
679
679
|
var _css;
|
|
680
680
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -750,7 +750,7 @@ var Login = function Login(props) {
|
|
|
750
750
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
751
751
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
752
752
|
});
|
|
753
|
-
setsectionproperties(_objectSpread$
|
|
753
|
+
setsectionproperties(_objectSpread$2w({}, secpropobj));
|
|
754
754
|
}
|
|
755
755
|
}, [StatePagePropertiesContext]);
|
|
756
756
|
React.useEffect(function () {
|
|
@@ -917,9 +917,9 @@ var Login = function Login(props) {
|
|
|
917
917
|
className: "".concat(loginstyles2.form_control),
|
|
918
918
|
value: payloadobj.email,
|
|
919
919
|
onChange: function onChange(event) {
|
|
920
|
-
var temppayloadobj = _objectSpread$
|
|
920
|
+
var temppayloadobj = _objectSpread$2w({}, payloadobj);
|
|
921
921
|
temppayloadobj.email = event.target.value;
|
|
922
|
-
setpayloadobj(_objectSpread$
|
|
922
|
+
setpayloadobj(_objectSpread$2w({}, temppayloadobj));
|
|
923
923
|
},
|
|
924
924
|
style: {
|
|
925
925
|
background: sectionproperties.input_bgcolor
|
|
@@ -941,9 +941,9 @@ var Login = function Login(props) {
|
|
|
941
941
|
textplaceholder: "",
|
|
942
942
|
value: payloadobj.password,
|
|
943
943
|
onChange: function onChange(event) {
|
|
944
|
-
var temppayloadobj = _objectSpread$
|
|
944
|
+
var temppayloadobj = _objectSpread$2w({}, payloadobj);
|
|
945
945
|
temppayloadobj.password = event.target.value;
|
|
946
|
-
setpayloadobj(_objectSpread$
|
|
946
|
+
setpayloadobj(_objectSpread$2w({}, temppayloadobj));
|
|
947
947
|
},
|
|
948
948
|
style: {
|
|
949
949
|
background: sectionproperties.input_bgcolor
|
|
@@ -1120,9 +1120,9 @@ var Login = function Login(props) {
|
|
|
1120
1120
|
className: "".concat(loginstyles2.form_control),
|
|
1121
1121
|
value: forgotpasswordpayload.email,
|
|
1122
1122
|
onChange: function onChange(event) {
|
|
1123
|
-
var temppayloadobj = _objectSpread$
|
|
1123
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1124
1124
|
temppayloadobj.email = event.target.value;
|
|
1125
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1125
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1126
1126
|
},
|
|
1127
1127
|
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
1128
1128
|
style: {
|
|
@@ -1137,9 +1137,9 @@ var Login = function Login(props) {
|
|
|
1137
1137
|
className: "".concat(loginstyles2.form_control),
|
|
1138
1138
|
value: forgotpasswordpayload.code,
|
|
1139
1139
|
onChange: function onChange(event) {
|
|
1140
|
-
var temppayloadobj = _objectSpread$
|
|
1140
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1141
1141
|
temppayloadobj.code = event.target.value;
|
|
1142
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1142
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1143
1143
|
},
|
|
1144
1144
|
style: {
|
|
1145
1145
|
background: sectionproperties.input_bgcolor
|
|
@@ -1153,9 +1153,9 @@ var Login = function Login(props) {
|
|
|
1153
1153
|
className: "".concat(loginstyles2.form_control),
|
|
1154
1154
|
value: forgotpasswordpayload.newpassword,
|
|
1155
1155
|
onChange: function onChange(event) {
|
|
1156
|
-
var temppayloadobj = _objectSpread$
|
|
1156
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1157
1157
|
temppayloadobj.newpassword = event.target.value;
|
|
1158
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1158
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1159
1159
|
},
|
|
1160
1160
|
style: {
|
|
1161
1161
|
background: sectionproperties.input_bgcolor
|
|
@@ -1169,9 +1169,9 @@ var Login = function Login(props) {
|
|
|
1169
1169
|
className: "".concat(loginstyles2.form_control),
|
|
1170
1170
|
value: forgotpasswordpayload.confirmnewpassword,
|
|
1171
1171
|
onChange: function onChange(event) {
|
|
1172
|
-
var temppayloadobj = _objectSpread$
|
|
1172
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1173
1173
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
1174
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1174
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1175
1175
|
},
|
|
1176
1176
|
style: {
|
|
1177
1177
|
background: sectionproperties.input_bgcolor
|
|
@@ -1183,7 +1183,7 @@ var Login = function Login(props) {
|
|
|
1183
1183
|
onClick: function onClick() {
|
|
1184
1184
|
if (forgotpasswordpayload.email.length != 0) {
|
|
1185
1185
|
var runfunc = false;
|
|
1186
|
-
var tempforgotpasswordpayload = _objectSpread$
|
|
1186
|
+
var tempforgotpasswordpayload = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1187
1187
|
tempforgotpasswordpayload.functype = forgetpasswordstage;
|
|
1188
1188
|
if (forgetpasswordstage == 'verify') {
|
|
1189
1189
|
if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
|
|
@@ -1223,7 +1223,7 @@ var Login = function Login(props) {
|
|
|
1223
1223
|
}, forgetpasswordstage == 'verify' ? langdetect == 'en' ? 'Reset password' : 'إعادة تعيين كلمة المرور' : langdetect == 'en' ? 'Send verification code' : 'أرسل رمز التحقق'))))));
|
|
1224
1224
|
};
|
|
1225
1225
|
|
|
1226
|
-
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
|
|
1226
|
+
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";
|
|
1227
1227
|
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"};
|
|
1228
1228
|
styleInject(css_248z$L);
|
|
1229
1229
|
|
|
@@ -1234,11 +1234,11 @@ var css_248z$J = "@media screen and (max-width: 800px) {\n .signup-module_rig
|
|
|
1234
1234
|
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"};
|
|
1235
1235
|
styleInject(css_248z$J);
|
|
1236
1236
|
|
|
1237
|
-
function ownKeys$
|
|
1238
|
-
function _objectSpread$
|
|
1237
|
+
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; }
|
|
1238
|
+
function _objectSpread$2v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2v(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1239
1239
|
var selectcustomStyles = {
|
|
1240
1240
|
option: function option(provided, state) {
|
|
1241
|
-
return _objectSpread$
|
|
1241
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1242
1242
|
borderBottom: '1px solid #e6e6e6',
|
|
1243
1243
|
backgroundColor: state.isSelected ? '' : '',
|
|
1244
1244
|
padding: 5,
|
|
@@ -1267,7 +1267,7 @@ var selectcustomStyles = {
|
|
|
1267
1267
|
};
|
|
1268
1268
|
var selectcustomStylesTranslated = {
|
|
1269
1269
|
option: function option(provided, state) {
|
|
1270
|
-
return _objectSpread$
|
|
1270
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1271
1271
|
borderBottom: '1px solid #e6e6e6',
|
|
1272
1272
|
backgroundColor: state.isSelected ? '' : '',
|
|
1273
1273
|
padding: 5,
|
|
@@ -1296,14 +1296,14 @@ var selectcustomStylesTranslated = {
|
|
|
1296
1296
|
};
|
|
1297
1297
|
},
|
|
1298
1298
|
placeholder: function placeholder(provided, state) {
|
|
1299
|
-
return _objectSpread$
|
|
1299
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1300
1300
|
textAlign: 'right'
|
|
1301
1301
|
});
|
|
1302
1302
|
}
|
|
1303
1303
|
};
|
|
1304
1304
|
var defaultstyles = {
|
|
1305
1305
|
option: function option(provided, state) {
|
|
1306
|
-
return _objectSpread$
|
|
1306
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1307
1307
|
borderBottom: '1px solid #e6e6e6',
|
|
1308
1308
|
backgroundColor: state.isSelected ? '' : '',
|
|
1309
1309
|
padding: 5,
|
|
@@ -1331,7 +1331,7 @@ var defaultstyles = {
|
|
|
1331
1331
|
}), _ref;
|
|
1332
1332
|
},
|
|
1333
1333
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1334
|
-
return _objectSpread$
|
|
1334
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1335
1335
|
'&:hover': {
|
|
1336
1336
|
// color: '#eac435',
|
|
1337
1337
|
}
|
|
@@ -1340,7 +1340,7 @@ var defaultstyles = {
|
|
|
1340
1340
|
};
|
|
1341
1341
|
var defaultstylestranslated = {
|
|
1342
1342
|
option: function option(provided, state) {
|
|
1343
|
-
return _objectSpread$
|
|
1343
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1344
1344
|
borderBottom: '1px solid #e6e6e6',
|
|
1345
1345
|
backgroundColor: state.isSelected ? '' : '',
|
|
1346
1346
|
padding: 5,
|
|
@@ -1371,21 +1371,21 @@ var defaultstylestranslated = {
|
|
|
1371
1371
|
};
|
|
1372
1372
|
},
|
|
1373
1373
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1374
|
-
return _objectSpread$
|
|
1374
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1375
1375
|
'&:hover': {
|
|
1376
1376
|
// color: '#eac435',
|
|
1377
1377
|
}
|
|
1378
1378
|
});
|
|
1379
1379
|
},
|
|
1380
1380
|
placeholder: function placeholder(provided, state) {
|
|
1381
|
-
return _objectSpread$
|
|
1381
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1382
1382
|
textAlign: 'right'
|
|
1383
1383
|
});
|
|
1384
1384
|
}
|
|
1385
1385
|
};
|
|
1386
1386
|
var defaultstylesnone = {
|
|
1387
1387
|
option: function option(provided, state) {
|
|
1388
|
-
return _objectSpread$
|
|
1388
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1389
1389
|
borderBottom: '1px solid #e6e6e6',
|
|
1390
1390
|
backgroundColor: state.isSelected ? '' : '',
|
|
1391
1391
|
padding: 5,
|
|
@@ -1413,7 +1413,7 @@ var defaultstylesnone = {
|
|
|
1413
1413
|
};
|
|
1414
1414
|
},
|
|
1415
1415
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1416
|
-
return _objectSpread$
|
|
1416
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1417
1417
|
'&:hover': {
|
|
1418
1418
|
// color: '#eac435',
|
|
1419
1419
|
}
|
|
@@ -1435,6 +1435,10 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1435
1435
|
var sectionproperties = props.actions.sectionproperties;
|
|
1436
1436
|
props.actions.ikimagecredcontext;
|
|
1437
1437
|
var ProductInfoObj = props.actions.ProductInfoObj;
|
|
1438
|
+
var _useState = React.useState(''),
|
|
1439
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
1440
|
+
_useState2[0];
|
|
1441
|
+
var setcolorvalue = _useState2[1];
|
|
1438
1442
|
var formstyles = {
|
|
1439
1443
|
input_label_name: glamor.css({
|
|
1440
1444
|
color: sectionproperties.form_labelcolor,
|
|
@@ -1499,7 +1503,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1499
1503
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1500
1504
|
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1501
1505
|
}
|
|
1502
|
-
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1506
|
+
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":", ' ')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1503
1507
|
className: "col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-1",
|
|
1504
1508
|
style: {
|
|
1505
1509
|
paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0
|
|
@@ -1523,8 +1527,14 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1523
1527
|
onClick: function onClick() {
|
|
1524
1528
|
if (optionvaluesitem.isenabled == 1) {
|
|
1525
1529
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1530
|
+
if (optionvaluesitem.valuename == '#000000') {
|
|
1531
|
+
setcolorvalue('Black');
|
|
1532
|
+
} else if (optionvaluesitem.valuename == '#c9b0a1') {
|
|
1533
|
+
setcolorvalue('Beige');
|
|
1534
|
+
}
|
|
1526
1535
|
} else {
|
|
1527
1536
|
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1537
|
+
setcolorvalue('');
|
|
1528
1538
|
}
|
|
1529
1539
|
},
|
|
1530
1540
|
style: {
|
|
@@ -1996,8 +2006,8 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
1996
2006
|
}, 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))))));
|
|
1997
2007
|
};
|
|
1998
2008
|
|
|
1999
|
-
function ownKeys$
|
|
2000
|
-
function _objectSpread$
|
|
2009
|
+
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; }
|
|
2010
|
+
function _objectSpread$2u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2u(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2001
2011
|
var ProductExtraFields = function ProductExtraFields(props) {
|
|
2002
2012
|
var _fetchProductInfoQuer, _css, _fetchProductInfoQuer2;
|
|
2003
2013
|
props.actions.lang;
|
|
@@ -2052,9 +2062,9 @@ var ProductExtraFields = function ProductExtraFields(props) {
|
|
|
2052
2062
|
});
|
|
2053
2063
|
}
|
|
2054
2064
|
setproductextravaluesarray(_toConsumableArray__default["default"](tempproductextravaluesarray));
|
|
2055
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2065
|
+
var tempaddtocardpayloadobj = _objectSpread$2u({}, addtocardpayloadobj);
|
|
2056
2066
|
tempaddtocardpayloadobj.extrafields = tempproductextravaluesarray;
|
|
2057
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2067
|
+
setaddtocardpayloadobj(_objectSpread$2u({}, tempaddtocardpayloadobj));
|
|
2058
2068
|
};
|
|
2059
2069
|
var formstyles = {
|
|
2060
2070
|
input_label_name: glamor.css({
|
|
@@ -2269,8 +2279,8 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2269
2279
|
})))));
|
|
2270
2280
|
};
|
|
2271
2281
|
|
|
2272
|
-
function ownKeys$
|
|
2273
|
-
function _objectSpread$
|
|
2282
|
+
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; }
|
|
2283
|
+
function _objectSpread$2t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2t(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2274
2284
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2275
2285
|
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;
|
|
2276
2286
|
var lang = props.actions.lang;
|
|
@@ -2817,11 +2827,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2817
2827
|
}, sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2818
2828
|
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
2819
2829
|
onClick: function onClick() {
|
|
2820
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2830
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2821
2831
|
if (tempaddtocardpayloadobj.quantity > 0) {
|
|
2822
2832
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
|
|
2823
2833
|
}
|
|
2824
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2834
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2825
2835
|
}
|
|
2826
2836
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2827
2837
|
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
|
|
@@ -2835,9 +2845,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2835
2845
|
}, addtocardpayloadobj.quantity), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2836
2846
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
2837
2847
|
onClick: function onClick() {
|
|
2838
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2848
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2839
2849
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
|
|
2840
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2850
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2841
2851
|
}
|
|
2842
2852
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2843
2853
|
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
|
|
@@ -2862,13 +2872,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2862
2872
|
value: addtocardpayloadobj.quantity,
|
|
2863
2873
|
onChange: function onChange(event) {
|
|
2864
2874
|
if (event.target.value == NaN || event.target.value == undefined || event.target.value == null || event.target.value == '') {
|
|
2865
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2875
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2866
2876
|
tempaddtocardpayloadobj.quantity = 1;
|
|
2867
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2877
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2868
2878
|
} else {
|
|
2869
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2879
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2870
2880
|
tempaddtocardpayloadobj.quantity = parseInt(event.target.value);
|
|
2871
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2881
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2872
2882
|
}
|
|
2873
2883
|
}
|
|
2874
2884
|
})), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
@@ -3171,8 +3181,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3171
3181
|
}, ShareButtonsContainer()))))))));
|
|
3172
3182
|
};
|
|
3173
3183
|
|
|
3174
|
-
function ownKeys$
|
|
3175
|
-
function _objectSpread$
|
|
3184
|
+
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; }
|
|
3185
|
+
function _objectSpread$2s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2s(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3176
3186
|
var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
3177
3187
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer13, _fetchProductInfoQuer14;
|
|
3178
3188
|
var langdetect = props.actions.langdetect;
|
|
@@ -3213,7 +3223,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3213
3223
|
slots = _useState6[0],
|
|
3214
3224
|
setslots = _useState6[1];
|
|
3215
3225
|
React.useEffect(function () {
|
|
3216
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3226
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3217
3227
|
item_type: 'service'
|
|
3218
3228
|
}));
|
|
3219
3229
|
}, [tabsarray]);
|
|
@@ -3225,16 +3235,16 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3225
3235
|
if (diffDays.toString() != 'NaN') {
|
|
3226
3236
|
if (date2 <= date1) {
|
|
3227
3237
|
NotificationManager.warning('', 'Please choose another date.');
|
|
3228
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3238
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3229
3239
|
quantity: 0
|
|
3230
3240
|
}));
|
|
3231
3241
|
} else {
|
|
3232
3242
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
|
|
3233
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3243
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3234
3244
|
quantity: diffDays
|
|
3235
3245
|
}));
|
|
3236
3246
|
} else {
|
|
3237
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3247
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3238
3248
|
quantity: 0
|
|
3239
3249
|
}));
|
|
3240
3250
|
NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
@@ -3370,7 +3380,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3370
3380
|
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,
|
|
3371
3381
|
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,
|
|
3372
3382
|
onChange: function onChange(event) {
|
|
3373
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3383
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3374
3384
|
from: event.target.value
|
|
3375
3385
|
}));
|
|
3376
3386
|
}
|
|
@@ -3390,7 +3400,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3390
3400
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
3391
3401
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
3392
3402
|
onChange: function onChange(event) {
|
|
3393
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3403
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3394
3404
|
to: event.target.value
|
|
3395
3405
|
}));
|
|
3396
3406
|
}
|
|
@@ -3410,7 +3420,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3410
3420
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
3411
3421
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
3412
3422
|
onChange: function onChange(event) {
|
|
3413
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3423
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3414
3424
|
date: event.target.value
|
|
3415
3425
|
}));
|
|
3416
3426
|
setcurrentmutatestate('/fetchserviceslots');
|
|
@@ -3461,7 +3471,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3461
3471
|
color: ischoosed ? sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? sectionproperties.generalbtn_textColoronhover : sectionproperties.generalbtn_textColor : ''
|
|
3462
3472
|
},
|
|
3463
3473
|
onClick: function onClick() {
|
|
3464
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3474
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3465
3475
|
time: item.slot
|
|
3466
3476
|
}));
|
|
3467
3477
|
}
|
|
@@ -3470,7 +3480,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3470
3480
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3471
3481
|
"class": TabsStyles.booknow_btn_resp + ' allcentered ',
|
|
3472
3482
|
onClick: function onClick() {
|
|
3473
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3483
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3474
3484
|
time: item.slot
|
|
3475
3485
|
}));
|
|
3476
3486
|
}
|
|
@@ -3544,7 +3554,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3544
3554
|
"class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
|
|
3545
3555
|
style: {},
|
|
3546
3556
|
onClick: function onClick() {
|
|
3547
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3557
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3548
3558
|
time: item.slot
|
|
3549
3559
|
}));
|
|
3550
3560
|
}
|
|
@@ -4248,8 +4258,8 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4248
4258
|
}, StoreInfoprops()))));
|
|
4249
4259
|
};
|
|
4250
4260
|
|
|
4251
|
-
function ownKeys$
|
|
4252
|
-
function _objectSpread$
|
|
4261
|
+
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; }
|
|
4262
|
+
function _objectSpread$2r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2r(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4253
4263
|
var AddReview = function AddReview(props) {
|
|
4254
4264
|
var _css;
|
|
4255
4265
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -4301,7 +4311,7 @@ var AddReview = function AddReview(props) {
|
|
|
4301
4311
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
4302
4312
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4303
4313
|
});
|
|
4304
|
-
setsectionproperties(_objectSpread$
|
|
4314
|
+
setsectionproperties(_objectSpread$2r({}, secpropobj));
|
|
4305
4315
|
}
|
|
4306
4316
|
}, [StatePagePropertiesContext]);
|
|
4307
4317
|
React.useEffect(function () {
|
|
@@ -4310,7 +4320,7 @@ var AddReview = function AddReview(props) {
|
|
|
4310
4320
|
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) {
|
|
4311
4321
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4312
4322
|
});
|
|
4313
|
-
setsectionproperties(_objectSpread$
|
|
4323
|
+
setsectionproperties(_objectSpread$2r({}, secpropobj));
|
|
4314
4324
|
}, [pageindexcontext]);
|
|
4315
4325
|
var reviewstyles = {
|
|
4316
4326
|
submitreviewbtn: glamor.css({
|
|
@@ -4436,9 +4446,9 @@ var AddReview = function AddReview(props) {
|
|
|
4436
4446
|
}),
|
|
4437
4447
|
activeColor: "#ffd700",
|
|
4438
4448
|
onChange: function onChange(event) {
|
|
4439
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4449
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4440
4450
|
tempreviewpayloadobj.reviewrate = event;
|
|
4441
|
-
setreviewpayloadobj(_objectSpread$
|
|
4451
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4442
4452
|
}
|
|
4443
4453
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4444
4454
|
"class": "col-lg-12"
|
|
@@ -4452,9 +4462,9 @@ var AddReview = function AddReview(props) {
|
|
|
4452
4462
|
"class": reviewstyles.form_control,
|
|
4453
4463
|
value: reviewpayloadobj.reviewname,
|
|
4454
4464
|
onChange: function onChange(event) {
|
|
4455
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4465
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4456
4466
|
tempreviewpayloadobj.reviewname = event.target.value;
|
|
4457
|
-
setreviewpayloadobj(_objectSpread$
|
|
4467
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4458
4468
|
}
|
|
4459
4469
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4460
4470
|
"class": "col-lg-12 mb-4"
|
|
@@ -4464,9 +4474,9 @@ var AddReview = function AddReview(props) {
|
|
|
4464
4474
|
"class": reviewstyles.form_control,
|
|
4465
4475
|
value: reviewpayloadobj.reviewtitle,
|
|
4466
4476
|
onChange: function onChange(event) {
|
|
4467
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4477
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4468
4478
|
tempreviewpayloadobj.reviewtitle = event.target.value;
|
|
4469
|
-
setreviewpayloadobj(_objectSpread$
|
|
4479
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4470
4480
|
}
|
|
4471
4481
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4472
4482
|
"class": "col-lg-12 mb-4"
|
|
@@ -4477,9 +4487,9 @@ var AddReview = function AddReview(props) {
|
|
|
4477
4487
|
"class": reviewstyles.form_control + ' form_control ',
|
|
4478
4488
|
value: reviewpayloadobj.reviewbody,
|
|
4479
4489
|
onChange: function onChange(event) {
|
|
4480
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4490
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4481
4491
|
tempreviewpayloadobj.reviewbody = event.target.value;
|
|
4482
|
-
setreviewpayloadobj(_objectSpread$
|
|
4492
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4483
4493
|
},
|
|
4484
4494
|
style: {
|
|
4485
4495
|
resize: 'none',
|
|
@@ -4514,8 +4524,8 @@ var AddReview = function AddReview(props) {
|
|
|
4514
4524
|
}, langdetect == 'en' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)));
|
|
4515
4525
|
};
|
|
4516
4526
|
|
|
4517
|
-
function ownKeys$
|
|
4518
|
-
function _objectSpread$
|
|
4527
|
+
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; }
|
|
4528
|
+
function _objectSpread$2q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4519
4529
|
var ProductReviews = function ProductReviews(props) {
|
|
4520
4530
|
var _fetchProductInfoQuer, _fetchProductInfoQuer3, _fetchProductInfoQuer4;
|
|
4521
4531
|
props.actions.lang;
|
|
@@ -4749,7 +4759,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4749
4759
|
size: "md",
|
|
4750
4760
|
"class": "reviewmodal"
|
|
4751
4761
|
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement(AddReview, {
|
|
4752
|
-
actions: _objectSpread$
|
|
4762
|
+
actions: _objectSpread$2q(_objectSpread$2q({}, actions), {}, {
|
|
4753
4763
|
productid: productid,
|
|
4754
4764
|
canuserreview: canuserreview,
|
|
4755
4765
|
addreviewcallback: addreviewcallback
|
|
@@ -4757,8 +4767,8 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4757
4767
|
}))));
|
|
4758
4768
|
};
|
|
4759
4769
|
|
|
4760
|
-
function ownKeys$
|
|
4761
|
-
function _objectSpread$
|
|
4770
|
+
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; }
|
|
4771
|
+
function _objectSpread$2p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2p(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4762
4772
|
var Productinfo = function Productinfo(props) {
|
|
4763
4773
|
var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
|
|
4764
4774
|
var _useState = React.useState({}),
|
|
@@ -4787,7 +4797,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4787
4797
|
setfetchProductInfoQueryContext = _useState4[1];
|
|
4788
4798
|
React.useEffect(function () {
|
|
4789
4799
|
if (fetchProductInfoQueryContextProps.isSuccess) {
|
|
4790
|
-
setProductInfoObj(_objectSpread$
|
|
4800
|
+
setProductInfoObj(_objectSpread$2p({}, fetchProductInfoQueryContextProps.data));
|
|
4791
4801
|
setfetchProductInfoQueryContext(fetchProductInfoQueryContextProps);
|
|
4792
4802
|
}
|
|
4793
4803
|
}, [props.actions, props, fetchProductInfoQueryContextProps.data, fetchProductInfoQueryContextProps.isSuccess]);
|
|
@@ -4899,7 +4909,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4899
4909
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
4900
4910
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4901
4911
|
});
|
|
4902
|
-
setsectionproperties(_objectSpread$
|
|
4912
|
+
setsectionproperties(_objectSpread$2p({}, secpropobj));
|
|
4903
4913
|
setTabIndex(0);
|
|
4904
4914
|
settabname('descriptiontab');
|
|
4905
4915
|
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom') {
|
|
@@ -4939,7 +4949,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4939
4949
|
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) {
|
|
4940
4950
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4941
4951
|
});
|
|
4942
|
-
setsectionproperties(_objectSpread$
|
|
4952
|
+
setsectionproperties(_objectSpread$2p({}, secpropobj));
|
|
4943
4953
|
}, [pageindexcontext]);
|
|
4944
4954
|
React.useEffect(function () {
|
|
4945
4955
|
if (productidparam == undefined) {
|
|
@@ -4959,12 +4969,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
4959
4969
|
}
|
|
4960
4970
|
}, [ProductInfoObj, isloaded]);
|
|
4961
4971
|
var productidassigner = function productidassigner(productid) {
|
|
4962
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
4972
|
+
var tempFetchQueriesEngineContext = _objectSpread$2p({}, FetchQueriesEngineContext);
|
|
4963
4973
|
tempFetchQueriesEngineContext.fetchproductinfo = true;
|
|
4964
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
4965
|
-
var tempfetchproductinfoObjContext = _objectSpread$
|
|
4974
|
+
setFetchQueriesEngineContext(_objectSpread$2p({}, tempFetchQueriesEngineContext));
|
|
4975
|
+
var tempfetchproductinfoObjContext = _objectSpread$2p({}, fetchproductinfoObjContext);
|
|
4966
4976
|
tempfetchproductinfoObjContext.productid = productid;
|
|
4967
|
-
setfetchproductinfoObjContext(_objectSpread$
|
|
4977
|
+
setfetchproductinfoObjContext(_objectSpread$2p({}, tempfetchproductinfoObjContext));
|
|
4968
4978
|
};
|
|
4969
4979
|
React.useEffect(function () {
|
|
4970
4980
|
if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
@@ -5001,9 +5011,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
5001
5011
|
}
|
|
5002
5012
|
setproductimagesarray([].concat(tempproductimagesarray));
|
|
5003
5013
|
variantchecker();
|
|
5004
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5014
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5005
5015
|
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext.data.data.productinfo.productid;
|
|
5006
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
5016
|
+
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
5007
5017
|
setRelatedProductsTagid(fetchProductInfoQueryContext.data.data.productinfo.maintagid);
|
|
5008
5018
|
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) {
|
|
5009
5019
|
GeneralAPIMutationContext.mutate({
|
|
@@ -5050,7 +5060,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5050
5060
|
});
|
|
5051
5061
|
variantchecker();
|
|
5052
5062
|
variantcompleting();
|
|
5053
|
-
setProductInfoObj(_objectSpread$
|
|
5063
|
+
setProductInfoObj(_objectSpread$2p({}, productarr));
|
|
5054
5064
|
};
|
|
5055
5065
|
var variantchecker = function variantchecker() {
|
|
5056
5066
|
var productarr = ProductInfoObj;
|
|
@@ -5124,16 +5134,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
5124
5134
|
});
|
|
5125
5135
|
}
|
|
5126
5136
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
5127
|
-
setProductInfoObj(_objectSpread$
|
|
5137
|
+
setProductInfoObj(_objectSpread$2p({}, productarr));
|
|
5128
5138
|
setisloaded(true);
|
|
5129
5139
|
}
|
|
5130
5140
|
}
|
|
5131
5141
|
};
|
|
5132
5142
|
var variantcompleting = function variantcompleting() {
|
|
5133
5143
|
setvariantindexcompleted('');
|
|
5134
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5144
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5135
5145
|
tempaddtocardpayloadobj.variantid = '';
|
|
5136
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
5146
|
+
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
5137
5147
|
var productarr = ProductInfoObj;
|
|
5138
5148
|
var selectedoptionsvalues = [];
|
|
5139
5149
|
productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
|
|
@@ -5166,7 +5176,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5166
5176
|
NotificationManager.warning('', 'Variant Not Found');
|
|
5167
5177
|
} else {
|
|
5168
5178
|
variantid = variantobj.variantid;
|
|
5169
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5179
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5170
5180
|
tempaddtocardpayloadobj.variantid = variantid;
|
|
5171
5181
|
var variantimageindex = 0;
|
|
5172
5182
|
productimagesarray === null || productimagesarray === void 0 || productimagesarray.forEach(function (tempimageitem, tempimageindex) {
|
|
@@ -5182,14 +5192,14 @@ var Productinfo = function Productinfo(props) {
|
|
|
5182
5192
|
setvariantsku(variantobj === null || variantobj === void 0 ? void 0 : variantobj.sku);
|
|
5183
5193
|
// alert(variantsku);
|
|
5184
5194
|
setcurrentshowingimageindex(variantimageindex);
|
|
5185
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
5195
|
+
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
5186
5196
|
setvariantindexcompleted(ProductVariantIndex);
|
|
5187
5197
|
setvariantindex(ProductVariantIndex);
|
|
5188
5198
|
}
|
|
5189
5199
|
}
|
|
5190
5200
|
});
|
|
5191
5201
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
5192
|
-
setProductInfoObj(_objectSpread$
|
|
5202
|
+
setProductInfoObj(_objectSpread$2p({}, productarr));
|
|
5193
5203
|
};
|
|
5194
5204
|
var addtocartfunc = function addtocartfunc(forcetocheckout) {
|
|
5195
5205
|
var runfunc = false;
|
|
@@ -5210,7 +5220,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5210
5220
|
}
|
|
5211
5221
|
if (runfunc == true) {
|
|
5212
5222
|
var _fetchProductInfoQuer7, _fetchProductInfoQuer8;
|
|
5213
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5223
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5214
5224
|
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;
|
|
5215
5225
|
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;
|
|
5216
5226
|
if (forcetocheckoutvalue != undefined) {
|
|
@@ -5234,7 +5244,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5234
5244
|
};
|
|
5235
5245
|
var validateextrafields = function validateextrafields() {
|
|
5236
5246
|
var _fetchProductInfoQuer15;
|
|
5237
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5247
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5238
5248
|
var status = false;
|
|
5239
5249
|
var reason = '';
|
|
5240
5250
|
var missingitemsfound = [];
|
|
@@ -6273,7 +6283,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6273
6283
|
}))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
|
|
6274
6284
|
"class": "w-100 mt-5 mb-4"
|
|
6275
6285
|
}, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
6276
|
-
actions: _objectSpread$
|
|
6286
|
+
actions: _objectSpread$2p(_objectSpread$2p({}, actions), {}, {
|
|
6277
6287
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
6278
6288
|
sectionproperties: sectionproperties
|
|
6279
6289
|
})
|
|
@@ -6321,7 +6331,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6321
6331
|
})), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6322
6332
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
6323
6333
|
}, /*#__PURE__*/React__default["default"].createElement(ProductReviews, {
|
|
6324
|
-
actions: _objectSpread$
|
|
6334
|
+
actions: _objectSpread$2p(_objectSpread$2p({}, actions), {}, {
|
|
6325
6335
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
6326
6336
|
sectionproperties: sectionproperties
|
|
6327
6337
|
})
|
|
@@ -6338,8 +6348,8 @@ var css_248z$I = "/* Side Nav */\n.staticroutersidenav-module_vertical_nav_menu_
|
|
|
6338
6348
|
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"};
|
|
6339
6349
|
styleInject(css_248z$I);
|
|
6340
6350
|
|
|
6341
|
-
function ownKeys$
|
|
6342
|
-
function _objectSpread$
|
|
6351
|
+
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; }
|
|
6352
|
+
function _objectSpread$2o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2o(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6343
6353
|
var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
6344
6354
|
var _useState = React.useState(props.currentpageprops),
|
|
6345
6355
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -6375,7 +6385,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
6375
6385
|
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) {
|
|
6376
6386
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6377
6387
|
});
|
|
6378
|
-
setsectionproperties(_objectSpread$
|
|
6388
|
+
setsectionproperties(_objectSpread$2o({}, secpropobj));
|
|
6379
6389
|
}
|
|
6380
6390
|
}, [CurrentPageId]);
|
|
6381
6391
|
var styles = {
|
|
@@ -6541,8 +6551,8 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
6541
6551
|
}))))));
|
|
6542
6552
|
};
|
|
6543
6553
|
|
|
6544
|
-
function ownKeys$
|
|
6545
|
-
function _objectSpread$
|
|
6554
|
+
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; }
|
|
6555
|
+
function _objectSpread$2n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2n(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6546
6556
|
var Ordershistory = function Ordershistory(props) {
|
|
6547
6557
|
var _props$actions2, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchorderhistoryQue2, _fetchorderhistoryQue3, _fetchorderhistoryQue4, _fetchorderhistoryQue5;
|
|
6548
6558
|
var lang = props.actions.lang;
|
|
@@ -6595,9 +6605,9 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
6595
6605
|
setorderindex = _useState14[1];
|
|
6596
6606
|
React.useEffect(function () {
|
|
6597
6607
|
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) == true) {
|
|
6598
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
6608
|
+
var tempFetchQueriesEngineContext = _objectSpread$2n({}, FetchQueriesEngineContext);
|
|
6599
6609
|
tempFetchQueriesEngineContext.orderhistory = true;
|
|
6600
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
6610
|
+
setFetchQueriesEngineContext(_objectSpread$2n({}, tempFetchQueriesEngineContext));
|
|
6601
6611
|
}
|
|
6602
6612
|
}, []);
|
|
6603
6613
|
var _useState15 = React.useState(''),
|
|
@@ -6618,7 +6628,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
6618
6628
|
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) {
|
|
6619
6629
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6620
6630
|
});
|
|
6621
|
-
setsectionproperties(_objectSpread$
|
|
6631
|
+
setsectionproperties(_objectSpread$2n({}, secpropobj));
|
|
6622
6632
|
}, [props === null || props === void 0 || (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
6623
6633
|
var orderhistory_cssstyles = {
|
|
6624
6634
|
variantcontainer: glamor.css({
|
|
@@ -7569,8 +7579,8 @@ var css_248z$H = ".wishlist-module_wishlist_card__sUXul .wishlist-module_image_c
|
|
|
7569
7579
|
var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
|
|
7570
7580
|
styleInject(css_248z$H);
|
|
7571
7581
|
|
|
7572
|
-
function ownKeys$
|
|
7573
|
-
function _objectSpread$
|
|
7582
|
+
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; }
|
|
7583
|
+
function _objectSpread$2m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2m(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7574
7584
|
var Wishlist = function Wishlist(props) {
|
|
7575
7585
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
7576
7586
|
var lang = props.actions.lang;
|
|
@@ -7598,13 +7608,13 @@ var Wishlist = function Wishlist(props) {
|
|
|
7598
7608
|
StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
7599
7609
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
7600
7610
|
});
|
|
7601
|
-
setsectionproperties(_objectSpread$
|
|
7611
|
+
setsectionproperties(_objectSpread$2m({}, secpropobj));
|
|
7602
7612
|
}
|
|
7603
7613
|
}, [StatePagePropertiesContext]);
|
|
7604
7614
|
React.useEffect(function () {
|
|
7605
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
7615
|
+
var tempFetchQueriesEngineContext = _objectSpread$2m({}, FetchQueriesEngineContext);
|
|
7606
7616
|
tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
|
|
7607
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
7617
|
+
setFetchQueriesEngineContext(_objectSpread$2m({}, tempFetchQueriesEngineContext));
|
|
7608
7618
|
}, []);
|
|
7609
7619
|
React.useEffect(function () {
|
|
7610
7620
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
@@ -7613,7 +7623,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7613
7623
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
7614
7624
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
7615
7625
|
});
|
|
7616
|
-
setsectionproperties(_objectSpread$
|
|
7626
|
+
setsectionproperties(_objectSpread$2m({}, secpropobj));
|
|
7617
7627
|
}
|
|
7618
7628
|
}, [StatePagePropertiesContext]);
|
|
7619
7629
|
var wishlist_cssstyles = {
|
|
@@ -8022,8 +8032,8 @@ var Wishlist = function Wishlist(props) {
|
|
|
8022
8032
|
})));
|
|
8023
8033
|
};
|
|
8024
8034
|
|
|
8025
|
-
function ownKeys$
|
|
8026
|
-
function _objectSpread$
|
|
8035
|
+
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; }
|
|
8036
|
+
function _objectSpread$2l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2l(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8027
8037
|
var Viewcart = function Viewcart(props) {
|
|
8028
8038
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8;
|
|
8029
8039
|
var lang = props.actions.lang;
|
|
@@ -8055,7 +8065,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
8055
8065
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
8056
8066
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
8057
8067
|
});
|
|
8058
|
-
setsectionproperties(_objectSpread$
|
|
8068
|
+
setsectionproperties(_objectSpread$2l({}, secpropobj));
|
|
8059
8069
|
}
|
|
8060
8070
|
}, [StatePagePropertiesContext]);
|
|
8061
8071
|
React.useEffect(function () {
|
|
@@ -8643,8 +8653,8 @@ var css_248z$G = "/* Forms */\n.form-module_form_control__4-RGw {\n display:
|
|
|
8643
8653
|
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-"};
|
|
8644
8654
|
styleInject(css_248z$G);
|
|
8645
8655
|
|
|
8646
|
-
function ownKeys$
|
|
8647
|
-
function _objectSpread$
|
|
8656
|
+
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; }
|
|
8657
|
+
function _objectSpread$2k(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2k(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2k(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8648
8658
|
var Select$3 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
8649
8659
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
8650
8660
|
});
|
|
@@ -8703,7 +8713,7 @@ var Checkout = function Checkout(props) {
|
|
|
8703
8713
|
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) {
|
|
8704
8714
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
8705
8715
|
});
|
|
8706
|
-
setsectionproperties(_objectSpread$
|
|
8716
|
+
setsectionproperties(_objectSpread$2k({}, secpropobj));
|
|
8707
8717
|
}, [props.actions.StatePagePropertiesContext]);
|
|
8708
8718
|
React.useEffect(function () {
|
|
8709
8719
|
var Canorder = false;
|
|
@@ -8723,10 +8733,10 @@ var Checkout = function Checkout(props) {
|
|
|
8723
8733
|
}
|
|
8724
8734
|
if (Canorder == true) {
|
|
8725
8735
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7;
|
|
8726
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
8736
|
+
var tempFetchQueriesEngineContext = _objectSpread$2k({}, FetchQueriesEngineContext);
|
|
8727
8737
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
8728
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
8729
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
8738
|
+
setFetchQueriesEngineContext(_objectSpread$2k({}, tempFetchQueriesEngineContext));
|
|
8739
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
8730
8740
|
if (
|
|
8731
8741
|
// Aya
|
|
8732
8742
|
!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 &&
|
|
@@ -8743,7 +8753,7 @@ var Checkout = function Checkout(props) {
|
|
|
8743
8753
|
var _fetchcustomercartQue8;
|
|
8744
8754
|
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;
|
|
8745
8755
|
}
|
|
8746
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
8756
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2k({}, tempFetchTabexStatesPayloadobjContext));
|
|
8747
8757
|
} else {
|
|
8748
8758
|
// NotificationManager.warning('', lang.pleaselogintocheckout);
|
|
8749
8759
|
routingcountext(StaticPagesLinksContext.Login);
|
|
@@ -9610,10 +9620,10 @@ var Checkout = function Checkout(props) {
|
|
|
9610
9620
|
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);
|
|
9611
9621
|
}),
|
|
9612
9622
|
onChange: function onChange(option) {
|
|
9613
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
9623
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
9614
9624
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
9615
9625
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
9616
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
9626
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2k({}, tempFetchTabexStatesPayloadobjContext));
|
|
9617
9627
|
cartinfoupdater('countryid', option.id);
|
|
9618
9628
|
},
|
|
9619
9629
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -9658,10 +9668,10 @@ var Checkout = function Checkout(props) {
|
|
|
9658
9668
|
onChange: function onChange(option) {
|
|
9659
9669
|
var _fetchcustomercartQue60;
|
|
9660
9670
|
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) {
|
|
9661
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
9671
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
9662
9672
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
9663
9673
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
9664
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
9674
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2k({}, tempFetchTabexStatesPayloadobjContext));
|
|
9665
9675
|
cartinfoupdater('stateid', option.id);
|
|
9666
9676
|
} else {
|
|
9667
9677
|
NotificationManager.warning('', 'Please Choose Country Or State');
|
|
@@ -10025,8 +10035,8 @@ var Checkout = function Checkout(props) {
|
|
|
10025
10035
|
}, Mycart())))));
|
|
10026
10036
|
};
|
|
10027
10037
|
|
|
10028
|
-
function ownKeys$
|
|
10029
|
-
function _objectSpread$
|
|
10038
|
+
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; }
|
|
10039
|
+
function _objectSpread$2j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2j(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10030
10040
|
var VendorPage = function VendorPage(props) {
|
|
10031
10041
|
var _useState = React.useState(''),
|
|
10032
10042
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -10059,7 +10069,7 @@ var VendorPage = function VendorPage(props) {
|
|
|
10059
10069
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
10060
10070
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
10061
10071
|
});
|
|
10062
|
-
setsectionproperties(_objectSpread$
|
|
10072
|
+
setsectionproperties(_objectSpread$2j({}, secpropobj));
|
|
10063
10073
|
}
|
|
10064
10074
|
}, [StatePagePropertiesContext]);
|
|
10065
10075
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -10182,8 +10192,8 @@ var VendorPage = function VendorPage(props) {
|
|
|
10182
10192
|
})));
|
|
10183
10193
|
};
|
|
10184
10194
|
|
|
10185
|
-
function ownKeys$
|
|
10186
|
-
function _objectSpread$
|
|
10195
|
+
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; }
|
|
10196
|
+
function _objectSpread$2i(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2i(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2i(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10187
10197
|
var Select$2 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
10188
10198
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
10189
10199
|
});
|
|
@@ -10293,46 +10303,46 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10293
10303
|
}
|
|
10294
10304
|
}, [fetchAuthorizationQueryContext.isSuccess]);
|
|
10295
10305
|
React.useEffect(function () {
|
|
10296
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
10306
|
+
var tempFetchQueriesEngineContext = _objectSpread$2i({}, FetchQueriesEngineContext);
|
|
10297
10307
|
tempFetchQueriesEngineContext.institutecustomerinfosignup = true;
|
|
10298
10308
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
10299
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
10300
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
10309
|
+
setFetchQueriesEngineContext(_objectSpread$2i({}, tempFetchQueriesEngineContext));
|
|
10310
|
+
var tempFetchQueriesEngineContext = _objectSpread$2i({}, FetchQueriesEngineContext);
|
|
10301
10311
|
}, []);
|
|
10302
10312
|
React.useEffect(function () {
|
|
10303
10313
|
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
10304
|
-
setsectionproperties(_objectSpread$
|
|
10314
|
+
setsectionproperties(_objectSpread$2i({}, props.sectionpropertiesprops));
|
|
10305
10315
|
}
|
|
10306
10316
|
}, [props.sectionpropertiesprops]);
|
|
10307
10317
|
React.useEffect(function () {
|
|
10308
10318
|
if (fetchinstitutecustomerinfosignupQueryContext.isSuccess) {
|
|
10309
10319
|
if (authdetailsContext.loggedin == true) {
|
|
10310
|
-
var tempcustomerinfoobj = _objectSpread$
|
|
10311
|
-
setpayloadobj(_objectSpread$
|
|
10312
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10320
|
+
var tempcustomerinfoobj = _objectSpread$2i({}, fetchinstitutecustomerinfosignupQueryContext.data.data.customerinfo);
|
|
10321
|
+
setpayloadobj(_objectSpread$2i({}, tempcustomerinfoobj));
|
|
10322
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2i({}, FetchTabexStatesPayloadobjContext);
|
|
10313
10323
|
if (tempcustomerinfoobj.countryid != null) {
|
|
10314
10324
|
tempFetchTabexStatesPayloadobjContext.country_id = tempcustomerinfoobj.countryid;
|
|
10315
10325
|
}
|
|
10316
10326
|
if (tempcustomerinfoobj.stateid != null) {
|
|
10317
10327
|
tempFetchTabexStatesPayloadobjContext.state_id = tempcustomerinfoobj.stateid;
|
|
10318
10328
|
}
|
|
10319
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10329
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2i({}, tempFetchTabexStatesPayloadobjContext));
|
|
10320
10330
|
setdataloaded(true);
|
|
10321
10331
|
} else {
|
|
10322
10332
|
var _fetchinstitutecustom;
|
|
10323
|
-
var tempcustomerinfoobj = _objectSpread$
|
|
10333
|
+
var tempcustomerinfoobj = _objectSpread$2i({}, payloadobj);
|
|
10324
10334
|
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)) {
|
|
10325
10335
|
tempcustomerinfoobj.instsignupformvalues = _toConsumableArray__default["default"](fetchinstitutecustomerinfosignupQueryContext.data.data.instsignupformvalues);
|
|
10326
10336
|
}
|
|
10327
|
-
setpayloadobj(_objectSpread$
|
|
10337
|
+
setpayloadobj(_objectSpread$2i({}, tempcustomerinfoobj));
|
|
10328
10338
|
setdataloaded(true);
|
|
10329
10339
|
}
|
|
10330
10340
|
}
|
|
10331
10341
|
}, [fetchinstitutecustomerinfosignupQueryContext.isSuccess, fetchinstitutecustomerinfosignupQueryContext.data, authdetailsContext]);
|
|
10332
10342
|
var payloadobjchange = function payloadobjchange(key, value) {
|
|
10333
|
-
var temppayloadobj = _objectSpread$
|
|
10343
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10334
10344
|
temppayloadobj[key] = value;
|
|
10335
|
-
setpayloadobj(_objectSpread$
|
|
10345
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10336
10346
|
};
|
|
10337
10347
|
var validateEmailstring = function validateEmailstring(email) {
|
|
10338
10348
|
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,}))$/);
|
|
@@ -10404,7 +10414,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10404
10414
|
};
|
|
10405
10415
|
var signupbuttonfunc = function signupbuttonfunc() {
|
|
10406
10416
|
if (verifypayload() == true) {
|
|
10407
|
-
var temppayloadobj = _objectSpread$
|
|
10417
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10408
10418
|
if (authdetailsContext.loggedin == true) {
|
|
10409
10419
|
temppayloadobj.functype = 'edit';
|
|
10410
10420
|
} else {
|
|
@@ -10561,10 +10571,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10561
10571
|
autoFormat: true,
|
|
10562
10572
|
value: payloadobj.mobile,
|
|
10563
10573
|
onChange: function onChange(event, country) {
|
|
10564
|
-
var temp = _objectSpread$
|
|
10574
|
+
var temp = _objectSpread$2i({}, payloadobj);
|
|
10565
10575
|
temp.mobile = event;
|
|
10566
10576
|
temp.countrydialcode = country.dialCode;
|
|
10567
|
-
setpayloadobj(_objectSpread$
|
|
10577
|
+
setpayloadobj(_objectSpread$2i({}, temp));
|
|
10568
10578
|
// payloadobjchange('mobile', event);
|
|
10569
10579
|
|
|
10570
10580
|
// alert(JSON.stringify(country));
|
|
@@ -10621,10 +10631,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10621
10631
|
return option.id == payloadobj.countryid;
|
|
10622
10632
|
}),
|
|
10623
10633
|
onChange: function onChange(option) {
|
|
10624
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10634
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2i({}, FetchTabexStatesPayloadobjContext);
|
|
10625
10635
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
10626
10636
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
10627
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10637
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2i({}, tempFetchTabexStatesPayloadobjContext));
|
|
10628
10638
|
payloadobjchange('countryid', option.id);
|
|
10629
10639
|
},
|
|
10630
10640
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -10673,10 +10683,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10673
10683
|
return option.id == payloadobj.stateid;
|
|
10674
10684
|
}),
|
|
10675
10685
|
onChange: function onChange(option) {
|
|
10676
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10686
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2i({}, FetchTabexStatesPayloadobjContext);
|
|
10677
10687
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
10678
10688
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
10679
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10689
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2i({}, tempFetchTabexStatesPayloadobjContext));
|
|
10680
10690
|
payloadobjchange('stateid', option.id);
|
|
10681
10691
|
},
|
|
10682
10692
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -10818,9 +10828,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10818
10828
|
value: item.customersignupvalue,
|
|
10819
10829
|
textplaceholder: "",
|
|
10820
10830
|
onChange: function onChange(event) {
|
|
10821
|
-
var temppayloadobj = _objectSpread$
|
|
10831
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10822
10832
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
10823
|
-
setpayloadobj(_objectSpread$
|
|
10833
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10824
10834
|
},
|
|
10825
10835
|
style: {
|
|
10826
10836
|
background: 'transparent'
|
|
@@ -10834,13 +10844,13 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10834
10844
|
className: formstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
10835
10845
|
checked: item.customersignupvalue == 1 ? true : false,
|
|
10836
10846
|
onChange: function onChange() {
|
|
10837
|
-
var temppayloadobj = _objectSpread$
|
|
10847
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10838
10848
|
if (temppayloadobj.instsignupformvalues[index].customersignupvalue == 1) {
|
|
10839
10849
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = 0;
|
|
10840
10850
|
} else {
|
|
10841
10851
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = 1;
|
|
10842
10852
|
}
|
|
10843
|
-
setpayloadobj(_objectSpread$
|
|
10853
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10844
10854
|
}
|
|
10845
10855
|
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
10846
10856
|
viewBox: "0 0 21 21",
|
|
@@ -10857,9 +10867,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10857
10867
|
value: item.customersignupvalue,
|
|
10858
10868
|
textplaceholder: "",
|
|
10859
10869
|
onChange: function onChange(event) {
|
|
10860
|
-
var temppayloadobj = _objectSpread$
|
|
10870
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10861
10871
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
10862
|
-
setpayloadobj(_objectSpread$
|
|
10872
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10863
10873
|
}
|
|
10864
10874
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
10865
10875
|
value: '',
|
|
@@ -10874,9 +10884,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10874
10884
|
value: item.customersignupvalue,
|
|
10875
10885
|
textplaceholder: "",
|
|
10876
10886
|
onChange: function onChange(event) {
|
|
10877
|
-
var temppayloadobj = _objectSpread$
|
|
10887
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10878
10888
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
10879
|
-
setpayloadobj(_objectSpread$
|
|
10889
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10880
10890
|
},
|
|
10881
10891
|
style: {
|
|
10882
10892
|
resize: 'none'
|
|
@@ -11230,7 +11240,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11230
11240
|
className: "".concat(formstyles.form_control),
|
|
11231
11241
|
value: validateemailpayload.code,
|
|
11232
11242
|
onChange: function onChange(event) {
|
|
11233
|
-
setvalidateemailpayload(_objectSpread$
|
|
11243
|
+
setvalidateemailpayload(_objectSpread$2i(_objectSpread$2i({}, validateemailpayload), {}, {
|
|
11234
11244
|
code: event.target.value
|
|
11235
11245
|
}));
|
|
11236
11246
|
},
|
|
@@ -11257,12 +11267,12 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11257
11267
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
11258
11268
|
if (data.data.status) {
|
|
11259
11269
|
if (data.data.functype == 'sendcode') {
|
|
11260
|
-
setvalidateemailpayload(_objectSpread$
|
|
11270
|
+
setvalidateemailpayload(_objectSpread$2i(_objectSpread$2i({}, validateemailpayload), {}, {
|
|
11261
11271
|
step: 'verifycode'
|
|
11262
11272
|
}));
|
|
11263
11273
|
}
|
|
11264
11274
|
if (data.data.functype == 'verifycode') {
|
|
11265
|
-
setvalidateemailpayload(_objectSpread$
|
|
11275
|
+
setvalidateemailpayload(_objectSpread$2i(_objectSpread$2i({}, validateemailpayload), {}, {
|
|
11266
11276
|
isvalidated: true
|
|
11267
11277
|
}));
|
|
11268
11278
|
setvalidateemailmodal(false);
|
|
@@ -11357,7 +11367,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11357
11367
|
className: "".concat(formstyles.form_control),
|
|
11358
11368
|
value: validatephonenumberpayload.code,
|
|
11359
11369
|
onChange: function onChange(event) {
|
|
11360
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11370
|
+
setvalidatephonenumberpayload(_objectSpread$2i(_objectSpread$2i({}, validatephonenumberpayload), {}, {
|
|
11361
11371
|
code: event.target.value
|
|
11362
11372
|
}));
|
|
11363
11373
|
},
|
|
@@ -11384,12 +11394,12 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11384
11394
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
11385
11395
|
if (data.data.status) {
|
|
11386
11396
|
if (data.data.functype == 'sendcode') {
|
|
11387
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11397
|
+
setvalidatephonenumberpayload(_objectSpread$2i(_objectSpread$2i({}, validatephonenumberpayload), {}, {
|
|
11388
11398
|
step: 'verifycode'
|
|
11389
11399
|
}));
|
|
11390
11400
|
}
|
|
11391
11401
|
if (data.data.functype == 'verifycode') {
|
|
11392
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11402
|
+
setvalidatephonenumberpayload(_objectSpread$2i(_objectSpread$2i({}, validatephonenumberpayload), {}, {
|
|
11393
11403
|
isvalidated: true
|
|
11394
11404
|
}));
|
|
11395
11405
|
setvalidatephonenumbermodal(false);
|
|
@@ -11425,8 +11435,8 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11425
11435
|
}, validatephonenumberpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
11426
11436
|
};
|
|
11427
11437
|
|
|
11428
|
-
function ownKeys$
|
|
11429
|
-
function _objectSpread$
|
|
11438
|
+
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; }
|
|
11439
|
+
function _objectSpread$2h(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2h(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2h(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11430
11440
|
var Signup = function Signup(props) {
|
|
11431
11441
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
11432
11442
|
props.actions.CurrentSrcTypeContext;
|
|
@@ -11474,7 +11484,7 @@ var Signup = function Signup(props) {
|
|
|
11474
11484
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
11475
11485
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11476
11486
|
});
|
|
11477
|
-
setsectionproperties(_objectSpread$
|
|
11487
|
+
setsectionproperties(_objectSpread$2h({}, secpropobj));
|
|
11478
11488
|
}
|
|
11479
11489
|
}, [StatePagePropertiesContext]);
|
|
11480
11490
|
var loginstyles2 = {
|
|
@@ -11617,8 +11627,8 @@ var Signup = function Signup(props) {
|
|
|
11617
11627
|
}, SignupContent()));
|
|
11618
11628
|
};
|
|
11619
11629
|
|
|
11620
|
-
function ownKeys$
|
|
11621
|
-
function _objectSpread$
|
|
11630
|
+
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; }
|
|
11631
|
+
function _objectSpread$2g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2g(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11622
11632
|
var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
11623
11633
|
var _css;
|
|
11624
11634
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -11684,7 +11694,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11684
11694
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
11685
11695
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11686
11696
|
});
|
|
11687
|
-
setsectionproperties(_objectSpread$
|
|
11697
|
+
setsectionproperties(_objectSpread$2g({}, secpropobj));
|
|
11688
11698
|
}
|
|
11689
11699
|
}, [StatePagePropertiesContext]);
|
|
11690
11700
|
var loginstyles2 = {
|
|
@@ -11785,7 +11795,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11785
11795
|
className: "".concat(loginstyles2.form_control),
|
|
11786
11796
|
value: affsignuppayload.name,
|
|
11787
11797
|
onChange: function onChange(event) {
|
|
11788
|
-
setaffsignuppayload(_objectSpread$
|
|
11798
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11789
11799
|
name: event.target.value
|
|
11790
11800
|
}));
|
|
11791
11801
|
},
|
|
@@ -11801,7 +11811,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11801
11811
|
className: "".concat(loginstyles2.form_control),
|
|
11802
11812
|
value: affsignuppayload.email,
|
|
11803
11813
|
onChange: function onChange(event) {
|
|
11804
|
-
setaffsignuppayload(_objectSpread$
|
|
11814
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11805
11815
|
email: event.target.value
|
|
11806
11816
|
}));
|
|
11807
11817
|
},
|
|
@@ -11819,10 +11829,10 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11819
11829
|
autoFormat: true,
|
|
11820
11830
|
value: affsignuppayload.phonenumber,
|
|
11821
11831
|
onChange: function onChange(event, country) {
|
|
11822
|
-
var temp = _objectSpread$
|
|
11832
|
+
var temp = _objectSpread$2g({}, affsignuppayload);
|
|
11823
11833
|
temp.phonenumber = event;
|
|
11824
11834
|
temp.countrydialcode = country.dialCode;
|
|
11825
|
-
setaffsignuppayload(_objectSpread$
|
|
11835
|
+
setaffsignuppayload(_objectSpread$2g({}, temp));
|
|
11826
11836
|
// setaffsignuppayload({ ...affsignuppayload, phonenumber: event.target.value });
|
|
11827
11837
|
},
|
|
11828
11838
|
|
|
@@ -11838,7 +11848,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11838
11848
|
className: "".concat(loginstyles2.form_control),
|
|
11839
11849
|
value: affsignuppayload.ssn,
|
|
11840
11850
|
onChange: function onChange(event) {
|
|
11841
|
-
setaffsignuppayload(_objectSpread$
|
|
11851
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11842
11852
|
ssn: event.target.value
|
|
11843
11853
|
}));
|
|
11844
11854
|
},
|
|
@@ -11854,7 +11864,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11854
11864
|
className: "".concat(loginstyles2.form_control),
|
|
11855
11865
|
value: affsignuppayload.password,
|
|
11856
11866
|
onChange: function onChange(event) {
|
|
11857
|
-
setaffsignuppayload(_objectSpread$
|
|
11867
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11858
11868
|
password: event.target.value
|
|
11859
11869
|
}));
|
|
11860
11870
|
},
|
|
@@ -11870,7 +11880,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11870
11880
|
className: "".concat(loginstyles2.form_control),
|
|
11871
11881
|
value: affsignuppayload.confirmpassword,
|
|
11872
11882
|
onChange: function onChange(event) {
|
|
11873
|
-
setaffsignuppayload(_objectSpread$
|
|
11883
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11874
11884
|
confirmpassword: event.target.value
|
|
11875
11885
|
}));
|
|
11876
11886
|
},
|
|
@@ -11923,8 +11933,8 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11923
11933
|
}), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.signupbtn_contenten : sectionproperties.signupbtn_contentar)))))))));
|
|
11924
11934
|
};
|
|
11925
11935
|
|
|
11926
|
-
function ownKeys$
|
|
11927
|
-
function _objectSpread$
|
|
11936
|
+
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; }
|
|
11937
|
+
function _objectSpread$2f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2f(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11928
11938
|
var AccountInformation = function AccountInformation(props) {
|
|
11929
11939
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
11930
11940
|
var lang = props.actions.lang;
|
|
@@ -11951,7 +11961,7 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
11951
11961
|
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) {
|
|
11952
11962
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11953
11963
|
});
|
|
11954
|
-
setsectionproperties(_objectSpread$
|
|
11964
|
+
setsectionproperties(_objectSpread$2f({}, secpropobj));
|
|
11955
11965
|
}, [props.actions.StatePagePropertiesContext]);
|
|
11956
11966
|
React.useEffect(function () {
|
|
11957
11967
|
var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
@@ -12113,8 +12123,8 @@ var css_248z$F = ".tabs-module_tabs__36dMY {\n position: relative;\n heigh
|
|
|
12113
12123
|
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"};
|
|
12114
12124
|
styleInject(css_248z$F);
|
|
12115
12125
|
|
|
12116
|
-
function ownKeys$
|
|
12117
|
-
function _objectSpread$
|
|
12126
|
+
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; }
|
|
12127
|
+
function _objectSpread$2e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2e(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12118
12128
|
var Policies = function Policies(props) {
|
|
12119
12129
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchInstitutePolici, _fetchInstitutePolici2, _fetchInstitutePolici3;
|
|
12120
12130
|
var _useState = React.useState(''),
|
|
@@ -12145,7 +12155,7 @@ var Policies = function Policies(props) {
|
|
|
12145
12155
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
12146
12156
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12147
12157
|
});
|
|
12148
|
-
setsectionproperties(_objectSpread$
|
|
12158
|
+
setsectionproperties(_objectSpread$2e({}, secpropobj));
|
|
12149
12159
|
}
|
|
12150
12160
|
}, [StatePagePropertiesContext]);
|
|
12151
12161
|
React.useEffect(function () {
|
|
@@ -12158,9 +12168,9 @@ var Policies = function Policies(props) {
|
|
|
12158
12168
|
}
|
|
12159
12169
|
}, []);
|
|
12160
12170
|
React.useEffect(function () {
|
|
12161
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
12171
|
+
var tempFetchQueriesEngineContext = _objectSpread$2e({}, FetchQueriesEngineContext);
|
|
12162
12172
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
12163
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
12173
|
+
setFetchQueriesEngineContext(_objectSpread$2e({}, tempFetchQueriesEngineContext));
|
|
12164
12174
|
}, []);
|
|
12165
12175
|
var _useState7 = React.useState([]),
|
|
12166
12176
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
@@ -12390,8 +12400,8 @@ var css_248z$E = ".cart-module_cartslider_container__idend {\n transition: 0.
|
|
|
12390
12400
|
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"};
|
|
12391
12401
|
styleInject(css_248z$E);
|
|
12392
12402
|
|
|
12393
|
-
function ownKeys$
|
|
12394
|
-
function _objectSpread$
|
|
12403
|
+
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; }
|
|
12404
|
+
function _objectSpread$2d(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2d(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2d(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12395
12405
|
var CartSlider = function CartSlider(props) {
|
|
12396
12406
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12;
|
|
12397
12407
|
var lang = props.actions.lang;
|
|
@@ -12457,7 +12467,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
12457
12467
|
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) {
|
|
12458
12468
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12459
12469
|
});
|
|
12460
|
-
setsectionproperties(_objectSpread$
|
|
12470
|
+
setsectionproperties(_objectSpread$2d({}, secpropobj));
|
|
12461
12471
|
}, [CurrentPageId]);
|
|
12462
12472
|
React.useEffect(function () {
|
|
12463
12473
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -12467,7 +12477,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
12467
12477
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
12468
12478
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12469
12479
|
});
|
|
12470
|
-
setsectionproperties(_objectSpread$
|
|
12480
|
+
setsectionproperties(_objectSpread$2d({}, secpropobj));
|
|
12471
12481
|
}
|
|
12472
12482
|
}
|
|
12473
12483
|
}, [StatePagePropertiesContext]);
|
|
@@ -13034,8 +13044,8 @@ var CartSlider = function CartSlider(props) {
|
|
|
13034
13044
|
}, langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar))))))))));
|
|
13035
13045
|
};
|
|
13036
13046
|
|
|
13037
|
-
function ownKeys$
|
|
13038
|
-
function _objectSpread$
|
|
13047
|
+
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; }
|
|
13048
|
+
function _objectSpread$2c(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2c(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2c(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13039
13049
|
var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
13040
13050
|
var _useState = React.useState(''),
|
|
13041
13051
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
@@ -13079,7 +13089,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
13079
13089
|
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) {
|
|
13080
13090
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13081
13091
|
});
|
|
13082
|
-
setsectionproperties(_objectSpread$
|
|
13092
|
+
setsectionproperties(_objectSpread$2c({}, secpropobj));
|
|
13083
13093
|
}, [CurrentPageId]);
|
|
13084
13094
|
React.useEffect(function () {
|
|
13085
13095
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -13089,7 +13099,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
13089
13099
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
13090
13100
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13091
13101
|
});
|
|
13092
|
-
setsectionproperties(_objectSpread$
|
|
13102
|
+
setsectionproperties(_objectSpread$2c({}, secpropobj));
|
|
13093
13103
|
}
|
|
13094
13104
|
}
|
|
13095
13105
|
}, [StatePagePropertiesContext]);
|
|
@@ -13317,8 +13327,8 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
13317
13327
|
}, CategoriesDropdown()));
|
|
13318
13328
|
};
|
|
13319
13329
|
|
|
13320
|
-
function ownKeys$
|
|
13321
|
-
function _objectSpread$
|
|
13330
|
+
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; }
|
|
13331
|
+
function _objectSpread$2b(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2b(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2b(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13322
13332
|
var OrderSuccess = function OrderSuccess(props) {
|
|
13323
13333
|
var _props$actions2;
|
|
13324
13334
|
props.actions.lang;
|
|
@@ -13368,7 +13378,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
13368
13378
|
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) {
|
|
13369
13379
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13370
13380
|
});
|
|
13371
|
-
setsectionproperties(_objectSpread$
|
|
13381
|
+
setsectionproperties(_objectSpread$2b({}, secpropobj));
|
|
13372
13382
|
}, [props === null || props === void 0 || (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
13373
13383
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
13374
13384
|
var ordersuccessstyle = {
|
|
@@ -13465,8 +13475,8 @@ var css_248z$D = ".filter-module_timeline__ROm9Q .filter-module_border_left_line
|
|
|
13465
13475
|
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"};
|
|
13466
13476
|
styleInject(css_248z$D);
|
|
13467
13477
|
|
|
13468
|
-
function ownKeys$
|
|
13469
|
-
function _objectSpread$
|
|
13478
|
+
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; }
|
|
13479
|
+
function _objectSpread$2a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2a(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13470
13480
|
var Select$1 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
13471
13481
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
13472
13482
|
});
|
|
@@ -13606,11 +13616,11 @@ var Filter$1 = function Filter(props) {
|
|
|
13606
13616
|
}
|
|
13607
13617
|
timeoutRef.current = setTimeout(function () {
|
|
13608
13618
|
if (raterangevalue.min != 0 || raterangevalue.max != 5) {
|
|
13609
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13619
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13610
13620
|
tempfetchproductsfilerobjcontext.minrate = raterangevalue.min;
|
|
13611
13621
|
tempfetchproductsfilerobjcontext.maxrate = raterangevalue.max;
|
|
13612
13622
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
13613
|
-
setProductFilterObjContext(_objectSpread$
|
|
13623
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13614
13624
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
13615
13625
|
}
|
|
13616
13626
|
}, 500);
|
|
@@ -13696,33 +13706,33 @@ var Filter$1 = function Filter(props) {
|
|
|
13696
13706
|
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcategories, instcollections]);
|
|
13697
13707
|
React.useEffect(function () {
|
|
13698
13708
|
if (productfeatuesarr.length != 0) {
|
|
13699
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13709
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13700
13710
|
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
13701
|
-
setProductFilterObjContext(_objectSpread$
|
|
13711
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13702
13712
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13703
13713
|
}
|
|
13704
13714
|
}, [productfeatuesarr]);
|
|
13705
13715
|
React.useEffect(function () {
|
|
13706
13716
|
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
13707
13717
|
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
13708
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
13718
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
13709
13719
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
13710
13720
|
tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
|
|
13711
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
13721
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
13712
13722
|
}
|
|
13713
13723
|
}
|
|
13714
13724
|
}, [fetchTabexStatesQueryContext.isSuccess]);
|
|
13715
13725
|
var filterupdater = function filterupdater() {
|
|
13716
13726
|
setTimeout(function () {
|
|
13717
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
13727
|
+
var tempFetchQueriesEngineContext = _objectSpread$2a({}, FetchQueriesEngineContext);
|
|
13718
13728
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
13719
13729
|
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
13720
13730
|
}, 100);
|
|
13721
13731
|
if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
|
|
13722
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
13732
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
13723
13733
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
13724
13734
|
tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
|
|
13725
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
13735
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
13726
13736
|
}
|
|
13727
13737
|
if (instfilters.length != 0) {
|
|
13728
13738
|
var _ProductFilterObjCont3;
|
|
@@ -13784,7 +13794,7 @@ var Filter$1 = function Filter(props) {
|
|
|
13784
13794
|
}
|
|
13785
13795
|
};
|
|
13786
13796
|
var setfilterfunc = function setfilterfunc(valueid, valueindex, mainparentindex, type) {
|
|
13787
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13797
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13788
13798
|
if (type == 'clearfilters') {
|
|
13789
13799
|
tempfetchproductsfilerobjcontext.FilterOptions = [];
|
|
13790
13800
|
} else {
|
|
@@ -13808,14 +13818,14 @@ var Filter$1 = function Filter(props) {
|
|
|
13808
13818
|
tempfetchproductsfilerobjcontext.isfilter = 1;
|
|
13809
13819
|
}
|
|
13810
13820
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
13811
|
-
setProductFilterObjContext(_objectSpread$
|
|
13821
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13812
13822
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13813
13823
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
13814
13824
|
};
|
|
13815
13825
|
|
|
13816
13826
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
13817
13827
|
var _tempfetchproductsfil2;
|
|
13818
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13828
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13819
13829
|
var CollectionExists = false;
|
|
13820
13830
|
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil2 = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil2 === void 0 || _tempfetchproductsfil2.forEach(function (filteritem, filterindex) {
|
|
13821
13831
|
if (filteritem == collectionid) {
|
|
@@ -13837,7 +13847,7 @@ var Filter$1 = function Filter(props) {
|
|
|
13837
13847
|
}
|
|
13838
13848
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
13839
13849
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
13840
|
-
setProductFilterObjContext(_objectSpread$
|
|
13850
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13841
13851
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13842
13852
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
13843
13853
|
};
|
|
@@ -14429,14 +14439,14 @@ var Filter$1 = function Filter(props) {
|
|
|
14429
14439
|
return option.id == ProductFilterObjContext.countryid;
|
|
14430
14440
|
}),
|
|
14431
14441
|
onChange: function onChange(option) {
|
|
14432
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
14442
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
14433
14443
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
14434
14444
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
14435
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
14436
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14445
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
14446
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14437
14447
|
tempfetchproductsfilerobjcontext.countryid = option.id;
|
|
14438
14448
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14439
|
-
setProductFilterObjContext(_objectSpread$
|
|
14449
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14440
14450
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14441
14451
|
},
|
|
14442
14452
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14473,14 +14483,14 @@ var Filter$1 = function Filter(props) {
|
|
|
14473
14483
|
return option.id == ProductFilterObjContext.stateid;
|
|
14474
14484
|
}),
|
|
14475
14485
|
onChange: function onChange(option) {
|
|
14476
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
14486
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
14477
14487
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
14478
14488
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
14479
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
14480
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14489
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
14490
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14481
14491
|
tempfetchproductsfilerobjcontext.stateid = option.id;
|
|
14482
14492
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14483
|
-
setProductFilterObjContext(_objectSpread$
|
|
14493
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14484
14494
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14485
14495
|
},
|
|
14486
14496
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14517,10 +14527,10 @@ var Filter$1 = function Filter(props) {
|
|
|
14517
14527
|
return option.id == ProductFilterObjContext.cityid;
|
|
14518
14528
|
}),
|
|
14519
14529
|
onChange: function onChange(option) {
|
|
14520
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14530
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14521
14531
|
tempfetchproductsfilerobjcontext.cityid = option.id;
|
|
14522
14532
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14523
|
-
setProductFilterObjContext(_objectSpread$
|
|
14533
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14524
14534
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14525
14535
|
},
|
|
14526
14536
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14624,14 +14634,14 @@ var Filter$1 = function Filter(props) {
|
|
|
14624
14634
|
color: ischecked ? sectionproperties.activecat_color : ''
|
|
14625
14635
|
},
|
|
14626
14636
|
onClick: function onClick() {
|
|
14627
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14637
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14628
14638
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14629
14639
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14630
14640
|
} else {
|
|
14631
14641
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14632
14642
|
}
|
|
14633
14643
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14634
|
-
setProductFilterObjContext(_objectSpread$
|
|
14644
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14635
14645
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14636
14646
|
setsortbycontext(valueitem.name);
|
|
14637
14647
|
}
|
|
@@ -14640,16 +14650,12 @@ var Filter$1 = function Filter(props) {
|
|
|
14640
14650
|
}))))), sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection == 'Horizontal' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14641
14651
|
"class": "row m-0 w-100"
|
|
14642
14652
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14643
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start mb-3"
|
|
14644
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14645
|
-
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
|
|
14646
|
-
}, langdetect == 'en' ? sectionproperties.filtercollectiontitle_en : sectionproperties.filtercollectiontitle_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14647
14653
|
"class": "col-lg-12 p-0 mb-4"
|
|
14648
14654
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
14649
14655
|
transitionBehavior: 'auto',
|
|
14650
14656
|
wrapperClassName: '',
|
|
14651
14657
|
itemClassName: 'filtercard',
|
|
14652
|
-
scrollContainerClassName: '
|
|
14658
|
+
scrollContainerClassName: 'filterscrollmenuclasssubscrollbar'
|
|
14653
14659
|
}, collectionstobevisible.map(function (item, index) {
|
|
14654
14660
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14655
14661
|
className: filter_cssstyles.timeline_text + ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100 cursor-pointer ',
|
|
@@ -14783,14 +14789,14 @@ var Filter$1 = function Filter(props) {
|
|
|
14783
14789
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14784
14790
|
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 ',
|
|
14785
14791
|
onClick: function onClick() {
|
|
14786
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14792
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14787
14793
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14788
14794
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14789
14795
|
} else {
|
|
14790
14796
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14791
14797
|
}
|
|
14792
14798
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14793
|
-
setProductFilterObjContext(_objectSpread$
|
|
14799
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14794
14800
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14795
14801
|
}
|
|
14796
14802
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -14825,7 +14831,7 @@ var Filter$1 = function Filter(props) {
|
|
|
14825
14831
|
minValue: 0,
|
|
14826
14832
|
value: raterangevalue,
|
|
14827
14833
|
onChange: function onChange(value) {
|
|
14828
|
-
setraterangevalue(_objectSpread$
|
|
14834
|
+
setraterangevalue(_objectSpread$2a({}, value));
|
|
14829
14835
|
}
|
|
14830
14836
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14831
14837
|
className: "col-lg-9 col-md-9 col-sm-9 d-flex align-items-center d-md-none"
|
|
@@ -14968,13 +14974,13 @@ var Filter$1 = function Filter(props) {
|
|
|
14968
14974
|
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 ',
|
|
14969
14975
|
onClick: function onClick() {
|
|
14970
14976
|
// setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
14971
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14977
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14972
14978
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14973
14979
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14974
14980
|
} else {
|
|
14975
14981
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14976
14982
|
}
|
|
14977
|
-
setProductFilterObjContext(_objectSpread$
|
|
14983
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14978
14984
|
}
|
|
14979
14985
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14980
14986
|
className: " ".concat(ischecked ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
|
|
@@ -15006,8 +15012,547 @@ var Filter$1 = function Filter(props) {
|
|
|
15006
15012
|
}, DynamicFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters())))))));
|
|
15007
15013
|
};
|
|
15008
15014
|
|
|
15009
|
-
function ownKeys$
|
|
15010
|
-
function _objectSpread$
|
|
15015
|
+
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; }
|
|
15016
|
+
function _objectSpread$29(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$29(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$29(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15017
|
+
var VariantFilter = function VariantFilter(props) {
|
|
15018
|
+
var _css;
|
|
15019
|
+
var lang = props.actions.lang;
|
|
15020
|
+
var langdetect = props.actions.langdetect;
|
|
15021
|
+
props.actions.productfiltercontext;
|
|
15022
|
+
props.actions.setproductfiltercontext;
|
|
15023
|
+
var ProductFilterObjContext = props.actions.ProductFilterObjContext;
|
|
15024
|
+
var setProductFilterObjContext = props.actions.setProductFilterObjContext;
|
|
15025
|
+
props.actions.authdetailsContext;
|
|
15026
|
+
var fetchproductoptionsQueryContext = props.actions.fetchproductoptionsQueryContext;
|
|
15027
|
+
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
15028
|
+
var routingcountext = props.actions.routingcountext;
|
|
15029
|
+
var fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
15030
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
15031
|
+
props.actions.ikimagecredcontext;
|
|
15032
|
+
var _useState = React.useState({
|
|
15033
|
+
min: 0,
|
|
15034
|
+
max: 10000
|
|
15035
|
+
}),
|
|
15036
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
15037
|
+
_useState2[0];
|
|
15038
|
+
_useState2[1];
|
|
15039
|
+
var _useState3 = React.useState([]),
|
|
15040
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
15041
|
+
productfeatuesarr = _useState4[0];
|
|
15042
|
+
_useState4[1];
|
|
15043
|
+
props.actions.fetchTabexCountriesQueryContext;
|
|
15044
|
+
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
15045
|
+
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
15046
|
+
props.actions.fetchTabexCitiesQueryContext;
|
|
15047
|
+
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
15048
|
+
var FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
|
|
15049
|
+
var setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
|
|
15050
|
+
props.actions.fetchProductFeaturesQueryContext;
|
|
15051
|
+
var _useState5 = React.useState(''),
|
|
15052
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
15053
|
+
sectionproperties = _useState6[0],
|
|
15054
|
+
setsectionproperties = _useState6[1];
|
|
15055
|
+
// const [instfilters, setinstfilters] = useState([...authdetailsContext.instinfo.instfilters]);
|
|
15056
|
+
var _useState7 = React.useState([]),
|
|
15057
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
15058
|
+
instfilters = _useState8[0],
|
|
15059
|
+
setinstfilters = _useState8[1];
|
|
15060
|
+
var _useState9 = React.useState([]),
|
|
15061
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2);
|
|
15062
|
+
_useState10[0];
|
|
15063
|
+
var setcollectionstobevisible = _useState10[1];
|
|
15064
|
+
var _useState11 = React.useState([]),
|
|
15065
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
15066
|
+
instcollections = _useState12[0],
|
|
15067
|
+
setinstcollections = _useState12[1];
|
|
15068
|
+
var _useState13 = React.useState([]),
|
|
15069
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
15070
|
+
instcategories = _useState14[0],
|
|
15071
|
+
setinstcategories = _useState14[1];
|
|
15072
|
+
// const [sortby, setSortby] = useState('Sort by');
|
|
15073
|
+
var _useState15 = React.useState({
|
|
15074
|
+
min: 0,
|
|
15075
|
+
max: 5
|
|
15076
|
+
}),
|
|
15077
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
15078
|
+
raterangevalue = _useState16[0];
|
|
15079
|
+
_useState16[1];
|
|
15080
|
+
var timeoutRef = React__default["default"].useRef(null);
|
|
15081
|
+
var _useState17 = React.useState(''),
|
|
15082
|
+
_useState18 = _slicedToArray__default["default"](_useState17, 2);
|
|
15083
|
+
_useState18[0];
|
|
15084
|
+
_useState18[1];
|
|
15085
|
+
var _useState19 = React.useState([{
|
|
15086
|
+
payloadvalue: 'sortprice',
|
|
15087
|
+
name: lang.price,
|
|
15088
|
+
filterarray: [{
|
|
15089
|
+
name: lang.pricehightolow,
|
|
15090
|
+
value: 'hightolow',
|
|
15091
|
+
isfilterselected: false
|
|
15092
|
+
}, {
|
|
15093
|
+
name: lang.pricelowtohigh,
|
|
15094
|
+
value: 'lowtohigh',
|
|
15095
|
+
isfilterselected: false
|
|
15096
|
+
}]
|
|
15097
|
+
}, {
|
|
15098
|
+
payloadvalue: 'sortdates',
|
|
15099
|
+
name: lang.dates,
|
|
15100
|
+
filterarray: [{
|
|
15101
|
+
name: lang.recent,
|
|
15102
|
+
value: 'recent',
|
|
15103
|
+
isfilterselected: false
|
|
15104
|
+
}, {
|
|
15105
|
+
name: lang.oldest,
|
|
15106
|
+
value: 'old',
|
|
15107
|
+
isfilterselected: false
|
|
15108
|
+
}]
|
|
15109
|
+
}]),
|
|
15110
|
+
_useState20 = _slicedToArray__default["default"](_useState19, 2);
|
|
15111
|
+
_useState20[0];
|
|
15112
|
+
_useState20[1];
|
|
15113
|
+
React.useEffect(function () {
|
|
15114
|
+
filterupdater();
|
|
15115
|
+
}, []);
|
|
15116
|
+
React.useEffect(function () {
|
|
15117
|
+
if (fetchproductoptionsQueryContext.isSuccess) {
|
|
15118
|
+
var _fetchproductoptionsQ;
|
|
15119
|
+
setinstfilters(_toConsumableArray__default["default"](fetchproductoptionsQueryContext === null || fetchproductoptionsQueryContext === void 0 || (_fetchproductoptionsQ = fetchproductoptionsQueryContext.data) === null || _fetchproductoptionsQ === void 0 || (_fetchproductoptionsQ = _fetchproductoptionsQ.data) === null || _fetchproductoptionsQ === void 0 ? void 0 : _fetchproductoptionsQ.productoptions));
|
|
15120
|
+
}
|
|
15121
|
+
}, [fetchproductoptionsQueryContext.isSuccess]);
|
|
15122
|
+
React.useEffect(function () {
|
|
15123
|
+
if (fetchCategoriesQueryContext.isSuccess) {
|
|
15124
|
+
var _fetchCategoriesQuery;
|
|
15125
|
+
setinstcategories(_toConsumableArray__default["default"](fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : _fetchCategoriesQuery.categories));
|
|
15126
|
+
}
|
|
15127
|
+
}, [fetchCategoriesQueryContext.isSuccess]);
|
|
15128
|
+
React.useEffect(function () {
|
|
15129
|
+
if (fetchcollectionsQueryContext.isSuccess) {
|
|
15130
|
+
var _fetchcollectionsQuer;
|
|
15131
|
+
setinstcollections(_toConsumableArray__default["default"](fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer === void 0 || (_fetchcollectionsQuer = _fetchcollectionsQuer.data) === null || _fetchcollectionsQuer === void 0 ? void 0 : _fetchcollectionsQuer.collections));
|
|
15132
|
+
}
|
|
15133
|
+
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
15134
|
+
// useEffect(() => {
|
|
15135
|
+
// // setinstfilters([...authdetailsContext.instinfo.instfilters]);
|
|
15136
|
+
// // setinstcollections([...authdetailsContext.instinfo.instcollections]);
|
|
15137
|
+
// // setinstcategories([...authdetailsContext?.instinfo?.instcategories]);
|
|
15138
|
+
// }, [authdetailsContext]);
|
|
15139
|
+
React.useEffect(function () {
|
|
15140
|
+
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
15141
|
+
setsectionproperties(props.sectionpropertiesprops);
|
|
15142
|
+
}
|
|
15143
|
+
}, [props.sectionpropertiesprops]);
|
|
15144
|
+
React.useEffect(function () {
|
|
15145
|
+
filterupdater();
|
|
15146
|
+
}, [ProductFilterObjContext]);
|
|
15147
|
+
React__default["default"].useEffect(function () {
|
|
15148
|
+
if (timeoutRef.current !== null) {
|
|
15149
|
+
clearTimeout(timeoutRef.current);
|
|
15150
|
+
}
|
|
15151
|
+
timeoutRef.current = setTimeout(function () {
|
|
15152
|
+
if (raterangevalue.min != 0 || raterangevalue.max != 5) {
|
|
15153
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15154
|
+
tempfetchproductsfilerobjcontext.minrate = raterangevalue.min;
|
|
15155
|
+
tempfetchproductsfilerobjcontext.maxrate = raterangevalue.max;
|
|
15156
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
15157
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15158
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15159
|
+
}
|
|
15160
|
+
}, 500);
|
|
15161
|
+
}, [raterangevalue]);
|
|
15162
|
+
React.useEffect(function () {
|
|
15163
|
+
if (fetchCategoriesQueryContext.isSuccess && fetchcollectionsQueryContext.isSuccess) {
|
|
15164
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.filterretreivetype) == 'Depend on chosen parent group') {
|
|
15165
|
+
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)) {
|
|
15166
|
+
var _parentidsfound;
|
|
15167
|
+
var collectiontobevisible = [];
|
|
15168
|
+
var parentidsfound = [];
|
|
15169
|
+
if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
|
|
15170
|
+
parentidsfound = ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections;
|
|
15171
|
+
} else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
|
|
15172
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15173
|
+
var _ProductFilterObjCont;
|
|
15174
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont = ProductFilterObjContext.collections) === null || _ProductFilterObjCont === void 0 || _ProductFilterObjCont.forEach(function (colitem2, colindex2) {
|
|
15175
|
+
if (catitem.categoryid == colitem2) {
|
|
15176
|
+
var _catitem$parentcollet;
|
|
15177
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet = catitem.parentcolletions) === null || _catitem$parentcollet === void 0 || _catitem$parentcollet.forEach(function (parentcolitem, parentcolindex) {
|
|
15178
|
+
parentidsfound.push(parentcolitem.parentcollectionid);
|
|
15179
|
+
});
|
|
15180
|
+
}
|
|
15181
|
+
});
|
|
15182
|
+
});
|
|
15183
|
+
} else {
|
|
15184
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15185
|
+
var _catitem$parentcollet2;
|
|
15186
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet2 = catitem.parentcolletions) === null || _catitem$parentcollet2 === void 0 || _catitem$parentcollet2.forEach(function (parentcolitem, parentcolindex) {
|
|
15187
|
+
var _parentcolitem$collec;
|
|
15188
|
+
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec = parentcolitem.collections) === null || _parentcolitem$collec === void 0 || _parentcolitem$collec.forEach(function (colitem, colindex) {
|
|
15189
|
+
var _ProductFilterObjCont2;
|
|
15190
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont2 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont2 === void 0 || _ProductFilterObjCont2.forEach(function (colitem2, colindex2) {
|
|
15191
|
+
if (colitem.collectionid == colitem2) {
|
|
15192
|
+
parentidsfound.push(parentcolitem.parentcollectionid);
|
|
15193
|
+
}
|
|
15194
|
+
});
|
|
15195
|
+
});
|
|
15196
|
+
});
|
|
15197
|
+
});
|
|
15198
|
+
}
|
|
15199
|
+
parentidsfound = parentidsfound.filter(function (val, id, array) {
|
|
15200
|
+
return array.indexOf(val) == id;
|
|
15201
|
+
});
|
|
15202
|
+
if (((_parentidsfound = parentidsfound) === null || _parentidsfound === void 0 ? void 0 : _parentidsfound.length) != 0) {
|
|
15203
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15204
|
+
var _catitem$parentcollet3;
|
|
15205
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet3 = catitem.parentcolletions) === null || _catitem$parentcollet3 === void 0 || _catitem$parentcollet3.forEach(function (parentcolitem, parentcolindex) {
|
|
15206
|
+
var _parentidsfound2;
|
|
15207
|
+
(_parentidsfound2 = parentidsfound) === null || _parentidsfound2 === void 0 || _parentidsfound2.forEach(function (parentidfounditem, parentidfoundindex) {
|
|
15208
|
+
if (parentidfounditem == (parentcolitem === null || parentcolitem === void 0 ? void 0 : parentcolitem.parentcollectionid)) {
|
|
15209
|
+
var _parentcolitem$collec2;
|
|
15210
|
+
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec2 = parentcolitem.collections) === null || _parentcolitem$collec2 === void 0 || _parentcolitem$collec2.forEach(function (colitem, colindex) {
|
|
15211
|
+
var iscolexists = false;
|
|
15212
|
+
collectiontobevisible === null || collectiontobevisible === void 0 || collectiontobevisible.forEach(function (colitemex, colindexex) {
|
|
15213
|
+
if (colitemex.collectionid == colitem.collectionid) {
|
|
15214
|
+
iscolexists = true;
|
|
15215
|
+
}
|
|
15216
|
+
});
|
|
15217
|
+
if (iscolexists == false) {
|
|
15218
|
+
collectiontobevisible.push(colitem);
|
|
15219
|
+
}
|
|
15220
|
+
});
|
|
15221
|
+
}
|
|
15222
|
+
});
|
|
15223
|
+
});
|
|
15224
|
+
});
|
|
15225
|
+
if ((collectiontobevisible === null || collectiontobevisible === void 0 ? void 0 : collectiontobevisible.length) != 0) {
|
|
15226
|
+
setcollectionstobevisible(collectiontobevisible);
|
|
15227
|
+
} else {
|
|
15228
|
+
setcollectionstobevisible(instcollections);
|
|
15229
|
+
}
|
|
15230
|
+
} else {
|
|
15231
|
+
setcollectionstobevisible(instcollections);
|
|
15232
|
+
}
|
|
15233
|
+
} else {
|
|
15234
|
+
setcollectionstobevisible(instcollections);
|
|
15235
|
+
}
|
|
15236
|
+
} else {
|
|
15237
|
+
setcollectionstobevisible(instcollections);
|
|
15238
|
+
}
|
|
15239
|
+
}
|
|
15240
|
+
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcategories, instcollections]);
|
|
15241
|
+
React.useEffect(function () {
|
|
15242
|
+
if (productfeatuesarr.length != 0) {
|
|
15243
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15244
|
+
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
15245
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15246
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15247
|
+
}
|
|
15248
|
+
}, [productfeatuesarr]);
|
|
15249
|
+
React.useEffect(function () {
|
|
15250
|
+
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
15251
|
+
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
15252
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
15253
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
15254
|
+
tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
|
|
15255
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
15256
|
+
}
|
|
15257
|
+
}
|
|
15258
|
+
}, [fetchTabexStatesQueryContext.isSuccess]);
|
|
15259
|
+
var filterupdater = function filterupdater() {
|
|
15260
|
+
setTimeout(function () {
|
|
15261
|
+
var tempFetchQueriesEngineContext = _objectSpread$29({}, FetchQueriesEngineContext);
|
|
15262
|
+
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
15263
|
+
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
15264
|
+
}, 100);
|
|
15265
|
+
if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
|
|
15266
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
15267
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
15268
|
+
tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
|
|
15269
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
15270
|
+
}
|
|
15271
|
+
if (instfilters.length != 0) {
|
|
15272
|
+
var _ProductFilterObjCont3;
|
|
15273
|
+
var tempinstfilters = _toConsumableArray__default["default"](instfilters);
|
|
15274
|
+
tempinstfilters === null || tempinstfilters === void 0 || tempinstfilters.forEach(function (instfilteritem, instfilterindex) {
|
|
15275
|
+
instfilteritem.productvaluesfilter.forEach(function (valefilteritem, valefilteritemindex) {
|
|
15276
|
+
valefilteritem.isfilterselected = false;
|
|
15277
|
+
});
|
|
15278
|
+
});
|
|
15279
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont3 = ProductFilterObjContext.FilterOptions) === null || _ProductFilterObjCont3 === void 0 || _ProductFilterObjCont3.forEach(function (filteritem, filterindex) {
|
|
15280
|
+
tempinstfilters === null || tempinstfilters === void 0 || tempinstfilters.forEach(function (instfilteritem, instfilterindex) {
|
|
15281
|
+
var _instfilteritem$produ;
|
|
15282
|
+
instfilteritem === null || instfilteritem === void 0 || (_instfilteritem$produ = instfilteritem.productvaluesfilter) === null || _instfilteritem$produ === void 0 || _instfilteritem$produ.forEach(function (valefilteritem, valefilteritemindex) {
|
|
15283
|
+
if (filteritem.valueid == valefilteritem.valueid) {
|
|
15284
|
+
valefilteritem.isfilterselected = true;
|
|
15285
|
+
}
|
|
15286
|
+
});
|
|
15287
|
+
});
|
|
15288
|
+
});
|
|
15289
|
+
setinstfilters(_toConsumableArray__default["default"](tempinstfilters));
|
|
15290
|
+
}
|
|
15291
|
+
if (instcategories.length != 0) {
|
|
15292
|
+
var _ProductFilterObjCont4;
|
|
15293
|
+
var tempInstcategories = _toConsumableArray__default["default"](instcategories);
|
|
15294
|
+
tempInstcategories.forEach(function (catitem, catindex) {
|
|
15295
|
+
catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
15296
|
+
parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
15297
|
+
colitem.isfilterselected = false;
|
|
15298
|
+
});
|
|
15299
|
+
});
|
|
15300
|
+
});
|
|
15301
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont4 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont4 === void 0 || _ProductFilterObjCont4.forEach(function (filteritem, filterindex) {
|
|
15302
|
+
tempInstcategories.forEach(function (catitem, catindex) {
|
|
15303
|
+
catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
15304
|
+
parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
15305
|
+
if (colitem.collectionid == filteritem) {
|
|
15306
|
+
colitem.isfilterselected = true;
|
|
15307
|
+
}
|
|
15308
|
+
});
|
|
15309
|
+
});
|
|
15310
|
+
});
|
|
15311
|
+
});
|
|
15312
|
+
setinstcategories(_toConsumableArray__default["default"](tempInstcategories));
|
|
15313
|
+
}
|
|
15314
|
+
if (instcollections.length != 0) {
|
|
15315
|
+
var _ProductFilterObjCont5;
|
|
15316
|
+
var tempInstcollections = _toConsumableArray__default["default"](instcollections);
|
|
15317
|
+
tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
|
|
15318
|
+
instfilteritem.isfilterselected = false;
|
|
15319
|
+
});
|
|
15320
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont5 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont5 === void 0 || _ProductFilterObjCont5.forEach(function (filteritem, filterindex) {
|
|
15321
|
+
tempInstcollections === null || tempInstcollections === void 0 || tempInstcollections.forEach(function (instfilteritem, instfilterindex) {
|
|
15322
|
+
if (instfilteritem.collectionid == filteritem) {
|
|
15323
|
+
instfilteritem.isfilterselected = true;
|
|
15324
|
+
}
|
|
15325
|
+
});
|
|
15326
|
+
});
|
|
15327
|
+
setinstcollections(_toConsumableArray__default["default"](tempInstcollections));
|
|
15328
|
+
}
|
|
15329
|
+
};
|
|
15330
|
+
var setfilterfunc = function setfilterfunc(valueid, valueindex, mainparentindex, type) {
|
|
15331
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15332
|
+
if (type == 'clearfilters') {
|
|
15333
|
+
tempfetchproductsfilerobjcontext.FilterOptions = [];
|
|
15334
|
+
} else {
|
|
15335
|
+
var _tempfetchproductsfil;
|
|
15336
|
+
var FilterExists = false;
|
|
15337
|
+
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.FilterOptions) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
|
|
15338
|
+
if (filteritem.valueid == valueid) {
|
|
15339
|
+
FilterExists = true;
|
|
15340
|
+
tempfetchproductsfilerobjcontext.FilterOptions.splice(filterindex, 1);
|
|
15341
|
+
}
|
|
15342
|
+
});
|
|
15343
|
+
if (!FilterExists) {
|
|
15344
|
+
tempfetchproductsfilerobjcontext.FilterOptions.push({
|
|
15345
|
+
valueid: valueid
|
|
15346
|
+
});
|
|
15347
|
+
}
|
|
15348
|
+
}
|
|
15349
|
+
if (tempfetchproductsfilerobjcontext.FilterOptions.length == 0) {
|
|
15350
|
+
tempfetchproductsfilerobjcontext.isfilter = 0;
|
|
15351
|
+
} else {
|
|
15352
|
+
tempfetchproductsfilerobjcontext.isfilter = 1;
|
|
15353
|
+
}
|
|
15354
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
15355
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15356
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15357
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15358
|
+
};
|
|
15359
|
+
var filter_cssstyles = {
|
|
15360
|
+
form_control: glamor.css((_css = {
|
|
15361
|
+
position: 'relative',
|
|
15362
|
+
display: 'flex',
|
|
15363
|
+
alignItems: 'center'
|
|
15364
|
+
}, _defineProperty__default["default"](_css, "display", 'block'), _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "padding", '0 30px'), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, "fontWeight", 500), _defineProperty__default["default"](_css, "border", '1px solid #ccc'), _defineProperty__default["default"](_css, "borderRadius", '5px'), _defineProperty__default["default"](_css, "height", '40px'), _defineProperty__default["default"](_css, "background", 'transparent'), _defineProperty__default["default"](_css, "color", '#000'), _defineProperty__default["default"](_css, "fontSize", '14px'), _defineProperty__default["default"](_css, ':focus', {
|
|
15365
|
+
// borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
15366
|
+
borderColor: '#eac435',
|
|
15367
|
+
boxShadow: 'none'
|
|
15368
|
+
}), _css)),
|
|
15369
|
+
collapsetitle: glamor.css({
|
|
15370
|
+
fontSize: sectionproperties.filtertitle_fontsize + 'px',
|
|
15371
|
+
fontWeight: sectionproperties.filtertitle_fontweight,
|
|
15372
|
+
textTransform: sectionproperties.filtertitle_texttransform,
|
|
15373
|
+
color: sectionproperties.filtertitle_color,
|
|
15374
|
+
':hover': {
|
|
15375
|
+
color: sectionproperties.filtertitle_coloronhover
|
|
15376
|
+
}
|
|
15377
|
+
}),
|
|
15378
|
+
titlecontainer: glamor.css({
|
|
15379
|
+
color: sectionproperties.filtertitle_color,
|
|
15380
|
+
':hover .collapsetitle': {
|
|
15381
|
+
color: sectionproperties.filtertitle_coloronhover
|
|
15382
|
+
}
|
|
15383
|
+
}),
|
|
15384
|
+
timeline_text: glamor.css({
|
|
15385
|
+
fontSize: sectionproperties.timeline_text_fontsize + 'px',
|
|
15386
|
+
fontWeight: sectionproperties.timeline_text_fontweight,
|
|
15387
|
+
textTransform: sectionproperties.timeline_text_texttransform,
|
|
15388
|
+
color: sectionproperties.timeline_text_color,
|
|
15389
|
+
transition: '.3s',
|
|
15390
|
+
':hover': {
|
|
15391
|
+
color: sectionproperties.timeline_text_coloronhover
|
|
15392
|
+
}
|
|
15393
|
+
}),
|
|
15394
|
+
btnstyles: glamor.css({
|
|
15395
|
+
color: sectionproperties.generalbtn_textColor,
|
|
15396
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
15397
|
+
textTransform: sectionproperties.generalbtn_texttransform,
|
|
15398
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
15399
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
15400
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
15401
|
+
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
15402
|
+
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
15403
|
+
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
15404
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
15405
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
15406
|
+
transition: '.3s',
|
|
15407
|
+
':hover': {
|
|
15408
|
+
background: sectionproperties.generalbtn_bgColoronhover,
|
|
15409
|
+
color: sectionproperties.generalbtn_textColoronhover
|
|
15410
|
+
}
|
|
15411
|
+
}),
|
|
15412
|
+
close_menu_icon_cont: glamor.css({
|
|
15413
|
+
background: sectionproperties.closeSliderBgColor,
|
|
15414
|
+
width: sectionproperties.closeSliderWidth + 'px',
|
|
15415
|
+
height: sectionproperties.closeSliderHeight + 'px',
|
|
15416
|
+
borderRadius: sectionproperties.closeSlider_borderBottomLeftRadius + 'px',
|
|
15417
|
+
':hover': {
|
|
15418
|
+
background: sectionproperties.closeSliderBgColorHover
|
|
15419
|
+
}
|
|
15420
|
+
}),
|
|
15421
|
+
horizontalfilter_card: glamor.css({
|
|
15422
|
+
marginBottom: sectionproperties.horizontalfilter_mb + 'px',
|
|
15423
|
+
marginTop: sectionproperties.horizontalfilter_mt + 'px',
|
|
15424
|
+
background: sectionproperties.horizontalfilter_cardbg,
|
|
15425
|
+
border: sectionproperties.horizontalfilter_cardborderwidth + 'px solid ' + sectionproperties.horizontalfilter_cardbordercolor,
|
|
15426
|
+
boxShadow: sectionproperties.horizontalfilter_cardboxShadow == 'Show' ? sectionproperties.horizontalfilter_cardboxShadowcolor : 'horizontalfilter_cardboxShadow'
|
|
15427
|
+
}),
|
|
15428
|
+
btn_item: glamor.css({
|
|
15429
|
+
width: '20px',
|
|
15430
|
+
height: '20px',
|
|
15431
|
+
background: sectionproperties.filteritembtn_bgcolor,
|
|
15432
|
+
':hover': {
|
|
15433
|
+
background: sectionproperties.filteritembtn_bghover
|
|
15434
|
+
}
|
|
15435
|
+
}),
|
|
15436
|
+
btn_item_active: glamor.css({
|
|
15437
|
+
background: sectionproperties.btn_item_activebgcolor
|
|
15438
|
+
}),
|
|
15439
|
+
timelineinnercont_active: glamor.css({
|
|
15440
|
+
fontWeight: sectionproperties.activecat_fontweight,
|
|
15441
|
+
color: sectionproperties.activecat_color
|
|
15442
|
+
}),
|
|
15443
|
+
categoryName: glamor.css({
|
|
15444
|
+
color: sectionproperties.filtertitle_color,
|
|
15445
|
+
fontWeight: sectionproperties.filterCatFontWeight,
|
|
15446
|
+
fontSize: sectionproperties.filterCatFontSize + 'px'
|
|
15447
|
+
}),
|
|
15448
|
+
pCollectionName: glamor.css({
|
|
15449
|
+
color: sectionproperties.filtertitle_color,
|
|
15450
|
+
fontWeight: sectionproperties.filterPCollFontWeight,
|
|
15451
|
+
fontSize: sectionproperties.filterPCollFontSize + 'px'
|
|
15452
|
+
}),
|
|
15453
|
+
explorebtn: glamor.css({
|
|
15454
|
+
fontSize: sectionproperties.explorebtnfontsize + 'px',
|
|
15455
|
+
fontWeight: 600,
|
|
15456
|
+
color: sectionproperties.explorebtncolor,
|
|
15457
|
+
transition: '.3s',
|
|
15458
|
+
':hover': {
|
|
15459
|
+
color: sectionproperties.explorebtncoloronhover
|
|
15460
|
+
}
|
|
15461
|
+
}),
|
|
15462
|
+
showallbtn: glamor.css({
|
|
15463
|
+
color: sectionproperties.showallcolor,
|
|
15464
|
+
':hover': {
|
|
15465
|
+
transition: '.3s',
|
|
15466
|
+
cursor: 'pointer',
|
|
15467
|
+
color: sectionproperties.showallcolorhover
|
|
15468
|
+
}
|
|
15469
|
+
}),
|
|
15470
|
+
sectiontitle: glamor.css({
|
|
15471
|
+
position: 'relative',
|
|
15472
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
15473
|
+
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
15474
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
15475
|
+
'@media (max-width: 800px)': {
|
|
15476
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
15477
|
+
}
|
|
15478
|
+
})
|
|
15479
|
+
};
|
|
15480
|
+
var filterrouting = function filterrouting(tempfetchproductsfilerobjcontext) {
|
|
15481
|
+
var path = window.location.pathname.split('/');
|
|
15482
|
+
var currentpagepath = path[1];
|
|
15483
|
+
var pagenamepathinstaticpagelinkcont = '';
|
|
15484
|
+
for (var key in StaticPagesLinksContext) {
|
|
15485
|
+
if (StaticPagesLinksContext[key] == currentpagepath) {
|
|
15486
|
+
pagenamepathinstaticpagelinkcont = key;
|
|
15487
|
+
}
|
|
15488
|
+
}
|
|
15489
|
+
if (pagenamepathinstaticpagelinkcont != undefined && pagenamepathinstaticpagelinkcont != '') {
|
|
15490
|
+
routingcountext(StaticPagesLinksContext[pagenamepathinstaticpagelinkcont], true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15491
|
+
}
|
|
15492
|
+
};
|
|
15493
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15494
|
+
className: 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none',
|
|
15495
|
+
style: {
|
|
15496
|
+
marginTop: sectionproperties.filtersection_mt + 'px'
|
|
15497
|
+
}
|
|
15498
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
15499
|
+
allowMultipleExpanded: true,
|
|
15500
|
+
allowZeroExpanded: true
|
|
15501
|
+
}, instfilters.map(function (item, index) {
|
|
15502
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
15503
|
+
uuid: index
|
|
15504
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15505
|
+
className: filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '
|
|
15506
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15507
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
15508
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15509
|
+
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 ' : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
|
|
15510
|
+
}, langdetect == 'en' ? item.optionname : item.optionname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15511
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
15512
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
15513
|
+
if (state.expanded == true) {
|
|
15514
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15515
|
+
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
15516
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
|
|
15517
|
+
} else {
|
|
15518
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15519
|
+
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
15520
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
|
|
15521
|
+
}
|
|
15522
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
15523
|
+
className: "p-0"
|
|
15524
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15525
|
+
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
|
|
15526
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15527
|
+
className: 'col-lg-12'
|
|
15528
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15529
|
+
className: langdetect == 'en' ? "".concat(filterstyles.timeline) + ' p-sm-0 ' : "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 '
|
|
15530
|
+
}, item.productvaluesfilter.map(function (valueitem, valueindex) {
|
|
15531
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15532
|
+
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 ',
|
|
15533
|
+
onClick: function onClick() {
|
|
15534
|
+
setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
15535
|
+
}
|
|
15536
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15537
|
+
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 '
|
|
15538
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15539
|
+
className: "h-100 d-flex align-items-center"
|
|
15540
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15541
|
+
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
15542
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15543
|
+
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
15544
|
+
style: {
|
|
15545
|
+
color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
|
|
15546
|
+
}
|
|
15547
|
+
}, langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar)));
|
|
15548
|
+
})))))), /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
15549
|
+
className: "mt-3 mb-3"
|
|
15550
|
+
}));
|
|
15551
|
+
})));
|
|
15552
|
+
};
|
|
15553
|
+
|
|
15554
|
+
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; }
|
|
15555
|
+
function _objectSpread$28(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$28(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$28(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15011
15556
|
var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
15012
15557
|
var _authdetailsContext$i;
|
|
15013
15558
|
props.actions.lang;
|
|
@@ -15137,7 +15682,7 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15137
15682
|
}, [ProductFilterObjContext]);
|
|
15138
15683
|
var filterupdater = function filterupdater() {
|
|
15139
15684
|
setTimeout(function () {
|
|
15140
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
15685
|
+
var tempFetchQueriesEngineContext = _objectSpread$28({}, FetchQueriesEngineContext);
|
|
15141
15686
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
15142
15687
|
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
15143
15688
|
}, 100);
|
|
@@ -15182,7 +15727,7 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15182
15727
|
};
|
|
15183
15728
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
15184
15729
|
var _tempfetchproductsfil;
|
|
15185
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
15730
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$28({}, ProductFilterObjContext);
|
|
15186
15731
|
var CollectionExists = false;
|
|
15187
15732
|
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
|
|
15188
15733
|
if (filteritem == collectionid) {
|
|
@@ -15199,7 +15744,7 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15199
15744
|
}
|
|
15200
15745
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
15201
15746
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
15202
|
-
setProductFilterObjContext(_objectSpread$
|
|
15747
|
+
setProductFilterObjContext(_objectSpread$28({}, tempfetchproductsfilerobjcontext));
|
|
15203
15748
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15204
15749
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15205
15750
|
};
|
|
@@ -15256,9 +15801,14 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15256
15801
|
var serverbaselink$1 = 'https://tabex-co.com';
|
|
15257
15802
|
var image_serverbaselink = 'https://tabexseriesmedia.s3.eu-north-1.amazonaws.com';
|
|
15258
15803
|
|
|
15259
|
-
function ownKeys$
|
|
15260
|
-
function _objectSpread$
|
|
15804
|
+
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; }
|
|
15805
|
+
function _objectSpread$27(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$27(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$27(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15261
15806
|
var CardsSection = function CardsSection(props) {
|
|
15807
|
+
var plainString = function plainString(html) {
|
|
15808
|
+
var divContainer = document.createElement('div');
|
|
15809
|
+
divContainer.innerHTML = html;
|
|
15810
|
+
return divContainer.textContent || divContainer.innerText || '';
|
|
15811
|
+
};
|
|
15262
15812
|
var refscr = /*#__PURE__*/React.createRef();
|
|
15263
15813
|
var _useInView = reactIntersectionObserver.useInView();
|
|
15264
15814
|
_useInView.ref;
|
|
@@ -15317,11 +15867,6 @@ var CardsSection = function CardsSection(props) {
|
|
|
15317
15867
|
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
15318
15868
|
maincontainerarrayofobjs = _useState12[0],
|
|
15319
15869
|
setmaincontainerarrayofobjs = _useState12[1];
|
|
15320
|
-
// React.useEffect(() => {
|
|
15321
|
-
// if (inView) {
|
|
15322
|
-
// fetchProductsQuery.fetchNextPage();
|
|
15323
|
-
// }
|
|
15324
|
-
// }, [inView]);
|
|
15325
15870
|
var _useState13 = React.useState(12),
|
|
15326
15871
|
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
15327
15872
|
perpageItems = _useState14[0],
|
|
@@ -15344,7 +15889,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
15344
15889
|
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
15345
15890
|
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
15346
15891
|
});
|
|
15347
|
-
setsectionproperties(_objectSpread$
|
|
15892
|
+
setsectionproperties(_objectSpread$27({}, secpropobj));
|
|
15348
15893
|
if (props.srcfromprops == 'GeneralProductsComponent') {
|
|
15349
15894
|
setfetchingtype('products');
|
|
15350
15895
|
var lcproductfetchingtype = 'Random';
|
|
@@ -15418,9 +15963,9 @@ var CardsSection = function CardsSection(props) {
|
|
|
15418
15963
|
}
|
|
15419
15964
|
tempfetchproductsfilerobjcontext.grouptype = ProductsFetchingTypeSectionObj.grouptype;
|
|
15420
15965
|
tempfetchproductsfilerobjcontext.grouptyperefid = ProductsFetchingTypeSectionObj.grouptyperefid;
|
|
15421
|
-
setProductFilterObjContext(_objectSpread$
|
|
15966
|
+
setProductFilterObjContext(_objectSpread$27({}, tempfetchproductsfilerobjcontext));
|
|
15422
15967
|
}
|
|
15423
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
15968
|
+
setFetchQueriesEngineContext(_objectSpread$27({}, tempFetchQueriesEngineContext));
|
|
15424
15969
|
}
|
|
15425
15970
|
}, [fetchingtype, ProductsFetchingTypeSectionObj]);
|
|
15426
15971
|
React.useEffect(function () {
|
|
@@ -15703,9 +16248,9 @@ var CardsSection = function CardsSection(props) {
|
|
|
15703
16248
|
// Example items, to simulate fetching from another resources.
|
|
15704
16249
|
var handlePageClick = function handlePageClick(event) {
|
|
15705
16250
|
props.scrolltotop();
|
|
15706
|
-
var tempProductFilterObjContext = _objectSpread$
|
|
16251
|
+
var tempProductFilterObjContext = _objectSpread$27({}, ProductFilterObjContext);
|
|
15707
16252
|
tempProductFilterObjContext.page = event === null || event === void 0 ? void 0 : event.selected;
|
|
15708
|
-
setProductFilterObjContext(_objectSpread$
|
|
16253
|
+
setProductFilterObjContext(_objectSpread$27({}, tempProductFilterObjContext));
|
|
15709
16254
|
var pasturl = '';
|
|
15710
16255
|
if (props.grouptypeprops != undefined) {
|
|
15711
16256
|
if (props.collectionidprops != undefined) {
|
|
@@ -15975,9 +16520,69 @@ var CardsSection = function CardsSection(props) {
|
|
|
15975
16520
|
}
|
|
15976
16521
|
return isloading;
|
|
15977
16522
|
};
|
|
16523
|
+
var show_product_group_titles = function show_product_group_titles() {
|
|
16524
|
+
var title_en = '';
|
|
16525
|
+
var title_ar = '';
|
|
16526
|
+
var description_en = '';
|
|
16527
|
+
var description_ar = '';
|
|
16528
|
+
var logo = '';
|
|
16529
|
+
var type = '';
|
|
16530
|
+
var id = '';
|
|
16531
|
+
if (ProductFilterObjContext['collections'] != undefined && Array.isArray(ProductFilterObjContext['collections']) && ProductFilterObjContext['collections'][0] != undefined) {
|
|
16532
|
+
id = ProductFilterObjContext['collections'][0];
|
|
16533
|
+
}
|
|
16534
|
+
if (id != null && id != '' && id != 'all') {
|
|
16535
|
+
var _fetchCategoriesQuery4;
|
|
16536
|
+
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) {
|
|
16537
|
+
if (catitem.categoryid == id) {
|
|
16538
|
+
title_en = catitem.title_en;
|
|
16539
|
+
title_ar = catitem.title_ar;
|
|
16540
|
+
description_en = catitem.description_en;
|
|
16541
|
+
description_ar = catitem.description_ar;
|
|
16542
|
+
logo = catitem.categorylogo;
|
|
16543
|
+
type = 'category';
|
|
16544
|
+
}
|
|
16545
|
+
if (title_en == '') {
|
|
16546
|
+
var _catitem$parentcollet;
|
|
16547
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet = catitem.parentcolletions) === null || _catitem$parentcollet === void 0 || _catitem$parentcollet.map(function (parentitem) {
|
|
16548
|
+
if (parentitem.parentcollectionid == id) {
|
|
16549
|
+
title_en = parentitem.title_en;
|
|
16550
|
+
title_ar = parentitem.title_ar;
|
|
16551
|
+
description_en = parentitem.description_en;
|
|
16552
|
+
description_ar = parentitem.description_ar;
|
|
16553
|
+
logo = parentitem.parentcollectionlogo;
|
|
16554
|
+
type = 'parentcollection';
|
|
16555
|
+
}
|
|
16556
|
+
if (title_en == '') {
|
|
16557
|
+
var _parentitem$collectio;
|
|
16558
|
+
parentitem === null || parentitem === void 0 || (_parentitem$collectio = parentitem.collections) === null || _parentitem$collectio === void 0 || _parentitem$collectio.map(function (colitem) {
|
|
16559
|
+
if (colitem.collectionid == id) {
|
|
16560
|
+
title_en = colitem.title_en;
|
|
16561
|
+
title_ar = colitem.title_ar;
|
|
16562
|
+
description_en = colitem.description_en;
|
|
16563
|
+
description_ar = colitem.description_ar;
|
|
16564
|
+
logo = colitem.collectionlogo;
|
|
16565
|
+
type = 'collection';
|
|
16566
|
+
}
|
|
16567
|
+
});
|
|
16568
|
+
}
|
|
16569
|
+
});
|
|
16570
|
+
}
|
|
16571
|
+
});
|
|
16572
|
+
}
|
|
16573
|
+
return {
|
|
16574
|
+
title_en: title_en,
|
|
16575
|
+
title_ar: title_ar,
|
|
16576
|
+
description_en: description_en,
|
|
16577
|
+
description_ar: description_ar,
|
|
16578
|
+
type: type,
|
|
16579
|
+
id: id,
|
|
16580
|
+
logo: logo
|
|
16581
|
+
};
|
|
16582
|
+
};
|
|
15978
16583
|
var cardsrender = function cardsrender() {
|
|
15979
16584
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15980
|
-
"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'
|
|
16585
|
+
"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'
|
|
15981
16586
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15982
16587
|
className: "row m-0 w-100 d-flex align-items-center p-sm-0"
|
|
15983
16588
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -16224,7 +16829,10 @@ var CardsSection = function CardsSection(props) {
|
|
|
16224
16829
|
// ? 'scrollmenuclassnameitemModernProductCard'
|
|
16225
16830
|
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
16226
16831
|
// ? 'scrollmenuclassnameitemSimplecategorycardwithtextbelow'
|
|
16227
|
-
item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' :
|
|
16832
|
+
item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' :
|
|
16833
|
+
// : item.tabexsectioninfo.sectioncompname == 'Card23'
|
|
16834
|
+
// ? 'scrollmenuclassnameitemCard23'
|
|
16835
|
+
item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'ModernCardWithQuantityButton' ? 'scrollmenuclassnameitemModernCardWithQuantityButton' : item.tabexsectioninfo.sectioncompname == 'CategoryCardwithhoveraction' ? 'scrollmenuclassnameitemCategoryCardwithhoveraction' : item.tabexsectioninfo.sectioncompname == 'CircleCardWithVariants' ? 'scrollmenuclassnameitemCircleCardWithVariants' :
|
|
16228
16836
|
// : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard'
|
|
16229
16837
|
// ? 'scrollmenuclassnameitemUpSlideEffectCard'
|
|
16230
16838
|
item.tabexsectioninfo.sectioncompname == 'CategoryCardTextOnImage' ? 'scrollmenuclassnameitemCategoryCardTextOnImage' : '',
|
|
@@ -16495,18 +17103,42 @@ var CardsSection = function CardsSection(props) {
|
|
|
16495
17103
|
}
|
|
16496
17104
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16497
17105
|
"class": section_cssstyles.innercardssection + ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 '
|
|
16498
|
-
}, sectionproperties.
|
|
17106
|
+
}, sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17107
|
+
"class": "col-lg-12 mb-3 mt-5"
|
|
17108
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17109
|
+
"class": "m-0",
|
|
17110
|
+
style: {
|
|
17111
|
+
fontWeight: 700,
|
|
17112
|
+
fontSize: 27,
|
|
17113
|
+
color: '#62554a'
|
|
17114
|
+
}
|
|
17115
|
+
}, show_product_group_titles()['title_en'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17116
|
+
"class": "col-lg-12 mb-3"
|
|
17117
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17118
|
+
"class": "m-0",
|
|
17119
|
+
style: {
|
|
17120
|
+
fontSize: 18,
|
|
17121
|
+
color: '#62554a'
|
|
17122
|
+
}
|
|
17123
|
+
}, plainString(show_product_group_titles()['description_en']))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16499
17124
|
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex p-0' : sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'
|
|
16500
17125
|
}, /*#__PURE__*/React__default["default"].createElement(Filter$1, {
|
|
16501
17126
|
sectionpropertiesprops: sectionproperties,
|
|
16502
17127
|
actions: actions,
|
|
16503
17128
|
openFilterSlider: openFilterSlider,
|
|
16504
17129
|
setopenFilterSlider: setopenFilterSlider
|
|
17130
|
+
})), sectionproperties.showvariantfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17131
|
+
className: 'col-lg-3 d-flex'
|
|
17132
|
+
}, /*#__PURE__*/React__default["default"].createElement(VariantFilter, {
|
|
17133
|
+
sectionpropertiesprops: sectionproperties,
|
|
17134
|
+
actions: actions,
|
|
17135
|
+
openFilterSlider: openFilterSlider,
|
|
17136
|
+
setopenFilterSlider: setopenFilterSlider
|
|
16505
17137
|
})), fetchingtype == 'custom' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, cardsrender()), fetchingtype != 'custom' && cardsrender()));
|
|
16506
17138
|
};
|
|
16507
17139
|
|
|
16508
|
-
function ownKeys$
|
|
16509
|
-
function _objectSpread$
|
|
17140
|
+
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; }
|
|
17141
|
+
function _objectSpread$26(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$26(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$26(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16510
17142
|
var InnerGroups = function InnerGroups(props) {
|
|
16511
17143
|
var _useState = React.useState(''),
|
|
16512
17144
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -16547,7 +17179,7 @@ var InnerGroups = function InnerGroups(props) {
|
|
|
16547
17179
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16548
17180
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16549
17181
|
});
|
|
16550
|
-
setsectionproperties(_objectSpread$
|
|
17182
|
+
setsectionproperties(_objectSpread$26({}, secpropobj));
|
|
16551
17183
|
}
|
|
16552
17184
|
}, [StatePagePropertiesContext]);
|
|
16553
17185
|
// useEffect(() => {
|
|
@@ -16563,14 +17195,14 @@ var InnerGroups = function InnerGroups(props) {
|
|
|
16563
17195
|
backgroundColor: sectionproperties.backgroundColor
|
|
16564
17196
|
}
|
|
16565
17197
|
}, /*#__PURE__*/React__default["default"].createElement(CardsSection, {
|
|
16566
|
-
actions: _objectSpread$
|
|
17198
|
+
actions: _objectSpread$26(_objectSpread$26({}, actions), {}, {
|
|
16567
17199
|
fetchingtype: grouptypeparams
|
|
16568
17200
|
})
|
|
16569
17201
|
}));
|
|
16570
17202
|
};
|
|
16571
17203
|
|
|
16572
|
-
function ownKeys$
|
|
16573
|
-
function _objectSpread$
|
|
17204
|
+
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; }
|
|
17205
|
+
function _objectSpread$25(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$25(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$25(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16574
17206
|
var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
16575
17207
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16576
17208
|
var _useState = React.useState(''),
|
|
@@ -16601,7 +17233,7 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
16601
17233
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16602
17234
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16603
17235
|
});
|
|
16604
|
-
setsectionproperties(_objectSpread$
|
|
17236
|
+
setsectionproperties(_objectSpread$25({}, secpropobj));
|
|
16605
17237
|
}
|
|
16606
17238
|
}, [StatePagePropertiesContext]);
|
|
16607
17239
|
React.useEffect(function () {
|
|
@@ -16614,9 +17246,9 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
16614
17246
|
}
|
|
16615
17247
|
}, []);
|
|
16616
17248
|
React.useEffect(function () {
|
|
16617
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17249
|
+
var tempFetchQueriesEngineContext = _objectSpread$25({}, FetchQueriesEngineContext);
|
|
16618
17250
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16619
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17251
|
+
setFetchQueriesEngineContext(_objectSpread$25({}, tempFetchQueriesEngineContext));
|
|
16620
17252
|
}, []);
|
|
16621
17253
|
var _useState7 = React.useState([]),
|
|
16622
17254
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
@@ -16692,8 +17324,8 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
16692
17324
|
})))));
|
|
16693
17325
|
};
|
|
16694
17326
|
|
|
16695
|
-
function ownKeys$
|
|
16696
|
-
function _objectSpread$
|
|
17327
|
+
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; }
|
|
17328
|
+
function _objectSpread$24(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$24(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$24(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16697
17329
|
var RefundPolicy = function RefundPolicy(props) {
|
|
16698
17330
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16699
17331
|
var _useState = React.useState(''),
|
|
@@ -16724,7 +17356,7 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
16724
17356
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16725
17357
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16726
17358
|
});
|
|
16727
|
-
setsectionproperties(_objectSpread$
|
|
17359
|
+
setsectionproperties(_objectSpread$24({}, secpropobj));
|
|
16728
17360
|
}
|
|
16729
17361
|
}, [StatePagePropertiesContext]);
|
|
16730
17362
|
React.useEffect(function () {
|
|
@@ -16737,9 +17369,9 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
16737
17369
|
}
|
|
16738
17370
|
}, []);
|
|
16739
17371
|
React.useEffect(function () {
|
|
16740
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17372
|
+
var tempFetchQueriesEngineContext = _objectSpread$24({}, FetchQueriesEngineContext);
|
|
16741
17373
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16742
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17374
|
+
setFetchQueriesEngineContext(_objectSpread$24({}, tempFetchQueriesEngineContext));
|
|
16743
17375
|
}, []);
|
|
16744
17376
|
var _useState7 = React.useState([]),
|
|
16745
17377
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
@@ -16815,8 +17447,8 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
16815
17447
|
})))));
|
|
16816
17448
|
};
|
|
16817
17449
|
|
|
16818
|
-
function ownKeys$
|
|
16819
|
-
function _objectSpread$
|
|
17450
|
+
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; }
|
|
17451
|
+
function _objectSpread$23(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$23(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$23(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16820
17452
|
var ShippingPolicy = function ShippingPolicy(props) {
|
|
16821
17453
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16822
17454
|
var _useState = React.useState(''),
|
|
@@ -16847,7 +17479,7 @@ var ShippingPolicy = function ShippingPolicy(props) {
|
|
|
16847
17479
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16848
17480
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16849
17481
|
});
|
|
16850
|
-
setsectionproperties(_objectSpread$
|
|
17482
|
+
setsectionproperties(_objectSpread$23({}, secpropobj));
|
|
16851
17483
|
}
|
|
16852
17484
|
}, [StatePagePropertiesContext]);
|
|
16853
17485
|
React.useEffect(function () {
|
|
@@ -16860,9 +17492,9 @@ var ShippingPolicy = function ShippingPolicy(props) {
|
|
|
16860
17492
|
}
|
|
16861
17493
|
}, []);
|
|
16862
17494
|
React.useEffect(function () {
|
|
16863
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17495
|
+
var tempFetchQueriesEngineContext = _objectSpread$23({}, FetchQueriesEngineContext);
|
|
16864
17496
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16865
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17497
|
+
setFetchQueriesEngineContext(_objectSpread$23({}, tempFetchQueriesEngineContext));
|
|
16866
17498
|
}, []);
|
|
16867
17499
|
var _useState7 = React.useState([]),
|
|
16868
17500
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
@@ -16938,8 +17570,8 @@ var ShippingPolicy = function ShippingPolicy(props) {
|
|
|
16938
17570
|
})))));
|
|
16939
17571
|
};
|
|
16940
17572
|
|
|
16941
|
-
function ownKeys$
|
|
16942
|
-
function _objectSpread$
|
|
17573
|
+
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; }
|
|
17574
|
+
function _objectSpread$22(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$22(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$22(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16943
17575
|
var TermsConditions = function TermsConditions(props) {
|
|
16944
17576
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16945
17577
|
var _useState = React.useState(''),
|
|
@@ -16970,7 +17602,7 @@ var TermsConditions = function TermsConditions(props) {
|
|
|
16970
17602
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16971
17603
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16972
17604
|
});
|
|
16973
|
-
setsectionproperties(_objectSpread$
|
|
17605
|
+
setsectionproperties(_objectSpread$22({}, secpropobj));
|
|
16974
17606
|
}
|
|
16975
17607
|
}, [StatePagePropertiesContext]);
|
|
16976
17608
|
React.useEffect(function () {
|
|
@@ -16983,9 +17615,9 @@ var TermsConditions = function TermsConditions(props) {
|
|
|
16983
17615
|
}
|
|
16984
17616
|
}, []);
|
|
16985
17617
|
React.useEffect(function () {
|
|
16986
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17618
|
+
var tempFetchQueriesEngineContext = _objectSpread$22({}, FetchQueriesEngineContext);
|
|
16987
17619
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16988
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17620
|
+
setFetchQueriesEngineContext(_objectSpread$22({}, tempFetchQueriesEngineContext));
|
|
16989
17621
|
}, []);
|
|
16990
17622
|
var _useState7 = React.useState([]),
|
|
16991
17623
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
@@ -17061,8 +17693,8 @@ var TermsConditions = function TermsConditions(props) {
|
|
|
17061
17693
|
})))));
|
|
17062
17694
|
};
|
|
17063
17695
|
|
|
17064
|
-
function ownKeys$
|
|
17065
|
-
function _objectSpread$
|
|
17696
|
+
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; }
|
|
17697
|
+
function _objectSpread$21(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$21(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$21(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17066
17698
|
var Resetpassword = function Resetpassword(props) {
|
|
17067
17699
|
var _css, _css2;
|
|
17068
17700
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -17113,7 +17745,7 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17113
17745
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
17114
17746
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
17115
17747
|
});
|
|
17116
|
-
setsectionproperties(_objectSpread$
|
|
17748
|
+
setsectionproperties(_objectSpread$21({}, secpropobj));
|
|
17117
17749
|
}
|
|
17118
17750
|
}, [StatePagePropertiesContext]);
|
|
17119
17751
|
React.useEffect(function () {
|
|
@@ -17240,9 +17872,9 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17240
17872
|
className: "".concat(loginstyles2.form_control),
|
|
17241
17873
|
value: forgotpasswordpayload.email,
|
|
17242
17874
|
onChange: function onChange(event) {
|
|
17243
|
-
var temppayloadobj = _objectSpread$
|
|
17875
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17244
17876
|
temppayloadobj.email = event.target.value;
|
|
17245
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17877
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17246
17878
|
},
|
|
17247
17879
|
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
17248
17880
|
style: {
|
|
@@ -17257,9 +17889,9 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17257
17889
|
className: "".concat(loginstyles2.form_control),
|
|
17258
17890
|
value: forgotpasswordpayload.code,
|
|
17259
17891
|
onChange: function onChange(event) {
|
|
17260
|
-
var temppayloadobj = _objectSpread$
|
|
17892
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17261
17893
|
temppayloadobj.code = event.target.value;
|
|
17262
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17894
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17263
17895
|
},
|
|
17264
17896
|
style: {
|
|
17265
17897
|
background: sectionproperties.input_bgcolor
|
|
@@ -17273,9 +17905,9 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17273
17905
|
className: "".concat(loginstyles2.form_control),
|
|
17274
17906
|
value: forgotpasswordpayload.newpassword,
|
|
17275
17907
|
onChange: function onChange(event) {
|
|
17276
|
-
var temppayloadobj = _objectSpread$
|
|
17908
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17277
17909
|
temppayloadobj.newpassword = event.target.value;
|
|
17278
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17910
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17279
17911
|
},
|
|
17280
17912
|
style: {
|
|
17281
17913
|
background: sectionproperties.input_bgcolor
|
|
@@ -17289,9 +17921,9 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17289
17921
|
className: "".concat(loginstyles2.form_control),
|
|
17290
17922
|
value: forgotpasswordpayload.confirmnewpassword,
|
|
17291
17923
|
onChange: function onChange(event) {
|
|
17292
|
-
var temppayloadobj = _objectSpread$
|
|
17924
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17293
17925
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
17294
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17926
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17295
17927
|
},
|
|
17296
17928
|
style: {
|
|
17297
17929
|
background: sectionproperties.input_bgcolor
|
|
@@ -17303,7 +17935,7 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17303
17935
|
onClick: function onClick() {
|
|
17304
17936
|
if (forgotpasswordpayload.email.length != 0) {
|
|
17305
17937
|
var runfunc = false;
|
|
17306
|
-
var tempforgotpasswordpayload = _objectSpread$
|
|
17938
|
+
var tempforgotpasswordpayload = _objectSpread$21({}, forgotpasswordpayload);
|
|
17307
17939
|
tempforgotpasswordpayload.functype = forgetpasswordstage;
|
|
17308
17940
|
if (forgetpasswordstage == 'verify') {
|
|
17309
17941
|
if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
|
|
@@ -17589,8 +18221,8 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
17589
18221
|
}, lang.nosearchresults)))))));
|
|
17590
18222
|
};
|
|
17591
18223
|
|
|
17592
|
-
function ownKeys$
|
|
17593
|
-
function _objectSpread$
|
|
18224
|
+
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; }
|
|
18225
|
+
function _objectSpread$20(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$20(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$20(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17594
18226
|
var MarqueeHeader = function MarqueeHeader(props) {
|
|
17595
18227
|
var _textarray$, _textarray$2;
|
|
17596
18228
|
props.actions;
|
|
@@ -17611,12 +18243,12 @@ var MarqueeHeader = function MarqueeHeader(props) {
|
|
|
17611
18243
|
settextarray = _useState6[1];
|
|
17612
18244
|
React.useEffect(function () {
|
|
17613
18245
|
if (props.sectionpropertiesprops != undefined) {
|
|
17614
|
-
setsectionproperties(_objectSpread$
|
|
18246
|
+
setsectionproperties(_objectSpread$20({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
17615
18247
|
}
|
|
17616
18248
|
}, [props.sectionpropertiesprops]);
|
|
17617
18249
|
React.useEffect(function () {
|
|
17618
18250
|
if (props.templateproperties_contextprops != undefined) {
|
|
17619
|
-
settemplateproperties_context(_objectSpread$
|
|
18251
|
+
settemplateproperties_context(_objectSpread$20({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
17620
18252
|
}
|
|
17621
18253
|
}, [props.templateproperties_contextprops]);
|
|
17622
18254
|
React.useEffect(function () {
|
|
@@ -17658,8 +18290,8 @@ var css_248z$B = ".subheader-module_sub_outercontainer__-z5ZD {\n position: r
|
|
|
17658
18290
|
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"};
|
|
17659
18291
|
styleInject(css_248z$B);
|
|
17660
18292
|
|
|
17661
|
-
function ownKeys$
|
|
17662
|
-
function _objectSpread$
|
|
18293
|
+
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; }
|
|
18294
|
+
function _objectSpread$1$(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1$(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1$(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17663
18295
|
var Subheader = function Subheader(props) {
|
|
17664
18296
|
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;
|
|
17665
18297
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
@@ -17696,12 +18328,12 @@ var Subheader = function Subheader(props) {
|
|
|
17696
18328
|
React.useEffect(function () {
|
|
17697
18329
|
var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
|
|
17698
18330
|
tempFetchQueriesEngineContext.categories = true;
|
|
17699
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
18331
|
+
setFetchQueriesEngineContext(_objectSpread$1$({}, tempFetchQueriesEngineContext));
|
|
17700
18332
|
// alert(JSON.stringify(authdetailsContext));
|
|
17701
18333
|
}, []);
|
|
17702
18334
|
React.useEffect(function () {
|
|
17703
18335
|
if (props.sectionpropertiesprops != undefined) {
|
|
17704
|
-
setsectionproperties(_objectSpread$
|
|
18336
|
+
setsectionproperties(_objectSpread$1$({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
17705
18337
|
}
|
|
17706
18338
|
}, [props.sectionpropertiesprops]);
|
|
17707
18339
|
// useEffect(() => {
|
|
@@ -18205,8 +18837,8 @@ var Subheader = function Subheader(props) {
|
|
|
18205
18837
|
})))))));
|
|
18206
18838
|
};
|
|
18207
18839
|
|
|
18208
|
-
function ownKeys$
|
|
18209
|
-
function _objectSpread$
|
|
18840
|
+
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; }
|
|
18841
|
+
function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
18210
18842
|
var Headerresponsive = function Headerresponsive(props) {
|
|
18211
18843
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _fetchCategoriesQuery2, _authdetailsContext$i9;
|
|
18212
18844
|
var actions = props.actions;
|
|
@@ -18241,7 +18873,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18241
18873
|
setpcollarray = _useState6[1];
|
|
18242
18874
|
React.useEffect(function () {
|
|
18243
18875
|
if (props.sectionpropertiesprops != undefined) {
|
|
18244
|
-
setsectionproperties(_objectSpread$
|
|
18876
|
+
setsectionproperties(_objectSpread$1_({}, props.sectionpropertiesprops));
|
|
18245
18877
|
}
|
|
18246
18878
|
}, [props.sectionpropertiesprops]);
|
|
18247
18879
|
var _useState7 = React.useState([]),
|
|
@@ -19463,8 +20095,8 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
19463
20095
|
})))))));
|
|
19464
20096
|
};
|
|
19465
20097
|
|
|
19466
|
-
function ownKeys$
|
|
19467
|
-
function _objectSpread$
|
|
20098
|
+
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; }
|
|
20099
|
+
function _objectSpread$1Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19468
20100
|
var DownloadApp = function DownloadApp(props) {
|
|
19469
20101
|
props.actions;
|
|
19470
20102
|
props.actions.lang;
|
|
@@ -19489,7 +20121,7 @@ var DownloadApp = function DownloadApp(props) {
|
|
|
19489
20121
|
}, [sectionproperties]);
|
|
19490
20122
|
React.useEffect(function () {
|
|
19491
20123
|
if (props.sectionpropertiesprops != undefined) {
|
|
19492
|
-
setsectionproperties(_objectSpread$
|
|
20124
|
+
setsectionproperties(_objectSpread$1Z({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
19493
20125
|
}
|
|
19494
20126
|
}, [props.sectionpropertiesprops]);
|
|
19495
20127
|
var header_cssstyles = {
|
|
@@ -19542,8 +20174,8 @@ var DownloadApp = function DownloadApp(props) {
|
|
|
19542
20174
|
}))));
|
|
19543
20175
|
};
|
|
19544
20176
|
|
|
19545
|
-
function ownKeys$
|
|
19546
|
-
function _objectSpread$
|
|
20177
|
+
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; }
|
|
20178
|
+
function _objectSpread$1Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19547
20179
|
var SocialMediaSection = function SocialMediaSection(props) {
|
|
19548
20180
|
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13;
|
|
19549
20181
|
props.actions;
|
|
@@ -19559,12 +20191,12 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
19559
20191
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
19560
20192
|
React.useEffect(function () {
|
|
19561
20193
|
if (props.sectionpropertiesprops != undefined) {
|
|
19562
|
-
setsectionproperties(_objectSpread$
|
|
20194
|
+
setsectionproperties(_objectSpread$1Y({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
19563
20195
|
}
|
|
19564
20196
|
}, [props.sectionpropertiesprops]);
|
|
19565
20197
|
React.useEffect(function () {
|
|
19566
20198
|
if (props.templateproperties_contextprops != undefined) {
|
|
19567
|
-
settemplateproperties_context(_objectSpread$
|
|
20199
|
+
settemplateproperties_context(_objectSpread$1Y({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
19568
20200
|
}
|
|
19569
20201
|
}, [props.templateproperties_contextprops]);
|
|
19570
20202
|
var header_cssstyles = {
|
|
@@ -19650,8 +20282,8 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
19650
20282
|
})));
|
|
19651
20283
|
};
|
|
19652
20284
|
|
|
19653
|
-
function ownKeys$
|
|
19654
|
-
function _objectSpread$
|
|
20285
|
+
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; }
|
|
20286
|
+
function _objectSpread$1X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1X(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19655
20287
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
19656
20288
|
var _css, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _fetchCategoriesQuery2, _authdetailsContext$i2;
|
|
19657
20289
|
var actions = props.actions;
|
|
@@ -19690,7 +20322,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19690
20322
|
setopenSearch = _useState8[1];
|
|
19691
20323
|
React.useEffect(function () {
|
|
19692
20324
|
if (props.sectionpropertiesprops != undefined) {
|
|
19693
|
-
setsectionproperties(_objectSpread$
|
|
20325
|
+
setsectionproperties(_objectSpread$1X({}, props.sectionpropertiesprops));
|
|
19694
20326
|
}
|
|
19695
20327
|
}, [props.sectionpropertiesprops]);
|
|
19696
20328
|
var _useState9 = React.useState([]),
|
|
@@ -20941,8 +21573,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
20941
21573
|
})))))));
|
|
20942
21574
|
};
|
|
20943
21575
|
|
|
20944
|
-
function ownKeys$
|
|
20945
|
-
function _objectSpread$
|
|
21576
|
+
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; }
|
|
21577
|
+
function _objectSpread$1W(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1W(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1W(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20946
21578
|
var ElegantHeader = function ElegantHeader(props) {
|
|
20947
21579
|
var _authdetailsContext$i, _authdetailsContext$i3, _textarray$, _textarray$2, _authdetailsContext$c, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
20948
21580
|
var _useState = React.useState(''),
|
|
@@ -20995,7 +21627,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
20995
21627
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
20996
21628
|
});
|
|
20997
21629
|
}
|
|
20998
|
-
setsectionproperties(_objectSpread$
|
|
21630
|
+
setsectionproperties(_objectSpread$1W({}, secpropobj));
|
|
20999
21631
|
}, [StatePagePropertiesContext]);
|
|
21000
21632
|
React.useEffect(function () {
|
|
21001
21633
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -21690,8 +22322,8 @@ var css_248z$A = ".Gotoheader-module_header_container__f-O-q {\n width: 100%
|
|
|
21690
22322
|
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"};
|
|
21691
22323
|
styleInject(css_248z$A);
|
|
21692
22324
|
|
|
21693
|
-
function ownKeys$
|
|
21694
|
-
function _objectSpread$
|
|
22325
|
+
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; }
|
|
22326
|
+
function _objectSpread$1V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1V(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
21695
22327
|
var Gotoheader = function Gotoheader(props) {
|
|
21696
22328
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue2, _fetchcustomercartQue3, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
21697
22329
|
var _useState = React.useState(''),
|
|
@@ -21731,7 +22363,7 @@ var Gotoheader = function Gotoheader(props) {
|
|
|
21731
22363
|
});
|
|
21732
22364
|
}
|
|
21733
22365
|
}
|
|
21734
|
-
setsectionproperties(_objectSpread$
|
|
22366
|
+
setsectionproperties(_objectSpread$1V({}, secpropobj));
|
|
21735
22367
|
}, [StatePagePropertiesContext]);
|
|
21736
22368
|
var _useState3 = React.useState([]),
|
|
21737
22369
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -22432,8 +23064,8 @@ var css_248z$z = ".CategoryFeaturingHeader-module_lowerHeaderContainer__bQvQY {\
|
|
|
22432
23064
|
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"};
|
|
22433
23065
|
styleInject(css_248z$z);
|
|
22434
23066
|
|
|
22435
|
-
function ownKeys$
|
|
22436
|
-
function _objectSpread$
|
|
23067
|
+
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; }
|
|
23068
|
+
function _objectSpread$1U(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1U(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1U(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22437
23069
|
var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
22438
23070
|
var _authdetailsContext$i2, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i5, _authdetailsContext$i7, _fetchcustomercartQue3, _fetchcustomercartQue4;
|
|
22439
23071
|
var _useState = React.useState(''),
|
|
@@ -22481,7 +23113,7 @@ var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
|
22481
23113
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
22482
23114
|
});
|
|
22483
23115
|
}
|
|
22484
|
-
setsectionproperties(_objectSpread$
|
|
23116
|
+
setsectionproperties(_objectSpread$1U({}, secpropobj));
|
|
22485
23117
|
}, [StatePagePropertiesContext]);
|
|
22486
23118
|
React.useEffect(function () {
|
|
22487
23119
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -23388,8 +24020,8 @@ var css_248z$y = ".classicheader-module_headercontainer__tCNl- {\n display: f
|
|
|
23388
24020
|
var headerstyles$c = {"headercontainer":"classicheader-module_headercontainer__tCNl-","navbar":"classicheader-module_navbar__3MEax"};
|
|
23389
24021
|
styleInject(css_248z$y);
|
|
23390
24022
|
|
|
23391
|
-
function ownKeys$
|
|
23392
|
-
function _objectSpread$
|
|
24023
|
+
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; }
|
|
24024
|
+
function _objectSpread$1T(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1T(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1T(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23393
24025
|
var ClassicHeader = function ClassicHeader(props) {
|
|
23394
24026
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue, _fetchcustomercartQue2, _templatepropcontext$;
|
|
23395
24027
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
@@ -23426,7 +24058,7 @@ var ClassicHeader = function ClassicHeader(props) {
|
|
|
23426
24058
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
23427
24059
|
});
|
|
23428
24060
|
}
|
|
23429
|
-
setsectionproperties(_objectSpread$
|
|
24061
|
+
setsectionproperties(_objectSpread$1T({}, secpropobj));
|
|
23430
24062
|
}, [StatePagePropertiesContext]);
|
|
23431
24063
|
var _useState3 = React.useState([]),
|
|
23432
24064
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -24548,8 +25180,8 @@ var css_248z$x = ".CTAHeader-module_header_container__In9j3 .CTAHeader-module_to
|
|
|
24548
25180
|
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"};
|
|
24549
25181
|
styleInject(css_248z$x);
|
|
24550
25182
|
|
|
24551
|
-
function ownKeys$
|
|
24552
|
-
function _objectSpread$
|
|
25183
|
+
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; }
|
|
25184
|
+
function _objectSpread$1S(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1S(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1S(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
24553
25185
|
var CTAHeader = function CTAHeader(props) {
|
|
24554
25186
|
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;
|
|
24555
25187
|
var actions = props.actions;
|
|
@@ -24597,7 +25229,7 @@ var CTAHeader = function CTAHeader(props) {
|
|
|
24597
25229
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
24598
25230
|
});
|
|
24599
25231
|
}
|
|
24600
|
-
setsectionproperties(_objectSpread$
|
|
25232
|
+
setsectionproperties(_objectSpread$1S({}, secpropobj));
|
|
24601
25233
|
}, [StatePagePropertiesContext]);
|
|
24602
25234
|
React.useEffect(function () {
|
|
24603
25235
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -25588,8 +26220,8 @@ var css_248z$w = ".Header_threesectionslogocentered-module_header_innercontainer
|
|
|
25588
26220
|
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"};
|
|
25589
26221
|
styleInject(css_248z$w);
|
|
25590
26222
|
|
|
25591
|
-
function ownKeys$
|
|
25592
|
-
function _objectSpread$
|
|
26223
|
+
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; }
|
|
26224
|
+
function _objectSpread$1R(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1R(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1R(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
25593
26225
|
var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
|
|
25594
26226
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
25595
26227
|
var _useState = React.useState(''),
|
|
@@ -25625,7 +26257,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
25625
26257
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
25626
26258
|
});
|
|
25627
26259
|
}
|
|
25628
|
-
setsectionproperties(_objectSpread$
|
|
26260
|
+
setsectionproperties(_objectSpread$1R({}, secpropobj));
|
|
25629
26261
|
}, [StatePagePropertiesContext]);
|
|
25630
26262
|
var _useState3 = React.useState([]),
|
|
25631
26263
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -26329,8 +26961,8 @@ var css_248z$v = ".Simpleheader-module_headercontainer__H09AD {\n position: a
|
|
|
26329
26961
|
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"};
|
|
26330
26962
|
styleInject(css_248z$v);
|
|
26331
26963
|
|
|
26332
|
-
function ownKeys$
|
|
26333
|
-
function _objectSpread$
|
|
26964
|
+
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; }
|
|
26965
|
+
function _objectSpread$1Q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26334
26966
|
var Simpleheader = function Simpleheader(props) {
|
|
26335
26967
|
var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
26336
26968
|
var actions = props.actions;
|
|
@@ -26375,7 +27007,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26375
27007
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
26376
27008
|
});
|
|
26377
27009
|
}
|
|
26378
|
-
setsectionproperties(_objectSpread$
|
|
27010
|
+
setsectionproperties(_objectSpread$1Q({}, secpropobj));
|
|
26379
27011
|
}, [StatePagePropertiesContext]);
|
|
26380
27012
|
React.useEffect(function () {
|
|
26381
27013
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -26589,12 +27221,18 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26589
27221
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
26590
27222
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
26591
27223
|
}
|
|
26592
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27224
|
+
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27225
|
+
"class": "col-lg-12 p-0"
|
|
27226
|
+
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
27227
|
+
sectionpropertiesprops: sectionproperties,
|
|
27228
|
+
templateproperties_contextprops: templateproperties_context,
|
|
27229
|
+
actions: actions
|
|
27230
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26593
27231
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
26594
27232
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26595
27233
|
"class": "row m-0 w-100 "
|
|
26596
27234
|
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26597
|
-
"class": "col-lg-12 p-0"
|
|
27235
|
+
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
26598
27236
|
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
26599
27237
|
sectionpropertiesprops: sectionproperties,
|
|
26600
27238
|
templateproperties_contextprops: templateproperties_context,
|
|
@@ -26954,7 +27592,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26954
27592
|
}), sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
|
|
26955
27593
|
sectionpropertiesprops: sectionproperties,
|
|
26956
27594
|
actions: actions
|
|
26957
|
-
}), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
27595
|
+
}), sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
26958
27596
|
sectionpropertiesprops: sectionproperties,
|
|
26959
27597
|
actions: actions
|
|
26960
27598
|
}), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
@@ -27037,8 +27675,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27037
27675
|
}))))))));
|
|
27038
27676
|
};
|
|
27039
27677
|
|
|
27040
|
-
function ownKeys$
|
|
27041
|
-
function _objectSpread$
|
|
27678
|
+
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; }
|
|
27679
|
+
function _objectSpread$1P(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1P(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1P(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
27042
27680
|
var Header8 = function Header8(props) {
|
|
27043
27681
|
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;
|
|
27044
27682
|
var actions = props.actions;
|
|
@@ -27095,7 +27733,7 @@ var Header8 = function Header8(props) {
|
|
|
27095
27733
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
27096
27734
|
});
|
|
27097
27735
|
}
|
|
27098
|
-
setsectionproperties(_objectSpread$
|
|
27736
|
+
setsectionproperties(_objectSpread$1P({}, secpropobj));
|
|
27099
27737
|
}, [StatePagePropertiesContext]);
|
|
27100
27738
|
var subtotalcart = function subtotalcart() {
|
|
27101
27739
|
var _fetchcustomercartQue;
|
|
@@ -28813,8 +29451,8 @@ var css_248z$u = ".headerresturant-module_header_innercontainer__K3I1g {\n di
|
|
|
28813
29451
|
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-"};
|
|
28814
29452
|
styleInject(css_248z$u);
|
|
28815
29453
|
|
|
28816
|
-
function ownKeys$
|
|
28817
|
-
function _objectSpread$
|
|
29454
|
+
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; }
|
|
29455
|
+
function _objectSpread$1O(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1O(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1O(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
28818
29456
|
var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
28819
29457
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
28820
29458
|
var _useState = React.useState(''),
|
|
@@ -28850,7 +29488,7 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
28850
29488
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
28851
29489
|
});
|
|
28852
29490
|
}
|
|
28853
|
-
setsectionproperties(_objectSpread$
|
|
29491
|
+
setsectionproperties(_objectSpread$1O({}, secpropobj));
|
|
28854
29492
|
}, [StatePagePropertiesContext]);
|
|
28855
29493
|
var _useState3 = React.useState([]),
|
|
28856
29494
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -29459,8 +30097,8 @@ var css_248z$t = ".header_contactinfo-module_lowerHeaderContainer__toB3m {\n
|
|
|
29459
30097
|
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"};
|
|
29460
30098
|
styleInject(css_248z$t);
|
|
29461
30099
|
|
|
29462
|
-
function ownKeys$
|
|
29463
|
-
function _objectSpread$
|
|
30100
|
+
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; }
|
|
30101
|
+
function _objectSpread$1N(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1N(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1N(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
29464
30102
|
var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
29465
30103
|
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i12, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
29466
30104
|
var _useState = React.useState(''),
|
|
@@ -29497,7 +30135,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
29497
30135
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
29498
30136
|
});
|
|
29499
30137
|
}
|
|
29500
|
-
setsectionproperties(_objectSpread$
|
|
30138
|
+
setsectionproperties(_objectSpread$1N({}, secpropobj));
|
|
29501
30139
|
}, [StatePagePropertiesContext]);
|
|
29502
30140
|
var _useState3 = React.useState(false),
|
|
29503
30141
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -30266,8 +30904,8 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
30266
30904
|
}))))))));
|
|
30267
30905
|
};
|
|
30268
30906
|
|
|
30269
|
-
function ownKeys$
|
|
30270
|
-
function _objectSpread$
|
|
30907
|
+
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; }
|
|
30908
|
+
function _objectSpread$1M(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1M(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1M(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
30271
30909
|
var Modernheader = function Modernheader(props) {
|
|
30272
30910
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
30273
30911
|
var _useState = React.useState(''),
|
|
@@ -30312,7 +30950,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
30312
30950
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
30313
30951
|
});
|
|
30314
30952
|
}
|
|
30315
|
-
setsectionproperties(_objectSpread$
|
|
30953
|
+
setsectionproperties(_objectSpread$1M({}, secpropobj));
|
|
30316
30954
|
}, [StatePagePropertiesContext]);
|
|
30317
30955
|
React.useEffect(function () {
|
|
30318
30956
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -30961,8 +31599,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
30961
31599
|
}));
|
|
30962
31600
|
};
|
|
30963
31601
|
|
|
30964
|
-
function ownKeys$
|
|
30965
|
-
function _objectSpread$
|
|
31602
|
+
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; }
|
|
31603
|
+
function _objectSpread$1L(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1L(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1L(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
30966
31604
|
var SearchCenteredHeader = function SearchCenteredHeader(props) {
|
|
30967
31605
|
var _fetchcustomercartQue2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
|
|
30968
31606
|
var _useState = React.useState(''),
|
|
@@ -31000,7 +31638,7 @@ var SearchCenteredHeader = function SearchCenteredHeader(props) {
|
|
|
31000
31638
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
31001
31639
|
});
|
|
31002
31640
|
}
|
|
31003
|
-
setsectionproperties(_objectSpread$
|
|
31641
|
+
setsectionproperties(_objectSpread$1L({}, secpropobj));
|
|
31004
31642
|
}, [StatePagePropertiesContext]);
|
|
31005
31643
|
var _useState3 = React.useState([]),
|
|
31006
31644
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -31633,8 +32271,8 @@ var css_248z$s = ".stylishheader-module_headercontainer__FUgDo {\n display: fle
|
|
|
31633
32271
|
var headerstyles$6 = {"headercontainer":"stylishheader-module_headercontainer__FUgDo","navbar":"stylishheader-module_navbar__IX59y","badge_counter_header_notifications":"stylishheader-module_badge_counter_header_notifications__9G0T4"};
|
|
31634
32272
|
styleInject(css_248z$s);
|
|
31635
32273
|
|
|
31636
|
-
function ownKeys$
|
|
31637
|
-
function _objectSpread$
|
|
32274
|
+
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; }
|
|
32275
|
+
function _objectSpread$1K(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1K(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1K(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
31638
32276
|
var StylishHeader = function StylishHeader(props) {
|
|
31639
32277
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _logoarrayofobjects$3, _logoarrayofobjects$4, _logoarrayofobjects$5, _logoarrayofobjects$6;
|
|
31640
32278
|
var _useState = React.useState(''),
|
|
@@ -31675,7 +32313,7 @@ var StylishHeader = function StylishHeader(props) {
|
|
|
31675
32313
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
31676
32314
|
});
|
|
31677
32315
|
}
|
|
31678
|
-
setsectionproperties(_objectSpread$
|
|
32316
|
+
setsectionproperties(_objectSpread$1K({}, secpropobj));
|
|
31679
32317
|
}, [StatePagePropertiesContext]);
|
|
31680
32318
|
var _useState5 = React.useState([]),
|
|
31681
32319
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
@@ -32426,8 +33064,8 @@ var css_248z$r = ".threetieredheader-module_lowerHeaderContainer__hl0gc {\n d
|
|
|
32426
33064
|
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"};
|
|
32427
33065
|
styleInject(css_248z$r);
|
|
32428
33066
|
|
|
32429
|
-
function ownKeys$
|
|
32430
|
-
function _objectSpread$
|
|
33067
|
+
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; }
|
|
33068
|
+
function _objectSpread$1J(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1J(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1J(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
32431
33069
|
var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
32432
33070
|
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$c, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
32433
33071
|
var actions = props.actions;
|
|
@@ -32465,7 +33103,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
32465
33103
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
32466
33104
|
});
|
|
32467
33105
|
}
|
|
32468
|
-
setsectionproperties(_objectSpread$
|
|
33106
|
+
setsectionproperties(_objectSpread$1J({}, secpropobj));
|
|
32469
33107
|
}, [StatePagePropertiesContext]);
|
|
32470
33108
|
var _useState3 = React.useState([]),
|
|
32471
33109
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -33296,8 +33934,8 @@ var css_248z$q = ".SearchFocusedHeader-module_headerMiddleContainer__P6xTy {\n
|
|
|
33296
33934
|
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"};
|
|
33297
33935
|
styleInject(css_248z$q);
|
|
33298
33936
|
|
|
33299
|
-
function ownKeys$
|
|
33300
|
-
function _objectSpread$
|
|
33937
|
+
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; }
|
|
33938
|
+
function _objectSpread$1I(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1I(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1I(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
33301
33939
|
var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
33302
33940
|
var _css, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$i13, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i14, _authdetailsContext$i16;
|
|
33303
33941
|
var lang = props.actions.lang;
|
|
@@ -33364,7 +34002,7 @@ var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
|
33364
34002
|
});
|
|
33365
34003
|
}
|
|
33366
34004
|
}
|
|
33367
|
-
setsectionproperties(_objectSpread$
|
|
34005
|
+
setsectionproperties(_objectSpread$1I({}, secpropobj));
|
|
33368
34006
|
}, [StatePagePropertiesContext]);
|
|
33369
34007
|
var ButtonDropdown = function ButtonDropdown(item, index, fetchedarray) {
|
|
33370
34008
|
var _fetchedarray$Choosen, _fetchedarray$Choosen2, _pcollarray$Choosenin, _pcollarray$Choosenin2;
|
|
@@ -34290,8 +34928,8 @@ var css_248z$p = ".HeaderWithUtilityBar-module_headerMiddleContainer__5fNQX {\n
|
|
|
34290
34928
|
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"};
|
|
34291
34929
|
styleInject(css_248z$p);
|
|
34292
34930
|
|
|
34293
|
-
function ownKeys$
|
|
34294
|
-
function _objectSpread$
|
|
34931
|
+
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; }
|
|
34932
|
+
function _objectSpread$1H(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1H(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1H(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
34295
34933
|
var HeaderWithUtilityBar = function HeaderWithUtilityBar(props) {
|
|
34296
34934
|
var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2;
|
|
34297
34935
|
var lang = props.actions.lang;
|
|
@@ -34335,7 +34973,7 @@ var HeaderWithUtilityBar = function HeaderWithUtilityBar(props) {
|
|
|
34335
34973
|
});
|
|
34336
34974
|
}
|
|
34337
34975
|
}
|
|
34338
|
-
setsectionproperties(_objectSpread$
|
|
34976
|
+
setsectionproperties(_objectSpread$1H({}, secpropobj));
|
|
34339
34977
|
}, [StatePagePropertiesContext]);
|
|
34340
34978
|
var _useState5 = React.useState([]),
|
|
34341
34979
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
@@ -35067,8 +35705,8 @@ var css_248z$o = ".HeaderWithAdSlider-module_nav__item__lmbKL {\n width: 100%
|
|
|
35067
35705
|
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"};
|
|
35068
35706
|
styleInject(css_248z$o);
|
|
35069
35707
|
|
|
35070
|
-
function ownKeys$
|
|
35071
|
-
function _objectSpread$
|
|
35708
|
+
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; }
|
|
35709
|
+
function _objectSpread$1G(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1G(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1G(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
35072
35710
|
var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
35073
35711
|
var _css, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35074
35712
|
var _useState = React.useState(''),
|
|
@@ -35106,7 +35744,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
35106
35744
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
35107
35745
|
});
|
|
35108
35746
|
}
|
|
35109
|
-
setsectionproperties(_objectSpread$
|
|
35747
|
+
setsectionproperties(_objectSpread$1G({}, secpropobj));
|
|
35110
35748
|
}, [StatePagePropertiesContext]);
|
|
35111
35749
|
var _useState3 = React.useState([]),
|
|
35112
35750
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -35834,8 +36472,8 @@ var css_248z$n = ".HeaderWithSearchOnCenter-module_headercontainer__hEPeK {\n
|
|
|
35834
36472
|
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"};
|
|
35835
36473
|
styleInject(css_248z$n);
|
|
35836
36474
|
|
|
35837
|
-
function ownKeys$
|
|
35838
|
-
function _objectSpread$
|
|
36475
|
+
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; }
|
|
36476
|
+
function _objectSpread$1F(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1F(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1F(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
35839
36477
|
var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
35840
36478
|
var _css, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35841
36479
|
var _useState = React.useState(''),
|
|
@@ -35872,7 +36510,7 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
|
35872
36510
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
35873
36511
|
});
|
|
35874
36512
|
}
|
|
35875
|
-
setsectionproperties(_objectSpread$
|
|
36513
|
+
setsectionproperties(_objectSpread$1F({}, secpropobj));
|
|
35876
36514
|
}, [StatePagePropertiesContext]);
|
|
35877
36515
|
var _useState3 = React.useState([]),
|
|
35878
36516
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -36479,8 +37117,8 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
|
36479
37117
|
}));
|
|
36480
37118
|
};
|
|
36481
37119
|
|
|
36482
|
-
function ownKeys$
|
|
36483
|
-
function _objectSpread$
|
|
37120
|
+
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; }
|
|
37121
|
+
function _objectSpread$1E(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1E(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1E(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
36484
37122
|
var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
36485
37123
|
var _css, _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$c5, _fetchcustomercartQue3, _fetchcustomercartQue4;
|
|
36486
37124
|
var lang = props.actions.lang;
|
|
@@ -36528,7 +37166,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
36528
37166
|
});
|
|
36529
37167
|
}
|
|
36530
37168
|
}
|
|
36531
|
-
setsectionproperties(_objectSpread$
|
|
37169
|
+
setsectionproperties(_objectSpread$1E({}, secpropobj));
|
|
36532
37170
|
}, [StatePagePropertiesContext]);
|
|
36533
37171
|
React.useEffect(function () {
|
|
36534
37172
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -37457,8 +38095,8 @@ var css_248z$m = ".NewHeader-module_headercontainer__qY3Tj {\n position: abso
|
|
|
37457
38095
|
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"};
|
|
37458
38096
|
styleInject(css_248z$m);
|
|
37459
38097
|
|
|
37460
|
-
function ownKeys$
|
|
37461
|
-
function _objectSpread$
|
|
38098
|
+
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; }
|
|
38099
|
+
function _objectSpread$1D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1D(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
37462
38100
|
var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(props) {
|
|
37463
38101
|
var _textarray$, _textarray$2, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
37464
38102
|
var _useState = React.useState(''),
|
|
@@ -37499,7 +38137,7 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
37499
38137
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
37500
38138
|
});
|
|
37501
38139
|
}
|
|
37502
|
-
setsectionproperties(_objectSpread$
|
|
38140
|
+
setsectionproperties(_objectSpread$1D({}, secpropobj));
|
|
37503
38141
|
}, [StatePagePropertiesContext]);
|
|
37504
38142
|
var _useState5 = React.useState([]),
|
|
37505
38143
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
@@ -38275,8 +38913,8 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
38275
38913
|
}));
|
|
38276
38914
|
};
|
|
38277
38915
|
|
|
38278
|
-
function ownKeys$
|
|
38279
|
-
function _objectSpread$
|
|
38916
|
+
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; }
|
|
38917
|
+
function _objectSpread$1C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
38280
38918
|
var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props) {
|
|
38281
38919
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
38282
38920
|
var _useState = React.useState(''),
|
|
@@ -38326,7 +38964,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
38326
38964
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
38327
38965
|
});
|
|
38328
38966
|
}
|
|
38329
|
-
setsectionproperties(_objectSpread$
|
|
38967
|
+
setsectionproperties(_objectSpread$1C({}, secpropobj));
|
|
38330
38968
|
}, [StatePagePropertiesContext]);
|
|
38331
38969
|
React.useEffect(function () {
|
|
38332
38970
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -39000,8 +39638,8 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
39000
39638
|
}));
|
|
39001
39639
|
};
|
|
39002
39640
|
|
|
39003
|
-
function ownKeys$
|
|
39004
|
-
function _objectSpread$
|
|
39641
|
+
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; }
|
|
39642
|
+
function _objectSpread$1B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
39005
39643
|
var Allinonefooter = function Allinonefooter(props) {
|
|
39006
39644
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i5, _templatepropcontext$, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14;
|
|
39007
39645
|
var _useState = React.useState(''),
|
|
@@ -39028,7 +39666,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
39028
39666
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
39029
39667
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
39030
39668
|
});
|
|
39031
|
-
setsectionproperties(_objectSpread$
|
|
39669
|
+
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
39032
39670
|
} else {
|
|
39033
39671
|
var secpropobj = {};
|
|
39034
39672
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -39038,7 +39676,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
39038
39676
|
});
|
|
39039
39677
|
}
|
|
39040
39678
|
});
|
|
39041
|
-
setsectionproperties(_objectSpread$
|
|
39679
|
+
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
39042
39680
|
}
|
|
39043
39681
|
}, [StatePagePropertiesContext]);
|
|
39044
39682
|
var footerStyles = {
|
|
@@ -39494,8 +40132,8 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
39494
40132
|
}))))));
|
|
39495
40133
|
};
|
|
39496
40134
|
|
|
39497
|
-
function ownKeys$
|
|
39498
|
-
function _objectSpread$
|
|
40135
|
+
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; }
|
|
40136
|
+
function _objectSpread$1A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1A(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
39499
40137
|
var Footer1 = function Footer1(props) {
|
|
39500
40138
|
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;
|
|
39501
40139
|
var _useState = React.useState(''),
|
|
@@ -39522,7 +40160,7 @@ var Footer1 = function Footer1(props) {
|
|
|
39522
40160
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
39523
40161
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
39524
40162
|
});
|
|
39525
|
-
setsectionproperties(_objectSpread$
|
|
40163
|
+
setsectionproperties(_objectSpread$1A({}, secpropobj));
|
|
39526
40164
|
} else {
|
|
39527
40165
|
var secpropobj = {};
|
|
39528
40166
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -39532,7 +40170,7 @@ var Footer1 = function Footer1(props) {
|
|
|
39532
40170
|
});
|
|
39533
40171
|
}
|
|
39534
40172
|
});
|
|
39535
|
-
setsectionproperties(_objectSpread$
|
|
40173
|
+
setsectionproperties(_objectSpread$1A({}, secpropobj));
|
|
39536
40174
|
}
|
|
39537
40175
|
}, [StatePagePropertiesContext]);
|
|
39538
40176
|
React.useEffect(function () {
|
|
@@ -39950,8 +40588,8 @@ var Footer1 = function Footer1(props) {
|
|
|
39950
40588
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.address_en)))))));
|
|
39951
40589
|
};
|
|
39952
40590
|
|
|
39953
|
-
function ownKeys$
|
|
39954
|
-
function _objectSpread$
|
|
40591
|
+
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; }
|
|
40592
|
+
function _objectSpread$1z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
39955
40593
|
var Footer2 = function Footer2(props) {
|
|
39956
40594
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i18, _authdetailsContext$i19;
|
|
39957
40595
|
var _useState = React.useState(''),
|
|
@@ -39981,7 +40619,7 @@ var Footer2 = function Footer2(props) {
|
|
|
39981
40619
|
});
|
|
39982
40620
|
}
|
|
39983
40621
|
});
|
|
39984
|
-
setsectionproperties(_objectSpread$
|
|
40622
|
+
setsectionproperties(_objectSpread$1z({}, secpropobj));
|
|
39985
40623
|
}, [StatePagePropertiesContext]);
|
|
39986
40624
|
React.useEffect(function () {
|
|
39987
40625
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -40339,8 +40977,8 @@ var Footer2 = function Footer2(props) {
|
|
|
40339
40977
|
})))));
|
|
40340
40978
|
};
|
|
40341
40979
|
|
|
40342
|
-
function ownKeys$
|
|
40343
|
-
function _objectSpread$
|
|
40980
|
+
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; }
|
|
40981
|
+
function _objectSpread$1y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
40344
40982
|
var Footer3 = function Footer3(props) {
|
|
40345
40983
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
40346
40984
|
var _useState = React.useState(''),
|
|
@@ -40367,7 +41005,7 @@ var Footer3 = function Footer3(props) {
|
|
|
40367
41005
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
40368
41006
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
40369
41007
|
});
|
|
40370
|
-
setsectionproperties(_objectSpread$
|
|
41008
|
+
setsectionproperties(_objectSpread$1y({}, secpropobj));
|
|
40371
41009
|
} else {
|
|
40372
41010
|
var secpropobj = {};
|
|
40373
41011
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -40377,7 +41015,7 @@ var Footer3 = function Footer3(props) {
|
|
|
40377
41015
|
});
|
|
40378
41016
|
}
|
|
40379
41017
|
});
|
|
40380
|
-
setsectionproperties(_objectSpread$
|
|
41018
|
+
setsectionproperties(_objectSpread$1y({}, secpropobj));
|
|
40381
41019
|
}
|
|
40382
41020
|
}, [StatePagePropertiesContext]);
|
|
40383
41021
|
React.useEffect(function () {
|
|
@@ -40691,8 +41329,8 @@ var Footer3 = function Footer3(props) {
|
|
|
40691
41329
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.address_en)))))));
|
|
40692
41330
|
};
|
|
40693
41331
|
|
|
40694
|
-
function ownKeys$
|
|
40695
|
-
function _objectSpread$
|
|
41332
|
+
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; }
|
|
41333
|
+
function _objectSpread$1x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1x(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
40696
41334
|
var Footer4 = function Footer4(props) {
|
|
40697
41335
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i15;
|
|
40698
41336
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -40715,7 +41353,7 @@ var Footer4 = function Footer4(props) {
|
|
|
40715
41353
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
40716
41354
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
40717
41355
|
});
|
|
40718
|
-
setsectionproperties(_objectSpread$
|
|
41356
|
+
setsectionproperties(_objectSpread$1x({}, secpropobj));
|
|
40719
41357
|
} else {
|
|
40720
41358
|
var secpropobj = {};
|
|
40721
41359
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -40725,7 +41363,7 @@ var Footer4 = function Footer4(props) {
|
|
|
40725
41363
|
});
|
|
40726
41364
|
}
|
|
40727
41365
|
});
|
|
40728
|
-
setsectionproperties(_objectSpread$
|
|
41366
|
+
setsectionproperties(_objectSpread$1x({}, secpropobj));
|
|
40729
41367
|
}
|
|
40730
41368
|
}, [StatePagePropertiesContext]);
|
|
40731
41369
|
var footerStyles = {
|
|
@@ -41110,8 +41748,8 @@ var Footer4 = function Footer4(props) {
|
|
|
41110
41748
|
}))))))));
|
|
41111
41749
|
};
|
|
41112
41750
|
|
|
41113
|
-
function ownKeys$
|
|
41114
|
-
function _objectSpread$
|
|
41751
|
+
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; }
|
|
41752
|
+
function _objectSpread$1w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41115
41753
|
var Footer5 = function Footer5(props) {
|
|
41116
41754
|
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;
|
|
41117
41755
|
var _useState = React.useState(''),
|
|
@@ -41141,7 +41779,7 @@ var Footer5 = function Footer5(props) {
|
|
|
41141
41779
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
41142
41780
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41143
41781
|
});
|
|
41144
|
-
setsectionproperties(_objectSpread$
|
|
41782
|
+
setsectionproperties(_objectSpread$1w({}, secpropobj));
|
|
41145
41783
|
} else {
|
|
41146
41784
|
var secpropobj = {};
|
|
41147
41785
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41151,7 +41789,7 @@ var Footer5 = function Footer5(props) {
|
|
|
41151
41789
|
});
|
|
41152
41790
|
}
|
|
41153
41791
|
});
|
|
41154
|
-
setsectionproperties(_objectSpread$
|
|
41792
|
+
setsectionproperties(_objectSpread$1w({}, secpropobj));
|
|
41155
41793
|
}
|
|
41156
41794
|
}, [StatePagePropertiesContext]);
|
|
41157
41795
|
React.useEffect(function () {
|
|
@@ -41639,8 +42277,8 @@ var Footer5 = function Footer5(props) {
|
|
|
41639
42277
|
}))))))));
|
|
41640
42278
|
};
|
|
41641
42279
|
|
|
41642
|
-
function ownKeys$
|
|
41643
|
-
function _objectSpread$
|
|
42280
|
+
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; }
|
|
42281
|
+
function _objectSpread$1v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1v(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41644
42282
|
var Footer6 = function Footer6(props) {
|
|
41645
42283
|
var _authdetailsContext$i2, _authdetailsContext$i3;
|
|
41646
42284
|
var _useState = React.useState(''),
|
|
@@ -41671,7 +42309,7 @@ var Footer6 = function Footer6(props) {
|
|
|
41671
42309
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
41672
42310
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41673
42311
|
});
|
|
41674
|
-
setsectionproperties(_objectSpread$
|
|
42312
|
+
setsectionproperties(_objectSpread$1v({}, secpropobj));
|
|
41675
42313
|
} else {
|
|
41676
42314
|
var secpropobj = {};
|
|
41677
42315
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41681,7 +42319,7 @@ var Footer6 = function Footer6(props) {
|
|
|
41681
42319
|
});
|
|
41682
42320
|
}
|
|
41683
42321
|
});
|
|
41684
|
-
setsectionproperties(_objectSpread$
|
|
42322
|
+
setsectionproperties(_objectSpread$1v({}, secpropobj));
|
|
41685
42323
|
}
|
|
41686
42324
|
}, [StatePagePropertiesContext]);
|
|
41687
42325
|
React.useEffect(function () {
|
|
@@ -41918,8 +42556,8 @@ var Footer6 = function Footer6(props) {
|
|
|
41918
42556
|
}))));
|
|
41919
42557
|
};
|
|
41920
42558
|
|
|
41921
|
-
function ownKeys$
|
|
41922
|
-
function _objectSpread$
|
|
42559
|
+
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; }
|
|
42560
|
+
function _objectSpread$1u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1u(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41923
42561
|
var Footer7 = function Footer7(props) {
|
|
41924
42562
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i9;
|
|
41925
42563
|
var _useState = React.useState(''),
|
|
@@ -41950,7 +42588,7 @@ var Footer7 = function Footer7(props) {
|
|
|
41950
42588
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
41951
42589
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41952
42590
|
});
|
|
41953
|
-
setsectionproperties(_objectSpread$
|
|
42591
|
+
setsectionproperties(_objectSpread$1u({}, secpropobj));
|
|
41954
42592
|
} else {
|
|
41955
42593
|
var secpropobj = {};
|
|
41956
42594
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41960,7 +42598,7 @@ var Footer7 = function Footer7(props) {
|
|
|
41960
42598
|
});
|
|
41961
42599
|
}
|
|
41962
42600
|
});
|
|
41963
|
-
setsectionproperties(_objectSpread$
|
|
42601
|
+
setsectionproperties(_objectSpread$1u({}, secpropobj));
|
|
41964
42602
|
}
|
|
41965
42603
|
}, [StatePagePropertiesContext]);
|
|
41966
42604
|
React.useEffect(function () {
|
|
@@ -42318,8 +42956,8 @@ var Footer7 = function Footer7(props) {
|
|
|
42318
42956
|
}))))));
|
|
42319
42957
|
};
|
|
42320
42958
|
|
|
42321
|
-
function ownKeys$
|
|
42322
|
-
function _objectSpread$
|
|
42959
|
+
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; }
|
|
42960
|
+
function _objectSpread$1t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1t(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
42323
42961
|
var Footer8 = function Footer8(props) {
|
|
42324
42962
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _templatepropcontext$;
|
|
42325
42963
|
var _useState = React.useState(''),
|
|
@@ -42346,7 +42984,7 @@ var Footer8 = function Footer8(props) {
|
|
|
42346
42984
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
42347
42985
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
42348
42986
|
});
|
|
42349
|
-
setsectionproperties(_objectSpread$
|
|
42987
|
+
setsectionproperties(_objectSpread$1t({}, secpropobj));
|
|
42350
42988
|
} else {
|
|
42351
42989
|
var secpropobj = {};
|
|
42352
42990
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -42356,7 +42994,7 @@ var Footer8 = function Footer8(props) {
|
|
|
42356
42994
|
});
|
|
42357
42995
|
}
|
|
42358
42996
|
});
|
|
42359
|
-
setsectionproperties(_objectSpread$
|
|
42997
|
+
setsectionproperties(_objectSpread$1t({}, secpropobj));
|
|
42360
42998
|
}
|
|
42361
42999
|
}, [StatePagePropertiesContext]);
|
|
42362
43000
|
var footerStyles = {
|
|
@@ -42734,8 +43372,8 @@ var Footer8 = function Footer8(props) {
|
|
|
42734
43372
|
}, lang.orderhistory)))))));
|
|
42735
43373
|
};
|
|
42736
43374
|
|
|
42737
|
-
function ownKeys$
|
|
42738
|
-
function _objectSpread$
|
|
43375
|
+
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; }
|
|
43376
|
+
function _objectSpread$1s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1s(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
42739
43377
|
var Simplefooter = function Simplefooter(props) {
|
|
42740
43378
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i9;
|
|
42741
43379
|
var _useState = React.useState(''),
|
|
@@ -42762,7 +43400,7 @@ var Simplefooter = function Simplefooter(props) {
|
|
|
42762
43400
|
});
|
|
42763
43401
|
}
|
|
42764
43402
|
});
|
|
42765
|
-
setsectionproperties(_objectSpread$
|
|
43403
|
+
setsectionproperties(_objectSpread$1s({}, secpropobj));
|
|
42766
43404
|
}, [StatePagePropertiesContext]);
|
|
42767
43405
|
React.useEffect(function () {
|
|
42768
43406
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -43029,8 +43667,8 @@ var Simplefooter = function Simplefooter(props) {
|
|
|
43029
43667
|
})));
|
|
43030
43668
|
};
|
|
43031
43669
|
|
|
43032
|
-
function ownKeys$
|
|
43033
|
-
function _objectSpread$
|
|
43670
|
+
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; }
|
|
43671
|
+
function _objectSpread$1r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1r(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
43034
43672
|
var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
43035
43673
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
43036
43674
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -43053,7 +43691,7 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
43053
43691
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
43054
43692
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
43055
43693
|
});
|
|
43056
|
-
setsectionproperties(_objectSpread$
|
|
43694
|
+
setsectionproperties(_objectSpread$1r({}, secpropobj));
|
|
43057
43695
|
} else {
|
|
43058
43696
|
var secpropobj = {};
|
|
43059
43697
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -43063,7 +43701,7 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
43063
43701
|
});
|
|
43064
43702
|
}
|
|
43065
43703
|
});
|
|
43066
|
-
setsectionproperties(_objectSpread$
|
|
43704
|
+
setsectionproperties(_objectSpread$1r({}, secpropobj));
|
|
43067
43705
|
}
|
|
43068
43706
|
}, [StatePagePropertiesContext]);
|
|
43069
43707
|
var _useState3 = React.useState([]),
|
|
@@ -43341,8 +43979,8 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
43341
43979
|
}, "@ ", 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))));
|
|
43342
43980
|
};
|
|
43343
43981
|
|
|
43344
|
-
function ownKeys$
|
|
43345
|
-
function _objectSpread$
|
|
43982
|
+
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; }
|
|
43983
|
+
function _objectSpread$1q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
43346
43984
|
var ModernFooter = function ModernFooter(props) {
|
|
43347
43985
|
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;
|
|
43348
43986
|
var _useState = React.useState(''),
|
|
@@ -43368,7 +44006,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
43368
44006
|
});
|
|
43369
44007
|
}
|
|
43370
44008
|
});
|
|
43371
|
-
setsectionproperties(_objectSpread$
|
|
44009
|
+
setsectionproperties(_objectSpread$1q({}, secpropobj));
|
|
43372
44010
|
}, [StatePagePropertiesContext]);
|
|
43373
44011
|
var footerStyles = {
|
|
43374
44012
|
footerContainer: glamor.css({
|
|
@@ -43819,8 +44457,8 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
43819
44457
|
})))))));
|
|
43820
44458
|
};
|
|
43821
44459
|
|
|
43822
|
-
function ownKeys$
|
|
43823
|
-
function _objectSpread$
|
|
44460
|
+
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; }
|
|
44461
|
+
function _objectSpread$1p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1p(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
43824
44462
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
43825
44463
|
var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
|
|
43826
44464
|
var _useState = React.useState(''),
|
|
@@ -43850,7 +44488,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
43850
44488
|
});
|
|
43851
44489
|
}
|
|
43852
44490
|
});
|
|
43853
|
-
setsectionproperties(_objectSpread$
|
|
44491
|
+
setsectionproperties(_objectSpread$1p({}, secpropobj));
|
|
43854
44492
|
}, [StatePagePropertiesContext]);
|
|
43855
44493
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
43856
44494
|
var _authdetailsContext$i;
|
|
@@ -44410,6 +45048,254 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
44410
45048
|
}, StoreInformation()))));
|
|
44411
45049
|
};
|
|
44412
45050
|
|
|
45051
|
+
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; }
|
|
45052
|
+
function _objectSpread$1o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1o(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
45053
|
+
var Newsletterincenter = function Newsletterincenter(props) {
|
|
45054
|
+
var _css, _footerStyles;
|
|
45055
|
+
var _useState = React.useState(''),
|
|
45056
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
45057
|
+
sectionproperties = _useState2[0],
|
|
45058
|
+
setsectionproperties = _useState2[1];
|
|
45059
|
+
var _useState3 = React.useState([]),
|
|
45060
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2);
|
|
45061
|
+
_useState4[0];
|
|
45062
|
+
var setlogoarrayofobjects = _useState4[1];
|
|
45063
|
+
props.actions.history;
|
|
45064
|
+
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
45065
|
+
props.actions.lang;
|
|
45066
|
+
var langdetect = props.actions.langdetect;
|
|
45067
|
+
var routingcountext = props.actions.routingcountext;
|
|
45068
|
+
props.actions.StaticPagesLinksContext;
|
|
45069
|
+
props.actions.authdetailsContext;
|
|
45070
|
+
var templateproperties_context = props.actions.templateproperties_context;
|
|
45071
|
+
var templatepropcontext = props.actions.templatepropcontext;
|
|
45072
|
+
props.actions.ikimagecredcontext;
|
|
45073
|
+
React.useEffect(function () {
|
|
45074
|
+
var secpropobj = {};
|
|
45075
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
45076
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
45077
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
45078
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
45079
|
+
});
|
|
45080
|
+
}
|
|
45081
|
+
});
|
|
45082
|
+
setsectionproperties(_objectSpread$1o({}, secpropobj));
|
|
45083
|
+
}, [StatePagePropertiesContext]);
|
|
45084
|
+
var footerStyles = (_footerStyles = {
|
|
45085
|
+
divider: glamor.css({
|
|
45086
|
+
height: '1px',
|
|
45087
|
+
width: '100%',
|
|
45088
|
+
backgroundColor: sectionproperties.vl_bg
|
|
45089
|
+
}),
|
|
45090
|
+
payimgcont: glamor.css({
|
|
45091
|
+
marginLeft: '10px',
|
|
45092
|
+
marginRight: '10px'
|
|
45093
|
+
}),
|
|
45094
|
+
payimg: glamor.css({
|
|
45095
|
+
width: '100%',
|
|
45096
|
+
height: '100%',
|
|
45097
|
+
objectFit: 'contain'
|
|
45098
|
+
}),
|
|
45099
|
+
footerContainer: glamor.css({
|
|
45100
|
+
background: sectionproperties.footerbgcolor,
|
|
45101
|
+
paddingTop: sectionproperties.footerpaddingvertical + 'px',
|
|
45102
|
+
paddingLeft: sectionproperties.footerpaddinghorizontal + 'px',
|
|
45103
|
+
paddingRight: sectionproperties.footerpaddinghorizontal + 'px',
|
|
45104
|
+
paddingBottom: sectionproperties.footerpaddingvertical + 'px',
|
|
45105
|
+
width: '100vw'
|
|
45106
|
+
}),
|
|
45107
|
+
footerlogo: glamor.css({
|
|
45108
|
+
width: sectionproperties.logo_width + 'px',
|
|
45109
|
+
height: sectionproperties.logo_height + 'px',
|
|
45110
|
+
position: 'relative'
|
|
45111
|
+
}),
|
|
45112
|
+
apptore: glamor.css({
|
|
45113
|
+
width: '100%',
|
|
45114
|
+
objectFit: 'contain'
|
|
45115
|
+
}),
|
|
45116
|
+
googleplay: glamor.css({
|
|
45117
|
+
width: '100%',
|
|
45118
|
+
objectFit: 'contain'
|
|
45119
|
+
}),
|
|
45120
|
+
textStyles: glamor.css({
|
|
45121
|
+
fontSize: sectionproperties.footerinfotext_fontsize + 'px',
|
|
45122
|
+
color: sectionproperties.footerinfotext_color,
|
|
45123
|
+
fontWeight: sectionproperties.footerinfotext_fontweight
|
|
45124
|
+
}),
|
|
45125
|
+
logoStyles: glamor.css({
|
|
45126
|
+
width: sectionproperties.logo_width + 'px',
|
|
45127
|
+
height: sectionproperties.logo_height + 'px'
|
|
45128
|
+
}),
|
|
45129
|
+
sectionTitle: glamor.css({
|
|
45130
|
+
color: sectionproperties.sectionTitleColor,
|
|
45131
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
45132
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
45133
|
+
}),
|
|
45134
|
+
subPages: glamor.css({
|
|
45135
|
+
textTransform: sectionproperties.footertexttransform,
|
|
45136
|
+
fontSize: sectionproperties.footerfontsize + 'px',
|
|
45137
|
+
fontWeight: sectionproperties.footerfontweight,
|
|
45138
|
+
color: sectionproperties.footertextcolor,
|
|
45139
|
+
cursor: 'pointer',
|
|
45140
|
+
transition: '.3s',
|
|
45141
|
+
':hover': {
|
|
45142
|
+
color: sectionproperties.footertextcoloronhover
|
|
45143
|
+
}
|
|
45144
|
+
}),
|
|
45145
|
+
facebook_btn: glamor.css({
|
|
45146
|
+
cursor: 'pointer',
|
|
45147
|
+
background: sectionproperties.facebkbtnnbgColor,
|
|
45148
|
+
width: sectionproperties.facebkbtnnWidth == 0 ? 'auto' : sectionproperties.facebkbtnnWidth + 'px',
|
|
45149
|
+
height: sectionproperties.facebkbtnnHeight == 0 ? 'auto' : sectionproperties.facebkbtnnHeight + 'px',
|
|
45150
|
+
borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
|
|
45151
|
+
color: sectionproperties.facebkbtnnTextcolor,
|
|
45152
|
+
border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
|
|
45153
|
+
transition: '.3s',
|
|
45154
|
+
':hover': {
|
|
45155
|
+
background: sectionproperties.facebkbtnnbgColoronhover,
|
|
45156
|
+
borderColor: sectionproperties.facebkbtnnTextcoloronhover,
|
|
45157
|
+
color: sectionproperties.facebkbtnnTextcoloronhover
|
|
45158
|
+
}
|
|
45159
|
+
}),
|
|
45160
|
+
youtube_btn: glamor.css({
|
|
45161
|
+
cursor: 'pointer',
|
|
45162
|
+
background: sectionproperties.youtubebtnbgColor,
|
|
45163
|
+
width: sectionproperties.youtubebtnWidth == 0 ? 'auto' : sectionproperties.youtubebtnWidth + 'px',
|
|
45164
|
+
height: sectionproperties.youtubebtnHeight == 0 ? 'auto' : sectionproperties.youtubebtnHeight + 'px',
|
|
45165
|
+
borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
|
|
45166
|
+
color: sectionproperties.youtubebtnTextcolor,
|
|
45167
|
+
border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
|
|
45168
|
+
transition: '.3s',
|
|
45169
|
+
':hover': {
|
|
45170
|
+
background: sectionproperties.youtubebtnbgColoronhover,
|
|
45171
|
+
borderColor: sectionproperties.youtubebtnTextcoloronhover,
|
|
45172
|
+
color: sectionproperties.youtubebtnTextcoloronhover
|
|
45173
|
+
}
|
|
45174
|
+
}),
|
|
45175
|
+
instgram_btn: glamor.css({
|
|
45176
|
+
cursor: 'pointer',
|
|
45177
|
+
background: sectionproperties.instgrambtnbgColor,
|
|
45178
|
+
width: sectionproperties.instgrambtnWidth == 0 ? 'auto' : sectionproperties.instgrambtnWidth + 'px',
|
|
45179
|
+
height: sectionproperties.instgrambtnHeight == 0 ? 'auto' : sectionproperties.instgrambtnHeight + 'px',
|
|
45180
|
+
borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
|
|
45181
|
+
color: sectionproperties.instgrambtnTextcolor,
|
|
45182
|
+
border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
|
|
45183
|
+
transition: '.3s',
|
|
45184
|
+
':hover': {
|
|
45185
|
+
background: sectionproperties.instgrambtnbgColoronhover,
|
|
45186
|
+
borderColor: sectionproperties.instgrambtnTextcoloronhover,
|
|
45187
|
+
color: sectionproperties.instgrambtnTextcoloronhover
|
|
45188
|
+
}
|
|
45189
|
+
}),
|
|
45190
|
+
subscribetitle: glamor.css({
|
|
45191
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
45192
|
+
color: sectionproperties.sectionTitleColor,
|
|
45193
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
45194
|
+
}),
|
|
45195
|
+
subscribedescription: glamor.css({
|
|
45196
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
45197
|
+
color: sectionproperties.prodCatColor,
|
|
45198
|
+
fontWeight: sectionproperties.prodCatFontWeight
|
|
45199
|
+
})
|
|
45200
|
+
}, _defineProperty__default["default"](_footerStyles, "apptore", glamor.css({
|
|
45201
|
+
width: '35%',
|
|
45202
|
+
objectFit: 'contain',
|
|
45203
|
+
'@media (max-width: 800px)': {
|
|
45204
|
+
width: '30%'
|
|
45205
|
+
}
|
|
45206
|
+
})), _defineProperty__default["default"](_footerStyles, "googleplay", glamor.css({
|
|
45207
|
+
width: '35%',
|
|
45208
|
+
objectFit: 'contain',
|
|
45209
|
+
'@media (max-width: 800px)': {
|
|
45210
|
+
width: '30%'
|
|
45211
|
+
}
|
|
45212
|
+
})), _defineProperty__default["default"](_footerStyles, "form_control", glamor.css((_css = {
|
|
45213
|
+
position: 'relative',
|
|
45214
|
+
display: 'flex',
|
|
45215
|
+
alignItems: 'center'
|
|
45216
|
+
}, _defineProperty__default["default"](_css, "display", 'block'), _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "height", '35px'), _defineProperty__default["default"](_css, "padding", '0 10px 10px'), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, "fontWeight", 500), _defineProperty__default["default"](_css, "borderBottom", ' 1 px solid #ccc'), _defineProperty__default["default"](_css, "height", '40px'), _defineProperty__default["default"](_css, "background", 'transparent'), _defineProperty__default["default"](_css, "color", '#000'), _defineProperty__default["default"](_css, ':focus', {
|
|
45217
|
+
// borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
45218
|
+
}), _css))), _footerStyles);
|
|
45219
|
+
React.useEffect(function () {
|
|
45220
|
+
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
45221
|
+
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
45222
|
+
if (Array.isArray(logoarrayofobjectsparsed)) {
|
|
45223
|
+
setlogoarrayofobjects(_toConsumableArray__default["default"](logoarrayofobjectsparsed));
|
|
45224
|
+
}
|
|
45225
|
+
}
|
|
45226
|
+
}, [templateproperties_context]);
|
|
45227
|
+
var Newsletter = function Newsletter() {
|
|
45228
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45229
|
+
"class": "row m-0 w-100"
|
|
45230
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45231
|
+
"class": "col-lg-12 allcentered mb-3"
|
|
45232
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45233
|
+
style: {
|
|
45234
|
+
fontSize: 20,
|
|
45235
|
+
fontWeight: 600
|
|
45236
|
+
}
|
|
45237
|
+
}, "STAY IN THE KNOW")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45238
|
+
"class": "col-lg-12 allcentered"
|
|
45239
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45240
|
+
style: {
|
|
45241
|
+
fontSize: 15,
|
|
45242
|
+
fontWeight: 600
|
|
45243
|
+
}
|
|
45244
|
+
}, "Be the first one to receive new releases, special offers, and more")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45245
|
+
"class": "col-lg-12 allcentered"
|
|
45246
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
45247
|
+
type: "text",
|
|
45248
|
+
className: "".concat(footerStyles.form_control),
|
|
45249
|
+
value: '',
|
|
45250
|
+
placeholder: "your email",
|
|
45251
|
+
onChange: function onChange(event) {},
|
|
45252
|
+
style: {
|
|
45253
|
+
background: sectionproperties.input_bgcolor
|
|
45254
|
+
}
|
|
45255
|
+
})));
|
|
45256
|
+
};
|
|
45257
|
+
var Section1pages = function Section1pages() {
|
|
45258
|
+
var _templatepropcontext$;
|
|
45259
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45260
|
+
"class": "col-lg-12 p-0 mt-md-3"
|
|
45261
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45262
|
+
"class": "row m-0 w-100 d-flex justify-content-start align-items-center flex-column"
|
|
45263
|
+
}, templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
|
|
45264
|
+
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
45265
|
+
if (item.staticpageid != '650c3c37dd5bf' && item.staticpageid != '650c591955e81' && item.staticpageid != '650c5be1dfd5d' && item.staticpageid != '6505ad75b1cdb') {
|
|
45266
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45267
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
45268
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45269
|
+
onClick: function onClick() {
|
|
45270
|
+
routingcountext(item.navigationroute);
|
|
45271
|
+
}
|
|
45272
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45273
|
+
"class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 ',
|
|
45274
|
+
style: {
|
|
45275
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
45276
|
+
}
|
|
45277
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar)));
|
|
45278
|
+
}
|
|
45279
|
+
}
|
|
45280
|
+
})));
|
|
45281
|
+
};
|
|
45282
|
+
return /*#__PURE__*/React__default["default"].createElement("footer", {
|
|
45283
|
+
"class": "row m-0 w-100 justify-content-center"
|
|
45284
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45285
|
+
style: {
|
|
45286
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
45287
|
+
paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
|
|
45288
|
+
},
|
|
45289
|
+
"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 '
|
|
45290
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45291
|
+
"class": "row m-0 w-100"
|
|
45292
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45293
|
+
"class": "col-lg-4 col-md-12 d-flex justify-content-center justify-content-md-start"
|
|
45294
|
+
}, Section1pages()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45295
|
+
"class": "col-lg-4 col-md-12 d-flex justify-content-center justify-content-md-start"
|
|
45296
|
+
}, Newsletter()))));
|
|
45297
|
+
};
|
|
45298
|
+
|
|
44413
45299
|
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; }
|
|
44414
45300
|
function _objectSpread$1n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1n(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
44415
45301
|
var CardsSection2 = function CardsSection2(props) {
|
|
@@ -61904,6 +62790,14 @@ var Card23 = function Card23(props) {
|
|
|
61904
62790
|
fontSize: sectionproperties.cashbackcontainerfontsize + 'px',
|
|
61905
62791
|
border: sectionproperties.cashbackcontainerborderwidth + 'px ' + sectionproperties.cashbackcontainerborderstyle + sectionproperties.cashbackcontainerbordercolor,
|
|
61906
62792
|
borderRadius: sectionproperties.cashbackcontainerborderradius + 'px'
|
|
62793
|
+
}),
|
|
62794
|
+
productcard: glamor.css({
|
|
62795
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
62796
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
62797
|
+
'@media (max-width: 800px)': {
|
|
62798
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
62799
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
62800
|
+
}
|
|
61907
62801
|
})
|
|
61908
62802
|
};
|
|
61909
62803
|
var plainString = function plainString(html) {
|
|
@@ -62038,11 +62932,30 @@ var Card23 = function Card23(props) {
|
|
|
62038
62932
|
AddtoCartContext(tempaddtocardpayloadobj);
|
|
62039
62933
|
};
|
|
62040
62934
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62041
|
-
"class":
|
|
62935
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(cardsstyles2.productcard) + ' w-100 px-md-1 ' : " ".concat(cardsstyles2.productcard),
|
|
62042
62936
|
style: {
|
|
62043
62937
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
62044
62938
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
62045
62939
|
}
|
|
62940
|
+
// class={
|
|
62941
|
+
// langdetect == 'en'
|
|
62942
|
+
// ? sectionproperties.card_marginLeft != 0
|
|
62943
|
+
// ? 'row m-0 w-100 pl-sm-2'
|
|
62944
|
+
// : sectionproperties.card_marginRight != 0
|
|
62945
|
+
// ? 'row m-0 w-100 pr-sm-2'
|
|
62946
|
+
// : 'row m-0 w-100'
|
|
62947
|
+
// : langdetect == 'en'
|
|
62948
|
+
// ? sectionproperties.card_marginRight != 0
|
|
62949
|
+
// ? 'row m-0 w-100 pr-sm-2'
|
|
62950
|
+
// : sectionproperties.card_marginLeft != 0
|
|
62951
|
+
// ? 'row m-0 w-100 pl-sm-2'
|
|
62952
|
+
// : 'row m-0 w-100'
|
|
62953
|
+
// : 'row m-0 w-100'
|
|
62954
|
+
// }
|
|
62955
|
+
// style={{
|
|
62956
|
+
// paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
62957
|
+
// paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
62958
|
+
// }}
|
|
62046
62959
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62047
62960
|
"class": "".concat(cardsstyles2.card) + ' w-100 '
|
|
62048
62961
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -69445,7 +70358,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
69445
70358
|
})), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69446
70359
|
"class": "col-lg-12 p-0 allcentered"
|
|
69447
70360
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
69448
|
-
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak text-center '
|
|
70361
|
+
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak text-center font-md-13 '
|
|
69449
70362
|
}, item.name)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69450
70363
|
"class": "col-lg-12 p-0 allcentered"
|
|
69451
70364
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -72011,6 +72924,7 @@ var returnLibrary = function returnLibrary() {
|
|
|
72011
72924
|
FooterWithThreeColumns: FooterWithThreeColumns,
|
|
72012
72925
|
ModernFooter: ModernFooter,
|
|
72013
72926
|
Newsletterfooter: Newsletterfooter,
|
|
72927
|
+
Newsletterincenter: Newsletterincenter,
|
|
72014
72928
|
// Cards Sections (8)
|
|
72015
72929
|
CardsSection: CardsSection,
|
|
72016
72930
|
CardsSection2: CardsSection2,
|