tabexseriescomponents 0.2.1347 → 0.2.1349
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 +373 -316
- package/dist/index.esm.js +373 -316
- package/dist/index.umd.js +373 -316
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -7827,7 +7827,7 @@
|
|
|
7827
7827
|
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; }
|
|
7828
7828
|
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; }
|
|
7829
7829
|
var Productinfo = function Productinfo(props) {
|
|
7830
|
-
var _css,
|
|
7830
|
+
var _css, _fetchProductInfoQuer88, _ref, _fetchProductInfoQuer89, _authdetailsContext$i40, _ref2, _fetchProductInfoQuer90, _authdetailsContext$i41, _ref3, _fetchProductInfoQuer91, _ref4, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i52, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i53, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i54, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57;
|
|
7831
7831
|
var _useState = React.useState({}),
|
|
7832
7832
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
7833
7833
|
ProductInfoObj = _useState2[0],
|
|
@@ -8051,14 +8051,19 @@
|
|
|
8051
8051
|
};
|
|
8052
8052
|
React.useEffect(function () {
|
|
8053
8053
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
8054
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
8054
|
+
var _fetchProductInfoQuer3, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
8055
8055
|
var secpropobj = {};
|
|
8056
8056
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
8057
8057
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
8058
8058
|
});
|
|
8059
8059
|
setsectionproperties(_objectSpread$2C({}, secpropobj));
|
|
8060
|
-
|
|
8061
|
-
|
|
8060
|
+
if (sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (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.product_videos) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.length) != 0) {
|
|
8061
|
+
settabname('videostab');
|
|
8062
|
+
setTabIndex(3);
|
|
8063
|
+
} else {
|
|
8064
|
+
setTabIndex(0);
|
|
8065
|
+
settabname('descriptiontab');
|
|
8066
|
+
}
|
|
8062
8067
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68e4efe8cb18e') {
|
|
8063
8068
|
settabname('descriptiontab');
|
|
8064
8069
|
// alert('sd');
|
|
@@ -8074,10 +8079,10 @@
|
|
|
8074
8079
|
settabname('descriptiontab');
|
|
8075
8080
|
// alert('sd');
|
|
8076
8081
|
} else {
|
|
8077
|
-
var
|
|
8078
|
-
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8082
|
+
var _fetchProductInfoQuer4, _fetchProductInfoQuer5;
|
|
8083
|
+
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (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.product_videos) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.length) == 0) {
|
|
8079
8084
|
settabname('shippingpolicytab');
|
|
8080
|
-
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8085
|
+
} else if ((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.product_videos) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.length) == 0 && sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide') {
|
|
8081
8086
|
// settabname('videostab');
|
|
8082
8087
|
settabname('reviewstab');
|
|
8083
8088
|
}
|
|
@@ -8093,12 +8098,12 @@
|
|
|
8093
8098
|
}
|
|
8094
8099
|
}, [StatePagePropertiesContext]);
|
|
8095
8100
|
React.useEffect(function () {
|
|
8096
|
-
var
|
|
8097
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8098
|
-
var
|
|
8099
|
-
if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8100
|
-
var
|
|
8101
|
-
var temparr = _toConsumableArray__default["default"](fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8101
|
+
var _fetchProductInfoQuer6;
|
|
8102
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.product_videos) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.length) != 0) {
|
|
8103
|
+
var _fetchProductInfoQuer7;
|
|
8104
|
+
if (Array.isArray(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.product_videos)) {
|
|
8105
|
+
var _fetchProductInfoQuer8;
|
|
8106
|
+
var temparr = _toConsumableArray__default["default"](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.product_videos);
|
|
8102
8107
|
temparr.forEach(function (item) {
|
|
8103
8108
|
item.linkclicked = false;
|
|
8104
8109
|
});
|
|
@@ -8140,33 +8145,33 @@
|
|
|
8140
8145
|
// }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data, props, props.actions]);
|
|
8141
8146
|
React.useEffect(function () {
|
|
8142
8147
|
if (Object.keys(ProductInfoObj).length != 0 && !isloaded) {
|
|
8143
|
-
var
|
|
8148
|
+
var _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21;
|
|
8144
8149
|
variantchecker();
|
|
8145
8150
|
Pixel_EventsContext('productview', {
|
|
8146
|
-
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8147
|
-
name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8148
|
-
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8149
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8150
|
-
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8151
|
+
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.name_en,
|
|
8152
|
+
name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer0 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer0 === void 0 || (_fetchProductInfoQuer0 = _fetchProductInfoQuer0.data) === null || _fetchProductInfoQuer0 === void 0 || (_fetchProductInfoQuer0 = _fetchProductInfoQuer0.productinfo) === null || _fetchProductInfoQuer0 === void 0 ? void 0 : _fetchProductInfoQuer0.name_ar,
|
|
8153
|
+
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer1 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer1 === void 0 || (_fetchProductInfoQuer1 = _fetchProductInfoQuer1.data) === null || _fetchProductInfoQuer1 === void 0 || (_fetchProductInfoQuer1 = _fetchProductInfoQuer1.productinfo) === null || _fetchProductInfoQuer1 === void 0 ? void 0 : _fetchProductInfoQuer1.productid,
|
|
8154
|
+
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.defaultprice,
|
|
8155
|
+
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.sku,
|
|
8151
8156
|
currency: 'EGP'
|
|
8152
8157
|
});
|
|
8153
8158
|
Pixel_EventsContext('ViewContent', {
|
|
8154
|
-
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8155
|
-
name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8156
|
-
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8157
|
-
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8159
|
+
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.name_en,
|
|
8160
|
+
name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.name_ar,
|
|
8161
|
+
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.productid,
|
|
8162
|
+
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.sku,
|
|
8158
8163
|
currency: 'EGP'
|
|
8159
8164
|
});
|
|
8160
8165
|
Pixel_EventsContext('view_item', {
|
|
8161
8166
|
ecommerce: {
|
|
8162
8167
|
currency: 'EGP',
|
|
8163
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8168
|
+
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.defaultprice,
|
|
8164
8169
|
items: [{
|
|
8165
|
-
item_id: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8166
|
-
item_name: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8167
|
-
item_name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8168
|
-
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8169
|
-
price: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8170
|
+
item_id: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.productid,
|
|
8171
|
+
item_name: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.name_en,
|
|
8172
|
+
item_name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.name_ar,
|
|
8173
|
+
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.sku,
|
|
8174
|
+
price: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.defaultprice
|
|
8170
8175
|
}]
|
|
8171
8176
|
}
|
|
8172
8177
|
});
|
|
@@ -8215,18 +8220,18 @@
|
|
|
8215
8220
|
return fullPath;
|
|
8216
8221
|
};
|
|
8217
8222
|
React.useEffect(function () {
|
|
8218
|
-
var
|
|
8223
|
+
var _fetchProductInfoQuer22, _fetchProductInfoQuer23;
|
|
8219
8224
|
// if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
8220
|
-
if (isProductPageLoading == false && Object.keys(fetchProductInfoQueryContext) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8221
|
-
var
|
|
8222
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8223
|
-
var
|
|
8225
|
+
if (isProductPageLoading == false && Object.keys(fetchProductInfoQueryContext) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.productinfo) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.productinfo) != null && ikimagecredcontext != undefined) {
|
|
8226
|
+
var _fetchProductInfoQuer24;
|
|
8227
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.productinfo) != null) {
|
|
8228
|
+
var _fetchProductInfoQuer25, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36;
|
|
8224
8229
|
var tempproductimagesarray = [];
|
|
8225
8230
|
var sizeguideimagetemp = [];
|
|
8226
8231
|
var tempproductpdfsarray = [];
|
|
8227
|
-
if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8228
|
-
var
|
|
8229
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8232
|
+
if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.productimages)) {
|
|
8233
|
+
var _fetchProductInfoQuer26;
|
|
8234
|
+
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 || _fetchProductInfoQuer26.productimages.forEach(function (arrayItem, arrayindex) {
|
|
8230
8235
|
var imagepath = arrayItem.path;
|
|
8231
8236
|
|
|
8232
8237
|
// var sizeguideimagearrayobj = {
|
|
@@ -8280,14 +8285,14 @@
|
|
|
8280
8285
|
variantchecker();
|
|
8281
8286
|
var quantitystepincrearse = 1;
|
|
8282
8287
|
var tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
8283
|
-
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8288
|
+
tempaddtocardpayloadobj.productid = 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.productid;
|
|
8284
8289
|
// setaddtocardpayloadobj({ ...tempaddtocardpayloadobj });
|
|
8285
|
-
setRelatedProductsTagid(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8286
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8287
|
-
var
|
|
8290
|
+
setRelatedProductsTagid(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.maintagid);
|
|
8291
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.maintagid) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.maintagid) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.length) != 0) {
|
|
8292
|
+
var _fetchProductInfoQuer31;
|
|
8288
8293
|
GeneralAPIMutationContext.mutate({
|
|
8289
8294
|
endpointurl: '/FetchRelatedProducts',
|
|
8290
|
-
tagid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8295
|
+
tagid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.maintagid,
|
|
8291
8296
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
8292
8297
|
if (data.data.status) {
|
|
8293
8298
|
setRelatedproducts(data.data.productsrelated);
|
|
@@ -8295,19 +8300,19 @@
|
|
|
8295
8300
|
}
|
|
8296
8301
|
});
|
|
8297
8302
|
}
|
|
8298
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8303
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.item_type) == 'package list') {
|
|
8299
8304
|
tempaddtocardpayloadobj.item_type = 'package list';
|
|
8300
8305
|
} else {
|
|
8301
8306
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
8302
8307
|
}
|
|
8303
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8308
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.quantitystepincrearse) != '') {
|
|
8304
8309
|
var _authdetailsContext$i6;
|
|
8305
8310
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '66d6de1a1e04a') {
|
|
8306
|
-
var _fetchProductInfoQuer36;
|
|
8307
|
-
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.quantitystepincrearse);
|
|
8308
|
-
} else {
|
|
8309
8311
|
var _fetchProductInfoQuer37;
|
|
8310
|
-
quantitystepincrearse =
|
|
8312
|
+
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.quantitystepincrearse);
|
|
8313
|
+
} else {
|
|
8314
|
+
var _fetchProductInfoQuer38;
|
|
8315
|
+
quantitystepincrearse = parseInt(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.quantitystepincrearse);
|
|
8311
8316
|
}
|
|
8312
8317
|
// quantitystepincrearse = parseFloat(fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse);
|
|
8313
8318
|
}
|
|
@@ -9981,8 +9986,8 @@
|
|
|
9981
9986
|
});
|
|
9982
9987
|
}
|
|
9983
9988
|
if (variantnotmatch.length == 0 && isvariant == true) {
|
|
9984
|
-
var
|
|
9985
|
-
var variantobj = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9989
|
+
var _fetchProductInfoQuer39;
|
|
9990
|
+
var variantobj = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.variants[ProductVariantIndex];
|
|
9986
9991
|
var variantid = '';
|
|
9987
9992
|
if (variantobj == undefined) {
|
|
9988
9993
|
setisoutofstock(false);
|
|
@@ -10027,8 +10032,8 @@
|
|
|
10027
10032
|
var forcetocheckoutvalue = forcetocheckout;
|
|
10028
10033
|
// alert(addtocardpayloadobj.quantity + 'sad');
|
|
10029
10034
|
if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
|
|
10030
|
-
var
|
|
10031
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10035
|
+
var _fetchProductInfoQuer40;
|
|
10036
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.hasvariants) == 1) {
|
|
10032
10037
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
10033
10038
|
runfunc = true;
|
|
10034
10039
|
} else {
|
|
@@ -10044,28 +10049,28 @@
|
|
|
10044
10049
|
NotificationManager.warning('', 'Please Choose Quantity');
|
|
10045
10050
|
}
|
|
10046
10051
|
if (runfunc == true) {
|
|
10047
|
-
var
|
|
10052
|
+
var _fetchProductInfoQuer41, _fetchProductInfoQuer42;
|
|
10048
10053
|
var tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
10049
|
-
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10050
|
-
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10054
|
+
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.isproductforcedtocheckout;
|
|
10055
|
+
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.vendorproviderid;
|
|
10051
10056
|
if (forcetocheckoutvalue != undefined) {
|
|
10052
10057
|
tempaddtocardpayloadobj.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
10053
10058
|
}
|
|
10054
10059
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
10055
10060
|
if (Extrafieldvalidationresponse.status) {
|
|
10056
|
-
var
|
|
10061
|
+
var _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48;
|
|
10057
10062
|
var finalprice = 0;
|
|
10058
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10063
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productinfo) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.hassale) == 1) {
|
|
10059
10064
|
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
10060
10065
|
} else {
|
|
10061
10066
|
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
10062
10067
|
}
|
|
10063
10068
|
Pixel_EventsContext('AddToCart', {
|
|
10064
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10065
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10066
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10069
|
+
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.productid],
|
|
10070
|
+
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.name_ar),
|
|
10071
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.sku,
|
|
10067
10072
|
content_type: 'product',
|
|
10068
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10073
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer48 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.data) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.currencyname_en,
|
|
10069
10074
|
value: finalprice,
|
|
10070
10075
|
quantity: addtocardpayloadobj.quantity
|
|
10071
10076
|
});
|
|
@@ -10074,12 +10079,12 @@
|
|
|
10074
10079
|
}
|
|
10075
10080
|
};
|
|
10076
10081
|
var validateextrafields = function validateextrafields() {
|
|
10077
|
-
var
|
|
10082
|
+
var _fetchProductInfoQuer49;
|
|
10078
10083
|
var tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
10079
10084
|
var status = false;
|
|
10080
10085
|
var reason = '';
|
|
10081
10086
|
var missingitemsfound = [];
|
|
10082
|
-
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10087
|
+
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.productinfo) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : _fetchProductInfoQuer49.productextrafields;
|
|
10083
10088
|
if ((extrafields === null || extrafields === void 0 ? void 0 : extrafields.length) == 0) {
|
|
10084
10089
|
status = true;
|
|
10085
10090
|
} else {
|
|
@@ -10201,9 +10206,9 @@
|
|
|
10201
10206
|
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
10202
10207
|
}, Relatedproducts.map(function (item, index) {
|
|
10203
10208
|
if (item.productinfo != null) {
|
|
10204
|
-
var
|
|
10205
|
-
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10206
|
-
var
|
|
10209
|
+
var _fetchProductInfoQuer50;
|
|
10210
|
+
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.productid)) {
|
|
10211
|
+
var _fetchProductInfoQuer51, _fetchProductInfoQuer52;
|
|
10207
10212
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10208
10213
|
className: "col-lg-12 mb-3 px-1",
|
|
10209
10214
|
onClick: function onClick() {
|
|
@@ -10253,7 +10258,7 @@
|
|
|
10253
10258
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
10254
10259
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10255
10260
|
"class": "".concat(productinfo_cssstyles.relatedproductPricestyles) + ' m-0 '
|
|
10256
|
-
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10261
|
+
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.currencyname_ar, ' '))))));
|
|
10257
10262
|
}
|
|
10258
10263
|
}
|
|
10259
10264
|
}))), sectionproperties.relatedproductsectionstyle == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -10262,9 +10267,9 @@
|
|
|
10262
10267
|
className: "row m-0 w-100"
|
|
10263
10268
|
}, Relatedproducts.map(function (item, index) {
|
|
10264
10269
|
if (item.productinfo != null) {
|
|
10265
|
-
var
|
|
10266
|
-
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10267
|
-
var
|
|
10270
|
+
var _fetchProductInfoQuer53;
|
|
10271
|
+
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer53 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.productinfo) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : _fetchProductInfoQuer53.productid)) {
|
|
10272
|
+
var _fetchProductInfoQuer54, _fetchProductInfoQuer55;
|
|
10268
10273
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10269
10274
|
className: "col-lg-3 col-sm-6 mb-3 ",
|
|
10270
10275
|
onClick: function onClick() {
|
|
@@ -10305,7 +10310,7 @@
|
|
|
10305
10310
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
10306
10311
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10307
10312
|
"class": "".concat(productinfo_cssstyles.relatedproductPricestyles) + ' m-0 '
|
|
10308
|
-
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10313
|
+
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer54 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.data) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : _fetchProductInfoQuer54.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.currencyname_ar, ' '))))));
|
|
10309
10314
|
}
|
|
10310
10315
|
}
|
|
10311
10316
|
}))))));
|
|
@@ -10332,28 +10337,28 @@
|
|
|
10332
10337
|
NotificationManager.warning('', 'Please Choose Quantity');
|
|
10333
10338
|
}
|
|
10334
10339
|
if (runfunc == true) {
|
|
10335
|
-
var
|
|
10340
|
+
var _fetchProductInfoQuer56, _fetchProductInfoQuer57;
|
|
10336
10341
|
// var tempaddtocardpayloadobj = { ...addtocardpayloadobj };
|
|
10337
|
-
addtocartobjparam.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10338
|
-
addtocartobjparam.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10342
|
+
addtocartobjparam.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.isproductforcedtocheckout;
|
|
10343
|
+
addtocartobjparam.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer57 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.productinfo) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.vendorproviderid;
|
|
10339
10344
|
if (forcetocheckoutvalue != undefined) {
|
|
10340
10345
|
addtocartobjparam.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
10341
10346
|
}
|
|
10342
10347
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
10343
10348
|
if (Extrafieldvalidationresponse.status) {
|
|
10344
|
-
var
|
|
10349
|
+
var _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63;
|
|
10345
10350
|
var finalprice = 0;
|
|
10346
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10351
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.productinfo) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : _fetchProductInfoQuer58.hassale) == 1) {
|
|
10347
10352
|
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
10348
10353
|
} else {
|
|
10349
10354
|
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
10350
10355
|
}
|
|
10351
10356
|
Pixel_EventsContext('AddToCart', {
|
|
10352
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10353
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10354
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10357
|
+
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.productid],
|
|
10358
|
+
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.productinfo) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.name_ar),
|
|
10359
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.sku,
|
|
10355
10360
|
content_type: 'product',
|
|
10356
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10361
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.currencyname_en,
|
|
10357
10362
|
value: finalprice,
|
|
10358
10363
|
quantity: addtocardpayloadobj.quantity
|
|
10359
10364
|
});
|
|
@@ -11003,16 +11008,16 @@
|
|
|
11003
11008
|
// }
|
|
11004
11009
|
// };
|
|
11005
11010
|
var get_product_extras_price = function get_product_extras_price() {
|
|
11006
|
-
var
|
|
11011
|
+
var _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
11007
11012
|
var totalprice_extras_price = 0;
|
|
11008
|
-
if (fetchProductInfoQueryContext != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : fetchProductInfoQueryContext.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11013
|
+
if (fetchProductInfoQueryContext != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : fetchProductInfoQueryContext.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.productinfo) != undefined && fetchcustomercartQueryContext != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : fetchcustomercartQueryContext.data) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.data) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.cartitems) != undefined) {
|
|
11009
11014
|
var _fetchcustomercartQue4;
|
|
11010
11015
|
var extras_for_product = [];
|
|
11011
11016
|
fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.cartitems;
|
|
11012
11017
|
product_prod_extras_array === null || product_prod_extras_array === void 0 || product_prod_extras_array.forEach(function (cartitem_in, cartindex_in) {
|
|
11013
11018
|
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.item_type) == 'Extras') {
|
|
11014
|
-
var
|
|
11015
|
-
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11019
|
+
var _fetchProductInfoQuer66;
|
|
11020
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productinfo) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.productid)) {
|
|
11016
11021
|
extras_for_product.push(cartitem_in);
|
|
11017
11022
|
}
|
|
11018
11023
|
}
|
|
@@ -11025,37 +11030,37 @@
|
|
|
11025
11030
|
return parseFloat(totalprice_extras_price);
|
|
11026
11031
|
};
|
|
11027
11032
|
var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
|
|
11028
|
-
var
|
|
11033
|
+
var _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70;
|
|
11029
11034
|
var price = 0;
|
|
11030
11035
|
var quantity = 0;
|
|
11031
11036
|
if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
|
|
11032
11037
|
quantity = parseFloat(addtocardpayloadobj.quantity);
|
|
11033
11038
|
}
|
|
11034
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11035
|
-
var
|
|
11036
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11039
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.productinfo) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : _fetchProductInfoQuer67.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer68 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer69 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.productinfo) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productinfo) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productquantityoptions) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.length) != 0) {
|
|
11040
|
+
var _fetchProductInfoQuer71;
|
|
11041
|
+
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.productquantityoptions;
|
|
11037
11042
|
}
|
|
11038
11043
|
if (type == 'defaultprice') {
|
|
11039
|
-
var
|
|
11040
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11041
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11044
|
+
var _fetchProductInfoQuer72, _fetchProductInfoQuer73;
|
|
11045
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.defaultprice;
|
|
11046
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer73 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.hasvariants) == 1) {
|
|
11042
11047
|
if (variantindexcompleted != undefined) {
|
|
11043
|
-
var
|
|
11044
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11045
|
-
var
|
|
11046
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11048
|
+
var _fetchProductInfoQuer74;
|
|
11049
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.variants[variantindexcompleted]) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.variantprice) != undefined) {
|
|
11050
|
+
var _fetchProductInfoQuer75;
|
|
11051
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.variants[variantindexcompleted]) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.variantprice;
|
|
11047
11052
|
}
|
|
11048
11053
|
}
|
|
11049
11054
|
}
|
|
11050
11055
|
} else if (type == 'defaultsaleprice') {
|
|
11051
|
-
var
|
|
11052
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11053
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11056
|
+
var _fetchProductInfoQuer76, _fetchProductInfoQuer77;
|
|
11057
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer76 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productinfo) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.defaultsaleprice;
|
|
11058
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productinfo) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.hasvariants) == 1) {
|
|
11054
11059
|
if (variantindexcompleted != undefined) {
|
|
11055
|
-
var
|
|
11056
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11057
|
-
var
|
|
11058
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11060
|
+
var _fetchProductInfoQuer78;
|
|
11061
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.variants[variantindexcompleted]) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.variantsaleprice) != undefined) {
|
|
11062
|
+
var _fetchProductInfoQuer79;
|
|
11063
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productinfo) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.variants[variantindexcompleted]) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.variantsaleprice;
|
|
11059
11064
|
}
|
|
11060
11065
|
}
|
|
11061
11066
|
}
|
|
@@ -11154,7 +11159,7 @@
|
|
|
11154
11159
|
// }
|
|
11155
11160
|
// };
|
|
11156
11161
|
var getQuantityCondition = function getQuantityCondition() {
|
|
11157
|
-
var
|
|
11162
|
+
var _fetchProductInfoQuer80;
|
|
11158
11163
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11159
11164
|
"class": "col-lg-12 p-0",
|
|
11160
11165
|
style: {
|
|
@@ -11184,12 +11189,12 @@
|
|
|
11184
11189
|
height: 1,
|
|
11185
11190
|
background: sectionproperties.pricelisttitlecolor
|
|
11186
11191
|
}
|
|
11187
|
-
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11188
|
-
var
|
|
11192
|
+
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productquantityoptions) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.map(function (item, index) {
|
|
11193
|
+
var _fetchProductInfoQuer81;
|
|
11189
11194
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11190
11195
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center",
|
|
11191
11196
|
style: {
|
|
11192
|
-
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11197
|
+
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productinfo) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productquantityoptions) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.length) - 1 != index ? '1rem' : 0
|
|
11193
11198
|
}
|
|
11194
11199
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11195
11200
|
"class": "d-flex align-items-center",
|
|
@@ -11223,7 +11228,7 @@
|
|
|
11223
11228
|
})));
|
|
11224
11229
|
};
|
|
11225
11230
|
var StoreInfo = function StoreInfo(position) {
|
|
11226
|
-
var
|
|
11231
|
+
var _fetchProductInfoQuer82, _authdetailsContext$i34, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i35, _authdetailsContext$i37;
|
|
11227
11232
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11228
11233
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
11229
11234
|
style: {
|
|
@@ -11274,7 +11279,7 @@
|
|
|
11274
11279
|
style: {
|
|
11275
11280
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11276
11281
|
}
|
|
11277
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11282
|
+
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productquantityoptions) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11278
11283
|
"class": "col-lg-12 p-0 mb-4"
|
|
11279
11284
|
}, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11280
11285
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
@@ -11475,7 +11480,7 @@
|
|
|
11475
11480
|
lang: langdetect,
|
|
11476
11481
|
amount: getprice_discountpriceprops('defaultprice', 0, variantindexcompleted),
|
|
11477
11482
|
divid: 'prodinfo'
|
|
11478
|
-
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11483
|
+
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.productinfo) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : _fetchProductInfoQuer88.item_type) == 'product' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype, {
|
|
11479
11484
|
actions: (_ref = {
|
|
11480
11485
|
product_prod_extras_array: product_prod_extras_array,
|
|
11481
11486
|
setproduct_prod_extras_array: setproduct_prod_extras_array,
|
|
@@ -11489,7 +11494,7 @@
|
|
|
11489
11494
|
lang: lang,
|
|
11490
11495
|
srcfromprops: props.srcfromprops
|
|
11491
11496
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
11492
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11497
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
11493
11498
|
actions: (_ref2 = {
|
|
11494
11499
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
11495
11500
|
setisoutofstock: setisoutofstock,
|
|
@@ -11499,7 +11504,7 @@
|
|
|
11499
11504
|
lang: lang,
|
|
11500
11505
|
srcfromprops: props.srcfromprops
|
|
11501
11506
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
11502
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11507
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
|
|
11503
11508
|
actions: (_ref3 = {
|
|
11504
11509
|
isOptionInStock: isOptionInStock,
|
|
11505
11510
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -11511,7 +11516,7 @@
|
|
|
11511
11516
|
lang: lang,
|
|
11512
11517
|
srcfromprops: props.srcfromprops
|
|
11513
11518
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
11514
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11519
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.item_type) == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
|
|
11515
11520
|
actions: (_ref4 = {
|
|
11516
11521
|
product_prod_extras_array: product_prod_extras_array,
|
|
11517
11522
|
setproduct_prod_extras_array: setproduct_prod_extras_array,
|
|
@@ -11530,7 +11535,7 @@
|
|
|
11530
11535
|
style: {
|
|
11531
11536
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
11532
11537
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
11533
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11538
|
+
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.product_videos) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.length) != 0 ? 'flex' : (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.product_videos) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.length) == 0 ? 'none' : 'flex'
|
|
11534
11539
|
}
|
|
11535
11540
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11536
11541
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -11592,12 +11597,12 @@
|
|
|
11592
11597
|
onClick: function onClick() {
|
|
11593
11598
|
settabname('refundpolicytab');
|
|
11594
11599
|
}
|
|
11595
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11600
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer95 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.product_videos) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : _fetchProductInfoQuer95.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11596
11601
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
11597
11602
|
onClick: function onClick() {
|
|
11598
11603
|
settabname('videostab');
|
|
11599
11604
|
}
|
|
11600
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11605
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer96 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.productinfo) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : _fetchProductInfoQuer96.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11601
11606
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
11602
11607
|
onClick: function onClick() {
|
|
11603
11608
|
settabname('reviewstab');
|
|
@@ -11651,12 +11656,12 @@
|
|
|
11651
11656
|
onClick: function onClick() {
|
|
11652
11657
|
settabname('refundpolicytab');
|
|
11653
11658
|
}
|
|
11654
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11659
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer97 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.productinfo) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.product_videos) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11655
11660
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
11656
11661
|
onClick: function onClick() {
|
|
11657
11662
|
settabname('videostab');
|
|
11658
11663
|
}
|
|
11659
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11664
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11660
11665
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
11661
11666
|
onClick: function onClick() {
|
|
11662
11667
|
settabname('reviewstab');
|
|
@@ -11790,12 +11795,12 @@
|
|
|
11790
11795
|
onClick: function onClick() {
|
|
11791
11796
|
settabname('refundpolicytab');
|
|
11792
11797
|
}
|
|
11793
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11798
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.product_videos) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11794
11799
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
11795
11800
|
onClick: function onClick() {
|
|
11796
11801
|
settabname('videostab');
|
|
11797
11802
|
}
|
|
11798
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11803
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer100 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : _fetchProductInfoQuer100.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11799
11804
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
11800
11805
|
onClick: function onClick() {
|
|
11801
11806
|
settabname('reviewstab');
|
|
@@ -11816,7 +11821,7 @@
|
|
|
11816
11821
|
color: sectionproperties.prodCatColor
|
|
11817
11822
|
},
|
|
11818
11823
|
dangerouslySetInnerHTML: {
|
|
11819
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11824
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer101 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.productinfo) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.productinfo) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : _fetchProductInfoQuer102.short_description_ar
|
|
11820
11825
|
}
|
|
11821
11826
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11822
11827
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -11958,7 +11963,7 @@
|
|
|
11958
11963
|
color: sectionproperties.prodCatColor
|
|
11959
11964
|
},
|
|
11960
11965
|
dangerouslySetInnerHTML: {
|
|
11961
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11966
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer103 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : _fetchProductInfoQuer103.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer104 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.productinfo) === null || _fetchProductInfoQuer104 === void 0 ? void 0 : _fetchProductInfoQuer104.short_description_ar
|
|
11962
11967
|
}
|
|
11963
11968
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11964
11969
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -12090,7 +12095,7 @@
|
|
|
12090
12095
|
color: '#000000'
|
|
12091
12096
|
},
|
|
12092
12097
|
dangerouslySetInnerHTML: {
|
|
12093
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12098
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer105 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.productinfo) === null || _fetchProductInfoQuer105 === void 0 ? void 0 : _fetchProductInfoQuer105.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer106 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.productinfo) === null || _fetchProductInfoQuer106 === void 0 ? void 0 : _fetchProductInfoQuer106.description_ar
|
|
12094
12099
|
}
|
|
12095
12100
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12096
12101
|
"class": "col-lg-12 p-0"
|
|
@@ -12101,7 +12106,7 @@
|
|
|
12101
12106
|
color: sectionproperties.prodCatColor
|
|
12102
12107
|
},
|
|
12103
12108
|
dangerouslySetInnerHTML: {
|
|
12104
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12109
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer107 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.productinfo) === null || _fetchProductInfoQuer107 === void 0 ? void 0 : _fetchProductInfoQuer107.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer108 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.productinfo) === null || _fetchProductInfoQuer108 === void 0 ? void 0 : _fetchProductInfoQuer108.short_description_ar
|
|
12105
12110
|
}
|
|
12106
12111
|
}))
|
|
12107
12112
|
// <DescriptionContent
|
|
@@ -15395,7 +15400,7 @@
|
|
|
15395
15400
|
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; }
|
|
15396
15401
|
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; }
|
|
15397
15402
|
var Checkout = function Checkout(props) {
|
|
15398
|
-
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$
|
|
15403
|
+
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$i12, _authdetailsContext$i13, _fetchcustomercartQue73, _authdetailsContext$i14, _fetchcustomercartQue74, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _fetchcustomercartQue75, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _fetchcustomercartQue85, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _fetchcustomercartQue87, _authdetailsContext$i46, _fetchcustomercartQue89, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _fetchcustomercartQue91, _authdetailsContext$i53, _authdetailsContext$i54, _fetchcustomercartQue93, _fetchcustomercartQue95, _authdetailsContext$i55, _fetchcustomercartQue97, _authdetailsContext$i56, _fetchcustomercartQue99, _authdetailsContext$i57, _fetchcustomercartQue101, _authdetailsContext$i58, _fetchcustomercartQue103, _authdetailsContext$i59, _fetchcustomercartQue105, _authdetailsContext$i60, _fetchcustomercartQue107, _authdetailsContext$i61, _fetchcustomercartQue109, _authdetailsContext$i62, _authdetailsContext$i63, _fetchcustomercartQue111, _fetchcustomercartQue112;
|
|
15399
15404
|
var _useState = React.useState(null),
|
|
15400
15405
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
15401
15406
|
_useState2[0];
|
|
@@ -15689,7 +15694,7 @@
|
|
|
15689
15694
|
});
|
|
15690
15695
|
};
|
|
15691
15696
|
var is_order_extrafileds_required_fulfiled = function is_order_extrafileds_required_fulfiled() {
|
|
15692
|
-
var _authdetailsContext$i4, _authdetailsContext$i5;
|
|
15697
|
+
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
15693
15698
|
var is_fulfilled = true;
|
|
15694
15699
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66d99c87c0a20') {
|
|
15695
15700
|
var _OrderExtraFieldsToBe;
|
|
@@ -15707,6 +15712,14 @@
|
|
|
15707
15712
|
is_fulfilled = false;
|
|
15708
15713
|
}
|
|
15709
15714
|
});
|
|
15715
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68f5fec923609') {
|
|
15716
|
+
var _OrderExtraFieldsToBe3;
|
|
15717
|
+
var OrderExtraFieldsToBeSentArr = returnOrderExtraFieldsArrayTobeSnetarr();
|
|
15718
|
+
(_OrderExtraFieldsToBe3 = OrderExtraFieldsToBeSentArr) === null || _OrderExtraFieldsToBe3 === void 0 || _OrderExtraFieldsToBe3.forEach(function (item, index) {
|
|
15719
|
+
if (item.isrequired == 1 && (item.value == undefined || item.value == null || item.value.length == 0)) {
|
|
15720
|
+
is_fulfilled = false;
|
|
15721
|
+
}
|
|
15722
|
+
});
|
|
15710
15723
|
}
|
|
15711
15724
|
if (is_fulfilled === false) {
|
|
15712
15725
|
alert('Please Fill The Missing fields');
|
|
@@ -16007,7 +16020,7 @@
|
|
|
16007
16020
|
return isloading;
|
|
16008
16021
|
};
|
|
16009
16022
|
var Mycart = function Mycart() {
|
|
16010
|
-
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$
|
|
16023
|
+
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$i7, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _authdetailsContext$i8, _fetchcustomercartQue67, _fetchcustomercartQue68, _fetchcustomercartQue69, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i10, _fetchcustomercartQue70, _authdetailsContext$i11, _fetchcustomercartQue71;
|
|
16011
16024
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16012
16025
|
className: "row m-0 w-100 mb-md-3"
|
|
16013
16026
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -16272,7 +16285,7 @@
|
|
|
16272
16285
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
16273
16286
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16274
16287
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-center wordbreak '
|
|
16275
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16288
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '6808c6295b598' ? langdetect == 'en' ? 'Sub Total' : 'تكلفة المنتجات' : lang.subtotal)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16276
16289
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
16277
16290
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16278
16291
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
@@ -16361,7 +16374,7 @@
|
|
|
16361
16374
|
textTransform: sectionproperties.total_texttransform,
|
|
16362
16375
|
color: sectionproperties.total_color
|
|
16363
16376
|
}
|
|
16364
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16377
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '6808c6295b598' ? langdetect == 'en' ? 'Total' : 'المبلغ الإجمالي' : lang.total)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16365
16378
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
16366
16379
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16367
16380
|
className: "row m-0 w-100"
|
|
@@ -16381,7 +16394,7 @@
|
|
|
16381
16394
|
background: '#eee',
|
|
16382
16395
|
borderRadius: 10
|
|
16383
16396
|
}
|
|
16384
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16397
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '66b4a0338cb14' && /*#__PURE__*/React__default["default"].createElement("input", {
|
|
16385
16398
|
type: "checkbox",
|
|
16386
16399
|
className: "mx-2 mt-2 mb-auto",
|
|
16387
16400
|
checked: checkboxisChecked,
|
|
@@ -16403,11 +16416,11 @@
|
|
|
16403
16416
|
style: {
|
|
16404
16417
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
16405
16418
|
}
|
|
16406
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16419
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
16407
16420
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
16408
16421
|
onClick: function onClick() {
|
|
16409
|
-
var _authdetailsContext$
|
|
16410
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16422
|
+
var _authdetailsContext$i1;
|
|
16423
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '66b4a0338cb14') {
|
|
16411
16424
|
if (!checkboxisChecked) return;
|
|
16412
16425
|
}
|
|
16413
16426
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -16415,14 +16428,14 @@
|
|
|
16415
16428
|
}
|
|
16416
16429
|
addorderfuncrunner();
|
|
16417
16430
|
},
|
|
16418
|
-
disabled: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16431
|
+
disabled: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '66b4a0338cb14' ? ischeckoutbuttonloading() || !checkboxisChecked : ischeckoutbuttonloading() == true ? true : false
|
|
16419
16432
|
// disabled={}
|
|
16420
16433
|
}, ischeckoutbuttonloading() && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
16421
16434
|
color: "#fff",
|
|
16422
16435
|
width: "20px",
|
|
16423
16436
|
height: "20px",
|
|
16424
16437
|
duration: "1s"
|
|
16425
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16438
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
16426
16439
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
16427
16440
|
onClick: function onClick() {
|
|
16428
16441
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -16539,7 +16552,7 @@
|
|
|
16539
16552
|
}
|
|
16540
16553
|
}, /*#__PURE__*/React__default["default"].createElement(BiPhone.BiPhone, null)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16541
16554
|
className: "m-0 p-0 wordbreak"
|
|
16542
|
-
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16555
|
+
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16543
16556
|
className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
|
|
16544
16557
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16545
16558
|
className: "m-0 p-0 d-flex align-items-center"
|
|
@@ -16603,7 +16616,7 @@
|
|
|
16603
16616
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16604
16617
|
className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
|
|
16605
16618
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16606
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16619
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
16607
16620
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16608
16621
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
16609
16622
|
}, lang.name, /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
@@ -16623,7 +16636,7 @@
|
|
|
16623
16636
|
boxShadow: 'none'
|
|
16624
16637
|
}
|
|
16625
16638
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16626
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16639
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
16627
16640
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16628
16641
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
16629
16642
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف', ' ', /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
@@ -16647,16 +16660,16 @@
|
|
|
16647
16660
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16648
16661
|
className: "col-lg-4 col-md-12 mb-3 flex-column",
|
|
16649
16662
|
style: {
|
|
16650
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16663
|
+
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
|
|
16651
16664
|
}
|
|
16652
16665
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16653
16666
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
16654
|
-
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16667
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.customerEmailrequiered) == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
16655
16668
|
"class": "mx-2",
|
|
16656
16669
|
style: {
|
|
16657
16670
|
color: 'var(--danger)'
|
|
16658
16671
|
}
|
|
16659
|
-
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16672
|
+
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16660
16673
|
"class": "mx-2",
|
|
16661
16674
|
style: {
|
|
16662
16675
|
fontSize: 13
|
|
@@ -16734,7 +16747,7 @@
|
|
|
16734
16747
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
16735
16748
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16736
16749
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
16737
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16750
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '688b86aaf144b' ? langdetect == 'en' ? 'Governorate' : 'الولايه / الاماره' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '698cad1ddcf1a' ? langdetect == 'en' ? 'Governorate' : 'المدينة' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
16738
16751
|
"class": "mx-2",
|
|
16739
16752
|
style: {
|
|
16740
16753
|
color: 'var(--danger)'
|
|
@@ -16794,7 +16807,7 @@
|
|
|
16794
16807
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
16795
16808
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
16796
16809
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
16797
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16810
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '698cad1ddcf1a' ? langdetect == 'en' ? 'Area' : 'الحي' : langdetect == 'en' ? 'Area' : 'المنطقة', authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
16798
16811
|
"class": "mx-2",
|
|
16799
16812
|
style: {
|
|
16800
16813
|
color: 'var(--danger)'
|
|
@@ -16942,7 +16955,7 @@
|
|
|
16942
16955
|
// events mart
|
|
16943
16956
|
|
|
16944
16957
|
if (item.title_en == 'Event Date') {
|
|
16945
|
-
var _authdetailsContext$
|
|
16958
|
+
var _authdetailsContext$i26, _authdetailsContext$i27;
|
|
16946
16959
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16947
16960
|
className: "col-lg-6 col-md-12 mb-3"
|
|
16948
16961
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -16971,12 +16984,12 @@
|
|
|
16971
16984
|
// }}
|
|
16972
16985
|
,
|
|
16973
16986
|
onChange: function onChange(event) {
|
|
16974
|
-
var _authdetailsContext$
|
|
16975
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16987
|
+
var _authdetailsContext$i24;
|
|
16988
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.contactinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.instid) == '66b4a0338cb14') {
|
|
16976
16989
|
var selectedDate = event.target.value;
|
|
16977
16990
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
16978
|
-
var _authdetailsContext$
|
|
16979
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16991
|
+
var _authdetailsContext$i25;
|
|
16992
|
+
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 || (_authdetailsContext$i25 = _authdetailsContext$i25.contactinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
|
|
16980
16993
|
if (minDate && selectedDate < minDate) {
|
|
16981
16994
|
// alert(`Please select a date on or after ${minDate}`);
|
|
16982
16995
|
return;
|
|
@@ -16994,11 +17007,11 @@
|
|
|
16994
17007
|
style: {
|
|
16995
17008
|
boxShadow: 'none'
|
|
16996
17009
|
},
|
|
16997
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
16998
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17010
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
17011
|
+
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
|
|
16999
17012
|
}));
|
|
17000
17013
|
} else {
|
|
17001
|
-
var _authdetailsContext$
|
|
17014
|
+
var _authdetailsContext$i30, _authdetailsContext$i31;
|
|
17002
17015
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17003
17016
|
className: "col-lg-6 col-md-12 mb-3"
|
|
17004
17017
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -17019,12 +17032,12 @@
|
|
|
17019
17032
|
// }}
|
|
17020
17033
|
,
|
|
17021
17034
|
onChange: function onChange(event) {
|
|
17022
|
-
var _authdetailsContext$
|
|
17023
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17035
|
+
var _authdetailsContext$i28;
|
|
17036
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 || (_authdetailsContext$i28 = _authdetailsContext$i28.contactinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.instid) == '66b4a0338cb14') {
|
|
17024
17037
|
var selectedDate = event.target.value;
|
|
17025
17038
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
17026
|
-
var _authdetailsContext$
|
|
17027
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17039
|
+
var _authdetailsContext$i29;
|
|
17040
|
+
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 || (_authdetailsContext$i29 = _authdetailsContext$i29.contactinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
|
|
17028
17041
|
if (minDate && selectedDate < minDate) {
|
|
17029
17042
|
// alert(`Please select a date on or after ${minDate}`);
|
|
17030
17043
|
return;
|
|
@@ -17042,8 +17055,8 @@
|
|
|
17042
17055
|
style: {
|
|
17043
17056
|
boxShadow: 'none'
|
|
17044
17057
|
},
|
|
17045
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17046
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17058
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
17059
|
+
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
|
|
17047
17060
|
}));
|
|
17048
17061
|
}
|
|
17049
17062
|
}
|
|
@@ -17197,15 +17210,15 @@
|
|
|
17197
17210
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17198
17211
|
className: "row m-0 w-100 mb-3 pl-3 pr-3"
|
|
17199
17212
|
}, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17200
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17213
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '68a6e2f865af8' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
|
|
17201
17214
|
style: {
|
|
17202
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17215
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '68a6e2f865af8' ? '1px solid #ccc' : 0,
|
|
17203
17216
|
borderRadius: 15
|
|
17204
17217
|
}
|
|
17205
17218
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17206
17219
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17207
17220
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17208
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17221
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '68a6e2f865af8' ? 'col-9 p-0' : 'col-12 p-0'
|
|
17209
17222
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17210
17223
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
17211
17224
|
"for": "codcheckbox"
|
|
@@ -17232,26 +17245,26 @@
|
|
|
17232
17245
|
style: {
|
|
17233
17246
|
color: sectionproperties.checkbox_color
|
|
17234
17247
|
}
|
|
17235
|
-
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17248
|
+
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17236
17249
|
"class": "col-3 text-end p-0"
|
|
17237
17250
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17238
17251
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
17239
17252
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
17240
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17253
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '68a6e2f865af8' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17241
17254
|
"class": "col-3 text-end p-0"
|
|
17242
17255
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17243
17256
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
17244
17257
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
17245
17258
|
})))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17246
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17259
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '68a6e2f865af8' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
|
|
17247
17260
|
style: {
|
|
17248
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17261
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '68a6e2f865af8' ? '1px solid #ccc' : 0,
|
|
17249
17262
|
borderRadius: 15
|
|
17250
17263
|
}
|
|
17251
17264
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17252
17265
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17253
17266
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17254
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17267
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) == '68a6e2f865af8' ? 'col-9 p-0' : 'col-12 p-0'
|
|
17255
17268
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17256
17269
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
17257
17270
|
"for": "codcheckbox"
|
|
@@ -17278,7 +17291,7 @@
|
|
|
17278
17291
|
style: {
|
|
17279
17292
|
color: sectionproperties.checkbox_color
|
|
17280
17293
|
}
|
|
17281
|
-
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17294
|
+
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17282
17295
|
"class": "col-3 text-end p-0"
|
|
17283
17296
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17284
17297
|
src: 'https://tabex-co.com/storage/StaticImages/instapay.png',
|
|
@@ -17310,15 +17323,15 @@
|
|
|
17310
17323
|
/*#__PURE__*/
|
|
17311
17324
|
// <div className=""
|
|
17312
17325
|
React__default["default"].createElement("div", {
|
|
17313
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17326
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '68a6e2f865af8' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
|
|
17314
17327
|
style: {
|
|
17315
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17328
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '68a6e2f865af8' ? '1px solid #ccc' : 0,
|
|
17316
17329
|
borderRadius: 15
|
|
17317
17330
|
}
|
|
17318
17331
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17319
17332
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
17320
17333
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17321
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17334
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '68a6e2f865af8' ? 'col-9 p-0' : 'col-12 p-0'
|
|
17322
17335
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17323
17336
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
17324
17337
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
@@ -17340,12 +17353,12 @@
|
|
|
17340
17353
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17341
17354
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17342
17355
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17343
|
-
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17356
|
+
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17344
17357
|
"class": "col-3 text-end p-0"
|
|
17345
17358
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17346
17359
|
src: 'https://tabex-co.com/storage/StaticImages/visamaster.png',
|
|
17347
17360
|
"class": checkoutstyles.vismasterimage + ' mx-2 '
|
|
17348
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17361
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '68a6e2f865af8' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17349
17362
|
"class": "col-3 text-end p-0"
|
|
17350
17363
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
17351
17364
|
src: 'https://tabex-co.com/storage/StaticImages/fawry.png',
|
|
@@ -17394,7 +17407,7 @@
|
|
|
17394
17407
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17395
17408
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17396
17409
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17397
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17410
|
+
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17398
17411
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17399
17412
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17400
17413
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17416,7 +17429,7 @@
|
|
|
17416
17429
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17417
17430
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17418
17431
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17419
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17432
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17420
17433
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17421
17434
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17422
17435
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17438,7 +17451,7 @@
|
|
|
17438
17451
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17439
17452
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17440
17453
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17441
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17454
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17442
17455
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17443
17456
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17444
17457
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17460,7 +17473,7 @@
|
|
|
17460
17473
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17461
17474
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17462
17475
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
17463
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17476
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17464
17477
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17465
17478
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17466
17479
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17482,7 +17495,7 @@
|
|
|
17482
17495
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17483
17496
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17484
17497
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17485
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17498
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17486
17499
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17487
17500
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17488
17501
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17504,7 +17517,7 @@
|
|
|
17504
17517
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17505
17518
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17506
17519
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17507
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17520
|
+
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.acceptTamara) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17508
17521
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17509
17522
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17510
17523
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17526,7 +17539,7 @@
|
|
|
17526
17539
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
17527
17540
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17528
17541
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
17529
|
-
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17542
|
+
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.acceptTabby) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17530
17543
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
17531
17544
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
17532
17545
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -17558,7 +17571,7 @@
|
|
|
17558
17571
|
dangerouslySetInnerHTML: {
|
|
17559
17572
|
__html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
|
|
17560
17573
|
}
|
|
17561
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17574
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.contactinfo.instid) == '696fa922c1d13' && cashchosen == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17562
17575
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
17563
17576
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17564
17577
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|
|
@@ -17566,7 +17579,7 @@
|
|
|
17566
17579
|
color: '#000'
|
|
17567
17580
|
}
|
|
17568
17581
|
// dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar }}
|
|
17569
|
-
}, langdetect == 'en' ? 'To confirm your booking, please transfer a 30% deposit of the booking value to [number].' : 'لتأكيد الحجز برجاء تحويل 30% deposit من قيمه الحجز على الرقم')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
17582
|
+
}, langdetect == 'en' ? 'To confirm your booking, please transfer a 30% deposit of the booking value to [number].' : 'لتأكيد الحجز برجاء تحويل 30% deposit من قيمه الحجز على الرقم')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.contactinfo.instid) == '69c55e0a54075' && cashchosen == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17570
17583
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
17571
17584
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17572
17585
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|
|
@@ -57585,7 +57598,7 @@
|
|
|
57585
57598
|
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; }
|
|
57586
57599
|
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; }
|
|
57587
57600
|
var Footer8 = function Footer8(props) {
|
|
57588
|
-
var _css, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects
|
|
57601
|
+
var _css, _authdetailsContext$i2, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i25, _authdetailsContext$i28, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i40, _authdetailsContext$i43, _authdetailsContext$i46, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i52, _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i53, _logoarrayofobjects$5, _logoarrayofobjects$6, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i57, _authdetailsContext$i60, _authdetailsContext$i63, _authdetailsContext$i66, _authdetailsContext$i69, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _authdetailsContext$i72, _logoarrayofobjects$7, _logoarrayofobjects$8, _templatepropcontext$2, _templatepropcontext$3, _fetchCategoriesQuery, _fetchCategoriesQuery2, _authdetailsContext$i74, _authdetailsContext$i75, _authdetailsContext$i78, _authdetailsContext$i81, _authdetailsContext$i84, _authdetailsContext$i87, _authdetailsContext$i89, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18;
|
|
57589
57602
|
var _useState = React.useState(''),
|
|
57590
57603
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
57591
57604
|
sectionproperties = _useState2[0],
|
|
@@ -57864,12 +57877,32 @@
|
|
|
57864
57877
|
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
57865
57878
|
paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
|
|
57866
57879
|
}
|
|
57880
|
+
}, sectionproperties.showlogo == 'Show' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57881
|
+
"class": "col-lg-12 d-flex p-md-0 justify-content-start align-items-center justify-content-md-center mb-auto"
|
|
57867
57882
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57868
|
-
"class":
|
|
57883
|
+
"class": "".concat(footerStyles.logoStyles) + ' d-flex justify-content-start align-items-center cursor-pointer ',
|
|
57884
|
+
onClick: function onClick() {
|
|
57885
|
+
routingcountext('home');
|
|
57886
|
+
}
|
|
57887
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
57888
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
57889
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
57890
|
+
path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
|
|
57891
|
+
style: {
|
|
57892
|
+
width: '100%',
|
|
57893
|
+
height: '100%',
|
|
57894
|
+
objectFit: 'contain'
|
|
57895
|
+
},
|
|
57896
|
+
loading: "lazy"
|
|
57897
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57898
|
+
"class": sectionproperties.prodCatShow == 'Show' ? 'col-lg-5 col-md-12 col-sm-12 p-0 d-flex justify-content-start mb-md-3' : 'col-lg-4 col-md-12 col-sm-12 p-0 d-flex justify-content-start mb-md-3'
|
|
57869
57899
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57870
57900
|
"class": "row m-0 w-100"
|
|
57871
57901
|
}, sectionproperties.showlogo == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instid) != '69020f4494f66' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) != '6972421b79d52' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57872
|
-
"class": "col-lg-12 p-md-0
|
|
57902
|
+
"class": "col-lg-12 p-md-0 justify-content-start align-items-center justify-content-md-center mb-auto",
|
|
57903
|
+
style: {
|
|
57904
|
+
display: sectionproperties.prodCatShow == 'Show' ? sectionproperties.descriptionposition == 'Bottom' ? 'none' : 'flex' : 'none'
|
|
57905
|
+
}
|
|
57873
57906
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57874
57907
|
"class": "".concat(footerStyles.logoStyles) + ' d-flex justify-content-start align-items-center cursor-pointer ',
|
|
57875
57908
|
onClick: function onClick() {
|
|
@@ -57878,7 +57911,7 @@
|
|
|
57878
57911
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
57879
57912
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
57880
57913
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
57881
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects
|
|
57914
|
+
path: langdetect == 'en' ? (_logoarrayofobjects$3 = logoarrayofobjects[0]) === null || _logoarrayofobjects$3 === void 0 ? void 0 : _logoarrayofobjects$3.englishlogo : (_logoarrayofobjects$4 = logoarrayofobjects[0]) === null || _logoarrayofobjects$4 === void 0 ? void 0 : _logoarrayofobjects$4.arabiclogo,
|
|
57882
57915
|
style: {
|
|
57883
57916
|
width: '100%',
|
|
57884
57917
|
height: '100%',
|
|
@@ -57917,9 +57950,9 @@
|
|
|
57917
57950
|
},
|
|
57918
57951
|
src: 'https://image.tabexseries.com/products/6972421b79d52/69930b8d86c2ageneralimage.png'
|
|
57919
57952
|
}))), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57920
|
-
"class":
|
|
57953
|
+
"class": 'col-lg-12 p-md-0 d-flex justify-content-start mt-2'
|
|
57921
57954
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
57922
|
-
"class": langdetect == 'en' ? ' wordbreak
|
|
57955
|
+
"class": langdetect == 'en' ? ' wordbreak wordbreak3 mb-4 p-md-0 text-left text-md-center ' : ' wordbreak wordbreak3 mb-4 p-md-0 text-right text-md-center ',
|
|
57923
57956
|
style: {
|
|
57924
57957
|
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
57925
57958
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
@@ -57970,7 +58003,7 @@
|
|
|
57970
58003
|
background: sectionproperties.input_bgcolor
|
|
57971
58004
|
}
|
|
57972
58005
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57973
|
-
"class": sectionproperties.prodCatShow == 'Show' ? 'col-lg-
|
|
58006
|
+
"class": sectionproperties.prodCatShow == 'Show' ? 'col-lg-7 p-0' : 'col-lg-8 p-0'
|
|
57974
58007
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57975
58008
|
"class": "row m-0 w-100"
|
|
57976
58009
|
}, sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -57985,17 +58018,41 @@
|
|
|
57985
58018
|
}
|
|
57986
58019
|
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.description_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57987
58020
|
"class": 'col-lg-6 col-md-12 col-sm-12 align-items-center mb-md-3 p-sm-0'
|
|
57988
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '69de6dceab218' && /*#__PURE__*/React__default["default"].createElement("
|
|
58021
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '69de6dceab218' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58022
|
+
"class": "row m-0 w-100"
|
|
58023
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58024
|
+
"class": "col-12 p-0 text-start"
|
|
58025
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
57989
58026
|
"class": "".concat(footerStyles.textStyles) + ' m-0 p-0 mb-3 mb-md-1 wordbreak d-none cursor-pointer ',
|
|
57990
58027
|
style: {
|
|
57991
58028
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
57992
58029
|
}
|
|
57993
|
-
}, langdetect == 'en' ? 'Working Hours' : 'ساعات العمل'),
|
|
57994
|
-
"class": "
|
|
58030
|
+
}, langdetect == 'en' ? 'Working Hours' : 'ساعات العمل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58031
|
+
"class": "col-12 p-0 text-start"
|
|
58032
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58033
|
+
"class": "row m-0 w-100"
|
|
58034
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58035
|
+
"class": "col-6 p-0 text-start"
|
|
58036
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58037
|
+
"class": "".concat(footerStyles.iconTextStyle) + ' m-0 pb-0 mb-3 mb-md-1 wordbreak d-none cursor-pointer p-0 ',
|
|
58038
|
+
style: {
|
|
58039
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58040
|
+
}
|
|
58041
|
+
}, langdetect == 'en' ? 'Saturday - Thursday' : 'السبت - الخميس')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58042
|
+
"class": "col-6 p-0 text-end"
|
|
58043
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58044
|
+
"class": "".concat(footerStyles.iconTextStyle) + ' m-0 pb-0 mb-3 mb-md-1 wordbreak d-none cursor-pointer p-0 ',
|
|
58045
|
+
style: {
|
|
58046
|
+
textAlign: langdetect == 'en' ? 'right' : 'left'
|
|
58047
|
+
}
|
|
58048
|
+
}, "9:00am - 9:00pm")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58049
|
+
"class": "col-12 p-0 text-start"
|
|
58050
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58051
|
+
"class": "".concat(footerStyles.iconTextStyle) + ' m-0 pb-0 mb-3 mb-md-1 wordbreak d-none cursor-pointer p-0 ',
|
|
57995
58052
|
style: {
|
|
57996
58053
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
57997
58054
|
}
|
|
57998
|
-
}, langdetect == 'en' ? '
|
|
58055
|
+
}, langdetect == 'en' ? 'If an order is placed after 9 PM, it will be delivered the following day at 9 AM after order confirmation.' : 'كل يوم ما عدا الجمعة من الساعة 9 صباحاً حتى 9 مساءً'))))), sectionproperties.showfooteraddress == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
57999
58056
|
"class": "".concat(footerStyles.textStyles) + ' m-0 p-0 mb-3 mb-md-1 wordbreak d-none cursor-pointer ',
|
|
58000
58057
|
style: {
|
|
58001
58058
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
@@ -58019,7 +58076,7 @@
|
|
|
58019
58076
|
onClick: function onClick() {
|
|
58020
58077
|
window.open(sectionproperties.storeinfolocationlink, '_blank');
|
|
58021
58078
|
}
|
|
58022
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58079
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.address_ar))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58023
58080
|
"class": "col-lg-12 justify-content-start align-items-center mb-md-4 p-0"
|
|
58024
58081
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58025
58082
|
"class": "row m-0 w-100 align-items-center flex-row justify-content-start justify-content-start justify-content-sm-center"
|
|
@@ -58036,8 +58093,8 @@
|
|
|
58036
58093
|
"class": "".concat(footerStyles.appstore) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
58037
58094
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
58038
58095
|
onClick: function onClick() {
|
|
58039
|
-
var _authdetailsContext$
|
|
58040
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58096
|
+
var _authdetailsContext$i14;
|
|
58097
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.mobileapplink_appstore, '_blank');
|
|
58041
58098
|
}
|
|
58042
58099
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58043
58100
|
"class": langdetect == 'en' ? 'col-lg-4 col-md-3 col-sm-6 pl-0' : 'col-lg-4 col-md-3 col-sm-6 pr-0'
|
|
@@ -58045,8 +58102,8 @@
|
|
|
58045
58102
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
58046
58103
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
58047
58104
|
onClick: function onClick() {
|
|
58048
|
-
var _authdetailsContext$
|
|
58049
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58105
|
+
var _authdetailsContext$i15;
|
|
58106
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.mobileapplink_playstore, '_blank');
|
|
58050
58107
|
}
|
|
58051
58108
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58052
58109
|
"class": 'col-lg-6 col-md-12 col-sm-12 mb-md-3 p-sm-0'
|
|
@@ -58064,8 +58121,8 @@
|
|
|
58064
58121
|
}, sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58065
58122
|
"class": footerStyles.footerinfoContainer + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-md-2 cursor-pointer p-0 ',
|
|
58066
58123
|
onClick: function onClick() {
|
|
58067
|
-
var _authdetailsContext$
|
|
58068
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58124
|
+
var _authdetailsContext$i16;
|
|
58125
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 || (_authdetailsContext$i16 = _authdetailsContext$i16.contactinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.email), '_self');
|
|
58069
58126
|
}
|
|
58070
58127
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58071
58128
|
"class": "".concat(footerStyles.iconTextStyle) + ' p-0 m-0 wordbreak text-transform-none footerinfo pb-1 ',
|
|
@@ -58074,7 +58131,7 @@
|
|
|
58074
58131
|
borderBottomStyle: 'solid',
|
|
58075
58132
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58076
58133
|
}
|
|
58077
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58134
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.contactinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58078
58135
|
"class": "col-lg-12 p-0 mt-2 mt-md-1 d-flex align-items-center justify-content-start"
|
|
58079
58136
|
}, sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58080
58137
|
"class": footerStyles.footerinfoContainer + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-md-0 cursor-pointer p-0 ',
|
|
@@ -58088,66 +58145,66 @@
|
|
|
58088
58145
|
}
|
|
58089
58146
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58090
58147
|
"class": 'col-lg-12 p-0 d-flex align-items-center justify-content-start mt-3'
|
|
58091
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58148
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58092
58149
|
"class": langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center mr-2 ' : "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-2 ',
|
|
58093
58150
|
onClick: function onClick() {
|
|
58094
|
-
var _authdetailsContext$
|
|
58095
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58096
|
-
var _authdetailsContext$
|
|
58097
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58151
|
+
var _authdetailsContext$i19;
|
|
58152
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.facebooklink) != null) {
|
|
58153
|
+
var _authdetailsContext$i20;
|
|
58154
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.facebooklink, '_blank');
|
|
58098
58155
|
}
|
|
58099
58156
|
}
|
|
58100
58157
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
58101
58158
|
size: sectionproperties.facebkbtnniconfontsize
|
|
58102
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58159
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.instid) == '69f78b2c4fb01' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58103
58160
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center mx-2 ',
|
|
58104
58161
|
onClick: function onClick() {
|
|
58105
58162
|
window.open('https://www.facebook.com/share/18tggHCByS', '_blank');
|
|
58106
58163
|
}
|
|
58107
58164
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
58108
58165
|
size: sectionproperties.facebkbtnniconfontsize
|
|
58109
|
-
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58166
|
+
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58110
58167
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58111
58168
|
onClick: function onClick() {
|
|
58112
|
-
var _authdetailsContext$
|
|
58113
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58114
|
-
var _authdetailsContext$
|
|
58115
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58169
|
+
var _authdetailsContext$i23;
|
|
58170
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.instagramlink) != null) {
|
|
58171
|
+
var _authdetailsContext$i24;
|
|
58172
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.instagramlink, '_blank');
|
|
58116
58173
|
}
|
|
58117
58174
|
}
|
|
58118
58175
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
58119
58176
|
size: sectionproperties.instgrambtniconfontsize
|
|
58120
|
-
})), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58177
|
+
})), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58121
58178
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58122
58179
|
onClick: function onClick() {
|
|
58123
|
-
var _authdetailsContext$
|
|
58124
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58125
|
-
var _authdetailsContext$
|
|
58126
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58180
|
+
var _authdetailsContext$i26;
|
|
58181
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.whatsappnumber) != null) {
|
|
58182
|
+
var _authdetailsContext$i27;
|
|
58183
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.whatsappnumber), '_blank');
|
|
58127
58184
|
}
|
|
58128
58185
|
}
|
|
58129
58186
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
58130
58187
|
size: sectionproperties.youtubebtniconfontsize
|
|
58131
|
-
})), sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58188
|
+
})), sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58132
58189
|
"class": "".concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center mx-2'
|
|
58133
58190
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
58134
58191
|
,
|
|
58135
58192
|
onClick: function onClick() {
|
|
58136
|
-
var _authdetailsContext$
|
|
58137
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58138
|
-
var _authdetailsContext$
|
|
58139
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58193
|
+
var _authdetailsContext$i29;
|
|
58194
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.tiktoklink) != null) {
|
|
58195
|
+
var _authdetailsContext$i30;
|
|
58196
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.tiktoklink, '_blank');
|
|
58140
58197
|
}
|
|
58141
58198
|
}
|
|
58142
58199
|
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
58143
58200
|
size: sectionproperties.tiktokbtniconfontsize
|
|
58144
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58201
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58145
58202
|
"class": "".concat(footerStyles.youtube_btn, " ") + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58146
58203
|
onClick: function onClick() {
|
|
58147
|
-
var _authdetailsContext$
|
|
58148
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58149
|
-
var _authdetailsContext$
|
|
58150
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58204
|
+
var _authdetailsContext$i32;
|
|
58205
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.youtubelink) != null) {
|
|
58206
|
+
var _authdetailsContext$i33;
|
|
58207
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.youtubelink, '_blank');
|
|
58151
58208
|
}
|
|
58152
58209
|
}
|
|
58153
58210
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube$1.AiFillYoutube, {
|
|
@@ -58173,13 +58230,13 @@
|
|
|
58173
58230
|
}
|
|
58174
58231
|
}, langdetect == 'en' ? 'Follow Us' : 'تابعنا')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58175
58232
|
"class": "col-lg-12 text-start px-5 flex-column"
|
|
58176
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58233
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58177
58234
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start ',
|
|
58178
58235
|
onClick: function onClick() {
|
|
58179
|
-
var _authdetailsContext$
|
|
58180
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58181
|
-
var _authdetailsContext$
|
|
58182
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58236
|
+
var _authdetailsContext$i35;
|
|
58237
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.facebooklink) != null) {
|
|
58238
|
+
var _authdetailsContext$i36;
|
|
58239
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.facebooklink, '_blank');
|
|
58183
58240
|
}
|
|
58184
58241
|
},
|
|
58185
58242
|
style: {
|
|
@@ -58190,13 +58247,13 @@
|
|
|
58190
58247
|
fontWeight: 500,
|
|
58191
58248
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58192
58249
|
}
|
|
58193
|
-
}, "Facebook"), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58250
|
+
}, "Facebook"), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58194
58251
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start ',
|
|
58195
58252
|
onClick: function onClick() {
|
|
58196
|
-
var _authdetailsContext$
|
|
58197
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58198
|
-
var _authdetailsContext$
|
|
58199
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58253
|
+
var _authdetailsContext$i38;
|
|
58254
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.instagramlink) != null) {
|
|
58255
|
+
var _authdetailsContext$i39;
|
|
58256
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.instagramlink, '_blank');
|
|
58200
58257
|
}
|
|
58201
58258
|
},
|
|
58202
58259
|
style: {
|
|
@@ -58207,13 +58264,13 @@
|
|
|
58207
58264
|
fontWeight: 500,
|
|
58208
58265
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58209
58266
|
}
|
|
58210
|
-
}, "Instagram"), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58267
|
+
}, "Instagram"), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58211
58268
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start ',
|
|
58212
58269
|
onClick: function onClick() {
|
|
58213
|
-
var _authdetailsContext$
|
|
58214
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58215
|
-
var _authdetailsContext$
|
|
58216
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58270
|
+
var _authdetailsContext$i41;
|
|
58271
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.whatsappnumber) != null) {
|
|
58272
|
+
var _authdetailsContext$i42;
|
|
58273
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.whatsappnumber), '_blank');
|
|
58217
58274
|
}
|
|
58218
58275
|
},
|
|
58219
58276
|
style: {
|
|
@@ -58224,15 +58281,15 @@
|
|
|
58224
58281
|
fontWeight: 500,
|
|
58225
58282
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58226
58283
|
}
|
|
58227
|
-
}, "WhatsApp"), sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58284
|
+
}, "WhatsApp"), sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58228
58285
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start '
|
|
58229
58286
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
58230
58287
|
,
|
|
58231
58288
|
onClick: function onClick() {
|
|
58232
|
-
var _authdetailsContext$
|
|
58233
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58234
|
-
var _authdetailsContext$
|
|
58235
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58289
|
+
var _authdetailsContext$i44;
|
|
58290
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.tiktoklink) != null) {
|
|
58291
|
+
var _authdetailsContext$i45;
|
|
58292
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.tiktoklink, '_blank');
|
|
58236
58293
|
}
|
|
58237
58294
|
},
|
|
58238
58295
|
style: {
|
|
@@ -58243,7 +58300,7 @@
|
|
|
58243
58300
|
fontWeight: 500,
|
|
58244
58301
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58245
58302
|
}
|
|
58246
|
-
}, "Tiktok"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58303
|
+
}, "Tiktok"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58247
58304
|
"class": "".concat(footerStyles.youtube_btn) + ' w-100 d-flex align-items-center justify-content-start ',
|
|
58248
58305
|
style: {
|
|
58249
58306
|
width: 'auto',
|
|
@@ -58256,10 +58313,10 @@
|
|
|
58256
58313
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
58257
58314
|
,
|
|
58258
58315
|
onClick: function onClick() {
|
|
58259
|
-
var _authdetailsContext$
|
|
58260
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58261
|
-
var _authdetailsContext$
|
|
58262
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58316
|
+
var _authdetailsContext$i47;
|
|
58317
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.tiktoklink) != null) {
|
|
58318
|
+
var _authdetailsContext$i48;
|
|
58319
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.linkedinlink, '_blank');
|
|
58263
58320
|
}
|
|
58264
58321
|
}
|
|
58265
58322
|
}, "LinkedIn")))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -58276,7 +58333,7 @@
|
|
|
58276
58333
|
color: sectionproperties.prodCatColor,
|
|
58277
58334
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58278
58335
|
}
|
|
58279
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58336
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.description_ar)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58280
58337
|
"class": 'col-lg-6 col-md-12 col-sm-12 mb-md-3 p-sm-0'
|
|
58281
58338
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58282
58339
|
"class": "row m-0 w-100"
|
|
@@ -58288,8 +58345,8 @@
|
|
|
58288
58345
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58289
58346
|
},
|
|
58290
58347
|
onClick: function onClick() {
|
|
58291
|
-
var _authdetailsContext$
|
|
58292
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58348
|
+
var _authdetailsContext$i51;
|
|
58349
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 || (_authdetailsContext$i51 = _authdetailsContext$i51.contactinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.email), '_self');
|
|
58293
58350
|
}
|
|
58294
58351
|
}, langdetect == 'en' ? 'T: ' : 'الهاتف: ', " ", authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58295
58352
|
"class": "col-lg-12 p-0"
|
|
@@ -58301,7 +58358,7 @@
|
|
|
58301
58358
|
onClick: function onClick() {
|
|
58302
58359
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
58303
58360
|
}
|
|
58304
|
-
}, langdetect == 'en' ? 'E: ' : 'الايميل: ', " ", authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58361
|
+
}, langdetect == 'en' ? 'E: ' : 'الايميل: ', " ", authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 || (_authdetailsContext$i52 = _authdetailsContext$i52.contactinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.email))))), sectionproperties.showhidemainpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58305
58362
|
"class": "row m-0 allcentered"
|
|
58306
58363
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58307
58364
|
"class": "".concat(footerStyles.divider) + ' '
|
|
@@ -58491,7 +58548,7 @@
|
|
|
58491
58548
|
"class": "allcentered"
|
|
58492
58549
|
}, /*#__PURE__*/React__default["default"].createElement(FiUser.FiUser, {
|
|
58493
58550
|
size: 18
|
|
58494
|
-
})), langdetect == 'en' ? 'Account' : 'حسابي'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58551
|
+
})), langdetect == 'en' ? 'Account' : 'حسابي'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.instid) == '67b1bb900a541' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58495
58552
|
"class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 '
|
|
58496
58553
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58497
58554
|
"class": "row m-0 w-100 px-1025-1 pb-3 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3",
|
|
@@ -58509,7 +58566,7 @@
|
|
|
58509
58566
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
58510
58567
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
58511
58568
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
58512
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$
|
|
58569
|
+
path: langdetect == 'en' ? (_logoarrayofobjects$5 = logoarrayofobjects[0]) === null || _logoarrayofobjects$5 === void 0 ? void 0 : _logoarrayofobjects$5.englishlogo : (_logoarrayofobjects$6 = logoarrayofobjects[0]) === null || _logoarrayofobjects$6 === void 0 ? void 0 : _logoarrayofobjects$6.arabiclogo,
|
|
58513
58570
|
style: {
|
|
58514
58571
|
width: '100%',
|
|
58515
58572
|
height: '100%',
|
|
@@ -58551,7 +58608,7 @@
|
|
|
58551
58608
|
marginBottom: 0,
|
|
58552
58609
|
fontWeight: 500
|
|
58553
58610
|
}
|
|
58554
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58611
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.address_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58555
58612
|
"class": "col-lg-12 p-0 text-start"
|
|
58556
58613
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58557
58614
|
"class": "".concat(footerStyles.iconTextStyle),
|
|
@@ -58699,8 +58756,8 @@
|
|
|
58699
58756
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58700
58757
|
"class": "".concat(footerStyles.iconTextStyle) + ' cursor-pointer ',
|
|
58701
58758
|
onClick: function onClick() {
|
|
58702
|
-
var _authdetailsContext$
|
|
58703
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58759
|
+
var _authdetailsContext$i56;
|
|
58760
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 || (_authdetailsContext$i56 = _authdetailsContext$i56.contactinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.email), '_self');
|
|
58704
58761
|
}
|
|
58705
58762
|
}, "contact@advisor-firm.com")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58706
58763
|
"class": "col-lg-12 p-0 allcentered",
|
|
@@ -58736,61 +58793,61 @@
|
|
|
58736
58793
|
"class": "row m-0 w-100"
|
|
58737
58794
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58738
58795
|
className: "col-lg-12 p-0 d-flex flex-row"
|
|
58739
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58796
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58740
58797
|
"class": langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center mr-2 ' : "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-2 ',
|
|
58741
58798
|
onClick: function onClick() {
|
|
58742
|
-
var _authdetailsContext$
|
|
58743
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58744
|
-
var _authdetailsContext$
|
|
58745
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58799
|
+
var _authdetailsContext$i58;
|
|
58800
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.facebooklink) != null) {
|
|
58801
|
+
var _authdetailsContext$i59;
|
|
58802
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.facebooklink, '_blank');
|
|
58746
58803
|
}
|
|
58747
58804
|
}
|
|
58748
58805
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
58749
58806
|
size: sectionproperties.facebkbtnniconfontsize
|
|
58750
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58807
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58751
58808
|
"class": "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.linkedinbtn) + ' d-flex align-items-center justify-content-center ml-2 mr-2',
|
|
58752
58809
|
onClick: function onClick() {
|
|
58753
|
-
var _authdetailsContext$
|
|
58754
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58755
|
-
var _authdetailsContext$
|
|
58756
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58810
|
+
var _authdetailsContext$i61;
|
|
58811
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.linkedinlink) != null) {
|
|
58812
|
+
var _authdetailsContext$i62;
|
|
58813
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.linkedinlink, '_blank');
|
|
58757
58814
|
}
|
|
58758
58815
|
}
|
|
58759
58816
|
}, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
|
|
58760
58817
|
size: sectionproperties.linkedinbtniconfontsize
|
|
58761
|
-
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58818
|
+
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58762
58819
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58763
58820
|
onClick: function onClick() {
|
|
58764
|
-
var _authdetailsContext$
|
|
58765
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58766
|
-
var _authdetailsContext$
|
|
58767
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58821
|
+
var _authdetailsContext$i64;
|
|
58822
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i64 = authdetailsContext.instinfo) === null || _authdetailsContext$i64 === void 0 ? void 0 : _authdetailsContext$i64.instagramlink) != null) {
|
|
58823
|
+
var _authdetailsContext$i65;
|
|
58824
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i65 = authdetailsContext.instinfo) === null || _authdetailsContext$i65 === void 0 ? void 0 : _authdetailsContext$i65.instagramlink, '_blank');
|
|
58768
58825
|
}
|
|
58769
58826
|
}
|
|
58770
58827
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
58771
58828
|
size: sectionproperties.instgrambtniconfontsize
|
|
58772
58829
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58773
58830
|
className: "col-lg-12 p-0 d-flex flex-row mt-3"
|
|
58774
|
-
}, sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58831
|
+
}, sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i66 = authdetailsContext.instinfo) === null || _authdetailsContext$i66 === void 0 ? void 0 : _authdetailsContext$i66.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58775
58832
|
"class": langdetect == 'en' ? " ".concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center mr-2' : "".concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center ml-2'
|
|
58776
58833
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
58777
58834
|
,
|
|
58778
58835
|
onClick: function onClick() {
|
|
58779
|
-
var _authdetailsContext$
|
|
58780
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58781
|
-
var _authdetailsContext$
|
|
58782
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58836
|
+
var _authdetailsContext$i67;
|
|
58837
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i67 = authdetailsContext.instinfo) === null || _authdetailsContext$i67 === void 0 ? void 0 : _authdetailsContext$i67.tiktoklink) != null) {
|
|
58838
|
+
var _authdetailsContext$i68;
|
|
58839
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i68 = authdetailsContext.instinfo) === null || _authdetailsContext$i68 === void 0 ? void 0 : _authdetailsContext$i68.tiktoklink, '_blank');
|
|
58783
58840
|
}
|
|
58784
58841
|
}
|
|
58785
58842
|
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
58786
58843
|
size: sectionproperties.tiktokbtniconfontsize
|
|
58787
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58844
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i69 = authdetailsContext.instinfo) === null || _authdetailsContext$i69 === void 0 ? void 0 : _authdetailsContext$i69.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58788
58845
|
"class": "".concat(footerStyles.youtube_btn, " ") + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58789
58846
|
onClick: function onClick() {
|
|
58790
|
-
var _authdetailsContext$
|
|
58791
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58792
|
-
var _authdetailsContext$
|
|
58793
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58847
|
+
var _authdetailsContext$i70;
|
|
58848
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.youtubelink) != null) {
|
|
58849
|
+
var _authdetailsContext$i71;
|
|
58850
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i71 = authdetailsContext.instinfo) === null || _authdetailsContext$i71 === void 0 ? void 0 : _authdetailsContext$i71.youtubelink, '_blank');
|
|
58794
58851
|
}
|
|
58795
58852
|
}
|
|
58796
58853
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube$1.AiFillYoutube, {
|
|
@@ -58853,7 +58910,7 @@
|
|
|
58853
58910
|
style: {
|
|
58854
58911
|
color: '#818181'
|
|
58855
58912
|
}
|
|
58856
|
-
}, "\u062D\u0642\u0648\u0642 \u0627\u0644\u0646\u0634\u0631 \u0645\u062D\u0641\u0648\u0638\u0629 \xA9 2025 \u0645\u0624\u0633\u0633\u0629 \u0627\u0644\u0645\u0633\u062A\u0634\u0627\u0631"))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58913
|
+
}, "\u062D\u0642\u0648\u0642 \u0627\u0644\u0646\u0634\u0631 \u0645\u062D\u0641\u0648\u0638\u0629 \xA9 2025 \u0645\u0624\u0633\u0633\u0629 \u0627\u0644\u0645\u0633\u062A\u0634\u0627\u0631"))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i72 = authdetailsContext.instinfo) === null || _authdetailsContext$i72 === void 0 ? void 0 : _authdetailsContext$i72.instid) == '67d6bda67adf6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58857
58914
|
"class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 '
|
|
58858
58915
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58859
58916
|
"class": "row m-0 w-100 px-1025-1 pb-3 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3",
|
|
@@ -58875,7 +58932,7 @@
|
|
|
58875
58932
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
58876
58933
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
58877
58934
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
58878
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$
|
|
58935
|
+
path: langdetect == 'en' ? (_logoarrayofobjects$7 = logoarrayofobjects[0]) === null || _logoarrayofobjects$7 === void 0 ? void 0 : _logoarrayofobjects$7.englishlogo : (_logoarrayofobjects$8 = logoarrayofobjects[0]) === null || _logoarrayofobjects$8 === void 0 ? void 0 : _logoarrayofobjects$8.arabiclogo,
|
|
58879
58936
|
style: {
|
|
58880
58937
|
width: '100%',
|
|
58881
58938
|
height: '100%',
|
|
@@ -59073,8 +59130,8 @@
|
|
|
59073
59130
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59074
59131
|
"class": "".concat(footerStyles.iconTextStylepagename) + ' col-lg-12 p-0 d-flex flex-row mt-3 align-items-center ',
|
|
59075
59132
|
onClick: function onClick() {
|
|
59076
|
-
var _authdetailsContext$
|
|
59077
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59133
|
+
var _authdetailsContext$i73;
|
|
59134
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i73 = authdetailsContext.instinfo) === null || _authdetailsContext$i73 === void 0 || (_authdetailsContext$i73 = _authdetailsContext$i73.contactinfo) === null || _authdetailsContext$i73 === void 0 ? void 0 : _authdetailsContext$i73.email), '_self');
|
|
59078
59135
|
}
|
|
59079
59136
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
59080
59137
|
"class": ' fa fa-at mr-2 ml-2 '
|
|
@@ -59083,7 +59140,7 @@
|
|
|
59083
59140
|
style: {
|
|
59084
59141
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59085
59142
|
}
|
|
59086
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59143
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i74 = authdetailsContext.instinfo) === null || _authdetailsContext$i74 === void 0 || (_authdetailsContext$i74 = _authdetailsContext$i74.contactinfo) === null || _authdetailsContext$i74 === void 0 ? void 0 : _authdetailsContext$i74.email)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59087
59144
|
"class": "col-lg-12 p-0 text-start mb-2 mt-1"
|
|
59088
59145
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
59089
59146
|
"class": "".concat(footerStyles.textStyles)
|
|
@@ -59093,69 +59150,69 @@
|
|
|
59093
59150
|
"class": "row m-0 w-100"
|
|
59094
59151
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59095
59152
|
className: "col-lg-12 p-0 d-flex flex-row"
|
|
59096
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59153
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i75 = authdetailsContext.instinfo) === null || _authdetailsContext$i75 === void 0 ? void 0 : _authdetailsContext$i75.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59097
59154
|
"class": langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center mr-2 ' : "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-2 ',
|
|
59098
59155
|
onClick: function onClick() {
|
|
59099
|
-
var _authdetailsContext$
|
|
59100
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59101
|
-
var _authdetailsContext$
|
|
59102
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59156
|
+
var _authdetailsContext$i76;
|
|
59157
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i76 = authdetailsContext.instinfo) === null || _authdetailsContext$i76 === void 0 ? void 0 : _authdetailsContext$i76.facebooklink) != null) {
|
|
59158
|
+
var _authdetailsContext$i77;
|
|
59159
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i77 = authdetailsContext.instinfo) === null || _authdetailsContext$i77 === void 0 ? void 0 : _authdetailsContext$i77.facebooklink, '_blank');
|
|
59103
59160
|
}
|
|
59104
59161
|
}
|
|
59105
59162
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
59106
59163
|
size: sectionproperties.facebkbtnniconfontsize
|
|
59107
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59164
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i78 = authdetailsContext.instinfo) === null || _authdetailsContext$i78 === void 0 ? void 0 : _authdetailsContext$i78.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59108
59165
|
"class": "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.linkedinbtn) + ' d-flex align-items-center justify-content-center ml-2 mr-2'
|
|
59109
59166
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
59110
59167
|
,
|
|
59111
59168
|
onClick: function onClick() {
|
|
59112
|
-
var _authdetailsContext$
|
|
59113
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59114
|
-
var _authdetailsContext$
|
|
59115
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59169
|
+
var _authdetailsContext$i79;
|
|
59170
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i79 = authdetailsContext.instinfo) === null || _authdetailsContext$i79 === void 0 ? void 0 : _authdetailsContext$i79.linkedinlink) != null) {
|
|
59171
|
+
var _authdetailsContext$i80;
|
|
59172
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i80 = authdetailsContext.instinfo) === null || _authdetailsContext$i80 === void 0 ? void 0 : _authdetailsContext$i80.linkedinlink, '_blank');
|
|
59116
59173
|
}
|
|
59117
59174
|
}
|
|
59118
59175
|
}, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
|
|
59119
59176
|
size: sectionproperties.instgrambtniconfontsize
|
|
59120
|
-
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59177
|
+
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i81 = authdetailsContext.instinfo) === null || _authdetailsContext$i81 === void 0 ? void 0 : _authdetailsContext$i81.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59121
59178
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
59122
59179
|
onClick: function onClick() {
|
|
59123
|
-
var _authdetailsContext$
|
|
59124
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59125
|
-
var _authdetailsContext$
|
|
59126
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59180
|
+
var _authdetailsContext$i82;
|
|
59181
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i82 = authdetailsContext.instinfo) === null || _authdetailsContext$i82 === void 0 ? void 0 : _authdetailsContext$i82.instagramlink) != null) {
|
|
59182
|
+
var _authdetailsContext$i83;
|
|
59183
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i83 = authdetailsContext.instinfo) === null || _authdetailsContext$i83 === void 0 ? void 0 : _authdetailsContext$i83.instagramlink, '_blank');
|
|
59127
59184
|
}
|
|
59128
59185
|
}
|
|
59129
59186
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
59130
59187
|
size: sectionproperties.instgrambtniconfontsize
|
|
59131
59188
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59132
59189
|
className: "col-lg-12 p-0 d-flex flex-row mt-3"
|
|
59133
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59190
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i84 = authdetailsContext.instinfo) === null || _authdetailsContext$i84 === void 0 ? void 0 : _authdetailsContext$i84.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59134
59191
|
"class": langdetect == 'en' ? "".concat(footerStyles.youtube_btnnnn) + ' d-flex align-items-center justify-content-center mr-2' : "".concat(footerStyles.youtube_btnnnn) + ' d-flex align-items-center justify-content-center ml-2',
|
|
59135
59192
|
onClick: function onClick() {
|
|
59136
|
-
var _authdetailsContext$
|
|
59137
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59138
|
-
var _authdetailsContext$
|
|
59139
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59193
|
+
var _authdetailsContext$i85;
|
|
59194
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i85 = authdetailsContext.instinfo) === null || _authdetailsContext$i85 === void 0 ? void 0 : _authdetailsContext$i85.youtubelink) != null) {
|
|
59195
|
+
var _authdetailsContext$i86;
|
|
59196
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i86 = authdetailsContext.instinfo) === null || _authdetailsContext$i86 === void 0 ? void 0 : _authdetailsContext$i86.youtubelink, '_blank');
|
|
59140
59197
|
}
|
|
59141
59198
|
}
|
|
59142
59199
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube$1.AiFillYoutube, {
|
|
59143
59200
|
size: sectionproperties.youtubebtniconfontsize
|
|
59144
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59201
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i87 = authdetailsContext.instinfo) === null || _authdetailsContext$i87 === void 0 || (_authdetailsContext$i87 = _authdetailsContext$i87.contactinfo) === null || _authdetailsContext$i87 === void 0 ? void 0 : _authdetailsContext$i87.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59145
59202
|
"class": "".concat(footerStyles.mailbtn) + ' d-flex align-items-center justify-content-center mr-2 ml-2',
|
|
59146
59203
|
onClick: function onClick() {
|
|
59147
|
-
var _authdetailsContext$
|
|
59148
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59204
|
+
var _authdetailsContext$i88;
|
|
59205
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i88 = authdetailsContext.instinfo) === null || _authdetailsContext$i88 === void 0 || (_authdetailsContext$i88 = _authdetailsContext$i88.contactinfo) === null || _authdetailsContext$i88 === void 0 ? void 0 : _authdetailsContext$i88.email), '_self');
|
|
59149
59206
|
}
|
|
59150
59207
|
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineMail.AiOutlineMail, {
|
|
59151
59208
|
size: sectionproperties.youtubebtniconfontsize
|
|
59152
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59209
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i89 = authdetailsContext.instinfo) === null || _authdetailsContext$i89 === void 0 ? void 0 : _authdetailsContext$i89.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59153
59210
|
"class": "".concat(footerStyles.youtube_btn, " ") + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
59154
59211
|
onClick: function onClick() {
|
|
59155
|
-
var _authdetailsContext$
|
|
59156
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59157
|
-
var _authdetailsContext$
|
|
59158
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59212
|
+
var _authdetailsContext$i90;
|
|
59213
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i90 = authdetailsContext.instinfo) === null || _authdetailsContext$i90 === void 0 ? void 0 : _authdetailsContext$i90.whatsappnumber) != null) {
|
|
59214
|
+
var _authdetailsContext$i91;
|
|
59215
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i91 = authdetailsContext.instinfo) === null || _authdetailsContext$i91 === void 0 ? void 0 : _authdetailsContext$i91.whatsappnumber), '_blank');
|
|
59159
59216
|
}
|
|
59160
59217
|
}
|
|
59161
59218
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|